amf-client-js 5.7.0-SNAPSHOT.8 → 5.7.0-java21-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 (3) hide show
  1. package/amf.js +11426 -12481
  2. package/package.json +2 -2
  3. package/typings/amf-client-js.d.ts +11 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amf-client-js",
3
- "version": "5.7.0-SNAPSHOT.8",
3
+ "version": "5.7.0-java21-0",
4
4
  "description": "AMF Library",
5
5
  "main": "amf.js",
6
6
  "author": "amf team",
@@ -16,7 +16,7 @@
16
16
  "types": "./typings/amf-client-js.d.ts",
17
17
  "typings": "./typings/amf-client-js.d.ts",
18
18
  "dependencies": {
19
- "@aml-org/amf-antlr-parsers": "0.7.25",
19
+ "@aml-org/amf-antlr-parsers": "0.8.0-java21-1",
20
20
  "ajv": "6.12.6",
21
21
  "avro-js": "1.11.3"
22
22
  }
@@ -1701,6 +1701,8 @@ declare module "amf-client-js" {
1701
1701
 
1702
1702
  withEndPoints(endPoints: Array<EndPoint>): this;
1703
1703
 
1704
+ withWebhooks(webhooks: Array<EndPoint>): this;
1705
+
1704
1706
  withExtendsNode(extension: Array<ParametrizedDeclaration>): this;
1705
1707
 
1706
1708
  withId(id: string): this;
@@ -4677,6 +4679,9 @@ declare module "amf-client-js" {
4677
4679
 
4678
4680
  constructor();
4679
4681
  }
4682
+ export class AvroSchemaDocument extends Document {
4683
+ constructor();
4684
+ }
4680
4685
  export class JsonSchemaDraft201909 implements JSONSchemaVersion {}
4681
4686
  export class JsonSchemaDraft4 implements JSONSchemaVersion {}
4682
4687
  export class JsonSchemaDraft7 implements JSONSchemaVersion {}
@@ -6035,6 +6040,8 @@ declare module "amf-client-js" {
6035
6040
 
6036
6041
  static OAS30(): AMFConfiguration;
6037
6042
 
6043
+ static OAS31(): AMFConfiguration;
6044
+
6038
6045
  static OAS30Component(): AMFConfiguration;
6039
6046
 
6040
6047
  static OASComponent(): AMFConfiguration;
@@ -6503,7 +6510,6 @@ declare module "amf-client-js" {
6503
6510
  getMaxYamlReferences: undefined | number;
6504
6511
  isAmfJsonLdSerialization: boolean;
6505
6512
  isTokens: boolean;
6506
- isExtensionsEverywhere: boolean;
6507
6513
 
6508
6514
  constructor();
6509
6515
 
@@ -6524,10 +6530,6 @@ declare module "amf-client-js" {
6524
6530
  withoutBaseUnitUrl(): ParsingOptions;
6525
6531
 
6526
6532
  withoutTokens(): ParsingOptions;
6527
-
6528
- withExtensionsEverywhere(): ParsingOptions;
6529
-
6530
- withoutExtensionsEverywhere(): ParsingOptions;
6531
6533
  }
6532
6534
  export class Path {
6533
6535
  static delimiter: string;
@@ -6654,6 +6656,7 @@ declare module "amf-client-js" {
6654
6656
  static readonly AVROSCHEMA: ProfileName;
6655
6657
  static readonly OAS20: ProfileName;
6656
6658
  static readonly OAS30: ProfileName;
6659
+ static readonly OAS31: ProfileName;
6657
6660
  static readonly PAYLOAD: ProfileName;
6658
6661
  static readonly RAML08: ProfileName;
6659
6662
  static readonly RAML10: ProfileName;
@@ -8707,6 +8710,7 @@ declare module "amf-client-js" {
8707
8710
  static readonly JSONSCHEMADIALECT: Spec;
8708
8711
  static readonly OAS20: Spec;
8709
8712
  static readonly OAS30: Spec;
8713
+ static readonly OAS31: Spec;
8710
8714
  static readonly PAYLOAD: Spec;
8711
8715
  static readonly RAML08: Spec;
8712
8716
  static readonly RAML10: Spec;
@@ -9196,6 +9200,8 @@ declare module "amf-client-js" {
9196
9200
 
9197
9201
  withEndPoints(endPoints: Array<EndPoint>): this;
9198
9202
 
9203
+ withWebhooks(webhooks: Array<EndPoint>): this;
9204
+
9199
9205
  withExtendsNode(extension: Array<ParametrizedDeclaration>): this;
9200
9206
 
9201
9207
  withId(id: string): this;