@wundergraph/cosmo-connect 0.32.0 → 0.34.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/node/v1/node-NodeService_connectquery.d.ts +14 -1
- package/dist/node/v1/node-NodeService_connectquery.js +14 -1
- package/dist/node/v1/node-NodeService_connectquery.js.map +1 -1
- package/dist/node/v1/node_connect.d.ts +10 -1
- package/dist/node/v1/node_connect.js +10 -1
- package/dist/node/v1/node_connect.js.map +1 -1
- package/dist/node/v1/node_pb.d.ts +75 -0
- package/dist/node/v1/node_pb.js +127 -0
- package/dist/node/v1/node_pb.js.map +1 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.d.ts +52 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.js +52 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.js.map +1 -1
- package/dist/platform/v1/platform_connect.d.ts +34 -1
- package/dist/platform/v1/platform_connect.js +34 -1
- package/dist/platform/v1/platform_connect.js.map +1 -1
- package/dist/platform/v1/platform_pb.d.ts +204 -11
- package/dist/platform/v1/platform_pb.js +334 -15
- package/dist/platform/v1/platform_pb.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -196,11 +196,16 @@ export var PublishedOperationStatus;
|
|
|
196
196
|
* @generated from enum value: CREATED = 1;
|
|
197
197
|
*/
|
|
198
198
|
PublishedOperationStatus[PublishedOperationStatus["CREATED"] = 1] = "CREATED";
|
|
199
|
+
/**
|
|
200
|
+
* @generated from enum value: CONFLICT = 2;
|
|
201
|
+
*/
|
|
202
|
+
PublishedOperationStatus[PublishedOperationStatus["CONFLICT"] = 2] = "CONFLICT";
|
|
199
203
|
})(PublishedOperationStatus || (PublishedOperationStatus = {}));
|
|
200
204
|
// Retrieve enum metadata with: proto3.getEnumType(PublishedOperationStatus)
|
|
201
205
|
proto3.util.setEnumType(PublishedOperationStatus, "wg.cosmo.platform.v1.PublishedOperationStatus", [
|
|
202
206
|
{ no: 0, name: "UP_TO_DATE" },
|
|
203
207
|
{ no: 1, name: "CREATED" },
|
|
208
|
+
{ no: 2, name: "CONFLICT" },
|
|
204
209
|
]);
|
|
205
210
|
/**
|
|
206
211
|
* @generated from enum wg.cosmo.platform.v1.IntegrationType
|
|
@@ -1405,6 +1410,10 @@ export class GetFederatedGraphByNameResponse extends Message {
|
|
|
1405
1410
|
* @generated from field: string graphToken = 4;
|
|
1406
1411
|
*/
|
|
1407
1412
|
graphToken = "";
|
|
1413
|
+
/**
|
|
1414
|
+
* @generated from field: string graphRequestToken = 5;
|
|
1415
|
+
*/
|
|
1416
|
+
graphRequestToken = "";
|
|
1408
1417
|
constructor(data) {
|
|
1409
1418
|
super();
|
|
1410
1419
|
proto3.util.initPartial(data, this);
|
|
@@ -1416,6 +1425,7 @@ export class GetFederatedGraphByNameResponse extends Message {
|
|
|
1416
1425
|
{ no: 2, name: "graph", kind: "message", T: FederatedGraph },
|
|
1417
1426
|
{ no: 3, name: "subgraphs", kind: "message", T: Subgraph, repeated: true },
|
|
1418
1427
|
{ no: 4, name: "graphToken", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1428
|
+
{ no: 5, name: "graphRequestToken", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1419
1429
|
]);
|
|
1420
1430
|
static fromBinary(bytes, options) {
|
|
1421
1431
|
return new GetFederatedGraphByNameResponse().fromBinary(bytes, options);
|
|
@@ -3446,15 +3456,11 @@ export class OrgMember extends Message {
|
|
|
3446
3456
|
*/
|
|
3447
3457
|
email = "";
|
|
3448
3458
|
/**
|
|
3449
|
-
* @generated from field:
|
|
3450
|
-
*/
|
|
3451
|
-
acceptedInvite = false;
|
|
3452
|
-
/**
|
|
3453
|
-
* @generated from field: repeated string roles = 4;
|
|
3459
|
+
* @generated from field: repeated string roles = 3;
|
|
3454
3460
|
*/
|
|
3455
3461
|
roles = [];
|
|
3456
3462
|
/**
|
|
3457
|
-
* @generated from field: string orgMemberID =
|
|
3463
|
+
* @generated from field: string orgMemberID = 4;
|
|
3458
3464
|
*/
|
|
3459
3465
|
orgMemberID = "";
|
|
3460
3466
|
constructor(data) {
|
|
@@ -3466,9 +3472,8 @@ export class OrgMember extends Message {
|
|
|
3466
3472
|
static fields = proto3.util.newFieldList(() => [
|
|
3467
3473
|
{ no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3468
3474
|
{ no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3469
|
-
{ no: 3, name: "
|
|
3470
|
-
{ no: 4, name: "
|
|
3471
|
-
{ no: 5, name: "orgMemberID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3475
|
+
{ no: 3, name: "roles", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
3476
|
+
{ no: 4, name: "orgMemberID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3472
3477
|
]);
|
|
3473
3478
|
static fromBinary(bytes, options) {
|
|
3474
3479
|
return new OrgMember().fromBinary(bytes, options);
|
|
@@ -3483,6 +3488,41 @@ export class OrgMember extends Message {
|
|
|
3483
3488
|
return proto3.util.equals(OrgMember, a, b);
|
|
3484
3489
|
}
|
|
3485
3490
|
}
|
|
3491
|
+
/**
|
|
3492
|
+
* @generated from message wg.cosmo.platform.v1.PendingOrgInvitation
|
|
3493
|
+
*/
|
|
3494
|
+
export class PendingOrgInvitation extends Message {
|
|
3495
|
+
/**
|
|
3496
|
+
* @generated from field: string userID = 1;
|
|
3497
|
+
*/
|
|
3498
|
+
userID = "";
|
|
3499
|
+
/**
|
|
3500
|
+
* @generated from field: string email = 2;
|
|
3501
|
+
*/
|
|
3502
|
+
email = "";
|
|
3503
|
+
constructor(data) {
|
|
3504
|
+
super();
|
|
3505
|
+
proto3.util.initPartial(data, this);
|
|
3506
|
+
}
|
|
3507
|
+
static runtime = proto3;
|
|
3508
|
+
static typeName = "wg.cosmo.platform.v1.PendingOrgInvitation";
|
|
3509
|
+
static fields = proto3.util.newFieldList(() => [
|
|
3510
|
+
{ no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3511
|
+
{ no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3512
|
+
]);
|
|
3513
|
+
static fromBinary(bytes, options) {
|
|
3514
|
+
return new PendingOrgInvitation().fromBinary(bytes, options);
|
|
3515
|
+
}
|
|
3516
|
+
static fromJson(jsonValue, options) {
|
|
3517
|
+
return new PendingOrgInvitation().fromJson(jsonValue, options);
|
|
3518
|
+
}
|
|
3519
|
+
static fromJsonString(jsonString, options) {
|
|
3520
|
+
return new PendingOrgInvitation().fromJsonString(jsonString, options);
|
|
3521
|
+
}
|
|
3522
|
+
static equals(a, b) {
|
|
3523
|
+
return proto3.util.equals(PendingOrgInvitation, a, b);
|
|
3524
|
+
}
|
|
3525
|
+
}
|
|
3486
3526
|
/**
|
|
3487
3527
|
* @generated from message wg.cosmo.platform.v1.GetOrganizationMembersRequest
|
|
3488
3528
|
*/
|
|
@@ -3519,6 +3559,10 @@ export class GetOrganizationMembersResponse extends Message {
|
|
|
3519
3559
|
* @generated from field: repeated wg.cosmo.platform.v1.OrgMember members = 2;
|
|
3520
3560
|
*/
|
|
3521
3561
|
members = [];
|
|
3562
|
+
/**
|
|
3563
|
+
* @generated from field: repeated wg.cosmo.platform.v1.PendingOrgInvitation pendingInvitations = 3;
|
|
3564
|
+
*/
|
|
3565
|
+
pendingInvitations = [];
|
|
3522
3566
|
constructor(data) {
|
|
3523
3567
|
super();
|
|
3524
3568
|
proto3.util.initPartial(data, this);
|
|
@@ -3528,6 +3572,7 @@ export class GetOrganizationMembersResponse extends Message {
|
|
|
3528
3572
|
static fields = proto3.util.newFieldList(() => [
|
|
3529
3573
|
{ no: 1, name: "response", kind: "message", T: Response },
|
|
3530
3574
|
{ no: 2, name: "members", kind: "message", T: OrgMember, repeated: true },
|
|
3575
|
+
{ no: 3, name: "pendingInvitations", kind: "message", T: PendingOrgInvitation, repeated: true },
|
|
3531
3576
|
]);
|
|
3532
3577
|
static fromBinary(bytes, options) {
|
|
3533
3578
|
return new GetOrganizationMembersResponse().fromBinary(bytes, options);
|
|
@@ -3851,6 +3896,66 @@ export class DeleteAPIKeyResponse extends Message {
|
|
|
3851
3896
|
return proto3.util.equals(DeleteAPIKeyResponse, a, b);
|
|
3852
3897
|
}
|
|
3853
3898
|
}
|
|
3899
|
+
/**
|
|
3900
|
+
* @generated from message wg.cosmo.platform.v1.RemoveOrganizationMemberRequest
|
|
3901
|
+
*/
|
|
3902
|
+
export class RemoveOrganizationMemberRequest extends Message {
|
|
3903
|
+
/**
|
|
3904
|
+
* @generated from field: string email = 1;
|
|
3905
|
+
*/
|
|
3906
|
+
email = "";
|
|
3907
|
+
constructor(data) {
|
|
3908
|
+
super();
|
|
3909
|
+
proto3.util.initPartial(data, this);
|
|
3910
|
+
}
|
|
3911
|
+
static runtime = proto3;
|
|
3912
|
+
static typeName = "wg.cosmo.platform.v1.RemoveOrganizationMemberRequest";
|
|
3913
|
+
static fields = proto3.util.newFieldList(() => [
|
|
3914
|
+
{ no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3915
|
+
]);
|
|
3916
|
+
static fromBinary(bytes, options) {
|
|
3917
|
+
return new RemoveOrganizationMemberRequest().fromBinary(bytes, options);
|
|
3918
|
+
}
|
|
3919
|
+
static fromJson(jsonValue, options) {
|
|
3920
|
+
return new RemoveOrganizationMemberRequest().fromJson(jsonValue, options);
|
|
3921
|
+
}
|
|
3922
|
+
static fromJsonString(jsonString, options) {
|
|
3923
|
+
return new RemoveOrganizationMemberRequest().fromJsonString(jsonString, options);
|
|
3924
|
+
}
|
|
3925
|
+
static equals(a, b) {
|
|
3926
|
+
return proto3.util.equals(RemoveOrganizationMemberRequest, a, b);
|
|
3927
|
+
}
|
|
3928
|
+
}
|
|
3929
|
+
/**
|
|
3930
|
+
* @generated from message wg.cosmo.platform.v1.RemoveOrganizationMemberResponse
|
|
3931
|
+
*/
|
|
3932
|
+
export class RemoveOrganizationMemberResponse extends Message {
|
|
3933
|
+
/**
|
|
3934
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
3935
|
+
*/
|
|
3936
|
+
response;
|
|
3937
|
+
constructor(data) {
|
|
3938
|
+
super();
|
|
3939
|
+
proto3.util.initPartial(data, this);
|
|
3940
|
+
}
|
|
3941
|
+
static runtime = proto3;
|
|
3942
|
+
static typeName = "wg.cosmo.platform.v1.RemoveOrganizationMemberResponse";
|
|
3943
|
+
static fields = proto3.util.newFieldList(() => [
|
|
3944
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
3945
|
+
]);
|
|
3946
|
+
static fromBinary(bytes, options) {
|
|
3947
|
+
return new RemoveOrganizationMemberResponse().fromBinary(bytes, options);
|
|
3948
|
+
}
|
|
3949
|
+
static fromJson(jsonValue, options) {
|
|
3950
|
+
return new RemoveOrganizationMemberResponse().fromJson(jsonValue, options);
|
|
3951
|
+
}
|
|
3952
|
+
static fromJsonString(jsonString, options) {
|
|
3953
|
+
return new RemoveOrganizationMemberResponse().fromJsonString(jsonString, options);
|
|
3954
|
+
}
|
|
3955
|
+
static equals(a, b) {
|
|
3956
|
+
return proto3.util.equals(RemoveOrganizationMemberResponse, a, b);
|
|
3957
|
+
}
|
|
3958
|
+
}
|
|
3854
3959
|
/**
|
|
3855
3960
|
* @generated from message wg.cosmo.platform.v1.RemoveInvitationRequest
|
|
3856
3961
|
*/
|
|
@@ -4445,6 +4550,41 @@ export class DeleteRouterTokenResponse extends Message {
|
|
|
4445
4550
|
return proto3.util.equals(DeleteRouterTokenResponse, a, b);
|
|
4446
4551
|
}
|
|
4447
4552
|
}
|
|
4553
|
+
/**
|
|
4554
|
+
* @generated from message wg.cosmo.platform.v1.PersistedOperation
|
|
4555
|
+
*/
|
|
4556
|
+
export class PersistedOperation extends Message {
|
|
4557
|
+
/**
|
|
4558
|
+
* @generated from field: string id = 1;
|
|
4559
|
+
*/
|
|
4560
|
+
id = "";
|
|
4561
|
+
/**
|
|
4562
|
+
* @generated from field: string contents = 2;
|
|
4563
|
+
*/
|
|
4564
|
+
contents = "";
|
|
4565
|
+
constructor(data) {
|
|
4566
|
+
super();
|
|
4567
|
+
proto3.util.initPartial(data, this);
|
|
4568
|
+
}
|
|
4569
|
+
static runtime = proto3;
|
|
4570
|
+
static typeName = "wg.cosmo.platform.v1.PersistedOperation";
|
|
4571
|
+
static fields = proto3.util.newFieldList(() => [
|
|
4572
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4573
|
+
{ no: 2, name: "contents", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4574
|
+
]);
|
|
4575
|
+
static fromBinary(bytes, options) {
|
|
4576
|
+
return new PersistedOperation().fromBinary(bytes, options);
|
|
4577
|
+
}
|
|
4578
|
+
static fromJson(jsonValue, options) {
|
|
4579
|
+
return new PersistedOperation().fromJson(jsonValue, options);
|
|
4580
|
+
}
|
|
4581
|
+
static fromJsonString(jsonString, options) {
|
|
4582
|
+
return new PersistedOperation().fromJsonString(jsonString, options);
|
|
4583
|
+
}
|
|
4584
|
+
static equals(a, b) {
|
|
4585
|
+
return proto3.util.equals(PersistedOperation, a, b);
|
|
4586
|
+
}
|
|
4587
|
+
}
|
|
4448
4588
|
/**
|
|
4449
4589
|
* @generated from message wg.cosmo.platform.v1.PublishPersistedOperationsRequest
|
|
4450
4590
|
*/
|
|
@@ -4458,7 +4598,7 @@ export class PublishPersistedOperationsRequest extends Message {
|
|
|
4458
4598
|
*/
|
|
4459
4599
|
clientName = "";
|
|
4460
4600
|
/**
|
|
4461
|
-
* @generated from field: repeated
|
|
4601
|
+
* @generated from field: repeated wg.cosmo.platform.v1.PersistedOperation operations = 3;
|
|
4462
4602
|
*/
|
|
4463
4603
|
operations = [];
|
|
4464
4604
|
constructor(data) {
|
|
@@ -4470,7 +4610,7 @@ export class PublishPersistedOperationsRequest extends Message {
|
|
|
4470
4610
|
static fields = proto3.util.newFieldList(() => [
|
|
4471
4611
|
{ no: 1, name: "fedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4472
4612
|
{ no: 2, name: "clientName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4473
|
-
{ no: 3, name: "operations", kind: "
|
|
4613
|
+
{ no: 3, name: "operations", kind: "message", T: PersistedOperation, repeated: true },
|
|
4474
4614
|
]);
|
|
4475
4615
|
static fromBinary(bytes, options) {
|
|
4476
4616
|
return new PublishPersistedOperationsRequest().fromBinary(bytes, options);
|
|
@@ -4490,11 +4630,15 @@ export class PublishPersistedOperationsRequest extends Message {
|
|
|
4490
4630
|
*/
|
|
4491
4631
|
export class PublishedOperation extends Message {
|
|
4492
4632
|
/**
|
|
4493
|
-
* @generated from field: string
|
|
4633
|
+
* @generated from field: string id = 1;
|
|
4634
|
+
*/
|
|
4635
|
+
id = "";
|
|
4636
|
+
/**
|
|
4637
|
+
* @generated from field: string hash = 2;
|
|
4494
4638
|
*/
|
|
4495
4639
|
hash = "";
|
|
4496
4640
|
/**
|
|
4497
|
-
* @generated from field: wg.cosmo.platform.v1.PublishedOperationStatus status =
|
|
4641
|
+
* @generated from field: wg.cosmo.platform.v1.PublishedOperationStatus status = 3;
|
|
4498
4642
|
*/
|
|
4499
4643
|
status = PublishedOperationStatus.UP_TO_DATE;
|
|
4500
4644
|
constructor(data) {
|
|
@@ -4504,8 +4648,9 @@ export class PublishedOperation extends Message {
|
|
|
4504
4648
|
static runtime = proto3;
|
|
4505
4649
|
static typeName = "wg.cosmo.platform.v1.PublishedOperation";
|
|
4506
4650
|
static fields = proto3.util.newFieldList(() => [
|
|
4507
|
-
{ no: 1, name: "
|
|
4508
|
-
{ no: 2, name: "
|
|
4651
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4652
|
+
{ no: 2, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4653
|
+
{ no: 3, name: "status", kind: "enum", T: proto3.getEnumType(PublishedOperationStatus) },
|
|
4509
4654
|
]);
|
|
4510
4655
|
static fromBinary(bytes, options) {
|
|
4511
4656
|
return new PublishedOperation().fromBinary(bytes, options);
|
|
@@ -6488,6 +6633,180 @@ export class GetOrganizationRequestsCountResponse extends Message {
|
|
|
6488
6633
|
return proto3.util.equals(GetOrganizationRequestsCountResponse, a, b);
|
|
6489
6634
|
}
|
|
6490
6635
|
}
|
|
6636
|
+
/**
|
|
6637
|
+
* @generated from message wg.cosmo.platform.v1.Organization
|
|
6638
|
+
*/
|
|
6639
|
+
export class Organization extends Message {
|
|
6640
|
+
/**
|
|
6641
|
+
* @generated from field: string id = 1;
|
|
6642
|
+
*/
|
|
6643
|
+
id = "";
|
|
6644
|
+
/**
|
|
6645
|
+
* @generated from field: string name = 2;
|
|
6646
|
+
*/
|
|
6647
|
+
name = "";
|
|
6648
|
+
/**
|
|
6649
|
+
* @generated from field: string slug = 3;
|
|
6650
|
+
*/
|
|
6651
|
+
slug = "";
|
|
6652
|
+
/**
|
|
6653
|
+
* @generated from field: string creatorUserId = 4;
|
|
6654
|
+
*/
|
|
6655
|
+
creatorUserId = "";
|
|
6656
|
+
/**
|
|
6657
|
+
* @generated from field: string createdAt = 5;
|
|
6658
|
+
*/
|
|
6659
|
+
createdAt = "";
|
|
6660
|
+
constructor(data) {
|
|
6661
|
+
super();
|
|
6662
|
+
proto3.util.initPartial(data, this);
|
|
6663
|
+
}
|
|
6664
|
+
static runtime = proto3;
|
|
6665
|
+
static typeName = "wg.cosmo.platform.v1.Organization";
|
|
6666
|
+
static fields = proto3.util.newFieldList(() => [
|
|
6667
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6668
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6669
|
+
{ no: 3, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6670
|
+
{ no: 4, name: "creatorUserId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6671
|
+
{ no: 5, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6672
|
+
]);
|
|
6673
|
+
static fromBinary(bytes, options) {
|
|
6674
|
+
return new Organization().fromBinary(bytes, options);
|
|
6675
|
+
}
|
|
6676
|
+
static fromJson(jsonValue, options) {
|
|
6677
|
+
return new Organization().fromJson(jsonValue, options);
|
|
6678
|
+
}
|
|
6679
|
+
static fromJsonString(jsonString, options) {
|
|
6680
|
+
return new Organization().fromJsonString(jsonString, options);
|
|
6681
|
+
}
|
|
6682
|
+
static equals(a, b) {
|
|
6683
|
+
return proto3.util.equals(Organization, a, b);
|
|
6684
|
+
}
|
|
6685
|
+
}
|
|
6686
|
+
/**
|
|
6687
|
+
* @generated from message wg.cosmo.platform.v1.GetInvitationsRequest
|
|
6688
|
+
*/
|
|
6689
|
+
export class GetInvitationsRequest extends Message {
|
|
6690
|
+
constructor(data) {
|
|
6691
|
+
super();
|
|
6692
|
+
proto3.util.initPartial(data, this);
|
|
6693
|
+
}
|
|
6694
|
+
static runtime = proto3;
|
|
6695
|
+
static typeName = "wg.cosmo.platform.v1.GetInvitationsRequest";
|
|
6696
|
+
static fields = proto3.util.newFieldList(() => []);
|
|
6697
|
+
static fromBinary(bytes, options) {
|
|
6698
|
+
return new GetInvitationsRequest().fromBinary(bytes, options);
|
|
6699
|
+
}
|
|
6700
|
+
static fromJson(jsonValue, options) {
|
|
6701
|
+
return new GetInvitationsRequest().fromJson(jsonValue, options);
|
|
6702
|
+
}
|
|
6703
|
+
static fromJsonString(jsonString, options) {
|
|
6704
|
+
return new GetInvitationsRequest().fromJsonString(jsonString, options);
|
|
6705
|
+
}
|
|
6706
|
+
static equals(a, b) {
|
|
6707
|
+
return proto3.util.equals(GetInvitationsRequest, a, b);
|
|
6708
|
+
}
|
|
6709
|
+
}
|
|
6710
|
+
/**
|
|
6711
|
+
* @generated from message wg.cosmo.platform.v1.GetInvitationsResponse
|
|
6712
|
+
*/
|
|
6713
|
+
export class GetInvitationsResponse extends Message {
|
|
6714
|
+
/**
|
|
6715
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
6716
|
+
*/
|
|
6717
|
+
response;
|
|
6718
|
+
/**
|
|
6719
|
+
* @generated from field: repeated wg.cosmo.platform.v1.Organization invitations = 2;
|
|
6720
|
+
*/
|
|
6721
|
+
invitations = [];
|
|
6722
|
+
constructor(data) {
|
|
6723
|
+
super();
|
|
6724
|
+
proto3.util.initPartial(data, this);
|
|
6725
|
+
}
|
|
6726
|
+
static runtime = proto3;
|
|
6727
|
+
static typeName = "wg.cosmo.platform.v1.GetInvitationsResponse";
|
|
6728
|
+
static fields = proto3.util.newFieldList(() => [
|
|
6729
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
6730
|
+
{ no: 2, name: "invitations", kind: "message", T: Organization, repeated: true },
|
|
6731
|
+
]);
|
|
6732
|
+
static fromBinary(bytes, options) {
|
|
6733
|
+
return new GetInvitationsResponse().fromBinary(bytes, options);
|
|
6734
|
+
}
|
|
6735
|
+
static fromJson(jsonValue, options) {
|
|
6736
|
+
return new GetInvitationsResponse().fromJson(jsonValue, options);
|
|
6737
|
+
}
|
|
6738
|
+
static fromJsonString(jsonString, options) {
|
|
6739
|
+
return new GetInvitationsResponse().fromJsonString(jsonString, options);
|
|
6740
|
+
}
|
|
6741
|
+
static equals(a, b) {
|
|
6742
|
+
return proto3.util.equals(GetInvitationsResponse, a, b);
|
|
6743
|
+
}
|
|
6744
|
+
}
|
|
6745
|
+
/**
|
|
6746
|
+
* @generated from message wg.cosmo.platform.v1.AcceptOrDeclineInvitationRequest
|
|
6747
|
+
*/
|
|
6748
|
+
export class AcceptOrDeclineInvitationRequest extends Message {
|
|
6749
|
+
/**
|
|
6750
|
+
* @generated from field: string organizationId = 1;
|
|
6751
|
+
*/
|
|
6752
|
+
organizationId = "";
|
|
6753
|
+
/**
|
|
6754
|
+
* @generated from field: bool accept = 2;
|
|
6755
|
+
*/
|
|
6756
|
+
accept = false;
|
|
6757
|
+
constructor(data) {
|
|
6758
|
+
super();
|
|
6759
|
+
proto3.util.initPartial(data, this);
|
|
6760
|
+
}
|
|
6761
|
+
static runtime = proto3;
|
|
6762
|
+
static typeName = "wg.cosmo.platform.v1.AcceptOrDeclineInvitationRequest";
|
|
6763
|
+
static fields = proto3.util.newFieldList(() => [
|
|
6764
|
+
{ no: 1, name: "organizationId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6765
|
+
{ no: 2, name: "accept", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
6766
|
+
]);
|
|
6767
|
+
static fromBinary(bytes, options) {
|
|
6768
|
+
return new AcceptOrDeclineInvitationRequest().fromBinary(bytes, options);
|
|
6769
|
+
}
|
|
6770
|
+
static fromJson(jsonValue, options) {
|
|
6771
|
+
return new AcceptOrDeclineInvitationRequest().fromJson(jsonValue, options);
|
|
6772
|
+
}
|
|
6773
|
+
static fromJsonString(jsonString, options) {
|
|
6774
|
+
return new AcceptOrDeclineInvitationRequest().fromJsonString(jsonString, options);
|
|
6775
|
+
}
|
|
6776
|
+
static equals(a, b) {
|
|
6777
|
+
return proto3.util.equals(AcceptOrDeclineInvitationRequest, a, b);
|
|
6778
|
+
}
|
|
6779
|
+
}
|
|
6780
|
+
/**
|
|
6781
|
+
* @generated from message wg.cosmo.platform.v1.AcceptOrDeclineInvitationResponse
|
|
6782
|
+
*/
|
|
6783
|
+
export class AcceptOrDeclineInvitationResponse extends Message {
|
|
6784
|
+
/**
|
|
6785
|
+
* @generated from field: wg.cosmo.platform.v1.Response response = 1;
|
|
6786
|
+
*/
|
|
6787
|
+
response;
|
|
6788
|
+
constructor(data) {
|
|
6789
|
+
super();
|
|
6790
|
+
proto3.util.initPartial(data, this);
|
|
6791
|
+
}
|
|
6792
|
+
static runtime = proto3;
|
|
6793
|
+
static typeName = "wg.cosmo.platform.v1.AcceptOrDeclineInvitationResponse";
|
|
6794
|
+
static fields = proto3.util.newFieldList(() => [
|
|
6795
|
+
{ no: 1, name: "response", kind: "message", T: Response },
|
|
6796
|
+
]);
|
|
6797
|
+
static fromBinary(bytes, options) {
|
|
6798
|
+
return new AcceptOrDeclineInvitationResponse().fromBinary(bytes, options);
|
|
6799
|
+
}
|
|
6800
|
+
static fromJson(jsonValue, options) {
|
|
6801
|
+
return new AcceptOrDeclineInvitationResponse().fromJson(jsonValue, options);
|
|
6802
|
+
}
|
|
6803
|
+
static fromJsonString(jsonString, options) {
|
|
6804
|
+
return new AcceptOrDeclineInvitationResponse().fromJsonString(jsonString, options);
|
|
6805
|
+
}
|
|
6806
|
+
static equals(a, b) {
|
|
6807
|
+
return proto3.util.equals(AcceptOrDeclineInvitationResponse, a, b);
|
|
6808
|
+
}
|
|
6809
|
+
}
|
|
6491
6810
|
/**
|
|
6492
6811
|
* @generated from message wg.cosmo.platform.v1.ClientInfo
|
|
6493
6812
|
*/
|