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 JourneyApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Journey service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 225.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class JourneyApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteJourneyActionmap(actionMapId) {
|
|
29
29
|
// verify the required parameter 'actionMapId' is set
|
|
30
|
-
if (actionMapId === undefined || actionMapId === null) {
|
|
30
|
+
if (actionMapId === undefined || actionMapId === null || actionMapId === '') {
|
|
31
31
|
throw 'Missing the required parameter "actionMapId" when calling deleteJourneyActionmap';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -56,7 +56,7 @@ class JourneyApi {
|
|
|
56
56
|
opts = opts || {};
|
|
57
57
|
|
|
58
58
|
// verify the required parameter 'actionTemplateId' is set
|
|
59
|
-
if (actionTemplateId === undefined || actionTemplateId === null) {
|
|
59
|
+
if (actionTemplateId === undefined || actionTemplateId === null || actionTemplateId === '') {
|
|
60
60
|
throw 'Missing the required parameter "actionTemplateId" when calling deleteJourneyActiontemplate';
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -81,7 +81,7 @@ class JourneyApi {
|
|
|
81
81
|
*/
|
|
82
82
|
deleteJourneyOutcome(outcomeId) {
|
|
83
83
|
// verify the required parameter 'outcomeId' is set
|
|
84
|
-
if (outcomeId === undefined || outcomeId === null) {
|
|
84
|
+
if (outcomeId === undefined || outcomeId === null || outcomeId === '') {
|
|
85
85
|
throw 'Missing the required parameter "outcomeId" when calling deleteJourneyOutcome';
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -106,7 +106,7 @@ class JourneyApi {
|
|
|
106
106
|
*/
|
|
107
107
|
deleteJourneyOutcomesPredictor(predictorId) {
|
|
108
108
|
// verify the required parameter 'predictorId' is set
|
|
109
|
-
if (predictorId === undefined || predictorId === null) {
|
|
109
|
+
if (predictorId === undefined || predictorId === null || predictorId === '') {
|
|
110
110
|
throw 'Missing the required parameter "predictorId" when calling deleteJourneyOutcomesPredictor';
|
|
111
111
|
}
|
|
112
112
|
|
|
@@ -131,7 +131,7 @@ class JourneyApi {
|
|
|
131
131
|
*/
|
|
132
132
|
deleteJourneySegment(segmentId) {
|
|
133
133
|
// verify the required parameter 'segmentId' is set
|
|
134
|
-
if (segmentId === undefined || segmentId === null) {
|
|
134
|
+
if (segmentId === undefined || segmentId === null || segmentId === '') {
|
|
135
135
|
throw 'Missing the required parameter "segmentId" when calling deleteJourneySegment';
|
|
136
136
|
}
|
|
137
137
|
|
|
@@ -156,7 +156,7 @@ class JourneyApi {
|
|
|
156
156
|
*/
|
|
157
157
|
deleteJourneyView(viewId) {
|
|
158
158
|
// verify the required parameter 'viewId' is set
|
|
159
|
-
if (viewId === undefined || viewId === null) {
|
|
159
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
160
160
|
throw 'Missing the required parameter "viewId" when calling deleteJourneyView';
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -181,7 +181,7 @@ class JourneyApi {
|
|
|
181
181
|
*/
|
|
182
182
|
deleteJourneyViewSchedules(viewId) {
|
|
183
183
|
// verify the required parameter 'viewId' is set
|
|
184
|
-
if (viewId === undefined || viewId === null) {
|
|
184
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
185
185
|
throw 'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';
|
|
186
186
|
}
|
|
187
187
|
|
|
@@ -207,7 +207,7 @@ class JourneyApi {
|
|
|
207
207
|
*/
|
|
208
208
|
getAnalyticsJourneysAggregatesJob(jobId) {
|
|
209
209
|
// verify the required parameter 'jobId' is set
|
|
210
|
-
if (jobId === undefined || jobId === null) {
|
|
210
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
211
211
|
throw 'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJob';
|
|
212
212
|
}
|
|
213
213
|
|
|
@@ -237,7 +237,7 @@ class JourneyApi {
|
|
|
237
237
|
opts = opts || {};
|
|
238
238
|
|
|
239
239
|
// verify the required parameter 'jobId' is set
|
|
240
|
-
if (jobId === undefined || jobId === null) {
|
|
240
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
241
241
|
throw 'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJobResults';
|
|
242
242
|
}
|
|
243
243
|
|
|
@@ -268,7 +268,7 @@ class JourneyApi {
|
|
|
268
268
|
opts = opts || {};
|
|
269
269
|
|
|
270
270
|
// verify the required parameter 'contactId' is set
|
|
271
|
-
if (contactId === undefined || contactId === null) {
|
|
271
|
+
if (contactId === undefined || contactId === null || contactId === '') {
|
|
272
272
|
throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySessions';
|
|
273
273
|
}
|
|
274
274
|
|
|
@@ -293,7 +293,7 @@ class JourneyApi {
|
|
|
293
293
|
*/
|
|
294
294
|
getJourneyActionmap(actionMapId) {
|
|
295
295
|
// verify the required parameter 'actionMapId' is set
|
|
296
|
-
if (actionMapId === undefined || actionMapId === null) {
|
|
296
|
+
if (actionMapId === undefined || actionMapId === null || actionMapId === '') {
|
|
297
297
|
throw 'Missing the required parameter "actionMapId" when calling getJourneyActionmap';
|
|
298
298
|
}
|
|
299
299
|
|
|
@@ -349,7 +349,7 @@ class JourneyApi {
|
|
|
349
349
|
*/
|
|
350
350
|
getJourneyActionmapsEstimatesJob(jobId) {
|
|
351
351
|
// verify the required parameter 'jobId' is set
|
|
352
|
-
if (jobId === undefined || jobId === null) {
|
|
352
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
353
353
|
throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJob';
|
|
354
354
|
}
|
|
355
355
|
|
|
@@ -374,7 +374,7 @@ class JourneyApi {
|
|
|
374
374
|
*/
|
|
375
375
|
getJourneyActionmapsEstimatesJobResults(jobId) {
|
|
376
376
|
// verify the required parameter 'jobId' is set
|
|
377
|
-
if (jobId === undefined || jobId === null) {
|
|
377
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
378
378
|
throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJobResults';
|
|
379
379
|
}
|
|
380
380
|
|
|
@@ -399,7 +399,7 @@ class JourneyApi {
|
|
|
399
399
|
*/
|
|
400
400
|
getJourneyActiontarget(actionTargetId) {
|
|
401
401
|
// verify the required parameter 'actionTargetId' is set
|
|
402
|
-
if (actionTargetId === undefined || actionTargetId === null) {
|
|
402
|
+
if (actionTargetId === undefined || actionTargetId === null || actionTargetId === '') {
|
|
403
403
|
throw 'Missing the required parameter "actionTargetId" when calling getJourneyActiontarget';
|
|
404
404
|
}
|
|
405
405
|
|
|
@@ -449,7 +449,7 @@ class JourneyApi {
|
|
|
449
449
|
*/
|
|
450
450
|
getJourneyActiontemplate(actionTemplateId) {
|
|
451
451
|
// verify the required parameter 'actionTemplateId' is set
|
|
452
|
-
if (actionTemplateId === undefined || actionTemplateId === null) {
|
|
452
|
+
if (actionTemplateId === undefined || actionTemplateId === null || actionTemplateId === '') {
|
|
453
453
|
throw 'Missing the required parameter "actionTemplateId" when calling getJourneyActiontemplate';
|
|
454
454
|
}
|
|
455
455
|
|
|
@@ -513,11 +513,11 @@ class JourneyApi {
|
|
|
513
513
|
opts = opts || {};
|
|
514
514
|
|
|
515
515
|
// verify the required parameter 'deploymentId' is set
|
|
516
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
516
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
517
517
|
throw 'Missing the required parameter "deploymentId" when calling getJourneyDeploymentCustomerPing';
|
|
518
518
|
}
|
|
519
519
|
// verify the required parameter 'customerCookieId' is set
|
|
520
|
-
if (customerCookieId === undefined || customerCookieId === null) {
|
|
520
|
+
if (customerCookieId === undefined || customerCookieId === null || customerCookieId === '') {
|
|
521
521
|
throw 'Missing the required parameter "customerCookieId" when calling getJourneyDeploymentCustomerPing';
|
|
522
522
|
}
|
|
523
523
|
|
|
@@ -542,7 +542,7 @@ class JourneyApi {
|
|
|
542
542
|
*/
|
|
543
543
|
getJourneyOutcome(outcomeId) {
|
|
544
544
|
// verify the required parameter 'outcomeId' is set
|
|
545
|
-
if (outcomeId === undefined || outcomeId === null) {
|
|
545
|
+
if (outcomeId === undefined || outcomeId === null || outcomeId === '') {
|
|
546
546
|
throw 'Missing the required parameter "outcomeId" when calling getJourneyOutcome';
|
|
547
547
|
}
|
|
548
548
|
|
|
@@ -597,7 +597,7 @@ class JourneyApi {
|
|
|
597
597
|
*/
|
|
598
598
|
getJourneyOutcomesAttributionsJob(jobId) {
|
|
599
599
|
// verify the required parameter 'jobId' is set
|
|
600
|
-
if (jobId === undefined || jobId === null) {
|
|
600
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
601
601
|
throw 'Missing the required parameter "jobId" when calling getJourneyOutcomesAttributionsJob';
|
|
602
602
|
}
|
|
603
603
|
|
|
@@ -623,7 +623,7 @@ class JourneyApi {
|
|
|
623
623
|
*/
|
|
624
624
|
getJourneyOutcomesAttributionsJobResults(jobId) {
|
|
625
625
|
// verify the required parameter 'jobId' is set
|
|
626
|
-
if (jobId === undefined || jobId === null) {
|
|
626
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
627
627
|
throw 'Missing the required parameter "jobId" when calling getJourneyOutcomesAttributionsJobResults';
|
|
628
628
|
}
|
|
629
629
|
|
|
@@ -648,7 +648,7 @@ class JourneyApi {
|
|
|
648
648
|
*/
|
|
649
649
|
getJourneyOutcomesPredictor(predictorId) {
|
|
650
650
|
// verify the required parameter 'predictorId' is set
|
|
651
|
-
if (predictorId === undefined || predictorId === null) {
|
|
651
|
+
if (predictorId === undefined || predictorId === null || predictorId === '') {
|
|
652
652
|
throw 'Missing the required parameter "predictorId" when calling getJourneyOutcomesPredictor';
|
|
653
653
|
}
|
|
654
654
|
|
|
@@ -693,7 +693,7 @@ class JourneyApi {
|
|
|
693
693
|
*/
|
|
694
694
|
getJourneySegment(segmentId) {
|
|
695
695
|
// verify the required parameter 'segmentId' is set
|
|
696
|
-
if (segmentId === undefined || segmentId === null) {
|
|
696
|
+
if (segmentId === undefined || segmentId === null || segmentId === '') {
|
|
697
697
|
throw 'Missing the required parameter "segmentId" when calling getJourneySegment';
|
|
698
698
|
}
|
|
699
699
|
|
|
@@ -748,7 +748,7 @@ class JourneyApi {
|
|
|
748
748
|
*/
|
|
749
749
|
getJourneySession(sessionId) {
|
|
750
750
|
// verify the required parameter 'sessionId' is set
|
|
751
|
-
if (sessionId === undefined || sessionId === null) {
|
|
751
|
+
if (sessionId === undefined || sessionId === null || sessionId === '') {
|
|
752
752
|
throw 'Missing the required parameter "sessionId" when calling getJourneySession';
|
|
753
753
|
}
|
|
754
754
|
|
|
@@ -779,7 +779,7 @@ class JourneyApi {
|
|
|
779
779
|
opts = opts || {};
|
|
780
780
|
|
|
781
781
|
// verify the required parameter 'sessionId' is set
|
|
782
|
-
if (sessionId === undefined || sessionId === null) {
|
|
782
|
+
if (sessionId === undefined || sessionId === null || sessionId === '') {
|
|
783
783
|
throw 'Missing the required parameter "sessionId" when calling getJourneySessionEvents';
|
|
784
784
|
}
|
|
785
785
|
|
|
@@ -804,7 +804,7 @@ class JourneyApi {
|
|
|
804
804
|
*/
|
|
805
805
|
getJourneySessionOutcomescores(sessionId) {
|
|
806
806
|
// verify the required parameter 'sessionId' is set
|
|
807
|
-
if (sessionId === undefined || sessionId === null) {
|
|
807
|
+
if (sessionId === undefined || sessionId === null || sessionId === '') {
|
|
808
808
|
throw 'Missing the required parameter "sessionId" when calling getJourneySessionOutcomescores';
|
|
809
809
|
}
|
|
810
810
|
|
|
@@ -829,7 +829,7 @@ class JourneyApi {
|
|
|
829
829
|
*/
|
|
830
830
|
getJourneyView(viewId) {
|
|
831
831
|
// verify the required parameter 'viewId' is set
|
|
832
|
-
if (viewId === undefined || viewId === null) {
|
|
832
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
833
833
|
throw 'Missing the required parameter "viewId" when calling getJourneyView';
|
|
834
834
|
}
|
|
835
835
|
|
|
@@ -854,7 +854,7 @@ class JourneyApi {
|
|
|
854
854
|
*/
|
|
855
855
|
getJourneyViewSchedules(viewId) {
|
|
856
856
|
// verify the required parameter 'viewId' is set
|
|
857
|
-
if (viewId === undefined || viewId === null) {
|
|
857
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
858
858
|
throw 'Missing the required parameter "viewId" when calling getJourneyViewSchedules';
|
|
859
859
|
}
|
|
860
860
|
|
|
@@ -880,11 +880,11 @@ class JourneyApi {
|
|
|
880
880
|
*/
|
|
881
881
|
getJourneyViewVersion(viewId, versionId) {
|
|
882
882
|
// verify the required parameter 'viewId' is set
|
|
883
|
-
if (viewId === undefined || viewId === null) {
|
|
883
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
884
884
|
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersion';
|
|
885
885
|
}
|
|
886
886
|
// verify the required parameter 'versionId' is set
|
|
887
|
-
if (versionId === undefined || versionId === null) {
|
|
887
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
888
888
|
throw 'Missing the required parameter "versionId" when calling getJourneyViewVersion';
|
|
889
889
|
}
|
|
890
890
|
|
|
@@ -911,15 +911,15 @@ class JourneyApi {
|
|
|
911
911
|
*/
|
|
912
912
|
getJourneyViewVersionChart(viewId, journeyViewVersion, chartId) {
|
|
913
913
|
// verify the required parameter 'viewId' is set
|
|
914
|
-
if (viewId === undefined || viewId === null) {
|
|
914
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
915
915
|
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionChart';
|
|
916
916
|
}
|
|
917
917
|
// verify the required parameter 'journeyViewVersion' is set
|
|
918
|
-
if (journeyViewVersion === undefined || journeyViewVersion === null) {
|
|
918
|
+
if (journeyViewVersion === undefined || journeyViewVersion === null || journeyViewVersion === '') {
|
|
919
919
|
throw 'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChart';
|
|
920
920
|
}
|
|
921
921
|
// verify the required parameter 'chartId' is set
|
|
922
|
-
if (chartId === undefined || chartId === null) {
|
|
922
|
+
if (chartId === undefined || chartId === null || chartId === '') {
|
|
923
923
|
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionChart';
|
|
924
924
|
}
|
|
925
925
|
|
|
@@ -947,19 +947,19 @@ class JourneyApi {
|
|
|
947
947
|
*/
|
|
948
948
|
getJourneyViewVersionChartVersion(viewId, journeyViewVersion, chartId, chartVersion) {
|
|
949
949
|
// verify the required parameter 'viewId' is set
|
|
950
|
-
if (viewId === undefined || viewId === null) {
|
|
950
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
951
951
|
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionChartVersion';
|
|
952
952
|
}
|
|
953
953
|
// verify the required parameter 'journeyViewVersion' is set
|
|
954
|
-
if (journeyViewVersion === undefined || journeyViewVersion === null) {
|
|
954
|
+
if (journeyViewVersion === undefined || journeyViewVersion === null || journeyViewVersion === '') {
|
|
955
955
|
throw 'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionChartVersion';
|
|
956
956
|
}
|
|
957
957
|
// verify the required parameter 'chartId' is set
|
|
958
|
-
if (chartId === undefined || chartId === null) {
|
|
958
|
+
if (chartId === undefined || chartId === null || chartId === '') {
|
|
959
959
|
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionChartVersion';
|
|
960
960
|
}
|
|
961
961
|
// verify the required parameter 'chartVersion' is set
|
|
962
|
-
if (chartVersion === undefined || chartVersion === null) {
|
|
962
|
+
if (chartVersion === undefined || chartVersion === null || chartVersion === '') {
|
|
963
963
|
throw 'Missing the required parameter "chartVersion" when calling getJourneyViewVersionChartVersion';
|
|
964
964
|
}
|
|
965
965
|
|
|
@@ -986,15 +986,15 @@ class JourneyApi {
|
|
|
986
986
|
*/
|
|
987
987
|
getJourneyViewVersionJob(viewId, journeyVersionId, jobId) {
|
|
988
988
|
// verify the required parameter 'viewId' is set
|
|
989
|
-
if (viewId === undefined || viewId === null) {
|
|
989
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
990
990
|
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionJob';
|
|
991
991
|
}
|
|
992
992
|
// verify the required parameter 'journeyVersionId' is set
|
|
993
|
-
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
993
|
+
if (journeyVersionId === undefined || journeyVersionId === null || journeyVersionId === '') {
|
|
994
994
|
throw 'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJob';
|
|
995
995
|
}
|
|
996
996
|
// verify the required parameter 'jobId' is set
|
|
997
|
-
if (jobId === undefined || jobId === null) {
|
|
997
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
998
998
|
throw 'Missing the required parameter "jobId" when calling getJourneyViewVersionJob';
|
|
999
999
|
}
|
|
1000
1000
|
|
|
@@ -1021,15 +1021,15 @@ class JourneyApi {
|
|
|
1021
1021
|
*/
|
|
1022
1022
|
getJourneyViewVersionJobResults(viewId, journeyViewVersion, jobId) {
|
|
1023
1023
|
// verify the required parameter 'viewId' is set
|
|
1024
|
-
if (viewId === undefined || viewId === null) {
|
|
1024
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
1025
1025
|
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResults';
|
|
1026
1026
|
}
|
|
1027
1027
|
// verify the required parameter 'journeyViewVersion' is set
|
|
1028
|
-
if (journeyViewVersion === undefined || journeyViewVersion === null) {
|
|
1028
|
+
if (journeyViewVersion === undefined || journeyViewVersion === null || journeyViewVersion === '') {
|
|
1029
1029
|
throw 'Missing the required parameter "journeyViewVersion" when calling getJourneyViewVersionJobResults';
|
|
1030
1030
|
}
|
|
1031
1031
|
// verify the required parameter 'jobId' is set
|
|
1032
|
-
if (jobId === undefined || jobId === null) {
|
|
1032
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1033
1033
|
throw 'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResults';
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
@@ -1057,19 +1057,19 @@ class JourneyApi {
|
|
|
1057
1057
|
*/
|
|
1058
1058
|
getJourneyViewVersionJobResultsChart(viewId, journeyVersionId, jobId, chartId) {
|
|
1059
1059
|
// verify the required parameter 'viewId' is set
|
|
1060
|
-
if (viewId === undefined || viewId === null) {
|
|
1060
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
1061
1061
|
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionJobResultsChart';
|
|
1062
1062
|
}
|
|
1063
1063
|
// verify the required parameter 'journeyVersionId' is set
|
|
1064
|
-
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
1064
|
+
if (journeyVersionId === undefined || journeyVersionId === null || journeyVersionId === '') {
|
|
1065
1065
|
throw 'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobResultsChart';
|
|
1066
1066
|
}
|
|
1067
1067
|
// verify the required parameter 'jobId' is set
|
|
1068
|
-
if (jobId === undefined || jobId === null) {
|
|
1068
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1069
1069
|
throw 'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResultsChart';
|
|
1070
1070
|
}
|
|
1071
1071
|
// verify the required parameter 'chartId' is set
|
|
1072
|
-
if (chartId === undefined || chartId === null) {
|
|
1072
|
+
if (chartId === undefined || chartId === null || chartId === '') {
|
|
1073
1073
|
throw 'Missing the required parameter "chartId" when calling getJourneyViewVersionJobResultsChart';
|
|
1074
1074
|
}
|
|
1075
1075
|
|
|
@@ -1095,11 +1095,11 @@ class JourneyApi {
|
|
|
1095
1095
|
*/
|
|
1096
1096
|
getJourneyViewVersionJobsLatest(viewId, journeyVersionId) {
|
|
1097
1097
|
// verify the required parameter 'viewId' is set
|
|
1098
|
-
if (viewId === undefined || viewId === null) {
|
|
1098
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
1099
1099
|
throw 'Missing the required parameter "viewId" when calling getJourneyViewVersionJobsLatest';
|
|
1100
1100
|
}
|
|
1101
1101
|
// verify the required parameter 'journeyVersionId' is set
|
|
1102
|
-
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
1102
|
+
if (journeyVersionId === undefined || journeyVersionId === null || journeyVersionId === '') {
|
|
1103
1103
|
throw 'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJobsLatest';
|
|
1104
1104
|
}
|
|
1105
1105
|
|
|
@@ -1172,7 +1172,7 @@ class JourneyApi {
|
|
|
1172
1172
|
*/
|
|
1173
1173
|
getJourneyViewsEventdefinition(eventDefinitionId) {
|
|
1174
1174
|
// verify the required parameter 'eventDefinitionId' is set
|
|
1175
|
-
if (eventDefinitionId === undefined || eventDefinitionId === null) {
|
|
1175
|
+
if (eventDefinitionId === undefined || eventDefinitionId === null || eventDefinitionId === '') {
|
|
1176
1176
|
throw 'Missing the required parameter "eventDefinitionId" when calling getJourneyViewsEventdefinition';
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
@@ -1273,7 +1273,7 @@ class JourneyApi {
|
|
|
1273
1273
|
opts = opts || {};
|
|
1274
1274
|
|
|
1275
1275
|
// verify the required parameter 'actionMapId' is set
|
|
1276
|
-
if (actionMapId === undefined || actionMapId === null) {
|
|
1276
|
+
if (actionMapId === undefined || actionMapId === null || actionMapId === '') {
|
|
1277
1277
|
throw 'Missing the required parameter "actionMapId" when calling patchJourneyActionmap';
|
|
1278
1278
|
}
|
|
1279
1279
|
|
|
@@ -1302,7 +1302,7 @@ class JourneyApi {
|
|
|
1302
1302
|
opts = opts || {};
|
|
1303
1303
|
|
|
1304
1304
|
// verify the required parameter 'actionTargetId' is set
|
|
1305
|
-
if (actionTargetId === undefined || actionTargetId === null) {
|
|
1305
|
+
if (actionTargetId === undefined || actionTargetId === null || actionTargetId === '') {
|
|
1306
1306
|
throw 'Missing the required parameter "actionTargetId" when calling patchJourneyActiontarget';
|
|
1307
1307
|
}
|
|
1308
1308
|
|
|
@@ -1331,7 +1331,7 @@ class JourneyApi {
|
|
|
1331
1331
|
opts = opts || {};
|
|
1332
1332
|
|
|
1333
1333
|
// verify the required parameter 'actionTemplateId' is set
|
|
1334
|
-
if (actionTemplateId === undefined || actionTemplateId === null) {
|
|
1334
|
+
if (actionTemplateId === undefined || actionTemplateId === null || actionTemplateId === '') {
|
|
1335
1335
|
throw 'Missing the required parameter "actionTemplateId" when calling patchJourneyActiontemplate';
|
|
1336
1336
|
}
|
|
1337
1337
|
|
|
@@ -1360,7 +1360,7 @@ class JourneyApi {
|
|
|
1360
1360
|
opts = opts || {};
|
|
1361
1361
|
|
|
1362
1362
|
// verify the required parameter 'outcomeId' is set
|
|
1363
|
-
if (outcomeId === undefined || outcomeId === null) {
|
|
1363
|
+
if (outcomeId === undefined || outcomeId === null || outcomeId === '') {
|
|
1364
1364
|
throw 'Missing the required parameter "outcomeId" when calling patchJourneyOutcome';
|
|
1365
1365
|
}
|
|
1366
1366
|
|
|
@@ -1389,7 +1389,7 @@ class JourneyApi {
|
|
|
1389
1389
|
opts = opts || {};
|
|
1390
1390
|
|
|
1391
1391
|
// verify the required parameter 'segmentId' is set
|
|
1392
|
-
if (segmentId === undefined || segmentId === null) {
|
|
1392
|
+
if (segmentId === undefined || segmentId === null || segmentId === '') {
|
|
1393
1393
|
throw 'Missing the required parameter "segmentId" when calling patchJourneySegment';
|
|
1394
1394
|
}
|
|
1395
1395
|
|
|
@@ -1417,15 +1417,15 @@ class JourneyApi {
|
|
|
1417
1417
|
*/
|
|
1418
1418
|
patchJourneyViewVersionJob(viewId, journeyVersionId, jobId, body) {
|
|
1419
1419
|
// verify the required parameter 'viewId' is set
|
|
1420
|
-
if (viewId === undefined || viewId === null) {
|
|
1420
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
1421
1421
|
throw 'Missing the required parameter "viewId" when calling patchJourneyViewVersionJob';
|
|
1422
1422
|
}
|
|
1423
1423
|
// verify the required parameter 'journeyVersionId' is set
|
|
1424
|
-
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
1424
|
+
if (journeyVersionId === undefined || journeyVersionId === null || journeyVersionId === '') {
|
|
1425
1425
|
throw 'Missing the required parameter "journeyVersionId" when calling patchJourneyViewVersionJob';
|
|
1426
1426
|
}
|
|
1427
1427
|
// verify the required parameter 'jobId' is set
|
|
1428
|
-
if (jobId === undefined || jobId === null) {
|
|
1428
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1429
1429
|
throw 'Missing the required parameter "jobId" when calling patchJourneyViewVersionJob';
|
|
1430
1430
|
}
|
|
1431
1431
|
// verify the required parameter 'body' is set
|
|
@@ -1579,7 +1579,7 @@ class JourneyApi {
|
|
|
1579
1579
|
*/
|
|
1580
1580
|
postJourneyDeploymentActionevent(deploymentId, body) {
|
|
1581
1581
|
// verify the required parameter 'deploymentId' is set
|
|
1582
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
1582
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
1583
1583
|
throw 'Missing the required parameter "deploymentId" when calling postJourneyDeploymentActionevent';
|
|
1584
1584
|
}
|
|
1585
1585
|
// verify the required parameter 'body' is set
|
|
@@ -1612,7 +1612,7 @@ class JourneyApi {
|
|
|
1612
1612
|
opts = opts || {};
|
|
1613
1613
|
|
|
1614
1614
|
// verify the required parameter 'deploymentId' is set
|
|
1615
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
1615
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
1616
1616
|
throw 'Missing the required parameter "deploymentId" when calling postJourneyDeploymentAppevents';
|
|
1617
1617
|
}
|
|
1618
1618
|
|
|
@@ -1641,7 +1641,7 @@ class JourneyApi {
|
|
|
1641
1641
|
opts = opts || {};
|
|
1642
1642
|
|
|
1643
1643
|
// verify the required parameter 'deploymentId' is set
|
|
1644
|
-
if (deploymentId === undefined || deploymentId === null) {
|
|
1644
|
+
if (deploymentId === undefined || deploymentId === null || deploymentId === '') {
|
|
1645
1645
|
throw 'Missing the required parameter "deploymentId" when calling postJourneyDeploymentWebevents';
|
|
1646
1646
|
}
|
|
1647
1647
|
|
|
@@ -1788,7 +1788,7 @@ class JourneyApi {
|
|
|
1788
1788
|
*/
|
|
1789
1789
|
postJourneyViewSchedules(viewId, body) {
|
|
1790
1790
|
// verify the required parameter 'viewId' is set
|
|
1791
|
-
if (viewId === undefined || viewId === null) {
|
|
1791
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
1792
1792
|
throw 'Missing the required parameter "viewId" when calling postJourneyViewSchedules';
|
|
1793
1793
|
}
|
|
1794
1794
|
// verify the required parameter 'body' is set
|
|
@@ -1818,11 +1818,11 @@ class JourneyApi {
|
|
|
1818
1818
|
*/
|
|
1819
1819
|
postJourneyViewVersionJobs(viewId, journeyVersionId) {
|
|
1820
1820
|
// verify the required parameter 'viewId' is set
|
|
1821
|
-
if (viewId === undefined || viewId === null) {
|
|
1821
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
1822
1822
|
throw 'Missing the required parameter "viewId" when calling postJourneyViewVersionJobs';
|
|
1823
1823
|
}
|
|
1824
1824
|
// verify the required parameter 'journeyVersionId' is set
|
|
1825
|
-
if (journeyVersionId === undefined || journeyVersionId === null) {
|
|
1825
|
+
if (journeyVersionId === undefined || journeyVersionId === null || journeyVersionId === '') {
|
|
1826
1826
|
throw 'Missing the required parameter "journeyVersionId" when calling postJourneyViewVersionJobs';
|
|
1827
1827
|
}
|
|
1828
1828
|
|
|
@@ -1848,7 +1848,7 @@ class JourneyApi {
|
|
|
1848
1848
|
*/
|
|
1849
1849
|
postJourneyViewVersions(viewId, body) {
|
|
1850
1850
|
// verify the required parameter 'viewId' is set
|
|
1851
|
-
if (viewId === undefined || viewId === null) {
|
|
1851
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
1852
1852
|
throw 'Missing the required parameter "viewId" when calling postJourneyViewVersions';
|
|
1853
1853
|
}
|
|
1854
1854
|
// verify the required parameter 'body' is set
|
|
@@ -1927,7 +1927,7 @@ class JourneyApi {
|
|
|
1927
1927
|
*/
|
|
1928
1928
|
putJourneyViewSchedules(viewId, body) {
|
|
1929
1929
|
// verify the required parameter 'viewId' is set
|
|
1930
|
-
if (viewId === undefined || viewId === null) {
|
|
1930
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
1931
1931
|
throw 'Missing the required parameter "viewId" when calling putJourneyViewSchedules';
|
|
1932
1932
|
}
|
|
1933
1933
|
// verify the required parameter 'body' is set
|
|
@@ -1958,11 +1958,11 @@ class JourneyApi {
|
|
|
1958
1958
|
*/
|
|
1959
1959
|
putJourneyViewVersion(viewId, versionId, body) {
|
|
1960
1960
|
// verify the required parameter 'viewId' is set
|
|
1961
|
-
if (viewId === undefined || viewId === null) {
|
|
1961
|
+
if (viewId === undefined || viewId === null || viewId === '') {
|
|
1962
1962
|
throw 'Missing the required parameter "viewId" when calling putJourneyViewVersion';
|
|
1963
1963
|
}
|
|
1964
1964
|
// verify the required parameter 'versionId' is set
|
|
1965
|
-
if (versionId === undefined || versionId === null) {
|
|
1965
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
1966
1966
|
throw 'Missing the required parameter "versionId" when calling putJourneyViewVersion';
|
|
1967
1967
|
}
|
|
1968
1968
|
// verify the required parameter 'body' is set
|