import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios'; /* Auto-copied from user-client */ declare namespace Components { namespace Schemas { export interface CognitoDetails { /** * example: * eu-central-1 */ cognito_region?: string; /** * example: * eu-central-sample */ cognito_user_pool_id?: string; /** * example: * asbkh213ehkquwhdi */ cognito_user_pool_client_id?: string; /** * example: * arn:aws:cognito-idp:eu-central-1:123456789012:userpool/eu-central-sample */ cognito_user_pool_arn?: string; } export interface CreateGroupReq { /** * The name of the group. Could be a department or a team. * example: * Finance */ name: string; /** * The list of user ids in the group. * example: * [ * "123", * "456" * ] */ user_ids?: /* User's unique identifier */ UserId[]; image_uri?: /** * Group's profile image or gradient colors. Supports uploaded image URLs and generated gradient avatars. * example: * { * "gradient_colors": [ * "#0588f0", * "#3358d4" * ] * } */ GroupImageUri; /** * A short abbreviation for the group, up to 2 characters. * example: * FN */ abbreviation?: string | null; } export interface DataPoint { /** * Organization id * example: * 206801 */ id?: number; /** * Number of current user * example: * 10 */ actual_users?: number; /** * Max user last month * example: * 10 */ max_users_last_month?: number; /** * Max non-billable user last month * example: * 10 */ non_billable_users_last_month?: number; } export type DataPointsResponse = DataPoint[]; export interface Group { id: /* Group unique identifier */ GroupId; org_id: OrganizationId; /** * The name of the group. Could be a department or a team. * example: * Finance */ name: string; /** * example: * 2024-02-08T04:44:32.246Z */ created_at: string; /** * example: * 2024-02-08T04:44:32.246Z */ updated_at: string; /** * The user id of the user that created the group. * example: * 123 */ created_by?: string; /** * The current user assignee of the group. This is the user, from within the group, that has last been assigned to a workflow task. */ crt_assignee?: { id?: /* User's unique identifier */ UserId; organization_id?: OrganizationId; created_at?: string; // date-time activated_at?: string; // date-time /** * User's display name (default: email address) * example: * Example User */ display_name?: string; status?: "Active" | "Pending" | "Deactivated" | "Deleted"; /** * User's email address */ email?: string; // email /** * User's pending email address */ draft_email?: string | null; // email /** * Server-set expiry for the pending email change verification link (ISO 8601). Read-only. */ draft_email_expires_at?: string | null; // date-time /** * User's department * example: * Sales */ department?: string | null; /** * User's phone number * example: * 1234567890 */ phone?: string | null; /** * User's secondary phone number, preferred for communication * example: * 1234567890 */ secondary_phone?: string | null; /** * User's multi-factor authentication status * example: * false */ mfa_enabled?: boolean; /** * Whether the user has any registered passkeys * example: * false */ has_passkeys?: boolean; /** * User's phone number verification status * example: * true */ phone_verified?: boolean; token?: /* Token used to invite a user to epilot */ InviteToken; /** * User's email signature * example: *

Thanks

*/ signature?: string | null; /** * Whether the user's signature is enabled * example: * true */ is_signature_enabled?: boolean | null; /** * User's preferred language * example: * de */ preferred_language?: string; /** * User's start page after login */ custom_start_page?: string | null; // ^/app/* custom_navigation?: /** * Navigation unique identifier - a hash of the normalized navigation payload (name + configuration). Identical navigations across orgs will have the same ID. * example: * 5gbe4nkp6jsfq */ NavigationId; /** * This field is used to override the release channel for the user. */ override_release_channel?: "canary" | "rc" | "stable" | null; /** * User's feature preferences * example: * { * "feature_name": true * } */ feature_preferences?: { [name: string]: any; } | null; /** * User's custom profile image * example: * { * "original": "https://account-profile-images.epilot.cloud/1/avatar.png", * "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png" * } */ image_uri?: { [name: string]: any; original?: string; // uri thumbnail_32?: string; // uri } | null; /** * example: * { * "entity_views": { * "opportunity": "891a5409850abf8b92bd2cb7bdd2844d32ce6bec", * "order": "628aee91-7c2f-4047-ab0d-433582a19c49" * }, * "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380" * } */ favorites?: { [name: string]: any; }; /** * example: * { * "added_participant_opportunity": true, * "assigned_opportunity": true, * "assigned_task": true, * "comment_opportunity": true, * "deleted_task": true, * "escalated_task": true, * "message_receive_opportunity": true, * "message_send_opportunity": true, * "created_task": true, * "created_opportunity_manual": true, * "created_opportunity_auto": true, * "deleted_opportunity": true * } */ email_notification_setting?: { [name: string]: any; }; properties?: { /** * example: * profileImageName */ name: string; /** * example: * avatar.png */ value: string; }[]; /** * The index of the current assignee in the group's user list. * example: * 3 */ crt_index?: number; }; /** * The list of users in the group. Only contains the full user when respective endpoint is called with a flag. Otherwise only contains the user id. */ users?: UserV2[]; image_uri?: /** * Group's profile image or gradient colors. Supports uploaded image URLs and generated gradient avatars. * example: * { * "gradient_colors": [ * "#0588f0", * "#3358d4" * ] * } */ GroupImageUri; /** * A short abbreviation for the group, up to 2 characters. * example: * FN */ abbreviation?: string | null; } /** * Group unique identifier */ export type GroupId = string; /** * Group's profile image or gradient colors. Supports uploaded image URLs and generated gradient avatars. * example: * { * "gradient_colors": [ * "#0588f0", * "#3358d4" * ] * } */ export type GroupImageUri = { [name: string]: any; /** * example: * https://account-profile-images.epilot.cloud/org/group-avatar.png */ original?: string; // uri /** * example: * https://account-profile-images.epilot.cloud/org/group-avatar_32x32.png */ thumbnail_32?: string; // uri /** * example: * https://account-profile-images.epilot.cloud/org/group-avatar_64x64.png */ thumbnail_64?: string; // uri /** * Two hex color strings [base_color, accent_color] for mesh gradient avatar. * example: * [ * "#0588f0", * "#3358d4" * ] */ gradient_colors?: [ string, string ]; } | null; export type Hydrate = boolean; /** * Token used to invite a user to epilot */ export type InviteToken = string; export type Limit = number; export interface LoginParameters { /** * example: * 123 */ organization_id?: string; /** * example: * epilot GmbH */ organization_name?: string; /** * example: * Vendor */ organization_type?: string; /** * example: * Production */ organization_use?: string; /** * example: * eu-central-1 */ cognito_region?: string; /** * example: * eu-central-sample */ cognito_user_pool_id?: string; /** * example: * asbkh213ehkquwhdi */ cognito_user_pool_client_id?: string; /** * example: * epilot-org-123 */ cognito_oauth_domain?: string; /** * example: * [ * "openid" * ] */ cognito_oauth_scopes?: string[]; oauth_response_type?: "code" | "token"; /** * Whether passkey login is enabled for this organization */ passkey_enabled?: boolean; } /** * A customized workplace navigation configuration. The ID is a content-hash, so identical configurations will have the same ID. */ export interface Navigation { id: /** * Navigation unique identifier - a hash of the normalized navigation payload (name + configuration). Identical navigations across orgs will have the same ID. * example: * 5gbe4nkp6jsfq */ NavigationId; /** * Human-readable name for the navigation configuration * example: * Sales Team Navigation */ name: string; configuration: /** * Navigation configuration organized by sections. Each section contains an array of navigation items. * * example: * { * "customer_relations": [ * { * "key": "dashboard" * }, * { * "key": "contact" * } * ], * "configurations": [ * { * "name": "Product Catalog", * "subItems": [ * { * "key": "product" * }, * { * "key": "price" * } * ] * }, * { * "key": "journey" * } * ] * } */ NavigationConfiguration; } /** * Navigation configuration organized by sections. Each section contains an array of navigation items. * * example: * { * "customer_relations": [ * { * "key": "dashboard" * }, * { * "key": "contact" * } * ], * "configurations": [ * { * "name": "Product Catalog", * "subItems": [ * { * "key": "product" * }, * { * "key": "price" * } * ] * }, * { * "key": "journey" * } * ] * } */ export interface NavigationConfiguration { [name: string]: /* A navigation item - either a simple key item or a group with sub-items */ NavigationItem[]; } /** * Request payload to create a new navigation configuration */ export interface NavigationCreateRequest { /** * Human-readable name for the navigation configuration * example: * Sales Team Navigation */ name: string; configuration: /** * Navigation configuration organized by sections. Each section contains an array of navigation items. * * example: * { * "customer_relations": [ * { * "key": "dashboard" * }, * { * "key": "contact" * } * ], * "configurations": [ * { * "name": "Product Catalog", * "subItems": [ * { * "key": "product" * }, * { * "key": "price" * } * ] * }, * { * "key": "journey" * } * ] * } */ NavigationConfiguration; } /** * A navigation group containing sub-items */ export interface NavigationGroupItem { /** * The display name of the navigation group * example: * Product Catalog */ name: string; /** * The list of navigation items within this group */ subItems: /* A simple navigation item with a key */ NavigationKeyItem[]; } /** * Navigation unique identifier - a hash of the normalized navigation payload (name + configuration). Identical navigations across orgs will have the same ID. * example: * 5gbe4nkp6jsfq */ export type NavigationId = string | null; /** * A navigation item - either a simple key item or a group with sub-items */ export type NavigationItem = /* A navigation item - either a simple key item or a group with sub-items */ /* A simple navigation item with a key */ NavigationKeyItem | /* A navigation group containing sub-items */ NavigationGroupItem; /** * A simple navigation item with a key */ export interface NavigationKeyItem { /** * The unique key identifier for the navigation item * example: * dashboard */ key: string; } export type Offset = number; export interface Organization { id?: OrganizationId; type?: "Vendor" | "Partner"; /** * example: * Epilot */ name?: string | null; /** * example: *

Thanks

*/ signature?: string | null; /** * example: * EPI */ symbol?: string | null; /** * example: * professional */ pricing_tier?: string | null; /** * example: * someone@epilot.cloud */ email?: string | null; /** * example: * 49123123123 */ phone?: string | null; /** * example: * https://epilot.cloud */ website?: string | null; address?: { country?: string | null; city?: string | null; postal_code?: string | null; street?: string | null; street_number?: string | null; }; /** * example: * https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png */ logo_url?: string | null; /** * example: * https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png */ logo_thumbnail_url?: string | null; /** * example: * false */ is_unlicensed_org?: boolean | null; cognito_details?: CognitoDetails; } export interface OrganizationDetail { [name: string]: any; type: "Vendor" | "Partner"; /** * example: * Epilot */ name: string; /** * example: * professional */ pricing_tier: string; email: string; phone?: string; website?: string; /** * example: * false */ is_privacy_policy_checked?: boolean | null; /** * example: * false */ is_terms_and_conditions_checked?: boolean | null; } export type OrganizationId = string; /** * Token used to invite a partner user to epilot */ export type PartnerInvitationToken = string; export interface Passkey { /** * Base64url-encoded credential ID */ credential_id?: string; /** * example: * My Laptop */ friendly_name?: string; created_at?: string; // date-time transports?: string[]; aaguid?: string; } export interface PasskeyAuthenticationOptions { /** * WebAuthn PublicKeyCredentialRequestOptions */ options?: { [key: string]: any; }; /** * Signed JWT containing the challenge */ challenge_token?: string; } export interface PasskeyRegistrationOptions { /** * WebAuthn PublicKeyCredentialCreationOptions */ options?: { [key: string]: any; }; /** * Signed JWT containing the challenge */ challenge_token?: string; } export interface PasskeyRegistrationResponse { /** * The challenge token from registerBegin */ challenge_token: string; /** * WebAuthn AuthenticatorAttestationResponse */ registration_response: { [key: string]: any; }; /** * example: * My Laptop */ friendly_name?: string; } export type Query = string; export interface SignupUserPayload { organization_detail?: OrganizationDetail; user_detail?: UserDetail; /** * Language for user invitation email */ language?: "en" | "de"; } export interface UpdateGroupReq { /** * The name of the group. Could be a department or a team. * example: * Finance */ name?: string; /** * The list of user ids in the group. * example: * [ * "123", * "456" * ] */ user_ids?: /* User's unique identifier */ UserId[]; image_uri?: /** * Group's profile image or gradient colors. Supports uploaded image URLs and generated gradient avatars. * example: * { * "gradient_colors": [ * "#0588f0", * "#3358d4" * ] * } */ GroupImageUri; /** * A short abbreviation for the group, up to 2 characters. * example: * FN */ abbreviation?: string | null; } export interface User { id: /* User's unique identifier */ UserId; organization_id: OrganizationId; email: string; // email /** * example: * Example user */ display_name?: string; /** * example: * Example user */ name: string; /** * example: * de */ preferred_language: string; /** * example: *

Thanks

*/ signature?: string; custom_navigation?: /** * Navigation unique identifier - a hash of the normalized navigation payload (name + configuration). Identical navigations across orgs will have the same ID. * example: * 5gbe4nkp6jsfq */ NavigationId; /** * Deprecated! Please use Permissions API instead */ roles: string[]; image_uri?: { [name: string]: any; /** * example: * https://account-profile-images.epilot.cloud/1/avatar.png */ original?: string; // uri /** * example: * https://account-profile-images.epilot.cloud/1/avatar_32x32.png */ thumbnail_32?: string; // uri } | null; properties: { /** * example: * profileImageName */ name: string; /** * example: * avatar.png */ value: string; }[]; } export interface UserActivationPayload { /** * User's display name (default: email address) * example: * Example User */ display_name?: string; /** * User's password * example: * AKjhdakjsdh@!34 */ password?: string; } export interface UserDetail { /** * example: * Example user */ full_name: string; email: string; // email /** * User's password * example: * AKjhdakjsdh@!34 */ password: string; } /** * User's unique identifier */ export type UserId = string; export interface UserInvitationPayload { /** * Email address of the address * example: * test@example.com */ email?: string; /** * Language for user invitation email */ language?: "en" | "de"; roles?: string[]; } export interface UserSetting { scope: /** * User setting scope. Values are limited to 64 characters. * example: * calendar */ UserSettingScope; key: /** * User setting key. Values are limited to 128 characters. * example: * visible_calendars */ UserSettingKey; value: /* The JSON value of a user setting. Objects are recommended for extensibility, but any JSON value is accepted up to 64 KiB when serialized as JSON. */ UserSettingValue; created_at: string; // date-time updated_at: string; // date-time } /** * User setting key. Values are limited to 128 characters. * example: * visible_calendars */ export type UserSettingKey = string; /** * User setting scope. Values are limited to 64 characters. * example: * calendar */ export type UserSettingScope = string; /** * The JSON value of a user setting. Objects are recommended for extensibility, but any JSON value is accepted up to 64 KiB when serialized as JSON. */ export type UserSettingValue = any; export interface UserSettingsListResponse { results: { scope: /** * User setting scope. Values are limited to 64 characters. * example: * calendar */ UserSettingScope; /** * example: * [ * "visible_calendars" * ] */ keys: /** * User setting key. Values are limited to 128 characters. * example: * visible_calendars */ UserSettingKey[]; }[]; } export interface UserSettingsScopeResponse { scope: /** * User setting scope. Values are limited to 64 characters. * example: * calendar */ UserSettingScope; /** * example: * { * "visible_calendars": { * "calendar_ids": [ * "holidays" * ] * } * } */ settings: { [name: string]: /* The JSON value of a user setting. Objects are recommended for extensibility, but any JSON value is accepted up to 64 KiB when serialized as JSON. */ UserSettingValue; }; } export interface UserV2 { id?: /* User's unique identifier */ UserId; organization_id?: OrganizationId; created_at?: string; // date-time activated_at?: string; // date-time /** * User's display name (default: email address) * example: * Example User */ display_name?: string; status?: "Active" | "Pending" | "Deactivated" | "Deleted"; /** * User's email address */ email?: string; // email /** * User's pending email address */ draft_email?: string | null; // email /** * Server-set expiry for the pending email change verification link (ISO 8601). Read-only. */ draft_email_expires_at?: string | null; // date-time /** * User's department * example: * Sales */ department?: string | null; /** * User's phone number * example: * 1234567890 */ phone?: string | null; /** * User's secondary phone number, preferred for communication * example: * 1234567890 */ secondary_phone?: string | null; /** * User's multi-factor authentication status * example: * false */ mfa_enabled?: boolean; /** * Whether the user has any registered passkeys * example: * false */ has_passkeys?: boolean; /** * User's phone number verification status * example: * true */ phone_verified?: boolean; token?: /* Token used to invite a user to epilot */ InviteToken; /** * User's email signature * example: *

Thanks

*/ signature?: string | null; /** * Whether the user's signature is enabled * example: * true */ is_signature_enabled?: boolean | null; /** * User's preferred language * example: * de */ preferred_language?: string; /** * User's start page after login */ custom_start_page?: string | null; // ^/app/* custom_navigation?: /** * Navigation unique identifier - a hash of the normalized navigation payload (name + configuration). Identical navigations across orgs will have the same ID. * example: * 5gbe4nkp6jsfq */ NavigationId; /** * This field is used to override the release channel for the user. */ override_release_channel?: "canary" | "rc" | "stable" | null; /** * User's feature preferences * example: * { * "feature_name": true * } */ feature_preferences?: { [name: string]: any; } | null; /** * User's custom profile image * example: * { * "original": "https://account-profile-images.epilot.cloud/1/avatar.png", * "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png" * } */ image_uri?: { [name: string]: any; original?: string; // uri thumbnail_32?: string; // uri } | null; /** * example: * { * "entity_views": { * "opportunity": "891a5409850abf8b92bd2cb7bdd2844d32ce6bec", * "order": "628aee91-7c2f-4047-ab0d-433582a19c49" * }, * "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380" * } */ favorites?: { [name: string]: any; }; /** * example: * { * "added_participant_opportunity": true, * "assigned_opportunity": true, * "assigned_task": true, * "comment_opportunity": true, * "deleted_task": true, * "escalated_task": true, * "message_receive_opportunity": true, * "message_send_opportunity": true, * "created_task": true, * "created_opportunity_manual": true, * "created_opportunity_auto": true, * "deleted_opportunity": true * } */ email_notification_setting?: { [name: string]: any; }; properties?: { /** * example: * profileImageName */ name: string; /** * example: * avatar.png */ value: string; }[]; } export interface UserVerificationPayload { /** * User's password * example: * AKjhdakjsdh@!34 */ password?: string; } export type Username = string; export type VerificationToken = string; } } declare namespace Paths { namespace ActivateUser { namespace Parameters { export type Token = /* Token used to invite a user to epilot */ Components.Schemas.InviteToken; } export interface QueryParameters { token: Parameters.Token; } export type RequestBody = Components.Schemas.UserActivationPayload; namespace Responses { export interface $200 { } export interface $400 { } export interface $404 { } } } namespace AdvanceUserAssignment { namespace Parameters { export type Id = /* Group unique identifier */ Components.Schemas.GroupId; } export interface PathParameters { id: Parameters.Id; } namespace Responses { export type $200 = Components.Schemas.Group; export interface $404 { } export interface $422 { } } } namespace BeginDiscoverablePasskeyAuthentication { namespace Responses { export type $200 = Components.Schemas.PasskeyAuthenticationOptions; } } namespace BeginPasskeyAuthentication { export interface RequestBody { email: string; // email } namespace Responses { export type $200 = Components.Schemas.PasskeyAuthenticationOptions; export interface $404 { } } } namespace BeginPasskeyRegistration { export interface RequestBody { /** * example: * My Laptop */ friendly_name?: string; } namespace Responses { export type $200 = Components.Schemas.PasskeyRegistrationOptions; } } namespace CheckInviteToken { namespace Parameters { export type Token = /* Token used to invite a user to epilot */ Components.Schemas.InviteToken; } export interface QueryParameters { token: Parameters.Token; } namespace Responses { export interface $200 { /** * Organization ID of the organization that invited the user */ invitation_org_id: string; /** * Name of the organization that invited the user */ invitation_org_name: string; /** * Logo URL of the organization that invited the user */ invitation_org_logo_url?: string; /** * Logo Thumbnail URL of the organization that invited the user */ invitation_org_logo_thumbnail_url?: string; /** * User ID of the invited user */ invitee_user_id: string; /** * Organization ID of the primary organization of the user (when inviting an existing epilot user) */ invitee_primary_org_id?: string; } export interface $404 { } } } namespace CompletePasskeyRegistration { export type RequestBody = Components.Schemas.PasskeyRegistrationResponse; namespace Responses { export type $200 = Components.Schemas.Passkey; } } namespace CreateGroup { export type RequestBody = Components.Schemas.CreateGroupReq; namespace Responses { export type $201 = Components.Schemas.Group; } } namespace CreateNavigation { export type RequestBody = /* Request payload to create a new navigation configuration */ Components.Schemas.NavigationCreateRequest; namespace Responses { export type $201 = /* A customized workplace navigation configuration. The ID is a content-hash, so identical configurations will have the same ID. */ Components.Schemas.Navigation; } } namespace DeleteGroup { namespace Parameters { export type Id = /* Group unique identifier */ Components.Schemas.GroupId; } export interface PathParameters { id: Parameters.Id; } namespace Responses { export interface $204 { } } } namespace DeletePasskey { namespace Parameters { export type CredentialId = string; } export interface PathParameters { credentialId: Parameters.CredentialId; } namespace Responses { export interface $204 { } export interface $404 { } } } namespace DeleteUserSetting { namespace Parameters { export type Key = /** * User setting key. Values are limited to 128 characters. * example: * visible_calendars */ Components.Schemas.UserSettingKey; export type Scope = /** * User setting scope. Values are limited to 64 characters. * example: * calendar */ Components.Schemas.UserSettingScope; } export interface PathParameters { scope: Parameters.Scope; key: Parameters.Key; } namespace Responses { export interface $204 { } } } namespace DeleteUserV2 { namespace Parameters { export type Id = /* User's unique identifier */ Components.Schemas.UserId; } export interface PathParameters { id: Parameters.Id; } namespace Responses { export type $200 = Components.Schemas.User; } } namespace GetGroup { namespace Parameters { export type Hydrate = Components.Schemas.Hydrate; export type Id = /* Group unique identifier */ Components.Schemas.GroupId; } export interface PathParameters { id: Parameters.Id; } export interface QueryParameters { hydrate?: Parameters.Hydrate; } namespace Responses { export type $200 = Components.Schemas.Group; export interface $404 { } } } namespace GetGroups { namespace Parameters { export type Hydrate = Components.Schemas.Hydrate; export type Limit = Components.Schemas.Limit; export type Offset = Components.Schemas.Offset; export type Query = Components.Schemas.Query; } export interface QueryParameters { query?: Parameters.Query; limit?: Parameters.Limit; offset?: Parameters.Offset; hydrate?: Parameters.Hydrate; } namespace Responses { export interface $200 { /** * example: * 1 */ hits?: number; groups?: Components.Schemas.Group[]; } } } namespace GetGroupsForUser { namespace Parameters { export type Id = /* User's unique identifier */ Components.Schemas.UserId; } export interface PathParameters { id: Parameters.Id; } namespace Responses { export type $200 = Components.Schemas.Group[]; } } namespace GetMe { namespace Responses { export type $200 = Components.Schemas.User; } } namespace GetMeV2 { namespace Responses { export type $200 = Components.Schemas.UserV2; } } namespace GetNavigation { namespace Parameters { export type Id = /** * Navigation unique identifier - a hash of the normalized navigation payload (name + configuration). Identical navigations across orgs will have the same ID. * example: * 5gbe4nkp6jsfq */ Components.Schemas.NavigationId; } export interface PathParameters { id: Parameters.Id; } namespace Responses { export type $200 = /* A customized workplace navigation configuration. The ID is a content-hash, so identical configurations will have the same ID. */ Components.Schemas.Navigation; export interface $404 { } } } namespace GetUser { namespace Parameters { export type Id = /* User's unique identifier */ Components.Schemas.UserId; } export interface PathParameters { id: Parameters.Id; } namespace Responses { export type $200 = Components.Schemas.User; } } namespace GetUserLoginParameters { namespace Parameters { export type Username = Components.Schemas.Username; } export interface PathParameters { username: Parameters.Username; } namespace Responses { export interface $200 { login_parameters?: Components.Schemas.LoginParameters[]; } } } namespace GetUserLoginParametersV2 { namespace Parameters { export type Username = Components.Schemas.Username; } export interface PathParameters { username: Parameters.Username; } namespace Responses { export interface $200 { login_parameters?: Components.Schemas.LoginParameters[]; } } } namespace GetUserSetting { namespace Parameters { export type Key = /** * User setting key. Values are limited to 128 characters. * example: * visible_calendars */ Components.Schemas.UserSettingKey; export type Scope = /** * User setting scope. Values are limited to 64 characters. * example: * calendar */ Components.Schemas.UserSettingScope; } export interface PathParameters { scope: Parameters.Scope; key: Parameters.Key; } namespace Responses { export type $200 = Components.Schemas.UserSetting; export interface $404 { } } } namespace GetUserSettingsScope { namespace Parameters { export type Scope = /** * User setting scope. Values are limited to 64 characters. * example: * calendar */ Components.Schemas.UserSettingScope; } export interface PathParameters { scope: Parameters.Scope; } namespace Responses { export type $200 = Components.Schemas.UserSettingsScopeResponse; } } namespace GetUserV2 { namespace Parameters { export type Id = /* User's unique identifier */ Components.Schemas.UserId; } export interface PathParameters { id: Parameters.Id; } namespace Responses { export type $200 = Components.Schemas.UserV2; } } namespace InviteUser { export type RequestBody = Components.Schemas.UserInvitationPayload; namespace Responses { export type $201 = Components.Schemas.UserV2; export interface $400 { } } } namespace ListPasskeys { namespace Responses { export interface $200 { passkeys?: Components.Schemas.Passkey[]; } } } namespace ListUserSettings { namespace Responses { export type $200 = Components.Schemas.UserSettingsListResponse; } } namespace ListUsers { namespace Parameters { export type Limit = Components.Schemas.Limit; export type Offset = Components.Schemas.Offset; export type OrgIds = Components.Schemas.OrganizationId[]; export type Query = Components.Schemas.Query; } export interface QueryParameters { org_ids?: Parameters.OrgIds; query?: Parameters.Query; limit?: Parameters.Limit; offset?: Parameters.Offset; } namespace Responses { export interface $200 { users?: Components.Schemas.User[]; } } } namespace ListUsersV2 { namespace Parameters { export type Limit = Components.Schemas.Limit; export type Offset = Components.Schemas.Offset; export type Query = Components.Schemas.Query; } export interface QueryParameters { query?: Parameters.Query; limit?: Parameters.Limit; offset?: Parameters.Offset; } namespace Responses { export interface $200 { results?: Components.Schemas.UserV2[]; } } } namespace PutUserSetting { namespace Parameters { export type Key = /** * User setting key. Values are limited to 128 characters. * example: * visible_calendars */ Components.Schemas.UserSettingKey; export type Scope = /** * User setting scope. Values are limited to 64 characters. * example: * calendar */ Components.Schemas.UserSettingScope; } export interface PathParameters { scope: Parameters.Scope; key: Parameters.Key; } export type RequestBody = /* The JSON value of a user setting. Objects are recommended for extensibility, but any JSON value is accepted up to 64 KiB when serialized as JSON. */ Components.Schemas.UserSettingValue; namespace Responses { export type $200 = Components.Schemas.UserSetting; } } namespace RejectInvite { namespace Parameters { export type Token = /* Token used to invite a user to epilot */ Components.Schemas.InviteToken; } export interface QueryParameters { token: Parameters.Token; } namespace Responses { export interface $200 { /** * example: * true */ success?: boolean; } export interface $404 { } } } namespace RequestPasswordReset { export interface RequestBody { /** * Email address of the account to reset * example: * test@example.com */ email: string; } namespace Responses { export interface $200 { /** * example: * If an account exists, a password reset email has been sent. */ message: string; } } } namespace ResendUserInvitation { export interface RequestBody { /** * Email address of the address * example: * test@example.com */ email?: string; /** * Language for user invitation email */ language?: "en" | "de"; } namespace Responses { export type $200 = Components.Schemas.UserV2; export interface $400 { } } } namespace ResolveDiscoverableCredential { export interface RequestBody { /** * The challenge token from authenticateBeginDiscoverable */ challenge_token: string; /** * WebAuthn AuthenticatorAssertionResponse JSON */ assertion_response: { [key: string]: any; }; } namespace Responses { export interface $200 { email?: string; // email organization_id?: string; user_id?: string; login_parameters?: Components.Schemas.LoginParameters[]; } export interface $404 { } } } namespace SendUserPasswordReset { export interface RequestBody { /** * Email address of the user to reset * example: * test@example.com */ email: string; } namespace Responses { export interface $200 { /** * example: * true */ success: boolean; } export interface $400 { } export interface $403 { } } } namespace SignUpUser { namespace Parameters { export type Token = /* Token used to invite a partner user to epilot */ Components.Schemas.PartnerInvitationToken; } export interface QueryParameters { token?: Parameters.Token; } export type RequestBody = Components.Schemas.SignupUserPayload; namespace Responses { export interface $200 { user?: Components.Schemas.User; organization?: Components.Schemas.Organization; } } } namespace SwitchOrganization { export interface RequestBody { org_id: Components.Schemas.OrganizationId; } namespace Responses { export interface $200 { /** * A login token for the new organization to be used with CUSTOM_AUTH flow against login parameters */ login_token: string; } } } namespace UpdateGroup { namespace Parameters { export type Id = /* Group unique identifier */ Components.Schemas.GroupId; } export interface PathParameters { id: Parameters.Id; } export type RequestBody = Components.Schemas.UpdateGroupReq; namespace Responses { export type $201 = Components.Schemas.Group; export interface $404 { } } } namespace UpdateUserV2 { namespace Parameters { export type Id = /* User's unique identifier */ Components.Schemas.UserId; } export interface PathParameters { id: Parameters.Id; } export type RequestBody = Components.Schemas.UserV2; namespace Responses { export type $200 = Components.Schemas.UserV2; } } namespace VerifyEmailWithToken { namespace Parameters { export type Token = Components.Schemas.VerificationToken; } export interface QueryParameters { token: Parameters.Token; } export type RequestBody = Components.Schemas.UserVerificationPayload; namespace Responses { export interface $200 { } export interface $400 { } export interface $404 { } export interface $409 { } } } } interface OperationMethods { /** * signUpUser - signUpUser */ 'signUpUser'( parameters?: Parameters | null, data?: Paths.SignUpUser.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * getMeV2 - getMeV2 * * Get currently logged in user */ 'getMeV2'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * listUserSettings - listUserSettings * * List all setting scopes and keys available for the currently logged in user. Does not return setting values. */ 'listUserSettings'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * getUserSettingsScope - getUserSettingsScope * * Get all setting values for one scope for the currently logged in user. */ 'getUserSettingsScope'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * getUserSetting - getUserSetting * * Get one setting value by scope and key for the currently logged in user. */ 'getUserSetting'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * putUserSetting - putUserSetting * * Create or replace one setting value for the currently logged in user. */ 'putUserSetting'( parameters?: Parameters | null, data?: Paths.PutUserSetting.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * deleteUserSetting - deleteUserSetting * * Delete one setting value for the currently logged in user. */ 'deleteUserSetting'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * listUsersV2 - listUsersV2 * * Get the list of organization users */ 'listUsersV2'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * getUserV2 - getUserV2 * * Get user details by user id */ 'getUserV2'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * updateUserV2 - updateUserV2 * * Update user details */ 'updateUserV2'( parameters?: Parameters | null, data?: Paths.UpdateUserV2.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * deleteUserV2 - deleteUserV2 * * Delete user by user id */ 'deleteUserV2'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * inviteUser - inviteUser * * Creates a new user in the caller's organization and sends an invite email to activate the user * */ 'inviteUser'( parameters?: Parameters | null, data?: Paths.InviteUser.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * resendUserInvitation - resendUserInvitation * * Resend user invitation email */ 'resendUserInvitation'( parameters?: Parameters | null, data?: Paths.ResendUserInvitation.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * sendUserPasswordReset - sendUserPasswordReset * * Send a password reset email to a user in your organization. * Requires `user:edit` on the target user. * */ 'sendUserPasswordReset'( parameters?: Parameters | null, data?: Paths.SendUserPasswordReset.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * getGroupsForUser - getGroupsForUser * * Get groups of a user */ 'getGroupsForUser'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * getGroups - getGroups * * Lists groups in organizations you have access to */ 'getGroups'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * createGroup - createGroup * * Create a new group */ 'createGroup'( parameters?: Parameters | null, data?: Paths.CreateGroup.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * getGroup - getGroup * * Get group by id */ 'getGroup'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * updateGroup - updateGroup * * Update group by id */ 'updateGroup'( parameters?: Parameters | null, data?: Paths.UpdateGroup.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * deleteGroup - deleteGroup * * Delete group by id */ 'deleteGroup'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * advanceUserAssignment - advanceUserAssignment * * Advance user assignment to next user in line */ 'advanceUserAssignment'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * createNavigation - createNavigation * * Create a new navigation configuration. Navigations are immutable and globally accessible across organizations. * Each creation generates a new id. To update a navigation, create a new one. * */ 'createNavigation'( parameters?: Parameters | null, data?: Paths.CreateNavigation.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * getNavigation - getNavigation * * Get a navigation configuration by ID */ 'getNavigation'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * verifyEmailWithToken - verifyEmailWithToken * * Update new email using an verification token */ 'verifyEmailWithToken'( parameters?: Parameters | null, data?: Paths.VerifyEmailWithToken.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * requestPasswordReset - requestPasswordReset * * Request a password reset email for the given email address. Always * returns a success response whether or not an account exists with that * email. * */ 'requestPasswordReset'( parameters?: Parameters | null, data?: Paths.RequestPasswordReset.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * checkInviteToken - checkInviteToken * * Check an invite token */ 'checkInviteToken'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * activateUser - activateUser * * Activate user using an invite token */ 'activateUser'( parameters?: Parameters | null, data?: Paths.ActivateUser.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * rejectInvite - rejectInvite * * Reject an invite */ 'rejectInvite'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * getUserLoginParametersV2 - getUserLoginParametersV2 * * Get user organization login parameters by username * * The first item in the list corresponds to the user's primary organization and must be used for initial login. * */ 'getUserLoginParametersV2'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * beginPasskeyAuthentication - beginPasskeyAuthentication * * Begin passkey authentication flow. Returns WebAuthn options and a signed challenge token. */ 'beginPasskeyAuthentication'( parameters?: Parameters | null, data?: Paths.BeginPasskeyAuthentication.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * beginDiscoverablePasskeyAuthentication - beginDiscoverablePasskeyAuthentication * * Begin discoverable passkey authentication flow (no email required). Returns WebAuthn options with empty allowCredentials for the browser credential picker. */ 'beginDiscoverablePasskeyAuthentication'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * resolveDiscoverableCredential - resolveDiscoverableCredential * * Resolve user identity from a discoverable passkey assertion. Returns the user's email and login parameters. */ 'resolveDiscoverableCredential'( parameters?: Parameters | null, data?: Paths.ResolveDiscoverableCredential.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * beginPasskeyRegistration - beginPasskeyRegistration * * Begin passkey registration flow for the authenticated user. */ 'beginPasskeyRegistration'( parameters?: Parameters | null, data?: Paths.BeginPasskeyRegistration.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * completePasskeyRegistration - completePasskeyRegistration * * Complete passkey registration by verifying the attestation response. */ 'completePasskeyRegistration'( parameters?: Parameters | null, data?: Paths.CompletePasskeyRegistration.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * listPasskeys - listPasskeys * * List all passkeys registered for the authenticated user. */ 'listPasskeys'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * deletePasskey - deletePasskey * * Delete a passkey by credential ID. */ 'deletePasskey'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * switchOrganization - switchOrganization * * Switch to another organization the user is part of */ 'switchOrganization'( parameters?: Parameters | null, data?: Paths.SwitchOrganization.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * getMe - getMe * * Get currently logged in user */ 'getMe'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * listUsers - listUsers * * Lists users in organizations you have access to */ 'listUsers'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * getUser - getUser * * Get user by id */ 'getUser'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * getUserLoginParameters - getUserLoginParameters * * Get user organization login parameters by username */ 'getUserLoginParameters'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } interface PathsDictionary { ['/v2/users/public/signup']: { /** * signUpUser - signUpUser */ 'post'( parameters?: Parameters | null, data?: Paths.SignUpUser.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/me']: { /** * getMeV2 - getMeV2 * * Get currently logged in user */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/me/settings']: { /** * listUserSettings - listUserSettings * * List all setting scopes and keys available for the currently logged in user. Does not return setting values. */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/me/settings/{scope}']: { /** * getUserSettingsScope - getUserSettingsScope * * Get all setting values for one scope for the currently logged in user. */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/me/settings/{scope}/{key}']: { /** * getUserSetting - getUserSetting * * Get one setting value by scope and key for the currently logged in user. */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * putUserSetting - putUserSetting * * Create or replace one setting value for the currently logged in user. */ 'put'( parameters?: Parameters | null, data?: Paths.PutUserSetting.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * deleteUserSetting - deleteUserSetting * * Delete one setting value for the currently logged in user. */ 'delete'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users']: { /** * listUsersV2 - listUsersV2 * * Get the list of organization users */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/{id}']: { /** * getUserV2 - getUserV2 * * Get user details by user id */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * updateUserV2 - updateUserV2 * * Update user details */ 'patch'( parameters?: Parameters | null, data?: Paths.UpdateUserV2.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * deleteUserV2 - deleteUserV2 * * Delete user by user id */ 'delete'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/invite']: { /** * inviteUser - inviteUser * * Creates a new user in the caller's organization and sends an invite email to activate the user * */ 'post'( parameters?: Parameters | null, data?: Paths.InviteUser.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/invite:resendEmail']: { /** * resendUserInvitation - resendUserInvitation * * Resend user invitation email */ 'post'( parameters?: Parameters | null, data?: Paths.ResendUserInvitation.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users:sendPasswordReset']: { /** * sendUserPasswordReset - sendUserPasswordReset * * Send a password reset email to a user in your organization. * Requires `user:edit` on the target user. * */ 'post'( parameters?: Parameters | null, data?: Paths.SendUserPasswordReset.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/{id}/groups']: { /** * getGroupsForUser - getGroupsForUser * * Get groups of a user */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v1/groups']: { /** * getGroups - getGroups * * Lists groups in organizations you have access to */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * createGroup - createGroup * * Create a new group */ 'post'( parameters?: Parameters | null, data?: Paths.CreateGroup.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v1/groups/{id}']: { /** * getGroup - getGroup * * Get group by id */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse /** * updateGroup - updateGroup * * Update group by id */ 'patch'( parameters?: Parameters | null, data?: Paths.UpdateGroup.RequestBody, config?: AxiosRequestConfig ): OperationResponse /** * deleteGroup - deleteGroup * * Delete group by id */ 'delete'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v1/groups/{id}/user:next']: { /** * advanceUserAssignment - advanceUserAssignment * * Advance user assignment to next user in line */ 'post'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/user/navigations']: { /** * createNavigation - createNavigation * * Create a new navigation configuration. Navigations are immutable and globally accessible across organizations. * Each creation generates a new id. To update a navigation, create a new one. * */ 'post'( parameters?: Parameters | null, data?: Paths.CreateNavigation.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/user/navigations/{id}']: { /** * getNavigation - getNavigation * * Get a navigation configuration by ID */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/public/verifyEmail']: { /** * verifyEmailWithToken - verifyEmailWithToken * * Update new email using an verification token */ 'post'( parameters?: Parameters | null, data?: Paths.VerifyEmailWithToken.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/public/requestPasswordReset']: { /** * requestPasswordReset - requestPasswordReset * * Request a password reset email for the given email address. Always * returns a success response whether or not an account exists with that * email. * */ 'post'( parameters?: Parameters | null, data?: Paths.RequestPasswordReset.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/public/checkToken']: { /** * checkInviteToken - checkInviteToken * * Check an invite token */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/public/activate']: { /** * activateUser - activateUser * * Activate user using an invite token */ 'post'( parameters?: Parameters | null, data?: Paths.ActivateUser.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/public/reject']: { /** * rejectInvite - rejectInvite * * Reject an invite */ 'delete'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/public/username/{username}:getLoginParameters']: { /** * getUserLoginParametersV2 - getUserLoginParametersV2 * * Get user organization login parameters by username * * The first item in the list corresponds to the user's primary organization and must be used for initial login. * */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/public/passkeys:authenticateBegin']: { /** * beginPasskeyAuthentication - beginPasskeyAuthentication * * Begin passkey authentication flow. Returns WebAuthn options and a signed challenge token. */ 'post'( parameters?: Parameters | null, data?: Paths.BeginPasskeyAuthentication.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/public/passkeys:authenticateBeginDiscoverable']: { /** * beginDiscoverablePasskeyAuthentication - beginDiscoverablePasskeyAuthentication * * Begin discoverable passkey authentication flow (no email required). Returns WebAuthn options with empty allowCredentials for the browser credential picker. */ 'post'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/public/passkeys:resolveCredential']: { /** * resolveDiscoverableCredential - resolveDiscoverableCredential * * Resolve user identity from a discoverable passkey assertion. Returns the user's email and login parameters. */ 'post'( parameters?: Parameters | null, data?: Paths.ResolveDiscoverableCredential.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/me/passkeys:registerBegin']: { /** * beginPasskeyRegistration - beginPasskeyRegistration * * Begin passkey registration flow for the authenticated user. */ 'post'( parameters?: Parameters | null, data?: Paths.BeginPasskeyRegistration.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/me/passkeys:registerComplete']: { /** * completePasskeyRegistration - completePasskeyRegistration * * Complete passkey registration by verifying the attestation response. */ 'post'( parameters?: Parameters | null, data?: Paths.CompletePasskeyRegistration.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/me/passkeys']: { /** * listPasskeys - listPasskeys * * List all passkeys registered for the authenticated user. */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/me/passkeys/{credentialId}']: { /** * deletePasskey - deletePasskey * * Delete a passkey by credential ID. */ 'delete'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v2/users/switchOrganization']: { /** * switchOrganization - switchOrganization * * Switch to another organization the user is part of */ 'post'( parameters?: Parameters | null, data?: Paths.SwitchOrganization.RequestBody, config?: AxiosRequestConfig ): OperationResponse } ['/v1/users/me']: { /** * getMe - getMe * * Get currently logged in user */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v1/users']: { /** * listUsers - listUsers * * Lists users in organizations you have access to */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v1/users/{id}']: { /** * getUser - getUser * * Get user by id */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } ['/v1/users/username/{username}:getLoginParameters']: { /** * getUserLoginParameters - getUserLoginParameters * * Get user organization login parameters by username */ 'get'( parameters?: Parameters | null, data?: any, config?: AxiosRequestConfig ): OperationResponse } } type Client = OpenAPIClient type CognitoDetails = Components.Schemas.CognitoDetails; type CreateGroupReq = Components.Schemas.CreateGroupReq; type DataPoint = Components.Schemas.DataPoint; type DataPointsResponse = Components.Schemas.DataPointsResponse; type Group = Components.Schemas.Group; type GroupId = Components.Schemas.GroupId; type GroupImageUri = Components.Schemas.GroupImageUri; type Hydrate = Components.Schemas.Hydrate; type InviteToken = Components.Schemas.InviteToken; type Limit = Components.Schemas.Limit; type LoginParameters = Components.Schemas.LoginParameters; type Navigation = Components.Schemas.Navigation; type NavigationConfiguration = Components.Schemas.NavigationConfiguration; type NavigationCreateRequest = Components.Schemas.NavigationCreateRequest; type NavigationGroupItem = Components.Schemas.NavigationGroupItem; type NavigationId = Components.Schemas.NavigationId; type NavigationItem = Components.Schemas.NavigationItem; type NavigationKeyItem = Components.Schemas.NavigationKeyItem; type Offset = Components.Schemas.Offset; type Organization = Components.Schemas.Organization; type OrganizationDetail = Components.Schemas.OrganizationDetail; type OrganizationId = Components.Schemas.OrganizationId; type PartnerInvitationToken = Components.Schemas.PartnerInvitationToken; type Passkey = Components.Schemas.Passkey; type PasskeyAuthenticationOptions = Components.Schemas.PasskeyAuthenticationOptions; type PasskeyRegistrationOptions = Components.Schemas.PasskeyRegistrationOptions; type PasskeyRegistrationResponse = Components.Schemas.PasskeyRegistrationResponse; type Query = Components.Schemas.Query; type SignupUserPayload = Components.Schemas.SignupUserPayload; type UpdateGroupReq = Components.Schemas.UpdateGroupReq; type User = Components.Schemas.User; type UserActivationPayload = Components.Schemas.UserActivationPayload; type UserDetail = Components.Schemas.UserDetail; type UserId = Components.Schemas.UserId; type UserInvitationPayload = Components.Schemas.UserInvitationPayload; type UserSetting = Components.Schemas.UserSetting; type UserSettingKey = Components.Schemas.UserSettingKey; type UserSettingScope = Components.Schemas.UserSettingScope; type UserSettingValue = Components.Schemas.UserSettingValue; type UserSettingsListResponse = Components.Schemas.UserSettingsListResponse; type UserSettingsScopeResponse = Components.Schemas.UserSettingsScopeResponse; type UserV2 = Components.Schemas.UserV2; type UserVerificationPayload = Components.Schemas.UserVerificationPayload; type Username = Components.Schemas.Username; type VerificationToken = Components.Schemas.VerificationToken; export { type UserId as A, type UserInvitationPayload as B, type Client as C, type DataPoint as D, type UserSetting as E, type UserSettingKey as F, type Group as G, type Hydrate as H, type InviteToken as I, type UserSettingScope as J, type UserSettingValue as K, type Limit as L, type UserSettingsListResponse as M, type Navigation as N, type OperationMethods as O, Paths as P, type Query as Q, type UserSettingsScopeResponse as R, type SignupUserPayload as S, type UserV2 as T, type UpdateGroupReq as U, type UserVerificationPayload as V, type Username as W, type VerificationToken as X, Components as a, type PathsDictionary as b, type CognitoDetails as c, type CreateGroupReq as d, type DataPointsResponse as e, type GroupId as f, type GroupImageUri as g, type LoginParameters as h, type NavigationConfiguration as i, type NavigationCreateRequest as j, type NavigationGroupItem as k, type NavigationId as l, type NavigationItem as m, type NavigationKeyItem as n, type Offset as o, type Organization as p, type OrganizationDetail as q, type OrganizationId as r, type PartnerInvitationToken as s, type Passkey as t, type PasskeyAuthenticationOptions as u, type PasskeyRegistrationOptions as v, type PasskeyRegistrationResponse as w, type User as x, type UserActivationPayload as y, type UserDetail as z };