@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.
- package/SECURITY.md +14 -0
- package/build/browser.d.ts +6 -0
- package/build/browser.js +6 -0
- package/build/browser.js.map +1 -1
- package/build/index.d.ts +6 -0
- package/build/index.js +6 -0
- package/build/index.js.map +1 -1
- package/build/src/amf/AmfMixin.d.ts +55 -42
- package/build/src/amf/AmfMixin.js +9 -3
- package/build/src/amf/AmfMixin.js.map +1 -1
- package/build/src/amf/AmfSerializer.d.ts +72 -72
- package/build/src/amf/AmfSerializer.js +9 -4
- package/build/src/amf/AmfSerializer.js.map +1 -1
- package/build/src/amf/AmfShapeGenerator.d.ts +17 -17
- package/build/src/amf/AmfShapeGenerator.js +4 -4
- package/build/src/amf/AmfShapeGenerator.js.map +1 -1
- package/build/src/amf/AmfTypes.d.ts +16 -16
- package/build/src/amf/AmfTypes.js +16 -16
- package/build/src/amf/AmfTypes.js.map +1 -1
- package/build/src/amf/ApiExampleGenerator.d.ts +3 -3
- package/build/src/amf/ApiExampleGenerator.js.map +1 -1
- package/build/src/amf/ApiMonacoSchemaGenerator.d.ts +6 -6
- package/build/src/amf/ApiMonacoSchemaGenerator.js.map +1 -1
- package/build/src/amf/ApiSchemaGenerator.d.ts +2 -2
- package/build/src/amf/ApiSchemaGenerator.js.map +1 -1
- package/build/src/amf/ApiSchemaValues.d.ts +12 -12
- package/build/src/amf/ApiSchemaValues.js.map +1 -1
- package/build/src/amf/Parsing.d.ts +5 -5
- package/build/src/amf/Utils.d.ts +6 -6
- package/build/src/amf/Utils.js.map +1 -1
- package/build/src/amf/data-node/DataNodeBase.d.ts +5 -5
- package/build/src/amf/data-node/DataNodeBase.js.map +1 -1
- package/build/src/amf/data-node/JsonDataNodeGenerator.d.ts +2 -2
- package/build/src/amf/data-node/JsonDataNodeGenerator.js.map +1 -1
- package/build/src/amf/data-node/UrlEncodedDataNodeGenerator.d.ts +2 -2
- package/build/src/amf/data-node/UrlEncodedDataNodeGenerator.js.map +1 -1
- package/build/src/amf/data-node/XmlDataNodeGenerator.d.ts +2 -2
- package/build/src/amf/data-node/XmlDataNodeGenerator.js.map +1 -1
- package/build/src/amf/definitions/Amf.d.ts +339 -339
- package/build/src/amf/definitions/Api.d.ts +158 -158
- package/build/src/amf/definitions/Base.d.ts +5 -5
- package/build/src/amf/definitions/Shapes.d.ts +46 -46
- package/build/src/amf/definitions/Shapes.js +11 -11
- package/build/src/amf/definitions/Shapes.js.map +1 -1
- package/build/src/amf/models/AmfDataNode.d.ts +5 -5
- package/build/src/amf/models/AmfDataNode.js +4 -4
- package/build/src/amf/models/AmfDataNode.js.map +1 -1
- package/build/src/amf/shape/ShapeBase.d.ts +13 -13
- package/build/src/amf/shape/ShapeBase.js.map +1 -1
- package/build/src/amf/shape/ShapeJsonSchemaGenerator.d.ts +13 -13
- package/build/src/amf/shape/ShapeJsonSchemaGenerator.js.map +1 -1
- package/build/src/amf/shape/ShapeXmlSchemaGenerator.d.ts +16 -16
- package/build/src/amf/shape/ShapeXmlSchemaGenerator.js +1 -1
- package/build/src/amf/shape/ShapeXmlSchemaGenerator.js.map +1 -1
- package/build/src/events/amf/AmfEvents.d.ts +4 -4
- package/build/src/events/amf/AmfEvents.js.map +1 -1
- package/build/src/models/data/Bindings.d.ts +2 -2
- package/build/src/models/data/DataAssociation.d.ts +4 -4
- package/build/src/models/data/DataAssociation.js.map +1 -1
- package/build/src/models/data/DataEntity.d.ts +2 -2
- package/build/src/models/data/DataProperty.d.ts +2 -2
- package/build/src/runtime/variables/VariablesProcessor.js.map +1 -1
- package/data/models/oas-date.json +1 -1
- package/data/models/oas-types.json +1 -1
- package/data/models/oas-unions.json +1 -1
- package/data/models/raml-date.json +1 -1
- package/data/models/recursive.json +1 -1
- package/data/models/schema-api.json +14 -6
- package/package.json +6 -6
- package/src/amf/AmfMixin.ts +124 -117
- package/src/amf/AmfSerializer.ts +245 -240
- package/src/amf/AmfShapeGenerator.ts +24 -24
- package/src/amf/AmfTypes.ts +16 -16
- package/src/amf/ApiExampleGenerator.ts +4 -4
- package/src/amf/ApiMonacoSchemaGenerator.ts +11 -11
- package/src/amf/ApiSchemaGenerator.ts +3 -3
- package/src/amf/ApiSchemaValues.ts +21 -21
- package/src/amf/Parsing.ts +5 -5
- package/src/amf/Utils.ts +15 -15
- package/src/amf/data-node/DataNodeBase.ts +8 -8
- package/src/amf/data-node/JsonDataNodeGenerator.ts +2 -2
- package/src/amf/data-node/UrlEncodedDataNodeGenerator.ts +2 -2
- package/src/amf/data-node/XmlDataNodeGenerator.ts +2 -2
- package/src/amf/definitions/Amf.ts +315 -314
- package/src/amf/definitions/Api.ts +158 -157
- package/src/amf/definitions/Base.ts +5 -5
- package/src/amf/definitions/Shapes.ts +60 -60
- package/src/amf/models/AmfDataNode.ts +17 -17
- package/src/amf/shape/ShapeBase.ts +16 -16
- package/src/amf/shape/ShapeJsonSchemaGenerator.ts +27 -27
- package/src/amf/shape/ShapeXmlSchemaGenerator.ts +44 -44
- package/src/events/amf/AmfEvents.ts +7 -7
- package/src/models/data/Bindings.ts +2 -2
- package/src/models/data/DataAssociation.ts +4 -4
- package/src/models/data/DataEntity.ts +2 -2
- package/src/models/data/DataProperty.ts +2 -2
- package/src/runtime/variables/VariablesProcessor.ts +2 -2
|
@@ -1,443 +1,444 @@
|
|
|
1
|
-
|
|
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
|
|
9
|
-
'http://a.ml/vocabularies/document#raw':
|
|
10
|
-
'http://a.ml/vocabularies/core#mediaType':
|
|
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
|
|
14
|
-
'http://a.ml/vocabularies/document#link-target'?:
|
|
15
|
-
'http://a.ml/vocabularies/document#link-label'?:
|
|
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
|
|
19
|
+
export declare interface IAmfLdValue<T> {
|
|
19
20
|
'@value': T;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
export declare interface
|
|
23
|
+
export declare interface IAmfLdIdValue {
|
|
23
24
|
'@id': string;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
export declare interface
|
|
27
|
+
export declare interface IAmfLdValueString extends IAmfLdValue<string> {
|
|
27
28
|
}
|
|
28
29
|
|
|
29
|
-
export declare interface
|
|
30
|
+
export declare interface IAmfLdValueBoolean extends IAmfLdValue<boolean> {
|
|
30
31
|
}
|
|
31
32
|
|
|
32
|
-
export declare interface
|
|
33
|
+
export declare interface IAmfLdValueNumber extends IAmfLdValue<number> {
|
|
33
34
|
}
|
|
34
35
|
|
|
35
|
-
export declare interface
|
|
36
|
+
export declare interface IAmfLdValueRange extends IAmfLdIdValue {
|
|
36
37
|
'@type'?: string[];
|
|
37
38
|
}
|
|
38
39
|
|
|
39
|
-
export interface
|
|
40
|
-
'http://a.ml/vocabularies/document#version'?:
|
|
41
|
-
'http://a.ml/vocabularies/document#root'?:
|
|
42
|
-
'http://a.ml/vocabularies/document#encodes'?:
|
|
43
|
-
'http://a.ml/vocabularies/document#references'?:
|
|
44
|
-
'http://a.ml/vocabularies/document#declares'?:
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface
|
|
48
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
49
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
50
|
-
'http://a.ml/vocabularies/apiContract#server'?:
|
|
51
|
-
'http://a.ml/vocabularies/apiContract#accepts'?:
|
|
52
|
-
'http://a.ml/vocabularies/apiContract#contentType'?:
|
|
53
|
-
'http://a.ml/vocabularies/apiContract#scheme'?:
|
|
54
|
-
'http://a.ml/vocabularies/core#version'?:
|
|
55
|
-
'http://a.ml/vocabularies/core#documentation'?:
|
|
56
|
-
'http://a.ml/vocabularies/apiContract#endpoint'?:
|
|
57
|
-
'http://a.ml/vocabularies/apiContract#tag'?:
|
|
58
|
-
'http://a.ml/vocabularies/core#provider'?:
|
|
59
|
-
'http://a.ml/vocabularies/core#license'?:
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export interface
|
|
63
|
-
export interface
|
|
64
|
-
|
|
65
|
-
export interface
|
|
66
|
-
'http://a.ml/vocabularies/document#version'?:
|
|
67
|
-
'http://a.ml/vocabularies/document#root'?:
|
|
68
|
-
'http://a.ml/vocabularies/document#declares'?:
|
|
69
|
-
'http://a.ml/vocabularies/document#usage'?:
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export interface
|
|
73
|
-
'http://a.ml/vocabularies/document#version'?:
|
|
74
|
-
'http://a.ml/vocabularies/document#root'?:
|
|
75
|
-
'http://a.ml/vocabularies/document#encodes'?:
|
|
76
|
-
'http://a.ml/vocabularies/document#references'?:
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export interface
|
|
80
|
-
'http://a.ml/vocabularies/document#version'?:
|
|
81
|
-
'http://a.ml/vocabularies/document#root'?:
|
|
82
|
-
'http://a.ml/vocabularies/document#encodes'?:
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export interface
|
|
86
|
-
'http://a.ml/vocabularies/core#email'?:
|
|
87
|
-
'http://a.ml/vocabularies/core#url'?:
|
|
88
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export interface
|
|
92
|
-
'http://a.ml/vocabularies/core#url'?:
|
|
93
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export declare interface
|
|
97
|
-
'http://a.ml/vocabularies/core#urlTemplate'?:
|
|
98
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
99
|
-
'http://a.ml/vocabularies/apiContract#variable'?:
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export declare interface
|
|
103
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
104
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
105
|
-
'http://a.ml/vocabularies/apiContract#guiSummary'?:
|
|
106
|
-
'http://a.ml/vocabularies/apiContract#path'?:
|
|
107
|
-
'http://a.ml/vocabularies/apiContract#supportedOperation'?:
|
|
108
|
-
'http://a.ml/vocabularies/apiContract#parameter'?:
|
|
109
|
-
'http://a.ml/vocabularies/apiContract#payload'?:
|
|
110
|
-
'http://a.ml/vocabularies/apiContract#server'?:
|
|
111
|
-
'http://a.ml/vocabularies/security#security'?:
|
|
112
|
-
'http://a.ml/vocabularies/document#extends'?:
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export declare interface
|
|
116
|
-
'http://a.ml/vocabularies/apiContract#method':
|
|
117
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
118
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
119
|
-
'http://a.ml/vocabularies/shapes#deprecated'?:
|
|
120
|
-
'http://a.ml/vocabularies/apiContract#guiSummary'?:
|
|
121
|
-
'http://a.ml/vocabularies/core#documentation'?:
|
|
122
|
-
'http://a.ml/vocabularies/apiContract#scheme'?:
|
|
123
|
-
'http://a.ml/vocabularies/apiContract#accepts'?:
|
|
124
|
-
'http://a.ml/vocabularies/apiContract#contentType'?:
|
|
125
|
-
'http://a.ml/vocabularies/apiContract#expects'?:
|
|
126
|
-
'http://a.ml/vocabularies/apiContract#returns'?:
|
|
127
|
-
'http://a.ml/vocabularies/security#security'?:
|
|
128
|
-
'http://a.ml/vocabularies/apiContract#callback'?:
|
|
129
|
-
'http://a.ml/vocabularies/apiContract#server'?:
|
|
130
|
-
'http://a.ml/vocabularies/document#extends'?:
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export interface
|
|
134
|
-
'http://a.ml/vocabularies/core#mediaType':
|
|
135
|
-
'http://a.ml/vocabularies/shapes#schema'?:
|
|
136
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
137
|
-
'http://a.ml/vocabularies/apiContract#examples'?:
|
|
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
|
|
142
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
143
|
-
'http://a.ml/vocabularies/apiContract#payload'?:
|
|
144
|
-
'http://a.ml/vocabularies/apiContract#required'?:
|
|
145
|
-
'http://a.ml/vocabularies/apiContract#parameter'?:
|
|
146
|
-
'http://a.ml/vocabularies/apiContract#uriParameter'?:
|
|
147
|
-
'http://a.ml/vocabularies/apiContract#header'?:
|
|
148
|
-
'http://a.ml/vocabularies/apiContract#cookieParameter'?:
|
|
149
|
-
'http://a.ml/vocabularies/apiContract#queryString'?:
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
export interface
|
|
153
|
-
'http://a.ml/vocabularies/apiContract#statusCode':
|
|
154
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
155
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
156
|
-
'http://a.ml/vocabularies/apiContract#payload'?:
|
|
157
|
-
'http://a.ml/vocabularies/apiContract#header'?:
|
|
158
|
-
'http://a.ml/vocabularies/apiContract#examples'?:
|
|
159
|
-
'http://a.ml/vocabularies/apiContract#link'?:
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export declare interface
|
|
163
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
164
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
165
|
-
'http://a.ml/vocabularies/shapes#schema'?:
|
|
166
|
-
'http://a.ml/vocabularies/shapes#deprecated'?:
|
|
167
|
-
'http://a.ml/vocabularies/apiContract#paramName'?:
|
|
168
|
-
'http://a.ml/vocabularies/apiContract#required'?:
|
|
169
|
-
'http://a.ml/vocabularies/apiContract#binding'?:
|
|
170
|
-
'http://a.ml/vocabularies/apiContract#allowEmptyValue'?:
|
|
171
|
-
'http://a.ml/vocabularies/apiContract#style'?:
|
|
172
|
-
'http://a.ml/vocabularies/apiContract#explode'?:
|
|
173
|
-
'http://a.ml/vocabularies/apiContract#allowReserved'?:
|
|
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
|
|
180
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
181
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
182
|
-
'http://a.ml/vocabularies/apiContract#operationId':
|
|
183
|
-
'http://a.ml/vocabularies/apiContract#mapping':
|
|
184
|
-
'http://a.ml/vocabularies/apiContract#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
|
|
191
|
-
'http://a.ml/vocabularies/apiContract#templateVariable'?:
|
|
192
|
-
'http://a.ml/vocabularies/apiContract#linkExpression'?:
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
export declare interface
|
|
196
|
-
'http://www.w3.org/ns/shacl#name'?:
|
|
197
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
198
|
-
'http://a.ml/vocabularies/core#displayName'?:
|
|
199
|
-
'http://www.w3.org/ns/shacl#defaultValueStr'?:
|
|
200
|
-
'http://www.w3.org/ns/shacl#defaultValue'?:
|
|
201
|
-
'http://a.ml/vocabularies/shapes#readOnly'?:
|
|
202
|
-
'http://a.ml/vocabularies/shapes#writeOnly'?:
|
|
203
|
-
'http://a.ml/vocabularies/shapes#deprecated'?:
|
|
204
|
-
'http://a.ml/vocabularies/document#location'?:
|
|
205
|
-
'http://www.w3.org/ns/shacl#or'?:
|
|
206
|
-
'http://www.w3.org/ns/shacl#and'?:
|
|
207
|
-
'http://www.w3.org/ns/shacl#xone'?:
|
|
208
|
-
'http://www.w3.org/ns/shacl#not'?:
|
|
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
|
|
214
|
-
'http://www.w3.org/ns/shacl#path'?:
|
|
215
|
-
'http://a.ml/vocabularies/shapes#range'?:
|
|
216
|
-
'http://www.w3.org/ns/shacl#minCount'?:
|
|
217
|
-
'http://www.w3.org/ns/shacl#maxCount'?:
|
|
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
|
|
222
|
-
'http://a.ml/vocabularies/core#documentation'?:
|
|
223
|
-
'http://a.ml/vocabularies/shapes#xmlSerialization'?:
|
|
224
|
-
'http://a.ml/vocabularies/apiContract#examples'?:
|
|
225
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
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
|
|
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
|
|
235
|
-
'http://a.ml/vocabularies/shapes#items'?:
|
|
235
|
+
export declare interface IAmfArrayShape extends IAmfDataArrangeShape {
|
|
236
|
+
'http://a.ml/vocabularies/shapes#items'?: IAmfShape[];
|
|
236
237
|
}
|
|
237
238
|
|
|
238
|
-
export declare interface
|
|
239
|
-
'http://a.ml/vocabularies/shapes#anyOf'?:
|
|
239
|
+
export declare interface IAmfUnionShape extends IAmfAnyShape {
|
|
240
|
+
'http://a.ml/vocabularies/shapes#anyOf'?: IAmfShape[];
|
|
240
241
|
}
|
|
241
242
|
|
|
242
|
-
export declare interface
|
|
243
|
-
'http://a.ml/vocabularies/shapes#items'?:
|
|
243
|
+
export declare interface IAmfTupleShape extends IAmfAnyShape {
|
|
244
|
+
'http://a.ml/vocabularies/shapes#items'?: IAmfShape[];
|
|
244
245
|
}
|
|
245
246
|
|
|
246
|
-
export declare interface
|
|
247
|
-
'http://a.ml/vocabularies/shapes#fileType'?:
|
|
248
|
-
'http://www.w3.org/ns/shacl#pattern'?:
|
|
249
|
-
'http://www.w3.org/ns/shacl#minLength'?:
|
|
250
|
-
'http://www.w3.org/ns/shacl#maxLength'?:
|
|
251
|
-
'http://a.ml/vocabularies/shapes#minimum'?:
|
|
252
|
-
'http://a.ml/vocabularies/shapes#maximum'?:
|
|
253
|
-
'http://a.ml/vocabularies/shapes#exclusiveMinimum'?:
|
|
254
|
-
'http://a.ml/vocabularies/shapes#exclusiveMaximum'?:
|
|
255
|
-
'http://a.ml/vocabularies/shapes#format'?:
|
|
256
|
-
'http://a.ml/vocabularies/shapes#multipleOf'?:
|
|
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
|
|
260
|
+
export declare interface IAmfNilShape extends IAmfAnyShape {
|
|
260
261
|
}
|
|
261
262
|
|
|
262
|
-
export declare interface
|
|
263
|
-
'http://a.ml/vocabularies/shapes#fixPoint'?:
|
|
264
|
-
'http://a.ml/vocabularies/document#recursive'?:
|
|
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
|
|
268
|
-
'http://www.w3.org/ns/shacl#datatype'?:
|
|
269
|
-
'http://www.w3.org/ns/shacl#pattern'?:
|
|
270
|
-
'http://www.w3.org/ns/shacl#minLength'?:
|
|
271
|
-
'http://www.w3.org/ns/shacl#maxLength'?:
|
|
272
|
-
'http://a.ml/vocabularies/shapes#minimum':
|
|
273
|
-
'http://a.ml/vocabularies/shapes#maximum':
|
|
274
|
-
'http://a.ml/vocabularies/shapes#exclusiveMinimum':
|
|
275
|
-
'http://a.ml/vocabularies/shapes#exclusiveMaximum':
|
|
276
|
-
'http://a.ml/vocabularies/shapes#format'?:
|
|
277
|
-
'http://a.ml/vocabularies/shapes#multipleOf'?:
|
|
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
|
|
281
|
-
'http://a.ml/vocabularies/core#mediaType':
|
|
282
|
-
'http://a.ml/vocabularies/document#raw'?:
|
|
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
|
|
286
|
+
export declare interface IAmfNodeShape extends IAmfAnyShape {
|
|
286
287
|
// minProperties: IntField
|
|
287
288
|
// maxProperties: IntField
|
|
288
|
-
'http://www.w3.org/ns/shacl#closed'?:
|
|
289
|
+
'http://www.w3.org/ns/shacl#closed'?: IAmfLdValueBoolean[];
|
|
289
290
|
// customShapeProperties?: PropertyShape[]
|
|
290
291
|
// customShapePropertyDefinitions?: PropertyShape[]
|
|
291
|
-
'http://a.ml/vocabularies/shapes#discriminator'?:
|
|
292
|
-
'http://a.ml/vocabularies/shapes#discriminatorValue'?:
|
|
293
|
-
'http://www.w3.org/ns/shacl#property'?:
|
|
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
|
|
298
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
298
|
+
export declare interface IAmfDataNode extends IAmfDomainElement {
|
|
299
|
+
'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
|
|
299
300
|
}
|
|
300
301
|
|
|
301
|
-
export declare interface
|
|
302
|
+
export declare interface IAmfObjectNode extends IAmfDataNode {
|
|
302
303
|
// [key: string]: DataNode[];
|
|
303
304
|
}
|
|
304
305
|
|
|
305
|
-
export declare interface
|
|
306
|
+
export declare interface IAmfArrayNode extends IAmfDataNode {
|
|
306
307
|
}
|
|
307
308
|
|
|
308
|
-
export declare interface
|
|
309
|
-
'http://a.ml/vocabularies/data#value'?:
|
|
310
|
-
'http://www.w3.org/ns/shacl#datatype'?:
|
|
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
|
|
314
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
315
|
-
'http://a.ml/vocabularies/core#displayName'?:
|
|
316
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
317
|
-
'http://a.ml/vocabularies/data#value'?:
|
|
318
|
-
'http://a.ml/vocabularies/document#structuredValue'?:
|
|
319
|
-
'http://a.ml/vocabularies/document#strict'?:
|
|
320
|
-
'http://a.ml/vocabularies/core#mediaType'?:
|
|
321
|
-
'http://a.ml/vocabularies/document#raw'?:
|
|
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
|
|
325
|
-
'http://a.ml/vocabularies/core#title'?:
|
|
326
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
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
|
|
330
|
-
'http://a.ml/vocabularies/security#schemes'?:
|
|
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'?:
|
|
333
|
+
'http://a.ml/vocabularies/security#name'?: IAmfLdValueString[];
|
|
333
334
|
}
|
|
334
335
|
|
|
335
|
-
export interface
|
|
336
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
337
|
-
'http://a.ml/vocabularies/security#scheme'?:
|
|
338
|
-
'http://a.ml/vocabularies/security#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
|
|
342
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
343
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
344
|
-
'http://a.ml/vocabularies/security#type'?:
|
|
345
|
-
'http://a.ml/vocabularies/core#displayName'?:
|
|
346
|
-
'http://a.ml/vocabularies/apiContract#parameter'?:
|
|
347
|
-
'http://a.ml/vocabularies/apiContract#header'?:
|
|
348
|
-
'http://a.ml/vocabularies/security#settings'?:
|
|
349
|
-
'http://a.ml/vocabularies/apiContract#response'?:
|
|
350
|
-
'http://a.ml/vocabularies/apiContract#queryString'?:
|
|
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
|
|
354
|
+
export interface IAmfSettings extends IAmfDomainElement {
|
|
354
355
|
// additionalProperties: DataNode;
|
|
355
356
|
}
|
|
356
357
|
|
|
357
|
-
export interface
|
|
358
|
-
'http://a.ml/vocabularies/security#requestTokenUri'?:
|
|
359
|
-
'http://a.ml/vocabularies/security#authorizationUri'?:
|
|
360
|
-
'http://a.ml/vocabularies/security#tokenCredentialsUri'?:
|
|
361
|
-
'http://a.ml/vocabularies/security#signature':
|
|
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
|
|
365
|
-
'http://a.ml/vocabularies/security#authorizationGrant':
|
|
366
|
-
'http://a.ml/vocabularies/security#flows'?:
|
|
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
|
|
370
|
-
'http://a.ml/vocabularies/security#authorizationUri'?:
|
|
371
|
-
'http://a.ml/vocabularies/security#accessTokenUri':
|
|
372
|
-
'http://a.ml/vocabularies/security#flow'?:
|
|
373
|
-
'http://a.ml/vocabularies/security#refreshUri':
|
|
374
|
-
'http://a.ml/vocabularies/security#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
|
|
378
|
-
'http://a.ml/vocabularies/core#name':
|
|
379
|
-
'http://a.ml/vocabularies/security#in':
|
|
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
|
|
383
|
-
'http://a.ml/vocabularies/security#scheme'?:
|
|
384
|
-
'http://a.ml/vocabularies/security#bearerFormat'?:
|
|
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
|
|
388
|
-
'http://a.ml/vocabularies/security#openIdConnectUrl':
|
|
388
|
+
export interface IAmfOpenIdConnectSettings extends IAmfSettings {
|
|
389
|
+
'http://a.ml/vocabularies/security#openIdConnectUrl': IAmfLdValueString[];
|
|
389
390
|
}
|
|
390
391
|
|
|
391
|
-
export interface
|
|
392
|
-
'http://a.ml/vocabularies/core#name':
|
|
393
|
-
'http://a.ml/vocabularies/core#description':
|
|
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
|
|
397
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
398
|
-
'http://a.ml/vocabularies/apiContract#expression'?:
|
|
399
|
-
'http://a.ml/vocabularies/apiContract#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
|
|
403
|
-
'http://a.ml/vocabularies/shapes#xmlAttribute'?:
|
|
404
|
-
'http://a.ml/vocabularies/shapes#xmlWrapped'?:
|
|
405
|
-
'http://a.ml/vocabularies/shapes#xmlName'?:
|
|
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
|
|
409
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
409
|
+
export interface IAmfTag extends IAmfDomainElement {
|
|
410
|
+
'http://a.ml/vocabularies/core#name'?: IAmfLdValueString[];
|
|
410
411
|
}
|
|
411
412
|
|
|
412
|
-
export interface
|
|
413
|
-
'http://a.ml/vocabularies/document-source-maps#synthesized-field'?:
|
|
414
|
-
'http://a.ml/vocabularies/document-source-maps#lexical'?:
|
|
415
|
-
'http://a.ml/vocabularies/document-source-maps#tracked-element'?:
|
|
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
|
|
419
|
+
export interface IAmfSynthesizedField {
|
|
419
420
|
'@id': string;
|
|
420
|
-
'http://a.ml/vocabularies/document-source-maps#element'?:
|
|
421
|
-
'http://a.ml/vocabularies/document-source-maps#value'?:
|
|
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
|
|
425
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
426
|
-
'http://a.ml/vocabularies/document#target'?:
|
|
427
|
-
'http://a.ml/vocabularies/document#variable'?:
|
|
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
|
|
431
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
432
|
-
'http://a.ml/vocabularies/document#value'?:
|
|
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
|
|
436
|
-
'http://a.ml/vocabularies/core#name'?:
|
|
437
|
-
'http://a.ml/vocabularies/core#description'?:
|
|
438
|
-
'http://a.ml/vocabularies/document#dataNode'?:
|
|
439
|
-
'http://a.ml/vocabularies/document#variable'?:
|
|
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
|
|
443
|
-
export interface
|
|
443
|
+
export interface IAmfParametrizedTrait extends IAmfParametrizedDeclaration {}
|
|
444
|
+
export interface IAmfParametrizedResourceType extends IAmfParametrizedDeclaration {}
|