@databutton/firebase-types 1.102.3 → 1.104.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.
|
@@ -73,6 +73,11 @@ export interface Account {
|
|
|
73
73
|
* Identifier for the special account wide project for knowledgebase
|
|
74
74
|
*/
|
|
75
75
|
knowledgeBaseProjectId?: string;
|
|
76
|
+
/**
|
|
77
|
+
* For each member of an account we spin up a special project that is used by them to have access to devx
|
|
78
|
+
* when talking to an account wide agent (knowledgebase etc.). These should be hidden from users by default.
|
|
79
|
+
*/
|
|
80
|
+
userAccountLevelProjectIds: Record<string, string>;
|
|
76
81
|
}
|
|
77
82
|
interface AccountConfigBase {
|
|
78
83
|
enabledBy: PerformedBy;
|
|
@@ -1239,6 +1244,7 @@ export interface Project {
|
|
|
1239
1244
|
variant: ProjectVariant;
|
|
1240
1245
|
/**
|
|
1241
1246
|
* Identifier for special projects that should be hidden from the user when in use for the knowledgebase feature
|
|
1247
|
+
* TODO: replace with a different name
|
|
1242
1248
|
*/
|
|
1243
1249
|
isAccountKnowledgeProject?: boolean;
|
|
1244
1250
|
migratedFromDatabutton?: boolean;
|
|
@@ -459,4 +459,26 @@ export type CreateTeamAccountResponse = {
|
|
|
459
459
|
success: false;
|
|
460
460
|
errorCode: CreateTeamAccountErrorCode;
|
|
461
461
|
};
|
|
462
|
+
export type CreateKnowledgeBaseProjectRequest = {
|
|
463
|
+
accountId: string;
|
|
464
|
+
projectTemplateId?: string;
|
|
465
|
+
};
|
|
466
|
+
export type CreateKnowledgeBaseProjectResponse = {
|
|
467
|
+
success: true;
|
|
468
|
+
projectId: string;
|
|
469
|
+
} | {
|
|
470
|
+
success: false;
|
|
471
|
+
errorCode: string;
|
|
472
|
+
errorMessage?: string;
|
|
473
|
+
};
|
|
474
|
+
export type LinkKnowledgeBaseIntegrationsRequest = {
|
|
475
|
+
accountId: string;
|
|
476
|
+
};
|
|
477
|
+
export type LinkKnowledgeBaseIntegrationsResponse = {
|
|
478
|
+
success: true;
|
|
479
|
+
} | {
|
|
480
|
+
success: false;
|
|
481
|
+
errorCode: string;
|
|
482
|
+
errorMessage?: string;
|
|
483
|
+
};
|
|
462
484
|
export {};
|