@databutton/firebase-types 1.111.0 → 1.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -109,6 +109,11 @@ export interface Account {
|
|
|
109
109
|
* Format is: <userID, projectID>
|
|
110
110
|
*/
|
|
111
111
|
userAccountLevelProjectIds: Record<string, string>;
|
|
112
|
+
/**
|
|
113
|
+
* Set when the account has been soft-deleted by an admin.
|
|
114
|
+
* Soft-deleted accounts are excluded from queries and their projects are also soft-deleted.
|
|
115
|
+
*/
|
|
116
|
+
markedForDeletionBy?: PerformedBy | null;
|
|
112
117
|
}
|
|
113
118
|
interface AccountConfigBase {
|
|
114
119
|
enabledBy: PerformedBy;
|
|
@@ -494,4 +494,10 @@ export type CreateAgentProjectResponse = {
|
|
|
494
494
|
errorCode: string;
|
|
495
495
|
errorMessage?: string;
|
|
496
496
|
};
|
|
497
|
+
export type DeleteAccountRequest = {
|
|
498
|
+
accountId: string;
|
|
499
|
+
};
|
|
500
|
+
export type DeleteAccountResponse = {
|
|
501
|
+
success: boolean;
|
|
502
|
+
};
|
|
497
503
|
export {};
|