You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:fixnum/fixnum.dart' as $fixnum;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'repositoryShared.pb.dart' as $69;
|
||||
@@ -41,7 +40,7 @@ class Site extends $pb.GeneratedMessage {
|
||||
$70.Instruction? instruction,
|
||||
$core.Iterable<$70.Document>? instructionDocuments,
|
||||
$core.Iterable<$70.CarrierInformation>? carrierInformation,
|
||||
$fixnum.Int64? roundedPeriodInMinutes,
|
||||
$core.int? roundedPeriodInMinutes,
|
||||
$core.String? timeZone,
|
||||
$core.Iterable<$core.String>? emails,
|
||||
$core.String? defaultSiteLanguageISO6391,
|
||||
@@ -94,7 +93,7 @@ class Site extends $pb.GeneratedMessage {
|
||||
..aOM<$70.Instruction>(15, _omitFieldNames ? '' : 'Instruction', protoName: 'Instruction', subBuilder: $70.Instruction.create)
|
||||
..pc<$70.Document>(16, _omitFieldNames ? '' : 'InstructionDocuments', $pb.PbFieldType.PM, protoName: 'InstructionDocuments', subBuilder: $70.Document.create)
|
||||
..pc<$70.CarrierInformation>(17, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $70.CarrierInformation.create)
|
||||
..aInt64(18, _omitFieldNames ? '' : 'RoundedPeriodInMinutes', protoName: 'RoundedPeriodInMinutes')
|
||||
..a<$core.int>(18, _omitFieldNames ? '' : 'RoundedPeriodInMinutes', $pb.PbFieldType.OU3, protoName: 'RoundedPeriodInMinutes')
|
||||
..aOS(19, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
|
||||
..pPS(20, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
||||
..aOS(21, _omitFieldNames ? '' : 'DefaultSiteLanguageISO6391', protoName: 'DefaultSiteLanguageISO6391')
|
||||
@@ -233,9 +232,9 @@ class Site extends $pb.GeneratedMessage {
|
||||
|
||||
/// Defines the rounded value to define booking period
|
||||
@$pb.TagNumber(18)
|
||||
$fixnum.Int64 get roundedPeriodInMinutes => $_getI64(17);
|
||||
$core.int get roundedPeriodInMinutes => $_getIZ(17);
|
||||
@$pb.TagNumber(18)
|
||||
set roundedPeriodInMinutes($fixnum.Int64 value) => $_setInt64(17, value);
|
||||
set roundedPeriodInMinutes($core.int value) => $_setUnsignedInt32(17, value);
|
||||
@$pb.TagNumber(18)
|
||||
$core.bool hasRoundedPeriodInMinutes() => $_has(17);
|
||||
@$pb.TagNumber(18)
|
||||
@@ -787,7 +786,7 @@ class UpdateSiteRequest extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(17)
|
||||
$pb.PbList<$70.CarrierInformation> get carrierInformation => $_getList(15);
|
||||
|
||||
/// Defines the rounded value of define booking periods in minutes, must be greater than 0.
|
||||
/// Defines the rounded value of periods in minutes, must be greater than 0.
|
||||
@$pb.TagNumber(18)
|
||||
$core.int get roundedPeriodInMinutes => $_getIZ(16);
|
||||
@$pb.TagNumber(18)
|
||||
@@ -1149,7 +1148,6 @@ class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<$70.Segmentation> get segmentations => $_getList(3);
|
||||
|
||||
/// format yyyy-mm-dd, Start date of the range to look for available slots
|
||||
@$pb.TagNumber(5)
|
||||
$core.String get startDate => $_getSZ(4);
|
||||
@$pb.TagNumber(5)
|
||||
@@ -1159,7 +1157,6 @@ class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(5)
|
||||
void clearStartDate() => $_clearField(5);
|
||||
|
||||
/// format yyyy-mm-dd, End date of the range to look for available slots
|
||||
@$pb.TagNumber(6)
|
||||
$core.String get endDate => $_getSZ(5);
|
||||
@$pb.TagNumber(6)
|
||||
|
||||
@@ -35,7 +35,7 @@ const Site$json = {
|
||||
{'1': 'Instruction', '3': 15, '4': 1, '5': 11, '6': '.api.Instruction', '10': 'Instruction'},
|
||||
{'1': 'InstructionDocuments', '3': 16, '4': 3, '5': 11, '6': '.api.Document', '10': 'InstructionDocuments'},
|
||||
{'1': 'CarrierInformation', '3': 17, '4': 3, '5': 11, '6': '.api.CarrierInformation', '10': 'CarrierInformation'},
|
||||
{'1': 'RoundedPeriodInMinutes', '3': 18, '4': 1, '5': 3, '10': 'RoundedPeriodInMinutes'},
|
||||
{'1': 'RoundedPeriodInMinutes', '3': 18, '4': 1, '5': 13, '10': 'RoundedPeriodInMinutes'},
|
||||
{'1': 'TimeZone', '3': 19, '4': 1, '5': 9, '8': {}, '10': 'TimeZone'},
|
||||
{'1': 'Emails', '3': 20, '4': 3, '5': 9, '8': {}, '10': 'Emails'},
|
||||
{'1': 'DefaultSiteLanguageISO6391', '3': 21, '4': 1, '5': 9, '8': {}, '10': 'DefaultSiteLanguageISO6391'},
|
||||
@@ -59,7 +59,7 @@ final $typed_data.Uint8List siteDescriptor = $convert.base64Decode(
|
||||
'ASgLMhAuYXBpLkluc3RydWN0aW9uUgtJbnN0cnVjdGlvbhJBChRJbnN0cnVjdGlvbkRvY3VtZW'
|
||||
'50cxgQIAMoCzINLmFwaS5Eb2N1bWVudFIUSW5zdHJ1Y3Rpb25Eb2N1bWVudHMSRwoSQ2Fycmll'
|
||||
'ckluZm9ybWF0aW9uGBEgAygLMhcuYXBpLkNhcnJpZXJJbmZvcm1hdGlvblISQ2FycmllckluZm'
|
||||
'9ybWF0aW9uEjYKFlJvdW5kZWRQZXJpb2RJbk1pbnV0ZXMYEiABKANSFlJvdW5kZWRQZXJpb2RJ'
|
||||
'9ybWF0aW9uEjYKFlJvdW5kZWRQZXJpb2RJbk1pbnV0ZXMYEiABKA1SFlJvdW5kZWRQZXJpb2RJ'
|
||||
'bk1pbnV0ZXMSnQEKCFRpbWVab25lGBMgASgJQoABkkFzMmFTaXRlIHRpbWUgem9uZSAgPGEgaH'
|
||||
'JlZj0naHR0cHM6Ly9lbi53aWtpcGVkaWEub3JnL3dpa2kvTGlzdF9vZl90el9kYXRhYmFzZV90'
|
||||
'aW1lX3pvbmVzJz5mb3JtYXQ8L2E+Sg4iRXVyb3BlL1BhcmlzIvpCB3IFEAHgAQFSCFRpbWVab2'
|
||||
|
||||
@@ -232,8 +232,6 @@ class Slot extends $pb.GeneratedMessage {
|
||||
static Slot getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Slot>(create);
|
||||
static Slot? _defaultInstance;
|
||||
|
||||
/// Slot start date time,
|
||||
/// format yyyy-mm-jjThh:mm:ss (iso8601 without timezone, because the time zone is defined by the site on which the slot is booked)
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get startDateTime => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -254,7 +252,7 @@ class Slot extends $pb.GeneratedMessage {
|
||||
void clearDurationInSeconds() => $_clearField(3);
|
||||
}
|
||||
|
||||
/// Segmentations
|
||||
/// Segmentation
|
||||
class Segmentation extends $pb.GeneratedMessage {
|
||||
factory Segmentation({
|
||||
$core.String? segmentationID,
|
||||
@@ -297,7 +295,7 @@ class Segmentation extends $pb.GeneratedMessage {
|
||||
static Segmentation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Segmentation>(create);
|
||||
static Segmentation? _defaultInstance;
|
||||
|
||||
/// Identifier of the Segmentation
|
||||
/// Identifier of the Segmentation.
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get segmentationID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -307,11 +305,11 @@ class Segmentation extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
void clearSegmentationID() => $_clearField(1);
|
||||
|
||||
/// Translated labels of the Segmentation
|
||||
/// Translated labels of the Segmentation.
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$3.LabelByLanguage> get segmentationLabels => $_getList(1);
|
||||
|
||||
/// Possible values of the Segmentation
|
||||
/// Possible values of the Segmentation.
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<SegmentationValue> get values => $_getList(2);
|
||||
}
|
||||
@@ -355,7 +353,7 @@ class SegmentationValue extends $pb.GeneratedMessage {
|
||||
static SegmentationValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SegmentationValue>(create);
|
||||
static SegmentationValue? _defaultInstance;
|
||||
|
||||
/// Identifier of the Segmentation value
|
||||
/// Identifier of the Segmentation value.
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get iD => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -365,7 +363,7 @@ class SegmentationValue extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
void clearID() => $_clearField(1);
|
||||
|
||||
/// Translated labels of the Segmentation value
|
||||
/// Translated labels of the Segmentation value.
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$3.LabelByLanguage> get labels => $_getList(1);
|
||||
}
|
||||
@@ -855,7 +853,6 @@ class DurationRule extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
RuleFilter ensureFilter() => $_ensure(0);
|
||||
|
||||
/// Base duration in seconds
|
||||
@$pb.TagNumber(2)
|
||||
$fixnum.Int64 get baseDurationInSeconds => $_getI64(1);
|
||||
@$pb.TagNumber(2)
|
||||
@@ -869,7 +866,6 @@ class DurationRule extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<VariableDuration> get variableDurations => $_getList(2);
|
||||
|
||||
/// Order in which the Rule will be applied
|
||||
@$pb.TagNumber(4)
|
||||
$core.int get orderAppliance => $_getIZ(3);
|
||||
@$pb.TagNumber(4)
|
||||
@@ -919,7 +915,6 @@ class VariableDuration extends $pb.GeneratedMessage {
|
||||
static VariableDuration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<VariableDuration>(create);
|
||||
static VariableDuration? _defaultInstance;
|
||||
|
||||
/// Site unit identifier
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get unitID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -929,7 +924,6 @@ class VariableDuration extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
void clearUnitID() => $_clearField(1);
|
||||
|
||||
/// Duration in seconds
|
||||
@$pb.TagNumber(2)
|
||||
$fixnum.Int64 get durationInSeconds => $_getI64(1);
|
||||
@$pb.TagNumber(2)
|
||||
@@ -1386,7 +1380,7 @@ class ProjectAuthorisation extends $pb.GeneratedMessage {
|
||||
static ProjectAuthorisation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ProjectAuthorisation>(create);
|
||||
static ProjectAuthorisation? _defaultInstance;
|
||||
|
||||
/// Identifier of the project
|
||||
/// Identifier of the project.
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get projectID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -1397,7 +1391,7 @@ class ProjectAuthorisation extends $pb.GeneratedMessage {
|
||||
void clearProjectID() => $_clearField(1);
|
||||
|
||||
/// TODO Do we need explicit flags to show if receipt / ship is allowed / forbidden ?
|
||||
/// Constraints applied for reception appointment
|
||||
/// Constraints applied for reception appointment.
|
||||
@$pb.TagNumber(2)
|
||||
ProjectConstraint get unloadingConstraint => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
@@ -1409,7 +1403,7 @@ class ProjectAuthorisation extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(2)
|
||||
ProjectConstraint ensureUnloadingConstraint() => $_ensure(1);
|
||||
|
||||
/// Constraints applied for expedition appointment
|
||||
/// Constraints applied for expedition appointment.
|
||||
@$pb.TagNumber(3)
|
||||
ProjectConstraint get loadingConstraint => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
@@ -1464,11 +1458,11 @@ class ProjectConstraint extends $pb.GeneratedMessage {
|
||||
static ProjectConstraint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ProjectConstraint>(create);
|
||||
static ProjectConstraint? _defaultInstance;
|
||||
|
||||
/// Specific Segmentation constraints applicable for the project
|
||||
/// Specific Segmentation constraints applicable for the project.
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<SegmentationConstraint> get segmentationConstraints => $_getList(0);
|
||||
|
||||
/// Minimal notice delay to book or cancel an appointment
|
||||
/// Minimal notice delay to book or cancel an appointment.
|
||||
@$pb.TagNumber(2)
|
||||
Period get minNoticePeriod => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
@@ -1480,7 +1474,7 @@ class ProjectConstraint extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(2)
|
||||
Period ensureMinNoticePeriod() => $_ensure(1);
|
||||
|
||||
/// Maximal delay to book an appointment
|
||||
/// Maximal delay to book an appointment.
|
||||
@$pb.TagNumber(3)
|
||||
Period get maxBookingPeriod => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
@@ -1535,7 +1529,7 @@ class SegmentationConstraint extends $pb.GeneratedMessage {
|
||||
static SegmentationConstraint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SegmentationConstraint>(create);
|
||||
static SegmentationConstraint? _defaultInstance;
|
||||
|
||||
/// Identifier of the Segmentation key to constraint
|
||||
/// Identifier of the Segmentation key to constraint.
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get segmentationID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -1545,11 +1539,11 @@ class SegmentationConstraint extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
void clearSegmentationID() => $_clearField(1);
|
||||
|
||||
/// If some Segmentation values are restricted, define here the identifiers to keep
|
||||
/// If some Segmentation values are restricted, define here the identifiers to keep.
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$core.String> get restrictedValueIDs => $_getList(1);
|
||||
|
||||
/// Set to not apply Segmentation value restriction and keep all the values
|
||||
/// Set to not apply Segmentation value restriction and keep all the values.
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool get allAndFutureValues => $_getBF(2);
|
||||
@$pb.TagNumber(3)
|
||||
@@ -1599,7 +1593,7 @@ class ActorAuthorisation extends $pb.GeneratedMessage {
|
||||
static ActorAuthorisation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ActorAuthorisation>(create);
|
||||
static ActorAuthorisation? _defaultInstance;
|
||||
|
||||
/// Constraints applied for reception appointment
|
||||
/// Constraints applied for reception appointment.
|
||||
@$pb.TagNumber(3)
|
||||
ActorConstraint get unloadingConstraint => $_getN(0);
|
||||
@$pb.TagNumber(3)
|
||||
@@ -1611,7 +1605,7 @@ class ActorAuthorisation extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(3)
|
||||
ActorConstraint ensureUnloadingConstraint() => $_ensure(0);
|
||||
|
||||
/// Constraints applied for expedition appointment
|
||||
/// Constraints applied for expedition appointment.
|
||||
@$pb.TagNumber(4)
|
||||
ActorConstraint get loadingConstraint => $_getN(1);
|
||||
@$pb.TagNumber(4)
|
||||
@@ -1663,7 +1657,7 @@ class ActorConstraint extends $pb.GeneratedMessage {
|
||||
static ActorConstraint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ActorConstraint>(create);
|
||||
static ActorConstraint? _defaultInstance;
|
||||
|
||||
/// Specific Segmentation constraints applicable for the project
|
||||
/// Specific Segmentation constraints applicable for the project.
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<SegmentationActorConstraint> get segmentationConstraints => $_getList(0);
|
||||
|
||||
@@ -1728,7 +1722,7 @@ class SegmentationActorConstraint extends $pb.GeneratedMessage {
|
||||
static SegmentationActorConstraint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SegmentationActorConstraint>(create);
|
||||
static SegmentationActorConstraint? _defaultInstance;
|
||||
|
||||
/// Identifier of the Segmentation key to constraint
|
||||
/// Identifier of the Segmentation key to constraint.
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get segmentationID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -1738,11 +1732,11 @@ class SegmentationActorConstraint extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
void clearSegmentationID() => $_clearField(1);
|
||||
|
||||
/// If some Segmentation values are restricted, define here the identifiers to keep
|
||||
/// If some Segmentation values are restricted, define here the identifiers to keep.
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$core.String> get restrictedValueIDs => $_getList(1);
|
||||
|
||||
/// In case of user value choice, to restrict Segmentation values
|
||||
/// In case of user value choice, to restrict Segmentation values.
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool get allValues => $_getBF(2);
|
||||
@$pb.TagNumber(3)
|
||||
@@ -1752,7 +1746,7 @@ class SegmentationActorConstraint extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(3)
|
||||
void clearAllValues() => $_clearField(3);
|
||||
|
||||
/// Define the type of restriction applied on the Segmentation key
|
||||
/// Define the type of restriction applied on the Segmentation key.
|
||||
@$pb.TagNumber(4)
|
||||
SegmentationConstraintType get type => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
@@ -1762,7 +1756,7 @@ class SegmentationActorConstraint extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(4)
|
||||
void clearType() => $_clearField(4);
|
||||
|
||||
/// In case of order attribute choice, to define the attribute path
|
||||
/// In case of order attribute choice, to define the attribute path.
|
||||
@$pb.TagNumber(5)
|
||||
$core.String get attributePath => $_getSZ(4);
|
||||
@$pb.TagNumber(5)
|
||||
|
||||
Reference in New Issue
Block a user