Latest generation

This commit is contained in:
ci core model
2025-06-05 12:59:22 +00:00
parent 6023425544
commit 656fac9cb8
9 changed files with 112 additions and 9 deletions

View File

@@ -1,3 +1,3 @@
# CHANGELOG
Lib version: 1.11.0-SNAPSHOT-250605094637
Lib version: 1.11.0-SNAPSHOT-250605125841

View File

@@ -110,6 +110,8 @@ class AppointmentPayload extends $pb.GeneratedMessage {
$75.AppointmentStatusStruct? status,
$core.String? creationDate,
$core.Iterable<$3.MetadataElement>? metaData,
$core.String? carrierID,
$core.String? carrierName,
}) {
final result = create();
if (appointmentType != null) result.appointmentType = appointmentType;
@@ -122,6 +124,8 @@ class AppointmentPayload extends $pb.GeneratedMessage {
if (status != null) result.status = status;
if (creationDate != null) result.creationDate = creationDate;
if (metaData != null) result.metaData.addAll(metaData);
if (carrierID != null) result.carrierID = carrierID;
if (carrierName != null) result.carrierName = carrierName;
return result;
}
@@ -141,6 +145,8 @@ class AppointmentPayload extends $pb.GeneratedMessage {
..aOM<$75.AppointmentStatusStruct>(8, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $75.AppointmentStatusStruct.create)
..aOS(9, _omitFieldNames ? '' : 'CreationDate', protoName: 'CreationDate')
..pc<$3.MetadataElement>(10, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create)
..aOS(11, _omitFieldNames ? '' : 'CarrierID', protoName: 'CarrierID')
..aOS(12, _omitFieldNames ? '' : 'CarrierName', protoName: 'CarrierName')
..hasRequiredFields = false
;
@@ -229,6 +235,24 @@ class AppointmentPayload extends $pb.GeneratedMessage {
@$pb.TagNumber(10)
$pb.PbList<$3.MetadataElement> get metaData => $_getList(9);
@$pb.TagNumber(11)
$core.String get carrierID => $_getSZ(10);
@$pb.TagNumber(11)
set carrierID($core.String value) => $_setString(10, value);
@$pb.TagNumber(11)
$core.bool hasCarrierID() => $_has(10);
@$pb.TagNumber(11)
void clearCarrierID() => $_clearField(11);
@$pb.TagNumber(12)
$core.String get carrierName => $_getSZ(11);
@$pb.TagNumber(12)
set carrierName($core.String value) => $_setString(11, value);
@$pb.TagNumber(12)
$core.bool hasCarrierName() => $_has(11);
@$pb.TagNumber(12)
void clearCarrierName() => $_clearField(12);
}
class AppointmentTriplet extends $pb.GeneratedMessage {

View File

@@ -46,6 +46,8 @@ const AppointmentPayload$json = {
{'1': 'Status', '3': 8, '4': 1, '5': 11, '6': '.api.AppointmentStatusStruct', '8': {}, '10': 'Status'},
{'1': 'CreationDate', '3': 9, '4': 1, '5': 9, '8': {}, '10': 'CreationDate'},
{'1': 'MetaData', '3': 10, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'MetaData'},
{'1': 'CarrierID', '3': 11, '4': 1, '5': 9, '10': 'CarrierID'},
{'1': 'CarrierName', '3': 12, '4': 1, '5': 9, '10': 'CarrierName'},
],
'7': {},
};
@@ -67,8 +69,9 @@ final $typed_data.Uint8List appointmentPayloadDescriptor = $convert.base64Decode
'CghNZXRhRGF0YRgKIAMoCzIULmFwaS5NZXRhZGF0YUVsZW1lbnRClAGSQYUBMoIBTWV0YWRhdG'
'EgYXJlIGNoYXJhY3RlcmlzdGljcyBzcGVjaWZpYyB0byB0aGUgc2l0ZS4gVGhleSBjYW4gYmUg'
'b2Ygc2V2ZXJhbCBkYXRhIGZvcm0gKHN0cmluZywgaW50ZWdlciwgZmxvYXQsIGJvb2xlYW4gb3'
'IgdGltZXN0YW1wKcDBGAHqwRgDS2V5UghNZXRhRGF0YTonkkEkCiLSAQ9BcHBvaW50bWVudFR5'
'cGXSAQ1TZWdtZW50YXRpb25z');
'IgdGltZXN0YW1wKcDBGAHqwRgDS2V5UghNZXRhRGF0YRIcCglDYXJyaWVySUQYCyABKAlSCUNh'
'cnJpZXJJRBIgCgtDYXJyaWVyTmFtZRgMIAEoCVILQ2Fycmllck5hbWU6J5JBJAoi0gEPQXBwb2'
'ludG1lbnRUeXBl0gENU2VnbWVudGF0aW9ucw==');
@$core.Deprecated('Use appointmentTripletDescriptor instead')
const AppointmentTriplet$json = {

View File

@@ -30,6 +30,8 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
$70.Slot? slot,
$core.Iterable<$core.String>? emails,
$core.Iterable<$3.MetadataElement>? metaData,
$core.String? carrierID,
$core.String? carrierName,
}) {
final result = create();
if (appointmentType != null) result.appointmentType = appointmentType;
@@ -40,6 +42,8 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
if (slot != null) result.slot = slot;
if (emails != null) result.emails.addAll(emails);
if (metaData != null) result.metaData.addAll(metaData);
if (carrierID != null) result.carrierID = carrierID;
if (carrierName != null) result.carrierName = carrierName;
return result;
}
@@ -57,6 +61,8 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
..aOM<$70.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $70.Slot.create)
..pPS(7, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
..pc<$3.MetadataElement>(8, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create)
..aOS(10, _omitFieldNames ? '' : 'CarrierID', protoName: 'CarrierID')
..aOS(11, _omitFieldNames ? '' : 'CarrierName', protoName: 'CarrierName')
..hasRequiredFields = false
;
@@ -123,6 +129,24 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
@$pb.TagNumber(8)
$pb.PbList<$3.MetadataElement> get metaData => $_getList(7);
@$pb.TagNumber(10)
$core.String get carrierID => $_getSZ(8);
@$pb.TagNumber(10)
set carrierID($core.String value) => $_setString(8, value);
@$pb.TagNumber(10)
$core.bool hasCarrierID() => $_has(8);
@$pb.TagNumber(10)
void clearCarrierID() => $_clearField(10);
@$pb.TagNumber(11)
$core.String get carrierName => $_getSZ(9);
@$pb.TagNumber(11)
set carrierName($core.String value) => $_setString(9, value);
@$pb.TagNumber(11)
$core.bool hasCarrierName() => $_has(9);
@$pb.TagNumber(11)
void clearCarrierName() => $_clearField(11);
}
/// Event message

View File

@@ -26,6 +26,8 @@ const AppointmentCreatedPayload$json = {
{'1': 'Slot', '3': 6, '4': 1, '5': 11, '6': '.api.Slot', '10': 'Slot'},
{'1': 'Emails', '3': 7, '4': 3, '5': 9, '8': {}, '10': 'Emails'},
{'1': 'MetaData', '3': 8, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'MetaData'},
{'1': 'CarrierID', '3': 10, '4': 1, '5': 9, '10': 'CarrierID'},
{'1': 'CarrierName', '3': 11, '4': 1, '5': 9, '10': 'CarrierName'},
],
'7': {},
};
@@ -45,8 +47,9 @@ final $typed_data.Uint8List appointmentCreatedPayloadDescriptor = $convert.base6
'MhQuYXBpLk1ldGFkYXRhRWxlbWVudEKUAZJBhQEyggFNZXRhZGF0YSBhcmUgY2hhcmFjdGVyaX'
'N0aWNzIHNwZWNpZmljIHRvIHRoZSBzaXRlLiBUaGV5IGNhbiBiZSBvZiBzZXZlcmFsIGRhdGEg'
'Zm9ybSAoc3RyaW5nLCBpbnRlZ2VyLCBmbG9hdCwgYm9vbGVhbiBvciB0aW1lc3RhbXApwMEYAe'
'rBGANLZXlSCE1ldGFEYXRhOj6SQSMKITINRXZlbnQgUGF5bG9hZNIBD0FwcG9pbnRtZW50VHlw'
'ZaK7GAVFdmVudKi7GAG6uxgHQ3JlYXRlZA==');
'rBGANLZXlSCE1ldGFEYXRhEhwKCUNhcnJpZXJJRBgKIAEoCVIJQ2FycmllcklEEiAKC0NhcnJp'
'ZXJOYW1lGAsgASgJUgtDYXJyaWVyTmFtZTo+kkEjCiEyDUV2ZW50IFBheWxvYWTSAQ9BcHBvaW'
'50bWVudFR5cGWiuxgFRXZlbnSouxgBursYB0NyZWF0ZWQ=');
@$core.Deprecated('Use appointmentCreatedEventDescriptor instead')
const AppointmentCreatedEvent$json = {

View File

@@ -1220,6 +1220,8 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
$core.Iterable<$70.CarrierInformationWithValue>? carrierInformation,
$core.Iterable<$70.Slot>? slots,
$core.Iterable<$core.String>? emails,
$core.String? carrierID,
$core.String? carrierName,
}) {
final result = create();
if (header != null) result.header = header;
@@ -1229,6 +1231,8 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
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;
return result;
}
@@ -1245,6 +1249,8 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
..pc<$70.CarrierInformationWithValue>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $70.CarrierInformationWithValue.create)
..pc<$70.Slot>(6, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $70.Slot.create)
..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
..aOS(9, _omitFieldNames ? '' : 'CarrierID', protoName: 'CarrierID')
..aOS(10, _omitFieldNames ? '' : 'CarrierName', protoName: 'CarrierName')
..hasRequiredFields = false
;
@@ -1306,6 +1312,26 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
/// TODO Need to add a structure to store platform user identifiers which can act 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);
}
class BookAppointmentResponse extends $pb.GeneratedMessage {

View File

@@ -66,6 +66,10 @@ class SiteServiceClient extends $grpc.Client {
'/api.SiteService/BookAppointment',
($57.BookAppointmentRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $57.BookAppointmentResponse.fromBuffer(value));
static final _$forceBookAppointment = $grpc.ClientMethod<$57.BookAppointmentRequest, $57.BookAppointmentResponse>(
'/api.SiteService/ForceBookAppointment',
($57.BookAppointmentRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $57.BookAppointmentResponse.fromBuffer(value));
static final _$cancelAppointment = $grpc.ClientMethod<$57.CancelAppointmentRequest, $57.CancelAppointmentResponse>(
'/api.SiteService/CancelAppointment',
($57.CancelAppointmentRequest value) => value.writeToBuffer(),
@@ -109,6 +113,10 @@ class SiteServiceClient extends $grpc.Client {
return $createUnaryCall(_$bookAppointment, request, options: options);
}
$grpc.ResponseFuture<$57.BookAppointmentResponse> forceBookAppointment($57.BookAppointmentRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$forceBookAppointment, request, options: options);
}
$grpc.ResponseFuture<$57.CancelAppointmentResponse> cancelAppointment($57.CancelAppointmentRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$cancelAppointment, request, options: options);
}
@@ -182,6 +190,13 @@ abstract class SiteServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $57.BookAppointmentRequest.fromBuffer(value),
($57.BookAppointmentResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$57.BookAppointmentRequest, $57.BookAppointmentResponse>(
'ForceBookAppointment',
forceBookAppointment_Pre,
false,
false,
($core.List<$core.int> value) => $57.BookAppointmentRequest.fromBuffer(value),
($57.BookAppointmentResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$57.CancelAppointmentRequest, $57.CancelAppointmentResponse>(
'CancelAppointment',
cancelAppointment_Pre,
@@ -227,6 +242,10 @@ abstract class SiteServiceBase extends $grpc.Service {
return bookAppointment($call, await $request);
}
$async.Future<$57.BookAppointmentResponse> forceBookAppointment_Pre($grpc.ServiceCall $call, $async.Future<$57.BookAppointmentRequest> $request) async {
return forceBookAppointment($call, await $request);
}
$async.Future<$57.CancelAppointmentResponse> cancelAppointment_Pre($grpc.ServiceCall $call, $async.Future<$57.CancelAppointmentRequest> $request) async {
return cancelAppointment($call, await $request);
}
@@ -240,5 +259,6 @@ abstract class SiteServiceBase extends $grpc.Service {
$async.Future<$57.GetAvailableSlotsResponse> getAvailableSlots($grpc.ServiceCall call, $57.GetAvailableSlotsRequest request);
$async.Future<$57.ListUserSitesResponse> listUserSites($grpc.ServiceCall call, $57.ListUserSitesRequest request);
$async.Future<$57.BookAppointmentResponse> bookAppointment($grpc.ServiceCall call, $57.BookAppointmentRequest request);
$async.Future<$57.BookAppointmentResponse> forceBookAppointment($grpc.ServiceCall call, $57.BookAppointmentRequest request);
$async.Future<$57.CancelAppointmentResponse> cancelAppointment($grpc.ServiceCall call, $57.CancelAppointmentRequest request);
}

View File

@@ -328,6 +328,8 @@ const BookAppointmentRequest$json = {
{'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'},
],
'7': {},
};
@@ -343,9 +345,10 @@ final $typed_data.Uint8List bookAppointmentRequestDescriptor = $convert.base64De
'bHVlUhJDYXJyaWVySW5mb3JtYXRpb24SHwoFU2xvdHMYBiADKAsyCS5hcGkuU2xvdFIFU2xvdH'
'MSfQoGRW1haWxzGAggAygJQmWSQVEyHU11c3QgYmUgYSB2YWxpZCBlbWFpbCBhZGRyZXNzSjBb'
'IkpvaG4uZG9lQHJlZmxleC5jb20iLCAid2lsbC5zbWl0aEByZWZsZXguY29tIl36Qg6SAQsIAS'
'IHcgVgAfABAVIGRW1haWxzOmeSQWQKYtIBBkhlYWRlctIBD0FwcG9pbnRtZW50VHlwZdIBC0Nv'
'bW1pc3Npb25z0gERUXVhbnRpdGllc0J5VW5pdHPSAQ1TZWdtZW50YXRpb25z0gESQ2Fycmllck'
'luZm9ybWF0aW9u');
'IHcgVgAfABAVIGRW1haWxzEhwKCUNhcnJpZXJJRBgJIAEoCVIJQ2FycmllcklEEiAKC0NhcnJp'
'ZXJOYW1lGAogASgJUgtDYXJyaWVyTmFtZTpnkkFkCmLSAQZIZWFkZXLSAQ9BcHBvaW50bWVudF'
'R5cGXSAQtDb21taXNzaW9uc9IBEVF1YW50aXRpZXNCeVVuaXRz0gENU2VnbWVudGF0aW9uc9IB'
'EkNhcnJpZXJJbmZvcm1hdGlvbg==');
@$core.Deprecated('Use bookAppointmentResponseDescriptor instead')
const BookAppointmentResponse$json = {

View File

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