/** * IotaService * 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 AlreadyExistsError */ export interface AlreadyExistsError { /** * * @type {string} * @memberof AlreadyExistsError */ name: AlreadyExistsErrorNameEnum; /** * * @type {string} * @memberof AlreadyExistsError */ message: AlreadyExistsErrorMessageEnum; /** * * @type {number} * @memberof AlreadyExistsError */ httpStatusCode: AlreadyExistsErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof AlreadyExistsError */ traceId: string; /** * * @type {Array} * @memberof AlreadyExistsError */ details?: Array; } export declare const AlreadyExistsErrorNameEnum: { readonly AlreadyExistsError: "AlreadyExistsError"; }; export type AlreadyExistsErrorNameEnum = (typeof AlreadyExistsErrorNameEnum)[keyof typeof AlreadyExistsErrorNameEnum]; export declare const AlreadyExistsErrorMessageEnum: { readonly AlreadyExistsParam: "Already exists: ${param}."; }; export type AlreadyExistsErrorMessageEnum = (typeof AlreadyExistsErrorMessageEnum)[keyof typeof AlreadyExistsErrorMessageEnum]; export declare const AlreadyExistsErrorHttpStatusCodeEnum: { readonly NUMBER_409: 409; }; export type AlreadyExistsErrorHttpStatusCodeEnum = (typeof AlreadyExistsErrorHttpStatusCodeEnum)[keyof typeof AlreadyExistsErrorHttpStatusCodeEnum]; /** * * @export * @interface AwsExchangeCredentials */ export interface AwsExchangeCredentials { /** * A valid JSON Web Token (JWT) that secures the WebSocket connection. The JWT is signed with the key pair\'s private key used to create the Personal Access Token (PAT). * @type {string} * @memberof AwsExchangeCredentials */ assertion: string; } /** * * @export * @interface AwsExchangeCredentialsOK */ export interface AwsExchangeCredentialsOK { /** * * @type {string} * @memberof AwsExchangeCredentialsOK */ connectionClientId: string; /** * * @type {AwsExchangeCredentialsOKCredentials} * @memberof AwsExchangeCredentialsOK */ credentials: AwsExchangeCredentialsOKCredentials; } /** * * @export * @interface AwsExchangeCredentialsOKCredentials */ export interface AwsExchangeCredentialsOKCredentials { /** * * @type {string} * @memberof AwsExchangeCredentialsOKCredentials */ identityId: string; /** * * @type {string} * @memberof AwsExchangeCredentialsOKCredentials */ token: string; } /** * * @export * @interface AwsExchangeCredentialsProjectToken */ export interface AwsExchangeCredentialsProjectToken { /** * ID of the session generated by a client. * @type {string} * @memberof AwsExchangeCredentialsProjectToken */ sessionId: string; /** * ID of the Affinidi Iota Framework configuration. * @type {string} * @memberof AwsExchangeCredentialsProjectToken */ configurationId: string; /** * The Decentralized Identifier (DID) of the user. * @type {string} * @memberof AwsExchangeCredentialsProjectToken */ did: string; } /** * * @export * @interface CallbackInput */ export interface CallbackInput { /** * A randomly generated string that follows a valid UUID (version 1-5) format to validate the session. * @type {string} * @memberof CallbackInput */ state: string; /** * A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard. * @type {string} * @memberof CallbackInput */ presentation_submission?: string; /** * A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard. * @type {string} * @memberof CallbackInput */ vp_token?: string; /** * Used only for internal system flows. This field is not applicable for external client integrations and will not produce valid results when used outside of internal contexts. * @type {string} * @memberof CallbackInput */ response_code?: string; /** * A short string indicating the error code reported by the service. It follows the OAuth 2.0 error code format (e.g., invalid_request, access_denied). The default is access_denied. * @type {string} * @memberof CallbackInput */ error?: string; /** * A human-readable description that provides detailed information about the error. * @type {string} * @memberof CallbackInput */ error_description?: string; /** * It specifies whether the data sharing flow triggered an onboarding process to the Affinidi Vault [New User]. * @type {boolean} * @memberof CallbackInput */ onboarded?: boolean; } /** * * @export * @interface CallbackResponseOK */ export interface CallbackResponseOK { /** * The URL to which Affinidi Vault will redirect the user. * @type {string} * @memberof CallbackResponseOK */ redirect_uri?: string; /** * A unique identifier to fetch the callback response data. Send this value together with the transactionId to successfully fetch the data. * @type {string} * @memberof CallbackResponseOK */ response_code?: string; /** * A message to the Affinidi Vault indicating that the update was successful. * @type {string} * @memberof CallbackResponseOK */ message: string; } /** * * @export * @interface ConsentDto */ export interface ConsentDto { /** * The ID of the project. * @type {string} * @memberof ConsentDto */ projectId: string; /** * Unique identifier for the record. * @type {string} * @memberof ConsentDto */ id: string; /** * Unique identifier for the user. * @type {string} * @memberof ConsentDto */ userId: string; /** * Type of the VC shared by the user. It creates a consent record for each VC type shared except for the base type VerifiableCredential. * @type {string} * @memberof ConsentDto */ vcType: string; /** * Status of the consent. * @type {string} * @memberof ConsentDto */ status: ConsentDtoStatusEnum; /** * * @type {string} * @memberof ConsentDto */ modifiedAt: string; /** * * @type {string} * @memberof ConsentDto */ modifiedBy: string; /** * * @type {string} * @memberof ConsentDto */ createdAt: string; /** * * @type {string} * @memberof ConsentDto */ createdBy: string; } export declare const ConsentDtoStatusEnum: { readonly Given: "GIVEN"; }; export type ConsentDtoStatusEnum = (typeof ConsentDtoStatusEnum)[keyof typeof ConsentDtoStatusEnum]; /** * * @export * @interface CreateDcqlQueryInput */ export interface CreateDcqlQueryInput { /** * The name of the DCQL query to quickly identify the query. * @type {string} * @memberof CreateDcqlQueryInput */ name: string; /** * The DCQL query describing the data requirement that must be satisfied by the user. The value is in a JSON stringify format. * @type {string} * @memberof CreateDcqlQueryInput */ dcqlQuery: string; /** * An optional description of what the query is used for. * @type {string} * @memberof CreateDcqlQueryInput */ description?: string; } /** * * @export * @interface CreateIotaConfigurationInput */ export interface CreateIotaConfigurationInput { /** * The name of the configuration to quickly identify the resource. * @type {string} * @memberof CreateIotaConfigurationInput */ name: string; /** * An optional description of what the configuration is used for. * @type {string} * @memberof CreateIotaConfigurationInput */ description?: string; /** * The unique resource identifier of the Wallet used to sign the request token. * @type {string} * @memberof CreateIotaConfigurationInput */ walletAri: string; /** * The webhook URL is used for callback when the data is ready. * @type {string} * @memberof CreateIotaConfigurationInput */ iotaResponseWebhookURL?: string; /** * Cryptographically verifies the data shared by the user when enabled. * @type {boolean} * @memberof CreateIotaConfigurationInput */ enableVerification: boolean; /** * Records the user\'s consent when they share their data, including the type of data shared when enabled. * @type {boolean} * @memberof CreateIotaConfigurationInput */ enableConsentAuditLog: boolean; /** * This is the lifetime of the signed request token during the data-sharing flow. * @type {number} * @memberof CreateIotaConfigurationInput */ tokenMaxAge?: number; /** * * @type {IotaConfigurationDtoClientMetadata} * @memberof CreateIotaConfigurationInput */ clientMetadata: IotaConfigurationDtoClientMetadata; /** * Determines whether to handle the data-sharing request using the WebSocket, Redirect or Didcomm messaging flow. * @type {string} * @memberof CreateIotaConfigurationInput */ mode?: CreateIotaConfigurationInputModeEnum; /** * List of allowed URLs to redirect users, including the response from the request. This is required if the selected data-sharing mode is Redirect. * @type {Array} * @memberof CreateIotaConfigurationInput */ redirectUris?: Array; /** * Enables identity verification from user with a 3rd-party provider when a verified identity document is not found. * @type {boolean} * @memberof CreateIotaConfigurationInput */ enableIdvProviders?: boolean; } export declare const CreateIotaConfigurationInputModeEnum: { readonly Redirect: "redirect"; readonly Websocket: "websocket"; readonly Didcomm: "didcomm"; }; export type CreateIotaConfigurationInputModeEnum = (typeof CreateIotaConfigurationInputModeEnum)[keyof typeof CreateIotaConfigurationInputModeEnum]; /** * * @export * @interface CreatePexQueryInput */ export interface CreatePexQueryInput { /** * The name of the presentation definition to quickly identify the query. * @type {string} * @memberof CreatePexQueryInput */ name: string; /** * The presentation definition describing the data requirement that must be satisfied by the user. The value is in a JSON stringify format. * @type {string} * @memberof CreatePexQueryInput */ vpDefinition: string; /** * An optional description of what the query is used for. * @type {string} * @memberof CreatePexQueryInput */ description?: string; } /** * * @export * @interface DcqlQueryDto */ export interface DcqlQueryDto { /** * The unique resource identifier of the query. * @type {string} * @memberof DcqlQueryDto */ ari: string; /** * The ID of the query. * @type {string} * @memberof DcqlQueryDto */ queryId: string; /** * The name of the DCQL query to quickly identify the query. * @type {string} * @memberof DcqlQueryDto */ name: string; /** * An optional description of what the query is used for. * @type {string} * @memberof DcqlQueryDto */ description: string; /** * The unique resource identifier of the related configuration where the query is defined. * @type {string} * @memberof DcqlQueryDto */ configurationAri: string; /** * The DCQL query describing the data requirement that must be satisfied by the user. The value is in a JSON stringify format. * @type {string} * @memberof DcqlQueryDto */ dcqlQuery: string; } /** * * @export * @interface DeletePexQueriesInput */ export interface DeletePexQueriesInput { /** * * @type {Array} * @memberof DeletePexQueriesInput */ queryIds: Array; } /** * * @export * @interface FetchIOTAVPResponseInput */ export interface FetchIOTAVPResponseInput { /** * A unique, randomly generated identifier that correlates the request and response in the data-sharing request flow. * @type {string} * @memberof FetchIOTAVPResponseInput */ correlationId: string; /** * A unique, randomly generated identifier data-sharing request flow is initiated. This value is used with the response code to fetch the callback response data. * @type {string} * @memberof FetchIOTAVPResponseInput */ transactionId: string; /** * A unique identifier to fetch the callback response data. Send this value together with the transactionId to successfully fetch the data. * @type {string} * @memberof FetchIOTAVPResponseInput */ responseCode: string; /** * ID of the Affinidi Iota Framework configuration. * @type {string} * @memberof FetchIOTAVPResponseInput */ configurationId: string; } /** * * @export * @interface FetchIOTAVPResponseOK */ export interface FetchIOTAVPResponseOK { /** * A unique, randomly generated identifier that correlates the request and response in the data-sharing request flow. * @type {string} * @memberof FetchIOTAVPResponseOK */ correlationId?: string; /** * A JSON string format that describes the link between the Verifiable Presentation and Presentation Definition for the verifier. The presentation submission follows the OID4VP standard. * @type {string} * @memberof FetchIOTAVPResponseOK */ presentation_submission?: string; /** * A JSON string format containing the data the user consented to share in a Verifiable Presentation format. The VP Token follows the OID4VP standard. * @type {string} * @memberof FetchIOTAVPResponseOK */ vp_token?: string; } /** * * @export * @interface GetIotaConfigurationMetaDataOK */ export interface GetIotaConfigurationMetaDataOK { /** * The name displayed on the consent page indicates who is requesting data from the user. It can be the application or website\'s name. * @type {string} * @memberof GetIotaConfigurationMetaDataOK */ name: string; /** * The URL of the requester displayed on the consent page indicates the request\'s origin. * @type {string} * @memberof GetIotaConfigurationMetaDataOK */ origin: string; /** * The logo of the requester displayed on the consent page, allowing users to easily recognise who requests the data. * @type {string} * @memberof GetIotaConfigurationMetaDataOK */ logo: string; } /** * * @export * @interface InitiateDataSharingRequestInput */ export interface InitiateDataSharingRequestInput { /** * The ID of the query. * @type {string} * @memberof InitiateDataSharingRequestInput */ queryId: string; /** * A unique, randomly generated identifier that correlates the request and response in the data-sharing request flow. * @type {string} * @memberof InitiateDataSharingRequestInput */ correlationId: string; /** * This is the lifetime of the signed request token during the data-sharing flow. * @type {number} * @memberof InitiateDataSharingRequestInput */ tokenMaxAge?: number; /** * A randomly generated value that is added in the request and response to prevent replay attacks. * @type {string} * @memberof InitiateDataSharingRequestInput */ nonce: string; /** * List of allowed URLs to redirect users, including the response from the request. This is required if the selected data-sharing mode is Redirect. * @type {string} * @memberof InitiateDataSharingRequestInput */ redirectUri: string; /** * ID of the Affinidi Iota Framework configuration. * @type {string} * @memberof InitiateDataSharingRequestInput */ configurationId: string; /** * User DID to send the initiating request to. Only required if mode is didcomm * @type {string} * @memberof InitiateDataSharingRequestInput */ userDid?: string; /** * Determines whether to handle the data-sharing request using the WebSocket, Redirect or Didcomm messaging flow. * @type {string} * @memberof InitiateDataSharingRequestInput */ mode: InitiateDataSharingRequestInputModeEnum; } export declare const InitiateDataSharingRequestInputModeEnum: { readonly Redirect: "redirect"; readonly Websocket: "websocket"; readonly Didcomm: "didcomm"; }; export type InitiateDataSharingRequestInputModeEnum = (typeof InitiateDataSharingRequestInputModeEnum)[keyof typeof InitiateDataSharingRequestInputModeEnum]; /** * * @export * @interface InitiateDataSharingRequestOK */ export interface InitiateDataSharingRequestOK { /** * * @type {InitiateDataSharingRequestOKData} * @memberof InitiateDataSharingRequestOK */ data?: InitiateDataSharingRequestOKData; } /** * * @export * @interface InitiateDataSharingRequestOKData */ export interface InitiateDataSharingRequestOKData { /** * * @type {string} * @memberof InitiateDataSharingRequestOKData */ jwt: string; /** * * @type {string} * @memberof InitiateDataSharingRequestOKData */ correlationId: string; /** * * @type {string} * @memberof InitiateDataSharingRequestOKData */ transactionId: string; } /** * * @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 InvalidParameterErrorDetailsInner */ export interface InvalidParameterErrorDetailsInner { /** * * @type {string} * @memberof InvalidParameterErrorDetailsInner */ issue: string; /** * * @type {string} * @memberof InvalidParameterErrorDetailsInner */ field?: string; /** * * @type {string} * @memberof InvalidParameterErrorDetailsInner */ value?: string; /** * * @type {string} * @memberof InvalidParameterErrorDetailsInner */ location?: string; } /** * * @export * @interface IotaConfigurationDto */ export interface IotaConfigurationDto { /** * This is a unique resource identifier of the Affinidi Iota Framework configuration. * @type {string} * @memberof IotaConfigurationDto */ ari: string; /** * ID of the Affinidi Iota Framework configuration. * @type {string} * @memberof IotaConfigurationDto */ configurationId: string; /** * The name of the configuration to quickly identify the resource. * @type {string} * @memberof IotaConfigurationDto */ name: string; /** * The ID of the project. * @type {string} * @memberof IotaConfigurationDto */ projectId: string; /** * The unique resource identifier of the Wallet used to sign the request token. * @type {string} * @memberof IotaConfigurationDto */ walletAri: string; /** * This is the lifetime of the signed request token during the data-sharing flow. * @type {number} * @memberof IotaConfigurationDto */ tokenMaxAge: number; /** * The webhook URL is used for callback when the data is ready. * @type {string} * @memberof IotaConfigurationDto */ iotaResponseWebhookURL?: string; /** * Cryptographically verifies the data shared by the user when enabled. * @type {boolean} * @memberof IotaConfigurationDto */ enableVerification: boolean; /** * Records the consent the user gave when they shared their data, including the type of data shared. * @type {boolean} * @memberof IotaConfigurationDto */ enableConsentAuditLog: boolean; /** * * @type {IotaConfigurationDtoClientMetadata} * @memberof IotaConfigurationDto */ clientMetadata: IotaConfigurationDtoClientMetadata; /** * Determines whether to handle the data-sharing request using the WebSocket, Redirect or Didcomm messaging flow. * @type {string} * @memberof IotaConfigurationDto */ mode?: IotaConfigurationDtoModeEnum; /** * List of allowed URLs to redirect users, including the response from the request. This is required if the selected data-sharing mode is Redirect. * @type {Array} * @memberof IotaConfigurationDto */ redirectUris?: Array; /** * Enables identity verification from user with a 3rd-party provider when a verified identity document is not found. * @type {boolean} * @memberof IotaConfigurationDto */ enableIdvProviders?: boolean; /** * * @type {string} * @memberof IotaConfigurationDto */ mediatorDid?: string; } export declare const IotaConfigurationDtoModeEnum: { readonly Redirect: "redirect"; readonly Websocket: "websocket"; readonly Didcomm: "didcomm"; }; export type IotaConfigurationDtoModeEnum = (typeof IotaConfigurationDtoModeEnum)[keyof typeof IotaConfigurationDtoModeEnum]; /** * It contains information about the requester or verifier. * @export * @interface IotaConfigurationDtoClientMetadata */ export interface IotaConfigurationDtoClientMetadata { /** * The name displayed on the consent page indicates who is requesting data from the user. It can be the application or website\'s name. * @type {string} * @memberof IotaConfigurationDtoClientMetadata */ name: string; /** * The URL of the requester displayed on the consent page indicates the request\'s origin. * @type {string} * @memberof IotaConfigurationDtoClientMetadata */ origin: string; /** * The logo of the requester displayed on the consent page, allowing users to easily recognise who requests the data. * @type {string} * @memberof IotaConfigurationDtoClientMetadata */ logo: string; } /** * * @export * @interface IotaExchangeCredentials */ export interface IotaExchangeCredentials { /** * A valid JSON Web Token (JWT) that secures the WebSocket connection. The JWT is signed with the key pair\'s private key used to create the Personal Access Token (PAT). * @type {string} * @memberof IotaExchangeCredentials */ assertion: string; } /** * * @export * @interface IotaExchangeCredentialsOK */ export interface IotaExchangeCredentialsOK { /** * * @type {string} * @memberof IotaExchangeCredentialsOK */ connectionClientId: string; /** * * @type {IotaExchangeCredentialsOKCredentials} * @memberof IotaExchangeCredentialsOK */ credentials: IotaExchangeCredentialsOKCredentials; } /** * * @export * @interface IotaExchangeCredentialsOKCredentials */ export interface IotaExchangeCredentialsOKCredentials { /** * * @type {string} * @memberof IotaExchangeCredentialsOKCredentials */ accessKeyId: string; /** * * @type {string} * @memberof IotaExchangeCredentialsOKCredentials */ secretKey: string; /** * * @type {string} * @memberof IotaExchangeCredentialsOKCredentials */ sessionToken: string; /** * * @type {string} * @memberof IotaExchangeCredentialsOKCredentials */ expiration: string; } /** * * @export * @interface ListConfigurationOK */ export interface ListConfigurationOK { /** * * @type {Array} * @memberof ListConfigurationOK */ configurations: Array; } /** * * @export * @interface ListDcqlQueriesOK */ export interface ListDcqlQueriesOK { /** * * @type {Array} * @memberof ListDcqlQueriesOK */ dcqlQueries: Array; /** * * @type {string} * @memberof ListDcqlQueriesOK */ lastEvaluatedKey?: string; } /** * * @export * @interface ListLoggedConsentsOK */ export interface ListLoggedConsentsOK { /** * * @type {Array} * @memberof ListLoggedConsentsOK */ consents: Array; /** * * @type {string} * @memberof ListLoggedConsentsOK */ lastEvaluatedKey?: string; } /** * * @export * @interface ListPexQueriesOK */ export interface ListPexQueriesOK { /** * * @type {Array} * @memberof ListPexQueriesOK */ pexQueries: Array; /** * * @type {string} * @memberof ListPexQueriesOK */ lastEvaluatedKey?: string; } /** * * @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 OperationForbiddenError */ export interface OperationForbiddenError { /** * * @type {string} * @memberof OperationForbiddenError */ name: OperationForbiddenErrorNameEnum; /** * * @type {string} * @memberof OperationForbiddenError */ message: OperationForbiddenErrorMessageEnum; /** * * @type {number} * @memberof OperationForbiddenError */ httpStatusCode: OperationForbiddenErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof OperationForbiddenError */ traceId: string; /** * * @type {Array} * @memberof OperationForbiddenError */ details?: Array; } export declare const OperationForbiddenErrorNameEnum: { readonly OperationForbiddenError: "OperationForbiddenError"; }; export type OperationForbiddenErrorNameEnum = (typeof OperationForbiddenErrorNameEnum)[keyof typeof OperationForbiddenErrorNameEnum]; export declare const OperationForbiddenErrorMessageEnum: { readonly OperationForbiddenParam: "Operation forbidden: ${param}."; }; export type OperationForbiddenErrorMessageEnum = (typeof OperationForbiddenErrorMessageEnum)[keyof typeof OperationForbiddenErrorMessageEnum]; export declare const OperationForbiddenErrorHttpStatusCodeEnum: { readonly NUMBER_403: 403; }; export type OperationForbiddenErrorHttpStatusCodeEnum = (typeof OperationForbiddenErrorHttpStatusCodeEnum)[keyof typeof OperationForbiddenErrorHttpStatusCodeEnum]; /** * * @export * @interface PexQueryDto */ export interface PexQueryDto { /** * The unique resource identifier of the query. * @type {string} * @memberof PexQueryDto */ ari: string; /** * The ID of the query. * @type {string} * @memberof PexQueryDto */ queryId: string; /** * The name of the presentation definition to quickly identify the query. * @type {string} * @memberof PexQueryDto */ name: string; /** * An optional description of what the query is used for. * @type {string} * @memberof PexQueryDto */ description: string; /** * The unique resource identifier of the related configuration where the query is defined. * @type {string} * @memberof PexQueryDto */ configurationAri: string; /** * The presentation definition describing the data requirement that must be satisfied by the user. The value is in a JSON stringify format. * @type {string} * @memberof PexQueryDto */ vpDefinition: string; } /** * * @export * @interface ResourceLimitExceededError */ export interface ResourceLimitExceededError { /** * * @type {string} * @memberof ResourceLimitExceededError */ name: ResourceLimitExceededErrorNameEnum; /** * * @type {string} * @memberof ResourceLimitExceededError */ message: ResourceLimitExceededErrorMessageEnum; /** * * @type {number} * @memberof ResourceLimitExceededError */ httpStatusCode: ResourceLimitExceededErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof ResourceLimitExceededError */ traceId: string; /** * * @type {Array} * @memberof ResourceLimitExceededError */ details?: Array; } export declare const ResourceLimitExceededErrorNameEnum: { readonly ResourceLimitExceededError: "ResourceLimitExceededError"; }; export type ResourceLimitExceededErrorNameEnum = (typeof ResourceLimitExceededErrorNameEnum)[keyof typeof ResourceLimitExceededErrorNameEnum]; export declare const ResourceLimitExceededErrorMessageEnum: { readonly ResourceLimitExceededParam: "Resource limit exceeded: ${param}."; }; export type ResourceLimitExceededErrorMessageEnum = (typeof ResourceLimitExceededErrorMessageEnum)[keyof typeof ResourceLimitExceededErrorMessageEnum]; export declare const ResourceLimitExceededErrorHttpStatusCodeEnum: { readonly NUMBER_422: 422; }; export type ResourceLimitExceededErrorHttpStatusCodeEnum = (typeof ResourceLimitExceededErrorHttpStatusCodeEnum)[keyof typeof ResourceLimitExceededErrorHttpStatusCodeEnum]; /** * * @export * @interface SavePexQueriesUpdateInput */ export interface SavePexQueriesUpdateInput { /** * * @type {Array} * @memberof SavePexQueriesUpdateInput */ queries?: Array; } /** * * @export * @interface SavePexQueriesUpdateInputQueriesInner */ export interface SavePexQueriesUpdateInputQueriesInner { /** * The ID of the query. * @type {string} * @memberof SavePexQueriesUpdateInputQueriesInner */ queryId: string; /** * The presentation definition describing the data requirement that must be satisfied by the user. The value is in a JSON stringify format. * @type {string} * @memberof SavePexQueriesUpdateInputQueriesInner */ vpDefinition?: string; /** * An optional description of what the query is used for. * @type {string} * @memberof SavePexQueriesUpdateInputQueriesInner */ description?: string; } /** * * @export * @interface UpdateConfigurationByIdInput */ export interface UpdateConfigurationByIdInput { /** * The name of the configuration to quickly identify the resource. * @type {string} * @memberof UpdateConfigurationByIdInput */ name?: string; /** * The unique resource identifier of the Wallet used to sign the request token. * @type {string} * @memberof UpdateConfigurationByIdInput */ walletAri?: string; /** * The webhook URL is used for callback when the data is ready. * @type {string} * @memberof UpdateConfigurationByIdInput */ iotaResponseWebhookURL?: string; /** * Cryptographically verifies the data shared by the user when enabled. * @type {boolean} * @memberof UpdateConfigurationByIdInput */ enableVerification?: boolean; /** * Records the user\'s consent when they share their data, including the type of data shared when enabled. * @type {boolean} * @memberof UpdateConfigurationByIdInput */ enableConsentAuditLog?: boolean; /** * This is the lifetime of the signed request token during the data-sharing flow. * @type {number} * @memberof UpdateConfigurationByIdInput */ tokenMaxAge?: number; /** * An optional description of what the configuration is used for. * @type {string} * @memberof UpdateConfigurationByIdInput */ description?: string; /** * * @type {IotaConfigurationDtoClientMetadata} * @memberof UpdateConfigurationByIdInput */ clientMetadata?: IotaConfigurationDtoClientMetadata; /** * Determines whether to handle the data-sharing request using the WebSocket, Redirect or Didcomm messaging flow. * @type {string} * @memberof UpdateConfigurationByIdInput */ mode?: UpdateConfigurationByIdInputModeEnum; /** * List of allowed URLs to redirect users, including the response from the request. This is required if the selected data-sharing mode is Redirect. * @type {Array} * @memberof UpdateConfigurationByIdInput */ redirectUris?: Array; /** * Enables identity verification from user with a 3rd-party provider when a verified identity document is not found. * @type {boolean} * @memberof UpdateConfigurationByIdInput */ enableIdvProviders?: boolean; } export declare const UpdateConfigurationByIdInputModeEnum: { readonly Redirect: "redirect"; readonly Websocket: "websocket"; readonly Didcomm: "didcomm"; }; export type UpdateConfigurationByIdInputModeEnum = (typeof UpdateConfigurationByIdInputModeEnum)[keyof typeof UpdateConfigurationByIdInputModeEnum]; /** * * @export * @interface UpdateDcqlQueryInput */ export interface UpdateDcqlQueryInput { /** * The DCQL query describing the data requirement that must be satisfied by the user. The value is in a JSON stringify format. * @type {string} * @memberof UpdateDcqlQueryInput */ dcqlQuery?: string; /** * An optional description of what the query is used for. * @type {string} * @memberof UpdateDcqlQueryInput */ description?: string; } /** * * @export * @interface UpdatePexQueryInput */ export interface UpdatePexQueryInput { /** * The presentation definition describing the data requirement that must be satisfied by the user. The value is in a JSON stringify format. * @type {string} * @memberof UpdatePexQueryInput */ vpDefinition?: string; /** * An optional description of what the query is used for. * @type {string} * @memberof UpdatePexQueryInput */ description?: string; } /** * CallbackApi - axios parameter creator * @export */ export declare const CallbackApiAxiosParamCreator: (configuration?: Configuration) => { /** * It handles the client\'s (e.g., Affinidi Vault) callback about the result of the data-sharing request. It may contain the data shared by the user, including the presentation submission, verification token, and state. Using the MQTT protocol, it communicates the completion of the request or if any error occurred. * @param {CallbackInput} callbackInput CallbackRequestInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ iotOIDC4VPCallback: (callbackInput: CallbackInput, options?: RawAxiosRequestConfig) => Promise; }; /** * CallbackApi - functional programming interface * @export */ export declare const CallbackApiFp: (configuration?: Configuration) => { /** * It handles the client\'s (e.g., Affinidi Vault) callback about the result of the data-sharing request. It may contain the data shared by the user, including the presentation submission, verification token, and state. Using the MQTT protocol, it communicates the completion of the request or if any error occurred. * @param {CallbackInput} callbackInput CallbackRequestInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ iotOIDC4VPCallback(callbackInput: CallbackInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * CallbackApi - factory interface * @export */ export declare const CallbackApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * It handles the client\'s (e.g., Affinidi Vault) callback about the result of the data-sharing request. It may contain the data shared by the user, including the presentation submission, verification token, and state. Using the MQTT protocol, it communicates the completion of the request or if any error occurred. * @param {CallbackInput} callbackInput CallbackRequestInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ iotOIDC4VPCallback(callbackInput: CallbackInput, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * CallbackApi - object-oriented interface * @export * @class CallbackApi * @extends {BaseAPI} */ export declare class CallbackApi extends BaseAPI { /** * It handles the client\'s (e.g., Affinidi Vault) callback about the result of the data-sharing request. It may contain the data shared by the user, including the presentation submission, verification token, and state. Using the MQTT protocol, it communicates the completion of the request or if any error occurred. * @param {CallbackInput} callbackInput CallbackRequestInput * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CallbackApi */ iotOIDC4VPCallback(callbackInput: CallbackInput, options?: RawAxiosRequestConfig): Promise>; } /** * ConfigurationsApi - axios parameter creator * @export */ export declare const ConfigurationsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Creates a new Affinidi Iota Framework configuration. * @param {CreateIotaConfigurationInput} createIotaConfigurationInput CreateConfiguration * @param {*} [options] Override http request option. * @throws {RequiredError} */ createIotaConfiguration: (createIotaConfigurationInput: CreateIotaConfigurationInput, options?: RawAxiosRequestConfig) => Promise; /** * Deletes an Affinidi Iota Framework configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteIotaConfigurationById: (configurationId: string, options?: RawAxiosRequestConfig) => Promise; /** * Retrieves the details of an Affinidi Iota Framework configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getIotaConfigurationById: (configurationId: string, options?: RawAxiosRequestConfig) => Promise; /** * Retrieves the client metadata of an Affinidi Iota Framework configuration. * @param {string} projectId The ID of the project. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getIotaConfigurationMetaData: (projectId: string, configurationId: string, options?: RawAxiosRequestConfig) => Promise; /** * List all Affinidi Iota Framework configurations. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listIotaConfigurations: (options?: RawAxiosRequestConfig) => Promise; /** * Updates the details of an Affinidi Iota Framework configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {UpdateConfigurationByIdInput} updateConfigurationByIdInput UpdateConfigurationById * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateIotaConfigurationById: (configurationId: string, updateConfigurationByIdInput: UpdateConfigurationByIdInput, options?: RawAxiosRequestConfig) => Promise; }; /** * ConfigurationsApi - functional programming interface * @export */ export declare const ConfigurationsApiFp: (configuration?: Configuration) => { /** * Creates a new Affinidi Iota Framework configuration. * @param {CreateIotaConfigurationInput} createIotaConfigurationInput CreateConfiguration * @param {*} [options] Override http request option. * @throws {RequiredError} */ createIotaConfiguration(createIotaConfigurationInput: CreateIotaConfigurationInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deletes an Affinidi Iota Framework configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteIotaConfigurationById(configurationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Retrieves the details of an Affinidi Iota Framework configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getIotaConfigurationById(configurationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Retrieves the client metadata of an Affinidi Iota Framework configuration. * @param {string} projectId The ID of the project. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getIotaConfigurationMetaData(projectId: string, configurationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List all Affinidi Iota Framework configurations. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listIotaConfigurations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Updates the details of an Affinidi Iota Framework configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {UpdateConfigurationByIdInput} updateConfigurationByIdInput UpdateConfigurationById * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateIotaConfigurationById(configurationId: string, updateConfigurationByIdInput: UpdateConfigurationByIdInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ConfigurationsApi - factory interface * @export */ export declare const ConfigurationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Creates a new Affinidi Iota Framework configuration. * @param {CreateIotaConfigurationInput} createIotaConfigurationInput CreateConfiguration * @param {*} [options] Override http request option. * @throws {RequiredError} */ createIotaConfiguration(createIotaConfigurationInput: CreateIotaConfigurationInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes an Affinidi Iota Framework configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteIotaConfigurationById(configurationId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Retrieves the details of an Affinidi Iota Framework configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getIotaConfigurationById(configurationId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Retrieves the client metadata of an Affinidi Iota Framework configuration. * @param {string} projectId The ID of the project. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getIotaConfigurationMetaData(projectId: string, configurationId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * List all Affinidi Iota Framework configurations. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listIotaConfigurations(options?: RawAxiosRequestConfig): AxiosPromise; /** * Updates the details of an Affinidi Iota Framework configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {UpdateConfigurationByIdInput} updateConfigurationByIdInput UpdateConfigurationById * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateIotaConfigurationById(configurationId: string, updateConfigurationByIdInput: UpdateConfigurationByIdInput, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * ConfigurationsApi - object-oriented interface * @export * @class ConfigurationsApi * @extends {BaseAPI} */ export declare class ConfigurationsApi extends BaseAPI { /** * Creates a new Affinidi Iota Framework configuration. * @param {CreateIotaConfigurationInput} createIotaConfigurationInput CreateConfiguration * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigurationsApi */ createIotaConfiguration(createIotaConfigurationInput: CreateIotaConfigurationInput, options?: RawAxiosRequestConfig): Promise>; /** * Deletes an Affinidi Iota Framework configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigurationsApi */ deleteIotaConfigurationById(configurationId: string, options?: RawAxiosRequestConfig): Promise>; /** * Retrieves the details of an Affinidi Iota Framework configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigurationsApi */ getIotaConfigurationById(configurationId: string, options?: RawAxiosRequestConfig): Promise>; /** * Retrieves the client metadata of an Affinidi Iota Framework configuration. * @param {string} projectId The ID of the project. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigurationsApi */ getIotaConfigurationMetaData(projectId: string, configurationId: string, options?: RawAxiosRequestConfig): Promise>; /** * List all Affinidi Iota Framework configurations. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigurationsApi */ listIotaConfigurations(options?: RawAxiosRequestConfig): Promise>; /** * Updates the details of an Affinidi Iota Framework configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {UpdateConfigurationByIdInput} updateConfigurationByIdInput UpdateConfigurationById * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ConfigurationsApi */ updateIotaConfigurationById(configurationId: string, updateConfigurationByIdInput: UpdateConfigurationByIdInput, options?: RawAxiosRequestConfig): Promise>; } /** * DcqlQueryApi - axios parameter creator * @export */ export declare const DcqlQueryApiAxiosParamCreator: (configuration?: Configuration) => { /** * Creates a new DCQL query in the configuration to query data. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {CreateDcqlQueryInput} createDcqlQueryInput CreateDcqlQuery * @param {*} [options] Override http request option. * @throws {RequiredError} */ createDcqlQuery: (configurationId: string, createDcqlQueryInput: CreateDcqlQueryInput, options?: RawAxiosRequestConfig) => Promise; /** * Deletes a DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDcqlQueryById: (configurationId: string, queryId: string, options?: RawAxiosRequestConfig) => Promise; /** * Retrieves a DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDcqlQueryById: (configurationId: string, queryId: string, options?: RawAxiosRequestConfig) => Promise; /** * Lists all DCQL queries in the configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @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} */ listDcqlQueries: (configurationId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig) => Promise; /** * Updates the DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {UpdateDcqlQueryInput} updateDcqlQueryInput UpdateDcqlQueryById * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateDcqlQueryById: (configurationId: string, queryId: string, updateDcqlQueryInput: UpdateDcqlQueryInput, options?: RawAxiosRequestConfig) => Promise; }; /** * DcqlQueryApi - functional programming interface * @export */ export declare const DcqlQueryApiFp: (configuration?: Configuration) => { /** * Creates a new DCQL query in the configuration to query data. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {CreateDcqlQueryInput} createDcqlQueryInput CreateDcqlQuery * @param {*} [options] Override http request option. * @throws {RequiredError} */ createDcqlQuery(configurationId: string, createDcqlQueryInput: CreateDcqlQueryInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deletes a DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDcqlQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Retrieves a DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDcqlQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Lists all DCQL queries in the configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @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} */ listDcqlQueries(configurationId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Updates the DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {UpdateDcqlQueryInput} updateDcqlQueryInput UpdateDcqlQueryById * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateDcqlQueryById(configurationId: string, queryId: string, updateDcqlQueryInput: UpdateDcqlQueryInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * DcqlQueryApi - factory interface * @export */ export declare const DcqlQueryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Creates a new DCQL query in the configuration to query data. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {CreateDcqlQueryInput} createDcqlQueryInput CreateDcqlQuery * @param {*} [options] Override http request option. * @throws {RequiredError} */ createDcqlQuery(configurationId: string, createDcqlQueryInput: CreateDcqlQueryInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes a DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDcqlQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Retrieves a DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDcqlQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Lists all DCQL queries in the configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @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} */ listDcqlQueries(configurationId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Updates the DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {UpdateDcqlQueryInput} updateDcqlQueryInput UpdateDcqlQueryById * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateDcqlQueryById(configurationId: string, queryId: string, updateDcqlQueryInput: UpdateDcqlQueryInput, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * DcqlQueryApi - object-oriented interface * @export * @class DcqlQueryApi * @extends {BaseAPI} */ export declare class DcqlQueryApi extends BaseAPI { /** * Creates a new DCQL query in the configuration to query data. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {CreateDcqlQueryInput} createDcqlQueryInput CreateDcqlQuery * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DcqlQueryApi */ createDcqlQuery(configurationId: string, createDcqlQueryInput: CreateDcqlQueryInput, options?: RawAxiosRequestConfig): Promise>; /** * Deletes a DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DcqlQueryApi */ deleteDcqlQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): Promise>; /** * Retrieves a DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DcqlQueryApi */ getDcqlQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): Promise>; /** * Lists all DCQL queries in the configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @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 DcqlQueryApi */ listDcqlQueries(configurationId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise>; /** * Updates the DCQL query in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {UpdateDcqlQueryInput} updateDcqlQueryInput UpdateDcqlQueryById * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DcqlQueryApi */ updateDcqlQueryById(configurationId: string, queryId: string, updateDcqlQueryInput: UpdateDcqlQueryInput, options?: RawAxiosRequestConfig): Promise>; } /** * DefaultApi - axios parameter creator * @export */ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => { /** * Lists all the logged consents for a project. * @param {string} [configurationId] * @param {string} [userId] * @param {number} [limit] The maximum number of records to fetch from the list of logged consents. * @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} */ listLoggedConsents: (configurationId?: string, userId?: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig) => Promise; }; /** * DefaultApi - functional programming interface * @export */ export declare const DefaultApiFp: (configuration?: Configuration) => { /** * Lists all the logged consents for a project. * @param {string} [configurationId] * @param {string} [userId] * @param {number} [limit] The maximum number of records to fetch from the list of logged consents. * @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} */ listLoggedConsents(configurationId?: string, userId?: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * DefaultApi - factory interface * @export */ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Lists all the logged consents for a project. * @param {string} [configurationId] * @param {string} [userId] * @param {number} [limit] The maximum number of records to fetch from the list of logged consents. * @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} */ listLoggedConsents(configurationId?: string, userId?: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * DefaultApi - object-oriented interface * @export * @class DefaultApi * @extends {BaseAPI} */ export declare class DefaultApi extends BaseAPI { /** * Lists all the logged consents for a project. * @param {string} [configurationId] * @param {string} [userId] * @param {number} [limit] The maximum number of records to fetch from the list of logged consents. * @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 DefaultApi */ listLoggedConsents(configurationId?: string, userId?: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise>; } /** * IotaApi - axios parameter creator * @export */ export declare const IotaApiAxiosParamCreator: (configuration?: Configuration) => { /** * Exchange a limited-scoped token into a Cognito credential to generate the identity credential. The identity credential initiates the secure WebSocket connection from the client. This method is used only in WebSocket data-sharing mode. * @param {AwsExchangeCredentials} awsExchangeCredentials AwsExchangeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} */ awsExchangeCredentials: (awsExchangeCredentials: AwsExchangeCredentials, options?: RawAxiosRequestConfig) => Promise; /** * Exchange a Project Scoped Token into an identity credential directly to initiate a secure WebSocket connection. This method is used only in WebSocket data-sharing mode. * @param {AwsExchangeCredentialsProjectToken} awsExchangeCredentialsProjectToken AwsExchangeCredentialsProjectToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ awsExchangeCredentialsProjectToken: (awsExchangeCredentialsProjectToken: AwsExchangeCredentialsProjectToken, options?: RawAxiosRequestConfig) => Promise; /** * Fetches the client\'s callback that contains the user\'s shared data in a Verifiable Presentation format after a successful data-sharing flow. * @param {FetchIOTAVPResponseInput} fetchIOTAVPResponseInput FetchIOTAVPResponseInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchIotaVpResponse: (fetchIOTAVPResponseInput: FetchIOTAVPResponseInput, options?: RawAxiosRequestConfig) => Promise; /** * Generates the request token for the Redirect mode to initiate the data-sharing flow. * @param {InitiateDataSharingRequestInput} initiateDataSharingRequestInput InitiateDataSharingRequestInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ initiateDataSharingRequest: (initiateDataSharingRequestInput: InitiateDataSharingRequestInput, options?: RawAxiosRequestConfig) => Promise; /** * Exchange a limited-scoped token into an identity credential directly to initiate a secure WebSocket connection. This method is used only in WebSocket data-sharing mode. * @param {IotaExchangeCredentials} iotaExchangeCredentials IotaAwsExchangeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} */ iotaExchangeCredentials: (iotaExchangeCredentials: IotaExchangeCredentials, options?: RawAxiosRequestConfig) => Promise; }; /** * IotaApi - functional programming interface * @export */ export declare const IotaApiFp: (configuration?: Configuration) => { /** * Exchange a limited-scoped token into a Cognito credential to generate the identity credential. The identity credential initiates the secure WebSocket connection from the client. This method is used only in WebSocket data-sharing mode. * @param {AwsExchangeCredentials} awsExchangeCredentials AwsExchangeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} */ awsExchangeCredentials(awsExchangeCredentials: AwsExchangeCredentials, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Exchange a Project Scoped Token into an identity credential directly to initiate a secure WebSocket connection. This method is used only in WebSocket data-sharing mode. * @param {AwsExchangeCredentialsProjectToken} awsExchangeCredentialsProjectToken AwsExchangeCredentialsProjectToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ awsExchangeCredentialsProjectToken(awsExchangeCredentialsProjectToken: AwsExchangeCredentialsProjectToken, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Fetches the client\'s callback that contains the user\'s shared data in a Verifiable Presentation format after a successful data-sharing flow. * @param {FetchIOTAVPResponseInput} fetchIOTAVPResponseInput FetchIOTAVPResponseInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchIotaVpResponse(fetchIOTAVPResponseInput: FetchIOTAVPResponseInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Generates the request token for the Redirect mode to initiate the data-sharing flow. * @param {InitiateDataSharingRequestInput} initiateDataSharingRequestInput InitiateDataSharingRequestInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ initiateDataSharingRequest(initiateDataSharingRequestInput: InitiateDataSharingRequestInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Exchange a limited-scoped token into an identity credential directly to initiate a secure WebSocket connection. This method is used only in WebSocket data-sharing mode. * @param {IotaExchangeCredentials} iotaExchangeCredentials IotaAwsExchangeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} */ iotaExchangeCredentials(iotaExchangeCredentials: IotaExchangeCredentials, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * IotaApi - factory interface * @export */ export declare const IotaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Exchange a limited-scoped token into a Cognito credential to generate the identity credential. The identity credential initiates the secure WebSocket connection from the client. This method is used only in WebSocket data-sharing mode. * @param {AwsExchangeCredentials} awsExchangeCredentials AwsExchangeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} */ awsExchangeCredentials(awsExchangeCredentials: AwsExchangeCredentials, options?: RawAxiosRequestConfig): AxiosPromise; /** * Exchange a Project Scoped Token into an identity credential directly to initiate a secure WebSocket connection. This method is used only in WebSocket data-sharing mode. * @param {AwsExchangeCredentialsProjectToken} awsExchangeCredentialsProjectToken AwsExchangeCredentialsProjectToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ awsExchangeCredentialsProjectToken(awsExchangeCredentialsProjectToken: AwsExchangeCredentialsProjectToken, options?: RawAxiosRequestConfig): AxiosPromise; /** * Fetches the client\'s callback that contains the user\'s shared data in a Verifiable Presentation format after a successful data-sharing flow. * @param {FetchIOTAVPResponseInput} fetchIOTAVPResponseInput FetchIOTAVPResponseInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchIotaVpResponse(fetchIOTAVPResponseInput: FetchIOTAVPResponseInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * Generates the request token for the Redirect mode to initiate the data-sharing flow. * @param {InitiateDataSharingRequestInput} initiateDataSharingRequestInput InitiateDataSharingRequestInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ initiateDataSharingRequest(initiateDataSharingRequestInput: InitiateDataSharingRequestInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * Exchange a limited-scoped token into an identity credential directly to initiate a secure WebSocket connection. This method is used only in WebSocket data-sharing mode. * @param {IotaExchangeCredentials} iotaExchangeCredentials IotaAwsExchangeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} */ iotaExchangeCredentials(iotaExchangeCredentials: IotaExchangeCredentials, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * IotaApi - object-oriented interface * @export * @class IotaApi * @extends {BaseAPI} */ export declare class IotaApi extends BaseAPI { /** * Exchange a limited-scoped token into a Cognito credential to generate the identity credential. The identity credential initiates the secure WebSocket connection from the client. This method is used only in WebSocket data-sharing mode. * @param {AwsExchangeCredentials} awsExchangeCredentials AwsExchangeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IotaApi */ awsExchangeCredentials(awsExchangeCredentials: AwsExchangeCredentials, options?: RawAxiosRequestConfig): Promise>; /** * Exchange a Project Scoped Token into an identity credential directly to initiate a secure WebSocket connection. This method is used only in WebSocket data-sharing mode. * @param {AwsExchangeCredentialsProjectToken} awsExchangeCredentialsProjectToken AwsExchangeCredentialsProjectToken * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IotaApi */ awsExchangeCredentialsProjectToken(awsExchangeCredentialsProjectToken: AwsExchangeCredentialsProjectToken, options?: RawAxiosRequestConfig): Promise>; /** * Fetches the client\'s callback that contains the user\'s shared data in a Verifiable Presentation format after a successful data-sharing flow. * @param {FetchIOTAVPResponseInput} fetchIOTAVPResponseInput FetchIOTAVPResponseInput * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IotaApi */ fetchIotaVpResponse(fetchIOTAVPResponseInput: FetchIOTAVPResponseInput, options?: RawAxiosRequestConfig): Promise>; /** * Generates the request token for the Redirect mode to initiate the data-sharing flow. * @param {InitiateDataSharingRequestInput} initiateDataSharingRequestInput InitiateDataSharingRequestInput * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IotaApi */ initiateDataSharingRequest(initiateDataSharingRequestInput: InitiateDataSharingRequestInput, options?: RawAxiosRequestConfig): Promise>; /** * Exchange a limited-scoped token into an identity credential directly to initiate a secure WebSocket connection. This method is used only in WebSocket data-sharing mode. * @param {IotaExchangeCredentials} iotaExchangeCredentials IotaAwsExchangeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IotaApi */ iotaExchangeCredentials(iotaExchangeCredentials: IotaExchangeCredentials, options?: RawAxiosRequestConfig): Promise>; } /** * PexQueryApi - axios parameter creator * @export */ export declare const PexQueryApiAxiosParamCreator: (configuration?: Configuration) => { /** * Creates a new Presentation Definition in the configuration to query data. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {CreatePexQueryInput} createPexQueryInput CreatePexQuery * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPexQuery: (configurationId: string, createPexQueryInput: CreatePexQueryInput, options?: RawAxiosRequestConfig) => Promise; /** * Deletes all Presentation Definition queries of a configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {DeletePexQueriesInput} deletePexQueriesInput DeletePexQueriesInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePexQueries: (configurationId: string, deletePexQueriesInput: DeletePexQueriesInput, options?: RawAxiosRequestConfig) => Promise; /** * Deletes a Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePexQueryById: (configurationId: string, queryId: string, options?: RawAxiosRequestConfig) => Promise; /** * Retrieves a Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPexQueryById: (configurationId: string, queryId: string, options?: RawAxiosRequestConfig) => Promise; /** * Lists all Presentation Definitions in the configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @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} */ listPexQueries: (configurationId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig) => Promise; /** * Saves all Presentation Definition queries of a configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {SavePexQueriesUpdateInput} savePexQueriesUpdateInput SavePexQueriesInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ savePexQueries: (configurationId: string, savePexQueriesUpdateInput: SavePexQueriesUpdateInput, options?: RawAxiosRequestConfig) => Promise; /** * Updates the Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {UpdatePexQueryInput} updatePexQueryInput UpdatePexQueryById * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePexQueryById: (configurationId: string, queryId: string, updatePexQueryInput: UpdatePexQueryInput, options?: RawAxiosRequestConfig) => Promise; }; /** * PexQueryApi - functional programming interface * @export */ export declare const PexQueryApiFp: (configuration?: Configuration) => { /** * Creates a new Presentation Definition in the configuration to query data. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {CreatePexQueryInput} createPexQueryInput CreatePexQuery * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPexQuery(configurationId: string, createPexQueryInput: CreatePexQueryInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deletes all Presentation Definition queries of a configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {DeletePexQueriesInput} deletePexQueriesInput DeletePexQueriesInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePexQueries(configurationId: string, deletePexQueriesInput: DeletePexQueriesInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deletes a Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePexQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Retrieves a Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPexQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Lists all Presentation Definitions in the configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @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} */ listPexQueries(configurationId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Saves all Presentation Definition queries of a configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {SavePexQueriesUpdateInput} savePexQueriesUpdateInput SavePexQueriesInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ savePexQueries(configurationId: string, savePexQueriesUpdateInput: SavePexQueriesUpdateInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Updates the Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {UpdatePexQueryInput} updatePexQueryInput UpdatePexQueryById * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePexQueryById(configurationId: string, queryId: string, updatePexQueryInput: UpdatePexQueryInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * PexQueryApi - factory interface * @export */ export declare const PexQueryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Creates a new Presentation Definition in the configuration to query data. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {CreatePexQueryInput} createPexQueryInput CreatePexQuery * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPexQuery(configurationId: string, createPexQueryInput: CreatePexQueryInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes all Presentation Definition queries of a configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {DeletePexQueriesInput} deletePexQueriesInput DeletePexQueriesInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePexQueries(configurationId: string, deletePexQueriesInput: DeletePexQueriesInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes a Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePexQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Retrieves a Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPexQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Lists all Presentation Definitions in the configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @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} */ listPexQueries(configurationId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Saves all Presentation Definition queries of a configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {SavePexQueriesUpdateInput} savePexQueriesUpdateInput SavePexQueriesInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ savePexQueries(configurationId: string, savePexQueriesUpdateInput: SavePexQueriesUpdateInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * Updates the Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {UpdatePexQueryInput} updatePexQueryInput UpdatePexQueryById * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePexQueryById(configurationId: string, queryId: string, updatePexQueryInput: UpdatePexQueryInput, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * PexQueryApi - object-oriented interface * @export * @class PexQueryApi * @extends {BaseAPI} */ export declare class PexQueryApi extends BaseAPI { /** * Creates a new Presentation Definition in the configuration to query data. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {CreatePexQueryInput} createPexQueryInput CreatePexQuery * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PexQueryApi */ createPexQuery(configurationId: string, createPexQueryInput: CreatePexQueryInput, options?: RawAxiosRequestConfig): Promise>; /** * Deletes all Presentation Definition queries of a configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {DeletePexQueriesInput} deletePexQueriesInput DeletePexQueriesInput * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PexQueryApi */ deletePexQueries(configurationId: string, deletePexQueriesInput: DeletePexQueriesInput, options?: RawAxiosRequestConfig): Promise>; /** * Deletes a Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PexQueryApi */ deletePexQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): Promise>; /** * Retrieves a Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PexQueryApi */ getPexQueryById(configurationId: string, queryId: string, options?: RawAxiosRequestConfig): Promise>; /** * Lists all Presentation Definitions in the configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @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 PexQueryApi */ listPexQueries(configurationId: string, limit?: number, exclusiveStartKey?: string, options?: RawAxiosRequestConfig): Promise>; /** * Saves all Presentation Definition queries of a configuration. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {SavePexQueriesUpdateInput} savePexQueriesUpdateInput SavePexQueriesInput * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PexQueryApi */ savePexQueries(configurationId: string, savePexQueriesUpdateInput: SavePexQueriesUpdateInput, options?: RawAxiosRequestConfig): Promise>; /** * Updates the Presentation Definition in the configuration by ID. * @param {string} configurationId ID of the Affinidi Iota Framework configuration. * @param {string} queryId The ID of the query. * @param {UpdatePexQueryInput} updatePexQueryInput UpdatePexQueryById * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PexQueryApi */ updatePexQueryById(configurationId: string, queryId: string, updatePexQueryInput: UpdatePexQueryInput, options?: RawAxiosRequestConfig): Promise>; }