@databutton/firebase-types 1.115.0 → 1.117.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.
@@ -1458,6 +1458,7 @@ export interface ProjectCustomDomain {
1458
1458
  acmCertificateStatus?: CertificateStatus;
1459
1459
  apiPathPrefix?: string;
1460
1460
  apiHost?: string;
1461
+ frozenUntil?: Timestamp | null;
1461
1462
  /**
1462
1463
  * @deprecated Will be removed
1463
1464
  */
@@ -2056,11 +2057,12 @@ export interface CreditTransactionRecord {
2056
2057
  customerId: string;
2057
2058
  userId?: string | null;
2058
2059
  comment?: string | null;
2060
+ internalComment?: string | null;
2059
2061
  amountInCents: number;
2060
2062
  createdAt: Timestamp;
2061
2063
  projectId: string | null;
2062
2064
  recordedAt: Timestamp;
2063
- type: "creditsPurchased" | "computeHourUsed" | "agentUsed" | "manualAdjustment" | "monthlyReset";
2065
+ type: "creditsPurchased" | "computeHourUsed" | "agentUsed" | "manualAdjustment" | "adminAdjustment" | "monthlyReset";
2064
2066
  sourceRef: string | null;
2065
2067
  }
2066
2068
  export interface ComputeHourUsageRecord {
@@ -75,6 +75,11 @@ export type RefreshCertificateRequest = {
75
75
  domainName: string;
76
76
  };
77
77
  export type RefreshCertificateResponse = {};
78
+ export type ReactivateDomainRequest = {
79
+ domainName: string;
80
+ projectId: string;
81
+ };
82
+ export type ReactivateDomainResponse = {};
78
83
  export type AdminCommandsForPalleteRequest = {
79
84
  projectId: string;
80
85
  };
@@ -87,6 +92,22 @@ export type AdminCommandsForPalleteLink = {
87
92
  export type AdminCommandsForPalleteResponse = {
88
93
  links: AdminCommandsForPalleteLink[];
89
94
  };
95
+ export type AdminAddCreditsPayload = {
96
+ customerId: string;
97
+ credits: number;
98
+ reason: string;
99
+ };
100
+ export type AdminAddCreditsResult = {
101
+ success: boolean;
102
+ };
103
+ export type AdminCallableRequest = {
104
+ action: "addCredits";
105
+ payload: AdminAddCreditsPayload;
106
+ };
107
+ export type AdminCallableResponse = {
108
+ action: "addCredits";
109
+ result: AdminAddCreditsResult;
110
+ };
90
111
  export type CreateBillingPortalSessionRequest = {
91
112
  returnUrl: string;
92
113
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.115.0",
3
+ "version": "1.117.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {