Latest generation

This commit is contained in:
ci core model
2025-04-04 07:46:32 +00:00
parent 350e473e35
commit f493587467
2 changed files with 7 additions and 79 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@reflex-platform/npm-core-sdk", "name": "@reflex-platform/npm-core-sdk",
"version": "1.10.0-SNAPSHOT-250403141218", "version": "1.10.0-SNAPSHOT-250404074615",
"description": "npm libs from core model proto files", "description": "npm libs from core model proto files",
"homepage": "", "homepage": "",
"main": "index.ts", "main": "index.ts",

84
user.ts
View File

@@ -664,10 +664,6 @@ export interface ListUserPlatformRolesResult {
* @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"]; * @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"];
*/ */
roles: string[]; roles: string[];
/**
* @generated from protobuf field: repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];
*/
inheritedRoles: string[];
} }
/** /**
* @generated from protobuf message api.ListUserOrganisationRolesResult * @generated from protobuf message api.ListUserOrganisationRolesResult
@@ -677,10 +673,6 @@ export interface ListUserOrganisationRolesResult {
* @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"]; * @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"];
*/ */
roles: string[]; roles: string[];
/**
* @generated from protobuf field: repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];
*/
inheritedRoles: string[];
} }
/** /**
* @generated from protobuf message api.ListUserProjectRolesResult * @generated from protobuf message api.ListUserProjectRolesResult
@@ -690,10 +682,6 @@ export interface ListUserProjectRolesResult {
* @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"]; * @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"];
*/ */
roles: string[]; roles: string[];
/**
* @generated from protobuf field: repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];
*/
inheritedRoles: string[];
} }
/** /**
* @generated from protobuf message api.ListUserPartnerAppRolesResult * @generated from protobuf message api.ListUserPartnerAppRolesResult
@@ -703,10 +691,6 @@ export interface ListUserPartnerAppRolesResult {
* @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"]; * @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"];
*/ */
roles: string[]; roles: string[];
/**
* @generated from protobuf field: repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];
*/
inheritedRoles: string[];
} }
/** /**
* @generated from protobuf message api.ListUserConnectionRolesResult * @generated from protobuf message api.ListUserConnectionRolesResult
@@ -716,10 +700,6 @@ export interface ListUserConnectionRolesResult {
* @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"]; * @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"];
*/ */
roles: string[]; roles: string[];
/**
* @generated from protobuf field: repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];
*/
inheritedRoles: string[];
} }
/** /**
* @generated from protobuf message api.ListUserAttachmentTypeRolesResult * @generated from protobuf message api.ListUserAttachmentTypeRolesResult
@@ -729,10 +709,6 @@ export interface ListUserAttachmentTypeRolesResult {
* @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"]; * @generated from protobuf field: repeated string Roles = 1 [json_name = "Roles"];
*/ */
roles: string[]; roles: string[];
/**
* @generated from protobuf field: repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];
*/
inheritedRoles: string[];
} }
/** /**
* @generated from protobuf message api.SetUserPlatformRolesResult * @generated from protobuf message api.SetUserPlatformRolesResult
@@ -3704,14 +3680,12 @@ export const GetProjectUserResult = new GetProjectUserResult$Type();
class ListUserPlatformRolesResult$Type extends MessageType<ListUserPlatformRolesResult> { class ListUserPlatformRolesResult$Type extends MessageType<ListUserPlatformRolesResult> {
constructor() { constructor() {
super("api.ListUserPlatformRolesResult", [ super("api.ListUserPlatformRolesResult", [
{ no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 2, name: "InheritedRoles", kind: "scalar", jsonName: "InheritedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
]); ]);
} }
create(value?: PartialMessage<ListUserPlatformRolesResult>): ListUserPlatformRolesResult { create(value?: PartialMessage<ListUserPlatformRolesResult>): ListUserPlatformRolesResult {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));
message.roles = []; message.roles = [];
message.inheritedRoles = [];
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<ListUserPlatformRolesResult>(this, message, value); reflectionMergePartial<ListUserPlatformRolesResult>(this, message, value);
return message; return message;
@@ -3724,9 +3698,6 @@ class ListUserPlatformRolesResult$Type extends MessageType<ListUserPlatformRoles
case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1: case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1:
message.roles.push(reader.string()); message.roles.push(reader.string());
break; break;
case /* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];*/ 2:
message.inheritedRoles.push(reader.string());
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -3742,9 +3713,6 @@ class ListUserPlatformRolesResult$Type extends MessageType<ListUserPlatformRoles
/* repeated string Roles = 1 [json_name = "Roles"]; */ /* repeated string Roles = 1 [json_name = "Roles"]; */
for (let i = 0; i < message.roles.length; i++) for (let i = 0; i < message.roles.length; i++)
writer.tag(1, WireType.LengthDelimited).string(message.roles[i]); writer.tag(1, WireType.LengthDelimited).string(message.roles[i]);
/* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"]; */
for (let i = 0; i < message.inheritedRoles.length; i++)
writer.tag(2, WireType.LengthDelimited).string(message.inheritedRoles[i]);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3759,14 +3727,12 @@ export const ListUserPlatformRolesResult = new ListUserPlatformRolesResult$Type(
class ListUserOrganisationRolesResult$Type extends MessageType<ListUserOrganisationRolesResult> { class ListUserOrganisationRolesResult$Type extends MessageType<ListUserOrganisationRolesResult> {
constructor() { constructor() {
super("api.ListUserOrganisationRolesResult", [ super("api.ListUserOrganisationRolesResult", [
{ no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 2, name: "InheritedRoles", kind: "scalar", jsonName: "InheritedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
]); ]);
} }
create(value?: PartialMessage<ListUserOrganisationRolesResult>): ListUserOrganisationRolesResult { create(value?: PartialMessage<ListUserOrganisationRolesResult>): ListUserOrganisationRolesResult {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));
message.roles = []; message.roles = [];
message.inheritedRoles = [];
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<ListUserOrganisationRolesResult>(this, message, value); reflectionMergePartial<ListUserOrganisationRolesResult>(this, message, value);
return message; return message;
@@ -3779,9 +3745,6 @@ class ListUserOrganisationRolesResult$Type extends MessageType<ListUserOrganisat
case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1: case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1:
message.roles.push(reader.string()); message.roles.push(reader.string());
break; break;
case /* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];*/ 2:
message.inheritedRoles.push(reader.string());
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -3797,9 +3760,6 @@ class ListUserOrganisationRolesResult$Type extends MessageType<ListUserOrganisat
/* repeated string Roles = 1 [json_name = "Roles"]; */ /* repeated string Roles = 1 [json_name = "Roles"]; */
for (let i = 0; i < message.roles.length; i++) for (let i = 0; i < message.roles.length; i++)
writer.tag(1, WireType.LengthDelimited).string(message.roles[i]); writer.tag(1, WireType.LengthDelimited).string(message.roles[i]);
/* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"]; */
for (let i = 0; i < message.inheritedRoles.length; i++)
writer.tag(2, WireType.LengthDelimited).string(message.inheritedRoles[i]);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3814,14 +3774,12 @@ export const ListUserOrganisationRolesResult = new ListUserOrganisationRolesResu
class ListUserProjectRolesResult$Type extends MessageType<ListUserProjectRolesResult> { class ListUserProjectRolesResult$Type extends MessageType<ListUserProjectRolesResult> {
constructor() { constructor() {
super("api.ListUserProjectRolesResult", [ super("api.ListUserProjectRolesResult", [
{ no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 2, name: "InheritedRoles", kind: "scalar", jsonName: "InheritedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
]); ]);
} }
create(value?: PartialMessage<ListUserProjectRolesResult>): ListUserProjectRolesResult { create(value?: PartialMessage<ListUserProjectRolesResult>): ListUserProjectRolesResult {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));
message.roles = []; message.roles = [];
message.inheritedRoles = [];
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<ListUserProjectRolesResult>(this, message, value); reflectionMergePartial<ListUserProjectRolesResult>(this, message, value);
return message; return message;
@@ -3834,9 +3792,6 @@ class ListUserProjectRolesResult$Type extends MessageType<ListUserProjectRolesRe
case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1: case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1:
message.roles.push(reader.string()); message.roles.push(reader.string());
break; break;
case /* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];*/ 2:
message.inheritedRoles.push(reader.string());
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -3852,9 +3807,6 @@ class ListUserProjectRolesResult$Type extends MessageType<ListUserProjectRolesRe
/* repeated string Roles = 1 [json_name = "Roles"]; */ /* repeated string Roles = 1 [json_name = "Roles"]; */
for (let i = 0; i < message.roles.length; i++) for (let i = 0; i < message.roles.length; i++)
writer.tag(1, WireType.LengthDelimited).string(message.roles[i]); writer.tag(1, WireType.LengthDelimited).string(message.roles[i]);
/* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"]; */
for (let i = 0; i < message.inheritedRoles.length; i++)
writer.tag(2, WireType.LengthDelimited).string(message.inheritedRoles[i]);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3869,14 +3821,12 @@ export const ListUserProjectRolesResult = new ListUserProjectRolesResult$Type();
class ListUserPartnerAppRolesResult$Type extends MessageType<ListUserPartnerAppRolesResult> { class ListUserPartnerAppRolesResult$Type extends MessageType<ListUserPartnerAppRolesResult> {
constructor() { constructor() {
super("api.ListUserPartnerAppRolesResult", [ super("api.ListUserPartnerAppRolesResult", [
{ no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 2, name: "InheritedRoles", kind: "scalar", jsonName: "InheritedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
]); ]);
} }
create(value?: PartialMessage<ListUserPartnerAppRolesResult>): ListUserPartnerAppRolesResult { create(value?: PartialMessage<ListUserPartnerAppRolesResult>): ListUserPartnerAppRolesResult {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));
message.roles = []; message.roles = [];
message.inheritedRoles = [];
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<ListUserPartnerAppRolesResult>(this, message, value); reflectionMergePartial<ListUserPartnerAppRolesResult>(this, message, value);
return message; return message;
@@ -3889,9 +3839,6 @@ class ListUserPartnerAppRolesResult$Type extends MessageType<ListUserPartnerAppR
case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1: case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1:
message.roles.push(reader.string()); message.roles.push(reader.string());
break; break;
case /* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];*/ 2:
message.inheritedRoles.push(reader.string());
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -3907,9 +3854,6 @@ class ListUserPartnerAppRolesResult$Type extends MessageType<ListUserPartnerAppR
/* repeated string Roles = 1 [json_name = "Roles"]; */ /* repeated string Roles = 1 [json_name = "Roles"]; */
for (let i = 0; i < message.roles.length; i++) for (let i = 0; i < message.roles.length; i++)
writer.tag(1, WireType.LengthDelimited).string(message.roles[i]); writer.tag(1, WireType.LengthDelimited).string(message.roles[i]);
/* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"]; */
for (let i = 0; i < message.inheritedRoles.length; i++)
writer.tag(2, WireType.LengthDelimited).string(message.inheritedRoles[i]);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3924,14 +3868,12 @@ export const ListUserPartnerAppRolesResult = new ListUserPartnerAppRolesResult$T
class ListUserConnectionRolesResult$Type extends MessageType<ListUserConnectionRolesResult> { class ListUserConnectionRolesResult$Type extends MessageType<ListUserConnectionRolesResult> {
constructor() { constructor() {
super("api.ListUserConnectionRolesResult", [ super("api.ListUserConnectionRolesResult", [
{ no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 2, name: "InheritedRoles", kind: "scalar", jsonName: "InheritedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
]); ]);
} }
create(value?: PartialMessage<ListUserConnectionRolesResult>): ListUserConnectionRolesResult { create(value?: PartialMessage<ListUserConnectionRolesResult>): ListUserConnectionRolesResult {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));
message.roles = []; message.roles = [];
message.inheritedRoles = [];
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<ListUserConnectionRolesResult>(this, message, value); reflectionMergePartial<ListUserConnectionRolesResult>(this, message, value);
return message; return message;
@@ -3944,9 +3886,6 @@ class ListUserConnectionRolesResult$Type extends MessageType<ListUserConnectionR
case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1: case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1:
message.roles.push(reader.string()); message.roles.push(reader.string());
break; break;
case /* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];*/ 2:
message.inheritedRoles.push(reader.string());
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -3962,9 +3901,6 @@ class ListUserConnectionRolesResult$Type extends MessageType<ListUserConnectionR
/* repeated string Roles = 1 [json_name = "Roles"]; */ /* repeated string Roles = 1 [json_name = "Roles"]; */
for (let i = 0; i < message.roles.length; i++) for (let i = 0; i < message.roles.length; i++)
writer.tag(1, WireType.LengthDelimited).string(message.roles[i]); writer.tag(1, WireType.LengthDelimited).string(message.roles[i]);
/* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"]; */
for (let i = 0; i < message.inheritedRoles.length; i++)
writer.tag(2, WireType.LengthDelimited).string(message.inheritedRoles[i]);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3979,14 +3915,12 @@ export const ListUserConnectionRolesResult = new ListUserConnectionRolesResult$T
class ListUserAttachmentTypeRolesResult$Type extends MessageType<ListUserAttachmentTypeRolesResult> { class ListUserAttachmentTypeRolesResult$Type extends MessageType<ListUserAttachmentTypeRolesResult> {
constructor() { constructor() {
super("api.ListUserAttachmentTypeRolesResult", [ super("api.ListUserAttachmentTypeRolesResult", [
{ no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 1, name: "Roles", kind: "scalar", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 2, name: "InheritedRoles", kind: "scalar", jsonName: "InheritedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
]); ]);
} }
create(value?: PartialMessage<ListUserAttachmentTypeRolesResult>): ListUserAttachmentTypeRolesResult { create(value?: PartialMessage<ListUserAttachmentTypeRolesResult>): ListUserAttachmentTypeRolesResult {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));
message.roles = []; message.roles = [];
message.inheritedRoles = [];
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<ListUserAttachmentTypeRolesResult>(this, message, value); reflectionMergePartial<ListUserAttachmentTypeRolesResult>(this, message, value);
return message; return message;
@@ -3999,9 +3933,6 @@ class ListUserAttachmentTypeRolesResult$Type extends MessageType<ListUserAttachm
case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1: case /* repeated string Roles = 1 [json_name = "Roles"];*/ 1:
message.roles.push(reader.string()); message.roles.push(reader.string());
break; break;
case /* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"];*/ 2:
message.inheritedRoles.push(reader.string());
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -4017,9 +3948,6 @@ class ListUserAttachmentTypeRolesResult$Type extends MessageType<ListUserAttachm
/* repeated string Roles = 1 [json_name = "Roles"]; */ /* repeated string Roles = 1 [json_name = "Roles"]; */
for (let i = 0; i < message.roles.length; i++) for (let i = 0; i < message.roles.length; i++)
writer.tag(1, WireType.LengthDelimited).string(message.roles[i]); writer.tag(1, WireType.LengthDelimited).string(message.roles[i]);
/* repeated string InheritedRoles = 2 [json_name = "InheritedRoles"]; */
for (let i = 0; i < message.inheritedRoles.length; i++)
writer.tag(2, WireType.LengthDelimited).string(message.inheritedRoles[i]);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
if (u !== false) if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);