@databutton/firebase-types 1.155.2 → 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.
|
@@ -108,12 +108,58 @@ export type AdminSetAccountTypePayload = {
|
|
|
108
108
|
export type AdminSetAccountTypeResult = {
|
|
109
109
|
success: boolean;
|
|
110
110
|
};
|
|
111
|
+
export type AdminApplyParentSsoPayload = {
|
|
112
|
+
accountId: string;
|
|
113
|
+
};
|
|
114
|
+
export type AdminApplyParentSsoResult = {
|
|
115
|
+
success: boolean;
|
|
116
|
+
};
|
|
117
|
+
export type AdminApplyParentPoliciesPayload = {
|
|
118
|
+
accountId: string;
|
|
119
|
+
};
|
|
120
|
+
export type AdminApplyParentPoliciesResult = {
|
|
121
|
+
success: boolean;
|
|
122
|
+
};
|
|
123
|
+
export type AdminNullOutPlanPayload = {
|
|
124
|
+
accountId: string;
|
|
125
|
+
};
|
|
126
|
+
export type AdminNullOutPlanResult = {
|
|
127
|
+
success: boolean;
|
|
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
|
+
};
|
|
111
142
|
export type AdminCallableRequest = {
|
|
112
143
|
action: "addCredits";
|
|
113
144
|
payload: AdminAddCreditsPayload;
|
|
114
145
|
} | {
|
|
115
146
|
action: "setAccountType";
|
|
116
147
|
payload: AdminSetAccountTypePayload;
|
|
148
|
+
} | {
|
|
149
|
+
action: "applyParentSso";
|
|
150
|
+
payload: AdminApplyParentSsoPayload;
|
|
151
|
+
} | {
|
|
152
|
+
action: "applyParentPolicies";
|
|
153
|
+
payload: AdminApplyParentPoliciesPayload;
|
|
154
|
+
} | {
|
|
155
|
+
action: "nullOutPlan";
|
|
156
|
+
payload: AdminNullOutPlanPayload;
|
|
157
|
+
} | {
|
|
158
|
+
action: "attachToParent";
|
|
159
|
+
payload: AdminAttachToParentPayload;
|
|
160
|
+
} | {
|
|
161
|
+
action: "detachFromParent";
|
|
162
|
+
payload: AdminDetachFromParentPayload;
|
|
117
163
|
};
|
|
118
164
|
export type AdminCallableResponse = {
|
|
119
165
|
action: "addCredits";
|
|
@@ -121,6 +167,21 @@ export type AdminCallableResponse = {
|
|
|
121
167
|
} | {
|
|
122
168
|
action: "setAccountType";
|
|
123
169
|
result: AdminSetAccountTypeResult;
|
|
170
|
+
} | {
|
|
171
|
+
action: "applyParentSso";
|
|
172
|
+
result: AdminApplyParentSsoResult;
|
|
173
|
+
} | {
|
|
174
|
+
action: "applyParentPolicies";
|
|
175
|
+
result: AdminApplyParentPoliciesResult;
|
|
176
|
+
} | {
|
|
177
|
+
action: "nullOutPlan";
|
|
178
|
+
result: AdminNullOutPlanResult;
|
|
179
|
+
} | {
|
|
180
|
+
action: "attachToParent";
|
|
181
|
+
result: AdminAttachToParentResult;
|
|
182
|
+
} | {
|
|
183
|
+
action: "detachFromParent";
|
|
184
|
+
result: AdminDetachFromParentResult;
|
|
124
185
|
};
|
|
125
186
|
export type CreateBillingPortalSessionRequest = {
|
|
126
187
|
returnUrl: string;
|