/** * NERM API v2025 * The NERM API v2025 accesss and modifies resources in your environment. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import type { RequestArgs } from './base'; import { BaseAPI } from './base'; /** * * @export * @interface DelegateUserNERMV2025 */ export interface DelegateUserNERMV2025 { /** * The id of the delegate user * @type {string} * @memberof DelegateUserNERMV2025 */ 'id'?: string; /** * The uid of the delegate user * @type {string} * @memberof DelegateUserNERMV2025 */ 'uid'?: string; /** * The type of the delegate user * @type {string} * @memberof DelegateUserNERMV2025 */ 'type'?: string; /** * The name of the delegate user * @type {string} * @memberof DelegateUserNERMV2025 */ 'name'?: string; /** * The email of the delegate user * @type {string} * @memberof DelegateUserNERMV2025 */ 'email'?: string; /** * The status of the delegate user * @type {string} * @memberof DelegateUserNERMV2025 */ 'status'?: string; /** * The login of the delegate user * @type {string} * @memberof DelegateUserNERMV2025 */ 'login'?: string; /** * The last login timestamp of the delegate user * @type {string} * @memberof DelegateUserNERMV2025 */ 'last_login'?: string; /** * The date-time the record created. * @type {string} * @memberof DelegateUserNERMV2025 */ 'created_at'?: string; /** * The date-time the record was last updated. * @type {string} * @memberof DelegateUserNERMV2025 */ 'updated_at'?: string; } /** * * @export * @interface Delegation1NERMV2025 */ export interface Delegation1NERMV2025 { /** * The id of the delegation * @type {string} * @memberof Delegation1NERMV2025 */ 'id'?: string; /** * The id of the delegator user * @type {object} * @memberof Delegation1NERMV2025 */ 'delegator_id'?: object; /** * The id of the delegate user * @type {object} * @memberof Delegation1NERMV2025 */ 'delegate_id'?: object; /** * The expiration date of the delegation * @type {string} * @memberof Delegation1NERMV2025 */ 'expiration'?: string; /** * Indicates if the delegation is expired * @type {boolean} * @memberof Delegation1NERMV2025 */ 'expired'?: boolean; /** * The date-time the record created. * @type {string} * @memberof Delegation1NERMV2025 */ 'created_at'?: string; /** * The date-time the record was last updated. * @type {string} * @memberof Delegation1NERMV2025 */ 'updated_at'?: string; } /** * * @export * @interface Delegation2NERMV2025 */ export interface Delegation2NERMV2025 { /** * The id of the delegator * @type {string} * @memberof Delegation2NERMV2025 */ 'delegator_id'?: string; /** * The id of the delegate * @type {string} * @memberof Delegation2NERMV2025 */ 'delegate_id'?: string; /** * The expiration date of the delegation * @type {string} * @memberof Delegation2NERMV2025 */ 'expiration'?: string; } /** * * @export * @interface DelegationNERMV2025 */ export interface DelegationNERMV2025 { /** * The id of the delegation * @type {string} * @memberof DelegationNERMV2025 */ 'id'?: string; /** * The id of the delegator user * @type {object} * @memberof DelegationNERMV2025 */ 'delegator_id'?: object; /** * The id of the delegate user * @type {object} * @memberof DelegationNERMV2025 */ 'delegate_id'?: object; /** * * @type {DelegatorUserNERMV2025} * @memberof DelegationNERMV2025 */ 'delegator'?: DelegatorUserNERMV2025; /** * * @type {DelegateUserNERMV2025} * @memberof DelegationNERMV2025 */ 'delegate'?: DelegateUserNERMV2025; /** * The expiration date of the delegation * @type {string} * @memberof DelegationNERMV2025 */ 'expiration'?: string; /** * Indicates if the delegation is expired * @type {boolean} * @memberof DelegationNERMV2025 */ 'expired'?: boolean; /** * The date-time the record created. * @type {string} * @memberof DelegationNERMV2025 */ 'created_at'?: string; /** * The date-time the record was last updated. * @type {string} * @memberof DelegationNERMV2025 */ 'updated_at'?: string; } /** * * @export * @interface DelegationsGet200ResponseNERMV2025 */ export interface DelegationsGet200ResponseNERMV2025 { /** * * @type {Array} * @memberof DelegationsGet200ResponseNERMV2025 */ 'delegations'?: Array; } /** * * @export * @interface DelegationsGet500ResponseNERMV2025 */ export interface DelegationsGet500ResponseNERMV2025 { /** * A message describing the error * @type {object} * @memberof DelegationsGet500ResponseNERMV2025 */ 'error'?: object; } /** * * @export * @interface DelegationsPost201ResponseNERMV2025 */ export interface DelegationsPost201ResponseNERMV2025 { /** * * @type {Delegation1NERMV2025} * @memberof DelegationsPost201ResponseNERMV2025 */ 'delegation'?: Delegation1NERMV2025; } /** * * @export * @interface DelegationsPost404ResponseNERMV2025 */ export interface DelegationsPost404ResponseNERMV2025 { /** * The requested record, either ID or UID, was not found * @type {object} * @memberof DelegationsPost404ResponseNERMV2025 */ 'error'?: object; } /** * * @export * @interface DelegationsPostRequestNERMV2025 */ export interface DelegationsPostRequestNERMV2025 { /** * * @type {Delegation2NERMV2025} * @memberof DelegationsPostRequestNERMV2025 */ 'delegation'?: Delegation2NERMV2025; } /** * * @export * @interface DelegatorUserNERMV2025 */ export interface DelegatorUserNERMV2025 { /** * The id of the delegator user * @type {string} * @memberof DelegatorUserNERMV2025 */ 'id'?: string; /** * The uid of the delegator user * @type {string} * @memberof DelegatorUserNERMV2025 */ 'uid'?: string; /** * The type of the delegator user * @type {string} * @memberof DelegatorUserNERMV2025 */ 'type'?: string; /** * The name of the delegator user * @type {string} * @memberof DelegatorUserNERMV2025 */ 'name'?: string; /** * The email of the delegator user * @type {string} * @memberof DelegatorUserNERMV2025 */ 'email'?: string; /** * The status of the delegator user * @type {string} * @memberof DelegatorUserNERMV2025 */ 'status'?: string; /** * The login of the delegator user * @type {string} * @memberof DelegatorUserNERMV2025 */ 'login'?: string; /** * The last login timestamp of the delegator user * @type {string} * @memberof DelegatorUserNERMV2025 */ 'last_login'?: string; /** * The date-time the record created. * @type {string} * @memberof DelegatorUserNERMV2025 */ 'created_at'?: string; /** * The date-time the record was last updated. * @type {string} * @memberof DelegatorUserNERMV2025 */ 'updated_at'?: string; } /** * DelegationsNERMV2025Api - axios parameter creator * @export */ export declare const DelegationsNERMV2025ApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns a list of delegation records, optionally filtered by delegate, delegator, or expiration status. * @summary List delegations * @param {string} [delegateId] Filter by delegate ID * @param {string} [delegatorId] Filter by delegator ID * @param {boolean} [expired] Filter by expiration status (true for expired, false for not expired) * @param {number} [limit] The maximum number of items to return. * @param {number} [offset] The number of items to skip before starting to collect the result set. * @param {string} [include] Include related resources body. For example, \'include=delegator,delegate\'. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsGet: (delegateId?: string, delegatorId?: string, expired?: boolean, limit?: number, offset?: number, include?: string, axiosOptions?: RawAxiosRequestConfig) => Promise; /** * Delete an existing delegation record. * @summary Delete a delegation * @param {string} id ID of the object to retrieve, update, or delete * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsIdDelete: (id: string, axiosOptions?: RawAxiosRequestConfig) => Promise; /** * Returns a single delegation record by its ID. * @summary Get a single delegation * @param {string} id ID of the object to retrieve, update, or delete * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsIdGet: (id: string, axiosOptions?: RawAxiosRequestConfig) => Promise; /** * Update an existing delegation record. * @summary Update a delegation * @param {string} id ID of the object to retrieve, update, or delete * @param {DelegationsPostRequestNERMV2025} delegationsPostRequestNERMV2025 * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsIdPatch: (id: string, delegationsPostRequestNERMV2025: DelegationsPostRequestNERMV2025, axiosOptions?: RawAxiosRequestConfig) => Promise; /** * Create a new delegation record. * @summary Create a delegation * @param {DelegationsPostRequestNERMV2025} delegationsPostRequestNERMV2025 * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsPost: (delegationsPostRequestNERMV2025: DelegationsPostRequestNERMV2025, axiosOptions?: RawAxiosRequestConfig) => Promise; }; /** * DelegationsNERMV2025Api - functional programming interface * @export */ export declare const DelegationsNERMV2025ApiFp: (configuration?: Configuration) => { /** * Returns a list of delegation records, optionally filtered by delegate, delegator, or expiration status. * @summary List delegations * @param {string} [delegateId] Filter by delegate ID * @param {string} [delegatorId] Filter by delegator ID * @param {boolean} [expired] Filter by expiration status (true for expired, false for not expired) * @param {number} [limit] The maximum number of items to return. * @param {number} [offset] The number of items to skip before starting to collect the result set. * @param {string} [include] Include related resources body. For example, \'include=delegator,delegate\'. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsGet(delegateId?: string, delegatorId?: string, expired?: boolean, limit?: number, offset?: number, include?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Delete an existing delegation record. * @summary Delete a delegation * @param {string} id ID of the object to retrieve, update, or delete * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsIdDelete(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a single delegation record by its ID. * @summary Get a single delegation * @param {string} id ID of the object to retrieve, update, or delete * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsIdGet(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Update an existing delegation record. * @summary Update a delegation * @param {string} id ID of the object to retrieve, update, or delete * @param {DelegationsPostRequestNERMV2025} delegationsPostRequestNERMV2025 * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsIdPatch(id: string, delegationsPostRequestNERMV2025: DelegationsPostRequestNERMV2025, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Create a new delegation record. * @summary Create a delegation * @param {DelegationsPostRequestNERMV2025} delegationsPostRequestNERMV2025 * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsPost(delegationsPostRequestNERMV2025: DelegationsPostRequestNERMV2025, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * DelegationsNERMV2025Api - factory interface * @export */ export declare const DelegationsNERMV2025ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns a list of delegation records, optionally filtered by delegate, delegator, or expiration status. * @summary List delegations * @param {DelegationsNERMV2025ApiDelegationsGetRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsGet(requestParameters?: DelegationsNERMV2025ApiDelegationsGetRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise; /** * Delete an existing delegation record. * @summary Delete a delegation * @param {DelegationsNERMV2025ApiDelegationsIdDeleteRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsIdDelete(requestParameters: DelegationsNERMV2025ApiDelegationsIdDeleteRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a single delegation record by its ID. * @summary Get a single delegation * @param {DelegationsNERMV2025ApiDelegationsIdGetRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsIdGet(requestParameters: DelegationsNERMV2025ApiDelegationsIdGetRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise; /** * Update an existing delegation record. * @summary Update a delegation * @param {DelegationsNERMV2025ApiDelegationsIdPatchRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsIdPatch(requestParameters: DelegationsNERMV2025ApiDelegationsIdPatchRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise; /** * Create a new delegation record. * @summary Create a delegation * @param {DelegationsNERMV2025ApiDelegationsPostRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ delegationsPost(requestParameters: DelegationsNERMV2025ApiDelegationsPostRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise; }; /** * Request parameters for delegationsGet operation in DelegationsNERMV2025Api. * @export * @interface DelegationsNERMV2025ApiDelegationsGetRequest */ export interface DelegationsNERMV2025ApiDelegationsGetRequest { /** * Filter by delegate ID * @type {string} * @memberof DelegationsNERMV2025ApiDelegationsGet */ readonly delegateId?: string; /** * Filter by delegator ID * @type {string} * @memberof DelegationsNERMV2025ApiDelegationsGet */ readonly delegatorId?: string; /** * Filter by expiration status (true for expired, false for not expired) * @type {boolean} * @memberof DelegationsNERMV2025ApiDelegationsGet */ readonly expired?: boolean; /** * The maximum number of items to return. * @type {number} * @memberof DelegationsNERMV2025ApiDelegationsGet */ readonly limit?: number; /** * The number of items to skip before starting to collect the result set. * @type {number} * @memberof DelegationsNERMV2025ApiDelegationsGet */ readonly offset?: number; /** * Include related resources body. For example, \'include=delegator,delegate\'. * @type {string} * @memberof DelegationsNERMV2025ApiDelegationsGet */ readonly include?: string; } /** * Request parameters for delegationsIdDelete operation in DelegationsNERMV2025Api. * @export * @interface DelegationsNERMV2025ApiDelegationsIdDeleteRequest */ export interface DelegationsNERMV2025ApiDelegationsIdDeleteRequest { /** * ID of the object to retrieve, update, or delete * @type {string} * @memberof DelegationsNERMV2025ApiDelegationsIdDelete */ readonly id: string; } /** * Request parameters for delegationsIdGet operation in DelegationsNERMV2025Api. * @export * @interface DelegationsNERMV2025ApiDelegationsIdGetRequest */ export interface DelegationsNERMV2025ApiDelegationsIdGetRequest { /** * ID of the object to retrieve, update, or delete * @type {string} * @memberof DelegationsNERMV2025ApiDelegationsIdGet */ readonly id: string; } /** * Request parameters for delegationsIdPatch operation in DelegationsNERMV2025Api. * @export * @interface DelegationsNERMV2025ApiDelegationsIdPatchRequest */ export interface DelegationsNERMV2025ApiDelegationsIdPatchRequest { /** * ID of the object to retrieve, update, or delete * @type {string} * @memberof DelegationsNERMV2025ApiDelegationsIdPatch */ readonly id: string; /** * * @type {DelegationsPostRequestNERMV2025} * @memberof DelegationsNERMV2025ApiDelegationsIdPatch */ readonly delegationsPostRequestNERMV2025: DelegationsPostRequestNERMV2025; } /** * Request parameters for delegationsPost operation in DelegationsNERMV2025Api. * @export * @interface DelegationsNERMV2025ApiDelegationsPostRequest */ export interface DelegationsNERMV2025ApiDelegationsPostRequest { /** * * @type {DelegationsPostRequestNERMV2025} * @memberof DelegationsNERMV2025ApiDelegationsPost */ readonly delegationsPostRequestNERMV2025: DelegationsPostRequestNERMV2025; } /** * DelegationsNERMV2025Api - object-oriented interface * @export * @class DelegationsNERMV2025Api * @extends {BaseAPI} */ export declare class DelegationsNERMV2025Api extends BaseAPI { /** * Returns a list of delegation records, optionally filtered by delegate, delegator, or expiration status. * @summary List delegations * @param {DelegationsNERMV2025ApiDelegationsGetRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof DelegationsNERMV2025Api */ delegationsGet(requestParameters?: DelegationsNERMV2025ApiDelegationsGetRequest, axiosOptions?: RawAxiosRequestConfig): Promise>; /** * Delete an existing delegation record. * @summary Delete a delegation * @param {DelegationsNERMV2025ApiDelegationsIdDeleteRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof DelegationsNERMV2025Api */ delegationsIdDelete(requestParameters: DelegationsNERMV2025ApiDelegationsIdDeleteRequest, axiosOptions?: RawAxiosRequestConfig): Promise>; /** * Returns a single delegation record by its ID. * @summary Get a single delegation * @param {DelegationsNERMV2025ApiDelegationsIdGetRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof DelegationsNERMV2025Api */ delegationsIdGet(requestParameters: DelegationsNERMV2025ApiDelegationsIdGetRequest, axiosOptions?: RawAxiosRequestConfig): Promise>; /** * Update an existing delegation record. * @summary Update a delegation * @param {DelegationsNERMV2025ApiDelegationsIdPatchRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof DelegationsNERMV2025Api */ delegationsIdPatch(requestParameters: DelegationsNERMV2025ApiDelegationsIdPatchRequest, axiosOptions?: RawAxiosRequestConfig): Promise>; /** * Create a new delegation record. * @summary Create a delegation * @param {DelegationsNERMV2025ApiDelegationsPostRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof DelegationsNERMV2025Api */ delegationsPost(requestParameters: DelegationsNERMV2025ApiDelegationsPostRequest, axiosOptions?: RawAxiosRequestConfig): Promise>; }