You've already forked npm-core-sdk
Latest generation
This commit is contained in:
52
rules.ts
52
rules.ts
@@ -23,40 +23,58 @@ export interface Rule {
|
||||
/**
|
||||
* @generated from protobuf field: string ID = 1
|
||||
*/
|
||||
ID: string; // Unique identifier of the rule.
|
||||
ID: string;
|
||||
/**
|
||||
* Unique identifier of the rule.
|
||||
*
|
||||
* @generated from protobuf field: string OrganisationID = 2
|
||||
*/
|
||||
OrganisationID: string; // Identifier of the organisation the rule belongs to.
|
||||
OrganisationID: string;
|
||||
/**
|
||||
* Identifier of the organisation the rule belongs to.
|
||||
*
|
||||
* @generated from protobuf field: api.EntityType Entity = 3
|
||||
*/
|
||||
Entity: EntityType; // Entity type the rule applies to (e.g. ORDER, ACTOR).
|
||||
Entity: EntityType;
|
||||
/**
|
||||
* Entity type the rule applies to (e.g. ORDER, ACTOR).
|
||||
*
|
||||
* @generated from protobuf field: string Name = 4
|
||||
*/
|
||||
Name: string; // Human-readable name of the rule.
|
||||
Name: string;
|
||||
/**
|
||||
* Human-readable name of the rule.
|
||||
*
|
||||
* @generated from protobuf field: string Description = 5
|
||||
*/
|
||||
Description: string; // Optional description providing context for the rule.
|
||||
Description: string;
|
||||
/**
|
||||
* Optional description providing context for the rule.
|
||||
*
|
||||
* @generated from protobuf field: string Definition = 6
|
||||
*/
|
||||
Definition: string; // RPL (Reflex Platform Language) expression defining the rule logic.
|
||||
Definition: string;
|
||||
/**
|
||||
* RPL (Reflex Platform Language) expression defining the rule logic.
|
||||
*
|
||||
* @generated from protobuf field: api.RuleType RuleType = 7
|
||||
*/
|
||||
RuleType: RuleType; // Category of the rule, determining how it is enforced.
|
||||
RuleType: RuleType;
|
||||
/**
|
||||
* Category of the rule, determining how it is enforced.
|
||||
*
|
||||
* @generated from protobuf field: string RuleTypeID = 8
|
||||
*/
|
||||
RuleTypeID: string; // ID of the resource this rule is attached to. Its type depends on RuleType (e.g. a RestrictionID for RESTRICTION, a ProjectLifecycle task ID for PRUNE or ANONYMIZE).
|
||||
RuleTypeID: string;
|
||||
/**
|
||||
* ID of the resource this rule is attached to. Its type depends on RuleType (e.g. a RestrictionID for RESTRICTION, a ProjectLifecycle task ID for PRUNE or ANONYMIZE).
|
||||
*
|
||||
* @generated from protobuf field: bool Status = 9
|
||||
*/
|
||||
Status: boolean; // Whether the rule is currently active (true = enabled, false = disabled).
|
||||
Status: boolean;
|
||||
/**
|
||||
* Whether the rule is currently active (true = enabled, false = disabled).
|
||||
*
|
||||
* @generated from protobuf field: repeated string Attributes = 10
|
||||
*/
|
||||
Attributes: string[]; // Contextual key:value pairs provided by the rule's consumer to scope evaluation (e.g. "ActorID:\<id\>" used to compute a restriction rule for a given actor context).
|
||||
@@ -100,8 +118,10 @@ export interface CreateRuleRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string Issuer = 8
|
||||
*/
|
||||
Issuer: string; // Who created the rule, will be used as the commit's author when pushed to git
|
||||
Issuer: string;
|
||||
/**
|
||||
* Who created the rule, will be used as the commit's author when pushed to git
|
||||
*
|
||||
* @generated from protobuf field: repeated string Attributes = 9
|
||||
*/
|
||||
Attributes: string[];
|
||||
@@ -144,8 +164,10 @@ export interface UpdateRuleRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string Issuer = 6
|
||||
*/
|
||||
Issuer: string; // Who updated the rule, will be used as the commit's author when pushed to git
|
||||
Issuer: string;
|
||||
/**
|
||||
* Who updated the rule, will be used as the commit's author when pushed to git
|
||||
*
|
||||
* @generated from protobuf field: repeated string Attributes = 7
|
||||
*/
|
||||
Attributes: string[];
|
||||
@@ -300,24 +322,24 @@ export interface GetJSONTreeResponse {
|
||||
*/
|
||||
export enum RuleType {
|
||||
/**
|
||||
* Default unset value. Should not be used explicitly.
|
||||
*
|
||||
* @generated from protobuf enum value: RULE_TYPE_PROJECT_UNKNOWN = 0;
|
||||
*/
|
||||
RULE_TYPE_PROJECT_UNKNOWN = 0,
|
||||
/**
|
||||
* Data-access restriction: filters which data a user or role can see.
|
||||
* Default unset value. Should not be used explicitly.
|
||||
*
|
||||
* @generated from protobuf enum value: RULE_TYPE_PROJECT_RESTRICTION = 1;
|
||||
*/
|
||||
RULE_TYPE_PROJECT_RESTRICTION = 1,
|
||||
/**
|
||||
* Prune: removes or archives entities based on defined conditions.
|
||||
* Data-access restriction: filters which data a user or role can see.
|
||||
*
|
||||
* @generated from protobuf enum value: RULE_TYPE_PROJECT_PRUNE = 2;
|
||||
*/
|
||||
RULE_TYPE_PROJECT_PRUNE = 2,
|
||||
/**
|
||||
* Prune: removes or archives entities based on defined conditions.
|
||||
*
|
||||
* Anonymize: masks or anonymizes entity data based on defined conditions.
|
||||
*
|
||||
* @generated from protobuf enum value: RULE_TYPE_PROJECT_ANONYMIZE = 3;
|
||||
|
||||
Reference in New Issue
Block a user