You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -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" });
|
||||
|
||||
Reference in New Issue
Block a user