@wundergraph/cosmo-connect 0.16.0 → 0.18.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.
- package/dist/platform/v1/platform-PlatformService_connectquery.d.ts +25 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.js +73 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.js.map +1 -1
- package/dist/platform/v1/platform_connect.d.ts +45 -1
- package/dist/platform/v1/platform_connect.js +45 -1
- package/dist/platform/v1/platform_connect.js.map +1 -1
- package/dist/platform/v1/platform_pb.d.ts +244 -9
- package/dist/platform/v1/platform_pb.js +399 -18
- package/dist/platform/v1/platform_pb.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/webhooks/events_pb.d.ts +57 -8
- package/dist/webhooks/events_pb.js +80 -15
- package/dist/webhooks/events_pb.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// https://protobuf.dev/programming-guides/style/
|
|
2
2
|
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
3
3
|
import { EnumStatusCode } from "../../common/common_pb.js";
|
|
4
|
+
import { EventMeta } from "../../webhooks/events_pb.js";
|
|
4
5
|
/**
|
|
5
6
|
* @generated from enum wg.cosmo.platform.v1.AnalyticsViewGroupName
|
|
6
7
|
*/
|
|
@@ -363,6 +364,51 @@ export class PublishFederatedSubgraphResponse extends Message {
|
|
|
363
364
|
return proto3.util.equals(PublishFederatedSubgraphResponse, a, b);
|
|
364
365
|
}
|
|
365
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* @generated from message wg.cosmo.platform.v1.GitInfo
|
|
369
|
+
*/
|
|
370
|
+
export class GitInfo extends Message {
|
|
371
|
+
/**
|
|
372
|
+
* @generated from field: string commit_sha = 1;
|
|
373
|
+
*/
|
|
374
|
+
commitSha = "";
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: string account_id = 2;
|
|
377
|
+
*/
|
|
378
|
+
accountId = "";
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: string owner_slug = 3;
|
|
381
|
+
*/
|
|
382
|
+
ownerSlug = "";
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: string repository_slug = 4;
|
|
385
|
+
*/
|
|
386
|
+
repositorySlug = "";
|
|
387
|
+
constructor(data) {
|
|
388
|
+
super();
|
|
389
|
+
proto3.util.initPartial(data, this);
|
|
390
|
+
}
|
|
391
|
+
static runtime = proto3;
|
|
392
|
+
static typeName = "wg.cosmo.platform.v1.GitInfo";
|
|
393
|
+
static fields = proto3.util.newFieldList(() => [
|
|
394
|
+
{ no: 1, name: "commit_sha", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
395
|
+
{ no: 2, name: "account_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
396
|
+
{ no: 3, name: "owner_slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
397
|
+
{ no: 4, name: "repository_slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
398
|
+
]);
|
|
399
|
+
static fromBinary(bytes, options) {
|
|
400
|
+
return new GitInfo().fromBinary(bytes, options);
|
|
401
|
+
}
|
|
402
|
+
static fromJson(jsonValue, options) {
|
|
403
|
+
return new GitInfo().fromJson(jsonValue, options);
|
|
404
|
+
}
|
|
405
|
+
static fromJsonString(jsonString, options) {
|
|
406
|
+
return new GitInfo().fromJsonString(jsonString, options);
|
|
407
|
+
}
|
|
408
|
+
static equals(a, b) {
|
|
409
|
+
return proto3.util.equals(GitInfo, a, b);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
366
412
|
/**
|
|
367
413
|
* @generated from message wg.cosmo.platform.v1.CheckSubgraphSchemaRequest
|
|
368
414
|
*/
|
|
@@ -379,6 +425,10 @@ export class CheckSubgraphSchemaRequest extends Message {
|
|
|
379
425
|
* @generated from field: bytes schema = 2;
|
|
380
426
|
*/
|
|
381
427
|
schema = new Uint8Array(0);
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: wg.cosmo.platform.v1.GitInfo gitInfo = 3;
|
|
430
|
+
*/
|
|
431
|
+
gitInfo;
|
|
382
432
|
constructor(data) {
|
|
383
433
|
super();
|
|
384
434
|
proto3.util.initPartial(data, this);
|
|
@@ -388,6 +438,7 @@ export class CheckSubgraphSchemaRequest extends Message {
|
|
|
388
438
|
static fields = proto3.util.newFieldList(() => [
|
|
389
439
|
{ no: 1, name: "subgraph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
390
440
|
{ no: 2, name: "schema", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
441
|
+
{ no: 3, name: "gitInfo", kind: "message", T: GitInfo },
|
|
391
442
|
]);
|
|
392
443
|
static fromBinary(bytes, options) {
|
|
393
444
|
return new CheckSubgraphSchemaRequest().fromBinary(bytes, options);
|
|
@@ -937,35 +988,39 @@ export class GetFederatedGraphsRequest extends Message {
|
|
|
937
988
|
*/
|
|
938
989
|
export class FederatedGraph extends Message {
|
|
939
990
|
/**
|
|
940
|
-
* @generated from field: string
|
|
991
|
+
* @generated from field: string id = 1;
|
|
992
|
+
*/
|
|
993
|
+
id = "";
|
|
994
|
+
/**
|
|
995
|
+
* @generated from field: string name = 2;
|
|
941
996
|
*/
|
|
942
997
|
name = "";
|
|
943
998
|
/**
|
|
944
|
-
* @generated from field: string routingURL =
|
|
999
|
+
* @generated from field: string routingURL = 3;
|
|
945
1000
|
*/
|
|
946
1001
|
routingURL = "";
|
|
947
1002
|
/**
|
|
948
|
-
* @generated from field: repeated string label_matchers =
|
|
1003
|
+
* @generated from field: repeated string label_matchers = 4;
|
|
949
1004
|
*/
|
|
950
1005
|
labelMatchers = [];
|
|
951
1006
|
/**
|
|
952
|
-
* @generated from field: string lastUpdatedAt =
|
|
1007
|
+
* @generated from field: string lastUpdatedAt = 5;
|
|
953
1008
|
*/
|
|
954
1009
|
lastUpdatedAt = "";
|
|
955
1010
|
/**
|
|
956
|
-
* @generated from field: bool isComposable =
|
|
1011
|
+
* @generated from field: bool isComposable = 6;
|
|
957
1012
|
*/
|
|
958
1013
|
isComposable = false;
|
|
959
1014
|
/**
|
|
960
|
-
* @generated from field: string compositionErrors =
|
|
1015
|
+
* @generated from field: string compositionErrors = 7;
|
|
961
1016
|
*/
|
|
962
1017
|
compositionErrors = "";
|
|
963
1018
|
/**
|
|
964
|
-
* @generated from field: int32 connectedSubgraphs =
|
|
1019
|
+
* @generated from field: int32 connectedSubgraphs = 8;
|
|
965
1020
|
*/
|
|
966
1021
|
connectedSubgraphs = 0;
|
|
967
1022
|
/**
|
|
968
|
-
* @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries =
|
|
1023
|
+
* @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries = 9;
|
|
969
1024
|
*/
|
|
970
1025
|
requestSeries = [];
|
|
971
1026
|
constructor(data) {
|
|
@@ -975,14 +1030,15 @@ export class FederatedGraph extends Message {
|
|
|
975
1030
|
static runtime = proto3;
|
|
976
1031
|
static typeName = "wg.cosmo.platform.v1.FederatedGraph";
|
|
977
1032
|
static fields = proto3.util.newFieldList(() => [
|
|
978
|
-
{ no: 1, name: "
|
|
979
|
-
{ no: 2, name: "
|
|
980
|
-
{ no: 3, name: "
|
|
981
|
-
{ no: 4, name: "
|
|
982
|
-
{ no: 5, name: "
|
|
983
|
-
{ no: 6, name: "
|
|
984
|
-
{ no: 7, name: "
|
|
985
|
-
{ no: 8, name: "
|
|
1033
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1034
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1035
|
+
{ no: 3, name: "routingURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1036
|
+
{ no: 4, name: "label_matchers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1037
|
+
{ no: 5, name: "lastUpdatedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1038
|
+
{ no: 6, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1039
|
+
{ no: 7, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1040
|
+
{ no: 8, name: "connectedSubgraphs", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1041
|
+
{ no: 9, name: "requestSeries", kind: "message", T: RequestSeriesItem, repeated: true },
|
|
986
1042
|
]);
|
|
987
1043
|
static fromBinary(bytes, options) {
|
|
988
1044
|
return new FederatedGraph().fromBinary(bytes, options);
|
|
@@ -1499,6 +1555,10 @@ export class SchemaCheck extends Message {
|
|
|
1499
1555
|
* @generated from field: optional string proposedSubgraphSchemaSDL = 7;
|
|
1500
1556
|
*/
|
|
1501
1557
|
proposedSubgraphSchemaSDL;
|
|
1558
|
+
/**
|
|
1559
|
+
* @generated from field: bool isForcedSuccess = 8;
|
|
1560
|
+
*/
|
|
1561
|
+
isForcedSuccess = false;
|
|
1502
1562
|
constructor(data) {
|
|
1503
1563
|
super();
|
|
1504
1564
|
proto3.util.initPartial(data, this);
|
|
@@ -1513,6 +1573,7 @@ export class SchemaCheck extends Message {
|
|
|
1513
1573
|
{ no: 5, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1514
1574
|
{ no: 6, name: "isBreaking", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1515
1575
|
{ no: 7, name: "proposedSubgraphSchemaSDL", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1576
|
+
{ no: 8, name: "isForcedSuccess", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1516
1577
|
]);
|
|
1517
1578
|
static fromBinary(bytes, options) {
|
|
1518
1579
|
return new SchemaCheck().fromBinary(bytes, options);
|
|
@@ -1623,6 +1684,10 @@ export class GetCheckDetailsResponse extends Message {
|
|
|
1623
1684
|
* @generated from field: repeated string compositionErrors = 3;
|
|
1624
1685
|
*/
|
|
1625
1686
|
compositionErrors = [];
|
|
1687
|
+
/**
|
|
1688
|
+
* @generated from field: wg.cosmo.platform.v1.SchemaCheck check = 4;
|
|
1689
|
+
*/
|
|
1690
|
+
check;
|
|
1626
1691
|
constructor(data) {
|
|
1627
1692
|
super();
|
|
1628
1693
|
proto3.util.initPartial(data, this);
|
|
@@ -1633,6 +1698,7 @@ export class GetCheckDetailsResponse extends Message {
|
|
|
1633
1698
|
{ no: 1, name: "response", kind: "message", T: Response },
|
|
1634
1699
|
{ no: 2, name: "changes", kind: "message", T: SchemaChange, repeated: true },
|
|
1635
1700
|
{ no: 3, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1701
|
+
{ no: 4, name: "check", kind: "message", T: SchemaCheck },
|
|
1636
1702
|
]);
|
|
1637
1703
|
static fromBinary(bytes, options) {
|
|
1638
1704
|
return new GetCheckDetailsResponse().fromBinary(bytes, options);
|
|
@@ -3613,6 +3679,181 @@ export class WhoAmIResponse extends Message {
|
|
|
3613
3679
|
return proto3.util.equals(WhoAmIResponse, a, b);
|
|
3614
3680
|
}
|
|
3615
3681
|
}
|
|
3682
|
+
/**
|
|
3683
|
+
* @generated from message wg.cosmo.platform.v1.RouterToken
|
|
3684
|
+
*/
|
|
3685
|
+
export class RouterToken extends Message {
|
|
3686
|
+
/**
|
|
3687
|
+
* @generated from field: string id = 1;
|
|
3688
|
+
*/
|
|
3689
|
+
id = "";
|
|
3690
|
+
/**
|
|
3691
|
+
* @generated from field: string name = 2;
|
|
3692
|
+
*/
|
|
3693
|
+
name = "";
|
|
3694
|
+
/**
|
|
3695
|
+
* @generated from field: string token = 3;
|
|
3696
|
+
*/
|
|
3697
|
+
token = "";
|
|
3698
|
+
/**
|
|
3699
|
+
* @generated from field: string createdAt = 4;
|
|
3700
|
+
*/
|
|
3701
|
+
createdAt = "";
|
|
3702
|
+
constructor(data) {
|
|
3703
|
+
super();
|
|
3704
|
+
proto3.util.initPartial(data, this);
|
|
3705
|
+
}
|
|
3706
|
+
static runtime = proto3;
|
|
3707
|
+
static typeName = "wg.cosmo.platform.v1.RouterToken";
|
|
3708
|
+
static fields = proto3.util.newFieldList(() => [
|
|
3709
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3710
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3711
|
+
{ no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3712
|
+
{ no: 4, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3713
|
+
]);
|
|
3714
|
+
static fromBinary(bytes, options) {
|
|
3715
|
+
return new RouterToken().fromBinary(bytes, options);
|
|
3716
|
+
}
|
|
3717
|
+
static fromJson(jsonValue, options) {
|
|
3718
|
+
return new RouterToken().fromJson(jsonValue, options);
|
|
3719
|
+
}
|
|
3720
|
+
static fromJsonString(jsonString, options) {
|
|
3721
|
+
return new RouterToken().fromJsonString(jsonString, options);
|
|
3722
|
+
}
|
|
3723
|
+
static equals(a, b) {
|
|
3724
|
+
return proto3.util.equals(RouterToken, a, b);
|
|
3725
|
+
}
|
|
3726
|
+
}
|
|
3727
|
+
/**
|
|
3728
|
+
* @generated from message wg.cosmo.platform.v1.GetRouterTokensRequest
|
|
3729
|
+
*/
|
|
3730
|
+
export class GetRouterTokensRequest extends Message {
|
|
3731
|
+
/**
|
|
3732
|
+
* @generated from field: string fedGraphName = 1;
|
|
3733
|
+
*/
|
|
3734
|
+
fedGraphName = "";
|
|
3735
|
+
constructor(data) {
|
|
3736
|
+
super();
|
|
3737
|
+
proto3.util.initPartial(data, this);
|
|
3738
|
+
}
|
|
3739
|
+
static runtime = proto3;
|
|
3740
|
+
static typeName = "wg.cosmo.platform.v1.GetRouterTokensRequest";
|
|
3741
|
+
static fields = proto3.util.newFieldList(() => [
|
|
3742
|
+
{ no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3743
|
+
]);
|
|
3744
|
+
static fromBinary(bytes, options) {
|
|
3745
|
+
return new GetRouterTokensRequest().fromBinary(bytes, options);
|
|
3746
|
+
}
|
|
3747
|
+
static fromJson(jsonValue, options) {
|
|
3748
|
+
return new GetRouterTokensRequest().fromJson(jsonValue, options);
|
|
3749
|
+
}
|
|
3750
|
+
static fromJsonString(jsonString, options) {
|
|
3751
|
+
return new GetRouterTokensRequest().fromJsonString(jsonString, options);
|
|
3752
|
+
}
|
|
3753
|
+
static equals(a, b) {
|
|
3754
|
+
return proto3.util.equals(GetRouterTokensRequest, a, b);
|
|
3755
|
+
}
|
|
3756
|
+
}
|
|
3757
|
+
/**
|
|
3758
|
+
* @generated from message wg.cosmo.platform.v1.GetRouterTokensResponse
|
|
3759
|
+
*/
|
|
3760
|
+
export class GetRouterTokensResponse extends Message {
|
|
3761
|
+
/**
|
|
3762
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
3763
|
+
*/
|
|
3764
|
+
response;
|
|
3765
|
+
/**
|
|
3766
|
+
* @generated from field: repeated wg.cosmo.platform.v1.RouterToken tokens = 2;
|
|
3767
|
+
*/
|
|
3768
|
+
tokens = [];
|
|
3769
|
+
constructor(data) {
|
|
3770
|
+
super();
|
|
3771
|
+
proto3.util.initPartial(data, this);
|
|
3772
|
+
}
|
|
3773
|
+
static runtime = proto3;
|
|
3774
|
+
static typeName = "wg.cosmo.platform.v1.GetRouterTokensResponse";
|
|
3775
|
+
static fields = proto3.util.newFieldList(() => [
|
|
3776
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
3777
|
+
{ no: 2, name: "tokens", kind: "message", T: RouterToken, repeated: true },
|
|
3778
|
+
]);
|
|
3779
|
+
static fromBinary(bytes, options) {
|
|
3780
|
+
return new GetRouterTokensResponse().fromBinary(bytes, options);
|
|
3781
|
+
}
|
|
3782
|
+
static fromJson(jsonValue, options) {
|
|
3783
|
+
return new GetRouterTokensResponse().fromJson(jsonValue, options);
|
|
3784
|
+
}
|
|
3785
|
+
static fromJsonString(jsonString, options) {
|
|
3786
|
+
return new GetRouterTokensResponse().fromJsonString(jsonString, options);
|
|
3787
|
+
}
|
|
3788
|
+
static equals(a, b) {
|
|
3789
|
+
return proto3.util.equals(GetRouterTokensResponse, a, b);
|
|
3790
|
+
}
|
|
3791
|
+
}
|
|
3792
|
+
/**
|
|
3793
|
+
* @generated from message wg.cosmo.platform.v1.DeleteRouterTokenRequest
|
|
3794
|
+
*/
|
|
3795
|
+
export class DeleteRouterTokenRequest extends Message {
|
|
3796
|
+
/**
|
|
3797
|
+
* @generated from field: string tokenName = 1;
|
|
3798
|
+
*/
|
|
3799
|
+
tokenName = "";
|
|
3800
|
+
/**
|
|
3801
|
+
* @generated from field: string fedGraphName = 2;
|
|
3802
|
+
*/
|
|
3803
|
+
fedGraphName = "";
|
|
3804
|
+
constructor(data) {
|
|
3805
|
+
super();
|
|
3806
|
+
proto3.util.initPartial(data, this);
|
|
3807
|
+
}
|
|
3808
|
+
static runtime = proto3;
|
|
3809
|
+
static typeName = "wg.cosmo.platform.v1.DeleteRouterTokenRequest";
|
|
3810
|
+
static fields = proto3.util.newFieldList(() => [
|
|
3811
|
+
{ no: 1, name: "tokenName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3812
|
+
{ no: 2, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3813
|
+
]);
|
|
3814
|
+
static fromBinary(bytes, options) {
|
|
3815
|
+
return new DeleteRouterTokenRequest().fromBinary(bytes, options);
|
|
3816
|
+
}
|
|
3817
|
+
static fromJson(jsonValue, options) {
|
|
3818
|
+
return new DeleteRouterTokenRequest().fromJson(jsonValue, options);
|
|
3819
|
+
}
|
|
3820
|
+
static fromJsonString(jsonString, options) {
|
|
3821
|
+
return new DeleteRouterTokenRequest().fromJsonString(jsonString, options);
|
|
3822
|
+
}
|
|
3823
|
+
static equals(a, b) {
|
|
3824
|
+
return proto3.util.equals(DeleteRouterTokenRequest, a, b);
|
|
3825
|
+
}
|
|
3826
|
+
}
|
|
3827
|
+
/**
|
|
3828
|
+
* @generated from message wg.cosmo.platform.v1.DeleteRouterTokenResponse
|
|
3829
|
+
*/
|
|
3830
|
+
export class DeleteRouterTokenResponse extends Message {
|
|
3831
|
+
/**
|
|
3832
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
3833
|
+
*/
|
|
3834
|
+
response;
|
|
3835
|
+
constructor(data) {
|
|
3836
|
+
super();
|
|
3837
|
+
proto3.util.initPartial(data, this);
|
|
3838
|
+
}
|
|
3839
|
+
static runtime = proto3;
|
|
3840
|
+
static typeName = "wg.cosmo.platform.v1.DeleteRouterTokenResponse";
|
|
3841
|
+
static fields = proto3.util.newFieldList(() => [
|
|
3842
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
3843
|
+
]);
|
|
3844
|
+
static fromBinary(bytes, options) {
|
|
3845
|
+
return new DeleteRouterTokenResponse().fromBinary(bytes, options);
|
|
3846
|
+
}
|
|
3847
|
+
static fromJson(jsonValue, options) {
|
|
3848
|
+
return new DeleteRouterTokenResponse().fromJson(jsonValue, options);
|
|
3849
|
+
}
|
|
3850
|
+
static fromJsonString(jsonString, options) {
|
|
3851
|
+
return new DeleteRouterTokenResponse().fromJsonString(jsonString, options);
|
|
3852
|
+
}
|
|
3853
|
+
static equals(a, b) {
|
|
3854
|
+
return proto3.util.equals(DeleteRouterTokenResponse, a, b);
|
|
3855
|
+
}
|
|
3856
|
+
}
|
|
3616
3857
|
/**
|
|
3617
3858
|
* @generated from message wg.cosmo.platform.v1.Header
|
|
3618
3859
|
*/
|
|
@@ -3664,6 +3905,10 @@ export class CreateOrganizationWebhookConfigRequest extends Message {
|
|
|
3664
3905
|
* @generated from field: repeated string events = 3;
|
|
3665
3906
|
*/
|
|
3666
3907
|
events = [];
|
|
3908
|
+
/**
|
|
3909
|
+
* @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 4;
|
|
3910
|
+
*/
|
|
3911
|
+
eventsMeta = [];
|
|
3667
3912
|
constructor(data) {
|
|
3668
3913
|
super();
|
|
3669
3914
|
proto3.util.initPartial(data, this);
|
|
@@ -3674,6 +3919,7 @@ export class CreateOrganizationWebhookConfigRequest extends Message {
|
|
|
3674
3919
|
{ no: 1, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3675
3920
|
{ no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3676
3921
|
{ no: 3, name: "events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
3922
|
+
{ no: 4, name: "events_meta", kind: "message", T: EventMeta, repeated: true },
|
|
3677
3923
|
]);
|
|
3678
3924
|
static fromBinary(bytes, options) {
|
|
3679
3925
|
return new CreateOrganizationWebhookConfigRequest().fromBinary(bytes, options);
|
|
@@ -3817,6 +4063,71 @@ export class GetOrganizationWebhookConfigsResponse_Config extends Message {
|
|
|
3817
4063
|
return proto3.util.equals(GetOrganizationWebhookConfigsResponse_Config, a, b);
|
|
3818
4064
|
}
|
|
3819
4065
|
}
|
|
4066
|
+
/**
|
|
4067
|
+
* @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookMetaRequest
|
|
4068
|
+
*/
|
|
4069
|
+
export class GetOrganizationWebhookMetaRequest extends Message {
|
|
4070
|
+
/**
|
|
4071
|
+
* @generated from field: string id = 1;
|
|
4072
|
+
*/
|
|
4073
|
+
id = "";
|
|
4074
|
+
constructor(data) {
|
|
4075
|
+
super();
|
|
4076
|
+
proto3.util.initPartial(data, this);
|
|
4077
|
+
}
|
|
4078
|
+
static runtime = proto3;
|
|
4079
|
+
static typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookMetaRequest";
|
|
4080
|
+
static fields = proto3.util.newFieldList(() => [
|
|
4081
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4082
|
+
]);
|
|
4083
|
+
static fromBinary(bytes, options) {
|
|
4084
|
+
return new GetOrganizationWebhookMetaRequest().fromBinary(bytes, options);
|
|
4085
|
+
}
|
|
4086
|
+
static fromJson(jsonValue, options) {
|
|
4087
|
+
return new GetOrganizationWebhookMetaRequest().fromJson(jsonValue, options);
|
|
4088
|
+
}
|
|
4089
|
+
static fromJsonString(jsonString, options) {
|
|
4090
|
+
return new GetOrganizationWebhookMetaRequest().fromJsonString(jsonString, options);
|
|
4091
|
+
}
|
|
4092
|
+
static equals(a, b) {
|
|
4093
|
+
return proto3.util.equals(GetOrganizationWebhookMetaRequest, a, b);
|
|
4094
|
+
}
|
|
4095
|
+
}
|
|
4096
|
+
/**
|
|
4097
|
+
* @generated from message wg.cosmo.platform.v1.GetOrganizationWebhookMetaResponse
|
|
4098
|
+
*/
|
|
4099
|
+
export class GetOrganizationWebhookMetaResponse extends Message {
|
|
4100
|
+
/**
|
|
4101
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
4102
|
+
*/
|
|
4103
|
+
response;
|
|
4104
|
+
/**
|
|
4105
|
+
* @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 2;
|
|
4106
|
+
*/
|
|
4107
|
+
eventsMeta = [];
|
|
4108
|
+
constructor(data) {
|
|
4109
|
+
super();
|
|
4110
|
+
proto3.util.initPartial(data, this);
|
|
4111
|
+
}
|
|
4112
|
+
static runtime = proto3;
|
|
4113
|
+
static typeName = "wg.cosmo.platform.v1.GetOrganizationWebhookMetaResponse";
|
|
4114
|
+
static fields = proto3.util.newFieldList(() => [
|
|
4115
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
4116
|
+
{ no: 2, name: "events_meta", kind: "message", T: EventMeta, repeated: true },
|
|
4117
|
+
]);
|
|
4118
|
+
static fromBinary(bytes, options) {
|
|
4119
|
+
return new GetOrganizationWebhookMetaResponse().fromBinary(bytes, options);
|
|
4120
|
+
}
|
|
4121
|
+
static fromJson(jsonValue, options) {
|
|
4122
|
+
return new GetOrganizationWebhookMetaResponse().fromJson(jsonValue, options);
|
|
4123
|
+
}
|
|
4124
|
+
static fromJsonString(jsonString, options) {
|
|
4125
|
+
return new GetOrganizationWebhookMetaResponse().fromJsonString(jsonString, options);
|
|
4126
|
+
}
|
|
4127
|
+
static equals(a, b) {
|
|
4128
|
+
return proto3.util.equals(GetOrganizationWebhookMetaResponse, a, b);
|
|
4129
|
+
}
|
|
4130
|
+
}
|
|
3820
4131
|
/**
|
|
3821
4132
|
* @generated from message wg.cosmo.platform.v1.UpdateOrganizationWebhookConfigRequest
|
|
3822
4133
|
*/
|
|
@@ -3838,7 +4149,11 @@ export class UpdateOrganizationWebhookConfigRequest extends Message {
|
|
|
3838
4149
|
*/
|
|
3839
4150
|
events = [];
|
|
3840
4151
|
/**
|
|
3841
|
-
* @generated from field:
|
|
4152
|
+
* @generated from field: repeated wg.cosmo.webhooks.EventMeta events_meta = 5;
|
|
4153
|
+
*/
|
|
4154
|
+
eventsMeta = [];
|
|
4155
|
+
/**
|
|
4156
|
+
* @generated from field: bool should_update_key = 6;
|
|
3842
4157
|
*/
|
|
3843
4158
|
shouldUpdateKey = false;
|
|
3844
4159
|
constructor(data) {
|
|
@@ -3852,7 +4167,8 @@ export class UpdateOrganizationWebhookConfigRequest extends Message {
|
|
|
3852
4167
|
{ no: 2, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3853
4168
|
{ no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3854
4169
|
{ no: 4, name: "events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
3855
|
-
{ no: 5, name: "
|
|
4170
|
+
{ no: 5, name: "events_meta", kind: "message", T: EventMeta, repeated: true },
|
|
4171
|
+
{ no: 6, name: "should_update_key", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
3856
4172
|
]);
|
|
3857
4173
|
static fromBinary(bytes, options) {
|
|
3858
4174
|
return new UpdateOrganizationWebhookConfigRequest().fromBinary(bytes, options);
|
|
@@ -4615,4 +4931,69 @@ export class GetMetricsErrorRateResponse extends Message {
|
|
|
4615
4931
|
return proto3.util.equals(GetMetricsErrorRateResponse, a, b);
|
|
4616
4932
|
}
|
|
4617
4933
|
}
|
|
4934
|
+
/**
|
|
4935
|
+
* @generated from message wg.cosmo.platform.v1.ForceCheckSuccessRequest
|
|
4936
|
+
*/
|
|
4937
|
+
export class ForceCheckSuccessRequest extends Message {
|
|
4938
|
+
/**
|
|
4939
|
+
* @generated from field: string check_id = 1;
|
|
4940
|
+
*/
|
|
4941
|
+
checkId = "";
|
|
4942
|
+
/**
|
|
4943
|
+
* @generated from field: string graph_name = 2;
|
|
4944
|
+
*/
|
|
4945
|
+
graphName = "";
|
|
4946
|
+
constructor(data) {
|
|
4947
|
+
super();
|
|
4948
|
+
proto3.util.initPartial(data, this);
|
|
4949
|
+
}
|
|
4950
|
+
static runtime = proto3;
|
|
4951
|
+
static typeName = "wg.cosmo.platform.v1.ForceCheckSuccessRequest";
|
|
4952
|
+
static fields = proto3.util.newFieldList(() => [
|
|
4953
|
+
{ no: 1, name: "check_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4954
|
+
{ no: 2, name: "graph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4955
|
+
]);
|
|
4956
|
+
static fromBinary(bytes, options) {
|
|
4957
|
+
return new ForceCheckSuccessRequest().fromBinary(bytes, options);
|
|
4958
|
+
}
|
|
4959
|
+
static fromJson(jsonValue, options) {
|
|
4960
|
+
return new ForceCheckSuccessRequest().fromJson(jsonValue, options);
|
|
4961
|
+
}
|
|
4962
|
+
static fromJsonString(jsonString, options) {
|
|
4963
|
+
return new ForceCheckSuccessRequest().fromJsonString(jsonString, options);
|
|
4964
|
+
}
|
|
4965
|
+
static equals(a, b) {
|
|
4966
|
+
return proto3.util.equals(ForceCheckSuccessRequest, a, b);
|
|
4967
|
+
}
|
|
4968
|
+
}
|
|
4969
|
+
/**
|
|
4970
|
+
* @generated from message wg.cosmo.platform.v1.ForceCheckSuccessResponse
|
|
4971
|
+
*/
|
|
4972
|
+
export class ForceCheckSuccessResponse extends Message {
|
|
4973
|
+
/**
|
|
4974
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
4975
|
+
*/
|
|
4976
|
+
response;
|
|
4977
|
+
constructor(data) {
|
|
4978
|
+
super();
|
|
4979
|
+
proto3.util.initPartial(data, this);
|
|
4980
|
+
}
|
|
4981
|
+
static runtime = proto3;
|
|
4982
|
+
static typeName = "wg.cosmo.platform.v1.ForceCheckSuccessResponse";
|
|
4983
|
+
static fields = proto3.util.newFieldList(() => [
|
|
4984
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
4985
|
+
]);
|
|
4986
|
+
static fromBinary(bytes, options) {
|
|
4987
|
+
return new ForceCheckSuccessResponse().fromBinary(bytes, options);
|
|
4988
|
+
}
|
|
4989
|
+
static fromJson(jsonValue, options) {
|
|
4990
|
+
return new ForceCheckSuccessResponse().fromJson(jsonValue, options);
|
|
4991
|
+
}
|
|
4992
|
+
static fromJsonString(jsonString, options) {
|
|
4993
|
+
return new ForceCheckSuccessResponse().fromJsonString(jsonString, options);
|
|
4994
|
+
}
|
|
4995
|
+
static equals(a, b) {
|
|
4996
|
+
return proto3.util.equals(ForceCheckSuccessResponse, a, b);
|
|
4997
|
+
}
|
|
4998
|
+
}
|
|
4618
4999
|
//# sourceMappingURL=platform_pb.js.map
|