diff --git a/CHANGELOG.md b/CHANGELOG.md index 43bf823a..041eda95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.15.0-SNAPSHOT-260701071113 +Lib version: 1.15.0-SNAPSHOT-260703134614 diff --git a/lib/site.pb.dart b/lib/site.pb.dart index d43ae1c9..18155088 100644 --- a/lib/site.pb.dart +++ b/lib/site.pb.dart @@ -12,7 +12,6 @@ import 'dart:core' as $core; -import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; import 'metadatadef.pb.dart' as $4; @@ -1430,242 +1429,6 @@ class DeleteInstructionDocumentResponse extends $pb.GeneratedMessage { static DeleteInstructionDocumentResponse? _defaultInstance; } -/// GetAvailableSlots -class GetAvailableSlotsRequest extends $pb.GeneratedMessage { - factory GetAvailableSlotsRequest({ - $3.RequestProjectHeader? header, - $3.AppointmentType? appointmentType, - $core.Iterable<$2.Commission>? commissions, - $core.Iterable<$2.SegmentationSelection>? segmentationSelections, - $core.String? startDate, - $core.String? endDate, - $core.Iterable<$core.String>? skippedAppointmentIDs, - $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 (startDate != null) result.startDate = startDate; - if (endDate != null) result.endDate = endDate; - if (skippedAppointmentIDs != null) result.skippedAppointmentIDs.addAll(skippedAppointmentIDs); - if (actorID != null) result.actorID = actorID; - if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation); - if (metaData != null) result.metaData.addAll(metaData); - return result; - } - - GetAvailableSlotsRequest._(); - - factory GetAvailableSlotsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory GetAvailableSlotsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create) - ..e<$3.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $3.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $3.AppointmentType.valueOf, enumValues: $3.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) - ..aOS(5, _omitFieldNames ? '' : 'StartDate', protoName: 'StartDate') - ..aOS(6, _omitFieldNames ? '' : 'EndDate', protoName: 'EndDate') - ..pPS(7, _omitFieldNames ? '' : 'SkippedAppointmentIDs', protoName: 'SkippedAppointmentIDs') - ..aOS(8, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID') - ..pc<$3.MetadataElement>(9, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $3.MetadataElement.create) - ..pc<$3.MetadataElement>(10, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - GetAvailableSlotsRequest clone() => GetAvailableSlotsRequest()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - GetAvailableSlotsRequest copyWith(void Function(GetAvailableSlotsRequest) updates) => super.copyWith((message) => updates(message as GetAvailableSlotsRequest)) as GetAvailableSlotsRequest; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetAvailableSlotsRequest create() => GetAvailableSlotsRequest._(); - @$core.override - GetAvailableSlotsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetAvailableSlotsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetAvailableSlotsRequest? _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 : Loading / Unloading / Both - @$pb.TagNumber(2) - $3.AppointmentType get appointmentType => $_getN(1); - @$pb.TagNumber(2) - set appointmentType($3.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); - - @$pb.TagNumber(5) - $core.String get startDate => $_getSZ(4); - @$pb.TagNumber(5) - set startDate($core.String value) => $_setString(4, value); - @$pb.TagNumber(5) - $core.bool hasStartDate() => $_has(4); - @$pb.TagNumber(5) - void clearStartDate() => $_clearField(5); - - @$pb.TagNumber(6) - $core.String get endDate => $_getSZ(5); - @$pb.TagNumber(6) - set endDate($core.String value) => $_setString(5, value); - @$pb.TagNumber(6) - $core.bool hasEndDate() => $_has(5); - @$pb.TagNumber(6) - void clearEndDate() => $_clearField(6); - - /// Optional, needed to skip counting those appointments in the capacity rules - @$pb.TagNumber(7) - $pb.PbList<$core.String> get skippedAppointmentIDs => $_getList(6); - - @$pb.TagNumber(8) - $core.String get actorID => $_getSZ(7); - @$pb.TagNumber(8) - set actorID($core.String value) => $_setString(7, value); - @$pb.TagNumber(8) - $core.bool hasActorID() => $_has(7); - @$pb.TagNumber(8) - void clearActorID() => $_clearField(8); - - /// Carrier information metadata - @$pb.TagNumber(9) - $pb.PbList<$3.MetadataElement> get carrierInformation => $_getList(8); - - @$pb.TagNumber(10) - $pb.PbList<$3.MetadataElement> get metaData => $_getList(9); -} - -class GetAvailableSlotsResponse extends $pb.GeneratedMessage { - factory GetAvailableSlotsResponse({ - $core.Iterable<$2.SlotGroup>? slotGroups, - $fixnum.Int64? estimatedNeededDurationInMinutes, - }) { - final result = create(); - if (slotGroups != null) result.slotGroups.addAll(slotGroups); - if (estimatedNeededDurationInMinutes != null) result.estimatedNeededDurationInMinutes = estimatedNeededDurationInMinutes; - return result; - } - - GetAvailableSlotsResponse._(); - - factory GetAvailableSlotsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory GetAvailableSlotsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..pc<$2.SlotGroup>(1, _omitFieldNames ? '' : 'SlotGroups', $pb.PbFieldType.PM, protoName: 'SlotGroups', subBuilder: $2.SlotGroup.create) - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'EstimatedNeededDurationInMinutes', $pb.PbFieldType.OU6, protoName: 'EstimatedNeededDurationInMinutes', defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - GetAvailableSlotsResponse clone() => GetAvailableSlotsResponse()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - GetAvailableSlotsResponse copyWith(void Function(GetAvailableSlotsResponse) updates) => super.copyWith((message) => updates(message as GetAvailableSlotsResponse)) as GetAvailableSlotsResponse; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetAvailableSlotsResponse create() => GetAvailableSlotsResponse._(); - @$core.override - GetAvailableSlotsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetAvailableSlotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetAvailableSlotsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $pb.PbList<$2.SlotGroup> get slotGroups => $_getList(0); - - @$pb.TagNumber(2) - $fixnum.Int64 get estimatedNeededDurationInMinutes => $_getI64(1); - @$pb.TagNumber(2) - set estimatedNeededDurationInMinutes($fixnum.Int64 value) => $_setInt64(1, value); - @$pb.TagNumber(2) - $core.bool hasEstimatedNeededDurationInMinutes() => $_has(1); - @$pb.TagNumber(2) - void clearEstimatedNeededDurationInMinutes() => $_clearField(2); -} - -class GetAllSlotsResponse extends $pb.GeneratedMessage { - factory GetAllSlotsResponse({ - $core.Iterable<$2.SlotGroupAndReason>? slotGroupAndReasons, - $fixnum.Int64? estimatedNeededDurationInMinutes, - }) { - final result = create(); - if (slotGroupAndReasons != null) result.slotGroupAndReasons.addAll(slotGroupAndReasons); - if (estimatedNeededDurationInMinutes != null) result.estimatedNeededDurationInMinutes = estimatedNeededDurationInMinutes; - return result; - } - - GetAllSlotsResponse._(); - - factory GetAllSlotsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory GetAllSlotsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..pc<$2.SlotGroupAndReason>(1, _omitFieldNames ? '' : 'SlotGroupAndReasons', $pb.PbFieldType.PM, protoName: 'SlotGroupAndReasons', subBuilder: $2.SlotGroupAndReason.create) - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'EstimatedNeededDurationInMinutes', $pb.PbFieldType.OU6, protoName: 'EstimatedNeededDurationInMinutes', defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - GetAllSlotsResponse clone() => GetAllSlotsResponse()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - GetAllSlotsResponse copyWith(void Function(GetAllSlotsResponse) updates) => super.copyWith((message) => updates(message as GetAllSlotsResponse)) as GetAllSlotsResponse; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetAllSlotsResponse create() => GetAllSlotsResponse._(); - @$core.override - GetAllSlotsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetAllSlotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetAllSlotsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $pb.PbList<$2.SlotGroupAndReason> get slotGroupAndReasons => $_getList(0); - - @$pb.TagNumber(2) - $fixnum.Int64 get estimatedNeededDurationInMinutes => $_getI64(1); - @$pb.TagNumber(2) - set estimatedNeededDurationInMinutes($fixnum.Int64 value) => $_setInt64(1, value); - @$pb.TagNumber(2) - $core.bool hasEstimatedNeededDurationInMinutes() => $_has(1); - @$pb.TagNumber(2) - void clearEstimatedNeededDurationInMinutes() => $_clearField(2); -} - /// CheckAppointmentCommission class CheckAppointmentCommissionRequest extends $pb.GeneratedMessage { factory CheckAppointmentCommissionRequest({ diff --git a/lib/site.pbjson.dart b/lib/site.pbjson.dart index a941ac5d..e7771a2f 100644 --- a/lib/site.pbjson.dart +++ b/lib/site.pbjson.dart @@ -376,77 +376,6 @@ const DeleteInstructionDocumentResponse$json = { final $typed_data.Uint8List deleteInstructionDocumentResponseDescriptor = $convert.base64Decode( 'CiFEZWxldGVJbnN0cnVjdGlvbkRvY3VtZW50UmVzcG9uc2U='); -@$core.Deprecated('Use getAvailableSlotsRequestDescriptor instead') -const GetAvailableSlotsRequest$json = { - '1': 'GetAvailableSlotsRequest', - '2': [ - {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, - {'1': 'AppointmentType', '3': 2, '4': 1, '5': 14, '6': '.api.AppointmentType', '8': {}, '10': 'AppointmentType'}, - {'1': 'Commissions', '3': 3, '4': 3, '5': 11, '6': '.api.Commission', '10': 'Commissions'}, - {'1': 'SegmentationSelections', '3': 4, '4': 3, '5': 11, '6': '.api.SegmentationSelection', '10': 'SegmentationSelections'}, - {'1': 'StartDate', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'StartDate'}, - {'1': 'EndDate', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'EndDate'}, - {'1': 'SkippedAppointmentIDs', '3': 7, '4': 3, '5': 9, '10': 'SkippedAppointmentIDs'}, - {'1': 'ActorID', '3': 8, '4': 1, '5': 9, '10': 'ActorID'}, - {'1': 'CarrierInformation', '3': 9, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'CarrierInformation'}, - {'1': 'MetaData', '3': 10, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'MetaData'}, - ], - '7': {}, -}; - -/// Descriptor for `GetAvailableSlotsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getAvailableSlotsRequestDescriptor = $convert.base64Decode( - 'ChhHZXRBdmFpbGFibGVTbG90c1JlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3' - 'RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchJJCg9BcHBvaW50bWVudFR5cGUYAiAB' - 'KA4yFC5hcGkuQXBwb2ludG1lbnRUeXBlQgm6gQEFggECEAFSD0FwcG9pbnRtZW50VHlwZRIxCg' - 'tDb21taXNzaW9ucxgDIAMoCzIPLmFwaS5Db21taXNzaW9uUgtDb21taXNzaW9ucxJSChZTZWdt' - 'ZW50YXRpb25TZWxlY3Rpb25zGAQgAygLMhouYXBpLlNlZ21lbnRhdGlvblNlbGVjdGlvblIWU2' - 'VnbWVudGF0aW9uU2VsZWN0aW9ucxKWAQoJU3RhcnREYXRlGAUgASgJQniSQTiKATVeMjBbMC05' - 'XXsyfS0oMFsxLTldfDFbMC0yXSktKDBbMS05XXxbMTJdWzAtOV18M1swMV0pJLqBATlyNzI1Xj' - 'IwWzAtOV17Mn0tKDBbMS05XXwxWzAtMl0pLSgwWzEtOV18WzEyXVswLTldfDNbMDFdKSRSCVN0' - 'YXJ0RGF0ZRKSAQoHRW5kRGF0ZRgGIAEoCUJ4kkE4igE1XjIwWzAtOV17Mn0tKDBbMS05XXwxWz' - 'AtMl0pLSgwWzEtOV18WzEyXVswLTldfDNbMDFdKSS6gQE5cjcyNV4yMFswLTldezJ9LSgwWzEt' - 'OV18MVswLTJdKS0oMFsxLTldfFsxMl1bMC05XXwzWzAxXSkkUgdFbmREYXRlEjQKFVNraXBwZW' - 'RBcHBvaW50bWVudElEcxgHIAMoCVIVU2tpcHBlZEFwcG9pbnRtZW50SURzEhgKB0FjdG9ySUQY' - 'CCABKAlSB0FjdG9ySUQScgoSQ2FycmllckluZm9ybWF0aW9uGAkgAygLMhQuYXBpLk1ldGFkYX' - 'RhRWxlbWVudEIskkEeMhxDYXJyaWVyIGluZm9ybWF0aW9uIG1ldGFkYXRhwMEYAerBGANLZXlS' - 'EkNhcnJpZXJJbmZvcm1hdGlvbhLHAQoITWV0YURhdGEYCiADKAsyFC5hcGkuTWV0YWRhdGFFbG' - 'VtZW50QpQBkkGFATKCAU1ldGFkYXRhIGFyZSBjaGFyYWN0ZXJpc3RpY3Mgc3BlY2lmaWMgdG8g' - 'dGhlIHNpdGUuIFRoZXkgY2FuIGJlIG9mIHNldmVyYWwgZGF0YSBmb3JtIChzdHJpbmcsIGludG' - 'VnZXIsIGZsb2F0LCBib29sZWFuIG9yIHRpbWVzdGFtcCnAwRgB6sEYA0tleVIITWV0YURhdGE6' - 'MJJBLQor0gEGSGVhZGVy0gEVU2VnbWVudGF0aW9uU2VsZWN0aW9u0gEHQWN0b3JJRA=='); - -@$core.Deprecated('Use getAvailableSlotsResponseDescriptor instead') -const GetAvailableSlotsResponse$json = { - '1': 'GetAvailableSlotsResponse', - '2': [ - {'1': 'SlotGroups', '3': 1, '4': 3, '5': 11, '6': '.api.SlotGroup', '10': 'SlotGroups'}, - {'1': 'EstimatedNeededDurationInMinutes', '3': 2, '4': 1, '5': 4, '10': 'EstimatedNeededDurationInMinutes'}, - ], -}; - -/// Descriptor for `GetAvailableSlotsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getAvailableSlotsResponseDescriptor = $convert.base64Decode( - 'ChlHZXRBdmFpbGFibGVTbG90c1Jlc3BvbnNlEi4KClNsb3RHcm91cHMYASADKAsyDi5hcGkuU2' - 'xvdEdyb3VwUgpTbG90R3JvdXBzEkoKIEVzdGltYXRlZE5lZWRlZER1cmF0aW9uSW5NaW51dGVz' - 'GAIgASgEUiBFc3RpbWF0ZWROZWVkZWREdXJhdGlvbkluTWludXRlcw=='); - -@$core.Deprecated('Use getAllSlotsResponseDescriptor instead') -const GetAllSlotsResponse$json = { - '1': 'GetAllSlotsResponse', - '2': [ - {'1': 'SlotGroupAndReasons', '3': 1, '4': 3, '5': 11, '6': '.api.SlotGroupAndReason', '10': 'SlotGroupAndReasons'}, - {'1': 'EstimatedNeededDurationInMinutes', '3': 2, '4': 1, '5': 4, '10': 'EstimatedNeededDurationInMinutes'}, - ], -}; - -/// Descriptor for `GetAllSlotsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getAllSlotsResponseDescriptor = $convert.base64Decode( - 'ChNHZXRBbGxTbG90c1Jlc3BvbnNlEkkKE1Nsb3RHcm91cEFuZFJlYXNvbnMYASADKAsyFy5hcG' - 'kuU2xvdEdyb3VwQW5kUmVhc29uUhNTbG90R3JvdXBBbmRSZWFzb25zEkoKIEVzdGltYXRlZE5l' - 'ZWRlZER1cmF0aW9uSW5NaW51dGVzGAIgASgEUiBFc3RpbWF0ZWROZWVkZWREdXJhdGlvbkluTW' - 'ludXRlcw=='); - @$core.Deprecated('Use checkAppointmentCommissionRequestDescriptor instead') const CheckAppointmentCommissionRequest$json = { '1': 'CheckAppointmentCommissionRequest', diff --git a/pubspec.yaml b/pubspec.yaml index ad5b2930..d297b22e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_core_sdk description: dart libs from core model proto files -version: 1.15.0-SNAPSHOT-260701071113 +version: 1.15.0-SNAPSHOT-260703134614 homepage: '' publish_to: '' repository: ''