diff --git a/CHANGELOG.md b/CHANGELOG.md index 827134b7..be6e54c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.14.0-SNAPSHOT-260615081042 +Lib version: 1.14.0-SNAPSHOT-260616085433 diff --git a/lib/site.pb.dart b/lib/site.pb.dart index d9c91a9d..f0809f29 100644 --- a/lib/site.pb.dart +++ b/lib/site.pb.dart @@ -1980,179 +1980,6 @@ class StandAloneConf extends $pb.GeneratedMessage { void clearIsBookingUnloadingEnabledForUnknownUsers() => $_clearField(3); } -/// BookAppointment -class BookAppointmentRequest extends $pb.GeneratedMessage { - factory BookAppointmentRequest({ - $3.RequestProjectHeader? header, - $3.AppointmentType? appointmentType, - $core.Iterable<$2.Commission>? commissions, - $core.Iterable<$2.SegmentationSelection>? segmentationSelections, - $core.Iterable<$2.Slot>? slots, - $core.Iterable<$core.String>? emails, - $core.String? appointmentID, - $core.bool? instructionAck, - $core.String? actorID, - $core.Iterable<$3.MetadataElement>? carrierInformation, - $core.Iterable<$3.MetadataElement>? metaData, - $core.String? reason, - $core.String? timeZone, - $core.Iterable<$3.CustomField>? customFields, - }) { - final result = create(); - if (header != null) result.header = header; - if (appointmentType != null) result.appointmentType = appointmentType; - if (commissions != null) result.commissions.addAll(commissions); - if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections); - if (slots != null) result.slots.addAll(slots); - if (emails != null) result.emails.addAll(emails); - if (appointmentID != null) result.appointmentID = appointmentID; - if (instructionAck != null) result.instructionAck = instructionAck; - if (actorID != null) result.actorID = actorID; - if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation); - if (metaData != null) result.metaData.addAll(metaData); - if (reason != null) result.reason = reason; - if (timeZone != null) result.timeZone = timeZone; - if (customFields != null) result.customFields.addAll(customFields); - return result; - } - - BookAppointmentRequest._(); - - factory BookAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory BookAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create) - ..e<$3.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $3.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $3.AppointmentType.valueOf, enumValues: $3.AppointmentType.values) - ..pc<$2.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create) - ..pc<$2.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create) - ..pc<$2.Slot>(6, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create) - ..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails') - ..aOS(11, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') - ..aOB(12, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck') - ..aOS(13, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID') - ..pc<$3.MetadataElement>(14, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $3.MetadataElement.create) - ..pc<$3.MetadataElement>(15, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create) - ..aOS(16, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') - ..aOS(17, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') - ..pc<$3.CustomField>(18, _omitFieldNames ? '' : 'CustomFields', $pb.PbFieldType.PM, protoName: 'CustomFields', subBuilder: $3.CustomField.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - BookAppointmentRequest clone() => BookAppointmentRequest()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - BookAppointmentRequest copyWith(void Function(BookAppointmentRequest) updates) => super.copyWith((message) => updates(message as BookAppointmentRequest)) as BookAppointmentRequest; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BookAppointmentRequest create() => BookAppointmentRequest._(); - @$core.override - BookAppointmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BookAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BookAppointmentRequest? _defaultInstance; - - @$pb.TagNumber(1) - $3.RequestProjectHeader get header => $_getN(0); - @$pb.TagNumber(1) - set header($3.RequestProjectHeader value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasHeader() => $_has(0); - @$pb.TagNumber(1) - void clearHeader() => $_clearField(1); - @$pb.TagNumber(1) - $3.RequestProjectHeader ensureHeader() => $_ensure(0); - - /// Type of appointment : Loading / Unloading / Both - @$pb.TagNumber(2) - $3.AppointmentType get appointmentType => $_getN(1); - @$pb.TagNumber(2) - set appointmentType($3.AppointmentType value) => $_setField(2, value); - @$pb.TagNumber(2) - $core.bool hasAppointmentType() => $_has(1); - @$pb.TagNumber(2) - void clearAppointmentType() => $_clearField(2); - - /// List of the orders and projects for which the appointment is made, with the quantities - @$pb.TagNumber(3) - $pb.PbList<$2.Commission> get commissions => $_getList(2); - - /// Set of segmentation constraining the slot booking - @$pb.TagNumber(4) - $pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(3); - - /// The slot to book for the appointment - @$pb.TagNumber(6) - $pb.PbList<$2.Slot> get slots => $_getList(4); - - /// TODO Need to add a structure to store platform user identifiers which can act on this appointment ? - /// User mails being notified on this appointment - @$pb.TagNumber(8) - $pb.PbList<$core.String> get emails => $_getList(5); - - /// The appointment ID, usually generated using siteCounterServices - @$pb.TagNumber(11) - $core.String get appointmentID => $_getSZ(6); - @$pb.TagNumber(11) - set appointmentID($core.String value) => $_setString(6, value); - @$pb.TagNumber(11) - $core.bool hasAppointmentID() => $_has(6); - @$pb.TagNumber(11) - void clearAppointmentID() => $_clearField(11); - - /// Acknowledgment of the site instructions - @$pb.TagNumber(12) - $core.bool get instructionAck => $_getBF(7); - @$pb.TagNumber(12) - set instructionAck($core.bool value) => $_setBool(7, value); - @$pb.TagNumber(12) - $core.bool hasInstructionAck() => $_has(7); - @$pb.TagNumber(12) - void clearInstructionAck() => $_clearField(12); - - @$pb.TagNumber(13) - $core.String get actorID => $_getSZ(8); - @$pb.TagNumber(13) - set actorID($core.String value) => $_setString(8, value); - @$pb.TagNumber(13) - $core.bool hasActorID() => $_has(8); - @$pb.TagNumber(13) - void clearActorID() => $_clearField(13); - - /// Carrier information metadata definition - @$pb.TagNumber(14) - $pb.PbList<$3.MetadataElement> get carrierInformation => $_getList(9); - - @$pb.TagNumber(15) - $pb.PbList<$3.MetadataElement> get metaData => $_getList(10); - - @$pb.TagNumber(16) - $core.String get reason => $_getSZ(11); - @$pb.TagNumber(16) - set reason($core.String value) => $_setString(11, value); - @$pb.TagNumber(16) - $core.bool hasReason() => $_has(11); - @$pb.TagNumber(16) - void clearReason() => $_clearField(16); - - /// time zone, useful only if a WMS send a message - @$pb.TagNumber(17) - $core.String get timeZone => $_getSZ(12); - @$pb.TagNumber(17) - set timeZone($core.String value) => $_setString(12, value); - @$pb.TagNumber(17) - $core.bool hasTimeZone() => $_has(12); - @$pb.TagNumber(17) - void clearTimeZone() => $_clearField(17); - - @$pb.TagNumber(18) - $pb.PbList<$3.CustomField> get customFields => $_getList(13); -} - class GetBookingContextRequest extends $pb.GeneratedMessage { factory GetBookingContextRequest({ $3.RequestProjectHeader? header, @@ -2407,526 +2234,6 @@ class SegmentationsByType extends $pb.GeneratedMessage { $pb.PbList<$2.SegmentationFilter> get segmentations => $_getList(1); } -class BookAppointmentResponse extends $pb.GeneratedMessage { - factory BookAppointmentResponse({ - $core.String? appointmentID, - $3.ResponseHeader? header, - }) { - final result = create(); - if (appointmentID != null) result.appointmentID = appointmentID; - if (header != null) result.header = header; - return result; - } - - BookAppointmentResponse._(); - - factory BookAppointmentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory BookAppointmentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookAppointmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') - ..aOM<$3.ResponseHeader>(2, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResponseHeader.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - BookAppointmentResponse clone() => BookAppointmentResponse()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - BookAppointmentResponse copyWith(void Function(BookAppointmentResponse) updates) => super.copyWith((message) => updates(message as BookAppointmentResponse)) as BookAppointmentResponse; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BookAppointmentResponse create() => BookAppointmentResponse._(); - @$core.override - BookAppointmentResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BookAppointmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BookAppointmentResponse? _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) - $3.ResponseHeader get header => $_getN(1); - @$pb.TagNumber(2) - set header($3.ResponseHeader value) => $_setField(2, value); - @$pb.TagNumber(2) - $core.bool hasHeader() => $_has(1); - @$pb.TagNumber(2) - void clearHeader() => $_clearField(2); - @$pb.TagNumber(2) - $3.ResponseHeader ensureHeader() => $_ensure(1); -} - -/// CancelAppointment -class CancelAppointmentRequest extends $pb.GeneratedMessage { - factory CancelAppointmentRequest({ - $3.RequestProjectHeader? header, - $core.String? appointmentID, - $core.String? actorID, - $core.Iterable<$3.CustomField>? customFields, - }) { - final result = create(); - if (header != null) result.header = header; - if (appointmentID != null) result.appointmentID = appointmentID; - if (actorID != null) result.actorID = actorID; - if (customFields != null) result.customFields.addAll(customFields); - return result; - } - - CancelAppointmentRequest._(); - - factory CancelAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory CancelAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create) - ..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') - ..aOS(3, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID') - ..pc<$3.CustomField>(4, _omitFieldNames ? '' : 'CustomFields', $pb.PbFieldType.PM, protoName: 'CustomFields', subBuilder: $3.CustomField.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - CancelAppointmentRequest clone() => CancelAppointmentRequest()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - CancelAppointmentRequest copyWith(void Function(CancelAppointmentRequest) updates) => super.copyWith((message) => updates(message as CancelAppointmentRequest)) as CancelAppointmentRequest; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CancelAppointmentRequest create() => CancelAppointmentRequest._(); - @$core.override - CancelAppointmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CancelAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CancelAppointmentRequest? _defaultInstance; - - @$pb.TagNumber(1) - $3.RequestProjectHeader get header => $_getN(0); - @$pb.TagNumber(1) - set header($3.RequestProjectHeader value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasHeader() => $_has(0); - @$pb.TagNumber(1) - void clearHeader() => $_clearField(1); - @$pb.TagNumber(1) - $3.RequestProjectHeader ensureHeader() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get appointmentID => $_getSZ(1); - @$pb.TagNumber(2) - set appointmentID($core.String value) => $_setString(1, value); - @$pb.TagNumber(2) - $core.bool hasAppointmentID() => $_has(1); - @$pb.TagNumber(2) - void clearAppointmentID() => $_clearField(2); - - @$pb.TagNumber(3) - $core.String get actorID => $_getSZ(2); - @$pb.TagNumber(3) - set actorID($core.String value) => $_setString(2, value); - @$pb.TagNumber(3) - $core.bool hasActorID() => $_has(2); - @$pb.TagNumber(3) - void clearActorID() => $_clearField(3); - - @$pb.TagNumber(4) - $pb.PbList<$3.CustomField> get customFields => $_getList(3); -} - -class CancelAppointmentResponse extends $pb.GeneratedMessage { - factory CancelAppointmentResponse({ - $core.String? appointmentID, - $3.ResponseHeader? header, - }) { - final result = create(); - if (appointmentID != null) result.appointmentID = appointmentID; - if (header != null) result.header = header; - return result; - } - - CancelAppointmentResponse._(); - - factory CancelAppointmentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory CancelAppointmentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelAppointmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') - ..aOM<$3.ResponseHeader>(2, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResponseHeader.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - CancelAppointmentResponse clone() => CancelAppointmentResponse()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - CancelAppointmentResponse copyWith(void Function(CancelAppointmentResponse) updates) => super.copyWith((message) => updates(message as CancelAppointmentResponse)) as CancelAppointmentResponse; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CancelAppointmentResponse create() => CancelAppointmentResponse._(); - @$core.override - CancelAppointmentResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CancelAppointmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CancelAppointmentResponse? _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) - $3.ResponseHeader get header => $_getN(1); - @$pb.TagNumber(2) - set header($3.ResponseHeader value) => $_setField(2, value); - @$pb.TagNumber(2) - $core.bool hasHeader() => $_has(1); - @$pb.TagNumber(2) - void clearHeader() => $_clearField(2); - @$pb.TagNumber(2) - $3.ResponseHeader ensureHeader() => $_ensure(1); -} - -class RescheduleAppointmentRequest extends $pb.GeneratedMessage { - factory RescheduleAppointmentRequest({ - $3.RequestProjectHeader? header, - $core.String? appointmentID, - $core.Iterable<$2.Slot>? slots, - $core.String? actorID, - }) { - final result = create(); - if (header != null) result.header = header; - if (appointmentID != null) result.appointmentID = appointmentID; - if (slots != null) result.slots.addAll(slots); - if (actorID != null) result.actorID = actorID; - return result; - } - - RescheduleAppointmentRequest._(); - - factory RescheduleAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory RescheduleAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RescheduleAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create) - ..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') - ..pc<$2.Slot>(3, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create) - ..aOS(4, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID') - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RescheduleAppointmentRequest clone() => RescheduleAppointmentRequest()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - RescheduleAppointmentRequest copyWith(void Function(RescheduleAppointmentRequest) updates) => super.copyWith((message) => updates(message as RescheduleAppointmentRequest)) as RescheduleAppointmentRequest; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RescheduleAppointmentRequest create() => RescheduleAppointmentRequest._(); - @$core.override - RescheduleAppointmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RescheduleAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RescheduleAppointmentRequest? _defaultInstance; - - @$pb.TagNumber(1) - $3.RequestProjectHeader get header => $_getN(0); - @$pb.TagNumber(1) - set header($3.RequestProjectHeader value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasHeader() => $_has(0); - @$pb.TagNumber(1) - void clearHeader() => $_clearField(1); - @$pb.TagNumber(1) - $3.RequestProjectHeader ensureHeader() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get appointmentID => $_getSZ(1); - @$pb.TagNumber(2) - set appointmentID($core.String value) => $_setString(1, value); - @$pb.TagNumber(2) - $core.bool hasAppointmentID() => $_has(1); - @$pb.TagNumber(2) - void clearAppointmentID() => $_clearField(2); - - /// The slots to book for the appointment - @$pb.TagNumber(3) - $pb.PbList<$2.Slot> get slots => $_getList(2); - - @$pb.TagNumber(4) - $core.String get actorID => $_getSZ(3); - @$pb.TagNumber(4) - set actorID($core.String value) => $_setString(3, value); - @$pb.TagNumber(4) - $core.bool hasActorID() => $_has(3); - @$pb.TagNumber(4) - void clearActorID() => $_clearField(4); -} - -class UpdateAppointmentRequest extends $pb.GeneratedMessage { - factory UpdateAppointmentRequest({ - $3.RequestProjectHeader? header, - $core.String? appointmentID, - $core.Iterable<$2.Slot>? slots, - $core.Iterable<$2.Commission>? commissions, - $core.String? actorID, - $core.Iterable<$core.String>? emails, - $core.String? reason, - $core.String? timeZone, - $core.Iterable<$3.CustomField>? customFields, - }) { - final result = create(); - if (header != null) result.header = header; - if (appointmentID != null) result.appointmentID = appointmentID; - if (slots != null) result.slots.addAll(slots); - if (commissions != null) result.commissions.addAll(commissions); - if (actorID != null) result.actorID = actorID; - if (emails != null) result.emails.addAll(emails); - if (reason != null) result.reason = reason; - if (timeZone != null) result.timeZone = timeZone; - if (customFields != null) result.customFields.addAll(customFields); - return result; - } - - UpdateAppointmentRequest._(); - - factory UpdateAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory UpdateAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create) - ..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') - ..pc<$2.Slot>(3, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create) - ..pc<$2.Commission>(4, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create) - ..aOS(5, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID') - ..pPS(6, _omitFieldNames ? '' : 'Emails', protoName: 'Emails') - ..aOS(7, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') - ..aOS(8, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') - ..pc<$3.CustomField>(9, _omitFieldNames ? '' : 'CustomFields', $pb.PbFieldType.PM, protoName: 'CustomFields', subBuilder: $3.CustomField.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateAppointmentRequest clone() => UpdateAppointmentRequest()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateAppointmentRequest copyWith(void Function(UpdateAppointmentRequest) updates) => super.copyWith((message) => updates(message as UpdateAppointmentRequest)) as UpdateAppointmentRequest; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateAppointmentRequest create() => UpdateAppointmentRequest._(); - @$core.override - UpdateAppointmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateAppointmentRequest? _defaultInstance; - - @$pb.TagNumber(1) - $3.RequestProjectHeader get header => $_getN(0); - @$pb.TagNumber(1) - set header($3.RequestProjectHeader value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasHeader() => $_has(0); - @$pb.TagNumber(1) - void clearHeader() => $_clearField(1); - @$pb.TagNumber(1) - $3.RequestProjectHeader ensureHeader() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get appointmentID => $_getSZ(1); - @$pb.TagNumber(2) - set appointmentID($core.String value) => $_setString(1, value); - @$pb.TagNumber(2) - $core.bool hasAppointmentID() => $_has(1); - @$pb.TagNumber(2) - void clearAppointmentID() => $_clearField(2); - - /// The slots to book for the appointment - @$pb.TagNumber(3) - $pb.PbList<$2.Slot> get slots => $_getList(2); - - /// The new Commissions for the appointment - @$pb.TagNumber(4) - $pb.PbList<$2.Commission> get commissions => $_getList(3); - - @$pb.TagNumber(5) - $core.String get actorID => $_getSZ(4); - @$pb.TagNumber(5) - set actorID($core.String value) => $_setString(4, value); - @$pb.TagNumber(5) - $core.bool hasActorID() => $_has(4); - @$pb.TagNumber(5) - void clearActorID() => $_clearField(5); - - @$pb.TagNumber(6) - $pb.PbList<$core.String> get emails => $_getList(5); - - /// In case of no reference, The Reason for which the appointment has no commissions - @$pb.TagNumber(7) - $core.String get reason => $_getSZ(6); - @$pb.TagNumber(7) - set reason($core.String value) => $_setString(6, value); - @$pb.TagNumber(7) - $core.bool hasReason() => $_has(6); - @$pb.TagNumber(7) - void clearReason() => $_clearField(7); - - /// time zone, useful only if a WMS send a message - @$pb.TagNumber(8) - $core.String get timeZone => $_getSZ(7); - @$pb.TagNumber(8) - set timeZone($core.String value) => $_setString(7, value); - @$pb.TagNumber(8) - $core.bool hasTimeZone() => $_has(7); - @$pb.TagNumber(8) - void clearTimeZone() => $_clearField(8); - - @$pb.TagNumber(9) - $pb.PbList<$3.CustomField> get customFields => $_getList(8); -} - -class WMSUpdateAppointmentRequest extends $pb.GeneratedMessage { - factory WMSUpdateAppointmentRequest({ - $3.RequestProjectHeader? header, - $core.String? appointmentID, - $core.Iterable<$2.Slot>? slots, - $core.Iterable<$2.WMSCommission>? commissions, - $core.String? actorID, - $core.String? reason, - $core.String? timeZone, - $core.Iterable<$3.CustomField>? customFields, - }) { - final result = create(); - if (header != null) result.header = header; - if (appointmentID != null) result.appointmentID = appointmentID; - if (slots != null) result.slots.addAll(slots); - if (commissions != null) result.commissions.addAll(commissions); - if (actorID != null) result.actorID = actorID; - if (reason != null) result.reason = reason; - if (timeZone != null) result.timeZone = timeZone; - if (customFields != null) result.customFields.addAll(customFields); - return result; - } - - WMSUpdateAppointmentRequest._(); - - factory WMSUpdateAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory WMSUpdateAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WMSUpdateAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create) - ..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') - ..pc<$2.Slot>(3, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create) - ..pc<$2.WMSCommission>(4, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.WMSCommission.create) - ..aOS(5, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID') - ..aOS(7, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') - ..aOS(8, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') - ..pc<$3.CustomField>(9, _omitFieldNames ? '' : 'CustomFields', $pb.PbFieldType.PM, protoName: 'CustomFields', subBuilder: $3.CustomField.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - WMSUpdateAppointmentRequest clone() => WMSUpdateAppointmentRequest()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - WMSUpdateAppointmentRequest copyWith(void Function(WMSUpdateAppointmentRequest) updates) => super.copyWith((message) => updates(message as WMSUpdateAppointmentRequest)) as WMSUpdateAppointmentRequest; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static WMSUpdateAppointmentRequest create() => WMSUpdateAppointmentRequest._(); - @$core.override - WMSUpdateAppointmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static WMSUpdateAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static WMSUpdateAppointmentRequest? _defaultInstance; - - @$pb.TagNumber(1) - $3.RequestProjectHeader get header => $_getN(0); - @$pb.TagNumber(1) - set header($3.RequestProjectHeader value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasHeader() => $_has(0); - @$pb.TagNumber(1) - void clearHeader() => $_clearField(1); - @$pb.TagNumber(1) - $3.RequestProjectHeader ensureHeader() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get appointmentID => $_getSZ(1); - @$pb.TagNumber(2) - set appointmentID($core.String value) => $_setString(1, value); - @$pb.TagNumber(2) - $core.bool hasAppointmentID() => $_has(1); - @$pb.TagNumber(2) - void clearAppointmentID() => $_clearField(2); - - /// The slots to book for the appointment - @$pb.TagNumber(3) - $pb.PbList<$2.Slot> get slots => $_getList(2); - - /// The new Commissions for the appointment - @$pb.TagNumber(4) - $pb.PbList<$2.WMSCommission> get commissions => $_getList(3); - - @$pb.TagNumber(5) - $core.String get actorID => $_getSZ(4); - @$pb.TagNumber(5) - set actorID($core.String value) => $_setString(4, value); - @$pb.TagNumber(5) - $core.bool hasActorID() => $_has(4); - @$pb.TagNumber(5) - void clearActorID() => $_clearField(5); - - /// In case of no reference, The Reason for which the appointment has no commissions - @$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); - - /// time zone, useful only if a WMS send a message - @$pb.TagNumber(8) - $core.String get timeZone => $_getSZ(6); - @$pb.TagNumber(8) - set timeZone($core.String value) => $_setString(6, value); - @$pb.TagNumber(8) - $core.bool hasTimeZone() => $_has(6); - @$pb.TagNumber(8) - void clearTimeZone() => $_clearField(8); - - @$pb.TagNumber(9) - $pb.PbList<$3.CustomField> get customFields => $_getList(7); -} - class DeleteSettingsRequest extends $pb.GeneratedMessage { factory DeleteSettingsRequest({ $core.String? siteID, @@ -3383,96 +2690,6 @@ class ListOfSitesPerOrganisation extends $pb.GeneratedMessage { $pb.PbList get segmentationsSettings => $_getList(1); } -@$core.Deprecated('This message is deprecated') -class ListSitesAuthorizedForBookingRequest extends $pb.GeneratedMessage { - factory ListSitesAuthorizedForBookingRequest({ - $3.RequestProjectHeader? header, - }) { - final result = create(); - if (header != null) result.header = header; - return result; - } - - ListSitesAuthorizedForBookingRequest._(); - - factory ListSitesAuthorizedForBookingRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ListSitesAuthorizedForBookingRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListSitesAuthorizedForBookingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ListSitesAuthorizedForBookingRequest clone() => ListSitesAuthorizedForBookingRequest()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ListSitesAuthorizedForBookingRequest copyWith(void Function(ListSitesAuthorizedForBookingRequest) updates) => super.copyWith((message) => updates(message as ListSitesAuthorizedForBookingRequest)) as ListSitesAuthorizedForBookingRequest; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListSitesAuthorizedForBookingRequest create() => ListSitesAuthorizedForBookingRequest._(); - @$core.override - ListSitesAuthorizedForBookingRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListSitesAuthorizedForBookingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListSitesAuthorizedForBookingRequest? _defaultInstance; - - @$pb.TagNumber(1) - $3.RequestProjectHeader get header => $_getN(0); - @$pb.TagNumber(1) - set header($3.RequestProjectHeader value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasHeader() => $_has(0); - @$pb.TagNumber(1) - void clearHeader() => $_clearField(1); - @$pb.TagNumber(1) - $3.RequestProjectHeader ensureHeader() => $_ensure(0); -} - -@$core.Deprecated('This message is deprecated') -class ListSitesAuthorizedForBookingResponse extends $pb.GeneratedMessage { - factory ListSitesAuthorizedForBookingResponse({ - $core.Iterable? listOfSitesPerOrganisations, - }) { - final result = create(); - if (listOfSitesPerOrganisations != null) result.listOfSitesPerOrganisations.addAll(listOfSitesPerOrganisations); - return result; - } - - ListSitesAuthorizedForBookingResponse._(); - - factory ListSitesAuthorizedForBookingResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ListSitesAuthorizedForBookingResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListSitesAuthorizedForBookingResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'ListOfSitesPerOrganisations', $pb.PbFieldType.PM, protoName: 'ListOfSitesPerOrganisations', subBuilder: ListOfSitesPerOrganisation.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ListSitesAuthorizedForBookingResponse clone() => ListSitesAuthorizedForBookingResponse()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ListSitesAuthorizedForBookingResponse copyWith(void Function(ListSitesAuthorizedForBookingResponse) updates) => super.copyWith((message) => updates(message as ListSitesAuthorizedForBookingResponse)) as ListSitesAuthorizedForBookingResponse; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListSitesAuthorizedForBookingResponse create() => ListSitesAuthorizedForBookingResponse._(); - @$core.override - ListSitesAuthorizedForBookingResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListSitesAuthorizedForBookingResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListSitesAuthorizedForBookingResponse? _defaultInstance; - - @$pb.TagNumber(1) - $pb.PbList get listOfSitesPerOrganisations => $_getList(0); -} - class SiteDescription extends $pb.GeneratedMessage { factory SiteDescription({ $core.String? organisationID, diff --git a/lib/site.pbgrpc.dart b/lib/site.pbgrpc.dart index 67070aae..cbb82dc1 100644 --- a/lib/site.pbgrpc.dart +++ b/lib/site.pbgrpc.dart @@ -56,70 +56,10 @@ 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); - } - $grpc.ResponseFuture<$0.CheckAppointmentCommissionResponse> checkAppointmentCommission($0.CheckAppointmentCommissionRequest request, {$grpc.CallOptions? options,}) { 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); - } - $grpc.ResponseFuture<$0.DeleteSettingsResult> deleteSettings($0.DeleteSettingsRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$deleteSettings, request, options: options); } @@ -136,11 +76,6 @@ class SiteServiceClient extends $grpc.Client { return $createUnaryCall(_$getBasicSettings, request, options: options); } - @$core.Deprecated('This method is deprecated') - $grpc.ResponseFuture<$0.ListSitesAuthorizedForBookingResponse> listSitesAuthorizedForBooking($0.ListSitesAuthorizedForBookingRequest request, {$grpc.CallOptions? options,}) { - return $createUnaryCall(_$listSitesAuthorizedForBooking, request, options: options); - } - $grpc.ResponseFuture<$0.ListAllowedSitesResponse> listAllowedSites($0.ListAllowedSitesRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$listAllowedSites, request, options: options); } @@ -199,58 +134,10 @@ class SiteServiceClient extends $grpc.Client { '/api.SiteService/DeleteInstructionDocument', ($0.DeleteInstructionDocumentRequest value) => value.writeToBuffer(), $0.DeleteInstructionDocumentResponse.fromBuffer); - static final _$getAvailableSlots = $grpc.ClientMethod<$0.GetAvailableSlotsRequest, $0.GetAvailableSlotsResponse>( - '/api.SiteService/GetAvailableSlots', - ($0.GetAvailableSlotsRequest value) => value.writeToBuffer(), - $0.GetAvailableSlotsResponse.fromBuffer); - static final _$getAllSlots = $grpc.ClientMethod<$0.GetAvailableSlotsRequest, $0.GetAllSlotsResponse>( - '/api.SiteService/GetAllSlots', - ($0.GetAvailableSlotsRequest value) => value.writeToBuffer(), - $0.GetAllSlotsResponse.fromBuffer); static final _$checkAppointmentCommission = $grpc.ClientMethod<$0.CheckAppointmentCommissionRequest, $0.CheckAppointmentCommissionResponse>( '/api.SiteService/CheckAppointmentCommission', ($0.CheckAppointmentCommissionRequest value) => value.writeToBuffer(), $0.CheckAppointmentCommissionResponse.fromBuffer); - static final _$bookAppointment = $grpc.ClientMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>( - '/api.SiteService/BookAppointment', - ($0.BookAppointmentRequest value) => value.writeToBuffer(), - $0.BookAppointmentResponse.fromBuffer); - static final _$bookAppointmentNoReference = $grpc.ClientMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>( - '/api.SiteService/BookAppointmentNoReference', - ($0.BookAppointmentRequest value) => value.writeToBuffer(), - $0.BookAppointmentResponse.fromBuffer); - static final _$forceBookAppointment = $grpc.ClientMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>( - '/api.SiteService/ForceBookAppointment', - ($0.BookAppointmentRequest value) => value.writeToBuffer(), - $0.BookAppointmentResponse.fromBuffer); - static final _$cancelAppointment = $grpc.ClientMethod<$0.CancelAppointmentRequest, $0.CancelAppointmentResponse>( - '/api.SiteService/CancelAppointment', - ($0.CancelAppointmentRequest value) => value.writeToBuffer(), - $0.CancelAppointmentResponse.fromBuffer); - static final _$updateAppointment = $grpc.ClientMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>( - '/api.SiteService/UpdateAppointment', - ($0.UpdateAppointmentRequest value) => value.writeToBuffer(), - $0.BookAppointmentResponse.fromBuffer); - static final _$updateAppointmentNoReference = $grpc.ClientMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>( - '/api.SiteService/UpdateAppointmentNoReference', - ($0.UpdateAppointmentRequest value) => value.writeToBuffer(), - $0.BookAppointmentResponse.fromBuffer); - static final _$forceUpdateAppointment = $grpc.ClientMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>( - '/api.SiteService/ForceUpdateAppointment', - ($0.UpdateAppointmentRequest value) => value.writeToBuffer(), - $0.BookAppointmentResponse.fromBuffer); - static final _$wMSUpdateAppointment = $grpc.ClientMethod<$0.WMSUpdateAppointmentRequest, $0.BookAppointmentResponse>( - '/api.SiteService/WMSUpdateAppointment', - ($0.WMSUpdateAppointmentRequest value) => value.writeToBuffer(), - $0.BookAppointmentResponse.fromBuffer); - static final _$rescheduleAppointment = $grpc.ClientMethod<$0.RescheduleAppointmentRequest, $0.BookAppointmentResponse>( - '/api.SiteService/RescheduleAppointment', - ($0.RescheduleAppointmentRequest value) => value.writeToBuffer(), - $0.BookAppointmentResponse.fromBuffer); - static final _$forceRescheduleAppointment = $grpc.ClientMethod<$0.RescheduleAppointmentRequest, $0.BookAppointmentResponse>( - '/api.SiteService/ForceRescheduleAppointment', - ($0.RescheduleAppointmentRequest value) => value.writeToBuffer(), - $0.BookAppointmentResponse.fromBuffer); static final _$deleteSettings = $grpc.ClientMethod<$0.DeleteSettingsRequest, $0.DeleteSettingsResult>( '/api.SiteService/DeleteSettings', ($0.DeleteSettingsRequest value) => value.writeToBuffer(), @@ -267,10 +154,6 @@ class SiteServiceClient extends $grpc.Client { '/api.SiteService/GetBasicSettings', ($0.GetBasicSettingsRequest value) => value.writeToBuffer(), $0.GetBasicSettingsResponse.fromBuffer); - static final _$listSitesAuthorizedForBooking = $grpc.ClientMethod<$0.ListSitesAuthorizedForBookingRequest, $0.ListSitesAuthorizedForBookingResponse>( - '/api.SiteService/ListSitesAuthorizedForBooking', - ($0.ListSitesAuthorizedForBookingRequest value) => value.writeToBuffer(), - $0.ListSitesAuthorizedForBookingResponse.fromBuffer); static final _$listAllowedSites = $grpc.ClientMethod<$0.ListAllowedSitesRequest, $0.ListAllowedSitesResponse>( '/api.SiteService/ListAllowedSites', ($0.ListAllowedSitesRequest value) => value.writeToBuffer(), @@ -352,20 +235,6 @@ abstract class SiteServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.DeleteInstructionDocumentRequest.fromBuffer(value), ($0.DeleteInstructionDocumentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetAvailableSlotsRequest, $0.GetAvailableSlotsResponse>( - 'GetAvailableSlots', - getAvailableSlots_Pre, - false, - false, - ($core.List<$core.int> value) => $0.GetAvailableSlotsRequest.fromBuffer(value), - ($0.GetAvailableSlotsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetAvailableSlotsRequest, $0.GetAllSlotsResponse>( - 'GetAllSlots', - getAllSlots_Pre, - false, - false, - ($core.List<$core.int> value) => $0.GetAvailableSlotsRequest.fromBuffer(value), - ($0.GetAllSlotsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.CheckAppointmentCommissionRequest, $0.CheckAppointmentCommissionResponse>( 'CheckAppointmentCommission', checkAppointmentCommission_Pre, @@ -373,76 +242,6 @@ abstract class SiteServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.CheckAppointmentCommissionRequest.fromBuffer(value), ($0.CheckAppointmentCommissionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>( - 'BookAppointment', - bookAppointment_Pre, - false, - false, - ($core.List<$core.int> value) => $0.BookAppointmentRequest.fromBuffer(value), - ($0.BookAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>( - 'BookAppointmentNoReference', - bookAppointmentNoReference_Pre, - false, - false, - ($core.List<$core.int> value) => $0.BookAppointmentRequest.fromBuffer(value), - ($0.BookAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>( - 'ForceBookAppointment', - forceBookAppointment_Pre, - false, - false, - ($core.List<$core.int> value) => $0.BookAppointmentRequest.fromBuffer(value), - ($0.BookAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.CancelAppointmentRequest, $0.CancelAppointmentResponse>( - 'CancelAppointment', - cancelAppointment_Pre, - false, - false, - ($core.List<$core.int> value) => $0.CancelAppointmentRequest.fromBuffer(value), - ($0.CancelAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>( - 'UpdateAppointment', - updateAppointment_Pre, - false, - false, - ($core.List<$core.int> value) => $0.UpdateAppointmentRequest.fromBuffer(value), - ($0.BookAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>( - 'UpdateAppointmentNoReference', - updateAppointmentNoReference_Pre, - false, - false, - ($core.List<$core.int> value) => $0.UpdateAppointmentRequest.fromBuffer(value), - ($0.BookAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>( - 'ForceUpdateAppointment', - forceUpdateAppointment_Pre, - false, - false, - ($core.List<$core.int> value) => $0.UpdateAppointmentRequest.fromBuffer(value), - ($0.BookAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.WMSUpdateAppointmentRequest, $0.BookAppointmentResponse>( - 'WMSUpdateAppointment', - wMSUpdateAppointment_Pre, - false, - false, - ($core.List<$core.int> value) => $0.WMSUpdateAppointmentRequest.fromBuffer(value), - ($0.BookAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.RescheduleAppointmentRequest, $0.BookAppointmentResponse>( - 'RescheduleAppointment', - rescheduleAppointment_Pre, - false, - false, - ($core.List<$core.int> value) => $0.RescheduleAppointmentRequest.fromBuffer(value), - ($0.BookAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.RescheduleAppointmentRequest, $0.BookAppointmentResponse>( - 'ForceRescheduleAppointment', - forceRescheduleAppointment_Pre, - false, - false, - ($core.List<$core.int> value) => $0.RescheduleAppointmentRequest.fromBuffer(value), - ($0.BookAppointmentResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.DeleteSettingsRequest, $0.DeleteSettingsResult>( 'DeleteSettings', deleteSettings_Pre, @@ -471,13 +270,6 @@ abstract class SiteServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.GetBasicSettingsRequest.fromBuffer(value), ($0.GetBasicSettingsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ListSitesAuthorizedForBookingRequest, $0.ListSitesAuthorizedForBookingResponse>( - 'ListSitesAuthorizedForBooking', - listSitesAuthorizedForBooking_Pre, - false, - false, - ($core.List<$core.int> value) => $0.ListSitesAuthorizedForBookingRequest.fromBuffer(value), - ($0.ListSitesAuthorizedForBookingResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.ListAllowedSitesRequest, $0.ListAllowedSitesResponse>( 'ListAllowedSites', listAllowedSites_Pre, @@ -572,84 +364,12 @@ abstract class SiteServiceBase extends $grpc.Service { $async.Future<$0.DeleteInstructionDocumentResponse> deleteInstructionDocument($grpc.ServiceCall call, $0.DeleteInstructionDocumentRequest request); - $async.Future<$0.GetAvailableSlotsResponse> getAvailableSlots_Pre($grpc.ServiceCall $call, $async.Future<$0.GetAvailableSlotsRequest> $request) async { - return getAvailableSlots($call, await $request); - } - - $async.Future<$0.GetAvailableSlotsResponse> getAvailableSlots($grpc.ServiceCall call, $0.GetAvailableSlotsRequest request); - - $async.Future<$0.GetAllSlotsResponse> getAllSlots_Pre($grpc.ServiceCall $call, $async.Future<$0.GetAvailableSlotsRequest> $request) async { - return getAllSlots($call, await $request); - } - - $async.Future<$0.GetAllSlotsResponse> getAllSlots($grpc.ServiceCall call, $0.GetAvailableSlotsRequest request); - $async.Future<$0.CheckAppointmentCommissionResponse> checkAppointmentCommission_Pre($grpc.ServiceCall $call, $async.Future<$0.CheckAppointmentCommissionRequest> $request) async { return checkAppointmentCommission($call, await $request); } $async.Future<$0.CheckAppointmentCommissionResponse> checkAppointmentCommission($grpc.ServiceCall call, $0.CheckAppointmentCommissionRequest request); - $async.Future<$0.BookAppointmentResponse> bookAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.BookAppointmentRequest> $request) async { - return bookAppointment($call, await $request); - } - - $async.Future<$0.BookAppointmentResponse> bookAppointment($grpc.ServiceCall call, $0.BookAppointmentRequest request); - - $async.Future<$0.BookAppointmentResponse> bookAppointmentNoReference_Pre($grpc.ServiceCall $call, $async.Future<$0.BookAppointmentRequest> $request) async { - return bookAppointmentNoReference($call, await $request); - } - - $async.Future<$0.BookAppointmentResponse> bookAppointmentNoReference($grpc.ServiceCall call, $0.BookAppointmentRequest request); - - $async.Future<$0.BookAppointmentResponse> forceBookAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.BookAppointmentRequest> $request) async { - return forceBookAppointment($call, await $request); - } - - $async.Future<$0.BookAppointmentResponse> forceBookAppointment($grpc.ServiceCall call, $0.BookAppointmentRequest request); - - $async.Future<$0.CancelAppointmentResponse> cancelAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.CancelAppointmentRequest> $request) async { - return cancelAppointment($call, await $request); - } - - $async.Future<$0.CancelAppointmentResponse> cancelAppointment($grpc.ServiceCall call, $0.CancelAppointmentRequest request); - - $async.Future<$0.BookAppointmentResponse> updateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateAppointmentRequest> $request) async { - return updateAppointment($call, await $request); - } - - $async.Future<$0.BookAppointmentResponse> updateAppointment($grpc.ServiceCall call, $0.UpdateAppointmentRequest request); - - $async.Future<$0.BookAppointmentResponse> updateAppointmentNoReference_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateAppointmentRequest> $request) async { - return updateAppointmentNoReference($call, await $request); - } - - $async.Future<$0.BookAppointmentResponse> updateAppointmentNoReference($grpc.ServiceCall call, $0.UpdateAppointmentRequest request); - - $async.Future<$0.BookAppointmentResponse> forceUpdateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateAppointmentRequest> $request) async { - return forceUpdateAppointment($call, await $request); - } - - $async.Future<$0.BookAppointmentResponse> forceUpdateAppointment($grpc.ServiceCall call, $0.UpdateAppointmentRequest request); - - $async.Future<$0.BookAppointmentResponse> wMSUpdateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.WMSUpdateAppointmentRequest> $request) async { - return wMSUpdateAppointment($call, await $request); - } - - $async.Future<$0.BookAppointmentResponse> wMSUpdateAppointment($grpc.ServiceCall call, $0.WMSUpdateAppointmentRequest request); - - $async.Future<$0.BookAppointmentResponse> rescheduleAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.RescheduleAppointmentRequest> $request) async { - return rescheduleAppointment($call, await $request); - } - - $async.Future<$0.BookAppointmentResponse> rescheduleAppointment($grpc.ServiceCall call, $0.RescheduleAppointmentRequest request); - - $async.Future<$0.BookAppointmentResponse> forceRescheduleAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.RescheduleAppointmentRequest> $request) async { - return forceRescheduleAppointment($call, await $request); - } - - $async.Future<$0.BookAppointmentResponse> forceRescheduleAppointment($grpc.ServiceCall call, $0.RescheduleAppointmentRequest request); - $async.Future<$0.DeleteSettingsResult> deleteSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteSettingsRequest> $request) async { return deleteSettings($call, await $request); } @@ -674,12 +394,6 @@ abstract class SiteServiceBase extends $grpc.Service { $async.Future<$0.GetBasicSettingsResponse> getBasicSettings($grpc.ServiceCall call, $0.GetBasicSettingsRequest request); - $async.Future<$0.ListSitesAuthorizedForBookingResponse> listSitesAuthorizedForBooking_Pre($grpc.ServiceCall $call, $async.Future<$0.ListSitesAuthorizedForBookingRequest> $request) async { - return listSitesAuthorizedForBooking($call, await $request); - } - - $async.Future<$0.ListSitesAuthorizedForBookingResponse> listSitesAuthorizedForBooking($grpc.ServiceCall call, $0.ListSitesAuthorizedForBookingRequest request); - $async.Future<$0.ListAllowedSitesResponse> listAllowedSites_Pre($grpc.ServiceCall $call, $async.Future<$0.ListAllowedSitesRequest> $request) async { return listAllowedSites($call, await $request); } diff --git a/lib/site.pbjson.dart b/lib/site.pbjson.dart index 52a39ff6..5baea55d 100644 --- a/lib/site.pbjson.dart +++ b/lib/site.pbjson.dart @@ -534,60 +534,6 @@ final $typed_data.Uint8List standAloneConfDescriptor = $convert.base64Decode( 'xlZEZvclVua25vd25Vc2VycxgDIAEoCFIoSXNCb29raW5nVW5sb2FkaW5nRW5hYmxlZEZvclVu' 'a25vd25Vc2Vycw=='); -@$core.Deprecated('Use bookAppointmentRequestDescriptor instead') -const BookAppointmentRequest$json = { - '1': 'BookAppointmentRequest', - '2': [ - {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, - {'1': 'AppointmentType', '3': 2, '4': 1, '5': 14, '6': '.api.AppointmentType', '8': {}, '10': 'AppointmentType'}, - {'1': 'Commissions', '3': 3, '4': 3, '5': 11, '6': '.api.Commission', '8': {}, '10': 'Commissions'}, - {'1': 'SegmentationSelections', '3': 4, '4': 3, '5': 11, '6': '.api.SegmentationSelection', '10': 'SegmentationSelections'}, - {'1': 'CarrierInformation', '3': 14, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'CarrierInformation'}, - {'1': 'Slots', '3': 6, '4': 3, '5': 11, '6': '.api.Slot', '8': {}, '10': 'Slots'}, - {'1': 'Emails', '3': 8, '4': 3, '5': 9, '8': {}, '10': 'Emails'}, - {'1': 'AppointmentID', '3': 11, '4': 1, '5': 9, '8': {}, '10': 'AppointmentID'}, - {'1': 'InstructionAck', '3': 12, '4': 1, '5': 8, '10': 'InstructionAck'}, - {'1': 'ActorID', '3': 13, '4': 1, '5': 9, '10': 'ActorID'}, - {'1': 'MetaData', '3': 15, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'MetaData'}, - {'1': 'Reason', '3': 16, '4': 1, '5': 9, '8': {}, '10': 'Reason'}, - {'1': 'TimeZone', '3': 17, '4': 1, '5': 9, '8': {}, '10': 'TimeZone'}, - {'1': 'CustomFields', '3': 18, '4': 3, '5': 11, '6': '.api.CustomField', '8': {}, '10': 'CustomFields'}, - ], - '7': {}, -}; - -/// Descriptor for `BookAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List bookAppointmentRequestDescriptor = $convert.base64Decode( - 'ChZCb29rQXBwb2ludG1lbnRSZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH' - 'JvamVjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISSQoPQXBwb2ludG1lbnRUeXBlGAIgASgO' - 'MhQuYXBpLkFwcG9pbnRtZW50VHlwZUIJuoEBBYIBAhABUg9BcHBvaW50bWVudFR5cGUSZgoLQ2' - '9tbWlzc2lvbnMYAyADKAsyDy5hcGkuQ29tbWlzc2lvbkIzkkEnMiVDb250ZW50IG9mIHRoZSBh' - 'cHBvaW50bWVudCBieSBwcm9qZWN0uoEBBZIBAggBUgtDb21taXNzaW9ucxJSChZTZWdtZW50YX' - 'Rpb25TZWxlY3Rpb25zGAQgAygLMhouYXBpLlNlZ21lbnRhdGlvblNlbGVjdGlvblIWU2VnbWVu' - 'dGF0aW9uU2VsZWN0aW9ucxJyChJDYXJyaWVySW5mb3JtYXRpb24YDiADKAsyFC5hcGkuTWV0YW' - 'RhdGFFbGVtZW50QiySQR4yHENhcnJpZXIgaW5mb3JtYXRpb24gbWV0YWRhdGHAwRgB6sEYA0tl' - 'eVISQ2FycmllckluZm9ybWF0aW9uEkAKBVNsb3RzGAYgAygLMgkuYXBpLlNsb3RCH5JBEzIRQX' - 'Bwb2ludG1lbnQgc2xvdHO6gQEFkgECCAFSBVNsb3RzEn4KBkVtYWlscxgIIAMoCUJmkkFRMh1N' - 'dXN0IGJlIGEgdmFsaWQgZW1haWwgYWRkcmVzc0owWyJKb2huLmRvZUByZWZsZXguY29tIiwgIn' - 'dpbGwuc21pdGhAcmVmbGV4LmNvbSJduoEBDpIBCwgBIgdyBWAB8AEBUgZFbWFpbHMSXAoNQXBw' - 'b2ludG1lbnRJRBgLIAEoCUI2kkEoMg9Zb3VyIGlkZW50aWZpZXJKFSJZb3VyX0FwcG9pbnRtZW' - '50X0lEIrqBAQdyBRABGMABUg1BcHBvaW50bWVudElEEiYKDkluc3RydWN0aW9uQWNrGAwgASgI' - 'Ug5JbnN0cnVjdGlvbkFjaxIYCgdBY3RvcklEGA0gASgJUgdBY3RvcklEEscBCghNZXRhRGF0YR' - 'gPIAMoCzIULmFwaS5NZXRhZGF0YUVsZW1lbnRClAGSQYUBMoIBTWV0YWRhdGEgYXJlIGNoYXJh' - 'Y3RlcmlzdGljcyBzcGVjaWZpYyB0byB0aGUgc2l0ZS4gVGhleSBjYW4gYmUgb2Ygc2V2ZXJhbC' - 'BkYXRhIGZvcm0gKHN0cmluZywgaW50ZWdlciwgZmxvYXQsIGJvb2xlYW4gb3IgdGltZXN0YW1w' - 'KcDBGAHqwRgDS2V5UghNZXRhRGF0YRJbCgZSZWFzb24YECABKAlCQ5JBQDI+UmVhc29uIGlzIH' - 'JlcXVpcmVkIHRvIGJvb2sgYXBwb2ludG1lbnQgd2l0aG91dCBvcmRlciByZWZlcmVuY2VSBlJl' - 'YXNvbhJTCghUaW1lWm9uZRgRIAEoCUI3kkE0MjJUaW1lWm9uZSBpcyByZXF1aXJlZCBvbmx5IH' - 'doZW4gYSBXTVMgY2FsbHMgdGhlIEFQSVIIVGltZVpvbmUS8gEKDEN1c3RvbUZpZWxkcxgSIAMo' - 'CzIQLmFwaS5DdXN0b21GaWVsZEK7AZJBtwEytAFBIGZyZWUtZm9ybSBrZXkvdmFsdWUgbWFwIH' - 'Byb3ZpZGVkIGJ5IHRoZSBjbGllbnQuIFRoZSBBUEkgc3RvcmVzIGFuZCByZXR1cm5zIHRoZXNl' - 'IGZpZWxkcyBhcy1pcy4gSW50ZW5kZWQgc29sZWx5IGZvciBjbGllbnQgdXNlOyB0aGUgQVBJIG' - 'RvZXMgbm90IGludGVycHJldCBvciB2YWxpZGF0ZSB0aGUgY29udGVudC5SDEN1c3RvbUZpZWxk' - 'czp3kkF0CnLSAQZIZWFkZXLSAQ9BcHBvaW50bWVudFR5cGXSAQVTbG90c9IBC0NvbW1pc3Npb2' - '5z0gEWU2VnbWVudGF0aW9uU2VsZWN0aW9uc9IBEkNhcnJpZXJJbmZvcm1hdGlvbtIBB0FjdG9y' - 'SUTSAQZFbWFpbHM='); - @$core.Deprecated('Use getBookingContextRequestDescriptor instead') const GetBookingContextRequest$json = { '1': 'GetBookingContextRequest', @@ -657,152 +603,6 @@ final $typed_data.Uint8List segmentationsByTypeDescriptor = $convert.base64Decod 'BvaW50bWVudFR5cGVSD0FwcG9pbnRtZW50VHlwZRI9Cg1TZWdtZW50YXRpb25zGAIgAygLMhcu' 'YXBpLlNlZ21lbnRhdGlvbkZpbHRlclINU2VnbWVudGF0aW9ucw=='); -@$core.Deprecated('Use bookAppointmentResponseDescriptor instead') -const BookAppointmentResponse$json = { - '1': 'BookAppointmentResponse', - '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 `BookAppointmentResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List bookAppointmentResponseDescriptor = $convert.base64Decode( - 'ChdCb29rQXBwb2ludG1lbnRSZXNwb25zZRIrCgZIZWFkZXIYAiABKAsyEy5hcGkuUmVzcG9uc2' - 'VIZWFkZXJSBkhlYWRlchIkCg1BcHBvaW50bWVudElEGAEgASgJUg1BcHBvaW50bWVudElE'); - -@$core.Deprecated('Use cancelAppointmentRequestDescriptor instead') -const CancelAppointmentRequest$json = { - '1': 'CancelAppointmentRequest', - '2': [ - {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, - {'1': 'AppointmentID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'AppointmentID'}, - {'1': 'ActorID', '3': 3, '4': 1, '5': 9, '10': 'ActorID'}, - {'1': 'CustomFields', '3': 4, '4': 3, '5': 11, '6': '.api.CustomField', '8': {}, '10': 'CustomFields'}, - ], - '7': {}, -}; - -/// Descriptor for `CancelAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List cancelAppointmentRequestDescriptor = $convert.base64Decode( - 'ChhDYW5jZWxBcHBvaW50bWVudFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3' - 'RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchJcCg1BcHBvaW50bWVudElEGAIgASgJ' - 'QjaSQSgyD1lvdXIgaWRlbnRpZmllckoVIllvdXJfQXBwb2ludG1lbnRfSUQiuoEBB3IFEAEYwA' - 'FSDUFwcG9pbnRtZW50SUQSGAoHQWN0b3JJRBgDIAEoCVIHQWN0b3JJRBLyAQoMQ3VzdG9tRmll' - 'bGRzGAQgAygLMhAuYXBpLkN1c3RvbUZpZWxkQrsBkkG3ATK0AUEgZnJlZS1mb3JtIGtleS92YW' - 'x1ZSBtYXAgcHJvdmlkZWQgYnkgdGhlIGNsaWVudC4gVGhlIEFQSSBzdG9yZXMgYW5kIHJldHVy' - 'bnMgdGhlc2UgZmllbGRzIGFzLWlzLiBJbnRlbmRlZCBzb2xlbHkgZm9yIGNsaWVudCB1c2U7IH' - 'RoZSBBUEkgZG9lcyBub3QgaW50ZXJwcmV0IG9yIHZhbGlkYXRlIHRoZSBjb250ZW50LlIMQ3Vz' - 'dG9tRmllbGRzOh6SQRsKGdIBBkhlYWRlctIBDUFwcG9pbnRtZW50SUQ='); - -@$core.Deprecated('Use cancelAppointmentResponseDescriptor instead') -const CancelAppointmentResponse$json = { - '1': 'CancelAppointmentResponse', - '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 `CancelAppointmentResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List cancelAppointmentResponseDescriptor = $convert.base64Decode( - 'ChlDYW5jZWxBcHBvaW50bWVudFJlc3BvbnNlEisKBkhlYWRlchgCIAEoCzITLmFwaS5SZXNwb2' - '5zZUhlYWRlclIGSGVhZGVyEiQKDUFwcG9pbnRtZW50SUQYASABKAlSDUFwcG9pbnRtZW50SUQ='); - -@$core.Deprecated('Use rescheduleAppointmentRequestDescriptor instead') -const RescheduleAppointmentRequest$json = { - '1': 'RescheduleAppointmentRequest', - '2': [ - {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, - {'1': 'AppointmentID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'AppointmentID'}, - {'1': 'Slots', '3': 3, '4': 3, '5': 11, '6': '.api.Slot', '10': 'Slots'}, - {'1': 'ActorID', '3': 4, '4': 1, '5': 9, '10': 'ActorID'}, - ], - '7': {}, -}; - -/// Descriptor for `RescheduleAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rescheduleAppointmentRequestDescriptor = $convert.base64Decode( - 'ChxSZXNjaGVkdWxlQXBwb2ludG1lbnRSZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS5SZX' - 'F1ZXN0UHJvamVjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISXAoNQXBwb2ludG1lbnRJRBgC' - 'IAEoCUI2kkEoMg9Zb3VyIGlkZW50aWZpZXJKFSJZb3VyX0FwcG9pbnRtZW50X0lEIrqBAQdyBR' - 'ABGMABUg1BcHBvaW50bWVudElEEh8KBVNsb3RzGAMgAygLMgkuYXBpLlNsb3RSBVNsb3RzEhgK' - 'B0FjdG9ySUQYBCABKAlSB0FjdG9ySUQ6JpJBIwoh0gEGSGVhZGVy0gENQXBwb2ludG1lbnRJRN' - 'IBBVNsb3Rz'); - -@$core.Deprecated('Use updateAppointmentRequestDescriptor instead') -const UpdateAppointmentRequest$json = { - '1': 'UpdateAppointmentRequest', - '2': [ - {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, - {'1': 'AppointmentID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'AppointmentID'}, - {'1': 'Slots', '3': 3, '4': 3, '5': 11, '6': '.api.Slot', '8': {}, '10': 'Slots'}, - {'1': 'Commissions', '3': 4, '4': 3, '5': 11, '6': '.api.Commission', '8': {}, '10': 'Commissions'}, - {'1': 'ActorID', '3': 5, '4': 1, '5': 9, '10': 'ActorID'}, - {'1': 'Emails', '3': 6, '4': 3, '5': 9, '8': {}, '10': 'Emails'}, - {'1': 'Reason', '3': 7, '4': 1, '5': 9, '8': {}, '10': 'Reason'}, - {'1': 'TimeZone', '3': 8, '4': 1, '5': 9, '8': {}, '10': 'TimeZone'}, - {'1': 'CustomFields', '3': 9, '4': 3, '5': 11, '6': '.api.CustomField', '8': {}, '10': 'CustomFields'}, - ], - '7': {}, -}; - -/// Descriptor for `UpdateAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateAppointmentRequestDescriptor = $convert.base64Decode( - 'ChhVcGRhdGVBcHBvaW50bWVudFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3' - 'RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchJcCg1BcHBvaW50bWVudElEGAIgASgJ' - 'QjaSQSgyD1lvdXIgaWRlbnRpZmllckoVIllvdXJfQXBwb2ludG1lbnRfSUQiuoEBB3IFEAEYwA' - 'FSDUFwcG9pbnRtZW50SUQSQAoFU2xvdHMYAyADKAsyCS5hcGkuU2xvdEIfkkETMhFBcHBvaW50' - 'bWVudCBzbG90c7qBAQWSAQIIAVIFU2xvdHMSZgoLQ29tbWlzc2lvbnMYBCADKAsyDy5hcGkuQ2' - '9tbWlzc2lvbkIzkkEnMiVDb250ZW50IG9mIHRoZSBhcHBvaW50bWVudCBieSBwcm9qZWN0uoEB' - 'BZIBAggBUgtDb21taXNzaW9ucxIYCgdBY3RvcklEGAUgASgJUgdBY3RvcklEEl8KBkVtYWlscx' - 'gGIAMoCUJHkkEySjBbIkpvaG4uZG9lQHJlZmxleC5jb20iLCAid2lsbC5zbWl0aEByZWZsZXgu' - 'Y29tIl26gQEOkgELCAEiB3IFYAHwAQFSBkVtYWlscxJbCgZSZWFzb24YByABKAlCQ5JBQDI+Um' - 'Vhc29uIGlzIHJlcXVpcmVkIHRvIGJvb2sgYXBwb2ludG1lbnQgd2l0aG91dCBvcmRlciByZWZl' - 'cmVuY2VSBlJlYXNvbhJTCghUaW1lWm9uZRgIIAEoCUI3kkE0MjJUaW1lWm9uZSBpcyByZXF1aX' - 'JlZCBvbmx5IHdoZW4gYSBXTVMgY2FsbHMgdGhlIEFQSVIIVGltZVpvbmUS8gEKDEN1c3RvbUZp' - 'ZWxkcxgJIAMoCzIQLmFwaS5DdXN0b21GaWVsZEK7AZJBtwEytAFBIGZyZWUtZm9ybSBrZXkvdm' - 'FsdWUgbWFwIHByb3ZpZGVkIGJ5IHRoZSBjbGllbnQuIFRoZSBBUEkgc3RvcmVzIGFuZCByZXR1' - 'cm5zIHRoZXNlIGZpZWxkcyBhcy1pcy4gSW50ZW5kZWQgc29sZWx5IGZvciBjbGllbnQgdXNlOy' - 'B0aGUgQVBJIGRvZXMgbm90IGludGVycHJldCBvciB2YWxpZGF0ZSB0aGUgY29udGVudC5SDEN1' - 'c3RvbUZpZWxkczpHkkFECkLSAQZIZWFkZXLSAQ1BcHBvaW50bWVudElE0gEFU2xvdHPSAQtDb2' - '1taXNzaW9uc9IBB0FjdG9ySUTSAQZFbWFpbHM='); - -@$core.Deprecated('Use wMSUpdateAppointmentRequestDescriptor instead') -const WMSUpdateAppointmentRequest$json = { - '1': 'WMSUpdateAppointmentRequest', - '2': [ - {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, - {'1': 'AppointmentID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'AppointmentID'}, - {'1': 'Slots', '3': 3, '4': 3, '5': 11, '6': '.api.Slot', '8': {}, '10': 'Slots'}, - {'1': 'Commissions', '3': 4, '4': 3, '5': 11, '6': '.api.WMSCommission', '8': {}, '10': 'Commissions'}, - {'1': 'ActorID', '3': 5, '4': 1, '5': 9, '10': 'ActorID'}, - {'1': 'Reason', '3': 7, '4': 1, '5': 9, '8': {}, '10': 'Reason'}, - {'1': 'TimeZone', '3': 8, '4': 1, '5': 9, '8': {}, '10': 'TimeZone'}, - {'1': 'CustomFields', '3': 9, '4': 3, '5': 11, '6': '.api.CustomField', '8': {}, '10': 'CustomFields'}, - ], - '7': {}, -}; - -/// Descriptor for `WMSUpdateAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List wMSUpdateAppointmentRequestDescriptor = $convert.base64Decode( - 'ChtXTVNVcGRhdGVBcHBvaW50bWVudFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcX' - 'Vlc3RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchJcCg1BcHBvaW50bWVudElEGAIg' - 'ASgJQjaSQSgyD1lvdXIgaWRlbnRpZmllckoVIllvdXJfQXBwb2ludG1lbnRfSUQiuoEBB3IFEA' - 'EYwAFSDUFwcG9pbnRtZW50SUQSQAoFU2xvdHMYAyADKAsyCS5hcGkuU2xvdEIfkkETMhFBcHBv' - 'aW50bWVudCBzbG90c7qBAQWSAQIIAVIFU2xvdHMSYAoLQ29tbWlzc2lvbnMYBCADKAsyEi5hcG' - 'kuV01TQ29tbWlzc2lvbkIqkkEnMiVDb250ZW50IG9mIHRoZSBhcHBvaW50bWVudCBieSBwcm9q' - 'ZWN0UgtDb21taXNzaW9ucxIYCgdBY3RvcklEGAUgASgJUgdBY3RvcklEEl0KBlJlYXNvbhgHIA' - 'EoCUJFkkFCMkBSZWFzb24gaXMgcmVxdWlyZWQgdG8gdXBkYXRlIGFwcG9pbnRtZW50IHdpdGhv' - 'dXQgb3JkZXIgcmVmZXJlbmNlUgZSZWFzb24SUwoIVGltZVpvbmUYCCABKAlCN5JBNDIyVGltZV' - 'pvbmUgaXMgcmVxdWlyZWQgb25seSB3aGVuIGEgV01TIGNhbGxzIHRoZSBBUElSCFRpbWVab25l' - 'EvIBCgxDdXN0b21GaWVsZHMYCSADKAsyEC5hcGkuQ3VzdG9tRmllbGRCuwGSQbcBMrQBQSBmcm' - 'VlLWZvcm0ga2V5L3ZhbHVlIG1hcCBwcm92aWRlZCBieSB0aGUgY2xpZW50LiBUaGUgQVBJIHN0' - 'b3JlcyBhbmQgcmV0dXJucyB0aGVzZSBmaWVsZHMgYXMtaXMuIEludGVuZGVkIHNvbGVseSBmb3' - 'IgY2xpZW50IHVzZTsgdGhlIEFQSSBkb2VzIG5vdCBpbnRlcnByZXQgb3IgdmFsaWRhdGUgdGhl' - 'IGNvbnRlbnQuUgxDdXN0b21GaWVsZHM6MJJBLQor0gEGSGVhZGVy0gENQXBwb2ludG1lbnRJRN' - 'IBBVNsb3Rz0gEHQWN0b3JJRA=='); - @$core.Deprecated('Use deleteSettingsRequestDescriptor instead') const DeleteSettingsRequest$json = { '1': 'DeleteSettingsRequest', @@ -920,36 +720,6 @@ final $typed_data.Uint8List listOfSitesPerOrganisationDescriptor = $convert.base 'JnYW5pc2F0aW9uSUQSTwoVU2VnbWVudGF0aW9uc1NldHRpbmdzGAIgAygLMhkuYXBpLlNlZ21l' 'bnRhdGlvbnNTZXR0aW5nUhVTZWdtZW50YXRpb25zU2V0dGluZ3M='); -@$core.Deprecated('Use listSitesAuthorizedForBookingRequestDescriptor instead') -const ListSitesAuthorizedForBookingRequest$json = { - '1': 'ListSitesAuthorizedForBookingRequest', - '2': [ - {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `ListSitesAuthorizedForBookingRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listSitesAuthorizedForBookingRequestDescriptor = $convert.base64Decode( - 'CiRMaXN0U2l0ZXNBdXRob3JpemVkRm9yQm9va2luZ1JlcXVlc3QSPAoGSGVhZGVyGAEgASgLMh' - 'kuYXBpLlJlcXVlc3RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlcjoQGAGSQQsKCdIB' - 'BkhlYWRlcg=='); - -@$core.Deprecated('Use listSitesAuthorizedForBookingResponseDescriptor instead') -const ListSitesAuthorizedForBookingResponse$json = { - '1': 'ListSitesAuthorizedForBookingResponse', - '2': [ - {'1': 'ListOfSitesPerOrganisations', '3': 1, '4': 3, '5': 11, '6': '.api.ListOfSitesPerOrganisation', '10': 'ListOfSitesPerOrganisations'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `ListSitesAuthorizedForBookingResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listSitesAuthorizedForBookingResponseDescriptor = $convert.base64Decode( - 'CiVMaXN0U2l0ZXNBdXRob3JpemVkRm9yQm9va2luZ1Jlc3BvbnNlEmEKG0xpc3RPZlNpdGVzUG' - 'VyT3JnYW5pc2F0aW9ucxgBIAMoCzIfLmFwaS5MaXN0T2ZTaXRlc1Blck9yZ2FuaXNhdGlvblIb' - 'TGlzdE9mU2l0ZXNQZXJPcmdhbmlzYXRpb25zOgIYAQ=='); - @$core.Deprecated('Use siteDescriptionDescriptor instead') const SiteDescription$json = { '1': 'SiteDescription', diff --git a/pubspec.yaml b/pubspec.yaml index 9aaf293d..780438ae 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.14.0-SNAPSHOT-260615081042 +version: 1.14.0-SNAPSHOT-260616085433 homepage: '' publish_to: '' repository: ''