@uniswap/client-platform-service 0.0.31 → 0.0.33
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/uniswap/platformservice/v1/apiKeyService-ApiKeyService_connectquery.d.ts +14 -1
- package/dist/uniswap/platformservice/v1/apiKeyService-ApiKeyService_connectquery.js +14 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_connect.d.ts +10 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_connect.js +10 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_pb.d.ts +53 -2
- package/dist/uniswap/platformservice/v1/apiKeyService_pb.js +75 -1
- package/package.json +1 -1
|
@@ -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
|
*/
|
|
@@ -11,7 +11,12 @@ export declare enum ApiKeyTier {
|
|
|
11
11
|
*/
|
|
12
12
|
UNSPECIFIED = 0,
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Deprecated: legacy internal keys are stamped auth score 40 and rely on the
|
|
15
|
+
* shared x-internal-service-secret to pass score-gated services. Use
|
|
16
|
+
* API_KEY_TIER_INTERNAL_SECURED for new internal keys.
|
|
17
|
+
*
|
|
18
|
+
* @generated from enum value: API_KEY_TIER_INTERNAL = 1 [deprecated = true];
|
|
19
|
+
* @deprecated
|
|
15
20
|
*/
|
|
16
21
|
INTERNAL = 1,
|
|
17
22
|
/**
|
|
@@ -21,7 +26,14 @@ export declare enum ApiKeyTier {
|
|
|
21
26
|
/**
|
|
22
27
|
* @generated from enum value: API_KEY_TIER_DEV_PORTAL = 3;
|
|
23
28
|
*/
|
|
24
|
-
DEV_PORTAL = 3
|
|
29
|
+
DEV_PORTAL = 3,
|
|
30
|
+
/**
|
|
31
|
+
* Internal key trusted to pass score-gated services (Entry Gateway stamps
|
|
32
|
+
* auth score 60) without the shared internal-service secret.
|
|
33
|
+
*
|
|
34
|
+
* @generated from enum value: API_KEY_TIER_INTERNAL_SECURED = 4;
|
|
35
|
+
*/
|
|
36
|
+
INTERNAL_SECURED = 4
|
|
25
37
|
}
|
|
26
38
|
/**
|
|
27
39
|
* Application error codes for the API Key service (dev portal / API clients).
|
|
@@ -688,6 +700,45 @@ export declare class InternalListApiKeysResponse extends Message<InternalListApi
|
|
|
688
700
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalListApiKeysResponse;
|
|
689
701
|
static equals(a: InternalListApiKeysResponse | PlainMessage<InternalListApiKeysResponse> | undefined, b: InternalListApiKeysResponse | PlainMessage<InternalListApiKeysResponse> | undefined): boolean;
|
|
690
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
|
+
}
|
|
691
742
|
/**
|
|
692
743
|
* Internal Migrate request/response (VPN-restricted admin endpoint)
|
|
693
744
|
* Migrates a legacy API-Customer key into the platform egw-api-key table,
|
|
@@ -15,7 +15,12 @@ export var ApiKeyTier;
|
|
|
15
15
|
*/
|
|
16
16
|
ApiKeyTier[ApiKeyTier["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Deprecated: legacy internal keys are stamped auth score 40 and rely on the
|
|
19
|
+
* shared x-internal-service-secret to pass score-gated services. Use
|
|
20
|
+
* API_KEY_TIER_INTERNAL_SECURED for new internal keys.
|
|
21
|
+
*
|
|
22
|
+
* @generated from enum value: API_KEY_TIER_INTERNAL = 1 [deprecated = true];
|
|
23
|
+
* @deprecated
|
|
19
24
|
*/
|
|
20
25
|
ApiKeyTier[ApiKeyTier["INTERNAL"] = 1] = "INTERNAL";
|
|
21
26
|
/**
|
|
@@ -26,6 +31,13 @@ export var ApiKeyTier;
|
|
|
26
31
|
* @generated from enum value: API_KEY_TIER_DEV_PORTAL = 3;
|
|
27
32
|
*/
|
|
28
33
|
ApiKeyTier[ApiKeyTier["DEV_PORTAL"] = 3] = "DEV_PORTAL";
|
|
34
|
+
/**
|
|
35
|
+
* Internal key trusted to pass score-gated services (Entry Gateway stamps
|
|
36
|
+
* auth score 60) without the shared internal-service secret.
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum value: API_KEY_TIER_INTERNAL_SECURED = 4;
|
|
39
|
+
*/
|
|
40
|
+
ApiKeyTier[ApiKeyTier["INTERNAL_SECURED"] = 4] = "INTERNAL_SECURED";
|
|
29
41
|
})(ApiKeyTier || (ApiKeyTier = {}));
|
|
30
42
|
// Retrieve enum metadata with: proto3.getEnumType(ApiKeyTier)
|
|
31
43
|
proto3.util.setEnumType(ApiKeyTier, "uniswap.platformservice.v1.ApiKeyTier", [
|
|
@@ -33,6 +45,7 @@ proto3.util.setEnumType(ApiKeyTier, "uniswap.platformservice.v1.ApiKeyTier", [
|
|
|
33
45
|
{ no: 1, name: "API_KEY_TIER_INTERNAL" },
|
|
34
46
|
{ no: 2, name: "API_KEY_TIER_PARTNER" },
|
|
35
47
|
{ no: 3, name: "API_KEY_TIER_DEV_PORTAL" },
|
|
48
|
+
{ no: 4, name: "API_KEY_TIER_INTERNAL_SECURED" },
|
|
36
49
|
]);
|
|
37
50
|
/**
|
|
38
51
|
* Application error codes for the API Key service (dev portal / API clients).
|
|
@@ -982,6 +995,67 @@ InternalListApiKeysResponse.typeName = "uniswap.platformservice.v1.InternalListA
|
|
|
982
995
|
InternalListApiKeysResponse.fields = proto3.util.newFieldList(() => [
|
|
983
996
|
{ no: 1, name: "api_key_data_list", kind: "message", T: ApiKeyDataStruct, repeated: true },
|
|
984
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
|
+
]);
|
|
985
1059
|
/**
|
|
986
1060
|
* Internal Migrate request/response (VPN-restricted admin endpoint)
|
|
987
1061
|
* Migrates a legacy API-Customer key into the platform egw-api-key table,
|