You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -44,10 +44,6 @@ export interface ActorByIdQuery {
|
|||||||
* @generated from protobuf field: api.ActorQueryOptions Options = 3
|
* @generated from protobuf field: api.ActorQueryOptions Options = 3
|
||||||
*/
|
*/
|
||||||
Options?: ActorQueryOptions;
|
Options?: ActorQueryOptions;
|
||||||
/**
|
|
||||||
* @generated from protobuf field: repeated string RefIDs = 4
|
|
||||||
*/
|
|
||||||
RefIDs: string[];
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.ActorByIdResult
|
* @generated from protobuf message api.ActorByIdResult
|
||||||
@@ -169,14 +165,12 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
|
|||||||
super("api.ActorByIdQuery", [
|
super("api.ActorByIdQuery", [
|
||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ 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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<ActorByIdQuery>): ActorByIdQuery {
|
create(value?: PartialMessage<ActorByIdQuery>): ActorByIdQuery {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.IDs = [];
|
message.IDs = [];
|
||||||
message.RefIDs = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<ActorByIdQuery>(this, message, value);
|
reflectionMergePartial<ActorByIdQuery>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -195,9 +189,6 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
|
|||||||
case /* api.ActorQueryOptions Options */ 3:
|
case /* api.ActorQueryOptions Options */ 3:
|
||||||
message.Options = ActorQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
message.Options = ActorQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
||||||
break;
|
break;
|
||||||
case /* repeated string RefIDs */ 4:
|
|
||||||
message.RefIDs.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -219,9 +210,6 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
|
|||||||
/* api.ActorQueryOptions Options = 3; */
|
/* api.ActorQueryOptions Options = 3; */
|
||||||
if (message.Options)
|
if (message.Options)
|
||||||
ActorQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -49,10 +49,6 @@ export interface ClaimByIdQuery {
|
|||||||
* @generated from protobuf field: api.ClaimQueryOptions Options = 3
|
* @generated from protobuf field: api.ClaimQueryOptions Options = 3
|
||||||
*/
|
*/
|
||||||
Options?: ClaimQueryOptions;
|
Options?: ClaimQueryOptions;
|
||||||
/**
|
|
||||||
* @generated from protobuf field: repeated string RefIDs = 4
|
|
||||||
*/
|
|
||||||
RefIDs: string[];
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.ClaimByIdResult
|
* @generated from protobuf message api.ClaimByIdResult
|
||||||
@@ -222,14 +218,12 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
|
|||||||
super("api.ClaimByIdQuery", [
|
super("api.ClaimByIdQuery", [
|
||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ 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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<ClaimByIdQuery>): ClaimByIdQuery {
|
create(value?: PartialMessage<ClaimByIdQuery>): ClaimByIdQuery {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.IDs = [];
|
message.IDs = [];
|
||||||
message.RefIDs = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<ClaimByIdQuery>(this, message, value);
|
reflectionMergePartial<ClaimByIdQuery>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -248,9 +242,6 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
|
|||||||
case /* api.ClaimQueryOptions Options */ 3:
|
case /* api.ClaimQueryOptions Options */ 3:
|
||||||
message.Options = ClaimQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
message.Options = ClaimQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
||||||
break;
|
break;
|
||||||
case /* repeated string RefIDs */ 4:
|
|
||||||
message.RefIDs.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -272,9 +263,6 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
|
|||||||
/* api.ClaimQueryOptions Options = 3; */
|
/* api.ClaimQueryOptions Options = 3; */
|
||||||
if (message.Options)
|
if (message.Options)
|
||||||
ClaimQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -40,10 +40,6 @@ export interface ExecutionflowByIdQuery {
|
|||||||
* @generated from protobuf field: api.ExecutionflowQueryOptions Options = 3
|
* @generated from protobuf field: api.ExecutionflowQueryOptions Options = 3
|
||||||
*/
|
*/
|
||||||
Options?: ExecutionflowQueryOptions;
|
Options?: ExecutionflowQueryOptions;
|
||||||
/**
|
|
||||||
* @generated from protobuf field: repeated string RefIDs = 4
|
|
||||||
*/
|
|
||||||
RefIDs: string[];
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.ExecutionflowByIdResult
|
* @generated from protobuf message api.ExecutionflowByIdResult
|
||||||
@@ -131,14 +127,12 @@ class ExecutionflowByIdQuery$Type extends MessageType<ExecutionflowByIdQuery> {
|
|||||||
super("api.ExecutionflowByIdQuery", [
|
super("api.ExecutionflowByIdQuery", [
|
||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ 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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<ExecutionflowByIdQuery>): ExecutionflowByIdQuery {
|
create(value?: PartialMessage<ExecutionflowByIdQuery>): ExecutionflowByIdQuery {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.IDs = [];
|
message.IDs = [];
|
||||||
message.RefIDs = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<ExecutionflowByIdQuery>(this, message, value);
|
reflectionMergePartial<ExecutionflowByIdQuery>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -157,9 +151,6 @@ class ExecutionflowByIdQuery$Type extends MessageType<ExecutionflowByIdQuery> {
|
|||||||
case /* api.ExecutionflowQueryOptions Options */ 3:
|
case /* api.ExecutionflowQueryOptions Options */ 3:
|
||||||
message.Options = ExecutionflowQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
message.Options = ExecutionflowQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
||||||
break;
|
break;
|
||||||
case /* repeated string RefIDs */ 4:
|
|
||||||
message.RefIDs.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -181,9 +172,6 @@ class ExecutionflowByIdQuery$Type extends MessageType<ExecutionflowByIdQuery> {
|
|||||||
/* api.ExecutionflowQueryOptions Options = 3; */
|
/* api.ExecutionflowQueryOptions Options = 3; */
|
||||||
if (message.Options)
|
if (message.Options)
|
||||||
ExecutionflowQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -46,10 +46,6 @@ export interface HandlingunitByIdQuery {
|
|||||||
* @generated from protobuf field: api.HandlingunitQueryOptions Options = 3
|
* @generated from protobuf field: api.HandlingunitQueryOptions Options = 3
|
||||||
*/
|
*/
|
||||||
Options?: HandlingunitQueryOptions;
|
Options?: HandlingunitQueryOptions;
|
||||||
/**
|
|
||||||
* @generated from protobuf field: repeated string RefIDs = 4
|
|
||||||
*/
|
|
||||||
RefIDs: string[];
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.HandlingunitByIdResult
|
* @generated from protobuf message api.HandlingunitByIdResult
|
||||||
@@ -169,14 +165,12 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
|
|||||||
super("api.HandlingunitByIdQuery", [
|
super("api.HandlingunitByIdQuery", [
|
||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ 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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<HandlingunitByIdQuery>): HandlingunitByIdQuery {
|
create(value?: PartialMessage<HandlingunitByIdQuery>): HandlingunitByIdQuery {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.IDs = [];
|
message.IDs = [];
|
||||||
message.RefIDs = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<HandlingunitByIdQuery>(this, message, value);
|
reflectionMergePartial<HandlingunitByIdQuery>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -195,9 +189,6 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
|
|||||||
case /* api.HandlingunitQueryOptions Options */ 3:
|
case /* api.HandlingunitQueryOptions Options */ 3:
|
||||||
message.Options = HandlingunitQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
message.Options = HandlingunitQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
||||||
break;
|
break;
|
||||||
case /* repeated string RefIDs */ 4:
|
|
||||||
message.RefIDs.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -219,9 +210,6 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
|
|||||||
/* api.HandlingunitQueryOptions Options = 3; */
|
/* api.HandlingunitQueryOptions Options = 3; */
|
||||||
if (message.Options)
|
if (message.Options)
|
||||||
HandlingunitQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
14
itemQuery.ts
14
itemQuery.ts
@@ -45,10 +45,6 @@ export interface ItemByIdQuery {
|
|||||||
* @generated from protobuf field: api.ItemQueryOptions Options = 3
|
* @generated from protobuf field: api.ItemQueryOptions Options = 3
|
||||||
*/
|
*/
|
||||||
Options?: ItemQueryOptions;
|
Options?: ItemQueryOptions;
|
||||||
/**
|
|
||||||
* @generated from protobuf field: repeated string RefIDs = 4
|
|
||||||
*/
|
|
||||||
RefIDs: string[];
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.ItemByIdResult
|
* @generated from protobuf message api.ItemByIdResult
|
||||||
@@ -206,14 +202,12 @@ class ItemByIdQuery$Type extends MessageType<ItemByIdQuery> {
|
|||||||
super("api.ItemByIdQuery", [
|
super("api.ItemByIdQuery", [
|
||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ 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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<ItemByIdQuery>): ItemByIdQuery {
|
create(value?: PartialMessage<ItemByIdQuery>): ItemByIdQuery {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.IDs = [];
|
message.IDs = [];
|
||||||
message.RefIDs = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<ItemByIdQuery>(this, message, value);
|
reflectionMergePartial<ItemByIdQuery>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -232,9 +226,6 @@ class ItemByIdQuery$Type extends MessageType<ItemByIdQuery> {
|
|||||||
case /* api.ItemQueryOptions Options */ 3:
|
case /* api.ItemQueryOptions Options */ 3:
|
||||||
message.Options = ItemQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
message.Options = ItemQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
||||||
break;
|
break;
|
||||||
case /* repeated string RefIDs */ 4:
|
|
||||||
message.RefIDs.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -256,9 +247,6 @@ class ItemByIdQuery$Type extends MessageType<ItemByIdQuery> {
|
|||||||
/* api.ItemQueryOptions Options = 3; */
|
/* api.ItemQueryOptions Options = 3; */
|
||||||
if (message.Options)
|
if (message.Options)
|
||||||
ItemQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -46,10 +46,6 @@ export interface MovementByIdQuery {
|
|||||||
* @generated from protobuf field: api.MovementQueryOptions Options = 3
|
* @generated from protobuf field: api.MovementQueryOptions Options = 3
|
||||||
*/
|
*/
|
||||||
Options?: MovementQueryOptions;
|
Options?: MovementQueryOptions;
|
||||||
/**
|
|
||||||
* @generated from protobuf field: repeated string RefIDs = 4
|
|
||||||
*/
|
|
||||||
RefIDs: string[];
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.MovementByIdResult
|
* @generated from protobuf message api.MovementByIdResult
|
||||||
@@ -201,14 +197,12 @@ class MovementByIdQuery$Type extends MessageType<MovementByIdQuery> {
|
|||||||
super("api.MovementByIdQuery", [
|
super("api.MovementByIdQuery", [
|
||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ 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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<MovementByIdQuery>): MovementByIdQuery {
|
create(value?: PartialMessage<MovementByIdQuery>): MovementByIdQuery {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.IDs = [];
|
message.IDs = [];
|
||||||
message.RefIDs = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<MovementByIdQuery>(this, message, value);
|
reflectionMergePartial<MovementByIdQuery>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -227,9 +221,6 @@ class MovementByIdQuery$Type extends MessageType<MovementByIdQuery> {
|
|||||||
case /* api.MovementQueryOptions Options */ 3:
|
case /* api.MovementQueryOptions Options */ 3:
|
||||||
message.Options = MovementQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
message.Options = MovementQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
||||||
break;
|
break;
|
||||||
case /* repeated string RefIDs */ 4:
|
|
||||||
message.RefIDs.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -251,9 +242,6 @@ class MovementByIdQuery$Type extends MessageType<MovementByIdQuery> {
|
|||||||
/* api.MovementQueryOptions Options = 3; */
|
/* api.MovementQueryOptions Options = 3; */
|
||||||
if (message.Options)
|
if (message.Options)
|
||||||
MovementQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -44,10 +44,6 @@ export interface OrderByIdQuery {
|
|||||||
* @generated from protobuf field: api.OrderQueryOptions Options = 3
|
* @generated from protobuf field: api.OrderQueryOptions Options = 3
|
||||||
*/
|
*/
|
||||||
Options?: OrderQueryOptions;
|
Options?: OrderQueryOptions;
|
||||||
/**
|
|
||||||
* @generated from protobuf field: repeated string RefIDs = 4
|
|
||||||
*/
|
|
||||||
RefIDs: string[];
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.OrderByIdResult
|
* @generated from protobuf message api.OrderByIdResult
|
||||||
@@ -173,14 +169,12 @@ class OrderByIdQuery$Type extends MessageType<OrderByIdQuery> {
|
|||||||
super("api.OrderByIdQuery", [
|
super("api.OrderByIdQuery", [
|
||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ 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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<OrderByIdQuery>): OrderByIdQuery {
|
create(value?: PartialMessage<OrderByIdQuery>): OrderByIdQuery {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.IDs = [];
|
message.IDs = [];
|
||||||
message.RefIDs = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<OrderByIdQuery>(this, message, value);
|
reflectionMergePartial<OrderByIdQuery>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -199,9 +193,6 @@ class OrderByIdQuery$Type extends MessageType<OrderByIdQuery> {
|
|||||||
case /* api.OrderQueryOptions Options */ 3:
|
case /* api.OrderQueryOptions Options */ 3:
|
||||||
message.Options = OrderQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
message.Options = OrderQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
||||||
break;
|
break;
|
||||||
case /* repeated string RefIDs */ 4:
|
|
||||||
message.RefIDs.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -223,9 +214,6 @@ class OrderByIdQuery$Type extends MessageType<OrderByIdQuery> {
|
|||||||
/* api.OrderQueryOptions Options = 3; */
|
/* api.OrderQueryOptions Options = 3; */
|
||||||
if (message.Options)
|
if (message.Options)
|
||||||
OrderQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"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",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
@@ -44,10 +44,6 @@ export interface PartnerByIdQuery {
|
|||||||
* @generated from protobuf field: api.PartnerQueryOptions Options = 3
|
* @generated from protobuf field: api.PartnerQueryOptions Options = 3
|
||||||
*/
|
*/
|
||||||
Options?: PartnerQueryOptions;
|
Options?: PartnerQueryOptions;
|
||||||
/**
|
|
||||||
* @generated from protobuf field: repeated string RefIDs = 4
|
|
||||||
*/
|
|
||||||
RefIDs: string[];
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.PartnerByIdResult
|
* @generated from protobuf message api.PartnerByIdResult
|
||||||
@@ -169,14 +165,12 @@ class PartnerByIdQuery$Type extends MessageType<PartnerByIdQuery> {
|
|||||||
super("api.PartnerByIdQuery", [
|
super("api.PartnerByIdQuery", [
|
||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ 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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<PartnerByIdQuery>): PartnerByIdQuery {
|
create(value?: PartialMessage<PartnerByIdQuery>): PartnerByIdQuery {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.IDs = [];
|
message.IDs = [];
|
||||||
message.RefIDs = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<PartnerByIdQuery>(this, message, value);
|
reflectionMergePartial<PartnerByIdQuery>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -195,9 +189,6 @@ class PartnerByIdQuery$Type extends MessageType<PartnerByIdQuery> {
|
|||||||
case /* api.PartnerQueryOptions Options */ 3:
|
case /* api.PartnerQueryOptions Options */ 3:
|
||||||
message.Options = PartnerQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
message.Options = PartnerQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
||||||
break;
|
break;
|
||||||
case /* repeated string RefIDs */ 4:
|
|
||||||
message.RefIDs.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -219,9 +210,6 @@ class PartnerByIdQuery$Type extends MessageType<PartnerByIdQuery> {
|
|||||||
/* api.PartnerQueryOptions Options = 3; */
|
/* api.PartnerQueryOptions Options = 3; */
|
||||||
if (message.Options)
|
if (message.Options)
|
||||||
PartnerQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -49,10 +49,6 @@ export interface StockByIdQuery {
|
|||||||
* @generated from protobuf field: api.StockQueryOptions Options = 3
|
* @generated from protobuf field: api.StockQueryOptions Options = 3
|
||||||
*/
|
*/
|
||||||
Options?: StockQueryOptions;
|
Options?: StockQueryOptions;
|
||||||
/**
|
|
||||||
* @generated from protobuf field: repeated string RefIDs = 4
|
|
||||||
*/
|
|
||||||
RefIDs: string[];
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.StockByIdResult
|
* @generated from protobuf message api.StockByIdResult
|
||||||
@@ -178,14 +174,12 @@ class StockByIdQuery$Type extends MessageType<StockByIdQuery> {
|
|||||||
super("api.StockByIdQuery", [
|
super("api.StockByIdQuery", [
|
||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ 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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<StockByIdQuery>): StockByIdQuery {
|
create(value?: PartialMessage<StockByIdQuery>): StockByIdQuery {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.IDs = [];
|
message.IDs = [];
|
||||||
message.RefIDs = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<StockByIdQuery>(this, message, value);
|
reflectionMergePartial<StockByIdQuery>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -204,9 +198,6 @@ class StockByIdQuery$Type extends MessageType<StockByIdQuery> {
|
|||||||
case /* api.StockQueryOptions Options */ 3:
|
case /* api.StockQueryOptions Options */ 3:
|
||||||
message.Options = StockQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
message.Options = StockQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
||||||
break;
|
break;
|
||||||
case /* repeated string RefIDs */ 4:
|
|
||||||
message.RefIDs.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -228,9 +219,6 @@ class StockByIdQuery$Type extends MessageType<StockByIdQuery> {
|
|||||||
/* api.StockQueryOptions Options = 3; */
|
/* api.StockQueryOptions Options = 3; */
|
||||||
if (message.Options)
|
if (message.Options)
|
||||||
StockQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -36,10 +36,6 @@ export interface TrackingByIdQuery {
|
|||||||
* @generated from protobuf field: api.TrackingQueryOptions Options = 3
|
* @generated from protobuf field: api.TrackingQueryOptions Options = 3
|
||||||
*/
|
*/
|
||||||
Options?: TrackingQueryOptions;
|
Options?: TrackingQueryOptions;
|
||||||
/**
|
|
||||||
* @generated from protobuf field: repeated string RefIDs = 4
|
|
||||||
*/
|
|
||||||
RefIDs: string[];
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.TrackingByIdResult
|
* @generated from protobuf message api.TrackingByIdResult
|
||||||
@@ -69,14 +65,12 @@ class TrackingByIdQuery$Type extends MessageType<TrackingByIdQuery> {
|
|||||||
super("api.TrackingByIdQuery", [
|
super("api.TrackingByIdQuery", [
|
||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ 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: 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: 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*/ }
|
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<TrackingByIdQuery>): TrackingByIdQuery {
|
create(value?: PartialMessage<TrackingByIdQuery>): TrackingByIdQuery {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.IDs = [];
|
message.IDs = [];
|
||||||
message.RefIDs = [];
|
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<TrackingByIdQuery>(this, message, value);
|
reflectionMergePartial<TrackingByIdQuery>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -95,9 +89,6 @@ class TrackingByIdQuery$Type extends MessageType<TrackingByIdQuery> {
|
|||||||
case /* api.TrackingQueryOptions Options */ 3:
|
case /* api.TrackingQueryOptions Options */ 3:
|
||||||
message.Options = TrackingQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
message.Options = TrackingQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
||||||
break;
|
break;
|
||||||
case /* repeated string RefIDs */ 4:
|
|
||||||
message.RefIDs.push(reader.string());
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -119,9 +110,6 @@ class TrackingByIdQuery$Type extends MessageType<TrackingByIdQuery> {
|
|||||||
/* api.TrackingQueryOptions Options = 3; */
|
/* api.TrackingQueryOptions Options = 3; */
|
||||||
if (message.Options)
|
if (message.Options)
|
||||||
TrackingQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
Reference in New Issue
Block a user