@raystack/frontier 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -503,6 +503,9 @@ interface V1Beta1ListCurrentUserGroupsResponseAccessPair {
503
503
  groupId?: string;
504
504
  permissions?: string[];
505
505
  }
506
+ interface V1Beta1ListCurrentUserInvitationsResponse {
507
+ invitations?: V1Beta1Invitation[];
508
+ }
506
509
  interface V1Beta1ListCurrentUserPreferencesResponse {
507
510
  preferences?: V1Beta1Preference[];
508
511
  }
@@ -2687,6 +2690,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2687
2690
  orgId?: string;
2688
2691
  withPermissions?: string[];
2689
2692
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserGroupsResponse, RpcStatus>>;
2693
+ /**
2694
+ * @description List all the invitations sent to current user.
2695
+ *
2696
+ * @tags User
2697
+ * @name FrontierServiceListCurrentUserInvitations
2698
+ * @summary List user invitations
2699
+ * @request GET:/v1beta1/users/self/invitations
2700
+ * @secure
2701
+ */
2702
+ frontierServiceListCurrentUserInvitations: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserInvitationsResponse, RpcStatus>>;
2690
2703
  /**
2691
2704
  * @description This API returns two list of organizations for the current logged in user. i) The list of orgs which the current user is already a part of ii) The list of organizations the user can join directly (based on domain whitelisted and verified by the org). This list will also contain orgs of which user is already a part of. Note: the domain needs to be verified by the org before the it is returned as one of the joinable orgs by domain
2692
2705
  *
@@ -2740,4 +2753,4 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2740
2753
 
2741
2754
  declare const FrontierClient: typeof V1Beta1;
2742
2755
 
2743
- export { FrontierClient, ProtobufAny, ProtobufNullValue, RpcStatus, V1Beta1, V1Beta1AcceptOrganizationInvitationResponse, V1Beta1AddGroupUsersResponse, V1Beta1AddOrganizationUsersResponse, V1Beta1AuditLog, V1Beta1AuditLogActor, V1Beta1AuditLogTarget, V1Beta1AuthCallbackRequest, V1Beta1AuthCallbackResponse, V1Beta1AuthLogoutResponse, V1Beta1AuthStrategy, V1Beta1AuthTokenRequest, V1Beta1AuthTokenResponse, V1Beta1AuthenticateResponse, V1Beta1BatchCheckPermissionBody, V1Beta1BatchCheckPermissionRequest, V1Beta1BatchCheckPermissionResponse, V1Beta1BatchCheckPermissionResponsePair, V1Beta1CheckResourcePermissionRequest, V1Beta1CheckResourcePermissionResponse, V1Beta1CreateCurrentUserPreferencesRequest, V1Beta1CreateCurrentUserPreferencesResponse, V1Beta1CreateGroupPreferencesResponse, V1Beta1CreateGroupResponse, V1Beta1CreateMetaSchemaResponse, V1Beta1CreateOrganizationAuditLogsResponse, V1Beta1CreateOrganizationDomainResponse, V1Beta1CreateOrganizationInvitationResponse, V1Beta1CreateOrganizationPreferencesResponse, V1Beta1CreateOrganizationResponse, V1Beta1CreateOrganizationRoleResponse, V1Beta1CreatePermissionRequest, V1Beta1CreatePermissionResponse, V1Beta1CreatePolicyResponse, V1Beta1CreatePreferencesRequest, V1Beta1CreatePreferencesResponse, V1Beta1CreateProjectPreferencesResponse, V1Beta1CreateProjectResourceResponse, V1Beta1CreateProjectResponse, V1Beta1CreateRelationResponse, V1Beta1CreateRoleResponse, V1Beta1CreateServiceUserKeyResponse, V1Beta1CreateServiceUserRequest, V1Beta1CreateServiceUserResponse, V1Beta1CreateServiceUserSecretResponse, V1Beta1CreateUserPreferencesResponse, V1Beta1CreateUserResponse, V1Beta1DeleteGroupResponse, V1Beta1DeleteMetaSchemaResponse, V1Beta1DeleteOrganizationDomainResponse, V1Beta1DeleteOrganizationInvitationResponse, V1Beta1DeleteOrganizationResponse, V1Beta1DeleteOrganizationRoleResponse, V1Beta1DeletePermissionResponse, V1Beta1DeletePolicyResponse, V1Beta1DeleteProjectResourceResponse, V1Beta1DeleteProjectResponse, V1Beta1DeleteRelationResponse, V1Beta1DeleteRoleResponse, V1Beta1DeleteServiceUserKeyResponse, V1Beta1DeleteServiceUserResponse, V1Beta1DeleteServiceUserSecretResponse, V1Beta1DeleteUserResponse, V1Beta1DescribePreferencesResponse, V1Beta1DisableGroupResponse, V1Beta1DisableOrganizationResponse, V1Beta1DisableProjectResponse, V1Beta1DisableUserResponse, V1Beta1Domain, V1Beta1EnableGroupResponse, V1Beta1EnableOrganizationResponse, V1Beta1EnableProjectResponse, V1Beta1EnableUserResponse, V1Beta1GetCurrentUserResponse, V1Beta1GetGroupResponse, V1Beta1GetJWKsResponse, V1Beta1GetMetaSchemaResponse, V1Beta1GetNamespaceResponse, V1Beta1GetOrganizationAuditLogResponse, V1Beta1GetOrganizationDomainResponse, V1Beta1GetOrganizationInvitationResponse, V1Beta1GetOrganizationResponse, V1Beta1GetOrganizationRoleResponse, V1Beta1GetPermissionResponse, V1Beta1GetPolicyResponse, V1Beta1GetProjectResourceResponse, V1Beta1GetProjectResponse, V1Beta1GetRelationResponse, V1Beta1GetServiceUserKeyResponse, V1Beta1GetServiceUserResponse, V1Beta1GetUserResponse, V1Beta1Group, V1Beta1GroupRequestBody, V1Beta1Invitation, V1Beta1JSONWebKey, V1Beta1JoinOrganizationResponse, V1Beta1KeyCredential, V1Beta1ListAllOrganizationsResponse, V1Beta1ListAllUsersResponse, V1Beta1ListAuthStrategiesResponse, V1Beta1ListCurrentUserGroupsResponse, V1Beta1ListCurrentUserGroupsResponseAccessPair, V1Beta1ListCurrentUserPreferencesResponse, V1Beta1ListGroupPreferencesResponse, V1Beta1ListGroupUsersResponse, V1Beta1ListGroupUsersResponseRolePair, V1Beta1ListGroupsResponse, V1Beta1ListMetaSchemasResponse, V1Beta1ListNamespacesResponse, V1Beta1ListOrganizationAdminsResponse, V1Beta1ListOrganizationAuditLogsResponse, V1Beta1ListOrganizationDomainsResponse, V1Beta1ListOrganizationGroupsResponse, V1Beta1ListOrganizationInvitationsResponse, V1Beta1ListOrganizationPreferencesResponse, V1Beta1ListOrganizationProjectsResponse, V1Beta1ListOrganizationRolesResponse, V1Beta1ListOrganizationServiceUsersResponse, V1Beta1ListOrganizationUsersResponse, V1Beta1ListOrganizationsByCurrentUserResponse, V1Beta1ListOrganizationsByUserResponse, V1Beta1ListOrganizationsResponse, V1Beta1ListPermissionsResponse, V1Beta1ListPoliciesResponse, V1Beta1ListPreferencesResponse, V1Beta1ListProjectAdminsResponse, V1Beta1ListProjectPreferencesResponse, V1Beta1ListProjectResourcesResponse, V1Beta1ListProjectServiceUsersResponse, V1Beta1ListProjectServiceUsersResponseRolePair, V1Beta1ListProjectUsersResponse, V1Beta1ListProjectUsersResponseRolePair, V1Beta1ListProjectsByCurrentUserResponse, V1Beta1ListProjectsByCurrentUserResponseAccessPair, V1Beta1ListProjectsByUserResponse, V1Beta1ListProjectsResponse, V1Beta1ListRelationsResponse, V1Beta1ListResourcesResponse, V1Beta1ListRolesResponse, V1Beta1ListServiceUserKeysResponse, V1Beta1ListServiceUserSecretsResponse, V1Beta1ListServiceUsersResponse, V1Beta1ListUserGroupsResponse, V1Beta1ListUserInvitationsResponse, V1Beta1ListUserPreferencesResponse, V1Beta1ListUsersResponse, V1Beta1MetaSchema, V1Beta1MetaSchemaRequestBody, V1Beta1Namespace, V1Beta1Organization, V1Beta1OrganizationRequestBody, V1Beta1Permission, V1Beta1PermissionRequestBody, V1Beta1Policy, V1Beta1PolicyRequestBody, V1Beta1Preference, V1Beta1PreferenceRequestBody, V1Beta1PreferenceTrait, V1Beta1Project, V1Beta1ProjectRequestBody, V1Beta1Relation, V1Beta1RelationRequestBody, V1Beta1RemoveGroupUserResponse, V1Beta1RemoveOrganizationUserResponse, V1Beta1Resource, V1Beta1ResourceRequestBody, V1Beta1Role, V1Beta1RoleRequestBody, V1Beta1SecretCredential, V1Beta1ServiceUser, V1Beta1ServiceUserKey, V1Beta1ServiceUserRequestBody, V1Beta1UpdateCurrentUserResponse, V1Beta1UpdateGroupResponse, V1Beta1UpdateMetaSchemaResponse, V1Beta1UpdateOrganizationResponse, V1Beta1UpdateOrganizationRoleResponse, V1Beta1UpdatePermissionResponse, V1Beta1UpdatePolicyResponse, V1Beta1UpdateProjectResourceResponse, V1Beta1UpdateProjectResponse, V1Beta1UpdateRoleResponse, V1Beta1UpdateUserResponse, V1Beta1User, V1Beta1UserRequestBody, V1Beta1VerifyOrganizationDomainResponse };
2756
+ export { FrontierClient, ProtobufAny, ProtobufNullValue, RpcStatus, V1Beta1, V1Beta1AcceptOrganizationInvitationResponse, V1Beta1AddGroupUsersResponse, V1Beta1AddOrganizationUsersResponse, V1Beta1AuditLog, V1Beta1AuditLogActor, V1Beta1AuditLogTarget, V1Beta1AuthCallbackRequest, V1Beta1AuthCallbackResponse, V1Beta1AuthLogoutResponse, V1Beta1AuthStrategy, V1Beta1AuthTokenRequest, V1Beta1AuthTokenResponse, V1Beta1AuthenticateResponse, V1Beta1BatchCheckPermissionBody, V1Beta1BatchCheckPermissionRequest, V1Beta1BatchCheckPermissionResponse, V1Beta1BatchCheckPermissionResponsePair, V1Beta1CheckResourcePermissionRequest, V1Beta1CheckResourcePermissionResponse, V1Beta1CreateCurrentUserPreferencesRequest, V1Beta1CreateCurrentUserPreferencesResponse, V1Beta1CreateGroupPreferencesResponse, V1Beta1CreateGroupResponse, V1Beta1CreateMetaSchemaResponse, V1Beta1CreateOrganizationAuditLogsResponse, V1Beta1CreateOrganizationDomainResponse, V1Beta1CreateOrganizationInvitationResponse, V1Beta1CreateOrganizationPreferencesResponse, V1Beta1CreateOrganizationResponse, V1Beta1CreateOrganizationRoleResponse, V1Beta1CreatePermissionRequest, V1Beta1CreatePermissionResponse, V1Beta1CreatePolicyResponse, V1Beta1CreatePreferencesRequest, V1Beta1CreatePreferencesResponse, V1Beta1CreateProjectPreferencesResponse, V1Beta1CreateProjectResourceResponse, V1Beta1CreateProjectResponse, V1Beta1CreateRelationResponse, V1Beta1CreateRoleResponse, V1Beta1CreateServiceUserKeyResponse, V1Beta1CreateServiceUserRequest, V1Beta1CreateServiceUserResponse, V1Beta1CreateServiceUserSecretResponse, V1Beta1CreateUserPreferencesResponse, V1Beta1CreateUserResponse, V1Beta1DeleteGroupResponse, V1Beta1DeleteMetaSchemaResponse, V1Beta1DeleteOrganizationDomainResponse, V1Beta1DeleteOrganizationInvitationResponse, V1Beta1DeleteOrganizationResponse, V1Beta1DeleteOrganizationRoleResponse, V1Beta1DeletePermissionResponse, V1Beta1DeletePolicyResponse, V1Beta1DeleteProjectResourceResponse, V1Beta1DeleteProjectResponse, V1Beta1DeleteRelationResponse, V1Beta1DeleteRoleResponse, V1Beta1DeleteServiceUserKeyResponse, V1Beta1DeleteServiceUserResponse, V1Beta1DeleteServiceUserSecretResponse, V1Beta1DeleteUserResponse, V1Beta1DescribePreferencesResponse, V1Beta1DisableGroupResponse, V1Beta1DisableOrganizationResponse, V1Beta1DisableProjectResponse, V1Beta1DisableUserResponse, V1Beta1Domain, V1Beta1EnableGroupResponse, V1Beta1EnableOrganizationResponse, V1Beta1EnableProjectResponse, V1Beta1EnableUserResponse, V1Beta1GetCurrentUserResponse, V1Beta1GetGroupResponse, V1Beta1GetJWKsResponse, V1Beta1GetMetaSchemaResponse, V1Beta1GetNamespaceResponse, V1Beta1GetOrganizationAuditLogResponse, V1Beta1GetOrganizationDomainResponse, V1Beta1GetOrganizationInvitationResponse, V1Beta1GetOrganizationResponse, V1Beta1GetOrganizationRoleResponse, V1Beta1GetPermissionResponse, V1Beta1GetPolicyResponse, V1Beta1GetProjectResourceResponse, V1Beta1GetProjectResponse, V1Beta1GetRelationResponse, V1Beta1GetServiceUserKeyResponse, V1Beta1GetServiceUserResponse, V1Beta1GetUserResponse, V1Beta1Group, V1Beta1GroupRequestBody, V1Beta1Invitation, V1Beta1JSONWebKey, V1Beta1JoinOrganizationResponse, V1Beta1KeyCredential, V1Beta1ListAllOrganizationsResponse, V1Beta1ListAllUsersResponse, V1Beta1ListAuthStrategiesResponse, V1Beta1ListCurrentUserGroupsResponse, V1Beta1ListCurrentUserGroupsResponseAccessPair, V1Beta1ListCurrentUserInvitationsResponse, V1Beta1ListCurrentUserPreferencesResponse, V1Beta1ListGroupPreferencesResponse, V1Beta1ListGroupUsersResponse, V1Beta1ListGroupUsersResponseRolePair, V1Beta1ListGroupsResponse, V1Beta1ListMetaSchemasResponse, V1Beta1ListNamespacesResponse, V1Beta1ListOrganizationAdminsResponse, V1Beta1ListOrganizationAuditLogsResponse, V1Beta1ListOrganizationDomainsResponse, V1Beta1ListOrganizationGroupsResponse, V1Beta1ListOrganizationInvitationsResponse, V1Beta1ListOrganizationPreferencesResponse, V1Beta1ListOrganizationProjectsResponse, V1Beta1ListOrganizationRolesResponse, V1Beta1ListOrganizationServiceUsersResponse, V1Beta1ListOrganizationUsersResponse, V1Beta1ListOrganizationsByCurrentUserResponse, V1Beta1ListOrganizationsByUserResponse, V1Beta1ListOrganizationsResponse, V1Beta1ListPermissionsResponse, V1Beta1ListPoliciesResponse, V1Beta1ListPreferencesResponse, V1Beta1ListProjectAdminsResponse, V1Beta1ListProjectPreferencesResponse, V1Beta1ListProjectResourcesResponse, V1Beta1ListProjectServiceUsersResponse, V1Beta1ListProjectServiceUsersResponseRolePair, V1Beta1ListProjectUsersResponse, V1Beta1ListProjectUsersResponseRolePair, V1Beta1ListProjectsByCurrentUserResponse, V1Beta1ListProjectsByCurrentUserResponseAccessPair, V1Beta1ListProjectsByUserResponse, V1Beta1ListProjectsResponse, V1Beta1ListRelationsResponse, V1Beta1ListResourcesResponse, V1Beta1ListRolesResponse, V1Beta1ListServiceUserKeysResponse, V1Beta1ListServiceUserSecretsResponse, V1Beta1ListServiceUsersResponse, V1Beta1ListUserGroupsResponse, V1Beta1ListUserInvitationsResponse, V1Beta1ListUserPreferencesResponse, V1Beta1ListUsersResponse, V1Beta1MetaSchema, V1Beta1MetaSchemaRequestBody, V1Beta1Namespace, V1Beta1Organization, V1Beta1OrganizationRequestBody, V1Beta1Permission, V1Beta1PermissionRequestBody, V1Beta1Policy, V1Beta1PolicyRequestBody, V1Beta1Preference, V1Beta1PreferenceRequestBody, V1Beta1PreferenceTrait, V1Beta1Project, V1Beta1ProjectRequestBody, V1Beta1Relation, V1Beta1RelationRequestBody, V1Beta1RemoveGroupUserResponse, V1Beta1RemoveOrganizationUserResponse, V1Beta1Resource, V1Beta1ResourceRequestBody, V1Beta1Role, V1Beta1RoleRequestBody, V1Beta1SecretCredential, V1Beta1ServiceUser, V1Beta1ServiceUserKey, V1Beta1ServiceUserRequestBody, V1Beta1UpdateCurrentUserResponse, V1Beta1UpdateGroupResponse, V1Beta1UpdateMetaSchemaResponse, V1Beta1UpdateOrganizationResponse, V1Beta1UpdateOrganizationRoleResponse, V1Beta1UpdatePermissionResponse, V1Beta1UpdatePolicyResponse, V1Beta1UpdateProjectResourceResponse, V1Beta1UpdateProjectResponse, V1Beta1UpdateRoleResponse, V1Beta1UpdateUserResponse, V1Beta1User, V1Beta1UserRequestBody, V1Beta1VerifyOrganizationDomainResponse };
package/dist/index.js CHANGED
@@ -2292,6 +2292,21 @@ var V1Beta1 = class extends HttpClient {
2292
2292
  secure: true,
2293
2293
  format: "json"
2294
2294
  }, params));
2295
+ /**
2296
+ * @description List all the invitations sent to current user.
2297
+ *
2298
+ * @tags User
2299
+ * @name FrontierServiceListCurrentUserInvitations
2300
+ * @summary List user invitations
2301
+ * @request GET:/v1beta1/users/self/invitations
2302
+ * @secure
2303
+ */
2304
+ this.frontierServiceListCurrentUserInvitations = (params = {}) => this.request(__spreadValues({
2305
+ path: `/v1beta1/users/self/invitations`,
2306
+ method: "GET",
2307
+ secure: true,
2308
+ format: "json"
2309
+ }, params));
2295
2310
  /**
2296
2311
  * @description This API returns two list of organizations for the current logged in user. i) The list of orgs which the current user is already a part of ii) The list of organizations the user can join directly (based on domain whitelisted and verified by the org). This list will also contain orgs of which user is already a part of. Note: the domain needs to be verified by the org before the it is returned as one of the joinable orgs by domain
2297
2312
  *
package/dist/index.mjs CHANGED
@@ -2267,6 +2267,21 @@ var V1Beta1 = class extends HttpClient {
2267
2267
  secure: true,
2268
2268
  format: "json"
2269
2269
  }, params));
2270
+ /**
2271
+ * @description List all the invitations sent to current user.
2272
+ *
2273
+ * @tags User
2274
+ * @name FrontierServiceListCurrentUserInvitations
2275
+ * @summary List user invitations
2276
+ * @request GET:/v1beta1/users/self/invitations
2277
+ * @secure
2278
+ */
2279
+ this.frontierServiceListCurrentUserInvitations = (params = {}) => this.request(__spreadValues({
2280
+ path: `/v1beta1/users/self/invitations`,
2281
+ method: "GET",
2282
+ secure: true,
2283
+ format: "json"
2284
+ }, params));
2270
2285
  /**
2271
2286
  * @description This API returns two list of organizations for the current logged in user. i) The list of orgs which the current user is already a part of ii) The list of organizations the user can join directly (based on domain whitelisted and verified by the org). This list will also contain orgs of which user is already a part of. Note: the domain needs to be verified by the org before the it is returned as one of the joinable orgs by domain
2272
2287
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raystack/frontier",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "A js library for frontier",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -55,8 +55,8 @@
55
55
  "swagger-typescript-api": "^13.0.2",
56
56
  "tsup": "^6.7.0",
57
57
  "typescript": "^5.1.6",
58
- "eslint-config-frontier": "^0.0.0",
59
- "@raystack/frontier-tsconfig": "^0.0.0"
58
+ "@raystack/frontier-tsconfig": "^0.0.0",
59
+ "eslint-config-frontier": "^0.0.0"
60
60
  },
61
61
  "dependencies": {
62
62
  "@hookform/resolvers": "^3.1.1",
@@ -46,7 +46,7 @@ interface OrganizationProfileProps {
46
46
  organizationId: string;
47
47
  defaultRoute?: string;
48
48
  }
49
- declare const router: Router<Route<any, "/", "/", string, "__root__", unknown, {}, {}, {}, {}, {}, {}, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, {}, (Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/", "/", string, "/", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/", "/", string, "/", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/delete", "/delete", string, "/delete", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/security", "/security", string, "/security", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/members", "/members", string, "/members", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/members", "/members", string, "/members", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/modal", "/members/modal", string, "/members/modal", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/teams", "/teams", string, "/teams", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/teams", "/teams", string, "/teams", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/modal", "/teams/modal", string, "/teams/modal", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/domains", "/domains", string, "/domains", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, (Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/domains", "/domains", string, "/domains", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/modal", "/domains/modal", string, "/domains/modal", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute> | Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/domains", "/domains", string, "/domains", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/$domainId/verify", "/domains/$domainId/verify", string, "/domains/$domainId/verify", unknown, {}, {}, Record<"domainId", string>, Record<never, string> & Record<"domainId", string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>)[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", unknown, {}, {}, Record<"teamId", string>, Record<"teamId", string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", unknown, {}, {}, Record<"teamId", string>, Record<"teamId", string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/delete", "/teams/$teamId/delete", string, "/teams/$teamId/delete", unknown, {}, {}, Record<never, string>, Record<"teamId", string> & Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/projects", "/projects", string, "/projects", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/projects", "/projects", string, "/projects", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/modal", "/projects/modal", string, "/projects/modal", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", unknown, {}, {}, Record<"projectId", string>, Record<"projectId", string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", unknown, {}, {}, Record<"projectId", string>, Record<"projectId", string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/delete", "/projects/$projectId/delete", string, "/projects/$projectId/delete", unknown, {}, {}, Record<never, string>, Record<"projectId", string> & Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/profile", "/profile", string, "/profile", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/perferences", "/perferences", string, "/perferences", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>)[], any>, Record<string, any>>;
49
+ declare const router: Router<Route<any, "/", "/", string, "__root__", unknown, {}, {}, {}, {}, {}, {}, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, {}, (Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/", "/", string, "/", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/", "/", string, "/", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/delete", "/delete", string, "/delete", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/security", "/security", string, "/security", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/members", "/members", string, "/members", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/members", "/members", string, "/members", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/modal", "/members/modal", string, "/members/modal", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/teams", "/teams", string, "/teams", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/teams", "/teams", string, "/teams", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/modal", "/teams/modal", string, "/teams/modal", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/domains", "/domains", string, "/domains", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, (Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/domains", "/domains", string, "/domains", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/modal", "/domains/modal", string, "/domains/modal", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute> | Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/domains", "/domains", string, "/domains", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/$domainId/verify", "/domains/$domainId/verify", string, "/domains/$domainId/verify", unknown, {}, {}, Record<"domainId", string>, Record<never, string> & Record<"domainId", string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>)[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", unknown, {}, {}, Record<"teamId", string>, Record<"teamId", string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", unknown, {}, {}, Record<"teamId", string>, Record<"teamId", string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/delete", "/teams/$teamId/delete", string, "/teams/$teamId/delete", unknown, {}, {}, Record<never, string>, Record<"teamId", string> & Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/projects", "/projects", string, "/projects", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/projects", "/projects", string, "/projects", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/modal", "/projects/modal", string, "/projects/modal", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", unknown, {}, {}, Record<"projectId", string>, Record<"projectId", string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, Route<Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", unknown, {}, {}, Record<"projectId", string>, Record<"projectId", string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>, "/delete", "/projects/$projectId/delete", string, "/projects/$projectId/delete", unknown, {}, {}, Record<never, string>, Record<"projectId", string> & Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>[], _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/profile", "/profile", string, "/profile", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute> | Route<RootRoute<unknown, {}, _tanstack_router_core.RouteContext, {}>, "/preferences", "/preferences", string, "/preferences", unknown, {}, {}, Record<never, string>, Record<never, string>, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.RouteContext, _tanstack_router_core.AnyContext, unknown, _tanstack_router_core.AnyRoute>)[], any>, Record<string, any>>;
50
50
  declare const OrganizationProfile: ({ organizationId, defaultRoute }: OrganizationProfileProps) => JSX.Element;
51
51
  declare module '@tanstack/react-router' {
52
52
  interface Register {
@@ -539,6 +539,9 @@ interface V1Beta1ListCurrentUserGroupsResponseAccessPair {
539
539
  groupId?: string;
540
540
  permissions?: string[];
541
541
  }
542
+ interface V1Beta1ListCurrentUserInvitationsResponse {
543
+ invitations?: V1Beta1Invitation[];
544
+ }
542
545
  interface V1Beta1ListCurrentUserPreferencesResponse {
543
546
  preferences?: V1Beta1Preference[];
544
547
  }
@@ -2721,6 +2724,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2721
2724
  orgId?: string;
2722
2725
  withPermissions?: string[];
2723
2726
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserGroupsResponse, RpcStatus>>;
2727
+ /**
2728
+ * @description List all the invitations sent to current user.
2729
+ *
2730
+ * @tags User
2731
+ * @name FrontierServiceListCurrentUserInvitations
2732
+ * @summary List user invitations
2733
+ * @request GET:/v1beta1/users/self/invitations
2734
+ * @secure
2735
+ */
2736
+ frontierServiceListCurrentUserInvitations: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserInvitationsResponse, RpcStatus>>;
2724
2737
  /**
2725
2738
  * @description This API returns two list of organizations for the current logged in user. i) The list of orgs which the current user is already a part of ii) The list of organizations the user can join directly (based on domain whitelisted and verified by the org). This list will also contain orgs of which user is already a part of. Note: the domain needs to be verified by the org before the it is returned as one of the joinable orgs by domain
2726
2739
  *