diff --git a/apps/vault/src/vault/http/rest/dto/account.dto.ts b/apps/vault/src/vault/http/rest/dto/account.dto.ts index 31e27f257..ba8d2aef0 100644 --- a/apps/vault/src/vault/http/rest/dto/account.dto.ts +++ b/apps/vault/src/vault/http/rest/dto/account.dto.ts @@ -1,4 +1,4 @@ -import { PublicAccount } from 'apps/vault/src/shared/type/domain.type' import { createZodDto } from 'nestjs-zod' +import { PublicAccount } from '../../../../shared/type/domain.type' export class AccountDto extends createZodDto(PublicAccount) {} diff --git a/packages/armory-sdk/src/lib/http/client/vault/api.ts b/packages/armory-sdk/src/lib/http/client/vault/api.ts index b9eedd163..a6893580c 100644 --- a/packages/armory-sdk/src/lib/http/client/vault/api.ts +++ b/packages/armory-sdk/src/lib/http/client/vault/api.ts @@ -37,16 +37,22 @@ export interface AccountDto { 'id': string; /** * - * @type {string} + * @type {any} * @memberof AccountDto */ - 'address': string; + 'publicKey': any; /** * * @type {any} * @memberof AccountDto */ - 'publicKey': any; + 'address': any; + /** + * + * @type {WalletsDtoWalletsInnerOrigin} + * @memberof AccountDto + */ + 'origin': WalletsDtoWalletsInnerOrigin; /** * * @type {string} @@ -1272,16 +1278,22 @@ export interface WalletDtoAccount { 'id': string; /** * - * @type {string} + * @type {any} * @memberof WalletDtoAccount */ - 'address': string; + 'publicKey': any; /** * * @type {any} * @memberof WalletDtoAccount */ - 'publicKey': any; + 'address': any; + /** + * + * @type {WalletsDtoWalletsInnerOrigin} + * @memberof WalletDtoAccount + */ + 'origin': WalletsDtoWalletsInnerOrigin; /** * * @type {string}