diff --git a/api-spec-v2.yaml b/api-spec-v2.yaml index f250296..ae4e00f 100644 --- a/api-spec-v2.yaml +++ b/api-spec-v2.yaml @@ -4051,7 +4051,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnmanagedWallet' + $ref: '#/components/schemas/UnmanagedExternalWallet' default: $ref: '#/components/responses/Error' requestBody: @@ -4109,7 +4109,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnmanagedWallet' + $ref: '#/components/schemas/UnmanagedExternalWallet' default: $ref: '#/components/responses/Error' operationId: getExternalWallet @@ -4273,7 +4273,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExternalWalletAsset' + $ref: '#/components/schemas/ExternalWalletAssetDetail' default: $ref: '#/components/responses/Error' operationId: getExternalWalletAsset @@ -4327,7 +4327,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExternalWalletAsset' + $ref: '#/components/schemas/ExternalWalletAssetDetail' default: $ref: '#/components/responses/Error' requestBody: @@ -13882,6 +13882,21 @@ components: type: string activationTime: type: string + WalletAssetExternal: + type: object + properties: + id: + type: string + lockedAmount: + type: string + status: + $ref: '#/components/schemas/ConfigChangeRequestStatus' + address: + type: string + tag: + type: string + activationTime: + type: string UnmanagedWallet: type: object properties: @@ -13895,6 +13910,19 @@ components: type: array items: $ref: '#/components/schemas/WalletAsset' + UnmanagedExternalWallet: + type: object + properties: + id: + type: string + name: + type: string + customerRefId: + type: string + assets: + type: array + items: + $ref: '#/components/schemas/WalletAssetExternal' required: - id - name @@ -14147,7 +14175,7 @@ components: GetExternalWalletsResponse: type: array items: - $ref: '#/components/schemas/UnmanagedWallet' + $ref: '#/components/schemas/UnmanagedExternalWallet' WalletAssetAdditionalInfo: type: object properties: @@ -14204,6 +14232,25 @@ components: type: array items: $ref: '#/components/schemas/WalletAssetAdditionalInfo' + ExternalWalletAssetDetail: + type: object + properties: + id: + type: string + status: + $ref: '#/components/schemas/ConfigChangeRequestStatus' + address: + type: string + lockedAmount: + type: string + tag: + type: string + activationTime: + type: string + additionalInfo: + type: array + items: + $ref: '#/components/schemas/WalletAssetAdditionalInfo' AddAssetToExternalWalletRequest: oneOf: - type: object