Skip to content

Commit 7354991

Browse files
github-actions[bot]fireblocks_dx_team
and
fireblocks_dx_team
authored
Generated SDK #6152 (#65)
Co-authored-by: fireblocks_dx_team <dx_team@fireblocks.com>
1 parent 379283d commit 7354991

34 files changed

+608
-58
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ docs/GetAuditLogsResponse.md
202202
docs/GetAuditLogsResponseDTO.md
203203
docs/GetConnectionsResponse.md
204204
docs/GetConsoleUsersResponse.md
205+
docs/GetExchangeAccountsCredentialsPublicKeyResponse.md
205206
docs/GetFilterParameter.md
206207
docs/GetMaxSpendableAmountResponse.md
207208
docs/GetNFTsResponse.md
@@ -724,6 +725,7 @@ src/main/java/com/fireblocks/sdk/model/GetAuditLogsResponse.java
724725
src/main/java/com/fireblocks/sdk/model/GetAuditLogsResponseDTO.java
725726
src/main/java/com/fireblocks/sdk/model/GetConnectionsResponse.java
726727
src/main/java/com/fireblocks/sdk/model/GetConsoleUsersResponse.java
728+
src/main/java/com/fireblocks/sdk/model/GetExchangeAccountsCredentialsPublicKeyResponse.java
727729
src/main/java/com/fireblocks/sdk/model/GetFilterParameter.java
728730
src/main/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponse.java
729731
src/main/java/com/fireblocks/sdk/model/GetNFTsResponse.java
@@ -1204,6 +1206,7 @@ src/test/java/com/fireblocks/sdk/model/GetAuditLogsResponseDTOTest.java
12041206
src/test/java/com/fireblocks/sdk/model/GetAuditLogsResponseTest.java
12051207
src/test/java/com/fireblocks/sdk/model/GetConnectionsResponseTest.java
12061208
src/test/java/com/fireblocks/sdk/model/GetConsoleUsersResponseTest.java
1209+
src/test/java/com/fireblocks/sdk/model/GetExchangeAccountsCredentialsPublicKeyResponseTest.java
12071210
src/test/java/com/fireblocks/sdk/model/GetFilterParameterTest.java
12081211
src/test/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponseTest.java
12091212
src/test/java/com/fireblocks/sdk/model/GetNFTsResponseTest.java

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ Class | Method | HTTP request | Description
537537
- [GetAuditLogsResponseDTO](docs/GetAuditLogsResponseDTO.md)
538538
- [GetConnectionsResponse](docs/GetConnectionsResponse.md)
539539
- [GetConsoleUsersResponse](docs/GetConsoleUsersResponse.md)
540+
- [GetExchangeAccountsCredentialsPublicKeyResponse](docs/GetExchangeAccountsCredentialsPublicKeyResponse.md)
540541
- [GetFilterParameter](docs/GetFilterParameter.md)
541542
- [GetMaxSpendableAmountResponse](docs/GetMaxSpendableAmountResponse.md)
542543
- [GetNFTsResponse](docs/GetNFTsResponse.md)

api/openapi.yaml

Lines changed: 139 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2435,6 +2435,34 @@ paths:
24352435
\ assetId);"
24362436
name: Fireblocks SDK Java example
24372437
x-accepts: application/json
2438+
/exchange_accounts/credentials_public_key:
2439+
get:
2440+
description: Return public key
2441+
operationId: getExchangeAccountsCredentialsPublicKey
2442+
responses:
2443+
"200":
2444+
content:
2445+
application/json:
2446+
schema:
2447+
$ref: '#/components/schemas/GetExchangeAccountsCredentialsPublicKeyResponse'
2448+
description: public key as string
2449+
headers:
2450+
X-Request-ID:
2451+
$ref: '#/components/headers/X-Request-ID'
2452+
default:
2453+
content:
2454+
application/json:
2455+
schema:
2456+
$ref: '#/components/schemas/ErrorSchema'
2457+
description: Error Response
2458+
headers:
2459+
X-Request-ID:
2460+
$ref: '#/components/headers/X-Request-ID'
2461+
summary: Get public key to encrypt exchange credentials
2462+
tags:
2463+
- Exchange accounts
2464+
x-internal: true
2465+
x-accepts: application/json
24382466
/fiat_accounts:
24392467
get:
24402468
description: Returns all fiat accounts.
@@ -4069,6 +4097,54 @@ paths:
40694097
- DESC
40704098
type: string
40714099
style: form
4100+
- description: Return keys assigned to a specific vault
4101+
example: 4
4102+
explode: true
4103+
in: query
4104+
name: vaultAccountId
4105+
required: false
4106+
schema:
4107+
type: number
4108+
style: form
4109+
- description: Return keys associated with a specific agent user
4110+
example: 12fed207-5bdf-4a0c-ab12-fcd2627f75d1
4111+
explode: true
4112+
in: query
4113+
name: agentUserId
4114+
required: false
4115+
schema:
4116+
type: string
4117+
style: form
4118+
- description: Return only keys with a specific algorithm
4119+
example: ECDSA_SECP256K1
4120+
explode: true
4121+
in: query
4122+
name: algorithm
4123+
required: false
4124+
schema:
4125+
enum:
4126+
- ECDSA_SECP256K1
4127+
- EDDSA_ED25519
4128+
type: string
4129+
style: form
4130+
- description: Return keys that have been proof of ownership
4131+
explode: true
4132+
in: query
4133+
name: enabled
4134+
required: false
4135+
schema:
4136+
type: boolean
4137+
style: form
4138+
- description: Return keys that are proof of ownership but not assigned. Available
4139+
filter can be used only when vaultAccountId and enabled filters are not
4140+
set
4141+
explode: true
4142+
in: query
4143+
name: available
4144+
required: false
4145+
schema:
4146+
type: boolean
4147+
style: form
40724148
responses:
40734149
"200":
40744150
content:
@@ -4101,7 +4177,7 @@ paths:
41014177
- language: java
41024178
code: "CompletableFuture<ApiResponse<GetSigningKeyResponseDto>> response\
41034179
\ = fireblocks.keyLinkBeta().getSigningKeysList(pageCursor, pageSize,\
4104-
\ sortBy, order);"
4180+
\ sortBy, order, vaultAccountId, agentUserId, algorithm, enabled, available);"
41054181
name: Fireblocks SDK Java example
41064182
x-accepts: application/json
41074183
post:
@@ -5444,6 +5520,7 @@ paths:
54445520
- Algorand
54455521
- TRON
54465522
- NEAR
5523+
- Solana
54475524
operationId: registerNewAsset
54485525
parameters:
54495526
- description: "A unique identifier for the request. If the request is sent\
@@ -5480,13 +5557,21 @@ paths:
54805557
- The asset address is invalid. Error code: 1003
54815558

54825559
- Self serve listing an asset on the requested blockchain is currently not supported, please contact support. Error code: 1004
5560+
5561+
- Blockchain is deprecated. Error code: 1006
5562+
5563+
- The asset's standard is not supported. Error code: 1007
54835564
"403":
54845565
content:
54855566
application/json:
54865567
schema:
54875568
$ref: '#/components/schemas/AssetForbiddenErrorResponse'
54885569
description: |
54895570
- The asset creation quota reached. Error code: 1005
5571+
5572+
- Tenant is not allowed to create testnet assets. Error code: 1008
5573+
5574+
- Tenant is not allowed to create mainnet assets. Error code: 1009
54905575
"404":
54915576
content:
54925577
application/json:
@@ -9816,6 +9901,7 @@ paths:
98169901
- XTZ
98179902
- XTZ_TEST
98189903
- BASECHAIN_ETH
9904+
- BASECHAIN_ETH_TEST3
98199905
type: string
98209906
style: form
98219907
- description: A comma separated list of Vault Account IDs. Up to 100 are allowed
@@ -9997,7 +10083,6 @@ paths:
999710083
schema:
999810084
enum:
999910085
- ETH
10000-
- ETH_TEST3
1000110086
- ETH_TEST5
1000210087
- ETH_TEST6
1000310088
- POLYGON
@@ -15027,14 +15112,24 @@ components:
1502715112
$ref: '#/components/schemas/TradingAccountType'
1502815113
destType:
1502915114
$ref: '#/components/schemas/TradingAccountType'
15115+
required:
15116+
- amount
15117+
- asset
15118+
- destType
15119+
- sourceType
1503015120
type: object
1503115121
InternalTransferResponse:
1503215122
example:
1503315123
success: true
15124+
id: id
1503415125
properties:
1503515126
success:
1503615127
description: Indicates whether the transfer was successful
1503715128
type: boolean
15129+
id:
15130+
description: The transaction ID of the internal transfer
15131+
nullable: true
15132+
type: string
1503815133
required:
1503915134
- success
1504015135
type: object
@@ -15072,6 +15167,14 @@ components:
1507215167
required:
1507315168
- success
1507415169
type: object
15170+
GetExchangeAccountsCredentialsPublicKeyResponse:
15171+
properties:
15172+
publicKey:
15173+
description: Public key string
15174+
type: string
15175+
required:
15176+
- publicKey
15177+
type: object
1507515178
FiatAccountType:
1507615179
enum:
1507715180
- BLINC
@@ -16007,11 +16110,14 @@ components:
1600716110
example: "(ETH, ETH_TEST5, MATIC_POLYGON)"
1600816111
type: string
1600916112
address:
16010-
description: "Asset address. \n- For EVM based chains this should be the\
16011-
\ token contract address.\n- For Stellar (XLM) this should be the issuer\
16012-
\ address.\n- For Algorand (ALGO) this should be the asset ID.\n- For\
16013-
\ TRON (TRX) this should be the token contract address.\n- For NEAR this\
16014-
\ will be the token address.\n"
16113+
description: |
16114+
Asset address.
16115+
- EVM-based chains: token contract address
16116+
- Stellar (XLM): issuer address
16117+
- Algorand (ALGO): asset ID
16118+
- TRON (TRX): token contract address
16119+
- NEAR: token address
16120+
- Solana: token's mint account address
1601516121
example: 0xe7A9as1oa38bc4da0248s179E30aa94CcF453991
1601616122
type: string
1601716123
symbol:
@@ -16192,6 +16298,7 @@ components:
1619216298
description: Source of the transaction.
1619316299
example:
1619416300
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16301+
tradingAccount: tradingAccount
1619516302
name: name
1619616303
subType: subType
1619716304
id: id
@@ -16222,6 +16329,11 @@ components:
1622216329
walletId:
1622316330
format: uuid
1622416331
type: string
16332+
tradingAccount:
16333+
description: "If this transaction is an exchange internal transfer, this\
16334+
\ field will be populated with the type of that trading account."
16335+
nullable: true
16336+
type: string
1622516337
required:
1622616338
- type
1622716339
type: object
@@ -16232,6 +16344,7 @@ components:
1623216344
**Note:** In case the transaction is sent to multiple destinations, the `destinations` parameter is be used instead of this.
1623316345
example:
1623416346
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16347+
tradingAccount: tradingAccount
1623516348
name: name
1623616349
subType: subType
1623716350
id: id
@@ -16262,6 +16375,11 @@ components:
1626216375
walletId:
1626316376
format: uuid
1626416377
type: string
16378+
tradingAccount:
16379+
description: "If this transaction is an exchange internal transfer, this\
16380+
\ field will be populated with the type of that trading account."
16381+
nullable: true
16382+
type: string
1626516383
required:
1626616384
- type
1626716385
type: object
@@ -16339,6 +16457,7 @@ components:
1633916457
payload: "{}"
1634016458
destination:
1634116459
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16460+
tradingAccount: tradingAccount
1634216461
name: name
1634316462
subType: subType
1634416463
id: id
@@ -16424,13 +16543,15 @@ components:
1642416543
networkFee: networkFee
1642516544
destination:
1642616545
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16546+
tradingAccount: tradingAccount
1642716547
name: name
1642816548
subType: subType
1642916549
id: id
1643016550
type: null
1643116551
index: 6.027456183070403
1643216552
source:
1643316553
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16554+
tradingAccount: tradingAccount
1643416555
name: name
1643516556
subType: subType
1643616557
id: id
@@ -16716,6 +16837,7 @@ components:
1671616837
fee: 6.84685269835264
1671716838
destination:
1671816839
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16840+
tradingAccount: tradingAccount
1671916841
name: name
1672016842
subType: subType
1672116843
id: id
@@ -16724,6 +16846,7 @@ components:
1672416846
extraParameters: "{}"
1672516847
source:
1672616848
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16849+
tradingAccount: tradingAccount
1672716850
name: name
1672816851
subType: subType
1672916852
id: id
@@ -16737,13 +16860,15 @@ components:
1673716860
networkFee: networkFee
1673816861
destination:
1673916862
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16863+
tradingAccount: tradingAccount
1674016864
name: name
1674116865
subType: subType
1674216866
id: id
1674316867
type: null
1674416868
index: 6.027456183070403
1674516869
source:
1674616870
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16871+
tradingAccount: tradingAccount
1674716872
name: name
1674816873
subType: subType
1674916874
id: id
@@ -16762,13 +16887,15 @@ components:
1676216887
networkFee: networkFee
1676316888
destination:
1676416889
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16890+
tradingAccount: tradingAccount
1676516891
name: name
1676616892
subType: subType
1676716893
id: id
1676816894
type: null
1676916895
index: 6.027456183070403
1677016896
source:
1677116897
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16898+
tradingAccount: tradingAccount
1677216899
name: name
1677316900
subType: subType
1677416901
id: id
@@ -16817,6 +16944,7 @@ components:
1681716944
payload: "{}"
1681816945
destination:
1681916946
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16947+
tradingAccount: tradingAccount
1682016948
name: name
1682116949
subType: subType
1682216950
id: id
@@ -16840,6 +16968,7 @@ components:
1684016968
payload: "{}"
1684116969
destination:
1684216970
walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
16971+
tradingAccount: tradingAccount
1684316972
name: name
1684416973
subType: subType
1684516974
id: id
@@ -21935,6 +22064,7 @@ components:
2193522064
- XTZ
2193622065
- XTZ_TEST
2193722066
- BASECHAIN_ETH
22067+
- BASECHAIN_ETH_TEST3
2193822068
type: string
2193922069
description:
2194022070
type: string
@@ -22085,6 +22215,7 @@ components:
2208522215
- XTZ
2208622216
- XTZ_TEST
2208722217
- BASECHAIN_ETH
22218+
- BASECHAIN_ETH_TEST3
2208822219
type: string
2208922220
description:
2209022221
type: string
@@ -22173,6 +22304,7 @@ components:
2217322304
- XTZ
2217422305
- XTZ_TEST
2217522306
- BASECHAIN_ETH
22307+
- BASECHAIN_ETH_TEST3
2217622308
type: string
2217722309
contractAddress:
2217822310
description: Collection contract standard
@@ -26603,7 +26735,6 @@ components:
2660326735
required:
2660426736
- decimals
2660526737
- name
26606-
- standard
2660726738
- symbol
2660826739
type: object
2660926740
AssetResponse_metadata:

0 commit comments

Comments
 (0)