@databutton/firebase-types 1.180.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.
|
@@ -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;
|