@uniswap/client-platform-service 0.0.1 → 0.0.2
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 +35 -35
- package/dist/uniswap/{apiKeyService → platformservice}/v1/apiKeyService_pb.js +34 -34
- 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,12 @@ 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
66
|
constructor(data?: PartialMessage<IntrospectResponse>);
|
|
67
67
|
static readonly runtime: typeof proto3;
|
|
68
|
-
static readonly typeName = "uniswap.
|
|
68
|
+
static readonly typeName = "uniswap.platformservice.v1.IntrospectResponse";
|
|
69
69
|
static readonly fields: FieldList;
|
|
70
70
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IntrospectResponse;
|
|
71
71
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IntrospectResponse;
|
|
@@ -75,7 +75,7 @@ export declare class IntrospectResponse extends Message<IntrospectResponse> {
|
|
|
75
75
|
/**
|
|
76
76
|
* Create API Key request/response
|
|
77
77
|
*
|
|
78
|
-
* @generated from message uniswap.
|
|
78
|
+
* @generated from message uniswap.platformservice.v1.CreateApiKeyRequest
|
|
79
79
|
*/
|
|
80
80
|
export declare class CreateApiKeyRequest extends Message<CreateApiKeyRequest> {
|
|
81
81
|
/**
|
|
@@ -83,12 +83,12 @@ export declare class CreateApiKeyRequest extends Message<CreateApiKeyRequest> {
|
|
|
83
83
|
*/
|
|
84
84
|
userId: string;
|
|
85
85
|
/**
|
|
86
|
-
* @generated from field: optional uniswap.
|
|
86
|
+
* @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 2;
|
|
87
87
|
*/
|
|
88
88
|
rateLimitConfig?: RateLimitConfig;
|
|
89
89
|
constructor(data?: PartialMessage<CreateApiKeyRequest>);
|
|
90
90
|
static readonly runtime: typeof proto3;
|
|
91
|
-
static readonly typeName = "uniswap.
|
|
91
|
+
static readonly typeName = "uniswap.platformservice.v1.CreateApiKeyRequest";
|
|
92
92
|
static readonly fields: FieldList;
|
|
93
93
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateApiKeyRequest;
|
|
94
94
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateApiKeyRequest;
|
|
@@ -96,16 +96,16 @@ export declare class CreateApiKeyRequest extends Message<CreateApiKeyRequest> {
|
|
|
96
96
|
static equals(a: CreateApiKeyRequest | PlainMessage<CreateApiKeyRequest> | undefined, b: CreateApiKeyRequest | PlainMessage<CreateApiKeyRequest> | undefined): boolean;
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
|
-
* @generated from message uniswap.
|
|
99
|
+
* @generated from message uniswap.platformservice.v1.CreateApiKeyResponse
|
|
100
100
|
*/
|
|
101
101
|
export declare class CreateApiKeyResponse extends Message<CreateApiKeyResponse> {
|
|
102
102
|
/**
|
|
103
|
-
* @generated from field: string
|
|
103
|
+
* @generated from field: string id = 3;
|
|
104
104
|
*/
|
|
105
|
-
|
|
105
|
+
id: string;
|
|
106
106
|
constructor(data?: PartialMessage<CreateApiKeyResponse>);
|
|
107
107
|
static readonly runtime: typeof proto3;
|
|
108
|
-
static readonly typeName = "uniswap.
|
|
108
|
+
static readonly typeName = "uniswap.platformservice.v1.CreateApiKeyResponse";
|
|
109
109
|
static readonly fields: FieldList;
|
|
110
110
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateApiKeyResponse;
|
|
111
111
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateApiKeyResponse;
|
|
@@ -113,16 +113,16 @@ export declare class CreateApiKeyResponse extends Message<CreateApiKeyResponse>
|
|
|
113
113
|
static equals(a: CreateApiKeyResponse | PlainMessage<CreateApiKeyResponse> | undefined, b: CreateApiKeyResponse | PlainMessage<CreateApiKeyResponse> | undefined): boolean;
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
|
-
* @generated from message uniswap.
|
|
116
|
+
* @generated from message uniswap.platformservice.v1.ModificationData
|
|
117
117
|
*/
|
|
118
118
|
export declare class ModificationData extends Message<ModificationData> {
|
|
119
119
|
/**
|
|
120
|
-
* @generated from field: optional uniswap.
|
|
120
|
+
* @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 2;
|
|
121
121
|
*/
|
|
122
122
|
rateLimitConfig?: RateLimitConfig;
|
|
123
123
|
constructor(data?: PartialMessage<ModificationData>);
|
|
124
124
|
static readonly runtime: typeof proto3;
|
|
125
|
-
static readonly typeName = "uniswap.
|
|
125
|
+
static readonly typeName = "uniswap.platformservice.v1.ModificationData";
|
|
126
126
|
static readonly fields: FieldList;
|
|
127
127
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModificationData;
|
|
128
128
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModificationData;
|
|
@@ -132,7 +132,7 @@ export declare class ModificationData extends Message<ModificationData> {
|
|
|
132
132
|
/**
|
|
133
133
|
* Modify API Key request/response
|
|
134
134
|
*
|
|
135
|
-
* @generated from message uniswap.
|
|
135
|
+
* @generated from message uniswap.platformservice.v1.ModifyApiKeyRequest
|
|
136
136
|
*/
|
|
137
137
|
export declare class ModifyApiKeyRequest extends Message<ModifyApiKeyRequest> {
|
|
138
138
|
/**
|
|
@@ -142,12 +142,12 @@ export declare class ModifyApiKeyRequest extends Message<ModifyApiKeyRequest> {
|
|
|
142
142
|
*/
|
|
143
143
|
identifier: string;
|
|
144
144
|
/**
|
|
145
|
-
* @generated from field: uniswap.
|
|
145
|
+
* @generated from field: uniswap.platformservice.v1.ModificationData modification_data = 2;
|
|
146
146
|
*/
|
|
147
147
|
modificationData?: ModificationData;
|
|
148
148
|
constructor(data?: PartialMessage<ModifyApiKeyRequest>);
|
|
149
149
|
static readonly runtime: typeof proto3;
|
|
150
|
-
static readonly typeName = "uniswap.
|
|
150
|
+
static readonly typeName = "uniswap.platformservice.v1.ModifyApiKeyRequest";
|
|
151
151
|
static readonly fields: FieldList;
|
|
152
152
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModifyApiKeyRequest;
|
|
153
153
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModifyApiKeyRequest;
|
|
@@ -155,12 +155,12 @@ export declare class ModifyApiKeyRequest extends Message<ModifyApiKeyRequest> {
|
|
|
155
155
|
static equals(a: ModifyApiKeyRequest | PlainMessage<ModifyApiKeyRequest> | undefined, b: ModifyApiKeyRequest | PlainMessage<ModifyApiKeyRequest> | undefined): boolean;
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
* @generated from message uniswap.
|
|
158
|
+
* @generated from message uniswap.platformservice.v1.ModifyApiKeyResponse
|
|
159
159
|
*/
|
|
160
160
|
export declare class ModifyApiKeyResponse extends Message<ModifyApiKeyResponse> {
|
|
161
161
|
constructor(data?: PartialMessage<ModifyApiKeyResponse>);
|
|
162
162
|
static readonly runtime: typeof proto3;
|
|
163
|
-
static readonly typeName = "uniswap.
|
|
163
|
+
static readonly typeName = "uniswap.platformservice.v1.ModifyApiKeyResponse";
|
|
164
164
|
static readonly fields: FieldList;
|
|
165
165
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModifyApiKeyResponse;
|
|
166
166
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModifyApiKeyResponse;
|
|
@@ -170,7 +170,7 @@ export declare class ModifyApiKeyResponse extends Message<ModifyApiKeyResponse>
|
|
|
170
170
|
/**
|
|
171
171
|
* Delete API Key request/response
|
|
172
172
|
*
|
|
173
|
-
* @generated from message uniswap.
|
|
173
|
+
* @generated from message uniswap.platformservice.v1.DeleteApiKeyRequest
|
|
174
174
|
*/
|
|
175
175
|
export declare class DeleteApiKeyRequest extends Message<DeleteApiKeyRequest> {
|
|
176
176
|
/**
|
|
@@ -181,7 +181,7 @@ export declare class DeleteApiKeyRequest extends Message<DeleteApiKeyRequest> {
|
|
|
181
181
|
identifier: string;
|
|
182
182
|
constructor(data?: PartialMessage<DeleteApiKeyRequest>);
|
|
183
183
|
static readonly runtime: typeof proto3;
|
|
184
|
-
static readonly typeName = "uniswap.
|
|
184
|
+
static readonly typeName = "uniswap.platformservice.v1.DeleteApiKeyRequest";
|
|
185
185
|
static readonly fields: FieldList;
|
|
186
186
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteApiKeyRequest;
|
|
187
187
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteApiKeyRequest;
|
|
@@ -189,12 +189,12 @@ export declare class DeleteApiKeyRequest extends Message<DeleteApiKeyRequest> {
|
|
|
189
189
|
static equals(a: DeleteApiKeyRequest | PlainMessage<DeleteApiKeyRequest> | undefined, b: DeleteApiKeyRequest | PlainMessage<DeleteApiKeyRequest> | undefined): boolean;
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
|
-
* @generated from message uniswap.
|
|
192
|
+
* @generated from message uniswap.platformservice.v1.DeleteApiKeyResponse
|
|
193
193
|
*/
|
|
194
194
|
export declare class DeleteApiKeyResponse extends Message<DeleteApiKeyResponse> {
|
|
195
195
|
constructor(data?: PartialMessage<DeleteApiKeyResponse>);
|
|
196
196
|
static readonly runtime: typeof proto3;
|
|
197
|
-
static readonly typeName = "uniswap.
|
|
197
|
+
static readonly typeName = "uniswap.platformservice.v1.DeleteApiKeyResponse";
|
|
198
198
|
static readonly fields: FieldList;
|
|
199
199
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteApiKeyResponse;
|
|
200
200
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteApiKeyResponse;
|
|
@@ -202,7 +202,7 @@ export declare class DeleteApiKeyResponse extends Message<DeleteApiKeyResponse>
|
|
|
202
202
|
static equals(a: DeleteApiKeyResponse | PlainMessage<DeleteApiKeyResponse> | undefined, b: DeleteApiKeyResponse | PlainMessage<DeleteApiKeyResponse> | undefined): boolean;
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
|
-
* @generated from message uniswap.
|
|
205
|
+
* @generated from message uniswap.platformservice.v1.ApiKeyDataStruct
|
|
206
206
|
*/
|
|
207
207
|
export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
|
|
208
208
|
/**
|
|
@@ -214,7 +214,7 @@ export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
|
|
|
214
214
|
*/
|
|
215
215
|
hashedApiKey: string;
|
|
216
216
|
/**
|
|
217
|
-
* @generated from field: uniswap.
|
|
217
|
+
* @generated from field: uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 3;
|
|
218
218
|
*/
|
|
219
219
|
rateLimitConfig?: RateLimitConfig;
|
|
220
220
|
/**
|
|
@@ -227,7 +227,7 @@ export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
|
|
|
227
227
|
creationTime?: Timestamp;
|
|
228
228
|
constructor(data?: PartialMessage<ApiKeyDataStruct>);
|
|
229
229
|
static readonly runtime: typeof proto3;
|
|
230
|
-
static readonly typeName = "uniswap.
|
|
230
|
+
static readonly typeName = "uniswap.platformservice.v1.ApiKeyDataStruct";
|
|
231
231
|
static readonly fields: FieldList;
|
|
232
232
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApiKeyDataStruct;
|
|
233
233
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApiKeyDataStruct;
|
|
@@ -235,7 +235,7 @@ export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
|
|
|
235
235
|
static equals(a: ApiKeyDataStruct | PlainMessage<ApiKeyDataStruct> | undefined, b: ApiKeyDataStruct | PlainMessage<ApiKeyDataStruct> | undefined): boolean;
|
|
236
236
|
}
|
|
237
237
|
/**
|
|
238
|
-
* @generated from message uniswap.
|
|
238
|
+
* @generated from message uniswap.platformservice.v1.ListApiKeyRequest
|
|
239
239
|
*/
|
|
240
240
|
export declare class ListApiKeyRequest extends Message<ListApiKeyRequest> {
|
|
241
241
|
/**
|
|
@@ -244,7 +244,7 @@ export declare class ListApiKeyRequest extends Message<ListApiKeyRequest> {
|
|
|
244
244
|
userId: string;
|
|
245
245
|
constructor(data?: PartialMessage<ListApiKeyRequest>);
|
|
246
246
|
static readonly runtime: typeof proto3;
|
|
247
|
-
static readonly typeName = "uniswap.
|
|
247
|
+
static readonly typeName = "uniswap.platformservice.v1.ListApiKeyRequest";
|
|
248
248
|
static readonly fields: FieldList;
|
|
249
249
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApiKeyRequest;
|
|
250
250
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApiKeyRequest;
|
|
@@ -252,16 +252,16 @@ export declare class ListApiKeyRequest extends Message<ListApiKeyRequest> {
|
|
|
252
252
|
static equals(a: ListApiKeyRequest | PlainMessage<ListApiKeyRequest> | undefined, b: ListApiKeyRequest | PlainMessage<ListApiKeyRequest> | undefined): boolean;
|
|
253
253
|
}
|
|
254
254
|
/**
|
|
255
|
-
* @generated from message uniswap.
|
|
255
|
+
* @generated from message uniswap.platformservice.v1.ListApiKeyResponse
|
|
256
256
|
*/
|
|
257
257
|
export declare class ListApiKeyResponse extends Message<ListApiKeyResponse> {
|
|
258
258
|
/**
|
|
259
|
-
* @generated from field: repeated uniswap.
|
|
259
|
+
* @generated from field: repeated uniswap.platformservice.v1.ApiKeyDataStruct api_key_data_list = 1;
|
|
260
260
|
*/
|
|
261
261
|
apiKeyDataList: ApiKeyDataStruct[];
|
|
262
262
|
constructor(data?: PartialMessage<ListApiKeyResponse>);
|
|
263
263
|
static readonly runtime: typeof proto3;
|
|
264
|
-
static readonly typeName = "uniswap.
|
|
264
|
+
static readonly typeName = "uniswap.platformservice.v1.ListApiKeyResponse";
|
|
265
265
|
static readonly fields: FieldList;
|
|
266
266
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApiKeyResponse;
|
|
267
267
|
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,12 +86,12 @@ 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) {
|
|
@@ -112,12 +112,12 @@ export class IntrospectResponse extends Message {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
IntrospectResponse.runtime = proto3;
|
|
115
|
-
IntrospectResponse.typeName = "uniswap.
|
|
115
|
+
IntrospectResponse.typeName = "uniswap.platformservice.v1.IntrospectResponse";
|
|
116
116
|
IntrospectResponse.fields = proto3.util.newFieldList(() => []);
|
|
117
117
|
/**
|
|
118
118
|
* Create API Key request/response
|
|
119
119
|
*
|
|
120
|
-
* @generated from message uniswap.
|
|
120
|
+
* @generated from message uniswap.platformservice.v1.CreateApiKeyRequest
|
|
121
121
|
*/
|
|
122
122
|
export class CreateApiKeyRequest extends Message {
|
|
123
123
|
constructor(data) {
|
|
@@ -142,21 +142,21 @@ export class CreateApiKeyRequest extends Message {
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
CreateApiKeyRequest.runtime = proto3;
|
|
145
|
-
CreateApiKeyRequest.typeName = "uniswap.
|
|
145
|
+
CreateApiKeyRequest.typeName = "uniswap.platformservice.v1.CreateApiKeyRequest";
|
|
146
146
|
CreateApiKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
147
147
|
{ no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
148
148
|
{ no: 2, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
|
|
149
149
|
]);
|
|
150
150
|
/**
|
|
151
|
-
* @generated from message uniswap.
|
|
151
|
+
* @generated from message uniswap.platformservice.v1.CreateApiKeyResponse
|
|
152
152
|
*/
|
|
153
153
|
export class CreateApiKeyResponse extends Message {
|
|
154
154
|
constructor(data) {
|
|
155
155
|
super();
|
|
156
156
|
/**
|
|
157
|
-
* @generated from field: string
|
|
157
|
+
* @generated from field: string id = 3;
|
|
158
158
|
*/
|
|
159
|
-
this.
|
|
159
|
+
this.id = "";
|
|
160
160
|
proto3.util.initPartial(data, this);
|
|
161
161
|
}
|
|
162
162
|
static fromBinary(bytes, options) {
|
|
@@ -173,12 +173,12 @@ export class CreateApiKeyResponse extends Message {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
CreateApiKeyResponse.runtime = proto3;
|
|
176
|
-
CreateApiKeyResponse.typeName = "uniswap.
|
|
176
|
+
CreateApiKeyResponse.typeName = "uniswap.platformservice.v1.CreateApiKeyResponse";
|
|
177
177
|
CreateApiKeyResponse.fields = proto3.util.newFieldList(() => [
|
|
178
|
-
{ no: 3, name: "
|
|
178
|
+
{ no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
179
179
|
]);
|
|
180
180
|
/**
|
|
181
|
-
* @generated from message uniswap.
|
|
181
|
+
* @generated from message uniswap.platformservice.v1.ModificationData
|
|
182
182
|
*/
|
|
183
183
|
export class ModificationData extends Message {
|
|
184
184
|
constructor(data) {
|
|
@@ -199,14 +199,14 @@ export class ModificationData extends Message {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
ModificationData.runtime = proto3;
|
|
202
|
-
ModificationData.typeName = "uniswap.
|
|
202
|
+
ModificationData.typeName = "uniswap.platformservice.v1.ModificationData";
|
|
203
203
|
ModificationData.fields = proto3.util.newFieldList(() => [
|
|
204
204
|
{ no: 2, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
|
|
205
205
|
]);
|
|
206
206
|
/**
|
|
207
207
|
* Modify API Key request/response
|
|
208
208
|
*
|
|
209
|
-
* @generated from message uniswap.
|
|
209
|
+
* @generated from message uniswap.platformservice.v1.ModifyApiKeyRequest
|
|
210
210
|
*/
|
|
211
211
|
export class ModifyApiKeyRequest extends Message {
|
|
212
212
|
constructor(data) {
|
|
@@ -233,13 +233,13 @@ export class ModifyApiKeyRequest extends Message {
|
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
ModifyApiKeyRequest.runtime = proto3;
|
|
236
|
-
ModifyApiKeyRequest.typeName = "uniswap.
|
|
236
|
+
ModifyApiKeyRequest.typeName = "uniswap.platformservice.v1.ModifyApiKeyRequest";
|
|
237
237
|
ModifyApiKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
238
238
|
{ no: 1, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
239
239
|
{ no: 2, name: "modification_data", kind: "message", T: ModificationData },
|
|
240
240
|
]);
|
|
241
241
|
/**
|
|
242
|
-
* @generated from message uniswap.
|
|
242
|
+
* @generated from message uniswap.platformservice.v1.ModifyApiKeyResponse
|
|
243
243
|
*/
|
|
244
244
|
export class ModifyApiKeyResponse extends Message {
|
|
245
245
|
constructor(data) {
|
|
@@ -260,12 +260,12 @@ export class ModifyApiKeyResponse extends Message {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
ModifyApiKeyResponse.runtime = proto3;
|
|
263
|
-
ModifyApiKeyResponse.typeName = "uniswap.
|
|
263
|
+
ModifyApiKeyResponse.typeName = "uniswap.platformservice.v1.ModifyApiKeyResponse";
|
|
264
264
|
ModifyApiKeyResponse.fields = proto3.util.newFieldList(() => []);
|
|
265
265
|
/**
|
|
266
266
|
* Delete API Key request/response
|
|
267
267
|
*
|
|
268
|
-
* @generated from message uniswap.
|
|
268
|
+
* @generated from message uniswap.platformservice.v1.DeleteApiKeyRequest
|
|
269
269
|
*/
|
|
270
270
|
export class DeleteApiKeyRequest extends Message {
|
|
271
271
|
constructor(data) {
|
|
@@ -292,12 +292,12 @@ export class DeleteApiKeyRequest extends Message {
|
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
DeleteApiKeyRequest.runtime = proto3;
|
|
295
|
-
DeleteApiKeyRequest.typeName = "uniswap.
|
|
295
|
+
DeleteApiKeyRequest.typeName = "uniswap.platformservice.v1.DeleteApiKeyRequest";
|
|
296
296
|
DeleteApiKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
297
297
|
{ no: 1, name: "identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
298
298
|
]);
|
|
299
299
|
/**
|
|
300
|
-
* @generated from message uniswap.
|
|
300
|
+
* @generated from message uniswap.platformservice.v1.DeleteApiKeyResponse
|
|
301
301
|
*/
|
|
302
302
|
export class DeleteApiKeyResponse extends Message {
|
|
303
303
|
constructor(data) {
|
|
@@ -318,10 +318,10 @@ export class DeleteApiKeyResponse extends Message {
|
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
DeleteApiKeyResponse.runtime = proto3;
|
|
321
|
-
DeleteApiKeyResponse.typeName = "uniswap.
|
|
321
|
+
DeleteApiKeyResponse.typeName = "uniswap.platformservice.v1.DeleteApiKeyResponse";
|
|
322
322
|
DeleteApiKeyResponse.fields = proto3.util.newFieldList(() => []);
|
|
323
323
|
/**
|
|
324
|
-
* @generated from message uniswap.
|
|
324
|
+
* @generated from message uniswap.platformservice.v1.ApiKeyDataStruct
|
|
325
325
|
*/
|
|
326
326
|
export class ApiKeyDataStruct extends Message {
|
|
327
327
|
constructor(data) {
|
|
@@ -350,7 +350,7 @@ export class ApiKeyDataStruct extends Message {
|
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
ApiKeyDataStruct.runtime = proto3;
|
|
353
|
-
ApiKeyDataStruct.typeName = "uniswap.
|
|
353
|
+
ApiKeyDataStruct.typeName = "uniswap.platformservice.v1.ApiKeyDataStruct";
|
|
354
354
|
ApiKeyDataStruct.fields = proto3.util.newFieldList(() => [
|
|
355
355
|
{ no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
356
356
|
{ no: 2, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -359,7 +359,7 @@ ApiKeyDataStruct.fields = proto3.util.newFieldList(() => [
|
|
|
359
359
|
{ no: 5, name: "creation_time", kind: "message", T: Timestamp },
|
|
360
360
|
]);
|
|
361
361
|
/**
|
|
362
|
-
* @generated from message uniswap.
|
|
362
|
+
* @generated from message uniswap.platformservice.v1.ListApiKeyRequest
|
|
363
363
|
*/
|
|
364
364
|
export class ListApiKeyRequest extends Message {
|
|
365
365
|
constructor(data) {
|
|
@@ -384,18 +384,18 @@ export class ListApiKeyRequest extends Message {
|
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
ListApiKeyRequest.runtime = proto3;
|
|
387
|
-
ListApiKeyRequest.typeName = "uniswap.
|
|
387
|
+
ListApiKeyRequest.typeName = "uniswap.platformservice.v1.ListApiKeyRequest";
|
|
388
388
|
ListApiKeyRequest.fields = proto3.util.newFieldList(() => [
|
|
389
389
|
{ no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
390
390
|
]);
|
|
391
391
|
/**
|
|
392
|
-
* @generated from message uniswap.
|
|
392
|
+
* @generated from message uniswap.platformservice.v1.ListApiKeyResponse
|
|
393
393
|
*/
|
|
394
394
|
export class ListApiKeyResponse extends Message {
|
|
395
395
|
constructor(data) {
|
|
396
396
|
super();
|
|
397
397
|
/**
|
|
398
|
-
* @generated from field: repeated uniswap.
|
|
398
|
+
* @generated from field: repeated uniswap.platformservice.v1.ApiKeyDataStruct api_key_data_list = 1;
|
|
399
399
|
*/
|
|
400
400
|
this.apiKeyDataList = [];
|
|
401
401
|
proto3.util.initPartial(data, this);
|
|
@@ -414,7 +414,7 @@ export class ListApiKeyResponse extends Message {
|
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
ListApiKeyResponse.runtime = proto3;
|
|
417
|
-
ListApiKeyResponse.typeName = "uniswap.
|
|
417
|
+
ListApiKeyResponse.typeName = "uniswap.platformservice.v1.ListApiKeyResponse";
|
|
418
418
|
ListApiKeyResponse.fields = proto3.util.newFieldList(() => [
|
|
419
419
|
{ no: 1, name: "api_key_data_list", kind: "message", T: ApiKeyDataStruct, repeated: true },
|
|
420
420
|
]);
|
|
@@ -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(() => []);
|