@databutton/firebase-types 1.179.0 → 1.181.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.
@@ -1324,7 +1324,7 @@ export interface IntegrationTemplate {
1324
1324
  * Riff-oauth are integrations that use our provided Riff OAuth flow
1325
1325
  * Any integration using a custom flow should have usage descriubed in the guide field
1326
1326
  */
1327
- authStrategy: "riff-oauth" | "oauth" | "api-key" | "custom";
1327
+ authStrategy: "riff-oauth" | "oauth" | "api-key" | "custom" | "egress-proxy";
1328
1328
  requiredCredentials: {
1329
1329
  key: string;
1330
1330
  optional?: boolean;
@@ -1388,7 +1388,7 @@ export interface IntegrationTemplateVersion {
1388
1388
  name: string;
1389
1389
  };
1390
1390
  optionalScopes?: IntegrationScope[];
1391
- authStrategy: "riff-oauth" | "oauth" | "api-key" | "custom";
1391
+ authStrategy: "riff-oauth" | "oauth" | "api-key" | "custom" | "egress-proxy";
1392
1392
  requiredCredentials: {
1393
1393
  key: string;
1394
1394
  optional?: boolean;
@@ -183,6 +183,18 @@ export type AdminConnectApiGatewayIntegrationResult = {
183
183
  success: boolean;
184
184
  message: string;
185
185
  };
186
+ export type AdminBulkLinkAccountIntegrationPayload = {
187
+ accountId: string;
188
+ accountIntegrationLabel: string;
189
+ projectIds: string[];
190
+ };
191
+ export type AdminBulkLinkAccountIntegrationResult = {
192
+ linked: string[];
193
+ failed: {
194
+ projectId: string;
195
+ error: string;
196
+ }[];
197
+ };
186
198
  export type AdminUpdateMemberRolePayload = {
187
199
  accountId: string;
188
200
  email: string;
@@ -248,6 +260,9 @@ export type AdminCallableRequest = {
248
260
  } | {
249
261
  action: "updateMemberRole";
250
262
  payload: AdminUpdateMemberRolePayload;
263
+ } | {
264
+ action: "bulkLinkAccountIntegration";
265
+ payload: AdminBulkLinkAccountIntegrationPayload;
251
266
  };
252
267
  export type AdminCallableResponse = {
253
268
  action: "addCredits";
@@ -288,6 +303,9 @@ export type AdminCallableResponse = {
288
303
  } | {
289
304
  action: "updateMemberRole";
290
305
  result: AdminUpdateMemberRoleResult;
306
+ } | {
307
+ action: "bulkLinkAccountIntegration";
308
+ result: AdminBulkLinkAccountIntegrationResult;
291
309
  };
292
310
  export type CreateBillingPortalSessionRequest = {
293
311
  returnUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.179.0",
3
+ "version": "1.181.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {