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