@uniswap/client-platform-service 0.0.4 → 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/platformservice/v1/sessionService_connect.d.ts +76 -0
- package/dist/uniswap/platformservice/v1/sessionService_connect.js +80 -0
- package/dist/uniswap/platformservice/v1/sessionService_pb.d.ts +261 -0
- package/dist/uniswap/platformservice/v1/sessionService_pb.js +410 -0
- 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
|
@@ -53,3 +53,131 @@ export class LocationUpdateS3Response extends Message {
|
|
|
53
53
|
LocationUpdateS3Response.runtime = proto3;
|
|
54
54
|
LocationUpdateS3Response.typeName = "uniswap.platformservice.v1.LocationUpdateS3Response";
|
|
55
55
|
LocationUpdateS3Response.fields = proto3.util.newFieldList(() => []);
|
|
56
|
+
/**
|
|
57
|
+
* Rate limit configuration
|
|
58
|
+
*
|
|
59
|
+
* @generated from message uniswap.platformservice.v1.WorkerRateLimitConfig
|
|
60
|
+
*/
|
|
61
|
+
export class WorkerRateLimitConfig extends Message {
|
|
62
|
+
constructor(data) {
|
|
63
|
+
super();
|
|
64
|
+
/**
|
|
65
|
+
* period_ms defines the time window in milliseconds for the rate limit
|
|
66
|
+
* For example: 60000 means a 1-minute window
|
|
67
|
+
* If you want to limit "X requests per minute", set this to 60000
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: int32 period_ms = 1;
|
|
70
|
+
*/
|
|
71
|
+
this.periodMs = 0;
|
|
72
|
+
/**
|
|
73
|
+
* units defines the number of requests allowed per time period
|
|
74
|
+
* For example: if period_ms=60000 and units=100, this means
|
|
75
|
+
* the user can make 100 requests every minute
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: int32 units = 2;
|
|
78
|
+
*/
|
|
79
|
+
this.units = 0;
|
|
80
|
+
/**
|
|
81
|
+
* capacity defines the maximum number of requests that can be made at once
|
|
82
|
+
* This acts as a hard limit on burst requests
|
|
83
|
+
* For example: if capacity=200, even if the user hasn't made requests for a while,
|
|
84
|
+
* they can't make more than 200 requests at once
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: int32 capacity = 3;
|
|
87
|
+
*/
|
|
88
|
+
this.capacity = 0;
|
|
89
|
+
proto3.util.initPartial(data, this);
|
|
90
|
+
}
|
|
91
|
+
static fromBinary(bytes, options) {
|
|
92
|
+
return new WorkerRateLimitConfig().fromBinary(bytes, options);
|
|
93
|
+
}
|
|
94
|
+
static fromJson(jsonValue, options) {
|
|
95
|
+
return new WorkerRateLimitConfig().fromJson(jsonValue, options);
|
|
96
|
+
}
|
|
97
|
+
static fromJsonString(jsonString, options) {
|
|
98
|
+
return new WorkerRateLimitConfig().fromJsonString(jsonString, options);
|
|
99
|
+
}
|
|
100
|
+
static equals(a, b) {
|
|
101
|
+
return proto3.util.equals(WorkerRateLimitConfig, a, b);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
WorkerRateLimitConfig.runtime = proto3;
|
|
105
|
+
WorkerRateLimitConfig.typeName = "uniswap.platformservice.v1.WorkerRateLimitConfig";
|
|
106
|
+
WorkerRateLimitConfig.fields = proto3.util.newFieldList(() => [
|
|
107
|
+
{ no: 1, name: "period_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
108
|
+
{ no: 2, name: "units", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
109
|
+
{ no: 3, name: "capacity", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
110
|
+
]);
|
|
111
|
+
/**
|
|
112
|
+
* Create API Key request/response
|
|
113
|
+
*
|
|
114
|
+
* @generated from message uniswap.platformservice.v1.MigrateExistingApikeyRequest
|
|
115
|
+
*/
|
|
116
|
+
export class MigrateExistingApikeyRequest extends Message {
|
|
117
|
+
constructor(data) {
|
|
118
|
+
super();
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: string api_key = 1;
|
|
121
|
+
*/
|
|
122
|
+
this.apiKey = "";
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: string name = 2;
|
|
125
|
+
*/
|
|
126
|
+
this.name = "";
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: string creation_date = 3;
|
|
129
|
+
*/
|
|
130
|
+
this.creationDate = "";
|
|
131
|
+
proto3.util.initPartial(data, this);
|
|
132
|
+
}
|
|
133
|
+
static fromBinary(bytes, options) {
|
|
134
|
+
return new MigrateExistingApikeyRequest().fromBinary(bytes, options);
|
|
135
|
+
}
|
|
136
|
+
static fromJson(jsonValue, options) {
|
|
137
|
+
return new MigrateExistingApikeyRequest().fromJson(jsonValue, options);
|
|
138
|
+
}
|
|
139
|
+
static fromJsonString(jsonString, options) {
|
|
140
|
+
return new MigrateExistingApikeyRequest().fromJsonString(jsonString, options);
|
|
141
|
+
}
|
|
142
|
+
static equals(a, b) {
|
|
143
|
+
return proto3.util.equals(MigrateExistingApikeyRequest, a, b);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
MigrateExistingApikeyRequest.runtime = proto3;
|
|
147
|
+
MigrateExistingApikeyRequest.typeName = "uniswap.platformservice.v1.MigrateExistingApikeyRequest";
|
|
148
|
+
MigrateExistingApikeyRequest.fields = proto3.util.newFieldList(() => [
|
|
149
|
+
{ no: 1, name: "api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
150
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
151
|
+
{ no: 3, name: "creation_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
152
|
+
{ no: 4, name: "rate_limit_config", kind: "message", T: WorkerRateLimitConfig },
|
|
153
|
+
]);
|
|
154
|
+
/**
|
|
155
|
+
* @generated from message uniswap.platformservice.v1.MigrateExistingApikeyResponse
|
|
156
|
+
*/
|
|
157
|
+
export class MigrateExistingApikeyResponse extends Message {
|
|
158
|
+
constructor(data) {
|
|
159
|
+
super();
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: string hashed_api_key = 1;
|
|
162
|
+
*/
|
|
163
|
+
this.hashedApiKey = "";
|
|
164
|
+
proto3.util.initPartial(data, this);
|
|
165
|
+
}
|
|
166
|
+
static fromBinary(bytes, options) {
|
|
167
|
+
return new MigrateExistingApikeyResponse().fromBinary(bytes, options);
|
|
168
|
+
}
|
|
169
|
+
static fromJson(jsonValue, options) {
|
|
170
|
+
return new MigrateExistingApikeyResponse().fromJson(jsonValue, options);
|
|
171
|
+
}
|
|
172
|
+
static fromJsonString(jsonString, options) {
|
|
173
|
+
return new MigrateExistingApikeyResponse().fromJsonString(jsonString, options);
|
|
174
|
+
}
|
|
175
|
+
static equals(a, b) {
|
|
176
|
+
return proto3.util.equals(MigrateExistingApikeyResponse, a, b);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
MigrateExistingApikeyResponse.runtime = proto3;
|
|
180
|
+
MigrateExistingApikeyResponse.typeName = "uniswap.platformservice.v1.MigrateExistingApikeyResponse";
|
|
181
|
+
MigrateExistingApikeyResponse.fields = proto3.util.newFieldList(() => [
|
|
182
|
+
{ no: 1, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
183
|
+
]);
|