@raystack/frontier 0.38.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,79 +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, unknown>, ..._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>, 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>>;
154
- declare const OrganizationProfile: ({ organizationId, defaultRoute, showBilling, showTokens, showAPIKeys, showPreferences, hideToast, customScreens }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
155
- declare module '@tanstack/react-router' {
156
- interface Register {
157
- router: typeof router;
158
- }
159
- }
160
-
161
- interface WindowProps extends React.HTMLAttributes<HTMLDialogElement> {
162
- open?: boolean;
163
- onOpenChange?: (open: boolean) => void;
164
- children?: React.ReactNode;
165
- }
166
- declare const Window: ({ open, onOpenChange, children, ...props }: WindowProps) => react_jsx_runtime.JSX.Element;
167
-
168
95
  type QueryParamsType = Record<string | number, any>;
169
96
  type ResponseFormat = keyof Omit<Body, 'body' | 'bodyUsed'>;
170
97
  interface FullRequestParams extends Omit<RequestInit, 'body'> {
@@ -630,11 +557,6 @@ interface V1Beta1CreateServiceUserCredentialResponse {
630
557
  interface V1Beta1CreateServiceUserJWKResponse {
631
558
  key?: V1Beta1KeyCredential;
632
559
  }
633
- interface V1Beta1CreateServiceUserRequest {
634
- body?: V1Beta1ServiceUserRequestBody;
635
- /** The organization ID to which the service user belongs to. */
636
- org_id: string;
637
- }
638
560
  interface V1Beta1CreateServiceUserResponse {
639
561
  serviceuser?: V1Beta1ServiceUser;
640
562
  }
@@ -2031,6 +1953,24 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2031
1953
  */
2032
1954
  amount?: string;
2033
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>>;
2034
1974
  /**
2035
1975
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
2036
1976
  *
@@ -3597,6 +3537,144 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3597
3537
  * @secure
3598
3538
  */
3599
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>>;
3600
3678
  /**
3601
3679
  * @description Check if a billing account is entitled to a feature.
3602
3680
  *
@@ -4050,144 +4128,6 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4050
4128
  /** The state to filter by. It can be enabled or disabled. */
4051
4129
  state?: string;
4052
4130
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUsersResponse, RpcStatus>>;
4053
- /**
4054
- * @description Create a service user.
4055
- *
4056
- * @tags ServiceUser
4057
- * @name FrontierServiceCreateServiceUser
4058
- * @summary Create service user
4059
- * @request POST:/v1beta1/serviceusers
4060
- * @secure
4061
- */
4062
- frontierServiceCreateServiceUser: (body: V1Beta1CreateServiceUserRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserResponse, RpcStatus>>;
4063
- /**
4064
- * @description Get service user details by its id.
4065
- *
4066
- * @tags ServiceUser
4067
- * @name FrontierServiceGetServiceUser
4068
- * @summary Get service user
4069
- * @request GET:/v1beta1/serviceusers/{id}
4070
- * @secure
4071
- */
4072
- frontierServiceGetServiceUser: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserResponse, RpcStatus>>;
4073
- /**
4074
- * @description Delete a service user permanently and all of its relations (keys, organizations, roles, etc)
4075
- *
4076
- * @tags ServiceUser
4077
- * @name FrontierServiceDeleteServiceUser
4078
- * @summary Delete service user
4079
- * @request DELETE:/v1beta1/serviceusers/{id}
4080
- * @secure
4081
- */
4082
- frontierServiceDeleteServiceUser: (id: string, query?: {
4083
- org_id?: string;
4084
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4085
- /**
4086
- * @description List all the keys of a service user with its details except jwk.
4087
- *
4088
- * @tags ServiceUser
4089
- * @name FrontierServiceListServiceUserJwKs
4090
- * @summary List service user keys
4091
- * @request GET:/v1beta1/serviceusers/{id}/keys
4092
- * @secure
4093
- */
4094
- frontierServiceListServiceUserJwKs: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserJWKsResponse, RpcStatus>>;
4095
- /**
4096
- * @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.
4097
- *
4098
- * @tags ServiceUser
4099
- * @name FrontierServiceCreateServiceUserJwk
4100
- * @summary Create service user public/private key pair
4101
- * @request POST:/v1beta1/serviceusers/{id}/keys
4102
- * @secure
4103
- */
4104
- frontierServiceCreateServiceUserJwk: (id: string, body: {
4105
- title?: string;
4106
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserJWKResponse, RpcStatus>>;
4107
- /**
4108
- * @description Get a service user public RSA JWK set.
4109
- *
4110
- * @tags ServiceUser
4111
- * @name FrontierServiceGetServiceUserJwk
4112
- * @summary Get service user key
4113
- * @request GET:/v1beta1/serviceusers/{id}/keys/{key_id}
4114
- * @secure
4115
- */
4116
- frontierServiceGetServiceUserJwk: (id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserJWKResponse, RpcStatus>>;
4117
- /**
4118
- * @description Delete a service user key permanently.
4119
- *
4120
- * @tags ServiceUser
4121
- * @name FrontierServiceDeleteServiceUserJwk
4122
- * @summary Delete service user key
4123
- * @request DELETE:/v1beta1/serviceusers/{id}/keys/{key_id}
4124
- * @secure
4125
- */
4126
- frontierServiceDeleteServiceUserJwk: (id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4127
- /**
4128
- * @description List all the credentials of a service user.
4129
- *
4130
- * @tags ServiceUser
4131
- * @name FrontierServiceListServiceUserCredentials
4132
- * @summary List service user credentials
4133
- * @request GET:/v1beta1/serviceusers/{id}/secrets
4134
- * @secure
4135
- */
4136
- frontierServiceListServiceUserCredentials: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserCredentialsResponse, RpcStatus>>;
4137
- /**
4138
- * @description Generate a service user credential and return it. The credential value will not be persisted and should be securely stored by client.
4139
- *
4140
- * @tags ServiceUser
4141
- * @name FrontierServiceCreateServiceUserCredential
4142
- * @summary Create service user client credentials
4143
- * @request POST:/v1beta1/serviceusers/{id}/secrets
4144
- * @secure
4145
- */
4146
- frontierServiceCreateServiceUserCredential: (id: string, body: {
4147
- title?: string;
4148
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserCredentialResponse, RpcStatus>>;
4149
- /**
4150
- * @description Delete a service user credential.
4151
- *
4152
- * @tags ServiceUser
4153
- * @name FrontierServiceDeleteServiceUserCredential
4154
- * @summary Delete service user credentials
4155
- * @request DELETE:/v1beta1/serviceusers/{id}/secrets/{secret_id}
4156
- * @secure
4157
- */
4158
- frontierServiceDeleteServiceUserCredential: (id: string, secretId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4159
- /**
4160
- * @description List all the tokens of a service user.
4161
- *
4162
- * @tags ServiceUser
4163
- * @name FrontierServiceListServiceUserTokens
4164
- * @summary List service user tokens
4165
- * @request GET:/v1beta1/serviceusers/{id}/tokens
4166
- * @secure
4167
- */
4168
- frontierServiceListServiceUserTokens: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserTokensResponse, RpcStatus>>;
4169
- /**
4170
- * @description Generate a service user token and return it. The token value will not be persisted and should be securely stored by client.
4171
- *
4172
- * @tags ServiceUser
4173
- * @name FrontierServiceCreateServiceUserToken
4174
- * @summary Create service user token
4175
- * @request POST:/v1beta1/serviceusers/{id}/tokens
4176
- * @secure
4177
- */
4178
- frontierServiceCreateServiceUserToken: (id: string, body: {
4179
- title?: string;
4180
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserTokenResponse, RpcStatus>>;
4181
- /**
4182
- * @description Delete a service user token.
4183
- *
4184
- * @tags ServiceUser
4185
- * @name FrontierServiceDeleteServiceUserToken
4186
- * @summary Delete service user token
4187
- * @request DELETE:/v1beta1/serviceusers/{id}/tokens/{token_id}
4188
- * @secure
4189
- */
4190
- frontierServiceDeleteServiceUserToken: (id: string, tokenId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4191
4131
  /**
4192
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.
4193
4133
  *
@@ -4308,7 +4248,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4308
4248
  * @request GET:/v1beta1/users/{id}/organizations
4309
4249
  * @secure
4310
4250
  */
4311
- frontierServiceListOrganizationsByUser: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsByUserResponse, RpcStatus>>;
4251
+ frontierServiceListOrganizationsByUser: (id: string, query?: {
4252
+ state?: string;
4253
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsByUserResponse, RpcStatus>>;
4312
4254
  /**
4313
4255
  * @description List a user preferences by ID.
4314
4256
  *
@@ -4449,6 +4391,91 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4449
4391
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsByCurrentUserResponse, RpcStatus>>;
4450
4392
  }
4451
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
+
4452
4479
  interface BasePlan extends Omit<V1Beta1Plan, 'title'> {
4453
4480
  features?: Record<string, string>;
4454
4481
  title: string;
@@ -4545,9 +4572,14 @@ declare const useTokens: () => {
4545
4572
  isTokensLoading: boolean;
4546
4573
  };
4547
4574
 
4575
+ declare const useBillingPermission: () => {
4576
+ isFetching: boolean;
4577
+ isAllowed: boolean;
4578
+ };
4579
+
4548
4580
  interface LayoutProps {
4549
4581
  title: string;
4550
4582
  }
4551
4583
  declare function Layout({ title, children }: PropsWithChildren<LayoutProps>): react_jsx_runtime.JSX.Element;
4552
4584
 
4553
- export { Amount, AvatarUpload, Container, CreateOrganization, FrontierClientBillingOptions, FrontierClientOptions, FrontierProvider, Header, Layout, MagicLink, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useFrontier, useTokens };
4585
+ export { Amount, AvatarUpload, Container, CreateOrganization, FrontierClientBillingOptions, FrontierClientOptions, FrontierProvider, Header, Layout, MagicLink, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useBillingPermission, useFrontier, useTokens };