Latest generation

This commit is contained in:
ci core model
2025-05-05 09:13:40 +00:00
parent c82118c2e0
commit bb9a0a8938
89 changed files with 993 additions and 981 deletions

View File

@@ -562,12 +562,12 @@ export interface ItemAttachmentRemovedResponse {
class ItemCreatedPayload$Type extends MessageType<ItemCreatedPayload> {
constructor() {
super("api.ItemCreatedPayload", [
{ no: 1, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } },
{ no: 1, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "api.metadata": true, "api.aggKey": "Key", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" } } },
{ no: 6, name: "ExpiryConstraint", kind: "message", localName: "ExpiryConstraint", jsonName: "ExpiryConstraint", T: () => ExpiryConstraint, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Item components" } } },
{ no: 7, name: "PhotoURI", kind: "scalar", localName: "PhotoURI", jsonName: "PhotoURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"https://reflex-visibility-forever.jpg\"" }, "api.viewType": { Types: [{ Context: "*", Type: "image" }] } } },
{ no: 7, name: "PhotoURI", kind: "scalar", localName: "PhotoURI", jsonName: "PhotoURI", T: 9 /*ScalarType.STRING*/, options: { "api.viewType": { Types: [{ Context: "*", Type: "image" }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"https://reflex-visibility-forever.jpg\"" } } },
{ no: 3, name: "DescriptionsByLanguage", kind: "message", localName: "DescriptionsByLanguage", jsonName: "DescriptionsByLanguage", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TradeItemDescriptions, options: { "api.language": true, "api.aggKey": "LanguageCodeISO6391" } },
{ no: 4, name: "LogisticVariants", kind: "message", localName: "LogisticVariants", jsonName: "LogisticVariants", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LogisticVariant, options: { "validate.rules": { repeated: { uniqueBaseLV: true, knownRefLV: true } }, "api.aggKey": "LVID" } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
{ no: 4, name: "LogisticVariants", kind: "message", localName: "LogisticVariants", jsonName: "LogisticVariants", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LogisticVariant, options: { "api.aggKey": "LVID", "validate.rules": { repeated: { uniqueBaseLV: true, knownRefLV: true } } } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } } });
}
create(value?: PartialMessage<ItemCreatedPayload>): ItemCreatedPayload {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -703,7 +703,7 @@ class ItemCreatedRequest$Type extends MessageType<ItemCreatedRequest> {
{ 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: () => ItemCreatedPayload, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Created" });
], { "api.messageType": "Request", "api.inputEvent": "Created", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } } });
}
create(value?: PartialMessage<ItemCreatedRequest>): ItemCreatedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -813,7 +813,7 @@ export const ItemCreatedResponse = new ItemCreatedResponse$Type();
class ItemMetaDataUpdatedPayload$Type extends MessageType<ItemMetaDataUpdatedPayload> {
constructor() {
super("api.ItemMetaDataUpdatedPayload", [
{ no: 4, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }
{ no: 4, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "api.metadata": true, "api.aggKey": "Key", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" } } }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "MetaDataUpdated" });
}
create(value?: PartialMessage<ItemMetaDataUpdatedPayload>): ItemMetaDataUpdatedPayload {
@@ -923,7 +923,7 @@ class ItemMetaDataUpdatedRequest$Type extends MessageType<ItemMetaDataUpdatedReq
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ItemMetaDataUpdatedPayload }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "MetaDataUpdated" });
], { "api.messageType": "Request", "api.inputEvent": "MetaDataUpdated", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } } });
}
create(value?: PartialMessage<ItemMetaDataUpdatedRequest>): ItemMetaDataUpdatedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -1143,7 +1143,7 @@ class ItemLogisticVariantUpdatedRequest$Type extends MessageType<ItemLogisticVar
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ItemLogisticVariantUpdatedPayload }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "LogisticVariantUpdated" });
], { "api.messageType": "Request", "api.inputEvent": "LogisticVariantUpdated", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } } });
}
create(value?: PartialMessage<ItemLogisticVariantUpdatedRequest>): ItemLogisticVariantUpdatedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -1363,7 +1363,7 @@ class ItemLogisticVariantRemovedRequest$Type extends MessageType<ItemLogisticVar
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ItemLogisticVariantRemovedPayload }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "LogisticVariantRemoved" });
], { "api.messageType": "Request", "api.inputEvent": "LogisticVariantRemoved", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } } });
}
create(value?: PartialMessage<ItemLogisticVariantRemovedRequest>): ItemLogisticVariantRemovedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -1574,7 +1574,7 @@ class ItemDeletedRequest$Type extends MessageType<ItemDeletedRequest> {
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ItemDeletedPayload }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Deleted" });
], { "api.messageType": "Request", "api.inputEvent": "Deleted", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } } });
}
create(value?: PartialMessage<ItemDeletedRequest>): ItemDeletedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -1794,7 +1794,7 @@ class ItemDescriptionUpdatedRequest$Type extends MessageType<ItemDescriptionUpda
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ItemDescriptionUpdatedPayload }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "DescriptionUpdated" });
], { "api.messageType": "Request", "api.inputEvent": "DescriptionUpdated", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } } });
}
create(value?: PartialMessage<ItemDescriptionUpdatedRequest>): ItemDescriptionUpdatedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -2014,7 +2014,7 @@ class ItemAttachmentAddedRequest$Type extends MessageType<ItemAttachmentAddedReq
{ 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: () => ItemAttachmentAddedPayload, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AttachmentAdded" });
], { "api.messageType": "Request", "api.inputEvent": "AttachmentAdded", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } } });
}
create(value?: PartialMessage<ItemAttachmentAddedRequest>): ItemAttachmentAddedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -2234,7 +2234,7 @@ class ItemAttachmentRemovedRequest$Type extends MessageType<ItemAttachmentRemove
{ 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: () => ItemAttachmentRemovedPayload, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AttachmentRemoved" });
], { "api.messageType": "Request", "api.inputEvent": "AttachmentRemoved", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } } });
}
create(value?: PartialMessage<ItemAttachmentRemovedRequest>): ItemAttachmentRemovedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
@@ -2344,12 +2344,12 @@ export const ItemAttachmentRemovedResponse = new ItemAttachmentRemovedResponse$T
* @generated ServiceType for protobuf service api.ItemInputAPI
*/
export const ItemInputAPI = new ServiceType("api.ItemInputAPI", [
{ name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An item has been created. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemCreatedRequest, O: ItemCreatedResponse },
{ name: "LogisticVariantUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some logistic variants 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: ItemLogisticVariantUpdatedRequest, O: ItemLogisticVariantUpdatedResponse },
{ name: "LogisticVariantRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some logistic variants have been removed 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: ItemLogisticVariantRemovedRequest, O: ItemLogisticVariantRemovedResponse },
{ name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some metadata 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: ItemMetaDataUpdatedRequest, O: ItemMetaDataUpdatedResponse },
{ name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An item has been deleted. This is typically called from ERP or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemDeletedRequest, O: ItemDeletedResponse },
{ 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: "Created", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Input", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An item has been created. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemCreatedRequest, O: ItemCreatedResponse },
{ name: "LogisticVariantUpdated", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Input", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some logistic variants have been updated on an item. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemLogisticVariantUpdatedRequest, O: ItemLogisticVariantUpdatedResponse },
{ name: "LogisticVariantRemoved", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Input", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some logistic variants have been removed on an item. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemLogisticVariantRemovedRequest, O: ItemLogisticVariantRemovedResponse },
{ name: "MetaDataUpdated", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Input", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "Some metadata have been updated on an item. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemMetaDataUpdatedRequest, O: ItemMetaDataUpdatedResponse },
{ name: "Deleted", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Input", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An item has been deleted. This is typically called from ERP or WMS." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemDeletedRequest, O: ItemDeletedResponse },
{ name: "DescriptionUpdated", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Input", "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." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ItemDescriptionUpdatedRequest, O: ItemDescriptionUpdatedResponse },
{ name: "AttachmentAdded", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An attachment is added for the Item." }, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ItemAttachmentAddedRequest, O: ItemAttachmentAddedResponse },
{ name: "AttachmentRemoved", options: { "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Item Inputs"], description: "An attachment is removed for the Item." }, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ItemAttachmentRemovedRequest, O: ItemAttachmentRemovedResponse }
], { "api.serviceType": "Api", "api.k8sService": "api-server" });