@uniswap/client-platform-service 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uniswap/platformservice/v1/apiKeyService_pb.d.ts +5 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_pb.js +7 -2
- package/dist/uniswap/platformservice/v1/personaService-PersonaService_connectquery.d.ts +28 -0
- package/dist/uniswap/platformservice/v1/personaService-PersonaService_connectquery.js +32 -0
- package/dist/uniswap/platformservice/v1/personaService_connect.d.ts +28 -0
- package/dist/uniswap/platformservice/v1/personaService_connect.js +32 -0
- package/dist/uniswap/platformservice/v1/personaService_pb.d.ts +95 -0
- package/dist/uniswap/platformservice/v1/personaService_pb.js +157 -0
- package/dist/uniswap/platformservice/v1/sessionService-SessionService_connectquery.d.ts +92 -0
- package/dist/uniswap/platformservice/v1/sessionService-SessionService_connectquery.js +96 -0
- package/dist/uniswap/{sessionservice → platformservice}/v1/sessionService_connect.d.ts +27 -16
- package/dist/uniswap/{sessionservice → platformservice}/v1/sessionService_connect.js +28 -17
- package/dist/uniswap/{sessionservice → platformservice}/v1/sessionService_pb.d.ts +106 -50
- package/dist/uniswap/{sessionservice → platformservice}/v1/sessionService_pb.js +139 -57
- package/dist/uniswap/platformservice/v1/workerService-WorkerService_connectquery.d.ts +14 -1
- package/dist/uniswap/platformservice/v1/workerService-WorkerService_connectquery.js +14 -1
- package/dist/uniswap/platformservice/v1/workerService_connect.d.ts +10 -1
- package/dist/uniswap/platformservice/v1/workerService_connect.js +10 -1
- package/dist/uniswap/platformservice/v1/workerService_pb.d.ts +88 -0
- package/dist/uniswap/platformservice/v1/workerService_pb.js +128 -0
- package/package.json +1 -1
- package/dist/uniswap/sessionservice/v1/sessionService-SessionService_connectquery.d.ts +0 -77
- package/dist/uniswap/sessionservice/v1/sessionService-SessionService_connectquery.js +0 -81
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { ChallengeRequest, ChallengeResponse, DeleteSessionRequest, DeleteSessionResponse, InitSessionRequest, InitSessionResponse,
|
|
1
|
+
import { ChallengeRequest, ChallengeResponse, DeleteSessionRequest, DeleteSessionResponse, InitSessionRequest, InitSessionResponse, IntrospectSessionRequest, IntrospectSessionResponse, UpdateSessionRequest, UpdateSessionResponse, VerifyRequest, VerifyResponse } from "./sessionService_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
|
-
* @generated from service uniswap.
|
|
4
|
+
* @generated from service uniswap.platformservice.v1.SessionService
|
|
5
5
|
*/
|
|
6
6
|
export declare const SessionService: {
|
|
7
|
-
readonly typeName: "uniswap.
|
|
7
|
+
readonly typeName: "uniswap.platformservice.v1.SessionService";
|
|
8
8
|
readonly methods: {
|
|
9
9
|
/**
|
|
10
10
|
* typically utilized by Entry Gateway for inspecting the validity of a session
|
|
11
11
|
*
|
|
12
|
-
* @generated from rpc uniswap.
|
|
12
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.IntrospectSession
|
|
13
13
|
*/
|
|
14
|
-
readonly
|
|
15
|
-
readonly name: "
|
|
16
|
-
readonly I: typeof
|
|
17
|
-
readonly O: typeof
|
|
14
|
+
readonly introspectSession: {
|
|
15
|
+
readonly name: "IntrospectSession";
|
|
16
|
+
readonly I: typeof IntrospectSessionRequest;
|
|
17
|
+
readonly O: typeof IntrospectSessionResponse;
|
|
18
18
|
readonly kind: MethodKind.Unary;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* used by client for initializing a session
|
|
22
22
|
*
|
|
23
|
-
* @generated from rpc uniswap.
|
|
23
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.InitSession
|
|
24
24
|
*/
|
|
25
25
|
readonly initSession: {
|
|
26
26
|
readonly name: "InitSession";
|
|
@@ -31,7 +31,7 @@ export declare const SessionService: {
|
|
|
31
31
|
/**
|
|
32
32
|
* used by client to request a challenge
|
|
33
33
|
*
|
|
34
|
-
* @generated from rpc uniswap.
|
|
34
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.Challenge
|
|
35
35
|
*/
|
|
36
36
|
readonly challenge: {
|
|
37
37
|
readonly name: "Challenge";
|
|
@@ -42,18 +42,18 @@ export declare const SessionService: {
|
|
|
42
42
|
/**
|
|
43
43
|
* a universal method for all types of bot detection mechanism
|
|
44
44
|
*
|
|
45
|
-
* @generated from rpc uniswap.
|
|
45
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.Verify
|
|
46
46
|
*/
|
|
47
|
-
readonly
|
|
48
|
-
readonly name: "
|
|
49
|
-
readonly I: typeof
|
|
50
|
-
readonly O: typeof
|
|
47
|
+
readonly verify: {
|
|
48
|
+
readonly name: "Verify";
|
|
49
|
+
readonly I: typeof VerifyRequest;
|
|
50
|
+
readonly O: typeof VerifyResponse;
|
|
51
51
|
readonly kind: MethodKind.Unary;
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
54
|
* delete a certain session. For example, on app uninstall
|
|
55
55
|
*
|
|
56
|
-
* @generated from rpc uniswap.
|
|
56
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.DeleteSession
|
|
57
57
|
*/
|
|
58
58
|
readonly deleteSession: {
|
|
59
59
|
readonly name: "DeleteSession";
|
|
@@ -61,5 +61,16 @@ export declare const SessionService: {
|
|
|
61
61
|
readonly O: typeof DeleteSessionResponse;
|
|
62
62
|
readonly kind: MethodKind.Unary;
|
|
63
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* Update request. We intend this to be generic.
|
|
66
|
+
*
|
|
67
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.UpdateSession
|
|
68
|
+
*/
|
|
69
|
+
readonly updateSession: {
|
|
70
|
+
readonly name: "UpdateSession";
|
|
71
|
+
readonly I: typeof UpdateSessionRequest;
|
|
72
|
+
readonly O: typeof UpdateSessionResponse;
|
|
73
|
+
readonly kind: MethodKind.Unary;
|
|
74
|
+
};
|
|
64
75
|
};
|
|
65
76
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
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/sessionService.proto (package uniswap.platformservice.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { ChallengeRequest, ChallengeResponse, DeleteSessionRequest, DeleteSessionResponse, InitSessionRequest, InitSessionResponse,
|
|
5
|
+
import { ChallengeRequest, ChallengeResponse, DeleteSessionRequest, DeleteSessionResponse, InitSessionRequest, InitSessionResponse, IntrospectSessionRequest, IntrospectSessionResponse, UpdateSessionRequest, UpdateSessionResponse, VerifyRequest, VerifyResponse } from "./sessionService_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
|
-
* @generated from service uniswap.
|
|
8
|
+
* @generated from service uniswap.platformservice.v1.SessionService
|
|
9
9
|
*/
|
|
10
10
|
export const SessionService = {
|
|
11
|
-
typeName: "uniswap.
|
|
11
|
+
typeName: "uniswap.platformservice.v1.SessionService",
|
|
12
12
|
methods: {
|
|
13
13
|
/**
|
|
14
14
|
* typically utilized by Entry Gateway for inspecting the validity of a session
|
|
15
15
|
*
|
|
16
|
-
* @generated from rpc uniswap.
|
|
16
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.IntrospectSession
|
|
17
17
|
*/
|
|
18
|
-
|
|
19
|
-
name: "
|
|
20
|
-
I:
|
|
21
|
-
O:
|
|
18
|
+
introspectSession: {
|
|
19
|
+
name: "IntrospectSession",
|
|
20
|
+
I: IntrospectSessionRequest,
|
|
21
|
+
O: IntrospectSessionResponse,
|
|
22
22
|
kind: MethodKind.Unary,
|
|
23
23
|
},
|
|
24
24
|
/**
|
|
25
25
|
* used by client for initializing a session
|
|
26
26
|
*
|
|
27
|
-
* @generated from rpc uniswap.
|
|
27
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.InitSession
|
|
28
28
|
*/
|
|
29
29
|
initSession: {
|
|
30
30
|
name: "InitSession",
|
|
@@ -35,7 +35,7 @@ export const SessionService = {
|
|
|
35
35
|
/**
|
|
36
36
|
* used by client to request a challenge
|
|
37
37
|
*
|
|
38
|
-
* @generated from rpc uniswap.
|
|
38
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.Challenge
|
|
39
39
|
*/
|
|
40
40
|
challenge: {
|
|
41
41
|
name: "Challenge",
|
|
@@ -46,18 +46,18 @@ export const SessionService = {
|
|
|
46
46
|
/**
|
|
47
47
|
* a universal method for all types of bot detection mechanism
|
|
48
48
|
*
|
|
49
|
-
* @generated from rpc uniswap.
|
|
49
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.Verify
|
|
50
50
|
*/
|
|
51
|
-
|
|
52
|
-
name: "
|
|
53
|
-
I:
|
|
54
|
-
O:
|
|
51
|
+
verify: {
|
|
52
|
+
name: "Verify",
|
|
53
|
+
I: VerifyRequest,
|
|
54
|
+
O: VerifyResponse,
|
|
55
55
|
kind: MethodKind.Unary,
|
|
56
56
|
},
|
|
57
57
|
/**
|
|
58
58
|
* delete a certain session. For example, on app uninstall
|
|
59
59
|
*
|
|
60
|
-
* @generated from rpc uniswap.
|
|
60
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.DeleteSession
|
|
61
61
|
*/
|
|
62
62
|
deleteSession: {
|
|
63
63
|
name: "DeleteSession",
|
|
@@ -65,5 +65,16 @@ export const SessionService = {
|
|
|
65
65
|
O: DeleteSessionResponse,
|
|
66
66
|
kind: MethodKind.Unary,
|
|
67
67
|
},
|
|
68
|
+
/**
|
|
69
|
+
* Update request. We intend this to be generic.
|
|
70
|
+
*
|
|
71
|
+
* @generated from rpc uniswap.platformservice.v1.SessionService.UpdateSession
|
|
72
|
+
*/
|
|
73
|
+
updateSession: {
|
|
74
|
+
name: "UpdateSession",
|
|
75
|
+
I: UpdateSessionRequest,
|
|
76
|
+
O: UpdateSessionResponse,
|
|
77
|
+
kind: MethodKind.Unary,
|
|
78
|
+
},
|
|
68
79
|
}
|
|
69
80
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
|
-
* @generated from enum uniswap.
|
|
4
|
+
* @generated from enum uniswap.platformservice.v1.BotDetectionType
|
|
5
5
|
*/
|
|
6
6
|
export declare enum BotDetectionType {
|
|
7
7
|
/**
|
|
@@ -20,28 +20,28 @@ export declare enum BotDetectionType {
|
|
|
20
20
|
BOT_DETECTION_HASHCASH = 2
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* @generated from message uniswap.
|
|
23
|
+
* @generated from message uniswap.platformservice.v1.IntrospectSessionRequest
|
|
24
24
|
*/
|
|
25
|
-
export declare class
|
|
25
|
+
export declare class IntrospectSessionRequest extends Message<IntrospectSessionRequest> {
|
|
26
26
|
/**
|
|
27
27
|
* only Entry Gate way will call, therefore in the request body
|
|
28
28
|
*
|
|
29
29
|
* @generated from field: string session_id = 1;
|
|
30
30
|
*/
|
|
31
31
|
sessionId: string;
|
|
32
|
-
constructor(data?: PartialMessage<
|
|
32
|
+
constructor(data?: PartialMessage<IntrospectSessionRequest>);
|
|
33
33
|
static readonly runtime: typeof proto3;
|
|
34
|
-
static readonly typeName = "uniswap.
|
|
34
|
+
static readonly typeName = "uniswap.platformservice.v1.IntrospectSessionRequest";
|
|
35
35
|
static readonly fields: FieldList;
|
|
36
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
37
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
38
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
39
|
-
static equals(a:
|
|
36
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IntrospectSessionRequest;
|
|
37
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IntrospectSessionRequest;
|
|
38
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IntrospectSessionRequest;
|
|
39
|
+
static equals(a: IntrospectSessionRequest | PlainMessage<IntrospectSessionRequest> | undefined, b: IntrospectSessionRequest | PlainMessage<IntrospectSessionRequest> | undefined): boolean;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
* @generated from message uniswap.
|
|
42
|
+
* @generated from message uniswap.platformservice.v1.IntrospectSessionResponse
|
|
43
43
|
*/
|
|
44
|
-
export declare class
|
|
44
|
+
export declare class IntrospectSessionResponse extends Message<IntrospectSessionResponse> {
|
|
45
45
|
/**
|
|
46
46
|
* @generated from field: string wrapped_id = 1;
|
|
47
47
|
*/
|
|
@@ -56,22 +56,26 @@ export declare class IntrospectResponse extends Message<IntrospectResponse> {
|
|
|
56
56
|
* @generated from field: int32 score = 4;
|
|
57
57
|
*/
|
|
58
58
|
score: number;
|
|
59
|
-
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: string persona_id = 5;
|
|
61
|
+
*/
|
|
62
|
+
personaId: string;
|
|
63
|
+
constructor(data?: PartialMessage<IntrospectSessionResponse>);
|
|
60
64
|
static readonly runtime: typeof proto3;
|
|
61
|
-
static readonly typeName = "uniswap.
|
|
65
|
+
static readonly typeName = "uniswap.platformservice.v1.IntrospectSessionResponse";
|
|
62
66
|
static readonly fields: FieldList;
|
|
63
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
64
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
65
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
66
|
-
static equals(a:
|
|
67
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IntrospectSessionResponse;
|
|
68
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IntrospectSessionResponse;
|
|
69
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IntrospectSessionResponse;
|
|
70
|
+
static equals(a: IntrospectSessionResponse | PlainMessage<IntrospectSessionResponse> | undefined, b: IntrospectSessionResponse | PlainMessage<IntrospectSessionResponse> | undefined): boolean;
|
|
67
71
|
}
|
|
68
72
|
/**
|
|
69
|
-
* @generated from message uniswap.
|
|
73
|
+
* @generated from message uniswap.platformservice.v1.InitSessionRequest
|
|
70
74
|
*/
|
|
71
75
|
export declare class InitSessionRequest extends Message<InitSessionRequest> {
|
|
72
76
|
constructor(data?: PartialMessage<InitSessionRequest>);
|
|
73
77
|
static readonly runtime: typeof proto3;
|
|
74
|
-
static readonly typeName = "uniswap.
|
|
78
|
+
static readonly typeName = "uniswap.platformservice.v1.InitSessionRequest";
|
|
75
79
|
static readonly fields: FieldList;
|
|
76
80
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InitSessionRequest;
|
|
77
81
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InitSessionRequest;
|
|
@@ -79,7 +83,7 @@ export declare class InitSessionRequest extends Message<InitSessionRequest> {
|
|
|
79
83
|
static equals(a: InitSessionRequest | PlainMessage<InitSessionRequest> | undefined, b: InitSessionRequest | PlainMessage<InitSessionRequest> | undefined): boolean;
|
|
80
84
|
}
|
|
81
85
|
/**
|
|
82
|
-
* @generated from message uniswap.
|
|
86
|
+
* @generated from message uniswap.platformservice.v1.InitSessionResponse
|
|
83
87
|
*/
|
|
84
88
|
export declare class InitSessionResponse extends Message<InitSessionResponse> {
|
|
85
89
|
/**
|
|
@@ -89,20 +93,26 @@ export declare class InitSessionResponse extends Message<InitSessionResponse> {
|
|
|
89
93
|
*/
|
|
90
94
|
sessionId?: string;
|
|
91
95
|
/**
|
|
92
|
-
*
|
|
96
|
+
* for web, it is in the cookie, for mobile + extension, it is in the body
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: optional string device_id = 2;
|
|
99
|
+
*/
|
|
100
|
+
deviceId?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: bool need_challenge = 3;
|
|
93
103
|
*/
|
|
94
104
|
needChallenge: boolean;
|
|
95
105
|
/**
|
|
96
106
|
* extra information in json client needs to know to complete the bot detection mechanism
|
|
97
107
|
*
|
|
98
|
-
* @generated from field: map<string, string> extra =
|
|
108
|
+
* @generated from field: map<string, string> extra = 4;
|
|
99
109
|
*/
|
|
100
110
|
extra: {
|
|
101
111
|
[key: string]: string;
|
|
102
112
|
};
|
|
103
113
|
constructor(data?: PartialMessage<InitSessionResponse>);
|
|
104
114
|
static readonly runtime: typeof proto3;
|
|
105
|
-
static readonly typeName = "uniswap.
|
|
115
|
+
static readonly typeName = "uniswap.platformservice.v1.InitSessionResponse";
|
|
106
116
|
static readonly fields: FieldList;
|
|
107
117
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InitSessionResponse;
|
|
108
118
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InitSessionResponse;
|
|
@@ -110,12 +120,12 @@ export declare class InitSessionResponse extends Message<InitSessionResponse> {
|
|
|
110
120
|
static equals(a: InitSessionResponse | PlainMessage<InitSessionResponse> | undefined, b: InitSessionResponse | PlainMessage<InitSessionResponse> | undefined): boolean;
|
|
111
121
|
}
|
|
112
122
|
/**
|
|
113
|
-
* @generated from message uniswap.
|
|
123
|
+
* @generated from message uniswap.platformservice.v1.ChallengeRequest
|
|
114
124
|
*/
|
|
115
125
|
export declare class ChallengeRequest extends Message<ChallengeRequest> {
|
|
116
126
|
constructor(data?: PartialMessage<ChallengeRequest>);
|
|
117
127
|
static readonly runtime: typeof proto3;
|
|
118
|
-
static readonly typeName = "uniswap.
|
|
128
|
+
static readonly typeName = "uniswap.platformservice.v1.ChallengeRequest";
|
|
119
129
|
static readonly fields: FieldList;
|
|
120
130
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChallengeRequest;
|
|
121
131
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChallengeRequest;
|
|
@@ -123,22 +133,30 @@ export declare class ChallengeRequest extends Message<ChallengeRequest> {
|
|
|
123
133
|
static equals(a: ChallengeRequest | PlainMessage<ChallengeRequest> | undefined, b: ChallengeRequest | PlainMessage<ChallengeRequest> | undefined): boolean;
|
|
124
134
|
}
|
|
125
135
|
/**
|
|
126
|
-
* @generated from message uniswap.
|
|
136
|
+
* @generated from message uniswap.platformservice.v1.ChallengeResponse
|
|
127
137
|
*/
|
|
128
138
|
export declare class ChallengeResponse extends Message<ChallengeResponse> {
|
|
129
139
|
/**
|
|
130
|
-
* @generated from field:
|
|
140
|
+
* @generated from field: string challenge_id = 1;
|
|
131
141
|
*/
|
|
132
|
-
|
|
142
|
+
challengeId: string;
|
|
133
143
|
/**
|
|
134
144
|
* the bot detection mechanism client should use
|
|
135
145
|
*
|
|
136
|
-
* @generated from field: uniswap.
|
|
146
|
+
* @generated from field: uniswap.platformservice.v1.BotDetectionType bot_detection_type = 2;
|
|
137
147
|
*/
|
|
138
148
|
botDetectionType: BotDetectionType;
|
|
149
|
+
/**
|
|
150
|
+
* contains extra data for challenge data
|
|
151
|
+
*
|
|
152
|
+
* @generated from field: map<string, string> extra = 3;
|
|
153
|
+
*/
|
|
154
|
+
extra: {
|
|
155
|
+
[key: string]: string;
|
|
156
|
+
};
|
|
139
157
|
constructor(data?: PartialMessage<ChallengeResponse>);
|
|
140
158
|
static readonly runtime: typeof proto3;
|
|
141
|
-
static readonly typeName = "uniswap.
|
|
159
|
+
static readonly typeName = "uniswap.platformservice.v1.ChallengeResponse";
|
|
142
160
|
static readonly fields: FieldList;
|
|
143
161
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChallengeResponse;
|
|
144
162
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChallengeResponse;
|
|
@@ -146,44 +164,52 @@ export declare class ChallengeResponse extends Message<ChallengeResponse> {
|
|
|
146
164
|
static equals(a: ChallengeResponse | PlainMessage<ChallengeResponse> | undefined, b: ChallengeResponse | PlainMessage<ChallengeResponse> | undefined): boolean;
|
|
147
165
|
}
|
|
148
166
|
/**
|
|
149
|
-
* @generated from message uniswap.
|
|
167
|
+
* @generated from message uniswap.platformservice.v1.VerifyRequest
|
|
150
168
|
*/
|
|
151
|
-
export declare class
|
|
169
|
+
export declare class VerifyRequest extends Message<VerifyRequest> {
|
|
152
170
|
/**
|
|
153
171
|
* e.g., bot detection token or hashcash solution
|
|
154
172
|
*
|
|
155
173
|
* @generated from field: string solution = 1;
|
|
156
174
|
*/
|
|
157
175
|
solution: string;
|
|
158
|
-
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: string challenge_id = 2;
|
|
178
|
+
*/
|
|
179
|
+
challengeId: string;
|
|
180
|
+
constructor(data?: PartialMessage<VerifyRequest>);
|
|
159
181
|
static readonly runtime: typeof proto3;
|
|
160
|
-
static readonly typeName = "uniswap.
|
|
182
|
+
static readonly typeName = "uniswap.platformservice.v1.VerifyRequest";
|
|
161
183
|
static readonly fields: FieldList;
|
|
162
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
163
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
164
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
165
|
-
static equals(a:
|
|
184
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyRequest;
|
|
185
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyRequest;
|
|
186
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyRequest;
|
|
187
|
+
static equals(a: VerifyRequest | PlainMessage<VerifyRequest> | undefined, b: VerifyRequest | PlainMessage<VerifyRequest> | undefined): boolean;
|
|
166
188
|
}
|
|
167
189
|
/**
|
|
168
|
-
* @generated from message uniswap.
|
|
190
|
+
* @generated from message uniswap.platformservice.v1.VerifyResponse
|
|
169
191
|
*/
|
|
170
|
-
export declare class
|
|
171
|
-
|
|
192
|
+
export declare class VerifyResponse extends Message<VerifyResponse> {
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: bool retry = 1;
|
|
195
|
+
*/
|
|
196
|
+
retry: boolean;
|
|
197
|
+
constructor(data?: PartialMessage<VerifyResponse>);
|
|
172
198
|
static readonly runtime: typeof proto3;
|
|
173
|
-
static readonly typeName = "uniswap.
|
|
199
|
+
static readonly typeName = "uniswap.platformservice.v1.VerifyResponse";
|
|
174
200
|
static readonly fields: FieldList;
|
|
175
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
176
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
177
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
178
|
-
static equals(a:
|
|
201
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyResponse;
|
|
202
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyResponse;
|
|
203
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyResponse;
|
|
204
|
+
static equals(a: VerifyResponse | PlainMessage<VerifyResponse> | undefined, b: VerifyResponse | PlainMessage<VerifyResponse> | undefined): boolean;
|
|
179
205
|
}
|
|
180
206
|
/**
|
|
181
|
-
* @generated from message uniswap.
|
|
207
|
+
* @generated from message uniswap.platformservice.v1.DeleteSessionRequest
|
|
182
208
|
*/
|
|
183
209
|
export declare class DeleteSessionRequest extends Message<DeleteSessionRequest> {
|
|
184
210
|
constructor(data?: PartialMessage<DeleteSessionRequest>);
|
|
185
211
|
static readonly runtime: typeof proto3;
|
|
186
|
-
static readonly typeName = "uniswap.
|
|
212
|
+
static readonly typeName = "uniswap.platformservice.v1.DeleteSessionRequest";
|
|
187
213
|
static readonly fields: FieldList;
|
|
188
214
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSessionRequest;
|
|
189
215
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSessionRequest;
|
|
@@ -191,15 +217,45 @@ export declare class DeleteSessionRequest extends Message<DeleteSessionRequest>
|
|
|
191
217
|
static equals(a: DeleteSessionRequest | PlainMessage<DeleteSessionRequest> | undefined, b: DeleteSessionRequest | PlainMessage<DeleteSessionRequest> | undefined): boolean;
|
|
192
218
|
}
|
|
193
219
|
/**
|
|
194
|
-
* @generated from message uniswap.
|
|
220
|
+
* @generated from message uniswap.platformservice.v1.DeleteSessionResponse
|
|
195
221
|
*/
|
|
196
222
|
export declare class DeleteSessionResponse extends Message<DeleteSessionResponse> {
|
|
197
223
|
constructor(data?: PartialMessage<DeleteSessionResponse>);
|
|
198
224
|
static readonly runtime: typeof proto3;
|
|
199
|
-
static readonly typeName = "uniswap.
|
|
225
|
+
static readonly typeName = "uniswap.platformservice.v1.DeleteSessionResponse";
|
|
200
226
|
static readonly fields: FieldList;
|
|
201
227
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSessionResponse;
|
|
202
228
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSessionResponse;
|
|
203
229
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSessionResponse;
|
|
204
230
|
static equals(a: DeleteSessionResponse | PlainMessage<DeleteSessionResponse> | undefined, b: DeleteSessionResponse | PlainMessage<DeleteSessionResponse> | undefined): boolean;
|
|
205
231
|
}
|
|
232
|
+
/**
|
|
233
|
+
* @generated from message uniswap.platformservice.v1.UpdateSessionRequest
|
|
234
|
+
*/
|
|
235
|
+
export declare class UpdateSessionRequest extends Message<UpdateSessionRequest> {
|
|
236
|
+
/**
|
|
237
|
+
* @generated from field: string wallet_addr = 1;
|
|
238
|
+
*/
|
|
239
|
+
walletAddr: string;
|
|
240
|
+
constructor(data?: PartialMessage<UpdateSessionRequest>);
|
|
241
|
+
static readonly runtime: typeof proto3;
|
|
242
|
+
static readonly typeName = "uniswap.platformservice.v1.UpdateSessionRequest";
|
|
243
|
+
static readonly fields: FieldList;
|
|
244
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSessionRequest;
|
|
245
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSessionRequest;
|
|
246
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSessionRequest;
|
|
247
|
+
static equals(a: UpdateSessionRequest | PlainMessage<UpdateSessionRequest> | undefined, b: UpdateSessionRequest | PlainMessage<UpdateSessionRequest> | undefined): boolean;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* @generated from message uniswap.platformservice.v1.UpdateSessionResponse
|
|
251
|
+
*/
|
|
252
|
+
export declare class UpdateSessionResponse extends Message<UpdateSessionResponse> {
|
|
253
|
+
constructor(data?: PartialMessage<UpdateSessionResponse>);
|
|
254
|
+
static readonly runtime: typeof proto3;
|
|
255
|
+
static readonly typeName = "uniswap.platformservice.v1.UpdateSessionResponse";
|
|
256
|
+
static readonly fields: FieldList;
|
|
257
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSessionResponse;
|
|
258
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSessionResponse;
|
|
259
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSessionResponse;
|
|
260
|
+
static equals(a: UpdateSessionResponse | PlainMessage<UpdateSessionResponse> | undefined, b: UpdateSessionResponse | PlainMessage<UpdateSessionResponse> | undefined): boolean;
|
|
261
|
+
}
|