You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.14.0-SNAPSHOT-260427121806",
|
||||
"version": "1.14.0-SNAPSHOT-260427135632",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
20
user.ts
20
user.ts
@@ -1193,9 +1193,9 @@ export interface ResolveAPIKeyRequest {
|
||||
*/
|
||||
export interface ResolveAPIKeyResult {
|
||||
/**
|
||||
* @generated from protobuf field: string UserMail = 1
|
||||
* @generated from protobuf field: string UserID = 1
|
||||
*/
|
||||
UserMail: string;
|
||||
UserID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api.TwoFAValue
|
||||
@@ -6172,12 +6172,12 @@ export const ResolveAPIKeyRequest = new ResolveAPIKeyRequest$Type();
|
||||
class ResolveAPIKeyResult$Type extends MessageType<ResolveAPIKeyResult> {
|
||||
constructor() {
|
||||
super("api.ResolveAPIKeyResult", [
|
||||
{ no: 1, name: "UserMail", kind: "scalar", localName: "UserMail", jsonName: "UserMail", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 1, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ResolveAPIKeyResult>): ResolveAPIKeyResult {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.UserMail = "";
|
||||
message.UserID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ResolveAPIKeyResult>(this, message, value);
|
||||
return message;
|
||||
@@ -6187,8 +6187,8 @@ class ResolveAPIKeyResult$Type extends MessageType<ResolveAPIKeyResult> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string UserMail */ 1:
|
||||
message.UserMail = reader.string();
|
||||
case /* string UserID */ 1:
|
||||
message.UserID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -6202,9 +6202,9 @@ class ResolveAPIKeyResult$Type extends MessageType<ResolveAPIKeyResult> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ResolveAPIKeyResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string UserMail = 1; */
|
||||
if (message.UserMail !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.UserMail);
|
||||
/* string UserID = 1; */
|
||||
if (message.UserID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.UserID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -6273,5 +6273,5 @@ export const UserService = new ServiceType("api.UserService", [
|
||||
{ name: "GenerateAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Generate an API key for the user" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GenerateAPIKeyRequest, O: GenerateAPIKeyResult },
|
||||
{ name: "RevokeAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Revoke the user's API key" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: RevokeAPIKeyRequest, O: RevokeAPIKeyResult },
|
||||
{ name: "RenewAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Renew the user's API key" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: RenewAPIKeyRequest, O: RenewAPIKeyResult },
|
||||
{ name: "ResolveAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Resolve an API key to the corresponding user email" }, "api.rscType": "Platform", "api.roles": "Platform.API-Key", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ResolveAPIKeyRequest, O: ResolveAPIKeyResult }
|
||||
{ name: "ResolveAPIKey", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin User"], description: "Resolve an API key to the corresponding user ID" }, "api.rscType": "Platform", "api.roles": "Platform.API-Key", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ResolveAPIKeyRequest, O: ResolveAPIKeyResult }
|
||||
], { "api.k8sService": "organisation-server" });
|
||||
|
||||
Reference in New Issue
Block a user