@goauthentik/api 2022.12.1-1672406809 → 2022.12.1-1672608421
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/dist/apis/StagesApi.d.ts +1 -0
- package/dist/apis/StagesApi.js +3 -0
- package/dist/esm/apis/StagesApi.d.ts +1 -0
- package/dist/esm/apis/StagesApi.js +3 -0
- package/dist/esm/models/CaptchaChallenge.d.ts +1 -1
- package/dist/esm/models/CaptchaChallenge.js +1 -0
- package/dist/esm/models/ChallengeTypes.d.ts +2 -2
- package/dist/esm/models/ChallengeTypes.js +4 -4
- package/dist/esm/models/DummyStage.d.ts +6 -0
- package/dist/esm/models/DummyStage.js +2 -0
- package/dist/esm/models/DummyStageRequest.d.ts +6 -0
- package/dist/esm/models/DummyStageRequest.js +2 -0
- package/dist/esm/models/FlowErrorChallenge.d.ts +2 -15
- package/dist/esm/models/FlowErrorChallenge.js +2 -7
- package/dist/esm/models/PatchedDummyStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedDummyStageRequest.js +2 -0
- package/dist/models/CaptchaChallenge.d.ts +1 -1
- package/dist/models/CaptchaChallenge.js +1 -0
- package/dist/models/ChallengeTypes.d.ts +2 -2
- package/dist/models/ChallengeTypes.js +4 -4
- package/dist/models/DummyStage.d.ts +6 -0
- package/dist/models/DummyStage.js +2 -0
- package/dist/models/DummyStageRequest.d.ts +6 -0
- package/dist/models/DummyStageRequest.js +2 -0
- package/dist/models/FlowErrorChallenge.d.ts +2 -15
- package/dist/models/FlowErrorChallenge.js +2 -7
- package/dist/models/PatchedDummyStageRequest.d.ts +6 -0
- package/dist/models/PatchedDummyStageRequest.js +2 -0
- package/package.json +1 -1
- package/src/apis/StagesApi.ts +5 -0
- package/src/models/CaptchaChallenge.ts +2 -1
- package/src/models/ChallengeTypes.ts +5 -5
- package/src/models/DummyStage.ts +8 -0
- package/src/models/DummyStageRequest.ts +8 -0
- package/src/models/FlowErrorChallenge.ts +4 -26
- package/src/models/PatchedDummyStageRequest.ts +8 -0
package/dist/apis/StagesApi.d.ts
CHANGED
package/dist/apis/StagesApi.js
CHANGED
|
@@ -2630,6 +2630,9 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
2630
2630
|
if (requestParameters.stageUuid !== undefined) {
|
|
2631
2631
|
queryParameters['stage_uuid'] = requestParameters.stageUuid;
|
|
2632
2632
|
}
|
|
2633
|
+
if (requestParameters.throwError !== undefined) {
|
|
2634
|
+
queryParameters['throw_error'] = requestParameters.throwError;
|
|
2635
|
+
}
|
|
2633
2636
|
const headerParameters = {};
|
|
2634
2637
|
if (this.configuration && this.configuration.apiKey) {
|
|
2635
2638
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
@@ -2627,6 +2627,9 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
2627
2627
|
if (requestParameters.stageUuid !== undefined) {
|
|
2628
2628
|
queryParameters['stage_uuid'] = requestParameters.stageUuid;
|
|
2629
2629
|
}
|
|
2630
|
+
if (requestParameters.throwError !== undefined) {
|
|
2631
|
+
queryParameters['throw_error'] = requestParameters.throwError;
|
|
2632
|
+
}
|
|
2630
2633
|
const headerParameters = {};
|
|
2631
2634
|
if (this.configuration && this.configuration.apiKey) {
|
|
2632
2635
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
@@ -67,7 +67,7 @@ export interface CaptchaChallenge {
|
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof CaptchaChallenge
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
jsUrl: string;
|
|
71
71
|
}
|
|
72
72
|
export declare function CaptchaChallengeFromJSON(json: any): CaptchaChallenge;
|
|
73
73
|
export declare function CaptchaChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaptchaChallenge;
|
|
@@ -69,14 +69,14 @@ export type ChallengeTypes = {
|
|
|
69
69
|
} & DummyChallenge | {
|
|
70
70
|
component: 'ak-stage-email';
|
|
71
71
|
} & EmailChallenge | {
|
|
72
|
+
component: 'ak-stage-flow-error';
|
|
73
|
+
} & FlowErrorChallenge | {
|
|
72
74
|
component: 'ak-stage-identification';
|
|
73
75
|
} & IdentificationChallenge | {
|
|
74
76
|
component: 'ak-stage-password';
|
|
75
77
|
} & PasswordChallenge | {
|
|
76
78
|
component: 'ak-stage-prompt';
|
|
77
79
|
} & PromptChallenge | {
|
|
78
|
-
component: 'xak-flow-error';
|
|
79
|
-
} & FlowErrorChallenge | {
|
|
80
80
|
component: 'xak-flow-redirect';
|
|
81
81
|
} & RedirectChallenge | {
|
|
82
82
|
component: 'xak-flow-shell';
|
|
@@ -73,14 +73,14 @@ export function ChallengeTypesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
73
73
|
return Object.assign(Object.assign({}, DummyChallengeFromJSONTyped(json, true)), { component: 'ak-stage-dummy' });
|
|
74
74
|
case 'ak-stage-email':
|
|
75
75
|
return Object.assign(Object.assign({}, EmailChallengeFromJSONTyped(json, true)), { component: 'ak-stage-email' });
|
|
76
|
+
case 'ak-stage-flow-error':
|
|
77
|
+
return Object.assign(Object.assign({}, FlowErrorChallengeFromJSONTyped(json, true)), { component: 'ak-stage-flow-error' });
|
|
76
78
|
case 'ak-stage-identification':
|
|
77
79
|
return Object.assign(Object.assign({}, IdentificationChallengeFromJSONTyped(json, true)), { component: 'ak-stage-identification' });
|
|
78
80
|
case 'ak-stage-password':
|
|
79
81
|
return Object.assign(Object.assign({}, PasswordChallengeFromJSONTyped(json, true)), { component: 'ak-stage-password' });
|
|
80
82
|
case 'ak-stage-prompt':
|
|
81
83
|
return Object.assign(Object.assign({}, PromptChallengeFromJSONTyped(json, true)), { component: 'ak-stage-prompt' });
|
|
82
|
-
case 'xak-flow-error':
|
|
83
|
-
return Object.assign(Object.assign({}, FlowErrorChallengeFromJSONTyped(json, true)), { component: 'xak-flow-error' });
|
|
84
84
|
case 'xak-flow-redirect':
|
|
85
85
|
return Object.assign(Object.assign({}, RedirectChallengeFromJSONTyped(json, true)), { component: 'xak-flow-redirect' });
|
|
86
86
|
case 'xak-flow-shell':
|
|
@@ -129,14 +129,14 @@ export function ChallengeTypesToJSON(value) {
|
|
|
129
129
|
return DummyChallengeToJSON(value);
|
|
130
130
|
case 'ak-stage-email':
|
|
131
131
|
return EmailChallengeToJSON(value);
|
|
132
|
+
case 'ak-stage-flow-error':
|
|
133
|
+
return FlowErrorChallengeToJSON(value);
|
|
132
134
|
case 'ak-stage-identification':
|
|
133
135
|
return IdentificationChallengeToJSON(value);
|
|
134
136
|
case 'ak-stage-password':
|
|
135
137
|
return PasswordChallengeToJSON(value);
|
|
136
138
|
case 'ak-stage-prompt':
|
|
137
139
|
return PromptChallengeToJSON(value);
|
|
138
|
-
case 'xak-flow-error':
|
|
139
|
-
return FlowErrorChallengeToJSON(value);
|
|
140
140
|
case 'xak-flow-redirect':
|
|
141
141
|
return RedirectChallengeToJSON(value);
|
|
142
142
|
case 'xak-flow-shell':
|
|
@@ -58,6 +58,12 @@ export interface DummyStage {
|
|
|
58
58
|
* @memberof DummyStage
|
|
59
59
|
*/
|
|
60
60
|
flowSet?: Array<FlowSet>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof DummyStage
|
|
65
|
+
*/
|
|
66
|
+
throwError?: boolean;
|
|
61
67
|
}
|
|
62
68
|
export declare function DummyStageFromJSON(json: any): DummyStage;
|
|
63
69
|
export declare function DummyStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): DummyStage;
|
|
@@ -28,6 +28,7 @@ export function DummyStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'verboseNamePlural': json['verbose_name_plural'],
|
|
29
29
|
'metaModelName': json['meta_model_name'],
|
|
30
30
|
'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetFromJSON)),
|
|
31
|
+
'throwError': !exists(json, 'throw_error') ? undefined : json['throw_error'],
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
34
|
export function DummyStageToJSON(value) {
|
|
@@ -40,5 +41,6 @@ export function DummyStageToJSON(value) {
|
|
|
40
41
|
return {
|
|
41
42
|
'name': value.name,
|
|
42
43
|
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetToJSON)),
|
|
44
|
+
'throw_error': value.throwError,
|
|
43
45
|
};
|
|
44
46
|
}
|
|
@@ -28,6 +28,12 @@ export interface DummyStageRequest {
|
|
|
28
28
|
* @memberof DummyStageRequest
|
|
29
29
|
*/
|
|
30
30
|
flowSet?: Array<FlowSetRequest>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof DummyStageRequest
|
|
35
|
+
*/
|
|
36
|
+
throwError?: boolean;
|
|
31
37
|
}
|
|
32
38
|
export declare function DummyStageRequestFromJSON(json: any): DummyStageRequest;
|
|
33
39
|
export declare function DummyStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DummyStageRequest;
|
|
@@ -23,6 +23,7 @@ export function DummyStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
return {
|
|
24
24
|
'name': json['name'],
|
|
25
25
|
'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
|
|
26
|
+
'throwError': !exists(json, 'throw_error') ? undefined : json['throw_error'],
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
export function DummyStageRequestToJSON(value) {
|
|
@@ -35,5 +36,6 @@ export function DummyStageRequestToJSON(value) {
|
|
|
35
36
|
return {
|
|
36
37
|
'name': value.name,
|
|
37
38
|
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequestToJSON)),
|
|
39
|
+
'throw_error': value.throwError,
|
|
38
40
|
};
|
|
39
41
|
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ChallengeChoices } from './ChallengeChoices';
|
|
13
12
|
import { ContextualFlowInfo } from './ContextualFlowInfo';
|
|
14
13
|
import { ErrorDetail } from './ErrorDetail';
|
|
15
14
|
/**
|
|
@@ -21,10 +20,10 @@ import { ErrorDetail } from './ErrorDetail';
|
|
|
21
20
|
export interface FlowErrorChallenge {
|
|
22
21
|
/**
|
|
23
22
|
*
|
|
24
|
-
* @type {
|
|
23
|
+
* @type {string}
|
|
25
24
|
* @memberof FlowErrorChallenge
|
|
26
25
|
*/
|
|
27
|
-
type
|
|
26
|
+
type?: string;
|
|
28
27
|
/**
|
|
29
28
|
*
|
|
30
29
|
* @type {ContextualFlowInfo}
|
|
@@ -45,18 +44,6 @@ export interface FlowErrorChallenge {
|
|
|
45
44
|
responseErrors?: {
|
|
46
45
|
[key: string]: Array<ErrorDetail>;
|
|
47
46
|
};
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof FlowErrorChallenge
|
|
52
|
-
*/
|
|
53
|
-
pendingUser: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof FlowErrorChallenge
|
|
58
|
-
*/
|
|
59
|
-
pendingUserAvatar: string;
|
|
60
47
|
/**
|
|
61
48
|
*
|
|
62
49
|
* @type {string}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { ChallengeChoicesFromJSON, ChallengeChoicesToJSON, } from './ChallengeChoices';
|
|
16
15
|
import { ContextualFlowInfoFromJSON, ContextualFlowInfoToJSON, } from './ContextualFlowInfo';
|
|
17
16
|
export function FlowErrorChallengeFromJSON(json) {
|
|
18
17
|
return FlowErrorChallengeFromJSONTyped(json, false);
|
|
@@ -22,12 +21,10 @@ export function FlowErrorChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
21
|
return json;
|
|
23
22
|
}
|
|
24
23
|
return {
|
|
25
|
-
'type':
|
|
24
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
26
25
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
|
27
26
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
|
28
27
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
|
29
|
-
'pendingUser': json['pending_user'],
|
|
30
|
-
'pendingUserAvatar': json['pending_user_avatar'],
|
|
31
28
|
'requestId': json['request_id'],
|
|
32
29
|
'error': !exists(json, 'error') ? undefined : json['error'],
|
|
33
30
|
'traceback': !exists(json, 'traceback') ? undefined : json['traceback'],
|
|
@@ -41,12 +38,10 @@ export function FlowErrorChallengeToJSON(value) {
|
|
|
41
38
|
return null;
|
|
42
39
|
}
|
|
43
40
|
return {
|
|
44
|
-
'type':
|
|
41
|
+
'type': value.type,
|
|
45
42
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
|
46
43
|
'component': value.component,
|
|
47
44
|
'response_errors': value.responseErrors,
|
|
48
|
-
'pending_user': value.pendingUser,
|
|
49
|
-
'pending_user_avatar': value.pendingUserAvatar,
|
|
50
45
|
'request_id': value.requestId,
|
|
51
46
|
'error': value.error,
|
|
52
47
|
'traceback': value.traceback,
|
|
@@ -28,6 +28,12 @@ export interface PatchedDummyStageRequest {
|
|
|
28
28
|
* @memberof PatchedDummyStageRequest
|
|
29
29
|
*/
|
|
30
30
|
flowSet?: Array<FlowSetRequest>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof PatchedDummyStageRequest
|
|
35
|
+
*/
|
|
36
|
+
throwError?: boolean;
|
|
31
37
|
}
|
|
32
38
|
export declare function PatchedDummyStageRequestFromJSON(json: any): PatchedDummyStageRequest;
|
|
33
39
|
export declare function PatchedDummyStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedDummyStageRequest;
|
|
@@ -23,6 +23,7 @@ export function PatchedDummyStageRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
23
23
|
return {
|
|
24
24
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
25
25
|
'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
|
|
26
|
+
'throwError': !exists(json, 'throw_error') ? undefined : json['throw_error'],
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
export function PatchedDummyStageRequestToJSON(value) {
|
|
@@ -35,5 +36,6 @@ export function PatchedDummyStageRequestToJSON(value) {
|
|
|
35
36
|
return {
|
|
36
37
|
'name': value.name,
|
|
37
38
|
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequestToJSON)),
|
|
39
|
+
'throw_error': value.throwError,
|
|
38
40
|
};
|
|
39
41
|
}
|
|
@@ -67,7 +67,7 @@ export interface CaptchaChallenge {
|
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof CaptchaChallenge
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
jsUrl: string;
|
|
71
71
|
}
|
|
72
72
|
export declare function CaptchaChallengeFromJSON(json: any): CaptchaChallenge;
|
|
73
73
|
export declare function CaptchaChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaptchaChallenge;
|
|
@@ -69,14 +69,14 @@ export type ChallengeTypes = {
|
|
|
69
69
|
} & DummyChallenge | {
|
|
70
70
|
component: 'ak-stage-email';
|
|
71
71
|
} & EmailChallenge | {
|
|
72
|
+
component: 'ak-stage-flow-error';
|
|
73
|
+
} & FlowErrorChallenge | {
|
|
72
74
|
component: 'ak-stage-identification';
|
|
73
75
|
} & IdentificationChallenge | {
|
|
74
76
|
component: 'ak-stage-password';
|
|
75
77
|
} & PasswordChallenge | {
|
|
76
78
|
component: 'ak-stage-prompt';
|
|
77
79
|
} & PromptChallenge | {
|
|
78
|
-
component: 'xak-flow-error';
|
|
79
|
-
} & FlowErrorChallenge | {
|
|
80
80
|
component: 'xak-flow-redirect';
|
|
81
81
|
} & RedirectChallenge | {
|
|
82
82
|
component: 'xak-flow-shell';
|
|
@@ -77,14 +77,14 @@ function ChallengeTypesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
77
77
|
return Object.assign(Object.assign({}, (0, DummyChallenge_1.DummyChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-dummy' });
|
|
78
78
|
case 'ak-stage-email':
|
|
79
79
|
return Object.assign(Object.assign({}, (0, EmailChallenge_1.EmailChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-email' });
|
|
80
|
+
case 'ak-stage-flow-error':
|
|
81
|
+
return Object.assign(Object.assign({}, (0, FlowErrorChallenge_1.FlowErrorChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-flow-error' });
|
|
80
82
|
case 'ak-stage-identification':
|
|
81
83
|
return Object.assign(Object.assign({}, (0, IdentificationChallenge_1.IdentificationChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-identification' });
|
|
82
84
|
case 'ak-stage-password':
|
|
83
85
|
return Object.assign(Object.assign({}, (0, PasswordChallenge_1.PasswordChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-password' });
|
|
84
86
|
case 'ak-stage-prompt':
|
|
85
87
|
return Object.assign(Object.assign({}, (0, PromptChallenge_1.PromptChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-prompt' });
|
|
86
|
-
case 'xak-flow-error':
|
|
87
|
-
return Object.assign(Object.assign({}, (0, FlowErrorChallenge_1.FlowErrorChallengeFromJSONTyped)(json, true)), { component: 'xak-flow-error' });
|
|
88
88
|
case 'xak-flow-redirect':
|
|
89
89
|
return Object.assign(Object.assign({}, (0, RedirectChallenge_1.RedirectChallengeFromJSONTyped)(json, true)), { component: 'xak-flow-redirect' });
|
|
90
90
|
case 'xak-flow-shell':
|
|
@@ -134,14 +134,14 @@ function ChallengeTypesToJSON(value) {
|
|
|
134
134
|
return (0, DummyChallenge_1.DummyChallengeToJSON)(value);
|
|
135
135
|
case 'ak-stage-email':
|
|
136
136
|
return (0, EmailChallenge_1.EmailChallengeToJSON)(value);
|
|
137
|
+
case 'ak-stage-flow-error':
|
|
138
|
+
return (0, FlowErrorChallenge_1.FlowErrorChallengeToJSON)(value);
|
|
137
139
|
case 'ak-stage-identification':
|
|
138
140
|
return (0, IdentificationChallenge_1.IdentificationChallengeToJSON)(value);
|
|
139
141
|
case 'ak-stage-password':
|
|
140
142
|
return (0, PasswordChallenge_1.PasswordChallengeToJSON)(value);
|
|
141
143
|
case 'ak-stage-prompt':
|
|
142
144
|
return (0, PromptChallenge_1.PromptChallengeToJSON)(value);
|
|
143
|
-
case 'xak-flow-error':
|
|
144
|
-
return (0, FlowErrorChallenge_1.FlowErrorChallengeToJSON)(value);
|
|
145
145
|
case 'xak-flow-redirect':
|
|
146
146
|
return (0, RedirectChallenge_1.RedirectChallengeToJSON)(value);
|
|
147
147
|
case 'xak-flow-shell':
|
|
@@ -58,6 +58,12 @@ export interface DummyStage {
|
|
|
58
58
|
* @memberof DummyStage
|
|
59
59
|
*/
|
|
60
60
|
flowSet?: Array<FlowSet>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof DummyStage
|
|
65
|
+
*/
|
|
66
|
+
throwError?: boolean;
|
|
61
67
|
}
|
|
62
68
|
export declare function DummyStageFromJSON(json: any): DummyStage;
|
|
63
69
|
export declare function DummyStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): DummyStage;
|
|
@@ -32,6 +32,7 @@ function DummyStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'verboseNamePlural': json['verbose_name_plural'],
|
|
33
33
|
'metaModelName': json['meta_model_name'],
|
|
34
34
|
'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSet_1.FlowSetFromJSON)),
|
|
35
|
+
'throwError': !(0, runtime_1.exists)(json, 'throw_error') ? undefined : json['throw_error'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
exports.DummyStageFromJSONTyped = DummyStageFromJSONTyped;
|
|
@@ -45,6 +46,7 @@ function DummyStageToJSON(value) {
|
|
|
45
46
|
return {
|
|
46
47
|
'name': value.name,
|
|
47
48
|
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSet_1.FlowSetToJSON)),
|
|
49
|
+
'throw_error': value.throwError,
|
|
48
50
|
};
|
|
49
51
|
}
|
|
50
52
|
exports.DummyStageToJSON = DummyStageToJSON;
|
|
@@ -28,6 +28,12 @@ export interface DummyStageRequest {
|
|
|
28
28
|
* @memberof DummyStageRequest
|
|
29
29
|
*/
|
|
30
30
|
flowSet?: Array<FlowSetRequest>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof DummyStageRequest
|
|
35
|
+
*/
|
|
36
|
+
throwError?: boolean;
|
|
31
37
|
}
|
|
32
38
|
export declare function DummyStageRequestFromJSON(json: any): DummyStageRequest;
|
|
33
39
|
export declare function DummyStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DummyStageRequest;
|
|
@@ -27,6 +27,7 @@ function DummyStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
return {
|
|
28
28
|
'name': json['name'],
|
|
29
29
|
'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
|
|
30
|
+
'throwError': !(0, runtime_1.exists)(json, 'throw_error') ? undefined : json['throw_error'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
exports.DummyStageRequestFromJSONTyped = DummyStageRequestFromJSONTyped;
|
|
@@ -40,6 +41,7 @@ function DummyStageRequestToJSON(value) {
|
|
|
40
41
|
return {
|
|
41
42
|
'name': value.name,
|
|
42
43
|
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequest_1.FlowSetRequestToJSON)),
|
|
44
|
+
'throw_error': value.throwError,
|
|
43
45
|
};
|
|
44
46
|
}
|
|
45
47
|
exports.DummyStageRequestToJSON = DummyStageRequestToJSON;
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ChallengeChoices } from './ChallengeChoices';
|
|
13
12
|
import { ContextualFlowInfo } from './ContextualFlowInfo';
|
|
14
13
|
import { ErrorDetail } from './ErrorDetail';
|
|
15
14
|
/**
|
|
@@ -21,10 +20,10 @@ import { ErrorDetail } from './ErrorDetail';
|
|
|
21
20
|
export interface FlowErrorChallenge {
|
|
22
21
|
/**
|
|
23
22
|
*
|
|
24
|
-
* @type {
|
|
23
|
+
* @type {string}
|
|
25
24
|
* @memberof FlowErrorChallenge
|
|
26
25
|
*/
|
|
27
|
-
type
|
|
26
|
+
type?: string;
|
|
28
27
|
/**
|
|
29
28
|
*
|
|
30
29
|
* @type {ContextualFlowInfo}
|
|
@@ -45,18 +44,6 @@ export interface FlowErrorChallenge {
|
|
|
45
44
|
responseErrors?: {
|
|
46
45
|
[key: string]: Array<ErrorDetail>;
|
|
47
46
|
};
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof FlowErrorChallenge
|
|
52
|
-
*/
|
|
53
|
-
pendingUser: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof FlowErrorChallenge
|
|
58
|
-
*/
|
|
59
|
-
pendingUserAvatar: string;
|
|
60
47
|
/**
|
|
61
48
|
*
|
|
62
49
|
* @type {string}
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.FlowErrorChallengeToJSON = exports.FlowErrorChallengeFromJSONTyped = exports.FlowErrorChallengeFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
const ChallengeChoices_1 = require("./ChallengeChoices");
|
|
19
18
|
const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
|
|
20
19
|
function FlowErrorChallengeFromJSON(json) {
|
|
21
20
|
return FlowErrorChallengeFromJSONTyped(json, false);
|
|
@@ -26,12 +25,10 @@ function FlowErrorChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
25
|
return json;
|
|
27
26
|
}
|
|
28
27
|
return {
|
|
29
|
-
'type': (0,
|
|
28
|
+
'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
|
|
30
29
|
'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
|
|
31
30
|
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
|
|
32
31
|
'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
|
|
33
|
-
'pendingUser': json['pending_user'],
|
|
34
|
-
'pendingUserAvatar': json['pending_user_avatar'],
|
|
35
32
|
'requestId': json['request_id'],
|
|
36
33
|
'error': !(0, runtime_1.exists)(json, 'error') ? undefined : json['error'],
|
|
37
34
|
'traceback': !(0, runtime_1.exists)(json, 'traceback') ? undefined : json['traceback'],
|
|
@@ -46,12 +43,10 @@ function FlowErrorChallengeToJSON(value) {
|
|
|
46
43
|
return null;
|
|
47
44
|
}
|
|
48
45
|
return {
|
|
49
|
-
'type':
|
|
46
|
+
'type': value.type,
|
|
50
47
|
'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
|
|
51
48
|
'component': value.component,
|
|
52
49
|
'response_errors': value.responseErrors,
|
|
53
|
-
'pending_user': value.pendingUser,
|
|
54
|
-
'pending_user_avatar': value.pendingUserAvatar,
|
|
55
50
|
'request_id': value.requestId,
|
|
56
51
|
'error': value.error,
|
|
57
52
|
'traceback': value.traceback,
|
|
@@ -28,6 +28,12 @@ export interface PatchedDummyStageRequest {
|
|
|
28
28
|
* @memberof PatchedDummyStageRequest
|
|
29
29
|
*/
|
|
30
30
|
flowSet?: Array<FlowSetRequest>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof PatchedDummyStageRequest
|
|
35
|
+
*/
|
|
36
|
+
throwError?: boolean;
|
|
31
37
|
}
|
|
32
38
|
export declare function PatchedDummyStageRequestFromJSON(json: any): PatchedDummyStageRequest;
|
|
33
39
|
export declare function PatchedDummyStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedDummyStageRequest;
|
|
@@ -27,6 +27,7 @@ function PatchedDummyStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
return {
|
|
28
28
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
29
29
|
'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
|
|
30
|
+
'throwError': !(0, runtime_1.exists)(json, 'throw_error') ? undefined : json['throw_error'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
exports.PatchedDummyStageRequestFromJSONTyped = PatchedDummyStageRequestFromJSONTyped;
|
|
@@ -40,6 +41,7 @@ function PatchedDummyStageRequestToJSON(value) {
|
|
|
40
41
|
return {
|
|
41
42
|
'name': value.name,
|
|
42
43
|
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequest_1.FlowSetRequestToJSON)),
|
|
44
|
+
'throw_error': value.throwError,
|
|
43
45
|
};
|
|
44
46
|
}
|
|
45
47
|
exports.PatchedDummyStageRequestToJSON = PatchedDummyStageRequestToJSON;
|
package/package.json
CHANGED
package/src/apis/StagesApi.ts
CHANGED
|
@@ -684,6 +684,7 @@ export interface StagesDummyListRequest {
|
|
|
684
684
|
pageSize?: number;
|
|
685
685
|
search?: string;
|
|
686
686
|
stageUuid?: string;
|
|
687
|
+
throwError?: boolean;
|
|
687
688
|
}
|
|
688
689
|
|
|
689
690
|
export interface StagesDummyPartialUpdateRequest {
|
|
@@ -4062,6 +4063,10 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
4062
4063
|
queryParameters['stage_uuid'] = requestParameters.stageUuid;
|
|
4063
4064
|
}
|
|
4064
4065
|
|
|
4066
|
+
if (requestParameters.throwError !== undefined) {
|
|
4067
|
+
queryParameters['throw_error'] = requestParameters.throwError;
|
|
4068
|
+
}
|
|
4069
|
+
|
|
4065
4070
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4066
4071
|
|
|
4067
4072
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -85,7 +85,7 @@ export interface CaptchaChallenge {
|
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof CaptchaChallenge
|
|
87
87
|
*/
|
|
88
|
-
|
|
88
|
+
jsUrl: string;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
export function CaptchaChallengeFromJSON(json: any): CaptchaChallenge {
|
|
@@ -125,6 +125,7 @@ export function CaptchaChallengeToJSON(value?: CaptchaChallenge | null): any {
|
|
|
125
125
|
'pending_user': value.pendingUser,
|
|
126
126
|
'pending_user_avatar': value.pendingUserAvatar,
|
|
127
127
|
'site_key': value.siteKey,
|
|
128
|
+
'js_url': value.jsUrl,
|
|
128
129
|
};
|
|
129
130
|
}
|
|
130
131
|
|
|
@@ -150,7 +150,7 @@ import {
|
|
|
150
150
|
*
|
|
151
151
|
* @export
|
|
152
152
|
*/
|
|
153
|
-
export type ChallengeTypes = { component: 'ak-provider-oauth2-device-code' } & OAuthDeviceCodeChallenge | { component: 'ak-provider-oauth2-device-code-finish' } & OAuthDeviceCodeFinishChallenge | { component: 'ak-source-oauth-apple' } & AppleLoginChallenge | { component: 'ak-source-plex' } & PlexAuthenticationChallenge | { component: 'ak-stage-access-denied' } & AccessDeniedChallenge | { component: 'ak-stage-authenticator-duo' } & AuthenticatorDuoChallenge | { component: 'ak-stage-authenticator-sms' } & AuthenticatorSMSChallenge | { component: 'ak-stage-authenticator-static' } & AuthenticatorStaticChallenge | { component: 'ak-stage-authenticator-totp' } & AuthenticatorTOTPChallenge | { component: 'ak-stage-authenticator-validate' } & AuthenticatorValidationChallenge | { component: 'ak-stage-authenticator-webauthn' } & AuthenticatorWebAuthnChallenge | { component: 'ak-stage-autosubmit' } & AutosubmitChallenge | { component: 'ak-stage-captcha' } & CaptchaChallenge | { component: 'ak-stage-consent' } & ConsentChallenge | { component: 'ak-stage-dummy' } & DummyChallenge | { component: 'ak-stage-email' } & EmailChallenge | { component: 'ak-stage-
|
|
153
|
+
export type ChallengeTypes = { component: 'ak-provider-oauth2-device-code' } & OAuthDeviceCodeChallenge | { component: 'ak-provider-oauth2-device-code-finish' } & OAuthDeviceCodeFinishChallenge | { component: 'ak-source-oauth-apple' } & AppleLoginChallenge | { component: 'ak-source-plex' } & PlexAuthenticationChallenge | { component: 'ak-stage-access-denied' } & AccessDeniedChallenge | { component: 'ak-stage-authenticator-duo' } & AuthenticatorDuoChallenge | { component: 'ak-stage-authenticator-sms' } & AuthenticatorSMSChallenge | { component: 'ak-stage-authenticator-static' } & AuthenticatorStaticChallenge | { component: 'ak-stage-authenticator-totp' } & AuthenticatorTOTPChallenge | { component: 'ak-stage-authenticator-validate' } & AuthenticatorValidationChallenge | { component: 'ak-stage-authenticator-webauthn' } & AuthenticatorWebAuthnChallenge | { component: 'ak-stage-autosubmit' } & AutosubmitChallenge | { component: 'ak-stage-captcha' } & CaptchaChallenge | { component: 'ak-stage-consent' } & ConsentChallenge | { component: 'ak-stage-dummy' } & DummyChallenge | { component: 'ak-stage-email' } & EmailChallenge | { component: 'ak-stage-flow-error' } & FlowErrorChallenge | { component: 'ak-stage-identification' } & IdentificationChallenge | { component: 'ak-stage-password' } & PasswordChallenge | { component: 'ak-stage-prompt' } & PromptChallenge | { component: 'xak-flow-redirect' } & RedirectChallenge | { component: 'xak-flow-shell' } & ShellChallenge;
|
|
154
154
|
|
|
155
155
|
export function ChallengeTypesFromJSON(json: any): ChallengeTypes {
|
|
156
156
|
return ChallengeTypesFromJSONTyped(json, false);
|
|
@@ -193,14 +193,14 @@ export function ChallengeTypesFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
193
193
|
return {...DummyChallengeFromJSONTyped(json, true), component: 'ak-stage-dummy'};
|
|
194
194
|
case 'ak-stage-email':
|
|
195
195
|
return {...EmailChallengeFromJSONTyped(json, true), component: 'ak-stage-email'};
|
|
196
|
+
case 'ak-stage-flow-error':
|
|
197
|
+
return {...FlowErrorChallengeFromJSONTyped(json, true), component: 'ak-stage-flow-error'};
|
|
196
198
|
case 'ak-stage-identification':
|
|
197
199
|
return {...IdentificationChallengeFromJSONTyped(json, true), component: 'ak-stage-identification'};
|
|
198
200
|
case 'ak-stage-password':
|
|
199
201
|
return {...PasswordChallengeFromJSONTyped(json, true), component: 'ak-stage-password'};
|
|
200
202
|
case 'ak-stage-prompt':
|
|
201
203
|
return {...PromptChallengeFromJSONTyped(json, true), component: 'ak-stage-prompt'};
|
|
202
|
-
case 'xak-flow-error':
|
|
203
|
-
return {...FlowErrorChallengeFromJSONTyped(json, true), component: 'xak-flow-error'};
|
|
204
204
|
case 'xak-flow-redirect':
|
|
205
205
|
return {...RedirectChallengeFromJSONTyped(json, true), component: 'xak-flow-redirect'};
|
|
206
206
|
case 'xak-flow-shell':
|
|
@@ -250,14 +250,14 @@ export function ChallengeTypesToJSON(value?: ChallengeTypes | null): any {
|
|
|
250
250
|
return DummyChallengeToJSON(value);
|
|
251
251
|
case 'ak-stage-email':
|
|
252
252
|
return EmailChallengeToJSON(value);
|
|
253
|
+
case 'ak-stage-flow-error':
|
|
254
|
+
return FlowErrorChallengeToJSON(value);
|
|
253
255
|
case 'ak-stage-identification':
|
|
254
256
|
return IdentificationChallengeToJSON(value);
|
|
255
257
|
case 'ak-stage-password':
|
|
256
258
|
return PasswordChallengeToJSON(value);
|
|
257
259
|
case 'ak-stage-prompt':
|
|
258
260
|
return PromptChallengeToJSON(value);
|
|
259
|
-
case 'xak-flow-error':
|
|
260
|
-
return FlowErrorChallengeToJSON(value);
|
|
261
261
|
case 'xak-flow-redirect':
|
|
262
262
|
return RedirectChallengeToJSON(value);
|
|
263
263
|
case 'xak-flow-shell':
|
package/src/models/DummyStage.ts
CHANGED
|
@@ -68,6 +68,12 @@ export interface DummyStage {
|
|
|
68
68
|
* @memberof DummyStage
|
|
69
69
|
*/
|
|
70
70
|
flowSet?: Array<FlowSet>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof DummyStage
|
|
75
|
+
*/
|
|
76
|
+
throwError?: boolean;
|
|
71
77
|
}
|
|
72
78
|
|
|
73
79
|
export function DummyStageFromJSON(json: any): DummyStage {
|
|
@@ -87,6 +93,7 @@ export function DummyStageFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
87
93
|
'verboseNamePlural': json['verbose_name_plural'],
|
|
88
94
|
'metaModelName': json['meta_model_name'],
|
|
89
95
|
'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetFromJSON)),
|
|
96
|
+
'throwError': !exists(json, 'throw_error') ? undefined : json['throw_error'],
|
|
90
97
|
};
|
|
91
98
|
}
|
|
92
99
|
|
|
@@ -101,6 +108,7 @@ export function DummyStageToJSON(value?: DummyStage | null): any {
|
|
|
101
108
|
|
|
102
109
|
'name': value.name,
|
|
103
110
|
'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetToJSON)),
|
|
111
|
+
'throw_error': value.throwError,
|
|
104
112
|
};
|
|
105
113
|
}
|
|
106
114
|
|
|
@@ -38,6 +38,12 @@ export interface DummyStageRequest {
|
|
|
38
38
|
* @memberof DummyStageRequest
|
|
39
39
|
*/
|
|
40
40
|
flowSet?: Array<FlowSetRequest>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof DummyStageRequest
|
|
45
|
+
*/
|
|
46
|
+
throwError?: boolean;
|
|
41
47
|
}
|
|
42
48
|
|
|
43
49
|
export function DummyStageRequestFromJSON(json: any): DummyStageRequest {
|
|
@@ -52,6 +58,7 @@ export function DummyStageRequestFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
52
58
|
|
|
53
59
|
'name': json['name'],
|
|
54
60
|
'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetRequestFromJSON)),
|
|
61
|
+
'throwError': !exists(json, 'throw_error') ? undefined : json['throw_error'],
|
|
55
62
|
};
|
|
56
63
|
}
|
|
57
64
|
|
|
@@ -66,6 +73,7 @@ export function DummyStageRequestToJSON(value?: DummyStageRequest | null): any {
|
|
|
66
73
|
|
|
67
74
|
'name': value.name,
|
|
68
75
|
'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetRequestToJSON)),
|
|
76
|
+
'throw_error': value.throwError,
|
|
69
77
|
};
|
|
70
78
|
}
|
|
71
79
|
|
|
@@ -13,12 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import {
|
|
17
|
-
ChallengeChoices,
|
|
18
|
-
ChallengeChoicesFromJSON,
|
|
19
|
-
ChallengeChoicesFromJSONTyped,
|
|
20
|
-
ChallengeChoicesToJSON,
|
|
21
|
-
} from './ChallengeChoices';
|
|
22
16
|
import {
|
|
23
17
|
ContextualFlowInfo,
|
|
24
18
|
ContextualFlowInfoFromJSON,
|
|
@@ -41,10 +35,10 @@ import {
|
|
|
41
35
|
export interface FlowErrorChallenge {
|
|
42
36
|
/**
|
|
43
37
|
*
|
|
44
|
-
* @type {
|
|
38
|
+
* @type {string}
|
|
45
39
|
* @memberof FlowErrorChallenge
|
|
46
40
|
*/
|
|
47
|
-
type
|
|
41
|
+
type?: string;
|
|
48
42
|
/**
|
|
49
43
|
*
|
|
50
44
|
* @type {ContextualFlowInfo}
|
|
@@ -63,18 +57,6 @@ export interface FlowErrorChallenge {
|
|
|
63
57
|
* @memberof FlowErrorChallenge
|
|
64
58
|
*/
|
|
65
59
|
responseErrors?: { [key: string]: Array<ErrorDetail>; };
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof FlowErrorChallenge
|
|
70
|
-
*/
|
|
71
|
-
pendingUser: string;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof FlowErrorChallenge
|
|
76
|
-
*/
|
|
77
|
-
pendingUserAvatar: string;
|
|
78
60
|
/**
|
|
79
61
|
*
|
|
80
62
|
* @type {string}
|
|
@@ -105,12 +87,10 @@ export function FlowErrorChallengeFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
105
87
|
}
|
|
106
88
|
return {
|
|
107
89
|
|
|
108
|
-
'type':
|
|
90
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
109
91
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
|
110
92
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
|
111
93
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
|
112
|
-
'pendingUser': json['pending_user'],
|
|
113
|
-
'pendingUserAvatar': json['pending_user_avatar'],
|
|
114
94
|
'requestId': json['request_id'],
|
|
115
95
|
'error': !exists(json, 'error') ? undefined : json['error'],
|
|
116
96
|
'traceback': !exists(json, 'traceback') ? undefined : json['traceback'],
|
|
@@ -126,12 +106,10 @@ export function FlowErrorChallengeToJSON(value?: FlowErrorChallenge | null): any
|
|
|
126
106
|
}
|
|
127
107
|
return {
|
|
128
108
|
|
|
129
|
-
'type':
|
|
109
|
+
'type': value.type,
|
|
130
110
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
|
131
111
|
'component': value.component,
|
|
132
112
|
'response_errors': value.responseErrors,
|
|
133
|
-
'pending_user': value.pendingUser,
|
|
134
|
-
'pending_user_avatar': value.pendingUserAvatar,
|
|
135
113
|
'request_id': value.requestId,
|
|
136
114
|
'error': value.error,
|
|
137
115
|
'traceback': value.traceback,
|
|
@@ -38,6 +38,12 @@ export interface PatchedDummyStageRequest {
|
|
|
38
38
|
* @memberof PatchedDummyStageRequest
|
|
39
39
|
*/
|
|
40
40
|
flowSet?: Array<FlowSetRequest>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof PatchedDummyStageRequest
|
|
45
|
+
*/
|
|
46
|
+
throwError?: boolean;
|
|
41
47
|
}
|
|
42
48
|
|
|
43
49
|
export function PatchedDummyStageRequestFromJSON(json: any): PatchedDummyStageRequest {
|
|
@@ -52,6 +58,7 @@ export function PatchedDummyStageRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
52
58
|
|
|
53
59
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
54
60
|
'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetRequestFromJSON)),
|
|
61
|
+
'throwError': !exists(json, 'throw_error') ? undefined : json['throw_error'],
|
|
55
62
|
};
|
|
56
63
|
}
|
|
57
64
|
|
|
@@ -66,6 +73,7 @@ export function PatchedDummyStageRequestToJSON(value?: PatchedDummyStageRequest
|
|
|
66
73
|
|
|
67
74
|
'name': value.name,
|
|
68
75
|
'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetRequestToJSON)),
|
|
76
|
+
'throw_error': value.throwError,
|
|
69
77
|
};
|
|
70
78
|
}
|
|
71
79
|
|