@databutton/firebase-types
Advanced tools
@@ -47,2 +47,3 @@ export declare enum CollectionName { | ||
| ACCOUNT_KNOWLEDGE_SUGGESTIONS = "knowledge-suggestions", | ||
| ACCOUNT_NOTIFICATIONS = "notifications", | ||
| ROLES = "roles", | ||
@@ -148,2 +149,3 @@ MESSAGES = "messages", | ||
| APPROVAL_REQUEST = "ar", | ||
| NOTIFICATION = "ntf", | ||
| LEGACY_UNUSED_JOB_DEPLOY = "jd", | ||
@@ -292,1 +294,4 @@ LEGACY_UNUSED_JOB = "jb", | ||
| } | ||
| export declare enum NotificationType { | ||
| AGENT_TASK_REQUIRE_INPUT = "agent-task-require-input" | ||
| } |
@@ -48,2 +48,3 @@ export var CollectionName; | ||
| CollectionName["ACCOUNT_KNOWLEDGE_SUGGESTIONS"] = "knowledge-suggestions"; | ||
| CollectionName["ACCOUNT_NOTIFICATIONS"] = "notifications"; | ||
| CollectionName["ROLES"] = "roles"; | ||
@@ -153,2 +154,3 @@ CollectionName["MESSAGES"] = "messages"; | ||
| DatabuttonIdPrefix["APPROVAL_REQUEST"] = "ar"; | ||
| DatabuttonIdPrefix["NOTIFICATION"] = "ntf"; | ||
| // | ||
@@ -320,2 +322,6 @@ DatabuttonIdPrefix["LEGACY_UNUSED_JOB_DEPLOY"] = "jd"; | ||
| })(AccountEmployeeCount || (AccountEmployeeCount = {})); | ||
| export var NotificationType; | ||
| (function (NotificationType) { | ||
| NotificationType["AGENT_TASK_REQUIRE_INPUT"] = "agent-task-require-input"; | ||
| })(NotificationType || (NotificationType = {})); | ||
| //# sourceMappingURL=enums.js.map |
@@ -103,5 +103,15 @@ import type { Timestamp } from "firebase/firestore"; | ||
| }; | ||
| export type AdminSetAccountTypePayload = { | ||
| customerId: string; | ||
| accountType: "internal" | "enterprise" | "enterprise_trial"; | ||
| }; | ||
| export type AdminSetAccountTypeResult = { | ||
| success: boolean; | ||
| }; | ||
| export type AdminCallableRequest = { | ||
| action: "addCredits"; | ||
| payload: AdminAddCreditsPayload; | ||
| } | { | ||
| action: "setAccountType"; | ||
| payload: AdminSetAccountTypePayload; | ||
| }; | ||
@@ -111,2 +121,5 @@ export type AdminCallableResponse = { | ||
| result: AdminAddCreditsResult; | ||
| } | { | ||
| action: "setAccountType"; | ||
| result: AdminSetAccountTypeResult; | ||
| }; | ||
@@ -491,2 +504,3 @@ export type CreateBillingPortalSessionRequest = { | ||
| publicUsername?: string; | ||
| teamType?: "internal" | "enterprise" | "enterprise_trial"; | ||
| }; | ||
@@ -493,0 +507,0 @@ export type CreateTeamAccountResponse = { |
+1
-1
| { | ||
| "name": "@databutton/firebase-types", | ||
| "version": "1.129.0", | ||
| "version": "1.130.0", | ||
| "main": "lib/types/published/index.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
125961
0.99%4036
0.98%