Latest generation

This commit is contained in:
ci core model
2025-11-18 09:20:12 +00:00
parent 8c89c90f3f
commit e0365ef548
11 changed files with 11 additions and 131 deletions

View File

@@ -44,10 +44,6 @@ export interface ActorByIdQuery {
* @generated from protobuf field: api.ActorQueryOptions Options = 3
*/
Options?: ActorQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.ActorByIdResult
@@ -169,14 +165,12 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
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: () => QueryEntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ActorQueryOptions },
{ no: 4, name: "RefIDs", kind: "scalar", localName: "RefIDs", jsonName: "RefIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ 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 {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<ActorByIdQuery>(this, message, value);
return message;
@@ -195,9 +189,6 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
case /* api.ActorQueryOptions Options */ 3:
message.Options = ActorQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
case /* repeated string RefIDs */ 4:
message.RefIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -219,9 +210,6 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
/* api.ActorQueryOptions Options = 3; */
if (message.Options)
ActorQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated string RefIDs = 4; */
for (let i = 0; i < message.RefIDs.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.RefIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -49,10 +49,6 @@ export interface ClaimByIdQuery {
* @generated from protobuf field: api.ClaimQueryOptions Options = 3
*/
Options?: ClaimQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.ClaimByIdResult
@@ -222,14 +218,12 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
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: () => QueryEntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ClaimQueryOptions },
{ no: 4, name: "RefIDs", kind: "scalar", localName: "RefIDs", jsonName: "RefIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ 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 {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<ClaimByIdQuery>(this, message, value);
return message;
@@ -248,9 +242,6 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
case /* api.ClaimQueryOptions Options */ 3:
message.Options = ClaimQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
case /* repeated string RefIDs */ 4:
message.RefIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -272,9 +263,6 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
/* api.ClaimQueryOptions Options = 3; */
if (message.Options)
ClaimQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated string RefIDs = 4; */
for (let i = 0; i < message.RefIDs.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.RefIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -40,10 +40,6 @@ export interface ExecutionflowByIdQuery {
* @generated from protobuf field: api.ExecutionflowQueryOptions Options = 3
*/
Options?: ExecutionflowQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.ExecutionflowByIdResult
@@ -131,14 +127,12 @@ class ExecutionflowByIdQuery$Type extends MessageType<ExecutionflowByIdQuery> {
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: () => QueryEntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ExecutionflowQueryOptions },
{ no: 4, name: "RefIDs", kind: "scalar", localName: "RefIDs", jsonName: "RefIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ 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 {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<ExecutionflowByIdQuery>(this, message, value);
return message;
@@ -157,9 +151,6 @@ class ExecutionflowByIdQuery$Type extends MessageType<ExecutionflowByIdQuery> {
case /* api.ExecutionflowQueryOptions Options */ 3:
message.Options = ExecutionflowQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
case /* repeated string RefIDs */ 4:
message.RefIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -181,9 +172,6 @@ class ExecutionflowByIdQuery$Type extends MessageType<ExecutionflowByIdQuery> {
/* api.ExecutionflowQueryOptions Options = 3; */
if (message.Options)
ExecutionflowQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated string RefIDs = 4; */
for (let i = 0; i < message.RefIDs.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.RefIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -46,10 +46,6 @@ export interface HandlingunitByIdQuery {
* @generated from protobuf field: api.HandlingunitQueryOptions Options = 3
*/
Options?: HandlingunitQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.HandlingunitByIdResult
@@ -169,14 +165,12 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
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: () => QueryEntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => HandlingunitQueryOptions },
{ no: 4, name: "RefIDs", kind: "scalar", localName: "RefIDs", jsonName: "RefIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ 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 {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<HandlingunitByIdQuery>(this, message, value);
return message;
@@ -195,9 +189,6 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
case /* api.HandlingunitQueryOptions Options */ 3:
message.Options = HandlingunitQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
case /* repeated string RefIDs */ 4:
message.RefIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -219,9 +210,6 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
/* api.HandlingunitQueryOptions Options = 3; */
if (message.Options)
HandlingunitQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated string RefIDs = 4; */
for (let i = 0; i < message.RefIDs.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.RefIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -45,10 +45,6 @@ export interface ItemByIdQuery {
* @generated from protobuf field: api.ItemQueryOptions Options = 3
*/
Options?: ItemQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.ItemByIdResult
@@ -206,14 +202,12 @@ class ItemByIdQuery$Type extends MessageType<ItemByIdQuery> {
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: () => QueryEntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ItemQueryOptions },
{ no: 4, name: "RefIDs", kind: "scalar", localName: "RefIDs", jsonName: "RefIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ 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 {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<ItemByIdQuery>(this, message, value);
return message;
@@ -232,9 +226,6 @@ class ItemByIdQuery$Type extends MessageType<ItemByIdQuery> {
case /* api.ItemQueryOptions Options */ 3:
message.Options = ItemQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
case /* repeated string RefIDs */ 4:
message.RefIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -256,9 +247,6 @@ class ItemByIdQuery$Type extends MessageType<ItemByIdQuery> {
/* api.ItemQueryOptions Options = 3; */
if (message.Options)
ItemQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated string RefIDs = 4; */
for (let i = 0; i < message.RefIDs.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.RefIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -46,10 +46,6 @@ export interface MovementByIdQuery {
* @generated from protobuf field: api.MovementQueryOptions Options = 3
*/
Options?: MovementQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.MovementByIdResult
@@ -201,14 +197,12 @@ class MovementByIdQuery$Type extends MessageType<MovementByIdQuery> {
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: () => QueryEntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => MovementQueryOptions },
{ no: 4, name: "RefIDs", kind: "scalar", localName: "RefIDs", jsonName: "RefIDs", 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", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<MovementByIdQuery>): MovementByIdQuery {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<MovementByIdQuery>(this, message, value);
return message;
@@ -227,9 +221,6 @@ class MovementByIdQuery$Type extends MessageType<MovementByIdQuery> {
case /* api.MovementQueryOptions Options */ 3:
message.Options = MovementQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
case /* repeated string RefIDs */ 4:
message.RefIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -251,9 +242,6 @@ class MovementByIdQuery$Type extends MessageType<MovementByIdQuery> {
/* api.MovementQueryOptions Options = 3; */
if (message.Options)
MovementQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated string RefIDs = 4; */
for (let i = 0; i < message.RefIDs.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.RefIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -44,10 +44,6 @@ export interface OrderByIdQuery {
* @generated from protobuf field: api.OrderQueryOptions Options = 3
*/
Options?: OrderQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.OrderByIdResult
@@ -173,14 +169,12 @@ class OrderByIdQuery$Type extends MessageType<OrderByIdQuery> {
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: () => QueryEntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => OrderQueryOptions },
{ no: 4, name: "RefIDs", kind: "scalar", localName: "RefIDs", jsonName: "RefIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ 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 {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<OrderByIdQuery>(this, message, value);
return message;
@@ -199,9 +193,6 @@ class OrderByIdQuery$Type extends MessageType<OrderByIdQuery> {
case /* api.OrderQueryOptions Options */ 3:
message.Options = OrderQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
case /* repeated string RefIDs */ 4:
message.RefIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -223,9 +214,6 @@ class OrderByIdQuery$Type extends MessageType<OrderByIdQuery> {
/* api.OrderQueryOptions Options = 3; */
if (message.Options)
OrderQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated string RefIDs = 4; */
for (let i = 0; i < message.RefIDs.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.RefIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

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

View File

@@ -44,10 +44,6 @@ export interface PartnerByIdQuery {
* @generated from protobuf field: api.PartnerQueryOptions Options = 3
*/
Options?: PartnerQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.PartnerByIdResult
@@ -169,14 +165,12 @@ class PartnerByIdQuery$Type extends MessageType<PartnerByIdQuery> {
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: () => QueryEntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => PartnerQueryOptions },
{ no: 4, name: "RefIDs", kind: "scalar", localName: "RefIDs", jsonName: "RefIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ 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 {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<PartnerByIdQuery>(this, message, value);
return message;
@@ -195,9 +189,6 @@ class PartnerByIdQuery$Type extends MessageType<PartnerByIdQuery> {
case /* api.PartnerQueryOptions Options */ 3:
message.Options = PartnerQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
case /* repeated string RefIDs */ 4:
message.RefIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -219,9 +210,6 @@ class PartnerByIdQuery$Type extends MessageType<PartnerByIdQuery> {
/* api.PartnerQueryOptions Options = 3; */
if (message.Options)
PartnerQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated string RefIDs = 4; */
for (let i = 0; i < message.RefIDs.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.RefIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -49,10 +49,6 @@ export interface StockByIdQuery {
* @generated from protobuf field: api.StockQueryOptions Options = 3
*/
Options?: StockQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.StockByIdResult
@@ -178,14 +174,12 @@ class StockByIdQuery$Type extends MessageType<StockByIdQuery> {
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: () => QueryEntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => StockQueryOptions },
{ no: 4, name: "RefIDs", kind: "scalar", localName: "RefIDs", jsonName: "RefIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ 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 {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<StockByIdQuery>(this, message, value);
return message;
@@ -204,9 +198,6 @@ class StockByIdQuery$Type extends MessageType<StockByIdQuery> {
case /* api.StockQueryOptions Options */ 3:
message.Options = StockQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
case /* repeated string RefIDs */ 4:
message.RefIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -228,9 +219,6 @@ class StockByIdQuery$Type extends MessageType<StockByIdQuery> {
/* api.StockQueryOptions Options = 3; */
if (message.Options)
StockQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated string RefIDs = 4; */
for (let i = 0; i < message.RefIDs.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.RefIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -36,10 +36,6 @@ export interface TrackingByIdQuery {
* @generated from protobuf field: api.TrackingQueryOptions Options = 3
*/
Options?: TrackingQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.TrackingByIdResult
@@ -69,14 +65,12 @@ class TrackingByIdQuery$Type extends MessageType<TrackingByIdQuery> {
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: () => QueryEntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => TrackingQueryOptions },
{ no: 4, name: "RefIDs", kind: "scalar", localName: "RefIDs", jsonName: "RefIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ 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 {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<TrackingByIdQuery>(this, message, value);
return message;
@@ -95,9 +89,6 @@ class TrackingByIdQuery$Type extends MessageType<TrackingByIdQuery> {
case /* api.TrackingQueryOptions Options */ 3:
message.Options = TrackingQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
case /* repeated string RefIDs */ 4:
message.RefIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -119,9 +110,6 @@ class TrackingByIdQuery$Type extends MessageType<TrackingByIdQuery> {
/* api.TrackingQueryOptions Options = 3; */
if (message.Options)
TrackingQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated string RefIDs = 4; */
for (let i = 0; i < message.RefIDs.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.RefIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);