diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fc4875b..a230edbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.13.0-SNAPSHOT-260212100304 +Lib version: 1.13.0-scpn1-9964 diff --git a/lib/appointment.pb.dart b/lib/appointment.pb.dart index 6a2b2b1b..5fc0bffe 100644 --- a/lib/appointment.pb.dart +++ b/lib/appointment.pb.dart @@ -102,24 +102,31 @@ class Appointment extends $pb.GeneratedMessage { class AppointmentPayload extends $pb.GeneratedMessage { factory AppointmentPayload({ $1.AppointmentType? appointmentType, + @$core.Deprecated('This field is deprecated.') $core.Iterable<$1.AppointmentCommission>? commissions, $core.Iterable<$1.SegmentationSelection>? segmentationSelections, $1.Slot? slot, + @$core.Deprecated('This field is deprecated.') $core.Iterable<$core.String>? emails, $2.AppointmentStatusStruct? status, $core.String? creationDate, $core.Iterable<$0.MetadataElement>? metaData, $core.Iterable<$0.AttachmentSummary>? attachments, $core.int? attachmentNumber, + @$core.Deprecated('This field is deprecated.') $core.Iterable<$core.String>? removedEmails, $core.String? reason, $core.bool? instructionAck, $core.Iterable<$0.MetadataElement>? carrierInformation, + @$core.Deprecated('This field is deprecated.') $core.String? actorID, $3.Address? address, $core.String? siteName, - $core.Iterable<$1.QuantityByUnit>? totalQuantities, $core.String? timeZone, + $1.AppointmentContent? loading, + $1.AppointmentContent? unloading, + $core.Iterable<$core.String>? attendees, + $core.Iterable<$core.String>? removedAttendees, }) { final result = create(); if (appointmentType != null) result.appointmentType = appointmentType; @@ -139,8 +146,11 @@ class AppointmentPayload extends $pb.GeneratedMessage { if (actorID != null) result.actorID = actorID; if (address != null) result.address = address; if (siteName != null) result.siteName = siteName; - if (totalQuantities != null) result.totalQuantities.addAll(totalQuantities); if (timeZone != null) result.timeZone = timeZone; + if (loading != null) result.loading = loading; + if (unloading != null) result.unloading = unloading; + if (attendees != null) result.attendees.addAll(attendees); + if (removedAttendees != null) result.removedAttendees.addAll(removedAttendees); return result; } @@ -167,8 +177,11 @@ class AppointmentPayload extends $pb.GeneratedMessage { ..aOS(20, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID') ..aOM<$3.Address>(21, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $3.Address.create) ..aOS(22, _omitFieldNames ? '' : 'SiteName', protoName: 'SiteName') - ..pc<$1.QuantityByUnit>(23, _omitFieldNames ? '' : 'TotalQuantities', $pb.PbFieldType.PM, protoName: 'TotalQuantities', subBuilder: $1.QuantityByUnit.create) ..aOS(24, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') + ..aOM<$1.AppointmentContent>(25, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $1.AppointmentContent.create) + ..aOM<$1.AppointmentContent>(26, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $1.AppointmentContent.create) + ..pPS(27, _omitFieldNames ? '' : 'Attendees', protoName: 'Attendees') + ..pPS(28, _omitFieldNames ? '' : 'RemovedAttendees', protoName: 'RemovedAttendees') ..hasRequiredFields = false ; @@ -200,7 +213,8 @@ class AppointmentPayload extends $pb.GeneratedMessage { void clearAppointmentType() => $_clearField(1); /// List of the orders and projects for which the appointment is made, with the quantities - /// TODO ?? + /// TODO Remove after upgrade model + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $pb.PbList<$1.AppointmentCommission> get commissions => $_getList(1); @@ -222,6 +236,7 @@ class AppointmentPayload extends $pb.GeneratedMessage { /// User mails being notified on this appointment /// TODO Need to add a structure to store platform user identifiers which can act on this appointment ? + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(7) $pb.PbList<$core.String> get emails => $_getList(4); @@ -263,6 +278,7 @@ class AppointmentPayload extends $pb.GeneratedMessage { void clearAttachmentNumber() => $_clearField(14); /// Emails removed from the appointment + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(16) $pb.PbList<$core.String> get removedEmails => $_getList(10); @@ -291,12 +307,16 @@ class AppointmentPayload extends $pb.GeneratedMessage { $pb.PbList<$0.MetadataElement> get carrierInformation => $_getList(13); /// Empty attribute, just used for inpout api payloads to resolve the site resource from project context with actor alias + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(20) $core.String get actorID => $_getSZ(14); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(20) set actorID($core.String value) => $_setString(14, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(20) $core.bool hasActorID() => $_has(14); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(20) void clearActorID() => $_clearField(20); @@ -322,19 +342,47 @@ class AppointmentPayload extends $pb.GeneratedMessage { @$pb.TagNumber(22) void clearSiteName() => $_clearField(22); - /// Total volumetry in all commissions inside the truck. - @$pb.TagNumber(23) - $pb.PbList<$1.QuantityByUnit> get totalQuantities => $_getList(17); - /// time zone of the site on which the appointment is booked @$pb.TagNumber(24) - $core.String get timeZone => $_getSZ(18); + $core.String get timeZone => $_getSZ(17); @$pb.TagNumber(24) - set timeZone($core.String value) => $_setString(18, value); + set timeZone($core.String value) => $_setString(17, value); @$pb.TagNumber(24) - $core.bool hasTimeZone() => $_has(18); + $core.bool hasTimeZone() => $_has(17); @$pb.TagNumber(24) void clearTimeZone() => $_clearField(24); + + /// Loading content + @$pb.TagNumber(25) + $1.AppointmentContent get loading => $_getN(18); + @$pb.TagNumber(25) + set loading($1.AppointmentContent value) => $_setField(25, value); + @$pb.TagNumber(25) + $core.bool hasLoading() => $_has(18); + @$pb.TagNumber(25) + void clearLoading() => $_clearField(25); + @$pb.TagNumber(25) + $1.AppointmentContent ensureLoading() => $_ensure(18); + + /// Unoading content + @$pb.TagNumber(26) + $1.AppointmentContent get unloading => $_getN(19); + @$pb.TagNumber(26) + set unloading($1.AppointmentContent value) => $_setField(26, value); + @$pb.TagNumber(26) + $core.bool hasUnloading() => $_has(19); + @$pb.TagNumber(26) + void clearUnloading() => $_clearField(26); + @$pb.TagNumber(26) + $1.AppointmentContent ensureUnloading() => $_ensure(19); + + /// User being notified on this appointment + @$pb.TagNumber(27) + $pb.PbList<$core.String> get attendees => $_getList(20); + + /// Emails removed from the appointment + @$pb.TagNumber(28) + $pb.PbList<$core.String> get removedAttendees => $_getList(21); } class AppointmentTriplet extends $pb.GeneratedMessage { diff --git a/lib/appointment.pbjson.dart b/lib/appointment.pbjson.dart index afff8a41..b6fa45ea 100644 --- a/lib/appointment.pbjson.dart +++ b/lib/appointment.pbjson.dart @@ -37,12 +37,34 @@ const AppointmentPayload$json = { '1': 'AppointmentPayload', '2': [ {'1': 'AppointmentType', '3': 1, '4': 1, '5': 14, '6': '.api.AppointmentType', '10': 'AppointmentType'}, - {'1': 'Commissions', '3': 2, '4': 3, '5': 11, '6': '.api.AppointmentCommission', '10': 'Commissions'}, + { + '1': 'Commissions', + '3': 2, + '4': 3, + '5': 11, + '6': '.api.AppointmentCommission', + '8': {'3': true}, + '10': 'Commissions', + }, {'1': 'SegmentationSelections', '3': 4, '4': 3, '5': 11, '6': '.api.SegmentationSelection', '10': 'SegmentationSelections'}, {'1': 'CarrierInformation', '3': 19, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'CarrierInformation'}, {'1': 'Slot', '3': 6, '4': 1, '5': 11, '6': '.api.Slot', '10': 'Slot'}, - {'1': 'Emails', '3': 7, '4': 3, '5': 9, '8': {}, '10': 'Emails'}, - {'1': 'RemovedEmails', '3': 16, '4': 3, '5': 9, '8': {}, '10': 'RemovedEmails'}, + { + '1': 'Emails', + '3': 7, + '4': 3, + '5': 9, + '8': {'3': true}, + '10': 'Emails', + }, + { + '1': 'RemovedEmails', + '3': 16, + '4': 3, + '5': 9, + '8': {'3': true}, + '10': 'RemovedEmails', + }, {'1': 'Status', '3': 8, '4': 1, '5': 11, '6': '.api.AppointmentStatusStruct', '8': {}, '10': 'Status'}, {'1': 'CreationDate', '3': 9, '4': 1, '5': 9, '8': {}, '10': 'CreationDate'}, {'1': 'MetaData', '3': 10, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'MetaData'}, @@ -50,11 +72,21 @@ const AppointmentPayload$json = { {'1': 'AttachmentNumber', '3': 14, '4': 1, '5': 5, '8': {}, '10': 'AttachmentNumber'}, {'1': 'Reason', '3': 17, '4': 1, '5': 9, '10': 'Reason'}, {'1': 'InstructionAck', '3': 18, '4': 1, '5': 8, '10': 'InstructionAck'}, - {'1': 'ActorID', '3': 20, '4': 1, '5': 9, '8': {}, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 20, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, {'1': 'Address', '3': 21, '4': 1, '5': 11, '6': '.api.Address', '10': 'Address'}, {'1': 'SiteName', '3': 22, '4': 1, '5': 9, '10': 'SiteName'}, - {'1': 'TotalQuantities', '3': 23, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '10': 'TotalQuantities'}, {'1': 'TimeZone', '3': 24, '4': 1, '5': 9, '10': 'TimeZone'}, + {'1': 'Loading', '3': 25, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Loading'}, + {'1': 'Unloading', '3': 26, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'}, + {'1': 'Attendees', '3': 27, '4': 3, '5': 9, '8': {}, '10': 'Attendees'}, + {'1': 'RemovedAttendees', '3': 28, '4': 3, '5': 9, '8': {}, '10': 'RemovedAttendees'}, ], '7': {}, }; @@ -62,38 +94,45 @@ const AppointmentPayload$json = { /// Descriptor for `AppointmentPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentPayloadDescriptor = $convert.base64Decode( 'ChJBcHBvaW50bWVudFBheWxvYWQSPgoPQXBwb2ludG1lbnRUeXBlGAEgASgOMhQuYXBpLkFwcG' - '9pbnRtZW50VHlwZVIPQXBwb2ludG1lbnRUeXBlEjwKC0NvbW1pc3Npb25zGAIgAygLMhouYXBp' - 'LkFwcG9pbnRtZW50Q29tbWlzc2lvblILQ29tbWlzc2lvbnMSUgoWU2VnbWVudGF0aW9uU2VsZW' - 'N0aW9ucxgEIAMoCzIaLmFwaS5TZWdtZW50YXRpb25TZWxlY3Rpb25SFlNlZ21lbnRhdGlvblNl' - 'bGVjdGlvbnMScgoSQ2FycmllckluZm9ybWF0aW9uGBMgAygLMhQuYXBpLk1ldGFkYXRhRWxlbW' - 'VudEIskkEeMhxDYXJyaWVyIGluZm9ybWF0aW9uIG1ldGFkYXRhwMEYAerBGANLZXlSEkNhcnJp' - 'ZXJJbmZvcm1hdGlvbhIdCgRTbG90GAYgASgLMgkuYXBpLlNsb3RSBFNsb3QSmwEKBkVtYWlscx' - 'gHIAMoCUKCAZJBUTIdTXVzdCBiZSBhIHZhbGlkIGVtYWlsIGFkZHJlc3NKMFsiSm9obi5kb2VA' - 'cmVmbGV4LmNvbSIsICJ3aWxsLnNtaXRoQHJlZmxleC5jb20iXfpCDpIBCwgBIgdyBWAB8AEB8s' - 'EYGUVtYWlsc1JlbW92ZWQsRW1haWxzQWRkZWRSBkVtYWlscxI8Cg1SZW1vdmVkRW1haWxzGBAg' - 'AygJQhaSQQJAAfLBGA1FbWFpbHNSZW1vdmVkUg1SZW1vdmVkRW1haWxzEmUKBlN0YXR1cxgIIA' - 'EoCzIcLmFwaS5BcHBvaW50bWVudFN0YXR1c1N0cnVjdEIvkkEbMhlTdGF0dXMgb2YgdGhlIGFw' - 'cG9pbnRtZW508sEYDVN0YXR1c1VwZGF0ZWRSBlN0YXR1cxI7CgxDcmVhdGlvbkRhdGUYCSABKA' - 'lCF/pCBXID0AEB2sIYCwoJCgEqEgRkYXRlUgxDcmVhdGlvbkRhdGUSxwEKCE1ldGFEYXRhGAog' - 'AygLMhQuYXBpLk1ldGFkYXRhRWxlbWVudEKUAZJBhQEyggFNZXRhZGF0YSBhcmUgY2hhcmFjdG' - 'VyaXN0aWNzIHNwZWNpZmljIHRvIHRoZSBzaXRlLiBUaGV5IGNhbiBiZSBvZiBzZXZlcmFsIGRh' - 'dGEgZm9ybSAoc3RyaW5nLCBpbnRlZ2VyLCBmbG9hdCwgYm9vbGVhbiBvciB0aW1lc3RhbXApwM' - 'EYAerBGANLZXlSCE1ldGFEYXRhEoIBCgtBdHRhY2htZW50cxgNIAMoCzIWLmFwaS5BdHRhY2ht' - 'ZW50U3VtbWFyeUJIkkEgMh5OdW1iZXIgb2YgYXR0YWNobWVudHMgcGVyIHR5cGXywRghQXR0YW' - 'NobWVudEFkZGVkLEF0dGFjaG1lbnRSZW1vdmVkUgtBdHRhY2htZW50cxJMChBBdHRhY2htZW50' - 'TnVtYmVyGA4gASgFQiCSQR0yG1RvdGFsIG51bWJlciBvZiBhdHRhY2htZW50c1IQQXR0YWNobW' - 'VudE51bWJlchIWCgZSZWFzb24YESABKAlSBlJlYXNvbhImCg5JbnN0cnVjdGlvbkFjaxgSIAEo' - 'CFIOSW5zdHJ1Y3Rpb25BY2sS1gIKB0FjdG9ySUQYFCABKAlCuwLywRi2AkNyZWF0ZWQsQ2FuY2' - 'VsZWQsU2xvdFVwZGF0ZWQsQ29tbWlzc2lvbnNVcGRhdGVkLENhcnJpZXJJbmZvcm1hdGlvblVw' - 'ZGF0ZWQsQ2FycmllckV4cGVjdGVkLEFsbG9jYXRpb25FcnJvcixDYXJyaWVyQXJyaXZlZCxMb2' - 'FkaW5nU3RhcnRlZCxMb2FkaW5nQ29tcGxldGVkLFVubG9hZGluZ1N0YXJ0ZWQsVW5sb2FkaW5n' - 'Q29tcGxldGVkLENhcnJpZXJEZXBhcnRlZCxNZXRhRGF0YVVwZGF0ZWQsQXR0YWNobWVudEFkZG' - 'VkLEF0dGFjaG1lbnRSZW1vdmVkLEVtYWlsc0FkZGVkLEVtYWlsc1JlbW92ZWQsU2FuaXRpc2Vk' - 'LEN1c3RvbUZpZWxkc1VwZGF0ZWRSB0FjdG9ySUQSJgoHQWRkcmVzcxgVIAEoCzIMLmFwaS5BZG' - 'RyZXNzUgdBZGRyZXNzEhoKCFNpdGVOYW1lGBYgASgJUghTaXRlTmFtZRI9Cg9Ub3RhbFF1YW50' - 'aXRpZXMYFyADKAsyEy5hcGkuUXVhbnRpdHlCeVVuaXRSD1RvdGFsUXVhbnRpdGllcxIaCghUaW' - '1lWm9uZRgYIAEoCVIIVGltZVpvbmU6J5JBJAoi0gEPQXBwb2ludG1lbnRUeXBl0gENU2VnbWVu' - 'dGF0aW9ucw=='); + '9pbnRtZW50VHlwZVIPQXBwb2ludG1lbnRUeXBlEpgBCgtDb21taXNzaW9ucxgCIAMoCzIaLmFw' + 'aS5BcHBvaW50bWVudENvbW1pc3Npb25CWhgBkkFNMklEZXByZWNhdGVkIGZpZWxkLCB0byBiZS' + 'ByZW1vdmVkLiBVc2UgTG9hZGluZyBhbmQgVW5sb2FkaW5nIGZpZWxkcyBpbnN0ZWFkQAH6QgWS' + 'AQIQAFILQ29tbWlzc2lvbnMSUgoWU2VnbWVudGF0aW9uU2VsZWN0aW9ucxgEIAMoCzIaLmFwaS' + '5TZWdtZW50YXRpb25TZWxlY3Rpb25SFlNlZ21lbnRhdGlvblNlbGVjdGlvbnMScgoSQ2Fycmll' + 'ckluZm9ybWF0aW9uGBMgAygLMhQuYXBpLk1ldGFkYXRhRWxlbWVudEIskkEeMhxDYXJyaWVyIG' + 'luZm9ybWF0aW9uIG1ldGFkYXRhwMEYAerBGANLZXlSEkNhcnJpZXJJbmZvcm1hdGlvbhIdCgRT' + 'bG90GAYgASgLMgkuYXBpLlNsb3RSBFNsb3QSiwEKBkVtYWlscxgHIAMoCUJzGAGSQUAyPERlcH' + 'JlY2F0ZWQgZmllbGQsIHRvIGJlIHJlbW92ZWQuIFVzZSBBdHRlbmRlZXMgZmllbGQgaW5zdGVh' + 'ZEAB+kIOkgELEAAiB3IFYAHwAQHywRgZRW1haWxzUmVtb3ZlZCxFbWFpbHNBZGRlZFIGRW1haW' + 'xzEosBCg1SZW1vdmVkRW1haWxzGBAgAygJQmUYAZJBRzJDRGVwcmVjYXRlZCBmaWVsZCwgdG8g' + 'YmUgcmVtb3ZlZC4gVXNlIFJlbW92ZWRBdHRlbmRlZXMgZmllbGQgaW5zdGVhZEAB+kIFkgECEA' + 'DywRgNRW1haWxzUmVtb3ZlZFINUmVtb3ZlZEVtYWlscxJlCgZTdGF0dXMYCCABKAsyHC5hcGku' + 'QXBwb2ludG1lbnRTdGF0dXNTdHJ1Y3RCL5JBGzIZU3RhdHVzIG9mIHRoZSBhcHBvaW50bWVudP' + 'LBGA1TdGF0dXNVcGRhdGVkUgZTdGF0dXMSOwoMQ3JlYXRpb25EYXRlGAkgASgJQhf6QgVyA9AB' + 'AdrCGAsKCQoBKhIEZGF0ZVIMQ3JlYXRpb25EYXRlEscBCghNZXRhRGF0YRgKIAMoCzIULmFwaS' + '5NZXRhZGF0YUVsZW1lbnRClAGSQYUBMoIBTWV0YWRhdGEgYXJlIGNoYXJhY3RlcmlzdGljcyBz' + 'cGVjaWZpYyB0byB0aGUgc2l0ZS4gVGhleSBjYW4gYmUgb2Ygc2V2ZXJhbCBkYXRhIGZvcm0gKH' + 'N0cmluZywgaW50ZWdlciwgZmxvYXQsIGJvb2xlYW4gb3IgdGltZXN0YW1wKcDBGAHqwRgDS2V5' + 'UghNZXRhRGF0YRKCAQoLQXR0YWNobWVudHMYDSADKAsyFi5hcGkuQXR0YWNobWVudFN1bW1hcn' + 'lCSJJBIDIeTnVtYmVyIG9mIGF0dGFjaG1lbnRzIHBlciB0eXBl8sEYIUF0dGFjaG1lbnRBZGRl' + 'ZCxBdHRhY2htZW50UmVtb3ZlZFILQXR0YWNobWVudHMSTAoQQXR0YWNobWVudE51bWJlchgOIA' + 'EoBUIgkkEdMhtUb3RhbCBudW1iZXIgb2YgYXR0YWNobWVudHNSEEF0dGFjaG1lbnROdW1iZXIS' + 'FgoGUmVhc29uGBEgASgJUgZSZWFzb24SJgoOSW5zdHJ1Y3Rpb25BY2sYEiABKAhSDkluc3RydW' + 'N0aW9uQWNrEtgCCgdBY3RvcklEGBQgASgJQr0CGAHywRi2AkNyZWF0ZWQsQ2FuY2VsZWQsU2xv' + 'dFVwZGF0ZWQsQ29tbWlzc2lvbnNVcGRhdGVkLENhcnJpZXJJbmZvcm1hdGlvblVwZGF0ZWQsQ2' + 'FycmllckV4cGVjdGVkLEFsbG9jYXRpb25FcnJvcixDYXJyaWVyQXJyaXZlZCxMb2FkaW5nU3Rh' + 'cnRlZCxMb2FkaW5nQ29tcGxldGVkLFVubG9hZGluZ1N0YXJ0ZWQsVW5sb2FkaW5nQ29tcGxldG' + 'VkLENhcnJpZXJEZXBhcnRlZCxNZXRhRGF0YVVwZGF0ZWQsQXR0YWNobWVudEFkZGVkLEF0dGFj' + 'aG1lbnRSZW1vdmVkLEVtYWlsc0FkZGVkLEVtYWlsc1JlbW92ZWQsU2FuaXRpc2VkLEN1c3RvbU' + 'ZpZWxkc1VwZGF0ZWRSB0FjdG9ySUQSJgoHQWRkcmVzcxgVIAEoCzIMLmFwaS5BZGRyZXNzUgdB' + 'ZGRyZXNzEhoKCFNpdGVOYW1lGBYgASgJUghTaXRlTmFtZRIaCghUaW1lWm9uZRgYIAEoCVIIVG' + 'ltZVpvbmUSMQoHTG9hZGluZxgZIAEoCzIXLmFwaS5BcHBvaW50bWVudENvbnRlbnRSB0xvYWRp' + 'bmcSNQoJVW5sb2FkaW5nGBogASgLMhcuYXBpLkFwcG9pbnRtZW50Q29udGVudFIJVW5sb2FkaW' + '5nEmgKCUF0dGVuZGVlcxgbIAMoCUJKkkEeMhxBdHRlbmRlZXMgb2YgdGhlIGFwcG9pbnRtZW50' + '+kIFkgECCAHywRgOQXR0ZW5kZWVzQWRkZWTawhgLCgkKASoSBHVzZXJSCUF0dGVuZGVlcxJUCh' + 'BSZW1vdmVkQXR0ZW5kZWVzGBwgAygJQiiSQQJAAfLBGBBBdHRlbmRlZXNSZW1vdmVk2sIYCwoJ' + 'CgEqEgR1c2VyUhBSZW1vdmVkQXR0ZW5kZWVzOieSQSQKItIBD0FwcG9pbnRtZW50VHlwZdIBDV' + 'NlZ21lbnRhdGlvbnM='); @$core.Deprecated('Use appointmentTripletDescriptor instead') const AppointmentTriplet$json = { diff --git a/lib/appointmentAction.pb.dart b/lib/appointmentAction.pb.dart index 725f0c0b..c820719a 100644 --- a/lib/appointmentAction.pb.dart +++ b/lib/appointmentAction.pb.dart @@ -26,37 +26,39 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; class AppointmentNotifyPayload extends $pb.GeneratedMessage { factory AppointmentNotifyPayload({ $0.AppointmentType? appointmentType, - $core.Iterable<$0.AppointmentCommission>? commissions, $core.Iterable<$0.SegmentationSelection>? segmentationSelections, $0.Slot? slot, - $core.Iterable<$core.String>? emails, $1.AppointmentStatusStruct? status, $core.String? creationDate, $core.Iterable<$2.MetadataElement>? metaData, $core.Iterable<$2.AttachmentSummary>? attachments, $core.int? attachmentNumber, - $core.Iterable<$core.String>? removedEmails, $core.String? reason, $core.bool? instructionAck, $core.Iterable<$2.MetadataElement>? carrierInformation, $core.String? timeZone, + $0.AppointmentContent? loading, + $0.AppointmentContent? unloading, + $core.Iterable<$core.String>? attendees, + $core.Iterable<$core.String>? removedAttendees, }) { final result = create(); if (appointmentType != null) result.appointmentType = appointmentType; - if (commissions != null) result.commissions.addAll(commissions); if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections); if (slot != null) result.slot = slot; - if (emails != null) result.emails.addAll(emails); if (status != null) result.status = status; if (creationDate != null) result.creationDate = creationDate; if (metaData != null) result.metaData.addAll(metaData); if (attachments != null) result.attachments.addAll(attachments); if (attachmentNumber != null) result.attachmentNumber = attachmentNumber; - 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); if (timeZone != null) result.timeZone = timeZone; + if (loading != null) result.loading = loading; + if (unloading != null) result.unloading = unloading; + if (attendees != null) result.attendees.addAll(attendees); + if (removedAttendees != null) result.removedAttendees.addAll(removedAttendees); return result; } @@ -67,20 +69,21 @@ class AppointmentNotifyPayload extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentNotifyPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..e<$0.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $0.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $0.AppointmentType.valueOf, enumValues: $0.AppointmentType.values) - ..pc<$0.AppointmentCommission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $0.AppointmentCommission.create) ..pc<$0.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $0.SegmentationSelection.create) ..aOM<$0.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $0.Slot.create) - ..pPS(7, _omitFieldNames ? '' : 'Emails', protoName: 'Emails') ..aOM<$1.AppointmentStatusStruct>(8, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $1.AppointmentStatusStruct.create) ..aOS(9, _omitFieldNames ? '' : 'CreationDate', protoName: 'CreationDate') ..pc<$2.MetadataElement>(10, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $2.MetadataElement.create) ..pc<$2.AttachmentSummary>(13, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $2.AttachmentSummary.create) ..a<$core.int>(14, _omitFieldNames ? '' : 'AttachmentNumber', $pb.PbFieldType.O3, protoName: 'AttachmentNumber') - ..pPS(16, _omitFieldNames ? '' : 'RemovedEmails', protoName: 'RemovedEmails') ..aOS(17, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') ..aOB(18, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck') ..pc<$2.MetadataElement>(19, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.MetadataElement.create) ..aOS(20, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') + ..aOM<$0.AppointmentContent>(21, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $0.AppointmentContent.create) + ..aOM<$0.AppointmentContent>(22, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $0.AppointmentContent.create) + ..pPS(23, _omitFieldNames ? '' : 'Attendees', protoName: 'Attendees') + ..pPS(24, _omitFieldNames ? '' : 'RemovedAttendees', protoName: 'RemovedAttendees') ..hasRequiredFields = false ; @@ -110,95 +113,117 @@ class AppointmentNotifyPayload extends $pb.GeneratedMessage { @$pb.TagNumber(1) void clearAppointmentType() => $_clearField(1); - @$pb.TagNumber(2) - $pb.PbList<$0.AppointmentCommission> get commissions => $_getList(1); - + /// repeated AppointmentCommission Commissions = 2; @$pb.TagNumber(4) - $pb.PbList<$0.SegmentationSelection> get segmentationSelections => $_getList(2); + $pb.PbList<$0.SegmentationSelection> get segmentationSelections => $_getList(1); @$pb.TagNumber(6) - $0.Slot get slot => $_getN(3); + $0.Slot get slot => $_getN(2); @$pb.TagNumber(6) set slot($0.Slot value) => $_setField(6, value); @$pb.TagNumber(6) - $core.bool hasSlot() => $_has(3); + $core.bool hasSlot() => $_has(2); @$pb.TagNumber(6) void clearSlot() => $_clearField(6); @$pb.TagNumber(6) - $0.Slot ensureSlot() => $_ensure(3); - - @$pb.TagNumber(7) - $pb.PbList<$core.String> get emails => $_getList(4); + $0.Slot ensureSlot() => $_ensure(2); + /// repeated string Emails = 7; + /// repeated string RemovedEmails = 16; @$pb.TagNumber(8) - $1.AppointmentStatusStruct get status => $_getN(5); + $1.AppointmentStatusStruct get status => $_getN(3); @$pb.TagNumber(8) set status($1.AppointmentStatusStruct value) => $_setField(8, value); @$pb.TagNumber(8) - $core.bool hasStatus() => $_has(5); + $core.bool hasStatus() => $_has(3); @$pb.TagNumber(8) void clearStatus() => $_clearField(8); @$pb.TagNumber(8) - $1.AppointmentStatusStruct ensureStatus() => $_ensure(5); + $1.AppointmentStatusStruct ensureStatus() => $_ensure(3); @$pb.TagNumber(9) - $core.String get creationDate => $_getSZ(6); + $core.String get creationDate => $_getSZ(4); @$pb.TagNumber(9) - set creationDate($core.String value) => $_setString(6, value); + set creationDate($core.String value) => $_setString(4, value); @$pb.TagNumber(9) - $core.bool hasCreationDate() => $_has(6); + $core.bool hasCreationDate() => $_has(4); @$pb.TagNumber(9) void clearCreationDate() => $_clearField(9); @$pb.TagNumber(10) - $pb.PbList<$2.MetadataElement> get metaData => $_getList(7); + $pb.PbList<$2.MetadataElement> get metaData => $_getList(5); /// string CarrierID = 11; /// string CarrierName = 12; @$pb.TagNumber(13) - $pb.PbList<$2.AttachmentSummary> get attachments => $_getList(8); + $pb.PbList<$2.AttachmentSummary> get attachments => $_getList(6); @$pb.TagNumber(14) - $core.int get attachmentNumber => $_getIZ(9); + $core.int get attachmentNumber => $_getIZ(7); @$pb.TagNumber(14) - set attachmentNumber($core.int value) => $_setSignedInt32(9, value); + set attachmentNumber($core.int value) => $_setSignedInt32(7, value); @$pb.TagNumber(14) - $core.bool hasAttachmentNumber() => $_has(9); + $core.bool hasAttachmentNumber() => $_has(7); @$pb.TagNumber(14) void clearAttachmentNumber() => $_clearField(14); - @$pb.TagNumber(16) - $pb.PbList<$core.String> get removedEmails => $_getList(10); - @$pb.TagNumber(17) - $core.String get reason => $_getSZ(11); + $core.String get reason => $_getSZ(8); @$pb.TagNumber(17) - set reason($core.String value) => $_setString(11, value); + set reason($core.String value) => $_setString(8, value); @$pb.TagNumber(17) - $core.bool hasReason() => $_has(11); + $core.bool hasReason() => $_has(8); @$pb.TagNumber(17) void clearReason() => $_clearField(17); @$pb.TagNumber(18) - $core.bool get instructionAck => $_getBF(12); + $core.bool get instructionAck => $_getBF(9); @$pb.TagNumber(18) - set instructionAck($core.bool value) => $_setBool(12, value); + set instructionAck($core.bool value) => $_setBool(9, value); @$pb.TagNumber(18) - $core.bool hasInstructionAck() => $_has(12); + $core.bool hasInstructionAck() => $_has(9); @$pb.TagNumber(18) void clearInstructionAck() => $_clearField(18); @$pb.TagNumber(19) - $pb.PbList<$2.MetadataElement> get carrierInformation => $_getList(13); + $pb.PbList<$2.MetadataElement> get carrierInformation => $_getList(10); @$pb.TagNumber(20) - $core.String get timeZone => $_getSZ(14); + $core.String get timeZone => $_getSZ(11); @$pb.TagNumber(20) - set timeZone($core.String value) => $_setString(14, value); + set timeZone($core.String value) => $_setString(11, value); @$pb.TagNumber(20) - $core.bool hasTimeZone() => $_has(14); + $core.bool hasTimeZone() => $_has(11); @$pb.TagNumber(20) void clearTimeZone() => $_clearField(20); + + @$pb.TagNumber(21) + $0.AppointmentContent get loading => $_getN(12); + @$pb.TagNumber(21) + set loading($0.AppointmentContent value) => $_setField(21, value); + @$pb.TagNumber(21) + $core.bool hasLoading() => $_has(12); + @$pb.TagNumber(21) + void clearLoading() => $_clearField(21); + @$pb.TagNumber(21) + $0.AppointmentContent ensureLoading() => $_ensure(12); + + @$pb.TagNumber(22) + $0.AppointmentContent get unloading => $_getN(13); + @$pb.TagNumber(22) + set unloading($0.AppointmentContent value) => $_setField(22, value); + @$pb.TagNumber(22) + $core.bool hasUnloading() => $_has(13); + @$pb.TagNumber(22) + void clearUnloading() => $_clearField(22); + @$pb.TagNumber(22) + $0.AppointmentContent ensureUnloading() => $_ensure(13); + + @$pb.TagNumber(23) + $pb.PbList<$core.String> get attendees => $_getList(14); + + @$pb.TagNumber(24) + $pb.PbList<$core.String> get removedAttendees => $_getList(15); } class AppointmentNotify extends $pb.GeneratedMessage { @@ -311,37 +336,39 @@ class AppointmentNotify extends $pb.GeneratedMessage { class AppointmentMailPayload extends $pb.GeneratedMessage { factory AppointmentMailPayload({ $0.AppointmentType? appointmentType, - $core.Iterable<$0.AppointmentCommission>? commissions, $core.Iterable<$0.SegmentationSelection>? segmentationSelections, $0.Slot? slot, - $core.Iterable<$core.String>? emails, $1.AppointmentStatusStruct? status, $core.String? creationDate, $core.Iterable<$2.MetadataElement>? metaData, $core.Iterable<$2.AttachmentSummary>? attachments, $core.int? attachmentNumber, - $core.Iterable<$core.String>? removedEmails, $core.String? reason, $3.Address? address, $core.Iterable<$2.MetadataElement>? carrierInformation, $core.String? siteName, + $0.AppointmentContent? loading, + $0.AppointmentContent? unloading, + $core.Iterable<$core.String>? attendees, + $core.Iterable<$core.String>? removedAttendees, }) { final result = create(); if (appointmentType != null) result.appointmentType = appointmentType; - if (commissions != null) result.commissions.addAll(commissions); if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections); if (slot != null) result.slot = slot; - if (emails != null) result.emails.addAll(emails); if (status != null) result.status = status; if (creationDate != null) result.creationDate = creationDate; if (metaData != null) result.metaData.addAll(metaData); if (attachments != null) result.attachments.addAll(attachments); if (attachmentNumber != null) result.attachmentNumber = attachmentNumber; - if (removedEmails != null) result.removedEmails.addAll(removedEmails); if (reason != null) result.reason = reason; if (address != null) result.address = address; if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation); if (siteName != null) result.siteName = siteName; + if (loading != null) result.loading = loading; + if (unloading != null) result.unloading = unloading; + if (attendees != null) result.attendees.addAll(attendees); + if (removedAttendees != null) result.removedAttendees.addAll(removedAttendees); return result; } @@ -352,20 +379,21 @@ class AppointmentMailPayload extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentMailPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..e<$0.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $0.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $0.AppointmentType.valueOf, enumValues: $0.AppointmentType.values) - ..pc<$0.AppointmentCommission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $0.AppointmentCommission.create) ..pc<$0.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $0.SegmentationSelection.create) ..aOM<$0.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $0.Slot.create) - ..pPS(7, _omitFieldNames ? '' : 'Emails', protoName: 'Emails') ..aOM<$1.AppointmentStatusStruct>(8, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $1.AppointmentStatusStruct.create) ..aOS(9, _omitFieldNames ? '' : 'CreationDate', protoName: 'CreationDate') ..pc<$2.MetadataElement>(10, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $2.MetadataElement.create) ..pc<$2.AttachmentSummary>(13, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $2.AttachmentSummary.create) ..a<$core.int>(14, _omitFieldNames ? '' : 'AttachmentNumber', $pb.PbFieldType.O3, protoName: 'AttachmentNumber') - ..pPS(16, _omitFieldNames ? '' : 'RemovedEmails', protoName: 'RemovedEmails') ..aOS(17, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') ..aOM<$3.Address>(18, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $3.Address.create) ..pc<$2.MetadataElement>(19, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.MetadataElement.create) ..aOS(20, _omitFieldNames ? '' : 'SiteName', protoName: 'SiteName') + ..aOM<$0.AppointmentContent>(21, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $0.AppointmentContent.create) + ..aOM<$0.AppointmentContent>(22, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $0.AppointmentContent.create) + ..pPS(23, _omitFieldNames ? '' : 'Attendees', protoName: 'Attendees') + ..pPS(24, _omitFieldNames ? '' : 'RemovedAttendees', protoName: 'RemovedAttendees') ..hasRequiredFields = false ; @@ -395,99 +423,121 @@ class AppointmentMailPayload extends $pb.GeneratedMessage { @$pb.TagNumber(1) void clearAppointmentType() => $_clearField(1); - @$pb.TagNumber(2) - $pb.PbList<$0.AppointmentCommission> get commissions => $_getList(1); - + /// repeated AppointmentCommission Commissions = 2; @$pb.TagNumber(4) - $pb.PbList<$0.SegmentationSelection> get segmentationSelections => $_getList(2); + $pb.PbList<$0.SegmentationSelection> get segmentationSelections => $_getList(1); @$pb.TagNumber(6) - $0.Slot get slot => $_getN(3); + $0.Slot get slot => $_getN(2); @$pb.TagNumber(6) set slot($0.Slot value) => $_setField(6, value); @$pb.TagNumber(6) - $core.bool hasSlot() => $_has(3); + $core.bool hasSlot() => $_has(2); @$pb.TagNumber(6) void clearSlot() => $_clearField(6); @$pb.TagNumber(6) - $0.Slot ensureSlot() => $_ensure(3); - - @$pb.TagNumber(7) - $pb.PbList<$core.String> get emails => $_getList(4); + $0.Slot ensureSlot() => $_ensure(2); + /// repeated string Emails = 7; + /// repeated string RemovedEmails = 16; @$pb.TagNumber(8) - $1.AppointmentStatusStruct get status => $_getN(5); + $1.AppointmentStatusStruct get status => $_getN(3); @$pb.TagNumber(8) set status($1.AppointmentStatusStruct value) => $_setField(8, value); @$pb.TagNumber(8) - $core.bool hasStatus() => $_has(5); + $core.bool hasStatus() => $_has(3); @$pb.TagNumber(8) void clearStatus() => $_clearField(8); @$pb.TagNumber(8) - $1.AppointmentStatusStruct ensureStatus() => $_ensure(5); + $1.AppointmentStatusStruct ensureStatus() => $_ensure(3); @$pb.TagNumber(9) - $core.String get creationDate => $_getSZ(6); + $core.String get creationDate => $_getSZ(4); @$pb.TagNumber(9) - set creationDate($core.String value) => $_setString(6, value); + set creationDate($core.String value) => $_setString(4, value); @$pb.TagNumber(9) - $core.bool hasCreationDate() => $_has(6); + $core.bool hasCreationDate() => $_has(4); @$pb.TagNumber(9) void clearCreationDate() => $_clearField(9); @$pb.TagNumber(10) - $pb.PbList<$2.MetadataElement> get metaData => $_getList(7); + $pb.PbList<$2.MetadataElement> get metaData => $_getList(5); /// string CarrierID = 11; /// string CarrierName = 12; @$pb.TagNumber(13) - $pb.PbList<$2.AttachmentSummary> get attachments => $_getList(8); + $pb.PbList<$2.AttachmentSummary> get attachments => $_getList(6); @$pb.TagNumber(14) - $core.int get attachmentNumber => $_getIZ(9); + $core.int get attachmentNumber => $_getIZ(7); @$pb.TagNumber(14) - set attachmentNumber($core.int value) => $_setSignedInt32(9, value); + set attachmentNumber($core.int value) => $_setSignedInt32(7, value); @$pb.TagNumber(14) - $core.bool hasAttachmentNumber() => $_has(9); + $core.bool hasAttachmentNumber() => $_has(7); @$pb.TagNumber(14) void clearAttachmentNumber() => $_clearField(14); - @$pb.TagNumber(16) - $pb.PbList<$core.String> get removedEmails => $_getList(10); - @$pb.TagNumber(17) - $core.String get reason => $_getSZ(11); + $core.String get reason => $_getSZ(8); @$pb.TagNumber(17) - set reason($core.String value) => $_setString(11, value); + set reason($core.String value) => $_setString(8, value); @$pb.TagNumber(17) - $core.bool hasReason() => $_has(11); + $core.bool hasReason() => $_has(8); @$pb.TagNumber(17) void clearReason() => $_clearField(17); /// Address of the appointment site @$pb.TagNumber(18) - $3.Address get address => $_getN(12); + $3.Address get address => $_getN(9); @$pb.TagNumber(18) set address($3.Address value) => $_setField(18, value); @$pb.TagNumber(18) - $core.bool hasAddress() => $_has(12); + $core.bool hasAddress() => $_has(9); @$pb.TagNumber(18) void clearAddress() => $_clearField(18); @$pb.TagNumber(18) - $3.Address ensureAddress() => $_ensure(12); + $3.Address ensureAddress() => $_ensure(9); @$pb.TagNumber(19) - $pb.PbList<$2.MetadataElement> get carrierInformation => $_getList(13); + $pb.PbList<$2.MetadataElement> get carrierInformation => $_getList(10); /// Name of the appointment site @$pb.TagNumber(20) - $core.String get siteName => $_getSZ(14); + $core.String get siteName => $_getSZ(11); @$pb.TagNumber(20) - set siteName($core.String value) => $_setString(14, value); + set siteName($core.String value) => $_setString(11, value); @$pb.TagNumber(20) - $core.bool hasSiteName() => $_has(14); + $core.bool hasSiteName() => $_has(11); @$pb.TagNumber(20) void clearSiteName() => $_clearField(20); + + @$pb.TagNumber(21) + $0.AppointmentContent get loading => $_getN(12); + @$pb.TagNumber(21) + set loading($0.AppointmentContent value) => $_setField(21, value); + @$pb.TagNumber(21) + $core.bool hasLoading() => $_has(12); + @$pb.TagNumber(21) + void clearLoading() => $_clearField(21); + @$pb.TagNumber(21) + $0.AppointmentContent ensureLoading() => $_ensure(12); + + @$pb.TagNumber(22) + $0.AppointmentContent get unloading => $_getN(13); + @$pb.TagNumber(22) + set unloading($0.AppointmentContent value) => $_setField(22, value); + @$pb.TagNumber(22) + $core.bool hasUnloading() => $_has(13); + @$pb.TagNumber(22) + void clearUnloading() => $_clearField(22); + @$pb.TagNumber(22) + $0.AppointmentContent ensureUnloading() => $_ensure(13); + + @$pb.TagNumber(23) + $pb.PbList<$core.String> get attendees => $_getList(14); + + @$pb.TagNumber(24) + $pb.PbList<$core.String> get removedAttendees => $_getList(15); } class AppointmentMail extends $pb.GeneratedMessage { diff --git a/lib/appointmentAction.pbjson.dart b/lib/appointmentAction.pbjson.dart index 07b652cc..ecbc1db7 100644 --- a/lib/appointmentAction.pbjson.dart +++ b/lib/appointmentAction.pbjson.dart @@ -19,12 +19,9 @@ const AppointmentNotifyPayload$json = { '1': 'AppointmentNotifyPayload', '2': [ {'1': 'AppointmentType', '3': 1, '4': 1, '5': 14, '6': '.api.AppointmentType', '10': 'AppointmentType'}, - {'1': 'Commissions', '3': 2, '4': 3, '5': 11, '6': '.api.AppointmentCommission', '10': 'Commissions'}, {'1': 'SegmentationSelections', '3': 4, '4': 3, '5': 11, '6': '.api.SegmentationSelection', '10': 'SegmentationSelections'}, {'1': 'CarrierInformation', '3': 19, '4': 3, '5': 11, '6': '.api.MetadataElement', '10': 'CarrierInformation'}, {'1': 'Slot', '3': 6, '4': 1, '5': 11, '6': '.api.Slot', '10': 'Slot'}, - {'1': 'Emails', '3': 7, '4': 3, '5': 9, '10': 'Emails'}, - {'1': 'RemovedEmails', '3': 16, '4': 3, '5': 9, '10': 'RemovedEmails'}, {'1': 'Status', '3': 8, '4': 1, '5': 11, '6': '.api.AppointmentStatusStruct', '10': 'Status'}, {'1': 'CreationDate', '3': 9, '4': 1, '5': 9, '10': 'CreationDate'}, {'1': 'MetaData', '3': 10, '4': 3, '5': 11, '6': '.api.MetadataElement', '10': 'MetaData'}, @@ -33,6 +30,10 @@ const AppointmentNotifyPayload$json = { {'1': 'Reason', '3': 17, '4': 1, '5': 9, '10': 'Reason'}, {'1': 'InstructionAck', '3': 18, '4': 1, '5': 8, '10': 'InstructionAck'}, {'1': 'TimeZone', '3': 20, '4': 1, '5': 9, '10': 'TimeZone'}, + {'1': 'Loading', '3': 21, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Loading'}, + {'1': 'Unloading', '3': 22, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'}, + {'1': 'Attendees', '3': 23, '4': 3, '5': 9, '10': 'Attendees'}, + {'1': 'RemovedAttendees', '3': 24, '4': 3, '5': 9, '10': 'RemovedAttendees'}, ], '7': {}, }; @@ -40,19 +41,20 @@ const AppointmentNotifyPayload$json = { /// Descriptor for `AppointmentNotifyPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentNotifyPayloadDescriptor = $convert.base64Decode( 'ChhBcHBvaW50bWVudE5vdGlmeVBheWxvYWQSPgoPQXBwb2ludG1lbnRUeXBlGAEgASgOMhQuYX' - 'BpLkFwcG9pbnRtZW50VHlwZVIPQXBwb2ludG1lbnRUeXBlEjwKC0NvbW1pc3Npb25zGAIgAygL' - 'MhouYXBpLkFwcG9pbnRtZW50Q29tbWlzc2lvblILQ29tbWlzc2lvbnMSUgoWU2VnbWVudGF0aW' - '9uU2VsZWN0aW9ucxgEIAMoCzIaLmFwaS5TZWdtZW50YXRpb25TZWxlY3Rpb25SFlNlZ21lbnRh' - 'dGlvblNlbGVjdGlvbnMSRAoSQ2FycmllckluZm9ybWF0aW9uGBMgAygLMhQuYXBpLk1ldGFkYX' - 'RhRWxlbWVudFISQ2FycmllckluZm9ybWF0aW9uEh0KBFNsb3QYBiABKAsyCS5hcGkuU2xvdFIE' - 'U2xvdBIWCgZFbWFpbHMYByADKAlSBkVtYWlscxIkCg1SZW1vdmVkRW1haWxzGBAgAygJUg1SZW' - '1vdmVkRW1haWxzEjQKBlN0YXR1cxgIIAEoCzIcLmFwaS5BcHBvaW50bWVudFN0YXR1c1N0cnVj' - 'dFIGU3RhdHVzEiIKDENyZWF0aW9uRGF0ZRgJIAEoCVIMQ3JlYXRpb25EYXRlEjAKCE1ldGFEYX' - 'RhGAogAygLMhQuYXBpLk1ldGFkYXRhRWxlbWVudFIITWV0YURhdGESOAoLQXR0YWNobWVudHMY' - 'DSADKAsyFi5hcGkuQXR0YWNobWVudFN1bW1hcnlSC0F0dGFjaG1lbnRzEioKEEF0dGFjaG1lbn' - 'ROdW1iZXIYDiABKAVSEEF0dGFjaG1lbnROdW1iZXISFgoGUmVhc29uGBEgASgJUgZSZWFzb24S' - 'JgoOSW5zdHJ1Y3Rpb25BY2sYEiABKAhSDkluc3RydWN0aW9uQWNrEhoKCFRpbWVab25lGBQgAS' - 'gJUghUaW1lWm9uZToZorsYB0NvbW1hbmSouxgBsrsYBk5vdGlmeQ=='); + 'BpLkFwcG9pbnRtZW50VHlwZVIPQXBwb2ludG1lbnRUeXBlElIKFlNlZ21lbnRhdGlvblNlbGVj' + 'dGlvbnMYBCADKAsyGi5hcGkuU2VnbWVudGF0aW9uU2VsZWN0aW9uUhZTZWdtZW50YXRpb25TZW' + 'xlY3Rpb25zEkQKEkNhcnJpZXJJbmZvcm1hdGlvbhgTIAMoCzIULmFwaS5NZXRhZGF0YUVsZW1l' + 'bnRSEkNhcnJpZXJJbmZvcm1hdGlvbhIdCgRTbG90GAYgASgLMgkuYXBpLlNsb3RSBFNsb3QSNA' + 'oGU3RhdHVzGAggASgLMhwuYXBpLkFwcG9pbnRtZW50U3RhdHVzU3RydWN0UgZTdGF0dXMSIgoM' + 'Q3JlYXRpb25EYXRlGAkgASgJUgxDcmVhdGlvbkRhdGUSMAoITWV0YURhdGEYCiADKAsyFC5hcG' + 'kuTWV0YWRhdGFFbGVtZW50UghNZXRhRGF0YRI4CgtBdHRhY2htZW50cxgNIAMoCzIWLmFwaS5B' + 'dHRhY2htZW50U3VtbWFyeVILQXR0YWNobWVudHMSKgoQQXR0YWNobWVudE51bWJlchgOIAEoBV' + 'IQQXR0YWNobWVudE51bWJlchIWCgZSZWFzb24YESABKAlSBlJlYXNvbhImCg5JbnN0cnVjdGlv' + 'bkFjaxgSIAEoCFIOSW5zdHJ1Y3Rpb25BY2sSGgoIVGltZVpvbmUYFCABKAlSCFRpbWVab25lEj' + 'EKB0xvYWRpbmcYFSABKAsyFy5hcGkuQXBwb2ludG1lbnRDb250ZW50UgdMb2FkaW5nEjUKCVVu' + 'bG9hZGluZxgWIAEoCzIXLmFwaS5BcHBvaW50bWVudENvbnRlbnRSCVVubG9hZGluZxIcCglBdH' + 'RlbmRlZXMYFyADKAlSCUF0dGVuZGVlcxIqChBSZW1vdmVkQXR0ZW5kZWVzGBggAygJUhBSZW1v' + 'dmVkQXR0ZW5kZWVzOhmiuxgHQ29tbWFuZKi7GAGyuxgGTm90aWZ5'); @$core.Deprecated('Use appointmentNotifyDescriptor instead') const AppointmentNotify$json = { @@ -81,12 +83,9 @@ const AppointmentMailPayload$json = { '1': 'AppointmentMailPayload', '2': [ {'1': 'AppointmentType', '3': 1, '4': 1, '5': 14, '6': '.api.AppointmentType', '10': 'AppointmentType'}, - {'1': 'Commissions', '3': 2, '4': 3, '5': 11, '6': '.api.AppointmentCommission', '10': 'Commissions'}, {'1': 'SegmentationSelections', '3': 4, '4': 3, '5': 11, '6': '.api.SegmentationSelection', '10': 'SegmentationSelections'}, {'1': 'CarrierInformation', '3': 19, '4': 3, '5': 11, '6': '.api.MetadataElement', '10': 'CarrierInformation'}, {'1': 'Slot', '3': 6, '4': 1, '5': 11, '6': '.api.Slot', '10': 'Slot'}, - {'1': 'Emails', '3': 7, '4': 3, '5': 9, '10': 'Emails'}, - {'1': 'RemovedEmails', '3': 16, '4': 3, '5': 9, '10': 'RemovedEmails'}, {'1': 'Status', '3': 8, '4': 1, '5': 11, '6': '.api.AppointmentStatusStruct', '10': 'Status'}, {'1': 'CreationDate', '3': 9, '4': 1, '5': 9, '10': 'CreationDate'}, {'1': 'MetaData', '3': 10, '4': 3, '5': 11, '6': '.api.MetadataElement', '10': 'MetaData'}, @@ -95,6 +94,10 @@ const AppointmentMailPayload$json = { {'1': 'Reason', '3': 17, '4': 1, '5': 9, '10': 'Reason'}, {'1': 'Address', '3': 18, '4': 1, '5': 11, '6': '.api.Address', '10': 'Address'}, {'1': 'SiteName', '3': 20, '4': 1, '5': 9, '10': 'SiteName'}, + {'1': 'Loading', '3': 21, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Loading'}, + {'1': 'Unloading', '3': 22, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'}, + {'1': 'Attendees', '3': 23, '4': 3, '5': 9, '10': 'Attendees'}, + {'1': 'RemovedAttendees', '3': 24, '4': 3, '5': 9, '10': 'RemovedAttendees'}, ], '7': {}, }; @@ -102,19 +105,20 @@ const AppointmentMailPayload$json = { /// Descriptor for `AppointmentMailPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentMailPayloadDescriptor = $convert.base64Decode( 'ChZBcHBvaW50bWVudE1haWxQYXlsb2FkEj4KD0FwcG9pbnRtZW50VHlwZRgBIAEoDjIULmFwaS' - '5BcHBvaW50bWVudFR5cGVSD0FwcG9pbnRtZW50VHlwZRI8CgtDb21taXNzaW9ucxgCIAMoCzIa' - 'LmFwaS5BcHBvaW50bWVudENvbW1pc3Npb25SC0NvbW1pc3Npb25zElIKFlNlZ21lbnRhdGlvbl' - 'NlbGVjdGlvbnMYBCADKAsyGi5hcGkuU2VnbWVudGF0aW9uU2VsZWN0aW9uUhZTZWdtZW50YXRp' - 'b25TZWxlY3Rpb25zEkQKEkNhcnJpZXJJbmZvcm1hdGlvbhgTIAMoCzIULmFwaS5NZXRhZGF0YU' - 'VsZW1lbnRSEkNhcnJpZXJJbmZvcm1hdGlvbhIdCgRTbG90GAYgASgLMgkuYXBpLlNsb3RSBFNs' - 'b3QSFgoGRW1haWxzGAcgAygJUgZFbWFpbHMSJAoNUmVtb3ZlZEVtYWlscxgQIAMoCVINUmVtb3' - 'ZlZEVtYWlscxI0CgZTdGF0dXMYCCABKAsyHC5hcGkuQXBwb2ludG1lbnRTdGF0dXNTdHJ1Y3RS' - 'BlN0YXR1cxIiCgxDcmVhdGlvbkRhdGUYCSABKAlSDENyZWF0aW9uRGF0ZRIwCghNZXRhRGF0YR' - 'gKIAMoCzIULmFwaS5NZXRhZGF0YUVsZW1lbnRSCE1ldGFEYXRhEjgKC0F0dGFjaG1lbnRzGA0g' - 'AygLMhYuYXBpLkF0dGFjaG1lbnRTdW1tYXJ5UgtBdHRhY2htZW50cxIqChBBdHRhY2htZW50Tn' - 'VtYmVyGA4gASgFUhBBdHRhY2htZW50TnVtYmVyEhYKBlJlYXNvbhgRIAEoCVIGUmVhc29uEiYK' - 'B0FkZHJlc3MYEiABKAsyDC5hcGkuQWRkcmVzc1IHQWRkcmVzcxIaCghTaXRlTmFtZRgUIAEoCV' - 'IIU2l0ZU5hbWU6F6K7GAdDb21tYW5kqLsYAbK7GARNYWls'); + '5BcHBvaW50bWVudFR5cGVSD0FwcG9pbnRtZW50VHlwZRJSChZTZWdtZW50YXRpb25TZWxlY3Rp' + 'b25zGAQgAygLMhouYXBpLlNlZ21lbnRhdGlvblNlbGVjdGlvblIWU2VnbWVudGF0aW9uU2VsZW' + 'N0aW9ucxJEChJDYXJyaWVySW5mb3JtYXRpb24YEyADKAsyFC5hcGkuTWV0YWRhdGFFbGVtZW50' + 'UhJDYXJyaWVySW5mb3JtYXRpb24SHQoEU2xvdBgGIAEoCzIJLmFwaS5TbG90UgRTbG90EjQKBl' + 'N0YXR1cxgIIAEoCzIcLmFwaS5BcHBvaW50bWVudFN0YXR1c1N0cnVjdFIGU3RhdHVzEiIKDENy' + 'ZWF0aW9uRGF0ZRgJIAEoCVIMQ3JlYXRpb25EYXRlEjAKCE1ldGFEYXRhGAogAygLMhQuYXBpLk' + '1ldGFkYXRhRWxlbWVudFIITWV0YURhdGESOAoLQXR0YWNobWVudHMYDSADKAsyFi5hcGkuQXR0' + 'YWNobWVudFN1bW1hcnlSC0F0dGFjaG1lbnRzEioKEEF0dGFjaG1lbnROdW1iZXIYDiABKAVSEE' + 'F0dGFjaG1lbnROdW1iZXISFgoGUmVhc29uGBEgASgJUgZSZWFzb24SJgoHQWRkcmVzcxgSIAEo' + 'CzIMLmFwaS5BZGRyZXNzUgdBZGRyZXNzEhoKCFNpdGVOYW1lGBQgASgJUghTaXRlTmFtZRIxCg' + 'dMb2FkaW5nGBUgASgLMhcuYXBpLkFwcG9pbnRtZW50Q29udGVudFIHTG9hZGluZxI1CglVbmxv' + 'YWRpbmcYFiABKAsyFy5hcGkuQXBwb2ludG1lbnRDb250ZW50UglVbmxvYWRpbmcSHAoJQXR0ZW' + '5kZWVzGBcgAygJUglBdHRlbmRlZXMSKgoQUmVtb3ZlZEF0dGVuZGVlcxgYIAMoCVIQUmVtb3Zl' + 'ZEF0dGVuZGVlczoXorsYB0NvbW1hbmSouxgBsrsYBE1haWw='); @$core.Deprecated('Use appointmentMailDescriptor instead') const AppointmentMail$json = { diff --git a/lib/appointmentInput.pb.dart b/lib/appointmentInput.pb.dart index 3aa35108..e93fa234 100644 --- a/lib/appointmentInput.pb.dart +++ b/lib/appointmentInput.pb.dart @@ -24,26 +24,25 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; class AppointmentCreatedPayload extends $pb.GeneratedMessage { factory AppointmentCreatedPayload({ $1.AppointmentType? appointmentType, - $core.Iterable<$1.AppointmentCommission>? commissions, $core.Iterable<$1.SegmentationSelection>? segmentationSelections, $1.Slot? slot, - $core.Iterable<$core.String>? emails, $core.Iterable<$2.MetadataElement>? metaData, $core.String? reason, $core.bool? instructionAck, $core.Iterable<$2.MetadataElement>? carrierInformation, + @$core.Deprecated('This field is deprecated.') $core.String? actorID, $3.Address? address, $core.String? siteName, - $core.Iterable<$1.QuantityByUnit>? totalQuantities, $core.String? timeZone, + $1.AppointmentContent? loading, + $1.AppointmentContent? unloading, + $core.Iterable<$core.String>? attendees, }) { final result = create(); if (appointmentType != null) result.appointmentType = appointmentType; - if (commissions != null) result.commissions.addAll(commissions); if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections); if (slot != null) result.slot = slot; - if (emails != null) result.emails.addAll(emails); if (metaData != null) result.metaData.addAll(metaData); if (reason != null) result.reason = reason; if (instructionAck != null) result.instructionAck = instructionAck; @@ -51,8 +50,10 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage { if (actorID != null) result.actorID = actorID; if (address != null) result.address = address; if (siteName != null) result.siteName = siteName; - if (totalQuantities != null) result.totalQuantities.addAll(totalQuantities); if (timeZone != null) result.timeZone = timeZone; + if (loading != null) result.loading = loading; + if (unloading != null) result.unloading = unloading; + if (attendees != null) result.attendees.addAll(attendees); return result; } @@ -63,10 +64,8 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentCreatedPayload', 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.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $1.SegmentationSelection.create) ..aOM<$1.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $1.Slot.create) - ..pPS(7, _omitFieldNames ? '' : 'Emails', protoName: 'Emails') ..pc<$2.MetadataElement>(8, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $2.MetadataElement.create) ..aOS(12, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') ..aOB(14, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck') @@ -74,8 +73,10 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage { ..aOS(16, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID') ..aOM<$3.Address>(17, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $3.Address.create) ..aOS(18, _omitFieldNames ? '' : 'SiteName', protoName: 'SiteName') - ..pc<$1.QuantityByUnit>(19, _omitFieldNames ? '' : 'TotalQuantities', $pb.PbFieldType.PM, protoName: 'TotalQuantities', subBuilder: $1.QuantityByUnit.create) ..aOS(20, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') + ..aOM<$1.AppointmentContent>(25, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $1.AppointmentContent.create) + ..aOM<$1.AppointmentContent>(26, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $1.AppointmentContent.create) + ..pPS(27, _omitFieldNames ? '' : 'Attendees', protoName: 'Attendees') ..hasRequiredFields = false ; @@ -106,103 +107,120 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage { @$pb.TagNumber(1) void clearAppointmentType() => $_clearField(1); - /// 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); - /// Set of segmentation constraining the slot booking @$pb.TagNumber(4) - $pb.PbList<$1.SegmentationSelection> get segmentationSelections => $_getList(2); + $pb.PbList<$1.SegmentationSelection> get segmentationSelections => $_getList(1); /// The slot booked for the appointment @$pb.TagNumber(6) - $1.Slot get slot => $_getN(3); + $1.Slot get slot => $_getN(2); @$pb.TagNumber(6) set slot($1.Slot value) => $_setField(6, value); @$pb.TagNumber(6) - $core.bool hasSlot() => $_has(3); + $core.bool hasSlot() => $_has(2); @$pb.TagNumber(6) void clearSlot() => $_clearField(6); @$pb.TagNumber(6) - $1.Slot ensureSlot() => $_ensure(3); - - /// 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); + $1.Slot ensureSlot() => $_ensure(2); @$pb.TagNumber(8) - $pb.PbList<$2.MetadataElement> get metaData => $_getList(5); + $pb.PbList<$2.MetadataElement> get metaData => $_getList(3); /// string CarrierID = 10; /// string CarrierName = 11; @$pb.TagNumber(12) - $core.String get reason => $_getSZ(6); + $core.String get reason => $_getSZ(4); @$pb.TagNumber(12) - set reason($core.String value) => $_setString(6, value); + set reason($core.String value) => $_setString(4, value); @$pb.TagNumber(12) - $core.bool hasReason() => $_has(6); + $core.bool hasReason() => $_has(4); @$pb.TagNumber(12) void clearReason() => $_clearField(12); @$pb.TagNumber(14) - $core.bool get instructionAck => $_getBF(7); + $core.bool get instructionAck => $_getBF(5); @$pb.TagNumber(14) - set instructionAck($core.bool value) => $_setBool(7, value); + set instructionAck($core.bool value) => $_setBool(5, value); @$pb.TagNumber(14) - $core.bool hasInstructionAck() => $_has(7); + $core.bool hasInstructionAck() => $_has(5); @$pb.TagNumber(14) void clearInstructionAck() => $_clearField(14); /// Carrier information metadata @$pb.TagNumber(15) - $pb.PbList<$2.MetadataElement> get carrierInformation => $_getList(8); + $pb.PbList<$2.MetadataElement> get carrierInformation => $_getList(6); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(16) - $core.String get actorID => $_getSZ(9); + $core.String get actorID => $_getSZ(7); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(16) - set actorID($core.String value) => $_setString(9, value); + set actorID($core.String value) => $_setString(7, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(16) - $core.bool hasActorID() => $_has(9); + $core.bool hasActorID() => $_has(7); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(16) void clearActorID() => $_clearField(16); /// Address of the appointment site @$pb.TagNumber(17) - $3.Address get address => $_getN(10); + $3.Address get address => $_getN(8); @$pb.TagNumber(17) set address($3.Address value) => $_setField(17, value); @$pb.TagNumber(17) - $core.bool hasAddress() => $_has(10); + $core.bool hasAddress() => $_has(8); @$pb.TagNumber(17) void clearAddress() => $_clearField(17); @$pb.TagNumber(17) - $3.Address ensureAddress() => $_ensure(10); + $3.Address ensureAddress() => $_ensure(8); /// Name of the appointment site @$pb.TagNumber(18) - $core.String get siteName => $_getSZ(11); + $core.String get siteName => $_getSZ(9); @$pb.TagNumber(18) - set siteName($core.String value) => $_setString(11, value); + set siteName($core.String value) => $_setString(9, value); @$pb.TagNumber(18) - $core.bool hasSiteName() => $_has(11); + $core.bool hasSiteName() => $_has(9); @$pb.TagNumber(18) void clearSiteName() => $_clearField(18); - /// Total volumetry in all commissions inside the truck. - @$pb.TagNumber(19) - $pb.PbList<$1.QuantityByUnit> get totalQuantities => $_getList(12); - /// time zone of the site on which the appointment is booked @$pb.TagNumber(20) - $core.String get timeZone => $_getSZ(13); + $core.String get timeZone => $_getSZ(10); @$pb.TagNumber(20) - set timeZone($core.String value) => $_setString(13, value); + set timeZone($core.String value) => $_setString(10, value); @$pb.TagNumber(20) - $core.bool hasTimeZone() => $_has(13); + $core.bool hasTimeZone() => $_has(10); @$pb.TagNumber(20) void clearTimeZone() => $_clearField(20); + + /// Loading content + @$pb.TagNumber(25) + $1.AppointmentContent get loading => $_getN(11); + @$pb.TagNumber(25) + set loading($1.AppointmentContent value) => $_setField(25, value); + @$pb.TagNumber(25) + $core.bool hasLoading() => $_has(11); + @$pb.TagNumber(25) + void clearLoading() => $_clearField(25); + @$pb.TagNumber(25) + $1.AppointmentContent ensureLoading() => $_ensure(11); + + /// Unoading content + @$pb.TagNumber(26) + $1.AppointmentContent get unloading => $_getN(12); + @$pb.TagNumber(26) + set unloading($1.AppointmentContent value) => $_setField(26, value); + @$pb.TagNumber(26) + $core.bool hasUnloading() => $_has(12); + @$pb.TagNumber(26) + void clearUnloading() => $_clearField(26); + @$pb.TagNumber(26) + $1.AppointmentContent ensureUnloading() => $_ensure(12); + + @$pb.TagNumber(27) + $pb.PbList<$core.String> get attendees => $_getList(13); } /// Event message @@ -425,6 +443,7 @@ class AppointmentCreatedResponse extends $pb.GeneratedMessage { /// Event Payload class AppointmentCanceledPayload extends $pb.GeneratedMessage { factory AppointmentCanceledPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -459,12 +478,16 @@ class AppointmentCanceledPayload extends $pb.GeneratedMessage { static AppointmentCanceledPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentCanceledPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); } @@ -690,6 +713,7 @@ class AppointmentCanceledResponse extends $pb.GeneratedMessage { class AppointmentSlotUpdatedPayload extends $pb.GeneratedMessage { factory AppointmentSlotUpdatedPayload({ $1.Slot? slot, + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -737,12 +761,16 @@ class AppointmentSlotUpdatedPayload extends $pb.GeneratedMessage { @$pb.TagNumber(1) $1.Slot ensureSlot() => $_ensure(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.String get actorID => $_getSZ(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) set actorID($core.String value) => $_setString(1, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.bool hasActorID() => $_has(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) void clearActorID() => $_clearField(2); } @@ -967,16 +995,17 @@ class AppointmentSlotUpdatedResponse extends $pb.GeneratedMessage { /// Event Payload class AppointmentCommissionsUpdatedPayload extends $pb.GeneratedMessage { factory AppointmentCommissionsUpdatedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, - $core.Iterable<$1.AppointmentCommission>? commissions, - $core.Iterable<$1.QuantityByUnit>? totalQuantities, $core.String? reason, + $1.AppointmentContent? loading, + $1.AppointmentContent? unloading, }) { final result = create(); if (actorID != null) result.actorID = actorID; - if (commissions != null) result.commissions.addAll(commissions); - if (totalQuantities != null) result.totalQuantities.addAll(totalQuantities); if (reason != null) result.reason = reason; + if (loading != null) result.loading = loading; + if (unloading != null) result.unloading = unloading; return result; } @@ -987,9 +1016,9 @@ class AppointmentCommissionsUpdatedPayload extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentCommissionsUpdatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID') - ..pc<$1.AppointmentCommission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $1.AppointmentCommission.create) - ..pc<$1.QuantityByUnit>(3, _omitFieldNames ? '' : 'TotalQuantities', $pb.PbFieldType.PM, protoName: 'TotalQuantities', subBuilder: $1.QuantityByUnit.create) ..aOS(4, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') + ..aOM<$1.AppointmentContent>(5, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $1.AppointmentContent.create) + ..aOM<$1.AppointmentContent>(6, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $1.AppointmentContent.create) ..hasRequiredFields = false ; @@ -1010,30 +1039,54 @@ class AppointmentCommissionsUpdatedPayload extends $pb.GeneratedMessage { static AppointmentCommissionsUpdatedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentCommissionsUpdatedPayload? _defaultInstance; + /// repeated AppointmentCommission Commissions = 2; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); - @$pb.TagNumber(2) - $pb.PbList<$1.AppointmentCommission> get commissions => $_getList(1); - - /// Total volumetry in all commissions inside the truck. - @$pb.TagNumber(3) - $pb.PbList<$1.QuantityByUnit> get totalQuantities => $_getList(2); - + /// Total volumetry in all commissions inside the truck. + /// repeated QuantityByUnit TotalQuantities = 3; @$pb.TagNumber(4) - $core.String get reason => $_getSZ(3); + $core.String get reason => $_getSZ(1); @$pb.TagNumber(4) - set reason($core.String value) => $_setString(3, value); + set reason($core.String value) => $_setString(1, value); @$pb.TagNumber(4) - $core.bool hasReason() => $_has(3); + $core.bool hasReason() => $_has(1); @$pb.TagNumber(4) void clearReason() => $_clearField(4); + + /// Loading content + @$pb.TagNumber(5) + $1.AppointmentContent get loading => $_getN(2); + @$pb.TagNumber(5) + set loading($1.AppointmentContent value) => $_setField(5, value); + @$pb.TagNumber(5) + $core.bool hasLoading() => $_has(2); + @$pb.TagNumber(5) + void clearLoading() => $_clearField(5); + @$pb.TagNumber(5) + $1.AppointmentContent ensureLoading() => $_ensure(2); + + /// Unoading content + @$pb.TagNumber(6) + $1.AppointmentContent get unloading => $_getN(3); + @$pb.TagNumber(6) + set unloading($1.AppointmentContent value) => $_setField(6, value); + @$pb.TagNumber(6) + $core.bool hasUnloading() => $_has(3); + @$pb.TagNumber(6) + void clearUnloading() => $_clearField(6); + @$pb.TagNumber(6) + $1.AppointmentContent ensureUnloading() => $_ensure(3); } /// Event message @@ -1256,6 +1309,7 @@ class AppointmentCommissionsUpdatedResponse extends $pb.GeneratedMessage { /// Event Payload class AppointmentReasonUpdatedPayload extends $pb.GeneratedMessage { factory AppointmentReasonUpdatedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, $core.String? reason, }) { @@ -1293,12 +1347,16 @@ class AppointmentReasonUpdatedPayload extends $pb.GeneratedMessage { static AppointmentReasonUpdatedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentReasonUpdatedPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); @@ -1532,6 +1590,7 @@ class AppointmentReasonUpdatedResponse extends $pb.GeneratedMessage { class AppointmentAttachmentAddedPayload extends $pb.GeneratedMessage { factory AppointmentAttachmentAddedPayload({ $core.Iterable<$2.AttachmentSummary>? attachments, + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -1571,12 +1630,16 @@ class AppointmentAttachmentAddedPayload extends $pb.GeneratedMessage { @$pb.TagNumber(1) $pb.PbList<$2.AttachmentSummary> get attachments => $_getList(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.String get actorID => $_getSZ(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) set actorID($core.String value) => $_setString(1, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.bool hasActorID() => $_has(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) void clearActorID() => $_clearField(2); } @@ -1798,6 +1861,7 @@ class AppointmentAttachmentAddedResponse extends $pb.GeneratedMessage { class AppointmentAttachmentRemovedPayload extends $pb.GeneratedMessage { factory AppointmentAttachmentRemovedPayload({ $core.Iterable<$2.AttachmentSummary>? attachments, + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -1837,12 +1901,16 @@ class AppointmentAttachmentRemovedPayload extends $pb.GeneratedMessage { @$pb.TagNumber(1) $pb.PbList<$2.AttachmentSummary> get attachments => $_getList(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.String get actorID => $_getSZ(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) set actorID($core.String value) => $_setString(1, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.bool hasActorID() => $_has(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) void clearActorID() => $_clearField(2); } @@ -2064,6 +2132,7 @@ class AppointmentAttachmentRemovedResponse extends $pb.GeneratedMessage { /// Event Payload class AppointmentCarrierInformationUpdatedPayload extends $pb.GeneratedMessage { factory AppointmentCarrierInformationUpdatedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, $core.Iterable<$2.MetadataElement>? carrierInformation, }) { @@ -2101,12 +2170,16 @@ class AppointmentCarrierInformationUpdatedPayload extends $pb.GeneratedMessage { static AppointmentCarrierInformationUpdatedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentCarrierInformationUpdatedPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); @@ -2335,6 +2408,7 @@ class AppointmentCarrierInformationUpdatedResponse extends $pb.GeneratedMessage /// Event Payload class AppointmentCarrierExpectedPayload extends $pb.GeneratedMessage { factory AppointmentCarrierExpectedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -2369,12 +2443,16 @@ class AppointmentCarrierExpectedPayload extends $pb.GeneratedMessage { static AppointmentCarrierExpectedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentCarrierExpectedPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); } @@ -2599,6 +2677,7 @@ class AppointmentCarrierExpectedResponse extends $pb.GeneratedMessage { /// Event Payload class AppointmentAllocationErrorPayload extends $pb.GeneratedMessage { factory AppointmentAllocationErrorPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -2633,12 +2712,16 @@ class AppointmentAllocationErrorPayload extends $pb.GeneratedMessage { static AppointmentAllocationErrorPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentAllocationErrorPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); } @@ -2863,6 +2946,7 @@ class AppointmentAllocationErrorResponse extends $pb.GeneratedMessage { /// Event Payload class AppointmentCarrierArrivedPayload extends $pb.GeneratedMessage { factory AppointmentCarrierArrivedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -2897,12 +2981,16 @@ class AppointmentCarrierArrivedPayload extends $pb.GeneratedMessage { static AppointmentCarrierArrivedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentCarrierArrivedPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); } @@ -3127,6 +3215,7 @@ class AppointmentCarrierArrivedResponse extends $pb.GeneratedMessage { /// Event Payload class AppointmentLoadingStartedPayload extends $pb.GeneratedMessage { factory AppointmentLoadingStartedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -3161,12 +3250,16 @@ class AppointmentLoadingStartedPayload extends $pb.GeneratedMessage { static AppointmentLoadingStartedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentLoadingStartedPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); } @@ -3391,6 +3484,7 @@ class AppointmentLoadingStartedResponse extends $pb.GeneratedMessage { /// Event Payload class AppointmentLoadingCompletedPayload extends $pb.GeneratedMessage { factory AppointmentLoadingCompletedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -3425,12 +3519,16 @@ class AppointmentLoadingCompletedPayload extends $pb.GeneratedMessage { static AppointmentLoadingCompletedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentLoadingCompletedPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); } @@ -3655,6 +3753,7 @@ class AppointmentLoadingCompletedResponse extends $pb.GeneratedMessage { /// Event Payload class AppointmentUnloadingStartedPayload extends $pb.GeneratedMessage { factory AppointmentUnloadingStartedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -3689,12 +3788,16 @@ class AppointmentUnloadingStartedPayload extends $pb.GeneratedMessage { static AppointmentUnloadingStartedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentUnloadingStartedPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); } @@ -3919,6 +4022,7 @@ class AppointmentUnloadingStartedResponse extends $pb.GeneratedMessage { /// Event Payload class AppointmentUnloadingCompletedPayload extends $pb.GeneratedMessage { factory AppointmentUnloadingCompletedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -3953,12 +4057,16 @@ class AppointmentUnloadingCompletedPayload extends $pb.GeneratedMessage { static AppointmentUnloadingCompletedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentUnloadingCompletedPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); } @@ -4183,6 +4291,7 @@ class AppointmentUnloadingCompletedResponse extends $pb.GeneratedMessage { /// Event Payload class AppointmentCarrierDepartedPayload extends $pb.GeneratedMessage { factory AppointmentCarrierDepartedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -4217,12 +4326,16 @@ class AppointmentCarrierDepartedPayload extends $pb.GeneratedMessage { static AppointmentCarrierDepartedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentCarrierDepartedPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); } @@ -4447,6 +4560,7 @@ class AppointmentCarrierDepartedResponse extends $pb.GeneratedMessage { class AppointmentMetaDataUpdatedPayload extends $pb.GeneratedMessage { factory AppointmentMetaDataUpdatedPayload({ $core.Iterable<$2.MetadataElement>? metaData, + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -4487,12 +4601,16 @@ class AppointmentMetaDataUpdatedPayload extends $pb.GeneratedMessage { @$pb.TagNumber(1) $pb.PbList<$2.MetadataElement> get metaData => $_getList(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.String get actorID => $_getSZ(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) set actorID($core.String value) => $_setString(1, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.bool hasActorID() => $_has(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) void clearActorID() => $_clearField(2); } @@ -4715,6 +4833,7 @@ class AppointmentMetaDataUpdatedResponse extends $pb.GeneratedMessage { class AppointmentEmailsAddedPayload extends $pb.GeneratedMessage { factory AppointmentEmailsAddedPayload({ $core.Iterable<$core.String>? emails, + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -4755,12 +4874,16 @@ class AppointmentEmailsAddedPayload extends $pb.GeneratedMessage { @$pb.TagNumber(1) $pb.PbList<$core.String> get emails => $_getList(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.String get actorID => $_getSZ(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) set actorID($core.String value) => $_setString(1, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.bool hasActorID() => $_has(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) void clearActorID() => $_clearField(2); } @@ -4986,6 +5109,7 @@ class AppointmentEmailsAddedResponse extends $pb.GeneratedMessage { class AppointmentEmailsRemovedPayload extends $pb.GeneratedMessage { factory AppointmentEmailsRemovedPayload({ $core.Iterable<$core.String>? removedEmails, + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -5026,12 +5150,16 @@ class AppointmentEmailsRemovedPayload extends $pb.GeneratedMessage { @$pb.TagNumber(1) $pb.PbList<$core.String> get removedEmails => $_getList(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.String get actorID => $_getSZ(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) set actorID($core.String value) => $_setString(1, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $core.bool hasActorID() => $_has(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) void clearActorID() => $_clearField(2); } @@ -5253,8 +5381,526 @@ class AppointmentEmailsRemovedResponse extends $pb.GeneratedMessage { $2.EntityID ensureID() => $_ensure(1); } +/// Event Payload +class AppointmentAttendeesAddedPayload extends $pb.GeneratedMessage { + factory AppointmentAttendeesAddedPayload({ + $core.Iterable<$core.String>? attendees, + }) { + final result = create(); + if (attendees != null) result.attendees.addAll(attendees); + return result; + } + + AppointmentAttendeesAddedPayload._(); + + factory AppointmentAttendeesAddedPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory AppointmentAttendeesAddedPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentAttendeesAddedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'Attendees', protoName: 'Attendees') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesAddedPayload clone() => AppointmentAttendeesAddedPayload()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesAddedPayload copyWith(void Function(AppointmentAttendeesAddedPayload) updates) => super.copyWith((message) => updates(message as AppointmentAttendeesAddedPayload)) as AppointmentAttendeesAddedPayload; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesAddedPayload create() => AppointmentAttendeesAddedPayload._(); + @$core.override + AppointmentAttendeesAddedPayload createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesAddedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AppointmentAttendeesAddedPayload? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList<$core.String> get attendees => $_getList(0); +} + +/// Event message +class AppointmentAttendeesAddedEvent extends $pb.GeneratedMessage { + factory AppointmentAttendeesAddedEvent({ + $2.EventHeader? header, + $2.EntityID? iD, + AppointmentAttendeesAddedPayload? payload, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + if (payload != null) result.payload = payload; + return result; + } + + AppointmentAttendeesAddedEvent._(); + + factory AppointmentAttendeesAddedEvent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory AppointmentAttendeesAddedEvent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentAttendeesAddedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.EventHeader.create) + ..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create) + ..aOM(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentAttendeesAddedPayload.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesAddedEvent clone() => AppointmentAttendeesAddedEvent()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesAddedEvent copyWith(void Function(AppointmentAttendeesAddedEvent) updates) => super.copyWith((message) => updates(message as AppointmentAttendeesAddedEvent)) as AppointmentAttendeesAddedEvent; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesAddedEvent create() => AppointmentAttendeesAddedEvent._(); + @$core.override + AppointmentAttendeesAddedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesAddedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AppointmentAttendeesAddedEvent? _defaultInstance; + + @$pb.TagNumber(1) + $2.EventHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($2.EventHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $2.EventHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $2.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($2.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $2.EntityID ensureID() => $_ensure(1); + + @$pb.TagNumber(3) + AppointmentAttendeesAddedPayload get payload => $_getN(2); + @$pb.TagNumber(3) + set payload(AppointmentAttendeesAddedPayload value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasPayload() => $_has(2); + @$pb.TagNumber(3) + void clearPayload() => $_clearField(3); + @$pb.TagNumber(3) + AppointmentAttendeesAddedPayload ensurePayload() => $_ensure(2); +} + +/// API Request +class AppointmentAttendeesAddedRequest extends $pb.GeneratedMessage { + factory AppointmentAttendeesAddedRequest({ + $2.RequestProjectHeader? header, + $2.EntityID? iD, + AppointmentAttendeesAddedPayload? payload, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + if (payload != null) result.payload = payload; + return result; + } + + AppointmentAttendeesAddedRequest._(); + + factory AppointmentAttendeesAddedRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory AppointmentAttendeesAddedRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentAttendeesAddedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.RequestProjectHeader.create) + ..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create) + ..aOM(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentAttendeesAddedPayload.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesAddedRequest clone() => AppointmentAttendeesAddedRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesAddedRequest copyWith(void Function(AppointmentAttendeesAddedRequest) updates) => super.copyWith((message) => updates(message as AppointmentAttendeesAddedRequest)) as AppointmentAttendeesAddedRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesAddedRequest create() => AppointmentAttendeesAddedRequest._(); + @$core.override + AppointmentAttendeesAddedRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesAddedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AppointmentAttendeesAddedRequest? _defaultInstance; + + @$pb.TagNumber(1) + $2.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($2.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $2.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $2.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($2.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $2.EntityID ensureID() => $_ensure(1); + + @$pb.TagNumber(3) + AppointmentAttendeesAddedPayload get payload => $_getN(2); + @$pb.TagNumber(3) + set payload(AppointmentAttendeesAddedPayload value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasPayload() => $_has(2); + @$pb.TagNumber(3) + void clearPayload() => $_clearField(3); + @$pb.TagNumber(3) + AppointmentAttendeesAddedPayload ensurePayload() => $_ensure(2); +} + +/// API Response +class AppointmentAttendeesAddedResponse extends $pb.GeneratedMessage { + factory AppointmentAttendeesAddedResponse({ + $2.ResponseHeader? header, + $2.EntityID? iD, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + return result; + } + + AppointmentAttendeesAddedResponse._(); + + factory AppointmentAttendeesAddedResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory AppointmentAttendeesAddedResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentAttendeesAddedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.ResponseHeader.create) + ..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesAddedResponse clone() => AppointmentAttendeesAddedResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesAddedResponse copyWith(void Function(AppointmentAttendeesAddedResponse) updates) => super.copyWith((message) => updates(message as AppointmentAttendeesAddedResponse)) as AppointmentAttendeesAddedResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesAddedResponse create() => AppointmentAttendeesAddedResponse._(); + @$core.override + AppointmentAttendeesAddedResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesAddedResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AppointmentAttendeesAddedResponse? _defaultInstance; + + @$pb.TagNumber(1) + $2.ResponseHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($2.ResponseHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $2.ResponseHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $2.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($2.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $2.EntityID ensureID() => $_ensure(1); +} + +/// Event Payload +class AppointmentAttendeesRemovedPayload extends $pb.GeneratedMessage { + factory AppointmentAttendeesRemovedPayload({ + $core.Iterable<$core.String>? removedAttendees, + }) { + final result = create(); + if (removedAttendees != null) result.removedAttendees.addAll(removedAttendees); + return result; + } + + AppointmentAttendeesRemovedPayload._(); + + factory AppointmentAttendeesRemovedPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory AppointmentAttendeesRemovedPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentAttendeesRemovedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'RemovedAttendees', protoName: 'RemovedAttendees') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesRemovedPayload clone() => AppointmentAttendeesRemovedPayload()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesRemovedPayload copyWith(void Function(AppointmentAttendeesRemovedPayload) updates) => super.copyWith((message) => updates(message as AppointmentAttendeesRemovedPayload)) as AppointmentAttendeesRemovedPayload; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesRemovedPayload create() => AppointmentAttendeesRemovedPayload._(); + @$core.override + AppointmentAttendeesRemovedPayload createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesRemovedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AppointmentAttendeesRemovedPayload? _defaultInstance; + + /// Contacts removed from the appointment + @$pb.TagNumber(1) + $pb.PbList<$core.String> get removedAttendees => $_getList(0); +} + +/// Event message +class AppointmentAttendeesRemovedEvent extends $pb.GeneratedMessage { + factory AppointmentAttendeesRemovedEvent({ + $2.EventHeader? header, + $2.EntityID? iD, + AppointmentAttendeesRemovedPayload? payload, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + if (payload != null) result.payload = payload; + return result; + } + + AppointmentAttendeesRemovedEvent._(); + + factory AppointmentAttendeesRemovedEvent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory AppointmentAttendeesRemovedEvent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentAttendeesRemovedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.EventHeader.create) + ..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create) + ..aOM(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentAttendeesRemovedPayload.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesRemovedEvent clone() => AppointmentAttendeesRemovedEvent()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesRemovedEvent copyWith(void Function(AppointmentAttendeesRemovedEvent) updates) => super.copyWith((message) => updates(message as AppointmentAttendeesRemovedEvent)) as AppointmentAttendeesRemovedEvent; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesRemovedEvent create() => AppointmentAttendeesRemovedEvent._(); + @$core.override + AppointmentAttendeesRemovedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesRemovedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AppointmentAttendeesRemovedEvent? _defaultInstance; + + @$pb.TagNumber(1) + $2.EventHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($2.EventHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $2.EventHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $2.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($2.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $2.EntityID ensureID() => $_ensure(1); + + @$pb.TagNumber(3) + AppointmentAttendeesRemovedPayload get payload => $_getN(2); + @$pb.TagNumber(3) + set payload(AppointmentAttendeesRemovedPayload value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasPayload() => $_has(2); + @$pb.TagNumber(3) + void clearPayload() => $_clearField(3); + @$pb.TagNumber(3) + AppointmentAttendeesRemovedPayload ensurePayload() => $_ensure(2); +} + +/// API Request +class AppointmentAttendeesRemovedRequest extends $pb.GeneratedMessage { + factory AppointmentAttendeesRemovedRequest({ + $2.RequestProjectHeader? header, + $2.EntityID? iD, + AppointmentAttendeesRemovedPayload? payload, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + if (payload != null) result.payload = payload; + return result; + } + + AppointmentAttendeesRemovedRequest._(); + + factory AppointmentAttendeesRemovedRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory AppointmentAttendeesRemovedRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentAttendeesRemovedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.RequestProjectHeader.create) + ..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create) + ..aOM(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentAttendeesRemovedPayload.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesRemovedRequest clone() => AppointmentAttendeesRemovedRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesRemovedRequest copyWith(void Function(AppointmentAttendeesRemovedRequest) updates) => super.copyWith((message) => updates(message as AppointmentAttendeesRemovedRequest)) as AppointmentAttendeesRemovedRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesRemovedRequest create() => AppointmentAttendeesRemovedRequest._(); + @$core.override + AppointmentAttendeesRemovedRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesRemovedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AppointmentAttendeesRemovedRequest? _defaultInstance; + + @$pb.TagNumber(1) + $2.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($2.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $2.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $2.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($2.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $2.EntityID ensureID() => $_ensure(1); + + @$pb.TagNumber(3) + AppointmentAttendeesRemovedPayload get payload => $_getN(2); + @$pb.TagNumber(3) + set payload(AppointmentAttendeesRemovedPayload value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasPayload() => $_has(2); + @$pb.TagNumber(3) + void clearPayload() => $_clearField(3); + @$pb.TagNumber(3) + AppointmentAttendeesRemovedPayload ensurePayload() => $_ensure(2); +} + +/// API Response +class AppointmentAttendeesRemovedResponse extends $pb.GeneratedMessage { + factory AppointmentAttendeesRemovedResponse({ + $2.ResponseHeader? header, + $2.EntityID? iD, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + return result; + } + + AppointmentAttendeesRemovedResponse._(); + + factory AppointmentAttendeesRemovedResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory AppointmentAttendeesRemovedResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentAttendeesRemovedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.ResponseHeader.create) + ..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesRemovedResponse clone() => AppointmentAttendeesRemovedResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentAttendeesRemovedResponse copyWith(void Function(AppointmentAttendeesRemovedResponse) updates) => super.copyWith((message) => updates(message as AppointmentAttendeesRemovedResponse)) as AppointmentAttendeesRemovedResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesRemovedResponse create() => AppointmentAttendeesRemovedResponse._(); + @$core.override + AppointmentAttendeesRemovedResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AppointmentAttendeesRemovedResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AppointmentAttendeesRemovedResponse? _defaultInstance; + + @$pb.TagNumber(1) + $2.ResponseHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($2.ResponseHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $2.ResponseHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $2.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($2.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $2.EntityID ensureID() => $_ensure(1); +} + class AppointmentSanitisedPayload extends $pb.GeneratedMessage { factory AppointmentSanitisedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -5289,12 +5935,16 @@ class AppointmentSanitisedPayload extends $pb.GeneratedMessage { static AppointmentSanitisedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentSanitisedPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); } @@ -5515,6 +6165,7 @@ class AppointmentSanitisedResponse extends $pb.GeneratedMessage { class AppointmentCustomFieldsUpdatedPayload extends $pb.GeneratedMessage { factory AppointmentCustomFieldsUpdatedPayload({ + @$core.Deprecated('This field is deprecated.') $core.String? actorID, }) { final result = create(); @@ -5549,12 +6200,16 @@ class AppointmentCustomFieldsUpdatedPayload extends $pb.GeneratedMessage { static AppointmentCustomFieldsUpdatedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AppointmentCustomFieldsUpdatedPayload? _defaultInstance; + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.String get actorID => $_getSZ(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) set actorID($core.String value) => $_setString(0, value); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasActorID() => $_has(0); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) void clearActorID() => $_clearField(1); } diff --git a/lib/appointmentInput.pbgrpc.dart b/lib/appointmentInput.pbgrpc.dart index c18cd94c..efa01466 100644 --- a/lib/appointmentInput.pbgrpc.dart +++ b/lib/appointmentInput.pbgrpc.dart @@ -102,14 +102,24 @@ class AppointmentInputAPIClient extends $grpc.Client { return $createUnaryCall(_$attachmentRemoved, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.AppointmentEmailsAddedResponse> emailsAdded($0.AppointmentEmailsAddedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$emailsAdded, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.AppointmentEmailsRemovedResponse> emailsRemoved($0.AppointmentEmailsRemovedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$emailsRemoved, request, options: options); } + $grpc.ResponseFuture<$0.AppointmentAttendeesAddedResponse> attendeesAdded($0.AppointmentAttendeesAddedRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$attendeesAdded, request, options: options); + } + + $grpc.ResponseFuture<$0.AppointmentAttendeesRemovedResponse> attendeesRemoved($0.AppointmentAttendeesRemovedRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$attendeesRemoved, request, options: options); + } + $grpc.ResponseFuture<$0.AppointmentSanitisedResponse> sanitised($0.AppointmentSanitisedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$sanitised, request, options: options); } @@ -200,6 +210,14 @@ class AppointmentInputAPIClient extends $grpc.Client { '/api.AppointmentInputAPI/EmailsRemoved', ($0.AppointmentEmailsRemovedRequest value) => value.writeToBuffer(), $0.AppointmentEmailsRemovedResponse.fromBuffer); + static final _$attendeesAdded = $grpc.ClientMethod<$0.AppointmentAttendeesAddedRequest, $0.AppointmentAttendeesAddedResponse>( + '/api.AppointmentInputAPI/AttendeesAdded', + ($0.AppointmentAttendeesAddedRequest value) => value.writeToBuffer(), + $0.AppointmentAttendeesAddedResponse.fromBuffer); + static final _$attendeesRemoved = $grpc.ClientMethod<$0.AppointmentAttendeesRemovedRequest, $0.AppointmentAttendeesRemovedResponse>( + '/api.AppointmentInputAPI/AttendeesRemoved', + ($0.AppointmentAttendeesRemovedRequest value) => value.writeToBuffer(), + $0.AppointmentAttendeesRemovedResponse.fromBuffer); static final _$sanitised = $grpc.ClientMethod<$0.AppointmentSanitisedRequest, $0.AppointmentSanitisedResponse>( '/api.AppointmentInputAPI/Sanitised', ($0.AppointmentSanitisedRequest value) => value.writeToBuffer(), @@ -352,6 +370,20 @@ abstract class AppointmentInputAPIServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.AppointmentEmailsRemovedRequest.fromBuffer(value), ($0.AppointmentEmailsRemovedResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.AppointmentAttendeesAddedRequest, $0.AppointmentAttendeesAddedResponse>( + 'AttendeesAdded', + attendeesAdded_Pre, + false, + false, + ($core.List<$core.int> value) => $0.AppointmentAttendeesAddedRequest.fromBuffer(value), + ($0.AppointmentAttendeesAddedResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.AppointmentAttendeesRemovedRequest, $0.AppointmentAttendeesRemovedResponse>( + 'AttendeesRemoved', + attendeesRemoved_Pre, + false, + false, + ($core.List<$core.int> value) => $0.AppointmentAttendeesRemovedRequest.fromBuffer(value), + ($0.AppointmentAttendeesRemovedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.AppointmentSanitisedRequest, $0.AppointmentSanitisedResponse>( 'Sanitised', sanitised_Pre, @@ -489,6 +521,18 @@ abstract class AppointmentInputAPIServiceBase extends $grpc.Service { $async.Future<$0.AppointmentEmailsRemovedResponse> emailsRemoved($grpc.ServiceCall call, $0.AppointmentEmailsRemovedRequest request); + $async.Future<$0.AppointmentAttendeesAddedResponse> attendeesAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentAttendeesAddedRequest> $request) async { + return attendeesAdded($call, await $request); + } + + $async.Future<$0.AppointmentAttendeesAddedResponse> attendeesAdded($grpc.ServiceCall call, $0.AppointmentAttendeesAddedRequest request); + + $async.Future<$0.AppointmentAttendeesRemovedResponse> attendeesRemoved_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentAttendeesRemovedRequest> $request) async { + return attendeesRemoved($call, await $request); + } + + $async.Future<$0.AppointmentAttendeesRemovedResponse> attendeesRemoved($grpc.ServiceCall call, $0.AppointmentAttendeesRemovedRequest request); + $async.Future<$0.AppointmentSanitisedResponse> sanitised_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentSanitisedRequest> $request) async { return sanitised($call, await $request); } diff --git a/lib/appointmentInput.pbjson.dart b/lib/appointmentInput.pbjson.dart index 764a5406..8f9a9bc4 100644 --- a/lib/appointmentInput.pbjson.dart +++ b/lib/appointmentInput.pbjson.dart @@ -19,19 +19,26 @@ const AppointmentCreatedPayload$json = { '1': 'AppointmentCreatedPayload', '2': [ {'1': 'AppointmentType', '3': 1, '4': 1, '5': 14, '6': '.api.AppointmentType', '8': {}, '10': 'AppointmentType'}, - {'1': 'Commissions', '3': 2, '4': 3, '5': 11, '6': '.api.AppointmentCommission', '10': 'Commissions'}, {'1': 'SegmentationSelections', '3': 4, '4': 3, '5': 11, '6': '.api.SegmentationSelection', '10': 'SegmentationSelections'}, {'1': 'CarrierInformation', '3': 15, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'CarrierInformation'}, {'1': 'Slot', '3': 6, '4': 1, '5': 11, '6': '.api.Slot', '10': 'Slot'}, - {'1': 'Emails', '3': 7, '4': 3, '5': 9, '8': {}, '10': 'Emails'}, {'1': 'MetaData', '3': 8, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'MetaData'}, {'1': 'Reason', '3': 12, '4': 1, '5': 9, '10': 'Reason'}, {'1': 'InstructionAck', '3': 14, '4': 1, '5': 8, '10': 'InstructionAck'}, - {'1': 'ActorID', '3': 16, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 16, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, {'1': 'Address', '3': 17, '4': 1, '5': 11, '6': '.api.Address', '10': 'Address'}, {'1': 'SiteName', '3': 18, '4': 1, '5': 9, '10': 'SiteName'}, - {'1': 'TotalQuantities', '3': 19, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '10': 'TotalQuantities'}, {'1': 'TimeZone', '3': 20, '4': 1, '5': 9, '10': 'TimeZone'}, + {'1': 'Loading', '3': 25, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Loading'}, + {'1': 'Unloading', '3': 26, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'}, + {'1': 'Attendees', '3': 27, '4': 3, '5': 9, '8': {}, '10': 'Attendees'}, ], '7': {}, }; @@ -39,24 +46,25 @@ const AppointmentCreatedPayload$json = { /// Descriptor for `AppointmentCreatedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentCreatedPayloadDescriptor = $convert.base64Decode( 'ChlBcHBvaW50bWVudENyZWF0ZWRQYXlsb2FkEkgKD0FwcG9pbnRtZW50VHlwZRgBIAEoDjIULm' - 'FwaS5BcHBvaW50bWVudFR5cGVCCPpCBYIBAhABUg9BcHBvaW50bWVudFR5cGUSPAoLQ29tbWlz' - 'c2lvbnMYAiADKAsyGi5hcGkuQXBwb2ludG1lbnRDb21taXNzaW9uUgtDb21taXNzaW9ucxJSCh' - 'ZTZWdtZW50YXRpb25TZWxlY3Rpb25zGAQgAygLMhouYXBpLlNlZ21lbnRhdGlvblNlbGVjdGlv' - 'blIWU2VnbWVudGF0aW9uU2VsZWN0aW9ucxJyChJDYXJyaWVySW5mb3JtYXRpb24YDyADKAsyFC' - '5hcGkuTWV0YWRhdGFFbGVtZW50QiySQR4yHENhcnJpZXIgaW5mb3JtYXRpb24gbWV0YWRhdGHA' - 'wRgB6sEYA0tleVISQ2FycmllckluZm9ybWF0aW9uEh0KBFNsb3QYBiABKAsyCS5hcGkuU2xvdF' - 'IEU2xvdBJ9CgZFbWFpbHMYByADKAlCZZJBUTIdTXVzdCBiZSBhIHZhbGlkIGVtYWlsIGFkZHJl' - 'c3NKMFsiSm9obi5kb2VAcmVmbGV4LmNvbSIsICJ3aWxsLnNtaXRoQHJlZmxleC5jb20iXfpCDp' - 'IBCwgBIgdyBWAB8AEBUgZFbWFpbHMSxwEKCE1ldGFEYXRhGAggAygLMhQuYXBpLk1ldGFkYXRh' - 'RWxlbWVudEKUAZJBhQEyggFNZXRhZGF0YSBhcmUgY2hhcmFjdGVyaXN0aWNzIHNwZWNpZmljIH' - 'RvIHRoZSBzaXRlLiBUaGV5IGNhbiBiZSBvZiBzZXZlcmFsIGRhdGEgZm9ybSAoc3RyaW5nLCBp' - 'bnRlZ2VyLCBmbG9hdCwgYm9vbGVhbiBvciB0aW1lc3RhbXApwMEYAerBGANLZXlSCE1ldGFEYX' - 'RhEhYKBlJlYXNvbhgMIAEoCVIGUmVhc29uEiYKDkluc3RydWN0aW9uQWNrGA4gASgIUg5JbnN0' - 'cnVjdGlvbkFjaxIYCgdBY3RvcklEGBAgASgJUgdBY3RvcklEEiYKB0FkZHJlc3MYESABKAsyDC' - '5hcGkuQWRkcmVzc1IHQWRkcmVzcxIaCghTaXRlTmFtZRgSIAEoCVIIU2l0ZU5hbWUSPQoPVG90' - 'YWxRdWFudGl0aWVzGBMgAygLMhMuYXBpLlF1YW50aXR5QnlVbml0Ug9Ub3RhbFF1YW50aXRpZX' - 'MSGgoIVGltZVpvbmUYFCABKAlSCFRpbWVab25lOj6SQSMKITINRXZlbnQgUGF5bG9hZNIBD0Fw' - 'cG9pbnRtZW50VHlwZaK7GAVFdmVudKi7GAG6uxgHQ3JlYXRlZA=='); + 'FwaS5BcHBvaW50bWVudFR5cGVCCPpCBYIBAhABUg9BcHBvaW50bWVudFR5cGUSUgoWU2VnbWVu' + 'dGF0aW9uU2VsZWN0aW9ucxgEIAMoCzIaLmFwaS5TZWdtZW50YXRpb25TZWxlY3Rpb25SFlNlZ2' + '1lbnRhdGlvblNlbGVjdGlvbnMScgoSQ2FycmllckluZm9ybWF0aW9uGA8gAygLMhQuYXBpLk1l' + 'dGFkYXRhRWxlbWVudEIskkEeMhxDYXJyaWVyIGluZm9ybWF0aW9uIG1ldGFkYXRhwMEYAerBGA' + 'NLZXlSEkNhcnJpZXJJbmZvcm1hdGlvbhIdCgRTbG90GAYgASgLMgkuYXBpLlNsb3RSBFNsb3QS' + 'xwEKCE1ldGFEYXRhGAggAygLMhQuYXBpLk1ldGFkYXRhRWxlbWVudEKUAZJBhQEyggFNZXRhZG' + 'F0YSBhcmUgY2hhcmFjdGVyaXN0aWNzIHNwZWNpZmljIHRvIHRoZSBzaXRlLiBUaGV5IGNhbiBi' + 'ZSBvZiBzZXZlcmFsIGRhdGEgZm9ybSAoc3RyaW5nLCBpbnRlZ2VyLCBmbG9hdCwgYm9vbGVhbi' + 'BvciB0aW1lc3RhbXApwMEYAerBGANLZXlSCE1ldGFEYXRhEhYKBlJlYXNvbhgMIAEoCVIGUmVh' + 'c29uEiYKDkluc3RydWN0aW9uQWNrGA4gASgIUg5JbnN0cnVjdGlvbkFjaxIcCgdBY3RvcklEGB' + 'AgASgJQgIYAVIHQWN0b3JJRBImCgdBZGRyZXNzGBEgASgLMgwuYXBpLkFkZHJlc3NSB0FkZHJl' + 'c3MSGgoIU2l0ZU5hbWUYEiABKAlSCFNpdGVOYW1lEhoKCFRpbWVab25lGBQgASgJUghUaW1lWm' + '9uZRIxCgdMb2FkaW5nGBkgASgLMhcuYXBpLkFwcG9pbnRtZW50Q29udGVudFIHTG9hZGluZxI1' + 'CglVbmxvYWRpbmcYGiABKAsyFy5hcGkuQXBwb2ludG1lbnRDb250ZW50UglVbmxvYWRpbmcSow' + 'EKCUF0dGVuZGVlcxgbIAMoCUKEAZJBNTIzU29tZSBhdHRlbmRlZXMgYWRkZWQgb24gdGhlIGFw' + 'cG9pbnRtZW50ICh1c2VyIHV1aWQp+kJJkgFGCAEiQnJAMj5eWzAtOWEtZl17OH0tWzAtOWEtZl' + '17NH0tWzAtOWEtZl17NH0tWzAtOWEtZl17NH0tWzAtOWEtZl17MTJ9JFIJQXR0ZW5kZWVzOj6S' + 'QSMKITINRXZlbnQgUGF5bG9hZNIBD0FwcG9pbnRtZW50VHlwZaK7GAVFdmVudKi7GAG6uxgHQ3' + 'JlYXRlZA=='); @$core.Deprecated('Use appointmentCreatedEventDescriptor instead') const AppointmentCreatedEvent$json = { @@ -116,15 +124,22 @@ final $typed_data.Uint8List appointmentCreatedResponseDescriptor = $convert.base const AppointmentCanceledPayload$json = { '1': 'AppointmentCanceledPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; /// Descriptor for `AppointmentCanceledPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentCanceledPayloadDescriptor = $convert.base64Decode( - 'ChpBcHBvaW50bWVudENhbmNlbGVkUGF5bG9hZBIYCgdBY3RvcklEGAEgASgJUgdBY3RvcklEOi' - '2SQREKDzINRXZlbnQgUGF5bG9hZKK7GAVFdmVudKi7GAG6uxgIQ2FuY2VsZWQ='); + 'ChpBcHBvaW50bWVudENhbmNlbGVkUGF5bG9hZBIcCgdBY3RvcklEGAEgASgJQgIYAVIHQWN0b3' + 'JJRDotkkERCg8yDUV2ZW50IFBheWxvYWSiuxgFRXZlbnSouxgBursYCENhbmNlbGVk'); @$core.Deprecated('Use appointmentCanceledEventDescriptor instead') const AppointmentCanceledEvent$json = { @@ -185,7 +200,14 @@ const AppointmentSlotUpdatedPayload$json = { '1': 'AppointmentSlotUpdatedPayload', '2': [ {'1': 'Slot', '3': 1, '4': 1, '5': 11, '6': '.api.Slot', '10': 'Slot'}, - {'1': 'ActorID', '3': 2, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 2, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; @@ -193,8 +215,8 @@ const AppointmentSlotUpdatedPayload$json = { /// Descriptor for `AppointmentSlotUpdatedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentSlotUpdatedPayloadDescriptor = $convert.base64Decode( 'Ch1BcHBvaW50bWVudFNsb3RVcGRhdGVkUGF5bG9hZBIdCgRTbG90GAEgASgLMgkuYXBpLlNsb3' - 'RSBFNsb3QSGAoHQWN0b3JJRBgCIAEoCVIHQWN0b3JJRDowkkERCg8yDUV2ZW50IFBheWxvYWSi' - 'uxgFRXZlbnSouxgBursYC1Nsb3RVcGRhdGVk'); + 'RSBFNsb3QSHAoHQWN0b3JJRBgCIAEoCUICGAFSB0FjdG9ySUQ6MJJBEQoPMg1FdmVudCBQYXls' + 'b2FkorsYBUV2ZW50qLsYAbq7GAtTbG90VXBkYXRlZA=='); @$core.Deprecated('Use appointmentSlotUpdatedEventDescriptor instead') const AppointmentSlotUpdatedEvent$json = { @@ -254,21 +276,28 @@ final $typed_data.Uint8List appointmentSlotUpdatedResponseDescriptor = $convert. const AppointmentCommissionsUpdatedPayload$json = { '1': 'AppointmentCommissionsUpdatedPayload', '2': [ - {'1': 'Commissions', '3': 2, '4': 3, '5': 11, '6': '.api.AppointmentCommission', '10': 'Commissions'}, - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, - {'1': 'TotalQuantities', '3': 3, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '10': 'TotalQuantities'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, {'1': 'Reason', '3': 4, '4': 1, '5': 9, '10': 'Reason'}, + {'1': 'Loading', '3': 5, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Loading'}, + {'1': 'Unloading', '3': 6, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'}, ], '7': {}, }; /// Descriptor for `AppointmentCommissionsUpdatedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentCommissionsUpdatedPayloadDescriptor = $convert.base64Decode( - 'CiRBcHBvaW50bWVudENvbW1pc3Npb25zVXBkYXRlZFBheWxvYWQSPAoLQ29tbWlzc2lvbnMYAi' - 'ADKAsyGi5hcGkuQXBwb2ludG1lbnRDb21taXNzaW9uUgtDb21taXNzaW9ucxIYCgdBY3RvcklE' - 'GAEgASgJUgdBY3RvcklEEj0KD1RvdGFsUXVhbnRpdGllcxgDIAMoCzITLmFwaS5RdWFudGl0eU' - 'J5VW5pdFIPVG90YWxRdWFudGl0aWVzEhYKBlJlYXNvbhgEIAEoCVIGUmVhc29uOjeSQREKDzIN' - 'RXZlbnQgUGF5bG9hZKK7GAVFdmVudKi7GAG6uxgSQ29tbWlzc2lvbnNVcGRhdGVk'); + 'CiRBcHBvaW50bWVudENvbW1pc3Npb25zVXBkYXRlZFBheWxvYWQSHAoHQWN0b3JJRBgBIAEoCU' + 'ICGAFSB0FjdG9ySUQSFgoGUmVhc29uGAQgASgJUgZSZWFzb24SMQoHTG9hZGluZxgFIAEoCzIX' + 'LmFwaS5BcHBvaW50bWVudENvbnRlbnRSB0xvYWRpbmcSNQoJVW5sb2FkaW5nGAYgASgLMhcuYX' + 'BpLkFwcG9pbnRtZW50Q29udGVudFIJVW5sb2FkaW5nOjeSQREKDzINRXZlbnQgUGF5bG9hZKK7' + 'GAVFdmVudKi7GAG6uxgSQ29tbWlzc2lvbnNVcGRhdGVk'); @$core.Deprecated('Use appointmentCommissionsUpdatedEventDescriptor instead') const AppointmentCommissionsUpdatedEvent$json = { @@ -329,7 +358,14 @@ final $typed_data.Uint8List appointmentCommissionsUpdatedResponseDescriptor = $c const AppointmentReasonUpdatedPayload$json = { '1': 'AppointmentReasonUpdatedPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, {'1': 'Reason', '3': 4, '4': 1, '5': 9, '10': 'Reason'}, ], '7': {}, @@ -337,9 +373,9 @@ const AppointmentReasonUpdatedPayload$json = { /// Descriptor for `AppointmentReasonUpdatedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentReasonUpdatedPayloadDescriptor = $convert.base64Decode( - 'Ch9BcHBvaW50bWVudFJlYXNvblVwZGF0ZWRQYXlsb2FkEhgKB0FjdG9ySUQYASABKAlSB0FjdG' - '9ySUQSFgoGUmVhc29uGAQgASgJUgZSZWFzb246MpJBEQoPMg1FdmVudCBQYXlsb2FkorsYBUV2' - 'ZW50qLsYAbq7GA1SZWFzb25VcGRhdGVk'); + 'Ch9BcHBvaW50bWVudFJlYXNvblVwZGF0ZWRQYXlsb2FkEhwKB0FjdG9ySUQYASABKAlCAhgBUg' + 'dBY3RvcklEEhYKBlJlYXNvbhgEIAEoCVIGUmVhc29uOjKSQREKDzINRXZlbnQgUGF5bG9hZKK7' + 'GAVFdmVudKi7GAG6uxgNUmVhc29uVXBkYXRlZA=='); @$core.Deprecated('Use appointmentReasonUpdatedEventDescriptor instead') const AppointmentReasonUpdatedEvent$json = { @@ -400,7 +436,14 @@ const AppointmentAttachmentAddedPayload$json = { '1': 'AppointmentAttachmentAddedPayload', '2': [ {'1': 'Attachments', '3': 1, '4': 3, '5': 11, '6': '.api.AttachmentSummary', '8': {}, '10': 'Attachments'}, - {'1': 'ActorID', '3': 2, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 2, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; @@ -409,8 +452,8 @@ const AppointmentAttachmentAddedPayload$json = { final $typed_data.Uint8List appointmentAttachmentAddedPayloadDescriptor = $convert.base64Decode( 'CiFBcHBvaW50bWVudEF0dGFjaG1lbnRBZGRlZFBheWxvYWQSYwoLQXR0YWNobWVudHMYASADKA' 'syFi5hcGkuQXR0YWNobWVudFN1bW1hcnlCKZJBJjIkTnVtYmVyIG9mIGF0dGFjaG1lbnRzIGFk' - 'ZGVkIHBlciB0eXBlUgtBdHRhY2htZW50cxIYCgdBY3RvcklEGAIgASgJUgdBY3RvcklEOiCiux' - 'gFRXZlbnSouxgBursYD0F0dGFjaG1lbnRBZGRlZA=='); + 'ZGVkIHBlciB0eXBlUgtBdHRhY2htZW50cxIcCgdBY3RvcklEGAIgASgJQgIYAVIHQWN0b3JJRD' + 'ogorsYBUV2ZW50qLsYAbq7GA9BdHRhY2htZW50QWRkZWQ='); @$core.Deprecated('Use appointmentAttachmentAddedEventDescriptor instead') const AppointmentAttachmentAddedEvent$json = { @@ -471,7 +514,14 @@ const AppointmentAttachmentRemovedPayload$json = { '1': 'AppointmentAttachmentRemovedPayload', '2': [ {'1': 'Attachments', '3': 1, '4': 3, '5': 11, '6': '.api.AttachmentSummary', '8': {}, '10': 'Attachments'}, - {'1': 'ActorID', '3': 2, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 2, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; @@ -480,8 +530,8 @@ const AppointmentAttachmentRemovedPayload$json = { final $typed_data.Uint8List appointmentAttachmentRemovedPayloadDescriptor = $convert.base64Decode( 'CiNBcHBvaW50bWVudEF0dGFjaG1lbnRSZW1vdmVkUGF5bG9hZBJlCgtBdHRhY2htZW50cxgBIA' 'MoCzIWLmFwaS5BdHRhY2htZW50U3VtbWFyeUIrkkEoMiZOdW1iZXIgb2YgYXR0YWNobWVudHMg' - 'cmVtb3ZlZCBwZXIgdHlwZVILQXR0YWNobWVudHMSGAoHQWN0b3JJRBgCIAEoCVIHQWN0b3JJRD' - 'oiorsYBUV2ZW50qLsYAbq7GBFBdHRhY2htZW50UmVtb3ZlZA=='); + 'cmVtb3ZlZCBwZXIgdHlwZVILQXR0YWNobWVudHMSHAoHQWN0b3JJRBgCIAEoCUICGAFSB0FjdG' + '9ySUQ6IqK7GAVFdmVudKi7GAG6uxgRQXR0YWNobWVudFJlbW92ZWQ='); @$core.Deprecated('Use appointmentAttachmentRemovedEventDescriptor instead') const AppointmentAttachmentRemovedEvent$json = { @@ -543,7 +593,14 @@ const AppointmentCarrierInformationUpdatedPayload$json = { '1': 'AppointmentCarrierInformationUpdatedPayload', '2': [ {'1': 'CarrierInformation', '3': 2, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'CarrierInformation'}, - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; @@ -552,9 +609,9 @@ const AppointmentCarrierInformationUpdatedPayload$json = { final $typed_data.Uint8List appointmentCarrierInformationUpdatedPayloadDescriptor = $convert.base64Decode( 'CitBcHBvaW50bWVudENhcnJpZXJJbmZvcm1hdGlvblVwZGF0ZWRQYXlsb2FkEnIKEkNhcnJpZX' 'JJbmZvcm1hdGlvbhgCIAMoCzIULmFwaS5NZXRhZGF0YUVsZW1lbnRCLJJBHjIcQ2FycmllciBp' - 'bmZvcm1hdGlvbiBtZXRhZGF0YcDBGAHqwRgDS2V5UhJDYXJyaWVySW5mb3JtYXRpb24SGAoHQW' - 'N0b3JJRBgBIAEoCVIHQWN0b3JJRDo+kkERCg8yDUV2ZW50IFBheWxvYWSiuxgFRXZlbnSouxgB' - 'ursYGUNhcnJpZXJJbmZvcm1hdGlvblVwZGF0ZWQ='); + 'bmZvcm1hdGlvbiBtZXRhZGF0YcDBGAHqwRgDS2V5UhJDYXJyaWVySW5mb3JtYXRpb24SHAoHQW' + 'N0b3JJRBgBIAEoCUICGAFSB0FjdG9ySUQ6PpJBEQoPMg1FdmVudCBQYXlsb2FkorsYBUV2ZW50' + 'qLsYAbq7GBlDYXJyaWVySW5mb3JtYXRpb25VcGRhdGVk'); @$core.Deprecated('Use appointmentCarrierInformationUpdatedEventDescriptor instead') const AppointmentCarrierInformationUpdatedEvent$json = { @@ -616,16 +673,23 @@ final $typed_data.Uint8List appointmentCarrierInformationUpdatedResponseDescript const AppointmentCarrierExpectedPayload$json = { '1': 'AppointmentCarrierExpectedPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; /// Descriptor for `AppointmentCarrierExpectedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentCarrierExpectedPayloadDescriptor = $convert.base64Decode( - 'CiFBcHBvaW50bWVudENhcnJpZXJFeHBlY3RlZFBheWxvYWQSGAoHQWN0b3JJRBgBIAEoCVIHQW' - 'N0b3JJRDo0kkERCg8yDUV2ZW50IFBheWxvYWSiuxgFRXZlbnSouxgBursYD0NhcnJpZXJFeHBl' - 'Y3RlZA=='); + 'CiFBcHBvaW50bWVudENhcnJpZXJFeHBlY3RlZFBheWxvYWQSHAoHQWN0b3JJRBgBIAEoCUICGA' + 'FSB0FjdG9ySUQ6NJJBEQoPMg1FdmVudCBQYXlsb2FkorsYBUV2ZW50qLsYAbq7GA9DYXJyaWVy' + 'RXhwZWN0ZWQ='); @$core.Deprecated('Use appointmentCarrierExpectedEventDescriptor instead') const AppointmentCarrierExpectedEvent$json = { @@ -685,16 +749,23 @@ final $typed_data.Uint8List appointmentCarrierExpectedResponseDescriptor = $conv const AppointmentAllocationErrorPayload$json = { '1': 'AppointmentAllocationErrorPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; /// Descriptor for `AppointmentAllocationErrorPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentAllocationErrorPayloadDescriptor = $convert.base64Decode( - 'CiFBcHBvaW50bWVudEFsbG9jYXRpb25FcnJvclBheWxvYWQSGAoHQWN0b3JJRBgBIAEoCVIHQW' - 'N0b3JJRDo0kkERCg8yDUV2ZW50IFBheWxvYWSiuxgFRXZlbnSouxgBursYD0FsbG9jYXRpb25F' - 'cnJvcg=='); + 'CiFBcHBvaW50bWVudEFsbG9jYXRpb25FcnJvclBheWxvYWQSHAoHQWN0b3JJRBgBIAEoCUICGA' + 'FSB0FjdG9ySUQ6NJJBEQoPMg1FdmVudCBQYXlsb2FkorsYBUV2ZW50qLsYAbq7GA9BbGxvY2F0' + 'aW9uRXJyb3I='); @$core.Deprecated('Use appointmentAllocationErrorEventDescriptor instead') const AppointmentAllocationErrorEvent$json = { @@ -754,16 +825,23 @@ final $typed_data.Uint8List appointmentAllocationErrorResponseDescriptor = $conv const AppointmentCarrierArrivedPayload$json = { '1': 'AppointmentCarrierArrivedPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; /// Descriptor for `AppointmentCarrierArrivedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentCarrierArrivedPayloadDescriptor = $convert.base64Decode( - 'CiBBcHBvaW50bWVudENhcnJpZXJBcnJpdmVkUGF5bG9hZBIYCgdBY3RvcklEGAEgASgJUgdBY3' - 'RvcklEOjOSQREKDzINRXZlbnQgUGF5bG9hZKK7GAVFdmVudKi7GAG6uxgOQ2FycmllckFycml2' - 'ZWQ='); + 'CiBBcHBvaW50bWVudENhcnJpZXJBcnJpdmVkUGF5bG9hZBIcCgdBY3RvcklEGAEgASgJQgIYAV' + 'IHQWN0b3JJRDozkkERCg8yDUV2ZW50IFBheWxvYWSiuxgFRXZlbnSouxgBursYDkNhcnJpZXJB' + 'cnJpdmVk'); @$core.Deprecated('Use appointmentCarrierArrivedEventDescriptor instead') const AppointmentCarrierArrivedEvent$json = { @@ -823,16 +901,23 @@ final $typed_data.Uint8List appointmentCarrierArrivedResponseDescriptor = $conve const AppointmentLoadingStartedPayload$json = { '1': 'AppointmentLoadingStartedPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; /// Descriptor for `AppointmentLoadingStartedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentLoadingStartedPayloadDescriptor = $convert.base64Decode( - 'CiBBcHBvaW50bWVudExvYWRpbmdTdGFydGVkUGF5bG9hZBIYCgdBY3RvcklEGAEgASgJUgdBY3' - 'RvcklEOjOSQREKDzINRXZlbnQgUGF5bG9hZKK7GAVFdmVudKi7GAG6uxgOTG9hZGluZ1N0YXJ0' - 'ZWQ='); + 'CiBBcHBvaW50bWVudExvYWRpbmdTdGFydGVkUGF5bG9hZBIcCgdBY3RvcklEGAEgASgJQgIYAV' + 'IHQWN0b3JJRDozkkERCg8yDUV2ZW50IFBheWxvYWSiuxgFRXZlbnSouxgBursYDkxvYWRpbmdT' + 'dGFydGVk'); @$core.Deprecated('Use appointmentLoadingStartedEventDescriptor instead') const AppointmentLoadingStartedEvent$json = { @@ -892,16 +977,23 @@ final $typed_data.Uint8List appointmentLoadingStartedResponseDescriptor = $conve const AppointmentLoadingCompletedPayload$json = { '1': 'AppointmentLoadingCompletedPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; /// Descriptor for `AppointmentLoadingCompletedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentLoadingCompletedPayloadDescriptor = $convert.base64Decode( - 'CiJBcHBvaW50bWVudExvYWRpbmdDb21wbGV0ZWRQYXlsb2FkEhgKB0FjdG9ySUQYASABKAlSB0' - 'FjdG9ySUQ6NZJBEQoPMg1FdmVudCBQYXlsb2FkorsYBUV2ZW50qLsYAbq7GBBMb2FkaW5nQ29t' - 'cGxldGVk'); + 'CiJBcHBvaW50bWVudExvYWRpbmdDb21wbGV0ZWRQYXlsb2FkEhwKB0FjdG9ySUQYASABKAlCAh' + 'gBUgdBY3RvcklEOjWSQREKDzINRXZlbnQgUGF5bG9hZKK7GAVFdmVudKi7GAG6uxgQTG9hZGlu' + 'Z0NvbXBsZXRlZA=='); @$core.Deprecated('Use appointmentLoadingCompletedEventDescriptor instead') const AppointmentLoadingCompletedEvent$json = { @@ -962,16 +1054,23 @@ final $typed_data.Uint8List appointmentLoadingCompletedResponseDescriptor = $con const AppointmentUnloadingStartedPayload$json = { '1': 'AppointmentUnloadingStartedPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; /// Descriptor for `AppointmentUnloadingStartedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentUnloadingStartedPayloadDescriptor = $convert.base64Decode( - 'CiJBcHBvaW50bWVudFVubG9hZGluZ1N0YXJ0ZWRQYXlsb2FkEhgKB0FjdG9ySUQYASABKAlSB0' - 'FjdG9ySUQ6NZJBEQoPMg1FdmVudCBQYXlsb2FkorsYBUV2ZW50qLsYAbq7GBBVbmxvYWRpbmdT' - 'dGFydGVk'); + 'CiJBcHBvaW50bWVudFVubG9hZGluZ1N0YXJ0ZWRQYXlsb2FkEhwKB0FjdG9ySUQYASABKAlCAh' + 'gBUgdBY3RvcklEOjWSQREKDzINRXZlbnQgUGF5bG9hZKK7GAVFdmVudKi7GAG6uxgQVW5sb2Fk' + 'aW5nU3RhcnRlZA=='); @$core.Deprecated('Use appointmentUnloadingStartedEventDescriptor instead') const AppointmentUnloadingStartedEvent$json = { @@ -1032,16 +1131,23 @@ final $typed_data.Uint8List appointmentUnloadingStartedResponseDescriptor = $con const AppointmentUnloadingCompletedPayload$json = { '1': 'AppointmentUnloadingCompletedPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; /// Descriptor for `AppointmentUnloadingCompletedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentUnloadingCompletedPayloadDescriptor = $convert.base64Decode( - 'CiRBcHBvaW50bWVudFVubG9hZGluZ0NvbXBsZXRlZFBheWxvYWQSGAoHQWN0b3JJRBgBIAEoCV' - 'IHQWN0b3JJRDo3kkERCg8yDUV2ZW50IFBheWxvYWSiuxgFRXZlbnSouxgBursYElVubG9hZGlu' - 'Z0NvbXBsZXRlZA=='); + 'CiRBcHBvaW50bWVudFVubG9hZGluZ0NvbXBsZXRlZFBheWxvYWQSHAoHQWN0b3JJRBgBIAEoCU' + 'ICGAFSB0FjdG9ySUQ6N5JBEQoPMg1FdmVudCBQYXlsb2FkorsYBUV2ZW50qLsYAbq7GBJVbmxv' + 'YWRpbmdDb21wbGV0ZWQ='); @$core.Deprecated('Use appointmentUnloadingCompletedEventDescriptor instead') const AppointmentUnloadingCompletedEvent$json = { @@ -1102,16 +1208,23 @@ final $typed_data.Uint8List appointmentUnloadingCompletedResponseDescriptor = $c const AppointmentCarrierDepartedPayload$json = { '1': 'AppointmentCarrierDepartedPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; /// Descriptor for `AppointmentCarrierDepartedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentCarrierDepartedPayloadDescriptor = $convert.base64Decode( - 'CiFBcHBvaW50bWVudENhcnJpZXJEZXBhcnRlZFBheWxvYWQSGAoHQWN0b3JJRBgBIAEoCVIHQW' - 'N0b3JJRDo0kkERCg8yDUV2ZW50IFBheWxvYWSiuxgFRXZlbnSouxgBursYD0NhcnJpZXJEZXBh' - 'cnRlZA=='); + 'CiFBcHBvaW50bWVudENhcnJpZXJEZXBhcnRlZFBheWxvYWQSHAoHQWN0b3JJRBgBIAEoCUICGA' + 'FSB0FjdG9ySUQ6NJJBEQoPMg1FdmVudCBQYXlsb2FkorsYBUV2ZW50qLsYAbq7GA9DYXJyaWVy' + 'RGVwYXJ0ZWQ='); @$core.Deprecated('Use appointmentCarrierDepartedEventDescriptor instead') const AppointmentCarrierDepartedEvent$json = { @@ -1172,7 +1285,14 @@ const AppointmentMetaDataUpdatedPayload$json = { '1': 'AppointmentMetaDataUpdatedPayload', '2': [ {'1': 'MetaData', '3': 1, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'MetaData'}, - {'1': 'ActorID', '3': 2, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 2, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; @@ -1183,8 +1303,8 @@ final $typed_data.Uint8List appointmentMetaDataUpdatedPayloadDescriptor = $conve 'QuYXBpLk1ldGFkYXRhRWxlbWVudEKUAZJBhQEyggFNZXRhZGF0YSBhcmUgY2hhcmFjdGVyaXN0' 'aWNzIHNwZWNpZmljIHRvIHRoZSBzaXRlLiBUaGV5IGNhbiBiZSBvZiBzZXZlcmFsIGRhdGEgZm' '9ybSAoc3RyaW5nLCBpbnRlZ2VyLCBmbG9hdCwgYm9vbGVhbiBvciB0aW1lc3RhbXApwMEYAerB' - 'GANLZXlSCE1ldGFEYXRhEhgKB0FjdG9ySUQYAiABKAlSB0FjdG9ySUQ6IKK7GAVFdmVudKi7GA' - 'G6uxgPTWV0YURhdGFVcGRhdGVk'); + 'GANLZXlSCE1ldGFEYXRhEhwKB0FjdG9ySUQYAiABKAlCAhgBUgdBY3RvcklEOiCiuxgFRXZlbn' + 'SouxgBursYD01ldGFEYXRhVXBkYXRlZA=='); @$core.Deprecated('Use appointmentMetaDataUpdatedEventDescriptor instead') const AppointmentMetaDataUpdatedEvent$json = { @@ -1245,7 +1365,14 @@ const AppointmentEmailsAddedPayload$json = { '1': 'AppointmentEmailsAddedPayload', '2': [ {'1': 'Emails', '3': 1, '4': 3, '5': 9, '8': {}, '10': 'Emails'}, - {'1': 'ActorID', '3': 2, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 2, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; @@ -1254,8 +1381,8 @@ const AppointmentEmailsAddedPayload$json = { final $typed_data.Uint8List appointmentEmailsAddedPayloadDescriptor = $convert.base64Decode( 'Ch1BcHBvaW50bWVudEVtYWlsc0FkZGVkUGF5bG9hZBJcCgZFbWFpbHMYASADKAlCRJJBMkowWy' 'JKb2huLmRvZUByZWZsZXguY29tIiwgIndpbGwuc21pdGhAcmVmbGV4LmNvbSJd+kIMkgEJIgdy' - 'BWAB8AEBUgZFbWFpbHMSGAoHQWN0b3JJRBgCIAEoCVIHQWN0b3JJRDo5kkEaChgyDUV2ZW50IF' - 'BheWxvYWTSAQZFbWFpbHOiuxgFRXZlbnSouxgBursYC0VtYWlsc0FkZGVk'); + 'BWAB8AEBUgZFbWFpbHMSHAoHQWN0b3JJRBgCIAEoCUICGAFSB0FjdG9ySUQ6OZJBGgoYMg1Fdm' + 'VudCBQYXlsb2Fk0gEGRW1haWxzorsYBUV2ZW50qLsYAbq7GAtFbWFpbHNBZGRlZA=='); @$core.Deprecated('Use appointmentEmailsAddedEventDescriptor instead') const AppointmentEmailsAddedEvent$json = { @@ -1316,7 +1443,14 @@ const AppointmentEmailsRemovedPayload$json = { '1': 'AppointmentEmailsRemovedPayload', '2': [ {'1': 'RemovedEmails', '3': 1, '4': 3, '5': 9, '8': {}, '10': 'RemovedEmails'}, - {'1': 'ActorID', '3': 2, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 2, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; @@ -1325,9 +1459,9 @@ const AppointmentEmailsRemovedPayload$json = { final $typed_data.Uint8List appointmentEmailsRemovedPayloadDescriptor = $convert.base64Decode( 'Ch9BcHBvaW50bWVudEVtYWlsc1JlbW92ZWRQYXlsb2FkEmoKDVJlbW92ZWRFbWFpbHMYASADKA' 'lCRJJBMkowWyJKb2huLmRvZUByZWZsZXguY29tIiwgIndpbGwuc21pdGhAcmVmbGV4LmNvbSJd' - '+kIMkgEJIgdyBWAB8AEBUg1SZW1vdmVkRW1haWxzEhgKB0FjdG9ySUQYAiABKAlSB0FjdG9ySU' - 'Q6QpJBIQofMg1FdmVudCBQYXlsb2Fk0gENUmVtb3ZlZEVtYWlsc6K7GAVFdmVudKi7GAG6uxgN' - 'RW1haWxzUmVtb3ZlZA=='); + '+kIMkgEJIgdyBWAB8AEBUg1SZW1vdmVkRW1haWxzEhwKB0FjdG9ySUQYAiABKAlCAhgBUgdBY3' + 'RvcklEOkKSQSEKHzINRXZlbnQgUGF5bG9hZNIBDVJlbW92ZWRFbWFpbHOiuxgFRXZlbnSouxgB' + 'ursYDUVtYWlsc1JlbW92ZWQ='); @$core.Deprecated('Use appointmentEmailsRemovedEventDescriptor instead') const AppointmentEmailsRemovedEvent$json = { @@ -1383,19 +1517,171 @@ final $typed_data.Uint8List appointmentEmailsRemovedResponseDescriptor = $conver 'kuUmVzcG9uc2VIZWFkZXJSBkhlYWRlchIdCgJJRBgCIAEoCzINLmFwaS5FbnRpdHlJRFICSUQ6' 'HaK7GAhSZXNwb25zZbq7GA1FbWFpbHNSZW1vdmVk'); +@$core.Deprecated('Use appointmentAttendeesAddedPayloadDescriptor instead') +const AppointmentAttendeesAddedPayload$json = { + '1': 'AppointmentAttendeesAddedPayload', + '2': [ + {'1': 'Attendees', '3': 1, '4': 3, '5': 9, '8': {}, '10': 'Attendees'}, + ], + '7': {}, +}; + +/// Descriptor for `AppointmentAttendeesAddedPayload`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appointmentAttendeesAddedPayloadDescriptor = $convert.base64Decode( + 'CiBBcHBvaW50bWVudEF0dGVuZGVlc0FkZGVkUGF5bG9hZBKjAQoJQXR0ZW5kZWVzGAEgAygJQo' + 'QBkkE1MjNTb21lIGF0dGVuZGVlcyBhZGRlZCBvbiB0aGUgYXBwb2ludG1lbnQgKHVzZXIgdXVp' + 'ZCn6QkmSAUYIASJCckAyPl5bMC05YS1mXXs4fS1bMC05YS1mXXs0fS1bMC05YS1mXXs0fS1bMC' + '05YS1mXXs0fS1bMC05YS1mXXsxMn0kUglBdHRlbmRlZXM6P5JBHQobMg1FdmVudCBQYXlsb2Fk' + '0gEJQXR0ZW5kZWVzorsYBUV2ZW50qLsYAbq7GA5BdHRlbmRlZXNBZGRlZA=='); + +@$core.Deprecated('Use appointmentAttendeesAddedEventDescriptor instead') +const AppointmentAttendeesAddedEvent$json = { + '1': 'AppointmentAttendeesAddedEvent', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.EventHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, + {'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentAttendeesAddedPayload', '8': {}, '10': 'Payload'}, + ], + '7': {}, +}; + +/// Descriptor for `AppointmentAttendeesAddedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appointmentAttendeesAddedEventDescriptor = $convert.base64Decode( + 'Ch5BcHBvaW50bWVudEF0dGVuZGVlc0FkZGVkRXZlbnQSMgoGSGVhZGVyGAEgASgLMhAuYXBpLk' + 'V2ZW50SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEicKAklEGAIgASgLMg0uYXBpLkVudGl0eUlE' + 'Qgj6QgWKAQIQAVICSUQSSQoHUGF5bG9hZBgDIAEoCzIlLmFwaS5BcHBvaW50bWVudEF0dGVuZG' + 'Vlc0FkZGVkUGF5bG9hZEII+kIFigECEAFSB1BheWxvYWQ6SJJBGgoY0gEGSGVhZGVy0gECSUTS' + 'AQdQYXlsb2FkorsYBUV2ZW50ursYDkF0dGVuZGVlc0FkZGVk2rsYDGFkZEF0dGVuZGVlcw=='); + +@$core.Deprecated('Use appointmentAttendeesAddedRequestDescriptor instead') +const AppointmentAttendeesAddedRequest$json = { + '1': 'AppointmentAttendeesAddedRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, + {'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentAttendeesAddedPayload', '8': {}, '10': 'Payload'}, + ], + '7': {}, +}; + +/// Descriptor for `AppointmentAttendeesAddedRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appointmentAttendeesAddedRequestDescriptor = $convert.base64Decode( + 'CiBBcHBvaW50bWVudEF0dGVuZGVlc0FkZGVkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcG' + 'kuUmVxdWVzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISJwoCSUQYAiABKAsyDS5h' + 'cGkuRW50aXR5SURCCPpCBYoBAhABUgJJRBJJCgdQYXlsb2FkGAMgASgLMiUuYXBpLkFwcG9pbn' + 'RtZW50QXR0ZW5kZWVzQWRkZWRQYXlsb2FkQgj6QgWKAQIQAVIHUGF5bG9hZDo6kkEaChjSAQZI' + 'ZWFkZXLSAQJJRNIBB1BheWxvYWSiuxgHUmVxdWVzdLq7GA5BdHRlbmRlZXNBZGRlZA=='); + +@$core.Deprecated('Use appointmentAttendeesAddedResponseDescriptor instead') +const AppointmentAttendeesAddedResponse$json = { + '1': 'AppointmentAttendeesAddedResponse', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '10': 'ID'}, + ], + '7': {}, +}; + +/// Descriptor for `AppointmentAttendeesAddedResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appointmentAttendeesAddedResponseDescriptor = $convert.base64Decode( + 'CiFBcHBvaW50bWVudEF0dGVuZGVlc0FkZGVkUmVzcG9uc2USKwoGSGVhZGVyGAEgASgLMhMuYX' + 'BpLlJlc3BvbnNlSGVhZGVyUgZIZWFkZXISHQoCSUQYAiABKAsyDS5hcGkuRW50aXR5SURSAklE' + 'Oh6iuxgIUmVzcG9uc2W6uxgOQXR0ZW5kZWVzQWRkZWQ='); + +@$core.Deprecated('Use appointmentAttendeesRemovedPayloadDescriptor instead') +const AppointmentAttendeesRemovedPayload$json = { + '1': 'AppointmentAttendeesRemovedPayload', + '2': [ + {'1': 'RemovedAttendees', '3': 1, '4': 3, '5': 9, '8': {}, '10': 'RemovedAttendees'}, + ], + '7': {}, +}; + +/// Descriptor for `AppointmentAttendeesRemovedPayload`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appointmentAttendeesRemovedPayloadDescriptor = $convert.base64Decode( + 'CiJBcHBvaW50bWVudEF0dGVuZGVlc1JlbW92ZWRQYXlsb2FkEr4BChBSZW1vdmVkQXR0ZW5kZW' + 'VzGAEgAygJQpEBkkFCMkBTb21lIGF0dGVuZGVlcyBjb250YWN0cyByZW1vdmVkIGZyb20gdGhl' + 'IGFwcG9pbnRtZW50ICh1c2VyIHV1aWQp+kJJkgFGCAEiQnJAMj5eWzAtOWEtZl17OH0tWzAtOW' + 'EtZl17NH0tWzAtOWEtZl17NH0tWzAtOWEtZl17NH0tWzAtOWEtZl17MTJ9JFIQUmVtb3ZlZEF0' + 'dGVuZGVlczpIkkEkCiIyDUV2ZW50IFBheWxvYWTSARBSZW1vdmVkQXR0ZW5kZWVzorsYBUV2ZW' + '50qLsYAbq7GBBBdHRlbmRlZXNSZW1vdmVk'); + +@$core.Deprecated('Use appointmentAttendeesRemovedEventDescriptor instead') +const AppointmentAttendeesRemovedEvent$json = { + '1': 'AppointmentAttendeesRemovedEvent', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.EventHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, + {'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentAttendeesRemovedPayload', '8': {}, '10': 'Payload'}, + ], + '7': {}, +}; + +/// Descriptor for `AppointmentAttendeesRemovedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appointmentAttendeesRemovedEventDescriptor = $convert.base64Decode( + 'CiBBcHBvaW50bWVudEF0dGVuZGVlc1JlbW92ZWRFdmVudBIyCgZIZWFkZXIYASABKAsyEC5hcG' + 'kuRXZlbnRIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISJwoCSUQYAiABKAsyDS5hcGkuRW50aXR5' + 'SURCCPpCBYoBAhABUgJJRBJLCgdQYXlsb2FkGAMgASgLMicuYXBpLkFwcG9pbnRtZW50QXR0ZW' + '5kZWVzUmVtb3ZlZFBheWxvYWRCCPpCBYoBAhABUgdQYXlsb2FkOk2SQRoKGNIBBkhlYWRlctIB' + 'AklE0gEHUGF5bG9hZKK7GAVFdmVudLq7GBBBdHRlbmRlZXNSZW1vdmVk2rsYD3JlbW92ZUF0dG' + 'VuZGVlcw=='); + +@$core.Deprecated('Use appointmentAttendeesRemovedRequestDescriptor instead') +const AppointmentAttendeesRemovedRequest$json = { + '1': 'AppointmentAttendeesRemovedRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, + {'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentAttendeesRemovedPayload', '8': {}, '10': 'Payload'}, + ], + '7': {}, +}; + +/// Descriptor for `AppointmentAttendeesRemovedRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appointmentAttendeesRemovedRequestDescriptor = $convert.base64Decode( + 'CiJBcHBvaW50bWVudEF0dGVuZGVlc1JlbW92ZWRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLm' + 'FwaS5SZXF1ZXN0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchInCgJJRBgCIAEoCzIN' + 'LmFwaS5FbnRpdHlJREII+kIFigECEAFSAklEEksKB1BheWxvYWQYAyABKAsyJy5hcGkuQXBwb2' + 'ludG1lbnRBdHRlbmRlZXNSZW1vdmVkUGF5bG9hZEII+kIFigECEAFSB1BheWxvYWQ6PJJBGgoY' + '0gEGSGVhZGVy0gECSUTSAQdQYXlsb2FkorsYB1JlcXVlc3S6uxgQQXR0ZW5kZWVzUmVtb3ZlZA' + '=='); + +@$core.Deprecated('Use appointmentAttendeesRemovedResponseDescriptor instead') +const AppointmentAttendeesRemovedResponse$json = { + '1': 'AppointmentAttendeesRemovedResponse', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '10': 'ID'}, + ], + '7': {}, +}; + +/// Descriptor for `AppointmentAttendeesRemovedResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appointmentAttendeesRemovedResponseDescriptor = $convert.base64Decode( + 'CiNBcHBvaW50bWVudEF0dGVuZGVlc1JlbW92ZWRSZXNwb25zZRIrCgZIZWFkZXIYASABKAsyEy' + '5hcGkuUmVzcG9uc2VIZWFkZXJSBkhlYWRlchIdCgJJRBgCIAEoCzINLmFwaS5FbnRpdHlJRFIC' + 'SUQ6IKK7GAhSZXNwb25zZbq7GBBBdHRlbmRlZXNSZW1vdmVk'); + @$core.Deprecated('Use appointmentSanitisedPayloadDescriptor instead') const AppointmentSanitisedPayload$json = { '1': 'AppointmentSanitisedPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; /// Descriptor for `AppointmentSanitisedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentSanitisedPayloadDescriptor = $convert.base64Decode( - 'ChtBcHBvaW50bWVudFNhbml0aXNlZFBheWxvYWQSGAoHQWN0b3JJRBgBIAEoCVIHQWN0b3JJRD' - 'oaorsYBUV2ZW50qLsYAbq7GAlTYW5pdGlzZWQ='); + 'ChtBcHBvaW50bWVudFNhbml0aXNlZFBheWxvYWQSHAoHQWN0b3JJRBgBIAEoCUICGAFSB0FjdG' + '9ySUQ6GqK7GAVFdmVudKi7GAG6uxgJU2FuaXRpc2Vk'); @$core.Deprecated('Use appointmentSanitisedEventDescriptor instead') const AppointmentSanitisedEvent$json = { @@ -1455,15 +1741,22 @@ final $typed_data.Uint8List appointmentSanitisedResponseDescriptor = $convert.ba const AppointmentCustomFieldsUpdatedPayload$json = { '1': 'AppointmentCustomFieldsUpdatedPayload', '2': [ - {'1': 'ActorID', '3': 1, '4': 1, '5': 9, '10': 'ActorID'}, + { + '1': 'ActorID', + '3': 1, + '4': 1, + '5': 9, + '8': {'3': true}, + '10': 'ActorID', + }, ], '7': {}, }; /// Descriptor for `AppointmentCustomFieldsUpdatedPayload`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List appointmentCustomFieldsUpdatedPayloadDescriptor = $convert.base64Decode( - 'CiVBcHBvaW50bWVudEN1c3RvbUZpZWxkc1VwZGF0ZWRQYXlsb2FkEhgKB0FjdG9ySUQYASABKA' - 'lSB0FjdG9ySUQ6JKK7GAVFdmVudKi7GAG6uxgTQ3VzdG9tRmllbGRzVXBkYXRlZA=='); + 'CiVBcHBvaW50bWVudEN1c3RvbUZpZWxkc1VwZGF0ZWRQYXlsb2FkEhwKB0FjdG9ySUQYASABKA' + 'lCAhgBUgdBY3RvcklEOiSiuxgFRXZlbnSouxgBursYE0N1c3RvbUZpZWxkc1VwZGF0ZWQ='); @$core.Deprecated('Use appointmentCustomFieldsUpdatedEventDescriptor instead') const AppointmentCustomFieldsUpdatedEvent$json = { diff --git a/lib/site.pb.dart b/lib/site.pb.dart index 5f115fad..a6a8cd4f 100644 --- a/lib/site.pb.dart +++ b/lib/site.pb.dart @@ -1567,69 +1567,9 @@ class GetAvailableSlotsResponse extends $pb.GeneratedMessage { void clearEstimatedNeededDurationInMinutes() => $_clearField(2); } -class SlotGroupAndReason extends $pb.GeneratedMessage { - factory SlotGroupAndReason({ - $2.SlotGroup? slotGroup, - $core.String? reason, - }) { - final result = create(); - if (slotGroup != null) result.slotGroup = slotGroup; - if (reason != null) result.reason = reason; - return result; - } - - SlotGroupAndReason._(); - - factory SlotGroupAndReason.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory SlotGroupAndReason.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SlotGroupAndReason', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$2.SlotGroup>(1, _omitFieldNames ? '' : 'SlotGroup', protoName: 'SlotGroup', subBuilder: $2.SlotGroup.create) - ..aOS(2, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SlotGroupAndReason clone() => SlotGroupAndReason()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - SlotGroupAndReason copyWith(void Function(SlotGroupAndReason) updates) => super.copyWith((message) => updates(message as SlotGroupAndReason)) as SlotGroupAndReason; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SlotGroupAndReason create() => SlotGroupAndReason._(); - @$core.override - SlotGroupAndReason createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SlotGroupAndReason getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SlotGroupAndReason? _defaultInstance; - - @$pb.TagNumber(1) - $2.SlotGroup get slotGroup => $_getN(0); - @$pb.TagNumber(1) - set slotGroup($2.SlotGroup value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasSlotGroup() => $_has(0); - @$pb.TagNumber(1) - void clearSlotGroup() => $_clearField(1); - @$pb.TagNumber(1) - $2.SlotGroup ensureSlotGroup() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get reason => $_getSZ(1); - @$pb.TagNumber(2) - set reason($core.String value) => $_setString(1, value); - @$pb.TagNumber(2) - $core.bool hasReason() => $_has(1); - @$pb.TagNumber(2) - void clearReason() => $_clearField(2); -} - class GetAllSlotsResponse extends $pb.GeneratedMessage { factory GetAllSlotsResponse({ - $core.Iterable? slotGroupAndReasons, + $core.Iterable<$2.SlotGroupAndReason>? slotGroupAndReasons, $fixnum.Int64? estimatedNeededDurationInMinutes, }) { final result = create(); @@ -1644,7 +1584,7 @@ class GetAllSlotsResponse extends $pb.GeneratedMessage { 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(1, _omitFieldNames ? '' : 'SlotGroupAndReasons', $pb.PbFieldType.PM, protoName: 'SlotGroupAndReasons', subBuilder: SlotGroupAndReason.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 ; @@ -1667,7 +1607,7 @@ class GetAllSlotsResponse extends $pb.GeneratedMessage { static GetAllSlotsResponse? _defaultInstance; @$pb.TagNumber(1) - $pb.PbList get slotGroupAndReasons => $_getList(0); + $pb.PbList<$2.SlotGroupAndReason> get slotGroupAndReasons => $_getList(0); @$pb.TagNumber(2) $fixnum.Int64 get estimatedNeededDurationInMinutes => $_getI64(1); diff --git a/lib/site.pbgrpc.dart b/lib/site.pbgrpc.dart index 86a2a6a1..b071a116 100644 --- a/lib/site.pbgrpc.dart +++ b/lib/site.pbgrpc.dart @@ -56,10 +56,12 @@ class SiteServiceClient extends $grpc.Client { return $createUnaryCall(_$deleteInstructionDocument, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.GetAvailableSlotsResponse> getAvailableSlots($0.GetAvailableSlotsRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$getAvailableSlots, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.GetAllSlotsResponse> getAllSlots($0.GetAvailableSlotsRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$getAllSlots, request, options: options); } @@ -68,42 +70,52 @@ class SiteServiceClient extends $grpc.Client { return $createUnaryCall(_$checkAppointmentCommission, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.BookAppointmentResponse> bookAppointment($0.BookAppointmentRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$bookAppointment, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.BookAppointmentResponse> bookAppointmentNoReference($0.BookAppointmentRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$bookAppointmentNoReference, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.BookAppointmentResponse> forceBookAppointment($0.BookAppointmentRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$forceBookAppointment, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.CancelAppointmentResponse> cancelAppointment($0.CancelAppointmentRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$cancelAppointment, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.BookAppointmentResponse> updateAppointment($0.UpdateAppointmentRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$updateAppointment, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.BookAppointmentResponse> updateAppointmentNoReference($0.UpdateAppointmentRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$updateAppointmentNoReference, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.BookAppointmentResponse> forceUpdateAppointment($0.UpdateAppointmentRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$forceUpdateAppointment, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.BookAppointmentResponse> wMSUpdateAppointment($0.WMSUpdateAppointmentRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$wMSUpdateAppointment, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.BookAppointmentResponse> rescheduleAppointment($0.RescheduleAppointmentRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$rescheduleAppointment, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.BookAppointmentResponse> forceRescheduleAppointment($0.RescheduleAppointmentRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$forceRescheduleAppointment, request, options: options); } @@ -148,6 +160,7 @@ class SiteServiceClient extends $grpc.Client { return $createUnaryCall(_$getMyBookingContext, request, options: options); } + @$core.Deprecated('This method is deprecated') $grpc.ResponseFuture<$0.CheckAppointmentEditableResponse> checkAppointmentEditable($0.CheckAppointmentEditableRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$checkAppointmentEditable, request, options: options); } diff --git a/lib/site.pbjson.dart b/lib/site.pbjson.dart index d7dfafd8..f6c43605 100644 --- a/lib/site.pbjson.dart +++ b/lib/site.pbjson.dart @@ -400,20 +400,6 @@ final $typed_data.Uint8List getAvailableSlotsResponseDescriptor = $convert.base6 'xvdEdyb3VwUgpTbG90R3JvdXBzEkoKIEVzdGltYXRlZE5lZWRlZER1cmF0aW9uSW5NaW51dGVz' 'GAIgASgEUiBFc3RpbWF0ZWROZWVkZWREdXJhdGlvbkluTWludXRlcw=='); -@$core.Deprecated('Use slotGroupAndReasonDescriptor instead') -const SlotGroupAndReason$json = { - '1': 'SlotGroupAndReason', - '2': [ - {'1': 'SlotGroup', '3': 1, '4': 1, '5': 11, '6': '.api.SlotGroup', '10': 'SlotGroup'}, - {'1': 'Reason', '3': 2, '4': 1, '5': 9, '10': 'Reason'}, - ], -}; - -/// Descriptor for `SlotGroupAndReason`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List slotGroupAndReasonDescriptor = $convert.base64Decode( - 'ChJTbG90R3JvdXBBbmRSZWFzb24SLAoJU2xvdEdyb3VwGAEgASgLMg4uYXBpLlNsb3RHcm91cF' - 'IJU2xvdEdyb3VwEhYKBlJlYXNvbhgCIAEoCVIGUmVhc29u'); - @$core.Deprecated('Use getAllSlotsResponseDescriptor instead') const GetAllSlotsResponse$json = { '1': 'GetAllSlotsResponse', diff --git a/lib/siteBooking.pb.dart b/lib/siteBooking.pb.dart new file mode 100644 index 00000000..bb802c59 --- /dev/null +++ b/lib/siteBooking.pb.dart @@ -0,0 +1,1230 @@ +// This is a generated file - do not edit. +// +// Generated from siteBooking.proto. + +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names + +import 'dart:core' as $core; + +import 'package:fixnum/fixnum.dart' as $fixnum; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'shared.pb.dart' as $1; +import 'slotbooking.pb.dart' as $2; + +export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; + +/// GetAvailableSlots +class GetBookingSlotsRequest extends $pb.GeneratedMessage { + factory GetBookingSlotsRequest({ + $1.RequestProjectHeader? header, + $2.AppointmentType? appointmentType, + $core.Iterable<$2.SegmentationSelection>? segmentationSelections, + $core.String? startDate, + $core.String? endDate, + $core.Iterable<$core.String>? skippedAppointmentIDs, + $2.AppointmentContent? loading, + $2.AppointmentContent? unloading, + }) { + final result = create(); + if (header != null) result.header = header; + if (appointmentType != null) result.appointmentType = appointmentType; + 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 (loading != null) result.loading = loading; + if (unloading != null) result.unloading = unloading; + return result; + } + + GetBookingSlotsRequest._(); + + factory GetBookingSlotsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetBookingSlotsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBookingSlotsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.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.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') + ..aOM<$2.AppointmentContent>(10, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $2.AppointmentContent.create) + ..aOM<$2.AppointmentContent>(11, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $2.AppointmentContent.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetBookingSlotsRequest clone() => GetBookingSlotsRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetBookingSlotsRequest copyWith(void Function(GetBookingSlotsRequest) updates) => super.copyWith((message) => updates(message as GetBookingSlotsRequest)) as GetBookingSlotsRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetBookingSlotsRequest create() => GetBookingSlotsRequest._(); + @$core.override + GetBookingSlotsRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetBookingSlotsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetBookingSlotsRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + /// Type of appointment : Loading / Unloading / 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); + + /// Set of segmentation constraining the slot booking + @$pb.TagNumber(4) + $pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(2); + + @$pb.TagNumber(5) + $core.String get startDate => $_getSZ(3); + @$pb.TagNumber(5) + set startDate($core.String value) => $_setString(3, value); + @$pb.TagNumber(5) + $core.bool hasStartDate() => $_has(3); + @$pb.TagNumber(5) + void clearStartDate() => $_clearField(5); + + @$pb.TagNumber(6) + $core.String get endDate => $_getSZ(4); + @$pb.TagNumber(6) + set endDate($core.String value) => $_setString(4, value); + @$pb.TagNumber(6) + $core.bool hasEndDate() => $_has(4); + @$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(5); + + /// Loading content + @$pb.TagNumber(10) + $2.AppointmentContent get loading => $_getN(6); + @$pb.TagNumber(10) + set loading($2.AppointmentContent value) => $_setField(10, value); + @$pb.TagNumber(10) + $core.bool hasLoading() => $_has(6); + @$pb.TagNumber(10) + void clearLoading() => $_clearField(10); + @$pb.TagNumber(10) + $2.AppointmentContent ensureLoading() => $_ensure(6); + + /// Unoading content + @$pb.TagNumber(11) + $2.AppointmentContent get unloading => $_getN(7); + @$pb.TagNumber(11) + set unloading($2.AppointmentContent value) => $_setField(11, value); + @$pb.TagNumber(11) + $core.bool hasUnloading() => $_has(7); + @$pb.TagNumber(11) + void clearUnloading() => $_clearField(11); + @$pb.TagNumber(11) + $2.AppointmentContent ensureUnloading() => $_ensure(7); +} + +class GetBookingSlotsResponse extends $pb.GeneratedMessage { + factory GetBookingSlotsResponse({ + $core.Iterable<$2.BookableSlot>? bookables, + $fixnum.Int64? estimatedNeededDurationInMinutes, + }) { + final result = create(); + if (bookables != null) result.bookables.addAll(bookables); + if (estimatedNeededDurationInMinutes != null) result.estimatedNeededDurationInMinutes = estimatedNeededDurationInMinutes; + return result; + } + + GetBookingSlotsResponse._(); + + factory GetBookingSlotsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetBookingSlotsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBookingSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pc<$2.BookableSlot>(1, _omitFieldNames ? '' : 'Bookables', $pb.PbFieldType.PM, protoName: 'Bookables', subBuilder: $2.BookableSlot.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.') + GetBookingSlotsResponse clone() => GetBookingSlotsResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetBookingSlotsResponse copyWith(void Function(GetBookingSlotsResponse) updates) => super.copyWith((message) => updates(message as GetBookingSlotsResponse)) as GetBookingSlotsResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetBookingSlotsResponse create() => GetBookingSlotsResponse._(); + @$core.override + GetBookingSlotsResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetBookingSlotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetBookingSlotsResponse? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList<$2.BookableSlot> get bookables => $_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); +} + +/// BookAppointment +class BookBookingAppointmentRequest extends $pb.GeneratedMessage { + factory BookBookingAppointmentRequest({ + $1.RequestProjectHeader? header, + $1.EntityID? iD, + BookAppointmentPayload? payload, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + if (payload != null) result.payload = payload; + return result; + } + + BookBookingAppointmentRequest._(); + + factory BookBookingAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory BookBookingAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookBookingAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create) + ..aOM(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: BookAppointmentPayload.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + BookBookingAppointmentRequest clone() => BookBookingAppointmentRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + BookBookingAppointmentRequest copyWith(void Function(BookBookingAppointmentRequest) updates) => super.copyWith((message) => updates(message as BookBookingAppointmentRequest)) as BookBookingAppointmentRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static BookBookingAppointmentRequest create() => BookBookingAppointmentRequest._(); + @$core.override + BookBookingAppointmentRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static BookBookingAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static BookBookingAppointmentRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $1.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($1.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $1.EntityID ensureID() => $_ensure(1); + + @$pb.TagNumber(3) + BookAppointmentPayload get payload => $_getN(2); + @$pb.TagNumber(3) + set payload(BookAppointmentPayload value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasPayload() => $_has(2); + @$pb.TagNumber(3) + void clearPayload() => $_clearField(3); + @$pb.TagNumber(3) + BookAppointmentPayload ensurePayload() => $_ensure(2); +} + +class BookAppointmentPayload extends $pb.GeneratedMessage { + factory BookAppointmentPayload({ + $2.AppointmentType? appointmentType, + $core.Iterable<$2.SegmentationSelection>? segmentationSelections, + $core.Iterable<$1.MetadataElement>? carrierInformation, + $2.Slot? slot, + $core.Iterable<$1.MetadataElement>? metaData, + $core.String? reason, + $core.bool? instructionAck, + $core.String? timeZone, + $2.AppointmentContent? loading, + $2.AppointmentContent? unloading, + $core.Iterable<$core.String>? emails, + }) { + final result = create(); + if (appointmentType != null) result.appointmentType = appointmentType; + if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections); + if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation); + if (slot != null) result.slot = slot; + if (metaData != null) result.metaData.addAll(metaData); + if (reason != null) result.reason = reason; + if (instructionAck != null) result.instructionAck = instructionAck; + if (timeZone != null) result.timeZone = timeZone; + if (loading != null) result.loading = loading; + if (unloading != null) result.unloading = unloading; + if (emails != null) result.emails.addAll(emails); + return result; + } + + BookAppointmentPayload._(); + + factory BookAppointmentPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory BookAppointmentPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookAppointmentPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..e<$2.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values) + ..pc<$2.SegmentationSelection>(2, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create) + ..pc<$1.MetadataElement>(3, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $1.MetadataElement.create) + ..aOM<$2.Slot>(4, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $2.Slot.create) + ..pc<$1.MetadataElement>(6, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $1.MetadataElement.create) + ..aOS(7, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') + ..aOB(8, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck') + ..aOS(9, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') + ..aOM<$2.AppointmentContent>(10, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $2.AppointmentContent.create) + ..aOM<$2.AppointmentContent>(11, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $2.AppointmentContent.create) + ..pPS(13, _omitFieldNames ? '' : 'Emails', protoName: 'Emails') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + BookAppointmentPayload clone() => BookAppointmentPayload()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + BookAppointmentPayload copyWith(void Function(BookAppointmentPayload) updates) => super.copyWith((message) => updates(message as BookAppointmentPayload)) as BookAppointmentPayload; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static BookAppointmentPayload create() => BookAppointmentPayload._(); + @$core.override + BookAppointmentPayload createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static BookAppointmentPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static BookAppointmentPayload? _defaultInstance; + + /// Type of appointment : Loading / Unloading / Both + @$pb.TagNumber(1) + $2.AppointmentType get appointmentType => $_getN(0); + @$pb.TagNumber(1) + set appointmentType($2.AppointmentType value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasAppointmentType() => $_has(0); + @$pb.TagNumber(1) + void clearAppointmentType() => $_clearField(1); + + /// Set of segmentation constraining the slot booking + @$pb.TagNumber(2) + $pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(1); + + /// Carrier information metadata + @$pb.TagNumber(3) + $pb.PbList<$1.MetadataElement> get carrierInformation => $_getList(2); + + /// The slot booked for the appointment + @$pb.TagNumber(4) + $2.Slot get slot => $_getN(3); + @$pb.TagNumber(4) + set slot($2.Slot value) => $_setField(4, value); + @$pb.TagNumber(4) + $core.bool hasSlot() => $_has(3); + @$pb.TagNumber(4) + void clearSlot() => $_clearField(4); + @$pb.TagNumber(4) + $2.Slot ensureSlot() => $_ensure(3); + + @$pb.TagNumber(6) + $pb.PbList<$1.MetadataElement> get metaData => $_getList(4); + + @$pb.TagNumber(7) + $core.String get reason => $_getSZ(5); + @$pb.TagNumber(7) + set reason($core.String value) => $_setString(5, value); + @$pb.TagNumber(7) + $core.bool hasReason() => $_has(5); + @$pb.TagNumber(7) + void clearReason() => $_clearField(7); + + @$pb.TagNumber(8) + $core.bool get instructionAck => $_getBF(6); + @$pb.TagNumber(8) + set instructionAck($core.bool value) => $_setBool(6, value); + @$pb.TagNumber(8) + $core.bool hasInstructionAck() => $_has(6); + @$pb.TagNumber(8) + void clearInstructionAck() => $_clearField(8); + + /// time zone of the site on which the appointment is booked + @$pb.TagNumber(9) + $core.String get timeZone => $_getSZ(7); + @$pb.TagNumber(9) + set timeZone($core.String value) => $_setString(7, value); + @$pb.TagNumber(9) + $core.bool hasTimeZone() => $_has(7); + @$pb.TagNumber(9) + void clearTimeZone() => $_clearField(9); + + /// Loading content + @$pb.TagNumber(10) + $2.AppointmentContent get loading => $_getN(8); + @$pb.TagNumber(10) + set loading($2.AppointmentContent value) => $_setField(10, value); + @$pb.TagNumber(10) + $core.bool hasLoading() => $_has(8); + @$pb.TagNumber(10) + void clearLoading() => $_clearField(10); + @$pb.TagNumber(10) + $2.AppointmentContent ensureLoading() => $_ensure(8); + + /// Unoading content + @$pb.TagNumber(11) + $2.AppointmentContent get unloading => $_getN(9); + @$pb.TagNumber(11) + set unloading($2.AppointmentContent value) => $_setField(11, value); + @$pb.TagNumber(11) + $core.bool hasUnloading() => $_has(9); + @$pb.TagNumber(11) + void clearUnloading() => $_clearField(11); + @$pb.TagNumber(11) + $2.AppointmentContent ensureUnloading() => $_ensure(9); + + /// User mails being notified on this appointment + @$pb.TagNumber(13) + $pb.PbList<$core.String> get emails => $_getList(10); +} + +class BookBookingAppointmentResponse extends $pb.GeneratedMessage { + factory BookBookingAppointmentResponse({ + $core.String? appointmentID, + $1.ResponseHeader? header, + }) { + final result = create(); + if (appointmentID != null) result.appointmentID = appointmentID; + if (header != null) result.header = header; + return result; + } + + BookBookingAppointmentResponse._(); + + factory BookBookingAppointmentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory BookBookingAppointmentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookBookingAppointmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') + ..aOM<$1.ResponseHeader>(2, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + BookBookingAppointmentResponse clone() => BookBookingAppointmentResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + BookBookingAppointmentResponse copyWith(void Function(BookBookingAppointmentResponse) updates) => super.copyWith((message) => updates(message as BookBookingAppointmentResponse)) as BookBookingAppointmentResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static BookBookingAppointmentResponse create() => BookBookingAppointmentResponse._(); + @$core.override + BookBookingAppointmentResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static BookBookingAppointmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static BookBookingAppointmentResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get appointmentID => $_getSZ(0); + @$pb.TagNumber(1) + set appointmentID($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasAppointmentID() => $_has(0); + @$pb.TagNumber(1) + void clearAppointmentID() => $_clearField(1); + + @$pb.TagNumber(2) + $1.ResponseHeader get header => $_getN(1); + @$pb.TagNumber(2) + set header($1.ResponseHeader value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasHeader() => $_has(1); + @$pb.TagNumber(2) + void clearHeader() => $_clearField(2); + @$pb.TagNumber(2) + $1.ResponseHeader ensureHeader() => $_ensure(1); +} + +/// CancelAppointment +class CancelBookingAppointmentRequest extends $pb.GeneratedMessage { + factory CancelBookingAppointmentRequest({ + $1.RequestProjectHeader? header, + $1.EntityID? iD, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + return result; + } + + CancelBookingAppointmentRequest._(); + + factory CancelBookingAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory CancelBookingAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelBookingAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + CancelBookingAppointmentRequest clone() => CancelBookingAppointmentRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + CancelBookingAppointmentRequest copyWith(void Function(CancelBookingAppointmentRequest) updates) => super.copyWith((message) => updates(message as CancelBookingAppointmentRequest)) as CancelBookingAppointmentRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CancelBookingAppointmentRequest create() => CancelBookingAppointmentRequest._(); + @$core.override + CancelBookingAppointmentRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CancelBookingAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CancelBookingAppointmentRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $1.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($1.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $1.EntityID ensureID() => $_ensure(1); +} + +class CancelBookingAppointmentResponse extends $pb.GeneratedMessage { + factory CancelBookingAppointmentResponse({ + $core.String? appointmentID, + $1.ResponseHeader? header, + }) { + final result = create(); + if (appointmentID != null) result.appointmentID = appointmentID; + if (header != null) result.header = header; + return result; + } + + CancelBookingAppointmentResponse._(); + + factory CancelBookingAppointmentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory CancelBookingAppointmentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelBookingAppointmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') + ..aOM<$1.ResponseHeader>(2, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + CancelBookingAppointmentResponse clone() => CancelBookingAppointmentResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + CancelBookingAppointmentResponse copyWith(void Function(CancelBookingAppointmentResponse) updates) => super.copyWith((message) => updates(message as CancelBookingAppointmentResponse)) as CancelBookingAppointmentResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CancelBookingAppointmentResponse create() => CancelBookingAppointmentResponse._(); + @$core.override + CancelBookingAppointmentResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CancelBookingAppointmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CancelBookingAppointmentResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get appointmentID => $_getSZ(0); + @$pb.TagNumber(1) + set appointmentID($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasAppointmentID() => $_has(0); + @$pb.TagNumber(1) + void clearAppointmentID() => $_clearField(1); + + @$pb.TagNumber(2) + $1.ResponseHeader get header => $_getN(1); + @$pb.TagNumber(2) + set header($1.ResponseHeader value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasHeader() => $_has(1); + @$pb.TagNumber(2) + void clearHeader() => $_clearField(2); + @$pb.TagNumber(2) + $1.ResponseHeader ensureHeader() => $_ensure(1); +} + +/// Reschedule +class RescheduleBookingAppointmentRequest extends $pb.GeneratedMessage { + factory RescheduleBookingAppointmentRequest({ + $1.RequestProjectHeader? header, + $1.EntityID? iD, + RescheduleAppointmentPayload? payload, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + if (payload != null) result.payload = payload; + return result; + } + + RescheduleBookingAppointmentRequest._(); + + factory RescheduleBookingAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory RescheduleBookingAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RescheduleBookingAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create) + ..aOM(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: RescheduleAppointmentPayload.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + RescheduleBookingAppointmentRequest clone() => RescheduleBookingAppointmentRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + RescheduleBookingAppointmentRequest copyWith(void Function(RescheduleBookingAppointmentRequest) updates) => super.copyWith((message) => updates(message as RescheduleBookingAppointmentRequest)) as RescheduleBookingAppointmentRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RescheduleBookingAppointmentRequest create() => RescheduleBookingAppointmentRequest._(); + @$core.override + RescheduleBookingAppointmentRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RescheduleBookingAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RescheduleBookingAppointmentRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $1.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($1.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $1.EntityID ensureID() => $_ensure(1); + + @$pb.TagNumber(3) + RescheduleAppointmentPayload get payload => $_getN(2); + @$pb.TagNumber(3) + set payload(RescheduleAppointmentPayload value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasPayload() => $_has(2); + @$pb.TagNumber(3) + void clearPayload() => $_clearField(3); + @$pb.TagNumber(3) + RescheduleAppointmentPayload ensurePayload() => $_ensure(2); +} + +class RescheduleAppointmentPayload extends $pb.GeneratedMessage { + factory RescheduleAppointmentPayload({ + $2.Slot? slot, + }) { + final result = create(); + if (slot != null) result.slot = slot; + return result; + } + + RescheduleAppointmentPayload._(); + + factory RescheduleAppointmentPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory RescheduleAppointmentPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RescheduleAppointmentPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.Slot>(1, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $2.Slot.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + RescheduleAppointmentPayload clone() => RescheduleAppointmentPayload()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + RescheduleAppointmentPayload copyWith(void Function(RescheduleAppointmentPayload) updates) => super.copyWith((message) => updates(message as RescheduleAppointmentPayload)) as RescheduleAppointmentPayload; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RescheduleAppointmentPayload create() => RescheduleAppointmentPayload._(); + @$core.override + RescheduleAppointmentPayload createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RescheduleAppointmentPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RescheduleAppointmentPayload? _defaultInstance; + + /// The slots to book for the appointment + @$pb.TagNumber(1) + $2.Slot get slot => $_getN(0); + @$pb.TagNumber(1) + set slot($2.Slot value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasSlot() => $_has(0); + @$pb.TagNumber(1) + void clearSlot() => $_clearField(1); + @$pb.TagNumber(1) + $2.Slot ensureSlot() => $_ensure(0); +} + +/// Update +class UpdateBookingAppointmentRequest extends $pb.GeneratedMessage { + factory UpdateBookingAppointmentRequest({ + $1.RequestProjectHeader? header, + $1.EntityID? iD, + UpdateAppointmentPayload? payload, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + if (payload != null) result.payload = payload; + return result; + } + + UpdateBookingAppointmentRequest._(); + + factory UpdateBookingAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory UpdateBookingAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateBookingAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create) + ..aOM(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: UpdateAppointmentPayload.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UpdateBookingAppointmentRequest clone() => UpdateBookingAppointmentRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UpdateBookingAppointmentRequest copyWith(void Function(UpdateBookingAppointmentRequest) updates) => super.copyWith((message) => updates(message as UpdateBookingAppointmentRequest)) as UpdateBookingAppointmentRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdateBookingAppointmentRequest create() => UpdateBookingAppointmentRequest._(); + @$core.override + UpdateBookingAppointmentRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpdateBookingAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateBookingAppointmentRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $1.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($1.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $1.EntityID ensureID() => $_ensure(1); + + @$pb.TagNumber(3) + UpdateAppointmentPayload get payload => $_getN(2); + @$pb.TagNumber(3) + set payload(UpdateAppointmentPayload value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasPayload() => $_has(2); + @$pb.TagNumber(3) + void clearPayload() => $_clearField(3); + @$pb.TagNumber(3) + UpdateAppointmentPayload ensurePayload() => $_ensure(2); +} + +class UpdateAppointmentPayload extends $pb.GeneratedMessage { + factory UpdateAppointmentPayload({ + $2.Slot? slot, + $core.String? reason, + $core.String? timeZone, + $2.AppointmentContent? loading, + $2.AppointmentContent? unloading, + $core.Iterable<$core.String>? emails, + }) { + final result = create(); + if (slot != null) result.slot = slot; + if (reason != null) result.reason = reason; + if (timeZone != null) result.timeZone = timeZone; + if (loading != null) result.loading = loading; + if (unloading != null) result.unloading = unloading; + if (emails != null) result.emails.addAll(emails); + return result; + } + + UpdateAppointmentPayload._(); + + factory UpdateAppointmentPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory UpdateAppointmentPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateAppointmentPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.Slot>(1, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $2.Slot.create) + ..aOS(3, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') + ..aOS(4, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') + ..aOM<$2.AppointmentContent>(5, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $2.AppointmentContent.create) + ..aOM<$2.AppointmentContent>(6, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $2.AppointmentContent.create) + ..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UpdateAppointmentPayload clone() => UpdateAppointmentPayload()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UpdateAppointmentPayload copyWith(void Function(UpdateAppointmentPayload) updates) => super.copyWith((message) => updates(message as UpdateAppointmentPayload)) as UpdateAppointmentPayload; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdateAppointmentPayload create() => UpdateAppointmentPayload._(); + @$core.override + UpdateAppointmentPayload createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpdateAppointmentPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateAppointmentPayload? _defaultInstance; + + /// The slots to book for the appointment + @$pb.TagNumber(1) + $2.Slot get slot => $_getN(0); + @$pb.TagNumber(1) + set slot($2.Slot value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasSlot() => $_has(0); + @$pb.TagNumber(1) + void clearSlot() => $_clearField(1); + @$pb.TagNumber(1) + $2.Slot ensureSlot() => $_ensure(0); + + /// In case of no reference, The Reason for which the appointment has no commissions + @$pb.TagNumber(3) + $core.String get reason => $_getSZ(1); + @$pb.TagNumber(3) + set reason($core.String value) => $_setString(1, value); + @$pb.TagNumber(3) + $core.bool hasReason() => $_has(1); + @$pb.TagNumber(3) + void clearReason() => $_clearField(3); + + /// time zone, useful only if a WMS send a message + @$pb.TagNumber(4) + $core.String get timeZone => $_getSZ(2); + @$pb.TagNumber(4) + set timeZone($core.String value) => $_setString(2, value); + @$pb.TagNumber(4) + $core.bool hasTimeZone() => $_has(2); + @$pb.TagNumber(4) + void clearTimeZone() => $_clearField(4); + + /// Loading content + @$pb.TagNumber(5) + $2.AppointmentContent get loading => $_getN(3); + @$pb.TagNumber(5) + set loading($2.AppointmentContent value) => $_setField(5, value); + @$pb.TagNumber(5) + $core.bool hasLoading() => $_has(3); + @$pb.TagNumber(5) + void clearLoading() => $_clearField(5); + @$pb.TagNumber(5) + $2.AppointmentContent ensureLoading() => $_ensure(3); + + /// Unoading content + @$pb.TagNumber(6) + $2.AppointmentContent get unloading => $_getN(4); + @$pb.TagNumber(6) + set unloading($2.AppointmentContent value) => $_setField(6, value); + @$pb.TagNumber(6) + $core.bool hasUnloading() => $_has(4); + @$pb.TagNumber(6) + void clearUnloading() => $_clearField(6); + @$pb.TagNumber(6) + $2.AppointmentContent ensureUnloading() => $_ensure(4); + + /// User mails being notified on this appointment + @$pb.TagNumber(8) + $pb.PbList<$core.String> get emails => $_getList(5); +} + +class WMSUpdateBookingAppointmentRequest extends $pb.GeneratedMessage { + factory WMSUpdateBookingAppointmentRequest({ + $1.RequestProjectHeader? header, + $1.EntityID? iD, + WMSUpdateAppointmentPayload? payload, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + if (payload != null) result.payload = payload; + return result; + } + + WMSUpdateBookingAppointmentRequest._(); + + factory WMSUpdateBookingAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory WMSUpdateBookingAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WMSUpdateBookingAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create) + ..aOM(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: WMSUpdateAppointmentPayload.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + WMSUpdateBookingAppointmentRequest clone() => WMSUpdateBookingAppointmentRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + WMSUpdateBookingAppointmentRequest copyWith(void Function(WMSUpdateBookingAppointmentRequest) updates) => super.copyWith((message) => updates(message as WMSUpdateBookingAppointmentRequest)) as WMSUpdateBookingAppointmentRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static WMSUpdateBookingAppointmentRequest create() => WMSUpdateBookingAppointmentRequest._(); + @$core.override + WMSUpdateBookingAppointmentRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static WMSUpdateBookingAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static WMSUpdateBookingAppointmentRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $1.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($1.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $1.EntityID ensureID() => $_ensure(1); + + @$pb.TagNumber(3) + WMSUpdateAppointmentPayload get payload => $_getN(2); + @$pb.TagNumber(3) + set payload(WMSUpdateAppointmentPayload value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasPayload() => $_has(2); + @$pb.TagNumber(3) + void clearPayload() => $_clearField(3); + @$pb.TagNumber(3) + WMSUpdateAppointmentPayload ensurePayload() => $_ensure(2); +} + +class WMSUpdateAppointmentPayload extends $pb.GeneratedMessage { + factory WMSUpdateAppointmentPayload({ + $2.Slot? slot, + $core.String? timeZone, + $2.AppointmentContent? loading, + $2.AppointmentContent? unloading, + }) { + final result = create(); + if (slot != null) result.slot = slot; + if (timeZone != null) result.timeZone = timeZone; + if (loading != null) result.loading = loading; + if (unloading != null) result.unloading = unloading; + return result; + } + + WMSUpdateAppointmentPayload._(); + + factory WMSUpdateAppointmentPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory WMSUpdateAppointmentPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WMSUpdateAppointmentPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.Slot>(1, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $2.Slot.create) + ..aOS(2, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') + ..aOM<$2.AppointmentContent>(3, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $2.AppointmentContent.create) + ..aOM<$2.AppointmentContent>(4, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $2.AppointmentContent.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + WMSUpdateAppointmentPayload clone() => WMSUpdateAppointmentPayload()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + WMSUpdateAppointmentPayload copyWith(void Function(WMSUpdateAppointmentPayload) updates) => super.copyWith((message) => updates(message as WMSUpdateAppointmentPayload)) as WMSUpdateAppointmentPayload; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static WMSUpdateAppointmentPayload create() => WMSUpdateAppointmentPayload._(); + @$core.override + WMSUpdateAppointmentPayload createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static WMSUpdateAppointmentPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static WMSUpdateAppointmentPayload? _defaultInstance; + + /// The slot to book for the appointment + @$pb.TagNumber(1) + $2.Slot get slot => $_getN(0); + @$pb.TagNumber(1) + set slot($2.Slot value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasSlot() => $_has(0); + @$pb.TagNumber(1) + void clearSlot() => $_clearField(1); + @$pb.TagNumber(1) + $2.Slot ensureSlot() => $_ensure(0); + + /// time zone, useful only if a WMS send a message + @$pb.TagNumber(2) + $core.String get timeZone => $_getSZ(1); + @$pb.TagNumber(2) + set timeZone($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasTimeZone() => $_has(1); + @$pb.TagNumber(2) + void clearTimeZone() => $_clearField(2); + + /// Loading content + @$pb.TagNumber(3) + $2.AppointmentContent get loading => $_getN(2); + @$pb.TagNumber(3) + set loading($2.AppointmentContent value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasLoading() => $_has(2); + @$pb.TagNumber(3) + void clearLoading() => $_clearField(3); + @$pb.TagNumber(3) + $2.AppointmentContent ensureLoading() => $_ensure(2); + + /// Unoading content + @$pb.TagNumber(4) + $2.AppointmentContent get unloading => $_getN(3); + @$pb.TagNumber(4) + set unloading($2.AppointmentContent value) => $_setField(4, value); + @$pb.TagNumber(4) + $core.bool hasUnloading() => $_has(3); + @$pb.TagNumber(4) + void clearUnloading() => $_clearField(4); + @$pb.TagNumber(4) + $2.AppointmentContent ensureUnloading() => $_ensure(3); +} + +/// CheckAppointmentEditable +class CheckBookingAppointmentEditableRequest extends $pb.GeneratedMessage { + factory CheckBookingAppointmentEditableRequest({ + $1.RequestProjectHeader? header, + $1.EntityID? iD, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + return result; + } + + CheckBookingAppointmentEditableRequest._(); + + factory CheckBookingAppointmentEditableRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory CheckBookingAppointmentEditableRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CheckBookingAppointmentEditableRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + CheckBookingAppointmentEditableRequest clone() => CheckBookingAppointmentEditableRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + CheckBookingAppointmentEditableRequest copyWith(void Function(CheckBookingAppointmentEditableRequest) updates) => super.copyWith((message) => updates(message as CheckBookingAppointmentEditableRequest)) as CheckBookingAppointmentEditableRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CheckBookingAppointmentEditableRequest create() => CheckBookingAppointmentEditableRequest._(); + @$core.override + CheckBookingAppointmentEditableRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CheckBookingAppointmentEditableRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CheckBookingAppointmentEditableRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $1.EntityID get iD => $_getN(1); + @$pb.TagNumber(2) + set iD($1.EntityID value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + @$pb.TagNumber(2) + $1.EntityID ensureID() => $_ensure(1); +} + +class CheckBookingAppointmentEditableResponse extends $pb.GeneratedMessage { + factory CheckBookingAppointmentEditableResponse({ + $1.ResponseHeader? header, + $core.bool? isEditable, + }) { + final result = create(); + if (header != null) result.header = header; + if (isEditable != null) result.isEditable = isEditable; + return result; + } + + CheckBookingAppointmentEditableResponse._(); + + factory CheckBookingAppointmentEditableResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory CheckBookingAppointmentEditableResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CheckBookingAppointmentEditableResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.ResponseHeader>(2, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create) + ..aOB(3, _omitFieldNames ? '' : 'IsEditable', protoName: 'IsEditable') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + CheckBookingAppointmentEditableResponse clone() => CheckBookingAppointmentEditableResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + CheckBookingAppointmentEditableResponse copyWith(void Function(CheckBookingAppointmentEditableResponse) updates) => super.copyWith((message) => updates(message as CheckBookingAppointmentEditableResponse)) as CheckBookingAppointmentEditableResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CheckBookingAppointmentEditableResponse create() => CheckBookingAppointmentEditableResponse._(); + @$core.override + CheckBookingAppointmentEditableResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CheckBookingAppointmentEditableResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CheckBookingAppointmentEditableResponse? _defaultInstance; + + @$pb.TagNumber(2) + $1.ResponseHeader get header => $_getN(0); + @$pb.TagNumber(2) + set header($1.ResponseHeader value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(2) + void clearHeader() => $_clearField(2); + @$pb.TagNumber(2) + $1.ResponseHeader ensureHeader() => $_ensure(0); + + /// bool IsModifiable = 1; + @$pb.TagNumber(3) + $core.bool get isEditable => $_getBF(1); + @$pb.TagNumber(3) + set isEditable($core.bool value) => $_setBool(1, value); + @$pb.TagNumber(3) + $core.bool hasIsEditable() => $_has(1); + @$pb.TagNumber(3) + void clearIsEditable() => $_clearField(3); +} + + +const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/siteBooking.pbenum.dart b/lib/siteBooking.pbenum.dart new file mode 100644 index 00000000..744a87c3 --- /dev/null +++ b/lib/siteBooking.pbenum.dart @@ -0,0 +1,12 @@ +// This is a generated file - do not edit. +// +// Generated from siteBooking.proto. + +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names + diff --git a/lib/siteBooking.pbgrpc.dart b/lib/siteBooking.pbgrpc.dart new file mode 100644 index 00000000..61f4bf5a --- /dev/null +++ b/lib/siteBooking.pbgrpc.dart @@ -0,0 +1,319 @@ +// This is a generated file - do not edit. +// +// Generated from siteBooking.proto. + +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names + +import 'dart:async' as $async; +import 'dart:core' as $core; + +import 'package:grpc/service_api.dart' as $grpc; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'siteBooking.pb.dart' as $0; + +export 'siteBooking.pb.dart'; + +@$pb.GrpcServiceName('api.BookingService') +class BookingServiceClient extends $grpc.Client { + /// The hostname for this service. + static const $core.String defaultHost = ''; + + /// OAuth scopes needed for the client. + static const $core.List<$core.String> oauthScopes = [ + '', + ]; + + BookingServiceClient(super.channel, {super.options, super.interceptors}); + + $grpc.ResponseFuture<$0.GetBookingSlotsResponse> getAvailableSlots($0.GetBookingSlotsRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$getAvailableSlots, request, options: options); + } + + $grpc.ResponseFuture<$0.GetBookingSlotsResponse> getAllSlots($0.GetBookingSlotsRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$getAllSlots, request, options: options); + } + + $grpc.ResponseFuture<$0.BookBookingAppointmentResponse> bookAppointment($0.BookBookingAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$bookAppointment, request, options: options); + } + + $grpc.ResponseFuture<$0.BookBookingAppointmentResponse> bookAppointmentNoReference($0.BookBookingAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$bookAppointmentNoReference, request, options: options); + } + + $grpc.ResponseFuture<$0.BookBookingAppointmentResponse> forceBookAppointment($0.BookBookingAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$forceBookAppointment, request, options: options); + } + + $grpc.ResponseFuture<$0.CancelBookingAppointmentResponse> cancelAppointment($0.CancelBookingAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$cancelAppointment, request, options: options); + } + + $grpc.ResponseFuture<$0.BookBookingAppointmentResponse> updateAppointment($0.UpdateBookingAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$updateAppointment, request, options: options); + } + + $grpc.ResponseFuture<$0.BookBookingAppointmentResponse> updateAppointmentNoReference($0.UpdateBookingAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$updateAppointmentNoReference, request, options: options); + } + + $grpc.ResponseFuture<$0.BookBookingAppointmentResponse> forceUpdateAppointment($0.UpdateBookingAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$forceUpdateAppointment, request, options: options); + } + + $grpc.ResponseFuture<$0.BookBookingAppointmentResponse> wMSUpdateAppointment($0.WMSUpdateBookingAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$wMSUpdateAppointment, request, options: options); + } + + $grpc.ResponseFuture<$0.BookBookingAppointmentResponse> rescheduleAppointment($0.RescheduleBookingAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$rescheduleAppointment, request, options: options); + } + + $grpc.ResponseFuture<$0.BookBookingAppointmentResponse> forceRescheduleAppointment($0.RescheduleBookingAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$forceRescheduleAppointment, request, options: options); + } + + $grpc.ResponseFuture<$0.CheckBookingAppointmentEditableResponse> checkAppointmentEditable($0.CheckBookingAppointmentEditableRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$checkAppointmentEditable, request, options: options); + } + + // method descriptors + + static final _$getAvailableSlots = $grpc.ClientMethod<$0.GetBookingSlotsRequest, $0.GetBookingSlotsResponse>( + '/api.BookingService/GetAvailableSlots', + ($0.GetBookingSlotsRequest value) => value.writeToBuffer(), + $0.GetBookingSlotsResponse.fromBuffer); + static final _$getAllSlots = $grpc.ClientMethod<$0.GetBookingSlotsRequest, $0.GetBookingSlotsResponse>( + '/api.BookingService/GetAllSlots', + ($0.GetBookingSlotsRequest value) => value.writeToBuffer(), + $0.GetBookingSlotsResponse.fromBuffer); + static final _$bookAppointment = $grpc.ClientMethod<$0.BookBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + '/api.BookingService/BookAppointment', + ($0.BookBookingAppointmentRequest value) => value.writeToBuffer(), + $0.BookBookingAppointmentResponse.fromBuffer); + static final _$bookAppointmentNoReference = $grpc.ClientMethod<$0.BookBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + '/api.BookingService/BookAppointmentNoReference', + ($0.BookBookingAppointmentRequest value) => value.writeToBuffer(), + $0.BookBookingAppointmentResponse.fromBuffer); + static final _$forceBookAppointment = $grpc.ClientMethod<$0.BookBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + '/api.BookingService/ForceBookAppointment', + ($0.BookBookingAppointmentRequest value) => value.writeToBuffer(), + $0.BookBookingAppointmentResponse.fromBuffer); + static final _$cancelAppointment = $grpc.ClientMethod<$0.CancelBookingAppointmentRequest, $0.CancelBookingAppointmentResponse>( + '/api.BookingService/CancelAppointment', + ($0.CancelBookingAppointmentRequest value) => value.writeToBuffer(), + $0.CancelBookingAppointmentResponse.fromBuffer); + static final _$updateAppointment = $grpc.ClientMethod<$0.UpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + '/api.BookingService/UpdateAppointment', + ($0.UpdateBookingAppointmentRequest value) => value.writeToBuffer(), + $0.BookBookingAppointmentResponse.fromBuffer); + static final _$updateAppointmentNoReference = $grpc.ClientMethod<$0.UpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + '/api.BookingService/UpdateAppointmentNoReference', + ($0.UpdateBookingAppointmentRequest value) => value.writeToBuffer(), + $0.BookBookingAppointmentResponse.fromBuffer); + static final _$forceUpdateAppointment = $grpc.ClientMethod<$0.UpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + '/api.BookingService/ForceUpdateAppointment', + ($0.UpdateBookingAppointmentRequest value) => value.writeToBuffer(), + $0.BookBookingAppointmentResponse.fromBuffer); + static final _$wMSUpdateAppointment = $grpc.ClientMethod<$0.WMSUpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + '/api.BookingService/WMSUpdateAppointment', + ($0.WMSUpdateBookingAppointmentRequest value) => value.writeToBuffer(), + $0.BookBookingAppointmentResponse.fromBuffer); + static final _$rescheduleAppointment = $grpc.ClientMethod<$0.RescheduleBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + '/api.BookingService/RescheduleAppointment', + ($0.RescheduleBookingAppointmentRequest value) => value.writeToBuffer(), + $0.BookBookingAppointmentResponse.fromBuffer); + static final _$forceRescheduleAppointment = $grpc.ClientMethod<$0.RescheduleBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + '/api.BookingService/ForceRescheduleAppointment', + ($0.RescheduleBookingAppointmentRequest value) => value.writeToBuffer(), + $0.BookBookingAppointmentResponse.fromBuffer); + static final _$checkAppointmentEditable = $grpc.ClientMethod<$0.CheckBookingAppointmentEditableRequest, $0.CheckBookingAppointmentEditableResponse>( + '/api.BookingService/CheckAppointmentEditable', + ($0.CheckBookingAppointmentEditableRequest value) => value.writeToBuffer(), + $0.CheckBookingAppointmentEditableResponse.fromBuffer); +} + +@$pb.GrpcServiceName('api.BookingService') +abstract class BookingServiceBase extends $grpc.Service { + $core.String get $name => 'api.BookingService'; + + BookingServiceBase() { + $addMethod($grpc.ServiceMethod<$0.GetBookingSlotsRequest, $0.GetBookingSlotsResponse>( + 'GetAvailableSlots', + getAvailableSlots_Pre, + false, + false, + ($core.List<$core.int> value) => $0.GetBookingSlotsRequest.fromBuffer(value), + ($0.GetBookingSlotsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.GetBookingSlotsRequest, $0.GetBookingSlotsResponse>( + 'GetAllSlots', + getAllSlots_Pre, + false, + false, + ($core.List<$core.int> value) => $0.GetBookingSlotsRequest.fromBuffer(value), + ($0.GetBookingSlotsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.BookBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + 'BookAppointment', + bookAppointment_Pre, + false, + false, + ($core.List<$core.int> value) => $0.BookBookingAppointmentRequest.fromBuffer(value), + ($0.BookBookingAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.BookBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + 'BookAppointmentNoReference', + bookAppointmentNoReference_Pre, + false, + false, + ($core.List<$core.int> value) => $0.BookBookingAppointmentRequest.fromBuffer(value), + ($0.BookBookingAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.BookBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + 'ForceBookAppointment', + forceBookAppointment_Pre, + false, + false, + ($core.List<$core.int> value) => $0.BookBookingAppointmentRequest.fromBuffer(value), + ($0.BookBookingAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CancelBookingAppointmentRequest, $0.CancelBookingAppointmentResponse>( + 'CancelAppointment', + cancelAppointment_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CancelBookingAppointmentRequest.fromBuffer(value), + ($0.CancelBookingAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.UpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + 'UpdateAppointment', + updateAppointment_Pre, + false, + false, + ($core.List<$core.int> value) => $0.UpdateBookingAppointmentRequest.fromBuffer(value), + ($0.BookBookingAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.UpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + 'UpdateAppointmentNoReference', + updateAppointmentNoReference_Pre, + false, + false, + ($core.List<$core.int> value) => $0.UpdateBookingAppointmentRequest.fromBuffer(value), + ($0.BookBookingAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.UpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + 'ForceUpdateAppointment', + forceUpdateAppointment_Pre, + false, + false, + ($core.List<$core.int> value) => $0.UpdateBookingAppointmentRequest.fromBuffer(value), + ($0.BookBookingAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.WMSUpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + 'WMSUpdateAppointment', + wMSUpdateAppointment_Pre, + false, + false, + ($core.List<$core.int> value) => $0.WMSUpdateBookingAppointmentRequest.fromBuffer(value), + ($0.BookBookingAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.RescheduleBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + 'RescheduleAppointment', + rescheduleAppointment_Pre, + false, + false, + ($core.List<$core.int> value) => $0.RescheduleBookingAppointmentRequest.fromBuffer(value), + ($0.BookBookingAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.RescheduleBookingAppointmentRequest, $0.BookBookingAppointmentResponse>( + 'ForceRescheduleAppointment', + forceRescheduleAppointment_Pre, + false, + false, + ($core.List<$core.int> value) => $0.RescheduleBookingAppointmentRequest.fromBuffer(value), + ($0.BookBookingAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CheckBookingAppointmentEditableRequest, $0.CheckBookingAppointmentEditableResponse>( + 'CheckAppointmentEditable', + checkAppointmentEditable_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CheckBookingAppointmentEditableRequest.fromBuffer(value), + ($0.CheckBookingAppointmentEditableResponse value) => value.writeToBuffer())); + } + + $async.Future<$0.GetBookingSlotsResponse> getAvailableSlots_Pre($grpc.ServiceCall $call, $async.Future<$0.GetBookingSlotsRequest> $request) async { + return getAvailableSlots($call, await $request); + } + + $async.Future<$0.GetBookingSlotsResponse> getAvailableSlots($grpc.ServiceCall call, $0.GetBookingSlotsRequest request); + + $async.Future<$0.GetBookingSlotsResponse> getAllSlots_Pre($grpc.ServiceCall $call, $async.Future<$0.GetBookingSlotsRequest> $request) async { + return getAllSlots($call, await $request); + } + + $async.Future<$0.GetBookingSlotsResponse> getAllSlots($grpc.ServiceCall call, $0.GetBookingSlotsRequest request); + + $async.Future<$0.BookBookingAppointmentResponse> bookAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.BookBookingAppointmentRequest> $request) async { + return bookAppointment($call, await $request); + } + + $async.Future<$0.BookBookingAppointmentResponse> bookAppointment($grpc.ServiceCall call, $0.BookBookingAppointmentRequest request); + + $async.Future<$0.BookBookingAppointmentResponse> bookAppointmentNoReference_Pre($grpc.ServiceCall $call, $async.Future<$0.BookBookingAppointmentRequest> $request) async { + return bookAppointmentNoReference($call, await $request); + } + + $async.Future<$0.BookBookingAppointmentResponse> bookAppointmentNoReference($grpc.ServiceCall call, $0.BookBookingAppointmentRequest request); + + $async.Future<$0.BookBookingAppointmentResponse> forceBookAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.BookBookingAppointmentRequest> $request) async { + return forceBookAppointment($call, await $request); + } + + $async.Future<$0.BookBookingAppointmentResponse> forceBookAppointment($grpc.ServiceCall call, $0.BookBookingAppointmentRequest request); + + $async.Future<$0.CancelBookingAppointmentResponse> cancelAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.CancelBookingAppointmentRequest> $request) async { + return cancelAppointment($call, await $request); + } + + $async.Future<$0.CancelBookingAppointmentResponse> cancelAppointment($grpc.ServiceCall call, $0.CancelBookingAppointmentRequest request); + + $async.Future<$0.BookBookingAppointmentResponse> updateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateBookingAppointmentRequest> $request) async { + return updateAppointment($call, await $request); + } + + $async.Future<$0.BookBookingAppointmentResponse> updateAppointment($grpc.ServiceCall call, $0.UpdateBookingAppointmentRequest request); + + $async.Future<$0.BookBookingAppointmentResponse> updateAppointmentNoReference_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateBookingAppointmentRequest> $request) async { + return updateAppointmentNoReference($call, await $request); + } + + $async.Future<$0.BookBookingAppointmentResponse> updateAppointmentNoReference($grpc.ServiceCall call, $0.UpdateBookingAppointmentRequest request); + + $async.Future<$0.BookBookingAppointmentResponse> forceUpdateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateBookingAppointmentRequest> $request) async { + return forceUpdateAppointment($call, await $request); + } + + $async.Future<$0.BookBookingAppointmentResponse> forceUpdateAppointment($grpc.ServiceCall call, $0.UpdateBookingAppointmentRequest request); + + $async.Future<$0.BookBookingAppointmentResponse> wMSUpdateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.WMSUpdateBookingAppointmentRequest> $request) async { + return wMSUpdateAppointment($call, await $request); + } + + $async.Future<$0.BookBookingAppointmentResponse> wMSUpdateAppointment($grpc.ServiceCall call, $0.WMSUpdateBookingAppointmentRequest request); + + $async.Future<$0.BookBookingAppointmentResponse> rescheduleAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.RescheduleBookingAppointmentRequest> $request) async { + return rescheduleAppointment($call, await $request); + } + + $async.Future<$0.BookBookingAppointmentResponse> rescheduleAppointment($grpc.ServiceCall call, $0.RescheduleBookingAppointmentRequest request); + + $async.Future<$0.BookBookingAppointmentResponse> forceRescheduleAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.RescheduleBookingAppointmentRequest> $request) async { + return forceRescheduleAppointment($call, await $request); + } + + $async.Future<$0.BookBookingAppointmentResponse> forceRescheduleAppointment($grpc.ServiceCall call, $0.RescheduleBookingAppointmentRequest request); + + $async.Future<$0.CheckBookingAppointmentEditableResponse> checkAppointmentEditable_Pre($grpc.ServiceCall $call, $async.Future<$0.CheckBookingAppointmentEditableRequest> $request) async { + return checkAppointmentEditable($call, await $request); + } + + $async.Future<$0.CheckBookingAppointmentEditableResponse> checkAppointmentEditable($grpc.ServiceCall call, $0.CheckBookingAppointmentEditableRequest request); + +} diff --git a/lib/siteBooking.pbjson.dart b/lib/siteBooking.pbjson.dart new file mode 100644 index 00000000..09c3daba --- /dev/null +++ b/lib/siteBooking.pbjson.dart @@ -0,0 +1,315 @@ +// This is a generated file - do not edit. +// +// Generated from siteBooking.proto. + +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use getBookingSlotsRequestDescriptor instead') +const GetBookingSlotsRequest$json = { + '1': 'GetBookingSlotsRequest', + '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': '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': 'Loading', '3': 10, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Loading'}, + {'1': 'Unloading', '3': 11, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'}, + ], + '7': {}, +}; + +/// Descriptor for `GetBookingSlotsRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getBookingSlotsRequestDescriptor = $convert.base64Decode( + 'ChZHZXRCb29raW5nU2xvdHNSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH' + 'JvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchJICg9BcHBvaW50bWVudFR5cGUYAiABKA4y' + 'FC5hcGkuQXBwb2ludG1lbnRUeXBlQgj6QgWCAQIQAVIPQXBwb2ludG1lbnRUeXBlElIKFlNlZ2' + '1lbnRhdGlvblNlbGVjdGlvbnMYBCADKAsyGi5hcGkuU2VnbWVudGF0aW9uU2VsZWN0aW9uUhZT' + 'ZWdtZW50YXRpb25TZWxlY3Rpb25zEloKCVN0YXJ0RGF0ZRgFIAEoCUI8+kI5cjcyNV4yMFswLT' + 'ldezJ9LSgwWzEtOV18MVswLTJdKS0oMFsxLTldfFsxMl1bMC05XXwzWzAxXSkkUglTdGFydERh' + 'dGUSVgoHRW5kRGF0ZRgGIAEoCUI8+kI5cjcyNV4yMFswLTldezJ9LSgwWzEtOV18MVswLTJdKS' + '0oMFsxLTldfFsxMl1bMC05XXwzWzAxXSkkUgdFbmREYXRlEjQKFVNraXBwZWRBcHBvaW50bWVu' + 'dElEcxgHIAMoCVIVU2tpcHBlZEFwcG9pbnRtZW50SURzEjEKB0xvYWRpbmcYCiABKAsyFy5hcG' + 'kuQXBwb2ludG1lbnRDb250ZW50UgdMb2FkaW5nEjUKCVVubG9hZGluZxgLIAEoCzIXLmFwaS5B' + 'cHBvaW50bWVudENvbnRlbnRSCVVubG9hZGluZzo5kkE2CjTSAQZIZWFkZXLSAQ9BcHBvaW50bW' + 'VudFR5cGXSARZTZWdtZW50YXRpb25TZWxlY3Rpb25z'); + +@$core.Deprecated('Use getBookingSlotsResponseDescriptor instead') +const GetBookingSlotsResponse$json = { + '1': 'GetBookingSlotsResponse', + '2': [ + {'1': 'Bookables', '3': 1, '4': 3, '5': 11, '6': '.api.BookableSlot', '10': 'Bookables'}, + {'1': 'EstimatedNeededDurationInMinutes', '3': 2, '4': 1, '5': 4, '10': 'EstimatedNeededDurationInMinutes'}, + ], +}; + +/// Descriptor for `GetBookingSlotsResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getBookingSlotsResponseDescriptor = $convert.base64Decode( + 'ChdHZXRCb29raW5nU2xvdHNSZXNwb25zZRIvCglCb29rYWJsZXMYASADKAsyES5hcGkuQm9va2' + 'FibGVTbG90UglCb29rYWJsZXMSSgogRXN0aW1hdGVkTmVlZGVkRHVyYXRpb25Jbk1pbnV0ZXMY' + 'AiABKARSIEVzdGltYXRlZE5lZWRlZER1cmF0aW9uSW5NaW51dGVz'); + +@$core.Deprecated('Use bookBookingAppointmentRequestDescriptor instead') +const BookBookingAppointmentRequest$json = { + '1': 'BookBookingAppointmentRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, + {'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.BookAppointmentPayload', '8': {}, '10': 'Payload'}, + ], + '7': {}, +}; + +/// Descriptor for `BookBookingAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List bookBookingAppointmentRequestDescriptor = $convert.base64Decode( + 'Ch1Cb29rQm9va2luZ0FwcG9pbnRtZW50UmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUm' + 'VxdWVzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISJwoCSUQYAiABKAsyDS5hcGku' + 'RW50aXR5SURCCPpCBYoBAhABUgJJRBI/CgdQYXlsb2FkGAMgASgLMhsuYXBpLkJvb2tBcHBvaW' + '50bWVudFBheWxvYWRCCPpCBYoBAhABUgdQYXlsb2FkOh2SQRoKGNIBBkhlYWRlctIBAklE0gEH' + 'UGF5bG9hZA=='); + +@$core.Deprecated('Use bookAppointmentPayloadDescriptor instead') +const BookAppointmentPayload$json = { + '1': 'BookAppointmentPayload', + '2': [ + {'1': 'AppointmentType', '3': 1, '4': 1, '5': 14, '6': '.api.AppointmentType', '8': {}, '10': 'AppointmentType'}, + {'1': 'SegmentationSelections', '3': 2, '4': 3, '5': 11, '6': '.api.SegmentationSelection', '10': 'SegmentationSelections'}, + {'1': 'CarrierInformation', '3': 3, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'CarrierInformation'}, + {'1': 'Slot', '3': 4, '4': 1, '5': 11, '6': '.api.Slot', '10': 'Slot'}, + {'1': 'MetaData', '3': 6, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'MetaData'}, + {'1': 'Reason', '3': 7, '4': 1, '5': 9, '10': 'Reason'}, + {'1': 'InstructionAck', '3': 8, '4': 1, '5': 8, '10': 'InstructionAck'}, + {'1': 'TimeZone', '3': 9, '4': 1, '5': 9, '10': 'TimeZone'}, + {'1': 'Loading', '3': 10, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Loading'}, + {'1': 'Unloading', '3': 11, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'}, + {'1': 'Emails', '3': 13, '4': 3, '5': 9, '8': {}, '10': 'Emails'}, + ], + '7': {}, +}; + +/// Descriptor for `BookAppointmentPayload`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List bookAppointmentPayloadDescriptor = $convert.base64Decode( + 'ChZCb29rQXBwb2ludG1lbnRQYXlsb2FkEkgKD0FwcG9pbnRtZW50VHlwZRgBIAEoDjIULmFwaS' + '5BcHBvaW50bWVudFR5cGVCCPpCBYIBAhABUg9BcHBvaW50bWVudFR5cGUSUgoWU2VnbWVudGF0' + 'aW9uU2VsZWN0aW9ucxgCIAMoCzIaLmFwaS5TZWdtZW50YXRpb25TZWxlY3Rpb25SFlNlZ21lbn' + 'RhdGlvblNlbGVjdGlvbnMScgoSQ2FycmllckluZm9ybWF0aW9uGAMgAygLMhQuYXBpLk1ldGFk' + 'YXRhRWxlbWVudEIskkEeMhxDYXJyaWVyIGluZm9ybWF0aW9uIG1ldGFkYXRhwMEYAerBGANLZX' + 'lSEkNhcnJpZXJJbmZvcm1hdGlvbhIdCgRTbG90GAQgASgLMgkuYXBpLlNsb3RSBFNsb3QSxwEK' + 'CE1ldGFEYXRhGAYgAygLMhQuYXBpLk1ldGFkYXRhRWxlbWVudEKUAZJBhQEyggFNZXRhZGF0YS' + 'BhcmUgY2hhcmFjdGVyaXN0aWNzIHNwZWNpZmljIHRvIHRoZSBzaXRlLiBUaGV5IGNhbiBiZSBv' + 'ZiBzZXZlcmFsIGRhdGEgZm9ybSAoc3RyaW5nLCBpbnRlZ2VyLCBmbG9hdCwgYm9vbGVhbiBvci' + 'B0aW1lc3RhbXApwMEYAerBGANLZXlSCE1ldGFEYXRhEhYKBlJlYXNvbhgHIAEoCVIGUmVhc29u' + 'EiYKDkluc3RydWN0aW9uQWNrGAggASgIUg5JbnN0cnVjdGlvbkFjaxIaCghUaW1lWm9uZRgJIA' + 'EoCVIIVGltZVpvbmUSMQoHTG9hZGluZxgKIAEoCzIXLmFwaS5BcHBvaW50bWVudENvbnRlbnRS' + 'B0xvYWRpbmcSNQoJVW5sb2FkaW5nGAsgASgLMhcuYXBpLkFwcG9pbnRtZW50Q29udGVudFIJVW' + '5sb2FkaW5nEn0KBkVtYWlscxgNIAMoCUJlkkFRMh1NdXN0IGJlIGEgdmFsaWQgZW1haWwgYWRk' + 'cmVzc0owWyJKb2huLmRvZUByZWZsZXguY29tIiwgIndpbGwuc21pdGhAcmVmbGV4LmNvbSJd+k' + 'IOkgELCAEiB3IFYAHwAQFSBkVtYWlsczp/kkFkCmIyDUV2ZW50IFBheWxvYWTSAQ9BcHBvaW50' + 'bWVudFR5cGXSAQRTbG900gEWU2VnbWVudGF0aW9uU2VsZWN0aW9uc9IBEkNhcnJpZXJJbmZvcm' + '1hdGlvbtIBCUF0dGVuZGVlc6K7GAVFdmVudKi7GAG6uxgHQ3JlYXRlZA=='); + +@$core.Deprecated('Use bookBookingAppointmentResponseDescriptor instead') +const BookBookingAppointmentResponse$json = { + '1': 'BookBookingAppointmentResponse', + '2': [ + {'1': 'Header', '3': 2, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'}, + {'1': 'AppointmentID', '3': 1, '4': 1, '5': 9, '10': 'AppointmentID'}, + ], +}; + +/// Descriptor for `BookBookingAppointmentResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List bookBookingAppointmentResponseDescriptor = $convert.base64Decode( + 'Ch5Cb29rQm9va2luZ0FwcG9pbnRtZW50UmVzcG9uc2USKwoGSGVhZGVyGAIgASgLMhMuYXBpLl' + 'Jlc3BvbnNlSGVhZGVyUgZIZWFkZXISJAoNQXBwb2ludG1lbnRJRBgBIAEoCVINQXBwb2ludG1l' + 'bnRJRA=='); + +@$core.Deprecated('Use cancelBookingAppointmentRequestDescriptor instead') +const CancelBookingAppointmentRequest$json = { + '1': 'CancelBookingAppointmentRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, + ], + '7': {}, +}; + +/// Descriptor for `CancelBookingAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List cancelBookingAppointmentRequestDescriptor = $convert.base64Decode( + 'Ch9DYW5jZWxCb29raW5nQXBwb2ludG1lbnRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS' + '5SZXF1ZXN0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchInCgJJRBgCIAEoCzINLmFw' + 'aS5FbnRpdHlJREII+kIFigECEAFSAklEOhOSQRAKDtIBBkhlYWRlctIBAklE'); + +@$core.Deprecated('Use cancelBookingAppointmentResponseDescriptor instead') +const CancelBookingAppointmentResponse$json = { + '1': 'CancelBookingAppointmentResponse', + '2': [ + {'1': 'Header', '3': 2, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'}, + {'1': 'AppointmentID', '3': 1, '4': 1, '5': 9, '10': 'AppointmentID'}, + ], +}; + +/// Descriptor for `CancelBookingAppointmentResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List cancelBookingAppointmentResponseDescriptor = $convert.base64Decode( + 'CiBDYW5jZWxCb29raW5nQXBwb2ludG1lbnRSZXNwb25zZRIrCgZIZWFkZXIYAiABKAsyEy5hcG' + 'kuUmVzcG9uc2VIZWFkZXJSBkhlYWRlchIkCg1BcHBvaW50bWVudElEGAEgASgJUg1BcHBvaW50' + 'bWVudElE'); + +@$core.Deprecated('Use rescheduleBookingAppointmentRequestDescriptor instead') +const RescheduleBookingAppointmentRequest$json = { + '1': 'RescheduleBookingAppointmentRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, + {'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.RescheduleAppointmentPayload', '8': {}, '10': 'Payload'}, + ], + '7': {}, +}; + +/// Descriptor for `RescheduleBookingAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List rescheduleBookingAppointmentRequestDescriptor = $convert.base64Decode( + 'CiNSZXNjaGVkdWxlQm9va2luZ0FwcG9pbnRtZW50UmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS' + '5hcGkuUmVxdWVzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISJwoCSUQYAiABKAsy' + 'DS5hcGkuRW50aXR5SURCCPpCBYoBAhABUgJJRBJFCgdQYXlsb2FkGAMgASgLMiEuYXBpLlJlc2' + 'NoZWR1bGVBcHBvaW50bWVudFBheWxvYWRCCPpCBYoBAhABUgdQYXlsb2FkOh2SQRoKGNIBBkhl' + 'YWRlctIBAklE0gEHUGF5bG9hZA=='); + +@$core.Deprecated('Use rescheduleAppointmentPayloadDescriptor instead') +const RescheduleAppointmentPayload$json = { + '1': 'RescheduleAppointmentPayload', + '2': [ + {'1': 'Slot', '3': 1, '4': 1, '5': 11, '6': '.api.Slot', '10': 'Slot'}, + ], + '7': {}, +}; + +/// Descriptor for `RescheduleAppointmentPayload`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List rescheduleAppointmentPayloadDescriptor = $convert.base64Decode( + 'ChxSZXNjaGVkdWxlQXBwb2ludG1lbnRQYXlsb2FkEh0KBFNsb3QYASABKAsyCS5hcGkuU2xvdF' + 'IEU2xvdDoMkkEJCgfSAQRTbG90'); + +@$core.Deprecated('Use updateBookingAppointmentRequestDescriptor instead') +const UpdateBookingAppointmentRequest$json = { + '1': 'UpdateBookingAppointmentRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, + {'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.UpdateAppointmentPayload', '8': {}, '10': 'Payload'}, + ], + '7': {}, +}; + +/// Descriptor for `UpdateBookingAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updateBookingAppointmentRequestDescriptor = $convert.base64Decode( + 'Ch9VcGRhdGVCb29raW5nQXBwb2ludG1lbnRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS' + '5SZXF1ZXN0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchInCgJJRBgCIAEoCzINLmFw' + 'aS5FbnRpdHlJREII+kIFigECEAFSAklEEkEKB1BheWxvYWQYAyABKAsyHS5hcGkuVXBkYXRlQX' + 'Bwb2ludG1lbnRQYXlsb2FkQgj6QgWKAQIQAVIHUGF5bG9hZDodkkEaChjSAQZIZWFkZXLSAQJJ' + 'RNIBB1BheWxvYWQ='); + +@$core.Deprecated('Use updateAppointmentPayloadDescriptor instead') +const UpdateAppointmentPayload$json = { + '1': 'UpdateAppointmentPayload', + '2': [ + {'1': 'Slot', '3': 1, '4': 1, '5': 11, '6': '.api.Slot', '10': 'Slot'}, + {'1': 'Reason', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Reason'}, + {'1': 'TimeZone', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'TimeZone'}, + {'1': 'Loading', '3': 5, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Loading'}, + {'1': 'Unloading', '3': 6, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'}, + {'1': 'Emails', '3': 8, '4': 3, '5': 9, '8': {}, '10': 'Emails'}, + ], + '7': {}, +}; + +/// Descriptor for `UpdateAppointmentPayload`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updateAppointmentPayloadDescriptor = $convert.base64Decode( + 'ChhVcGRhdGVBcHBvaW50bWVudFBheWxvYWQSHQoEU2xvdBgBIAEoCzIJLmFwaS5TbG90UgRTbG' + '90ElsKBlJlYXNvbhgDIAEoCUJDkkFAMj5SZWFzb24gaXMgcmVxdWlyZWQgdG8gYm9vayBhcHBv' + 'aW50bWVudCB3aXRob3V0IG9yZGVyIHJlZmVyZW5jZVIGUmVhc29uElMKCFRpbWVab25lGAQgAS' + 'gJQjeSQTQyMlRpbWVab25lIGlzIHJlcXVpcmVkIG9ubHkgd2hlbiBhIFdNUyBjYWxscyB0aGUg' + 'QVBJUghUaW1lWm9uZRIxCgdMb2FkaW5nGAUgASgLMhcuYXBpLkFwcG9pbnRtZW50Q29udGVudF' + 'IHTG9hZGluZxI1CglVbmxvYWRpbmcYBiABKAsyFy5hcGkuQXBwb2ludG1lbnRDb250ZW50UglV' + 'bmxvYWRpbmcSfQoGRW1haWxzGAggAygJQmWSQVEyHU11c3QgYmUgYSB2YWxpZCBlbWFpbCBhZG' + 'RyZXNzSjBbIkpvaG4uZG9lQHJlZmxleC5jb20iLCAid2lsbC5zbWl0aEByZWZsZXguY29tIl36' + 'Qg6SAQsIASIHcgVgAfABAVIGRW1haWxzOhiSQRUKE9IBBFNsb3TSAQlBdHRlbmRlZXM='); + +@$core.Deprecated('Use wMSUpdateBookingAppointmentRequestDescriptor instead') +const WMSUpdateBookingAppointmentRequest$json = { + '1': 'WMSUpdateBookingAppointmentRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, + {'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.WMSUpdateAppointmentPayload', '8': {}, '10': 'Payload'}, + ], + '7': {}, +}; + +/// Descriptor for `WMSUpdateBookingAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List wMSUpdateBookingAppointmentRequestDescriptor = $convert.base64Decode( + 'CiJXTVNVcGRhdGVCb29raW5nQXBwb2ludG1lbnRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLm' + 'FwaS5SZXF1ZXN0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchInCgJJRBgCIAEoCzIN' + 'LmFwaS5FbnRpdHlJREII+kIFigECEAFSAklEEkQKB1BheWxvYWQYAyABKAsyIC5hcGkuV01TVX' + 'BkYXRlQXBwb2ludG1lbnRQYXlsb2FkQgj6QgWKAQIQAVIHUGF5bG9hZDodkkEaChjSAQZIZWFk' + 'ZXLSAQJJRNIBB1BheWxvYWQ='); + +@$core.Deprecated('Use wMSUpdateAppointmentPayloadDescriptor instead') +const WMSUpdateAppointmentPayload$json = { + '1': 'WMSUpdateAppointmentPayload', + '2': [ + {'1': 'Slot', '3': 1, '4': 1, '5': 11, '6': '.api.Slot', '10': 'Slot'}, + {'1': 'TimeZone', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'TimeZone'}, + {'1': 'Loading', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Loading'}, + {'1': 'Unloading', '3': 4, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'}, + ], + '7': {}, +}; + +/// Descriptor for `WMSUpdateAppointmentPayload`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List wMSUpdateAppointmentPayloadDescriptor = $convert.base64Decode( + 'ChtXTVNVcGRhdGVBcHBvaW50bWVudFBheWxvYWQSHQoEU2xvdBgBIAEoCzIJLmFwaS5TbG90Ug' + 'RTbG90ElMKCFRpbWVab25lGAIgASgJQjeSQTQyMlRpbWVab25lIGlzIHJlcXVpcmVkIG9ubHkg' + 'd2hlbiBhIFdNUyBjYWxscyB0aGUgQVBJUghUaW1lWm9uZRIxCgdMb2FkaW5nGAMgASgLMhcuYX' + 'BpLkFwcG9pbnRtZW50Q29udGVudFIHTG9hZGluZxI1CglVbmxvYWRpbmcYBCABKAsyFy5hcGku' + 'QXBwb2ludG1lbnRDb250ZW50UglVbmxvYWRpbmc6DJJBCQoH0gEEU2xvdA=='); + +@$core.Deprecated('Use checkBookingAppointmentEditableRequestDescriptor instead') +const CheckBookingAppointmentEditableRequest$json = { + '1': 'CheckBookingAppointmentEditableRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, + ], + '7': {}, +}; + +/// Descriptor for `CheckBookingAppointmentEditableRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List checkBookingAppointmentEditableRequestDescriptor = $convert.base64Decode( + 'CiZDaGVja0Jvb2tpbmdBcHBvaW50bWVudEVkaXRhYmxlUmVxdWVzdBI7CgZIZWFkZXIYASABKA' + 'syGS5hcGkuUmVxdWVzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISJwoCSUQYAiAB' + 'KAsyDS5hcGkuRW50aXR5SURCCPpCBYoBAhABUgJJRDoTkkEQCg7SAQZIZWFkZXLSAQJJRA=='); + +@$core.Deprecated('Use checkBookingAppointmentEditableResponseDescriptor instead') +const CheckBookingAppointmentEditableResponse$json = { + '1': 'CheckBookingAppointmentEditableResponse', + '2': [ + {'1': 'Header', '3': 2, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'}, + {'1': 'IsEditable', '3': 3, '4': 1, '5': 8, '10': 'IsEditable'}, + ], +}; + +/// Descriptor for `CheckBookingAppointmentEditableResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List checkBookingAppointmentEditableResponseDescriptor = $convert.base64Decode( + 'CidDaGVja0Jvb2tpbmdBcHBvaW50bWVudEVkaXRhYmxlUmVzcG9uc2USKwoGSGVhZGVyGAIgAS' + 'gLMhMuYXBpLlJlc3BvbnNlSGVhZGVyUgZIZWFkZXISHgoKSXNFZGl0YWJsZRgDIAEoCFIKSXNF' + 'ZGl0YWJsZQ=='); + diff --git a/lib/slotbooking.pb.dart b/lib/slotbooking.pb.dart index 788b15d8..05cf42d3 100644 --- a/lib/slotbooking.pb.dart +++ b/lib/slotbooking.pb.dart @@ -1725,6 +1725,110 @@ class AppointmentCommission extends $pb.GeneratedMessage { void clearActorID() => $_clearField(7); } +class AppointmentContent extends $pb.GeneratedMessage { + factory AppointmentContent({ + $core.Iterable? projects, + $core.Iterable? totalQuantities, + }) { + final result = create(); + if (projects != null) result.projects.addAll(projects); + if (totalQuantities != null) result.totalQuantities.addAll(totalQuantities); + return result; + } + + AppointmentContent._(); + + factory AppointmentContent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory AppointmentContent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentContent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'Projects', $pb.PbFieldType.PM, protoName: 'Projects', subBuilder: AppointmentProjectContent.create) + ..pc(2, _omitFieldNames ? '' : 'TotalQuantities', $pb.PbFieldType.PM, protoName: 'TotalQuantities', subBuilder: QuantityByUnit.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentContent clone() => AppointmentContent()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentContent copyWith(void Function(AppointmentContent) updates) => super.copyWith((message) => updates(message as AppointmentContent)) as AppointmentContent; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AppointmentContent create() => AppointmentContent._(); + @$core.override + AppointmentContent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AppointmentContent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AppointmentContent? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get projects => $_getList(0); + + @$pb.TagNumber(2) + $pb.PbList get totalQuantities => $_getList(1); +} + +class AppointmentProjectContent extends $pb.GeneratedMessage { + factory AppointmentProjectContent({ + $core.String? projectID, + $core.Iterable? commissions, + $core.Iterable? projectQuantities, + }) { + final result = create(); + if (projectID != null) result.projectID = projectID; + if (commissions != null) result.commissions.addAll(commissions); + if (projectQuantities != null) result.projectQuantities.addAll(projectQuantities); + return result; + } + + AppointmentProjectContent._(); + + factory AppointmentProjectContent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory AppointmentProjectContent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentProjectContent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') + ..pc(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: AppointmentCommission.create) + ..pc(3, _omitFieldNames ? '' : 'ProjectQuantities', $pb.PbFieldType.PM, protoName: 'ProjectQuantities', subBuilder: QuantityByUnit.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentProjectContent clone() => AppointmentProjectContent()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + AppointmentProjectContent copyWith(void Function(AppointmentProjectContent) updates) => super.copyWith((message) => updates(message as AppointmentProjectContent)) as AppointmentProjectContent; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AppointmentProjectContent create() => AppointmentProjectContent._(); + @$core.override + AppointmentProjectContent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AppointmentProjectContent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AppointmentProjectContent? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get projectID => $_getSZ(0); + @$pb.TagNumber(1) + set projectID($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasProjectID() => $_has(0); + @$pb.TagNumber(1) + void clearProjectID() => $_clearField(1); + + @$pb.TagNumber(2) + $pb.PbList get commissions => $_getList(1); + + @$pb.TagNumber(3) + $pb.PbList get projectQuantities => $_getList(2); +} + class Commission extends $pb.GeneratedMessage { factory Commission({ $core.String? projectID, @@ -1898,6 +2002,7 @@ class WMSCommission extends $pb.GeneratedMessage { class Booking extends $pb.GeneratedMessage { factory Booking({ AppointmentType? appointmentType, + @$core.Deprecated('This field is deprecated.') $core.Iterable? commissions, $core.Iterable? segmentationSelections, $core.Iterable? slots, @@ -1905,6 +2010,9 @@ class Booking extends $pb.GeneratedMessage { $core.bool? hasReference, $core.Iterable<$core.String>? emails, $core.String? reason, + AppointmentContent? loading, + AppointmentContent? unloading, + $core.String? lastUpdate, }) { final result = create(); if (appointmentType != null) result.appointmentType = appointmentType; @@ -1915,6 +2023,9 @@ class Booking extends $pb.GeneratedMessage { if (hasReference != null) result.hasReference = hasReference; if (emails != null) result.emails.addAll(emails); if (reason != null) result.reason = reason; + if (loading != null) result.loading = loading; + if (unloading != null) result.unloading = unloading; + if (lastUpdate != null) result.lastUpdate = lastUpdate; return result; } @@ -1932,6 +2043,9 @@ class Booking extends $pb.GeneratedMessage { ..aOB(6, _omitFieldNames ? '' : 'HasReference', protoName: 'HasReference') ..pPS(7, _omitFieldNames ? '' : 'Emails', protoName: 'Emails') ..aOS(8, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') + ..aOM(9, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: AppointmentContent.create) + ..aOM(10, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: AppointmentContent.create) + ..aOS(12, _omitFieldNames ? '' : 'LastUpdate', protoName: 'LastUpdate') ..hasRequiredFields = false ; @@ -1961,6 +2075,7 @@ class Booking extends $pb.GeneratedMessage { @$pb.TagNumber(1) void clearAppointmentType() => $_clearField(1); + @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) $pb.PbList get commissions => $_getList(1); @@ -1999,6 +2114,37 @@ class Booking extends $pb.GeneratedMessage { $core.bool hasReason() => $_has(7); @$pb.TagNumber(8) void clearReason() => $_clearField(8); + + @$pb.TagNumber(9) + AppointmentContent get loading => $_getN(8); + @$pb.TagNumber(9) + set loading(AppointmentContent value) => $_setField(9, value); + @$pb.TagNumber(9) + $core.bool hasLoading() => $_has(8); + @$pb.TagNumber(9) + void clearLoading() => $_clearField(9); + @$pb.TagNumber(9) + AppointmentContent ensureLoading() => $_ensure(8); + + @$pb.TagNumber(10) + AppointmentContent get unloading => $_getN(9); + @$pb.TagNumber(10) + set unloading(AppointmentContent value) => $_setField(10, value); + @$pb.TagNumber(10) + $core.bool hasUnloading() => $_has(9); + @$pb.TagNumber(10) + void clearUnloading() => $_clearField(10); + @$pb.TagNumber(10) + AppointmentContent ensureUnloading() => $_ensure(9); + + @$pb.TagNumber(12) + $core.String get lastUpdate => $_getSZ(10); + @$pb.TagNumber(12) + set lastUpdate($core.String value) => $_setString(10, value); + @$pb.TagNumber(12) + $core.bool hasLastUpdate() => $_has(10); + @$pb.TagNumber(12) + void clearLastUpdate() => $_clearField(12); } class SlotGroup extends $pb.GeneratedMessage { @@ -2053,6 +2199,138 @@ class SlotGroup extends $pb.GeneratedMessage { void clearAvailability() => $_clearField(2); } +class SlotGroupAndReason extends $pb.GeneratedMessage { + factory SlotGroupAndReason({ + SlotGroup? slotGroup, + $core.String? reason, + }) { + final result = create(); + if (slotGroup != null) result.slotGroup = slotGroup; + if (reason != null) result.reason = reason; + return result; + } + + SlotGroupAndReason._(); + + factory SlotGroupAndReason.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory SlotGroupAndReason.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SlotGroupAndReason', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'SlotGroup', protoName: 'SlotGroup', subBuilder: SlotGroup.create) + ..aOS(2, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + SlotGroupAndReason clone() => SlotGroupAndReason()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + SlotGroupAndReason copyWith(void Function(SlotGroupAndReason) updates) => super.copyWith((message) => updates(message as SlotGroupAndReason)) as SlotGroupAndReason; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SlotGroupAndReason create() => SlotGroupAndReason._(); + @$core.override + SlotGroupAndReason createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SlotGroupAndReason getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SlotGroupAndReason? _defaultInstance; + + @$pb.TagNumber(1) + SlotGroup get slotGroup => $_getN(0); + @$pb.TagNumber(1) + set slotGroup(SlotGroup value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasSlotGroup() => $_has(0); + @$pb.TagNumber(1) + void clearSlotGroup() => $_clearField(1); + @$pb.TagNumber(1) + SlotGroup ensureSlotGroup() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get reason => $_getSZ(1); + @$pb.TagNumber(2) + set reason($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasReason() => $_has(1); + @$pb.TagNumber(2) + void clearReason() => $_clearField(2); +} + +class BookableSlot extends $pb.GeneratedMessage { + factory BookableSlot({ + Slot? slot, + $core.int? availability, + $core.String? reason, + }) { + final result = create(); + if (slot != null) result.slot = slot; + if (availability != null) result.availability = availability; + if (reason != null) result.reason = reason; + return result; + } + + BookableSlot._(); + + factory BookableSlot.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory BookableSlot.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookableSlot', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: Slot.create) + ..a<$core.int>(2, _omitFieldNames ? '' : 'Availability', $pb.PbFieldType.O3, protoName: 'Availability') + ..aOS(3, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + BookableSlot clone() => BookableSlot()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + BookableSlot copyWith(void Function(BookableSlot) updates) => super.copyWith((message) => updates(message as BookableSlot)) as BookableSlot; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static BookableSlot create() => BookableSlot._(); + @$core.override + BookableSlot createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static BookableSlot getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static BookableSlot? _defaultInstance; + + @$pb.TagNumber(1) + Slot get slot => $_getN(0); + @$pb.TagNumber(1) + set slot(Slot value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasSlot() => $_has(0); + @$pb.TagNumber(1) + void clearSlot() => $_clearField(1); + @$pb.TagNumber(1) + Slot ensureSlot() => $_ensure(0); + + @$pb.TagNumber(2) + $core.int get availability => $_getIZ(1); + @$pb.TagNumber(2) + set availability($core.int value) => $_setSignedInt32(1, value); + @$pb.TagNumber(2) + $core.bool hasAvailability() => $_has(1); + @$pb.TagNumber(2) + void clearAvailability() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get reason => $_getSZ(2); + @$pb.TagNumber(3) + set reason($core.String value) => $_setString(2, value); + @$pb.TagNumber(3) + $core.bool hasReason() => $_has(2); + @$pb.TagNumber(3) + void clearReason() => $_clearField(3); +} + const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/slotbooking.pbjson.dart b/lib/slotbooking.pbjson.dart index 6d78cff7..376d81a1 100644 --- a/lib/slotbooking.pbjson.dart +++ b/lib/slotbooking.pbjson.dart @@ -500,6 +500,38 @@ final $typed_data.Uint8List appointmentCommissionDescriptor = $convert.base64Dec 'RBIiCgxQYXJ0bmVyQXBwSUQYBSABKAlSDFBhcnRuZXJBcHBJRBIYCgdBY3RvcklEGAcgASgJUg' 'dBY3RvcklE'); +@$core.Deprecated('Use appointmentContentDescriptor instead') +const AppointmentContent$json = { + '1': 'AppointmentContent', + '2': [ + {'1': 'Projects', '3': 1, '4': 3, '5': 11, '6': '.api.AppointmentProjectContent', '8': {}, '10': 'Projects'}, + {'1': 'TotalQuantities', '3': 2, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '10': 'TotalQuantities'}, + ], +}; + +/// Descriptor for `AppointmentContent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appointmentContentDescriptor = $convert.base64Decode( + 'ChJBcHBvaW50bWVudENvbnRlbnQSSQoIUHJvamVjdHMYASADKAsyHi5hcGkuQXBwb2ludG1lbn' + 'RQcm9qZWN0Q29udGVudEIN6sEYCVByb2plY3RJRFIIUHJvamVjdHMSPQoPVG90YWxRdWFudGl0' + 'aWVzGAIgAygLMhMuYXBpLlF1YW50aXR5QnlVbml0Ug9Ub3RhbFF1YW50aXRpZXM='); + +@$core.Deprecated('Use appointmentProjectContentDescriptor instead') +const AppointmentProjectContent$json = { + '1': 'AppointmentProjectContent', + '2': [ + {'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '10': 'ProjectID'}, + {'1': 'Commissions', '3': 2, '4': 3, '5': 11, '6': '.api.AppointmentCommission', '10': 'Commissions'}, + {'1': 'ProjectQuantities', '3': 3, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '10': 'ProjectQuantities'}, + ], +}; + +/// Descriptor for `AppointmentProjectContent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appointmentProjectContentDescriptor = $convert.base64Decode( + 'ChlBcHBvaW50bWVudFByb2plY3RDb250ZW50EhwKCVByb2plY3RJRBgBIAEoCVIJUHJvamVjdE' + 'lEEjwKC0NvbW1pc3Npb25zGAIgAygLMhouYXBpLkFwcG9pbnRtZW50Q29tbWlzc2lvblILQ29t' + 'bWlzc2lvbnMSQQoRUHJvamVjdFF1YW50aXRpZXMYAyADKAsyEy5hcGkuUXVhbnRpdHlCeVVuaX' + 'RSEVByb2plY3RRdWFudGl0aWVz'); + @$core.Deprecated('Use commissionDescriptor instead') const Commission$json = { '1': 'Commission', @@ -541,25 +573,39 @@ const Booking$json = { '1': 'Booking', '2': [ {'1': 'AppointmentType', '3': 1, '4': 1, '5': 14, '6': '.api.AppointmentType', '10': 'AppointmentType'}, - {'1': 'Commissions', '3': 2, '4': 3, '5': 11, '6': '.api.Commission', '10': 'Commissions'}, + { + '1': 'Commissions', + '3': 2, + '4': 3, + '5': 11, + '6': '.api.Commission', + '8': {'3': true}, + '10': 'Commissions', + }, {'1': 'SegmentationSelections', '3': 3, '4': 3, '5': 11, '6': '.api.SegmentationSelection', '10': 'SegmentationSelections'}, {'1': 'Slots', '3': 4, '4': 3, '5': 11, '6': '.api.Slot', '10': 'Slots'}, {'1': 'AppointmentKind', '3': 5, '4': 1, '5': 9, '10': 'AppointmentKind'}, {'1': 'HasReference', '3': 6, '4': 1, '5': 8, '10': 'HasReference'}, {'1': 'Emails', '3': 7, '4': 3, '5': 9, '10': 'Emails'}, + {'1': 'Loading', '3': 9, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Loading'}, + {'1': 'Unloading', '3': 10, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'}, {'1': 'Reason', '3': 8, '4': 1, '5': 9, '10': 'Reason'}, + {'1': 'LastUpdate', '3': 12, '4': 1, '5': 9, '10': 'LastUpdate'}, ], }; /// Descriptor for `Booking`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List bookingDescriptor = $convert.base64Decode( 'CgdCb29raW5nEj4KD0FwcG9pbnRtZW50VHlwZRgBIAEoDjIULmFwaS5BcHBvaW50bWVudFR5cG' - 'VSD0FwcG9pbnRtZW50VHlwZRIxCgtDb21taXNzaW9ucxgCIAMoCzIPLmFwaS5Db21taXNzaW9u' - 'UgtDb21taXNzaW9ucxJSChZTZWdtZW50YXRpb25TZWxlY3Rpb25zGAMgAygLMhouYXBpLlNlZ2' - '1lbnRhdGlvblNlbGVjdGlvblIWU2VnbWVudGF0aW9uU2VsZWN0aW9ucxIfCgVTbG90cxgEIAMo' - 'CzIJLmFwaS5TbG90UgVTbG90cxIoCg9BcHBvaW50bWVudEtpbmQYBSABKAlSD0FwcG9pbnRtZW' - '50S2luZBIiCgxIYXNSZWZlcmVuY2UYBiABKAhSDEhhc1JlZmVyZW5jZRIWCgZFbWFpbHMYByAD' - 'KAlSBkVtYWlscxIWCgZSZWFzb24YCCABKAlSBlJlYXNvbg=='); + 'VSD0FwcG9pbnRtZW50VHlwZRI1CgtDb21taXNzaW9ucxgCIAMoCzIPLmFwaS5Db21taXNzaW9u' + 'QgIYAVILQ29tbWlzc2lvbnMSUgoWU2VnbWVudGF0aW9uU2VsZWN0aW9ucxgDIAMoCzIaLmFwaS' + '5TZWdtZW50YXRpb25TZWxlY3Rpb25SFlNlZ21lbnRhdGlvblNlbGVjdGlvbnMSHwoFU2xvdHMY' + 'BCADKAsyCS5hcGkuU2xvdFIFU2xvdHMSKAoPQXBwb2ludG1lbnRLaW5kGAUgASgJUg9BcHBvaW' + '50bWVudEtpbmQSIgoMSGFzUmVmZXJlbmNlGAYgASgIUgxIYXNSZWZlcmVuY2USFgoGRW1haWxz' + 'GAcgAygJUgZFbWFpbHMSMQoHTG9hZGluZxgJIAEoCzIXLmFwaS5BcHBvaW50bWVudENvbnRlbn' + 'RSB0xvYWRpbmcSNQoJVW5sb2FkaW5nGAogASgLMhcuYXBpLkFwcG9pbnRtZW50Q29udGVudFIJ' + 'VW5sb2FkaW5nEhYKBlJlYXNvbhgIIAEoCVIGUmVhc29uEh4KCkxhc3RVcGRhdGUYDCABKAlSCk' + 'xhc3RVcGRhdGU='); @$core.Deprecated('Use slotGroupDescriptor instead') const SlotGroup$json = { @@ -575,3 +621,33 @@ final $typed_data.Uint8List slotGroupDescriptor = $convert.base64Decode( 'CglTbG90R3JvdXASHwoFU2xvdHMYASADKAsyCS5hcGkuU2xvdFIFU2xvdHMSNgoMQXZhaWxhYm' 'lsaXR5GAIgASgFQhL6Qg8aDRhkKP///////////wFSDEF2YWlsYWJpbGl0eQ=='); +@$core.Deprecated('Use slotGroupAndReasonDescriptor instead') +const SlotGroupAndReason$json = { + '1': 'SlotGroupAndReason', + '2': [ + {'1': 'SlotGroup', '3': 1, '4': 1, '5': 11, '6': '.api.SlotGroup', '10': 'SlotGroup'}, + {'1': 'Reason', '3': 2, '4': 1, '5': 9, '10': 'Reason'}, + ], +}; + +/// Descriptor for `SlotGroupAndReason`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List slotGroupAndReasonDescriptor = $convert.base64Decode( + 'ChJTbG90R3JvdXBBbmRSZWFzb24SLAoJU2xvdEdyb3VwGAEgASgLMg4uYXBpLlNsb3RHcm91cF' + 'IJU2xvdEdyb3VwEhYKBlJlYXNvbhgCIAEoCVIGUmVhc29u'); + +@$core.Deprecated('Use bookableSlotDescriptor instead') +const BookableSlot$json = { + '1': 'BookableSlot', + '2': [ + {'1': 'Slot', '3': 1, '4': 1, '5': 11, '6': '.api.Slot', '10': 'Slot'}, + {'1': 'Availability', '3': 2, '4': 1, '5': 5, '8': {}, '10': 'Availability'}, + {'1': 'Reason', '3': 3, '4': 1, '5': 9, '10': 'Reason'}, + ], +}; + +/// Descriptor for `BookableSlot`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List bookableSlotDescriptor = $convert.base64Decode( + 'CgxCb29rYWJsZVNsb3QSHQoEU2xvdBgBIAEoCzIJLmFwaS5TbG90UgRTbG90EjYKDEF2YWlsYW' + 'JpbGl0eRgCIAEoBUIS+kIPGg0YZCj///////////8BUgxBdmFpbGFiaWxpdHkSFgoGUmVhc29u' + 'GAMgASgJUgZSZWFzb24='); + diff --git a/pubspec.yaml b/pubspec.yaml index 84465da8..7da12a86 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.13.0-SNAPSHOT-260212100304 +version: 1.13.0-scpn1-9964 homepage: '' publish_to: '' repository: ''