diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 59d385c5..db12e92e 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -71,7 +71,6 @@ AddressReverseLookupResponse.md AddressesFilters.md AlertExposureTypeEnum.md AlertLevelEnum.md -AllocationWithdrawPayload.md AllowListPayload.md AllowlistEntry.md AllowlistEntryProviderMetadata.md @@ -179,6 +178,9 @@ BlockchainStateFilter.md BlockchainTransfer.md BlockchainsAssetsApi.md BpsFee.md +BulkProofOfOwnership.md +BulkSigningKey.md +BulkSigningKeyJob.md BusinessEntityTypeEnum.md BusinessIdentification.md ByorkConfigResponse.md @@ -195,7 +197,6 @@ CallbackHandler.md CallbackHandlerRequest.md CancelTransactionResponse.md CantonCall.md -CantonCallAllocationWithdraw.md CantonCallAllowListAdd.md CantonCallAllowListRemove.md CantonCallDetails.md @@ -325,6 +326,8 @@ CreateAddressesReportRequest.md CreateAssetsRequest.md CreateBlockchainRequest.md CreateBlockchainResponse.md +CreateBulkSigningKeys.md +CreateBulkSigningKeysResponse.md CreateConfigOperationRequest.md CreateConnectionRequest.md CreateConnectionResponse.md @@ -548,6 +551,7 @@ GetAuditLogsResponse.md GetAutomationSettingsResponse.md GetBillingInfoResponse.md GetBlockchainByIdResponse.md +GetBulkSigningKeysJobsResponse.md GetByorkVerdictResponse.md GetConnectedAccountsCredentialsPublicKeyResponse.md GetConnectionsResponse.md @@ -733,6 +737,7 @@ OfferResponse.md OfferResponseAccepted.md OfferResponseAllocationAccept.md OfferResponseAllocationReject.md +OfferResponseAllocationWithdraw.md OfferResponseDtccOnboardingAccept.md OfferResponseDtccOnboardingReject.md OfferResponseTradewebAccept.md @@ -1218,7 +1223,7 @@ TotalSupplyItemDto.md TotalSupplyPagedResponse.md TotalSupplyPagedResponse2.md TradingAccountType.md -TradingBetaApi.md +TradingApi.md TradingErrorSchema.md TradingProvider.md Transaction.md @@ -1481,7 +1486,7 @@ api/staking-api.ts api/tags-api.ts api/tempo-beta-api.ts api/tokenization-api.ts -api/trading-beta-api.ts +api/trading-api.ts api/transactions-api.ts api/travel-rule-api.ts api/trlink-api.ts @@ -1571,7 +1576,6 @@ models/address-reverse-lookup-response.ts models/addresses-filters.ts models/alert-exposure-type-enum.ts models/alert-level-enum.ts -models/allocation-withdraw-payload.ts models/allow-list-payload.ts models/allowlist-entry-provider-metadata.ts models/allowlist-entry-response.ts @@ -1676,6 +1680,9 @@ models/blockchain-state-filter.ts models/blockchain-transfer.ts models/blockchain.ts models/bps-fee.ts +models/bulk-proof-of-ownership.ts +models/bulk-signing-key-job.ts +models/bulk-signing-key.ts models/business-entity-type-enum.ts models/business-identification.ts models/byork-config-response.ts @@ -1691,7 +1698,6 @@ models/call-accepted.ts models/callback-handler-request.ts models/callback-handler.ts models/cancel-transaction-response.ts -models/canton-call-allocation-withdraw.ts models/canton-call-allow-list-add.ts models/canton-call-allow-list-remove.ts models/canton-call-details.ts @@ -1812,6 +1818,8 @@ models/create-apiuser.ts models/create-assets-request.ts models/create-blockchain-request.ts models/create-blockchain-response.ts +models/create-bulk-signing-keys-response.ts +models/create-bulk-signing-keys.ts models/create-config-operation-request.ts models/create-connection-request.ts models/create-connection-response.ts @@ -2027,6 +2035,7 @@ models/get-audit-logs-response.ts models/get-automation-settings-response.ts models/get-billing-info-response.ts models/get-blockchain-by-id-response.ts +models/get-bulk-signing-keys-jobs-response.ts models/get-byork-verdict-response.ts models/get-connected-accounts-credentials-public-key-response.ts models/get-connections-response.ts @@ -2203,6 +2212,7 @@ models/notification.ts models/offer-response-accepted.ts models/offer-response-allocation-accept.ts models/offer-response-allocation-reject.ts +models/offer-response-allocation-withdraw.ts models/offer-response-dtcc-onboarding-accept.ts models/offer-response-dtcc-onboarding-reject.ts models/offer-response-tradeweb-accept.ts @@ -2891,6 +2901,8 @@ tests/bearerTokenProvider.spec.ts tests/client.spec.ts tests/fireblocksError.spec.ts tests/fireblocksResponse.spec.ts +tests/lifecycleWarning.spec.ts tests/validation_utils.spec.ts tsconfig.json +utils/lifecycleWarning.ts utils/validation_utils.ts diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 69156595..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,258 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v34.0.0](https://github.com/fireblocks/ts-sdk/compare/v19.0.0...v34.0.0) - 2026-10-07 - -### Merged - -- Generated SDK #2917861426 [`#212`](https://github.com/fireblocks/ts-sdk/pull/212) - -## [v19.0.0](https://github.com/fireblocks/ts-sdk/compare/v18.0.0...v19.0.0) - 2026-05-17 - -### Merged - -- Generated SDK #7742 (major) [`#183`](https://github.com/fireblocks/ts-sdk/pull/183) - -## [v18.0.0](https://github.com/fireblocks/ts-sdk/compare/v17.0.0...v18.0.0) - 2026-05-06 - -### Merged - -- Generated SDK #3222 [`#181`](https://github.com/fireblocks/ts-sdk/pull/181) - -## [v17.0.0](https://github.com/fireblocks/ts-sdk/compare/v16.0.0...v17.0.0) - 2026-04-20 - -### Merged - -- Generated SDK #9605 (major) [`#180`](https://github.com/fireblocks/ts-sdk/pull/180) - -## [v16.0.0](https://github.com/fireblocks/ts-sdk/compare/v15.0.0...v16.0.0) - 2026-04-06 - -### Merged - -- Generated SDK #3331 [`#179`](https://github.com/fireblocks/ts-sdk/pull/179) - -## [v15.0.0](https://github.com/fireblocks/ts-sdk/compare/v14.1.0...v15.0.0) - 2026-03-15 - -### Merged - -- Generated SDK #3733 (major) [`#174`](https://github.com/fireblocks/ts-sdk/pull/174) - -## [v14.1.0](https://github.com/fireblocks/ts-sdk/compare/v14.0.0...v14.1.0) - 2026-02-26 - -### Merged - -- Generated SDK #2167 [`#172`](https://github.com/fireblocks/ts-sdk/pull/172) - -## [v14.0.0](https://github.com/fireblocks/ts-sdk/compare/v13.0.0...v14.0.0) - 2026-02-03 - -### Merged - -- Generated SDK #4746 [`#164`](https://github.com/fireblocks/ts-sdk/pull/164) - -## [v13.0.0](https://github.com/fireblocks/ts-sdk/compare/v12.1.2...v13.0.0) - 2025-11-13 - -### Merged - -- Generated SDK #5834 [`#146`](https://github.com/fireblocks/ts-sdk/pull/146) - -## [v12.1.2](https://github.com/fireblocks/ts-sdk/compare/v12.1.1...v12.1.2) - 2025-10-22 - -### Merged - -- Generated SDK #8293 [`#145`](https://github.com/fireblocks/ts-sdk/pull/145) - -## [v12.1.1](https://github.com/fireblocks/ts-sdk/compare/v12.1.0...v12.1.1) - 2025-09-29 - -### Merged - -- Generated SDK #6061 [`#143`](https://github.com/fireblocks/ts-sdk/pull/143) - -## [v12.1.0](https://github.com/fireblocks/ts-sdk/compare/v12.0.0...v12.1.0) - 2025-09-09 - -### Merged - -- Generated SDK #4521 [`#142`](https://github.com/fireblocks/ts-sdk/pull/142) - -## [v12.0.0](https://github.com/fireblocks/ts-sdk/compare/v11.2.0...v12.0.0) - 2025-09-01 - -### Merged - -- Generated SDK #7741 [`#141`](https://github.com/fireblocks/ts-sdk/pull/141) - -## [v11.2.0](https://github.com/fireblocks/ts-sdk/compare/v11.1.0...v11.2.0) - 2025-08-18 - -### Merged - -- Generated SDK #3302 [`#140`](https://github.com/fireblocks/ts-sdk/pull/140) - -## [v11.1.0](https://github.com/fireblocks/ts-sdk/compare/v11.0.0...v11.1.0) - 2025-08-11 - -### Merged - -- Generated SDK #1782 [`#139`](https://github.com/fireblocks/ts-sdk/pull/139) - -## [v11.0.0](https://github.com/fireblocks/ts-sdk/compare/v10.4.0...v11.0.0) - 2025-07-15 - -### Merged - -- Generated SDK #5610 [`#136`](https://github.com/fireblocks/ts-sdk/pull/136) - -## [v10.4.0](https://github.com/fireblocks/ts-sdk/compare/v10.3.0...v10.4.0) - 2025-06-29 - -### Merged - -- Generated SDK #1492 [`#135`](https://github.com/fireblocks/ts-sdk/pull/135) - -## [v10.3.0](https://github.com/fireblocks/ts-sdk/compare/v10.2.0...v10.3.0) - 2025-06-18 - -### Merged - -- Generated SDK #4009 [`#134`](https://github.com/fireblocks/ts-sdk/pull/134) - -## [v10.2.0](https://github.com/fireblocks/ts-sdk/compare/v10.1.1...v10.2.0) - 2025-06-04 - -### Merged - -- Generated SDK #8912 [`#133`](https://github.com/fireblocks/ts-sdk/pull/133) - -## [v10.1.1](https://github.com/fireblocks/ts-sdk/compare/v10.1.0...v10.1.1) - 2025-05-18 - -### Merged - -- Generated SDK #5019 [`#132`](https://github.com/fireblocks/ts-sdk/pull/132) - -## [v10.1.0](https://github.com/fireblocks/ts-sdk/compare/v10.0.2...v10.1.0) - 2025-05-07 - -### Merged - -- Generated SDK #7076 [`#130`](https://github.com/fireblocks/ts-sdk/pull/130) - -## [v10.0.2](https://github.com/fireblocks/ts-sdk/compare/v10.0.1...v10.0.2) - 2025-04-20 - -### Merged - -- Generated SDK #4794 [`#128`](https://github.com/fireblocks/ts-sdk/pull/128) - -## [v10.0.1](https://github.com/fireblocks/ts-sdk/compare/v10.0.0...v10.0.1) - 2025-04-07 - -### Merged - -- Generated SDK #3065 [`#126`](https://github.com/fireblocks/ts-sdk/pull/126) - -## [v10.0.0](https://github.com/fireblocks/ts-sdk/compare/v9.0.0...v10.0.0) - 2025-03-27 - -### Merged - -- Generated SDK #619 [`#124`](https://github.com/fireblocks/ts-sdk/pull/124) - -## [v9.0.0](https://github.com/fireblocks/ts-sdk/compare/v8.1.0...v9.0.0) - 2025-03-17 - -### Merged - -- Generated SDK #645 [`#123`](https://github.com/fireblocks/ts-sdk/pull/123) - -## [v8.1.0](https://github.com/fireblocks/ts-sdk/compare/v8.0.1...v8.1.0) - 2025-02-24 - -### Merged - -- Generated SDK #9833 [`#120`](https://github.com/fireblocks/ts-sdk/pull/120) - -## [v8.0.1](https://github.com/fireblocks/ts-sdk/compare/v8.0.0...v8.0.1) - 2025-02-12 - -### Merged - -- Generated SDK #4262 [`#119`](https://github.com/fireblocks/ts-sdk/pull/119) - -## [v8.0.0](https://github.com/fireblocks/ts-sdk/compare/v7.0.0...v8.0.0) - 2025-02-02 - -### Merged - -- 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) - 2025-01-08 - -### Merged - -- 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) - 2024-12-05 - -### Merged - -- 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) - 2024-10-31 - -### Merged - -- 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) - 2024-09-17 - -### Merged - -- 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) - 2024-07-25 - -### Merged - -- 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) - 2024-07-17 - -### Merged - -- 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) - 2024-06-04 - -### Merged - -- 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) - 2024-05-08 - -### Merged - -- 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) - 2024-04-17 - -### Merged - -- 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) - 2024-04-07 - -### Merged - -- Generated SDK for version v1.0.1 [`#32`](https://github.com/fireblocks/ts-sdk/pull/32) - -## v1.0.0 - 2024-04-07 - -### Merged - -- 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 c927e665..b2b9640f 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,10 @@ Install the SDK using npm: npm install @fireblocks/ts-sdk ``` +## Versioning + +This SDK follows [semantic versioning](https://semver.org), with one exception: operations in the `beta` lifecycle state. Beta operations are not generally available and may not be accessible to all customers. They can change or be removed without notice. + ## Usage ### Initializing the SDK You can initialize the Fireblocks SDK in two ways, either by setting environment variables or providing the parameters directly: @@ -120,6 +124,34 @@ async function createTransaction(assetId, amount, srcId, destId) { ``` +## API Lifecycle Warnings + +When you call an operation that is not generally available, the SDK logs a warning +naming the operation and its lifecycle state. The state is read from a response +header, so it is always current - it does not depend on the SDK version you have +installed. + +``` +Operation 'createTransaction' is in 'beta' lifecycle state and is not generally available. It may change or be removed without notice. +``` + +Deprecated operations report their sunset date, and the replacement and migration +guide when the API provides them. + +An operation that has been closed answers `410 Gone` to most callers and logs nothing. +If your account still has temporary access to it, calls that are served log a warning +saying so. + +Warnings are written with `console.warn`. To suppress them, set: + +```shell +export FIREBLOCKS_SDK_SUPPRESS_LIFECYCLE_WARNING=1 +``` + +> **If your production build strips `console` calls** - terser `drop_console`, +> Next.js `compiler.removeConsole`, esbuild `drop: ['console']` - these warnings are +> removed from the bundle along with them, and you will not see them. + ## Documentation for API Endpoints All URIs are relative to https://developers.fireblocks.com/reference/ @@ -318,9 +350,12 @@ Class | Method | HTTP request | Description *InternalWalletsApi* | [**getInternalWalletAssetsPaginated**](docs/apis/InternalWalletsApi.md#getInternalWalletAssetsPaginated) | **GET** /internal_wallets/{walletId}/assets | List assets in an internal wallet (Paginated) *InternalWalletsApi* | [**getInternalWallets**](docs/apis/InternalWalletsApi.md#getInternalWallets) | **GET** /internal_wallets | List internal wallets *InternalWalletsApi* | [**setCustomerRefIdForInternalWallet**](docs/apis/InternalWalletsApi.md#setCustomerRefIdForInternalWallet) | **POST** /internal_wallets/{walletId}/set_customer_ref_id | Set an AML/KYT customer reference ID for internal wallet +*KeyLinkBetaApi* | [**createBulkSigningKeys**](docs/apis/KeyLinkBetaApi.md#createBulkSigningKeys) | **POST** /key_link/signing_keys/bulk | Register signing keys in bulk *KeyLinkBetaApi* | [**createSigningKey**](docs/apis/KeyLinkBetaApi.md#createSigningKey) | **POST** /key_link/signing_keys | Add a new signing key *KeyLinkBetaApi* | [**createValidationKey**](docs/apis/KeyLinkBetaApi.md#createValidationKey) | **POST** /key_link/validation_keys | Add a new validation key *KeyLinkBetaApi* | [**disableValidationKey**](docs/apis/KeyLinkBetaApi.md#disableValidationKey) | **PATCH** /key_link/validation_keys/{keyId} | Disables a validation key +*KeyLinkBetaApi* | [**getBulkSigningKeysJob**](docs/apis/KeyLinkBetaApi.md#getBulkSigningKeysJob) | **GET** /key_link/signing_keys/bulk/jobs/{jobId} | Get a bulk registration job +*KeyLinkBetaApi* | [**getBulkSigningKeysJobs**](docs/apis/KeyLinkBetaApi.md#getBulkSigningKeysJobs) | **GET** /key_link/signing_keys/bulk/jobs | Get bulk registration jobs *KeyLinkBetaApi* | [**getSigningKey**](docs/apis/KeyLinkBetaApi.md#getSigningKey) | **GET** /key_link/signing_keys/{keyId} | Get a signing key by `keyId` *KeyLinkBetaApi* | [**getSigningKeysList**](docs/apis/KeyLinkBetaApi.md#getSigningKeysList) | **GET** /key_link/signing_keys | Get list of signing keys *KeyLinkBetaApi* | [**getValidationKey**](docs/apis/KeyLinkBetaApi.md#getValidationKey) | **GET** /key_link/validation_keys/{keyId} | Get a validation key by `keyId` @@ -494,17 +529,17 @@ Class | Method | HTTP request | Description *TokenizationApi* | [**unlink**](docs/apis/TokenizationApi.md#unlink) | **DELETE** /tokenization/tokens/{id} | Unlink a token *TokenizationApi* | [**unlinkCollection**](docs/apis/TokenizationApi.md#unlinkCollection) | **DELETE** /tokenization/collections/{id} | Delete a collection link *TokenizationApi* | [**validateLayerZeroChannelConfig**](docs/apis/TokenizationApi.md#validateLayerZeroChannelConfig) | **GET** /tokenization/multichain/bridge/layerzero/validate | Validate LayerZero channel configuration -*TradingBetaApi* | [**createOrder**](docs/apis/TradingBetaApi.md#createOrder) | **POST** /trading/orders | Create an order -*TradingBetaApi* | [**createQuote**](docs/apis/TradingBetaApi.md#createQuote) | **POST** /trading/quotes | Create a quote -*TradingBetaApi* | [**fetchAllOffers**](docs/apis/TradingBetaApi.md#fetchAllOffers) | **POST** /trading/offers | Get all offers -*TradingBetaApi* | [**fetchRates**](docs/apis/TradingBetaApi.md#fetchRates) | **POST** /trading/rates | Get rates -*TradingBetaApi* | [**getOrder**](docs/apis/TradingBetaApi.md#getOrder) | **GET** /trading/orders/{orderId} | Get order details -*TradingBetaApi* | [**getOrderRequirements**](docs/apis/TradingBetaApi.md#getOrderRequirements) | **GET** /trading/orders/{orderId}/requirement | Get order requirement details for an order -*TradingBetaApi* | [**getOrders**](docs/apis/TradingBetaApi.md#getOrders) | **GET** /trading/orders | Get orders -*TradingBetaApi* | [**getTradingProviderById**](docs/apis/TradingBetaApi.md#getTradingProviderById) | **GET** /trading/providers/{providerId} | Get trading provider by ID -*TradingBetaApi* | [**getTradingProviders**](docs/apis/TradingBetaApi.md#getTradingProviders) | **GET** /trading/providers | Get providers -*TradingBetaApi* | [**submitOrderRequirements**](docs/apis/TradingBetaApi.md#submitOrderRequirements) | **POST** /trading/orders/{orderId}/requirement/data | Submit a response to an order requirement -*TradingBetaApi* | [**uploadOrderRequirementFile**](docs/apis/TradingBetaApi.md#uploadOrderRequirementFile) | **POST** /trading/orders/{orderId}/requirement/file | Upload a file for an order requirement +*TradingApi* | [**createOrder**](docs/apis/TradingApi.md#createOrder) | **POST** /trading/orders | Create an order +*TradingApi* | [**createQuote**](docs/apis/TradingApi.md#createQuote) | **POST** /trading/quotes | Create a quote +*TradingApi* | [**fetchAllOffers**](docs/apis/TradingApi.md#fetchAllOffers) | **POST** /trading/offers | Get all offers +*TradingApi* | [**fetchRates**](docs/apis/TradingApi.md#fetchRates) | **POST** /trading/rates | Get rates +*TradingApi* | [**getOrder**](docs/apis/TradingApi.md#getOrder) | **GET** /trading/orders/{orderId} | Get order details +*TradingApi* | [**getOrderRequirements**](docs/apis/TradingApi.md#getOrderRequirements) | **GET** /trading/orders/{orderId}/requirement | Get order requirement details for an order +*TradingApi* | [**getOrders**](docs/apis/TradingApi.md#getOrders) | **GET** /trading/orders | Get orders +*TradingApi* | [**getTradingProviderById**](docs/apis/TradingApi.md#getTradingProviderById) | **GET** /trading/providers/{providerId} | Get trading provider by ID +*TradingApi* | [**getTradingProviders**](docs/apis/TradingApi.md#getTradingProviders) | **GET** /trading/providers | Get providers +*TradingApi* | [**submitOrderRequirements**](docs/apis/TradingApi.md#submitOrderRequirements) | **POST** /trading/orders/{orderId}/requirement/data | Submit a response to an order requirement +*TradingApi* | [**uploadOrderRequirementFile**](docs/apis/TradingApi.md#uploadOrderRequirementFile) | **POST** /trading/orders/{orderId}/requirement/file | Upload a file for an order requirement *TransactionsApi* | [**cancelTransaction**](docs/apis/TransactionsApi.md#cancelTransaction) | **POST** /transactions/{txId}/cancel | Cancel a transaction *TransactionsApi* | [**createTransaction**](docs/apis/TransactionsApi.md#createTransaction) | **POST** /transactions | Create a new transaction *TransactionsApi* | [**dropTransaction**](docs/apis/TransactionsApi.md#dropTransaction) | **POST** /transactions/{txId}/drop | Drop ETH (EVM) transaction by ID @@ -567,7 +602,6 @@ Class | Method | HTTP request | Description *VaultsApi* | [**getVaultBalanceByAsset**](docs/apis/VaultsApi.md#getVaultBalanceByAsset) | **GET** /vault/assets/{assetId} | Get vault balance by an asset *VaultsApi* | [**hideVaultAccount**](docs/apis/VaultsApi.md#hideVaultAccount) | **POST** /vault/accounts/{vaultAccountId}/hide | Hide a vault account in the console *VaultsApi* | [**lookupVaultByAddress**](docs/apis/VaultsApi.md#lookupVaultByAddress) | **GET** /vault/lookup_by_address | Look up a vault account by blockchain address -*VaultsApi* | [**registerTempoOmnibusWallet**](docs/apis/VaultsApi.md#registerTempoOmnibusWallet) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/omnibus/tempo/register | Register a Tempo omnibus wallet *VaultsApi* | [**setCustomerRefIdForAddress**](docs/apis/VaultsApi.md#setCustomerRefIdForAddress) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/set_customer_ref_id | Assign AML customer reference ID *VaultsApi* | [**setUsdcGatewayDepositAutomationBeta**](docs/apis/VaultsApi.md#setUsdcGatewayDepositAutomationBeta) | **POST** /vault/accounts/{vaultAccountId}/virtual_asset_wallet/usdc_gateway/deposit_automation | Set up a USDC Gateway deposit automation for a vault account *VaultsApi* | [**setVaultAccountAutoFuel**](docs/apis/VaultsApi.md#setVaultAccountAutoFuel) | **POST** /vault/accounts/{vaultAccountId}/set_auto_fuel | Set auto fueling to on or off @@ -686,7 +720,6 @@ Class | Method | HTTP request | Description - [AddressesFilters](docs/models/AddressesFilters.md) - [AlertExposureTypeEnum](docs/models/AlertExposureTypeEnum.md) - [AlertLevelEnum](docs/models/AlertLevelEnum.md) - - [AllocationWithdrawPayload](docs/models/AllocationWithdrawPayload.md) - [AllowListPayload](docs/models/AllowListPayload.md) - [AllowlistEntry](docs/models/AllowlistEntry.md) - [AllowlistEntryProviderMetadata](docs/models/AllowlistEntryProviderMetadata.md) @@ -789,6 +822,9 @@ Class | Method | HTTP request | Description - [BlockchainStateFilter](docs/models/BlockchainStateFilter.md) - [BlockchainTransfer](docs/models/BlockchainTransfer.md) - [BpsFee](docs/models/BpsFee.md) + - [BulkProofOfOwnership](docs/models/BulkProofOfOwnership.md) + - [BulkSigningKey](docs/models/BulkSigningKey.md) + - [BulkSigningKeyJob](docs/models/BulkSigningKeyJob.md) - [BusinessEntityTypeEnum](docs/models/BusinessEntityTypeEnum.md) - [BusinessIdentification](docs/models/BusinessIdentification.md) - [ByorkConfigResponse](docs/models/ByorkConfigResponse.md) @@ -805,7 +841,6 @@ Class | Method | HTTP request | Description - [CallbackHandlerRequest](docs/models/CallbackHandlerRequest.md) - [CancelTransactionResponse](docs/models/CancelTransactionResponse.md) - [CantonCall](docs/models/CantonCall.md) - - [CantonCallAllocationWithdraw](docs/models/CantonCallAllocationWithdraw.md) - [CantonCallAllowListAdd](docs/models/CantonCallAllowListAdd.md) - [CantonCallAllowListRemove](docs/models/CantonCallAllowListRemove.md) - [CantonCallDetails](docs/models/CantonCallDetails.md) @@ -925,6 +960,8 @@ Class | Method | HTTP request | Description - [CreateAssetsRequest](docs/models/CreateAssetsRequest.md) - [CreateBlockchainRequest](docs/models/CreateBlockchainRequest.md) - [CreateBlockchainResponse](docs/models/CreateBlockchainResponse.md) + - [CreateBulkSigningKeys](docs/models/CreateBulkSigningKeys.md) + - [CreateBulkSigningKeysResponse](docs/models/CreateBulkSigningKeysResponse.md) - [CreateConfigOperationRequest](docs/models/CreateConfigOperationRequest.md) - [CreateConnectionRequest](docs/models/CreateConnectionRequest.md) - [CreateConnectionResponse](docs/models/CreateConnectionResponse.md) @@ -1140,6 +1177,7 @@ Class | Method | HTTP request | Description - [GetAutomationSettingsResponse](docs/models/GetAutomationSettingsResponse.md) - [GetBillingInfoResponse](docs/models/GetBillingInfoResponse.md) - [GetBlockchainByIdResponse](docs/models/GetBlockchainByIdResponse.md) + - [GetBulkSigningKeysJobsResponse](docs/models/GetBulkSigningKeysJobsResponse.md) - [GetByorkVerdictResponse](docs/models/GetByorkVerdictResponse.md) - [GetConnectedAccountsCredentialsPublicKeyResponse](docs/models/GetConnectedAccountsCredentialsPublicKeyResponse.md) - [GetConnectionsResponse](docs/models/GetConnectionsResponse.md) @@ -1317,6 +1355,7 @@ Class | Method | HTTP request | Description - [OfferResponseAccepted](docs/models/OfferResponseAccepted.md) - [OfferResponseAllocationAccept](docs/models/OfferResponseAllocationAccept.md) - [OfferResponseAllocationReject](docs/models/OfferResponseAllocationReject.md) + - [OfferResponseAllocationWithdraw](docs/models/OfferResponseAllocationWithdraw.md) - [OfferResponseDtccOnboardingAccept](docs/models/OfferResponseDtccOnboardingAccept.md) - [OfferResponseDtccOnboardingReject](docs/models/OfferResponseDtccOnboardingReject.md) - [OfferResponseTradewebAccept](docs/models/OfferResponseTradewebAccept.md) diff --git a/api.ts b/api.ts index 433d00af..56d7e274 100644 --- a/api.ts +++ b/api.ts @@ -58,7 +58,7 @@ export * from './api/trlink-api'; export * from './api/tags-api'; export * from './api/tempo-beta-api'; export * from './api/tokenization-api'; -export * from './api/trading-beta-api'; +export * from './api/trading-api'; export * from './api/transactions-api'; export * from './api/travel-rule-api'; export * from './api/utxomanagement-beta-api'; diff --git a/api/api-user-api.ts b/api/api-user-api.ts index 770e5851..a509eacf 100644 --- a/api/api-user-api.ts +++ b/api/api-user-api.ts @@ -60,6 +60,10 @@ export const ApiUserApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createApiUser'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -97,6 +101,10 @@ export const ApiUserApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getApiUsers'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -131,6 +139,10 @@ export const ApiUserApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'issueApiUserPairingToken'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/approvals-beta-api.ts b/api/approvals-beta-api.ts index 3b0ef35c..4ff0818c 100644 --- a/api/approvals-beta-api.ts +++ b/api/approvals-beta-api.ts @@ -70,6 +70,10 @@ export const ApprovalsBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'approveApproval'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -113,6 +117,10 @@ export const ApprovalsBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createApprovalKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -157,6 +165,10 @@ export const ApprovalsBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteApprovalKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -196,6 +208,10 @@ export const ApprovalsBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getApprovalById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -239,6 +255,10 @@ export const ApprovalsBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getApprovalKeys'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -283,6 +303,10 @@ export const ApprovalsBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getApprovals'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -341,6 +365,10 @@ export const ApprovalsBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'rejectApproval'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/audit-logs-api.ts b/api/audit-logs-api.ts index d1a3ec05..b5e58371 100644 --- a/api/audit-logs-api.ts +++ b/api/audit-logs-api.ts @@ -64,6 +64,10 @@ export const AuditLogsApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getAuditLogs'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/blockchain-link-beta-api.ts b/api/blockchain-link-beta-api.ts index e4732ded..5d95c844 100644 --- a/api/blockchain-link-beta-api.ts +++ b/api/blockchain-link-beta-api.ts @@ -80,6 +80,10 @@ export const BlockchainLinkBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'activateBlockchainLinkChain'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -117,6 +121,10 @@ export const BlockchainLinkBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createBlockchainLinkChain'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -157,6 +165,10 @@ export const BlockchainLinkBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteBlockchainLinkChain'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -187,6 +199,10 @@ export const BlockchainLinkBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getBlockchainLinkBillingInfo'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -220,6 +236,10 @@ export const BlockchainLinkBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getBlockchainLinkChain'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -250,6 +270,10 @@ export const BlockchainLinkBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getBlockchainLinkTestWalletAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -288,6 +312,10 @@ export const BlockchainLinkBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listBlockchainLinkChains'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -354,6 +382,10 @@ export const BlockchainLinkBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'triggerBlockchainLinkValidation'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -394,6 +426,10 @@ export const BlockchainLinkBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateBlockchainLinkChain'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/blockchains-assets-api.ts b/api/blockchains-assets-api.ts index c8c9ff73..8830d48b 100644 --- a/api/blockchains-assets-api.ts +++ b/api/blockchains-assets-api.ts @@ -96,6 +96,10 @@ export const BlockchainsAssetsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -133,6 +137,10 @@ export const BlockchainsAssetsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getBlockchain'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -163,6 +171,10 @@ export const BlockchainsAssetsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getSupportedAssets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -202,6 +214,10 @@ export const BlockchainsAssetsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listAssets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -274,6 +290,10 @@ export const BlockchainsAssetsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listBlockchains'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -330,6 +350,10 @@ export const BlockchainsAssetsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'registerNewAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -372,6 +396,10 @@ export const BlockchainsAssetsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setAssetPrice'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -414,6 +442,10 @@ export const BlockchainsAssetsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateAssetUserMetadata'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/compliance-api.ts b/api/compliance-api.ts index cb0ad8e4..03ca1a1d 100644 --- a/api/compliance-api.ts +++ b/api/compliance-api.ts @@ -131,6 +131,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'activateArsConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -166,6 +170,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'activateByorkConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -203,6 +211,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'addAddressRegistryVaultOptOuts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -246,6 +258,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'assignVaultsToLegalEntity'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -286,6 +302,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createAddressRegistryProofOfOwnership'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -326,6 +346,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createCounterpartyGroup'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -364,6 +388,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deactivateArsConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -399,6 +427,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deactivateByorkConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -436,6 +468,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteCounterpartyGroup'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -469,6 +505,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteLegalEntity'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -499,6 +539,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getAddressRegistryTenantParticipationStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -532,6 +576,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getAddressRegistryVaultOptOut'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -562,6 +610,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getAmlPostScreeningPolicy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -592,6 +644,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getAmlScreeningPolicy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -622,6 +678,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getByorkConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -654,6 +714,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getByorkVerdict'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -691,6 +755,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getCounterpartyGroup'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -724,6 +792,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getLegalEntity'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -757,6 +829,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getLegalEntityForAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -787,6 +863,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getPostScreeningPolicy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -820,6 +900,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getScreeningFullDetails'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -850,6 +934,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getScreeningPolicy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -883,6 +971,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listAddressRegistryVaultOptOuts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -927,6 +1019,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listCounterpartyGroups'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -968,6 +1064,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listLegalEntities'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1015,6 +1115,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listVaultsForLegalEntity'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1054,6 +1158,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'optInAddressRegistryTenant'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1088,6 +1196,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'optOutAddressRegistryTenant'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1121,6 +1233,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'registerLegalEntity'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1161,6 +1277,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'removeAddressRegistryVaultOptOut'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1191,6 +1311,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'removeAllAddressRegistryVaultOptOuts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1226,6 +1350,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'rescreenRejectedTransaction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1267,6 +1395,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'retryRejectedTransactionBypassScreeningChecks'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1304,6 +1436,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setAmlVerdict'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1344,6 +1480,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setByorkTimeouts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1384,6 +1524,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setByorkVerdict'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1422,6 +1566,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateAmlScreeningConfiguration'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1462,6 +1610,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateCounterpartyGroup'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1505,6 +1657,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateLegalEntity'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1545,6 +1701,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateScreeningConfiguration'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1583,6 +1743,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateTravelRuleConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1620,6 +1784,10 @@ export const ComplianceApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'verifyAddressRegistryProofOfOwnership'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/compliance-orchestrator-beta-api.ts b/api/compliance-orchestrator-beta-api.ts index ce10599e..3c26938a 100644 --- a/api/compliance-orchestrator-beta-api.ts +++ b/api/compliance-orchestrator-beta-api.ts @@ -65,6 +65,10 @@ export const ComplianceOrchestratorBetaApiAxiosParamCreator = function (configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getScreeningResult'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -98,6 +102,10 @@ export const ComplianceOrchestratorBetaApiAxiosParamCreator = function (configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getWorkflow'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -131,6 +139,10 @@ export const ComplianceOrchestratorBetaApiAxiosParamCreator = function (configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'triggerScreening'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -174,6 +186,10 @@ export const ComplianceOrchestratorBetaApiAxiosParamCreator = function (configur } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateWorkflowStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/compliance-screening-configuration-api.ts b/api/compliance-screening-configuration-api.ts index b4db07fa..7d215a0d 100644 --- a/api/compliance-screening-configuration-api.ts +++ b/api/compliance-screening-configuration-api.ts @@ -50,6 +50,10 @@ export const ComplianceScreeningConfigurationApiAxiosParamCreator = function (co } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getAmlScreeningConfiguration'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -80,6 +84,10 @@ export const ComplianceScreeningConfigurationApiAxiosParamCreator = function (co } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getScreeningConfiguration'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/connected-accounts-api.ts b/api/connected-accounts-api.ts index 9b18704f..7f6e2523 100644 --- a/api/connected-accounts-api.ts +++ b/api/connected-accounts-api.ts @@ -85,6 +85,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'addConnectedAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -125,6 +129,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'disconnectConnectedAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -158,6 +166,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getConnectedAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -198,6 +210,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getConnectedAccountAllowlist'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -262,6 +278,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getConnectedAccountAllowlistEntry'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -297,6 +317,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getConnectedAccountBalances'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -342,6 +366,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getConnectedAccountRates'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -385,6 +413,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getConnectedAccountTradingPairs'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -426,6 +458,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getConnectedAccounts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -468,6 +504,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getConnectedAccountsCredentialsPublicKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -504,6 +544,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'renameConnectedAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -545,6 +589,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'syncConnectedAccountAllowlist'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -585,6 +633,10 @@ export const ConnectedAccountsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateConnectedAccountCredentials'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/console-user-api.ts b/api/console-user-api.ts index ddc55f85..86fb0baf 100644 --- a/api/console-user-api.ts +++ b/api/console-user-api.ts @@ -60,6 +60,10 @@ export const ConsoleUserApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createConsoleUser'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -82,7 +86,7 @@ export const ConsoleUserApiAxiosParamCreator = function (configuration?: Configu }; }, /** - * Requests deletion of a console user. The request is asynchronous: it goes through the workspace\'s configured \"Delete users\" approval policy (Settings > Quorums), exactly as deleting a user from the console does, and the user is removed only once that approval completes. - Track progress by polling GET /management/users; deletion is complete when the user is disabled. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin/Security Admin permissions. Endpoint Permission: Admin, Non-Signing Admin, Security Admin. **Note:** This endpoint is currently in beta and might be subject to changes. + * Requests deletion of a console user. The request is asynchronous: it goes through the workspace\'s configured \"Delete users\" approval policy (Settings > Quorums), exactly as deleting a user from the console does, and the user is removed only once that approval completes. - The workspace must have a \"Delete users\" approval policy (admin quorum or approval group). If \"Delete users\" is Owner-only, which is the default, the request is refused with OWNER_ONLY (2760) and the Owner deletes users in the Console. With an admin quorum, the requesting API user\'s own approval counts toward the quorum. - Track progress by polling GET /management/users; deletion is complete when the user is disabled. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin/Security Admin permissions. Endpoint Permission: Admin, Non-Signing Admin, Security Admin. **Note:** This endpoint is currently in beta and might be subject to changes. * @summary Request deletion of a console user * @param {string} id The ID of the console user to delete * @param {boolean} [force] Acknowledges the impact of removing this user and proceeds anyway. Overrides both USER_REFERENCED_IN_TAP and QUORUM_INTEGRITY, the same way the acknowledgement checkbox does in the console. @@ -101,6 +105,10 @@ export const ConsoleUserApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteConsoleUser'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -135,6 +143,10 @@ export const ConsoleUserApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getConsoleUsers'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -174,7 +186,7 @@ export const ConsoleUserApiFp = function(configuration?: Configuration) { return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Requests deletion of a console user. The request is asynchronous: it goes through the workspace\'s configured \"Delete users\" approval policy (Settings > Quorums), exactly as deleting a user from the console does, and the user is removed only once that approval completes. - Track progress by polling GET /management/users; deletion is complete when the user is disabled. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin/Security Admin permissions. Endpoint Permission: Admin, Non-Signing Admin, Security Admin. **Note:** This endpoint is currently in beta and might be subject to changes. + * Requests deletion of a console user. The request is asynchronous: it goes through the workspace\'s configured \"Delete users\" approval policy (Settings > Quorums), exactly as deleting a user from the console does, and the user is removed only once that approval completes. - The workspace must have a \"Delete users\" approval policy (admin quorum or approval group). If \"Delete users\" is Owner-only, which is the default, the request is refused with OWNER_ONLY (2760) and the Owner deletes users in the Console. With an admin quorum, the requesting API user\'s own approval counts toward the quorum. - Track progress by polling GET /management/users; deletion is complete when the user is disabled. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin/Security Admin permissions. Endpoint Permission: Admin, Non-Signing Admin, Security Admin. **Note:** This endpoint is currently in beta and might be subject to changes. * @summary Request deletion of a console user * @param {string} id The ID of the console user to delete * @param {boolean} [force] Acknowledges the impact of removing this user and proceeds anyway. Overrides both USER_REFERENCED_IN_TAP and QUORUM_INTEGRITY, the same way the acknowledgement checkbox does in the console. @@ -220,7 +232,7 @@ export const ConsoleUserApiFactory = function (configuration?: Configuration, ba return localVarFp.createConsoleUser(requestParameters.createConsoleUser, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** - * Requests deletion of a console user. The request is asynchronous: it goes through the workspace\'s configured \"Delete users\" approval policy (Settings > Quorums), exactly as deleting a user from the console does, and the user is removed only once that approval completes. - Track progress by polling GET /management/users; deletion is complete when the user is disabled. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin/Security Admin permissions. Endpoint Permission: Admin, Non-Signing Admin, Security Admin. **Note:** This endpoint is currently in beta and might be subject to changes. + * Requests deletion of a console user. The request is asynchronous: it goes through the workspace\'s configured \"Delete users\" approval policy (Settings > Quorums), exactly as deleting a user from the console does, and the user is removed only once that approval completes. - The workspace must have a \"Delete users\" approval policy (admin quorum or approval group). If \"Delete users\" is Owner-only, which is the default, the request is refused with OWNER_ONLY (2760) and the Owner deletes users in the Console. With an admin quorum, the requesting API user\'s own approval counts toward the quorum. - Track progress by polling GET /management/users; deletion is complete when the user is disabled. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin/Security Admin permissions. Endpoint Permission: Admin, Non-Signing Admin, Security Admin. **Note:** This endpoint is currently in beta and might be subject to changes. * @summary Request deletion of a console user * @param {ConsoleUserApiDeleteConsoleUserRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -303,7 +315,7 @@ export class ConsoleUserApi extends BaseAPI { } /** - * Requests deletion of a console user. The request is asynchronous: it goes through the workspace\'s configured \"Delete users\" approval policy (Settings > Quorums), exactly as deleting a user from the console does, and the user is removed only once that approval completes. - Track progress by polling GET /management/users; deletion is complete when the user is disabled. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin/Security Admin permissions. Endpoint Permission: Admin, Non-Signing Admin, Security Admin. **Note:** This endpoint is currently in beta and might be subject to changes. + * Requests deletion of a console user. The request is asynchronous: it goes through the workspace\'s configured \"Delete users\" approval policy (Settings > Quorums), exactly as deleting a user from the console does, and the user is removed only once that approval completes. - The workspace must have a \"Delete users\" approval policy (admin quorum or approval group). If \"Delete users\" is Owner-only, which is the default, the request is refused with OWNER_ONLY (2760) and the Owner deletes users in the Console. With an admin quorum, the requesting API user\'s own approval counts toward the quorum. - Track progress by polling GET /management/users; deletion is complete when the user is disabled. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin/Security Admin permissions. Endpoint Permission: Admin, Non-Signing Admin, Security Admin. **Note:** This endpoint is currently in beta and might be subject to changes. * @summary Request deletion of a console user * @param {ConsoleUserApiDeleteConsoleUserRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. diff --git a/api/contacts-api.ts b/api/contacts-api.ts index 6eea87fa..54d96e62 100644 --- a/api/contacts-api.ts +++ b/api/contacts-api.ts @@ -64,6 +64,10 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getContacts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/contract-interactions-api.ts b/api/contract-interactions-api.ts index 1bd7aba9..492f55ac 100644 --- a/api/contract-interactions-api.ts +++ b/api/contract-interactions-api.ts @@ -79,6 +79,10 @@ export const ContractInteractionsApiAxiosParamCreator = function (configuration? } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'decodeContractData'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -123,6 +127,10 @@ export const ContractInteractionsApiAxiosParamCreator = function (configuration? } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getContractAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -164,6 +172,10 @@ export const ContractInteractionsApiAxiosParamCreator = function (configuration? } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getDeployedContractAbi'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -204,6 +216,10 @@ export const ContractInteractionsApiAxiosParamCreator = function (configuration? } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTransactionReceipt'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -243,6 +259,10 @@ export const ContractInteractionsApiAxiosParamCreator = function (configuration? } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'readCallFunction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -289,6 +309,10 @@ export const ContractInteractionsApiAxiosParamCreator = function (configuration? } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'writeCallFunction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/contract-templates-api.ts b/api/contract-templates-api.ts index 43c54c41..13ed9daf 100644 --- a/api/contract-templates-api.ts +++ b/api/contract-templates-api.ts @@ -69,6 +69,10 @@ export const ContractTemplatesApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteContractTemplateById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -105,6 +109,10 @@ export const ContractTemplatesApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deployContract'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -146,6 +154,10 @@ export const ContractTemplatesApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getConstructorByContractTemplateId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -183,6 +195,10 @@ export const ContractTemplatesApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getContractTemplateById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -219,6 +235,10 @@ export const ContractTemplatesApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getContractTemplates'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -278,6 +298,10 @@ export const ContractTemplatesApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getFunctionAbiByContractTemplateId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -315,6 +339,10 @@ export const ContractTemplatesApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getSupportedBlockchainsByTemplateId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -348,6 +376,10 @@ export const ContractTemplatesApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'uploadContractTemplate'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/contracts-api.ts b/api/contracts-api.ts index b8b9b54d..0db122eb 100644 --- a/api/contracts-api.ts +++ b/api/contracts-api.ts @@ -68,6 +68,10 @@ export const ContractsApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'addContractAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -107,6 +111,10 @@ export const ContractsApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createContract'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -147,6 +155,10 @@ export const ContractsApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteContract'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -183,6 +195,10 @@ export const ContractsApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteContractAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -216,6 +232,10 @@ export const ContractsApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getContract'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -252,6 +272,10 @@ export const ContractsApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getContractAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -282,6 +306,10 @@ export const ContractsApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getContracts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/cosigners-beta-api.ts b/api/cosigners-beta-api.ts index 033e9c0f..f656485b 100644 --- a/api/cosigners-beta-api.ts +++ b/api/cosigners-beta-api.ts @@ -77,6 +77,10 @@ export const CosignersBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'addCosigner'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -120,6 +124,10 @@ export const CosignersBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getApiKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -156,6 +164,10 @@ export const CosignersBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getApiKeys'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -201,6 +213,10 @@ export const CosignersBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getCosigner'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -234,6 +250,10 @@ export const CosignersBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getCosigners'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -285,6 +305,10 @@ export const CosignersBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getRequestStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -324,6 +348,10 @@ export const CosignersBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'pairApiKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -366,6 +394,10 @@ export const CosignersBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'renameCosigner'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -405,6 +437,10 @@ export const CosignersBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'unpairApiKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -443,6 +479,10 @@ export const CosignersBetaApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateCallbackHandler'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/deployed-contracts-api.ts b/api/deployed-contracts-api.ts index ed3c2caf..935a70c4 100644 --- a/api/deployed-contracts-api.ts +++ b/api/deployed-contracts-api.ts @@ -63,6 +63,10 @@ export const DeployedContractsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'addContractABI'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -103,6 +107,10 @@ export const DeployedContractsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'fetchContractAbi'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -146,6 +154,10 @@ export const DeployedContractsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getDeployedContractByAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -179,6 +191,10 @@ export const DeployedContractsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getDeployedContractById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -214,6 +230,10 @@ export const DeployedContractsApiAxiosParamCreator = function (configuration?: C } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getDeployedContracts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/earn-api.ts b/api/earn-api.ts index 5967e6e8..e52790c0 100644 --- a/api/earn-api.ts +++ b/api/earn-api.ts @@ -65,6 +65,10 @@ export const EarnApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'approveTermsOfService'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -102,6 +106,10 @@ export const EarnApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createEarnAction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -142,6 +150,10 @@ export const EarnApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEarnAction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -176,6 +188,10 @@ export const EarnApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEarnActions'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -226,6 +242,10 @@ export const EarnApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEarnOpportunities'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -278,6 +298,10 @@ export const EarnApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEarnPositions'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -336,6 +360,10 @@ export const EarnApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEarnProviders'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/embedded-wallets-api.ts b/api/embedded-wallets-api.ts index bb20a263..b68f7718 100644 --- a/api/embedded-wallets-api.ts +++ b/api/embedded-wallets-api.ts @@ -92,6 +92,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'addEmbeddedWalletAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -130,6 +134,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'assignEmbeddedWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -165,6 +173,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createEmbeddedWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -203,6 +215,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createEmbeddedWalletAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -240,6 +256,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -276,6 +296,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -320,6 +344,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletAddresses'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -379,6 +407,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -418,6 +450,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletAssetBalance'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -458,6 +494,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletAssets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -510,6 +550,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletDevice'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -546,6 +590,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletDeviceSetupState'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -583,6 +631,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletDevicesPaginated'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -632,6 +684,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletLatestBackup'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -680,6 +736,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletPublicKeyInfoForAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -721,6 +781,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletSetupStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -754,6 +818,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWalletSupportedAssets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -801,6 +869,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getEmbeddedWallets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -861,6 +933,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getPublicKeyInfoNcw'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -917,6 +993,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'refreshEmbeddedWalletAssetBalance'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -960,6 +1040,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateEmbeddedWalletDeviceStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1003,6 +1087,10 @@ export const EmbeddedWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateEmbeddedWalletStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/exchange-accounts-api.ts b/api/exchange-accounts-api.ts index 15f54b02..8d2943cb 100644 --- a/api/exchange-accounts-api.ts +++ b/api/exchange-accounts-api.ts @@ -73,6 +73,10 @@ export const ExchangeAccountsApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'addExchangeAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -115,6 +119,10 @@ export const ExchangeAccountsApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'convertAssets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -155,6 +163,10 @@ export const ExchangeAccountsApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getExchangeAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -191,6 +203,10 @@ export const ExchangeAccountsApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getExchangeAccountAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -221,6 +237,10 @@ export const ExchangeAccountsApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getExchangeAccountsCredentialsPublicKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -255,6 +275,10 @@ export const ExchangeAccountsApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getPagedExchangeAccounts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -302,6 +326,10 @@ export const ExchangeAccountsApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'internalTransfer'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/external-wallets-api.ts b/api/external-wallets-api.ts index b8e59606..6608ae76 100644 --- a/api/external-wallets-api.ts +++ b/api/external-wallets-api.ts @@ -70,6 +70,10 @@ export const ExternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'addAssetToExternalWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -109,6 +113,10 @@ export const ExternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createExternalWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -149,6 +157,10 @@ export const ExternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteExternalWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -182,6 +194,10 @@ export const ExternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getExternalWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -218,6 +234,10 @@ export const ExternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getExternalWalletAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -248,6 +268,10 @@ export const ExternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getExternalWallets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -284,6 +308,10 @@ export const ExternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'removeAssetFromExternalWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -320,6 +348,10 @@ export const ExternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setExternalWalletCustomerRefId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/fiat-accounts-api.ts b/api/fiat-accounts-api.ts index fe696c32..ed0a3e66 100644 --- a/api/fiat-accounts-api.ts +++ b/api/fiat-accounts-api.ts @@ -65,6 +65,10 @@ export const FiatAccountsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'depositFundsFromLinkedDDA'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -105,6 +109,10 @@ export const FiatAccountsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getFiatAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -135,6 +143,10 @@ export const FiatAccountsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getFiatAccounts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -170,6 +182,10 @@ export const FiatAccountsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'redeemFundsToLinkedDDA'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/gas-stations-api.ts b/api/gas-stations-api.ts index ebb01288..a1c79003 100644 --- a/api/gas-stations-api.ts +++ b/api/gas-stations-api.ts @@ -59,6 +59,10 @@ export const GasStationsApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getGasStationByAssetId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -89,6 +93,10 @@ export const GasStationsApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getGasStationInfo'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -122,6 +130,10 @@ export const GasStationsApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateGasStationConfiguration'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -165,6 +177,10 @@ export const GasStationsApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateGasStationConfigurationByAssetId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/genie-beta-api.ts b/api/genie-beta-api.ts index b3e7fa79..16aa7454 100644 --- a/api/genie-beta-api.ts +++ b/api/genie-beta-api.ts @@ -57,6 +57,10 @@ export const GenieBetaApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createGenieSession'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -97,6 +101,10 @@ export const GenieBetaApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'sendGenieMessage'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/internal-wallets-api.ts b/api/internal-wallets-api.ts index 44f4b373..4070dfdb 100644 --- a/api/internal-wallets-api.ts +++ b/api/internal-wallets-api.ts @@ -66,6 +66,10 @@ export const InternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createInternalWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -111,6 +115,10 @@ export const InternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createInternalWalletAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -151,6 +159,10 @@ export const InternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteInternalWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -187,6 +199,10 @@ export const InternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteInternalWalletAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -220,6 +236,10 @@ export const InternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getInternalWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -256,6 +276,10 @@ export const InternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getInternalWalletAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -291,6 +315,10 @@ export const InternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getInternalWalletAssetsPaginated'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -329,6 +357,10 @@ export const InternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getInternalWallets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -365,6 +397,10 @@ export const InternalWalletsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setCustomerRefIdForInternalWallet'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/key-link-beta-api.ts b/api/key-link-beta-api.ts index d52d842c..4c3aa65b 100644 --- a/api/key-link-beta-api.ts +++ b/api/key-link-beta-api.ts @@ -27,6 +27,12 @@ import { assertParamExistsAndNotEmpty } from '../utils/validation_utils'; // @ts-ignore import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base'; // @ts-ignore +import { BulkSigningKeyJob } from '../models'; +// @ts-ignore +import { CreateBulkSigningKeys } from '../models'; +// @ts-ignore +import { CreateBulkSigningKeysResponse } from '../models'; +// @ts-ignore import { CreateSigningKeyDto } from '../models'; // @ts-ignore import { CreateValidationKeyDto } from '../models'; @@ -35,6 +41,8 @@ import { CreateValidationKeyResponseDto } from '../models'; // @ts-ignore import { ErrorSchema } from '../models'; // @ts-ignore +import { GetBulkSigningKeysJobsResponse } from '../models'; +// @ts-ignore import { GetSigningKeyResponseDto } from '../models'; // @ts-ignore import { GetValidationKeyResponseDto } from '../models'; @@ -54,6 +62,50 @@ import { ValidationKeyDto } from '../models'; */ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configuration) { return { + /** + * Accepts a set of signing keys certified by a single validation key and queues them for registration in the background. Returns a job id to poll. A workspace can have one bulk registration at a time; submitting another while one is QUEUED or IN_PROGRESS is rejected with 409. Bulk registrations from different workspaces share a limited number of slots, so a job may wait QUEUED behind another workspace\'s before it starts. Keys already registered in the workspace are recognized and skipped, so resubmitting the same request after a failure is safe and only processes what is missing. Every key must carry its own proof of ownership; a bulk registration has no interactive step in which one can arrive later. + * @summary Register signing keys in bulk + * @param {CreateBulkSigningKeys} createBulkSigningKeys + * @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} + */ + createBulkSigningKeys: async (createBulkSigningKeys: CreateBulkSigningKeys, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExists('createBulkSigningKeys', 'createBulkSigningKeys', createBulkSigningKeys) + const localVarPath = `/key_link/signing_keys/bulk`; + // 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}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createBulkSigningKeys'; + 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(createBulkSigningKeys, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * Adds a new signing key to the workspace. The added key will be linked to the specific Fireblocks agent user ID. The same user will receive the proof of ownership message to be signed, and upon successful proof, the key will become enabled. * @summary Add a new signing key @@ -73,6 +125,10 @@ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createSigningKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -113,6 +169,10 @@ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createValidationKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -155,6 +215,10 @@ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'disableValidationKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -172,6 +236,87 @@ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configu options: localVarRequestOptions, }; }, + /** + * Returns the progress and outcome of a bulk registration job. `created + alreadyRegistered` reaching `total` means every submitted key is present. + * @summary Get a bulk registration job + * @param {string} jobId The id of the bulk registration job + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getBulkSigningKeysJob: async (jobId: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExistsAndNotEmpty('getBulkSigningKeysJob', 'jobId', jobId) + const localVarPath = `/key_link/signing_keys/bulk/jobs/{jobId}` + .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId))); + // 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: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getBulkSigningKeysJob'; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Returns the workspace\'s bulk registration jobs, newest first, a page at a time. + * @summary Get bulk registration jobs + * @param {string} [pageCursor] Cursor to the next page + * @param {number} [pageSize] Amount of results to return in the next page + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getBulkSigningKeysJobs: async (pageCursor?: string, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise => { + const localVarPath = `/key_link/signing_keys/bulk/jobs`; + // 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: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getBulkSigningKeysJobs'; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (pageCursor !== undefined) { + localVarQueryParameter['pageCursor'] = pageCursor; + } + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * Returns a signing key if it exists, identified by the specified `keyId`. * @summary Get a signing key by `keyId` @@ -191,6 +336,10 @@ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getSigningKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -232,6 +381,10 @@ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getSigningKeysList'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -309,6 +462,10 @@ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getValidationKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -343,6 +500,10 @@ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getValidationKeysList'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -394,6 +555,10 @@ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setAgentId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -432,6 +597,10 @@ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateSigningKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -459,6 +628,20 @@ export const KeyLinkBetaApiAxiosParamCreator = function (configuration?: Configu export const KeyLinkBetaApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = KeyLinkBetaApiAxiosParamCreator(configuration) return { + /** + * Accepts a set of signing keys certified by a single validation key and queues them for registration in the background. Returns a job id to poll. A workspace can have one bulk registration at a time; submitting another while one is QUEUED or IN_PROGRESS is rejected with 409. Bulk registrations from different workspaces share a limited number of slots, so a job may wait QUEUED behind another workspace\'s before it starts. Keys already registered in the workspace are recognized and skipped, so resubmitting the same request after a failure is safe and only processes what is missing. Every key must carry its own proof of ownership; a bulk registration has no interactive step in which one can arrive later. + * @summary Register signing keys in bulk + * @param {CreateBulkSigningKeys} createBulkSigningKeys + * @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 createBulkSigningKeys(createBulkSigningKeys: CreateBulkSigningKeys, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createBulkSigningKeys(createBulkSigningKeys, idempotencyKey, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['KeyLinkBetaApi.createBulkSigningKeys']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, /** * Adds a new signing key to the workspace. The added key will be linked to the specific Fireblocks agent user ID. The same user will receive the proof of ownership message to be signed, and upon successful proof, the key will become enabled. * @summary Add a new signing key @@ -501,6 +684,33 @@ export const KeyLinkBetaApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['KeyLinkBetaApi.disableValidationKey']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, + /** + * Returns the progress and outcome of a bulk registration job. `created + alreadyRegistered` reaching `total` means every submitted key is present. + * @summary Get a bulk registration job + * @param {string} jobId The id of the bulk registration job + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getBulkSigningKeysJob(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getBulkSigningKeysJob(jobId, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['KeyLinkBetaApi.getBulkSigningKeysJob']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, + /** + * Returns the workspace\'s bulk registration jobs, newest first, a page at a time. + * @summary Get bulk registration jobs + * @param {string} [pageCursor] Cursor to the next page + * @param {number} [pageSize] Amount of results to return in the next page + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getBulkSigningKeysJobs(pageCursor?: string, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getBulkSigningKeysJobs(pageCursor, pageSize, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['KeyLinkBetaApi.getBulkSigningKeysJobs']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, /** * Returns a signing key if it exists, identified by the specified `keyId`. * @summary Get a signing key by `keyId` @@ -604,6 +814,16 @@ export const KeyLinkBetaApiFp = function(configuration?: Configuration) { export const KeyLinkBetaApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { const localVarFp = KeyLinkBetaApiFp(configuration) return { + /** + * Accepts a set of signing keys certified by a single validation key and queues them for registration in the background. Returns a job id to poll. A workspace can have one bulk registration at a time; submitting another while one is QUEUED or IN_PROGRESS is rejected with 409. Bulk registrations from different workspaces share a limited number of slots, so a job may wait QUEUED behind another workspace\'s before it starts. Keys already registered in the workspace are recognized and skipped, so resubmitting the same request after a failure is safe and only processes what is missing. Every key must carry its own proof of ownership; a bulk registration has no interactive step in which one can arrive later. + * @summary Register signing keys in bulk + * @param {KeyLinkBetaApiCreateBulkSigningKeysRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createBulkSigningKeys(requestParameters: KeyLinkBetaApiCreateBulkSigningKeysRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.createBulkSigningKeys(requestParameters.createBulkSigningKeys, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); + }, /** * Adds a new signing key to the workspace. The added key will be linked to the specific Fireblocks agent user ID. The same user will receive the proof of ownership message to be signed, and upon successful proof, the key will become enabled. * @summary Add a new signing key @@ -634,6 +854,26 @@ export const KeyLinkBetaApiFactory = function (configuration?: Configuration, ba disableValidationKey(requestParameters: KeyLinkBetaApiDisableValidationKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.disableValidationKey(requestParameters.modifyValidationKeyDto, requestParameters.keyId, options).then((request) => request(axios, basePath)); }, + /** + * Returns the progress and outcome of a bulk registration job. `created + alreadyRegistered` reaching `total` means every submitted key is present. + * @summary Get a bulk registration job + * @param {KeyLinkBetaApiGetBulkSigningKeysJobRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getBulkSigningKeysJob(requestParameters: KeyLinkBetaApiGetBulkSigningKeysJobRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.getBulkSigningKeysJob(requestParameters.jobId, options).then((request) => request(axios, basePath)); + }, + /** + * Returns the workspace\'s bulk registration jobs, newest first, a page at a time. + * @summary Get bulk registration jobs + * @param {KeyLinkBetaApiGetBulkSigningKeysJobsRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getBulkSigningKeysJobs(requestParameters: KeyLinkBetaApiGetBulkSigningKeysJobsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.getBulkSigningKeysJobs(requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath)); + }, /** * Returns a signing key if it exists, identified by the specified `keyId`. * @summary Get a signing key by `keyId` @@ -697,6 +937,27 @@ export const KeyLinkBetaApiFactory = function (configuration?: Configuration, ba }; }; +/** + * Request parameters for createBulkSigningKeys operation in KeyLinkBetaApi. + * @export + * @interface KeyLinkBetaApiCreateBulkSigningKeysRequest + */ +export interface KeyLinkBetaApiCreateBulkSigningKeysRequest { + /** + * + * @type {CreateBulkSigningKeys} + * @memberof KeyLinkBetaApiCreateBulkSigningKeys + */ + readonly createBulkSigningKeys: CreateBulkSigningKeys + + /** + * 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 KeyLinkBetaApiCreateBulkSigningKeys + */ + readonly idempotencyKey?: string +} + /** * Request parameters for createSigningKey operation in KeyLinkBetaApi. * @export @@ -760,6 +1021,41 @@ export interface KeyLinkBetaApiDisableValidationKeyRequest { readonly keyId: string } +/** + * Request parameters for getBulkSigningKeysJob operation in KeyLinkBetaApi. + * @export + * @interface KeyLinkBetaApiGetBulkSigningKeysJobRequest + */ +export interface KeyLinkBetaApiGetBulkSigningKeysJobRequest { + /** + * The id of the bulk registration job + * @type {string} + * @memberof KeyLinkBetaApiGetBulkSigningKeysJob + */ + readonly jobId: string +} + +/** + * Request parameters for getBulkSigningKeysJobs operation in KeyLinkBetaApi. + * @export + * @interface KeyLinkBetaApiGetBulkSigningKeysJobsRequest + */ +export interface KeyLinkBetaApiGetBulkSigningKeysJobsRequest { + /** + * Cursor to the next page + * @type {string} + * @memberof KeyLinkBetaApiGetBulkSigningKeysJobs + */ + readonly pageCursor?: string + + /** + * Amount of results to return in the next page + * @type {number} + * @memberof KeyLinkBetaApiGetBulkSigningKeysJobs + */ + readonly pageSize?: number +} + /** * Request parameters for getSigningKey operation in KeyLinkBetaApi. * @export @@ -956,6 +1252,18 @@ export interface KeyLinkBetaApiUpdateSigningKeyRequest { * @extends {BaseAPI} */ export class KeyLinkBetaApi extends BaseAPI { + /** + * Accepts a set of signing keys certified by a single validation key and queues them for registration in the background. Returns a job id to poll. A workspace can have one bulk registration at a time; submitting another while one is QUEUED or IN_PROGRESS is rejected with 409. Bulk registrations from different workspaces share a limited number of slots, so a job may wait QUEUED behind another workspace\'s before it starts. Keys already registered in the workspace are recognized and skipped, so resubmitting the same request after a failure is safe and only processes what is missing. Every key must carry its own proof of ownership; a bulk registration has no interactive step in which one can arrive later. + * @summary Register signing keys in bulk + * @param {KeyLinkBetaApiCreateBulkSigningKeysRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof KeyLinkBetaApi + */ + public createBulkSigningKeys(requestParameters: KeyLinkBetaApiCreateBulkSigningKeysRequest) { + return KeyLinkBetaApiFp(this.configuration).createBulkSigningKeys(requestParameters.createBulkSigningKeys, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + /** * Adds a new signing key to the workspace. The added key will be linked to the specific Fireblocks agent user ID. The same user will receive the proof of ownership message to be signed, and upon successful proof, the key will become enabled. * @summary Add a new signing key @@ -992,6 +1300,30 @@ export class KeyLinkBetaApi extends BaseAPI { return KeyLinkBetaApiFp(this.configuration).disableValidationKey(requestParameters.modifyValidationKeyDto, requestParameters.keyId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } + /** + * Returns the progress and outcome of a bulk registration job. `created + alreadyRegistered` reaching `total` means every submitted key is present. + * @summary Get a bulk registration job + * @param {KeyLinkBetaApiGetBulkSigningKeysJobRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof KeyLinkBetaApi + */ + public getBulkSigningKeysJob(requestParameters: KeyLinkBetaApiGetBulkSigningKeysJobRequest) { + return KeyLinkBetaApiFp(this.configuration).getBulkSigningKeysJob(requestParameters.jobId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + + /** + * Returns the workspace\'s bulk registration jobs, newest first, a page at a time. + * @summary Get bulk registration jobs + * @param {KeyLinkBetaApiGetBulkSigningKeysJobsRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof KeyLinkBetaApi + */ + public getBulkSigningKeysJobs(requestParameters: KeyLinkBetaApiGetBulkSigningKeysJobsRequest = {}) { + return KeyLinkBetaApiFp(this.configuration).getBulkSigningKeysJobs(requestParameters.pageCursor, requestParameters.pageSize).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + /** * Returns a signing key if it exists, identified by the specified `keyId`. * @summary Get a signing key by `keyId` diff --git a/api/keys-beta-api.ts b/api/keys-beta-api.ts index 78eec19b..7e7a3547 100644 --- a/api/keys-beta-api.ts +++ b/api/keys-beta-api.ts @@ -52,6 +52,10 @@ export const KeysBetaApiAxiosParamCreator = function (configuration?: Configurat } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getMpcKeysList'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -85,6 +89,10 @@ export const KeysBetaApiAxiosParamCreator = function (configuration?: Configurat } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getMpcKeysListByUser'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/network-connections-api.ts b/api/network-connections-api.ts index aad2ffde..c411ab80 100644 --- a/api/network-connections-api.ts +++ b/api/network-connections-api.ts @@ -90,6 +90,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'checkThirdPartyRouting'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -122,6 +126,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createNetworkConnection'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -161,6 +169,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createNetworkId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -201,6 +213,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteNetworkConnection'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -234,6 +250,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteNetworkId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -267,6 +287,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getNetwork'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -297,6 +321,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getNetworkConnections'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -330,6 +358,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getNetworkId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -361,6 +393,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getNetworkIds'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -391,6 +427,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getRoutingPolicyAssetGroups'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -427,6 +467,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'searchNetworkIds'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -486,6 +530,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setNetworkIdDiscoverability'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -524,6 +572,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setNetworkIdName'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -561,6 +613,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setNetworkIdRoutingPolicy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -598,6 +654,10 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setRoutingPolicy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/nfts-api.ts b/api/nfts-api.ts index 581f8d74..74abccf3 100644 --- a/api/nfts-api.ts +++ b/api/nfts-api.ts @@ -67,6 +67,10 @@ export const NFTsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getNFT'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -103,6 +107,10 @@ export const NFTsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getNFTs'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -167,6 +175,10 @@ export const NFTsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getOwnershipTokens'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -261,6 +273,10 @@ export const NFTsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listOwnedCollections'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -332,6 +348,10 @@ export const NFTsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listOwnedTokens'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -403,6 +423,10 @@ export const NFTsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'refreshNFTMetadata'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -446,6 +470,10 @@ export const NFTsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateOwnershipTokens'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -495,6 +523,10 @@ export const NFTsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateTokenOwnershipStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -540,6 +572,10 @@ export const NFTsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateTokensOwnershipSpam'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -585,6 +621,10 @@ export const NFTsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateTokensOwnershipStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/off-exchanges-api.ts b/api/off-exchanges-api.ts index b4fb3912..86ef4d49 100644 --- a/api/off-exchanges-api.ts +++ b/api/off-exchanges-api.ts @@ -66,6 +66,10 @@ export const OffExchangesApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'addOffExchange'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -106,6 +110,10 @@ export const OffExchangesApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getOffExchangeCollateralAccounts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -138,6 +146,10 @@ export const OffExchangesApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getOffExchangeSettlementTransactions'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -174,6 +186,10 @@ export const OffExchangesApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'removeOffExchange'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -213,6 +229,10 @@ export const OffExchangesApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'settleOffExchangeTrades'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/onchain-data-api.ts b/api/onchain-data-api.ts index b6700b49..c48dd7cf 100644 --- a/api/onchain-data-api.ts +++ b/api/onchain-data-api.ts @@ -76,6 +76,10 @@ export const OnchainDataApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getAccessRegistryCurrentState'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -128,6 +132,10 @@ export const OnchainDataApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getAccessRegistrySummary'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -164,6 +172,10 @@ export const OnchainDataApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getActiveRolesForContract'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -210,6 +222,10 @@ export const OnchainDataApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getContractBalanceHistory'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -278,6 +294,10 @@ export const OnchainDataApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getContractBalancesSummary'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -321,6 +341,10 @@ export const OnchainDataApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getContractTotalSupply'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -394,6 +418,10 @@ export const OnchainDataApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getLatestBalancesForContract'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -456,6 +484,10 @@ export const OnchainDataApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getOnchainTransactions'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/otabeta-api.ts b/api/otabeta-api.ts index ff88f467..7b484cd4 100644 --- a/api/otabeta-api.ts +++ b/api/otabeta-api.ts @@ -54,6 +54,10 @@ export const OTABetaApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getOtaStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -87,6 +91,10 @@ export const OTABetaApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setOtaStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/payments-payout-api.ts b/api/payments-payout-api.ts index d5aa9f3f..8de2e81e 100644 --- a/api/payments-payout-api.ts +++ b/api/payments-payout-api.ts @@ -58,6 +58,10 @@ export const PaymentsPayoutApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createPayout'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -99,6 +103,10 @@ export const PaymentsPayoutApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'executePayoutAction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -136,6 +144,10 @@ export const PaymentsPayoutApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getPayout'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/policy-editor-beta-api.ts b/api/policy-editor-beta-api.ts index cfc2909c..c28508b8 100644 --- a/api/policy-editor-beta-api.ts +++ b/api/policy-editor-beta-api.ts @@ -60,6 +60,10 @@ export const PolicyEditorBetaApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getActivePolicyLegacy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -90,6 +94,10 @@ export const PolicyEditorBetaApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getDraftLegacy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -123,6 +131,10 @@ export const PolicyEditorBetaApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'publishDraftLegacy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -163,6 +175,10 @@ export const PolicyEditorBetaApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'publishPolicyRules'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -203,6 +219,10 @@ export const PolicyEditorBetaApiAxiosParamCreator = function (configuration?: Co } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateDraftLegacy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/policy-editor-v2-api.ts b/api/policy-editor-v2-api.ts index b61c7562..8f1afa7c 100644 --- a/api/policy-editor-v2-api.ts +++ b/api/policy-editor-v2-api.ts @@ -64,6 +64,10 @@ export const PolicyEditorV2ApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getActivePolicy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -100,6 +104,10 @@ export const PolicyEditorV2ApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getDraft'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -137,6 +145,10 @@ export const PolicyEditorV2ApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'publishDraft'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -177,6 +189,10 @@ export const PolicyEditorV2ApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateDraft'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/policy-editor-v2-beta-api.ts b/api/policy-editor-v2-beta-api.ts index de244496..e0d78913 100644 --- a/api/policy-editor-v2-beta-api.ts +++ b/api/policy-editor-v2-beta-api.ts @@ -57,6 +57,10 @@ export const PolicyEditorV2BetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getPolicyRuleQuota'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/reports-beta-api.ts b/api/reports-beta-api.ts index f1eacffd..a970b6a0 100644 --- a/api/reports-beta-api.ts +++ b/api/reports-beta-api.ts @@ -67,6 +67,10 @@ export const ReportsBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createReport'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -107,6 +111,10 @@ export const ReportsBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getReport'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -143,6 +151,10 @@ export const ReportsBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listReports'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/reset-device-api.ts b/api/reset-device-api.ts index 07fda0ec..f2ee3dbd 100644 --- a/api/reset-device-api.ts +++ b/api/reset-device-api.ts @@ -56,6 +56,10 @@ export const ResetDeviceApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'resetDevice'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/security-posture-management-api.ts b/api/security-posture-management-api.ts index f4d47a21..e6c8977f 100644 --- a/api/security-posture-management-api.ts +++ b/api/security-posture-management-api.ts @@ -59,6 +59,10 @@ export const SecurityPostureManagementApiAxiosParamCreator = function (configura } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getSecurityFindingById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -94,6 +98,10 @@ export const SecurityPostureManagementApiAxiosParamCreator = function (configura } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getSecurityFindings'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -150,6 +158,10 @@ export const SecurityPostureManagementApiAxiosParamCreator = function (configura } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateSecurityFindingById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/smart-transfer-api.ts b/api/smart-transfer-api.ts index 6f65a9ec..68246e19 100644 --- a/api/smart-transfer-api.ts +++ b/api/smart-transfer-api.ts @@ -97,6 +97,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'approveDvPTicketTerm'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -138,6 +142,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'cancelTicket'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -175,6 +183,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createTicket'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -218,6 +230,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createTicketTerm'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -258,6 +274,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'findTicketById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -294,6 +314,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'findTicketTermById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -328,6 +352,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'fulfillTicket'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -368,6 +396,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'fundDvpTicket'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -414,6 +446,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'fundTicketTerm'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -451,6 +487,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getSmartTransferStatistic'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -481,6 +521,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getSmartTransferUserGroups'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -520,6 +564,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'manuallyFundTicketTerm'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -563,6 +611,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'removeTicketTerm'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -605,6 +657,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'searchTickets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -693,6 +749,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setExternalRefId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -736,6 +796,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setTicketExpiration'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -776,6 +840,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setUserGroups'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -819,6 +887,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'submitTicket'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -865,6 +937,10 @@ export const SmartTransferApiAxiosParamCreator = function (configuration?: Confi } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateTicketTerm'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/staking-api.ts b/api/staking-api.ts index ee60b0bc..18739689 100644 --- a/api/staking-api.ts +++ b/api/staking-api.ts @@ -96,6 +96,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'approveTermsOfServiceByProviderId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -136,6 +140,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'claimRewards'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -179,6 +187,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'consolidate'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -218,6 +230,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getAllDelegations'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -259,6 +275,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getChainInfo'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -289,6 +309,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getChains'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -322,6 +346,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getDelegationById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -359,6 +387,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getPositionRelatedTransactions'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -407,6 +439,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getPositions'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -457,6 +493,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getProviders'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -487,6 +527,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getSummary'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -517,6 +561,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getSummaryByVault'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -553,6 +601,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'mergeStakeAccounts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -596,6 +648,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'split'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -639,6 +695,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'stake'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -682,6 +742,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'unstake'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -725,6 +789,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'withdraw'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/tags-api.ts b/api/tags-api.ts index eb665606..1ac12f00 100644 --- a/api/tags-api.ts +++ b/api/tags-api.ts @@ -67,6 +67,10 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createTag'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -107,6 +111,10 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteTag'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -140,6 +148,10 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getApprovalRequest'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -173,6 +185,10 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTag'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -211,6 +227,10 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTags'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -279,6 +299,10 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration) } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateTag'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/tempo-beta-api.ts b/api/tempo-beta-api.ts index 13e22813..b1abcf83 100644 --- a/api/tempo-beta-api.ts +++ b/api/tempo-beta-api.ts @@ -57,6 +57,10 @@ export const TempoBetaApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createTempoTransfer'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/tokenization-api.ts b/api/tokenization-api.ts index 6f412160..d9d44026 100644 --- a/api/tokenization-api.ts +++ b/api/tokenization-api.ts @@ -152,6 +152,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'burnCollectionToken'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -192,6 +196,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createNewCollection'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -232,6 +240,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deactivateAndUnlinkAdapters'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -272,6 +284,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deployAndLinkAdapters'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -315,6 +331,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'fetchCollectionTokenDetails'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -348,6 +368,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getCollectionById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -381,6 +405,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getDeployableAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -422,6 +450,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getLayerZeroDvnConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -459,6 +491,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getLayerZeroPeers'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -492,6 +528,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getLinkedCollections'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -539,6 +579,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getLinkedToken'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -572,6 +616,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getLinkedTokens'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -616,6 +664,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getLinkedTokensCount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -653,6 +705,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTokenAccessRegistryAddresses'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -702,6 +758,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTokenAccessRegistrySummary'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -738,6 +798,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTokenBalanceForAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -781,6 +845,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTokenBalanceHistory'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -850,6 +918,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTokenBalances'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -899,6 +971,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTokenContractSummary'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -932,6 +1008,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTokenRbac'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -972,6 +1052,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTokenTotalSupply'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1043,6 +1127,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTokenTransactions'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1112,6 +1200,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTokenTransfers'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1181,6 +1273,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'issueNewToken'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1221,6 +1317,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'issueTokenMultiChain'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1261,6 +1361,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'link'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1304,6 +1408,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'mintCollectionToken'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1347,6 +1455,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'reIssueTokenMultiChain'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1387,6 +1499,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'removeLayerZeroPeers'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1427,6 +1543,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setLayerZeroDvnConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1467,6 +1587,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setLayerZeroPeers'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1507,6 +1631,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'unlink'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1540,6 +1668,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'unlinkCollection'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1574,6 +1706,10 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'validateLayerZeroChannelConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/trading-beta-api.ts b/api/trading-api.ts similarity index 65% rename from api/trading-beta-api.ts rename to api/trading-api.ts index 1504676c..a4fb294b 100644 --- a/api/trading-beta-api.ts +++ b/api/trading-api.ts @@ -59,13 +59,13 @@ import { TradingErrorSchema } from '../models'; // @ts-ignore import { TradingProvider } from '../models'; /** - * TradingBetaApi - axios parameter creator + * TradingApi - axios parameter creator * @export */ -export const TradingBetaApiAxiosParamCreator = function (configuration?: Configuration) { +export const TradingApiAxiosParamCreator = function (configuration?: Configuration) { return { /** - * Create an order to buy or sell an asset. If no source is given, an external source will be use. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Create an order to buy or sell an asset. If no source is given, an external source will be use. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Create an order * @param {CreateOrderRequest} createOrderRequest * @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. @@ -83,6 +83,10 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createOrder'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -105,7 +109,7 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu }; }, /** - * Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Create a quote * @param {CreateQuote} createQuote * @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. @@ -123,6 +127,10 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createQuote'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -145,7 +153,7 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu }; }, /** - * Retrieve all available offers across the workspace for a given asset pair. Always operates in open scope — no provider or account selection required. Returns a mix of indicative rates and committed quotes as applicable per provider. If no slippageBps is provided, it defaults to 50 bps (0.5%). Slippage and settlement configuration do not affect the returned rate. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve all available offers across the workspace for a given asset pair. Always operates in open scope — no provider or account selection required. Returns a mix of indicative rates and committed quotes as applicable per provider. If no slippageBps is provided, it defaults to 50 bps (0.5%). Slippage and settlement configuration do not affect the returned rate. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get all offers * @param {CreateOffersRequest} createOffersRequest * @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. @@ -163,6 +171,10 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'fetchAllOffers'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -185,7 +197,7 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu }; }, /** - * Retrieve indicative exchange rate from specified providers for a given asset pair. Rates are non-executable price signals intended for discovery and display purposes. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve indicative exchange rate from specified providers for a given asset pair. Rates are non-executable price signals intended for discovery and display purposes. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get rates * @param {RatesRequest} ratesRequest * @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. @@ -203,6 +215,10 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'fetchRates'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -225,7 +241,7 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu }; }, /** - * Retrieve detailed information about a specific order by its ID. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve detailed information about a specific order by its ID. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get order details * @param {string} orderId The ID of the order to fetch. * @param {*} [options] Override http request option. @@ -243,6 +259,10 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getOrder'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -258,7 +278,7 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu }; }, /** - * Fetch order requirement details for an order that is in `AWAITING_INFORMATION` status. The response includes `requirementId` and `dueBy` metadata, a `requiredData` JSON Schema (Draft-7) describing the shape of the `data` object expected on `POST /trading/orders/{orderId}/requirement/data`, and `requiredFiles` descriptors for any files the provider requires (uploaded via `POST /trading/orders/{orderId}/requirement/file`). Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Fetch order requirement details for an order that is in `AWAITING_INFORMATION` status. The response includes `requirementId` and `dueBy` metadata, a `requiredData` JSON Schema (Draft-7) describing the shape of the `data` object expected on `POST /trading/orders/{orderId}/requirement/data`, and `requiredFiles` descriptors for any files the provider requires (uploaded via `POST /trading/orders/{orderId}/requirement/file`). Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get order requirement details for an order * @param {string} orderId The ID of the order for which the order requirement is issued. * @param {*} [options] Override http request option. @@ -276,6 +296,10 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getOrderRequirements'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -291,7 +315,7 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu }; }, /** - * Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get orders * @param {number} pageSize pageSize for pagination. * @param {string} [pageCursor] @@ -316,6 +340,10 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getOrders'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -367,7 +395,7 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu }; }, /** - * Retrieve a single provider by ID. **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a single provider by ID. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get trading provider by ID * @param {string} providerId The unique identifier of the provider. * @param {*} [options] Override http request option. @@ -385,6 +413,10 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTradingProviderById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -400,7 +432,7 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu }; }, /** - * Retrieve a list of all available external providers supporting trading activities through the platform. **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a list of all available external providers supporting trading activities through the platform. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get providers * @param {number} [pageSize] Page size for pagination. * @param {string} [pageCursor] Page cursor for pagination. @@ -417,6 +449,10 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTradingProviders'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -440,7 +476,7 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu }; }, /** - * Submit the user\'s textual response to an order requirement on an order that is in `AWAITING_INFORMATION` status. The request body carries `data` — a free-form object conforming to the `requiredData` JSON Schema returned by the GET endpoint. Any required files are uploaded separately via `POST /trading/orders/{orderId}/requirement/file`. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Submit the user\'s textual response to an order requirement on an order that is in `AWAITING_INFORMATION` status. The request body carries `data` — a free-form object conforming to the `requiredData` JSON Schema returned by the GET endpoint. Any required files are uploaded separately via `POST /trading/orders/{orderId}/requirement/file`. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Submit a response to an order requirement * @param {SubmitOrderRequirementRequest} submitOrderRequirementRequest * @param {string} orderId The ID of the order to submit the order requirement response for. @@ -461,6 +497,10 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'submitOrderRequirements'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -483,7 +523,7 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu }; }, /** - * Upload a single file (multipart/form-data) in response to an order requirement on an order that is in `AWAITING_INFORMATION` status. Call this endpoint once per required file. Send `fileKey` (matching a `fileKey` from `requiredFiles` on the GET response) and the binary `file`. Its type must be one of the supported file formats. Fireblocks encrypts each file and uploads it individually to the underlying provider. The textual response is submitted separately via `POST /trading/orders/{orderId}/requirement/data`. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Upload a single file (multipart/form-data) in response to an order requirement on an order that is in `AWAITING_INFORMATION` status. Call this endpoint once per required file. Send `fileKey` (matching a `fileKey` from `requiredFiles` on the GET response) and the binary `file`. Its type must be one of the supported file formats. Fireblocks encrypts each file and uploads it individually to the underlying provider. The textual response is submitted separately via `POST /trading/orders/{orderId}/requirement/data`. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Upload a file for an order requirement * @param {string} fileKey Identifier of the required file this upload satisfies. Must match a `fileKey` from `requiredFiles` on the GET response. * @param {File} file The binary file content. The file\\\'s type must be one of the supported OrderRequirementAllowedFileType values; the file name and type are derived from the uploaded part. @@ -506,6 +546,10 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'uploadOrderRequirementFile'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)(); @@ -540,14 +584,14 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu }; /** - * TradingBetaApi - functional programming interface + * TradingApi - functional programming interface * @export */ -export const TradingBetaApiFp = function(configuration?: Configuration) { - const localVarAxiosParamCreator = TradingBetaApiAxiosParamCreator(configuration) +export const TradingApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = TradingApiAxiosParamCreator(configuration) return { /** - * Create an order to buy or sell an asset. If no source is given, an external source will be use. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Create an order to buy or sell an asset. If no source is given, an external source will be use. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Create an order * @param {CreateOrderRequest} createOrderRequest * @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. @@ -557,11 +601,11 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { async createOrder(createOrderRequest: CreateOrderRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createOrder(createOrderRequest, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['TradingBetaApi.createOrder']?.[index]?.url; + const operationBasePath = operationServerMap['TradingApi.createOrder']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Create a quote * @param {CreateQuote} createQuote * @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. @@ -571,11 +615,11 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { async createQuote(createQuote: CreateQuote, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createQuote(createQuote, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['TradingBetaApi.createQuote']?.[index]?.url; + const operationBasePath = operationServerMap['TradingApi.createQuote']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Retrieve all available offers across the workspace for a given asset pair. Always operates in open scope — no provider or account selection required. Returns a mix of indicative rates and committed quotes as applicable per provider. If no slippageBps is provided, it defaults to 50 bps (0.5%). Slippage and settlement configuration do not affect the returned rate. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve all available offers across the workspace for a given asset pair. Always operates in open scope — no provider or account selection required. Returns a mix of indicative rates and committed quotes as applicable per provider. If no slippageBps is provided, it defaults to 50 bps (0.5%). Slippage and settlement configuration do not affect the returned rate. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get all offers * @param {CreateOffersRequest} createOffersRequest * @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. @@ -585,11 +629,11 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { async fetchAllOffers(createOffersRequest: CreateOffersRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.fetchAllOffers(createOffersRequest, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['TradingBetaApi.fetchAllOffers']?.[index]?.url; + const operationBasePath = operationServerMap['TradingApi.fetchAllOffers']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Retrieve indicative exchange rate from specified providers for a given asset pair. Rates are non-executable price signals intended for discovery and display purposes. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve indicative exchange rate from specified providers for a given asset pair. Rates are non-executable price signals intended for discovery and display purposes. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get rates * @param {RatesRequest} ratesRequest * @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. @@ -599,11 +643,11 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { async fetchRates(ratesRequest: RatesRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.fetchRates(ratesRequest, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['TradingBetaApi.fetchRates']?.[index]?.url; + const operationBasePath = operationServerMap['TradingApi.fetchRates']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Retrieve detailed information about a specific order by its ID. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve detailed information about a specific order by its ID. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get order details * @param {string} orderId The ID of the order to fetch. * @param {*} [options] Override http request option. @@ -612,11 +656,11 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { async getOrder(orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getOrder(orderId, options); const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['TradingBetaApi.getOrder']?.[index]?.url; + const operationBasePath = operationServerMap['TradingApi.getOrder']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Fetch order requirement details for an order that is in `AWAITING_INFORMATION` status. The response includes `requirementId` and `dueBy` metadata, a `requiredData` JSON Schema (Draft-7) describing the shape of the `data` object expected on `POST /trading/orders/{orderId}/requirement/data`, and `requiredFiles` descriptors for any files the provider requires (uploaded via `POST /trading/orders/{orderId}/requirement/file`). Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Fetch order requirement details for an order that is in `AWAITING_INFORMATION` status. The response includes `requirementId` and `dueBy` metadata, a `requiredData` JSON Schema (Draft-7) describing the shape of the `data` object expected on `POST /trading/orders/{orderId}/requirement/data`, and `requiredFiles` descriptors for any files the provider requires (uploaded via `POST /trading/orders/{orderId}/requirement/file`). Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get order requirement details for an order * @param {string} orderId The ID of the order for which the order requirement is issued. * @param {*} [options] Override http request option. @@ -625,11 +669,11 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { async getOrderRequirements(orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderRequirements(orderId, options); const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['TradingBetaApi.getOrderRequirements']?.[index]?.url; + const operationBasePath = operationServerMap['TradingApi.getOrderRequirements']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get orders * @param {number} pageSize pageSize for pagination. * @param {string} [pageCursor] @@ -646,11 +690,11 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { async getOrders(pageSize: number, pageCursor?: string, order?: GetOrdersOrderEnum, accountId?: Array, providerId?: Array, statuses?: Array, startTime?: number, endTime?: number, assetConversionType?: GetOrdersAssetConversionTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(pageSize, pageCursor, order, accountId, providerId, statuses, startTime, endTime, assetConversionType, options); const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['TradingBetaApi.getOrders']?.[index]?.url; + const operationBasePath = operationServerMap['TradingApi.getOrders']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Retrieve a single provider by ID. **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a single provider by ID. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get trading provider by ID * @param {string} providerId The unique identifier of the provider. * @param {*} [options] Override http request option. @@ -659,11 +703,11 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { async getTradingProviderById(providerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getTradingProviderById(providerId, options); const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['TradingBetaApi.getTradingProviderById']?.[index]?.url; + const operationBasePath = operationServerMap['TradingApi.getTradingProviderById']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Retrieve a list of all available external providers supporting trading activities through the platform. **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a list of all available external providers supporting trading activities through the platform. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get providers * @param {number} [pageSize] Page size for pagination. * @param {string} [pageCursor] Page cursor for pagination. @@ -673,11 +717,11 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { async getTradingProviders(pageSize?: number, pageCursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getTradingProviders(pageSize, pageCursor, options); const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['TradingBetaApi.getTradingProviders']?.[index]?.url; + const operationBasePath = operationServerMap['TradingApi.getTradingProviders']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Submit the user\'s textual response to an order requirement on an order that is in `AWAITING_INFORMATION` status. The request body carries `data` — a free-form object conforming to the `requiredData` JSON Schema returned by the GET endpoint. Any required files are uploaded separately via `POST /trading/orders/{orderId}/requirement/file`. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Submit the user\'s textual response to an order requirement on an order that is in `AWAITING_INFORMATION` status. The request body carries `data` — a free-form object conforming to the `requiredData` JSON Schema returned by the GET endpoint. Any required files are uploaded separately via `POST /trading/orders/{orderId}/requirement/file`. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Submit a response to an order requirement * @param {SubmitOrderRequirementRequest} submitOrderRequirementRequest * @param {string} orderId The ID of the order to submit the order requirement response for. @@ -688,11 +732,11 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { async submitOrderRequirements(submitOrderRequirementRequest: SubmitOrderRequirementRequest, orderId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.submitOrderRequirements(submitOrderRequirementRequest, orderId, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['TradingBetaApi.submitOrderRequirements']?.[index]?.url; + const operationBasePath = operationServerMap['TradingApi.submitOrderRequirements']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Upload a single file (multipart/form-data) in response to an order requirement on an order that is in `AWAITING_INFORMATION` status. Call this endpoint once per required file. Send `fileKey` (matching a `fileKey` from `requiredFiles` on the GET response) and the binary `file`. Its type must be one of the supported file formats. Fireblocks encrypts each file and uploads it individually to the underlying provider. The textual response is submitted separately via `POST /trading/orders/{orderId}/requirement/data`. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Upload a single file (multipart/form-data) in response to an order requirement on an order that is in `AWAITING_INFORMATION` status. Call this endpoint once per required file. Send `fileKey` (matching a `fileKey` from `requiredFiles` on the GET response) and the binary `file`. Its type must be one of the supported file formats. Fireblocks encrypts each file and uploads it individually to the underlying provider. The textual response is submitted separately via `POST /trading/orders/{orderId}/requirement/data`. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Upload a file for an order requirement * @param {string} fileKey Identifier of the required file this upload satisfies. Must match a `fileKey` from `requiredFiles` on the GET response. * @param {File} file The binary file content. The file\\\'s type must be one of the supported OrderRequirementAllowedFileType values; the file name and type are derived from the uploaded part. @@ -704,549 +748,549 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { async uploadOrderRequirementFile(fileKey: string, file: File, orderId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.uploadOrderRequirementFile(fileKey, file, orderId, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['TradingBetaApi.uploadOrderRequirementFile']?.[index]?.url; + const operationBasePath = operationServerMap['TradingApi.uploadOrderRequirementFile']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; /** - * TradingBetaApi - factory interface + * TradingApi - factory interface * @export */ -export const TradingBetaApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { - const localVarFp = TradingBetaApiFp(configuration) +export const TradingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = TradingApiFp(configuration) return { /** - * Create an order to buy or sell an asset. If no source is given, an external source will be use. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Create an order to buy or sell an asset. If no source is given, an external source will be use. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Create an order - * @param {TradingBetaApiCreateOrderRequest} requestParameters Request parameters. + * @param {TradingApiCreateOrderRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createOrder(requestParameters: TradingBetaApiCreateOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise { + createOrder(requestParameters: TradingApiCreateOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createOrder(requestParameters.createOrderRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** - * Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Create a quote - * @param {TradingBetaApiCreateQuoteRequest} requestParameters Request parameters. + * @param {TradingApiCreateQuoteRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createQuote(requestParameters: TradingBetaApiCreateQuoteRequest, options?: RawAxiosRequestConfig): AxiosPromise { + createQuote(requestParameters: TradingApiCreateQuoteRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createQuote(requestParameters.createQuote, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** - * Retrieve all available offers across the workspace for a given asset pair. Always operates in open scope — no provider or account selection required. Returns a mix of indicative rates and committed quotes as applicable per provider. If no slippageBps is provided, it defaults to 50 bps (0.5%). Slippage and settlement configuration do not affect the returned rate. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve all available offers across the workspace for a given asset pair. Always operates in open scope — no provider or account selection required. Returns a mix of indicative rates and committed quotes as applicable per provider. If no slippageBps is provided, it defaults to 50 bps (0.5%). Slippage and settlement configuration do not affect the returned rate. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get all offers - * @param {TradingBetaApiFetchAllOffersRequest} requestParameters Request parameters. + * @param {TradingApiFetchAllOffersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - fetchAllOffers(requestParameters: TradingBetaApiFetchAllOffersRequest, options?: RawAxiosRequestConfig): AxiosPromise { + fetchAllOffers(requestParameters: TradingApiFetchAllOffersRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.fetchAllOffers(requestParameters.createOffersRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** - * Retrieve indicative exchange rate from specified providers for a given asset pair. Rates are non-executable price signals intended for discovery and display purposes. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve indicative exchange rate from specified providers for a given asset pair. Rates are non-executable price signals intended for discovery and display purposes. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get rates - * @param {TradingBetaApiFetchRatesRequest} requestParameters Request parameters. + * @param {TradingApiFetchRatesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - fetchRates(requestParameters: TradingBetaApiFetchRatesRequest, options?: RawAxiosRequestConfig): AxiosPromise { + fetchRates(requestParameters: TradingApiFetchRatesRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.fetchRates(requestParameters.ratesRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** - * Retrieve detailed information about a specific order by its ID. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve detailed information about a specific order by its ID. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get order details - * @param {TradingBetaApiGetOrderRequest} requestParameters Request parameters. + * @param {TradingApiGetOrderRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getOrder(requestParameters: TradingBetaApiGetOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise { + getOrder(requestParameters: TradingApiGetOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getOrder(requestParameters.orderId, options).then((request) => request(axios, basePath)); }, /** - * Fetch order requirement details for an order that is in `AWAITING_INFORMATION` status. The response includes `requirementId` and `dueBy` metadata, a `requiredData` JSON Schema (Draft-7) describing the shape of the `data` object expected on `POST /trading/orders/{orderId}/requirement/data`, and `requiredFiles` descriptors for any files the provider requires (uploaded via `POST /trading/orders/{orderId}/requirement/file`). Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Fetch order requirement details for an order that is in `AWAITING_INFORMATION` status. The response includes `requirementId` and `dueBy` metadata, a `requiredData` JSON Schema (Draft-7) describing the shape of the `data` object expected on `POST /trading/orders/{orderId}/requirement/data`, and `requiredFiles` descriptors for any files the provider requires (uploaded via `POST /trading/orders/{orderId}/requirement/file`). Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get order requirement details for an order - * @param {TradingBetaApiGetOrderRequirementsRequest} requestParameters Request parameters. + * @param {TradingApiGetOrderRequirementsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getOrderRequirements(requestParameters: TradingBetaApiGetOrderRequirementsRequest, options?: RawAxiosRequestConfig): AxiosPromise { + getOrderRequirements(requestParameters: TradingApiGetOrderRequirementsRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getOrderRequirements(requestParameters.orderId, options).then((request) => request(axios, basePath)); }, /** - * Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get orders - * @param {TradingBetaApiGetOrdersRequest} requestParameters Request parameters. + * @param {TradingApiGetOrdersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getOrders(requestParameters: TradingBetaApiGetOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise { + getOrders(requestParameters: TradingApiGetOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getOrders(requestParameters.pageSize, requestParameters.pageCursor, requestParameters.order, requestParameters.accountId, requestParameters.providerId, requestParameters.statuses, requestParameters.startTime, requestParameters.endTime, requestParameters.assetConversionType, options).then((request) => request(axios, basePath)); }, /** - * Retrieve a single provider by ID. **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a single provider by ID. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get trading provider by ID - * @param {TradingBetaApiGetTradingProviderByIdRequest} requestParameters Request parameters. + * @param {TradingApiGetTradingProviderByIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTradingProviderById(requestParameters: TradingBetaApiGetTradingProviderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { + getTradingProviderById(requestParameters: TradingApiGetTradingProviderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getTradingProviderById(requestParameters.providerId, options).then((request) => request(axios, basePath)); }, /** - * Retrieve a list of all available external providers supporting trading activities through the platform. **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a list of all available external providers supporting trading activities through the platform. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get providers - * @param {TradingBetaApiGetTradingProvidersRequest} requestParameters Request parameters. + * @param {TradingApiGetTradingProvidersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTradingProviders(requestParameters: TradingBetaApiGetTradingProvidersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { + getTradingProviders(requestParameters: TradingApiGetTradingProvidersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getTradingProviders(requestParameters.pageSize, requestParameters.pageCursor, options).then((request) => request(axios, basePath)); }, /** - * Submit the user\'s textual response to an order requirement on an order that is in `AWAITING_INFORMATION` status. The request body carries `data` — a free-form object conforming to the `requiredData` JSON Schema returned by the GET endpoint. Any required files are uploaded separately via `POST /trading/orders/{orderId}/requirement/file`. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Submit the user\'s textual response to an order requirement on an order that is in `AWAITING_INFORMATION` status. The request body carries `data` — a free-form object conforming to the `requiredData` JSON Schema returned by the GET endpoint. Any required files are uploaded separately via `POST /trading/orders/{orderId}/requirement/file`. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Submit a response to an order requirement - * @param {TradingBetaApiSubmitOrderRequirementsRequest} requestParameters Request parameters. + * @param {TradingApiSubmitOrderRequirementsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - submitOrderRequirements(requestParameters: TradingBetaApiSubmitOrderRequirementsRequest, options?: RawAxiosRequestConfig): AxiosPromise { + submitOrderRequirements(requestParameters: TradingApiSubmitOrderRequirementsRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.submitOrderRequirements(requestParameters.submitOrderRequirementRequest, requestParameters.orderId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** - * Upload a single file (multipart/form-data) in response to an order requirement on an order that is in `AWAITING_INFORMATION` status. Call this endpoint once per required file. Send `fileKey` (matching a `fileKey` from `requiredFiles` on the GET response) and the binary `file`. Its type must be one of the supported file formats. Fireblocks encrypts each file and uploads it individually to the underlying provider. The textual response is submitted separately via `POST /trading/orders/{orderId}/requirement/data`. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Upload a single file (multipart/form-data) in response to an order requirement on an order that is in `AWAITING_INFORMATION` status. Call this endpoint once per required file. Send `fileKey` (matching a `fileKey` from `requiredFiles` on the GET response) and the binary `file`. Its type must be one of the supported file formats. Fireblocks encrypts each file and uploads it individually to the underlying provider. The textual response is submitted separately via `POST /trading/orders/{orderId}/requirement/data`. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Upload a file for an order requirement - * @param {TradingBetaApiUploadOrderRequirementFileRequest} requestParameters Request parameters. + * @param {TradingApiUploadOrderRequirementFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - uploadOrderRequirementFile(requestParameters: TradingBetaApiUploadOrderRequirementFileRequest, options?: RawAxiosRequestConfig): AxiosPromise { + uploadOrderRequirementFile(requestParameters: TradingApiUploadOrderRequirementFileRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.uploadOrderRequirementFile(requestParameters.fileKey, requestParameters.file, requestParameters.orderId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, }; }; /** - * Request parameters for createOrder operation in TradingBetaApi. + * Request parameters for createOrder operation in TradingApi. * @export - * @interface TradingBetaApiCreateOrderRequest + * @interface TradingApiCreateOrderRequest */ -export interface TradingBetaApiCreateOrderRequest { +export interface TradingApiCreateOrderRequest { /** * * @type {CreateOrderRequest} - * @memberof TradingBetaApiCreateOrder + * @memberof TradingApiCreateOrder */ readonly createOrderRequest: CreateOrderRequest /** * 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 TradingBetaApiCreateOrder + * @memberof TradingApiCreateOrder */ readonly idempotencyKey?: string } /** - * Request parameters for createQuote operation in TradingBetaApi. + * Request parameters for createQuote operation in TradingApi. * @export - * @interface TradingBetaApiCreateQuoteRequest + * @interface TradingApiCreateQuoteRequest */ -export interface TradingBetaApiCreateQuoteRequest { +export interface TradingApiCreateQuoteRequest { /** * * @type {CreateQuote} - * @memberof TradingBetaApiCreateQuote + * @memberof TradingApiCreateQuote */ readonly createQuote: CreateQuote /** * 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 TradingBetaApiCreateQuote + * @memberof TradingApiCreateQuote */ readonly idempotencyKey?: string } /** - * Request parameters for fetchAllOffers operation in TradingBetaApi. + * Request parameters for fetchAllOffers operation in TradingApi. * @export - * @interface TradingBetaApiFetchAllOffersRequest + * @interface TradingApiFetchAllOffersRequest */ -export interface TradingBetaApiFetchAllOffersRequest { +export interface TradingApiFetchAllOffersRequest { /** * * @type {CreateOffersRequest} - * @memberof TradingBetaApiFetchAllOffers + * @memberof TradingApiFetchAllOffers */ readonly createOffersRequest: CreateOffersRequest /** * 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 TradingBetaApiFetchAllOffers + * @memberof TradingApiFetchAllOffers */ readonly idempotencyKey?: string } /** - * Request parameters for fetchRates operation in TradingBetaApi. + * Request parameters for fetchRates operation in TradingApi. * @export - * @interface TradingBetaApiFetchRatesRequest + * @interface TradingApiFetchRatesRequest */ -export interface TradingBetaApiFetchRatesRequest { +export interface TradingApiFetchRatesRequest { /** * * @type {RatesRequest} - * @memberof TradingBetaApiFetchRates + * @memberof TradingApiFetchRates */ readonly ratesRequest: RatesRequest /** * 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 TradingBetaApiFetchRates + * @memberof TradingApiFetchRates */ readonly idempotencyKey?: string } /** - * Request parameters for getOrder operation in TradingBetaApi. + * Request parameters for getOrder operation in TradingApi. * @export - * @interface TradingBetaApiGetOrderRequest + * @interface TradingApiGetOrderRequest */ -export interface TradingBetaApiGetOrderRequest { +export interface TradingApiGetOrderRequest { /** * The ID of the order to fetch. * @type {string} - * @memberof TradingBetaApiGetOrder + * @memberof TradingApiGetOrder */ readonly orderId: string } /** - * Request parameters for getOrderRequirements operation in TradingBetaApi. + * Request parameters for getOrderRequirements operation in TradingApi. * @export - * @interface TradingBetaApiGetOrderRequirementsRequest + * @interface TradingApiGetOrderRequirementsRequest */ -export interface TradingBetaApiGetOrderRequirementsRequest { +export interface TradingApiGetOrderRequirementsRequest { /** * The ID of the order for which the order requirement is issued. * @type {string} - * @memberof TradingBetaApiGetOrderRequirements + * @memberof TradingApiGetOrderRequirements */ readonly orderId: string } /** - * Request parameters for getOrders operation in TradingBetaApi. + * Request parameters for getOrders operation in TradingApi. * @export - * @interface TradingBetaApiGetOrdersRequest + * @interface TradingApiGetOrdersRequest */ -export interface TradingBetaApiGetOrdersRequest { +export interface TradingApiGetOrdersRequest { /** * pageSize for pagination. * @type {number} - * @memberof TradingBetaApiGetOrders + * @memberof TradingApiGetOrders */ readonly pageSize: number /** * * @type {string} - * @memberof TradingBetaApiGetOrders + * @memberof TradingApiGetOrders */ readonly pageCursor?: string /** * ASC / DESC ordering (default DESC) * @type {'ASC' | 'DESC'} - * @memberof TradingBetaApiGetOrders + * @memberof TradingApiGetOrders */ readonly order?: GetOrdersOrderEnum /** * Filter by accountId. * @type {Array} - * @memberof TradingBetaApiGetOrders + * @memberof TradingApiGetOrders */ readonly accountId?: Array /** * Filter by providerId. * @type {Array} - * @memberof TradingBetaApiGetOrders + * @memberof TradingApiGetOrders */ readonly providerId?: Array /** * Filter by order status. * @type {Array} - * @memberof TradingBetaApiGetOrders + * @memberof TradingApiGetOrders */ readonly statuses?: Array /** * * @type {number} - * @memberof TradingBetaApiGetOrders + * @memberof TradingApiGetOrders */ readonly startTime?: number /** * * @type {number} - * @memberof TradingBetaApiGetOrders + * @memberof TradingApiGetOrders */ readonly endTime?: number /** * * @type {'DIGITAL_ONLY' | 'FIAT'} - * @memberof TradingBetaApiGetOrders + * @memberof TradingApiGetOrders */ readonly assetConversionType?: GetOrdersAssetConversionTypeEnum } /** - * Request parameters for getTradingProviderById operation in TradingBetaApi. + * Request parameters for getTradingProviderById operation in TradingApi. * @export - * @interface TradingBetaApiGetTradingProviderByIdRequest + * @interface TradingApiGetTradingProviderByIdRequest */ -export interface TradingBetaApiGetTradingProviderByIdRequest { +export interface TradingApiGetTradingProviderByIdRequest { /** * The unique identifier of the provider. * @type {string} - * @memberof TradingBetaApiGetTradingProviderById + * @memberof TradingApiGetTradingProviderById */ readonly providerId: string } /** - * Request parameters for getTradingProviders operation in TradingBetaApi. + * Request parameters for getTradingProviders operation in TradingApi. * @export - * @interface TradingBetaApiGetTradingProvidersRequest + * @interface TradingApiGetTradingProvidersRequest */ -export interface TradingBetaApiGetTradingProvidersRequest { +export interface TradingApiGetTradingProvidersRequest { /** * Page size for pagination. * @type {number} - * @memberof TradingBetaApiGetTradingProviders + * @memberof TradingApiGetTradingProviders */ readonly pageSize?: number /** * Page cursor for pagination. * @type {string} - * @memberof TradingBetaApiGetTradingProviders + * @memberof TradingApiGetTradingProviders */ readonly pageCursor?: string } /** - * Request parameters for submitOrderRequirements operation in TradingBetaApi. + * Request parameters for submitOrderRequirements operation in TradingApi. * @export - * @interface TradingBetaApiSubmitOrderRequirementsRequest + * @interface TradingApiSubmitOrderRequirementsRequest */ -export interface TradingBetaApiSubmitOrderRequirementsRequest { +export interface TradingApiSubmitOrderRequirementsRequest { /** * * @type {SubmitOrderRequirementRequest} - * @memberof TradingBetaApiSubmitOrderRequirements + * @memberof TradingApiSubmitOrderRequirements */ readonly submitOrderRequirementRequest: SubmitOrderRequirementRequest /** * The ID of the order to submit the order requirement response for. * @type {string} - * @memberof TradingBetaApiSubmitOrderRequirements + * @memberof TradingApiSubmitOrderRequirements */ readonly orderId: 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 TradingBetaApiSubmitOrderRequirements + * @memberof TradingApiSubmitOrderRequirements */ readonly idempotencyKey?: string } /** - * Request parameters for uploadOrderRequirementFile operation in TradingBetaApi. + * Request parameters for uploadOrderRequirementFile operation in TradingApi. * @export - * @interface TradingBetaApiUploadOrderRequirementFileRequest + * @interface TradingApiUploadOrderRequirementFileRequest */ -export interface TradingBetaApiUploadOrderRequirementFileRequest { +export interface TradingApiUploadOrderRequirementFileRequest { /** * Identifier of the required file this upload satisfies. Must match a `fileKey` from `requiredFiles` on the GET response. * @type {string} - * @memberof TradingBetaApiUploadOrderRequirementFile + * @memberof TradingApiUploadOrderRequirementFile */ readonly fileKey: string /** * The binary file content. The file\\\'s type must be one of the supported OrderRequirementAllowedFileType values; the file name and type are derived from the uploaded part. * @type {File} - * @memberof TradingBetaApiUploadOrderRequirementFile + * @memberof TradingApiUploadOrderRequirementFile */ readonly file: File /** * The ID of the order to upload the order requirement file for. * @type {string} - * @memberof TradingBetaApiUploadOrderRequirementFile + * @memberof TradingApiUploadOrderRequirementFile */ readonly orderId: 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 TradingBetaApiUploadOrderRequirementFile + * @memberof TradingApiUploadOrderRequirementFile */ readonly idempotencyKey?: string } /** - * TradingBetaApi - object-oriented interface + * TradingApi - object-oriented interface * @export - * @class TradingBetaApi + * @class TradingApi * @extends {BaseAPI} */ -export class TradingBetaApi extends BaseAPI { +export class TradingApi extends BaseAPI { /** - * Create an order to buy or sell an asset. If no source is given, an external source will be use. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Create an order to buy or sell an asset. If no source is given, an external source will be use. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Create an order - * @param {TradingBetaApiCreateOrderRequest} requestParameters Request parameters. + * @param {TradingApiCreateOrderRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof TradingBetaApi + * @memberof TradingApi */ - public createOrder(requestParameters: TradingBetaApiCreateOrderRequest) { - return TradingBetaApiFp(this.configuration).createOrder(requestParameters.createOrderRequest, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + public createOrder(requestParameters: TradingApiCreateOrderRequest) { + return TradingApiFp(this.configuration).createOrder(requestParameters.createOrderRequest, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** - * Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Create a quote - * @param {TradingBetaApiCreateQuoteRequest} requestParameters Request parameters. + * @param {TradingApiCreateQuoteRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof TradingBetaApi + * @memberof TradingApi */ - public createQuote(requestParameters: TradingBetaApiCreateQuoteRequest) { - return TradingBetaApiFp(this.configuration).createQuote(requestParameters.createQuote, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + public createQuote(requestParameters: TradingApiCreateQuoteRequest) { + return TradingApiFp(this.configuration).createQuote(requestParameters.createQuote, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** - * Retrieve all available offers across the workspace for a given asset pair. Always operates in open scope — no provider or account selection required. Returns a mix of indicative rates and committed quotes as applicable per provider. If no slippageBps is provided, it defaults to 50 bps (0.5%). Slippage and settlement configuration do not affect the returned rate. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve all available offers across the workspace for a given asset pair. Always operates in open scope — no provider or account selection required. Returns a mix of indicative rates and committed quotes as applicable per provider. If no slippageBps is provided, it defaults to 50 bps (0.5%). Slippage and settlement configuration do not affect the returned rate. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get all offers - * @param {TradingBetaApiFetchAllOffersRequest} requestParameters Request parameters. + * @param {TradingApiFetchAllOffersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof TradingBetaApi + * @memberof TradingApi */ - public fetchAllOffers(requestParameters: TradingBetaApiFetchAllOffersRequest) { - return TradingBetaApiFp(this.configuration).fetchAllOffers(requestParameters.createOffersRequest, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + public fetchAllOffers(requestParameters: TradingApiFetchAllOffersRequest) { + return TradingApiFp(this.configuration).fetchAllOffers(requestParameters.createOffersRequest, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** - * Retrieve indicative exchange rate from specified providers for a given asset pair. Rates are non-executable price signals intended for discovery and display purposes. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve indicative exchange rate from specified providers for a given asset pair. Rates are non-executable price signals intended for discovery and display purposes. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get rates - * @param {TradingBetaApiFetchRatesRequest} requestParameters Request parameters. + * @param {TradingApiFetchRatesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof TradingBetaApi + * @memberof TradingApi */ - public fetchRates(requestParameters: TradingBetaApiFetchRatesRequest) { - return TradingBetaApiFp(this.configuration).fetchRates(requestParameters.ratesRequest, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + public fetchRates(requestParameters: TradingApiFetchRatesRequest) { + return TradingApiFp(this.configuration).fetchRates(requestParameters.ratesRequest, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** - * Retrieve detailed information about a specific order by its ID. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve detailed information about a specific order by its ID. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get order details - * @param {TradingBetaApiGetOrderRequest} requestParameters Request parameters. + * @param {TradingApiGetOrderRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof TradingBetaApi + * @memberof TradingApi */ - public getOrder(requestParameters: TradingBetaApiGetOrderRequest) { - return TradingBetaApiFp(this.configuration).getOrder(requestParameters.orderId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + public getOrder(requestParameters: TradingApiGetOrderRequest) { + return TradingApiFp(this.configuration).getOrder(requestParameters.orderId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** - * Fetch order requirement details for an order that is in `AWAITING_INFORMATION` status. The response includes `requirementId` and `dueBy` metadata, a `requiredData` JSON Schema (Draft-7) describing the shape of the `data` object expected on `POST /trading/orders/{orderId}/requirement/data`, and `requiredFiles` descriptors for any files the provider requires (uploaded via `POST /trading/orders/{orderId}/requirement/file`). Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Fetch order requirement details for an order that is in `AWAITING_INFORMATION` status. The response includes `requirementId` and `dueBy` metadata, a `requiredData` JSON Schema (Draft-7) describing the shape of the `data` object expected on `POST /trading/orders/{orderId}/requirement/data`, and `requiredFiles` descriptors for any files the provider requires (uploaded via `POST /trading/orders/{orderId}/requirement/file`). Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get order requirement details for an order - * @param {TradingBetaApiGetOrderRequirementsRequest} requestParameters Request parameters. + * @param {TradingApiGetOrderRequirementsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof TradingBetaApi + * @memberof TradingApi */ - public getOrderRequirements(requestParameters: TradingBetaApiGetOrderRequirementsRequest) { - return TradingBetaApiFp(this.configuration).getOrderRequirements(requestParameters.orderId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + public getOrderRequirements(requestParameters: TradingApiGetOrderRequirementsRequest) { + return TradingApiFp(this.configuration).getOrderRequirements(requestParameters.orderId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** - * Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get orders - * @param {TradingBetaApiGetOrdersRequest} requestParameters Request parameters. + * @param {TradingApiGetOrdersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof TradingBetaApi + * @memberof TradingApi */ - public getOrders(requestParameters: TradingBetaApiGetOrdersRequest) { - return TradingBetaApiFp(this.configuration).getOrders(requestParameters.pageSize, requestParameters.pageCursor, requestParameters.order, requestParameters.accountId, requestParameters.providerId, requestParameters.statuses, requestParameters.startTime, requestParameters.endTime, requestParameters.assetConversionType).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + public getOrders(requestParameters: TradingApiGetOrdersRequest) { + return TradingApiFp(this.configuration).getOrders(requestParameters.pageSize, requestParameters.pageCursor, requestParameters.order, requestParameters.accountId, requestParameters.providerId, requestParameters.statuses, requestParameters.startTime, requestParameters.endTime, requestParameters.assetConversionType).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** - * Retrieve a single provider by ID. **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a single provider by ID. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get trading provider by ID - * @param {TradingBetaApiGetTradingProviderByIdRequest} requestParameters Request parameters. + * @param {TradingApiGetTradingProviderByIdRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof TradingBetaApi + * @memberof TradingApi */ - public getTradingProviderById(requestParameters: TradingBetaApiGetTradingProviderByIdRequest) { - return TradingBetaApiFp(this.configuration).getTradingProviderById(requestParameters.providerId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + public getTradingProviderById(requestParameters: TradingApiGetTradingProviderByIdRequest) { + return TradingApiFp(this.configuration).getTradingProviderById(requestParameters.providerId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** - * Retrieve a list of all available external providers supporting trading activities through the platform. **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Retrieve a list of all available external providers supporting trading activities through the platform. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Get providers - * @param {TradingBetaApiGetTradingProvidersRequest} requestParameters Request parameters. + * @param {TradingApiGetTradingProvidersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof TradingBetaApi + * @memberof TradingApi */ - public getTradingProviders(requestParameters: TradingBetaApiGetTradingProvidersRequest = {}) { - return TradingBetaApiFp(this.configuration).getTradingProviders(requestParameters.pageSize, requestParameters.pageCursor).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + public getTradingProviders(requestParameters: TradingApiGetTradingProvidersRequest = {}) { + return TradingApiFp(this.configuration).getTradingProviders(requestParameters.pageSize, requestParameters.pageCursor).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** - * Submit the user\'s textual response to an order requirement on an order that is in `AWAITING_INFORMATION` status. The request body carries `data` — a free-form object conforming to the `requiredData` JSON Schema returned by the GET endpoint. Any required files are uploaded separately via `POST /trading/orders/{orderId}/requirement/file`. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Submit the user\'s textual response to an order requirement on an order that is in `AWAITING_INFORMATION` status. The request body carries `data` — a free-form object conforming to the `requiredData` JSON Schema returned by the GET endpoint. Any required files are uploaded separately via `POST /trading/orders/{orderId}/requirement/file`. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Submit a response to an order requirement - * @param {TradingBetaApiSubmitOrderRequirementsRequest} requestParameters Request parameters. + * @param {TradingApiSubmitOrderRequirementsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof TradingBetaApi + * @memberof TradingApi */ - public submitOrderRequirements(requestParameters: TradingBetaApiSubmitOrderRequirementsRequest) { - return TradingBetaApiFp(this.configuration).submitOrderRequirements(requestParameters.submitOrderRequirementRequest, requestParameters.orderId, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + public submitOrderRequirements(requestParameters: TradingApiSubmitOrderRequirementsRequest) { + return TradingApiFp(this.configuration).submitOrderRequirements(requestParameters.submitOrderRequirementRequest, requestParameters.orderId, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** - * Upload a single file (multipart/form-data) in response to an order requirement on an order that is in `AWAITING_INFORMATION` status. Call this endpoint once per required file. Send `fileKey` (matching a `fileKey` from `requiredFiles` on the GET response) and the binary `file`. Its type must be one of the supported file formats. Fireblocks encrypts each file and uploads it individually to the underlying provider. The textual response is submitted separately via `POST /trading/orders/{orderId}/requirement/data`. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + * Upload a single file (multipart/form-data) in response to an order requirement on an order that is in `AWAITING_INFORMATION` status. Call this endpoint once per required file. Send `fileKey` (matching a `fileKey` from `requiredFiles` on the GET response) and the binary `file`. Its type must be one of the supported file formats. Fireblocks encrypts each file and uploads it individually to the underlying provider. The textual response is submitted separately via `POST /trading/orders/{orderId}/requirement/data`. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). * @summary Upload a file for an order requirement - * @param {TradingBetaApiUploadOrderRequirementFileRequest} requestParameters Request parameters. + * @param {TradingApiUploadOrderRequirementFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof TradingBetaApi + * @memberof TradingApi */ - public uploadOrderRequirementFile(requestParameters: TradingBetaApiUploadOrderRequirementFileRequest) { - return TradingBetaApiFp(this.configuration).uploadOrderRequirementFile(requestParameters.fileKey, requestParameters.file, requestParameters.orderId, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + public uploadOrderRequirementFile(requestParameters: TradingApiUploadOrderRequirementFileRequest) { + return TradingApiFp(this.configuration).uploadOrderRequirementFile(requestParameters.fileKey, requestParameters.file, requestParameters.orderId, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } } diff --git a/api/transactions-api.ts b/api/transactions-api.ts index 52703484..a2a30633 100644 --- a/api/transactions-api.ts +++ b/api/transactions-api.ts @@ -83,6 +83,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'cancelTransaction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -124,6 +128,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createTransaction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -171,6 +179,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'dropTransaction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -214,6 +226,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'estimateNetworkFee'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -250,6 +266,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'estimateTransactionFee'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -292,6 +312,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'freezeTransaction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -333,6 +357,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTransaction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -366,6 +394,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTransactionByExternalId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -412,6 +444,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTransactions'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -511,6 +547,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setConfirmationThresholdByTransactionHash'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -553,6 +593,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setTransactionConfirmationThreshold'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -595,6 +639,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'unfreezeTransaction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -639,6 +687,10 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'validateAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/travel-rule-api.ts b/api/travel-rule-api.ts index 76534ffb..7cedfdd4 100644 --- a/api/travel-rule-api.ts +++ b/api/travel-rule-api.ts @@ -71,6 +71,10 @@ export const TravelRuleApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createTrustProofOfAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -111,6 +115,10 @@ export const TravelRuleApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTrustProofOfAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -145,6 +153,10 @@ export const TravelRuleApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getVASPByDID'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -185,6 +197,10 @@ export const TravelRuleApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getVASPs'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -242,6 +258,10 @@ export const TravelRuleApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getVaspForVault'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -278,6 +298,10 @@ export const TravelRuleApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setVaspForVault'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -318,6 +342,10 @@ export const TravelRuleApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateVasp'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -359,6 +387,10 @@ export const TravelRuleApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'validateFullTravelRuleTransaction'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/trlink-api.ts b/api/trlink-api.ts index 1620128f..bc5bc1c5 100644 --- a/api/trlink-api.ts +++ b/api/trlink-api.ts @@ -116,6 +116,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'assessTRLinkTravelRuleRequirement'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -162,6 +166,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'cancelTRLinkTrm'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -205,6 +213,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'connectTRLinkIntegration'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -245,6 +257,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createTRLinkCustomer'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -285,6 +301,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createTRLinkIntegration'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -331,6 +351,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createTRLinkManualDecision'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -374,6 +398,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createTRLinkTrm'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -414,6 +442,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteTRLinkCustomer'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -447,6 +479,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'disconnectTRLinkIntegration'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -480,6 +516,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTRLinkCustomerById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -516,6 +556,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTRLinkCustomerIntegrationById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -549,6 +593,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTRLinkCustomerIntegrations'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -579,6 +627,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTRLinkCustomers'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -612,6 +664,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTRLinkIntegrationPublicKey'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -642,6 +698,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTRLinkPartners'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -672,6 +732,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTRLinkPolicy'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -708,6 +772,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTRLinkSupportedAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -744,6 +812,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTRLinkTrmById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -780,6 +852,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTRLinkTrmRequiredActions'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -816,6 +892,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getTRLinkVaspById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -851,6 +931,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listTRLinkSupportedAssets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -894,6 +978,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'listTRLinkVasps'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -941,6 +1029,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'redirectTRLinkTrm'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -987,6 +1079,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'resolveActionTRLinkTrm'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1030,6 +1126,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setTRLinkDestinationTravelRuleMessageId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1073,6 +1173,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setTRLinkTransactionTravelRuleMessageId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1114,6 +1218,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'testTRLinkIntegrationConnection'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1154,6 +1262,10 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateTRLinkCustomer'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/user-groups-beta-api.ts b/api/user-groups-beta-api.ts index b1eaed61..71a2c460 100644 --- a/api/user-groups-beta-api.ts +++ b/api/user-groups-beta-api.ts @@ -65,6 +65,10 @@ export const UserGroupsBetaApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createUserGroup'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -105,6 +109,10 @@ export const UserGroupsBetaApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteUserGroup'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -138,6 +146,10 @@ export const UserGroupsBetaApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getUserGroup'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -168,6 +180,10 @@ export const UserGroupsBetaApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getUserGroups'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -204,6 +220,10 @@ export const UserGroupsBetaApiAxiosParamCreator = function (configuration?: Conf } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateUserGroup'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/users-api.ts b/api/users-api.ts index 7b03a100..6ea4cb90 100644 --- a/api/users-api.ts +++ b/api/users-api.ts @@ -52,6 +52,10 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getUsers'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/utxomanagement-beta-api.ts b/api/utxomanagement-beta-api.ts index 2eef99b0..1c84124a 100644 --- a/api/utxomanagement-beta-api.ts +++ b/api/utxomanagement-beta-api.ts @@ -62,6 +62,10 @@ export const UTXOManagementBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getUtxoSelectionConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -111,6 +115,10 @@ export const UTXOManagementBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getUtxos'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -199,6 +207,10 @@ export const UTXOManagementBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getVaultAssetUtxoSelectionConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -238,6 +250,10 @@ export const UTXOManagementBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateUtxoLabels'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -278,6 +294,10 @@ export const UTXOManagementBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'upsertUtxoSelectionConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -324,6 +344,10 @@ export const UTXOManagementBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'upsertVaultAssetUtxoSelectionConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/vaults-api.ts b/api/vaults-api.ts index 390e3171..c61947f0 100644 --- a/api/vaults-api.ts +++ b/api/vaults-api.ts @@ -132,6 +132,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'activateAssetForVaultAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -174,6 +178,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'activateUsdcGatewayWalletBeta'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -211,6 +219,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'attachOrDetachTagsFromVaultAccounts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -258,6 +270,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createLegacyAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -295,6 +311,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createMultipleAccounts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -335,6 +355,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createMultipleDepositAddresses'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -375,6 +399,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createVaultAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -421,6 +449,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createVaultAccountAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -470,6 +502,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createVaultAccountAssetAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -511,6 +547,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deactivateUsdcGatewayWalletBeta'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -551,6 +591,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'disableUsdcGatewayDepositAutomationScheduleBeta'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -587,6 +631,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getAssetWallets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -644,6 +692,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getCreateMultipleDepositAddressesJobStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -677,6 +729,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getCreateMultipleVaultAccountsJobStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -713,6 +769,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getMaxBipIndexUsed'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -756,6 +816,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getMaxSpendableAmount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -825,6 +889,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getPagedVaultAccounts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -904,6 +972,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getPublicKeyInfo'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -959,6 +1031,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getPublicKeyInfoForAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -999,6 +1075,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getUnspentInputs'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1032,6 +1112,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getUsdcGatewayDepositAutomationBeta'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1065,6 +1149,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getUsdcGatewayWalletInfoBeta'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1098,6 +1186,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getVaultAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1134,6 +1226,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getVaultAccountAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1173,6 +1269,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getVaultAccountAssetAddressesPaginated'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1217,6 +1317,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getVaultAssets'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1258,6 +1362,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getVaultBalanceByAsset'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1292,6 +1400,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'hideVaultAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1328,6 +1440,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'lookupVaultByAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1337,47 +1453,6 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - /** - * Registers a Tempo omnibus wallet for the requested vault account. Triggering this flow requires the vault account to hold PATH_USD with a balance sufficient to cover the gas fee. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. - * @summary Register a Tempo omnibus wallet - * @param {string} vaultAccountId The ID of the vault account for which to register the Tempo wallet. - * @param {string} assetId The Tempo network asset to register for the vault account. - * @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} - */ - registerTempoOmnibusWallet: async (vaultAccountId: string, assetId: string, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { - assertParamExistsAndNotEmpty('registerTempoOmnibusWallet', 'vaultAccountId', vaultAccountId) - assertParamExistsAndNotEmpty('registerTempoOmnibusWallet', 'assetId', assetId) - const localVarPath = `/vault/accounts/{vaultAccountId}/{assetId}/omnibus/tempo/register` - .replace(`{${"vaultAccountId"}}`, encodeURIComponent(String(vaultAccountId))) - .replace(`{${"assetId"}}`, encodeURIComponent(String(assetId))); - // 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}; @@ -1415,6 +1490,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setCustomerRefIdForAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1458,6 +1537,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setUsdcGatewayDepositAutomationBeta'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1501,6 +1584,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setVaultAccountAutoFuel'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1544,6 +1631,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'setVaultAccountCustomerRefId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1585,6 +1676,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'unhideVaultAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1628,6 +1723,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateUsdcGatewayDepositAutomationBeta'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1671,6 +1770,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateVaultAccount'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1719,6 +1822,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateVaultAccountAssetAddress'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1763,6 +1870,10 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateVaultAccountAssetBalance'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -2226,21 +2337,6 @@ export const VaultsApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['VaultsApi.lookupVaultByAddress']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, - /** - * Registers a Tempo omnibus wallet for the requested vault account. Triggering this flow requires the vault account to hold PATH_USD with a balance sufficient to cover the gas fee. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. - * @summary Register a Tempo omnibus wallet - * @param {string} vaultAccountId The ID of the vault account for which to register the Tempo wallet. - * @param {string} assetId The Tempo network asset to register for the vault account. - * @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 registerTempoOmnibusWallet(vaultAccountId: string, assetId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.registerTempoOmnibusWallet(vaultAccountId, assetId, idempotencyKey, options); - const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['VaultsApi.registerTempoOmnibusWallet']?.[index]?.url; - return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); - }, /** * Sets an AML/KYT customer reference ID for a specific address. Endpoint Permission: Admin, Non-Signing Admin. * @summary Assign AML customer reference ID @@ -2680,16 +2776,6 @@ export const VaultsApiFactory = function (configuration?: Configuration, basePat lookupVaultByAddress(requestParameters: VaultsApiLookupVaultByAddressRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.lookupVaultByAddress(requestParameters.address, options).then((request) => request(axios, basePath)); }, - /** - * Registers a Tempo omnibus wallet for the requested vault account. Triggering this flow requires the vault account to hold PATH_USD with a balance sufficient to cover the gas fee. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. - * @summary Register a Tempo omnibus wallet - * @param {VaultsApiRegisterTempoOmnibusWalletRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - registerTempoOmnibusWallet(requestParameters: VaultsApiRegisterTempoOmnibusWalletRequest, options?: RawAxiosRequestConfig): AxiosPromise { - return localVarFp.registerTempoOmnibusWallet(requestParameters.vaultAccountId, requestParameters.assetId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); - }, /** * Sets an AML/KYT customer reference ID for a specific address. Endpoint Permission: Admin, Non-Signing Admin. * @summary Assign AML customer reference ID @@ -3595,34 +3681,6 @@ export interface VaultsApiLookupVaultByAddressRequest { readonly address: string } -/** - * Request parameters for registerTempoOmnibusWallet operation in VaultsApi. - * @export - * @interface VaultsApiRegisterTempoOmnibusWalletRequest - */ -export interface VaultsApiRegisterTempoOmnibusWalletRequest { - /** - * The ID of the vault account for which to register the Tempo wallet. - * @type {string} - * @memberof VaultsApiRegisterTempoOmnibusWallet - */ - readonly vaultAccountId: string - - /** - * The Tempo network asset to register for the vault account. - * @type {string} - * @memberof VaultsApiRegisterTempoOmnibusWallet - */ - readonly assetId: 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 VaultsApiRegisterTempoOmnibusWallet - */ - readonly idempotencyKey?: string -} - /** * Request parameters for setCustomerRefIdForAddress operation in VaultsApi. * @export @@ -4258,18 +4316,6 @@ export class VaultsApi extends BaseAPI { return VaultsApiFp(this.configuration).lookupVaultByAddress(requestParameters.address).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } - /** - * Registers a Tempo omnibus wallet for the requested vault account. Triggering this flow requires the vault account to hold PATH_USD with a balance sufficient to cover the gas fee. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. - * @summary Register a Tempo omnibus wallet - * @param {VaultsApiRegisterTempoOmnibusWalletRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof VaultsApi - */ - public registerTempoOmnibusWallet(requestParameters: VaultsApiRegisterTempoOmnibusWalletRequest) { - return VaultsApiFp(this.configuration).registerTempoOmnibusWallet(requestParameters.vaultAccountId, requestParameters.assetId, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); - } - /** * Sets an AML/KYT customer reference ID for a specific address. Endpoint Permission: Admin, Non-Signing Admin. * @summary Assign AML customer reference ID diff --git a/api/web3-connections-api.ts b/api/web3-connections-api.ts index 6200a2af..94fdd1ca 100644 --- a/api/web3-connections-api.ts +++ b/api/web3-connections-api.ts @@ -62,6 +62,10 @@ export const Web3ConnectionsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'create'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -109,6 +113,10 @@ export const Web3ConnectionsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'get'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -169,6 +177,10 @@ export const Web3ConnectionsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'remove'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -210,6 +222,10 @@ export const Web3ConnectionsApiAxiosParamCreator = function (configuration?: Con } const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'submit'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/webhooks-api.ts b/api/webhooks-api.ts index 8df312de..6424d5f5 100644 --- a/api/webhooks-api.ts +++ b/api/webhooks-api.ts @@ -62,6 +62,10 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'resendTransactionWebhooks'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -100,6 +104,10 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'resendWebhooks'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/webhooks-v2-api.ts b/api/webhooks-v2-api.ts index 304b0961..139b2bd2 100644 --- a/api/webhooks-v2-api.ts +++ b/api/webhooks-v2-api.ts @@ -107,6 +107,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createWebhook'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -147,6 +151,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createWebhookMtlsConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -187,6 +195,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'createWebhookOauth'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -227,6 +239,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteWebhook'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -261,6 +277,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteWebhookMtlsConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -299,6 +319,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'deleteWebhookOauth'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -339,6 +363,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getMetrics'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -370,6 +398,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getMtlsCsr'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -411,6 +443,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getNotification'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -453,6 +489,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getNotificationAttempts'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -503,6 +543,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getNotifications'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -575,6 +619,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getResendByQueryJobStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -611,6 +659,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getResendJobStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -644,6 +696,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getWebhook'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -677,6 +733,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getWebhookMtlsConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -708,6 +768,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getWebhookMtlsConfigs'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -745,6 +809,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getWebhookOauth'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -775,6 +843,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getWebhookOauths'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -808,6 +880,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getWebhooks'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -856,6 +932,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'resendFailedNotifications'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -900,6 +980,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'resendNotificationById'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -940,6 +1024,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'resendNotificationsByQuery'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -983,6 +1071,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'resendNotificationsByResourceId'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1025,6 +1117,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateWebhook'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1063,6 +1159,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateWebhookMtlsConfig'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -1101,6 +1201,10 @@ export const WebhooksV2ApiAxiosParamCreator = function (configuration?: Configur } const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'updateWebhookOauth'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/whitelist-ip-addresses-api.ts b/api/whitelist-ip-addresses-api.ts index 2c6f5e6c..b1e66d04 100644 --- a/api/whitelist-ip-addresses-api.ts +++ b/api/whitelist-ip-addresses-api.ts @@ -57,6 +57,10 @@ export const WhitelistIpAddressesApiAxiosParamCreator = function (configuration? } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getWhitelistIpAddresses'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/workspace-api.ts b/api/workspace-api.ts index c370d258..c5bd9f53 100644 --- a/api/workspace-api.ts +++ b/api/workspace-api.ts @@ -52,6 +52,10 @@ export const WorkspaceApiAxiosParamCreator = function (configuration?: Configura } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getWorkspace'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/api/workspace-status-beta-api.ts b/api/workspace-status-beta-api.ts index 999a4b7a..19ec393a 100644 --- a/api/workspace-status-beta-api.ts +++ b/api/workspace-status-beta-api.ts @@ -50,6 +50,10 @@ export const WorkspaceStatusBetaApiAxiosParamCreator = function (configuration?: } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + // Stamped onto the request config (not the headers, so it never goes on + // the wire) so the response interceptor can name the operation in the + // lifecycle warning. Key must match OPERATION_ID_CONFIG_KEY in utils/lifecycleWarning. + (localVarRequestOptions as any).fireblocksOperationId = 'getWorkspaceStatus'; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; diff --git a/client/client.ts b/client/client.ts index c06009bf..bed3c8af 100644 --- a/client/client.ts +++ b/client/client.ts @@ -56,7 +56,7 @@ import { ApiUserApi, TagsApi, TempoBetaApi, TokenizationApi, - TradingBetaApi, + TradingApi, TransactionsApi, TravelRuleApi, UTXOManagementBetaApi, @@ -120,7 +120,7 @@ export class Fireblocks { private _tags?: TagsApi; private _tempoBeta?: TempoBetaApi; private _tokenization?: TokenizationApi; - private _tradingBeta?: TradingBetaApi; + private _trading?: TradingApi; private _transactions?: TransactionsApi; private _travelRule?: TravelRuleApi; private _utxoManagementBeta?: UTXOManagementBetaApi; @@ -286,8 +286,8 @@ export class Fireblocks { get tokenization(): TokenizationApi { return this._tokenization ?? new TokenizationApi(this.config, undefined, this.axiosManager.axios); } - get tradingBeta(): TradingBetaApi { - return this._tradingBeta ?? new TradingBetaApi(this.config, undefined, this.axiosManager.axios); + get trading(): TradingApi { + return this._trading ?? new TradingApi(this.config, undefined, this.axiosManager.axios); } get transactions(): TransactionsApi { return this._transactions ?? new TransactionsApi(this.config, undefined, this.axiosManager.axios); diff --git a/docs/apis/ConsoleUserApi.md b/docs/apis/ConsoleUserApi.md index 60fe5a17..e087ce47 100644 --- a/docs/apis/ConsoleUserApi.md +++ b/docs/apis/ConsoleUserApi.md @@ -79,7 +79,7 @@ No authorization required # **deleteConsoleUser** > ConsoleUser deleteConsoleUser() -Requests deletion of a console user. The request is asynchronous: it goes through the workspace\'s configured \"Delete users\" approval policy (Settings > Quorums), exactly as deleting a user from the console does, and the user is removed only once that approval completes. - Track progress by polling GET /management/users; deletion is complete when the user is disabled. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin/Security Admin permissions. Endpoint Permission: Admin, Non-Signing Admin, Security Admin. **Note:** This endpoint is currently in beta and might be subject to changes. +Requests deletion of a console user. The request is asynchronous: it goes through the workspace\'s configured \"Delete users\" approval policy (Settings > Quorums), exactly as deleting a user from the console does, and the user is removed only once that approval completes. - The workspace must have a \"Delete users\" approval policy (admin quorum or approval group). If \"Delete users\" is Owner-only, which is the default, the request is refused with OWNER_ONLY (2760) and the Owner deletes users in the Console. With an admin quorum, the requesting API user\'s own approval counts toward the quorum. - Track progress by polling GET /management/users; deletion is complete when the user is disabled. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin/Security Admin permissions. Endpoint Permission: Admin, Non-Signing Admin, Security Admin. **Note:** This endpoint is currently in beta and might be subject to changes. ### Example @@ -137,7 +137,7 @@ No authorization required **202** | Deletion request accepted. Returns the console user that will be removed once the workspace\'s configured approval completes. | * X-Request-ID -
| **400** | Bad request: invalid parameters (for example a non-boolean `force`), or TARGET_IS_API_USER - the ID belongs to an API user in this workspace; this endpoint deletes console users only. | * X-Request-ID -
| **401** | Unauthorized. Missing / invalid JWT token in Authorization header. | * X-Request-ID -
| -**403** | Lacking permissions, or the target cannot be deleted: the user is the workspace Owner, or the caller is the target. | * X-Request-ID -
| +**403** | Lacking permissions, or the target cannot be deleted: the user is the workspace Owner, or the caller is the target. Also returned as OWNER_ONLY (2760) when the workspace\'s \"Delete users\" approval is Owner-only; set an approval policy in the Console under Settings > Quorums. | * X-Request-ID -
| **404** | Console user not found. Also returned for users in other workspaces (so the endpoint does not reveal whether an ID exists there) and for users that were already deleted. | * X-Request-ID -
| **409** | PENDING_REQUEST_EXISTS - a deletion request for this user is already awaiting approval; USER_REFERENCED_IN_TAP - the user is referenced by the workspace transaction authorization policy (can be overridden with force=true); or USER_PENDING_ONBOARDING - the user has not completed onboarding, so there is nothing to delete yet. Revoke the invitation from the console instead. | * X-Request-ID -
| **422** | QUORUM_INTEGRITY - the user is required to complete the workspace\'s admin approval quorum. Can be overridden with force=true, matching the console\'s acknowledgement checkbox. | * X-Request-ID -
| diff --git a/docs/apis/KeyLinkBetaApi.md b/docs/apis/KeyLinkBetaApi.md index 78438091..45776132 100644 --- a/docs/apis/KeyLinkBetaApi.md +++ b/docs/apis/KeyLinkBetaApi.md @@ -4,9 +4,12 @@ All URIs are relative to https://developers.fireblocks.com/reference/ Method | HTTP request | Description ------------- | ------------- | ------------- +[**createBulkSigningKeys**](#createBulkSigningKeys) | **POST** /key_link/signing_keys/bulk | Register signing keys in bulk [**createSigningKey**](#createSigningKey) | **POST** /key_link/signing_keys | Add a new signing key [**createValidationKey**](#createValidationKey) | **POST** /key_link/validation_keys | Add a new validation key [**disableValidationKey**](#disableValidationKey) | **PATCH** /key_link/validation_keys/{keyId} | Disables a validation key +[**getBulkSigningKeysJob**](#getBulkSigningKeysJob) | **GET** /key_link/signing_keys/bulk/jobs/{jobId} | Get a bulk registration job +[**getBulkSigningKeysJobs**](#getBulkSigningKeysJobs) | **GET** /key_link/signing_keys/bulk/jobs | Get bulk registration jobs [**getSigningKey**](#getSigningKey) | **GET** /key_link/signing_keys/{keyId} | Get a signing key by `keyId` [**getSigningKeysList**](#getSigningKeysList) | **GET** /key_link/signing_keys | Get list of signing keys [**getValidationKey**](#getValidationKey) | **GET** /key_link/validation_keys/{keyId} | Get a validation key by `keyId` @@ -15,6 +18,70 @@ Method | HTTP request | Description [**updateSigningKey**](#updateSigningKey) | **PATCH** /key_link/signing_keys/{keyId} | Modify the signing keyId +# **createBulkSigningKeys** +> CreateBulkSigningKeysResponse createBulkSigningKeys(createBulkSigningKeys) + +Accepts a set of signing keys certified by a single validation key and queues them for registration in the background. Returns a job id to poll. A workspace can have one bulk registration at a time; submitting another while one is QUEUED or IN_PROGRESS is rejected with 409. Bulk registrations from different workspaces share a limited number of slots, so a job may wait QUEUED behind another workspace\'s before it starts. Keys already registered in the workspace are recognized and skipped, so resubmitting the same request after a failure is safe and only processes what is missing. Every key must carry its own proof of ownership; a bulk registration has no interactive step in which one can arrive later. + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, KeyLinkBetaApiCreateBulkSigningKeysRequest, CreateBulkSigningKeysResponse } 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: KeyLinkBetaApiCreateBulkSigningKeysRequest = { + // CreateBulkSigningKeys + createBulkSigningKeys: 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.keyLinkBeta.createBulkSigningKeys(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 +------------- | ------------- | ------------- | ------------- + **createBulkSigningKeys** | **[CreateBulkSigningKeys](../models/CreateBulkSigningKeys.md)**| | + **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 + +**[CreateBulkSigningKeysResponse](../models/CreateBulkSigningKeysResponse.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Registration is queued | * X-Request-ID -
| +**409** | Error Response | * 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) + # **createSigningKey** > SigningKeyDto createSigningKey(createSigningKeyDto) @@ -204,6 +271,129 @@ 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) +# **getBulkSigningKeysJob** +> BulkSigningKeyJob getBulkSigningKeysJob() + +Returns the progress and outcome of a bulk registration job. `created + alreadyRegistered` reaching `total` means every submitted key is present. + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, KeyLinkBetaApiGetBulkSigningKeysJobRequest, BulkSigningKeyJob } 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: KeyLinkBetaApiGetBulkSigningKeysJobRequest = { + // string | The id of the bulk registration job + jobId: 46a92767-5f93-4a46-9eed-f012196bb4fc, +}; + +fireblocks.keyLinkBeta.getBulkSigningKeysJob(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 +------------- | ------------- | ------------- | ------------- + **jobId** | [**string**] | The id of the bulk registration job | defaults to undefined + + +### Return type + +**[BulkSigningKeyJob](../models/BulkSigningKeyJob.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The bulk registration job | * 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) + +# **getBulkSigningKeysJobs** +> GetBulkSigningKeysJobsResponse getBulkSigningKeysJobs() + +Returns the workspace\'s bulk registration jobs, newest first, a page at a time. + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, KeyLinkBetaApiGetBulkSigningKeysJobsRequest, GetBulkSigningKeysJobsResponse } 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: KeyLinkBetaApiGetBulkSigningKeysJobsRequest = { + // string | Cursor to the next page (optional) + pageCursor: pageCursor_example, + // number | Amount of results to return in the next page (optional) + pageSize: 56, +}; + +fireblocks.keyLinkBeta.getBulkSigningKeysJobs(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 +------------- | ------------- | ------------- | ------------- + **pageCursor** | [**string**] | Cursor to the next page | (optional) defaults to undefined + **pageSize** | [**number**] | Amount of results to return in the next page | (optional) defaults to 10 + + +### Return type + +**[GetBulkSigningKeysJobsResponse](../models/GetBulkSigningKeysJobsResponse.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Bulk registration jobs for the workspace | * 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) + # **getSigningKey** > SigningKeyDto getSigningKey() diff --git a/docs/apis/TradingBetaApi.md b/docs/apis/TradingApi.md similarity index 80% rename from docs/apis/TradingBetaApi.md rename to docs/apis/TradingApi.md index 5a51b2cd..e4a52023 100644 --- a/docs/apis/TradingBetaApi.md +++ b/docs/apis/TradingApi.md @@ -1,4 +1,4 @@ -# TradingBetaApi +# TradingApi All URIs are relative to https://developers.fireblocks.com/reference/ @@ -20,7 +20,7 @@ Method | HTTP request | Description # **createOrder** > OrderDetails createOrder(createOrderRequest) -Create an order to buy or sell an asset. If no source is given, an external source will be use. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). +Create an order to buy or sell an asset. If no source is given, an external source will be use. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). ### Example @@ -28,7 +28,7 @@ Create an order to buy or sell an asset. If no source is given, an external sour ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, TradingBetaApiCreateOrderRequest, OrderDetails } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingApiCreateOrderRequest, OrderDetails } 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" @@ -37,14 +37,14 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); -let body: TradingBetaApiCreateOrderRequest = { +let body: TradingApiCreateOrderRequest = { // CreateOrderRequest createOrderRequest: 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.tradingBeta.createOrder(body).then((res: FireblocksResponse) => { +fireblocks.trading.createOrder(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -88,7 +88,7 @@ No authorization required # **createQuote** > QuotesResponse createQuote(createQuote) -Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). +Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). ### Example @@ -96,7 +96,7 @@ Generate a time-limited quote for asset conversion, providing exchange rate and ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, TradingBetaApiCreateQuoteRequest, QuotesResponse } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingApiCreateQuoteRequest, QuotesResponse } 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" @@ -105,14 +105,14 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); -let body: TradingBetaApiCreateQuoteRequest = { +let body: TradingApiCreateQuoteRequest = { // CreateQuote createQuote: 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.tradingBeta.createQuote(body).then((res: FireblocksResponse) => { +fireblocks.trading.createQuote(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -156,7 +156,7 @@ No authorization required # **fetchAllOffers** > OffersResponse fetchAllOffers(createOffersRequest) -Retrieve all available offers across the workspace for a given asset pair. Always operates in open scope — no provider or account selection required. Returns a mix of indicative rates and committed quotes as applicable per provider. If no slippageBps is provided, it defaults to 50 bps (0.5%). Slippage and settlement configuration do not affect the returned rate. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). +Retrieve all available offers across the workspace for a given asset pair. Always operates in open scope — no provider or account selection required. Returns a mix of indicative rates and committed quotes as applicable per provider. If no slippageBps is provided, it defaults to 50 bps (0.5%). Slippage and settlement configuration do not affect the returned rate. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). ### Example @@ -164,7 +164,7 @@ Retrieve all available offers across the workspace for a given asset pair. Alway ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, TradingBetaApiFetchAllOffersRequest, OffersResponse } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingApiFetchAllOffersRequest, OffersResponse } 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" @@ -173,14 +173,14 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); -let body: TradingBetaApiFetchAllOffersRequest = { +let body: TradingApiFetchAllOffersRequest = { // CreateOffersRequest createOffersRequest: 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.tradingBeta.fetchAllOffers(body).then((res: FireblocksResponse) => { +fireblocks.trading.fetchAllOffers(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -224,7 +224,7 @@ No authorization required # **fetchRates** > RatesResponse fetchRates(ratesRequest) -Retrieve indicative exchange rate from specified providers for a given asset pair. Rates are non-executable price signals intended for discovery and display purposes. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). +Retrieve indicative exchange rate from specified providers for a given asset pair. Rates are non-executable price signals intended for discovery and display purposes. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). ### Example @@ -232,7 +232,7 @@ Retrieve indicative exchange rate from specified providers for a given asset pai ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, TradingBetaApiFetchRatesRequest, RatesResponse } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingApiFetchRatesRequest, RatesResponse } 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" @@ -241,14 +241,14 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); -let body: TradingBetaApiFetchRatesRequest = { +let body: TradingApiFetchRatesRequest = { // RatesRequest ratesRequest: 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.tradingBeta.fetchRates(body).then((res: FireblocksResponse) => { +fireblocks.trading.fetchRates(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -292,7 +292,7 @@ No authorization required # **getOrder** > OrderDetails getOrder() -Retrieve detailed information about a specific order by its ID. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). +Retrieve detailed information about a specific order by its ID. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). ### Example @@ -300,7 +300,7 @@ Retrieve detailed information about a specific order by its ID. Note:These endp ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, TradingBetaApiGetOrderRequest, OrderDetails } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingApiGetOrderRequest, OrderDetails } 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" @@ -309,12 +309,12 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); -let body: TradingBetaApiGetOrderRequest = { +let body: TradingApiGetOrderRequest = { // string | The ID of the order to fetch. orderId: orderId_example, }; -fireblocks.tradingBeta.getOrder(body).then((res: FireblocksResponse) => { +fireblocks.trading.getOrder(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -357,7 +357,7 @@ No authorization required # **getOrderRequirements** > OrderRequirementDetails getOrderRequirements() -Fetch order requirement details for an order that is in `AWAITING_INFORMATION` status. The response includes `requirementId` and `dueBy` metadata, a `requiredData` JSON Schema (Draft-7) describing the shape of the `data` object expected on `POST /trading/orders/{orderId}/requirement/data`, and `requiredFiles` descriptors for any files the provider requires (uploaded via `POST /trading/orders/{orderId}/requirement/file`). Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). +Fetch order requirement details for an order that is in `AWAITING_INFORMATION` status. The response includes `requirementId` and `dueBy` metadata, a `requiredData` JSON Schema (Draft-7) describing the shape of the `data` object expected on `POST /trading/orders/{orderId}/requirement/data`, and `requiredFiles` descriptors for any files the provider requires (uploaded via `POST /trading/orders/{orderId}/requirement/file`). Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). ### Example @@ -365,7 +365,7 @@ Fetch order requirement details for an order that is in `AWAITING_INFORMATION` s ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, TradingBetaApiGetOrderRequirementsRequest, OrderRequirementDetails } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingApiGetOrderRequirementsRequest, OrderRequirementDetails } 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" @@ -374,12 +374,12 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); -let body: TradingBetaApiGetOrderRequirementsRequest = { +let body: TradingApiGetOrderRequirementsRequest = { // string | The ID of the order for which the order requirement is issued. orderId: orderId_example, }; -fireblocks.tradingBeta.getOrderRequirements(body).then((res: FireblocksResponse) => { +fireblocks.trading.getOrderRequirements(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -423,7 +423,7 @@ No authorization required # **getOrders** > GetOrdersResponse getOrders() -Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). +Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). ### Example @@ -431,7 +431,7 @@ Retrieve a paginated list of orders with optional filtering by account, provider ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, TradingBetaApiGetOrdersRequest, GetOrdersResponse } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingApiGetOrdersRequest, GetOrdersResponse } 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" @@ -440,7 +440,7 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); -let body: TradingBetaApiGetOrdersRequest = { +let body: TradingApiGetOrdersRequest = { // number | pageSize for pagination. pageSize: 56, // string (optional) @@ -461,7 +461,7 @@ let body: TradingBetaApiGetOrdersRequest = { assetConversionType: assetConversionType_example, }; -fireblocks.tradingBeta.getOrders(body).then((res: FireblocksResponse) => { +fireblocks.trading.getOrders(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -511,7 +511,7 @@ No authorization required # **getTradingProviderById** > TradingProvider getTradingProviderById() -Retrieve a single provider by ID. **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). +Retrieve a single provider by ID. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). ### Example @@ -519,7 +519,7 @@ Retrieve a single provider by ID. **Note:** These endpoints are currently in be ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, TradingBetaApiGetTradingProviderByIdRequest, TradingProvider } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingApiGetTradingProviderByIdRequest, TradingProvider } 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" @@ -528,12 +528,12 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); -let body: TradingBetaApiGetTradingProviderByIdRequest = { +let body: TradingApiGetTradingProviderByIdRequest = { // string | The unique identifier of the provider. providerId: providerId_example, }; -fireblocks.tradingBeta.getTradingProviderById(body).then((res: FireblocksResponse) => { +fireblocks.trading.getTradingProviderById(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -576,7 +576,7 @@ No authorization required # **getTradingProviders** > ProvidersListResponse getTradingProviders() -Retrieve a list of all available external providers supporting trading activities through the platform. **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). +Retrieve a list of all available external providers supporting trading activities through the platform. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). ### Example @@ -584,7 +584,7 @@ Retrieve a list of all available external providers supporting trading activitie ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, TradingBetaApiGetTradingProvidersRequest, ProvidersListResponse } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingApiGetTradingProvidersRequest, ProvidersListResponse } 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" @@ -593,14 +593,14 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); -let body: TradingBetaApiGetTradingProvidersRequest = { +let body: TradingApiGetTradingProvidersRequest = { // number | Page size for pagination. (optional) pageSize: 56, // string | Page cursor for pagination. (optional) pageCursor: pageCursor_example, }; -fireblocks.tradingBeta.getTradingProviders(body).then((res: FireblocksResponse) => { +fireblocks.trading.getTradingProviders(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -643,7 +643,7 @@ No authorization required # **submitOrderRequirements** > submitOrderRequirements(submitOrderRequirementRequest, ) -Submit the user\'s textual response to an order requirement on an order that is in `AWAITING_INFORMATION` status. The request body carries `data` — a free-form object conforming to the `requiredData` JSON Schema returned by the GET endpoint. Any required files are uploaded separately via `POST /trading/orders/{orderId}/requirement/file`. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). +Submit the user\'s textual response to an order requirement on an order that is in `AWAITING_INFORMATION` status. The request body carries `data` — a free-form object conforming to the `requiredData` JSON Schema returned by the GET endpoint. Any required files are uploaded separately via `POST /trading/orders/{orderId}/requirement/file`. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). ### Example @@ -651,7 +651,7 @@ Submit the user\'s textual response to an order requirement on an order that is ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, TradingBetaApiSubmitOrderRequirementsRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingApiSubmitOrderRequirementsRequest } 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" @@ -660,7 +660,7 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); -let body: TradingBetaApiSubmitOrderRequirementsRequest = { +let body: TradingApiSubmitOrderRequirementsRequest = { // SubmitOrderRequirementRequest submitOrderRequirementRequest: param_value, // string | The ID of the order to submit the order requirement response for. @@ -669,7 +669,7 @@ let body: TradingBetaApiSubmitOrderRequirementsRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.tradingBeta.submitOrderRequirements(body).then((res: FireblocksResponse) => { +fireblocks.trading.submitOrderRequirements(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -716,7 +716,7 @@ No authorization required # **uploadOrderRequirementFile** > uploadOrderRequirementFile() -Upload a single file (multipart/form-data) in response to an order requirement on an order that is in `AWAITING_INFORMATION` status. Call this endpoint once per required file. Send `fileKey` (matching a `fileKey` from `requiredFiles` on the GET response) and the binary `file`. Its type must be one of the supported file formats. Fireblocks encrypts each file and uploads it individually to the underlying provider. The textual response is submitted separately via `POST /trading/orders/{orderId}/requirement/data`. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). +Upload a single file (multipart/form-data) in response to an order requirement on an order that is in `AWAITING_INFORMATION` status. Call this endpoint once per required file. Send `fileKey` (matching a `fileKey` from `requiredFiles` on the GET response) and the binary `file`. Its type must be one of the supported file formats. Fireblocks encrypts each file and uploads it individually to the underlying provider. The textual response is submitted separately via `POST /trading/orders/{orderId}/requirement/data`. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). ### Example @@ -724,7 +724,7 @@ Upload a single file (multipart/form-data) in response to an order requirement o ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, TradingBetaApiUploadOrderRequirementFileRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingApiUploadOrderRequirementFileRequest } 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" @@ -733,7 +733,7 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); -let body: TradingBetaApiUploadOrderRequirementFileRequest = { +let body: TradingApiUploadOrderRequirementFileRequest = { // string | Identifier of the required file this upload satisfies. Must match a `fileKey` from `requiredFiles` on the GET response. fileKey: fileKey_example, // File | The binary file content. The file\\\'s type must be one of the supported OrderRequirementAllowedFileType values; the file name and type are derived from the uploaded part. @@ -744,7 +744,7 @@ let body: TradingBetaApiUploadOrderRequirementFileRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.tradingBeta.uploadOrderRequirementFile(body).then((res: FireblocksResponse) => { +fireblocks.trading.uploadOrderRequirementFile(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` diff --git a/docs/apis/VaultsApi.md b/docs/apis/VaultsApi.md index d672d58b..eb3056b6 100644 --- a/docs/apis/VaultsApi.md +++ b/docs/apis/VaultsApi.md @@ -33,7 +33,6 @@ Method | HTTP request | Description [**getVaultBalanceByAsset**](#getVaultBalanceByAsset) | **GET** /vault/assets/{assetId} | Get vault balance by an asset [**hideVaultAccount**](#hideVaultAccount) | **POST** /vault/accounts/{vaultAccountId}/hide | Hide a vault account in the console [**lookupVaultByAddress**](#lookupVaultByAddress) | **GET** /vault/lookup_by_address | Look up a vault account by blockchain address -[**registerTempoOmnibusWallet**](#registerTempoOmnibusWallet) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/omnibus/tempo/register | Register a Tempo omnibus wallet [**setCustomerRefIdForAddress**](#setCustomerRefIdForAddress) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/set_customer_ref_id | Assign AML customer reference ID [**setUsdcGatewayDepositAutomationBeta**](#setUsdcGatewayDepositAutomationBeta) | **POST** /vault/accounts/{vaultAccountId}/virtual_asset_wallet/usdc_gateway/deposit_automation | Set up a USDC Gateway deposit automation for a vault account [**setVaultAccountAutoFuel**](#setVaultAccountAutoFuel) | **POST** /vault/accounts/{vaultAccountId}/set_auto_fuel | Set auto fueling to on or off @@ -1961,72 +1960,6 @@ 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) -# **registerTempoOmnibusWallet** -> CreateVaultAssetResponse registerTempoOmnibusWallet() - -Registers a Tempo omnibus wallet for the requested vault account. Triggering this flow requires the vault account to hold PATH_USD with a balance sufficient to cover the gas fee. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. - -### Example - - -```typescript -import { readFileSync } from 'fs'; -import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, VaultsApiRegisterTempoOmnibusWalletRequest, CreateVaultAssetResponse } 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: VaultsApiRegisterTempoOmnibusWalletRequest = { - // string | The ID of the vault account for which to register the Tempo wallet. - vaultAccountId: vaultAccountId_example, - // string | The Tempo network asset to register for the vault account. - assetId: assetId_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.vaults.registerTempoOmnibusWallet(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 -------------- | ------------- | ------------- | ------------- - **vaultAccountId** | [**string**] | The ID of the vault account for which to register the Tempo wallet. | defaults to undefined - **assetId** | [**string**] | The Tempo network asset to register for the vault account. | 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 - -**[CreateVaultAssetResponse](../models/CreateVaultAssetResponse.md)** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details -| 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) - # **setCustomerRefIdForAddress** > VaultActionStatus setCustomerRefIdForAddress(setCustomerRefIdForAddressRequest, ) diff --git a/docs/models/AllowListPayload.md b/docs/models/AllowListPayload.md index bf71c731..49f5caf9 100644 --- a/docs/models/AllowListPayload.md +++ b/docs/models/AllowListPayload.md @@ -4,20 +4,9 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**vaultAccountId** | **string** | The vault account whose Canton wallet acts here. | [default to undefined]| -|**blockchainId** | **string** | The blockchain this party is connected to — `CANTON` or `CANTON_TEST`. | [default to undefined]| |**wallets** | **Array<string>** | Canton party ids to add or remove. | [default to undefined]| -## Enum: AllowListPayloadBlockchainIdEnum - - -* `Canton` (value: `'CANTON'`) - -* `CantonTest` (value: `'CANTON_TEST'`) - - - [[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/BulkProofOfOwnership.md b/docs/models/BulkProofOfOwnership.md new file mode 100644 index 00000000..04e8a972 --- /dev/null +++ b/docs/models/BulkProofOfOwnership.md @@ -0,0 +1,13 @@ +# BulkProofOfOwnership + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**message** | **string** | The message to be signed by the key as proof of ownership. 64 to 1024 bytes in hexadecimal format. | [default to undefined]| +|**signature** | **string** | The signature of the message. 64 bytes in hexadecimal format. | [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/BulkSigningKey.md b/docs/models/BulkSigningKey.md new file mode 100644 index 00000000..2e95cb38 --- /dev/null +++ b/docs/models/BulkSigningKey.md @@ -0,0 +1,15 @@ +# BulkSigningKey + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**signingDeviceKeyId** | **string** | The ID, name or label of the key specified on the customer\'s signing device. | [default to undefined]| +|**signedCertPem** | **string** | The signed certificate that includes the public key PEM of the signing key, signed by the validation key declared for the request. | [default to undefined]| +|**agentUserId** | **string** | Id of user to which this key belongs | [default to undefined]| +|**proofOfOwnership** | [**BulkProofOfOwnership**](BulkProofOfOwnership.md) | | [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/BulkSigningKeyJob.md b/docs/models/BulkSigningKeyJob.md new file mode 100644 index 00000000..c9f74ade --- /dev/null +++ b/docs/models/BulkSigningKeyJob.md @@ -0,0 +1,36 @@ +# BulkSigningKeyJob + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**jobId** | **string** | Id of the registration job. | [default to undefined]| +|**status** | **string** | QUEUED means the job is waiting for another bulk registration to finish, since only a limited number run at once. IN_PROGRESS means it is running. COMPLETED means every submitted key is present in the workspace. FAILED means the request was refused before any key was registered, so `reason` has to be acted on before resubmitting is worth anything. INCOMPLETE means some keys are not registered; resubmitting the same request retries exactly those, and `reason` says whether that is likely to help -- keys not registered because of a transient failure will succeed, a key whose certificate or proof was rejected will be rejected again. | [default to undefined]| +|**total** | **number** | Keys in the submitted request. | [default to undefined]| +|**created** | **number** | Keys registered by this job. | [default to undefined]| +|**alreadyRegistered** | **number** | Keys already present in the workspace, recognized and skipped. | [default to undefined]| +|**failed** | **number** | Keys rejected. See `reason`. | [default to undefined]| +|**createdAt** | **number** | Creation date (timestamp) in milliseconds. | [default to undefined]| +|**updatedAt** | **number** | Last progress update (timestamp) in milliseconds. | [default to undefined]| +|**reason** | **string** | Free text describing what went wrong. Null while the job is healthy. | [optional] [default to undefined]| +|**fileHash** | **string** | Hex digest over the submitted keys. Two jobs sharing a digest were the same set of keys, which makes a sequence of resubmissions recognizable. | [optional] [default to undefined]| + + +## Enum: BulkSigningKeyJobStatusEnum + + +* `Queued` (value: `'QUEUED'`) + +* `InProgress` (value: `'IN_PROGRESS'`) + +* `Completed` (value: `'COMPLETED'`) + +* `Incomplete` (value: `'INCOMPLETE'`) + +* `Failed` (value: `'FAILED'`) + + + + + +[[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/CantonCall.md b/docs/models/CantonCall.md index ac11e770..f72e2896 100644 --- a/docs/models/CantonCall.md +++ b/docs/models/CantonCall.md @@ -5,25 +5,34 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**type** | **string** | Which call to make. Selects the shape of `payload`. | [default to undefined]| -|**payload** | [**AllocationWithdrawPayload**](AllocationWithdrawPayload.md) | | [default to undefined]| +|**vaultAccountId** | **string** | The vault account whose Canton wallet makes this call. | [default to undefined]| +|**blockchainId** | **string** | The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. | [default to undefined]| +|**payload** | [**AllowListPayload**](AllowListPayload.md) | | [default to undefined]| ## Enum: CantonCallTypeEnum -* `DtccParticipantOnboarding` (value: `'DTCC_PARTICIPANT_ONBOARDING'`) +* `ParticipantOnboarding` (value: `'DTCC_PARTICIPANT_ONBOARDING'`) -* `DtccEndInvestorInvite` (value: `'DTCC_END_INVESTOR_INVITE'`) +* `EndInvestorInvite` (value: `'DTCC_END_INVESTOR_INVITE'`) -* `DtccEndInvestorInviteCancel` (value: `'DTCC_END_INVESTOR_INVITE_CANCEL'`) +* `EndInvestorInviteCancel` (value: `'DTCC_END_INVESTOR_INVITE_CANCEL'`) -* `DtccEndInvestorOffboard` (value: `'DTCC_END_INVESTOR_OFFBOARD'`) +* `EndInvestorOffboard` (value: `'DTCC_END_INVESTOR_OFFBOARD'`) -* `DtccAllowListAdd` (value: `'DTCC_ALLOW_LIST_ADD'`) +* `AllowListAdd` (value: `'DTCC_ALLOW_LIST_ADD'`) -* `DtccAllowListRemove` (value: `'DTCC_ALLOW_LIST_REMOVE'`) +* `AllowListRemove` (value: `'DTCC_ALLOW_LIST_REMOVE'`) -* `AllocationWithdraw` (value: `'ALLOCATION_WITHDRAW'`) + + +## Enum: CantonCallBlockchainIdEnum + + +* `Canton` (value: `'CANTON'`) + +* `CantonTest` (value: `'CANTON_TEST'`) diff --git a/docs/models/CantonCallAllocationWithdraw.md b/docs/models/CantonCallAllocationWithdraw.md deleted file mode 100644 index bd7b0dd4..00000000 --- a/docs/models/CantonCallAllocationWithdraw.md +++ /dev/null @@ -1,20 +0,0 @@ -# CantonCallAllocationWithdraw - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**type** | **string** | Which call to make. Selects the shape of `payload`. | [default to undefined]| -|**payload** | [**AllocationWithdrawPayload**](AllocationWithdrawPayload.md) | | [default to undefined]| - - -## Enum: CantonCallAllocationWithdrawTypeEnum - - -* `AllocationWithdraw` (value: `'ALLOCATION_WITHDRAW'`) - - - - - -[[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/CantonCallAllowListAdd.md b/docs/models/CantonCallAllowListAdd.md index 72d5bbc0..d247aa29 100644 --- a/docs/models/CantonCallAllowListAdd.md +++ b/docs/models/CantonCallAllowListAdd.md @@ -5,6 +5,8 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**type** | **string** | Which call to make. Selects the shape of `payload`. | [default to undefined]| +|**vaultAccountId** | **string** | The vault account whose Canton wallet makes this call. | [default to undefined]| +|**blockchainId** | **string** | The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. | [default to undefined]| |**payload** | [**AllowListPayload**](AllowListPayload.md) | | [default to undefined]| @@ -15,6 +17,15 @@ +## Enum: CantonCallAllowListAddBlockchainIdEnum + + +* `Canton` (value: `'CANTON'`) + +* `CantonTest` (value: `'CANTON_TEST'`) + + + [[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/CantonCallAllowListRemove.md b/docs/models/CantonCallAllowListRemove.md index 9f3b9f09..68620267 100644 --- a/docs/models/CantonCallAllowListRemove.md +++ b/docs/models/CantonCallAllowListRemove.md @@ -5,6 +5,8 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**type** | **string** | Which call to make. Selects the shape of `payload`. | [default to undefined]| +|**vaultAccountId** | **string** | The vault account whose Canton wallet makes this call. | [default to undefined]| +|**blockchainId** | **string** | The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. | [default to undefined]| |**payload** | [**AllowListPayload**](AllowListPayload.md) | | [default to undefined]| @@ -15,6 +17,15 @@ +## Enum: CantonCallAllowListRemoveBlockchainIdEnum + + +* `Canton` (value: `'CANTON'`) + +* `CantonTest` (value: `'CANTON_TEST'`) + + + [[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/CantonCallDetails.md b/docs/models/CantonCallDetails.md index 778a5932..938ffc9f 100644 --- a/docs/models/CantonCallDetails.md +++ b/docs/models/CantonCallDetails.md @@ -6,9 +6,9 @@ |------------ | ------------- | ------------- | -------------| |**version** | **number** | The shape of this block. Stamped at creation and never changed, so a reader always knows which version it is holding. | [optional] [default to undefined]| |**domain** | [**CantonDomainEnum**](CantonDomainEnum.md) | | [optional] [default to undefined]| -|**type** | **string** | The call type, matching the `type` sent when the call was created. | [optional] [default to undefined]| +|**type** | **string** | The call type, matching the `type` sent when the call was created. Transactions created before a type moved to the offers endpoint keep the value they were written with — `ALLOCATION_WITHDRAW` is one; new withdraws are offer responses. | [optional] [default to undefined]| |**vendor** | [**CantonVendorEnum**](CantonVendorEnum.md) | | [optional] [default to undefined]| -|**originalTransactionId** | **string** | The transaction this call acts on. On a withdraw it is the allocation that was withdrawn, so the withdraw transaction read on its own still says what it withdrew. | [optional] [default to undefined]| +|**originalTransactionId** | **string** | The transaction this call acts on, where it acts on one. | [optional] [default to undefined]| diff --git a/docs/models/CantonCallEndInvestorInvite.md b/docs/models/CantonCallEndInvestorInvite.md index 011e1e0c..1ec61be2 100644 --- a/docs/models/CantonCallEndInvestorInvite.md +++ b/docs/models/CantonCallEndInvestorInvite.md @@ -5,6 +5,8 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**type** | **string** | Which call to make. Selects the shape of `payload`. | [default to undefined]| +|**vaultAccountId** | **string** | The vault account whose Canton wallet makes this call. | [default to undefined]| +|**blockchainId** | **string** | The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. | [default to undefined]| |**payload** | [**EndInvestorPayload**](EndInvestorPayload.md) | | [default to undefined]| @@ -15,6 +17,15 @@ +## Enum: CantonCallEndInvestorInviteBlockchainIdEnum + + +* `Canton` (value: `'CANTON'`) + +* `CantonTest` (value: `'CANTON_TEST'`) + + + [[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/CantonCallEndInvestorInviteCancel.md b/docs/models/CantonCallEndInvestorInviteCancel.md index c1790393..2e91ca75 100644 --- a/docs/models/CantonCallEndInvestorInviteCancel.md +++ b/docs/models/CantonCallEndInvestorInviteCancel.md @@ -5,6 +5,8 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**type** | **string** | Which call to make. Selects the shape of `payload`. | [default to undefined]| +|**vaultAccountId** | **string** | The vault account whose Canton wallet makes this call. | [default to undefined]| +|**blockchainId** | **string** | The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. | [default to undefined]| |**payload** | [**EndInvestorPayload**](EndInvestorPayload.md) | | [default to undefined]| @@ -15,6 +17,15 @@ +## Enum: CantonCallEndInvestorInviteCancelBlockchainIdEnum + + +* `Canton` (value: `'CANTON'`) + +* `CantonTest` (value: `'CANTON_TEST'`) + + + [[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/CantonCallEndInvestorOffboard.md b/docs/models/CantonCallEndInvestorOffboard.md index db61600b..226937f7 100644 --- a/docs/models/CantonCallEndInvestorOffboard.md +++ b/docs/models/CantonCallEndInvestorOffboard.md @@ -5,6 +5,8 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**type** | **string** | Which call to make. Selects the shape of `payload`. | [default to undefined]| +|**vaultAccountId** | **string** | The vault account whose Canton wallet makes this call. | [default to undefined]| +|**blockchainId** | **string** | The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. | [default to undefined]| |**payload** | [**EndInvestorPayload**](EndInvestorPayload.md) | | [default to undefined]| @@ -15,6 +17,15 @@ +## Enum: CantonCallEndInvestorOffboardBlockchainIdEnum + + +* `Canton` (value: `'CANTON'`) + +* `CantonTest` (value: `'CANTON_TEST'`) + + + [[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/CantonCallParticipantOnboarding.md b/docs/models/CantonCallParticipantOnboarding.md index 7a77bfaf..10ff9d4d 100644 --- a/docs/models/CantonCallParticipantOnboarding.md +++ b/docs/models/CantonCallParticipantOnboarding.md @@ -5,7 +5,9 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**type** | **string** | Which call to make. Selects the shape of `payload`. | [default to undefined]| -|**payload** | [**ParticipantOnboardingPayload**](ParticipantOnboardingPayload.md) | | [default to undefined]| +|**vaultAccountId** | **string** | The vault account whose Canton wallet makes this call. | [default to undefined]| +|**blockchainId** | **string** | The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. | [default to undefined]| +|**payload** | [**ParticipantOnboardingPayload**](ParticipantOnboardingPayload.md) | | [optional] [default to undefined]| ## Enum: CantonCallParticipantOnboardingTypeEnum @@ -15,6 +17,15 @@ +## Enum: CantonCallParticipantOnboardingBlockchainIdEnum + + +* `Canton` (value: `'CANTON'`) + +* `CantonTest` (value: `'CANTON_TEST'`) + + + [[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/CantonOfferResponseDetails.md b/docs/models/CantonOfferResponseDetails.md index 9cfa6673..249ab2d7 100644 --- a/docs/models/CantonOfferResponseDetails.md +++ b/docs/models/CantonOfferResponseDetails.md @@ -7,10 +7,12 @@ |**version** | **number** | The shape of this block. Stamped at creation and never changed, so a reader always knows which version it is holding. | [optional] [default to undefined]| |**domain** | [**CantonDomainEnum**](CantonDomainEnum.md) | | [optional] [default to undefined]| |**vendor** | [**CantonVendorEnum**](CantonVendorEnum.md) | | [optional] [default to undefined]| -|**availableResponses** | **Array<string>** | The responses that can be sent for this offer right now. An empty array means nothing is answerable on this transaction — which is the difference between an actionable offer and a linked leg that shares its sub-status. | [optional] [default to undefined]| +|**availableResponses** | **Array<string>** | The responses this offer accepts — copy one into `responseType` to answer it. Present on the offer only, set when it arrives and never changed: it states what the offer TYPE accepts, not whether it is answerable right now. The respond endpoint is the authority on that, and answers `409` when the offer\'s state or expiry rules a response out — for example an `ALLOCATION_WITHDRAW` sent before the accept has settled. An empty array means nothing is answerable on this transaction — the difference between an actionable offer and a linked leg that shares its sub-status. | [optional] [default to undefined]| |**expiresAt** | **string** | When the offer expires, where it has a deadline. | [optional] [default to undefined]| |**approvalTransactionId** | **string** | The response transaction, once one has been dispatched for this offer. | [optional] [default to undefined]| |**originalTransactionId** | **string** | The transaction this one relates to — the offer a response answered. | [optional] [default to undefined]| +|**responseType** | **string** | On a response transaction, which answer it is — the `responseType` that was sent. Absent on the offer itself. | [optional] [default to undefined]| +|**allocationTransactionId** | **string** | On an `ALLOCATION_WITHDRAW` response only — the accept whose allocation this withdraw released, so the withdraw transaction read on its own says what it undid. | [optional] [default to undefined]| |**verdict** | **string** | The outcome, set once the transaction reaches a terminal status. | [optional] [default to undefined]| diff --git a/docs/models/CreateBulkSigningKeys.md b/docs/models/CreateBulkSigningKeys.md new file mode 100644 index 00000000..b52d354b --- /dev/null +++ b/docs/models/CreateBulkSigningKeys.md @@ -0,0 +1,13 @@ +# CreateBulkSigningKeys + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**validationKeyId** | **string** | The id of the validation key that signed every certificate in this request, as returned when the validation key was registered. Not the signingDeviceKeyId of any signing key. | [default to undefined]| +|**keys** | [**Array<BulkSigningKey>**](BulkSigningKey.md) | The signing keys to register. | [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/AllocationWithdrawPayload.md b/docs/models/CreateBulkSigningKeysResponse.md similarity index 53% rename from docs/models/AllocationWithdrawPayload.md rename to docs/models/CreateBulkSigningKeysResponse.md index 3cb57d4f..23aa4156 100644 --- a/docs/models/AllocationWithdrawPayload.md +++ b/docs/models/CreateBulkSigningKeysResponse.md @@ -1,10 +1,10 @@ -# AllocationWithdrawPayload +# CreateBulkSigningKeysResponse ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**allocationTransactionId** | **string** | The Fireblocks transaction id of the outgoing response that created the allocation. The allocation is resolved from it — Canton contract ids are never accepted here. | [default to undefined]| +|**jobId** | **string** | Id of the registration job. Poll it for progress. | [default to undefined]| diff --git a/docs/models/EndInvestorPayload.md b/docs/models/EndInvestorPayload.md index e05a3c07..e61ed0da 100644 --- a/docs/models/EndInvestorPayload.md +++ b/docs/models/EndInvestorPayload.md @@ -4,20 +4,9 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**vaultAccountId** | **string** | The vault account whose Canton wallet acts here. | [default to undefined]| -|**blockchainId** | **string** | The blockchain this party is connected to — `CANTON` or `CANTON_TEST`. | [default to undefined]| |**endInvestor** | **string** | The end investor\'s Canton party id. | [default to undefined]| -## Enum: EndInvestorPayloadBlockchainIdEnum - - -* `Canton` (value: `'CANTON'`) - -* `CantonTest` (value: `'CANTON_TEST'`) - - - [[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/GetBulkSigningKeysJobsResponse.md b/docs/models/GetBulkSigningKeysJobsResponse.md new file mode 100644 index 00000000..98c0af5c --- /dev/null +++ b/docs/models/GetBulkSigningKeysJobsResponse.md @@ -0,0 +1,13 @@ +# GetBulkSigningKeysJobsResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**data** | [**Array<BulkSigningKeyJob>**](BulkSigningKeyJob.md) | Registration jobs for the workspace, newest first. | [default to undefined]| +|**next** | **string** | Cursor to the next page. Absent on the last page. | [optional] [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/OfferResponse.md b/docs/models/OfferResponse.md index 183173e1..d0ab209a 100644 --- a/docs/models/OfferResponse.md +++ b/docs/models/OfferResponse.md @@ -11,7 +11,7 @@ ## Enum: OfferResponseResponseTypeEnum -* `TransferWithdraw` (value: `'TRANSFER_WITHDRAW'`) +* `AllocationWithdraw` (value: `'ALLOCATION_WITHDRAW'`) diff --git a/docs/models/OfferResponseAllocationWithdraw.md b/docs/models/OfferResponseAllocationWithdraw.md new file mode 100644 index 00000000..4d19883a --- /dev/null +++ b/docs/models/OfferResponseAllocationWithdraw.md @@ -0,0 +1,19 @@ +# OfferResponseAllocationWithdraw + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**responseType** | **string** | How you are answering the offer. Must be one of the values listed in the transaction\'s `cantonDetails.offerResponse.availableResponses` — TOP-LEVEL on the transaction, not nested under an `additionalInfo` envelope, which does not exist on `TransactionResponse`. `availableResponses` states what this offer TYPE accepts. It is set when the offer arrives and does not change, so it does NOT tell you whether the offer is still answerable — check `expiresAt` and the transaction\'s status for that, and expect this endpoint to be the authority: it re-checks state and expiry on every call and answers 409 when either has moved. | [default to undefined]| + + +## Enum: OfferResponseAllocationWithdrawResponseTypeEnum + + +* `AllocationWithdraw` (value: `'ALLOCATION_WITHDRAW'`) + + + + + +[[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/ParticipantOnboardingPayload.md b/docs/models/ParticipantOnboardingPayload.md index bd488135..970e1685 100644 --- a/docs/models/ParticipantOnboardingPayload.md +++ b/docs/models/ParticipantOnboardingPayload.md @@ -4,23 +4,12 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**vaultAccountId** | **string** | The vault account that acts as the participant. Its Canton party is derived for you. | [default to undefined]| -|**blockchainId** | **string** | The blockchain this party is connected to — `CANTON` or `CANTON_TEST`. | [default to undefined]| -|**operator** | **string** | DTCC infra operator party id. | [default to undefined]| -|**compliance** | **string** | DTCC compliance party id. | [default to undefined]| -|**registrar** | **string** | DTCC registrar party id — co-signs the accept. | [default to undefined]| -|**clientOnboarder** | **string** | DTCC client onboarder party id — co-signs the accept. | [default to undefined]| -|**upgrader** | **string** | DTCC upgrader party id — the Model Upgrade Tool authority. Supplied by DTCC during the off-chain registration, alongside the other party ids. | [default to undefined]| |**expiresAt** | **string** | When the onboarding request expires if it has not been answered. RFC 3339. | [optional] [default to undefined]| - - -## Enum: ParticipantOnboardingPayloadBlockchainIdEnum - - -* `Canton` (value: `'CANTON'`) - -* `CantonTest` (value: `'CANTON_TEST'`) - +|**operator** | **string** | DTCC infra operator party id. Optional — overrides the service\'s default for the blockchain. | [optional] [default to undefined]| +|**compliance** | **string** | DTCC compliance party id. Optional — overrides the service\'s default for the blockchain. | [optional] [default to undefined]| +|**registrar** | **string** | DTCC registrar party id — co-signs the accept. Optional — overrides the service\'s default for the blockchain. | [optional] [default to undefined]| +|**clientOnboarder** | **string** | DTCC client onboarder party id — co-signs the accept. Optional — overrides the service\'s default for the blockchain. | [optional] [default to undefined]| +|**upgrader** | **string** | DTCC upgrader party id — the Model Upgrade Tool authority. Optional — overrides the service\'s default for the blockchain. | [optional] [default to undefined]| diff --git a/models/allow-list-payload.ts b/models/allow-list-payload.ts index 5a39dd73..0cc9a3a8 100644 --- a/models/allow-list-payload.ts +++ b/models/allow-list-payload.ts @@ -20,18 +20,6 @@ * @interface AllowListPayload */ export interface AllowListPayload { - /** - * The vault account whose Canton wallet acts here. - * @type {string} - * @memberof AllowListPayload - */ - 'vaultAccountId': string; - /** - * The blockchain this party is connected to — `CANTON` or `CANTON_TEST`. - * @type {string} - * @memberof AllowListPayload - */ - 'blockchainId': AllowListPayloadBlockchainIdEnum; /** * Canton party ids to add or remove. * @type {Array} @@ -40,11 +28,3 @@ export interface AllowListPayload { 'wallets': Array; } -export const AllowListPayloadBlockchainIdEnum = { - Canton: 'CANTON', - CantonTest: 'CANTON_TEST' -} as const; - -export type AllowListPayloadBlockchainIdEnum = typeof AllowListPayloadBlockchainIdEnum[keyof typeof AllowListPayloadBlockchainIdEnum]; - - diff --git a/models/bulk-proof-of-ownership.ts b/models/bulk-proof-of-ownership.ts new file mode 100644 index 00000000..5fea23c6 --- /dev/null +++ b/models/bulk-proof-of-ownership.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: developers@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. + */ + + + +/** + * Proof that the customer holds the private key. Required for every key, unlike the single key endpoint: bulk registration has no interactive step in which a proof can arrive later. + * @export + * @interface BulkProofOfOwnership + */ +export interface BulkProofOfOwnership { + /** + * The message to be signed by the key as proof of ownership. 64 to 1024 bytes in hexadecimal format. + * @type {string} + * @memberof BulkProofOfOwnership + */ + 'message': string; + /** + * The signature of the message. 64 bytes in hexadecimal format. + * @type {string} + * @memberof BulkProofOfOwnership + */ + 'signature': string; +} + diff --git a/models/bulk-signing-key-job.ts b/models/bulk-signing-key-job.ts new file mode 100644 index 00000000..42bd0858 --- /dev/null +++ b/models/bulk-signing-key-job.ts @@ -0,0 +1,95 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: developers@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 BulkSigningKeyJob + */ +export interface BulkSigningKeyJob { + /** + * Id of the registration job. + * @type {string} + * @memberof BulkSigningKeyJob + */ + 'jobId': string; + /** + * QUEUED means the job is waiting for another bulk registration to finish, since only a limited number run at once. IN_PROGRESS means it is running. COMPLETED means every submitted key is present in the workspace. FAILED means the request was refused before any key was registered, so `reason` has to be acted on before resubmitting is worth anything. INCOMPLETE means some keys are not registered; resubmitting the same request retries exactly those, and `reason` says whether that is likely to help -- keys not registered because of a transient failure will succeed, a key whose certificate or proof was rejected will be rejected again. + * @type {string} + * @memberof BulkSigningKeyJob + */ + 'status': BulkSigningKeyJobStatusEnum; + /** + * Keys in the submitted request. + * @type {number} + * @memberof BulkSigningKeyJob + */ + 'total': number; + /** + * Keys registered by this job. + * @type {number} + * @memberof BulkSigningKeyJob + */ + 'created': number; + /** + * Keys already present in the workspace, recognized and skipped. + * @type {number} + * @memberof BulkSigningKeyJob + */ + 'alreadyRegistered': number; + /** + * Keys rejected. See `reason`. + * @type {number} + * @memberof BulkSigningKeyJob + */ + 'failed': number; + /** + * Creation date (timestamp) in milliseconds. + * @type {number} + * @memberof BulkSigningKeyJob + */ + 'createdAt': number; + /** + * Last progress update (timestamp) in milliseconds. + * @type {number} + * @memberof BulkSigningKeyJob + */ + 'updatedAt': number; + /** + * Free text describing what went wrong. Null while the job is healthy. + * @type {string} + * @memberof BulkSigningKeyJob + */ + 'reason'?: string | null; + /** + * Hex digest over the submitted keys. Two jobs sharing a digest were the same set of keys, which makes a sequence of resubmissions recognizable. + * @type {string} + * @memberof BulkSigningKeyJob + */ + 'fileHash'?: string | null; +} + +export const BulkSigningKeyJobStatusEnum = { + Queued: 'QUEUED', + InProgress: 'IN_PROGRESS', + Completed: 'COMPLETED', + Incomplete: 'INCOMPLETE', + Failed: 'FAILED' +} as const; + +export type BulkSigningKeyJobStatusEnum = typeof BulkSigningKeyJobStatusEnum[keyof typeof BulkSigningKeyJobStatusEnum]; + + diff --git a/models/bulk-signing-key.ts b/models/bulk-signing-key.ts new file mode 100644 index 00000000..6e8b4b71 --- /dev/null +++ b/models/bulk-signing-key.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: developers@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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { BulkProofOfOwnership } from './bulk-proof-of-ownership'; + +/** + * + * @export + * @interface BulkSigningKey + */ +export interface BulkSigningKey { + /** + * The ID, name or label of the key specified on the customer\'s signing device. + * @type {string} + * @memberof BulkSigningKey + */ + 'signingDeviceKeyId': string; + /** + * The signed certificate that includes the public key PEM of the signing key, signed by the validation key declared for the request. + * @type {string} + * @memberof BulkSigningKey + */ + 'signedCertPem': string; + /** + * Id of user to which this key belongs + * @type {string} + * @memberof BulkSigningKey + */ + 'agentUserId': string; + /** + * + * @type {BulkProofOfOwnership} + * @memberof BulkSigningKey + */ + 'proofOfOwnership': BulkProofOfOwnership; +} + diff --git a/models/canton-call-allow-list-add.ts b/models/canton-call-allow-list-add.ts index dc6277aa..6be0c3e1 100644 --- a/models/canton-call-allow-list-add.ts +++ b/models/canton-call-allow-list-add.ts @@ -29,6 +29,18 @@ export interface CantonCallAllowListAdd { * @memberof CantonCallAllowListAdd */ 'type': CantonCallAllowListAddTypeEnum; + /** + * The vault account whose Canton wallet makes this call. + * @type {string} + * @memberof CantonCallAllowListAdd + */ + 'vaultAccountId': string; + /** + * The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. + * @type {string} + * @memberof CantonCallAllowListAdd + */ + 'blockchainId': CantonCallAllowListAddBlockchainIdEnum; /** * * @type {AllowListPayload} @@ -42,5 +54,11 @@ export const CantonCallAllowListAddTypeEnum = { } as const; export type CantonCallAllowListAddTypeEnum = typeof CantonCallAllowListAddTypeEnum[keyof typeof CantonCallAllowListAddTypeEnum]; +export const CantonCallAllowListAddBlockchainIdEnum = { + Canton: 'CANTON', + CantonTest: 'CANTON_TEST' +} as const; + +export type CantonCallAllowListAddBlockchainIdEnum = typeof CantonCallAllowListAddBlockchainIdEnum[keyof typeof CantonCallAllowListAddBlockchainIdEnum]; diff --git a/models/canton-call-allow-list-remove.ts b/models/canton-call-allow-list-remove.ts index 3481da5b..0972ad90 100644 --- a/models/canton-call-allow-list-remove.ts +++ b/models/canton-call-allow-list-remove.ts @@ -29,6 +29,18 @@ export interface CantonCallAllowListRemove { * @memberof CantonCallAllowListRemove */ 'type': CantonCallAllowListRemoveTypeEnum; + /** + * The vault account whose Canton wallet makes this call. + * @type {string} + * @memberof CantonCallAllowListRemove + */ + 'vaultAccountId': string; + /** + * The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. + * @type {string} + * @memberof CantonCallAllowListRemove + */ + 'blockchainId': CantonCallAllowListRemoveBlockchainIdEnum; /** * * @type {AllowListPayload} @@ -42,5 +54,11 @@ export const CantonCallAllowListRemoveTypeEnum = { } as const; export type CantonCallAllowListRemoveTypeEnum = typeof CantonCallAllowListRemoveTypeEnum[keyof typeof CantonCallAllowListRemoveTypeEnum]; +export const CantonCallAllowListRemoveBlockchainIdEnum = { + Canton: 'CANTON', + CantonTest: 'CANTON_TEST' +} as const; + +export type CantonCallAllowListRemoveBlockchainIdEnum = typeof CantonCallAllowListRemoveBlockchainIdEnum[keyof typeof CantonCallAllowListRemoveBlockchainIdEnum]; diff --git a/models/canton-call-details.ts b/models/canton-call-details.ts index c959bda0..3622051d 100644 --- a/models/canton-call-details.ts +++ b/models/canton-call-details.ts @@ -39,7 +39,7 @@ export interface CantonCallDetails { */ 'domain'?: CantonDomainEnum; /** - * The call type, matching the `type` sent when the call was created. + * The call type, matching the `type` sent when the call was created. Transactions created before a type moved to the offers endpoint keep the value they were written with — `ALLOCATION_WITHDRAW` is one; new withdraws are offer responses. * @type {string} * @memberof CantonCallDetails */ @@ -51,7 +51,7 @@ export interface CantonCallDetails { */ 'vendor'?: CantonVendorEnum; /** - * The transaction this call acts on. On a withdraw it is the allocation that was withdrawn, so the withdraw transaction read on its own still says what it withdrew. + * The transaction this call acts on, where it acts on one. * @type {string} * @memberof CantonCallDetails */ diff --git a/models/canton-call-end-investor-invite-cancel.ts b/models/canton-call-end-investor-invite-cancel.ts index f51bc174..0c871428 100644 --- a/models/canton-call-end-investor-invite-cancel.ts +++ b/models/canton-call-end-investor-invite-cancel.ts @@ -29,6 +29,18 @@ export interface CantonCallEndInvestorInviteCancel { * @memberof CantonCallEndInvestorInviteCancel */ 'type': CantonCallEndInvestorInviteCancelTypeEnum; + /** + * The vault account whose Canton wallet makes this call. + * @type {string} + * @memberof CantonCallEndInvestorInviteCancel + */ + 'vaultAccountId': string; + /** + * The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. + * @type {string} + * @memberof CantonCallEndInvestorInviteCancel + */ + 'blockchainId': CantonCallEndInvestorInviteCancelBlockchainIdEnum; /** * * @type {EndInvestorPayload} @@ -42,5 +54,11 @@ export const CantonCallEndInvestorInviteCancelTypeEnum = { } as const; export type CantonCallEndInvestorInviteCancelTypeEnum = typeof CantonCallEndInvestorInviteCancelTypeEnum[keyof typeof CantonCallEndInvestorInviteCancelTypeEnum]; +export const CantonCallEndInvestorInviteCancelBlockchainIdEnum = { + Canton: 'CANTON', + CantonTest: 'CANTON_TEST' +} as const; + +export type CantonCallEndInvestorInviteCancelBlockchainIdEnum = typeof CantonCallEndInvestorInviteCancelBlockchainIdEnum[keyof typeof CantonCallEndInvestorInviteCancelBlockchainIdEnum]; diff --git a/models/canton-call-end-investor-invite.ts b/models/canton-call-end-investor-invite.ts index ec2d98c6..fe03ebef 100644 --- a/models/canton-call-end-investor-invite.ts +++ b/models/canton-call-end-investor-invite.ts @@ -29,6 +29,18 @@ export interface CantonCallEndInvestorInvite { * @memberof CantonCallEndInvestorInvite */ 'type': CantonCallEndInvestorInviteTypeEnum; + /** + * The vault account whose Canton wallet makes this call. + * @type {string} + * @memberof CantonCallEndInvestorInvite + */ + 'vaultAccountId': string; + /** + * The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. + * @type {string} + * @memberof CantonCallEndInvestorInvite + */ + 'blockchainId': CantonCallEndInvestorInviteBlockchainIdEnum; /** * * @type {EndInvestorPayload} @@ -42,5 +54,11 @@ export const CantonCallEndInvestorInviteTypeEnum = { } as const; export type CantonCallEndInvestorInviteTypeEnum = typeof CantonCallEndInvestorInviteTypeEnum[keyof typeof CantonCallEndInvestorInviteTypeEnum]; +export const CantonCallEndInvestorInviteBlockchainIdEnum = { + Canton: 'CANTON', + CantonTest: 'CANTON_TEST' +} as const; + +export type CantonCallEndInvestorInviteBlockchainIdEnum = typeof CantonCallEndInvestorInviteBlockchainIdEnum[keyof typeof CantonCallEndInvestorInviteBlockchainIdEnum]; diff --git a/models/canton-call-end-investor-offboard.ts b/models/canton-call-end-investor-offboard.ts index a93d737b..44c002e4 100644 --- a/models/canton-call-end-investor-offboard.ts +++ b/models/canton-call-end-investor-offboard.ts @@ -29,6 +29,18 @@ export interface CantonCallEndInvestorOffboard { * @memberof CantonCallEndInvestorOffboard */ 'type': CantonCallEndInvestorOffboardTypeEnum; + /** + * The vault account whose Canton wallet makes this call. + * @type {string} + * @memberof CantonCallEndInvestorOffboard + */ + 'vaultAccountId': string; + /** + * The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. + * @type {string} + * @memberof CantonCallEndInvestorOffboard + */ + 'blockchainId': CantonCallEndInvestorOffboardBlockchainIdEnum; /** * * @type {EndInvestorPayload} @@ -42,5 +54,11 @@ export const CantonCallEndInvestorOffboardTypeEnum = { } as const; export type CantonCallEndInvestorOffboardTypeEnum = typeof CantonCallEndInvestorOffboardTypeEnum[keyof typeof CantonCallEndInvestorOffboardTypeEnum]; +export const CantonCallEndInvestorOffboardBlockchainIdEnum = { + Canton: 'CANTON', + CantonTest: 'CANTON_TEST' +} as const; + +export type CantonCallEndInvestorOffboardBlockchainIdEnum = typeof CantonCallEndInvestorOffboardBlockchainIdEnum[keyof typeof CantonCallEndInvestorOffboardBlockchainIdEnum]; diff --git a/models/canton-call-participant-onboarding.ts b/models/canton-call-participant-onboarding.ts index 8d0fca77..dfeeb772 100644 --- a/models/canton-call-participant-onboarding.ts +++ b/models/canton-call-participant-onboarding.ts @@ -29,12 +29,24 @@ export interface CantonCallParticipantOnboarding { * @memberof CantonCallParticipantOnboarding */ 'type': CantonCallParticipantOnboardingTypeEnum; + /** + * The vault account whose Canton wallet makes this call. + * @type {string} + * @memberof CantonCallParticipantOnboarding + */ + 'vaultAccountId': string; + /** + * The blockchain the vault account\'s Canton party is connected to — `CANTON` or `CANTON_TEST`. + * @type {string} + * @memberof CantonCallParticipantOnboarding + */ + 'blockchainId': CantonCallParticipantOnboardingBlockchainIdEnum; /** * * @type {ParticipantOnboardingPayload} * @memberof CantonCallParticipantOnboarding */ - 'payload': ParticipantOnboardingPayload; + 'payload'?: ParticipantOnboardingPayload; } export const CantonCallParticipantOnboardingTypeEnum = { @@ -42,5 +54,11 @@ export const CantonCallParticipantOnboardingTypeEnum = { } as const; export type CantonCallParticipantOnboardingTypeEnum = typeof CantonCallParticipantOnboardingTypeEnum[keyof typeof CantonCallParticipantOnboardingTypeEnum]; +export const CantonCallParticipantOnboardingBlockchainIdEnum = { + Canton: 'CANTON', + CantonTest: 'CANTON_TEST' +} as const; + +export type CantonCallParticipantOnboardingBlockchainIdEnum = typeof CantonCallParticipantOnboardingBlockchainIdEnum[keyof typeof CantonCallParticipantOnboardingBlockchainIdEnum]; diff --git a/models/canton-call.ts b/models/canton-call.ts index 63cfe9dc..abf165ab 100644 --- a/models/canton-call.ts +++ b/models/canton-call.ts @@ -15,10 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { AllocationWithdrawPayload } from './allocation-withdraw-payload'; -// May contain unused imports in some cases -// @ts-ignore -import { CantonCallAllocationWithdraw } from './canton-call-allocation-withdraw'; +import { AllowListPayload } from './allow-list-payload'; // May contain unused imports in some cases // @ts-ignore import { CantonCallAllowListAdd } from './canton-call-allow-list-add'; @@ -42,6 +39,6 @@ import { CantonCallParticipantOnboarding } from './canton-call-participant-onboa * @type CantonCall * @export */ -export type CantonCall = { type: 'ALLOCATION_WITHDRAW' } & CantonCallAllocationWithdraw | { type: 'DTCC_ALLOW_LIST_ADD' } & CantonCallAllowListAdd | { type: 'DTCC_ALLOW_LIST_REMOVE' } & CantonCallAllowListRemove | { type: 'DTCC_END_INVESTOR_INVITE' } & CantonCallEndInvestorInvite | { type: 'DTCC_END_INVESTOR_INVITE_CANCEL' } & CantonCallEndInvestorInviteCancel | { type: 'DTCC_END_INVESTOR_OFFBOARD' } & CantonCallEndInvestorOffboard | { type: 'DTCC_PARTICIPANT_ONBOARDING' } & CantonCallParticipantOnboarding; +export type CantonCall = { type: 'DTCC_ALLOW_LIST_ADD' } & CantonCallAllowListAdd | { type: 'DTCC_ALLOW_LIST_REMOVE' } & CantonCallAllowListRemove | { type: 'DTCC_END_INVESTOR_INVITE' } & CantonCallEndInvestorInvite | { type: 'DTCC_END_INVESTOR_INVITE_CANCEL' } & CantonCallEndInvestorInviteCancel | { type: 'DTCC_END_INVESTOR_OFFBOARD' } & CantonCallEndInvestorOffboard | { type: 'DTCC_PARTICIPANT_ONBOARDING' } & CantonCallParticipantOnboarding; diff --git a/models/canton-offer-response-details.ts b/models/canton-offer-response-details.ts index 17e87481..f9fb3cb5 100644 --- a/models/canton-offer-response-details.ts +++ b/models/canton-offer-response-details.ts @@ -21,7 +21,7 @@ import { CantonDomainEnum } from './canton-domain-enum'; import { CantonVendorEnum } from './canton-vendor-enum'; /** - * The transaction belongs to an offer conversation: the offer itself, the response to it, or a leg that carries no answer of its own. The only block that changes over a transaction\'s lifetime. + * The transaction belongs to an offer conversation: the offer itself, a response to it, or a leg that carries no answer of its own. The only block that changes over a transaction\'s lifetime. An offer can have more than one response — an allocation offer is accepted and later withdrawn — so every response transaction states which answer it is in `responseType`. * @export * @interface CantonOfferResponseDetails */ @@ -45,7 +45,7 @@ export interface CantonOfferResponseDetails { */ 'vendor'?: CantonVendorEnum; /** - * The responses that can be sent for this offer right now. An empty array means nothing is answerable on this transaction — which is the difference between an actionable offer and a linked leg that shares its sub-status. + * The responses this offer accepts — copy one into `responseType` to answer it. Present on the offer only, set when it arrives and never changed: it states what the offer TYPE accepts, not whether it is answerable right now. The respond endpoint is the authority on that, and answers `409` when the offer\'s state or expiry rules a response out — for example an `ALLOCATION_WITHDRAW` sent before the accept has settled. An empty array means nothing is answerable on this transaction — the difference between an actionable offer and a linked leg that shares its sub-status. * @type {Array} * @memberof CantonOfferResponseDetails */ @@ -68,6 +68,18 @@ export interface CantonOfferResponseDetails { * @memberof CantonOfferResponseDetails */ 'originalTransactionId'?: string; + /** + * On a response transaction, which answer it is — the `responseType` that was sent. Absent on the offer itself. + * @type {string} + * @memberof CantonOfferResponseDetails + */ + 'responseType'?: string; + /** + * On an `ALLOCATION_WITHDRAW` response only — the accept whose allocation this withdraw released, so the withdraw transaction read on its own says what it undid. + * @type {string} + * @memberof CantonOfferResponseDetails + */ + 'allocationTransactionId'?: string; /** * The outcome, set once the transaction reaches a terminal status. * @type {string} diff --git a/models/allocation-withdraw-payload.ts b/models/create-bulk-signing-keys-response.ts similarity index 67% rename from models/allocation-withdraw-payload.ts rename to models/create-bulk-signing-keys-response.ts index 935633c2..816fe649 100644 --- a/models/allocation-withdraw-payload.ts +++ b/models/create-bulk-signing-keys-response.ts @@ -17,14 +17,14 @@ /** * * @export - * @interface AllocationWithdrawPayload + * @interface CreateBulkSigningKeysResponse */ -export interface AllocationWithdrawPayload { +export interface CreateBulkSigningKeysResponse { /** - * The Fireblocks transaction id of the outgoing response that created the allocation. The allocation is resolved from it — Canton contract ids are never accepted here. + * Id of the registration job. Poll it for progress. * @type {string} - * @memberof AllocationWithdrawPayload + * @memberof CreateBulkSigningKeysResponse */ - 'allocationTransactionId': string; + 'jobId': string; } diff --git a/models/canton-call-allocation-withdraw.ts b/models/create-bulk-signing-keys.ts similarity index 52% rename from models/canton-call-allocation-withdraw.ts rename to models/create-bulk-signing-keys.ts index 85df8b98..a723c930 100644 --- a/models/canton-call-allocation-withdraw.ts +++ b/models/create-bulk-signing-keys.ts @@ -15,32 +15,25 @@ // May contain unused imports in some cases // @ts-ignore -import { AllocationWithdrawPayload } from './allocation-withdraw-payload'; +import { BulkSigningKey } from './bulk-signing-key'; /** * * @export - * @interface CantonCallAllocationWithdraw + * @interface CreateBulkSigningKeys */ -export interface CantonCallAllocationWithdraw { +export interface CreateBulkSigningKeys { /** - * Which call to make. Selects the shape of `payload`. + * The id of the validation key that signed every certificate in this request, as returned when the validation key was registered. Not the signingDeviceKeyId of any signing key. * @type {string} - * @memberof CantonCallAllocationWithdraw + * @memberof CreateBulkSigningKeys */ - 'type': CantonCallAllocationWithdrawTypeEnum; + 'validationKeyId': string; /** - * - * @type {AllocationWithdrawPayload} - * @memberof CantonCallAllocationWithdraw + * The signing keys to register. + * @type {Array} + * @memberof CreateBulkSigningKeys */ - 'payload': AllocationWithdrawPayload; + 'keys': Array; } -export const CantonCallAllocationWithdrawTypeEnum = { - AllocationWithdraw: 'ALLOCATION_WITHDRAW' -} as const; - -export type CantonCallAllocationWithdrawTypeEnum = typeof CantonCallAllocationWithdrawTypeEnum[keyof typeof CantonCallAllocationWithdrawTypeEnum]; - - diff --git a/models/end-investor-payload.ts b/models/end-investor-payload.ts index 70264fa3..0f807184 100644 --- a/models/end-investor-payload.ts +++ b/models/end-investor-payload.ts @@ -20,18 +20,6 @@ * @interface EndInvestorPayload */ export interface EndInvestorPayload { - /** - * The vault account whose Canton wallet acts here. - * @type {string} - * @memberof EndInvestorPayload - */ - 'vaultAccountId': string; - /** - * The blockchain this party is connected to — `CANTON` or `CANTON_TEST`. - * @type {string} - * @memberof EndInvestorPayload - */ - 'blockchainId': EndInvestorPayloadBlockchainIdEnum; /** * The end investor\'s Canton party id. * @type {string} @@ -40,11 +28,3 @@ export interface EndInvestorPayload { 'endInvestor': string; } -export const EndInvestorPayloadBlockchainIdEnum = { - Canton: 'CANTON', - CantonTest: 'CANTON_TEST' -} as const; - -export type EndInvestorPayloadBlockchainIdEnum = typeof EndInvestorPayloadBlockchainIdEnum[keyof typeof EndInvestorPayloadBlockchainIdEnum]; - - diff --git a/models/get-bulk-signing-keys-jobs-response.ts b/models/get-bulk-signing-keys-jobs-response.ts new file mode 100644 index 00000000..d303c41d --- /dev/null +++ b/models/get-bulk-signing-keys-jobs-response.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: developers@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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { BulkSigningKeyJob } from './bulk-signing-key-job'; + +/** + * + * @export + * @interface GetBulkSigningKeysJobsResponse + */ +export interface GetBulkSigningKeysJobsResponse { + /** + * Registration jobs for the workspace, newest first. + * @type {Array} + * @memberof GetBulkSigningKeysJobsResponse + */ + 'data': Array; + /** + * Cursor to the next page. Absent on the last page. + * @type {string} + * @memberof GetBulkSigningKeysJobsResponse + */ + 'next'?: string; +} + diff --git a/models/index.ts b/models/index.ts index 7f824b63..59d66e1d 100644 --- a/models/index.ts +++ b/models/index.ts @@ -68,7 +68,6 @@ export * from './address-reverse-lookup-response'; export * from './addresses-filters'; export * from './alert-exposure-type-enum'; export * from './alert-level-enum'; -export * from './allocation-withdraw-payload'; export * from './allow-list-payload'; export * from './allowlist-entry'; export * from './allowlist-entry-provider-metadata'; @@ -171,6 +170,9 @@ export * from './blockchain-sort-field'; export * from './blockchain-state-filter'; export * from './blockchain-transfer'; export * from './bps-fee'; +export * from './bulk-proof-of-ownership'; +export * from './bulk-signing-key'; +export * from './bulk-signing-key-job'; export * from './business-entity-type-enum'; export * from './business-identification'; export * from './byork-config-response'; @@ -187,7 +189,6 @@ export * from './callback-handler'; export * from './callback-handler-request'; export * from './cancel-transaction-response'; export * from './canton-call'; -export * from './canton-call-allocation-withdraw'; export * from './canton-call-allow-list-add'; export * from './canton-call-allow-list-remove'; export * from './canton-call-details'; @@ -307,6 +308,8 @@ export * from './create-addresses-report-request'; export * from './create-assets-request'; export * from './create-blockchain-request'; export * from './create-blockchain-response'; +export * from './create-bulk-signing-keys'; +export * from './create-bulk-signing-keys-response'; export * from './create-config-operation-request'; export * from './create-connection-request'; export * from './create-connection-response'; @@ -522,6 +525,7 @@ export * from './get-audit-logs-response'; export * from './get-automation-settings-response'; export * from './get-billing-info-response'; export * from './get-blockchain-by-id-response'; +export * from './get-bulk-signing-keys-jobs-response'; export * from './get-byork-verdict-response'; export * from './get-connected-accounts-credentials-public-key-response'; export * from './get-connections-response'; @@ -699,6 +703,7 @@ export * from './offer-response'; export * from './offer-response-accepted'; export * from './offer-response-allocation-accept'; export * from './offer-response-allocation-reject'; +export * from './offer-response-allocation-withdraw'; export * from './offer-response-dtcc-onboarding-accept'; export * from './offer-response-dtcc-onboarding-reject'; export * from './offer-response-tradeweb-accept'; diff --git a/models/offer-response-allocation-withdraw.ts b/models/offer-response-allocation-withdraw.ts new file mode 100644 index 00000000..cccff4ff --- /dev/null +++ b/models/offer-response-allocation-withdraw.ts @@ -0,0 +1,37 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: developers@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. + */ + + + +/** + * Withdraw the allocation you made by accepting this offer, unlocking the holding. Carries no arguments — the allocation is resolved from the offer. Answers `409` until the accept has settled. + * @export + * @interface OfferResponseAllocationWithdraw + */ +export interface OfferResponseAllocationWithdraw { + /** + * How you are answering the offer. Must be one of the values listed in the transaction\'s `cantonDetails.offerResponse.availableResponses` — TOP-LEVEL on the transaction, not nested under an `additionalInfo` envelope, which does not exist on `TransactionResponse`. `availableResponses` states what this offer TYPE accepts. It is set when the offer arrives and does not change, so it does NOT tell you whether the offer is still answerable — check `expiresAt` and the transaction\'s status for that, and expect this endpoint to be the authority: it re-checks state and expiry on every call and answers 409 when either has moved. + * @type {string} + * @memberof OfferResponseAllocationWithdraw + */ + 'responseType': OfferResponseAllocationWithdrawResponseTypeEnum; +} + +export const OfferResponseAllocationWithdrawResponseTypeEnum = { + AllocationWithdraw: 'ALLOCATION_WITHDRAW' +} as const; + +export type OfferResponseAllocationWithdrawResponseTypeEnum = typeof OfferResponseAllocationWithdrawResponseTypeEnum[keyof typeof OfferResponseAllocationWithdrawResponseTypeEnum]; + + diff --git a/models/offer-response.ts b/models/offer-response.ts index 4ec3b95b..29403036 100644 --- a/models/offer-response.ts +++ b/models/offer-response.ts @@ -24,6 +24,9 @@ import { OfferResponseAllocationAccept } from './offer-response-allocation-accep import { OfferResponseAllocationReject } from './offer-response-allocation-reject'; // May contain unused imports in some cases // @ts-ignore +import { OfferResponseAllocationWithdraw } from './offer-response-allocation-withdraw'; +// May contain unused imports in some cases +// @ts-ignore import { OfferResponseDtccOnboardingAccept } from './offer-response-dtcc-onboarding-accept'; // May contain unused imports in some cases // @ts-ignore @@ -48,6 +51,6 @@ import { OfferResponseTransferWithdraw } from './offer-response-transfer-withdra * @type OfferResponse * @export */ -export type OfferResponse = { responseType: 'ALLOCATION_ACCEPT' } & OfferResponseAllocationAccept | { responseType: 'ALLOCATION_REJECT' } & OfferResponseAllocationReject | { responseType: 'DTCC_END_INVESTOR_ONBOARDING_ACCEPT' } & OfferResponseDtccOnboardingAccept | { responseType: 'DTCC_END_INVESTOR_ONBOARDING_REJECT' } & OfferResponseDtccOnboardingReject | { responseType: 'TRADEWEB_COSIGNING_DELEGATION_ACCEPT' } & OfferResponseTradewebAccept | { responseType: 'TRADEWEB_COSIGNING_DELEGATION_REJECT' } & OfferResponseTradewebReject | { responseType: 'TRANSFER_ACCEPT' } & OfferResponseTransferAccept | { responseType: 'TRANSFER_REJECT' } & OfferResponseTransferReject | { responseType: 'TRANSFER_WITHDRAW' } & OfferResponseTransferWithdraw; +export type OfferResponse = { responseType: 'ALLOCATION_ACCEPT' } & OfferResponseAllocationAccept | { responseType: 'ALLOCATION_REJECT' } & OfferResponseAllocationReject | { responseType: 'ALLOCATION_WITHDRAW' } & OfferResponseAllocationWithdraw | { responseType: 'DTCC_END_INVESTOR_ONBOARDING_ACCEPT' } & OfferResponseDtccOnboardingAccept | { responseType: 'DTCC_END_INVESTOR_ONBOARDING_REJECT' } & OfferResponseDtccOnboardingReject | { responseType: 'TRADEWEB_COSIGNING_DELEGATION_ACCEPT' } & OfferResponseTradewebAccept | { responseType: 'TRADEWEB_COSIGNING_DELEGATION_REJECT' } & OfferResponseTradewebReject | { responseType: 'TRANSFER_ACCEPT' } & OfferResponseTransferAccept | { responseType: 'TRANSFER_REJECT' } & OfferResponseTransferReject | { responseType: 'TRANSFER_WITHDRAW' } & OfferResponseTransferWithdraw; diff --git a/models/participant-onboarding-payload.ts b/models/participant-onboarding-payload.ts index b3ba3d0f..f4d04dfd 100644 --- a/models/participant-onboarding-payload.ts +++ b/models/participant-onboarding-payload.ts @@ -15,66 +15,46 @@ /** - * + * Optional, and so is every field in it: omit `payload` entirely to onboard with DTCC\'s published parties for the blockchain and the default expiry. * @export * @interface ParticipantOnboardingPayload */ export interface ParticipantOnboardingPayload { /** - * The vault account that acts as the participant. Its Canton party is derived for you. - * @type {string} - * @memberof ParticipantOnboardingPayload - */ - 'vaultAccountId': string; - /** - * The blockchain this party is connected to — `CANTON` or `CANTON_TEST`. - * @type {string} - * @memberof ParticipantOnboardingPayload - */ - 'blockchainId': ParticipantOnboardingPayloadBlockchainIdEnum; - /** - * DTCC infra operator party id. + * When the onboarding request expires if it has not been answered. RFC 3339. * @type {string} * @memberof ParticipantOnboardingPayload */ - 'operator': string; + 'expiresAt'?: string; /** - * DTCC compliance party id. + * DTCC infra operator party id. Optional — overrides the service\'s default for the blockchain. * @type {string} * @memberof ParticipantOnboardingPayload */ - 'compliance': string; + 'operator'?: string; /** - * DTCC registrar party id — co-signs the accept. + * DTCC compliance party id. Optional — overrides the service\'s default for the blockchain. * @type {string} * @memberof ParticipantOnboardingPayload */ - 'registrar': string; + 'compliance'?: string; /** - * DTCC client onboarder party id — co-signs the accept. + * DTCC registrar party id — co-signs the accept. Optional — overrides the service\'s default for the blockchain. * @type {string} * @memberof ParticipantOnboardingPayload */ - 'clientOnboarder': string; + 'registrar'?: string; /** - * DTCC upgrader party id — the Model Upgrade Tool authority. Supplied by DTCC during the off-chain registration, alongside the other party ids. + * DTCC client onboarder party id — co-signs the accept. Optional — overrides the service\'s default for the blockchain. * @type {string} * @memberof ParticipantOnboardingPayload */ - 'upgrader': string; + 'clientOnboarder'?: string; /** - * When the onboarding request expires if it has not been answered. RFC 3339. + * DTCC upgrader party id — the Model Upgrade Tool authority. Optional — overrides the service\'s default for the blockchain. * @type {string} * @memberof ParticipantOnboardingPayload */ - 'expiresAt'?: string; + 'upgrader'?: string; } -export const ParticipantOnboardingPayloadBlockchainIdEnum = { - Canton: 'CANTON', - CantonTest: 'CANTON_TEST' -} as const; - -export type ParticipantOnboardingPayloadBlockchainIdEnum = typeof ParticipantOnboardingPayloadBlockchainIdEnum[keyof typeof ParticipantOnboardingPayloadBlockchainIdEnum]; - - diff --git a/network/axiosManager.ts b/network/axiosManager.ts index d7c5fbf4..ab8f8037 100644 --- a/network/axiosManager.ts +++ b/network/axiosManager.ts @@ -18,6 +18,7 @@ import axios from 'axios'; import { BearerTokenProvider } from "./bearerTokenProvider"; import { AdditionalOptions } from "../client/clientConfiguration"; import { handleError } from "../error/fireblocksError"; +import { operationIdFromConfig, warnOnLifecycleState } from "../utils/lifecycleWarning"; const API_KEY_HEADER_NAME = "X-API-Key"; const AUTHORIZATION_HEADER_NAME = "Authorization" @@ -55,13 +56,23 @@ export class AxiosManager { // Response interceptor for API calls this.axiosInstance.interceptors.response.use( - response => response, + response => { + this.warnOnLifecycle(response.headers, response.config, response.status); + return response; + }, (error: any) => { + // The lifecycle header is present on allowed error responses too, so + // warn before rethrowing. Network errors carry no response at all. + this.warnOnLifecycle(error?.response?.headers, error?.config, error?.response?.status); throw handleError(error); } ); } + private warnOnLifecycle(headers: unknown, config: unknown, status?: number): void { + warnOnLifecycleState(headers, operationIdFromConfig(config), status); + } + public getHeaders(config: InternalAxiosRequestConfig): Record { return { ...this.getApiKeyHeader(), diff --git a/package-lock.json b/package-lock.json index f1f4a8ae..2446ba93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fireblocks/ts-sdk", - "version": "34.0.0", + "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@fireblocks/ts-sdk", - "version": "34.0.0", + "version": "0.0.0", "license": "MIT License", "dependencies": { "axios": "^1.15.2", @@ -213,9 +213,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.29.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.8.tgz", - "integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==", + "version": "7.29.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz", + "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==", "dev": true, "license": "MIT", "dependencies": { @@ -1294,9 +1294,9 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.11.24", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.24.tgz", - "integrity": "sha512-hYrgxie335U08WqICoGqKRzV1HFXv6zdxwJE4ekCb80CM9a0SVVsN4QPwT67RraRo+9h8IATk6uxHJw7QSkdOg==", + "version": "2.11.25", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.25.tgz", + "integrity": "sha512-gMmEShwwq7FJqMwvfRwvCl00v4kN+KOfJqXn+f4nrufak5gNHJOksd/60Dvjuz7sI8Y5WiSFBa8FEYr+zoyqCw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -1715,9 +1715,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.429", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.429.tgz", - "integrity": "sha512-/1ENIE3cx4HTIx4IfPZFaOunJmsrSVTnj6coXoRVbiJUbkeTyFkJvBeWGkdgh08OhFbxYLMT1kbkwFVSarq6Ow==", + "version": "1.5.435", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.435.tgz", + "integrity": "sha512-hwZNgb6JmRlmQX/L0yojyu6upuvtR7iGS1hB/9nc7I9vCsvekahqh3noFeXUBRirv9+Hk7E6v/LFz4CW6FvpWA==", "dev": true, "license": "ISC" }, @@ -2248,13 +2248,13 @@ "license": "MIT" }, "node_modules/is-core-module": { - "version": "2.16.2", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.2.tgz", - "integrity": "sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz", + "integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==", "dev": true, "license": "MIT", "dependencies": { - "hasown": "^2.0.3" + "hasown": "^2.0.4" }, "engines": { "node": ">= 0.4" @@ -3371,9 +3371,9 @@ "license": "MIT" }, "node_modules/node-releases": { - "version": "2.0.55", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.55.tgz", - "integrity": "sha512-mIrE/Cw9y+9Au6dS5vDKDhQza9YvG6w+ZrS6X+ZzA7yFW/soAeaups4Qzn1bL6g5FVy8WtP79+0j82oPIbqRjQ==", + "version": "2.0.56", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.56.tgz", + "integrity": "sha512-x0InOIyzgdk+eyaWaRJFH5snEtiImgBgblZ2CyPrLmqqcuMQkEvcDPHbzqbD8eDsSeJbVOjn+crzyzHaM4D+/A==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index a7dca292..584251d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fireblocks/ts-sdk", - "version": "34.0.0", + "version": "0.0.0", "description": "OpenAPI client for @fireblocks/ts-sdk", "author": "Fireblocks SDK Generator", "repository": { diff --git a/tests/client.spec.ts b/tests/client.spec.ts index 714605c9..a7a603d6 100644 --- a/tests/client.spec.ts +++ b/tests/client.spec.ts @@ -55,7 +55,7 @@ TRLinkApi, TagsApi, TempoBetaApi, TokenizationApi, -TradingBetaApi, +TradingApi, TransactionsApi, TravelRuleApi, UTXOManagementBetaApi, @@ -117,7 +117,7 @@ let mockTRLinkApi: jest.Mock; let mockTagsApi: jest.Mock; let mockTempoBetaApi: jest.Mock; let mockTokenizationApi: jest.Mock; -let mockTradingBetaApi: jest.Mock; +let mockTradingApi: jest.Mock; let mockTransactionsApi: jest.Mock; let mockTravelRuleApi: jest.Mock; let mockUTXOManagementBetaApi: jest.Mock; @@ -176,7 +176,7 @@ jest.mock('../api', () => { mockTagsApi = jest.fn(); mockTempoBetaApi = jest.fn(); mockTokenizationApi = jest.fn(); - mockTradingBetaApi = jest.fn(); + mockTradingApi = jest.fn(); mockTransactionsApi = jest.fn(); mockTravelRuleApi = jest.fn(); mockUTXOManagementBetaApi = jest.fn(); @@ -236,7 +236,7 @@ jest.mock('../api', () => { TagsApi: mockTagsApi, TempoBetaApi: mockTempoBetaApi, TokenizationApi: mockTokenizationApi, - TradingBetaApi: mockTradingBetaApi, + TradingApi: mockTradingApi, TransactionsApi: mockTransactionsApi, TravelRuleApi: mockTravelRuleApi, UTXOManagementBetaApi: mockUTXOManagementBetaApi, @@ -504,9 +504,9 @@ describe("Fireblocks Client Tests", () => { expect(fireblocks.tokenization).toBeInstanceOf(TokenizationApi); expect(mockTokenizationApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios); }); - it('Should return TradingBetaApi', async () => { - expect(fireblocks.tradingBeta).toBeInstanceOf(TradingBetaApi); - expect(mockTradingBetaApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios); + it('Should return TradingApi', async () => { + expect(fireblocks.trading).toBeInstanceOf(TradingApi); + expect(mockTradingApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios); }); it('Should return TransactionsApi', async () => { expect(fireblocks.transactions).toBeInstanceOf(TransactionsApi); diff --git a/tests/lifecycleWarning.spec.ts b/tests/lifecycleWarning.spec.ts new file mode 100644 index 00000000..344532c8 --- /dev/null +++ b/tests/lifecycleWarning.spec.ts @@ -0,0 +1,369 @@ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: developers@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. + */ + + +import { + LIFECYCLE_STATE_HEADER, + LINK_HEADER, + OPERATION_ID_CONFIG_KEY, + SUNSET_HEADER, + SUPPRESS_ENV_VAR, + buildLifecycleWarning, + isSuppressed, + operationIdFromConfig, + warnOnLifecycleState, +} from '../utils/lifecycleWarning'; + +const SUNSET = 'Fri, 15 Jan 2027 00:00:00 GMT'; +const MIGRATION_GUIDE = 'https://developer.fireblocks.com/docs/v2-migration'; +const SUCCESSOR = 'https://api.fireblocks.io/v1/transactions_v2'; + +function headers(state?: string, sunset?: string, link?: string): Record { + const result: Record = {}; + if (state !== undefined) { result[LIFECYCLE_STATE_HEADER] = state; } + if (sunset !== undefined) { result[SUNSET_HEADER] = sunset; } + if (link !== undefined) { result[LINK_HEADER] = link; } + return result; +} + +describe('lifecycleWarning', () => { + let consoleWarn: jest.SpyInstance; + let originalSuppressionValue: string | undefined; + + beforeEach(() => { + // A developer may export FIREBLOCKS_SDK_SUPPRESS_LIFECYCLE_WARNING in their shell + // to quiet the warnings. Tests that expect a warning must not inherit that. + originalSuppressionValue = process.env[SUPPRESS_ENV_VAR]; + delete process.env[SUPPRESS_ENV_VAR]; + // Warnings go to console - there is no customer-facing logger option. + consoleWarn = jest.spyOn(console, 'warn').mockImplementation(() => undefined); + }); + + afterEach(() => { + consoleWarn.mockRestore(); + if (originalSuppressionValue === undefined) { + delete process.env[SUPPRESS_ENV_VAR]; + } else { + process.env[SUPPRESS_ENV_VAR] = originalSuppressionValue; + } + }); + + describe('emission', () => { + it('emits one warning for a non-GA state', () => { + warnOnLifecycleState(headers('beta'), 'createTransaction'); + expect(consoleWarn).toHaveBeenCalledTimes(1); + expect(consoleWarn.mock.calls[0][0]).toContain('createTransaction'); + expect(consoleWarn.mock.calls[0][0]).toContain('beta'); + }); + + it('emits per execution, not once per operation', () => { + warnOnLifecycleState(headers('beta'), 'createTransaction'); + warnOnLifecycleState(headers('beta'), 'createTransaction'); + expect(consoleWarn).toHaveBeenCalledTimes(2); + }); + + it('emits for each distinct operation', () => { + warnOnLifecycleState(headers('beta'), 'createTransaction'); + warnOnLifecycleState(headers('closed'), 'getVaultAccount', 200); + expect(consoleWarn).toHaveBeenCalledTimes(2); + }); + }); + + describe('silence', () => { + it.each([ + 'ga', + 'internal', + 'unlisted', + 'private_beta', // the old name for beta: no longer recognised + 'quantum_preview', + '', + ' ', + 'private beta', + 'private-beta', + '