diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 5483da6..f3aec85 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -306,6 +306,7 @@ NetworkRecord.md NoneNetworkRoutingDest.md NotFoundException.md Notification.md +NotificationAttempt.md NotificationPaginatedResponse.md NotificationStatus.md NotificationWithData.md @@ -922,6 +923,7 @@ models/network-id.ts models/network-record.ts models/none-network-routing-dest.ts models/not-found-exception.ts +models/notification-attempt.ts models/notification-paginated-response.ts models/notification-status.ts models/notification-with-data.ts diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 9e8cc06..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,93 +0,0 @@ -### Changelog - -All notable changes to this project will be documented in this file. Dates are displayed in UTC. - -### [v8.0.0](https://github.com/fireblocks/ts-sdk/compare/v7.0.0...v8.0.0) - -> 2 February 2025 - -- Generated SDK #538 [`#118`](https://github.com/fireblocks/ts-sdk/pull/118) - -### [v7.0.0](https://github.com/fireblocks/ts-sdk/compare/v6.0.0...v7.0.0) - -> 8 January 2025 - -- Generated SDK #8699 [`#116`](https://github.com/fireblocks/ts-sdk/pull/116) - -### [v6.0.0](https://github.com/fireblocks/ts-sdk/compare/v5.0.0...v6.0.0) - -> 5 December 2024 - -- Generated SDK #1430 [`#111`](https://github.com/fireblocks/ts-sdk/pull/111) - -### [v5.0.0](https://github.com/fireblocks/ts-sdk/compare/v4.0.0...v5.0.0) - -> 31 October 2024 - -- Generated SDK #5184 [`#109`](https://github.com/fireblocks/ts-sdk/pull/109) - -### [v4.0.0](https://github.com/fireblocks/ts-sdk/compare/v3.1.0...v4.0.0) - -> 17 September 2024 - -- Generated SDK #237 [`#107`](https://github.com/fireblocks/ts-sdk/pull/107) - -#### [v3.1.0](https://github.com/fireblocks/ts-sdk/compare/v3.0.0...v3.1.0) - -> 25 July 2024 - -- Generated SDK #6749 [`#102`](https://github.com/fireblocks/ts-sdk/pull/102) - -### [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) -- Generated SDK #2589 [`#86`](https://github.com/fireblocks/ts-sdk/pull/86) -- Generated SDK #7882 [`#85`](https://github.com/fireblocks/ts-sdk/pull/85) -- Generated SDK #8418 [`#84`](https://github.com/fireblocks/ts-sdk/pull/84) -- Generated SDK #3524 [`#83`](https://github.com/fireblocks/ts-sdk/pull/83) -- Generated SDK #7984 [`#82`](https://github.com/fireblocks/ts-sdk/pull/82) -- Generated SDK #2873 [`#81`](https://github.com/fireblocks/ts-sdk/pull/81) - -#### [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 3d55b1e..253cec1 100644 --- a/README.md +++ b/README.md @@ -382,6 +382,7 @@ Class | Method | HTTP request | Description *WebhooksV2BetaApi* | [**getNotifications**](docs/apis/WebhooksV2BetaApi.md#getNotifications) | **GET** /webhooks/{webhookId}/notifications | Get all notifications by webhook id *WebhooksV2BetaApi* | [**getWebhook**](docs/apis/WebhooksV2BetaApi.md#getWebhook) | **GET** /webhooks/{webhookId} | Get webhook by id *WebhooksV2BetaApi* | [**getWebhooks**](docs/apis/WebhooksV2BetaApi.md#getWebhooks) | **GET** /webhooks | Get all webhooks +*WebhooksV2BetaApi* | [**resendNotificationById**](docs/apis/WebhooksV2BetaApi.md#resendNotificationById) | **POST** /webhooks/{webhookId}/notifications/{notificationId}/resend | Resend notification by id *WebhooksV2BetaApi* | [**updateWebhook**](docs/apis/WebhooksV2BetaApi.md#updateWebhook) | **PATCH** /webhooks/{webhookId} | Update webhook *WhitelistIpAddressesApi* | [**getWhitelistIpAddresses**](docs/apis/WhitelistIpAddressesApi.md#getWhitelistIpAddresses) | **GET** /management/api_users/{userId}/whitelist_ip_addresses | Gets whitelisted ip addresses *WorkspaceStatusBetaApi* | [**getWorkspaceStatus**](docs/apis/WorkspaceStatusBetaApi.md#getWorkspaceStatus) | **GET** /management/workspace_status | Returns current workspace status @@ -669,6 +670,7 @@ Class | Method | HTTP request | Description - [NoneNetworkRoutingDest](docs/models/NoneNetworkRoutingDest.md) - [NotFoundException](docs/models/NotFoundException.md) - [Notification](docs/models/Notification.md) + - [NotificationAttempt](docs/models/NotificationAttempt.md) - [NotificationPaginatedResponse](docs/models/NotificationPaginatedResponse.md) - [NotificationStatus](docs/models/NotificationStatus.md) - [NotificationWithData](docs/models/NotificationWithData.md) diff --git a/api/network-connections-api.ts b/api/network-connections-api.ts index ad43fe6..6ab1827 100644 --- a/api/network-connections-api.ts +++ b/api/network-connections-api.ts @@ -410,13 +410,14 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: * @summary Search network IDs, both local IDs and discoverable remote IDs * @param {string} [search] Search string - displayName networkId. Optional * @param {boolean} [excludeSelf] Exclude your networkIds. Optional, default false + * @param {boolean} [onlySelf] Include just your networkIds. Optional, default false * @param {boolean} [excludeConnected] Exclude connected networkIds. Optional, default false * @param {string} [pageCursor] ID of the record after which to fetch $limit records * @param {number} [pageSize] Number of records to fetch. By default, it is 50 * @param {*} [options] Override http request option. * @throws {RequiredError} */ - searchNetworkIds: async (search?: string, excludeSelf?: boolean, excludeConnected?: boolean, pageCursor?: string, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise => { + searchNetworkIds: async (search?: string, excludeSelf?: boolean, onlySelf?: boolean, excludeConnected?: boolean, pageCursor?: string, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/network_ids/search`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -437,6 +438,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: localVarQueryParameter['excludeSelf'] = excludeSelf; } + if (onlySelf !== undefined) { + localVarQueryParameter['onlySelf'] = onlySelf; + } + if (excludeConnected !== undefined) { localVarQueryParameter['excludeConnected'] = excludeConnected; } @@ -756,14 +761,15 @@ export const NetworkConnectionsApiFp = function(configuration?: Configuration) { * @summary Search network IDs, both local IDs and discoverable remote IDs * @param {string} [search] Search string - displayName networkId. Optional * @param {boolean} [excludeSelf] Exclude your networkIds. Optional, default false + * @param {boolean} [onlySelf] Include just your networkIds. Optional, default false * @param {boolean} [excludeConnected] Exclude connected networkIds. Optional, default false * @param {string} [pageCursor] ID of the record after which to fetch $limit records * @param {number} [pageSize] Number of records to fetch. By default, it is 50 * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async searchNetworkIds(search?: string, excludeSelf?: boolean, excludeConnected?: boolean, pageCursor?: string, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.searchNetworkIds(search, excludeSelf, excludeConnected, pageCursor, pageSize, options); + async searchNetworkIds(search?: string, excludeSelf?: boolean, onlySelf?: boolean, excludeConnected?: boolean, pageCursor?: string, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.searchNetworkIds(search, excludeSelf, onlySelf, excludeConnected, pageCursor, pageSize, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['NetworkConnectionsApi.searchNetworkIds']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); @@ -940,7 +946,7 @@ export const NetworkConnectionsApiFactory = function (configuration?: Configurat * @throws {RequiredError} */ searchNetworkIds(requestParameters: NetworkConnectionsApiSearchNetworkIdsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { - return localVarFp.searchNetworkIds(requestParameters.search, requestParameters.excludeSelf, requestParameters.excludeConnected, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath)); + return localVarFp.searchNetworkIds(requestParameters.search, requestParameters.excludeSelf, requestParameters.onlySelf, requestParameters.excludeConnected, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath)); }, /** * Update whether or not the network ID is discoverable by others. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). @@ -1124,6 +1130,13 @@ export interface NetworkConnectionsApiSearchNetworkIdsRequest { */ readonly excludeSelf?: boolean + /** + * Include just your networkIds. Optional, default false + * @type {boolean} + * @memberof NetworkConnectionsApiSearchNetworkIds + */ + readonly onlySelf?: boolean + /** * Exclude connected networkIds. Optional, default false * @type {boolean} @@ -1364,7 +1377,7 @@ export class NetworkConnectionsApi extends BaseAPI { * @memberof NetworkConnectionsApi */ public searchNetworkIds(requestParameters: NetworkConnectionsApiSearchNetworkIdsRequest = {}) { - return NetworkConnectionsApiFp(this.configuration).searchNetworkIds(requestParameters.search, requestParameters.excludeSelf, requestParameters.excludeConnected, requestParameters.pageCursor, requestParameters.pageSize).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + return NetworkConnectionsApiFp(this.configuration).searchNetworkIds(requestParameters.search, requestParameters.excludeSelf, requestParameters.onlySelf, requestParameters.excludeConnected, requestParameters.pageCursor, requestParameters.pageSize).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** diff --git a/api/webhooks-v2-beta-api.ts b/api/webhooks-v2-beta-api.ts index e83f85c..0aefa10 100644 --- a/api/webhooks-v2-beta-api.ts +++ b/api/webhooks-v2-beta-api.ts @@ -306,6 +306,47 @@ export const WebhooksV2BetaApiAxiosParamCreator = function (configuration?: Conf + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Resend notification by ID **Note:** These endpoints are currently in beta and might be subject to changes. + * @summary Resend notification by id + * @param {string} webhookId The ID of the webhook + * @param {string} notificationId The ID of the notification + * @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} + */ + resendNotificationById: async (webhookId: string, notificationId: string, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExistsAndNotEmpty('resendNotificationById', 'webhookId', webhookId) + assertParamExistsAndNotEmpty('resendNotificationById', 'notificationId', notificationId) + const localVarPath = `/webhooks/{webhookId}/notifications/{notificationId}/resend` + .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId))) + .replace(`{${"notificationId"}}`, encodeURIComponent(String(notificationId))); + // 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); + } + + + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -454,6 +495,21 @@ export const WebhooksV2BetaApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['WebhooksV2BetaApi.getWebhooks']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, + /** + * Resend notification by ID **Note:** These endpoints are currently in beta and might be subject to changes. + * @summary Resend notification by id + * @param {string} webhookId The ID of the webhook + * @param {string} notificationId The ID of the notification + * @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 resendNotificationById(webhookId: string, notificationId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.resendNotificationById(webhookId, notificationId, idempotencyKey, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['WebhooksV2BetaApi.resendNotificationById']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, /** * Update a webhook by its id **Note:** These endpoints are currently in beta and might be subject to changes. * @summary Update webhook @@ -538,6 +594,16 @@ export const WebhooksV2BetaApiFactory = function (configuration?: Configuration, getWebhooks(requestParameters: WebhooksV2BetaApiGetWebhooksRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getWebhooks(requestParameters.order, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath)); }, + /** + * Resend notification by ID **Note:** These endpoints are currently in beta and might be subject to changes. + * @summary Resend notification by id + * @param {WebhooksV2BetaApiResendNotificationByIdRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + resendNotificationById(requestParameters: WebhooksV2BetaApiResendNotificationByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.resendNotificationById(requestParameters.webhookId, requestParameters.notificationId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); + }, /** * Update a webhook by its id **Note:** These endpoints are currently in beta and might be subject to changes. * @summary Update webhook @@ -726,6 +792,34 @@ export interface WebhooksV2BetaApiGetWebhooksRequest { readonly pageSize?: number } +/** + * Request parameters for resendNotificationById operation in WebhooksV2BetaApi. + * @export + * @interface WebhooksV2BetaApiResendNotificationByIdRequest + */ +export interface WebhooksV2BetaApiResendNotificationByIdRequest { + /** + * The ID of the webhook + * @type {string} + * @memberof WebhooksV2BetaApiResendNotificationById + */ + readonly webhookId: string + + /** + * The ID of the notification + * @type {string} + * @memberof WebhooksV2BetaApiResendNotificationById + */ + readonly notificationId: 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. + * @type {string} + * @memberof WebhooksV2BetaApiResendNotificationById + */ + readonly idempotencyKey?: string +} + /** * Request parameters for updateWebhook operation in WebhooksV2BetaApi. * @export @@ -826,6 +920,18 @@ export class WebhooksV2BetaApi extends BaseAPI { return WebhooksV2BetaApiFp(this.configuration).getWebhooks(requestParameters.order, requestParameters.pageCursor, requestParameters.pageSize).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } + /** + * Resend notification by ID **Note:** These endpoints are currently in beta and might be subject to changes. + * @summary Resend notification by id + * @param {WebhooksV2BetaApiResendNotificationByIdRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof WebhooksV2BetaApi + */ + public resendNotificationById(requestParameters: WebhooksV2BetaApiResendNotificationByIdRequest) { + return WebhooksV2BetaApiFp(this.configuration).resendNotificationById(requestParameters.webhookId, requestParameters.notificationId, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + /** * Update a webhook by its id **Note:** These endpoints are currently in beta and might be subject to changes. * @summary Update webhook diff --git a/docs/apis/NetworkConnectionsApi.md b/docs/apis/NetworkConnectionsApi.md index 2effb15..3d061ef 100644 --- a/docs/apis/NetworkConnectionsApi.md +++ b/docs/apis/NetworkConnectionsApi.md @@ -637,6 +637,8 @@ let body: NetworkConnectionsApiSearchNetworkIdsRequest = { search: search_example, // boolean | Exclude your networkIds. Optional, default false (optional) excludeSelf: true, + // boolean | Include just your networkIds. Optional, default false (optional) + onlySelf: true, // boolean | Exclude connected networkIds. Optional, default false (optional) excludeConnected: true, // string | ID of the record after which to fetch $limit records (optional) @@ -657,6 +659,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **search** | [**string**] | Search string - displayName networkId. Optional | (optional) defaults to undefined **excludeSelf** | [**boolean**] | Exclude your networkIds. Optional, default false | (optional) defaults to undefined + **onlySelf** | [**boolean**] | Include just your networkIds. Optional, default false | (optional) defaults to undefined **excludeConnected** | [**boolean**] | Exclude connected networkIds. Optional, default false | (optional) defaults to undefined **pageCursor** | [**string**] | ID of the record after which to fetch $limit records | (optional) defaults to undefined **pageSize** | [**number**] | Number of records to fetch. By default, it is 50 | (optional) defaults to 50 diff --git a/docs/apis/WebhooksV2BetaApi.md b/docs/apis/WebhooksV2BetaApi.md index e31d734..f9f2853 100644 --- a/docs/apis/WebhooksV2BetaApi.md +++ b/docs/apis/WebhooksV2BetaApi.md @@ -10,6 +10,7 @@ Method | HTTP request | Description [**getNotifications**](#getNotifications) | **GET** /webhooks/{webhookId}/notifications | Get all notifications by webhook id [**getWebhook**](#getWebhook) | **GET** /webhooks/{webhookId} | Get webhook by id [**getWebhooks**](#getWebhooks) | **GET** /webhooks | Get all webhooks +[**resendNotificationById**](#resendNotificationById) | **POST** /webhooks/{webhookId}/notifications/{notificationId}/resend | Resend notification by id [**updateWebhook**](#updateWebhook) | **PATCH** /webhooks/{webhookId} | Update webhook @@ -198,6 +199,7 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | * X-Request-ID -
| +**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) @@ -281,6 +283,7 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A paginated response containing NotificationExternalDTO objects | * X-Request-ID -
| +**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) @@ -410,6 +413,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) +# **resendNotificationById** +> resendNotificationById() + +Resend notification by ID **Note:** These endpoints are currently in beta and might be subject to changes. + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, WebhooksV2BetaApiResendNotificationByIdRequest } 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: WebhooksV2BetaApiResendNotificationByIdRequest = { + // string | The ID of the webhook + webhookId: webhookId_example, + // string | The ID of the notification + notificationId: notificationId_example, + // 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.webhooksV2Beta.resendNotificationById(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 +------------- | ------------- | ------------- | ------------- + **webhookId** | [**string**] | The ID of the webhook | defaults to undefined + **notificationId** | [**string**] | The ID of the notification | 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 + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Resend notification request was accepted and is being processed | * X-Request-ID -
| +**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) + # **updateWebhook** > Webhook updateWebhook(updateWebhookRequest, ) diff --git a/docs/models/CreateWebhookRequest.md b/docs/models/CreateWebhookRequest.md index 3f1b6a1..977b237 100644 --- a/docs/models/CreateWebhookRequest.md +++ b/docs/models/CreateWebhookRequest.md @@ -5,8 +5,8 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**url** | **string** | The url of the webhook where notifications will be sent. URL must be valid, unique and https. | [default to undefined]| -|**description** | **string** | description of the webhook. should not contain special characters. | [default to undefined]| |**events** | [**Array<WebhookEvent>**](WebhookEvent.md) | event types the webhook will subscribe to | [default to undefined]| +|**description** | **string** | description of the webhook. should not contain special characters. | [optional] [default to undefined]| |**enabled** | **boolean** | The status of the webhook. If false, the webhook will not receive notifications. | [optional] [default to true]| diff --git a/docs/models/Notification.md b/docs/models/Notification.md index 867fdd3..dd212bc 100644 --- a/docs/models/Notification.md +++ b/docs/models/Notification.md @@ -5,13 +5,12 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**id** | **string** | The id of the Notification | [default to undefined]| -|**createdAt** | **string** | The creation date of the notification | [default to undefined]| -|**updatedAt** | **string** | The date when the notification was updated | [default to undefined]| +|**createdAt** | **number** | The creation date of the notification in milliseconds | [default to undefined]| +|**updatedAt** | **number** | The date when the notification was updated in milliseconds | [default to undefined]| |**status** | [**NotificationStatus**](NotificationStatus.md) | | [default to undefined]| |**eventType** | [**WebhookEvent**](WebhookEvent.md) | | [default to undefined]| -|**eventVersion** | **number** | The event version of the Notification | [default to undefined]| +|**attempts** | [**Array<NotificationAttempt>**](NotificationAttempt.md) | The attempts related to Notification | [default to undefined]| |**resourceId** | **string** | The resource id of the event which the Notification is listen to | [optional] [default to undefined]| -|**attempts** | **Array<string>** | The attempts related to Notification | [optional] [default to undefined]| diff --git a/docs/models/NotificationAttempt.md b/docs/models/NotificationAttempt.md new file mode 100644 index 0000000..6141214 --- /dev/null +++ b/docs/models/NotificationAttempt.md @@ -0,0 +1,24 @@ +# NotificationAttempt + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**sentTime** | **number** | The time when the attempt was sent in milliseconds. | [default to undefined]| +|**duration** | **number** | The duration of the attempt in milliseconds. | [default to undefined]| +|**responseCode** | **number** | The response code of the attempt, when missing refer to failureReason. | [optional] [default to undefined]| +|**failureReason** | **string** | The request failure reason in case responseCode is missing. | [optional] [default to undefined]| + + +## Enum: NotificationAttemptFailureReasonEnum + + +* `TimedOut` (value: `'TIMED_OUT'`) + +* `NoResponse` (value: `'NO_RESPONSE'`) + + + + + +[[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/NotificationWithData.md b/docs/models/NotificationWithData.md index a47765e..de48924 100644 --- a/docs/models/NotificationWithData.md +++ b/docs/models/NotificationWithData.md @@ -5,12 +5,11 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**id** | **string** | | [default to undefined]| -|**createdAt** | **string** | The creation date of the notification | [default to undefined]| -|**updatedAt** | **string** | The date when the notification was updated | [default to undefined]| +|**createdAt** | **number** | The creation date of the notification in milliseconds | [default to undefined]| +|**updatedAt** | **number** | The date when the notification was updated in milliseconds | [default to undefined]| |**status** | [**NotificationStatus**](NotificationStatus.md) | | [default to undefined]| |**eventType** | [**WebhookEvent**](WebhookEvent.md) | | [default to undefined]| -|**eventVersion** | **number** | The event version which the Notification is listen to | [default to undefined]| -|**attempts** | **Array<string>** | The attempts related to Notification | [default to undefined]| +|**attempts** | [**Array<NotificationAttempt>**](NotificationAttempt.md) | The attempts related to Notification | [default to undefined]| |**resourceId** | **string** | The resource id of the event which the Notification is listen to | [optional] [default to undefined]| |**data** | **object** | notification data | [optional] [default to undefined]| diff --git a/docs/models/Webhook.md b/docs/models/Webhook.md index 30fdae9..b5cf7e6 100644 --- a/docs/models/Webhook.md +++ b/docs/models/Webhook.md @@ -4,13 +4,13 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**id** | **string** | The id of the webhook | [optional] [default to undefined]| -|**url** | **string** | The url of the webhook where notifications will be sent. Must be a valid URL and https. | [optional] [default to undefined]| +|**id** | **string** | The id of the webhook | [default to undefined]| +|**url** | **string** | The url of the webhook where notifications will be sent. Must be a valid URL and https. | [default to undefined]| +|**events** | [**Array<WebhookEvent>**](WebhookEvent.md) | The events that the webhook will be subscribed to | [default to undefined]| +|**status** | **string** | The status of the webhook | [default to undefined]| +|**createdAt** | **number** | The date and time the webhook was created in milliseconds | [default to undefined]| +|**updatedAt** | **number** | The date and time the webhook was last updated in milliseconds | [default to undefined]| |**description** | **string** | description of the webhook of what it is used for | [optional] [default to undefined]| -|**events** | [**Array<WebhookEvent>**](WebhookEvent.md) | The events that the webhook will be subscribed to | [optional] [default to undefined]| -|**status** | **string** | The status of the webhook | [optional] [default to undefined]| -|**createdAt** | **string** | The date and time the webhook was created | [optional] [default to undefined]| -|**updatedAt** | **string** | The date and time the webhook was last updated | [optional] [default to undefined]| ## Enum: WebhookStatusEnum @@ -20,6 +20,8 @@ * `Enabled` (value: `'ENABLED'`) +* `Suspended` (value: `'SUSPENDED'`) + diff --git a/docs/models/WebhookEvent.md b/docs/models/WebhookEvent.md index 7351c06..f0ae230 100644 --- a/docs/models/WebhookEvent.md +++ b/docs/models/WebhookEvent.md @@ -27,7 +27,7 @@ * `VaultAccountAssetBalanceUpdated` (value: `'vault_account.asset.balance_updated'`) -* `VaultAccountNftBalanceUpdated` (value: `'vault_account.nft.balance_updated'`) +* `EmbeddedWalletStatusUpdated` (value: `'embedded_wallet.status.updated'`) * `EmbeddedWalletCreated` (value: `'embedded_wallet.created'`) @@ -39,54 +39,6 @@ * `EmbeddedWalletDeviceAdded` (value: `'embedded_wallet.device.added'`) -* `EmbeddedWalletTransactionUpdated` (value: `'embedded_wallet.transaction.updated'`) - -* `ExchangeAccountConnected` (value: `'exchange_account.connected'`) - -* `FiatAccountConnected` (value: `'fiat_account.connected'`) - -* `TicketCreated` (value: `'ticket.created'`) - -* `TicketSubmitted` (value: `'ticket.submitted'`) - -* `TicketExpired` (value: `'ticket.expired'`) - -* `TicketCanceled` (value: `'ticket.canceled'`) - -* `TicketFulfilled` (value: `'ticket.fulfilled'`) - -* `TicketCounterpartyAdded` (value: `'ticket.counterparty.added'`) - -* `TicketCounterpartyExternalIdSet` (value: `'ticket.counterparty_external_id.set'`) - -* `TicketNoteAdded` (value: `'ticket.note.added'`) - -* `TicketExpiredInSet` (value: `'ticket.expired_in.set'`) - -* `TicketExpiredAtSet` (value: `'ticket.expired_at.set'`) - -* `TicketTermAdded` (value: `'ticket.term.added'`) - -* `TicketTermUpdated` (value: `'ticket.term.updated'`) - -* `TicketTermDeleted` (value: `'ticket.term.deleted'`) - -* `TicketTermFunded` (value: `'ticket.term.funded'`) - -* `TicketTermManuallyFunded` (value: `'ticket.term.manually_funded'`) - -* `TicketTermFundingCanceled` (value: `'ticket.term.funding_canceled'`) - -* `TicketTermFundingFailed` (value: `'ticket.term.funding_failed'`) - -* `TicketTermFundingCompleted` (value: `'ticket.term.funding_completed'`) - -* `TicketTermTransactionStatusChanged` (value: `'ticket.term.transaction_status_changed'`) - -* `SettlementCreated` (value: `'settlement.created'`) - -* `CollateralStatusUpdated` (value: `'collateral.status.updated'`) - [[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/models/create-webhook-request.ts b/models/create-webhook-request.ts index aac2963..1dc253b 100644 --- a/models/create-webhook-request.ts +++ b/models/create-webhook-request.ts @@ -29,18 +29,18 @@ export interface CreateWebhookRequest { * @memberof CreateWebhookRequest */ 'url': string; - /** - * description of the webhook. should not contain special characters. - * @type {string} - * @memberof CreateWebhookRequest - */ - 'description': string; /** * event types the webhook will subscribe to * @type {Array} * @memberof CreateWebhookRequest */ 'events': Array; + /** + * description of the webhook. should not contain special characters. + * @type {string} + * @memberof CreateWebhookRequest + */ + 'description'?: string; /** * The status of the webhook. If false, the webhook will not receive notifications. * @type {boolean} diff --git a/models/index.ts b/models/index.ts index 1c798a2..5e3aa1b 100644 --- a/models/index.ts +++ b/models/index.ts @@ -278,6 +278,7 @@ export * from './network-record'; export * from './none-network-routing-dest'; export * from './not-found-exception'; export * from './notification'; +export * from './notification-attempt'; export * from './notification-paginated-response'; export * from './notification-status'; export * from './notification-with-data'; diff --git a/models/notification-attempt.ts b/models/notification-attempt.ts new file mode 100644 index 0000000..22c35fd --- /dev/null +++ b/models/notification-attempt.ts @@ -0,0 +1,56 @@ +/* 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 NotificationAttempt + */ +export interface NotificationAttempt { + /** + * The time when the attempt was sent in milliseconds. + * @type {number} + * @memberof NotificationAttempt + */ + 'sentTime': number; + /** + * The duration of the attempt in milliseconds. + * @type {number} + * @memberof NotificationAttempt + */ + 'duration': number; + /** + * The response code of the attempt, when missing refer to failureReason. + * @type {number} + * @memberof NotificationAttempt + */ + 'responseCode'?: number; + /** + * The request failure reason in case responseCode is missing. + * @type {string} + * @memberof NotificationAttempt + */ + 'failureReason'?: NotificationAttemptFailureReasonEnum; +} + +export const NotificationAttemptFailureReasonEnum = { + TimedOut: 'TIMED_OUT', + NoResponse: 'NO_RESPONSE' +} as const; + +export type NotificationAttemptFailureReasonEnum = typeof NotificationAttemptFailureReasonEnum[keyof typeof NotificationAttemptFailureReasonEnum]; + + diff --git a/models/notification-with-data.ts b/models/notification-with-data.ts index 6ef705c..c6f871f 100644 --- a/models/notification-with-data.ts +++ b/models/notification-with-data.ts @@ -13,6 +13,9 @@ */ +// May contain unused imports in some cases +// @ts-ignore +import { NotificationAttempt } from './notification-attempt'; // May contain unused imports in some cases // @ts-ignore import { NotificationStatus } from './notification-status'; @@ -33,17 +36,17 @@ export interface NotificationWithData { */ 'id': string; /** - * The creation date of the notification - * @type {string} + * The creation date of the notification in milliseconds + * @type {number} * @memberof NotificationWithData */ - 'createdAt': string; + 'createdAt': number; /** - * The date when the notification was updated - * @type {string} + * The date when the notification was updated in milliseconds + * @type {number} * @memberof NotificationWithData */ - 'updatedAt': string; + 'updatedAt': number; /** * * @type {NotificationStatus} @@ -56,18 +59,12 @@ export interface NotificationWithData { * @memberof NotificationWithData */ 'eventType': WebhookEvent; - /** - * The event version which the Notification is listen to - * @type {number} - * @memberof NotificationWithData - */ - 'eventVersion': number; /** * The attempts related to Notification - * @type {Array} + * @type {Array} * @memberof NotificationWithData */ - 'attempts': Array; + 'attempts': Array; /** * The resource id of the event which the Notification is listen to * @type {string} diff --git a/models/notification.ts b/models/notification.ts index 6e43c7a..745ba6c 100644 --- a/models/notification.ts +++ b/models/notification.ts @@ -13,6 +13,9 @@ */ +// May contain unused imports in some cases +// @ts-ignore +import { NotificationAttempt } from './notification-attempt'; // May contain unused imports in some cases // @ts-ignore import { NotificationStatus } from './notification-status'; @@ -33,17 +36,17 @@ export interface Notification { */ 'id': string; /** - * The creation date of the notification - * @type {string} + * The creation date of the notification in milliseconds + * @type {number} * @memberof Notification */ - 'createdAt': string; + 'createdAt': number; /** - * The date when the notification was updated - * @type {string} + * The date when the notification was updated in milliseconds + * @type {number} * @memberof Notification */ - 'updatedAt': string; + 'updatedAt': number; /** * * @type {NotificationStatus} @@ -57,23 +60,17 @@ export interface Notification { */ 'eventType': WebhookEvent; /** - * The event version of the Notification - * @type {number} + * The attempts related to Notification + * @type {Array} * @memberof Notification */ - 'eventVersion': number; + 'attempts': Array; /** * The resource id of the event which the Notification is listen to * @type {string} * @memberof Notification */ 'resourceId'?: string | null; - /** - * The attempts related to Notification - * @type {Array} - * @memberof Notification - */ - 'attempts'?: Array; } diff --git a/models/webhook-event.ts b/models/webhook-event.ts index 1b17452..86368c5 100644 --- a/models/webhook-event.ts +++ b/models/webhook-event.ts @@ -33,36 +33,12 @@ export const WebhookEvent = { VaultAccountCreated: 'vault_account.created', VaultAccountAssetListed: 'vault_account.asset.listed', VaultAccountAssetBalanceUpdated: 'vault_account.asset.balance_updated', - VaultAccountNftBalanceUpdated: 'vault_account.nft.balance_updated', + EmbeddedWalletStatusUpdated: 'embedded_wallet.status.updated', EmbeddedWalletCreated: 'embedded_wallet.created', EmbeddedWalletAssetBalanceUpdated: 'embedded_wallet.asset.balance_updated', EmbeddedWalletAssetListed: 'embedded_wallet.asset.listed', EmbeddedWalletAccountCreated: 'embedded_wallet.account.created', - EmbeddedWalletDeviceAdded: 'embedded_wallet.device.added', - EmbeddedWalletTransactionUpdated: 'embedded_wallet.transaction.updated', - ExchangeAccountConnected: 'exchange_account.connected', - FiatAccountConnected: 'fiat_account.connected', - TicketCreated: 'ticket.created', - TicketSubmitted: 'ticket.submitted', - TicketExpired: 'ticket.expired', - TicketCanceled: 'ticket.canceled', - TicketFulfilled: 'ticket.fulfilled', - TicketCounterpartyAdded: 'ticket.counterparty.added', - TicketCounterpartyExternalIdSet: 'ticket.counterparty_external_id.set', - TicketNoteAdded: 'ticket.note.added', - TicketExpiredInSet: 'ticket.expired_in.set', - TicketExpiredAtSet: 'ticket.expired_at.set', - TicketTermAdded: 'ticket.term.added', - TicketTermUpdated: 'ticket.term.updated', - TicketTermDeleted: 'ticket.term.deleted', - TicketTermFunded: 'ticket.term.funded', - TicketTermManuallyFunded: 'ticket.term.manually_funded', - TicketTermFundingCanceled: 'ticket.term.funding_canceled', - TicketTermFundingFailed: 'ticket.term.funding_failed', - TicketTermFundingCompleted: 'ticket.term.funding_completed', - TicketTermTransactionStatusChanged: 'ticket.term.transaction_status_changed', - SettlementCreated: 'settlement.created', - CollateralStatusUpdated: 'collateral.status.updated' + EmbeddedWalletDeviceAdded: 'embedded_wallet.device.added' } as const; export type WebhookEvent = typeof WebhookEvent[keyof typeof WebhookEvent]; diff --git a/models/webhook.ts b/models/webhook.ts index b48bdbb..675b192 100644 --- a/models/webhook.ts +++ b/models/webhook.ts @@ -28,48 +28,49 @@ export interface Webhook { * @type {string} * @memberof Webhook */ - 'id'?: string; + 'id': string; /** * The url of the webhook where notifications will be sent. Must be a valid URL and https. * @type {string} * @memberof Webhook */ - 'url'?: string; - /** - * description of the webhook of what it is used for - * @type {string} - * @memberof Webhook - */ - 'description'?: string; + 'url': string; /** * The events that the webhook will be subscribed to * @type {Array} * @memberof Webhook */ - 'events'?: Array; + 'events': Array; /** * The status of the webhook * @type {string} * @memberof Webhook */ - 'status'?: WebhookStatusEnum; + 'status': WebhookStatusEnum; /** - * The date and time the webhook was created - * @type {string} + * The date and time the webhook was created in milliseconds + * @type {number} + * @memberof Webhook + */ + 'createdAt': number; + /** + * The date and time the webhook was last updated in milliseconds + * @type {number} * @memberof Webhook */ - 'createdAt'?: string; + 'updatedAt': number; /** - * The date and time the webhook was last updated + * description of the webhook of what it is used for * @type {string} * @memberof Webhook */ - 'updatedAt'?: string; + 'description'?: string; } export const WebhookStatusEnum = { Disabled: 'DISABLED', - Enabled: 'ENABLED' + Enabled: 'ENABLED', + Suspended: 'SUSPENDED' } as const; export type WebhookStatusEnum = typeof WebhookStatusEnum[keyof typeof WebhookStatusEnum]; diff --git a/package-lock.json b/package-lock.json index e12ab65..8e08640 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fireblocks/ts-sdk", - "version": "8.0.0", + "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@fireblocks/ts-sdk", - "version": "8.0.0", + "version": "0.0.0", "license": "MIT License", "dependencies": { "axios": "^1.6.7", @@ -56,9 +56,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.26.5", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.5.tgz", - "integrity": "sha512-XvcZi1KWf88RVbF9wn8MN6tYFloU5qX8KjuF3E1PVBmJ9eypXfs4GRiJwLuTZL0iSnJUKn1BFPa5BPZZJyFzPg==", + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.8.tgz", + "integrity": "sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==", "dev": true, "license": "MIT", "engines": { @@ -66,22 +66,23 @@ } }, "node_modules/@babel/core": { - "version": "7.26.7", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.7.tgz", - "integrity": "sha512-SRijHmF0PSPgLIBYlWnG0hyeJLwXE2CgpsXaMOrtt2yp9/86ALw6oUlj9KYuZ0JN07T4eBMVIW4li/9S1j2BGA==", + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.8.tgz", + "integrity": "sha512-l+lkXCHS6tQEc5oUpK28xBOZ6+HwaH7YwoYQbLFiYb4nS2/l1tKnZEtEWkD0GuiYdvArf9qBS0XlQGXzPMsNqQ==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.26.2", - "@babel/generator": "^7.26.5", + "@babel/generator": "^7.26.8", "@babel/helper-compilation-targets": "^7.26.5", "@babel/helper-module-transforms": "^7.26.0", "@babel/helpers": "^7.26.7", - "@babel/parser": "^7.26.7", - "@babel/template": "^7.25.9", - "@babel/traverse": "^7.26.7", - "@babel/types": "^7.26.7", + "@babel/parser": "^7.26.8", + "@babel/template": "^7.26.8", + "@babel/traverse": "^7.26.8", + "@babel/types": "^7.26.8", + "@types/gensync": "^1.0.0", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -97,14 +98,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.26.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.5.tgz", - "integrity": "sha512-2caSP6fN9I7HOe6nqhtft7V4g7/V/gfDsC3Ag4W7kEzzvRGKqiv0pu0HogPiZ3KaVSoNDhUws6IJjDjpfmYIXw==", + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.8.tgz", + "integrity": "sha512-ef383X5++iZHWAXX0SXQR6ZyQhw/0KtTkrTz61WXRhFM6dhpHulO/RJz79L8S6ugZHJkOOkUrUdxgdF2YiPFnA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/parser": "^7.26.5", - "@babel/types": "^7.26.5", + "@babel/parser": "^7.26.8", + "@babel/types": "^7.26.8", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^3.0.2" @@ -217,13 +218,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.26.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.7.tgz", - "integrity": "sha512-kEvgGGgEjRUutvdVvZhbn/BxVt+5VSpwXz1j3WYXQbXDo8KzFOPNG2GQbdAiNq8g6wn1yKk7C/qrke03a84V+w==", + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.8.tgz", + "integrity": "sha512-TZIQ25pkSoaKEYYaHbbxkfL36GNsQ6iFiBbeuzAkLnXayKR1yP1zFe+NxuZWWsUyvt8icPU9CCq0sgWGXR1GEw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.26.7" + "@babel/types": "^7.26.8" }, "bin": { "parser": "bin/babel-parser.js" @@ -472,32 +473,32 @@ } }, "node_modules/@babel/template": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz", - "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==", + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.26.8.tgz", + "integrity": "sha512-iNKaX3ZebKIsCvJ+0jd6embf+Aulaa3vNBqZ41kM7iTWjx5qzWKXGHiJUW3+nTpQ18SG11hdF8OAzKrpXkb96Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.25.9", - "@babel/parser": "^7.25.9", - "@babel/types": "^7.25.9" + "@babel/code-frame": "^7.26.2", + "@babel/parser": "^7.26.8", + "@babel/types": "^7.26.8" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.26.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.7.tgz", - "integrity": "sha512-1x1sgeyRLC3r5fQOM0/xtQKsYjyxmFjaOrLJNtZ81inNjyJHGIolTULPiSc/2qe1/qfpFLisLQYFnnZl7QoedA==", + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.8.tgz", + "integrity": "sha512-nic9tRkjYH0oB2dzr/JoGIm+4Q6SuYeLEiIiZDwBscRMYFJ+tMAz98fuel9ZnbXViA2I0HVSSRRK8DW5fjXStA==", "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.26.2", - "@babel/generator": "^7.26.5", - "@babel/parser": "^7.26.7", - "@babel/template": "^7.25.9", - "@babel/types": "^7.26.7", + "@babel/generator": "^7.26.8", + "@babel/parser": "^7.26.8", + "@babel/template": "^7.26.8", + "@babel/types": "^7.26.8", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -506,9 +507,9 @@ } }, "node_modules/@babel/types": { - "version": "7.26.7", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.7.tgz", - "integrity": "sha512-t8kDRGrKXyp6+tjUh7hw2RLyclsW4TRoRvRHtSyAX9Bb5ldlFh+90YAYY6awRXrlB4G5G2izNeGySpATlFzmOg==", + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.8.tgz", + "integrity": "sha512-eUuWapzEGWFEpHFxgEaBG8e3n6S8L3MSu0oda755rOfabWPnh0Our1AozNFVUxGFIhbKgd1ksprsoDGMinTOTA==", "dev": true, "license": "MIT", "dependencies": { @@ -970,6 +971,13 @@ "@babel/types": "^7.20.7" } }, + "node_modules/@types/gensync": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@types/gensync/-/gensync-1.0.4.tgz", + "integrity": "sha512-C3YYeRQWp2fmq9OryX+FoDy8nXS6scQ7dPptD8LnFDAUNcKWJjXQKDNJD3HVm+kOUsXhTOkpi69vI4EuAr95bA==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/graceful-fs": { "version": "4.1.9", "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", @@ -1401,9 +1409,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001696", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001696.tgz", - "integrity": "sha512-pDCPkvzfa39ehJtJ+OwGT/2yvT2SbjfHhiIW2LWOAcMQ7BzwxT/XuyUp4OTOd0XFWA6BKw0JalnBHgSi5DGJBQ==", + "version": "1.0.30001699", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001699.tgz", + "integrity": "sha512-b+uH5BakXZ9Do9iK+CkDmctUSEqZl+SP056vc5usa0PL+ev5OHw003rZXcnjNDv3L8P5j6rwT6C0BPKSikW08w==", "dev": true, "funding": [ { @@ -1669,9 +1677,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.90", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.90.tgz", - "integrity": "sha512-C3PN4aydfW91Natdyd449Kw+BzhLmof6tzy5W1pFC5SpQxVXT+oyiyOG9AgYYSN9OdA/ik3YkCrpwqI8ug5Tug==", + "version": "1.5.97", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.97.tgz", + "integrity": "sha512-HKLtaH02augM7ZOdYRuO19rWDeY+QSJ1VxnXFa/XDFLf07HvM90pALIJFgrO+UVaajI3+aJMMpojoUTLZyQ7JQ==", "dev": true, "license": "ISC" }, @@ -2171,9 +2179,9 @@ } }, "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", "dev": true, "license": "ISC", "bin": { @@ -2726,9 +2734,9 @@ } }, "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", "dev": true, "license": "ISC", "bin": { @@ -2916,9 +2924,9 @@ } }, "node_modules/jsonwebtoken/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -3064,9 +3072,9 @@ } }, "node_modules/make-dir/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", "dev": true, "license": "ISC", "bin": { @@ -3842,9 +3850,9 @@ } }, "node_modules/ts-jest/node_modules/semver": { - "version": "7.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.0.tgz", - "integrity": "sha512-DrfFnPzblFmNrIZzg5RzHegbiRWg7KMR7btwi2yjHwx06zsUbO5g613sVwEV7FTwmzJu+Io0lJe2GJ3LxqpvBQ==", + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", "dev": true, "license": "ISC", "bin": { diff --git a/package.json b/package.json index cdcf207..985015d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fireblocks/ts-sdk", - "version": "8.0.0", + "version": "0.0.0", "description": "OpenAPI client for @fireblocks/ts-sdk", "author": "Fireblocks SDK Generator", "repository": {