@raystack/frontier 0.37.1 → 0.39.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.
@@ -2087,7 +2087,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2087
2087
  * @secure
2088
2088
  */
2089
2089
  adminServiceUpdateWebhook: (id: string, body: {
2090
- body?: V1Beta1WebhookRequestBody | undefined;
2090
+ body?: V1Beta1WebhookRequestBody;
2091
2091
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateWebhookResponse, RpcStatus>>;
2092
2092
  /**
2093
2093
  * @description Returns a list of identity providers configured on an instance level in Frontier. e.g Google, AzureAD, Github etc
@@ -2305,7 +2305,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2305
2305
  */
2306
2306
  frontierServiceUpdateFeature: (id: string, body: {
2307
2307
  /** Feature to update */
2308
- body?: V1Beta1FeatureRequestBody | undefined;
2308
+ body?: V1Beta1FeatureRequestBody;
2309
2309
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateFeatureResponse, RpcStatus>>;
2310
2310
  /**
2311
2311
  * @description List all plans.
@@ -2348,7 +2348,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2348
2348
  */
2349
2349
  frontierServiceUpdatePlan: (id: string, body: {
2350
2350
  /** Plan to update */
2351
- body?: V1Beta1PlanRequestBody | undefined;
2351
+ body?: V1Beta1PlanRequestBody;
2352
2352
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePlanResponse, RpcStatus>>;
2353
2353
  /**
2354
2354
  * @description List all products of a platform.
@@ -2391,7 +2391,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2391
2391
  */
2392
2392
  frontierServiceUpdateProduct: (id: string, body: {
2393
2393
  /** Product to update */
2394
- body?: V1Beta1ProductRequestBody | undefined;
2394
+ body?: V1Beta1ProductRequestBody;
2395
2395
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProductResponse, RpcStatus>>;
2396
2396
  /**
2397
2397
  * @description Accepts a Billing webhook and processes it.
@@ -2738,9 +2738,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2738
2738
  */
2739
2739
  frontierServiceCreateBillingAccount: (orgId: string, body: {
2740
2740
  /** Billing account to create. */
2741
- body?: V1Beta1BillingAccountRequestBody | undefined;
2741
+ body?: V1Beta1BillingAccountRequestBody;
2742
2742
  /** Offline billing account don't get registered with billing provider */
2743
- offline?: boolean | undefined;
2743
+ offline?: boolean;
2744
2744
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateBillingAccountResponse, RpcStatus>>;
2745
2745
  /**
2746
2746
  * @description Check if a billing account is entitled to a feature.
@@ -2966,7 +2966,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2966
2966
  */
2967
2967
  frontierServiceUpdateBillingAccount: (orgId: string, id: string, body: {
2968
2968
  /** Billing account to update. */
2969
- body?: V1Beta1BillingAccountRequestBody | undefined;
2969
+ body?: V1Beta1BillingAccountRequestBody;
2970
2970
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateBillingAccountResponse, RpcStatus>>;
2971
2971
  /**
2972
2972
  * @description Get the balance of a billing account by ID.
package/dist/index.d.ts CHANGED
@@ -2087,7 +2087,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2087
2087
  * @secure
2088
2088
  */
2089
2089
  adminServiceUpdateWebhook: (id: string, body: {
2090
- body?: V1Beta1WebhookRequestBody | undefined;
2090
+ body?: V1Beta1WebhookRequestBody;
2091
2091
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateWebhookResponse, RpcStatus>>;
2092
2092
  /**
2093
2093
  * @description Returns a list of identity providers configured on an instance level in Frontier. e.g Google, AzureAD, Github etc
@@ -2305,7 +2305,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2305
2305
  */
2306
2306
  frontierServiceUpdateFeature: (id: string, body: {
2307
2307
  /** Feature to update */
2308
- body?: V1Beta1FeatureRequestBody | undefined;
2308
+ body?: V1Beta1FeatureRequestBody;
2309
2309
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateFeatureResponse, RpcStatus>>;
2310
2310
  /**
2311
2311
  * @description List all plans.
@@ -2348,7 +2348,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2348
2348
  */
2349
2349
  frontierServiceUpdatePlan: (id: string, body: {
2350
2350
  /** Plan to update */
2351
- body?: V1Beta1PlanRequestBody | undefined;
2351
+ body?: V1Beta1PlanRequestBody;
2352
2352
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePlanResponse, RpcStatus>>;
2353
2353
  /**
2354
2354
  * @description List all products of a platform.
@@ -2391,7 +2391,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2391
2391
  */
2392
2392
  frontierServiceUpdateProduct: (id: string, body: {
2393
2393
  /** Product to update */
2394
- body?: V1Beta1ProductRequestBody | undefined;
2394
+ body?: V1Beta1ProductRequestBody;
2395
2395
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProductResponse, RpcStatus>>;
2396
2396
  /**
2397
2397
  * @description Accepts a Billing webhook and processes it.
@@ -2738,9 +2738,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2738
2738
  */
2739
2739
  frontierServiceCreateBillingAccount: (orgId: string, body: {
2740
2740
  /** Billing account to create. */
2741
- body?: V1Beta1BillingAccountRequestBody | undefined;
2741
+ body?: V1Beta1BillingAccountRequestBody;
2742
2742
  /** Offline billing account don't get registered with billing provider */
2743
- offline?: boolean | undefined;
2743
+ offline?: boolean;
2744
2744
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateBillingAccountResponse, RpcStatus>>;
2745
2745
  /**
2746
2746
  * @description Check if a billing account is entitled to a feature.
@@ -2966,7 +2966,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2966
2966
  */
2967
2967
  frontierServiceUpdateBillingAccount: (orgId: string, id: string, body: {
2968
2968
  /** Billing account to update. */
2969
- body?: V1Beta1BillingAccountRequestBody | undefined;
2969
+ body?: V1Beta1BillingAccountRequestBody;
2970
2970
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateBillingAccountResponse, RpcStatus>>;
2971
2971
  /**
2972
2972
  * @description Get the balance of a billing account by ID.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raystack/frontier",
3
- "version": "0.37.1",
3
+ "version": "0.39.0",
4
4
  "description": "A js library for frontier",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -61,7 +61,7 @@
61
61
  "devDependencies": {
62
62
  "@jest/globals": "^29.7.0",
63
63
  "@radix-ui/react-icons": "^1.3.0",
64
- "@raystack/apsara": "^0.20.4",
64
+ "@raystack/apsara": "^0.25.0",
65
65
  "@raystack/eslint-config": "workspace:^",
66
66
  "@raystack/frontier-tsconfig": "workspace:^",
67
67
  "@size-limit/preset-small-lib": "^8.2.6",
@@ -102,7 +102,7 @@
102
102
  "yup": "^1.2.0"
103
103
  },
104
104
  "peerDependencies": {
105
- "@raystack/apsara": ">=0.20.4",
105
+ "@raystack/apsara": ">=0.23.0",
106
106
  "react": "^18.2.0"
107
107
  },
108
108
  "peerDependenciesMeta": {
@@ -2,6 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { ComponentPropsWithRef, Dispatch, SetStateAction, PropsWithChildren } from 'react';
3
3
  import * as _tanstack_react_router from '@tanstack/react-router';
4
4
  import { RouteComponent } from '@tanstack/react-router';
5
+ import { ThemeProviderProps } from '@raystack/apsara/v1';
5
6
 
6
7
  interface AmountProps {
7
8
  value: number;
@@ -81,6 +82,7 @@ interface OrganizationProfileProps {
81
82
  defaultRoute?: string;
82
83
  showBilling?: boolean;
83
84
  showTokens?: boolean;
85
+ showAPIKeys?: boolean;
84
86
  showPreferences?: boolean;
85
87
  hideToast?: boolean;
86
88
  customScreens?: CustomScreen[];
@@ -90,64 +92,70 @@ interface CustomRoutes {
90
92
  User: Pick<CustomScreen, 'name' | 'path'>[];
91
93
  }
92
94
 
93
- declare const router: _tanstack_react_router.Router<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
95
+ declare const router: _tanstack_react_router.Router<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
94
96
  customRoutes: CustomRoutes;
95
- }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
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"> & {
96
98
  customRoutes: CustomRoutes;
97
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
98
100
  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, 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" | "hideToast" | "showPreferences"> & {
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"> & {
100
102
  customRoutes: CustomRoutes;
101
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
102
104
  customRoutes: CustomRoutes;
103
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
104
106
  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, 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" | "hideToast" | "showPreferences"> & {
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"> & {
106
108
  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>, "/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" | "hideToast" | "showPreferences"> & {
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"> & {
108
110
  customRoutes: CustomRoutes;
109
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
110
112
  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, 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" | "hideToast" | "showPreferences"> & {
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"> & {
112
114
  customRoutes: CustomRoutes;
113
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
114
116
  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, 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" | "hideToast" | "showPreferences"> & {
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"> & {
116
118
  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>, "/$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" | "hideToast" | "showPreferences"> & {
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"> & {
118
120
  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/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" | "hideToast" | "showPreferences"> & {
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"> & {
120
122
  customRoutes: CustomRoutes;
121
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
122
124
  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, 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" | "hideToast" | "showPreferences"> & {
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"> & {
124
126
  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>, "/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" | "hideToast" | "showPreferences"> & {
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"> & {
126
128
  customRoutes: CustomRoutes;
127
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
128
130
  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, 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" | "hideToast" | "showPreferences"> & {
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"> & {
130
132
  customRoutes: CustomRoutes;
131
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
132
134
  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, 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" | "hideToast" | "showPreferences"> & {
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"> & {
134
136
  customRoutes: CustomRoutes;
135
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
136
138
  customRoutes: CustomRoutes;
137
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
138
140
  customRoutes: CustomRoutes;
139
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
140
142
  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, 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" | "hideToast" | "showPreferences"> & {
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"> & {
142
144
  customRoutes: CustomRoutes;
143
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
144
146
  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, 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" | "hideToast" | "showPreferences"> & {
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"> & {
146
148
  customRoutes: CustomRoutes;
147
- }, _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" | "hideToast" | "showPreferences"> & {
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"> & {
148
156
  customRoutes: CustomRoutes;
149
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>>;
150
- declare const OrganizationProfile: ({ organizationId, defaultRoute, showBilling, showTokens, showPreferences, hideToast, customScreens }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
158
+ declare const OrganizationProfile: ({ organizationId, defaultRoute, showBilling, showTokens, showAPIKeys, showPreferences, hideToast, customScreens }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
151
159
  declare module '@tanstack/react-router' {
152
160
  interface Register {
153
161
  router: typeof router;
@@ -2192,7 +2200,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2192
2200
  * @secure
2193
2201
  */
2194
2202
  adminServiceUpdateWebhook: (id: string, body: {
2195
- body?: V1Beta1WebhookRequestBody | undefined;
2203
+ body?: V1Beta1WebhookRequestBody;
2196
2204
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateWebhookResponse, RpcStatus>>;
2197
2205
  /**
2198
2206
  * @description Returns a list of identity providers configured on an instance level in Frontier. e.g Google, AzureAD, Github etc
@@ -2410,7 +2418,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2410
2418
  */
2411
2419
  frontierServiceUpdateFeature: (id: string, body: {
2412
2420
  /** Feature to update */
2413
- body?: V1Beta1FeatureRequestBody | undefined;
2421
+ body?: V1Beta1FeatureRequestBody;
2414
2422
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateFeatureResponse, RpcStatus>>;
2415
2423
  /**
2416
2424
  * @description List all plans.
@@ -2453,7 +2461,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2453
2461
  */
2454
2462
  frontierServiceUpdatePlan: (id: string, body: {
2455
2463
  /** Plan to update */
2456
- body?: V1Beta1PlanRequestBody | undefined;
2464
+ body?: V1Beta1PlanRequestBody;
2457
2465
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePlanResponse, RpcStatus>>;
2458
2466
  /**
2459
2467
  * @description List all products of a platform.
@@ -2496,7 +2504,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2496
2504
  */
2497
2505
  frontierServiceUpdateProduct: (id: string, body: {
2498
2506
  /** Product to update */
2499
- body?: V1Beta1ProductRequestBody | undefined;
2507
+ body?: V1Beta1ProductRequestBody;
2500
2508
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProductResponse, RpcStatus>>;
2501
2509
  /**
2502
2510
  * @description Accepts a Billing webhook and processes it.
@@ -2843,9 +2851,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2843
2851
  */
2844
2852
  frontierServiceCreateBillingAccount: (orgId: string, body: {
2845
2853
  /** Billing account to create. */
2846
- body?: V1Beta1BillingAccountRequestBody | undefined;
2854
+ body?: V1Beta1BillingAccountRequestBody;
2847
2855
  /** Offline billing account don't get registered with billing provider */
2848
- offline?: boolean | undefined;
2856
+ offline?: boolean;
2849
2857
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateBillingAccountResponse, RpcStatus>>;
2850
2858
  /**
2851
2859
  * @description Check if a billing account is entitled to a feature.
@@ -3071,7 +3079,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3071
3079
  */
3072
3080
  frontierServiceUpdateBillingAccount: (orgId: string, id: string, body: {
3073
3081
  /** Billing account to update. */
3074
- body?: V1Beta1BillingAccountRequestBody | undefined;
3082
+ body?: V1Beta1BillingAccountRequestBody;
3075
3083
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateBillingAccountResponse, RpcStatus>>;
3076
3084
  /**
3077
3085
  * @description Get the balance of a billing account by ID.
@@ -4461,8 +4469,10 @@ interface FrontierClientBillingOptions {
4461
4469
  tokenProductId?: string;
4462
4470
  basePlan?: BasePlan;
4463
4471
  }
4472
+ interface FrontierClientAPIPlatformOptions {
4473
+ appName?: string;
4474
+ }
4464
4475
  interface FrontierClientOptions {
4465
- theme?: 'dark' | 'light';
4466
4476
  endpoint: string;
4467
4477
  redirectSignup?: string;
4468
4478
  redirectLogin?: string;
@@ -4471,6 +4481,7 @@ interface FrontierClientOptions {
4471
4481
  dateFormat?: string;
4472
4482
  shortDateFormat?: string;
4473
4483
  billing?: FrontierClientBillingOptions;
4484
+ apiPlatform?: FrontierClientAPIPlatformOptions;
4474
4485
  messages?: {
4475
4486
  billing?: {
4476
4487
  plan_change?: Record<string, string>;
@@ -4485,6 +4496,7 @@ interface FrontierProviderProps {
4485
4496
  children: React.ReactNode;
4486
4497
  initialState?: InitialState;
4487
4498
  customFetch?: (activeOrg?: V1Beta1Organization) => CustomFetch;
4499
+ theme?: ThemeProviderProps;
4488
4500
  }
4489
4501
 
4490
4502
  interface FrontierContextProviderProps {
@@ -4537,9 +4549,14 @@ declare const useTokens: () => {
4537
4549
  isTokensLoading: boolean;
4538
4550
  };
4539
4551
 
4552
+ declare const useBillingPermission: () => {
4553
+ isFetching: boolean;
4554
+ isAllowed: boolean;
4555
+ };
4556
+
4540
4557
  interface LayoutProps {
4541
4558
  title: string;
4542
4559
  }
4543
4560
  declare function Layout({ title, children }: PropsWithChildren<LayoutProps>): react_jsx_runtime.JSX.Element;
4544
4561
 
4545
- export { Amount, AvatarUpload, Container, CreateOrganization, FrontierClientBillingOptions, FrontierClientOptions, FrontierProvider, Header, Layout, MagicLink, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useFrontier, useTokens };
4562
+ export { Amount, AvatarUpload, Container, CreateOrganization, FrontierClientBillingOptions, FrontierClientOptions, FrontierProvider, Header, Layout, MagicLink, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useBillingPermission, useFrontier, useTokens };