@databutton/firebase-types 1.155.2 → 1.156.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,39 @@ 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
+ };
111
129
  export type AdminCallableRequest = {
112
130
  action: "addCredits";
113
131
  payload: AdminAddCreditsPayload;
114
132
  } | {
115
133
  action: "setAccountType";
116
134
  payload: AdminSetAccountTypePayload;
135
+ } | {
136
+ action: "applyParentSso";
137
+ payload: AdminApplyParentSsoPayload;
138
+ } | {
139
+ action: "applyParentPolicies";
140
+ payload: AdminApplyParentPoliciesPayload;
141
+ } | {
142
+ action: "nullOutPlan";
143
+ payload: AdminNullOutPlanPayload;
117
144
  };
118
145
  export type AdminCallableResponse = {
119
146
  action: "addCredits";
@@ -121,6 +148,15 @@ export type AdminCallableResponse = {
121
148
  } | {
122
149
  action: "setAccountType";
123
150
  result: AdminSetAccountTypeResult;
151
+ } | {
152
+ action: "applyParentSso";
153
+ result: AdminApplyParentSsoResult;
154
+ } | {
155
+ action: "applyParentPolicies";
156
+ result: AdminApplyParentPoliciesResult;
157
+ } | {
158
+ action: "nullOutPlan";
159
+ result: AdminNullOutPlanResult;
124
160
  };
125
161
  export type CreateBillingPortalSessionRequest = {
126
162
  returnUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.155.2",
3
+ "version": "1.156.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {