@databutton/firebase-types 1.152.0 → 1.154.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.
@@ -95,6 +95,7 @@ export declare enum CollectionName {
95
95
  CONTEXT_FILES = "context-files",
96
96
  TOOL_CONFIGS = "tool-configs",
97
97
  PERFORMANCE_METRIC_CONFIGS = "performance-metric-configs",
98
+ DISPLAY_STRINGS = "display-strings",
98
99
  TASKS = "tasks",
99
100
  TOKEN_USAGE_ENTRIES = "entries",
100
101
  COMPUTE_HOUR_USAGE = "compute-hour-usage",
@@ -263,7 +264,11 @@ export declare enum CreateTeamAccountErrorCode {
263
264
  ACCOUNT_LIMIT_REACHED = "ACCOUNT_LIMIT_REACHED",
264
265
  INTERNAL_ERROR = "INTERNAL_ERROR",
265
266
  INVALID_USERNAME = "INVALID_USERNAME",
266
- USERNAME_TAKEN = "USERNAME_TAKEN"
267
+ USERNAME_TAKEN = "USERNAME_TAKEN",
268
+ PARENT_NOT_FOUND = "PARENT_NOT_FOUND",
269
+ PARENT_PERMISSION_DENIED = "PARENT_PERMISSION_DENIED",
270
+ SSO_INHERIT_NO_PARENT_CONFIG = "SSO_INHERIT_NO_PARENT_CONFIG",
271
+ TOP_LEVEL_REQUIRES_STAFF = "TOP_LEVEL_REQUIRES_STAFF"
267
272
  }
268
273
  export declare enum ProjectEnvConfigEnv {
269
274
  DEV = "dev",
@@ -96,6 +96,7 @@ export var CollectionName;
96
96
  CollectionName["CONTEXT_FILES"] = "context-files";
97
97
  CollectionName["TOOL_CONFIGS"] = "tool-configs";
98
98
  CollectionName["PERFORMANCE_METRIC_CONFIGS"] = "performance-metric-configs";
99
+ CollectionName["DISPLAY_STRINGS"] = "display-strings";
99
100
  CollectionName["TASKS"] = "tasks";
100
101
  CollectionName["TOKEN_USAGE_ENTRIES"] = "entries";
101
102
  CollectionName["COMPUTE_HOUR_USAGE"] = "compute-hour-usage";
@@ -289,6 +290,11 @@ export var CreateTeamAccountErrorCode;
289
290
  CreateTeamAccountErrorCode["INTERNAL_ERROR"] = "INTERNAL_ERROR";
290
291
  CreateTeamAccountErrorCode["INVALID_USERNAME"] = "INVALID_USERNAME";
291
292
  CreateTeamAccountErrorCode["USERNAME_TAKEN"] = "USERNAME_TAKEN";
293
+ CreateTeamAccountErrorCode["PARENT_NOT_FOUND"] = "PARENT_NOT_FOUND";
294
+ CreateTeamAccountErrorCode["PARENT_PERMISSION_DENIED"] = "PARENT_PERMISSION_DENIED";
295
+ CreateTeamAccountErrorCode["SSO_INHERIT_NO_PARENT_CONFIG"] = "SSO_INHERIT_NO_PARENT_CONFIG";
296
+ // Brand-new top-level accounts are staff-only; customers create sub-teams.
297
+ CreateTeamAccountErrorCode["TOP_LEVEL_REQUIRES_STAFF"] = "TOP_LEVEL_REQUIRES_STAFF";
292
298
  })(CreateTeamAccountErrorCode || (CreateTeamAccountErrorCode = {}));
293
299
  // Environments config can be defined for
294
300
  export var ProjectEnvConfigEnv;
@@ -2803,6 +2803,11 @@ export interface PerformanceMetricConfig {
2803
2803
  createdBy: PerformedBy;
2804
2804
  lastUpdatedBy: PerformedBy;
2805
2805
  }
2806
+ export interface DisplayString {
2807
+ value: string;
2808
+ updatedBy: PerformedBy;
2809
+ updatedAt: Timestamp;
2810
+ }
2806
2811
  export interface AgentImprovement {
2807
2812
  createdBy: PerformedBy;
2808
2813
  createdAt: Timestamp;
@@ -509,6 +509,8 @@ export type CreateTeamAccountRequest = {
509
509
  name: string;
510
510
  publicUsername?: string;
511
511
  teamType?: "internal" | "enterprise" | "enterprise_trial";
512
+ parentId?: string;
513
+ inheritParentSso?: boolean;
512
514
  };
513
515
  export type CreateTeamAccountResponse = {
514
516
  success: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.152.0",
3
+ "version": "1.154.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {