Latest generation

This commit is contained in:
ci viz model
2025-06-13 13:42:01 +00:00
parent 4ee9e8d0d8
commit baa774ce5b
48 changed files with 14628 additions and 1932 deletions

1088
core/currencyCodes.ts Normal file

File diff suppressed because it is too large Load Diff

521
core/options.ts Normal file
View File

@@ -0,0 +1,521 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "core/options.proto" (package "api", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import { WireType } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
/**
* Note: Struct to define in protoc-m0 in managers/struct_model
*
* @generated from protobuf message api.KPIGroups
*/
export interface KPIGroups {
/**
* @generated from protobuf field: repeated api.KPIGroup Groups = 1
*/
Groups: KPIGroup[];
}
/**
* @generated from protobuf message api.KPIGroup
*/
export interface KPIGroup {
/**
* @generated from protobuf field: string Name = 1
*/
Name: string; // Name of the KPI group
/**
* @generated from protobuf field: api.KPIGroupType Type = 2
*/
Type: KPIGroupType; // Type of the KPI group
/**
* @generated from protobuf field: bool Queryable = 3
*/
Queryable: boolean; // Some tables are not directly queryable
/**
* @generated from protobuf field: string GroupToQuery = 4
*/
GroupToQuery: string; // For non-queryable group, on which group table the request will be executed
/**
* @generated from protobuf field: string OrderBy = 5
*/
OrderBy: string; // Table OrderBy
/**
* @generated from protobuf field: string Engine = 6
*/
Engine: string; // Table engine
/**
* @generated from protobuf field: string HeaderColumns = 7
*/
HeaderColumns: string; // Table header columns
/**
* @generated from protobuf field: string PartitionBy = 8
*/
PartitionBy: string; // Table PartitionBy
}
/**
* @generated from protobuf message api.KPIItems
*/
export interface KPIItems {
/**
* @generated from protobuf field: repeated api.KPIItem Items = 1
*/
Items: KPIItem[];
}
/**
* @generated from protobuf message api.KPIItem
*/
export interface KPIItem {
/**
* @generated from protobuf field: string Context = 1
*/
Context: string; // Entity on which the KPI is defined
/**
* @generated from protobuf field: string Group = 2
*/
Group: string; // Group on which the KPI is defined
/**
* @generated from protobuf field: bool Queryable = 3
*/
Queryable: boolean; // Defined if the KPI is queryable (some kpi are only returns on the result because linked to other, ex on stock_extended : Actor_Name depends on ActorID)
/**
* @generated from protobuf field: string GroupToJoin = 4
*/
GroupToJoin: string; // KPI is used to join another KPI group
/**
* @generated from protobuf field: string CustomType = 5
*/
CustomType: string; // Type of the field in the table
}
/**
* @generated from protobuf message api.FieldTypes
*/
export interface FieldTypes {
/**
* @generated from protobuf field: repeated api.FieldType Types = 1
*/
Types: FieldType[];
}
/**
* @generated from protobuf message api.FieldType
*/
export interface FieldType {
/**
* @generated from protobuf field: string Context = 1
*/
Context: string; // Entity on which the KPI is defined
/**
* @generated from protobuf field: string Type = 2
*/
Type: string; // Type of the field
}
/**
* @generated from protobuf enum api.KPIGroupType
*/
export enum KPIGroupType {
/**
* @generated from protobuf enum value: KPIGROUP_TYPE_UNKNOWN = 0;
*/
KPIGROUP_TYPE_UNKNOWN = 0,
/**
* Table fed by a entity stream sink job
*
* @generated from protobuf enum value: KPIGROUP_TYPE_SINK = 1;
*/
KPIGROUP_TYPE_SINK = 1,
/**
* Table fed by a materialized view on the database
*
* @generated from protobuf enum value: KPIGROUP_TYPE_MATERIALIZED = 2;
*/
KPIGROUP_TYPE_MATERIALIZED = 2,
/**
* Virtual table, the request is concretely executed on physical table (GroupToQuery)
*
* @generated from protobuf enum value: KPIGROUP_TYPE_VIEW = 3;
*/
KPIGROUP_TYPE_VIEW = 3
}
// @generated message type with reflection information, may provide speed optimized methods
class KPIGroups$Type extends MessageType<KPIGroups> {
constructor() {
super("api.KPIGroups", [
{ no: 1, name: "Groups", kind: "message", localName: "Groups", jsonName: "Groups", repeat: 2 /*RepeatType.UNPACKED*/, T: () => KPIGroup }
]);
}
create(value?: PartialMessage<KPIGroups>): KPIGroups {
const message = globalThis.Object.create((this.messagePrototype!));
message.Groups = [];
if (value !== undefined)
reflectionMergePartial<KPIGroups>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KPIGroups): KPIGroups {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.KPIGroup Groups */ 1:
message.Groups.push(KPIGroup.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: KPIGroups, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.KPIGroup Groups = 1; */
for (let i = 0; i < message.Groups.length; i++)
KPIGroup.internalBinaryWrite(message.Groups[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.KPIGroups
*/
export const KPIGroups = new KPIGroups$Type();
// @generated message type with reflection information, may provide speed optimized methods
class KPIGroup$Type extends MessageType<KPIGroup> {
constructor() {
super("api.KPIGroup", [
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.KPIGroupType", KPIGroupType] },
{ no: 3, name: "Queryable", kind: "scalar", localName: "Queryable", jsonName: "Queryable", T: 8 /*ScalarType.BOOL*/ },
{ no: 4, name: "GroupToQuery", kind: "scalar", localName: "GroupToQuery", jsonName: "GroupToQuery", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "OrderBy", kind: "scalar", localName: "OrderBy", jsonName: "OrderBy", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "Engine", kind: "scalar", localName: "Engine", jsonName: "Engine", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "HeaderColumns", kind: "scalar", localName: "HeaderColumns", jsonName: "HeaderColumns", T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "PartitionBy", kind: "scalar", localName: "PartitionBy", jsonName: "PartitionBy", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<KPIGroup>): KPIGroup {
const message = globalThis.Object.create((this.messagePrototype!));
message.Name = "";
message.Type = 0;
message.Queryable = false;
message.GroupToQuery = "";
message.OrderBy = "";
message.Engine = "";
message.HeaderColumns = "";
message.PartitionBy = "";
if (value !== undefined)
reflectionMergePartial<KPIGroup>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KPIGroup): KPIGroup {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string Name */ 1:
message.Name = reader.string();
break;
case /* api.KPIGroupType Type */ 2:
message.Type = reader.int32();
break;
case /* bool Queryable */ 3:
message.Queryable = reader.bool();
break;
case /* string GroupToQuery */ 4:
message.GroupToQuery = reader.string();
break;
case /* string OrderBy */ 5:
message.OrderBy = reader.string();
break;
case /* string Engine */ 6:
message.Engine = reader.string();
break;
case /* string HeaderColumns */ 7:
message.HeaderColumns = reader.string();
break;
case /* string PartitionBy */ 8:
message.PartitionBy = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: KPIGroup, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Name = 1; */
if (message.Name !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Name);
/* api.KPIGroupType Type = 2; */
if (message.Type !== 0)
writer.tag(2, WireType.Varint).int32(message.Type);
/* bool Queryable = 3; */
if (message.Queryable !== false)
writer.tag(3, WireType.Varint).bool(message.Queryable);
/* string GroupToQuery = 4; */
if (message.GroupToQuery !== "")
writer.tag(4, WireType.LengthDelimited).string(message.GroupToQuery);
/* string OrderBy = 5; */
if (message.OrderBy !== "")
writer.tag(5, WireType.LengthDelimited).string(message.OrderBy);
/* string Engine = 6; */
if (message.Engine !== "")
writer.tag(6, WireType.LengthDelimited).string(message.Engine);
/* string HeaderColumns = 7; */
if (message.HeaderColumns !== "")
writer.tag(7, WireType.LengthDelimited).string(message.HeaderColumns);
/* string PartitionBy = 8; */
if (message.PartitionBy !== "")
writer.tag(8, WireType.LengthDelimited).string(message.PartitionBy);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.KPIGroup
*/
export const KPIGroup = new KPIGroup$Type();
// @generated message type with reflection information, may provide speed optimized methods
class KPIItems$Type extends MessageType<KPIItems> {
constructor() {
super("api.KPIItems", [
{ no: 1, name: "Items", kind: "message", localName: "Items", jsonName: "Items", repeat: 2 /*RepeatType.UNPACKED*/, T: () => KPIItem }
]);
}
create(value?: PartialMessage<KPIItems>): KPIItems {
const message = globalThis.Object.create((this.messagePrototype!));
message.Items = [];
if (value !== undefined)
reflectionMergePartial<KPIItems>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KPIItems): KPIItems {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.KPIItem Items */ 1:
message.Items.push(KPIItem.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: KPIItems, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.KPIItem Items = 1; */
for (let i = 0; i < message.Items.length; i++)
KPIItem.internalBinaryWrite(message.Items[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.KPIItems
*/
export const KPIItems = new KPIItems$Type();
// @generated message type with reflection information, may provide speed optimized methods
class KPIItem$Type extends MessageType<KPIItem> {
constructor() {
super("api.KPIItem", [
{ no: 1, name: "Context", kind: "scalar", localName: "Context", jsonName: "Context", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "Group", kind: "scalar", localName: "Group", jsonName: "Group", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Queryable", kind: "scalar", localName: "Queryable", jsonName: "Queryable", T: 8 /*ScalarType.BOOL*/ },
{ no: 4, name: "GroupToJoin", kind: "scalar", localName: "GroupToJoin", jsonName: "GroupToJoin", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "CustomType", kind: "scalar", localName: "CustomType", jsonName: "CustomType", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<KPIItem>): KPIItem {
const message = globalThis.Object.create((this.messagePrototype!));
message.Context = "";
message.Group = "";
message.Queryable = false;
message.GroupToJoin = "";
message.CustomType = "";
if (value !== undefined)
reflectionMergePartial<KPIItem>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KPIItem): KPIItem {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string Context */ 1:
message.Context = reader.string();
break;
case /* string Group */ 2:
message.Group = reader.string();
break;
case /* bool Queryable */ 3:
message.Queryable = reader.bool();
break;
case /* string GroupToJoin */ 4:
message.GroupToJoin = reader.string();
break;
case /* string CustomType */ 5:
message.CustomType = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: KPIItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Context = 1; */
if (message.Context !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Context);
/* string Group = 2; */
if (message.Group !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Group);
/* bool Queryable = 3; */
if (message.Queryable !== false)
writer.tag(3, WireType.Varint).bool(message.Queryable);
/* string GroupToJoin = 4; */
if (message.GroupToJoin !== "")
writer.tag(4, WireType.LengthDelimited).string(message.GroupToJoin);
/* string CustomType = 5; */
if (message.CustomType !== "")
writer.tag(5, WireType.LengthDelimited).string(message.CustomType);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.KPIItem
*/
export const KPIItem = new KPIItem$Type();
// @generated message type with reflection information, may provide speed optimized methods
class FieldTypes$Type extends MessageType<FieldTypes> {
constructor() {
super("api.FieldTypes", [
{ no: 1, name: "Types", kind: "message", localName: "Types", jsonName: "Types", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FieldType }
]);
}
create(value?: PartialMessage<FieldTypes>): FieldTypes {
const message = globalThis.Object.create((this.messagePrototype!));
message.Types = [];
if (value !== undefined)
reflectionMergePartial<FieldTypes>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldTypes): FieldTypes {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.FieldType Types */ 1:
message.Types.push(FieldType.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: FieldTypes, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.FieldType Types = 1; */
for (let i = 0; i < message.Types.length; i++)
FieldType.internalBinaryWrite(message.Types[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.FieldTypes
*/
export const FieldTypes = new FieldTypes$Type();
// @generated message type with reflection information, may provide speed optimized methods
class FieldType$Type extends MessageType<FieldType> {
constructor() {
super("api.FieldType", [
{ no: 1, name: "Context", kind: "scalar", localName: "Context", jsonName: "Context", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "Type", kind: "scalar", localName: "Type", jsonName: "Type", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<FieldType>): FieldType {
const message = globalThis.Object.create((this.messagePrototype!));
message.Context = "";
message.Type = "";
if (value !== undefined)
reflectionMergePartial<FieldType>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldType): FieldType {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string Context */ 1:
message.Context = reader.string();
break;
case /* string Type */ 2:
message.Type = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: FieldType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Context = 1; */
if (message.Context !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Context);
/* string Type = 2; */
if (message.Type !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Type);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.FieldType
*/
export const FieldType = new FieldType$Type();

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,18 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "core/unitOfMeasures.proto" (package "api", syntax proto3) // @generated from protobuf file "core/unitOfMeasures.proto" (package "api", syntax proto3)
// tslint:disable // tslint:disable
//
// This files contains enums for a selection of unit of measure
// references:
// Difference entre US et imperial : https://en.wikipedia.org/wiki/Comparison_of_the_imperial_and_US_customary_measurement_systems
// SI : http://www.ilocis.org/fr/documents/ilo105.htm
// brochure complete BIPM (SI) https://www.bipm.org/utils/common/pdf/si-brochure/SI-Brochure-9.pdf
// The Unified Code for Units of Measure (UCUM) : https://ucum.org/ucum.html
// Weight Unit Abbreviations - Metric, Imperial & Troy : https://www.weightconversions.org/abbreviations.htm
//
// Note: The conversion tables between the different units are implemented in the SinkToClickhouse code. You have to complete this when you add
// a new unit of measure
/** /**
* @generated from protobuf enum api.Length * @generated from protobuf enum api.Length
*/ */

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "counter.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "counter.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
@@ -14,7 +14,7 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/ */
export interface IProjectCountersServiceClient { export interface IProjectCountersServiceClient {
/** /**
* @generated from protobuf rpc: Next(vizapi.NextProjectCounterRequest) returns (vizapi.NextCounterResult); * @generated from protobuf rpc: Next
*/ */
next(input: NextProjectCounterRequest, options?: RpcOptions): UnaryCall<NextProjectCounterRequest, NextCounterResult>; next(input: NextProjectCounterRequest, options?: RpcOptions): UnaryCall<NextProjectCounterRequest, NextCounterResult>;
} }
@@ -28,7 +28,7 @@ export class ProjectCountersServiceClient implements IProjectCountersServiceClie
constructor(private readonly _transport: RpcTransport) { constructor(private readonly _transport: RpcTransport) {
} }
/** /**
* @generated from protobuf rpc: Next(vizapi.NextProjectCounterRequest) returns (vizapi.NextCounterResult); * @generated from protobuf rpc: Next
*/ */
next(input: NextProjectCounterRequest, options?: RpcOptions): UnaryCall<NextProjectCounterRequest, NextCounterResult> { next(input: NextProjectCounterRequest, options?: RpcOptions): UnaryCall<NextProjectCounterRequest, NextCounterResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options); const method = this.methods[0], opt = this._transport.mergeOptions(options);

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "counter.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "counter.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc"; import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -17,11 +17,11 @@ import { RequestProjectHeader } from "./core/shared";
*/ */
export interface NextProjectCounterRequest { export interface NextProjectCounterRequest {
/** /**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestProjectHeader Header = 1
*/ */
Header?: RequestProjectHeader; Header?: RequestProjectHeader;
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
} }
@@ -30,7 +30,7 @@ export interface NextProjectCounterRequest {
*/ */
export interface NextCounterResult { export interface NextCounterResult {
/** /**
* @generated from protobuf field: int64 Value = 1 [json_name = "Value"]; * @generated from protobuf field: int64 Value = 1
*/ */
Value: bigint; Value: bigint;
} }
@@ -54,10 +54,10 @@ class NextProjectCounterRequest$Type extends MessageType<NextProjectCounterReque
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
default: default:
@@ -72,10 +72,10 @@ class NextProjectCounterRequest$Type extends MessageType<NextProjectCounterReque
return message; return message;
} }
internalBinaryWrite(message: NextProjectCounterRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: NextProjectCounterRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ /* api.RequestProjectHeader Header = 1; */
if (message.Header) if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -107,7 +107,7 @@ class NextCounterResult$Type extends MessageType<NextCounterResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* int64 Value = 1 [json_name = "Value"];*/ 1: case /* int64 Value */ 1:
message.Value = reader.int64().toBigInt(); message.Value = reader.int64().toBigInt();
break; break;
default: default:
@@ -122,7 +122,7 @@ class NextCounterResult$Type extends MessageType<NextCounterResult> {
return message; return message;
} }
internalBinaryWrite(message: NextCounterResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: NextCounterResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* int64 Value = 1 [json_name = "Value"]; */ /* int64 Value = 1; */
if (message.Value !== 0n) if (message.Value !== 0n)
writer.tag(1, WireType.Varint).int64(message.Value); writer.tag(1, WireType.Varint).int64(message.Value);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/api/field_behavior.proto" (package "google.api", syntax proto3) // @generated from protobuf file "google/api/field_behavior.proto" (package "google.api", syntax proto3)
// tslint:disable // tslint:disable
// //

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/api/http.proto" (package "google.api", syntax proto3) // @generated from protobuf file "google/api/http.proto" (package "google.api", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -38,7 +38,7 @@ export interface Http {
* *
* **NOTE:** All service configuration rules follow "last one wins" order. * **NOTE:** All service configuration rules follow "last one wins" order.
* *
* @generated from protobuf field: repeated google.api.HttpRule rules = 1; * @generated from protobuf field: repeated google.api.HttpRule rules = 1
*/ */
rules: HttpRule[]; rules: HttpRule[];
/** /**
@@ -49,7 +49,7 @@ export interface Http {
* The default behavior is to not decode RFC 6570 reserved characters in multi * The default behavior is to not decode RFC 6570 reserved characters in multi
* segment matches. * segment matches.
* *
* @generated from protobuf field: bool fully_decode_reserved_expansion = 2; * @generated from protobuf field: bool fully_decode_reserved_expansion = 2
*/ */
fully_decode_reserved_expansion: boolean; fully_decode_reserved_expansion: boolean;
} }
@@ -332,10 +332,14 @@ export interface HttpRule {
* *
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details. * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
* *
* @generated from protobuf field: string selector = 1; * @generated from protobuf field: string selector = 1
*/ */
selector: string; selector: string;
/** /**
* Determines the URL pattern is matched by this rules. This pattern can be
* used with any of the {get|put|post|delete|patch} methods. A custom method
* can be defined using the 'custom' field.
*
* @generated from protobuf oneof: pattern * @generated from protobuf oneof: pattern
*/ */
pattern: { pattern: {
@@ -344,7 +348,7 @@ export interface HttpRule {
* Maps to HTTP GET. Used for listing and getting information about * Maps to HTTP GET. Used for listing and getting information about
* resources. * resources.
* *
* @generated from protobuf field: string get = 2; * @generated from protobuf field: string get = 2
*/ */
get: string; get: string;
} | { } | {
@@ -352,7 +356,7 @@ export interface HttpRule {
/** /**
* Maps to HTTP PUT. Used for replacing a resource. * Maps to HTTP PUT. Used for replacing a resource.
* *
* @generated from protobuf field: string put = 3; * @generated from protobuf field: string put = 3
*/ */
put: string; put: string;
} | { } | {
@@ -360,7 +364,7 @@ export interface HttpRule {
/** /**
* Maps to HTTP POST. Used for creating a resource or performing an action. * Maps to HTTP POST. Used for creating a resource or performing an action.
* *
* @generated from protobuf field: string post = 4; * @generated from protobuf field: string post = 4
*/ */
post: string; post: string;
} | { } | {
@@ -368,7 +372,7 @@ export interface HttpRule {
/** /**
* Maps to HTTP DELETE. Used for deleting a resource. * Maps to HTTP DELETE. Used for deleting a resource.
* *
* @generated from protobuf field: string delete = 5; * @generated from protobuf field: string delete = 5
*/ */
delete: string; delete: string;
} | { } | {
@@ -376,7 +380,7 @@ export interface HttpRule {
/** /**
* Maps to HTTP PATCH. Used for updating a resource. * Maps to HTTP PATCH. Used for updating a resource.
* *
* @generated from protobuf field: string patch = 6; * @generated from protobuf field: string patch = 6
*/ */
patch: string; patch: string;
} | { } | {
@@ -387,7 +391,7 @@ export interface HttpRule {
* HTTP method unspecified for this rule. The wild-card rule is useful * HTTP method unspecified for this rule. The wild-card rule is useful
* for services that provide content to Web (HTML) clients. * for services that provide content to Web (HTML) clients.
* *
* @generated from protobuf field: google.api.CustomHttpPattern custom = 8; * @generated from protobuf field: google.api.CustomHttpPattern custom = 8
*/ */
custom: CustomHttpPattern; custom: CustomHttpPattern;
} | { } | {
@@ -401,7 +405,7 @@ export interface HttpRule {
* NOTE: the referred field must be present at the top-level of the request * NOTE: the referred field must be present at the top-level of the request
* message type. * message type.
* *
* @generated from protobuf field: string body = 7; * @generated from protobuf field: string body = 7
*/ */
body: string; body: string;
/** /**
@@ -412,7 +416,7 @@ export interface HttpRule {
* NOTE: The referred field must be present at the top-level of the response * NOTE: The referred field must be present at the top-level of the response
* message type. * message type.
* *
* @generated from protobuf field: string response_body = 12; * @generated from protobuf field: string response_body = 12
*/ */
response_body: string; response_body: string;
/** /**
@@ -420,7 +424,7 @@ export interface HttpRule {
* not contain an `additional_bindings` field themselves (that is, * not contain an `additional_bindings` field themselves (that is,
* the nesting may only be one level deep). * the nesting may only be one level deep).
* *
* @generated from protobuf field: repeated google.api.HttpRule additional_bindings = 11; * @generated from protobuf field: repeated google.api.HttpRule additional_bindings = 11
*/ */
additional_bindings: HttpRule[]; additional_bindings: HttpRule[];
} }
@@ -433,13 +437,13 @@ export interface CustomHttpPattern {
/** /**
* The name of this custom HTTP verb. * The name of this custom HTTP verb.
* *
* @generated from protobuf field: string kind = 1; * @generated from protobuf field: string kind = 1
*/ */
kind: string; kind: string;
/** /**
* The path matched by this custom verb. * The path matched by this custom verb.
* *
* @generated from protobuf field: string path = 2; * @generated from protobuf field: string path = 2
*/ */
path: string; path: string;
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/api/httpbody.proto" (package "google.api", syntax proto3) // @generated from protobuf file "google/api/httpbody.proto" (package "google.api", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -73,20 +73,20 @@ export interface HttpBody {
/** /**
* The HTTP Content-Type header value specifying the content type of the body. * The HTTP Content-Type header value specifying the content type of the body.
* *
* @generated from protobuf field: string content_type = 1; * @generated from protobuf field: string content_type = 1
*/ */
content_type: string; content_type: string;
/** /**
* The HTTP request/response body as raw binary. * The HTTP request/response body as raw binary.
* *
* @generated from protobuf field: bytes data = 2; * @generated from protobuf field: bytes data = 2
*/ */
data: Uint8Array; data: Uint8Array;
/** /**
* Application specific response metadata. Must be set in the first response * Application specific response metadata. Must be set in the first response
* for streaming APIs. * for streaming APIs.
* *
* @generated from protobuf field: repeated google.protobuf.Any extensions = 3; * @generated from protobuf field: repeated google.protobuf.Any extensions = 3
*/ */
extensions: Any[]; extensions: Any[];
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/protobuf/any.proto" (package "google.protobuf", syntax proto3) // @generated from protobuf file "google/protobuf/any.proto" (package "google.protobuf", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -163,13 +163,13 @@ export interface Any {
* used with implementation specific semantics. * used with implementation specific semantics.
* *
* *
* @generated from protobuf field: string type_url = 1; * @generated from protobuf field: string type_url = 1
*/ */
type_url: string; type_url: string;
/** /**
* Must be a valid serialized protocol buffer of the above specified type. * Must be a valid serialized protocol buffer of the above specified type.
* *
* @generated from protobuf field: bytes value = 2; * @generated from protobuf field: bytes value = 2
*/ */
value: Uint8Array; value: Uint8Array;
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/protobuf/api.proto" (package "google.protobuf", syntax proto3) // @generated from protobuf file "google/protobuf/api.proto" (package "google.protobuf", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -62,19 +62,19 @@ export interface Api {
* The fully qualified name of this interface, including package name * The fully qualified name of this interface, including package name
* followed by the interface's simple name. * followed by the interface's simple name.
* *
* @generated from protobuf field: string name = 1; * @generated from protobuf field: string name = 1
*/ */
name: string; name: string;
/** /**
* The methods of this interface, in unspecified order. * The methods of this interface, in unspecified order.
* *
* @generated from protobuf field: repeated google.protobuf.Method methods = 2; * @generated from protobuf field: repeated google.protobuf.Method methods = 2
*/ */
methods: Method[]; methods: Method[];
/** /**
* Any metadata attached to the interface. * Any metadata attached to the interface.
* *
* @generated from protobuf field: repeated google.protobuf.Option options = 3; * @generated from protobuf field: repeated google.protobuf.Option options = 3
*/ */
options: Option[]; options: Option[];
/** /**
@@ -100,26 +100,26 @@ export interface Api {
* *
* *
* *
* @generated from protobuf field: string version = 4; * @generated from protobuf field: string version = 4
*/ */
version: string; version: string;
/** /**
* Source context for the protocol buffer service represented by this * Source context for the protocol buffer service represented by this
* message. * message.
* *
* @generated from protobuf field: google.protobuf.SourceContext source_context = 5; * @generated from protobuf field: google.protobuf.SourceContext source_context = 5
*/ */
source_context?: SourceContext; source_context?: SourceContext;
/** /**
* Included interfaces. See [Mixin][]. * Included interfaces. See [Mixin][].
* *
* @generated from protobuf field: repeated google.protobuf.Mixin mixins = 6; * @generated from protobuf field: repeated google.protobuf.Mixin mixins = 6
*/ */
mixins: Mixin[]; mixins: Mixin[];
/** /**
* The source syntax of the service. * The source syntax of the service.
* *
* @generated from protobuf field: google.protobuf.Syntax syntax = 7; * @generated from protobuf field: google.protobuf.Syntax syntax = 7
*/ */
syntax: Syntax; syntax: Syntax;
} }
@@ -132,43 +132,43 @@ export interface Method {
/** /**
* The simple name of this method. * The simple name of this method.
* *
* @generated from protobuf field: string name = 1; * @generated from protobuf field: string name = 1
*/ */
name: string; name: string;
/** /**
* A URL of the input message type. * A URL of the input message type.
* *
* @generated from protobuf field: string request_type_url = 2; * @generated from protobuf field: string request_type_url = 2
*/ */
request_type_url: string; request_type_url: string;
/** /**
* If true, the request is streamed. * If true, the request is streamed.
* *
* @generated from protobuf field: bool request_streaming = 3; * @generated from protobuf field: bool request_streaming = 3
*/ */
request_streaming: boolean; request_streaming: boolean;
/** /**
* The URL of the output message type. * The URL of the output message type.
* *
* @generated from protobuf field: string response_type_url = 4; * @generated from protobuf field: string response_type_url = 4
*/ */
response_type_url: string; response_type_url: string;
/** /**
* If true, the response is streamed. * If true, the response is streamed.
* *
* @generated from protobuf field: bool response_streaming = 5; * @generated from protobuf field: bool response_streaming = 5
*/ */
response_streaming: boolean; response_streaming: boolean;
/** /**
* Any metadata attached to the method. * Any metadata attached to the method.
* *
* @generated from protobuf field: repeated google.protobuf.Option options = 6; * @generated from protobuf field: repeated google.protobuf.Option options = 6
*/ */
options: Option[]; options: Option[];
/** /**
* The source syntax of this method. * The source syntax of this method.
* *
* @generated from protobuf field: google.protobuf.Syntax syntax = 7; * @generated from protobuf field: google.protobuf.Syntax syntax = 7
*/ */
syntax: Syntax; syntax: Syntax;
} }
@@ -258,14 +258,14 @@ export interface Mixin {
/** /**
* The fully qualified name of the interface which is included. * The fully qualified name of the interface which is included.
* *
* @generated from protobuf field: string name = 1; * @generated from protobuf field: string name = 1
*/ */
name: string; name: string;
/** /**
* If non-empty specifies a path under which inherited HTTP paths * If non-empty specifies a path under which inherited HTTP paths
* are rooted. * are rooted.
* *
* @generated from protobuf field: string root = 2; * @generated from protobuf field: string root = 2
*/ */
root: string; root: string;
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/protobuf/compiler/plugin.proto" (package "google.protobuf.compiler", syntax proto2) // @generated from protobuf file "google/protobuf/compiler/plugin.proto" (package "google.protobuf.compiler", syntax proto2)
// tslint:disable // tslint:disable
// //
@@ -66,22 +66,22 @@ import { FileDescriptorProto } from "../descriptor";
*/ */
export interface Version { export interface Version {
/** /**
* @generated from protobuf field: optional int32 major = 1; * @generated from protobuf field: optional int32 major = 1
*/ */
major?: number; major?: number;
/** /**
* @generated from protobuf field: optional int32 minor = 2; * @generated from protobuf field: optional int32 minor = 2
*/ */
minor?: number; minor?: number;
/** /**
* @generated from protobuf field: optional int32 patch = 3; * @generated from protobuf field: optional int32 patch = 3
*/ */
patch?: number; patch?: number;
/** /**
* A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should * A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should
* be empty for mainline stable releases. * be empty for mainline stable releases.
* *
* @generated from protobuf field: optional string suffix = 4; * @generated from protobuf field: optional string suffix = 4
*/ */
suffix?: string; suffix?: string;
} }
@@ -96,13 +96,13 @@ export interface CodeGeneratorRequest {
* code generator should generate code only for these files. Each file's * code generator should generate code only for these files. Each file's
* descriptor will be included in proto_file, below. * descriptor will be included in proto_file, below.
* *
* @generated from protobuf field: repeated string file_to_generate = 1; * @generated from protobuf field: repeated string file_to_generate = 1
*/ */
file_to_generate: string[]; file_to_generate: string[];
/** /**
* The generator parameter passed on the command-line. * The generator parameter passed on the command-line.
* *
* @generated from protobuf field: optional string parameter = 2; * @generated from protobuf field: optional string parameter = 2
*/ */
parameter?: string; parameter?: string;
/** /**
@@ -121,13 +121,13 @@ export interface CodeGeneratorRequest {
* Type names of fields and extensions in the FileDescriptorProto are always * Type names of fields and extensions in the FileDescriptorProto are always
* fully qualified. * fully qualified.
* *
* @generated from protobuf field: repeated google.protobuf.FileDescriptorProto proto_file = 15; * @generated from protobuf field: repeated google.protobuf.FileDescriptorProto proto_file = 15
*/ */
proto_file: FileDescriptorProto[]; proto_file: FileDescriptorProto[];
/** /**
* The version number of protocol compiler. * The version number of protocol compiler.
* *
* @generated from protobuf field: optional google.protobuf.compiler.Version compiler_version = 3; * @generated from protobuf field: optional google.protobuf.compiler.Version compiler_version = 3
*/ */
compiler_version?: Version; compiler_version?: Version;
} }
@@ -147,11 +147,11 @@ export interface CodeGeneratorResponse {
* unparseable -- should be reported by writing a message to stderr and * unparseable -- should be reported by writing a message to stderr and
* exiting with a non-zero status code. * exiting with a non-zero status code.
* *
* @generated from protobuf field: optional string error = 1; * @generated from protobuf field: optional string error = 1
*/ */
error?: string; error?: string;
/** /**
* @generated from protobuf field: repeated google.protobuf.compiler.CodeGeneratorResponse.File file = 15; * @generated from protobuf field: repeated google.protobuf.compiler.CodeGeneratorResponse.File file = 15
*/ */
file: CodeGeneratorResponse_File[]; file: CodeGeneratorResponse_File[];
} }
@@ -174,7 +174,7 @@ export interface CodeGeneratorResponse_File {
* this writing protoc does not optimize for this -- it will read the entire * this writing protoc does not optimize for this -- it will read the entire
* CodeGeneratorResponse before writing files to disk. * CodeGeneratorResponse before writing files to disk.
* *
* @generated from protobuf field: optional string name = 1; * @generated from protobuf field: optional string name = 1
*/ */
name?: string; name?: string;
/** /**
@@ -216,13 +216,13 @@ export interface CodeGeneratorResponse_File {
* *
* If |insertion_point| is present, |name| must also be present. * If |insertion_point| is present, |name| must also be present.
* *
* @generated from protobuf field: optional string insertion_point = 2; * @generated from protobuf field: optional string insertion_point = 2
*/ */
insertion_point?: string; insertion_point?: string;
/** /**
* The file contents. * The file contents.
* *
* @generated from protobuf field: optional string content = 15; * @generated from protobuf field: optional string content = 15
*/ */
content?: string; content?: string;
} }

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/protobuf/duration.proto" (package "google.protobuf", syntax proto3) // @generated from protobuf file "google/protobuf/duration.proto" (package "google.protobuf", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -116,7 +116,7 @@ export interface Duration {
* to +315,576,000,000 inclusive. Note: these bounds are computed from: * to +315,576,000,000 inclusive. Note: these bounds are computed from:
* 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
* *
* @generated from protobuf field: int64 seconds = 1; * @generated from protobuf field: int64 seconds = 1
*/ */
seconds: bigint; seconds: bigint;
/** /**
@@ -127,7 +127,7 @@ export interface Duration {
* of the same sign as the `seconds` field. Must be from -999,999,999 * of the same sign as the `seconds` field. Must be from -999,999,999
* to +999,999,999 inclusive. * to +999,999,999 inclusive.
* *
* @generated from protobuf field: int32 nanos = 2; * @generated from protobuf field: int32 nanos = 2
*/ */
nanos: number; nanos: number;
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/protobuf/empty.proto" (package "google.protobuf", syntax proto3) // @generated from protobuf file "google/protobuf/empty.proto" (package "google.protobuf", syntax proto3)
// tslint:disable // tslint:disable
// //

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/protobuf/field_mask.proto" (package "google.protobuf", syntax proto3) // @generated from protobuf file "google/protobuf/field_mask.proto" (package "google.protobuf", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -253,7 +253,7 @@ export interface FieldMask {
/** /**
* The set of field mask paths. * The set of field mask paths.
* *
* @generated from protobuf field: repeated string paths = 1; * @generated from protobuf field: repeated string paths = 1
*/ */
paths: string[]; paths: string[];
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/protobuf/source_context.proto" (package "google.protobuf", syntax proto3) // @generated from protobuf file "google/protobuf/source_context.proto" (package "google.protobuf", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -52,7 +52,7 @@ export interface SourceContext {
* The path-qualified name of the .proto file that contained the associated * The path-qualified name of the .proto file that contained the associated
* protobuf element. For example: `"google/protobuf/source_context.proto"`. * protobuf element. For example: `"google/protobuf/source_context.proto"`.
* *
* @generated from protobuf field: string file_name = 1; * @generated from protobuf field: string file_name = 1
*/ */
file_name: string; file_name: string;
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/protobuf/struct.proto" (package "google.protobuf", syntax proto3) // @generated from protobuf file "google/protobuf/struct.proto" (package "google.protobuf", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -63,7 +63,7 @@ export interface Struct {
/** /**
* Unordered map of dynamically typed values. * Unordered map of dynamically typed values.
* *
* @generated from protobuf field: map<string, google.protobuf.Value> fields = 1; * @generated from protobuf field: map<string, google.protobuf.Value> fields = 1
*/ */
fields: { fields: {
[key: string]: Value; [key: string]: Value;
@@ -81,6 +81,8 @@ export interface Struct {
*/ */
export interface Value { export interface Value {
/** /**
* The kind of value.
*
* @generated from protobuf oneof: kind * @generated from protobuf oneof: kind
*/ */
kind: { kind: {
@@ -88,7 +90,7 @@ export interface Value {
/** /**
* Represents a null value. * Represents a null value.
* *
* @generated from protobuf field: google.protobuf.NullValue null_value = 1; * @generated from protobuf field: google.protobuf.NullValue null_value = 1
*/ */
null_value: NullValue; null_value: NullValue;
} | { } | {
@@ -96,7 +98,7 @@ export interface Value {
/** /**
* Represents a double value. * Represents a double value.
* *
* @generated from protobuf field: double number_value = 2; * @generated from protobuf field: double number_value = 2
*/ */
number_value: number; number_value: number;
} | { } | {
@@ -104,7 +106,7 @@ export interface Value {
/** /**
* Represents a string value. * Represents a string value.
* *
* @generated from protobuf field: string string_value = 3; * @generated from protobuf field: string string_value = 3
*/ */
string_value: string; string_value: string;
} | { } | {
@@ -112,7 +114,7 @@ export interface Value {
/** /**
* Represents a boolean value. * Represents a boolean value.
* *
* @generated from protobuf field: bool bool_value = 4; * @generated from protobuf field: bool bool_value = 4
*/ */
bool_value: boolean; bool_value: boolean;
} | { } | {
@@ -120,7 +122,7 @@ export interface Value {
/** /**
* Represents a structured value. * Represents a structured value.
* *
* @generated from protobuf field: google.protobuf.Struct struct_value = 5; * @generated from protobuf field: google.protobuf.Struct struct_value = 5
*/ */
struct_value: Struct; struct_value: Struct;
} | { } | {
@@ -128,7 +130,7 @@ export interface Value {
/** /**
* Represents a repeated `Value`. * Represents a repeated `Value`.
* *
* @generated from protobuf field: google.protobuf.ListValue list_value = 6; * @generated from protobuf field: google.protobuf.ListValue list_value = 6
*/ */
list_value: ListValue; list_value: ListValue;
} | { } | {
@@ -146,7 +148,7 @@ export interface ListValue {
/** /**
* Repeated field of dynamically typed values. * Repeated field of dynamically typed values.
* *
* @generated from protobuf field: repeated google.protobuf.Value values = 1; * @generated from protobuf field: repeated google.protobuf.Value values = 1
*/ */
values: Value[]; values: Value[];
} }
@@ -233,7 +235,7 @@ class Struct$Type extends MessageType<Struct> {
case 2: case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options); val = Value.internalBinaryRead(reader, reader.uint32(), options);
break; break;
default: throw new globalThis.Error("unknown map entry field for field google.protobuf.Struct.fields"); default: throw new globalThis.Error("unknown map entry field for google.protobuf.Struct.fields");
} }
} }
map[key ?? ""] = val ?? Value.create(); map[key ?? ""] = val ?? Value.create();

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/protobuf/timestamp.proto" (package "google.protobuf", syntax proto3) // @generated from protobuf file "google/protobuf/timestamp.proto" (package "google.protobuf", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -140,7 +140,7 @@ export interface Timestamp {
* 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
* 9999-12-31T23:59:59Z inclusive. * 9999-12-31T23:59:59Z inclusive.
* *
* @generated from protobuf field: int64 seconds = 1; * @generated from protobuf field: int64 seconds = 1
*/ */
seconds: bigint; seconds: bigint;
/** /**
@@ -149,7 +149,7 @@ export interface Timestamp {
* that count forward in time. Must be from 0 to 999,999,999 * that count forward in time. Must be from 0 to 999,999,999
* inclusive. * inclusive.
* *
* @generated from protobuf field: int32 nanos = 2; * @generated from protobuf field: int32 nanos = 2
*/ */
nanos: number; nanos: number;
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/protobuf/type.proto" (package "google.protobuf", syntax proto3) // @generated from protobuf file "google/protobuf/type.proto" (package "google.protobuf", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -52,37 +52,37 @@ export interface Type {
/** /**
* The fully qualified message name. * The fully qualified message name.
* *
* @generated from protobuf field: string name = 1; * @generated from protobuf field: string name = 1
*/ */
name: string; name: string;
/** /**
* The list of fields. * The list of fields.
* *
* @generated from protobuf field: repeated google.protobuf.Field fields = 2; * @generated from protobuf field: repeated google.protobuf.Field fields = 2
*/ */
fields: Field[]; fields: Field[];
/** /**
* The list of types appearing in `oneof` definitions in this type. * The list of types appearing in `oneof` definitions in this type.
* *
* @generated from protobuf field: repeated string oneofs = 3; * @generated from protobuf field: repeated string oneofs = 3
*/ */
oneofs: string[]; oneofs: string[];
/** /**
* The protocol buffer options. * The protocol buffer options.
* *
* @generated from protobuf field: repeated google.protobuf.Option options = 4; * @generated from protobuf field: repeated google.protobuf.Option options = 4
*/ */
options: Option[]; options: Option[];
/** /**
* The source context. * The source context.
* *
* @generated from protobuf field: google.protobuf.SourceContext source_context = 5; * @generated from protobuf field: google.protobuf.SourceContext source_context = 5
*/ */
source_context?: SourceContext; source_context?: SourceContext;
/** /**
* The source syntax. * The source syntax.
* *
* @generated from protobuf field: google.protobuf.Syntax syntax = 6; * @generated from protobuf field: google.protobuf.Syntax syntax = 6
*/ */
syntax: Syntax; syntax: Syntax;
} }
@@ -95,63 +95,63 @@ export interface Field {
/** /**
* The field type. * The field type.
* *
* @generated from protobuf field: google.protobuf.Field.Kind kind = 1; * @generated from protobuf field: google.protobuf.Field.Kind kind = 1
*/ */
kind: Field_Kind; kind: Field_Kind;
/** /**
* The field cardinality. * The field cardinality.
* *
* @generated from protobuf field: google.protobuf.Field.Cardinality cardinality = 2; * @generated from protobuf field: google.protobuf.Field.Cardinality cardinality = 2
*/ */
cardinality: Field_Cardinality; cardinality: Field_Cardinality;
/** /**
* The field number. * The field number.
* *
* @generated from protobuf field: int32 number = 3; * @generated from protobuf field: int32 number = 3
*/ */
number: number; number: number;
/** /**
* The field name. * The field name.
* *
* @generated from protobuf field: string name = 4; * @generated from protobuf field: string name = 4
*/ */
name: string; name: string;
/** /**
* The field type URL, without the scheme, for message or enumeration * The field type URL, without the scheme, for message or enumeration
* types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
* *
* @generated from protobuf field: string type_url = 6; * @generated from protobuf field: string type_url = 6
*/ */
type_url: string; type_url: string;
/** /**
* The index of the field type in `Type.oneofs`, for message or enumeration * The index of the field type in `Type.oneofs`, for message or enumeration
* types. The first type has index 1; zero means the type is not in the list. * types. The first type has index 1; zero means the type is not in the list.
* *
* @generated from protobuf field: int32 oneof_index = 7; * @generated from protobuf field: int32 oneof_index = 7
*/ */
oneof_index: number; oneof_index: number;
/** /**
* Whether to use alternative packed wire representation. * Whether to use alternative packed wire representation.
* *
* @generated from protobuf field: bool packed = 8; * @generated from protobuf field: bool packed = 8
*/ */
packed: boolean; packed: boolean;
/** /**
* The protocol buffer options. * The protocol buffer options.
* *
* @generated from protobuf field: repeated google.protobuf.Option options = 9; * @generated from protobuf field: repeated google.protobuf.Option options = 9
*/ */
options: Option[]; options: Option[];
/** /**
* The field JSON name. * The field JSON name.
* *
* @generated from protobuf field: string json_name = 10; * @generated from protobuf field: string json_name = 10
*/ */
json_name: string; json_name: string;
/** /**
* The string value of the default value of this field. Proto2 syntax only. * The string value of the default value of this field. Proto2 syntax only.
* *
* @generated from protobuf field: string default_value = 11; * @generated from protobuf field: string default_value = 11
*/ */
default_value: string; default_value: string;
} }
@@ -316,31 +316,31 @@ export interface Enum {
/** /**
* Enum type name. * Enum type name.
* *
* @generated from protobuf field: string name = 1; * @generated from protobuf field: string name = 1
*/ */
name: string; name: string;
/** /**
* Enum value definitions. * Enum value definitions.
* *
* @generated from protobuf field: repeated google.protobuf.EnumValue enumvalue = 2; * @generated from protobuf field: repeated google.protobuf.EnumValue enumvalue = 2
*/ */
enumvalue: EnumValue[]; enumvalue: EnumValue[];
/** /**
* Protocol buffer options. * Protocol buffer options.
* *
* @generated from protobuf field: repeated google.protobuf.Option options = 3; * @generated from protobuf field: repeated google.protobuf.Option options = 3
*/ */
options: Option[]; options: Option[];
/** /**
* The source context. * The source context.
* *
* @generated from protobuf field: google.protobuf.SourceContext source_context = 4; * @generated from protobuf field: google.protobuf.SourceContext source_context = 4
*/ */
source_context?: SourceContext; source_context?: SourceContext;
/** /**
* The source syntax. * The source syntax.
* *
* @generated from protobuf field: google.protobuf.Syntax syntax = 5; * @generated from protobuf field: google.protobuf.Syntax syntax = 5
*/ */
syntax: Syntax; syntax: Syntax;
} }
@@ -353,19 +353,19 @@ export interface EnumValue {
/** /**
* Enum value name. * Enum value name.
* *
* @generated from protobuf field: string name = 1; * @generated from protobuf field: string name = 1
*/ */
name: string; name: string;
/** /**
* Enum value number. * Enum value number.
* *
* @generated from protobuf field: int32 number = 2; * @generated from protobuf field: int32 number = 2
*/ */
number: number; number: number;
/** /**
* Protocol buffer options. * Protocol buffer options.
* *
* @generated from protobuf field: repeated google.protobuf.Option options = 3; * @generated from protobuf field: repeated google.protobuf.Option options = 3
*/ */
options: Option[]; options: Option[];
} }
@@ -382,7 +382,7 @@ export interface Option {
* For custom options, it should be the fully-qualified name. For example, * For custom options, it should be the fully-qualified name. For example,
* `"google.api.http"`. * `"google.api.http"`.
* *
* @generated from protobuf field: string name = 1; * @generated from protobuf field: string name = 1
*/ */
name: string; name: string;
/** /**
@@ -391,7 +391,7 @@ export interface Option {
* should be used. If the value is an enum, it should be stored as an int32 * should be used. If the value is an enum, it should be stored as an int32
* value using the google.protobuf.Int32Value type. * value using the google.protobuf.Int32Value type.
* *
* @generated from protobuf field: google.protobuf.Any value = 2; * @generated from protobuf field: google.protobuf.Any value = 2
*/ */
value?: Any; value?: Any;
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/protobuf/wrappers.proto" (package "google.protobuf", syntax proto3) // @generated from protobuf file "google/protobuf/wrappers.proto" (package "google.protobuf", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -68,7 +68,7 @@ export interface DoubleValue {
/** /**
* The double value. * The double value.
* *
* @generated from protobuf field: double value = 1; * @generated from protobuf field: double value = 1
*/ */
value: number; value: number;
} }
@@ -83,7 +83,7 @@ export interface FloatValue {
/** /**
* The float value. * The float value.
* *
* @generated from protobuf field: float value = 1; * @generated from protobuf field: float value = 1
*/ */
value: number; value: number;
} }
@@ -98,7 +98,7 @@ export interface Int64Value {
/** /**
* The int64 value. * The int64 value.
* *
* @generated from protobuf field: int64 value = 1; * @generated from protobuf field: int64 value = 1
*/ */
value: bigint; value: bigint;
} }
@@ -113,7 +113,7 @@ export interface UInt64Value {
/** /**
* The uint64 value. * The uint64 value.
* *
* @generated from protobuf field: uint64 value = 1; * @generated from protobuf field: uint64 value = 1
*/ */
value: bigint; value: bigint;
} }
@@ -128,7 +128,7 @@ export interface Int32Value {
/** /**
* The int32 value. * The int32 value.
* *
* @generated from protobuf field: int32 value = 1; * @generated from protobuf field: int32 value = 1
*/ */
value: number; value: number;
} }
@@ -143,7 +143,7 @@ export interface UInt32Value {
/** /**
* The uint32 value. * The uint32 value.
* *
* @generated from protobuf field: uint32 value = 1; * @generated from protobuf field: uint32 value = 1
*/ */
value: number; value: number;
} }
@@ -158,7 +158,7 @@ export interface BoolValue {
/** /**
* The bool value. * The bool value.
* *
* @generated from protobuf field: bool value = 1; * @generated from protobuf field: bool value = 1
*/ */
value: boolean; value: boolean;
} }
@@ -173,7 +173,7 @@ export interface StringValue {
/** /**
* The string value. * The string value.
* *
* @generated from protobuf field: string value = 1; * @generated from protobuf field: string value = 1
*/ */
value: string; value: string;
} }
@@ -188,7 +188,7 @@ export interface BytesValue {
/** /**
* The bytes value. * The bytes value.
* *
* @generated from protobuf field: bytes value = 1; * @generated from protobuf field: bytes value = 1
*/ */
value: Uint8Array; value: Uint8Array;
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/rpc/code.proto" (package "google.rpc", syntax proto3) // @generated from protobuf file "google/rpc/code.proto" (package "google.rpc", syntax proto3)
// tslint:disable // tslint:disable
// //

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/rpc/error_details.proto" (package "google.rpc", syntax proto3) // @generated from protobuf file "google/rpc/error_details.proto" (package "google.rpc", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -47,7 +47,7 @@ export interface RetryInfo {
/** /**
* Clients should wait at least this long between retrying the same request. * Clients should wait at least this long between retrying the same request.
* *
* @generated from protobuf field: google.protobuf.Duration retry_delay = 1; * @generated from protobuf field: google.protobuf.Duration retry_delay = 1
*/ */
retry_delay?: Duration; retry_delay?: Duration;
} }
@@ -60,13 +60,13 @@ export interface DebugInfo {
/** /**
* The stack trace entries indicating where the error occurred. * The stack trace entries indicating where the error occurred.
* *
* @generated from protobuf field: repeated string stack_entries = 1; * @generated from protobuf field: repeated string stack_entries = 1
*/ */
stack_entries: string[]; stack_entries: string[];
/** /**
* Additional debugging information provided by the server. * Additional debugging information provided by the server.
* *
* @generated from protobuf field: string detail = 2; * @generated from protobuf field: string detail = 2
*/ */
detail: string; detail: string;
} }
@@ -89,7 +89,7 @@ export interface QuotaFailure {
/** /**
* Describes all quota violations. * Describes all quota violations.
* *
* @generated from protobuf field: repeated google.rpc.QuotaFailure.Violation violations = 1; * @generated from protobuf field: repeated google.rpc.QuotaFailure.Violation violations = 1
*/ */
violations: QuotaFailure_Violation[]; violations: QuotaFailure_Violation[];
} }
@@ -105,7 +105,7 @@ export interface QuotaFailure_Violation {
* For example, "clientip:<ip address of client>" or "project:<Google * For example, "clientip:<ip address of client>" or "project:<Google
* developer project id>". * developer project id>".
* *
* @generated from protobuf field: string subject = 1; * @generated from protobuf field: string subject = 1
*/ */
subject: string; subject: string;
/** /**
@@ -117,7 +117,7 @@ export interface QuotaFailure_Violation {
* For example: "Service disabled" or "Daily Limit for read operations * For example: "Service disabled" or "Daily Limit for read operations
* exceeded". * exceeded".
* *
* @generated from protobuf field: string description = 2; * @generated from protobuf field: string description = 2
*/ */
description: string; description: string;
} }
@@ -134,7 +134,7 @@ export interface PreconditionFailure {
/** /**
* Describes all precondition violations. * Describes all precondition violations.
* *
* @generated from protobuf field: repeated google.rpc.PreconditionFailure.Violation violations = 1; * @generated from protobuf field: repeated google.rpc.PreconditionFailure.Violation violations = 1
*/ */
violations: PreconditionFailure_Violation[]; violations: PreconditionFailure_Violation[];
} }
@@ -149,7 +149,7 @@ export interface PreconditionFailure_Violation {
* enum type to define the supported precondition violation types. For * enum type to define the supported precondition violation types. For
* example, "TOS" for "Terms of Service violation". * example, "TOS" for "Terms of Service violation".
* *
* @generated from protobuf field: string type = 1; * @generated from protobuf field: string type = 1
*/ */
type: string; type: string;
/** /**
@@ -157,7 +157,7 @@ export interface PreconditionFailure_Violation {
* For example, "google.com/cloud" relative to the "TOS" type would * For example, "google.com/cloud" relative to the "TOS" type would
* indicate which terms of service is being referenced. * indicate which terms of service is being referenced.
* *
* @generated from protobuf field: string subject = 2; * @generated from protobuf field: string subject = 2
*/ */
subject: string; subject: string;
/** /**
@@ -166,7 +166,7 @@ export interface PreconditionFailure_Violation {
* *
* For example: "Terms of service not accepted". * For example: "Terms of service not accepted".
* *
* @generated from protobuf field: string description = 3; * @generated from protobuf field: string description = 3
*/ */
description: string; description: string;
} }
@@ -180,7 +180,7 @@ export interface BadRequest {
/** /**
* Describes all violations in a client request. * Describes all violations in a client request.
* *
* @generated from protobuf field: repeated google.rpc.BadRequest.FieldViolation field_violations = 1; * @generated from protobuf field: repeated google.rpc.BadRequest.FieldViolation field_violations = 1
*/ */
field_violations: BadRequest_FieldViolation[]; field_violations: BadRequest_FieldViolation[];
} }
@@ -195,13 +195,13 @@ export interface BadRequest_FieldViolation {
* sequence of dot-separated identifiers that identify a protocol buffer * sequence of dot-separated identifiers that identify a protocol buffer
* field. E.g., "field_violations.field" would identify this field. * field. E.g., "field_violations.field" would identify this field.
* *
* @generated from protobuf field: string field = 1; * @generated from protobuf field: string field = 1
*/ */
field: string; field: string;
/** /**
* A description of why the request element is bad. * A description of why the request element is bad.
* *
* @generated from protobuf field: string description = 2; * @generated from protobuf field: string description = 2
*/ */
description: string; description: string;
} }
@@ -216,14 +216,14 @@ export interface RequestInfo {
* An opaque string that should only be interpreted by the service generating * An opaque string that should only be interpreted by the service generating
* it. For example, it can be used to identify requests in the service's logs. * it. For example, it can be used to identify requests in the service's logs.
* *
* @generated from protobuf field: string request_id = 1; * @generated from protobuf field: string request_id = 1
*/ */
request_id: string; request_id: string;
/** /**
* Any data that was used to serve this request. For example, an encrypted * Any data that was used to serve this request. For example, an encrypted
* stack trace that can be sent back to the service provider for debugging. * stack trace that can be sent back to the service provider for debugging.
* *
* @generated from protobuf field: string serving_data = 2; * @generated from protobuf field: string serving_data = 2
*/ */
serving_data: string; serving_data: string;
} }
@@ -238,7 +238,7 @@ export interface ResourceInfo {
* "cloud storage bucket", "file", "Google calendar"; or the type URL * "cloud storage bucket", "file", "Google calendar"; or the type URL
* of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
* *
* @generated from protobuf field: string resource_type = 1; * @generated from protobuf field: string resource_type = 1
*/ */
resource_type: string; resource_type: string;
/** /**
@@ -246,7 +246,7 @@ export interface ResourceInfo {
* name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
* error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
* *
* @generated from protobuf field: string resource_name = 2; * @generated from protobuf field: string resource_name = 2
*/ */
resource_name: string; resource_name: string;
/** /**
@@ -254,7 +254,7 @@ export interface ResourceInfo {
* For example, "user:<owner email>" or "project:<Google developer project * For example, "user:<owner email>" or "project:<Google developer project
* id>". * id>".
* *
* @generated from protobuf field: string owner = 3; * @generated from protobuf field: string owner = 3
*/ */
owner: string; owner: string;
/** /**
@@ -262,7 +262,7 @@ export interface ResourceInfo {
* For example, updating a cloud project may require the `writer` permission * For example, updating a cloud project may require the `writer` permission
* on the developer console project. * on the developer console project.
* *
* @generated from protobuf field: string description = 4; * @generated from protobuf field: string description = 4
*/ */
description: string; description: string;
} }
@@ -279,7 +279,7 @@ export interface Help {
/** /**
* URL(s) pointing to additional information on handling the current error. * URL(s) pointing to additional information on handling the current error.
* *
* @generated from protobuf field: repeated google.rpc.Help.Link links = 1; * @generated from protobuf field: repeated google.rpc.Help.Link links = 1
*/ */
links: Help_Link[]; links: Help_Link[];
} }
@@ -292,13 +292,13 @@ export interface Help_Link {
/** /**
* Describes what the link offers. * Describes what the link offers.
* *
* @generated from protobuf field: string description = 1; * @generated from protobuf field: string description = 1
*/ */
description: string; description: string;
/** /**
* The URL of the link. * The URL of the link.
* *
* @generated from protobuf field: string url = 2; * @generated from protobuf field: string url = 2
*/ */
url: string; url: string;
} }
@@ -314,13 +314,13 @@ export interface LocalizedMessage {
* http://www.rfc-editor.org/rfc/bcp/bcp47.txt. * http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
* Examples are: "en-US", "fr-CH", "es-MX" * Examples are: "en-US", "fr-CH", "es-MX"
* *
* @generated from protobuf field: string locale = 1; * @generated from protobuf field: string locale = 1
*/ */
locale: string; locale: string;
/** /**
* The localized error message in the above locale. * The localized error message in the above locale.
* *
* @generated from protobuf field: string message = 2; * @generated from protobuf field: string message = 2
*/ */
message: string; message: string;
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "google/rpc/status.proto" (package "google.rpc", syntax proto3) // @generated from protobuf file "google/rpc/status.proto" (package "google.rpc", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -86,7 +86,7 @@ export interface Status {
/** /**
* The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
* *
* @generated from protobuf field: int32 code = 1; * @generated from protobuf field: int32 code = 1
*/ */
code: number; code: number;
/** /**
@@ -94,14 +94,14 @@ export interface Status {
* user-facing error message should be localized and sent in the * user-facing error message should be localized and sent in the
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. * [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
* *
* @generated from protobuf field: string message = 2; * @generated from protobuf field: string message = 2
*/ */
message: string; message: string;
/** /**
* A list of messages that carry the error details. There is a common set of * A list of messages that carry the error details. There is a common set of
* message types for APIs to use. * message types for APIs to use.
* *
* @generated from protobuf field: repeated google.protobuf.Any details = 3; * @generated from protobuf field: repeated google.protobuf.Any details = 3
*/ */
details: Any[]; details: Any[];
} }

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "openapiv2.proto" (package "grpc.gateway.protoc_gen_openapiv2.options", syntax proto3) // @generated from protobuf file "openapiv2.proto" (package "grpc.gateway.protoc_gen_openapiv2.options", syntax proto3)
// tslint:disable // tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -47,14 +47,14 @@ export interface Swagger {
* used by the OpenAPI UI and other clients to interpret the API listing. The * used by the OpenAPI UI and other clients to interpret the API listing. The
* value MUST be "2.0". * value MUST be "2.0".
* *
* @generated from protobuf field: string swagger = 1; * @generated from protobuf field: string swagger = 1
*/ */
swagger: string; swagger: string;
/** /**
* Provides metadata about the API. The metadata can be used by the * Provides metadata about the API. The metadata can be used by the
* clients if needed. * clients if needed.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Info info = 2; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Info info = 2
*/ */
info?: Info; info?: Info;
/** /**
@@ -63,7 +63,7 @@ export interface Swagger {
* not included, the host serving the documentation is to be used (including * not included, the host serving the documentation is to be used (including
* the port). The host does not support path templating. * the port). The host does not support path templating.
* *
* @generated from protobuf field: string host = 3; * @generated from protobuf field: string host = 3
*/ */
host: string; host: string;
/** /**
@@ -77,7 +77,7 @@ export interface Swagger {
* manually removed from your `google.api.http` paths and your code changed to * manually removed from your `google.api.http` paths and your code changed to
* serve the API from the `base_path`. * serve the API from the `base_path`.
* *
* @generated from protobuf field: string base_path = 4; * @generated from protobuf field: string base_path = 4
*/ */
base_path: string; base_path: string;
/** /**
@@ -85,7 +85,7 @@ export interface Swagger {
* "https", "ws", "wss". If the schemes is not included, the default scheme to * "https", "ws", "wss". If the schemes is not included, the default scheme to
* be used is the one used to access the OpenAPI definition itself. * be used is the one used to access the OpenAPI definition itself.
* *
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5; * @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5
*/ */
schemes: Scheme[]; schemes: Scheme[];
/** /**
@@ -93,7 +93,7 @@ export interface Swagger {
* can be overridden on specific API calls. Value MUST be as described under * can be overridden on specific API calls. Value MUST be as described under
* Mime Types. * Mime Types.
* *
* @generated from protobuf field: repeated string consumes = 6; * @generated from protobuf field: repeated string consumes = 6
*/ */
consumes: string[]; consumes: string[];
/** /**
@@ -101,14 +101,14 @@ export interface Swagger {
* can be overridden on specific API calls. Value MUST be as described under * can be overridden on specific API calls. Value MUST be as described under
* Mime Types. * Mime Types.
* *
* @generated from protobuf field: repeated string produces = 7; * @generated from protobuf field: repeated string produces = 7
*/ */
produces: string[]; produces: string[];
/** /**
* An object to hold responses that can be used across operations. This * An object to hold responses that can be used across operations. This
* property does not define global responses for all operations. * property does not define global responses for all operations.
* *
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10; * @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10
*/ */
responses: { responses: {
[key: string]: Response; [key: string]: Response;
@@ -116,7 +116,7 @@ export interface Swagger {
/** /**
* Security scheme definitions that can be used across the specification. * Security scheme definitions that can be used across the specification.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11
*/ */
security_definitions?: SecurityDefinitions; security_definitions?: SecurityDefinitions;
/** /**
@@ -125,17 +125,17 @@ export interface Swagger {
* (that is, there is a logical OR between the security requirements). * (that is, there is a logical OR between the security requirements).
* Individual operations can override this definition. * Individual operations can override this definition.
* *
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; * @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12
*/ */
security: SecurityRequirement[]; security: SecurityRequirement[];
/** /**
* Additional external documentation. * Additional external documentation.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14
*/ */
external_docs?: ExternalDocumentation; external_docs?: ExternalDocumentation;
/** /**
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 15; * @generated from protobuf field: map<string, google.protobuf.Value> extensions = 15
*/ */
extensions: { extensions: {
[key: string]: Value; [key: string]: Value;
@@ -175,27 +175,27 @@ export interface Operation {
* A list of tags for API documentation control. Tags can be used for logical * A list of tags for API documentation control. Tags can be used for logical
* grouping of operations by resources or any other qualifier. * grouping of operations by resources or any other qualifier.
* *
* @generated from protobuf field: repeated string tags = 1; * @generated from protobuf field: repeated string tags = 1
*/ */
tags: string[]; tags: string[];
/** /**
* A short summary of what the operation does. For maximum readability in the * A short summary of what the operation does. For maximum readability in the
* swagger-ui, this field SHOULD be less than 120 characters. * swagger-ui, this field SHOULD be less than 120 characters.
* *
* @generated from protobuf field: string summary = 2; * @generated from protobuf field: string summary = 2
*/ */
summary: string; summary: string;
/** /**
* A verbose explanation of the operation behavior. GFM syntax can be used for * A verbose explanation of the operation behavior. GFM syntax can be used for
* rich text representation. * rich text representation.
* *
* @generated from protobuf field: string description = 3; * @generated from protobuf field: string description = 3
*/ */
description: string; description: string;
/** /**
* Additional external documentation for this operation. * Additional external documentation for this operation.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4
*/ */
external_docs?: ExternalDocumentation; external_docs?: ExternalDocumentation;
/** /**
@@ -204,7 +204,7 @@ export interface Operation {
* operationId to uniquely identify an operation, therefore, it is recommended * operationId to uniquely identify an operation, therefore, it is recommended
* to follow common programming naming conventions. * to follow common programming naming conventions.
* *
* @generated from protobuf field: string operation_id = 5; * @generated from protobuf field: string operation_id = 5
*/ */
operation_id: string; operation_id: string;
/** /**
@@ -212,7 +212,7 @@ export interface Operation {
* definition at the OpenAPI Object. An empty value MAY be used to clear the * definition at the OpenAPI Object. An empty value MAY be used to clear the
* global definition. Value MUST be as described under Mime Types. * global definition. Value MUST be as described under Mime Types.
* *
* @generated from protobuf field: repeated string consumes = 6; * @generated from protobuf field: repeated string consumes = 6
*/ */
consumes: string[]; consumes: string[];
/** /**
@@ -220,14 +220,14 @@ export interface Operation {
* definition at the OpenAPI Object. An empty value MAY be used to clear the * definition at the OpenAPI Object. An empty value MAY be used to clear the
* global definition. Value MUST be as described under Mime Types. * global definition. Value MUST be as described under Mime Types.
* *
* @generated from protobuf field: repeated string produces = 7; * @generated from protobuf field: repeated string produces = 7
*/ */
produces: string[]; produces: string[];
/** /**
* The list of possible responses as they are returned from executing this * The list of possible responses as they are returned from executing this
* operation. * operation.
* *
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9; * @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9
*/ */
responses: { responses: {
[key: string]: Response; [key: string]: Response;
@@ -237,14 +237,14 @@ export interface Operation {
* "http", "https", "ws", "wss". The value overrides the OpenAPI Object * "http", "https", "ws", "wss". The value overrides the OpenAPI Object
* schemes definition. * schemes definition.
* *
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10; * @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10
*/ */
schemes: Scheme[]; schemes: Scheme[];
/** /**
* Declares this operation to be deprecated. Usage of the declared operation * Declares this operation to be deprecated. Usage of the declared operation
* should be refrained. Default value is false. * should be refrained. Default value is false.
* *
* @generated from protobuf field: bool deprecated = 11; * @generated from protobuf field: bool deprecated = 11
*/ */
deprecated: boolean; deprecated: boolean;
/** /**
@@ -254,11 +254,11 @@ export interface Operation {
* definition overrides any declared top-level security. To remove a top-level * definition overrides any declared top-level security. To remove a top-level
* security declaration, an empty array can be used. * security declaration, an empty array can be used.
* *
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; * @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12
*/ */
security: SecurityRequirement[]; security: SecurityRequirement[];
/** /**
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 13; * @generated from protobuf field: map<string, google.protobuf.Value> extensions = 13
*/ */
extensions: { extensions: {
[key: string]: Value; [key: string]: Value;
@@ -276,19 +276,19 @@ export interface Header {
/** /**
* `Description` is a short description of the header. * `Description` is a short description of the header.
* *
* @generated from protobuf field: string description = 1; * @generated from protobuf field: string description = 1
*/ */
description: string; description: string;
/** /**
* The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported. * The type of the object. The value MUST be one of "string", "number", "integer", or "boolean". The "array" type is not supported.
* *
* @generated from protobuf field: string type = 2; * @generated from protobuf field: string type = 2
*/ */
type: string; type: string;
/** /**
* `Format` The extending format for the previously mentioned type. * `Format` The extending format for the previously mentioned type.
* *
* @generated from protobuf field: string format = 3; * @generated from protobuf field: string format = 3
*/ */
format: string; format: string;
/** /**
@@ -296,13 +296,13 @@ export interface Header {
* See: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-6.2. * See: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-6.2.
* Unlike JSON Schema this value MUST conform to the defined type for the header. * Unlike JSON Schema this value MUST conform to the defined type for the header.
* *
* @generated from protobuf field: string default = 6; * @generated from protobuf field: string default = 6
*/ */
default: string; default: string;
/** /**
* 'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3. * 'Pattern' See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.2.3.
* *
* @generated from protobuf field: string pattern = 13; * @generated from protobuf field: string pattern = 13
*/ */
pattern: string; pattern: string;
} }
@@ -319,14 +319,14 @@ export interface Response {
* `Description` is a short description of the response. * `Description` is a short description of the response.
* GFM syntax can be used for rich text representation. * GFM syntax can be used for rich text representation.
* *
* @generated from protobuf field: string description = 1; * @generated from protobuf field: string description = 1
*/ */
description: string; description: string;
/** /**
* `Schema` optionally defines the structure of the response. * `Schema` optionally defines the structure of the response.
* If `Schema` is not provided, it means there is no content to the response. * If `Schema` is not provided, it means there is no content to the response.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2
*/ */
schema?: Schema; schema?: Schema;
/** /**
@@ -334,7 +334,7 @@ export interface Response {
* `Header` name is expected to be a string in the canonical format of the MIME header key * `Header` name is expected to be a string in the canonical format of the MIME header key
* See: https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey * See: https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey
* *
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3; * @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3
*/ */
headers: { headers: {
[key: string]: Header; [key: string]: Header;
@@ -343,13 +343,13 @@ export interface Response {
* `Examples` gives per-mimetype response examples. * `Examples` gives per-mimetype response examples.
* See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object * See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object
* *
* @generated from protobuf field: map<string, string> examples = 4; * @generated from protobuf field: map<string, string> examples = 4
*/ */
examples: { examples: {
[key: string]: string; [key: string]: string;
}; };
/** /**
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 5; * @generated from protobuf field: map<string, google.protobuf.Value> extensions = 5
*/ */
extensions: { extensions: {
[key: string]: Value; [key: string]: Value;
@@ -387,43 +387,43 @@ export interface Info {
/** /**
* The title of the application. * The title of the application.
* *
* @generated from protobuf field: string title = 1; * @generated from protobuf field: string title = 1
*/ */
title: string; title: string;
/** /**
* A short description of the application. GFM syntax can be used for rich * A short description of the application. GFM syntax can be used for rich
* text representation. * text representation.
* *
* @generated from protobuf field: string description = 2; * @generated from protobuf field: string description = 2
*/ */
description: string; description: string;
/** /**
* The Terms of Service for the API. * The Terms of Service for the API.
* *
* @generated from protobuf field: string terms_of_service = 3; * @generated from protobuf field: string terms_of_service = 3
*/ */
terms_of_service: string; terms_of_service: string;
/** /**
* The contact information for the exposed API. * The contact information for the exposed API.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4
*/ */
contact?: Contact; contact?: Contact;
/** /**
* The license information for the exposed API. * The license information for the exposed API.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.License license = 5; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.License license = 5
*/ */
license?: License; license?: License;
/** /**
* Provides the version of the application API (not to be confused * Provides the version of the application API (not to be confused
* with the specification version). * with the specification version).
* *
* @generated from protobuf field: string version = 6; * @generated from protobuf field: string version = 6
*/ */
version: string; version: string;
/** /**
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 7; * @generated from protobuf field: map<string, google.protobuf.Value> extensions = 7
*/ */
extensions: { extensions: {
[key: string]: Value; [key: string]: Value;
@@ -456,21 +456,21 @@ export interface Contact {
/** /**
* The identifying name of the contact person/organization. * The identifying name of the contact person/organization.
* *
* @generated from protobuf field: string name = 1; * @generated from protobuf field: string name = 1
*/ */
name: string; name: string;
/** /**
* The URL pointing to the contact information. MUST be in the format of a * The URL pointing to the contact information. MUST be in the format of a
* URL. * URL.
* *
* @generated from protobuf field: string url = 2; * @generated from protobuf field: string url = 2
*/ */
url: string; url: string;
/** /**
* The email address of the contact person/organization. MUST be in the format * The email address of the contact person/organization. MUST be in the format
* of an email address. * of an email address.
* *
* @generated from protobuf field: string email = 3; * @generated from protobuf field: string email = 3
*/ */
email: string; email: string;
} }
@@ -500,13 +500,13 @@ export interface License {
/** /**
* The license name used for the API. * The license name used for the API.
* *
* @generated from protobuf field: string name = 1; * @generated from protobuf field: string name = 1
*/ */
name: string; name: string;
/** /**
* A URL to the license used for the API. MUST be in the format of a URL. * A URL to the license used for the API. MUST be in the format of a URL.
* *
* @generated from protobuf field: string url = 2; * @generated from protobuf field: string url = 2
*/ */
url: string; url: string;
} }
@@ -535,14 +535,14 @@ export interface ExternalDocumentation {
* A short description of the target documentation. GFM syntax can be used for * A short description of the target documentation. GFM syntax can be used for
* rich text representation. * rich text representation.
* *
* @generated from protobuf field: string description = 1; * @generated from protobuf field: string description = 1
*/ */
description: string; description: string;
/** /**
* The URL for the target documentation. Value MUST be in the format * The URL for the target documentation. Value MUST be in the format
* of a URL. * of a URL.
* *
* @generated from protobuf field: string url = 2; * @generated from protobuf field: string url = 2
*/ */
url: string; url: string;
} }
@@ -556,7 +556,7 @@ export interface ExternalDocumentation {
*/ */
export interface Schema { export interface Schema {
/** /**
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1
*/ */
json_schema?: JSONSchema; json_schema?: JSONSchema;
/** /**
@@ -566,7 +566,7 @@ export interface Schema {
* be in the required property list. When used, the value MUST be the name of * be in the required property list. When used, the value MUST be the name of
* this schema or any schema that inherits it. * this schema or any schema that inherits it.
* *
* @generated from protobuf field: string discriminator = 2; * @generated from protobuf field: string discriminator = 2
*/ */
discriminator: string; discriminator: string;
/** /**
@@ -576,20 +576,20 @@ export interface Schema {
* true SHOULD NOT be in the required list of the defined schema. Default * true SHOULD NOT be in the required list of the defined schema. Default
* value is false. * value is false.
* *
* @generated from protobuf field: bool read_only = 3; * @generated from protobuf field: bool read_only = 3
*/ */
read_only: boolean; read_only: boolean;
/** /**
* Additional external documentation for this schema. * Additional external documentation for this schema.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5
*/ */
external_docs?: ExternalDocumentation; external_docs?: ExternalDocumentation;
/** /**
* A free-form property to include an example of an instance for this schema in JSON. * A free-form property to include an example of an instance for this schema in JSON.
* This is copied verbatim to the output. * This is copied verbatim to the output.
* *
* @generated from protobuf field: string example = 6; * @generated from protobuf field: string example = 6
*/ */
example: string; example: string;
} }
@@ -635,27 +635,27 @@ export interface JSONSchema {
* For example: * For example:
* `ref: ".google.protobuf.Timestamp"`. * `ref: ".google.protobuf.Timestamp"`.
* *
* @generated from protobuf field: string ref = 3; * @generated from protobuf field: string ref = 3
*/ */
ref: string; ref: string;
/** /**
* The title of the schema. * The title of the schema.
* *
* @generated from protobuf field: string title = 5; * @generated from protobuf field: string title = 5
*/ */
title: string; title: string;
/** /**
* A short description of the schema. * A short description of the schema.
* *
* @generated from protobuf field: string description = 6; * @generated from protobuf field: string description = 6
*/ */
description: string; description: string;
/** /**
* @generated from protobuf field: string default = 7; * @generated from protobuf field: string default = 7
*/ */
default: string; default: string;
/** /**
* @generated from protobuf field: bool read_only = 8; * @generated from protobuf field: bool read_only = 8
*/ */
read_only: boolean; read_only: boolean;
/** /**
@@ -663,91 +663,91 @@ export interface JSONSchema {
* verbatim to the output swagger.json. Quotes must be escaped. * verbatim to the output swagger.json. Quotes must be escaped.
* This property is the same for 2.0 and 3.0.0 https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#schemaObject https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject * This property is the same for 2.0 and 3.0.0 https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#schemaObject https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject
* *
* @generated from protobuf field: string example = 9; * @generated from protobuf field: string example = 9
*/ */
example: string; example: string;
/** /**
* @generated from protobuf field: double multiple_of = 10; * @generated from protobuf field: double multiple_of = 10
*/ */
multiple_of: number; multiple_of: number;
/** /**
* Maximum represents an inclusive upper limit for a numeric instance. The * Maximum represents an inclusive upper limit for a numeric instance. The
* value of MUST be a number, * value of MUST be a number,
* *
* @generated from protobuf field: double maximum = 11; * @generated from protobuf field: double maximum = 11
*/ */
maximum: number; maximum: number;
/** /**
* @generated from protobuf field: bool exclusive_maximum = 12; * @generated from protobuf field: bool exclusive_maximum = 12
*/ */
exclusive_maximum: boolean; exclusive_maximum: boolean;
/** /**
* minimum represents an inclusive lower limit for a numeric instance. The * minimum represents an inclusive lower limit for a numeric instance. The
* value of MUST be a number, * value of MUST be a number,
* *
* @generated from protobuf field: double minimum = 13; * @generated from protobuf field: double minimum = 13
*/ */
minimum: number; minimum: number;
/** /**
* @generated from protobuf field: bool exclusive_minimum = 14; * @generated from protobuf field: bool exclusive_minimum = 14
*/ */
exclusive_minimum: boolean; exclusive_minimum: boolean;
/** /**
* @generated from protobuf field: uint64 max_length = 15; * @generated from protobuf field: uint64 max_length = 15
*/ */
max_length: bigint; max_length: bigint;
/** /**
* @generated from protobuf field: uint64 min_length = 16; * @generated from protobuf field: uint64 min_length = 16
*/ */
min_length: bigint; min_length: bigint;
/** /**
* @generated from protobuf field: string pattern = 17; * @generated from protobuf field: string pattern = 17
*/ */
pattern: string; pattern: string;
/** /**
* @generated from protobuf field: uint64 max_items = 20; * @generated from protobuf field: uint64 max_items = 20
*/ */
max_items: bigint; max_items: bigint;
/** /**
* @generated from protobuf field: uint64 min_items = 21; * @generated from protobuf field: uint64 min_items = 21
*/ */
min_items: bigint; min_items: bigint;
/** /**
* @generated from protobuf field: bool unique_items = 22; * @generated from protobuf field: bool unique_items = 22
*/ */
unique_items: boolean; unique_items: boolean;
/** /**
* @generated from protobuf field: uint64 max_properties = 24; * @generated from protobuf field: uint64 max_properties = 24
*/ */
max_properties: bigint; max_properties: bigint;
/** /**
* @generated from protobuf field: uint64 min_properties = 25; * @generated from protobuf field: uint64 min_properties = 25
*/ */
min_properties: bigint; min_properties: bigint;
/** /**
* @generated from protobuf field: repeated string required = 26; * @generated from protobuf field: repeated string required = 26
*/ */
required: string[]; required: string[];
/** /**
* Items in 'array' must be unique. * Items in 'array' must be unique.
* *
* @generated from protobuf field: repeated string array = 34; * @generated from protobuf field: repeated string array = 34
*/ */
array: string[]; array: string[];
/** /**
* @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; * @generated from protobuf field: repeated grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35
*/ */
type: JSONSchema_JSONSchemaSimpleTypes[]; type: JSONSchema_JSONSchemaSimpleTypes[];
/** /**
* `Format` * `Format`
* *
* @generated from protobuf field: string format = 36; * @generated from protobuf field: string format = 36
*/ */
format: string; format: string;
/** /**
* Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1 * Items in `enum` must be unique https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1
* *
* @generated from protobuf field: repeated string enum = 46; * @generated from protobuf field: repeated string enum = 46
*/ */
enum: string[]; enum: string[];
} }
@@ -801,13 +801,13 @@ export interface Tag {
* A short description for the tag. GFM syntax can be used for rich text * A short description for the tag. GFM syntax can be used for rich text
* representation. * representation.
* *
* @generated from protobuf field: string description = 2; * @generated from protobuf field: string description = 2
*/ */
description: string; description: string;
/** /**
* Additional external documentation for this tag. * Additional external documentation for this tag.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3
*/ */
external_docs?: ExternalDocumentation; external_docs?: ExternalDocumentation;
} }
@@ -828,7 +828,7 @@ export interface SecurityDefinitions {
* A single security scheme definition, mapping a "name" to the scheme it * A single security scheme definition, mapping a "name" to the scheme it
* defines. * defines.
* *
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1; * @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1
*/ */
security: { security: {
[key: string]: SecurityScheme; [key: string]: SecurityScheme;
@@ -852,20 +852,20 @@ export interface SecurityScheme {
* The type of the security scheme. Valid values are "basic", * The type of the security scheme. Valid values are "basic",
* "apiKey" or "oauth2". * "apiKey" or "oauth2".
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1
*/ */
type: SecurityScheme_Type; type: SecurityScheme_Type;
/** /**
* A short description for security scheme. * A short description for security scheme.
* *
* @generated from protobuf field: string description = 2; * @generated from protobuf field: string description = 2
*/ */
description: string; description: string;
/** /**
* The name of the header or query parameter to be used. * The name of the header or query parameter to be used.
* Valid for apiKey. * Valid for apiKey.
* *
* @generated from protobuf field: string name = 3; * @generated from protobuf field: string name = 3
*/ */
name: string; name: string;
/** /**
@@ -873,7 +873,7 @@ export interface SecurityScheme {
* "header". * "header".
* Valid for apiKey. * Valid for apiKey.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4
*/ */
in: SecurityScheme_In; in: SecurityScheme_In;
/** /**
@@ -881,7 +881,7 @@ export interface SecurityScheme {
* "implicit", "password", "application" or "accessCode". * "implicit", "password", "application" or "accessCode".
* Valid for oauth2. * Valid for oauth2.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5
*/ */
flow: SecurityScheme_Flow; flow: SecurityScheme_Flow;
/** /**
@@ -889,7 +889,7 @@ export interface SecurityScheme {
* the form of a URL. * the form of a URL.
* Valid for oauth2/implicit and oauth2/accessCode. * Valid for oauth2/implicit and oauth2/accessCode.
* *
* @generated from protobuf field: string authorization_url = 6; * @generated from protobuf field: string authorization_url = 6
*/ */
authorization_url: string; authorization_url: string;
/** /**
@@ -897,18 +897,18 @@ export interface SecurityScheme {
* form of a URL. * form of a URL.
* Valid for oauth2/password, oauth2/application and oauth2/accessCode. * Valid for oauth2/password, oauth2/application and oauth2/accessCode.
* *
* @generated from protobuf field: string token_url = 7; * @generated from protobuf field: string token_url = 7
*/ */
token_url: string; token_url: string;
/** /**
* The available scopes for the OAuth2 security scheme. * The available scopes for the OAuth2 security scheme.
* Valid for oauth2. * Valid for oauth2.
* *
* @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8; * @generated from protobuf field: grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8
*/ */
scopes?: Scopes; scopes?: Scopes;
/** /**
* @generated from protobuf field: map<string, google.protobuf.Value> extensions = 9; * @generated from protobuf field: map<string, google.protobuf.Value> extensions = 9
*/ */
extensions: { extensions: {
[key: string]: Value; [key: string]: Value;
@@ -1007,7 +1007,7 @@ export interface SecurityRequirement {
* then the value is a list of scope names required for the execution. * then the value is a list of scope names required for the execution.
* For other security scheme types, the array MUST be empty. * For other security scheme types, the array MUST be empty.
* *
* @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1; * @generated from protobuf field: map<string, grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1
*/ */
security_requirement: { security_requirement: {
[key: string]: SecurityRequirement_SecurityRequirementValue; [key: string]: SecurityRequirement_SecurityRequirementValue;
@@ -1022,7 +1022,7 @@ export interface SecurityRequirement {
*/ */
export interface SecurityRequirement_SecurityRequirementValue { export interface SecurityRequirement_SecurityRequirementValue {
/** /**
* @generated from protobuf field: repeated string scope = 1; * @generated from protobuf field: repeated string scope = 1
*/ */
scope: string[]; scope: string[];
} }
@@ -1040,7 +1040,7 @@ export interface Scopes {
* Maps between a name of a scope to a short description of it (as the value * Maps between a name of a scope to a short description of it (as the value
* of the property). * of the property).
* *
* @generated from protobuf field: map<string, string> scope = 1; * @generated from protobuf field: map<string, string> scope = 1
*/ */
scope: { scope: {
[key: string]: string; [key: string]: string;
@@ -1174,7 +1174,7 @@ class Swagger$Type extends MessageType<Swagger> {
case 2: case 2:
val = Response.internalBinaryRead(reader, reader.uint32(), options); val = Response.internalBinaryRead(reader, reader.uint32(), options);
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses");
} }
} }
map[key ?? ""] = val ?? Response.create(); map[key ?? ""] = val ?? Response.create();
@@ -1190,7 +1190,7 @@ class Swagger$Type extends MessageType<Swagger> {
case 2: case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options); val = Value.internalBinaryRead(reader, reader.uint32(), options);
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions");
} }
} }
map[key ?? ""] = val ?? Value.create(); map[key ?? ""] = val ?? Value.create();
@@ -1356,7 +1356,7 @@ class Operation$Type extends MessageType<Operation> {
case 2: case 2:
val = Response.internalBinaryRead(reader, reader.uint32(), options); val = Response.internalBinaryRead(reader, reader.uint32(), options);
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Operation.responses"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Operation.responses");
} }
} }
map[key ?? ""] = val ?? Response.create(); map[key ?? ""] = val ?? Response.create();
@@ -1372,7 +1372,7 @@ class Operation$Type extends MessageType<Operation> {
case 2: case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options); val = Value.internalBinaryRead(reader, reader.uint32(), options);
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions");
} }
} }
map[key ?? ""] = val ?? Value.create(); map[key ?? ""] = val ?? Value.create();
@@ -1578,7 +1578,7 @@ class Response$Type extends MessageType<Response> {
case 2: case 2:
val = Header.internalBinaryRead(reader, reader.uint32(), options); val = Header.internalBinaryRead(reader, reader.uint32(), options);
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Response.headers"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Response.headers");
} }
} }
map[key ?? ""] = val ?? Header.create(); map[key ?? ""] = val ?? Header.create();
@@ -1594,7 +1594,7 @@ class Response$Type extends MessageType<Response> {
case 2: case 2:
val = reader.string(); val = reader.string();
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Response.examples"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Response.examples");
} }
} }
map[key ?? ""] = val ?? ""; map[key ?? ""] = val ?? "";
@@ -1610,7 +1610,7 @@ class Response$Type extends MessageType<Response> {
case 2: case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options); val = Value.internalBinaryRead(reader, reader.uint32(), options);
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Response.extensions"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Response.extensions");
} }
} }
map[key ?? ""] = val ?? Value.create(); map[key ?? ""] = val ?? Value.create();
@@ -1721,7 +1721,7 @@ class Info$Type extends MessageType<Info> {
case 2: case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options); val = Value.internalBinaryRead(reader, reader.uint32(), options);
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Info.extensions"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Info.extensions");
} }
} }
map[key ?? ""] = val ?? Value.create(); map[key ?? ""] = val ?? Value.create();
@@ -2349,7 +2349,7 @@ class SecurityDefinitions$Type extends MessageType<SecurityDefinitions> {
case 2: case 2:
val = SecurityScheme.internalBinaryRead(reader, reader.uint32(), options); val = SecurityScheme.internalBinaryRead(reader, reader.uint32(), options);
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security");
} }
} }
map[key ?? ""] = val ?? SecurityScheme.create(); map[key ?? ""] = val ?? SecurityScheme.create();
@@ -2455,7 +2455,7 @@ class SecurityScheme$Type extends MessageType<SecurityScheme> {
case 2: case 2:
val = Value.internalBinaryRead(reader, reader.uint32(), options); val = Value.internalBinaryRead(reader, reader.uint32(), options);
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions");
} }
} }
map[key ?? ""] = val ?? Value.create(); map[key ?? ""] = val ?? Value.create();
@@ -2546,7 +2546,7 @@ class SecurityRequirement$Type extends MessageType<SecurityRequirement> {
case 2: case 2:
val = SecurityRequirement_SecurityRequirementValue.internalBinaryRead(reader, reader.uint32(), options); val = SecurityRequirement_SecurityRequirementValue.internalBinaryRead(reader, reader.uint32(), options);
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement");
} }
} }
map[key ?? ""] = val ?? SecurityRequirement_SecurityRequirementValue.create(); map[key ?? ""] = val ?? SecurityRequirement_SecurityRequirementValue.create();
@@ -2660,7 +2660,7 @@ class Scopes$Type extends MessageType<Scopes> {
case 2: case 2:
val = reader.string(); val = reader.string();
break; break;
default: throw new globalThis.Error("unknown map entry field for field grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope"); default: throw new globalThis.Error("unknown map entry field for grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope");
} }
} }
map[key ?? ""] = val ?? ""; map[key ?? ""] = val ?? "";

View File

@@ -1,6 +1,6 @@
{ {
"name": "@reflex-platform/npm-viz-sdk", "name": "@reflex-platform/npm-viz-sdk",
"version": "1.11.0-SNAPSHOT-250506111645", "version": "1.11.0-SNAPSHOT-250613134139",
"description": "npm libs from visibility model proto files", "description": "npm libs from visibility model proto files",
"homepage": "", "homepage": "",
"main": "index.ts", "main": "index.ts",

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "visibility.proto" (package "google.api", syntax proto3) // @generated from protobuf file "visibility.proto" (package "google.api", syntax proto3)
// tslint:disable // tslint:disable
// //
@@ -57,7 +57,7 @@ export interface Visibility {
* *
* **NOTE:** All service configuration rules follow "last one wins" order. * **NOTE:** All service configuration rules follow "last one wins" order.
* *
* @generated from protobuf field: repeated google.api.VisibilityRule rules = 1; * @generated from protobuf field: repeated google.api.VisibilityRule rules = 1
*/ */
rules: VisibilityRule[]; rules: VisibilityRule[];
} }
@@ -73,7 +73,7 @@ export interface VisibilityRule {
* *
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details. * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
* *
* @generated from protobuf field: string selector = 1; * @generated from protobuf field: string selector = 1
*/ */
selector: string; selector: string;
/** /**
@@ -93,7 +93,7 @@ export interface VisibilityRule {
* Removing INTERNAL from this restriction will break clients that rely on * Removing INTERNAL from this restriction will break clients that rely on
* this method and only had access to it through INTERNAL. * this method and only had access to it through INTERNAL.
* *
* @generated from protobuf field: string restriction = 2; * @generated from protobuf field: string restriction = 2
*/ */
restriction: string; restriction: string;
} }

View File

@@ -1,9 +1,29 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-composed-field.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-composed-field.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { ComposedFieldService } from "./viz-composed-field"; import { ComposedFieldService } from "./viz-composed-field";
import type { ListSiteComposedFieldResult } from "./viz-composed-field";
import type { ListSiteComposedFieldRequest } from "./viz-composed-field";
import type { DeleteSiteComposedFieldResult } from "./viz-composed-field";
import type { DeleteSiteComposedFieldRequest } from "./viz-composed-field";
import type { UpdateSiteComposedFieldResult } from "./viz-composed-field";
import type { UpdateSiteComposedFieldRequest } from "./viz-composed-field";
import type { CreateSiteComposedFieldResult } from "./viz-composed-field";
import type { CreateSiteComposedFieldRequest } from "./viz-composed-field";
import type { GetSiteComposedFieldResult } from "./viz-composed-field";
import type { GetSiteComposedFieldRequest } from "./viz-composed-field";
import type { ListProjectComposedFieldResult } from "./viz-composed-field";
import type { ListProjectComposedFieldRequest } from "./viz-composed-field";
import type { DeleteProjectComposedFieldResult } from "./viz-composed-field";
import type { DeleteProjectComposedFieldRequest } from "./viz-composed-field";
import type { UpdateProjectComposedFieldResult } from "./viz-composed-field";
import type { UpdateProjectComposedFieldRequest } from "./viz-composed-field";
import type { CreateProjectComposedFieldResult } from "./viz-composed-field";
import type { CreateProjectComposedFieldRequest } from "./viz-composed-field";
import type { GetProjectComposedFieldResult } from "./viz-composed-field";
import type { GetProjectComposedFieldRequest } from "./viz-composed-field";
import type { ListComposedFieldResult } from "./viz-composed-field"; import type { ListComposedFieldResult } from "./viz-composed-field";
import type { ListComposedFieldRequest } from "./viz-composed-field"; import type { ListComposedFieldRequest } from "./viz-composed-field";
import type { DeleteComposedFieldResult } from "./viz-composed-field"; import type { DeleteComposedFieldResult } from "./viz-composed-field";
@@ -22,25 +42,65 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/ */
export interface IComposedFieldServiceClient { export interface IComposedFieldServiceClient {
/** /**
* @generated from protobuf rpc: Get(vizapi.GetComposedFieldRequest) returns (vizapi.GetComposedFieldResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetComposedFieldRequest, options?: RpcOptions): UnaryCall<GetComposedFieldRequest, GetComposedFieldResult>; get(input: GetComposedFieldRequest, options?: RpcOptions): UnaryCall<GetComposedFieldRequest, GetComposedFieldResult>;
/** /**
* @generated from protobuf rpc: Create(vizapi.CreateComposedFieldRequest) returns (vizapi.CreateComposedFieldResult); * @generated from protobuf rpc: Create
*/ */
create(input: CreateComposedFieldRequest, options?: RpcOptions): UnaryCall<CreateComposedFieldRequest, CreateComposedFieldResult>; create(input: CreateComposedFieldRequest, options?: RpcOptions): UnaryCall<CreateComposedFieldRequest, CreateComposedFieldResult>;
/** /**
* @generated from protobuf rpc: Update(vizapi.UpdateComposedFieldRequest) returns (vizapi.UpdateComposedFieldResult); * @generated from protobuf rpc: Update
*/ */
update(input: UpdateComposedFieldRequest, options?: RpcOptions): UnaryCall<UpdateComposedFieldRequest, UpdateComposedFieldResult>; update(input: UpdateComposedFieldRequest, options?: RpcOptions): UnaryCall<UpdateComposedFieldRequest, UpdateComposedFieldResult>;
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteComposedFieldRequest) returns (vizapi.DeleteComposedFieldResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteComposedFieldRequest, options?: RpcOptions): UnaryCall<DeleteComposedFieldRequest, DeleteComposedFieldResult>; delete(input: DeleteComposedFieldRequest, options?: RpcOptions): UnaryCall<DeleteComposedFieldRequest, DeleteComposedFieldResult>;
/** /**
* @generated from protobuf rpc: List(vizapi.ListComposedFieldRequest) returns (vizapi.ListComposedFieldResult); * @generated from protobuf rpc: List
*/ */
list(input: ListComposedFieldRequest, options?: RpcOptions): UnaryCall<ListComposedFieldRequest, ListComposedFieldResult>; list(input: ListComposedFieldRequest, options?: RpcOptions): UnaryCall<ListComposedFieldRequest, ListComposedFieldResult>;
/**
* @generated from protobuf rpc: GetProject
*/
getProject(input: GetProjectComposedFieldRequest, options?: RpcOptions): UnaryCall<GetProjectComposedFieldRequest, GetProjectComposedFieldResult>;
/**
* @generated from protobuf rpc: CreateProject
*/
createProject(input: CreateProjectComposedFieldRequest, options?: RpcOptions): UnaryCall<CreateProjectComposedFieldRequest, CreateProjectComposedFieldResult>;
/**
* @generated from protobuf rpc: UpdateProject
*/
updateProject(input: UpdateProjectComposedFieldRequest, options?: RpcOptions): UnaryCall<UpdateProjectComposedFieldRequest, UpdateProjectComposedFieldResult>;
/**
* @generated from protobuf rpc: DeleteProject
*/
deleteProject(input: DeleteProjectComposedFieldRequest, options?: RpcOptions): UnaryCall<DeleteProjectComposedFieldRequest, DeleteProjectComposedFieldResult>;
/**
* @generated from protobuf rpc: ListProject
*/
listProject(input: ListProjectComposedFieldRequest, options?: RpcOptions): UnaryCall<ListProjectComposedFieldRequest, ListProjectComposedFieldResult>;
/**
* @generated from protobuf rpc: GetSite
*/
getSite(input: GetSiteComposedFieldRequest, options?: RpcOptions): UnaryCall<GetSiteComposedFieldRequest, GetSiteComposedFieldResult>;
/**
* @generated from protobuf rpc: CreateSite
*/
createSite(input: CreateSiteComposedFieldRequest, options?: RpcOptions): UnaryCall<CreateSiteComposedFieldRequest, CreateSiteComposedFieldResult>;
/**
* @generated from protobuf rpc: UpdateSite
*/
updateSite(input: UpdateSiteComposedFieldRequest, options?: RpcOptions): UnaryCall<UpdateSiteComposedFieldRequest, UpdateSiteComposedFieldResult>;
/**
* @generated from protobuf rpc: DeleteSite
*/
deleteSite(input: DeleteSiteComposedFieldRequest, options?: RpcOptions): UnaryCall<DeleteSiteComposedFieldRequest, DeleteSiteComposedFieldResult>;
/**
* @generated from protobuf rpc: ListSite
*/
listSite(input: ListSiteComposedFieldRequest, options?: RpcOptions): UnaryCall<ListSiteComposedFieldRequest, ListSiteComposedFieldResult>;
} }
/** /**
* @generated from protobuf service vizapi.ComposedFieldService * @generated from protobuf service vizapi.ComposedFieldService
@@ -52,38 +112,108 @@ export class ComposedFieldServiceClient implements IComposedFieldServiceClient,
constructor(private readonly _transport: RpcTransport) { constructor(private readonly _transport: RpcTransport) {
} }
/** /**
* @generated from protobuf rpc: Get(vizapi.GetComposedFieldRequest) returns (vizapi.GetComposedFieldResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetComposedFieldRequest, options?: RpcOptions): UnaryCall<GetComposedFieldRequest, GetComposedFieldResult> { get(input: GetComposedFieldRequest, options?: RpcOptions): UnaryCall<GetComposedFieldRequest, GetComposedFieldResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options); const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<GetComposedFieldRequest, GetComposedFieldResult>("unary", this._transport, method, opt, input); return stackIntercept<GetComposedFieldRequest, GetComposedFieldResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Create(vizapi.CreateComposedFieldRequest) returns (vizapi.CreateComposedFieldResult); * @generated from protobuf rpc: Create
*/ */
create(input: CreateComposedFieldRequest, options?: RpcOptions): UnaryCall<CreateComposedFieldRequest, CreateComposedFieldResult> { create(input: CreateComposedFieldRequest, options?: RpcOptions): UnaryCall<CreateComposedFieldRequest, CreateComposedFieldResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options); const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateComposedFieldRequest, CreateComposedFieldResult>("unary", this._transport, method, opt, input); return stackIntercept<CreateComposedFieldRequest, CreateComposedFieldResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Update(vizapi.UpdateComposedFieldRequest) returns (vizapi.UpdateComposedFieldResult); * @generated from protobuf rpc: Update
*/ */
update(input: UpdateComposedFieldRequest, options?: RpcOptions): UnaryCall<UpdateComposedFieldRequest, UpdateComposedFieldResult> { update(input: UpdateComposedFieldRequest, options?: RpcOptions): UnaryCall<UpdateComposedFieldRequest, UpdateComposedFieldResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options); const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateComposedFieldRequest, UpdateComposedFieldResult>("unary", this._transport, method, opt, input); return stackIntercept<UpdateComposedFieldRequest, UpdateComposedFieldResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteComposedFieldRequest) returns (vizapi.DeleteComposedFieldResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteComposedFieldRequest, options?: RpcOptions): UnaryCall<DeleteComposedFieldRequest, DeleteComposedFieldResult> { delete(input: DeleteComposedFieldRequest, options?: RpcOptions): UnaryCall<DeleteComposedFieldRequest, DeleteComposedFieldResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options); const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteComposedFieldRequest, DeleteComposedFieldResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteComposedFieldRequest, DeleteComposedFieldResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: List(vizapi.ListComposedFieldRequest) returns (vizapi.ListComposedFieldResult); * @generated from protobuf rpc: List
*/ */
list(input: ListComposedFieldRequest, options?: RpcOptions): UnaryCall<ListComposedFieldRequest, ListComposedFieldResult> { list(input: ListComposedFieldRequest, options?: RpcOptions): UnaryCall<ListComposedFieldRequest, ListComposedFieldResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options); const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<ListComposedFieldRequest, ListComposedFieldResult>("unary", this._transport, method, opt, input); return stackIntercept<ListComposedFieldRequest, ListComposedFieldResult>("unary", this._transport, method, opt, input);
} }
/**
* @generated from protobuf rpc: GetProject
*/
getProject(input: GetProjectComposedFieldRequest, options?: RpcOptions): UnaryCall<GetProjectComposedFieldRequest, GetProjectComposedFieldResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<GetProjectComposedFieldRequest, GetProjectComposedFieldResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CreateProject
*/
createProject(input: CreateProjectComposedFieldRequest, options?: RpcOptions): UnaryCall<CreateProjectComposedFieldRequest, CreateProjectComposedFieldResult> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateProjectComposedFieldRequest, CreateProjectComposedFieldResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateProject
*/
updateProject(input: UpdateProjectComposedFieldRequest, options?: RpcOptions): UnaryCall<UpdateProjectComposedFieldRequest, UpdateProjectComposedFieldResult> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateProjectComposedFieldRequest, UpdateProjectComposedFieldResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteProject
*/
deleteProject(input: DeleteProjectComposedFieldRequest, options?: RpcOptions): UnaryCall<DeleteProjectComposedFieldRequest, DeleteProjectComposedFieldResult> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteProjectComposedFieldRequest, DeleteProjectComposedFieldResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListProject
*/
listProject(input: ListProjectComposedFieldRequest, options?: RpcOptions): UnaryCall<ListProjectComposedFieldRequest, ListProjectComposedFieldResult> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<ListProjectComposedFieldRequest, ListProjectComposedFieldResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetSite
*/
getSite(input: GetSiteComposedFieldRequest, options?: RpcOptions): UnaryCall<GetSiteComposedFieldRequest, GetSiteComposedFieldResult> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<GetSiteComposedFieldRequest, GetSiteComposedFieldResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CreateSite
*/
createSite(input: CreateSiteComposedFieldRequest, options?: RpcOptions): UnaryCall<CreateSiteComposedFieldRequest, CreateSiteComposedFieldResult> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateSiteComposedFieldRequest, CreateSiteComposedFieldResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateSite
*/
updateSite(input: UpdateSiteComposedFieldRequest, options?: RpcOptions): UnaryCall<UpdateSiteComposedFieldRequest, UpdateSiteComposedFieldResult> {
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateSiteComposedFieldRequest, UpdateSiteComposedFieldResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteSite
*/
deleteSite(input: DeleteSiteComposedFieldRequest, options?: RpcOptions): UnaryCall<DeleteSiteComposedFieldRequest, DeleteSiteComposedFieldResult> {
const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteSiteComposedFieldRequest, DeleteSiteComposedFieldResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListSite
*/
listSite(input: ListSiteComposedFieldRequest, options?: RpcOptions): UnaryCall<ListSiteComposedFieldRequest, ListSiteComposedFieldResult> {
const method = this.methods[14], opt = this._transport.mergeOptions(options);
return stackIntercept<ListSiteComposedFieldRequest, ListSiteComposedFieldResult>("unary", this._transport, method, opt, input);
}
} }

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,35 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-dashboard.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-dashboard.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { DashboardService } from "./viz-dashboard"; import { DashboardService } from "./viz-dashboard";
import type { CopySiteDashboardResult } from "./viz-dashboard";
import type { CopySiteDashboardRequest } from "./viz-dashboard";
import type { GetSiteDashboardResult } from "./viz-dashboard";
import type { GetSiteDashboardRequest } from "./viz-dashboard";
import type { UpdateSiteDashboardResult } from "./viz-dashboard";
import type { UpdateSiteDashboardRequest } from "./viz-dashboard";
import type { DeleteDashboardsForSiteResult } from "./viz-dashboard";
import type { DeleteDashboardsForSiteRequest } from "./viz-dashboard";
import type { DeleteSiteDashboardResult } from "./viz-dashboard";
import type { DeleteSiteDashboardRequest } from "./viz-dashboard";
import type { ListSiteDashboardResult } from "./viz-dashboard";
import type { ListSiteDashboardRequest } from "./viz-dashboard";
import type { CreateSiteDashboardResult } from "./viz-dashboard";
import type { CreateSiteDashboardRequest } from "./viz-dashboard";
import type { CopyProjectDashboardResult } from "./viz-dashboard";
import type { CopyProjectDashboardRequest } from "./viz-dashboard";
import type { GetProjectDashboardResult } from "./viz-dashboard";
import type { GetProjectDashboardRequest } from "./viz-dashboard";
import type { UpdateProjectDashboardResult } from "./viz-dashboard";
import type { UpdateProjectDashboardRequest } from "./viz-dashboard";
import type { DeleteProjectDashboardResult } from "./viz-dashboard";
import type { DeleteProjectDashboardRequest } from "./viz-dashboard";
import type { ListProjectDashboardResult } from "./viz-dashboard";
import type { ListProjectDashboardRequest } from "./viz-dashboard";
import type { CreateProjectDashboardResult } from "./viz-dashboard";
import type { CreateProjectDashboardRequest } from "./viz-dashboard";
import type { CopyDashboardResult } from "./viz-dashboard"; import type { CopyDashboardResult } from "./viz-dashboard";
import type { CopyDashboardRequest } from "./viz-dashboard"; import type { CopyDashboardRequest } from "./viz-dashboard";
import type { GetDashboardResult } from "./viz-dashboard"; import type { GetDashboardResult } from "./viz-dashboard";
@@ -28,37 +54,89 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/ */
export interface IDashboardServiceClient { export interface IDashboardServiceClient {
/** /**
* @generated from protobuf rpc: Create(vizapi.CreateDashboardRequest) returns (vizapi.CreateDashboardResult); * @generated from protobuf rpc: Create
*/ */
create(input: CreateDashboardRequest, options?: RpcOptions): UnaryCall<CreateDashboardRequest, CreateDashboardResult>; create(input: CreateDashboardRequest, options?: RpcOptions): UnaryCall<CreateDashboardRequest, CreateDashboardResult>;
/** /**
* @generated from protobuf rpc: List(vizapi.ListDashboardRequest) returns (vizapi.ListDashboardResult); * @generated from protobuf rpc: List
*/ */
list(input: ListDashboardRequest, options?: RpcOptions): UnaryCall<ListDashboardRequest, ListDashboardResult>; list(input: ListDashboardRequest, options?: RpcOptions): UnaryCall<ListDashboardRequest, ListDashboardResult>;
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteDashboardRequest) returns (vizapi.DeleteDashboardResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteDashboardRequest, options?: RpcOptions): UnaryCall<DeleteDashboardRequest, DeleteDashboardResult>; delete(input: DeleteDashboardRequest, options?: RpcOptions): UnaryCall<DeleteDashboardRequest, DeleteDashboardResult>;
/** /**
* @generated from protobuf rpc: DeleteDashboardsForOrganisation(vizapi.DeleteDashboardsForOrganisationRequest) returns (vizapi.DeleteDashboardsForOrganisationResult); * @generated from protobuf rpc: DeleteDashboardsForOrganisation
*/ */
deleteDashboardsForOrganisation(input: DeleteDashboardsForOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForOrganisationRequest, DeleteDashboardsForOrganisationResult>; deleteDashboardsForOrganisation(input: DeleteDashboardsForOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForOrganisationRequest, DeleteDashboardsForOrganisationResult>;
/** /**
* @generated from protobuf rpc: DeleteDashboardsForProject(vizapi.DeleteDashboardsForProjectRequest) returns (vizapi.DeleteDashboardsForProjectResult); * @generated from protobuf rpc: DeleteDashboardsForProject
*/ */
deleteDashboardsForProject(input: DeleteDashboardsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForProjectRequest, DeleteDashboardsForProjectResult>; deleteDashboardsForProject(input: DeleteDashboardsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForProjectRequest, DeleteDashboardsForProjectResult>;
/** /**
* @generated from protobuf rpc: Update(vizapi.UpdateDashboardRequest) returns (vizapi.UpdateDashboardResult); * @generated from protobuf rpc: Update
*/ */
update(input: UpdateDashboardRequest, options?: RpcOptions): UnaryCall<UpdateDashboardRequest, UpdateDashboardResult>; update(input: UpdateDashboardRequest, options?: RpcOptions): UnaryCall<UpdateDashboardRequest, UpdateDashboardResult>;
/** /**
* @generated from protobuf rpc: Get(vizapi.GetDashboardRequest) returns (vizapi.GetDashboardResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetDashboardRequest, options?: RpcOptions): UnaryCall<GetDashboardRequest, GetDashboardResult>; get(input: GetDashboardRequest, options?: RpcOptions): UnaryCall<GetDashboardRequest, GetDashboardResult>;
/** /**
* @generated from protobuf rpc: Copy(vizapi.CopyDashboardRequest) returns (vizapi.CopyDashboardResult); * @generated from protobuf rpc: Copy
*/ */
copy(input: CopyDashboardRequest, options?: RpcOptions): UnaryCall<CopyDashboardRequest, CopyDashboardResult>; copy(input: CopyDashboardRequest, options?: RpcOptions): UnaryCall<CopyDashboardRequest, CopyDashboardResult>;
/**
* @generated from protobuf rpc: CreateProject
*/
createProject(input: CreateProjectDashboardRequest, options?: RpcOptions): UnaryCall<CreateProjectDashboardRequest, CreateProjectDashboardResult>;
/**
* @generated from protobuf rpc: ListProject
*/
listProject(input: ListProjectDashboardRequest, options?: RpcOptions): UnaryCall<ListProjectDashboardRequest, ListProjectDashboardResult>;
/**
* @generated from protobuf rpc: DeleteProject
*/
deleteProject(input: DeleteProjectDashboardRequest, options?: RpcOptions): UnaryCall<DeleteProjectDashboardRequest, DeleteProjectDashboardResult>;
/**
* @generated from protobuf rpc: UpdateProject
*/
updateProject(input: UpdateProjectDashboardRequest, options?: RpcOptions): UnaryCall<UpdateProjectDashboardRequest, UpdateProjectDashboardResult>;
/**
* @generated from protobuf rpc: GetProject
*/
getProject(input: GetProjectDashboardRequest, options?: RpcOptions): UnaryCall<GetProjectDashboardRequest, GetProjectDashboardResult>;
/**
* @generated from protobuf rpc: CopyProject
*/
copyProject(input: CopyProjectDashboardRequest, options?: RpcOptions): UnaryCall<CopyProjectDashboardRequest, CopyProjectDashboardResult>;
/**
* @generated from protobuf rpc: CreateSite
*/
createSite(input: CreateSiteDashboardRequest, options?: RpcOptions): UnaryCall<CreateSiteDashboardRequest, CreateSiteDashboardResult>;
/**
* @generated from protobuf rpc: ListSite
*/
listSite(input: ListSiteDashboardRequest, options?: RpcOptions): UnaryCall<ListSiteDashboardRequest, ListSiteDashboardResult>;
/**
* @generated from protobuf rpc: DeleteSite
*/
deleteSite(input: DeleteSiteDashboardRequest, options?: RpcOptions): UnaryCall<DeleteSiteDashboardRequest, DeleteSiteDashboardResult>;
/**
* @generated from protobuf rpc: DeleteDashboardsForSite
*/
deleteDashboardsForSite(input: DeleteDashboardsForSiteRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForSiteRequest, DeleteDashboardsForSiteResult>;
/**
* @generated from protobuf rpc: UpdateSite
*/
updateSite(input: UpdateSiteDashboardRequest, options?: RpcOptions): UnaryCall<UpdateSiteDashboardRequest, UpdateSiteDashboardResult>;
/**
* @generated from protobuf rpc: GetSite
*/
getSite(input: GetSiteDashboardRequest, options?: RpcOptions): UnaryCall<GetSiteDashboardRequest, GetSiteDashboardResult>;
/**
* @generated from protobuf rpc: CopySite
*/
copySite(input: CopySiteDashboardRequest, options?: RpcOptions): UnaryCall<CopySiteDashboardRequest, CopySiteDashboardResult>;
} }
/** /**
* @generated from protobuf service vizapi.DashboardService * @generated from protobuf service vizapi.DashboardService
@@ -70,59 +148,150 @@ export class DashboardServiceClient implements IDashboardServiceClient, ServiceI
constructor(private readonly _transport: RpcTransport) { constructor(private readonly _transport: RpcTransport) {
} }
/** /**
* @generated from protobuf rpc: Create(vizapi.CreateDashboardRequest) returns (vizapi.CreateDashboardResult); * @generated from protobuf rpc: Create
*/ */
create(input: CreateDashboardRequest, options?: RpcOptions): UnaryCall<CreateDashboardRequest, CreateDashboardResult> { create(input: CreateDashboardRequest, options?: RpcOptions): UnaryCall<CreateDashboardRequest, CreateDashboardResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options); const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateDashboardRequest, CreateDashboardResult>("unary", this._transport, method, opt, input); return stackIntercept<CreateDashboardRequest, CreateDashboardResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: List(vizapi.ListDashboardRequest) returns (vizapi.ListDashboardResult); * @generated from protobuf rpc: List
*/ */
list(input: ListDashboardRequest, options?: RpcOptions): UnaryCall<ListDashboardRequest, ListDashboardResult> { list(input: ListDashboardRequest, options?: RpcOptions): UnaryCall<ListDashboardRequest, ListDashboardResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options); const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<ListDashboardRequest, ListDashboardResult>("unary", this._transport, method, opt, input); return stackIntercept<ListDashboardRequest, ListDashboardResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteDashboardRequest) returns (vizapi.DeleteDashboardResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteDashboardRequest, options?: RpcOptions): UnaryCall<DeleteDashboardRequest, DeleteDashboardResult> { delete(input: DeleteDashboardRequest, options?: RpcOptions): UnaryCall<DeleteDashboardRequest, DeleteDashboardResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options); const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteDashboardRequest, DeleteDashboardResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteDashboardRequest, DeleteDashboardResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: DeleteDashboardsForOrganisation(vizapi.DeleteDashboardsForOrganisationRequest) returns (vizapi.DeleteDashboardsForOrganisationResult); * @generated from protobuf rpc: DeleteDashboardsForOrganisation
*/ */
deleteDashboardsForOrganisation(input: DeleteDashboardsForOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForOrganisationRequest, DeleteDashboardsForOrganisationResult> { deleteDashboardsForOrganisation(input: DeleteDashboardsForOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForOrganisationRequest, DeleteDashboardsForOrganisationResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options); const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteDashboardsForOrganisationRequest, DeleteDashboardsForOrganisationResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteDashboardsForOrganisationRequest, DeleteDashboardsForOrganisationResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: DeleteDashboardsForProject(vizapi.DeleteDashboardsForProjectRequest) returns (vizapi.DeleteDashboardsForProjectResult); * @generated from protobuf rpc: DeleteDashboardsForProject
*/ */
deleteDashboardsForProject(input: DeleteDashboardsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForProjectRequest, DeleteDashboardsForProjectResult> { deleteDashboardsForProject(input: DeleteDashboardsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForProjectRequest, DeleteDashboardsForProjectResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options); const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteDashboardsForProjectRequest, DeleteDashboardsForProjectResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteDashboardsForProjectRequest, DeleteDashboardsForProjectResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Update(vizapi.UpdateDashboardRequest) returns (vizapi.UpdateDashboardResult); * @generated from protobuf rpc: Update
*/ */
update(input: UpdateDashboardRequest, options?: RpcOptions): UnaryCall<UpdateDashboardRequest, UpdateDashboardResult> { update(input: UpdateDashboardRequest, options?: RpcOptions): UnaryCall<UpdateDashboardRequest, UpdateDashboardResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options); const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateDashboardRequest, UpdateDashboardResult>("unary", this._transport, method, opt, input); return stackIntercept<UpdateDashboardRequest, UpdateDashboardResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Get(vizapi.GetDashboardRequest) returns (vizapi.GetDashboardResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetDashboardRequest, options?: RpcOptions): UnaryCall<GetDashboardRequest, GetDashboardResult> { get(input: GetDashboardRequest, options?: RpcOptions): UnaryCall<GetDashboardRequest, GetDashboardResult> {
const method = this.methods[6], opt = this._transport.mergeOptions(options); const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<GetDashboardRequest, GetDashboardResult>("unary", this._transport, method, opt, input); return stackIntercept<GetDashboardRequest, GetDashboardResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Copy(vizapi.CopyDashboardRequest) returns (vizapi.CopyDashboardResult); * @generated from protobuf rpc: Copy
*/ */
copy(input: CopyDashboardRequest, options?: RpcOptions): UnaryCall<CopyDashboardRequest, CopyDashboardResult> { copy(input: CopyDashboardRequest, options?: RpcOptions): UnaryCall<CopyDashboardRequest, CopyDashboardResult> {
const method = this.methods[7], opt = this._transport.mergeOptions(options); const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<CopyDashboardRequest, CopyDashboardResult>("unary", this._transport, method, opt, input); return stackIntercept<CopyDashboardRequest, CopyDashboardResult>("unary", this._transport, method, opt, input);
} }
/**
* @generated from protobuf rpc: CreateProject
*/
createProject(input: CreateProjectDashboardRequest, options?: RpcOptions): UnaryCall<CreateProjectDashboardRequest, CreateProjectDashboardResult> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateProjectDashboardRequest, CreateProjectDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListProject
*/
listProject(input: ListProjectDashboardRequest, options?: RpcOptions): UnaryCall<ListProjectDashboardRequest, ListProjectDashboardResult> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<ListProjectDashboardRequest, ListProjectDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteProject
*/
deleteProject(input: DeleteProjectDashboardRequest, options?: RpcOptions): UnaryCall<DeleteProjectDashboardRequest, DeleteProjectDashboardResult> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteProjectDashboardRequest, DeleteProjectDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateProject
*/
updateProject(input: UpdateProjectDashboardRequest, options?: RpcOptions): UnaryCall<UpdateProjectDashboardRequest, UpdateProjectDashboardResult> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateProjectDashboardRequest, UpdateProjectDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetProject
*/
getProject(input: GetProjectDashboardRequest, options?: RpcOptions): UnaryCall<GetProjectDashboardRequest, GetProjectDashboardResult> {
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<GetProjectDashboardRequest, GetProjectDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CopyProject
*/
copyProject(input: CopyProjectDashboardRequest, options?: RpcOptions): UnaryCall<CopyProjectDashboardRequest, CopyProjectDashboardResult> {
const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<CopyProjectDashboardRequest, CopyProjectDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CreateSite
*/
createSite(input: CreateSiteDashboardRequest, options?: RpcOptions): UnaryCall<CreateSiteDashboardRequest, CreateSiteDashboardResult> {
const method = this.methods[14], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateSiteDashboardRequest, CreateSiteDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListSite
*/
listSite(input: ListSiteDashboardRequest, options?: RpcOptions): UnaryCall<ListSiteDashboardRequest, ListSiteDashboardResult> {
const method = this.methods[15], opt = this._transport.mergeOptions(options);
return stackIntercept<ListSiteDashboardRequest, ListSiteDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteSite
*/
deleteSite(input: DeleteSiteDashboardRequest, options?: RpcOptions): UnaryCall<DeleteSiteDashboardRequest, DeleteSiteDashboardResult> {
const method = this.methods[16], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteSiteDashboardRequest, DeleteSiteDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteDashboardsForSite
*/
deleteDashboardsForSite(input: DeleteDashboardsForSiteRequest, options?: RpcOptions): UnaryCall<DeleteDashboardsForSiteRequest, DeleteDashboardsForSiteResult> {
const method = this.methods[17], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteDashboardsForSiteRequest, DeleteDashboardsForSiteResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateSite
*/
updateSite(input: UpdateSiteDashboardRequest, options?: RpcOptions): UnaryCall<UpdateSiteDashboardRequest, UpdateSiteDashboardResult> {
const method = this.methods[18], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateSiteDashboardRequest, UpdateSiteDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetSite
*/
getSite(input: GetSiteDashboardRequest, options?: RpcOptions): UnaryCall<GetSiteDashboardRequest, GetSiteDashboardResult> {
const method = this.methods[19], opt = this._transport.mergeOptions(options);
return stackIntercept<GetSiteDashboardRequest, GetSiteDashboardResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CopySite
*/
copySite(input: CopySiteDashboardRequest, options?: RpcOptions): UnaryCall<CopySiteDashboardRequest, CopySiteDashboardResult> {
const method = this.methods[20], opt = this._transport.mergeOptions(options);
return stackIntercept<CopySiteDashboardRequest, CopySiteDashboardResult>("unary", this._transport, method, opt, input);
}
} }

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-default-view.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-default-view.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
@@ -16,11 +16,11 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/ */
export interface IDefaultViewServiceClient { export interface IDefaultViewServiceClient {
/** /**
* @generated from protobuf rpc: CreatePlatform(vizapi.CreatePlatformDefaultViewRequest) returns (vizapi.CreatePlatformDefaultViewResult); * @generated from protobuf rpc: CreatePlatform
*/ */
createPlatform(input: CreatePlatformDefaultViewRequest, options?: RpcOptions): UnaryCall<CreatePlatformDefaultViewRequest, CreatePlatformDefaultViewResult>; createPlatform(input: CreatePlatformDefaultViewRequest, options?: RpcOptions): UnaryCall<CreatePlatformDefaultViewRequest, CreatePlatformDefaultViewResult>;
/** /**
* @generated from protobuf rpc: UpdatePlatform(vizapi.UpdatePlatformDefaultViewRequest) returns (vizapi.UpdatePlatformDefaultViewResult); * @generated from protobuf rpc: UpdatePlatform
*/ */
updatePlatform(input: UpdatePlatformDefaultViewRequest, options?: RpcOptions): UnaryCall<UpdatePlatformDefaultViewRequest, UpdatePlatformDefaultViewResult>; updatePlatform(input: UpdatePlatformDefaultViewRequest, options?: RpcOptions): UnaryCall<UpdatePlatformDefaultViewRequest, UpdatePlatformDefaultViewResult>;
} }
@@ -34,14 +34,14 @@ export class DefaultViewServiceClient implements IDefaultViewServiceClient, Serv
constructor(private readonly _transport: RpcTransport) { constructor(private readonly _transport: RpcTransport) {
} }
/** /**
* @generated from protobuf rpc: CreatePlatform(vizapi.CreatePlatformDefaultViewRequest) returns (vizapi.CreatePlatformDefaultViewResult); * @generated from protobuf rpc: CreatePlatform
*/ */
createPlatform(input: CreatePlatformDefaultViewRequest, options?: RpcOptions): UnaryCall<CreatePlatformDefaultViewRequest, CreatePlatformDefaultViewResult> { createPlatform(input: CreatePlatformDefaultViewRequest, options?: RpcOptions): UnaryCall<CreatePlatformDefaultViewRequest, CreatePlatformDefaultViewResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options); const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<CreatePlatformDefaultViewRequest, CreatePlatformDefaultViewResult>("unary", this._transport, method, opt, input); return stackIntercept<CreatePlatformDefaultViewRequest, CreatePlatformDefaultViewResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: UpdatePlatform(vizapi.UpdatePlatformDefaultViewRequest) returns (vizapi.UpdatePlatformDefaultViewResult); * @generated from protobuf rpc: UpdatePlatform
*/ */
updatePlatform(input: UpdatePlatformDefaultViewRequest, options?: RpcOptions): UnaryCall<UpdatePlatformDefaultViewRequest, UpdatePlatformDefaultViewResult> { updatePlatform(input: UpdatePlatformDefaultViewRequest, options?: RpcOptions): UnaryCall<UpdatePlatformDefaultViewRequest, UpdatePlatformDefaultViewResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options); const method = this.methods[1], opt = this._transport.mergeOptions(options);

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-default-view.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-default-view.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc"; import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -18,19 +18,19 @@ export interface UpdatePlatformDefaultViewRequest {
/** /**
* Identifier of the View * Identifier of the View
* *
* @generated from protobuf field: string ViewID = 1 [json_name = "ViewID"]; * @generated from protobuf field: string ViewID = 1
*/ */
ViewID: string; ViewID: string;
/** /**
* Content of the View * Content of the View
* *
* @generated from protobuf field: string Payload = 4 [json_name = "Payload"]; * @generated from protobuf field: string Payload = 4
*/ */
Payload: string; Payload: string;
/** /**
* Visibility of the View * Visibility of the View
* *
* @generated from protobuf field: bool IsPrivate = 5 [json_name = "IsPrivate"]; * @generated from protobuf field: bool IsPrivate = 5
*/ */
IsPrivate: boolean; IsPrivate: boolean;
} }
@@ -41,19 +41,19 @@ export interface CreatePlatformDefaultViewRequest {
/** /**
* Identifier of the Screen * Identifier of the Screen
* *
* @generated from protobuf field: string ScreenID = 1 [json_name = "ScreenID"]; * @generated from protobuf field: string ScreenID = 1
*/ */
ScreenID: string; ScreenID: string;
/** /**
* Content of the View * Content of the View
* *
* @generated from protobuf field: string Payload = 4 [json_name = "Payload"]; * @generated from protobuf field: string Payload = 4
*/ */
Payload: string; Payload: string;
/** /**
* Visibility of the View * Visibility of the View
* *
* @generated from protobuf field: bool IsPrivate = 5 [json_name = "IsPrivate"]; * @generated from protobuf field: bool IsPrivate = 5
*/ */
IsPrivate: boolean; IsPrivate: boolean;
} }
@@ -66,7 +66,7 @@ export interface CreatePlatformDefaultViewResult {
/** /**
* Identifier of the View * Identifier of the View
* *
* @generated from protobuf field: string ViewID = 1 [json_name = "ViewID"]; * @generated from protobuf field: string ViewID = 1
*/ */
ViewID: string; ViewID: string;
} }
@@ -77,7 +77,7 @@ export interface UpdatePlatformDefaultViewResult {
/** /**
* Identifier of the View * Identifier of the View
* *
* @generated from protobuf field: string ViewID = 1 [json_name = "ViewID"]; * @generated from protobuf field: string ViewID = 1
*/ */
ViewID: string; ViewID: string;
} }
@@ -104,13 +104,13 @@ class UpdatePlatformDefaultViewRequest$Type extends MessageType<UpdatePlatformDe
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ViewID = 1 [json_name = "ViewID"];*/ 1: case /* string ViewID */ 1:
message.ViewID = reader.string(); message.ViewID = reader.string();
break; break;
case /* string Payload = 4 [json_name = "Payload"];*/ 4: case /* string Payload */ 4:
message.Payload = reader.string(); message.Payload = reader.string();
break; break;
case /* bool IsPrivate = 5 [json_name = "IsPrivate"];*/ 5: case /* bool IsPrivate */ 5:
message.IsPrivate = reader.bool(); message.IsPrivate = reader.bool();
break; break;
default: default:
@@ -125,13 +125,13 @@ class UpdatePlatformDefaultViewRequest$Type extends MessageType<UpdatePlatformDe
return message; return message;
} }
internalBinaryWrite(message: UpdatePlatformDefaultViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: UpdatePlatformDefaultViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ViewID = 1 [json_name = "ViewID"]; */ /* string ViewID = 1; */
if (message.ViewID !== "") if (message.ViewID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ViewID); writer.tag(1, WireType.LengthDelimited).string(message.ViewID);
/* string Payload = 4 [json_name = "Payload"]; */ /* string Payload = 4; */
if (message.Payload !== "") if (message.Payload !== "")
writer.tag(4, WireType.LengthDelimited).string(message.Payload); writer.tag(4, WireType.LengthDelimited).string(message.Payload);
/* bool IsPrivate = 5 [json_name = "IsPrivate"]; */ /* bool IsPrivate = 5; */
if (message.IsPrivate !== false) if (message.IsPrivate !== false)
writer.tag(5, WireType.Varint).bool(message.IsPrivate); writer.tag(5, WireType.Varint).bool(message.IsPrivate);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -167,13 +167,13 @@ class CreatePlatformDefaultViewRequest$Type extends MessageType<CreatePlatformDe
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ScreenID = 1 [json_name = "ScreenID"];*/ 1: case /* string ScreenID */ 1:
message.ScreenID = reader.string(); message.ScreenID = reader.string();
break; break;
case /* string Payload = 4 [json_name = "Payload"];*/ 4: case /* string Payload */ 4:
message.Payload = reader.string(); message.Payload = reader.string();
break; break;
case /* bool IsPrivate = 5 [json_name = "IsPrivate"];*/ 5: case /* bool IsPrivate */ 5:
message.IsPrivate = reader.bool(); message.IsPrivate = reader.bool();
break; break;
default: default:
@@ -188,13 +188,13 @@ class CreatePlatformDefaultViewRequest$Type extends MessageType<CreatePlatformDe
return message; return message;
} }
internalBinaryWrite(message: CreatePlatformDefaultViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: CreatePlatformDefaultViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ScreenID = 1 [json_name = "ScreenID"]; */ /* string ScreenID = 1; */
if (message.ScreenID !== "") if (message.ScreenID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ScreenID); writer.tag(1, WireType.LengthDelimited).string(message.ScreenID);
/* string Payload = 4 [json_name = "Payload"]; */ /* string Payload = 4; */
if (message.Payload !== "") if (message.Payload !== "")
writer.tag(4, WireType.LengthDelimited).string(message.Payload); writer.tag(4, WireType.LengthDelimited).string(message.Payload);
/* bool IsPrivate = 5 [json_name = "IsPrivate"]; */ /* bool IsPrivate = 5; */
if (message.IsPrivate !== false) if (message.IsPrivate !== false)
writer.tag(5, WireType.Varint).bool(message.IsPrivate); writer.tag(5, WireType.Varint).bool(message.IsPrivate);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -226,7 +226,7 @@ class CreatePlatformDefaultViewResult$Type extends MessageType<CreatePlatformDef
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ViewID = 1 [json_name = "ViewID"];*/ 1: case /* string ViewID */ 1:
message.ViewID = reader.string(); message.ViewID = reader.string();
break; break;
default: default:
@@ -241,7 +241,7 @@ class CreatePlatformDefaultViewResult$Type extends MessageType<CreatePlatformDef
return message; return message;
} }
internalBinaryWrite(message: CreatePlatformDefaultViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: CreatePlatformDefaultViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ViewID = 1 [json_name = "ViewID"]; */ /* string ViewID = 1; */
if (message.ViewID !== "") if (message.ViewID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ViewID); writer.tag(1, WireType.LengthDelimited).string(message.ViewID);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -273,7 +273,7 @@ class UpdatePlatformDefaultViewResult$Type extends MessageType<UpdatePlatformDef
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ViewID = 1 [json_name = "ViewID"];*/ 1: case /* string ViewID */ 1:
message.ViewID = reader.string(); message.ViewID = reader.string();
break; break;
default: default:
@@ -288,7 +288,7 @@ class UpdatePlatformDefaultViewResult$Type extends MessageType<UpdatePlatformDef
return message; return message;
} }
internalBinaryWrite(message: UpdatePlatformDefaultViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: UpdatePlatformDefaultViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ViewID = 1 [json_name = "ViewID"]; */ /* string ViewID = 1; */
if (message.ViewID !== "") if (message.ViewID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ViewID); writer.tag(1, WireType.LengthDelimited).string(message.ViewID);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-motd.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-motd.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
@@ -22,23 +22,23 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/ */
export interface IMotdServiceClient { export interface IMotdServiceClient {
/** /**
* @generated from protobuf rpc: Get(vizapi.GetMotdRequest) returns (vizapi.GetMotdResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetMotdRequest, options?: RpcOptions): UnaryCall<GetMotdRequest, GetMotdResult>; get(input: GetMotdRequest, options?: RpcOptions): UnaryCall<GetMotdRequest, GetMotdResult>;
/** /**
* @generated from protobuf rpc: Create(vizapi.CreateMotdRequest) returns (vizapi.CreateMotdResult); * @generated from protobuf rpc: Create
*/ */
create(input: CreateMotdRequest, options?: RpcOptions): UnaryCall<CreateMotdRequest, CreateMotdResult>; create(input: CreateMotdRequest, options?: RpcOptions): UnaryCall<CreateMotdRequest, CreateMotdResult>;
/** /**
* @generated from protobuf rpc: Update(vizapi.UpdateMotdRequest) returns (vizapi.UpdateMotdResult); * @generated from protobuf rpc: Update
*/ */
update(input: UpdateMotdRequest, options?: RpcOptions): UnaryCall<UpdateMotdRequest, UpdateMotdResult>; update(input: UpdateMotdRequest, options?: RpcOptions): UnaryCall<UpdateMotdRequest, UpdateMotdResult>;
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteMotdRequest) returns (vizapi.DeleteMotdResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteMotdRequest, options?: RpcOptions): UnaryCall<DeleteMotdRequest, DeleteMotdResult>; delete(input: DeleteMotdRequest, options?: RpcOptions): UnaryCall<DeleteMotdRequest, DeleteMotdResult>;
/** /**
* @generated from protobuf rpc: List(vizapi.ListMotdsRequest) returns (vizapi.ListMotdsResult); * @generated from protobuf rpc: List
*/ */
list(input: ListMotdsRequest, options?: RpcOptions): UnaryCall<ListMotdsRequest, ListMotdsResult>; list(input: ListMotdsRequest, options?: RpcOptions): UnaryCall<ListMotdsRequest, ListMotdsResult>;
} }
@@ -52,35 +52,35 @@ export class MotdServiceClient implements IMotdServiceClient, ServiceInfo {
constructor(private readonly _transport: RpcTransport) { constructor(private readonly _transport: RpcTransport) {
} }
/** /**
* @generated from protobuf rpc: Get(vizapi.GetMotdRequest) returns (vizapi.GetMotdResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetMotdRequest, options?: RpcOptions): UnaryCall<GetMotdRequest, GetMotdResult> { get(input: GetMotdRequest, options?: RpcOptions): UnaryCall<GetMotdRequest, GetMotdResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options); const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<GetMotdRequest, GetMotdResult>("unary", this._transport, method, opt, input); return stackIntercept<GetMotdRequest, GetMotdResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Create(vizapi.CreateMotdRequest) returns (vizapi.CreateMotdResult); * @generated from protobuf rpc: Create
*/ */
create(input: CreateMotdRequest, options?: RpcOptions): UnaryCall<CreateMotdRequest, CreateMotdResult> { create(input: CreateMotdRequest, options?: RpcOptions): UnaryCall<CreateMotdRequest, CreateMotdResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options); const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateMotdRequest, CreateMotdResult>("unary", this._transport, method, opt, input); return stackIntercept<CreateMotdRequest, CreateMotdResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Update(vizapi.UpdateMotdRequest) returns (vizapi.UpdateMotdResult); * @generated from protobuf rpc: Update
*/ */
update(input: UpdateMotdRequest, options?: RpcOptions): UnaryCall<UpdateMotdRequest, UpdateMotdResult> { update(input: UpdateMotdRequest, options?: RpcOptions): UnaryCall<UpdateMotdRequest, UpdateMotdResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options); const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateMotdRequest, UpdateMotdResult>("unary", this._transport, method, opt, input); return stackIntercept<UpdateMotdRequest, UpdateMotdResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteMotdRequest) returns (vizapi.DeleteMotdResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteMotdRequest, options?: RpcOptions): UnaryCall<DeleteMotdRequest, DeleteMotdResult> { delete(input: DeleteMotdRequest, options?: RpcOptions): UnaryCall<DeleteMotdRequest, DeleteMotdResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options); const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteMotdRequest, DeleteMotdResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteMotdRequest, DeleteMotdResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: List(vizapi.ListMotdsRequest) returns (vizapi.ListMotdsResult); * @generated from protobuf rpc: List
*/ */
list(input: ListMotdsRequest, options?: RpcOptions): UnaryCall<ListMotdsRequest, ListMotdsResult> { list(input: ListMotdsRequest, options?: RpcOptions): UnaryCall<ListMotdsRequest, ListMotdsResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options); const method = this.methods[4], opt = this._transport.mergeOptions(options);

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-motd.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-motd.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc"; import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -16,19 +16,19 @@ import { MessageType } from "@protobuf-ts/runtime";
*/ */
export interface Motd { export interface Motd {
/** /**
* @generated from protobuf field: string MotdID = 1 [json_name = "MotdID"]; * @generated from protobuf field: string MotdID = 1
*/ */
MotdID: string; MotdID: string;
/** /**
* @generated from protobuf field: string StartDate = 2 [json_name = "StartDate"]; * @generated from protobuf field: string StartDate = 2
*/ */
StartDate: string; StartDate: string;
/** /**
* @generated from protobuf field: string EndDate = 3 [json_name = "EndDate"]; * @generated from protobuf field: string EndDate = 3
*/ */
EndDate: string; EndDate: string;
/** /**
* @generated from protobuf field: repeated vizapi.MotdMessage Message = 4 [json_name = "Message"]; * @generated from protobuf field: repeated vizapi.MotdMessage Message = 4
*/ */
Message: MotdMessage[]; Message: MotdMessage[];
} }
@@ -39,13 +39,13 @@ export interface MotdMessage {
/** /**
* ISO 639-1 code message language * ISO 639-1 code message language
* *
* @generated from protobuf field: string Lang = 1 [json_name = "Lang"]; * @generated from protobuf field: string Lang = 1
*/ */
Lang: string; Lang: string;
/** /**
* The message content * The message content
* *
* @generated from protobuf field: string Message = 2 [json_name = "Message"]; * @generated from protobuf field: string Message = 2
*/ */
Message: string; Message: string;
} }
@@ -56,13 +56,13 @@ export interface MotdMessageRes {
/** /**
* Language used for the message * Language used for the message
* *
* @generated from protobuf field: string Lang = 1 [json_name = "Lang"]; * @generated from protobuf field: string Lang = 1
*/ */
Lang: string; Lang: string;
/** /**
* The message content * The message content
* *
* @generated from protobuf field: string Message = 2 [json_name = "Message"]; * @generated from protobuf field: string Message = 2
*/ */
Message: string; Message: string;
} }
@@ -75,17 +75,17 @@ export interface CreateMotdRequest {
/** /**
* UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) * UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z])
* *
* @generated from protobuf field: string StartDate = 1 [json_name = "StartDate"]; * @generated from protobuf field: string StartDate = 1
*/ */
StartDate: string; StartDate: string;
/** /**
* UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) * UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z])
* *
* @generated from protobuf field: string EndDate = 2 [json_name = "EndDate"]; * @generated from protobuf field: string EndDate = 2
*/ */
EndDate: string; EndDate: string;
/** /**
* @generated from protobuf field: repeated vizapi.MotdMessage Message = 3 [json_name = "Message"]; * @generated from protobuf field: repeated vizapi.MotdMessage Message = 3
*/ */
Message: MotdMessage[]; Message: MotdMessage[];
} }
@@ -96,23 +96,23 @@ export interface CreateMotdRequest {
*/ */
export interface CreateMotdResult { export interface CreateMotdResult {
/** /**
* @generated from protobuf field: string ID = 1 [json_name = "ID"]; * @generated from protobuf field: string ID = 1
*/ */
ID: string; ID: string;
/** /**
* UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) * UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z])
* *
* @generated from protobuf field: string StartDate = 2 [json_name = "StartDate"]; * @generated from protobuf field: string StartDate = 2
*/ */
StartDate: string; StartDate: string;
/** /**
* UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) * UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z])
* *
* @generated from protobuf field: string EndDate = 3 [json_name = "EndDate"]; * @generated from protobuf field: string EndDate = 3
*/ */
EndDate: string; EndDate: string;
/** /**
* @generated from protobuf field: repeated vizapi.MotdMessageRes Message = 4 [json_name = "Message"]; * @generated from protobuf field: repeated vizapi.MotdMessageRes Message = 4
*/ */
Message: MotdMessageRes[]; Message: MotdMessageRes[];
} }
@@ -123,23 +123,23 @@ export interface CreateMotdResult {
*/ */
export interface UpdateMotdRequest { export interface UpdateMotdRequest {
/** /**
* @generated from protobuf field: string ID = 1 [json_name = "ID"]; * @generated from protobuf field: string ID = 1
*/ */
ID: string; ID: string;
/** /**
* UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) * UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z])
* *
* @generated from protobuf field: string StartDate = 2 [json_name = "StartDate"]; * @generated from protobuf field: string StartDate = 2
*/ */
StartDate: string; StartDate: string;
/** /**
* UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) * UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z])
* *
* @generated from protobuf field: string EndDate = 3 [json_name = "EndDate"]; * @generated from protobuf field: string EndDate = 3
*/ */
EndDate: string; EndDate: string;
/** /**
* @generated from protobuf field: repeated vizapi.MotdMessage Message = 4 [json_name = "Message"]; * @generated from protobuf field: repeated vizapi.MotdMessage Message = 4
*/ */
Message: MotdMessage[]; Message: MotdMessage[];
} }
@@ -148,23 +148,23 @@ export interface UpdateMotdRequest {
*/ */
export interface UpdateMotdResult { export interface UpdateMotdResult {
/** /**
* @generated from protobuf field: string ID = 1 [json_name = "ID"]; * @generated from protobuf field: string ID = 1
*/ */
ID: string; ID: string;
/** /**
* UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) * UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z])
* *
* @generated from protobuf field: string StartDate = 2 [json_name = "StartDate"]; * @generated from protobuf field: string StartDate = 2
*/ */
StartDate: string; StartDate: string;
/** /**
* UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) * UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z])
* *
* @generated from protobuf field: string EndDate = 3 [json_name = "EndDate"]; * @generated from protobuf field: string EndDate = 3
*/ */
EndDate: string; EndDate: string;
/** /**
* @generated from protobuf field: repeated vizapi.MotdMessage Message = 4 [json_name = "Message"]; * @generated from protobuf field: repeated vizapi.MotdMessage Message = 4
*/ */
Message: MotdMessage[]; Message: MotdMessage[];
} }
@@ -180,23 +180,23 @@ export interface GetMotdRequest {
*/ */
export interface GetMotdResult { export interface GetMotdResult {
/** /**
* @generated from protobuf field: string ID = 1 [json_name = "ID"]; * @generated from protobuf field: string ID = 1
*/ */
ID: string; ID: string;
/** /**
* UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) * UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z])
* *
* @generated from protobuf field: string StartDate = 2 [json_name = "StartDate"]; * @generated from protobuf field: string StartDate = 2
*/ */
StartDate: string; StartDate: string;
/** /**
* UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) * UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z])
* *
* @generated from protobuf field: string EndDate = 3 [json_name = "EndDate"]; * @generated from protobuf field: string EndDate = 3
*/ */
EndDate: string; EndDate: string;
/** /**
* @generated from protobuf field: repeated vizapi.MotdMessageRes Message = 4 [json_name = "Message"]; * @generated from protobuf field: repeated vizapi.MotdMessageRes Message = 4
*/ */
Message: MotdMessageRes[]; Message: MotdMessageRes[];
} }
@@ -205,7 +205,7 @@ export interface GetMotdResult {
*/ */
export interface DeleteMotdRequest { export interface DeleteMotdRequest {
/** /**
* @generated from protobuf field: string ID = 1 [json_name = "ID"]; * @generated from protobuf field: string ID = 1
*/ */
ID: string; ID: string;
} }
@@ -226,7 +226,7 @@ export interface ListMotdsRequest {
*/ */
export interface ListMotdsResult { export interface ListMotdsResult {
/** /**
* @generated from protobuf field: repeated vizapi.GetMotdResult Motds = 1 [json_name = "Motds"]; * @generated from protobuf field: repeated vizapi.GetMotdResult Motds = 1
*/ */
Motds: GetMotdResult[]; Motds: GetMotdResult[];
} }
@@ -255,16 +255,16 @@ class Motd$Type extends MessageType<Motd> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string MotdID = 1 [json_name = "MotdID"];*/ 1: case /* string MotdID */ 1:
message.MotdID = reader.string(); message.MotdID = reader.string();
break; break;
case /* string StartDate = 2 [json_name = "StartDate"];*/ 2: case /* string StartDate */ 2:
message.StartDate = reader.string(); message.StartDate = reader.string();
break; break;
case /* string EndDate = 3 [json_name = "EndDate"];*/ 3: case /* string EndDate */ 3:
message.EndDate = reader.string(); message.EndDate = reader.string();
break; break;
case /* repeated vizapi.MotdMessage Message = 4 [json_name = "Message"];*/ 4: case /* repeated vizapi.MotdMessage Message */ 4:
message.Message.push(MotdMessage.internalBinaryRead(reader, reader.uint32(), options)); message.Message.push(MotdMessage.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -279,16 +279,16 @@ class Motd$Type extends MessageType<Motd> {
return message; return message;
} }
internalBinaryWrite(message: Motd, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: Motd, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string MotdID = 1 [json_name = "MotdID"]; */ /* string MotdID = 1; */
if (message.MotdID !== "") if (message.MotdID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.MotdID); writer.tag(1, WireType.LengthDelimited).string(message.MotdID);
/* string StartDate = 2 [json_name = "StartDate"]; */ /* string StartDate = 2; */
if (message.StartDate !== "") if (message.StartDate !== "")
writer.tag(2, WireType.LengthDelimited).string(message.StartDate); writer.tag(2, WireType.LengthDelimited).string(message.StartDate);
/* string EndDate = 3 [json_name = "EndDate"]; */ /* string EndDate = 3; */
if (message.EndDate !== "") if (message.EndDate !== "")
writer.tag(3, WireType.LengthDelimited).string(message.EndDate); writer.tag(3, WireType.LengthDelimited).string(message.EndDate);
/* repeated vizapi.MotdMessage Message = 4 [json_name = "Message"]; */ /* repeated vizapi.MotdMessage Message = 4; */
for (let i = 0; i < message.Message.length; i++) for (let i = 0; i < message.Message.length; i++)
MotdMessage.internalBinaryWrite(message.Message[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join(); MotdMessage.internalBinaryWrite(message.Message[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -322,10 +322,10 @@ class MotdMessage$Type extends MessageType<MotdMessage> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Lang = 1 [json_name = "Lang"];*/ 1: case /* string Lang */ 1:
message.Lang = reader.string(); message.Lang = reader.string();
break; break;
case /* string Message = 2 [json_name = "Message"];*/ 2: case /* string Message */ 2:
message.Message = reader.string(); message.Message = reader.string();
break; break;
default: default:
@@ -340,10 +340,10 @@ class MotdMessage$Type extends MessageType<MotdMessage> {
return message; return message;
} }
internalBinaryWrite(message: MotdMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: MotdMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Lang = 1 [json_name = "Lang"]; */ /* string Lang = 1; */
if (message.Lang !== "") if (message.Lang !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Lang); writer.tag(1, WireType.LengthDelimited).string(message.Lang);
/* string Message = 2 [json_name = "Message"]; */ /* string Message = 2; */
if (message.Message !== "") if (message.Message !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Message); writer.tag(2, WireType.LengthDelimited).string(message.Message);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -377,10 +377,10 @@ class MotdMessageRes$Type extends MessageType<MotdMessageRes> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Lang = 1 [json_name = "Lang"];*/ 1: case /* string Lang */ 1:
message.Lang = reader.string(); message.Lang = reader.string();
break; break;
case /* string Message = 2 [json_name = "Message"];*/ 2: case /* string Message */ 2:
message.Message = reader.string(); message.Message = reader.string();
break; break;
default: default:
@@ -395,10 +395,10 @@ class MotdMessageRes$Type extends MessageType<MotdMessageRes> {
return message; return message;
} }
internalBinaryWrite(message: MotdMessageRes, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: MotdMessageRes, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Lang = 1 [json_name = "Lang"]; */ /* string Lang = 1; */
if (message.Lang !== "") if (message.Lang !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Lang); writer.tag(1, WireType.LengthDelimited).string(message.Lang);
/* string Message = 2 [json_name = "Message"]; */ /* string Message = 2; */
if (message.Message !== "") if (message.Message !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Message); writer.tag(2, WireType.LengthDelimited).string(message.Message);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -434,13 +434,13 @@ class CreateMotdRequest$Type extends MessageType<CreateMotdRequest> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string StartDate = 1 [json_name = "StartDate"];*/ 1: case /* string StartDate */ 1:
message.StartDate = reader.string(); message.StartDate = reader.string();
break; break;
case /* string EndDate = 2 [json_name = "EndDate"];*/ 2: case /* string EndDate */ 2:
message.EndDate = reader.string(); message.EndDate = reader.string();
break; break;
case /* repeated vizapi.MotdMessage Message = 3 [json_name = "Message"];*/ 3: case /* repeated vizapi.MotdMessage Message */ 3:
message.Message.push(MotdMessage.internalBinaryRead(reader, reader.uint32(), options)); message.Message.push(MotdMessage.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -455,13 +455,13 @@ class CreateMotdRequest$Type extends MessageType<CreateMotdRequest> {
return message; return message;
} }
internalBinaryWrite(message: CreateMotdRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: CreateMotdRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string StartDate = 1 [json_name = "StartDate"]; */ /* string StartDate = 1; */
if (message.StartDate !== "") if (message.StartDate !== "")
writer.tag(1, WireType.LengthDelimited).string(message.StartDate); writer.tag(1, WireType.LengthDelimited).string(message.StartDate);
/* string EndDate = 2 [json_name = "EndDate"]; */ /* string EndDate = 2; */
if (message.EndDate !== "") if (message.EndDate !== "")
writer.tag(2, WireType.LengthDelimited).string(message.EndDate); writer.tag(2, WireType.LengthDelimited).string(message.EndDate);
/* repeated vizapi.MotdMessage Message = 3 [json_name = "Message"]; */ /* repeated vizapi.MotdMessage Message = 3; */
for (let i = 0; i < message.Message.length; i++) for (let i = 0; i < message.Message.length; i++)
MotdMessage.internalBinaryWrite(message.Message[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join(); MotdMessage.internalBinaryWrite(message.Message[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -499,16 +499,16 @@ class CreateMotdResult$Type extends MessageType<CreateMotdResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ID = 1 [json_name = "ID"];*/ 1: case /* string ID */ 1:
message.ID = reader.string(); message.ID = reader.string();
break; break;
case /* string StartDate = 2 [json_name = "StartDate"];*/ 2: case /* string StartDate */ 2:
message.StartDate = reader.string(); message.StartDate = reader.string();
break; break;
case /* string EndDate = 3 [json_name = "EndDate"];*/ 3: case /* string EndDate */ 3:
message.EndDate = reader.string(); message.EndDate = reader.string();
break; break;
case /* repeated vizapi.MotdMessageRes Message = 4 [json_name = "Message"];*/ 4: case /* repeated vizapi.MotdMessageRes Message */ 4:
message.Message.push(MotdMessageRes.internalBinaryRead(reader, reader.uint32(), options)); message.Message.push(MotdMessageRes.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -523,16 +523,16 @@ class CreateMotdResult$Type extends MessageType<CreateMotdResult> {
return message; return message;
} }
internalBinaryWrite(message: CreateMotdResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: CreateMotdResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ID = 1 [json_name = "ID"]; */ /* string ID = 1; */
if (message.ID !== "") if (message.ID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ID); writer.tag(1, WireType.LengthDelimited).string(message.ID);
/* string StartDate = 2 [json_name = "StartDate"]; */ /* string StartDate = 2; */
if (message.StartDate !== "") if (message.StartDate !== "")
writer.tag(2, WireType.LengthDelimited).string(message.StartDate); writer.tag(2, WireType.LengthDelimited).string(message.StartDate);
/* string EndDate = 3 [json_name = "EndDate"]; */ /* string EndDate = 3; */
if (message.EndDate !== "") if (message.EndDate !== "")
writer.tag(3, WireType.LengthDelimited).string(message.EndDate); writer.tag(3, WireType.LengthDelimited).string(message.EndDate);
/* repeated vizapi.MotdMessageRes Message = 4 [json_name = "Message"]; */ /* repeated vizapi.MotdMessageRes Message = 4; */
for (let i = 0; i < message.Message.length; i++) for (let i = 0; i < message.Message.length; i++)
MotdMessageRes.internalBinaryWrite(message.Message[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join(); MotdMessageRes.internalBinaryWrite(message.Message[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -570,16 +570,16 @@ class UpdateMotdRequest$Type extends MessageType<UpdateMotdRequest> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ID = 1 [json_name = "ID"];*/ 1: case /* string ID */ 1:
message.ID = reader.string(); message.ID = reader.string();
break; break;
case /* string StartDate = 2 [json_name = "StartDate"];*/ 2: case /* string StartDate */ 2:
message.StartDate = reader.string(); message.StartDate = reader.string();
break; break;
case /* string EndDate = 3 [json_name = "EndDate"];*/ 3: case /* string EndDate */ 3:
message.EndDate = reader.string(); message.EndDate = reader.string();
break; break;
case /* repeated vizapi.MotdMessage Message = 4 [json_name = "Message"];*/ 4: case /* repeated vizapi.MotdMessage Message */ 4:
message.Message.push(MotdMessage.internalBinaryRead(reader, reader.uint32(), options)); message.Message.push(MotdMessage.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -594,16 +594,16 @@ class UpdateMotdRequest$Type extends MessageType<UpdateMotdRequest> {
return message; return message;
} }
internalBinaryWrite(message: UpdateMotdRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: UpdateMotdRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ID = 1 [json_name = "ID"]; */ /* string ID = 1; */
if (message.ID !== "") if (message.ID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ID); writer.tag(1, WireType.LengthDelimited).string(message.ID);
/* string StartDate = 2 [json_name = "StartDate"]; */ /* string StartDate = 2; */
if (message.StartDate !== "") if (message.StartDate !== "")
writer.tag(2, WireType.LengthDelimited).string(message.StartDate); writer.tag(2, WireType.LengthDelimited).string(message.StartDate);
/* string EndDate = 3 [json_name = "EndDate"]; */ /* string EndDate = 3; */
if (message.EndDate !== "") if (message.EndDate !== "")
writer.tag(3, WireType.LengthDelimited).string(message.EndDate); writer.tag(3, WireType.LengthDelimited).string(message.EndDate);
/* repeated vizapi.MotdMessage Message = 4 [json_name = "Message"]; */ /* repeated vizapi.MotdMessage Message = 4; */
for (let i = 0; i < message.Message.length; i++) for (let i = 0; i < message.Message.length; i++)
MotdMessage.internalBinaryWrite(message.Message[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join(); MotdMessage.internalBinaryWrite(message.Message[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -641,16 +641,16 @@ class UpdateMotdResult$Type extends MessageType<UpdateMotdResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ID = 1 [json_name = "ID"];*/ 1: case /* string ID */ 1:
message.ID = reader.string(); message.ID = reader.string();
break; break;
case /* string StartDate = 2 [json_name = "StartDate"];*/ 2: case /* string StartDate */ 2:
message.StartDate = reader.string(); message.StartDate = reader.string();
break; break;
case /* string EndDate = 3 [json_name = "EndDate"];*/ 3: case /* string EndDate */ 3:
message.EndDate = reader.string(); message.EndDate = reader.string();
break; break;
case /* repeated vizapi.MotdMessage Message = 4 [json_name = "Message"];*/ 4: case /* repeated vizapi.MotdMessage Message */ 4:
message.Message.push(MotdMessage.internalBinaryRead(reader, reader.uint32(), options)); message.Message.push(MotdMessage.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -665,16 +665,16 @@ class UpdateMotdResult$Type extends MessageType<UpdateMotdResult> {
return message; return message;
} }
internalBinaryWrite(message: UpdateMotdResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: UpdateMotdResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ID = 1 [json_name = "ID"]; */ /* string ID = 1; */
if (message.ID !== "") if (message.ID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ID); writer.tag(1, WireType.LengthDelimited).string(message.ID);
/* string StartDate = 2 [json_name = "StartDate"]; */ /* string StartDate = 2; */
if (message.StartDate !== "") if (message.StartDate !== "")
writer.tag(2, WireType.LengthDelimited).string(message.StartDate); writer.tag(2, WireType.LengthDelimited).string(message.StartDate);
/* string EndDate = 3 [json_name = "EndDate"]; */ /* string EndDate = 3; */
if (message.EndDate !== "") if (message.EndDate !== "")
writer.tag(3, WireType.LengthDelimited).string(message.EndDate); writer.tag(3, WireType.LengthDelimited).string(message.EndDate);
/* repeated vizapi.MotdMessage Message = 4 [json_name = "Message"]; */ /* repeated vizapi.MotdMessage Message = 4; */
for (let i = 0; i < message.Message.length; i++) for (let i = 0; i < message.Message.length; i++)
MotdMessage.internalBinaryWrite(message.Message[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join(); MotdMessage.internalBinaryWrite(message.Message[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -750,16 +750,16 @@ class GetMotdResult$Type extends MessageType<GetMotdResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ID = 1 [json_name = "ID"];*/ 1: case /* string ID */ 1:
message.ID = reader.string(); message.ID = reader.string();
break; break;
case /* string StartDate = 2 [json_name = "StartDate"];*/ 2: case /* string StartDate */ 2:
message.StartDate = reader.string(); message.StartDate = reader.string();
break; break;
case /* string EndDate = 3 [json_name = "EndDate"];*/ 3: case /* string EndDate */ 3:
message.EndDate = reader.string(); message.EndDate = reader.string();
break; break;
case /* repeated vizapi.MotdMessageRes Message = 4 [json_name = "Message"];*/ 4: case /* repeated vizapi.MotdMessageRes Message */ 4:
message.Message.push(MotdMessageRes.internalBinaryRead(reader, reader.uint32(), options)); message.Message.push(MotdMessageRes.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -774,16 +774,16 @@ class GetMotdResult$Type extends MessageType<GetMotdResult> {
return message; return message;
} }
internalBinaryWrite(message: GetMotdResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: GetMotdResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ID = 1 [json_name = "ID"]; */ /* string ID = 1; */
if (message.ID !== "") if (message.ID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ID); writer.tag(1, WireType.LengthDelimited).string(message.ID);
/* string StartDate = 2 [json_name = "StartDate"]; */ /* string StartDate = 2; */
if (message.StartDate !== "") if (message.StartDate !== "")
writer.tag(2, WireType.LengthDelimited).string(message.StartDate); writer.tag(2, WireType.LengthDelimited).string(message.StartDate);
/* string EndDate = 3 [json_name = "EndDate"]; */ /* string EndDate = 3; */
if (message.EndDate !== "") if (message.EndDate !== "")
writer.tag(3, WireType.LengthDelimited).string(message.EndDate); writer.tag(3, WireType.LengthDelimited).string(message.EndDate);
/* repeated vizapi.MotdMessageRes Message = 4 [json_name = "Message"]; */ /* repeated vizapi.MotdMessageRes Message = 4; */
for (let i = 0; i < message.Message.length; i++) for (let i = 0; i < message.Message.length; i++)
MotdMessageRes.internalBinaryWrite(message.Message[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join(); MotdMessageRes.internalBinaryWrite(message.Message[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -815,7 +815,7 @@ class DeleteMotdRequest$Type extends MessageType<DeleteMotdRequest> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ID = 1 [json_name = "ID"];*/ 1: case /* string ID */ 1:
message.ID = reader.string(); message.ID = reader.string();
break; break;
default: default:
@@ -830,7 +830,7 @@ class DeleteMotdRequest$Type extends MessageType<DeleteMotdRequest> {
return message; return message;
} }
internalBinaryWrite(message: DeleteMotdRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: DeleteMotdRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ID = 1 [json_name = "ID"]; */ /* string ID = 1; */
if (message.ID !== "") if (message.ID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ID); writer.tag(1, WireType.LengthDelimited).string(message.ID);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -938,7 +938,7 @@ class ListMotdsResult$Type extends MessageType<ListMotdsResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* repeated vizapi.GetMotdResult Motds = 1 [json_name = "Motds"];*/ 1: case /* repeated vizapi.GetMotdResult Motds */ 1:
message.Motds.push(GetMotdResult.internalBinaryRead(reader, reader.uint32(), options)); message.Motds.push(GetMotdResult.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -953,7 +953,7 @@ class ListMotdsResult$Type extends MessageType<ListMotdsResult> {
return message; return message;
} }
internalBinaryWrite(message: ListMotdsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListMotdsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated vizapi.GetMotdResult Motds = 1 [json_name = "Motds"]; */ /* repeated vizapi.GetMotdResult Motds = 1; */
for (let i = 0; i < message.Motds.length; i++) for (let i = 0; i < message.Motds.length; i++)
GetMotdResult.internalBinaryWrite(message.Motds[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); GetMotdResult.internalBinaryWrite(message.Motds[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-organisation-settings.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-organisation-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
@@ -22,23 +22,23 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/ */
export interface IOrganisationSettingsServiceClient { export interface IOrganisationSettingsServiceClient {
/** /**
* @generated from protobuf rpc: Get(vizapi.GetOrganisationSettingRequest) returns (vizapi.GetOrganisationSettingResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetOrganisationSettingRequest, options?: RpcOptions): UnaryCall<GetOrganisationSettingRequest, GetOrganisationSettingResult>; get(input: GetOrganisationSettingRequest, options?: RpcOptions): UnaryCall<GetOrganisationSettingRequest, GetOrganisationSettingResult>;
/** /**
* @generated from protobuf rpc: Put(vizapi.PutOrganisationSettingRequest) returns (vizapi.PutOrganisationSettingResult); * @generated from protobuf rpc: Put
*/ */
put(input: PutOrganisationSettingRequest, options?: RpcOptions): UnaryCall<PutOrganisationSettingRequest, PutOrganisationSettingResult>; put(input: PutOrganisationSettingRequest, options?: RpcOptions): UnaryCall<PutOrganisationSettingRequest, PutOrganisationSettingResult>;
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteOrganisationSettingRequest) returns (vizapi.DeleteOrganisationSettingResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteOrganisationSettingRequest, options?: RpcOptions): UnaryCall<DeleteOrganisationSettingRequest, DeleteOrganisationSettingResult>; delete(input: DeleteOrganisationSettingRequest, options?: RpcOptions): UnaryCall<DeleteOrganisationSettingRequest, DeleteOrganisationSettingResult>;
/** /**
* @generated from protobuf rpc: List(vizapi.ListOrganisationSettingsRequest) returns (vizapi.ListOrganisationSettingsResult); * @generated from protobuf rpc: List
*/ */
list(input: ListOrganisationSettingsRequest, options?: RpcOptions): UnaryCall<ListOrganisationSettingsRequest, ListOrganisationSettingsResult>; list(input: ListOrganisationSettingsRequest, options?: RpcOptions): UnaryCall<ListOrganisationSettingsRequest, ListOrganisationSettingsResult>;
/** /**
* @generated from protobuf rpc: DeleteSettingsForOrganisation(vizapi.DeleteSettingsForOrganisationRequest) returns (vizapi.DeleteSettingsForOrganisationResult); * @generated from protobuf rpc: DeleteSettingsForOrganisation
*/ */
deleteSettingsForOrganisation(input: DeleteSettingsForOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteSettingsForOrganisationRequest, DeleteSettingsForOrganisationResult>; deleteSettingsForOrganisation(input: DeleteSettingsForOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteSettingsForOrganisationRequest, DeleteSettingsForOrganisationResult>;
} }
@@ -52,35 +52,35 @@ export class OrganisationSettingsServiceClient implements IOrganisationSettingsS
constructor(private readonly _transport: RpcTransport) { constructor(private readonly _transport: RpcTransport) {
} }
/** /**
* @generated from protobuf rpc: Get(vizapi.GetOrganisationSettingRequest) returns (vizapi.GetOrganisationSettingResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetOrganisationSettingRequest, options?: RpcOptions): UnaryCall<GetOrganisationSettingRequest, GetOrganisationSettingResult> { get(input: GetOrganisationSettingRequest, options?: RpcOptions): UnaryCall<GetOrganisationSettingRequest, GetOrganisationSettingResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options); const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<GetOrganisationSettingRequest, GetOrganisationSettingResult>("unary", this._transport, method, opt, input); return stackIntercept<GetOrganisationSettingRequest, GetOrganisationSettingResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Put(vizapi.PutOrganisationSettingRequest) returns (vizapi.PutOrganisationSettingResult); * @generated from protobuf rpc: Put
*/ */
put(input: PutOrganisationSettingRequest, options?: RpcOptions): UnaryCall<PutOrganisationSettingRequest, PutOrganisationSettingResult> { put(input: PutOrganisationSettingRequest, options?: RpcOptions): UnaryCall<PutOrganisationSettingRequest, PutOrganisationSettingResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options); const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<PutOrganisationSettingRequest, PutOrganisationSettingResult>("unary", this._transport, method, opt, input); return stackIntercept<PutOrganisationSettingRequest, PutOrganisationSettingResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteOrganisationSettingRequest) returns (vizapi.DeleteOrganisationSettingResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteOrganisationSettingRequest, options?: RpcOptions): UnaryCall<DeleteOrganisationSettingRequest, DeleteOrganisationSettingResult> { delete(input: DeleteOrganisationSettingRequest, options?: RpcOptions): UnaryCall<DeleteOrganisationSettingRequest, DeleteOrganisationSettingResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options); const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteOrganisationSettingRequest, DeleteOrganisationSettingResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteOrganisationSettingRequest, DeleteOrganisationSettingResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: List(vizapi.ListOrganisationSettingsRequest) returns (vizapi.ListOrganisationSettingsResult); * @generated from protobuf rpc: List
*/ */
list(input: ListOrganisationSettingsRequest, options?: RpcOptions): UnaryCall<ListOrganisationSettingsRequest, ListOrganisationSettingsResult> { list(input: ListOrganisationSettingsRequest, options?: RpcOptions): UnaryCall<ListOrganisationSettingsRequest, ListOrganisationSettingsResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options); const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<ListOrganisationSettingsRequest, ListOrganisationSettingsResult>("unary", this._transport, method, opt, input); return stackIntercept<ListOrganisationSettingsRequest, ListOrganisationSettingsResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: DeleteSettingsForOrganisation(vizapi.DeleteSettingsForOrganisationRequest) returns (vizapi.DeleteSettingsForOrganisationResult); * @generated from protobuf rpc: DeleteSettingsForOrganisation
*/ */
deleteSettingsForOrganisation(input: DeleteSettingsForOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteSettingsForOrganisationRequest, DeleteSettingsForOrganisationResult> { deleteSettingsForOrganisation(input: DeleteSettingsForOrganisationRequest, options?: RpcOptions): UnaryCall<DeleteSettingsForOrganisationRequest, DeleteSettingsForOrganisationResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options); const method = this.methods[4], opt = this._transport.mergeOptions(options);

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-organisation-settings.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-organisation-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc"; import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -17,19 +17,19 @@ import { RequestOrganisationHeader } from "./core/shared";
*/ */
export interface OrganisationSetting { export interface OrganisationSetting {
/** /**
* @generated from protobuf field: string OrganisationID = 1 [json_name = "OrganisationID"]; * @generated from protobuf field: string OrganisationID = 1
*/ */
OrganisationID: string; OrganisationID: string;
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 3 [json_name = "Value"]; * @generated from protobuf field: string Value = 3
*/ */
Value: string; Value: string;
/** /**
* @generated from protobuf field: vizapi.SettingVisibility Visibility = 4 [json_name = "Visibility"]; * @generated from protobuf field: vizapi.SettingVisibility Visibility = 4
*/ */
Visibility: SettingVisibility; Visibility: SettingVisibility;
} }
@@ -40,19 +40,19 @@ export interface OrganisationSetting {
*/ */
export interface PutOrganisationSettingRequest { export interface PutOrganisationSettingRequest {
/** /**
* @generated from protobuf field: api.RequestOrganisationHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestOrganisationHeader Header = 1
*/ */
Header?: RequestOrganisationHeader; Header?: RequestOrganisationHeader;
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 3 [json_name = "Value"]; * @generated from protobuf field: string Value = 3
*/ */
Value: string; Value: string;
/** /**
* @generated from protobuf field: vizapi.SettingVisibility Visibility = 4 [json_name = "Visibility"]; * @generated from protobuf field: vizapi.SettingVisibility Visibility = 4
*/ */
Visibility: SettingVisibility; Visibility: SettingVisibility;
} }
@@ -63,15 +63,15 @@ export interface PutOrganisationSettingRequest {
*/ */
export interface PutOrganisationSettingResult { export interface PutOrganisationSettingResult {
/** /**
* @generated from protobuf field: string Key = 1 [json_name = "Key"]; * @generated from protobuf field: string Key = 1
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 2 [json_name = "Value"]; * @generated from protobuf field: string Value = 2
*/ */
Value: string; Value: string;
/** /**
* @generated from protobuf field: vizapi.SettingVisibility Visibility = 3 [json_name = "Visibility"]; * @generated from protobuf field: vizapi.SettingVisibility Visibility = 3
*/ */
Visibility: SettingVisibility; Visibility: SettingVisibility;
} }
@@ -82,11 +82,11 @@ export interface PutOrganisationSettingResult {
*/ */
export interface GetOrganisationSettingRequest { export interface GetOrganisationSettingRequest {
/** /**
* @generated from protobuf field: api.RequestOrganisationHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestOrganisationHeader Header = 1
*/ */
Header?: RequestOrganisationHeader; Header?: RequestOrganisationHeader;
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
} }
@@ -97,15 +97,15 @@ export interface GetOrganisationSettingRequest {
*/ */
export interface GetOrganisationSettingResult { export interface GetOrganisationSettingResult {
/** /**
* @generated from protobuf field: string Key = 1 [json_name = "Key"]; * @generated from protobuf field: string Key = 1
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 2 [json_name = "Value"]; * @generated from protobuf field: string Value = 2
*/ */
Value: string; Value: string;
/** /**
* @generated from protobuf field: vizapi.SettingVisibility Visibility = 3 [json_name = "Visibility"]; * @generated from protobuf field: vizapi.SettingVisibility Visibility = 3
*/ */
Visibility: SettingVisibility; Visibility: SettingVisibility;
} }
@@ -116,11 +116,11 @@ export interface GetOrganisationSettingResult {
*/ */
export interface DeleteOrganisationSettingRequest { export interface DeleteOrganisationSettingRequest {
/** /**
* @generated from protobuf field: api.RequestOrganisationHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestOrganisationHeader Header = 1
*/ */
Header?: RequestOrganisationHeader; Header?: RequestOrganisationHeader;
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
} }
@@ -134,7 +134,7 @@ export interface DeleteOrganisationSettingResult {
*/ */
export interface ListOrganisationSettingsRequest { export interface ListOrganisationSettingsRequest {
/** /**
* @generated from protobuf field: api.RequestOrganisationHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestOrganisationHeader Header = 1
*/ */
Header?: RequestOrganisationHeader; Header?: RequestOrganisationHeader;
} }
@@ -145,7 +145,7 @@ export interface ListOrganisationSettingsRequest {
*/ */
export interface ListOrganisationSettingsResult { export interface ListOrganisationSettingsResult {
/** /**
* @generated from protobuf field: repeated vizapi.GetOrganisationSettingResult OrganisationSettings = 1 [json_name = "OrganisationSettings"]; * @generated from protobuf field: repeated vizapi.GetOrganisationSettingResult OrganisationSettings = 1
*/ */
OrganisationSettings: GetOrganisationSettingResult[]; OrganisationSettings: GetOrganisationSettingResult[];
} }
@@ -154,7 +154,7 @@ export interface ListOrganisationSettingsResult {
*/ */
export interface DeleteSettingsForOrganisationRequest { export interface DeleteSettingsForOrganisationRequest {
/** /**
* @generated from protobuf field: string OrganisationID = 1 [json_name = "OrganisationID"]; * @generated from protobuf field: string OrganisationID = 1
*/ */
OrganisationID: string; OrganisationID: string;
} }
@@ -205,16 +205,16 @@ class OrganisationSetting$Type extends MessageType<OrganisationSetting> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string OrganisationID = 1 [json_name = "OrganisationID"];*/ 1: case /* string OrganisationID */ 1:
message.OrganisationID = reader.string(); message.OrganisationID = reader.string();
break; break;
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 3 [json_name = "Value"];*/ 3: case /* string Value */ 3:
message.Value = reader.string(); message.Value = reader.string();
break; break;
case /* vizapi.SettingVisibility Visibility = 4 [json_name = "Visibility"];*/ 4: case /* vizapi.SettingVisibility Visibility */ 4:
message.Visibility = reader.int32(); message.Visibility = reader.int32();
break; break;
default: default:
@@ -229,16 +229,16 @@ class OrganisationSetting$Type extends MessageType<OrganisationSetting> {
return message; return message;
} }
internalBinaryWrite(message: OrganisationSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: OrganisationSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationID = 1 [json_name = "OrganisationID"]; */ /* string OrganisationID = 1; */
if (message.OrganisationID !== "") if (message.OrganisationID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationID); writer.tag(1, WireType.LengthDelimited).string(message.OrganisationID);
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
/* string Value = 3 [json_name = "Value"]; */ /* string Value = 3; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Value); writer.tag(3, WireType.LengthDelimited).string(message.Value);
/* vizapi.SettingVisibility Visibility = 4 [json_name = "Visibility"]; */ /* vizapi.SettingVisibility Visibility = 4; */
if (message.Visibility !== 0) if (message.Visibility !== 0)
writer.tag(4, WireType.Varint).int32(message.Visibility); writer.tag(4, WireType.Varint).int32(message.Visibility);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -275,16 +275,16 @@ class PutOrganisationSettingRequest$Type extends MessageType<PutOrganisationSett
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestOrganisationHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestOrganisationHeader Header */ 1:
message.Header = RequestOrganisationHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestOrganisationHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 3 [json_name = "Value"];*/ 3: case /* string Value */ 3:
message.Value = reader.string(); message.Value = reader.string();
break; break;
case /* vizapi.SettingVisibility Visibility = 4 [json_name = "Visibility"];*/ 4: case /* vizapi.SettingVisibility Visibility */ 4:
message.Visibility = reader.int32(); message.Visibility = reader.int32();
break; break;
default: default:
@@ -299,16 +299,16 @@ class PutOrganisationSettingRequest$Type extends MessageType<PutOrganisationSett
return message; return message;
} }
internalBinaryWrite(message: PutOrganisationSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: PutOrganisationSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestOrganisationHeader Header = 1 [json_name = "Header"]; */ /* api.RequestOrganisationHeader Header = 1; */
if (message.Header) if (message.Header)
RequestOrganisationHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestOrganisationHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
/* string Value = 3 [json_name = "Value"]; */ /* string Value = 3; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Value); writer.tag(3, WireType.LengthDelimited).string(message.Value);
/* vizapi.SettingVisibility Visibility = 4 [json_name = "Visibility"]; */ /* vizapi.SettingVisibility Visibility = 4; */
if (message.Visibility !== 0) if (message.Visibility !== 0)
writer.tag(4, WireType.Varint).int32(message.Visibility); writer.tag(4, WireType.Varint).int32(message.Visibility);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -344,13 +344,13 @@ class PutOrganisationSettingResult$Type extends MessageType<PutOrganisationSetti
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Key = 1 [json_name = "Key"];*/ 1: case /* string Key */ 1:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 2 [json_name = "Value"];*/ 2: case /* string Value */ 2:
message.Value = reader.string(); message.Value = reader.string();
break; break;
case /* vizapi.SettingVisibility Visibility = 3 [json_name = "Visibility"];*/ 3: case /* vizapi.SettingVisibility Visibility */ 3:
message.Visibility = reader.int32(); message.Visibility = reader.int32();
break; break;
default: default:
@@ -365,13 +365,13 @@ class PutOrganisationSettingResult$Type extends MessageType<PutOrganisationSetti
return message; return message;
} }
internalBinaryWrite(message: PutOrganisationSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: PutOrganisationSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Key = 1 [json_name = "Key"]; */ /* string Key = 1; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Key); writer.tag(1, WireType.LengthDelimited).string(message.Key);
/* string Value = 2 [json_name = "Value"]; */ /* string Value = 2; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Value); writer.tag(2, WireType.LengthDelimited).string(message.Value);
/* vizapi.SettingVisibility Visibility = 3 [json_name = "Visibility"]; */ /* vizapi.SettingVisibility Visibility = 3; */
if (message.Visibility !== 0) if (message.Visibility !== 0)
writer.tag(3, WireType.Varint).int32(message.Visibility); writer.tag(3, WireType.Varint).int32(message.Visibility);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -404,10 +404,10 @@ class GetOrganisationSettingRequest$Type extends MessageType<GetOrganisationSett
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestOrganisationHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestOrganisationHeader Header */ 1:
message.Header = RequestOrganisationHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestOrganisationHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
default: default:
@@ -422,10 +422,10 @@ class GetOrganisationSettingRequest$Type extends MessageType<GetOrganisationSett
return message; return message;
} }
internalBinaryWrite(message: GetOrganisationSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: GetOrganisationSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestOrganisationHeader Header = 1 [json_name = "Header"]; */ /* api.RequestOrganisationHeader Header = 1; */
if (message.Header) if (message.Header)
RequestOrganisationHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestOrganisationHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -461,13 +461,13 @@ class GetOrganisationSettingResult$Type extends MessageType<GetOrganisationSetti
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Key = 1 [json_name = "Key"];*/ 1: case /* string Key */ 1:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 2 [json_name = "Value"];*/ 2: case /* string Value */ 2:
message.Value = reader.string(); message.Value = reader.string();
break; break;
case /* vizapi.SettingVisibility Visibility = 3 [json_name = "Visibility"];*/ 3: case /* vizapi.SettingVisibility Visibility */ 3:
message.Visibility = reader.int32(); message.Visibility = reader.int32();
break; break;
default: default:
@@ -482,13 +482,13 @@ class GetOrganisationSettingResult$Type extends MessageType<GetOrganisationSetti
return message; return message;
} }
internalBinaryWrite(message: GetOrganisationSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: GetOrganisationSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Key = 1 [json_name = "Key"]; */ /* string Key = 1; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Key); writer.tag(1, WireType.LengthDelimited).string(message.Key);
/* string Value = 2 [json_name = "Value"]; */ /* string Value = 2; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Value); writer.tag(2, WireType.LengthDelimited).string(message.Value);
/* vizapi.SettingVisibility Visibility = 3 [json_name = "Visibility"]; */ /* vizapi.SettingVisibility Visibility = 3; */
if (message.Visibility !== 0) if (message.Visibility !== 0)
writer.tag(3, WireType.Varint).int32(message.Visibility); writer.tag(3, WireType.Varint).int32(message.Visibility);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -521,10 +521,10 @@ class DeleteOrganisationSettingRequest$Type extends MessageType<DeleteOrganisati
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestOrganisationHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestOrganisationHeader Header */ 1:
message.Header = RequestOrganisationHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestOrganisationHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
default: default:
@@ -539,10 +539,10 @@ class DeleteOrganisationSettingRequest$Type extends MessageType<DeleteOrganisati
return message; return message;
} }
internalBinaryWrite(message: DeleteOrganisationSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: DeleteOrganisationSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestOrganisationHeader Header = 1 [json_name = "Header"]; */ /* api.RequestOrganisationHeader Header = 1; */
if (message.Header) if (message.Header)
RequestOrganisationHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestOrganisationHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -611,7 +611,7 @@ class ListOrganisationSettingsRequest$Type extends MessageType<ListOrganisationS
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestOrganisationHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestOrganisationHeader Header */ 1:
message.Header = RequestOrganisationHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestOrganisationHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
default: default:
@@ -626,7 +626,7 @@ class ListOrganisationSettingsRequest$Type extends MessageType<ListOrganisationS
return message; return message;
} }
internalBinaryWrite(message: ListOrganisationSettingsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListOrganisationSettingsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestOrganisationHeader Header = 1 [json_name = "Header"]; */ /* api.RequestOrganisationHeader Header = 1; */
if (message.Header) if (message.Header)
RequestOrganisationHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestOrganisationHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -658,7 +658,7 @@ class ListOrganisationSettingsResult$Type extends MessageType<ListOrganisationSe
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* repeated vizapi.GetOrganisationSettingResult OrganisationSettings = 1 [json_name = "OrganisationSettings"];*/ 1: case /* repeated vizapi.GetOrganisationSettingResult OrganisationSettings */ 1:
message.OrganisationSettings.push(GetOrganisationSettingResult.internalBinaryRead(reader, reader.uint32(), options)); message.OrganisationSettings.push(GetOrganisationSettingResult.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -673,7 +673,7 @@ class ListOrganisationSettingsResult$Type extends MessageType<ListOrganisationSe
return message; return message;
} }
internalBinaryWrite(message: ListOrganisationSettingsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListOrganisationSettingsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated vizapi.GetOrganisationSettingResult OrganisationSettings = 1 [json_name = "OrganisationSettings"]; */ /* repeated vizapi.GetOrganisationSettingResult OrganisationSettings = 1; */
for (let i = 0; i < message.OrganisationSettings.length; i++) for (let i = 0; i < message.OrganisationSettings.length; i++)
GetOrganisationSettingResult.internalBinaryWrite(message.OrganisationSettings[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); GetOrganisationSettingResult.internalBinaryWrite(message.OrganisationSettings[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -705,7 +705,7 @@ class DeleteSettingsForOrganisationRequest$Type extends MessageType<DeleteSettin
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string OrganisationID = 1 [json_name = "OrganisationID"];*/ 1: case /* string OrganisationID */ 1:
message.OrganisationID = reader.string(); message.OrganisationID = reader.string();
break; break;
default: default:
@@ -720,7 +720,7 @@ class DeleteSettingsForOrganisationRequest$Type extends MessageType<DeleteSettin
return message; return message;
} }
internalBinaryWrite(message: DeleteSettingsForOrganisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: DeleteSettingsForOrganisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string OrganisationID = 1 [json_name = "OrganisationID"]; */ /* string OrganisationID = 1; */
if (message.OrganisationID !== "") if (message.OrganisationID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.OrganisationID); writer.tag(1, WireType.LengthDelimited).string(message.OrganisationID);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-project-settings.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-project-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
@@ -24,27 +24,27 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/ */
export interface IProjectSettingsServiceClient { export interface IProjectSettingsServiceClient {
/** /**
* @generated from protobuf rpc: Get(vizapi.GetProjectSettingRequest) returns (vizapi.GetProjectSettingResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetProjectSettingRequest, options?: RpcOptions): UnaryCall<GetProjectSettingRequest, GetProjectSettingResult>; get(input: GetProjectSettingRequest, options?: RpcOptions): UnaryCall<GetProjectSettingRequest, GetProjectSettingResult>;
/** /**
* @generated from protobuf rpc: Put(vizapi.PutProjectSettingRequest) returns (vizapi.PutProjectSettingResult); * @generated from protobuf rpc: Put
*/ */
put(input: PutProjectSettingRequest, options?: RpcOptions): UnaryCall<PutProjectSettingRequest, PutProjectSettingResult>; put(input: PutProjectSettingRequest, options?: RpcOptions): UnaryCall<PutProjectSettingRequest, PutProjectSettingResult>;
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteProjectSettingRequest) returns (vizapi.DeleteProjectSettingResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteProjectSettingRequest, options?: RpcOptions): UnaryCall<DeleteProjectSettingRequest, DeleteProjectSettingResult>; delete(input: DeleteProjectSettingRequest, options?: RpcOptions): UnaryCall<DeleteProjectSettingRequest, DeleteProjectSettingResult>;
/** /**
* @generated from protobuf rpc: List(vizapi.ListProjectSettingsRequest) returns (vizapi.ListProjectSettingsResult); * @generated from protobuf rpc: List
*/ */
list(input: ListProjectSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectSettingsRequest, ListProjectSettingsResult>; list(input: ListProjectSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectSettingsRequest, ListProjectSettingsResult>;
/** /**
* @generated from protobuf rpc: ListOrganisationSettings(vizapi.ListProjectOrganisationSettingsRequest) returns (vizapi.ListProjectOrganisationSettingsResult); * @generated from protobuf rpc: ListOrganisationSettings
*/ */
listOrganisationSettings(input: ListProjectOrganisationSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectOrganisationSettingsRequest, ListProjectOrganisationSettingsResult>; listOrganisationSettings(input: ListProjectOrganisationSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectOrganisationSettingsRequest, ListProjectOrganisationSettingsResult>;
/** /**
* @generated from protobuf rpc: DeleteSettingsForProject(vizapi.DeleteSettingsForProjectRequest) returns (vizapi.DeleteSettingsForProjectResult); * @generated from protobuf rpc: DeleteSettingsForProject
*/ */
deleteSettingsForProject(input: DeleteSettingsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteSettingsForProjectRequest, DeleteSettingsForProjectResult>; deleteSettingsForProject(input: DeleteSettingsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteSettingsForProjectRequest, DeleteSettingsForProjectResult>;
} }
@@ -58,42 +58,42 @@ export class ProjectSettingsServiceClient implements IProjectSettingsServiceClie
constructor(private readonly _transport: RpcTransport) { constructor(private readonly _transport: RpcTransport) {
} }
/** /**
* @generated from protobuf rpc: Get(vizapi.GetProjectSettingRequest) returns (vizapi.GetProjectSettingResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetProjectSettingRequest, options?: RpcOptions): UnaryCall<GetProjectSettingRequest, GetProjectSettingResult> { get(input: GetProjectSettingRequest, options?: RpcOptions): UnaryCall<GetProjectSettingRequest, GetProjectSettingResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options); const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<GetProjectSettingRequest, GetProjectSettingResult>("unary", this._transport, method, opt, input); return stackIntercept<GetProjectSettingRequest, GetProjectSettingResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Put(vizapi.PutProjectSettingRequest) returns (vizapi.PutProjectSettingResult); * @generated from protobuf rpc: Put
*/ */
put(input: PutProjectSettingRequest, options?: RpcOptions): UnaryCall<PutProjectSettingRequest, PutProjectSettingResult> { put(input: PutProjectSettingRequest, options?: RpcOptions): UnaryCall<PutProjectSettingRequest, PutProjectSettingResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options); const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<PutProjectSettingRequest, PutProjectSettingResult>("unary", this._transport, method, opt, input); return stackIntercept<PutProjectSettingRequest, PutProjectSettingResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteProjectSettingRequest) returns (vizapi.DeleteProjectSettingResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteProjectSettingRequest, options?: RpcOptions): UnaryCall<DeleteProjectSettingRequest, DeleteProjectSettingResult> { delete(input: DeleteProjectSettingRequest, options?: RpcOptions): UnaryCall<DeleteProjectSettingRequest, DeleteProjectSettingResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options); const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteProjectSettingRequest, DeleteProjectSettingResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteProjectSettingRequest, DeleteProjectSettingResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: List(vizapi.ListProjectSettingsRequest) returns (vizapi.ListProjectSettingsResult); * @generated from protobuf rpc: List
*/ */
list(input: ListProjectSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectSettingsRequest, ListProjectSettingsResult> { list(input: ListProjectSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectSettingsRequest, ListProjectSettingsResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options); const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<ListProjectSettingsRequest, ListProjectSettingsResult>("unary", this._transport, method, opt, input); return stackIntercept<ListProjectSettingsRequest, ListProjectSettingsResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: ListOrganisationSettings(vizapi.ListProjectOrganisationSettingsRequest) returns (vizapi.ListProjectOrganisationSettingsResult); * @generated from protobuf rpc: ListOrganisationSettings
*/ */
listOrganisationSettings(input: ListProjectOrganisationSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectOrganisationSettingsRequest, ListProjectOrganisationSettingsResult> { listOrganisationSettings(input: ListProjectOrganisationSettingsRequest, options?: RpcOptions): UnaryCall<ListProjectOrganisationSettingsRequest, ListProjectOrganisationSettingsResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options); const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<ListProjectOrganisationSettingsRequest, ListProjectOrganisationSettingsResult>("unary", this._transport, method, opt, input); return stackIntercept<ListProjectOrganisationSettingsRequest, ListProjectOrganisationSettingsResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: DeleteSettingsForProject(vizapi.DeleteSettingsForProjectRequest) returns (vizapi.DeleteSettingsForProjectResult); * @generated from protobuf rpc: DeleteSettingsForProject
*/ */
deleteSettingsForProject(input: DeleteSettingsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteSettingsForProjectRequest, DeleteSettingsForProjectResult> { deleteSettingsForProject(input: DeleteSettingsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteSettingsForProjectRequest, DeleteSettingsForProjectResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options); const method = this.methods[5], opt = this._transport.mergeOptions(options);

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-project-settings.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-project-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc"; import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -18,15 +18,15 @@ import { RequestProjectHeader } from "./core/shared";
*/ */
export interface ProjectSetting { export interface ProjectSetting {
/** /**
* @generated from protobuf field: string ProjectID = 1 [json_name = "ProjectID"]; * @generated from protobuf field: string ProjectID = 1
*/ */
ProjectID: string; ProjectID: string;
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 3 [json_name = "Value"]; * @generated from protobuf field: string Value = 3
*/ */
Value: string; Value: string;
} }
@@ -37,15 +37,15 @@ export interface ProjectSetting {
*/ */
export interface PutProjectSettingRequest { export interface PutProjectSettingRequest {
/** /**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestProjectHeader Header = 1
*/ */
Header?: RequestProjectHeader; Header?: RequestProjectHeader;
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 3 [json_name = "Value"]; * @generated from protobuf field: string Value = 3
*/ */
Value: string; Value: string;
} }
@@ -56,11 +56,11 @@ export interface PutProjectSettingRequest {
*/ */
export interface PutProjectSettingResult { export interface PutProjectSettingResult {
/** /**
* @generated from protobuf field: string Key = 1 [json_name = "Key"]; * @generated from protobuf field: string Key = 1
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 2 [json_name = "Value"]; * @generated from protobuf field: string Value = 2
*/ */
Value: string; Value: string;
} }
@@ -71,11 +71,11 @@ export interface PutProjectSettingResult {
*/ */
export interface GetProjectSettingRequest { export interface GetProjectSettingRequest {
/** /**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestProjectHeader Header = 1
*/ */
Header?: RequestProjectHeader; Header?: RequestProjectHeader;
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
} }
@@ -86,11 +86,11 @@ export interface GetProjectSettingRequest {
*/ */
export interface GetProjectSettingResult { export interface GetProjectSettingResult {
/** /**
* @generated from protobuf field: string Key = 1 [json_name = "Key"]; * @generated from protobuf field: string Key = 1
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 2 [json_name = "Value"]; * @generated from protobuf field: string Value = 2
*/ */
Value: string; Value: string;
} }
@@ -101,11 +101,11 @@ export interface GetProjectSettingResult {
*/ */
export interface DeleteProjectSettingRequest { export interface DeleteProjectSettingRequest {
/** /**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestProjectHeader Header = 1
*/ */
Header?: RequestProjectHeader; Header?: RequestProjectHeader;
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
} }
@@ -119,7 +119,7 @@ export interface DeleteProjectSettingResult {
*/ */
export interface ListProjectSettingsRequest { export interface ListProjectSettingsRequest {
/** /**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestProjectHeader Header = 1
*/ */
Header?: RequestProjectHeader; Header?: RequestProjectHeader;
} }
@@ -130,7 +130,7 @@ export interface ListProjectSettingsRequest {
*/ */
export interface ListProjectSettingsResult { export interface ListProjectSettingsResult {
/** /**
* @generated from protobuf field: repeated vizapi.GetProjectSettingResult ProjectSettings = 1 [json_name = "ProjectSettings"]; * @generated from protobuf field: repeated vizapi.GetProjectSettingResult ProjectSettings = 1
*/ */
ProjectSettings: GetProjectSettingResult[]; ProjectSettings: GetProjectSettingResult[];
} }
@@ -139,7 +139,7 @@ export interface ListProjectSettingsResult {
*/ */
export interface ListProjectOrganisationSettingsRequest { export interface ListProjectOrganisationSettingsRequest {
/** /**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestProjectHeader Header = 1
*/ */
Header?: RequestProjectHeader; Header?: RequestProjectHeader;
} }
@@ -150,7 +150,7 @@ export interface ListProjectOrganisationSettingsRequest {
*/ */
export interface ListProjectOrganisationSettingsResult { export interface ListProjectOrganisationSettingsResult {
/** /**
* @generated from protobuf field: repeated vizapi.GetOrganisationSettingResult OrganisationSettings = 1 [json_name = "OrganisationSettings"]; * @generated from protobuf field: repeated vizapi.GetOrganisationSettingResult OrganisationSettings = 1
*/ */
OrganisationSettings: GetOrganisationSettingResult[]; OrganisationSettings: GetOrganisationSettingResult[];
} }
@@ -159,7 +159,7 @@ export interface ListProjectOrganisationSettingsResult {
*/ */
export interface DeleteSettingsForProjectRequest { export interface DeleteSettingsForProjectRequest {
/** /**
* @generated from protobuf field: string ProjectID = 1 [json_name = "ProjectID"]; * @generated from protobuf field: string ProjectID = 1
*/ */
ProjectID: string; ProjectID: string;
} }
@@ -191,13 +191,13 @@ class ProjectSetting$Type extends MessageType<ProjectSetting> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ProjectID = 1 [json_name = "ProjectID"];*/ 1: case /* string ProjectID */ 1:
message.ProjectID = reader.string(); message.ProjectID = reader.string();
break; break;
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 3 [json_name = "Value"];*/ 3: case /* string Value */ 3:
message.Value = reader.string(); message.Value = reader.string();
break; break;
default: default:
@@ -212,13 +212,13 @@ class ProjectSetting$Type extends MessageType<ProjectSetting> {
return message; return message;
} }
internalBinaryWrite(message: ProjectSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ProjectSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1 [json_name = "ProjectID"]; */ /* string ProjectID = 1; */
if (message.ProjectID !== "") if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID); writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
/* string Value = 3 [json_name = "Value"]; */ /* string Value = 3; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Value); writer.tag(3, WireType.LengthDelimited).string(message.Value);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -253,13 +253,13 @@ class PutProjectSettingRequest$Type extends MessageType<PutProjectSettingRequest
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 3 [json_name = "Value"];*/ 3: case /* string Value */ 3:
message.Value = reader.string(); message.Value = reader.string();
break; break;
default: default:
@@ -274,13 +274,13 @@ class PutProjectSettingRequest$Type extends MessageType<PutProjectSettingRequest
return message; return message;
} }
internalBinaryWrite(message: PutProjectSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: PutProjectSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ /* api.RequestProjectHeader Header = 1; */
if (message.Header) if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
/* string Value = 3 [json_name = "Value"]; */ /* string Value = 3; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Value); writer.tag(3, WireType.LengthDelimited).string(message.Value);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -314,10 +314,10 @@ class PutProjectSettingResult$Type extends MessageType<PutProjectSettingResult>
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Key = 1 [json_name = "Key"];*/ 1: case /* string Key */ 1:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 2 [json_name = "Value"];*/ 2: case /* string Value */ 2:
message.Value = reader.string(); message.Value = reader.string();
break; break;
default: default:
@@ -332,10 +332,10 @@ class PutProjectSettingResult$Type extends MessageType<PutProjectSettingResult>
return message; return message;
} }
internalBinaryWrite(message: PutProjectSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: PutProjectSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Key = 1 [json_name = "Key"]; */ /* string Key = 1; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Key); writer.tag(1, WireType.LengthDelimited).string(message.Key);
/* string Value = 2 [json_name = "Value"]; */ /* string Value = 2; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Value); writer.tag(2, WireType.LengthDelimited).string(message.Value);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -368,10 +368,10 @@ class GetProjectSettingRequest$Type extends MessageType<GetProjectSettingRequest
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
default: default:
@@ -386,10 +386,10 @@ class GetProjectSettingRequest$Type extends MessageType<GetProjectSettingRequest
return message; return message;
} }
internalBinaryWrite(message: GetProjectSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: GetProjectSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ /* api.RequestProjectHeader Header = 1; */
if (message.Header) if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -423,10 +423,10 @@ class GetProjectSettingResult$Type extends MessageType<GetProjectSettingResult>
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Key = 1 [json_name = "Key"];*/ 1: case /* string Key */ 1:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 2 [json_name = "Value"];*/ 2: case /* string Value */ 2:
message.Value = reader.string(); message.Value = reader.string();
break; break;
default: default:
@@ -441,10 +441,10 @@ class GetProjectSettingResult$Type extends MessageType<GetProjectSettingResult>
return message; return message;
} }
internalBinaryWrite(message: GetProjectSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: GetProjectSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Key = 1 [json_name = "Key"]; */ /* string Key = 1; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Key); writer.tag(1, WireType.LengthDelimited).string(message.Key);
/* string Value = 2 [json_name = "Value"]; */ /* string Value = 2; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Value); writer.tag(2, WireType.LengthDelimited).string(message.Value);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -477,10 +477,10 @@ class DeleteProjectSettingRequest$Type extends MessageType<DeleteProjectSettingR
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
default: default:
@@ -495,10 +495,10 @@ class DeleteProjectSettingRequest$Type extends MessageType<DeleteProjectSettingR
return message; return message;
} }
internalBinaryWrite(message: DeleteProjectSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: DeleteProjectSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ /* api.RequestProjectHeader Header = 1; */
if (message.Header) if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -567,7 +567,7 @@ class ListProjectSettingsRequest$Type extends MessageType<ListProjectSettingsReq
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
default: default:
@@ -582,7 +582,7 @@ class ListProjectSettingsRequest$Type extends MessageType<ListProjectSettingsReq
return message; return message;
} }
internalBinaryWrite(message: ListProjectSettingsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListProjectSettingsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ /* api.RequestProjectHeader Header = 1; */
if (message.Header) if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -614,7 +614,7 @@ class ListProjectSettingsResult$Type extends MessageType<ListProjectSettingsResu
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* repeated vizapi.GetProjectSettingResult ProjectSettings = 1 [json_name = "ProjectSettings"];*/ 1: case /* repeated vizapi.GetProjectSettingResult ProjectSettings */ 1:
message.ProjectSettings.push(GetProjectSettingResult.internalBinaryRead(reader, reader.uint32(), options)); message.ProjectSettings.push(GetProjectSettingResult.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -629,7 +629,7 @@ class ListProjectSettingsResult$Type extends MessageType<ListProjectSettingsResu
return message; return message;
} }
internalBinaryWrite(message: ListProjectSettingsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListProjectSettingsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated vizapi.GetProjectSettingResult ProjectSettings = 1 [json_name = "ProjectSettings"]; */ /* repeated vizapi.GetProjectSettingResult ProjectSettings = 1; */
for (let i = 0; i < message.ProjectSettings.length; i++) for (let i = 0; i < message.ProjectSettings.length; i++)
GetProjectSettingResult.internalBinaryWrite(message.ProjectSettings[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); GetProjectSettingResult.internalBinaryWrite(message.ProjectSettings[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -660,7 +660,7 @@ class ListProjectOrganisationSettingsRequest$Type extends MessageType<ListProjec
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
default: default:
@@ -675,7 +675,7 @@ class ListProjectOrganisationSettingsRequest$Type extends MessageType<ListProjec
return message; return message;
} }
internalBinaryWrite(message: ListProjectOrganisationSettingsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListProjectOrganisationSettingsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ /* api.RequestProjectHeader Header = 1; */
if (message.Header) if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -707,7 +707,7 @@ class ListProjectOrganisationSettingsResult$Type extends MessageType<ListProject
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* repeated vizapi.GetOrganisationSettingResult OrganisationSettings = 1 [json_name = "OrganisationSettings"];*/ 1: case /* repeated vizapi.GetOrganisationSettingResult OrganisationSettings */ 1:
message.OrganisationSettings.push(GetOrganisationSettingResult.internalBinaryRead(reader, reader.uint32(), options)); message.OrganisationSettings.push(GetOrganisationSettingResult.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -722,7 +722,7 @@ class ListProjectOrganisationSettingsResult$Type extends MessageType<ListProject
return message; return message;
} }
internalBinaryWrite(message: ListProjectOrganisationSettingsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListProjectOrganisationSettingsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated vizapi.GetOrganisationSettingResult OrganisationSettings = 1 [json_name = "OrganisationSettings"]; */ /* repeated vizapi.GetOrganisationSettingResult OrganisationSettings = 1; */
for (let i = 0; i < message.OrganisationSettings.length; i++) for (let i = 0; i < message.OrganisationSettings.length; i++)
GetOrganisationSettingResult.internalBinaryWrite(message.OrganisationSettings[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); GetOrganisationSettingResult.internalBinaryWrite(message.OrganisationSettings[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -754,7 +754,7 @@ class DeleteSettingsForProjectRequest$Type extends MessageType<DeleteSettingsFor
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ProjectID = 1 [json_name = "ProjectID"];*/ 1: case /* string ProjectID */ 1:
message.ProjectID = reader.string(); message.ProjectID = reader.string();
break; break;
default: default:
@@ -769,7 +769,7 @@ class DeleteSettingsForProjectRequest$Type extends MessageType<DeleteSettingsFor
return message; return message;
} }
internalBinaryWrite(message: DeleteSettingsForProjectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: DeleteSettingsForProjectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1 [json_name = "ProjectID"]; */ /* string ProjectID = 1; */
if (message.ProjectID !== "") if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID); writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-tab.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-tab.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
@@ -14,7 +14,7 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/ */
export interface ITabServiceClient { export interface ITabServiceClient {
/** /**
* @generated from protobuf rpc: List(vizapi.ListTabRequest) returns (vizapi.ListTabResult); * @generated from protobuf rpc: List
*/ */
list(input: ListTabRequest, options?: RpcOptions): UnaryCall<ListTabRequest, ListTabResult>; list(input: ListTabRequest, options?: RpcOptions): UnaryCall<ListTabRequest, ListTabResult>;
} }
@@ -28,7 +28,7 @@ export class TabServiceClient implements ITabServiceClient, ServiceInfo {
constructor(private readonly _transport: RpcTransport) { constructor(private readonly _transport: RpcTransport) {
} }
/** /**
* @generated from protobuf rpc: List(vizapi.ListTabRequest) returns (vizapi.ListTabResult); * @generated from protobuf rpc: List
*/ */
list(input: ListTabRequest, options?: RpcOptions): UnaryCall<ListTabRequest, ListTabResult> { list(input: ListTabRequest, options?: RpcOptions): UnaryCall<ListTabRequest, ListTabResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options); const method = this.methods[0], opt = this._transport.mergeOptions(options);

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-tab.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-tab.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc"; import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -18,7 +18,7 @@ export interface ListTabRequest {
/** /**
* Identifier of the Tab * Identifier of the Tab
* *
* @generated from protobuf field: string TabID = 1 [json_name = "TabID"]; * @generated from protobuf field: string TabID = 1
*/ */
TabID: string; TabID: string;
} }
@@ -29,7 +29,7 @@ export interface ListTabResult {
/** /**
* List of tabs * List of tabs
* *
* @generated from protobuf field: string Result = 1 [json_name = "Result"]; * @generated from protobuf field: string Result = 1
*/ */
Result: string; Result: string;
} }
@@ -52,7 +52,7 @@ class ListTabRequest$Type extends MessageType<ListTabRequest> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string TabID = 1 [json_name = "TabID"];*/ 1: case /* string TabID */ 1:
message.TabID = reader.string(); message.TabID = reader.string();
break; break;
default: default:
@@ -67,7 +67,7 @@ class ListTabRequest$Type extends MessageType<ListTabRequest> {
return message; return message;
} }
internalBinaryWrite(message: ListTabRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListTabRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string TabID = 1 [json_name = "TabID"]; */ /* string TabID = 1; */
if (message.TabID !== "") if (message.TabID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.TabID); writer.tag(1, WireType.LengthDelimited).string(message.TabID);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -99,7 +99,7 @@ class ListTabResult$Type extends MessageType<ListTabResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Result = 1 [json_name = "Result"];*/ 1: case /* string Result */ 1:
message.Result = reader.string(); message.Result = reader.string();
break; break;
default: default:
@@ -114,7 +114,7 @@ class ListTabResult$Type extends MessageType<ListTabResult> {
return message; return message;
} }
internalBinaryWrite(message: ListTabResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListTabResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Result = 1 [json_name = "Result"]; */ /* string Result = 1; */
if (message.Result !== "") if (message.Result !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Result); writer.tag(1, WireType.LengthDelimited).string(message.Result);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-translations.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-translations.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
@@ -28,27 +28,27 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/ */
export interface ITranslationsServiceClient { export interface ITranslationsServiceClient {
/** /**
* @generated from protobuf rpc: Get(vizapi.GetTranslationsRequest) returns (vizapi.GetTranslationsResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetTranslationsRequest, options?: RpcOptions): UnaryCall<GetTranslationsRequest, GetTranslationsResult>; get(input: GetTranslationsRequest, options?: RpcOptions): UnaryCall<GetTranslationsRequest, GetTranslationsResult>;
/** /**
* @generated from protobuf rpc: Put(vizapi.PutTranslationsRequest) returns (vizapi.PutTranslationsResult); * @generated from protobuf rpc: Put
*/ */
put(input: PutTranslationsRequest, options?: RpcOptions): UnaryCall<PutTranslationsRequest, PutTranslationsResult>; put(input: PutTranslationsRequest, options?: RpcOptions): UnaryCall<PutTranslationsRequest, PutTranslationsResult>;
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteTranslationsRequest) returns (vizapi.DeleteTranslationsResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteTranslationsRequest, DeleteTranslationsResult>; delete(input: DeleteTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteTranslationsRequest, DeleteTranslationsResult>;
/** /**
* @generated from protobuf rpc: List(vizapi.ListTranslationsRequest) returns (vizapi.ListTranslationsResult); * @generated from protobuf rpc: List
*/ */
list(input: ListTranslationsRequest, options?: RpcOptions): UnaryCall<ListTranslationsRequest, ListTranslationsResult>; list(input: ListTranslationsRequest, options?: RpcOptions): UnaryCall<ListTranslationsRequest, ListTranslationsResult>;
/** /**
* @generated from protobuf rpc: DeleteAll(vizapi.DeleteAllTranslationsRequest) returns (vizapi.DeleteAllTranslationsResult); * @generated from protobuf rpc: DeleteAll
*/ */
deleteAll(input: DeleteAllTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteAllTranslationsRequest, DeleteAllTranslationsResult>; deleteAll(input: DeleteAllTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteAllTranslationsRequest, DeleteAllTranslationsResult>;
/** /**
* @generated from protobuf rpc: GetLanguages(vizapi.GetLanguagesRequest) returns (vizapi.GetLanguagesResult); * @generated from protobuf rpc: GetLanguages
*/ */
getLanguages(input: GetLanguagesRequest, options?: RpcOptions): UnaryCall<GetLanguagesRequest, GetLanguagesResult>; getLanguages(input: GetLanguagesRequest, options?: RpcOptions): UnaryCall<GetLanguagesRequest, GetLanguagesResult>;
} }
@@ -66,42 +66,42 @@ export class TranslationsServiceClient implements ITranslationsServiceClient, Se
constructor(private readonly _transport: RpcTransport) { constructor(private readonly _transport: RpcTransport) {
} }
/** /**
* @generated from protobuf rpc: Get(vizapi.GetTranslationsRequest) returns (vizapi.GetTranslationsResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetTranslationsRequest, options?: RpcOptions): UnaryCall<GetTranslationsRequest, GetTranslationsResult> { get(input: GetTranslationsRequest, options?: RpcOptions): UnaryCall<GetTranslationsRequest, GetTranslationsResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options); const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<GetTranslationsRequest, GetTranslationsResult>("unary", this._transport, method, opt, input); return stackIntercept<GetTranslationsRequest, GetTranslationsResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Put(vizapi.PutTranslationsRequest) returns (vizapi.PutTranslationsResult); * @generated from protobuf rpc: Put
*/ */
put(input: PutTranslationsRequest, options?: RpcOptions): UnaryCall<PutTranslationsRequest, PutTranslationsResult> { put(input: PutTranslationsRequest, options?: RpcOptions): UnaryCall<PutTranslationsRequest, PutTranslationsResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options); const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<PutTranslationsRequest, PutTranslationsResult>("unary", this._transport, method, opt, input); return stackIntercept<PutTranslationsRequest, PutTranslationsResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteTranslationsRequest) returns (vizapi.DeleteTranslationsResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteTranslationsRequest, DeleteTranslationsResult> { delete(input: DeleteTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteTranslationsRequest, DeleteTranslationsResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options); const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteTranslationsRequest, DeleteTranslationsResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteTranslationsRequest, DeleteTranslationsResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: List(vizapi.ListTranslationsRequest) returns (vizapi.ListTranslationsResult); * @generated from protobuf rpc: List
*/ */
list(input: ListTranslationsRequest, options?: RpcOptions): UnaryCall<ListTranslationsRequest, ListTranslationsResult> { list(input: ListTranslationsRequest, options?: RpcOptions): UnaryCall<ListTranslationsRequest, ListTranslationsResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options); const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<ListTranslationsRequest, ListTranslationsResult>("unary", this._transport, method, opt, input); return stackIntercept<ListTranslationsRequest, ListTranslationsResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: DeleteAll(vizapi.DeleteAllTranslationsRequest) returns (vizapi.DeleteAllTranslationsResult); * @generated from protobuf rpc: DeleteAll
*/ */
deleteAll(input: DeleteAllTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteAllTranslationsRequest, DeleteAllTranslationsResult> { deleteAll(input: DeleteAllTranslationsRequest, options?: RpcOptions): UnaryCall<DeleteAllTranslationsRequest, DeleteAllTranslationsResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options); const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteAllTranslationsRequest, DeleteAllTranslationsResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteAllTranslationsRequest, DeleteAllTranslationsResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: GetLanguages(vizapi.GetLanguagesRequest) returns (vizapi.GetLanguagesResult); * @generated from protobuf rpc: GetLanguages
*/ */
getLanguages(input: GetLanguagesRequest, options?: RpcOptions): UnaryCall<GetLanguagesRequest, GetLanguagesResult> { getLanguages(input: GetLanguagesRequest, options?: RpcOptions): UnaryCall<GetLanguagesRequest, GetLanguagesResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options); const method = this.methods[5], opt = this._transport.mergeOptions(options);

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-translations.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-translations.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc"; import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -21,19 +21,19 @@ import { RequestProjectHeader } from "./core/shared";
*/ */
export interface Label { export interface Label {
/** /**
* @generated from protobuf field: string ID = 1 [json_name = "ID"]; * @generated from protobuf field: string ID = 1
*/ */
ID: string; // ID of the label (unique, ProjectID + Context + Label) ID: string; // ID of the label (unique, ProjectID + Context + Label)
/** /**
* @generated from protobuf field: string ProjectID = 2 [json_name = "ProjectID"]; * @generated from protobuf field: string ProjectID = 2
*/ */
ProjectID: string; // ID of the project ProjectID: string; // ID of the project
/** /**
* @generated from protobuf field: string Context = 3 [json_name = "Context"]; * @generated from protobuf field: string Context = 3
*/ */
Context: string; // Context of the label (ex: "Order", "Product", "Customer", "User", "...") Context: string; // Context of the label (ex: "Order", "Product", "Customer", "User", "...")
/** /**
* @generated from protobuf field: string Label = 4 [json_name = "Label"]; * @generated from protobuf field: string Label = 4
*/ */
Label: string; // Label (ex: "Status", "Color", "Size") Label: string; // Label (ex: "Status", "Color", "Size")
} }
@@ -42,7 +42,7 @@ export interface Label {
*/ */
export interface LanguageCode { export interface LanguageCode {
/** /**
* @generated from protobuf field: string Code = 1 [json_name = "Code"]; * @generated from protobuf field: string Code = 1
*/ */
Code: string; // ISO 639-1 code Code: string; // ISO 639-1 code
} }
@@ -51,15 +51,15 @@ export interface LanguageCode {
*/ */
export interface Translation { export interface Translation {
/** /**
* @generated from protobuf field: string LabelID = 1 [json_name = "LabelID"]; * @generated from protobuf field: string LabelID = 1
*/ */
LabelID: string; // ID of the label (unique, ProjectID + Context + Label) LabelID: string; // ID of the label (unique, ProjectID + Context + Label)
/** /**
* @generated from protobuf field: string LanguageCode = 2 [json_name = "LanguageCode"]; * @generated from protobuf field: string LanguageCode = 2
*/ */
LanguageCode: string; // ICU - ISO 639-1 code LanguageCode: string; // ICU - ISO 639-1 code
/** /**
* @generated from protobuf field: string Translation = 3 [json_name = "Translation"]; * @generated from protobuf field: string Translation = 3
*/ */
Translation: string; // Translation of the label in the given language code Translation: string; // Translation of the label in the given language code
} }
@@ -72,15 +72,15 @@ export interface Translation {
*/ */
export interface GetTranslationsRequest { export interface GetTranslationsRequest {
/** /**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestProjectHeader Header = 1
*/ */
Header?: RequestProjectHeader; Header?: RequestProjectHeader;
/** /**
* @generated from protobuf field: string Context = 2 [json_name = "Context"]; * @generated from protobuf field: string Context = 2
*/ */
Context: string; Context: string;
/** /**
* @generated from protobuf field: string Label = 3 [json_name = "Label"]; * @generated from protobuf field: string Label = 3
*/ */
Label: string; Label: string;
} }
@@ -89,7 +89,7 @@ export interface GetTranslationsRequest {
*/ */
export interface GetTranslationsResult { export interface GetTranslationsResult {
/** /**
* @generated from protobuf field: repeated vizapi.Translation Translations = 1 [json_name = "Translations"]; * @generated from protobuf field: repeated vizapi.Translation Translations = 1
*/ */
Translations: Translation[]; Translations: Translation[];
} }
@@ -100,11 +100,11 @@ export interface GetTranslationsResult {
*/ */
export interface PutTranslationMessage { export interface PutTranslationMessage {
/** /**
* @generated from protobuf field: string LanguageCode = 1 [json_name = "LanguageCode"]; * @generated from protobuf field: string LanguageCode = 1
*/ */
LanguageCode: string; LanguageCode: string;
/** /**
* @generated from protobuf field: string Translation = 2 [json_name = "Translation"]; * @generated from protobuf field: string Translation = 2
*/ */
Translation: string; Translation: string;
} }
@@ -113,19 +113,19 @@ export interface PutTranslationMessage {
*/ */
export interface PutTranslationsRequest { export interface PutTranslationsRequest {
/** /**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestProjectHeader Header = 1
*/ */
Header?: RequestProjectHeader; Header?: RequestProjectHeader;
/** /**
* @generated from protobuf field: string Context = 2 [json_name = "Context"]; * @generated from protobuf field: string Context = 2
*/ */
Context: string; Context: string;
/** /**
* @generated from protobuf field: string Label = 3 [json_name = "Label"]; * @generated from protobuf field: string Label = 3
*/ */
Label: string; Label: string;
/** /**
* @generated from protobuf field: repeated vizapi.PutTranslationMessage Translations = 4 [json_name = "Translations"]; * @generated from protobuf field: repeated vizapi.PutTranslationMessage Translations = 4
*/ */
Translations: PutTranslationMessage[]; Translations: PutTranslationMessage[];
} }
@@ -134,7 +134,7 @@ export interface PutTranslationsRequest {
*/ */
export interface PutTranslationsResult { export interface PutTranslationsResult {
/** /**
* @generated from protobuf field: repeated vizapi.Translation Translations = 1 [json_name = "Translations"]; * @generated from protobuf field: repeated vizapi.Translation Translations = 1
*/ */
Translations: Translation[]; Translations: Translation[];
} }
@@ -143,15 +143,15 @@ export interface PutTranslationsResult {
*/ */
export interface DeleteTranslationsRequest { export interface DeleteTranslationsRequest {
/** /**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestProjectHeader Header = 1
*/ */
Header?: RequestProjectHeader; Header?: RequestProjectHeader;
/** /**
* @generated from protobuf field: string Context = 2 [json_name = "Context"]; * @generated from protobuf field: string Context = 2
*/ */
Context: string; Context: string;
/** /**
* @generated from protobuf field: string Label = 3 [json_name = "Label"]; * @generated from protobuf field: string Label = 3
*/ */
Label: string; Label: string;
} }
@@ -165,11 +165,11 @@ export interface DeleteTranslationsResult {
*/ */
export interface ListTranslationsRequest { export interface ListTranslationsRequest {
/** /**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestProjectHeader Header = 1
*/ */
Header?: RequestProjectHeader; Header?: RequestProjectHeader;
/** /**
* @generated from protobuf field: string LanguageCode = 2 [json_name = "LanguageCode"]; * @generated from protobuf field: string LanguageCode = 2
*/ */
LanguageCode: string; LanguageCode: string;
} }
@@ -180,11 +180,11 @@ export interface ListTranslationsRequest {
*/ */
export interface TranslationContextResult { export interface TranslationContextResult {
/** /**
* @generated from protobuf field: string Name = 1 [json_name = "Name"]; * @generated from protobuf field: string Name = 1
*/ */
Name: string; Name: string;
/** /**
* @generated from protobuf field: repeated vizapi.TranslationLabelResult Labels = 2 [json_name = "Labels"]; * @generated from protobuf field: repeated vizapi.TranslationLabelResult Labels = 2
*/ */
Labels: TranslationLabelResult[]; Labels: TranslationLabelResult[];
} }
@@ -193,11 +193,11 @@ export interface TranslationContextResult {
*/ */
export interface TranslationLabelResult { export interface TranslationLabelResult {
/** /**
* @generated from protobuf field: string Name = 1 [json_name = "Name"]; * @generated from protobuf field: string Name = 1
*/ */
Name: string; Name: string;
/** /**
* @generated from protobuf field: string Translation = 2 [json_name = "Translation"]; * @generated from protobuf field: string Translation = 2
*/ */
Translation: string; Translation: string;
} }
@@ -206,7 +206,7 @@ export interface TranslationLabelResult {
*/ */
export interface ListTranslationsResult { export interface ListTranslationsResult {
/** /**
* @generated from protobuf field: repeated vizapi.TranslationContextResult Contexts = 1 [json_name = "Contexts"]; * @generated from protobuf field: repeated vizapi.TranslationContextResult Contexts = 1
*/ */
Contexts: TranslationContextResult[]; Contexts: TranslationContextResult[];
} }
@@ -215,7 +215,7 @@ export interface ListTranslationsResult {
*/ */
export interface DeleteAllTranslationsRequest { export interface DeleteAllTranslationsRequest {
/** /**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"]; * @generated from protobuf field: api.RequestProjectHeader Header = 1
*/ */
Header?: RequestProjectHeader; Header?: RequestProjectHeader;
} }
@@ -234,7 +234,7 @@ export interface GetLanguagesRequest {
*/ */
export interface GetLanguagesResult { export interface GetLanguagesResult {
/** /**
* @generated from protobuf field: repeated vizapi.LanguageCode Languages = 1 [json_name = "Languages"]; * @generated from protobuf field: repeated vizapi.LanguageCode Languages = 1
*/ */
Languages: LanguageCode[]; Languages: LanguageCode[];
} }
@@ -263,16 +263,16 @@ class Label$Type extends MessageType<Label> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string ID = 1 [json_name = "ID"];*/ 1: case /* string ID */ 1:
message.ID = reader.string(); message.ID = reader.string();
break; break;
case /* string ProjectID = 2 [json_name = "ProjectID"];*/ 2: case /* string ProjectID */ 2:
message.ProjectID = reader.string(); message.ProjectID = reader.string();
break; break;
case /* string Context = 3 [json_name = "Context"];*/ 3: case /* string Context */ 3:
message.Context = reader.string(); message.Context = reader.string();
break; break;
case /* string Label = 4 [json_name = "Label"];*/ 4: case /* string Label */ 4:
message.Label = reader.string(); message.Label = reader.string();
break; break;
default: default:
@@ -287,16 +287,16 @@ class Label$Type extends MessageType<Label> {
return message; return message;
} }
internalBinaryWrite(message: Label, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: Label, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ID = 1 [json_name = "ID"]; */ /* string ID = 1; */
if (message.ID !== "") if (message.ID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ID); writer.tag(1, WireType.LengthDelimited).string(message.ID);
/* string ProjectID = 2 [json_name = "ProjectID"]; */ /* string ProjectID = 2; */
if (message.ProjectID !== "") if (message.ProjectID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.ProjectID); writer.tag(2, WireType.LengthDelimited).string(message.ProjectID);
/* string Context = 3 [json_name = "Context"]; */ /* string Context = 3; */
if (message.Context !== "") if (message.Context !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Context); writer.tag(3, WireType.LengthDelimited).string(message.Context);
/* string Label = 4 [json_name = "Label"]; */ /* string Label = 4; */
if (message.Label !== "") if (message.Label !== "")
writer.tag(4, WireType.LengthDelimited).string(message.Label); writer.tag(4, WireType.LengthDelimited).string(message.Label);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -328,7 +328,7 @@ class LanguageCode$Type extends MessageType<LanguageCode> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Code = 1 [json_name = "Code"];*/ 1: case /* string Code */ 1:
message.Code = reader.string(); message.Code = reader.string();
break; break;
default: default:
@@ -343,7 +343,7 @@ class LanguageCode$Type extends MessageType<LanguageCode> {
return message; return message;
} }
internalBinaryWrite(message: LanguageCode, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: LanguageCode, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Code = 1 [json_name = "Code"]; */ /* string Code = 1; */
if (message.Code !== "") if (message.Code !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Code); writer.tag(1, WireType.LengthDelimited).string(message.Code);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -379,13 +379,13 @@ class Translation$Type extends MessageType<Translation> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string LabelID = 1 [json_name = "LabelID"];*/ 1: case /* string LabelID */ 1:
message.LabelID = reader.string(); message.LabelID = reader.string();
break; break;
case /* string LanguageCode = 2 [json_name = "LanguageCode"];*/ 2: case /* string LanguageCode */ 2:
message.LanguageCode = reader.string(); message.LanguageCode = reader.string();
break; break;
case /* string Translation = 3 [json_name = "Translation"];*/ 3: case /* string Translation */ 3:
message.Translation = reader.string(); message.Translation = reader.string();
break; break;
default: default:
@@ -400,13 +400,13 @@ class Translation$Type extends MessageType<Translation> {
return message; return message;
} }
internalBinaryWrite(message: Translation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: Translation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string LabelID = 1 [json_name = "LabelID"]; */ /* string LabelID = 1; */
if (message.LabelID !== "") if (message.LabelID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.LabelID); writer.tag(1, WireType.LengthDelimited).string(message.LabelID);
/* string LanguageCode = 2 [json_name = "LanguageCode"]; */ /* string LanguageCode = 2; */
if (message.LanguageCode !== "") if (message.LanguageCode !== "")
writer.tag(2, WireType.LengthDelimited).string(message.LanguageCode); writer.tag(2, WireType.LengthDelimited).string(message.LanguageCode);
/* string Translation = 3 [json_name = "Translation"]; */ /* string Translation = 3; */
if (message.Translation !== "") if (message.Translation !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Translation); writer.tag(3, WireType.LengthDelimited).string(message.Translation);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -441,13 +441,13 @@ class GetTranslationsRequest$Type extends MessageType<GetTranslationsRequest> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
case /* string Context = 2 [json_name = "Context"];*/ 2: case /* string Context */ 2:
message.Context = reader.string(); message.Context = reader.string();
break; break;
case /* string Label = 3 [json_name = "Label"];*/ 3: case /* string Label */ 3:
message.Label = reader.string(); message.Label = reader.string();
break; break;
default: default:
@@ -462,13 +462,13 @@ class GetTranslationsRequest$Type extends MessageType<GetTranslationsRequest> {
return message; return message;
} }
internalBinaryWrite(message: GetTranslationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: GetTranslationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ /* api.RequestProjectHeader Header = 1; */
if (message.Header) if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Context = 2 [json_name = "Context"]; */ /* string Context = 2; */
if (message.Context !== "") if (message.Context !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Context); writer.tag(2, WireType.LengthDelimited).string(message.Context);
/* string Label = 3 [json_name = "Label"]; */ /* string Label = 3; */
if (message.Label !== "") if (message.Label !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Label); writer.tag(3, WireType.LengthDelimited).string(message.Label);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -500,7 +500,7 @@ class GetTranslationsResult$Type extends MessageType<GetTranslationsResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* repeated vizapi.Translation Translations = 1 [json_name = "Translations"];*/ 1: case /* repeated vizapi.Translation Translations */ 1:
message.Translations.push(Translation.internalBinaryRead(reader, reader.uint32(), options)); message.Translations.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -515,7 +515,7 @@ class GetTranslationsResult$Type extends MessageType<GetTranslationsResult> {
return message; return message;
} }
internalBinaryWrite(message: GetTranslationsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: GetTranslationsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated vizapi.Translation Translations = 1 [json_name = "Translations"]; */ /* repeated vizapi.Translation Translations = 1; */
for (let i = 0; i < message.Translations.length; i++) for (let i = 0; i < message.Translations.length; i++)
Translation.internalBinaryWrite(message.Translations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); Translation.internalBinaryWrite(message.Translations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -549,10 +549,10 @@ class PutTranslationMessage$Type extends MessageType<PutTranslationMessage> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string LanguageCode = 1 [json_name = "LanguageCode"];*/ 1: case /* string LanguageCode */ 1:
message.LanguageCode = reader.string(); message.LanguageCode = reader.string();
break; break;
case /* string Translation = 2 [json_name = "Translation"];*/ 2: case /* string Translation */ 2:
message.Translation = reader.string(); message.Translation = reader.string();
break; break;
default: default:
@@ -567,10 +567,10 @@ class PutTranslationMessage$Type extends MessageType<PutTranslationMessage> {
return message; return message;
} }
internalBinaryWrite(message: PutTranslationMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: PutTranslationMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string LanguageCode = 1 [json_name = "LanguageCode"]; */ /* string LanguageCode = 1; */
if (message.LanguageCode !== "") if (message.LanguageCode !== "")
writer.tag(1, WireType.LengthDelimited).string(message.LanguageCode); writer.tag(1, WireType.LengthDelimited).string(message.LanguageCode);
/* string Translation = 2 [json_name = "Translation"]; */ /* string Translation = 2; */
if (message.Translation !== "") if (message.Translation !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Translation); writer.tag(2, WireType.LengthDelimited).string(message.Translation);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -607,16 +607,16 @@ class PutTranslationsRequest$Type extends MessageType<PutTranslationsRequest> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
case /* string Context = 2 [json_name = "Context"];*/ 2: case /* string Context */ 2:
message.Context = reader.string(); message.Context = reader.string();
break; break;
case /* string Label = 3 [json_name = "Label"];*/ 3: case /* string Label */ 3:
message.Label = reader.string(); message.Label = reader.string();
break; break;
case /* repeated vizapi.PutTranslationMessage Translations = 4 [json_name = "Translations"];*/ 4: case /* repeated vizapi.PutTranslationMessage Translations */ 4:
message.Translations.push(PutTranslationMessage.internalBinaryRead(reader, reader.uint32(), options)); message.Translations.push(PutTranslationMessage.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -631,16 +631,16 @@ class PutTranslationsRequest$Type extends MessageType<PutTranslationsRequest> {
return message; return message;
} }
internalBinaryWrite(message: PutTranslationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: PutTranslationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ /* api.RequestProjectHeader Header = 1; */
if (message.Header) if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Context = 2 [json_name = "Context"]; */ /* string Context = 2; */
if (message.Context !== "") if (message.Context !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Context); writer.tag(2, WireType.LengthDelimited).string(message.Context);
/* string Label = 3 [json_name = "Label"]; */ /* string Label = 3; */
if (message.Label !== "") if (message.Label !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Label); writer.tag(3, WireType.LengthDelimited).string(message.Label);
/* repeated vizapi.PutTranslationMessage Translations = 4 [json_name = "Translations"]; */ /* repeated vizapi.PutTranslationMessage Translations = 4; */
for (let i = 0; i < message.Translations.length; i++) for (let i = 0; i < message.Translations.length; i++)
PutTranslationMessage.internalBinaryWrite(message.Translations[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join(); PutTranslationMessage.internalBinaryWrite(message.Translations[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -672,7 +672,7 @@ class PutTranslationsResult$Type extends MessageType<PutTranslationsResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* repeated vizapi.Translation Translations = 1 [json_name = "Translations"];*/ 1: case /* repeated vizapi.Translation Translations */ 1:
message.Translations.push(Translation.internalBinaryRead(reader, reader.uint32(), options)); message.Translations.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -687,7 +687,7 @@ class PutTranslationsResult$Type extends MessageType<PutTranslationsResult> {
return message; return message;
} }
internalBinaryWrite(message: PutTranslationsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: PutTranslationsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated vizapi.Translation Translations = 1 [json_name = "Translations"]; */ /* repeated vizapi.Translation Translations = 1; */
for (let i = 0; i < message.Translations.length; i++) for (let i = 0; i < message.Translations.length; i++)
Translation.internalBinaryWrite(message.Translations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); Translation.internalBinaryWrite(message.Translations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -722,13 +722,13 @@ class DeleteTranslationsRequest$Type extends MessageType<DeleteTranslationsReque
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
case /* string Context = 2 [json_name = "Context"];*/ 2: case /* string Context */ 2:
message.Context = reader.string(); message.Context = reader.string();
break; break;
case /* string Label = 3 [json_name = "Label"];*/ 3: case /* string Label */ 3:
message.Label = reader.string(); message.Label = reader.string();
break; break;
default: default:
@@ -743,13 +743,13 @@ class DeleteTranslationsRequest$Type extends MessageType<DeleteTranslationsReque
return message; return message;
} }
internalBinaryWrite(message: DeleteTranslationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: DeleteTranslationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ /* api.RequestProjectHeader Header = 1; */
if (message.Header) if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Context = 2 [json_name = "Context"]; */ /* string Context = 2; */
if (message.Context !== "") if (message.Context !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Context); writer.tag(2, WireType.LengthDelimited).string(message.Context);
/* string Label = 3 [json_name = "Label"]; */ /* string Label = 3; */
if (message.Label !== "") if (message.Label !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Label); writer.tag(3, WireType.LengthDelimited).string(message.Label);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -820,10 +820,10 @@ class ListTranslationsRequest$Type extends MessageType<ListTranslationsRequest>
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
case /* string LanguageCode = 2 [json_name = "LanguageCode"];*/ 2: case /* string LanguageCode */ 2:
message.LanguageCode = reader.string(); message.LanguageCode = reader.string();
break; break;
default: default:
@@ -838,10 +838,10 @@ class ListTranslationsRequest$Type extends MessageType<ListTranslationsRequest>
return message; return message;
} }
internalBinaryWrite(message: ListTranslationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListTranslationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ /* api.RequestProjectHeader Header = 1; */
if (message.Header) if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string LanguageCode = 2 [json_name = "LanguageCode"]; */ /* string LanguageCode = 2; */
if (message.LanguageCode !== "") if (message.LanguageCode !== "")
writer.tag(2, WireType.LengthDelimited).string(message.LanguageCode); writer.tag(2, WireType.LengthDelimited).string(message.LanguageCode);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -875,10 +875,10 @@ class TranslationContextResult$Type extends MessageType<TranslationContextResult
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Name = 1 [json_name = "Name"];*/ 1: case /* string Name */ 1:
message.Name = reader.string(); message.Name = reader.string();
break; break;
case /* repeated vizapi.TranslationLabelResult Labels = 2 [json_name = "Labels"];*/ 2: case /* repeated vizapi.TranslationLabelResult Labels */ 2:
message.Labels.push(TranslationLabelResult.internalBinaryRead(reader, reader.uint32(), options)); message.Labels.push(TranslationLabelResult.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -893,10 +893,10 @@ class TranslationContextResult$Type extends MessageType<TranslationContextResult
return message; return message;
} }
internalBinaryWrite(message: TranslationContextResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: TranslationContextResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Name = 1 [json_name = "Name"]; */ /* string Name = 1; */
if (message.Name !== "") if (message.Name !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Name); writer.tag(1, WireType.LengthDelimited).string(message.Name);
/* repeated vizapi.TranslationLabelResult Labels = 2 [json_name = "Labels"]; */ /* repeated vizapi.TranslationLabelResult Labels = 2; */
for (let i = 0; i < message.Labels.length; i++) for (let i = 0; i < message.Labels.length; i++)
TranslationLabelResult.internalBinaryWrite(message.Labels[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join(); TranslationLabelResult.internalBinaryWrite(message.Labels[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -930,10 +930,10 @@ class TranslationLabelResult$Type extends MessageType<TranslationLabelResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Name = 1 [json_name = "Name"];*/ 1: case /* string Name */ 1:
message.Name = reader.string(); message.Name = reader.string();
break; break;
case /* string Translation = 2 [json_name = "Translation"];*/ 2: case /* string Translation */ 2:
message.Translation = reader.string(); message.Translation = reader.string();
break; break;
default: default:
@@ -948,10 +948,10 @@ class TranslationLabelResult$Type extends MessageType<TranslationLabelResult> {
return message; return message;
} }
internalBinaryWrite(message: TranslationLabelResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: TranslationLabelResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Name = 1 [json_name = "Name"]; */ /* string Name = 1; */
if (message.Name !== "") if (message.Name !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Name); writer.tag(1, WireType.LengthDelimited).string(message.Name);
/* string Translation = 2 [json_name = "Translation"]; */ /* string Translation = 2; */
if (message.Translation !== "") if (message.Translation !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Translation); writer.tag(2, WireType.LengthDelimited).string(message.Translation);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -983,7 +983,7 @@ class ListTranslationsResult$Type extends MessageType<ListTranslationsResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* repeated vizapi.TranslationContextResult Contexts = 1 [json_name = "Contexts"];*/ 1: case /* repeated vizapi.TranslationContextResult Contexts */ 1:
message.Contexts.push(TranslationContextResult.internalBinaryRead(reader, reader.uint32(), options)); message.Contexts.push(TranslationContextResult.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -998,7 +998,7 @@ class ListTranslationsResult$Type extends MessageType<ListTranslationsResult> {
return message; return message;
} }
internalBinaryWrite(message: ListTranslationsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListTranslationsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated vizapi.TranslationContextResult Contexts = 1 [json_name = "Contexts"]; */ /* repeated vizapi.TranslationContextResult Contexts = 1; */
for (let i = 0; i < message.Contexts.length; i++) for (let i = 0; i < message.Contexts.length; i++)
TranslationContextResult.internalBinaryWrite(message.Contexts[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); TranslationContextResult.internalBinaryWrite(message.Contexts[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -1029,7 +1029,7 @@ class DeleteAllTranslationsRequest$Type extends MessageType<DeleteAllTranslation
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1: case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break; break;
default: default:
@@ -1044,7 +1044,7 @@ class DeleteAllTranslationsRequest$Type extends MessageType<DeleteAllTranslation
return message; return message;
} }
internalBinaryWrite(message: DeleteAllTranslationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: DeleteAllTranslationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */ /* api.RequestProjectHeader Header = 1; */
if (message.Header) if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -1152,7 +1152,7 @@ class GetLanguagesResult$Type extends MessageType<GetLanguagesResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* repeated vizapi.LanguageCode Languages = 1 [json_name = "Languages"];*/ 1: case /* repeated vizapi.LanguageCode Languages */ 1:
message.Languages.push(LanguageCode.internalBinaryRead(reader, reader.uint32(), options)); message.Languages.push(LanguageCode.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -1167,7 +1167,7 @@ class GetLanguagesResult$Type extends MessageType<GetLanguagesResult> {
return message; return message;
} }
internalBinaryWrite(message: GetLanguagesResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: GetLanguagesResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated vizapi.LanguageCode Languages = 1 [json_name = "Languages"]; */ /* repeated vizapi.LanguageCode Languages = 1; */
for (let i = 0; i < message.Languages.length; i++) for (let i = 0; i < message.Languages.length; i++)
LanguageCode.internalBinaryWrite(message.Languages[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); LanguageCode.internalBinaryWrite(message.Languages[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-user-settings.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-user-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
@@ -20,19 +20,19 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/ */
export interface IUserSettingsServiceClient { export interface IUserSettingsServiceClient {
/** /**
* @generated from protobuf rpc: Get(vizapi.GetUserSettingRequest) returns (vizapi.GetUserSettingResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetUserSettingRequest, options?: RpcOptions): UnaryCall<GetUserSettingRequest, GetUserSettingResult>; get(input: GetUserSettingRequest, options?: RpcOptions): UnaryCall<GetUserSettingRequest, GetUserSettingResult>;
/** /**
* @generated from protobuf rpc: Put(vizapi.PutUserSettingRequest) returns (vizapi.PutUserSettingResult); * @generated from protobuf rpc: Put
*/ */
put(input: PutUserSettingRequest, options?: RpcOptions): UnaryCall<PutUserSettingRequest, PutUserSettingResult>; put(input: PutUserSettingRequest, options?: RpcOptions): UnaryCall<PutUserSettingRequest, PutUserSettingResult>;
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteUserSettingRequest) returns (vizapi.DeleteUserSettingResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteUserSettingRequest, options?: RpcOptions): UnaryCall<DeleteUserSettingRequest, DeleteUserSettingResult>; delete(input: DeleteUserSettingRequest, options?: RpcOptions): UnaryCall<DeleteUserSettingRequest, DeleteUserSettingResult>;
/** /**
* @generated from protobuf rpc: List(vizapi.ListUserSettingsRequest) returns (vizapi.ListUserSettingsResult); * @generated from protobuf rpc: List
*/ */
list(input: ListUserSettingsRequest, options?: RpcOptions): UnaryCall<ListUserSettingsRequest, ListUserSettingsResult>; list(input: ListUserSettingsRequest, options?: RpcOptions): UnaryCall<ListUserSettingsRequest, ListUserSettingsResult>;
} }
@@ -46,28 +46,28 @@ export class UserSettingsServiceClient implements IUserSettingsServiceClient, Se
constructor(private readonly _transport: RpcTransport) { constructor(private readonly _transport: RpcTransport) {
} }
/** /**
* @generated from protobuf rpc: Get(vizapi.GetUserSettingRequest) returns (vizapi.GetUserSettingResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetUserSettingRequest, options?: RpcOptions): UnaryCall<GetUserSettingRequest, GetUserSettingResult> { get(input: GetUserSettingRequest, options?: RpcOptions): UnaryCall<GetUserSettingRequest, GetUserSettingResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options); const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<GetUserSettingRequest, GetUserSettingResult>("unary", this._transport, method, opt, input); return stackIntercept<GetUserSettingRequest, GetUserSettingResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Put(vizapi.PutUserSettingRequest) returns (vizapi.PutUserSettingResult); * @generated from protobuf rpc: Put
*/ */
put(input: PutUserSettingRequest, options?: RpcOptions): UnaryCall<PutUserSettingRequest, PutUserSettingResult> { put(input: PutUserSettingRequest, options?: RpcOptions): UnaryCall<PutUserSettingRequest, PutUserSettingResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options); const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<PutUserSettingRequest, PutUserSettingResult>("unary", this._transport, method, opt, input); return stackIntercept<PutUserSettingRequest, PutUserSettingResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteUserSettingRequest) returns (vizapi.DeleteUserSettingResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteUserSettingRequest, options?: RpcOptions): UnaryCall<DeleteUserSettingRequest, DeleteUserSettingResult> { delete(input: DeleteUserSettingRequest, options?: RpcOptions): UnaryCall<DeleteUserSettingRequest, DeleteUserSettingResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options); const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteUserSettingRequest, DeleteUserSettingResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteUserSettingRequest, DeleteUserSettingResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: List(vizapi.ListUserSettingsRequest) returns (vizapi.ListUserSettingsResult); * @generated from protobuf rpc: List
*/ */
list(input: ListUserSettingsRequest, options?: RpcOptions): UnaryCall<ListUserSettingsRequest, ListUserSettingsResult> { list(input: ListUserSettingsRequest, options?: RpcOptions): UnaryCall<ListUserSettingsRequest, ListUserSettingsResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options); const method = this.methods[3], opt = this._transport.mergeOptions(options);

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-user-settings.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-user-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc"; import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -16,15 +16,15 @@ import { MessageType } from "@protobuf-ts/runtime";
*/ */
export interface UserSetting { export interface UserSetting {
/** /**
* @generated from protobuf field: string UserID = 1 [json_name = "UserID"]; * @generated from protobuf field: string UserID = 1
*/ */
UserID: string; UserID: string;
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 3 [json_name = "Value"]; * @generated from protobuf field: string Value = 3
*/ */
Value: string; Value: string;
} }
@@ -37,11 +37,11 @@ export interface PutUserSettingRequest {
/** /**
* Key: each key must be unique * Key: each key must be unique
* *
* @generated from protobuf field: string Key = 1 [json_name = "Key"]; * @generated from protobuf field: string Key = 1
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 2 [json_name = "Value"]; * @generated from protobuf field: string Value = 2
*/ */
Value: string; Value: string;
} }
@@ -52,11 +52,11 @@ export interface PutUserSettingRequest {
*/ */
export interface PutUserSettingResult { export interface PutUserSettingResult {
/** /**
* @generated from protobuf field: string Key = 1 [json_name = "Key"]; * @generated from protobuf field: string Key = 1
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 2 [json_name = "Value"]; * @generated from protobuf field: string Value = 2
*/ */
Value: string; Value: string;
} }
@@ -67,7 +67,7 @@ export interface PutUserSettingResult {
*/ */
export interface GetUserSettingRequest { export interface GetUserSettingRequest {
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
} }
@@ -78,11 +78,11 @@ export interface GetUserSettingRequest {
*/ */
export interface GetUserSettingResult { export interface GetUserSettingResult {
/** /**
* @generated from protobuf field: string Key = 1 [json_name = "Key"]; * @generated from protobuf field: string Key = 1
*/ */
Key: string; Key: string;
/** /**
* @generated from protobuf field: string Value = 2 [json_name = "Value"]; * @generated from protobuf field: string Value = 2
*/ */
Value: string; Value: string;
} }
@@ -93,7 +93,7 @@ export interface GetUserSettingResult {
*/ */
export interface DeleteUserSettingRequest { export interface DeleteUserSettingRequest {
/** /**
* @generated from protobuf field: string Key = 2 [json_name = "Key"]; * @generated from protobuf field: string Key = 2
*/ */
Key: string; Key: string;
} }
@@ -114,7 +114,7 @@ export interface ListUserSettingsRequest {
*/ */
export interface ListUserSettingsResult { export interface ListUserSettingsResult {
/** /**
* @generated from protobuf field: repeated vizapi.GetUserSettingResult UserSettings = 1 [json_name = "UserSettings"]; * @generated from protobuf field: repeated vizapi.GetUserSettingResult UserSettings = 1
*/ */
UserSettings: GetUserSettingResult[]; UserSettings: GetUserSettingResult[];
} }
@@ -141,13 +141,13 @@ class UserSetting$Type extends MessageType<UserSetting> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string UserID = 1 [json_name = "UserID"];*/ 1: case /* string UserID */ 1:
message.UserID = reader.string(); message.UserID = reader.string();
break; break;
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 3 [json_name = "Value"];*/ 3: case /* string Value */ 3:
message.Value = reader.string(); message.Value = reader.string();
break; break;
default: default:
@@ -162,13 +162,13 @@ class UserSetting$Type extends MessageType<UserSetting> {
return message; return message;
} }
internalBinaryWrite(message: UserSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: UserSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string UserID = 1 [json_name = "UserID"]; */ /* string UserID = 1; */
if (message.UserID !== "") if (message.UserID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.UserID); writer.tag(1, WireType.LengthDelimited).string(message.UserID);
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
/* string Value = 3 [json_name = "Value"]; */ /* string Value = 3; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Value); writer.tag(3, WireType.LengthDelimited).string(message.Value);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -202,10 +202,10 @@ class PutUserSettingRequest$Type extends MessageType<PutUserSettingRequest> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Key = 1 [json_name = "Key"];*/ 1: case /* string Key */ 1:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 2 [json_name = "Value"];*/ 2: case /* string Value */ 2:
message.Value = reader.string(); message.Value = reader.string();
break; break;
default: default:
@@ -220,10 +220,10 @@ class PutUserSettingRequest$Type extends MessageType<PutUserSettingRequest> {
return message; return message;
} }
internalBinaryWrite(message: PutUserSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: PutUserSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Key = 1 [json_name = "Key"]; */ /* string Key = 1; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Key); writer.tag(1, WireType.LengthDelimited).string(message.Key);
/* string Value = 2 [json_name = "Value"]; */ /* string Value = 2; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Value); writer.tag(2, WireType.LengthDelimited).string(message.Value);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -257,10 +257,10 @@ class PutUserSettingResult$Type extends MessageType<PutUserSettingResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Key = 1 [json_name = "Key"];*/ 1: case /* string Key */ 1:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 2 [json_name = "Value"];*/ 2: case /* string Value */ 2:
message.Value = reader.string(); message.Value = reader.string();
break; break;
default: default:
@@ -275,10 +275,10 @@ class PutUserSettingResult$Type extends MessageType<PutUserSettingResult> {
return message; return message;
} }
internalBinaryWrite(message: PutUserSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: PutUserSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Key = 1 [json_name = "Key"]; */ /* string Key = 1; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Key); writer.tag(1, WireType.LengthDelimited).string(message.Key);
/* string Value = 2 [json_name = "Value"]; */ /* string Value = 2; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Value); writer.tag(2, WireType.LengthDelimited).string(message.Value);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -310,7 +310,7 @@ class GetUserSettingRequest$Type extends MessageType<GetUserSettingRequest> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
default: default:
@@ -325,7 +325,7 @@ class GetUserSettingRequest$Type extends MessageType<GetUserSettingRequest> {
return message; return message;
} }
internalBinaryWrite(message: GetUserSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: GetUserSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -359,10 +359,10 @@ class GetUserSettingResult$Type extends MessageType<GetUserSettingResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Key = 1 [json_name = "Key"];*/ 1: case /* string Key */ 1:
message.Key = reader.string(); message.Key = reader.string();
break; break;
case /* string Value = 2 [json_name = "Value"];*/ 2: case /* string Value */ 2:
message.Value = reader.string(); message.Value = reader.string();
break; break;
default: default:
@@ -377,10 +377,10 @@ class GetUserSettingResult$Type extends MessageType<GetUserSettingResult> {
return message; return message;
} }
internalBinaryWrite(message: GetUserSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: GetUserSettingResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Key = 1 [json_name = "Key"]; */ /* string Key = 1; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Key); writer.tag(1, WireType.LengthDelimited).string(message.Key);
/* string Value = 2 [json_name = "Value"]; */ /* string Value = 2; */
if (message.Value !== "") if (message.Value !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Value); writer.tag(2, WireType.LengthDelimited).string(message.Value);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -412,7 +412,7 @@ class DeleteUserSettingRequest$Type extends MessageType<DeleteUserSettingRequest
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* string Key = 2 [json_name = "Key"];*/ 2: case /* string Key */ 2:
message.Key = reader.string(); message.Key = reader.string();
break; break;
default: default:
@@ -427,7 +427,7 @@ class DeleteUserSettingRequest$Type extends MessageType<DeleteUserSettingRequest
return message; return message;
} }
internalBinaryWrite(message: DeleteUserSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: DeleteUserSettingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Key = 2 [json_name = "Key"]; */ /* string Key = 2; */
if (message.Key !== "") if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key); writer.tag(2, WireType.LengthDelimited).string(message.Key);
let u = options.writeUnknownFields; let u = options.writeUnknownFields;
@@ -535,7 +535,7 @@ class ListUserSettingsResult$Type extends MessageType<ListUserSettingsResult> {
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
switch (fieldNo) { switch (fieldNo) {
case /* repeated vizapi.GetUserSettingResult UserSettings = 1 [json_name = "UserSettings"];*/ 1: case /* repeated vizapi.GetUserSettingResult UserSettings */ 1:
message.UserSettings.push(GetUserSettingResult.internalBinaryRead(reader, reader.uint32(), options)); message.UserSettings.push(GetUserSettingResult.internalBinaryRead(reader, reader.uint32(), options));
break; break;
default: default:
@@ -550,7 +550,7 @@ class ListUserSettingsResult$Type extends MessageType<ListUserSettingsResult> {
return message; return message;
} }
internalBinaryWrite(message: ListUserSettingsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ListUserSettingsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated vizapi.GetUserSettingResult UserSettings = 1 [json_name = "UserSettings"]; */ /* repeated vizapi.GetUserSettingResult UserSettings = 1; */
for (let i = 0; i < message.UserSettings.length; i++) for (let i = 0; i < message.UserSettings.length; i++)
GetUserSettingResult.internalBinaryWrite(message.UserSettings[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); GetUserSettingResult.internalBinaryWrite(message.UserSettings[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields; let u = options.writeUnknownFields;

View File

@@ -1,9 +1,35 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "viz-view.proto" (package "vizapi", syntax proto3) // @generated from protobuf file "viz-view.proto" (package "vizapi", syntax proto3)
// tslint:disable // tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { ViewService } from "./viz-view"; import { ViewService } from "./viz-view";
import type { DeleteViewsForSiteResult } from "./viz-view";
import type { DeleteViewsForSiteRequest } from "./viz-view";
import type { ExtractSiteResult } from "./viz-view";
import type { ExtractSiteRequest } from "./viz-view";
import type { ListSiteViewResult } from "./viz-view";
import type { ListSiteViewRequest } from "./viz-view";
import type { DeleteSiteViewResult } from "./viz-view";
import type { DeleteSiteViewRequest } from "./viz-view";
import type { UpdateSiteViewResult } from "./viz-view";
import type { UpdateSiteViewRequest } from "./viz-view";
import type { CreateSiteViewResult } from "./viz-view";
import type { CreateSiteViewRequest } from "./viz-view";
import type { GetSiteViewResult } from "./viz-view";
import type { GetSiteViewRequest } from "./viz-view";
import type { ExtractProjectResult } from "./viz-view";
import type { ExtractProjectRequest } from "./viz-view";
import type { ListProjectViewResult } from "./viz-view";
import type { ListProjectViewRequest } from "./viz-view";
import type { DeleteProjectViewResult } from "./viz-view";
import type { DeleteProjectViewRequest } from "./viz-view";
import type { UpdateProjectViewResult } from "./viz-view";
import type { UpdateProjectViewRequest } from "./viz-view";
import type { CreateProjectViewResult } from "./viz-view";
import type { CreateProjectViewRequest } from "./viz-view";
import type { GetProjectViewResult } from "./viz-view";
import type { GetProjectViewRequest } from "./viz-view";
import type { ExtractResult } from "./viz-view"; import type { ExtractResult } from "./viz-view";
import type { ExtractRequest } from "./viz-view"; import type { ExtractRequest } from "./viz-view";
import type { DeleteViewsForProjectResult } from "./viz-view"; import type { DeleteViewsForProjectResult } from "./viz-view";
@@ -26,33 +52,85 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
*/ */
export interface IViewServiceClient { export interface IViewServiceClient {
/** /**
* @generated from protobuf rpc: Get(vizapi.GetViewRequest) returns (vizapi.GetViewResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetViewRequest, options?: RpcOptions): UnaryCall<GetViewRequest, GetViewResult>; get(input: GetViewRequest, options?: RpcOptions): UnaryCall<GetViewRequest, GetViewResult>;
/** /**
* @generated from protobuf rpc: Create(vizapi.CreateViewRequest) returns (vizapi.CreateViewResult); * @generated from protobuf rpc: Create
*/ */
create(input: CreateViewRequest, options?: RpcOptions): UnaryCall<CreateViewRequest, CreateViewResult>; create(input: CreateViewRequest, options?: RpcOptions): UnaryCall<CreateViewRequest, CreateViewResult>;
/** /**
* @generated from protobuf rpc: Update(vizapi.UpdateViewRequest) returns (vizapi.UpdateViewResult); * @generated from protobuf rpc: Update
*/ */
update(input: UpdateViewRequest, options?: RpcOptions): UnaryCall<UpdateViewRequest, UpdateViewResult>; update(input: UpdateViewRequest, options?: RpcOptions): UnaryCall<UpdateViewRequest, UpdateViewResult>;
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteViewRequest) returns (vizapi.DeleteViewResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteViewRequest, options?: RpcOptions): UnaryCall<DeleteViewRequest, DeleteViewResult>; delete(input: DeleteViewRequest, options?: RpcOptions): UnaryCall<DeleteViewRequest, DeleteViewResult>;
/** /**
* @generated from protobuf rpc: List(vizapi.ListViewRequest) returns (vizapi.ListViewResult); * @generated from protobuf rpc: List
*/ */
list(input: ListViewRequest, options?: RpcOptions): UnaryCall<ListViewRequest, ListViewResult>; list(input: ListViewRequest, options?: RpcOptions): UnaryCall<ListViewRequest, ListViewResult>;
/** /**
* @generated from protobuf rpc: DeleteViewsForProject(vizapi.DeleteViewsForProjectRequest) returns (vizapi.DeleteViewsForProjectResult); * @generated from protobuf rpc: DeleteViewsForProject
*/ */
deleteViewsForProject(input: DeleteViewsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteViewsForProjectRequest, DeleteViewsForProjectResult>; deleteViewsForProject(input: DeleteViewsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteViewsForProjectRequest, DeleteViewsForProjectResult>;
/** /**
* @generated from protobuf rpc: Extract(vizapi.ExtractRequest) returns (vizapi.ExtractResult); * @generated from protobuf rpc: Extract
*/ */
extract(input: ExtractRequest, options?: RpcOptions): UnaryCall<ExtractRequest, ExtractResult>; extract(input: ExtractRequest, options?: RpcOptions): UnaryCall<ExtractRequest, ExtractResult>;
/**
* @generated from protobuf rpc: GetProject
*/
getProject(input: GetProjectViewRequest, options?: RpcOptions): UnaryCall<GetProjectViewRequest, GetProjectViewResult>;
/**
* @generated from protobuf rpc: CreateProject
*/
createProject(input: CreateProjectViewRequest, options?: RpcOptions): UnaryCall<CreateProjectViewRequest, CreateProjectViewResult>;
/**
* @generated from protobuf rpc: UpdateProject
*/
updateProject(input: UpdateProjectViewRequest, options?: RpcOptions): UnaryCall<UpdateProjectViewRequest, UpdateProjectViewResult>;
/**
* @generated from protobuf rpc: DeleteProject
*/
deleteProject(input: DeleteProjectViewRequest, options?: RpcOptions): UnaryCall<DeleteProjectViewRequest, DeleteProjectViewResult>;
/**
* @generated from protobuf rpc: ListProject
*/
listProject(input: ListProjectViewRequest, options?: RpcOptions): UnaryCall<ListProjectViewRequest, ListProjectViewResult>;
/**
* @generated from protobuf rpc: ExtractProject
*/
extractProject(input: ExtractProjectRequest, options?: RpcOptions): UnaryCall<ExtractProjectRequest, ExtractProjectResult>;
/**
* @generated from protobuf rpc: GetSite
*/
getSite(input: GetSiteViewRequest, options?: RpcOptions): UnaryCall<GetSiteViewRequest, GetSiteViewResult>;
/**
* @generated from protobuf rpc: CreateSite
*/
createSite(input: CreateSiteViewRequest, options?: RpcOptions): UnaryCall<CreateSiteViewRequest, CreateSiteViewResult>;
/**
* @generated from protobuf rpc: UpdateSite
*/
updateSite(input: UpdateSiteViewRequest, options?: RpcOptions): UnaryCall<UpdateSiteViewRequest, UpdateSiteViewResult>;
/**
* @generated from protobuf rpc: DeleteSite
*/
deleteSite(input: DeleteSiteViewRequest, options?: RpcOptions): UnaryCall<DeleteSiteViewRequest, DeleteSiteViewResult>;
/**
* @generated from protobuf rpc: ListSite
*/
listSite(input: ListSiteViewRequest, options?: RpcOptions): UnaryCall<ListSiteViewRequest, ListSiteViewResult>;
/**
* @generated from protobuf rpc: ExtractSite
*/
extractSite(input: ExtractSiteRequest, options?: RpcOptions): UnaryCall<ExtractSiteRequest, ExtractSiteResult>;
/**
* @generated from protobuf rpc: DeleteViewsForSite
*/
deleteViewsForSite(input: DeleteViewsForSiteRequest, options?: RpcOptions): UnaryCall<DeleteViewsForSiteRequest, DeleteViewsForSiteResult>;
} }
/** /**
* @generated from protobuf service vizapi.ViewService * @generated from protobuf service vizapi.ViewService
@@ -64,52 +142,143 @@ export class ViewServiceClient implements IViewServiceClient, ServiceInfo {
constructor(private readonly _transport: RpcTransport) { constructor(private readonly _transport: RpcTransport) {
} }
/** /**
* @generated from protobuf rpc: Get(vizapi.GetViewRequest) returns (vizapi.GetViewResult); * @generated from protobuf rpc: Get
*/ */
get(input: GetViewRequest, options?: RpcOptions): UnaryCall<GetViewRequest, GetViewResult> { get(input: GetViewRequest, options?: RpcOptions): UnaryCall<GetViewRequest, GetViewResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options); const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<GetViewRequest, GetViewResult>("unary", this._transport, method, opt, input); return stackIntercept<GetViewRequest, GetViewResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Create(vizapi.CreateViewRequest) returns (vizapi.CreateViewResult); * @generated from protobuf rpc: Create
*/ */
create(input: CreateViewRequest, options?: RpcOptions): UnaryCall<CreateViewRequest, CreateViewResult> { create(input: CreateViewRequest, options?: RpcOptions): UnaryCall<CreateViewRequest, CreateViewResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options); const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateViewRequest, CreateViewResult>("unary", this._transport, method, opt, input); return stackIntercept<CreateViewRequest, CreateViewResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Update(vizapi.UpdateViewRequest) returns (vizapi.UpdateViewResult); * @generated from protobuf rpc: Update
*/ */
update(input: UpdateViewRequest, options?: RpcOptions): UnaryCall<UpdateViewRequest, UpdateViewResult> { update(input: UpdateViewRequest, options?: RpcOptions): UnaryCall<UpdateViewRequest, UpdateViewResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options); const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateViewRequest, UpdateViewResult>("unary", this._transport, method, opt, input); return stackIntercept<UpdateViewRequest, UpdateViewResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Delete(vizapi.DeleteViewRequest) returns (vizapi.DeleteViewResult); * @generated from protobuf rpc: Delete
*/ */
delete(input: DeleteViewRequest, options?: RpcOptions): UnaryCall<DeleteViewRequest, DeleteViewResult> { delete(input: DeleteViewRequest, options?: RpcOptions): UnaryCall<DeleteViewRequest, DeleteViewResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options); const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteViewRequest, DeleteViewResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteViewRequest, DeleteViewResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: List(vizapi.ListViewRequest) returns (vizapi.ListViewResult); * @generated from protobuf rpc: List
*/ */
list(input: ListViewRequest, options?: RpcOptions): UnaryCall<ListViewRequest, ListViewResult> { list(input: ListViewRequest, options?: RpcOptions): UnaryCall<ListViewRequest, ListViewResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options); const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<ListViewRequest, ListViewResult>("unary", this._transport, method, opt, input); return stackIntercept<ListViewRequest, ListViewResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: DeleteViewsForProject(vizapi.DeleteViewsForProjectRequest) returns (vizapi.DeleteViewsForProjectResult); * @generated from protobuf rpc: DeleteViewsForProject
*/ */
deleteViewsForProject(input: DeleteViewsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteViewsForProjectRequest, DeleteViewsForProjectResult> { deleteViewsForProject(input: DeleteViewsForProjectRequest, options?: RpcOptions): UnaryCall<DeleteViewsForProjectRequest, DeleteViewsForProjectResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options); const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteViewsForProjectRequest, DeleteViewsForProjectResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteViewsForProjectRequest, DeleteViewsForProjectResult>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: Extract(vizapi.ExtractRequest) returns (vizapi.ExtractResult); * @generated from protobuf rpc: Extract
*/ */
extract(input: ExtractRequest, options?: RpcOptions): UnaryCall<ExtractRequest, ExtractResult> { extract(input: ExtractRequest, options?: RpcOptions): UnaryCall<ExtractRequest, ExtractResult> {
const method = this.methods[6], opt = this._transport.mergeOptions(options); const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<ExtractRequest, ExtractResult>("unary", this._transport, method, opt, input); return stackIntercept<ExtractRequest, ExtractResult>("unary", this._transport, method, opt, input);
} }
/**
* @generated from protobuf rpc: GetProject
*/
getProject(input: GetProjectViewRequest, options?: RpcOptions): UnaryCall<GetProjectViewRequest, GetProjectViewResult> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<GetProjectViewRequest, GetProjectViewResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CreateProject
*/
createProject(input: CreateProjectViewRequest, options?: RpcOptions): UnaryCall<CreateProjectViewRequest, CreateProjectViewResult> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateProjectViewRequest, CreateProjectViewResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateProject
*/
updateProject(input: UpdateProjectViewRequest, options?: RpcOptions): UnaryCall<UpdateProjectViewRequest, UpdateProjectViewResult> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateProjectViewRequest, UpdateProjectViewResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteProject
*/
deleteProject(input: DeleteProjectViewRequest, options?: RpcOptions): UnaryCall<DeleteProjectViewRequest, DeleteProjectViewResult> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteProjectViewRequest, DeleteProjectViewResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListProject
*/
listProject(input: ListProjectViewRequest, options?: RpcOptions): UnaryCall<ListProjectViewRequest, ListProjectViewResult> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<ListProjectViewRequest, ListProjectViewResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ExtractProject
*/
extractProject(input: ExtractProjectRequest, options?: RpcOptions): UnaryCall<ExtractProjectRequest, ExtractProjectResult> {
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<ExtractProjectRequest, ExtractProjectResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetSite
*/
getSite(input: GetSiteViewRequest, options?: RpcOptions): UnaryCall<GetSiteViewRequest, GetSiteViewResult> {
const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<GetSiteViewRequest, GetSiteViewResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CreateSite
*/
createSite(input: CreateSiteViewRequest, options?: RpcOptions): UnaryCall<CreateSiteViewRequest, CreateSiteViewResult> {
const method = this.methods[14], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateSiteViewRequest, CreateSiteViewResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateSite
*/
updateSite(input: UpdateSiteViewRequest, options?: RpcOptions): UnaryCall<UpdateSiteViewRequest, UpdateSiteViewResult> {
const method = this.methods[15], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateSiteViewRequest, UpdateSiteViewResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteSite
*/
deleteSite(input: DeleteSiteViewRequest, options?: RpcOptions): UnaryCall<DeleteSiteViewRequest, DeleteSiteViewResult> {
const method = this.methods[16], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteSiteViewRequest, DeleteSiteViewResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListSite
*/
listSite(input: ListSiteViewRequest, options?: RpcOptions): UnaryCall<ListSiteViewRequest, ListSiteViewResult> {
const method = this.methods[17], opt = this._transport.mergeOptions(options);
return stackIntercept<ListSiteViewRequest, ListSiteViewResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ExtractSite
*/
extractSite(input: ExtractSiteRequest, options?: RpcOptions): UnaryCall<ExtractSiteRequest, ExtractSiteResult> {
const method = this.methods[18], opt = this._transport.mergeOptions(options);
return stackIntercept<ExtractSiteRequest, ExtractSiteResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteViewsForSite
*/
deleteViewsForSite(input: DeleteViewsForSiteRequest, options?: RpcOptions): UnaryCall<DeleteViewsForSiteRequest, DeleteViewsForSiteResult> {
const method = this.methods[19], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteViewsForSiteRequest, DeleteViewsForSiteResult>("unary", this._transport, method, opt, input);
}
} }

File diff suppressed because it is too large Load Diff