Type alias GetPermissionResponse
GetPermissionResponse: {
dateCreated: string;
dateUpdated: string;
id: string;
isArchived: boolean;
isImmutable: boolean;
name: string;
operations: string[];
status: "Active";
} & {
pendingChangeRequest?: {
approvalId?: string;
body: {
id: string;
isArchived: boolean;
isImmutable: boolean;
name: string;
operations: string[];
status: "Active";
};
dateCreated: string;
dateResolved?: string;
entityId: string;
id: string;
kind: "Permission";
operationKind: "Update";
requester: {
appId?: string;
tokenId?: string;
userId: string;
};
status: "Applied" | "Failed" | "Pending" | "Rejected";
};
}
Type declaration
-
dateCreated: string
-
dateUpdated: string
-
id: string
-
isArchived: boolean
-
isImmutable: boolean
-
name: string
-
operations: string[]
-
status: "Active"
Type declaration
-
Optional
pendingChangeRequest?: {
approvalId?: string;
body: {
id: string;
isArchived: boolean;
isImmutable: boolean;
name: string;
operations: string[];
status: "Active";
};
dateCreated: string;
dateResolved?: string;
entityId: string;
id: string;
kind: "Permission";
operationKind: "Update";
requester: {
appId?: string;
tokenId?: string;
userId: string;
};
status: "Applied" | "Failed" | "Pending" | "Rejected";
}
-
Optional
approvalId?: string
-
body: {
id: string;
isArchived: boolean;
isImmutable: boolean;
name: string;
operations: string[];
status: "Active";
}
-
id: string
-
isArchived: boolean
-
isImmutable: boolean
-
name: string
-
operations: string[]
-
status: "Active"
-
dateCreated: string
-
Optional
dateResolved?: string
-
entityId: string
-
id: string
-
kind: "Permission"
-
operationKind: "Update"
-
requester: {
appId?: string;
tokenId?: string;
userId: string;
}
-
Optional
appId?: string
-
Optional
tokenId?: string
-
userId: string
-
status: "Applied" | "Failed" | "Pending" | "Rejected"