From 5dac1e424678956f4e45195851bc2a174701cd9f Mon Sep 17 00:00:00 2001 From: ci core model Date: Mon, 6 Oct 2025 08:55:03 +0000 Subject: [PATCH] Latest generation --- CHANGELOG.md | 2 +- lib/site.pb.dart | 473 ++++++++++++++++--------------------------- lib/site.pbgrpc.dart | 164 ++++++--------- lib/site.pbjson.dart | 174 +++++++--------- pubspec.yaml | 2 +- 5 files changed, 308 insertions(+), 507 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index deef5a28..455e58be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.12.0-SNAPSHOT-251006084202 +Lib version: 1.12.0-SNAPSHOT-251006085430 diff --git a/lib/site.pb.dart b/lib/site.pb.dart index 8885f618..b459b40b 100644 --- a/lib/site.pb.dart +++ b/lib/site.pb.dart @@ -1970,7 +1970,7 @@ class BookAppointmentRequest extends $pb.GeneratedMessage { void clearInstructionAck() => $_clearField(12); } -/// BookAppointment +/// BookAppointmentNoReference class BookAppointmentNoReferenceRequest extends $pb.GeneratedMessage { factory BookAppointmentNoReferenceRequest({ $3.RequestProjectHeader? header, @@ -2146,9 +2146,9 @@ class BookAppointmentNoReferenceRequest extends $pb.GeneratedMessage { void clearInstructionAck() => $_clearField(13); } -/// BookAppointment -class WMSBookAppointmentRequest extends $pb.GeneratedMessage { - factory WMSBookAppointmentRequest({ +/// ForceBookAppointment +class ForceBookAppointmentRequest extends $pb.GeneratedMessage { + factory ForceBookAppointmentRequest({ $3.RequestProjectHeader? header, $2.AppointmentType? appointmentType, $core.Iterable<$2.Commission>? commissions, @@ -2161,6 +2161,9 @@ class WMSBookAppointmentRequest extends $pb.GeneratedMessage { $core.String? timeZone, $core.String? appointmentID, $core.bool? instructionAck, + $core.String? projectID, + $core.String? reason, + $core.Iterable<$2.QuantityByUnit>? quantities, }) { final result = create(); if (header != null) result.header = header; @@ -2175,15 +2178,18 @@ class WMSBookAppointmentRequest extends $pb.GeneratedMessage { if (timeZone != null) result.timeZone = timeZone; if (appointmentID != null) result.appointmentID = appointmentID; if (instructionAck != null) result.instructionAck = instructionAck; + if (projectID != null) result.projectID = projectID; + if (reason != null) result.reason = reason; + if (quantities != null) result.quantities.addAll(quantities); return result; } - WMSBookAppointmentRequest._(); + ForceBookAppointmentRequest._(); - factory WMSBookAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory WMSBookAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + factory ForceBookAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ForceBookAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WMSBookAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ForceBookAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.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.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create) @@ -2196,25 +2202,28 @@ class WMSBookAppointmentRequest extends $pb.GeneratedMessage { ..aOS(11, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') ..aOS(12, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') ..aOB(13, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck') + ..aOS(14, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') + ..aOS(15, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') + ..pc<$2.QuantityByUnit>(16, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create) ..hasRequiredFields = false ; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - WMSBookAppointmentRequest clone() => WMSBookAppointmentRequest()..mergeFromMessage(this); + ForceBookAppointmentRequest clone() => ForceBookAppointmentRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - WMSBookAppointmentRequest copyWith(void Function(WMSBookAppointmentRequest) updates) => super.copyWith((message) => updates(message as WMSBookAppointmentRequest)) as WMSBookAppointmentRequest; + ForceBookAppointmentRequest copyWith(void Function(ForceBookAppointmentRequest) updates) => super.copyWith((message) => updates(message as ForceBookAppointmentRequest)) as ForceBookAppointmentRequest; @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static WMSBookAppointmentRequest create() => WMSBookAppointmentRequest._(); + static ForceBookAppointmentRequest create() => ForceBookAppointmentRequest._(); @$core.override - WMSBookAppointmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + ForceBookAppointmentRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static WMSBookAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static WMSBookAppointmentRequest? _defaultInstance; + static ForceBookAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ForceBookAppointmentRequest? _defaultInstance; @$pb.TagNumber(1) $3.RequestProjectHeader get header => $_getN(0); @@ -2307,195 +2316,30 @@ class WMSBookAppointmentRequest extends $pb.GeneratedMessage { $core.bool hasInstructionAck() => $_has(11); @$pb.TagNumber(13) void clearInstructionAck() => $_clearField(13); -} -/// BookAppointment -class WMSBookAppointmentNoReferenceRequest extends $pb.GeneratedMessage { - factory WMSBookAppointmentNoReferenceRequest({ - $3.RequestProjectHeader? header, - $2.AppointmentType? appointmentType, - $core.String? projectID, - $core.Iterable<$2.QuantityByUnit>? quantities, - $core.Iterable<$2.SegmentationSelection>? segmentationSelections, - $core.Iterable<$2.CarrierInformationWithValue>? carrierInformation, - $core.Iterable<$2.Slot>? slots, - $core.Iterable<$core.String>? emails, - $core.String? carrierID, - $core.String? carrierName, - $core.String? timeZone, - $core.String? appointmentID, - $core.String? reason, - $core.bool? instructionAck, - }) { - final result = create(); - if (header != null) result.header = header; - if (appointmentType != null) result.appointmentType = appointmentType; - if (projectID != null) result.projectID = projectID; - if (quantities != null) result.quantities.addAll(quantities); - if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections); - if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation); - if (slots != null) result.slots.addAll(slots); - if (emails != null) result.emails.addAll(emails); - if (carrierID != null) result.carrierID = carrierID; - if (carrierName != null) result.carrierName = carrierName; - if (timeZone != null) result.timeZone = timeZone; - if (appointmentID != null) result.appointmentID = appointmentID; - if (reason != null) result.reason = reason; - if (instructionAck != null) result.instructionAck = instructionAck; - return result; - } - - WMSBookAppointmentNoReferenceRequest._(); - - factory WMSBookAppointmentNoReferenceRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory WMSBookAppointmentNoReferenceRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WMSBookAppointmentNoReferenceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.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) - ..aOS(3, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') - ..pc<$2.QuantityByUnit>(4, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create) - ..pc<$2.SegmentationSelection>(5, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create) - ..pc<$2.CarrierInformationWithValue>(6, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformationWithValue.create) - ..pc<$2.Slot>(7, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create) - ..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails') - ..aOS(9, _omitFieldNames ? '' : 'CarrierID', protoName: 'CarrierID') - ..aOS(10, _omitFieldNames ? '' : 'CarrierName', protoName: 'CarrierName') - ..aOS(11, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') - ..aOS(12, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') - ..aOS(13, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') - ..aOB(14, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck') - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - WMSBookAppointmentNoReferenceRequest clone() => WMSBookAppointmentNoReferenceRequest()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - WMSBookAppointmentNoReferenceRequest copyWith(void Function(WMSBookAppointmentNoReferenceRequest) updates) => super.copyWith((message) => updates(message as WMSBookAppointmentNoReferenceRequest)) as WMSBookAppointmentNoReferenceRequest; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static WMSBookAppointmentNoReferenceRequest create() => WMSBookAppointmentNoReferenceRequest._(); - @$core.override - WMSBookAppointmentNoReferenceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static WMSBookAppointmentNoReferenceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static WMSBookAppointmentNoReferenceRequest? _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 : Expedition / Reception / 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); - - /// Project for which the appointment is made, with the quantities - @$pb.TagNumber(3) - $core.String get projectID => $_getSZ(2); - @$pb.TagNumber(3) - set projectID($core.String value) => $_setString(2, value); - @$pb.TagNumber(3) - $core.bool hasProjectID() => $_has(2); - @$pb.TagNumber(3) - void clearProjectID() => $_clearField(3); - - /// quantities - @$pb.TagNumber(4) - $pb.PbList<$2.QuantityByUnit> get quantities => $_getList(3); - - /// Set of segmentation constraining the slot booking - @$pb.TagNumber(5) - $pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(4); - - /// Required carrierInformation, some can be obligatory - @$pb.TagNumber(6) - $pb.PbList<$2.CarrierInformationWithValue> get carrierInformation => $_getList(5); - - /// The slot to book for the appointment - @$pb.TagNumber(7) - $pb.PbList<$2.Slot> get slots => $_getList(6); - - /// 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(7); - - /// The carrier identifier who requests to book the appointment - @$pb.TagNumber(9) - $core.String get carrierID => $_getSZ(8); - @$pb.TagNumber(9) - set carrierID($core.String value) => $_setString(8, value); - @$pb.TagNumber(9) - $core.bool hasCarrierID() => $_has(8); - @$pb.TagNumber(9) - void clearCarrierID() => $_clearField(9); - - /// The carrier name who requests to book the appointment - @$pb.TagNumber(10) - $core.String get carrierName => $_getSZ(9); - @$pb.TagNumber(10) - set carrierName($core.String value) => $_setString(9, value); - @$pb.TagNumber(10) - $core.bool hasCarrierName() => $_has(9); - @$pb.TagNumber(10) - void clearCarrierName() => $_clearField(10); - - /// time zone, useful only if a WMS send a message - @$pb.TagNumber(11) - $core.String get timeZone => $_getSZ(10); - @$pb.TagNumber(11) - set timeZone($core.String value) => $_setString(10, value); - @$pb.TagNumber(11) - $core.bool hasTimeZone() => $_has(10); - @$pb.TagNumber(11) - void clearTimeZone() => $_clearField(11); - - /// The appointment ID, usually generated using siteCounterServices - @$pb.TagNumber(12) - $core.String get appointmentID => $_getSZ(11); - @$pb.TagNumber(12) - set appointmentID($core.String value) => $_setString(11, value); - @$pb.TagNumber(12) - $core.bool hasAppointmentID() => $_has(11); - @$pb.TagNumber(12) - void clearAppointmentID() => $_clearField(12); - - /// The Reason for which the appointment has no commissions - @$pb.TagNumber(13) - $core.String get reason => $_getSZ(12); - @$pb.TagNumber(13) - set reason($core.String value) => $_setString(12, value); - @$pb.TagNumber(13) - $core.bool hasReason() => $_has(12); - @$pb.TagNumber(13) - void clearReason() => $_clearField(13); - - /// Acknowledgment of the site instructions + /// In case of no reference, Project for which the appointment is made, with the quantities @$pb.TagNumber(14) - $core.bool get instructionAck => $_getBF(13); + $core.String get projectID => $_getSZ(12); @$pb.TagNumber(14) - set instructionAck($core.bool value) => $_setBool(13, value); + set projectID($core.String value) => $_setString(12, value); @$pb.TagNumber(14) - $core.bool hasInstructionAck() => $_has(13); + $core.bool hasProjectID() => $_has(12); @$pb.TagNumber(14) - void clearInstructionAck() => $_clearField(14); + void clearProjectID() => $_clearField(14); + + /// In case of no reference, The Reason for which the appointment has no reference + @$pb.TagNumber(15) + $core.String get reason => $_getSZ(13); + @$pb.TagNumber(15) + set reason($core.String value) => $_setString(13, value); + @$pb.TagNumber(15) + $core.bool hasReason() => $_has(13); + @$pb.TagNumber(15) + void clearReason() => $_clearField(15); + + /// In case of no reference, quantities loaded or to load in the truck + @$pb.TagNumber(16) + $pb.PbList<$2.QuantityByUnit> get quantities => $_getList(14); } class BookAppointmentResponse extends $pb.GeneratedMessage { @@ -2651,50 +2495,50 @@ class CancelAppointmentResponse extends $pb.GeneratedMessage { void clearAppointmentID() => $_clearField(1); } -class UpdateSlotAppointmentRequest extends $pb.GeneratedMessage { - factory UpdateSlotAppointmentRequest({ +class UpdateAppointmentRequest extends $pb.GeneratedMessage { + factory UpdateAppointmentRequest({ $3.RequestProjectHeader? header, $core.String? appointmentID, $core.Iterable<$2.Slot>? slots, - $core.String? timeZone, + $core.Iterable<$2.Commission>? commissions, }) { final result = create(); if (header != null) result.header = header; if (appointmentID != null) result.appointmentID = appointmentID; if (slots != null) result.slots.addAll(slots); - if (timeZone != null) result.timeZone = timeZone; + if (commissions != null) result.commissions.addAll(commissions); return result; } - UpdateSlotAppointmentRequest._(); + UpdateAppointmentRequest._(); - factory UpdateSlotAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory UpdateSlotAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + 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 ? '' : 'UpdateSlotAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + 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) - ..aOS(4, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') + ..pc<$2.Commission>(4, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create) ..hasRequiredFields = false ; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateSlotAppointmentRequest clone() => UpdateSlotAppointmentRequest()..mergeFromMessage(this); + UpdateAppointmentRequest clone() => UpdateAppointmentRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateSlotAppointmentRequest copyWith(void Function(UpdateSlotAppointmentRequest) updates) => super.copyWith((message) => updates(message as UpdateSlotAppointmentRequest)) as UpdateSlotAppointmentRequest; + 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 UpdateSlotAppointmentRequest create() => UpdateSlotAppointmentRequest._(); + static UpdateAppointmentRequest create() => UpdateAppointmentRequest._(); @$core.override - UpdateSlotAppointmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + UpdateAppointmentRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateSlotAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateSlotAppointmentRequest? _defaultInstance; + static UpdateAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateAppointmentRequest? _defaultInstance; @$pb.TagNumber(1) $3.RequestProjectHeader get header => $_getN(0); @@ -2720,70 +2564,121 @@ class UpdateSlotAppointmentRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $pb.PbList<$2.Slot> get slots => $_getList(2); - /// time zone, useful only if a WMS use this API + /// The modified Commissions for the appointment @$pb.TagNumber(4) - $core.String get timeZone => $_getSZ(3); - @$pb.TagNumber(4) - set timeZone($core.String value) => $_setString(3, value); - @$pb.TagNumber(4) - $core.bool hasTimeZone() => $_has(3); - @$pb.TagNumber(4) - void clearTimeZone() => $_clearField(4); + $pb.PbList<$2.Commission> get commissions => $_getList(3); } -class UpdateSlotAppointmentResponse extends $pb.GeneratedMessage { - factory UpdateSlotAppointmentResponse({ +class UpdateAppointmentNoReferenceRequest extends $pb.GeneratedMessage { + factory UpdateAppointmentNoReferenceRequest({ + $3.RequestProjectHeader? header, $core.String? appointmentID, + $core.Iterable<$2.Slot>? slots, + $core.String? projectID, + $core.Iterable<$2.QuantityByUnit>? quantities, + $core.String? reason, }) { final result = create(); + if (header != null) result.header = header; if (appointmentID != null) result.appointmentID = appointmentID; + if (slots != null) result.slots.addAll(slots); + if (projectID != null) result.projectID = projectID; + if (quantities != null) result.quantities.addAll(quantities); + if (reason != null) result.reason = reason; return result; } - UpdateSlotAppointmentResponse._(); + UpdateAppointmentNoReferenceRequest._(); - factory UpdateSlotAppointmentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory UpdateSlotAppointmentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + factory UpdateAppointmentNoReferenceRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory UpdateAppointmentNoReferenceRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSlotAppointmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateAppointmentNoReferenceRequest', 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 ? '' : 'ProjectID', protoName: 'ProjectID') + ..pc<$2.QuantityByUnit>(5, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create) + ..aOS(6, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') ..hasRequiredFields = false ; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateSlotAppointmentResponse clone() => UpdateSlotAppointmentResponse()..mergeFromMessage(this); + UpdateAppointmentNoReferenceRequest clone() => UpdateAppointmentNoReferenceRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateSlotAppointmentResponse copyWith(void Function(UpdateSlotAppointmentResponse) updates) => super.copyWith((message) => updates(message as UpdateSlotAppointmentResponse)) as UpdateSlotAppointmentResponse; + UpdateAppointmentNoReferenceRequest copyWith(void Function(UpdateAppointmentNoReferenceRequest) updates) => super.copyWith((message) => updates(message as UpdateAppointmentNoReferenceRequest)) as UpdateAppointmentNoReferenceRequest; @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static UpdateSlotAppointmentResponse create() => UpdateSlotAppointmentResponse._(); + static UpdateAppointmentNoReferenceRequest create() => UpdateAppointmentNoReferenceRequest._(); @$core.override - UpdateSlotAppointmentResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + UpdateAppointmentNoReferenceRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateSlotAppointmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateSlotAppointmentResponse? _defaultInstance; + static UpdateAppointmentNoReferenceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateAppointmentNoReferenceRequest? _defaultInstance; @$pb.TagNumber(1) - $core.String get appointmentID => $_getSZ(0); + $3.RequestProjectHeader get header => $_getN(0); @$pb.TagNumber(1) - set appointmentID($core.String value) => $_setString(0, value); + set header($3.RequestProjectHeader value) => $_setField(1, value); @$pb.TagNumber(1) - $core.bool hasAppointmentID() => $_has(0); + $core.bool hasHeader() => $_has(0); @$pb.TagNumber(1) - void clearAppointmentID() => $_clearField(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); + + /// Project for which the appointment is made, with the quantities + @$pb.TagNumber(4) + $core.String get projectID => $_getSZ(3); + @$pb.TagNumber(4) + set projectID($core.String value) => $_setString(3, value); + @$pb.TagNumber(4) + $core.bool hasProjectID() => $_has(3); + @$pb.TagNumber(4) + void clearProjectID() => $_clearField(4); + + /// In case of no reference, quantities + @$pb.TagNumber(5) + $pb.PbList<$2.QuantityByUnit> get quantities => $_getList(4); + + /// In case of no reference, The Reason for which the appointment has no commissions + @$pb.TagNumber(6) + $core.String get reason => $_getSZ(5); + @$pb.TagNumber(6) + set reason($core.String value) => $_setString(5, value); + @$pb.TagNumber(6) + $core.bool hasReason() => $_has(5); + @$pb.TagNumber(6) + void clearReason() => $_clearField(6); } -class UpdateCommissionsAppointmentRequest extends $pb.GeneratedMessage { - factory UpdateCommissionsAppointmentRequest({ +class ForceUpdateAppointmentRequest extends $pb.GeneratedMessage { + factory ForceUpdateAppointmentRequest({ $3.RequestProjectHeader? header, $core.String? appointmentID, $core.Iterable<$2.Slot>? slots, $core.Iterable<$2.Commission>? commissions, $core.String? timeZone, + $core.String? projectID, + $core.Iterable<$2.QuantityByUnit>? quantities, + $core.String? reason, }) { final result = create(); if (header != null) result.header = header; @@ -2791,39 +2686,45 @@ class UpdateCommissionsAppointmentRequest extends $pb.GeneratedMessage { if (slots != null) result.slots.addAll(slots); if (commissions != null) result.commissions.addAll(commissions); if (timeZone != null) result.timeZone = timeZone; + if (projectID != null) result.projectID = projectID; + if (quantities != null) result.quantities.addAll(quantities); + if (reason != null) result.reason = reason; return result; } - UpdateCommissionsAppointmentRequest._(); + ForceUpdateAppointmentRequest._(); - factory UpdateCommissionsAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory UpdateCommissionsAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + factory ForceUpdateAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ForceUpdateAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateCommissionsAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ForceUpdateAppointmentRequest', 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 ? '' : 'TimeZone', protoName: 'TimeZone') + ..aOS(6, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') + ..pc<$2.QuantityByUnit>(7, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create) + ..aOS(8, _omitFieldNames ? '' : 'Reason', protoName: 'Reason') ..hasRequiredFields = false ; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateCommissionsAppointmentRequest clone() => UpdateCommissionsAppointmentRequest()..mergeFromMessage(this); + ForceUpdateAppointmentRequest clone() => ForceUpdateAppointmentRequest()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateCommissionsAppointmentRequest copyWith(void Function(UpdateCommissionsAppointmentRequest) updates) => super.copyWith((message) => updates(message as UpdateCommissionsAppointmentRequest)) as UpdateCommissionsAppointmentRequest; + ForceUpdateAppointmentRequest copyWith(void Function(ForceUpdateAppointmentRequest) updates) => super.copyWith((message) => updates(message as ForceUpdateAppointmentRequest)) as ForceUpdateAppointmentRequest; @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static UpdateCommissionsAppointmentRequest create() => UpdateCommissionsAppointmentRequest._(); + static ForceUpdateAppointmentRequest create() => ForceUpdateAppointmentRequest._(); @$core.override - UpdateCommissionsAppointmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + ForceUpdateAppointmentRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateCommissionsAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateCommissionsAppointmentRequest? _defaultInstance; + static ForceUpdateAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ForceUpdateAppointmentRequest? _defaultInstance; @$pb.TagNumber(1) $3.RequestProjectHeader get header => $_getN(0); @@ -2862,52 +2763,30 @@ class UpdateCommissionsAppointmentRequest extends $pb.GeneratedMessage { $core.bool hasTimeZone() => $_has(4); @$pb.TagNumber(5) void clearTimeZone() => $_clearField(5); -} -class UpdateCommissionsAppointmentResponse extends $pb.GeneratedMessage { - factory UpdateCommissionsAppointmentResponse({ - $core.String? appointmentID, - }) { - final result = create(); - if (appointmentID != null) result.appointmentID = appointmentID; - return result; - } + /// Project for which the appointment is made, with the quantities + @$pb.TagNumber(6) + $core.String get projectID => $_getSZ(5); + @$pb.TagNumber(6) + set projectID($core.String value) => $_setString(5, value); + @$pb.TagNumber(6) + $core.bool hasProjectID() => $_has(5); + @$pb.TagNumber(6) + void clearProjectID() => $_clearField(6); - UpdateCommissionsAppointmentResponse._(); + /// In case of no reference, quantities + @$pb.TagNumber(7) + $pb.PbList<$2.QuantityByUnit> get quantities => $_getList(6); - factory UpdateCommissionsAppointmentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory UpdateCommissionsAppointmentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateCommissionsAppointmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID') - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateCommissionsAppointmentResponse clone() => UpdateCommissionsAppointmentResponse()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - UpdateCommissionsAppointmentResponse copyWith(void Function(UpdateCommissionsAppointmentResponse) updates) => super.copyWith((message) => updates(message as UpdateCommissionsAppointmentResponse)) as UpdateCommissionsAppointmentResponse; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateCommissionsAppointmentResponse create() => UpdateCommissionsAppointmentResponse._(); - @$core.override - UpdateCommissionsAppointmentResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateCommissionsAppointmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateCommissionsAppointmentResponse? _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); + /// In case of no reference, The Reason for which the appointment has no commissions + @$pb.TagNumber(8) + $core.String get reason => $_getSZ(7); + @$pb.TagNumber(8) + set reason($core.String value) => $_setString(7, value); + @$pb.TagNumber(8) + $core.bool hasReason() => $_has(7); + @$pb.TagNumber(8) + void clearReason() => $_clearField(8); } /// ListUserSites diff --git a/lib/site.pbgrpc.dart b/lib/site.pbgrpc.dart index 9b08e300..0121b270 100644 --- a/lib/site.pbgrpc.dart +++ b/lib/site.pbgrpc.dart @@ -84,36 +84,28 @@ class SiteServiceClient extends $grpc.Client { return $createUnaryCall(_$bookAppointment, request, options: options); } - $grpc.ResponseFuture<$0.BookAppointmentResponse> forceBookAppointment($0.BookAppointmentRequest request, {$grpc.CallOptions? options,}) { - return $createUnaryCall(_$forceBookAppointment, request, options: options); - } - - $grpc.ResponseFuture<$0.BookAppointmentResponse> wMSForceBookAppointment($0.WMSBookAppointmentRequest request, {$grpc.CallOptions? options,}) { - return $createUnaryCall(_$wMSForceBookAppointment, request, options: options); - } - $grpc.ResponseFuture<$0.BookAppointmentResponse> bookAppointmentNoReference($0.BookAppointmentNoReferenceRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$bookAppointmentNoReference, request, options: options); } - $grpc.ResponseFuture<$0.BookAppointmentResponse> forceBookAppointmentNoReference($0.BookAppointmentNoReferenceRequest request, {$grpc.CallOptions? options,}) { - return $createUnaryCall(_$forceBookAppointmentNoReference, request, options: options); - } - - $grpc.ResponseFuture<$0.BookAppointmentResponse> wMSForceBookAppointmentNoReference($0.WMSBookAppointmentNoReferenceRequest request, {$grpc.CallOptions? options,}) { - return $createUnaryCall(_$wMSForceBookAppointmentNoReference, request, options: options); + $grpc.ResponseFuture<$0.BookAppointmentResponse> forceBookAppointment($0.ForceBookAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$forceBookAppointment, request, options: options); } $grpc.ResponseFuture<$0.CancelAppointmentResponse> cancelAppointment($0.CancelAppointmentRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$cancelAppointment, request, options: options); } - $grpc.ResponseFuture<$0.UpdateSlotAppointmentResponse> updateSlotAppointment($0.UpdateSlotAppointmentRequest request, {$grpc.CallOptions? options,}) { - return $createUnaryCall(_$updateSlotAppointment, request, options: options); + $grpc.ResponseFuture<$0.BookAppointmentResponse> updateAppointment($0.UpdateAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$updateAppointment, request, options: options); } - $grpc.ResponseFuture<$0.UpdateCommissionsAppointmentResponse> updateCommissionsAppointment($0.UpdateCommissionsAppointmentRequest request, {$grpc.CallOptions? options,}) { - return $createUnaryCall(_$updateCommissionsAppointment, request, options: options); + $grpc.ResponseFuture<$0.BookAppointmentResponse> updateAppointmentNoReference($0.UpdateAppointmentNoReferenceRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$updateAppointmentNoReference, request, options: options); + } + + $grpc.ResponseFuture<$0.BookAppointmentResponse> forceUpdateAppointment($0.ForceUpdateAppointmentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$forceUpdateAppointment, request, options: options); } $grpc.ResponseFuture<$0.DeleteSettingsResult> deleteSettings($0.DeleteSettingsRequest request, {$grpc.CallOptions? options,}) { @@ -174,38 +166,30 @@ class SiteServiceClient extends $grpc.Client { '/api.SiteService/BookAppointment', ($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 _$wMSForceBookAppointment = $grpc.ClientMethod<$0.WMSBookAppointmentRequest, $0.BookAppointmentResponse>( - '/api.SiteService/WMSForceBookAppointment', - ($0.WMSBookAppointmentRequest value) => value.writeToBuffer(), - $0.BookAppointmentResponse.fromBuffer); static final _$bookAppointmentNoReference = $grpc.ClientMethod<$0.BookAppointmentNoReferenceRequest, $0.BookAppointmentResponse>( '/api.SiteService/BookAppointmentNoReference', ($0.BookAppointmentNoReferenceRequest value) => value.writeToBuffer(), $0.BookAppointmentResponse.fromBuffer); - static final _$forceBookAppointmentNoReference = $grpc.ClientMethod<$0.BookAppointmentNoReferenceRequest, $0.BookAppointmentResponse>( - '/api.SiteService/ForceBookAppointmentNoReference', - ($0.BookAppointmentNoReferenceRequest value) => value.writeToBuffer(), - $0.BookAppointmentResponse.fromBuffer); - static final _$wMSForceBookAppointmentNoReference = $grpc.ClientMethod<$0.WMSBookAppointmentNoReferenceRequest, $0.BookAppointmentResponse>( - '/api.SiteService/WMSForceBookAppointmentNoReference', - ($0.WMSBookAppointmentNoReferenceRequest value) => value.writeToBuffer(), + static final _$forceBookAppointment = $grpc.ClientMethod<$0.ForceBookAppointmentRequest, $0.BookAppointmentResponse>( + '/api.SiteService/ForceBookAppointment', + ($0.ForceBookAppointmentRequest 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 _$updateSlotAppointment = $grpc.ClientMethod<$0.UpdateSlotAppointmentRequest, $0.UpdateSlotAppointmentResponse>( - '/api.SiteService/UpdateSlotAppointment', - ($0.UpdateSlotAppointmentRequest value) => value.writeToBuffer(), - $0.UpdateSlotAppointmentResponse.fromBuffer); - static final _$updateCommissionsAppointment = $grpc.ClientMethod<$0.UpdateCommissionsAppointmentRequest, $0.UpdateCommissionsAppointmentResponse>( - '/api.SiteService/UpdateCommissionsAppointment', - ($0.UpdateCommissionsAppointmentRequest value) => value.writeToBuffer(), - $0.UpdateCommissionsAppointmentResponse.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.UpdateAppointmentNoReferenceRequest, $0.BookAppointmentResponse>( + '/api.SiteService/UpdateAppointmentNoReference', + ($0.UpdateAppointmentNoReferenceRequest value) => value.writeToBuffer(), + $0.BookAppointmentResponse.fromBuffer); + static final _$forceUpdateAppointment = $grpc.ClientMethod<$0.ForceUpdateAppointmentRequest, $0.BookAppointmentResponse>( + '/api.SiteService/ForceUpdateAppointment', + ($0.ForceUpdateAppointmentRequest value) => value.writeToBuffer(), + $0.BookAppointmentResponse.fromBuffer); static final _$deleteSettings = $grpc.ClientMethod<$0.DeleteSettingsRequest, $0.DeleteSettingsResult>( '/api.SiteService/DeleteSettings', ($0.DeleteSettingsRequest value) => value.writeToBuffer(), @@ -308,20 +292,6 @@ abstract class SiteServiceBase extends $grpc.Service { 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.WMSBookAppointmentRequest, $0.BookAppointmentResponse>( - 'WMSForceBookAppointment', - wMSForceBookAppointment_Pre, - false, - false, - ($core.List<$core.int> value) => $0.WMSBookAppointmentRequest.fromBuffer(value), - ($0.BookAppointmentResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.BookAppointmentNoReferenceRequest, $0.BookAppointmentResponse>( 'BookAppointmentNoReference', bookAppointmentNoReference_Pre, @@ -329,19 +299,12 @@ abstract class SiteServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.BookAppointmentNoReferenceRequest.fromBuffer(value), ($0.BookAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.BookAppointmentNoReferenceRequest, $0.BookAppointmentResponse>( - 'ForceBookAppointmentNoReference', - forceBookAppointmentNoReference_Pre, + $addMethod($grpc.ServiceMethod<$0.ForceBookAppointmentRequest, $0.BookAppointmentResponse>( + 'ForceBookAppointment', + forceBookAppointment_Pre, false, false, - ($core.List<$core.int> value) => $0.BookAppointmentNoReferenceRequest.fromBuffer(value), - ($0.BookAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.WMSBookAppointmentNoReferenceRequest, $0.BookAppointmentResponse>( - 'WMSForceBookAppointmentNoReference', - wMSForceBookAppointmentNoReference_Pre, - false, - false, - ($core.List<$core.int> value) => $0.WMSBookAppointmentNoReferenceRequest.fromBuffer(value), + ($core.List<$core.int> value) => $0.ForceBookAppointmentRequest.fromBuffer(value), ($0.BookAppointmentResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.CancelAppointmentRequest, $0.CancelAppointmentResponse>( 'CancelAppointment', @@ -350,20 +313,27 @@ abstract class SiteServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.CancelAppointmentRequest.fromBuffer(value), ($0.CancelAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateSlotAppointmentRequest, $0.UpdateSlotAppointmentResponse>( - 'UpdateSlotAppointment', - updateSlotAppointment_Pre, + $addMethod($grpc.ServiceMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>( + 'UpdateAppointment', + updateAppointment_Pre, false, false, - ($core.List<$core.int> value) => $0.UpdateSlotAppointmentRequest.fromBuffer(value), - ($0.UpdateSlotAppointmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateCommissionsAppointmentRequest, $0.UpdateCommissionsAppointmentResponse>( - 'UpdateCommissionsAppointment', - updateCommissionsAppointment_Pre, + ($core.List<$core.int> value) => $0.UpdateAppointmentRequest.fromBuffer(value), + ($0.BookAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.UpdateAppointmentNoReferenceRequest, $0.BookAppointmentResponse>( + 'UpdateAppointmentNoReference', + updateAppointmentNoReference_Pre, false, false, - ($core.List<$core.int> value) => $0.UpdateCommissionsAppointmentRequest.fromBuffer(value), - ($0.UpdateCommissionsAppointmentResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $0.UpdateAppointmentNoReferenceRequest.fromBuffer(value), + ($0.BookAppointmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ForceUpdateAppointmentRequest, $0.BookAppointmentResponse>( + 'ForceUpdateAppointment', + forceUpdateAppointment_Pre, + false, + false, + ($core.List<$core.int> value) => $0.ForceUpdateAppointmentRequest.fromBuffer(value), + ($0.BookAppointmentResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.DeleteSettingsRequest, $0.DeleteSettingsResult>( 'DeleteSettings', deleteSettings_Pre, @@ -451,35 +421,17 @@ abstract class SiteServiceBase extends $grpc.Service { $async.Future<$0.BookAppointmentResponse> bookAppointment($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.BookAppointmentResponse> wMSForceBookAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.WMSBookAppointmentRequest> $request) async { - return wMSForceBookAppointment($call, await $request); - } - - $async.Future<$0.BookAppointmentResponse> wMSForceBookAppointment($grpc.ServiceCall call, $0.WMSBookAppointmentRequest request); - $async.Future<$0.BookAppointmentResponse> bookAppointmentNoReference_Pre($grpc.ServiceCall $call, $async.Future<$0.BookAppointmentNoReferenceRequest> $request) async { return bookAppointmentNoReference($call, await $request); } $async.Future<$0.BookAppointmentResponse> bookAppointmentNoReference($grpc.ServiceCall call, $0.BookAppointmentNoReferenceRequest request); - $async.Future<$0.BookAppointmentResponse> forceBookAppointmentNoReference_Pre($grpc.ServiceCall $call, $async.Future<$0.BookAppointmentNoReferenceRequest> $request) async { - return forceBookAppointmentNoReference($call, await $request); + $async.Future<$0.BookAppointmentResponse> forceBookAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.ForceBookAppointmentRequest> $request) async { + return forceBookAppointment($call, await $request); } - $async.Future<$0.BookAppointmentResponse> forceBookAppointmentNoReference($grpc.ServiceCall call, $0.BookAppointmentNoReferenceRequest request); - - $async.Future<$0.BookAppointmentResponse> wMSForceBookAppointmentNoReference_Pre($grpc.ServiceCall $call, $async.Future<$0.WMSBookAppointmentNoReferenceRequest> $request) async { - return wMSForceBookAppointmentNoReference($call, await $request); - } - - $async.Future<$0.BookAppointmentResponse> wMSForceBookAppointmentNoReference($grpc.ServiceCall call, $0.WMSBookAppointmentNoReferenceRequest request); + $async.Future<$0.BookAppointmentResponse> forceBookAppointment($grpc.ServiceCall call, $0.ForceBookAppointmentRequest request); $async.Future<$0.CancelAppointmentResponse> cancelAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.CancelAppointmentRequest> $request) async { return cancelAppointment($call, await $request); @@ -487,17 +439,23 @@ abstract class SiteServiceBase extends $grpc.Service { $async.Future<$0.CancelAppointmentResponse> cancelAppointment($grpc.ServiceCall call, $0.CancelAppointmentRequest request); - $async.Future<$0.UpdateSlotAppointmentResponse> updateSlotAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateSlotAppointmentRequest> $request) async { - return updateSlotAppointment($call, await $request); + $async.Future<$0.BookAppointmentResponse> updateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateAppointmentRequest> $request) async { + return updateAppointment($call, await $request); } - $async.Future<$0.UpdateSlotAppointmentResponse> updateSlotAppointment($grpc.ServiceCall call, $0.UpdateSlotAppointmentRequest request); + $async.Future<$0.BookAppointmentResponse> updateAppointment($grpc.ServiceCall call, $0.UpdateAppointmentRequest request); - $async.Future<$0.UpdateCommissionsAppointmentResponse> updateCommissionsAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateCommissionsAppointmentRequest> $request) async { - return updateCommissionsAppointment($call, await $request); + $async.Future<$0.BookAppointmentResponse> updateAppointmentNoReference_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateAppointmentNoReferenceRequest> $request) async { + return updateAppointmentNoReference($call, await $request); } - $async.Future<$0.UpdateCommissionsAppointmentResponse> updateCommissionsAppointment($grpc.ServiceCall call, $0.UpdateCommissionsAppointmentRequest request); + $async.Future<$0.BookAppointmentResponse> updateAppointmentNoReference($grpc.ServiceCall call, $0.UpdateAppointmentNoReferenceRequest request); + + $async.Future<$0.BookAppointmentResponse> forceUpdateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.ForceUpdateAppointmentRequest> $request) async { + return forceUpdateAppointment($call, await $request); + } + + $async.Future<$0.BookAppointmentResponse> forceUpdateAppointment($grpc.ServiceCall call, $0.ForceUpdateAppointmentRequest request); $async.Future<$0.DeleteSettingsResult> deleteSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteSettingsRequest> $request) async { return deleteSettings($call, await $request); diff --git a/lib/site.pbjson.dart b/lib/site.pbjson.dart index 84e2171e..f58d9b7f 100644 --- a/lib/site.pbjson.dart +++ b/lib/site.pbjson.dart @@ -546,9 +546,9 @@ final $typed_data.Uint8List bookAppointmentNoReferenceRequestDescriptor = $conve 'b2ludG1lbnRUeXBl0gEJUHJvamVjdElE0gEKUXVhbnRpdGllc9IBDVNlZ21lbnRhdGlvbnPSAR' 'JDYXJyaWVySW5mb3JtYXRpb24='); -@$core.Deprecated('Use wMSBookAppointmentRequestDescriptor instead') -const WMSBookAppointmentRequest$json = { - '1': 'WMSBookAppointmentRequest', +@$core.Deprecated('Use forceBookAppointmentRequestDescriptor instead') +const ForceBookAppointmentRequest$json = { + '1': 'ForceBookAppointmentRequest', '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'}, @@ -562,69 +562,31 @@ const WMSBookAppointmentRequest$json = { {'1': 'TimeZone', '3': 11, '4': 1, '5': 9, '10': 'TimeZone'}, {'1': 'AppointmentID', '3': 12, '4': 1, '5': 9, '10': 'AppointmentID'}, {'1': 'InstructionAck', '3': 13, '4': 1, '5': 8, '10': 'InstructionAck'}, + {'1': 'ProjectID', '3': 14, '4': 1, '5': 9, '10': 'ProjectID'}, + {'1': 'Reason', '3': 15, '4': 1, '5': 9, '10': 'Reason'}, + {'1': 'Quantities', '3': 16, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '10': 'Quantities'}, ], '7': {}, }; -/// Descriptor for `WMSBookAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List wMSBookAppointmentRequestDescriptor = $convert.base64Decode( - 'ChlXTVNCb29rQXBwb2ludG1lbnRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZX' - 'N0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchJICg9BcHBvaW50bWVudFR5cGUYAiAB' - 'KA4yFC5hcGkuQXBwb2ludG1lbnRUeXBlQgj6QgWCAQIQAVIPQXBwb2ludG1lbnRUeXBlEjEKC0' - 'NvbW1pc3Npb25zGAMgAygLMg8uYXBpLkNvbW1pc3Npb25SC0NvbW1pc3Npb25zElIKFlNlZ21l' - 'bnRhdGlvblNlbGVjdGlvbnMYBCADKAsyGi5hcGkuU2VnbWVudGF0aW9uU2VsZWN0aW9uUhZTZW' - 'dtZW50YXRpb25TZWxlY3Rpb25zElAKEkNhcnJpZXJJbmZvcm1hdGlvbhgFIAMoCzIgLmFwaS5D' - 'YXJyaWVySW5mb3JtYXRpb25XaXRoVmFsdWVSEkNhcnJpZXJJbmZvcm1hdGlvbhIfCgVTbG90cx' - 'gGIAMoCzIJLmFwaS5TbG90UgVTbG90cxJ9CgZFbWFpbHMYCCADKAlCZZJBUTIdTXVzdCBiZSBh' - 'IHZhbGlkIGVtYWlsIGFkZHJlc3NKMFsiSm9obi5kb2VAcmVmbGV4LmNvbSIsICJ3aWxsLnNtaX' - 'RoQHJlZmxleC5jb20iXfpCDpIBCwgBIgdyBWAB8AEBUgZFbWFpbHMSHAoJQ2FycmllcklEGAkg' - 'ASgJUglDYXJyaWVySUQSIAoLQ2Fycmllck5hbWUYCiABKAlSC0NhcnJpZXJOYW1lEhoKCFRpbW' - 'Vab25lGAsgASgJUghUaW1lWm9uZRIkCg1BcHBvaW50bWVudElEGAwgASgJUg1BcHBvaW50bWVu' - 'dElEEiYKDkluc3RydWN0aW9uQWNrGA0gASgIUg5JbnN0cnVjdGlvbkFjazpekkFbClnSAQZIZW' - 'FkZXLSAQ9BcHBvaW50bWVudFR5cGXSAQtDb21taXNzaW9uc9IBDVNlZ21lbnRhdGlvbnPSARJD' - 'YXJyaWVySW5mb3JtYXRpb27SAQhUaW1lWm9uZQ=='); - -@$core.Deprecated('Use wMSBookAppointmentNoReferenceRequestDescriptor instead') -const WMSBookAppointmentNoReferenceRequest$json = { - '1': 'WMSBookAppointmentNoReferenceRequest', - '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': 'ProjectID', '3': 3, '4': 1, '5': 9, '10': 'ProjectID'}, - {'1': 'Quantities', '3': 4, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '8': {}, '10': 'Quantities'}, - {'1': 'SegmentationSelections', '3': 5, '4': 3, '5': 11, '6': '.api.SegmentationSelection', '10': 'SegmentationSelections'}, - {'1': 'CarrierInformation', '3': 6, '4': 3, '5': 11, '6': '.api.CarrierInformationWithValue', '10': 'CarrierInformation'}, - {'1': 'Slots', '3': 7, '4': 3, '5': 11, '6': '.api.Slot', '10': 'Slots'}, - {'1': 'Emails', '3': 8, '4': 3, '5': 9, '8': {}, '10': 'Emails'}, - {'1': 'CarrierID', '3': 9, '4': 1, '5': 9, '10': 'CarrierID'}, - {'1': 'CarrierName', '3': 10, '4': 1, '5': 9, '10': 'CarrierName'}, - {'1': 'TimeZone', '3': 11, '4': 1, '5': 9, '10': 'TimeZone'}, - {'1': 'AppointmentID', '3': 12, '4': 1, '5': 9, '10': 'AppointmentID'}, - {'1': 'Reason', '3': 13, '4': 1, '5': 9, '10': 'Reason'}, - {'1': 'InstructionAck', '3': 14, '4': 1, '5': 8, '10': 'InstructionAck'}, - ], - '7': {}, -}; - -/// Descriptor for `WMSBookAppointmentNoReferenceRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List wMSBookAppointmentNoReferenceRequestDescriptor = $convert.base64Decode( - 'CiRXTVNCb29rQXBwb2ludG1lbnROb1JlZmVyZW5jZVJlcXVlc3QSOwoGSGVhZGVyGAEgASgLMh' - 'kuYXBpLlJlcXVlc3RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEkgKD0FwcG9pbnRt' - 'ZW50VHlwZRgCIAEoDjIULmFwaS5BcHBvaW50bWVudFR5cGVCCPpCBYIBAhABUg9BcHBvaW50bW' - 'VudFR5cGUSHAoJUHJvamVjdElEGAMgASgJUglQcm9qZWN0SUQSPQoKUXVhbnRpdGllcxgEIAMo' - 'CzITLmFwaS5RdWFudGl0eUJ5VW5pdEII+kIFkgECCAFSClF1YW50aXRpZXMSUgoWU2VnbWVudG' - 'F0aW9uU2VsZWN0aW9ucxgFIAMoCzIaLmFwaS5TZWdtZW50YXRpb25TZWxlY3Rpb25SFlNlZ21l' - 'bnRhdGlvblNlbGVjdGlvbnMSUAoSQ2FycmllckluZm9ybWF0aW9uGAYgAygLMiAuYXBpLkNhcn' - 'JpZXJJbmZvcm1hdGlvbldpdGhWYWx1ZVISQ2FycmllckluZm9ybWF0aW9uEh8KBVNsb3RzGAcg' - 'AygLMgkuYXBpLlNsb3RSBVNsb3RzEn0KBkVtYWlscxgIIAMoCUJlkkFRMh1NdXN0IGJlIGEgdm' - 'FsaWQgZW1haWwgYWRkcmVzc0owWyJKb2huLmRvZUByZWZsZXguY29tIiwgIndpbGwuc21pdGhA' - 'cmVmbGV4LmNvbSJd+kIOkgELCAEiB3IFYAHwAQFSBkVtYWlscxIcCglDYXJyaWVySUQYCSABKA' - 'lSCUNhcnJpZXJJRBIgCgtDYXJyaWVyTmFtZRgKIAEoCVILQ2Fycmllck5hbWUSGgoIVGltZVpv' - 'bmUYCyABKAlSCFRpbWVab25lEiQKDUFwcG9pbnRtZW50SUQYDCABKAlSDUFwcG9pbnRtZW50SU' - 'QSFgoGUmVhc29uGA0gASgJUgZSZWFzb24SJgoOSW5zdHJ1Y3Rpb25BY2sYDiABKAhSDkluc3Ry' - 'dWN0aW9uQWNrOmmSQWYKZNIBBkhlYWRlctIBD0FwcG9pbnRtZW50VHlwZdIBCVByb2plY3RJRN' - 'IBClF1YW50aXRpZXPSAQ1TZWdtZW50YXRpb25z0gESQ2FycmllckluZm9ybWF0aW9u0gEIVGlt' - 'ZVpvbmU='); +/// Descriptor for `ForceBookAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List forceBookAppointmentRequestDescriptor = $convert.base64Decode( + 'ChtGb3JjZUJvb2tBcHBvaW50bWVudFJlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcX' + 'Vlc3RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEkgKD0FwcG9pbnRtZW50VHlwZRgC' + 'IAEoDjIULmFwaS5BcHBvaW50bWVudFR5cGVCCPpCBYIBAhABUg9BcHBvaW50bWVudFR5cGUSMQ' + 'oLQ29tbWlzc2lvbnMYAyADKAsyDy5hcGkuQ29tbWlzc2lvblILQ29tbWlzc2lvbnMSUgoWU2Vn' + 'bWVudGF0aW9uU2VsZWN0aW9ucxgEIAMoCzIaLmFwaS5TZWdtZW50YXRpb25TZWxlY3Rpb25SFl' + 'NlZ21lbnRhdGlvblNlbGVjdGlvbnMSUAoSQ2FycmllckluZm9ybWF0aW9uGAUgAygLMiAuYXBp' + 'LkNhcnJpZXJJbmZvcm1hdGlvbldpdGhWYWx1ZVISQ2FycmllckluZm9ybWF0aW9uEh8KBVNsb3' + 'RzGAYgAygLMgkuYXBpLlNsb3RSBVNsb3RzEn0KBkVtYWlscxgIIAMoCUJlkkFRMh1NdXN0IGJl' + 'IGEgdmFsaWQgZW1haWwgYWRkcmVzc0owWyJKb2huLmRvZUByZWZsZXguY29tIiwgIndpbGwuc2' + '1pdGhAcmVmbGV4LmNvbSJd+kIOkgELCAEiB3IFYAHwAQFSBkVtYWlscxIcCglDYXJyaWVySUQY' + 'CSABKAlSCUNhcnJpZXJJRBIgCgtDYXJyaWVyTmFtZRgKIAEoCVILQ2Fycmllck5hbWUSGgoIVG' + 'ltZVpvbmUYCyABKAlSCFRpbWVab25lEiQKDUFwcG9pbnRtZW50SUQYDCABKAlSDUFwcG9pbnRt' + 'ZW50SUQSJgoOSW5zdHJ1Y3Rpb25BY2sYDSABKAhSDkluc3RydWN0aW9uQWNrEhwKCVByb2plY3' + 'RJRBgOIAEoCVIJUHJvamVjdElEEhYKBlJlYXNvbhgPIAEoCVIGUmVhc29uEjMKClF1YW50aXRp' + 'ZXMYECADKAsyEy5hcGkuUXVhbnRpdHlCeVVuaXRSClF1YW50aXRpZXM6MJJBLQor0gEGSGVhZG' + 'Vy0gEPQXBwb2ludG1lbnRUeXBl0gENU2VnbWVudGF0aW9ucw=='); @$core.Deprecated('Use bookAppointmentResponseDescriptor instead') const BookAppointmentResponse$json = { @@ -669,73 +631,75 @@ final $typed_data.Uint8List cancelAppointmentResponseDescriptor = $convert.base6 'ChlDYW5jZWxBcHBvaW50bWVudFJlc3BvbnNlEiQKDUFwcG9pbnRtZW50SUQYASABKAlSDUFwcG' '9pbnRtZW50SUQ='); -@$core.Deprecated('Use updateSlotAppointmentRequestDescriptor instead') -const UpdateSlotAppointmentRequest$json = { - '1': 'UpdateSlotAppointmentRequest', +@$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', '10': 'Slots'}, - {'1': 'TimeZone', '3': 4, '4': 1, '5': 9, '10': 'TimeZone'}, + {'1': 'Commissions', '3': 4, '4': 3, '5': 11, '6': '.api.Commission', '10': 'Commissions'}, ], '7': {}, }; -/// Descriptor for `UpdateSlotAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateSlotAppointmentRequestDescriptor = $convert.base64Decode( - 'ChxVcGRhdGVTbG90QXBwb2ludG1lbnRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZX' - 'F1ZXN0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchItCg1BcHBvaW50bWVudElEGAIg' - 'ASgJQgf6QgRyAhABUg1BcHBvaW50bWVudElEEh8KBVNsb3RzGAMgAygLMgkuYXBpLlNsb3RSBV' - 'Nsb3RzEhoKCFRpbWVab25lGAQgASgJUghUaW1lWm9uZTomkkEjCiHSAQZIZWFkZXLSAQ1BcHBv' - 'aW50bWVudElE0gEFU2xvdHM='); +/// Descriptor for `UpdateAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updateAppointmentRequestDescriptor = $convert.base64Decode( + 'ChhVcGRhdGVBcHBvaW50bWVudFJlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3' + 'RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEi0KDUFwcG9pbnRtZW50SUQYAiABKAlC' + 'B/pCBHICEAFSDUFwcG9pbnRtZW50SUQSHwoFU2xvdHMYAyADKAsyCS5hcGkuU2xvdFIFU2xvdH' + 'MSMQoLQ29tbWlzc2lvbnMYBCADKAsyDy5hcGkuQ29tbWlzc2lvblILQ29tbWlzc2lvbnM6JpJB' + 'Iwoh0gEGSGVhZGVy0gENQXBwb2ludG1lbnRJRNIBBVNsb3Rz'); -@$core.Deprecated('Use updateSlotAppointmentResponseDescriptor instead') -const UpdateSlotAppointmentResponse$json = { - '1': 'UpdateSlotAppointmentResponse', +@$core.Deprecated('Use updateAppointmentNoReferenceRequestDescriptor instead') +const UpdateAppointmentNoReferenceRequest$json = { + '1': 'UpdateAppointmentNoReferenceRequest', '2': [ - {'1': 'AppointmentID', '3': 1, '4': 1, '5': 9, '10': 'AppointmentID'}, + {'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': 'ProjectID', '3': 4, '4': 1, '5': 9, '10': 'ProjectID'}, + {'1': 'Quantities', '3': 5, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '10': 'Quantities'}, + {'1': 'Reason', '3': 6, '4': 1, '5': 9, '10': 'Reason'}, ], + '7': {}, }; -/// Descriptor for `UpdateSlotAppointmentResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateSlotAppointmentResponseDescriptor = $convert.base64Decode( - 'Ch1VcGRhdGVTbG90QXBwb2ludG1lbnRSZXNwb25zZRIkCg1BcHBvaW50bWVudElEGAEgASgJUg' - '1BcHBvaW50bWVudElE'); +/// Descriptor for `UpdateAppointmentNoReferenceRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updateAppointmentNoReferenceRequestDescriptor = $convert.base64Decode( + 'CiNVcGRhdGVBcHBvaW50bWVudE5vUmVmZXJlbmNlUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS' + '5hcGkuUmVxdWVzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISLQoNQXBwb2ludG1l' + 'bnRJRBgCIAEoCUIH+kIEcgIQAVINQXBwb2ludG1lbnRJRBIfCgVTbG90cxgDIAMoCzIJLmFwaS' + '5TbG90UgVTbG90cxIcCglQcm9qZWN0SUQYBCABKAlSCVByb2plY3RJRBIzCgpRdWFudGl0aWVz' + 'GAUgAygLMhMuYXBpLlF1YW50aXR5QnlVbml0UgpRdWFudGl0aWVzEhYKBlJlYXNvbhgGIAEoCV' + 'IGUmVhc29uOiaSQSMKIdIBBkhlYWRlctIBDUFwcG9pbnRtZW50SUTSAQVTbG90cw=='); -@$core.Deprecated('Use updateCommissionsAppointmentRequestDescriptor instead') -const UpdateCommissionsAppointmentRequest$json = { - '1': 'UpdateCommissionsAppointmentRequest', +@$core.Deprecated('Use forceUpdateAppointmentRequestDescriptor instead') +const ForceUpdateAppointmentRequest$json = { + '1': 'ForceUpdateAppointmentRequest', '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': 'Commissions', '3': 4, '4': 3, '5': 11, '6': '.api.Commission', '10': 'Commissions'}, {'1': 'TimeZone', '3': 5, '4': 1, '5': 9, '10': 'TimeZone'}, + {'1': 'ProjectID', '3': 6, '4': 1, '5': 9, '10': 'ProjectID'}, + {'1': 'Quantities', '3': 7, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '10': 'Quantities'}, + {'1': 'Reason', '3': 8, '4': 1, '5': 9, '10': 'Reason'}, ], '7': {}, }; -/// Descriptor for `UpdateCommissionsAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateCommissionsAppointmentRequestDescriptor = $convert.base64Decode( - 'CiNVcGRhdGVDb21taXNzaW9uc0FwcG9pbnRtZW50UmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS' - '5hcGkuUmVxdWVzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISLQoNQXBwb2ludG1l' - 'bnRJRBgCIAEoCUIH+kIEcgIQAVINQXBwb2ludG1lbnRJRBIfCgVTbG90cxgDIAMoCzIJLmFwaS' - '5TbG90UgVTbG90cxIxCgtDb21taXNzaW9ucxgEIAMoCzIPLmFwaS5Db21taXNzaW9uUgtDb21t' - 'aXNzaW9ucxIaCghUaW1lWm9uZRgFIAEoCVIIVGltZVpvbmU6NJJBMQov0gEGSGVhZGVy0gENQX' - 'Bwb2ludG1lbnRJRNIBBVNsb3Rz0gELQ29tbWlzc2lvbnM='); - -@$core.Deprecated('Use updateCommissionsAppointmentResponseDescriptor instead') -const UpdateCommissionsAppointmentResponse$json = { - '1': 'UpdateCommissionsAppointmentResponse', - '2': [ - {'1': 'AppointmentID', '3': 1, '4': 1, '5': 9, '10': 'AppointmentID'}, - ], -}; - -/// Descriptor for `UpdateCommissionsAppointmentResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateCommissionsAppointmentResponseDescriptor = $convert.base64Decode( - 'CiRVcGRhdGVDb21taXNzaW9uc0FwcG9pbnRtZW50UmVzcG9uc2USJAoNQXBwb2ludG1lbnRJRB' - 'gBIAEoCVINQXBwb2ludG1lbnRJRA=='); +/// Descriptor for `ForceUpdateAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List forceUpdateAppointmentRequestDescriptor = $convert.base64Decode( + 'Ch1Gb3JjZVVwZGF0ZUFwcG9pbnRtZW50UmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUm' + 'VxdWVzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISLQoNQXBwb2ludG1lbnRJRBgC' + 'IAEoCUIH+kIEcgIQAVINQXBwb2ludG1lbnRJRBIfCgVTbG90cxgDIAMoCzIJLmFwaS5TbG90Ug' + 'VTbG90cxIxCgtDb21taXNzaW9ucxgEIAMoCzIPLmFwaS5Db21taXNzaW9uUgtDb21taXNzaW9u' + 'cxIaCghUaW1lWm9uZRgFIAEoCVIIVGltZVpvbmUSHAoJUHJvamVjdElEGAYgASgJUglQcm9qZW' + 'N0SUQSMwoKUXVhbnRpdGllcxgHIAMoCzITLmFwaS5RdWFudGl0eUJ5VW5pdFIKUXVhbnRpdGll' + 'cxIWCgZSZWFzb24YCCABKAlSBlJlYXNvbjomkkEjCiHSAQZIZWFkZXLSAQ1BcHBvaW50bWVudE' + 'lE0gEFU2xvdHM='); @$core.Deprecated('Use listUserSitesRequestDescriptor instead') const ListUserSitesRequest$json = { diff --git a/pubspec.yaml b/pubspec.yaml index e0950527..32f58ba4 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.12.0-SNAPSHOT-251006084202 +version: 1.12.0-SNAPSHOT-251006085430 homepage: '' publish_to: '' repository: ''