/** * SmartyMeet Dev03 API REST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.1 * Contact: developer@smartymeet.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { ApikeysSchema, CompleteUserIdentityLinkRequest, CreateUserRequestBody, CreateUserUploadRequestBody, IdentityLinkSchema, JobsSchema, ListUserApikeysRelationship, ListUserJobsRelationship, ListUserRolesRelationship, RolesSchema, StartUserIdentityLinkRequest, UpdateUserRequestBody, UserInvitationSchema, UserSchema, UserUploadSchema, UsersSchema } from '../models/index'; export interface CompleteUserIdentityLinkOperationRequest { userId: string; completeUserIdentityLinkRequest: CompleteUserIdentityLinkRequest; } export interface CreateUserRequest { createUserRequestBody: CreateUserRequestBody; } export interface CreateUserInvitationRequest { userId: string; } export interface CreateUserUploadRequest { userId: string; createUserUploadRequestBody: CreateUserUploadRequestBody; } export interface DeleteUserRequest { userId: string; permanentDelete?: DeleteUserPermanentDeleteEnum; } export interface DeleteUserIdentityRequest { userId: string; provider: DeleteUserIdentityProviderEnum; } export interface ListUserApikeysRequest { userId: string; } export interface ListUserApikeysRelationshipRequest { userId: string; } export interface ListUserJobsRequest { userId: string; } export interface ListUserJobsRelationshipRequest { userId: string; } export interface ListUserRolesRequest { userId: string; } export interface ListUserRolesRelationshipRequest { userId: string; } export interface ListUsersRequest { filterStatus?: ListUsersFilterStatusEnum; filterCreatedFrom?: Date; filterCreatedTo?: Date; filterModifiedFrom?: Date; filterModifiedTo?: Date; pageSize?: number; pageNumber?: number; pageAfter?: string; pageBefore?: string; } export interface ShowUserRequest { userId: string; } export interface StartUserIdentityLinkOperationRequest { userId: string; startUserIdentityLinkRequest: StartUserIdentityLinkRequest; } export interface UpdateUserRequest { userId: string; updateUserRequestBody: UpdateUserRequestBody; } export interface UserApikeysOptionsRequest { userId: string; } export interface UserApikeysRelationshipsOptionsRequest { userId: string; } export interface UserIdentitiesOptionsRequest { userId: string; } export interface UserIdentityCompleteOptionsRequest { userId: string; } export interface UserIdentityOptionsRequest { userId: string; provider: UserIdentityOptionsProviderEnum; } export interface UserInvitationsOptionsRequest { userId: string; } export interface UserJobsOptionsRequest { userId: string; } export interface UserJobsRelationshipsOptionsRequest { userId: string; } export interface UserOptionsRequest { userId: string; } export interface UserRolesOptionsRequest { userId: string; } export interface UserRolesRelationshipsOptionsRequest { userId: string; } export interface UserUploadsOptionsRequest { userId: string; } /** * */ export declare class UsersApi extends runtime.BaseAPI { /** * Creates request options for completeUserIdentityLink without sending the request */ completeUserIdentityLinkRequestOpts(requestParameters: CompleteUserIdentityLinkOperationRequest): Promise; /** * Finishes the link. The provider redirects the person to a page in the app, which still holds their session; that page reads `code` and `state` from the query string and posts them here WITH their token. Self, or role sysowner/owner/admin. Authenticated on purpose, and this is the security property that matters. An earlier revision took this on a public API callback bound by the nonce alone - defensible, since the nonce is 32 bytes, single-use and ten minutes old at most, but it made that nonce a bearer secret travelling through a browser, where it lands in history, referrers and over people\'s shoulders. Leaked before use it resurrected the takeover the whole design exists to prevent. Here the server sees the nonce AND who is asking, so a stolen nonce buys nothing without the victim\'s session. `state` is therefore just the nonce: the row is addressed by the path and the token, and nothing identifying travels to the provider. The nonce is consumed BEFORE the code is exchanged, so a replay cannot ride a slow provider call; the cost is that a refusal further down forces a fresh start. A wrong nonce, an absent pending link and an expired one all answer identically - telling them apart would help somebody probing for a live flow. * Complete Linking A Social Account */ completeUserIdentityLinkRaw(requestParameters: CompleteUserIdentityLinkOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Finishes the link. The provider redirects the person to a page in the app, which still holds their session; that page reads `code` and `state` from the query string and posts them here WITH their token. Self, or role sysowner/owner/admin. Authenticated on purpose, and this is the security property that matters. An earlier revision took this on a public API callback bound by the nonce alone - defensible, since the nonce is 32 bytes, single-use and ten minutes old at most, but it made that nonce a bearer secret travelling through a browser, where it lands in history, referrers and over people\'s shoulders. Leaked before use it resurrected the takeover the whole design exists to prevent. Here the server sees the nonce AND who is asking, so a stolen nonce buys nothing without the victim\'s session. `state` is therefore just the nonce: the row is addressed by the path and the token, and nothing identifying travels to the provider. The nonce is consumed BEFORE the code is exchanged, so a replay cannot ride a slow provider call; the cost is that a refusal further down forces a fresh start. A wrong nonce, an absent pending link and an expired one all answer identically - telling them apart would help somebody probing for a live flow. * Complete Linking A Social Account */ completeUserIdentityLink(requestParameters: CompleteUserIdentityLinkOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for createUser without sending the request */ createUserRequestOpts(requestParameters: CreateUserRequest): Promise; /** * Creates a new user in your account. By default Cognito sends the invitation email with a temporary password (valid 7 days). Manual credentials: `sendInvitation: false` suppresses the email; the request must then carry `password` (write-only, never returned or logged). With `passwordPermanent: false` (default) the user must change the password at first sign-in; `true` activates the account immediately. Both toggles require role sysowner/owner/admin. Attaching a `role` relationship assigns the user\'s role at birth - this is privilege assignment, so it requires role sysowner/owner/admin, the role must exist, and assigning `owner`/`sysowner` requires standing on that rung. Creates without a role are open to any write-capable caller; the account then has no role and lands read-only. ### User\'s Attributes Here is a table that describes the attributes of the user object: | Attribute | Type | Description | |----------------------------|--------|-----------------------------------------------------------------------------| | `name` | string | The full name of the user. | | `status` | string | The current status of the user (e.g., active, inactive). | | `timestamps.created` | string | The date and time when the user was created (ISO 8601 format). | | `timestamps.modified` | string | The date and time when the user was last modified (ISO 8601 format). | * Create User */ createUserRaw(requestParameters: CreateUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates a new user in your account. By default Cognito sends the invitation email with a temporary password (valid 7 days). Manual credentials: `sendInvitation: false` suppresses the email; the request must then carry `password` (write-only, never returned or logged). With `passwordPermanent: false` (default) the user must change the password at first sign-in; `true` activates the account immediately. Both toggles require role sysowner/owner/admin. Attaching a `role` relationship assigns the user\'s role at birth - this is privilege assignment, so it requires role sysowner/owner/admin, the role must exist, and assigning `owner`/`sysowner` requires standing on that rung. Creates without a role are open to any write-capable caller; the account then has no role and lands read-only. ### User\'s Attributes Here is a table that describes the attributes of the user object: | Attribute | Type | Description | |----------------------------|--------|-----------------------------------------------------------------------------| | `name` | string | The full name of the user. | | `status` | string | The current status of the user (e.g., active, inactive). | | `timestamps.created` | string | The date and time when the user was created (ISO 8601 format). | | `timestamps.modified` | string | The date and time when the user was last modified (ISO 8601 format). | * Create User */ createUser(requestParameters: CreateUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for createUserInvitation without sending the request */ createUserInvitationRequestOpts(requestParameters: CreateUserInvitationRequest): Promise; /** * Re-sends the Cognito invitation email with a fresh temporary password (valid 7 days). No request body. Works only while the user has not yet activated the account; returns 400 \"User has already activated the account.\" otherwise. Callers need role sysowner/owner/admin; system users are rejected. * Resend User Invitation */ createUserInvitationRaw(requestParameters: CreateUserInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Re-sends the Cognito invitation email with a fresh temporary password (valid 7 days). No request body. Works only while the user has not yet activated the account; returns 400 \"User has already activated the account.\" otherwise. Callers need role sysowner/owner/admin; system users are rejected. * Resend User Invitation */ createUserInvitation(requestParameters: CreateUserInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for createUserUpload without sending the request */ createUserUploadRequestOpts(requestParameters: CreateUserUploadRequest): Promise; /** * Generates a presigned URL for uploading a user asset (avatar) directly to S3. * Create User Upload */ createUserUploadRaw(requestParameters: CreateUserUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Generates a presigned URL for uploading a user asset (avatar) directly to S3. * Create User Upload */ createUserUpload(requestParameters: CreateUserUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for deleteUser without sending the request */ deleteUserRequestOpts(requestParameters: DeleteUserRequest): Promise; /** * Deletes a user. Soft delete (default): flips the row\'s `status` to `archived` and disables the Cognito account, so the user can no longer sign in; restore via PATCH `status=active`. Permanent delete (`?permanentDelete=true`): removes the row, the Cognito account and all connection secrets - unrecoverable. Callers need role sysowner/owner/admin; deleting a user holding `owner`/`sysowner` requires standing on that rung. System users cannot be deleted either way. * Delete User */ deleteUserRaw(requestParameters: DeleteUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deletes a user. Soft delete (default): flips the row\'s `status` to `archived` and disables the Cognito account, so the user can no longer sign in; restore via PATCH `status=active`. Permanent delete (`?permanentDelete=true`): removes the row, the Cognito account and all connection secrets - unrecoverable. Callers need role sysowner/owner/admin; deleting a user holding `owner`/`sysowner` requires standing on that rung. System users cannot be deleted either way. * Delete User */ deleteUser(requestParameters: DeleteUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for deleteUserIdentity without sending the request */ deleteUserIdentityRequestOpts(requestParameters: DeleteUserIdentityRequest): Promise; /** * Removes a linked Google or LinkedIn account: disables the provider for the user in Cognito and drops the entry from `identities`. Self, or role sysowner/owner/admin. A provider already absent from Cognito is treated as success - the row is what the product lists, and refusing would leave an entry nobody could remove. `ms-*` providers are rejected: an enterprise link is torn down with the connection, not one person at a time. * Unlink A Social Account */ deleteUserIdentityRaw(requestParameters: DeleteUserIdentityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Removes a linked Google or LinkedIn account: disables the provider for the user in Cognito and drops the entry from `identities`. Self, or role sysowner/owner/admin. A provider already absent from Cognito is treated as success - the row is what the product lists, and refusing would leave an entry nobody could remove. `ms-*` providers are rejected: an enterprise link is torn down with the connection, not one person at a time. * Unlink A Social Account */ deleteUserIdentity(requestParameters: DeleteUserIdentityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for listUserApikeys without sending the request */ listUserApikeysRequestOpts(requestParameters: ListUserApikeysRequest): Promise; /** * Returns a collection of apikey resources related to the specified user. ## JSON:API Relationship Info This endpoint provides the _related_ resources rather than only relationship linkages. * List User Apikeys */ listUserApikeysRaw(requestParameters: ListUserApikeysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a collection of apikey resources related to the specified user. ## JSON:API Relationship Info This endpoint provides the _related_ resources rather than only relationship linkages. * List User Apikeys */ listUserApikeys(requestParameters: ListUserApikeysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for listUserApikeysRelationship without sending the request */ listUserApikeysRelationshipRequestOpts(requestParameters: ListUserApikeysRelationshipRequest): Promise; /** * Returns the relationship object for the apikeys associated with this user. ## JSON:API Relationship Endpoint This returns only the linkage data (`type` & `id`), plus optional links/meta. * List User Apikeys Relationship */ listUserApikeysRelationshipRaw(requestParameters: ListUserApikeysRelationshipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the relationship object for the apikeys associated with this user. ## JSON:API Relationship Endpoint This returns only the linkage data (`type` & `id`), plus optional links/meta. * List User Apikeys Relationship */ listUserApikeysRelationship(requestParameters: ListUserApikeysRelationshipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for listUserJobs without sending the request */ listUserJobsRequestOpts(requestParameters: ListUserJobsRequest): Promise; /** * Returns a collection of job resources related to the specified user. ## JSON:API Relationship Info This endpoint provides the _related_ resources rather than only relationship linkages. * List User Jobs */ listUserJobsRaw(requestParameters: ListUserJobsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a collection of job resources related to the specified user. ## JSON:API Relationship Info This endpoint provides the _related_ resources rather than only relationship linkages. * List User Jobs */ listUserJobs(requestParameters: ListUserJobsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for listUserJobsRelationship without sending the request */ listUserJobsRelationshipRequestOpts(requestParameters: ListUserJobsRelationshipRequest): Promise; /** * Returns the relationship object for the jobs associated with this user. ## JSON:API Relationship Endpoint This returns only the linkage data (`type` & `id`), plus optional links/meta. * List User Jobs Relationship */ listUserJobsRelationshipRaw(requestParameters: ListUserJobsRelationshipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the relationship object for the jobs associated with this user. ## JSON:API Relationship Endpoint This returns only the linkage data (`type` & `id`), plus optional links/meta. * List User Jobs Relationship */ listUserJobsRelationship(requestParameters: ListUserJobsRelationshipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for listUserRoles without sending the request */ listUserRolesRequestOpts(requestParameters: ListUserRolesRequest): Promise; /** * Returns a collection of role resources related to the specified user. ## JSON:API Relationship Info This endpoint provides the _related_ resources rather than only relationship linkages. * List User Roles */ listUserRolesRaw(requestParameters: ListUserRolesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a collection of role resources related to the specified user. ## JSON:API Relationship Info This endpoint provides the _related_ resources rather than only relationship linkages. * List User Roles */ listUserRoles(requestParameters: ListUserRolesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for listUserRolesRelationship without sending the request */ listUserRolesRelationshipRequestOpts(requestParameters: ListUserRolesRelationshipRequest): Promise; /** * Returns the relationship object for the roles associated with this user. ## JSON:API Relationship Endpoint This returns only the linkage data (`type` & `id`), plus optional links/meta. * List User Roles Relationship */ listUserRolesRelationshipRaw(requestParameters: ListUserRolesRelationshipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the relationship object for the roles associated with this user. ## JSON:API Relationship Endpoint This returns only the linkage data (`type` & `id`), plus optional links/meta. * List User Roles Relationship */ listUserRolesRelationship(requestParameters: ListUserRolesRelationshipRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for listUsers without sending the request */ listUsersRequestOpts(requestParameters: ListUsersRequest): Promise; /** * Returns a collection of your account users ## Overview Returns a collection of your account users, sorted by the time they were inserted into the system in ascending order. ### Users Endpoints Pagination The users endpoints support two versions of pagination: traditional and cursor-based. Note that the parameters for these pagination methods cannot coexist; using them together will result in a bad request error. :::tip Pagination tip Ensure that when using traditional pagination, you use `pageNumber`, and when using cursor-based pagination, you use either `pageAfter` or `pageBefore`, but not both together. ::: #### More information For more information, see the [pagination documentation](/docs/pagination). * List Users */ listUsersRaw(requestParameters: ListUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a collection of your account users ## Overview Returns a collection of your account users, sorted by the time they were inserted into the system in ascending order. ### Users Endpoints Pagination The users endpoints support two versions of pagination: traditional and cursor-based. Note that the parameters for these pagination methods cannot coexist; using them together will result in a bad request error. :::tip Pagination tip Ensure that when using traditional pagination, you use `pageNumber`, and when using cursor-based pagination, you use either `pageAfter` or `pageBefore`, but not both together. ::: #### More information For more information, see the [pagination documentation](/docs/pagination). * List Users */ listUsers(requestParameters?: ListUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for showUser without sending the request */ showUserRequestOpts(requestParameters: ShowUserRequest): Promise; /** * This endpoint retrieves details of a specific user from your account. You can view information such as name, and other relevant attributes of the user. * Show User */ showUserRaw(requestParameters: ShowUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * This endpoint retrieves details of a specific user from your account. You can view information such as name, and other relevant attributes of the user. * Show User */ showUser(requestParameters: ShowUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for startUserIdentityLink without sending the request */ startUserIdentityLinkRequestOpts(requestParameters: StartUserIdentityLinkOperationRequest): Promise; /** * Begins linking a personal Google or LinkedIn account to this user, and returns the PROVIDER\'s authorization URL to send them to. Self, or a caller with role sysowner/owner/admin. The URL goes straight to the provider, never through Cognito\'s /oauth2/authorize: going through Cognito would mint a federated profile before anything has been decided, and AdminLinkProviderForUser has to run BEFORE the first federated sign-in or Cognito creates a duplicate that then has to be deleted. The link carried in `state` is a server-minted nonce, single-use, valid for ten minutes. That nonce is what binds the identity that comes back to the session that asked for it - and it is the whole reason this flow exists rather than a Cognito-side one. An earlier design let the presignup trigger consume a pending link, which could only correlate on email plus provider: an attacker who walked the OAuth flow with their own Google account inside the window got attached to the victim\'s account. Only `Google` and `LinkedIn` are accepted here; `ms-*` providers belong to enterprise SSO, where the link is made against a domain the customer has proven they own. Posting again replaces any pending link, which also invalidates it. * Start Linking A Social Account */ startUserIdentityLinkRaw(requestParameters: StartUserIdentityLinkOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Begins linking a personal Google or LinkedIn account to this user, and returns the PROVIDER\'s authorization URL to send them to. Self, or a caller with role sysowner/owner/admin. The URL goes straight to the provider, never through Cognito\'s /oauth2/authorize: going through Cognito would mint a federated profile before anything has been decided, and AdminLinkProviderForUser has to run BEFORE the first federated sign-in or Cognito creates a duplicate that then has to be deleted. The link carried in `state` is a server-minted nonce, single-use, valid for ten minutes. That nonce is what binds the identity that comes back to the session that asked for it - and it is the whole reason this flow exists rather than a Cognito-side one. An earlier design let the presignup trigger consume a pending link, which could only correlate on email plus provider: an attacker who walked the OAuth flow with their own Google account inside the window got attached to the victim\'s account. Only `Google` and `LinkedIn` are accepted here; `ms-*` providers belong to enterprise SSO, where the link is made against a domain the customer has proven they own. Posting again replaces any pending link, which also invalidates it. * Start Linking A Social Account */ startUserIdentityLink(requestParameters: StartUserIdentityLinkOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for updateUser without sending the request */ updateUserRequestOpts(requestParameters: UpdateUserRequest): Promise; /** * This endpoint allows you to update details of a specific user in your account. You can modify information such as name, and other relevant attributes of the user. Only the fields provided in the request will be updated. Role change: a to-one `role` relationship in the request switches the user\'s role (and their Cognito `custom:userRole`). Callers need role sysowner/owner/admin; assigning or displacing `owner`/`sysowner` requires standing on that rung; system users\' roles cannot be changed. Sending `role` with `data: null` (unassign) is rejected - every user keeps exactly one role. `jobs`/`apikeys` relationships are ignored on update. Status change: `status` flips between `active` and `archived` and enables/disables the Cognito account accordingly (the restore door for a soft-deleted user). An actual status transition requires role sysowner/owner/admin, and archiving/restoring a user holding `owner`/`sysowner` requires standing on that rung. Omitting `status` (or echoing the current value) leaves permissions checks untouched. `password`, `sendInvitation` and `passwordPermanent` are create-only and rejected here. * Update User */ updateUserRaw(requestParameters: UpdateUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * This endpoint allows you to update details of a specific user in your account. You can modify information such as name, and other relevant attributes of the user. Only the fields provided in the request will be updated. Role change: a to-one `role` relationship in the request switches the user\'s role (and their Cognito `custom:userRole`). Callers need role sysowner/owner/admin; assigning or displacing `owner`/`sysowner` requires standing on that rung; system users\' roles cannot be changed. Sending `role` with `data: null` (unassign) is rejected - every user keeps exactly one role. `jobs`/`apikeys` relationships are ignored on update. Status change: `status` flips between `active` and `archived` and enables/disables the Cognito account accordingly (the restore door for a soft-deleted user). An actual status transition requires role sysowner/owner/admin, and archiving/restoring a user holding `owner`/`sysowner` requires standing on that rung. Omitting `status` (or echoing the current value) leaves permissions checks untouched. `password`, `sendInvitation` and `passwordPermanent` are create-only and rejected here. * Update User */ updateUser(requestParameters: UpdateUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userApikeysOptions without sending the request */ userApikeysOptionsRequestOpts(requestParameters: UserApikeysOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Apikeys Options */ userApikeysOptionsRaw(requestParameters: UserApikeysOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Apikeys Options */ userApikeysOptions(requestParameters: UserApikeysOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userApikeysRelationshipsOptions without sending the request */ userApikeysRelationshipsOptionsRequestOpts(requestParameters: UserApikeysRelationshipsOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Apikeys Relationships Options */ userApikeysRelationshipsOptionsRaw(requestParameters: UserApikeysRelationshipsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Apikeys Relationships Options */ userApikeysRelationshipsOptions(requestParameters: UserApikeysRelationshipsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userIdentitiesOptions without sending the request */ userIdentitiesOptionsRequestOpts(requestParameters: UserIdentitiesOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Identities Options */ userIdentitiesOptionsRaw(requestParameters: UserIdentitiesOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Identities Options */ userIdentitiesOptions(requestParameters: UserIdentitiesOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userIdentityCompleteOptions without sending the request */ userIdentityCompleteOptionsRequestOpts(requestParameters: UserIdentityCompleteOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Identity Complete Options */ userIdentityCompleteOptionsRaw(requestParameters: UserIdentityCompleteOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Identity Complete Options */ userIdentityCompleteOptions(requestParameters: UserIdentityCompleteOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userIdentityOptions without sending the request */ userIdentityOptionsRequestOpts(requestParameters: UserIdentityOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Identity Options */ userIdentityOptionsRaw(requestParameters: UserIdentityOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Identity Options */ userIdentityOptions(requestParameters: UserIdentityOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userInvitationsOptions without sending the request */ userInvitationsOptionsRequestOpts(requestParameters: UserInvitationsOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Invitations Options */ userInvitationsOptionsRaw(requestParameters: UserInvitationsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Invitations Options */ userInvitationsOptions(requestParameters: UserInvitationsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userJobsOptions without sending the request */ userJobsOptionsRequestOpts(requestParameters: UserJobsOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Jobs Options */ userJobsOptionsRaw(requestParameters: UserJobsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Jobs Options */ userJobsOptions(requestParameters: UserJobsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userJobsRelationshipsOptions without sending the request */ userJobsRelationshipsOptionsRequestOpts(requestParameters: UserJobsRelationshipsOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Jobs Relationships Options */ userJobsRelationshipsOptionsRaw(requestParameters: UserJobsRelationshipsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Jobs Relationships Options */ userJobsRelationshipsOptions(requestParameters: UserJobsRelationshipsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userOptions without sending the request */ userOptionsRequestOpts(requestParameters: UserOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Options */ userOptionsRaw(requestParameters: UserOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Options */ userOptions(requestParameters: UserOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userRolesOptions without sending the request */ userRolesOptionsRequestOpts(requestParameters: UserRolesOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Roles Options */ userRolesOptionsRaw(requestParameters: UserRolesOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Roles Options */ userRolesOptions(requestParameters: UserRolesOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userRolesRelationshipsOptions without sending the request */ userRolesRelationshipsOptionsRequestOpts(requestParameters: UserRolesRelationshipsOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Roles Relationships Options */ userRolesRelationshipsOptionsRaw(requestParameters: UserRolesRelationshipsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Roles Relationships Options */ userRolesRelationshipsOptions(requestParameters: UserRolesRelationshipsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for userUploadsOptions without sending the request */ userUploadsOptionsRequestOpts(requestParameters: UserUploadsOptionsRequest): Promise; /** * Enable CORS by returning correct headers * User Uploads Options */ userUploadsOptionsRaw(requestParameters: UserUploadsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * User Uploads Options */ userUploadsOptions(requestParameters: UserUploadsOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for usersOptions without sending the request */ usersOptionsRequestOpts(): Promise; /** * Enable CORS by returning correct headers * Users Options */ usersOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * Users Options */ usersOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * @export */ export declare const DeleteUserPermanentDeleteEnum: { readonly True: "true"; readonly False: "false"; }; export type DeleteUserPermanentDeleteEnum = typeof DeleteUserPermanentDeleteEnum[keyof typeof DeleteUserPermanentDeleteEnum]; /** * @export */ export declare const DeleteUserIdentityProviderEnum: { readonly Google: "Google"; readonly LinkedIn: "LinkedIn"; }; export type DeleteUserIdentityProviderEnum = typeof DeleteUserIdentityProviderEnum[keyof typeof DeleteUserIdentityProviderEnum]; /** * @export */ export declare const ListUsersFilterStatusEnum: { readonly Active: "active"; readonly Archived: "archived"; readonly Pending: "pending"; }; export type ListUsersFilterStatusEnum = typeof ListUsersFilterStatusEnum[keyof typeof ListUsersFilterStatusEnum]; /** * @export */ export declare const UserIdentityOptionsProviderEnum: { readonly Google: "Google"; readonly LinkedIn: "LinkedIn"; }; export type UserIdentityOptionsProviderEnum = typeof UserIdentityOptionsProviderEnum[keyof typeof UserIdentityOptionsProviderEnum]; //# sourceMappingURL=UsersApi.d.ts.map