@raystack/frontier 0.39.0 → 0.40.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.
@@ -92,83 +92,6 @@ interface CustomRoutes {
92
92
  User: Pick<CustomScreen, 'name' | 'path'>[];
93
93
  }
94
94
 
95
- declare const router: _tanstack_react_router.Router<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
96
- customRoutes: CustomRoutes;
97
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
98
- customRoutes: CustomRoutes;
99
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/", "/", string, "/", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
100
- customRoutes: CustomRoutes;
101
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/", "/", string, "/", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/delete", "/delete", string, "/delete", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
102
- customRoutes: CustomRoutes;
103
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/security", "/security", string, "/security", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
104
- customRoutes: CustomRoutes;
105
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/members", "/members", string, "/members", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
106
- customRoutes: CustomRoutes;
107
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/members", "/members", string, "/members", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/members/modal", string, "/members/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
108
- customRoutes: CustomRoutes;
109
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/members", "/members", string, "/members", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/remove-member/$memberId/$invited", "/members/remove-member/$memberId/$invited", string, "/members/remove-member/$memberId/$invited", undefined, Record<"memberId" | "invited", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
110
- customRoutes: CustomRoutes;
111
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams", "/teams", string, "/teams", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
112
- customRoutes: CustomRoutes;
113
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams", "/teams", string, "/teams", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/teams/modal", string, "/teams/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
114
- customRoutes: CustomRoutes;
115
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
116
- customRoutes: CustomRoutes;
117
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/domains/modal", string, "/domains/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
118
- customRoutes: CustomRoutes;
119
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/$domainId/verify", "/domains/$domainId/verify", string, "/domains/$domainId/verify", undefined, Record<"domainId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
120
- customRoutes: CustomRoutes;
121
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/$domainId/delete", "/domains/$domainId/delete", string, "/domains/$domainId/delete", undefined, Record<"domainId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
122
- customRoutes: CustomRoutes;
123
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", undefined, Record<"teamId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
124
- customRoutes: CustomRoutes;
125
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", undefined, Record<"teamId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/delete", "/teams/$teamId/delete", string, "/teams/$teamId/delete", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
126
- customRoutes: CustomRoutes;
127
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", undefined, Record<"teamId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/invite", "/teams/$teamId/invite", string, "/teams/$teamId/invite", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
128
- customRoutes: CustomRoutes;
129
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects", "/projects", string, "/projects", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
130
- customRoutes: CustomRoutes;
131
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects", "/projects", string, "/projects", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/projects/modal", string, "/projects/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
132
- customRoutes: CustomRoutes;
133
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", undefined, Record<"projectId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
134
- customRoutes: CustomRoutes;
135
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", undefined, Record<"projectId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/delete", "/projects/$projectId/delete", string, "/projects/$projectId/delete", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
136
- customRoutes: CustomRoutes;
137
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/profile", "/profile", string, "/profile", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
138
- customRoutes: CustomRoutes;
139
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/preferences", "/preferences", string, "/preferences", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
140
- customRoutes: CustomRoutes;
141
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/billing", "/billing", string, "/billing", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
142
- customRoutes: CustomRoutes;
143
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/billing", "/billing", string, "/billing", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/cycle-switch/$planId", "/billing/cycle-switch/$planId", string, "/billing/cycle-switch/$planId", undefined, Record<"planId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
144
- customRoutes: CustomRoutes;
145
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/plans", "/plans", string, "/plans", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
146
- customRoutes: CustomRoutes;
147
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/plans", "/plans", string, "/plans", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/confirm-change/$planId", "/plans/confirm-change/$planId", string, "/plans/confirm-change/$planId", undefined, Record<"planId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
148
- customRoutes: CustomRoutes;
149
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/tokens", "/tokens", string, "/tokens", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
150
- customRoutes: CustomRoutes;
151
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/api-keys", "/api-keys", string, "/api-keys", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
152
- customRoutes: CustomRoutes;
153
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/api-keys", "/api-keys", string, "/api-keys", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/add", "/api-keys/add", string, "/api-keys/add", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
154
- customRoutes: CustomRoutes;
155
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/api-keys/$id", "/api-keys/$id", string, "/api-keys/$id", undefined, Record<"id", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, ..._tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
156
- customRoutes: CustomRoutes;
157
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, string, "/", string, "__root__", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>[]], unknown>, _tanstack_react_router.TrailingSlashOption, Record<string, any>, Record<string, any>>;
158
- declare const OrganizationProfile: ({ organizationId, defaultRoute, showBilling, showTokens, showAPIKeys, showPreferences, hideToast, customScreens }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
159
- declare module '@tanstack/react-router' {
160
- interface Register {
161
- router: typeof router;
162
- }
163
- }
164
-
165
- interface WindowProps extends React.HTMLAttributes<HTMLDialogElement> {
166
- open?: boolean;
167
- onOpenChange?: (open: boolean) => void;
168
- children?: React.ReactNode;
169
- }
170
- declare const Window: ({ open, onOpenChange, children, ...props }: WindowProps) => react_jsx_runtime.JSX.Element;
171
-
172
95
  type QueryParamsType = Record<string | number, any>;
173
96
  type ResponseFormat = keyof Omit<Body, 'body' | 'bodyUsed'>;
174
97
  interface FullRequestParams extends Omit<RequestInit, 'body'> {
@@ -634,11 +557,6 @@ interface V1Beta1CreateServiceUserCredentialResponse {
634
557
  interface V1Beta1CreateServiceUserJWKResponse {
635
558
  key?: V1Beta1KeyCredential;
636
559
  }
637
- interface V1Beta1CreateServiceUserRequest {
638
- body?: V1Beta1ServiceUserRequestBody;
639
- /** The organization ID to which the service user belongs to. */
640
- org_id: string;
641
- }
642
560
  interface V1Beta1CreateServiceUserResponse {
643
561
  serviceuser?: V1Beta1ServiceUser;
644
562
  }
@@ -2035,6 +1953,24 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2035
1953
  */
2036
1954
  amount?: string;
2037
1955
  }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
1956
+ /**
1957
+ * @description Update billing account limits.
1958
+ *
1959
+ * @tags Billing
1960
+ * @name AdminServiceUpdateBillingAccountLimits
1961
+ * @summary Update billing account limits
1962
+ * @request PUT:/v1beta1/admin/organizations/{org_id}/billing/{id}/limits
1963
+ * @secure
1964
+ */
1965
+ adminServiceUpdateBillingAccountLimits: (orgId: string, id: string, body: {
1966
+ /**
1967
+ * credit_min is the minimum credit limit for the billing account
1968
+ * default is 0, negative numbers work as overdraft, positive
1969
+ * numbers work as minimum purchase limit
1970
+ * @format int64
1971
+ */
1972
+ credit_min?: string;
1973
+ }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2038
1974
  /**
2039
1975
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
2040
1976
  *
@@ -3601,6 +3537,144 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3601
3537
  * @secure
3602
3538
  */
3603
3539
  frontierServiceUpdateOrganizationRole: (orgId: string, id: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateOrganizationRoleResponse, RpcStatus>>;
3540
+ /**
3541
+ * @description Create a service user.
3542
+ *
3543
+ * @tags ServiceUser
3544
+ * @name FrontierServiceCreateServiceUser
3545
+ * @summary Create service user
3546
+ * @request POST:/v1beta1/organizations/{org_id}/serviceusers
3547
+ * @secure
3548
+ */
3549
+ frontierServiceCreateServiceUser: (orgId: string, body: {
3550
+ body?: V1Beta1ServiceUserRequestBody;
3551
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserResponse, RpcStatus>>;
3552
+ /**
3553
+ * @description Get service user details by its id.
3554
+ *
3555
+ * @tags ServiceUser
3556
+ * @name FrontierServiceGetServiceUser
3557
+ * @summary Get service user
3558
+ * @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}
3559
+ * @secure
3560
+ */
3561
+ frontierServiceGetServiceUser: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserResponse, RpcStatus>>;
3562
+ /**
3563
+ * @description Delete a service user permanently and all of its relations (keys, organizations, roles, etc)
3564
+ *
3565
+ * @tags ServiceUser
3566
+ * @name FrontierServiceDeleteServiceUser
3567
+ * @summary Delete service user
3568
+ * @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}
3569
+ * @secure
3570
+ */
3571
+ frontierServiceDeleteServiceUser: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3572
+ /**
3573
+ * @description List all the keys of a service user with its details except jwk.
3574
+ *
3575
+ * @tags ServiceUser
3576
+ * @name FrontierServiceListServiceUserJwKs
3577
+ * @summary List service user keys
3578
+ * @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/keys
3579
+ * @secure
3580
+ */
3581
+ frontierServiceListServiceUserJwKs: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserJWKsResponse, RpcStatus>>;
3582
+ /**
3583
+ * @description Generate a service user key and return it, the private key part of the response will not be persisted and should be kept securely by client.
3584
+ *
3585
+ * @tags ServiceUser
3586
+ * @name FrontierServiceCreateServiceUserJwk
3587
+ * @summary Create service user public/private key pair
3588
+ * @request POST:/v1beta1/organizations/{org_id}/serviceusers/{id}/keys
3589
+ * @secure
3590
+ */
3591
+ frontierServiceCreateServiceUserJwk: (orgId: string, id: string, body: {
3592
+ title?: string;
3593
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserJWKResponse, RpcStatus>>;
3594
+ /**
3595
+ * @description Get a service user public RSA JWK set.
3596
+ *
3597
+ * @tags ServiceUser
3598
+ * @name FrontierServiceGetServiceUserJwk
3599
+ * @summary Get service user key
3600
+ * @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/keys/{key_id}
3601
+ * @secure
3602
+ */
3603
+ frontierServiceGetServiceUserJwk: (orgId: string, id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserJWKResponse, RpcStatus>>;
3604
+ /**
3605
+ * @description Delete a service user key permanently.
3606
+ *
3607
+ * @tags ServiceUser
3608
+ * @name FrontierServiceDeleteServiceUserJwk
3609
+ * @summary Delete service user key
3610
+ * @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}/keys/{key_id}
3611
+ * @secure
3612
+ */
3613
+ frontierServiceDeleteServiceUserJwk: (orgId: string, id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3614
+ /**
3615
+ * @description List all the credentials of a service user.
3616
+ *
3617
+ * @tags ServiceUser
3618
+ * @name FrontierServiceListServiceUserCredentials
3619
+ * @summary List service user credentials
3620
+ * @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/secrets
3621
+ * @secure
3622
+ */
3623
+ frontierServiceListServiceUserCredentials: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserCredentialsResponse, RpcStatus>>;
3624
+ /**
3625
+ * @description Generate a service user credential and return it. The credential value will not be persisted and should be securely stored by client.
3626
+ *
3627
+ * @tags ServiceUser
3628
+ * @name FrontierServiceCreateServiceUserCredential
3629
+ * @summary Create service user client credentials
3630
+ * @request POST:/v1beta1/organizations/{org_id}/serviceusers/{id}/secrets
3631
+ * @secure
3632
+ */
3633
+ frontierServiceCreateServiceUserCredential: (orgId: string, id: string, body: {
3634
+ title?: string;
3635
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserCredentialResponse, RpcStatus>>;
3636
+ /**
3637
+ * @description Delete a service user credential.
3638
+ *
3639
+ * @tags ServiceUser
3640
+ * @name FrontierServiceDeleteServiceUserCredential
3641
+ * @summary Delete service user credentials
3642
+ * @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}/secrets/{secret_id}
3643
+ * @secure
3644
+ */
3645
+ frontierServiceDeleteServiceUserCredential: (orgId: string, id: string, secretId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3646
+ /**
3647
+ * @description List all the tokens of a service user.
3648
+ *
3649
+ * @tags ServiceUser
3650
+ * @name FrontierServiceListServiceUserTokens
3651
+ * @summary List service user tokens
3652
+ * @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/tokens
3653
+ * @secure
3654
+ */
3655
+ frontierServiceListServiceUserTokens: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserTokensResponse, RpcStatus>>;
3656
+ /**
3657
+ * @description Generate a service user token and return it. The token value will not be persisted and should be securely stored by client.
3658
+ *
3659
+ * @tags ServiceUser
3660
+ * @name FrontierServiceCreateServiceUserToken
3661
+ * @summary Create service user token
3662
+ * @request POST:/v1beta1/organizations/{org_id}/serviceusers/{id}/tokens
3663
+ * @secure
3664
+ */
3665
+ frontierServiceCreateServiceUserToken: (orgId: string, id: string, body: {
3666
+ title?: string;
3667
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserTokenResponse, RpcStatus>>;
3668
+ /**
3669
+ * @description Delete a service user token.
3670
+ *
3671
+ * @tags ServiceUser
3672
+ * @name FrontierServiceDeleteServiceUserToken
3673
+ * @summary Delete service user token
3674
+ * @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}/tokens/{token_id}
3675
+ * @secure
3676
+ */
3677
+ frontierServiceDeleteServiceUserToken: (orgId: string, id: string, tokenId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3604
3678
  /**
3605
3679
  * @description Check if a billing account is entitled to a feature.
3606
3680
  *
@@ -4054,144 +4128,6 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4054
4128
  /** The state to filter by. It can be enabled or disabled. */
4055
4129
  state?: string;
4056
4130
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUsersResponse, RpcStatus>>;
4057
- /**
4058
- * @description Create a service user.
4059
- *
4060
- * @tags ServiceUser
4061
- * @name FrontierServiceCreateServiceUser
4062
- * @summary Create service user
4063
- * @request POST:/v1beta1/serviceusers
4064
- * @secure
4065
- */
4066
- frontierServiceCreateServiceUser: (body: V1Beta1CreateServiceUserRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserResponse, RpcStatus>>;
4067
- /**
4068
- * @description Get service user details by its id.
4069
- *
4070
- * @tags ServiceUser
4071
- * @name FrontierServiceGetServiceUser
4072
- * @summary Get service user
4073
- * @request GET:/v1beta1/serviceusers/{id}
4074
- * @secure
4075
- */
4076
- frontierServiceGetServiceUser: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserResponse, RpcStatus>>;
4077
- /**
4078
- * @description Delete a service user permanently and all of its relations (keys, organizations, roles, etc)
4079
- *
4080
- * @tags ServiceUser
4081
- * @name FrontierServiceDeleteServiceUser
4082
- * @summary Delete service user
4083
- * @request DELETE:/v1beta1/serviceusers/{id}
4084
- * @secure
4085
- */
4086
- frontierServiceDeleteServiceUser: (id: string, query?: {
4087
- org_id?: string;
4088
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4089
- /**
4090
- * @description List all the keys of a service user with its details except jwk.
4091
- *
4092
- * @tags ServiceUser
4093
- * @name FrontierServiceListServiceUserJwKs
4094
- * @summary List service user keys
4095
- * @request GET:/v1beta1/serviceusers/{id}/keys
4096
- * @secure
4097
- */
4098
- frontierServiceListServiceUserJwKs: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserJWKsResponse, RpcStatus>>;
4099
- /**
4100
- * @description Generate a service user key and return it, the private key part of the response will not be persisted and should be kept securely by client.
4101
- *
4102
- * @tags ServiceUser
4103
- * @name FrontierServiceCreateServiceUserJwk
4104
- * @summary Create service user public/private key pair
4105
- * @request POST:/v1beta1/serviceusers/{id}/keys
4106
- * @secure
4107
- */
4108
- frontierServiceCreateServiceUserJwk: (id: string, body: {
4109
- title?: string;
4110
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserJWKResponse, RpcStatus>>;
4111
- /**
4112
- * @description Get a service user public RSA JWK set.
4113
- *
4114
- * @tags ServiceUser
4115
- * @name FrontierServiceGetServiceUserJwk
4116
- * @summary Get service user key
4117
- * @request GET:/v1beta1/serviceusers/{id}/keys/{key_id}
4118
- * @secure
4119
- */
4120
- frontierServiceGetServiceUserJwk: (id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserJWKResponse, RpcStatus>>;
4121
- /**
4122
- * @description Delete a service user key permanently.
4123
- *
4124
- * @tags ServiceUser
4125
- * @name FrontierServiceDeleteServiceUserJwk
4126
- * @summary Delete service user key
4127
- * @request DELETE:/v1beta1/serviceusers/{id}/keys/{key_id}
4128
- * @secure
4129
- */
4130
- frontierServiceDeleteServiceUserJwk: (id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4131
- /**
4132
- * @description List all the credentials of a service user.
4133
- *
4134
- * @tags ServiceUser
4135
- * @name FrontierServiceListServiceUserCredentials
4136
- * @summary List service user credentials
4137
- * @request GET:/v1beta1/serviceusers/{id}/secrets
4138
- * @secure
4139
- */
4140
- frontierServiceListServiceUserCredentials: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserCredentialsResponse, RpcStatus>>;
4141
- /**
4142
- * @description Generate a service user credential and return it. The credential value will not be persisted and should be securely stored by client.
4143
- *
4144
- * @tags ServiceUser
4145
- * @name FrontierServiceCreateServiceUserCredential
4146
- * @summary Create service user client credentials
4147
- * @request POST:/v1beta1/serviceusers/{id}/secrets
4148
- * @secure
4149
- */
4150
- frontierServiceCreateServiceUserCredential: (id: string, body: {
4151
- title?: string;
4152
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserCredentialResponse, RpcStatus>>;
4153
- /**
4154
- * @description Delete a service user credential.
4155
- *
4156
- * @tags ServiceUser
4157
- * @name FrontierServiceDeleteServiceUserCredential
4158
- * @summary Delete service user credentials
4159
- * @request DELETE:/v1beta1/serviceusers/{id}/secrets/{secret_id}
4160
- * @secure
4161
- */
4162
- frontierServiceDeleteServiceUserCredential: (id: string, secretId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4163
- /**
4164
- * @description List all the tokens of a service user.
4165
- *
4166
- * @tags ServiceUser
4167
- * @name FrontierServiceListServiceUserTokens
4168
- * @summary List service user tokens
4169
- * @request GET:/v1beta1/serviceusers/{id}/tokens
4170
- * @secure
4171
- */
4172
- frontierServiceListServiceUserTokens: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserTokensResponse, RpcStatus>>;
4173
- /**
4174
- * @description Generate a service user token and return it. The token value will not be persisted and should be securely stored by client.
4175
- *
4176
- * @tags ServiceUser
4177
- * @name FrontierServiceCreateServiceUserToken
4178
- * @summary Create service user token
4179
- * @request POST:/v1beta1/serviceusers/{id}/tokens
4180
- * @secure
4181
- */
4182
- frontierServiceCreateServiceUserToken: (id: string, body: {
4183
- title?: string;
4184
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserTokenResponse, RpcStatus>>;
4185
- /**
4186
- * @description Delete a service user token.
4187
- *
4188
- * @tags ServiceUser
4189
- * @name FrontierServiceDeleteServiceUserToken
4190
- * @summary Delete service user token
4191
- * @request DELETE:/v1beta1/serviceusers/{id}/tokens/{token_id}
4192
- * @secure
4193
- */
4194
- frontierServiceDeleteServiceUserToken: (id: string, tokenId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4195
4131
  /**
4196
4132
  * @description Returns the users from all the organizations in a Frontier instance. It can be filtered by keyword, organization, group and state. Additionally you can include page number and page size for pagination.
4197
4133
  *
@@ -4312,7 +4248,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4312
4248
  * @request GET:/v1beta1/users/{id}/organizations
4313
4249
  * @secure
4314
4250
  */
4315
- frontierServiceListOrganizationsByUser: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsByUserResponse, RpcStatus>>;
4251
+ frontierServiceListOrganizationsByUser: (id: string, query?: {
4252
+ state?: string;
4253
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsByUserResponse, RpcStatus>>;
4316
4254
  /**
4317
4255
  * @description List a user preferences by ID.
4318
4256
  *
@@ -4453,6 +4391,91 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4453
4391
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsByCurrentUserResponse, RpcStatus>>;
4454
4392
  }
4455
4393
 
4394
+ declare const router: _tanstack_react_router.Router<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4395
+ customRoutes: CustomRoutes;
4396
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4397
+ customRoutes: CustomRoutes;
4398
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/", "/", string, "/", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4399
+ customRoutes: CustomRoutes;
4400
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/", "/", string, "/", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/delete", "/delete", string, "/delete", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4401
+ customRoutes: CustomRoutes;
4402
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/security", "/security", string, "/security", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4403
+ customRoutes: CustomRoutes;
4404
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/members", "/members", string, "/members", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4405
+ customRoutes: CustomRoutes;
4406
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/members", "/members", string, "/members", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/members/modal", string, "/members/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4407
+ customRoutes: CustomRoutes;
4408
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/members", "/members", string, "/members", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/remove-member/$memberId/$invited", "/members/remove-member/$memberId/$invited", string, "/members/remove-member/$memberId/$invited", undefined, Record<"memberId" | "invited", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4409
+ customRoutes: CustomRoutes;
4410
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams", "/teams", string, "/teams", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4411
+ customRoutes: CustomRoutes;
4412
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams", "/teams", string, "/teams", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/teams/modal", string, "/teams/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4413
+ customRoutes: CustomRoutes;
4414
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4415
+ customRoutes: CustomRoutes;
4416
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/domains/modal", string, "/domains/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4417
+ customRoutes: CustomRoutes;
4418
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/$domainId/verify", "/domains/$domainId/verify", string, "/domains/$domainId/verify", undefined, Record<"domainId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4419
+ customRoutes: CustomRoutes;
4420
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/$domainId/delete", "/domains/$domainId/delete", string, "/domains/$domainId/delete", undefined, Record<"domainId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4421
+ customRoutes: CustomRoutes;
4422
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", undefined, Record<"teamId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4423
+ customRoutes: CustomRoutes;
4424
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", undefined, Record<"teamId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/delete", "/teams/$teamId/delete", string, "/teams/$teamId/delete", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4425
+ customRoutes: CustomRoutes;
4426
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", undefined, Record<"teamId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/invite", "/teams/$teamId/invite", string, "/teams/$teamId/invite", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4427
+ customRoutes: CustomRoutes;
4428
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects", "/projects", string, "/projects", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4429
+ customRoutes: CustomRoutes;
4430
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects", "/projects", string, "/projects", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/projects/modal", string, "/projects/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4431
+ customRoutes: CustomRoutes;
4432
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", undefined, Record<"projectId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4433
+ customRoutes: CustomRoutes;
4434
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", undefined, Record<"projectId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/delete", "/projects/$projectId/delete", string, "/projects/$projectId/delete", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4435
+ customRoutes: CustomRoutes;
4436
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/profile", "/profile", string, "/profile", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4437
+ customRoutes: CustomRoutes;
4438
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/preferences", "/preferences", string, "/preferences", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4439
+ customRoutes: CustomRoutes;
4440
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/billing", "/billing", string, "/billing", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4441
+ customRoutes: CustomRoutes;
4442
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/billing", "/billing", string, "/billing", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/cycle-switch/$planId", "/billing/cycle-switch/$planId", string, "/billing/cycle-switch/$planId", undefined, Record<"planId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4443
+ customRoutes: CustomRoutes;
4444
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/plans", "/plans", string, "/plans", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4445
+ customRoutes: CustomRoutes;
4446
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/plans", "/plans", string, "/plans", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/confirm-change/$planId", "/plans/confirm-change/$planId", string, "/plans/confirm-change/$planId", undefined, Record<"planId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4447
+ customRoutes: CustomRoutes;
4448
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/tokens", "/tokens", string, "/tokens", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4449
+ customRoutes: CustomRoutes;
4450
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/api-keys", "/api-keys", string, "/api-keys", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4451
+ customRoutes: CustomRoutes;
4452
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/api-keys", "/api-keys", string, "/api-keys", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/add", "/api-keys/add", string, "/api-keys/add", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4453
+ customRoutes: CustomRoutes;
4454
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/api-keys", "/api-keys", string, "/api-keys", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/$id/delete", "/api-keys/$id/delete", string, "/api-keys/$id/delete", undefined, Record<"id", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4455
+ customRoutes: CustomRoutes;
4456
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/api-keys/$id", "/api-keys/$id", string, "/api-keys/$id", undefined, Record<"id", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4457
+ customRoutes: CustomRoutes;
4458
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/api-keys/$id", "/api-keys/$id", string, "/api-keys/$id", undefined, Record<"id", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/key/$tokenId/delete", "/api-keys/$id/key/$tokenId/delete", string, "/api-keys/$id/key/$tokenId/delete", undefined, Record<"tokenId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, ..._tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
4459
+ customRoutes: CustomRoutes;
4460
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, string, "/", string, "__root__", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>[]], unknown>, _tanstack_react_router.TrailingSlashOption, Record<string, any>, Record<string, any>>;
4461
+ declare const OrganizationProfile: ({ organizationId, defaultRoute, showBilling, showTokens, showAPIKeys, showPreferences, hideToast, customScreens }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
4462
+ declare module '@tanstack/react-router' {
4463
+ interface Register {
4464
+ router: typeof router;
4465
+ }
4466
+ interface HistoryState {
4467
+ token?: V1Beta1ServiceUserToken;
4468
+ refetch?: boolean;
4469
+ }
4470
+ }
4471
+
4472
+ interface WindowProps extends React.HTMLAttributes<HTMLDialogElement> {
4473
+ open?: boolean;
4474
+ onOpenChange?: (open: boolean) => void;
4475
+ children?: React.ReactNode;
4476
+ }
4477
+ declare const Window: ({ open, onOpenChange, children, ...props }: WindowProps) => react_jsx_runtime.JSX.Element;
4478
+
4456
4479
  interface BasePlan extends Omit<V1Beta1Plan, 'title'> {
4457
4480
  features?: Record<string, string>;
4458
4481
  title: string;