@api-client/core 0.7.11 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/SECURITY.md +14 -0
  2. package/build/browser.d.ts +6 -0
  3. package/build/browser.js +6 -0
  4. package/build/browser.js.map +1 -1
  5. package/build/index.d.ts +6 -0
  6. package/build/index.js +6 -0
  7. package/build/index.js.map +1 -1
  8. package/build/src/amf/AmfMixin.d.ts +55 -42
  9. package/build/src/amf/AmfMixin.js +9 -3
  10. package/build/src/amf/AmfMixin.js.map +1 -1
  11. package/build/src/amf/AmfSerializer.d.ts +72 -72
  12. package/build/src/amf/AmfSerializer.js +9 -4
  13. package/build/src/amf/AmfSerializer.js.map +1 -1
  14. package/build/src/amf/AmfShapeGenerator.d.ts +17 -17
  15. package/build/src/amf/AmfShapeGenerator.js +4 -4
  16. package/build/src/amf/AmfShapeGenerator.js.map +1 -1
  17. package/build/src/amf/AmfTypes.d.ts +16 -16
  18. package/build/src/amf/AmfTypes.js +16 -16
  19. package/build/src/amf/AmfTypes.js.map +1 -1
  20. package/build/src/amf/ApiExampleGenerator.d.ts +3 -3
  21. package/build/src/amf/ApiExampleGenerator.js.map +1 -1
  22. package/build/src/amf/ApiMonacoSchemaGenerator.d.ts +6 -6
  23. package/build/src/amf/ApiMonacoSchemaGenerator.js.map +1 -1
  24. package/build/src/amf/ApiSchemaGenerator.d.ts +2 -2
  25. package/build/src/amf/ApiSchemaGenerator.js.map +1 -1
  26. package/build/src/amf/ApiSchemaValues.d.ts +12 -12
  27. package/build/src/amf/ApiSchemaValues.js.map +1 -1
  28. package/build/src/amf/Parsing.d.ts +5 -5
  29. package/build/src/amf/Utils.d.ts +6 -6
  30. package/build/src/amf/Utils.js.map +1 -1
  31. package/build/src/amf/data-node/DataNodeBase.d.ts +5 -5
  32. package/build/src/amf/data-node/DataNodeBase.js.map +1 -1
  33. package/build/src/amf/data-node/JsonDataNodeGenerator.d.ts +2 -2
  34. package/build/src/amf/data-node/JsonDataNodeGenerator.js.map +1 -1
  35. package/build/src/amf/data-node/UrlEncodedDataNodeGenerator.d.ts +2 -2
  36. package/build/src/amf/data-node/UrlEncodedDataNodeGenerator.js.map +1 -1
  37. package/build/src/amf/data-node/XmlDataNodeGenerator.d.ts +2 -2
  38. package/build/src/amf/data-node/XmlDataNodeGenerator.js.map +1 -1
  39. package/build/src/amf/definitions/Amf.d.ts +339 -339
  40. package/build/src/amf/definitions/Api.d.ts +158 -158
  41. package/build/src/amf/definitions/Base.d.ts +5 -5
  42. package/build/src/amf/definitions/Shapes.d.ts +46 -46
  43. package/build/src/amf/definitions/Shapes.js +11 -11
  44. package/build/src/amf/definitions/Shapes.js.map +1 -1
  45. package/build/src/amf/models/AmfDataNode.d.ts +5 -5
  46. package/build/src/amf/models/AmfDataNode.js +4 -4
  47. package/build/src/amf/models/AmfDataNode.js.map +1 -1
  48. package/build/src/amf/shape/ShapeBase.d.ts +13 -13
  49. package/build/src/amf/shape/ShapeBase.js.map +1 -1
  50. package/build/src/amf/shape/ShapeJsonSchemaGenerator.d.ts +13 -13
  51. package/build/src/amf/shape/ShapeJsonSchemaGenerator.js.map +1 -1
  52. package/build/src/amf/shape/ShapeXmlSchemaGenerator.d.ts +16 -16
  53. package/build/src/amf/shape/ShapeXmlSchemaGenerator.js +1 -1
  54. package/build/src/amf/shape/ShapeXmlSchemaGenerator.js.map +1 -1
  55. package/build/src/events/amf/AmfEvents.d.ts +4 -4
  56. package/build/src/events/amf/AmfEvents.js.map +1 -1
  57. package/build/src/models/data/Bindings.d.ts +2 -2
  58. package/build/src/models/data/DataAssociation.d.ts +4 -4
  59. package/build/src/models/data/DataAssociation.js.map +1 -1
  60. package/build/src/models/data/DataEntity.d.ts +2 -2
  61. package/build/src/models/data/DataProperty.d.ts +2 -2
  62. package/build/src/runtime/variables/VariablesProcessor.js.map +1 -1
  63. package/data/models/oas-date.json +1 -1
  64. package/data/models/oas-types.json +1 -1
  65. package/data/models/oas-unions.json +1 -1
  66. package/data/models/raml-date.json +1 -1
  67. package/data/models/recursive.json +1 -1
  68. package/data/models/schema-api.json +14 -6
  69. package/package.json +6 -6
  70. package/src/amf/AmfMixin.ts +124 -117
  71. package/src/amf/AmfSerializer.ts +245 -240
  72. package/src/amf/AmfShapeGenerator.ts +24 -24
  73. package/src/amf/AmfTypes.ts +16 -16
  74. package/src/amf/ApiExampleGenerator.ts +4 -4
  75. package/src/amf/ApiMonacoSchemaGenerator.ts +11 -11
  76. package/src/amf/ApiSchemaGenerator.ts +3 -3
  77. package/src/amf/ApiSchemaValues.ts +21 -21
  78. package/src/amf/Parsing.ts +5 -5
  79. package/src/amf/Utils.ts +15 -15
  80. package/src/amf/data-node/DataNodeBase.ts +8 -8
  81. package/src/amf/data-node/JsonDataNodeGenerator.ts +2 -2
  82. package/src/amf/data-node/UrlEncodedDataNodeGenerator.ts +2 -2
  83. package/src/amf/data-node/XmlDataNodeGenerator.ts +2 -2
  84. package/src/amf/definitions/Amf.ts +315 -314
  85. package/src/amf/definitions/Api.ts +158 -157
  86. package/src/amf/definitions/Base.ts +5 -5
  87. package/src/amf/definitions/Shapes.ts +60 -60
  88. package/src/amf/models/AmfDataNode.ts +17 -17
  89. package/src/amf/shape/ShapeBase.ts +16 -16
  90. package/src/amf/shape/ShapeJsonSchemaGenerator.ts +27 -27
  91. package/src/amf/shape/ShapeXmlSchemaGenerator.ts +44 -44
  92. package/src/events/amf/AmfEvents.ts +7 -7
  93. package/src/models/data/Bindings.ts +2 -2
  94. package/src/models/data/DataAssociation.ts +4 -4
  95. package/src/models/data/DataEntity.ts +2 -2
  96. package/src/models/data/DataProperty.ts +2 -2
  97. package/src/runtime/variables/VariablesProcessor.ts +2 -2
@@ -1,362 +1,362 @@
1
- export declare interface DomainElement {
1
+ export declare interface IAmfDomainElement {
2
2
  '@id': string;
3
3
  '@type': string[];
4
4
  '@context'?: Record<string, string>;
5
5
  'http://a.ml/vocabularies/document#customDomainProperties'?: [];
6
6
  }
7
- export interface ExternalDomainElement extends DomainElement {
8
- 'http://a.ml/vocabularies/document#raw': LdValueString[];
9
- 'http://a.ml/vocabularies/core#mediaType': LdValueString[];
7
+ export interface IAmfExternalDomainElement extends IAmfDomainElement {
8
+ 'http://a.ml/vocabularies/document#raw': IAmfLdValueString[];
9
+ 'http://a.ml/vocabularies/core#mediaType': IAmfLdValueString[];
10
10
  }
11
- export declare interface Linkable {
12
- 'http://a.ml/vocabularies/document#link-target'?: LdIdValue[];
13
- 'http://a.ml/vocabularies/document#link-label'?: LdValueString[];
11
+ export declare interface IAmfLinkable {
12
+ 'http://a.ml/vocabularies/document#link-target'?: IAmfLdIdValue[];
13
+ 'http://a.ml/vocabularies/document#link-label'?: IAmfLdValueString[];
14
14
  }
15
- export declare interface LdValue<T> {
15
+ export declare interface IAmfLdValue<T> {
16
16
  '@value': T;
17
17
  }
18
- export declare interface LdIdValue {
18
+ export declare interface IAmfLdIdValue {
19
19
  '@id': string;
20
20
  }
21
- export declare interface LdValueString extends LdValue<string> {
21
+ export declare interface IAmfLdValueString extends IAmfLdValue<string> {
22
22
  }
23
- export declare interface LdValueBoolean extends LdValue<boolean> {
23
+ export declare interface IAmfLdValueBoolean extends IAmfLdValue<boolean> {
24
24
  }
25
- export declare interface LdValueNumber extends LdValue<number> {
25
+ export declare interface IAmfLdValueNumber extends IAmfLdValue<number> {
26
26
  }
27
- export declare interface LdValueRange extends LdIdValue {
27
+ export declare interface IAmfLdValueRange extends IAmfLdIdValue {
28
28
  '@type'?: string[];
29
29
  }
30
- export interface AmfDocument extends DomainElement {
31
- 'http://a.ml/vocabularies/document#version'?: LdValueString[];
32
- 'http://a.ml/vocabularies/document#root'?: LdValueBoolean[];
33
- 'http://a.ml/vocabularies/document#encodes'?: DomainElement[];
34
- 'http://a.ml/vocabularies/document#references'?: DomainElement[];
35
- 'http://a.ml/vocabularies/document#declares'?: DomainElement[];
36
- }
37
- export interface Api extends DomainElement {
38
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
39
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
40
- 'http://a.ml/vocabularies/apiContract#server'?: Server[];
41
- 'http://a.ml/vocabularies/apiContract#accepts'?: LdValueString[];
42
- 'http://a.ml/vocabularies/apiContract#contentType'?: LdValueString[];
43
- 'http://a.ml/vocabularies/apiContract#scheme'?: LdValueString[];
44
- 'http://a.ml/vocabularies/core#version'?: LdValueString[];
45
- 'http://a.ml/vocabularies/core#documentation'?: CreativeWork[];
46
- 'http://a.ml/vocabularies/apiContract#endpoint'?: EndPoint[];
47
- 'http://a.ml/vocabularies/apiContract#tag'?: Tag[];
48
- 'http://a.ml/vocabularies/core#provider'?: Organization[];
49
- 'http://a.ml/vocabularies/core#license'?: License[];
50
- }
51
- export interface WebApi extends Api {
52
- }
53
- export interface AsyncApi extends Api {
54
- }
55
- export interface Module extends DomainElement {
56
- 'http://a.ml/vocabularies/document#version'?: LdValueString[];
57
- 'http://a.ml/vocabularies/document#root'?: LdValueBoolean[];
58
- 'http://a.ml/vocabularies/document#declares'?: DomainElement[];
59
- 'http://a.ml/vocabularies/document#usage'?: LdValueString[];
60
- }
61
- export interface DataTypeFragment extends DomainElement {
62
- 'http://a.ml/vocabularies/document#version'?: LdValueString[];
63
- 'http://a.ml/vocabularies/document#root'?: LdValueBoolean[];
64
- 'http://a.ml/vocabularies/document#encodes'?: Shape[];
65
- 'http://a.ml/vocabularies/document#references'?: DomainElement[];
66
- }
67
- export interface ExternalFragment extends DomainElement {
68
- 'http://a.ml/vocabularies/document#version'?: LdValueString[];
69
- 'http://a.ml/vocabularies/document#root'?: LdValueBoolean[];
70
- 'http://a.ml/vocabularies/document#encodes'?: ExternalDomainElement[];
71
- }
72
- export interface Organization extends DomainElement {
73
- 'http://a.ml/vocabularies/core#email'?: LdValueString[];
74
- 'http://a.ml/vocabularies/core#url'?: LdValueString[];
75
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
76
- }
77
- export interface License extends DomainElement {
78
- 'http://a.ml/vocabularies/core#url'?: LdValueString[];
79
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
80
- }
81
- export declare interface Server extends DomainElement {
82
- 'http://a.ml/vocabularies/core#urlTemplate'?: LdValueString[];
83
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
84
- 'http://a.ml/vocabularies/apiContract#variable'?: Parameter[];
85
- }
86
- export declare interface EndPoint extends DomainElement {
87
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
88
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
89
- 'http://a.ml/vocabularies/apiContract#guiSummary'?: LdValueString[];
90
- 'http://a.ml/vocabularies/apiContract#path'?: LdValueString[];
91
- 'http://a.ml/vocabularies/apiContract#supportedOperation'?: Operation[];
92
- 'http://a.ml/vocabularies/apiContract#parameter'?: Parameter[];
93
- 'http://a.ml/vocabularies/apiContract#payload'?: Payload[];
94
- 'http://a.ml/vocabularies/apiContract#server'?: Server[];
95
- 'http://a.ml/vocabularies/security#security'?: SecurityRequirement[];
96
- 'http://a.ml/vocabularies/document#extends'?: ParametrizedDeclaration[];
97
- }
98
- export declare interface Operation extends DomainElement {
99
- 'http://a.ml/vocabularies/apiContract#method': LdValueString[];
100
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
101
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
102
- 'http://a.ml/vocabularies/shapes#deprecated'?: LdValueBoolean[];
103
- 'http://a.ml/vocabularies/apiContract#guiSummary'?: LdValueString[];
104
- 'http://a.ml/vocabularies/core#documentation'?: CreativeWork[];
105
- 'http://a.ml/vocabularies/apiContract#scheme'?: LdValueString[];
106
- 'http://a.ml/vocabularies/apiContract#accepts'?: LdValueString[];
107
- 'http://a.ml/vocabularies/apiContract#contentType'?: LdValueString[];
108
- 'http://a.ml/vocabularies/apiContract#expects'?: Request[];
109
- 'http://a.ml/vocabularies/apiContract#returns'?: Response[];
110
- 'http://a.ml/vocabularies/security#security'?: SecurityRequirement[];
111
- 'http://a.ml/vocabularies/apiContract#callback'?: Callback[];
112
- 'http://a.ml/vocabularies/apiContract#server'?: Server[];
113
- 'http://a.ml/vocabularies/document#extends'?: ParametrizedTrait[];
114
- }
115
- export interface Payload extends DomainElement {
116
- 'http://a.ml/vocabularies/core#mediaType': LdValueString[];
117
- 'http://a.ml/vocabularies/shapes#schema'?: DomainElement[];
118
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
119
- 'http://a.ml/vocabularies/apiContract#examples'?: Example[];
120
- }
121
- export interface Request extends DomainElement {
122
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
123
- 'http://a.ml/vocabularies/apiContract#payload'?: Payload[];
124
- 'http://a.ml/vocabularies/apiContract#required'?: LdValueBoolean[];
125
- 'http://a.ml/vocabularies/apiContract#parameter'?: Parameter[];
126
- 'http://a.ml/vocabularies/apiContract#uriParameter'?: Parameter[];
127
- 'http://a.ml/vocabularies/apiContract#header'?: Parameter[];
128
- 'http://a.ml/vocabularies/apiContract#cookieParameter'?: Parameter[];
129
- 'http://a.ml/vocabularies/apiContract#queryString'?: Shape;
130
- }
131
- export interface Response extends DomainElement {
132
- 'http://a.ml/vocabularies/apiContract#statusCode': LdValueString[];
133
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
134
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
135
- 'http://a.ml/vocabularies/apiContract#payload'?: Payload[];
136
- 'http://a.ml/vocabularies/apiContract#header'?: Parameter[];
137
- 'http://a.ml/vocabularies/apiContract#examples'?: Example[];
138
- 'http://a.ml/vocabularies/apiContract#link'?: TemplatedLink[];
139
- }
140
- export declare interface Parameter extends DomainElement {
141
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
142
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
143
- 'http://a.ml/vocabularies/shapes#schema'?: DomainElement[];
144
- 'http://a.ml/vocabularies/shapes#deprecated'?: LdValueBoolean[];
145
- 'http://a.ml/vocabularies/apiContract#paramName'?: LdValueString[];
146
- 'http://a.ml/vocabularies/apiContract#required'?: LdValueBoolean[];
147
- 'http://a.ml/vocabularies/apiContract#binding'?: LdValueString[];
148
- 'http://a.ml/vocabularies/apiContract#allowEmptyValue'?: LdValueBoolean[];
149
- 'http://a.ml/vocabularies/apiContract#style'?: LdValueString[];
150
- 'http://a.ml/vocabularies/apiContract#explode'?: LdValueBoolean[];
151
- 'http://a.ml/vocabularies/apiContract#allowReserved'?: LdValueBoolean[];
152
- }
153
- export interface TemplatedLink extends DomainElement {
154
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
155
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
156
- 'http://a.ml/vocabularies/apiContract#operationId': LdValueString[];
157
- 'http://a.ml/vocabularies/apiContract#mapping': IriTemplateMapping[];
158
- 'http://a.ml/vocabularies/apiContract#server'?: Server[];
159
- }
160
- export interface IriTemplateMapping extends DomainElement {
161
- 'http://a.ml/vocabularies/apiContract#templateVariable'?: LdValueString[];
162
- 'http://a.ml/vocabularies/apiContract#linkExpression'?: LdValueString[];
163
- }
164
- export declare interface Shape extends DomainElement, Linkable {
165
- 'http://www.w3.org/ns/shacl#name'?: LdValueString[];
166
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
167
- 'http://a.ml/vocabularies/core#displayName'?: LdValueString[];
168
- 'http://www.w3.org/ns/shacl#defaultValueStr'?: LdValueString[];
169
- 'http://www.w3.org/ns/shacl#defaultValue'?: DataNode[];
170
- 'http://a.ml/vocabularies/shapes#readOnly'?: LdValueBoolean[];
171
- 'http://a.ml/vocabularies/shapes#writeOnly'?: LdValueBoolean[];
172
- 'http://a.ml/vocabularies/shapes#deprecated'?: LdValueBoolean[];
173
- 'http://a.ml/vocabularies/document#location'?: LdValueString[];
174
- 'http://www.w3.org/ns/shacl#or'?: Shape[];
175
- 'http://www.w3.org/ns/shacl#and'?: Shape[];
176
- 'http://www.w3.org/ns/shacl#xone'?: Shape[];
177
- 'http://www.w3.org/ns/shacl#not'?: Shape[];
178
- }
179
- export declare interface PropertyShape extends Shape {
180
- 'http://www.w3.org/ns/shacl#path'?: LdIdValue[];
181
- 'http://a.ml/vocabularies/shapes#range'?: Shape[];
182
- 'http://www.w3.org/ns/shacl#minCount'?: LdValueNumber[];
183
- 'http://www.w3.org/ns/shacl#maxCount'?: LdValueNumber[];
184
- }
185
- export declare interface AnyShape extends Shape {
186
- 'http://a.ml/vocabularies/core#documentation'?: CreativeWork[];
187
- 'http://a.ml/vocabularies/shapes#xmlSerialization'?: DomainElement[];
188
- 'http://a.ml/vocabularies/apiContract#examples'?: DomainElement[];
189
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
190
- }
191
- export declare interface DataArrangeShape extends AnyShape {
192
- }
193
- export declare interface ArrayShape extends DataArrangeShape {
194
- 'http://a.ml/vocabularies/shapes#items'?: Shape[];
195
- }
196
- export declare interface UnionShape extends AnyShape {
197
- 'http://a.ml/vocabularies/shapes#anyOf'?: Shape[];
198
- }
199
- export declare interface TupleShape extends AnyShape {
200
- 'http://a.ml/vocabularies/shapes#items'?: Shape[];
201
- }
202
- export declare interface FileShape extends AnyShape {
203
- 'http://a.ml/vocabularies/shapes#fileType'?: LdValueString[];
204
- 'http://www.w3.org/ns/shacl#pattern'?: LdValueString[];
205
- 'http://www.w3.org/ns/shacl#minLength'?: LdValueNumber[];
206
- 'http://www.w3.org/ns/shacl#maxLength'?: LdValueNumber[];
207
- 'http://a.ml/vocabularies/shapes#minimum'?: LdValueNumber[];
208
- 'http://a.ml/vocabularies/shapes#maximum'?: LdValueNumber[];
209
- 'http://a.ml/vocabularies/shapes#exclusiveMinimum'?: LdValueBoolean[];
210
- 'http://a.ml/vocabularies/shapes#exclusiveMaximum'?: LdValueBoolean[];
211
- 'http://a.ml/vocabularies/shapes#format'?: LdValueString[];
212
- 'http://a.ml/vocabularies/shapes#multipleOf'?: LdValueNumber[];
213
- }
214
- export declare interface NilShape extends AnyShape {
215
- }
216
- export declare interface RecursiveShape extends Shape {
217
- 'http://a.ml/vocabularies/shapes#fixPoint'?: LdIdValue[];
218
- 'http://a.ml/vocabularies/document#recursive'?: LdValueBoolean[];
219
- }
220
- export declare interface ScalarShape extends Shape {
221
- 'http://www.w3.org/ns/shacl#datatype'?: LdIdValue[];
222
- 'http://www.w3.org/ns/shacl#pattern'?: LdValueString[];
223
- 'http://www.w3.org/ns/shacl#minLength'?: LdValueNumber[];
224
- 'http://www.w3.org/ns/shacl#maxLength'?: LdValueNumber[];
225
- 'http://a.ml/vocabularies/shapes#minimum': LdValueNumber[];
226
- 'http://a.ml/vocabularies/shapes#maximum': LdValueNumber[];
227
- 'http://a.ml/vocabularies/shapes#exclusiveMinimum': LdValueBoolean[];
228
- 'http://a.ml/vocabularies/shapes#exclusiveMaximum': LdValueBoolean[];
229
- 'http://a.ml/vocabularies/shapes#format'?: LdValueString[];
230
- 'http://a.ml/vocabularies/shapes#multipleOf'?: LdValueNumber[];
231
- }
232
- export declare interface SchemaShape extends Shape {
233
- 'http://a.ml/vocabularies/core#mediaType': LdValueString[];
234
- 'http://a.ml/vocabularies/document#raw'?: LdValueString[];
235
- }
236
- export declare interface NodeShape extends AnyShape {
237
- 'http://www.w3.org/ns/shacl#closed'?: LdValueBoolean[];
238
- 'http://a.ml/vocabularies/shapes#discriminator'?: LdValueString[];
239
- 'http://a.ml/vocabularies/shapes#discriminatorValue'?: LdValueString[];
240
- 'http://www.w3.org/ns/shacl#property'?: PropertyShape[];
241
- }
242
- export declare interface DataNode extends DomainElement {
243
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
244
- }
245
- export declare interface ObjectNode extends DataNode {
246
- }
247
- export declare interface ArrayNode extends DataNode {
248
- }
249
- export declare interface ScalarNode extends DataNode {
250
- 'http://a.ml/vocabularies/data#value'?: LdValueString[];
251
- 'http://www.w3.org/ns/shacl#datatype'?: LdIdValue[];
252
- }
253
- export declare interface Example extends DomainElement, Linkable {
254
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
255
- 'http://a.ml/vocabularies/core#displayName'?: LdValueString[];
256
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
257
- 'http://a.ml/vocabularies/data#value'?: LdIdValue[];
258
- 'http://a.ml/vocabularies/document#structuredValue'?: DataNode[];
259
- 'http://a.ml/vocabularies/document#strict'?: LdValueBoolean[];
260
- 'http://a.ml/vocabularies/core#mediaType'?: LdValueString[];
261
- 'http://a.ml/vocabularies/document#raw'?: LdValueString[];
262
- }
263
- export interface CreativeWork extends DomainElement {
264
- 'http://a.ml/vocabularies/core#title'?: LdValueString[];
265
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
266
- }
267
- export interface SecurityRequirement extends DomainElement {
268
- 'http://a.ml/vocabularies/security#schemes'?: ParametrizedSecurityScheme[];
269
- 'http://a.ml/vocabularies/security#name'?: LdValueString[];
270
- }
271
- export interface ParametrizedSecurityScheme extends DomainElement {
272
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
273
- 'http://a.ml/vocabularies/security#scheme'?: SecurityScheme[];
274
- 'http://a.ml/vocabularies/security#settings': Settings[];
275
- }
276
- export interface SecurityScheme extends DomainElement {
277
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
278
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
279
- 'http://a.ml/vocabularies/security#type'?: LdValueString[];
280
- 'http://a.ml/vocabularies/core#displayName'?: LdValueString[];
281
- 'http://a.ml/vocabularies/apiContract#parameter'?: Parameter[];
282
- 'http://a.ml/vocabularies/apiContract#header'?: Parameter[];
283
- 'http://a.ml/vocabularies/security#settings'?: Settings[];
284
- 'http://a.ml/vocabularies/apiContract#response'?: Response[];
285
- 'http://a.ml/vocabularies/apiContract#queryString'?: Shape;
286
- }
287
- export interface Settings extends DomainElement {
288
- }
289
- export interface OAuth1Settings extends Settings {
290
- 'http://a.ml/vocabularies/security#requestTokenUri'?: LdValueString[];
291
- 'http://a.ml/vocabularies/security#authorizationUri'?: LdValueString[];
292
- 'http://a.ml/vocabularies/security#tokenCredentialsUri'?: LdValueString[];
293
- 'http://a.ml/vocabularies/security#signature': LdValueString[];
294
- }
295
- export interface OAuth2Settings extends Settings {
296
- 'http://a.ml/vocabularies/security#authorizationGrant': LdValueString[];
297
- 'http://a.ml/vocabularies/security#flows'?: OAuth2Flow[];
298
- }
299
- export interface OAuth2Flow extends Settings {
300
- 'http://a.ml/vocabularies/security#authorizationUri'?: LdValueString[];
301
- 'http://a.ml/vocabularies/security#accessTokenUri': LdValueString[];
302
- 'http://a.ml/vocabularies/security#flow'?: LdValueString[];
303
- 'http://a.ml/vocabularies/security#refreshUri': LdValueString[];
304
- 'http://a.ml/vocabularies/security#scope'?: Scope[];
305
- }
306
- export interface ApiKeySettings extends Settings {
307
- 'http://a.ml/vocabularies/core#name': LdValueString[];
308
- 'http://a.ml/vocabularies/security#in': LdValueString[];
309
- }
310
- export interface HttpSettings extends Settings {
311
- 'http://a.ml/vocabularies/security#scheme'?: LdValueString[];
312
- 'http://a.ml/vocabularies/security#bearerFormat'?: LdValueString[];
313
- }
314
- export interface OpenIdConnectSettings extends Settings {
315
- 'http://a.ml/vocabularies/security#openIdConnectUrl': LdValueString[];
316
- }
317
- export interface Scope extends DomainElement {
318
- 'http://a.ml/vocabularies/core#name': LdValueString[];
319
- 'http://a.ml/vocabularies/core#description': LdValueString[];
320
- }
321
- export interface Callback extends DomainElement {
322
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
323
- 'http://a.ml/vocabularies/apiContract#expression'?: LdValueString[];
324
- 'http://a.ml/vocabularies/apiContract#endpoint'?: EndPoint[];
325
- }
326
- export interface XMLSerializer extends DomainElement {
327
- 'http://a.ml/vocabularies/shapes#xmlAttribute'?: LdValueBoolean[];
328
- 'http://a.ml/vocabularies/shapes#xmlWrapped'?: LdValueBoolean[];
329
- 'http://a.ml/vocabularies/shapes#xmlName'?: LdValueBoolean[];
330
- }
331
- export interface Tag extends DomainElement {
332
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
333
- }
334
- export interface DocumentSourceMaps extends DomainElement {
335
- 'http://a.ml/vocabularies/document-source-maps#synthesized-field'?: SynthesizedField[];
336
- 'http://a.ml/vocabularies/document-source-maps#lexical'?: SynthesizedField[];
337
- 'http://a.ml/vocabularies/document-source-maps#tracked-element'?: SynthesizedField[];
338
- }
339
- export interface SynthesizedField {
30
+ export interface IAmfDocument extends IAmfDomainElement {
31
+ 'http://a.ml/vocabularies/document#version'?: IAmfLdValueString[];
32
+ 'http://a.ml/vocabularies/document#root'?: IAmfLdValueBoolean[];
33
+ 'http://a.ml/vocabularies/document#encodes'?: IAmfDomainElement[];
34
+ 'http://a.ml/vocabularies/document#references'?: IAmfDomainElement[];
35
+ 'http://a.ml/vocabularies/document#declares'?: IAmfDomainElement[];
36
+ }
37
+ export interface IAmfApi extends IAmfDomainElement {
38
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
39
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
40
+ 'http://a.ml/vocabularies/apiContract#server'?: IAmfServer[];
41
+ 'http://a.ml/vocabularies/apiContract#accepts'?: IAmfLdValueString[];
42
+ 'http://a.ml/vocabularies/apiContract#contentType'?: IAmfLdValueString[];
43
+ 'http://a.ml/vocabularies/apiContract#scheme'?: IAmfLdValueString[];
44
+ 'http://a.ml/vocabularies/core#version'?: IAmfLdValueString[];
45
+ 'http://a.ml/vocabularies/core#documentation'?: IAmfCreativeWork[];
46
+ 'http://a.ml/vocabularies/apiContract#endpoint'?: IAmfEndPoint[];
47
+ 'http://a.ml/vocabularies/apiContract#tag'?: IAmfTag[];
48
+ 'http://a.ml/vocabularies/core#provider'?: IAmfOrganization[];
49
+ 'http://a.ml/vocabularies/core#license'?: IAmfLicense[];
50
+ }
51
+ export interface IAmfWebApi extends IAmfApi {
52
+ }
53
+ export interface IAmfAsyncApi extends IAmfApi {
54
+ }
55
+ export interface IAmfModule extends IAmfDomainElement {
56
+ 'http://a.ml/vocabularies/document#version'?: IAmfLdValueString[];
57
+ 'http://a.ml/vocabularies/document#root'?: IAmfLdValueBoolean[];
58
+ 'http://a.ml/vocabularies/document#declares'?: IAmfDomainElement[];
59
+ 'http://a.ml/vocabularies/document#usage'?: IAmfLdValueString[];
60
+ }
61
+ export interface IAmfDataTypeFragment extends IAmfDomainElement {
62
+ 'http://a.ml/vocabularies/document#version'?: IAmfLdValueString[];
63
+ 'http://a.ml/vocabularies/document#root'?: IAmfLdValueBoolean[];
64
+ 'http://a.ml/vocabularies/document#encodes'?: IAmfShape[];
65
+ 'http://a.ml/vocabularies/document#references'?: IAmfDomainElement[];
66
+ }
67
+ export interface IAmfExternalFragment extends IAmfDomainElement {
68
+ 'http://a.ml/vocabularies/document#version'?: IAmfLdValueString[];
69
+ 'http://a.ml/vocabularies/document#root'?: IAmfLdValueBoolean[];
70
+ 'http://a.ml/vocabularies/document#encodes'?: IAmfExternalDomainElement[];
71
+ }
72
+ export interface IAmfOrganization extends IAmfDomainElement {
73
+ 'http://a.ml/vocabularies/core#email'?: IAmfLdValueString[];
74
+ 'http://a.ml/vocabularies/core#url'?: IAmfLdValueString[];
75
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
76
+ }
77
+ export interface IAmfLicense extends IAmfDomainElement {
78
+ 'http://a.ml/vocabularies/core#url'?: IAmfLdValueString[];
79
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
80
+ }
81
+ export declare interface IAmfServer extends IAmfDomainElement {
82
+ 'http://a.ml/vocabularies/core#urlTemplate'?: IAmfLdValueString[];
83
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
84
+ 'http://a.ml/vocabularies/apiContract#variable'?: IAmfParameter[];
85
+ }
86
+ export declare interface IAmfEndPoint extends IAmfDomainElement {
87
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
88
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
89
+ 'http://a.ml/vocabularies/apiContract#guiSummary'?: IAmfLdValueString[];
90
+ 'http://a.ml/vocabularies/apiContract#path'?: IAmfLdValueString[];
91
+ 'http://a.ml/vocabularies/apiContract#supportedOperation'?: IAmfOperation[];
92
+ 'http://a.ml/vocabularies/apiContract#parameter'?: IAmfParameter[];
93
+ 'http://a.ml/vocabularies/apiContract#payload'?: IAmfPayload[];
94
+ 'http://a.ml/vocabularies/apiContract#server'?: IAmfServer[];
95
+ 'http://a.ml/vocabularies/security#security'?: IAmfSecurityRequirement[];
96
+ 'http://a.ml/vocabularies/document#extends'?: IAmfParametrizedDeclaration[];
97
+ }
98
+ export declare interface IAmfOperation extends IAmfDomainElement {
99
+ 'http://a.ml/vocabularies/apiContract#method': IAmfLdValueString[];
100
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
101
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
102
+ 'http://a.ml/vocabularies/shapes#deprecated'?: IAmfLdValueBoolean[];
103
+ 'http://a.ml/vocabularies/apiContract#guiSummary'?: IAmfLdValueString[];
104
+ 'http://a.ml/vocabularies/core#documentation'?: IAmfCreativeWork[];
105
+ 'http://a.ml/vocabularies/apiContract#scheme'?: IAmfLdValueString[];
106
+ 'http://a.ml/vocabularies/apiContract#accepts'?: IAmfLdValueString[];
107
+ 'http://a.ml/vocabularies/apiContract#contentType'?: IAmfLdValueString[];
108
+ 'http://a.ml/vocabularies/apiContract#expects'?: IAmfRequest[];
109
+ 'http://a.ml/vocabularies/apiContract#returns'?: IAmfResponse[];
110
+ 'http://a.ml/vocabularies/security#security'?: IAmfSecurityRequirement[];
111
+ 'http://a.ml/vocabularies/apiContract#callback'?: IAmfCallback[];
112
+ 'http://a.ml/vocabularies/apiContract#server'?: IAmfServer[];
113
+ 'http://a.ml/vocabularies/document#extends'?: IAmfParametrizedTrait[];
114
+ }
115
+ export interface IAmfPayload extends IAmfDomainElement {
116
+ 'http://a.ml/vocabularies/core#mediaType': IAmfLdValueString[];
117
+ 'http://a.ml/vocabularies/shapes#schema'?: IAmfDomainElement[];
118
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
119
+ 'http://a.ml/vocabularies/apiContract#examples'?: IAmfExample[];
120
+ }
121
+ export interface IAmfRequest extends IAmfDomainElement {
122
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
123
+ 'http://a.ml/vocabularies/apiContract#payload'?: IAmfPayload[];
124
+ 'http://a.ml/vocabularies/apiContract#required'?: IAmfLdValueBoolean[];
125
+ 'http://a.ml/vocabularies/apiContract#parameter'?: IAmfParameter[];
126
+ 'http://a.ml/vocabularies/apiContract#uriParameter'?: IAmfParameter[];
127
+ 'http://a.ml/vocabularies/apiContract#header'?: IAmfParameter[];
128
+ 'http://a.ml/vocabularies/apiContract#cookieParameter'?: IAmfParameter[];
129
+ 'http://a.ml/vocabularies/apiContract#queryString'?: IAmfShape;
130
+ }
131
+ export interface IAmfResponse extends IAmfDomainElement {
132
+ 'http://a.ml/vocabularies/apiContract#statusCode': IAmfLdValueString[];
133
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
134
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
135
+ 'http://a.ml/vocabularies/apiContract#payload'?: IAmfPayload[];
136
+ 'http://a.ml/vocabularies/apiContract#header'?: IAmfParameter[];
137
+ 'http://a.ml/vocabularies/apiContract#examples'?: IAmfExample[];
138
+ 'http://a.ml/vocabularies/apiContract#link'?: IAmfTemplatedLink[];
139
+ }
140
+ export declare interface IAmfParameter extends IAmfDomainElement {
141
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
142
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
143
+ 'http://a.ml/vocabularies/shapes#schema'?: IAmfDomainElement[];
144
+ 'http://a.ml/vocabularies/shapes#deprecated'?: IAmfLdValueBoolean[];
145
+ 'http://a.ml/vocabularies/apiContract#paramName'?: IAmfLdValueString[];
146
+ 'http://a.ml/vocabularies/apiContract#required'?: IAmfLdValueBoolean[];
147
+ 'http://a.ml/vocabularies/apiContract#binding'?: IAmfLdValueString[];
148
+ 'http://a.ml/vocabularies/apiContract#allowEmptyValue'?: IAmfLdValueBoolean[];
149
+ 'http://a.ml/vocabularies/apiContract#style'?: IAmfLdValueString[];
150
+ 'http://a.ml/vocabularies/apiContract#explode'?: IAmfLdValueBoolean[];
151
+ 'http://a.ml/vocabularies/apiContract#allowReserved'?: IAmfLdValueBoolean[];
152
+ }
153
+ export interface IAmfTemplatedLink extends IAmfDomainElement {
154
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
155
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
156
+ 'http://a.ml/vocabularies/apiContract#operationId': IAmfLdValueString[];
157
+ 'http://a.ml/vocabularies/apiContract#mapping': IAmfIriTemplateMapping[];
158
+ 'http://a.ml/vocabularies/apiContract#server'?: IAmfServer[];
159
+ }
160
+ export interface IAmfIriTemplateMapping extends IAmfDomainElement {
161
+ 'http://a.ml/vocabularies/apiContract#templateVariable'?: IAmfLdValueString[];
162
+ 'http://a.ml/vocabularies/apiContract#linkExpression'?: IAmfLdValueString[];
163
+ }
164
+ export declare interface IAmfShape extends IAmfDomainElement, IAmfLinkable {
165
+ 'http://www.w3.org/ns/shacl#name'?: IAmfLdValueString[];
166
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
167
+ 'http://a.ml/vocabularies/core#displayName'?: IAmfLdValueString[];
168
+ 'http://www.w3.org/ns/shacl#defaultValueStr'?: IAmfLdValueString[];
169
+ 'http://www.w3.org/ns/shacl#defaultValue'?: IAmfDataNode[];
170
+ 'http://a.ml/vocabularies/shapes#readOnly'?: IAmfLdValueBoolean[];
171
+ 'http://a.ml/vocabularies/shapes#writeOnly'?: IAmfLdValueBoolean[];
172
+ 'http://a.ml/vocabularies/shapes#deprecated'?: IAmfLdValueBoolean[];
173
+ 'http://a.ml/vocabularies/document#location'?: IAmfLdValueString[];
174
+ 'http://www.w3.org/ns/shacl#or'?: IAmfShape[];
175
+ 'http://www.w3.org/ns/shacl#and'?: IAmfShape[];
176
+ 'http://www.w3.org/ns/shacl#xone'?: IAmfShape[];
177
+ 'http://www.w3.org/ns/shacl#not'?: IAmfShape[];
178
+ }
179
+ export declare interface IAmfPropertyShape extends IAmfShape {
180
+ 'http://www.w3.org/ns/shacl#path'?: IAmfLdIdValue[];
181
+ 'http://a.ml/vocabularies/shapes#range'?: IAmfShape[];
182
+ 'http://www.w3.org/ns/shacl#minCount'?: IAmfLdValueNumber[];
183
+ 'http://www.w3.org/ns/shacl#maxCount'?: IAmfLdValueNumber[];
184
+ }
185
+ export declare interface IAmfAnyShape extends IAmfShape {
186
+ 'http://a.ml/vocabularies/core#documentation'?: IAmfCreativeWork[];
187
+ 'http://a.ml/vocabularies/shapes#xmlSerialization'?: IAmfDomainElement[];
188
+ 'http://a.ml/vocabularies/apiContract#examples'?: IAmfDomainElement[];
189
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
190
+ }
191
+ export declare interface IAmfDataArrangeShape extends IAmfAnyShape {
192
+ }
193
+ export declare interface IAmfArrayShape extends IAmfDataArrangeShape {
194
+ 'http://a.ml/vocabularies/shapes#items'?: IAmfShape[];
195
+ }
196
+ export declare interface IAmfUnionShape extends IAmfAnyShape {
197
+ 'http://a.ml/vocabularies/shapes#anyOf'?: IAmfShape[];
198
+ }
199
+ export declare interface IAmfTupleShape extends IAmfAnyShape {
200
+ 'http://a.ml/vocabularies/shapes#items'?: IAmfShape[];
201
+ }
202
+ export declare interface IAmfFileShape extends IAmfAnyShape {
203
+ 'http://a.ml/vocabularies/shapes#fileType'?: IAmfLdValueString[];
204
+ 'http://www.w3.org/ns/shacl#pattern'?: IAmfLdValueString[];
205
+ 'http://www.w3.org/ns/shacl#minLength'?: IAmfLdValueNumber[];
206
+ 'http://www.w3.org/ns/shacl#maxLength'?: IAmfLdValueNumber[];
207
+ 'http://a.ml/vocabularies/shapes#minimum'?: IAmfLdValueNumber[];
208
+ 'http://a.ml/vocabularies/shapes#maximum'?: IAmfLdValueNumber[];
209
+ 'http://a.ml/vocabularies/shapes#exclusiveMinimum'?: IAmfLdValueBoolean[];
210
+ 'http://a.ml/vocabularies/shapes#exclusiveMaximum'?: IAmfLdValueBoolean[];
211
+ 'http://a.ml/vocabularies/shapes#format'?: IAmfLdValueString[];
212
+ 'http://a.ml/vocabularies/shapes#multipleOf'?: IAmfLdValueNumber[];
213
+ }
214
+ export declare interface IAmfNilShape extends IAmfAnyShape {
215
+ }
216
+ export declare interface IAmfRecursiveShape extends IAmfShape {
217
+ 'http://a.ml/vocabularies/shapes#fixPoint'?: IAmfLdIdValue[];
218
+ 'http://a.ml/vocabularies/document#recursive'?: IAmfLdValueBoolean[];
219
+ }
220
+ export declare interface IAmfScalarShape extends IAmfShape {
221
+ 'http://www.w3.org/ns/shacl#datatype'?: IAmfLdIdValue[];
222
+ 'http://www.w3.org/ns/shacl#pattern'?: IAmfLdValueString[];
223
+ 'http://www.w3.org/ns/shacl#minLength'?: IAmfLdValueNumber[];
224
+ 'http://www.w3.org/ns/shacl#maxLength'?: IAmfLdValueNumber[];
225
+ 'http://a.ml/vocabularies/shapes#minimum': IAmfLdValueNumber[];
226
+ 'http://a.ml/vocabularies/shapes#maximum': IAmfLdValueNumber[];
227
+ 'http://a.ml/vocabularies/shapes#exclusiveMinimum': IAmfLdValueBoolean[];
228
+ 'http://a.ml/vocabularies/shapes#exclusiveMaximum': IAmfLdValueBoolean[];
229
+ 'http://a.ml/vocabularies/shapes#format'?: IAmfLdValueString[];
230
+ 'http://a.ml/vocabularies/shapes#multipleOf'?: IAmfLdValueNumber[];
231
+ }
232
+ export declare interface IAmfSchemaShape extends IAmfShape {
233
+ 'http://a.ml/vocabularies/core#mediaType': IAmfLdValueString[];
234
+ 'http://a.ml/vocabularies/document#raw'?: IAmfLdValueString[];
235
+ }
236
+ export declare interface IAmfNodeShape extends IAmfAnyShape {
237
+ 'http://www.w3.org/ns/shacl#closed'?: IAmfLdValueBoolean[];
238
+ 'http://a.ml/vocabularies/shapes#discriminator'?: IAmfLdValueString[];
239
+ 'http://a.ml/vocabularies/shapes#discriminatorValue'?: IAmfLdValueString[];
240
+ 'http://www.w3.org/ns/shacl#property'?: IAmfPropertyShape[];
241
+ }
242
+ export declare interface IAmfDataNode extends IAmfDomainElement {
243
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
244
+ }
245
+ export declare interface IAmfObjectNode extends IAmfDataNode {
246
+ }
247
+ export declare interface IAmfArrayNode extends IAmfDataNode {
248
+ }
249
+ export declare interface IAmfScalarNode extends IAmfDataNode {
250
+ 'http://a.ml/vocabularies/data#value'?: IAmfLdValueString[];
251
+ 'http://www.w3.org/ns/shacl#datatype'?: IAmfLdIdValue[];
252
+ }
253
+ export declare interface IAmfExample extends IAmfDomainElement, IAmfLinkable {
254
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
255
+ 'http://a.ml/vocabularies/core#displayName'?: IAmfLdValueString[];
256
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
257
+ 'http://a.ml/vocabularies/data#value'?: IAmfLdIdValue[];
258
+ 'http://a.ml/vocabularies/document#structuredValue'?: IAmfDataNode[];
259
+ 'http://a.ml/vocabularies/document#strict'?: IAmfLdValueBoolean[];
260
+ 'http://a.ml/vocabularies/core#mediaType'?: IAmfLdValueString[];
261
+ 'http://a.ml/vocabularies/document#raw'?: IAmfLdValueString[];
262
+ }
263
+ export interface IAmfCreativeWork extends IAmfDomainElement {
264
+ 'http://a.ml/vocabularies/core#title'?: IAmfLdValueString[];
265
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
266
+ }
267
+ export interface IAmfSecurityRequirement extends IAmfDomainElement {
268
+ 'http://a.ml/vocabularies/security#schemes'?: IAmfParametrizedSecurityScheme[];
269
+ 'http://a.ml/vocabularies/security#name'?: IAmfLdValueString[];
270
+ }
271
+ export interface IAmfParametrizedSecurityScheme extends IAmfDomainElement {
272
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
273
+ 'http://a.ml/vocabularies/security#scheme'?: IAmfSecurityScheme[];
274
+ 'http://a.ml/vocabularies/security#settings': IAmfSettings[];
275
+ }
276
+ export interface IAmfSecurityScheme extends IAmfDomainElement {
277
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
278
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
279
+ 'http://a.ml/vocabularies/security#type'?: IAmfLdValueString[];
280
+ 'http://a.ml/vocabularies/core#displayName'?: IAmfLdValueString[];
281
+ 'http://a.ml/vocabularies/apiContract#parameter'?: IAmfParameter[];
282
+ 'http://a.ml/vocabularies/apiContract#header'?: IAmfParameter[];
283
+ 'http://a.ml/vocabularies/security#settings'?: IAmfSettings[];
284
+ 'http://a.ml/vocabularies/apiContract#response'?: IAmfResponse[];
285
+ 'http://a.ml/vocabularies/apiContract#queryString'?: IAmfShape;
286
+ }
287
+ export interface IAmfSettings extends IAmfDomainElement {
288
+ }
289
+ export interface IAmfOAuth1Settings extends IAmfSettings {
290
+ 'http://a.ml/vocabularies/security#requestTokenUri'?: IAmfLdValueString[];
291
+ 'http://a.ml/vocabularies/security#authorizationUri'?: IAmfLdValueString[];
292
+ 'http://a.ml/vocabularies/security#tokenCredentialsUri'?: IAmfLdValueString[];
293
+ 'http://a.ml/vocabularies/security#signature': IAmfLdValueString[];
294
+ }
295
+ export interface IAmfOAuth2Settings extends IAmfSettings {
296
+ 'http://a.ml/vocabularies/security#authorizationGrant': IAmfLdValueString[];
297
+ 'http://a.ml/vocabularies/security#flows'?: IAmfOAuth2Flow[];
298
+ }
299
+ export interface IAmfOAuth2Flow extends IAmfSettings {
300
+ 'http://a.ml/vocabularies/security#authorizationUri'?: IAmfLdValueString[];
301
+ 'http://a.ml/vocabularies/security#accessTokenUri': IAmfLdValueString[];
302
+ 'http://a.ml/vocabularies/security#flow'?: IAmfLdValueString[];
303
+ 'http://a.ml/vocabularies/security#refreshUri': IAmfLdValueString[];
304
+ 'http://a.ml/vocabularies/security#scope'?: IAmfScope[];
305
+ }
306
+ export interface IAmfApiKeySettings extends IAmfSettings {
307
+ 'http://a.ml/vocabularies/core#name': IAmfLdValueString[];
308
+ 'http://a.ml/vocabularies/security#in': IAmfLdValueString[];
309
+ }
310
+ export interface IAmfHttpSettings extends IAmfSettings {
311
+ 'http://a.ml/vocabularies/security#scheme'?: IAmfLdValueString[];
312
+ 'http://a.ml/vocabularies/security#bearerFormat'?: IAmfLdValueString[];
313
+ }
314
+ export interface IAmfOpenIdConnectSettings extends IAmfSettings {
315
+ 'http://a.ml/vocabularies/security#openIdConnectUrl': IAmfLdValueString[];
316
+ }
317
+ export interface IAmfScope extends IAmfDomainElement {
318
+ 'http://a.ml/vocabularies/core#name': IAmfLdValueString[];
319
+ 'http://a.ml/vocabularies/core#description': IAmfLdValueString[];
320
+ }
321
+ export interface IAmfCallback extends IAmfDomainElement {
322
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
323
+ 'http://a.ml/vocabularies/apiContract#expression'?: IAmfLdValueString[];
324
+ 'http://a.ml/vocabularies/apiContract#endpoint'?: IAmfEndPoint[];
325
+ }
326
+ export interface IAmfXMLSerializer extends IAmfDomainElement {
327
+ 'http://a.ml/vocabularies/shapes#xmlAttribute'?: IAmfLdValueBoolean[];
328
+ 'http://a.ml/vocabularies/shapes#xmlWrapped'?: IAmfLdValueBoolean[];
329
+ 'http://a.ml/vocabularies/shapes#xmlName'?: IAmfLdValueBoolean[];
330
+ }
331
+ export interface IAmfTag extends IAmfDomainElement {
332
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
333
+ }
334
+ export interface IAmfDocumentSourceMaps extends IAmfDomainElement {
335
+ 'http://a.ml/vocabularies/document-source-maps#synthesized-field'?: IAmfSynthesizedField[];
336
+ 'http://a.ml/vocabularies/document-source-maps#lexical'?: IAmfSynthesizedField[];
337
+ 'http://a.ml/vocabularies/document-source-maps#tracked-element'?: IAmfSynthesizedField[];
338
+ }
339
+ export interface IAmfSynthesizedField {
340
340
  '@id': string;
341
- 'http://a.ml/vocabularies/document-source-maps#element'?: LdValueString[];
342
- 'http://a.ml/vocabularies/document-source-maps#value'?: LdValueString[];
341
+ 'http://a.ml/vocabularies/document-source-maps#element'?: IAmfLdValueString[];
342
+ 'http://a.ml/vocabularies/document-source-maps#value'?: IAmfLdValueString[];
343
343
  }
344
- export interface ParametrizedDeclaration extends DomainElement {
345
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
346
- 'http://a.ml/vocabularies/document#target'?: AbstractDeclaration[];
347
- 'http://a.ml/vocabularies/document#variable'?: VariableValue[];
344
+ export interface IAmfParametrizedDeclaration extends IAmfDomainElement {
345
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
346
+ 'http://a.ml/vocabularies/document#target'?: IAmfAbstractDeclaration[];
347
+ 'http://a.ml/vocabularies/document#variable'?: IAmfVariableValue[];
348
348
  }
349
- export interface VariableValue extends DomainElement {
350
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
351
- 'http://a.ml/vocabularies/document#value'?: DataNode[];
349
+ export interface IAmfVariableValue extends IAmfDomainElement {
350
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
351
+ 'http://a.ml/vocabularies/document#value'?: IAmfDataNode[];
352
352
  }
353
- export interface AbstractDeclaration extends DomainElement {
354
- 'http://a.ml/vocabularies/core#name'?: LdValueString[];
355
- 'http://a.ml/vocabularies/core#description'?: LdValueString[];
356
- 'http://a.ml/vocabularies/document#dataNode'?: DataNode[];
357
- 'http://a.ml/vocabularies/document#variable'?: LdValueString[];
353
+ export interface IAmfAbstractDeclaration extends IAmfDomainElement {
354
+ 'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
355
+ 'http://a.ml/vocabularies/core#description'?: IAmfLdValueString[];
356
+ 'http://a.ml/vocabularies/document#dataNode'?: IAmfDataNode[];
357
+ 'http://a.ml/vocabularies/document#variable'?: IAmfLdValueString[];
358
358
  }
359
- export interface ParametrizedTrait extends ParametrizedDeclaration {
359
+ export interface IAmfParametrizedTrait extends IAmfParametrizedDeclaration {
360
360
  }
361
- export interface ParametrizedResourceType extends ParametrizedDeclaration {
361
+ export interface IAmfParametrizedResourceType extends IAmfParametrizedDeclaration {
362
362
  }