You've already forked npm-core-sdk
2928 lines
158 KiB
TypeScript
2928 lines
158 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
|
// @generated from protobuf file "actorInput.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";
|
|
import { ActorAuthorisation } from "./slotbooking";
|
|
import { SiteAlias } from "./repositoryShared";
|
|
import { ClaimSummary } from "./shared";
|
|
import { AttachmentSummary } from "./shared";
|
|
import { ActorSnapshot } from "./repositoryShared";
|
|
import { ResponseHeader } from "./shared";
|
|
import { RequestProjectHeader } from "./shared";
|
|
import { EntityID } from "./shared";
|
|
import { EventHeader } from "./shared";
|
|
import { CarrierService } from "./repositoryShared";
|
|
import { ActorTypology } from "./repositoryShared";
|
|
import { Address } from "./repositoryShared";
|
|
import { MetadataElement } from "./shared";
|
|
import { IdType } from "./repositoryShared";
|
|
/**
|
|
* Event Payload
|
|
*
|
|
* @generated from protobuf message api.ActorCreatedPayload
|
|
*/
|
|
export interface ActorCreatedPayload {
|
|
/**
|
|
* Actor Name
|
|
*
|
|
* @generated from protobuf field: string Name = 1
|
|
*/
|
|
Name: string;
|
|
/**
|
|
* @generated from protobuf field: api.IdType IdType = 2
|
|
*/
|
|
IdType: IdType;
|
|
/**
|
|
* @generated from protobuf field: repeated api.MetadataElement MetaData = 3
|
|
*/
|
|
MetaData: MetadataElement[];
|
|
/**
|
|
* @generated from protobuf field: api.Address Address = 4
|
|
*/
|
|
Address?: Address;
|
|
// ActorContact Contact = 5;
|
|
|
|
/**
|
|
* Existing PartnerID
|
|
*
|
|
* @generated from protobuf field: string PartnerID = 6
|
|
*/
|
|
PartnerID: string;
|
|
// PartnerPayload Partner = 7;
|
|
// string AdditionalInformations = 9;
|
|
|
|
/**
|
|
* @generated from protobuf field: string AdditionalInformation = 15
|
|
*/
|
|
AdditionalInformation: string;
|
|
/**
|
|
* @generated from protobuf field: api.ActorTypology Typology = 10
|
|
*/
|
|
Typology: ActorTypology;
|
|
/**
|
|
* Must be a valid email address
|
|
*
|
|
* @generated from protobuf field: repeated string Emails = 12
|
|
*/
|
|
Emails: string[];
|
|
/**
|
|
* @generated from protobuf field: repeated string Phones = 13
|
|
*/
|
|
Phones: string[];
|
|
/**
|
|
* Can manage stock
|
|
*
|
|
* @generated from protobuf field: bool ManagedStock = 14
|
|
*/
|
|
ManagedStock: boolean;
|
|
/**
|
|
* Can be used as carrier
|
|
*
|
|
* @generated from protobuf field: bool IsCarrier = 16
|
|
*/
|
|
IsCarrier: boolean;
|
|
/**
|
|
* List of carrier services
|
|
*
|
|
* @generated from protobuf field: repeated api.CarrierService CarrierServices = 17
|
|
*/
|
|
CarrierServices: CarrierService[];
|
|
/**
|
|
* @generated from protobuf field: bool IsShipToConnected = 18
|
|
*/
|
|
IsShipToConnected: boolean;
|
|
/**
|
|
* @generated from protobuf field: bool IsShipFromConnected = 19
|
|
*/
|
|
IsShipFromConnected: boolean;
|
|
/**
|
|
* Must be existing partner ID
|
|
*
|
|
* @generated from protobuf field: string ShipToPartnerAppID = 20
|
|
*/
|
|
ShipToPartnerAppID: string;
|
|
/**
|
|
* Must be existing partner ID
|
|
*
|
|
* @generated from protobuf field: string ShipFromPartnerAppID = 21
|
|
*/
|
|
ShipFromPartnerAppID: string;
|
|
/**
|
|
* @generated from protobuf field: string PhotoURI = 26
|
|
*/
|
|
PhotoURI: string;
|
|
/**
|
|
* Prefix used to create executionflow identifiers
|
|
*
|
|
* @generated from protobuf field: repeated string ConnectionIdentifierPrefixes = 28
|
|
*/
|
|
ConnectionIdentifierPrefixes: string[];
|
|
}
|
|
/**
|
|
* Event message
|
|
*
|
|
* @generated from protobuf message api.ActorCreatedEvent
|
|
*/
|
|
export interface ActorCreatedEvent {
|
|
/**
|
|
* @generated from protobuf field: api.EventHeader Header = 1
|
|
*/
|
|
Header?: EventHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorCreatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorCreatedPayload;
|
|
}
|
|
/**
|
|
* API Request
|
|
*
|
|
* @generated from protobuf message api.ActorCreatedRequest
|
|
*/
|
|
export interface ActorCreatedRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorCreatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorCreatedPayload;
|
|
}
|
|
/**
|
|
* API Response
|
|
*
|
|
* @generated from protobuf message api.ActorCreatedResponse
|
|
*/
|
|
export interface ActorCreatedResponse {
|
|
/**
|
|
* @generated from protobuf field: api.ResponseHeader Header = 1
|
|
*/
|
|
Header?: ResponseHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
}
|
|
/**
|
|
* Event Payload
|
|
*
|
|
* @generated from protobuf message api.ActorCreatedv2Payload
|
|
*/
|
|
export interface ActorCreatedv2Payload {
|
|
/**
|
|
* @generated from protobuf field: string Name = 1
|
|
*/
|
|
Name: string;
|
|
/**
|
|
* @generated from protobuf field: api.IdType IdType = 2
|
|
*/
|
|
IdType: IdType;
|
|
/**
|
|
* @generated from protobuf field: repeated api.MetadataElement MetaData = 3
|
|
*/
|
|
MetaData: MetadataElement[];
|
|
/**
|
|
* @generated from protobuf field: api.Address Address = 4
|
|
*/
|
|
Address?: Address;
|
|
/**
|
|
* @generated from protobuf field: string AdditionalInformation = 15
|
|
*/
|
|
AdditionalInformation: string;
|
|
/**
|
|
* @generated from protobuf field: api.ActorTypology Typology = 10
|
|
*/
|
|
Typology: ActorTypology;
|
|
/**
|
|
* Must be a valid email address
|
|
*
|
|
* @generated from protobuf field: repeated string Emails = 12
|
|
*/
|
|
Emails: string[];
|
|
/**
|
|
* @generated from protobuf field: repeated string Phones = 13
|
|
*/
|
|
Phones: string[];
|
|
/**
|
|
* Can be used as carrier
|
|
*
|
|
* @generated from protobuf field: bool IsCarrier = 16
|
|
*/
|
|
IsCarrier: boolean;
|
|
/**
|
|
* List of carrier services
|
|
*
|
|
* @generated from protobuf field: repeated api.CarrierService CarrierServices = 17
|
|
*/
|
|
CarrierServices: CarrierService[];
|
|
}
|
|
/**
|
|
* Event message
|
|
*
|
|
* @generated from protobuf message api.ActorCreatedv2Event
|
|
*/
|
|
export interface ActorCreatedv2Event {
|
|
/**
|
|
* @generated from protobuf field: api.EventHeader Header = 1
|
|
*/
|
|
Header?: EventHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorCreatedv2Payload Payload = 3
|
|
*/
|
|
Payload?: ActorCreatedv2Payload;
|
|
}
|
|
/**
|
|
* API Request
|
|
*
|
|
* @generated from protobuf message api.ActorCreatedv2Request
|
|
*/
|
|
export interface ActorCreatedv2Request {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorCreatedv2Payload Payload = 3
|
|
*/
|
|
Payload?: ActorCreatedv2Payload;
|
|
}
|
|
/**
|
|
* API Response
|
|
*
|
|
* @generated from protobuf message api.ActorCreatedv2Response
|
|
*/
|
|
export interface ActorCreatedv2Response {
|
|
/**
|
|
* @generated from protobuf field: api.ResponseHeader Header = 1
|
|
*/
|
|
Header?: ResponseHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
}
|
|
/**
|
|
* Event Payload
|
|
*
|
|
* @generated from protobuf message api.ActorDeletedPayload
|
|
*/
|
|
export interface ActorDeletedPayload {
|
|
}
|
|
/**
|
|
* Event message
|
|
*
|
|
* @generated from protobuf message api.ActorDeletedEvent
|
|
*/
|
|
export interface ActorDeletedEvent {
|
|
/**
|
|
* @generated from protobuf field: api.EventHeader Header = 1
|
|
*/
|
|
Header?: EventHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorDeletedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorDeletedPayload;
|
|
}
|
|
/**
|
|
* API Request
|
|
*
|
|
* @generated from protobuf message api.ActorDeletedRequest
|
|
*/
|
|
export interface ActorDeletedRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorDeletedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorDeletedPayload;
|
|
}
|
|
/**
|
|
* API Response
|
|
*
|
|
* @generated from protobuf message api.ActorDeletedResponse
|
|
*/
|
|
export interface ActorDeletedResponse {
|
|
/**
|
|
* @generated from protobuf field: api.ResponseHeader Header = 1
|
|
*/
|
|
Header?: ResponseHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
}
|
|
/**
|
|
* Event Payload
|
|
*
|
|
* @generated from protobuf message api.ActorSnapshotCompletedPayload
|
|
*/
|
|
export interface ActorSnapshotCompletedPayload {
|
|
/**
|
|
* @generated from protobuf field: api.ActorSnapshot Snapshot = 1
|
|
*/
|
|
Snapshot?: ActorSnapshot;
|
|
}
|
|
/**
|
|
* Event message
|
|
*
|
|
* @generated from protobuf message api.ActorSnapshotCompletedEvent
|
|
*/
|
|
export interface ActorSnapshotCompletedEvent {
|
|
/**
|
|
* @generated from protobuf field: api.EventHeader Header = 1
|
|
*/
|
|
Header?: EventHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorSnapshotCompletedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorSnapshotCompletedPayload;
|
|
}
|
|
/**
|
|
* API Request
|
|
*
|
|
* @generated from protobuf message api.ActorSnapshotCompletedRequest
|
|
*/
|
|
export interface ActorSnapshotCompletedRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorSnapshotCompletedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorSnapshotCompletedPayload;
|
|
}
|
|
/**
|
|
* API Response
|
|
*
|
|
* @generated from protobuf message api.ActorSnapshotCompletedResponse
|
|
*/
|
|
export interface ActorSnapshotCompletedResponse {
|
|
/**
|
|
* @generated from protobuf field: api.ResponseHeader Header = 1
|
|
*/
|
|
Header?: ResponseHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
}
|
|
//
|
|
// AttachmentAdded : this message tells that an attachment is added for the handlingUnit
|
|
|
|
/**
|
|
* @generated from protobuf message api.ActorAttachmentAddedPayload
|
|
*/
|
|
export interface ActorAttachmentAddedPayload {
|
|
/**
|
|
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 1
|
|
*/
|
|
Attachments: AttachmentSummary[];
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorAttachmentAddedEvent
|
|
*/
|
|
export interface ActorAttachmentAddedEvent {
|
|
/**
|
|
* @generated from protobuf field: api.EventHeader Header = 1
|
|
*/
|
|
Header?: EventHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorAttachmentAddedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorAttachmentAddedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorAttachmentAddedRequest
|
|
*/
|
|
export interface ActorAttachmentAddedRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorAttachmentAddedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorAttachmentAddedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorAttachmentAddedResponse
|
|
*/
|
|
export interface ActorAttachmentAddedResponse {
|
|
/**
|
|
* @generated from protobuf field: api.ResponseHeader Header = 1
|
|
*/
|
|
Header?: ResponseHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
}
|
|
//
|
|
// AttachmentRemoved : this message tells that an attachment is removed for the handlingUnit
|
|
|
|
/**
|
|
* @generated from protobuf message api.ActorAttachmentRemovedPayload
|
|
*/
|
|
export interface ActorAttachmentRemovedPayload {
|
|
/**
|
|
* @generated from protobuf field: repeated api.AttachmentSummary Attachments = 1
|
|
*/
|
|
Attachments: AttachmentSummary[];
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorAttachmentRemovedEvent
|
|
*/
|
|
export interface ActorAttachmentRemovedEvent {
|
|
/**
|
|
* @generated from protobuf field: api.EventHeader Header = 1
|
|
*/
|
|
Header?: EventHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorAttachmentRemovedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorAttachmentRemovedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorAttachmentRemovedRequest
|
|
*/
|
|
export interface ActorAttachmentRemovedRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorAttachmentRemovedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorAttachmentRemovedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorAttachmentRemovedResponse
|
|
*/
|
|
export interface ActorAttachmentRemovedResponse {
|
|
/**
|
|
* @generated from protobuf field: api.ResponseHeader Header = 1
|
|
*/
|
|
Header?: ResponseHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
}
|
|
//
|
|
// ClaimAdded : this message tells that a claim is added for the Actor
|
|
|
|
/**
|
|
* @generated from protobuf message api.ActorClaimAddedPayload
|
|
*/
|
|
export interface ActorClaimAddedPayload {
|
|
/**
|
|
* @generated from protobuf field: repeated api.ClaimSummary Claims = 1
|
|
*/
|
|
Claims: ClaimSummary[];
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorClaimAddedEvent
|
|
*/
|
|
export interface ActorClaimAddedEvent {
|
|
/**
|
|
* @generated from protobuf field: api.EventHeader Header = 1
|
|
*/
|
|
Header?: EventHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorClaimAddedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorClaimAddedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorClaimAddedRequest
|
|
*/
|
|
export interface ActorClaimAddedRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorClaimAddedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorClaimAddedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorClaimAddedResponse
|
|
*/
|
|
export interface ActorClaimAddedResponse {
|
|
/**
|
|
* @generated from protobuf field: api.ResponseHeader Header = 1
|
|
*/
|
|
Header?: ResponseHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
}
|
|
//
|
|
// MetaDataUpdated
|
|
// - Inform the Actor about a metadata update.
|
|
//
|
|
// Comments updated 2022/10/19
|
|
|
|
/**
|
|
* @generated from protobuf message api.ActorMetaDataUpdatedPayload
|
|
*/
|
|
export interface ActorMetaDataUpdatedPayload {
|
|
/**
|
|
* Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)
|
|
*
|
|
* @generated from protobuf field: repeated api.MetadataElement MetaData = 1
|
|
*/
|
|
MetaData: MetadataElement[];
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorMetaDataUpdatedEvent
|
|
*/
|
|
export interface ActorMetaDataUpdatedEvent {
|
|
/**
|
|
* @generated from protobuf field: api.EventHeader Header = 1
|
|
*/
|
|
Header?: EventHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorMetaDataUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorMetaDataUpdatedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorMetaDataUpdatedRequest
|
|
*/
|
|
export interface ActorMetaDataUpdatedRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorMetaDataUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorMetaDataUpdatedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorMetaDataUpdatedResponse
|
|
*/
|
|
export interface ActorMetaDataUpdatedResponse {
|
|
/**
|
|
* @generated from protobuf field: api.ResponseHeader Header = 1
|
|
*/
|
|
Header?: ResponseHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
}
|
|
//
|
|
// AppointmentConfigurationUpdated
|
|
// - Inform the Actor about the appointment configuration update
|
|
//
|
|
// Comments updated 2022/10/19
|
|
|
|
/**
|
|
* @generated from protobuf message api.ActorAppointmentConfigurationUpdatedPayload
|
|
*/
|
|
export interface ActorAppointmentConfigurationUpdatedPayload {
|
|
/**
|
|
* @generated from protobuf field: bool IsSlotBookingEnabled = 1
|
|
*/
|
|
IsSlotBookingEnabled: boolean;
|
|
/**
|
|
* @generated from protobuf field: api.SiteAlias SiteAlias = 2
|
|
*/
|
|
SiteAlias?: SiteAlias;
|
|
/**
|
|
* @generated from protobuf field: api.ActorAuthorisation AppointmentConstraints = 3
|
|
*/
|
|
AppointmentConstraints?: ActorAuthorisation;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorAppointmentConfigurationUpdatedEvent
|
|
*/
|
|
export interface ActorAppointmentConfigurationUpdatedEvent {
|
|
/**
|
|
* @generated from protobuf field: api.EventHeader Header = 1
|
|
*/
|
|
Header?: EventHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorAppointmentConfigurationUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorAppointmentConfigurationUpdatedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorAppointmentConfigurationUpdatedRequest
|
|
*/
|
|
export interface ActorAppointmentConfigurationUpdatedRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
/**
|
|
* @generated from protobuf field: api.ActorAppointmentConfigurationUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorAppointmentConfigurationUpdatedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorAppointmentConfigurationUpdatedResponse
|
|
*/
|
|
export interface ActorAppointmentConfigurationUpdatedResponse {
|
|
/**
|
|
* @generated from protobuf field: api.ResponseHeader Header = 1
|
|
*/
|
|
Header?: ResponseHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
}
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCreatedPayload$Type extends MessageType<ActorCreatedPayload> {
|
|
constructor() {
|
|
super("api.ActorCreatedPayload", [
|
|
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Actor Name" } } },
|
|
{ no: 2, name: "IdType", kind: "enum", localName: "IdType", jsonName: "IdType", T: () => ["api.IdType", IdType], options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
|
|
{ no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } },
|
|
{ no: 4, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
|
{ no: 6, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Existing PartnerID" }, "api.entityRef": "Partner" } },
|
|
{ no: 15, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ },
|
|
{ no: 10, name: "Typology", kind: "enum", localName: "Typology", jsonName: "Typology", T: () => ["api.ActorTypology", ActorTypology] },
|
|
{ no: 12, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
|
|
{ no: 13, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"06 00 00 00 00\", \"+49 00 0000 0000\"]" } } },
|
|
{ no: 14, name: "ManagedStock", kind: "scalar", localName: "ManagedStock", jsonName: "ManagedStock", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Can manage stock" } } },
|
|
{ no: 16, name: "IsCarrier", kind: "scalar", localName: "IsCarrier", jsonName: "IsCarrier", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Can be used as carrier" } } },
|
|
{ no: 17, name: "CarrierServices", kind: "message", localName: "CarrierServices", jsonName: "CarrierServices", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierService, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of carrier services" }, "api.aggKey": "ID" } },
|
|
{ no: 18, name: "IsShipToConnected", kind: "scalar", localName: "IsShipToConnected", jsonName: "IsShipToConnected", T: 8 /*ScalarType.BOOL*/ },
|
|
{ no: 19, name: "IsShipFromConnected", kind: "scalar", localName: "IsShipFromConnected", jsonName: "IsShipFromConnected", T: 8 /*ScalarType.BOOL*/ },
|
|
{ no: 20, name: "ShipToPartnerAppID", kind: "scalar", localName: "ShipToPartnerAppID", jsonName: "ShipToPartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be existing partner ID" } } },
|
|
{ no: 21, name: "ShipFromPartnerAppID", kind: "scalar", localName: "ShipFromPartnerAppID", jsonName: "ShipFromPartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be existing partner ID" } } },
|
|
{ no: 26, name: "PhotoURI", kind: "scalar", localName: "PhotoURI", jsonName: "PhotoURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"https://reflex-visibility-forever.jpg\"" }, "api.viewType": { Types: [{ Context: "*", Type: "image" }] } } },
|
|
{ no: 28, name: "ConnectionIdentifierPrefixes", kind: "scalar", localName: "ConnectionIdentifierPrefixes", jsonName: "ConnectionIdentifierPrefixes", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { items: { string: { pattern: "^[a-zA-Z0-9]*" } } } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
|
|
}
|
|
create(value?: PartialMessage<ActorCreatedPayload>): ActorCreatedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Name = "";
|
|
message.IdType = 0;
|
|
message.MetaData = [];
|
|
message.PartnerID = "";
|
|
message.AdditionalInformation = "";
|
|
message.Typology = 0;
|
|
message.Emails = [];
|
|
message.Phones = [];
|
|
message.ManagedStock = false;
|
|
message.IsCarrier = false;
|
|
message.CarrierServices = [];
|
|
message.IsShipToConnected = false;
|
|
message.IsShipFromConnected = false;
|
|
message.ShipToPartnerAppID = "";
|
|
message.ShipFromPartnerAppID = "";
|
|
message.PhotoURI = "";
|
|
message.ConnectionIdentifierPrefixes = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCreatedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCreatedPayload): ActorCreatedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string Name */ 1:
|
|
message.Name = reader.string();
|
|
break;
|
|
case /* api.IdType IdType */ 2:
|
|
message.IdType = reader.int32();
|
|
break;
|
|
case /* repeated api.MetadataElement MetaData */ 3:
|
|
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* api.Address Address */ 4:
|
|
message.Address = Address.internalBinaryRead(reader, reader.uint32(), options, message.Address);
|
|
break;
|
|
case /* string PartnerID */ 6:
|
|
message.PartnerID = reader.string();
|
|
break;
|
|
case /* string AdditionalInformation */ 15:
|
|
message.AdditionalInformation = reader.string();
|
|
break;
|
|
case /* api.ActorTypology Typology */ 10:
|
|
message.Typology = reader.int32();
|
|
break;
|
|
case /* repeated string Emails */ 12:
|
|
message.Emails.push(reader.string());
|
|
break;
|
|
case /* repeated string Phones */ 13:
|
|
message.Phones.push(reader.string());
|
|
break;
|
|
case /* bool ManagedStock */ 14:
|
|
message.ManagedStock = reader.bool();
|
|
break;
|
|
case /* bool IsCarrier */ 16:
|
|
message.IsCarrier = reader.bool();
|
|
break;
|
|
case /* repeated api.CarrierService CarrierServices */ 17:
|
|
message.CarrierServices.push(CarrierService.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* bool IsShipToConnected */ 18:
|
|
message.IsShipToConnected = reader.bool();
|
|
break;
|
|
case /* bool IsShipFromConnected */ 19:
|
|
message.IsShipFromConnected = reader.bool();
|
|
break;
|
|
case /* string ShipToPartnerAppID */ 20:
|
|
message.ShipToPartnerAppID = reader.string();
|
|
break;
|
|
case /* string ShipFromPartnerAppID */ 21:
|
|
message.ShipFromPartnerAppID = reader.string();
|
|
break;
|
|
case /* string PhotoURI */ 26:
|
|
message.PhotoURI = reader.string();
|
|
break;
|
|
case /* repeated string ConnectionIdentifierPrefixes */ 28:
|
|
message.ConnectionIdentifierPrefixes.push(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: ActorCreatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string Name = 1; */
|
|
if (message.Name !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.Name);
|
|
/* api.IdType IdType = 2; */
|
|
if (message.IdType !== 0)
|
|
writer.tag(2, WireType.Varint).int32(message.IdType);
|
|
/* repeated api.MetadataElement MetaData = 3; */
|
|
for (let i = 0; i < message.MetaData.length; i++)
|
|
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.Address Address = 4; */
|
|
if (message.Address)
|
|
Address.internalBinaryWrite(message.Address, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
/* string PartnerID = 6; */
|
|
if (message.PartnerID !== "")
|
|
writer.tag(6, WireType.LengthDelimited).string(message.PartnerID);
|
|
/* api.ActorTypology Typology = 10; */
|
|
if (message.Typology !== 0)
|
|
writer.tag(10, WireType.Varint).int32(message.Typology);
|
|
/* repeated string Emails = 12; */
|
|
for (let i = 0; i < message.Emails.length; i++)
|
|
writer.tag(12, WireType.LengthDelimited).string(message.Emails[i]);
|
|
/* repeated string Phones = 13; */
|
|
for (let i = 0; i < message.Phones.length; i++)
|
|
writer.tag(13, WireType.LengthDelimited).string(message.Phones[i]);
|
|
/* bool ManagedStock = 14; */
|
|
if (message.ManagedStock !== false)
|
|
writer.tag(14, WireType.Varint).bool(message.ManagedStock);
|
|
/* string AdditionalInformation = 15; */
|
|
if (message.AdditionalInformation !== "")
|
|
writer.tag(15, WireType.LengthDelimited).string(message.AdditionalInformation);
|
|
/* bool IsCarrier = 16; */
|
|
if (message.IsCarrier !== false)
|
|
writer.tag(16, WireType.Varint).bool(message.IsCarrier);
|
|
/* repeated api.CarrierService CarrierServices = 17; */
|
|
for (let i = 0; i < message.CarrierServices.length; i++)
|
|
CarrierService.internalBinaryWrite(message.CarrierServices[i], writer.tag(17, WireType.LengthDelimited).fork(), options).join();
|
|
/* bool IsShipToConnected = 18; */
|
|
if (message.IsShipToConnected !== false)
|
|
writer.tag(18, WireType.Varint).bool(message.IsShipToConnected);
|
|
/* bool IsShipFromConnected = 19; */
|
|
if (message.IsShipFromConnected !== false)
|
|
writer.tag(19, WireType.Varint).bool(message.IsShipFromConnected);
|
|
/* string ShipToPartnerAppID = 20; */
|
|
if (message.ShipToPartnerAppID !== "")
|
|
writer.tag(20, WireType.LengthDelimited).string(message.ShipToPartnerAppID);
|
|
/* string ShipFromPartnerAppID = 21; */
|
|
if (message.ShipFromPartnerAppID !== "")
|
|
writer.tag(21, WireType.LengthDelimited).string(message.ShipFromPartnerAppID);
|
|
/* string PhotoURI = 26; */
|
|
if (message.PhotoURI !== "")
|
|
writer.tag(26, WireType.LengthDelimited).string(message.PhotoURI);
|
|
/* repeated string ConnectionIdentifierPrefixes = 28; */
|
|
for (let i = 0; i < message.ConnectionIdentifierPrefixes.length; i++)
|
|
writer.tag(28, WireType.LengthDelimited).string(message.ConnectionIdentifierPrefixes[i]);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ActorCreatedPayload
|
|
*/
|
|
export const ActorCreatedPayload = new ActorCreatedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCreatedEvent$Type extends MessageType<ActorCreatedEvent> {
|
|
constructor() {
|
|
super("api.ActorCreatedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCreatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "EntityID", "ActorCreatedPayload"] } }, "api.messageType": "Event", "api.inputEvent": "Created", "api.preAggMethods": "checkPartnerAppId" });
|
|
}
|
|
create(value?: PartialMessage<ActorCreatedEvent>): ActorCreatedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCreatedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCreatedEvent): ActorCreatedEvent {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.EventHeader Header */ 1:
|
|
message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorCreatedPayload Payload */ 3:
|
|
message.Payload = ActorCreatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorCreatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.EventHeader Header = 1; */
|
|
if (message.Header)
|
|
EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorCreatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorCreatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorCreatedEvent
|
|
*/
|
|
export const ActorCreatedEvent = new ActorCreatedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCreatedRequest$Type extends MessageType<ActorCreatedRequest> {
|
|
constructor() {
|
|
super("api.ActorCreatedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCreatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Created" });
|
|
}
|
|
create(value?: PartialMessage<ActorCreatedRequest>): ActorCreatedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCreatedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCreatedRequest): ActorCreatedRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorCreatedPayload Payload */ 3:
|
|
message.Payload = ActorCreatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorCreatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorCreatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorCreatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorCreatedRequest
|
|
*/
|
|
export const ActorCreatedRequest = new ActorCreatedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCreatedResponse$Type extends MessageType<ActorCreatedResponse> {
|
|
constructor() {
|
|
super("api.ActorCreatedResponse", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }
|
|
], { "api.messageType": "Response", "api.inputEvent": "Created" });
|
|
}
|
|
create(value?: PartialMessage<ActorCreatedResponse>): ActorCreatedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCreatedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCreatedResponse): ActorCreatedResponse {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ResponseHeader Header */ 1:
|
|
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
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: ActorCreatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ResponseHeader Header = 1; */
|
|
if (message.Header)
|
|
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, 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.ActorCreatedResponse
|
|
*/
|
|
export const ActorCreatedResponse = new ActorCreatedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCreatedv2Payload$Type extends MessageType<ActorCreatedv2Payload> {
|
|
constructor() {
|
|
super("api.ActorCreatedv2Payload", [
|
|
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Actor Name" } } },
|
|
{ no: 2, name: "IdType", kind: "enum", localName: "IdType", jsonName: "IdType", T: () => ["api.IdType", IdType], options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
|
|
{ no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } },
|
|
{ no: 4, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
|
{ no: 15, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ },
|
|
{ no: 10, name: "Typology", kind: "enum", localName: "Typology", jsonName: "Typology", T: () => ["api.ActorTypology", ActorTypology] },
|
|
{ no: 12, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
|
|
{ no: 13, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"06 00 00 00 00\", \"+49 00 0000 0000\"]" } } },
|
|
{ no: 16, name: "IsCarrier", kind: "scalar", localName: "IsCarrier", jsonName: "IsCarrier", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Can be used as carrier" } } },
|
|
{ no: 17, name: "CarrierServices", kind: "message", localName: "CarrierServices", jsonName: "CarrierServices", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierService, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of carrier services" }, "api.aggKey": "ID" } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Createdv2" });
|
|
}
|
|
create(value?: PartialMessage<ActorCreatedv2Payload>): ActorCreatedv2Payload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Name = "";
|
|
message.IdType = 0;
|
|
message.MetaData = [];
|
|
message.AdditionalInformation = "";
|
|
message.Typology = 0;
|
|
message.Emails = [];
|
|
message.Phones = [];
|
|
message.IsCarrier = false;
|
|
message.CarrierServices = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCreatedv2Payload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCreatedv2Payload): ActorCreatedv2Payload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string Name */ 1:
|
|
message.Name = reader.string();
|
|
break;
|
|
case /* api.IdType IdType */ 2:
|
|
message.IdType = reader.int32();
|
|
break;
|
|
case /* repeated api.MetadataElement MetaData */ 3:
|
|
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* api.Address Address */ 4:
|
|
message.Address = Address.internalBinaryRead(reader, reader.uint32(), options, message.Address);
|
|
break;
|
|
case /* string AdditionalInformation */ 15:
|
|
message.AdditionalInformation = reader.string();
|
|
break;
|
|
case /* api.ActorTypology Typology */ 10:
|
|
message.Typology = reader.int32();
|
|
break;
|
|
case /* repeated string Emails */ 12:
|
|
message.Emails.push(reader.string());
|
|
break;
|
|
case /* repeated string Phones */ 13:
|
|
message.Phones.push(reader.string());
|
|
break;
|
|
case /* bool IsCarrier */ 16:
|
|
message.IsCarrier = reader.bool();
|
|
break;
|
|
case /* repeated api.CarrierService CarrierServices */ 17:
|
|
message.CarrierServices.push(CarrierService.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: ActorCreatedv2Payload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string Name = 1; */
|
|
if (message.Name !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.Name);
|
|
/* api.IdType IdType = 2; */
|
|
if (message.IdType !== 0)
|
|
writer.tag(2, WireType.Varint).int32(message.IdType);
|
|
/* repeated api.MetadataElement MetaData = 3; */
|
|
for (let i = 0; i < message.MetaData.length; i++)
|
|
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.Address Address = 4; */
|
|
if (message.Address)
|
|
Address.internalBinaryWrite(message.Address, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorTypology Typology = 10; */
|
|
if (message.Typology !== 0)
|
|
writer.tag(10, WireType.Varint).int32(message.Typology);
|
|
/* repeated string Emails = 12; */
|
|
for (let i = 0; i < message.Emails.length; i++)
|
|
writer.tag(12, WireType.LengthDelimited).string(message.Emails[i]);
|
|
/* repeated string Phones = 13; */
|
|
for (let i = 0; i < message.Phones.length; i++)
|
|
writer.tag(13, WireType.LengthDelimited).string(message.Phones[i]);
|
|
/* string AdditionalInformation = 15; */
|
|
if (message.AdditionalInformation !== "")
|
|
writer.tag(15, WireType.LengthDelimited).string(message.AdditionalInformation);
|
|
/* bool IsCarrier = 16; */
|
|
if (message.IsCarrier !== false)
|
|
writer.tag(16, WireType.Varint).bool(message.IsCarrier);
|
|
/* repeated api.CarrierService CarrierServices = 17; */
|
|
for (let i = 0; i < message.CarrierServices.length; i++)
|
|
CarrierService.internalBinaryWrite(message.CarrierServices[i], writer.tag(17, 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.ActorCreatedv2Payload
|
|
*/
|
|
export const ActorCreatedv2Payload = new ActorCreatedv2Payload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCreatedv2Event$Type extends MessageType<ActorCreatedv2Event> {
|
|
constructor() {
|
|
super("api.ActorCreatedv2Event", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCreatedv2Payload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "api.messageType": "Event", "api.inputEvent": "Createdv2" });
|
|
}
|
|
create(value?: PartialMessage<ActorCreatedv2Event>): ActorCreatedv2Event {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCreatedv2Event>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCreatedv2Event): ActorCreatedv2Event {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.EventHeader Header */ 1:
|
|
message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorCreatedv2Payload Payload */ 3:
|
|
message.Payload = ActorCreatedv2Payload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorCreatedv2Event, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.EventHeader Header = 1; */
|
|
if (message.Header)
|
|
EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorCreatedv2Payload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorCreatedv2Payload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorCreatedv2Event
|
|
*/
|
|
export const ActorCreatedv2Event = new ActorCreatedv2Event$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCreatedv2Request$Type extends MessageType<ActorCreatedv2Request> {
|
|
constructor() {
|
|
super("api.ActorCreatedv2Request", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCreatedv2Payload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Createdv2" });
|
|
}
|
|
create(value?: PartialMessage<ActorCreatedv2Request>): ActorCreatedv2Request {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCreatedv2Request>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCreatedv2Request): ActorCreatedv2Request {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorCreatedv2Payload Payload */ 3:
|
|
message.Payload = ActorCreatedv2Payload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorCreatedv2Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorCreatedv2Payload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorCreatedv2Payload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorCreatedv2Request
|
|
*/
|
|
export const ActorCreatedv2Request = new ActorCreatedv2Request$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCreatedv2Response$Type extends MessageType<ActorCreatedv2Response> {
|
|
constructor() {
|
|
super("api.ActorCreatedv2Response", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }
|
|
], { "api.messageType": "Response", "api.inputEvent": "Createdv2" });
|
|
}
|
|
create(value?: PartialMessage<ActorCreatedv2Response>): ActorCreatedv2Response {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCreatedv2Response>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCreatedv2Response): ActorCreatedv2Response {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ResponseHeader Header */ 1:
|
|
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
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: ActorCreatedv2Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ResponseHeader Header = 1; */
|
|
if (message.Header)
|
|
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, 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.ActorCreatedv2Response
|
|
*/
|
|
export const ActorCreatedv2Response = new ActorCreatedv2Response$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorDeletedPayload$Type extends MessageType<ActorDeletedPayload> {
|
|
constructor() {
|
|
super("api.ActorDeletedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Deleted" });
|
|
}
|
|
create(value?: PartialMessage<ActorDeletedPayload>): ActorDeletedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorDeletedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorDeletedPayload): ActorDeletedPayload {
|
|
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: ActorDeletedPayload, 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.ActorDeletedPayload
|
|
*/
|
|
export const ActorDeletedPayload = new ActorDeletedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorDeletedEvent$Type extends MessageType<ActorDeletedEvent> {
|
|
constructor() {
|
|
super("api.ActorDeletedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorDeletedPayload }
|
|
], { "api.messageType": "Event", "api.inputEvent": "Deleted", "api.preAggMethods": "checkDeleted" });
|
|
}
|
|
create(value?: PartialMessage<ActorDeletedEvent>): ActorDeletedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorDeletedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorDeletedEvent): ActorDeletedEvent {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.EventHeader Header */ 1:
|
|
message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorDeletedPayload Payload */ 3:
|
|
message.Payload = ActorDeletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorDeletedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.EventHeader Header = 1; */
|
|
if (message.Header)
|
|
EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorDeletedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorDeletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorDeletedEvent
|
|
*/
|
|
export const ActorDeletedEvent = new ActorDeletedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorDeletedRequest$Type extends MessageType<ActorDeletedRequest> {
|
|
constructor() {
|
|
super("api.ActorDeletedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorDeletedPayload }
|
|
], { "api.messageType": "Request", "api.inputEvent": "Deleted" });
|
|
}
|
|
create(value?: PartialMessage<ActorDeletedRequest>): ActorDeletedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorDeletedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorDeletedRequest): ActorDeletedRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorDeletedPayload Payload */ 3:
|
|
message.Payload = ActorDeletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorDeletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorDeletedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorDeletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorDeletedRequest
|
|
*/
|
|
export const ActorDeletedRequest = new ActorDeletedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorDeletedResponse$Type extends MessageType<ActorDeletedResponse> {
|
|
constructor() {
|
|
super("api.ActorDeletedResponse", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }
|
|
], { "api.messageType": "Response", "api.inputEvent": "Deleted" });
|
|
}
|
|
create(value?: PartialMessage<ActorDeletedResponse>): ActorDeletedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorDeletedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorDeletedResponse): ActorDeletedResponse {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ResponseHeader Header */ 1:
|
|
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
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: ActorDeletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ResponseHeader Header = 1; */
|
|
if (message.Header)
|
|
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, 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.ActorDeletedResponse
|
|
*/
|
|
export const ActorDeletedResponse = new ActorDeletedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorSnapshotCompletedPayload$Type extends MessageType<ActorSnapshotCompletedPayload> {
|
|
constructor() {
|
|
super("api.ActorSnapshotCompletedPayload", [
|
|
{ no: 1, name: "Snapshot", kind: "message", localName: "Snapshot", jsonName: "Snapshot", T: () => ActorSnapshot, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Snapshot"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "SnapshotCompleted", "api.preAggMethods": "rejectSnapshot" });
|
|
}
|
|
create(value?: PartialMessage<ActorSnapshotCompletedPayload>): ActorSnapshotCompletedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorSnapshotCompletedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorSnapshotCompletedPayload): ActorSnapshotCompletedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ActorSnapshot Snapshot */ 1:
|
|
message.Snapshot = ActorSnapshot.internalBinaryRead(reader, reader.uint32(), options, message.Snapshot);
|
|
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: ActorSnapshotCompletedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ActorSnapshot Snapshot = 1; */
|
|
if (message.Snapshot)
|
|
ActorSnapshot.internalBinaryWrite(message.Snapshot, 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.ActorSnapshotCompletedPayload
|
|
*/
|
|
export const ActorSnapshotCompletedPayload = new ActorSnapshotCompletedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorSnapshotCompletedEvent$Type extends MessageType<ActorSnapshotCompletedEvent> {
|
|
constructor() {
|
|
super("api.ActorSnapshotCompletedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorSnapshotCompletedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "api.messageType": "Event", "api.inputEvent": "SnapshotCompleted" });
|
|
}
|
|
create(value?: PartialMessage<ActorSnapshotCompletedEvent>): ActorSnapshotCompletedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorSnapshotCompletedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorSnapshotCompletedEvent): ActorSnapshotCompletedEvent {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.EventHeader Header */ 1:
|
|
message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorSnapshotCompletedPayload Payload */ 3:
|
|
message.Payload = ActorSnapshotCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorSnapshotCompletedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.EventHeader Header = 1; */
|
|
if (message.Header)
|
|
EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorSnapshotCompletedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorSnapshotCompletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorSnapshotCompletedEvent
|
|
*/
|
|
export const ActorSnapshotCompletedEvent = new ActorSnapshotCompletedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorSnapshotCompletedRequest$Type extends MessageType<ActorSnapshotCompletedRequest> {
|
|
constructor() {
|
|
super("api.ActorSnapshotCompletedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorSnapshotCompletedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "SnapshotCompleted" });
|
|
}
|
|
create(value?: PartialMessage<ActorSnapshotCompletedRequest>): ActorSnapshotCompletedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorSnapshotCompletedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorSnapshotCompletedRequest): ActorSnapshotCompletedRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorSnapshotCompletedPayload Payload */ 3:
|
|
message.Payload = ActorSnapshotCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorSnapshotCompletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorSnapshotCompletedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorSnapshotCompletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorSnapshotCompletedRequest
|
|
*/
|
|
export const ActorSnapshotCompletedRequest = new ActorSnapshotCompletedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorSnapshotCompletedResponse$Type extends MessageType<ActorSnapshotCompletedResponse> {
|
|
constructor() {
|
|
super("api.ActorSnapshotCompletedResponse", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }
|
|
], { "api.messageType": "Response", "api.inputEvent": "SnapshotCompleted" });
|
|
}
|
|
create(value?: PartialMessage<ActorSnapshotCompletedResponse>): ActorSnapshotCompletedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorSnapshotCompletedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorSnapshotCompletedResponse): ActorSnapshotCompletedResponse {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ResponseHeader Header */ 1:
|
|
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
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: ActorSnapshotCompletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ResponseHeader Header = 1; */
|
|
if (message.Header)
|
|
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, 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.ActorSnapshotCompletedResponse
|
|
*/
|
|
export const ActorSnapshotCompletedResponse = new ActorSnapshotCompletedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAttachmentAddedPayload$Type extends MessageType<ActorAttachmentAddedPayload> {
|
|
constructor() {
|
|
super("api.ActorAttachmentAddedPayload", [
|
|
{ no: 1, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments added per type" } } }
|
|
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentAdded" });
|
|
}
|
|
create(value?: PartialMessage<ActorAttachmentAddedPayload>): ActorAttachmentAddedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Attachments = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAttachmentAddedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAttachmentAddedPayload): ActorAttachmentAddedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* repeated api.AttachmentSummary Attachments */ 1:
|
|
message.Attachments.push(AttachmentSummary.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: ActorAttachmentAddedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* repeated api.AttachmentSummary Attachments = 1; */
|
|
for (let i = 0; i < message.Attachments.length; i++)
|
|
AttachmentSummary.internalBinaryWrite(message.Attachments[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.ActorAttachmentAddedPayload
|
|
*/
|
|
export const ActorAttachmentAddedPayload = new ActorAttachmentAddedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAttachmentAddedEvent$Type extends MessageType<ActorAttachmentAddedEvent> {
|
|
constructor() {
|
|
super("api.ActorAttachmentAddedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAttachmentAddedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "api.messageType": "Event", "api.inputEvent": "AttachmentAdded", "api.preAggMethods": "addAttachment" });
|
|
}
|
|
create(value?: PartialMessage<ActorAttachmentAddedEvent>): ActorAttachmentAddedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAttachmentAddedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAttachmentAddedEvent): ActorAttachmentAddedEvent {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.EventHeader Header */ 1:
|
|
message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorAttachmentAddedPayload Payload */ 3:
|
|
message.Payload = ActorAttachmentAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorAttachmentAddedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.EventHeader Header = 1; */
|
|
if (message.Header)
|
|
EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorAttachmentAddedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorAttachmentAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorAttachmentAddedEvent
|
|
*/
|
|
export const ActorAttachmentAddedEvent = new ActorAttachmentAddedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAttachmentAddedRequest$Type extends MessageType<ActorAttachmentAddedRequest> {
|
|
constructor() {
|
|
super("api.ActorAttachmentAddedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAttachmentAddedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AttachmentAdded" });
|
|
}
|
|
create(value?: PartialMessage<ActorAttachmentAddedRequest>): ActorAttachmentAddedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAttachmentAddedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAttachmentAddedRequest): ActorAttachmentAddedRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorAttachmentAddedPayload Payload */ 3:
|
|
message.Payload = ActorAttachmentAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorAttachmentAddedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorAttachmentAddedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorAttachmentAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorAttachmentAddedRequest
|
|
*/
|
|
export const ActorAttachmentAddedRequest = new ActorAttachmentAddedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAttachmentAddedResponse$Type extends MessageType<ActorAttachmentAddedResponse> {
|
|
constructor() {
|
|
super("api.ActorAttachmentAddedResponse", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }
|
|
], { "api.messageType": "Response", "api.inputEvent": "AttachmentAdded" });
|
|
}
|
|
create(value?: PartialMessage<ActorAttachmentAddedResponse>): ActorAttachmentAddedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAttachmentAddedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAttachmentAddedResponse): ActorAttachmentAddedResponse {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ResponseHeader Header */ 1:
|
|
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
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: ActorAttachmentAddedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ResponseHeader Header = 1; */
|
|
if (message.Header)
|
|
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, 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.ActorAttachmentAddedResponse
|
|
*/
|
|
export const ActorAttachmentAddedResponse = new ActorAttachmentAddedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAttachmentRemovedPayload$Type extends MessageType<ActorAttachmentRemovedPayload> {
|
|
constructor() {
|
|
super("api.ActorAttachmentRemovedPayload", [
|
|
{ no: 1, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments removed per type" } } }
|
|
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentRemoved" });
|
|
}
|
|
create(value?: PartialMessage<ActorAttachmentRemovedPayload>): ActorAttachmentRemovedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Attachments = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAttachmentRemovedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAttachmentRemovedPayload): ActorAttachmentRemovedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* repeated api.AttachmentSummary Attachments */ 1:
|
|
message.Attachments.push(AttachmentSummary.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: ActorAttachmentRemovedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* repeated api.AttachmentSummary Attachments = 1; */
|
|
for (let i = 0; i < message.Attachments.length; i++)
|
|
AttachmentSummary.internalBinaryWrite(message.Attachments[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.ActorAttachmentRemovedPayload
|
|
*/
|
|
export const ActorAttachmentRemovedPayload = new ActorAttachmentRemovedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAttachmentRemovedEvent$Type extends MessageType<ActorAttachmentRemovedEvent> {
|
|
constructor() {
|
|
super("api.ActorAttachmentRemovedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAttachmentRemovedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "api.messageType": "Event", "api.inputEvent": "AttachmentRemoved", "api.preAggMethods": "removeAttachment" });
|
|
}
|
|
create(value?: PartialMessage<ActorAttachmentRemovedEvent>): ActorAttachmentRemovedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAttachmentRemovedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAttachmentRemovedEvent): ActorAttachmentRemovedEvent {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.EventHeader Header */ 1:
|
|
message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorAttachmentRemovedPayload Payload */ 3:
|
|
message.Payload = ActorAttachmentRemovedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorAttachmentRemovedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.EventHeader Header = 1; */
|
|
if (message.Header)
|
|
EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorAttachmentRemovedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorAttachmentRemovedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorAttachmentRemovedEvent
|
|
*/
|
|
export const ActorAttachmentRemovedEvent = new ActorAttachmentRemovedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAttachmentRemovedRequest$Type extends MessageType<ActorAttachmentRemovedRequest> {
|
|
constructor() {
|
|
super("api.ActorAttachmentRemovedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAttachmentRemovedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AttachmentRemoved" });
|
|
}
|
|
create(value?: PartialMessage<ActorAttachmentRemovedRequest>): ActorAttachmentRemovedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAttachmentRemovedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAttachmentRemovedRequest): ActorAttachmentRemovedRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorAttachmentRemovedPayload Payload */ 3:
|
|
message.Payload = ActorAttachmentRemovedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorAttachmentRemovedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorAttachmentRemovedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorAttachmentRemovedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorAttachmentRemovedRequest
|
|
*/
|
|
export const ActorAttachmentRemovedRequest = new ActorAttachmentRemovedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAttachmentRemovedResponse$Type extends MessageType<ActorAttachmentRemovedResponse> {
|
|
constructor() {
|
|
super("api.ActorAttachmentRemovedResponse", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }
|
|
], { "api.messageType": "Response", "api.inputEvent": "AttachmentRemoved" });
|
|
}
|
|
create(value?: PartialMessage<ActorAttachmentRemovedResponse>): ActorAttachmentRemovedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAttachmentRemovedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAttachmentRemovedResponse): ActorAttachmentRemovedResponse {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ResponseHeader Header */ 1:
|
|
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
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: ActorAttachmentRemovedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ResponseHeader Header = 1; */
|
|
if (message.Header)
|
|
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, 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.ActorAttachmentRemovedResponse
|
|
*/
|
|
export const ActorAttachmentRemovedResponse = new ActorAttachmentRemovedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorClaimAddedPayload$Type extends MessageType<ActorClaimAddedPayload> {
|
|
constructor() {
|
|
super("api.ActorClaimAddedPayload", [
|
|
{ no: 1, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims added per type" }, "api.aggKey": "ClaimTypeID" } }
|
|
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ClaimAdded" });
|
|
}
|
|
create(value?: PartialMessage<ActorClaimAddedPayload>): ActorClaimAddedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Claims = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorClaimAddedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorClaimAddedPayload): ActorClaimAddedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* repeated api.ClaimSummary Claims */ 1:
|
|
message.Claims.push(ClaimSummary.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: ActorClaimAddedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* repeated api.ClaimSummary Claims = 1; */
|
|
for (let i = 0; i < message.Claims.length; i++)
|
|
ClaimSummary.internalBinaryWrite(message.Claims[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.ActorClaimAddedPayload
|
|
*/
|
|
export const ActorClaimAddedPayload = new ActorClaimAddedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorClaimAddedEvent$Type extends MessageType<ActorClaimAddedEvent> {
|
|
constructor() {
|
|
super("api.ActorClaimAddedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorClaimAddedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "api.messageType": "Event", "api.inputEvent": "ClaimAdded", "api.preAggMethods": "addClaim" });
|
|
}
|
|
create(value?: PartialMessage<ActorClaimAddedEvent>): ActorClaimAddedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorClaimAddedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorClaimAddedEvent): ActorClaimAddedEvent {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.EventHeader Header */ 1:
|
|
message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorClaimAddedPayload Payload */ 3:
|
|
message.Payload = ActorClaimAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorClaimAddedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.EventHeader Header = 1; */
|
|
if (message.Header)
|
|
EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorClaimAddedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorClaimAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorClaimAddedEvent
|
|
*/
|
|
export const ActorClaimAddedEvent = new ActorClaimAddedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorClaimAddedRequest$Type extends MessageType<ActorClaimAddedRequest> {
|
|
constructor() {
|
|
super("api.ActorClaimAddedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorClaimAddedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ClaimAdded" });
|
|
}
|
|
create(value?: PartialMessage<ActorClaimAddedRequest>): ActorClaimAddedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorClaimAddedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorClaimAddedRequest): ActorClaimAddedRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorClaimAddedPayload Payload */ 3:
|
|
message.Payload = ActorClaimAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorClaimAddedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorClaimAddedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorClaimAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorClaimAddedRequest
|
|
*/
|
|
export const ActorClaimAddedRequest = new ActorClaimAddedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorClaimAddedResponse$Type extends MessageType<ActorClaimAddedResponse> {
|
|
constructor() {
|
|
super("api.ActorClaimAddedResponse", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }
|
|
], { "api.messageType": "Response", "api.inputEvent": "ClaimAdded" });
|
|
}
|
|
create(value?: PartialMessage<ActorClaimAddedResponse>): ActorClaimAddedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorClaimAddedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorClaimAddedResponse): ActorClaimAddedResponse {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ResponseHeader Header */ 1:
|
|
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
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: ActorClaimAddedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ResponseHeader Header = 1; */
|
|
if (message.Header)
|
|
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, 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.ActorClaimAddedResponse
|
|
*/
|
|
export const ActorClaimAddedResponse = new ActorClaimAddedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorMetaDataUpdatedPayload$Type extends MessageType<ActorMetaDataUpdatedPayload> {
|
|
constructor() {
|
|
super("api.ActorMetaDataUpdatedPayload", [
|
|
{ no: 1, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }
|
|
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "MetaDataUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorMetaDataUpdatedPayload>): ActorMetaDataUpdatedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.MetaData = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorMetaDataUpdatedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorMetaDataUpdatedPayload): ActorMetaDataUpdatedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* repeated api.MetadataElement MetaData */ 1:
|
|
message.MetaData.push(MetadataElement.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: ActorMetaDataUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* repeated api.MetadataElement MetaData = 1; */
|
|
for (let i = 0; i < message.MetaData.length; i++)
|
|
MetadataElement.internalBinaryWrite(message.MetaData[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.ActorMetaDataUpdatedPayload
|
|
*/
|
|
export const ActorMetaDataUpdatedPayload = new ActorMetaDataUpdatedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorMetaDataUpdatedEvent$Type extends MessageType<ActorMetaDataUpdatedEvent> {
|
|
constructor() {
|
|
super("api.ActorMetaDataUpdatedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorMetaDataUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "api.messageType": "Event", "api.inputEvent": "MetaDataUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorMetaDataUpdatedEvent>): ActorMetaDataUpdatedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorMetaDataUpdatedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorMetaDataUpdatedEvent): ActorMetaDataUpdatedEvent {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.EventHeader Header */ 1:
|
|
message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorMetaDataUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorMetaDataUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorMetaDataUpdatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.EventHeader Header = 1; */
|
|
if (message.Header)
|
|
EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorMetaDataUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorMetaDataUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorMetaDataUpdatedEvent
|
|
*/
|
|
export const ActorMetaDataUpdatedEvent = new ActorMetaDataUpdatedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorMetaDataUpdatedRequest$Type extends MessageType<ActorMetaDataUpdatedRequest> {
|
|
constructor() {
|
|
super("api.ActorMetaDataUpdatedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorMetaDataUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "MetaDataUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorMetaDataUpdatedRequest>): ActorMetaDataUpdatedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorMetaDataUpdatedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorMetaDataUpdatedRequest): ActorMetaDataUpdatedRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorMetaDataUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorMetaDataUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorMetaDataUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorMetaDataUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorMetaDataUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorMetaDataUpdatedRequest
|
|
*/
|
|
export const ActorMetaDataUpdatedRequest = new ActorMetaDataUpdatedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorMetaDataUpdatedResponse$Type extends MessageType<ActorMetaDataUpdatedResponse> {
|
|
constructor() {
|
|
super("api.ActorMetaDataUpdatedResponse", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }
|
|
], { "api.messageType": "Response", "api.inputEvent": "MetaDataUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorMetaDataUpdatedResponse>): ActorMetaDataUpdatedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorMetaDataUpdatedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorMetaDataUpdatedResponse): ActorMetaDataUpdatedResponse {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ResponseHeader Header */ 1:
|
|
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
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: ActorMetaDataUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ResponseHeader Header = 1; */
|
|
if (message.Header)
|
|
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, 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.ActorMetaDataUpdatedResponse
|
|
*/
|
|
export const ActorMetaDataUpdatedResponse = new ActorMetaDataUpdatedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAppointmentConfigurationUpdatedPayload$Type extends MessageType<ActorAppointmentConfigurationUpdatedPayload> {
|
|
constructor() {
|
|
super("api.ActorAppointmentConfigurationUpdatedPayload", [
|
|
{ no: 1, name: "IsSlotBookingEnabled", kind: "scalar", localName: "IsSlotBookingEnabled", jsonName: "IsSlotBookingEnabled", T: 8 /*ScalarType.BOOL*/ },
|
|
{ no: 2, name: "SiteAlias", kind: "message", localName: "SiteAlias", jsonName: "SiteAlias", T: () => SiteAlias },
|
|
{ no: 3, name: "AppointmentConstraints", kind: "message", localName: "AppointmentConstraints", jsonName: "AppointmentConstraints", T: () => ActorAuthorisation }
|
|
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AppointmentConfigurationUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorAppointmentConfigurationUpdatedPayload>): ActorAppointmentConfigurationUpdatedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.IsSlotBookingEnabled = false;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAppointmentConfigurationUpdatedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAppointmentConfigurationUpdatedPayload): ActorAppointmentConfigurationUpdatedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* bool IsSlotBookingEnabled */ 1:
|
|
message.IsSlotBookingEnabled = reader.bool();
|
|
break;
|
|
case /* api.SiteAlias SiteAlias */ 2:
|
|
message.SiteAlias = SiteAlias.internalBinaryRead(reader, reader.uint32(), options, message.SiteAlias);
|
|
break;
|
|
case /* api.ActorAuthorisation AppointmentConstraints */ 3:
|
|
message.AppointmentConstraints = ActorAuthorisation.internalBinaryRead(reader, reader.uint32(), options, message.AppointmentConstraints);
|
|
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: ActorAppointmentConfigurationUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* bool IsSlotBookingEnabled = 1; */
|
|
if (message.IsSlotBookingEnabled !== false)
|
|
writer.tag(1, WireType.Varint).bool(message.IsSlotBookingEnabled);
|
|
/* api.SiteAlias SiteAlias = 2; */
|
|
if (message.SiteAlias)
|
|
SiteAlias.internalBinaryWrite(message.SiteAlias, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorAuthorisation AppointmentConstraints = 3; */
|
|
if (message.AppointmentConstraints)
|
|
ActorAuthorisation.internalBinaryWrite(message.AppointmentConstraints, writer.tag(3, 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.ActorAppointmentConfigurationUpdatedPayload
|
|
*/
|
|
export const ActorAppointmentConfigurationUpdatedPayload = new ActorAppointmentConfigurationUpdatedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAppointmentConfigurationUpdatedEvent$Type extends MessageType<ActorAppointmentConfigurationUpdatedEvent> {
|
|
constructor() {
|
|
super("api.ActorAppointmentConfigurationUpdatedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAppointmentConfigurationUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "api.messageType": "Event", "api.inputEvent": "AppointmentConfigurationUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorAppointmentConfigurationUpdatedEvent>): ActorAppointmentConfigurationUpdatedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAppointmentConfigurationUpdatedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAppointmentConfigurationUpdatedEvent): ActorAppointmentConfigurationUpdatedEvent {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.EventHeader Header */ 1:
|
|
message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorAppointmentConfigurationUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorAppointmentConfigurationUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorAppointmentConfigurationUpdatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.EventHeader Header = 1; */
|
|
if (message.Header)
|
|
EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorAppointmentConfigurationUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorAppointmentConfigurationUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorAppointmentConfigurationUpdatedEvent
|
|
*/
|
|
export const ActorAppointmentConfigurationUpdatedEvent = new ActorAppointmentConfigurationUpdatedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAppointmentConfigurationUpdatedRequest$Type extends MessageType<ActorAppointmentConfigurationUpdatedRequest> {
|
|
constructor() {
|
|
super("api.ActorAppointmentConfigurationUpdatedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAppointmentConfigurationUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AppointmentConfigurationUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorAppointmentConfigurationUpdatedRequest>): ActorAppointmentConfigurationUpdatedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAppointmentConfigurationUpdatedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAppointmentConfigurationUpdatedRequest): ActorAppointmentConfigurationUpdatedRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* api.ActorAppointmentConfigurationUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorAppointmentConfigurationUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
|
|
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: ActorAppointmentConfigurationUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ActorAppointmentConfigurationUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorAppointmentConfigurationUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ActorAppointmentConfigurationUpdatedRequest
|
|
*/
|
|
export const ActorAppointmentConfigurationUpdatedRequest = new ActorAppointmentConfigurationUpdatedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorAppointmentConfigurationUpdatedResponse$Type extends MessageType<ActorAppointmentConfigurationUpdatedResponse> {
|
|
constructor() {
|
|
super("api.ActorAppointmentConfigurationUpdatedResponse", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }
|
|
], { "api.messageType": "Response", "api.inputEvent": "AppointmentConfigurationUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorAppointmentConfigurationUpdatedResponse>): ActorAppointmentConfigurationUpdatedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorAppointmentConfigurationUpdatedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorAppointmentConfigurationUpdatedResponse): ActorAppointmentConfigurationUpdatedResponse {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ResponseHeader Header */ 1:
|
|
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
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: ActorAppointmentConfigurationUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ResponseHeader Header = 1; */
|
|
if (message.Header)
|
|
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, 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.ActorAppointmentConfigurationUpdatedResponse
|
|
*/
|
|
export const ActorAppointmentConfigurationUpdatedResponse = new ActorAppointmentConfigurationUpdatedResponse$Type();
|
|
/**
|
|
* @generated ServiceType for protobuf service api.ActorInputAPI
|
|
*/
|
|
export const ActorInputAPI = new ServiceType("api.ActorInputAPI", [
|
|
{ name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Prefer Createdv2 API usage instead." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorCreatedRequest, O: ActorCreatedResponse },
|
|
{ name: "Createdv2", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been created." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorCreatedv2Request, O: ActorCreatedv2Response },
|
|
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been deleted. This is called from Reflex Platform Admin service to share the Organisation actors." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorDeletedRequest, O: ActorDeletedResponse },
|
|
{ name: "SnapshotCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "A snapshot has been completed on this actor. This is called from a WMS to inform that all Stock snapshot event have been sent." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorSnapshotCompletedRequest, O: ActorSnapshotCompletedResponse },
|
|
{ name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An attachment is added for the Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorAttachmentAddedRequest, O: ActorAttachmentAddedResponse },
|
|
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An attachment is removed for the Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorAttachmentRemovedRequest, O: ActorAttachmentRemovedResponse },
|
|
{ name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "A claim is added for the Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorClaimAddedRequest, O: ActorClaimAddedResponse },
|
|
{ name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Some metadata have been updated on an Actor. This is typically called from OMS or ERP." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorMetaDataUpdatedRequest, O: ActorMetaDataUpdatedResponse },
|
|
{ name: "AppointmentConfigurationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Appointment configuration is updated on an Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorAppointmentConfigurationUpdatedRequest, O: ActorAppointmentConfigurationUpdatedResponse }
|
|
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|