purecloud-platform-client-v2 223.0.0 → 225.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 +3630 -2644
- package/dist/web-amd/purecloud-platform-client-v2.js +3630 -2644
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +2891 -2627
- package/dist/web-cjs/purecloud-platform-client-v2.js +2891 -2627
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +825 -249
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +387 -0
- 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 +46 -46
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +124 -122
- 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 +75 -30
- 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 +620 -344
- 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 +101 -14
- 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 +106 -80
- 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 +148 -118
- 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 +8 -8
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +134 -93
- 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 +123 -93
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +17 -17
- 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 +332 -326
- package/src/purecloud-platform-client-v2/configuration.js +80 -23
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -5,7 +5,7 @@ class SocialMediaApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* SocialMedia service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class SocialMediaApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteSocialmediaEscalationrule(escalationRuleId) {
|
|
29
29
|
// verify the required parameter 'escalationRuleId' is set
|
|
30
|
-
if (escalationRuleId === undefined || escalationRuleId === null) {
|
|
30
|
+
if (escalationRuleId === undefined || escalationRuleId === null || escalationRuleId === '') {
|
|
31
31
|
throw 'Missing the required parameter "escalationRuleId" when calling deleteSocialmediaEscalationrule';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -53,7 +53,7 @@ class SocialMediaApi {
|
|
|
53
53
|
*/
|
|
54
54
|
deleteSocialmediaMessage(messageId) {
|
|
55
55
|
// verify the required parameter 'messageId' is set
|
|
56
|
-
if (messageId === undefined || messageId === null) {
|
|
56
|
+
if (messageId === undefined || messageId === null || messageId === '') {
|
|
57
57
|
throw 'Missing the required parameter "messageId" when calling deleteSocialmediaMessage';
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -82,7 +82,7 @@ class SocialMediaApi {
|
|
|
82
82
|
opts = opts || {};
|
|
83
83
|
|
|
84
84
|
// verify the required parameter 'topicId' is set
|
|
85
|
-
if (topicId === undefined || topicId === null) {
|
|
85
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
86
86
|
throw 'Missing the required parameter "topicId" when calling deleteSocialmediaTopic';
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -112,11 +112,11 @@ class SocialMediaApi {
|
|
|
112
112
|
opts = opts || {};
|
|
113
113
|
|
|
114
114
|
// verify the required parameter 'topicId' is set
|
|
115
|
-
if (topicId === undefined || topicId === null) {
|
|
115
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
116
116
|
throw 'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';
|
|
117
117
|
}
|
|
118
118
|
// verify the required parameter 'facebookIngestionRuleId' is set
|
|
119
|
-
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null) {
|
|
119
|
+
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null || facebookIngestionRuleId === '') {
|
|
120
120
|
throw 'Missing the required parameter "facebookIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';
|
|
121
121
|
}
|
|
122
122
|
|
|
@@ -146,11 +146,11 @@ class SocialMediaApi {
|
|
|
146
146
|
opts = opts || {};
|
|
147
147
|
|
|
148
148
|
// verify the required parameter 'topicId' is set
|
|
149
|
-
if (topicId === undefined || topicId === null) {
|
|
149
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
150
150
|
throw 'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';
|
|
151
151
|
}
|
|
152
152
|
// verify the required parameter 'openId' is set
|
|
153
|
-
if (openId === undefined || openId === null) {
|
|
153
|
+
if (openId === undefined || openId === null || openId === '') {
|
|
154
154
|
throw 'Missing the required parameter "openId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';
|
|
155
155
|
}
|
|
156
156
|
|
|
@@ -180,11 +180,11 @@ class SocialMediaApi {
|
|
|
180
180
|
opts = opts || {};
|
|
181
181
|
|
|
182
182
|
// verify the required parameter 'topicId' is set
|
|
183
|
-
if (topicId === undefined || topicId === null) {
|
|
183
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
184
184
|
throw 'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';
|
|
185
185
|
}
|
|
186
186
|
// verify the required parameter 'twitterIngestionRuleId' is set
|
|
187
|
-
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null) {
|
|
187
|
+
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null || twitterIngestionRuleId === '') {
|
|
188
188
|
throw 'Missing the required parameter "twitterIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';
|
|
189
189
|
}
|
|
190
190
|
|
|
@@ -209,7 +209,7 @@ class SocialMediaApi {
|
|
|
209
209
|
*/
|
|
210
210
|
getSocialmediaAnalyticsAggregatesJob(jobId) {
|
|
211
211
|
// verify the required parameter 'jobId' is set
|
|
212
|
-
if (jobId === undefined || jobId === null) {
|
|
212
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
213
213
|
throw 'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJob';
|
|
214
214
|
}
|
|
215
215
|
|
|
@@ -238,7 +238,7 @@ class SocialMediaApi {
|
|
|
238
238
|
opts = opts || {};
|
|
239
239
|
|
|
240
240
|
// verify the required parameter 'jobId' is set
|
|
241
|
-
if (jobId === undefined || jobId === null) {
|
|
241
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
242
242
|
throw 'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJobResults';
|
|
243
243
|
}
|
|
244
244
|
|
|
@@ -263,7 +263,7 @@ class SocialMediaApi {
|
|
|
263
263
|
*/
|
|
264
264
|
getSocialmediaAnalyticsMessagesJob(jobId) {
|
|
265
265
|
// verify the required parameter 'jobId' is set
|
|
266
|
-
if (jobId === undefined || jobId === null) {
|
|
266
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
267
267
|
throw 'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJob';
|
|
268
268
|
}
|
|
269
269
|
|
|
@@ -292,7 +292,7 @@ class SocialMediaApi {
|
|
|
292
292
|
opts = opts || {};
|
|
293
293
|
|
|
294
294
|
// verify the required parameter 'jobId' is set
|
|
295
|
-
if (jobId === undefined || jobId === null) {
|
|
295
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
296
296
|
throw 'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJobResults';
|
|
297
297
|
}
|
|
298
298
|
|
|
@@ -317,7 +317,7 @@ class SocialMediaApi {
|
|
|
317
317
|
*/
|
|
318
318
|
getSocialmediaEscalationrule(escalationRuleId) {
|
|
319
319
|
// verify the required parameter 'escalationRuleId' is set
|
|
320
|
-
if (escalationRuleId === undefined || escalationRuleId === null) {
|
|
320
|
+
if (escalationRuleId === undefined || escalationRuleId === null || escalationRuleId === '') {
|
|
321
321
|
throw 'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';
|
|
322
322
|
}
|
|
323
323
|
|
|
@@ -376,7 +376,7 @@ class SocialMediaApi {
|
|
|
376
376
|
opts = opts || {};
|
|
377
377
|
|
|
378
378
|
// verify the required parameter 'topicId' is set
|
|
379
|
-
if (topicId === undefined || topicId === null) {
|
|
379
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
380
380
|
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopic';
|
|
381
381
|
}
|
|
382
382
|
|
|
@@ -407,7 +407,7 @@ class SocialMediaApi {
|
|
|
407
407
|
opts = opts || {};
|
|
408
408
|
|
|
409
409
|
// verify the required parameter 'topicId' is set
|
|
410
|
-
if (topicId === undefined || topicId === null) {
|
|
410
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
411
411
|
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrules';
|
|
412
412
|
}
|
|
413
413
|
|
|
@@ -437,11 +437,11 @@ class SocialMediaApi {
|
|
|
437
437
|
opts = opts || {};
|
|
438
438
|
|
|
439
439
|
// verify the required parameter 'topicId' is set
|
|
440
|
-
if (topicId === undefined || topicId === null) {
|
|
440
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
441
441
|
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';
|
|
442
442
|
}
|
|
443
443
|
// verify the required parameter 'facebookIngestionRuleId' is set
|
|
444
|
-
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null) {
|
|
444
|
+
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null || facebookIngestionRuleId === '') {
|
|
445
445
|
throw 'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';
|
|
446
446
|
}
|
|
447
447
|
|
|
@@ -472,15 +472,15 @@ class SocialMediaApi {
|
|
|
472
472
|
opts = opts || {};
|
|
473
473
|
|
|
474
474
|
// verify the required parameter 'topicId' is set
|
|
475
|
-
if (topicId === undefined || topicId === null) {
|
|
475
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
476
476
|
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';
|
|
477
477
|
}
|
|
478
478
|
// verify the required parameter 'facebookIngestionRuleId' is set
|
|
479
|
-
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null) {
|
|
479
|
+
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null || facebookIngestionRuleId === '') {
|
|
480
480
|
throw 'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';
|
|
481
481
|
}
|
|
482
482
|
// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
483
|
-
if (dataIngestionRuleVersion === undefined || dataIngestionRuleVersion === null) {
|
|
483
|
+
if (dataIngestionRuleVersion === undefined || dataIngestionRuleVersion === null || dataIngestionRuleVersion === '') {
|
|
484
484
|
throw 'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';
|
|
485
485
|
}
|
|
486
486
|
|
|
@@ -512,11 +512,11 @@ class SocialMediaApi {
|
|
|
512
512
|
opts = opts || {};
|
|
513
513
|
|
|
514
514
|
// verify the required parameter 'topicId' is set
|
|
515
|
-
if (topicId === undefined || topicId === null) {
|
|
515
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
516
516
|
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';
|
|
517
517
|
}
|
|
518
518
|
// verify the required parameter 'facebookIngestionRuleId' is set
|
|
519
|
-
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null) {
|
|
519
|
+
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null || facebookIngestionRuleId === '') {
|
|
520
520
|
throw 'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';
|
|
521
521
|
}
|
|
522
522
|
|
|
@@ -546,11 +546,11 @@ class SocialMediaApi {
|
|
|
546
546
|
opts = opts || {};
|
|
547
547
|
|
|
548
548
|
// verify the required parameter 'topicId' is set
|
|
549
|
-
if (topicId === undefined || topicId === null) {
|
|
549
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
550
550
|
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';
|
|
551
551
|
}
|
|
552
552
|
// verify the required parameter 'openId' is set
|
|
553
|
-
if (openId === undefined || openId === null) {
|
|
553
|
+
if (openId === undefined || openId === null || openId === '') {
|
|
554
554
|
throw 'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';
|
|
555
555
|
}
|
|
556
556
|
|
|
@@ -581,15 +581,15 @@ class SocialMediaApi {
|
|
|
581
581
|
opts = opts || {};
|
|
582
582
|
|
|
583
583
|
// verify the required parameter 'topicId' is set
|
|
584
|
-
if (topicId === undefined || topicId === null) {
|
|
584
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
585
585
|
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';
|
|
586
586
|
}
|
|
587
587
|
// verify the required parameter 'openId' is set
|
|
588
|
-
if (openId === undefined || openId === null) {
|
|
588
|
+
if (openId === undefined || openId === null || openId === '') {
|
|
589
589
|
throw 'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';
|
|
590
590
|
}
|
|
591
591
|
// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
592
|
-
if (dataIngestionRuleVersion === undefined || dataIngestionRuleVersion === null) {
|
|
592
|
+
if (dataIngestionRuleVersion === undefined || dataIngestionRuleVersion === null || dataIngestionRuleVersion === '') {
|
|
593
593
|
throw 'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';
|
|
594
594
|
}
|
|
595
595
|
|
|
@@ -621,11 +621,11 @@ class SocialMediaApi {
|
|
|
621
621
|
opts = opts || {};
|
|
622
622
|
|
|
623
623
|
// verify the required parameter 'topicId' is set
|
|
624
|
-
if (topicId === undefined || topicId === null) {
|
|
624
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
625
625
|
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';
|
|
626
626
|
}
|
|
627
627
|
// verify the required parameter 'openId' is set
|
|
628
|
-
if (openId === undefined || openId === null) {
|
|
628
|
+
if (openId === undefined || openId === null || openId === '') {
|
|
629
629
|
throw 'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';
|
|
630
630
|
}
|
|
631
631
|
|
|
@@ -655,11 +655,11 @@ class SocialMediaApi {
|
|
|
655
655
|
opts = opts || {};
|
|
656
656
|
|
|
657
657
|
// verify the required parameter 'topicId' is set
|
|
658
|
-
if (topicId === undefined || topicId === null) {
|
|
658
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
659
659
|
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';
|
|
660
660
|
}
|
|
661
661
|
// verify the required parameter 'twitterIngestionRuleId' is set
|
|
662
|
-
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null) {
|
|
662
|
+
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null || twitterIngestionRuleId === '') {
|
|
663
663
|
throw 'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';
|
|
664
664
|
}
|
|
665
665
|
|
|
@@ -690,15 +690,15 @@ class SocialMediaApi {
|
|
|
690
690
|
opts = opts || {};
|
|
691
691
|
|
|
692
692
|
// verify the required parameter 'topicId' is set
|
|
693
|
-
if (topicId === undefined || topicId === null) {
|
|
693
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
694
694
|
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';
|
|
695
695
|
}
|
|
696
696
|
// verify the required parameter 'twitterIngestionRuleId' is set
|
|
697
|
-
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null) {
|
|
697
|
+
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null || twitterIngestionRuleId === '') {
|
|
698
698
|
throw 'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';
|
|
699
699
|
}
|
|
700
700
|
// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
701
|
-
if (dataIngestionRuleVersion === undefined || dataIngestionRuleVersion === null) {
|
|
701
|
+
if (dataIngestionRuleVersion === undefined || dataIngestionRuleVersion === null || dataIngestionRuleVersion === '') {
|
|
702
702
|
throw 'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';
|
|
703
703
|
}
|
|
704
704
|
|
|
@@ -730,11 +730,11 @@ class SocialMediaApi {
|
|
|
730
730
|
opts = opts || {};
|
|
731
731
|
|
|
732
732
|
// verify the required parameter 'topicId' is set
|
|
733
|
-
if (topicId === undefined || topicId === null) {
|
|
733
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
734
734
|
throw 'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';
|
|
735
735
|
}
|
|
736
736
|
// verify the required parameter 'twitterIngestionRuleId' is set
|
|
737
|
-
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null) {
|
|
737
|
+
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null || twitterIngestionRuleId === '') {
|
|
738
738
|
throw 'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';
|
|
739
739
|
}
|
|
740
740
|
|
|
@@ -790,7 +790,7 @@ class SocialMediaApi {
|
|
|
790
790
|
opts = opts || {};
|
|
791
791
|
|
|
792
792
|
// verify the required parameter 'topicId' is set
|
|
793
|
-
if (topicId === undefined || topicId === null) {
|
|
793
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
794
794
|
throw 'Missing the required parameter "topicId" when calling patchSocialmediaTopic';
|
|
795
795
|
}
|
|
796
796
|
|
|
@@ -820,11 +820,11 @@ class SocialMediaApi {
|
|
|
820
820
|
opts = opts || {};
|
|
821
821
|
|
|
822
822
|
// verify the required parameter 'topicId' is set
|
|
823
|
-
if (topicId === undefined || topicId === null) {
|
|
823
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
824
824
|
throw 'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';
|
|
825
825
|
}
|
|
826
826
|
// verify the required parameter 'facebookIngestionRuleId' is set
|
|
827
|
-
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null) {
|
|
827
|
+
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null || facebookIngestionRuleId === '') {
|
|
828
828
|
throw 'Missing the required parameter "facebookIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';
|
|
829
829
|
}
|
|
830
830
|
|
|
@@ -854,11 +854,11 @@ class SocialMediaApi {
|
|
|
854
854
|
opts = opts || {};
|
|
855
855
|
|
|
856
856
|
// verify the required parameter 'topicId' is set
|
|
857
|
-
if (topicId === undefined || topicId === null) {
|
|
857
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
858
858
|
throw 'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';
|
|
859
859
|
}
|
|
860
860
|
// verify the required parameter 'openId' is set
|
|
861
|
-
if (openId === undefined || openId === null) {
|
|
861
|
+
if (openId === undefined || openId === null || openId === '') {
|
|
862
862
|
throw 'Missing the required parameter "openId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';
|
|
863
863
|
}
|
|
864
864
|
|
|
@@ -888,11 +888,11 @@ class SocialMediaApi {
|
|
|
888
888
|
opts = opts || {};
|
|
889
889
|
|
|
890
890
|
// verify the required parameter 'topicId' is set
|
|
891
|
-
if (topicId === undefined || topicId === null) {
|
|
891
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
892
892
|
throw 'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';
|
|
893
893
|
}
|
|
894
894
|
// verify the required parameter 'twitterIngestionRuleId' is set
|
|
895
|
-
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null) {
|
|
895
|
+
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null || twitterIngestionRuleId === '') {
|
|
896
896
|
throw 'Missing the required parameter "twitterIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';
|
|
897
897
|
}
|
|
898
898
|
|
|
@@ -1024,7 +1024,7 @@ class SocialMediaApi {
|
|
|
1024
1024
|
opts = opts || {};
|
|
1025
1025
|
|
|
1026
1026
|
// verify the required parameter 'topicId' is set
|
|
1027
|
-
if (topicId === undefined || topicId === null) {
|
|
1027
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
1028
1028
|
throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesFacebook';
|
|
1029
1029
|
}
|
|
1030
1030
|
|
|
@@ -1053,7 +1053,7 @@ class SocialMediaApi {
|
|
|
1053
1053
|
opts = opts || {};
|
|
1054
1054
|
|
|
1055
1055
|
// verify the required parameter 'topicId' is set
|
|
1056
|
-
if (topicId === undefined || topicId === null) {
|
|
1056
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
1057
1057
|
throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpen';
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
@@ -1080,11 +1080,11 @@ class SocialMediaApi {
|
|
|
1080
1080
|
*/
|
|
1081
1081
|
postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk(topicId, ruleId, body) {
|
|
1082
1082
|
// verify the required parameter 'topicId' is set
|
|
1083
|
-
if (topicId === undefined || topicId === null) {
|
|
1083
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
1084
1084
|
throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
|
|
1085
1085
|
}
|
|
1086
1086
|
// verify the required parameter 'ruleId' is set
|
|
1087
|
-
if (ruleId === undefined || ruleId === null) {
|
|
1087
|
+
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
1088
1088
|
throw 'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
|
|
1089
1089
|
}
|
|
1090
1090
|
// verify the required parameter 'body' is set
|
|
@@ -1115,11 +1115,11 @@ class SocialMediaApi {
|
|
|
1115
1115
|
*/
|
|
1116
1116
|
postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk(topicId, ruleId, body) {
|
|
1117
1117
|
// verify the required parameter 'topicId' is set
|
|
1118
|
-
if (topicId === undefined || topicId === null) {
|
|
1118
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
1119
1119
|
throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
|
|
1120
1120
|
}
|
|
1121
1121
|
// verify the required parameter 'ruleId' is set
|
|
1122
|
-
if (ruleId === undefined || ruleId === null) {
|
|
1122
|
+
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
1123
1123
|
throw 'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
|
|
1124
1124
|
}
|
|
1125
1125
|
// verify the required parameter 'body' is set
|
|
@@ -1152,7 +1152,7 @@ class SocialMediaApi {
|
|
|
1152
1152
|
opts = opts || {};
|
|
1153
1153
|
|
|
1154
1154
|
// verify the required parameter 'topicId' is set
|
|
1155
|
-
if (topicId === undefined || topicId === null) {
|
|
1155
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
1156
1156
|
throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesTwitter';
|
|
1157
1157
|
}
|
|
1158
1158
|
|
|
@@ -1230,7 +1230,7 @@ class SocialMediaApi {
|
|
|
1230
1230
|
opts = opts || {};
|
|
1231
1231
|
|
|
1232
1232
|
// verify the required parameter 'escalationRuleId' is set
|
|
1233
|
-
if (escalationRuleId === undefined || escalationRuleId === null) {
|
|
1233
|
+
if (escalationRuleId === undefined || escalationRuleId === null || escalationRuleId === '') {
|
|
1234
1234
|
throw 'Missing the required parameter "escalationRuleId" when calling putSocialmediaEscalationrule';
|
|
1235
1235
|
}
|
|
1236
1236
|
|
|
@@ -1260,11 +1260,11 @@ class SocialMediaApi {
|
|
|
1260
1260
|
opts = opts || {};
|
|
1261
1261
|
|
|
1262
1262
|
// verify the required parameter 'topicId' is set
|
|
1263
|
-
if (topicId === undefined || topicId === null) {
|
|
1263
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
1264
1264
|
throw 'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';
|
|
1265
1265
|
}
|
|
1266
1266
|
// verify the required parameter 'facebookIngestionRuleId' is set
|
|
1267
|
-
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null) {
|
|
1267
|
+
if (facebookIngestionRuleId === undefined || facebookIngestionRuleId === null || facebookIngestionRuleId === '') {
|
|
1268
1268
|
throw 'Missing the required parameter "facebookIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';
|
|
1269
1269
|
}
|
|
1270
1270
|
|
|
@@ -1294,11 +1294,11 @@ class SocialMediaApi {
|
|
|
1294
1294
|
opts = opts || {};
|
|
1295
1295
|
|
|
1296
1296
|
// verify the required parameter 'topicId' is set
|
|
1297
|
-
if (topicId === undefined || topicId === null) {
|
|
1297
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
1298
1298
|
throw 'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';
|
|
1299
1299
|
}
|
|
1300
1300
|
// verify the required parameter 'openId' is set
|
|
1301
|
-
if (openId === undefined || openId === null) {
|
|
1301
|
+
if (openId === undefined || openId === null || openId === '') {
|
|
1302
1302
|
throw 'Missing the required parameter "openId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';
|
|
1303
1303
|
}
|
|
1304
1304
|
|
|
@@ -1328,11 +1328,11 @@ class SocialMediaApi {
|
|
|
1328
1328
|
opts = opts || {};
|
|
1329
1329
|
|
|
1330
1330
|
// verify the required parameter 'topicId' is set
|
|
1331
|
-
if (topicId === undefined || topicId === null) {
|
|
1331
|
+
if (topicId === undefined || topicId === null || topicId === '') {
|
|
1332
1332
|
throw 'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';
|
|
1333
1333
|
}
|
|
1334
1334
|
// verify the required parameter 'twitterIngestionRuleId' is set
|
|
1335
|
-
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null) {
|
|
1335
|
+
if (twitterIngestionRuleId === undefined || twitterIngestionRuleId === null || twitterIngestionRuleId === '') {
|
|
1336
1336
|
throw 'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';
|
|
1337
1337
|
}
|
|
1338
1338
|
|