/** * CloudWalletEssentials * 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 CreateWalletInput */ export interface CreateWalletInput { /** * The name of the wallet * @type {string} * @memberof CreateWalletInput */ name?: string; /** * The description of the wallet * @type {string} * @memberof CreateWalletInput */ description?: string; /** * Define how DID of your wallet is created and resolved * @type {string} * @memberof CreateWalletInput */ didMethod?: CreateWalletInputDidMethodEnum; /** * URL of the DID. Required if the did method is web * @type {string} * @memberof CreateWalletInput */ didWebUrl?: string; } export declare const CreateWalletInputDidMethodEnum: { readonly Key: "key"; readonly Web: "web"; readonly Peer0: "peer0"; }; export type CreateWalletInputDidMethodEnum = (typeof CreateWalletInputDidMethodEnum)[keyof typeof CreateWalletInputDidMethodEnum]; /** * Input for adding a new key to a wallet. Only supported for did:web ATM. * @export * @interface CreateWalletKeyInput */ export interface CreateWalletKeyInput { /** * cryptographic algorithm for the new key * @type {string} * @memberof CreateWalletKeyInput */ keyType: CreateWalletKeyInputKeyTypeEnum; /** * verification relationships for the key. * @type {Array} * @memberof CreateWalletKeyInput */ relationships: Array; } export declare const CreateWalletKeyInputKeyTypeEnum: { readonly Secp256k1: "secp256k1"; readonly Ed25519: "ed25519"; readonly P256: "p256"; }; export type CreateWalletKeyInputKeyTypeEnum = (typeof CreateWalletKeyInputKeyTypeEnum)[keyof typeof CreateWalletKeyInputKeyTypeEnum]; /** * wallet dto * @export * @interface CreateWalletResponse */ export interface CreateWalletResponse { /** * * @type {WalletDto} * @memberof CreateWalletResponse */ wallet?: WalletDto; } /** * * @export * @interface CreateWalletV2Input */ export interface CreateWalletV2Input { /** * The name of the wallet * @type {string} * @memberof CreateWalletV2Input */ name?: string; /** * The description of the wallet * @type {string} * @memberof CreateWalletV2Input */ description?: string; /** * Define how DID of your wallet is created and resolved * @type {string} * @memberof CreateWalletV2Input */ didMethod?: CreateWalletV2InputDidMethodEnum; /** * URL of the DID. Required if the did method is web * @type {string} * @memberof CreateWalletV2Input */ didWebUrl?: string; /** * algorithm to generate key for the wallet * @type {string} * @memberof CreateWalletV2Input */ algorithm?: CreateWalletV2InputAlgorithmEnum; /** * Service endpoints to include in DID document * @type {Array} * @memberof CreateWalletV2Input */ services?: Array; } export declare const CreateWalletV2InputDidMethodEnum: { readonly Key: "key"; readonly Web: "web"; readonly Peer0: "peer0"; readonly Peer2: "peer2"; }; export type CreateWalletV2InputDidMethodEnum = (typeof CreateWalletV2InputDidMethodEnum)[keyof typeof CreateWalletV2InputDidMethodEnum]; export declare const CreateWalletV2InputAlgorithmEnum: { readonly Secp256k1: "secp256k1"; readonly Ed25519: "ed25519"; readonly P256: "p256"; }; export type CreateWalletV2InputAlgorithmEnum = (typeof CreateWalletV2InputAlgorithmEnum)[keyof typeof CreateWalletV2InputAlgorithmEnum]; /** * wallet dto * @export * @interface CreateWalletV2Response */ export interface CreateWalletV2Response { /** * * @type {WalletV2Dto} * @memberof CreateWalletV2Response */ wallet?: WalletV2Dto; } /** * * @export * @interface EntityNotFoundError */ export interface EntityNotFoundError { /** * * @type {string} * @memberof EntityNotFoundError */ name: EntityNotFoundErrorNameEnum; /** * * @type {string} * @memberof EntityNotFoundError */ message: EntityNotFoundErrorMessageEnum; /** * * @type {number} * @memberof EntityNotFoundError */ httpStatusCode: EntityNotFoundErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof EntityNotFoundError */ traceId: string; /** * * @type {Array} * @memberof EntityNotFoundError */ details?: Array; } export declare const EntityNotFoundErrorNameEnum: { readonly EntityNotFoundError: "EntityNotFoundError"; }; export type EntityNotFoundErrorNameEnum = (typeof EntityNotFoundErrorNameEnum)[keyof typeof EntityNotFoundErrorNameEnum]; export declare const EntityNotFoundErrorMessageEnum: { readonly EntityNotFound: "Entity not found"; }; export type EntityNotFoundErrorMessageEnum = (typeof EntityNotFoundErrorMessageEnum)[keyof typeof EntityNotFoundErrorMessageEnum]; export declare const EntityNotFoundErrorHttpStatusCodeEnum: { readonly NUMBER_404: 404; }; export type EntityNotFoundErrorHttpStatusCodeEnum = (typeof EntityNotFoundErrorHttpStatusCodeEnum)[keyof typeof EntityNotFoundErrorHttpStatusCodeEnum]; /** * DTO contains revocation list credential * @export * @interface GetRevocationListCredentialResultDto */ export interface GetRevocationListCredentialResultDto { /** * * @type {object} * @memberof GetRevocationListCredentialResultDto */ revocationListCredential: object; } /** * * @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]; /** * Response containing service endpoints * @export * @interface ListServiceEndpointsOK */ export interface ListServiceEndpointsOK { /** * list of service endpoints * @type {Array} * @memberof ListServiceEndpointsOK */ services: Array; } /** * Response containing wallet keys * @export * @interface ListWalletKeysOK */ export interface ListWalletKeysOK { /** * list of wallet keys * @type {Array} * @memberof ListWalletKeysOK */ 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 NotFoundErrorDetailsInner */ export interface NotFoundErrorDetailsInner { /** * * @type {string} * @memberof NotFoundErrorDetailsInner */ issue: string; /** * * @type {string} * @memberof NotFoundErrorDetailsInner */ field?: string; /** * * @type {string} * @memberof NotFoundErrorDetailsInner */ value?: string; /** * * @type {string} * @memberof NotFoundErrorDetailsInner */ location?: string; } /** * * @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 RevokeCredentialInput */ export interface RevokeCredentialInput { /** * * @type {string} * @memberof RevokeCredentialInput */ revocationReason?: string | null; /** * * @type {string} * @memberof RevokeCredentialInput */ credentialId?: string; } /** * * @export * @interface RevokeCredentialsInput */ export interface RevokeCredentialsInput { /** * * @type {string} * @memberof RevokeCredentialsInput */ revocationReason?: string; /** * * @type {string} * @memberof RevokeCredentialsInput */ credentialId: string; } /** * Service endpoint information * @export * @interface ServiceEndpointDto */ export interface ServiceEndpointDto { /** * service endpoint ID * @type {string} * @memberof ServiceEndpointDto */ id?: string; /** * name of the service endpoint * @type {string} * @memberof ServiceEndpointDto */ name?: string; /** * description of the service endpoint * @type {string} * @memberof ServiceEndpointDto */ description?: string; /** * service endpoint URL * @type {string} * @memberof ServiceEndpointDto */ url?: string; /** * wallet ARI this endpoint belongs to * @type {string} * @memberof ServiceEndpointDto */ walletAri?: string; /** * project ID * @type {string} * @memberof ServiceEndpointDto */ projectId?: string; /** * when this endpoint was created * @type {string} * @memberof ServiceEndpointDto */ createdAt?: string; /** * when this endpoint was last modified * @type {string} * @memberof ServiceEndpointDto */ modifiedAt?: string; /** * identifier of the user who created the entity * @type {string} * @memberof ServiceEndpointDto */ createdBy?: string; /** * identifier of the user who last updated the entity * @type {string} * @memberof ServiceEndpointDto */ modifiedBy?: string; } /** * Input for adding a service endpoint * @export * @interface ServiceEndpointInput */ export interface ServiceEndpointInput { /** * Alphanumeric string with common punctuation (max 100 characters) * @type {string} * @memberof ServiceEndpointInput */ name?: string; /** * Alphanumeric string with common punctuation (max 500 characters) * @type {string} * @memberof ServiceEndpointInput */ description?: string; /** * HTTP or HTTPS URL * @type {string} * @memberof ServiceEndpointInput */ url: string; /** * type of service endpoint * @type {string} * @memberof ServiceEndpointInput */ serviceType?: ServiceEndpointInputServiceTypeEnum; } export declare const ServiceEndpointInputServiceTypeEnum: { readonly DidCommMessaging: "DIDCommMessaging"; readonly LinkedDomains: "LinkedDomains"; readonly IdentityHub: "IdentityHub"; readonly CredentialRegistry: "CredentialRegistry"; }; export type ServiceEndpointInputServiceTypeEnum = (typeof ServiceEndpointInputServiceTypeEnum)[keyof typeof ServiceEndpointInputServiceTypeEnum]; /** * @type SignCredential400Response * @export */ export type SignCredential400Response = InvalidParameterError | SigningFailedError; /** * DTO contains params to sign credential * @export * @interface SignCredentialInputDto */ export interface SignCredentialInputDto { /** * Unsigned Credential. If provided \"unsignedCredentialParams\" is not accepted * @type {object} * @memberof SignCredentialInputDto */ unsignedCredential?: object; /** * * @type {boolean} * @memberof SignCredentialInputDto */ revocable?: boolean; /** * * @type {string} * @memberof SignCredentialInputDto */ credentialFormat?: SignCredentialInputDtoCredentialFormatEnum; /** * * @type {SignCredentialInputDtoUnsignedCredentialParams} * @memberof SignCredentialInputDto */ unsignedCredentialParams?: SignCredentialInputDtoUnsignedCredentialParams; } export declare const SignCredentialInputDtoCredentialFormatEnum: { readonly LdpVc: "ldp_vc"; readonly JwtVcJsonLd: "jwt_vc_json-ld"; readonly SdJwtVcJsonLd: "sd_jwt_vc_json-ld"; }; export type SignCredentialInputDtoCredentialFormatEnum = (typeof SignCredentialInputDtoCredentialFormatEnum)[keyof typeof SignCredentialInputDtoCredentialFormatEnum]; /** * unsignedCredentialParams. Used to build an unsigned credential before the signing. This param is not accepted when \"unsignedCredential\" is given * @export * @interface SignCredentialInputDtoUnsignedCredentialParams */ export interface SignCredentialInputDtoUnsignedCredentialParams { /** * * @type {string} * @memberof SignCredentialInputDtoUnsignedCredentialParams */ jsonLdContextUrl: string; /** * * @type {string} * @memberof SignCredentialInputDtoUnsignedCredentialParams */ jsonSchemaUrl: string; /** * * @type {string} * @memberof SignCredentialInputDtoUnsignedCredentialParams */ typeName: string; /** * * @type {{ [key: string]: any; }} * @memberof SignCredentialInputDtoUnsignedCredentialParams */ credentialSubject: { [key: string]: any; }; /** * * @type {string} * @memberof SignCredentialInputDtoUnsignedCredentialParams */ holderDid: string; /** * * @type {string} * @memberof SignCredentialInputDtoUnsignedCredentialParams */ expiresAt: string; } /** * DTO contains signed credential * @export * @interface SignCredentialResultDto */ export interface SignCredentialResultDto { /** * * @type {{ [key: string]: any; }} * @memberof SignCredentialResultDto */ signedCredential: { [key: string]: any; }; } /** * DTO contains params to sign credential * @export * @interface SignCredentialsDm2SdJwtInputDto */ export interface SignCredentialsDm2SdJwtInputDto { /** * Unsigned Credential in Dm2 format * @type {object} * @memberof SignCredentialsDm2SdJwtInputDto */ unsignedCredential: object; /** * * @type {boolean} * @memberof SignCredentialsDm2SdJwtInputDto */ revocable?: boolean; /** * * @type {object} * @memberof SignCredentialsDm2SdJwtInputDto */ disclosureFrame: object; /** * * @type {string} * @memberof SignCredentialsDm2SdJwtInputDto */ signatureScheme?: SignCredentialsDm2SdJwtInputDtoSignatureSchemeEnum; /** * wallet key ID to use for signing (defaults to wallet\'s default key) * @type {string} * @memberof SignCredentialsDm2SdJwtInputDto */ keyId?: string; } export declare const SignCredentialsDm2SdJwtInputDtoSignatureSchemeEnum: { readonly EcdsaSecp256k1Sha256: "ecdsa_secp256k1_sha256"; readonly EcdsaP256Sha256: "ecdsa_p256_sha256"; readonly Ed25519: "ed25519"; }; export type SignCredentialsDm2SdJwtInputDtoSignatureSchemeEnum = (typeof SignCredentialsDm2SdJwtInputDtoSignatureSchemeEnum)[keyof typeof SignCredentialsDm2SdJwtInputDtoSignatureSchemeEnum]; /** * DTO contains signed credential * @export * @interface SignCredentialsDm2SdJwtResultDto */ export interface SignCredentialsDm2SdJwtResultDto { /** * Issued selective disclosure SD in jwt format * @type {string} * @memberof SignCredentialsDm2SdJwtResultDto */ credential: string; } /** * DTO contains params to sign credential * @export * @interface SignCredentialsJwtInputDto */ export interface SignCredentialsJwtInputDto { /** * Unsigned Credential in Dm1 format * @type {object} * @memberof SignCredentialsJwtInputDto */ unsignedCredential: object; /** * * @type {boolean} * @memberof SignCredentialsJwtInputDto */ revocable?: boolean; /** * * @type {string} * @memberof SignCredentialsJwtInputDto */ signatureScheme?: SignCredentialsJwtInputDtoSignatureSchemeEnum; /** * wallet key ID to use for signing (defaults to wallet\'s default key) * @type {string} * @memberof SignCredentialsJwtInputDto */ keyId?: string; } export declare const SignCredentialsJwtInputDtoSignatureSchemeEnum: { readonly EcdsaSecp256k1Sha256: "ecdsa_secp256k1_sha256"; readonly EcdsaP256Sha256: "ecdsa_p256_sha256"; readonly Ed25519: "ed25519"; }; export type SignCredentialsJwtInputDtoSignatureSchemeEnum = (typeof SignCredentialsJwtInputDtoSignatureSchemeEnum)[keyof typeof SignCredentialsJwtInputDtoSignatureSchemeEnum]; /** * DTO contains signed credential * @export * @interface SignCredentialsJwtResultDto */ export interface SignCredentialsJwtResultDto { /** * Signed credential in DM2 jwt format * @type {string} * @memberof SignCredentialsJwtResultDto */ credential: string; } /** * DTO contains params to sign credential * @export * @interface SignCredentialsLdpInputDto */ export interface SignCredentialsLdpInputDto { /** * Unsigned Credential in Dm2 format * @type {object} * @memberof SignCredentialsLdpInputDto */ unsignedCredential: object; /** * * @type {boolean} * @memberof SignCredentialsLdpInputDto */ revocable?: boolean; /** * * @type {string} * @memberof SignCredentialsLdpInputDto */ signatureScheme?: SignCredentialsLdpInputDtoSignatureSchemeEnum; /** * W3C signature suite for canonicalization. Defaults to rdfc variants for each algorithm (ecdsa-rdfc-2019 for P256, eddsa-rdfc-2022 for Ed25519, EcdsaSecp256k1Signature2019 for secp256k1). * @type {string} * @memberof SignCredentialsLdpInputDto */ signatureSuite?: SignCredentialsLdpInputDtoSignatureSuiteEnum; /** * wallet key ID to use for signing (defaults to wallet\'s default key) * @type {string} * @memberof SignCredentialsLdpInputDto */ keyId?: string; } export declare const SignCredentialsLdpInputDtoSignatureSchemeEnum: { readonly EcdsaSecp256k1Sha256: "ecdsa_secp256k1_sha256"; readonly EcdsaP256Sha256: "ecdsa_p256_sha256"; readonly Ed25519: "ed25519"; }; export type SignCredentialsLdpInputDtoSignatureSchemeEnum = (typeof SignCredentialsLdpInputDtoSignatureSchemeEnum)[keyof typeof SignCredentialsLdpInputDtoSignatureSchemeEnum]; export declare const SignCredentialsLdpInputDtoSignatureSuiteEnum: { readonly EcdsaJcs2019: "ecdsa-jcs-2019"; readonly EcdsaRdfc2019: "ecdsa-rdfc-2019"; readonly EddsaJcs2022: "eddsa-jcs-2022"; readonly EddsaRdfc2022: "eddsa-rdfc-2022"; readonly EcdsaSecp256k1Signature2019: "EcdsaSecp256k1Signature2019"; }; export type SignCredentialsLdpInputDtoSignatureSuiteEnum = (typeof SignCredentialsLdpInputDtoSignatureSuiteEnum)[keyof typeof SignCredentialsLdpInputDtoSignatureSuiteEnum]; /** * DTO contains signed credential * @export * @interface SignCredentialsLdpResultDto */ export interface SignCredentialsLdpResultDto { /** * Signed credential can be in Dm2Ld format * @type {object} * @memberof SignCredentialsLdpResultDto */ credential: object; } /** * DTO contains parts of JWT to be signed * @export * @interface SignJwtToken */ export interface SignJwtToken { /** * * @type {object} * @memberof SignJwtToken */ header: object; /** * * @type {object} * @memberof SignJwtToken */ payload: object; } /** * * @export * @interface SignJwtTokenOK */ export interface SignJwtTokenOK { /** * * @type {string} * @memberof SignJwtTokenOK */ signedJwt?: string; } /** * DTO contains payload of JWT to be signed * @export * @interface SignJwtV2InputDto */ export interface SignJwtV2InputDto { /** * * @type {object} * @memberof SignJwtV2InputDto */ payload: object; /** * wallet key ID to use for signing (defaults to wallet\'s default key) * @type {string} * @memberof SignJwtV2InputDto */ keyId?: string; } /** * * @export * @interface SignJwtV2ResultDto */ export interface SignJwtV2ResultDto { /** * * @type {string} * @memberof SignJwtV2ResultDto */ signedJwt?: string; } /** * DTO contains params to sign presentation * @export * @interface SignPresentationLdpInputDto */ export interface SignPresentationLdpInputDto { /** * Unsigned presentation in Dm1 format * @type {object} * @memberof SignPresentationLdpInputDto */ unsignedPresentation: object; /** * * @type {string} * @memberof SignPresentationLdpInputDto */ signatureScheme?: SignPresentationLdpInputDtoSignatureSchemeEnum; /** * W3C signature suite for canonicalization. Defaults to rdfc variants for each algorithm (ecdsa-rdfc-2019 for P256, eddsa-rdfc-2022 for Ed25519, EcdsaSecp256k1Signature2019 for secp256k1). * @type {string} * @memberof SignPresentationLdpInputDto */ signatureSuite?: SignPresentationLdpInputDtoSignatureSuiteEnum; /** * Domain(s) for which the presentation is intended * @type {Array} * @memberof SignPresentationLdpInputDto */ domain?: Array; /** * Challenge string * @type {string} * @memberof SignPresentationLdpInputDto */ challenge?: string; /** * wallet key ID to use for signing (defaults to wallet\'s default key) * @type {string} * @memberof SignPresentationLdpInputDto */ keyId?: string; } export declare const SignPresentationLdpInputDtoSignatureSchemeEnum: { readonly EcdsaSecp256k1Sha256: "ecdsa_secp256k1_sha256"; readonly EcdsaP256Sha256: "ecdsa_p256_sha256"; readonly Ed25519: "ed25519"; }; export type SignPresentationLdpInputDtoSignatureSchemeEnum = (typeof SignPresentationLdpInputDtoSignatureSchemeEnum)[keyof typeof SignPresentationLdpInputDtoSignatureSchemeEnum]; export declare const SignPresentationLdpInputDtoSignatureSuiteEnum: { readonly EcdsaJcs2019: "ecdsa-jcs-2019"; readonly EcdsaRdfc2019: "ecdsa-rdfc-2019"; readonly EddsaJcs2022: "eddsa-jcs-2022"; readonly EddsaRdfc2022: "eddsa-rdfc-2022"; readonly EcdsaSecp256k1Signature2019: "EcdsaSecp256k1Signature2019"; }; export type SignPresentationLdpInputDtoSignatureSuiteEnum = (typeof SignPresentationLdpInputDtoSignatureSuiteEnum)[keyof typeof SignPresentationLdpInputDtoSignatureSuiteEnum]; /** * DTO contains signed presentation * @export * @interface SignPresentationLdpResultDto */ export interface SignPresentationLdpResultDto { /** * Signed presentation in Dm1Ld format * @type {object} * @memberof SignPresentationLdpResultDto */ presentation: object; } /** * * @export * @interface SigningFailedError */ export interface SigningFailedError { /** * * @type {string} * @memberof SigningFailedError */ name: SigningFailedErrorNameEnum; /** * * @type {string} * @memberof SigningFailedError */ message: SigningFailedErrorMessageEnum; /** * * @type {number} * @memberof SigningFailedError */ httpStatusCode: SigningFailedErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof SigningFailedError */ traceId: string; /** * * @type {Array} * @memberof SigningFailedError */ details?: Array; } export declare const SigningFailedErrorNameEnum: { readonly SigningFailedError: "SigningFailedError"; }; export type SigningFailedErrorNameEnum = (typeof SigningFailedErrorNameEnum)[keyof typeof SigningFailedErrorNameEnum]; export declare const SigningFailedErrorMessageEnum: { readonly SigningFailed: "Signing failed."; }; export type SigningFailedErrorMessageEnum = (typeof SigningFailedErrorMessageEnum)[keyof typeof SigningFailedErrorMessageEnum]; export declare const SigningFailedErrorHttpStatusCodeEnum: { readonly NUMBER_400: 400; }; export type SigningFailedErrorHttpStatusCodeEnum = (typeof SigningFailedErrorHttpStatusCodeEnum)[keyof typeof SigningFailedErrorHttpStatusCodeEnum]; /** * * @export * @interface TooManyRequestsError */ export interface TooManyRequestsError { /** * * @type {string} * @memberof TooManyRequestsError */ name: TooManyRequestsErrorNameEnum; /** * * @type {string} * @memberof TooManyRequestsError */ message: TooManyRequestsErrorMessageEnum; /** * * @type {number} * @memberof TooManyRequestsError */ httpStatusCode: TooManyRequestsErrorHttpStatusCodeEnum; /** * * @type {string} * @memberof TooManyRequestsError */ traceId: string; /** * * @type {Array} * @memberof TooManyRequestsError */ details?: Array; } export declare const TooManyRequestsErrorNameEnum: { readonly TooManyRequestsError: "TooManyRequestsError"; }; export type TooManyRequestsErrorNameEnum = (typeof TooManyRequestsErrorNameEnum)[keyof typeof TooManyRequestsErrorNameEnum]; export declare const TooManyRequestsErrorMessageEnum: { readonly TooManyConcurrentRequestsToTheSameWalletTheOperationFailedAfterMultipleRetryAttemptsDueToConcurrentUpdatesPleaseRetryYourRequestAfterAShortDelay: "Too many concurrent requests to the same wallet. The operation failed after multiple retry attempts due to concurrent updates. Please retry your request after a short delay."; }; export type TooManyRequestsErrorMessageEnum = (typeof TooManyRequestsErrorMessageEnum)[keyof typeof TooManyRequestsErrorMessageEnum]; export declare const TooManyRequestsErrorHttpStatusCodeEnum: { readonly NUMBER_429: 429; }; export type TooManyRequestsErrorHttpStatusCodeEnum = (typeof TooManyRequestsErrorHttpStatusCodeEnum)[keyof typeof TooManyRequestsErrorHttpStatusCodeEnum]; /** * Input for updating a service endpoint * @export * @interface UpdateServiceEndpointInput */ export interface UpdateServiceEndpointInput { /** * Alphanumeric string with common punctuation (max 100 characters) * @type {string} * @memberof UpdateServiceEndpointInput */ name?: string; /** * Alphanumeric string with common punctuation (max 500 characters) * @type {string} * @memberof UpdateServiceEndpointInput */ description?: string; /** * HTTP or HTTPS URL * @type {string} * @memberof UpdateServiceEndpointInput */ url?: string; } /** * Update wallet input params * @export * @interface UpdateWalletInput */ export interface UpdateWalletInput { /** * The name of the wallet * @type {string} * @memberof UpdateWalletInput */ name?: string; /** * The description of the wallet * @type {string} * @memberof UpdateWalletInput */ description?: string; } /** * Input for updating an existing wallet key. Only supported for did:web wallets. * @export * @interface UpdateWalletKeyInput */ export interface UpdateWalletKeyInput { /** * verification relationships for the key * @type {Array} * @memberof UpdateWalletKeyInput */ relationships?: Array; } /** * DID document verification relationship * @export * @enum {string} */ export declare const VerificationRelationship: { readonly Authentication: "authentication"; readonly AssertionMethod: "assertionMethod"; readonly KeyAgreement: "keyAgreement"; readonly CapabilityInvocation: "capabilityInvocation"; readonly CapabilityDelegation: "capabilityDelegation"; }; export type VerificationRelationship = (typeof VerificationRelationship)[keyof typeof VerificationRelationship]; /** * DID method type for the wallet * @export * @enum {string} */ export declare const WalletDidType: { readonly Web: "WEB"; readonly Key: "KEY"; }; export type WalletDidType = (typeof WalletDidType)[keyof typeof WalletDidType]; /** * wallet dto * @export * @interface WalletDto */ export interface WalletDto { /** * id of the wallet in uuidV4 format * @type {string} * @memberof WalletDto */ id?: string; /** * did of the wallet * @type {string} * @memberof WalletDto */ did?: string; /** * The name of the wallet * @type {string} * @memberof WalletDto */ name?: string; /** * The description of the wallet * @type {string} * @memberof WalletDto */ description?: string; /** * did document of the wallet * @type {object} * @memberof WalletDto */ didDocument?: object; /** * ARI of the wallet * @type {string} * @memberof WalletDto */ ari?: string; /** * * @type {Array} * @memberof WalletDto */ keys?: Array; /** * * @type {string} * @memberof WalletDto */ createdAt?: string; /** * * @type {string} * @memberof WalletDto */ modifiedAt?: string; } /** * * @export * @interface WalletDtoKeysInner */ export interface WalletDtoKeysInner { /** * id of linked key * @type {string} * @memberof WalletDtoKeysInner */ id?: string; /** * ari of linked key * @type {string} * @memberof WalletDtoKeysInner */ ari?: string; } /** * Detailed information about a wallet key. Multiple keys are only supported for did:web wallets. * @export * @interface WalletKeyDto */ export interface WalletKeyDto { /** * wallet-scoped key identifier (e.g., \"key-1\") * @type {string} * @memberof WalletKeyDto */ keyId?: string; /** * cryptographic algorithm used by this key * @type {string} * @memberof WalletKeyDto */ keyType?: WalletKeyDtoKeyTypeEnum; /** * ARI identifier for the key (e.g., \"ari:key:...\") * @type {string} * @memberof WalletKeyDto */ keyAri?: string; /** * verification relationships this key supports * @type {Array} * @memberof WalletKeyDto */ relationships?: Array; } export declare const WalletKeyDtoKeyTypeEnum: { readonly Secp256k1: "secp256k1"; readonly Ed25519: "ed25519"; readonly P256: "p256"; }; export type WalletKeyDtoKeyTypeEnum = (typeof WalletKeyDtoKeyTypeEnum)[keyof typeof WalletKeyDtoKeyTypeEnum]; /** * wallet v2 dto * @export * @interface WalletV2Dto */ export interface WalletV2Dto { /** * id of the wallet in uuidV4 format * @type {string} * @memberof WalletV2Dto */ id?: string; /** * did of the wallet * @type {string} * @memberof WalletV2Dto */ did?: string; /** * The name of the wallet * @type {string} * @memberof WalletV2Dto */ name?: string; /** * The description of the wallet * @type {string} * @memberof WalletV2Dto */ description?: string; /** * did document of the wallet * @type {object} * @memberof WalletV2Dto */ didDocument?: object; /** * ARI of the wallet * @type {string} * @memberof WalletV2Dto */ ari?: string; /** * algorithm used to generate key for the wallet * @type {string} * @memberof WalletV2Dto */ algorithm?: string; /** * * @type {Array} * @memberof WalletV2Dto */ keys?: Array; /** * list of service endpoints associated with this wallet * @type {Array} * @memberof WalletV2Dto */ services?: Array; /** * * @type {string} * @memberof WalletV2Dto */ createdAt?: string; /** * * @type {string} * @memberof WalletV2Dto */ modifiedAt?: string; } /** * list of wallets * @export * @interface WalletsListDto */ export interface WalletsListDto { /** * * @type {Array} * @memberof WalletsListDto */ wallets?: Array; } /** * RevocationApi - axios parameter creator * @export */ export declare const RevocationApiAxiosParamCreator: (configuration?: Configuration) => { /** * Get revocation status list as RevocationListCredential * @param {string} projectId Description for projectId. * @param {string} walletId Description for walletId. * @param {string} statusId Description for statusId. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRevocationCredentialStatus: (projectId: string, walletId: string, statusId: string, options?: RawAxiosRequestConfig) => Promise; /** * Get revocation list 2020 Credential (required to check if VC revoked). It is a public endpoint. * @summary Return revocation list credential. * @param {string} listId * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ getRevocationListCredential: (listId: string, walletId: string, options?: RawAxiosRequestConfig) => Promise; /** * Update index/credetial at appropriate revocation list (set revoken is true). * @summary Revoke Credential. * @param {string} walletId id of the wallet * @param {RevokeCredentialInput} revokeCredentialInput RevokeCredential * @param {*} [options] Override http request option. * @throws {RequiredError} */ revokeCredential: (walletId: string, revokeCredentialInput: RevokeCredentialInput, options?: RawAxiosRequestConfig) => Promise; /** * Update index/credential at appropriate revocation list (set revoked is true). * @summary Revoke Credentials. * @param {string} walletId id of the wallet * @param {RevokeCredentialsInput} revokeCredentialsInput RevokeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} */ revokeCredentials: (walletId: string, revokeCredentialsInput: RevokeCredentialsInput, options?: RawAxiosRequestConfig) => Promise; }; /** * RevocationApi - functional programming interface * @export */ export declare const RevocationApiFp: (configuration?: Configuration) => { /** * Get revocation status list as RevocationListCredential * @param {string} projectId Description for projectId. * @param {string} walletId Description for walletId. * @param {string} statusId Description for statusId. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRevocationCredentialStatus(projectId: string, walletId: string, statusId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get revocation list 2020 Credential (required to check if VC revoked). It is a public endpoint. * @summary Return revocation list credential. * @param {string} listId * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ getRevocationListCredential(listId: string, walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Update index/credetial at appropriate revocation list (set revoken is true). * @summary Revoke Credential. * @param {string} walletId id of the wallet * @param {RevokeCredentialInput} revokeCredentialInput RevokeCredential * @param {*} [options] Override http request option. * @throws {RequiredError} */ revokeCredential(walletId: string, revokeCredentialInput: RevokeCredentialInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Update index/credential at appropriate revocation list (set revoked is true). * @summary Revoke Credentials. * @param {string} walletId id of the wallet * @param {RevokeCredentialsInput} revokeCredentialsInput RevokeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} */ revokeCredentials(walletId: string, revokeCredentialsInput: RevokeCredentialsInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * RevocationApi - factory interface * @export */ export declare const RevocationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Get revocation status list as RevocationListCredential * @param {string} projectId Description for projectId. * @param {string} walletId Description for walletId. * @param {string} statusId Description for statusId. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getRevocationCredentialStatus(projectId: string, walletId: string, statusId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Get revocation list 2020 Credential (required to check if VC revoked). It is a public endpoint. * @summary Return revocation list credential. * @param {string} listId * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ getRevocationListCredential(listId: string, walletId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Update index/credetial at appropriate revocation list (set revoken is true). * @summary Revoke Credential. * @param {string} walletId id of the wallet * @param {RevokeCredentialInput} revokeCredentialInput RevokeCredential * @param {*} [options] Override http request option. * @throws {RequiredError} */ revokeCredential(walletId: string, revokeCredentialInput: RevokeCredentialInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * Update index/credential at appropriate revocation list (set revoked is true). * @summary Revoke Credentials. * @param {string} walletId id of the wallet * @param {RevokeCredentialsInput} revokeCredentialsInput RevokeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} */ revokeCredentials(walletId: string, revokeCredentialsInput: RevokeCredentialsInput, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * RevocationApi - object-oriented interface * @export * @class RevocationApi * @extends {BaseAPI} */ export declare class RevocationApi extends BaseAPI { /** * Get revocation status list as RevocationListCredential * @param {string} projectId Description for projectId. * @param {string} walletId Description for walletId. * @param {string} statusId Description for statusId. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RevocationApi */ getRevocationCredentialStatus(projectId: string, walletId: string, statusId: string, options?: RawAxiosRequestConfig): Promise>; /** * Get revocation list 2020 Credential (required to check if VC revoked). It is a public endpoint. * @summary Return revocation list credential. * @param {string} listId * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} * @memberof RevocationApi */ getRevocationListCredential(listId: string, walletId: string, options?: RawAxiosRequestConfig): Promise>; /** * Update index/credetial at appropriate revocation list (set revoken is true). * @summary Revoke Credential. * @param {string} walletId id of the wallet * @param {RevokeCredentialInput} revokeCredentialInput RevokeCredential * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RevocationApi */ revokeCredential(walletId: string, revokeCredentialInput: RevokeCredentialInput, options?: RawAxiosRequestConfig): Promise>; /** * Update index/credential at appropriate revocation list (set revoked is true). * @summary Revoke Credentials. * @param {string} walletId id of the wallet * @param {RevokeCredentialsInput} revokeCredentialsInput RevokeCredentials * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RevocationApi */ revokeCredentials(walletId: string, revokeCredentialsInput: RevokeCredentialsInput, options?: RawAxiosRequestConfig): Promise>; } /** * WalletApi - axios parameter creator * @export */ export declare const WalletApiAxiosParamCreator: (configuration?: Configuration) => { /** * Add service endpoint to wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {ServiceEndpointInput} serviceEndpointInput AddServiceEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ createServiceEndpoint: (walletId: string, serviceEndpointInput: ServiceEndpointInput, options?: RawAxiosRequestConfig) => Promise; /** * creates a wallet * @param {CreateWalletInput} [createWalletInput] CreateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWallet: (createWalletInput?: CreateWalletInput, options?: RawAxiosRequestConfig) => Promise; /** * Add a new key to the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {CreateWalletKeyInput} createWalletKeyInput CreateWalletKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWalletKey: (walletId: string, createWalletKeyInput: CreateWalletKeyInput, options?: RawAxiosRequestConfig) => Promise; /** * Create v2 wallet * @param {CreateWalletV2Input} [createWalletV2Input] CreateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWalletV2: (createWalletV2Input?: CreateWalletV2Input, options?: RawAxiosRequestConfig) => Promise; /** * delete wallet by walletId * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWallet: (walletId: string, options?: RawAxiosRequestConfig) => Promise; /** * get wallet details using wallet Id. * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWallet: (walletId: string, options?: RawAxiosRequestConfig) => Promise; /** * List service endpoints in wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ listServiceEndpoints: (walletId: string, options?: RawAxiosRequestConfig) => Promise; /** * List all keys in the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWalletKeys: (walletId: string, options?: RawAxiosRequestConfig) => Promise; /** * lists all wallets * @param {WalletDidType} [didType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWallets: (didType?: WalletDidType, options?: RawAxiosRequestConfig) => Promise; /** * Remove service endpoint from wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} serviceId id of the service endpoint to remove * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeServiceEndpoint: (walletId: string, serviceId: string, options?: RawAxiosRequestConfig) => Promise; /** * Remove a key from the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} keyId id of the key to remove * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeWalletKey: (walletId: string, keyId: string, options?: RawAxiosRequestConfig) => Promise; /** * signs credential with the wallet * @param {string} walletId id of the wallet * @param {SignCredentialInputDto} signCredentialInputDto SignCredential * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredential: (walletId: string, signCredentialInputDto: SignCredentialInputDto, options?: RawAxiosRequestConfig) => Promise; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsJwtInputDto} signCredentialsJwtInputDto signCredentialsJwt * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredentialsJwt: (walletId: string, signCredentialsJwtInputDto: SignCredentialsJwtInputDto, options?: RawAxiosRequestConfig) => Promise; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsLdpInputDto} signCredentialsLdpInputDto signCredentialsLdp * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredentialsLdp: (walletId: string, signCredentialsLdpInputDto: SignCredentialsLdpInputDto, options?: RawAxiosRequestConfig) => Promise; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsDm2SdJwtInputDto} signCredentialsDm2SdJwtInputDto SignCredentialsDm1SdJwt * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredentialsSdJwt: (walletId: string, signCredentialsDm2SdJwtInputDto: SignCredentialsDm2SdJwtInputDto, options?: RawAxiosRequestConfig) => Promise; /** * signs a jwt token with the wallet * @param {string} walletId id of the wallet. * @param {SignJwtToken} signJwtToken SignJwtToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ signJwtToken: (walletId: string, signJwtToken: SignJwtToken, options?: RawAxiosRequestConfig) => Promise; /** * Sign a JSON Web Token (JWT). * @summary Sign JWT. * @param {string} walletId id of the wallet * @param {SignJwtV2InputDto} signJwtV2InputDto SignJwtV2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ signJwtV2: (walletId: string, signJwtV2InputDto: SignJwtV2InputDto, options?: RawAxiosRequestConfig) => Promise; /** * signs presentation with the wallet * @param {string} walletId id of the wallet * @param {SignPresentationLdpInputDto} signPresentationLdpInputDto signPresentationLdp * @param {*} [options] Override http request option. * @throws {RequiredError} */ signPresentationsLdp: (walletId: string, signPresentationLdpInputDto: SignPresentationLdpInputDto, options?: RawAxiosRequestConfig) => Promise; /** * Update service endpoint in wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} serviceId id of the service endpoint to update * @param {UpdateServiceEndpointInput} updateServiceEndpointInput UpdateServiceEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateServiceEndpoint: (walletId: string, serviceId: string, updateServiceEndpointInput: UpdateServiceEndpointInput, options?: RawAxiosRequestConfig) => Promise; /** * update wallet details using wallet Id. * @param {string} walletId id of the wallet * @param {UpdateWalletInput} updateWalletInput UpdateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWallet: (walletId: string, updateWalletInput: UpdateWalletInput, options?: RawAxiosRequestConfig) => Promise; /** * Update a wallet key\'s verification relationships, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} keyId wallet-scoped key identifier to update * @param {UpdateWalletKeyInput} updateWalletKeyInput UpdateWalletKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWalletKey: (walletId: string, keyId: string, updateWalletKeyInput: UpdateWalletKeyInput, options?: RawAxiosRequestConfig) => Promise; }; /** * WalletApi - functional programming interface * @export */ export declare const WalletApiFp: (configuration?: Configuration) => { /** * Add service endpoint to wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {ServiceEndpointInput} serviceEndpointInput AddServiceEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ createServiceEndpoint(walletId: string, serviceEndpointInput: ServiceEndpointInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * creates a wallet * @param {CreateWalletInput} [createWalletInput] CreateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWallet(createWalletInput?: CreateWalletInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Add a new key to the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {CreateWalletKeyInput} createWalletKeyInput CreateWalletKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWalletKey(walletId: string, createWalletKeyInput: CreateWalletKeyInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Create v2 wallet * @param {CreateWalletV2Input} [createWalletV2Input] CreateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWalletV2(createWalletV2Input?: CreateWalletV2Input, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * delete wallet by walletId * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWallet(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * get wallet details using wallet Id. * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWallet(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List service endpoints in wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ listServiceEndpoints(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List all keys in the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWalletKeys(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * lists all wallets * @param {WalletDidType} [didType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWallets(didType?: WalletDidType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Remove service endpoint from wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} serviceId id of the service endpoint to remove * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeServiceEndpoint(walletId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Remove a key from the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} keyId id of the key to remove * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeWalletKey(walletId: string, keyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * signs credential with the wallet * @param {string} walletId id of the wallet * @param {SignCredentialInputDto} signCredentialInputDto SignCredential * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredential(walletId: string, signCredentialInputDto: SignCredentialInputDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsJwtInputDto} signCredentialsJwtInputDto signCredentialsJwt * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredentialsJwt(walletId: string, signCredentialsJwtInputDto: SignCredentialsJwtInputDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsLdpInputDto} signCredentialsLdpInputDto signCredentialsLdp * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredentialsLdp(walletId: string, signCredentialsLdpInputDto: SignCredentialsLdpInputDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsDm2SdJwtInputDto} signCredentialsDm2SdJwtInputDto SignCredentialsDm1SdJwt * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredentialsSdJwt(walletId: string, signCredentialsDm2SdJwtInputDto: SignCredentialsDm2SdJwtInputDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * signs a jwt token with the wallet * @param {string} walletId id of the wallet. * @param {SignJwtToken} signJwtToken SignJwtToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ signJwtToken(walletId: string, signJwtToken: SignJwtToken, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Sign a JSON Web Token (JWT). * @summary Sign JWT. * @param {string} walletId id of the wallet * @param {SignJwtV2InputDto} signJwtV2InputDto SignJwtV2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ signJwtV2(walletId: string, signJwtV2InputDto: SignJwtV2InputDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * signs presentation with the wallet * @param {string} walletId id of the wallet * @param {SignPresentationLdpInputDto} signPresentationLdpInputDto signPresentationLdp * @param {*} [options] Override http request option. * @throws {RequiredError} */ signPresentationsLdp(walletId: string, signPresentationLdpInputDto: SignPresentationLdpInputDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Update service endpoint in wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} serviceId id of the service endpoint to update * @param {UpdateServiceEndpointInput} updateServiceEndpointInput UpdateServiceEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateServiceEndpoint(walletId: string, serviceId: string, updateServiceEndpointInput: UpdateServiceEndpointInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * update wallet details using wallet Id. * @param {string} walletId id of the wallet * @param {UpdateWalletInput} updateWalletInput UpdateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWallet(walletId: string, updateWalletInput: UpdateWalletInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Update a wallet key\'s verification relationships, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} keyId wallet-scoped key identifier to update * @param {UpdateWalletKeyInput} updateWalletKeyInput UpdateWalletKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWalletKey(walletId: string, keyId: string, updateWalletKeyInput: UpdateWalletKeyInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * WalletApi - factory interface * @export */ export declare const WalletApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Add service endpoint to wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {ServiceEndpointInput} serviceEndpointInput AddServiceEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ createServiceEndpoint(walletId: string, serviceEndpointInput: ServiceEndpointInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * creates a wallet * @param {CreateWalletInput} [createWalletInput] CreateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWallet(createWalletInput?: CreateWalletInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * Add a new key to the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {CreateWalletKeyInput} createWalletKeyInput CreateWalletKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWalletKey(walletId: string, createWalletKeyInput: CreateWalletKeyInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * Create v2 wallet * @param {CreateWalletV2Input} [createWalletV2Input] CreateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWalletV2(createWalletV2Input?: CreateWalletV2Input, options?: RawAxiosRequestConfig): AxiosPromise; /** * delete wallet by walletId * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWallet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * get wallet details using wallet Id. * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWallet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * List service endpoints in wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ listServiceEndpoints(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * List all keys in the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWalletKeys(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * lists all wallets * @param {WalletDidType} [didType] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWallets(didType?: WalletDidType, options?: RawAxiosRequestConfig): AxiosPromise; /** * Remove service endpoint from wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} serviceId id of the service endpoint to remove * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeServiceEndpoint(walletId: string, serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Remove a key from the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} keyId id of the key to remove * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeWalletKey(walletId: string, keyId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * signs credential with the wallet * @param {string} walletId id of the wallet * @param {SignCredentialInputDto} signCredentialInputDto SignCredential * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredential(walletId: string, signCredentialInputDto: SignCredentialInputDto, options?: RawAxiosRequestConfig): AxiosPromise; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsJwtInputDto} signCredentialsJwtInputDto signCredentialsJwt * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredentialsJwt(walletId: string, signCredentialsJwtInputDto: SignCredentialsJwtInputDto, options?: RawAxiosRequestConfig): AxiosPromise; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsLdpInputDto} signCredentialsLdpInputDto signCredentialsLdp * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredentialsLdp(walletId: string, signCredentialsLdpInputDto: SignCredentialsLdpInputDto, options?: RawAxiosRequestConfig): AxiosPromise; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsDm2SdJwtInputDto} signCredentialsDm2SdJwtInputDto SignCredentialsDm1SdJwt * @param {*} [options] Override http request option. * @throws {RequiredError} */ signCredentialsSdJwt(walletId: string, signCredentialsDm2SdJwtInputDto: SignCredentialsDm2SdJwtInputDto, options?: RawAxiosRequestConfig): AxiosPromise; /** * signs a jwt token with the wallet * @param {string} walletId id of the wallet. * @param {SignJwtToken} signJwtToken SignJwtToken * @param {*} [options] Override http request option. * @throws {RequiredError} */ signJwtToken(walletId: string, signJwtToken: SignJwtToken, options?: RawAxiosRequestConfig): AxiosPromise; /** * Sign a JSON Web Token (JWT). * @summary Sign JWT. * @param {string} walletId id of the wallet * @param {SignJwtV2InputDto} signJwtV2InputDto SignJwtV2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ signJwtV2(walletId: string, signJwtV2InputDto: SignJwtV2InputDto, options?: RawAxiosRequestConfig): AxiosPromise; /** * signs presentation with the wallet * @param {string} walletId id of the wallet * @param {SignPresentationLdpInputDto} signPresentationLdpInputDto signPresentationLdp * @param {*} [options] Override http request option. * @throws {RequiredError} */ signPresentationsLdp(walletId: string, signPresentationLdpInputDto: SignPresentationLdpInputDto, options?: RawAxiosRequestConfig): AxiosPromise; /** * Update service endpoint in wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} serviceId id of the service endpoint to update * @param {UpdateServiceEndpointInput} updateServiceEndpointInput UpdateServiceEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateServiceEndpoint(walletId: string, serviceId: string, updateServiceEndpointInput: UpdateServiceEndpointInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * update wallet details using wallet Id. * @param {string} walletId id of the wallet * @param {UpdateWalletInput} updateWalletInput UpdateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWallet(walletId: string, updateWalletInput: UpdateWalletInput, options?: RawAxiosRequestConfig): AxiosPromise; /** * Update a wallet key\'s verification relationships, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} keyId wallet-scoped key identifier to update * @param {UpdateWalletKeyInput} updateWalletKeyInput UpdateWalletKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWalletKey(walletId: string, keyId: string, updateWalletKeyInput: UpdateWalletKeyInput, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * WalletApi - object-oriented interface * @export * @class WalletApi * @extends {BaseAPI} */ export declare class WalletApi extends BaseAPI { /** * Add service endpoint to wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {ServiceEndpointInput} serviceEndpointInput AddServiceEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ createServiceEndpoint(walletId: string, serviceEndpointInput: ServiceEndpointInput, options?: RawAxiosRequestConfig): Promise>; /** * creates a wallet * @param {CreateWalletInput} [createWalletInput] CreateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ createWallet(createWalletInput?: CreateWalletInput, options?: RawAxiosRequestConfig): Promise>; /** * Add a new key to the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {CreateWalletKeyInput} createWalletKeyInput CreateWalletKey * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ createWalletKey(walletId: string, createWalletKeyInput: CreateWalletKeyInput, options?: RawAxiosRequestConfig): Promise>; /** * Create v2 wallet * @param {CreateWalletV2Input} [createWalletV2Input] CreateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ createWalletV2(createWalletV2Input?: CreateWalletV2Input, options?: RawAxiosRequestConfig): Promise>; /** * delete wallet by walletId * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ deleteWallet(walletId: string, options?: RawAxiosRequestConfig): Promise>; /** * get wallet details using wallet Id. * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ getWallet(walletId: string, options?: RawAxiosRequestConfig): Promise>; /** * List service endpoints in wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ listServiceEndpoints(walletId: string, options?: RawAxiosRequestConfig): Promise>; /** * List all keys in the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ listWalletKeys(walletId: string, options?: RawAxiosRequestConfig): Promise>; /** * lists all wallets * @param {WalletDidType} [didType] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ listWallets(didType?: WalletDidType, options?: RawAxiosRequestConfig): Promise>; /** * Remove service endpoint from wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} serviceId id of the service endpoint to remove * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ removeServiceEndpoint(walletId: string, serviceId: string, options?: RawAxiosRequestConfig): Promise>; /** * Remove a key from the wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} keyId id of the key to remove * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ removeWalletKey(walletId: string, keyId: string, options?: RawAxiosRequestConfig): Promise>; /** * signs credential with the wallet * @param {string} walletId id of the wallet * @param {SignCredentialInputDto} signCredentialInputDto SignCredential * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ signCredential(walletId: string, signCredentialInputDto: SignCredentialInputDto, options?: RawAxiosRequestConfig): Promise>; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsJwtInputDto} signCredentialsJwtInputDto signCredentialsJwt * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ signCredentialsJwt(walletId: string, signCredentialsJwtInputDto: SignCredentialsJwtInputDto, options?: RawAxiosRequestConfig): Promise>; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsLdpInputDto} signCredentialsLdpInputDto signCredentialsLdp * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ signCredentialsLdp(walletId: string, signCredentialsLdpInputDto: SignCredentialsLdpInputDto, options?: RawAxiosRequestConfig): Promise>; /** * signs credential with the wallet v2 * @param {string} walletId id of the wallet * @param {SignCredentialsDm2SdJwtInputDto} signCredentialsDm2SdJwtInputDto SignCredentialsDm1SdJwt * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ signCredentialsSdJwt(walletId: string, signCredentialsDm2SdJwtInputDto: SignCredentialsDm2SdJwtInputDto, options?: RawAxiosRequestConfig): Promise>; /** * signs a jwt token with the wallet * @param {string} walletId id of the wallet. * @param {SignJwtToken} signJwtToken SignJwtToken * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ signJwtToken(walletId: string, signJwtToken: SignJwtToken, options?: RawAxiosRequestConfig): Promise>; /** * Sign a JSON Web Token (JWT). * @summary Sign JWT. * @param {string} walletId id of the wallet * @param {SignJwtV2InputDto} signJwtV2InputDto SignJwtV2 * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ signJwtV2(walletId: string, signJwtV2InputDto: SignJwtV2InputDto, options?: RawAxiosRequestConfig): Promise>; /** * signs presentation with the wallet * @param {string} walletId id of the wallet * @param {SignPresentationLdpInputDto} signPresentationLdpInputDto signPresentationLdp * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ signPresentationsLdp(walletId: string, signPresentationLdpInputDto: SignPresentationLdpInputDto, options?: RawAxiosRequestConfig): Promise>; /** * Update service endpoint in wallet, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} serviceId id of the service endpoint to update * @param {UpdateServiceEndpointInput} updateServiceEndpointInput UpdateServiceEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ updateServiceEndpoint(walletId: string, serviceId: string, updateServiceEndpointInput: UpdateServiceEndpointInput, options?: RawAxiosRequestConfig): Promise>; /** * update wallet details using wallet Id. * @param {string} walletId id of the wallet * @param {UpdateWalletInput} updateWalletInput UpdateWallet * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ updateWallet(walletId: string, updateWalletInput: UpdateWalletInput, options?: RawAxiosRequestConfig): Promise>; /** * Update a wallet key\'s verification relationships, this applies to did:web only * @param {string} walletId id of the wallet * @param {string} keyId wallet-scoped key identifier to update * @param {UpdateWalletKeyInput} updateWalletKeyInput UpdateWalletKey * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WalletApi */ updateWalletKey(walletId: string, keyId: string, updateWalletKeyInput: UpdateWalletKeyInput, options?: RawAxiosRequestConfig): Promise>; }