amf-client-js 5.7.0-SNAPSHOT.9 → 5.7.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 +11478 -12481
  2. package/package.json +2 -2
  3. package/typings/amf-client-js.d.ts +16 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amf-client-js",
3
- "version": "5.7.0-SNAPSHOT.9",
3
+ "version": "5.7.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.28",
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;
@@ -3333,6 +3335,7 @@ declare module "amf-client-js" {
3333
3335
  }
3334
3336
  export class Example implements DomainElement, Linkable {
3335
3337
  customDomainProperties: Array<DomainExtension>;
3338
+ summary: StrField;
3336
3339
  description: StrField;
3337
3340
  displayName: StrField;
3338
3341
  extendsNode: Array<DomainElement>;
@@ -3363,6 +3366,8 @@ declare module "amf-client-js" {
3363
3366
 
3364
3367
  withCustomDomainProperties(extensions: Array<DomainExtension>): this;
3365
3368
 
3369
+ withSummary(summary: string): this;
3370
+
3366
3371
  withDescription(description: string): this;
3367
3372
 
3368
3373
  withDisplayName(displayName: string): this;
@@ -4677,6 +4682,9 @@ declare module "amf-client-js" {
4677
4682
 
4678
4683
  constructor();
4679
4684
  }
4685
+ export class AvroSchemaDocument extends Document {
4686
+ constructor();
4687
+ }
4680
4688
  export class JsonSchemaDraft201909 implements JSONSchemaVersion {}
4681
4689
  export class JsonSchemaDraft4 implements JSONSchemaVersion {}
4682
4690
  export class JsonSchemaDraft7 implements JSONSchemaVersion {}
@@ -5249,6 +5257,8 @@ declare module "amf-client-js" {
5249
5257
  export interface Linkable {
5250
5258
  isLink: boolean;
5251
5259
  linkLabel: StrField;
5260
+ refSummary: StrField;
5261
+ refDescription: StrField;
5252
5262
  linkTarget: undefined | DomainElement;
5253
5263
 
5254
5264
  link<T>(): T;
@@ -6035,6 +6045,8 @@ declare module "amf-client-js" {
6035
6045
 
6036
6046
  static OAS30(): AMFConfiguration;
6037
6047
 
6048
+ static OAS31(): AMFConfiguration;
6049
+
6038
6050
  static OAS30Component(): AMFConfiguration;
6039
6051
 
6040
6052
  static OASComponent(): AMFConfiguration;
@@ -6503,7 +6515,6 @@ declare module "amf-client-js" {
6503
6515
  getMaxYamlReferences: undefined | number;
6504
6516
  isAmfJsonLdSerialization: boolean;
6505
6517
  isTokens: boolean;
6506
- isExtensionsEverywhere: boolean;
6507
6518
 
6508
6519
  constructor();
6509
6520
 
@@ -6524,10 +6535,6 @@ declare module "amf-client-js" {
6524
6535
  withoutBaseUnitUrl(): ParsingOptions;
6525
6536
 
6526
6537
  withoutTokens(): ParsingOptions;
6527
-
6528
- withExtensionsEverywhere(): ParsingOptions;
6529
-
6530
- withoutExtensionsEverywhere(): ParsingOptions;
6531
6538
  }
6532
6539
  export class Path {
6533
6540
  static delimiter: string;
@@ -6654,6 +6661,7 @@ declare module "amf-client-js" {
6654
6661
  static readonly AVROSCHEMA: ProfileName;
6655
6662
  static readonly OAS20: ProfileName;
6656
6663
  static readonly OAS30: ProfileName;
6664
+ static readonly OAS31: ProfileName;
6657
6665
  static readonly PAYLOAD: ProfileName;
6658
6666
  static readonly RAML08: ProfileName;
6659
6667
  static readonly RAML10: ProfileName;
@@ -8707,6 +8715,7 @@ declare module "amf-client-js" {
8707
8715
  static readonly JSONSCHEMADIALECT: Spec;
8708
8716
  static readonly OAS20: Spec;
8709
8717
  static readonly OAS30: Spec;
8718
+ static readonly OAS31: Spec;
8710
8719
  static readonly PAYLOAD: Spec;
8711
8720
  static readonly RAML08: Spec;
8712
8721
  static readonly RAML10: Spec;
@@ -9196,6 +9205,8 @@ declare module "amf-client-js" {
9196
9205
 
9197
9206
  withEndPoints(endPoints: Array<EndPoint>): this;
9198
9207
 
9208
+ withWebhooks(webhooks: Array<EndPoint>): this;
9209
+
9199
9210
  withExtendsNode(extension: Array<ParametrizedDeclaration>): this;
9200
9211
 
9201
9212
  withId(id: string): this;