amf-client-js 5.8.0 → 5.8.2-0-INTERNAL-AGENTS-SNAPSHOT.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 +11669 -11614
  2. package/package.json +2 -2
  3. package/typings/amf-client-js.d.ts +77 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amf-client-js",
3
- "version": "5.8.0",
3
+ "version": "5.8.2-0-INTERNAL-AGENTS-SNAPSHOT.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.8.29",
19
+ "@aml-org/amf-antlr-parsers": "0.8.30",
20
20
  "ajv": "6.12.6",
21
21
  "avro-js": "1.11.3"
22
22
  }
@@ -6812,7 +6812,7 @@ declare module "amf-client-js" {
6812
6812
  static readonly RAML08: ProfileName;
6813
6813
  static readonly RAML10: ProfileName;
6814
6814
  static readonly MCP: ProfileName;
6815
- static readonly AGENT_DOMAIN: ProfileName;
6815
+ static readonly BROKER_GROUP: ProfileName;
6816
6816
  static readonly AGENT_CARD: ProfileName;
6817
6817
  }
6818
6818
  export class PropertyDependencies implements DomainElement {
@@ -7093,6 +7093,63 @@ declare module "amf-client-js" {
7093
7093
 
7094
7094
  withXone(subShapes: Array<Shape>): this;
7095
7095
  }
7096
+ export class Reserved implements DomainElement {
7097
+ customDomainProperties: Array<DomainExtension>;
7098
+ extendsNode: Array<DomainElement>;
7099
+ id: string;
7100
+ isExternalLink: BoolField;
7101
+ position: Range;
7102
+ number: number;
7103
+ fieldName: string;
7104
+ range: ReservedRange;
7105
+
7106
+ constructor();
7107
+
7108
+ annotations(): Annotations;
7109
+
7110
+ graph(): Graph;
7111
+
7112
+ withCustomDomainProperties(extensions: Array<DomainExtension>): this;
7113
+
7114
+ withExtendsNode(extension: Array<ParametrizedDeclaration>): this;
7115
+
7116
+ withId(id: string): this;
7117
+
7118
+ withIsExternalLink(isExternalLink: boolean): DomainElement;
7119
+
7120
+ withNumber(number: number): this;
7121
+
7122
+ withFieldName(fieldName: string): this;
7123
+
7124
+ withRange(range: ReservedRange): this;
7125
+ }
7126
+ export class ReservedRange implements DomainElement {
7127
+ customDomainProperties: Array<DomainExtension>;
7128
+ extendsNode: Array<DomainElement>;
7129
+ id: string;
7130
+ isExternalLink: BoolField;
7131
+ position: Range;
7132
+ from: number;
7133
+ to: number;
7134
+
7135
+ constructor();
7136
+
7137
+ annotations(): Annotations;
7138
+
7139
+ graph(): Graph;
7140
+
7141
+ withCustomDomainProperties(extensions: Array<DomainExtension>): this;
7142
+
7143
+ withExtendsNode(extension: Array<ParametrizedDeclaration>): this;
7144
+
7145
+ withId(id: string): this;
7146
+
7147
+ withIsExternalLink(isExternalLink: boolean): DomainElement;
7148
+
7149
+ withFrom(from: number): this;
7150
+
7151
+ withTo(to: number): this;
7152
+ }
7096
7153
  export class PropertyShapePath implements DomainElement {
7097
7154
  customDomainProperties: Array<DomainExtension>;
7098
7155
  extendsNode: Array<DomainElement>;
@@ -8901,7 +8958,7 @@ declare module "amf-client-js" {
8901
8958
  static readonly RAML08: Spec;
8902
8959
  static readonly RAML10: Spec;
8903
8960
  static readonly MCP: Spec;
8904
- static readonly AGENT_DOMAIN: Spec;
8961
+ static readonly BROKER_GROUP: Spec;
8905
8962
  static readonly AGENT_CARD: Spec;
8906
8963
 
8907
8964
  static apply(name: string): Spec;
@@ -9633,39 +9690,43 @@ declare module "amf-client-js" {
9633
9690
  syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9634
9691
  }
9635
9692
 
9636
- export class AgentDomainConfiguration extends BaseAgentDomainConfiguration {
9637
- static AgentDomain(): AgentDomainConfiguration;
9693
+ export class BrokerGroupConfiguration extends BaseBrokerGroupConfiguration {
9694
+ static BrokerGroup(): BrokerGroupConfiguration;
9638
9695
 
9639
- baseUnitClient(): AgentDomainBaseUnitClient;
9696
+ baseUnitClient(): BrokerGroupBaseUnitClient;
9640
9697
  }
9641
9698
 
9642
- export class BaseAgentDomainConfiguration extends BaseShapesConfiguration {
9643
- withDialect(dialect: Dialect): BaseAgentDomainConfiguration;
9699
+ export class BaseBrokerGroupConfiguration extends BaseShapesConfiguration {
9700
+ withDialect(dialect: Dialect): BaseBrokerGroupConfiguration;
9644
9701
 
9645
9702
  withErrorHandlerProvider(
9646
9703
  provider: ErrorHandlerProvider
9647
- ): BaseAgentDomainConfiguration;
9704
+ ): BaseBrokerGroupConfiguration;
9648
9705
 
9649
- withEventListener(listener: AMFEventListener): BaseAgentDomainConfiguration;
9706
+ withEventListener(listener: AMFEventListener): BaseBrokerGroupConfiguration;
9650
9707
 
9651
- withParsingOptions(parsingOptions: ParsingOptions): BaseAgentDomainConfiguration;
9708
+ withParsingOptions(parsingOptions: ParsingOptions): BaseBrokerGroupConfiguration;
9652
9709
 
9653
- withRenderOptions(renderOptions: RenderOptions): BaseAgentDomainConfiguration;
9710
+ withRenderOptions(renderOptions: RenderOptions): BaseBrokerGroupConfiguration;
9654
9711
 
9655
- withResourceLoader(rl: ResourceLoader): BaseAgentDomainConfiguration;
9712
+ withResourceLoader(rl: ResourceLoader): BaseBrokerGroupConfiguration;
9656
9713
 
9657
- withResourceLoaders(rl: Array<ResourceLoader>): BaseAgentDomainConfiguration;
9714
+ withResourceLoaders(rl: Array<ResourceLoader>): BaseBrokerGroupConfiguration;
9658
9715
 
9659
9716
  withTransformationPipeline(
9660
9717
  pipeline: TransformationPipeline
9661
- ): BaseAgentDomainConfiguration;
9718
+ ): BaseBrokerGroupConfiguration;
9662
9719
 
9663
- withUnitCache(cache: UnitCache): BaseAgentDomainConfiguration;
9720
+ withUnitCache(cache: UnitCache): BaseBrokerGroupConfiguration;
9664
9721
  }
9665
- export class AgentDomainBaseUnitClient extends AMLBaseUnitClient {
9722
+ export class BrokerGroupBaseUnitClient extends AMLBaseUnitClient {
9666
9723
  syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9667
9724
  }
9668
9725
 
9726
+ export class ConfigurationAdapter {
9727
+ static adapt(baseConfiguration: AMFGraphConfiguration): AMFConfiguration;
9728
+ }
9729
+
9669
9730
  namespace org {
9670
9731
  namespace mulesoft {
9671
9732
  namespace common {