@uniswap/client-platform-service 0.0.1 → 0.0.3
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/{apiKeyService → platformservice}/v1/apiKeyService-ApiKeyService_connectquery.d.ts +10 -10
- package/dist/uniswap/{apiKeyService → platformservice}/v1/apiKeyService-ApiKeyService_connectquery.js +11 -11
- package/dist/uniswap/{apiKeyService → platformservice}/v1/apiKeyService_connect.d.ts +7 -7
- package/dist/uniswap/{apiKeyService → platformservice}/v1/apiKeyService_connect.js +8 -8
- package/dist/uniswap/{apiKeyService → platformservice}/v1/apiKeyService_pb.d.ts +47 -35
- package/dist/uniswap/{apiKeyService → platformservice}/v1/apiKeyService_pb.js +51 -35
- package/dist/uniswap/platformservice/v1/workerService-WorkerService_connectquery.d.ts +15 -0
- package/dist/uniswap/platformservice/v1/workerService-WorkerService_connectquery.js +19 -0
- package/dist/uniswap/platformservice/v1/workerService_connect.d.ts +21 -0
- package/dist/uniswap/platformservice/v1/workerService_connect.js +25 -0
- package/dist/uniswap/platformservice/v1/workerService_pb.d.ts +30 -0
- package/dist/uniswap/platformservice/v1/workerService_pb.js +55 -0
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
2
|
import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
|
|
3
3
|
/**
|
|
4
|
-
* @generated from rpc uniswap.
|
|
4
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.Introspect
|
|
5
5
|
*/
|
|
6
6
|
export declare const introspect: {
|
|
7
7
|
readonly localName: "introspect";
|
|
@@ -10,11 +10,11 @@ export declare const introspect: {
|
|
|
10
10
|
readonly I: typeof IntrospectRequest;
|
|
11
11
|
readonly O: typeof IntrospectResponse;
|
|
12
12
|
readonly service: {
|
|
13
|
-
readonly typeName: "uniswap.
|
|
13
|
+
readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
|
-
* @generated from rpc uniswap.
|
|
17
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.CreateApiKey
|
|
18
18
|
*/
|
|
19
19
|
export declare const createApiKey: {
|
|
20
20
|
readonly localName: "createApiKey";
|
|
@@ -23,11 +23,11 @@ export declare const createApiKey: {
|
|
|
23
23
|
readonly I: typeof CreateApiKeyRequest;
|
|
24
24
|
readonly O: typeof CreateApiKeyResponse;
|
|
25
25
|
readonly service: {
|
|
26
|
-
readonly typeName: "uniswap.
|
|
26
|
+
readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* @generated from rpc uniswap.
|
|
30
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.ModifyApiKey
|
|
31
31
|
*/
|
|
32
32
|
export declare const modifyApiKey: {
|
|
33
33
|
readonly localName: "modifyApiKey";
|
|
@@ -36,11 +36,11 @@ export declare const modifyApiKey: {
|
|
|
36
36
|
readonly I: typeof ModifyApiKeyRequest;
|
|
37
37
|
readonly O: typeof ModifyApiKeyResponse;
|
|
38
38
|
readonly service: {
|
|
39
|
-
readonly typeName: "uniswap.
|
|
39
|
+
readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
|
-
* @generated from rpc uniswap.
|
|
43
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.DeleteApiKey
|
|
44
44
|
*/
|
|
45
45
|
export declare const deleteApiKey: {
|
|
46
46
|
readonly localName: "deleteApiKey";
|
|
@@ -49,11 +49,11 @@ export declare const deleteApiKey: {
|
|
|
49
49
|
readonly I: typeof DeleteApiKeyRequest;
|
|
50
50
|
readonly O: typeof DeleteApiKeyResponse;
|
|
51
51
|
readonly service: {
|
|
52
|
-
readonly typeName: "uniswap.
|
|
52
|
+
readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
56
|
-
* @generated from rpc uniswap.
|
|
56
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.ListApiKeys
|
|
57
57
|
*/
|
|
58
58
|
export declare const listApiKeys: {
|
|
59
59
|
readonly localName: "listApiKeys";
|
|
@@ -62,6 +62,6 @@ export declare const listApiKeys: {
|
|
|
62
62
|
readonly I: typeof ListApiKeyRequest;
|
|
63
63
|
readonly O: typeof ListApiKeyResponse;
|
|
64
64
|
readonly service: {
|
|
65
|
-
readonly typeName: "uniswap.
|
|
65
|
+
readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
|
|
66
66
|
};
|
|
67
67
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts"
|
|
2
|
-
// @generated from file uniswap/
|
|
2
|
+
// @generated from file uniswap/platformservice/v1/apiKeyService.proto (package uniswap.platformservice.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
6
|
import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
|
|
7
7
|
/**
|
|
8
|
-
* @generated from rpc uniswap.
|
|
8
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.Introspect
|
|
9
9
|
*/
|
|
10
10
|
export const introspect = {
|
|
11
11
|
localName: "introspect",
|
|
@@ -14,11 +14,11 @@ export const introspect = {
|
|
|
14
14
|
I: IntrospectRequest,
|
|
15
15
|
O: IntrospectResponse,
|
|
16
16
|
service: {
|
|
17
|
-
typeName: "uniswap.
|
|
17
|
+
typeName: "uniswap.platformservice.v1.ApiKeyService"
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
|
-
* @generated from rpc uniswap.
|
|
21
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.CreateApiKey
|
|
22
22
|
*/
|
|
23
23
|
export const createApiKey = {
|
|
24
24
|
localName: "createApiKey",
|
|
@@ -27,11 +27,11 @@ export const createApiKey = {
|
|
|
27
27
|
I: CreateApiKeyRequest,
|
|
28
28
|
O: CreateApiKeyResponse,
|
|
29
29
|
service: {
|
|
30
|
-
typeName: "uniswap.
|
|
30
|
+
typeName: "uniswap.platformservice.v1.ApiKeyService"
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
|
-
* @generated from rpc uniswap.
|
|
34
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.ModifyApiKey
|
|
35
35
|
*/
|
|
36
36
|
export const modifyApiKey = {
|
|
37
37
|
localName: "modifyApiKey",
|
|
@@ -40,11 +40,11 @@ export const modifyApiKey = {
|
|
|
40
40
|
I: ModifyApiKeyRequest,
|
|
41
41
|
O: ModifyApiKeyResponse,
|
|
42
42
|
service: {
|
|
43
|
-
typeName: "uniswap.
|
|
43
|
+
typeName: "uniswap.platformservice.v1.ApiKeyService"
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
47
|
-
* @generated from rpc uniswap.
|
|
47
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.DeleteApiKey
|
|
48
48
|
*/
|
|
49
49
|
export const deleteApiKey = {
|
|
50
50
|
localName: "deleteApiKey",
|
|
@@ -53,11 +53,11 @@ export const deleteApiKey = {
|
|
|
53
53
|
I: DeleteApiKeyRequest,
|
|
54
54
|
O: DeleteApiKeyResponse,
|
|
55
55
|
service: {
|
|
56
|
-
typeName: "uniswap.
|
|
56
|
+
typeName: "uniswap.platformservice.v1.ApiKeyService"
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
|
-
* @generated from rpc uniswap.
|
|
60
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.ListApiKeys
|
|
61
61
|
*/
|
|
62
62
|
export const listApiKeys = {
|
|
63
63
|
localName: "listApiKeys",
|
|
@@ -66,6 +66,6 @@ export const listApiKeys = {
|
|
|
66
66
|
I: ListApiKeyRequest,
|
|
67
67
|
O: ListApiKeyResponse,
|
|
68
68
|
service: {
|
|
69
|
-
typeName: "uniswap.
|
|
69
|
+
typeName: "uniswap.platformservice.v1.ApiKeyService"
|
|
70
70
|
}
|
|
71
71
|
};
|
|
@@ -3,13 +3,13 @@ import { MethodKind } from "@bufbuild/protobuf";
|
|
|
3
3
|
/**
|
|
4
4
|
* Service definition
|
|
5
5
|
*
|
|
6
|
-
* @generated from service uniswap.
|
|
6
|
+
* @generated from service uniswap.platformservice.v1.ApiKeyService
|
|
7
7
|
*/
|
|
8
8
|
export declare const ApiKeyService: {
|
|
9
|
-
readonly typeName: "uniswap.
|
|
9
|
+
readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
|
|
10
10
|
readonly methods: {
|
|
11
11
|
/**
|
|
12
|
-
* @generated from rpc uniswap.
|
|
12
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.Introspect
|
|
13
13
|
*/
|
|
14
14
|
readonly introspect: {
|
|
15
15
|
readonly name: "Introspect";
|
|
@@ -18,7 +18,7 @@ export declare const ApiKeyService: {
|
|
|
18
18
|
readonly kind: MethodKind.Unary;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
|
-
* @generated from rpc uniswap.
|
|
21
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.CreateApiKey
|
|
22
22
|
*/
|
|
23
23
|
readonly createApiKey: {
|
|
24
24
|
readonly name: "CreateApiKey";
|
|
@@ -27,7 +27,7 @@ export declare const ApiKeyService: {
|
|
|
27
27
|
readonly kind: MethodKind.Unary;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* @generated from rpc uniswap.
|
|
30
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.ModifyApiKey
|
|
31
31
|
*/
|
|
32
32
|
readonly modifyApiKey: {
|
|
33
33
|
readonly name: "ModifyApiKey";
|
|
@@ -36,7 +36,7 @@ export declare const ApiKeyService: {
|
|
|
36
36
|
readonly kind: MethodKind.Unary;
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
|
-
* @generated from rpc uniswap.
|
|
39
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.DeleteApiKey
|
|
40
40
|
*/
|
|
41
41
|
readonly deleteApiKey: {
|
|
42
42
|
readonly name: "DeleteApiKey";
|
|
@@ -45,7 +45,7 @@ export declare const ApiKeyService: {
|
|
|
45
45
|
readonly kind: MethodKind.Unary;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
|
-
* @generated from rpc uniswap.
|
|
48
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.ListApiKeys
|
|
49
49
|
*/
|
|
50
50
|
readonly listApiKeys: {
|
|
51
51
|
readonly name: "ListApiKeys";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file uniswap/
|
|
2
|
+
// @generated from file uniswap/platformservice/v1/apiKeyService.proto (package uniswap.platformservice.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
|
|
@@ -7,13 +7,13 @@ import { MethodKind } from "@bufbuild/protobuf";
|
|
|
7
7
|
/**
|
|
8
8
|
* Service definition
|
|
9
9
|
*
|
|
10
|
-
* @generated from service uniswap.
|
|
10
|
+
* @generated from service uniswap.platformservice.v1.ApiKeyService
|
|
11
11
|
*/
|
|
12
12
|
export const ApiKeyService = {
|
|
13
|
-
typeName: "uniswap.
|
|
13
|
+
typeName: "uniswap.platformservice.v1.ApiKeyService",
|
|
14
14
|
methods: {
|
|
15
15
|
/**
|
|
16
|
-
* @generated from rpc uniswap.
|
|
16
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.Introspect
|
|
17
17
|
*/
|
|
18
18
|
introspect: {
|
|
19
19
|
name: "Introspect",
|
|
@@ -22,7 +22,7 @@ export const ApiKeyService = {
|
|
|
22
22
|
kind: MethodKind.Unary,
|
|
23
23
|
},
|
|
24
24
|
/**
|
|
25
|
-
* @generated from rpc uniswap.
|
|
25
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.CreateApiKey
|
|
26
26
|
*/
|
|
27
27
|
createApiKey: {
|
|
28
28
|
name: "CreateApiKey",
|
|
@@ -31,7 +31,7 @@ export const ApiKeyService = {
|
|
|
31
31
|
kind: MethodKind.Unary,
|
|
32
32
|
},
|
|
33
33
|
/**
|
|
34
|
-
* @generated from rpc uniswap.
|
|
34
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.ModifyApiKey
|
|
35
35
|
*/
|
|
36
36
|
modifyApiKey: {
|
|
37
37
|
name: "ModifyApiKey",
|
|
@@ -40,7 +40,7 @@ export const ApiKeyService = {
|
|
|
40
40
|
kind: MethodKind.Unary,
|
|
41
41
|
},
|
|
42
42
|
/**
|
|
43
|
-
* @generated from rpc uniswap.
|
|
43
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.DeleteApiKey
|
|
44
44
|
*/
|
|
45
45
|
deleteApiKey: {
|
|
46
46
|
name: "DeleteApiKey",
|
|
@@ -49,7 +49,7 @@ export const ApiKeyService = {
|
|
|
49
49
|
kind: MethodKind.Unary,
|
|
50
50
|
},
|
|
51
51
|
/**
|
|
52
|
-
* @generated from rpc uniswap.
|
|
52
|
+
* @generated from rpc uniswap.platformservice.v1.ApiKeyService.ListApiKeys
|
|
53
53
|
*/
|
|
54
54
|
listApiKeys: {
|
|
55
55
|
name: "ListApiKeys",
|
|
@@ -3,7 +3,7 @@ import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
|
3
3
|
/**
|
|
4
4
|
* Rate limit configuration
|
|
5
5
|
*
|
|
6
|
-
* @generated from message uniswap.
|
|
6
|
+
* @generated from message uniswap.platformservice.v1.RateLimitConfig
|
|
7
7
|
*/
|
|
8
8
|
export declare class RateLimitConfig extends Message<RateLimitConfig> {
|
|
9
9
|
/**
|
|
@@ -33,7 +33,7 @@ export declare class RateLimitConfig extends Message<RateLimitConfig> {
|
|
|
33
33
|
capacity: number;
|
|
34
34
|
constructor(data?: PartialMessage<RateLimitConfig>);
|
|
35
35
|
static readonly runtime: typeof proto3;
|
|
36
|
-
static readonly typeName = "uniswap.
|
|
36
|
+
static readonly typeName = "uniswap.platformservice.v1.RateLimitConfig";
|
|
37
37
|
static readonly fields: FieldList;
|
|
38
38
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RateLimitConfig;
|
|
39
39
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RateLimitConfig;
|
|
@@ -43,16 +43,16 @@ export declare class RateLimitConfig extends Message<RateLimitConfig> {
|
|
|
43
43
|
/**
|
|
44
44
|
* Introspect request/response
|
|
45
45
|
*
|
|
46
|
-
* @generated from message uniswap.
|
|
46
|
+
* @generated from message uniswap.platformservice.v1.IntrospectRequest
|
|
47
47
|
*/
|
|
48
48
|
export declare class IntrospectRequest extends Message<IntrospectRequest> {
|
|
49
49
|
/**
|
|
50
|
-
* @generated from field: string
|
|
50
|
+
* @generated from field: string id = 1;
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
id: string;
|
|
53
53
|
constructor(data?: PartialMessage<IntrospectRequest>);
|
|
54
54
|
static readonly runtime: typeof proto3;
|
|
55
|
-
static readonly typeName = "uniswap.
|
|
55
|
+
static readonly typeName = "uniswap.platformservice.v1.IntrospectRequest";
|
|
56
56
|
static readonly fields: FieldList;
|
|
57
57
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IntrospectRequest;
|
|
58
58
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IntrospectRequest;
|
|
@@ -60,12 +60,24 @@ export declare class IntrospectRequest extends Message<IntrospectRequest> {
|
|
|
60
60
|
static equals(a: IntrospectRequest | PlainMessage<IntrospectRequest> | undefined, b: IntrospectRequest | PlainMessage<IntrospectRequest> | undefined): boolean;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* @generated from message uniswap.
|
|
63
|
+
* @generated from message uniswap.platformservice.v1.IntrospectResponse
|
|
64
64
|
*/
|
|
65
65
|
export declare class IntrospectResponse extends Message<IntrospectResponse> {
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: string wrapped_id = 1;
|
|
68
|
+
*/
|
|
69
|
+
wrappedId: string;
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: bool result = 2;
|
|
72
|
+
*/
|
|
73
|
+
result: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: string user_id = 3;
|
|
76
|
+
*/
|
|
77
|
+
userId: string;
|
|
66
78
|
constructor(data?: PartialMessage<IntrospectResponse>);
|
|
67
79
|
static readonly runtime: typeof proto3;
|
|
68
|
-
static readonly typeName = "uniswap.
|
|
80
|
+
static readonly typeName = "uniswap.platformservice.v1.IntrospectResponse";
|
|
69
81
|
static readonly fields: FieldList;
|
|
70
82
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IntrospectResponse;
|
|
71
83
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IntrospectResponse;
|
|
@@ -75,7 +87,7 @@ export declare class IntrospectResponse extends Message<IntrospectResponse> {
|
|
|
75
87
|
/**
|
|
76
88
|
* Create API Key request/response
|
|
77
89
|
*
|
|
78
|
-
* @generated from message uniswap.
|
|
90
|
+
* @generated from message uniswap.platformservice.v1.CreateApiKeyRequest
|
|
79
91
|
*/
|
|
80
92
|
export declare class CreateApiKeyRequest extends Message<CreateApiKeyRequest> {
|
|
81
93
|
/**
|
|
@@ -83,12 +95,12 @@ export declare class CreateApiKeyRequest extends Message<CreateApiKeyRequest> {
|
|
|
83
95
|
*/
|
|
84
96
|
userId: string;
|
|
85
97
|
/**
|
|
86
|
-
* @generated from field: optional uniswap.
|
|
98
|
+
* @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 2;
|
|
87
99
|
*/
|
|
88
100
|
rateLimitConfig?: RateLimitConfig;
|
|
89
101
|
constructor(data?: PartialMessage<CreateApiKeyRequest>);
|
|
90
102
|
static readonly runtime: typeof proto3;
|
|
91
|
-
static readonly typeName = "uniswap.
|
|
103
|
+
static readonly typeName = "uniswap.platformservice.v1.CreateApiKeyRequest";
|
|
92
104
|
static readonly fields: FieldList;
|
|
93
105
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateApiKeyRequest;
|
|
94
106
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateApiKeyRequest;
|
|
@@ -96,16 +108,16 @@ export declare class CreateApiKeyRequest extends Message<CreateApiKeyRequest> {
|
|
|
96
108
|
static equals(a: CreateApiKeyRequest | PlainMessage<CreateApiKeyRequest> | undefined, b: CreateApiKeyRequest | PlainMessage<CreateApiKeyRequest> | undefined): boolean;
|
|
97
109
|
}
|
|
98
110
|
/**
|
|
99
|
-
* @generated from message uniswap.
|
|
111
|
+
* @generated from message uniswap.platformservice.v1.CreateApiKeyResponse
|
|
100
112
|
*/
|
|
101
113
|
export declare class CreateApiKeyResponse extends Message<CreateApiKeyResponse> {
|
|
102
114
|
/**
|
|
103
|
-
* @generated from field: string
|
|
115
|
+
* @generated from field: string id = 3;
|
|
104
116
|
*/
|
|
105
|
-
|
|
117
|
+
id: string;
|
|
106
118
|
constructor(data?: PartialMessage<CreateApiKeyResponse>);
|
|
107
119
|
static readonly runtime: typeof proto3;
|
|
108
|
-
static readonly typeName = "uniswap.
|
|
120
|
+
static readonly typeName = "uniswap.platformservice.v1.CreateApiKeyResponse";
|
|
109
121
|
static readonly fields: FieldList;
|
|
110
122
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateApiKeyResponse;
|
|
111
123
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateApiKeyResponse;
|
|
@@ -113,16 +125,16 @@ export declare class CreateApiKeyResponse extends Message<CreateApiKeyResponse>
|
|
|
113
125
|
static equals(a: CreateApiKeyResponse | PlainMessage<CreateApiKeyResponse> | undefined, b: CreateApiKeyResponse | PlainMessage<CreateApiKeyResponse> | undefined): boolean;
|
|
114
126
|
}
|
|
115
127
|
/**
|
|
116
|
-
* @generated from message uniswap.
|
|
128
|
+
* @generated from message uniswap.platformservice.v1.ModificationData
|
|
117
129
|
*/
|
|
118
130
|
export declare class ModificationData extends Message<ModificationData> {
|
|
119
131
|
/**
|
|
120
|
-
* @generated from field: optional uniswap.
|
|
132
|
+
* @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 2;
|
|
121
133
|
*/
|
|
122
134
|
rateLimitConfig?: RateLimitConfig;
|
|
123
135
|
constructor(data?: PartialMessage<ModificationData>);
|
|
124
136
|
static readonly runtime: typeof proto3;
|
|
125
|
-
static readonly typeName = "uniswap.
|
|
137
|
+
static readonly typeName = "uniswap.platformservice.v1.ModificationData";
|
|
126
138
|
static readonly fields: FieldList;
|
|
127
139
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModificationData;
|
|
128
140
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModificationData;
|
|
@@ -132,7 +144,7 @@ export declare class ModificationData extends Message<ModificationData> {
|
|
|
132
144
|
/**
|
|
133
145
|
* Modify API Key request/response
|
|
134
146
|
*
|
|
135
|
-
* @generated from message uniswap.
|
|
147
|
+
* @generated from message uniswap.platformservice.v1.ModifyApiKeyRequest
|
|
136
148
|
*/
|
|
137
149
|
export declare class ModifyApiKeyRequest extends Message<ModifyApiKeyRequest> {
|
|
138
150
|
/**
|
|
@@ -142,12 +154,12 @@ export declare class ModifyApiKeyRequest extends Message<ModifyApiKeyRequest> {
|
|
|
142
154
|
*/
|
|
143
155
|
identifier: string;
|
|
144
156
|
/**
|
|
145
|
-
* @generated from field: uniswap.
|
|
157
|
+
* @generated from field: uniswap.platformservice.v1.ModificationData modification_data = 2;
|
|
146
158
|
*/
|
|
147
159
|
modificationData?: ModificationData;
|
|
148
160
|
constructor(data?: PartialMessage<ModifyApiKeyRequest>);
|
|
149
161
|
static readonly runtime: typeof proto3;
|
|
150
|
-
static readonly typeName = "uniswap.
|
|
162
|
+
static readonly typeName = "uniswap.platformservice.v1.ModifyApiKeyRequest";
|
|
151
163
|
static readonly fields: FieldList;
|
|
152
164
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModifyApiKeyRequest;
|
|
153
165
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModifyApiKeyRequest;
|
|
@@ -155,12 +167,12 @@ export declare class ModifyApiKeyRequest extends Message<ModifyApiKeyRequest> {
|
|
|
155
167
|
static equals(a: ModifyApiKeyRequest | PlainMessage<ModifyApiKeyRequest> | undefined, b: ModifyApiKeyRequest | PlainMessage<ModifyApiKeyRequest> | undefined): boolean;
|
|
156
168
|
}
|
|
157
169
|
/**
|
|
158
|
-
* @generated from message uniswap.
|
|
170
|
+
* @generated from message uniswap.platformservice.v1.ModifyApiKeyResponse
|
|
159
171
|
*/
|
|
160
172
|
export declare class ModifyApiKeyResponse extends Message<ModifyApiKeyResponse> {
|
|
161
173
|
constructor(data?: PartialMessage<ModifyApiKeyResponse>);
|
|
162
174
|
static readonly runtime: typeof proto3;
|
|
163
|
-
static readonly typeName = "uniswap.
|
|
175
|
+
static readonly typeName = "uniswap.platformservice.v1.ModifyApiKeyResponse";
|
|
164
176
|
static readonly fields: FieldList;
|
|
165
177
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModifyApiKeyResponse;
|
|
166
178
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModifyApiKeyResponse;
|
|
@@ -170,7 +182,7 @@ export declare class ModifyApiKeyResponse extends Message<ModifyApiKeyResponse>
|
|
|
170
182
|
/**
|
|
171
183
|
* Delete API Key request/response
|
|
172
184
|
*
|
|
173
|
-
* @generated from message uniswap.
|
|
185
|
+
* @generated from message uniswap.platformservice.v1.DeleteApiKeyRequest
|
|
174
186
|
*/
|
|
175
187
|
export declare class DeleteApiKeyRequest extends Message<DeleteApiKeyRequest> {
|
|
176
188
|
/**
|
|
@@ -181,7 +193,7 @@ export declare class DeleteApiKeyRequest extends Message<DeleteApiKeyRequest> {
|
|
|
181
193
|
identifier: string;
|
|
182
194
|
constructor(data?: PartialMessage<DeleteApiKeyRequest>);
|
|
183
195
|
static readonly runtime: typeof proto3;
|
|
184
|
-
static readonly typeName = "uniswap.
|
|
196
|
+
static readonly typeName = "uniswap.platformservice.v1.DeleteApiKeyRequest";
|
|
185
197
|
static readonly fields: FieldList;
|
|
186
198
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteApiKeyRequest;
|
|
187
199
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteApiKeyRequest;
|
|
@@ -189,12 +201,12 @@ export declare class DeleteApiKeyRequest extends Message<DeleteApiKeyRequest> {
|
|
|
189
201
|
static equals(a: DeleteApiKeyRequest | PlainMessage<DeleteApiKeyRequest> | undefined, b: DeleteApiKeyRequest | PlainMessage<DeleteApiKeyRequest> | undefined): boolean;
|
|
190
202
|
}
|
|
191
203
|
/**
|
|
192
|
-
* @generated from message uniswap.
|
|
204
|
+
* @generated from message uniswap.platformservice.v1.DeleteApiKeyResponse
|
|
193
205
|
*/
|
|
194
206
|
export declare class DeleteApiKeyResponse extends Message<DeleteApiKeyResponse> {
|
|
195
207
|
constructor(data?: PartialMessage<DeleteApiKeyResponse>);
|
|
196
208
|
static readonly runtime: typeof proto3;
|
|
197
|
-
static readonly typeName = "uniswap.
|
|
209
|
+
static readonly typeName = "uniswap.platformservice.v1.DeleteApiKeyResponse";
|
|
198
210
|
static readonly fields: FieldList;
|
|
199
211
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteApiKeyResponse;
|
|
200
212
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteApiKeyResponse;
|
|
@@ -202,7 +214,7 @@ export declare class DeleteApiKeyResponse extends Message<DeleteApiKeyResponse>
|
|
|
202
214
|
static equals(a: DeleteApiKeyResponse | PlainMessage<DeleteApiKeyResponse> | undefined, b: DeleteApiKeyResponse | PlainMessage<DeleteApiKeyResponse> | undefined): boolean;
|
|
203
215
|
}
|
|
204
216
|
/**
|
|
205
|
-
* @generated from message uniswap.
|
|
217
|
+
* @generated from message uniswap.platformservice.v1.ApiKeyDataStruct
|
|
206
218
|
*/
|
|
207
219
|
export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
|
|
208
220
|
/**
|
|
@@ -214,7 +226,7 @@ export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
|
|
|
214
226
|
*/
|
|
215
227
|
hashedApiKey: string;
|
|
216
228
|
/**
|
|
217
|
-
* @generated from field: uniswap.
|
|
229
|
+
* @generated from field: uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 3;
|
|
218
230
|
*/
|
|
219
231
|
rateLimitConfig?: RateLimitConfig;
|
|
220
232
|
/**
|
|
@@ -227,7 +239,7 @@ export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
|
|
|
227
239
|
creationTime?: Timestamp;
|
|
228
240
|
constructor(data?: PartialMessage<ApiKeyDataStruct>);
|
|
229
241
|
static readonly runtime: typeof proto3;
|
|
230
|
-
static readonly typeName = "uniswap.
|
|
242
|
+
static readonly typeName = "uniswap.platformservice.v1.ApiKeyDataStruct";
|
|
231
243
|
static readonly fields: FieldList;
|
|
232
244
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApiKeyDataStruct;
|
|
233
245
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApiKeyDataStruct;
|
|
@@ -235,7 +247,7 @@ export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
|
|
|
235
247
|
static equals(a: ApiKeyDataStruct | PlainMessage<ApiKeyDataStruct> | undefined, b: ApiKeyDataStruct | PlainMessage<ApiKeyDataStruct> | undefined): boolean;
|
|
236
248
|
}
|
|
237
249
|
/**
|
|
238
|
-
* @generated from message uniswap.
|
|
250
|
+
* @generated from message uniswap.platformservice.v1.ListApiKeyRequest
|
|
239
251
|
*/
|
|
240
252
|
export declare class ListApiKeyRequest extends Message<ListApiKeyRequest> {
|
|
241
253
|
/**
|
|
@@ -244,7 +256,7 @@ export declare class ListApiKeyRequest extends Message<ListApiKeyRequest> {
|
|
|
244
256
|
userId: string;
|
|
245
257
|
constructor(data?: PartialMessage<ListApiKeyRequest>);
|
|
246
258
|
static readonly runtime: typeof proto3;
|
|
247
|
-
static readonly typeName = "uniswap.
|
|
259
|
+
static readonly typeName = "uniswap.platformservice.v1.ListApiKeyRequest";
|
|
248
260
|
static readonly fields: FieldList;
|
|
249
261
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApiKeyRequest;
|
|
250
262
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApiKeyRequest;
|
|
@@ -252,16 +264,16 @@ export declare class ListApiKeyRequest extends Message<ListApiKeyRequest> {
|
|
|
252
264
|
static equals(a: ListApiKeyRequest | PlainMessage<ListApiKeyRequest> | undefined, b: ListApiKeyRequest | PlainMessage<ListApiKeyRequest> | undefined): boolean;
|
|
253
265
|
}
|
|
254
266
|
/**
|
|
255
|
-
* @generated from message uniswap.
|
|
267
|
+
* @generated from message uniswap.platformservice.v1.ListApiKeyResponse
|
|
256
268
|
*/
|
|
257
269
|
export declare class ListApiKeyResponse extends Message<ListApiKeyResponse> {
|
|
258
270
|
/**
|
|
259
|
-
* @generated from field: repeated uniswap.
|
|
271
|
+
* @generated from field: repeated uniswap.platformservice.v1.ApiKeyDataStruct api_key_data_list = 1;
|
|
260
272
|
*/
|
|
261
273
|
apiKeyDataList: ApiKeyDataStruct[];
|
|
262
274
|
constructor(data?: PartialMessage<ListApiKeyResponse>);
|
|
263
275
|
static readonly runtime: typeof proto3;
|
|
264
|
-
static readonly typeName = "uniswap.
|
|
276
|
+
static readonly typeName = "uniswap.platformservice.v1.ListApiKeyResponse";
|
|
265
277
|
static readonly fields: FieldList;
|
|
266
278
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApiKeyResponse;
|
|
267
279
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApiKeyResponse;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file uniswap/
|
|
2
|
+
// @generated from file uniswap/platformservice/v1/apiKeyService.proto (package uniswap.platformservice.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
6
6
|
/**
|
|
7
7
|
* Rate limit configuration
|
|
8
8
|
*
|
|
9
|
-
* @generated from message uniswap.
|
|
9
|
+
* @generated from message uniswap.platformservice.v1.RateLimitConfig
|
|
10
10
|
*/
|
|
11
11
|
export class RateLimitConfig extends Message {
|
|
12
12
|
constructor(data) {
|
|
@@ -52,7 +52,7 @@ export class RateLimitConfig extends Message {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
RateLimitConfig.runtime = proto3;
|
|
55
|
-
RateLimitConfig.typeName = "uniswap.
|
|
55
|
+
RateLimitConfig.typeName = "uniswap.platformservice.v1.RateLimitConfig";
|
|
56
56
|
RateLimitConfig.fields = proto3.util.newFieldList(() => [
|
|
57
57
|
{ no: 1, name: "period_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
58
58
|
{ no: 2, name: "units", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
@@ -61,15 +61,15 @@ RateLimitConfig.fields = proto3.util.newFieldList(() => [
|
|
|
61
61
|
/**
|
|
62
62
|
* Introspect request/response
|
|
63
63
|
*
|
|
64
|
-
* @generated from message uniswap.
|
|
64
|
+
* @generated from message uniswap.platformservice.v1.IntrospectRequest
|
|
65
65
|
*/
|
|
66
66
|
export class IntrospectRequest extends Message {
|
|
67
67
|
constructor(data) {
|
|
68
68
|
super();
|
|
69
69
|
/**
|
|
70
|
-
* @generated from field: string
|
|
70
|
+
* @generated from field: string id = 1;
|
|
71
71
|
*/
|
|
72
|
-
this.
|
|
72
|
+
this.id = "";
|
|
73
73
|
proto3.util.initPartial(data, this);
|
|
74
74
|
}
|
|
75
75
|
static fromBinary(bytes, options) {
|
|
@@ -86,16 +86,28 @@ export class IntrospectRequest extends Message {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
IntrospectRequest.runtime = proto3;
|
|
89
|
-
IntrospectRequest.typeName = "uniswap.
|
|
89
|
+
IntrospectRequest.typeName = "uniswap.platformservice.v1.IntrospectRequest";
|
|
90
90
|
IntrospectRequest.fields = proto3.util.newFieldList(() => [
|
|
91
|
-
{ no: 1, name: "
|
|
91
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
92
92
|
]);
|
|
93
93
|
/**
|
|
94
|
-
* @generated from message uniswap.
|
|
94
|
+
* @generated from message uniswap.platformservice.v1.IntrospectResponse
|
|
95
95
|
*/
|
|
96
96
|
export class IntrospectResponse extends Message {
|
|
97
97
|
constructor(data) {
|
|
98
98
|
super();
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: string wrapped_id = 1;
|
|
101
|
+
*/
|
|
102
|
+
this.wrappedId = "";
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: bool result = 2;
|
|
105
|
+
*/
|
|
106
|
+
this.result = false;
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: string user_id = 3;
|
|
109
|
+
*/
|
|
110
|
+
this.userId = "";
|
|
99
111
|
proto3.util.initPartial(data, this);
|
|
100
112
|
}
|
|
101
113
|
static fromBinary(bytes, options) {
|
|
@@ -112,12 +124,16 @@ export class IntrospectResponse extends Message {
|
|
|
112
124
|
}
|
|
113
125
|
}
|
|
114
126
|
IntrospectResponse.runtime = proto3;
|
|
115
|
-
IntrospectResponse.typeName = "uniswap.
|
|
116
|
-
IntrospectResponse.fields = proto3.util.newFieldList(() => [
|
|
127
|
+
IntrospectResponse.typeName = "uniswap.platformservice.v1.IntrospectResponse";
|
|
128
|
+
IntrospectResponse.fields = proto3.util.newFieldList(() => [
|
|
129
|
+
{ no: 1, name: "wrapped_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
130
|
+
{ no: 2, name: "result", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
131
|
+
{ no: 3, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
132
|
+
]);
|
|
117
133
|
/**
|
|
118
134
|
* Create API Key request/response
|
|
119
135
|
*
|
|
120
|
-
* @generated from message uniswap.
|
|
136
|
+
* @generated from message uniswap.platformservice.v1.CreateApiKeyRequest
|
|
121
137
|
*/
|
|
122
138
|
export class CreateApiKeyRequest extends Message {
|
|
123
139
|
constructor(data) {
|
|
@@ -142,21 +158,21 @@ export class CreateApiKeyRequest extends Message {
|
|
|
142
158
|
}
|
|
143
159
|
}
|
|
144
160
|
CreateApiKeyRequest.runtime = proto3;
|
|
145
|
-
CreateApiKeyRequest.typeName = "uniswap.
|
|
161
|
+
CreateApiKeyRequest.typeName = "uniswap.platformservice.v1.CreateApiKeyRequest";
|
|
146
162
|
CreateApiKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
147
163
|
{ no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
148
164
|
{ no: 2, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
|
|
149
165
|
]);
|
|
150
166
|
/**
|
|
151
|
-
* @generated from message uniswap.
|
|
167
|
+
* @generated from message uniswap.platformservice.v1.CreateApiKeyResponse
|
|
152
168
|
*/
|
|
153
169
|
export class CreateApiKeyResponse extends Message {
|
|
154
170
|
constructor(data) {
|
|
155
171
|
super();
|
|
156
172
|
/**
|
|
157
|
-
* @generated from field: string
|
|
173
|
+
* @generated from field: string id = 3;
|
|
158
174
|
*/
|
|
159
|
-
this.
|
|
175
|
+
this.id = "";
|
|
160
176
|
proto3.util.initPartial(data, this);
|
|
161
177
|
}
|
|
162
178
|
static fromBinary(bytes, options) {
|
|
@@ -173,12 +189,12 @@ export class CreateApiKeyResponse extends Message {
|
|
|
173
189
|
}
|
|
174
190
|
}
|
|
175
191
|
CreateApiKeyResponse.runtime = proto3;
|
|
176
|
-
CreateApiKeyResponse.typeName = "uniswap.
|
|
192
|
+
CreateApiKeyResponse.typeName = "uniswap.platformservice.v1.CreateApiKeyResponse";
|
|
177
193
|
CreateApiKeyResponse.fields = proto3.util.newFieldList(() => [
|
|
178
|
-
{ no: 3, name: "
|
|
194
|
+
{ no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
179
195
|
]);
|
|
180
196
|
/**
|
|
181
|
-
* @generated from message uniswap.
|
|
197
|
+
* @generated from message uniswap.platformservice.v1.ModificationData
|
|
182
198
|
*/
|
|
183
199
|
export class ModificationData extends Message {
|
|
184
200
|
constructor(data) {
|
|
@@ -199,14 +215,14 @@ export class ModificationData extends Message {
|
|
|
199
215
|
}
|
|
200
216
|
}
|
|
201
217
|
ModificationData.runtime = proto3;
|
|
202
|
-
ModificationData.typeName = "uniswap.
|
|
218
|
+
ModificationData.typeName = "uniswap.platformservice.v1.ModificationData";
|
|
203
219
|
ModificationData.fields = proto3.util.newFieldList(() => [
|
|
204
220
|
{ no: 2, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
|
|
205
221
|
]);
|
|
206
222
|
/**
|
|
207
223
|
* Modify API Key request/response
|
|
208
224
|
*
|
|
209
|
-
* @generated from message uniswap.
|
|
225
|
+
* @generated from message uniswap.platformservice.v1.ModifyApiKeyRequest
|
|
210
226
|
*/
|
|
211
227
|
export class ModifyApiKeyRequest extends Message {
|
|
212
228
|
constructor(data) {
|
|
@@ -233,13 +249,13 @@ export class ModifyApiKeyRequest extends Message {
|
|
|
233
249
|
}
|
|
234
250
|
}
|
|
235
251
|
ModifyApiKeyRequest.runtime = proto3;
|
|
236
|
-
ModifyApiKeyRequest.typeName = "uniswap.
|
|
252
|
+
ModifyApiKeyRequest.typeName = "uniswap.platformservice.v1.ModifyApiKeyRequest";
|
|
237
253
|
ModifyApiKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
238
254
|
{ no: 1, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
239
255
|
{ no: 2, name: "modification_data", kind: "message", T: ModificationData },
|
|
240
256
|
]);
|
|
241
257
|
/**
|
|
242
|
-
* @generated from message uniswap.
|
|
258
|
+
* @generated from message uniswap.platformservice.v1.ModifyApiKeyResponse
|
|
243
259
|
*/
|
|
244
260
|
export class ModifyApiKeyResponse extends Message {
|
|
245
261
|
constructor(data) {
|
|
@@ -260,12 +276,12 @@ export class ModifyApiKeyResponse extends Message {
|
|
|
260
276
|
}
|
|
261
277
|
}
|
|
262
278
|
ModifyApiKeyResponse.runtime = proto3;
|
|
263
|
-
ModifyApiKeyResponse.typeName = "uniswap.
|
|
279
|
+
ModifyApiKeyResponse.typeName = "uniswap.platformservice.v1.ModifyApiKeyResponse";
|
|
264
280
|
ModifyApiKeyResponse.fields = proto3.util.newFieldList(() => []);
|
|
265
281
|
/**
|
|
266
282
|
* Delete API Key request/response
|
|
267
283
|
*
|
|
268
|
-
* @generated from message uniswap.
|
|
284
|
+
* @generated from message uniswap.platformservice.v1.DeleteApiKeyRequest
|
|
269
285
|
*/
|
|
270
286
|
export class DeleteApiKeyRequest extends Message {
|
|
271
287
|
constructor(data) {
|
|
@@ -292,12 +308,12 @@ export class DeleteApiKeyRequest extends Message {
|
|
|
292
308
|
}
|
|
293
309
|
}
|
|
294
310
|
DeleteApiKeyRequest.runtime = proto3;
|
|
295
|
-
DeleteApiKeyRequest.typeName = "uniswap.
|
|
311
|
+
DeleteApiKeyRequest.typeName = "uniswap.platformservice.v1.DeleteApiKeyRequest";
|
|
296
312
|
DeleteApiKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
297
313
|
{ no: 1, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
298
314
|
]);
|
|
299
315
|
/**
|
|
300
|
-
* @generated from message uniswap.
|
|
316
|
+
* @generated from message uniswap.platformservice.v1.DeleteApiKeyResponse
|
|
301
317
|
*/
|
|
302
318
|
export class DeleteApiKeyResponse extends Message {
|
|
303
319
|
constructor(data) {
|
|
@@ -318,10 +334,10 @@ export class DeleteApiKeyResponse extends Message {
|
|
|
318
334
|
}
|
|
319
335
|
}
|
|
320
336
|
DeleteApiKeyResponse.runtime = proto3;
|
|
321
|
-
DeleteApiKeyResponse.typeName = "uniswap.
|
|
337
|
+
DeleteApiKeyResponse.typeName = "uniswap.platformservice.v1.DeleteApiKeyResponse";
|
|
322
338
|
DeleteApiKeyResponse.fields = proto3.util.newFieldList(() => []);
|
|
323
339
|
/**
|
|
324
|
-
* @generated from message uniswap.
|
|
340
|
+
* @generated from message uniswap.platformservice.v1.ApiKeyDataStruct
|
|
325
341
|
*/
|
|
326
342
|
export class ApiKeyDataStruct extends Message {
|
|
327
343
|
constructor(data) {
|
|
@@ -350,7 +366,7 @@ export class ApiKeyDataStruct extends Message {
|
|
|
350
366
|
}
|
|
351
367
|
}
|
|
352
368
|
ApiKeyDataStruct.runtime = proto3;
|
|
353
|
-
ApiKeyDataStruct.typeName = "uniswap.
|
|
369
|
+
ApiKeyDataStruct.typeName = "uniswap.platformservice.v1.ApiKeyDataStruct";
|
|
354
370
|
ApiKeyDataStruct.fields = proto3.util.newFieldList(() => [
|
|
355
371
|
{ no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
356
372
|
{ no: 2, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -359,7 +375,7 @@ ApiKeyDataStruct.fields = proto3.util.newFieldList(() => [
|
|
|
359
375
|
{ no: 5, name: "creation_time", kind: "message", T: Timestamp },
|
|
360
376
|
]);
|
|
361
377
|
/**
|
|
362
|
-
* @generated from message uniswap.
|
|
378
|
+
* @generated from message uniswap.platformservice.v1.ListApiKeyRequest
|
|
363
379
|
*/
|
|
364
380
|
export class ListApiKeyRequest extends Message {
|
|
365
381
|
constructor(data) {
|
|
@@ -384,18 +400,18 @@ export class ListApiKeyRequest extends Message {
|
|
|
384
400
|
}
|
|
385
401
|
}
|
|
386
402
|
ListApiKeyRequest.runtime = proto3;
|
|
387
|
-
ListApiKeyRequest.typeName = "uniswap.
|
|
403
|
+
ListApiKeyRequest.typeName = "uniswap.platformservice.v1.ListApiKeyRequest";
|
|
388
404
|
ListApiKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
389
405
|
{ no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
390
406
|
]);
|
|
391
407
|
/**
|
|
392
|
-
* @generated from message uniswap.
|
|
408
|
+
* @generated from message uniswap.platformservice.v1.ListApiKeyResponse
|
|
393
409
|
*/
|
|
394
410
|
export class ListApiKeyResponse extends Message {
|
|
395
411
|
constructor(data) {
|
|
396
412
|
super();
|
|
397
413
|
/**
|
|
398
|
-
* @generated from field: repeated uniswap.
|
|
414
|
+
* @generated from field: repeated uniswap.platformservice.v1.ApiKeyDataStruct api_key_data_list = 1;
|
|
399
415
|
*/
|
|
400
416
|
this.apiKeyDataList = [];
|
|
401
417
|
proto3.util.initPartial(data, this);
|
|
@@ -414,7 +430,7 @@ export class ListApiKeyResponse extends Message {
|
|
|
414
430
|
}
|
|
415
431
|
}
|
|
416
432
|
ListApiKeyResponse.runtime = proto3;
|
|
417
|
-
ListApiKeyResponse.typeName = "uniswap.
|
|
433
|
+
ListApiKeyResponse.typeName = "uniswap.platformservice.v1.ListApiKeyResponse";
|
|
418
434
|
ListApiKeyResponse.fields = proto3.util.newFieldList(() => [
|
|
419
435
|
{ no: 1, name: "api_key_data_list", kind: "message", T: ApiKeyDataStruct, repeated: true },
|
|
420
436
|
]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
+
import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from rpc uniswap.platformservice.v1.WorkerService.UpdateLocationS3
|
|
5
|
+
*/
|
|
6
|
+
export declare const updateLocationS3: {
|
|
7
|
+
readonly localName: "updateLocationS3";
|
|
8
|
+
readonly name: "UpdateLocationS3";
|
|
9
|
+
readonly kind: MethodKind.Unary;
|
|
10
|
+
readonly I: typeof LocationUpdateS3Request;
|
|
11
|
+
readonly O: typeof LocationUpdateS3Response;
|
|
12
|
+
readonly service: {
|
|
13
|
+
readonly typeName: "uniswap.platformservice.v1.WorkerService";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file uniswap/platformservice/v1/workerService.proto (package uniswap.platformservice.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from rpc uniswap.platformservice.v1.WorkerService.UpdateLocationS3
|
|
9
|
+
*/
|
|
10
|
+
export const updateLocationS3 = {
|
|
11
|
+
localName: "updateLocationS3",
|
|
12
|
+
name: "UpdateLocationS3",
|
|
13
|
+
kind: MethodKind.Unary,
|
|
14
|
+
I: LocationUpdateS3Request,
|
|
15
|
+
O: LocationUpdateS3Response,
|
|
16
|
+
service: {
|
|
17
|
+
typeName: "uniswap.platformservice.v1.WorkerService"
|
|
18
|
+
}
|
|
19
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
|
|
2
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Service definition
|
|
5
|
+
*
|
|
6
|
+
* @generated from service uniswap.platformservice.v1.WorkerService
|
|
7
|
+
*/
|
|
8
|
+
export declare const WorkerService: {
|
|
9
|
+
readonly typeName: "uniswap.platformservice.v1.WorkerService";
|
|
10
|
+
readonly methods: {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from rpc uniswap.platformservice.v1.WorkerService.UpdateLocationS3
|
|
13
|
+
*/
|
|
14
|
+
readonly updateLocationS3: {
|
|
15
|
+
readonly name: "UpdateLocationS3";
|
|
16
|
+
readonly I: typeof LocationUpdateS3Request;
|
|
17
|
+
readonly O: typeof LocationUpdateS3Response;
|
|
18
|
+
readonly kind: MethodKind.Unary;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file uniswap/platformservice/v1/workerService.proto (package uniswap.platformservice.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
|
|
6
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* Service definition
|
|
9
|
+
*
|
|
10
|
+
* @generated from service uniswap.platformservice.v1.WorkerService
|
|
11
|
+
*/
|
|
12
|
+
export const WorkerService = {
|
|
13
|
+
typeName: "uniswap.platformservice.v1.WorkerService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc uniswap.platformservice.v1.WorkerService.UpdateLocationS3
|
|
17
|
+
*/
|
|
18
|
+
updateLocationS3: {
|
|
19
|
+
name: "UpdateLocationS3",
|
|
20
|
+
I: LocationUpdateS3Request,
|
|
21
|
+
O: LocationUpdateS3Response,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
}
|
|
25
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Location Update Request
|
|
5
|
+
*
|
|
6
|
+
* @generated from message uniswap.platformservice.v1.LocationUpdateS3Request
|
|
7
|
+
*/
|
|
8
|
+
export declare class LocationUpdateS3Request extends Message<LocationUpdateS3Request> {
|
|
9
|
+
constructor(data?: PartialMessage<LocationUpdateS3Request>);
|
|
10
|
+
static readonly runtime: typeof proto3;
|
|
11
|
+
static readonly typeName = "uniswap.platformservice.v1.LocationUpdateS3Request";
|
|
12
|
+
static readonly fields: FieldList;
|
|
13
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LocationUpdateS3Request;
|
|
14
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LocationUpdateS3Request;
|
|
15
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocationUpdateS3Request;
|
|
16
|
+
static equals(a: LocationUpdateS3Request | PlainMessage<LocationUpdateS3Request> | undefined, b: LocationUpdateS3Request | PlainMessage<LocationUpdateS3Request> | undefined): boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @generated from message uniswap.platformservice.v1.LocationUpdateS3Response
|
|
20
|
+
*/
|
|
21
|
+
export declare class LocationUpdateS3Response extends Message<LocationUpdateS3Response> {
|
|
22
|
+
constructor(data?: PartialMessage<LocationUpdateS3Response>);
|
|
23
|
+
static readonly runtime: typeof proto3;
|
|
24
|
+
static readonly typeName = "uniswap.platformservice.v1.LocationUpdateS3Response";
|
|
25
|
+
static readonly fields: FieldList;
|
|
26
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LocationUpdateS3Response;
|
|
27
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LocationUpdateS3Response;
|
|
28
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocationUpdateS3Response;
|
|
29
|
+
static equals(a: LocationUpdateS3Response | PlainMessage<LocationUpdateS3Response> | undefined, b: LocationUpdateS3Response | PlainMessage<LocationUpdateS3Response> | undefined): boolean;
|
|
30
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file uniswap/platformservice/v1/workerService.proto (package uniswap.platformservice.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Location Update Request
|
|
8
|
+
*
|
|
9
|
+
* @generated from message uniswap.platformservice.v1.LocationUpdateS3Request
|
|
10
|
+
*/
|
|
11
|
+
export class LocationUpdateS3Request extends Message {
|
|
12
|
+
constructor(data) {
|
|
13
|
+
super();
|
|
14
|
+
proto3.util.initPartial(data, this);
|
|
15
|
+
}
|
|
16
|
+
static fromBinary(bytes, options) {
|
|
17
|
+
return new LocationUpdateS3Request().fromBinary(bytes, options);
|
|
18
|
+
}
|
|
19
|
+
static fromJson(jsonValue, options) {
|
|
20
|
+
return new LocationUpdateS3Request().fromJson(jsonValue, options);
|
|
21
|
+
}
|
|
22
|
+
static fromJsonString(jsonString, options) {
|
|
23
|
+
return new LocationUpdateS3Request().fromJsonString(jsonString, options);
|
|
24
|
+
}
|
|
25
|
+
static equals(a, b) {
|
|
26
|
+
return proto3.util.equals(LocationUpdateS3Request, a, b);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
LocationUpdateS3Request.runtime = proto3;
|
|
30
|
+
LocationUpdateS3Request.typeName = "uniswap.platformservice.v1.LocationUpdateS3Request";
|
|
31
|
+
LocationUpdateS3Request.fields = proto3.util.newFieldList(() => []);
|
|
32
|
+
/**
|
|
33
|
+
* @generated from message uniswap.platformservice.v1.LocationUpdateS3Response
|
|
34
|
+
*/
|
|
35
|
+
export class LocationUpdateS3Response extends Message {
|
|
36
|
+
constructor(data) {
|
|
37
|
+
super();
|
|
38
|
+
proto3.util.initPartial(data, this);
|
|
39
|
+
}
|
|
40
|
+
static fromBinary(bytes, options) {
|
|
41
|
+
return new LocationUpdateS3Response().fromBinary(bytes, options);
|
|
42
|
+
}
|
|
43
|
+
static fromJson(jsonValue, options) {
|
|
44
|
+
return new LocationUpdateS3Response().fromJson(jsonValue, options);
|
|
45
|
+
}
|
|
46
|
+
static fromJsonString(jsonString, options) {
|
|
47
|
+
return new LocationUpdateS3Response().fromJsonString(jsonString, options);
|
|
48
|
+
}
|
|
49
|
+
static equals(a, b) {
|
|
50
|
+
return proto3.util.equals(LocationUpdateS3Response, a, b);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
LocationUpdateS3Response.runtime = proto3;
|
|
54
|
+
LocationUpdateS3Response.typeName = "uniswap.platformservice.v1.LocationUpdateS3Response";
|
|
55
|
+
LocationUpdateS3Response.fields = proto3.util.newFieldList(() => []);
|