@raystack/frontier 0.18.0 → 0.20.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raystack/frontier",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "A js library for frontier",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -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;