diff --git a/.github/workflows/auto-reply-issue.yml b/.github/workflows/auto-reply-issue.yml new file mode 100644 index 0000000..68595a5 --- /dev/null +++ b/.github/workflows/auto-reply-issue.yml @@ -0,0 +1,35 @@ +name: Auto Reply On New Issues +on: + issues: + types: [opened] + +jobs: + auto-reply: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + + - name: Choose random reply message + id: choose_message + run: | + reply_messages=( + "Thank you for raising this issue! We will look into it shortly." + "We appreciate your feedback. Our team will investigate this issue shortly." + "Your issue has been noted. We'll get back to you soon." + "Thanks for raising this issue. We'll review it and provide updates soon." + "Thank you for letting us know about this issue. We'll investigate and get back to you soon." + "Acknowledged. We'll review the issue and respond soon." + "Thanks for bringing this to our attention. We'll review it and provide updates soon." + "We've received your issue. Thanks for your patience." + "Noted. Expect updates on your issue shortly." + "Your issue is important to us. We will look into it shortly." + ) + random_index=$((RANDOM % ${#reply_messages[@]})) + echo "::set-output name=message::${reply_messages[$random_index]}" + + - name: Reply to issue + run: | + gh issue comment ${{ github.event.issue.number }} --body "${{ steps.choose_message.outputs.message }}" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/auto-reply-pr.yml b/.github/workflows/auto-reply-pr.yml index 6317d05..932dd4a 100644 --- a/.github/workflows/auto-reply-pr.yml +++ b/.github/workflows/auto-reply-pr.yml @@ -1,4 +1,4 @@ -name: Auto Reply on New Issues +name: Auto Reply On New Pull Requests on: pull_request: types: [opened] @@ -14,22 +14,22 @@ jobs: id: choose_message run: | reply_messages=( - "Thank you for raising this! We will review it shortly." - "We appreciate your contribution. Our team will investigate this shortly." - "Your request has been noted. We'll get back to you soon." - "Thanks for submitting this. We'll review it and provide updates soon." - "Thank you for letting us know about this. We'll investigate and get back to you soon." - "Acknowledged. We'll review and respond soon." - "Thanks for bringing this to our attention. We'll review and provide updates soon." - "We've received your request. Thanks for your patience." - "Noted. Expect updates shortly." - "Your request is important to us. We will look into it shortly." + "Thank you for raising this! We will review it shortly. (Note that this SDK code is auto generated)" + "We appreciate your contribution. Our team will investigate this request shortly. (Note that this SDK code is auto generated)" + "Your request has been noted. We'll get back to you soon. (Note that this SDK code is auto generated)" + "Thanks for submitting this request. We'll review it and provide updates soon. (Note that this SDK code is auto generated)" + "Thank you for letting us know about this request. We'll investigate and get back to you soon. (Note that this SDK code is auto generated)" + "Acknowledged. We'll review and respond soon. (Note that this SDK code is auto generated)" + "Thanks for bringing this request to our attention. We'll review and provide updates soon. (Note that this SDK code is auto generated)" + "We've received your request. Thanks for your patience. (Note that this SDK code is auto generated)" + "Noted. Expect updates shortly. (Note that this SDK code is auto generated)" + "Your request is important to us. We will look into it shortly. (Note that this SDK code is auto generated)" ) random_index=$((RANDOM % ${#reply_messages[@]})) echo "::set-output name=message::${reply_messages[$random_index]}" - - name: Reply to issue using GitHub CLI - if: (!contains(fromJSON('["YoavBZ", "asafs932"]'), github.event.pull_request.user.login)) + - name: Reply to pull request + if: (!contains(fromJSON('["github-actions"]'), github.event.pull_request.user.login)) run: | gh pr comment ${{ github.event.number }} --body "${{ steps.choose_message.outputs.message }}" env: diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 544a466..23385cc 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -33,6 +33,9 @@ AssetForbiddenErrorResponse.md AssetInternalServerErrorResponse.md AssetMetadataDto.md AssetNotFoundErrorResponse.md +AssetPriceForbiddenErrorResponse.md +AssetPriceNotFoundErrorResponse.md +AssetPriceResponse.md AssetResponse.md AssetResponseMetadata.md AssetResponseOnchain.md @@ -346,6 +349,7 @@ SessionDTO.md SessionMetadata.md SetAdminQuorumThresholdRequest.md SetAdminQuorumThresholdResponse.md +SetAssetPriceRequest.md SetAutoFuelRequest.md SetConfirmationsThresholdRequest.md SetConfirmationsThresholdResponse.md @@ -588,6 +592,9 @@ models/asset-forbidden-error-response.ts models/asset-internal-server-error-response.ts models/asset-metadata-dto.ts models/asset-not-found-error-response.ts +models/asset-price-forbidden-error-response.ts +models/asset-price-not-found-error-response.ts +models/asset-price-response.ts models/asset-response-metadata.ts models/asset-response-onchain.ts models/asset-response.ts @@ -875,6 +882,7 @@ models/session-dto.ts models/session-metadata.ts models/set-admin-quorum-threshold-request.ts models/set-admin-quorum-threshold-response.ts +models/set-asset-price-request.ts models/set-auto-fuel-request.ts models/set-confirmations-threshold-request.ts models/set-confirmations-threshold-response.ts diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index f3225fd..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,51 +0,0 @@ -### Changelog - -All notable changes to this project will be documented in this file. Dates are displayed in UTC. - -### [v3.0.0](https://github.com/fireblocks/ts-sdk/compare/v2.1.0...v3.0.0) - -> 17 July 2024 - -- Generated SDK #6152 [`#90`](https://github.com/fireblocks/ts-sdk/pull/90) - -#### [v2.1.0](https://github.com/fireblocks/ts-sdk/compare/v2.0.0...v2.1.0) - -> 4 June 2024 - -- Generated SDK for version COR-46191/fix_pipelines [`#44`](https://github.com/fireblocks/ts-sdk/pull/44) - -### [v2.0.0](https://github.com/fireblocks/ts-sdk/compare/v1.1.0...v2.0.0) - -> 8 May 2024 - -- feat: add tokenization api [`#35`](https://github.com/fireblocks/ts-sdk/pull/35) - -#### [v1.1.0](https://github.com/fireblocks/ts-sdk/compare/v1.0.1...v1.1.0) - -> 17 April 2024 - -- feat: adding consigners beta api [`#34`](https://github.com/fireblocks/ts-sdk/pull/34) -- fix: modify error message when secretKey missing and fix readme doc [`#33`](https://github.com/fireblocks/ts-sdk/pull/33) - -#### [v1.0.1](https://github.com/fireblocks/ts-sdk/compare/v1.0.0...v1.0.1) - -> 7 April 2024 - -- Generated SDK for version v1.0.1 [`#32`](https://github.com/fireblocks/ts-sdk/pull/32) - -#### v1.0.0 - -> 7 April 2024 - -- Generated SDK for version v1.0.0 GA [`#31`](https://github.com/fireblocks/ts-sdk/pull/31) -- add_license [`#30`](https://github.com/fireblocks/ts-sdk/pull/30) -- version_3_0_6_beta [`#29`](https://github.com/fireblocks/ts-sdk/pull/29) -- version_3_0_5_beta [`#27`](https://github.com/fireblocks/ts-sdk/pull/27) -- Version 3.0.4-beta [`#26`](https://github.com/fireblocks/ts-sdk/pull/26) -- Fireblocks api spec/generated/9818 [`#25`](https://github.com/fireblocks/ts-sdk/pull/25) -- Generated SDK for version 9817 [`#24`](https://github.com/fireblocks/ts-sdk/pull/24) -- Generated SDK for version master [`#23`](https://github.com/fireblocks/ts-sdk/pull/23) -- Added Idempotency & NCW headers support [`#22`](https://github.com/fireblocks/ts-sdk/pull/22) -- API SDK Improvments [`#21`](https://github.com/fireblocks/ts-sdk/pull/21) -- Update README.md [`#18`](https://github.com/fireblocks/ts-sdk/pull/18) -- Update README.md [`#17`](https://github.com/fireblocks/ts-sdk/pull/17) diff --git a/README.md b/README.md index 110f609..b278a68 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,7 @@ Class | Method | HTTP request | Description *AuditLogsApi* | [**getAudits**](docs/apis/AuditLogsApi.md#getAudits) | **GET** /audits | Get audit logs *BlockchainsAssetsApi* | [**getSupportedAssets**](docs/apis/BlockchainsAssetsApi.md#getSupportedAssets) | **GET** /supported_assets | List all asset types supported by Fireblocks *BlockchainsAssetsApi* | [**registerNewAsset**](docs/apis/BlockchainsAssetsApi.md#registerNewAsset) | **POST** /assets | Register an asset +*BlockchainsAssetsApi* | [**setAssetPrice**](docs/apis/BlockchainsAssetsApi.md#setAssetPrice) | **POST** /assets/prices/{id} | Set asset price *ComplianceApi* | [**getAmlPostScreeningPolicy**](docs/apis/ComplianceApi.md#getAmlPostScreeningPolicy) | **GET** /screening/aml/post_screening_policy | AML - View Post-Screening Policy *ComplianceApi* | [**getAmlScreeningPolicy**](docs/apis/ComplianceApi.md#getAmlScreeningPolicy) | **GET** /screening/aml/screening_policy | AML - View Screening Policy *ComplianceApi* | [**getPostScreeningPolicy**](docs/apis/ComplianceApi.md#getPostScreeningPolicy) | **GET** /screening/travel_rule/post_screening_policy | Travel Rule - View Post-Screening Policy @@ -375,6 +376,9 @@ Class | Method | HTTP request | Description - [AssetInternalServerErrorResponse](docs/models/AssetInternalServerErrorResponse.md) - [AssetMetadataDto](docs/models/AssetMetadataDto.md) - [AssetNotFoundErrorResponse](docs/models/AssetNotFoundErrorResponse.md) + - [AssetPriceForbiddenErrorResponse](docs/models/AssetPriceForbiddenErrorResponse.md) + - [AssetPriceNotFoundErrorResponse](docs/models/AssetPriceNotFoundErrorResponse.md) + - [AssetPriceResponse](docs/models/AssetPriceResponse.md) - [AssetResponse](docs/models/AssetResponse.md) - [AssetResponseMetadata](docs/models/AssetResponseMetadata.md) - [AssetResponseOnchain](docs/models/AssetResponseOnchain.md) @@ -661,6 +665,7 @@ Class | Method | HTTP request | Description - [SessionMetadata](docs/models/SessionMetadata.md) - [SetAdminQuorumThresholdRequest](docs/models/SetAdminQuorumThresholdRequest.md) - [SetAdminQuorumThresholdResponse](docs/models/SetAdminQuorumThresholdResponse.md) + - [SetAssetPriceRequest](docs/models/SetAssetPriceRequest.md) - [SetAutoFuelRequest](docs/models/SetAutoFuelRequest.md) - [SetConfirmationsThresholdRequest](docs/models/SetConfirmationsThresholdRequest.md) - [SetConfirmationsThresholdResponse](docs/models/SetConfirmationsThresholdResponse.md) diff --git a/api/blockchains-assets-api.ts b/api/blockchains-assets-api.ts index baed24b..d39ab6c 100644 --- a/api/blockchains-assets-api.ts +++ b/api/blockchains-assets-api.ts @@ -37,6 +37,12 @@ import { AssetInternalServerErrorResponse } from '../models'; // @ts-ignore import { AssetNotFoundErrorResponse } from '../models'; // @ts-ignore +import { AssetPriceForbiddenErrorResponse } from '../models'; +// @ts-ignore +import { AssetPriceNotFoundErrorResponse } from '../models'; +// @ts-ignore +import { AssetPriceResponse } from '../models'; +// @ts-ignore import { AssetResponse } from '../models'; // @ts-ignore import { ErrorSchema } from '../models'; @@ -44,6 +50,8 @@ import { ErrorSchema } from '../models'; import { GetSupportedAssetsResponse } from '../models'; // @ts-ignore import { RegisterNewAssetRequest } from '../models'; +// @ts-ignore +import { SetAssetPriceRequest } from '../models'; /** * BlockchainsAssetsApi - axios parameter creator * @export @@ -114,6 +122,48 @@ export const BlockchainsAssetsApiAxiosParamCreator = function (configuration?: C localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; localVarRequestOptions.data = serializeDataIfNeeded(registerNewAssetRequest, localVarRequestOptions, configuration) + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Set asset price for the given asset id. Returns the asset price response. + * @summary Set asset price + * @param {string} id The ID of the asset + * @param {SetAssetPriceRequest} [setAssetPriceRequest] + * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + setAssetPrice: async (id: string, setAssetPriceRequest?: SetAssetPriceRequest, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExistsAndNotEmpty('setAssetPrice', 'id', id) + const localVarPath = `/assets/prices/{id}` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (idempotencyKey != null) { + localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey); + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(setAssetPriceRequest, localVarRequestOptions, configuration) + return { url: toPathString(localVarUrlObj), options: localVarRequestOptions, @@ -155,6 +205,21 @@ export const BlockchainsAssetsApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['BlockchainsAssetsApi.registerNewAsset']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, + /** + * Set asset price for the given asset id. Returns the asset price response. + * @summary Set asset price + * @param {string} id The ID of the asset + * @param {SetAssetPriceRequest} [setAssetPriceRequest] + * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async setAssetPrice(id: string, setAssetPriceRequest?: SetAssetPriceRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.setAssetPrice(id, setAssetPriceRequest, idempotencyKey, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['BlockchainsAssetsApi.setAssetPrice']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, } }; @@ -184,6 +249,16 @@ export const BlockchainsAssetsApiFactory = function (configuration?: Configurati registerNewAsset(requestParameters: BlockchainsAssetsApiRegisterNewAssetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.registerNewAsset(requestParameters.registerNewAssetRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, + /** + * Set asset price for the given asset id. Returns the asset price response. + * @summary Set asset price + * @param {BlockchainsAssetsApiSetAssetPriceRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + setAssetPrice(requestParameters: BlockchainsAssetsApiSetAssetPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.setAssetPrice(requestParameters.id, requestParameters.setAssetPriceRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); + }, }; }; @@ -208,6 +283,34 @@ export interface BlockchainsAssetsApiRegisterNewAssetRequest { readonly idempotencyKey?: string } +/** + * Request parameters for setAssetPrice operation in BlockchainsAssetsApi. + * @export + * @interface BlockchainsAssetsApiSetAssetPriceRequest + */ +export interface BlockchainsAssetsApiSetAssetPriceRequest { + /** + * The ID of the asset + * @type {string} + * @memberof BlockchainsAssetsApiSetAssetPrice + */ + readonly id: string + + /** + * + * @type {SetAssetPriceRequest} + * @memberof BlockchainsAssetsApiSetAssetPrice + */ + readonly setAssetPriceRequest?: SetAssetPriceRequest + + /** + * A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + * @type {string} + * @memberof BlockchainsAssetsApiSetAssetPrice + */ + readonly idempotencyKey?: string +} + /** * BlockchainsAssetsApi - object-oriented interface * @export @@ -237,5 +340,17 @@ export class BlockchainsAssetsApi extends BaseAPI { public registerNewAsset(requestParameters: BlockchainsAssetsApiRegisterNewAssetRequest = {}) { return BlockchainsAssetsApiFp(this.configuration).registerNewAsset(requestParameters.registerNewAssetRequest, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } + + /** + * Set asset price for the given asset id. Returns the asset price response. + * @summary Set asset price + * @param {BlockchainsAssetsApiSetAssetPriceRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BlockchainsAssetsApi + */ + public setAssetPrice(requestParameters: BlockchainsAssetsApiSetAssetPriceRequest) { + return BlockchainsAssetsApiFp(this.configuration).setAssetPrice(requestParameters.id, requestParameters.setAssetPriceRequest, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } } diff --git a/api/nfts-api.ts b/api/nfts-api.ts index f8343f5..c28b9af 100644 --- a/api/nfts-api.ts +++ b/api/nfts-api.ts @@ -946,7 +946,7 @@ export interface NFTsApiGetNFTsRequest { export interface NFTsApiGetOwnershipTokensRequest { /** * Blockchain descriptor filter - * @type {'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3'} + * @type {'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3' | 'ETHERLINK' | 'ETHERLINK_TEST'} * @memberof NFTsApiGetOwnershipTokens */ readonly blockchainDescriptor?: GetOwnershipTokensBlockchainDescriptorEnum @@ -1205,7 +1205,7 @@ export interface NFTsApiRefreshNFTMetadataRequest { export interface NFTsApiUpdateOwnershipTokensRequest { /** * Blockchain descriptor filter - * @type {'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH'} + * @type {'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST'} * @memberof NFTsApiUpdateOwnershipTokens */ readonly blockchainDescriptor: UpdateOwnershipTokensBlockchainDescriptorEnum @@ -1454,7 +1454,9 @@ export const GetOwnershipTokensBlockchainDescriptorEnum = { Xtz: 'XTZ', XtzTest: 'XTZ_TEST', BasechainEth: 'BASECHAIN_ETH', - BasechainEthTest3: 'BASECHAIN_ETH_TEST3' + BasechainEthTest3: 'BASECHAIN_ETH_TEST3', + Etherlink: 'ETHERLINK', + EtherlinkTest: 'ETHERLINK_TEST' } as const; export type GetOwnershipTokensBlockchainDescriptorEnum = typeof GetOwnershipTokensBlockchainDescriptorEnum[keyof typeof GetOwnershipTokensBlockchainDescriptorEnum]; /** @@ -1581,6 +1583,8 @@ export const UpdateOwnershipTokensBlockchainDescriptorEnum = { Polygon: 'POLYGON', PolygonTestMumbai: 'POLYGON_TEST_MUMBAI', AmoyPolygonTest: 'AMOY_POLYGON_TEST', - BasechainEth: 'BASECHAIN_ETH' + BasechainEth: 'BASECHAIN_ETH', + Etherlink: 'ETHERLINK', + EtherlinkTest: 'ETHERLINK_TEST' } as const; export type UpdateOwnershipTokensBlockchainDescriptorEnum = typeof UpdateOwnershipTokensBlockchainDescriptorEnum[keyof typeof UpdateOwnershipTokensBlockchainDescriptorEnum]; diff --git a/docs/apis/BlockchainsAssetsApi.md b/docs/apis/BlockchainsAssetsApi.md index 6cc9ff5..a625951 100644 --- a/docs/apis/BlockchainsAssetsApi.md +++ b/docs/apis/BlockchainsAssetsApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**getSupportedAssets**](#getSupportedAssets) | **GET** /supported_assets | List all asset types supported by Fireblocks [**registerNewAsset**](#registerNewAsset) | **POST** /assets | Register an asset +[**setAssetPrice**](#setAssetPrice) | **POST** /assets/prices/{id} | Set asset price # **getSupportedAssets** @@ -129,4 +130,72 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) +# **setAssetPrice** +> AssetPriceResponse setAssetPrice() + +Set asset price for the given asset id. Returns the asset price response. + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, BlockchainsAssetsApiSetAssetPriceRequest, AssetPriceResponse } from '@fireblocks/ts-sdk'; + +// Set the environment variables for authentication +process.env.FIREBLOCKS_BASE_PATH = BasePath.Sandbox; // or assign directly to "https://sandbox-api.fireblocks.io/v1" +process.env.FIREBLOCKS_API_KEY = "my-api-key"; +process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf8"); + +const fireblocks = new Fireblocks(); + +let body: BlockchainsAssetsApiSetAssetPriceRequest = { + // string | The ID of the asset + id: ETH, + // SetAssetPriceRequest (optional) + setAssetPriceRequest: param_value, + // string | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + idempotencyKey: idempotencyKey_example, +}; + +fireblocks.blockchainsAssets.setAssetPrice(body).then((res: FireblocksResponse) => { + console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **setAssetPriceRequest** | **[SetAssetPriceRequest](../models/SetAssetPriceRequest.md)**| | + **id** | [**string**] | The ID of the asset | defaults to undefined + **idempotencyKey** | [**string**] | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | (optional) defaults to undefined + + +### Return type + +**[AssetPriceResponse](../models/AssetPriceResponse.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Asset price has been set successfully. | - | +**403** | - Tenant is not allowed to set rate. Error code: 1002. | - | +**404** | - Currency not found. Error code 1001 | - | +**0** | Error Response | * X-Request-ID -
| + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + diff --git a/docs/apis/NFTsApi.md b/docs/apis/NFTsApi.md index 7288452..62a585b 100644 --- a/docs/apis/NFTsApi.md +++ b/docs/apis/NFTsApi.md @@ -167,7 +167,7 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); let body: NFTsApiGetOwnershipTokensRequest = { - // 'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3' | Blockchain descriptor filter (optional) + // 'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3' | 'ETHERLINK' | 'ETHERLINK_TEST' | Blockchain descriptor filter (optional) blockchainDescriptor: blockchainDescriptor_example, // string | A comma separated list of Vault Account IDs. Up to 100 are allowed in a single request. This field will be ignored when walletType=END_USER_WALLET or ncwId is provided. (optional) vaultAccountIds: vaultAccountIds_example, @@ -207,7 +207,7 @@ fireblocks.nfts.getOwnershipTokens(body).then((res: FireblocksResponse** | Blockchain descriptor filter | (optional) defaults to undefined + **blockchainDescriptor** | [**'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3' | 'ETHERLINK' | 'ETHERLINK_TEST'**]**Array<'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3' | 'ETHERLINK' | 'ETHERLINK_TEST'>** | Blockchain descriptor filter | (optional) defaults to undefined **vaultAccountIds** | [**string**] | A comma separated list of Vault Account IDs. Up to 100 are allowed in a single request. This field will be ignored when walletType=END_USER_WALLET or ncwId is provided. | (optional) defaults to undefined **ncwId** | [**string**] | Tenant\'s Non-Custodial Wallet ID | (optional) defaults to undefined **ncwAccountIds** | [**string**] | A comma separated list of Non-Custodial account IDs. Up to 100 are allowed in a single request. This field will be ignored when walletType=VAULT_ACCOUNT or ncwId is not provided. | (optional) defaults to undefined @@ -490,7 +490,7 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); let body: NFTsApiUpdateOwnershipTokensRequest = { - // 'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | Blockchain descriptor filter + // 'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST' | Blockchain descriptor filter blockchainDescriptor: blockchainDescriptor_example, // string | Vault account filter vaultAccountId: vaultAccountId_example, @@ -508,7 +508,7 @@ fireblocks.nfts.updateOwnershipTokens(body).then((res: FireblocksResponse) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **blockchainDescriptor** | [**'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH'**]**Array<'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH'>** | Blockchain descriptor filter | defaults to undefined + **blockchainDescriptor** | [**'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST'**]**Array<'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST'>** | Blockchain descriptor filter | defaults to undefined **vaultAccountId** | [**string**] | Vault account filter | defaults to undefined **idempotencyKey** | [**string**] | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | (optional) defaults to undefined diff --git a/docs/models/AssetPriceForbiddenErrorResponse.md b/docs/models/AssetPriceForbiddenErrorResponse.md new file mode 100644 index 0000000..d724b88 --- /dev/null +++ b/docs/models/AssetPriceForbiddenErrorResponse.md @@ -0,0 +1,13 @@ +# AssetPriceForbiddenErrorResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**message** | **string** | Forbidden error message | [default to undefined]| +|**code** | **string** | Error code | [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/AssetPriceNotFoundErrorResponse.md b/docs/models/AssetPriceNotFoundErrorResponse.md new file mode 100644 index 0000000..58589f6 --- /dev/null +++ b/docs/models/AssetPriceNotFoundErrorResponse.md @@ -0,0 +1,13 @@ +# AssetPriceNotFoundErrorResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**message** | **string** | Not found error message | [default to undefined]| +|**code** | **string** | Error code | [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/AssetPriceResponse.md b/docs/models/AssetPriceResponse.md new file mode 100644 index 0000000..41a6762 --- /dev/null +++ b/docs/models/AssetPriceResponse.md @@ -0,0 +1,25 @@ +# AssetPriceResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**legacyId** | **string** | The ID of the asset | [default to undefined]| +|**lastUpdateAt** | **number** | Time of last price update | [default to undefined]| +|**currency** | **string** | Currency (according to ISO 4217 currency codes) | [default to undefined]| +|**price** | **number** | Price in currency | [default to undefined]| +|**source** | **string** | Source of the price data | [default to undefined]| + + +## Enum: AssetPriceResponseSourceEnum + + +* `Public` (value: `'PUBLIC'`) + +* `Private` (value: `'PRIVATE'`) + + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/CollectionOwnershipResponse.md b/docs/models/CollectionOwnershipResponse.md index 85189af..b65940f 100644 --- a/docs/models/CollectionOwnershipResponse.md +++ b/docs/models/CollectionOwnershipResponse.md @@ -37,6 +37,10 @@ * `BasechainEthTest3` (value: `'BASECHAIN_ETH_TEST3'`) +* `Etherlink` (value: `'ETHERLINK'`) + +* `EtherlinkTest` (value: `'ETHERLINK_TEST'`) + diff --git a/docs/models/NetworkIdResponse.md b/docs/models/NetworkIdResponse.md index b19af51..26ee19a 100644 --- a/docs/models/NetworkIdResponse.md +++ b/docs/models/NetworkIdResponse.md @@ -4,10 +4,10 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**id** | **string** | | [default to undefined]| -|**name** | **string** | | [default to undefined]| |**routingPolicy** | [**NetworkIdRoutingPolicy**](NetworkIdRoutingPolicy.md) | | [optional] [default to undefined]| |**isDiscoverable** | **boolean** | The specific network is discoverable. | [optional] [default to undefined]| +|**id** | **string** | The specific network id | [optional] [default to undefined]| +|**name** | **string** | The specific network name | [optional] [default to undefined]| diff --git a/docs/models/SetAssetPriceRequest.md b/docs/models/SetAssetPriceRequest.md new file mode 100644 index 0000000..941e4e6 --- /dev/null +++ b/docs/models/SetAssetPriceRequest.md @@ -0,0 +1,13 @@ +# SetAssetPriceRequest + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**currency** | **string** | Currency (according to ISO 4217 currency codes) | [default to undefined]| +|**price** | **number** | Price in currency | [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/TokenOwnershipResponse.md b/docs/models/TokenOwnershipResponse.md index e1efc8c..d696658 100644 --- a/docs/models/TokenOwnershipResponse.md +++ b/docs/models/TokenOwnershipResponse.md @@ -49,6 +49,10 @@ * `BasechainEthTest3` (value: `'BASECHAIN_ETH_TEST3'`) +* `Etherlink` (value: `'ETHERLINK'`) + +* `EtherlinkTest` (value: `'ETHERLINK_TEST'`) + ## Enum: TokenOwnershipResponseStatusEnum diff --git a/docs/models/TokenResponse.md b/docs/models/TokenResponse.md index 06f87da..4867642 100644 --- a/docs/models/TokenResponse.md +++ b/docs/models/TokenResponse.md @@ -42,6 +42,10 @@ * `BasechainEthTest3` (value: `'BASECHAIN_ETH_TEST3'`) +* `Etherlink` (value: `'ETHERLINK'`) + +* `EtherlinkTest` (value: `'ETHERLINK_TEST'`) + diff --git a/models/asset-price-forbidden-error-response.ts b/models/asset-price-forbidden-error-response.ts new file mode 100644 index 0000000..178df9e --- /dev/null +++ b/models/asset-price-forbidden-error-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AssetPriceForbiddenErrorResponse + */ +export interface AssetPriceForbiddenErrorResponse { + /** + * Forbidden error message + * @type {string} + * @memberof AssetPriceForbiddenErrorResponse + */ + 'message': string; + /** + * Error code + * @type {string} + * @memberof AssetPriceForbiddenErrorResponse + */ + 'code': string; +} + diff --git a/models/asset-price-not-found-error-response.ts b/models/asset-price-not-found-error-response.ts new file mode 100644 index 0000000..d0e070e --- /dev/null +++ b/models/asset-price-not-found-error-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AssetPriceNotFoundErrorResponse + */ +export interface AssetPriceNotFoundErrorResponse { + /** + * Not found error message + * @type {string} + * @memberof AssetPriceNotFoundErrorResponse + */ + 'message': string; + /** + * Error code + * @type {string} + * @memberof AssetPriceNotFoundErrorResponse + */ + 'code': string; +} + diff --git a/models/asset-price-response.ts b/models/asset-price-response.ts new file mode 100644 index 0000000..ee98ca7 --- /dev/null +++ b/models/asset-price-response.ts @@ -0,0 +1,62 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AssetPriceResponse + */ +export interface AssetPriceResponse { + /** + * The ID of the asset + * @type {string} + * @memberof AssetPriceResponse + */ + 'legacyId': string; + /** + * Time of last price update + * @type {number} + * @memberof AssetPriceResponse + */ + 'lastUpdateAt': number; + /** + * Currency (according to ISO 4217 currency codes) + * @type {string} + * @memberof AssetPriceResponse + */ + 'currency': string; + /** + * Price in currency + * @type {number} + * @memberof AssetPriceResponse + */ + 'price': number; + /** + * Source of the price data + * @type {string} + * @memberof AssetPriceResponse + */ + 'source': AssetPriceResponseSourceEnum; +} + +export const AssetPriceResponseSourceEnum = { + Public: 'PUBLIC', + Private: 'PRIVATE' +} as const; + +export type AssetPriceResponseSourceEnum = typeof AssetPriceResponseSourceEnum[keyof typeof AssetPriceResponseSourceEnum]; + + diff --git a/models/collection-ownership-response.ts b/models/collection-ownership-response.ts index 1dfa4f1..053c9ab 100644 --- a/models/collection-ownership-response.ts +++ b/models/collection-ownership-response.ts @@ -69,7 +69,9 @@ export const CollectionOwnershipResponseBlockchainDescriptorEnum = { Xtz: 'XTZ', XtzTest: 'XTZ_TEST', BasechainEth: 'BASECHAIN_ETH', - BasechainEthTest3: 'BASECHAIN_ETH_TEST3' + BasechainEthTest3: 'BASECHAIN_ETH_TEST3', + Etherlink: 'ETHERLINK', + EtherlinkTest: 'ETHERLINK_TEST' } as const; export type CollectionOwnershipResponseBlockchainDescriptorEnum = typeof CollectionOwnershipResponseBlockchainDescriptorEnum[keyof typeof CollectionOwnershipResponseBlockchainDescriptorEnum]; diff --git a/models/index.ts b/models/index.ts index 55dfe22..f9241e4 100644 --- a/models/index.ts +++ b/models/index.ts @@ -29,6 +29,9 @@ export * from './asset-forbidden-error-response'; export * from './asset-internal-server-error-response'; export * from './asset-metadata-dto'; export * from './asset-not-found-error-response'; +export * from './asset-price-forbidden-error-response'; +export * from './asset-price-not-found-error-response'; +export * from './asset-price-response'; export * from './asset-response'; export * from './asset-response-metadata'; export * from './asset-response-onchain'; @@ -315,6 +318,7 @@ export * from './session-dto'; export * from './session-metadata'; export * from './set-admin-quorum-threshold-request'; export * from './set-admin-quorum-threshold-response'; +export * from './set-asset-price-request'; export * from './set-auto-fuel-request'; export * from './set-confirmations-threshold-request'; export * from './set-confirmations-threshold-response'; diff --git a/models/network-id-response.ts b/models/network-id-response.ts index e579418..a5c5af9 100644 --- a/models/network-id-response.ts +++ b/models/network-id-response.ts @@ -13,17 +13,39 @@ */ -// May contain unused imports in some cases -// @ts-ignore -import { NetworkId } from './network-id'; // May contain unused imports in some cases // @ts-ignore import { NetworkIdRoutingPolicy } from './network-id-routing-policy'; /** - * @type NetworkIdResponse + * * @export + * @interface NetworkIdResponse */ -export type NetworkIdResponse = NetworkId; - +export interface NetworkIdResponse { + /** + * + * @type {NetworkIdRoutingPolicy} + * @memberof NetworkIdResponse + */ + 'routingPolicy'?: NetworkIdRoutingPolicy; + /** + * The specific network is discoverable. + * @type {boolean} + * @memberof NetworkIdResponse + */ + 'isDiscoverable'?: boolean; + /** + * The specific network id + * @type {string} + * @memberof NetworkIdResponse + */ + 'id'?: string; + /** + * The specific network name + * @type {string} + * @memberof NetworkIdResponse + */ + 'name'?: string; +} diff --git a/models/set-asset-price-request.ts b/models/set-asset-price-request.ts new file mode 100644 index 0000000..caa4374 --- /dev/null +++ b/models/set-asset-price-request.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SetAssetPriceRequest + */ +export interface SetAssetPriceRequest { + /** + * Currency (according to ISO 4217 currency codes) + * @type {string} + * @memberof SetAssetPriceRequest + */ + 'currency': string; + /** + * Price in currency + * @type {number} + * @memberof SetAssetPriceRequest + */ + 'price': number; +} + diff --git a/models/token-ownership-response.ts b/models/token-ownership-response.ts index 3f74792..6b418c8 100644 --- a/models/token-ownership-response.ts +++ b/models/token-ownership-response.ts @@ -150,7 +150,9 @@ export const TokenOwnershipResponseBlockchainDescriptorEnum = { Xtz: 'XTZ', XtzTest: 'XTZ_TEST', BasechainEth: 'BASECHAIN_ETH', - BasechainEthTest3: 'BASECHAIN_ETH_TEST3' + BasechainEthTest3: 'BASECHAIN_ETH_TEST3', + Etherlink: 'ETHERLINK', + EtherlinkTest: 'ETHERLINK_TEST' } as const; export type TokenOwnershipResponseBlockchainDescriptorEnum = typeof TokenOwnershipResponseBlockchainDescriptorEnum[keyof typeof TokenOwnershipResponseBlockchainDescriptorEnum]; diff --git a/models/token-response.ts b/models/token-response.ts index cc3013a..6638668 100644 --- a/models/token-response.ts +++ b/models/token-response.ts @@ -108,7 +108,9 @@ export const TokenResponseBlockchainDescriptorEnum = { Xtz: 'XTZ', XtzTest: 'XTZ_TEST', BasechainEth: 'BASECHAIN_ETH', - BasechainEthTest3: 'BASECHAIN_ETH_TEST3' + BasechainEthTest3: 'BASECHAIN_ETH_TEST3', + Etherlink: 'ETHERLINK', + EtherlinkTest: 'ETHERLINK_TEST' } as const; export type TokenResponseBlockchainDescriptorEnum = typeof TokenResponseBlockchainDescriptorEnum[keyof typeof TokenResponseBlockchainDescriptorEnum]; diff --git a/package-lock.json b/package-lock.json index 78e3c44..e85b606 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fireblocks/ts-sdk", - "version": "3.0.0", + "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@fireblocks/ts-sdk", - "version": "3.0.0", + "version": "0.0.0", "license": "MIT License", "dependencies": { "axios": "^1.6.7", @@ -1396,9 +1396,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001642", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001642.tgz", - "integrity": "sha512-3XQ0DoRgLijXJErLSl+bLnJ+Et4KqV1PY6JJBGAFlsNsz31zeAIncyeZfLCabHK/jtSh+671RM9YMldxjUPZtA==", + "version": "1.0.30001643", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001643.tgz", + "integrity": "sha512-ERgWGNleEilSrHM6iUz/zJNSQTP8Mr21wDWpdgvRwcTXGAq6jMtOUPP4dqFPTdKqZ2wKTdtB+uucZ3MRpAUSmg==", "dev": true, "funding": [ { @@ -1642,9 +1642,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.829", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.829.tgz", - "integrity": "sha512-5qp1N2POAfW0u1qGAxXEtz6P7bO1m6gpZr5hdf5ve6lxpLM7MpiM4jIPz7xcrNlClQMafbyUDDWjlIQZ1Mw0Rw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.0.tgz", + "integrity": "sha512-Vb3xHHYnLseK8vlMJQKJYXJ++t4u1/qJ3vykuVrVjvdiOEhYyT1AuP4x03G8EnPmYvYOhe9T+dADTmthjRQMkA==", "dev": true }, "node_modules/emittery": { @@ -1966,9 +1966,9 @@ } }, "node_modules/import-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", + "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", "dev": true, "dependencies": { "pkg-dir": "^4.2.0", @@ -2017,9 +2017,9 @@ "dev": true }, "node_modules/is-core-module": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", - "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", + "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", "dev": true, "dependencies": { "hasown": "^2.0.2" @@ -3050,9 +3050,9 @@ "dev": true }, "node_modules/node-releases": { - "version": "2.0.17", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.17.tgz", - "integrity": "sha512-Ww6ZlOiEQfPfXM45v17oabk77Z7mg5bOt7AjDyzy7RjK9OrLrLC8dyZQoAPEOtFX9SaNf1Tdvr5gRJWdTJj7GA==", + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", "dev": true }, "node_modules/normalize-path": { diff --git a/package.json b/package.json index 3f9244c..863dcef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fireblocks/ts-sdk", - "version": "3.0.0", + "version": "0.0.0", "description": "OpenAPI client for @fireblocks/ts-sdk", "author": "Fireblocks SDK Generator", "repository": {