Latest generation

This commit is contained in:
ci viz model
2025-07-28 14:34:23 +00:00
parent baa774ce5b
commit 131feb2020
48 changed files with 150 additions and 48 deletions

View File

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

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 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";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "core/shared.proto" (package "api", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";

View File

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

View File

@@ -1,6 +1,8 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "counter.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { SiteCountersService } from "./counter";
import type { NextSiteCounterRequest } from "./counter";
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { ProjectCountersService } from "./counter";
@@ -35,3 +37,29 @@ export class ProjectCountersServiceClient implements IProjectCountersServiceClie
return stackIntercept<NextProjectCounterRequest, NextCounterResult>("unary", this._transport, method, opt, input);
}
}
/**
* @generated from protobuf service vizapi.SiteCountersService
*/
export interface ISiteCountersServiceClient {
/**
* @generated from protobuf rpc: Next
*/
next(input: NextSiteCounterRequest, options?: RpcOptions): UnaryCall<NextSiteCounterRequest, NextCounterResult>;
}
/**
* @generated from protobuf service vizapi.SiteCountersService
*/
export class SiteCountersServiceClient implements ISiteCountersServiceClient, ServiceInfo {
typeName = SiteCountersService.typeName;
methods = SiteCountersService.methods;
options = SiteCountersService.options;
constructor(private readonly _transport: RpcTransport) {
}
/**
* @generated from protobuf rpc: Next
*/
next(input: NextSiteCounterRequest, options?: RpcOptions): UnaryCall<NextSiteCounterRequest, NextCounterResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<NextSiteCounterRequest, NextCounterResult>("unary", this._transport, method, opt, input);
}
}

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "counter.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -11,6 +11,7 @@ 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";
import { RequestSiteHeader } from "./core/shared";
import { RequestProjectHeader } from "./core/shared";
/**
* @generated from protobuf message vizapi.NextProjectCounterRequest
@@ -34,6 +35,19 @@ export interface NextCounterResult {
*/
Value: bigint;
}
/**
* @generated from protobuf message vizapi.NextSiteCounterRequest
*/
export interface NextSiteCounterRequest {
/**
* @generated from protobuf field: api.RequestSiteHeader Header = 1
*/
Header?: RequestSiteHeader;
/**
* @generated from protobuf field: string Key = 2
*/
Key: string;
}
// @generated message type with reflection information, may provide speed optimized methods
class NextProjectCounterRequest$Type extends MessageType<NextProjectCounterRequest> {
constructor() {
@@ -135,9 +149,69 @@ class NextCounterResult$Type extends MessageType<NextCounterResult> {
* @generated MessageType for protobuf message vizapi.NextCounterResult
*/
export const NextCounterResult = new NextCounterResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class NextSiteCounterRequest$Type extends MessageType<NextSiteCounterRequest> {
constructor() {
super("vizapi.NextSiteCounterRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestSiteHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"claims\"" }, "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Key"] } } });
}
create(value?: PartialMessage<NextSiteCounterRequest>): NextSiteCounterRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.Key = "";
if (value !== undefined)
reflectionMergePartial<NextSiteCounterRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NextSiteCounterRequest): NextSiteCounterRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.RequestSiteHeader Header */ 1:
message.Header = RequestSiteHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* string Key */ 2:
message.Key = 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: NextSiteCounterRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestSiteHeader Header = 1; */
if (message.Header)
RequestSiteHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Key = 2; */
if (message.Key !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Key);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message vizapi.NextSiteCounterRequest
*/
export const NextSiteCounterRequest = new NextSiteCounterRequest$Type();
/**
* @generated ServiceType for protobuf service vizapi.ProjectCountersService
*/
export const ProjectCountersService = new ServiceType("vizapi.ProjectCountersService", [
{ name: "Next", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Project Counters"], summary: "Get the next value for a project key", description: "Get the next value for a project key" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: NextProjectCounterRequest, O: NextCounterResult }
], { "api.k8sService": "settings-server" });
/**
* @generated ServiceType for protobuf service vizapi.SiteCountersService
*/
export const SiteCountersService = new ServiceType("vizapi.SiteCountersService", [
{ name: "Next", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site Counters"], summary: "Get the next value for a Site key", description: "Get the next value for a Site key" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: NextSiteCounterRequest, O: NextCounterResult }
], { "api.k8sService": "settings-server" });

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "openapiv2.proto" (package "grpc.gateway.protoc_gen_openapiv2.options", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";

View File

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

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "validate.proto" (package "validate", syntax proto2)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";

View File

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

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-composed-field.proto" (package "vizapi", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-composed-field.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-dashboard.proto" (package "vizapi", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-dashboard.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-default-view.proto" (package "vizapi", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-default-view.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-motd.proto" (package "vizapi", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-motd.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-organisation-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-organisation-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-project-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-project-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-tab.proto" (package "vizapi", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-tab.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-translations.proto" (package "vizapi", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-translations.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-user-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-user-settings.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-view.proto" (package "vizapi", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
// @generated from protobuf file "viz-view.proto" (package "vizapi", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";