You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1696,6 +1696,7 @@ class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
$core.Iterable<$2.SegmentationSelection>? segmentationSelections,
|
||||
$core.String? startDate,
|
||||
$core.String? endDate,
|
||||
$core.Iterable<$core.String>? skippedAppointmentIDs,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
@@ -1704,6 +1705,7 @@ class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
||||
if (startDate != null) result.startDate = startDate;
|
||||
if (endDate != null) result.endDate = endDate;
|
||||
if (skippedAppointmentIDs != null) result.skippedAppointmentIDs.addAll(skippedAppointmentIDs);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -1719,6 +1721,7 @@ class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
..pc<$2.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
|
||||
..aOS(5, _omitFieldNames ? '' : 'StartDate', protoName: 'StartDate')
|
||||
..aOS(6, _omitFieldNames ? '' : 'EndDate', protoName: 'EndDate')
|
||||
..pPS(7, _omitFieldNames ? '' : 'SkippedAppointmentIDs', protoName: 'SkippedAppointmentIDs')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -1785,6 +1788,10 @@ class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
$core.bool hasEndDate() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
void clearEndDate() => $_clearField(6);
|
||||
|
||||
/// Optional, needed to skip counting those appointments in the capacity rules
|
||||
@$pb.TagNumber(7)
|
||||
$pb.PbList<$core.String> get skippedAppointmentIDs => $_getList(6);
|
||||
}
|
||||
|
||||
class GetAvailableSlotsResponse extends $pb.GeneratedMessage {
|
||||
|
||||
@@ -457,6 +457,7 @@ const GetAvailableSlotsRequest$json = {
|
||||
{'1': 'SegmentationSelections', '3': 4, '4': 3, '5': 11, '6': '.api.SegmentationSelection', '10': 'SegmentationSelections'},
|
||||
{'1': 'StartDate', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'StartDate'},
|
||||
{'1': 'EndDate', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'EndDate'},
|
||||
{'1': 'SkippedAppointmentIDs', '3': 7, '4': 3, '5': 9, '10': 'SkippedAppointmentIDs'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
@@ -471,7 +472,8 @@ final $typed_data.Uint8List getAvailableSlotsRequestDescriptor = $convert.base64
|
||||
'RhdGlvblNlbGVjdGlvbnMSWgoJU3RhcnREYXRlGAUgASgJQjz6QjlyNzI1XjIwWzAtOV17Mn0t'
|
||||
'KDBbMS05XXwxWzAtMl0pLSgwWzEtOV18WzEyXVswLTldfDNbMDFdKSRSCVN0YXJ0RGF0ZRJWCg'
|
||||
'dFbmREYXRlGAYgASgJQjz6QjlyNzI1XjIwWzAtOV17Mn0tKDBbMS05XXwxWzAtMl0pLSgwWzEt'
|
||||
'OV18WzEyXVswLTldfDNbMDFdKSRSB0VuZERhdGU6DpJBCwoJ0gEGSGVhZGVy');
|
||||
'OV18WzEyXVswLTldfDNbMDFdKSRSB0VuZERhdGUSNAoVU2tpcHBlZEFwcG9pbnRtZW50SURzGA'
|
||||
'cgAygJUhVTa2lwcGVkQXBwb2ludG1lbnRJRHM6DpJBCwoJ0gEGSGVhZGVy');
|
||||
|
||||
@$core.Deprecated('Use getAvailableSlotsResponseDescriptor instead')
|
||||
const GetAvailableSlotsResponse$json = {
|
||||
|
||||
Reference in New Issue
Block a user