You've already forked dart-core-sdk
Latest generation
This commit is contained in:
637
lib/site.pb.dart
637
lib/site.pb.dart
@@ -1465,7 +1465,7 @@ class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
/// Type of appointment : Expedition / Reception / Both
|
||||
/// Type of appointment : Loading / Unloading / Both
|
||||
@$pb.TagNumber(2)
|
||||
$2.AppointmentType get appointmentType => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
@@ -1736,7 +1736,7 @@ class CheckAppointmentCommissionRequest extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
/// Type of appointment : Expedition / Reception / Both
|
||||
/// Type of appointment : Loading / Unloading / Both
|
||||
@$pb.TagNumber(2)
|
||||
$2.AppointmentType get appointmentType => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
@@ -1831,6 +1831,7 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
$core.String? actorID,
|
||||
$core.Iterable<$3.MetadataElement>? carrierInformation,
|
||||
$core.Iterable<$3.MetadataElement>? metaData,
|
||||
$core.String? reason,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
@@ -1844,6 +1845,7 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
||||
if (metaData != null) result.metaData.addAll(metaData);
|
||||
if (reason != null) result.reason = reason;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -1864,6 +1866,7 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
..aOS(13, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..pc<$3.MetadataElement>(14, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $3.MetadataElement.create)
|
||||
..pc<$3.MetadataElement>(15, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create)
|
||||
..aOS(16, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -1895,7 +1898,7 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
/// Type of appointment : Expedition / Reception / Both
|
||||
/// Type of appointment : Loading / Unloading / Both
|
||||
@$pb.TagNumber(2)
|
||||
$2.AppointmentType get appointmentType => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
@@ -1957,178 +1960,15 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
|
||||
@$pb.TagNumber(15)
|
||||
$pb.PbList<$3.MetadataElement> get metaData => $_getList(10);
|
||||
}
|
||||
|
||||
/// BookAppointmentNoReference
|
||||
class BookAppointmentNoReferenceRequest extends $pb.GeneratedMessage {
|
||||
factory BookAppointmentNoReferenceRequest({
|
||||
$3.RequestProjectHeader? header,
|
||||
$2.AppointmentType? appointmentType,
|
||||
$core.String? projectID,
|
||||
$core.Iterable<$2.QuantityByUnit>? quantities,
|
||||
$core.Iterable<$2.SegmentationSelection>? segmentationSelections,
|
||||
$core.Iterable<$2.Slot>? slots,
|
||||
$core.Iterable<$core.String>? emails,
|
||||
$core.String? appointmentID,
|
||||
$core.String? reason,
|
||||
$core.bool? instructionAck,
|
||||
$core.String? actorID,
|
||||
$core.Iterable<$3.MetadataElement>? carrierInformation,
|
||||
$core.Iterable<$3.MetadataElement>? metaData,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (appointmentType != null) result.appointmentType = appointmentType;
|
||||
if (projectID != null) result.projectID = projectID;
|
||||
if (quantities != null) result.quantities.addAll(quantities);
|
||||
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
||||
if (slots != null) result.slots.addAll(slots);
|
||||
if (emails != null) result.emails.addAll(emails);
|
||||
if (appointmentID != null) result.appointmentID = appointmentID;
|
||||
if (reason != null) result.reason = reason;
|
||||
if (instructionAck != null) result.instructionAck = instructionAck;
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
||||
if (metaData != null) result.metaData.addAll(metaData);
|
||||
return result;
|
||||
}
|
||||
|
||||
BookAppointmentNoReferenceRequest._();
|
||||
|
||||
factory BookAppointmentNoReferenceRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory BookAppointmentNoReferenceRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookAppointmentNoReferenceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
||||
..e<$2.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
|
||||
..aOS(3, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..pc<$2.QuantityByUnit>(4, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create)
|
||||
..pc<$2.SegmentationSelection>(5, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
|
||||
..pc<$2.Slot>(7, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
|
||||
..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
||||
..aOS(11, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
||||
..aOS(12, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
||||
..aOB(13, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck')
|
||||
..aOS(14, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..pc<$3.MetadataElement>(15, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $3.MetadataElement.create)
|
||||
..pc<$3.MetadataElement>(16, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
BookAppointmentNoReferenceRequest clone() => BookAppointmentNoReferenceRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
BookAppointmentNoReferenceRequest copyWith(void Function(BookAppointmentNoReferenceRequest) updates) => super.copyWith((message) => updates(message as BookAppointmentNoReferenceRequest)) as BookAppointmentNoReferenceRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static BookAppointmentNoReferenceRequest create() => BookAppointmentNoReferenceRequest._();
|
||||
@$core.override
|
||||
BookAppointmentNoReferenceRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<BookAppointmentNoReferenceRequest> createRepeated() => $pb.PbList<BookAppointmentNoReferenceRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static BookAppointmentNoReferenceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BookAppointmentNoReferenceRequest>(create);
|
||||
static BookAppointmentNoReferenceRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
/// Type of appointment : Expedition / Reception / Both
|
||||
@$pb.TagNumber(2)
|
||||
$2.AppointmentType get appointmentType => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set appointmentType($2.AppointmentType value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasAppointmentType() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearAppointmentType() => $_clearField(2);
|
||||
|
||||
/// Project for which the appointment is made, with the quantities
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get projectID => $_getSZ(2);
|
||||
@$pb.TagNumber(3)
|
||||
set projectID($core.String value) => $_setString(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasProjectID() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearProjectID() => $_clearField(3);
|
||||
|
||||
/// quantities
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<$2.QuantityByUnit> get quantities => $_getList(3);
|
||||
|
||||
/// Set of segmentation constraining the slot booking
|
||||
@$pb.TagNumber(5)
|
||||
$pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(4);
|
||||
|
||||
/// The slot to book for the appointment
|
||||
@$pb.TagNumber(7)
|
||||
$pb.PbList<$2.Slot> get slots => $_getList(5);
|
||||
|
||||
/// TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
|
||||
/// User mails being notified on this appointment
|
||||
@$pb.TagNumber(8)
|
||||
$pb.PbList<$core.String> get emails => $_getList(6);
|
||||
|
||||
/// The carrier identifier who requests to book the appointment
|
||||
/// string CarrierID = 9;
|
||||
/// The carrier name who requests to book the appointment
|
||||
/// string CarrierName = 10;
|
||||
/// The appointment ID, usually generated using siteCounterServices
|
||||
@$pb.TagNumber(11)
|
||||
$core.String get appointmentID => $_getSZ(7);
|
||||
@$pb.TagNumber(11)
|
||||
set appointmentID($core.String value) => $_setString(7, value);
|
||||
@$pb.TagNumber(11)
|
||||
$core.bool hasAppointmentID() => $_has(7);
|
||||
@$pb.TagNumber(11)
|
||||
void clearAppointmentID() => $_clearField(11);
|
||||
|
||||
/// The Reason for which the appointment has no commissions
|
||||
@$pb.TagNumber(12)
|
||||
$core.String get reason => $_getSZ(8);
|
||||
@$pb.TagNumber(12)
|
||||
set reason($core.String value) => $_setString(8, value);
|
||||
@$pb.TagNumber(12)
|
||||
$core.bool hasReason() => $_has(8);
|
||||
@$pb.TagNumber(12)
|
||||
void clearReason() => $_clearField(12);
|
||||
|
||||
/// Acknowledgment of the site instructions
|
||||
@$pb.TagNumber(13)
|
||||
$core.bool get instructionAck => $_getBF(9);
|
||||
@$pb.TagNumber(13)
|
||||
set instructionAck($core.bool value) => $_setBool(9, value);
|
||||
@$pb.TagNumber(13)
|
||||
$core.bool hasInstructionAck() => $_has(9);
|
||||
@$pb.TagNumber(13)
|
||||
void clearInstructionAck() => $_clearField(13);
|
||||
|
||||
@$pb.TagNumber(14)
|
||||
$core.String get actorID => $_getSZ(10);
|
||||
@$pb.TagNumber(14)
|
||||
set actorID($core.String value) => $_setString(10, value);
|
||||
@$pb.TagNumber(14)
|
||||
$core.bool hasActorID() => $_has(10);
|
||||
@$pb.TagNumber(14)
|
||||
void clearActorID() => $_clearField(14);
|
||||
|
||||
/// Carrier information metadata definition
|
||||
@$pb.TagNumber(15)
|
||||
$pb.PbList<$3.MetadataElement> get carrierInformation => $_getList(11);
|
||||
|
||||
@$pb.TagNumber(16)
|
||||
$pb.PbList<$3.MetadataElement> get metaData => $_getList(12);
|
||||
$core.String get reason => $_getSZ(11);
|
||||
@$pb.TagNumber(16)
|
||||
set reason($core.String value) => $_setString(11, value);
|
||||
@$pb.TagNumber(16)
|
||||
$core.bool hasReason() => $_has(11);
|
||||
@$pb.TagNumber(16)
|
||||
void clearReason() => $_clearField(16);
|
||||
}
|
||||
|
||||
/// SiteActor: connection between an actor in a project and a Site
|
||||
@@ -2352,194 +2192,6 @@ class GetBookingContextResponse extends $pb.GeneratedMessage {
|
||||
$pb.PbList<$2.Document> get instructionDocuments => $_getList(5);
|
||||
}
|
||||
|
||||
/// ForceBookAppointment
|
||||
class ForceBookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
factory ForceBookAppointmentRequest({
|
||||
$3.RequestProjectHeader? header,
|
||||
$2.AppointmentType? appointmentType,
|
||||
$core.Iterable<$2.Commission>? commissions,
|
||||
$core.Iterable<$2.SegmentationSelection>? segmentationSelections,
|
||||
$core.Iterable<$2.Slot>? slots,
|
||||
$core.Iterable<$core.String>? emails,
|
||||
$core.String? timeZone,
|
||||
$core.String? appointmentID,
|
||||
$core.bool? instructionAck,
|
||||
$core.String? projectID,
|
||||
$core.String? reason,
|
||||
$core.Iterable<$2.QuantityByUnit>? quantities,
|
||||
$core.String? actorID,
|
||||
$core.Iterable<$3.MetadataElement>? carrierInformation,
|
||||
$core.Iterable<$3.MetadataElement>? metaData,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (appointmentType != null) result.appointmentType = appointmentType;
|
||||
if (commissions != null) result.commissions.addAll(commissions);
|
||||
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
||||
if (slots != null) result.slots.addAll(slots);
|
||||
if (emails != null) result.emails.addAll(emails);
|
||||
if (timeZone != null) result.timeZone = timeZone;
|
||||
if (appointmentID != null) result.appointmentID = appointmentID;
|
||||
if (instructionAck != null) result.instructionAck = instructionAck;
|
||||
if (projectID != null) result.projectID = projectID;
|
||||
if (reason != null) result.reason = reason;
|
||||
if (quantities != null) result.quantities.addAll(quantities);
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
||||
if (metaData != null) result.metaData.addAll(metaData);
|
||||
return result;
|
||||
}
|
||||
|
||||
ForceBookAppointmentRequest._();
|
||||
|
||||
factory ForceBookAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory ForceBookAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ForceBookAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
||||
..e<$2.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
|
||||
..pc<$2.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
|
||||
..pc<$2.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
|
||||
..pc<$2.Slot>(6, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
|
||||
..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
||||
..aOS(11, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
|
||||
..aOS(12, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
||||
..aOB(13, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck')
|
||||
..aOS(14, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..aOS(15, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
||||
..pc<$2.QuantityByUnit>(16, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create)
|
||||
..aOS(17, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..pc<$3.MetadataElement>(18, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $3.MetadataElement.create)
|
||||
..pc<$3.MetadataElement>(19, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ForceBookAppointmentRequest clone() => ForceBookAppointmentRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ForceBookAppointmentRequest copyWith(void Function(ForceBookAppointmentRequest) updates) => super.copyWith((message) => updates(message as ForceBookAppointmentRequest)) as ForceBookAppointmentRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ForceBookAppointmentRequest create() => ForceBookAppointmentRequest._();
|
||||
@$core.override
|
||||
ForceBookAppointmentRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<ForceBookAppointmentRequest> createRepeated() => $pb.PbList<ForceBookAppointmentRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ForceBookAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ForceBookAppointmentRequest>(create);
|
||||
static ForceBookAppointmentRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
/// Type of appointment : Expedition / Reception / Both
|
||||
@$pb.TagNumber(2)
|
||||
$2.AppointmentType get appointmentType => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set appointmentType($2.AppointmentType value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasAppointmentType() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearAppointmentType() => $_clearField(2);
|
||||
|
||||
/// List of the orders and projects for which the appointment is made, with the quantities
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$2.Commission> get commissions => $_getList(2);
|
||||
|
||||
/// Set of segmentation constraining the slot booking
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(3);
|
||||
|
||||
/// The slot to book for the appointment
|
||||
@$pb.TagNumber(6)
|
||||
$pb.PbList<$2.Slot> get slots => $_getList(4);
|
||||
|
||||
/// TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
|
||||
/// User mails being notified on this appointment
|
||||
@$pb.TagNumber(8)
|
||||
$pb.PbList<$core.String> get emails => $_getList(5);
|
||||
|
||||
/// time zone, useful only if a WMS send a message
|
||||
@$pb.TagNumber(11)
|
||||
$core.String get timeZone => $_getSZ(6);
|
||||
@$pb.TagNumber(11)
|
||||
set timeZone($core.String value) => $_setString(6, value);
|
||||
@$pb.TagNumber(11)
|
||||
$core.bool hasTimeZone() => $_has(6);
|
||||
@$pb.TagNumber(11)
|
||||
void clearTimeZone() => $_clearField(11);
|
||||
|
||||
/// The appointment ID, usually generated using siteCounterServices
|
||||
@$pb.TagNumber(12)
|
||||
$core.String get appointmentID => $_getSZ(7);
|
||||
@$pb.TagNumber(12)
|
||||
set appointmentID($core.String value) => $_setString(7, value);
|
||||
@$pb.TagNumber(12)
|
||||
$core.bool hasAppointmentID() => $_has(7);
|
||||
@$pb.TagNumber(12)
|
||||
void clearAppointmentID() => $_clearField(12);
|
||||
|
||||
/// Acknowledgment of the site instructions
|
||||
@$pb.TagNumber(13)
|
||||
$core.bool get instructionAck => $_getBF(8);
|
||||
@$pb.TagNumber(13)
|
||||
set instructionAck($core.bool value) => $_setBool(8, value);
|
||||
@$pb.TagNumber(13)
|
||||
$core.bool hasInstructionAck() => $_has(8);
|
||||
@$pb.TagNumber(13)
|
||||
void clearInstructionAck() => $_clearField(13);
|
||||
|
||||
/// In case of no reference, Project for which the appointment is made, with the quantities
|
||||
@$pb.TagNumber(14)
|
||||
$core.String get projectID => $_getSZ(9);
|
||||
@$pb.TagNumber(14)
|
||||
set projectID($core.String value) => $_setString(9, value);
|
||||
@$pb.TagNumber(14)
|
||||
$core.bool hasProjectID() => $_has(9);
|
||||
@$pb.TagNumber(14)
|
||||
void clearProjectID() => $_clearField(14);
|
||||
|
||||
/// In case of no reference, The Reason for which the appointment has no reference
|
||||
@$pb.TagNumber(15)
|
||||
$core.String get reason => $_getSZ(10);
|
||||
@$pb.TagNumber(15)
|
||||
set reason($core.String value) => $_setString(10, value);
|
||||
@$pb.TagNumber(15)
|
||||
$core.bool hasReason() => $_has(10);
|
||||
@$pb.TagNumber(15)
|
||||
void clearReason() => $_clearField(15);
|
||||
|
||||
/// In case of no reference, quantities loaded or to load in the truck
|
||||
@$pb.TagNumber(16)
|
||||
$pb.PbList<$2.QuantityByUnit> get quantities => $_getList(11);
|
||||
|
||||
@$pb.TagNumber(17)
|
||||
$core.String get actorID => $_getSZ(12);
|
||||
@$pb.TagNumber(17)
|
||||
set actorID($core.String value) => $_setString(12, value);
|
||||
@$pb.TagNumber(17)
|
||||
$core.bool hasActorID() => $_has(12);
|
||||
@$pb.TagNumber(17)
|
||||
void clearActorID() => $_clearField(17);
|
||||
|
||||
/// Carrier information metadata definition
|
||||
@$pb.TagNumber(18)
|
||||
$pb.PbList<$3.MetadataElement> get carrierInformation => $_getList(13);
|
||||
|
||||
@$pb.TagNumber(19)
|
||||
$pb.PbList<$3.MetadataElement> get metaData => $_getList(14);
|
||||
}
|
||||
|
||||
class BookAppointmentResponse extends $pb.GeneratedMessage {
|
||||
factory BookAppointmentResponse({
|
||||
$core.String? appointmentID,
|
||||
@@ -2808,6 +2460,7 @@ class UpdateAppointmentRequest extends $pb.GeneratedMessage {
|
||||
$core.Iterable<$2.Commission>? commissions,
|
||||
$core.String? actorID,
|
||||
$core.Iterable<$core.String>? emails,
|
||||
$core.String? reason,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
@@ -2816,6 +2469,7 @@ class UpdateAppointmentRequest extends $pb.GeneratedMessage {
|
||||
if (commissions != null) result.commissions.addAll(commissions);
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
if (emails != null) result.emails.addAll(emails);
|
||||
if (reason != null) result.reason = reason;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -2831,6 +2485,7 @@ class UpdateAppointmentRequest extends $pb.GeneratedMessage {
|
||||
..pc<$2.Commission>(4, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
|
||||
..aOS(5, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..pPS(6, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
||||
..aOS(7, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -2875,7 +2530,7 @@ class UpdateAppointmentRequest extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$2.Slot> get slots => $_getList(2);
|
||||
|
||||
/// The modified Commissions for the appointment
|
||||
/// The new Commissions for the appointment
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<$2.Commission> get commissions => $_getList(3);
|
||||
|
||||
@@ -2890,262 +2545,16 @@ class UpdateAppointmentRequest extends $pb.GeneratedMessage {
|
||||
|
||||
@$pb.TagNumber(6)
|
||||
$pb.PbList<$core.String> get emails => $_getList(5);
|
||||
}
|
||||
|
||||
class UpdateAppointmentNoReferenceRequest extends $pb.GeneratedMessage {
|
||||
factory UpdateAppointmentNoReferenceRequest({
|
||||
$3.RequestProjectHeader? header,
|
||||
$core.String? appointmentID,
|
||||
$core.Iterable<$2.Slot>? slots,
|
||||
$core.String? projectID,
|
||||
$core.Iterable<$2.QuantityByUnit>? quantities,
|
||||
$core.String? reason,
|
||||
$core.String? actorID,
|
||||
$core.Iterable<$core.String>? emails,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (appointmentID != null) result.appointmentID = appointmentID;
|
||||
if (slots != null) result.slots.addAll(slots);
|
||||
if (projectID != null) result.projectID = projectID;
|
||||
if (quantities != null) result.quantities.addAll(quantities);
|
||||
if (reason != null) result.reason = reason;
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
if (emails != null) result.emails.addAll(emails);
|
||||
return result;
|
||||
}
|
||||
|
||||
UpdateAppointmentNoReferenceRequest._();
|
||||
|
||||
factory UpdateAppointmentNoReferenceRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory UpdateAppointmentNoReferenceRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateAppointmentNoReferenceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
||||
..pc<$2.Slot>(3, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
|
||||
..aOS(4, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..pc<$2.QuantityByUnit>(5, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create)
|
||||
..aOS(6, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
||||
..aOS(7, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateAppointmentNoReferenceRequest clone() => UpdateAppointmentNoReferenceRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateAppointmentNoReferenceRequest copyWith(void Function(UpdateAppointmentNoReferenceRequest) updates) => super.copyWith((message) => updates(message as UpdateAppointmentNoReferenceRequest)) as UpdateAppointmentNoReferenceRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateAppointmentNoReferenceRequest create() => UpdateAppointmentNoReferenceRequest._();
|
||||
@$core.override
|
||||
UpdateAppointmentNoReferenceRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<UpdateAppointmentNoReferenceRequest> createRepeated() => $pb.PbList<UpdateAppointmentNoReferenceRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateAppointmentNoReferenceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateAppointmentNoReferenceRequest>(create);
|
||||
static UpdateAppointmentNoReferenceRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get appointmentID => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set appointmentID($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasAppointmentID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearAppointmentID() => $_clearField(2);
|
||||
|
||||
/// The slots to book for the appointment
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$2.Slot> get slots => $_getList(2);
|
||||
|
||||
/// Project for which the appointment is made, with the quantities
|
||||
@$pb.TagNumber(4)
|
||||
$core.String get projectID => $_getSZ(3);
|
||||
@$pb.TagNumber(4)
|
||||
set projectID($core.String value) => $_setString(3, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasProjectID() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearProjectID() => $_clearField(4);
|
||||
|
||||
/// In case of no reference, quantities
|
||||
@$pb.TagNumber(5)
|
||||
$pb.PbList<$2.QuantityByUnit> get quantities => $_getList(4);
|
||||
|
||||
/// In case of no reference, The Reason for which the appointment has no commissions
|
||||
@$pb.TagNumber(6)
|
||||
$core.String get reason => $_getSZ(5);
|
||||
@$pb.TagNumber(6)
|
||||
set reason($core.String value) => $_setString(5, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasReason() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
void clearReason() => $_clearField(6);
|
||||
|
||||
@$pb.TagNumber(7)
|
||||
$core.String get actorID => $_getSZ(6);
|
||||
$core.String get reason => $_getSZ(6);
|
||||
@$pb.TagNumber(7)
|
||||
set actorID($core.String value) => $_setString(6, value);
|
||||
set reason($core.String value) => $_setString(6, value);
|
||||
@$pb.TagNumber(7)
|
||||
$core.bool hasActorID() => $_has(6);
|
||||
$core.bool hasReason() => $_has(6);
|
||||
@$pb.TagNumber(7)
|
||||
void clearActorID() => $_clearField(7);
|
||||
|
||||
@$pb.TagNumber(8)
|
||||
$pb.PbList<$core.String> get emails => $_getList(7);
|
||||
}
|
||||
|
||||
class ForceUpdateAppointmentRequest extends $pb.GeneratedMessage {
|
||||
factory ForceUpdateAppointmentRequest({
|
||||
$3.RequestProjectHeader? header,
|
||||
$core.String? appointmentID,
|
||||
$core.Iterable<$2.Slot>? slots,
|
||||
$core.Iterable<$2.Commission>? commissions,
|
||||
$core.String? timeZone,
|
||||
$core.String? projectID,
|
||||
$core.Iterable<$2.QuantityByUnit>? quantities,
|
||||
$core.String? reason,
|
||||
$core.String? actorID,
|
||||
$core.Iterable<$core.String>? emails,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (appointmentID != null) result.appointmentID = appointmentID;
|
||||
if (slots != null) result.slots.addAll(slots);
|
||||
if (commissions != null) result.commissions.addAll(commissions);
|
||||
if (timeZone != null) result.timeZone = timeZone;
|
||||
if (projectID != null) result.projectID = projectID;
|
||||
if (quantities != null) result.quantities.addAll(quantities);
|
||||
if (reason != null) result.reason = reason;
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
if (emails != null) result.emails.addAll(emails);
|
||||
return result;
|
||||
}
|
||||
|
||||
ForceUpdateAppointmentRequest._();
|
||||
|
||||
factory ForceUpdateAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory ForceUpdateAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ForceUpdateAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
||||
..pc<$2.Slot>(3, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
|
||||
..pc<$2.Commission>(4, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
|
||||
..aOS(5, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
|
||||
..aOS(6, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..pc<$2.QuantityByUnit>(7, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create)
|
||||
..aOS(8, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
||||
..aOS(9, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..pPS(10, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ForceUpdateAppointmentRequest clone() => ForceUpdateAppointmentRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ForceUpdateAppointmentRequest copyWith(void Function(ForceUpdateAppointmentRequest) updates) => super.copyWith((message) => updates(message as ForceUpdateAppointmentRequest)) as ForceUpdateAppointmentRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ForceUpdateAppointmentRequest create() => ForceUpdateAppointmentRequest._();
|
||||
@$core.override
|
||||
ForceUpdateAppointmentRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<ForceUpdateAppointmentRequest> createRepeated() => $pb.PbList<ForceUpdateAppointmentRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ForceUpdateAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ForceUpdateAppointmentRequest>(create);
|
||||
static ForceUpdateAppointmentRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get appointmentID => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set appointmentID($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasAppointmentID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearAppointmentID() => $_clearField(2);
|
||||
|
||||
/// The slots to book for the appointment
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$2.Slot> get slots => $_getList(2);
|
||||
|
||||
/// The modified Commissions for the appointment
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<$2.Commission> get commissions => $_getList(3);
|
||||
|
||||
/// time zone, useful only if a WMS use this API
|
||||
@$pb.TagNumber(5)
|
||||
$core.String get timeZone => $_getSZ(4);
|
||||
@$pb.TagNumber(5)
|
||||
set timeZone($core.String value) => $_setString(4, value);
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasTimeZone() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearTimeZone() => $_clearField(5);
|
||||
|
||||
/// Project for which the appointment is made, with the quantities
|
||||
@$pb.TagNumber(6)
|
||||
$core.String get projectID => $_getSZ(5);
|
||||
@$pb.TagNumber(6)
|
||||
set projectID($core.String value) => $_setString(5, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasProjectID() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
void clearProjectID() => $_clearField(6);
|
||||
|
||||
/// In case of no reference, quantities
|
||||
@$pb.TagNumber(7)
|
||||
$pb.PbList<$2.QuantityByUnit> get quantities => $_getList(6);
|
||||
|
||||
/// In case of no reference, The Reason for which the appointment has no commissions
|
||||
@$pb.TagNumber(8)
|
||||
$core.String get reason => $_getSZ(7);
|
||||
@$pb.TagNumber(8)
|
||||
set reason($core.String value) => $_setString(7, value);
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool hasReason() => $_has(7);
|
||||
@$pb.TagNumber(8)
|
||||
void clearReason() => $_clearField(8);
|
||||
|
||||
@$pb.TagNumber(9)
|
||||
$core.String get actorID => $_getSZ(8);
|
||||
@$pb.TagNumber(9)
|
||||
set actorID($core.String value) => $_setString(8, value);
|
||||
@$pb.TagNumber(9)
|
||||
$core.bool hasActorID() => $_has(8);
|
||||
@$pb.TagNumber(9)
|
||||
void clearActorID() => $_clearField(9);
|
||||
|
||||
@$pb.TagNumber(10)
|
||||
$pb.PbList<$core.String> get emails => $_getList(9);
|
||||
void clearReason() => $_clearField(7);
|
||||
}
|
||||
|
||||
/// ListUserSites
|
||||
@@ -3873,7 +3282,7 @@ class ProjectAuthorisationWithValue extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
void clearProjectID() => $_clearField(1);
|
||||
|
||||
/// Constraints applied for reception appointment.
|
||||
/// Constraints applied for unloading appointment.
|
||||
@$pb.TagNumber(2)
|
||||
ProjectConstraintWithValue get unloadingConstraint => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
@@ -3885,7 +3294,7 @@ class ProjectAuthorisationWithValue extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(2)
|
||||
ProjectConstraintWithValue ensureUnloadingConstraint() => $_ensure(1);
|
||||
|
||||
/// Constraints applied for expedition appointment.
|
||||
/// Constraints applied for Loading appointment.
|
||||
@$pb.TagNumber(3)
|
||||
ProjectConstraintWithValue get loadingConstraint => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
|
||||
Reference in New Issue
Block a user