From 6142d3da76ed755c7c3dd42877df21d45c472725 Mon Sep 17 00:00:00 2001 From: ci core model Date: Thu, 10 Jul 2025 13:44:33 +0000 Subject: [PATCH] Latest generation --- CHANGELOG.md | 2 +- lib/site.pb.dart | 333 +++++++++++++++++++++++++++++++++++++------ lib/site.pbgrpc.dart | 42 ++++++ lib/site.pbjson.dart | 114 +++++++++++---- pubspec.yaml | 2 +- 5 files changed, 420 insertions(+), 73 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ce7640c..29dcb93f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.11.0-SNAPSHOT-250710072630 +Lib version: 1.11.0-SNAPSHOT-250710134351 diff --git a/lib/site.pb.dart b/lib/site.pb.dart index 25a9f0ca..b6a0481c 100644 --- a/lib/site.pb.dart +++ b/lib/site.pb.dart @@ -729,7 +729,6 @@ class UpdateSiteRequest extends $pb.GeneratedMessage { $3.RequestSiteHeader? header, $core.String? name, $core.bool? active, - $core.String? photoURI, $1.Address? address, $core.Iterable<$core.String>? phones, $core.String? fax, @@ -740,7 +739,6 @@ class UpdateSiteRequest extends $pb.GeneratedMessage { $core.Iterable<$2.DurationRule>? durationRules, $core.Iterable<$2.CapacityRule>? capacityRules, $2.Instruction? instruction, - $core.Iterable<$2.Document>? instructionDocuments, $core.Iterable<$2.CarrierInformation>? carrierInformation, $core.int? roundedPeriodInMinutes, $core.String? timeZone, @@ -751,7 +749,6 @@ class UpdateSiteRequest extends $pb.GeneratedMessage { if (header != null) result.header = header; if (name != null) result.name = name; if (active != null) result.active = active; - if (photoURI != null) result.photoURI = photoURI; if (address != null) result.address = address; if (phones != null) result.phones.addAll(phones); if (fax != null) result.fax = fax; @@ -762,7 +759,6 @@ class UpdateSiteRequest extends $pb.GeneratedMessage { if (durationRules != null) result.durationRules.addAll(durationRules); if (capacityRules != null) result.capacityRules.addAll(capacityRules); if (instruction != null) result.instruction = instruction; - if (instructionDocuments != null) result.instructionDocuments.addAll(instructionDocuments); if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation); if (roundedPeriodInMinutes != null) result.roundedPeriodInMinutes = roundedPeriodInMinutes; if (timeZone != null) result.timeZone = timeZone; @@ -780,7 +776,6 @@ class UpdateSiteRequest extends $pb.GeneratedMessage { ..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create) ..aOS(3, _omitFieldNames ? '' : 'Name', protoName: 'Name') ..aOB(4, _omitFieldNames ? '' : 'Active', protoName: 'Active') - ..aOS(5, _omitFieldNames ? '' : 'PhotoURI', protoName: 'PhotoURI') ..aOM<$1.Address>(6, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $1.Address.create) ..pPS(7, _omitFieldNames ? '' : 'Phones', protoName: 'Phones') ..aOS(8, _omitFieldNames ? '' : 'Fax', protoName: 'Fax') @@ -791,7 +786,6 @@ class UpdateSiteRequest extends $pb.GeneratedMessage { ..pc<$2.DurationRule>(13, _omitFieldNames ? '' : 'DurationRules', $pb.PbFieldType.PM, protoName: 'DurationRules', subBuilder: $2.DurationRule.create) ..pc<$2.CapacityRule>(14, _omitFieldNames ? '' : 'CapacityRules', $pb.PbFieldType.PM, protoName: 'CapacityRules', subBuilder: $2.CapacityRule.create) ..aOM<$2.Instruction>(15, _omitFieldNames ? '' : 'Instruction', protoName: 'Instruction', subBuilder: $2.Instruction.create) - ..pc<$2.Document>(16, _omitFieldNames ? '' : 'InstructionDocuments', $pb.PbFieldType.PM, protoName: 'InstructionDocuments', subBuilder: $2.Document.create) ..pc<$2.CarrierInformation>(17, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformation.create) ..a<$core.int>(18, _omitFieldNames ? '' : 'RoundedPeriodInMinutes', $pb.PbFieldType.OU3, protoName: 'RoundedPeriodInMinutes') ..aOS(19, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone') @@ -847,111 +841,98 @@ class UpdateSiteRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) void clearActive() => $_clearField(4); - @$pb.TagNumber(5) - $core.String get photoURI => $_getSZ(3); - @$pb.TagNumber(5) - set photoURI($core.String value) => $_setString(3, value); - @$pb.TagNumber(5) - $core.bool hasPhotoURI() => $_has(3); - @$pb.TagNumber(5) - void clearPhotoURI() => $_clearField(5); - @$pb.TagNumber(6) - $1.Address get address => $_getN(4); + $1.Address get address => $_getN(3); @$pb.TagNumber(6) set address($1.Address value) => $_setField(6, value); @$pb.TagNumber(6) - $core.bool hasAddress() => $_has(4); + $core.bool hasAddress() => $_has(3); @$pb.TagNumber(6) void clearAddress() => $_clearField(6); @$pb.TagNumber(6) - $1.Address ensureAddress() => $_ensure(4); + $1.Address ensureAddress() => $_ensure(3); @$pb.TagNumber(7) - $pb.PbList<$core.String> get phones => $_getList(5); + $pb.PbList<$core.String> get phones => $_getList(4); @$pb.TagNumber(8) - $core.String get fax => $_getSZ(6); + $core.String get fax => $_getSZ(5); @$pb.TagNumber(8) - set fax($core.String value) => $_setString(6, value); + set fax($core.String value) => $_setString(5, value); @$pb.TagNumber(8) - $core.bool hasFax() => $_has(6); + $core.bool hasFax() => $_has(5); @$pb.TagNumber(8) void clearFax() => $_clearField(8); /// List of Segmentations that segment the logistic site. @$pb.TagNumber(9) - $pb.PbList<$2.Segmentation> get segmentations => $_getList(7); + $pb.PbList<$2.Segmentation> get segmentations => $_getList(6); /// List of allowed project and the constraints (interval time in which they can book an appointment) they are associated with. @$pb.TagNumber(10) - $pb.PbList<$2.ProjectAuthorisation> get authorisations => $_getList(8); + $pb.PbList<$2.ProjectAuthorisation> get authorisations => $_getList(7); @$pb.TagNumber(11) - $pb.PbList<$2.Unit> get units => $_getList(9); + $pb.PbList<$2.Unit> get units => $_getList(8); /// Definition of the opening rules. 2 opening rule definitions cannot overlap. @$pb.TagNumber(12) - $pb.PbList<$2.OpeningRule> get openingRules => $_getList(10); + $pb.PbList<$2.OpeningRule> get openingRules => $_getList(9); /// Definition of the booking slot duration rules. @$pb.TagNumber(13) - $pb.PbList<$2.DurationRule> get durationRules => $_getList(11); + $pb.PbList<$2.DurationRule> get durationRules => $_getList(10); /// Definition of the capacity rules. 2 capacity rule can overlap and the more constraining one will be applied. @$pb.TagNumber(14) - $pb.PbList<$2.CapacityRule> get capacityRules => $_getList(12); + $pb.PbList<$2.CapacityRule> get capacityRules => $_getList(11); @$pb.TagNumber(15) - $2.Instruction get instruction => $_getN(13); + $2.Instruction get instruction => $_getN(12); @$pb.TagNumber(15) set instruction($2.Instruction value) => $_setField(15, value); @$pb.TagNumber(15) - $core.bool hasInstruction() => $_has(13); + $core.bool hasInstruction() => $_has(12); @$pb.TagNumber(15) void clearInstruction() => $_clearField(15); @$pb.TagNumber(15) - $2.Instruction ensureInstruction() => $_ensure(13); - - /// Set of instruction document, listing necessary equipment and such - @$pb.TagNumber(16) - $pb.PbList<$2.Document> get instructionDocuments => $_getList(14); + $2.Instruction ensureInstruction() => $_ensure(12); /// Set of required or optional information to ask when a slot is booked @$pb.TagNumber(17) - $pb.PbList<$2.CarrierInformation> get carrierInformation => $_getList(15); + $pb.PbList<$2.CarrierInformation> get carrierInformation => $_getList(13); /// Defines the rounded value of periods in minutes, must be greater than 0. @$pb.TagNumber(18) - $core.int get roundedPeriodInMinutes => $_getIZ(16); + $core.int get roundedPeriodInMinutes => $_getIZ(14); @$pb.TagNumber(18) - set roundedPeriodInMinutes($core.int value) => $_setUnsignedInt32(16, value); + set roundedPeriodInMinutes($core.int value) => $_setUnsignedInt32(14, value); @$pb.TagNumber(18) - $core.bool hasRoundedPeriodInMinutes() => $_has(16); + $core.bool hasRoundedPeriodInMinutes() => $_has(14); @$pb.TagNumber(18) void clearRoundedPeriodInMinutes() => $_clearField(18); /// Add Site Time zone @$pb.TagNumber(19) - $core.String get timeZone => $_getSZ(17); + $core.String get timeZone => $_getSZ(15); @$pb.TagNumber(19) - set timeZone($core.String value) => $_setString(17, value); + set timeZone($core.String value) => $_setString(15, value); @$pb.TagNumber(19) - $core.bool hasTimeZone() => $_has(17); + $core.bool hasTimeZone() => $_has(15); @$pb.TagNumber(19) void clearTimeZone() => $_clearField(19); /// Must be a valid email address @$pb.TagNumber(20) - $pb.PbList<$core.String> get emails => $_getList(18); + $pb.PbList<$core.String> get emails => $_getList(16); /// set the fallback language in case of missing translation @$pb.TagNumber(21) - $core.String get defaultSiteLanguageISO6391 => $_getSZ(19); + $core.String get defaultSiteLanguageISO6391 => $_getSZ(17); @$pb.TagNumber(21) - set defaultSiteLanguageISO6391($core.String value) => $_setString(19, value); + set defaultSiteLanguageISO6391($core.String value) => $_setString(17, value); @$pb.TagNumber(21) - $core.bool hasDefaultSiteLanguageISO6391() => $_has(19); + $core.bool hasDefaultSiteLanguageISO6391() => $_has(17); @$pb.TagNumber(21) void clearDefaultSiteLanguageISO6391() => $_clearField(21); } @@ -1113,6 +1094,266 @@ class DeleteSiteResponse extends $pb.GeneratedMessage { $3.WorkflowExecutionResult ensureWorkflowExecution() => $_ensure(0); } +/// Upload document +class UploadInstructionDocumentRequest extends $pb.GeneratedMessage { + factory UploadInstructionDocumentRequest({ + $3.RequestSiteHeader? header, + $3.FileDataRequest? file, + $core.String? docID, + $core.String? languageCodeISO6391, + $core.String? name, + $core.bool? ackRequired, + }) { + final result = create(); + if (header != null) result.header = header; + if (file != null) result.file = file; + if (docID != null) result.docID = docID; + if (languageCodeISO6391 != null) result.languageCodeISO6391 = languageCodeISO6391; + if (name != null) result.name = name; + if (ackRequired != null) result.ackRequired = ackRequired; + return result; + } + + UploadInstructionDocumentRequest._(); + + factory UploadInstructionDocumentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory UploadInstructionDocumentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadInstructionDocumentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create) + ..aOM<$3.FileDataRequest>(2, _omitFieldNames ? '' : 'File', protoName: 'File', subBuilder: $3.FileDataRequest.create) + ..aOS(3, _omitFieldNames ? '' : 'DocID', protoName: 'DocID') + ..aOS(4, _omitFieldNames ? '' : 'LanguageCodeISO6391', protoName: 'LanguageCodeISO6391') + ..aOS(5, _omitFieldNames ? '' : 'Name', protoName: 'Name') + ..aOB(6, _omitFieldNames ? '' : 'AckRequired', protoName: 'AckRequired') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UploadInstructionDocumentRequest clone() => UploadInstructionDocumentRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UploadInstructionDocumentRequest copyWith(void Function(UploadInstructionDocumentRequest) updates) => super.copyWith((message) => updates(message as UploadInstructionDocumentRequest)) as UploadInstructionDocumentRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UploadInstructionDocumentRequest create() => UploadInstructionDocumentRequest._(); + @$core.override + UploadInstructionDocumentRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UploadInstructionDocumentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UploadInstructionDocumentRequest? _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); + + @$pb.TagNumber(2) + $3.FileDataRequest get file => $_getN(1); + @$pb.TagNumber(2) + set file($3.FileDataRequest value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasFile() => $_has(1); + @$pb.TagNumber(2) + void clearFile() => $_clearField(2); + @$pb.TagNumber(2) + $3.FileDataRequest ensureFile() => $_ensure(1); + + @$pb.TagNumber(3) + $core.String get docID => $_getSZ(2); + @$pb.TagNumber(3) + set docID($core.String value) => $_setString(2, value); + @$pb.TagNumber(3) + $core.bool hasDocID() => $_has(2); + @$pb.TagNumber(3) + void clearDocID() => $_clearField(3); + + @$pb.TagNumber(4) + $core.String get languageCodeISO6391 => $_getSZ(3); + @$pb.TagNumber(4) + set languageCodeISO6391($core.String value) => $_setString(3, value); + @$pb.TagNumber(4) + $core.bool hasLanguageCodeISO6391() => $_has(3); + @$pb.TagNumber(4) + void clearLanguageCodeISO6391() => $_clearField(4); + + @$pb.TagNumber(5) + $core.String get name => $_getSZ(4); + @$pb.TagNumber(5) + set name($core.String value) => $_setString(4, value); + @$pb.TagNumber(5) + $core.bool hasName() => $_has(4); + @$pb.TagNumber(5) + void clearName() => $_clearField(5); + + @$pb.TagNumber(6) + $core.bool get ackRequired => $_getBF(5); + @$pb.TagNumber(6) + set ackRequired($core.bool value) => $_setBool(5, value); + @$pb.TagNumber(6) + $core.bool hasAckRequired() => $_has(5); + @$pb.TagNumber(6) + void clearAckRequired() => $_clearField(6); +} + +class UploadInstructionDocumentResponse extends $pb.GeneratedMessage { + factory UploadInstructionDocumentResponse({ + $core.String? uRI, + }) { + final result = create(); + if (uRI != null) result.uRI = uRI; + return result; + } + + UploadInstructionDocumentResponse._(); + + factory UploadInstructionDocumentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory UploadInstructionDocumentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadInstructionDocumentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'URI', protoName: 'URI') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UploadInstructionDocumentResponse clone() => UploadInstructionDocumentResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + UploadInstructionDocumentResponse copyWith(void Function(UploadInstructionDocumentResponse) updates) => super.copyWith((message) => updates(message as UploadInstructionDocumentResponse)) as UploadInstructionDocumentResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UploadInstructionDocumentResponse create() => UploadInstructionDocumentResponse._(); + @$core.override + UploadInstructionDocumentResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UploadInstructionDocumentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UploadInstructionDocumentResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get uRI => $_getSZ(0); + @$pb.TagNumber(1) + set uRI($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasURI() => $_has(0); + @$pb.TagNumber(1) + void clearURI() => $_clearField(1); +} + +/// Delete document +class DeleteInstructionDocumentRequest extends $pb.GeneratedMessage { + factory DeleteInstructionDocumentRequest({ + $3.RequestSiteHeader? header, + $core.String? docID, + $core.String? languageCodeISO6391, + }) { + final result = create(); + if (header != null) result.header = header; + if (docID != null) result.docID = docID; + if (languageCodeISO6391 != null) result.languageCodeISO6391 = languageCodeISO6391; + return result; + } + + DeleteInstructionDocumentRequest._(); + + factory DeleteInstructionDocumentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory DeleteInstructionDocumentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteInstructionDocumentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create) + ..aOS(2, _omitFieldNames ? '' : 'DocID', protoName: 'DocID') + ..aOS(3, _omitFieldNames ? '' : 'LanguageCodeISO6391', protoName: 'LanguageCodeISO6391') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteInstructionDocumentRequest clone() => DeleteInstructionDocumentRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteInstructionDocumentRequest copyWith(void Function(DeleteInstructionDocumentRequest) updates) => super.copyWith((message) => updates(message as DeleteInstructionDocumentRequest)) as DeleteInstructionDocumentRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteInstructionDocumentRequest create() => DeleteInstructionDocumentRequest._(); + @$core.override + DeleteInstructionDocumentRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteInstructionDocumentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteInstructionDocumentRequest? _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); + + @$pb.TagNumber(2) + $core.String get docID => $_getSZ(1); + @$pb.TagNumber(2) + set docID($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasDocID() => $_has(1); + @$pb.TagNumber(2) + void clearDocID() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get languageCodeISO6391 => $_getSZ(2); + @$pb.TagNumber(3) + set languageCodeISO6391($core.String value) => $_setString(2, value); + @$pb.TagNumber(3) + $core.bool hasLanguageCodeISO6391() => $_has(2); + @$pb.TagNumber(3) + void clearLanguageCodeISO6391() => $_clearField(3); +} + +class DeleteInstructionDocumentResponse extends $pb.GeneratedMessage { + factory DeleteInstructionDocumentResponse() => create(); + + DeleteInstructionDocumentResponse._(); + + factory DeleteInstructionDocumentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory DeleteInstructionDocumentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteInstructionDocumentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteInstructionDocumentResponse clone() => DeleteInstructionDocumentResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteInstructionDocumentResponse copyWith(void Function(DeleteInstructionDocumentResponse) updates) => super.copyWith((message) => updates(message as DeleteInstructionDocumentResponse)) as DeleteInstructionDocumentResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteInstructionDocumentResponse create() => DeleteInstructionDocumentResponse._(); + @$core.override + DeleteInstructionDocumentResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteInstructionDocumentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteInstructionDocumentResponse? _defaultInstance; +} + /// SuggestID class SuggestSiteIDRequest extends $pb.GeneratedMessage { factory SuggestSiteIDRequest({ diff --git a/lib/site.pbgrpc.dart b/lib/site.pbgrpc.dart index 64732960..8208b03f 100644 --- a/lib/site.pbgrpc.dart +++ b/lib/site.pbgrpc.dart @@ -52,6 +52,14 @@ class SiteServiceClient extends $grpc.Client { return $createUnaryCall(_$delete, request, options: options); } + $grpc.ResponseFuture<$0.UploadInstructionDocumentResponse> uploadInstructionDocument($0.UploadInstructionDocumentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$uploadInstructionDocument, request, options: options); + } + + $grpc.ResponseFuture<$0.DeleteInstructionDocumentResponse> deleteInstructionDocument($0.DeleteInstructionDocumentRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$deleteInstructionDocument, request, options: options); + } + $grpc.ResponseFuture<$0.SuggestSiteIDResult> suggestID($0.SuggestSiteIDRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$suggestID, request, options: options); } @@ -114,6 +122,14 @@ class SiteServiceClient extends $grpc.Client { '/api.SiteService/Delete', ($0.DeleteSiteRequest value) => value.writeToBuffer(), $0.DeleteSiteResponse.fromBuffer); + static final _$uploadInstructionDocument = $grpc.ClientMethod<$0.UploadInstructionDocumentRequest, $0.UploadInstructionDocumentResponse>( + '/api.SiteService/UploadInstructionDocument', + ($0.UploadInstructionDocumentRequest value) => value.writeToBuffer(), + $0.UploadInstructionDocumentResponse.fromBuffer); + static final _$deleteInstructionDocument = $grpc.ClientMethod<$0.DeleteInstructionDocumentRequest, $0.DeleteInstructionDocumentResponse>( + '/api.SiteService/DeleteInstructionDocument', + ($0.DeleteInstructionDocumentRequest value) => value.writeToBuffer(), + $0.DeleteInstructionDocumentResponse.fromBuffer); static final _$suggestID = $grpc.ClientMethod<$0.SuggestSiteIDRequest, $0.SuggestSiteIDResult>( '/api.SiteService/SuggestID', ($0.SuggestSiteIDRequest value) => value.writeToBuffer(), @@ -196,6 +212,20 @@ abstract class SiteServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.DeleteSiteRequest.fromBuffer(value), ($0.DeleteSiteResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.UploadInstructionDocumentRequest, $0.UploadInstructionDocumentResponse>( + 'UploadInstructionDocument', + uploadInstructionDocument_Pre, + false, + false, + ($core.List<$core.int> value) => $0.UploadInstructionDocumentRequest.fromBuffer(value), + ($0.UploadInstructionDocumentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DeleteInstructionDocumentRequest, $0.DeleteInstructionDocumentResponse>( + 'DeleteInstructionDocument', + deleteInstructionDocument_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DeleteInstructionDocumentRequest.fromBuffer(value), + ($0.DeleteInstructionDocumentResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.SuggestSiteIDRequest, $0.SuggestSiteIDResult>( 'SuggestID', suggestID_Pre, @@ -298,6 +328,18 @@ abstract class SiteServiceBase extends $grpc.Service { $async.Future<$0.DeleteSiteResponse> delete($grpc.ServiceCall call, $0.DeleteSiteRequest request); + $async.Future<$0.UploadInstructionDocumentResponse> uploadInstructionDocument_Pre($grpc.ServiceCall $call, $async.Future<$0.UploadInstructionDocumentRequest> $request) async { + return uploadInstructionDocument($call, await $request); + } + + $async.Future<$0.UploadInstructionDocumentResponse> uploadInstructionDocument($grpc.ServiceCall call, $0.UploadInstructionDocumentRequest request); + + $async.Future<$0.DeleteInstructionDocumentResponse> deleteInstructionDocument_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteInstructionDocumentRequest> $request) async { + return deleteInstructionDocument($call, await $request); + } + + $async.Future<$0.DeleteInstructionDocumentResponse> deleteInstructionDocument($grpc.ServiceCall call, $0.DeleteInstructionDocumentRequest request); + $async.Future<$0.SuggestSiteIDResult> suggestID_Pre($grpc.ServiceCall $call, $async.Future<$0.SuggestSiteIDRequest> $request) async { return suggestID($call, await $request); } diff --git a/lib/site.pbjson.dart b/lib/site.pbjson.dart index 80a9de10..37cfb571 100644 --- a/lib/site.pbjson.dart +++ b/lib/site.pbjson.dart @@ -206,7 +206,6 @@ const UpdateSiteRequest$json = { {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestSiteHeader', '8': {}, '10': 'Header'}, {'1': 'Name', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Name'}, {'1': 'Active', '3': 4, '4': 1, '5': 8, '10': 'Active'}, - {'1': 'PhotoURI', '3': 5, '4': 1, '5': 9, '10': 'PhotoURI'}, {'1': 'Address', '3': 6, '4': 1, '5': 11, '6': '.api.Address', '10': 'Address'}, {'1': 'Phones', '3': 7, '4': 3, '5': 9, '8': {}, '10': 'Phones'}, {'1': 'Fax', '3': 8, '4': 1, '5': 9, '8': {}, '10': 'Fax'}, @@ -217,7 +216,6 @@ const UpdateSiteRequest$json = { {'1': 'DurationRules', '3': 13, '4': 3, '5': 11, '6': '.api.DurationRule', '10': 'DurationRules'}, {'1': 'CapacityRules', '3': 14, '4': 3, '5': 11, '6': '.api.CapacityRule', '10': 'CapacityRules'}, {'1': 'Instruction', '3': 15, '4': 1, '5': 11, '6': '.api.Instruction', '10': 'Instruction'}, - {'1': 'InstructionDocuments', '3': 16, '4': 3, '5': 11, '6': '.api.Document', '10': 'InstructionDocuments'}, {'1': 'CarrierInformation', '3': 17, '4': 3, '5': 11, '6': '.api.CarrierInformation', '10': 'CarrierInformation'}, {'1': 'RoundedPeriodInMinutes', '3': 18, '4': 1, '5': 13, '8': {}, '10': 'RoundedPeriodInMinutes'}, {'1': 'TimeZone', '3': 19, '4': 1, '5': 9, '8': {}, '10': 'TimeZone'}, @@ -231,29 +229,28 @@ const UpdateSiteRequest$json = { final $typed_data.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m9uZRJcCgZFbWFpbHMYFCADKAlCRJJBMkowWyJKb2huLmRv' + 'ZUByZWZsZXguY29tIiwgIndpbGwuc21pdGhAcmVmbGV4LmNvbSJd+kIMkgEJIgdyBWAB8AEBUg' + 'ZFbWFpbHMSvwEKGkRlZmF1bHRTaXRlTGFuZ3VhZ2VJU082MzkxGBUgASgJQn+SQXAyaDxhIGhy' + 'ZWY9J2h0dHBzOi8vZW4ud2lraXBlZGlhLm9yZy93aWtpL0xpc3Rfb2ZfSVNPXzYzOV9sYW5ndW' + 'FnZV9jb2Rlcyc+SVNPIDYzOSBjb2RlPC9hPiBtZXNzYWdlIGxhbmd1YWdlSgQiZW4i+kIJcgcQ' + 'AhgDgAIBUhpEZWZhdWx0U2l0ZUxhbmd1YWdlSVNPNjM5MToTkkEQCg7SAQZIZWFkZXLSAQJJRA' + '=='); @$core.Deprecated('Use updateSiteResponseDescriptor instead') const UpdateSiteResponse$json = { @@ -297,6 +294,73 @@ final $typed_data.Uint8List deleteSiteResponseDescriptor = $convert.base64Decode 'ChJEZWxldGVTaXRlUmVzcG9uc2USSgoRV29ya2Zsb3dFeGVjdXRpb24YASABKAsyHC5hcGkuV2' '9ya2Zsb3dFeGVjdXRpb25SZXN1bHRSEVdvcmtmbG93RXhlY3V0aW9u'); +@$core.Deprecated('Use uploadInstructionDocumentRequestDescriptor instead') +const UploadInstructionDocumentRequest$json = { + '1': 'UploadInstructionDocumentRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestSiteHeader', '8': {}, '10': 'Header'}, + {'1': 'File', '3': 2, '4': 1, '5': 11, '6': '.api.FileDataRequest', '8': {}, '10': 'File'}, + {'1': 'DocID', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'DocID'}, + {'1': 'LanguageCodeISO6391', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'LanguageCodeISO6391'}, + {'1': 'Name', '3': 5, '4': 1, '5': 9, '10': 'Name'}, + {'1': 'AckRequired', '3': 6, '4': 1, '5': 8, '10': 'AckRequired'}, + ], + '7': {}, +}; + +/// Descriptor for `UploadInstructionDocumentRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List uploadInstructionDocumentRequestDescriptor = $convert.base64Decode( + 'CiBVcGxvYWRJbnN0cnVjdGlvbkRvY3VtZW50UmVxdWVzdBI4CgZIZWFkZXIYASABKAsyFi5hcG' + 'kuUmVxdWVzdFNpdGVIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISMgoERmlsZRgCIAEoCzIULmFw' + 'aS5GaWxlRGF0YVJlcXVlc3RCCPpCBYoBAhABUgRGaWxlEh0KBURvY0lEGAMgASgJQgf6QgRyAh' + 'ABUgVEb2NJRBKxAQoTTGFuZ3VhZ2VDb2RlSVNPNjM5MRgEIAEoCUJ/kkFwMmg8YSBocmVmPSdo' + 'dHRwczovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9MaXN0X29mX0lTT182MzlfbGFuZ3VhZ2VfY2' + '9kZXMnPklTTyA2MzkgY29kZTwvYT4gbWVzc2FnZSBsYW5ndWFnZUoEImVuIvpCCXIHEAIYA4AC' + 'AVITTGFuZ3VhZ2VDb2RlSVNPNjM5MRISCgROYW1lGAUgASgJUgROYW1lEiAKC0Fja1JlcXVpcm' + 'VkGAYgASgIUgtBY2tSZXF1aXJlZDozkkEwCi7SAQZIZWFkZXLSAQRGaWxl0gEFRG9jSUTSARNM' + 'YW5ndWFnZUNvZGVJU082Mzkx'); + +@$core.Deprecated('Use uploadInstructionDocumentResponseDescriptor instead') +const UploadInstructionDocumentResponse$json = { + '1': 'UploadInstructionDocumentResponse', + '2': [ + {'1': 'URI', '3': 1, '4': 1, '5': 9, '10': 'URI'}, + ], +}; + +/// Descriptor for `UploadInstructionDocumentResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List uploadInstructionDocumentResponseDescriptor = $convert.base64Decode( + 'CiFVcGxvYWRJbnN0cnVjdGlvbkRvY3VtZW50UmVzcG9uc2USEAoDVVJJGAEgASgJUgNVUkk='); + +@$core.Deprecated('Use deleteInstructionDocumentRequestDescriptor instead') +const DeleteInstructionDocumentRequest$json = { + '1': 'DeleteInstructionDocumentRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestSiteHeader', '8': {}, '10': 'Header'}, + {'1': 'DocID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'DocID'}, + {'1': 'LanguageCodeISO6391', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'LanguageCodeISO6391'}, + ], + '7': {}, +}; + +/// Descriptor for `DeleteInstructionDocumentRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteInstructionDocumentRequestDescriptor = $convert.base64Decode( + 'CiBEZWxldGVJbnN0cnVjdGlvbkRvY3VtZW50UmVxdWVzdBI4CgZIZWFkZXIYASABKAsyFi5hcG' + 'kuUmVxdWVzdFNpdGVIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISHQoFRG9jSUQYAiABKAlCB/pC' + 'BHICEAFSBURvY0lEEq8BChNMYW5ndWFnZUNvZGVJU082MzkxGAMgASgJQn2SQXAyaDxhIGhyZW' + 'Y9J2h0dHBzOi8vZW4ud2lraXBlZGlhLm9yZy93aWtpL0xpc3Rfb2ZfSVNPXzYzOV9sYW5ndWFn' + 'ZV9jb2Rlcyc+SVNPIDYzOSBjb2RlPC9hPiBtZXNzYWdlIGxhbmd1YWdlSgQiZW4i+kIHcgUYA4' + 'ACAVITTGFuZ3VhZ2VDb2RlSVNPNjM5MToWkkETChHSAQZIZWFkZXLSAQVEb2NJRA=='); + +@$core.Deprecated('Use deleteInstructionDocumentResponseDescriptor instead') +const DeleteInstructionDocumentResponse$json = { + '1': 'DeleteInstructionDocumentResponse', +}; + +/// Descriptor for `DeleteInstructionDocumentResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteInstructionDocumentResponseDescriptor = $convert.base64Decode( + 'CiFEZWxldGVJbnN0cnVjdGlvbkRvY3VtZW50UmVzcG9uc2U='); + @$core.Deprecated('Use suggestSiteIDRequestDescriptor instead') const SuggestSiteIDRequest$json = { '1': 'SuggestSiteIDRequest', diff --git a/pubspec.yaml b/pubspec.yaml index 2283d611..2b2baca8 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.11.0-SNAPSHOT-250710072630 +version: 1.11.0-SNAPSHOT-250710134351 homepage: '' publish_to: '' repository: ''