/** * Agilicus API * Agilicus is API-first. Modern software is controlled by other software, is open, is available for you to use the way you want, securely, simply. The OpenAPI Specification in YAML format is available on [www](https://www.agilicus.com/www/api/agilicus-openapi.yaml) for importing to other tools. A rendered, online viewable and usable version of this specification is available at [api](https://www.agilicus.com/api). You may try the API inline directly in the web page. To do so, first obtain an Authentication Token (the simplest way is to install the Python SDK, and then run `agilicus-cli --issuer https://MYISSUER get-token`). You will need an org-id for most calls (and can obtain from `agilicus-cli --issuer https://MYISSUER list-orgs`). The `MYISSUER` will typically be `auth.MYDOMAIN`, and you will see it as you sign-in to the administrative UI. This API releases on Bearer-Token authentication. To obtain a valid bearer token you will need to Authenticate to an Issuer with OpenID Connect (a superset of OAUTH2). Your \"issuer\" will look like https://auth.MYDOMAIN. For example, when you signed-up, if you said \"use my own domain name\" and assigned a CNAME of cloud.example.com, then your issuer would be https://auth.cloud.example.com. If you selected \"use an Agilicus supplied domain name\", your issuer would look like https://auth.myorg.agilicus.cloud. For test purposes you can use our [Python SDK](https://pypi.org/project/agilicus/) and run `agilicus-cli --issuer https://auth.MYDOMAIN get-token`. This API may be used in any language runtime that supports OpenAPI 3.0, or, you may use our [Python SDK](https://pypi.org/project/agilicus/), our [Typescript SDK](https://www.npmjs.com/package/@agilicus/angular), or our [Golang SDK](https://git.agilicus.com/pub/sdk-go). 100% of the activities in our system our API-driven, from our web-admin, through our progressive web applications, to all internals: there is nothing that is not accessible. For more information, see [developer resources](https://www.agilicus.com/developer). * * The version of the OpenAPI document: 2025.12.16 * Contact: dev@agilicus.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ export interface _UserRequestInfoSpec { /** * The unique id of the User to which this record applies. */ user_id: string; /** * The unique id of the Organisation to which this record applies. */ org_id: string; /** * The resource the user is requesting. For example an application id if the request_type is application. If the request_type is fileshare, this would be the file share id. */ requested_resource: string; /** * A resource tied to the resource the user is requesting. For example, this could be the name of a role if the request_type is application_access. */ requested_sub_resource?: string; /** * The type of request a user is making. Note that `application_access` and `file_share_access` are deprecated. They have been replaced with `application` and `fileshare` respectively. */ requested_resource_type: UserRequestInfoSpec.RequestedResourceTypeEnum; /** * Text describing why the user is requesting application access */ request_information?: string; /** * The state of the resource access request */ state?: UserRequestInfoSpec.StateEnum; /** * Optionally the beginning of the time period at which the permissions will be granted once approved. */ from_date?: Date; /** * Optionally the end of the time period at which the permissions will be granted once approved. */ to_date?: Date; /** * An optional expiry time for the request. After the request has expired, it cannot be accepted or declined. If not set, the request never expires. Will default to the `to_date` if the `to_date` is set and `expiry_date` is not. */ expiry_date?: Date; /** * Optional text describing the response of the request after it has been approved or declined. */ response_information?: string; } export interface UserRequestInfoSpec extends _UserRequestInfoSpec { _builtin_original?: _UserRequestInfoSpec; _remove_builtin_extensions?: () => void; } export declare class UserRequestInfoSpecImpl implements _UserRequestInfoSpec { _builtin_original?: _UserRequestInfoSpec; user_id: string; org_id: string; requested_resource: string; requested_sub_resource: string | undefined; requested_resource_type: UserRequestInfoSpec.RequestedResourceTypeEnum; request_information: string | undefined; state: UserRequestInfoSpec.StateEnum | undefined; from_date: Date | undefined; to_date: Date | undefined; expiry_date: Date | undefined; response_information: string | undefined; constructor(base: _UserRequestInfoSpec); _remove_builtin_extensions(): void; } export declare namespace UserRequestInfoSpec { type RequestedResourceTypeEnum = 'application_access' | 'file_share_access' | 'application' | 'fileshare' | 'application_service' | 'desktop' | 'launcher' | 'ssh' | 'database'; const RequestedResourceTypeEnum: { application_access: RequestedResourceTypeEnum; file_share_access: RequestedResourceTypeEnum; application: RequestedResourceTypeEnum; fileshare: RequestedResourceTypeEnum; application_service: RequestedResourceTypeEnum; desktop: RequestedResourceTypeEnum; launcher: RequestedResourceTypeEnum; ssh: RequestedResourceTypeEnum; database: RequestedResourceTypeEnum; }; type StateEnum = 'pending' | 'approved' | 'declined'; const StateEnum: { pending: StateEnum; approved: StateEnum; declined: StateEnum; }; } export declare function newUserRequestInfoSpecImpl(base: _UserRequestInfoSpec): UserRequestInfoSpecImpl;