fireblocks-sdk
Advanced tools
Comparing version 5.1.4 to 5.2.0
{ | ||
"name": "fireblocks-sdk", | ||
"version": "5.1.4", | ||
"version": "5.2.0", | ||
"main": "dist/src/fireblocks-sdk.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/src/fireblocks-sdk.d.ts", |
@@ -156,2 +156,8 @@ import { ApiClient } from "./api-client"; | ||
/** | ||
* Deletes a single network profile | ||
* @param networkId The network profile's id | ||
* @returns NetworkIdResponse | ||
*/ | ||
deleteNetworkId(networkId: string): Promise<OperationSuccessResponse>; | ||
/** | ||
* Sets discoverability for network profile | ||
@@ -171,2 +177,9 @@ * @param networkId The network profile's id | ||
/** | ||
* Sets network profile name | ||
* @param networkId The network profile's id | ||
* @param name The desired network profile's name | ||
* @returns OperationSuccessResponse | ||
*/ | ||
setNetworkIdName(networkId: string, name: string): Promise<void>; | ||
/** | ||
* Gets all exchange accounts for your tenant | ||
@@ -173,0 +186,0 @@ */ |
@@ -243,2 +243,12 @@ "use strict"; | ||
/** | ||
* Deletes a single network profile | ||
* @param networkId The network profile's id | ||
* @returns NetworkIdResponse | ||
*/ | ||
deleteNetworkId(networkId) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return yield this.apiClient.issueDeleteRequest(`/v1/network_ids/${networkId}`); | ||
}); | ||
} | ||
/** | ||
* Sets discoverability for network profile | ||
@@ -268,2 +278,14 @@ * @param networkId The network profile's id | ||
/** | ||
* Sets network profile name | ||
* @param networkId The network profile's id | ||
* @param name The desired network profile's name | ||
* @returns OperationSuccessResponse | ||
*/ | ||
setNetworkIdName(networkId, name) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const body = { name }; | ||
return yield this.apiClient.issuePatchRequest(`/v1/network_ids/${networkId}/set_name`, body); | ||
}); | ||
} | ||
/** | ||
* Gets all exchange accounts for your tenant | ||
@@ -270,0 +292,0 @@ */ |
{ | ||
"name": "fireblocks-sdk", | ||
"version": "5.1.4", | ||
"version": "5.2.0", | ||
"main": "dist/src/fireblocks-sdk.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/src/fireblocks-sdk.d.ts", |
Sorry, the diff of this file is not supported yet
190394
3974