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

@@ -288,7 +288,7 @@ class TrackingStatus$Type extends MessageType<TrackingStatus> {
constructor() {
super("api.TrackingStatus", [
{ no: 1, name: "StatusCode", kind: "enum", localName: "StatusCode", jsonName: "StatusCode", T: () => ["api.TrackingStatusCode", TrackingStatusCode], options: { "api.dataRestrictionKey": "Tracking", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.kpiItems": { Items: [{ Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
{ no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", 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.kpiItems": { Items: [{ Context: "Tracking", Group: "tracking", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
{ no: 2, name: "Date", kind: "scalar", localName: "Date", jsonName: "Date", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Tracking", Group: "tracking", 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" } } },
{ no: 3, name: "ActualDate", kind: "message", localName: "ActualDate", jsonName: "ActualDate", T: () => DateTime, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status effective date. Set by the event's RefDate that triggered the status change." } } }
]);
}
@@ -411,9 +411,9 @@ export const TrackingStatusStruct = new TrackingStatusStruct$Type();
class TrackingSummary$Type extends MessageType<TrackingSummary> {
constructor() {
super("api.TrackingSummary", [
{ no: 1, name: "TrackingID", kind: "scalar", localName: "TrackingID", jsonName: "TrackingID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.dataRestrictionKey": "Handlingunit", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 1, name: "TrackingID", kind: "scalar", localName: "TrackingID", jsonName: "TrackingID", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Handlingunit", "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Handlingunit", Group: "handlingunit", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => TrackingStatus, options: { "api.kpiExclude": { Items: [{ Context: "Handlingunit", Group: "handlingunit" }] } } },
{ no: 3, name: "TrackedHandlingunitID", kind: "scalar", localName: "TrackedHandlingunitID", jsonName: "TrackedHandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 3, name: "TrackedHandlingunitID", kind: "scalar", localName: "TrackedHandlingunitID", jsonName: "TrackedHandlingunitID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "TrackingURL", kind: "scalar", localName: "TrackingURL", jsonName: "TrackingURL", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "NextTrackingID", kind: "scalar", localName: "NextTrackingID", jsonName: "NextTrackingID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
{ no: 6, name: "Location", kind: "message", localName: "Location", jsonName: "Location", T: () => GeographicalCoordinates },
@@ -534,7 +534,7 @@ class TrackingEvent$Type extends MessageType<TrackingEvent> {
constructor() {
super("api.TrackingEvent", [
{ no: 1, name: "Date", kind: "message", localName: "Date", jsonName: "Date", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Code", kind: "enum", localName: "Code", jsonName: "Code", T: () => ["api.TrackingEventCode", TrackingEventCode], options: { "validate.rules": { enum: { definedOnly: true } }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } },
{ no: 2, name: "Code", kind: "enum", localName: "Code", jsonName: "Code", T: () => ["api.TrackingEventCode", TrackingEventCode], options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] }, "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "Location", kind: "message", localName: "Location", jsonName: "Location", T: () => GeographicalCoordinates },
{ no: 4, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "PlusCode", kind: "scalar", localName: "PlusCode", jsonName: "PlusCode", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText" }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortText" }] } } }