feat(cc-050): add AiRequest, TenantMembership, Member types
This commit is contained in:
parent
b03761a293
commit
c92d3a81b5
1 changed files with 29 additions and 0 deletions
|
|
@ -250,3 +250,32 @@ export interface AuditLogEntry {
|
|||
correlationId: string | null;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface AiRequest {
|
||||
id: string;
|
||||
tenantId: string;
|
||||
workspaceId: string | null;
|
||||
requestedByUserId: string;
|
||||
purpose: string;
|
||||
actionClass: string;
|
||||
contextManifestHash: string;
|
||||
model: string;
|
||||
templateVersion: string | null;
|
||||
costUsd: string | null;
|
||||
resultStatus: string;
|
||||
createdAt: string;
|
||||
completedAt: string | null;
|
||||
}
|
||||
|
||||
export interface TenantMembership {
|
||||
tenantId: string;
|
||||
tenantName: string;
|
||||
role: 'owner' | 'admin' | 'member';
|
||||
}
|
||||
|
||||
export interface Member {
|
||||
userId: string;
|
||||
email: string | null;
|
||||
role: 'owner' | 'admin' | 'member';
|
||||
createdAt: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue