@api-client/core 0.6.16 → 0.6.19
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/build/src/amf/ApiSchemaGenerator.d.ts +5 -5
- package/build/src/amf/ApiSchemaGenerator.js.map +1 -1
- package/build/src/amf/ApiSchemaValues.d.ts +6 -0
- package/build/src/amf/ApiSchemaValues.js +31 -0
- package/build/src/amf/ApiSchemaValues.js.map +1 -1
- package/build/src/amf/Parsing.d.ts +46 -0
- package/build/src/amf/Parsing.js +2 -0
- package/build/src/amf/Parsing.js.map +1 -0
- package/build/src/amf/shape/ShapeBase.d.ts +3 -3
- package/build/src/amf/shape/ShapeBase.js +3 -0
- package/build/src/amf/shape/ShapeBase.js.map +1 -1
- package/build/src/amf/shape/ShapeJsonSchemaGenerator.js +4 -1
- package/build/src/amf/shape/ShapeJsonSchemaGenerator.js.map +1 -1
- package/build/src/amf/shape/ShapeXmlSchemaGenerator.js +1 -1
- package/build/src/amf/shape/ShapeXmlSchemaGenerator.js.map +1 -1
- package/build/src/events/EventTypes.d.ts +6 -0
- package/build/src/events/EventTypes.js +2 -0
- package/build/src/events/EventTypes.js.map +1 -1
- package/build/src/events/Events.d.ts +5 -3
- package/build/src/events/Events.js +2 -0
- package/build/src/events/Events.js.map +1 -1
- package/build/src/events/amf/AmfEventTypes.d.ts +6 -0
- package/build/src/events/amf/AmfEventTypes.js +7 -0
- package/build/src/events/amf/AmfEventTypes.js.map +1 -0
- package/build/src/events/amf/AmfEvents.d.ts +34 -0
- package/build/src/events/amf/AmfEvents.js +59 -0
- package/build/src/events/amf/AmfEvents.js.map +1 -0
- package/build/src/events/authorization/AuthorizationEvents.d.ts +8 -8
- package/build/src/events/authorization/AuthorizationEvents.js +8 -8
- package/build/src/events/authorization/AuthorizationEvents.js.map +1 -1
- package/build/src/events/cookies/CookieEvents.d.ts +8 -8
- package/build/src/events/cookies/CookieEvents.js +8 -8
- package/build/src/events/cookies/CookieEvents.js.map +1 -1
- package/build/src/events/encryption/EncryptionEvents.d.ts +4 -4
- package/build/src/events/encryption/EncryptionEvents.js +4 -4
- package/build/src/events/encryption/EncryptionEvents.js.map +1 -1
- package/build/src/events/environment/EnvironmentEvents.d.ts +2 -2
- package/build/src/events/environment/EnvironmentEvents.js +2 -2
- package/build/src/events/environment/EnvironmentEvents.js.map +1 -1
- package/build/src/events/models/ClientCertificateEvents.d.ts +11 -11
- package/build/src/events/models/ClientCertificateEvents.js +11 -11
- package/build/src/events/models/ClientCertificateEvents.js.map +1 -1
- package/build/src/events/process/ProcessEvents.d.ts +6 -6
- package/build/src/events/process/ProcessEvents.js +6 -6
- package/build/src/events/process/ProcessEvents.js.map +1 -1
- package/build/src/events/reporting/ReportingEvents.d.ts +2 -2
- package/build/src/events/reporting/ReportingEvents.js +2 -2
- package/build/src/events/reporting/ReportingEvents.js.map +1 -1
- package/build/src/events/telemetry/TelemetryEvents.d.ts +6 -6
- package/build/src/events/telemetry/TelemetryEvents.js +6 -6
- package/build/src/events/telemetry/TelemetryEvents.js.map +1 -1
- package/build/src/events/transport/TransportEvents.d.ts +3 -3
- package/build/src/events/transport/TransportEvents.js +3 -3
- package/build/src/events/transport/TransportEvents.js.map +1 -1
- package/build/src/models/data/DataAssociation.d.ts +4 -0
- package/build/src/models/data/DataAssociation.js +8 -0
- package/build/src/models/data/DataAssociation.js.map +1 -1
- package/build/src/models/data/DataEntity.d.ts +16 -12
- package/build/src/models/data/DataEntity.js +54 -50
- package/build/src/models/data/DataEntity.js.map +1 -1
- package/build/src/models/data/DataNamespace.d.ts +14 -0
- package/build/src/models/data/DataNamespace.js +50 -0
- package/build/src/models/data/DataNamespace.js.map +1 -1
- package/build/src/runtime/actions/runnable/DeleteCookieRunnable.js +2 -2
- package/build/src/runtime/actions/runnable/DeleteCookieRunnable.js.map +1 -1
- package/build/src/runtime/actions/runnable/SetCookieRunnable.js +1 -1
- package/build/src/runtime/actions/runnable/SetCookieRunnable.js.map +1 -1
- package/build/src/runtime/actions/runnable/SetVariableRunnable.js +1 -1
- package/build/src/runtime/actions/runnable/SetVariableRunnable.js.map +1 -1
- package/build/src/runtime/modules/RequestCookies.js +2 -2
- package/build/src/runtime/modules/RequestCookies.js.map +1 -1
- package/package.json +1 -1
- package/src/amf/ApiSchemaGenerator.ts +5 -5
- package/src/amf/ApiSchemaValues.ts +32 -0
- package/src/amf/Parsing.ts +49 -0
- package/src/amf/shape/ShapeBase.ts +6 -3
- package/src/amf/shape/ShapeJsonSchemaGenerator.ts +4 -1
- package/src/amf/shape/ShapeXmlSchemaGenerator.ts +1 -1
- package/src/events/EventTypes.ts +2 -0
- package/src/events/Events.ts +2 -0
- package/src/events/amf/AmfEventTypes.ts +6 -0
- package/src/events/amf/AmfEvents.ts +63 -0
- package/src/events/authorization/AuthorizationEvents.ts +8 -8
- package/src/events/cookies/CookieEvents.ts +8 -8
- package/src/events/encryption/EncryptionEvents.ts +4 -4
- package/src/events/environment/EnvironmentEvents.ts +2 -2
- package/src/events/models/ClientCertificateEvents.ts +11 -11
- package/src/events/process/ProcessEvents.ts +6 -6
- package/src/events/reporting/ReportingEvents.ts +2 -2
- package/src/events/telemetry/TelemetryEvents.ts +6 -6
- package/src/events/transport/TransportEvents.ts +3 -3
- package/src/models/data/DataAssociation.ts +9 -0
- package/src/models/data/DataEntity.ts +56 -53
- package/src/models/data/DataNamespace.ts +54 -0
- package/src/runtime/actions/runnable/DeleteCookieRunnable.ts +2 -2
- package/src/runtime/actions/runnable/SetCookieRunnable.ts +1 -1
- package/src/runtime/actions/runnable/SetVariableRunnable.ts +1 -1
- package/src/runtime/modules/RequestCookies.ts +2 -2
- package/build/src/models/data/DataAssociationSchema.d.ts +0 -68
- package/build/src/models/data/DataAssociationSchema.js +0 -2
- package/build/src/models/data/DataAssociationSchema.js.map +0 -1
- package/src/models/data/DataAssociationSchema.ts +0 -70
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
export interface IDataAssociationSchema {
|
|
2
|
-
/**
|
|
3
|
-
* Whether the target entity should be embedded under the property name.
|
|
4
|
-
* When false, this association is just an information that one entity depend on another.
|
|
5
|
-
* When true, it changes the definition of the schema having this association to
|
|
6
|
-
* add the target schema properties inline with this property.
|
|
7
|
-
*
|
|
8
|
-
* **When true**
|
|
9
|
-
*
|
|
10
|
-
* ```javascript
|
|
11
|
-
* // generated schema for `address` association
|
|
12
|
-
* {
|
|
13
|
-
* "name": "example value",
|
|
14
|
-
* "address": {
|
|
15
|
-
* "city": "example value",
|
|
16
|
-
* ...
|
|
17
|
-
* }
|
|
18
|
-
* }
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* **When false**
|
|
22
|
-
*
|
|
23
|
-
* ```javascript
|
|
24
|
-
* // generated schema for `address` association
|
|
25
|
-
* {
|
|
26
|
-
* "name": "example value",
|
|
27
|
-
* "address": "the key of the referenced schema"
|
|
28
|
-
* }
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
embedded?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Describes XML specific serialization.
|
|
34
|
-
*/
|
|
35
|
-
xml?: {
|
|
36
|
-
/**
|
|
37
|
-
* The name of the attribute or a wrapped property to use when serializing the property.
|
|
38
|
-
*
|
|
39
|
-
* ```
|
|
40
|
-
* <Person fullName="John Doe"></Person>
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
|
-
name?: string;
|
|
44
|
-
/**
|
|
45
|
-
* When the property is an array (has the `multiple` set to true)
|
|
46
|
-
* then it tells that the list of values should be wrapped with a parent
|
|
47
|
-
* element:
|
|
48
|
-
*
|
|
49
|
-
* ```
|
|
50
|
-
* <Person>
|
|
51
|
-
* <Person fullName="John Doe"></Person>
|
|
52
|
-
* </Person>
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* Use this with the combination with `name` to describe the name of the wrapped
|
|
56
|
-
* element
|
|
57
|
-
*
|
|
58
|
-
* ```
|
|
59
|
-
* <people>
|
|
60
|
-
* <Person fullName="John Doe"></Person>
|
|
61
|
-
* </people>
|
|
62
|
-
* ```
|
|
63
|
-
*
|
|
64
|
-
* Note, this is mutually exclusive with `attribute`.
|
|
65
|
-
*/
|
|
66
|
-
wrapped?: boolean;
|
|
67
|
-
};
|
|
68
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataAssociationSchema.js","sourceRoot":"","sources":["../../../../src/models/data/DataAssociationSchema.ts"],"names":[],"mappings":""}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
export interface IDataAssociationSchema {
|
|
2
|
-
/**
|
|
3
|
-
* Whether the target entity should be embedded under the property name.
|
|
4
|
-
* When false, this association is just an information that one entity depend on another.
|
|
5
|
-
* When true, it changes the definition of the schema having this association to
|
|
6
|
-
* add the target schema properties inline with this property.
|
|
7
|
-
*
|
|
8
|
-
* **When true**
|
|
9
|
-
*
|
|
10
|
-
* ```javascript
|
|
11
|
-
* // generated schema for `address` association
|
|
12
|
-
* {
|
|
13
|
-
* "name": "example value",
|
|
14
|
-
* "address": {
|
|
15
|
-
* "city": "example value",
|
|
16
|
-
* ...
|
|
17
|
-
* }
|
|
18
|
-
* }
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* **When false**
|
|
22
|
-
*
|
|
23
|
-
* ```javascript
|
|
24
|
-
* // generated schema for `address` association
|
|
25
|
-
* {
|
|
26
|
-
* "name": "example value",
|
|
27
|
-
* "address": "the key of the referenced schema"
|
|
28
|
-
* }
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
embedded?: boolean;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Describes XML specific serialization.
|
|
35
|
-
*/
|
|
36
|
-
xml?: {
|
|
37
|
-
/**
|
|
38
|
-
* The name of the attribute or a wrapped property to use when serializing the property.
|
|
39
|
-
*
|
|
40
|
-
* ```
|
|
41
|
-
* <Person fullName="John Doe"></Person>
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
name?: string;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* When the property is an array (has the `multiple` set to true)
|
|
48
|
-
* then it tells that the list of values should be wrapped with a parent
|
|
49
|
-
* element:
|
|
50
|
-
*
|
|
51
|
-
* ```
|
|
52
|
-
* <Person>
|
|
53
|
-
* <Person fullName="John Doe"></Person>
|
|
54
|
-
* </Person>
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* Use this with the combination with `name` to describe the name of the wrapped
|
|
58
|
-
* element
|
|
59
|
-
*
|
|
60
|
-
* ```
|
|
61
|
-
* <people>
|
|
62
|
-
* <Person fullName="John Doe"></Person>
|
|
63
|
-
* </people>
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* Note, this is mutually exclusive with `attribute`.
|
|
67
|
-
*/
|
|
68
|
-
wrapped?: boolean;
|
|
69
|
-
}
|
|
70
|
-
}
|