export interface CreateUserRequestHeaders { } export interface CreateUserRequestQuery { } export interface CreateUserRequestParams { } export interface CreateUserRequestBody { /** * Name of the [User](#schema_user) (not a unique identifier) */ name?: string; /** * Picture url of the [User](#schema_user) */ pictureUrl?: string; /** * Custom profile data of the [User](#schema_user) encoded as a string */ profile?: string; /** * Identifier of the [User](#schema_user) */ id?: string; } export type CreateUserInput = CreateUserRequestBody & CreateUserRequestHeaders & CreateUserRequestQuery & CreateUserRequestParams; export type CreateUserRequest = { headers: CreateUserRequestHeaders; query: CreateUserRequestQuery; params: CreateUserRequestParams; body: CreateUserRequestBody; }; export declare const parseReq: (input: CreateUserInput) => CreateUserRequest & { path: string; }; export interface CreateUserResponse { /** * The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users. */ user: { /** * Identifier of the [User](#schema_user) */ id: string; /** * Name of the [User](#schema_user) */ name?: string; /** * Picture url of the [User](#schema_user) */ pictureUrl?: string; /** * Custom profile data of the [User](#schema_user) encoded as a string */ profile?: string; /** * Creation date of the [User](#schema_user) in ISO 8601 format */ createdAt: string; /** * Updating date of the [User](#schema_user) in ISO 8601 format */ updatedAt: string; }; key: string; }