You've already forked dart-core-sdk
Release 1.11.7
This commit is contained in:
@@ -101,8 +101,9 @@ class Appointment extends $pb.GeneratedMessage {
|
||||
class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
factory AppointmentPayload({
|
||||
$1.AppointmentType? appointmentType,
|
||||
$core.Iterable<$1.AppointmentCommission>? commissions,
|
||||
$core.Iterable<$1.Commission>? commissions,
|
||||
$core.Iterable<$1.SegmentationSelection>? segmentationSelections,
|
||||
$core.Iterable<$1.CarrierInformationWithValue>? carrierInformation,
|
||||
$1.Slot? slot,
|
||||
$core.Iterable<$core.String>? emails,
|
||||
$2.AppointmentStatusStruct? status,
|
||||
@@ -116,12 +117,12 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
$core.Iterable<$core.String>? removedEmails,
|
||||
$core.String? reason,
|
||||
$core.bool? instructionAck,
|
||||
$core.Iterable<$0.MetadataElement>? carrierInformation,
|
||||
}) {
|
||||
final result = create();
|
||||
if (appointmentType != null) result.appointmentType = appointmentType;
|
||||
if (commissions != null) result.commissions.addAll(commissions);
|
||||
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
||||
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
||||
if (slot != null) result.slot = slot;
|
||||
if (emails != null) result.emails.addAll(emails);
|
||||
if (status != null) result.status = status;
|
||||
@@ -135,7 +136,6 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
if (removedEmails != null) result.removedEmails.addAll(removedEmails);
|
||||
if (reason != null) result.reason = reason;
|
||||
if (instructionAck != null) result.instructionAck = instructionAck;
|
||||
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -146,8 +146,9 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..e<$1.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $1.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $1.AppointmentType.valueOf, enumValues: $1.AppointmentType.values)
|
||||
..pc<$1.AppointmentCommission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $1.AppointmentCommission.create)
|
||||
..pc<$1.Commission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $1.Commission.create)
|
||||
..pc<$1.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $1.SegmentationSelection.create)
|
||||
..pc<$1.CarrierInformationWithValue>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $1.CarrierInformationWithValue.create)
|
||||
..aOM<$1.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $1.Slot.create)
|
||||
..pPS(7, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
||||
..aOM<$2.AppointmentStatusStruct>(8, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $2.AppointmentStatusStruct.create)
|
||||
@@ -161,7 +162,6 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
..pPS(16, _omitFieldNames ? '' : 'RemovedEmails', protoName: 'RemovedEmails')
|
||||
..aOS(17, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
||||
..aOB(18, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck')
|
||||
..pc<$0.MetadataElement>(19, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $0.MetadataElement.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -195,121 +195,121 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
/// List of the orders and projects for which the appointment is made, with the quantities
|
||||
/// TODO ??
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$1.AppointmentCommission> get commissions => $_getList(1);
|
||||
$pb.PbList<$1.Commission> get commissions => $_getList(1);
|
||||
|
||||
/// Set of segmentation constraining the slot booking
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<$1.SegmentationSelection> get segmentationSelections => $_getList(2);
|
||||
|
||||
/// Required carrierInformation, some can be obligatory
|
||||
@$pb.TagNumber(5)
|
||||
$pb.PbList<$1.CarrierInformationWithValue> get carrierInformation => $_getList(3);
|
||||
|
||||
/// The slot booked for the appointment
|
||||
@$pb.TagNumber(6)
|
||||
$1.Slot get slot => $_getN(3);
|
||||
$1.Slot get slot => $_getN(4);
|
||||
@$pb.TagNumber(6)
|
||||
set slot($1.Slot value) => $_setField(6, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasSlot() => $_has(3);
|
||||
$core.bool hasSlot() => $_has(4);
|
||||
@$pb.TagNumber(6)
|
||||
void clearSlot() => $_clearField(6);
|
||||
@$pb.TagNumber(6)
|
||||
$1.Slot ensureSlot() => $_ensure(3);
|
||||
$1.Slot ensureSlot() => $_ensure(4);
|
||||
|
||||
/// User mails being notified on this appointment
|
||||
/// TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
|
||||
@$pb.TagNumber(7)
|
||||
$pb.PbList<$core.String> get emails => $_getList(4);
|
||||
$pb.PbList<$core.String> get emails => $_getList(5);
|
||||
|
||||
/// Appointment Status and status history
|
||||
@$pb.TagNumber(8)
|
||||
$2.AppointmentStatusStruct get status => $_getN(5);
|
||||
$2.AppointmentStatusStruct get status => $_getN(6);
|
||||
@$pb.TagNumber(8)
|
||||
set status($2.AppointmentStatusStruct value) => $_setField(8, value);
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool hasStatus() => $_has(5);
|
||||
$core.bool hasStatus() => $_has(6);
|
||||
@$pb.TagNumber(8)
|
||||
void clearStatus() => $_clearField(8);
|
||||
@$pb.TagNumber(8)
|
||||
$2.AppointmentStatusStruct ensureStatus() => $_ensure(5);
|
||||
$2.AppointmentStatusStruct ensureStatus() => $_ensure(6);
|
||||
|
||||
/// Creation date of the appointment
|
||||
@$pb.TagNumber(9)
|
||||
$core.String get creationDate => $_getSZ(6);
|
||||
$core.String get creationDate => $_getSZ(7);
|
||||
@$pb.TagNumber(9)
|
||||
set creationDate($core.String value) => $_setString(6, value);
|
||||
set creationDate($core.String value) => $_setString(7, value);
|
||||
@$pb.TagNumber(9)
|
||||
$core.bool hasCreationDate() => $_has(6);
|
||||
$core.bool hasCreationDate() => $_has(7);
|
||||
@$pb.TagNumber(9)
|
||||
void clearCreationDate() => $_clearField(9);
|
||||
|
||||
@$pb.TagNumber(10)
|
||||
$pb.PbList<$0.MetadataElement> get metaData => $_getList(7);
|
||||
$pb.PbList<$0.MetadataElement> get metaData => $_getList(8);
|
||||
|
||||
@$pb.TagNumber(11)
|
||||
$core.String get carrierID => $_getSZ(8);
|
||||
$core.String get carrierID => $_getSZ(9);
|
||||
@$pb.TagNumber(11)
|
||||
set carrierID($core.String value) => $_setString(8, value);
|
||||
set carrierID($core.String value) => $_setString(9, value);
|
||||
@$pb.TagNumber(11)
|
||||
$core.bool hasCarrierID() => $_has(8);
|
||||
$core.bool hasCarrierID() => $_has(9);
|
||||
@$pb.TagNumber(11)
|
||||
void clearCarrierID() => $_clearField(11);
|
||||
|
||||
@$pb.TagNumber(12)
|
||||
$core.String get carrierName => $_getSZ(9);
|
||||
$core.String get carrierName => $_getSZ(10);
|
||||
@$pb.TagNumber(12)
|
||||
set carrierName($core.String value) => $_setString(9, value);
|
||||
set carrierName($core.String value) => $_setString(10, value);
|
||||
@$pb.TagNumber(12)
|
||||
$core.bool hasCarrierName() => $_has(9);
|
||||
$core.bool hasCarrierName() => $_has(10);
|
||||
@$pb.TagNumber(12)
|
||||
void clearCarrierName() => $_clearField(12);
|
||||
|
||||
@$pb.TagNumber(13)
|
||||
$pb.PbList<$0.AttachmentSummary> get attachments => $_getList(10);
|
||||
$pb.PbList<$0.AttachmentSummary> get attachments => $_getList(11);
|
||||
|
||||
@$pb.TagNumber(14)
|
||||
$core.int get attachmentNumber => $_getIZ(11);
|
||||
$core.int get attachmentNumber => $_getIZ(12);
|
||||
@$pb.TagNumber(14)
|
||||
set attachmentNumber($core.int value) => $_setSignedInt32(11, value);
|
||||
set attachmentNumber($core.int value) => $_setSignedInt32(12, value);
|
||||
@$pb.TagNumber(14)
|
||||
$core.bool hasAttachmentNumber() => $_has(11);
|
||||
$core.bool hasAttachmentNumber() => $_has(12);
|
||||
@$pb.TagNumber(14)
|
||||
void clearAttachmentNumber() => $_clearField(14);
|
||||
|
||||
/// This boolean will be used to either check reason or check the commissions for informations
|
||||
@$pb.TagNumber(15)
|
||||
$core.bool get hasCommission => $_getBF(12);
|
||||
$core.bool get hasCommission => $_getBF(13);
|
||||
@$pb.TagNumber(15)
|
||||
set hasCommission($core.bool value) => $_setBool(12, value);
|
||||
set hasCommission($core.bool value) => $_setBool(13, value);
|
||||
@$pb.TagNumber(15)
|
||||
$core.bool hasHasCommission() => $_has(12);
|
||||
$core.bool hasHasCommission() => $_has(13);
|
||||
@$pb.TagNumber(15)
|
||||
void clearHasCommission() => $_clearField(15);
|
||||
|
||||
/// Emails removed from the appointment
|
||||
@$pb.TagNumber(16)
|
||||
$pb.PbList<$core.String> get removedEmails => $_getList(13);
|
||||
$pb.PbList<$core.String> get removedEmails => $_getList(14);
|
||||
|
||||
/// The Reason for which the appointment has no commission
|
||||
@$pb.TagNumber(17)
|
||||
$core.String get reason => $_getSZ(14);
|
||||
$core.String get reason => $_getSZ(15);
|
||||
@$pb.TagNumber(17)
|
||||
set reason($core.String value) => $_setString(14, value);
|
||||
set reason($core.String value) => $_setString(15, value);
|
||||
@$pb.TagNumber(17)
|
||||
$core.bool hasReason() => $_has(14);
|
||||
$core.bool hasReason() => $_has(15);
|
||||
@$pb.TagNumber(17)
|
||||
void clearReason() => $_clearField(17);
|
||||
|
||||
/// Acknowledgment of the site instructions
|
||||
@$pb.TagNumber(18)
|
||||
$core.bool get instructionAck => $_getBF(15);
|
||||
$core.bool get instructionAck => $_getBF(16);
|
||||
@$pb.TagNumber(18)
|
||||
set instructionAck($core.bool value) => $_setBool(15, value);
|
||||
set instructionAck($core.bool value) => $_setBool(16, value);
|
||||
@$pb.TagNumber(18)
|
||||
$core.bool hasInstructionAck() => $_has(15);
|
||||
$core.bool hasInstructionAck() => $_has(16);
|
||||
@$pb.TagNumber(18)
|
||||
void clearInstructionAck() => $_clearField(18);
|
||||
|
||||
/// Carrier information metadata
|
||||
@$pb.TagNumber(19)
|
||||
$pb.PbList<$0.MetadataElement> get carrierInformation => $_getList(16);
|
||||
}
|
||||
|
||||
class AppointmentTriplet extends $pb.GeneratedMessage {
|
||||
|
||||
Reference in New Issue
Block a user