@databutton/firebase-types 1.156.0 → 1.157.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.
|
@@ -126,6 +126,19 @@ export type AdminNullOutPlanPayload = {
|
|
|
126
126
|
export type AdminNullOutPlanResult = {
|
|
127
127
|
success: boolean;
|
|
128
128
|
};
|
|
129
|
+
export type AdminAttachToParentPayload = {
|
|
130
|
+
accountId: string;
|
|
131
|
+
parentId: string;
|
|
132
|
+
};
|
|
133
|
+
export type AdminAttachToParentResult = {
|
|
134
|
+
success: boolean;
|
|
135
|
+
};
|
|
136
|
+
export type AdminDetachFromParentPayload = {
|
|
137
|
+
accountId: string;
|
|
138
|
+
};
|
|
139
|
+
export type AdminDetachFromParentResult = {
|
|
140
|
+
success: boolean;
|
|
141
|
+
};
|
|
129
142
|
export type AdminCallableRequest = {
|
|
130
143
|
action: "addCredits";
|
|
131
144
|
payload: AdminAddCreditsPayload;
|
|
@@ -141,6 +154,12 @@ export type AdminCallableRequest = {
|
|
|
141
154
|
} | {
|
|
142
155
|
action: "nullOutPlan";
|
|
143
156
|
payload: AdminNullOutPlanPayload;
|
|
157
|
+
} | {
|
|
158
|
+
action: "attachToParent";
|
|
159
|
+
payload: AdminAttachToParentPayload;
|
|
160
|
+
} | {
|
|
161
|
+
action: "detachFromParent";
|
|
162
|
+
payload: AdminDetachFromParentPayload;
|
|
144
163
|
};
|
|
145
164
|
export type AdminCallableResponse = {
|
|
146
165
|
action: "addCredits";
|
|
@@ -157,6 +176,12 @@ export type AdminCallableResponse = {
|
|
|
157
176
|
} | {
|
|
158
177
|
action: "nullOutPlan";
|
|
159
178
|
result: AdminNullOutPlanResult;
|
|
179
|
+
} | {
|
|
180
|
+
action: "attachToParent";
|
|
181
|
+
result: AdminAttachToParentResult;
|
|
182
|
+
} | {
|
|
183
|
+
action: "detachFromParent";
|
|
184
|
+
result: AdminDetachFromParentResult;
|
|
160
185
|
};
|
|
161
186
|
export type CreateBillingPortalSessionRequest = {
|
|
162
187
|
returnUrl: string;
|