@uniswap/client-platform-service 0.0.15 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/dist/uniswap/platformservice/v1/apiKeyService-ApiKeyService_connectquery.d.ts +79 -1
  2. package/dist/uniswap/platformservice/v1/apiKeyService-ApiKeyService_connectquery.js +79 -1
  3. package/dist/uniswap/platformservice/v1/apiKeyService_connect.d.ts +55 -1
  4. package/dist/uniswap/platformservice/v1/apiKeyService_connect.js +55 -1
  5. package/dist/uniswap/platformservice/v1/apiKeyService_pb.d.ts +234 -0
  6. package/dist/uniswap/platformservice/v1/apiKeyService_pb.js +377 -0
  7. package/dist/uniswap/platformservice/v1/organizationService-OrganizationService_connectquery.d.ts +40 -1
  8. package/dist/uniswap/platformservice/v1/organizationService-OrganizationService_connectquery.js +40 -1
  9. package/dist/uniswap/platformservice/v1/organizationService_connect.d.ts +28 -1
  10. package/dist/uniswap/platformservice/v1/organizationService_connect.js +28 -1
  11. package/dist/uniswap/platformservice/v1/organizationService_pb.d.ts +243 -0
  12. package/dist/uniswap/platformservice/v1/organizationService_pb.js +379 -0
  13. package/dist/uniswap/platformservice/v1/sessionService_pb.d.ts +9 -2
  14. package/dist/uniswap/platformservice/v1/sessionService_pb.js +4 -2
  15. package/dist/uniswap/platformservice/v1/userService-UserService_connectquery.d.ts +16 -1
  16. package/dist/uniswap/platformservice/v1/userService-UserService_connectquery.js +16 -1
  17. package/dist/uniswap/platformservice/v1/userService_connect.d.ts +12 -1
  18. package/dist/uniswap/platformservice/v1/userService_connect.js +12 -1
  19. package/dist/uniswap/platformservice/v1/userService_pb.d.ts +32 -0
  20. package/dist/uniswap/platformservice/v1/userService_pb.js +56 -0
  21. package/package.json +1 -1
@@ -219,6 +219,10 @@ export class IntrospectResponse extends Message {
219
219
  * @generated from field: string analytics_id = 5;
220
220
  */
221
221
  this.analyticsId = "";
222
+ /**
223
+ * @generated from field: uniswap.platformservice.v1.ApiKeyTier tier = 6;
224
+ */
225
+ this.tier = ApiKeyTier.UNSPECIFIED;
222
226
  proto3.util.initPartial(data, this);
223
227
  }
224
228
  static fromBinary(bytes, options) {
@@ -242,6 +246,8 @@ IntrospectResponse.fields = proto3.util.newFieldList(() => [
242
246
  { no: 3, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
243
247
  { no: 4, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
244
248
  { no: 5, name: "analytics_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
249
+ { no: 6, name: "tier", kind: "enum", T: proto3.getEnumType(ApiKeyTier) },
250
+ { no: 7, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
245
251
  ]);
246
252
  /**
247
253
  * Create API Key request/response
@@ -645,3 +651,374 @@ InternalCreateApiKeyResponse.fields = proto3.util.newFieldList(() => [
645
651
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
646
652
  { no: 2, name: "wrapped_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
647
653
  ]);
654
+ /**
655
+ * Internal Modify API Key request/response (VPN-restricted admin endpoint)
656
+ *
657
+ * @generated from message uniswap.platformservice.v1.InternalModifyApiKeyRequest
658
+ */
659
+ export class InternalModifyApiKeyRequest extends Message {
660
+ constructor(data) {
661
+ super();
662
+ /**
663
+ * user email to look up their organization
664
+ *
665
+ * @generated from field: string email = 1;
666
+ */
667
+ this.email = "";
668
+ /**
669
+ * api key name to identify the key within the org
670
+ *
671
+ * @generated from field: string api_key_name = 2;
672
+ */
673
+ this.apiKeyName = "";
674
+ proto3.util.initPartial(data, this);
675
+ }
676
+ static fromBinary(bytes, options) {
677
+ return new InternalModifyApiKeyRequest().fromBinary(bytes, options);
678
+ }
679
+ static fromJson(jsonValue, options) {
680
+ return new InternalModifyApiKeyRequest().fromJson(jsonValue, options);
681
+ }
682
+ static fromJsonString(jsonString, options) {
683
+ return new InternalModifyApiKeyRequest().fromJsonString(jsonString, options);
684
+ }
685
+ static equals(a, b) {
686
+ return proto3.util.equals(InternalModifyApiKeyRequest, a, b);
687
+ }
688
+ }
689
+ InternalModifyApiKeyRequest.runtime = proto3;
690
+ InternalModifyApiKeyRequest.typeName = "uniswap.platformservice.v1.InternalModifyApiKeyRequest";
691
+ InternalModifyApiKeyRequest.fields = proto3.util.newFieldList(() => [
692
+ { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
693
+ { no: 2, name: "api_key_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
694
+ { no: 3, name: "rate_limit_config", kind: "message", T: RateLimitConfig },
695
+ ]);
696
+ /**
697
+ * @generated from message uniswap.platformservice.v1.InternalModifyApiKeyResponse
698
+ */
699
+ export class InternalModifyApiKeyResponse extends Message {
700
+ constructor(data) {
701
+ super();
702
+ proto3.util.initPartial(data, this);
703
+ }
704
+ static fromBinary(bytes, options) {
705
+ return new InternalModifyApiKeyResponse().fromBinary(bytes, options);
706
+ }
707
+ static fromJson(jsonValue, options) {
708
+ return new InternalModifyApiKeyResponse().fromJson(jsonValue, options);
709
+ }
710
+ static fromJsonString(jsonString, options) {
711
+ return new InternalModifyApiKeyResponse().fromJsonString(jsonString, options);
712
+ }
713
+ static equals(a, b) {
714
+ return proto3.util.equals(InternalModifyApiKeyResponse, a, b);
715
+ }
716
+ }
717
+ InternalModifyApiKeyResponse.runtime = proto3;
718
+ InternalModifyApiKeyResponse.typeName = "uniswap.platformservice.v1.InternalModifyApiKeyResponse";
719
+ InternalModifyApiKeyResponse.fields = proto3.util.newFieldList(() => []);
720
+ /**
721
+ * Internal Modify API Key V2 request/response (VPN-restricted admin endpoint)
722
+ * Identifies key by hashed_api_key; no cap on rate_limit_config (admin override).
723
+ *
724
+ * @generated from message uniswap.platformservice.v1.InternalModifyApiKeyV2Request
725
+ */
726
+ export class InternalModifyApiKeyV2Request extends Message {
727
+ constructor(data) {
728
+ super();
729
+ /**
730
+ * @generated from field: string hashed_api_key = 1;
731
+ */
732
+ this.hashedApiKey = "";
733
+ /**
734
+ * @generated from field: int32 target_rps = 2;
735
+ */
736
+ this.targetRps = 0;
737
+ proto3.util.initPartial(data, this);
738
+ }
739
+ static fromBinary(bytes, options) {
740
+ return new InternalModifyApiKeyV2Request().fromBinary(bytes, options);
741
+ }
742
+ static fromJson(jsonValue, options) {
743
+ return new InternalModifyApiKeyV2Request().fromJson(jsonValue, options);
744
+ }
745
+ static fromJsonString(jsonString, options) {
746
+ return new InternalModifyApiKeyV2Request().fromJsonString(jsonString, options);
747
+ }
748
+ static equals(a, b) {
749
+ return proto3.util.equals(InternalModifyApiKeyV2Request, a, b);
750
+ }
751
+ }
752
+ InternalModifyApiKeyV2Request.runtime = proto3;
753
+ InternalModifyApiKeyV2Request.typeName = "uniswap.platformservice.v1.InternalModifyApiKeyV2Request";
754
+ InternalModifyApiKeyV2Request.fields = proto3.util.newFieldList(() => [
755
+ { no: 1, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
756
+ { no: 2, name: "target_rps", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
757
+ ]);
758
+ /**
759
+ * @generated from message uniswap.platformservice.v1.InternalModifyApiKeyV2Response
760
+ */
761
+ export class InternalModifyApiKeyV2Response extends Message {
762
+ constructor(data) {
763
+ super();
764
+ proto3.util.initPartial(data, this);
765
+ }
766
+ static fromBinary(bytes, options) {
767
+ return new InternalModifyApiKeyV2Response().fromBinary(bytes, options);
768
+ }
769
+ static fromJson(jsonValue, options) {
770
+ return new InternalModifyApiKeyV2Response().fromJson(jsonValue, options);
771
+ }
772
+ static fromJsonString(jsonString, options) {
773
+ return new InternalModifyApiKeyV2Response().fromJsonString(jsonString, options);
774
+ }
775
+ static equals(a, b) {
776
+ return proto3.util.equals(InternalModifyApiKeyV2Response, a, b);
777
+ }
778
+ }
779
+ InternalModifyApiKeyV2Response.runtime = proto3;
780
+ InternalModifyApiKeyV2Response.typeName = "uniswap.platformservice.v1.InternalModifyApiKeyV2Response";
781
+ InternalModifyApiKeyV2Response.fields = proto3.util.newFieldList(() => []);
782
+ /**
783
+ * Internal Delete API Key request/response (VPN-restricted admin endpoint)
784
+ *
785
+ * @generated from message uniswap.platformservice.v1.InternalDeleteApiKeyRequest
786
+ */
787
+ export class InternalDeleteApiKeyRequest extends Message {
788
+ constructor(data) {
789
+ super();
790
+ /**
791
+ * @generated from field: string hashed_api_key = 1;
792
+ */
793
+ this.hashedApiKey = "";
794
+ proto3.util.initPartial(data, this);
795
+ }
796
+ static fromBinary(bytes, options) {
797
+ return new InternalDeleteApiKeyRequest().fromBinary(bytes, options);
798
+ }
799
+ static fromJson(jsonValue, options) {
800
+ return new InternalDeleteApiKeyRequest().fromJson(jsonValue, options);
801
+ }
802
+ static fromJsonString(jsonString, options) {
803
+ return new InternalDeleteApiKeyRequest().fromJsonString(jsonString, options);
804
+ }
805
+ static equals(a, b) {
806
+ return proto3.util.equals(InternalDeleteApiKeyRequest, a, b);
807
+ }
808
+ }
809
+ InternalDeleteApiKeyRequest.runtime = proto3;
810
+ InternalDeleteApiKeyRequest.typeName = "uniswap.platformservice.v1.InternalDeleteApiKeyRequest";
811
+ InternalDeleteApiKeyRequest.fields = proto3.util.newFieldList(() => [
812
+ { no: 1, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
813
+ ]);
814
+ /**
815
+ * @generated from message uniswap.platformservice.v1.InternalDeleteApiKeyResponse
816
+ */
817
+ export class InternalDeleteApiKeyResponse extends Message {
818
+ constructor(data) {
819
+ super();
820
+ proto3.util.initPartial(data, this);
821
+ }
822
+ static fromBinary(bytes, options) {
823
+ return new InternalDeleteApiKeyResponse().fromBinary(bytes, options);
824
+ }
825
+ static fromJson(jsonValue, options) {
826
+ return new InternalDeleteApiKeyResponse().fromJson(jsonValue, options);
827
+ }
828
+ static fromJsonString(jsonString, options) {
829
+ return new InternalDeleteApiKeyResponse().fromJsonString(jsonString, options);
830
+ }
831
+ static equals(a, b) {
832
+ return proto3.util.equals(InternalDeleteApiKeyResponse, a, b);
833
+ }
834
+ }
835
+ InternalDeleteApiKeyResponse.runtime = proto3;
836
+ InternalDeleteApiKeyResponse.typeName = "uniswap.platformservice.v1.InternalDeleteApiKeyResponse";
837
+ InternalDeleteApiKeyResponse.fields = proto3.util.newFieldList(() => []);
838
+ /**
839
+ * Internal Set API Key Active request/response (VPN-restricted admin endpoint)
840
+ *
841
+ * @generated from message uniswap.platformservice.v1.InternalSetApiKeyActiveRequest
842
+ */
843
+ export class InternalSetApiKeyActiveRequest extends Message {
844
+ constructor(data) {
845
+ super();
846
+ /**
847
+ * @generated from field: string hashed_api_key = 1;
848
+ */
849
+ this.hashedApiKey = "";
850
+ /**
851
+ * @generated from field: bool active = 2;
852
+ */
853
+ this.active = false;
854
+ proto3.util.initPartial(data, this);
855
+ }
856
+ static fromBinary(bytes, options) {
857
+ return new InternalSetApiKeyActiveRequest().fromBinary(bytes, options);
858
+ }
859
+ static fromJson(jsonValue, options) {
860
+ return new InternalSetApiKeyActiveRequest().fromJson(jsonValue, options);
861
+ }
862
+ static fromJsonString(jsonString, options) {
863
+ return new InternalSetApiKeyActiveRequest().fromJsonString(jsonString, options);
864
+ }
865
+ static equals(a, b) {
866
+ return proto3.util.equals(InternalSetApiKeyActiveRequest, a, b);
867
+ }
868
+ }
869
+ InternalSetApiKeyActiveRequest.runtime = proto3;
870
+ InternalSetApiKeyActiveRequest.typeName = "uniswap.platformservice.v1.InternalSetApiKeyActiveRequest";
871
+ InternalSetApiKeyActiveRequest.fields = proto3.util.newFieldList(() => [
872
+ { no: 1, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
873
+ { no: 2, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
874
+ ]);
875
+ /**
876
+ * @generated from message uniswap.platformservice.v1.InternalSetApiKeyActiveResponse
877
+ */
878
+ export class InternalSetApiKeyActiveResponse extends Message {
879
+ constructor(data) {
880
+ super();
881
+ proto3.util.initPartial(data, this);
882
+ }
883
+ static fromBinary(bytes, options) {
884
+ return new InternalSetApiKeyActiveResponse().fromBinary(bytes, options);
885
+ }
886
+ static fromJson(jsonValue, options) {
887
+ return new InternalSetApiKeyActiveResponse().fromJson(jsonValue, options);
888
+ }
889
+ static fromJsonString(jsonString, options) {
890
+ return new InternalSetApiKeyActiveResponse().fromJsonString(jsonString, options);
891
+ }
892
+ static equals(a, b) {
893
+ return proto3.util.equals(InternalSetApiKeyActiveResponse, a, b);
894
+ }
895
+ }
896
+ InternalSetApiKeyActiveResponse.runtime = proto3;
897
+ InternalSetApiKeyActiveResponse.typeName = "uniswap.platformservice.v1.InternalSetApiKeyActiveResponse";
898
+ InternalSetApiKeyActiveResponse.fields = proto3.util.newFieldList(() => []);
899
+ /**
900
+ * Internal List API Keys request/response (VPN-restricted admin endpoint)
901
+ * Lists all API keys (active and inactive) for the org associated with the given email.
902
+ *
903
+ * @generated from message uniswap.platformservice.v1.InternalListApiKeysRequest
904
+ */
905
+ export class InternalListApiKeysRequest extends Message {
906
+ constructor(data) {
907
+ super();
908
+ /**
909
+ * @generated from field: string email = 1;
910
+ */
911
+ this.email = "";
912
+ proto3.util.initPartial(data, this);
913
+ }
914
+ static fromBinary(bytes, options) {
915
+ return new InternalListApiKeysRequest().fromBinary(bytes, options);
916
+ }
917
+ static fromJson(jsonValue, options) {
918
+ return new InternalListApiKeysRequest().fromJson(jsonValue, options);
919
+ }
920
+ static fromJsonString(jsonString, options) {
921
+ return new InternalListApiKeysRequest().fromJsonString(jsonString, options);
922
+ }
923
+ static equals(a, b) {
924
+ return proto3.util.equals(InternalListApiKeysRequest, a, b);
925
+ }
926
+ }
927
+ InternalListApiKeysRequest.runtime = proto3;
928
+ InternalListApiKeysRequest.typeName = "uniswap.platformservice.v1.InternalListApiKeysRequest";
929
+ InternalListApiKeysRequest.fields = proto3.util.newFieldList(() => [
930
+ { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
931
+ ]);
932
+ /**
933
+ * @generated from message uniswap.platformservice.v1.InternalListApiKeysResponse
934
+ */
935
+ export class InternalListApiKeysResponse extends Message {
936
+ constructor(data) {
937
+ super();
938
+ /**
939
+ * @generated from field: repeated uniswap.platformservice.v1.ApiKeyDataStruct api_key_data_list = 1;
940
+ */
941
+ this.apiKeyDataList = [];
942
+ proto3.util.initPartial(data, this);
943
+ }
944
+ static fromBinary(bytes, options) {
945
+ return new InternalListApiKeysResponse().fromBinary(bytes, options);
946
+ }
947
+ static fromJson(jsonValue, options) {
948
+ return new InternalListApiKeysResponse().fromJson(jsonValue, options);
949
+ }
950
+ static fromJsonString(jsonString, options) {
951
+ return new InternalListApiKeysResponse().fromJsonString(jsonString, options);
952
+ }
953
+ static equals(a, b) {
954
+ return proto3.util.equals(InternalListApiKeysResponse, a, b);
955
+ }
956
+ }
957
+ InternalListApiKeysResponse.runtime = proto3;
958
+ InternalListApiKeysResponse.typeName = "uniswap.platformservice.v1.InternalListApiKeysResponse";
959
+ InternalListApiKeysResponse.fields = proto3.util.newFieldList(() => [
960
+ { no: 1, name: "api_key_data_list", kind: "message", T: ApiKeyDataStruct, repeated: true },
961
+ ]);
962
+ /**
963
+ * Internal Migrate request/response (VPN-restricted admin endpoint)
964
+ * Migrates a legacy API-Customer key into the platform egw-api-key table,
965
+ * linking it to the org found by the user's email.
966
+ *
967
+ * @generated from message uniswap.platformservice.v1.InternalMigrateRequest
968
+ */
969
+ export class InternalMigrateRequest extends Message {
970
+ constructor(data) {
971
+ super();
972
+ /**
973
+ * @generated from field: string analytics_id = 1;
974
+ */
975
+ this.analyticsId = "";
976
+ /**
977
+ * @generated from field: string email = 2;
978
+ */
979
+ this.email = "";
980
+ proto3.util.initPartial(data, this);
981
+ }
982
+ static fromBinary(bytes, options) {
983
+ return new InternalMigrateRequest().fromBinary(bytes, options);
984
+ }
985
+ static fromJson(jsonValue, options) {
986
+ return new InternalMigrateRequest().fromJson(jsonValue, options);
987
+ }
988
+ static fromJsonString(jsonString, options) {
989
+ return new InternalMigrateRequest().fromJsonString(jsonString, options);
990
+ }
991
+ static equals(a, b) {
992
+ return proto3.util.equals(InternalMigrateRequest, a, b);
993
+ }
994
+ }
995
+ InternalMigrateRequest.runtime = proto3;
996
+ InternalMigrateRequest.typeName = "uniswap.platformservice.v1.InternalMigrateRequest";
997
+ InternalMigrateRequest.fields = proto3.util.newFieldList(() => [
998
+ { no: 1, name: "analytics_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
999
+ { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1000
+ ]);
1001
+ /**
1002
+ * @generated from message uniswap.platformservice.v1.InternalMigrateResponse
1003
+ */
1004
+ export class InternalMigrateResponse extends Message {
1005
+ constructor(data) {
1006
+ super();
1007
+ proto3.util.initPartial(data, this);
1008
+ }
1009
+ static fromBinary(bytes, options) {
1010
+ return new InternalMigrateResponse().fromBinary(bytes, options);
1011
+ }
1012
+ static fromJson(jsonValue, options) {
1013
+ return new InternalMigrateResponse().fromJson(jsonValue, options);
1014
+ }
1015
+ static fromJsonString(jsonString, options) {
1016
+ return new InternalMigrateResponse().fromJsonString(jsonString, options);
1017
+ }
1018
+ static equals(a, b) {
1019
+ return proto3.util.equals(InternalMigrateResponse, a, b);
1020
+ }
1021
+ }
1022
+ InternalMigrateResponse.runtime = proto3;
1023
+ InternalMigrateResponse.typeName = "uniswap.platformservice.v1.InternalMigrateResponse";
1024
+ InternalMigrateResponse.fields = proto3.util.newFieldList(() => []);
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse } from "./organizationService_pb.js";
2
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse } from "./organizationService_pb.js";
3
3
  /**
4
4
  * authed toward user through egw
5
5
  * User who created the org is admin
@@ -29,3 +29,42 @@ export declare const getOrganization: {
29
29
  readonly typeName: "uniswap.platformservice.v1.OrganizationService";
30
30
  };
31
31
  };
32
+ /**
33
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalListOrganizations
34
+ */
35
+ export declare const internalListOrganizations: {
36
+ readonly localName: "internalListOrganizations";
37
+ readonly name: "InternalListOrganizations";
38
+ readonly kind: MethodKind.Unary;
39
+ readonly I: typeof InternalListOrganizationsRequest;
40
+ readonly O: typeof InternalListOrganizationsResponse;
41
+ readonly service: {
42
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
43
+ };
44
+ };
45
+ /**
46
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalGetOrganization
47
+ */
48
+ export declare const internalGetOrganization: {
49
+ readonly localName: "internalGetOrganization";
50
+ readonly name: "InternalGetOrganization";
51
+ readonly kind: MethodKind.Unary;
52
+ readonly I: typeof InternalGetOrganizationRequest;
53
+ readonly O: typeof InternalGetOrganizationResponse;
54
+ readonly service: {
55
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
56
+ };
57
+ };
58
+ /**
59
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalDeleteOrganization
60
+ */
61
+ export declare const internalDeleteOrganization: {
62
+ readonly localName: "internalDeleteOrganization";
63
+ readonly name: "InternalDeleteOrganization";
64
+ readonly kind: MethodKind.Unary;
65
+ readonly I: typeof InternalDeleteOrganizationRequest;
66
+ readonly O: typeof InternalDeleteOrganizationResponse;
67
+ readonly service: {
68
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
69
+ };
70
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse } from "./organizationService_pb.js";
6
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse } from "./organizationService_pb.js";
7
7
  /**
8
8
  * authed toward user through egw
9
9
  * User who created the org is admin
@@ -33,3 +33,42 @@ export const getOrganization = {
33
33
  typeName: "uniswap.platformservice.v1.OrganizationService"
34
34
  }
35
35
  };
36
+ /**
37
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalListOrganizations
38
+ */
39
+ export const internalListOrganizations = {
40
+ localName: "internalListOrganizations",
41
+ name: "InternalListOrganizations",
42
+ kind: MethodKind.Unary,
43
+ I: InternalListOrganizationsRequest,
44
+ O: InternalListOrganizationsResponse,
45
+ service: {
46
+ typeName: "uniswap.platformservice.v1.OrganizationService"
47
+ }
48
+ };
49
+ /**
50
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalGetOrganization
51
+ */
52
+ export const internalGetOrganization = {
53
+ localName: "internalGetOrganization",
54
+ name: "InternalGetOrganization",
55
+ kind: MethodKind.Unary,
56
+ I: InternalGetOrganizationRequest,
57
+ O: InternalGetOrganizationResponse,
58
+ service: {
59
+ typeName: "uniswap.platformservice.v1.OrganizationService"
60
+ }
61
+ };
62
+ /**
63
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalDeleteOrganization
64
+ */
65
+ export const internalDeleteOrganization = {
66
+ localName: "internalDeleteOrganization",
67
+ name: "InternalDeleteOrganization",
68
+ kind: MethodKind.Unary,
69
+ I: InternalDeleteOrganizationRequest,
70
+ O: InternalDeleteOrganizationResponse,
71
+ service: {
72
+ typeName: "uniswap.platformservice.v1.OrganizationService"
73
+ }
74
+ };
@@ -1,4 +1,4 @@
1
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse } from "./organizationService_pb.js";
1
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse } from "./organizationService_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service uniswap.platformservice.v1.OrganizationService
@@ -27,5 +27,32 @@ export declare const OrganizationService: {
27
27
  readonly O: typeof GetOrganizationResponse;
28
28
  readonly kind: MethodKind.Unary;
29
29
  };
30
+ /**
31
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalListOrganizations
32
+ */
33
+ readonly internalListOrganizations: {
34
+ readonly name: "InternalListOrganizations";
35
+ readonly I: typeof InternalListOrganizationsRequest;
36
+ readonly O: typeof InternalListOrganizationsResponse;
37
+ readonly kind: MethodKind.Unary;
38
+ };
39
+ /**
40
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalGetOrganization
41
+ */
42
+ readonly internalGetOrganization: {
43
+ readonly name: "InternalGetOrganization";
44
+ readonly I: typeof InternalGetOrganizationRequest;
45
+ readonly O: typeof InternalGetOrganizationResponse;
46
+ readonly kind: MethodKind.Unary;
47
+ };
48
+ /**
49
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalDeleteOrganization
50
+ */
51
+ readonly internalDeleteOrganization: {
52
+ readonly name: "InternalDeleteOrganization";
53
+ readonly I: typeof InternalDeleteOrganizationRequest;
54
+ readonly O: typeof InternalDeleteOrganizationResponse;
55
+ readonly kind: MethodKind.Unary;
56
+ };
30
57
  };
31
58
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file uniswap/platformservice/v1/organizationService.proto (package uniswap.platformservice.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse } from "./organizationService_pb.js";
5
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse } from "./organizationService_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service uniswap.platformservice.v1.OrganizationService
@@ -31,5 +31,32 @@ export const OrganizationService = {
31
31
  O: GetOrganizationResponse,
32
32
  kind: MethodKind.Unary,
33
33
  },
34
+ /**
35
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalListOrganizations
36
+ */
37
+ internalListOrganizations: {
38
+ name: "InternalListOrganizations",
39
+ I: InternalListOrganizationsRequest,
40
+ O: InternalListOrganizationsResponse,
41
+ kind: MethodKind.Unary,
42
+ },
43
+ /**
44
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalGetOrganization
45
+ */
46
+ internalGetOrganization: {
47
+ name: "InternalGetOrganization",
48
+ I: InternalGetOrganizationRequest,
49
+ O: InternalGetOrganizationResponse,
50
+ kind: MethodKind.Unary,
51
+ },
52
+ /**
53
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalDeleteOrganization
54
+ */
55
+ internalDeleteOrganization: {
56
+ name: "InternalDeleteOrganization",
57
+ I: InternalDeleteOrganizationRequest,
58
+ O: InternalDeleteOrganizationResponse,
59
+ kind: MethodKind.Unary,
60
+ },
34
61
  }
35
62
  };