UNPKG

@affinidi/internal-api-clients

Version:
1,064 lines (1,063 loc) 40.5 kB
import { GetParams } from '@affinidi/tools-openapi'; type ConstructorOptions = { cloudWalletUrl: string; accessApiKey: string; }; declare const clientMethods: { readonly GetCredential: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params?: undefined; queryParams?: undefined; pathParams: { readonly id: string; }; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: { readonly id: string; }; queryParams: undefined; requestBody: undefined; responseBody: { readonly id: string; readonly type: string[]; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly credentialSubject: { [x: string]: any; }; readonly holder?: { [x: string]: any; } | null | undefined; readonly issuanceDate?: string | null | undefined; readonly expirationDate?: string | null | undefined; readonly credentialStatus?: { readonly id: string; readonly type: string; readonly revocationListIndex: string; readonly revocationListCredential: string; } | null | undefined; } | { readonly data: string | { [x: string]: any; }; readonly version: string; readonly signature?: { readonly type?: string | undefined; readonly proof?: string | { [x: string]: any; } | (string | { [x: string]: any; })[] | undefined; readonly targetHash?: string | undefined; readonly merkleRoot?: string | undefined; } | undefined; }; }>>; readonly DeleteCredential: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params?: undefined; queryParams?: undefined; pathParams: { readonly id: string; }; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: { readonly id: string; }; queryParams: undefined; requestBody: undefined; responseBody: undefined; }>>; readonly GetCredentials: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params?: undefined; queryParams: { readonly credentialShareRequestToken?: string | undefined; }; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: { readonly credentialShareRequestToken?: string | undefined; }; requestBody: undefined; responseBody: ({ readonly id: string; readonly type: string[]; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly credentialSubject: { [x: string]: any; }; readonly holder?: { [x: string]: any; } | null | undefined; readonly issuanceDate?: string | null | undefined; readonly expirationDate?: string | null | undefined; readonly credentialStatus?: { readonly id: string; readonly type: string; readonly revocationListIndex: string; readonly revocationListCredential: string; } | null | undefined; } | { readonly data: string | { [x: string]: any; }; readonly version: string; readonly signature?: { readonly type?: string | undefined; readonly proof?: string | { [x: string]: any; } | (string | { [x: string]: any; })[] | undefined; readonly targetHash?: string | undefined; readonly merkleRoot?: string | undefined; } | undefined; })[]; }>>; readonly StoreCredentials: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly data: ({ [x: string]: any; readonly id: string; readonly type: string[]; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly credentialSubject: { [x: string]: any; }; readonly holder?: { [x: string]: any; } | null | undefined; readonly issuanceDate?: string | null | undefined; readonly expirationDate?: string | null | undefined; readonly credentialStatus?: { readonly id: string; readonly type: string; readonly revocationListIndex: string; readonly revocationListCredential: string; } | null | undefined; } | { [x: string]: any; readonly data: string | { [x: string]: any; }; readonly version: string; readonly signature?: { readonly type?: string | undefined; readonly proof?: string | { [x: string]: any; } | (string | { [x: string]: any; })[] | undefined; readonly targetHash?: string | undefined; readonly merkleRoot?: string | undefined; } | undefined; })[]; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly data: ({ [x: string]: any; readonly id: string; readonly type: string[]; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly credentialSubject: { [x: string]: any; }; readonly holder?: { [x: string]: any; } | null | undefined; readonly issuanceDate?: string | null | undefined; readonly expirationDate?: string | null | undefined; readonly credentialStatus?: { readonly id: string; readonly type: string; readonly revocationListIndex: string; readonly revocationListCredential: string; } | null | undefined; } | { [x: string]: any; readonly data: string | { [x: string]: any; }; readonly version: string; readonly signature?: { readonly type?: string | undefined; readonly proof?: string | { [x: string]: any; } | (string | { [x: string]: any; })[] | undefined; readonly targetHash?: string | undefined; readonly merkleRoot?: string | undefined; } | undefined; })[]; }; responseBody: { readonly credentialIds: string[]; }; }>>; readonly ShareCredential: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly ttl?: (string & Record<never, never>) | null | undefined; }; queryParams?: undefined; pathParams: { readonly id: string; }; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: { readonly id: string; }; queryParams: undefined; requestBody: { readonly ttl?: (string & Record<never, never>) | null | undefined; }; responseBody: { readonly qrCode: string; readonly sharingUrl: string; }; }>>; readonly SignCredential: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly unsignedCredential: { readonly id: string; readonly type: string[]; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly credentialSubject: { [x: string]: any; }; readonly holder?: { [x: string]: any; } | null | undefined; readonly issuanceDate?: string | null | undefined; readonly expirationDate?: string | null | undefined; readonly credentialStatus?: { readonly id: string; readonly type: string; readonly revocationListIndex: string; readonly revocationListCredential: string; } | null | undefined; }; readonly keyType?: "rsa" | "bbs" | undefined; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly unsignedCredential: { readonly id: string; readonly type: string[]; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly credentialSubject: { [x: string]: any; }; readonly holder?: { [x: string]: any; } | null | undefined; readonly issuanceDate?: string | null | undefined; readonly expirationDate?: string | null | undefined; readonly credentialStatus?: { readonly id: string; readonly type: string; readonly revocationListIndex: string; readonly revocationListCredential: string; } | null | undefined; }; readonly keyType?: "rsa" | "bbs" | undefined; }; responseBody: { readonly signedCredential: { readonly id: string; readonly type: string[]; readonly issuer: string | { [x: string]: any; }; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly holder: { [x: string]: any; }; readonly credentialSubject: { [x: string]: any; }; readonly issuanceDate: string; readonly proof: { [x: string]: any; readonly type: string; }; readonly expirationDate?: string | null | undefined; }; }; }>>; readonly SignPresentation: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly challenge: string; readonly unsignedPresentation: { readonly type: string[]; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly holder: { [x: string]: any; }; readonly verifiableCredential: { readonly id: string; readonly type: string[]; readonly issuer: string | { [x: string]: any; }; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly holder: { [x: string]: any; }; readonly credentialSubject: { [x: string]: any; }; readonly issuanceDate: string; readonly proof: { [x: string]: any; readonly type: string; }; readonly expirationDate?: string | null | undefined; }[]; readonly id?: string | null | undefined; }; readonly domain: string; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly challenge: string; readonly unsignedPresentation: { readonly type: string[]; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly holder: { [x: string]: any; }; readonly verifiableCredential: { readonly id: string; readonly type: string[]; readonly issuer: string | { [x: string]: any; }; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly holder: { [x: string]: any; }; readonly credentialSubject: { [x: string]: any; }; readonly issuanceDate: string; readonly proof: { [x: string]: any; readonly type: string; }; readonly expirationDate?: string | null | undefined; }[]; readonly id?: string | null | undefined; }; readonly domain: string; }; responseBody: { readonly signedPresentation: { readonly type: string[]; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly holder: { [x: string]: any; }; readonly proof: { [x: string]: any; }; readonly verifiableCredential: { readonly id: string; readonly type: string[]; readonly issuer: string | { [x: string]: any; }; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly holder: { [x: string]: any; }; readonly credentialSubject: { [x: string]: any; }; readonly issuanceDate: string; readonly proof: { [x: string]: any; readonly type: string; }; readonly expirationDate?: string | null | undefined; }[]; readonly id?: string | null | undefined; }; }; }>>; readonly GenerateCredentialShareRequestToken: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly requirements: { readonly type: string[]; }[]; readonly audienceDid?: string | undefined; readonly callbackUrl?: string | undefined; readonly expiresAt?: string | undefined; readonly nonce?: string | undefined; readonly issuerDid?: string | undefined; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly requirements: { readonly type: string[]; }[]; readonly audienceDid?: string | undefined; readonly callbackUrl?: string | undefined; readonly expiresAt?: string | undefined; readonly nonce?: string | undefined; readonly issuerDid?: string | undefined; }; responseBody: string; }>>; readonly CreateCredentialShareResponseToken: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly credentials: { readonly id: string; readonly type: string[]; readonly issuer: string | { [x: string]: any; }; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly holder: { [x: string]: any; }; readonly credentialSubject: { [x: string]: any; }; readonly issuanceDate: string; readonly proof: { [x: string]: any; readonly type: string; }; readonly expirationDate?: string | null | undefined; }[]; readonly credentialShareRequestToken: string; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly credentials: { readonly id: string; readonly type: string[]; readonly issuer: string | { [x: string]: any; }; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly holder: { [x: string]: any; }; readonly credentialSubject: { [x: string]: any; }; readonly issuanceDate: string; readonly proof: { [x: string]: any; readonly type: string; }; readonly expirationDate?: string | null | undefined; }[]; readonly credentialShareRequestToken: string; }; responseBody: string; }>>; readonly RetrieveSharedCredential: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params?: undefined; queryParams: { readonly key: string; }; pathParams: { readonly hash: string; }; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: { readonly hash: string; }; queryParams: { readonly key: string; }; requestBody: undefined; responseBody: undefined; }>>; readonly GetDid: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params?: undefined; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: undefined; responseBody: string; }>>; readonly Login: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly username: string; readonly password: string; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly username: string; readonly password: string; }; responseBody: { readonly accessToken: string; readonly did: string; }; }>>; readonly SignUp: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly username: string; readonly password: string; readonly options?: { readonly didMethod?: (("jolo" | "elem") & Record<never, never>) | null | undefined; readonly keyTypes?: ("rsa" | "bbs")[] | undefined; } | null | undefined; readonly messageParameters?: { readonly message: string; readonly subject?: string | undefined; readonly htmlMessage?: string | undefined; } | null | undefined; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly username: string; readonly password: string; readonly options?: { readonly didMethod?: (("jolo" | "elem") & Record<never, never>) | null | undefined; readonly keyTypes?: ("rsa" | "bbs")[] | undefined; } | null | undefined; readonly messageParameters?: { readonly message: string; readonly subject?: string | undefined; readonly htmlMessage?: string | undefined; } | null | undefined; }; responseBody: string | { readonly accessToken: string; readonly did: string; }; }>>; readonly ConfirmSignUp: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly token: string; readonly confirmationCode: string; readonly options?: { readonly didMethod?: (("jolo" | "elem") & Record<never, never>) | null | undefined; readonly keyTypes?: ("rsa" | "bbs")[] | undefined; } | null | undefined; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly token: string; readonly confirmationCode: string; readonly options?: { readonly didMethod?: (("jolo" | "elem") & Record<never, never>) | null | undefined; readonly keyTypes?: ("rsa" | "bbs")[] | undefined; } | null | undefined; }; responseBody: { readonly accessToken: string; readonly did: string; }; }>>; readonly Logout: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params?: undefined; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: undefined; responseBody: undefined; }>>; readonly ForgotPassword: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly username: string; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly username: string; }; responseBody: undefined; }>>; readonly ForgotPasswordConfirm: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly username: string; readonly otp: string; readonly newPassword: string; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly username: string; readonly otp: string; readonly newPassword: string; }; responseBody: undefined; }>>; readonly ChangeUsername: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly username: string; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly username: string; }; responseBody: undefined; }>>; readonly ChangeUsernameConfirm: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly username: string; readonly confirmationCode: string; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly username: string; readonly confirmationCode: string; }; responseBody: undefined; }>>; readonly ChangePassword: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly newPassword: string; readonly oldPassword: string; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly newPassword: string; readonly oldPassword: string; }; responseBody: undefined; }>>; readonly SignIn: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly username: string; readonly messageParameters?: { readonly message: string; readonly subject?: string | undefined; readonly htmlMessage?: string | undefined; } | null | undefined; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly username: string; readonly messageParameters?: { readonly message: string; readonly subject?: string | undefined; readonly htmlMessage?: string | undefined; } | null | undefined; }; responseBody: string; }>>; readonly ConfirmSignIn: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly token: string; readonly confirmationCode: string; readonly issueSignupCredential?: boolean | null | undefined; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly token: string; readonly confirmationCode: string; readonly issueSignupCredential?: boolean | null | undefined; }; responseBody: { readonly accessToken: string; readonly did: string; }; }>>; readonly LogIn: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly username: string; readonly messageParameters?: { readonly message: string; readonly subject?: string | undefined; readonly htmlMessage?: string | undefined; } | null | undefined; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly username: string; readonly messageParameters?: { readonly message: string; readonly subject?: string | undefined; readonly htmlMessage?: string | undefined; } | null | undefined; }; responseBody: string; }>>; readonly ConfirmLogIn: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly token: string; readonly confirmationCode: string; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly token: string; readonly confirmationCode: string; }; responseBody: { readonly accessToken: string; readonly did: string; }; }>>; readonly SignJwt: (this: import("@affinidi/tools-openapi/dist/helpers/client").ThisData, requestOptions: { authorization?: string | undefined; storageRegion?: string | undefined; params: { readonly jwtObject: { readonly payload: { [x: string]: any; }; readonly header: { [x: string]: any; }; }; }; queryParams?: undefined; pathParams?: undefined; }) => Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly jwtObject: { readonly payload: { [x: string]: any; }; readonly header: { [x: string]: any; }; }; }; responseBody: { readonly jwtObject: { readonly payload: { [x: string]: any; }; readonly header: { [x: string]: any; }; readonly signature?: string | undefined; }; }; }>>; }; export default class CloudWalletApiService { private readonly client; constructor(options: ConstructorOptions); login(params: GetParams<typeof clientMethods.Login>): Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly username: string; readonly password: string; }; responseBody: { readonly accessToken: string; readonly did: string; }; }>>; signCredential(params: GetParams<typeof clientMethods.SignCredential>, accessToken: string): Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly unsignedCredential: { readonly id: string; readonly type: string[]; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly credentialSubject: { [x: string]: any; }; readonly holder?: { [x: string]: any; } | null | undefined; readonly issuanceDate?: string | null | undefined; readonly expirationDate?: string | null | undefined; readonly credentialStatus?: { readonly id: string; readonly type: string; readonly revocationListIndex: string; readonly revocationListCredential: string; } | null | undefined; }; readonly keyType?: "rsa" | "bbs" | undefined; }; responseBody: { readonly signedCredential: { readonly id: string; readonly type: string[]; readonly issuer: string | { [x: string]: any; }; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly holder: { [x: string]: any; }; readonly credentialSubject: { [x: string]: any; }; readonly issuanceDate: string; readonly proof: { [x: string]: any; readonly type: string; }; readonly expirationDate?: string | null | undefined; }; }; }>>; storeCredentials(params: GetParams<typeof clientMethods.StoreCredentials>, accessToken: string): Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly data: ({ [x: string]: any; readonly id: string; readonly type: string[]; readonly "@context": string | { [x: string]: any; } | (string | { [x: string]: any; })[]; readonly credentialSubject: { [x: string]: any; }; readonly holder?: { [x: string]: any; } | null | undefined; readonly issuanceDate?: string | null | undefined; readonly expirationDate?: string | null | undefined; readonly credentialStatus?: { readonly id: string; readonly type: string; readonly revocationListIndex: string; readonly revocationListCredential: string; } | null | undefined; } | { [x: string]: any; readonly data: string | { [x: string]: any; }; readonly version: string; readonly signature?: { readonly type?: string | undefined; readonly proof?: string | { [x: string]: any; } | (string | { [x: string]: any; })[] | undefined; readonly targetHash?: string | undefined; readonly merkleRoot?: string | undefined; } | undefined; })[]; }; responseBody: { readonly credentialIds: string[]; }; }>>; signJwt(jwtObject: GetParams<typeof clientMethods.SignJwt>['jwtObject'], accessToken: string): Promise<import("@affinidi/tools-openapi").ResponseForOperation<{ pathParams: undefined; queryParams: undefined; requestBody: { readonly jwtObject: { readonly payload: { [x: string]: any; }; readonly header: { [x: string]: any; }; }; }; responseBody: { readonly jwtObject: { readonly payload: { [x: string]: any; }; readonly header: { [x: string]: any; }; readonly signature?: string | undefined; }; }; }>>; } export {};