Files
npm-viz-sdk/viz-composed-field_pb.ts
2025-03-17 13:03:44 +00:00

611 lines
21 KiB
TypeScript

// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
// @generated from file viz-composed-field.proto (package vizapi, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";
import { RequestProjectHeader } from "./core/shared_pb.js";
/**
* @generated from message vizapi.ComposedField
*/
export class ComposedField extends Message<ComposedField> {
/**
* Identifier of the Composed Field
*
* @generated from field: string ComposedFieldID = 1;
*/
ComposedFieldID = "";
/**
* Name of the Composed Field
*
* @generated from field: string Name = 2;
*/
Name = "";
/**
* Identifier of the project
*
* @generated from field: string ProjectID = 3;
*/
ProjectID = "";
/**
* Identifier of the Screen
*
* @generated from field: string ScreenID = 4;
*/
ScreenID = "";
/**
* Identifier of the user who created
*
* @generated from field: string CreateUserID = 5;
*/
CreateUserID = "";
/**
* Identifier of the user who did the last update
*
* @generated from field: string UpdateUserID = 6;
*/
UpdateUserID = "";
/**
* Date of creation in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]
*
* @generated from field: string CreateDateTime = 7;
*/
CreateDateTime = "";
/**
* Date of last update in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]
*
* @generated from field: string UpdateDateTime = 8;
*/
UpdateDateTime = "";
/**
* Identifier of the Tab
*
* @generated from field: string TabID = 9;
*/
TabID = "";
/**
* Content in the Composed Field
*
* @generated from field: string Payload = 10;
*/
Payload = "";
constructor(data?: PartialMessage<ComposedField>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "vizapi.ComposedField";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "ComposedFieldID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "ProjectID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "ScreenID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "CreateUserID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "UpdateUserID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 7, name: "CreateDateTime", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 8, name: "UpdateDateTime", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 9, name: "TabID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 10, name: "Payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ComposedField {
return new ComposedField().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ComposedField {
return new ComposedField().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ComposedField {
return new ComposedField().fromJsonString(jsonString, options);
}
static equals(a: ComposedField | PlainMessage<ComposedField> | undefined, b: ComposedField | PlainMessage<ComposedField> | undefined): boolean {
return proto3.util.equals(ComposedField, a, b);
}
}
/**
* IDs of the Composed Field
*
* @generated from message vizapi.GetComposedFieldRequest
*/
export class GetComposedFieldRequest extends Message<GetComposedFieldRequest> {
/**
* @generated from field: api.RequestProjectHeader Header = 1;
*/
Header?: RequestProjectHeader;
/**
* Identifier of the Composed Field
*
* @generated from field: string ComposedFieldID = 2;
*/
ComposedFieldID = "";
constructor(data?: PartialMessage<GetComposedFieldRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "vizapi.GetComposedFieldRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Header", kind: "message", T: RequestProjectHeader },
{ no: 2, name: "ComposedFieldID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetComposedFieldRequest {
return new GetComposedFieldRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetComposedFieldRequest {
return new GetComposedFieldRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetComposedFieldRequest {
return new GetComposedFieldRequest().fromJsonString(jsonString, options);
}
static equals(a: GetComposedFieldRequest | PlainMessage<GetComposedFieldRequest> | undefined, b: GetComposedFieldRequest | PlainMessage<GetComposedFieldRequest> | undefined): boolean {
return proto3.util.equals(GetComposedFieldRequest, a, b);
}
}
/**
* All the Content about the composed field
*
* @generated from message vizapi.GetComposedFieldResult
*/
export class GetComposedFieldResult extends Message<GetComposedFieldResult> {
/**
* @generated from field: vizapi.ComposedField Result = 1;
*/
Result?: ComposedField;
constructor(data?: PartialMessage<GetComposedFieldResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "vizapi.GetComposedFieldResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Result", kind: "message", T: ComposedField },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetComposedFieldResult {
return new GetComposedFieldResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetComposedFieldResult {
return new GetComposedFieldResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetComposedFieldResult {
return new GetComposedFieldResult().fromJsonString(jsonString, options);
}
static equals(a: GetComposedFieldResult | PlainMessage<GetComposedFieldResult> | undefined, b: GetComposedFieldResult | PlainMessage<GetComposedFieldResult> | undefined): boolean {
return proto3.util.equals(GetComposedFieldResult, a, b);
}
}
/**
* Content that needs to be stored
*
* @generated from message vizapi.CreateComposedFieldRequest
*/
export class CreateComposedFieldRequest extends Message<CreateComposedFieldRequest> {
/**
* @generated from field: api.RequestProjectHeader Header = 1;
*/
Header?: RequestProjectHeader;
/**
* Name of the Composed Field
*
* @generated from field: string Name = 2;
*/
Name = "";
/**
* Identifier of the Screen
*
* @generated from field: string ScreenID = 3;
*/
ScreenID = "";
/**
* Identifier of the Tab
*
* @generated from field: string TabID = 4;
*/
TabID = "";
/**
* Content in the Composed Field
*
* @generated from field: string Payload = 5;
*/
Payload = "";
constructor(data?: PartialMessage<CreateComposedFieldRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "vizapi.CreateComposedFieldRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Header", kind: "message", T: RequestProjectHeader },
{ no: 2, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "ScreenID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "TabID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "Payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateComposedFieldRequest {
return new CreateComposedFieldRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateComposedFieldRequest {
return new CreateComposedFieldRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateComposedFieldRequest {
return new CreateComposedFieldRequest().fromJsonString(jsonString, options);
}
static equals(a: CreateComposedFieldRequest | PlainMessage<CreateComposedFieldRequest> | undefined, b: CreateComposedFieldRequest | PlainMessage<CreateComposedFieldRequest> | undefined): boolean {
return proto3.util.equals(CreateComposedFieldRequest, a, b);
}
}
/**
* ID of the created Composed Field
*
* @generated from message vizapi.CreateComposedFieldResult
*/
export class CreateComposedFieldResult extends Message<CreateComposedFieldResult> {
/**
* Identifier of the Composed Field
*
* @generated from field: string ComposedFieldID = 1;
*/
ComposedFieldID = "";
constructor(data?: PartialMessage<CreateComposedFieldResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "vizapi.CreateComposedFieldResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "ComposedFieldID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateComposedFieldResult {
return new CreateComposedFieldResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateComposedFieldResult {
return new CreateComposedFieldResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateComposedFieldResult {
return new CreateComposedFieldResult().fromJsonString(jsonString, options);
}
static equals(a: CreateComposedFieldResult | PlainMessage<CreateComposedFieldResult> | undefined, b: CreateComposedFieldResult | PlainMessage<CreateComposedFieldResult> | undefined): boolean {
return proto3.util.equals(CreateComposedFieldResult, a, b);
}
}
/**
* Content that needs to be updated
*
* @generated from message vizapi.UpdateComposedFieldRequest
*/
export class UpdateComposedFieldRequest extends Message<UpdateComposedFieldRequest> {
/**
* @generated from field: api.RequestProjectHeader Header = 1;
*/
Header?: RequestProjectHeader;
/**
* Identifier of the Composed Field
*
* @generated from field: string ComposedFieldID = 2;
*/
ComposedFieldID = "";
/**
* Name of the Composed Field
*
* @generated from field: string Name = 3;
*/
Name = "";
/**
* Identifier of the Screen
*
* @generated from field: string ScreenID = 4;
*/
ScreenID = "";
/**
* Identifier of the Tab
*
* @generated from field: string TabID = 5;
*/
TabID = "";
/**
* Content in the Composed Field
*
* @generated from field: string Payload = 6;
*/
Payload = "";
constructor(data?: PartialMessage<UpdateComposedFieldRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "vizapi.UpdateComposedFieldRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Header", kind: "message", T: RequestProjectHeader },
{ no: 2, name: "ComposedFieldID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "ScreenID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "TabID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "Payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateComposedFieldRequest {
return new UpdateComposedFieldRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateComposedFieldRequest {
return new UpdateComposedFieldRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateComposedFieldRequest {
return new UpdateComposedFieldRequest().fromJsonString(jsonString, options);
}
static equals(a: UpdateComposedFieldRequest | PlainMessage<UpdateComposedFieldRequest> | undefined, b: UpdateComposedFieldRequest | PlainMessage<UpdateComposedFieldRequest> | undefined): boolean {
return proto3.util.equals(UpdateComposedFieldRequest, a, b);
}
}
/**
* Updated dashboard ID
*
* @generated from message vizapi.UpdateComposedFieldResult
*/
export class UpdateComposedFieldResult extends Message<UpdateComposedFieldResult> {
/**
* Identifier of the Composed Field
*
* @generated from field: string ComposedFieldID = 1;
*/
ComposedFieldID = "";
constructor(data?: PartialMessage<UpdateComposedFieldResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "vizapi.UpdateComposedFieldResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "ComposedFieldID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateComposedFieldResult {
return new UpdateComposedFieldResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateComposedFieldResult {
return new UpdateComposedFieldResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateComposedFieldResult {
return new UpdateComposedFieldResult().fromJsonString(jsonString, options);
}
static equals(a: UpdateComposedFieldResult | PlainMessage<UpdateComposedFieldResult> | undefined, b: UpdateComposedFieldResult | PlainMessage<UpdateComposedFieldResult> | undefined): boolean {
return proto3.util.equals(UpdateComposedFieldResult, a, b);
}
}
/**
* IDs of the Composed Field to be deleted
*
* @generated from message vizapi.DeleteComposedFieldRequest
*/
export class DeleteComposedFieldRequest extends Message<DeleteComposedFieldRequest> {
/**
* @generated from field: api.RequestProjectHeader Header = 1;
*/
Header?: RequestProjectHeader;
/**
* Identifier of the Composed Field
*
* @generated from field: string ComposedFieldID = 2;
*/
ComposedFieldID = "";
constructor(data?: PartialMessage<DeleteComposedFieldRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "vizapi.DeleteComposedFieldRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Header", kind: "message", T: RequestProjectHeader },
{ no: 2, name: "ComposedFieldID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteComposedFieldRequest {
return new DeleteComposedFieldRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteComposedFieldRequest {
return new DeleteComposedFieldRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteComposedFieldRequest {
return new DeleteComposedFieldRequest().fromJsonString(jsonString, options);
}
static equals(a: DeleteComposedFieldRequest | PlainMessage<DeleteComposedFieldRequest> | undefined, b: DeleteComposedFieldRequest | PlainMessage<DeleteComposedFieldRequest> | undefined): boolean {
return proto3.util.equals(DeleteComposedFieldRequest, a, b);
}
}
/**
* @generated from message vizapi.DeleteComposedFieldResult
*/
export class DeleteComposedFieldResult extends Message<DeleteComposedFieldResult> {
constructor(data?: PartialMessage<DeleteComposedFieldResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "vizapi.DeleteComposedFieldResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteComposedFieldResult {
return new DeleteComposedFieldResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteComposedFieldResult {
return new DeleteComposedFieldResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteComposedFieldResult {
return new DeleteComposedFieldResult().fromJsonString(jsonString, options);
}
static equals(a: DeleteComposedFieldResult | PlainMessage<DeleteComposedFieldResult> | undefined, b: DeleteComposedFieldResult | PlainMessage<DeleteComposedFieldResult> | undefined): boolean {
return proto3.util.equals(DeleteComposedFieldResult, a, b);
}
}
/**
* @generated from message vizapi.ListComposedFieldRequest
*/
export class ListComposedFieldRequest extends Message<ListComposedFieldRequest> {
/**
* @generated from field: api.RequestProjectHeader Header = 1;
*/
Header?: RequestProjectHeader;
/**
* Identifier of the Screen
*
* @generated from field: string ScreenID = 2;
*/
ScreenID = "";
/**
* Identifier of the Tab
*
* @generated from field: string TabID = 3;
*/
TabID = "";
constructor(data?: PartialMessage<ListComposedFieldRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "vizapi.ListComposedFieldRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Header", kind: "message", T: RequestProjectHeader },
{ no: 2, name: "ScreenID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "TabID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListComposedFieldRequest {
return new ListComposedFieldRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListComposedFieldRequest {
return new ListComposedFieldRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListComposedFieldRequest {
return new ListComposedFieldRequest().fromJsonString(jsonString, options);
}
static equals(a: ListComposedFieldRequest | PlainMessage<ListComposedFieldRequest> | undefined, b: ListComposedFieldRequest | PlainMessage<ListComposedFieldRequest> | undefined): boolean {
return proto3.util.equals(ListComposedFieldRequest, a, b);
}
}
/**
* List of Composed Fields
*
* @generated from message vizapi.ListComposedFieldResult
*/
export class ListComposedFieldResult extends Message<ListComposedFieldResult> {
/**
* All Content in a Composed Field
*
* @generated from field: repeated vizapi.ComposedField Results = 1;
*/
Results: ComposedField[] = [];
constructor(data?: PartialMessage<ListComposedFieldResult>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "vizapi.ListComposedFieldResult";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "Results", kind: "message", T: ComposedField, repeated: true },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListComposedFieldResult {
return new ListComposedFieldResult().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListComposedFieldResult {
return new ListComposedFieldResult().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListComposedFieldResult {
return new ListComposedFieldResult().fromJsonString(jsonString, options);
}
static equals(a: ListComposedFieldResult | PlainMessage<ListComposedFieldResult> | undefined, b: ListComposedFieldResult | PlainMessage<ListComposedFieldResult> | undefined): boolean {
return proto3.util.equals(ListComposedFieldResult, a, b);
}
}