Latest generation

This commit is contained in:
ci core model
2025-07-02 13:18:38 +00:00
parent 3134e36123
commit edd58465c2
7 changed files with 220 additions and 7 deletions

View File

@@ -1,3 +1,3 @@
# CHANGELOG
Lib version: 1.11.0-SNAPSHOT-250702094948
Lib version: 1.11.0-SNAPSHOT-250702131814

View File

@@ -1343,6 +1343,143 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
void clearCarrierName() => $_clearField(10);
}
/// BookAppointment
class WMSBookAppointmentRequest extends $pb.GeneratedMessage {
factory WMSBookAppointmentRequest({
$3.RequestSiteHeader? header,
$2.AppointmentType? appointmentType,
$core.Iterable<$2.Commission>? commissions,
$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,
}) {
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 (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;
return result;
}
WMSBookAppointmentRequest._();
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);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WMSBookAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.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)
..pc<$2.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
..pc<$2.CarrierInformationWithValue>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformationWithValue.create)
..pc<$2.Slot>(6, _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')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
WMSBookAppointmentRequest clone() => WMSBookAppointmentRequest()..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;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static WMSBookAppointmentRequest create() => WMSBookAppointmentRequest._();
@$core.override
WMSBookAppointmentRequest createEmptyInstance() => create();
static $pb.PbList<WMSBookAppointmentRequest> createRepeated() => $pb.PbList<WMSBookAppointmentRequest>();
@$core.pragma('dart2js:noInline')
static WMSBookAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<WMSBookAppointmentRequest>(create);
static WMSBookAppointmentRequest? _defaultInstance;
@$pb.TagNumber(1)
$3.RequestSiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.RequestSiteHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.RequestSiteHeader 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);
/// 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);
/// Required carrierInformation, some can be obligatory
@$pb.TagNumber(5)
$pb.PbList<$2.CarrierInformationWithValue> get carrierInformation => $_getList(4);
/// The slot to book for the appointment
@$pb.TagNumber(6)
$pb.PbList<$2.Slot> get slots => $_getList(5);
/// 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(6);
/// The carrier identifier who requests to book the appointment
@$pb.TagNumber(9)
$core.String get carrierID => $_getSZ(7);
@$pb.TagNumber(9)
set carrierID($core.String value) => $_setString(7, value);
@$pb.TagNumber(9)
$core.bool hasCarrierID() => $_has(7);
@$pb.TagNumber(9)
void clearCarrierID() => $_clearField(9);
/// The carrier name who requests to book the appointment
@$pb.TagNumber(10)
$core.String get carrierName => $_getSZ(8);
@$pb.TagNumber(10)
set carrierName($core.String value) => $_setString(8, value);
@$pb.TagNumber(10)
$core.bool hasCarrierName() => $_has(8);
@$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(9);
@$pb.TagNumber(11)
set timeZone($core.String value) => $_setString(9, value);
@$pb.TagNumber(11)
$core.bool hasTimeZone() => $_has(9);
@$pb.TagNumber(11)
void clearTimeZone() => $_clearField(11);
}
class BookAppointmentResponse extends $pb.GeneratedMessage {
factory BookAppointmentResponse({
$core.String? appointmentID,

View File

@@ -60,6 +60,10 @@ class SiteServiceClient extends $grpc.Client {
return $createUnaryCall(_$getAvailableSlots, request, options: options);
}
$grpc.ResponseFuture<$0.GetAvailableSlotsResponse> getAllSlots($0.GetAvailableSlotsRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$getAllSlots, request, options: options);
}
$grpc.ResponseFuture<$0.ListUserSitesResponse> listUserSites($0.ListUserSitesRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$listUserSites, request, options: options);
}
@@ -72,6 +76,10 @@ class SiteServiceClient extends $grpc.Client {
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.CancelAppointmentResponse> cancelAppointment($0.CancelAppointmentRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$cancelAppointment, request, options: options);
}
@@ -106,6 +114,10 @@ class SiteServiceClient extends $grpc.Client {
'/api.SiteService/GetAvailableSlots',
($0.GetAvailableSlotsRequest value) => value.writeToBuffer(),
$0.GetAvailableSlotsResponse.fromBuffer);
static final _$getAllSlots = $grpc.ClientMethod<$0.GetAvailableSlotsRequest, $0.GetAvailableSlotsResponse>(
'/api.SiteService/GetAllSlots',
($0.GetAvailableSlotsRequest value) => value.writeToBuffer(),
$0.GetAvailableSlotsResponse.fromBuffer);
static final _$listUserSites = $grpc.ClientMethod<$0.ListUserSitesRequest, $0.ListUserSitesResponse>(
'/api.SiteService/ListUserSites',
($0.ListUserSitesRequest value) => value.writeToBuffer(),
@@ -118,6 +130,10 @@ class SiteServiceClient extends $grpc.Client {
'/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 _$cancelAppointment = $grpc.ClientMethod<$0.CancelAppointmentRequest, $0.CancelAppointmentResponse>(
'/api.SiteService/CancelAppointment',
($0.CancelAppointmentRequest value) => value.writeToBuffer(),
@@ -178,6 +194,13 @@ abstract class SiteServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $0.GetAvailableSlotsRequest.fromBuffer(value),
($0.GetAvailableSlotsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.GetAvailableSlotsRequest, $0.GetAvailableSlotsResponse>(
'GetAllSlots',
getAllSlots_Pre,
false,
false,
($core.List<$core.int> value) => $0.GetAvailableSlotsRequest.fromBuffer(value),
($0.GetAvailableSlotsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ListUserSitesRequest, $0.ListUserSitesResponse>(
'ListUserSites',
listUserSites_Pre,
@@ -199,6 +222,13 @@ 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.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.CancelAppointmentRequest, $0.CancelAppointmentResponse>(
'CancelAppointment',
cancelAppointment_Pre,
@@ -250,6 +280,12 @@ abstract class SiteServiceBase extends $grpc.Service {
$async.Future<$0.GetAvailableSlotsResponse> getAvailableSlots($grpc.ServiceCall call, $0.GetAvailableSlotsRequest request);
$async.Future<$0.GetAvailableSlotsResponse> getAllSlots_Pre($grpc.ServiceCall $call, $async.Future<$0.GetAvailableSlotsRequest> $request) async {
return getAllSlots($call, await $request);
}
$async.Future<$0.GetAvailableSlotsResponse> getAllSlots($grpc.ServiceCall call, $0.GetAvailableSlotsRequest request);
$async.Future<$0.ListUserSitesResponse> listUserSites_Pre($grpc.ServiceCall $call, $async.Future<$0.ListUserSitesRequest> $request) async {
return listUserSites($call, await $request);
}
@@ -268,6 +304,12 @@ abstract class SiteServiceBase extends $grpc.Service {
$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.CancelAppointmentResponse> cancelAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.CancelAppointmentRequest> $request) async {
return cancelAppointment($call, await $request);
}

View File

@@ -352,6 +352,40 @@ final $typed_data.Uint8List bookAppointmentRequestDescriptor = $convert.base64De
'RlctIBD0FwcG9pbnRtZW50VHlwZdIBDVNlZ21lbnRhdGlvbnPSARJDYXJyaWVySW5mb3JtYXRp'
'b24=');
@$core.Deprecated('Use wMSBookAppointmentRequestDescriptor instead')
const WMSBookAppointmentRequest$json = {
'1': 'WMSBookAppointmentRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestSiteHeader', '8': {}, '10': 'Header'},
{'1': 'AppointmentType', '3': 2, '4': 1, '5': 14, '6': '.api.AppointmentType', '8': {}, '10': 'AppointmentType'},
{'1': 'Commissions', '3': 3, '4': 3, '5': 11, '6': '.api.Commission', '10': 'Commissions'},
{'1': 'SegmentationSelections', '3': 4, '4': 3, '5': 11, '6': '.api.SegmentationSelection', '10': 'SegmentationSelections'},
{'1': 'CarrierInformation', '3': 5, '4': 3, '5': 11, '6': '.api.CarrierInformationWithValue', '10': 'CarrierInformation'},
{'1': 'Slots', '3': 6, '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'},
],
'7': {},
};
/// Descriptor for `WMSBookAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List wMSBookAppointmentRequestDescriptor = $convert.base64Decode(
'ChlXTVNCb29rQXBwb2ludG1lbnRSZXF1ZXN0EjgKBkhlYWRlchgBIAEoCzIWLmFwaS5SZXF1ZX'
'N0U2l0ZUhlYWRlckII+kIFigECEAFSBkhlYWRlchJICg9BcHBvaW50bWVudFR5cGUYAiABKA4y'
'FC5hcGkuQXBwb2ludG1lbnRUeXBlQgj6QgWCAQIQAVIPQXBwb2ludG1lbnRUeXBlEjEKC0NvbW'
'1pc3Npb25zGAMgAygLMg8uYXBpLkNvbW1pc3Npb25SC0NvbW1pc3Npb25zElIKFlNlZ21lbnRh'
'dGlvblNlbGVjdGlvbnMYBCADKAsyGi5hcGkuU2VnbWVudGF0aW9uU2VsZWN0aW9uUhZTZWdtZW'
'50YXRpb25TZWxlY3Rpb25zElAKEkNhcnJpZXJJbmZvcm1hdGlvbhgFIAMoCzIgLmFwaS5DYXJy'
'aWVySW5mb3JtYXRpb25XaXRoVmFsdWVSEkNhcnJpZXJJbmZvcm1hdGlvbhIfCgVTbG90cxgGIA'
'MoCzIJLmFwaS5TbG90UgVTbG90cxJ9CgZFbWFpbHMYCCADKAlCZZJBUTIdTXVzdCBiZSBhIHZh'
'bGlkIGVtYWlsIGFkZHJlc3NKMFsiSm9obi5kb2VAcmVmbGV4LmNvbSIsICJ3aWxsLnNtaXRoQH'
'JlZmxleC5jb20iXfpCDpIBCwgBIgdyBWAB8AEBUgZFbWFpbHMSHAoJQ2FycmllcklEGAkgASgJ'
'UglDYXJyaWVySUQSIAoLQ2Fycmllck5hbWUYCiABKAlSC0NhcnJpZXJOYW1lEhoKCFRpbWVab2'
'5lGAsgASgJUghUaW1lWm9uZTpQkkFNCkvSAQZIZWFkZXLSAQ9BcHBvaW50bWVudFR5cGXSAQ1T'
'ZWdtZW50YXRpb25z0gESQ2FycmllckluZm9ybWF0aW9u0gEIVGltZVpvbmU=');
@$core.Deprecated('Use bookAppointmentResponseDescriptor instead')
const BookAppointmentResponse$json = {
'1': 'BookAppointmentResponse',

View File

@@ -1906,7 +1906,7 @@ class SlotGroup extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SlotGroup', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<Slot>(1, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: Slot.create)
..a<$core.int>(2, _omitFieldNames ? '' : 'Availability', $pb.PbFieldType.OU3, protoName: 'Availability')
..a<$core.int>(2, _omitFieldNames ? '' : 'Availability', $pb.PbFieldType.O3, protoName: 'Availability')
..hasRequiredFields = false
;
@@ -1933,7 +1933,7 @@ class SlotGroup extends $pb.GeneratedMessage {
@$pb.TagNumber(2)
$core.int get availability => $_getIZ(1);
@$pb.TagNumber(2)
set availability($core.int value) => $_setUnsignedInt32(1, value);
set availability($core.int value) => $_setSignedInt32(1, value);
@$pb.TagNumber(2)
$core.bool hasAvailability() => $_has(1);
@$pb.TagNumber(2)

View File

@@ -576,12 +576,12 @@ const SlotGroup$json = {
'1': 'SlotGroup',
'2': [
{'1': 'Slots', '3': 1, '4': 3, '5': 11, '6': '.api.Slot', '10': 'Slots'},
{'1': 'Availability', '3': 2, '4': 1, '5': 13, '10': 'Availability'},
{'1': 'Availability', '3': 2, '4': 1, '5': 5, '8': {}, '10': 'Availability'},
],
};
/// Descriptor for `SlotGroup`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List slotGroupDescriptor = $convert.base64Decode(
'CglTbG90R3JvdXASHwoFU2xvdHMYASADKAsyCS5hcGkuU2xvdFIFU2xvdHMSIgoMQXZhaWxhYm'
'lsaXR5GAIgASgNUgxBdmFpbGFiaWxpdHk=');
'CglTbG90R3JvdXASHwoFU2xvdHMYASADKAsyCS5hcGkuU2xvdFIFU2xvdHMSNgoMQXZhaWxhYm'
'lsaXR5GAIgASgFQhL6Qg8aDRhkKP///////////wFSDEF2YWlsYWJpbGl0eQ==');

View File

@@ -1,6 +1,6 @@
name: dart_core_sdk
description: dart libs from core model proto files
version: 1.11.0-SNAPSHOT-250702094948
version: 1.11.0-SNAPSHOT-250702131814
homepage: ''
publish_to: ''
repository: ''