You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user