amf-client-js 5.9.0-SNAPSHOT.9 → 5.9.1-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 +11783 -11628
  2. package/package.json +2 -2
  3. package/typings/amf-client-js.d.ts +175 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amf-client-js",
3
- "version": "5.9.0-SNAPSHOT.9",
3
+ "version": "5.9.1-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
  }
@@ -1300,6 +1300,8 @@ declare module "amf-client-js" {
1300
1300
  lexical(): Range;
1301
1301
 
1302
1302
  location(): undefined | string;
1303
+
1304
+ resolvedReferenceLike(): undefined | string;
1303
1305
  }
1304
1306
  export class AnyField implements ValueField<any> {
1305
1307
  isNull: boolean;
@@ -6812,7 +6814,7 @@ declare module "amf-client-js" {
6812
6814
  static readonly RAML08: ProfileName;
6813
6815
  static readonly RAML10: ProfileName;
6814
6816
  static readonly MCP: ProfileName;
6815
- static readonly BROKER_GROUP: ProfileName;
6817
+ static readonly AGENT_NETWORK: ProfileName;
6816
6818
  static readonly AGENT_CARD: ProfileName;
6817
6819
  }
6818
6820
  export class PropertyDependencies implements DomainElement {
@@ -7093,6 +7095,63 @@ declare module "amf-client-js" {
7093
7095
 
7094
7096
  withXone(subShapes: Array<Shape>): this;
7095
7097
  }
7098
+ export class Reserved implements DomainElement {
7099
+ customDomainProperties: Array<DomainExtension>;
7100
+ extendsNode: Array<DomainElement>;
7101
+ id: string;
7102
+ isExternalLink: BoolField;
7103
+ position: Range;
7104
+ number: number;
7105
+ fieldName: string;
7106
+ range: ReservedRange;
7107
+
7108
+ constructor();
7109
+
7110
+ annotations(): Annotations;
7111
+
7112
+ graph(): Graph;
7113
+
7114
+ withCustomDomainProperties(extensions: Array<DomainExtension>): this;
7115
+
7116
+ withExtendsNode(extension: Array<ParametrizedDeclaration>): this;
7117
+
7118
+ withId(id: string): this;
7119
+
7120
+ withIsExternalLink(isExternalLink: boolean): DomainElement;
7121
+
7122
+ withNumber(number: number): this;
7123
+
7124
+ withFieldName(fieldName: string): this;
7125
+
7126
+ withRange(range: ReservedRange): this;
7127
+ }
7128
+ export class ReservedRange implements DomainElement {
7129
+ customDomainProperties: Array<DomainExtension>;
7130
+ extendsNode: Array<DomainElement>;
7131
+ id: string;
7132
+ isExternalLink: BoolField;
7133
+ position: Range;
7134
+ from: number;
7135
+ to: number;
7136
+
7137
+ constructor();
7138
+
7139
+ annotations(): Annotations;
7140
+
7141
+ graph(): Graph;
7142
+
7143
+ withCustomDomainProperties(extensions: Array<DomainExtension>): this;
7144
+
7145
+ withExtendsNode(extension: Array<ParametrizedDeclaration>): this;
7146
+
7147
+ withId(id: string): this;
7148
+
7149
+ withIsExternalLink(isExternalLink: boolean): DomainElement;
7150
+
7151
+ withFrom(from: number): this;
7152
+
7153
+ withTo(to: number): this;
7154
+ }
7096
7155
  export class PropertyShapePath implements DomainElement {
7097
7156
  customDomainProperties: Array<DomainExtension>;
7098
7157
  extendsNode: Array<DomainElement>;
@@ -8901,7 +8960,7 @@ declare module "amf-client-js" {
8901
8960
  static readonly RAML08: Spec;
8902
8961
  static readonly RAML10: Spec;
8903
8962
  static readonly MCP: Spec;
8904
- static readonly BROKER_GROUP: Spec;
8963
+ static readonly AGENT_NETWORK: Spec;
8905
8964
  static readonly AGENT_CARD: Spec;
8906
8965
 
8907
8966
  static apply(name: string): Spec;
@@ -9633,41 +9692,140 @@ declare module "amf-client-js" {
9633
9692
  syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9634
9693
  }
9635
9694
 
9636
- export class BrokerGroupConfiguration extends BaseBrokerGroupConfiguration {
9637
- static BrokerGroup(): BrokerGroupConfiguration;
9695
+ export class OtherCardConfiguration extends BaseOtherCardConfiguration {
9696
+ static OtherCard(): OtherCardConfiguration;
9697
+
9698
+ baseUnitClient(): OtherCardBaseUnitClient;
9699
+ }
9700
+
9701
+ export class BaseOtherCardConfiguration extends BaseShapesConfiguration {
9702
+ withDialect(dialect: Dialect): BaseOtherCardConfiguration;
9703
+
9704
+ withErrorHandlerProvider(
9705
+ provider: ErrorHandlerProvider
9706
+ ): BaseOtherCardConfiguration;
9707
+
9708
+ withEventListener(listener: AMFEventListener): BaseOtherCardConfiguration;
9709
+
9710
+ withParsingOptions(parsingOptions: ParsingOptions): BaseOtherCardConfiguration;
9711
+
9712
+ withRenderOptions(renderOptions: RenderOptions): BaseOtherCardConfiguration;
9713
+
9714
+ withResourceLoader(rl: ResourceLoader): BaseOtherCardConfiguration;
9715
+
9716
+ withResourceLoaders(rl: Array<ResourceLoader>): BaseOtherCardConfiguration;
9717
+
9718
+ withTransformationPipeline(
9719
+ pipeline: TransformationPipeline
9720
+ ): BaseOtherCardConfiguration;
9721
+
9722
+ withUnitCache(cache: UnitCache): BaseOtherCardConfiguration;
9723
+ }
9724
+ export class OtherCardBaseUnitClient extends AMLBaseUnitClient {
9725
+ syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9726
+ }
9727
+
9728
+ export class AgentMetadataConfiguration extends BaseAgentMetadataConfiguration {
9729
+ static AgentMetadata(): AgentMetadataConfiguration;
9730
+
9731
+ baseUnitClient(): AgentMetadataBaseUnitClient;
9732
+ }
9733
+
9734
+ export class BaseAgentMetadataConfiguration extends BaseShapesConfiguration {
9735
+ withDialect(dialect: Dialect): BaseAgentMetadataConfiguration;
9736
+
9737
+ withErrorHandlerProvider(
9738
+ provider: ErrorHandlerProvider
9739
+ ): BaseAgentMetadataConfiguration;
9740
+
9741
+ withEventListener(listener: AMFEventListener): BaseAgentMetadataConfiguration;
9742
+
9743
+ withParsingOptions(parsingOptions: ParsingOptions): BaseAgentMetadataConfiguration;
9744
+
9745
+ withRenderOptions(renderOptions: RenderOptions): BaseAgentMetadataConfiguration;
9746
+
9747
+ withResourceLoader(rl: ResourceLoader): BaseAgentMetadataConfiguration;
9748
+
9749
+ withResourceLoaders(rl: Array<ResourceLoader>): BaseAgentMetadataConfiguration;
9750
+
9751
+ withTransformationPipeline(
9752
+ pipeline: TransformationPipeline
9753
+ ): BaseAgentMetadataConfiguration;
9754
+
9755
+ withUnitCache(cache: UnitCache): BaseAgentMetadataConfiguration;
9756
+ }
9757
+ export class AgentMetadataBaseUnitClient extends AMLBaseUnitClient {
9758
+ syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9759
+ }
9760
+
9761
+ export class LLMMetadataConfiguration extends BaseLLMMetadataConfiguration {
9762
+ static LLMMetadata(): LLMMetadataConfiguration;
9763
+
9764
+ baseUnitClient(): LLMMetadataBaseUnitClient;
9765
+ }
9766
+
9767
+ export class BaseLLMMetadataConfiguration extends BaseShapesConfiguration {
9768
+ withDialect(dialect: Dialect): BaseLLMMetadataConfiguration;
9769
+
9770
+ withErrorHandlerProvider(
9771
+ provider: ErrorHandlerProvider
9772
+ ): BaseLLMMetadataConfiguration;
9773
+
9774
+ withEventListener(listener: AMFEventListener): BaseLLMMetadataConfiguration;
9775
+
9776
+ withParsingOptions(parsingOptions: ParsingOptions): BaseLLMMetadataConfiguration;
9777
+
9778
+ withRenderOptions(renderOptions: RenderOptions): BaseLLMMetadataConfiguration;
9779
+
9780
+ withResourceLoader(rl: ResourceLoader): BaseLLMMetadataConfiguration;
9781
+
9782
+ withResourceLoaders(rl: Array<ResourceLoader>): BaseLLMMetadataConfiguration;
9783
+
9784
+ withTransformationPipeline(
9785
+ pipeline: TransformationPipeline
9786
+ ): BaseLLMMetadataConfiguration;
9787
+
9788
+ withUnitCache(cache: UnitCache): BaseLLMMetadataConfiguration;
9789
+ }
9790
+ export class LLMMetadataBaseUnitClient extends AMLBaseUnitClient {
9791
+ syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9792
+ }
9793
+
9794
+ export class AgentNetworkConfiguration extends BaseAgentNetworkConfiguration {
9795
+ static AgentNetwork(): AgentNetworkConfiguration;
9638
9796
 
9639
- baseUnitClient(): BrokerGroupBaseUnitClient;
9797
+ baseUnitClient(): AgentNetworkBaseUnitClient;
9640
9798
  }
9641
9799
 
9642
- export class BaseBrokerGroupConfiguration extends BaseShapesConfiguration {
9643
- withDialect(dialect: Dialect): BaseBrokerGroupConfiguration;
9800
+ export class BaseAgentNetworkConfiguration extends BaseShapesConfiguration {
9801
+ withDialect(dialect: Dialect): BaseAgentNetworkConfiguration;
9644
9802
 
9645
9803
  withErrorHandlerProvider(
9646
9804
  provider: ErrorHandlerProvider
9647
- ): BaseBrokerGroupConfiguration;
9805
+ ): BaseAgentNetworkConfiguration;
9648
9806
 
9649
- withEventListener(listener: AMFEventListener): BaseBrokerGroupConfiguration;
9807
+ withEventListener(listener: AMFEventListener): BaseAgentNetworkConfiguration;
9650
9808
 
9651
- withParsingOptions(parsingOptions: ParsingOptions): BaseBrokerGroupConfiguration;
9809
+ withParsingOptions(parsingOptions: ParsingOptions): BaseAgentNetworkConfiguration;
9652
9810
 
9653
- withRenderOptions(renderOptions: RenderOptions): BaseBrokerGroupConfiguration;
9811
+ withRenderOptions(renderOptions: RenderOptions): BaseAgentNetworkConfiguration;
9654
9812
 
9655
- withResourceLoader(rl: ResourceLoader): BaseBrokerGroupConfiguration;
9813
+ withResourceLoader(rl: ResourceLoader): BaseAgentNetworkConfiguration;
9656
9814
 
9657
- withResourceLoaders(rl: Array<ResourceLoader>): BaseBrokerGroupConfiguration;
9815
+ withResourceLoaders(rl: Array<ResourceLoader>): BaseAgentNetworkConfiguration;
9658
9816
 
9659
9817
  withTransformationPipeline(
9660
9818
  pipeline: TransformationPipeline
9661
- ): BaseBrokerGroupConfiguration;
9819
+ ): BaseAgentNetworkConfiguration;
9662
9820
 
9663
- withUnitCache(cache: UnitCache): BaseBrokerGroupConfiguration;
9821
+ withUnitCache(cache: UnitCache): BaseAgentNetworkConfiguration;
9664
9822
  }
9665
- export class BrokerGroupBaseUnitClient extends AMLBaseUnitClient {
9823
+ export class AgentNetworkBaseUnitClient extends AMLBaseUnitClient {
9666
9824
  syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9667
9825
  }
9668
9826
 
9669
9827
  export class ConfigurationAdapter {
9670
- adapt(baseConfiguration: AMLConfiguration): AMFConfiguration;
9828
+ static adapt(baseConfiguration: AMFGraphConfiguration): AMFConfiguration;
9671
9829
  }
9672
9830
 
9673
9831
  namespace org {