Latest generation

This commit is contained in:
ci core model
2025-05-05 09:13:40 +00:00
parent d8da740588
commit 2dad9d51c8
136 changed files with 6276 additions and 6261 deletions

View File

@@ -13,22 +13,22 @@ import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
import 'collabShared.pb.dart' as $80;
import 'collabShared.pb.dart' as $93;
import 'shared.pb.dart' as $35;
import 'slotbooking.pb.dart' as $79;
import 'slotbooking.pbenum.dart' as $79;
import 'slotbooking.pb.dart' as $81;
import 'slotbooking.pbenum.dart' as $81;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// Event Payload
class AppointmentCreatedPayload extends $pb.GeneratedMessage {
factory AppointmentCreatedPayload({
$79.AppointmentType? appointmentType,
$core.Iterable<$80.Commission>? commissions,
$core.Iterable<$79.QuantityByUnit>? quantitiesByUnits,
$core.Iterable<$79.Segmentation>? segmentations,
$core.Iterable<$79.CarrierInformation>? carrierInformation,
$79.Slot? slot,
$81.AppointmentType? appointmentType,
$core.Iterable<$93.Commission>? commissions,
$core.Iterable<$81.QuantityByUnit>? quantitiesByUnits,
$core.Iterable<$81.Segmentation>? segmentations,
$core.Iterable<$81.CarrierInformation>? carrierInformation,
$81.Slot? slot,
$core.Iterable<$core.String>? emails,
}) {
final $result = create();
@@ -60,12 +60,12 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
factory AppointmentCreatedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentCreatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..e<$79.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $79.AppointmentType.APPOINTMENTTYPE_UNKNOWN, valueOf: $79.AppointmentType.valueOf, enumValues: $79.AppointmentType.values)
..pc<$80.Commission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $80.Commission.create)
..pc<$79.QuantityByUnit>(3, _omitFieldNames ? '' : 'QuantitiesByUnits', $pb.PbFieldType.PM, protoName: 'QuantitiesByUnits', subBuilder: $79.QuantityByUnit.create)
..pc<$79.Segmentation>(4, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $79.Segmentation.create)
..pc<$79.CarrierInformation>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $79.CarrierInformation.create)
..aOM<$79.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $79.Slot.create)
..e<$81.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $81.AppointmentType.APPOINTMENTTYPE_UNKNOWN, valueOf: $81.AppointmentType.valueOf, enumValues: $81.AppointmentType.values)
..pc<$93.Commission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $93.Commission.create)
..pc<$81.QuantityByUnit>(3, _omitFieldNames ? '' : 'QuantitiesByUnits', $pb.PbFieldType.PM, protoName: 'QuantitiesByUnits', subBuilder: $81.QuantityByUnit.create)
..pc<$81.Segmentation>(4, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $81.Segmentation.create)
..pc<$81.CarrierInformation>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $81.CarrierInformation.create)
..aOM<$81.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $81.Slot.create)
..pPS(7, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
..hasRequiredFields = false
;
@@ -93,9 +93,9 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
/// Type of appointment : Expedition / Reception / Both
@$pb.TagNumber(1)
$79.AppointmentType get appointmentType => $_getN(0);
$81.AppointmentType get appointmentType => $_getN(0);
@$pb.TagNumber(1)
set appointmentType($79.AppointmentType v) { $_setField(1, v); }
set appointmentType($81.AppointmentType v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasAppointmentType() => $_has(0);
@$pb.TagNumber(1)
@@ -104,31 +104,31 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
/// List of the orders and projects for which the appointment is made, with the quantities
/// TODO ??
@$pb.TagNumber(2)
$pb.PbList<$80.Commission> get commissions => $_getList(1);
$pb.PbList<$93.Commission> get commissions => $_getList(1);
/// Cumulative quantity for all the commissions
@$pb.TagNumber(3)
$pb.PbList<$79.QuantityByUnit> get quantitiesByUnits => $_getList(2);
$pb.PbList<$81.QuantityByUnit> get quantitiesByUnits => $_getList(2);
/// Set of segmentation constraining the slot booking
@$pb.TagNumber(4)
$pb.PbList<$79.Segmentation> get segmentations => $_getList(3);
$pb.PbList<$81.Segmentation> get segmentations => $_getList(3);
/// Required carrierInformation, some can be obligatory
@$pb.TagNumber(5)
$pb.PbList<$79.CarrierInformation> get carrierInformation => $_getList(4);
$pb.PbList<$81.CarrierInformation> get carrierInformation => $_getList(4);
/// The slot booked for the appointment
@$pb.TagNumber(6)
$79.Slot get slot => $_getN(5);
$81.Slot get slot => $_getN(5);
@$pb.TagNumber(6)
set slot($79.Slot v) { $_setField(6, v); }
set slot($81.Slot v) { $_setField(6, v); }
@$pb.TagNumber(6)
$core.bool hasSlot() => $_has(5);
@$pb.TagNumber(6)
void clearSlot() => $_clearField(6);
@$pb.TagNumber(6)
$79.Slot ensureSlot() => $_ensure(5);
$81.Slot ensureSlot() => $_ensure(5);
/// User mails being notified on this appointment
/// TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
@@ -650,7 +650,7 @@ class AppointmentCanceledResponse extends $pb.GeneratedMessage {
/// Event Payload
class AppointmentCarrierInformationUpdatedPayload extends $pb.GeneratedMessage {
factory AppointmentCarrierInformationUpdatedPayload({
$core.Iterable<$79.CarrierInformation>? carrierInformation,
$core.Iterable<$81.CarrierInformation>? carrierInformation,
}) {
final $result = create();
if (carrierInformation != null) {
@@ -663,7 +663,7 @@ class AppointmentCarrierInformationUpdatedPayload extends $pb.GeneratedMessage {
factory AppointmentCarrierInformationUpdatedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentCarrierInformationUpdatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<$79.CarrierInformation>(1, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $79.CarrierInformation.create)
..pc<$81.CarrierInformation>(1, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $81.CarrierInformation.create)
..hasRequiredFields = false
;
@@ -690,7 +690,7 @@ class AppointmentCarrierInformationUpdatedPayload extends $pb.GeneratedMessage {
/// Required carrierInformation, some can be obligatory
@$pb.TagNumber(1)
$pb.PbList<$79.CarrierInformation> get carrierInformation => $_getList(0);
$pb.PbList<$81.CarrierInformation> get carrierInformation => $_getList(0);
}
/// Event message