Latest generation

This commit is contained in:
ci core model
2025-08-20 08:23:31 +00:00
parent 5a41bcf4b1
commit d572feee26
12 changed files with 775 additions and 25 deletions

View File

@@ -39,6 +39,10 @@ export interface ActorByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.ActorQueryOptions Options = 3
*/
Options?: ActorQueryOptions;
}
/**
* @generated from protobuf message api.ActorByIdResult
@@ -77,6 +81,10 @@ export interface ActorByFilterQuery {
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 6
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: api.ActorQueryOptions Options = 7
*/
Options?: ActorQueryOptions;
}
/**
* @generated from protobuf message api.ActorByFilterResult
@@ -95,6 +103,11 @@ export interface ActorByFilterResult {
*/
queryContext: string;
}
/**
* @generated from protobuf message api.ActorQueryOptions
*/
export interface ActorQueryOptions {
}
/**
* @generated from protobuf message api.ActorByMatchQuery
*/
@@ -130,7 +143,8 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
constructor() {
super("api.ActorByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ActorQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<ActorByIdQuery>): ActorByIdQuery {
@@ -151,6 +165,9 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ActorQueryOptions Options */ 3:
message.Options = ActorQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -169,6 +186,9 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.ActorQueryOptions Options = 3; */
if (message.Options)
ActorQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -240,7 +260,8 @@ class ActorByFilterQuery$Type extends MessageType<ActorByFilterQuery> {
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 7, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ActorQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<ActorByFilterQuery>): ActorByFilterQuery {
@@ -269,6 +290,9 @@ class ActorByFilterQuery$Type extends MessageType<ActorByFilterQuery> {
case /* repeated api.BlockFilter BlockFilters */ 6:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ActorQueryOptions Options */ 7:
message.Options = ActorQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -293,6 +317,9 @@ class ActorByFilterQuery$Type extends MessageType<ActorByFilterQuery> {
/* repeated api.BlockFilter BlockFilters = 6; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* api.ActorQueryOptions Options = 7; */
if (message.Options)
ActorQueryOptions.internalBinaryWrite(message.Options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -366,6 +393,44 @@ class ActorByFilterResult$Type extends MessageType<ActorByFilterResult> {
*/
export const ActorByFilterResult = new ActorByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ActorQueryOptions$Type extends MessageType<ActorQueryOptions> {
constructor() {
super("api.ActorQueryOptions", []);
}
create(value?: PartialMessage<ActorQueryOptions>): ActorQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ActorQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorQueryOptions): ActorQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ActorQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ActorQueryOptions
*/
export const ActorQueryOptions = new ActorQueryOptions$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ActorByMatchQuery$Type extends MessageType<ActorByMatchQuery> {
constructor() {
super("api.ActorByMatchQuery", [

View File

@@ -41,6 +41,10 @@ export interface AppointmentByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.AppointmentQueryOptions Options = 3
*/
Options?: AppointmentQueryOptions;
}
/**
* @generated from protobuf message api.AppointmentByIdResult
@@ -79,6 +83,10 @@ export interface AppointmentByFilterQuery {
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 6
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: api.AppointmentQueryOptions Options = 7
*/
Options?: AppointmentQueryOptions;
}
/**
* @generated from protobuf message api.AppointmentByFilterResult
@@ -97,6 +105,11 @@ export interface AppointmentByFilterResult {
*/
queryContext: string;
}
/**
* @generated from protobuf message api.AppointmentQueryOptions
*/
export interface AppointmentQueryOptions {
}
/**
* @generated from protobuf message api.AppointmentByMatchQuery
*/
@@ -132,7 +145,8 @@ class AppointmentByIdQuery$Type extends MessageType<AppointmentByIdQuery> {
constructor() {
super("api.AppointmentByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QuerySiteHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => AppointmentQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<AppointmentByIdQuery>): AppointmentByIdQuery {
@@ -153,6 +167,9 @@ class AppointmentByIdQuery$Type extends MessageType<AppointmentByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.AppointmentQueryOptions Options */ 3:
message.Options = AppointmentQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -171,6 +188,9 @@ class AppointmentByIdQuery$Type extends MessageType<AppointmentByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.AppointmentQueryOptions Options = 3; */
if (message.Options)
AppointmentQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -242,7 +262,8 @@ class AppointmentByFilterQuery$Type extends MessageType<AppointmentByFilterQuery
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QuerySiteHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 7, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => AppointmentQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<AppointmentByFilterQuery>): AppointmentByFilterQuery {
@@ -271,6 +292,9 @@ class AppointmentByFilterQuery$Type extends MessageType<AppointmentByFilterQuery
case /* repeated api.BlockFilter BlockFilters */ 6:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.AppointmentQueryOptions Options */ 7:
message.Options = AppointmentQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -295,6 +319,9 @@ class AppointmentByFilterQuery$Type extends MessageType<AppointmentByFilterQuery
/* repeated api.BlockFilter BlockFilters = 6; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* api.AppointmentQueryOptions Options = 7; */
if (message.Options)
AppointmentQueryOptions.internalBinaryWrite(message.Options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -368,6 +395,44 @@ class AppointmentByFilterResult$Type extends MessageType<AppointmentByFilterResu
*/
export const AppointmentByFilterResult = new AppointmentByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class AppointmentQueryOptions$Type extends MessageType<AppointmentQueryOptions> {
constructor() {
super("api.AppointmentQueryOptions", []);
}
create(value?: PartialMessage<AppointmentQueryOptions>): AppointmentQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<AppointmentQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentQueryOptions): AppointmentQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: AppointmentQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.AppointmentQueryOptions
*/
export const AppointmentQueryOptions = new AppointmentQueryOptions$Type();
// @generated message type with reflection information, may provide speed optimized methods
class AppointmentByMatchQuery$Type extends MessageType<AppointmentByMatchQuery> {
constructor() {
super("api.AppointmentByMatchQuery", [

View File

@@ -43,6 +43,10 @@ export interface ClaimByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.ClaimQueryOptions Options = 3
*/
Options?: ClaimQueryOptions;
}
/**
* @generated from protobuf message api.ClaimByIdResult
@@ -81,6 +85,10 @@ export interface ClaimByFilterQuery {
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 6
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: api.ClaimQueryOptions Options = 7
*/
Options?: ClaimQueryOptions;
}
/**
* @generated from protobuf message api.ClaimByFilterResult
@@ -99,6 +107,11 @@ export interface ClaimByFilterResult {
*/
queryContext: string;
}
/**
* @generated from protobuf message api.ClaimQueryOptions
*/
export interface ClaimQueryOptions {
}
/**
* @generated from protobuf message api.ClaimByMatchQuery
*/
@@ -182,7 +195,8 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
constructor() {
super("api.ClaimByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ClaimQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<ClaimByIdQuery>): ClaimByIdQuery {
@@ -203,6 +217,9 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ClaimQueryOptions Options */ 3:
message.Options = ClaimQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -221,6 +238,9 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.ClaimQueryOptions Options = 3; */
if (message.Options)
ClaimQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -292,7 +312,8 @@ class ClaimByFilterQuery$Type extends MessageType<ClaimByFilterQuery> {
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 7, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ClaimQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<ClaimByFilterQuery>): ClaimByFilterQuery {
@@ -321,6 +342,9 @@ class ClaimByFilterQuery$Type extends MessageType<ClaimByFilterQuery> {
case /* repeated api.BlockFilter BlockFilters */ 6:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ClaimQueryOptions Options */ 7:
message.Options = ClaimQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -345,6 +369,9 @@ class ClaimByFilterQuery$Type extends MessageType<ClaimByFilterQuery> {
/* repeated api.BlockFilter BlockFilters = 6; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* api.ClaimQueryOptions Options = 7; */
if (message.Options)
ClaimQueryOptions.internalBinaryWrite(message.Options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -418,6 +445,44 @@ class ClaimByFilterResult$Type extends MessageType<ClaimByFilterResult> {
*/
export const ClaimByFilterResult = new ClaimByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ClaimQueryOptions$Type extends MessageType<ClaimQueryOptions> {
constructor() {
super("api.ClaimQueryOptions", []);
}
create(value?: PartialMessage<ClaimQueryOptions>): ClaimQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ClaimQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimQueryOptions): ClaimQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ClaimQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ClaimQueryOptions
*/
export const ClaimQueryOptions = new ClaimQueryOptions$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ClaimByMatchQuery$Type extends MessageType<ClaimByMatchQuery> {
constructor() {
super("api.ClaimByMatchQuery", [

View File

@@ -35,6 +35,10 @@ export interface ExecutionflowByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.ExecutionflowQueryOptions Options = 3
*/
Options?: ExecutionflowQueryOptions;
}
/**
* @generated from protobuf message api.ExecutionflowByIdResult
@@ -73,6 +77,10 @@ export interface ExecutionflowByFilterQuery {
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 6
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: api.ExecutionflowQueryOptions Options = 7
*/
Options?: ExecutionflowQueryOptions;
}
/**
* @generated from protobuf message api.ExecutionflowByFilterResult
@@ -91,12 +99,22 @@ export interface ExecutionflowByFilterResult {
*/
queryContext: string;
}
/**
* @generated from protobuf message api.ExecutionflowQueryOptions
*/
export interface ExecutionflowQueryOptions {
/**
* @generated from protobuf field: bool TruncateLines = 1
*/
TruncateLines: boolean; // If true, the executionflow lines will be truncated.
}
// @generated message type with reflection information, may provide speed optimized methods
class ExecutionflowByIdQuery$Type extends MessageType<ExecutionflowByIdQuery> {
constructor() {
super("api.ExecutionflowByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ExecutionflowQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<ExecutionflowByIdQuery>): ExecutionflowByIdQuery {
@@ -117,6 +135,9 @@ class ExecutionflowByIdQuery$Type extends MessageType<ExecutionflowByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ExecutionflowQueryOptions Options */ 3:
message.Options = ExecutionflowQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -135,6 +156,9 @@ class ExecutionflowByIdQuery$Type extends MessageType<ExecutionflowByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.ExecutionflowQueryOptions Options = 3; */
if (message.Options)
ExecutionflowQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -206,7 +230,8 @@ class ExecutionflowByFilterQuery$Type extends MessageType<ExecutionflowByFilterQ
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 7, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ExecutionflowQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<ExecutionflowByFilterQuery>): ExecutionflowByFilterQuery {
@@ -235,6 +260,9 @@ class ExecutionflowByFilterQuery$Type extends MessageType<ExecutionflowByFilterQ
case /* repeated api.BlockFilter BlockFilters */ 6:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ExecutionflowQueryOptions Options */ 7:
message.Options = ExecutionflowQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -259,6 +287,9 @@ class ExecutionflowByFilterQuery$Type extends MessageType<ExecutionflowByFilterQ
/* repeated api.BlockFilter BlockFilters = 6; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* api.ExecutionflowQueryOptions Options = 7; */
if (message.Options)
ExecutionflowQueryOptions.internalBinaryWrite(message.Options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -331,6 +362,53 @@ class ExecutionflowByFilterResult$Type extends MessageType<ExecutionflowByFilter
* @generated MessageType for protobuf message api.ExecutionflowByFilterResult
*/
export const ExecutionflowByFilterResult = new ExecutionflowByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ExecutionflowQueryOptions$Type extends MessageType<ExecutionflowQueryOptions> {
constructor() {
super("api.ExecutionflowQueryOptions", [
{ no: 1, name: "TruncateLines", kind: "scalar", localName: "TruncateLines", jsonName: "TruncateLines", T: 8 /*ScalarType.BOOL*/ }
]);
}
create(value?: PartialMessage<ExecutionflowQueryOptions>): ExecutionflowQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
message.TruncateLines = false;
if (value !== undefined)
reflectionMergePartial<ExecutionflowQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowQueryOptions): ExecutionflowQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* bool TruncateLines */ 1:
message.TruncateLines = reader.bool();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ExecutionflowQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* bool TruncateLines = 1; */
if (message.TruncateLines !== false)
writer.tag(1, WireType.Varint).bool(message.TruncateLines);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ExecutionflowQueryOptions
*/
export const ExecutionflowQueryOptions = new ExecutionflowQueryOptions$Type();
/**
* @generated ServiceType for protobuf service api.ExecutionflowQuery
*/

View File

@@ -41,6 +41,10 @@ export interface HandlingunitByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.HandlingunitQueryOptions Options = 3
*/
Options?: HandlingunitQueryOptions;
}
/**
* @generated from protobuf message api.HandlingunitByIdResult
@@ -77,6 +81,10 @@ export interface HandlingunitByFilterQuery {
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 7
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: api.HandlingunitQueryOptions Options = 8
*/
Options?: HandlingunitQueryOptions;
}
/**
* @generated from protobuf message api.HandlingunitByFilterResult
@@ -95,6 +103,11 @@ export interface HandlingunitByFilterResult {
*/
queryContext: string;
}
/**
* @generated from protobuf message api.HandlingunitQueryOptions
*/
export interface HandlingunitQueryOptions {
}
/**
* @generated from protobuf message api.HandlingunitByMatchQuery
*/
@@ -130,7 +143,8 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
constructor() {
super("api.HandlingunitByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => HandlingunitQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<HandlingunitByIdQuery>): HandlingunitByIdQuery {
@@ -151,6 +165,9 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.HandlingunitQueryOptions Options */ 3:
message.Options = HandlingunitQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -169,6 +186,9 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.HandlingunitQueryOptions Options = 3; */
if (message.Options)
HandlingunitQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -240,7 +260,8 @@ class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQue
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
{ no: 7, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 8, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => HandlingunitQueryOptions }
]);
}
create(value?: PartialMessage<HandlingunitByFilterQuery>): HandlingunitByFilterQuery {
@@ -269,6 +290,9 @@ class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQue
case /* repeated api.BlockFilter BlockFilters */ 7:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.HandlingunitQueryOptions Options */ 8:
message.Options = HandlingunitQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -293,6 +317,9 @@ class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQue
/* repeated api.BlockFilter BlockFilters = 7; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
/* api.HandlingunitQueryOptions Options = 8; */
if (message.Options)
HandlingunitQueryOptions.internalBinaryWrite(message.Options, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -366,6 +393,44 @@ class HandlingunitByFilterResult$Type extends MessageType<HandlingunitByFilterRe
*/
export const HandlingunitByFilterResult = new HandlingunitByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class HandlingunitQueryOptions$Type extends MessageType<HandlingunitQueryOptions> {
constructor() {
super("api.HandlingunitQueryOptions", []);
}
create(value?: PartialMessage<HandlingunitQueryOptions>): HandlingunitQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<HandlingunitQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HandlingunitQueryOptions): HandlingunitQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: HandlingunitQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.HandlingunitQueryOptions
*/
export const HandlingunitQueryOptions = new HandlingunitQueryOptions$Type();
// @generated message type with reflection information, may provide speed optimized methods
class HandlingunitByMatchQuery$Type extends MessageType<HandlingunitByMatchQuery> {
constructor() {
super("api.HandlingunitByMatchQuery", [

View File

@@ -40,6 +40,10 @@ export interface ItemByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.ItemQueryOptions Options = 3
*/
Options?: ItemQueryOptions;
}
/**
* @generated from protobuf message api.ItemByIdResult
@@ -80,6 +84,10 @@ export interface ItemByFilterQuery {
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 6
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: api.ItemQueryOptions Options = 7
*/
Options?: ItemQueryOptions;
}
/**
* @generated from protobuf message api.ItemByFilterResult
@@ -98,6 +106,11 @@ export interface ItemByFilterResult {
*/
queryContext: string;
}
/**
* @generated from protobuf message api.ItemQueryOptions
*/
export interface ItemQueryOptions {
}
/**
* @generated from protobuf message api.ItemByMatchQuery
*/
@@ -148,6 +161,10 @@ export interface GetLVDetailedQuantityQuery {
* @generated from protobuf field: float quantityInbaseLv = 4
*/
quantityInbaseLv: number;
/**
* @generated from protobuf field: api.ItemQueryOptions Options = 5
*/
Options?: ItemQueryOptions;
}
/**
* @generated from protobuf message api.GetLVDetailedQuantityResult
@@ -163,7 +180,8 @@ class ItemByIdQuery$Type extends MessageType<ItemByIdQuery> {
constructor() {
super("api.ItemByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ItemQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<ItemByIdQuery>): ItemByIdQuery {
@@ -184,6 +202,9 @@ class ItemByIdQuery$Type extends MessageType<ItemByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ItemQueryOptions Options */ 3:
message.Options = ItemQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -202,6 +223,9 @@ class ItemByIdQuery$Type extends MessageType<ItemByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.ItemQueryOptions Options = 3; */
if (message.Options)
ItemQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -273,7 +297,8 @@ class ItemByFilterQuery$Type extends MessageType<ItemByFilterQuery> {
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 7, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ItemQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<ItemByFilterQuery>): ItemByFilterQuery {
@@ -302,6 +327,9 @@ class ItemByFilterQuery$Type extends MessageType<ItemByFilterQuery> {
case /* repeated api.BlockFilter BlockFilters */ 6:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.ItemQueryOptions Options */ 7:
message.Options = ItemQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -326,6 +354,9 @@ class ItemByFilterQuery$Type extends MessageType<ItemByFilterQuery> {
/* repeated api.BlockFilter BlockFilters = 6; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* api.ItemQueryOptions Options = 7; */
if (message.Options)
ItemQueryOptions.internalBinaryWrite(message.Options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -399,6 +430,44 @@ class ItemByFilterResult$Type extends MessageType<ItemByFilterResult> {
*/
export const ItemByFilterResult = new ItemByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ItemQueryOptions$Type extends MessageType<ItemQueryOptions> {
constructor() {
super("api.ItemQueryOptions", []);
}
create(value?: PartialMessage<ItemQueryOptions>): ItemQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ItemQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ItemQueryOptions): ItemQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ItemQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ItemQueryOptions
*/
export const ItemQueryOptions = new ItemQueryOptions$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ItemByMatchQuery$Type extends MessageType<ItemByMatchQuery> {
constructor() {
super("api.ItemByMatchQuery", [
@@ -514,7 +583,8 @@ class GetLVDetailedQuantityQuery$Type extends MessageType<GetLVDetailedQuantityQ
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "LVBranchID", kind: "scalar", localName: "LVBranchID", jsonName: "LVBranchID", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "quantityInbaseLv", kind: "scalar", T: 2 /*ScalarType.FLOAT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Quantity in base LV to detail" } } }
{ no: 4, name: "quantityInbaseLv", kind: "scalar", T: 2 /*ScalarType.FLOAT*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Quantity in base LV to detail" } } },
{ no: 5, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ItemQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header, ID"] } } });
}
create(value?: PartialMessage<GetLVDetailedQuantityQuery>): GetLVDetailedQuantityQuery {
@@ -542,6 +612,9 @@ class GetLVDetailedQuantityQuery$Type extends MessageType<GetLVDetailedQuantityQ
case /* float quantityInbaseLv */ 4:
message.quantityInbaseLv = reader.float();
break;
case /* api.ItemQueryOptions Options */ 5:
message.Options = ItemQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -566,6 +639,9 @@ class GetLVDetailedQuantityQuery$Type extends MessageType<GetLVDetailedQuantityQ
/* float quantityInbaseLv = 4; */
if (message.quantityInbaseLv !== 0)
writer.tag(4, WireType.Bit32).float(message.quantityInbaseLv);
/* api.ItemQueryOptions Options = 5; */
if (message.Options)
ItemQueryOptions.internalBinaryWrite(message.Options, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -41,6 +41,10 @@ export interface MovementByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.MovementQueryOptions Options = 3
*/
Options?: MovementQueryOptions;
}
/**
* @generated from protobuf message api.MovementByIdResult
@@ -79,6 +83,10 @@ export interface MovementByFilterQuery {
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 7
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: api.MovementQueryOptions Options = 8
*/
Options?: MovementQueryOptions;
}
/**
* @generated from protobuf message api.MovementByFilterResult
@@ -97,6 +105,11 @@ export interface MovementByFilterResult {
*/
queryContext: string;
}
/**
* @generated from protobuf message api.MovementQueryOptions
*/
export interface MovementQueryOptions {
}
/**
* @generated from protobuf message api.MovementByMatchQuery
*/
@@ -139,6 +152,10 @@ export interface MovementByOperationReferenceQuery {
* @generated from protobuf field: repeated string OperationReferences = 2
*/
OperationReferences: string[];
/**
* @generated from protobuf field: api.MovementQueryOptions Options = 3
*/
Options?: MovementQueryOptions;
}
/**
* @generated from protobuf message api.MovementByOperationReferenceResult
@@ -158,7 +175,8 @@ class MovementByIdQuery$Type extends MessageType<MovementByIdQuery> {
constructor() {
super("api.MovementByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => MovementQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<MovementByIdQuery>): MovementByIdQuery {
@@ -179,6 +197,9 @@ class MovementByIdQuery$Type extends MessageType<MovementByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.MovementQueryOptions Options */ 3:
message.Options = MovementQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -197,6 +218,9 @@ class MovementByIdQuery$Type extends MessageType<MovementByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.MovementQueryOptions Options = 3; */
if (message.Options)
MovementQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -268,7 +292,8 @@ class MovementByFilterQuery$Type extends MessageType<MovementByFilterQuery> {
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
{ no: 7, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 8, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => MovementQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<MovementByFilterQuery>): MovementByFilterQuery {
@@ -297,6 +322,9 @@ class MovementByFilterQuery$Type extends MessageType<MovementByFilterQuery> {
case /* repeated api.BlockFilter BlockFilters */ 7:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.MovementQueryOptions Options */ 8:
message.Options = MovementQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -321,6 +349,9 @@ class MovementByFilterQuery$Type extends MessageType<MovementByFilterQuery> {
/* repeated api.BlockFilter BlockFilters = 7; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
/* api.MovementQueryOptions Options = 8; */
if (message.Options)
MovementQueryOptions.internalBinaryWrite(message.Options, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -394,6 +425,44 @@ class MovementByFilterResult$Type extends MessageType<MovementByFilterResult> {
*/
export const MovementByFilterResult = new MovementByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class MovementQueryOptions$Type extends MessageType<MovementQueryOptions> {
constructor() {
super("api.MovementQueryOptions", []);
}
create(value?: PartialMessage<MovementQueryOptions>): MovementQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<MovementQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MovementQueryOptions): MovementQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: MovementQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.MovementQueryOptions
*/
export const MovementQueryOptions = new MovementQueryOptions$Type();
// @generated message type with reflection information, may provide speed optimized methods
class MovementByMatchQuery$Type extends MessageType<MovementByMatchQuery> {
constructor() {
super("api.MovementByMatchQuery", [
@@ -507,7 +576,8 @@ class MovementByOperationReferenceQuery$Type extends MessageType<MovementByOpera
constructor() {
super("api.MovementByOperationReferenceQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "OperationReferences", kind: "scalar", localName: "OperationReferences", jsonName: "OperationReferences", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 2, name: "OperationReferences", kind: "scalar", localName: "OperationReferences", jsonName: "OperationReferences", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => MovementQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<MovementByOperationReferenceQuery>): MovementByOperationReferenceQuery {
@@ -528,6 +598,9 @@ class MovementByOperationReferenceQuery$Type extends MessageType<MovementByOpera
case /* repeated string OperationReferences */ 2:
message.OperationReferences.push(reader.string());
break;
case /* api.MovementQueryOptions Options */ 3:
message.Options = MovementQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -546,6 +619,9 @@ class MovementByOperationReferenceQuery$Type extends MessageType<MovementByOpera
/* repeated string OperationReferences = 2; */
for (let i = 0; i < message.OperationReferences.length; i++)
writer.tag(2, WireType.LengthDelimited).string(message.OperationReferences[i]);
/* api.MovementQueryOptions Options = 3; */
if (message.Options)
MovementQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -39,6 +39,10 @@ export interface OrderByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.OrderQueryOptions Options = 3
*/
Options?: OrderQueryOptions;
}
/**
* @generated from protobuf message api.OrderByIdResult
@@ -77,6 +81,10 @@ export interface OrderByFilterQuery {
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 6
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: api.OrderQueryOptions Options = 7
*/
Options?: OrderQueryOptions;
}
/**
* @generated from protobuf message api.OrderByFilterResult
@@ -95,6 +103,11 @@ export interface OrderByFilterResult {
*/
queryContext: string;
}
/**
* @generated from protobuf message api.OrderQueryOptions
*/
export interface OrderQueryOptions {
}
/**
* @generated from protobuf message api.OrderByMatchQuery
*/
@@ -130,7 +143,8 @@ class OrderByIdQuery$Type extends MessageType<OrderByIdQuery> {
constructor() {
super("api.OrderByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => OrderQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<OrderByIdQuery>): OrderByIdQuery {
@@ -151,6 +165,9 @@ class OrderByIdQuery$Type extends MessageType<OrderByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.OrderQueryOptions Options */ 3:
message.Options = OrderQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -169,6 +186,9 @@ class OrderByIdQuery$Type extends MessageType<OrderByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.OrderQueryOptions Options = 3; */
if (message.Options)
OrderQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -240,7 +260,8 @@ class OrderByFilterQuery$Type extends MessageType<OrderByFilterQuery> {
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 7, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => OrderQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<OrderByFilterQuery>): OrderByFilterQuery {
@@ -269,6 +290,9 @@ class OrderByFilterQuery$Type extends MessageType<OrderByFilterQuery> {
case /* repeated api.BlockFilter BlockFilters */ 6:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.OrderQueryOptions Options */ 7:
message.Options = OrderQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -293,6 +317,9 @@ class OrderByFilterQuery$Type extends MessageType<OrderByFilterQuery> {
/* repeated api.BlockFilter BlockFilters = 6; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* api.OrderQueryOptions Options = 7; */
if (message.Options)
OrderQueryOptions.internalBinaryWrite(message.Options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -366,6 +393,44 @@ class OrderByFilterResult$Type extends MessageType<OrderByFilterResult> {
*/
export const OrderByFilterResult = new OrderByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class OrderQueryOptions$Type extends MessageType<OrderQueryOptions> {
constructor() {
super("api.OrderQueryOptions", []);
}
create(value?: PartialMessage<OrderQueryOptions>): OrderQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<OrderQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OrderQueryOptions): OrderQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: OrderQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.OrderQueryOptions
*/
export const OrderQueryOptions = new OrderQueryOptions$Type();
// @generated message type with reflection information, may provide speed optimized methods
class OrderByMatchQuery$Type extends MessageType<OrderByMatchQuery> {
constructor() {
super("api.OrderByMatchQuery", [

View File

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

View File

@@ -39,6 +39,10 @@ export interface PartnerByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.PartnerQueryOptions Options = 3
*/
Options?: PartnerQueryOptions;
}
/**
* @generated from protobuf message api.PartnerByIdResult
@@ -77,6 +81,10 @@ export interface PartnerByFilterQuery {
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 6
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: api.PartnerQueryOptions Options = 7
*/
Options?: PartnerQueryOptions;
}
/**
* @generated from protobuf message api.PartnerByFilterResult
@@ -95,6 +103,11 @@ export interface PartnerByFilterResult {
*/
queryContext: string;
}
/**
* @generated from protobuf message api.PartnerQueryOptions
*/
export interface PartnerQueryOptions {
}
/**
* @generated from protobuf message api.PartnerByMatchQuery
*/
@@ -130,7 +143,8 @@ class PartnerByIdQuery$Type extends MessageType<PartnerByIdQuery> {
constructor() {
super("api.PartnerByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => PartnerQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<PartnerByIdQuery>): PartnerByIdQuery {
@@ -151,6 +165,9 @@ class PartnerByIdQuery$Type extends MessageType<PartnerByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.PartnerQueryOptions Options */ 3:
message.Options = PartnerQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -169,6 +186,9 @@ class PartnerByIdQuery$Type extends MessageType<PartnerByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.PartnerQueryOptions Options = 3; */
if (message.Options)
PartnerQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -240,7 +260,8 @@ class PartnerByFilterQuery$Type extends MessageType<PartnerByFilterQuery> {
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 7, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => PartnerQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<PartnerByFilterQuery>): PartnerByFilterQuery {
@@ -269,6 +290,9 @@ class PartnerByFilterQuery$Type extends MessageType<PartnerByFilterQuery> {
case /* repeated api.BlockFilter BlockFilters */ 6:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.PartnerQueryOptions Options */ 7:
message.Options = PartnerQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -293,6 +317,9 @@ class PartnerByFilterQuery$Type extends MessageType<PartnerByFilterQuery> {
/* repeated api.BlockFilter BlockFilters = 6; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* api.PartnerQueryOptions Options = 7; */
if (message.Options)
PartnerQueryOptions.internalBinaryWrite(message.Options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -366,6 +393,44 @@ class PartnerByFilterResult$Type extends MessageType<PartnerByFilterResult> {
*/
export const PartnerByFilterResult = new PartnerByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class PartnerQueryOptions$Type extends MessageType<PartnerQueryOptions> {
constructor() {
super("api.PartnerQueryOptions", []);
}
create(value?: PartialMessage<PartnerQueryOptions>): PartnerQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<PartnerQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PartnerQueryOptions): PartnerQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: PartnerQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.PartnerQueryOptions
*/
export const PartnerQueryOptions = new PartnerQueryOptions$Type();
// @generated message type with reflection information, may provide speed optimized methods
class PartnerByMatchQuery$Type extends MessageType<PartnerByMatchQuery> {
constructor() {
super("api.PartnerByMatchQuery", [

View File

@@ -44,6 +44,10 @@ export interface StockByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.StockQueryOptions Options = 3
*/
Options?: StockQueryOptions;
}
/**
* @generated from protobuf message api.StockByIdResult
@@ -82,6 +86,10 @@ export interface StockByFilterQuery {
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 7
*/
BlockFilters: BlockFilter[];
/**
* @generated from protobuf field: api.StockQueryOptions Options = 8
*/
Options?: StockQueryOptions;
}
/**
* @generated from protobuf message api.StockByFilterResult
@@ -100,6 +108,11 @@ export interface StockByFilterResult {
*/
queryContext: string;
}
/**
* @generated from protobuf message api.StockQueryOptions
*/
export interface StockQueryOptions {
}
/**
* @generated from protobuf message api.StockByMatchQuery
*/
@@ -120,6 +133,10 @@ export interface StockByMatchQuery {
* @generated from protobuf field: repeated api.MatchField MatchFields = 6
*/
MatchFields: MatchField[];
/**
* @generated from protobuf field: api.StockQueryOptions Options = 7
*/
Options?: StockQueryOptions;
}
/**
* @generated from protobuf message api.StockByMatchResult
@@ -135,7 +152,8 @@ class StockByIdQuery$Type extends MessageType<StockByIdQuery> {
constructor() {
super("api.StockByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => StockQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<StockByIdQuery>): StockByIdQuery {
@@ -156,6 +174,9 @@ class StockByIdQuery$Type extends MessageType<StockByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.StockQueryOptions Options */ 3:
message.Options = StockQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -174,6 +195,9 @@ class StockByIdQuery$Type extends MessageType<StockByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.StockQueryOptions Options = 3; */
if (message.Options)
StockQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -245,7 +269,8 @@ class StockByFilterQuery$Type extends MessageType<StockByFilterQuery> {
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
{ no: 7, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 8, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => StockQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<StockByFilterQuery>): StockByFilterQuery {
@@ -274,6 +299,9 @@ class StockByFilterQuery$Type extends MessageType<StockByFilterQuery> {
case /* repeated api.BlockFilter BlockFilters */ 7:
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.StockQueryOptions Options */ 8:
message.Options = StockQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -298,6 +326,9 @@ class StockByFilterQuery$Type extends MessageType<StockByFilterQuery> {
/* repeated api.BlockFilter BlockFilters = 7; */
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
/* api.StockQueryOptions Options = 8; */
if (message.Options)
StockQueryOptions.internalBinaryWrite(message.Options, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -371,12 +402,51 @@ class StockByFilterResult$Type extends MessageType<StockByFilterResult> {
*/
export const StockByFilterResult = new StockByFilterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StockQueryOptions$Type extends MessageType<StockQueryOptions> {
constructor() {
super("api.StockQueryOptions", []);
}
create(value?: PartialMessage<StockQueryOptions>): StockQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<StockQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StockQueryOptions): StockQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: StockQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.StockQueryOptions
*/
export const StockQueryOptions = new StockQueryOptions$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StockByMatchQuery$Type extends MessageType<StockByMatchQuery> {
constructor() {
super("api.StockByMatchQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 5, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 6, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } }
{ no: 6, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } },
{ no: 7, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => StockQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<StockByMatchQuery>): StockByMatchQuery {
@@ -401,6 +471,9 @@ class StockByMatchQuery$Type extends MessageType<StockByMatchQuery> {
case /* repeated api.MatchField MatchFields */ 6:
message.MatchFields.push(MatchField.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.StockQueryOptions Options */ 7:
message.Options = StockQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -422,6 +495,9 @@ class StockByMatchQuery$Type extends MessageType<StockByMatchQuery> {
/* repeated api.MatchField MatchFields = 6; */
for (let i = 0; i < message.MatchFields.length; i++)
MatchField.internalBinaryWrite(message.MatchFields[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* api.StockQueryOptions Options = 7; */
if (message.Options)
StockQueryOptions.internalBinaryWrite(message.Options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -32,6 +32,10 @@ export interface TrackingByIdQuery {
* @generated from protobuf field: repeated api.EntityID IDs = 2
*/
IDs: EntityID[];
/**
* @generated from protobuf field: api.TrackingQueryOptions Options = 3
*/
Options?: TrackingQueryOptions;
}
/**
* @generated from protobuf message api.TrackingByIdResult
@@ -46,12 +50,18 @@ export interface TrackingByIdResult {
*/
Objects: Tracking[];
}
/**
* @generated from protobuf message api.TrackingQueryOptions
*/
export interface TrackingQueryOptions {
}
// @generated message type with reflection information, may provide speed optimized methods
class TrackingByIdQuery$Type extends MessageType<TrackingByIdQuery> {
constructor() {
super("api.TrackingByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => TrackingQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<TrackingByIdQuery>): TrackingByIdQuery {
@@ -72,6 +82,9 @@ class TrackingByIdQuery$Type extends MessageType<TrackingByIdQuery> {
case /* repeated api.EntityID IDs */ 2:
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* api.TrackingQueryOptions Options */ 3:
message.Options = TrackingQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -90,6 +103,9 @@ class TrackingByIdQuery$Type extends MessageType<TrackingByIdQuery> {
/* repeated api.EntityID IDs = 2; */
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.TrackingQueryOptions Options = 3; */
if (message.Options)
TrackingQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -154,6 +170,44 @@ class TrackingByIdResult$Type extends MessageType<TrackingByIdResult> {
* @generated MessageType for protobuf message api.TrackingByIdResult
*/
export const TrackingByIdResult = new TrackingByIdResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class TrackingQueryOptions$Type extends MessageType<TrackingQueryOptions> {
constructor() {
super("api.TrackingQueryOptions", []);
}
create(value?: PartialMessage<TrackingQueryOptions>): TrackingQueryOptions {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<TrackingQueryOptions>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrackingQueryOptions): TrackingQueryOptions {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: TrackingQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.TrackingQueryOptions
*/
export const TrackingQueryOptions = new TrackingQueryOptions$Type();
/**
* @generated ServiceType for protobuf service api.TrackingQuery
*/