Latest generation

This commit is contained in:
ci core model
2026-02-09 15:58:25 +00:00
parent 7b8e2ec7a6
commit 84a2ee6856
5 changed files with 1101 additions and 22 deletions

115
alias.client.ts Normal file
View File

@@ -0,0 +1,115 @@
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
// @generated from protobuf file "alias.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { AliasService } from "./alias";
import type { DeleteAllAliasesToResponse } from "./alias";
import type { DeleteAllAliasesToRequest } from "./alias";
import type { DeleteAllAliasesFromResponse } from "./alias";
import type { DeleteAllAliasesFromRequest } from "./alias";
import type { DeleteAliasResponse } from "./alias";
import type { DeleteAliasRequest } from "./alias";
import type { ListAliasesToResponse } from "./alias";
import type { ListAliasesToRequest } from "./alias";
import type { ListAliasesFromResponse } from "./alias";
import type { ListAliasesFromRequest } from "./alias";
import type { GetAliasResponse } from "./alias";
import type { GetAliasRequest } from "./alias";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { CreateAliasResponse } from "./alias";
import type { CreateAliasRequest } from "./alias";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* @generated from protobuf service api.AliasService
*/
export interface IAliasServiceClient {
/**
* @generated from protobuf rpc: CreateAlias
*/
createAlias(input: CreateAliasRequest, options?: RpcOptions): UnaryCall<CreateAliasRequest, CreateAliasResponse>;
/**
* @generated from protobuf rpc: GetAlias
*/
getAlias(input: GetAliasRequest, options?: RpcOptions): UnaryCall<GetAliasRequest, GetAliasResponse>;
/**
* @generated from protobuf rpc: ListAliasesFrom
*/
listAliasesFrom(input: ListAliasesFromRequest, options?: RpcOptions): UnaryCall<ListAliasesFromRequest, ListAliasesFromResponse>;
/**
* @generated from protobuf rpc: ListAliasesTo
*/
listAliasesTo(input: ListAliasesToRequest, options?: RpcOptions): UnaryCall<ListAliasesToRequest, ListAliasesToResponse>;
/**
* @generated from protobuf rpc: DeleteAlias
*/
deleteAlias(input: DeleteAliasRequest, options?: RpcOptions): UnaryCall<DeleteAliasRequest, DeleteAliasResponse>;
/**
* @generated from protobuf rpc: DeleteAllAliasesFrom
*/
deleteAllAliasesFrom(input: DeleteAllAliasesFromRequest, options?: RpcOptions): UnaryCall<DeleteAllAliasesFromRequest, DeleteAllAliasesFromResponse>;
/**
* @generated from protobuf rpc: DeleteAllAliasesTo
*/
deleteAllAliasesTo(input: DeleteAllAliasesToRequest, options?: RpcOptions): UnaryCall<DeleteAllAliasesToRequest, DeleteAllAliasesToResponse>;
}
/**
* @generated from protobuf service api.AliasService
*/
export class AliasServiceClient implements IAliasServiceClient, ServiceInfo {
typeName = AliasService.typeName;
methods = AliasService.methods;
options = AliasService.options;
constructor(private readonly _transport: RpcTransport) {
}
/**
* @generated from protobuf rpc: CreateAlias
*/
createAlias(input: CreateAliasRequest, options?: RpcOptions): UnaryCall<CreateAliasRequest, CreateAliasResponse> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateAliasRequest, CreateAliasResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetAlias
*/
getAlias(input: GetAliasRequest, options?: RpcOptions): UnaryCall<GetAliasRequest, GetAliasResponse> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<GetAliasRequest, GetAliasResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListAliasesFrom
*/
listAliasesFrom(input: ListAliasesFromRequest, options?: RpcOptions): UnaryCall<ListAliasesFromRequest, ListAliasesFromResponse> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<ListAliasesFromRequest, ListAliasesFromResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListAliasesTo
*/
listAliasesTo(input: ListAliasesToRequest, options?: RpcOptions): UnaryCall<ListAliasesToRequest, ListAliasesToResponse> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<ListAliasesToRequest, ListAliasesToResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteAlias
*/
deleteAlias(input: DeleteAliasRequest, options?: RpcOptions): UnaryCall<DeleteAliasRequest, DeleteAliasResponse> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteAliasRequest, DeleteAliasResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteAllAliasesFrom
*/
deleteAllAliasesFrom(input: DeleteAllAliasesFromRequest, options?: RpcOptions): UnaryCall<DeleteAllAliasesFromRequest, DeleteAllAliasesFromResponse> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteAllAliasesFromRequest, DeleteAllAliasesFromResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DeleteAllAliasesTo
*/
deleteAllAliasesTo(input: DeleteAllAliasesToRequest, options?: RpcOptions): UnaryCall<DeleteAllAliasesToRequest, DeleteAllAliasesToResponse> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteAllAliasesToRequest, DeleteAllAliasesToResponse>("unary", this._transport, method, opt, input);
}
}

962
alias.ts Normal file
View File

@@ -0,0 +1,962 @@
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
// @generated from protobuf file "alias.proto" (package "api", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import { WireType } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
/**
* Alias represents a named link from one resource to another.
* Example: A Site (FromID="SITE_ORG1_123") can have an alias named "ACTOR_456"
* (AliasName) of type ALIAS_TYPE_SITE_ACTOR pointing to another Site (ToID="SITE_ORG1_789").
* The combination of (FromID, AliasType, AliasName) must be unique.
* Properties can be defined for each alias, their format is up to the user.
*
* @generated from protobuf message api.Alias
*/
export interface Alias {
/**
* @generated from protobuf field: string FromID = 1
*/
FromID: string;
/**
* @generated from protobuf field: api.AliasType AliasType = 2
*/
AliasType: AliasType;
/**
* @generated from protobuf field: string AliasName = 3
*/
AliasName: string;
/**
* @generated from protobuf field: string ToID = 4
*/
ToID: string;
/**
* @generated from protobuf field: string Properties = 5
*/
Properties: string;
}
/**
* @generated from protobuf message api.CreateAliasRequest
*/
export interface CreateAliasRequest {
/**
* @generated from protobuf field: api.Alias Alias = 1
*/
Alias?: Alias;
}
/**
* @generated from protobuf message api.CreateAliasResponse
*/
export interface CreateAliasResponse {
/**
* @generated from protobuf field: api.Alias Alias = 1
*/
Alias?: Alias;
}
/**
* @generated from protobuf message api.GetAliasRequest
*/
export interface GetAliasRequest {
/**
* @generated from protobuf field: string FromID = 1
*/
FromID: string;
/**
* @generated from protobuf field: api.AliasType AliasType = 2
*/
AliasType: AliasType;
/**
* @generated from protobuf field: string AliasName = 3
*/
AliasName: string;
}
/**
* @generated from protobuf message api.GetAliasResponse
*/
export interface GetAliasResponse {
/**
* @generated from protobuf field: api.Alias Alias = 1
*/
Alias?: Alias;
}
/**
* @generated from protobuf message api.ListAliasesFromRequest
*/
export interface ListAliasesFromRequest {
/**
* @generated from protobuf field: string FromID = 1
*/
FromID: string;
/**
* @generated from protobuf field: api.AliasType AliasType = 2
*/
AliasType: AliasType;
}
/**
* @generated from protobuf message api.ListAliasesFromResponse
*/
export interface ListAliasesFromResponse {
/**
* @generated from protobuf field: repeated api.Alias Aliases = 1
*/
Aliases: Alias[];
}
/**
* @generated from protobuf message api.ListAliasesToRequest
*/
export interface ListAliasesToRequest {
/**
* @generated from protobuf field: string ToID = 1
*/
ToID: string;
}
/**
* @generated from protobuf message api.ListAliasesToResponse
*/
export interface ListAliasesToResponse {
/**
* @generated from protobuf field: repeated api.Alias Aliases = 1
*/
Aliases: Alias[];
}
/**
* @generated from protobuf message api.DeleteAliasRequest
*/
export interface DeleteAliasRequest {
/**
* @generated from protobuf field: string FromID = 1
*/
FromID: string;
/**
* @generated from protobuf field: api.AliasType AliasType = 2
*/
AliasType: AliasType;
/**
* @generated from protobuf field: string AliasName = 3
*/
AliasName: string;
}
/**
* @generated from protobuf message api.DeleteAliasResponse
*/
export interface DeleteAliasResponse {
}
/**
* @generated from protobuf message api.DeleteAllAliasesFromRequest
*/
export interface DeleteAllAliasesFromRequest {
/**
* @generated from protobuf field: string FromID = 1
*/
FromID: string;
/**
* @generated from protobuf field: api.AliasType AliasType = 2
*/
AliasType: AliasType;
}
/**
* @generated from protobuf message api.DeleteAllAliasesFromResponse
*/
export interface DeleteAllAliasesFromResponse {
}
/**
* @generated from protobuf message api.DeleteAllAliasesToRequest
*/
export interface DeleteAllAliasesToRequest {
/**
* @generated from protobuf field: string ToID = 1
*/
ToID: string;
}
/**
* @generated from protobuf message api.DeleteAllAliasesToResponse
*/
export interface DeleteAllAliasesToResponse {
}
/**
* @generated from protobuf enum api.AliasType
*/
export enum AliasType {
/**
* @generated from protobuf enum value: ALIAS_TYPE_UNKNOWN = 0;
*/
ALIAS_TYPE_UNKNOWN = 0,
/**
* @generated from protobuf enum value: ALIAS_TYPE_APPOINTMENT_SCHEDULING = 1;
*/
ALIAS_TYPE_APPOINTMENT_SCHEDULING = 1
}
// @generated message type with reflection information, may provide speed optimized methods
class Alias$Type extends MessageType<Alias> {
constructor() {
super("api.Alias", [
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "AliasName", kind: "scalar", localName: "AliasName", jsonName: "AliasName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ToID", kind: "scalar", localName: "ToID", jsonName: "ToID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "Properties", kind: "scalar", localName: "Properties", jsonName: "Properties", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<Alias>): Alias {
const message = globalThis.Object.create((this.messagePrototype!));
message.FromID = "";
message.AliasType = 0;
message.AliasName = "";
message.ToID = "";
message.Properties = "";
if (value !== undefined)
reflectionMergePartial<Alias>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Alias): Alias {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string FromID */ 1:
message.FromID = reader.string();
break;
case /* api.AliasType AliasType */ 2:
message.AliasType = reader.int32();
break;
case /* string AliasName */ 3:
message.AliasName = reader.string();
break;
case /* string ToID */ 4:
message.ToID = reader.string();
break;
case /* string Properties */ 5:
message.Properties = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: Alias, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string FromID = 1; */
if (message.FromID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.FromID);
/* api.AliasType AliasType = 2; */
if (message.AliasType !== 0)
writer.tag(2, WireType.Varint).int32(message.AliasType);
/* string AliasName = 3; */
if (message.AliasName !== "")
writer.tag(3, WireType.LengthDelimited).string(message.AliasName);
/* string ToID = 4; */
if (message.ToID !== "")
writer.tag(4, WireType.LengthDelimited).string(message.ToID);
/* string Properties = 5; */
if (message.Properties !== "")
writer.tag(5, WireType.LengthDelimited).string(message.Properties);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.Alias
*/
export const Alias = new Alias$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreateAliasRequest$Type extends MessageType<CreateAliasRequest> {
constructor() {
super("api.CreateAliasRequest", [
{ no: 1, name: "Alias", kind: "message", localName: "Alias", jsonName: "Alias", T: () => Alias, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Alias"] } } });
}
create(value?: PartialMessage<CreateAliasRequest>): CreateAliasRequest {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<CreateAliasRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateAliasRequest): CreateAliasRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.Alias Alias */ 1:
message.Alias = Alias.internalBinaryRead(reader, reader.uint32(), options, message.Alias);
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: CreateAliasRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.Alias Alias = 1; */
if (message.Alias)
Alias.internalBinaryWrite(message.Alias, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.CreateAliasRequest
*/
export const CreateAliasRequest = new CreateAliasRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreateAliasResponse$Type extends MessageType<CreateAliasResponse> {
constructor() {
super("api.CreateAliasResponse", [
{ no: 1, name: "Alias", kind: "message", localName: "Alias", jsonName: "Alias", T: () => Alias }
]);
}
create(value?: PartialMessage<CreateAliasResponse>): CreateAliasResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<CreateAliasResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateAliasResponse): CreateAliasResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.Alias Alias */ 1:
message.Alias = Alias.internalBinaryRead(reader, reader.uint32(), options, message.Alias);
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: CreateAliasResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.Alias Alias = 1; */
if (message.Alias)
Alias.internalBinaryWrite(message.Alias, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.CreateAliasResponse
*/
export const CreateAliasResponse = new CreateAliasResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetAliasRequest$Type extends MessageType<GetAliasRequest> {
constructor() {
super("api.GetAliasRequest", [
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "AliasName", kind: "scalar", localName: "AliasName", jsonName: "AliasName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["FromID", "AliasType", "AliasName"] } } });
}
create(value?: PartialMessage<GetAliasRequest>): GetAliasRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.FromID = "";
message.AliasType = 0;
message.AliasName = "";
if (value !== undefined)
reflectionMergePartial<GetAliasRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAliasRequest): GetAliasRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string FromID */ 1:
message.FromID = reader.string();
break;
case /* api.AliasType AliasType */ 2:
message.AliasType = reader.int32();
break;
case /* string AliasName */ 3:
message.AliasName = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: GetAliasRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string FromID = 1; */
if (message.FromID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.FromID);
/* api.AliasType AliasType = 2; */
if (message.AliasType !== 0)
writer.tag(2, WireType.Varint).int32(message.AliasType);
/* string AliasName = 3; */
if (message.AliasName !== "")
writer.tag(3, WireType.LengthDelimited).string(message.AliasName);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.GetAliasRequest
*/
export const GetAliasRequest = new GetAliasRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetAliasResponse$Type extends MessageType<GetAliasResponse> {
constructor() {
super("api.GetAliasResponse", [
{ no: 1, name: "Alias", kind: "message", localName: "Alias", jsonName: "Alias", T: () => Alias }
]);
}
create(value?: PartialMessage<GetAliasResponse>): GetAliasResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<GetAliasResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAliasResponse): GetAliasResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.Alias Alias */ 1:
message.Alias = Alias.internalBinaryRead(reader, reader.uint32(), options, message.Alias);
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: GetAliasResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.Alias Alias = 1; */
if (message.Alias)
Alias.internalBinaryWrite(message.Alias, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.GetAliasResponse
*/
export const GetAliasResponse = new GetAliasResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListAliasesFromRequest$Type extends MessageType<ListAliasesFromRequest> {
constructor() {
super("api.ListAliasesFromRequest", [
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["FromID"] } } });
}
create(value?: PartialMessage<ListAliasesFromRequest>): ListAliasesFromRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.FromID = "";
message.AliasType = 0;
if (value !== undefined)
reflectionMergePartial<ListAliasesFromRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListAliasesFromRequest): ListAliasesFromRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string FromID */ 1:
message.FromID = reader.string();
break;
case /* api.AliasType AliasType */ 2:
message.AliasType = 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: ListAliasesFromRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string FromID = 1; */
if (message.FromID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.FromID);
/* api.AliasType AliasType = 2; */
if (message.AliasType !== 0)
writer.tag(2, WireType.Varint).int32(message.AliasType);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ListAliasesFromRequest
*/
export const ListAliasesFromRequest = new ListAliasesFromRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListAliasesFromResponse$Type extends MessageType<ListAliasesFromResponse> {
constructor() {
super("api.ListAliasesFromResponse", [
{ no: 1, name: "Aliases", kind: "message", localName: "Aliases", jsonName: "Aliases", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Alias }
]);
}
create(value?: PartialMessage<ListAliasesFromResponse>): ListAliasesFromResponse {
const message = globalThis.Object.create((this.messagePrototype!));
message.Aliases = [];
if (value !== undefined)
reflectionMergePartial<ListAliasesFromResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListAliasesFromResponse): ListAliasesFromResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.Alias Aliases */ 1:
message.Aliases.push(Alias.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ListAliasesFromResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.Alias Aliases = 1; */
for (let i = 0; i < message.Aliases.length; i++)
Alias.internalBinaryWrite(message.Aliases[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ListAliasesFromResponse
*/
export const ListAliasesFromResponse = new ListAliasesFromResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListAliasesToRequest$Type extends MessageType<ListAliasesToRequest> {
constructor() {
super("api.ListAliasesToRequest", [
{ no: 1, name: "ToID", kind: "scalar", localName: "ToID", jsonName: "ToID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ToID"] } } });
}
create(value?: PartialMessage<ListAliasesToRequest>): ListAliasesToRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ToID = "";
if (value !== undefined)
reflectionMergePartial<ListAliasesToRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListAliasesToRequest): ListAliasesToRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ToID */ 1:
message.ToID = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ListAliasesToRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ToID = 1; */
if (message.ToID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ToID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ListAliasesToRequest
*/
export const ListAliasesToRequest = new ListAliasesToRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListAliasesToResponse$Type extends MessageType<ListAliasesToResponse> {
constructor() {
super("api.ListAliasesToResponse", [
{ no: 1, name: "Aliases", kind: "message", localName: "Aliases", jsonName: "Aliases", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Alias }
]);
}
create(value?: PartialMessage<ListAliasesToResponse>): ListAliasesToResponse {
const message = globalThis.Object.create((this.messagePrototype!));
message.Aliases = [];
if (value !== undefined)
reflectionMergePartial<ListAliasesToResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListAliasesToResponse): ListAliasesToResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.Alias Aliases */ 1:
message.Aliases.push(Alias.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ListAliasesToResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.Alias Aliases = 1; */
for (let i = 0; i < message.Aliases.length; i++)
Alias.internalBinaryWrite(message.Aliases[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ListAliasesToResponse
*/
export const ListAliasesToResponse = new ListAliasesToResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteAliasRequest$Type extends MessageType<DeleteAliasRequest> {
constructor() {
super("api.DeleteAliasRequest", [
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "AliasName", kind: "scalar", localName: "AliasName", jsonName: "AliasName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["FromID", "AliasType", "AliasName"] } } });
}
create(value?: PartialMessage<DeleteAliasRequest>): DeleteAliasRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.FromID = "";
message.AliasType = 0;
message.AliasName = "";
if (value !== undefined)
reflectionMergePartial<DeleteAliasRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteAliasRequest): DeleteAliasRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string FromID */ 1:
message.FromID = reader.string();
break;
case /* api.AliasType AliasType */ 2:
message.AliasType = reader.int32();
break;
case /* string AliasName */ 3:
message.AliasName = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: DeleteAliasRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string FromID = 1; */
if (message.FromID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.FromID);
/* api.AliasType AliasType = 2; */
if (message.AliasType !== 0)
writer.tag(2, WireType.Varint).int32(message.AliasType);
/* string AliasName = 3; */
if (message.AliasName !== "")
writer.tag(3, WireType.LengthDelimited).string(message.AliasName);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.DeleteAliasRequest
*/
export const DeleteAliasRequest = new DeleteAliasRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteAliasResponse$Type extends MessageType<DeleteAliasResponse> {
constructor() {
super("api.DeleteAliasResponse", []);
}
create(value?: PartialMessage<DeleteAliasResponse>): DeleteAliasResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<DeleteAliasResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteAliasResponse): DeleteAliasResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
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: DeleteAliasResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.DeleteAliasResponse
*/
export const DeleteAliasResponse = new DeleteAliasResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteAllAliasesFromRequest$Type extends MessageType<DeleteAllAliasesFromRequest> {
constructor() {
super("api.DeleteAllAliasesFromRequest", [
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType] }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["FromID"] } } });
}
create(value?: PartialMessage<DeleteAllAliasesFromRequest>): DeleteAllAliasesFromRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.FromID = "";
message.AliasType = 0;
if (value !== undefined)
reflectionMergePartial<DeleteAllAliasesFromRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteAllAliasesFromRequest): DeleteAllAliasesFromRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string FromID */ 1:
message.FromID = reader.string();
break;
case /* api.AliasType AliasType */ 2:
message.AliasType = 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: DeleteAllAliasesFromRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string FromID = 1; */
if (message.FromID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.FromID);
/* api.AliasType AliasType = 2; */
if (message.AliasType !== 0)
writer.tag(2, WireType.Varint).int32(message.AliasType);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.DeleteAllAliasesFromRequest
*/
export const DeleteAllAliasesFromRequest = new DeleteAllAliasesFromRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteAllAliasesFromResponse$Type extends MessageType<DeleteAllAliasesFromResponse> {
constructor() {
super("api.DeleteAllAliasesFromResponse", []);
}
create(value?: PartialMessage<DeleteAllAliasesFromResponse>): DeleteAllAliasesFromResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<DeleteAllAliasesFromResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteAllAliasesFromResponse): DeleteAllAliasesFromResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
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: DeleteAllAliasesFromResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.DeleteAllAliasesFromResponse
*/
export const DeleteAllAliasesFromResponse = new DeleteAllAliasesFromResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteAllAliasesToRequest$Type extends MessageType<DeleteAllAliasesToRequest> {
constructor() {
super("api.DeleteAllAliasesToRequest", [
{ no: 1, name: "ToID", kind: "scalar", localName: "ToID", jsonName: "ToID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ToID"] } } });
}
create(value?: PartialMessage<DeleteAllAliasesToRequest>): DeleteAllAliasesToRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ToID = "";
if (value !== undefined)
reflectionMergePartial<DeleteAllAliasesToRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteAllAliasesToRequest): DeleteAllAliasesToRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ToID */ 1:
message.ToID = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: DeleteAllAliasesToRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ToID = 1; */
if (message.ToID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ToID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.DeleteAllAliasesToRequest
*/
export const DeleteAllAliasesToRequest = new DeleteAllAliasesToRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteAllAliasesToResponse$Type extends MessageType<DeleteAllAliasesToResponse> {
constructor() {
super("api.DeleteAllAliasesToResponse", []);
}
create(value?: PartialMessage<DeleteAllAliasesToResponse>): DeleteAllAliasesToResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<DeleteAllAliasesToResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteAllAliasesToResponse): DeleteAllAliasesToResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
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: DeleteAllAliasesToResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.DeleteAllAliasesToResponse
*/
export const DeleteAllAliasesToResponse = new DeleteAllAliasesToResponse$Type();
/**
* @generated ServiceType for protobuf service api.AliasService
*/
export const AliasService = new ServiceType("api.AliasService", [
{ name: "CreateAlias", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Create a new alias linking one resource to another. Returns an error if the alias (FromID, AliasType, AliasName) already exists." }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateAliasRequest, O: CreateAliasResponse },
{ name: "GetAlias", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Retrieve an alias by its key (FromID, AliasType, AliasName)" }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetAliasRequest, O: GetAliasResponse },
{ name: "ListAliasesFrom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "List all aliases originating from a resource. Optionally filter by AliasType." }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListAliasesFromRequest, O: ListAliasesFromResponse },
{ name: "ListAliasesTo", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "List all aliases pointing to a resource (reverse lookup)" }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListAliasesToRequest, O: ListAliasesToResponse },
{ name: "DeleteAlias", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Delete a specific alias by its key (FromID, AliasType, AliasName)" }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAliasRequest, O: DeleteAliasResponse },
{ name: "DeleteAllAliasesFrom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Delete all aliases originating from a resource. Optionally filter by AliasType." }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAllAliasesFromRequest, O: DeleteAllAliasesFromResponse },
{ name: "DeleteAllAliasesTo", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Aliases"], description: "Delete all aliases pointing to a resource" }, "api.rscType": "Platform", "api.roles": "Platform.Alias", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteAllAliasesToRequest, O: DeleteAllAliasesToResponse }
], { "api.k8sService": "authorization-server" });

View File

@@ -6602,26 +6602,26 @@ export const AppointmentRedetectedResponse = new AppointmentRedetectedResponse$T
* @generated ServiceType for protobuf service api.AppointmentInputAPI
*/
export const AppointmentInputAPI = new ServiceType("api.AppointmentInputAPI", [
{ name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been created." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCreatedRequest, O: AppointmentCreatedResponse },
{ name: "Canceled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been canceled." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCanceledRequest, O: AppointmentCanceledResponse },
{ name: "SlotUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentSlotUpdatedRequest, O: AppointmentSlotUpdatedResponse },
{ name: "CommissionsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment commissions has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCommissionsUpdatedRequest, O: AppointmentCommissionsUpdatedResponse },
{ name: "ReasonUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment reason has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentReasonUpdatedRequest, O: AppointmentReasonUpdatedResponse },
{ name: "CarrierInformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment carrier information have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierInformationUpdatedRequest, O: AppointmentCarrierInformationUpdatedResponse },
{ name: "CarrierExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is expected for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierExpectedRequest, O: AppointmentCarrierExpectedResponse },
{ name: "AllocationError", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An allocation error occured on the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentAllocationErrorRequest, O: AppointmentAllocationErrorResponse },
{ name: "CarrierArrived", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is arrived for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierArrivedRequest, O: AppointmentCarrierArrivedResponse },
{ name: "LoadingStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment loading is started." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentLoadingStartedRequest, O: AppointmentLoadingStartedResponse },
{ name: "LoadingCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment loading is completed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentLoadingCompletedRequest, O: AppointmentLoadingCompletedResponse },
{ name: "UnloadingStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment unloading is started." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentUnloadingStartedRequest, O: AppointmentUnloadingStartedResponse },
{ name: "UnloadingCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment unloading is unloaded." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentUnloadingCompletedRequest, O: AppointmentUnloadingCompletedResponse },
{ name: "CarrierDeparted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is departed for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierDepartedRequest, O: AppointmentCarrierDepartedResponse },
{ name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Some metadata have been updated on an appointment. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentMetaDataUpdatedRequest, O: AppointmentMetaDataUpdatedResponse },
{ name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An attachment is added for the Appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttachmentAddedRequest, O: AppointmentAttachmentAddedResponse },
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An attachment is removed for the Appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttachmentRemovedRequest, O: AppointmentAttachmentRemovedResponse },
{ name: "EmailsAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment Emails have been added." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentEmailsAddedRequest, O: AppointmentEmailsAddedResponse },
{ name: "EmailsRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment Emails have been removed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentEmailsRemovedRequest, O: AppointmentEmailsRemovedResponse },
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An Appointment has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentSanitisedRequest, O: AppointmentSanitisedResponse },
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCustomFieldsUpdatedRequest, O: AppointmentCustomFieldsUpdatedResponse },
{ name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been created." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCreatedRequest, O: AppointmentCreatedResponse },
{ name: "Canceled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been canceled." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCanceledRequest, O: AppointmentCanceledResponse },
{ name: "SlotUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentSlotUpdatedRequest, O: AppointmentSlotUpdatedResponse },
{ name: "CommissionsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment commissions has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCommissionsUpdatedRequest, O: AppointmentCommissionsUpdatedResponse },
{ name: "ReasonUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment reason has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentReasonUpdatedRequest, O: AppointmentReasonUpdatedResponse },
{ name: "CarrierInformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment carrier information have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierInformationUpdatedRequest, O: AppointmentCarrierInformationUpdatedResponse },
{ name: "CarrierExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is expected for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierExpectedRequest, O: AppointmentCarrierExpectedResponse },
{ name: "AllocationError", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An allocation error occured on the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentAllocationErrorRequest, O: AppointmentAllocationErrorResponse },
{ name: "CarrierArrived", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is arrived for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierArrivedRequest, O: AppointmentCarrierArrivedResponse },
{ name: "LoadingStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment loading is started." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentLoadingStartedRequest, O: AppointmentLoadingStartedResponse },
{ name: "LoadingCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment loading is completed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentLoadingCompletedRequest, O: AppointmentLoadingCompletedResponse },
{ name: "UnloadingStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment unloading is started." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentUnloadingStartedRequest, O: AppointmentUnloadingStartedResponse },
{ name: "UnloadingCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment unloading is unloaded." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentUnloadingCompletedRequest, O: AppointmentUnloadingCompletedResponse },
{ name: "CarrierDeparted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is departed for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierDepartedRequest, O: AppointmentCarrierDepartedResponse },
{ name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Some metadata have been updated on an appointment. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentMetaDataUpdatedRequest, O: AppointmentMetaDataUpdatedResponse },
{ name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An attachment is added for the Appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttachmentAddedRequest, O: AppointmentAttachmentAddedResponse },
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An attachment is removed for the Appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttachmentRemovedRequest, O: AppointmentAttachmentRemovedResponse },
{ name: "EmailsAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment Emails have been added." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentEmailsAddedRequest, O: AppointmentEmailsAddedResponse },
{ name: "EmailsRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment Emails have been removed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentEmailsRemovedRequest, O: AppointmentEmailsRemovedResponse },
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An Appointment has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentSanitisedRequest, O: AppointmentSanitisedResponse },
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCustomFieldsUpdatedRequest, O: AppointmentCustomFieldsUpdatedResponse },
{ name: "Redetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The associated appointment was not created correctly. Call this api to fix the appointment creation. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentRedetectedRequest, O: AppointmentRedetectedResponse }
], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" });

View File

@@ -14,6 +14,8 @@
export * from './admin-partner'
export * from './adminConnection.client'
export * from './adminConnection'
export * from './alias.client'
export * from './alias'
export * from './api.client'
export * from './api'
export * from './appointment'

View File

@@ -1,6 +1,6 @@
{
"name": "@reflex-platform/npm-core-sdk",
"version": "1.13.0-SNAPSHOT-260205084137",
"version": "1.13.0-SNAPSHOT-260209155741",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",