Latest generation

This commit is contained in:
ci core model
2026-02-13 09:24:43 +00:00
parent 83a2e6f627
commit 7ccd365b89
18 changed files with 3715 additions and 413 deletions

View File

@@ -102,24 +102,31 @@ class Appointment extends $pb.GeneratedMessage {
class AppointmentPayload extends $pb.GeneratedMessage {
factory AppointmentPayload({
$1.AppointmentType? appointmentType,
@$core.Deprecated('This field is deprecated.')
$core.Iterable<$1.AppointmentCommission>? commissions,
$core.Iterable<$1.SegmentationSelection>? segmentationSelections,
$1.Slot? slot,
@$core.Deprecated('This field is deprecated.')
$core.Iterable<$core.String>? emails,
$2.AppointmentStatusStruct? status,
$core.String? creationDate,
$core.Iterable<$0.MetadataElement>? metaData,
$core.Iterable<$0.AttachmentSummary>? attachments,
$core.int? attachmentNumber,
@$core.Deprecated('This field is deprecated.')
$core.Iterable<$core.String>? removedEmails,
$core.String? reason,
$core.bool? instructionAck,
$core.Iterable<$0.MetadataElement>? carrierInformation,
@$core.Deprecated('This field is deprecated.')
$core.String? actorID,
$3.Address? address,
$core.String? siteName,
$core.Iterable<$1.QuantityByUnit>? totalQuantities,
$core.String? timeZone,
$1.AppointmentContent? loading,
$1.AppointmentContent? unloading,
$core.Iterable<$core.String>? attendees,
$core.Iterable<$core.String>? removedAttendees,
}) {
final result = create();
if (appointmentType != null) result.appointmentType = appointmentType;
@@ -139,8 +146,11 @@ class AppointmentPayload extends $pb.GeneratedMessage {
if (actorID != null) result.actorID = actorID;
if (address != null) result.address = address;
if (siteName != null) result.siteName = siteName;
if (totalQuantities != null) result.totalQuantities.addAll(totalQuantities);
if (timeZone != null) result.timeZone = timeZone;
if (loading != null) result.loading = loading;
if (unloading != null) result.unloading = unloading;
if (attendees != null) result.attendees.addAll(attendees);
if (removedAttendees != null) result.removedAttendees.addAll(removedAttendees);
return result;
}
@@ -167,8 +177,11 @@ class AppointmentPayload extends $pb.GeneratedMessage {
..aOS(20, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
..aOM<$3.Address>(21, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $3.Address.create)
..aOS(22, _omitFieldNames ? '' : 'SiteName', protoName: 'SiteName')
..pc<$1.QuantityByUnit>(23, _omitFieldNames ? '' : 'TotalQuantities', $pb.PbFieldType.PM, protoName: 'TotalQuantities', subBuilder: $1.QuantityByUnit.create)
..aOS(24, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
..aOM<$1.AppointmentContent>(25, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $1.AppointmentContent.create)
..aOM<$1.AppointmentContent>(26, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $1.AppointmentContent.create)
..pPS(27, _omitFieldNames ? '' : 'Attendees', protoName: 'Attendees')
..pPS(28, _omitFieldNames ? '' : 'RemovedAttendees', protoName: 'RemovedAttendees')
..hasRequiredFields = false
;
@@ -200,7 +213,8 @@ class AppointmentPayload extends $pb.GeneratedMessage {
void clearAppointmentType() => $_clearField(1);
/// List of the orders and projects for which the appointment is made, with the quantities
/// TODO ??
/// TODO Remove after upgrade model
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(2)
$pb.PbList<$1.AppointmentCommission> get commissions => $_getList(1);
@@ -222,6 +236,7 @@ class AppointmentPayload extends $pb.GeneratedMessage {
/// User mails being notified on this appointment
/// TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(7)
$pb.PbList<$core.String> get emails => $_getList(4);
@@ -263,6 +278,7 @@ class AppointmentPayload extends $pb.GeneratedMessage {
void clearAttachmentNumber() => $_clearField(14);
/// Emails removed from the appointment
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(16)
$pb.PbList<$core.String> get removedEmails => $_getList(10);
@@ -291,12 +307,16 @@ class AppointmentPayload extends $pb.GeneratedMessage {
$pb.PbList<$0.MetadataElement> get carrierInformation => $_getList(13);
/// Empty attribute, just used for inpout api payloads to resolve the site resource from project context with actor alias
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(20)
$core.String get actorID => $_getSZ(14);
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(20)
set actorID($core.String value) => $_setString(14, value);
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(20)
$core.bool hasActorID() => $_has(14);
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(20)
void clearActorID() => $_clearField(20);
@@ -322,19 +342,47 @@ class AppointmentPayload extends $pb.GeneratedMessage {
@$pb.TagNumber(22)
void clearSiteName() => $_clearField(22);
/// Total volumetry in all commissions inside the truck.
@$pb.TagNumber(23)
$pb.PbList<$1.QuantityByUnit> get totalQuantities => $_getList(17);
/// time zone of the site on which the appointment is booked
@$pb.TagNumber(24)
$core.String get timeZone => $_getSZ(18);
$core.String get timeZone => $_getSZ(17);
@$pb.TagNumber(24)
set timeZone($core.String value) => $_setString(18, value);
set timeZone($core.String value) => $_setString(17, value);
@$pb.TagNumber(24)
$core.bool hasTimeZone() => $_has(18);
$core.bool hasTimeZone() => $_has(17);
@$pb.TagNumber(24)
void clearTimeZone() => $_clearField(24);
/// Loading content
@$pb.TagNumber(25)
$1.AppointmentContent get loading => $_getN(18);
@$pb.TagNumber(25)
set loading($1.AppointmentContent value) => $_setField(25, value);
@$pb.TagNumber(25)
$core.bool hasLoading() => $_has(18);
@$pb.TagNumber(25)
void clearLoading() => $_clearField(25);
@$pb.TagNumber(25)
$1.AppointmentContent ensureLoading() => $_ensure(18);
/// Unoading content
@$pb.TagNumber(26)
$1.AppointmentContent get unloading => $_getN(19);
@$pb.TagNumber(26)
set unloading($1.AppointmentContent value) => $_setField(26, value);
@$pb.TagNumber(26)
$core.bool hasUnloading() => $_has(19);
@$pb.TagNumber(26)
void clearUnloading() => $_clearField(26);
@$pb.TagNumber(26)
$1.AppointmentContent ensureUnloading() => $_ensure(19);
/// User being notified on this appointment
@$pb.TagNumber(27)
$pb.PbList<$core.String> get attendees => $_getList(20);
/// Emails removed from the appointment
@$pb.TagNumber(28)
$pb.PbList<$core.String> get removedAttendees => $_getList(21);
}
class AppointmentTriplet extends $pb.GeneratedMessage {