@raystack/frontier 0.37.0 → 0.38.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.0",
3
+ "version": "0.38.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.23.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,66 @@ 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, unknown>, ..._tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
148
152
  customRoutes: CustomRoutes;
149
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>>;
150
- declare const OrganizationProfile: ({ organizationId, defaultRoute, showBilling, showTokens, showPreferences, hideToast, customScreens }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
154
+ declare const OrganizationProfile: ({ organizationId, defaultRoute, showBilling, showTokens, showAPIKeys, showPreferences, hideToast, customScreens }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
151
155
  declare module '@tanstack/react-router' {
152
156
  interface Register {
153
157
  router: typeof router;
@@ -2192,7 +2196,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2192
2196
  * @secure
2193
2197
  */
2194
2198
  adminServiceUpdateWebhook: (id: string, body: {
2195
- body?: V1Beta1WebhookRequestBody | undefined;
2199
+ body?: V1Beta1WebhookRequestBody;
2196
2200
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateWebhookResponse, RpcStatus>>;
2197
2201
  /**
2198
2202
  * @description Returns a list of identity providers configured on an instance level in Frontier. e.g Google, AzureAD, Github etc
@@ -2410,7 +2414,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2410
2414
  */
2411
2415
  frontierServiceUpdateFeature: (id: string, body: {
2412
2416
  /** Feature to update */
2413
- body?: V1Beta1FeatureRequestBody | undefined;
2417
+ body?: V1Beta1FeatureRequestBody;
2414
2418
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateFeatureResponse, RpcStatus>>;
2415
2419
  /**
2416
2420
  * @description List all plans.
@@ -2453,7 +2457,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2453
2457
  */
2454
2458
  frontierServiceUpdatePlan: (id: string, body: {
2455
2459
  /** Plan to update */
2456
- body?: V1Beta1PlanRequestBody | undefined;
2460
+ body?: V1Beta1PlanRequestBody;
2457
2461
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePlanResponse, RpcStatus>>;
2458
2462
  /**
2459
2463
  * @description List all products of a platform.
@@ -2496,7 +2500,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2496
2500
  */
2497
2501
  frontierServiceUpdateProduct: (id: string, body: {
2498
2502
  /** Product to update */
2499
- body?: V1Beta1ProductRequestBody | undefined;
2503
+ body?: V1Beta1ProductRequestBody;
2500
2504
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProductResponse, RpcStatus>>;
2501
2505
  /**
2502
2506
  * @description Accepts a Billing webhook and processes it.
@@ -2843,9 +2847,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2843
2847
  */
2844
2848
  frontierServiceCreateBillingAccount: (orgId: string, body: {
2845
2849
  /** Billing account to create. */
2846
- body?: V1Beta1BillingAccountRequestBody | undefined;
2850
+ body?: V1Beta1BillingAccountRequestBody;
2847
2851
  /** Offline billing account don't get registered with billing provider */
2848
- offline?: boolean | undefined;
2852
+ offline?: boolean;
2849
2853
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateBillingAccountResponse, RpcStatus>>;
2850
2854
  /**
2851
2855
  * @description Check if a billing account is entitled to a feature.
@@ -3071,7 +3075,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3071
3075
  */
3072
3076
  frontierServiceUpdateBillingAccount: (orgId: string, id: string, body: {
3073
3077
  /** Billing account to update. */
3074
- body?: V1Beta1BillingAccountRequestBody | undefined;
3078
+ body?: V1Beta1BillingAccountRequestBody;
3075
3079
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateBillingAccountResponse, RpcStatus>>;
3076
3080
  /**
3077
3081
  * @description Get the balance of a billing account by ID.
@@ -4461,8 +4465,10 @@ interface FrontierClientBillingOptions {
4461
4465
  tokenProductId?: string;
4462
4466
  basePlan?: BasePlan;
4463
4467
  }
4468
+ interface FrontierClientAPIPlatformOptions {
4469
+ appName?: string;
4470
+ }
4464
4471
  interface FrontierClientOptions {
4465
- theme?: 'dark' | 'light';
4466
4472
  endpoint: string;
4467
4473
  redirectSignup?: string;
4468
4474
  redirectLogin?: string;
@@ -4471,6 +4477,7 @@ interface FrontierClientOptions {
4471
4477
  dateFormat?: string;
4472
4478
  shortDateFormat?: string;
4473
4479
  billing?: FrontierClientBillingOptions;
4480
+ apiPlatform?: FrontierClientAPIPlatformOptions;
4474
4481
  messages?: {
4475
4482
  billing?: {
4476
4483
  plan_change?: Record<string, string>;
@@ -4485,6 +4492,7 @@ interface FrontierProviderProps {
4485
4492
  children: React.ReactNode;
4486
4493
  initialState?: InitialState;
4487
4494
  customFetch?: (activeOrg?: V1Beta1Organization) => CustomFetch;
4495
+ theme?: ThemeProviderProps;
4488
4496
  }
4489
4497
 
4490
4498
  interface FrontierContextProviderProps {