/** * Okta Node - Version 1 * Discriminator: resource=user, operation=create */ interface Credentials { oktaApi: CredentialReference; } /** Create a new user */ export type OktaV1UserCreateParams = { resource: 'user'; operation: 'create'; /** * First Name */ firstName?: string | Expression | PlaceholderValue; /** * Last Name */ lastName?: string | Expression | PlaceholderValue; /** * Username * @hint Unique identifier for the user, must be an email */ login?: string | Expression | PlaceholderValue; /** * Email */ email?: string | Expression | PlaceholderValue; /** * Whether to activate the user and allow access to all assigned applications * @default true */ activate?: boolean | Expression; /** * Fields * @default {} */ getCreateFields?: { /** City */ city?: string | Expression | PlaceholderValue; /** Cost Center */ costCenter?: string | Expression | PlaceholderValue; /** Country Code */ countryCode?: string | Expression | PlaceholderValue; /** Department */ department?: string | Expression | PlaceholderValue; /** Display Name */ displayName?: string | Expression | PlaceholderValue; /** Division */ division?: string | Expression | PlaceholderValue; /** Employee Number */ employeeNumber?: string | Expression | PlaceholderValue; /** Honorific Prefix */ honorificPrefix?: string | Expression | PlaceholderValue; /** Honorific Suffix */ honorificSuffix?: string | Expression | PlaceholderValue; /** Locale */ locale?: string | Expression | PlaceholderValue; /** Manager */ manager?: string | Expression | PlaceholderValue; /** ManagerId */ managerId?: string | Expression | PlaceholderValue; /** Middle Name */ middleName?: string | Expression | PlaceholderValue; /** Mobile Phone */ mobilePhone?: string | Expression | PlaceholderValue; /** Nick Name */ nickName?: string | Expression | PlaceholderValue; /** Password */ password?: string | Expression | PlaceholderValue; /** Organization */ organization?: string | Expression | PlaceholderValue; /** Postal Address */ postalAddress?: string | Expression | PlaceholderValue; /** Preferred Language */ preferredLanguage?: string | Expression | PlaceholderValue; /** Primary Phone */ primaryPhone?: string | Expression | PlaceholderValue; /** Profile Url */ profileUrl?: string | Expression | PlaceholderValue; /** Recovery Question Answer */ recoveryQuestionAnswer?: string | Expression | PlaceholderValue; /** Recovery Question Question */ recoveryQuestionQuestion?: string | Expression | PlaceholderValue; /** Second Email */ secondEmail?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** Street Address */ streetAddress?: string | Expression | PlaceholderValue; /** Timezone */ timezone?: string | Expression | PlaceholderValue; /** Title */ title?: string | Expression | PlaceholderValue; /** User Type */ userType?: string | Expression | PlaceholderValue; /** Zip Code */ zipCode?: string | Expression | PlaceholderValue; }; requestOptions?: { /** Batching * @default {"batch":{}} */ batching?: { /** Batching */ batch?: { /** Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1. * @default 50 */ batchSize?: number | Expression; /** Time (in milliseconds) between each batch of requests. 0 for disabled. * @default 1000 */ batchInterval?: number | Expression; }; }; /** Whether to accept the response even if SSL certificate validation is not possible * @default false */ allowUnauthorizedCerts?: boolean; /** HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128 */ proxy?: string | Expression | PlaceholderValue; /** Time in ms to wait for the server to send response headers (and start the response body) before aborting the request * @default 10000 */ timeout?: number | Expression; }; }; export type OktaV1UserCreateNode = { type: 'n8n-nodes-base.okta'; version: 1; credentials?: Credentials; config: NodeConfig; };