@uniswap/client-platform-service 0.0.32 → 0.0.34

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.
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
2
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalGetApiKeyRequest, InternalGetApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
3
3
  /**
4
4
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.Introspect
5
5
  */
@@ -143,6 +143,19 @@ export declare const internalListApiKeys: {
143
143
  readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
144
144
  };
145
145
  };
146
+ /**
147
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalGetApiKey
148
+ */
149
+ export declare const internalGetApiKey: {
150
+ readonly localName: "internalGetApiKey";
151
+ readonly name: "InternalGetApiKey";
152
+ readonly kind: MethodKind.Unary;
153
+ readonly I: typeof InternalGetApiKeyRequest;
154
+ readonly O: typeof InternalGetApiKeyResponse;
155
+ readonly service: {
156
+ readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
157
+ };
158
+ };
146
159
  /**
147
160
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalMigrate
148
161
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
6
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalGetApiKeyRequest, InternalGetApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
7
7
  /**
8
8
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.Introspect
9
9
  */
@@ -147,6 +147,19 @@ export const internalListApiKeys = {
147
147
  typeName: "uniswap.platformservice.v1.ApiKeyService"
148
148
  }
149
149
  };
150
+ /**
151
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalGetApiKey
152
+ */
153
+ export const internalGetApiKey = {
154
+ localName: "internalGetApiKey",
155
+ name: "InternalGetApiKey",
156
+ kind: MethodKind.Unary,
157
+ I: InternalGetApiKeyRequest,
158
+ O: InternalGetApiKeyResponse,
159
+ service: {
160
+ typeName: "uniswap.platformservice.v1.ApiKeyService"
161
+ }
162
+ };
150
163
  /**
151
164
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalMigrate
152
165
  */
@@ -1,4 +1,4 @@
1
- import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
1
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalGetApiKeyRequest, InternalGetApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * Service definition
@@ -107,6 +107,15 @@ export declare const ApiKeyService: {
107
107
  readonly O: typeof InternalListApiKeysResponse;
108
108
  readonly kind: MethodKind.Unary;
109
109
  };
110
+ /**
111
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalGetApiKey
112
+ */
113
+ readonly internalGetApiKey: {
114
+ readonly name: "InternalGetApiKey";
115
+ readonly I: typeof InternalGetApiKeyRequest;
116
+ readonly O: typeof InternalGetApiKeyResponse;
117
+ readonly kind: MethodKind.Unary;
118
+ };
110
119
  /**
111
120
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalMigrate
112
121
  */
@@ -2,7 +2,7 @@
2
2
  // @generated from file uniswap/platformservice/v1/apiKeyService.proto (package uniswap.platformservice.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
5
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalGetApiKeyRequest, InternalGetApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * Service definition
@@ -111,6 +111,15 @@ export const ApiKeyService = {
111
111
  O: InternalListApiKeysResponse,
112
112
  kind: MethodKind.Unary,
113
113
  },
114
+ /**
115
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalGetApiKey
116
+ */
117
+ internalGetApiKey: {
118
+ name: "InternalGetApiKey",
119
+ I: InternalGetApiKeyRequest,
120
+ O: InternalGetApiKeyResponse,
121
+ kind: MethodKind.Unary,
122
+ },
114
123
  /**
115
124
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalMigrate
116
125
  */
@@ -700,6 +700,45 @@ export declare class InternalListApiKeysResponse extends Message<InternalListApi
700
700
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalListApiKeysResponse;
701
701
  static equals(a: InternalListApiKeysResponse | PlainMessage<InternalListApiKeysResponse> | undefined, b: InternalListApiKeysResponse | PlainMessage<InternalListApiKeysResponse> | undefined): boolean;
702
702
  }
703
+ /**
704
+ * Internal Get API Key request/response (VPN-restricted admin endpoint)
705
+ * Looks up a single key by hashed_api_key — the identifier an admin has from a
706
+ * list response, an EGW log line, or a report, when the owning email is unknown.
707
+ * raw_key is never populated: the raw value is unrecoverable after creation.
708
+ *
709
+ * @generated from message uniswap.platformservice.v1.InternalGetApiKeyRequest
710
+ */
711
+ export declare class InternalGetApiKeyRequest extends Message<InternalGetApiKeyRequest> {
712
+ /**
713
+ * @generated from field: string hashed_api_key = 1;
714
+ */
715
+ hashedApiKey: string;
716
+ constructor(data?: PartialMessage<InternalGetApiKeyRequest>);
717
+ static readonly runtime: typeof proto3;
718
+ static readonly typeName = "uniswap.platformservice.v1.InternalGetApiKeyRequest";
719
+ static readonly fields: FieldList;
720
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalGetApiKeyRequest;
721
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalGetApiKeyRequest;
722
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalGetApiKeyRequest;
723
+ static equals(a: InternalGetApiKeyRequest | PlainMessage<InternalGetApiKeyRequest> | undefined, b: InternalGetApiKeyRequest | PlainMessage<InternalGetApiKeyRequest> | undefined): boolean;
724
+ }
725
+ /**
726
+ * @generated from message uniswap.platformservice.v1.InternalGetApiKeyResponse
727
+ */
728
+ export declare class InternalGetApiKeyResponse extends Message<InternalGetApiKeyResponse> {
729
+ /**
730
+ * @generated from field: uniswap.platformservice.v1.ApiKeyDataStruct api_key_data = 1;
731
+ */
732
+ apiKeyData?: ApiKeyDataStruct;
733
+ constructor(data?: PartialMessage<InternalGetApiKeyResponse>);
734
+ static readonly runtime: typeof proto3;
735
+ static readonly typeName = "uniswap.platformservice.v1.InternalGetApiKeyResponse";
736
+ static readonly fields: FieldList;
737
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalGetApiKeyResponse;
738
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalGetApiKeyResponse;
739
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalGetApiKeyResponse;
740
+ static equals(a: InternalGetApiKeyResponse | PlainMessage<InternalGetApiKeyResponse> | undefined, b: InternalGetApiKeyResponse | PlainMessage<InternalGetApiKeyResponse> | undefined): boolean;
741
+ }
703
742
  /**
704
743
  * Internal Migrate request/response (VPN-restricted admin endpoint)
705
744
  * Migrates a legacy API-Customer key into the platform egw-api-key table,
@@ -995,6 +995,67 @@ InternalListApiKeysResponse.typeName = "uniswap.platformservice.v1.InternalListA
995
995
  InternalListApiKeysResponse.fields = proto3.util.newFieldList(() => [
996
996
  { no: 1, name: "api_key_data_list", kind: "message", T: ApiKeyDataStruct, repeated: true },
997
997
  ]);
998
+ /**
999
+ * Internal Get API Key request/response (VPN-restricted admin endpoint)
1000
+ * Looks up a single key by hashed_api_key — the identifier an admin has from a
1001
+ * list response, an EGW log line, or a report, when the owning email is unknown.
1002
+ * raw_key is never populated: the raw value is unrecoverable after creation.
1003
+ *
1004
+ * @generated from message uniswap.platformservice.v1.InternalGetApiKeyRequest
1005
+ */
1006
+ export class InternalGetApiKeyRequest extends Message {
1007
+ constructor(data) {
1008
+ super();
1009
+ /**
1010
+ * @generated from field: string hashed_api_key = 1;
1011
+ */
1012
+ this.hashedApiKey = "";
1013
+ proto3.util.initPartial(data, this);
1014
+ }
1015
+ static fromBinary(bytes, options) {
1016
+ return new InternalGetApiKeyRequest().fromBinary(bytes, options);
1017
+ }
1018
+ static fromJson(jsonValue, options) {
1019
+ return new InternalGetApiKeyRequest().fromJson(jsonValue, options);
1020
+ }
1021
+ static fromJsonString(jsonString, options) {
1022
+ return new InternalGetApiKeyRequest().fromJsonString(jsonString, options);
1023
+ }
1024
+ static equals(a, b) {
1025
+ return proto3.util.equals(InternalGetApiKeyRequest, a, b);
1026
+ }
1027
+ }
1028
+ InternalGetApiKeyRequest.runtime = proto3;
1029
+ InternalGetApiKeyRequest.typeName = "uniswap.platformservice.v1.InternalGetApiKeyRequest";
1030
+ InternalGetApiKeyRequest.fields = proto3.util.newFieldList(() => [
1031
+ { no: 1, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1032
+ ]);
1033
+ /**
1034
+ * @generated from message uniswap.platformservice.v1.InternalGetApiKeyResponse
1035
+ */
1036
+ export class InternalGetApiKeyResponse extends Message {
1037
+ constructor(data) {
1038
+ super();
1039
+ proto3.util.initPartial(data, this);
1040
+ }
1041
+ static fromBinary(bytes, options) {
1042
+ return new InternalGetApiKeyResponse().fromBinary(bytes, options);
1043
+ }
1044
+ static fromJson(jsonValue, options) {
1045
+ return new InternalGetApiKeyResponse().fromJson(jsonValue, options);
1046
+ }
1047
+ static fromJsonString(jsonString, options) {
1048
+ return new InternalGetApiKeyResponse().fromJsonString(jsonString, options);
1049
+ }
1050
+ static equals(a, b) {
1051
+ return proto3.util.equals(InternalGetApiKeyResponse, a, b);
1052
+ }
1053
+ }
1054
+ InternalGetApiKeyResponse.runtime = proto3;
1055
+ InternalGetApiKeyResponse.typeName = "uniswap.platformservice.v1.InternalGetApiKeyResponse";
1056
+ InternalGetApiKeyResponse.fields = proto3.util.newFieldList(() => [
1057
+ { no: 1, name: "api_key_data", kind: "message", T: ApiKeyDataStruct },
1058
+ ]);
998
1059
  /**
999
1060
  * Internal Migrate request/response (VPN-restricted admin endpoint)
1000
1061
  * Migrates a legacy API-Customer key into the platform egw-api-key table,
@@ -150,11 +150,17 @@ export declare class InternalListOrganizationsRequest extends Message<InternalLi
150
150
  */
151
151
  pageSize: number;
152
152
  /**
153
- * optional partial name match
153
+ * optional partial name match; mutually exclusive with org_id_filter
154
154
  *
155
155
  * @generated from field: string name_filter = 3;
156
156
  */
157
157
  nameFilter: string;
158
+ /**
159
+ * optional exact org ID lookup; mutually exclusive with name_filter
160
+ *
161
+ * @generated from field: string org_id_filter = 4;
162
+ */
163
+ orgIdFilter: string;
158
164
  constructor(data?: PartialMessage<InternalListOrganizationsRequest>);
159
165
  static readonly runtime: typeof proto3;
160
166
  static readonly typeName = "uniswap.platformservice.v1.InternalListOrganizationsRequest";
@@ -219,11 +219,17 @@ export class InternalListOrganizationsRequest extends Message {
219
219
  */
220
220
  this.pageSize = 0;
221
221
  /**
222
- * optional partial name match
222
+ * optional partial name match; mutually exclusive with org_id_filter
223
223
  *
224
224
  * @generated from field: string name_filter = 3;
225
225
  */
226
226
  this.nameFilter = "";
227
+ /**
228
+ * optional exact org ID lookup; mutually exclusive with name_filter
229
+ *
230
+ * @generated from field: string org_id_filter = 4;
231
+ */
232
+ this.orgIdFilter = "";
227
233
  proto3.util.initPartial(data, this);
228
234
  }
229
235
  static fromBinary(bytes, options) {
@@ -245,6 +251,7 @@ InternalListOrganizationsRequest.fields = proto3.util.newFieldList(() => [
245
251
  { no: 1, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
246
252
  { no: 2, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
247
253
  { no: 3, name: "name_filter", kind: "scalar", T: 9 /* ScalarType.STRING */ },
254
+ { no: 4, name: "org_id_filter", kind: "scalar", T: 9 /* ScalarType.STRING */ },
248
255
  ]);
249
256
  /**
250
257
  * @generated from message uniswap.platformservice.v1.InternalOrganizationSummary
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-platform-service",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },