/** * Iam * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * Contact: info@affinidi.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 type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import type { RequestArgs } from './base'; import { BaseAPI } from './base'; /** * * @export * @interface ActionForbiddenError */ export interface ActionForbiddenError { /** * * @type {string} * @memberof ActionForbiddenError */ name: ActionForbiddenErrorNameEnum; /** * * @type {string} * @memberof ActionForbiddenError */ message: ActionForbiddenErrorMessageEnum; /** * * @type {number} * @memberof ActionForbiddenError */ httpStatusCode: ActionForbiddenErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof ActionForbiddenError */ traceId: string; /** * * @type {Array} * @memberof ActionForbiddenError */ details?: Array; } export declare const ActionForbiddenErrorNameEnum: { readonly ActionForbiddenError: "ActionForbiddenError"; }; export type ActionForbiddenErrorNameEnum = (typeof ActionForbiddenErrorNameEnum)[keyof typeof ActionForbiddenErrorNameEnum]; export declare const ActionForbiddenErrorMessageEnum: { readonly PrincipalCanNotExecuteActionOnGivenResource: "Principal can not execute action on given resource"; }; export type ActionForbiddenErrorMessageEnum = (typeof ActionForbiddenErrorMessageEnum)[keyof typeof ActionForbiddenErrorMessageEnum]; export declare const ActionForbiddenErrorHttpStatusCodeEnum: { readonly NUMBER_403: 403; }; export type ActionForbiddenErrorHttpStatusCodeEnum = (typeof ActionForbiddenErrorHttpStatusCodeEnum)[keyof typeof ActionForbiddenErrorHttpStatusCodeEnum]; /** * * @export * @interface AddUserToProjectInput */ export interface AddUserToProjectInput { /** * * @type {string} * @memberof AddUserToProjectInput */ principalId: string; /** * * @type {string} * @memberof AddUserToProjectInput */ principalType: string; } /** * * @export * @interface ConsumerAuthTokenEndpointInput */ export interface ConsumerAuthTokenEndpointInput { /** * * @type {string} * @memberof ConsumerAuthTokenEndpointInput */ grant_type: ConsumerAuthTokenEndpointInputGrantTypeEnum; /** * * @type {string} * @memberof ConsumerAuthTokenEndpointInput */ client_assertion_type: ConsumerAuthTokenEndpointInputClientAssertionTypeEnum; /** * * @type {string} * @memberof ConsumerAuthTokenEndpointInput */ client_assertion: string; /** * * @type {string} * @memberof ConsumerAuthTokenEndpointInput */ code?: string; /** * * @type {string} * @memberof ConsumerAuthTokenEndpointInput */ refresh_token?: string; /** * * @type {string} * @memberof ConsumerAuthTokenEndpointInput */ redirect_uri?: string; /** * * @type {string} * @memberof ConsumerAuthTokenEndpointInput */ client_id?: string; } export declare const ConsumerAuthTokenEndpointInputGrantTypeEnum: { readonly ClientCredentials: "client_credentials"; readonly AffinidiDelegation: "affinidi_delegation"; }; export type ConsumerAuthTokenEndpointInputGrantTypeEnum = (typeof ConsumerAuthTokenEndpointInputGrantTypeEnum)[keyof typeof ConsumerAuthTokenEndpointInputGrantTypeEnum]; export declare const ConsumerAuthTokenEndpointInputClientAssertionTypeEnum: { readonly UrnIetfParamsOauthClientAssertionTypeJwtBearer: "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"; readonly UrnIetfParamsOauthDelegationAssertionTypeJwtBearer: "urn:ietf:params:oauth:delegation-assertion-type:jwt-bearer"; }; export type ConsumerAuthTokenEndpointInputClientAssertionTypeEnum = (typeof ConsumerAuthTokenEndpointInputClientAssertionTypeEnum)[keyof typeof ConsumerAuthTokenEndpointInputClientAssertionTypeEnum]; /** * * @export * @interface ConsumerAuthTokenEndpointOutput */ export interface ConsumerAuthTokenEndpointOutput { /** * The access token issued by the authorization server. * @type {string} * @memberof ConsumerAuthTokenEndpointOutput */ access_token?: string; /** * The lifetime in seconds of the access token. For example, the value \"3600\" denotes that the access token will expire in one hour from the time the response was generated. * @type {number} * @memberof ConsumerAuthTokenEndpointOutput */ expires_in?: number; /** * To retrieve a refresh token request the id_token scope. * @type {number} * @memberof ConsumerAuthTokenEndpointOutput */ id_token?: number; /** * The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope \"offline\" to your access token request. * @type {string} * @memberof ConsumerAuthTokenEndpointOutput */ refresh_token?: string; /** * The scope of the access token * @type {string} * @memberof ConsumerAuthTokenEndpointOutput */ scope?: string; /** * The type of the token issued * @type {string} * @memberof ConsumerAuthTokenEndpointOutput */ token_type?: string; } /** * * @export * @interface CreateProjectInput */ export interface CreateProjectInput { /** * * @type {string} * @memberof CreateProjectInput */ name: string; /** * * @type {string} * @memberof CreateProjectInput */ description?: string; } /** * * @export * @interface CreateProjectScopedTokenInput */ export interface CreateProjectScopedTokenInput { /** * * @type {string} * @memberof CreateProjectScopedTokenInput */ projectId: string; } /** * * @export * @interface CreateProjectScopedTokenOutput */ export interface CreateProjectScopedTokenOutput { /** * * @type {string} * @memberof CreateProjectScopedTokenOutput */ accessToken: string; /** * * @type {number} * @memberof CreateProjectScopedTokenOutput */ expiresIn: number; /** * * @type {string} * @memberof CreateProjectScopedTokenOutput */ scope: string; } /** * * @export * @interface CreateTokenInput */ export interface CreateTokenInput { /** * * @type {string} * @memberof CreateTokenInput */ name: string; /** * * @type {TokenPrivateKeyAuthenticationMethodDto} * @memberof CreateTokenInput */ authenticationMethod: TokenPrivateKeyAuthenticationMethodDto; /** * * @type {string} * @memberof CreateTokenInput */ description?: string; } /** * * @export * @interface GrantAccessInput */ export interface GrantAccessInput { /** * DID of the subject being granted access * @type {string} * @memberof GrantAccessInput */ granteeDid: string; /** * List of rights to grant to the subject * @type {Array} * @memberof GrantAccessInput */ rights: Array; } /** * * @export * @interface GrantAccessOutput */ export interface GrantAccessOutput { /** * * @type {boolean} * @memberof GrantAccessOutput */ success: boolean; /** * Unique identifier for the access grant * @type {string} * @memberof GrantAccessOutput */ grantId?: string; } /** * * @export * @interface InvalidDIDError */ export interface InvalidDIDError { /** * * @type {string} * @memberof InvalidDIDError */ name: InvalidDIDErrorNameEnum; /** * * @type {string} * @memberof InvalidDIDError */ message: InvalidDIDErrorMessageEnum; /** * * @type {number} * @memberof InvalidDIDError */ httpStatusCode: InvalidDIDErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof InvalidDIDError */ traceId: string; /** * * @type {Array} * @memberof InvalidDIDError */ details?: Array; } export declare const InvalidDIDErrorNameEnum: { readonly InvalidDidError: "InvalidDIDError"; }; export type InvalidDIDErrorNameEnum = (typeof InvalidDIDErrorNameEnum)[keyof typeof InvalidDIDErrorNameEnum]; export declare const InvalidDIDErrorMessageEnum: { readonly UnableToResolveDidMethodInvalidPublicKey: "Unable to resolve DID method. Invalid public key"; }; export type InvalidDIDErrorMessageEnum = (typeof InvalidDIDErrorMessageEnum)[keyof typeof InvalidDIDErrorMessageEnum]; export declare const InvalidDIDErrorHttpStatusCodeEnum: { readonly NUMBER_400: 400; }; export type InvalidDIDErrorHttpStatusCodeEnum = (typeof InvalidDIDErrorHttpStatusCodeEnum)[keyof typeof InvalidDIDErrorHttpStatusCodeEnum]; /** * * @export * @interface InvalidParameterError */ export interface InvalidParameterError { /** * * @type {string} * @memberof InvalidParameterError */ name: InvalidParameterErrorNameEnum; /** * * @type {string} * @memberof InvalidParameterError */ message: InvalidParameterErrorMessageEnum; /** * * @type {number} * @memberof InvalidParameterError */ httpStatusCode: InvalidParameterErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof InvalidParameterError */ traceId: string; /** * * @type {Array} * @memberof InvalidParameterError */ details?: Array; } export declare const InvalidParameterErrorNameEnum: { readonly InvalidParameterError: "InvalidParameterError"; }; export type InvalidParameterErrorNameEnum = (typeof InvalidParameterErrorNameEnum)[keyof typeof InvalidParameterErrorNameEnum]; export declare const InvalidParameterErrorMessageEnum: { readonly InvalidParameterParam: "Invalid parameter: ${param}."; }; export type InvalidParameterErrorMessageEnum = (typeof InvalidParameterErrorMessageEnum)[keyof typeof InvalidParameterErrorMessageEnum]; export declare const InvalidParameterErrorHttpStatusCodeEnum: { readonly NUMBER_400: 400; }; export type InvalidParameterErrorHttpStatusCodeEnum = (typeof InvalidParameterErrorHttpStatusCodeEnum)[keyof typeof InvalidParameterErrorHttpStatusCodeEnum]; /** * * @export * @interface JsonWebKeyDto */ export interface JsonWebKeyDto { /** * * @type {string} * @memberof JsonWebKeyDto */ kid: string; /** * * @type {string} * @memberof JsonWebKeyDto */ kty: string; /** * * @type {string} * @memberof JsonWebKeyDto */ n?: string; /** * * @type {string} * @memberof JsonWebKeyDto */ e?: string; /** * * @type {string} * @memberof JsonWebKeyDto */ x?: string; /** * * @type {string} * @memberof JsonWebKeyDto */ y?: string; /** * * @type {string} * @memberof JsonWebKeyDto */ crv?: string; /** * * @type {string} * @memberof JsonWebKeyDto */ alg: string; /** * * @type {string} * @memberof JsonWebKeyDto */ use: string; } /** * * @export * @interface JsonWebKeySetDto */ export interface JsonWebKeySetDto { /** * * @type {Array} * @memberof JsonWebKeySetDto */ keys: Array; } /** * * @export * @interface NotFoundError */ export interface NotFoundError { /** * * @type {string} * @memberof NotFoundError */ name: NotFoundErrorNameEnum; /** * * @type {string} * @memberof NotFoundError */ message: NotFoundErrorMessageEnum; /** * * @type {number} * @memberof NotFoundError */ httpStatusCode: NotFoundErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof NotFoundError */ traceId: string; /** * * @type {Array} * @memberof NotFoundError */ details?: Array; } export declare const NotFoundErrorNameEnum: { readonly NotFoundError: "NotFoundError"; }; export type NotFoundErrorNameEnum = (typeof NotFoundErrorNameEnum)[keyof typeof NotFoundErrorNameEnum]; export declare const NotFoundErrorMessageEnum: { readonly NotFoundParam: "Not found: ${param}."; }; export type NotFoundErrorMessageEnum = (typeof NotFoundErrorMessageEnum)[keyof typeof NotFoundErrorMessageEnum]; export declare const NotFoundErrorHttpStatusCodeEnum: { readonly NUMBER_404: 404; }; export type NotFoundErrorHttpStatusCodeEnum = (typeof NotFoundErrorHttpStatusCodeEnum)[keyof typeof NotFoundErrorHttpStatusCodeEnum]; /** * * @export * @interface PolicyDto */ export interface PolicyDto { /** * * @type {string} * @memberof PolicyDto */ name?: string; /** * * @type {string} * @memberof PolicyDto */ description?: string; /** * * @type {string} * @memberof PolicyDto */ principalId?: string; /** * * @type {string} * @memberof PolicyDto */ projectId?: string; /** * * @type {string} * @memberof PolicyDto */ version: string; /** * * @type {Array} * @memberof PolicyDto */ statement: Array; } /** * * @export * @interface PolicyStatementDto */ export interface PolicyStatementDto { /** * * @type {Array} * @memberof PolicyStatementDto */ action: Array; /** * * @type {string} * @memberof PolicyStatementDto */ effect: string; /** * * @type {Array} * @memberof PolicyStatementDto */ principal: Array; /** * * @type {Array} * @memberof PolicyStatementDto */ resource: Array; } /** * * @export * @interface PrincipalCannotBeDeletedError */ export interface PrincipalCannotBeDeletedError { /** * * @type {string} * @memberof PrincipalCannotBeDeletedError */ name: PrincipalCannotBeDeletedErrorNameEnum; /** * * @type {string} * @memberof PrincipalCannotBeDeletedError */ message: PrincipalCannotBeDeletedErrorMessageEnum; /** * * @type {number} * @memberof PrincipalCannotBeDeletedError */ httpStatusCode: PrincipalCannotBeDeletedErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof PrincipalCannotBeDeletedError */ traceId: string; /** * * @type {Array} * @memberof PrincipalCannotBeDeletedError */ details?: Array; } export declare const PrincipalCannotBeDeletedErrorNameEnum: { readonly PrincipalCannotBeDeletedError: "PrincipalCannotBeDeletedError"; }; export type PrincipalCannotBeDeletedErrorNameEnum = (typeof PrincipalCannotBeDeletedErrorNameEnum)[keyof typeof PrincipalCannotBeDeletedErrorNameEnum]; export declare const PrincipalCannotBeDeletedErrorMessageEnum: { readonly CannotDeleteOwnRecordFromTheProjectWithTheSamePrincipalId: "Cannot delete own record from the project with the same principalId"; }; export type PrincipalCannotBeDeletedErrorMessageEnum = (typeof PrincipalCannotBeDeletedErrorMessageEnum)[keyof typeof PrincipalCannotBeDeletedErrorMessageEnum]; export declare const PrincipalCannotBeDeletedErrorHttpStatusCodeEnum: { readonly NUMBER_409: 409; }; export type PrincipalCannotBeDeletedErrorHttpStatusCodeEnum = (typeof PrincipalCannotBeDeletedErrorHttpStatusCodeEnum)[keyof typeof PrincipalCannotBeDeletedErrorHttpStatusCodeEnum]; /** * * @export * @interface PrincipalDoesNotBelongToProjectError */ export interface PrincipalDoesNotBelongToProjectError { /** * * @type {string} * @memberof PrincipalDoesNotBelongToProjectError */ name: PrincipalDoesNotBelongToProjectErrorNameEnum; /** * * @type {string} * @memberof PrincipalDoesNotBelongToProjectError */ message: PrincipalDoesNotBelongToProjectErrorMessageEnum; /** * * @type {number} * @memberof PrincipalDoesNotBelongToProjectError */ httpStatusCode: PrincipalDoesNotBelongToProjectErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof PrincipalDoesNotBelongToProjectError */ traceId: string; /** * * @type {Array} * @memberof PrincipalDoesNotBelongToProjectError */ details?: Array; } export declare const PrincipalDoesNotBelongToProjectErrorNameEnum: { readonly PrincipalDoesNotBelongToProjectError: "PrincipalDoesNotBelongToProjectError"; }; export type PrincipalDoesNotBelongToProjectErrorNameEnum = (typeof PrincipalDoesNotBelongToProjectErrorNameEnum)[keyof typeof PrincipalDoesNotBelongToProjectErrorNameEnum]; export declare const PrincipalDoesNotBelongToProjectErrorMessageEnum: { readonly PrincipalDoesNotBelongToTheGivenProject: "Principal does not belong to the given project"; }; export type PrincipalDoesNotBelongToProjectErrorMessageEnum = (typeof PrincipalDoesNotBelongToProjectErrorMessageEnum)[keyof typeof PrincipalDoesNotBelongToProjectErrorMessageEnum]; export declare const PrincipalDoesNotBelongToProjectErrorHttpStatusCodeEnum: { readonly NUMBER_403: 403; }; export type PrincipalDoesNotBelongToProjectErrorHttpStatusCodeEnum = (typeof PrincipalDoesNotBelongToProjectErrorHttpStatusCodeEnum)[keyof typeof PrincipalDoesNotBelongToProjectErrorHttpStatusCodeEnum]; /** * * @export * @interface ProjectDto */ export interface ProjectDto { /** * * @type {string} * @memberof ProjectDto */ id: string; /** * * @type {string} * @memberof ProjectDto */ name: string; /** * * @type {string} * @memberof ProjectDto */ ownerId?: string; /** * * @type {string} * @memberof ProjectDto */ description?: string; /** * flag indicates if identity verification is enabled for project * @type {boolean} * @memberof ProjectDto */ identityVerificationEnabled?: boolean; /** * creation date and time in ISO-8601 format, e.g. 2023-09-20T07:12:13 * @type {string} * @memberof ProjectDto */ createdAt?: string; /** * last update date and time in ISO-8601 format, e.g. 2023-09-20T07:12:13 * @type {string} * @memberof ProjectDto */ updatedAt?: string; } /** * * @export * @interface ProjectList */ export interface ProjectList { /** * * @type {Array} * @memberof ProjectList */ projects: Array; /** * * @type {string} * @memberof ProjectList */ lastEvaluatedKey?: string; } /** * * @export * @interface ProjectWithPolicyDto */ export interface ProjectWithPolicyDto { /** * * @type {string} * @memberof ProjectWithPolicyDto */ id: string; /** * * @type {string} * @memberof ProjectWithPolicyDto */ name: string; /** * * @type {PolicyDto} * @memberof ProjectWithPolicyDto */ policy: PolicyDto; } /** * * @export * @interface ProjectWithPolicyList */ export interface ProjectWithPolicyList { /** * * @type {Array} * @memberof ProjectWithPolicyList */ projects: Array; /** * * @type {string} * @memberof ProjectWithPolicyList */ lastEvaluatedKey?: string; } /** * * @export * @enum {string} */ export declare const RightsEnum: { readonly VfsRead: "vfs-read"; readonly VfsWrite: "vfs-write"; }; export type RightsEnum = (typeof RightsEnum)[keyof typeof RightsEnum]; /** * * @export * @interface TokenDto */ export interface TokenDto { /** * Token Id * @type {string} * @memberof TokenDto */ id: string; /** * Token ARI * @type {string} * @memberof TokenDto */ ari: string; /** * The Token owner\'s ARI * @type {string} * @memberof TokenDto */ ownerAri: string; /** * Owner defined Token display name * @type {string} * @memberof TokenDto */ name: string; /** * * @type {TokenPrivateKeyAuthenticationMethodDto} * @memberof TokenDto */ authenticationMethod: TokenPrivateKeyAuthenticationMethodDto; /** * Scopes that will be assigned to the Token on authentication * @type {Array} * @memberof TokenDto */ scopes: Array; } /** * * @export * @interface TokenList */ export interface TokenList { /** * * @type {Array} * @memberof TokenList */ tokens: Array; /** * * @type {string} * @memberof TokenList */ lastEvaluatedKey?: string; } /** * Private Key JWT Authentication of Client with `private_key_jwt` oAuth Method * @export * @interface TokenPrivateKeyAuthenticationMethodDto */ export interface TokenPrivateKeyAuthenticationMethodDto { /** * * @type {string} * @memberof TokenPrivateKeyAuthenticationMethodDto */ type: TokenPrivateKeyAuthenticationMethodDtoTypeEnum; /** * * @type {string} * @memberof TokenPrivateKeyAuthenticationMethodDto */ signingAlgorithm: TokenPrivateKeyAuthenticationMethodDtoSigningAlgorithmEnum; /** * * @type {TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfo} * @memberof TokenPrivateKeyAuthenticationMethodDto */ publicKeyInfo: TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfo; } export declare const TokenPrivateKeyAuthenticationMethodDtoTypeEnum: { readonly PrivateKey: "PRIVATE_KEY"; }; export type TokenPrivateKeyAuthenticationMethodDtoTypeEnum = (typeof TokenPrivateKeyAuthenticationMethodDtoTypeEnum)[keyof typeof TokenPrivateKeyAuthenticationMethodDtoTypeEnum]; export declare const TokenPrivateKeyAuthenticationMethodDtoSigningAlgorithmEnum: { readonly Rs256: "RS256"; readonly Rs512: "RS512"; readonly Es256: "ES256"; readonly Es512: "ES512"; }; export type TokenPrivateKeyAuthenticationMethodDtoSigningAlgorithmEnum = (typeof TokenPrivateKeyAuthenticationMethodDtoSigningAlgorithmEnum)[keyof typeof TokenPrivateKeyAuthenticationMethodDtoSigningAlgorithmEnum]; /** * @type TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfo * Corresponding Public Key Info provided either as a URL or a Hardcoded Object * @export */ export type TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfo = TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfoOneOf | TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfoOneOf1; /** * * @export * @interface TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfoOneOf */ export interface TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfoOneOf { /** * * @type {JsonWebKeySetDto} * @memberof TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfoOneOf */ jwks: JsonWebKeySetDto; } /** * * @export * @interface TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfoOneOf1 */ export interface TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfoOneOf1 { /** * * @type {string} * @memberof TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfoOneOf1 */ jwksUri: string; } /** * * @export * @interface UnauthorizedError */ export interface UnauthorizedError { /** * * @type {string} * @memberof UnauthorizedError */ name: UnauthorizedErrorNameEnum; /** * * @type {string} * @memberof UnauthorizedError */ message: UnauthorizedErrorMessageEnum; /** * * @type {number} * @memberof UnauthorizedError */ httpStatusCode: UnauthorizedErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof UnauthorizedError */ traceId: string; /** * * @type {Array} * @memberof UnauthorizedError */ details?: Array; } export declare const UnauthorizedErrorNameEnum: { readonly UnauthorizedError: "UnauthorizedError"; }; export type UnauthorizedErrorNameEnum = (typeof UnauthorizedErrorNameEnum)[keyof typeof UnauthorizedErrorNameEnum]; export declare const UnauthorizedErrorMessageEnum: { readonly Unauthorized: "Unauthorized"; }; export type UnauthorizedErrorMessageEnum = (typeof UnauthorizedErrorMessageEnum)[keyof typeof UnauthorizedErrorMessageEnum]; export declare const UnauthorizedErrorHttpStatusCodeEnum: { readonly NUMBER_403: 403; }; export type UnauthorizedErrorHttpStatusCodeEnum = (typeof UnauthorizedErrorHttpStatusCodeEnum)[keyof typeof UnauthorizedErrorHttpStatusCodeEnum]; /** * * @export * @interface UnexpectedError */ export interface UnexpectedError { /** * * @type {string} * @memberof UnexpectedError */ name: UnexpectedErrorNameEnum; /** * * @type {string} * @memberof UnexpectedError */ message: UnexpectedErrorMessageEnum; /** * * @type {number} * @memberof UnexpectedError */ httpStatusCode: UnexpectedErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof UnexpectedError */ traceId: string; /** * * @type {Array} * @memberof UnexpectedError */ details?: Array; } export declare const UnexpectedErrorNameEnum: { readonly UnexpectedError: "UnexpectedError"; }; export type UnexpectedErrorNameEnum = (typeof UnexpectedErrorNameEnum)[keyof typeof UnexpectedErrorNameEnum]; export declare const UnexpectedErrorMessageEnum: { readonly UnexpectedErrorOccurred: "Unexpected Error Occurred."; }; export type UnexpectedErrorMessageEnum = (typeof UnexpectedErrorMessageEnum)[keyof typeof UnexpectedErrorMessageEnum]; export declare const UnexpectedErrorHttpStatusCodeEnum: { readonly NUMBER_500: 500; }; export type UnexpectedErrorHttpStatusCodeEnum = (typeof UnexpectedErrorHttpStatusCodeEnum)[keyof typeof UnexpectedErrorHttpStatusCodeEnum]; /** * * @export * @interface UnexpectedErrorDetailsInner */ export interface UnexpectedErrorDetailsInner { /** * * @type {string} * @memberof UnexpectedErrorDetailsInner */ issue: string; /** * * @type {string} * @memberof UnexpectedErrorDetailsInner */ field?: string; /** * * @type {string} * @memberof UnexpectedErrorDetailsInner */ value?: string; /** * * @type {string} * @memberof UnexpectedErrorDetailsInner */ location?: string; } /** * * @export * @interface UpdateAccessInput */ export interface UpdateAccessInput { /** * List of rights to update access * @type {Array} * @memberof UpdateAccessInput */ rights: Array; } /** * * @export * @interface UpdateAccessOutput */ export interface UpdateAccessOutput { /** * * @type {boolean} * @memberof UpdateAccessOutput */ success: boolean; } /** * * @export * @interface UpdateProjectInput */ export interface UpdateProjectInput { /** * * @type {string} * @memberof UpdateProjectInput */ name?: string; /** * * @type {string} * @memberof UpdateProjectInput */ description?: string; /** * flag indicates if identity verification is enabled for project * @type {boolean} * @memberof UpdateProjectInput */ identityVerificationEnabled?: boolean; } /** * * @export * @interface UpdateTokenInput */ export interface UpdateTokenInput { /** * * @type {string} * @memberof UpdateTokenInput */ name?: string; /** * * @type {UpdateTokenPrivateKeyAuthenticationMethodDto} * @memberof UpdateTokenInput */ authenticationMethod?: UpdateTokenPrivateKeyAuthenticationMethodDto; } /** * Private Key JWT Authentication of Client with `private_key_jwt` oAuth Method * @export * @interface UpdateTokenPrivateKeyAuthenticationMethodDto */ export interface UpdateTokenPrivateKeyAuthenticationMethodDto { /** * * @type {string} * @memberof UpdateTokenPrivateKeyAuthenticationMethodDto */ type?: UpdateTokenPrivateKeyAuthenticationMethodDtoTypeEnum; /** * * @type {string} * @memberof UpdateTokenPrivateKeyAuthenticationMethodDto */ signingAlgorithm?: UpdateTokenPrivateKeyAuthenticationMethodDtoSigningAlgorithmEnum; /** * * @type {TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfo} * @memberof UpdateTokenPrivateKeyAuthenticationMethodDto */ publicKeyInfo?: TokenPrivateKeyAuthenticationMethodDtoPublicKeyInfo; } export declare const UpdateTokenPrivateKeyAuthenticationMethodDtoTypeEnum: { readonly PrivateKey: "PRIVATE_KEY"; }; export type UpdateTokenPrivateKeyAuthenticationMethodDtoTypeEnum = (typeof UpdateTokenPrivateKeyAuthenticationMethodDtoTypeEnum)[keyof typeof UpdateTokenPrivateKeyAuthenticationMethodDtoTypeEnum]; export declare const UpdateTokenPrivateKeyAuthenticationMethodDtoSigningAlgorithmEnum: { readonly Rs256: "RS256"; readonly Rs512: "RS512"; readonly Es256: "ES256"; readonly Es512: "ES512"; }; export type UpdateTokenPrivateKeyAuthenticationMethodDtoSigningAlgorithmEnum = (typeof UpdateTokenPrivateKeyAuthenticationMethodDtoSigningAlgorithmEnum)[keyof typeof UpdateTokenPrivateKeyAuthenticationMethodDtoSigningAlgorithmEnum]; /** * * @export * @interface UserDto */ export interface UserDto { /** * * @type {string} * @memberof UserDto */ principalId: string; } /** * * @export * @interface UserList */ export interface UserList { /** * * @type {Array} * @memberof UserList */ records: Array; /** * * @type {string} * @memberof UserList */ lastEvaluatedKey?: string; } /** * * @export * @interface WhoamiDto */ export interface WhoamiDto { /** * * @type {string} * @memberof WhoamiDto */ principalId: string; /** * * @type {string} * @memberof WhoamiDto */ principalType: string; } /** * AuthzApi - axios parameter creator * @export */ export declare const AuthzApiAxiosParamCreator: (configuration?: Configuration) => { /** * deleteAccessVfs * @summary delete access of granteeDid * @param {string} granteeDid * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAccessVfs: (granteeDid: string, options?: RawAxiosRequestConfig) => Promise; /** * Grants access rights to a subject for the virtual file system * @summary Grant access to the virtual file system * @param {GrantAccessInput} grantAccessInput Grant access to virtual file system * @param {*} [options] Override http request option. * @throws {RequiredError} */ grantAccessVfs: (grantAccessInput: GrantAccessInput, options?: RawAxiosRequestConfig) => Promise; /** * updateAccessVfs * @summary Update access of granteeDid * @param {string} granteeDid * @param {UpdateAccessInput} updateAccessInput update access to virtual file system * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAccessVfs: (granteeDid: string, updateAccessInput: UpdateAccessInput, options?: RawAxiosRequestConfig) => Promise; }; /** * AuthzApi - functional programming interface * @export */ export declare const AuthzApiFp: (configuration?: Configuration) => { /** * deleteAccessVfs * @summary delete access of granteeDid * @param {string} granteeDid * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAccessVfs(granteeDid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Grants access rights to a subject for the virtual file system * @summary Grant access to the virtual file system * @param {GrantAccessInput} grantAccessInput Grant access to virtual file system * @param {*} [options] Override http request option. * @throws {RequiredError} */ grantAccessVfs(grantAccessInput: GrantAccessInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * updateAccessVfs * @summary Update access of granteeDid * @param {string} granteeDid * @param {UpdateAccessInput} updateAccessInput update access to virtual file system * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAccessVfs(granteeDid: string, updateAccessInput: UpdateAccessInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AuthzApi - factory interface * @export */ export declare const AuthzApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * deleteAccessVfs * @summary delete access of granteeDid * @param {string} granteeDid * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAccessVfs(granteeDid: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Grants access rights to a subject for the virtual file system * @summary Grant access to the virtual file system * @param {GrantAccessInput} grantAccessInput Grant access to virtual file system * @param {*} [options] Override http request option. * @throws {RequiredError} */ grantAccessVfs(grantAccessInput: GrantAccessInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * updateAccessVfs * @summary Update access of granteeDid * @param {string} granteeDid * @param {UpdateAccessInput} updateAccessInput update access to virtual file system * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAccessVfs(granteeDid: string, updateAccessInput: UpdateAccessInput, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * AuthzApi - object-oriented interface * @export * @class AuthzApi * @extends {BaseAPI} */ export declare class AuthzApi extends BaseAPI { /** * deleteAccessVfs * @summary delete access of granteeDid * @param {string} granteeDid * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthzApi */ deleteAccessVfs(granteeDid: string, options?: RawAxiosRequestConfig): Promise>; /** * Grants access rights to a subject for the virtual file system * @summary Grant access to the virtual file system * @param {GrantAccessInput} grantAccessInput Grant access to virtual file system * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthzApi */ grantAccessVfs(grantAccessInput: GrantAccessInput, options?: RawAxiosRequestConfig): Promise>; /** * updateAccessVfs * @summary Update access of granteeDid * @param {string} granteeDid * @param {UpdateAccessInput} updateAccessInput update access to virtual file system * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthzApi */ updateAccessVfs(granteeDid: string, updateAccessInput: UpdateAccessInput, options?: RawAxiosRequestConfig): Promise>; } /** * ConsumerAuthApi - axios parameter creator * @export */ export declare const ConsumerAuthApiAxiosParamCreator: (configuration?: Configuration) => { /** * Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ The Ory SDK is not yet able to this endpoint properly. * @summary The Consumer OAuth 2.0 Token Endpoint * @param {ConsumerAuthTokenEndpointInput} consumerAuthTokenEndpointInput ConsumerAuthTokenEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ consumerAuthTokenEndpoint: (consumerAuthTokenEndpointInput: ConsumerAuthTokenEndpointInput, options?: RawAxiosRequestConfig) => Promise; }; /** * ConsumerAuthApi - functional programming interface * @export */ export declare const ConsumerAuthApiFp: (configuration?: Configuration) => { /** * Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ The Ory SDK is not yet able to this endpoint properly. * @summary The Consumer OAuth 2.0 Token Endpoint * @param {ConsumerAuthTokenEndpointInput} consumerAuthTokenEndpointInput ConsumerAuthTokenEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ consumerAuthTokenEndpoint(consumerAuthTokenEndpointInput: ConsumerAuthTokenEndpointInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ConsumerAuthApi - factory interface * @export */ export declare const ConsumerAuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ The Ory SDK is not yet able to this endpoint properly. * @summary The Consumer OAuth 2.0 Token Endpoint * @param {ConsumerAuthTokenEndpointInput} consumerAuthTokenEndpointInput ConsumerAuthTokenEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ consumerAuthTokenEndpoint(consumerAuthTokenEndpointInput: ConsumerAuthTokenEndpointInput, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * ConsumerAuthApi - object-oriented interface * @export * @class ConsumerAuthApi * @extends {BaseAPI} */ export declare class ConsumerAuthApi extends BaseAPI { /** * Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ The Ory SDK is not yet able to this endpoint properly. * @summary The Consumer OAuth 2.0 Token Endpoint * @param {ConsumerAuthTokenEndpointInput} consumerAuthTokenEndpointInput ConsumerAuthTokenEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConsumerAuthApi */ consumerAuthTokenEndpoint(consumerAuthTokenEndpointInput: ConsumerAuthTokenEndpointInput, options?: RawAxiosRequestConfig): Promise>; } /** * DefaultApi - axios parameter creator * @export */ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyDelete: (proxy: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyGet: (proxy: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyPatch: (proxy: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyPost: (proxy: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyPut: (proxy: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyDelete: (proxy: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyGet: (proxy: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyPatch: (proxy: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyPost: (proxy: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyPut: (proxy: string, options?: RawAxiosRequestConfig) => Promise; }; /** * DefaultApi - functional programming interface * @export */ export declare const DefaultApiFp: (configuration?: Configuration) => { /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyDelete(proxy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyGet(proxy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyPatch(proxy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyPost(proxy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyPut(proxy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyDelete(proxy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyGet(proxy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyPatch(proxy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyPost(proxy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyPut(proxy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * DefaultApi - factory interface * @export */ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyDelete(proxy: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyGet(proxy: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyPatch(proxy: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyPost(proxy: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1AuthProxyPut(proxy: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyDelete(proxy: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyGet(proxy: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyPatch(proxy: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyPost(proxy: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} */ v1IdpProxyPut(proxy: string, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * DefaultApi - object-oriented interface * @export * @class DefaultApi * @extends {BaseAPI} */ export declare class DefaultApi extends BaseAPI { /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ v1AuthProxyDelete(proxy: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ v1AuthProxyGet(proxy: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ v1AuthProxyPatch(proxy: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ v1AuthProxyPost(proxy: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ v1AuthProxyPut(proxy: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ v1IdpProxyDelete(proxy: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ v1IdpProxyGet(proxy: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ v1IdpProxyPatch(proxy: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ v1IdpProxyPost(proxy: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} proxy * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ v1IdpProxyPut(proxy: string, options?: RawAxiosRequestConfig): Promise>; } /** * PoliciesApi - axios parameter creator * @export */ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {string} principalId * @param {GetPoliciesPrincipalTypeEnum} principalType * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPolicies: (principalId: string, principalType: GetPoliciesPrincipalTypeEnum, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} principalId * @param {UpdatePoliciesPrincipalTypeEnum} principalType * @param {PolicyDto} policyDto UpdatePolicies * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePolicies: (principalId: string, principalType: UpdatePoliciesPrincipalTypeEnum, policyDto: PolicyDto, options?: RawAxiosRequestConfig) => Promise; }; /** * PoliciesApi - functional programming interface * @export */ export declare const PoliciesApiFp: (configuration?: Configuration) => { /** * * @param {string} principalId * @param {GetPoliciesPrincipalTypeEnum} principalType * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPolicies(principalId: string, principalType: GetPoliciesPrincipalTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} principalId * @param {UpdatePoliciesPrincipalTypeEnum} principalType * @param {PolicyDto} policyDto UpdatePolicies * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePolicies(principalId: string, principalType: UpdatePoliciesPrincipalTypeEnum, policyDto: PolicyDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * PoliciesApi - factory interface * @export */ export declare const PoliciesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {string} principalId * @param {GetPoliciesPrincipalTypeEnum} principalType * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPolicies(principalId: string, principalType: GetPoliciesPrincipalTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} principalId * @param {UpdatePoliciesPrincipalTypeEnum} principalType * @param {PolicyDto} policyDto UpdatePolicies * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePolicies(principalId: string, principalType: UpdatePoliciesPrincipalTypeEnum, policyDto: PolicyDto, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * PoliciesApi - object-oriented interface * @export * @class PoliciesApi * @extends {BaseAPI} */ export declare class PoliciesApi extends BaseAPI { /** * * @param {string} principalId * @param {GetPoliciesPrincipalTypeEnum} principalType * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoliciesApi */ getPolicies(principalId: string, principalType: GetPoliciesPrincipalTypeEnum, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} principalId * @param {UpdatePoliciesPrincipalTypeEnum} principalType * @param {PolicyDto} policyDto UpdatePolicies * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoliciesApi */ updatePolicies(principalId: string, principalType: UpdatePoliciesPrincipalTypeEnum, policyDto: PolicyDto, options?: RawAxiosRequestConfig): Promise>; } /** * @export */ export declare const GetPoliciesPrincipalTypeEnum: { readonly User: "user"; readonly Token: "token"; }; export type GetPoliciesPrincipalTypeEnum = (typeof GetPoliciesPrincipalTypeEnum)[keyof typeof GetPoliciesPrincipalTypeEnum]; /** * @export */ export declare const UpdatePoliciesPrincipalTypeEnum: { readonly User: "user"; readonly Token: "token"; }; export type UpdatePoliciesPrincipalTypeEnum = (typeof UpdatePoliciesPrincipalTypeEnum)[keyof typeof UpdatePoliciesPrincipalTypeEnum]; /** * ProjectsApi - axios parameter creator * @export */ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {AddUserToProjectInput} addUserToProjectInput AddPrincipalToProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ addPrincipalToProject: (addUserToProjectInput: AddUserToProjectInput, options?: RawAxiosRequestConfig) => Promise; /** * * @param {CreateProjectInput} createProjectInput CreateProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ createProject: (createProjectInput: CreateProjectInput, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} principalId id of principal * @param {DeletePrincipalFromProjectPrincipalTypeEnum} principalType type of principal * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePrincipalFromProject: (principalId: string, principalType: DeletePrincipalFromProjectPrincipalTypeEnum, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} projectId projectId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProject: (projectId: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listPrincipalsOfProject: (limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listProject: (limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} projectId projectId * @param {UpdateProjectInput} updateProjectInput UpdateProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateProject: (projectId: string, updateProjectInput: UpdateProjectInput, options?: RawAxiosRequestConfig) => Promise; }; /** * ProjectsApi - functional programming interface * @export */ export declare const ProjectsApiFp: (configuration?: Configuration) => { /** * * @param {AddUserToProjectInput} addUserToProjectInput AddPrincipalToProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ addPrincipalToProject(addUserToProjectInput: AddUserToProjectInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {CreateProjectInput} createProjectInput CreateProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ createProject(createProjectInput: CreateProjectInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} principalId id of principal * @param {DeletePrincipalFromProjectPrincipalTypeEnum} principalType type of principal * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePrincipalFromProject(principalId: string, principalType: DeletePrincipalFromProjectPrincipalTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} projectId projectId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProject(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listPrincipalsOfProject(limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listProject(limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} projectId projectId * @param {UpdateProjectInput} updateProjectInput UpdateProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateProject(projectId: string, updateProjectInput: UpdateProjectInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ProjectsApi - factory interface * @export */ export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {AddUserToProjectInput} addUserToProjectInput AddPrincipalToProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ addPrincipalToProject(addUserToProjectInput: AddUserToProjectInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {CreateProjectInput} createProjectInput CreateProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ createProject(createProjectInput: CreateProjectInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} principalId id of principal * @param {DeletePrincipalFromProjectPrincipalTypeEnum} principalType type of principal * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePrincipalFromProject(principalId: string, principalType: DeletePrincipalFromProjectPrincipalTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} projectId projectId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProject(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listPrincipalsOfProject(limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listProject(limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} projectId projectId * @param {UpdateProjectInput} updateProjectInput UpdateProject * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateProject(projectId: string, updateProjectInput: UpdateProjectInput, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * ProjectsApi - object-oriented interface * @export * @class ProjectsApi * @extends {BaseAPI} */ export declare class ProjectsApi extends BaseAPI { /** * * @param {AddUserToProjectInput} addUserToProjectInput AddPrincipalToProject * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProjectsApi */ addPrincipalToProject(addUserToProjectInput: AddUserToProjectInput, options?: RawAxiosRequestConfig): Promise>; /** * * @param {CreateProjectInput} createProjectInput CreateProject * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProjectsApi */ createProject(createProjectInput: CreateProjectInput, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} principalId id of principal * @param {DeletePrincipalFromProjectPrincipalTypeEnum} principalType type of principal * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProjectsApi */ deletePrincipalFromProject(principalId: string, principalType: DeletePrincipalFromProjectPrincipalTypeEnum, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} projectId projectId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProjectsApi */ getProject(projectId: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProjectsApi */ listPrincipalsOfProject(limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProjectsApi */ listProject(limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} projectId projectId * @param {UpdateProjectInput} updateProjectInput UpdateProject * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProjectsApi */ updateProject(projectId: string, updateProjectInput: UpdateProjectInput, options?: RawAxiosRequestConfig): Promise>; } /** * @export */ export declare const DeletePrincipalFromProjectPrincipalTypeEnum: { readonly User: "user"; readonly Token: "token"; }; export type DeletePrincipalFromProjectPrincipalTypeEnum = (typeof DeletePrincipalFromProjectPrincipalTypeEnum)[keyof typeof DeletePrincipalFromProjectPrincipalTypeEnum]; /** * StsApi - axios parameter creator * @export */ export declare const StsApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {CreateProjectScopedTokenInput} createProjectScopedTokenInput CreateProjectScopedToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ createProjectScopedToken: (createProjectScopedTokenInput: CreateProjectScopedTokenInput, options?: RawAxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ whoami: (options?: RawAxiosRequestConfig) => Promise; }; /** * StsApi - functional programming interface * @export */ export declare const StsApiFp: (configuration?: Configuration) => { /** * * @param {CreateProjectScopedTokenInput} createProjectScopedTokenInput CreateProjectScopedToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ createProjectScopedToken(createProjectScopedTokenInput: CreateProjectScopedTokenInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ whoami(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * StsApi - factory interface * @export */ export declare const StsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {CreateProjectScopedTokenInput} createProjectScopedTokenInput CreateProjectScopedToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ createProjectScopedToken(createProjectScopedTokenInput: CreateProjectScopedTokenInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ whoami(options?: RawAxiosRequestConfig): AxiosPromise; }; /** * StsApi - object-oriented interface * @export * @class StsApi * @extends {BaseAPI} */ export declare class StsApi extends BaseAPI { /** * * @param {CreateProjectScopedTokenInput} createProjectScopedTokenInput CreateProjectScopedToken * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StsApi */ createProjectScopedToken(createProjectScopedTokenInput: CreateProjectScopedTokenInput, options?: RawAxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof StsApi */ whoami(options?: RawAxiosRequestConfig): Promise>; } /** * TokensApi - axios parameter creator * @export */ export declare const TokensApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {CreateTokenInput} createTokenInput CreateToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ createToken: (createTokenInput: CreateTokenInput, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} tokenId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteToken: (tokenId: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} tokenId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getToken: (tokenId: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} tokenId * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listProjectsOfToken: (tokenId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listToken: (limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig) => Promise; /** * * @param {string} tokenId * @param {UpdateTokenInput} updateTokenInput UpdateToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateToken: (tokenId: string, updateTokenInput: UpdateTokenInput, options?: RawAxiosRequestConfig) => Promise; }; /** * TokensApi - functional programming interface * @export */ export declare const TokensApiFp: (configuration?: Configuration) => { /** * * @param {CreateTokenInput} createTokenInput CreateToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ createToken(createTokenInput: CreateTokenInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} tokenId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteToken(tokenId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} tokenId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getToken(tokenId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} tokenId * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listProjectsOfToken(tokenId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listToken(limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} tokenId * @param {UpdateTokenInput} updateTokenInput UpdateToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateToken(tokenId: string, updateTokenInput: UpdateTokenInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TokensApi - factory interface * @export */ export declare const TokensApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {CreateTokenInput} createTokenInput CreateToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ createToken(createTokenInput: CreateTokenInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} tokenId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteToken(tokenId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} tokenId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getToken(tokenId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} tokenId * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listProjectsOfToken(tokenId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listToken(limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {string} tokenId * @param {UpdateTokenInput} updateTokenInput UpdateToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateToken(tokenId: string, updateTokenInput: UpdateTokenInput, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * TokensApi - object-oriented interface * @export * @class TokensApi * @extends {BaseAPI} */ export declare class TokensApi extends BaseAPI { /** * * @param {CreateTokenInput} createTokenInput CreateToken * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TokensApi */ createToken(createTokenInput: CreateTokenInput, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} tokenId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TokensApi */ deleteToken(tokenId: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} tokenId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TokensApi */ getToken(tokenId: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} tokenId * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TokensApi */ listProjectsOfToken(tokenId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {number} [limit] Maximum number of records to fetch in a list * @param {string} [exclusiveStartKey] The base64url encoded key of the first item that this operation will evaluate (it is not returned). Use the value that was returned in the previous operation. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TokensApi */ listToken(limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise>; /** * * @param {string} tokenId * @param {UpdateTokenInput} updateTokenInput UpdateToken * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TokensApi */ updateToken(tokenId: string, updateTokenInput: UpdateTokenInput, options?: RawAxiosRequestConfig): Promise>; } /** * WellKnownApi - axios parameter creator * @export */ export declare const WellKnownApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWellKnownDid: (options?: RawAxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWellKnownJwks: (options?: RawAxiosRequestConfig) => Promise; }; /** * WellKnownApi - functional programming interface * @export */ export declare const WellKnownApiFp: (configuration?: Configuration) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWellKnownDid(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWellKnownJwks(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * WellKnownApi - factory interface * @export */ export declare const WellKnownApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWellKnownDid(options?: RawAxiosRequestConfig): AxiosPromise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWellKnownJwks(options?: RawAxiosRequestConfig): AxiosPromise; }; /** * WellKnownApi - object-oriented interface * @export * @class WellKnownApi * @extends {BaseAPI} */ export declare class WellKnownApi extends BaseAPI { /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WellKnownApi */ getWellKnownDid(options?: RawAxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WellKnownApi */ getWellKnownJwks(options?: RawAxiosRequestConfig): Promise>; }