6 Commits

Author SHA1 Message Date
ci viz model
81b37c8d96 Latest publish 2026-07-15 14:05:11 +00:00
ci viz model
353e8b89c9 Latest generation 2026-07-15 14:04:35 +00:00
ci viz model
c68ad70fb9 Latest generation 2026-06-30 07:30:57 +00:00
ci viz model
e75a53d566 Latest generation 2026-05-25 13:08:12 +00:00
ci viz model
7d40e93482 Latest generation 2026-05-11 08:33:27 +00:00
ci viz model
acbd306f09 Latest generation 2026-04-20 07:20:45 +00:00
17 changed files with 453 additions and 575 deletions

2
.npmrc Normal file
View File

@@ -0,0 +1,2 @@
@reflex-platform:registry=https://git.dev.reflex-platform.com/api/packages/reflex-platform/npm/
//git.dev.reflex-platform.com/api/packages/reflex-platform/npm/:_authToken="11177f1f316afadeca69c5cabe3e273ea1b2ed3f"

View File

@@ -1,2 +1,51 @@
# Reflex Platform Core SDK
# npm libs from visibility model proto files This is the official NPM Core SDK for **Reflex Platform**. It provides client stubs for interacting with Reflex Platform APIs through gRPC.
## Usage
Import the SDK in your JavaScript or TypeScript project and use it to communicate with **Reflex Platform** services.
```js
import { ProjectServiceClient, GetMyUIContextRequest } from '@reflex-platform/npm-core-sdk';
import { GrpcWebFetchTransport } from '@protobuf-ts/grpcweb-transport'
import { type RpcOptions, type RpcInterceptor, UnaryCall } from "@protobuf-ts/runtime-rpc";
const authInterceptor : RpcInterceptor = {
interceptUnary(next, method, input, options: RpcOptions): UnaryCall {
options.meta["Authorization"] = "Bearer YOUR_TOKEN";
return next(method, input, options);
}
}
const coreTransportInstance = new GrpcWebFetchTransport({
baseUrl: "grpc.viz.dev.reflex-platform.com:443",
interceptors: [authInterceptor]
});
const client = new ProjectServiceClient(coreTransportInstance);
const contexts = await client.GetMyUIContext(new GetMyUIContextRequest());
```
## gRPC Endpoint
The SDK connects to the following gRPC endpoint:
```
grpc.viz.dev.reflex-platform.com
```
## Example Vue.js Application
A more complete Vue.js application that demonstrates how to integrate the **Reflex Platform NPM SDK** is available. This serves as a reference implementation for using the SDK in a frontend application.
Repository: [Vue RP Example](https://git.dev.reflex-platform.com/reflex-platform/vue-rp-example)
## Additional Resources
For more information on using the Reflex Platform SDK, please refer to the [documentation](https://docs.viz.dev.reflex-platform.com).
## License
This SDK is licensed under **MIT License**.

View File

@@ -338,7 +338,7 @@ export interface EventHeader {
* @generated from protobuf field: api.DateTime EventTS = 2 * @generated from protobuf field: api.DateTime EventTS = 2
*/ */
EventTS?: DateTime; EventTS?: DateTime;
// DateTime ActualDate = 6; // TODO : add validation rule to make it required : [(validate.rules).message.required = true] // DateTime ActualDate = 6; // TODO : add validation rule to make it required : [(n1validate.rules).message.required = true]
/** /**
* Contains the ID of the parent project if entity belongs to project rscType * Contains the ID of the parent project if entity belongs to project rscType
@@ -371,7 +371,7 @@ export interface EventHeader {
export interface EntityID { export interface EntityID {
// string UuID = 1 // string UuID = 1
// [ // [
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {read_only: true, description: "Internal identifier"}, (validate.rules).string.unauthorized = true // (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {read_only: true, description: "Internal identifier"}, (n1validate.rules).string.unauthorized = true
// ]; // ];
/** /**
@@ -2476,7 +2476,7 @@ export enum ResourceType {
class RequestHeader$Type extends MessageType<RequestHeader> { class RequestHeader$Type extends MessageType<RequestHeader> {
constructor() { constructor() {
super("api.RequestHeader", [ super("api.RequestHeader", [
{ no: 1, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project" }, "validate.rules": { string: { minLen: "1", notContains: " " } } } } { no: 1, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } }
]); ]);
} }
create(value?: PartialMessage<RequestHeader>): RequestHeader { create(value?: PartialMessage<RequestHeader>): RequestHeader {
@@ -2523,8 +2523,8 @@ export const RequestHeader = new RequestHeader$Type();
class TimeRange$Type extends MessageType<TimeRange> { class TimeRange$Type extends MessageType<TimeRange> {
constructor() { constructor() {
super("api.TimeRange", [ super("api.TimeRange", [
{ no: 1, name: "StartTime", kind: "scalar", localName: "StartTime", jsonName: "StartTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } } }, { no: 1, name: "StartTime", kind: "scalar", localName: "StartTime", jsonName: "StartTime", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } } },
{ no: 2, name: "EndTime", kind: "scalar", localName: "EndTime", jsonName: "EndTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } } } { no: 2, name: "EndTime", kind: "scalar", localName: "EndTime", jsonName: "EndTime", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" } } } }
]); ]);
} }
create(value?: PartialMessage<TimeRange>): TimeRange { create(value?: PartialMessage<TimeRange>): TimeRange {
@@ -2578,7 +2578,7 @@ export const TimeRange = new TimeRange$Type();
class RequestProjectHeader$Type extends MessageType<RequestProjectHeader> { class RequestProjectHeader$Type extends MessageType<RequestProjectHeader> {
constructor() { constructor() {
super("api.RequestProjectHeader", [ super("api.RequestProjectHeader", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project", example: "\"Your_Project_ID\"" }, "validate.rules": { string: { minLen: "1", notContains: " " } } } }, { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project", example: "\"Your_Project_ID\"" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } },
{ no: 3, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 3, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } },
{ no: 4, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } { no: 4, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
@@ -2641,7 +2641,7 @@ export const RequestProjectHeader = new RequestProjectHeader$Type();
class RequestOrganisationHeader$Type extends MessageType<RequestOrganisationHeader> { class RequestOrganisationHeader$Type extends MessageType<RequestOrganisationHeader> {
constructor() { constructor() {
super("api.RequestOrganisationHeader", [ super("api.RequestOrganisationHeader", [
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the organisation" }, "validate.rules": { string: { minLen: "1", notContains: " " } } } }, { no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the organisation" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } },
{ no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } },
{ no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } { no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID"] } } });
@@ -2704,7 +2704,7 @@ export const RequestOrganisationHeader = new RequestOrganisationHeader$Type();
class RequestBucketHeader$Type extends MessageType<RequestBucketHeader> { class RequestBucketHeader$Type extends MessageType<RequestBucketHeader> {
constructor() { constructor() {
super("api.RequestBucketHeader", [ super("api.RequestBucketHeader", [
{ no: 1, name: "BucketID", kind: "scalar", localName: "BucketID", jsonName: "BucketID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the bucket" }, "validate.rules": { string: { minLen: "1", notContains: " " } } } }, { no: 1, name: "BucketID", kind: "scalar", localName: "BucketID", jsonName: "BucketID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the bucket" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } },
{ no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } },
{ no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } { no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["BucketID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["BucketID"] } } });
@@ -2767,7 +2767,7 @@ export const RequestBucketHeader = new RequestBucketHeader$Type();
class RequestPartnerAppHeader$Type extends MessageType<RequestPartnerAppHeader> { class RequestPartnerAppHeader$Type extends MessageType<RequestPartnerAppHeader> {
constructor() { constructor() {
super("api.RequestPartnerAppHeader", [ super("api.RequestPartnerAppHeader", [
{ no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the partnerApp" }, "validate.rules": { string: { minLen: "1", notContains: " " } } } }, { no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the partnerApp" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } },
{ no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } },
{ no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } { no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["PartnerAppID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["PartnerAppID"] } } });
@@ -2830,7 +2830,7 @@ export const RequestPartnerAppHeader = new RequestPartnerAppHeader$Type();
class RequestConnectionHeader$Type extends MessageType<RequestConnectionHeader> { class RequestConnectionHeader$Type extends MessageType<RequestConnectionHeader> {
constructor() { constructor() {
super("api.RequestConnectionHeader", [ super("api.RequestConnectionHeader", [
{ no: 1, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the connection" }, "validate.rules": { string: { minLen: "1", notContains: " " } } } }, { no: 1, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the connection" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } },
{ no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } },
{ no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } { no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ConnectionID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ConnectionID"] } } });
@@ -2893,7 +2893,7 @@ export const RequestConnectionHeader = new RequestConnectionHeader$Type();
class RequestAttachmentTypeHeader$Type extends MessageType<RequestAttachmentTypeHeader> { class RequestAttachmentTypeHeader$Type extends MessageType<RequestAttachmentTypeHeader> {
constructor() { constructor() {
super("api.RequestAttachmentTypeHeader", [ super("api.RequestAttachmentTypeHeader", [
{ no: 1, name: "AttachmentTypeID", kind: "scalar", localName: "AttachmentTypeID", jsonName: "AttachmentTypeID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the attachment type" }, "validate.rules": { string: { minLen: "1", notContains: " " } } } }, { no: 1, name: "AttachmentTypeID", kind: "scalar", localName: "AttachmentTypeID", jsonName: "AttachmentTypeID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the attachment type" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } },
{ no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } }, { no: 2, name: "CorrelationID", kind: "scalar", localName: "CorrelationID", jsonName: "CorrelationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"CorrID_A\"" } } },
{ no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } } { no: 3, name: "TechnicalID", kind: "scalar", localName: "TechnicalID", jsonName: "TechnicalID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "This ID is sent back into the response header in order to be able to correlate request and response", example: "\"TechID_A\"" } } }
]); ]);
@@ -3082,7 +3082,7 @@ export const AttachmentTypeResponseHeader = new AttachmentTypeResponseHeader$Typ
class QueryHeader$Type extends MessageType<QueryHeader> { class QueryHeader$Type extends MessageType<QueryHeader> {
constructor() { constructor() {
super("api.QueryHeader", [ super("api.QueryHeader", [
{ no: 1, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", notContains: " " } } } }, { no: 1, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", notContains: " " } } } },
{ no: 3, name: "PagingState", kind: "scalar", localName: "PagingState", jsonName: "PagingState", T: 9 /*ScalarType.STRING*/ }, { no: 3, name: "PagingState", kind: "scalar", localName: "PagingState", jsonName: "PagingState", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Limit", kind: "scalar", localName: "Limit", jsonName: "Limit", T: 9 /*ScalarType.STRING*/ }, { no: 4, name: "Limit", kind: "scalar", localName: "Limit", jsonName: "Limit", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "LocalizedLabel", kind: "scalar", localName: "LocalizedLabel", jsonName: "LocalizedLabel", T: 8 /*ScalarType.BOOL*/ } { no: 5, name: "LocalizedLabel", kind: "scalar", localName: "LocalizedLabel", jsonName: "LocalizedLabel", T: 8 /*ScalarType.BOOL*/ }
@@ -3153,7 +3153,7 @@ export const QueryHeader = new QueryHeader$Type();
class QueryProjectHeader$Type extends MessageType<QueryProjectHeader> { class QueryProjectHeader$Type extends MessageType<QueryProjectHeader> {
constructor() { constructor() {
super("api.QueryProjectHeader", [ super("api.QueryProjectHeader", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project" }, "validate.rules": { string: { minLen: "1", notContains: " " } } } }, { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project" }, "n1validate.rules": { string: { minLen: "1", notContains: " " } } } },
{ no: 3, name: "PagingState", kind: "scalar", localName: "PagingState", jsonName: "PagingState", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Start position of the query result page. Pagination disabled if equal to -1.", example: "\"50\"" } } }, { no: 3, name: "PagingState", kind: "scalar", localName: "PagingState", jsonName: "PagingState", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Start position of the query result page. Pagination disabled if equal to -1.", example: "\"50\"" } } },
{ no: 4, name: "Limit", kind: "scalar", localName: "Limit", jsonName: "Limit", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Length of the query result page", example: "\"50\"" } } }, { no: 4, name: "Limit", kind: "scalar", localName: "Limit", jsonName: "Limit", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Length of the query result page", example: "\"50\"" } } },
{ no: 5, name: "LocalizedLabel", kind: "scalar", localName: "LocalizedLabel", jsonName: "LocalizedLabel", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Return the message in the user's language" } } } { no: 5, name: "LocalizedLabel", kind: "scalar", localName: "LocalizedLabel", jsonName: "LocalizedLabel", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Return the message in the user's language" } } }
@@ -3373,11 +3373,11 @@ export const CommandHeader = new CommandHeader$Type();
class EventHeader$Type extends MessageType<EventHeader> { class EventHeader$Type extends MessageType<EventHeader> {
constructor() { constructor() {
super("api.EventHeader", [ super("api.EventHeader", [
{ no: 1, name: "InputEvent", kind: "scalar", localName: "InputEvent", jsonName: "InputEvent", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "InputEvent", kind: "scalar", localName: "InputEvent", jsonName: "InputEvent", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "EventTS", kind: "message", localName: "EventTS", jsonName: "EventTS", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "EventTS", kind: "message", localName: "EventTS", jsonName: "EventTS", T: () => DateTime, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 3, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/ }, { no: 3, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Author", kind: "scalar", localName: "Author", jsonName: "Author", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, { no: 4, name: "Author", kind: "scalar", localName: "Author", jsonName: "Author", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
{ no: 5, name: "EventID", kind: "scalar", localName: "EventID", jsonName: "EventID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 5, name: "EventID", kind: "scalar", localName: "EventID", jsonName: "EventID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 6, name: "CreatedBy", kind: "scalar", localName: "CreatedBy", jsonName: "CreatedBy", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, { no: 6, name: "CreatedBy", kind: "scalar", localName: "CreatedBy", jsonName: "CreatedBy", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
{ no: 7, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ } { no: 7, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["InputEvent", "EventTS", "Project", "Author", "EventID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["InputEvent", "EventTS", "Project", "Author", "EventID"] } } });
@@ -3467,7 +3467,7 @@ export const EventHeader = new EventHeader$Type();
class EntityID$Type extends MessageType<EntityID> { class EntityID$Type extends MessageType<EntityID> {
constructor() { constructor() {
super("api.EntityID", [ super("api.EntityID", [
{ no: 2, name: "RefID", kind: "scalar", localName: "RefID", jsonName: "RefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your identifier", example: "\"Your_Object_ID\"" }, "validate.rules": { string: { minLen: "1", maxLen: "192" } } } }, { no: 2, name: "RefID", kind: "scalar", localName: "RefID", jsonName: "RefID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your identifier", example: "\"Your_Object_ID\"" }, "n1validate.rules": { string: { minLen: "1", maxLen: "192" } } } },
{ no: 3, name: "RefDate", kind: "message", localName: "RefDate", jsonName: "RefDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your effective date. If your event triggers a status change, this date will be used into the status ActualDate" } } } { no: 3, name: "RefDate", kind: "message", localName: "RefDate", jsonName: "RefDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your effective date. If your event triggers a status change, this date will be used into the status ActualDate" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RefID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RefID"] } } });
} }
@@ -3711,8 +3711,8 @@ export const GenericObjectPayload = new GenericObjectPayload$Type();
class DateTime$Type extends MessageType<DateTime> { class DateTime$Type extends MessageType<DateTime> {
constructor() { constructor() {
super("api.DateTime", [ super("api.DateTime", [
{ no: 1, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format", example: "\"2023-01-01T00:00:00Z\"" }, "validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Item", Group: "item", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }, { no: 1, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format", example: "\"2023-01-01T00:00:00Z\"" }, "n1validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Item", Group: "item", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
{ no: 2, name: "AuthorTimeZone", kind: "scalar", localName: "AuthorTimeZone", jsonName: "AuthorTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Time zone from where the author emits the event in this <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "validate.rules": { string: { tzData: true } } } } { no: 2, name: "AuthorTimeZone", kind: "scalar", localName: "AuthorTimeZone", jsonName: "AuthorTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Time zone from where the author emits the event in this <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { tzData: true } } } }
]); ]);
} }
create(value?: PartialMessage<DateTime>): DateTime { create(value?: PartialMessage<DateTime>): DateTime {
@@ -3857,7 +3857,7 @@ class Amount$Type extends MessageType<Amount> {
constructor() { constructor() {
super("api.Amount", [ super("api.Amount", [
{ no: 1, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 2 /*ScalarType.FLOAT*/, options: { "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } }, { no: 1, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 2 /*ScalarType.FLOAT*/, options: { "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } },
{ no: 2, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" }, "validate.rules": { enum: { definedOnly: true } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } } { no: 2, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" }, "n1validate.rules": { enum: { definedOnly: true } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } }
]); ]);
} }
create(value?: PartialMessage<Amount>): Amount { create(value?: PartialMessage<Amount>): Amount {
@@ -4520,11 +4520,11 @@ export const MetadataElement = new MetadataElement$Type();
class SimpleFilter$Type extends MessageType<SimpleFilter> { class SimpleFilter$Type extends MessageType<SimpleFilter> {
constructor() { constructor() {
super("api.SimpleFilter", [ super("api.SimpleFilter", [
{ no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path", example: "\"ID.RefID\"" }, "validate.rules": { string: { maxLen: "250" } } } }, { no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path", example: "\"ID.RefID\"" }, "n1validate.rules": { string: { maxLen: "250" } } } },
{ no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Use this parameter if only one value" }, "validate.rules": { string: { maxLen: "250" } } } }, { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Use this parameter if only one value" }, "n1validate.rules": { string: { maxLen: "250" } } } },
{ no: 3, name: "Values", kind: "scalar", localName: "Values", jsonName: "Values", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Use this parameter if more than one value" }, "validate.rules": { repeated: { items: { string: { maxLen: "250" } } } } } }, { no: 3, name: "Values", kind: "scalar", localName: "Values", jsonName: "Values", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Use this parameter if more than one value" }, "n1validate.rules": { repeated: { items: { string: { maxLen: "250" } } } } } },
{ no: 4, name: "Operator", kind: "scalar", localName: "Operator", jsonName: "Operator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Allowed values : \"\", \"not\"" }, "validate.rules": { string: { maxLen: "50" } } } }, { no: 4, name: "Operator", kind: "scalar", localName: "Operator", jsonName: "Operator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Allowed values : \"\", \"not\"" }, "n1validate.rules": { string: { maxLen: "50" } } } },
{ no: 5, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata's key" }, "validate.rules": { string: { maxLen: "250" } } } } { no: 5, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata's key" }, "n1validate.rules": { string: { maxLen: "250" } } } }
]); ]);
} }
create(value?: PartialMessage<SimpleFilter>): SimpleFilter { create(value?: PartialMessage<SimpleFilter>): SimpleFilter {
@@ -4670,10 +4670,10 @@ export const CombinedFilter = new CombinedFilter$Type();
class RangeFilter$Type extends MessageType<RangeFilter> { class RangeFilter$Type extends MessageType<RangeFilter> {
constructor() { constructor() {
super("api.RangeFilter", [ super("api.RangeFilter", [
{ no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path", example: "\"ID.RefID\"" }, "validate.rules": { string: { maxLen: "250" } } } }, { no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path", example: "\"ID.RefID\"" }, "n1validate.rules": { string: { maxLen: "250" } } } },
{ no: 2, name: "valueLt", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Maximum value" }, "validate.rules": { string: { maxLen: "250" } } } }, { no: 2, name: "valueLt", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Maximum value" }, "n1validate.rules": { string: { maxLen: "250" } } } },
{ no: 3, name: "valueGt", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Minimum value" }, "validate.rules": { string: { maxLen: "250" } } } }, { no: 3, name: "valueGt", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Minimum value" }, "n1validate.rules": { string: { maxLen: "250" } } } },
{ no: 4, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata's key" }, "validate.rules": { string: { maxLen: "250" } } } } { no: 4, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata's key" }, "n1validate.rules": { string: { maxLen: "250" } } } }
]); ]);
} }
create(value?: PartialMessage<RangeFilter>): RangeFilter { create(value?: PartialMessage<RangeFilter>): RangeFilter {
@@ -4804,7 +4804,7 @@ export const BlockFilter = new BlockFilter$Type();
class MatchField$Type extends MessageType<MatchField> { class MatchField$Type extends MessageType<MatchField> {
constructor() { constructor() {
super("api.MatchField", [ super("api.MatchField", [
{ no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "Attribute", kind: "scalar", localName: "Attribute", jsonName: "Attribute", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "AttributeCombined", kind: "scalar", localName: "AttributeCombined", jsonName: "AttributeCombined", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path for metadata filter" } } }, { no: 2, name: "AttributeCombined", kind: "scalar", localName: "AttributeCombined", jsonName: "AttributeCombined", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Filter path for metadata filter" } } },
{ no: 3, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata's key" } } } { no: 3, name: "CombinedID", kind: "scalar", localName: "CombinedID", jsonName: "CombinedID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata's key" } } }
]); ]);
@@ -5126,8 +5126,8 @@ export const ParamElement = new ParamElement$Type();
class LabelStructure$Type extends MessageType<LabelStructure> { class LabelStructure$Type extends MessageType<LabelStructure> {
constructor() { constructor() {
super("api.LabelStructure", [ super("api.LabelStructure", [
{ no: 1, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the message" }, "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, { no: 1, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the message" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
{ no: 2, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Label of the message" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Label of the message" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Params", kind: "message", localName: "Params", jsonName: "Params", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ParamElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Parameters for label" }, "api.aggKey": "Key" } } { no: 3, name: "Params", kind: "message", localName: "Params", jsonName: "Params", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ParamElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Parameters for label" }, "api.aggKey": "Key" } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Code", "Label"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Code", "Label"] } } });
} }
@@ -5764,7 +5764,7 @@ export const StringObject = new StringObject$Type();
class StringDateObject$Type extends MessageType<StringDateObject> { class StringDateObject$Type extends MessageType<StringDateObject> {
constructor() { constructor() {
super("api.StringDateObject", [ super("api.StringDateObject", [
{ no: 10, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" }, "validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } } { no: 10, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" }, "n1validate.rules": { string: { dateIso8601: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }
]); ]);
} }
create(value?: PartialMessage<StringDateObject>): StringDateObject { create(value?: PartialMessage<StringDateObject>): StringDateObject {
@@ -5811,9 +5811,9 @@ export const StringDateObject = new StringDateObject$Type();
class WorkflowExecutionResult$Type extends MessageType<WorkflowExecutionResult> { class WorkflowExecutionResult$Type extends MessageType<WorkflowExecutionResult> {
constructor() { constructor() {
super("api.WorkflowExecutionResult", [ super("api.WorkflowExecutionResult", [
{ no: 1, name: "WorkflowId", kind: "scalar", localName: "WorkflowId", jsonName: "WorkflowId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "WorkflowId", kind: "scalar", localName: "WorkflowId", jsonName: "WorkflowId", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "RunId", kind: "scalar", localName: "RunId", jsonName: "RunId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "RunId", kind: "scalar", localName: "RunId", jsonName: "RunId", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } } { no: 3, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
]); ]);
} }
create(value?: PartialMessage<WorkflowExecutionResult>): WorkflowExecutionResult { create(value?: PartialMessage<WorkflowExecutionResult>): WorkflowExecutionResult {
@@ -5875,9 +5875,9 @@ class ModuleRegistration$Type extends MessageType<ModuleRegistration> {
constructor() { constructor() {
super("api.ModuleRegistration", [ super("api.ModuleRegistration", [
{ no: 1, name: "WorkflowTarget", kind: "enum", localName: "WorkflowTarget", jsonName: "WorkflowTarget", T: () => ["api.WorkflowTypeEnum", WorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Into which core workflow, the module child workflow will be registered" } } }, { no: 1, name: "WorkflowTarget", kind: "enum", localName: "WorkflowTarget", jsonName: "WorkflowTarget", T: () => ["api.WorkflowTypeEnum", WorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Into which core workflow, the module child workflow will be registered" } } },
{ no: 2, name: "WorkflowPath", kind: "scalar", localName: "WorkflowPath", jsonName: "WorkflowPath", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Go path of module child workflow implementation" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "WorkflowPath", kind: "scalar", localName: "WorkflowPath", jsonName: "WorkflowPath", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Go path of module child workflow implementation" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ModuleWorkflowTypeEnum", ModuleWorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PRE or POST to execute before or after the core workfow targeted" } } }, { no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ModuleWorkflowTypeEnum", ModuleWorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PRE or POST to execute before or after the core workfow targeted" } } },
{ no: 4, name: "Timeout", kind: "scalar", localName: "Timeout", jsonName: "Timeout", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "max timeout in minutes of the module child workflow, ignored if it exceeds the platform default value." }, "validate.rules": { int32: { gt: 0 } } } } { no: 4, name: "Timeout", kind: "scalar", localName: "Timeout", jsonName: "Timeout", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "max timeout in minutes of the module child workflow, ignored if it exceeds the platform default value." }, "n1validate.rules": { int32: { gt: 0 } } } }
]); ]);
} }
create(value?: PartialMessage<ModuleRegistration>): ModuleRegistration { create(value?: PartialMessage<ModuleRegistration>): ModuleRegistration {
@@ -5946,7 +5946,7 @@ class ModuleDeregistration$Type extends MessageType<ModuleDeregistration> {
constructor() { constructor() {
super("api.ModuleDeregistration", [ super("api.ModuleDeregistration", [
{ no: 1, name: "WorkflowTarget", kind: "enum", localName: "WorkflowTarget", jsonName: "WorkflowTarget", T: () => ["api.WorkflowTypeEnum", WorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Into which core workflow, the module child workflow will be registered" } } }, { no: 1, name: "WorkflowTarget", kind: "enum", localName: "WorkflowTarget", jsonName: "WorkflowTarget", T: () => ["api.WorkflowTypeEnum", WorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Into which core workflow, the module child workflow will be registered" } } },
{ no: 2, name: "WorkflowPath", kind: "scalar", localName: "WorkflowPath", jsonName: "WorkflowPath", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Go path of module child workflow implementation" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "WorkflowPath", kind: "scalar", localName: "WorkflowPath", jsonName: "WorkflowPath", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Go path of module child workflow implementation" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ModuleWorkflowTypeEnum", ModuleWorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PRE or POST to execute before or after the core workfow targeted" } } } { no: 3, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ModuleWorkflowTypeEnum", ModuleWorkflowTypeEnum], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PRE or POST to execute before or after the core workfow targeted" } } }
]); ]);
} }
@@ -6008,12 +6008,12 @@ export const ModuleDeregistration = new ModuleDeregistration$Type();
class ClaimType$Type extends MessageType<ClaimType> { class ClaimType$Type extends MessageType<ClaimType> {
constructor() { constructor() {
super("api.ClaimType", [ super("api.ClaimType", [
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ReasonCode", kind: "scalar", localName: "ReasonCode", jsonName: "ReasonCode", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+$" } } } }, { no: 4, name: "ReasonCode", kind: "scalar", localName: "ReasonCode", jsonName: "ReasonCode", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+$" } } } },
{ no: 5, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.ClaimEntityType", ClaimEntityType, "CLAIM_ENTITY_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } }, { no: 5, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.ClaimEntityType", ClaimEntityType, "CLAIM_ENTITY_TYPE_"], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
{ no: 6, name: "DefaultCriticality", kind: "enum", localName: "DefaultCriticality", jsonName: "DefaultCriticality", T: () => ["api.ClaimCriticality", ClaimCriticality, "CLAIM_CRITICALITY_"], options: { "validate.rules": { enum: { definedOnly: true } } } }, { no: 6, name: "DefaultCriticality", kind: "enum", localName: "DefaultCriticality", jsonName: "DefaultCriticality", T: () => ["api.ClaimCriticality", ClaimCriticality, "CLAIM_CRITICALITY_"], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
{ no: 7, name: "Transitions", kind: "message", localName: "Transitions", jsonName: "Transitions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimTransition }, { no: 7, name: "Transitions", kind: "message", localName: "Transitions", jsonName: "Transitions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimTransition },
{ no: 8, name: "PossibleClosures", kind: "message", localName: "PossibleClosures", jsonName: "PossibleClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimTypeClosure }, { no: 8, name: "PossibleClosures", kind: "message", localName: "PossibleClosures", jsonName: "PossibleClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimTypeClosure },
{ no: 9, name: "CriticalityAllowedRoles", kind: "scalar", localName: "CriticalityAllowedRoles", jsonName: "CriticalityAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 9, name: "CriticalityAllowedRoles", kind: "scalar", localName: "CriticalityAllowedRoles", jsonName: "CriticalityAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
@@ -6021,7 +6021,7 @@ class ClaimType$Type extends MessageType<ClaimType> {
{ no: 11, name: "WriteAllowedRoles", kind: "scalar", localName: "WriteAllowedRoles", jsonName: "WriteAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 11, name: "WriteAllowedRoles", kind: "scalar", localName: "WriteAllowedRoles", jsonName: "WriteAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 12, name: "AssignAllowedRoles", kind: "scalar", localName: "AssignAllowedRoles", jsonName: "AssignAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 12, name: "AssignAllowedRoles", kind: "scalar", localName: "AssignAllowedRoles", jsonName: "AssignAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 13, name: "AllowedStatuses", kind: "enum", localName: "AllowedStatuses", jsonName: "AllowedStatuses", repeat: 1 /*RepeatType.PACKED*/, T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"] }, { no: 13, name: "AllowedStatuses", kind: "enum", localName: "AllowedStatuses", jsonName: "AllowedStatuses", repeat: 1 /*RepeatType.PACKED*/, T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"] },
{ no: 14, name: "DefaultStatus", kind: "enum", localName: "DefaultStatus", jsonName: "DefaultStatus", T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"], options: { "validate.rules": { enum: { definedOnly: true } } } }, { no: 14, name: "DefaultStatus", kind: "enum", localName: "DefaultStatus", jsonName: "DefaultStatus", T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
{ no: 15, name: "Sector", kind: "enum", localName: "Sector", jsonName: "Sector", T: () => ["api.ClaimSector", ClaimSector, "CLAIM_SECTOR_"] }, { no: 15, name: "Sector", kind: "enum", localName: "Sector", jsonName: "Sector", T: () => ["api.ClaimSector", ClaimSector, "CLAIM_SECTOR_"] },
{ no: 16, name: "DefaultAssignees", kind: "scalar", localName: "DefaultAssignees", jsonName: "DefaultAssignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ } { no: 16, name: "DefaultAssignees", kind: "scalar", localName: "DefaultAssignees", jsonName: "DefaultAssignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
]); ]);
@@ -6183,8 +6183,8 @@ export const ClaimType = new ClaimType$Type();
class ClaimTransition$Type extends MessageType<ClaimTransition> { class ClaimTransition$Type extends MessageType<ClaimTransition> {
constructor() { constructor() {
super("api.ClaimTransition", [ super("api.ClaimTransition", [
{ no: 1, name: "FromStatus", kind: "enum", localName: "FromStatus", jsonName: "FromStatus", T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"], options: { "validate.rules": { enum: { definedOnly: true } } } }, { no: 1, name: "FromStatus", kind: "enum", localName: "FromStatus", jsonName: "FromStatus", T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
{ no: 2, name: "ToStatus", kind: "enum", localName: "ToStatus", jsonName: "ToStatus", T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"], options: { "validate.rules": { enum: { definedOnly: true } } } }, { no: 2, name: "ToStatus", kind: "enum", localName: "ToStatus", jsonName: "ToStatus", T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "AllowedRoles", kind: "scalar", localName: "AllowedRoles", jsonName: "AllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 3, name: "AllowedRoles", kind: "scalar", localName: "AllowedRoles", jsonName: "AllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "ShouldNotify", kind: "scalar", localName: "ShouldNotify", jsonName: "ShouldNotify", T: 8 /*ScalarType.BOOL*/ } { no: 4, name: "ShouldNotify", kind: "scalar", localName: "ShouldNotify", jsonName: "ShouldNotify", T: 8 /*ScalarType.BOOL*/ }
]); ]);
@@ -6254,7 +6254,7 @@ export const ClaimTransition = new ClaimTransition$Type();
class ClaimTypeClosure$Type extends MessageType<ClaimTypeClosure> { class ClaimTypeClosure$Type extends MessageType<ClaimTypeClosure> {
constructor() { constructor() {
super("api.ClaimTypeClosure", [ super("api.ClaimTypeClosure", [
{ no: 1, name: "Responsible", kind: "scalar", localName: "Responsible", jsonName: "Responsible", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "Responsible", kind: "scalar", localName: "Responsible", jsonName: "Responsible", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Causes", kind: "scalar", localName: "Causes", jsonName: "Causes", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ } { no: 2, name: "Causes", kind: "scalar", localName: "Causes", jsonName: "Causes", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
]); ]);
} }
@@ -6309,8 +6309,8 @@ export const ClaimTypeClosure = new ClaimTypeClosure$Type();
class ClaimClosure$Type extends MessageType<ClaimClosure> { class ClaimClosure$Type extends MessageType<ClaimClosure> {
constructor() { constructor() {
super("api.ClaimClosure", [ super("api.ClaimClosure", [
{ no: 1, name: "Responsible", kind: "scalar", localName: "Responsible", jsonName: "Responsible", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } }, { no: 1, name: "Responsible", kind: "scalar", localName: "Responsible", jsonName: "Responsible", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } },
{ no: 2, name: "Cause", kind: "scalar", localName: "Cause", jsonName: "Cause", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } } { no: 2, name: "Cause", kind: "scalar", localName: "Cause", jsonName: "Cause", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } }
]); ]);
} }
create(value?: PartialMessage<ClaimClosure>): ClaimClosure { create(value?: PartialMessage<ClaimClosure>): ClaimClosure {
@@ -6364,8 +6364,8 @@ export const ClaimClosure = new ClaimClosure$Type();
class ClaimSummary$Type extends MessageType<ClaimSummary> { class ClaimSummary$Type extends MessageType<ClaimSummary> {
constructor() { constructor() {
super("api.ClaimSummary", [ super("api.ClaimSummary", [
{ no: 1, name: "ClaimTypeID", kind: "scalar", localName: "ClaimTypeID", jsonName: "ClaimTypeID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the claim type" }, "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 1, name: "ClaimTypeID", kind: "scalar", localName: "ClaimTypeID", jsonName: "ClaimTypeID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the claim type" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 2, name: "ClaimTypeReason", kind: "scalar", localName: "ClaimTypeReason", jsonName: "ClaimTypeReason", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Reason of the claim type" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "ClaimTypeReason", kind: "scalar", localName: "ClaimTypeReason", jsonName: "ClaimTypeReason", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Reason of the claim type" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Number", kind: "scalar", localName: "Number", jsonName: "Number", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims with this type" } } } { no: 3, name: "Number", kind: "scalar", localName: "Number", jsonName: "Number", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims with this type" } } }
]); ]);
} }
@@ -6427,12 +6427,12 @@ export const ClaimSummary = new ClaimSummary$Type();
class AttachmentType$Type extends MessageType<AttachmentType> { class AttachmentType$Type extends MessageType<AttachmentType> {
constructor() { constructor() {
super("api.AttachmentType", [ super("api.AttachmentType", [
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType, "ENTITY_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } }, { no: 4, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType, "ENTITY_TYPE_"], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
{ no: 5, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 5, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 6, name: "SharePolicy", kind: "enum", localName: "SharePolicy", jsonName: "SharePolicy", T: () => ["api.SharePolicy", SharePolicy], options: { "validate.rules": { enum: { definedOnly: true } } } } { no: 6, name: "SharePolicy", kind: "enum", localName: "SharePolicy", jsonName: "SharePolicy", T: () => ["api.SharePolicy", SharePolicy], options: { "n1validate.rules": { enum: { definedOnly: true } } } }
]); ]);
} }
create(value?: PartialMessage<AttachmentType>): AttachmentType { create(value?: PartialMessage<AttachmentType>): AttachmentType {
@@ -6514,8 +6514,8 @@ export const AttachmentType = new AttachmentType$Type();
class AttachmentSummary$Type extends MessageType<AttachmentSummary> { class AttachmentSummary$Type extends MessageType<AttachmentSummary> {
constructor() { constructor() {
super("api.AttachmentSummary", [ super("api.AttachmentSummary", [
{ no: 1, name: "AttachmentTypeID", kind: "scalar", localName: "AttachmentTypeID", jsonName: "AttachmentTypeID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the attachment type" }, "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } }, { no: 1, name: "AttachmentTypeID", kind: "scalar", localName: "AttachmentTypeID", jsonName: "AttachmentTypeID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the attachment type" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 2, name: "AttachmentTypeCode", kind: "scalar", localName: "AttachmentTypeCode", jsonName: "AttachmentTypeCode", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the attachment type" }, "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }, { no: 2, name: "AttachmentTypeCode", kind: "scalar", localName: "AttachmentTypeCode", jsonName: "AttachmentTypeCode", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the attachment type" }, "n1validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
{ no: 3, name: "Number", kind: "scalar", localName: "Number", jsonName: "Number", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments with this type" } } } { no: 3, name: "Number", kind: "scalar", localName: "Number", jsonName: "Number", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments with this type" } } }
]); ]);
} }
@@ -6703,16 +6703,16 @@ export const ExtractColumnFormat = new ExtractColumnFormat$Type();
class ExtractQuery$Type extends MessageType<ExtractQuery> { class ExtractQuery$Type extends MessageType<ExtractQuery> {
constructor() { constructor() {
super("api.ExtractQuery", [ super("api.ExtractQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "UserId", kind: "scalar", localName: "UserId", jsonName: "UserId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "UserId", kind: "scalar", localName: "UserId", jsonName: "UserId", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }, { no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 4, name: "Fields", kind: "scalar", localName: "Fields", jsonName: "Fields", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 4, name: "Fields", kind: "scalar", localName: "Fields", jsonName: "Fields", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 5, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 6, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 6, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 7, name: "ColumnNames", kind: "scalar", localName: "ColumnNames", jsonName: "ColumnNames", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 7, name: "ColumnNames", kind: "scalar", localName: "ColumnNames", jsonName: "ColumnNames", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } }, { no: 8, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } },
{ no: 9, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } }, { no: 9, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } },
{ no: 10, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "validate.rules": { string: { minLen: "1", tzData: true } } } }, { no: 10, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } },
{ no: 11, name: "DateFormat", kind: "scalar", localName: "DateFormat", jsonName: "DateFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format dates <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } }, { no: 11, name: "DateFormat", kind: "scalar", localName: "DateFormat", jsonName: "DateFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format dates <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
{ no: 12, name: "NumberFormat", kind: "scalar", localName: "NumberFormat", jsonName: "NumberFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format numbers <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } }, { no: 12, name: "NumberFormat", kind: "scalar", localName: "NumberFormat", jsonName: "NumberFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format numbers <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
{ no: 13, name: "TimeFormat", kind: "enum", localName: "TimeFormat", jsonName: "TimeFormat", T: () => ["api.TimeFormat", TimeFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Hour clock time format" } } } { no: 13, name: "TimeFormat", kind: "enum", localName: "TimeFormat", jsonName: "TimeFormat", T: () => ["api.TimeFormat", TimeFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Hour clock time format" } } }
@@ -6931,8 +6931,8 @@ export const ExtractResult = new ExtractResult$Type();
class CountLinesQuery$Type extends MessageType<CountLinesQuery> { class CountLinesQuery$Type extends MessageType<CountLinesQuery> {
constructor() { constructor() {
super("api.CountLinesQuery", [ super("api.CountLinesQuery", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Partition", kind: "scalar", localName: "Partition", jsonName: "Partition", T: 5 /*ScalarType.INT32*/, options: { "validate.rules": { int32: { gte: 0 } } } } { no: 2, name: "Partition", kind: "scalar", localName: "Partition", jsonName: "Partition", T: 5 /*ScalarType.INT32*/, options: { "n1validate.rules": { int32: { gte: 0 } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
} }
create(value?: PartialMessage<CountLinesQuery>): CountLinesQuery { create(value?: PartialMessage<CountLinesQuery>): CountLinesQuery {
@@ -7033,7 +7033,7 @@ export const CountLinesResult = new CountLinesResult$Type();
class Scope$Type extends MessageType<Scope> { class Scope$Type extends MessageType<Scope> {
constructor() { constructor() {
super("api.Scope", [ super("api.Scope", [
{ no: 1, name: "Service", kind: "scalar", localName: "Service", jsonName: "Service", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "Service", kind: "scalar", localName: "Service", jsonName: "Service", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Method", kind: "scalar", localName: "Method", jsonName: "Method", T: 9 /*ScalarType.STRING*/ }, { no: 2, name: "Method", kind: "scalar", localName: "Method", jsonName: "Method", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "RscType", kind: "enum", localName: "RscType", jsonName: "RscType", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"] }, { no: 3, name: "RscType", kind: "enum", localName: "RscType", jsonName: "RscType", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"] },
{ no: 4, name: "PlatformReserved", kind: "scalar", localName: "PlatformReserved", jsonName: "PlatformReserved", T: 8 /*ScalarType.BOOL*/ }, { no: 4, name: "PlatformReserved", kind: "scalar", localName: "PlatformReserved", jsonName: "PlatformReserved", T: 8 /*ScalarType.BOOL*/ },
@@ -7207,8 +7207,8 @@ export const ClientAPI = new ClientAPI$Type();
class Permission$Type extends MessageType<Permission> { class Permission$Type extends MessageType<Permission> {
constructor() { constructor() {
super("api.Permission", [ super("api.Permission", [
{ no: 1, name: "Client", kind: "scalar", localName: "Client", jsonName: "Client", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "Client", kind: "scalar", localName: "Client", jsonName: "Client", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Scopes", kind: "message", localName: "Scopes", jsonName: "Scopes", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Scope, options: { "validate.rules": { repeated: { minItems: "1" } } } } { no: 2, name: "Scopes", kind: "message", localName: "Scopes", jsonName: "Scopes", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Scope, options: { "n1validate.rules": { repeated: { minItems: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Client", "Scopes"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Client", "Scopes"] } } });
} }
create(value?: PartialMessage<Permission>): Permission { create(value?: PartialMessage<Permission>): Permission {
@@ -7325,9 +7325,9 @@ export const UserUIPermissions = new UserUIPermissions$Type();
class ElementByMatchQuery$Type extends MessageType<ElementByMatchQuery> { class ElementByMatchQuery$Type extends MessageType<ElementByMatchQuery> {
constructor() { constructor() {
super("api.ElementByMatchQuery", [ super("api.ElementByMatchQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter }, { no: 2, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
{ no: 3, name: "MatchElementField", kind: "message", localName: "MatchElementField", jsonName: "MatchElementField", T: () => MatchElementField, options: { "validate.rules": { message: { required: true } } } } { no: 3, name: "MatchElementField", kind: "message", localName: "MatchElementField", jsonName: "MatchElementField", T: () => MatchElementField, options: { "n1validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
} }
create(value?: PartialMessage<ElementByMatchQuery>): ElementByMatchQuery { create(value?: PartialMessage<ElementByMatchQuery>): ElementByMatchQuery {
@@ -7433,8 +7433,8 @@ export const ElementByMatchResult = new ElementByMatchResult$Type();
class MatchElementField$Type extends MessageType<MatchElementField> { class MatchElementField$Type extends MessageType<MatchElementField> {
constructor() { constructor() {
super("api.MatchElementField", [ super("api.MatchElementField", [
{ no: 1, name: "Match", kind: "scalar", localName: "Match", jsonName: "Match", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Value required for the search", example: "\"ObjectID\"" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "Match", kind: "scalar", localName: "Match", jsonName: "Match", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Value required for the search", example: "\"ObjectID\"" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" }, "validate.rules": { repeated: { minItems: "1" } } } } { no: 2, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" }, "n1validate.rules": { repeated: { minItems: "1" } } } }
]); ]);
} }
create(value?: PartialMessage<MatchElementField>): MatchElementField { create(value?: PartialMessage<MatchElementField>): MatchElementField {
@@ -7552,7 +7552,7 @@ class LabelByLanguage$Type extends MessageType<LabelByLanguage> {
constructor() { constructor() {
super("api.LabelByLanguage", [ super("api.LabelByLanguage", [
{ no: 1, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/ }, { no: 1, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" }, "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } } { no: 2, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } }
]); ]);
} }
create(value?: PartialMessage<LabelByLanguage>): LabelByLanguage { create(value?: PartialMessage<LabelByLanguage>): LabelByLanguage {

View File

@@ -38,8 +38,8 @@ export interface NextCounterResult {
class NextProjectCounterRequest$Type extends MessageType<NextProjectCounterRequest> { class NextProjectCounterRequest$Type extends MessageType<NextProjectCounterRequest> {
constructor() { constructor() {
super("vizapi.NextProjectCounterRequest", [ super("vizapi.NextProjectCounterRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.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" } } } } { 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\"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Key"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Key"] } } });
} }
create(value?: PartialMessage<NextProjectCounterRequest>): NextProjectCounterRequest { create(value?: PartialMessage<NextProjectCounterRequest>): NextProjectCounterRequest {

View File

@@ -2,8 +2,8 @@
export * from './counter.client' export * from './counter.client'
export * from './counter' export * from './counter'
export * from './n1validate'
export * from './openapiv2' export * from './openapiv2'
export * from './validate'
export * from './visibility' export * from './visibility'
export * from './viz-composed-field.client' export * from './viz-composed-field.client'
export * from './viz-composed-field' export * from './viz-composed-field'

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +1,12 @@
{ {
"name": "@reflex-platform/npm-viz-sdk", "name": "@reflex-platform/npm-viz-sdk",
"version": "1.13.0-SNAPSHOT-260413122711", "version": "1.15.0-SNAPSHOT-260715140413",
"description": "npm libs from visibility model proto files", "description": "npm libs from visibility model proto files",
"homepage": "", "homepage": "https://git.dev.reflex-platform.com/reflex-platform",
"main": "index.ts", "main": "index.ts",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "" "url": "git+https://git.dev.reflex-platform.com/reflex-platform/npm-viz-sdk.git"
}, },
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"

View File

@@ -455,7 +455,7 @@ class ComposedField$Type extends MessageType<ComposedField> {
super("vizapi.ComposedField", [ super("vizapi.ComposedField", [
{ no: 1, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" } } }, { no: 1, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Composed Field" } } }, { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Composed Field" } } },
{ no: 3, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the project" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" } } }, { no: 4, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" } } },
{ no: 5, name: "CreateUserID", kind: "scalar", localName: "CreateUserID", jsonName: "CreateUserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the user who created" } } }, { no: 5, name: "CreateUserID", kind: "scalar", localName: "CreateUserID", jsonName: "CreateUserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the user who created" } } },
{ no: 6, name: "UpdateUserID", kind: "scalar", localName: "UpdateUserID", jsonName: "UpdateUserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the user who did the last update" } } }, { no: 6, name: "UpdateUserID", kind: "scalar", localName: "UpdateUserID", jsonName: "UpdateUserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the user who did the last update" } } },
@@ -572,8 +572,8 @@ export const ComposedField = new ComposedField$Type();
class GetComposedFieldRequest$Type extends MessageType<GetComposedFieldRequest> { class GetComposedFieldRequest$Type extends MessageType<GetComposedFieldRequest> {
constructor() { constructor() {
super("vizapi.GetComposedFieldRequest", [ super("vizapi.GetComposedFieldRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Composed Field", required: ["Header", "ComposedFieldID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Composed Field", required: ["Header", "ComposedFieldID"] } } });
} }
create(value?: PartialMessage<GetComposedFieldRequest>): GetComposedFieldRequest { create(value?: PartialMessage<GetComposedFieldRequest>): GetComposedFieldRequest {
@@ -672,11 +672,11 @@ export const GetComposedFieldResult = new GetComposedFieldResult$Type();
class CreateComposedFieldRequest$Type extends MessageType<CreateComposedFieldRequest> { class CreateComposedFieldRequest$Type extends MessageType<CreateComposedFieldRequest> {
constructor() { constructor() {
super("vizapi.CreateComposedFieldRequest", [ super("vizapi.CreateComposedFieldRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content in the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } } { no: 5, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content in the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Content that needs to be stored ", required: ["Header", "Name", "ScreenID", "TabID", "Payload"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Content that needs to be stored ", required: ["Header", "Name", "ScreenID", "TabID", "Payload"] } } });
} }
create(value?: PartialMessage<CreateComposedFieldRequest>): CreateComposedFieldRequest { create(value?: PartialMessage<CreateComposedFieldRequest>): CreateComposedFieldRequest {
@@ -797,12 +797,12 @@ export const CreateComposedFieldResult = new CreateComposedFieldResult$Type();
class UpdateComposedFieldRequest$Type extends MessageType<UpdateComposedFieldRequest> { class UpdateComposedFieldRequest$Type extends MessageType<UpdateComposedFieldRequest> {
constructor() { constructor() {
super("vizapi.UpdateComposedFieldRequest", [ super("vizapi.UpdateComposedFieldRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 5, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 6, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content in the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } } { no: 6, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content in the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Content that needs to be updated", required: ["Header", "ComposedFieldID", "Name", "ScreenID", "TabID", "Payload"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Content that needs to be updated", required: ["Header", "ComposedFieldID", "Name", "ScreenID", "TabID", "Payload"] } } });
} }
create(value?: PartialMessage<UpdateComposedFieldRequest>): UpdateComposedFieldRequest { create(value?: PartialMessage<UpdateComposedFieldRequest>): UpdateComposedFieldRequest {
@@ -930,8 +930,8 @@ export const UpdateComposedFieldResult = new UpdateComposedFieldResult$Type();
class DeleteComposedFieldRequest$Type extends MessageType<DeleteComposedFieldRequest> { class DeleteComposedFieldRequest$Type extends MessageType<DeleteComposedFieldRequest> {
constructor() { constructor() {
super("vizapi.DeleteComposedFieldRequest", [ super("vizapi.DeleteComposedFieldRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Composed Field to be deleted", required: ["Header", "ComposedFieldID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Composed Field to be deleted", required: ["Header", "ComposedFieldID"] } } });
} }
create(value?: PartialMessage<DeleteComposedFieldRequest>): DeleteComposedFieldRequest { create(value?: PartialMessage<DeleteComposedFieldRequest>): DeleteComposedFieldRequest {
@@ -1022,7 +1022,7 @@ export const DeleteComposedFieldResult = new DeleteComposedFieldResult$Type();
class ListComposedFieldRequest$Type extends MessageType<ListComposedFieldRequest> { class ListComposedFieldRequest$Type extends MessageType<ListComposedFieldRequest> {
constructor() { constructor() {
super("vizapi.ListComposedFieldRequest", [ super("vizapi.ListComposedFieldRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" } } }, { no: 2, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" } } },
{ no: 3, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" } } } { no: 3, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
@@ -1131,8 +1131,8 @@ export const ListComposedFieldResult = new ListComposedFieldResult$Type();
class GetProjectComposedFieldRequest$Type extends MessageType<GetProjectComposedFieldRequest> { class GetProjectComposedFieldRequest$Type extends MessageType<GetProjectComposedFieldRequest> {
constructor() { constructor() {
super("vizapi.GetProjectComposedFieldRequest", [ super("vizapi.GetProjectComposedFieldRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Composed Field", required: ["Header", "ComposedFieldID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Composed Field", required: ["Header", "ComposedFieldID"] } } });
} }
create(value?: PartialMessage<GetProjectComposedFieldRequest>): GetProjectComposedFieldRequest { create(value?: PartialMessage<GetProjectComposedFieldRequest>): GetProjectComposedFieldRequest {
@@ -1231,11 +1231,11 @@ export const GetProjectComposedFieldResult = new GetProjectComposedFieldResult$T
class CreateProjectComposedFieldRequest$Type extends MessageType<CreateProjectComposedFieldRequest> { class CreateProjectComposedFieldRequest$Type extends MessageType<CreateProjectComposedFieldRequest> {
constructor() { constructor() {
super("vizapi.CreateProjectComposedFieldRequest", [ super("vizapi.CreateProjectComposedFieldRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content in the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } } { no: 5, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content in the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Content that needs to be stored ", required: ["Header", "Name", "ScreenID", "TabID", "Payload"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Content that needs to be stored ", required: ["Header", "Name", "ScreenID", "TabID", "Payload"] } } });
} }
create(value?: PartialMessage<CreateProjectComposedFieldRequest>): CreateProjectComposedFieldRequest { create(value?: PartialMessage<CreateProjectComposedFieldRequest>): CreateProjectComposedFieldRequest {
@@ -1356,12 +1356,12 @@ export const CreateProjectComposedFieldResult = new CreateProjectComposedFieldRe
class UpdateProjectComposedFieldRequest$Type extends MessageType<UpdateProjectComposedFieldRequest> { class UpdateProjectComposedFieldRequest$Type extends MessageType<UpdateProjectComposedFieldRequest> {
constructor() { constructor() {
super("vizapi.UpdateProjectComposedFieldRequest", [ super("vizapi.UpdateProjectComposedFieldRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 5, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 6, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content in the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } } { no: 6, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content in the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Content that needs to be updated", required: ["Header", "ComposedFieldID", "Name", "ScreenID", "TabID", "Payload"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Content that needs to be updated", required: ["Header", "ComposedFieldID", "Name", "ScreenID", "TabID", "Payload"] } } });
} }
create(value?: PartialMessage<UpdateProjectComposedFieldRequest>): UpdateProjectComposedFieldRequest { create(value?: PartialMessage<UpdateProjectComposedFieldRequest>): UpdateProjectComposedFieldRequest {
@@ -1489,8 +1489,8 @@ export const UpdateProjectComposedFieldResult = new UpdateProjectComposedFieldRe
class DeleteProjectComposedFieldRequest$Type extends MessageType<DeleteProjectComposedFieldRequest> { class DeleteProjectComposedFieldRequest$Type extends MessageType<DeleteProjectComposedFieldRequest> {
constructor() { constructor() {
super("vizapi.DeleteProjectComposedFieldRequest", [ super("vizapi.DeleteProjectComposedFieldRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "ComposedFieldID", kind: "scalar", localName: "ComposedFieldID", jsonName: "ComposedFieldID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Composed Field" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Composed Field to be deleted", required: ["Header", "ComposedFieldID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Composed Field to be deleted", required: ["Header", "ComposedFieldID"] } } });
} }
create(value?: PartialMessage<DeleteProjectComposedFieldRequest>): DeleteProjectComposedFieldRequest { create(value?: PartialMessage<DeleteProjectComposedFieldRequest>): DeleteProjectComposedFieldRequest {
@@ -1581,7 +1581,7 @@ export const DeleteProjectComposedFieldResult = new DeleteProjectComposedFieldRe
class ListProjectComposedFieldRequest$Type extends MessageType<ListProjectComposedFieldRequest> { class ListProjectComposedFieldRequest$Type extends MessageType<ListProjectComposedFieldRequest> {
constructor() { constructor() {
super("vizapi.ListProjectComposedFieldRequest", [ super("vizapi.ListProjectComposedFieldRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" } } }, { no: 2, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" } } },
{ no: 3, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" } } } { no: 3, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });

View File

@@ -653,7 +653,7 @@ export const Dashboard = new Dashboard$Type();
class ListDashboardRequest$Type extends MessageType<ListDashboardRequest> { class ListDashboardRequest$Type extends MessageType<ListDashboardRequest> {
constructor() { constructor() {
super("vizapi.ListDashboardRequest", [ super("vizapi.ListDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } } { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
} }
create(value?: PartialMessage<ListDashboardRequest>): ListDashboardRequest { create(value?: PartialMessage<ListDashboardRequest>): ListDashboardRequest {
@@ -746,8 +746,8 @@ export const ListDashboardResult = new ListDashboardResult$Type();
class CreateDashboardRequest$Type extends MessageType<CreateDashboardRequest> { class CreateDashboardRequest$Type extends MessageType<CreateDashboardRequest> {
constructor() { constructor() {
super("vizapi.CreateDashboardRequest", [ super("vizapi.CreateDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "content", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All widgets in Dashboard" } } }, { no: 3, name: "content", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All widgets in Dashboard" } } },
{ no: 4, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the Dashboard" } } }, { no: 4, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the Dashboard" } } },
{ no: 8, name: "AutoRefresh", kind: "scalar", localName: "AutoRefresh", jsonName: "AutoRefresh", T: 5 /*ScalarType.INT32*/ } { no: 8, name: "AutoRefresh", kind: "scalar", localName: "AutoRefresh", jsonName: "AutoRefresh", T: 5 /*ScalarType.INT32*/ }
@@ -870,8 +870,8 @@ export const CreateDashboardResult = new CreateDashboardResult$Type();
class DeleteDashboardRequest$Type extends MessageType<DeleteDashboardRequest> { class DeleteDashboardRequest$Type extends MessageType<DeleteDashboardRequest> {
constructor() { constructor() {
super("vizapi.DeleteDashboardRequest", [ super("vizapi.DeleteDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Dashboard to be deleted", required: ["Header", "DashboardID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Dashboard to be deleted", required: ["Header", "DashboardID"] } } });
} }
create(value?: PartialMessage<DeleteDashboardRequest>): DeleteDashboardRequest { create(value?: PartialMessage<DeleteDashboardRequest>): DeleteDashboardRequest {
@@ -962,7 +962,7 @@ export const DeleteDashboardResult = new DeleteDashboardResult$Type();
class DeleteDashboardsForOrganisationRequest$Type extends MessageType<DeleteDashboardsForOrganisationRequest> { class DeleteDashboardsForOrganisationRequest$Type extends MessageType<DeleteDashboardsForOrganisationRequest> {
constructor() { constructor() {
super("vizapi.DeleteDashboardsForOrganisationRequest", [ super("vizapi.DeleteDashboardsForOrganisationRequest", [
{ no: 2, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Organization" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Organization" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Organization identifier to delete the dashboards from", required: ["OrganisationID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Organization identifier to delete the dashboards from", required: ["OrganisationID"] } } });
} }
create(value?: PartialMessage<DeleteDashboardsForOrganisationRequest>): DeleteDashboardsForOrganisationRequest { create(value?: PartialMessage<DeleteDashboardsForOrganisationRequest>): DeleteDashboardsForOrganisationRequest {
@@ -1047,7 +1047,7 @@ export const DeleteDashboardsForOrganisationResult = new DeleteDashboardsForOrga
class DeleteDashboardsForProjectRequest$Type extends MessageType<DeleteDashboardsForProjectRequest> { class DeleteDashboardsForProjectRequest$Type extends MessageType<DeleteDashboardsForProjectRequest> {
constructor() { constructor() {
super("vizapi.DeleteDashboardsForProjectRequest", [ super("vizapi.DeleteDashboardsForProjectRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Project" }, "validate.rules": { string: { minLen: "1" } } } } { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Project" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Project identifier to delete the dashboards from", required: ["ProjectID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Project identifier to delete the dashboards from", required: ["ProjectID"] } } });
} }
create(value?: PartialMessage<DeleteDashboardsForProjectRequest>): DeleteDashboardsForProjectRequest { create(value?: PartialMessage<DeleteDashboardsForProjectRequest>): DeleteDashboardsForProjectRequest {
@@ -1132,8 +1132,8 @@ export const DeleteDashboardsForProjectResult = new DeleteDashboardsForProjectRe
class UpdateDashboardRequest$Type extends MessageType<UpdateDashboardRequest> { class UpdateDashboardRequest$Type extends MessageType<UpdateDashboardRequest> {
constructor() { constructor() {
super("vizapi.UpdateDashboardRequest", [ super("vizapi.UpdateDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Name", kind: "message", localName: "Name", jsonName: "Name", T: () => StringObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Dashboard" } } }, { no: 3, name: "Name", kind: "message", localName: "Name", jsonName: "Name", T: () => StringObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Dashboard" } } },
{ no: 4, name: "Content", kind: "message", localName: "Content", jsonName: "Content", T: () => StringObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All the widgets in Dashboard" } } }, { no: 4, name: "Content", kind: "message", localName: "Content", jsonName: "Content", T: () => StringObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All the widgets in Dashboard" } } },
{ no: 5, name: "IsPrivate", kind: "message", localName: "IsPrivate", jsonName: "IsPrivate", T: () => BoolObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the Dashboard" } } }, { no: 5, name: "IsPrivate", kind: "message", localName: "IsPrivate", jsonName: "IsPrivate", T: () => BoolObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the Dashboard" } } },
@@ -1260,8 +1260,8 @@ export const UpdateDashboardResult = new UpdateDashboardResult$Type();
class GetDashboardRequest$Type extends MessageType<GetDashboardRequest> { class GetDashboardRequest$Type extends MessageType<GetDashboardRequest> {
constructor() { constructor() {
super("vizapi.GetDashboardRequest", [ super("vizapi.GetDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Dashboard", required: ["Header", "DashboardID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Dashboard", required: ["Header", "DashboardID"] } } });
} }
create(value?: PartialMessage<GetDashboardRequest>): GetDashboardRequest { create(value?: PartialMessage<GetDashboardRequest>): GetDashboardRequest {
@@ -1360,9 +1360,9 @@ export const GetDashboardResult = new GetDashboardResult$Type();
class CopyDashboardRequest$Type extends MessageType<CopyDashboardRequest> { class CopyDashboardRequest$Type extends MessageType<CopyDashboardRequest> {
constructor() { constructor() {
super("vizapi.CopyDashboardRequest", [ super("vizapi.CopyDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the new Dashboard" }, "validate.rules": { string: { minLen: "1" } } } } { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the new Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "DashboardID", "Name"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "DashboardID", "Name"] } } });
} }
create(value?: PartialMessage<CopyDashboardRequest>): CopyDashboardRequest { create(value?: PartialMessage<CopyDashboardRequest>): CopyDashboardRequest {
@@ -1468,7 +1468,7 @@ export const CopyDashboardResult = new CopyDashboardResult$Type();
class ListProjectDashboardRequest$Type extends MessageType<ListProjectDashboardRequest> { class ListProjectDashboardRequest$Type extends MessageType<ListProjectDashboardRequest> {
constructor() { constructor() {
super("vizapi.ListProjectDashboardRequest", [ super("vizapi.ListProjectDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } } { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
} }
create(value?: PartialMessage<ListProjectDashboardRequest>): ListProjectDashboardRequest { create(value?: PartialMessage<ListProjectDashboardRequest>): ListProjectDashboardRequest {
@@ -1561,8 +1561,8 @@ export const ListProjectDashboardResult = new ListProjectDashboardResult$Type();
class CreateProjectDashboardRequest$Type extends MessageType<CreateProjectDashboardRequest> { class CreateProjectDashboardRequest$Type extends MessageType<CreateProjectDashboardRequest> {
constructor() { constructor() {
super("vizapi.CreateProjectDashboardRequest", [ super("vizapi.CreateProjectDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "content", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All widgets in Dashboard" } } }, { no: 3, name: "content", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All widgets in Dashboard" } } },
{ no: 4, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the Dashboard" } } }, { no: 4, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the Dashboard" } } },
{ no: 8, name: "AutoRefresh", kind: "scalar", localName: "AutoRefresh", jsonName: "AutoRefresh", T: 5 /*ScalarType.INT32*/ } { no: 8, name: "AutoRefresh", kind: "scalar", localName: "AutoRefresh", jsonName: "AutoRefresh", T: 5 /*ScalarType.INT32*/ }
@@ -1685,8 +1685,8 @@ export const CreateProjectDashboardResult = new CreateProjectDashboardResult$Typ
class DeleteProjectDashboardRequest$Type extends MessageType<DeleteProjectDashboardRequest> { class DeleteProjectDashboardRequest$Type extends MessageType<DeleteProjectDashboardRequest> {
constructor() { constructor() {
super("vizapi.DeleteProjectDashboardRequest", [ super("vizapi.DeleteProjectDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Dashboard to be deleted", required: ["Header", "DashboardID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Dashboard to be deleted", required: ["Header", "DashboardID"] } } });
} }
create(value?: PartialMessage<DeleteProjectDashboardRequest>): DeleteProjectDashboardRequest { create(value?: PartialMessage<DeleteProjectDashboardRequest>): DeleteProjectDashboardRequest {
@@ -1777,8 +1777,8 @@ export const DeleteProjectDashboardResult = new DeleteProjectDashboardResult$Typ
class UpdateProjectDashboardRequest$Type extends MessageType<UpdateProjectDashboardRequest> { class UpdateProjectDashboardRequest$Type extends MessageType<UpdateProjectDashboardRequest> {
constructor() { constructor() {
super("vizapi.UpdateProjectDashboardRequest", [ super("vizapi.UpdateProjectDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Name", kind: "message", localName: "Name", jsonName: "Name", T: () => StringObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Dashboard" } } }, { no: 3, name: "Name", kind: "message", localName: "Name", jsonName: "Name", T: () => StringObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the Dashboard" } } },
{ no: 4, name: "Content", kind: "message", localName: "Content", jsonName: "Content", T: () => StringObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All the widgets in Dashboard" } } }, { no: 4, name: "Content", kind: "message", localName: "Content", jsonName: "Content", T: () => StringObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All the widgets in Dashboard" } } },
{ no: 5, name: "IsPrivate", kind: "message", localName: "IsPrivate", jsonName: "IsPrivate", T: () => BoolObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the Dashboard" } } }, { no: 5, name: "IsPrivate", kind: "message", localName: "IsPrivate", jsonName: "IsPrivate", T: () => BoolObject, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the Dashboard" } } },
@@ -1905,8 +1905,8 @@ export const UpdateProjectDashboardResult = new UpdateProjectDashboardResult$Typ
class GetProjectDashboardRequest$Type extends MessageType<GetProjectDashboardRequest> { class GetProjectDashboardRequest$Type extends MessageType<GetProjectDashboardRequest> {
constructor() { constructor() {
super("vizapi.GetProjectDashboardRequest", [ super("vizapi.GetProjectDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Dashboard", required: ["Header", "DashboardID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the Dashboard", required: ["Header", "DashboardID"] } } });
} }
create(value?: PartialMessage<GetProjectDashboardRequest>): GetProjectDashboardRequest { create(value?: PartialMessage<GetProjectDashboardRequest>): GetProjectDashboardRequest {
@@ -2005,9 +2005,9 @@ export const GetProjectDashboardResult = new GetProjectDashboardResult$Type();
class CopyProjectDashboardRequest$Type extends MessageType<CopyProjectDashboardRequest> { class CopyProjectDashboardRequest$Type extends MessageType<CopyProjectDashboardRequest> {
constructor() { constructor() {
super("vizapi.CopyProjectDashboardRequest", [ super("vizapi.CopyProjectDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the new Dashboard" }, "validate.rules": { string: { minLen: "1" } } } } { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the new Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "DashboardID", "Name"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "DashboardID", "Name"] } } });
} }
create(value?: PartialMessage<CopyProjectDashboardRequest>): CopyProjectDashboardRequest { create(value?: PartialMessage<CopyProjectDashboardRequest>): CopyProjectDashboardRequest {
@@ -2113,9 +2113,9 @@ export const CopyProjectDashboardResult = new CopyProjectDashboardResult$Type();
class SetOwnerDashboardRequest$Type extends MessageType<SetOwnerDashboardRequest> { class SetOwnerDashboardRequest$Type extends MessageType<SetOwnerDashboardRequest> {
constructor() { constructor() {
super("vizapi.SetOwnerDashboardRequest", [ super("vizapi.SetOwnerDashboardRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "DashboardID", kind: "scalar", localName: "DashboardID", jsonName: "DashboardID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the new owner of the Dashboard" }, "validate.rules": { string: { minLen: "1" } } } } { no: 3, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the new owner of the Dashboard" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Information to set the owner of a dashboard", required: ["Header", "DashboardID", "OwnerID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Information to set the owner of a dashboard", required: ["Header", "DashboardID", "OwnerID"] } } });
} }
create(value?: PartialMessage<SetOwnerDashboardRequest>): SetOwnerDashboardRequest { create(value?: PartialMessage<SetOwnerDashboardRequest>): SetOwnerDashboardRequest {

View File

@@ -85,8 +85,8 @@ export interface UpdatePlatformDefaultViewResult {
class UpdatePlatformDefaultViewRequest$Type extends MessageType<UpdatePlatformDefaultViewRequest> { class UpdatePlatformDefaultViewRequest$Type extends MessageType<UpdatePlatformDefaultViewRequest> {
constructor() { constructor() {
super("vizapi.UpdatePlatformDefaultViewRequest", [ super("vizapi.UpdatePlatformDefaultViewRequest", [
{ no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } } { no: 5, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ViewID", "Payload"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ViewID", "Payload"] } } });
} }
@@ -148,8 +148,8 @@ export const UpdatePlatformDefaultViewRequest = new UpdatePlatformDefaultViewReq
class CreatePlatformDefaultViewRequest$Type extends MessageType<CreatePlatformDefaultViewRequest> { class CreatePlatformDefaultViewRequest$Type extends MessageType<CreatePlatformDefaultViewRequest> {
constructor() { constructor() {
super("vizapi.CreatePlatformDefaultViewRequest", [ super("vizapi.CreatePlatformDefaultViewRequest", [
{ no: 1, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } } { no: 5, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ScreenID", "Payload"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ScreenID", "Payload"] } } });
} }

View File

@@ -415,8 +415,8 @@ export const MotdMessageRes = new MotdMessageRes$Type();
class CreateMotdRequest$Type extends MessageType<CreateMotdRequest> { class CreateMotdRequest$Type extends MessageType<CreateMotdRequest> {
constructor() { constructor() {
super("vizapi.CreateMotdRequest", [ super("vizapi.CreateMotdRequest", [
{ no: 1, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "validate.rules": { string: { dateIso8601: true } } } }, { no: 1, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "n1validate.rules": { string: { dateIso8601: true } } } },
{ no: 2, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "validate.rules": { string: { dateIso8601: true } } } }, { no: 2, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "n1validate.rules": { string: { dateIso8601: true } } } },
{ no: 3, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessage } { no: 3, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessage }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Message request with the content and the dates" } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Message request with the content and the dates" } } });
} }
@@ -479,8 +479,8 @@ class CreateMotdResult$Type extends MessageType<CreateMotdResult> {
constructor() { constructor() {
super("vizapi.CreateMotdResult", [ super("vizapi.CreateMotdResult", [
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/ }, { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "validate.rules": { string: { dateIso8601: true } } } }, { no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "n1validate.rules": { string: { dateIso8601: true } } } },
{ no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:01Z\"" }, "validate.rules": { string: { dateIso8601: true } } } }, { no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:01Z\"" }, "n1validate.rules": { string: { dateIso8601: true } } } },
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessageRes } { no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessageRes }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Message result with ID, content and dates" } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Message result with ID, content and dates" } } });
} }
@@ -550,8 +550,8 @@ class UpdateMotdRequest$Type extends MessageType<UpdateMotdRequest> {
constructor() { constructor() {
super("vizapi.UpdateMotdRequest", [ super("vizapi.UpdateMotdRequest", [
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/ }, { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "validate.rules": { string: { dateIso8601: true } } } }, { no: 2, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:00Z\"" }, "n1validate.rules": { string: { dateIso8601: true } } } },
{ no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:01Z\"" }, "validate.rules": { string: { dateIso8601: true } } } }, { no: 3, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z])", example: "\"2023-01-01T00:00:01Z\"" }, "n1validate.rules": { string: { dateIso8601: true } } } },
{ no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessage } { no: 4, name: "Message", kind: "message", localName: "Message", jsonName: "Message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MotdMessage }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Update an existing Message Of The Day using its key" } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Update an existing Message Of The Day using its key" } } });
} }
@@ -800,7 +800,7 @@ export const GetMotdResult = new GetMotdResult$Type();
class DeleteMotdRequest$Type extends MessageType<DeleteMotdRequest> { class DeleteMotdRequest$Type extends MessageType<DeleteMotdRequest> {
constructor() { constructor() {
super("vizapi.DeleteMotdRequest", [ super("vizapi.DeleteMotdRequest", [
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } } { no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID"] } } });
} }
create(value?: PartialMessage<DeleteMotdRequest>): DeleteMotdRequest { create(value?: PartialMessage<DeleteMotdRequest>): DeleteMotdRequest {

View File

@@ -255,10 +255,10 @@ export const OrganisationSetting = new OrganisationSetting$Type();
class PutOrganisationSettingRequest$Type extends MessageType<PutOrganisationSettingRequest> { class PutOrganisationSettingRequest$Type extends MessageType<PutOrganisationSettingRequest> {
constructor() { constructor() {
super("vizapi.PutOrganisationSettingRequest", [ super("vizapi.PutOrganisationSettingRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.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": { description: "Key: each key must be unique", example: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Key: each key must be unique", example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Visibility", kind: "enum", localName: "Visibility", jsonName: "Visibility", T: () => ["vizapi.SettingVisibility", SettingVisibility, "SETTING_VISIBILITY_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility: public or private. If private, only the organisation can see the setting. If public, all of the organisation and its projects users can see the setting.", example: "\"SETTING_VISIBILITY_PUBLIC\"" }, "validate.rules": { enum: { definedOnly: true } } } } { no: 4, name: "Visibility", kind: "enum", localName: "Visibility", jsonName: "Visibility", T: () => ["vizapi.SettingVisibility", SettingVisibility, "SETTING_VISIBILITY_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility: public or private. If private, only the organisation can see the setting. If public, all of the organisation and its projects users can see the setting.", example: "\"SETTING_VISIBILITY_PUBLIC\"" }, "n1validate.rules": { enum: { definedOnly: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair to store", required: ["Key", "Value", "Visibility", "Header"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair to store", required: ["Key", "Value", "Visibility", "Header"] } } });
} }
create(value?: PartialMessage<PutOrganisationSettingRequest>): PutOrganisationSettingRequest { create(value?: PartialMessage<PutOrganisationSettingRequest>): PutOrganisationSettingRequest {
@@ -388,8 +388,8 @@ export const PutOrganisationSettingResult = new PutOrganisationSettingResult$Typ
class GetOrganisationSettingRequest$Type extends MessageType<GetOrganisationSettingRequest> { class GetOrganisationSettingRequest$Type extends MessageType<GetOrganisationSettingRequest> {
constructor() { constructor() {
super("vizapi.GetOrganisationSettingRequest", [ super("vizapi.GetOrganisationSettingRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.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: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the organisation's setting to get", required: ["Header", "Key"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the organisation's setting to get", required: ["Header", "Key"] } } });
} }
create(value?: PartialMessage<GetOrganisationSettingRequest>): GetOrganisationSettingRequest { create(value?: PartialMessage<GetOrganisationSettingRequest>): GetOrganisationSettingRequest {
@@ -442,8 +442,8 @@ export const GetOrganisationSettingRequest = new GetOrganisationSettingRequest$T
class GetOrganisationSettingResult$Type extends MessageType<GetOrganisationSettingResult> { class GetOrganisationSettingResult$Type extends MessageType<GetOrganisationSettingResult> {
constructor() { constructor() {
super("vizapi.GetOrganisationSettingResult", [ super("vizapi.GetOrganisationSettingResult", [
{ no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Visibility", kind: "enum", localName: "Visibility", jsonName: "Visibility", T: () => ["vizapi.SettingVisibility", SettingVisibility, "SETTING_VISIBILITY_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility: public or private. If private, only the organisation can see the setting. If public, all of the organisation and its projects users can see the setting.", example: "\"SETTING_VISIBILITY_PUBLIC\"" } } } { no: 3, name: "Visibility", kind: "enum", localName: "Visibility", jsonName: "Visibility", T: () => ["vizapi.SettingVisibility", SettingVisibility, "SETTING_VISIBILITY_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility: public or private. If private, only the organisation can see the setting. If public, all of the organisation and its projects users can see the setting.", example: "\"SETTING_VISIBILITY_PUBLIC\"" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair response" } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair response" } } });
} }
@@ -505,8 +505,8 @@ export const GetOrganisationSettingResult = new GetOrganisationSettingResult$Typ
class DeleteOrganisationSettingRequest$Type extends MessageType<DeleteOrganisationSettingRequest> { class DeleteOrganisationSettingRequest$Type extends MessageType<DeleteOrganisationSettingRequest> {
constructor() { constructor() {
super("vizapi.DeleteOrganisationSettingRequest", [ super("vizapi.DeleteOrganisationSettingRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.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: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the organisation's setting to delete", required: ["Header", "Key"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the organisation's setting to delete", required: ["Header", "Key"] } } });
} }
create(value?: PartialMessage<DeleteOrganisationSettingRequest>): DeleteOrganisationSettingRequest { create(value?: PartialMessage<DeleteOrganisationSettingRequest>): DeleteOrganisationSettingRequest {
@@ -597,7 +597,7 @@ export const DeleteOrganisationSettingResult = new DeleteOrganisationSettingResu
class ListOrganisationSettingsRequest$Type extends MessageType<ListOrganisationSettingsRequest> { class ListOrganisationSettingsRequest$Type extends MessageType<ListOrganisationSettingsRequest> {
constructor() { constructor() {
super("vizapi.ListOrganisationSettingsRequest", [ super("vizapi.ListOrganisationSettingsRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } } { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "n1validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the organisation's setting to delete", required: ["Header"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the organisation's setting to delete", required: ["Header"] } } });
} }
create(value?: PartialMessage<ListOrganisationSettingsRequest>): ListOrganisationSettingsRequest { create(value?: PartialMessage<ListOrganisationSettingsRequest>): ListOrganisationSettingsRequest {
@@ -690,7 +690,7 @@ export const ListOrganisationSettingsResult = new ListOrganisationSettingsResult
class DeleteSettingsForOrganisationRequest$Type extends MessageType<DeleteSettingsForOrganisationRequest> { class DeleteSettingsForOrganisationRequest$Type extends MessageType<DeleteSettingsForOrganisationRequest> {
constructor() { constructor() {
super("vizapi.DeleteSettingsForOrganisationRequest", [ super("vizapi.DeleteSettingsForOrganisationRequest", [
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } } { no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Organisation to delete settings from", required: ["OrganisationID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Organisation to delete settings from", required: ["OrganisationID"] } } });
} }
create(value?: PartialMessage<DeleteSettingsForOrganisationRequest>): DeleteSettingsForOrganisationRequest { create(value?: PartialMessage<DeleteSettingsForOrganisationRequest>): DeleteSettingsForOrganisationRequest {

View File

@@ -235,9 +235,9 @@ export const ProjectSetting = new ProjectSetting$Type();
class PutProjectSettingRequest$Type extends MessageType<PutProjectSettingRequest> { class PutProjectSettingRequest$Type extends MessageType<PutProjectSettingRequest> {
constructor() { constructor() {
super("vizapi.PutProjectSettingRequest", [ super("vizapi.PutProjectSettingRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.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": { description: "Key: each key must be unique", example: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Key: each key must be unique", example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark \"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 3, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark \"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair to store", required: ["Key", "Value", "Header"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair to store", required: ["Key", "Value", "Header"] } } });
} }
create(value?: PartialMessage<PutProjectSettingRequest>): PutProjectSettingRequest { create(value?: PartialMessage<PutProjectSettingRequest>): PutProjectSettingRequest {
@@ -297,8 +297,8 @@ export const PutProjectSettingRequest = new PutProjectSettingRequest$Type();
class PutProjectSettingResult$Type extends MessageType<PutProjectSettingResult> { class PutProjectSettingResult$Type extends MessageType<PutProjectSettingResult> {
constructor() { constructor() {
super("vizapi.PutProjectSettingResult", [ super("vizapi.PutProjectSettingResult", [
{ no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair response" } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair response" } } });
} }
create(value?: PartialMessage<PutProjectSettingResult>): PutProjectSettingResult { create(value?: PartialMessage<PutProjectSettingResult>): PutProjectSettingResult {
@@ -352,8 +352,8 @@ export const PutProjectSettingResult = new PutProjectSettingResult$Type();
class GetProjectSettingRequest$Type extends MessageType<GetProjectSettingRequest> { class GetProjectSettingRequest$Type extends MessageType<GetProjectSettingRequest> {
constructor() { constructor() {
super("vizapi.GetProjectSettingRequest", [ super("vizapi.GetProjectSettingRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.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: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the project's setting to get", required: ["Header", "Key"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the project's setting to get", required: ["Header", "Key"] } } });
} }
create(value?: PartialMessage<GetProjectSettingRequest>): GetProjectSettingRequest { create(value?: PartialMessage<GetProjectSettingRequest>): GetProjectSettingRequest {
@@ -406,8 +406,8 @@ export const GetProjectSettingRequest = new GetProjectSettingRequest$Type();
class GetProjectSettingResult$Type extends MessageType<GetProjectSettingResult> { class GetProjectSettingResult$Type extends MessageType<GetProjectSettingResult> {
constructor() { constructor() {
super("vizapi.GetProjectSettingResult", [ super("vizapi.GetProjectSettingResult", [
{ no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair response" } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair response" } } });
} }
create(value?: PartialMessage<GetProjectSettingResult>): GetProjectSettingResult { create(value?: PartialMessage<GetProjectSettingResult>): GetProjectSettingResult {
@@ -461,8 +461,8 @@ export const GetProjectSettingResult = new GetProjectSettingResult$Type();
class DeleteProjectSettingRequest$Type extends MessageType<DeleteProjectSettingRequest> { class DeleteProjectSettingRequest$Type extends MessageType<DeleteProjectSettingRequest> {
constructor() { constructor() {
super("vizapi.DeleteProjectSettingRequest", [ super("vizapi.DeleteProjectSettingRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.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: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the project's setting to delete", required: ["Header", "Key"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the project's setting to delete", required: ["Header", "Key"] } } });
} }
create(value?: PartialMessage<DeleteProjectSettingRequest>): DeleteProjectSettingRequest { create(value?: PartialMessage<DeleteProjectSettingRequest>): DeleteProjectSettingRequest {
@@ -553,7 +553,7 @@ export const DeleteProjectSettingResult = new DeleteProjectSettingResult$Type();
class ListProjectSettingsRequest$Type extends MessageType<ListProjectSettingsRequest> { class ListProjectSettingsRequest$Type extends MessageType<ListProjectSettingsRequest> {
constructor() { constructor() {
super("vizapi.ListProjectSettingsRequest", [ super("vizapi.ListProjectSettingsRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } } { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Project's settings to list", required: ["Header"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Project's settings to list", required: ["Header"] } } });
} }
create(value?: PartialMessage<ListProjectSettingsRequest>): ListProjectSettingsRequest { create(value?: PartialMessage<ListProjectSettingsRequest>): ListProjectSettingsRequest {
@@ -646,7 +646,7 @@ export const ListProjectSettingsResult = new ListProjectSettingsResult$Type();
class ListProjectOrganisationSettingsRequest$Type extends MessageType<ListProjectOrganisationSettingsRequest> { class ListProjectOrganisationSettingsRequest$Type extends MessageType<ListProjectOrganisationSettingsRequest> {
constructor() { constructor() {
super("vizapi.ListProjectOrganisationSettingsRequest", [ super("vizapi.ListProjectOrganisationSettingsRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } } { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Project's organisation public settings to list", required: ["Header"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Project's organisation public settings to list", required: ["Header"] } } });
} }
create(value?: PartialMessage<ListProjectOrganisationSettingsRequest>): ListProjectOrganisationSettingsRequest { create(value?: PartialMessage<ListProjectOrganisationSettingsRequest>): ListProjectOrganisationSettingsRequest {
@@ -739,7 +739,7 @@ export const ListProjectOrganisationSettingsResult = new ListProjectOrganisation
class DeleteSettingsForProjectRequest$Type extends MessageType<DeleteSettingsForProjectRequest> { class DeleteSettingsForProjectRequest$Type extends MessageType<DeleteSettingsForProjectRequest> {
constructor() { constructor() {
super("vizapi.DeleteSettingsForProjectRequest", [ super("vizapi.DeleteSettingsForProjectRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } } { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Project to delete settings from", required: ["ProjectID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Project to delete settings from", required: ["ProjectID"] } } });
} }
create(value?: PartialMessage<DeleteSettingsForProjectRequest>): DeleteSettingsForProjectRequest { create(value?: PartialMessage<DeleteSettingsForProjectRequest>): DeleteSettingsForProjectRequest {

View File

@@ -37,7 +37,7 @@ export interface ListTabResult {
class ListTabRequest$Type extends MessageType<ListTabRequest> { class ListTabRequest$Type extends MessageType<ListTabRequest> {
constructor() { constructor() {
super("vizapi.ListTabRequest", [ super("vizapi.ListTabRequest", [
{ no: 1, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" }, "validate.rules": { string: { minLen: "1" } } } } { no: 1, name: "TabID", kind: "scalar", localName: "TabID", jsonName: "TabID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Tab" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["TabID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["TabID"] } } });
} }
create(value?: PartialMessage<ListTabRequest>): ListTabRequest { create(value?: PartialMessage<ListTabRequest>): ListTabRequest {

View File

@@ -185,8 +185,8 @@ export const UserSetting = new UserSetting$Type();
class PutUserSettingRequest$Type extends MessageType<PutUserSettingRequest> { class PutUserSettingRequest$Type extends MessageType<PutUserSettingRequest> {
constructor() { constructor() {
super("vizapi.PutUserSettingRequest", [ super("vizapi.PutUserSettingRequest", [
{ no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Key: each key must be unique", example: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Key: each key must be unique", example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark \"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark \"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair to store", required: ["Key", "Value"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair to store", required: ["Key", "Value"] } } });
} }
create(value?: PartialMessage<PutUserSettingRequest>): PutUserSettingRequest { create(value?: PartialMessage<PutUserSettingRequest>): PutUserSettingRequest {
@@ -240,8 +240,8 @@ export const PutUserSettingRequest = new PutUserSettingRequest$Type();
class PutUserSettingResult$Type extends MessageType<PutUserSettingResult> { class PutUserSettingResult$Type extends MessageType<PutUserSettingResult> {
constructor() { constructor() {
super("vizapi.PutUserSettingResult", [ super("vizapi.PutUserSettingResult", [
{ no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair response" } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair response" } } });
} }
create(value?: PartialMessage<PutUserSettingResult>): PutUserSettingResult { create(value?: PartialMessage<PutUserSettingResult>): PutUserSettingResult {
@@ -295,7 +295,7 @@ export const PutUserSettingResult = new PutUserSettingResult$Type();
class GetUserSettingRequest$Type extends MessageType<GetUserSettingRequest> { class GetUserSettingRequest$Type extends MessageType<GetUserSettingRequest> {
constructor() { constructor() {
super("vizapi.GetUserSettingRequest", [ super("vizapi.GetUserSettingRequest", [
{ no: 2, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the user's setting to get", required: ["Key"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the user's setting to get", required: ["Key"] } } });
} }
create(value?: PartialMessage<GetUserSettingRequest>): GetUserSettingRequest { create(value?: PartialMessage<GetUserSettingRequest>): GetUserSettingRequest {
@@ -342,8 +342,8 @@ export const GetUserSettingRequest = new GetUserSettingRequest$Type();
class GetUserSettingResult$Type extends MessageType<GetUserSettingResult> { class GetUserSettingResult$Type extends MessageType<GetUserSettingResult> {
constructor() { constructor() {
super("vizapi.GetUserSettingResult", [ super("vizapi.GetUserSettingResult", [
{ no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"dark\"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair response" } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key, Value pair response" } } });
} }
create(value?: PartialMessage<GetUserSettingResult>): GetUserSettingResult { create(value?: PartialMessage<GetUserSettingResult>): GetUserSettingResult {
@@ -397,7 +397,7 @@ export const GetUserSettingResult = new GetUserSettingResult$Type();
class DeleteUserSettingRequest$Type extends MessageType<DeleteUserSettingRequest> { class DeleteUserSettingRequest$Type extends MessageType<DeleteUserSettingRequest> {
constructor() { constructor() {
super("vizapi.DeleteUserSettingRequest", [ super("vizapi.DeleteUserSettingRequest", [
{ no: 2, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "Key", kind: "scalar", localName: "Key", jsonName: "Key", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"preferredTheme\"" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the user's setting to delete", required: ["Key"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Key of the user's setting to delete", required: ["Key"] } } });
} }
create(value?: PartialMessage<DeleteUserSettingRequest>): DeleteUserSettingRequest { create(value?: PartialMessage<DeleteUserSettingRequest>): DeleteUserSettingRequest {

View File

@@ -5,7 +5,7 @@ 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 { CrossExtractRequest } from "./viz-view"; import type { CrossExtractRequest } from "./viz-view";
import type { ExtractResult } from "./viz-view"; import type { ExtractResultBasic } from "./viz-view";
import type { ExtractRequest } from "./viz-view"; import type { ExtractRequest } from "./viz-view";
import type { SetOwnerViewResult } from "./viz-view"; import type { SetOwnerViewResult } from "./viz-view";
import type { SetOwnerViewRequest } from "./viz-view"; import type { SetOwnerViewRequest } from "./viz-view";
@@ -59,11 +59,11 @@ export interface IViewServiceClient {
/** /**
* @generated from protobuf rpc: Extract * @generated from protobuf rpc: Extract
*/ */
extract(input: ExtractRequest, options?: RpcOptions): UnaryCall<ExtractRequest, ExtractResult>; extract(input: ExtractRequest, options?: RpcOptions): UnaryCall<ExtractRequest, ExtractResultBasic>;
/** /**
* @generated from protobuf rpc: CrossExtract * @generated from protobuf rpc: CrossExtract
*/ */
crossExtract(input: CrossExtractRequest, options?: RpcOptions): UnaryCall<CrossExtractRequest, ExtractResult>; crossExtract(input: CrossExtractRequest, options?: RpcOptions): UnaryCall<CrossExtractRequest, ExtractResultBasic>;
} }
/** /**
* @generated from protobuf service vizapi.ViewService * @generated from protobuf service vizapi.ViewService
@@ -126,15 +126,15 @@ export class ViewServiceClient implements IViewServiceClient, ServiceInfo {
/** /**
* @generated from protobuf rpc: Extract * @generated from protobuf rpc: Extract
*/ */
extract(input: ExtractRequest, options?: RpcOptions): UnaryCall<ExtractRequest, ExtractResult> { extract(input: ExtractRequest, options?: RpcOptions): UnaryCall<ExtractRequest, ExtractResultBasic> {
const method = this.methods[7], opt = this._transport.mergeOptions(options); const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<ExtractRequest, ExtractResult>("unary", this._transport, method, opt, input); return stackIntercept<ExtractRequest, ExtractResultBasic>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: CrossExtract * @generated from protobuf rpc: CrossExtract
*/ */
crossExtract(input: CrossExtractRequest, options?: RpcOptions): UnaryCall<CrossExtractRequest, ExtractResult> { crossExtract(input: CrossExtractRequest, options?: RpcOptions): UnaryCall<CrossExtractRequest, ExtractResultBasic> {
const method = this.methods[8], opt = this._transport.mergeOptions(options); const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<CrossExtractRequest, ExtractResult>("unary", this._transport, method, opt, input); return stackIntercept<CrossExtractRequest, ExtractResultBasic>("unary", this._transport, method, opt, input);
} }
} }

View File

@@ -11,6 +11,8 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime"; import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime";
import { ExtractColumnFormat } from "./core/shared";
import { TranslationMap } from "./core/shared";
import { BlockFilter } from "./core/shared"; import { BlockFilter } from "./core/shared";
import { RequestProjectHeader } from "./core/shared"; import { RequestProjectHeader } from "./core/shared";
/** /**
@@ -321,55 +323,6 @@ export interface DeleteViewsForProjectRequest {
*/ */
export interface DeleteViewsForProjectResult { export interface DeleteViewsForProjectResult {
} }
/**
* @generated from protobuf message vizapi.TranslationMap
*/
export interface TranslationMap {
/**
* @generated from protobuf field: map<string, string> data = 1
*/
data: {
[key: string]: string;
};
}
/**
* @generated from protobuf message vizapi.ExtractColumnFormat
*/
export interface ExtractColumnFormat {
/**
* @generated from protobuf field: vizapi.ExtractColumnFormat.type Type = 1
*/
Type: ExtractColumnFormat_type;
/**
* @generated from protobuf field: string Format = 2
*/
Format: string;
/**
* @generated from protobuf field: vizapi.DisplayDate DisplayDate = 3
*/
DisplayDate: DisplayDate;
}
/**
* @generated from protobuf enum vizapi.ExtractColumnFormat.type
*/
export enum ExtractColumnFormat_type {
/**
* @generated from protobuf enum value: UNKNOWN = 0;
*/
UNKNOWN = 0,
/**
* @generated from protobuf enum value: DATE = 1;
*/
DATE = 1,
/**
* @generated from protobuf enum value: SUFFIX = 2;
*/
SUFFIX = 2,
/**
* @generated from protobuf enum value: NUMBER = 3;
*/
NUMBER = 3
}
/** /**
* @generated from protobuf message vizapi.ExtractRequest * @generated from protobuf message vizapi.ExtractRequest
*/ */
@@ -399,13 +352,13 @@ export interface ExtractRequest {
*/ */
DecimalSeparator: string; DecimalSeparator: string;
/** /**
* @generated from protobuf field: map<string, vizapi.TranslationMap> ColumnTranslationMaps = 8 * @generated from protobuf field: map<string, api.TranslationMap> ColumnTranslationMaps = 8
*/ */
ColumnTranslationMaps: { ColumnTranslationMaps: {
[key: string]: TranslationMap; [key: string]: TranslationMap;
}; };
/** /**
* @generated from protobuf field: map<int32, vizapi.ExtractColumnFormat> ColumnFormats = 9 * @generated from protobuf field: map<int32, api.ExtractColumnFormat> ColumnFormats = 9
*/ */
ColumnFormats: { ColumnFormats: {
[key: number]: ExtractColumnFormat; [key: number]: ExtractColumnFormat;
@@ -452,13 +405,13 @@ export interface CrossExtractRequest {
*/ */
DecimalSeparator: string; DecimalSeparator: string;
/** /**
* @generated from protobuf field: map<string, vizapi.TranslationMap> ColumnTranslationMaps = 5 * @generated from protobuf field: map<string, api.TranslationMap> ColumnTranslationMaps = 5
*/ */
ColumnTranslationMaps: { ColumnTranslationMaps: {
[key: string]: TranslationMap; [key: string]: TranslationMap;
}; };
/** /**
* @generated from protobuf field: map<int32, vizapi.ExtractColumnFormat> ColumnFormats = 6 * @generated from protobuf field: map<int32, api.ExtractColumnFormat> ColumnFormats = 6
*/ */
ColumnFormats: { ColumnFormats: {
[key: number]: ExtractColumnFormat; [key: number]: ExtractColumnFormat;
@@ -489,9 +442,9 @@ export interface CrossExtractRequest {
SearchTagUsers: string[]; SearchTagUsers: string[];
} }
/** /**
* @generated from protobuf message vizapi.ExtractResult * @generated from protobuf message vizapi.ExtractResultBasic
*/ */
export interface ExtractResult { export interface ExtractResultBasic {
/** /**
* @generated from protobuf field: string WorkflowID = 1 * @generated from protobuf field: string WorkflowID = 1
*/ */
@@ -572,7 +525,7 @@ class View$Type extends MessageType<View> {
constructor() { constructor() {
super("vizapi.View", [ super("vizapi.View", [
{ no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" } } }, { no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" } } },
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Project" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Project" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the screen" } } }, { no: 3, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the screen" } } },
{ no: 4, name: "CreateUserID", kind: "scalar", localName: "CreateUserID", jsonName: "CreateUserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the user who created" } } }, { no: 4, name: "CreateUserID", kind: "scalar", localName: "CreateUserID", jsonName: "CreateUserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the user who created" } } },
{ no: 5, name: "UpdateUserID", kind: "scalar", localName: "UpdateUserID", jsonName: "UpdateUserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the user who did last update" } } }, { no: 5, name: "UpdateUserID", kind: "scalar", localName: "UpdateUserID", jsonName: "UpdateUserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the user who did last update" } } },
@@ -785,8 +738,8 @@ export const ComposedUserView = new ComposedUserView$Type();
class GetViewRequest$Type extends MessageType<GetViewRequest> { class GetViewRequest$Type extends MessageType<GetViewRequest> {
constructor() { constructor() {
super("vizapi.GetViewRequest", [ super("vizapi.GetViewRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the View", required: ["Header", "ViewID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the View", required: ["Header", "ViewID"] } } });
} }
create(value?: PartialMessage<GetViewRequest>): GetViewRequest { create(value?: PartialMessage<GetViewRequest>): GetViewRequest {
@@ -885,9 +838,9 @@ export const GetViewResult = new GetViewResult$Type();
class CreateViewRequest$Type extends MessageType<CreateViewRequest> { class CreateViewRequest$Type extends MessageType<CreateViewRequest> {
constructor() { constructor() {
super("vizapi.CreateViewRequest", [ super("vizapi.CreateViewRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the View" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the View" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" } } }, { no: 5, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" } } },
{ no: 7, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } } { no: 7, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Information that needs to be stored", required: ["Header", "Name", "ScreenID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Information that needs to be stored", required: ["Header", "Name", "ScreenID"] } } });
@@ -1010,11 +963,11 @@ export const CreateViewResult = new CreateViewResult$Type();
class UpdateViewRequest$Type extends MessageType<UpdateViewRequest> { class UpdateViewRequest$Type extends MessageType<UpdateViewRequest> {
constructor() { constructor() {
super("vizapi.UpdateViewRequest", [ super("vizapi.UpdateViewRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the View" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the View" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 6, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 6, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 8, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } } { no: 8, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Information that needs to be updated", required: ["Header", "ViewID", "Name", "ScreenID", "Payload"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Information that needs to be updated", required: ["Header", "ViewID", "Name", "ScreenID", "Payload"] } } });
} }
@@ -1143,8 +1096,8 @@ export const UpdateViewResult = new UpdateViewResult$Type();
class DeleteViewRequest$Type extends MessageType<DeleteViewRequest> { class DeleteViewRequest$Type extends MessageType<DeleteViewRequest> {
constructor() { constructor() {
super("vizapi.DeleteViewRequest", [ super("vizapi.DeleteViewRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "validate.rules": { string: { minLen: "1" } } } } { no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the View to be deleted", required: ["Header", "ViewID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the View to be deleted", required: ["Header", "ViewID"] } } });
} }
create(value?: PartialMessage<DeleteViewRequest>): DeleteViewRequest { create(value?: PartialMessage<DeleteViewRequest>): DeleteViewRequest {
@@ -1235,7 +1188,7 @@ export const DeleteViewResult = new DeleteViewResult$Type();
class ListViewRequest$Type extends MessageType<ListViewRequest> { class ListViewRequest$Type extends MessageType<ListViewRequest> {
constructor() { constructor() {
super("vizapi.ListViewRequest", [ super("vizapi.ListViewRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" } } } { no: 2, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
} }
@@ -1336,7 +1289,7 @@ export const ListViewResult = new ListViewResult$Type();
class DeleteViewsForProjectRequest$Type extends MessageType<DeleteViewsForProjectRequest> { class DeleteViewsForProjectRequest$Type extends MessageType<DeleteViewsForProjectRequest> {
constructor() { constructor() {
super("vizapi.DeleteViewsForProjectRequest", [ super("vizapi.DeleteViewsForProjectRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Project" }, "validate.rules": { string: { minLen: "1" } } } } { no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Project" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
} }
create(value?: PartialMessage<DeleteViewsForProjectRequest>): DeleteViewsForProjectRequest { create(value?: PartialMessage<DeleteViewsForProjectRequest>): DeleteViewsForProjectRequest {
@@ -1418,143 +1371,17 @@ class DeleteViewsForProjectResult$Type extends MessageType<DeleteViewsForProject
*/ */
export const DeleteViewsForProjectResult = new DeleteViewsForProjectResult$Type(); export const DeleteViewsForProjectResult = new DeleteViewsForProjectResult$Type();
// @generated message type with reflection information, may provide speed optimized methods // @generated message type with reflection information, may provide speed optimized methods
class TranslationMap$Type extends MessageType<TranslationMap> {
constructor() {
super("vizapi.TranslationMap", [
{ no: 1, name: "data", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } }
]);
}
create(value?: PartialMessage<TranslationMap>): TranslationMap {
const message = globalThis.Object.create((this.messagePrototype!));
message.data = {};
if (value !== undefined)
reflectionMergePartial<TranslationMap>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TranslationMap): TranslationMap {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* map<string, string> data */ 1:
this.binaryReadMap1(message.data, reader, 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;
}
private binaryReadMap1(map: TranslationMap["data"], reader: IBinaryReader, options: BinaryReadOptions): void {
let len = reader.uint32(), end = reader.pos + len, key: keyof TranslationMap["data"] | undefined, val: TranslationMap["data"][any] | undefined;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case 1:
key = reader.string();
break;
case 2:
val = reader.string();
break;
default: throw new globalThis.Error("unknown map entry field for vizapi.TranslationMap.data");
}
}
map[key ?? ""] = val ?? "";
}
internalBinaryWrite(message: TranslationMap, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* map<string, string> data = 1; */
for (let k of globalThis.Object.keys(message.data))
writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.data[k]).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message vizapi.TranslationMap
*/
export const TranslationMap = new TranslationMap$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ExtractColumnFormat$Type extends MessageType<ExtractColumnFormat> {
constructor() {
super("vizapi.ExtractColumnFormat", [
{ no: 1, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["vizapi.ExtractColumnFormat.type", ExtractColumnFormat_type] },
{ no: 2, name: "Format", kind: "scalar", localName: "Format", jsonName: "Format", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "DisplayDate", kind: "enum", localName: "DisplayDate", jsonName: "DisplayDate", T: () => ["vizapi.DisplayDate", DisplayDate] }
]);
}
create(value?: PartialMessage<ExtractColumnFormat>): ExtractColumnFormat {
const message = globalThis.Object.create((this.messagePrototype!));
message.Type = 0;
message.Format = "";
message.DisplayDate = 0;
if (value !== undefined)
reflectionMergePartial<ExtractColumnFormat>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtractColumnFormat): ExtractColumnFormat {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* vizapi.ExtractColumnFormat.type Type */ 1:
message.Type = reader.int32();
break;
case /* string Format */ 2:
message.Format = reader.string();
break;
case /* vizapi.DisplayDate DisplayDate */ 3:
message.DisplayDate = reader.int32();
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: ExtractColumnFormat, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* vizapi.ExtractColumnFormat.type Type = 1; */
if (message.Type !== 0)
writer.tag(1, WireType.Varint).int32(message.Type);
/* string Format = 2; */
if (message.Format !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Format);
/* vizapi.DisplayDate DisplayDate = 3; */
if (message.DisplayDate !== 0)
writer.tag(3, WireType.Varint).int32(message.DisplayDate);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message vizapi.ExtractColumnFormat
*/
export const ExtractColumnFormat = new ExtractColumnFormat$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ExtractRequest$Type extends MessageType<ExtractRequest> { class ExtractRequest$Type extends MessageType<ExtractRequest> {
constructor() { constructor() {
super("vizapi.ExtractRequest", [ super("vizapi.ExtractRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "BlockFilter structure for Find query" } } }, { no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "BlockFilter structure for Find query" } } },
{ no: 4, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for list to use in the csv" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for list to use in the csv" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for decimal to use in the csv" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 5, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for decimal to use in the csv" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 8, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } }, { no: 8, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } },
{ no: 9, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } }, { no: 9, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } },
{ no: 10, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "validate.rules": { string: { minLen: "1", tzData: true } } } }, { no: 10, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } },
{ no: 11, name: "DateFormat", kind: "scalar", localName: "DateFormat", jsonName: "DateFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format dates <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } }, { no: 11, name: "DateFormat", kind: "scalar", localName: "DateFormat", jsonName: "DateFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format dates <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
{ no: 12, name: "NumberFormat", kind: "scalar", localName: "NumberFormat", jsonName: "NumberFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format numbers <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } }, { no: 12, name: "NumberFormat", kind: "scalar", localName: "NumberFormat", jsonName: "NumberFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format numbers <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
{ no: 13, name: "TimeFormat", kind: "enum", localName: "TimeFormat", jsonName: "TimeFormat", T: () => ["vizapi.TimeFormat", TimeFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Hour clock time format" } } } { no: 13, name: "TimeFormat", kind: "enum", localName: "TimeFormat", jsonName: "TimeFormat", T: () => ["vizapi.TimeFormat", TimeFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Hour clock time format" } } }
@@ -1596,10 +1423,10 @@ class ExtractRequest$Type extends MessageType<ExtractRequest> {
case /* string DecimalSeparator */ 5: case /* string DecimalSeparator */ 5:
message.DecimalSeparator = reader.string(); message.DecimalSeparator = reader.string();
break; break;
case /* map<string, vizapi.TranslationMap> ColumnTranslationMaps */ 8: case /* map<string, api.TranslationMap> ColumnTranslationMaps */ 8:
this.binaryReadMap8(message.ColumnTranslationMaps, reader, options); this.binaryReadMap8(message.ColumnTranslationMaps, reader, options);
break; break;
case /* map<int32, vizapi.ExtractColumnFormat> ColumnFormats */ 9: case /* map<int32, api.ExtractColumnFormat> ColumnFormats */ 9:
this.binaryReadMap9(message.ColumnFormats, reader, options); this.binaryReadMap9(message.ColumnFormats, reader, options);
break; break;
case /* string TargetTimeZone */ 10: case /* string TargetTimeZone */ 10:
@@ -1673,14 +1500,14 @@ class ExtractRequest$Type extends MessageType<ExtractRequest> {
/* string DecimalSeparator = 5; */ /* string DecimalSeparator = 5; */
if (message.DecimalSeparator !== "") if (message.DecimalSeparator !== "")
writer.tag(5, WireType.LengthDelimited).string(message.DecimalSeparator); writer.tag(5, WireType.LengthDelimited).string(message.DecimalSeparator);
/* map<string, vizapi.TranslationMap> ColumnTranslationMaps = 8; */ /* map<string, api.TranslationMap> ColumnTranslationMaps = 8; */
for (let k of globalThis.Object.keys(message.ColumnTranslationMaps)) { for (let k of globalThis.Object.keys(message.ColumnTranslationMaps)) {
writer.tag(8, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k); writer.tag(8, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k);
writer.tag(2, WireType.LengthDelimited).fork(); writer.tag(2, WireType.LengthDelimited).fork();
TranslationMap.internalBinaryWrite(message.ColumnTranslationMaps[k], writer, options); TranslationMap.internalBinaryWrite(message.ColumnTranslationMaps[k], writer, options);
writer.join().join(); writer.join().join();
} }
/* map<int32, vizapi.ExtractColumnFormat> ColumnFormats = 9; */ /* map<int32, api.ExtractColumnFormat> ColumnFormats = 9; */
for (let k of globalThis.Object.keys(message.ColumnFormats)) { for (let k of globalThis.Object.keys(message.ColumnFormats)) {
writer.tag(9, WireType.LengthDelimited).fork().tag(1, WireType.Varint).int32(parseInt(k)); writer.tag(9, WireType.LengthDelimited).fork().tag(1, WireType.Varint).int32(parseInt(k));
writer.tag(2, WireType.LengthDelimited).fork(); writer.tag(2, WireType.LengthDelimited).fork();
@@ -1713,13 +1540,13 @@ export const ExtractRequest = new ExtractRequest$Type();
class CrossExtractRequest$Type extends MessageType<CrossExtractRequest> { class CrossExtractRequest$Type extends MessageType<CrossExtractRequest> {
constructor() { constructor() {
super("vizapi.CrossExtractRequest", [ super("vizapi.CrossExtractRequest", [
{ no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "BlockFilter structure for Find query" } } }, { no: 2, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "BlockFilter structure for Find query" } } },
{ no: 3, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for list to use in the csv" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 3, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for list to use in the csv" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for decimal to use in the csv" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 4, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for decimal to use in the csv" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } }, { no: 5, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } },
{ no: 6, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } }, { no: 6, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } },
{ no: 7, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "validate.rules": { string: { minLen: "1", tzData: true } } } }, { no: 7, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "n1validate.rules": { string: { minLen: "1", tzData: true } } } },
{ no: 8, name: "DateFormat", kind: "scalar", localName: "DateFormat", jsonName: "DateFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format dates <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } }, { no: 8, name: "DateFormat", kind: "scalar", localName: "DateFormat", jsonName: "DateFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format dates <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
{ no: 9, name: "NumberFormat", kind: "scalar", localName: "NumberFormat", jsonName: "NumberFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format numbers <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } }, { no: 9, name: "NumberFormat", kind: "scalar", localName: "NumberFormat", jsonName: "NumberFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format numbers <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
{ no: 10, name: "TimeFormat", kind: "enum", localName: "TimeFormat", jsonName: "TimeFormat", T: () => ["vizapi.TimeFormat", TimeFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Hour clock time format" } } }, { no: 10, name: "TimeFormat", kind: "enum", localName: "TimeFormat", jsonName: "TimeFormat", T: () => ["vizapi.TimeFormat", TimeFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Hour clock time format" } } },
@@ -1762,10 +1589,10 @@ class CrossExtractRequest$Type extends MessageType<CrossExtractRequest> {
case /* string DecimalSeparator */ 4: case /* string DecimalSeparator */ 4:
message.DecimalSeparator = reader.string(); message.DecimalSeparator = reader.string();
break; break;
case /* map<string, vizapi.TranslationMap> ColumnTranslationMaps */ 5: case /* map<string, api.TranslationMap> ColumnTranslationMaps */ 5:
this.binaryReadMap5(message.ColumnTranslationMaps, reader, options); this.binaryReadMap5(message.ColumnTranslationMaps, reader, options);
break; break;
case /* map<int32, vizapi.ExtractColumnFormat> ColumnFormats */ 6: case /* map<int32, api.ExtractColumnFormat> ColumnFormats */ 6:
this.binaryReadMap6(message.ColumnFormats, reader, options); this.binaryReadMap6(message.ColumnFormats, reader, options);
break; break;
case /* string TargetTimeZone */ 7: case /* string TargetTimeZone */ 7:
@@ -1842,14 +1669,14 @@ class CrossExtractRequest$Type extends MessageType<CrossExtractRequest> {
/* string DecimalSeparator = 4; */ /* string DecimalSeparator = 4; */
if (message.DecimalSeparator !== "") if (message.DecimalSeparator !== "")
writer.tag(4, WireType.LengthDelimited).string(message.DecimalSeparator); writer.tag(4, WireType.LengthDelimited).string(message.DecimalSeparator);
/* map<string, vizapi.TranslationMap> ColumnTranslationMaps = 5; */ /* map<string, api.TranslationMap> ColumnTranslationMaps = 5; */
for (let k of globalThis.Object.keys(message.ColumnTranslationMaps)) { for (let k of globalThis.Object.keys(message.ColumnTranslationMaps)) {
writer.tag(5, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k); writer.tag(5, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k);
writer.tag(2, WireType.LengthDelimited).fork(); writer.tag(2, WireType.LengthDelimited).fork();
TranslationMap.internalBinaryWrite(message.ColumnTranslationMaps[k], writer, options); TranslationMap.internalBinaryWrite(message.ColumnTranslationMaps[k], writer, options);
writer.join().join(); writer.join().join();
} }
/* map<int32, vizapi.ExtractColumnFormat> ColumnFormats = 6; */ /* map<int32, api.ExtractColumnFormat> ColumnFormats = 6; */
for (let k of globalThis.Object.keys(message.ColumnFormats)) { for (let k of globalThis.Object.keys(message.ColumnFormats)) {
writer.tag(6, WireType.LengthDelimited).fork().tag(1, WireType.Varint).int32(parseInt(k)); writer.tag(6, WireType.LengthDelimited).fork().tag(1, WireType.Varint).int32(parseInt(k));
writer.tag(2, WireType.LengthDelimited).fork(); writer.tag(2, WireType.LengthDelimited).fork();
@@ -1885,22 +1712,22 @@ class CrossExtractRequest$Type extends MessageType<CrossExtractRequest> {
*/ */
export const CrossExtractRequest = new CrossExtractRequest$Type(); export const CrossExtractRequest = new CrossExtractRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods // @generated message type with reflection information, may provide speed optimized methods
class ExtractResult$Type extends MessageType<ExtractResult> { class ExtractResultBasic$Type extends MessageType<ExtractResultBasic> {
constructor() { constructor() {
super("vizapi.ExtractResult", [ super("vizapi.ExtractResultBasic", [
{ no: 1, name: "WorkflowID", kind: "scalar", localName: "WorkflowID", jsonName: "WorkflowID", T: 9 /*ScalarType.STRING*/ }, { no: 1, name: "WorkflowID", kind: "scalar", localName: "WorkflowID", jsonName: "WorkflowID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "RunID", kind: "scalar", localName: "RunID", jsonName: "RunID", T: 9 /*ScalarType.STRING*/ } { no: 2, name: "RunID", kind: "scalar", localName: "RunID", jsonName: "RunID", T: 9 /*ScalarType.STRING*/ }
]); ]);
} }
create(value?: PartialMessage<ExtractResult>): ExtractResult { create(value?: PartialMessage<ExtractResultBasic>): ExtractResultBasic {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));
message.WorkflowID = ""; message.WorkflowID = "";
message.RunID = ""; message.RunID = "";
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<ExtractResult>(this, message, value); reflectionMergePartial<ExtractResultBasic>(this, message, value);
return message; return message;
} }
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtractResult): ExtractResult { internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtractResultBasic): ExtractResultBasic {
let message = target ?? this.create(), end = reader.pos + length; let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) { while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag(); let [fieldNo, wireType] = reader.tag();
@@ -1922,7 +1749,7 @@ class ExtractResult$Type extends MessageType<ExtractResult> {
} }
return message; return message;
} }
internalBinaryWrite(message: ExtractResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { internalBinaryWrite(message: ExtractResultBasic, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string WorkflowID = 1; */ /* string WorkflowID = 1; */
if (message.WorkflowID !== "") if (message.WorkflowID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.WorkflowID); writer.tag(1, WireType.LengthDelimited).string(message.WorkflowID);
@@ -1936,16 +1763,16 @@ class ExtractResult$Type extends MessageType<ExtractResult> {
} }
} }
/** /**
* @generated MessageType for protobuf message vizapi.ExtractResult * @generated MessageType for protobuf message vizapi.ExtractResultBasic
*/ */
export const ExtractResult = new ExtractResult$Type(); export const ExtractResultBasic = new ExtractResultBasic$Type();
// @generated message type with reflection information, may provide speed optimized methods // @generated message type with reflection information, may provide speed optimized methods
class SetOwnerViewRequest$Type extends MessageType<SetOwnerViewRequest> { class SetOwnerViewRequest$Type extends MessageType<SetOwnerViewRequest> {
constructor() { constructor() {
super("vizapi.SetOwnerViewRequest", [ super("vizapi.SetOwnerViewRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "validate.rules": { string: { minLen: "1" } } } }, { no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the User" }, "validate.rules": { string: { minLen: "1" } } } } { no: 3, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the User" }, "n1validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ViewID", "UserID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ViewID", "UserID"] } } });
} }
create(value?: PartialMessage<SetOwnerViewRequest>): SetOwnerViewRequest { create(value?: PartialMessage<SetOwnerViewRequest>): SetOwnerViewRequest {
@@ -2059,6 +1886,6 @@ export const ViewService = new ServiceType("vizapi.ViewService", [
{ name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "List views", description: "List all Views present under the same Project and with the same Screen ID" }, "api.rscType": "Project", "api.roles": "Platform.Project-Views", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ListViewRequest, O: ListViewResult }, { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "List views", description: "List all Views present under the same Project and with the same Screen ID" }, "api.rscType": "Project", "api.roles": "Platform.Project-Views", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ListViewRequest, O: ListViewResult },
{ name: "DeleteViewsForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Delete all views for a project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Views", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: DeleteViewsForProjectRequest, O: DeleteViewsForProjectResult }, { name: "DeleteViewsForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Delete all views for a project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Views", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: DeleteViewsForProjectRequest, O: DeleteViewsForProjectResult },
{ name: "SetOwner", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Set the owner of a view", description: "Set the owner of a View with its ID and the user ID of the new owner" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: SetOwnerViewRequest, O: SetOwnerViewResult }, { name: "SetOwner", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Set the owner of a view", description: "Set the owner of a View with its ID and the user ID of the new owner" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: SetOwnerViewRequest, O: SetOwnerViewResult },
{ name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Extract view", description: "Start view extraction in csv format" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractRequest, O: ExtractResult }, { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Extract view", description: "Start view extraction in csv format" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractRequest, O: ExtractResultBasic },
{ name: "CrossExtract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Cross Extract view", description: "Start view extraction in csv format" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossExtractRequest, O: ExtractResult } { name: "CrossExtract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Cross Extract view", description: "Start view extraction in csv format" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossExtractRequest, O: ExtractResultBasic }
], { "api.k8sService": "views-server" }); ], { "api.k8sService": "views-server" });