@swagger-api/apidom-ns-arazzo-1 1.0.0-beta.30

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