@authzed/authzed-node
Version:
authzed client for nodejs
811 lines (810 loc) • 33.9 kB
TypeScript
import { ServiceType } from "@protobuf-ts/runtime-rpc";
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { Consistency } from "./permission_service.js";
import { ZedToken } from "./core.js";
/**
* ReadSchemaRequest returns the schema from the database.
*
* @generated from protobuf message authzed.api.v1.ReadSchemaRequest
*/
export interface ReadSchemaRequest {
}
/**
* ReadSchemaResponse is the resulting data after having read the Object
* Definitions from a Schema.
*
* @generated from protobuf message authzed.api.v1.ReadSchemaResponse
*/
export interface ReadSchemaResponse {
/**
* schema_text is the textual form of the current schema in the system
*
* @generated from protobuf field: string schema_text = 1;
*/
schemaText: string;
/**
* read_at is the ZedToken at which the schema was read.
*
* @generated from protobuf field: authzed.api.v1.ZedToken read_at = 2;
*/
readAt?: ZedToken;
}
/**
* WriteSchemaRequest is the required data used to "upsert" the Schema of a
* Permissions System.
*
* @generated from protobuf message authzed.api.v1.WriteSchemaRequest
*/
export interface WriteSchemaRequest {
/**
* The Schema containing one or more Object Definitions that will be written
* to the Permissions System.
*
* @generated from protobuf field: string schema = 1;
*/
schema: string;
}
/**
* WriteSchemaResponse is the resulting data after having written a Schema to
* a Permissions System.
*
* @generated from protobuf message authzed.api.v1.WriteSchemaResponse
*/
export interface WriteSchemaResponse {
/**
* written_at is the ZedToken at which the schema was written.
*
* @generated from protobuf field: authzed.api.v1.ZedToken written_at = 1;
*/
writtenAt?: ZedToken;
}
/**
* @generated from protobuf message authzed.api.v1.ReflectSchemaRequest
*/
export interface ReflectSchemaRequest {
/**
* @generated from protobuf field: authzed.api.v1.Consistency consistency = 1;
*/
consistency?: Consistency;
/**
* optional_filters defines optional filters that are applied in
* an OR fashion to the schema, before being returned
*
* @generated from protobuf field: repeated authzed.api.v1.ReflectionSchemaFilter optional_filters = 2;
*/
optionalFilters: ReflectionSchemaFilter[];
}
/**
* @generated from protobuf message authzed.api.v1.ReflectSchemaResponse
*/
export interface ReflectSchemaResponse {
/**
* definitions are the definitions defined in the schema.
*
* @generated from protobuf field: repeated authzed.api.v1.ReflectionDefinition definitions = 1;
*/
definitions: ReflectionDefinition[];
/**
* caveats are the caveats defined in the schema.
*
* @generated from protobuf field: repeated authzed.api.v1.ReflectionCaveat caveats = 2;
*/
caveats: ReflectionCaveat[];
/**
* read_at is the ZedToken at which the schema was read.
*
* @generated from protobuf field: authzed.api.v1.ZedToken read_at = 3;
*/
readAt?: ZedToken;
}
/**
* ReflectionSchemaFilter is a filter that can be applied to the schema on reflection.
*
* @generated from protobuf message authzed.api.v1.ReflectionSchemaFilter
*/
export interface ReflectionSchemaFilter {
/**
* optional_definition_name_filter is a prefix that is matched against the definition name.
*
* @generated from protobuf field: string optional_definition_name_filter = 1;
*/
optionalDefinitionNameFilter: string;
/**
* optional_caveat_name_filter is a prefix that is matched against the caveat name.
*
* @generated from protobuf field: string optional_caveat_name_filter = 2;
*/
optionalCaveatNameFilter: string;
/**
* optional_relation_name_filter is a prefix that is matched against the relation name.
*
* @generated from protobuf field: string optional_relation_name_filter = 3;
*/
optionalRelationNameFilter: string;
/**
* optional_permission_name_filter is a prefix that is matched against the permission name.
*
* @generated from protobuf field: string optional_permission_name_filter = 4;
*/
optionalPermissionNameFilter: string;
}
/**
* ReflectionDefinition is the representation of a definition in the schema.
*
* @generated from protobuf message authzed.api.v1.ReflectionDefinition
*/
export interface ReflectionDefinition {
/**
* @generated from protobuf field: string name = 1;
*/
name: string;
/**
* comment is a human-readable comments on the definition. Will include
* delimiter characters.
*
* @generated from protobuf field: string comment = 2;
*/
comment: string;
/**
* @generated from protobuf field: repeated authzed.api.v1.ReflectionRelation relations = 3;
*/
relations: ReflectionRelation[];
/**
* @generated from protobuf field: repeated authzed.api.v1.ReflectionPermission permissions = 4;
*/
permissions: ReflectionPermission[];
}
/**
* ReflectionCaveat is the representation of a caveat in the schema.
*
* @generated from protobuf message authzed.api.v1.ReflectionCaveat
*/
export interface ReflectionCaveat {
/**
* @generated from protobuf field: string name = 1;
*/
name: string;
/**
* comment is a human-readable comments on the caveat. Will include
* delimiter characters.
*
* @generated from protobuf field: string comment = 2;
*/
comment: string;
/**
* @generated from protobuf field: repeated authzed.api.v1.ReflectionCaveatParameter parameters = 3;
*/
parameters: ReflectionCaveatParameter[];
/**
* @generated from protobuf field: string expression = 4;
*/
expression: string;
}
/**
* ReflectionCaveatParameter is the representation of a parameter in a caveat.
*
* @generated from protobuf message authzed.api.v1.ReflectionCaveatParameter
*/
export interface ReflectionCaveatParameter {
/**
* @generated from protobuf field: string name = 1;
*/
name: string;
/**
* type is the type of the parameter. Will be a string representing the
* type, e.g. `int` or `list<string>`
*
* @generated from protobuf field: string type = 2;
*/
type: string;
/**
* @generated from protobuf field: string parent_caveat_name = 3;
*/
parentCaveatName: string;
}
/**
* ReflectionRelation is the representation of a relation in the schema.
*
* @generated from protobuf message authzed.api.v1.ReflectionRelation
*/
export interface ReflectionRelation {
/**
* @generated from protobuf field: string name = 1;
*/
name: string;
/**
* @generated from protobuf field: string comment = 2;
*/
comment: string;
/**
* @generated from protobuf field: string parent_definition_name = 3;
*/
parentDefinitionName: string;
/**
* @generated from protobuf field: repeated authzed.api.v1.ReflectionTypeReference subject_types = 4;
*/
subjectTypes: ReflectionTypeReference[];
}
/**
* ReflectionTypeReference is the representation of a type reference in the schema.
*
* @generated from protobuf message authzed.api.v1.ReflectionTypeReference
*/
export interface ReflectionTypeReference {
/**
* subject_definition_name is the name of the subject's definition.
*
* @generated from protobuf field: string subject_definition_name = 1;
*/
subjectDefinitionName: string;
/**
* optional_caveat_name is the name of the caveat that is applied to the subject, if any.
*
* @generated from protobuf field: string optional_caveat_name = 2;
*/
optionalCaveatName: string;
/**
* @generated from protobuf oneof: typeref
*/
typeref: {
oneofKind: "isTerminalSubject";
/**
* is_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation.
*
* @generated from protobuf field: bool is_terminal_subject = 3;
*/
isTerminalSubject: boolean;
} | {
oneofKind: "optionalRelationName";
/**
* optional_relation_name is the name of the relation that is applied to the subject, if any.
*
* @generated from protobuf field: string optional_relation_name = 4;
*/
optionalRelationName: string;
} | {
oneofKind: "isPublicWildcard";
/**
* is_public_wildcard is true if the subject is a public wildcard.
*
* @generated from protobuf field: bool is_public_wildcard = 5;
*/
isPublicWildcard: boolean;
} | {
oneofKind: undefined;
};
}
/**
* ReflectionPermission is the representation of a permission in the schema.
*
* @generated from protobuf message authzed.api.v1.ReflectionPermission
*/
export interface ReflectionPermission {
/**
* @generated from protobuf field: string name = 1;
*/
name: string;
/**
* comment is a human-readable comments on the permission. Will include
* delimiter characters.
*
* @generated from protobuf field: string comment = 2;
*/
comment: string;
/**
* @generated from protobuf field: string parent_definition_name = 3;
*/
parentDefinitionName: string;
}
/**
* @generated from protobuf message authzed.api.v1.ComputablePermissionsRequest
*/
export interface ComputablePermissionsRequest {
/**
* @generated from protobuf field: authzed.api.v1.Consistency consistency = 1;
*/
consistency?: Consistency;
/**
* @generated from protobuf field: string definition_name = 2;
*/
definitionName: string;
/**
* @generated from protobuf field: string relation_name = 3;
*/
relationName: string;
/**
* optional_definition_name_match is a prefix that is matched against the definition name(s)
* for the permissions returned.
* If not specified, will be ignored.
*
* @generated from protobuf field: string optional_definition_name_filter = 4;
*/
optionalDefinitionNameFilter: string;
}
/**
* ReflectionRelationReference is a reference to a relation or permission in the schema.
*
* @generated from protobuf message authzed.api.v1.ReflectionRelationReference
*/
export interface ReflectionRelationReference {
/**
* @generated from protobuf field: string definition_name = 1;
*/
definitionName: string;
/**
* @generated from protobuf field: string relation_name = 2;
*/
relationName: string;
/**
* @generated from protobuf field: bool is_permission = 3;
*/
isPermission: boolean;
}
/**
* @generated from protobuf message authzed.api.v1.ComputablePermissionsResponse
*/
export interface ComputablePermissionsResponse {
/**
* @generated from protobuf field: repeated authzed.api.v1.ReflectionRelationReference permissions = 1;
*/
permissions: ReflectionRelationReference[];
/**
* read_at is the ZedToken at which the schema was read.
*
* @generated from protobuf field: authzed.api.v1.ZedToken read_at = 2;
*/
readAt?: ZedToken;
}
/**
* @generated from protobuf message authzed.api.v1.DependentRelationsRequest
*/
export interface DependentRelationsRequest {
/**
* @generated from protobuf field: authzed.api.v1.Consistency consistency = 1;
*/
consistency?: Consistency;
/**
* @generated from protobuf field: string definition_name = 2;
*/
definitionName: string;
/**
* @generated from protobuf field: string permission_name = 3;
*/
permissionName: string;
}
/**
* @generated from protobuf message authzed.api.v1.DependentRelationsResponse
*/
export interface DependentRelationsResponse {
/**
* @generated from protobuf field: repeated authzed.api.v1.ReflectionRelationReference relations = 1;
*/
relations: ReflectionRelationReference[];
/**
* read_at is the ZedToken at which the schema was read.
*
* @generated from protobuf field: authzed.api.v1.ZedToken read_at = 2;
*/
readAt?: ZedToken;
}
/**
* @generated from protobuf message authzed.api.v1.DiffSchemaRequest
*/
export interface DiffSchemaRequest {
/**
* @generated from protobuf field: authzed.api.v1.Consistency consistency = 1;
*/
consistency?: Consistency;
/**
* @generated from protobuf field: string comparison_schema = 2;
*/
comparisonSchema: string;
}
/**
* @generated from protobuf message authzed.api.v1.DiffSchemaResponse
*/
export interface DiffSchemaResponse {
/**
* @generated from protobuf field: repeated authzed.api.v1.ReflectionSchemaDiff diffs = 1;
*/
diffs: ReflectionSchemaDiff[];
/**
* read_at is the ZedToken at which the schema was read.
*
* @generated from protobuf field: authzed.api.v1.ZedToken read_at = 2;
*/
readAt?: ZedToken;
}
/**
* @generated from protobuf message authzed.api.v1.ReflectionRelationSubjectTypeChange
*/
export interface ReflectionRelationSubjectTypeChange {
/**
* @generated from protobuf field: authzed.api.v1.ReflectionRelation relation = 1;
*/
relation?: ReflectionRelation;
/**
* @generated from protobuf field: authzed.api.v1.ReflectionTypeReference changed_subject_type = 2;
*/
changedSubjectType?: ReflectionTypeReference;
}
/**
* @generated from protobuf message authzed.api.v1.ReflectionCaveatParameterTypeChange
*/
export interface ReflectionCaveatParameterTypeChange {
/**
* @generated from protobuf field: authzed.api.v1.ReflectionCaveatParameter parameter = 1;
*/
parameter?: ReflectionCaveatParameter;
/**
* @generated from protobuf field: string previous_type = 2;
*/
previousType: string;
}
/**
* ReflectionSchemaDiff is the representation of a diff between two schemas.
*
* @generated from protobuf message authzed.api.v1.ReflectionSchemaDiff
*/
export interface ReflectionSchemaDiff {
/**
* @generated from protobuf oneof: diff
*/
diff: {
oneofKind: "definitionAdded";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionDefinition definition_added = 1;
*/
definitionAdded: ReflectionDefinition;
} | {
oneofKind: "definitionRemoved";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionDefinition definition_removed = 2;
*/
definitionRemoved: ReflectionDefinition;
} | {
oneofKind: "definitionDocCommentChanged";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionDefinition definition_doc_comment_changed = 3;
*/
definitionDocCommentChanged: ReflectionDefinition;
} | {
oneofKind: "relationAdded";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionRelation relation_added = 4;
*/
relationAdded: ReflectionRelation;
} | {
oneofKind: "relationRemoved";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionRelation relation_removed = 5;
*/
relationRemoved: ReflectionRelation;
} | {
oneofKind: "relationDocCommentChanged";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionRelation relation_doc_comment_changed = 6;
*/
relationDocCommentChanged: ReflectionRelation;
} | {
oneofKind: "relationSubjectTypeAdded";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionRelationSubjectTypeChange relation_subject_type_added = 7;
*/
relationSubjectTypeAdded: ReflectionRelationSubjectTypeChange;
} | {
oneofKind: "relationSubjectTypeRemoved";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionRelationSubjectTypeChange relation_subject_type_removed = 8;
*/
relationSubjectTypeRemoved: ReflectionRelationSubjectTypeChange;
} | {
oneofKind: "permissionAdded";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionPermission permission_added = 9;
*/
permissionAdded: ReflectionPermission;
} | {
oneofKind: "permissionRemoved";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionPermission permission_removed = 10;
*/
permissionRemoved: ReflectionPermission;
} | {
oneofKind: "permissionDocCommentChanged";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionPermission permission_doc_comment_changed = 11;
*/
permissionDocCommentChanged: ReflectionPermission;
} | {
oneofKind: "permissionExprChanged";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionPermission permission_expr_changed = 12;
*/
permissionExprChanged: ReflectionPermission;
} | {
oneofKind: "caveatAdded";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionCaveat caveat_added = 13;
*/
caveatAdded: ReflectionCaveat;
} | {
oneofKind: "caveatRemoved";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionCaveat caveat_removed = 14;
*/
caveatRemoved: ReflectionCaveat;
} | {
oneofKind: "caveatDocCommentChanged";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionCaveat caveat_doc_comment_changed = 15;
*/
caveatDocCommentChanged: ReflectionCaveat;
} | {
oneofKind: "caveatExprChanged";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionCaveat caveat_expr_changed = 16;
*/
caveatExprChanged: ReflectionCaveat;
} | {
oneofKind: "caveatParameterAdded";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionCaveatParameter caveat_parameter_added = 17;
*/
caveatParameterAdded: ReflectionCaveatParameter;
} | {
oneofKind: "caveatParameterRemoved";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionCaveatParameter caveat_parameter_removed = 18;
*/
caveatParameterRemoved: ReflectionCaveatParameter;
} | {
oneofKind: "caveatParameterTypeChanged";
/**
* @generated from protobuf field: authzed.api.v1.ReflectionCaveatParameterTypeChange caveat_parameter_type_changed = 19;
*/
caveatParameterTypeChanged: ReflectionCaveatParameterTypeChange;
} | {
oneofKind: undefined;
};
}
declare class ReadSchemaRequest$Type extends MessageType<ReadSchemaRequest> {
constructor();
create(value?: PartialMessage<ReadSchemaRequest>): ReadSchemaRequest;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReadSchemaRequest): ReadSchemaRequest;
internalBinaryWrite(message: ReadSchemaRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReadSchemaRequest
*/
export declare const ReadSchemaRequest: ReadSchemaRequest$Type;
declare class ReadSchemaResponse$Type extends MessageType<ReadSchemaResponse> {
constructor();
create(value?: PartialMessage<ReadSchemaResponse>): ReadSchemaResponse;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReadSchemaResponse): ReadSchemaResponse;
internalBinaryWrite(message: ReadSchemaResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReadSchemaResponse
*/
export declare const ReadSchemaResponse: ReadSchemaResponse$Type;
declare class WriteSchemaRequest$Type extends MessageType<WriteSchemaRequest> {
constructor();
create(value?: PartialMessage<WriteSchemaRequest>): WriteSchemaRequest;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: WriteSchemaRequest): WriteSchemaRequest;
internalBinaryWrite(message: WriteSchemaRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.WriteSchemaRequest
*/
export declare const WriteSchemaRequest: WriteSchemaRequest$Type;
declare class WriteSchemaResponse$Type extends MessageType<WriteSchemaResponse> {
constructor();
create(value?: PartialMessage<WriteSchemaResponse>): WriteSchemaResponse;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: WriteSchemaResponse): WriteSchemaResponse;
internalBinaryWrite(message: WriteSchemaResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.WriteSchemaResponse
*/
export declare const WriteSchemaResponse: WriteSchemaResponse$Type;
declare class ReflectSchemaRequest$Type extends MessageType<ReflectSchemaRequest> {
constructor();
create(value?: PartialMessage<ReflectSchemaRequest>): ReflectSchemaRequest;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectSchemaRequest): ReflectSchemaRequest;
internalBinaryWrite(message: ReflectSchemaRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectSchemaRequest
*/
export declare const ReflectSchemaRequest: ReflectSchemaRequest$Type;
declare class ReflectSchemaResponse$Type extends MessageType<ReflectSchemaResponse> {
constructor();
create(value?: PartialMessage<ReflectSchemaResponse>): ReflectSchemaResponse;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectSchemaResponse): ReflectSchemaResponse;
internalBinaryWrite(message: ReflectSchemaResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectSchemaResponse
*/
export declare const ReflectSchemaResponse: ReflectSchemaResponse$Type;
declare class ReflectionSchemaFilter$Type extends MessageType<ReflectionSchemaFilter> {
constructor();
create(value?: PartialMessage<ReflectionSchemaFilter>): ReflectionSchemaFilter;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectionSchemaFilter): ReflectionSchemaFilter;
internalBinaryWrite(message: ReflectionSchemaFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectionSchemaFilter
*/
export declare const ReflectionSchemaFilter: ReflectionSchemaFilter$Type;
declare class ReflectionDefinition$Type extends MessageType<ReflectionDefinition> {
constructor();
create(value?: PartialMessage<ReflectionDefinition>): ReflectionDefinition;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectionDefinition): ReflectionDefinition;
internalBinaryWrite(message: ReflectionDefinition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectionDefinition
*/
export declare const ReflectionDefinition: ReflectionDefinition$Type;
declare class ReflectionCaveat$Type extends MessageType<ReflectionCaveat> {
constructor();
create(value?: PartialMessage<ReflectionCaveat>): ReflectionCaveat;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectionCaveat): ReflectionCaveat;
internalBinaryWrite(message: ReflectionCaveat, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectionCaveat
*/
export declare const ReflectionCaveat: ReflectionCaveat$Type;
declare class ReflectionCaveatParameter$Type extends MessageType<ReflectionCaveatParameter> {
constructor();
create(value?: PartialMessage<ReflectionCaveatParameter>): ReflectionCaveatParameter;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectionCaveatParameter): ReflectionCaveatParameter;
internalBinaryWrite(message: ReflectionCaveatParameter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectionCaveatParameter
*/
export declare const ReflectionCaveatParameter: ReflectionCaveatParameter$Type;
declare class ReflectionRelation$Type extends MessageType<ReflectionRelation> {
constructor();
create(value?: PartialMessage<ReflectionRelation>): ReflectionRelation;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectionRelation): ReflectionRelation;
internalBinaryWrite(message: ReflectionRelation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectionRelation
*/
export declare const ReflectionRelation: ReflectionRelation$Type;
declare class ReflectionTypeReference$Type extends MessageType<ReflectionTypeReference> {
constructor();
create(value?: PartialMessage<ReflectionTypeReference>): ReflectionTypeReference;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectionTypeReference): ReflectionTypeReference;
internalBinaryWrite(message: ReflectionTypeReference, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectionTypeReference
*/
export declare const ReflectionTypeReference: ReflectionTypeReference$Type;
declare class ReflectionPermission$Type extends MessageType<ReflectionPermission> {
constructor();
create(value?: PartialMessage<ReflectionPermission>): ReflectionPermission;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectionPermission): ReflectionPermission;
internalBinaryWrite(message: ReflectionPermission, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectionPermission
*/
export declare const ReflectionPermission: ReflectionPermission$Type;
declare class ComputablePermissionsRequest$Type extends MessageType<ComputablePermissionsRequest> {
constructor();
create(value?: PartialMessage<ComputablePermissionsRequest>): ComputablePermissionsRequest;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ComputablePermissionsRequest): ComputablePermissionsRequest;
internalBinaryWrite(message: ComputablePermissionsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ComputablePermissionsRequest
*/
export declare const ComputablePermissionsRequest: ComputablePermissionsRequest$Type;
declare class ReflectionRelationReference$Type extends MessageType<ReflectionRelationReference> {
constructor();
create(value?: PartialMessage<ReflectionRelationReference>): ReflectionRelationReference;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectionRelationReference): ReflectionRelationReference;
internalBinaryWrite(message: ReflectionRelationReference, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectionRelationReference
*/
export declare const ReflectionRelationReference: ReflectionRelationReference$Type;
declare class ComputablePermissionsResponse$Type extends MessageType<ComputablePermissionsResponse> {
constructor();
create(value?: PartialMessage<ComputablePermissionsResponse>): ComputablePermissionsResponse;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ComputablePermissionsResponse): ComputablePermissionsResponse;
internalBinaryWrite(message: ComputablePermissionsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ComputablePermissionsResponse
*/
export declare const ComputablePermissionsResponse: ComputablePermissionsResponse$Type;
declare class DependentRelationsRequest$Type extends MessageType<DependentRelationsRequest> {
constructor();
create(value?: PartialMessage<DependentRelationsRequest>): DependentRelationsRequest;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DependentRelationsRequest): DependentRelationsRequest;
internalBinaryWrite(message: DependentRelationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.DependentRelationsRequest
*/
export declare const DependentRelationsRequest: DependentRelationsRequest$Type;
declare class DependentRelationsResponse$Type extends MessageType<DependentRelationsResponse> {
constructor();
create(value?: PartialMessage<DependentRelationsResponse>): DependentRelationsResponse;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DependentRelationsResponse): DependentRelationsResponse;
internalBinaryWrite(message: DependentRelationsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.DependentRelationsResponse
*/
export declare const DependentRelationsResponse: DependentRelationsResponse$Type;
declare class DiffSchemaRequest$Type extends MessageType<DiffSchemaRequest> {
constructor();
create(value?: PartialMessage<DiffSchemaRequest>): DiffSchemaRequest;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DiffSchemaRequest): DiffSchemaRequest;
internalBinaryWrite(message: DiffSchemaRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.DiffSchemaRequest
*/
export declare const DiffSchemaRequest: DiffSchemaRequest$Type;
declare class DiffSchemaResponse$Type extends MessageType<DiffSchemaResponse> {
constructor();
create(value?: PartialMessage<DiffSchemaResponse>): DiffSchemaResponse;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DiffSchemaResponse): DiffSchemaResponse;
internalBinaryWrite(message: DiffSchemaResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.DiffSchemaResponse
*/
export declare const DiffSchemaResponse: DiffSchemaResponse$Type;
declare class ReflectionRelationSubjectTypeChange$Type extends MessageType<ReflectionRelationSubjectTypeChange> {
constructor();
create(value?: PartialMessage<ReflectionRelationSubjectTypeChange>): ReflectionRelationSubjectTypeChange;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectionRelationSubjectTypeChange): ReflectionRelationSubjectTypeChange;
internalBinaryWrite(message: ReflectionRelationSubjectTypeChange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectionRelationSubjectTypeChange
*/
export declare const ReflectionRelationSubjectTypeChange: ReflectionRelationSubjectTypeChange$Type;
declare class ReflectionCaveatParameterTypeChange$Type extends MessageType<ReflectionCaveatParameterTypeChange> {
constructor();
create(value?: PartialMessage<ReflectionCaveatParameterTypeChange>): ReflectionCaveatParameterTypeChange;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectionCaveatParameterTypeChange): ReflectionCaveatParameterTypeChange;
internalBinaryWrite(message: ReflectionCaveatParameterTypeChange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectionCaveatParameterTypeChange
*/
export declare const ReflectionCaveatParameterTypeChange: ReflectionCaveatParameterTypeChange$Type;
declare class ReflectionSchemaDiff$Type extends MessageType<ReflectionSchemaDiff> {
constructor();
create(value?: PartialMessage<ReflectionSchemaDiff>): ReflectionSchemaDiff;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReflectionSchemaDiff): ReflectionSchemaDiff;
internalBinaryWrite(message: ReflectionSchemaDiff, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
* @generated MessageType for protobuf message authzed.api.v1.ReflectionSchemaDiff
*/
export declare const ReflectionSchemaDiff: ReflectionSchemaDiff$Type;
/**
* @generated ServiceType for protobuf service authzed.api.v1.SchemaService
*/
export declare const SchemaService: ServiceType;
export {};