@wundergraph/cosmo-connect 0.15.0 → 0.16.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.
@@ -1780,13 +1780,13 @@ export declare class CreateFederatedGraphTokenResponse extends Message<CreateFed
1780
1780
  static equals(a: CreateFederatedGraphTokenResponse | PlainMessage<CreateFederatedGraphTokenResponse> | undefined, b: CreateFederatedGraphTokenResponse | PlainMessage<CreateFederatedGraphTokenResponse> | undefined): boolean;
1781
1781
  }
1782
1782
  /**
1783
- * @generated from message wg.cosmo.platform.v1.User
1783
+ * @generated from message wg.cosmo.platform.v1.OrgMember
1784
1784
  */
1785
- export declare class User extends Message<User> {
1785
+ export declare class OrgMember extends Message<OrgMember> {
1786
1786
  /**
1787
- * @generated from field: string id = 1;
1787
+ * @generated from field: string userID = 1;
1788
1788
  */
1789
- id: string;
1789
+ userID: string;
1790
1790
  /**
1791
1791
  * @generated from field: string email = 2;
1792
1792
  */
@@ -1799,14 +1799,18 @@ export declare class User extends Message<User> {
1799
1799
  * @generated from field: repeated string roles = 4;
1800
1800
  */
1801
1801
  roles: string[];
1802
- constructor(data?: PartialMessage<User>);
1802
+ /**
1803
+ * @generated from field: string orgMemberID = 5;
1804
+ */
1805
+ orgMemberID: string;
1806
+ constructor(data?: PartialMessage<OrgMember>);
1803
1807
  static readonly runtime: typeof proto3;
1804
- static readonly typeName = "wg.cosmo.platform.v1.User";
1808
+ static readonly typeName = "wg.cosmo.platform.v1.OrgMember";
1805
1809
  static readonly fields: FieldList;
1806
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): User;
1807
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): User;
1808
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): User;
1809
- static equals(a: User | PlainMessage<User> | undefined, b: User | PlainMessage<User> | undefined): boolean;
1810
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OrgMember;
1811
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OrgMember;
1812
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OrgMember;
1813
+ static equals(a: OrgMember | PlainMessage<OrgMember> | undefined, b: OrgMember | PlainMessage<OrgMember> | undefined): boolean;
1810
1814
  }
1811
1815
  /**
1812
1816
  * @generated from message wg.cosmo.platform.v1.GetOrganizationMembersRequest
@@ -1830,9 +1834,9 @@ export declare class GetOrganizationMembersResponse extends Message<GetOrganizat
1830
1834
  */
1831
1835
  response?: Response;
1832
1836
  /**
1833
- * @generated from field: repeated wg.cosmo.platform.v1.User members = 2;
1837
+ * @generated from field: repeated wg.cosmo.platform.v1.OrgMember members = 2;
1834
1838
  */
1835
- members: User[];
1839
+ members: OrgMember[];
1836
1840
  constructor(data?: PartialMessage<GetOrganizationMembersResponse>);
1837
1841
  static readonly runtime: typeof proto3;
1838
1842
  static readonly typeName = "wg.cosmo.platform.v1.GetOrganizationMembersResponse";
@@ -2499,6 +2503,192 @@ export declare class DeleteOrganizationWebhookConfigResponse extends Message<Del
2499
2503
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOrganizationWebhookConfigResponse;
2500
2504
  static equals(a: DeleteOrganizationWebhookConfigResponse | PlainMessage<DeleteOrganizationWebhookConfigResponse> | undefined, b: DeleteOrganizationWebhookConfigResponse | PlainMessage<DeleteOrganizationWebhookConfigResponse> | undefined): boolean;
2501
2505
  }
2506
+ /**
2507
+ * @generated from message wg.cosmo.platform.v1.DeleteOrganizationRequest
2508
+ */
2509
+ export declare class DeleteOrganizationRequest extends Message<DeleteOrganizationRequest> {
2510
+ /**
2511
+ * @generated from field: string userID = 1;
2512
+ */
2513
+ userID: string;
2514
+ constructor(data?: PartialMessage<DeleteOrganizationRequest>);
2515
+ static readonly runtime: typeof proto3;
2516
+ static readonly typeName = "wg.cosmo.platform.v1.DeleteOrganizationRequest";
2517
+ static readonly fields: FieldList;
2518
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteOrganizationRequest;
2519
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteOrganizationRequest;
2520
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOrganizationRequest;
2521
+ static equals(a: DeleteOrganizationRequest | PlainMessage<DeleteOrganizationRequest> | undefined, b: DeleteOrganizationRequest | PlainMessage<DeleteOrganizationRequest> | undefined): boolean;
2522
+ }
2523
+ /**
2524
+ * @generated from message wg.cosmo.platform.v1.DeleteOrganizationResponse
2525
+ */
2526
+ export declare class DeleteOrganizationResponse extends Message<DeleteOrganizationResponse> {
2527
+ /**
2528
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2529
+ */
2530
+ response?: Response;
2531
+ constructor(data?: PartialMessage<DeleteOrganizationResponse>);
2532
+ static readonly runtime: typeof proto3;
2533
+ static readonly typeName = "wg.cosmo.platform.v1.DeleteOrganizationResponse";
2534
+ static readonly fields: FieldList;
2535
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteOrganizationResponse;
2536
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteOrganizationResponse;
2537
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOrganizationResponse;
2538
+ static equals(a: DeleteOrganizationResponse | PlainMessage<DeleteOrganizationResponse> | undefined, b: DeleteOrganizationResponse | PlainMessage<DeleteOrganizationResponse> | undefined): boolean;
2539
+ }
2540
+ /**
2541
+ * @generated from message wg.cosmo.platform.v1.LeaveOrganizationRequest
2542
+ */
2543
+ export declare class LeaveOrganizationRequest extends Message<LeaveOrganizationRequest> {
2544
+ /**
2545
+ * @generated from field: string userID = 1;
2546
+ */
2547
+ userID: string;
2548
+ constructor(data?: PartialMessage<LeaveOrganizationRequest>);
2549
+ static readonly runtime: typeof proto3;
2550
+ static readonly typeName = "wg.cosmo.platform.v1.LeaveOrganizationRequest";
2551
+ static readonly fields: FieldList;
2552
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LeaveOrganizationRequest;
2553
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LeaveOrganizationRequest;
2554
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LeaveOrganizationRequest;
2555
+ static equals(a: LeaveOrganizationRequest | PlainMessage<LeaveOrganizationRequest> | undefined, b: LeaveOrganizationRequest | PlainMessage<LeaveOrganizationRequest> | undefined): boolean;
2556
+ }
2557
+ /**
2558
+ * @generated from message wg.cosmo.platform.v1.LeaveOrganizationResponse
2559
+ */
2560
+ export declare class LeaveOrganizationResponse extends Message<LeaveOrganizationResponse> {
2561
+ /**
2562
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2563
+ */
2564
+ response?: Response;
2565
+ constructor(data?: PartialMessage<LeaveOrganizationResponse>);
2566
+ static readonly runtime: typeof proto3;
2567
+ static readonly typeName = "wg.cosmo.platform.v1.LeaveOrganizationResponse";
2568
+ static readonly fields: FieldList;
2569
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LeaveOrganizationResponse;
2570
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LeaveOrganizationResponse;
2571
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LeaveOrganizationResponse;
2572
+ static equals(a: LeaveOrganizationResponse | PlainMessage<LeaveOrganizationResponse> | undefined, b: LeaveOrganizationResponse | PlainMessage<LeaveOrganizationResponse> | undefined): boolean;
2573
+ }
2574
+ /**
2575
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationNameRequest
2576
+ */
2577
+ export declare class UpdateOrganizationNameRequest extends Message<UpdateOrganizationNameRequest> {
2578
+ /**
2579
+ * @generated from field: string userID = 1;
2580
+ */
2581
+ userID: string;
2582
+ /**
2583
+ * @generated from field: string organizationName = 2;
2584
+ */
2585
+ organizationName: string;
2586
+ constructor(data?: PartialMessage<UpdateOrganizationNameRequest>);
2587
+ static readonly runtime: typeof proto3;
2588
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateOrganizationNameRequest";
2589
+ static readonly fields: FieldList;
2590
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationNameRequest;
2591
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationNameRequest;
2592
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationNameRequest;
2593
+ static equals(a: UpdateOrganizationNameRequest | PlainMessage<UpdateOrganizationNameRequest> | undefined, b: UpdateOrganizationNameRequest | PlainMessage<UpdateOrganizationNameRequest> | undefined): boolean;
2594
+ }
2595
+ /**
2596
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationNameResponse
2597
+ */
2598
+ export declare class UpdateOrganizationNameResponse extends Message<UpdateOrganizationNameResponse> {
2599
+ /**
2600
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2601
+ */
2602
+ response?: Response;
2603
+ constructor(data?: PartialMessage<UpdateOrganizationNameResponse>);
2604
+ static readonly runtime: typeof proto3;
2605
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateOrganizationNameResponse";
2606
+ static readonly fields: FieldList;
2607
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationNameResponse;
2608
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationNameResponse;
2609
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationNameResponse;
2610
+ static equals(a: UpdateOrganizationNameResponse | PlainMessage<UpdateOrganizationNameResponse> | undefined, b: UpdateOrganizationNameResponse | PlainMessage<UpdateOrganizationNameResponse> | undefined): boolean;
2611
+ }
2612
+ /**
2613
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationSlugRequest
2614
+ */
2615
+ export declare class UpdateOrganizationSlugRequest extends Message<UpdateOrganizationSlugRequest> {
2616
+ /**
2617
+ * @generated from field: string userID = 1;
2618
+ */
2619
+ userID: string;
2620
+ /**
2621
+ * @generated from field: string organizationSlug = 2;
2622
+ */
2623
+ organizationSlug: string;
2624
+ constructor(data?: PartialMessage<UpdateOrganizationSlugRequest>);
2625
+ static readonly runtime: typeof proto3;
2626
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateOrganizationSlugRequest";
2627
+ static readonly fields: FieldList;
2628
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationSlugRequest;
2629
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationSlugRequest;
2630
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationSlugRequest;
2631
+ static equals(a: UpdateOrganizationSlugRequest | PlainMessage<UpdateOrganizationSlugRequest> | undefined, b: UpdateOrganizationSlugRequest | PlainMessage<UpdateOrganizationSlugRequest> | undefined): boolean;
2632
+ }
2633
+ /**
2634
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationSlugResponse
2635
+ */
2636
+ export declare class UpdateOrganizationSlugResponse extends Message<UpdateOrganizationSlugResponse> {
2637
+ /**
2638
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2639
+ */
2640
+ response?: Response;
2641
+ constructor(data?: PartialMessage<UpdateOrganizationSlugResponse>);
2642
+ static readonly runtime: typeof proto3;
2643
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateOrganizationSlugResponse";
2644
+ static readonly fields: FieldList;
2645
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationSlugResponse;
2646
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationSlugResponse;
2647
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationSlugResponse;
2648
+ static equals(a: UpdateOrganizationSlugResponse | PlainMessage<UpdateOrganizationSlugResponse> | undefined, b: UpdateOrganizationSlugResponse | PlainMessage<UpdateOrganizationSlugResponse> | undefined): boolean;
2649
+ }
2650
+ /**
2651
+ * @generated from message wg.cosmo.platform.v1.UpdateOrgMemberRoleRequest
2652
+ */
2653
+ export declare class UpdateOrgMemberRoleRequest extends Message<UpdateOrgMemberRoleRequest> {
2654
+ /**
2655
+ * @generated from field: string userID = 1;
2656
+ */
2657
+ userID: string;
2658
+ /**
2659
+ * @generated from field: string orgMemberUserID = 2;
2660
+ */
2661
+ orgMemberUserID: string;
2662
+ /**
2663
+ * @generated from field: string role = 3;
2664
+ */
2665
+ role: string;
2666
+ constructor(data?: PartialMessage<UpdateOrgMemberRoleRequest>);
2667
+ static readonly runtime: typeof proto3;
2668
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateOrgMemberRoleRequest";
2669
+ static readonly fields: FieldList;
2670
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrgMemberRoleRequest;
2671
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrgMemberRoleRequest;
2672
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrgMemberRoleRequest;
2673
+ static equals(a: UpdateOrgMemberRoleRequest | PlainMessage<UpdateOrgMemberRoleRequest> | undefined, b: UpdateOrgMemberRoleRequest | PlainMessage<UpdateOrgMemberRoleRequest> | undefined): boolean;
2674
+ }
2675
+ /**
2676
+ * @generated from message wg.cosmo.platform.v1.UpdateOrgMemberRoleResponse
2677
+ */
2678
+ export declare class UpdateOrgMemberRoleResponse extends Message<UpdateOrgMemberRoleResponse> {
2679
+ /**
2680
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2681
+ */
2682
+ response?: Response;
2683
+ constructor(data?: PartialMessage<UpdateOrgMemberRoleResponse>);
2684
+ static readonly runtime: typeof proto3;
2685
+ static readonly typeName = "wg.cosmo.platform.v1.UpdateOrgMemberRoleResponse";
2686
+ static readonly fields: FieldList;
2687
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrgMemberRoleResponse;
2688
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrgMemberRoleResponse;
2689
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrgMemberRoleResponse;
2690
+ static equals(a: UpdateOrgMemberRoleResponse | PlainMessage<UpdateOrgMemberRoleResponse> | undefined, b: UpdateOrgMemberRoleResponse | PlainMessage<UpdateOrgMemberRoleResponse> | undefined): boolean;
2691
+ }
2502
2692
  /**
2503
2693
  * *
2504
2694
  * MetricsDashboard
@@ -2777,13 +2777,13 @@ export class CreateFederatedGraphTokenResponse extends Message {
2777
2777
  }
2778
2778
  }
2779
2779
  /**
2780
- * @generated from message wg.cosmo.platform.v1.User
2780
+ * @generated from message wg.cosmo.platform.v1.OrgMember
2781
2781
  */
2782
- export class User extends Message {
2782
+ export class OrgMember extends Message {
2783
2783
  /**
2784
- * @generated from field: string id = 1;
2784
+ * @generated from field: string userID = 1;
2785
2785
  */
2786
- id = "";
2786
+ userID = "";
2787
2787
  /**
2788
2788
  * @generated from field: string email = 2;
2789
2789
  */
@@ -2796,29 +2796,34 @@ export class User extends Message {
2796
2796
  * @generated from field: repeated string roles = 4;
2797
2797
  */
2798
2798
  roles = [];
2799
+ /**
2800
+ * @generated from field: string orgMemberID = 5;
2801
+ */
2802
+ orgMemberID = "";
2799
2803
  constructor(data) {
2800
2804
  super();
2801
2805
  proto3.util.initPartial(data, this);
2802
2806
  }
2803
2807
  static runtime = proto3;
2804
- static typeName = "wg.cosmo.platform.v1.User";
2808
+ static typeName = "wg.cosmo.platform.v1.OrgMember";
2805
2809
  static fields = proto3.util.newFieldList(() => [
2806
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2810
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2807
2811
  { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2808
2812
  { no: 3, name: "acceptedInvite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2809
2813
  { no: 4, name: "roles", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
2814
+ { no: 5, name: "orgMemberID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2810
2815
  ]);
2811
2816
  static fromBinary(bytes, options) {
2812
- return new User().fromBinary(bytes, options);
2817
+ return new OrgMember().fromBinary(bytes, options);
2813
2818
  }
2814
2819
  static fromJson(jsonValue, options) {
2815
- return new User().fromJson(jsonValue, options);
2820
+ return new OrgMember().fromJson(jsonValue, options);
2816
2821
  }
2817
2822
  static fromJsonString(jsonString, options) {
2818
- return new User().fromJsonString(jsonString, options);
2823
+ return new OrgMember().fromJsonString(jsonString, options);
2819
2824
  }
2820
2825
  static equals(a, b) {
2821
- return proto3.util.equals(User, a, b);
2826
+ return proto3.util.equals(OrgMember, a, b);
2822
2827
  }
2823
2828
  }
2824
2829
  /**
@@ -2854,7 +2859,7 @@ export class GetOrganizationMembersResponse extends Message {
2854
2859
  */
2855
2860
  response;
2856
2861
  /**
2857
- * @generated from field: repeated wg.cosmo.platform.v1.User members = 2;
2862
+ * @generated from field: repeated wg.cosmo.platform.v1.OrgMember members = 2;
2858
2863
  */
2859
2864
  members = [];
2860
2865
  constructor(data) {
@@ -2865,7 +2870,7 @@ export class GetOrganizationMembersResponse extends Message {
2865
2870
  static typeName = "wg.cosmo.platform.v1.GetOrganizationMembersResponse";
2866
2871
  static fields = proto3.util.newFieldList(() => [
2867
2872
  { no: 1, name: "response", kind: "message", T: Response },
2868
- { no: 2, name: "members", kind: "message", T: User, repeated: true },
2873
+ { no: 2, name: "members", kind: "message", T: OrgMember, repeated: true },
2869
2874
  ]);
2870
2875
  static fromBinary(bytes, options) {
2871
2876
  return new GetOrganizationMembersResponse().fromBinary(bytes, options);
@@ -3952,6 +3957,326 @@ export class DeleteOrganizationWebhookConfigResponse extends Message {
3952
3957
  return proto3.util.equals(DeleteOrganizationWebhookConfigResponse, a, b);
3953
3958
  }
3954
3959
  }
3960
+ /**
3961
+ * @generated from message wg.cosmo.platform.v1.DeleteOrganizationRequest
3962
+ */
3963
+ export class DeleteOrganizationRequest extends Message {
3964
+ /**
3965
+ * @generated from field: string userID = 1;
3966
+ */
3967
+ userID = "";
3968
+ constructor(data) {
3969
+ super();
3970
+ proto3.util.initPartial(data, this);
3971
+ }
3972
+ static runtime = proto3;
3973
+ static typeName = "wg.cosmo.platform.v1.DeleteOrganizationRequest";
3974
+ static fields = proto3.util.newFieldList(() => [
3975
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3976
+ ]);
3977
+ static fromBinary(bytes, options) {
3978
+ return new DeleteOrganizationRequest().fromBinary(bytes, options);
3979
+ }
3980
+ static fromJson(jsonValue, options) {
3981
+ return new DeleteOrganizationRequest().fromJson(jsonValue, options);
3982
+ }
3983
+ static fromJsonString(jsonString, options) {
3984
+ return new DeleteOrganizationRequest().fromJsonString(jsonString, options);
3985
+ }
3986
+ static equals(a, b) {
3987
+ return proto3.util.equals(DeleteOrganizationRequest, a, b);
3988
+ }
3989
+ }
3990
+ /**
3991
+ * @generated from message wg.cosmo.platform.v1.DeleteOrganizationResponse
3992
+ */
3993
+ export class DeleteOrganizationResponse extends Message {
3994
+ /**
3995
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3996
+ */
3997
+ response;
3998
+ constructor(data) {
3999
+ super();
4000
+ proto3.util.initPartial(data, this);
4001
+ }
4002
+ static runtime = proto3;
4003
+ static typeName = "wg.cosmo.platform.v1.DeleteOrganizationResponse";
4004
+ static fields = proto3.util.newFieldList(() => [
4005
+ { no: 1, name: "response", kind: "message", T: Response },
4006
+ ]);
4007
+ static fromBinary(bytes, options) {
4008
+ return new DeleteOrganizationResponse().fromBinary(bytes, options);
4009
+ }
4010
+ static fromJson(jsonValue, options) {
4011
+ return new DeleteOrganizationResponse().fromJson(jsonValue, options);
4012
+ }
4013
+ static fromJsonString(jsonString, options) {
4014
+ return new DeleteOrganizationResponse().fromJsonString(jsonString, options);
4015
+ }
4016
+ static equals(a, b) {
4017
+ return proto3.util.equals(DeleteOrganizationResponse, a, b);
4018
+ }
4019
+ }
4020
+ /**
4021
+ * @generated from message wg.cosmo.platform.v1.LeaveOrganizationRequest
4022
+ */
4023
+ export class LeaveOrganizationRequest extends Message {
4024
+ /**
4025
+ * @generated from field: string userID = 1;
4026
+ */
4027
+ userID = "";
4028
+ constructor(data) {
4029
+ super();
4030
+ proto3.util.initPartial(data, this);
4031
+ }
4032
+ static runtime = proto3;
4033
+ static typeName = "wg.cosmo.platform.v1.LeaveOrganizationRequest";
4034
+ static fields = proto3.util.newFieldList(() => [
4035
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4036
+ ]);
4037
+ static fromBinary(bytes, options) {
4038
+ return new LeaveOrganizationRequest().fromBinary(bytes, options);
4039
+ }
4040
+ static fromJson(jsonValue, options) {
4041
+ return new LeaveOrganizationRequest().fromJson(jsonValue, options);
4042
+ }
4043
+ static fromJsonString(jsonString, options) {
4044
+ return new LeaveOrganizationRequest().fromJsonString(jsonString, options);
4045
+ }
4046
+ static equals(a, b) {
4047
+ return proto3.util.equals(LeaveOrganizationRequest, a, b);
4048
+ }
4049
+ }
4050
+ /**
4051
+ * @generated from message wg.cosmo.platform.v1.LeaveOrganizationResponse
4052
+ */
4053
+ export class LeaveOrganizationResponse extends Message {
4054
+ /**
4055
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4056
+ */
4057
+ response;
4058
+ constructor(data) {
4059
+ super();
4060
+ proto3.util.initPartial(data, this);
4061
+ }
4062
+ static runtime = proto3;
4063
+ static typeName = "wg.cosmo.platform.v1.LeaveOrganizationResponse";
4064
+ static fields = proto3.util.newFieldList(() => [
4065
+ { no: 1, name: "response", kind: "message", T: Response },
4066
+ ]);
4067
+ static fromBinary(bytes, options) {
4068
+ return new LeaveOrganizationResponse().fromBinary(bytes, options);
4069
+ }
4070
+ static fromJson(jsonValue, options) {
4071
+ return new LeaveOrganizationResponse().fromJson(jsonValue, options);
4072
+ }
4073
+ static fromJsonString(jsonString, options) {
4074
+ return new LeaveOrganizationResponse().fromJsonString(jsonString, options);
4075
+ }
4076
+ static equals(a, b) {
4077
+ return proto3.util.equals(LeaveOrganizationResponse, a, b);
4078
+ }
4079
+ }
4080
+ /**
4081
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationNameRequest
4082
+ */
4083
+ export class UpdateOrganizationNameRequest extends Message {
4084
+ /**
4085
+ * @generated from field: string userID = 1;
4086
+ */
4087
+ userID = "";
4088
+ /**
4089
+ * @generated from field: string organizationName = 2;
4090
+ */
4091
+ organizationName = "";
4092
+ constructor(data) {
4093
+ super();
4094
+ proto3.util.initPartial(data, this);
4095
+ }
4096
+ static runtime = proto3;
4097
+ static typeName = "wg.cosmo.platform.v1.UpdateOrganizationNameRequest";
4098
+ static fields = proto3.util.newFieldList(() => [
4099
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4100
+ { no: 2, name: "organizationName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4101
+ ]);
4102
+ static fromBinary(bytes, options) {
4103
+ return new UpdateOrganizationNameRequest().fromBinary(bytes, options);
4104
+ }
4105
+ static fromJson(jsonValue, options) {
4106
+ return new UpdateOrganizationNameRequest().fromJson(jsonValue, options);
4107
+ }
4108
+ static fromJsonString(jsonString, options) {
4109
+ return new UpdateOrganizationNameRequest().fromJsonString(jsonString, options);
4110
+ }
4111
+ static equals(a, b) {
4112
+ return proto3.util.equals(UpdateOrganizationNameRequest, a, b);
4113
+ }
4114
+ }
4115
+ /**
4116
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationNameResponse
4117
+ */
4118
+ export class UpdateOrganizationNameResponse extends Message {
4119
+ /**
4120
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4121
+ */
4122
+ response;
4123
+ constructor(data) {
4124
+ super();
4125
+ proto3.util.initPartial(data, this);
4126
+ }
4127
+ static runtime = proto3;
4128
+ static typeName = "wg.cosmo.platform.v1.UpdateOrganizationNameResponse";
4129
+ static fields = proto3.util.newFieldList(() => [
4130
+ { no: 1, name: "response", kind: "message", T: Response },
4131
+ ]);
4132
+ static fromBinary(bytes, options) {
4133
+ return new UpdateOrganizationNameResponse().fromBinary(bytes, options);
4134
+ }
4135
+ static fromJson(jsonValue, options) {
4136
+ return new UpdateOrganizationNameResponse().fromJson(jsonValue, options);
4137
+ }
4138
+ static fromJsonString(jsonString, options) {
4139
+ return new UpdateOrganizationNameResponse().fromJsonString(jsonString, options);
4140
+ }
4141
+ static equals(a, b) {
4142
+ return proto3.util.equals(UpdateOrganizationNameResponse, a, b);
4143
+ }
4144
+ }
4145
+ /**
4146
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationSlugRequest
4147
+ */
4148
+ export class UpdateOrganizationSlugRequest extends Message {
4149
+ /**
4150
+ * @generated from field: string userID = 1;
4151
+ */
4152
+ userID = "";
4153
+ /**
4154
+ * @generated from field: string organizationSlug = 2;
4155
+ */
4156
+ organizationSlug = "";
4157
+ constructor(data) {
4158
+ super();
4159
+ proto3.util.initPartial(data, this);
4160
+ }
4161
+ static runtime = proto3;
4162
+ static typeName = "wg.cosmo.platform.v1.UpdateOrganizationSlugRequest";
4163
+ static fields = proto3.util.newFieldList(() => [
4164
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4165
+ { no: 2, name: "organizationSlug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4166
+ ]);
4167
+ static fromBinary(bytes, options) {
4168
+ return new UpdateOrganizationSlugRequest().fromBinary(bytes, options);
4169
+ }
4170
+ static fromJson(jsonValue, options) {
4171
+ return new UpdateOrganizationSlugRequest().fromJson(jsonValue, options);
4172
+ }
4173
+ static fromJsonString(jsonString, options) {
4174
+ return new UpdateOrganizationSlugRequest().fromJsonString(jsonString, options);
4175
+ }
4176
+ static equals(a, b) {
4177
+ return proto3.util.equals(UpdateOrganizationSlugRequest, a, b);
4178
+ }
4179
+ }
4180
+ /**
4181
+ * @generated from message wg.cosmo.platform.v1.UpdateOrganizationSlugResponse
4182
+ */
4183
+ export class UpdateOrganizationSlugResponse extends Message {
4184
+ /**
4185
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4186
+ */
4187
+ response;
4188
+ constructor(data) {
4189
+ super();
4190
+ proto3.util.initPartial(data, this);
4191
+ }
4192
+ static runtime = proto3;
4193
+ static typeName = "wg.cosmo.platform.v1.UpdateOrganizationSlugResponse";
4194
+ static fields = proto3.util.newFieldList(() => [
4195
+ { no: 1, name: "response", kind: "message", T: Response },
4196
+ ]);
4197
+ static fromBinary(bytes, options) {
4198
+ return new UpdateOrganizationSlugResponse().fromBinary(bytes, options);
4199
+ }
4200
+ static fromJson(jsonValue, options) {
4201
+ return new UpdateOrganizationSlugResponse().fromJson(jsonValue, options);
4202
+ }
4203
+ static fromJsonString(jsonString, options) {
4204
+ return new UpdateOrganizationSlugResponse().fromJsonString(jsonString, options);
4205
+ }
4206
+ static equals(a, b) {
4207
+ return proto3.util.equals(UpdateOrganizationSlugResponse, a, b);
4208
+ }
4209
+ }
4210
+ /**
4211
+ * @generated from message wg.cosmo.platform.v1.UpdateOrgMemberRoleRequest
4212
+ */
4213
+ export class UpdateOrgMemberRoleRequest extends Message {
4214
+ /**
4215
+ * @generated from field: string userID = 1;
4216
+ */
4217
+ userID = "";
4218
+ /**
4219
+ * @generated from field: string orgMemberUserID = 2;
4220
+ */
4221
+ orgMemberUserID = "";
4222
+ /**
4223
+ * @generated from field: string role = 3;
4224
+ */
4225
+ role = "";
4226
+ constructor(data) {
4227
+ super();
4228
+ proto3.util.initPartial(data, this);
4229
+ }
4230
+ static runtime = proto3;
4231
+ static typeName = "wg.cosmo.platform.v1.UpdateOrgMemberRoleRequest";
4232
+ static fields = proto3.util.newFieldList(() => [
4233
+ { no: 1, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4234
+ { no: 2, name: "orgMemberUserID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4235
+ { no: 3, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4236
+ ]);
4237
+ static fromBinary(bytes, options) {
4238
+ return new UpdateOrgMemberRoleRequest().fromBinary(bytes, options);
4239
+ }
4240
+ static fromJson(jsonValue, options) {
4241
+ return new UpdateOrgMemberRoleRequest().fromJson(jsonValue, options);
4242
+ }
4243
+ static fromJsonString(jsonString, options) {
4244
+ return new UpdateOrgMemberRoleRequest().fromJsonString(jsonString, options);
4245
+ }
4246
+ static equals(a, b) {
4247
+ return proto3.util.equals(UpdateOrgMemberRoleRequest, a, b);
4248
+ }
4249
+ }
4250
+ /**
4251
+ * @generated from message wg.cosmo.platform.v1.UpdateOrgMemberRoleResponse
4252
+ */
4253
+ export class UpdateOrgMemberRoleResponse extends Message {
4254
+ /**
4255
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
4256
+ */
4257
+ response;
4258
+ constructor(data) {
4259
+ super();
4260
+ proto3.util.initPartial(data, this);
4261
+ }
4262
+ static runtime = proto3;
4263
+ static typeName = "wg.cosmo.platform.v1.UpdateOrgMemberRoleResponse";
4264
+ static fields = proto3.util.newFieldList(() => [
4265
+ { no: 1, name: "response", kind: "message", T: Response },
4266
+ ]);
4267
+ static fromBinary(bytes, options) {
4268
+ return new UpdateOrgMemberRoleResponse().fromBinary(bytes, options);
4269
+ }
4270
+ static fromJson(jsonValue, options) {
4271
+ return new UpdateOrgMemberRoleResponse().fromJson(jsonValue, options);
4272
+ }
4273
+ static fromJsonString(jsonString, options) {
4274
+ return new UpdateOrgMemberRoleResponse().fromJsonString(jsonString, options);
4275
+ }
4276
+ static equals(a, b) {
4277
+ return proto3.util.equals(UpdateOrgMemberRoleResponse, a, b);
4278
+ }
4279
+ }
3955
4280
  /**
3956
4281
  * *
3957
4282
  * MetricsDashboard