You've already forked dart-core-sdk
Latest generation
This commit is contained in:
102
lib/site.pb.dart
102
lib/site.pb.dart
@@ -46,6 +46,7 @@ class Site extends $pb.GeneratedMessage {
|
||||
$core.Iterable<$core.String>? emails,
|
||||
$core.String? defaultSiteLanguageISO6391,
|
||||
$core.String? prefixAppointmentID,
|
||||
StandAloneConf? standAloneConf,
|
||||
}) {
|
||||
final result = create();
|
||||
if (iD != null) result.iD = iD;
|
||||
@@ -69,6 +70,7 @@ class Site extends $pb.GeneratedMessage {
|
||||
if (emails != null) result.emails.addAll(emails);
|
||||
if (defaultSiteLanguageISO6391 != null) result.defaultSiteLanguageISO6391 = defaultSiteLanguageISO6391;
|
||||
if (prefixAppointmentID != null) result.prefixAppointmentID = prefixAppointmentID;
|
||||
if (standAloneConf != null) result.standAloneConf = standAloneConf;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -99,6 +101,7 @@ class Site extends $pb.GeneratedMessage {
|
||||
..pPS(20, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
||||
..aOS(21, _omitFieldNames ? '' : 'DefaultSiteLanguageISO6391', protoName: 'DefaultSiteLanguageISO6391')
|
||||
..aOS(23, _omitFieldNames ? '' : 'PrefixAppointmentID', protoName: 'PrefixAppointmentID')
|
||||
..aOM<StandAloneConf>(24, _omitFieldNames ? '' : 'StandAloneConf', protoName: 'StandAloneConf', subBuilder: StandAloneConf.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -270,6 +273,18 @@ class Site extends $pb.GeneratedMessage {
|
||||
$core.bool hasPrefixAppointmentID() => $_has(20);
|
||||
@$pb.TagNumber(23)
|
||||
void clearPrefixAppointmentID() => $_clearField(23);
|
||||
|
||||
/// standAlone mode configuration
|
||||
@$pb.TagNumber(24)
|
||||
StandAloneConf get standAloneConf => $_getN(21);
|
||||
@$pb.TagNumber(24)
|
||||
set standAloneConf(StandAloneConf value) => $_setField(24, value);
|
||||
@$pb.TagNumber(24)
|
||||
$core.bool hasStandAloneConf() => $_has(21);
|
||||
@$pb.TagNumber(24)
|
||||
void clearStandAloneConf() => $_clearField(24);
|
||||
@$pb.TagNumber(24)
|
||||
StandAloneConf ensureStandAloneConf() => $_ensure(21);
|
||||
}
|
||||
|
||||
/// Create
|
||||
@@ -704,6 +719,7 @@ class UpdateSettingsRequest extends $pb.GeneratedMessage {
|
||||
$core.Iterable<$core.String>? emails,
|
||||
$core.String? defaultSiteLanguageISO6391,
|
||||
$core.String? prefixAppointmentID,
|
||||
StandAloneConf? standAloneConf,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
@@ -724,6 +740,7 @@ class UpdateSettingsRequest extends $pb.GeneratedMessage {
|
||||
if (emails != null) result.emails.addAll(emails);
|
||||
if (defaultSiteLanguageISO6391 != null) result.defaultSiteLanguageISO6391 = defaultSiteLanguageISO6391;
|
||||
if (prefixAppointmentID != null) result.prefixAppointmentID = prefixAppointmentID;
|
||||
if (standAloneConf != null) result.standAloneConf = standAloneConf;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -751,6 +768,7 @@ class UpdateSettingsRequest extends $pb.GeneratedMessage {
|
||||
..pPS(20, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
||||
..aOS(21, _omitFieldNames ? '' : 'DefaultSiteLanguageISO6391', protoName: 'DefaultSiteLanguageISO6391')
|
||||
..aOS(22, _omitFieldNames ? '' : 'PrefixAppointmentID', protoName: 'PrefixAppointmentID')
|
||||
..aOM<StandAloneConf>(23, _omitFieldNames ? '' : 'StandAloneConf', protoName: 'StandAloneConf', subBuilder: StandAloneConf.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -902,6 +920,18 @@ class UpdateSettingsRequest extends $pb.GeneratedMessage {
|
||||
$core.bool hasPrefixAppointmentID() => $_has(17);
|
||||
@$pb.TagNumber(22)
|
||||
void clearPrefixAppointmentID() => $_clearField(22);
|
||||
|
||||
/// standAlone mode configuration
|
||||
@$pb.TagNumber(23)
|
||||
StandAloneConf get standAloneConf => $_getN(18);
|
||||
@$pb.TagNumber(23)
|
||||
set standAloneConf(StandAloneConf value) => $_setField(23, value);
|
||||
@$pb.TagNumber(23)
|
||||
$core.bool hasStandAloneConf() => $_has(18);
|
||||
@$pb.TagNumber(23)
|
||||
void clearStandAloneConf() => $_clearField(23);
|
||||
@$pb.TagNumber(23)
|
||||
StandAloneConf ensureStandAloneConf() => $_ensure(18);
|
||||
}
|
||||
|
||||
class UpdateSettingsResponse extends $pb.GeneratedMessage {
|
||||
@@ -1800,6 +1830,78 @@ class CheckAppointmentCommissionResponse extends $pb.GeneratedMessage {
|
||||
$3.ResponseHeader ensureHeader() => $_ensure(0);
|
||||
}
|
||||
|
||||
class StandAloneConf extends $pb.GeneratedMessage {
|
||||
factory StandAloneConf({
|
||||
$core.bool? isStandAlone,
|
||||
$core.bool? isBookingLoadingEnabledForUnknownUsers,
|
||||
$core.bool? isBookingUnloadingEnabledForUnknownUsers,
|
||||
}) {
|
||||
final result = create();
|
||||
if (isStandAlone != null) result.isStandAlone = isStandAlone;
|
||||
if (isBookingLoadingEnabledForUnknownUsers != null) result.isBookingLoadingEnabledForUnknownUsers = isBookingLoadingEnabledForUnknownUsers;
|
||||
if (isBookingUnloadingEnabledForUnknownUsers != null) result.isBookingUnloadingEnabledForUnknownUsers = isBookingUnloadingEnabledForUnknownUsers;
|
||||
return result;
|
||||
}
|
||||
|
||||
StandAloneConf._();
|
||||
|
||||
factory StandAloneConf.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory StandAloneConf.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StandAloneConf', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOB(1, _omitFieldNames ? '' : 'IsStandAlone', protoName: 'IsStandAlone')
|
||||
..aOB(2, _omitFieldNames ? '' : 'IsBookingLoadingEnabledForUnknownUsers', protoName: 'IsBookingLoadingEnabledForUnknownUsers')
|
||||
..aOB(3, _omitFieldNames ? '' : 'IsBookingUnloadingEnabledForUnknownUsers', protoName: 'IsBookingUnloadingEnabledForUnknownUsers')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
StandAloneConf clone() => StandAloneConf()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
StandAloneConf copyWith(void Function(StandAloneConf) updates) => super.copyWith((message) => updates(message as StandAloneConf)) as StandAloneConf;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static StandAloneConf create() => StandAloneConf._();
|
||||
@$core.override
|
||||
StandAloneConf createEmptyInstance() => create();
|
||||
static $pb.PbList<StandAloneConf> createRepeated() => $pb.PbList<StandAloneConf>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static StandAloneConf getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StandAloneConf>(create);
|
||||
static StandAloneConf? _defaultInstance;
|
||||
|
||||
/// Set the standAlone mode, if true the site is not linked to any project and the booking will only be possible without order reference. In that case, the segmentation will be defined only at site level and not at project level.
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool get isStandAlone => $_getBF(0);
|
||||
@$pb.TagNumber(1)
|
||||
set isStandAlone($core.bool value) => $_setBool(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasIsStandAlone() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearIsStandAlone() => $_clearField(1);
|
||||
|
||||
/// Only available in standAlone mode. Set the booking possibility for unknown users, if true the booking will be possible for users not known by the platform.
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool get isBookingLoadingEnabledForUnknownUsers => $_getBF(1);
|
||||
@$pb.TagNumber(2)
|
||||
set isBookingLoadingEnabledForUnknownUsers($core.bool value) => $_setBool(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasIsBookingLoadingEnabledForUnknownUsers() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearIsBookingLoadingEnabledForUnknownUsers() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool get isBookingUnloadingEnabledForUnknownUsers => $_getBF(2);
|
||||
@$pb.TagNumber(3)
|
||||
set isBookingUnloadingEnabledForUnknownUsers($core.bool value) => $_setBool(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasIsBookingUnloadingEnabledForUnknownUsers() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearIsBookingUnloadingEnabledForUnknownUsers() => $_clearField(3);
|
||||
}
|
||||
|
||||
/// BookAppointment
|
||||
class BookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
factory BookAppointmentRequest({
|
||||
|
||||
@@ -39,6 +39,7 @@ const Site$json = {
|
||||
{'1': 'Emails', '3': 20, '4': 3, '5': 9, '8': {}, '10': 'Emails'},
|
||||
{'1': 'DefaultSiteLanguageISO6391', '3': 21, '4': 1, '5': 9, '8': {}, '10': 'DefaultSiteLanguageISO6391'},
|
||||
{'1': 'PrefixAppointmentID', '3': 23, '4': 1, '5': 9, '8': {}, '10': 'PrefixAppointmentID'},
|
||||
{'1': 'StandAloneConf', '3': 24, '4': 1, '5': 11, '6': '.api.StandAloneConf', '10': 'StandAloneConf'},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -67,7 +68,9 @@ final $typed_data.Uint8List siteDescriptor = $convert.base64Decode(
|
||||
'IAEoCUJ/kkFwMmg8YSBocmVmPSdodHRwczovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9MaXN0X2'
|
||||
'9mX0lTT182MzlfbGFuZ3VhZ2VfY29kZXMnPklTTyA2MzkgY29kZTwvYT4gbWVzc2FnZSBsYW5n'
|
||||
'dWFnZUoEImVuIvpCCXIHEAIYA4ACAVIaRGVmYXVsdFNpdGVMYW5ndWFnZUlTTzYzOTESOQoTUH'
|
||||
'JlZml4QXBwb2ludG1lbnRJRBgXIAEoCUIH+kIEcgIYBVITUHJlZml4QXBwb2ludG1lbnRJRA==');
|
||||
'JlZml4QXBwb2ludG1lbnRJRBgXIAEoCUIH+kIEcgIYBVITUHJlZml4QXBwb2ludG1lbnRJRBI7'
|
||||
'Cg5TdGFuZEFsb25lQ29uZhgYIAEoCzITLmFwaS5TdGFuZEFsb25lQ29uZlIOU3RhbmRBbG9uZU'
|
||||
'NvbmY=');
|
||||
|
||||
@$core.Deprecated('Use createSettingsRequestDescriptor instead')
|
||||
const CreateSettingsRequest$json = {
|
||||
@@ -207,6 +210,7 @@ const UpdateSettingsRequest$json = {
|
||||
{'1': 'Emails', '3': 20, '4': 3, '5': 9, '8': {}, '10': 'Emails'},
|
||||
{'1': 'DefaultSiteLanguageISO6391', '3': 21, '4': 1, '5': 9, '8': {}, '10': 'DefaultSiteLanguageISO6391'},
|
||||
{'1': 'PrefixAppointmentID', '3': 22, '4': 1, '5': 9, '8': {}, '10': 'PrefixAppointmentID'},
|
||||
{'1': 'StandAloneConf', '3': 23, '4': 1, '5': 11, '6': '.api.StandAloneConf', '10': 'StandAloneConf'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
@@ -236,7 +240,8 @@ final $typed_data.Uint8List updateSettingsRequestDescriptor = $convert.base64Dec
|
||||
'TyA2MzkgY29kZTwvYT4gbWVzc2FnZSBsYW5ndWFnZUoEImVuIvpCCXIHEAIYA4ACAVIaRGVmYX'
|
||||
'VsdFNpdGVMYW5ndWFnZUlTTzYzOTESXwoTUHJlZml4QXBwb2ludG1lbnRJRBgWIAEoCUItkkES'
|
||||
'igEPXlthLXpBLVowLTktXSsk+kIVchMYBTIPXlthLXpBLVowLTktXSskUhNQcmVmaXhBcHBvaW'
|
||||
'50bWVudElEOhOSQRAKDtIBBkhlYWRlctIBAklE');
|
||||
'50bWVudElEEjsKDlN0YW5kQWxvbmVDb25mGBcgASgLMhMuYXBpLlN0YW5kQWxvbmVDb25mUg5T'
|
||||
'dGFuZEFsb25lQ29uZjoTkkEQCg7SAQZIZWFkZXLSAQJJRA==');
|
||||
|
||||
@$core.Deprecated('Use updateSettingsResponseDescriptor instead')
|
||||
const UpdateSettingsResponse$json = {
|
||||
@@ -493,6 +498,24 @@ final $typed_data.Uint8List checkAppointmentCommissionResponseDescriptor = $conv
|
||||
'CiJDaGVja0FwcG9pbnRtZW50Q29tbWlzc2lvblJlc3BvbnNlEisKBkhlYWRlchgCIAEoCzITLm'
|
||||
'FwaS5SZXNwb25zZUhlYWRlclIGSGVhZGVy');
|
||||
|
||||
@$core.Deprecated('Use standAloneConfDescriptor instead')
|
||||
const StandAloneConf$json = {
|
||||
'1': 'StandAloneConf',
|
||||
'2': [
|
||||
{'1': 'IsStandAlone', '3': 1, '4': 1, '5': 8, '10': 'IsStandAlone'},
|
||||
{'1': 'IsBookingLoadingEnabledForUnknownUsers', '3': 2, '4': 1, '5': 8, '10': 'IsBookingLoadingEnabledForUnknownUsers'},
|
||||
{'1': 'IsBookingUnloadingEnabledForUnknownUsers', '3': 3, '4': 1, '5': 8, '10': 'IsBookingUnloadingEnabledForUnknownUsers'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `StandAloneConf`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List standAloneConfDescriptor = $convert.base64Decode(
|
||||
'Cg5TdGFuZEFsb25lQ29uZhIiCgxJc1N0YW5kQWxvbmUYASABKAhSDElzU3RhbmRBbG9uZRJWCi'
|
||||
'ZJc0Jvb2tpbmdMb2FkaW5nRW5hYmxlZEZvclVua25vd25Vc2VycxgCIAEoCFImSXNCb29raW5n'
|
||||
'TG9hZGluZ0VuYWJsZWRGb3JVbmtub3duVXNlcnMSWgooSXNCb29raW5nVW5sb2FkaW5nRW5hYm'
|
||||
'xlZEZvclVua25vd25Vc2VycxgDIAEoCFIoSXNCb29raW5nVW5sb2FkaW5nRW5hYmxlZEZvclVu'
|
||||
'a25vd25Vc2Vycw==');
|
||||
|
||||
@$core.Deprecated('Use bookAppointmentRequestDescriptor instead')
|
||||
const BookAppointmentRequest$json = {
|
||||
'1': 'BookAppointmentRequest',
|
||||
|
||||
Reference in New Issue
Block a user