@wundergraph/cosmo-connect 0.51.0 → 0.53.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.
@@ -1060,11 +1060,7 @@ export declare class GetFederatedGraphByNameResponse extends Message<GetFederate
1060
1060
  */
1061
1061
  subgraphs: Subgraph[];
1062
1062
  /**
1063
- * @generated from field: string graphToken = 4;
1064
- */
1065
- graphToken: string;
1066
- /**
1067
- * @generated from field: string graphRequestToken = 5;
1063
+ * @generated from field: string graphRequestToken = 4;
1068
1064
  */
1069
1065
  graphRequestToken: string;
1070
1066
  constructor(data?: PartialMessage<GetFederatedGraphByNameResponse>);
@@ -3105,6 +3101,48 @@ export declare class RouterToken extends Message<RouterToken> {
3105
3101
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RouterToken;
3106
3102
  static equals(a: RouterToken | PlainMessage<RouterToken> | undefined, b: RouterToken | PlainMessage<RouterToken> | undefined): boolean;
3107
3103
  }
3104
+ /**
3105
+ * @generated from message wg.cosmo.platform.v1.GenerateRouterTokenRequest
3106
+ */
3107
+ export declare class GenerateRouterTokenRequest extends Message<GenerateRouterTokenRequest> {
3108
+ /**
3109
+ * @generated from field: string fedGraphName = 1;
3110
+ */
3111
+ fedGraphName: string;
3112
+ /**
3113
+ * @generated from field: string namespace = 2;
3114
+ */
3115
+ namespace: string;
3116
+ constructor(data?: PartialMessage<GenerateRouterTokenRequest>);
3117
+ static readonly runtime: typeof proto3;
3118
+ static readonly typeName = "wg.cosmo.platform.v1.GenerateRouterTokenRequest";
3119
+ static readonly fields: FieldList;
3120
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GenerateRouterTokenRequest;
3121
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GenerateRouterTokenRequest;
3122
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateRouterTokenRequest;
3123
+ static equals(a: GenerateRouterTokenRequest | PlainMessage<GenerateRouterTokenRequest> | undefined, b: GenerateRouterTokenRequest | PlainMessage<GenerateRouterTokenRequest> | undefined): boolean;
3124
+ }
3125
+ /**
3126
+ * @generated from message wg.cosmo.platform.v1.GenerateRouterTokenResponse
3127
+ */
3128
+ export declare class GenerateRouterTokenResponse extends Message<GenerateRouterTokenResponse> {
3129
+ /**
3130
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3131
+ */
3132
+ response?: Response;
3133
+ /**
3134
+ * @generated from field: string token = 2;
3135
+ */
3136
+ token: string;
3137
+ constructor(data?: PartialMessage<GenerateRouterTokenResponse>);
3138
+ static readonly runtime: typeof proto3;
3139
+ static readonly typeName = "wg.cosmo.platform.v1.GenerateRouterTokenResponse";
3140
+ static readonly fields: FieldList;
3141
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GenerateRouterTokenResponse;
3142
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GenerateRouterTokenResponse;
3143
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateRouterTokenResponse;
3144
+ static equals(a: GenerateRouterTokenResponse | PlainMessage<GenerateRouterTokenResponse> | undefined, b: GenerateRouterTokenResponse | PlainMessage<GenerateRouterTokenResponse> | undefined): boolean;
3145
+ }
3108
3146
  /**
3109
3147
  * @generated from message wg.cosmo.platform.v1.GetRouterTokensRequest
3110
3148
  */
@@ -5522,6 +5560,40 @@ export declare class GetUserAccessibleResourcesResponse_Graph extends Message<Ge
5522
5560
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetUserAccessibleResourcesResponse_Graph;
5523
5561
  static equals(a: GetUserAccessibleResourcesResponse_Graph | PlainMessage<GetUserAccessibleResourcesResponse_Graph> | undefined, b: GetUserAccessibleResourcesResponse_Graph | PlainMessage<GetUserAccessibleResourcesResponse_Graph> | undefined): boolean;
5524
5562
  }
5563
+ /**
5564
+ * @generated from message wg.cosmo.platform.v1.UpdateAISettingsRequest
5565
+ */
5566
+ export declare class UpdateAISettingsRequest extends Message<UpdateAISettingsRequest> {
5567
+ /**
5568
+ * @generated from field: bool enable = 1;
5569
+ */
5570
+ enable: boolean;
5571
+ constructor(data?: PartialMessage<UpdateAISettingsRequest>);
5572
+ static readonly runtime: typeof proto3;
5573
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateAISettingsRequest";
5574
+ static readonly fields: FieldList;
5575
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateAISettingsRequest;
5576
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateAISettingsRequest;
5577
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateAISettingsRequest;
5578
+ static equals(a: UpdateAISettingsRequest | PlainMessage<UpdateAISettingsRequest> | undefined, b: UpdateAISettingsRequest | PlainMessage<UpdateAISettingsRequest> | undefined): boolean;
5579
+ }
5580
+ /**
5581
+ * @generated from message wg.cosmo.platform.v1.UpdateAISettingsResponse
5582
+ */
5583
+ export declare class UpdateAISettingsResponse extends Message<UpdateAISettingsResponse> {
5584
+ /**
5585
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
5586
+ */
5587
+ response?: Response;
5588
+ constructor(data?: PartialMessage<UpdateAISettingsResponse>);
5589
+ static readonly runtime: typeof proto3;
5590
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateAISettingsResponse";
5591
+ static readonly fields: FieldList;
5592
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateAISettingsResponse;
5593
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateAISettingsResponse;
5594
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateAISettingsResponse;
5595
+ static equals(a: UpdateAISettingsResponse | PlainMessage<UpdateAISettingsResponse> | undefined, b: UpdateAISettingsResponse | PlainMessage<UpdateAISettingsResponse> | undefined): boolean;
5596
+ }
5525
5597
  /**
5526
5598
  * @generated from message wg.cosmo.platform.v1.UpdateRBACSettingsRequest
5527
5599
  */
@@ -5556,40 +5628,6 @@ export declare class UpdateRBACSettingsResponse extends Message<UpdateRBACSettin
5556
5628
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateRBACSettingsResponse;
5557
5629
  static equals(a: UpdateRBACSettingsResponse | PlainMessage<UpdateRBACSettingsResponse> | undefined, b: UpdateRBACSettingsResponse | PlainMessage<UpdateRBACSettingsResponse> | undefined): boolean;
5558
5630
  }
5559
- /**
5560
- * @generated from message wg.cosmo.platform.v1.IsRBACEnabledRequest
5561
- */
5562
- export declare class IsRBACEnabledRequest extends Message<IsRBACEnabledRequest> {
5563
- constructor(data?: PartialMessage<IsRBACEnabledRequest>);
5564
- static readonly runtime: typeof proto3;
5565
- static readonly typeName = "wg.cosmo.platform.v1.IsRBACEnabledRequest";
5566
- static readonly fields: FieldList;
5567
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsRBACEnabledRequest;
5568
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsRBACEnabledRequest;
5569
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsRBACEnabledRequest;
5570
- static equals(a: IsRBACEnabledRequest | PlainMessage<IsRBACEnabledRequest> | undefined, b: IsRBACEnabledRequest | PlainMessage<IsRBACEnabledRequest> | undefined): boolean;
5571
- }
5572
- /**
5573
- * @generated from message wg.cosmo.platform.v1.IsRBACEnabledResponse
5574
- */
5575
- export declare class IsRBACEnabledResponse extends Message<IsRBACEnabledResponse> {
5576
- /**
5577
- * @generated from field: wg.cosmo.platform.v1.Response response = 1;
5578
- */
5579
- response?: Response;
5580
- /**
5581
- * @generated from field: bool enabled = 2;
5582
- */
5583
- enabled: boolean;
5584
- constructor(data?: PartialMessage<IsRBACEnabledResponse>);
5585
- static readonly runtime: typeof proto3;
5586
- static readonly typeName = "wg.cosmo.platform.v1.IsRBACEnabledResponse";
5587
- static readonly fields: FieldList;
5588
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsRBACEnabledResponse;
5589
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsRBACEnabledResponse;
5590
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsRBACEnabledResponse;
5591
- static equals(a: IsRBACEnabledResponse | PlainMessage<IsRBACEnabledResponse> | undefined, b: IsRBACEnabledResponse | PlainMessage<IsRBACEnabledResponse> | undefined): boolean;
5592
- }
5593
5631
  /**
5594
5632
  * @generated from message wg.cosmo.platform.v1.AddSubgraphMemberRequest
5595
5633
  */
@@ -1586,11 +1586,7 @@ export class GetFederatedGraphByNameResponse extends Message {
1586
1586
  */
1587
1587
  subgraphs = [];
1588
1588
  /**
1589
- * @generated from field: string graphToken = 4;
1590
- */
1591
- graphToken = "";
1592
- /**
1593
- * @generated from field: string graphRequestToken = 5;
1589
+ * @generated from field: string graphRequestToken = 4;
1594
1590
  */
1595
1591
  graphRequestToken = "";
1596
1592
  constructor(data) {
@@ -1603,8 +1599,7 @@ export class GetFederatedGraphByNameResponse extends Message {
1603
1599
  { no: 1, name: "response", kind: "message", T: Response },
1604
1600
  { no: 2, name: "graph", kind: "message", T: FederatedGraph },
1605
1601
  { no: 3, name: "subgraphs", kind: "message", T: Subgraph, repeated: true },
1606
- { no: 4, name: "graphToken", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1607
- { no: 5, name: "graphRequestToken", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1602
+ { no: 4, name: "graphRequestToken", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1608
1603
  ]);
1609
1604
  static fromBinary(bytes, options) {
1610
1605
  return new GetFederatedGraphByNameResponse().fromBinary(bytes, options);
@@ -4794,6 +4789,76 @@ export class RouterToken extends Message {
4794
4789
  return proto3.util.equals(RouterToken, a, b);
4795
4790
  }
4796
4791
  }
4792
+ /**
4793
+ * @generated from message wg.cosmo.platform.v1.GenerateRouterTokenRequest
4794
+ */
4795
+ export class GenerateRouterTokenRequest extends Message {
4796
+ /**
4797
+ * @generated from field: string fedGraphName = 1;
4798
+ */
4799
+ fedGraphName = "";
4800
+ /**
4801
+ * @generated from field: string namespace = 2;
4802
+ */
4803
+ namespace = "";
4804
+ constructor(data) {
4805
+ super();
4806
+ proto3.util.initPartial(data, this);
4807
+ }
4808
+ static runtime = proto3;
4809
+ static typeName = "wg.cosmo.platform.v1.GenerateRouterTokenRequest";
4810
+ static fields = proto3.util.newFieldList(() => [
4811
+ { no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4812
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4813
+ ]);
4814
+ static fromBinary(bytes, options) {
4815
+ return new GenerateRouterTokenRequest().fromBinary(bytes, options);
4816
+ }
4817
+ static fromJson(jsonValue, options) {
4818
+ return new GenerateRouterTokenRequest().fromJson(jsonValue, options);
4819
+ }
4820
+ static fromJsonString(jsonString, options) {
4821
+ return new GenerateRouterTokenRequest().fromJsonString(jsonString, options);
4822
+ }
4823
+ static equals(a, b) {
4824
+ return proto3.util.equals(GenerateRouterTokenRequest, a, b);
4825
+ }
4826
+ }
4827
+ /**
4828
+ * @generated from message wg.cosmo.platform.v1.GenerateRouterTokenResponse
4829
+ */
4830
+ export class GenerateRouterTokenResponse extends Message {
4831
+ /**
4832
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4833
+ */
4834
+ response;
4835
+ /**
4836
+ * @generated from field: string token = 2;
4837
+ */
4838
+ token = "";
4839
+ constructor(data) {
4840
+ super();
4841
+ proto3.util.initPartial(data, this);
4842
+ }
4843
+ static runtime = proto3;
4844
+ static typeName = "wg.cosmo.platform.v1.GenerateRouterTokenResponse";
4845
+ static fields = proto3.util.newFieldList(() => [
4846
+ { no: 1, name: "response", kind: "message", T: Response },
4847
+ { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4848
+ ]);
4849
+ static fromBinary(bytes, options) {
4850
+ return new GenerateRouterTokenResponse().fromBinary(bytes, options);
4851
+ }
4852
+ static fromJson(jsonValue, options) {
4853
+ return new GenerateRouterTokenResponse().fromJson(jsonValue, options);
4854
+ }
4855
+ static fromJsonString(jsonString, options) {
4856
+ return new GenerateRouterTokenResponse().fromJsonString(jsonString, options);
4857
+ }
4858
+ static equals(a, b) {
4859
+ return proto3.util.equals(GenerateRouterTokenResponse, a, b);
4860
+ }
4861
+ }
4797
4862
  /**
4798
4863
  * @generated from message wg.cosmo.platform.v1.GetRouterTokensRequest
4799
4864
  */
@@ -8687,9 +8752,9 @@ export class GetUserAccessibleResourcesResponse_Graph extends Message {
8687
8752
  }
8688
8753
  }
8689
8754
  /**
8690
- * @generated from message wg.cosmo.platform.v1.UpdateRBACSettingsRequest
8755
+ * @generated from message wg.cosmo.platform.v1.UpdateAISettingsRequest
8691
8756
  */
8692
- export class UpdateRBACSettingsRequest extends Message {
8757
+ export class UpdateAISettingsRequest extends Message {
8693
8758
  /**
8694
8759
  * @generated from field: bool enable = 1;
8695
8760
  */
@@ -8699,27 +8764,27 @@ export class UpdateRBACSettingsRequest extends Message {
8699
8764
  proto3.util.initPartial(data, this);
8700
8765
  }
8701
8766
  static runtime = proto3;
8702
- static typeName = "wg.cosmo.platform.v1.UpdateRBACSettingsRequest";
8767
+ static typeName = "wg.cosmo.platform.v1.UpdateAISettingsRequest";
8703
8768
  static fields = proto3.util.newFieldList(() => [
8704
8769
  { no: 1, name: "enable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
8705
8770
  ]);
8706
8771
  static fromBinary(bytes, options) {
8707
- return new UpdateRBACSettingsRequest().fromBinary(bytes, options);
8772
+ return new UpdateAISettingsRequest().fromBinary(bytes, options);
8708
8773
  }
8709
8774
  static fromJson(jsonValue, options) {
8710
- return new UpdateRBACSettingsRequest().fromJson(jsonValue, options);
8775
+ return new UpdateAISettingsRequest().fromJson(jsonValue, options);
8711
8776
  }
8712
8777
  static fromJsonString(jsonString, options) {
8713
- return new UpdateRBACSettingsRequest().fromJsonString(jsonString, options);
8778
+ return new UpdateAISettingsRequest().fromJsonString(jsonString, options);
8714
8779
  }
8715
8780
  static equals(a, b) {
8716
- return proto3.util.equals(UpdateRBACSettingsRequest, a, b);
8781
+ return proto3.util.equals(UpdateAISettingsRequest, a, b);
8717
8782
  }
8718
8783
  }
8719
8784
  /**
8720
- * @generated from message wg.cosmo.platform.v1.UpdateRBACSettingsResponse
8785
+ * @generated from message wg.cosmo.platform.v1.UpdateAISettingsResponse
8721
8786
  */
8722
- export class UpdateRBACSettingsResponse extends Message {
8787
+ export class UpdateAISettingsResponse extends Message {
8723
8788
  /**
8724
8789
  * @generated from field: wg.cosmo.platform.v1.Response response = 1;
8725
8790
  */
@@ -8729,80 +8794,81 @@ export class UpdateRBACSettingsResponse extends Message {
8729
8794
  proto3.util.initPartial(data, this);
8730
8795
  }
8731
8796
  static runtime = proto3;
8732
- static typeName = "wg.cosmo.platform.v1.UpdateRBACSettingsResponse";
8797
+ static typeName = "wg.cosmo.platform.v1.UpdateAISettingsResponse";
8733
8798
  static fields = proto3.util.newFieldList(() => [
8734
8799
  { no: 1, name: "response", kind: "message", T: Response },
8735
8800
  ]);
8736
8801
  static fromBinary(bytes, options) {
8737
- return new UpdateRBACSettingsResponse().fromBinary(bytes, options);
8802
+ return new UpdateAISettingsResponse().fromBinary(bytes, options);
8738
8803
  }
8739
8804
  static fromJson(jsonValue, options) {
8740
- return new UpdateRBACSettingsResponse().fromJson(jsonValue, options);
8805
+ return new UpdateAISettingsResponse().fromJson(jsonValue, options);
8741
8806
  }
8742
8807
  static fromJsonString(jsonString, options) {
8743
- return new UpdateRBACSettingsResponse().fromJsonString(jsonString, options);
8808
+ return new UpdateAISettingsResponse().fromJsonString(jsonString, options);
8744
8809
  }
8745
8810
  static equals(a, b) {
8746
- return proto3.util.equals(UpdateRBACSettingsResponse, a, b);
8811
+ return proto3.util.equals(UpdateAISettingsResponse, a, b);
8747
8812
  }
8748
8813
  }
8749
8814
  /**
8750
- * @generated from message wg.cosmo.platform.v1.IsRBACEnabledRequest
8815
+ * @generated from message wg.cosmo.platform.v1.UpdateRBACSettingsRequest
8751
8816
  */
8752
- export class IsRBACEnabledRequest extends Message {
8817
+ export class UpdateRBACSettingsRequest extends Message {
8818
+ /**
8819
+ * @generated from field: bool enable = 1;
8820
+ */
8821
+ enable = false;
8753
8822
  constructor(data) {
8754
8823
  super();
8755
8824
  proto3.util.initPartial(data, this);
8756
8825
  }
8757
8826
  static runtime = proto3;
8758
- static typeName = "wg.cosmo.platform.v1.IsRBACEnabledRequest";
8759
- static fields = proto3.util.newFieldList(() => []);
8827
+ static typeName = "wg.cosmo.platform.v1.UpdateRBACSettingsRequest";
8828
+ static fields = proto3.util.newFieldList(() => [
8829
+ { no: 1, name: "enable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
8830
+ ]);
8760
8831
  static fromBinary(bytes, options) {
8761
- return new IsRBACEnabledRequest().fromBinary(bytes, options);
8832
+ return new UpdateRBACSettingsRequest().fromBinary(bytes, options);
8762
8833
  }
8763
8834
  static fromJson(jsonValue, options) {
8764
- return new IsRBACEnabledRequest().fromJson(jsonValue, options);
8835
+ return new UpdateRBACSettingsRequest().fromJson(jsonValue, options);
8765
8836
  }
8766
8837
  static fromJsonString(jsonString, options) {
8767
- return new IsRBACEnabledRequest().fromJsonString(jsonString, options);
8838
+ return new UpdateRBACSettingsRequest().fromJsonString(jsonString, options);
8768
8839
  }
8769
8840
  static equals(a, b) {
8770
- return proto3.util.equals(IsRBACEnabledRequest, a, b);
8841
+ return proto3.util.equals(UpdateRBACSettingsRequest, a, b);
8771
8842
  }
8772
8843
  }
8773
8844
  /**
8774
- * @generated from message wg.cosmo.platform.v1.IsRBACEnabledResponse
8845
+ * @generated from message wg.cosmo.platform.v1.UpdateRBACSettingsResponse
8775
8846
  */
8776
- export class IsRBACEnabledResponse extends Message {
8847
+ export class UpdateRBACSettingsResponse extends Message {
8777
8848
  /**
8778
8849
  * @generated from field: wg.cosmo.platform.v1.Response response = 1;
8779
8850
  */
8780
8851
  response;
8781
- /**
8782
- * @generated from field: bool enabled = 2;
8783
- */
8784
- enabled = false;
8785
8852
  constructor(data) {
8786
8853
  super();
8787
8854
  proto3.util.initPartial(data, this);
8788
8855
  }
8789
8856
  static runtime = proto3;
8790
- static typeName = "wg.cosmo.platform.v1.IsRBACEnabledResponse";
8857
+ static typeName = "wg.cosmo.platform.v1.UpdateRBACSettingsResponse";
8791
8858
  static fields = proto3.util.newFieldList(() => [
8792
8859
  { no: 1, name: "response", kind: "message", T: Response },
8793
- { no: 2, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
8794
8860
  ]);
8795
8861
  static fromBinary(bytes, options) {
8796
- return new IsRBACEnabledResponse().fromBinary(bytes, options);
8862
+ return new UpdateRBACSettingsResponse().fromBinary(bytes, options);
8797
8863
  }
8798
8864
  static fromJson(jsonValue, options) {
8799
- return new IsRBACEnabledResponse().fromJson(jsonValue, options);
8865
+ return new UpdateRBACSettingsResponse().fromJson(jsonValue, options);
8800
8866
  }
8801
8867
  static fromJsonString(jsonString, options) {
8802
- return new IsRBACEnabledResponse().fromJsonString(jsonString, options);
8868
+ return new UpdateRBACSettingsResponse().fromJsonString(jsonString, options);
8803
8869
  }
8804
8870
  static equals(a, b) {
8805
- return proto3.util.equals(IsRBACEnabledResponse, a, b);
8871
+ return proto3.util.equals(UpdateRBACSettingsResponse, a, b);
8806
8872
  }
8807
8873
  }
8808
8874
  /**