@uniswap/client-platform-service 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uniswap/platformservice/v1/apiKeyService-ApiKeyService_connectquery.d.ts +79 -1
- package/dist/uniswap/platformservice/v1/apiKeyService-ApiKeyService_connectquery.js +79 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_connect.d.ts +55 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_connect.js +55 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_pb.d.ts +234 -0
- package/dist/uniswap/platformservice/v1/apiKeyService_pb.js +377 -0
- package/dist/uniswap/platformservice/v1/organizationService-OrganizationService_connectquery.d.ts +40 -1
- package/dist/uniswap/platformservice/v1/organizationService-OrganizationService_connectquery.js +40 -1
- package/dist/uniswap/platformservice/v1/organizationService_connect.d.ts +28 -1
- package/dist/uniswap/platformservice/v1/organizationService_connect.js +28 -1
- package/dist/uniswap/platformservice/v1/organizationService_pb.d.ts +243 -0
- package/dist/uniswap/platformservice/v1/organizationService_pb.js +379 -0
- package/dist/uniswap/platformservice/v1/sessionService_pb.d.ts +9 -2
- package/dist/uniswap/platformservice/v1/sessionService_pb.js +4 -2
- package/dist/uniswap/platformservice/v1/userService-UserService_connectquery.d.ts +16 -1
- package/dist/uniswap/platformservice/v1/userService-UserService_connectquery.js +16 -1
- package/dist/uniswap/platformservice/v1/userService_connect.d.ts +12 -1
- package/dist/uniswap/platformservice/v1/userService_connect.js +12 -1
- package/dist/uniswap/platformservice/v1/userService_pb.d.ts +32 -0
- package/dist/uniswap/platformservice/v1/userService_pb.js +56 -0
- package/package.json +1 -1
|
@@ -132,3 +132,246 @@ export declare class GetOrganizationResponse extends Message<GetOrganizationResp
|
|
|
132
132
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationResponse;
|
|
133
133
|
static equals(a: GetOrganizationResponse | PlainMessage<GetOrganizationResponse> | undefined, b: GetOrganizationResponse | PlainMessage<GetOrganizationResponse> | undefined): boolean;
|
|
134
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* @generated from message uniswap.platformservice.v1.InternalListOrganizationsRequest
|
|
137
|
+
*/
|
|
138
|
+
export declare class InternalListOrganizationsRequest extends Message<InternalListOrganizationsRequest> {
|
|
139
|
+
/**
|
|
140
|
+
* pagination cursor (base64-encoded LastEvaluatedKey)
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: string page_token = 1;
|
|
143
|
+
*/
|
|
144
|
+
pageToken: string;
|
|
145
|
+
/**
|
|
146
|
+
* max items per page, default 100
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: int32 page_size = 2;
|
|
149
|
+
*/
|
|
150
|
+
pageSize: number;
|
|
151
|
+
/**
|
|
152
|
+
* optional partial name match
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: string name_filter = 3;
|
|
155
|
+
*/
|
|
156
|
+
nameFilter: string;
|
|
157
|
+
constructor(data?: PartialMessage<InternalListOrganizationsRequest>);
|
|
158
|
+
static readonly runtime: typeof proto3;
|
|
159
|
+
static readonly typeName = "uniswap.platformservice.v1.InternalListOrganizationsRequest";
|
|
160
|
+
static readonly fields: FieldList;
|
|
161
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalListOrganizationsRequest;
|
|
162
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalListOrganizationsRequest;
|
|
163
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalListOrganizationsRequest;
|
|
164
|
+
static equals(a: InternalListOrganizationsRequest | PlainMessage<InternalListOrganizationsRequest> | undefined, b: InternalListOrganizationsRequest | PlainMessage<InternalListOrganizationsRequest> | undefined): boolean;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message uniswap.platformservice.v1.InternalOrganizationSummary
|
|
168
|
+
*/
|
|
169
|
+
export declare class InternalOrganizationSummary extends Message<InternalOrganizationSummary> {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string org_id = 1;
|
|
172
|
+
*/
|
|
173
|
+
orgId: string;
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: string name = 2;
|
|
176
|
+
*/
|
|
177
|
+
name: string;
|
|
178
|
+
/**
|
|
179
|
+
* ISO 8601
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: string created_at = 3;
|
|
182
|
+
*/
|
|
183
|
+
createdAt: string;
|
|
184
|
+
constructor(data?: PartialMessage<InternalOrganizationSummary>);
|
|
185
|
+
static readonly runtime: typeof proto3;
|
|
186
|
+
static readonly typeName = "uniswap.platformservice.v1.InternalOrganizationSummary";
|
|
187
|
+
static readonly fields: FieldList;
|
|
188
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalOrganizationSummary;
|
|
189
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalOrganizationSummary;
|
|
190
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalOrganizationSummary;
|
|
191
|
+
static equals(a: InternalOrganizationSummary | PlainMessage<InternalOrganizationSummary> | undefined, b: InternalOrganizationSummary | PlainMessage<InternalOrganizationSummary> | undefined): boolean;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* @generated from message uniswap.platformservice.v1.InternalListOrganizationsResponse
|
|
195
|
+
*/
|
|
196
|
+
export declare class InternalListOrganizationsResponse extends Message<InternalListOrganizationsResponse> {
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: repeated uniswap.platformservice.v1.InternalOrganizationSummary organizations = 1;
|
|
199
|
+
*/
|
|
200
|
+
organizations: InternalOrganizationSummary[];
|
|
201
|
+
/**
|
|
202
|
+
* empty string means no more pages
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: string next_page_token = 2;
|
|
205
|
+
*/
|
|
206
|
+
nextPageToken: string;
|
|
207
|
+
constructor(data?: PartialMessage<InternalListOrganizationsResponse>);
|
|
208
|
+
static readonly runtime: typeof proto3;
|
|
209
|
+
static readonly typeName = "uniswap.platformservice.v1.InternalListOrganizationsResponse";
|
|
210
|
+
static readonly fields: FieldList;
|
|
211
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalListOrganizationsResponse;
|
|
212
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalListOrganizationsResponse;
|
|
213
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalListOrganizationsResponse;
|
|
214
|
+
static equals(a: InternalListOrganizationsResponse | PlainMessage<InternalListOrganizationsResponse> | undefined, b: InternalListOrganizationsResponse | PlainMessage<InternalListOrganizationsResponse> | undefined): boolean;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* @generated from message uniswap.platformservice.v1.InternalGetOrganizationRequest
|
|
218
|
+
*/
|
|
219
|
+
export declare class InternalGetOrganizationRequest extends Message<InternalGetOrganizationRequest> {
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: string org_id = 1;
|
|
222
|
+
*/
|
|
223
|
+
orgId: string;
|
|
224
|
+
constructor(data?: PartialMessage<InternalGetOrganizationRequest>);
|
|
225
|
+
static readonly runtime: typeof proto3;
|
|
226
|
+
static readonly typeName = "uniswap.platformservice.v1.InternalGetOrganizationRequest";
|
|
227
|
+
static readonly fields: FieldList;
|
|
228
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalGetOrganizationRequest;
|
|
229
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalGetOrganizationRequest;
|
|
230
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalGetOrganizationRequest;
|
|
231
|
+
static equals(a: InternalGetOrganizationRequest | PlainMessage<InternalGetOrganizationRequest> | undefined, b: InternalGetOrganizationRequest | PlainMessage<InternalGetOrganizationRequest> | undefined): boolean;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* @generated from message uniswap.platformservice.v1.InternalOrgMember
|
|
235
|
+
*/
|
|
236
|
+
export declare class InternalOrgMember extends Message<InternalOrgMember> {
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: string user_id = 1;
|
|
239
|
+
*/
|
|
240
|
+
userId: string;
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: string email = 2;
|
|
243
|
+
*/
|
|
244
|
+
email: string;
|
|
245
|
+
/**
|
|
246
|
+
* ISO 8601, from epoch ms
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: string created_at = 3;
|
|
249
|
+
*/
|
|
250
|
+
createdAt: string;
|
|
251
|
+
constructor(data?: PartialMessage<InternalOrgMember>);
|
|
252
|
+
static readonly runtime: typeof proto3;
|
|
253
|
+
static readonly typeName = "uniswap.platformservice.v1.InternalOrgMember";
|
|
254
|
+
static readonly fields: FieldList;
|
|
255
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalOrgMember;
|
|
256
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalOrgMember;
|
|
257
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalOrgMember;
|
|
258
|
+
static equals(a: InternalOrgMember | PlainMessage<InternalOrgMember> | undefined, b: InternalOrgMember | PlainMessage<InternalOrgMember> | undefined): boolean;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* @generated from message uniswap.platformservice.v1.InternalOrgApiKey
|
|
262
|
+
*/
|
|
263
|
+
export declare class InternalOrgApiKey extends Message<InternalOrgApiKey> {
|
|
264
|
+
/**
|
|
265
|
+
* @generated from field: string hashed_api_key = 1;
|
|
266
|
+
*/
|
|
267
|
+
hashedApiKey: string;
|
|
268
|
+
/**
|
|
269
|
+
* @generated from field: string name = 2;
|
|
270
|
+
*/
|
|
271
|
+
name: string;
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: bool active = 3;
|
|
274
|
+
*/
|
|
275
|
+
active: boolean;
|
|
276
|
+
/**
|
|
277
|
+
* @generated from field: int32 period_ms = 4;
|
|
278
|
+
*/
|
|
279
|
+
periodMs: number;
|
|
280
|
+
/**
|
|
281
|
+
* @generated from field: int32 units = 5;
|
|
282
|
+
*/
|
|
283
|
+
units: number;
|
|
284
|
+
/**
|
|
285
|
+
* @generated from field: int32 capacity = 6;
|
|
286
|
+
*/
|
|
287
|
+
capacity: number;
|
|
288
|
+
/**
|
|
289
|
+
* epoch ms as string
|
|
290
|
+
*
|
|
291
|
+
* @generated from field: string created_at = 7;
|
|
292
|
+
*/
|
|
293
|
+
createdAt: string;
|
|
294
|
+
/**
|
|
295
|
+
* @generated from field: string last_modified_at = 8;
|
|
296
|
+
*/
|
|
297
|
+
lastModifiedAt: string;
|
|
298
|
+
constructor(data?: PartialMessage<InternalOrgApiKey>);
|
|
299
|
+
static readonly runtime: typeof proto3;
|
|
300
|
+
static readonly typeName = "uniswap.platformservice.v1.InternalOrgApiKey";
|
|
301
|
+
static readonly fields: FieldList;
|
|
302
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalOrgApiKey;
|
|
303
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalOrgApiKey;
|
|
304
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalOrgApiKey;
|
|
305
|
+
static equals(a: InternalOrgApiKey | PlainMessage<InternalOrgApiKey> | undefined, b: InternalOrgApiKey | PlainMessage<InternalOrgApiKey> | undefined): boolean;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* @generated from message uniswap.platformservice.v1.InternalGetOrganizationResponse
|
|
309
|
+
*/
|
|
310
|
+
export declare class InternalGetOrganizationResponse extends Message<InternalGetOrganizationResponse> {
|
|
311
|
+
/**
|
|
312
|
+
* @generated from field: string org_id = 1;
|
|
313
|
+
*/
|
|
314
|
+
orgId: string;
|
|
315
|
+
/**
|
|
316
|
+
* @generated from field: string name = 2;
|
|
317
|
+
*/
|
|
318
|
+
name: string;
|
|
319
|
+
/**
|
|
320
|
+
* @generated from field: string created_at = 3;
|
|
321
|
+
*/
|
|
322
|
+
createdAt: string;
|
|
323
|
+
/**
|
|
324
|
+
* @generated from field: repeated uniswap.platformservice.v1.InternalOrgMember users = 4;
|
|
325
|
+
*/
|
|
326
|
+
users: InternalOrgMember[];
|
|
327
|
+
/**
|
|
328
|
+
* @generated from field: repeated uniswap.platformservice.v1.InternalOrgApiKey api_keys = 5;
|
|
329
|
+
*/
|
|
330
|
+
apiKeys: InternalOrgApiKey[];
|
|
331
|
+
constructor(data?: PartialMessage<InternalGetOrganizationResponse>);
|
|
332
|
+
static readonly runtime: typeof proto3;
|
|
333
|
+
static readonly typeName = "uniswap.platformservice.v1.InternalGetOrganizationResponse";
|
|
334
|
+
static readonly fields: FieldList;
|
|
335
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalGetOrganizationResponse;
|
|
336
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalGetOrganizationResponse;
|
|
337
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalGetOrganizationResponse;
|
|
338
|
+
static equals(a: InternalGetOrganizationResponse | PlainMessage<InternalGetOrganizationResponse> | undefined, b: InternalGetOrganizationResponse | PlainMessage<InternalGetOrganizationResponse> | undefined): boolean;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* @generated from message uniswap.platformservice.v1.InternalDeleteOrganizationRequest
|
|
342
|
+
*/
|
|
343
|
+
export declare class InternalDeleteOrganizationRequest extends Message<InternalDeleteOrganizationRequest> {
|
|
344
|
+
/**
|
|
345
|
+
* @generated from field: string org_id = 1;
|
|
346
|
+
*/
|
|
347
|
+
orgId: string;
|
|
348
|
+
constructor(data?: PartialMessage<InternalDeleteOrganizationRequest>);
|
|
349
|
+
static readonly runtime: typeof proto3;
|
|
350
|
+
static readonly typeName = "uniswap.platformservice.v1.InternalDeleteOrganizationRequest";
|
|
351
|
+
static readonly fields: FieldList;
|
|
352
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalDeleteOrganizationRequest;
|
|
353
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalDeleteOrganizationRequest;
|
|
354
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalDeleteOrganizationRequest;
|
|
355
|
+
static equals(a: InternalDeleteOrganizationRequest | PlainMessage<InternalDeleteOrganizationRequest> | undefined, b: InternalDeleteOrganizationRequest | PlainMessage<InternalDeleteOrganizationRequest> | undefined): boolean;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* @generated from message uniswap.platformservice.v1.InternalDeleteOrganizationResponse
|
|
359
|
+
*/
|
|
360
|
+
export declare class InternalDeleteOrganizationResponse extends Message<InternalDeleteOrganizationResponse> {
|
|
361
|
+
/**
|
|
362
|
+
* @generated from field: int32 deleted_user_count = 1;
|
|
363
|
+
*/
|
|
364
|
+
deletedUserCount: number;
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: int32 deleted_key_count = 2;
|
|
367
|
+
*/
|
|
368
|
+
deletedKeyCount: number;
|
|
369
|
+
constructor(data?: PartialMessage<InternalDeleteOrganizationResponse>);
|
|
370
|
+
static readonly runtime: typeof proto3;
|
|
371
|
+
static readonly typeName = "uniswap.platformservice.v1.InternalDeleteOrganizationResponse";
|
|
372
|
+
static readonly fields: FieldList;
|
|
373
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalDeleteOrganizationResponse;
|
|
374
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalDeleteOrganizationResponse;
|
|
375
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalDeleteOrganizationResponse;
|
|
376
|
+
static equals(a: InternalDeleteOrganizationResponse | PlainMessage<InternalDeleteOrganizationResponse> | undefined, b: InternalDeleteOrganizationResponse | PlainMessage<InternalDeleteOrganizationResponse> | undefined): boolean;
|
|
377
|
+
}
|
|
@@ -199,3 +199,382 @@ GetOrganizationResponse.fields = proto3.util.newFieldList(() => [
|
|
|
199
199
|
{ no: 5, name: "archived", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
200
200
|
{ no: 6, name: "error", kind: "message", T: OrganizationServiceError, opt: true },
|
|
201
201
|
]);
|
|
202
|
+
/**
|
|
203
|
+
* @generated from message uniswap.platformservice.v1.InternalListOrganizationsRequest
|
|
204
|
+
*/
|
|
205
|
+
export class InternalListOrganizationsRequest extends Message {
|
|
206
|
+
constructor(data) {
|
|
207
|
+
super();
|
|
208
|
+
/**
|
|
209
|
+
* pagination cursor (base64-encoded LastEvaluatedKey)
|
|
210
|
+
*
|
|
211
|
+
* @generated from field: string page_token = 1;
|
|
212
|
+
*/
|
|
213
|
+
this.pageToken = "";
|
|
214
|
+
/**
|
|
215
|
+
* max items per page, default 100
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: int32 page_size = 2;
|
|
218
|
+
*/
|
|
219
|
+
this.pageSize = 0;
|
|
220
|
+
/**
|
|
221
|
+
* optional partial name match
|
|
222
|
+
*
|
|
223
|
+
* @generated from field: string name_filter = 3;
|
|
224
|
+
*/
|
|
225
|
+
this.nameFilter = "";
|
|
226
|
+
proto3.util.initPartial(data, this);
|
|
227
|
+
}
|
|
228
|
+
static fromBinary(bytes, options) {
|
|
229
|
+
return new InternalListOrganizationsRequest().fromBinary(bytes, options);
|
|
230
|
+
}
|
|
231
|
+
static fromJson(jsonValue, options) {
|
|
232
|
+
return new InternalListOrganizationsRequest().fromJson(jsonValue, options);
|
|
233
|
+
}
|
|
234
|
+
static fromJsonString(jsonString, options) {
|
|
235
|
+
return new InternalListOrganizationsRequest().fromJsonString(jsonString, options);
|
|
236
|
+
}
|
|
237
|
+
static equals(a, b) {
|
|
238
|
+
return proto3.util.equals(InternalListOrganizationsRequest, a, b);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
InternalListOrganizationsRequest.runtime = proto3;
|
|
242
|
+
InternalListOrganizationsRequest.typeName = "uniswap.platformservice.v1.InternalListOrganizationsRequest";
|
|
243
|
+
InternalListOrganizationsRequest.fields = proto3.util.newFieldList(() => [
|
|
244
|
+
{ no: 1, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
245
|
+
{ no: 2, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
246
|
+
{ no: 3, name: "name_filter", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
247
|
+
]);
|
|
248
|
+
/**
|
|
249
|
+
* @generated from message uniswap.platformservice.v1.InternalOrganizationSummary
|
|
250
|
+
*/
|
|
251
|
+
export class InternalOrganizationSummary extends Message {
|
|
252
|
+
constructor(data) {
|
|
253
|
+
super();
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: string org_id = 1;
|
|
256
|
+
*/
|
|
257
|
+
this.orgId = "";
|
|
258
|
+
/**
|
|
259
|
+
* @generated from field: string name = 2;
|
|
260
|
+
*/
|
|
261
|
+
this.name = "";
|
|
262
|
+
/**
|
|
263
|
+
* ISO 8601
|
|
264
|
+
*
|
|
265
|
+
* @generated from field: string created_at = 3;
|
|
266
|
+
*/
|
|
267
|
+
this.createdAt = "";
|
|
268
|
+
proto3.util.initPartial(data, this);
|
|
269
|
+
}
|
|
270
|
+
static fromBinary(bytes, options) {
|
|
271
|
+
return new InternalOrganizationSummary().fromBinary(bytes, options);
|
|
272
|
+
}
|
|
273
|
+
static fromJson(jsonValue, options) {
|
|
274
|
+
return new InternalOrganizationSummary().fromJson(jsonValue, options);
|
|
275
|
+
}
|
|
276
|
+
static fromJsonString(jsonString, options) {
|
|
277
|
+
return new InternalOrganizationSummary().fromJsonString(jsonString, options);
|
|
278
|
+
}
|
|
279
|
+
static equals(a, b) {
|
|
280
|
+
return proto3.util.equals(InternalOrganizationSummary, a, b);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
InternalOrganizationSummary.runtime = proto3;
|
|
284
|
+
InternalOrganizationSummary.typeName = "uniswap.platformservice.v1.InternalOrganizationSummary";
|
|
285
|
+
InternalOrganizationSummary.fields = proto3.util.newFieldList(() => [
|
|
286
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
287
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
288
|
+
{ no: 3, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
289
|
+
]);
|
|
290
|
+
/**
|
|
291
|
+
* @generated from message uniswap.platformservice.v1.InternalListOrganizationsResponse
|
|
292
|
+
*/
|
|
293
|
+
export class InternalListOrganizationsResponse extends Message {
|
|
294
|
+
constructor(data) {
|
|
295
|
+
super();
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: repeated uniswap.platformservice.v1.InternalOrganizationSummary organizations = 1;
|
|
298
|
+
*/
|
|
299
|
+
this.organizations = [];
|
|
300
|
+
/**
|
|
301
|
+
* empty string means no more pages
|
|
302
|
+
*
|
|
303
|
+
* @generated from field: string next_page_token = 2;
|
|
304
|
+
*/
|
|
305
|
+
this.nextPageToken = "";
|
|
306
|
+
proto3.util.initPartial(data, this);
|
|
307
|
+
}
|
|
308
|
+
static fromBinary(bytes, options) {
|
|
309
|
+
return new InternalListOrganizationsResponse().fromBinary(bytes, options);
|
|
310
|
+
}
|
|
311
|
+
static fromJson(jsonValue, options) {
|
|
312
|
+
return new InternalListOrganizationsResponse().fromJson(jsonValue, options);
|
|
313
|
+
}
|
|
314
|
+
static fromJsonString(jsonString, options) {
|
|
315
|
+
return new InternalListOrganizationsResponse().fromJsonString(jsonString, options);
|
|
316
|
+
}
|
|
317
|
+
static equals(a, b) {
|
|
318
|
+
return proto3.util.equals(InternalListOrganizationsResponse, a, b);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
InternalListOrganizationsResponse.runtime = proto3;
|
|
322
|
+
InternalListOrganizationsResponse.typeName = "uniswap.platformservice.v1.InternalListOrganizationsResponse";
|
|
323
|
+
InternalListOrganizationsResponse.fields = proto3.util.newFieldList(() => [
|
|
324
|
+
{ no: 1, name: "organizations", kind: "message", T: InternalOrganizationSummary, repeated: true },
|
|
325
|
+
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
326
|
+
]);
|
|
327
|
+
/**
|
|
328
|
+
* @generated from message uniswap.platformservice.v1.InternalGetOrganizationRequest
|
|
329
|
+
*/
|
|
330
|
+
export class InternalGetOrganizationRequest extends Message {
|
|
331
|
+
constructor(data) {
|
|
332
|
+
super();
|
|
333
|
+
/**
|
|
334
|
+
* @generated from field: string org_id = 1;
|
|
335
|
+
*/
|
|
336
|
+
this.orgId = "";
|
|
337
|
+
proto3.util.initPartial(data, this);
|
|
338
|
+
}
|
|
339
|
+
static fromBinary(bytes, options) {
|
|
340
|
+
return new InternalGetOrganizationRequest().fromBinary(bytes, options);
|
|
341
|
+
}
|
|
342
|
+
static fromJson(jsonValue, options) {
|
|
343
|
+
return new InternalGetOrganizationRequest().fromJson(jsonValue, options);
|
|
344
|
+
}
|
|
345
|
+
static fromJsonString(jsonString, options) {
|
|
346
|
+
return new InternalGetOrganizationRequest().fromJsonString(jsonString, options);
|
|
347
|
+
}
|
|
348
|
+
static equals(a, b) {
|
|
349
|
+
return proto3.util.equals(InternalGetOrganizationRequest, a, b);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
InternalGetOrganizationRequest.runtime = proto3;
|
|
353
|
+
InternalGetOrganizationRequest.typeName = "uniswap.platformservice.v1.InternalGetOrganizationRequest";
|
|
354
|
+
InternalGetOrganizationRequest.fields = proto3.util.newFieldList(() => [
|
|
355
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
356
|
+
]);
|
|
357
|
+
/**
|
|
358
|
+
* @generated from message uniswap.platformservice.v1.InternalOrgMember
|
|
359
|
+
*/
|
|
360
|
+
export class InternalOrgMember extends Message {
|
|
361
|
+
constructor(data) {
|
|
362
|
+
super();
|
|
363
|
+
/**
|
|
364
|
+
* @generated from field: string user_id = 1;
|
|
365
|
+
*/
|
|
366
|
+
this.userId = "";
|
|
367
|
+
/**
|
|
368
|
+
* @generated from field: string email = 2;
|
|
369
|
+
*/
|
|
370
|
+
this.email = "";
|
|
371
|
+
/**
|
|
372
|
+
* ISO 8601, from epoch ms
|
|
373
|
+
*
|
|
374
|
+
* @generated from field: string created_at = 3;
|
|
375
|
+
*/
|
|
376
|
+
this.createdAt = "";
|
|
377
|
+
proto3.util.initPartial(data, this);
|
|
378
|
+
}
|
|
379
|
+
static fromBinary(bytes, options) {
|
|
380
|
+
return new InternalOrgMember().fromBinary(bytes, options);
|
|
381
|
+
}
|
|
382
|
+
static fromJson(jsonValue, options) {
|
|
383
|
+
return new InternalOrgMember().fromJson(jsonValue, options);
|
|
384
|
+
}
|
|
385
|
+
static fromJsonString(jsonString, options) {
|
|
386
|
+
return new InternalOrgMember().fromJsonString(jsonString, options);
|
|
387
|
+
}
|
|
388
|
+
static equals(a, b) {
|
|
389
|
+
return proto3.util.equals(InternalOrgMember, a, b);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
InternalOrgMember.runtime = proto3;
|
|
393
|
+
InternalOrgMember.typeName = "uniswap.platformservice.v1.InternalOrgMember";
|
|
394
|
+
InternalOrgMember.fields = proto3.util.newFieldList(() => [
|
|
395
|
+
{ no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
396
|
+
{ no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
397
|
+
{ no: 3, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
398
|
+
]);
|
|
399
|
+
/**
|
|
400
|
+
* @generated from message uniswap.platformservice.v1.InternalOrgApiKey
|
|
401
|
+
*/
|
|
402
|
+
export class InternalOrgApiKey extends Message {
|
|
403
|
+
constructor(data) {
|
|
404
|
+
super();
|
|
405
|
+
/**
|
|
406
|
+
* @generated from field: string hashed_api_key = 1;
|
|
407
|
+
*/
|
|
408
|
+
this.hashedApiKey = "";
|
|
409
|
+
/**
|
|
410
|
+
* @generated from field: string name = 2;
|
|
411
|
+
*/
|
|
412
|
+
this.name = "";
|
|
413
|
+
/**
|
|
414
|
+
* @generated from field: bool active = 3;
|
|
415
|
+
*/
|
|
416
|
+
this.active = false;
|
|
417
|
+
/**
|
|
418
|
+
* @generated from field: int32 period_ms = 4;
|
|
419
|
+
*/
|
|
420
|
+
this.periodMs = 0;
|
|
421
|
+
/**
|
|
422
|
+
* @generated from field: int32 units = 5;
|
|
423
|
+
*/
|
|
424
|
+
this.units = 0;
|
|
425
|
+
/**
|
|
426
|
+
* @generated from field: int32 capacity = 6;
|
|
427
|
+
*/
|
|
428
|
+
this.capacity = 0;
|
|
429
|
+
/**
|
|
430
|
+
* epoch ms as string
|
|
431
|
+
*
|
|
432
|
+
* @generated from field: string created_at = 7;
|
|
433
|
+
*/
|
|
434
|
+
this.createdAt = "";
|
|
435
|
+
/**
|
|
436
|
+
* @generated from field: string last_modified_at = 8;
|
|
437
|
+
*/
|
|
438
|
+
this.lastModifiedAt = "";
|
|
439
|
+
proto3.util.initPartial(data, this);
|
|
440
|
+
}
|
|
441
|
+
static fromBinary(bytes, options) {
|
|
442
|
+
return new InternalOrgApiKey().fromBinary(bytes, options);
|
|
443
|
+
}
|
|
444
|
+
static fromJson(jsonValue, options) {
|
|
445
|
+
return new InternalOrgApiKey().fromJson(jsonValue, options);
|
|
446
|
+
}
|
|
447
|
+
static fromJsonString(jsonString, options) {
|
|
448
|
+
return new InternalOrgApiKey().fromJsonString(jsonString, options);
|
|
449
|
+
}
|
|
450
|
+
static equals(a, b) {
|
|
451
|
+
return proto3.util.equals(InternalOrgApiKey, a, b);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
InternalOrgApiKey.runtime = proto3;
|
|
455
|
+
InternalOrgApiKey.typeName = "uniswap.platformservice.v1.InternalOrgApiKey";
|
|
456
|
+
InternalOrgApiKey.fields = proto3.util.newFieldList(() => [
|
|
457
|
+
{ no: 1, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
458
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
459
|
+
{ no: 3, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
460
|
+
{ no: 4, name: "period_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
461
|
+
{ no: 5, name: "units", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
462
|
+
{ no: 6, name: "capacity", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
463
|
+
{ no: 7, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
464
|
+
{ no: 8, name: "last_modified_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
465
|
+
]);
|
|
466
|
+
/**
|
|
467
|
+
* @generated from message uniswap.platformservice.v1.InternalGetOrganizationResponse
|
|
468
|
+
*/
|
|
469
|
+
export class InternalGetOrganizationResponse extends Message {
|
|
470
|
+
constructor(data) {
|
|
471
|
+
super();
|
|
472
|
+
/**
|
|
473
|
+
* @generated from field: string org_id = 1;
|
|
474
|
+
*/
|
|
475
|
+
this.orgId = "";
|
|
476
|
+
/**
|
|
477
|
+
* @generated from field: string name = 2;
|
|
478
|
+
*/
|
|
479
|
+
this.name = "";
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: string created_at = 3;
|
|
482
|
+
*/
|
|
483
|
+
this.createdAt = "";
|
|
484
|
+
/**
|
|
485
|
+
* @generated from field: repeated uniswap.platformservice.v1.InternalOrgMember users = 4;
|
|
486
|
+
*/
|
|
487
|
+
this.users = [];
|
|
488
|
+
/**
|
|
489
|
+
* @generated from field: repeated uniswap.platformservice.v1.InternalOrgApiKey api_keys = 5;
|
|
490
|
+
*/
|
|
491
|
+
this.apiKeys = [];
|
|
492
|
+
proto3.util.initPartial(data, this);
|
|
493
|
+
}
|
|
494
|
+
static fromBinary(bytes, options) {
|
|
495
|
+
return new InternalGetOrganizationResponse().fromBinary(bytes, options);
|
|
496
|
+
}
|
|
497
|
+
static fromJson(jsonValue, options) {
|
|
498
|
+
return new InternalGetOrganizationResponse().fromJson(jsonValue, options);
|
|
499
|
+
}
|
|
500
|
+
static fromJsonString(jsonString, options) {
|
|
501
|
+
return new InternalGetOrganizationResponse().fromJsonString(jsonString, options);
|
|
502
|
+
}
|
|
503
|
+
static equals(a, b) {
|
|
504
|
+
return proto3.util.equals(InternalGetOrganizationResponse, a, b);
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
InternalGetOrganizationResponse.runtime = proto3;
|
|
508
|
+
InternalGetOrganizationResponse.typeName = "uniswap.platformservice.v1.InternalGetOrganizationResponse";
|
|
509
|
+
InternalGetOrganizationResponse.fields = proto3.util.newFieldList(() => [
|
|
510
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
511
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
512
|
+
{ no: 3, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
513
|
+
{ no: 4, name: "users", kind: "message", T: InternalOrgMember, repeated: true },
|
|
514
|
+
{ no: 5, name: "api_keys", kind: "message", T: InternalOrgApiKey, repeated: true },
|
|
515
|
+
]);
|
|
516
|
+
/**
|
|
517
|
+
* @generated from message uniswap.platformservice.v1.InternalDeleteOrganizationRequest
|
|
518
|
+
*/
|
|
519
|
+
export class InternalDeleteOrganizationRequest extends Message {
|
|
520
|
+
constructor(data) {
|
|
521
|
+
super();
|
|
522
|
+
/**
|
|
523
|
+
* @generated from field: string org_id = 1;
|
|
524
|
+
*/
|
|
525
|
+
this.orgId = "";
|
|
526
|
+
proto3.util.initPartial(data, this);
|
|
527
|
+
}
|
|
528
|
+
static fromBinary(bytes, options) {
|
|
529
|
+
return new InternalDeleteOrganizationRequest().fromBinary(bytes, options);
|
|
530
|
+
}
|
|
531
|
+
static fromJson(jsonValue, options) {
|
|
532
|
+
return new InternalDeleteOrganizationRequest().fromJson(jsonValue, options);
|
|
533
|
+
}
|
|
534
|
+
static fromJsonString(jsonString, options) {
|
|
535
|
+
return new InternalDeleteOrganizationRequest().fromJsonString(jsonString, options);
|
|
536
|
+
}
|
|
537
|
+
static equals(a, b) {
|
|
538
|
+
return proto3.util.equals(InternalDeleteOrganizationRequest, a, b);
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
InternalDeleteOrganizationRequest.runtime = proto3;
|
|
542
|
+
InternalDeleteOrganizationRequest.typeName = "uniswap.platformservice.v1.InternalDeleteOrganizationRequest";
|
|
543
|
+
InternalDeleteOrganizationRequest.fields = proto3.util.newFieldList(() => [
|
|
544
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
545
|
+
]);
|
|
546
|
+
/**
|
|
547
|
+
* @generated from message uniswap.platformservice.v1.InternalDeleteOrganizationResponse
|
|
548
|
+
*/
|
|
549
|
+
export class InternalDeleteOrganizationResponse extends Message {
|
|
550
|
+
constructor(data) {
|
|
551
|
+
super();
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: int32 deleted_user_count = 1;
|
|
554
|
+
*/
|
|
555
|
+
this.deletedUserCount = 0;
|
|
556
|
+
/**
|
|
557
|
+
* @generated from field: int32 deleted_key_count = 2;
|
|
558
|
+
*/
|
|
559
|
+
this.deletedKeyCount = 0;
|
|
560
|
+
proto3.util.initPartial(data, this);
|
|
561
|
+
}
|
|
562
|
+
static fromBinary(bytes, options) {
|
|
563
|
+
return new InternalDeleteOrganizationResponse().fromBinary(bytes, options);
|
|
564
|
+
}
|
|
565
|
+
static fromJson(jsonValue, options) {
|
|
566
|
+
return new InternalDeleteOrganizationResponse().fromJson(jsonValue, options);
|
|
567
|
+
}
|
|
568
|
+
static fromJsonString(jsonString, options) {
|
|
569
|
+
return new InternalDeleteOrganizationResponse().fromJsonString(jsonString, options);
|
|
570
|
+
}
|
|
571
|
+
static equals(a, b) {
|
|
572
|
+
return proto3.util.equals(InternalDeleteOrganizationResponse, a, b);
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
InternalDeleteOrganizationResponse.runtime = proto3;
|
|
576
|
+
InternalDeleteOrganizationResponse.typeName = "uniswap.platformservice.v1.InternalDeleteOrganizationResponse";
|
|
577
|
+
InternalDeleteOrganizationResponse.fields = proto3.util.newFieldList(() => [
|
|
578
|
+
{ no: 1, name: "deleted_user_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
579
|
+
{ no: 2, name: "deleted_key_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
580
|
+
]);
|
|
@@ -121,13 +121,20 @@ export declare class InitSessionResponse extends Message<InitSessionResponse> {
|
|
|
121
121
|
*/
|
|
122
122
|
needChallenge: boolean;
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
124
|
+
* DEPRECATED: Use uniswap_identifier instead
|
|
125
125
|
*
|
|
126
|
-
* @generated from field: map<string, string> extra = 4;
|
|
126
|
+
* @generated from field: map<string, string> extra = 4 [deprecated = true];
|
|
127
|
+
* @deprecated
|
|
127
128
|
*/
|
|
128
129
|
extra: {
|
|
129
130
|
[key: string]: string;
|
|
130
131
|
};
|
|
132
|
+
/**
|
|
133
|
+
* The persona ID associated with this session (previously in extra["uniswapIdentifier"])
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: optional string uniswap_identifier = 5;
|
|
136
|
+
*/
|
|
137
|
+
uniswapIdentifier?: string;
|
|
131
138
|
constructor(data?: PartialMessage<InitSessionResponse>);
|
|
132
139
|
static readonly runtime: typeof proto3;
|
|
133
140
|
static readonly typeName = "uniswap.platformservice.v1.InitSessionResponse";
|
|
@@ -165,9 +165,10 @@ export class InitSessionResponse extends Message {
|
|
|
165
165
|
*/
|
|
166
166
|
this.needChallenge = false;
|
|
167
167
|
/**
|
|
168
|
-
*
|
|
168
|
+
* DEPRECATED: Use uniswap_identifier instead
|
|
169
169
|
*
|
|
170
|
-
* @generated from field: map<string, string> extra = 4;
|
|
170
|
+
* @generated from field: map<string, string> extra = 4 [deprecated = true];
|
|
171
|
+
* @deprecated
|
|
171
172
|
*/
|
|
172
173
|
this.extra = {};
|
|
173
174
|
proto3.util.initPartial(data, this);
|
|
@@ -192,6 +193,7 @@ InitSessionResponse.fields = proto3.util.newFieldList(() => [
|
|
|
192
193
|
{ no: 2, name: "device_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
193
194
|
{ no: 3, name: "need_challenge", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
194
195
|
{ no: 4, name: "extra", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
|
|
196
|
+
{ no: 5, name: "uniswap_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
195
197
|
]);
|
|
196
198
|
/**
|
|
197
199
|
* @generated from message uniswap.platformservice.v1.GetChallengeTypesRequest
|