@speclynx/apidom-ns-arazzo-1 1.12.1
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/CHANGELOG.md +84 -0
- package/LICENSE +202 -0
- package/LICENSES/AFL-3.0.txt +182 -0
- package/LICENSES/Apache-2.0.txt +202 -0
- package/LICENSES/BSD-3-Clause.txt +26 -0
- package/LICENSES/MIT.txt +9 -0
- package/NOTICE +65 -0
- package/README.md +206 -0
- package/dist/apidom-ns-arazzo-1.browser.js +24106 -0
- package/dist/apidom-ns-arazzo-1.browser.min.js +1 -0
- package/package.json +64 -0
- package/src/elements/Arazzo.cjs +17 -0
- package/src/elements/Arazzo.mjs +14 -0
- package/src/elements/ArazzoSpecification1.cjs +47 -0
- package/src/elements/ArazzoSpecification1.mjs +43 -0
- package/src/elements/Components.cjs +39 -0
- package/src/elements/Components.mjs +35 -0
- package/src/elements/Criterion.cjs +33 -0
- package/src/elements/Criterion.mjs +29 -0
- package/src/elements/CriterionExpressionType.cjs +27 -0
- package/src/elements/CriterionExpressionType.mjs +24 -0
- package/src/elements/FailureAction.cjs +57 -0
- package/src/elements/FailureAction.mjs +53 -0
- package/src/elements/Info.cjs +40 -0
- package/src/elements/Info.mjs +37 -0
- package/src/elements/JSONSchema.cjs +10 -0
- package/src/elements/JSONSchema.mjs +7 -0
- package/src/elements/Parameter.cjs +33 -0
- package/src/elements/Parameter.mjs +30 -0
- package/src/elements/PayloadReplacement.cjs +27 -0
- package/src/elements/PayloadReplacement.mjs +24 -0
- package/src/elements/RequestBody.cjs +33 -0
- package/src/elements/RequestBody.mjs +29 -0
- package/src/elements/Reusable.cjs +28 -0
- package/src/elements/Reusable.mjs +25 -0
- package/src/elements/SourceDescription.cjs +33 -0
- package/src/elements/SourceDescription.mjs +30 -0
- package/src/elements/Step.cjs +81 -0
- package/src/elements/Step.mjs +77 -0
- package/src/elements/SuccessAction.cjs +45 -0
- package/src/elements/SuccessAction.mjs +41 -0
- package/src/elements/Workflow.cjs +75 -0
- package/src/elements/Workflow.mjs +71 -0
- package/src/elements/nces/ComponentsFailureActions.cjs +16 -0
- package/src/elements/nces/ComponentsFailureActions.mjs +13 -0
- package/src/elements/nces/ComponentsInputs.cjs +16 -0
- package/src/elements/nces/ComponentsInputs.mjs +13 -0
- package/src/elements/nces/ComponentsParameters.cjs +17 -0
- package/src/elements/nces/ComponentsParameters.mjs +14 -0
- package/src/elements/nces/ComponentsSuccessActions.cjs +16 -0
- package/src/elements/nces/ComponentsSuccessActions.mjs +13 -0
- package/src/elements/nces/FailureActionCriteria.cjs +17 -0
- package/src/elements/nces/FailureActionCriteria.mjs +14 -0
- package/src/elements/nces/RequestBodyReplacements.cjs +16 -0
- package/src/elements/nces/RequestBodyReplacements.mjs +13 -0
- package/src/elements/nces/SourceDescriptions.cjs +16 -0
- package/src/elements/nces/SourceDescriptions.mjs +13 -0
- package/src/elements/nces/StepDependsOn.cjs +16 -0
- package/src/elements/nces/StepDependsOn.mjs +13 -0
- package/src/elements/nces/StepOnFailure.cjs +16 -0
- package/src/elements/nces/StepOnFailure.mjs +13 -0
- package/src/elements/nces/StepOnSuccess.cjs +16 -0
- package/src/elements/nces/StepOnSuccess.mjs +13 -0
- package/src/elements/nces/StepOutputs.cjs +16 -0
- package/src/elements/nces/StepOutputs.mjs +13 -0
- package/src/elements/nces/StepParameters.cjs +17 -0
- package/src/elements/nces/StepParameters.mjs +14 -0
- package/src/elements/nces/StepSuccessCriteria.cjs +17 -0
- package/src/elements/nces/StepSuccessCriteria.mjs +14 -0
- package/src/elements/nces/SuccessActionCriteria.cjs +17 -0
- package/src/elements/nces/SuccessActionCriteria.mjs +14 -0
- package/src/elements/nces/WorkflowDependsOn.cjs +16 -0
- package/src/elements/nces/WorkflowDependsOn.mjs +13 -0
- package/src/elements/nces/WorkflowFailureActions.cjs +16 -0
- package/src/elements/nces/WorkflowFailureActions.mjs +13 -0
- package/src/elements/nces/WorkflowOutputs.cjs +16 -0
- package/src/elements/nces/WorkflowOutputs.mjs +13 -0
- package/src/elements/nces/WorkflowParameters.cjs +17 -0
- package/src/elements/nces/WorkflowParameters.mjs +14 -0
- package/src/elements/nces/WorkflowSteps.cjs +16 -0
- package/src/elements/nces/WorkflowSteps.mjs +13 -0
- package/src/elements/nces/WorkflowSuccessActions.cjs +16 -0
- package/src/elements/nces/WorkflowSuccessActions.mjs +13 -0
- package/src/elements/nces/Workflows.cjs +16 -0
- package/src/elements/nces/Workflows.mjs +13 -0
- package/src/index.cjs +146 -0
- package/src/index.mjs +38 -0
- package/src/media-types.cjs +34 -0
- package/src/media-types.mjs +30 -0
- package/src/namespace.cjs +49 -0
- package/src/namespace.mjs +44 -0
- package/src/predicates.cjs +467 -0
- package/src/predicates.mjs +461 -0
- package/src/refractor/index.cjs +52 -0
- package/src/refractor/index.mjs +46 -0
- package/src/refractor/plugins/replace-empty-element.cjs +89 -0
- package/src/refractor/plugins/replace-empty-element.mjs +83 -0
- package/src/refractor/predicates.cjs +17 -0
- package/src/refractor/predicates.mjs +11 -0
- package/src/refractor/registration.cjs +53 -0
- package/src/refractor/registration.mjs +34 -0
- package/src/refractor/specification.cjs +294 -0
- package/src/refractor/specification.mjs +289 -0
- package/src/refractor/toolbox.cjs +31 -0
- package/src/refractor/toolbox.mjs +23 -0
- package/src/refractor/visitors/FallbackVisitor.cjs +24 -0
- package/src/refractor/visitors/FallbackVisitor.mjs +18 -0
- package/src/refractor/visitors/SpecificationExtensionVisitor.cjs +18 -0
- package/src/refractor/visitors/SpecificationExtensionVisitor.mjs +13 -0
- package/src/refractor/visitors/SpecificationVisitor.cjs +74 -0
- package/src/refractor/visitors/SpecificationVisitor.mjs +68 -0
- package/src/refractor/visitors/Visitor.cjs +31 -0
- package/src/refractor/visitors/Visitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/ArazzoVisitor.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/ArazzoVisitor.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/SourceDescriptionsVisitor.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/SourceDescriptionsVisitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/WorkflowsVisitor.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/WorkflowsVisitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/components/FailureActionsVisitor.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/components/FailureActionsVisitor.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/components/InputsVisitor.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/components/InputsVisitor.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/components/ParametersVisitor.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/components/ParametersVisitor.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/components/SuccessActionsVisitor.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/components/SuccessActionsVisitor.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/components/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/components/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/criterion/TypeVisitor.cjs +22 -0
- package/src/refractor/visitors/arazzo-1/criterion/TypeVisitor.mjs +16 -0
- package/src/refractor/visitors/arazzo-1/criterion/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/criterion/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/criterion-expression-type/VersionVisitor.cjs +17 -0
- package/src/refractor/visitors/arazzo-1/criterion-expression-type/VersionVisitor.mjs +12 -0
- package/src/refractor/visitors/arazzo-1/criterion-expression-type/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/criterion-expression-type/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/failure-action/CriteriaVisitor.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/failure-action/CriteriaVisitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/failure-action/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/failure-action/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/index.cjs +32 -0
- package/src/refractor/visitors/arazzo-1/index.mjs +26 -0
- package/src/refractor/visitors/arazzo-1/info/VersionVisitor.cjs +18 -0
- package/src/refractor/visitors/arazzo-1/info/VersionVisitor.mjs +13 -0
- package/src/refractor/visitors/arazzo-1/info/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/info/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/json-schema/index.cjs +17 -0
- package/src/refractor/visitors/arazzo-1/json-schema/index.mjs +12 -0
- package/src/refractor/visitors/arazzo-1/parameter/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/parameter/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/payload-replacement/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/payload-replacement/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/request-body/Replacements.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/request-body/Replacements.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/request-body/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/request-body/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/reusable/ReferenceVisitor.cjs +18 -0
- package/src/refractor/visitors/arazzo-1/reusable/ReferenceVisitor.mjs +12 -0
- package/src/refractor/visitors/arazzo-1/reusable/index.cjs +36 -0
- package/src/refractor/visitors/arazzo-1/reusable/index.mjs +30 -0
- package/src/refractor/visitors/arazzo-1/source-description/UrlVisitor.cjs +17 -0
- package/src/refractor/visitors/arazzo-1/source-description/UrlVisitor.mjs +12 -0
- package/src/refractor/visitors/arazzo-1/source-description/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/source-description/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/step/OnFailureVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/step/OnFailureVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/step/OnSuccessVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/step/OnSuccessVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/step/OutputsVisitor.cjs +25 -0
- package/src/refractor/visitors/arazzo-1/step/OutputsVisitor.mjs +19 -0
- package/src/refractor/visitors/arazzo-1/step/ParametersVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/step/ParametersVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/step/SuccessCriteriaVisitor.cjs +33 -0
- package/src/refractor/visitors/arazzo-1/step/SuccessCriteriaVisitor.mjs +27 -0
- package/src/refractor/visitors/arazzo-1/step/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/step/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/success-action/CriteriaVisitor.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/success-action/CriteriaVisitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/success-action/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/success-action/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/workflow/DependsOnVisitor.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/workflow/DependsOnVisitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/workflow/FailureActionsVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/workflow/FailureActionsVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/workflow/OutputsVisitor.cjs +25 -0
- package/src/refractor/visitors/arazzo-1/workflow/OutputsVisitor.mjs +19 -0
- package/src/refractor/visitors/arazzo-1/workflow/ParametersVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/workflow/ParametersVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/workflow/StepsVisitor.cjs +33 -0
- package/src/refractor/visitors/arazzo-1/workflow/StepsVisitor.mjs +27 -0
- package/src/refractor/visitors/arazzo-1/workflow/SuccessActionsVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/workflow/SuccessActionsVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/workflow/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/workflow/index.mjs +20 -0
- package/src/refractor/visitors/generics/FixedFieldsVisitor.cjs +67 -0
- package/src/refractor/visitors/generics/FixedFieldsVisitor.mjs +60 -0
- package/src/refractor/visitors/generics/MapVisitor.cjs +21 -0
- package/src/refractor/visitors/generics/MapVisitor.mjs +15 -0
- package/src/refractor/visitors/generics/PatternedFieldsVisitor.cjs +67 -0
- package/src/refractor/visitors/generics/PatternedFieldsVisitor.mjs +61 -0
- package/src/traversal/visitor.cjs +38 -0
- package/src/traversal/visitor.mjs +35 -0
- package/types/apidom-ns-arazzo-1.d.ts +1852 -0
|
@@ -0,0 +1,1852 @@
|
|
|
1
|
+
import { AllOfVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
2
|
+
import { AnyOfVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
3
|
+
import { ArrayElement } from '@speclynx/apidom-core';
|
|
4
|
+
import { Attributes } from '@speclynx/apidom-core';
|
|
5
|
+
import { Class } from 'ts-mixer/dist/types/types.js';
|
|
6
|
+
import { DefinitionsVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
7
|
+
import { DependenciesVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
8
|
+
import { Element as Element_2 } from '@speclynx/apidom-core';
|
|
9
|
+
import { ElementPredicate } from '@speclynx/apidom-core';
|
|
10
|
+
import { EnumVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
11
|
+
import { isArrayElement } from '@speclynx/apidom-core';
|
|
12
|
+
import { isBooleanElement } from '@speclynx/apidom-core';
|
|
13
|
+
import { isElement } from '@speclynx/apidom-core';
|
|
14
|
+
import { isJSONSchemaElement } from '@speclynx/apidom-ns-json-schema-2020-12';
|
|
15
|
+
import { isLinkElement as isLinkPrimitiveElement } from '@speclynx/apidom-core';
|
|
16
|
+
import { isMemberElement } from '@speclynx/apidom-core';
|
|
17
|
+
import { isNullElement } from '@speclynx/apidom-core';
|
|
18
|
+
import { isNumberElement } from '@speclynx/apidom-core';
|
|
19
|
+
import { isObjectElement } from '@speclynx/apidom-core';
|
|
20
|
+
import { isRefElement } from '@speclynx/apidom-core';
|
|
21
|
+
import { isStringElement } from '@speclynx/apidom-core';
|
|
22
|
+
import { ItemsVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
23
|
+
import { JSONSchemaElement as JSONSchemaElement_2 } from '@speclynx/apidom-ns-json-schema-2020-12';
|
|
24
|
+
import { default as JSONSchemaVisitor } from '@speclynx/apidom-ns-json-schema-2020-12';
|
|
25
|
+
import { JSONSchemaVisitor as JSONSchemaVisitor_2 } from '@speclynx/apidom-ns-json-schema-2020-12';
|
|
26
|
+
import { JSONSchemaVisitorOptions } from '@speclynx/apidom-ns-json-schema-2020-12';
|
|
27
|
+
import { LinksVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
28
|
+
import { MediaTypes } from '@speclynx/apidom-core';
|
|
29
|
+
import { MemberElement } from '@speclynx/apidom-core';
|
|
30
|
+
import { Meta } from '@speclynx/apidom-core';
|
|
31
|
+
import { Namespace } from 'minim';
|
|
32
|
+
import { NamespacePluginOptions } from '@speclynx/apidom-core';
|
|
33
|
+
import { NumberElement } from '@speclynx/apidom-core';
|
|
34
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
35
|
+
import { OneOfVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
36
|
+
import { PatternPropertiesVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
37
|
+
import { PropertiesVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
38
|
+
import { RequiredVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
39
|
+
import { SchemaOrReferenceVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
40
|
+
import { StringElement } from '@speclynx/apidom-core';
|
|
41
|
+
import { TypeVisitor } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
declare const arazzo1: {
|
|
47
|
+
namespace: (options: NamespacePluginOptions) => Namespace;
|
|
48
|
+
};
|
|
49
|
+
export default arazzo1;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export declare class ArazzoElement extends StringElement {
|
|
55
|
+
constructor(content?: string, meta?: Meta, attributes?: Attributes);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export declare class ArazzoJSONSchemaVisitor extends JSONSchemaVisitor_2 {
|
|
62
|
+
element: JSONSchemaElement;
|
|
63
|
+
constructor(options: JSONSchemaVisitorOptions);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class ArazzoMediaTypes extends MediaTypes<string> {
|
|
70
|
+
filterByFormat(format?: Format): string[];
|
|
71
|
+
findBy(version?: string, format?: Format): string;
|
|
72
|
+
latest(format?: Format): string;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class ArazzoSourceDescriptionsVisitor extends SourceDescriptionsVisitor_base {
|
|
79
|
+
readonly element: SourceDescriptionsElement;
|
|
80
|
+
constructor(options: ArazzoSourceDescriptionsVisitorOptions);
|
|
81
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare interface ArazzoSourceDescriptionsVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ArazzoSpecification1Element extends ObjectElement {
|
|
94
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
95
|
+
get arazzo(): ArazzoElement | undefined;
|
|
96
|
+
set arazzo(arazzo: ArazzoElement | undefined);
|
|
97
|
+
get info(): InfoElement | undefined;
|
|
98
|
+
set info(info: InfoElement | undefined);
|
|
99
|
+
get sourceDescriptions(): SourceDescriptionsElement | undefined;
|
|
100
|
+
set sourceDescriptions(sourceDescriptions: SourceDescriptionsElement | undefined);
|
|
101
|
+
get workflows(): WorkflowsElement | undefined;
|
|
102
|
+
set workflows(workflows: WorkflowsElement | undefined);
|
|
103
|
+
get components(): ComponentsElement | undefined;
|
|
104
|
+
set components(components: ComponentsElement | undefined);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class ArazzoSpecificationVisitor extends ArazzoSpecificationVisitor_base {
|
|
111
|
+
readonly element: ArazzoSpecification1Element;
|
|
112
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'ArazzoSpecification']>;
|
|
113
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
114
|
+
constructor(options: ArazzoSpecificationVisitorOptions);
|
|
115
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare const ArazzoSpecificationVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export declare interface ArazzoSpecificationVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export declare class ArazzoStepsVisitor extends StepsVisitor_base {
|
|
130
|
+
readonly element: WorkflowStepsElement;
|
|
131
|
+
constructor(options: ArazzoStepsVisitorOptions);
|
|
132
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare interface ArazzoStepsVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export declare class ArazzoVisitor extends ArazzoVisitor_base {
|
|
145
|
+
element: ArazzoElement;
|
|
146
|
+
StringElement(stringElement: StringElement): {};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
declare const ArazzoVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export declare interface ArazzoVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export declare class ComponentsElement extends ObjectElement {
|
|
161
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
162
|
+
get inputs(): ComponentsInputsElement | undefined;
|
|
163
|
+
set inputs(inputs: ComponentsInputsElement | undefined);
|
|
164
|
+
get parameters(): ComponentsParametersElement | undefined;
|
|
165
|
+
set parameters(parameters: ComponentsParametersElement | undefined);
|
|
166
|
+
get successActions(): ComponentsSuccessActionsElement | undefined;
|
|
167
|
+
set successActions(successActions: ComponentsSuccessActionsElement | undefined);
|
|
168
|
+
get failureActions(): ComponentsFailureActionsElement | undefined;
|
|
169
|
+
set failureActions(failureActions: ComponentsFailureActionsElement | undefined);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
export declare class ComponentsFailureActionsElement extends ObjectElement {
|
|
176
|
+
static primaryClass: string;
|
|
177
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export declare class ComponentsFailureActionsVisitor extends FailureActionsVisitor_base_2 {
|
|
184
|
+
readonly element: ComponentsFailureActionsElement;
|
|
185
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'FailureAction']>;
|
|
186
|
+
constructor(options: ComponentsFailureActionsVisitorOptions);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export declare interface ComponentsFailureActionsVisitorOptions extends MapVisitorOptions, VisitorOptions {
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
export declare class ComponentsInputsElement extends ObjectElement {
|
|
199
|
+
static primaryClass: string;
|
|
200
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export declare class ComponentsInputsVisitor extends InputsVisitor_base {
|
|
207
|
+
readonly element: ComponentsInputsElement;
|
|
208
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'JSONSchema']>;
|
|
209
|
+
constructor(options: ComponentsInputsVisitorOptions);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
export declare interface ComponentsInputsVisitorOptions extends MapVisitorOptions, VisitorOptions {
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export declare class ComponentsParametersElement extends ObjectElement {
|
|
222
|
+
static primaryClass: string;
|
|
223
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
export declare class ComponentsParametersVisitor extends ParametersVisitor_base {
|
|
230
|
+
readonly element: ComponentsParametersElement;
|
|
231
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Parameter']>;
|
|
232
|
+
constructor(options: ComponentsParametersVisitorOptions);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
export declare interface ComponentsParametersVisitorOptions extends MapVisitorOptions, VisitorOptions {
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
export declare class ComponentsSuccessActionsElement extends ObjectElement {
|
|
245
|
+
static primaryClass: string;
|
|
246
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
export declare class ComponentsSuccessActionsVisitor extends SuccessActionsVisitor_base_2 {
|
|
253
|
+
readonly element: ComponentsSuccessActionsElement;
|
|
254
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'SuccessAction']>;
|
|
255
|
+
constructor(options: ComponentsSuccessActionsVisitorOptions);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
export declare interface ComponentsSuccessActionsVisitorOptions extends MapVisitorOptions, VisitorOptions {
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
export declare class ComponentsVisitor extends ComponentsVisitor_base {
|
|
268
|
+
readonly element: ComponentsElement;
|
|
269
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Components']>;
|
|
270
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
271
|
+
constructor(options: ComponentsVisitorOptions);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
declare const ComponentsVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
export declare interface ComponentsVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
export declare const createRefractor: (specPath: string[]) => (value: unknown, options?: {}) => Element_2;
|
|
286
|
+
|
|
287
|
+
declare const CriteriaVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
288
|
+
|
|
289
|
+
declare const CriteriaVisitor_base_2: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
export declare class CriterionElement extends ObjectElement {
|
|
295
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
296
|
+
get context(): StringElement | undefined;
|
|
297
|
+
set context(context: StringElement | undefined);
|
|
298
|
+
get condition(): StringElement | undefined;
|
|
299
|
+
set condition(condition: StringElement | undefined);
|
|
300
|
+
get type(): StringElement | CriterionExpressionTypeElement | undefined;
|
|
301
|
+
set type(type: StringElement | CriterionExpressionTypeElement | undefined);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
export declare class CriterionExpressionTypeElement extends ObjectElement {
|
|
308
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
309
|
+
get type(): StringElement | undefined;
|
|
310
|
+
set type(type: StringElement | undefined);
|
|
311
|
+
get version(): StringElement | undefined;
|
|
312
|
+
set version(version: StringElement | undefined);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
318
|
+
export declare class CriterionExpressionTypeVersionVisitor extends FallbackVisitor {
|
|
319
|
+
readonly element: StringElement;
|
|
320
|
+
StringElement(stringElement: StringElement): {};
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
export declare class CriterionExpressionTypeVisitor extends CriterionExpressionTypeVisitor_base {
|
|
327
|
+
readonly element: CriterionExpressionTypeElement;
|
|
328
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'CriterionExpressionType']>;
|
|
329
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
330
|
+
constructor(options: CriterionExpressionTypeVisitorOptions);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
declare const CriterionExpressionTypeVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
export declare interface CriterionExpressionTypeVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @public
|
|
343
|
+
*/
|
|
344
|
+
export declare class CriterionTypeVisitor extends TypeVisitor_base {
|
|
345
|
+
readonly element: StringElement | CriterionExpressionTypeElement;
|
|
346
|
+
ObjectElement(objectElement: ObjectElement): CriterionExpressionTypeElement;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* @public
|
|
351
|
+
*/
|
|
352
|
+
export declare interface CriterionTypeVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* @public
|
|
357
|
+
*/
|
|
358
|
+
export declare class CriterionVisitor extends CriterionVisitor_base {
|
|
359
|
+
readonly element: CriterionElement;
|
|
360
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Criterion']>;
|
|
361
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
362
|
+
constructor(options: CriterionVisitorOptions);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
declare const CriterionVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @public
|
|
369
|
+
*/
|
|
370
|
+
export declare interface CriterionVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
export declare class FailureActionCriteriaElement extends ArrayElement {
|
|
377
|
+
static primaryClass: string;
|
|
378
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
export declare class FailureActionCriteriaVisitor extends CriteriaVisitor_base_2 {
|
|
385
|
+
readonly element: FailureActionCriteriaElement;
|
|
386
|
+
constructor(options: FailureActionCriteriaVisitorOptions);
|
|
387
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
export declare interface FailureActionCriteriaVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* @public
|
|
398
|
+
*/
|
|
399
|
+
export declare class FailureActionElement extends ObjectElement {
|
|
400
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
401
|
+
get name(): StringElement | undefined;
|
|
402
|
+
set name(name: StringElement | undefined);
|
|
403
|
+
get type(): StringElement | undefined;
|
|
404
|
+
set type(type: StringElement | undefined);
|
|
405
|
+
get workflowId(): StringElement | undefined;
|
|
406
|
+
set workflowId(workflowId: StringElement | undefined);
|
|
407
|
+
get stepId(): StringElement | undefined;
|
|
408
|
+
set stepId(stepId: StringElement | undefined);
|
|
409
|
+
get retryAfter(): NumberElement | undefined;
|
|
410
|
+
set retryAfter(retryAfter: NumberElement | undefined);
|
|
411
|
+
get retryLimit(): NumberElement | undefined;
|
|
412
|
+
set retryLimit(retryLimit: NumberElement | undefined);
|
|
413
|
+
get criteria(): FailureActionCriteriaElement | undefined;
|
|
414
|
+
set criteria(criteria: FailureActionCriteriaElement | undefined);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
declare const FailureActionsVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
418
|
+
|
|
419
|
+
declare const FailureActionsVisitor_base_2: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* @public
|
|
423
|
+
*/
|
|
424
|
+
export declare class FailureActionVisitor extends FailureActionVisitor_base {
|
|
425
|
+
readonly element: FailureActionElement;
|
|
426
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'FailureAction']>;
|
|
427
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
428
|
+
constructor(options: FailureActionVisitorOptions);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
declare const FailureActionVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* @public
|
|
435
|
+
*/
|
|
436
|
+
export declare interface FailureActionVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
442
|
+
export declare class FallbackVisitor extends Visitor {
|
|
443
|
+
enter(element: Element_2): {};
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* @public
|
|
448
|
+
*/
|
|
449
|
+
export declare class FixedFieldsVisitor extends SpecificationVisitor {
|
|
450
|
+
protected specPath: SpecPath;
|
|
451
|
+
protected ignoredFields: string[];
|
|
452
|
+
protected canSupportSpecificationExtensions: boolean;
|
|
453
|
+
protected specificationExtensionPredicate: (element: MemberElement) => boolean;
|
|
454
|
+
constructor({ specPath, ignoredFields, canSupportSpecificationExtensions, specificationExtensionPredicate, ...rest }: FixedFieldsVisitorOptions);
|
|
455
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* @public
|
|
460
|
+
*/
|
|
461
|
+
export declare interface FixedFieldsVisitorOptions extends SpecificationVisitorOptions {
|
|
462
|
+
readonly specPath: SpecPath;
|
|
463
|
+
readonly ignoredFields?: string[];
|
|
464
|
+
readonly canSupportSpecificationExtensions?: boolean;
|
|
465
|
+
readonly specificationExtensionPredicate?: typeof isArazzoSpecificationExtension;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
export declare type Format = 'generic' | 'json' | 'yaml';
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* @public
|
|
475
|
+
*/
|
|
476
|
+
export declare const getNodeType: <T extends Element_2>(element: T) => string | undefined;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* @public
|
|
480
|
+
*/
|
|
481
|
+
export declare class InfoElement extends ObjectElement {
|
|
482
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
483
|
+
get title(): StringElement | undefined;
|
|
484
|
+
set title(title: StringElement | undefined);
|
|
485
|
+
get summary(): StringElement | undefined;
|
|
486
|
+
set summary(summary: StringElement | undefined);
|
|
487
|
+
get description(): StringElement | undefined;
|
|
488
|
+
set description(description: StringElement | undefined);
|
|
489
|
+
get version(): StringElement | undefined;
|
|
490
|
+
set version(version: StringElement | undefined);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* @public
|
|
495
|
+
*/
|
|
496
|
+
export declare class InfoVersionVisitor extends FallbackVisitor {
|
|
497
|
+
readonly element: StringElement;
|
|
498
|
+
StringElement(stringElement: StringElement): {};
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
export declare class InfoVisitor extends InfoVisitor_base {
|
|
505
|
+
readonly element: InfoElement;
|
|
506
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Info']>;
|
|
507
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
508
|
+
constructor(options: InfoVisitorOptions);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
declare const InfoVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* @public
|
|
515
|
+
*/
|
|
516
|
+
export declare interface InfoVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
declare const InputsVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
export declare const isArazzoElement: ElementPredicate<ArazzoElement>;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
export declare const isArazzoSpecification1Element: ElementPredicate<ArazzoSpecification1Element>;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
534
|
+
export declare const isArazzoSpecificationExtension: (element: MemberElement) => boolean;
|
|
535
|
+
|
|
536
|
+
export { isArrayElement }
|
|
537
|
+
|
|
538
|
+
export { isBooleanElement }
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* @public
|
|
542
|
+
*/
|
|
543
|
+
export declare const isComponentsElement: ElementPredicate<ComponentsElement>;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* @public
|
|
547
|
+
*/
|
|
548
|
+
export declare const isComponentsFailureActionsElement: ElementPredicate<ComponentsFailureActionsElement>;
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* @public
|
|
552
|
+
*/
|
|
553
|
+
export declare const isComponentsInputsElement: ElementPredicate<ComponentsInputsElement>;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* @public
|
|
557
|
+
*/
|
|
558
|
+
export declare const isComponentsParametersElement: ElementPredicate<ComponentsParametersElement>;
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @public
|
|
562
|
+
*/
|
|
563
|
+
export declare const isComponentsSuccessActionsElement: ElementPredicate<ComponentsSuccessActionsElement>;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* @public
|
|
567
|
+
*/
|
|
568
|
+
export declare const isCriterionElement: ElementPredicate<CriterionElement>;
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* @public
|
|
572
|
+
*/
|
|
573
|
+
export declare const isCriterionExpressionTypeElement: ElementPredicate<CriterionExpressionTypeElement>;
|
|
574
|
+
|
|
575
|
+
export { isElement }
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @public
|
|
579
|
+
*/
|
|
580
|
+
export declare const isFailureActionCriteriaElement: ElementPredicate<FailureActionCriteriaElement>;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* @public
|
|
584
|
+
*/
|
|
585
|
+
export declare const isFailureActionElement: ElementPredicate<FailureActionElement>;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @public
|
|
589
|
+
*/
|
|
590
|
+
export declare const isInfoElement: ElementPredicate<InfoElement>;
|
|
591
|
+
|
|
592
|
+
export { isJSONSchemaElement }
|
|
593
|
+
|
|
594
|
+
export { isLinkPrimitiveElement }
|
|
595
|
+
|
|
596
|
+
export { isMemberElement }
|
|
597
|
+
|
|
598
|
+
export { isNullElement }
|
|
599
|
+
|
|
600
|
+
export { isNumberElement }
|
|
601
|
+
|
|
602
|
+
export { isObjectElement }
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
export declare const isParameterElement: ElementPredicate<ParameterElement>;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
export declare const isPayloadReplacementElement: ElementPredicate<PayloadReplacementElement>;
|
|
613
|
+
|
|
614
|
+
export { isRefElement }
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* @public
|
|
618
|
+
*/
|
|
619
|
+
export declare const isRequestBodyElement: ElementPredicate<RequestBodyElement>;
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* @public
|
|
623
|
+
*/
|
|
624
|
+
export declare const isRequestBodyReplacementsElement: ElementPredicate<RequestBodyReplacementsElement>;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* @public
|
|
628
|
+
*/
|
|
629
|
+
export declare const isReusableElement: ElementPredicate<ReusableElement>;
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* @public
|
|
633
|
+
*/
|
|
634
|
+
export declare const isSourceDescriptionElement: ElementPredicate<SourceDescriptionElement>;
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* @public
|
|
638
|
+
*/
|
|
639
|
+
export declare const isSourceDescriptionsElement: ElementPredicate<SourceDescriptionsElement>;
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* @public
|
|
643
|
+
*/
|
|
644
|
+
export declare const isStepDependsOnElement: ElementPredicate<StepDependsOnElement>;
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* @public
|
|
648
|
+
*/
|
|
649
|
+
export declare const isStepElement: ElementPredicate<StepElement>;
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* @public
|
|
653
|
+
*/
|
|
654
|
+
export declare const isStepOnFailureElement: ElementPredicate<StepOnFailureElement>;
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* @public
|
|
658
|
+
*/
|
|
659
|
+
export declare const isStepOnSuccessElement: ElementPredicate<StepOnSuccessElement>;
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* @public
|
|
663
|
+
*/
|
|
664
|
+
export declare const isStepOutputsElement: ElementPredicate<StepOutputsElement>;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* @public
|
|
668
|
+
*/
|
|
669
|
+
export declare const isStepParametersElement: ElementPredicate<StepParametersElement>;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* @public
|
|
673
|
+
*/
|
|
674
|
+
export declare const isStepSuccessCriteriaElement: ElementPredicate<StepSuccessCriteriaElement>;
|
|
675
|
+
|
|
676
|
+
export { isStringElement }
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* @public
|
|
680
|
+
*/
|
|
681
|
+
export declare const isSuccessActionCriteriaElement: ElementPredicate<SuccessActionCriteriaElement>;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* @public
|
|
685
|
+
*/
|
|
686
|
+
export declare const isSuccessActionElement: ElementPredicate<SuccessActionElement>;
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* @public
|
|
690
|
+
*/
|
|
691
|
+
export declare const isWorkflowDependsOnElement: ElementPredicate<WorkflowDependsOnElement>;
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* @public
|
|
695
|
+
*/
|
|
696
|
+
export declare const isWorkflowElement: ElementPredicate<WorkflowElement>;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* @public
|
|
700
|
+
*/
|
|
701
|
+
export declare const isWorkflowFailureActionsElement: ElementPredicate<WorkflowFailureActionsElement>;
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* @public
|
|
705
|
+
*/
|
|
706
|
+
export declare const isWorkflowOutputsElement: ElementPredicate<WorkflowOutputsElement>;
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
export declare const isWorkflowParametersElement: ElementPredicate<WorkflowParametersElement>;
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* @public
|
|
715
|
+
*/
|
|
716
|
+
export declare const isWorkflowsElement: ElementPredicate<WorkflowsElement>;
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* @public
|
|
720
|
+
*/
|
|
721
|
+
export declare const isWorkflowStepsElement: ElementPredicate<WorkflowStepsElement>;
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* @public
|
|
725
|
+
*/
|
|
726
|
+
export declare const isWorkflowSuccessActionsElement: ElementPredicate<WorkflowSuccessActionsElement>;
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* @public
|
|
730
|
+
*/
|
|
731
|
+
export declare class JSONSchemaElement extends JSONSchemaElement_2 {
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
export { JSONSchemaVisitor }
|
|
735
|
+
|
|
736
|
+
export { JSONSchemaVisitorOptions as ArazzoJSONSchemaVisitorOptions }
|
|
737
|
+
export { JSONSchemaVisitorOptions }
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Arazzo Specification 1.0.1
|
|
741
|
+
* @public
|
|
742
|
+
*/
|
|
743
|
+
export declare const keyMap: {
|
|
744
|
+
ObjectElement: string[];
|
|
745
|
+
ArrayElement: string[];
|
|
746
|
+
MemberElement: string[];
|
|
747
|
+
StringElement: never[];
|
|
748
|
+
BooleanElement: never[];
|
|
749
|
+
NumberElement: never[];
|
|
750
|
+
NullElement: never[];
|
|
751
|
+
RefElement: never[];
|
|
752
|
+
LinkElement: never[];
|
|
753
|
+
Annotation: never[];
|
|
754
|
+
Comment: never[];
|
|
755
|
+
ParseResultElement: string[];
|
|
756
|
+
SourceMap: string[];
|
|
757
|
+
ArazzoSpecification1Element: string[];
|
|
758
|
+
ComponentsElement: string[];
|
|
759
|
+
CriterionElement: string[];
|
|
760
|
+
CriterionExpressionTypeElement: string[];
|
|
761
|
+
FailureActionElement: string[];
|
|
762
|
+
InfoElement: string[];
|
|
763
|
+
ParameterElement: string[];
|
|
764
|
+
PayloadReplacementElement: string[];
|
|
765
|
+
RequestBodyElement: string[];
|
|
766
|
+
ReusableElement: string[];
|
|
767
|
+
SourceDescriptionElement: string[];
|
|
768
|
+
StepElement: string[];
|
|
769
|
+
SuccessActionElement: string[];
|
|
770
|
+
WorkflowElement: string[];
|
|
771
|
+
JSONSchema202012Element: string[];
|
|
772
|
+
};
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
export declare class MapVisitor extends PatternedFieldsVisitor {
|
|
778
|
+
constructor(options: MapVisitorOptions);
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* @public
|
|
783
|
+
*/
|
|
784
|
+
export declare interface MapVisitorOptions extends PatternedFieldsVisitorOptions {
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* @public
|
|
789
|
+
*/
|
|
790
|
+
export declare const mediaTypes: ArazzoMediaTypes;
|
|
791
|
+
|
|
792
|
+
declare const OnFailureVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
793
|
+
|
|
794
|
+
declare const OnSuccessVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
795
|
+
|
|
796
|
+
declare const OutputsVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
797
|
+
|
|
798
|
+
declare const OutputsVisitor_base_2: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* @public
|
|
802
|
+
*/
|
|
803
|
+
export declare class ParameterElement extends ObjectElement {
|
|
804
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
805
|
+
get name(): StringElement | undefined;
|
|
806
|
+
set name(name: StringElement | undefined);
|
|
807
|
+
get in(): StringElement | undefined;
|
|
808
|
+
set in(val: StringElement | undefined);
|
|
809
|
+
get value(): Element_2 | undefined;
|
|
810
|
+
set value(value: Element_2 | undefined);
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
declare const ParametersActionsVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
814
|
+
|
|
815
|
+
declare const ParametersActionsVisitor_base_2: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
816
|
+
|
|
817
|
+
declare const ParametersVisitor_base: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* @public
|
|
821
|
+
*/
|
|
822
|
+
export declare class ParameterVisitor extends ParameterVisitor_base {
|
|
823
|
+
readonly element: ParameterElement;
|
|
824
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Parameter']>;
|
|
825
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
826
|
+
constructor(options: ParameterVisitorOptions);
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
declare const ParameterVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* @public
|
|
833
|
+
*/
|
|
834
|
+
export declare interface ParameterVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* @public
|
|
839
|
+
*/
|
|
840
|
+
export declare class PatternedFieldsVisitor extends SpecificationVisitor {
|
|
841
|
+
protected specPath: SpecPath;
|
|
842
|
+
protected ignoredFields: string[];
|
|
843
|
+
protected fieldPatternPredicate: (value: unknown) => boolean;
|
|
844
|
+
protected canSupportSpecificationExtensions: boolean;
|
|
845
|
+
protected specificationExtensionPredicate: (element: MemberElement) => boolean;
|
|
846
|
+
constructor({ specPath, ignoredFields, fieldPatternPredicate, canSupportSpecificationExtensions, specificationExtensionPredicate, ...rest }: PatternedFieldsVisitorOptions);
|
|
847
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* @public
|
|
852
|
+
*/
|
|
853
|
+
export declare interface PatternedFieldsVisitorOptions extends SpecificationVisitorOptions {
|
|
854
|
+
readonly specPath: SpecPath;
|
|
855
|
+
readonly ignoredFields?: string[];
|
|
856
|
+
readonly fieldPatternPredicate?: (...args: unknown[]) => boolean;
|
|
857
|
+
readonly canSupportSpecificationExtensions?: boolean;
|
|
858
|
+
readonly specificationExtensionPredicate?: typeof isArazzoSpecificationExtension;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* @public
|
|
863
|
+
*/
|
|
864
|
+
export declare class PayloadReplacementElement extends ObjectElement {
|
|
865
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
866
|
+
get target(): StringElement | undefined;
|
|
867
|
+
set target(target: StringElement | undefined);
|
|
868
|
+
get value(): Element_2 | undefined;
|
|
869
|
+
set value(value: Element_2 | undefined);
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* @public
|
|
874
|
+
*/
|
|
875
|
+
export declare class PayloadReplacementVisitor extends PayloadReplacementVisitor_base {
|
|
876
|
+
readonly element: PayloadReplacementElement;
|
|
877
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'PayloadReplacement']>;
|
|
878
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
879
|
+
constructor(options: PayloadReplacementVisitorOptions);
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
declare const PayloadReplacementVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* @public
|
|
886
|
+
*/
|
|
887
|
+
export declare interface PayloadReplacementVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* @public
|
|
892
|
+
*/
|
|
893
|
+
export declare const refract: <T extends Element_2>(value: unknown, { specPath, plugins, }?: {
|
|
894
|
+
specPath?: string[] | undefined;
|
|
895
|
+
plugins?: never[] | undefined;
|
|
896
|
+
}) => T;
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
export declare const refractorPluginReplaceEmptyElement: () => () => {
|
|
902
|
+
visitor: {
|
|
903
|
+
StringElement(element: StringElement, key: any, parent: any, path: any, ancestors: any[]): any;
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
|
|
907
|
+
declare const ReplacementsVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* @public
|
|
911
|
+
*/
|
|
912
|
+
export declare class RequestBodyElement extends ObjectElement {
|
|
913
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
914
|
+
get contentType(): StringElement | undefined;
|
|
915
|
+
set contentType(contentType: StringElement | undefined);
|
|
916
|
+
get payload(): Element_2 | undefined;
|
|
917
|
+
set payload(payload: Element_2 | undefined);
|
|
918
|
+
get replacements(): RequestBodyReplacementsElement | undefined;
|
|
919
|
+
set replacements(replacements: RequestBodyReplacementsElement | undefined);
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* @public
|
|
924
|
+
*/
|
|
925
|
+
export declare class RequestBodyReplacementsElement extends ArrayElement {
|
|
926
|
+
static primaryClass: string;
|
|
927
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* @public
|
|
932
|
+
*/
|
|
933
|
+
export declare class RequestBodyReplacementsVisitor extends ReplacementsVisitor_base {
|
|
934
|
+
readonly element: RequestBodyReplacementsElement;
|
|
935
|
+
constructor(options: RequestBodyReplacementsVisitorOptions);
|
|
936
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* @public
|
|
941
|
+
*/
|
|
942
|
+
export declare interface RequestBodyReplacementsVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* @public
|
|
947
|
+
*/
|
|
948
|
+
export declare class RequestBodyVisitor extends RequestBodyVisitor_base {
|
|
949
|
+
readonly element: RequestBodyElement;
|
|
950
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'RequestBody']>;
|
|
951
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
952
|
+
constructor(options: RequestBodyVisitorOptions);
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
declare const RequestBodyVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* @public
|
|
959
|
+
*/
|
|
960
|
+
export declare interface RequestBodyVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* @public
|
|
965
|
+
*/
|
|
966
|
+
export declare class ReusableElement extends ObjectElement {
|
|
967
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
968
|
+
get reference(): StringElement | undefined;
|
|
969
|
+
set reference(reference: StringElement | undefined);
|
|
970
|
+
get value(): StringElement | undefined;
|
|
971
|
+
set value(value: StringElement | undefined);
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* @public
|
|
976
|
+
*/
|
|
977
|
+
export declare class ReusableReferenceVisitor extends FallbackVisitor {
|
|
978
|
+
readonly element: StringElement;
|
|
979
|
+
StringElement(stringElement: StringElement): {};
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* @public
|
|
984
|
+
*/
|
|
985
|
+
export declare class ReusableVisitor extends ReusableVisitor_base {
|
|
986
|
+
readonly element: ReusableElement;
|
|
987
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Reusable']>;
|
|
988
|
+
protected readonly canSupportSpecificationExtensions: false;
|
|
989
|
+
constructor(options: ReusableVisitorOptions);
|
|
990
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
declare const ReusableVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* @public
|
|
997
|
+
*/
|
|
998
|
+
export declare interface ReusableVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* @public
|
|
1003
|
+
*/
|
|
1004
|
+
export declare class SourceDescriptionElement extends ObjectElement {
|
|
1005
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
1006
|
+
get name(): StringElement | undefined;
|
|
1007
|
+
set name(name: StringElement | undefined);
|
|
1008
|
+
get url(): StringElement | undefined;
|
|
1009
|
+
set url(url: StringElement | undefined);
|
|
1010
|
+
get type(): StringElement | undefined;
|
|
1011
|
+
set type(type: StringElement | undefined);
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* @public
|
|
1016
|
+
*/
|
|
1017
|
+
export declare class SourceDescriptionsElement extends ArrayElement {
|
|
1018
|
+
static primaryClass: string;
|
|
1019
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* @public
|
|
1024
|
+
*/
|
|
1025
|
+
export declare class SourceDescriptionsUrlVisitor extends FallbackVisitor {
|
|
1026
|
+
readonly element: StringElement;
|
|
1027
|
+
StringElement(stringElement: StringElement): {};
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* @public
|
|
1032
|
+
*/
|
|
1033
|
+
export declare class SourceDescriptionsVisitor extends SourceDescriptionVisitor_base {
|
|
1034
|
+
readonly element: SourceDescriptionElement;
|
|
1035
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'SourceDescription']>;
|
|
1036
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
1037
|
+
constructor(options: SourceDescriptionVisitorOptions);
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
declare const SourceDescriptionsVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
1041
|
+
|
|
1042
|
+
declare const SourceDescriptionVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* @public
|
|
1046
|
+
*/
|
|
1047
|
+
export declare interface SourceDescriptionVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* @public
|
|
1052
|
+
*/
|
|
1053
|
+
export declare class SpecificationExtensionVisitor extends SpecificationVisitor {
|
|
1054
|
+
element: MemberElement;
|
|
1055
|
+
MemberElement(memberElement: MemberElement): {};
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* @public
|
|
1060
|
+
*/
|
|
1061
|
+
export declare const specificationObj: {
|
|
1062
|
+
readonly visitors: {
|
|
1063
|
+
readonly value: typeof FallbackVisitor;
|
|
1064
|
+
readonly document: {
|
|
1065
|
+
readonly objects: {
|
|
1066
|
+
readonly ArazzoSpecification: {
|
|
1067
|
+
readonly $visitor: typeof ArazzoSpecificationVisitor;
|
|
1068
|
+
readonly fixedFields: {
|
|
1069
|
+
readonly arazzo: typeof ArazzoVisitor;
|
|
1070
|
+
readonly info: {
|
|
1071
|
+
readonly $ref: "#/visitors/document/objects/Info";
|
|
1072
|
+
};
|
|
1073
|
+
readonly sourceDescriptions: typeof ArazzoSourceDescriptionsVisitor;
|
|
1074
|
+
readonly workflows: typeof WorkflowsVisitor;
|
|
1075
|
+
readonly components: {
|
|
1076
|
+
readonly $ref: "#/visitors/document/objects/Components";
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
};
|
|
1080
|
+
readonly Info: {
|
|
1081
|
+
readonly $visitor: typeof InfoVisitor;
|
|
1082
|
+
readonly fixedFields: {
|
|
1083
|
+
readonly title: {
|
|
1084
|
+
readonly $ref: "#/visitors/value";
|
|
1085
|
+
};
|
|
1086
|
+
readonly summary: {
|
|
1087
|
+
readonly $ref: "#/visitors/value";
|
|
1088
|
+
};
|
|
1089
|
+
readonly description: {
|
|
1090
|
+
readonly $ref: "#/visitors/value";
|
|
1091
|
+
};
|
|
1092
|
+
readonly version: typeof InfoVersionVisitor;
|
|
1093
|
+
};
|
|
1094
|
+
};
|
|
1095
|
+
readonly SourceDescription: {
|
|
1096
|
+
readonly $visitor: typeof SourceDescriptionsVisitor;
|
|
1097
|
+
readonly fixedFields: {
|
|
1098
|
+
readonly name: {
|
|
1099
|
+
readonly $ref: "#/visitors/value";
|
|
1100
|
+
};
|
|
1101
|
+
readonly url: typeof SourceDescriptionsUrlVisitor;
|
|
1102
|
+
readonly type: {
|
|
1103
|
+
readonly $ref: "#/visitors/value";
|
|
1104
|
+
};
|
|
1105
|
+
};
|
|
1106
|
+
};
|
|
1107
|
+
readonly Workflow: {
|
|
1108
|
+
readonly $visitor: typeof WorkflowVisitor;
|
|
1109
|
+
readonly fixedFields: {
|
|
1110
|
+
readonly workflowId: {
|
|
1111
|
+
readonly $ref: "#/visitors/value";
|
|
1112
|
+
};
|
|
1113
|
+
readonly summary: {
|
|
1114
|
+
readonly $ref: "#/visitors/value";
|
|
1115
|
+
};
|
|
1116
|
+
readonly description: {
|
|
1117
|
+
readonly $ref: "#/visitors/value";
|
|
1118
|
+
};
|
|
1119
|
+
readonly inputs: typeof ArazzoJSONSchemaVisitor;
|
|
1120
|
+
readonly dependsOn: typeof WorkflowDependsOnVisitor;
|
|
1121
|
+
readonly steps: typeof ArazzoStepsVisitor;
|
|
1122
|
+
readonly successActions: typeof WorkflowSuccessActionsVisitor;
|
|
1123
|
+
readonly failureActions: typeof WorkflowFailureActionsVisitor;
|
|
1124
|
+
readonly outputs: typeof WorkflowOutputsVisitor;
|
|
1125
|
+
readonly parameters: typeof WorkflowParametersVisitor;
|
|
1126
|
+
};
|
|
1127
|
+
};
|
|
1128
|
+
readonly Step: {
|
|
1129
|
+
readonly $visitor: typeof StepsVisitor;
|
|
1130
|
+
readonly fixedFields: {
|
|
1131
|
+
readonly description: {
|
|
1132
|
+
readonly $ref: "#/visitors/value";
|
|
1133
|
+
};
|
|
1134
|
+
readonly stepId: {
|
|
1135
|
+
readonly $ref: "#/visitors/value";
|
|
1136
|
+
};
|
|
1137
|
+
readonly operationId: {
|
|
1138
|
+
readonly $ref: "#/visitors/value";
|
|
1139
|
+
};
|
|
1140
|
+
readonly operationPath: {
|
|
1141
|
+
readonly $ref: "#/visitors/value";
|
|
1142
|
+
};
|
|
1143
|
+
readonly workflowId: {
|
|
1144
|
+
readonly $ref: "#/visitors/value";
|
|
1145
|
+
};
|
|
1146
|
+
readonly parameters: typeof StepParametersVisitor;
|
|
1147
|
+
readonly requestBody: {
|
|
1148
|
+
readonly $ref: "#/visitors/document/objects/RequestBody";
|
|
1149
|
+
};
|
|
1150
|
+
readonly successCriteria: typeof StepSuccessCriteriaVisitor;
|
|
1151
|
+
readonly onSuccess: typeof StepOnSuccessVisitor;
|
|
1152
|
+
readonly onFailure: typeof StepOnFailureVisitor;
|
|
1153
|
+
readonly outputs: typeof StepOutputsVisitor;
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
readonly Parameter: {
|
|
1157
|
+
readonly $visitor: typeof ParameterVisitor;
|
|
1158
|
+
readonly fixedFields: {
|
|
1159
|
+
readonly name: {
|
|
1160
|
+
readonly $ref: "#/visitors/value";
|
|
1161
|
+
};
|
|
1162
|
+
readonly in: {
|
|
1163
|
+
readonly $ref: "#/visitors/value";
|
|
1164
|
+
};
|
|
1165
|
+
readonly value: {
|
|
1166
|
+
readonly $ref: "#/visitors/value";
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
};
|
|
1170
|
+
readonly SuccessAction: {
|
|
1171
|
+
readonly $visitor: typeof SuccessActionVisitor;
|
|
1172
|
+
readonly fixedFields: {
|
|
1173
|
+
readonly name: {
|
|
1174
|
+
readonly $ref: "#/visitors/value";
|
|
1175
|
+
};
|
|
1176
|
+
readonly type: {
|
|
1177
|
+
readonly $ref: "#/visitors/value";
|
|
1178
|
+
};
|
|
1179
|
+
readonly workflowId: {
|
|
1180
|
+
readonly $ref: "#/visitors/value";
|
|
1181
|
+
};
|
|
1182
|
+
readonly stepId: {
|
|
1183
|
+
readonly $ref: "#/visitors/value";
|
|
1184
|
+
};
|
|
1185
|
+
readonly criteria: typeof SuccessActionCriteriaVisitor;
|
|
1186
|
+
};
|
|
1187
|
+
};
|
|
1188
|
+
readonly FailureAction: {
|
|
1189
|
+
readonly $visitor: typeof FailureActionVisitor;
|
|
1190
|
+
readonly fixedFields: {
|
|
1191
|
+
readonly name: {
|
|
1192
|
+
readonly $ref: "#/visitors/value";
|
|
1193
|
+
};
|
|
1194
|
+
readonly type: {
|
|
1195
|
+
readonly $ref: "#/visitors/value";
|
|
1196
|
+
};
|
|
1197
|
+
readonly workflowId: {
|
|
1198
|
+
readonly $ref: "#/visitors/value";
|
|
1199
|
+
};
|
|
1200
|
+
readonly stepId: {
|
|
1201
|
+
readonly $ref: "#/visitors/value";
|
|
1202
|
+
};
|
|
1203
|
+
readonly retryAfter: {
|
|
1204
|
+
readonly $ref: "#/visitors/value";
|
|
1205
|
+
};
|
|
1206
|
+
readonly retryLimit: {
|
|
1207
|
+
readonly $ref: "#/visitors/value";
|
|
1208
|
+
};
|
|
1209
|
+
readonly criteria: typeof FailureActionCriteriaVisitor;
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
readonly Components: {
|
|
1213
|
+
readonly $visitor: typeof ComponentsVisitor;
|
|
1214
|
+
readonly fixedFields: {
|
|
1215
|
+
readonly inputs: typeof ComponentsInputsVisitor;
|
|
1216
|
+
readonly parameters: typeof ComponentsParametersVisitor;
|
|
1217
|
+
readonly successActions: typeof ComponentsSuccessActionsVisitor;
|
|
1218
|
+
readonly failureActions: typeof ComponentsFailureActionsVisitor;
|
|
1219
|
+
};
|
|
1220
|
+
};
|
|
1221
|
+
readonly Reusable: {
|
|
1222
|
+
readonly $visitor: typeof ReusableVisitor;
|
|
1223
|
+
readonly fixedFields: {
|
|
1224
|
+
readonly reference: typeof ReusableReferenceVisitor;
|
|
1225
|
+
readonly value: {
|
|
1226
|
+
readonly $ref: "#/visitors/value";
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
readonly Criterion: {
|
|
1231
|
+
readonly $visitor: typeof CriterionVisitor;
|
|
1232
|
+
readonly fixedFields: {
|
|
1233
|
+
readonly context: {
|
|
1234
|
+
readonly $ref: "#/visitors/value";
|
|
1235
|
+
};
|
|
1236
|
+
readonly condition: {
|
|
1237
|
+
readonly $ref: "#/visitors/value";
|
|
1238
|
+
};
|
|
1239
|
+
readonly type: typeof CriterionTypeVisitor;
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
readonly CriterionExpressionType: {
|
|
1243
|
+
readonly $visitor: typeof CriterionExpressionTypeVisitor;
|
|
1244
|
+
readonly fixedFields: {
|
|
1245
|
+
readonly type: {
|
|
1246
|
+
readonly $ref: "#/visitors/value";
|
|
1247
|
+
};
|
|
1248
|
+
readonly version: typeof CriterionExpressionTypeVersionVisitor;
|
|
1249
|
+
};
|
|
1250
|
+
};
|
|
1251
|
+
readonly RequestBody: {
|
|
1252
|
+
readonly $visitor: typeof RequestBodyVisitor;
|
|
1253
|
+
readonly fixedFields: {
|
|
1254
|
+
readonly contentType: {
|
|
1255
|
+
readonly $ref: "#/visitors/value";
|
|
1256
|
+
};
|
|
1257
|
+
readonly payload: {
|
|
1258
|
+
readonly $ref: "#/visitors/value";
|
|
1259
|
+
};
|
|
1260
|
+
readonly replacements: typeof RequestBodyReplacementsVisitor;
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
readonly PayloadReplacement: {
|
|
1264
|
+
readonly $visitor: typeof PayloadReplacementVisitor;
|
|
1265
|
+
readonly fixedFields: {
|
|
1266
|
+
readonly target: {
|
|
1267
|
+
readonly $ref: "#/visitors/value";
|
|
1268
|
+
};
|
|
1269
|
+
readonly value: {
|
|
1270
|
+
readonly $ref: "#/visitors/value";
|
|
1271
|
+
};
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
readonly JSONSchema: {
|
|
1275
|
+
readonly $visitor: typeof ArazzoJSONSchemaVisitor;
|
|
1276
|
+
readonly fixedFields: {
|
|
1277
|
+
readonly id: {
|
|
1278
|
+
$ref: string;
|
|
1279
|
+
};
|
|
1280
|
+
readonly $schema: {
|
|
1281
|
+
$ref: string;
|
|
1282
|
+
};
|
|
1283
|
+
readonly multipleOf: {
|
|
1284
|
+
$ref: string;
|
|
1285
|
+
};
|
|
1286
|
+
readonly maximum: {
|
|
1287
|
+
$ref: string;
|
|
1288
|
+
};
|
|
1289
|
+
readonly exclusiveMaximum: {
|
|
1290
|
+
$ref: string;
|
|
1291
|
+
};
|
|
1292
|
+
readonly minimum: {
|
|
1293
|
+
$ref: string;
|
|
1294
|
+
};
|
|
1295
|
+
readonly exclusiveMinimum: {
|
|
1296
|
+
$ref: string;
|
|
1297
|
+
};
|
|
1298
|
+
readonly maxLength: {
|
|
1299
|
+
$ref: string;
|
|
1300
|
+
};
|
|
1301
|
+
readonly minLength: {
|
|
1302
|
+
$ref: string;
|
|
1303
|
+
};
|
|
1304
|
+
readonly pattern: {
|
|
1305
|
+
$ref: string;
|
|
1306
|
+
};
|
|
1307
|
+
readonly additionalItems: SchemaOrReferenceVisitor;
|
|
1308
|
+
readonly items: ItemsVisitor;
|
|
1309
|
+
readonly maxItems: {
|
|
1310
|
+
$ref: string;
|
|
1311
|
+
};
|
|
1312
|
+
readonly minItems: {
|
|
1313
|
+
$ref: string;
|
|
1314
|
+
};
|
|
1315
|
+
readonly uniqueItems: {
|
|
1316
|
+
$ref: string;
|
|
1317
|
+
};
|
|
1318
|
+
readonly maxProperties: {
|
|
1319
|
+
$ref: string;
|
|
1320
|
+
};
|
|
1321
|
+
readonly minProperties: {
|
|
1322
|
+
$ref: string;
|
|
1323
|
+
};
|
|
1324
|
+
readonly required: RequiredVisitor;
|
|
1325
|
+
readonly properties: PropertiesVisitor;
|
|
1326
|
+
readonly additionalProperties: SchemaOrReferenceVisitor;
|
|
1327
|
+
readonly patternProperties: PatternPropertiesVisitor;
|
|
1328
|
+
readonly dependencies: DependenciesVisitor;
|
|
1329
|
+
readonly enum: EnumVisitor;
|
|
1330
|
+
readonly type: TypeVisitor;
|
|
1331
|
+
readonly allOf: AllOfVisitor;
|
|
1332
|
+
readonly anyOf: AnyOfVisitor;
|
|
1333
|
+
readonly oneOf: OneOfVisitor;
|
|
1334
|
+
readonly not: SchemaOrReferenceVisitor;
|
|
1335
|
+
readonly definitions: DefinitionsVisitor;
|
|
1336
|
+
readonly title: {
|
|
1337
|
+
$ref: string;
|
|
1338
|
+
};
|
|
1339
|
+
readonly description: {
|
|
1340
|
+
$ref: string;
|
|
1341
|
+
};
|
|
1342
|
+
readonly default: {
|
|
1343
|
+
$ref: string;
|
|
1344
|
+
};
|
|
1345
|
+
readonly format: {
|
|
1346
|
+
$ref: string;
|
|
1347
|
+
};
|
|
1348
|
+
readonly base: {
|
|
1349
|
+
$ref: string;
|
|
1350
|
+
};
|
|
1351
|
+
readonly links: LinksVisitor;
|
|
1352
|
+
readonly media: {
|
|
1353
|
+
$ref: string;
|
|
1354
|
+
};
|
|
1355
|
+
readonly readOnly: {
|
|
1356
|
+
$ref: string;
|
|
1357
|
+
};
|
|
1358
|
+
};
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
readonly extension: {
|
|
1362
|
+
readonly $visitor: typeof SpecificationExtensionVisitor;
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* @public
|
|
1370
|
+
*/
|
|
1371
|
+
export declare class SpecificationVisitor extends Visitor {
|
|
1372
|
+
protected readonly specObj: typeof specificationObj;
|
|
1373
|
+
protected readonly passingOptionsNames: string[];
|
|
1374
|
+
constructor({ specObj, ...rest }: SpecificationVisitorOptions);
|
|
1375
|
+
retrievePassingOptions(): Pick<this, keyof this>;
|
|
1376
|
+
retrieveFixedFields(specPath: string[]): string[];
|
|
1377
|
+
retrieveVisitor(specPath: string[]): unknown;
|
|
1378
|
+
retrieveVisitorInstance(specPath: string[], options?: {}): Visitor;
|
|
1379
|
+
toRefractedElement(specPath: string[], element: any, options?: {}): any;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* This is a base Type for every visitor that does
|
|
1384
|
+
* internal look-ups to retrieve other child visitors.
|
|
1385
|
+
* @public
|
|
1386
|
+
*/
|
|
1387
|
+
declare interface SpecificationVisitorOptions extends VisitorOptions {
|
|
1388
|
+
readonly specObj: typeof specificationObj;
|
|
1389
|
+
}
|
|
1390
|
+
export { SpecificationVisitorOptions as SpecificationExtensionVisitorOptions }
|
|
1391
|
+
export { SpecificationVisitorOptions }
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* @public
|
|
1395
|
+
*/
|
|
1396
|
+
export declare type SpecPath<T = string[]> = (element: unknown) => T;
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* @public
|
|
1400
|
+
*/
|
|
1401
|
+
export declare class StepDependsOnElement extends ArrayElement {
|
|
1402
|
+
static primaryClass: string;
|
|
1403
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* @public
|
|
1408
|
+
*/
|
|
1409
|
+
export declare class StepElement extends ObjectElement {
|
|
1410
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
1411
|
+
get description(): StringElement | undefined;
|
|
1412
|
+
set description(description: StringElement | undefined);
|
|
1413
|
+
get stepId(): StringElement | undefined;
|
|
1414
|
+
set stepId(stepId: StringElement | undefined);
|
|
1415
|
+
get operationId(): StringElement | undefined;
|
|
1416
|
+
set operationId(operationId: StringElement | undefined);
|
|
1417
|
+
get operationPath(): StringElement | undefined;
|
|
1418
|
+
set operationPath(operationPath: StringElement | undefined);
|
|
1419
|
+
get workflowId(): StringElement | undefined;
|
|
1420
|
+
set workflowId(workflowId: StringElement | undefined);
|
|
1421
|
+
get parameters(): StepParametersElement | undefined;
|
|
1422
|
+
set parameters(parameters: StepParametersElement | undefined);
|
|
1423
|
+
get requestBody(): RequestBodyElement | undefined;
|
|
1424
|
+
set requestBody(requestBody: RequestBodyElement | undefined);
|
|
1425
|
+
get successCriteria(): StepSuccessCriteriaElement | undefined;
|
|
1426
|
+
set successCriteria(successCriteria: StepSuccessCriteriaElement | undefined);
|
|
1427
|
+
get onSuccess(): StepOnSuccessElement | undefined;
|
|
1428
|
+
set onSuccess(onSuccess: StepOnSuccessElement | undefined);
|
|
1429
|
+
get onFailure(): StepOnFailureElement | undefined;
|
|
1430
|
+
set onFailure(onFailure: StepOnFailureElement | undefined);
|
|
1431
|
+
get outputs(): StepOutputsElement | undefined;
|
|
1432
|
+
set outputs(outputs: StepOutputsElement | undefined);
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* @public
|
|
1437
|
+
*/
|
|
1438
|
+
export declare class StepOnFailureElement extends ArrayElement {
|
|
1439
|
+
static primaryClass: string;
|
|
1440
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* @public
|
|
1445
|
+
*/
|
|
1446
|
+
export declare class StepOnFailureVisitor extends OnFailureVisitor_base {
|
|
1447
|
+
readonly element: StepOnFailureElement;
|
|
1448
|
+
constructor(options: StepOnFailureVisitorOptions);
|
|
1449
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* @public
|
|
1454
|
+
*/
|
|
1455
|
+
export declare interface StepOnFailureVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* @public
|
|
1460
|
+
*/
|
|
1461
|
+
export declare class StepOnSuccessElement extends ArrayElement {
|
|
1462
|
+
static primaryClass: string;
|
|
1463
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* @public
|
|
1468
|
+
*/
|
|
1469
|
+
export declare class StepOnSuccessVisitor extends OnSuccessVisitor_base {
|
|
1470
|
+
readonly element: StepOnSuccessElement;
|
|
1471
|
+
constructor(options: StepOnSuccessVisitorOptions);
|
|
1472
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* @public
|
|
1477
|
+
*/
|
|
1478
|
+
export declare interface StepOnSuccessVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* @public
|
|
1483
|
+
*/
|
|
1484
|
+
export declare class StepOutputsElement extends ObjectElement {
|
|
1485
|
+
static primaryClass: string;
|
|
1486
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* @public
|
|
1491
|
+
*/
|
|
1492
|
+
export declare class StepOutputsVisitor extends OutputsVisitor_base_2 {
|
|
1493
|
+
readonly element: StepOutputsElement;
|
|
1494
|
+
protected readonly specPath: SpecPath<['value']>;
|
|
1495
|
+
constructor(options: StepOutputsVisitorOptions);
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* @public
|
|
1500
|
+
*/
|
|
1501
|
+
export declare interface StepOutputsVisitorOptions extends MapVisitorOptions, VisitorOptions {
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* @public
|
|
1506
|
+
*/
|
|
1507
|
+
export declare class StepParametersElement extends ArrayElement {
|
|
1508
|
+
static primaryClass: string;
|
|
1509
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* @public
|
|
1514
|
+
*/
|
|
1515
|
+
export declare class StepParametersVisitor extends ParametersActionsVisitor_base_2 {
|
|
1516
|
+
readonly element: StepParametersElement;
|
|
1517
|
+
constructor(options: StepParametersVisitorOptions);
|
|
1518
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* @public
|
|
1523
|
+
*/
|
|
1524
|
+
export declare interface StepParametersVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* @public
|
|
1529
|
+
*/
|
|
1530
|
+
export declare class StepSuccessCriteriaElement extends ArrayElement {
|
|
1531
|
+
static primaryClass: string;
|
|
1532
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
/**
|
|
1536
|
+
* @public
|
|
1537
|
+
*/
|
|
1538
|
+
export declare class StepSuccessCriteriaVisitor extends SuccessCriteriaVisitor_base {
|
|
1539
|
+
readonly element: StepSuccessCriteriaElement;
|
|
1540
|
+
constructor(options: StepSuccessCriteriaVisitorOptions);
|
|
1541
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
/**
|
|
1545
|
+
* @public
|
|
1546
|
+
*/
|
|
1547
|
+
export declare interface StepSuccessCriteriaVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* @public
|
|
1552
|
+
*/
|
|
1553
|
+
export declare class StepsVisitor extends StepVisitor_base {
|
|
1554
|
+
readonly element: StepElement;
|
|
1555
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Step']>;
|
|
1556
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
1557
|
+
constructor(options: StepVisitorOptions);
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
declare const StepsVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
1561
|
+
|
|
1562
|
+
declare const StepVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* @public
|
|
1566
|
+
*/
|
|
1567
|
+
export declare interface StepVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* @public
|
|
1572
|
+
*/
|
|
1573
|
+
export declare class SuccessActionCriteriaElement extends ArrayElement {
|
|
1574
|
+
static primaryClass: string;
|
|
1575
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* @public
|
|
1580
|
+
*/
|
|
1581
|
+
export declare class SuccessActionCriteriaVisitor extends CriteriaVisitor_base {
|
|
1582
|
+
readonly element: SuccessActionCriteriaElement;
|
|
1583
|
+
constructor(options: SuccessActionCriteriaVisitorOptions);
|
|
1584
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* @public
|
|
1589
|
+
*/
|
|
1590
|
+
export declare interface SuccessActionCriteriaVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
* @public
|
|
1595
|
+
*/
|
|
1596
|
+
export declare class SuccessActionElement extends ObjectElement {
|
|
1597
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
1598
|
+
get name(): StringElement | undefined;
|
|
1599
|
+
set name(name: StringElement | undefined);
|
|
1600
|
+
get type(): StringElement | undefined;
|
|
1601
|
+
set type(type: StringElement | undefined);
|
|
1602
|
+
get workflowId(): StringElement | undefined;
|
|
1603
|
+
set workflowId(workflowId: StringElement | undefined);
|
|
1604
|
+
get stepId(): StringElement | undefined;
|
|
1605
|
+
set stepId(stepId: StringElement | undefined);
|
|
1606
|
+
get criteria(): SuccessActionCriteriaElement | undefined;
|
|
1607
|
+
set criteria(criteria: SuccessActionCriteriaElement | undefined);
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
declare const SuccessActionsVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
1611
|
+
|
|
1612
|
+
declare const SuccessActionsVisitor_base_2: Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* @public
|
|
1616
|
+
*/
|
|
1617
|
+
export declare class SuccessActionVisitor extends SuccessActionVisitor_base {
|
|
1618
|
+
readonly element: SuccessActionElement;
|
|
1619
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'SuccessAction']>;
|
|
1620
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
1621
|
+
constructor(options: SuccessActionVisitorOptions);
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
declare const SuccessActionVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* @public
|
|
1628
|
+
*/
|
|
1629
|
+
export declare interface SuccessActionVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
declare const SuccessCriteriaVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
1633
|
+
|
|
1634
|
+
declare const TypeVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
1635
|
+
|
|
1636
|
+
/**
|
|
1637
|
+
* @public
|
|
1638
|
+
*/
|
|
1639
|
+
export declare class Visitor {
|
|
1640
|
+
element: Element_2;
|
|
1641
|
+
constructor(options?: VisitorOptions);
|
|
1642
|
+
copyMetaAndAttributes(from: Element_2, to: Element_2): void;
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* @public
|
|
1647
|
+
*/
|
|
1648
|
+
declare interface VisitorOptions {
|
|
1649
|
+
}
|
|
1650
|
+
export { VisitorOptions as CriterionExpressionTypeVersionVisitorOptions }
|
|
1651
|
+
export { VisitorOptions as FallbackVisitorOptions }
|
|
1652
|
+
export { VisitorOptions as InfoVersionVisitorOptions }
|
|
1653
|
+
export { VisitorOptions as ReusableReferenceVisitorOptions }
|
|
1654
|
+
export { VisitorOptions as SourceDescriptionsUrlVisitorOptions }
|
|
1655
|
+
export { VisitorOptions }
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* @public
|
|
1659
|
+
*/
|
|
1660
|
+
export declare class WorkflowDependsOnElement extends ArrayElement {
|
|
1661
|
+
static primaryClass: string;
|
|
1662
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* @public
|
|
1667
|
+
*/
|
|
1668
|
+
export declare class WorkflowDependsOnVisitor extends WorkflowDependsOnVisitor_base {
|
|
1669
|
+
readonly element: WorkflowDependsOnElement;
|
|
1670
|
+
constructor(options: WorkflowDependsOnVisitorOptions);
|
|
1671
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
declare const WorkflowDependsOnVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* @public
|
|
1678
|
+
*/
|
|
1679
|
+
export declare interface WorkflowDependsOnVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* @public
|
|
1684
|
+
*/
|
|
1685
|
+
export declare class WorkflowElement extends ObjectElement {
|
|
1686
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
1687
|
+
get workflowId(): StringElement | undefined;
|
|
1688
|
+
set workflowId(workflowId: StringElement | undefined);
|
|
1689
|
+
get summary(): StringElement | undefined;
|
|
1690
|
+
set summary(summary: StringElement | undefined);
|
|
1691
|
+
get description(): StringElement | undefined;
|
|
1692
|
+
set description(description: StringElement | undefined);
|
|
1693
|
+
get inputs(): JSONSchemaElement | undefined;
|
|
1694
|
+
set inputs(inputs: JSONSchemaElement | undefined);
|
|
1695
|
+
get dependsOn(): WorkflowDependsOnElement | undefined;
|
|
1696
|
+
set dependsOn(dependsOn: WorkflowDependsOnElement | undefined);
|
|
1697
|
+
get steps(): WorkflowStepsElement | undefined;
|
|
1698
|
+
set steps(steps: WorkflowStepsElement | undefined);
|
|
1699
|
+
get successActions(): WorkflowSuccessActionsElement | undefined;
|
|
1700
|
+
set successActions(successActions: WorkflowSuccessActionsElement | undefined);
|
|
1701
|
+
get failureActions(): WorkflowFailureActionsElement | undefined;
|
|
1702
|
+
set failureActions(failureActions: WorkflowFailureActionsElement | undefined);
|
|
1703
|
+
get outputs(): WorkflowOutputsElement | undefined;
|
|
1704
|
+
set outputs(outputs: WorkflowOutputsElement | undefined);
|
|
1705
|
+
get parameters(): WorkflowParametersElement | undefined;
|
|
1706
|
+
set parameters(parameters: WorkflowParametersElement | undefined);
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* @public
|
|
1711
|
+
*/
|
|
1712
|
+
export declare class WorkflowFailureActionsElement extends ArrayElement {
|
|
1713
|
+
static primaryClass: string;
|
|
1714
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* @public
|
|
1719
|
+
*/
|
|
1720
|
+
export declare class WorkflowFailureActionsVisitor extends FailureActionsVisitor_base {
|
|
1721
|
+
readonly element: WorkflowFailureActionsElement;
|
|
1722
|
+
constructor(options: WorkflowFailureActionsVisitorOptions);
|
|
1723
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* @public
|
|
1728
|
+
*/
|
|
1729
|
+
export declare interface WorkflowFailureActionsVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
/**
|
|
1733
|
+
* @public
|
|
1734
|
+
*/
|
|
1735
|
+
export declare class WorkflowOutputsElement extends ObjectElement {
|
|
1736
|
+
static primaryClass: string;
|
|
1737
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* @public
|
|
1742
|
+
*/
|
|
1743
|
+
export declare class WorkflowOutputsVisitor extends OutputsVisitor_base {
|
|
1744
|
+
readonly element: WorkflowOutputsElement;
|
|
1745
|
+
protected readonly specPath: SpecPath<['value']>;
|
|
1746
|
+
constructor(options: WorkflowOutputsVisitorOptions);
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
/**
|
|
1750
|
+
* @public
|
|
1751
|
+
*/
|
|
1752
|
+
export declare interface WorkflowOutputsVisitorOptions extends MapVisitorOptions, VisitorOptions {
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* @public
|
|
1757
|
+
*/
|
|
1758
|
+
export declare class WorkflowParametersElement extends ArrayElement {
|
|
1759
|
+
static primaryClass: string;
|
|
1760
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* @public
|
|
1765
|
+
*/
|
|
1766
|
+
export declare class WorkflowParametersVisitor extends ParametersActionsVisitor_base {
|
|
1767
|
+
readonly element: WorkflowParametersElement;
|
|
1768
|
+
constructor(options: WorkflowParametersVisitorOptions);
|
|
1769
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* @public
|
|
1774
|
+
*/
|
|
1775
|
+
export declare interface WorkflowParametersVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
/**
|
|
1779
|
+
* @public
|
|
1780
|
+
*/
|
|
1781
|
+
export declare class WorkflowsElement extends ArrayElement {
|
|
1782
|
+
static primaryClass: string;
|
|
1783
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* @public
|
|
1788
|
+
*/
|
|
1789
|
+
export declare class WorkflowStepsElement extends ArrayElement {
|
|
1790
|
+
static primaryClass: string;
|
|
1791
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
/**
|
|
1795
|
+
* @public
|
|
1796
|
+
*/
|
|
1797
|
+
export declare class WorkflowSuccessActionsElement extends ArrayElement {
|
|
1798
|
+
static primaryClass: string;
|
|
1799
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* @public
|
|
1804
|
+
*/
|
|
1805
|
+
export declare class WorkflowSuccessActionsVisitor extends SuccessActionsVisitor_base {
|
|
1806
|
+
readonly element: WorkflowSuccessActionsElement;
|
|
1807
|
+
constructor(options: WorkflowSuccessActionsVisitorOptions);
|
|
1808
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* @public
|
|
1813
|
+
*/
|
|
1814
|
+
export declare interface WorkflowSuccessActionsVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* @public
|
|
1819
|
+
*/
|
|
1820
|
+
export declare class WorkflowsVisitor extends WorkflowsVisitor_base {
|
|
1821
|
+
readonly element: WorkflowsElement;
|
|
1822
|
+
constructor(options: WorkflowsVisitorOptions);
|
|
1823
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
declare const WorkflowsVisitor_base: Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* @public
|
|
1830
|
+
*/
|
|
1831
|
+
export declare interface WorkflowsVisitorOptions extends SpecificationVisitorOptions, VisitorOptions {
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* @public
|
|
1836
|
+
*/
|
|
1837
|
+
export declare class WorkflowVisitor extends WorkflowVisitor_base {
|
|
1838
|
+
readonly element: WorkflowElement;
|
|
1839
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Workflow']>;
|
|
1840
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
1841
|
+
constructor(options: WorkflowVisitorOptions);
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
declare const WorkflowVisitor_base: Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* @public
|
|
1848
|
+
*/
|
|
1849
|
+
export declare interface WorkflowVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
export { }
|