@epilot/sdk 2.0.0-beta.6 → 2.0.4
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/definitions/entity-runtime.json +1 -1
- package/dist/apis/access-token.cjs +7 -7
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +7 -7
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +7 -7
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +7 -7
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +7 -7
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +7 -7
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +7 -7
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +7 -7
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +7 -7
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/consent.cjs +7 -7
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +7 -7
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-management.cjs +7 -7
- package/dist/apis/data-management.d.cts +2 -2
- package/dist/apis/data-management.d.ts +2 -2
- package/dist/apis/data-management.js +1 -1
- package/dist/apis/deduplication.cjs +7 -7
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +7 -7
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +7 -7
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +7 -7
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +7 -7
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +7 -7
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +8 -8
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +7 -7
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +8 -8
- package/dist/apis/erp-integration.d.cts +2 -2
- package/dist/apis/erp-integration.d.ts +2 -2
- package/dist/apis/erp-integration.js +2 -2
- package/dist/apis/event-catalog.cjs +7 -7
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +7 -7
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +7 -7
- package/dist/apis/iban.js +1 -1
- package/dist/apis/journey.cjs +7 -7
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +7 -7
- package/dist/apis/kanban.d.cts +2 -2
- package/dist/apis/kanban.d.ts +2 -2
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +7 -7
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +7 -7
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +7 -7
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +7 -7
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +8 -8
- package/dist/apis/organization.d.cts +2 -2
- package/dist/apis/organization.d.ts +2 -2
- package/dist/apis/organization.js +2 -2
- package/dist/apis/partner-directory.cjs +7 -7
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +7 -7
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +7 -7
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +7 -7
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +7 -7
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/sandbox.cjs +7 -7
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +7 -7
- package/dist/apis/submission.js +1 -1
- package/dist/apis/targeting.cjs +7 -7
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +7 -7
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +7 -7
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +7 -7
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +7 -7
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +7 -7
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +7 -7
- package/dist/apis/workflow.d.cts +2 -2
- package/dist/apis/workflow.d.ts +2 -2
- package/dist/apis/workflow.js +1 -1
- package/dist/{automation.d-sRCRiHKf.d.cts → automation.d-KOiZ6ru5.d.cts} +2 -24
- package/dist/{automation.d-sRCRiHKf.d.ts → automation.d-KOiZ6ru5.d.ts} +2 -24
- package/dist/bin/cli.js +123 -25
- package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
- package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
- package/dist/{customer-portal.d-D7cJvhBK.d.cts → customer-portal.d-Bh9NF8cY.d.cts} +598 -99
- package/dist/{customer-portal.d-D7cJvhBK.d.ts → customer-portal.d-Bh9NF8cY.d.ts} +598 -99
- package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.cts} +1 -2
- package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.ts} +1 -2
- package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
- package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
- package/dist/{erp-integration.d-3LmxMirP.d.cts → erp-integration.d-DOhxy4P5.d.cts} +409 -15
- package/dist/{erp-integration.d-3LmxMirP.d.ts → erp-integration.d-DOhxy4P5.d.ts} +409 -15
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +1 -1
- package/dist/{journey.d-DkBvO_Wa.d.cts → journey.d-C4N4t1Rh.d.cts} +122 -4
- package/dist/{journey.d-DkBvO_Wa.d.ts → journey.d-C4N4t1Rh.d.ts} +122 -4
- package/dist/js-yaml-UPZKYVRY.js +2645 -0
- package/dist/kanban.d-CtSt3uX2.d.cts +745 -0
- package/dist/kanban.d-CtSt3uX2.d.ts +745 -0
- package/dist/organization.d-Bd2Hmk8v.d.cts +1244 -0
- package/dist/organization.d-Bd2Hmk8v.d.ts +1244 -0
- package/dist/{workflow.d-EPa2OdVW.d.cts → workflow.d-DvhTpEtU.d.cts} +45 -3
- package/dist/{workflow.d-EPa2OdVW.d.ts → workflow.d-DvhTpEtU.d.ts} +45 -3
- package/package.json +1 -1
- package/dist/kanban.d-DUClxyBG.d.cts +0 -630
- package/dist/kanban.d-DUClxyBG.d.ts +0 -630
- package/dist/organization.d-BOLK3v9o.d.cts +0 -628
- package/dist/organization.d-BOLK3v9o.d.ts +0 -628
package/dist/index.d.cts
CHANGED
|
@@ -7,32 +7,32 @@ import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
|
|
|
7
7
|
import { C as Client$3 } from './ai-agents.d-OkXfr2bz.cjs';
|
|
8
8
|
import { C as Client$4 } from './app.d-Dr03n4J4.cjs';
|
|
9
9
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
|
|
10
|
-
import { C as Client$6 } from './automation.d-
|
|
10
|
+
import { C as Client$6 } from './automation.d-KOiZ6ru5.cjs';
|
|
11
11
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.cjs';
|
|
12
12
|
import { C as Client$8 } from './blueprint-manifest.d-CEWRdF3i.cjs';
|
|
13
13
|
import { C as Client$9 } from './consent.d-C2PROHhX.cjs';
|
|
14
|
-
import { C as Client$a } from './customer-portal.d-
|
|
14
|
+
import { C as Client$a } from './customer-portal.d-Bh9NF8cY.cjs';
|
|
15
15
|
import { C as Client$b } from './dashboard.d-CsGcA74I.cjs';
|
|
16
|
-
import { C as Client$c } from './data-management.d-
|
|
16
|
+
import { C as Client$c } from './data-management.d-CkDmJwpx.cjs';
|
|
17
17
|
import { C as Client$d } from './deduplication.d-w_2aJD5f.cjs';
|
|
18
18
|
import { C as Client$e } from './design.d-eA-irKEX.cjs';
|
|
19
19
|
import { C as Client$f } from './document.d-DN37pjdx.cjs';
|
|
20
20
|
import { C as Client$g } from './email-settings.d-BXxYjVDr.cjs';
|
|
21
21
|
import { C as Client$h } from './email-template.d-BeqkDHtk.cjs';
|
|
22
|
-
import { C as Client$i } from './entity.d-
|
|
22
|
+
import { C as Client$i } from './entity.d-DtiajmaY.cjs';
|
|
23
23
|
import { C as Client$j } from './entity-mapping.d-DKSW3sfy.cjs';
|
|
24
24
|
import { C as Client$k } from './environments.d-H3LK_KuH.cjs';
|
|
25
|
-
import { C as Client$l } from './erp-integration.d-
|
|
25
|
+
import { C as Client$l } from './erp-integration.d-DOhxy4P5.cjs';
|
|
26
26
|
import { C as Client$m } from './event-catalog.d-ENw6HO-w.cjs';
|
|
27
27
|
import { C as Client$n } from './file.d-DcTJxjp7.cjs';
|
|
28
28
|
import { C as Client$o } from './iban.d-BwdiGbxi.cjs';
|
|
29
|
-
import { C as Client$p } from './journey.d-
|
|
30
|
-
import { C as Client$q } from './kanban.d-
|
|
29
|
+
import { C as Client$p } from './journey.d-C4N4t1Rh.cjs';
|
|
30
|
+
import { C as Client$q } from './kanban.d-CtSt3uX2.cjs';
|
|
31
31
|
import { C as Client$r } from './message.d-YEv1kmQd.cjs';
|
|
32
32
|
import { C as Client$s } from './metering.d-DvtPv7wk.cjs';
|
|
33
33
|
import { C as Client$t } from './notes.d-BC-scR42.cjs';
|
|
34
34
|
import { C as Client$u } from './notification.d-BfBL3lga.cjs';
|
|
35
|
-
import { C as Client$v } from './organization.d-
|
|
35
|
+
import { C as Client$v } from './organization.d-Bd2Hmk8v.cjs';
|
|
36
36
|
import { C as Client$w } from './partner-directory.d-CRNkDF8q.cjs';
|
|
37
37
|
import { C as Client$x } from './permissions.d-BHB1FFS5.cjs';
|
|
38
38
|
import { C as Client$y } from './pricing.d-Cv39plGm.cjs';
|
|
@@ -45,7 +45,7 @@ import { C as Client$E } from './template-variables.d-Ch3H3zYf.cjs';
|
|
|
45
45
|
import { C as Client$F } from './user.d-CXqM751M.cjs';
|
|
46
46
|
import { C as Client$G } from './validation-rules.d-Db5c5zTf.cjs';
|
|
47
47
|
import { C as Client$H } from './webhooks.d-CUNJrltY.cjs';
|
|
48
|
-
import { C as Client$I } from './workflow.d-
|
|
48
|
+
import { C as Client$I } from './workflow.d-DvhTpEtU.cjs';
|
|
49
49
|
import { C as Client$J } from './workflow-definition.d-CE3kk9gl.cjs';
|
|
50
50
|
import 'openapi-client-axios';
|
|
51
51
|
|
package/dist/index.d.ts
CHANGED
|
@@ -7,32 +7,32 @@ import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
|
|
|
7
7
|
import { C as Client$3 } from './ai-agents.d-OkXfr2bz.js';
|
|
8
8
|
import { C as Client$4 } from './app.d-Dr03n4J4.js';
|
|
9
9
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
|
|
10
|
-
import { C as Client$6 } from './automation.d-
|
|
10
|
+
import { C as Client$6 } from './automation.d-KOiZ6ru5.js';
|
|
11
11
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.js';
|
|
12
12
|
import { C as Client$8 } from './blueprint-manifest.d-CEWRdF3i.js';
|
|
13
13
|
import { C as Client$9 } from './consent.d-C2PROHhX.js';
|
|
14
|
-
import { C as Client$a } from './customer-portal.d-
|
|
14
|
+
import { C as Client$a } from './customer-portal.d-Bh9NF8cY.js';
|
|
15
15
|
import { C as Client$b } from './dashboard.d-CsGcA74I.js';
|
|
16
|
-
import { C as Client$c } from './data-management.d-
|
|
16
|
+
import { C as Client$c } from './data-management.d-CkDmJwpx.js';
|
|
17
17
|
import { C as Client$d } from './deduplication.d-w_2aJD5f.js';
|
|
18
18
|
import { C as Client$e } from './design.d-eA-irKEX.js';
|
|
19
19
|
import { C as Client$f } from './document.d-DN37pjdx.js';
|
|
20
20
|
import { C as Client$g } from './email-settings.d-BXxYjVDr.js';
|
|
21
21
|
import { C as Client$h } from './email-template.d-BeqkDHtk.js';
|
|
22
|
-
import { C as Client$i } from './entity.d-
|
|
22
|
+
import { C as Client$i } from './entity.d-DtiajmaY.js';
|
|
23
23
|
import { C as Client$j } from './entity-mapping.d-DKSW3sfy.js';
|
|
24
24
|
import { C as Client$k } from './environments.d-H3LK_KuH.js';
|
|
25
|
-
import { C as Client$l } from './erp-integration.d-
|
|
25
|
+
import { C as Client$l } from './erp-integration.d-DOhxy4P5.js';
|
|
26
26
|
import { C as Client$m } from './event-catalog.d-ENw6HO-w.js';
|
|
27
27
|
import { C as Client$n } from './file.d-DcTJxjp7.js';
|
|
28
28
|
import { C as Client$o } from './iban.d-BwdiGbxi.js';
|
|
29
|
-
import { C as Client$p } from './journey.d-
|
|
30
|
-
import { C as Client$q } from './kanban.d-
|
|
29
|
+
import { C as Client$p } from './journey.d-C4N4t1Rh.js';
|
|
30
|
+
import { C as Client$q } from './kanban.d-CtSt3uX2.js';
|
|
31
31
|
import { C as Client$r } from './message.d-YEv1kmQd.js';
|
|
32
32
|
import { C as Client$s } from './metering.d-DvtPv7wk.js';
|
|
33
33
|
import { C as Client$t } from './notes.d-BC-scR42.js';
|
|
34
34
|
import { C as Client$u } from './notification.d-BfBL3lga.js';
|
|
35
|
-
import { C as Client$v } from './organization.d-
|
|
35
|
+
import { C as Client$v } from './organization.d-Bd2Hmk8v.js';
|
|
36
36
|
import { C as Client$w } from './partner-directory.d-CRNkDF8q.js';
|
|
37
37
|
import { C as Client$x } from './permissions.d-BHB1FFS5.js';
|
|
38
38
|
import { C as Client$y } from './pricing.d-Cv39plGm.js';
|
|
@@ -45,7 +45,7 @@ import { C as Client$E } from './template-variables.d-Ch3H3zYf.js';
|
|
|
45
45
|
import { C as Client$F } from './user.d-CXqM751M.js';
|
|
46
46
|
import { C as Client$G } from './validation-rules.d-Db5c5zTf.js';
|
|
47
47
|
import { C as Client$H } from './webhooks.d-CUNJrltY.js';
|
|
48
|
-
import { C as Client$I } from './workflow.d-
|
|
48
|
+
import { C as Client$I } from './workflow.d-DvhTpEtU.js';
|
|
49
49
|
import { C as Client$J } from './workflow-definition.d-CE3kk9gl.js';
|
|
50
50
|
import 'openapi-client-axios';
|
|
51
51
|
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from journey-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -303,6 +301,22 @@ declare namespace Components {
|
|
|
303
301
|
*/
|
|
304
302
|
addressSuggestionsFileUrl?: string | null;
|
|
305
303
|
addressSuggestionsFileId?: string | null;
|
|
304
|
+
/**
|
|
305
|
+
* Country code for address format (e.g. DE, AT, CH, LU)
|
|
306
|
+
*/
|
|
307
|
+
addressSuggestionsCountryCode?: string | null;
|
|
308
|
+
/**
|
|
309
|
+
* Whether address auto-complete is enabled
|
|
310
|
+
*/
|
|
311
|
+
addressSuggestionsEnableAutoComplete?: boolean;
|
|
312
|
+
/**
|
|
313
|
+
* Sources for address auto-complete (e.g. deutschePostService, customAddressesFile)
|
|
314
|
+
*/
|
|
315
|
+
addressSuggestionsSource?: string[];
|
|
316
|
+
/**
|
|
317
|
+
* Whether free text input is allowed when auto-complete is on
|
|
318
|
+
*/
|
|
319
|
+
addressSuggestionsEnableFreeText?: boolean;
|
|
306
320
|
/**
|
|
307
321
|
* This property is deprecated and will be removed in a future version
|
|
308
322
|
*/
|
|
@@ -531,6 +545,22 @@ declare namespace Components {
|
|
|
531
545
|
*/
|
|
532
546
|
addressSuggestionsFileUrl?: string | null;
|
|
533
547
|
addressSuggestionsFileId?: string | null;
|
|
548
|
+
/**
|
|
549
|
+
* Country code for address format (e.g. DE, AT, CH, LU)
|
|
550
|
+
*/
|
|
551
|
+
addressSuggestionsCountryCode?: string | null;
|
|
552
|
+
/**
|
|
553
|
+
* Whether address auto-complete is enabled
|
|
554
|
+
*/
|
|
555
|
+
addressSuggestionsEnableAutoComplete?: boolean;
|
|
556
|
+
/**
|
|
557
|
+
* Sources for address auto-complete (e.g. deutschePostService, customAddressesFile)
|
|
558
|
+
*/
|
|
559
|
+
addressSuggestionsSource?: string[];
|
|
560
|
+
/**
|
|
561
|
+
* Whether free text input is allowed when auto-complete is on
|
|
562
|
+
*/
|
|
563
|
+
addressSuggestionsEnableFreeText?: boolean;
|
|
534
564
|
/**
|
|
535
565
|
* This property is deprecated and will be removed in a future version
|
|
536
566
|
*/
|
|
@@ -735,6 +765,22 @@ declare namespace Components {
|
|
|
735
765
|
*/
|
|
736
766
|
addressSuggestionsFileUrl?: string | null;
|
|
737
767
|
addressSuggestionsFileId?: string | null;
|
|
768
|
+
/**
|
|
769
|
+
* Country code for address format (e.g. DE, AT, CH, LU)
|
|
770
|
+
*/
|
|
771
|
+
addressSuggestionsCountryCode?: string | null;
|
|
772
|
+
/**
|
|
773
|
+
* Whether address auto-complete is enabled
|
|
774
|
+
*/
|
|
775
|
+
addressSuggestionsEnableAutoComplete?: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* Sources for address auto-complete (e.g. deutschePostService, customAddressesFile)
|
|
778
|
+
*/
|
|
779
|
+
addressSuggestionsSource?: string[];
|
|
780
|
+
/**
|
|
781
|
+
* Whether free text input is allowed when auto-complete is on
|
|
782
|
+
*/
|
|
783
|
+
addressSuggestionsEnableFreeText?: boolean;
|
|
738
784
|
/**
|
|
739
785
|
* This property is deprecated and will be removed in a future version
|
|
740
786
|
*/
|
|
@@ -793,6 +839,70 @@ declare namespace Components {
|
|
|
793
839
|
export interface JourneyResponse {
|
|
794
840
|
createdJourney?: Journey;
|
|
795
841
|
}
|
|
842
|
+
export interface JourneyValidationError {
|
|
843
|
+
/**
|
|
844
|
+
* Error type identifier
|
|
845
|
+
* example:
|
|
846
|
+
* ValidationError
|
|
847
|
+
*/
|
|
848
|
+
error: string;
|
|
849
|
+
/**
|
|
850
|
+
* High-level error message
|
|
851
|
+
* example:
|
|
852
|
+
* Journey configuration validation failed
|
|
853
|
+
*/
|
|
854
|
+
message: string;
|
|
855
|
+
/**
|
|
856
|
+
* Detailed validation errors for each pattern that failed
|
|
857
|
+
*/
|
|
858
|
+
details: {
|
|
859
|
+
/**
|
|
860
|
+
* Validation pattern that failed
|
|
861
|
+
*/
|
|
862
|
+
pattern?: string;
|
|
863
|
+
severity?: "critical" | "high" | "medium" | "low";
|
|
864
|
+
/**
|
|
865
|
+
* Detailed error message
|
|
866
|
+
*/
|
|
867
|
+
message?: string;
|
|
868
|
+
/**
|
|
869
|
+
* Number of issues found
|
|
870
|
+
*/
|
|
871
|
+
count?: number;
|
|
872
|
+
}[];
|
|
873
|
+
}
|
|
874
|
+
export interface JourneyValidationResponse {
|
|
875
|
+
/**
|
|
876
|
+
* Whether the journey configuration is valid
|
|
877
|
+
*/
|
|
878
|
+
valid: boolean;
|
|
879
|
+
/**
|
|
880
|
+
* List of detected validation errors
|
|
881
|
+
*/
|
|
882
|
+
errors: {
|
|
883
|
+
/**
|
|
884
|
+
* Pattern type (e.g. PatternA_DotsInStepId)
|
|
885
|
+
*/
|
|
886
|
+
type?: string;
|
|
887
|
+
severity?: "critical" | "high" | "medium" | "low";
|
|
888
|
+
message?: string;
|
|
889
|
+
affectedStepIds?: string[];
|
|
890
|
+
count?: number;
|
|
891
|
+
autoFix?: {
|
|
892
|
+
feasible?: boolean;
|
|
893
|
+
confidence?: "high" | "medium" | "low";
|
|
894
|
+
reason?: string;
|
|
895
|
+
details?: string;
|
|
896
|
+
};
|
|
897
|
+
}[];
|
|
898
|
+
/**
|
|
899
|
+
* List of warnings (non-critical issues)
|
|
900
|
+
*/
|
|
901
|
+
warnings?: {
|
|
902
|
+
type?: string;
|
|
903
|
+
message?: string;
|
|
904
|
+
}[];
|
|
905
|
+
}
|
|
796
906
|
/**
|
|
797
907
|
* Patch request to update a journey (journey id is required) Support for nested properties (e.g. steps[0].uischema.elements[0].products) is supported.
|
|
798
908
|
*
|
|
@@ -1029,7 +1139,7 @@ declare namespace Components {
|
|
|
1029
1139
|
/**
|
|
1030
1140
|
* The file entity id, used when persisting a new template version with updated settings
|
|
1031
1141
|
* example:
|
|
1032
|
-
* 1a2b3c4d-5e6f-
|
|
1142
|
+
* 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
|
|
1033
1143
|
*/
|
|
1034
1144
|
file_entity_id?: string; // uuid
|
|
1035
1145
|
}
|
|
@@ -1081,6 +1191,7 @@ declare namespace Paths {
|
|
|
1081
1191
|
export type RequestBody = Components.Schemas.JourneyCreationRequest;
|
|
1082
1192
|
namespace Responses {
|
|
1083
1193
|
export type $201 = Components.Schemas.Journey;
|
|
1194
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1084
1195
|
}
|
|
1085
1196
|
}
|
|
1086
1197
|
namespace CreateJourneyV2 {
|
|
@@ -1101,6 +1212,7 @@ declare namespace Paths {
|
|
|
1101
1212
|
export type RequestBody = Components.Schemas.JourneyCreationRequestV2;
|
|
1102
1213
|
namespace Responses {
|
|
1103
1214
|
export type $201 = Components.Schemas.JourneyCreationRequestV2;
|
|
1215
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1104
1216
|
}
|
|
1105
1217
|
}
|
|
1106
1218
|
namespace GenerateDocument {
|
|
@@ -1301,6 +1413,7 @@ declare namespace Paths {
|
|
|
1301
1413
|
Components.Schemas.PatchUpdateJourneyRequest;
|
|
1302
1414
|
namespace Responses {
|
|
1303
1415
|
export type $200 = Components.Schemas.JourneyResponse;
|
|
1416
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1304
1417
|
export interface $404 {
|
|
1305
1418
|
/**
|
|
1306
1419
|
* example:
|
|
@@ -1318,6 +1431,7 @@ declare namespace Paths {
|
|
|
1318
1431
|
Components.Schemas.PatchUpdateJourneyRequest;
|
|
1319
1432
|
namespace Responses {
|
|
1320
1433
|
export type $200 = Components.Schemas.JourneyCreationRequestV2;
|
|
1434
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1321
1435
|
export interface $404 {
|
|
1322
1436
|
/**
|
|
1323
1437
|
* example:
|
|
@@ -1379,6 +1493,7 @@ declare namespace Paths {
|
|
|
1379
1493
|
namespace Responses {
|
|
1380
1494
|
export interface $204 {
|
|
1381
1495
|
}
|
|
1496
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1382
1497
|
export interface $409 {
|
|
1383
1498
|
}
|
|
1384
1499
|
}
|
|
@@ -1387,6 +1502,7 @@ declare namespace Paths {
|
|
|
1387
1502
|
export type RequestBody = Components.Schemas.JourneyCreationRequestV2;
|
|
1388
1503
|
namespace Responses {
|
|
1389
1504
|
export type $200 = Components.Schemas.JourneyCreationRequestV2;
|
|
1505
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1390
1506
|
export interface $404 {
|
|
1391
1507
|
/**
|
|
1392
1508
|
* example:
|
|
@@ -1782,6 +1898,8 @@ type JourneyCreationRequestV2 = Components.Schemas.JourneyCreationRequestV2;
|
|
|
1782
1898
|
type JourneyFeatureFlags = Components.Schemas.JourneyFeatureFlags;
|
|
1783
1899
|
type JourneyProductsResponse = Components.Schemas.JourneyProductsResponse;
|
|
1784
1900
|
type JourneyResponse = Components.Schemas.JourneyResponse;
|
|
1901
|
+
type JourneyValidationError = Components.Schemas.JourneyValidationError;
|
|
1902
|
+
type JourneyValidationResponse = Components.Schemas.JourneyValidationResponse;
|
|
1785
1903
|
type PatchUpdateJourneyRequest = Components.Schemas.PatchUpdateJourneyRequest;
|
|
1786
1904
|
type RuleRef = Components.Schemas.RuleRef;
|
|
1787
1905
|
type S3Reference = Components.Schemas.S3Reference;
|
|
@@ -1790,4 +1908,4 @@ type SearchJourneysResponse = Components.Schemas.SearchJourneysResponse;
|
|
|
1790
1908
|
type TemplateSettings = Components.Schemas.TemplateSettings;
|
|
1791
1909
|
type ValidationRuleRef = Components.Schemas.ValidationRuleRef;
|
|
1792
1910
|
|
|
1793
|
-
export { type ButtonOption as B, type Client as C, type GenerateDocumentRequest as G, type Journey as J, type OperationMethods as O, Paths as P, type RuleRef as R, type S3Reference as S, type TemplateSettings as T, type ValidationRuleRef as V, Components as a, type PathsDictionary as b, type GenerateDocumentResponse as c, type GetJourneysResponse as d, GetSettingsForJourney as e, type JourneyAuditInfo as f, type JourneyCreationRequest as g, type JourneyCreationRequestV2 as h, type JourneyFeatureFlags as i, type JourneyProductsResponse as j, type JourneyResponse as k, type
|
|
1911
|
+
export { type ButtonOption as B, type Client as C, type GenerateDocumentRequest as G, type Journey as J, type OperationMethods as O, Paths as P, type RuleRef as R, type S3Reference as S, type TemplateSettings as T, type ValidationRuleRef as V, Components as a, type PathsDictionary as b, type GenerateDocumentResponse as c, type GetJourneysResponse as d, GetSettingsForJourney as e, type JourneyAuditInfo as f, type JourneyCreationRequest as g, type JourneyCreationRequestV2 as h, type JourneyFeatureFlags as i, type JourneyProductsResponse as j, type JourneyResponse as k, type JourneyValidationError as l, type JourneyValidationResponse as m, type PatchUpdateJourneyRequest as n, type SearchJourneysQueryRequest as o, type SearchJourneysResponse as p };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from journey-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -303,6 +301,22 @@ declare namespace Components {
|
|
|
303
301
|
*/
|
|
304
302
|
addressSuggestionsFileUrl?: string | null;
|
|
305
303
|
addressSuggestionsFileId?: string | null;
|
|
304
|
+
/**
|
|
305
|
+
* Country code for address format (e.g. DE, AT, CH, LU)
|
|
306
|
+
*/
|
|
307
|
+
addressSuggestionsCountryCode?: string | null;
|
|
308
|
+
/**
|
|
309
|
+
* Whether address auto-complete is enabled
|
|
310
|
+
*/
|
|
311
|
+
addressSuggestionsEnableAutoComplete?: boolean;
|
|
312
|
+
/**
|
|
313
|
+
* Sources for address auto-complete (e.g. deutschePostService, customAddressesFile)
|
|
314
|
+
*/
|
|
315
|
+
addressSuggestionsSource?: string[];
|
|
316
|
+
/**
|
|
317
|
+
* Whether free text input is allowed when auto-complete is on
|
|
318
|
+
*/
|
|
319
|
+
addressSuggestionsEnableFreeText?: boolean;
|
|
306
320
|
/**
|
|
307
321
|
* This property is deprecated and will be removed in a future version
|
|
308
322
|
*/
|
|
@@ -531,6 +545,22 @@ declare namespace Components {
|
|
|
531
545
|
*/
|
|
532
546
|
addressSuggestionsFileUrl?: string | null;
|
|
533
547
|
addressSuggestionsFileId?: string | null;
|
|
548
|
+
/**
|
|
549
|
+
* Country code for address format (e.g. DE, AT, CH, LU)
|
|
550
|
+
*/
|
|
551
|
+
addressSuggestionsCountryCode?: string | null;
|
|
552
|
+
/**
|
|
553
|
+
* Whether address auto-complete is enabled
|
|
554
|
+
*/
|
|
555
|
+
addressSuggestionsEnableAutoComplete?: boolean;
|
|
556
|
+
/**
|
|
557
|
+
* Sources for address auto-complete (e.g. deutschePostService, customAddressesFile)
|
|
558
|
+
*/
|
|
559
|
+
addressSuggestionsSource?: string[];
|
|
560
|
+
/**
|
|
561
|
+
* Whether free text input is allowed when auto-complete is on
|
|
562
|
+
*/
|
|
563
|
+
addressSuggestionsEnableFreeText?: boolean;
|
|
534
564
|
/**
|
|
535
565
|
* This property is deprecated and will be removed in a future version
|
|
536
566
|
*/
|
|
@@ -735,6 +765,22 @@ declare namespace Components {
|
|
|
735
765
|
*/
|
|
736
766
|
addressSuggestionsFileUrl?: string | null;
|
|
737
767
|
addressSuggestionsFileId?: string | null;
|
|
768
|
+
/**
|
|
769
|
+
* Country code for address format (e.g. DE, AT, CH, LU)
|
|
770
|
+
*/
|
|
771
|
+
addressSuggestionsCountryCode?: string | null;
|
|
772
|
+
/**
|
|
773
|
+
* Whether address auto-complete is enabled
|
|
774
|
+
*/
|
|
775
|
+
addressSuggestionsEnableAutoComplete?: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* Sources for address auto-complete (e.g. deutschePostService, customAddressesFile)
|
|
778
|
+
*/
|
|
779
|
+
addressSuggestionsSource?: string[];
|
|
780
|
+
/**
|
|
781
|
+
* Whether free text input is allowed when auto-complete is on
|
|
782
|
+
*/
|
|
783
|
+
addressSuggestionsEnableFreeText?: boolean;
|
|
738
784
|
/**
|
|
739
785
|
* This property is deprecated and will be removed in a future version
|
|
740
786
|
*/
|
|
@@ -793,6 +839,70 @@ declare namespace Components {
|
|
|
793
839
|
export interface JourneyResponse {
|
|
794
840
|
createdJourney?: Journey;
|
|
795
841
|
}
|
|
842
|
+
export interface JourneyValidationError {
|
|
843
|
+
/**
|
|
844
|
+
* Error type identifier
|
|
845
|
+
* example:
|
|
846
|
+
* ValidationError
|
|
847
|
+
*/
|
|
848
|
+
error: string;
|
|
849
|
+
/**
|
|
850
|
+
* High-level error message
|
|
851
|
+
* example:
|
|
852
|
+
* Journey configuration validation failed
|
|
853
|
+
*/
|
|
854
|
+
message: string;
|
|
855
|
+
/**
|
|
856
|
+
* Detailed validation errors for each pattern that failed
|
|
857
|
+
*/
|
|
858
|
+
details: {
|
|
859
|
+
/**
|
|
860
|
+
* Validation pattern that failed
|
|
861
|
+
*/
|
|
862
|
+
pattern?: string;
|
|
863
|
+
severity?: "critical" | "high" | "medium" | "low";
|
|
864
|
+
/**
|
|
865
|
+
* Detailed error message
|
|
866
|
+
*/
|
|
867
|
+
message?: string;
|
|
868
|
+
/**
|
|
869
|
+
* Number of issues found
|
|
870
|
+
*/
|
|
871
|
+
count?: number;
|
|
872
|
+
}[];
|
|
873
|
+
}
|
|
874
|
+
export interface JourneyValidationResponse {
|
|
875
|
+
/**
|
|
876
|
+
* Whether the journey configuration is valid
|
|
877
|
+
*/
|
|
878
|
+
valid: boolean;
|
|
879
|
+
/**
|
|
880
|
+
* List of detected validation errors
|
|
881
|
+
*/
|
|
882
|
+
errors: {
|
|
883
|
+
/**
|
|
884
|
+
* Pattern type (e.g. PatternA_DotsInStepId)
|
|
885
|
+
*/
|
|
886
|
+
type?: string;
|
|
887
|
+
severity?: "critical" | "high" | "medium" | "low";
|
|
888
|
+
message?: string;
|
|
889
|
+
affectedStepIds?: string[];
|
|
890
|
+
count?: number;
|
|
891
|
+
autoFix?: {
|
|
892
|
+
feasible?: boolean;
|
|
893
|
+
confidence?: "high" | "medium" | "low";
|
|
894
|
+
reason?: string;
|
|
895
|
+
details?: string;
|
|
896
|
+
};
|
|
897
|
+
}[];
|
|
898
|
+
/**
|
|
899
|
+
* List of warnings (non-critical issues)
|
|
900
|
+
*/
|
|
901
|
+
warnings?: {
|
|
902
|
+
type?: string;
|
|
903
|
+
message?: string;
|
|
904
|
+
}[];
|
|
905
|
+
}
|
|
796
906
|
/**
|
|
797
907
|
* Patch request to update a journey (journey id is required) Support for nested properties (e.g. steps[0].uischema.elements[0].products) is supported.
|
|
798
908
|
*
|
|
@@ -1029,7 +1139,7 @@ declare namespace Components {
|
|
|
1029
1139
|
/**
|
|
1030
1140
|
* The file entity id, used when persisting a new template version with updated settings
|
|
1031
1141
|
* example:
|
|
1032
|
-
* 1a2b3c4d-5e6f-
|
|
1142
|
+
* 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
|
|
1033
1143
|
*/
|
|
1034
1144
|
file_entity_id?: string; // uuid
|
|
1035
1145
|
}
|
|
@@ -1081,6 +1191,7 @@ declare namespace Paths {
|
|
|
1081
1191
|
export type RequestBody = Components.Schemas.JourneyCreationRequest;
|
|
1082
1192
|
namespace Responses {
|
|
1083
1193
|
export type $201 = Components.Schemas.Journey;
|
|
1194
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1084
1195
|
}
|
|
1085
1196
|
}
|
|
1086
1197
|
namespace CreateJourneyV2 {
|
|
@@ -1101,6 +1212,7 @@ declare namespace Paths {
|
|
|
1101
1212
|
export type RequestBody = Components.Schemas.JourneyCreationRequestV2;
|
|
1102
1213
|
namespace Responses {
|
|
1103
1214
|
export type $201 = Components.Schemas.JourneyCreationRequestV2;
|
|
1215
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1104
1216
|
}
|
|
1105
1217
|
}
|
|
1106
1218
|
namespace GenerateDocument {
|
|
@@ -1301,6 +1413,7 @@ declare namespace Paths {
|
|
|
1301
1413
|
Components.Schemas.PatchUpdateJourneyRequest;
|
|
1302
1414
|
namespace Responses {
|
|
1303
1415
|
export type $200 = Components.Schemas.JourneyResponse;
|
|
1416
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1304
1417
|
export interface $404 {
|
|
1305
1418
|
/**
|
|
1306
1419
|
* example:
|
|
@@ -1318,6 +1431,7 @@ declare namespace Paths {
|
|
|
1318
1431
|
Components.Schemas.PatchUpdateJourneyRequest;
|
|
1319
1432
|
namespace Responses {
|
|
1320
1433
|
export type $200 = Components.Schemas.JourneyCreationRequestV2;
|
|
1434
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1321
1435
|
export interface $404 {
|
|
1322
1436
|
/**
|
|
1323
1437
|
* example:
|
|
@@ -1379,6 +1493,7 @@ declare namespace Paths {
|
|
|
1379
1493
|
namespace Responses {
|
|
1380
1494
|
export interface $204 {
|
|
1381
1495
|
}
|
|
1496
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1382
1497
|
export interface $409 {
|
|
1383
1498
|
}
|
|
1384
1499
|
}
|
|
@@ -1387,6 +1502,7 @@ declare namespace Paths {
|
|
|
1387
1502
|
export type RequestBody = Components.Schemas.JourneyCreationRequestV2;
|
|
1388
1503
|
namespace Responses {
|
|
1389
1504
|
export type $200 = Components.Schemas.JourneyCreationRequestV2;
|
|
1505
|
+
export type $400 = Components.Schemas.JourneyValidationError;
|
|
1390
1506
|
export interface $404 {
|
|
1391
1507
|
/**
|
|
1392
1508
|
* example:
|
|
@@ -1782,6 +1898,8 @@ type JourneyCreationRequestV2 = Components.Schemas.JourneyCreationRequestV2;
|
|
|
1782
1898
|
type JourneyFeatureFlags = Components.Schemas.JourneyFeatureFlags;
|
|
1783
1899
|
type JourneyProductsResponse = Components.Schemas.JourneyProductsResponse;
|
|
1784
1900
|
type JourneyResponse = Components.Schemas.JourneyResponse;
|
|
1901
|
+
type JourneyValidationError = Components.Schemas.JourneyValidationError;
|
|
1902
|
+
type JourneyValidationResponse = Components.Schemas.JourneyValidationResponse;
|
|
1785
1903
|
type PatchUpdateJourneyRequest = Components.Schemas.PatchUpdateJourneyRequest;
|
|
1786
1904
|
type RuleRef = Components.Schemas.RuleRef;
|
|
1787
1905
|
type S3Reference = Components.Schemas.S3Reference;
|
|
@@ -1790,4 +1908,4 @@ type SearchJourneysResponse = Components.Schemas.SearchJourneysResponse;
|
|
|
1790
1908
|
type TemplateSettings = Components.Schemas.TemplateSettings;
|
|
1791
1909
|
type ValidationRuleRef = Components.Schemas.ValidationRuleRef;
|
|
1792
1910
|
|
|
1793
|
-
export { type ButtonOption as B, type Client as C, type GenerateDocumentRequest as G, type Journey as J, type OperationMethods as O, Paths as P, type RuleRef as R, type S3Reference as S, type TemplateSettings as T, type ValidationRuleRef as V, Components as a, type PathsDictionary as b, type GenerateDocumentResponse as c, type GetJourneysResponse as d, GetSettingsForJourney as e, type JourneyAuditInfo as f, type JourneyCreationRequest as g, type JourneyCreationRequestV2 as h, type JourneyFeatureFlags as i, type JourneyProductsResponse as j, type JourneyResponse as k, type
|
|
1911
|
+
export { type ButtonOption as B, type Client as C, type GenerateDocumentRequest as G, type Journey as J, type OperationMethods as O, Paths as P, type RuleRef as R, type S3Reference as S, type TemplateSettings as T, type ValidationRuleRef as V, Components as a, type PathsDictionary as b, type GenerateDocumentResponse as c, type GetJourneysResponse as d, GetSettingsForJourney as e, type JourneyAuditInfo as f, type JourneyCreationRequest as g, type JourneyCreationRequestV2 as h, type JourneyFeatureFlags as i, type JourneyProductsResponse as j, type JourneyResponse as k, type JourneyValidationError as l, type JourneyValidationResponse as m, type PatchUpdateJourneyRequest as n, type SearchJourneysQueryRequest as o, type SearchJourneysResponse as p };
|