@databutton/firebase-types 1.99.1 → 1.99.3

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.
@@ -3,6 +3,7 @@ export declare enum CollectionName {
3
3
  ACCOUNT_LISTS = "account-lists",
4
4
  AGENT_SKILLS = "agent-skills",
5
5
  API_KEYS = "api-keys",
6
+ API_VERSIONS = "api-versions",
6
7
  ADMIN_CONFIG = "admin-config",
7
8
  AUDIT_LOGS = "audit-logs",
8
9
  APPBUTLERS = "appbutlers",
@@ -4,6 +4,7 @@ export var CollectionName;
4
4
  CollectionName["ACCOUNT_LISTS"] = "account-lists";
5
5
  CollectionName["AGENT_SKILLS"] = "agent-skills";
6
6
  CollectionName["API_KEYS"] = "api-keys";
7
+ CollectionName["API_VERSIONS"] = "api-versions";
7
8
  CollectionName["ADMIN_CONFIG"] = "admin-config";
8
9
  CollectionName["AUDIT_LOGS"] = "audit-logs";
9
10
  CollectionName["APPBUTLERS"] = "appbutlers";
@@ -1073,6 +1073,11 @@ export interface IntegrationTemplateSummary {
1073
1073
  managedBy: "riff" | "riff-custom" | "community";
1074
1074
  apiVersion?: IntegrationApiVersion;
1075
1075
  enabledForAccountIds?: string[];
1076
+ /**
1077
+ * Riff-oauth are integrations that use our provided Riff OAuth flow
1078
+ * Any integration using a custom flow should have usage descriubed in the guide field
1079
+ */
1080
+ authStrategy: "riff-oauth" | "oauth" | "api-key" | "custom";
1076
1081
  needsGatewayAppConnection?: boolean;
1077
1082
  aliases?: {
1078
1083
  name: string;
@@ -1142,7 +1147,10 @@ export interface Integration {
1142
1147
  gatewayMetadata?: GatewayIntegrationMetadata;
1143
1148
  }
1144
1149
  export interface ApiVersion {
1150
+ createdBy: PerformedBy;
1145
1151
  openApiArtifactRef: string;
1152
+ projectId: string | null;
1153
+ deploymentId: string | null;
1146
1154
  }
1147
1155
  /**
1148
1156
  * Integration learnings (account or project level)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.99.1",
3
+ "version": "1.99.3",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {