@uniswap/client-platform-service 0.0.16 → 0.0.18
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 +66 -1
- package/dist/uniswap/platformservice/v1/apiKeyService-ApiKeyService_connectquery.js +66 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_connect.d.ts +46 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_connect.js +46 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_pb.d.ts +195 -0
- package/dist/uniswap/platformservice/v1/apiKeyService_pb.js +308 -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/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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateUserRequest, CreateUserResponse, DeleteUserRequest, DeleteUserResponse, GetUserByEmailRequest, GetUserByEmailResponse, GetUserRequest, GetUserResponse, ModifyUserRequest, ModifyUserResponse } from "./userService_pb.js";
|
|
1
|
+
import { CreateUserRequest, CreateUserResponse, DeleteUserRequest, DeleteUserResponse, GetUserByEmailRequest, GetUserByEmailResponse, GetUserRequest, GetUserResponse, InternalDeleteUserRequest, InternalDeleteUserResponse, ModifyUserRequest, ModifyUserResponse } from "./userService_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service uniswap.platformservice.v1.UserService
|
|
@@ -57,5 +57,16 @@ export declare const UserService: {
|
|
|
57
57
|
readonly O: typeof GetUserByEmailResponse;
|
|
58
58
|
readonly kind: MethodKind.Unary;
|
|
59
59
|
};
|
|
60
|
+
/**
|
|
61
|
+
* Internal admin endpoint - delete any user by user_id (VPN-restricted)
|
|
62
|
+
*
|
|
63
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.InternalDeleteUser
|
|
64
|
+
*/
|
|
65
|
+
readonly internalDeleteUser: {
|
|
66
|
+
readonly name: "InternalDeleteUser";
|
|
67
|
+
readonly I: typeof InternalDeleteUserRequest;
|
|
68
|
+
readonly O: typeof InternalDeleteUserResponse;
|
|
69
|
+
readonly kind: MethodKind.Unary;
|
|
70
|
+
};
|
|
60
71
|
};
|
|
61
72
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file uniswap/platformservice/v1/userService.proto (package uniswap.platformservice.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { CreateUserRequest, CreateUserResponse, DeleteUserRequest, DeleteUserResponse, GetUserByEmailRequest, GetUserByEmailResponse, GetUserRequest, GetUserResponse, ModifyUserRequest, ModifyUserResponse } from "./userService_pb.js";
|
|
5
|
+
import { CreateUserRequest, CreateUserResponse, DeleteUserRequest, DeleteUserResponse, GetUserByEmailRequest, GetUserByEmailResponse, GetUserRequest, GetUserResponse, InternalDeleteUserRequest, InternalDeleteUserResponse, ModifyUserRequest, ModifyUserResponse } from "./userService_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service uniswap.platformservice.v1.UserService
|
|
@@ -61,5 +61,16 @@ export const UserService = {
|
|
|
61
61
|
O: GetUserByEmailResponse,
|
|
62
62
|
kind: MethodKind.Unary,
|
|
63
63
|
},
|
|
64
|
+
/**
|
|
65
|
+
* Internal admin endpoint - delete any user by user_id (VPN-restricted)
|
|
66
|
+
*
|
|
67
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.InternalDeleteUser
|
|
68
|
+
*/
|
|
69
|
+
internalDeleteUser: {
|
|
70
|
+
name: "InternalDeleteUser",
|
|
71
|
+
I: InternalDeleteUserRequest,
|
|
72
|
+
O: InternalDeleteUserResponse,
|
|
73
|
+
kind: MethodKind.Unary,
|
|
74
|
+
},
|
|
64
75
|
}
|
|
65
76
|
};
|
|
@@ -316,3 +316,35 @@ export declare class GetUserByEmailResponse extends Message<GetUserByEmailRespon
|
|
|
316
316
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetUserByEmailResponse;
|
|
317
317
|
static equals(a: GetUserByEmailResponse | PlainMessage<GetUserByEmailResponse> | undefined, b: GetUserByEmailResponse | PlainMessage<GetUserByEmailResponse> | undefined): boolean;
|
|
318
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
* Internal Delete User request/response (VPN-restricted admin endpoint)
|
|
321
|
+
*
|
|
322
|
+
* @generated from message uniswap.platformservice.v1.InternalDeleteUserRequest
|
|
323
|
+
*/
|
|
324
|
+
export declare class InternalDeleteUserRequest extends Message<InternalDeleteUserRequest> {
|
|
325
|
+
/**
|
|
326
|
+
* @generated from field: string user_id = 1;
|
|
327
|
+
*/
|
|
328
|
+
userId: string;
|
|
329
|
+
constructor(data?: PartialMessage<InternalDeleteUserRequest>);
|
|
330
|
+
static readonly runtime: typeof proto3;
|
|
331
|
+
static readonly typeName = "uniswap.platformservice.v1.InternalDeleteUserRequest";
|
|
332
|
+
static readonly fields: FieldList;
|
|
333
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalDeleteUserRequest;
|
|
334
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalDeleteUserRequest;
|
|
335
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalDeleteUserRequest;
|
|
336
|
+
static equals(a: InternalDeleteUserRequest | PlainMessage<InternalDeleteUserRequest> | undefined, b: InternalDeleteUserRequest | PlainMessage<InternalDeleteUserRequest> | undefined): boolean;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* @generated from message uniswap.platformservice.v1.InternalDeleteUserResponse
|
|
340
|
+
*/
|
|
341
|
+
export declare class InternalDeleteUserResponse extends Message<InternalDeleteUserResponse> {
|
|
342
|
+
constructor(data?: PartialMessage<InternalDeleteUserResponse>);
|
|
343
|
+
static readonly runtime: typeof proto3;
|
|
344
|
+
static readonly typeName = "uniswap.platformservice.v1.InternalDeleteUserResponse";
|
|
345
|
+
static readonly fields: FieldList;
|
|
346
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalDeleteUserResponse;
|
|
347
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalDeleteUserResponse;
|
|
348
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalDeleteUserResponse;
|
|
349
|
+
static equals(a: InternalDeleteUserResponse | PlainMessage<InternalDeleteUserResponse> | undefined, b: InternalDeleteUserResponse | PlainMessage<InternalDeleteUserResponse> | undefined): boolean;
|
|
350
|
+
}
|
|
@@ -445,3 +445,59 @@ GetUserByEmailResponse.fields = proto3.util.newFieldList(() => [
|
|
|
445
445
|
{ no: 1, name: "user", kind: "message", T: User },
|
|
446
446
|
{ no: 2, name: "error", kind: "message", T: UserServiceError, opt: true },
|
|
447
447
|
]);
|
|
448
|
+
/**
|
|
449
|
+
* Internal Delete User request/response (VPN-restricted admin endpoint)
|
|
450
|
+
*
|
|
451
|
+
* @generated from message uniswap.platformservice.v1.InternalDeleteUserRequest
|
|
452
|
+
*/
|
|
453
|
+
export class InternalDeleteUserRequest extends Message {
|
|
454
|
+
constructor(data) {
|
|
455
|
+
super();
|
|
456
|
+
/**
|
|
457
|
+
* @generated from field: string user_id = 1;
|
|
458
|
+
*/
|
|
459
|
+
this.userId = "";
|
|
460
|
+
proto3.util.initPartial(data, this);
|
|
461
|
+
}
|
|
462
|
+
static fromBinary(bytes, options) {
|
|
463
|
+
return new InternalDeleteUserRequest().fromBinary(bytes, options);
|
|
464
|
+
}
|
|
465
|
+
static fromJson(jsonValue, options) {
|
|
466
|
+
return new InternalDeleteUserRequest().fromJson(jsonValue, options);
|
|
467
|
+
}
|
|
468
|
+
static fromJsonString(jsonString, options) {
|
|
469
|
+
return new InternalDeleteUserRequest().fromJsonString(jsonString, options);
|
|
470
|
+
}
|
|
471
|
+
static equals(a, b) {
|
|
472
|
+
return proto3.util.equals(InternalDeleteUserRequest, a, b);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
InternalDeleteUserRequest.runtime = proto3;
|
|
476
|
+
InternalDeleteUserRequest.typeName = "uniswap.platformservice.v1.InternalDeleteUserRequest";
|
|
477
|
+
InternalDeleteUserRequest.fields = proto3.util.newFieldList(() => [
|
|
478
|
+
{ no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
479
|
+
]);
|
|
480
|
+
/**
|
|
481
|
+
* @generated from message uniswap.platformservice.v1.InternalDeleteUserResponse
|
|
482
|
+
*/
|
|
483
|
+
export class InternalDeleteUserResponse extends Message {
|
|
484
|
+
constructor(data) {
|
|
485
|
+
super();
|
|
486
|
+
proto3.util.initPartial(data, this);
|
|
487
|
+
}
|
|
488
|
+
static fromBinary(bytes, options) {
|
|
489
|
+
return new InternalDeleteUserResponse().fromBinary(bytes, options);
|
|
490
|
+
}
|
|
491
|
+
static fromJson(jsonValue, options) {
|
|
492
|
+
return new InternalDeleteUserResponse().fromJson(jsonValue, options);
|
|
493
|
+
}
|
|
494
|
+
static fromJsonString(jsonString, options) {
|
|
495
|
+
return new InternalDeleteUserResponse().fromJsonString(jsonString, options);
|
|
496
|
+
}
|
|
497
|
+
static equals(a, b) {
|
|
498
|
+
return proto3.util.equals(InternalDeleteUserResponse, a, b);
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
InternalDeleteUserResponse.runtime = proto3;
|
|
502
|
+
InternalDeleteUserResponse.typeName = "uniswap.platformservice.v1.InternalDeleteUserResponse";
|
|
503
|
+
InternalDeleteUserResponse.fields = proto3.util.newFieldList(() => []);
|