Latest generation

This commit is contained in:
ci core model
2026-03-17 13:05:35 +00:00
parent 628dbf127f
commit bde45b1b7b
10 changed files with 55 additions and 19 deletions

View File

@@ -28,14 +28,12 @@ class AliasPropertiesAppointmentScheduling extends $pb.GeneratedMessage {
$1.CommandIdentifierEntry? loadingCommandIdentifierEntry,
$1.CommandIdentifierEntry? unLoadingCommandIdentifierEntry,
$core.String? actorName,
$core.Iterable<$core.String>? restrictionRuleIDs,
}) {
final result = create();
if (aptType != null) result.aptType = aptType;
if (loadingCommandIdentifierEntry != null) result.loadingCommandIdentifierEntry = loadingCommandIdentifierEntry;
if (unLoadingCommandIdentifierEntry != null) result.unLoadingCommandIdentifierEntry = unLoadingCommandIdentifierEntry;
if (actorName != null) result.actorName = actorName;
if (restrictionRuleIDs != null) result.restrictionRuleIDs.addAll(restrictionRuleIDs);
return result;
}
@@ -49,7 +47,6 @@ class AliasPropertiesAppointmentScheduling extends $pb.GeneratedMessage {
..e<$1.CommandIdentifierEntry>(2, _omitFieldNames ? '' : 'LoadingCommandIdentifierEntry', $pb.PbFieldType.OE, protoName: 'LoadingCommandIdentifierEntry', defaultOrMaker: $1.CommandIdentifierEntry.CommandIdentifierEntry_MandatoryExceptForAllowedUsers, valueOf: $1.CommandIdentifierEntry.valueOf, enumValues: $1.CommandIdentifierEntry.values)
..e<$1.CommandIdentifierEntry>(3, _omitFieldNames ? '' : 'UnLoadingCommandIdentifierEntry', $pb.PbFieldType.OE, protoName: 'UnLoadingCommandIdentifierEntry', defaultOrMaker: $1.CommandIdentifierEntry.CommandIdentifierEntry_MandatoryExceptForAllowedUsers, valueOf: $1.CommandIdentifierEntry.valueOf, enumValues: $1.CommandIdentifierEntry.values)
..aOS(4, _omitFieldNames ? '' : 'ActorName', protoName: 'ActorName')
..pPS(5, _omitFieldNames ? '' : 'RestrictionRuleIDs', protoName: 'RestrictionRuleIDs')
..hasRequiredFields = false
;
@@ -108,10 +105,6 @@ class AliasPropertiesAppointmentScheduling extends $pb.GeneratedMessage {
$core.bool hasActorName() => $_has(3);
@$pb.TagNumber(4)
void clearActorName() => $_clearField(4);
/// Restriction rule IDs which will be applied when this alias is used.
@$pb.TagNumber(5)
$pb.PbList<$core.String> get restrictionRuleIDs => $_getList(4);
}
/// Alias represents a named link from one resource to another.

View File

@@ -36,7 +36,6 @@ const AliasPropertiesAppointmentScheduling$json = {
{'1': 'LoadingCommandIdentifierEntry', '3': 2, '4': 1, '5': 14, '6': '.api.CommandIdentifierEntry', '8': {}, '10': 'LoadingCommandIdentifierEntry'},
{'1': 'UnLoadingCommandIdentifierEntry', '3': 3, '4': 1, '5': 14, '6': '.api.CommandIdentifierEntry', '8': {}, '10': 'UnLoadingCommandIdentifierEntry'},
{'1': 'ActorName', '3': 4, '4': 1, '5': 9, '10': 'ActorName'},
{'1': 'RestrictionRuleIDs', '3': 5, '4': 3, '5': 9, '10': 'RestrictionRuleIDs'},
],
};
@@ -48,8 +47,7 @@ final $typed_data.Uint8List aliasPropertiesAppointmentSchedulingDescriptor = $co
'pCBYIBAhABUh1Mb2FkaW5nQ29tbWFuZElkZW50aWZpZXJFbnRyeRJvCh9VbkxvYWRpbmdDb21t'
'YW5kSWRlbnRpZmllckVudHJ5GAMgASgOMhsuYXBpLkNvbW1hbmRJZGVudGlmaWVyRW50cnlCCP'
'pCBYIBAhABUh9VbkxvYWRpbmdDb21tYW5kSWRlbnRpZmllckVudHJ5EhwKCUFjdG9yTmFtZRgE'
'IAEoCVIJQWN0b3JOYW1lEi4KElJlc3RyaWN0aW9uUnVsZUlEcxgFIAMoCVISUmVzdHJpY3Rpb2'
'5SdWxlSURz');
'IAEoCVIJQWN0b3JOYW1l');
@$core.Deprecated('Use aliasDescriptor instead')
const Alias$json = {

View File

@@ -22,6 +22,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
export 'restrictions.pbenum.dart';
/// Restriction represents a named, project-scoped data-access restriction composed of one or more RPL rules.
class Restriction extends $pb.GeneratedMessage {
factory Restriction({
$core.String? iD,
@@ -158,6 +159,7 @@ class Restriction extends $pb.GeneratedMessage {
void clearCreatedAt() => $_clearField(9);
}
/// RestrictionComputeResult holds the computed rule outputs for a single restriction.
class RestrictionComputeResult extends $pb.GeneratedMessage {
factory RestrictionComputeResult({
$core.Iterable<RuleComputeResult>? results,
@@ -222,16 +224,19 @@ class RestrictionComputeResult extends $pb.GeneratedMessage {
void clearRestrictionName() => $_clearField(3);
}
/// RuleComputeResult holds the compiled output of a single rule in a given format.
class RuleComputeResult extends $pb.GeneratedMessage {
factory RuleComputeResult({
RuleComputeFormat? format,
$core.String? value,
$core.String? ruleID,
$core.Iterable<$core.String>? attributes,
}) {
final result = create();
if (format != null) result.format = format;
if (value != null) result.value = value;
if (ruleID != null) result.ruleID = ruleID;
if (attributes != null) result.attributes.addAll(attributes);
return result;
}
@@ -244,6 +249,7 @@ class RuleComputeResult extends $pb.GeneratedMessage {
..e<RuleComputeFormat>(1, _omitFieldNames ? '' : 'Format', $pb.PbFieldType.OE, protoName: 'Format', defaultOrMaker: RuleComputeFormat.RULE_COMPUTE_FORMAT_UNKNOWN, valueOf: RuleComputeFormat.valueOf, enumValues: RuleComputeFormat.values)
..aOS(2, _omitFieldNames ? '' : 'Value', protoName: 'Value')
..aOS(3, _omitFieldNames ? '' : 'RuleID', protoName: 'RuleID')
..pPS(4, _omitFieldNames ? '' : 'Attributes', protoName: 'Attributes')
..hasRequiredFields = false
;
@@ -290,20 +296,26 @@ class RuleComputeResult extends $pb.GeneratedMessage {
$core.bool hasRuleID() => $_has(2);
@$pb.TagNumber(3)
void clearRuleID() => $_clearField(3);
@$pb.TagNumber(4)
$pb.PbList<$core.String> get attributes => $_getList(3);
}
/// RestrictionRule is the input structure used to define a rule within a restriction, before it is persisted as a full Rule.
class RestrictionRule extends $pb.GeneratedMessage {
factory RestrictionRule({
$core.String? name,
$2.EntityType? entity,
$core.String? description,
$core.String? definition,
$core.Iterable<$core.String>? attributes,
}) {
final result = create();
if (name != null) result.name = name;
if (entity != null) result.entity = entity;
if (description != null) result.description = description;
if (definition != null) result.definition = definition;
if (attributes != null) result.attributes.addAll(attributes);
return result;
}
@@ -317,6 +329,7 @@ class RestrictionRule extends $pb.GeneratedMessage {
..e<$2.EntityType>(2, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $2.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $2.EntityType.valueOf, enumValues: $2.EntityType.values)
..aOS(3, _omitFieldNames ? '' : 'Description', protoName: 'Description')
..aOS(4, _omitFieldNames ? '' : 'Definition', protoName: 'Definition')
..pPS(5, _omitFieldNames ? '' : 'Attributes', protoName: 'Attributes')
..hasRequiredFields = false
;
@@ -372,6 +385,9 @@ class RestrictionRule extends $pb.GeneratedMessage {
$core.bool hasDefinition() => $_has(3);
@$pb.TagNumber(4)
void clearDefinition() => $_clearField(4);
@$pb.TagNumber(5)
$pb.PbList<$core.String> get attributes => $_getList(4);
}
/// Create

View File

@@ -14,6 +14,7 @@ import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
/// RestrictionType determines the scope of a restriction's application.
class RestrictionType extends $pb.ProtobufEnum {
static const RestrictionType RESTRICTION_TYPE_UNKNOWN = RestrictionType._(0, _omitEnumNames ? '' : 'RESTRICTION_TYPE_UNKNOWN');
static const RestrictionType RESTRICTION_TYPE_USER = RestrictionType._(1, _omitEnumNames ? '' : 'RESTRICTION_TYPE_USER');
@@ -31,6 +32,7 @@ class RestrictionType extends $pb.ProtobufEnum {
const RestrictionType._(super.value, super.name);
}
/// RuleComputeFormat specifies the query language into which a restriction rule is compiled.
class RuleComputeFormat extends $pb.ProtobufEnum {
static const RuleComputeFormat RULE_COMPUTE_FORMAT_UNKNOWN = RuleComputeFormat._(0, _omitEnumNames ? '' : 'RULE_COMPUTE_FORMAT_UNKNOWN');
static const RuleComputeFormat RULE_COMPUTE_FORMAT_CH = RuleComputeFormat._(1, _omitEnumNames ? '' : 'RULE_COMPUTE_FORMAT_CH');

View File

@@ -94,6 +94,7 @@ const RuleComputeResult$json = {
{'1': 'Format', '3': 1, '4': 1, '5': 14, '6': '.api.RuleComputeFormat', '10': 'Format'},
{'1': 'Value', '3': 2, '4': 1, '5': 9, '10': 'Value'},
{'1': 'RuleID', '3': 3, '4': 1, '5': 9, '10': 'RuleID'},
{'1': 'Attributes', '3': 4, '4': 3, '5': 9, '10': 'Attributes'},
],
};
@@ -101,7 +102,7 @@ const RuleComputeResult$json = {
final $typed_data.Uint8List ruleComputeResultDescriptor = $convert.base64Decode(
'ChFSdWxlQ29tcHV0ZVJlc3VsdBIuCgZGb3JtYXQYASABKA4yFi5hcGkuUnVsZUNvbXB1dGVGb3'
'JtYXRSBkZvcm1hdBIUCgVWYWx1ZRgCIAEoCVIFVmFsdWUSFgoGUnVsZUlEGAMgASgJUgZSdWxl'
'SUQ=');
'SUQSHgoKQXR0cmlidXRlcxgEIAMoCVIKQXR0cmlidXRlcw==');
@$core.Deprecated('Use restrictionRuleDescriptor instead')
const RestrictionRule$json = {
@@ -111,6 +112,7 @@ const RestrictionRule$json = {
{'1': 'Entity', '3': 2, '4': 1, '5': 14, '6': '.api.EntityType', '8': {}, '10': 'Entity'},
{'1': 'Description', '3': 3, '4': 1, '5': 9, '10': 'Description'},
{'1': 'Definition', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'Definition'},
{'1': 'Attributes', '3': 5, '4': 3, '5': 9, '10': 'Attributes'},
],
'7': {},
};
@@ -120,7 +122,8 @@ final $typed_data.Uint8List restrictionRuleDescriptor = $convert.base64Decode(
'Cg9SZXN0cmljdGlvblJ1bGUSGwoETmFtZRgBIAEoCUIH+kIEcgIQAVIETmFtZRIxCgZFbnRpdH'
'kYAiABKA4yDy5hcGkuRW50aXR5VHlwZUII+kIFggECEAFSBkVudGl0eRIgCgtEZXNjcmlwdGlv'
'bhgDIAEoCVILRGVzY3JpcHRpb24SJwoKRGVmaW5pdGlvbhgEIAEoCUIH+kIEcgIQAVIKRGVmaW'
'5pdGlvbjoikkEfCh3SAQROYW1l0gEGRW50aXR50gEKRGVmaW5pdGlvbg==');
'5pdGlvbhIeCgpBdHRyaWJ1dGVzGAUgAygJUgpBdHRyaWJ1dGVzOiKSQR8KHdIBBE5hbWXSAQZF'
'bnRpdHnSAQpEZWZpbml0aW9u');
@$core.Deprecated('Use createRestrictionRequestDescriptor instead')
const CreateRestrictionRequest$json = {

View File

@@ -21,6 +21,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
export 'rules.pbenum.dart';
/// Rule represents a named business rule applied to a specific entity type within an organisation.
class Rule extends $pb.GeneratedMessage {
factory Rule({
$core.String? iD,
@@ -32,6 +33,7 @@ class Rule extends $pb.GeneratedMessage {
RuleType? ruleType,
$core.String? ruleTypeID,
$core.bool? status,
$core.Iterable<$core.String>? attributes,
}) {
final result = create();
if (iD != null) result.iD = iD;
@@ -43,6 +45,7 @@ class Rule extends $pb.GeneratedMessage {
if (ruleType != null) result.ruleType = ruleType;
if (ruleTypeID != null) result.ruleTypeID = ruleTypeID;
if (status != null) result.status = status;
if (attributes != null) result.attributes.addAll(attributes);
return result;
}
@@ -61,6 +64,7 @@ class Rule extends $pb.GeneratedMessage {
..e<RuleType>(7, _omitFieldNames ? '' : 'RuleType', $pb.PbFieldType.OE, protoName: 'RuleType', defaultOrMaker: RuleType.RULE_TYPE_PROJECT_UNKNOWN, valueOf: RuleType.valueOf, enumValues: RuleType.values)
..aOS(8, _omitFieldNames ? '' : 'RuleTypeID', protoName: 'RuleTypeID')
..aOB(9, _omitFieldNames ? '' : 'Status', protoName: 'Status')
..pPS(10, _omitFieldNames ? '' : 'Attributes', protoName: 'Attributes')
..hasRequiredFields = false
;
@@ -161,6 +165,9 @@ class Rule extends $pb.GeneratedMessage {
$core.bool hasStatus() => $_has(8);
@$pb.TagNumber(9)
void clearStatus() => $_clearField(9);
@$pb.TagNumber(10)
$pb.PbList<$core.String> get attributes => $_getList(9);
}
/// Create
@@ -174,6 +181,7 @@ class CreateRuleRequest extends $pb.GeneratedMessage {
$core.String? description,
$core.String? definition,
$core.String? issuer,
$core.Iterable<$core.String>? attributes,
}) {
final result = create();
if (organisationID != null) result.organisationID = organisationID;
@@ -184,6 +192,7 @@ class CreateRuleRequest extends $pb.GeneratedMessage {
if (description != null) result.description = description;
if (definition != null) result.definition = definition;
if (issuer != null) result.issuer = issuer;
if (attributes != null) result.attributes.addAll(attributes);
return result;
}
@@ -201,6 +210,7 @@ class CreateRuleRequest extends $pb.GeneratedMessage {
..aOS(6, _omitFieldNames ? '' : 'Description', protoName: 'Description')
..aOS(7, _omitFieldNames ? '' : 'Definition', protoName: 'Definition')
..aOS(8, _omitFieldNames ? '' : 'Issuer', protoName: 'Issuer')
..pPS(9, _omitFieldNames ? '' : 'Attributes', protoName: 'Attributes')
..hasRequiredFields = false
;
@@ -292,6 +302,9 @@ class CreateRuleRequest extends $pb.GeneratedMessage {
$core.bool hasIssuer() => $_has(7);
@$pb.TagNumber(8)
void clearIssuer() => $_clearField(8);
@$pb.TagNumber(9)
$pb.PbList<$core.String> get attributes => $_getList(8);
}
class CreateRuleResponse extends $pb.GeneratedMessage {
@@ -351,6 +364,7 @@ class UpdateRuleRequest extends $pb.GeneratedMessage {
$core.String? definition,
$1.EntityType? entity,
$core.String? issuer,
$core.Iterable<$core.String>? attributes,
}) {
final result = create();
if (ruleID != null) result.ruleID = ruleID;
@@ -359,6 +373,7 @@ class UpdateRuleRequest extends $pb.GeneratedMessage {
if (definition != null) result.definition = definition;
if (entity != null) result.entity = entity;
if (issuer != null) result.issuer = issuer;
if (attributes != null) result.attributes.addAll(attributes);
return result;
}
@@ -374,6 +389,7 @@ class UpdateRuleRequest extends $pb.GeneratedMessage {
..aOS(4, _omitFieldNames ? '' : 'Definition', protoName: 'Definition')
..e<$1.EntityType>(5, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values)
..aOS(6, _omitFieldNames ? '' : 'Issuer', protoName: 'Issuer')
..pPS(7, _omitFieldNames ? '' : 'Attributes', protoName: 'Attributes')
..hasRequiredFields = false
;
@@ -447,6 +463,9 @@ class UpdateRuleRequest extends $pb.GeneratedMessage {
$core.bool hasIssuer() => $_has(5);
@$pb.TagNumber(6)
void clearIssuer() => $_clearField(6);
@$pb.TagNumber(7)
$pb.PbList<$core.String> get attributes => $_getList(6);
}
class UpdateRuleResponse extends $pb.GeneratedMessage {

View File

@@ -14,6 +14,7 @@ import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
/// RuleType categorises rules by their enforcement behaviour within a project.
class RuleType extends $pb.ProtobufEnum {
static const RuleType RULE_TYPE_PROJECT_UNKNOWN = RuleType._(0, _omitEnumNames ? '' : 'RULE_TYPE_PROJECT_UNKNOWN');
static const RuleType RULE_TYPE_PROJECT_RESTRICTION = RuleType._(1, _omitEnumNames ? '' : 'RULE_TYPE_PROJECT_RESTRICTION');

View File

@@ -44,6 +44,7 @@ const Rule$json = {
{'1': 'RuleType', '3': 7, '4': 1, '5': 14, '6': '.api.RuleType', '10': 'RuleType'},
{'1': 'RuleTypeID', '3': 8, '4': 1, '5': 9, '10': 'RuleTypeID'},
{'1': 'Status', '3': 9, '4': 1, '5': 8, '10': 'Status'},
{'1': 'Attributes', '3': 10, '4': 3, '5': 9, '10': 'Attributes'},
],
};
@@ -54,7 +55,7 @@ final $typed_data.Uint8List ruleDescriptor = $convert.base64Decode(
'GAQgASgJUgROYW1lEiAKC0Rlc2NyaXB0aW9uGAUgASgJUgtEZXNjcmlwdGlvbhIeCgpEZWZpbm'
'l0aW9uGAYgASgJUgpEZWZpbml0aW9uEikKCFJ1bGVUeXBlGAcgASgOMg0uYXBpLlJ1bGVUeXBl'
'UghSdWxlVHlwZRIeCgpSdWxlVHlwZUlEGAggASgJUgpSdWxlVHlwZUlEEhYKBlN0YXR1cxgJIA'
'EoCFIGU3RhdHVz');
'EoCFIGU3RhdHVzEh4KCkF0dHJpYnV0ZXMYCiADKAlSCkF0dHJpYnV0ZXM=');
@$core.Deprecated('Use createRuleRequestDescriptor instead')
const CreateRuleRequest$json = {
@@ -68,6 +69,7 @@ const CreateRuleRequest$json = {
{'1': 'Description', '3': 6, '4': 1, '5': 9, '10': 'Description'},
{'1': 'Definition', '3': 7, '4': 1, '5': 9, '8': {}, '10': 'Definition'},
{'1': 'Issuer', '3': 8, '4': 1, '5': 9, '8': {}, '10': 'Issuer'},
{'1': 'Attributes', '3': 9, '4': 3, '5': 9, '10': 'Attributes'},
],
'7': {},
};
@@ -80,8 +82,9 @@ final $typed_data.Uint8List createRuleRequestDescriptor = $convert.base64Decode(
'INLmFwaS5SdWxlVHlwZUII+kIFggECEAFSCFJ1bGVUeXBlEicKClJ1bGVUeXBlSUQYBSABKAlC'
'B/pCBHICEAFSClJ1bGVUeXBlSUQSIAoLRGVzY3JpcHRpb24YBiABKAlSC0Rlc2NyaXB0aW9uEi'
'cKCkRlZmluaXRpb24YByABKAlCB/pCBHICEAFSCkRlZmluaXRpb24SHwoGSXNzdWVyGAggASgJ'
'Qgf6QgRyAhABUgZJc3N1ZXI6VJJBUQpP0gEOT3JnYW5pc2F0aW9uSUTSAQZFbnRpdHnSAQROYW'
'1l0gEIUnVsZVR5cGXSAQpSdWxlVHlwZUlE0gEKRGVmaW5pdGlvbtIBBklzc3Vlcg==');
'Qgf6QgRyAhABUgZJc3N1ZXISHgoKQXR0cmlidXRlcxgJIAMoCVIKQXR0cmlidXRlczpUkkFRCk'
'/SAQ5PcmdhbmlzYXRpb25JRNIBBkVudGl0edIBBE5hbWXSAQhSdWxlVHlwZdIBClJ1bGVUeXBl'
'SUTSAQpEZWZpbml0aW9u0gEGSXNzdWVy');
@$core.Deprecated('Use createRuleResponseDescriptor instead')
const CreateRuleResponse$json = {
@@ -105,6 +108,7 @@ const UpdateRuleRequest$json = {
{'1': 'Definition', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'Definition'},
{'1': 'Entity', '3': 5, '4': 1, '5': 14, '6': '.api.EntityType', '8': {}, '10': 'Entity'},
{'1': 'Issuer', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'Issuer'},
{'1': 'Attributes', '3': 7, '4': 3, '5': 9, '10': 'Attributes'},
],
'7': {},
};
@@ -115,8 +119,8 @@ final $typed_data.Uint8List updateRuleRequestDescriptor = $convert.base64Decode(
'ROYW1lGAIgASgJQgf6QgRyAhABUgROYW1lEiAKC0Rlc2NyaXB0aW9uGAMgASgJUgtEZXNjcmlw'
'dGlvbhInCgpEZWZpbml0aW9uGAQgASgJQgf6QgRyAhABUgpEZWZpbml0aW9uEjEKBkVudGl0eR'
'gFIAEoDjIPLmFwaS5FbnRpdHlUeXBlQgj6QgWCAQIQAVIGRW50aXR5Eh8KBklzc3VlchgGIAEo'
'CUIH+kIEcgIQAVIGSXNzdWVyOjSSQTEKL9IBBlJ1bGVJRNIBBE5hbWXSAQpEZWZpbml0aW9u0g'
'EGSXNzdWVy0gEGRW50aXR5');
'CUIH+kIEcgIQAVIGSXNzdWVyEh4KCkF0dHJpYnV0ZXMYByADKAlSCkF0dHJpYnV0ZXM6NJJBMQ'
'ov0gEGUnVsZUlE0gEETmFtZdIBCkRlZmluaXRpb27SAQZJc3N1ZXLSAQZFbnRpdHk=');
@$core.Deprecated('Use updateRuleResponseDescriptor instead')
const UpdateRuleResponse$json = {