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