You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -116,6 +116,10 @@ export interface ActorByFilterResult {
|
||||
* @generated from protobuf message api.ActorQueryOptions
|
||||
*/
|
||||
export interface ActorQueryOptions {
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 1
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ActorByMatchQuery
|
||||
@@ -428,10 +432,13 @@ 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", []);
|
||||
super("api.ActorQueryOptions", [
|
||||
{ no: 1, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Actor", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ActorQueryOptions>): ActorQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ActorQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -441,6 +448,9 @@ class ActorQueryOptions$Type extends MessageType<ActorQueryOptions> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated string Only */ 1:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -453,6 +463,9 @@ class ActorQueryOptions$Type extends MessageType<ActorQueryOptions> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ActorQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated string Only = 1; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -119,6 +119,10 @@ export interface AppointmentByFilterResult {
|
||||
* @generated from protobuf message api.AppointmentQueryOptions
|
||||
*/
|
||||
export interface AppointmentQueryOptions {
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 1
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentByMatchQuery
|
||||
@@ -494,10 +498,13 @@ 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", []);
|
||||
super("api.AppointmentQueryOptions", [
|
||||
{ no: 1, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Appointment", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentQueryOptions>): AppointmentQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -507,6 +514,9 @@ class AppointmentQueryOptions$Type extends MessageType<AppointmentQueryOptions>
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated string Only */ 1:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -519,6 +529,9 @@ class AppointmentQueryOptions$Type extends MessageType<AppointmentQueryOptions>
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AppointmentQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated string Only = 1; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -120,6 +120,10 @@ export interface ClaimByFilterResult {
|
||||
* @generated from protobuf message api.ClaimQueryOptions
|
||||
*/
|
||||
export interface ClaimQueryOptions {
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 1
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ClaimByMatchQuery
|
||||
@@ -480,10 +484,13 @@ 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", []);
|
||||
super("api.ClaimQueryOptions", [
|
||||
{ no: 1, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Claim", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ClaimQueryOptions>): ClaimQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ClaimQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -493,6 +500,9 @@ class ClaimQueryOptions$Type extends MessageType<ClaimQueryOptions> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated string Only */ 1:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -505,6 +515,9 @@ class ClaimQueryOptions$Type extends MessageType<ClaimQueryOptions> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ClaimQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated string Only = 1; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -116,6 +116,10 @@ export interface ExecutionflowQueryOptions {
|
||||
* @generated from protobuf field: bool TruncateLines = 1
|
||||
*/
|
||||
TruncateLines: boolean; // If true, the executionflow lines will be truncated.
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 2
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowByIdQuery$Type extends MessageType<ExecutionflowByIdQuery> {
|
||||
@@ -391,12 +395,14 @@ export const ExecutionflowByFilterResult = new ExecutionflowByFilterResult$Type(
|
||||
class ExecutionflowQueryOptions$Type extends MessageType<ExecutionflowQueryOptions> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowQueryOptions", [
|
||||
{ no: 1, name: "TruncateLines", kind: "scalar", localName: "TruncateLines", jsonName: "TruncateLines", T: 8 /*ScalarType.BOOL*/ }
|
||||
{ no: 1, name: "TruncateLines", kind: "scalar", localName: "TruncateLines", jsonName: "TruncateLines", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 2, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Executionflow", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowQueryOptions>): ExecutionflowQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.TruncateLines = false;
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -409,6 +415,9 @@ class ExecutionflowQueryOptions$Type extends MessageType<ExecutionflowQueryOptio
|
||||
case /* bool TruncateLines */ 1:
|
||||
message.TruncateLines = reader.bool();
|
||||
break;
|
||||
case /* repeated string Only */ 2:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -424,6 +433,9 @@ class ExecutionflowQueryOptions$Type extends MessageType<ExecutionflowQueryOptio
|
||||
/* bool TruncateLines = 1; */
|
||||
if (message.TruncateLines !== false)
|
||||
writer.tag(1, WireType.Varint).bool(message.TruncateLines);
|
||||
/* repeated string Only = 2; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -116,6 +116,10 @@ export interface HandlingunitByFilterResult {
|
||||
* @generated from protobuf message api.HandlingunitQueryOptions
|
||||
*/
|
||||
export interface HandlingunitQueryOptions {
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 1
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.HandlingunitByMatchQuery
|
||||
@@ -428,10 +432,13 @@ 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", []);
|
||||
super("api.HandlingunitQueryOptions", [
|
||||
{ no: 1, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Handlingunit", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitQueryOptions>): HandlingunitQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -441,6 +448,9 @@ class HandlingunitQueryOptions$Type extends MessageType<HandlingunitQueryOptions
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated string Only */ 1:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -453,6 +463,9 @@ class HandlingunitQueryOptions$Type extends MessageType<HandlingunitQueryOptions
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: HandlingunitQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated string Only = 1; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
15
itemQuery.ts
15
itemQuery.ts
@@ -119,6 +119,10 @@ export interface ItemByFilterResult {
|
||||
* @generated from protobuf message api.ItemQueryOptions
|
||||
*/
|
||||
export interface ItemQueryOptions {
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 1
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ItemByMatchQuery
|
||||
@@ -465,10 +469,13 @@ 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", []);
|
||||
super("api.ItemQueryOptions", [
|
||||
{ no: 1, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Item", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ItemQueryOptions>): ItemQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ItemQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -478,6 +485,9 @@ class ItemQueryOptions$Type extends MessageType<ItemQueryOptions> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated string Only */ 1:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -490,6 +500,9 @@ class ItemQueryOptions$Type extends MessageType<ItemQueryOptions> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ItemQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated string Only = 1; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -118,6 +118,10 @@ export interface MovementByFilterResult {
|
||||
* @generated from protobuf message api.MovementQueryOptions
|
||||
*/
|
||||
export interface MovementQueryOptions {
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 1
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.MovementByMatchQuery
|
||||
@@ -460,10 +464,13 @@ 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", []);
|
||||
super("api.MovementQueryOptions", [
|
||||
{ no: 1, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Movement", example: "\"[\"ID.RefID\", \"Payload.ActorID\", \"Payload.Goods.ItemID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<MovementQueryOptions>): MovementQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<MovementQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -473,6 +480,9 @@ class MovementQueryOptions$Type extends MessageType<MovementQueryOptions> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated string Only */ 1:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -485,6 +495,9 @@ class MovementQueryOptions$Type extends MessageType<MovementQueryOptions> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: MovementQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated string Only = 1; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -120,6 +120,10 @@ export interface OrderQueryOptions {
|
||||
* @generated from protobuf field: bool TruncateLines = 1
|
||||
*/
|
||||
TruncateLines: boolean; // If true, the order lines will be truncated.
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 2
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.OrderByMatchQuery
|
||||
@@ -433,12 +437,14 @@ export const OrderByFilterResult = new OrderByFilterResult$Type();
|
||||
class OrderQueryOptions$Type extends MessageType<OrderQueryOptions> {
|
||||
constructor() {
|
||||
super("api.OrderQueryOptions", [
|
||||
{ no: 1, name: "TruncateLines", kind: "scalar", localName: "TruncateLines", jsonName: "TruncateLines", T: 8 /*ScalarType.BOOL*/ }
|
||||
{ no: 1, name: "TruncateLines", kind: "scalar", localName: "TruncateLines", jsonName: "TruncateLines", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 2, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Order", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<OrderQueryOptions>): OrderQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.TruncateLines = false;
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<OrderQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -451,6 +457,9 @@ class OrderQueryOptions$Type extends MessageType<OrderQueryOptions> {
|
||||
case /* bool TruncateLines */ 1:
|
||||
message.TruncateLines = reader.bool();
|
||||
break;
|
||||
case /* repeated string Only */ 2:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -466,6 +475,9 @@ class OrderQueryOptions$Type extends MessageType<OrderQueryOptions> {
|
||||
/* bool TruncateLines = 1; */
|
||||
if (message.TruncateLines !== false)
|
||||
writer.tag(1, WireType.Varint).bool(message.TruncateLines);
|
||||
/* repeated string Only = 2; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-251107142353",
|
||||
"version": "1.12.0-SNAPSHOT-251110102236",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -116,6 +116,10 @@ export interface PartnerByFilterResult {
|
||||
* @generated from protobuf message api.PartnerQueryOptions
|
||||
*/
|
||||
export interface PartnerQueryOptions {
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 1
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.PartnerByMatchQuery
|
||||
@@ -428,10 +432,13 @@ 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", []);
|
||||
super("api.PartnerQueryOptions", [
|
||||
{ no: 1, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Partner", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<PartnerQueryOptions>): PartnerQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<PartnerQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -441,6 +448,9 @@ class PartnerQueryOptions$Type extends MessageType<PartnerQueryOptions> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated string Only */ 1:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -453,6 +463,9 @@ class PartnerQueryOptions$Type extends MessageType<PartnerQueryOptions> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: PartnerQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated string Only = 1; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -121,6 +121,10 @@ export interface StockByFilterResult {
|
||||
* @generated from protobuf message api.StockQueryOptions
|
||||
*/
|
||||
export interface StockQueryOptions {
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 1
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StockByMatchQuery
|
||||
@@ -437,10 +441,13 @@ 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", []);
|
||||
super("api.StockQueryOptions", [
|
||||
{ no: 1, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Stock", example: "\"[\"ID.RefID\", \"Payload.ActorID\", \"Payload.Goods.ItemID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<StockQueryOptions>): StockQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StockQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -450,6 +457,9 @@ class StockQueryOptions$Type extends MessageType<StockQueryOptions> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated string Only */ 1:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -462,6 +472,9 @@ class StockQueryOptions$Type extends MessageType<StockQueryOptions> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: StockQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated string Only = 1; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -54,6 +54,10 @@ export interface TrackingByIdResult {
|
||||
* @generated from protobuf message api.TrackingQueryOptions
|
||||
*/
|
||||
export interface TrackingQueryOptions {
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Only = 1
|
||||
*/
|
||||
Only: string[];
|
||||
}
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class TrackingByIdQuery$Type extends MessageType<TrackingByIdQuery> {
|
||||
@@ -173,10 +177,13 @@ 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", []);
|
||||
super("api.TrackingQueryOptions", [
|
||||
{ no: 1, name: "Only", kind: "scalar", localName: "Only", jsonName: "Only", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : List of fields to include in the response for each returned Tracking", example: "\"[\"ID.RefID\", \"Payload.Name\", \"Payload.Lines.ID\"]\"" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<TrackingQueryOptions>): TrackingQueryOptions {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Only = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<TrackingQueryOptions>(this, message, value);
|
||||
return message;
|
||||
@@ -186,6 +193,9 @@ class TrackingQueryOptions$Type extends MessageType<TrackingQueryOptions> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated string Only */ 1:
|
||||
message.Only.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -198,6 +208,9 @@ class TrackingQueryOptions$Type extends MessageType<TrackingQueryOptions> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: TrackingQueryOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated string Only = 1; */
|
||||
for (let i = 0; i < message.Only.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Only[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user