You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { ActorInputAPI } from "./actorInput";
|
||||
import type { ActorCustomFieldsUpdatedResponse } from "./actorInput";
|
||||
import type { ActorCustomFieldsUpdatedRequest } from "./actorInput";
|
||||
import type { ActorSanitisedResponse } from "./actorInput";
|
||||
import type { ActorSanitisedRequest } from "./actorInput";
|
||||
import type { ActorAppointmentConfigurationUpdatedResponse } from "./actorInput";
|
||||
@@ -74,6 +76,10 @@ export interface IActorInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: ActorSanitisedRequest, options?: RpcOptions): UnaryCall<ActorSanitisedRequest, ActorSanitisedResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: ActorCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<ActorCustomFieldsUpdatedRequest, ActorCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
@@ -157,4 +163,11 @@ export class ActorInputAPIClient implements IActorInputAPIClient, ServiceInfo {
|
||||
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ActorSanitisedRequest, ActorSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: ActorCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<ActorCustomFieldsUpdatedRequest, ActorCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ActorCustomFieldsUpdatedRequest, ActorCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
266
actorInput.ts
266
actorInput.ts
@@ -773,6 +773,58 @@ export interface ActorSanitisedResponse {
|
||||
*/
|
||||
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() {
|
||||
@@ -3174,6 +3226,217 @@ class ActorSanitisedResponse$Type extends MessageType<ActorSanitisedResponse> {
|
||||
* @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: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCustomFieldsUpdatedPayload, options: { "validate.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: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorCustomFieldsUpdatedPayload, options: { "validate.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
|
||||
*/
|
||||
@@ -3187,5 +3450,6 @@ export const ActorInputAPI = new ServiceType("api.ActorInputAPI", [
|
||||
{ name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "A claim is added for the Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorClaimAddedRequest, O: ActorClaimAddedResponse },
|
||||
{ name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Some metadata have been updated on an Actor. This is typically called from OMS or ERP." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorMetaDataUpdatedRequest, O: ActorMetaDataUpdatedResponse },
|
||||
{ name: "AppointmentConfigurationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Appointment configuration is updated on an Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorAppointmentConfigurationUpdatedRequest, O: ActorAppointmentConfigurationUpdatedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorSanitisedRequest, O: ActorSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorSanitisedRequest, O: ActorSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorCustomFieldsUpdatedRequest, O: ActorCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
@@ -245,7 +245,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
{ no: 15, name: "HasCommission", kind: "scalar", localName: "HasCommission", jsonName: "HasCommission", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 17, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 18, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 20, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "Created,Canceled,SlotUpdated,CommissionsUpdated,CarrierInformationUpdated,CarrierExpected,CarrierArrived,ExpeditionStarted,ExpeditionLoaded,ReceptionStarted,ReceptionUnloaded,CarrierDeparted,MetaDataUpdated,AttachmentAdded,AttachmentRemoved,EmailsAdded,EmailsRemoved,Sanitised" } }
|
||||
{ no: 20, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "Created,Canceled,SlotUpdated,CommissionsUpdated,CarrierInformationUpdated,CarrierExpected,CarrierArrived,ExpeditionStarted,ExpeditionLoaded,ReceptionStarted,ReceptionUnloaded,CarrierDeparted,MetaDataUpdated,AttachmentAdded,AttachmentRemoved,EmailsAdded,EmailsRemoved,Sanitised,CustomFieldsUpdated" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppointmentType", "Segmentations"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentPayload>): AppointmentPayload {
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { AppointmentInputAPI } from "./appointmentInput";
|
||||
import type { AppointmentCustomFieldsUpdatedResponse } from "./appointmentInput";
|
||||
import type { AppointmentCustomFieldsUpdatedRequest } from "./appointmentInput";
|
||||
import type { AppointmentSanitisedResponse } from "./appointmentInput";
|
||||
import type { AppointmentSanitisedRequest } from "./appointmentInput";
|
||||
import type { AppointmentEmailsRemovedResponse } from "./appointmentInput";
|
||||
@@ -122,6 +124,10 @@ export interface IAppointmentInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: AppointmentSanitisedRequest, options?: RpcOptions): UnaryCall<AppointmentSanitisedRequest, AppointmentSanitisedResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: AppointmentCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentCustomFieldsUpdatedRequest, AppointmentCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
@@ -261,4 +267,11 @@ export class AppointmentInputAPIClient implements IAppointmentInputAPIClient, Se
|
||||
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<AppointmentSanitisedRequest, AppointmentSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: AppointmentCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentCustomFieldsUpdatedRequest, AppointmentCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<AppointmentCustomFieldsUpdatedRequest, AppointmentCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1302,6 +1302,62 @@ export interface AppointmentSanitisedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface AppointmentCustomFieldsUpdatedPayload {
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 1
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface AppointmentCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.AppointmentCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: AppointmentCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface AppointmentCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.AppointmentCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: AppointmentCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface AppointmentCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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 AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPayload> {
|
||||
constructor() {
|
||||
@@ -5420,6 +5476,226 @@ class AppointmentSanitisedResponse$Type extends MessageType<AppointmentSanitised
|
||||
* @generated MessageType for protobuf message api.AppointmentSanitisedResponse
|
||||
*/
|
||||
export const AppointmentSanitisedResponse = new AppointmentSanitisedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentCustomFieldsUpdatedPayload$Type extends MessageType<AppointmentCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.AppointmentCustomFieldsUpdatedPayload", [
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentCustomFieldsUpdatedPayload>): AppointmentCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentCustomFieldsUpdatedPayload): AppointmentCustomFieldsUpdatedPayload {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ActorID */ 1:
|
||||
message.ActorID = 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: AppointmentCustomFieldsUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ActorID = 1; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.AppointmentCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const AppointmentCustomFieldsUpdatedPayload = new AppointmentCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentCustomFieldsUpdatedEvent$Type extends MessageType<AppointmentCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.AppointmentCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => AppointmentCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentCustomFieldsUpdatedEvent>): AppointmentCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentCustomFieldsUpdatedEvent): AppointmentCustomFieldsUpdatedEvent {
|
||||
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.AppointmentCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = AppointmentCustomFieldsUpdatedPayload.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: AppointmentCustomFieldsUpdatedEvent, 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.AppointmentCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
AppointmentCustomFieldsUpdatedPayload.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.AppointmentCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const AppointmentCustomFieldsUpdatedEvent = new AppointmentCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentCustomFieldsUpdatedRequest$Type extends MessageType<AppointmentCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.AppointmentCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => AppointmentCustomFieldsUpdatedPayload, options: { "validate.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<AppointmentCustomFieldsUpdatedRequest>): AppointmentCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentCustomFieldsUpdatedRequest): AppointmentCustomFieldsUpdatedRequest {
|
||||
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.AppointmentCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = AppointmentCustomFieldsUpdatedPayload.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: AppointmentCustomFieldsUpdatedRequest, 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.AppointmentCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
AppointmentCustomFieldsUpdatedPayload.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.AppointmentCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const AppointmentCustomFieldsUpdatedRequest = new AppointmentCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentCustomFieldsUpdatedResponse$Type extends MessageType<AppointmentCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.AppointmentCustomFieldsUpdatedResponse", [
|
||||
{ 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<AppointmentCustomFieldsUpdatedResponse>): AppointmentCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentCustomFieldsUpdatedResponse): AppointmentCustomFieldsUpdatedResponse {
|
||||
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: AppointmentCustomFieldsUpdatedResponse, 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.AppointmentCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const AppointmentCustomFieldsUpdatedResponse = new AppointmentCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.AppointmentInputAPI
|
||||
*/
|
||||
@@ -5441,5 +5717,6 @@ export const AppointmentInputAPI = new ServiceType("api.AppointmentInputAPI", [
|
||||
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An attachment is removed for the Appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttachmentRemovedRequest, O: AppointmentAttachmentRemovedResponse },
|
||||
{ name: "EmailsAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment Emails have been added." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentEmailsAddedRequest, O: AppointmentEmailsAddedResponse },
|
||||
{ name: "EmailsRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment Emails have been removed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentEmailsRemovedRequest, O: AppointmentEmailsRemovedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An Appointment has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentSanitisedRequest, O: AppointmentSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An Appointment has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentSanitisedRequest, O: AppointmentSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCustomFieldsUpdatedRequest, O: AppointmentCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" });
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { ClaimInputAPI } from "./claimInput";
|
||||
import type { ClaimCustomFieldsUpdatedResponse } from "./claimInput";
|
||||
import type { ClaimCustomFieldsUpdatedRequest } from "./claimInput";
|
||||
import type { ClaimSanitisedResponse } from "./claimInput";
|
||||
import type { ClaimSanitisedRequest } from "./claimInput";
|
||||
import type { ClaimDeletedResponse } from "./claimInput";
|
||||
@@ -98,6 +100,10 @@ export interface IClaimInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: ClaimSanitisedRequest, options?: RpcOptions): UnaryCall<ClaimSanitisedRequest, ClaimSanitisedResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: ClaimCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<ClaimCustomFieldsUpdatedRequest, ClaimCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
@@ -209,4 +215,11 @@ export class ClaimInputAPIClient implements IClaimInputAPIClient, ServiceInfo {
|
||||
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ClaimSanitisedRequest, ClaimSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: ClaimCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<ClaimCustomFieldsUpdatedRequest, ClaimCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ClaimCustomFieldsUpdatedRequest, ClaimCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
266
claimInput.ts
266
claimInput.ts
@@ -995,6 +995,58 @@ export interface ClaimSanitisedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ClaimCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface ClaimCustomFieldsUpdatedPayload {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ClaimCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface ClaimCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.ClaimCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ClaimCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ClaimCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface ClaimCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.ClaimCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ClaimCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ClaimCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface ClaimCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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 ClaimCreatedPayload$Type extends MessageType<ClaimCreatedPayload> {
|
||||
constructor() {
|
||||
@@ -4126,6 +4178,217 @@ class ClaimSanitisedResponse$Type extends MessageType<ClaimSanitisedResponse> {
|
||||
* @generated MessageType for protobuf message api.ClaimSanitisedResponse
|
||||
*/
|
||||
export const ClaimSanitisedResponse = new ClaimSanitisedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ClaimCustomFieldsUpdatedPayload$Type extends MessageType<ClaimCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.ClaimCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ClaimCustomFieldsUpdatedPayload>): ClaimCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ClaimCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimCustomFieldsUpdatedPayload): ClaimCustomFieldsUpdatedPayload {
|
||||
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: ClaimCustomFieldsUpdatedPayload, 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.ClaimCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const ClaimCustomFieldsUpdatedPayload = new ClaimCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ClaimCustomFieldsUpdatedEvent$Type extends MessageType<ClaimCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.ClaimCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ClaimCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ClaimCustomFieldsUpdatedEvent>): ClaimCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ClaimCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimCustomFieldsUpdatedEvent): ClaimCustomFieldsUpdatedEvent {
|
||||
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.ClaimCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = ClaimCustomFieldsUpdatedPayload.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: ClaimCustomFieldsUpdatedEvent, 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.ClaimCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ClaimCustomFieldsUpdatedPayload.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.ClaimCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const ClaimCustomFieldsUpdatedEvent = new ClaimCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ClaimCustomFieldsUpdatedRequest$Type extends MessageType<ClaimCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.ClaimCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ClaimCustomFieldsUpdatedPayload, options: { "validate.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<ClaimCustomFieldsUpdatedRequest>): ClaimCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ClaimCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimCustomFieldsUpdatedRequest): ClaimCustomFieldsUpdatedRequest {
|
||||
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.ClaimCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = ClaimCustomFieldsUpdatedPayload.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: ClaimCustomFieldsUpdatedRequest, 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.ClaimCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ClaimCustomFieldsUpdatedPayload.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.ClaimCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const ClaimCustomFieldsUpdatedRequest = new ClaimCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ClaimCustomFieldsUpdatedResponse$Type extends MessageType<ClaimCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.ClaimCustomFieldsUpdatedResponse", [
|
||||
{ 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<ClaimCustomFieldsUpdatedResponse>): ClaimCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ClaimCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimCustomFieldsUpdatedResponse): ClaimCustomFieldsUpdatedResponse {
|
||||
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: ClaimCustomFieldsUpdatedResponse, 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.ClaimCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const ClaimCustomFieldsUpdatedResponse = new ClaimCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.ClaimInputAPI
|
||||
*/
|
||||
@@ -4143,5 +4406,6 @@ export const ClaimInputAPI = new ServiceType("api.ClaimInputAPI", [
|
||||
{ name: "TitleUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "The title is updated for the claim." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimTitleUpdatedRequest, O: ClaimTitleUpdatedResponse },
|
||||
{ name: "MessageSent", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A message is sent in the claim room." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.customInput": true, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimMessageSentRequest, O: ClaimMessageSentResponse },
|
||||
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "An Claim has been deleted. This is called from Reflex Platform Admin service to share the Organisation Claims." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimDeletedRequest, O: ClaimDeletedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A Claim has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClaimSanitisedRequest, O: ClaimSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "A Claim has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClaimSanitisedRequest, O: ClaimSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimCustomFieldsUpdatedRequest, O: ClaimCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" });
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { ExecutionflowInputAPI } from "./executionflowInput";
|
||||
import type { ExecutionflowCustomFieldsUpdatedResponse } from "./executionflowInput";
|
||||
import type { ExecutionflowCustomFieldsUpdatedRequest } from "./executionflowInput";
|
||||
import type { ExecutionflowSanitisedResponse } from "./executionflowInput";
|
||||
import type { ExecutionflowSanitisedRequest } from "./executionflowInput";
|
||||
import type { ExecutionflowRenotifiedResponse } from "./executionflowInput";
|
||||
@@ -206,6 +208,10 @@ export interface IExecutionflowInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: ExecutionflowSanitisedRequest, options?: RpcOptions): UnaryCall<ExecutionflowSanitisedRequest, ExecutionflowSanitisedResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: ExecutionflowCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<ExecutionflowCustomFieldsUpdatedRequest, ExecutionflowCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
@@ -443,4 +449,11 @@ export class ExecutionflowInputAPIClient implements IExecutionflowInputAPIClient
|
||||
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ExecutionflowSanitisedRequest, ExecutionflowSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: ExecutionflowCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<ExecutionflowCustomFieldsUpdatedRequest, ExecutionflowCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ExecutionflowCustomFieldsUpdatedRequest, ExecutionflowCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2016,6 +2016,58 @@ export interface ExecutionflowSanitisedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface ExecutionflowCustomFieldsUpdatedPayload {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface ExecutionflowCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.ExecutionflowCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface ExecutionflowCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.ExecutionflowCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ExecutionflowCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface ExecutionflowCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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 ExecutionflowCreatedPayload$Type extends MessageType<ExecutionflowCreatedPayload> {
|
||||
constructor() {
|
||||
@@ -9043,6 +9095,217 @@ class ExecutionflowSanitisedResponse$Type extends MessageType<ExecutionflowSanit
|
||||
* @generated MessageType for protobuf message api.ExecutionflowSanitisedResponse
|
||||
*/
|
||||
export const ExecutionflowSanitisedResponse = new ExecutionflowSanitisedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowCustomFieldsUpdatedPayload$Type extends MessageType<ExecutionflowCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowCustomFieldsUpdatedPayload>): ExecutionflowCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedPayload): ExecutionflowCustomFieldsUpdatedPayload {
|
||||
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: ExecutionflowCustomFieldsUpdatedPayload, 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.ExecutionflowCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const ExecutionflowCustomFieldsUpdatedPayload = new ExecutionflowCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowCustomFieldsUpdatedEvent$Type extends MessageType<ExecutionflowCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowCustomFieldsUpdatedEvent>): ExecutionflowCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedEvent): ExecutionflowCustomFieldsUpdatedEvent {
|
||||
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.ExecutionflowCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowCustomFieldsUpdatedPayload.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: ExecutionflowCustomFieldsUpdatedEvent, 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.ExecutionflowCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowCustomFieldsUpdatedPayload.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.ExecutionflowCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const ExecutionflowCustomFieldsUpdatedEvent = new ExecutionflowCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowCustomFieldsUpdatedRequest$Type extends MessageType<ExecutionflowCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCustomFieldsUpdatedPayload, options: { "validate.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<ExecutionflowCustomFieldsUpdatedRequest>): ExecutionflowCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedRequest): ExecutionflowCustomFieldsUpdatedRequest {
|
||||
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.ExecutionflowCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = ExecutionflowCustomFieldsUpdatedPayload.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: ExecutionflowCustomFieldsUpdatedRequest, 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.ExecutionflowCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ExecutionflowCustomFieldsUpdatedPayload.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.ExecutionflowCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const ExecutionflowCustomFieldsUpdatedRequest = new ExecutionflowCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ExecutionflowCustomFieldsUpdatedResponse$Type extends MessageType<ExecutionflowCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.ExecutionflowCustomFieldsUpdatedResponse", [
|
||||
{ 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<ExecutionflowCustomFieldsUpdatedResponse>): ExecutionflowCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedResponse): ExecutionflowCustomFieldsUpdatedResponse {
|
||||
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: ExecutionflowCustomFieldsUpdatedResponse, 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.ExecutionflowCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const ExecutionflowCustomFieldsUpdatedResponse = new ExecutionflowCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.ExecutionflowInputAPI
|
||||
*/
|
||||
@@ -9078,5 +9341,6 @@ export const ExecutionflowInputAPI = new ServiceType("api.ExecutionflowInputAPI"
|
||||
{ name: "LinesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Some lines are added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowLinesAddedRequest, O: ExecutionflowLinesAddedResponse },
|
||||
{ name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Adding lines in the Order has been reported to an Executionflow. This is called internally." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowLinesDetectedRequest, O: ExecutionflowLinesDetectedResponse },
|
||||
{ name: "Renotified", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Re-notify the connected partnerApps." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowRenotifiedRequest, O: ExecutionflowRenotifiedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Executionflow has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowSanitisedRequest, O: ExecutionflowSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Executionflow has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowSanitisedRequest, O: ExecutionflowSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCustomFieldsUpdatedRequest, O: ExecutionflowCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { HandlingunitInputAPI } from "./handlingunitInput";
|
||||
import type { HandlingunitCustomFieldsUpdatedResponse } from "./handlingunitInput";
|
||||
import type { HandlingunitCustomFieldsUpdatedRequest } from "./handlingunitInput";
|
||||
import type { HandlingunitSanitisedResponse } from "./handlingunitInput";
|
||||
import type { HandlingunitSanitisedRequest } from "./handlingunitInput";
|
||||
import type { HandlingunitDeletedResponse } from "./handlingunitInput";
|
||||
@@ -104,6 +106,10 @@ export interface IHandlingunitInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: HandlingunitSanitisedRequest, options?: RpcOptions): UnaryCall<HandlingunitSanitisedRequest, HandlingunitSanitisedResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: HandlingunitCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitCustomFieldsUpdatedRequest, HandlingunitCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
@@ -222,4 +228,11 @@ export class HandlingunitInputAPIClient implements IHandlingunitInputAPIClient,
|
||||
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<HandlingunitSanitisedRequest, HandlingunitSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: HandlingunitCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<HandlingunitCustomFieldsUpdatedRequest, HandlingunitCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<HandlingunitCustomFieldsUpdatedRequest, HandlingunitCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -948,6 +948,58 @@ export interface HandlingunitSanitisedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.HandlingunitCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface HandlingunitCustomFieldsUpdatedPayload {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.HandlingunitCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface HandlingunitCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.HandlingunitCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: HandlingunitCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.HandlingunitCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface HandlingunitCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.HandlingunitCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: HandlingunitCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.HandlingunitCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface HandlingunitCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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 HandlingunitGoodsPreparedPayload$Type extends MessageType<HandlingunitGoodsPreparedPayload> {
|
||||
constructor() {
|
||||
@@ -4254,6 +4306,217 @@ class HandlingunitSanitisedResponse$Type extends MessageType<HandlingunitSanitis
|
||||
* @generated MessageType for protobuf message api.HandlingunitSanitisedResponse
|
||||
*/
|
||||
export const HandlingunitSanitisedResponse = new HandlingunitSanitisedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class HandlingunitCustomFieldsUpdatedPayload$Type extends MessageType<HandlingunitCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.HandlingunitCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitCustomFieldsUpdatedPayload>): HandlingunitCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HandlingunitCustomFieldsUpdatedPayload): HandlingunitCustomFieldsUpdatedPayload {
|
||||
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: HandlingunitCustomFieldsUpdatedPayload, 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.HandlingunitCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const HandlingunitCustomFieldsUpdatedPayload = new HandlingunitCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class HandlingunitCustomFieldsUpdatedEvent$Type extends MessageType<HandlingunitCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.HandlingunitCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => HandlingunitCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitCustomFieldsUpdatedEvent>): HandlingunitCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HandlingunitCustomFieldsUpdatedEvent): HandlingunitCustomFieldsUpdatedEvent {
|
||||
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.HandlingunitCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = HandlingunitCustomFieldsUpdatedPayload.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: HandlingunitCustomFieldsUpdatedEvent, 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.HandlingunitCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
HandlingunitCustomFieldsUpdatedPayload.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.HandlingunitCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const HandlingunitCustomFieldsUpdatedEvent = new HandlingunitCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class HandlingunitCustomFieldsUpdatedRequest$Type extends MessageType<HandlingunitCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.HandlingunitCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => HandlingunitCustomFieldsUpdatedPayload, options: { "validate.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<HandlingunitCustomFieldsUpdatedRequest>): HandlingunitCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HandlingunitCustomFieldsUpdatedRequest): HandlingunitCustomFieldsUpdatedRequest {
|
||||
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.HandlingunitCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = HandlingunitCustomFieldsUpdatedPayload.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: HandlingunitCustomFieldsUpdatedRequest, 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.HandlingunitCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
HandlingunitCustomFieldsUpdatedPayload.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.HandlingunitCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const HandlingunitCustomFieldsUpdatedRequest = new HandlingunitCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class HandlingunitCustomFieldsUpdatedResponse$Type extends MessageType<HandlingunitCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.HandlingunitCustomFieldsUpdatedResponse", [
|
||||
{ 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<HandlingunitCustomFieldsUpdatedResponse>): HandlingunitCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: HandlingunitCustomFieldsUpdatedResponse): HandlingunitCustomFieldsUpdatedResponse {
|
||||
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: HandlingunitCustomFieldsUpdatedResponse, 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.HandlingunitCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const HandlingunitCustomFieldsUpdatedResponse = new HandlingunitCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.HandlingunitInputAPI
|
||||
*/
|
||||
@@ -4272,5 +4535,6 @@ export const HandlingunitInputAPI = new ServiceType("api.HandlingunitInputAPI",
|
||||
{ name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "A claim is added for the Handlingunit." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitClaimAddedRequest, O: HandlingunitClaimAddedResponse },
|
||||
{ name: "ReadyToBeCollected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "HandlingUnit is available on Dock, Ready to be collected." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitReadyToBeCollectedRequest, O: HandlingunitReadyToBeCollectedResponse },
|
||||
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An Handlingunit has been deleted. This is called from Reflex Platform Admin service to share the Organisation Handlingunits." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitDeletedRequest, O: HandlingunitDeletedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An Handlingunit has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitSanitisedRequest, O: HandlingunitSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An Handlingunit has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitSanitisedRequest, O: HandlingunitSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitCustomFieldsUpdatedRequest, O: HandlingunitCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { ItemInputAPI } from "./itemInput";
|
||||
import type { ItemCustomFieldsUpdatedResponse } from "./itemInput";
|
||||
import type { ItemCustomFieldsUpdatedRequest } from "./itemInput";
|
||||
import type { ItemSanitisedResponse } from "./itemInput";
|
||||
import type { ItemSanitisedRequest } from "./itemInput";
|
||||
import type { ItemAttachmentRemovedResponse } from "./itemInput";
|
||||
@@ -25,68 +27,6 @@ import type { ItemCreatedResponse } from "./itemInput";
|
||||
import type { ItemCreatedRequest } from "./itemInput";
|
||||
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
||||
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
||||
//
|
||||
// ClaimAdded : this message tells that a claim is added for the Item
|
||||
|
||||
//
|
||||
// message ItemClaimAddedPayload
|
||||
// {
|
||||
// option (payload) = true;
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// repeated ClaimSummary Claims = 1
|
||||
// [
|
||||
// (aggKey) = "ClaimTypeID",
|
||||
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
// description: "Number of claims added per type"}
|
||||
// ];
|
||||
// }
|
||||
// message ItemClaimAddedEvent
|
||||
// {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// option (preAggMethods) = "addClaim"; // Here are listed the pre aggregation methods to call before event message is aggregated
|
||||
// EventHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// ItemClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message ItemClaimAddedRequest {
|
||||
// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
|
||||
// json_schema: {
|
||||
// required: ["Header", "ID", "Payload"]
|
||||
// }
|
||||
// };
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Request";
|
||||
// RequestProjectHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// ItemClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message ItemClaimAddedResponse {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Response";
|
||||
// ResponseHeader Header = 1;
|
||||
// EntityID ID = 2;
|
||||
// }
|
||||
|
||||
/**
|
||||
*
|
||||
* API-server services
|
||||
@@ -130,69 +70,24 @@ export interface IItemInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: ItemSanitisedRequest, options?: RpcOptions): UnaryCall<ItemSanitisedRequest, ItemSanitisedResponse>;
|
||||
//
|
||||
// rpc ClaimAdded (ItemClaimAddedRequest) returns (ItemClaimAddedResponse) {
|
||||
// option (rscType) = "Project";
|
||||
// option (roles) = "Platform.Project-Claim";
|
||||
// option (platformReserved) = true;
|
||||
// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
// description: "A claim is added for the Item."
|
||||
// summary: ""
|
||||
// tags: "Item Inputs"
|
||||
// };
|
||||
// option (google.api.method_visibility).restriction = "INTERNAL";
|
||||
// };
|
||||
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: ItemCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<ItemCustomFieldsUpdatedRequest, ItemCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
//
|
||||
// ClaimAdded : this message tells that a claim is added for the Item
|
||||
|
||||
//
|
||||
// message ItemClaimAddedPayload
|
||||
// {
|
||||
// option (payload) = true;
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// repeated ClaimSummary Claims = 1
|
||||
// [
|
||||
// (aggKey) = "ClaimTypeID",
|
||||
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
// description: "Number of claims added per type"}
|
||||
// ];
|
||||
// }
|
||||
// message ItemClaimAddedEvent
|
||||
// {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// option (preAggMethods) = "addClaim"; // Here are listed the pre aggregation methods to call before event message is aggregated
|
||||
// EventHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// ItemClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message ItemClaimAddedRequest {
|
||||
// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
|
||||
// json_schema: {
|
||||
// required: ["Header", "ID", "Payload"]
|
||||
// }
|
||||
// };
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Request";
|
||||
// RequestProjectHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// ItemClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message ItemClaimAddedResponse {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Response";
|
||||
// ResponseHeader Header = 1;
|
||||
// EntityID ID = 2;
|
||||
// }
|
||||
|
||||
/**
|
||||
*
|
||||
* API-server services
|
||||
@@ -268,4 +163,24 @@ export class ItemInputAPIClient implements IItemInputAPIClient, ServiceInfo {
|
||||
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ItemSanitisedRequest, ItemSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
//
|
||||
// rpc ClaimAdded (ItemClaimAddedRequest) returns (ItemClaimAddedResponse) {
|
||||
// option (rscType) = "Project";
|
||||
// option (roles) = "Platform.Project-Claim";
|
||||
// option (platformReserved) = true;
|
||||
// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
// description: "A claim is added for the Item."
|
||||
// summary: ""
|
||||
// tags: "Item Inputs"
|
||||
// };
|
||||
// option (google.api.method_visibility).restriction = "INTERNAL";
|
||||
// };
|
||||
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: ItemCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<ItemCustomFieldsUpdatedRequest, ItemCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ItemCustomFieldsUpdatedRequest, ItemCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
328
itemInput.ts
328
itemInput.ts
@@ -610,6 +610,120 @@ export interface ItemSanitisedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
//
|
||||
// ClaimAdded : this message tells that a claim is added for the Item
|
||||
|
||||
//
|
||||
// message ItemClaimAddedPayload
|
||||
// {
|
||||
// option (payload) = true;
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// repeated ClaimSummary Claims = 1
|
||||
// [
|
||||
// (aggKey) = "ClaimTypeID",
|
||||
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
// description: "Number of claims added per type"}
|
||||
// ];
|
||||
// }
|
||||
// message ItemClaimAddedEvent
|
||||
// {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// option (preAggMethods) = "addClaim"; // Here are listed the pre aggregation methods to call before event message is aggregated
|
||||
// EventHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// ItemClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message ItemClaimAddedRequest {
|
||||
// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
|
||||
// json_schema: {
|
||||
// required: ["Header", "ID", "Payload"]
|
||||
// }
|
||||
// };
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Request";
|
||||
// RequestProjectHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// ItemClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message ItemClaimAddedResponse {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Response";
|
||||
// ResponseHeader Header = 1;
|
||||
// EntityID ID = 2;
|
||||
// }
|
||||
|
||||
/**
|
||||
* @generated from protobuf message api.ItemCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface ItemCustomFieldsUpdatedPayload {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ItemCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface ItemCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.ItemCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ItemCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ItemCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface ItemCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.ItemCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: ItemCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ItemCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface ItemCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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 ItemCreatedPayload$Type extends MessageType<ItemCreatedPayload> {
|
||||
constructor() {
|
||||
@@ -2603,6 +2717,217 @@ class ItemSanitisedResponse$Type extends MessageType<ItemSanitisedResponse> {
|
||||
* @generated MessageType for protobuf message api.ItemSanitisedResponse
|
||||
*/
|
||||
export const ItemSanitisedResponse = new ItemSanitisedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ItemCustomFieldsUpdatedPayload$Type extends MessageType<ItemCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.ItemCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ItemCustomFieldsUpdatedPayload>): ItemCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ItemCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ItemCustomFieldsUpdatedPayload): ItemCustomFieldsUpdatedPayload {
|
||||
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: ItemCustomFieldsUpdatedPayload, 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.ItemCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const ItemCustomFieldsUpdatedPayload = new ItemCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ItemCustomFieldsUpdatedEvent$Type extends MessageType<ItemCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.ItemCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ItemCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ItemCustomFieldsUpdatedEvent>): ItemCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ItemCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ItemCustomFieldsUpdatedEvent): ItemCustomFieldsUpdatedEvent {
|
||||
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.ItemCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = ItemCustomFieldsUpdatedPayload.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: ItemCustomFieldsUpdatedEvent, 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.ItemCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ItemCustomFieldsUpdatedPayload.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.ItemCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const ItemCustomFieldsUpdatedEvent = new ItemCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ItemCustomFieldsUpdatedRequest$Type extends MessageType<ItemCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.ItemCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ItemCustomFieldsUpdatedPayload, options: { "validate.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<ItemCustomFieldsUpdatedRequest>): ItemCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ItemCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ItemCustomFieldsUpdatedRequest): ItemCustomFieldsUpdatedRequest {
|
||||
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.ItemCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = ItemCustomFieldsUpdatedPayload.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: ItemCustomFieldsUpdatedRequest, 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.ItemCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
ItemCustomFieldsUpdatedPayload.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.ItemCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const ItemCustomFieldsUpdatedRequest = new ItemCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ItemCustomFieldsUpdatedResponse$Type extends MessageType<ItemCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.ItemCustomFieldsUpdatedResponse", [
|
||||
{ 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<ItemCustomFieldsUpdatedResponse>): ItemCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ItemCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ItemCustomFieldsUpdatedResponse): ItemCustomFieldsUpdatedResponse {
|
||||
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: ItemCustomFieldsUpdatedResponse, 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.ItemCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const ItemCustomFieldsUpdatedResponse = new ItemCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.ItemInputAPI
|
||||
*/
|
||||
@@ -2615,5 +2940,6 @@ export const ItemInputAPI = new ServiceType("api.ItemInputAPI", [
|
||||
{ name: "DescriptionUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some description have been updated on an item. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemDescriptionUpdatedRequest, O: ItemDescriptionUpdatedResponse },
|
||||
{ name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An attachment is added for the Item." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ItemAttachmentAddedRequest, O: ItemAttachmentAddedResponse },
|
||||
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An attachment is removed for the Item." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ItemAttachmentRemovedRequest, O: ItemAttachmentRemovedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An Item has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ItemSanitisedRequest, O: ItemSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An Item has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ItemSanitisedRequest, O: ItemSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemCustomFieldsUpdatedRequest, O: ItemCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { MovementInputAPI } from "./movementInput";
|
||||
import type { MovementCustomFieldsUpdatedResponse } from "./movementInput";
|
||||
import type { MovementCustomFieldsUpdatedRequest } from "./movementInput";
|
||||
import type { MovementSanitisedResponse } from "./movementInput";
|
||||
import type { MovementSanitisedRequest } from "./movementInput";
|
||||
import type { MovementDeletedResponse } from "./movementInput";
|
||||
@@ -62,6 +64,10 @@ export interface IMovementInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: MovementSanitisedRequest, options?: RpcOptions): UnaryCall<MovementSanitisedRequest, MovementSanitisedResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: MovementCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<MovementCustomFieldsUpdatedRequest, MovementCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
@@ -131,4 +137,11 @@ export class MovementInputAPIClient implements IMovementInputAPIClient, ServiceI
|
||||
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<MovementSanitisedRequest, MovementSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: MovementCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<MovementCustomFieldsUpdatedRequest, MovementCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<MovementCustomFieldsUpdatedRequest, MovementCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
266
movementInput.ts
266
movementInput.ts
@@ -544,6 +544,58 @@ export interface MovementSanitisedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.MovementCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface MovementCustomFieldsUpdatedPayload {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.MovementCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface MovementCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.MovementCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: MovementCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.MovementCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface MovementCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.MovementCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: MovementCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.MovementCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface MovementCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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 MovementCreatedPayload$Type extends MessageType<MovementCreatedPayload> {
|
||||
constructor() {
|
||||
@@ -2334,6 +2386,217 @@ class MovementSanitisedResponse$Type extends MessageType<MovementSanitisedRespon
|
||||
* @generated MessageType for protobuf message api.MovementSanitisedResponse
|
||||
*/
|
||||
export const MovementSanitisedResponse = new MovementSanitisedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class MovementCustomFieldsUpdatedPayload$Type extends MessageType<MovementCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.MovementCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<MovementCustomFieldsUpdatedPayload>): MovementCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<MovementCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MovementCustomFieldsUpdatedPayload): MovementCustomFieldsUpdatedPayload {
|
||||
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: MovementCustomFieldsUpdatedPayload, 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.MovementCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const MovementCustomFieldsUpdatedPayload = new MovementCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class MovementCustomFieldsUpdatedEvent$Type extends MessageType<MovementCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.MovementCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => MovementCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<MovementCustomFieldsUpdatedEvent>): MovementCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<MovementCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MovementCustomFieldsUpdatedEvent): MovementCustomFieldsUpdatedEvent {
|
||||
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.MovementCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = MovementCustomFieldsUpdatedPayload.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: MovementCustomFieldsUpdatedEvent, 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.MovementCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
MovementCustomFieldsUpdatedPayload.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.MovementCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const MovementCustomFieldsUpdatedEvent = new MovementCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class MovementCustomFieldsUpdatedRequest$Type extends MessageType<MovementCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.MovementCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => MovementCustomFieldsUpdatedPayload, options: { "validate.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<MovementCustomFieldsUpdatedRequest>): MovementCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<MovementCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MovementCustomFieldsUpdatedRequest): MovementCustomFieldsUpdatedRequest {
|
||||
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.MovementCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = MovementCustomFieldsUpdatedPayload.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: MovementCustomFieldsUpdatedRequest, 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.MovementCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
MovementCustomFieldsUpdatedPayload.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.MovementCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const MovementCustomFieldsUpdatedRequest = new MovementCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class MovementCustomFieldsUpdatedResponse$Type extends MessageType<MovementCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.MovementCustomFieldsUpdatedResponse", [
|
||||
{ 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<MovementCustomFieldsUpdatedResponse>): MovementCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<MovementCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MovementCustomFieldsUpdatedResponse): MovementCustomFieldsUpdatedResponse {
|
||||
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: MovementCustomFieldsUpdatedResponse, 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.MovementCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const MovementCustomFieldsUpdatedResponse = new MovementCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.MovementInputAPI
|
||||
*/
|
||||
@@ -2345,5 +2608,6 @@ export const MovementInputAPI = new ServiceType("api.MovementInputAPI", [
|
||||
{ name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An attachment is added for the Movement." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementAttachmentAddedRequest, O: MovementAttachmentAddedResponse },
|
||||
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An attachment is removed for the Movement." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementAttachmentRemovedRequest, O: MovementAttachmentRemovedResponse },
|
||||
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An Movement has been deleted. This is called from Reflex Platform Admin service to share the Organisation Movements." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: MovementDeletedRequest, O: MovementDeletedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A Movement has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementSanitisedRequest, O: MovementSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A Movement has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementSanitisedRequest, O: MovementSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: MovementCustomFieldsUpdatedRequest, O: MovementCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { NotifInputAPI } from "./notifInput";
|
||||
import type { NotifCustomFieldsUpdatedResponse } from "./notifInput";
|
||||
import type { NotifCustomFieldsUpdatedRequest } from "./notifInput";
|
||||
import type { NotifSanitisedResponse } from "./notifInput";
|
||||
import type { NotifSanitisedRequest } from "./notifInput";
|
||||
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -26,6 +28,10 @@ export interface INotifInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: NotifSanitisedRequest, options?: RpcOptions): UnaryCall<NotifSanitisedRequest, NotifSanitisedResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: NotifCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<NotifCustomFieldsUpdatedRequest, NotifCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
@@ -53,4 +59,11 @@ export class NotifInputAPIClient implements INotifInputAPIClient, ServiceInfo {
|
||||
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<NotifSanitisedRequest, NotifSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: NotifCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<NotifCustomFieldsUpdatedRequest, NotifCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<NotifCustomFieldsUpdatedRequest, NotifCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
266
notifInput.ts
266
notifInput.ts
@@ -175,6 +175,58 @@ export interface NotifSanitisedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.NotifCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface NotifCustomFieldsUpdatedPayload {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.NotifCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface NotifCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.NotifCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: NotifCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.NotifCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface NotifCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.NotifCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: NotifCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.NotifCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface NotifCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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 NotifCreatedPayload$Type extends MessageType<NotifCreatedPayload> {
|
||||
constructor() {
|
||||
@@ -662,10 +714,222 @@ class NotifSanitisedResponse$Type extends MessageType<NotifSanitisedResponse> {
|
||||
* @generated MessageType for protobuf message api.NotifSanitisedResponse
|
||||
*/
|
||||
export const NotifSanitisedResponse = new NotifSanitisedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class NotifCustomFieldsUpdatedPayload$Type extends MessageType<NotifCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.NotifCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<NotifCustomFieldsUpdatedPayload>): NotifCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<NotifCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotifCustomFieldsUpdatedPayload): NotifCustomFieldsUpdatedPayload {
|
||||
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: NotifCustomFieldsUpdatedPayload, 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.NotifCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const NotifCustomFieldsUpdatedPayload = new NotifCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class NotifCustomFieldsUpdatedEvent$Type extends MessageType<NotifCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.NotifCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => NotifCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<NotifCustomFieldsUpdatedEvent>): NotifCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<NotifCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotifCustomFieldsUpdatedEvent): NotifCustomFieldsUpdatedEvent {
|
||||
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.NotifCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = NotifCustomFieldsUpdatedPayload.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: NotifCustomFieldsUpdatedEvent, 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.NotifCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
NotifCustomFieldsUpdatedPayload.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.NotifCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const NotifCustomFieldsUpdatedEvent = new NotifCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class NotifCustomFieldsUpdatedRequest$Type extends MessageType<NotifCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.NotifCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => NotifCustomFieldsUpdatedPayload, options: { "validate.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<NotifCustomFieldsUpdatedRequest>): NotifCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<NotifCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotifCustomFieldsUpdatedRequest): NotifCustomFieldsUpdatedRequest {
|
||||
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.NotifCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = NotifCustomFieldsUpdatedPayload.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: NotifCustomFieldsUpdatedRequest, 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.NotifCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
NotifCustomFieldsUpdatedPayload.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.NotifCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const NotifCustomFieldsUpdatedRequest = new NotifCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class NotifCustomFieldsUpdatedResponse$Type extends MessageType<NotifCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.NotifCustomFieldsUpdatedResponse", [
|
||||
{ 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<NotifCustomFieldsUpdatedResponse>): NotifCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<NotifCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotifCustomFieldsUpdatedResponse): NotifCustomFieldsUpdatedResponse {
|
||||
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: NotifCustomFieldsUpdatedResponse, 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.NotifCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const NotifCustomFieldsUpdatedResponse = new NotifCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.NotifInputAPI
|
||||
*/
|
||||
export const NotifInputAPI = new ServiceType("api.NotifInputAPI", [
|
||||
{ name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Notification Inputs"], description: "A notification has been created." }, "api.rscType": "Project", "api.roles": "Platform.Project-Notication", "api.platformReserved": true, "google.api.method_visibility": { restriction: "SDK" } }, I: NotifCreatedRequest, O: NotifCreatedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Notification Inputs"], description: "A Notif has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: NotifSanitisedRequest, O: NotifSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Notification Inputs"], description: "A Notif has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: NotifSanitisedRequest, O: NotifSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: NotifCustomFieldsUpdatedRequest, O: NotifCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" });
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { OrderInputAPI } from "./orderInput";
|
||||
import type { OrderCustomFieldsUpdatedResponse } from "./orderInput";
|
||||
import type { OrderCustomFieldsUpdatedRequest } from "./orderInput";
|
||||
import type { OrderSanitisedResponse } from "./orderInput";
|
||||
import type { OrderSanitisedRequest } from "./orderInput";
|
||||
import type { OrderLinesDetectedResponse } from "./orderInput";
|
||||
@@ -128,6 +130,10 @@ export interface IOrderInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: OrderSanitisedRequest, options?: RpcOptions): UnaryCall<OrderSanitisedRequest, OrderSanitisedResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: OrderCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<OrderCustomFieldsUpdatedRequest, OrderCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
@@ -274,4 +280,11 @@ export class OrderInputAPIClient implements IOrderInputAPIClient, ServiceInfo {
|
||||
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<OrderSanitisedRequest, OrderSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: OrderCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<OrderCustomFieldsUpdatedRequest, OrderCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<OrderCustomFieldsUpdatedRequest, OrderCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
266
orderInput.ts
266
orderInput.ts
@@ -1328,6 +1328,58 @@ export interface OrderLinesDetectedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.OrderCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface OrderCustomFieldsUpdatedPayload {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.OrderCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface OrderCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.OrderCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: OrderCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.OrderCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface OrderCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.OrderCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: OrderCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.OrderCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface OrderCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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 OrderCreatedPayload$Type extends MessageType<OrderCreatedPayload> {
|
||||
constructor() {
|
||||
@@ -5606,6 +5658,217 @@ class OrderLinesDetectedResponse$Type extends MessageType<OrderLinesDetectedResp
|
||||
* @generated MessageType for protobuf message api.OrderLinesDetectedResponse
|
||||
*/
|
||||
export const OrderLinesDetectedResponse = new OrderLinesDetectedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class OrderCustomFieldsUpdatedPayload$Type extends MessageType<OrderCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.OrderCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<OrderCustomFieldsUpdatedPayload>): OrderCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<OrderCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OrderCustomFieldsUpdatedPayload): OrderCustomFieldsUpdatedPayload {
|
||||
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: OrderCustomFieldsUpdatedPayload, 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.OrderCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const OrderCustomFieldsUpdatedPayload = new OrderCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class OrderCustomFieldsUpdatedEvent$Type extends MessageType<OrderCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.OrderCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => OrderCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<OrderCustomFieldsUpdatedEvent>): OrderCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<OrderCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OrderCustomFieldsUpdatedEvent): OrderCustomFieldsUpdatedEvent {
|
||||
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.OrderCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = OrderCustomFieldsUpdatedPayload.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: OrderCustomFieldsUpdatedEvent, 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.OrderCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
OrderCustomFieldsUpdatedPayload.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.OrderCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const OrderCustomFieldsUpdatedEvent = new OrderCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class OrderCustomFieldsUpdatedRequest$Type extends MessageType<OrderCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.OrderCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => OrderCustomFieldsUpdatedPayload, options: { "validate.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<OrderCustomFieldsUpdatedRequest>): OrderCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<OrderCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OrderCustomFieldsUpdatedRequest): OrderCustomFieldsUpdatedRequest {
|
||||
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.OrderCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = OrderCustomFieldsUpdatedPayload.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: OrderCustomFieldsUpdatedRequest, 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.OrderCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
OrderCustomFieldsUpdatedPayload.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.OrderCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const OrderCustomFieldsUpdatedRequest = new OrderCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class OrderCustomFieldsUpdatedResponse$Type extends MessageType<OrderCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.OrderCustomFieldsUpdatedResponse", [
|
||||
{ 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<OrderCustomFieldsUpdatedResponse>): OrderCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<OrderCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OrderCustomFieldsUpdatedResponse): OrderCustomFieldsUpdatedResponse {
|
||||
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: OrderCustomFieldsUpdatedResponse, 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.OrderCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const OrderCustomFieldsUpdatedResponse = new OrderCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.OrderInputAPI
|
||||
*/
|
||||
@@ -5628,5 +5891,6 @@ export const OrderInputAPI = new ServiceType("api.OrderInputAPI", [
|
||||
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been deleted. This is called from Reflex Platform Admin service to share the Organisation Orders." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderDeletedRequest, O: OrderDeletedResponse },
|
||||
{ name: "LinesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Some lines are added for the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderLinesAddedRequest, O: OrderLinesAddedResponse },
|
||||
{ name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Adding lines in the Executionflow has been reported to an Order. This is called internally." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderLinesDetectedRequest, O: OrderLinesDetectedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderSanitisedRequest, O: OrderSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderSanitisedRequest, O: OrderSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderCustomFieldsUpdatedRequest, O: OrderCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-251118135424",
|
||||
"version": "1.12.0-SNAPSHOT-251118142524",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { PartnerInputAPI } from "./partnerInput";
|
||||
import type { PartnerCustomFieldsUpdatedResponse } from "./partnerInput";
|
||||
import type { PartnerCustomFieldsUpdatedRequest } from "./partnerInput";
|
||||
import type { PartnerSanitisedResponse } from "./partnerInput";
|
||||
import type { PartnerSanitisedRequest } from "./partnerInput";
|
||||
import type { PartnerAttachmentRemovedResponse } from "./partnerInput";
|
||||
@@ -17,68 +19,6 @@ import type { PartnerCreatedResponse } from "./partnerInput";
|
||||
import type { PartnerCreatedRequest } from "./partnerInput";
|
||||
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
||||
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
||||
//
|
||||
// ClaimAdded : this message tells that a claim is added for the Partner
|
||||
|
||||
//
|
||||
// message PartnerClaimAddedPayload
|
||||
// {
|
||||
// option (payload) = true;
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// repeated ClaimSummary Claims = 1
|
||||
// [
|
||||
// (aggKey) = "ClaimTypeID",
|
||||
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
// description: "Number of claims added per type"}
|
||||
// ];
|
||||
// }
|
||||
// message PartnerClaimAddedEvent
|
||||
// {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// option (preAggMethods) = "addClaim"; // Here are listed the pre aggregation methods to call before event message is aggregated
|
||||
// EventHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// PartnerClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message PartnerClaimAddedRequest {
|
||||
// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
|
||||
// json_schema: {
|
||||
// required: ["Header", "ID", "Payload"]
|
||||
// }
|
||||
// };
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Request";
|
||||
// RequestProjectHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// PartnerClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message PartnerClaimAddedResponse {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Response";
|
||||
// ResponseHeader Header = 1;
|
||||
// EntityID ID = 2;
|
||||
// }
|
||||
|
||||
/**
|
||||
*
|
||||
* API-server services
|
||||
@@ -106,69 +46,24 @@ export interface IPartnerInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: PartnerSanitisedRequest, options?: RpcOptions): UnaryCall<PartnerSanitisedRequest, PartnerSanitisedResponse>;
|
||||
/**
|
||||
*
|
||||
* rpc ClaimAdded (PartnerClaimAddedRequest) returns (PartnerClaimAddedResponse) {
|
||||
* option (rscType) = "Project";
|
||||
* option (roles) = "Platform.Project-Claim";
|
||||
* option (platformReserved) = true;
|
||||
* option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
* description: "A claim is added for the Partner."
|
||||
* summary: ""
|
||||
* tags: "Partner Inputs"
|
||||
* };
|
||||
* option (google.api.method_visibility).restriction = "INTERNAL";
|
||||
* };
|
||||
*
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: PartnerCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<PartnerCustomFieldsUpdatedRequest, PartnerCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
//
|
||||
// ClaimAdded : this message tells that a claim is added for the Partner
|
||||
|
||||
//
|
||||
// message PartnerClaimAddedPayload
|
||||
// {
|
||||
// option (payload) = true;
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// repeated ClaimSummary Claims = 1
|
||||
// [
|
||||
// (aggKey) = "ClaimTypeID",
|
||||
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
// description: "Number of claims added per type"}
|
||||
// ];
|
||||
// }
|
||||
// message PartnerClaimAddedEvent
|
||||
// {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// option (preAggMethods) = "addClaim"; // Here are listed the pre aggregation methods to call before event message is aggregated
|
||||
// EventHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// PartnerClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message PartnerClaimAddedRequest {
|
||||
// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
|
||||
// json_schema: {
|
||||
// required: ["Header", "ID", "Payload"]
|
||||
// }
|
||||
// };
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Request";
|
||||
// RequestProjectHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// PartnerClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message PartnerClaimAddedResponse {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Response";
|
||||
// ResponseHeader Header = 1;
|
||||
// EntityID ID = 2;
|
||||
// }
|
||||
|
||||
/**
|
||||
*
|
||||
* API-server services
|
||||
@@ -216,4 +111,24 @@ export class PartnerInputAPIClient implements IPartnerInputAPIClient, ServiceInf
|
||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<PartnerSanitisedRequest, PartnerSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* rpc ClaimAdded (PartnerClaimAddedRequest) returns (PartnerClaimAddedResponse) {
|
||||
* option (rscType) = "Project";
|
||||
* option (roles) = "Platform.Project-Claim";
|
||||
* option (platformReserved) = true;
|
||||
* option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
* description: "A claim is added for the Partner."
|
||||
* summary: ""
|
||||
* tags: "Partner Inputs"
|
||||
* };
|
||||
* option (google.api.method_visibility).restriction = "INTERNAL";
|
||||
* };
|
||||
*
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: PartnerCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<PartnerCustomFieldsUpdatedRequest, PartnerCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<PartnerCustomFieldsUpdatedRequest, PartnerCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
328
partnerInput.ts
328
partnerInput.ts
@@ -333,6 +333,120 @@ export interface PartnerSanitisedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
//
|
||||
// ClaimAdded : this message tells that a claim is added for the Partner
|
||||
|
||||
//
|
||||
// message PartnerClaimAddedPayload
|
||||
// {
|
||||
// option (payload) = true;
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// repeated ClaimSummary Claims = 1
|
||||
// [
|
||||
// (aggKey) = "ClaimTypeID",
|
||||
// (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
// description: "Number of claims added per type"}
|
||||
// ];
|
||||
// }
|
||||
// message PartnerClaimAddedEvent
|
||||
// {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Event";
|
||||
// option (preAggMethods) = "addClaim"; // Here are listed the pre aggregation methods to call before event message is aggregated
|
||||
// EventHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// PartnerClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message PartnerClaimAddedRequest {
|
||||
// option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
|
||||
// json_schema: {
|
||||
// required: ["Header", "ID", "Payload"]
|
||||
// }
|
||||
// };
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Request";
|
||||
// RequestProjectHeader Header = 1
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// EntityID ID = 2
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// PartnerClaimAddedPayload Payload = 3
|
||||
// [
|
||||
// (validate.rules).message.required = true
|
||||
// ];
|
||||
// }
|
||||
// message PartnerClaimAddedResponse {
|
||||
// option (inputEvent) = "ClaimAdded";
|
||||
// option (messageType) = "Response";
|
||||
// ResponseHeader Header = 1;
|
||||
// EntityID ID = 2;
|
||||
// }
|
||||
|
||||
/**
|
||||
* @generated from protobuf message api.PartnerCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface PartnerCustomFieldsUpdatedPayload {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.PartnerCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface PartnerCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.PartnerCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: PartnerCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.PartnerCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface PartnerCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.PartnerCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: PartnerCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.PartnerCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface PartnerCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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 PartnerCreatedPayload$Type extends MessageType<PartnerCreatedPayload> {
|
||||
constructor() {
|
||||
@@ -1446,6 +1560,217 @@ class PartnerSanitisedResponse$Type extends MessageType<PartnerSanitisedResponse
|
||||
* @generated MessageType for protobuf message api.PartnerSanitisedResponse
|
||||
*/
|
||||
export const PartnerSanitisedResponse = new PartnerSanitisedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class PartnerCustomFieldsUpdatedPayload$Type extends MessageType<PartnerCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.PartnerCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<PartnerCustomFieldsUpdatedPayload>): PartnerCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<PartnerCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PartnerCustomFieldsUpdatedPayload): PartnerCustomFieldsUpdatedPayload {
|
||||
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: PartnerCustomFieldsUpdatedPayload, 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.PartnerCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const PartnerCustomFieldsUpdatedPayload = new PartnerCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class PartnerCustomFieldsUpdatedEvent$Type extends MessageType<PartnerCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.PartnerCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => PartnerCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<PartnerCustomFieldsUpdatedEvent>): PartnerCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<PartnerCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PartnerCustomFieldsUpdatedEvent): PartnerCustomFieldsUpdatedEvent {
|
||||
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.PartnerCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = PartnerCustomFieldsUpdatedPayload.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: PartnerCustomFieldsUpdatedEvent, 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.PartnerCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
PartnerCustomFieldsUpdatedPayload.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.PartnerCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const PartnerCustomFieldsUpdatedEvent = new PartnerCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class PartnerCustomFieldsUpdatedRequest$Type extends MessageType<PartnerCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.PartnerCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => PartnerCustomFieldsUpdatedPayload, options: { "validate.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<PartnerCustomFieldsUpdatedRequest>): PartnerCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<PartnerCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PartnerCustomFieldsUpdatedRequest): PartnerCustomFieldsUpdatedRequest {
|
||||
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.PartnerCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = PartnerCustomFieldsUpdatedPayload.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: PartnerCustomFieldsUpdatedRequest, 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.PartnerCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
PartnerCustomFieldsUpdatedPayload.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.PartnerCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const PartnerCustomFieldsUpdatedRequest = new PartnerCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class PartnerCustomFieldsUpdatedResponse$Type extends MessageType<PartnerCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.PartnerCustomFieldsUpdatedResponse", [
|
||||
{ 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<PartnerCustomFieldsUpdatedResponse>): PartnerCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<PartnerCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PartnerCustomFieldsUpdatedResponse): PartnerCustomFieldsUpdatedResponse {
|
||||
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: PartnerCustomFieldsUpdatedResponse, 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.PartnerCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const PartnerCustomFieldsUpdatedResponse = new PartnerCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.PartnerInputAPI
|
||||
*/
|
||||
@@ -1454,5 +1779,6 @@ export const PartnerInputAPI = new ServiceType("api.PartnerInputAPI", [
|
||||
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An Partner has been deleted. This is called from Reflex Platform Admin service to share the Organisation partners." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerDeletedRequest, O: PartnerDeletedResponse },
|
||||
{ name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An attachment is added for the Partner." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PartnerAttachmentAddedRequest, O: PartnerAttachmentAddedResponse },
|
||||
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "An attachment is removed for the Partner." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PartnerAttachmentRemovedRequest, O: PartnerAttachmentRemovedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "A Partner has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PartnerSanitisedRequest, O: PartnerSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Partner Inputs"], description: "A Partner has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: PartnerSanitisedRequest, O: PartnerSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: PartnerCustomFieldsUpdatedRequest, O: PartnerCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { StockInputAPI } from "./stockInput";
|
||||
import type { StockCustomFieldsUpdatedResponse } from "./stockInput";
|
||||
import type { StockCustomFieldsUpdatedRequest } from "./stockInput";
|
||||
import type { StockSanitisedResponse } from "./stockInput";
|
||||
import type { StockSanitisedRequest } from "./stockInput";
|
||||
import type { StockDeletedResponse } from "./stockInput";
|
||||
@@ -39,6 +41,10 @@ export interface IStockInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: StockSanitisedRequest, options?: RpcOptions): UnaryCall<StockSanitisedRequest, StockSanitisedResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: StockCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<StockCustomFieldsUpdatedRequest, StockCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
@@ -81,4 +87,11 @@ export class StockInputAPIClient implements IStockInputAPIClient, ServiceInfo {
|
||||
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StockSanitisedRequest, StockSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: StockCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<StockCustomFieldsUpdatedRequest, StockCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StockCustomFieldsUpdatedRequest, StockCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
266
stockInput.ts
266
stockInput.ts
@@ -334,6 +334,58 @@ export interface StockSanitisedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StockCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface StockCustomFieldsUpdatedPayload {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StockCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface StockCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.StockCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: StockCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StockCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface StockCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.StockCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: StockCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StockCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface StockCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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 StockMovedPayload$Type extends MessageType<StockMovedPayload> {
|
||||
constructor() {
|
||||
@@ -1261,6 +1313,217 @@ class StockSanitisedResponse$Type extends MessageType<StockSanitisedResponse> {
|
||||
* @generated MessageType for protobuf message api.StockSanitisedResponse
|
||||
*/
|
||||
export const StockSanitisedResponse = new StockSanitisedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class StockCustomFieldsUpdatedPayload$Type extends MessageType<StockCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.StockCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<StockCustomFieldsUpdatedPayload>): StockCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StockCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StockCustomFieldsUpdatedPayload): StockCustomFieldsUpdatedPayload {
|
||||
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: StockCustomFieldsUpdatedPayload, 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.StockCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const StockCustomFieldsUpdatedPayload = new StockCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class StockCustomFieldsUpdatedEvent$Type extends MessageType<StockCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.StockCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<StockCustomFieldsUpdatedEvent>): StockCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StockCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StockCustomFieldsUpdatedEvent): StockCustomFieldsUpdatedEvent {
|
||||
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.StockCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = StockCustomFieldsUpdatedPayload.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: StockCustomFieldsUpdatedEvent, 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.StockCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
StockCustomFieldsUpdatedPayload.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.StockCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const StockCustomFieldsUpdatedEvent = new StockCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class StockCustomFieldsUpdatedRequest$Type extends MessageType<StockCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.StockCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockCustomFieldsUpdatedPayload, options: { "validate.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<StockCustomFieldsUpdatedRequest>): StockCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StockCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StockCustomFieldsUpdatedRequest): StockCustomFieldsUpdatedRequest {
|
||||
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.StockCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = StockCustomFieldsUpdatedPayload.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: StockCustomFieldsUpdatedRequest, 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.StockCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
StockCustomFieldsUpdatedPayload.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.StockCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const StockCustomFieldsUpdatedRequest = new StockCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class StockCustomFieldsUpdatedResponse$Type extends MessageType<StockCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.StockCustomFieldsUpdatedResponse", [
|
||||
{ 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<StockCustomFieldsUpdatedResponse>): StockCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StockCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StockCustomFieldsUpdatedResponse): StockCustomFieldsUpdatedResponse {
|
||||
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: StockCustomFieldsUpdatedResponse, 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.StockCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const StockCustomFieldsUpdatedResponse = new StockCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.StockInputAPI
|
||||
*/
|
||||
@@ -1268,5 +1531,6 @@ export const StockInputAPI = new ServiceType("api.StockInputAPI", [
|
||||
{ name: "Moved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "A stock has been moved. Called internally from Movement entity." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StockMovedRequest, O: StockMovedResponse },
|
||||
{ name: "Snapshotted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "A stock image (snapshot) has been sent. This is typically called from a WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: StockSnapshottedRequest, O: StockSnapshottedResponse },
|
||||
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "Deprecated from 1.8. A stock entry has been deleted. This is typically called from a WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: StockDeletedRequest, O: StockDeletedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "A Stock has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StockSanitisedRequest, O: StockSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Stock Inputs"], description: "A Stock has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StockSanitisedRequest, O: StockSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: StockCustomFieldsUpdatedRequest, O: StockCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { TrackingInputAPI } from "./trackingInput";
|
||||
import type { TrackingCustomFieldsUpdatedResponse } from "./trackingInput";
|
||||
import type { TrackingCustomFieldsUpdatedRequest } from "./trackingInput";
|
||||
import type { TrackingSanitisedResponse } from "./trackingInput";
|
||||
import type { TrackingSanitisedRequest } from "./trackingInput";
|
||||
import type { TrackingURLUpdatedResponse } from "./trackingInput";
|
||||
@@ -75,6 +77,10 @@ export interface ITrackingInputAPIClient {
|
||||
* @generated from protobuf rpc: Sanitised
|
||||
*/
|
||||
sanitised(input: TrackingSanitisedRequest, options?: RpcOptions): UnaryCall<TrackingSanitisedRequest, TrackingSanitisedResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: TrackingCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<TrackingCustomFieldsUpdatedRequest, TrackingCustomFieldsUpdatedResponse>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
@@ -159,4 +165,11 @@ export class TrackingInputAPIClient implements ITrackingInputAPIClient, ServiceI
|
||||
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<TrackingSanitisedRequest, TrackingSanitisedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CustomFieldsUpdated
|
||||
*/
|
||||
customFieldsUpdated(input: TrackingCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<TrackingCustomFieldsUpdatedRequest, TrackingCustomFieldsUpdatedResponse> {
|
||||
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<TrackingCustomFieldsUpdatedRequest, TrackingCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
266
trackingInput.ts
266
trackingInput.ts
@@ -696,6 +696,58 @@ export interface TrackingSanitisedResponse {
|
||||
*/
|
||||
ID?: EntityID;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.TrackingCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export interface TrackingCustomFieldsUpdatedPayload {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.TrackingCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export interface TrackingCustomFieldsUpdatedEvent {
|
||||
/**
|
||||
* @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.TrackingCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: TrackingCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.TrackingCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export interface TrackingCustomFieldsUpdatedRequest {
|
||||
/**
|
||||
* @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.TrackingCustomFieldsUpdatedPayload Payload = 3
|
||||
*/
|
||||
Payload?: TrackingCustomFieldsUpdatedPayload;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.TrackingCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export interface TrackingCustomFieldsUpdatedResponse {
|
||||
/**
|
||||
* @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 TrackingNotifiedPayload$Type extends MessageType<TrackingNotifiedPayload> {
|
||||
constructor() {
|
||||
@@ -2971,6 +3023,217 @@ class TrackingSanitisedResponse$Type extends MessageType<TrackingSanitisedRespon
|
||||
* @generated MessageType for protobuf message api.TrackingSanitisedResponse
|
||||
*/
|
||||
export const TrackingSanitisedResponse = new TrackingSanitisedResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class TrackingCustomFieldsUpdatedPayload$Type extends MessageType<TrackingCustomFieldsUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.TrackingCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<TrackingCustomFieldsUpdatedPayload>): TrackingCustomFieldsUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<TrackingCustomFieldsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrackingCustomFieldsUpdatedPayload): TrackingCustomFieldsUpdatedPayload {
|
||||
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: TrackingCustomFieldsUpdatedPayload, 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.TrackingCustomFieldsUpdatedPayload
|
||||
*/
|
||||
export const TrackingCustomFieldsUpdatedPayload = new TrackingCustomFieldsUpdatedPayload$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class TrackingCustomFieldsUpdatedEvent$Type extends MessageType<TrackingCustomFieldsUpdatedEvent> {
|
||||
constructor() {
|
||||
super("api.TrackingCustomFieldsUpdatedEvent", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => TrackingCustomFieldsUpdatedPayload, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<TrackingCustomFieldsUpdatedEvent>): TrackingCustomFieldsUpdatedEvent {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<TrackingCustomFieldsUpdatedEvent>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrackingCustomFieldsUpdatedEvent): TrackingCustomFieldsUpdatedEvent {
|
||||
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.TrackingCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = TrackingCustomFieldsUpdatedPayload.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: TrackingCustomFieldsUpdatedEvent, 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.TrackingCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
TrackingCustomFieldsUpdatedPayload.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.TrackingCustomFieldsUpdatedEvent
|
||||
*/
|
||||
export const TrackingCustomFieldsUpdatedEvent = new TrackingCustomFieldsUpdatedEvent$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class TrackingCustomFieldsUpdatedRequest$Type extends MessageType<TrackingCustomFieldsUpdatedRequest> {
|
||||
constructor() {
|
||||
super("api.TrackingCustomFieldsUpdatedRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => TrackingCustomFieldsUpdatedPayload, options: { "validate.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<TrackingCustomFieldsUpdatedRequest>): TrackingCustomFieldsUpdatedRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<TrackingCustomFieldsUpdatedRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrackingCustomFieldsUpdatedRequest): TrackingCustomFieldsUpdatedRequest {
|
||||
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.TrackingCustomFieldsUpdatedPayload Payload */ 3:
|
||||
message.Payload = TrackingCustomFieldsUpdatedPayload.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: TrackingCustomFieldsUpdatedRequest, 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.TrackingCustomFieldsUpdatedPayload Payload = 3; */
|
||||
if (message.Payload)
|
||||
TrackingCustomFieldsUpdatedPayload.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.TrackingCustomFieldsUpdatedRequest
|
||||
*/
|
||||
export const TrackingCustomFieldsUpdatedRequest = new TrackingCustomFieldsUpdatedRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class TrackingCustomFieldsUpdatedResponse$Type extends MessageType<TrackingCustomFieldsUpdatedResponse> {
|
||||
constructor() {
|
||||
super("api.TrackingCustomFieldsUpdatedResponse", [
|
||||
{ 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<TrackingCustomFieldsUpdatedResponse>): TrackingCustomFieldsUpdatedResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<TrackingCustomFieldsUpdatedResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrackingCustomFieldsUpdatedResponse): TrackingCustomFieldsUpdatedResponse {
|
||||
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: TrackingCustomFieldsUpdatedResponse, 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.TrackingCustomFieldsUpdatedResponse
|
||||
*/
|
||||
export const TrackingCustomFieldsUpdatedResponse = new TrackingCustomFieldsUpdatedResponse$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.TrackingInputAPI
|
||||
*/
|
||||
@@ -2984,5 +3247,6 @@ export const TrackingInputAPI = new ServiceType("api.TrackingInputAPI", [
|
||||
{ name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "An attachment is removed for the Tracking." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: TrackingAttachmentRemovedRequest, O: TrackingAttachmentRemovedResponse },
|
||||
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "An Tracking has been deleted. This is called from Reflex Platform Admin service to share the Organisation Trackings." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingDeletedRequest, O: TrackingDeletedResponse },
|
||||
{ name: "URLUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "The tracking URL has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingURLUpdatedRequest, O: TrackingURLUpdatedResponse },
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A Tracking has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: TrackingSanitisedRequest, O: TrackingSanitisedResponse }
|
||||
{ name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Tracking Inputs"], description: "A Tracking has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: TrackingSanitisedRequest, O: TrackingSanitisedResponse },
|
||||
{ name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: TrackingCustomFieldsUpdatedRequest, O: TrackingCustomFieldsUpdatedResponse }
|
||||
], { "api.serviceType": "Api", "api.k8sService": "api-server" });
|
||||
|
||||
Reference in New Issue
Block a user