You've already forked npm-core-sdk
Latest generation
This commit is contained in:
18
itemQuery.ts
18
itemQuery.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "itemQuery.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { CountLinesResult } from "./shared";
|
||||
@@ -163,7 +163,7 @@ class ItemByIdQuery$Type extends MessageType<ItemByIdQuery> {
|
||||
constructor() {
|
||||
super("api.ItemByIdQuery", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 1 /*RepeatType.PACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
|
||||
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
||||
}
|
||||
create(value?: PartialMessage<ItemByIdQuery>): ItemByIdQuery {
|
||||
@@ -217,7 +217,7 @@ class ItemByIdResult$Type extends MessageType<ItemByIdResult> {
|
||||
constructor() {
|
||||
super("api.ItemByIdResult", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResultHeader },
|
||||
{ no: 2, name: "Objects", kind: "message", localName: "Objects", jsonName: "Objects", repeat: 1 /*RepeatType.PACKED*/, T: () => Item, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Aggregation object message" } } }
|
||||
{ no: 2, name: "Objects", kind: "message", localName: "Objects", jsonName: "Objects", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Item, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Aggregation object message" } } }
|
||||
], { "api.messageType": "Result" });
|
||||
}
|
||||
create(value?: PartialMessage<ItemByIdResult>): ItemByIdResult {
|
||||
@@ -273,7 +273,7 @@ class ItemByFilterQuery$Type extends MessageType<ItemByFilterQuery> {
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
|
||||
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter }
|
||||
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ItemByFilterQuery>): ItemByFilterQuery {
|
||||
@@ -341,7 +341,7 @@ class ItemByFilterResult$Type extends MessageType<ItemByFilterResult> {
|
||||
constructor() {
|
||||
super("api.ItemByFilterResult", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResultHeader },
|
||||
{ no: 2, name: "Objects", kind: "message", localName: "Objects", jsonName: "Objects", repeat: 1 /*RepeatType.PACKED*/, T: () => Item },
|
||||
{ no: 2, name: "Objects", kind: "message", localName: "Objects", jsonName: "Objects", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Item },
|
||||
{ no: 3, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
@@ -403,8 +403,8 @@ class ItemByMatchQuery$Type extends MessageType<ItemByMatchQuery> {
|
||||
constructor() {
|
||||
super("api.ItemByMatchQuery", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 5, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter },
|
||||
{ no: 6, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 1 /*RepeatType.PACKED*/, T: () => MatchField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } }
|
||||
{ no: 5, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
|
||||
{ no: 6, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ItemByMatchQuery>): ItemByMatchQuery {
|
||||
@@ -464,7 +464,7 @@ export const ItemByMatchQuery = new ItemByMatchQuery$Type();
|
||||
class ItemByMatchResult$Type extends MessageType<ItemByMatchResult> {
|
||||
constructor() {
|
||||
super("api.ItemByMatchResult", [
|
||||
{ no: 2, name: "MatchResults", kind: "message", localName: "MatchResults", jsonName: "MatchResults", repeat: 1 /*RepeatType.PACKED*/, T: () => MatchFieldResult }
|
||||
{ no: 2, name: "MatchResults", kind: "message", localName: "MatchResults", jsonName: "MatchResults", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchFieldResult }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: {} } });
|
||||
}
|
||||
create(value?: PartialMessage<ItemByMatchResult>): ItemByMatchResult {
|
||||
@@ -580,7 +580,7 @@ export const GetLVDetailedQuantityQuery = new GetLVDetailedQuantityQuery$Type();
|
||||
class GetLVDetailedQuantityResult$Type extends MessageType<GetLVDetailedQuantityResult> {
|
||||
constructor() {
|
||||
super("api.GetLVDetailedQuantityResult", [
|
||||
{ no: 1, name: "LVDetailedQuantity", kind: "message", localName: "LVDetailedQuantity", jsonName: "LVDetailedQuantity", repeat: 1 /*RepeatType.PACKED*/, T: () => LVDetailedQuantity }
|
||||
{ no: 1, name: "LVDetailedQuantity", kind: "message", localName: "LVDetailedQuantity", jsonName: "LVDetailedQuantity", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LVDetailedQuantity }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetLVDetailedQuantityResult>): GetLVDetailedQuantityResult {
|
||||
|
||||
Reference in New Issue
Block a user