Latest generation

This commit is contained in:
ci core model
2025-08-19 08:32:31 +00:00
parent b5f4e58159
commit d7e4bc1594
88 changed files with 1012 additions and 1012 deletions

View File

@@ -413,9 +413,9 @@ export const StockMovedEvent = new StockMovedEvent$Type();
class StockMovedRequest$Type extends MessageType<StockMovedRequest> {
constructor() {
super("api.StockMovedRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" }, "validate.rules": { message: { required: true } } } },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" } } },
{ no: 4, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => NoID },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockMovedPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" }, "validate.rules": { message: { required: true } } } }
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockMovedPayload, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Moved" });
}
create(value?: PartialMessage<StockMovedRequest>): StockMovedRequest {
@@ -526,10 +526,10 @@ export const StockMovedResponse = new StockMovedResponse$Type();
class StockSnapshottedPayload$Type extends MessageType<StockSnapshottedPayload> {
constructor() {
super("api.StockSnapshottedPayload", [
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" }, "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "validate.rules": { string: { minLen: "1" } }, "api.entityRef": "Actor" } },
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" } } },
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "api.entityRef": "Actor" } },
{ no: 7, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
{ no: 8, name: "Snapshot", kind: "message", localName: "Snapshot", jsonName: "Snapshot", T: () => StockSnapshot, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the snapshot" }, "validate.rules": { message: { required: true } } } }
{ no: 8, name: "Snapshot", kind: "message", localName: "Snapshot", jsonName: "Snapshot", T: () => StockSnapshot, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the snapshot" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "The measured stock quantity at the given date time", required: ["Goods", "ActorID", "Snapshot"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Snapshotted", "api.postAggMethods": "computeSnapshotQuantity,quantityByBranchLVs", "api.preAggMethods": "cumulateSnapshotQuantity", "api.idGenMethod": "genStockSnapshottedId" });
}
create(value?: PartialMessage<StockSnapshottedPayload>): StockSnapshottedPayload {
@@ -654,9 +654,9 @@ export const StockSnapshottedEvent = new StockSnapshottedEvent$Type();
class StockSnapshottedRequest$Type extends MessageType<StockSnapshottedRequest> {
constructor() {
super("api.StockSnapshottedRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" }, "validate.rules": { message: { required: true } } } },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" } } },
{ no: 4, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => NoID },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockSnapshottedPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" }, "validate.rules": { message: { required: true } } } }
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockSnapshottedPayload, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Snapshotted" });
}
create(value?: PartialMessage<StockSnapshottedRequest>): StockSnapshottedRequest {
@@ -767,8 +767,8 @@ export const StockSnapshottedResponse = new StockSnapshottedResponse$Type();
class StockDeletedPayload$Type extends MessageType<StockDeletedPayload> {
constructor() {
super("api.StockDeletedPayload", [
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" }, "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "validate.rules": { string: { minLen: "1" } }, "api.entityRef": "Actor" } },
{ no: 1, name: "Goods", kind: "message", localName: "Goods", jsonName: "Goods", T: () => EnrichedGoods, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Description of the goods" } } },
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the actor where the stock is located" }, "api.entityRef": "Actor" } },
{ no: 7, name: "Actor", kind: "message", localName: "Actor", jsonName: "Actor", T: () => ActorPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "The stock entry has been deleted", required: ["Goods", "ActorID"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Deleted", "api.preAggMethods": "checkEmptyStock", "api.idGenMethod": "genStockDeletedId" });
}
@@ -888,9 +888,9 @@ export const StockDeletedEvent = new StockDeletedEvent$Type();
class StockDeletedRequest$Type extends MessageType<StockDeletedRequest> {
constructor() {
super("api.StockDeletedRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" }, "validate.rules": { message: { required: true } } } },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Header of the event request" } } },
{ no: 4, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => NoID },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockDeletedPayload, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" }, "validate.rules": { message: { required: true } } } }
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => StockDeletedPayload, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the event request" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Deleted" });
}
create(value?: PartialMessage<StockDeletedRequest>): StockDeletedRequest {
@@ -1001,7 +1001,7 @@ export const StockDeletedResponse = new StockDeletedResponse$Type();
* @generated ServiceType for protobuf service api.StockInputAPI
*/
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." }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input" }, 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." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input" }, 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." }, "google.api.method_visibility": { restriction: "PUBLIC" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input" }, I: StockDeletedRequest, O: StockDeletedResponse }
{ 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 }
], { "api.serviceType": "Api", "api.k8sService": "api-server" });