@raystack/frontier 0.19.0 → 0.21.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.
@@ -64,213 +64,293 @@ declare const CreateOrganization: ({ title, description, ...props }: CreateOrgan
64
64
  interface OrganizationProfileProps {
65
65
  organizationId: string;
66
66
  defaultRoute?: string;
67
- tempShowBilling?: boolean;
68
- tempShowTokens?: boolean;
67
+ showBilling?: boolean;
68
+ showTokens?: boolean;
69
+ showPreferences?: boolean;
70
+ hideToast?: boolean;
69
71
  }
70
- declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_react_router.AnyContext, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, _tanstack_react_router.DeepMerge<Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">, _tanstack_react_router.DeepMerge<_tanstack_react_router.AnyContext, _tanstack_react_router.DeepMerge<_tanstack_react_router.RouteContext, {}>>>, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">, (Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
72
+ declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_react_router.AnyContext, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, _tanstack_react_router.DeepMerge<Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">, _tanstack_react_router.DeepMerge<_tanstack_react_router.AnyContext, _tanstack_react_router.DeepMerge<_tanstack_react_router.RouteContext, {}>>>, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">, (Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
71
73
  organizationId: string;
72
- tempShowBilling?: boolean | undefined;
73
- tempShowTokens?: boolean | undefined;
74
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
74
+ showBilling?: boolean | undefined;
75
+ showTokens?: boolean | undefined;
76
+ hideToast?: boolean | undefined;
77
+ showPreferences?: boolean | undefined;
78
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
75
79
  organizationId: string;
76
- tempShowBilling?: boolean | undefined;
77
- tempShowTokens?: boolean | undefined;
80
+ showBilling?: boolean | undefined;
81
+ showTokens?: boolean | undefined;
82
+ hideToast?: boolean | undefined;
83
+ showPreferences?: boolean | undefined;
78
84
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/delete", string, "/delete", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
79
85
  organizationId: string;
80
- tempShowBilling?: boolean | undefined;
81
- tempShowTokens?: boolean | undefined;
82
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/security", "/security", string, "/security", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
86
+ showBilling?: boolean | undefined;
87
+ showTokens?: boolean | undefined;
88
+ hideToast?: boolean | undefined;
89
+ showPreferences?: boolean | undefined;
90
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/security", "/security", string, "/security", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
83
91
  organizationId: string;
84
- tempShowBilling?: boolean | undefined;
85
- tempShowTokens?: boolean | undefined;
86
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
92
+ showBilling?: boolean | undefined;
93
+ showTokens?: boolean | undefined;
94
+ hideToast?: boolean | undefined;
95
+ showPreferences?: boolean | undefined;
96
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
87
97
  organizationId: string;
88
- tempShowBilling?: boolean | undefined;
89
- tempShowTokens?: boolean | undefined;
90
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
98
+ showBilling?: boolean | undefined;
99
+ showTokens?: boolean | undefined;
100
+ hideToast?: boolean | undefined;
101
+ showPreferences?: boolean | undefined;
102
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
91
103
  organizationId: string;
92
- tempShowBilling?: boolean | undefined;
93
- tempShowTokens?: boolean | undefined;
104
+ showBilling?: boolean | undefined;
105
+ showTokens?: boolean | undefined;
106
+ hideToast?: boolean | undefined;
107
+ showPreferences?: boolean | undefined;
94
108
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/members/modal", string, "/members/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
95
109
  organizationId: string;
96
- tempShowBilling?: boolean | undefined;
97
- tempShowTokens?: boolean | undefined;
98
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
110
+ showBilling?: boolean | undefined;
111
+ showTokens?: boolean | undefined;
112
+ hideToast?: boolean | undefined;
113
+ showPreferences?: boolean | undefined;
114
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
99
115
  organizationId: string;
100
- tempShowBilling?: boolean | undefined;
101
- tempShowTokens?: boolean | undefined;
102
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
116
+ showBilling?: boolean | undefined;
117
+ showTokens?: boolean | undefined;
118
+ hideToast?: boolean | undefined;
119
+ showPreferences?: boolean | undefined;
120
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
103
121
  organizationId: string;
104
- tempShowBilling?: boolean | undefined;
105
- tempShowTokens?: boolean | undefined;
122
+ showBilling?: boolean | undefined;
123
+ showTokens?: boolean | undefined;
124
+ hideToast?: boolean | undefined;
125
+ showPreferences?: boolean | undefined;
106
126
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/teams/modal", string, "/teams/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
107
127
  organizationId: string;
108
- tempShowBilling?: boolean | undefined;
109
- tempShowTokens?: boolean | undefined;
110
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
128
+ showBilling?: boolean | undefined;
129
+ showTokens?: boolean | undefined;
130
+ hideToast?: boolean | undefined;
131
+ showPreferences?: boolean | undefined;
132
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
111
133
  organizationId: string;
112
- tempShowBilling?: boolean | undefined;
113
- tempShowTokens?: boolean | undefined;
114
- }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
134
+ showBilling?: boolean | undefined;
135
+ showTokens?: boolean | undefined;
136
+ hideToast?: boolean | undefined;
137
+ showPreferences?: boolean | undefined;
138
+ }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
115
139
  organizationId: string;
116
- tempShowBilling?: boolean | undefined;
117
- tempShowTokens?: boolean | undefined;
140
+ showBilling?: boolean | undefined;
141
+ showTokens?: boolean | undefined;
142
+ hideToast?: boolean | undefined;
143
+ showPreferences?: boolean | undefined;
118
144
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/domains/modal", string, "/domains/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
119
145
  organizationId: string;
120
- tempShowBilling?: boolean | undefined;
121
- tempShowTokens?: boolean | undefined;
122
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
146
+ showBilling?: boolean | undefined;
147
+ showTokens?: boolean | undefined;
148
+ hideToast?: boolean | undefined;
149
+ showPreferences?: boolean | undefined;
150
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
123
151
  organizationId: string;
124
- tempShowBilling?: boolean | undefined;
125
- tempShowTokens?: boolean | undefined;
152
+ showBilling?: boolean | undefined;
153
+ showTokens?: boolean | undefined;
154
+ hideToast?: boolean | undefined;
155
+ showPreferences?: boolean | undefined;
126
156
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$domainId/verify", "/domains/$domainId/verify", string, "/domains/$domainId/verify", {}, unknown, {}, {}, {
127
157
  domainId: string;
128
158
  }, {
129
159
  domainId: string;
130
160
  }, _tanstack_react_router.RouteContext, {
131
161
  organizationId: string;
132
- tempShowBilling?: boolean | undefined;
133
- tempShowTokens?: boolean | undefined;
134
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
162
+ showBilling?: boolean | undefined;
163
+ showTokens?: boolean | undefined;
164
+ hideToast?: boolean | undefined;
165
+ showPreferences?: boolean | undefined;
166
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
135
167
  organizationId: string;
136
- tempShowBilling?: boolean | undefined;
137
- tempShowTokens?: boolean | undefined;
168
+ showBilling?: boolean | undefined;
169
+ showTokens?: boolean | undefined;
170
+ hideToast?: boolean | undefined;
171
+ showPreferences?: boolean | undefined;
138
172
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$domainId/delete", "/domains/$domainId/delete", string, "/domains/$domainId/delete", {}, unknown, {}, {}, {
139
173
  domainId: string;
140
174
  }, {
141
175
  domainId: string;
142
176
  }, _tanstack_react_router.RouteContext, {
143
177
  organizationId: string;
144
- tempShowBilling?: boolean | undefined;
145
- tempShowTokens?: boolean | undefined;
146
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
178
+ showBilling?: boolean | undefined;
179
+ showTokens?: boolean | undefined;
180
+ hideToast?: boolean | undefined;
181
+ showPreferences?: boolean | undefined;
182
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
147
183
  teamId: string;
148
184
  }, {
149
185
  teamId: string;
150
186
  }, _tanstack_react_router.RouteContext, {
151
187
  organizationId: string;
152
- tempShowBilling?: boolean | undefined;
153
- tempShowTokens?: boolean | undefined;
154
- }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
188
+ showBilling?: boolean | undefined;
189
+ showTokens?: boolean | undefined;
190
+ hideToast?: boolean | undefined;
191
+ showPreferences?: boolean | undefined;
192
+ }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
155
193
  teamId: string;
156
194
  }, {
157
195
  teamId: string;
158
196
  }, _tanstack_react_router.RouteContext, {
159
197
  organizationId: string;
160
- tempShowBilling?: boolean | undefined;
161
- tempShowTokens?: boolean | undefined;
198
+ showBilling?: boolean | undefined;
199
+ showTokens?: boolean | undefined;
200
+ hideToast?: boolean | undefined;
201
+ showPreferences?: boolean | undefined;
162
202
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/teams/$teamId/delete", string, "/teams/$teamId/delete", {}, unknown, {}, {}, {}, {
163
203
  teamId: string;
164
204
  }, _tanstack_react_router.RouteContext, {
165
205
  organizationId: string;
166
- tempShowBilling?: boolean | undefined;
167
- tempShowTokens?: boolean | undefined;
168
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
206
+ showBilling?: boolean | undefined;
207
+ showTokens?: boolean | undefined;
208
+ hideToast?: boolean | undefined;
209
+ showPreferences?: boolean | undefined;
210
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
169
211
  teamId: string;
170
212
  }, {
171
213
  teamId: string;
172
214
  }, _tanstack_react_router.RouteContext, {
173
215
  organizationId: string;
174
- tempShowBilling?: boolean | undefined;
175
- tempShowTokens?: boolean | undefined;
216
+ showBilling?: boolean | undefined;
217
+ showTokens?: boolean | undefined;
218
+ hideToast?: boolean | undefined;
219
+ showPreferences?: boolean | undefined;
176
220
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/invite", "/teams/$teamId/invite", string, "/teams/$teamId/invite", {}, unknown, {}, {}, {}, {
177
221
  teamId: string;
178
222
  }, _tanstack_react_router.RouteContext, {
179
223
  organizationId: string;
180
- tempShowBilling?: boolean | undefined;
181
- tempShowTokens?: boolean | undefined;
182
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
224
+ showBilling?: boolean | undefined;
225
+ showTokens?: boolean | undefined;
226
+ hideToast?: boolean | undefined;
227
+ showPreferences?: boolean | undefined;
228
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
183
229
  organizationId: string;
184
- tempShowBilling?: boolean | undefined;
185
- tempShowTokens?: boolean | undefined;
186
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
230
+ showBilling?: boolean | undefined;
231
+ showTokens?: boolean | undefined;
232
+ hideToast?: boolean | undefined;
233
+ showPreferences?: boolean | undefined;
234
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
187
235
  organizationId: string;
188
- tempShowBilling?: boolean | undefined;
189
- tempShowTokens?: boolean | undefined;
236
+ showBilling?: boolean | undefined;
237
+ showTokens?: boolean | undefined;
238
+ hideToast?: boolean | undefined;
239
+ showPreferences?: boolean | undefined;
190
240
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/projects/modal", string, "/projects/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
191
241
  organizationId: string;
192
- tempShowBilling?: boolean | undefined;
193
- tempShowTokens?: boolean | undefined;
194
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
242
+ showBilling?: boolean | undefined;
243
+ showTokens?: boolean | undefined;
244
+ hideToast?: boolean | undefined;
245
+ showPreferences?: boolean | undefined;
246
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
195
247
  projectId: string;
196
248
  }, {
197
249
  projectId: string;
198
250
  }, _tanstack_react_router.RouteContext, {
199
251
  organizationId: string;
200
- tempShowBilling?: boolean | undefined;
201
- tempShowTokens?: boolean | undefined;
202
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
252
+ showBilling?: boolean | undefined;
253
+ showTokens?: boolean | undefined;
254
+ hideToast?: boolean | undefined;
255
+ showPreferences?: boolean | undefined;
256
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
203
257
  projectId: string;
204
258
  }, {
205
259
  projectId: string;
206
260
  }, _tanstack_react_router.RouteContext, {
207
261
  organizationId: string;
208
- tempShowBilling?: boolean | undefined;
209
- tempShowTokens?: boolean | undefined;
262
+ showBilling?: boolean | undefined;
263
+ showTokens?: boolean | undefined;
264
+ hideToast?: boolean | undefined;
265
+ showPreferences?: boolean | undefined;
210
266
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/projects/$projectId/delete", string, "/projects/$projectId/delete", {}, unknown, {}, {}, {}, {
211
267
  projectId: string;
212
268
  }, _tanstack_react_router.RouteContext, {
213
269
  organizationId: string;
214
- tempShowBilling?: boolean | undefined;
215
- tempShowTokens?: boolean | undefined;
216
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/profile", "/profile", string, "/profile", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
270
+ showBilling?: boolean | undefined;
271
+ showTokens?: boolean | undefined;
272
+ hideToast?: boolean | undefined;
273
+ showPreferences?: boolean | undefined;
274
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/profile", "/profile", string, "/profile", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
217
275
  organizationId: string;
218
- tempShowBilling?: boolean | undefined;
219
- tempShowTokens?: boolean | undefined;
220
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/preferences", "/preferences", string, "/preferences", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
276
+ showBilling?: boolean | undefined;
277
+ showTokens?: boolean | undefined;
278
+ hideToast?: boolean | undefined;
279
+ showPreferences?: boolean | undefined;
280
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/preferences", "/preferences", string, "/preferences", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
221
281
  organizationId: string;
222
- tempShowBilling?: boolean | undefined;
223
- tempShowTokens?: boolean | undefined;
224
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
282
+ showBilling?: boolean | undefined;
283
+ showTokens?: boolean | undefined;
284
+ hideToast?: boolean | undefined;
285
+ showPreferences?: boolean | undefined;
286
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
225
287
  organizationId: string;
226
- tempShowBilling?: boolean | undefined;
227
- tempShowTokens?: boolean | undefined;
228
- }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
288
+ showBilling?: boolean | undefined;
289
+ showTokens?: boolean | undefined;
290
+ hideToast?: boolean | undefined;
291
+ showPreferences?: boolean | undefined;
292
+ }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
229
293
  organizationId: string;
230
- tempShowBilling?: boolean | undefined;
231
- tempShowTokens?: boolean | undefined;
294
+ showBilling?: boolean | undefined;
295
+ showTokens?: boolean | undefined;
296
+ hideToast?: boolean | undefined;
297
+ showPreferences?: boolean | undefined;
232
298
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$billingId/edit-address", "/billing/$billingId/edit-address", string, "/billing/$billingId/edit-address", {}, unknown, {}, {}, {
233
299
  billingId: string;
234
300
  }, {
235
301
  billingId: string;
236
302
  }, _tanstack_react_router.RouteContext, {
237
303
  organizationId: string;
238
- tempShowBilling?: boolean | undefined;
239
- tempShowTokens?: boolean | undefined;
240
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
304
+ showBilling?: boolean | undefined;
305
+ showTokens?: boolean | undefined;
306
+ hideToast?: boolean | undefined;
307
+ showPreferences?: boolean | undefined;
308
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
241
309
  organizationId: string;
242
- tempShowBilling?: boolean | undefined;
243
- tempShowTokens?: boolean | undefined;
310
+ showBilling?: boolean | undefined;
311
+ showTokens?: boolean | undefined;
312
+ hideToast?: boolean | undefined;
313
+ showPreferences?: boolean | undefined;
244
314
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/cycle-switch/$planId", "/billing/cycle-switch/$planId", string, "/billing/cycle-switch/$planId", {}, unknown, {}, {}, {
245
315
  planId: string;
246
316
  }, {
247
317
  planId: string;
248
318
  }, _tanstack_react_router.RouteContext, {
249
319
  organizationId: string;
250
- tempShowBilling?: boolean | undefined;
251
- tempShowTokens?: boolean | undefined;
252
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/plans", "/plans", string, "/plans", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
320
+ showBilling?: boolean | undefined;
321
+ showTokens?: boolean | undefined;
322
+ hideToast?: boolean | undefined;
323
+ showPreferences?: boolean | undefined;
324
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/plans", "/plans", string, "/plans", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
253
325
  organizationId: string;
254
- tempShowBilling?: boolean | undefined;
255
- tempShowTokens?: boolean | undefined;
256
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/plans", "/plans", string, "/plans", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
326
+ showBilling?: boolean | undefined;
327
+ showTokens?: boolean | undefined;
328
+ hideToast?: boolean | undefined;
329
+ showPreferences?: boolean | undefined;
330
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/plans", "/plans", string, "/plans", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
257
331
  organizationId: string;
258
- tempShowBilling?: boolean | undefined;
259
- tempShowTokens?: boolean | undefined;
332
+ showBilling?: boolean | undefined;
333
+ showTokens?: boolean | undefined;
334
+ hideToast?: boolean | undefined;
335
+ showPreferences?: boolean | undefined;
260
336
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/confirm-change/$planId", "/plans/confirm-change/$planId", string, "/plans/confirm-change/$planId", {}, unknown, {}, {}, {
261
337
  planId: string;
262
338
  }, {
263
339
  planId: string;
264
340
  }, _tanstack_react_router.RouteContext, {
265
341
  organizationId: string;
266
- tempShowBilling?: boolean | undefined;
267
- tempShowTokens?: boolean | undefined;
268
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/tokens", "/tokens", string, "/tokens", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
342
+ showBilling?: boolean | undefined;
343
+ showTokens?: boolean | undefined;
344
+ hideToast?: boolean | undefined;
345
+ showPreferences?: boolean | undefined;
346
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/tokens", "/tokens", string, "/tokens", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
269
347
  organizationId: string;
270
- tempShowBilling?: boolean | undefined;
271
- tempShowTokens?: boolean | undefined;
348
+ showBilling?: boolean | undefined;
349
+ showTokens?: boolean | undefined;
350
+ hideToast?: boolean | undefined;
351
+ showPreferences?: boolean | undefined;
272
352
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], any>, Record<string, any>>;
273
- declare const OrganizationProfile: ({ organizationId, defaultRoute, tempShowBilling, tempShowTokens }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
353
+ declare const OrganizationProfile: ({ organizationId, defaultRoute, showBilling, showTokens, showPreferences, hideToast }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
274
354
  declare module '@tanstack/react-router' {
275
355
  interface Register {
276
356
  router: typeof router;
@@ -736,6 +816,14 @@ interface V1Beta1CreatePlanResponse {
736
816
  /** Created plan */
737
817
  plan?: V1Beta1Plan;
738
818
  }
819
+ interface V1Beta1CreatePolicyForProjectBody {
820
+ /** unique id of the role to which policy is assigned */
821
+ role_id: string;
822
+ /** The title can contain any UTF-8 character, used to provide a human-readable name for the policy. Can also be left empty. <br/> *Example:* `Policy title` */
823
+ title?: string;
824
+ /** principal is the user or group to which policy is assigned. The principal id must be prefixed with its namespace id in this format `namespace:uuid`. The namespace can be `app/user`, `app/group` or `app/serviceuser` (coming up!) and uuid is the unique id of the principal. <br/> *Example:* `app/user:92f69c3a-334b-4f25-90b8-4d4f3be6b825` */
825
+ principal: string;
826
+ }
739
827
  interface V1Beta1CreatePolicyResponse {
740
828
  policy?: V1Beta1Policy;
741
829
  }
@@ -876,6 +964,10 @@ interface V1Beta1GetBillingBalanceResponse {
876
964
  /** Balance of the billing account */
877
965
  balance?: BillingAccountBalance;
878
966
  }
967
+ interface V1Beta1GetCheckoutResponse {
968
+ /** Checkout session */
969
+ checkout_session?: V1Beta1CheckoutSession;
970
+ }
879
971
  interface V1Beta1GetCurrentUserResponse {
880
972
  user?: V1Beta1User;
881
973
  serviceuser?: V1Beta1ServiceUser;
@@ -2141,6 +2233,23 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2141
2233
  */
2142
2234
  amount?: string;
2143
2235
  }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2236
+ /**
2237
+ * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
2238
+ *
2239
+ * @tags Checkout
2240
+ * @name AdminServiceDelegatedCheckout2
2241
+ * @summary Checkout a product or subscription
2242
+ * @request POST:/v1beta1/admin/organizations/{org_id}/billing/checkouts
2243
+ * @secure
2244
+ */
2245
+ adminServiceDelegatedCheckout2: (orgId: string, body: {
2246
+ /** ID of the billing account to update the subscription for */
2247
+ billing_id?: string;
2248
+ /** Subscription to create */
2249
+ subscription_body?: V1Beta1CheckoutSubscriptionBody;
2250
+ /** Product to buy */
2251
+ product_body?: V1Beta1CheckoutProductBody;
2252
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1DelegatedCheckoutResponse, RpcStatus>>;
2144
2253
  /**
2145
2254
  * @description Lists all the users added to the platform.
2146
2255
  *
@@ -2940,6 +3049,8 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2940
3049
  frontierServiceCreateBillingAccount: (orgId: string, body: {
2941
3050
  /** Billing account to create. */
2942
3051
  body?: V1Beta1BillingAccountRequestBody | undefined;
3052
+ /** Offline billing account don't get registered with billing provider */
3053
+ offline?: boolean | undefined;
2943
3054
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateBillingAccountResponse, RpcStatus>>;
2944
3055
  /**
2945
3056
  * @description Check if a billing account is entitled to a feature.
@@ -2988,6 +3099,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2988
3099
  /** Payment method setup */
2989
3100
  setup_body?: V1Beta1CheckoutSetupBody;
2990
3101
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCheckoutResponse, RpcStatus>>;
3102
+ /**
3103
+ * @description Get a checkout by ID.
3104
+ *
3105
+ * @tags Checkout
3106
+ * @name FrontierServiceGetCheckout
3107
+ * @summary Get checkout
3108
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/checkouts/{id}
3109
+ * @secure
3110
+ */
3111
+ frontierServiceGetCheckout: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetCheckoutResponse, RpcStatus>>;
2991
3112
  /**
2992
3113
  * @description List all invoices of a billing account.
2993
3114
  *
@@ -3097,6 +3218,10 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3097
3218
  frontierServiceListBillingTransactions: (orgId: string, billingId: string, query?: {
3098
3219
  /** @format date-time */
3099
3220
  since?: string;
3221
+ /** @format date-time */
3222
+ start_range?: string;
3223
+ /** @format date-time */
3224
+ end_range?: string;
3100
3225
  expand?: string[];
3101
3226
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, RpcStatus>>;
3102
3227
  /**
@@ -3163,6 +3288,26 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3163
3288
  * @secure
3164
3289
  */
3165
3290
  frontierServiceGetBillingBalance: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingBalanceResponse, RpcStatus>>;
3291
+ /**
3292
+ * @description Disable a billing account by ID. Disabling a billing account doesn't automatically disable it's active subscriptions.
3293
+ *
3294
+ * @tags Billing
3295
+ * @name FrontierServiceDisableBillingAccount
3296
+ * @summary Disable billing account
3297
+ * @request POST:/v1beta1/organizations/{org_id}/billing/{id}/disable
3298
+ * @secure
3299
+ */
3300
+ frontierServiceDisableBillingAccount: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3301
+ /**
3302
+ * @description Enable a billing account by ID.
3303
+ *
3304
+ * @tags Billing
3305
+ * @name FrontierServiceEnableBillingAccount
3306
+ * @summary Enable billing account
3307
+ * @request POST:/v1beta1/organizations/{org_id}/billing/{id}/enable
3308
+ * @secure
3309
+ */
3310
+ frontierServiceEnableBillingAccount: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3166
3311
  /**
3167
3312
  * @description Check if a billing account has trialed.
3168
3313
  *
@@ -3173,6 +3318,63 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3173
3318
  * @secure
3174
3319
  */
3175
3320
  frontierServiceHasTrialed: (orgId: string, id: string, planId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1HasTrialedResponse, RpcStatus>>;
3321
+ /**
3322
+ * @description Register a billing account to a provider if it's not already.
3323
+ *
3324
+ * @tags Billing
3325
+ * @name FrontierServiceRegisterBillingAccount
3326
+ * @summary Register billing account to provider
3327
+ * @request POST:/v1beta1/organizations/{org_id}/billing/{id}/register
3328
+ * @secure
3329
+ */
3330
+ frontierServiceRegisterBillingAccount: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3331
+ /**
3332
+ * @description List all checkouts of a billing account.
3333
+ *
3334
+ * @tags Checkout
3335
+ * @name FrontierServiceListCheckouts2
3336
+ * @summary List checkouts
3337
+ * @request GET:/v1beta1/organizations/{org_id}/billing/checkouts
3338
+ * @secure
3339
+ */
3340
+ frontierServiceListCheckouts2: (orgId: string, query?: {
3341
+ /** ID of the billing account to get the subscriptions for */
3342
+ billing_id?: string;
3343
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCheckoutsResponse, RpcStatus>>;
3344
+ /**
3345
+ * @description Checkout a product to buy it one time or start a subscription plan on a billing account.
3346
+ *
3347
+ * @tags Checkout
3348
+ * @name FrontierServiceCreateCheckout2
3349
+ * @summary Checkout a product or subscription
3350
+ * @request POST:/v1beta1/organizations/{org_id}/billing/checkouts
3351
+ * @secure
3352
+ */
3353
+ frontierServiceCreateCheckout2: (orgId: string, body: {
3354
+ /** ID of the billing account to update the subscription for */
3355
+ billing_id?: string;
3356
+ success_url?: string;
3357
+ cancel_url?: string;
3358
+ /** Subscription to create */
3359
+ subscription_body?: V1Beta1CheckoutSubscriptionBody;
3360
+ /** Product to buy */
3361
+ product_body?: V1Beta1CheckoutProductBody;
3362
+ /** Payment method setup */
3363
+ setup_body?: V1Beta1CheckoutSetupBody;
3364
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCheckoutResponse, RpcStatus>>;
3365
+ /**
3366
+ * @description Get a checkout by ID.
3367
+ *
3368
+ * @tags Checkout
3369
+ * @name FrontierServiceGetCheckout2
3370
+ * @summary Get checkout
3371
+ * @request GET:/v1beta1/organizations/{org_id}/billing/checkouts/{id}
3372
+ * @secure
3373
+ */
3374
+ frontierServiceGetCheckout2: (orgId: string, id: string, query?: {
3375
+ /** ID of the billing account to get the subscriptions for */
3376
+ billing_id?: string;
3377
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetCheckoutResponse, RpcStatus>>;
3176
3378
  /**
3177
3379
  * @description List all invoices of a billing account.
3178
3380
  *
@@ -3201,6 +3403,110 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3201
3403
  /** ID of the billing account to get the upcoming invoice for */
3202
3404
  billing_id?: string;
3203
3405
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetUpcomingInvoiceResponse, RpcStatus>>;
3406
+ /**
3407
+ * @description List subscriptions of a billing account.
3408
+ *
3409
+ * @tags Subscription
3410
+ * @name FrontierServiceListSubscriptions2
3411
+ * @summary List subscriptions
3412
+ * @request GET:/v1beta1/organizations/{org_id}/billing/subscriptions
3413
+ * @secure
3414
+ */
3415
+ frontierServiceListSubscriptions2: (orgId: string, query?: {
3416
+ /** ID of the billing account to list subscriptions for */
3417
+ billing_id?: string;
3418
+ /** Filter subscriptions by state */
3419
+ state?: string;
3420
+ plan?: string;
3421
+ expand?: string[];
3422
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListSubscriptionsResponse, RpcStatus>>;
3423
+ /**
3424
+ * @description Get a subscription by ID.
3425
+ *
3426
+ * @tags Subscription
3427
+ * @name FrontierServiceGetSubscription2
3428
+ * @summary Get subscription
3429
+ * @request GET:/v1beta1/organizations/{org_id}/billing/subscriptions/{id}
3430
+ * @secure
3431
+ */
3432
+ frontierServiceGetSubscription2: (orgId: string, id: string, query?: {
3433
+ /** ID of the billing account to get the subscription for */
3434
+ billing_id?: string;
3435
+ expand?: string[];
3436
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetSubscriptionResponse, RpcStatus>>;
3437
+ /**
3438
+ * @description Update a subscription by ID.
3439
+ *
3440
+ * @tags Subscription
3441
+ * @name FrontierServiceUpdateSubscription2
3442
+ * @summary Update subscription
3443
+ * @request POST:/v1beta1/organizations/{org_id}/billing/subscriptions/{id}
3444
+ * @secure
3445
+ */
3446
+ frontierServiceUpdateSubscription2: (orgId: string, id: string, body: {
3447
+ /** ID of the billing account to update the subscription for */
3448
+ billing_id?: string;
3449
+ metadata?: object;
3450
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateSubscriptionResponse, RpcStatus>>;
3451
+ /**
3452
+ * @description Cancel a subscription by ID.
3453
+ *
3454
+ * @tags Subscription
3455
+ * @name FrontierServiceCancelSubscription2
3456
+ * @summary Cancel subscription
3457
+ * @request POST:/v1beta1/organizations/{org_id}/billing/subscriptions/{id}/cancel
3458
+ * @secure
3459
+ */
3460
+ frontierServiceCancelSubscription2: (orgId: string, id: string, body: {
3461
+ /** ID of the billing account to update the subscription for */
3462
+ billing_id?: string;
3463
+ immediate?: boolean;
3464
+ }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3465
+ /**
3466
+ * @description Change a subscription plan by ID.
3467
+ *
3468
+ * @tags Subscription
3469
+ * @name FrontierServiceChangeSubscription2
3470
+ * @summary Change subscription plan
3471
+ * @request POST:/v1beta1/organizations/{org_id}/billing/subscriptions/{id}/change
3472
+ * @secure
3473
+ */
3474
+ frontierServiceChangeSubscription2: (orgId: string, id: string, body: {
3475
+ /** ID of the billing account to update the subscription for */
3476
+ billing_id?: string;
3477
+ /**
3478
+ * plan to change to
3479
+ * deprecated in favor of plan_change
3480
+ */
3481
+ plan?: string;
3482
+ /**
3483
+ * should the change be immediate or at the end of the current billing period
3484
+ * deprecated in favor of plan_change
3485
+ */
3486
+ immediate?: boolean;
3487
+ plan_change?: ChangeSubscriptionRequestPlanChange;
3488
+ phase_change?: ChangeSubscriptionRequestPhaseChange;
3489
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ChangeSubscriptionResponse, RpcStatus>>;
3490
+ /**
3491
+ * @description List all transactions of a billing account.
3492
+ *
3493
+ * @tags Transaction
3494
+ * @name FrontierServiceListBillingTransactions2
3495
+ * @summary List billing transactions
3496
+ * @request GET:/v1beta1/organizations/{org_id}/billing/transactions
3497
+ * @secure
3498
+ */
3499
+ frontierServiceListBillingTransactions2: (orgId: string, query?: {
3500
+ /** ID of the billing account to update the subscription for */
3501
+ billing_id?: string;
3502
+ /** @format date-time */
3503
+ since?: string;
3504
+ /** @format date-time */
3505
+ start_range?: string;
3506
+ /** @format date-time */
3507
+ end_range?: string;
3508
+ expand?: string[];
3509
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, RpcStatus>>;
3204
3510
  /**
3205
3511
  * @description Returns all domains whitelisted for an organization (both pending and verified if no filters are provided for the state). The verified domains allow users email with the org's whitelisted domain to join the organization without invitation.
3206
3512
  *
@@ -3633,6 +3939,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3633
3939
  * @secure
3634
3940
  */
3635
3941
  frontierServiceUpdatePolicy: (id: string, body: V1Beta1PolicyRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePolicyResponse, RpcStatus>>;
3942
+ /**
3943
+ * @description Create a policy for a project
3944
+ *
3945
+ * @tags Policy
3946
+ * @name FrontierServiceCreatePolicyForProject
3947
+ * @summary Create Policy for Project
3948
+ * @request POST:/v1beta1/policies/projects/{project_id}
3949
+ * @secure
3950
+ */
3951
+ frontierServiceCreatePolicyForProject: (projectId: string, body: V1Beta1CreatePolicyForProjectBody, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3636
3952
  /**
3637
3953
  * @description Returns a list of all preferences configured on an instance in Frontier. e.g user, project, organization etc
3638
3954
  *