You've already forked npm-core-sdk
5588 lines
302 KiB
TypeScript
5588 lines
302 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.ActorWMSUpdatedPayload
|
|
*/
|
|
export interface ActorWMSUpdatedPayload {
|
|
/**
|
|
* 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: api.Address Address = 3
|
|
*/
|
|
Address?: Address;
|
|
/**
|
|
* @generated from protobuf field: string AdditionalInformation = 4
|
|
*/
|
|
AdditionalInformation: string;
|
|
/**
|
|
* Must be a valid email address
|
|
*
|
|
* @generated from protobuf field: repeated string Emails = 5
|
|
*/
|
|
Emails: string[];
|
|
/**
|
|
* @generated from protobuf field: repeated string Phones = 6
|
|
*/
|
|
Phones: string[];
|
|
}
|
|
/**
|
|
* Event message
|
|
*
|
|
* @generated from protobuf message api.ActorWMSUpdatedEvent
|
|
*/
|
|
export interface ActorWMSUpdatedEvent {
|
|
/**
|
|
* @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.ActorWMSUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorWMSUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Request
|
|
*
|
|
* @generated from protobuf message api.ActorWMSUpdatedRequest
|
|
*/
|
|
export interface ActorWMSUpdatedRequest {
|
|
/**
|
|
* @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.ActorWMSUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorWMSUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Response
|
|
*
|
|
* @generated from protobuf message api.ActorWMSUpdatedResponse
|
|
*/
|
|
export interface ActorWMSUpdatedResponse {
|
|
/**
|
|
* @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.ActorTypologyUpdatedPayload
|
|
*/
|
|
export interface ActorTypologyUpdatedPayload {
|
|
/**
|
|
* @generated from protobuf field: api.ActorTypology Typology = 1
|
|
*/
|
|
Typology: ActorTypology;
|
|
}
|
|
/**
|
|
* Event message
|
|
*
|
|
* @generated from protobuf message api.ActorTypologyUpdatedEvent
|
|
*/
|
|
export interface ActorTypologyUpdatedEvent {
|
|
/**
|
|
* @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.ActorTypologyUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorTypologyUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Request
|
|
*
|
|
* @generated from protobuf message api.ActorTypologyUpdatedRequest
|
|
*/
|
|
export interface ActorTypologyUpdatedRequest {
|
|
/**
|
|
* @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.ActorTypologyUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorTypologyUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Response
|
|
*
|
|
* @generated from protobuf message api.ActorTypologyUpdatedResponse
|
|
*/
|
|
export interface ActorTypologyUpdatedResponse {
|
|
/**
|
|
* @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.ActorCarrierInformationUpdatedPayload
|
|
*/
|
|
export interface ActorCarrierInformationUpdatedPayload {
|
|
/**
|
|
* Can be used as carrier
|
|
*
|
|
* @generated from protobuf field: bool IsCarrier = 1
|
|
*/
|
|
IsCarrier: boolean;
|
|
/**
|
|
* List of carrier services
|
|
*
|
|
* @generated from protobuf field: repeated api.CarrierService CarrierServices = 2
|
|
*/
|
|
CarrierServices: CarrierService[];
|
|
}
|
|
/**
|
|
* Event message
|
|
*
|
|
* @generated from protobuf message api.ActorCarrierInformationUpdatedEvent
|
|
*/
|
|
export interface ActorCarrierInformationUpdatedEvent {
|
|
/**
|
|
* @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.ActorCarrierInformationUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorCarrierInformationUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Request
|
|
*
|
|
* @generated from protobuf message api.ActorCarrierInformationUpdatedRequest
|
|
*/
|
|
export interface ActorCarrierInformationUpdatedRequest {
|
|
/**
|
|
* @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.ActorCarrierInformationUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorCarrierInformationUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Response
|
|
*
|
|
* @generated from protobuf message api.ActorCarrierInformationUpdatedResponse
|
|
*/
|
|
export interface ActorCarrierInformationUpdatedResponse {
|
|
/**
|
|
* @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.ActorStockManagementUpdatedPayload
|
|
*/
|
|
export interface ActorStockManagementUpdatedPayload {
|
|
/**
|
|
* Can manage stock
|
|
*
|
|
* @generated from protobuf field: bool ManagedStock = 1
|
|
*/
|
|
ManagedStock: boolean;
|
|
}
|
|
/**
|
|
* Event message
|
|
*
|
|
* @generated from protobuf message api.ActorStockManagementUpdatedEvent
|
|
*/
|
|
export interface ActorStockManagementUpdatedEvent {
|
|
/**
|
|
* @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.ActorStockManagementUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorStockManagementUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Request
|
|
*
|
|
* @generated from protobuf message api.ActorStockManagementUpdatedRequest
|
|
*/
|
|
export interface ActorStockManagementUpdatedRequest {
|
|
/**
|
|
* @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.ActorStockManagementUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorStockManagementUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Response
|
|
*
|
|
* @generated from protobuf message api.ActorStockManagementUpdatedResponse
|
|
*/
|
|
export interface ActorStockManagementUpdatedResponse {
|
|
/**
|
|
* @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.ActorPartnerLinkUpdatedPayload
|
|
*/
|
|
export interface ActorPartnerLinkUpdatedPayload {
|
|
/**
|
|
* Existing PartnerID
|
|
*
|
|
* @generated from protobuf field: string PartnerID = 1
|
|
*/
|
|
PartnerID: string;
|
|
}
|
|
/**
|
|
* Event message
|
|
*
|
|
* @generated from protobuf message api.ActorPartnerLinkUpdatedEvent
|
|
*/
|
|
export interface ActorPartnerLinkUpdatedEvent {
|
|
/**
|
|
* @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.ActorPartnerLinkUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorPartnerLinkUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Request
|
|
*
|
|
* @generated from protobuf message api.ActorPartnerLinkUpdatedRequest
|
|
*/
|
|
export interface ActorPartnerLinkUpdatedRequest {
|
|
/**
|
|
* @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.ActorPartnerLinkUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorPartnerLinkUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Response
|
|
*
|
|
* @generated from protobuf message api.ActorPartnerLinkUpdatedResponse
|
|
*/
|
|
export interface ActorPartnerLinkUpdatedResponse {
|
|
/**
|
|
* @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.ActorPhotoURIUpdatedPayload
|
|
*/
|
|
export interface ActorPhotoURIUpdatedPayload {
|
|
/**
|
|
* @generated from protobuf field: string PhotoURI = 1
|
|
*/
|
|
PhotoURI: string;
|
|
}
|
|
/**
|
|
* Event message
|
|
*
|
|
* @generated from protobuf message api.ActorPhotoURIUpdatedEvent
|
|
*/
|
|
export interface ActorPhotoURIUpdatedEvent {
|
|
/**
|
|
* @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.ActorPhotoURIUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorPhotoURIUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Request
|
|
*
|
|
* @generated from protobuf message api.ActorPhotoURIUpdatedRequest
|
|
*/
|
|
export interface ActorPhotoURIUpdatedRequest {
|
|
/**
|
|
* @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.ActorPhotoURIUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorPhotoURIUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Response
|
|
*
|
|
* @generated from protobuf message api.ActorPhotoURIUpdatedResponse
|
|
*/
|
|
export interface ActorPhotoURIUpdatedResponse {
|
|
/**
|
|
* @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.ActorConnectionUpdatedPayload
|
|
*/
|
|
export interface ActorConnectionUpdatedPayload {
|
|
/**
|
|
* @generated from protobuf field: bool IsShipToConnected = 1
|
|
*/
|
|
IsShipToConnected: boolean;
|
|
/**
|
|
* @generated from protobuf field: bool IsShipFromConnected = 2
|
|
*/
|
|
IsShipFromConnected: boolean;
|
|
/**
|
|
* Must be existing partner ID
|
|
*
|
|
* @generated from protobuf field: string ShipToPartnerAppID = 3
|
|
*/
|
|
ShipToPartnerAppID: string;
|
|
/**
|
|
* Must be existing partner ID
|
|
*
|
|
* @generated from protobuf field: string ShipFromPartnerAppID = 4
|
|
*/
|
|
ShipFromPartnerAppID: string;
|
|
/**
|
|
* Prefix used to create executionflow identifiers
|
|
*
|
|
* @generated from protobuf field: repeated string ConnectionIdentifierPrefixes = 5
|
|
*/
|
|
ConnectionIdentifierPrefixes: string[];
|
|
}
|
|
/**
|
|
* Event message
|
|
*
|
|
* @generated from protobuf message api.ActorConnectionUpdatedEvent
|
|
*/
|
|
export interface ActorConnectionUpdatedEvent {
|
|
/**
|
|
* @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.ActorConnectionUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorConnectionUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Request
|
|
*
|
|
* @generated from protobuf message api.ActorConnectionUpdatedRequest
|
|
*/
|
|
export interface ActorConnectionUpdatedRequest {
|
|
/**
|
|
* @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.ActorConnectionUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorConnectionUpdatedPayload;
|
|
}
|
|
/**
|
|
* API Response
|
|
*
|
|
* @generated from protobuf message api.ActorConnectionUpdatedResponse
|
|
*/
|
|
export interface ActorConnectionUpdatedResponse {
|
|
/**
|
|
* @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 has been added on 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 from protobuf message api.ActorSanitisedPayload
|
|
*/
|
|
export interface ActorSanitisedPayload {
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorSanitisedEvent
|
|
*/
|
|
export interface ActorSanitisedEvent {
|
|
/**
|
|
* @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.ActorSanitisedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorSanitisedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorSanitisedRequest
|
|
*/
|
|
export interface ActorSanitisedRequest {
|
|
/**
|
|
* @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.ActorSanitisedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorSanitisedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorSanitisedResponse
|
|
*/
|
|
export interface ActorSanitisedResponse {
|
|
/**
|
|
* @generated from protobuf field: api.ResponseHeader Header = 1
|
|
*/
|
|
Header?: ResponseHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorCustomFieldsUpdatedPayload
|
|
*/
|
|
export interface ActorCustomFieldsUpdatedPayload {
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorCustomFieldsUpdatedEvent
|
|
*/
|
|
export interface ActorCustomFieldsUpdatedEvent {
|
|
/**
|
|
* @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.ActorCustomFieldsUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorCustomFieldsUpdatedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorCustomFieldsUpdatedRequest
|
|
*/
|
|
export interface ActorCustomFieldsUpdatedRequest {
|
|
/**
|
|
* @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.ActorCustomFieldsUpdatedPayload Payload = 3
|
|
*/
|
|
Payload?: ActorCustomFieldsUpdatedPayload;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ActorCustomFieldsUpdatedResponse
|
|
*/
|
|
export interface ActorCustomFieldsUpdatedResponse {
|
|
/**
|
|
* @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: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } },
|
|
{ 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: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCreatedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCreatedPayload, options: { "n1validate.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: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } },
|
|
{ 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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCreatedv2Payload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCreatedv2Payload, options: { "n1validate.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 ActorWMSUpdatedPayload$Type extends MessageType<ActorWMSUpdatedPayload> {
|
|
constructor() {
|
|
super("api.ActorWMSUpdatedPayload", [
|
|
{ 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: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
|
{ no: 4, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ },
|
|
{ no: 5, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } } } },
|
|
{ no: 6, 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\"]" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "WMSUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorWMSUpdatedPayload>): ActorWMSUpdatedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Name = "";
|
|
message.IdType = 0;
|
|
message.AdditionalInformation = "";
|
|
message.Emails = [];
|
|
message.Phones = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorWMSUpdatedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorWMSUpdatedPayload): ActorWMSUpdatedPayload {
|
|
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 /* api.Address Address */ 3:
|
|
message.Address = Address.internalBinaryRead(reader, reader.uint32(), options, message.Address);
|
|
break;
|
|
case /* string AdditionalInformation */ 4:
|
|
message.AdditionalInformation = reader.string();
|
|
break;
|
|
case /* repeated string Emails */ 5:
|
|
message.Emails.push(reader.string());
|
|
break;
|
|
case /* repeated string Phones */ 6:
|
|
message.Phones.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: ActorWMSUpdatedPayload, 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);
|
|
/* api.Address Address = 3; */
|
|
if (message.Address)
|
|
Address.internalBinaryWrite(message.Address, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
/* string AdditionalInformation = 4; */
|
|
if (message.AdditionalInformation !== "")
|
|
writer.tag(4, WireType.LengthDelimited).string(message.AdditionalInformation);
|
|
/* repeated string Emails = 5; */
|
|
for (let i = 0; i < message.Emails.length; i++)
|
|
writer.tag(5, WireType.LengthDelimited).string(message.Emails[i]);
|
|
/* repeated string Phones = 6; */
|
|
for (let i = 0; i < message.Phones.length; i++)
|
|
writer.tag(6, WireType.LengthDelimited).string(message.Phones[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.ActorWMSUpdatedPayload
|
|
*/
|
|
export const ActorWMSUpdatedPayload = new ActorWMSUpdatedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorWMSUpdatedEvent$Type extends MessageType<ActorWMSUpdatedEvent> {
|
|
constructor() {
|
|
super("api.ActorWMSUpdatedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorWMSUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "EntityID", "Payload"] } }, "api.messageType": "Event", "api.inputEvent": "WMSUpdated", "api.preAggMethods": "checkPartnerAppId" });
|
|
}
|
|
create(value?: PartialMessage<ActorWMSUpdatedEvent>): ActorWMSUpdatedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorWMSUpdatedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorWMSUpdatedEvent): ActorWMSUpdatedEvent {
|
|
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.ActorWMSUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorWMSUpdatedPayload.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: ActorWMSUpdatedEvent, 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.ActorWMSUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorWMSUpdatedPayload.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.ActorWMSUpdatedEvent
|
|
*/
|
|
export const ActorWMSUpdatedEvent = new ActorWMSUpdatedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorWMSUpdatedRequest$Type extends MessageType<ActorWMSUpdatedRequest> {
|
|
constructor() {
|
|
super("api.ActorWMSUpdatedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorWMSUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "WMSUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorWMSUpdatedRequest>): ActorWMSUpdatedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorWMSUpdatedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorWMSUpdatedRequest): ActorWMSUpdatedRequest {
|
|
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.ActorWMSUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorWMSUpdatedPayload.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: ActorWMSUpdatedRequest, 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.ActorWMSUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorWMSUpdatedPayload.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.ActorWMSUpdatedRequest
|
|
*/
|
|
export const ActorWMSUpdatedRequest = new ActorWMSUpdatedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorWMSUpdatedResponse$Type extends MessageType<ActorWMSUpdatedResponse> {
|
|
constructor() {
|
|
super("api.ActorWMSUpdatedResponse", [
|
|
{ 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": "WMSUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorWMSUpdatedResponse>): ActorWMSUpdatedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorWMSUpdatedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorWMSUpdatedResponse): ActorWMSUpdatedResponse {
|
|
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: ActorWMSUpdatedResponse, 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.ActorWMSUpdatedResponse
|
|
*/
|
|
export const ActorWMSUpdatedResponse = new ActorWMSUpdatedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorTypologyUpdatedPayload$Type extends MessageType<ActorTypologyUpdatedPayload> {
|
|
constructor() {
|
|
super("api.ActorTypologyUpdatedPayload", [
|
|
{ no: 1, name: "Typology", kind: "enum", localName: "Typology", jsonName: "Typology", T: () => ["api.ActorTypology", ActorTypology] }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "TypologyUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorTypologyUpdatedPayload>): ActorTypologyUpdatedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Typology = 0;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorTypologyUpdatedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorTypologyUpdatedPayload): ActorTypologyUpdatedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ActorTypology Typology */ 1:
|
|
message.Typology = reader.int32();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ActorTypologyUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ActorTypology Typology = 1; */
|
|
if (message.Typology !== 0)
|
|
writer.tag(1, WireType.Varint).int32(message.Typology);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ActorTypologyUpdatedPayload
|
|
*/
|
|
export const ActorTypologyUpdatedPayload = new ActorTypologyUpdatedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorTypologyUpdatedEvent$Type extends MessageType<ActorTypologyUpdatedEvent> {
|
|
constructor() {
|
|
super("api.ActorTypologyUpdatedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorTypologyUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "EntityID", "Payload"] } }, "api.messageType": "Event", "api.inputEvent": "TypologyUpdated", "api.preAggMethods": "checkPartnerAppId" });
|
|
}
|
|
create(value?: PartialMessage<ActorTypologyUpdatedEvent>): ActorTypologyUpdatedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorTypologyUpdatedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorTypologyUpdatedEvent): ActorTypologyUpdatedEvent {
|
|
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.ActorTypologyUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorTypologyUpdatedPayload.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: ActorTypologyUpdatedEvent, 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.ActorTypologyUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorTypologyUpdatedPayload.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.ActorTypologyUpdatedEvent
|
|
*/
|
|
export const ActorTypologyUpdatedEvent = new ActorTypologyUpdatedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorTypologyUpdatedRequest$Type extends MessageType<ActorTypologyUpdatedRequest> {
|
|
constructor() {
|
|
super("api.ActorTypologyUpdatedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorTypologyUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "TypologyUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorTypologyUpdatedRequest>): ActorTypologyUpdatedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorTypologyUpdatedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorTypologyUpdatedRequest): ActorTypologyUpdatedRequest {
|
|
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.ActorTypologyUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorTypologyUpdatedPayload.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: ActorTypologyUpdatedRequest, 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.ActorTypologyUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorTypologyUpdatedPayload.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.ActorTypologyUpdatedRequest
|
|
*/
|
|
export const ActorTypologyUpdatedRequest = new ActorTypologyUpdatedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorTypologyUpdatedResponse$Type extends MessageType<ActorTypologyUpdatedResponse> {
|
|
constructor() {
|
|
super("api.ActorTypologyUpdatedResponse", [
|
|
{ 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": "TypologyUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorTypologyUpdatedResponse>): ActorTypologyUpdatedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorTypologyUpdatedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorTypologyUpdatedResponse): ActorTypologyUpdatedResponse {
|
|
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: ActorTypologyUpdatedResponse, 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.ActorTypologyUpdatedResponse
|
|
*/
|
|
export const ActorTypologyUpdatedResponse = new ActorTypologyUpdatedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCarrierInformationUpdatedPayload$Type extends MessageType<ActorCarrierInformationUpdatedPayload> {
|
|
constructor() {
|
|
super("api.ActorCarrierInformationUpdatedPayload", [
|
|
{ no: 1, 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: 2, 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": "CarrierInformationUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorCarrierInformationUpdatedPayload>): ActorCarrierInformationUpdatedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.IsCarrier = false;
|
|
message.CarrierServices = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCarrierInformationUpdatedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCarrierInformationUpdatedPayload): ActorCarrierInformationUpdatedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* bool IsCarrier */ 1:
|
|
message.IsCarrier = reader.bool();
|
|
break;
|
|
case /* repeated api.CarrierService CarrierServices */ 2:
|
|
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: ActorCarrierInformationUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* bool IsCarrier = 1; */
|
|
if (message.IsCarrier !== false)
|
|
writer.tag(1, WireType.Varint).bool(message.IsCarrier);
|
|
/* repeated api.CarrierService CarrierServices = 2; */
|
|
for (let i = 0; i < message.CarrierServices.length; i++)
|
|
CarrierService.internalBinaryWrite(message.CarrierServices[i], 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.ActorCarrierInformationUpdatedPayload
|
|
*/
|
|
export const ActorCarrierInformationUpdatedPayload = new ActorCarrierInformationUpdatedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCarrierInformationUpdatedEvent$Type extends MessageType<ActorCarrierInformationUpdatedEvent> {
|
|
constructor() {
|
|
super("api.ActorCarrierInformationUpdatedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCarrierInformationUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "EntityID", "Payload"] } }, "api.messageType": "Event", "api.inputEvent": "CarrierInformationUpdated", "api.preAggMethods": "checkPartnerAppId" });
|
|
}
|
|
create(value?: PartialMessage<ActorCarrierInformationUpdatedEvent>): ActorCarrierInformationUpdatedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCarrierInformationUpdatedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCarrierInformationUpdatedEvent): ActorCarrierInformationUpdatedEvent {
|
|
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.ActorCarrierInformationUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorCarrierInformationUpdatedPayload.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: ActorCarrierInformationUpdatedEvent, 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.ActorCarrierInformationUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorCarrierInformationUpdatedPayload.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.ActorCarrierInformationUpdatedEvent
|
|
*/
|
|
export const ActorCarrierInformationUpdatedEvent = new ActorCarrierInformationUpdatedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCarrierInformationUpdatedRequest$Type extends MessageType<ActorCarrierInformationUpdatedRequest> {
|
|
constructor() {
|
|
super("api.ActorCarrierInformationUpdatedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCarrierInformationUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "CarrierInformationUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorCarrierInformationUpdatedRequest>): ActorCarrierInformationUpdatedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCarrierInformationUpdatedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCarrierInformationUpdatedRequest): ActorCarrierInformationUpdatedRequest {
|
|
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.ActorCarrierInformationUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorCarrierInformationUpdatedPayload.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: ActorCarrierInformationUpdatedRequest, 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.ActorCarrierInformationUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorCarrierInformationUpdatedPayload.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.ActorCarrierInformationUpdatedRequest
|
|
*/
|
|
export const ActorCarrierInformationUpdatedRequest = new ActorCarrierInformationUpdatedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCarrierInformationUpdatedResponse$Type extends MessageType<ActorCarrierInformationUpdatedResponse> {
|
|
constructor() {
|
|
super("api.ActorCarrierInformationUpdatedResponse", [
|
|
{ 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": "CarrierInformationUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorCarrierInformationUpdatedResponse>): ActorCarrierInformationUpdatedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCarrierInformationUpdatedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCarrierInformationUpdatedResponse): ActorCarrierInformationUpdatedResponse {
|
|
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: ActorCarrierInformationUpdatedResponse, 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.ActorCarrierInformationUpdatedResponse
|
|
*/
|
|
export const ActorCarrierInformationUpdatedResponse = new ActorCarrierInformationUpdatedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorStockManagementUpdatedPayload$Type extends MessageType<ActorStockManagementUpdatedPayload> {
|
|
constructor() {
|
|
super("api.ActorStockManagementUpdatedPayload", [
|
|
{ no: 1, 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" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "StockManagementUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorStockManagementUpdatedPayload>): ActorStockManagementUpdatedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ManagedStock = false;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorStockManagementUpdatedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorStockManagementUpdatedPayload): ActorStockManagementUpdatedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* bool ManagedStock */ 1:
|
|
message.ManagedStock = reader.bool();
|
|
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: ActorStockManagementUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* bool ManagedStock = 1; */
|
|
if (message.ManagedStock !== false)
|
|
writer.tag(1, WireType.Varint).bool(message.ManagedStock);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ActorStockManagementUpdatedPayload
|
|
*/
|
|
export const ActorStockManagementUpdatedPayload = new ActorStockManagementUpdatedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorStockManagementUpdatedEvent$Type extends MessageType<ActorStockManagementUpdatedEvent> {
|
|
constructor() {
|
|
super("api.ActorStockManagementUpdatedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorStockManagementUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "EntityID", "Payload"] } }, "api.messageType": "Event", "api.inputEvent": "StockManagementUpdated", "api.preAggMethods": "checkPartnerAppId" });
|
|
}
|
|
create(value?: PartialMessage<ActorStockManagementUpdatedEvent>): ActorStockManagementUpdatedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorStockManagementUpdatedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorStockManagementUpdatedEvent): ActorStockManagementUpdatedEvent {
|
|
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.ActorStockManagementUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorStockManagementUpdatedPayload.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: ActorStockManagementUpdatedEvent, 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.ActorStockManagementUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorStockManagementUpdatedPayload.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.ActorStockManagementUpdatedEvent
|
|
*/
|
|
export const ActorStockManagementUpdatedEvent = new ActorStockManagementUpdatedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorStockManagementUpdatedRequest$Type extends MessageType<ActorStockManagementUpdatedRequest> {
|
|
constructor() {
|
|
super("api.ActorStockManagementUpdatedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorStockManagementUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "StockManagementUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorStockManagementUpdatedRequest>): ActorStockManagementUpdatedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorStockManagementUpdatedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorStockManagementUpdatedRequest): ActorStockManagementUpdatedRequest {
|
|
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.ActorStockManagementUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorStockManagementUpdatedPayload.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: ActorStockManagementUpdatedRequest, 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.ActorStockManagementUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorStockManagementUpdatedPayload.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.ActorStockManagementUpdatedRequest
|
|
*/
|
|
export const ActorStockManagementUpdatedRequest = new ActorStockManagementUpdatedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorStockManagementUpdatedResponse$Type extends MessageType<ActorStockManagementUpdatedResponse> {
|
|
constructor() {
|
|
super("api.ActorStockManagementUpdatedResponse", [
|
|
{ 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": "StockManagementUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorStockManagementUpdatedResponse>): ActorStockManagementUpdatedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorStockManagementUpdatedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorStockManagementUpdatedResponse): ActorStockManagementUpdatedResponse {
|
|
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: ActorStockManagementUpdatedResponse, 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.ActorStockManagementUpdatedResponse
|
|
*/
|
|
export const ActorStockManagementUpdatedResponse = new ActorStockManagementUpdatedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorPartnerLinkUpdatedPayload$Type extends MessageType<ActorPartnerLinkUpdatedPayload> {
|
|
constructor() {
|
|
super("api.ActorPartnerLinkUpdatedPayload", [
|
|
{ no: 1, 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" } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "PartnerLinkUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorPartnerLinkUpdatedPayload>): ActorPartnerLinkUpdatedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.PartnerID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorPartnerLinkUpdatedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorPartnerLinkUpdatedPayload): ActorPartnerLinkUpdatedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string PartnerID */ 1:
|
|
message.PartnerID = 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: ActorPartnerLinkUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string PartnerID = 1; */
|
|
if (message.PartnerID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.PartnerID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ActorPartnerLinkUpdatedPayload
|
|
*/
|
|
export const ActorPartnerLinkUpdatedPayload = new ActorPartnerLinkUpdatedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorPartnerLinkUpdatedEvent$Type extends MessageType<ActorPartnerLinkUpdatedEvent> {
|
|
constructor() {
|
|
super("api.ActorPartnerLinkUpdatedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorPartnerLinkUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "EntityID", "Payload"] } }, "api.messageType": "Event", "api.inputEvent": "PartnerLinkUpdated", "api.preAggMethods": "checkPartnerAppId" });
|
|
}
|
|
create(value?: PartialMessage<ActorPartnerLinkUpdatedEvent>): ActorPartnerLinkUpdatedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorPartnerLinkUpdatedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorPartnerLinkUpdatedEvent): ActorPartnerLinkUpdatedEvent {
|
|
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.ActorPartnerLinkUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorPartnerLinkUpdatedPayload.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: ActorPartnerLinkUpdatedEvent, 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.ActorPartnerLinkUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorPartnerLinkUpdatedPayload.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.ActorPartnerLinkUpdatedEvent
|
|
*/
|
|
export const ActorPartnerLinkUpdatedEvent = new ActorPartnerLinkUpdatedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorPartnerLinkUpdatedRequest$Type extends MessageType<ActorPartnerLinkUpdatedRequest> {
|
|
constructor() {
|
|
super("api.ActorPartnerLinkUpdatedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorPartnerLinkUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "PartnerLinkUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorPartnerLinkUpdatedRequest>): ActorPartnerLinkUpdatedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorPartnerLinkUpdatedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorPartnerLinkUpdatedRequest): ActorPartnerLinkUpdatedRequest {
|
|
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.ActorPartnerLinkUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorPartnerLinkUpdatedPayload.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: ActorPartnerLinkUpdatedRequest, 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.ActorPartnerLinkUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorPartnerLinkUpdatedPayload.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.ActorPartnerLinkUpdatedRequest
|
|
*/
|
|
export const ActorPartnerLinkUpdatedRequest = new ActorPartnerLinkUpdatedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorPartnerLinkUpdatedResponse$Type extends MessageType<ActorPartnerLinkUpdatedResponse> {
|
|
constructor() {
|
|
super("api.ActorPartnerLinkUpdatedResponse", [
|
|
{ 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": "PartnerLinkUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorPartnerLinkUpdatedResponse>): ActorPartnerLinkUpdatedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorPartnerLinkUpdatedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorPartnerLinkUpdatedResponse): ActorPartnerLinkUpdatedResponse {
|
|
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: ActorPartnerLinkUpdatedResponse, 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.ActorPartnerLinkUpdatedResponse
|
|
*/
|
|
export const ActorPartnerLinkUpdatedResponse = new ActorPartnerLinkUpdatedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorPhotoURIUpdatedPayload$Type extends MessageType<ActorPhotoURIUpdatedPayload> {
|
|
constructor() {
|
|
super("api.ActorPhotoURIUpdatedPayload", [
|
|
{ no: 1, 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" }] } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "PhotoURIUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorPhotoURIUpdatedPayload>): ActorPhotoURIUpdatedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.PhotoURI = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorPhotoURIUpdatedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorPhotoURIUpdatedPayload): ActorPhotoURIUpdatedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string PhotoURI */ 1:
|
|
message.PhotoURI = 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: ActorPhotoURIUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string PhotoURI = 1; */
|
|
if (message.PhotoURI !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.PhotoURI);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ActorPhotoURIUpdatedPayload
|
|
*/
|
|
export const ActorPhotoURIUpdatedPayload = new ActorPhotoURIUpdatedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorPhotoURIUpdatedEvent$Type extends MessageType<ActorPhotoURIUpdatedEvent> {
|
|
constructor() {
|
|
super("api.ActorPhotoURIUpdatedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorPhotoURIUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "EntityID", "Payload"] } }, "api.messageType": "Event", "api.inputEvent": "PhotoURIUpdated", "api.preAggMethods": "checkPartnerAppId" });
|
|
}
|
|
create(value?: PartialMessage<ActorPhotoURIUpdatedEvent>): ActorPhotoURIUpdatedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorPhotoURIUpdatedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorPhotoURIUpdatedEvent): ActorPhotoURIUpdatedEvent {
|
|
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.ActorPhotoURIUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorPhotoURIUpdatedPayload.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: ActorPhotoURIUpdatedEvent, 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.ActorPhotoURIUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorPhotoURIUpdatedPayload.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.ActorPhotoURIUpdatedEvent
|
|
*/
|
|
export const ActorPhotoURIUpdatedEvent = new ActorPhotoURIUpdatedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorPhotoURIUpdatedRequest$Type extends MessageType<ActorPhotoURIUpdatedRequest> {
|
|
constructor() {
|
|
super("api.ActorPhotoURIUpdatedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorPhotoURIUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "PhotoURIUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorPhotoURIUpdatedRequest>): ActorPhotoURIUpdatedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorPhotoURIUpdatedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorPhotoURIUpdatedRequest): ActorPhotoURIUpdatedRequest {
|
|
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.ActorPhotoURIUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorPhotoURIUpdatedPayload.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: ActorPhotoURIUpdatedRequest, 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.ActorPhotoURIUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorPhotoURIUpdatedPayload.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.ActorPhotoURIUpdatedRequest
|
|
*/
|
|
export const ActorPhotoURIUpdatedRequest = new ActorPhotoURIUpdatedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorPhotoURIUpdatedResponse$Type extends MessageType<ActorPhotoURIUpdatedResponse> {
|
|
constructor() {
|
|
super("api.ActorPhotoURIUpdatedResponse", [
|
|
{ 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": "PhotoURIUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorPhotoURIUpdatedResponse>): ActorPhotoURIUpdatedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorPhotoURIUpdatedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorPhotoURIUpdatedResponse): ActorPhotoURIUpdatedResponse {
|
|
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: ActorPhotoURIUpdatedResponse, 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.ActorPhotoURIUpdatedResponse
|
|
*/
|
|
export const ActorPhotoURIUpdatedResponse = new ActorPhotoURIUpdatedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorConnectionUpdatedPayload$Type extends MessageType<ActorConnectionUpdatedPayload> {
|
|
constructor() {
|
|
super("api.ActorConnectionUpdatedPayload", [
|
|
{ no: 1, name: "IsShipToConnected", kind: "scalar", localName: "IsShipToConnected", jsonName: "IsShipToConnected", T: 8 /*ScalarType.BOOL*/ },
|
|
{ no: 2, name: "IsShipFromConnected", kind: "scalar", localName: "IsShipFromConnected", jsonName: "IsShipFromConnected", T: 8 /*ScalarType.BOOL*/ },
|
|
{ no: 3, 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: 4, 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: 5, name: "ConnectionIdentifierPrefixes", kind: "scalar", localName: "ConnectionIdentifierPrefixes", jsonName: "ConnectionIdentifierPrefixes", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.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": "ConnectionUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorConnectionUpdatedPayload>): ActorConnectionUpdatedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.IsShipToConnected = false;
|
|
message.IsShipFromConnected = false;
|
|
message.ShipToPartnerAppID = "";
|
|
message.ShipFromPartnerAppID = "";
|
|
message.ConnectionIdentifierPrefixes = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorConnectionUpdatedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorConnectionUpdatedPayload): ActorConnectionUpdatedPayload {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* bool IsShipToConnected */ 1:
|
|
message.IsShipToConnected = reader.bool();
|
|
break;
|
|
case /* bool IsShipFromConnected */ 2:
|
|
message.IsShipFromConnected = reader.bool();
|
|
break;
|
|
case /* string ShipToPartnerAppID */ 3:
|
|
message.ShipToPartnerAppID = reader.string();
|
|
break;
|
|
case /* string ShipFromPartnerAppID */ 4:
|
|
message.ShipFromPartnerAppID = reader.string();
|
|
break;
|
|
case /* repeated string ConnectionIdentifierPrefixes */ 5:
|
|
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: ActorConnectionUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* bool IsShipToConnected = 1; */
|
|
if (message.IsShipToConnected !== false)
|
|
writer.tag(1, WireType.Varint).bool(message.IsShipToConnected);
|
|
/* bool IsShipFromConnected = 2; */
|
|
if (message.IsShipFromConnected !== false)
|
|
writer.tag(2, WireType.Varint).bool(message.IsShipFromConnected);
|
|
/* string ShipToPartnerAppID = 3; */
|
|
if (message.ShipToPartnerAppID !== "")
|
|
writer.tag(3, WireType.LengthDelimited).string(message.ShipToPartnerAppID);
|
|
/* string ShipFromPartnerAppID = 4; */
|
|
if (message.ShipFromPartnerAppID !== "")
|
|
writer.tag(4, WireType.LengthDelimited).string(message.ShipFromPartnerAppID);
|
|
/* repeated string ConnectionIdentifierPrefixes = 5; */
|
|
for (let i = 0; i < message.ConnectionIdentifierPrefixes.length; i++)
|
|
writer.tag(5, 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.ActorConnectionUpdatedPayload
|
|
*/
|
|
export const ActorConnectionUpdatedPayload = new ActorConnectionUpdatedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorConnectionUpdatedEvent$Type extends MessageType<ActorConnectionUpdatedEvent> {
|
|
constructor() {
|
|
super("api.ActorConnectionUpdatedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorConnectionUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "EntityID", "Payload"] } }, "api.messageType": "Event", "api.inputEvent": "ConnectionUpdated", "api.preAggMethods": "checkPartnerAppId" });
|
|
}
|
|
create(value?: PartialMessage<ActorConnectionUpdatedEvent>): ActorConnectionUpdatedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorConnectionUpdatedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorConnectionUpdatedEvent): ActorConnectionUpdatedEvent {
|
|
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.ActorConnectionUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorConnectionUpdatedPayload.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: ActorConnectionUpdatedEvent, 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.ActorConnectionUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorConnectionUpdatedPayload.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.ActorConnectionUpdatedEvent
|
|
*/
|
|
export const ActorConnectionUpdatedEvent = new ActorConnectionUpdatedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorConnectionUpdatedRequest$Type extends MessageType<ActorConnectionUpdatedRequest> {
|
|
constructor() {
|
|
super("api.ActorConnectionUpdatedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorConnectionUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ConnectionUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorConnectionUpdatedRequest>): ActorConnectionUpdatedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorConnectionUpdatedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorConnectionUpdatedRequest): ActorConnectionUpdatedRequest {
|
|
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.ActorConnectionUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorConnectionUpdatedPayload.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: ActorConnectionUpdatedRequest, 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.ActorConnectionUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorConnectionUpdatedPayload.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.ActorConnectionUpdatedRequest
|
|
*/
|
|
export const ActorConnectionUpdatedRequest = new ActorConnectionUpdatedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorConnectionUpdatedResponse$Type extends MessageType<ActorConnectionUpdatedResponse> {
|
|
constructor() {
|
|
super("api.ActorConnectionUpdatedResponse", [
|
|
{ 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": "ConnectionUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorConnectionUpdatedResponse>): ActorConnectionUpdatedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorConnectionUpdatedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorConnectionUpdatedResponse): ActorConnectionUpdatedResponse {
|
|
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: ActorConnectionUpdatedResponse, 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.ActorConnectionUpdatedResponse
|
|
*/
|
|
export const ActorConnectionUpdatedResponse = new ActorConnectionUpdatedResponse$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: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorSnapshotCompletedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorSnapshotCompletedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAttachmentAddedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAttachmentAddedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAttachmentRemovedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAttachmentRemovedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorClaimAddedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorClaimAddedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorMetaDataUpdatedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorMetaDataUpdatedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAppointmentConfigurationUpdatedPayload, options: { "n1validate.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: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorAppointmentConfigurationUpdatedPayload, options: { "n1validate.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 message type with reflection information, may provide speed optimized methods
|
|
class ActorSanitisedPayload$Type extends MessageType<ActorSanitisedPayload> {
|
|
constructor() {
|
|
super("api.ActorSanitisedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Sanitised" });
|
|
}
|
|
create(value?: PartialMessage<ActorSanitisedPayload>): ActorSanitisedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorSanitisedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorSanitisedPayload): ActorSanitisedPayload {
|
|
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: ActorSanitisedPayload, 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.ActorSanitisedPayload
|
|
*/
|
|
export const ActorSanitisedPayload = new ActorSanitisedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorSanitisedEvent$Type extends MessageType<ActorSanitisedEvent> {
|
|
constructor() {
|
|
super("api.ActorSanitisedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorSanitisedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "api.messageType": "Event", "api.inputEvent": "Sanitised", "api.postAggMethods": "sanitise" });
|
|
}
|
|
create(value?: PartialMessage<ActorSanitisedEvent>): ActorSanitisedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorSanitisedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorSanitisedEvent): ActorSanitisedEvent {
|
|
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.ActorSanitisedPayload Payload */ 3:
|
|
message.Payload = ActorSanitisedPayload.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: ActorSanitisedEvent, 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.ActorSanitisedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorSanitisedPayload.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.ActorSanitisedEvent
|
|
*/
|
|
export const ActorSanitisedEvent = new ActorSanitisedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorSanitisedRequest$Type extends MessageType<ActorSanitisedRequest> {
|
|
constructor() {
|
|
super("api.ActorSanitisedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorSanitisedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Sanitised" });
|
|
}
|
|
create(value?: PartialMessage<ActorSanitisedRequest>): ActorSanitisedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorSanitisedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorSanitisedRequest): ActorSanitisedRequest {
|
|
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.ActorSanitisedPayload Payload */ 3:
|
|
message.Payload = ActorSanitisedPayload.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: ActorSanitisedRequest, 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.ActorSanitisedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorSanitisedPayload.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.ActorSanitisedRequest
|
|
*/
|
|
export const ActorSanitisedRequest = new ActorSanitisedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorSanitisedResponse$Type extends MessageType<ActorSanitisedResponse> {
|
|
constructor() {
|
|
super("api.ActorSanitisedResponse", [
|
|
{ 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": "Sanitised" });
|
|
}
|
|
create(value?: PartialMessage<ActorSanitisedResponse>): ActorSanitisedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorSanitisedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorSanitisedResponse): ActorSanitisedResponse {
|
|
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: ActorSanitisedResponse, 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.ActorSanitisedResponse
|
|
*/
|
|
export const ActorSanitisedResponse = new ActorSanitisedResponse$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCustomFieldsUpdatedPayload$Type extends MessageType<ActorCustomFieldsUpdatedPayload> {
|
|
constructor() {
|
|
super("api.ActorCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorCustomFieldsUpdatedPayload>): ActorCustomFieldsUpdatedPayload {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCustomFieldsUpdatedPayload>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCustomFieldsUpdatedPayload): ActorCustomFieldsUpdatedPayload {
|
|
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: ActorCustomFieldsUpdatedPayload, 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.ActorCustomFieldsUpdatedPayload
|
|
*/
|
|
export const ActorCustomFieldsUpdatedPayload = new ActorCustomFieldsUpdatedPayload$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCustomFieldsUpdatedEvent$Type extends MessageType<ActorCustomFieldsUpdatedEvent> {
|
|
constructor() {
|
|
super("api.ActorCustomFieldsUpdatedEvent", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCustomFieldsUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorCustomFieldsUpdatedEvent>): ActorCustomFieldsUpdatedEvent {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCustomFieldsUpdatedEvent>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCustomFieldsUpdatedEvent): ActorCustomFieldsUpdatedEvent {
|
|
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.ActorCustomFieldsUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorCustomFieldsUpdatedPayload.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: ActorCustomFieldsUpdatedEvent, 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.ActorCustomFieldsUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorCustomFieldsUpdatedPayload.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.ActorCustomFieldsUpdatedEvent
|
|
*/
|
|
export const ActorCustomFieldsUpdatedEvent = new ActorCustomFieldsUpdatedEvent$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCustomFieldsUpdatedRequest$Type extends MessageType<ActorCustomFieldsUpdatedRequest> {
|
|
constructor() {
|
|
super("api.ActorCustomFieldsUpdatedRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } },
|
|
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCustomFieldsUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "CustomFieldsUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorCustomFieldsUpdatedRequest>): ActorCustomFieldsUpdatedRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCustomFieldsUpdatedRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCustomFieldsUpdatedRequest): ActorCustomFieldsUpdatedRequest {
|
|
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.ActorCustomFieldsUpdatedPayload Payload */ 3:
|
|
message.Payload = ActorCustomFieldsUpdatedPayload.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: ActorCustomFieldsUpdatedRequest, 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.ActorCustomFieldsUpdatedPayload Payload = 3; */
|
|
if (message.Payload)
|
|
ActorCustomFieldsUpdatedPayload.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.ActorCustomFieldsUpdatedRequest
|
|
*/
|
|
export const ActorCustomFieldsUpdatedRequest = new ActorCustomFieldsUpdatedRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ActorCustomFieldsUpdatedResponse$Type extends MessageType<ActorCustomFieldsUpdatedResponse> {
|
|
constructor() {
|
|
super("api.ActorCustomFieldsUpdatedResponse", [
|
|
{ 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": "CustomFieldsUpdated" });
|
|
}
|
|
create(value?: PartialMessage<ActorCustomFieldsUpdatedResponse>): ActorCustomFieldsUpdatedResponse {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ActorCustomFieldsUpdatedResponse>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorCustomFieldsUpdatedResponse): ActorCustomFieldsUpdatedResponse {
|
|
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: ActorCustomFieldsUpdatedResponse, 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.ActorCustomFieldsUpdatedResponse
|
|
*/
|
|
export const ActorCustomFieldsUpdatedResponse = new ActorCustomFieldsUpdatedResponse$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. Is used to redifened the whole definition of the actor, including partner rattachment, wms partnerApp connection links, stock management, ..." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorCreatedRequest, O: ActorCreatedResponse },
|
|
{ name: "Createdv2", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been created. Is mainly used by platform connectors to only update general information about the actor (and not reset partner rattachment, wms partnerApp connection links, stock management)." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, 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 HARDIS SC NETWORK Admin service to share the Organisation actors." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, 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." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, 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." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, 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." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, I: ActorAttachmentRemovedRequest, O: ActorAttachmentRemovedResponse },
|
|
{ name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "A claim has been added on the Actor." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY" }, 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." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, 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." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorAppointmentConfigurationUpdatedRequest, O: ActorAppointmentConfigurationUpdatedResponse },
|
|
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been sanitised." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY" }, I: ActorSanitisedRequest, O: ActorSanitisedResponse },
|
|
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "CustomFields have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorCustomFieldsUpdatedRequest, O: ActorCustomFieldsUpdatedResponse },
|
|
{ name: "StockManagementUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Stock management has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorStockManagementUpdatedRequest, O: ActorStockManagementUpdatedResponse },
|
|
{ name: "PartnerLinkUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Partner link has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorPartnerLinkUpdatedRequest, O: ActorPartnerLinkUpdatedResponse },
|
|
{ name: "TypologyUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Typology has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorTypologyUpdatedRequest, O: ActorTypologyUpdatedResponse },
|
|
{ name: "CarrierInformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Carrier information has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorCarrierInformationUpdatedRequest, O: ActorCarrierInformationUpdatedResponse },
|
|
{ name: "PhotoURIUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Photo URI has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorPhotoURIUpdatedRequest, O: ActorPhotoURIUpdatedResponse },
|
|
{ name: "ConnectionUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Connection has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorConnectionUpdatedRequest, O: ActorConnectionUpdatedResponse },
|
|
{ name: "WMSUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "WMS definition has been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY" }, I: ActorWMSUpdatedRequest, O: ActorWMSUpdatedResponse }
|
|
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|