@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.
Files changed (102) hide show
  1. package/build/src/amf/ApiSchemaGenerator.d.ts +5 -5
  2. package/build/src/amf/ApiSchemaGenerator.js.map +1 -1
  3. package/build/src/amf/ApiSchemaValues.d.ts +6 -0
  4. package/build/src/amf/ApiSchemaValues.js +31 -0
  5. package/build/src/amf/ApiSchemaValues.js.map +1 -1
  6. package/build/src/amf/Parsing.d.ts +46 -0
  7. package/build/src/amf/Parsing.js +2 -0
  8. package/build/src/amf/Parsing.js.map +1 -0
  9. package/build/src/amf/shape/ShapeBase.d.ts +3 -3
  10. package/build/src/amf/shape/ShapeBase.js +3 -0
  11. package/build/src/amf/shape/ShapeBase.js.map +1 -1
  12. package/build/src/amf/shape/ShapeJsonSchemaGenerator.js +4 -1
  13. package/build/src/amf/shape/ShapeJsonSchemaGenerator.js.map +1 -1
  14. package/build/src/amf/shape/ShapeXmlSchemaGenerator.js +1 -1
  15. package/build/src/amf/shape/ShapeXmlSchemaGenerator.js.map +1 -1
  16. package/build/src/events/EventTypes.d.ts +6 -0
  17. package/build/src/events/EventTypes.js +2 -0
  18. package/build/src/events/EventTypes.js.map +1 -1
  19. package/build/src/events/Events.d.ts +5 -3
  20. package/build/src/events/Events.js +2 -0
  21. package/build/src/events/Events.js.map +1 -1
  22. package/build/src/events/amf/AmfEventTypes.d.ts +6 -0
  23. package/build/src/events/amf/AmfEventTypes.js +7 -0
  24. package/build/src/events/amf/AmfEventTypes.js.map +1 -0
  25. package/build/src/events/amf/AmfEvents.d.ts +34 -0
  26. package/build/src/events/amf/AmfEvents.js +59 -0
  27. package/build/src/events/amf/AmfEvents.js.map +1 -0
  28. package/build/src/events/authorization/AuthorizationEvents.d.ts +8 -8
  29. package/build/src/events/authorization/AuthorizationEvents.js +8 -8
  30. package/build/src/events/authorization/AuthorizationEvents.js.map +1 -1
  31. package/build/src/events/cookies/CookieEvents.d.ts +8 -8
  32. package/build/src/events/cookies/CookieEvents.js +8 -8
  33. package/build/src/events/cookies/CookieEvents.js.map +1 -1
  34. package/build/src/events/encryption/EncryptionEvents.d.ts +4 -4
  35. package/build/src/events/encryption/EncryptionEvents.js +4 -4
  36. package/build/src/events/encryption/EncryptionEvents.js.map +1 -1
  37. package/build/src/events/environment/EnvironmentEvents.d.ts +2 -2
  38. package/build/src/events/environment/EnvironmentEvents.js +2 -2
  39. package/build/src/events/environment/EnvironmentEvents.js.map +1 -1
  40. package/build/src/events/models/ClientCertificateEvents.d.ts +11 -11
  41. package/build/src/events/models/ClientCertificateEvents.js +11 -11
  42. package/build/src/events/models/ClientCertificateEvents.js.map +1 -1
  43. package/build/src/events/process/ProcessEvents.d.ts +6 -6
  44. package/build/src/events/process/ProcessEvents.js +6 -6
  45. package/build/src/events/process/ProcessEvents.js.map +1 -1
  46. package/build/src/events/reporting/ReportingEvents.d.ts +2 -2
  47. package/build/src/events/reporting/ReportingEvents.js +2 -2
  48. package/build/src/events/reporting/ReportingEvents.js.map +1 -1
  49. package/build/src/events/telemetry/TelemetryEvents.d.ts +6 -6
  50. package/build/src/events/telemetry/TelemetryEvents.js +6 -6
  51. package/build/src/events/telemetry/TelemetryEvents.js.map +1 -1
  52. package/build/src/events/transport/TransportEvents.d.ts +3 -3
  53. package/build/src/events/transport/TransportEvents.js +3 -3
  54. package/build/src/events/transport/TransportEvents.js.map +1 -1
  55. package/build/src/models/data/DataAssociation.d.ts +4 -0
  56. package/build/src/models/data/DataAssociation.js +8 -0
  57. package/build/src/models/data/DataAssociation.js.map +1 -1
  58. package/build/src/models/data/DataEntity.d.ts +16 -12
  59. package/build/src/models/data/DataEntity.js +54 -50
  60. package/build/src/models/data/DataEntity.js.map +1 -1
  61. package/build/src/models/data/DataNamespace.d.ts +14 -0
  62. package/build/src/models/data/DataNamespace.js +50 -0
  63. package/build/src/models/data/DataNamespace.js.map +1 -1
  64. package/build/src/runtime/actions/runnable/DeleteCookieRunnable.js +2 -2
  65. package/build/src/runtime/actions/runnable/DeleteCookieRunnable.js.map +1 -1
  66. package/build/src/runtime/actions/runnable/SetCookieRunnable.js +1 -1
  67. package/build/src/runtime/actions/runnable/SetCookieRunnable.js.map +1 -1
  68. package/build/src/runtime/actions/runnable/SetVariableRunnable.js +1 -1
  69. package/build/src/runtime/actions/runnable/SetVariableRunnable.js.map +1 -1
  70. package/build/src/runtime/modules/RequestCookies.js +2 -2
  71. package/build/src/runtime/modules/RequestCookies.js.map +1 -1
  72. package/package.json +1 -1
  73. package/src/amf/ApiSchemaGenerator.ts +5 -5
  74. package/src/amf/ApiSchemaValues.ts +32 -0
  75. package/src/amf/Parsing.ts +49 -0
  76. package/src/amf/shape/ShapeBase.ts +6 -3
  77. package/src/amf/shape/ShapeJsonSchemaGenerator.ts +4 -1
  78. package/src/amf/shape/ShapeXmlSchemaGenerator.ts +1 -1
  79. package/src/events/EventTypes.ts +2 -0
  80. package/src/events/Events.ts +2 -0
  81. package/src/events/amf/AmfEventTypes.ts +6 -0
  82. package/src/events/amf/AmfEvents.ts +63 -0
  83. package/src/events/authorization/AuthorizationEvents.ts +8 -8
  84. package/src/events/cookies/CookieEvents.ts +8 -8
  85. package/src/events/encryption/EncryptionEvents.ts +4 -4
  86. package/src/events/environment/EnvironmentEvents.ts +2 -2
  87. package/src/events/models/ClientCertificateEvents.ts +11 -11
  88. package/src/events/process/ProcessEvents.ts +6 -6
  89. package/src/events/reporting/ReportingEvents.ts +2 -2
  90. package/src/events/telemetry/TelemetryEvents.ts +6 -6
  91. package/src/events/transport/TransportEvents.ts +3 -3
  92. package/src/models/data/DataAssociation.ts +9 -0
  93. package/src/models/data/DataEntity.ts +56 -53
  94. package/src/models/data/DataNamespace.ts +54 -0
  95. package/src/runtime/actions/runnable/DeleteCookieRunnable.ts +2 -2
  96. package/src/runtime/actions/runnable/SetCookieRunnable.ts +1 -1
  97. package/src/runtime/actions/runnable/SetVariableRunnable.ts +1 -1
  98. package/src/runtime/modules/RequestCookies.ts +2 -2
  99. package/build/src/models/data/DataAssociationSchema.d.ts +0 -68
  100. package/build/src/models/data/DataAssociationSchema.js +0 -2
  101. package/build/src/models/data/DataAssociationSchema.js.map +0 -1
  102. 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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=DataAssociationSchema.js.map
@@ -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
- }