Latest generation

This commit is contained in:
ci core model
2025-08-04 12:36:44 +00:00
parent 16b397a6e6
commit 9eb9fad127
89 changed files with 1089 additions and 1089 deletions

View File

@@ -3808,7 +3808,7 @@ class EventHeader$Type extends MessageType<EventHeader> {
{ no: 2, name: "EventTS", kind: "message", localName: "EventTS", jsonName: "EventTS", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "Site", kind: "scalar", localName: "Site", jsonName: "Site", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Author", kind: "scalar", localName: "Author", jsonName: "Author", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
{ no: 4, name: "Author", kind: "scalar", localName: "Author", jsonName: "Author", T: 9 /*ScalarType.STRING*/, options: { "api.viewType": { Types: [{ Context: "*", Type: "user" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 5, name: "EventID", kind: "scalar", localName: "EventID", jsonName: "EventID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 6, name: "CreatedBy", kind: "scalar", localName: "CreatedBy", jsonName: "CreatedBy", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
{ no: 7, name: "Version", kind: "scalar", localName: "Version", jsonName: "Version", T: 13 /*ScalarType.UINT32*/ }
@@ -4150,7 +4150,7 @@ export const GenericObjectPayload = new GenericObjectPayload$Type();
class DateTime$Type extends MessageType<DateTime> {
constructor() {
super("api.DateTime", [
{ no: 1, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format", example: "\"2023-01-01T00:00:00Z\"" }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Item", Group: "item", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
{ no: 1, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Item", Group: "item", Queryable: true }, { Context: "Movement", Group: "movement", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Stock", Group: "stock", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,DateTime)" }, { Context: "Tracking", Group: "tracking", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] }, "validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format", example: "\"2023-01-01T00:00:00Z\"" } } },
{ no: 2, name: "AuthorTimeZone", kind: "scalar", localName: "AuthorTimeZone", jsonName: "AuthorTimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Time zone from where the author emits the event in this <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } }
]);
}
@@ -4296,7 +4296,7 @@ class Amount$Type extends MessageType<Amount> {
constructor() {
super("api.Amount", [
{ no: 1, name: "Value", kind: "scalar", localName: "Value", jsonName: "Value", T: 2 /*ScalarType.FLOAT*/, options: { "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } },
{ no: 2, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } }
{ no: 2, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" } } }
]);
}
create(value?: PartialMessage<Amount>): Amount {
@@ -5565,9 +5565,9 @@ export const ParamElement = new ParamElement$Type();
class LabelStructure$Type extends MessageType<LabelStructure> {
constructor() {
super("api.LabelStructure", [
{ no: 1, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the message" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
{ no: 1, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the message" } } },
{ no: 2, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Label of the message" } } },
{ no: 3, name: "Params", kind: "message", localName: "Params", jsonName: "Params", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ParamElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Parameters for label" }, "api.aggKey": "Key" } }
{ no: 3, name: "Params", kind: "message", localName: "Params", jsonName: "Params", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ParamElement, options: { "api.aggKey": "Key", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Parameters for label" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Code", "Label"] } } });
}
create(value?: PartialMessage<LabelStructure>): LabelStructure {
@@ -6203,7 +6203,7 @@ export const StringObject = new StringObject$Type();
class StringDateObject$Type extends MessageType<StringDateObject> {
constructor() {
super("api.StringDateObject", [
{ no: 10, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } }
{ no: 10, name: "DateTime", kind: "scalar", localName: "DateTime", jsonName: "DateTime", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] }, "validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" } } }
]);
}
create(value?: PartialMessage<StringDateObject>): StringDateObject {
@@ -6748,8 +6748,8 @@ export const ClaimTypeClosure = new ClaimTypeClosure$Type();
class ClaimClosure$Type extends MessageType<ClaimClosure> {
constructor() {
super("api.ClaimClosure", [
{ no: 1, name: "Responsible", kind: "scalar", localName: "Responsible", jsonName: "Responsible", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } },
{ no: 2, name: "Cause", kind: "scalar", localName: "Cause", jsonName: "Cause", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } }
{ no: 1, name: "Responsible", kind: "scalar", localName: "Responsible", jsonName: "Responsible", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Cause", kind: "scalar", localName: "Cause", jsonName: "Cause", T: 9 /*ScalarType.STRING*/, options: { "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "validate.rules": { string: { minLen: "1" } } } }
]);
}
create(value?: PartialMessage<ClaimClosure>): ClaimClosure {
@@ -6803,7 +6803,7 @@ export const ClaimClosure = new ClaimClosure$Type();
class ClaimSummary$Type extends MessageType<ClaimSummary> {
constructor() {
super("api.ClaimSummary", [
{ no: 1, name: "ClaimTypeID", kind: "scalar", localName: "ClaimTypeID", jsonName: "ClaimTypeID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the claim type" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 1, name: "ClaimTypeID", kind: "scalar", localName: "ClaimTypeID", jsonName: "ClaimTypeID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the claim type" } } },
{ no: 2, name: "ClaimTypeReason", kind: "scalar", localName: "ClaimTypeReason", jsonName: "ClaimTypeReason", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Reason of the claim type" } } },
{ no: 3, name: "Number", kind: "scalar", localName: "Number", jsonName: "Number", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims with this type" } } }
]);
@@ -6961,8 +6961,8 @@ export const AttachmentType = new AttachmentType$Type();
class AttachmentSummary$Type extends MessageType<AttachmentSummary> {
constructor() {
super("api.AttachmentSummary", [
{ no: 1, name: "AttachmentTypeID", kind: "scalar", localName: "AttachmentTypeID", jsonName: "AttachmentTypeID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the attachment type" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 2, name: "AttachmentTypeCode", kind: "scalar", localName: "AttachmentTypeCode", jsonName: "AttachmentTypeCode", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the attachment type" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
{ no: 1, name: "AttachmentTypeID", kind: "scalar", localName: "AttachmentTypeID", jsonName: "AttachmentTypeID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ID of the attachment type" } } },
{ no: 2, name: "AttachmentTypeCode", kind: "scalar", localName: "AttachmentTypeCode", jsonName: "AttachmentTypeCode", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] }, "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Code of the attachment type" } } },
{ no: 3, name: "Number", kind: "scalar", localName: "Number", jsonName: "Number", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments with this type" } } }
]);
}