From ddb26e6aeafa0ee82a32dea39c14fdd4c9c58c04 Mon Sep 17 00:00:00 2001 From: ci core model Date: Mon, 20 Jul 2026 12:38:27 +0000 Subject: [PATCH] Release 1.14.3 --- CHANGELOG.md | 2 +- lib/shared.pbenum.dart | 4 +- lib/shared.pbjson.dart | 4 +- lib/site.pb.dart | 237 +++++++++++++++++++++++++++++++++++++++ lib/site.pbjson.dart | 71 ++++++++++++ lib/workflow.pb.dart | 130 --------------------- lib/workflow.pbgrpc.dart | 21 ---- lib/workflow.pbjson.dart | 32 ------ pubspec.yaml | 2 +- 9 files changed, 312 insertions(+), 191 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2c3a4d1..d56310c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.15.0-SNAPSHOT-260720121808 +Lib version: 1.14.3 diff --git a/lib/shared.pbenum.dart b/lib/shared.pbenum.dart index d081ed10..79e3f475 100644 --- a/lib/shared.pbenum.dart +++ b/lib/shared.pbenum.dart @@ -123,7 +123,6 @@ class WorkflowTypeEnum extends $pb.ProtobufEnum { static const WorkflowTypeEnum DELETE_CLICKHOUSE = WorkflowTypeEnum._(30, _omitEnumNames ? '' : 'DELETE_CLICKHOUSE'); static const WorkflowTypeEnum CLEAN_CASSANDRA = WorkflowTypeEnum._(31, _omitEnumNames ? '' : 'CLEAN_CASSANDRA'); static const WorkflowTypeEnum SYNCHRONIZE_UMA_STORE = WorkflowTypeEnum._(32, _omitEnumNames ? '' : 'SYNCHRONIZE_UMA_STORE'); - static const WorkflowTypeEnum SEND_INPUT_EVENT = WorkflowTypeEnum._(33, _omitEnumNames ? '' : 'SEND_INPUT_EVENT'); static const $core.List values = [ CREATE_PROJECT, @@ -150,10 +149,9 @@ class WorkflowTypeEnum extends $pb.ProtobufEnum { DELETE_CLICKHOUSE, CLEAN_CASSANDRA, SYNCHRONIZE_UMA_STORE, - SEND_INPUT_EVENT, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 33); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 32); static WorkflowTypeEnum? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const WorkflowTypeEnum._(super.value, super.name); diff --git a/lib/shared.pbjson.dart b/lib/shared.pbjson.dart index 1f4b8b5b..0831929e 100644 --- a/lib/shared.pbjson.dart +++ b/lib/shared.pbjson.dart @@ -103,7 +103,6 @@ const WorkflowTypeEnum$json = { {'1': 'DELETE_CLICKHOUSE', '2': 30}, {'1': 'CLEAN_CASSANDRA', '2': 31}, {'1': 'SYNCHRONIZE_UMA_STORE', '2': 32}, - {'1': 'SEND_INPUT_EVENT', '2': 33}, ], }; @@ -118,8 +117,7 @@ final $typed_data.Uint8List workflowTypeEnumDescriptor = $convert.base64Decode( 'REFURV9NQVRFUklBTElaRURfVklFVxAWEg4KClBSVU5FX0RBVEEQFxIhCh1DSEVDS19BTkRfTE' 'FVTkNIX1JFQ09WRVJfREFUQRAYEhIKDkFOT05ZTUlaRV9EQVRBEBoSEQoNVVBHUkFERV9NT0RF' 'TBAbEgkKBVNXRUVQEBwSFQoRQ1JFQVRFX0NMSUNLSE9VU0UQHRIVChFERUxFVEVfQ0xJQ0tIT1' - 'VTRRAeEhMKD0NMRUFOX0NBU1NBTkRSQRAfEhkKFVNZTkNIUk9OSVpFX1VNQV9TVE9SRRAgEhQK' - 'EFNFTkRfSU5QVVRfRVZFTlQQIQ=='); + 'VTRRAeEhMKD0NMRUFOX0NBU1NBTkRSQRAfEhkKFVNZTkNIUk9OSVpFX1VNQV9TVE9SRRAg'); @$core.Deprecated('Use moduleWorkflowTypeEnumDescriptor instead') const ModuleWorkflowTypeEnum$json = { diff --git a/lib/site.pb.dart b/lib/site.pb.dart index 18155088..d43ae1c9 100644 --- a/lib/site.pb.dart +++ b/lib/site.pb.dart @@ -12,6 +12,7 @@ import 'dart:core' as $core; +import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; import 'metadatadef.pb.dart' as $4; @@ -1429,6 +1430,242 @@ class DeleteInstructionDocumentResponse extends $pb.GeneratedMessage { static DeleteInstructionDocumentResponse? _defaultInstance; } +/// GetAvailableSlots +class GetAvailableSlotsRequest extends $pb.GeneratedMessage { + factory GetAvailableSlotsRequest({ + $3.RequestProjectHeader? header, + $3.AppointmentType? appointmentType, + $core.Iterable<$2.Commission>? commissions, + $core.Iterable<$2.SegmentationSelection>? segmentationSelections, + $core.String? startDate, + $core.String? endDate, + $core.Iterable<$core.String>? skippedAppointmentIDs, + $core.String? actorID, + $core.Iterable<$3.MetadataElement>? carrierInformation, + $core.Iterable<$3.MetadataElement>? metaData, + }) { + 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 (startDate != null) result.startDate = startDate; + if (endDate != null) result.endDate = endDate; + if (skippedAppointmentIDs != null) result.skippedAppointmentIDs.addAll(skippedAppointmentIDs); + if (actorID != null) result.actorID = actorID; + if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation); + if (metaData != null) result.metaData.addAll(metaData); + return result; + } + + GetAvailableSlotsRequest._(); + + factory GetAvailableSlotsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetAvailableSlotsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create) + ..e<$3.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $3.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $3.AppointmentType.valueOf, enumValues: $3.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) + ..aOS(5, _omitFieldNames ? '' : 'StartDate', protoName: 'StartDate') + ..aOS(6, _omitFieldNames ? '' : 'EndDate', protoName: 'EndDate') + ..pPS(7, _omitFieldNames ? '' : 'SkippedAppointmentIDs', protoName: 'SkippedAppointmentIDs') + ..aOS(8, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID') + ..pc<$3.MetadataElement>(9, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $3.MetadataElement.create) + ..pc<$3.MetadataElement>(10, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetAvailableSlotsRequest clone() => GetAvailableSlotsRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetAvailableSlotsRequest copyWith(void Function(GetAvailableSlotsRequest) updates) => super.copyWith((message) => updates(message as GetAvailableSlotsRequest)) as GetAvailableSlotsRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetAvailableSlotsRequest create() => GetAvailableSlotsRequest._(); + @$core.override + GetAvailableSlotsRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetAvailableSlotsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetAvailableSlotsRequest? _defaultInstance; + + @$pb.TagNumber(1) + $3.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($3.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $3.RequestProjectHeader ensureHeader() => $_ensure(0); + + /// Type of appointment : Loading / Unloading / Both + @$pb.TagNumber(2) + $3.AppointmentType get appointmentType => $_getN(1); + @$pb.TagNumber(2) + set appointmentType($3.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); + + @$pb.TagNumber(5) + $core.String get startDate => $_getSZ(4); + @$pb.TagNumber(5) + set startDate($core.String value) => $_setString(4, value); + @$pb.TagNumber(5) + $core.bool hasStartDate() => $_has(4); + @$pb.TagNumber(5) + void clearStartDate() => $_clearField(5); + + @$pb.TagNumber(6) + $core.String get endDate => $_getSZ(5); + @$pb.TagNumber(6) + set endDate($core.String value) => $_setString(5, value); + @$pb.TagNumber(6) + $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); + + @$pb.TagNumber(8) + $core.String get actorID => $_getSZ(7); + @$pb.TagNumber(8) + set actorID($core.String value) => $_setString(7, value); + @$pb.TagNumber(8) + $core.bool hasActorID() => $_has(7); + @$pb.TagNumber(8) + void clearActorID() => $_clearField(8); + + /// Carrier information metadata + @$pb.TagNumber(9) + $pb.PbList<$3.MetadataElement> get carrierInformation => $_getList(8); + + @$pb.TagNumber(10) + $pb.PbList<$3.MetadataElement> get metaData => $_getList(9); +} + +class GetAvailableSlotsResponse extends $pb.GeneratedMessage { + factory GetAvailableSlotsResponse({ + $core.Iterable<$2.SlotGroup>? slotGroups, + $fixnum.Int64? estimatedNeededDurationInMinutes, + }) { + final result = create(); + if (slotGroups != null) result.slotGroups.addAll(slotGroups); + if (estimatedNeededDurationInMinutes != null) result.estimatedNeededDurationInMinutes = estimatedNeededDurationInMinutes; + return result; + } + + GetAvailableSlotsResponse._(); + + factory GetAvailableSlotsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetAvailableSlotsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pc<$2.SlotGroup>(1, _omitFieldNames ? '' : 'SlotGroups', $pb.PbFieldType.PM, protoName: 'SlotGroups', subBuilder: $2.SlotGroup.create) + ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'EstimatedNeededDurationInMinutes', $pb.PbFieldType.OU6, protoName: 'EstimatedNeededDurationInMinutes', defaultOrMaker: $fixnum.Int64.ZERO) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetAvailableSlotsResponse clone() => GetAvailableSlotsResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetAvailableSlotsResponse copyWith(void Function(GetAvailableSlotsResponse) updates) => super.copyWith((message) => updates(message as GetAvailableSlotsResponse)) as GetAvailableSlotsResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetAvailableSlotsResponse create() => GetAvailableSlotsResponse._(); + @$core.override + GetAvailableSlotsResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetAvailableSlotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetAvailableSlotsResponse? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList<$2.SlotGroup> get slotGroups => $_getList(0); + + @$pb.TagNumber(2) + $fixnum.Int64 get estimatedNeededDurationInMinutes => $_getI64(1); + @$pb.TagNumber(2) + set estimatedNeededDurationInMinutes($fixnum.Int64 value) => $_setInt64(1, value); + @$pb.TagNumber(2) + $core.bool hasEstimatedNeededDurationInMinutes() => $_has(1); + @$pb.TagNumber(2) + void clearEstimatedNeededDurationInMinutes() => $_clearField(2); +} + +class GetAllSlotsResponse extends $pb.GeneratedMessage { + factory GetAllSlotsResponse({ + $core.Iterable<$2.SlotGroupAndReason>? slotGroupAndReasons, + $fixnum.Int64? estimatedNeededDurationInMinutes, + }) { + final result = create(); + if (slotGroupAndReasons != null) result.slotGroupAndReasons.addAll(slotGroupAndReasons); + if (estimatedNeededDurationInMinutes != null) result.estimatedNeededDurationInMinutes = estimatedNeededDurationInMinutes; + return result; + } + + GetAllSlotsResponse._(); + + factory GetAllSlotsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetAllSlotsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pc<$2.SlotGroupAndReason>(1, _omitFieldNames ? '' : 'SlotGroupAndReasons', $pb.PbFieldType.PM, protoName: 'SlotGroupAndReasons', subBuilder: $2.SlotGroupAndReason.create) + ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'EstimatedNeededDurationInMinutes', $pb.PbFieldType.OU6, protoName: 'EstimatedNeededDurationInMinutes', defaultOrMaker: $fixnum.Int64.ZERO) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetAllSlotsResponse clone() => GetAllSlotsResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetAllSlotsResponse copyWith(void Function(GetAllSlotsResponse) updates) => super.copyWith((message) => updates(message as GetAllSlotsResponse)) as GetAllSlotsResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetAllSlotsResponse create() => GetAllSlotsResponse._(); + @$core.override + GetAllSlotsResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetAllSlotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetAllSlotsResponse? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList<$2.SlotGroupAndReason> get slotGroupAndReasons => $_getList(0); + + @$pb.TagNumber(2) + $fixnum.Int64 get estimatedNeededDurationInMinutes => $_getI64(1); + @$pb.TagNumber(2) + set estimatedNeededDurationInMinutes($fixnum.Int64 value) => $_setInt64(1, value); + @$pb.TagNumber(2) + $core.bool hasEstimatedNeededDurationInMinutes() => $_has(1); + @$pb.TagNumber(2) + void clearEstimatedNeededDurationInMinutes() => $_clearField(2); +} + /// CheckAppointmentCommission class CheckAppointmentCommissionRequest extends $pb.GeneratedMessage { factory CheckAppointmentCommissionRequest({ diff --git a/lib/site.pbjson.dart b/lib/site.pbjson.dart index e7771a2f..a941ac5d 100644 --- a/lib/site.pbjson.dart +++ b/lib/site.pbjson.dart @@ -376,6 +376,77 @@ const DeleteInstructionDocumentResponse$json = { final $typed_data.Uint8List deleteInstructionDocumentResponseDescriptor = $convert.base64Decode( 'CiFEZWxldGVJbnN0cnVjdGlvbkRvY3VtZW50UmVzcG9uc2U='); +@$core.Deprecated('Use getAvailableSlotsRequestDescriptor instead') +const GetAvailableSlotsRequest$json = { + '1': 'GetAvailableSlotsRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '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': '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'}, + {'1': 'ActorID', '3': 8, '4': 1, '5': 9, '10': 'ActorID'}, + {'1': 'CarrierInformation', '3': 9, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'CarrierInformation'}, + {'1': 'MetaData', '3': 10, '4': 3, '5': 11, '6': '.api.MetadataElement', '8': {}, '10': 'MetaData'}, + ], + '7': {}, +}; + +/// Descriptor for `GetAvailableSlotsRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getAvailableSlotsRequestDescriptor = $convert.base64Decode( + 'ChhHZXRBdmFpbGFibGVTbG90c1JlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3' + 'RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchJJCg9BcHBvaW50bWVudFR5cGUYAiAB' + 'KA4yFC5hcGkuQXBwb2ludG1lbnRUeXBlQgm6gQEFggECEAFSD0FwcG9pbnRtZW50VHlwZRIxCg' + 'tDb21taXNzaW9ucxgDIAMoCzIPLmFwaS5Db21taXNzaW9uUgtDb21taXNzaW9ucxJSChZTZWdt' + 'ZW50YXRpb25TZWxlY3Rpb25zGAQgAygLMhouYXBpLlNlZ21lbnRhdGlvblNlbGVjdGlvblIWU2' + 'VnbWVudGF0aW9uU2VsZWN0aW9ucxKWAQoJU3RhcnREYXRlGAUgASgJQniSQTiKATVeMjBbMC05' + 'XXsyfS0oMFsxLTldfDFbMC0yXSktKDBbMS05XXxbMTJdWzAtOV18M1swMV0pJLqBATlyNzI1Xj' + 'IwWzAtOV17Mn0tKDBbMS05XXwxWzAtMl0pLSgwWzEtOV18WzEyXVswLTldfDNbMDFdKSRSCVN0' + 'YXJ0RGF0ZRKSAQoHRW5kRGF0ZRgGIAEoCUJ4kkE4igE1XjIwWzAtOV17Mn0tKDBbMS05XXwxWz' + 'AtMl0pLSgwWzEtOV18WzEyXVswLTldfDNbMDFdKSS6gQE5cjcyNV4yMFswLTldezJ9LSgwWzEt' + 'OV18MVswLTJdKS0oMFsxLTldfFsxMl1bMC05XXwzWzAxXSkkUgdFbmREYXRlEjQKFVNraXBwZW' + 'RBcHBvaW50bWVudElEcxgHIAMoCVIVU2tpcHBlZEFwcG9pbnRtZW50SURzEhgKB0FjdG9ySUQY' + 'CCABKAlSB0FjdG9ySUQScgoSQ2FycmllckluZm9ybWF0aW9uGAkgAygLMhQuYXBpLk1ldGFkYX' + 'RhRWxlbWVudEIskkEeMhxDYXJyaWVyIGluZm9ybWF0aW9uIG1ldGFkYXRhwMEYAerBGANLZXlS' + 'EkNhcnJpZXJJbmZvcm1hdGlvbhLHAQoITWV0YURhdGEYCiADKAsyFC5hcGkuTWV0YWRhdGFFbG' + 'VtZW50QpQBkkGFATKCAU1ldGFkYXRhIGFyZSBjaGFyYWN0ZXJpc3RpY3Mgc3BlY2lmaWMgdG8g' + 'dGhlIHNpdGUuIFRoZXkgY2FuIGJlIG9mIHNldmVyYWwgZGF0YSBmb3JtIChzdHJpbmcsIGludG' + 'VnZXIsIGZsb2F0LCBib29sZWFuIG9yIHRpbWVzdGFtcCnAwRgB6sEYA0tleVIITWV0YURhdGE6' + 'MJJBLQor0gEGSGVhZGVy0gEVU2VnbWVudGF0aW9uU2VsZWN0aW9u0gEHQWN0b3JJRA=='); + +@$core.Deprecated('Use getAvailableSlotsResponseDescriptor instead') +const GetAvailableSlotsResponse$json = { + '1': 'GetAvailableSlotsResponse', + '2': [ + {'1': 'SlotGroups', '3': 1, '4': 3, '5': 11, '6': '.api.SlotGroup', '10': 'SlotGroups'}, + {'1': 'EstimatedNeededDurationInMinutes', '3': 2, '4': 1, '5': 4, '10': 'EstimatedNeededDurationInMinutes'}, + ], +}; + +/// Descriptor for `GetAvailableSlotsResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getAvailableSlotsResponseDescriptor = $convert.base64Decode( + 'ChlHZXRBdmFpbGFibGVTbG90c1Jlc3BvbnNlEi4KClNsb3RHcm91cHMYASADKAsyDi5hcGkuU2' + 'xvdEdyb3VwUgpTbG90R3JvdXBzEkoKIEVzdGltYXRlZE5lZWRlZER1cmF0aW9uSW5NaW51dGVz' + 'GAIgASgEUiBFc3RpbWF0ZWROZWVkZWREdXJhdGlvbkluTWludXRlcw=='); + +@$core.Deprecated('Use getAllSlotsResponseDescriptor instead') +const GetAllSlotsResponse$json = { + '1': 'GetAllSlotsResponse', + '2': [ + {'1': 'SlotGroupAndReasons', '3': 1, '4': 3, '5': 11, '6': '.api.SlotGroupAndReason', '10': 'SlotGroupAndReasons'}, + {'1': 'EstimatedNeededDurationInMinutes', '3': 2, '4': 1, '5': 4, '10': 'EstimatedNeededDurationInMinutes'}, + ], +}; + +/// Descriptor for `GetAllSlotsResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getAllSlotsResponseDescriptor = $convert.base64Decode( + 'ChNHZXRBbGxTbG90c1Jlc3BvbnNlEkkKE1Nsb3RHcm91cEFuZFJlYXNvbnMYASADKAsyFy5hcG' + 'kuU2xvdEdyb3VwQW5kUmVhc29uUhNTbG90R3JvdXBBbmRSZWFzb25zEkoKIEVzdGltYXRlZE5l' + 'ZWRlZER1cmF0aW9uSW5NaW51dGVzGAIgASgEUiBFc3RpbWF0ZWROZWVkZWREdXJhdGlvbkluTW' + 'ludXRlcw=='); + @$core.Deprecated('Use checkAppointmentCommissionRequestDescriptor instead') const CheckAppointmentCommissionRequest$json = { '1': 'CheckAppointmentCommissionRequest', diff --git a/lib/workflow.pb.dart b/lib/workflow.pb.dart index 8effaeb4..a3ae6b20 100644 --- a/lib/workflow.pb.dart +++ b/lib/workflow.pb.dart @@ -3514,136 +3514,6 @@ class StartWorkflowUpgradeModelResult extends $pb.GeneratedMessage { $1.WorkflowExecutionResult ensureWorkflowExecution() => $_ensure(0); } -class StartWorkflowSendInputEventRequest extends $pb.GeneratedMessage { - factory StartWorkflowSendInputEventRequest({ - $core.String? organisationID, - $core.String? projectID, - $1.EntityType? entity, - $core.String? eventName, - }) { - final result = create(); - if (organisationID != null) result.organisationID = organisationID; - if (projectID != null) result.projectID = projectID; - if (entity != null) result.entity = entity; - if (eventName != null) result.eventName = eventName; - return result; - } - - StartWorkflowSendInputEventRequest._(); - - factory StartWorkflowSendInputEventRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory StartWorkflowSendInputEventRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartWorkflowSendInputEventRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'OrganisationID', protoName: 'OrganisationID') - ..aOS(2, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') - ..e<$1.EntityType>(3, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values) - ..aOS(4, _omitFieldNames ? '' : 'EventName', protoName: 'EventName') - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - StartWorkflowSendInputEventRequest clone() => StartWorkflowSendInputEventRequest()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - StartWorkflowSendInputEventRequest copyWith(void Function(StartWorkflowSendInputEventRequest) updates) => super.copyWith((message) => updates(message as StartWorkflowSendInputEventRequest)) as StartWorkflowSendInputEventRequest; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StartWorkflowSendInputEventRequest create() => StartWorkflowSendInputEventRequest._(); - @$core.override - StartWorkflowSendInputEventRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StartWorkflowSendInputEventRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StartWorkflowSendInputEventRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organisationID => $_getSZ(0); - @$pb.TagNumber(1) - set organisationID($core.String value) => $_setString(0, value); - @$pb.TagNumber(1) - $core.bool hasOrganisationID() => $_has(0); - @$pb.TagNumber(1) - void clearOrganisationID() => $_clearField(1); - - @$pb.TagNumber(2) - $core.String get projectID => $_getSZ(1); - @$pb.TagNumber(2) - set projectID($core.String value) => $_setString(1, value); - @$pb.TagNumber(2) - $core.bool hasProjectID() => $_has(1); - @$pb.TagNumber(2) - void clearProjectID() => $_clearField(2); - - @$pb.TagNumber(3) - $1.EntityType get entity => $_getN(2); - @$pb.TagNumber(3) - set entity($1.EntityType value) => $_setField(3, value); - @$pb.TagNumber(3) - $core.bool hasEntity() => $_has(2); - @$pb.TagNumber(3) - void clearEntity() => $_clearField(3); - - @$pb.TagNumber(4) - $core.String get eventName => $_getSZ(3); - @$pb.TagNumber(4) - set eventName($core.String value) => $_setString(3, value); - @$pb.TagNumber(4) - $core.bool hasEventName() => $_has(3); - @$pb.TagNumber(4) - void clearEventName() => $_clearField(4); -} - -class StartWorkflowSendInputEventResult extends $pb.GeneratedMessage { - factory StartWorkflowSendInputEventResult({ - $1.WorkflowExecutionResult? workflowExecution, - }) { - final result = create(); - if (workflowExecution != null) result.workflowExecution = workflowExecution; - return result; - } - - StartWorkflowSendInputEventResult._(); - - factory StartWorkflowSendInputEventResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory StartWorkflowSendInputEventResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartWorkflowSendInputEventResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$1.WorkflowExecutionResult>(1, _omitFieldNames ? '' : 'WorkflowExecution', protoName: 'WorkflowExecution', subBuilder: $1.WorkflowExecutionResult.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - StartWorkflowSendInputEventResult clone() => StartWorkflowSendInputEventResult()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - StartWorkflowSendInputEventResult copyWith(void Function(StartWorkflowSendInputEventResult) updates) => super.copyWith((message) => updates(message as StartWorkflowSendInputEventResult)) as StartWorkflowSendInputEventResult; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StartWorkflowSendInputEventResult create() => StartWorkflowSendInputEventResult._(); - @$core.override - StartWorkflowSendInputEventResult createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StartWorkflowSendInputEventResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StartWorkflowSendInputEventResult? _defaultInstance; - - @$pb.TagNumber(1) - $1.WorkflowExecutionResult get workflowExecution => $_getN(0); - @$pb.TagNumber(1) - set workflowExecution($1.WorkflowExecutionResult value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasWorkflowExecution() => $_has(0); - @$pb.TagNumber(1) - void clearWorkflowExecution() => $_clearField(1); - @$pb.TagNumber(1) - $1.WorkflowExecutionResult ensureWorkflowExecution() => $_ensure(0); -} - class StartWorkflowSweepRequest extends $pb.GeneratedMessage { factory StartWorkflowSweepRequest({ $core.bool? dryRun, diff --git a/lib/workflow.pbgrpc.dart b/lib/workflow.pbgrpc.dart index 5d87ba67..6e5e5788 100644 --- a/lib/workflow.pbgrpc.dart +++ b/lib/workflow.pbgrpc.dart @@ -164,10 +164,6 @@ class WorkflowServiceClient extends $grpc.Client { return $createUnaryCall(_$startWorkflowSynchronizeUMAStore, request, options: options); } - $grpc.ResponseFuture<$0.StartWorkflowSendInputEventResult> startWorkflowSendInputEvent($0.StartWorkflowSendInputEventRequest request, {$grpc.CallOptions? options,}) { - return $createUnaryCall(_$startWorkflowSendInputEvent, request, options: options); - } - // method descriptors static final _$retryWorkflow = $grpc.ClientMethod<$0.RetryWorkflowRequest, $0.RetryWorkflowResult>( @@ -302,10 +298,6 @@ class WorkflowServiceClient extends $grpc.Client { '/api.WorkflowService/StartWorkflowSynchronizeUMAStore', ($0.StartWorkflowSynchronizeUMAStoreRequest value) => value.writeToBuffer(), $0.StartWorkflowSynchronizeUMAStoreResult.fromBuffer); - static final _$startWorkflowSendInputEvent = $grpc.ClientMethod<$0.StartWorkflowSendInputEventRequest, $0.StartWorkflowSendInputEventResult>( - '/api.WorkflowService/StartWorkflowSendInputEvent', - ($0.StartWorkflowSendInputEventRequest value) => value.writeToBuffer(), - $0.StartWorkflowSendInputEventResult.fromBuffer); } @$pb.GrpcServiceName('api.WorkflowService') @@ -544,13 +536,6 @@ abstract class WorkflowServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.StartWorkflowSynchronizeUMAStoreRequest.fromBuffer(value), ($0.StartWorkflowSynchronizeUMAStoreResult value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.StartWorkflowSendInputEventRequest, $0.StartWorkflowSendInputEventResult>( - 'StartWorkflowSendInputEvent', - startWorkflowSendInputEvent_Pre, - false, - false, - ($core.List<$core.int> value) => $0.StartWorkflowSendInputEventRequest.fromBuffer(value), - ($0.StartWorkflowSendInputEventResult value) => value.writeToBuffer())); } $async.Future<$0.RetryWorkflowResult> retryWorkflow_Pre($grpc.ServiceCall $call, $async.Future<$0.RetryWorkflowRequest> $request) async { @@ -751,10 +736,4 @@ abstract class WorkflowServiceBase extends $grpc.Service { $async.Future<$0.StartWorkflowSynchronizeUMAStoreResult> startWorkflowSynchronizeUMAStore($grpc.ServiceCall call, $0.StartWorkflowSynchronizeUMAStoreRequest request); - $async.Future<$0.StartWorkflowSendInputEventResult> startWorkflowSendInputEvent_Pre($grpc.ServiceCall $call, $async.Future<$0.StartWorkflowSendInputEventRequest> $request) async { - return startWorkflowSendInputEvent($call, await $request); - } - - $async.Future<$0.StartWorkflowSendInputEventResult> startWorkflowSendInputEvent($grpc.ServiceCall call, $0.StartWorkflowSendInputEventRequest request); - } diff --git a/lib/workflow.pbjson.dart b/lib/workflow.pbjson.dart index 4471ba21..76772497 100644 --- a/lib/workflow.pbjson.dart +++ b/lib/workflow.pbjson.dart @@ -1055,38 +1055,6 @@ final $typed_data.Uint8List startWorkflowUpgradeModelResultDescriptor = $convert 'Ch9TdGFydFdvcmtmbG93VXBncmFkZU1vZGVsUmVzdWx0EkoKEVdvcmtmbG93RXhlY3V0aW9uGA' 'EgASgLMhwuYXBpLldvcmtmbG93RXhlY3V0aW9uUmVzdWx0UhFXb3JrZmxvd0V4ZWN1dGlvbg=='); -@$core.Deprecated('Use startWorkflowSendInputEventRequestDescriptor instead') -const StartWorkflowSendInputEventRequest$json = { - '1': 'StartWorkflowSendInputEventRequest', - '2': [ - {'1': 'OrganisationID', '3': 1, '4': 1, '5': 9, '10': 'OrganisationID'}, - {'1': 'ProjectID', '3': 2, '4': 1, '5': 9, '10': 'ProjectID'}, - {'1': 'Entity', '3': 3, '4': 1, '5': 14, '6': '.api.EntityType', '10': 'Entity'}, - {'1': 'EventName', '3': 4, '4': 1, '5': 9, '10': 'EventName'}, - ], - '7': {}, -}; - -/// Descriptor for `StartWorkflowSendInputEventRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List startWorkflowSendInputEventRequestDescriptor = $convert.base64Decode( - 'CiJTdGFydFdvcmtmbG93U2VuZElucHV0RXZlbnRSZXF1ZXN0EiYKDk9yZ2FuaXNhdGlvbklEGA' - 'EgASgJUg5PcmdhbmlzYXRpb25JRBIcCglQcm9qZWN0SUQYAiABKAlSCVByb2plY3RJRBInCgZF' - 'bnRpdHkYAyABKA4yDy5hcGkuRW50aXR5VHlwZVIGRW50aXR5EhwKCUV2ZW50TmFtZRgEIAEoCV' - 'IJRXZlbnROYW1lOgWSQQIKAA=='); - -@$core.Deprecated('Use startWorkflowSendInputEventResultDescriptor instead') -const StartWorkflowSendInputEventResult$json = { - '1': 'StartWorkflowSendInputEventResult', - '2': [ - {'1': 'WorkflowExecution', '3': 1, '4': 1, '5': 11, '6': '.api.WorkflowExecutionResult', '10': 'WorkflowExecution'}, - ], -}; - -/// Descriptor for `StartWorkflowSendInputEventResult`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List startWorkflowSendInputEventResultDescriptor = $convert.base64Decode( - 'CiFTdGFydFdvcmtmbG93U2VuZElucHV0RXZlbnRSZXN1bHQSSgoRV29ya2Zsb3dFeGVjdXRpb2' - '4YASABKAsyHC5hcGkuV29ya2Zsb3dFeGVjdXRpb25SZXN1bHRSEVdvcmtmbG93RXhlY3V0aW9u'); - @$core.Deprecated('Use startWorkflowSweepRequestDescriptor instead') const StartWorkflowSweepRequest$json = { '1': 'StartWorkflowSweepRequest', diff --git a/pubspec.yaml b/pubspec.yaml index 56c08d18..9ec230de 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.15.0-SNAPSHOT-260720121808 +version: 1.14.3 homepage: '' publish_to: '' repository: ''