@databutton/firebase-types 1.111.0 → 1.113.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;
@@ -1113,6 +1118,7 @@ export interface IntegrationTemplate {
1113
1118
  authStrategy: "riff-oauth" | "oauth" | "api-key" | "custom";
1114
1119
  requiredCredentials: {
1115
1120
  key: string;
1121
+ optional?: boolean;
1116
1122
  }[];
1117
1123
  /**
1118
1124
  * human/agent-readable notes (scopes, pagination, rate limits, usage examples). Living document. used by agent, and for debug
@@ -1176,6 +1182,7 @@ export interface IntegrationTemplateVersion {
1176
1182
  authStrategy: "riff-oauth" | "oauth" | "api-key" | "custom";
1177
1183
  requiredCredentials: {
1178
1184
  key: string;
1185
+ optional?: boolean;
1179
1186
  }[];
1180
1187
  guide: string | null;
1181
1188
  documentationUrls: {
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.111.0",
3
+ "version": "1.113.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {