diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 23385cc..7136b8f 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -6,6 +6,7 @@ APIUsers.md AbiFunction.md Account.md AccountType.md +AddAbiRequestDto.md AddAssetToExternalWalletRequest.md AddAssetToExternalWalletRequestOneOf.md AddAssetToExternalWalletRequestOneOf1.md @@ -28,7 +29,6 @@ AssetAlreadyExistHttpError.md AssetAmount.md AssetBadRequestErrorResponse.md AssetConflictErrorResponse.md -AssetDoesNotExistHttpError.md AssetForbiddenErrorResponse.md AssetInternalServerErrorResponse.md AssetMetadataDto.md @@ -52,8 +52,17 @@ BlockInfo.md BlockchainsAssetsApi.md CancelTransactionResponse.md ChainInfoResponseDto.md +CollectionBurnRequestDto.md +CollectionBurnResponseDto.md +CollectionDeployRequestDto.md +CollectionLinkDto.md CollectionMetadataDto.md +CollectionMintRequestDto.md +CollectionMintResponseDto.md CollectionOwnershipResponse.md +CollectionTokenMetadataAttributeDto.md +CollectionTokenMetadataDto.md +CollectionType.md ComplianceApi.md ComplianceResult.md ComplianceScreeningConfigurationApi.md @@ -78,6 +87,7 @@ ContractMetadataDto.md ContractTemplateDto.md ContractTemplatesApi.md ContractUploadRequest.md +ContractWithAbiDto.md ContractsApi.md ConversionConfigOperation.md ConversionOperationConfigParams.md @@ -114,6 +124,7 @@ CreateNcwConnectionRequest.md CreateNetworkIdRequest.md CreatePayoutRequest.md CreateSigningKeyDto.md +CreateSigningKeyDtoProofOfOwnership.md CreateTokenRequestDto.md CreateTokenRequestDtoCreateParams.md CreateTransactionResponse.md @@ -185,6 +196,7 @@ ExecutionTransferOperation.md ExternalWalletAsset.md ExternalWalletsApi.md FeeInfo.md +FetchAbiRequestDto.md FiatAccount.md FiatAccountType.md FiatAccountsApi.md @@ -198,7 +210,6 @@ GasStationPropertiesResponse.md GasStationsApi.md GetAPIUsersResponse.md GetAuditLogsResponse.md -GetAuditLogsResponseDTO.md GetConnectionsResponse.md GetConsoleUsersResponse.md GetContractsResponse.md @@ -208,6 +219,7 @@ GetExternalWalletsResponse.md GetFiatAccountsResponse.md GetFilterParameter.md GetInternalWalletsResponse.md +GetLinkedCollectionsPaginatedResponse.md GetMaxSpendableAmountResponse.md GetNFTsResponse.md GetNetworkConnectionsResponse.md @@ -327,6 +339,8 @@ RelatedTransactionDto.md RemoveCollateralRequestBody.md RenameCosigner.md RenameVaultAccountResponse.md +RescanTransaction.md +RescanTransactionRequest.md ResendTransactionWebhooksRequest.md ResendWebhooksByTransactionIdResponse.md ResendWebhooksResponse.md @@ -457,10 +471,22 @@ TransferValidationFailure.md TravelRuleAddress.md TravelRuleBetaApi.md TravelRuleCreateTransactionRequest.md +TravelRuleDateAndPlaceOfBirth.md +TravelRuleGeographicAddress.md TravelRuleGetAllVASPsResponse.md TravelRuleIssuer.md TravelRuleIssuers.md +TravelRuleLegalNameIdentifiers.md +TravelRuleLegalPerson.md +TravelRuleLegalPersonNameIdentifier.md +TravelRuleNationalIdentification.md +TravelRuleNaturalNameIdentifier.md +TravelRuleNaturalNameIdentifiers.md +TravelRuleNaturalPerson.md +TravelRuleNaturalPersonNameIdentifier.md TravelRuleOwnershipProof.md +TravelRulePerson.md +TravelRulePersons.md TravelRulePiiIVMS.md TravelRulePolicyRuleResponse.md TravelRuleTransactionBlockchainInfo.md @@ -491,6 +517,8 @@ UserStatus.md UserType.md UsersApi.md ValidateAddressResponse.md +ValidatedTransactionsForRescan.md +ValidatedTransactionsForRescanResponse.md ValidationKeyDto.md ValidatorDto.md VaultAccount.md @@ -564,6 +592,7 @@ index.ts models/abi-function.ts models/account-type.ts models/account.ts +models/add-abi-request-dto.ts models/add-asset-to-external-wallet-request-one-of.ts models/add-asset-to-external-wallet-request-one-of1-additional-info-one-of.ts models/add-asset-to-external-wallet-request-one-of1-additional-info-one-of1.ts @@ -587,7 +616,6 @@ models/asset-already-exist-http-error.ts models/asset-amount.ts models/asset-bad-request-error-response.ts models/asset-conflict-error-response.ts -models/asset-does-not-exist-http-error.ts models/asset-forbidden-error-response.ts models/asset-internal-server-error-response.ts models/asset-metadata-dto.ts @@ -608,8 +636,17 @@ models/authorization-info.ts models/block-info.ts models/cancel-transaction-response.ts models/chain-info-response-dto.ts +models/collection-burn-request-dto.ts +models/collection-burn-response-dto.ts +models/collection-deploy-request-dto.ts +models/collection-link-dto.ts models/collection-metadata-dto.ts +models/collection-mint-request-dto.ts +models/collection-mint-response-dto.ts models/collection-ownership-response.ts +models/collection-token-metadata-attribute-dto.ts +models/collection-token-metadata-dto.ts +models/collection-type.ts models/compliance-result.ts models/compliance-screening-result.ts models/config-change-request-status.ts @@ -629,6 +666,7 @@ models/contract-doc.ts models/contract-metadata-dto.ts models/contract-template-dto.ts models/contract-upload-request.ts +models/contract-with-abi-dto.ts models/conversion-config-operation.ts models/conversion-operation-config-params.ts models/conversion-operation-execution-output.ts @@ -662,6 +700,7 @@ models/create-multiple-accounts-request.ts models/create-ncw-connection-request.ts models/create-network-id-request.ts models/create-payout-request.ts +models/create-signing-key-dto-proof-of-ownership.ts models/create-signing-key-dto.ts models/create-token-request-dto-create-params.ts models/create-token-request-dto.ts @@ -731,6 +770,7 @@ models/execution-screening-operation.ts models/execution-transfer-operation.ts models/external-wallet-asset.ts models/fee-info.ts +models/fetch-abi-request-dto.ts models/fiat-account-type.ts models/fiat-account.ts models/fiat-asset.ts @@ -741,7 +781,6 @@ models/gas-station-configuration-response.ts models/gas-station-configuration.ts models/gas-station-properties-response.ts models/get-apiusers-response.ts -models/get-audit-logs-response-dto.ts models/get-audit-logs-response.ts models/get-connections-response.ts models/get-console-users-response.ts @@ -752,6 +791,7 @@ models/get-external-wallets-response.ts models/get-fiat-accounts-response.ts models/get-filter-parameter.ts models/get-internal-wallets-response.ts +models/get-linked-collections-paginated-response.ts models/get-max-spendable-amount-response.ts models/get-network-connections-response.ts models/get-network-ids-response.ts @@ -861,6 +901,8 @@ models/related-transaction-dto.ts models/remove-collateral-request-body.ts models/rename-cosigner.ts models/rename-vault-account-response.ts +models/rescan-transaction-request.ts +models/rescan-transaction.ts models/resend-transaction-webhooks-request.ts models/resend-webhooks-by-transaction-id-response.ts models/resend-webhooks-response.ts @@ -985,10 +1027,22 @@ models/transfer-peer-path-type.ts models/transfer-validation-failure.ts models/travel-rule-address.ts models/travel-rule-create-transaction-request.ts +models/travel-rule-date-and-place-of-birth.ts +models/travel-rule-geographic-address.ts models/travel-rule-get-all-vasps-response.ts models/travel-rule-issuer.ts models/travel-rule-issuers.ts +models/travel-rule-legal-name-identifiers.ts +models/travel-rule-legal-person-name-identifier.ts +models/travel-rule-legal-person.ts +models/travel-rule-national-identification.ts +models/travel-rule-natural-name-identifier.ts +models/travel-rule-natural-name-identifiers.ts +models/travel-rule-natural-person-name-identifier.ts +models/travel-rule-natural-person.ts models/travel-rule-ownership-proof.ts +models/travel-rule-person.ts +models/travel-rule-persons.ts models/travel-rule-pii-ivms.ts models/travel-rule-policy-rule-response.ts models/travel-rule-transaction-blockchain-info.ts @@ -1017,6 +1071,8 @@ models/user-role.ts models/user-status.ts models/user-type.ts models/validate-address-response.ts +models/validated-transactions-for-rescan-response.ts +models/validated-transactions-for-rescan.ts models/validation-key-dto.ts models/validator-dto.ts models/vault-account.ts diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 8111f59..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,63 +0,0 @@ -### Changelog - -All notable changes to this project will be documented in this file. Dates are displayed in UTC. - -#### [v3.1.0](https://github.com/fireblocks/ts-sdk/compare/v3.0.0...v3.1.0) - -> 25 July 2024 - -- Generated SDK #6749 [`#102`](https://github.com/fireblocks/ts-sdk/pull/102) - -### [v3.0.0](https://github.com/fireblocks/ts-sdk/compare/v2.1.0...v3.0.0) - -> 17 July 2024 - -- Generated SDK #6152 [`#90`](https://github.com/fireblocks/ts-sdk/pull/90) -- Generated SDK #2589 [`#86`](https://github.com/fireblocks/ts-sdk/pull/86) -- Generated SDK #7882 [`#85`](https://github.com/fireblocks/ts-sdk/pull/85) -- Generated SDK #8418 [`#84`](https://github.com/fireblocks/ts-sdk/pull/84) -- Generated SDK #3524 [`#83`](https://github.com/fireblocks/ts-sdk/pull/83) -- Generated SDK #7984 [`#82`](https://github.com/fireblocks/ts-sdk/pull/82) -- Generated SDK #2873 [`#81`](https://github.com/fireblocks/ts-sdk/pull/81) - -#### [v2.1.0](https://github.com/fireblocks/ts-sdk/compare/v2.0.0...v2.1.0) - -> 4 June 2024 - -- Generated SDK for version COR-46191/fix_pipelines [`#44`](https://github.com/fireblocks/ts-sdk/pull/44) - -### [v2.0.0](https://github.com/fireblocks/ts-sdk/compare/v1.1.0...v2.0.0) - -> 8 May 2024 - -- feat: add tokenization api [`#35`](https://github.com/fireblocks/ts-sdk/pull/35) - -#### [v1.1.0](https://github.com/fireblocks/ts-sdk/compare/v1.0.1...v1.1.0) - -> 17 April 2024 - -- feat: adding consigners beta api [`#34`](https://github.com/fireblocks/ts-sdk/pull/34) -- fix: modify error message when secretKey missing and fix readme doc [`#33`](https://github.com/fireblocks/ts-sdk/pull/33) - -#### [v1.0.1](https://github.com/fireblocks/ts-sdk/compare/v1.0.0...v1.0.1) - -> 7 April 2024 - -- Generated SDK for version v1.0.1 [`#32`](https://github.com/fireblocks/ts-sdk/pull/32) - -#### v1.0.0 - -> 7 April 2024 - -- Generated SDK for version v1.0.0 GA [`#31`](https://github.com/fireblocks/ts-sdk/pull/31) -- add_license [`#30`](https://github.com/fireblocks/ts-sdk/pull/30) -- version_3_0_6_beta [`#29`](https://github.com/fireblocks/ts-sdk/pull/29) -- version_3_0_5_beta [`#27`](https://github.com/fireblocks/ts-sdk/pull/27) -- Version 3.0.4-beta [`#26`](https://github.com/fireblocks/ts-sdk/pull/26) -- Fireblocks api spec/generated/9818 [`#25`](https://github.com/fireblocks/ts-sdk/pull/25) -- Generated SDK for version 9817 [`#24`](https://github.com/fireblocks/ts-sdk/pull/24) -- Generated SDK for version master [`#23`](https://github.com/fireblocks/ts-sdk/pull/23) -- Added Idempotency & NCW headers support [`#22`](https://github.com/fireblocks/ts-sdk/pull/22) -- API SDK Improvments [`#21`](https://github.com/fireblocks/ts-sdk/pull/21) -- Update README.md [`#18`](https://github.com/fireblocks/ts-sdk/pull/18) -- Update README.md [`#17`](https://github.com/fireblocks/ts-sdk/pull/17) diff --git a/README.md b/README.md index b278a68..cc8ab58 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,6 @@ Class | Method | HTTP request | Description *ApiUserApi* | [**getApiUsers**](docs/apis/ApiUserApi.md#getApiUsers) | **GET** /management/api_users | Get Api users *AssetsApi* | [**createAssetsBulk**](docs/apis/AssetsApi.md#createAssetsBulk) | **POST** /vault/assets/bulk | Bulk creation of wallets *AuditLogsApi* | [**getAuditLogs**](docs/apis/AuditLogsApi.md#getAuditLogs) | **GET** /management/audit_logs | Get audit logs -*AuditLogsApi* | [**getAudits**](docs/apis/AuditLogsApi.md#getAudits) | **GET** /audits | Get audit logs *BlockchainsAssetsApi* | [**getSupportedAssets**](docs/apis/BlockchainsAssetsApi.md#getSupportedAssets) | **GET** /supported_assets | List all asset types supported by Fireblocks *BlockchainsAssetsApi* | [**registerNewAsset**](docs/apis/BlockchainsAssetsApi.md#registerNewAsset) | **POST** /assets | Register an asset *BlockchainsAssetsApi* | [**setAssetPrice**](docs/apis/BlockchainsAssetsApi.md#setAssetPrice) | **POST** /assets/prices/{id} | Set asset price @@ -167,6 +166,8 @@ Class | Method | HTTP request | Description *CosignersBetaApi* | [**getCosigner**](docs/apis/CosignersBetaApi.md#getCosigner) | **GET** /cosigners/{cosignerId} | Get cosigner *CosignersBetaApi* | [**getCosigners**](docs/apis/CosignersBetaApi.md#getCosigners) | **GET** /cosigners | Get all cosigners *CosignersBetaApi* | [**renameCosigner**](docs/apis/CosignersBetaApi.md#renameCosigner) | **PATCH** /cosigners/{cosignerId} | Rename cosigner +*DeployedContractsApi* | [**addContractABI**](docs/apis/DeployedContractsApi.md#addContractABI) | **POST** /tokenization/contracts/abi | Save contract ABI +*DeployedContractsApi* | [**fetchContractAbi**](docs/apis/DeployedContractsApi.md#fetchContractAbi) | **POST** /tokenization/contracts/fetch_abi | Fetch the contract ABI *DeployedContractsApi* | [**getDeployedContractByAddress**](docs/apis/DeployedContractsApi.md#getDeployedContractByAddress) | **GET** /tokenization/contracts/{assetId}/{contractAddress} | Return deployed contract data *DeployedContractsApi* | [**getDeployedContractById**](docs/apis/DeployedContractsApi.md#getDeployedContractById) | **GET** /tokenization/contracts/{id} | Return deployed contract data by id *DeployedContractsApi* | [**getDeployedContracts**](docs/apis/DeployedContractsApi.md#getDeployedContracts) | **GET** /tokenization/contracts | List deployed contracts data @@ -279,11 +280,18 @@ Class | Method | HTTP request | Description *StakingBetaApi* | [**getProviders**](docs/apis/StakingBetaApi.md#getProviders) | **GET** /staking/providers | *StakingBetaApi* | [**getSummary**](docs/apis/StakingBetaApi.md#getSummary) | **GET** /staking/positions/summary | *StakingBetaApi* | [**getSummaryByVault**](docs/apis/StakingBetaApi.md#getSummaryByVault) | **GET** /staking/positions/summary/vaults | +*TokenizationApi* | [**burnCollectionToken**](docs/apis/TokenizationApi.md#burnCollectionToken) | **POST** /tokenization/collections/{id}/tokens/burn | Burn tokens +*TokenizationApi* | [**createNewCollection**](docs/apis/TokenizationApi.md#createNewCollection) | **POST** /tokenization/collections | Create a new collection +*TokenizationApi* | [**fetchCollectionTokenDetails**](docs/apis/TokenizationApi.md#fetchCollectionTokenDetails) | **GET** /tokenization/collections/{id}/tokens/{tokenId} | Get collection token details +*TokenizationApi* | [**getCollectionById**](docs/apis/TokenizationApi.md#getCollectionById) | **GET** /tokenization/collections/{id} | Get a collection by id +*TokenizationApi* | [**getLinkedCollections**](docs/apis/TokenizationApi.md#getLinkedCollections) | **GET** /tokenization/collections | Get collections *TokenizationApi* | [**getLinkedToken**](docs/apis/TokenizationApi.md#getLinkedToken) | **GET** /tokenization/tokens/{id} | Return a linked token *TokenizationApi* | [**getLinkedTokens**](docs/apis/TokenizationApi.md#getLinkedTokens) | **GET** /tokenization/tokens | List all linked tokens *TokenizationApi* | [**issueNewToken**](docs/apis/TokenizationApi.md#issueNewToken) | **POST** /tokenization/tokens | Issue a new token -*TokenizationApi* | [**link**](docs/apis/TokenizationApi.md#link) | **POST** /tokenization/tokens/link | Link a token +*TokenizationApi* | [**link**](docs/apis/TokenizationApi.md#link) | **POST** /tokenization/tokens/link | Link a contract +*TokenizationApi* | [**mintCollectionToken**](docs/apis/TokenizationApi.md#mintCollectionToken) | **POST** /tokenization/collections/{id}/tokens/mint | Mint tokens *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 *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 transaction by ID @@ -293,6 +301,7 @@ Class | Method | HTTP request | Description *TransactionsApi* | [**getTransaction**](docs/apis/TransactionsApi.md#getTransaction) | **GET** /transactions/{txId} | Find a specific transaction by Fireblocks transaction ID *TransactionsApi* | [**getTransactionByExternalId**](docs/apis/TransactionsApi.md#getTransactionByExternalId) | **GET** /transactions/external_tx_id/{externalTxId} | Find a specific transaction by external transaction ID *TransactionsApi* | [**getTransactions**](docs/apis/TransactionsApi.md#getTransactions) | **GET** /transactions | List transaction history +*TransactionsApi* | [**rescanTransactionsBeta**](docs/apis/TransactionsApi.md#rescanTransactionsBeta) | **POST** /transactions/rescan | rescan array of transactions *TransactionsApi* | [**setConfirmationThresholdByTransactionHash**](docs/apis/TransactionsApi.md#setConfirmationThresholdByTransactionHash) | **POST** /txHash/{txHash}/set_confirmation_threshold | Set confirmation threshold by transaction hash *TransactionsApi* | [**setTransactionConfirmationThreshold**](docs/apis/TransactionsApi.md#setTransactionConfirmationThreshold) | **POST** /transactions/{txId}/set_confirmation_threshold | Set confirmation threshold by transaction ID *TransactionsApi* | [**unfreezeTransaction**](docs/apis/TransactionsApi.md#unfreezeTransaction) | **POST** /transactions/{txId}/unfreeze | Unfreeze a transaction @@ -350,6 +359,7 @@ Class | Method | HTTP request | Description - [AbiFunction](docs/models/AbiFunction.md) - [Account](docs/models/Account.md) - [AccountType](docs/models/AccountType.md) + - [AddAbiRequestDto](docs/models/AddAbiRequestDto.md) - [AddAssetToExternalWalletRequest](docs/models/AddAssetToExternalWalletRequest.md) - [AddAssetToExternalWalletRequestOneOf](docs/models/AddAssetToExternalWalletRequestOneOf.md) - [AddAssetToExternalWalletRequestOneOf1](docs/models/AddAssetToExternalWalletRequestOneOf1.md) @@ -371,7 +381,6 @@ Class | Method | HTTP request | Description - [AssetAmount](docs/models/AssetAmount.md) - [AssetBadRequestErrorResponse](docs/models/AssetBadRequestErrorResponse.md) - [AssetConflictErrorResponse](docs/models/AssetConflictErrorResponse.md) - - [AssetDoesNotExistHttpError](docs/models/AssetDoesNotExistHttpError.md) - [AssetForbiddenErrorResponse](docs/models/AssetForbiddenErrorResponse.md) - [AssetInternalServerErrorResponse](docs/models/AssetInternalServerErrorResponse.md) - [AssetMetadataDto](docs/models/AssetMetadataDto.md) @@ -392,8 +401,17 @@ Class | Method | HTTP request | Description - [BlockInfo](docs/models/BlockInfo.md) - [CancelTransactionResponse](docs/models/CancelTransactionResponse.md) - [ChainInfoResponseDto](docs/models/ChainInfoResponseDto.md) + - [CollectionBurnRequestDto](docs/models/CollectionBurnRequestDto.md) + - [CollectionBurnResponseDto](docs/models/CollectionBurnResponseDto.md) + - [CollectionDeployRequestDto](docs/models/CollectionDeployRequestDto.md) + - [CollectionLinkDto](docs/models/CollectionLinkDto.md) - [CollectionMetadataDto](docs/models/CollectionMetadataDto.md) + - [CollectionMintRequestDto](docs/models/CollectionMintRequestDto.md) + - [CollectionMintResponseDto](docs/models/CollectionMintResponseDto.md) - [CollectionOwnershipResponse](docs/models/CollectionOwnershipResponse.md) + - [CollectionTokenMetadataAttributeDto](docs/models/CollectionTokenMetadataAttributeDto.md) + - [CollectionTokenMetadataDto](docs/models/CollectionTokenMetadataDto.md) + - [CollectionType](docs/models/CollectionType.md) - [ComplianceResult](docs/models/ComplianceResult.md) - [ComplianceScreeningResult](docs/models/ComplianceScreeningResult.md) - [ConfigChangeRequestStatus](docs/models/ConfigChangeRequestStatus.md) @@ -413,6 +431,7 @@ Class | Method | HTTP request | Description - [ContractMetadataDto](docs/models/ContractMetadataDto.md) - [ContractTemplateDto](docs/models/ContractTemplateDto.md) - [ContractUploadRequest](docs/models/ContractUploadRequest.md) + - [ContractWithAbiDto](docs/models/ContractWithAbiDto.md) - [ConversionConfigOperation](docs/models/ConversionConfigOperation.md) - [ConversionOperationConfigParams](docs/models/ConversionOperationConfigParams.md) - [ConversionOperationExecution](docs/models/ConversionOperationExecution.md) @@ -447,6 +466,7 @@ Class | Method | HTTP request | Description - [CreateNetworkIdRequest](docs/models/CreateNetworkIdRequest.md) - [CreatePayoutRequest](docs/models/CreatePayoutRequest.md) - [CreateSigningKeyDto](docs/models/CreateSigningKeyDto.md) + - [CreateSigningKeyDtoProofOfOwnership](docs/models/CreateSigningKeyDtoProofOfOwnership.md) - [CreateTokenRequestDto](docs/models/CreateTokenRequestDto.md) - [CreateTokenRequestDtoCreateParams](docs/models/CreateTokenRequestDtoCreateParams.md) - [CreateTransactionResponse](docs/models/CreateTransactionResponse.md) @@ -515,6 +535,7 @@ Class | Method | HTTP request | Description - [ExecutionTransferOperation](docs/models/ExecutionTransferOperation.md) - [ExternalWalletAsset](docs/models/ExternalWalletAsset.md) - [FeeInfo](docs/models/FeeInfo.md) + - [FetchAbiRequestDto](docs/models/FetchAbiRequestDto.md) - [FiatAccount](docs/models/FiatAccount.md) - [FiatAccountType](docs/models/FiatAccountType.md) - [FiatAsset](docs/models/FiatAsset.md) @@ -526,7 +547,6 @@ Class | Method | HTTP request | Description - [GasStationPropertiesResponse](docs/models/GasStationPropertiesResponse.md) - [GetAPIUsersResponse](docs/models/GetAPIUsersResponse.md) - [GetAuditLogsResponse](docs/models/GetAuditLogsResponse.md) - - [GetAuditLogsResponseDTO](docs/models/GetAuditLogsResponseDTO.md) - [GetConnectionsResponse](docs/models/GetConnectionsResponse.md) - [GetConsoleUsersResponse](docs/models/GetConsoleUsersResponse.md) - [GetContractsResponse](docs/models/GetContractsResponse.md) @@ -536,6 +556,7 @@ Class | Method | HTTP request | Description - [GetFiatAccountsResponse](docs/models/GetFiatAccountsResponse.md) - [GetFilterParameter](docs/models/GetFilterParameter.md) - [GetInternalWalletsResponse](docs/models/GetInternalWalletsResponse.md) + - [GetLinkedCollectionsPaginatedResponse](docs/models/GetLinkedCollectionsPaginatedResponse.md) - [GetMaxSpendableAmountResponse](docs/models/GetMaxSpendableAmountResponse.md) - [GetNFTsResponse](docs/models/GetNFTsResponse.md) - [GetNetworkConnectionsResponse](docs/models/GetNetworkConnectionsResponse.md) @@ -644,6 +665,8 @@ Class | Method | HTTP request | Description - [RemoveCollateralRequestBody](docs/models/RemoveCollateralRequestBody.md) - [RenameCosigner](docs/models/RenameCosigner.md) - [RenameVaultAccountResponse](docs/models/RenameVaultAccountResponse.md) + - [RescanTransaction](docs/models/RescanTransaction.md) + - [RescanTransactionRequest](docs/models/RescanTransactionRequest.md) - [ResendTransactionWebhooksRequest](docs/models/ResendTransactionWebhooksRequest.md) - [ResendWebhooksByTransactionIdResponse](docs/models/ResendWebhooksByTransactionIdResponse.md) - [ResendWebhooksResponse](docs/models/ResendWebhooksResponse.md) @@ -768,10 +791,22 @@ Class | Method | HTTP request | Description - [TransferValidationFailure](docs/models/TransferValidationFailure.md) - [TravelRuleAddress](docs/models/TravelRuleAddress.md) - [TravelRuleCreateTransactionRequest](docs/models/TravelRuleCreateTransactionRequest.md) + - [TravelRuleDateAndPlaceOfBirth](docs/models/TravelRuleDateAndPlaceOfBirth.md) + - [TravelRuleGeographicAddress](docs/models/TravelRuleGeographicAddress.md) - [TravelRuleGetAllVASPsResponse](docs/models/TravelRuleGetAllVASPsResponse.md) - [TravelRuleIssuer](docs/models/TravelRuleIssuer.md) - [TravelRuleIssuers](docs/models/TravelRuleIssuers.md) + - [TravelRuleLegalNameIdentifiers](docs/models/TravelRuleLegalNameIdentifiers.md) + - [TravelRuleLegalPerson](docs/models/TravelRuleLegalPerson.md) + - [TravelRuleLegalPersonNameIdentifier](docs/models/TravelRuleLegalPersonNameIdentifier.md) + - [TravelRuleNationalIdentification](docs/models/TravelRuleNationalIdentification.md) + - [TravelRuleNaturalNameIdentifier](docs/models/TravelRuleNaturalNameIdentifier.md) + - [TravelRuleNaturalNameIdentifiers](docs/models/TravelRuleNaturalNameIdentifiers.md) + - [TravelRuleNaturalPerson](docs/models/TravelRuleNaturalPerson.md) + - [TravelRuleNaturalPersonNameIdentifier](docs/models/TravelRuleNaturalPersonNameIdentifier.md) - [TravelRuleOwnershipProof](docs/models/TravelRuleOwnershipProof.md) + - [TravelRulePerson](docs/models/TravelRulePerson.md) + - [TravelRulePersons](docs/models/TravelRulePersons.md) - [TravelRulePiiIVMS](docs/models/TravelRulePiiIVMS.md) - [TravelRulePolicyRuleResponse](docs/models/TravelRulePolicyRuleResponse.md) - [TravelRuleTransactionBlockchainInfo](docs/models/TravelRuleTransactionBlockchainInfo.md) @@ -800,6 +835,8 @@ Class | Method | HTTP request | Description - [UserStatus](docs/models/UserStatus.md) - [UserType](docs/models/UserType.md) - [ValidateAddressResponse](docs/models/ValidateAddressResponse.md) + - [ValidatedTransactionsForRescan](docs/models/ValidatedTransactionsForRescan.md) + - [ValidatedTransactionsForRescanResponse](docs/models/ValidatedTransactionsForRescanResponse.md) - [ValidationKeyDto](docs/models/ValidationKeyDto.md) - [ValidatorDto](docs/models/ValidatorDto.md) - [VaultAccount](docs/models/VaultAccount.md) diff --git a/api/audit-logs-api.ts b/api/audit-logs-api.ts index cddd9c0..a382f02 100644 --- a/api/audit-logs-api.ts +++ b/api/audit-logs-api.ts @@ -30,8 +30,6 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, ope import { ErrorSchema } from '../models'; // @ts-ignore import { GetAuditLogsResponse } from '../models'; -// @ts-ignore -import { GetAuditLogsResponseDTO } from '../models'; /** * AuditLogsApi - axios parameter creator * @export @@ -69,41 +67,6 @@ export const AuditLogsApiAxiosParamCreator = function (configuration?: Configura - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - /** - * Get all audits - * @summary Get audit logs - * @param {GetAuditsTimePeriodEnum} [timePeriod] The last time period to fetch audit logs - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getAudits: async (timePeriod?: GetAuditsTimePeriodEnum, options: RawAxiosRequestConfig = {}): Promise => { - const localVarPath = `/audits`; - // 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}; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - if (timePeriod !== undefined) { - localVarQueryParameter['timePeriod'] = timePeriod; - } - - - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -137,19 +100,6 @@ export const AuditLogsApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['AuditLogsApi.getAuditLogs']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, - /** - * Get all audits - * @summary Get audit logs - * @param {GetAuditsTimePeriodEnum} [timePeriod] The last time period to fetch audit logs - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async getAudits(timePeriod?: GetAuditsTimePeriodEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getAudits(timePeriod, options); - const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['AuditLogsApi.getAudits']?.[index]?.url; - return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); - }, } }; @@ -170,16 +120,6 @@ export const AuditLogsApiFactory = function (configuration?: Configuration, base getAuditLogs(requestParameters: AuditLogsApiGetAuditLogsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAuditLogs(requestParameters.timePeriod, requestParameters.cursor, options).then((request) => request(axios, basePath)); }, - /** - * Get all audits - * @summary Get audit logs - * @param {AuditLogsApiGetAuditsRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getAudits(requestParameters: AuditLogsApiGetAuditsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { - return localVarFp.getAudits(requestParameters.timePeriod, options).then((request) => request(axios, basePath)); - }, }; }; @@ -204,20 +144,6 @@ export interface AuditLogsApiGetAuditLogsRequest { readonly cursor?: string } -/** - * Request parameters for getAudits operation in AuditLogsApi. - * @export - * @interface AuditLogsApiGetAuditsRequest - */ -export interface AuditLogsApiGetAuditsRequest { - /** - * The last time period to fetch audit logs - * @type {'DAY' | 'WEEK'} - * @memberof AuditLogsApiGetAudits - */ - readonly timePeriod?: GetAuditsTimePeriodEnum -} - /** * AuditLogsApi - object-oriented interface * @export @@ -236,18 +162,6 @@ export class AuditLogsApi extends BaseAPI { public getAuditLogs(requestParameters: AuditLogsApiGetAuditLogsRequest = {}) { return AuditLogsApiFp(this.configuration).getAuditLogs(requestParameters.timePeriod, requestParameters.cursor).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } - - /** - * Get all audits - * @summary Get audit logs - * @param {AuditLogsApiGetAuditsRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AuditLogsApi - */ - public getAudits(requestParameters: AuditLogsApiGetAuditsRequest = {}) { - return AuditLogsApiFp(this.configuration).getAudits(requestParameters.timePeriod).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); - } } /** @@ -258,11 +172,3 @@ export const GetAuditLogsTimePeriodEnum = { Week: 'WEEK' } as const; export type GetAuditLogsTimePeriodEnum = typeof GetAuditLogsTimePeriodEnum[keyof typeof GetAuditLogsTimePeriodEnum]; -/** - * @export - */ -export const GetAuditsTimePeriodEnum = { - Day: 'DAY', - Week: 'WEEK' -} as const; -export type GetAuditsTimePeriodEnum = typeof GetAuditsTimePeriodEnum[keyof typeof GetAuditsTimePeriodEnum]; diff --git a/api/deployed-contracts-api.ts b/api/deployed-contracts-api.ts index b13e13d..604d578 100644 --- a/api/deployed-contracts-api.ts +++ b/api/deployed-contracts-api.ts @@ -27,17 +27,103 @@ import { assertParamExistsAndNotEmpty } from '../utils/validation_utils'; // @ts-ignore import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base'; // @ts-ignore +import { AddAbiRequestDto } from '../models'; +// @ts-ignore +import { ContractWithAbiDto } from '../models'; +// @ts-ignore import { DeployedContractResponseDto } from '../models'; // @ts-ignore import { DeployedContractsPaginatedResponse } from '../models'; // @ts-ignore import { ErrorSchema } from '../models'; +// @ts-ignore +import { FetchAbiRequestDto } from '../models'; /** * DeployedContractsApi - axios parameter creator * @export */ export const DeployedContractsApiAxiosParamCreator = function (configuration?: Configuration) { return { + /** + * Save contract ABI for the tenant + * @summary Save contract ABI + * @param {AddAbiRequestDto} addAbiRequestDto + * @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} + */ + addContractABI: async (addAbiRequestDto: AddAbiRequestDto, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExists('addContractABI', 'addAbiRequestDto', addAbiRequestDto) + const localVarPath = `/tokenization/contracts/abi`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (idempotencyKey != null) { + localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey); + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(addAbiRequestDto, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Fetch the ABI. If not found fetch the ABI from the block explorer + * @summary Fetch the contract ABI + * @param {FetchAbiRequestDto} fetchAbiRequestDto + * @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} + */ + fetchContractAbi: async (fetchAbiRequestDto: FetchAbiRequestDto, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExists('fetchContractAbi', 'fetchAbiRequestDto', fetchAbiRequestDto) + const localVarPath = `/tokenization/contracts/fetch_abi`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (idempotencyKey != null) { + localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey); + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(fetchAbiRequestDto, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * Return deployed contract data by blockchain native asset id and contract address * @summary Return deployed contract data @@ -172,6 +258,34 @@ export const DeployedContractsApiAxiosParamCreator = function (configuration?: C export const DeployedContractsApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = DeployedContractsApiAxiosParamCreator(configuration) return { + /** + * Save contract ABI for the tenant + * @summary Save contract ABI + * @param {AddAbiRequestDto} addAbiRequestDto + * @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 addContractABI(addAbiRequestDto: AddAbiRequestDto, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.addContractABI(addAbiRequestDto, idempotencyKey, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['DeployedContractsApi.addContractABI']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, + /** + * Fetch the ABI. If not found fetch the ABI from the block explorer + * @summary Fetch the contract ABI + * @param {FetchAbiRequestDto} fetchAbiRequestDto + * @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 fetchContractAbi(fetchAbiRequestDto: FetchAbiRequestDto, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.fetchContractAbi(fetchAbiRequestDto, idempotencyKey, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['DeployedContractsApi.fetchContractAbi']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, /** * Return deployed contract data by blockchain native asset id and contract address * @summary Return deployed contract data @@ -226,6 +340,26 @@ export const DeployedContractsApiFp = function(configuration?: Configuration) { export const DeployedContractsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { const localVarFp = DeployedContractsApiFp(configuration) return { + /** + * Save contract ABI for the tenant + * @summary Save contract ABI + * @param {DeployedContractsApiAddContractABIRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + addContractABI(requestParameters: DeployedContractsApiAddContractABIRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.addContractABI(requestParameters.addAbiRequestDto, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); + }, + /** + * Fetch the ABI. If not found fetch the ABI from the block explorer + * @summary Fetch the contract ABI + * @param {DeployedContractsApiFetchContractAbiRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + fetchContractAbi(requestParameters: DeployedContractsApiFetchContractAbiRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.fetchContractAbi(requestParameters.fetchAbiRequestDto, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); + }, /** * Return deployed contract data by blockchain native asset id and contract address * @summary Return deployed contract data @@ -259,6 +393,48 @@ export const DeployedContractsApiFactory = function (configuration?: Configurati }; }; +/** + * Request parameters for addContractABI operation in DeployedContractsApi. + * @export + * @interface DeployedContractsApiAddContractABIRequest + */ +export interface DeployedContractsApiAddContractABIRequest { + /** + * + * @type {AddAbiRequestDto} + * @memberof DeployedContractsApiAddContractABI + */ + readonly addAbiRequestDto: AddAbiRequestDto + + /** + * 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 DeployedContractsApiAddContractABI + */ + readonly idempotencyKey?: string +} + +/** + * Request parameters for fetchContractAbi operation in DeployedContractsApi. + * @export + * @interface DeployedContractsApiFetchContractAbiRequest + */ +export interface DeployedContractsApiFetchContractAbiRequest { + /** + * + * @type {FetchAbiRequestDto} + * @memberof DeployedContractsApiFetchContractAbi + */ + readonly fetchAbiRequestDto: FetchAbiRequestDto + + /** + * 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 DeployedContractsApiFetchContractAbi + */ + readonly idempotencyKey?: string +} + /** * Request parameters for getDeployedContractByAddress operation in DeployedContractsApi. * @export @@ -343,6 +519,30 @@ export interface DeployedContractsApiGetDeployedContractsRequest { * @extends {BaseAPI} */ export class DeployedContractsApi extends BaseAPI { + /** + * Save contract ABI for the tenant + * @summary Save contract ABI + * @param {DeployedContractsApiAddContractABIRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DeployedContractsApi + */ + public addContractABI(requestParameters: DeployedContractsApiAddContractABIRequest) { + return DeployedContractsApiFp(this.configuration).addContractABI(requestParameters.addAbiRequestDto, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + + /** + * Fetch the ABI. If not found fetch the ABI from the block explorer + * @summary Fetch the contract ABI + * @param {DeployedContractsApiFetchContractAbiRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DeployedContractsApi + */ + public fetchContractAbi(requestParameters: DeployedContractsApiFetchContractAbiRequest) { + return DeployedContractsApiFp(this.configuration).fetchContractAbi(requestParameters.fetchAbiRequestDto, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + /** * Return deployed contract data by blockchain native asset id and contract address * @summary Return deployed contract data diff --git a/api/nfts-api.ts b/api/nfts-api.ts index c28b9af..26c71d9 100644 --- a/api/nfts-api.ts +++ b/api/nfts-api.ts @@ -946,7 +946,7 @@ export interface NFTsApiGetNFTsRequest { export interface NFTsApiGetOwnershipTokensRequest { /** * Blockchain descriptor filter - * @type {'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3' | 'ETHERLINK' | 'ETHERLINK_TEST'} + * @type {'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3' | 'ETHERLINK' | 'ETHERLINK_TEST' | 'MANTLE' | 'MANTLE_TEST' | 'GUN_GUNZILLA_TEST'} * @memberof NFTsApiGetOwnershipTokens */ readonly blockchainDescriptor?: GetOwnershipTokensBlockchainDescriptorEnum @@ -1205,7 +1205,7 @@ export interface NFTsApiRefreshNFTMetadataRequest { export interface NFTsApiUpdateOwnershipTokensRequest { /** * Blockchain descriptor filter - * @type {'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST'} + * @type {'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST' | 'MANTLE' | 'MANTLE_TEST' | 'GUN_GUNZILLA_TEST'} * @memberof NFTsApiUpdateOwnershipTokens */ readonly blockchainDescriptor: UpdateOwnershipTokensBlockchainDescriptorEnum @@ -1456,7 +1456,10 @@ export const GetOwnershipTokensBlockchainDescriptorEnum = { BasechainEth: 'BASECHAIN_ETH', BasechainEthTest3: 'BASECHAIN_ETH_TEST3', Etherlink: 'ETHERLINK', - EtherlinkTest: 'ETHERLINK_TEST' + EtherlinkTest: 'ETHERLINK_TEST', + Mantle: 'MANTLE', + MantleTest: 'MANTLE_TEST', + GunGunzillaTest: 'GUN_GUNZILLA_TEST' } as const; export type GetOwnershipTokensBlockchainDescriptorEnum = typeof GetOwnershipTokensBlockchainDescriptorEnum[keyof typeof GetOwnershipTokensBlockchainDescriptorEnum]; /** @@ -1585,6 +1588,9 @@ export const UpdateOwnershipTokensBlockchainDescriptorEnum = { AmoyPolygonTest: 'AMOY_POLYGON_TEST', BasechainEth: 'BASECHAIN_ETH', Etherlink: 'ETHERLINK', - EtherlinkTest: 'ETHERLINK_TEST' + EtherlinkTest: 'ETHERLINK_TEST', + Mantle: 'MANTLE', + MantleTest: 'MANTLE_TEST', + GunGunzillaTest: 'GUN_GUNZILLA_TEST' } as const; export type UpdateOwnershipTokensBlockchainDescriptorEnum = typeof UpdateOwnershipTokensBlockchainDescriptorEnum[keyof typeof UpdateOwnershipTokensBlockchainDescriptorEnum]; diff --git a/api/tokenization-api.ts b/api/tokenization-api.ts index e7e6b81..f6c6305 100644 --- a/api/tokenization-api.ts +++ b/api/tokenization-api.ts @@ -29,12 +29,24 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, ope // @ts-ignore import { AssetAlreadyExistHttpError } from '../models'; // @ts-ignore -import { AssetDoesNotExistHttpError } from '../models'; +import { CollectionBurnRequestDto } from '../models'; +// @ts-ignore +import { CollectionBurnResponseDto } from '../models'; +// @ts-ignore +import { CollectionDeployRequestDto } from '../models'; +// @ts-ignore +import { CollectionLinkDto } from '../models'; +// @ts-ignore +import { CollectionMintRequestDto } from '../models'; +// @ts-ignore +import { CollectionMintResponseDto } from '../models'; // @ts-ignore import { CreateTokenRequestDto } from '../models'; // @ts-ignore import { ErrorSchema } from '../models'; // @ts-ignore +import { GetLinkedCollectionsPaginatedResponse } from '../models'; +// @ts-ignore import { NotFoundException } from '../models'; // @ts-ignore import { TokenLinkDto } from '../models'; @@ -50,6 +62,205 @@ import { TokensPaginatedResponse } from '../models'; */ export const TokenizationApiAxiosParamCreator = function (configuration?: Configuration) { return { + /** + * Burn tokens in a collection + * @summary Burn tokens + * @param {CollectionBurnRequestDto} collectionBurnRequestDto + * @param {string} id The collection link id + * @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} + */ + burnCollectionToken: async (collectionBurnRequestDto: CollectionBurnRequestDto, id: string, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExists('burnCollectionToken', 'collectionBurnRequestDto', collectionBurnRequestDto) + assertParamExistsAndNotEmpty('burnCollectionToken', 'id', id) + const localVarPath = `/tokenization/collections/{id}/tokens/burn` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (idempotencyKey != null) { + localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey); + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(collectionBurnRequestDto, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Create a new collection and link it as a token + * @summary Create a new collection + * @param {CollectionDeployRequestDto} collectionDeployRequestDto + * @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} + */ + createNewCollection: async (collectionDeployRequestDto: CollectionDeployRequestDto, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExists('createNewCollection', 'collectionDeployRequestDto', collectionDeployRequestDto) + const localVarPath = `/tokenization/collections`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (idempotencyKey != null) { + localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey); + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(collectionDeployRequestDto, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Get collection token details by id + * @summary Get collection token details + * @param {string} id The collection link id + * @param {string} tokenId The tokenId as it appears on the blockchain + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + fetchCollectionTokenDetails: async (id: string, tokenId: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExistsAndNotEmpty('fetchCollectionTokenDetails', 'id', id) + assertParamExistsAndNotEmpty('fetchCollectionTokenDetails', 'tokenId', tokenId) + const localVarPath = `/tokenization/collections/{id}/tokens/{tokenId}` + .replace(`{${"id"}}`, encodeURIComponent(String(id))) + .replace(`{${"tokenId"}}`, encodeURIComponent(String(tokenId))); + // 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}; + 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, + }; + }, + /** + * Get a collection by id + * @summary Get a collection by id + * @param {string} id The token link id + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getCollectionById: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExistsAndNotEmpty('getCollectionById', 'id', id) + const localVarPath = `/tokenization/collections/{id}` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + 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, + }; + }, + /** + * Get collections (paginated) + * @summary Get collections + * @param {string} [pageCursor] Page cursor to get the next page, for example - \"MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==\" + * @param {number} [pageSize] Number of items per page (max 100), requesting more then 100 will return 100 items + * @param {any} [status] A comma separated list of statuses to filter. Default is \"COMPLETED\" + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getLinkedCollections: async (pageCursor?: string, pageSize?: number, status?: any, options: RawAxiosRequestConfig = {}): Promise => { + const localVarPath = `/tokenization/collections`; + // 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}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (pageCursor !== undefined) { + localVarQueryParameter['pageCursor'] = pageCursor; + } + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (status !== undefined) { + for (const [key, value] of Object.entries(status)) { + localVarQueryParameter[key] = value; + } + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * Return a linked token, with its status and metadata. * @summary Return a linked token @@ -171,8 +382,8 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config }; }, /** - * Link an already existing token (by assetId, collectionId or contractId as refId) to a workspace across EVM, Stellar, or Ripple platforms. The token will be linked to the workspace if it does not already exist. - * @summary Link a token + * Link an a contract + * @summary Link a contract * @param {TokenLinkRequestDto} tokenLinkRequestDto * @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. @@ -210,6 +421,49 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config options: localVarRequestOptions, }; }, + /** + * Mint tokens and upload metadata + * @summary Mint tokens + * @param {CollectionMintRequestDto} collectionMintRequestDto + * @param {string} id The collection link id + * @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} + */ + mintCollectionToken: async (collectionMintRequestDto: CollectionMintRequestDto, id: string, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExists('mintCollectionToken', 'collectionMintRequestDto', collectionMintRequestDto) + assertParamExistsAndNotEmpty('mintCollectionToken', 'id', id) + const localVarPath = `/tokenization/collections/{id}/tokens/mint` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (idempotencyKey != null) { + localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey); + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(collectionMintRequestDto, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * Unlink a token. The token will be unlinked from the workspace. The token will not be deleted on chain nor the refId, only the link to the workspace will be removed. * @summary Unlink a token @@ -234,6 +488,39 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Delete a collection link + * @summary Delete a collection link + * @param {string} id The token link id + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + unlinkCollection: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExistsAndNotEmpty('unlinkCollection', 'id', id) + const localVarPath = `/tokenization/collections/{id}` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -253,6 +540,77 @@ export const TokenizationApiAxiosParamCreator = function (configuration?: Config export const TokenizationApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = TokenizationApiAxiosParamCreator(configuration) return { + /** + * Burn tokens in a collection + * @summary Burn tokens + * @param {CollectionBurnRequestDto} collectionBurnRequestDto + * @param {string} id The collection link id + * @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 burnCollectionToken(collectionBurnRequestDto: CollectionBurnRequestDto, id: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.burnCollectionToken(collectionBurnRequestDto, id, idempotencyKey, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TokenizationApi.burnCollectionToken']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, + /** + * Create a new collection and link it as a token + * @summary Create a new collection + * @param {CollectionDeployRequestDto} collectionDeployRequestDto + * @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 createNewCollection(collectionDeployRequestDto: CollectionDeployRequestDto, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createNewCollection(collectionDeployRequestDto, idempotencyKey, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TokenizationApi.createNewCollection']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, + /** + * Get collection token details by id + * @summary Get collection token details + * @param {string} id The collection link id + * @param {string} tokenId The tokenId as it appears on the blockchain + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async fetchCollectionTokenDetails(id: string, tokenId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.fetchCollectionTokenDetails(id, tokenId, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TokenizationApi.fetchCollectionTokenDetails']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, + /** + * Get a collection by id + * @summary Get a collection by id + * @param {string} id The token link id + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getCollectionById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getCollectionById(id, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TokenizationApi.getCollectionById']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, + /** + * Get collections (paginated) + * @summary Get collections + * @param {string} [pageCursor] Page cursor to get the next page, for example - \"MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==\" + * @param {number} [pageSize] Number of items per page (max 100), requesting more then 100 will return 100 items + * @param {any} [status] A comma separated list of statuses to filter. Default is \"COMPLETED\" + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getLinkedCollections(pageCursor?: string, pageSize?: number, status?: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getLinkedCollections(pageCursor, pageSize, status, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TokenizationApi.getLinkedCollections']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, /** * Return a linked token, with its status and metadata. * @summary Return a linked token @@ -296,8 +654,8 @@ export const TokenizationApiFp = function(configuration?: Configuration) { return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Link an already existing token (by assetId, collectionId or contractId as refId) to a workspace across EVM, Stellar, or Ripple platforms. The token will be linked to the workspace if it does not already exist. - * @summary Link a token + * Link an a contract + * @summary Link a contract * @param {TokenLinkRequestDto} tokenLinkRequestDto * @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. @@ -309,6 +667,21 @@ export const TokenizationApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['TokenizationApi.link']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, + /** + * Mint tokens and upload metadata + * @summary Mint tokens + * @param {CollectionMintRequestDto} collectionMintRequestDto + * @param {string} id The collection link id + * @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 mintCollectionToken(collectionMintRequestDto: CollectionMintRequestDto, id: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.mintCollectionToken(collectionMintRequestDto, id, idempotencyKey, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TokenizationApi.mintCollectionToken']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, /** * Unlink a token. The token will be unlinked from the workspace. The token will not be deleted on chain nor the refId, only the link to the workspace will be removed. * @summary Unlink a token @@ -322,6 +695,19 @@ export const TokenizationApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['TokenizationApi.unlink']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, + /** + * Delete a collection link + * @summary Delete a collection link + * @param {string} id The token link id + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async unlinkCollection(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkCollection(id, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TokenizationApi.unlinkCollection']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, } }; @@ -332,6 +718,56 @@ export const TokenizationApiFp = function(configuration?: Configuration) { export const TokenizationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { const localVarFp = TokenizationApiFp(configuration) return { + /** + * Burn tokens in a collection + * @summary Burn tokens + * @param {TokenizationApiBurnCollectionTokenRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + burnCollectionToken(requestParameters: TokenizationApiBurnCollectionTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.burnCollectionToken(requestParameters.collectionBurnRequestDto, requestParameters.id, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); + }, + /** + * Create a new collection and link it as a token + * @summary Create a new collection + * @param {TokenizationApiCreateNewCollectionRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createNewCollection(requestParameters: TokenizationApiCreateNewCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.createNewCollection(requestParameters.collectionDeployRequestDto, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); + }, + /** + * Get collection token details by id + * @summary Get collection token details + * @param {TokenizationApiFetchCollectionTokenDetailsRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + fetchCollectionTokenDetails(requestParameters: TokenizationApiFetchCollectionTokenDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.fetchCollectionTokenDetails(requestParameters.id, requestParameters.tokenId, options).then((request) => request(axios, basePath)); + }, + /** + * Get a collection by id + * @summary Get a collection by id + * @param {TokenizationApiGetCollectionByIdRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getCollectionById(requestParameters: TokenizationApiGetCollectionByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.getCollectionById(requestParameters.id, options).then((request) => request(axios, basePath)); + }, + /** + * Get collections (paginated) + * @summary Get collections + * @param {TokenizationApiGetLinkedCollectionsRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getLinkedCollections(requestParameters: TokenizationApiGetLinkedCollectionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.getLinkedCollections(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.status, options).then((request) => request(axios, basePath)); + }, /** * Return a linked token, with its status and metadata. * @summary Return a linked token @@ -363,8 +799,8 @@ export const TokenizationApiFactory = function (configuration?: Configuration, b return localVarFp.issueNewToken(requestParameters.createTokenRequestDto, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** - * Link an already existing token (by assetId, collectionId or contractId as refId) to a workspace across EVM, Stellar, or Ripple platforms. The token will be linked to the workspace if it does not already exist. - * @summary Link a token + * Link an a contract + * @summary Link a contract * @param {TokenizationApiLinkRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -372,6 +808,16 @@ export const TokenizationApiFactory = function (configuration?: Configuration, b link(requestParameters: TokenizationApiLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.link(requestParameters.tokenLinkRequestDto, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, + /** + * Mint tokens and upload metadata + * @summary Mint tokens + * @param {TokenizationApiMintCollectionTokenRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + mintCollectionToken(requestParameters: TokenizationApiMintCollectionTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.mintCollectionToken(requestParameters.collectionMintRequestDto, requestParameters.id, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); + }, /** * Unlink a token. The token will be unlinked from the workspace. The token will not be deleted on chain nor the refId, only the link to the workspace will be removed. * @summary Unlink a token @@ -382,9 +828,131 @@ export const TokenizationApiFactory = function (configuration?: Configuration, b unlink(requestParameters: TokenizationApiUnlinkRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.unlink(requestParameters.id, options).then((request) => request(axios, basePath)); }, + /** + * Delete a collection link + * @summary Delete a collection link + * @param {TokenizationApiUnlinkCollectionRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + unlinkCollection(requestParameters: TokenizationApiUnlinkCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.unlinkCollection(requestParameters.id, options).then((request) => request(axios, basePath)); + }, }; }; +/** + * Request parameters for burnCollectionToken operation in TokenizationApi. + * @export + * @interface TokenizationApiBurnCollectionTokenRequest + */ +export interface TokenizationApiBurnCollectionTokenRequest { + /** + * + * @type {CollectionBurnRequestDto} + * @memberof TokenizationApiBurnCollectionToken + */ + readonly collectionBurnRequestDto: CollectionBurnRequestDto + + /** + * The collection link id + * @type {string} + * @memberof TokenizationApiBurnCollectionToken + */ + readonly id: 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 TokenizationApiBurnCollectionToken + */ + readonly idempotencyKey?: string +} + +/** + * Request parameters for createNewCollection operation in TokenizationApi. + * @export + * @interface TokenizationApiCreateNewCollectionRequest + */ +export interface TokenizationApiCreateNewCollectionRequest { + /** + * + * @type {CollectionDeployRequestDto} + * @memberof TokenizationApiCreateNewCollection + */ + readonly collectionDeployRequestDto: CollectionDeployRequestDto + + /** + * 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 TokenizationApiCreateNewCollection + */ + readonly idempotencyKey?: string +} + +/** + * Request parameters for fetchCollectionTokenDetails operation in TokenizationApi. + * @export + * @interface TokenizationApiFetchCollectionTokenDetailsRequest + */ +export interface TokenizationApiFetchCollectionTokenDetailsRequest { + /** + * The collection link id + * @type {string} + * @memberof TokenizationApiFetchCollectionTokenDetails + */ + readonly id: string + + /** + * The tokenId as it appears on the blockchain + * @type {string} + * @memberof TokenizationApiFetchCollectionTokenDetails + */ + readonly tokenId: string +} + +/** + * Request parameters for getCollectionById operation in TokenizationApi. + * @export + * @interface TokenizationApiGetCollectionByIdRequest + */ +export interface TokenizationApiGetCollectionByIdRequest { + /** + * The token link id + * @type {string} + * @memberof TokenizationApiGetCollectionById + */ + readonly id: string +} + +/** + * Request parameters for getLinkedCollections operation in TokenizationApi. + * @export + * @interface TokenizationApiGetLinkedCollectionsRequest + */ +export interface TokenizationApiGetLinkedCollectionsRequest { + /** + * Page cursor to get the next page, for example - \"MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==\" + * @type {string} + * @memberof TokenizationApiGetLinkedCollections + */ + readonly pageCursor?: string + + /** + * Number of items per page (max 100), requesting more then 100 will return 100 items + * @type {number} + * @memberof TokenizationApiGetLinkedCollections + */ + readonly pageSize?: number + + /** + * A comma separated list of statuses to filter. Default is \"COMPLETED\" + * @type {any} + * @memberof TokenizationApiGetLinkedCollections + */ + readonly status?: any +} + /** * Request parameters for getLinkedToken operation in TokenizationApi. * @export @@ -469,6 +1037,34 @@ export interface TokenizationApiLinkRequest { readonly idempotencyKey?: string } +/** + * Request parameters for mintCollectionToken operation in TokenizationApi. + * @export + * @interface TokenizationApiMintCollectionTokenRequest + */ +export interface TokenizationApiMintCollectionTokenRequest { + /** + * + * @type {CollectionMintRequestDto} + * @memberof TokenizationApiMintCollectionToken + */ + readonly collectionMintRequestDto: CollectionMintRequestDto + + /** + * The collection link id + * @type {string} + * @memberof TokenizationApiMintCollectionToken + */ + readonly id: 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 TokenizationApiMintCollectionToken + */ + readonly idempotencyKey?: string +} + /** * Request parameters for unlink operation in TokenizationApi. * @export @@ -483,6 +1079,20 @@ export interface TokenizationApiUnlinkRequest { readonly id: string } +/** + * Request parameters for unlinkCollection operation in TokenizationApi. + * @export + * @interface TokenizationApiUnlinkCollectionRequest + */ +export interface TokenizationApiUnlinkCollectionRequest { + /** + * The token link id + * @type {string} + * @memberof TokenizationApiUnlinkCollection + */ + readonly id: string +} + /** * TokenizationApi - object-oriented interface * @export @@ -490,6 +1100,66 @@ export interface TokenizationApiUnlinkRequest { * @extends {BaseAPI} */ export class TokenizationApi extends BaseAPI { + /** + * Burn tokens in a collection + * @summary Burn tokens + * @param {TokenizationApiBurnCollectionTokenRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TokenizationApi + */ + public burnCollectionToken(requestParameters: TokenizationApiBurnCollectionTokenRequest) { + return TokenizationApiFp(this.configuration).burnCollectionToken(requestParameters.collectionBurnRequestDto, requestParameters.id, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + + /** + * Create a new collection and link it as a token + * @summary Create a new collection + * @param {TokenizationApiCreateNewCollectionRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TokenizationApi + */ + public createNewCollection(requestParameters: TokenizationApiCreateNewCollectionRequest) { + return TokenizationApiFp(this.configuration).createNewCollection(requestParameters.collectionDeployRequestDto, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + + /** + * Get collection token details by id + * @summary Get collection token details + * @param {TokenizationApiFetchCollectionTokenDetailsRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TokenizationApi + */ + public fetchCollectionTokenDetails(requestParameters: TokenizationApiFetchCollectionTokenDetailsRequest) { + return TokenizationApiFp(this.configuration).fetchCollectionTokenDetails(requestParameters.id, requestParameters.tokenId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + + /** + * Get a collection by id + * @summary Get a collection by id + * @param {TokenizationApiGetCollectionByIdRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TokenizationApi + */ + public getCollectionById(requestParameters: TokenizationApiGetCollectionByIdRequest) { + return TokenizationApiFp(this.configuration).getCollectionById(requestParameters.id).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + + /** + * Get collections (paginated) + * @summary Get collections + * @param {TokenizationApiGetLinkedCollectionsRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TokenizationApi + */ + public getLinkedCollections(requestParameters: TokenizationApiGetLinkedCollectionsRequest = {}) { + return TokenizationApiFp(this.configuration).getLinkedCollections(requestParameters.pageCursor, requestParameters.pageSize, requestParameters.status).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + /** * Return a linked token, with its status and metadata. * @summary Return a linked token @@ -527,8 +1197,8 @@ export class TokenizationApi extends BaseAPI { } /** - * Link an already existing token (by assetId, collectionId or contractId as refId) to a workspace across EVM, Stellar, or Ripple platforms. The token will be linked to the workspace if it does not already exist. - * @summary Link a token + * Link an a contract + * @summary Link a contract * @param {TokenizationApiLinkRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -538,6 +1208,18 @@ export class TokenizationApi extends BaseAPI { return TokenizationApiFp(this.configuration).link(requestParameters.tokenLinkRequestDto, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } + /** + * Mint tokens and upload metadata + * @summary Mint tokens + * @param {TokenizationApiMintCollectionTokenRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TokenizationApi + */ + public mintCollectionToken(requestParameters: TokenizationApiMintCollectionTokenRequest) { + return TokenizationApiFp(this.configuration).mintCollectionToken(requestParameters.collectionMintRequestDto, requestParameters.id, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + /** * Unlink a token. The token will be unlinked from the workspace. The token will not be deleted on chain nor the refId, only the link to the workspace will be removed. * @summary Unlink a token @@ -549,5 +1231,17 @@ export class TokenizationApi extends BaseAPI { public unlink(requestParameters: TokenizationApiUnlinkRequest) { return TokenizationApiFp(this.configuration).unlink(requestParameters.id).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } + + /** + * Delete a collection link + * @summary Delete a collection link + * @param {TokenizationApiUnlinkCollectionRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TokenizationApi + */ + public unlinkCollection(requestParameters: TokenizationApiUnlinkCollectionRequest) { + return TokenizationApiFp(this.configuration).unlinkCollection(requestParameters.id).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } } diff --git a/api/transactions-api.ts b/api/transactions-api.ts index 8ae37a9..ddd889f 100644 --- a/api/transactions-api.ts +++ b/api/transactions-api.ts @@ -45,6 +45,8 @@ import { FreezeTransactionResponse } from '../models'; // @ts-ignore import { GetTransactionsResponse } from '../models'; // @ts-ignore +import { RescanTransactionRequest } from '../models'; +// @ts-ignore import { SetConfirmationsThresholdRequest } from '../models'; // @ts-ignore import { SetConfirmationsThresholdResponse } from '../models'; @@ -56,6 +58,8 @@ import { TransactionResponse } from '../models'; import { UnfreezeTransactionResponse } from '../models'; // @ts-ignore import { ValidateAddressResponse } from '../models'; +// @ts-ignore +import { ValidatedTransactionsForRescanResponse } from '../models'; /** * TransactionsApi - axios parameter creator * @export @@ -480,6 +484,46 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config options: localVarRequestOptions, }; }, + /** + * rescan transaction by running an async job.
**Note**: - These endpoints are currently in beta and might be subject to changes. - We limit the amount of the transaction to 16 per request. + * @summary rescan array of transactions + * @param {RescanTransactionRequest} rescanTransactionRequest + * @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} + */ + rescanTransactionsBeta: async (rescanTransactionRequest: RescanTransactionRequest, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExists('rescanTransactionsBeta', 'rescanTransactionRequest', rescanTransactionRequest) + const localVarPath = `/transactions/rescan`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (idempotencyKey != null) { + localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey); + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(rescanTransactionRequest, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * Overrides the required number of confirmations for transaction completion by transaction hash. * @summary Set confirmation threshold by transaction hash @@ -793,6 +837,20 @@ export const TransactionsApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['TransactionsApi.getTransactions']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, + /** + * rescan transaction by running an async job.
**Note**: - These endpoints are currently in beta and might be subject to changes. - We limit the amount of the transaction to 16 per request. + * @summary rescan array of transactions + * @param {RescanTransactionRequest} rescanTransactionRequest + * @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 rescanTransactionsBeta(rescanTransactionRequest: RescanTransactionRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.rescanTransactionsBeta(rescanTransactionRequest, idempotencyKey, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TransactionsApi.rescanTransactionsBeta']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, /** * Overrides the required number of confirmations for transaction completion by transaction hash. * @summary Set confirmation threshold by transaction hash @@ -952,6 +1010,16 @@ export const TransactionsApiFactory = function (configuration?: Configuration, b getTransactions(requestParameters: TransactionsApiGetTransactionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getTransactions(requestParameters.before, requestParameters.after, requestParameters.status, requestParameters.orderBy, requestParameters.sort, requestParameters.limit, requestParameters.sourceType, requestParameters.sourceId, requestParameters.destType, requestParameters.destId, requestParameters.assets, requestParameters.txHash, requestParameters.sourceWalletId, requestParameters.destWalletId, options).then((request) => request(axios, basePath)); }, + /** + * rescan transaction by running an async job.
**Note**: - These endpoints are currently in beta and might be subject to changes. - We limit the amount of the transaction to 16 per request. + * @summary rescan array of transactions + * @param {TransactionsApiRescanTransactionsBetaRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + rescanTransactionsBeta(requestParameters: TransactionsApiRescanTransactionsBetaRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.rescanTransactionsBeta(requestParameters.rescanTransactionRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); + }, /** * Overrides the required number of confirmations for transaction completion by transaction hash. * @summary Set confirmation threshold by transaction hash @@ -1282,6 +1350,27 @@ export interface TransactionsApiGetTransactionsRequest { readonly destWalletId?: string } +/** + * Request parameters for rescanTransactionsBeta operation in TransactionsApi. + * @export + * @interface TransactionsApiRescanTransactionsBetaRequest + */ +export interface TransactionsApiRescanTransactionsBetaRequest { + /** + * + * @type {RescanTransactionRequest} + * @memberof TransactionsApiRescanTransactionsBeta + */ + readonly rescanTransactionRequest: RescanTransactionRequest + + /** + * 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 TransactionsApiRescanTransactionsBeta + */ + readonly idempotencyKey?: string +} + /** * Request parameters for setConfirmationThresholdByTransactionHash operation in TransactionsApi. * @export @@ -1502,6 +1591,18 @@ export class TransactionsApi extends BaseAPI { return TransactionsApiFp(this.configuration).getTransactions(requestParameters.before, requestParameters.after, requestParameters.status, requestParameters.orderBy, requestParameters.sort, requestParameters.limit, requestParameters.sourceType, requestParameters.sourceId, requestParameters.destType, requestParameters.destId, requestParameters.assets, requestParameters.txHash, requestParameters.sourceWalletId, requestParameters.destWalletId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } + /** + * rescan transaction by running an async job.
**Note**: - These endpoints are currently in beta and might be subject to changes. - We limit the amount of the transaction to 16 per request. + * @summary rescan array of transactions + * @param {TransactionsApiRescanTransactionsBetaRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TransactionsApi + */ + public rescanTransactionsBeta(requestParameters: TransactionsApiRescanTransactionsBetaRequest) { + return TransactionsApiFp(this.configuration).rescanTransactionsBeta(requestParameters.rescanTransactionRequest, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + /** * Overrides the required number of confirmations for transaction completion by transaction hash. * @summary Set confirmation threshold by transaction hash diff --git a/docs/apis/AuditLogsApi.md b/docs/apis/AuditLogsApi.md index 46e86aa..b8e8459 100644 --- a/docs/apis/AuditLogsApi.md +++ b/docs/apis/AuditLogsApi.md @@ -5,7 +5,6 @@ All URIs are relative to https://developers.fireblocks.com/reference/ Method | HTTP request | Description ------------- | ------------- | ------------- [**getAuditLogs**](#getAuditLogs) | **GET** /management/audit_logs | Get audit logs -[**getAudits**](#getAudits) | **GET** /audits | Get audit logs # **getAuditLogs** @@ -71,64 +70,4 @@ 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) -# **getAudits** -> GetAuditLogsResponseDTO getAudits() - -Get all audits - -### Example - - -```typescript -import { readFileSync } from 'fs'; -import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, AuditLogsApiGetAuditsRequest, GetAuditLogsResponseDTO } 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: AuditLogsApiGetAuditsRequest = { - // 'DAY' | 'WEEK' | The last time period to fetch audit logs (optional) - timePeriod: timePeriod_example, -}; - -fireblocks.auditLogs.getAudits(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 -------------- | ------------- | ------------- | ------------- - **timePeriod** | [**'DAY' | 'WEEK'**]**Array<'DAY' | 'WEEK'>** | The last time period to fetch audit logs | (optional) defaults to undefined - - -### Return type - -**[GetAuditLogsResponseDTO](../models/GetAuditLogsResponseDTO.md)** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Audit logs from requested time period | * 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) - diff --git a/docs/apis/BlockchainsAssetsApi.md b/docs/apis/BlockchainsAssetsApi.md index a625951..16d32b3 100644 --- a/docs/apis/BlockchainsAssetsApi.md +++ b/docs/apis/BlockchainsAssetsApi.md @@ -122,7 +122,7 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A new asset has been created successfully | - | -**400** | - Listing an asset on the requested blockchain is not supported. Error code: 1000 - The asset address is invalid. Error code: 1003 - Self serve listing an asset on the requested blockchain is currently not supported, please contact support. Error code: 1004 - Blockchain is deprecated. Error code: 1006 - The asset\'s standard is not supported. Error code: 1007 | - | +**400** | - Listing an asset on the requested blockchain is not supported. Error code: 1000 - The asset address is invalid. Error code: 1003 - Self serve listing an asset on the requested blockchain is currently not supported, please contact support. Error code: 1004 - Blockchain is deprecated. Error code: 1006 - The asset\'s standard is not supported. Error code: 1007 - Unable to get expected metadata: decimals | name | symbol. Error code: 1010 | - | **403** | - The asset creation quota reached. Error code: 1005 - Tenant is not allowed to create testnet assets. Error code: 1008 - Tenant is not allowed to create mainnet assets. Error code: 1009 | - | **404** | - Invalid address, could not get asset information. Error code 1003 | - | **409** | - The asset is already supported globally. Error code: 1001 - The asset has already been added to this workspace. Error code: 1002 | - | diff --git a/docs/apis/DeployedContractsApi.md b/docs/apis/DeployedContractsApi.md index 9b1764b..4d0a143 100644 --- a/docs/apis/DeployedContractsApi.md +++ b/docs/apis/DeployedContractsApi.md @@ -4,11 +4,141 @@ All URIs are relative to https://developers.fireblocks.com/reference/ Method | HTTP request | Description ------------- | ------------- | ------------- +[**addContractABI**](#addContractABI) | **POST** /tokenization/contracts/abi | Save contract ABI +[**fetchContractAbi**](#fetchContractAbi) | **POST** /tokenization/contracts/fetch_abi | Fetch the contract ABI [**getDeployedContractByAddress**](#getDeployedContractByAddress) | **GET** /tokenization/contracts/{assetId}/{contractAddress} | Return deployed contract data [**getDeployedContractById**](#getDeployedContractById) | **GET** /tokenization/contracts/{id} | Return deployed contract data by id [**getDeployedContracts**](#getDeployedContracts) | **GET** /tokenization/contracts | List deployed contracts data +# **addContractABI** +> ContractWithAbiDto addContractABI(addAbiRequestDto) + +Save contract ABI for the tenant + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, DeployedContractsApiAddContractABIRequest, ContractWithAbiDto } 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: DeployedContractsApiAddContractABIRequest = { + // AddAbiRequestDto + addAbiRequestDto: 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.deployedContracts.addContractABI(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 +------------- | ------------- | ------------- | ------------- + **addAbiRequestDto** | **[AddAbiRequestDto](../models/AddAbiRequestDto.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 + +**[ContractWithAbiDto](../models/ContractWithAbiDto.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Contract ABI created (or updated) for the tenant | - | +**409** | Contract ABI already exists. | - | +**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) + +# **fetchContractAbi** +> ContractWithAbiDto fetchContractAbi(fetchAbiRequestDto) + +Fetch the ABI. If not found fetch the ABI from the block explorer + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, DeployedContractsApiFetchContractAbiRequest, ContractWithAbiDto } 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: DeployedContractsApiFetchContractAbiRequest = { + // FetchAbiRequestDto + fetchAbiRequestDto: 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.deployedContracts.fetchContractAbi(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 +------------- | ------------- | ------------- | ------------- + **fetchAbiRequestDto** | **[FetchAbiRequestDto](../models/FetchAbiRequestDto.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 + +**[ContractWithAbiDto](../models/ContractWithAbiDto.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Contract ABI found. | - | +**404** | Contract ABI not found | - | +**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) + # **getDeployedContractByAddress** > DeployedContractResponseDto getDeployedContractByAddress() diff --git a/docs/apis/NFTsApi.md b/docs/apis/NFTsApi.md index 62a585b..628c632 100644 --- a/docs/apis/NFTsApi.md +++ b/docs/apis/NFTsApi.md @@ -167,7 +167,7 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); let body: NFTsApiGetOwnershipTokensRequest = { - // 'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3' | 'ETHERLINK' | 'ETHERLINK_TEST' | Blockchain descriptor filter (optional) + // 'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3' | 'ETHERLINK' | 'ETHERLINK_TEST' | 'MANTLE' | 'MANTLE_TEST' | 'GUN_GUNZILLA_TEST' | Blockchain descriptor filter (optional) blockchainDescriptor: blockchainDescriptor_example, // string | A comma separated list of Vault Account IDs. Up to 100 are allowed in a single request. This field will be ignored when walletType=END_USER_WALLET or ncwId is provided. (optional) vaultAccountIds: vaultAccountIds_example, @@ -207,7 +207,7 @@ fireblocks.nfts.getOwnershipTokens(body).then((res: FireblocksResponse** | Blockchain descriptor filter | (optional) defaults to undefined + **blockchainDescriptor** | [**'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3' | 'ETHERLINK' | 'ETHERLINK_TEST' | 'MANTLE' | 'MANTLE_TEST' | 'GUN_GUNZILLA_TEST'**]**Array<'ETH' | 'ETH_TEST3' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'XTZ' | 'XTZ_TEST' | 'BASECHAIN_ETH' | 'BASECHAIN_ETH_TEST3' | 'ETHERLINK' | 'ETHERLINK_TEST' | 'MANTLE' | 'MANTLE_TEST' | 'GUN_GUNZILLA_TEST'>** | Blockchain descriptor filter | (optional) defaults to undefined **vaultAccountIds** | [**string**] | A comma separated list of Vault Account IDs. Up to 100 are allowed in a single request. This field will be ignored when walletType=END_USER_WALLET or ncwId is provided. | (optional) defaults to undefined **ncwId** | [**string**] | Tenant\'s Non-Custodial Wallet ID | (optional) defaults to undefined **ncwAccountIds** | [**string**] | A comma separated list of Non-Custodial account IDs. Up to 100 are allowed in a single request. This field will be ignored when walletType=VAULT_ACCOUNT or ncwId is not provided. | (optional) defaults to undefined @@ -490,7 +490,7 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); let body: NFTsApiUpdateOwnershipTokensRequest = { - // 'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST' | Blockchain descriptor filter + // 'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST' | 'MANTLE' | 'MANTLE_TEST' | 'GUN_GUNZILLA_TEST' | Blockchain descriptor filter blockchainDescriptor: blockchainDescriptor_example, // string | Vault account filter vaultAccountId: vaultAccountId_example, @@ -508,7 +508,7 @@ fireblocks.nfts.updateOwnershipTokens(body).then((res: FireblocksResponse) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **blockchainDescriptor** | [**'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST'**]**Array<'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST'>** | Blockchain descriptor filter | defaults to undefined + **blockchainDescriptor** | [**'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST' | 'MANTLE' | 'MANTLE_TEST' | 'GUN_GUNZILLA_TEST'**]**Array<'ETH' | 'ETH_TEST5' | 'ETH_TEST6' | 'POLYGON' | 'POLYGON_TEST_MUMBAI' | 'AMOY_POLYGON_TEST' | 'BASECHAIN_ETH' | 'ETHERLINK' | 'ETHERLINK_TEST' | 'MANTLE' | 'MANTLE_TEST' | 'GUN_GUNZILLA_TEST'>** | Blockchain descriptor filter | defaults to undefined **vaultAccountId** | [**string**] | Vault account filter | defaults to undefined **idempotencyKey** | [**string**] | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | (optional) defaults to undefined diff --git a/docs/apis/TokenizationApi.md b/docs/apis/TokenizationApi.md index 08b49d8..b469129 100644 --- a/docs/apis/TokenizationApi.md +++ b/docs/apis/TokenizationApi.md @@ -4,13 +4,338 @@ All URIs are relative to https://developers.fireblocks.com/reference/ Method | HTTP request | Description ------------- | ------------- | ------------- +[**burnCollectionToken**](#burnCollectionToken) | **POST** /tokenization/collections/{id}/tokens/burn | Burn tokens +[**createNewCollection**](#createNewCollection) | **POST** /tokenization/collections | Create a new collection +[**fetchCollectionTokenDetails**](#fetchCollectionTokenDetails) | **GET** /tokenization/collections/{id}/tokens/{tokenId} | Get collection token details +[**getCollectionById**](#getCollectionById) | **GET** /tokenization/collections/{id} | Get a collection by id +[**getLinkedCollections**](#getLinkedCollections) | **GET** /tokenization/collections | Get collections [**getLinkedToken**](#getLinkedToken) | **GET** /tokenization/tokens/{id} | Return a linked token [**getLinkedTokens**](#getLinkedTokens) | **GET** /tokenization/tokens | List all linked tokens [**issueNewToken**](#issueNewToken) | **POST** /tokenization/tokens | Issue a new token -[**link**](#link) | **POST** /tokenization/tokens/link | Link a token +[**link**](#link) | **POST** /tokenization/tokens/link | Link a contract +[**mintCollectionToken**](#mintCollectionToken) | **POST** /tokenization/collections/{id}/tokens/mint | Mint tokens [**unlink**](#unlink) | **DELETE** /tokenization/tokens/{id} | Unlink a token +[**unlinkCollection**](#unlinkCollection) | **DELETE** /tokenization/collections/{id} | Delete a collection link +# **burnCollectionToken** +> CollectionBurnResponseDto burnCollectionToken(collectionBurnRequestDto, ) + +Burn tokens in a collection + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TokenizationApiBurnCollectionTokenRequest, CollectionBurnResponseDto } 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: TokenizationApiBurnCollectionTokenRequest = { + // CollectionBurnRequestDto + collectionBurnRequestDto: param_value, + // string | The collection link id + id: fbfbfbfb-fbfb-fbfb-fbfb-fbfbfbfbfbfb, + // 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.tokenization.burnCollectionToken(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 +------------- | ------------- | ------------- | ------------- + **collectionBurnRequestDto** | **[CollectionBurnRequestDto](../models/CollectionBurnRequestDto.md)**| | + **id** | [**string**] | The collection link id | 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 + +**[CollectionBurnResponseDto](../models/CollectionBurnResponseDto.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Tokens burned successfully | - | +**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) + +# **createNewCollection** +> CollectionLinkDto createNewCollection(collectionDeployRequestDto) + +Create a new collection and link it as a token + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TokenizationApiCreateNewCollectionRequest, CollectionLinkDto } 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: TokenizationApiCreateNewCollectionRequest = { + // CollectionDeployRequestDto + collectionDeployRequestDto: 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.tokenization.createNewCollection(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 +------------- | ------------- | ------------- | ------------- + **collectionDeployRequestDto** | **[CollectionDeployRequestDto](../models/CollectionDeployRequestDto.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 + +**[CollectionLinkDto](../models/CollectionLinkDto.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Collection was created successfully | - | +**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) + +# **fetchCollectionTokenDetails** +> CollectionLinkDto fetchCollectionTokenDetails() + +Get collection token details by id + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TokenizationApiFetchCollectionTokenDetailsRequest, CollectionLinkDto } 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: TokenizationApiFetchCollectionTokenDetailsRequest = { + // string | The collection link id + id: fbfbfbfb-fbfb-fbfb-fbfb-fbfbfbfbfbfb, + // string | The tokenId as it appears on the blockchain + tokenId: 1, +}; + +fireblocks.tokenization.fetchCollectionTokenDetails(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 +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | The collection link id | defaults to undefined + **tokenId** | [**string**] | The tokenId as it appears on the blockchain | defaults to undefined + + +### Return type + +**[CollectionLinkDto](../models/CollectionLinkDto.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Collection token details were fetched successfully | - | +**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) + +# **getCollectionById** +> CollectionLinkDto getCollectionById() + +Get a collection by id + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TokenizationApiGetCollectionByIdRequest, CollectionLinkDto } 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: TokenizationApiGetCollectionByIdRequest = { + // string | The token link id + id: fbfbfbfb-fbfb-fbfb-fbfb-fbfbfbfbfbfb, +}; + +fireblocks.tokenization.getCollectionById(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 +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | The token link id | defaults to undefined + + +### Return type + +**[CollectionLinkDto](../models/CollectionLinkDto.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Collection fetched successfully | - | +**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) + +# **getLinkedCollections** +> GetLinkedCollectionsPaginatedResponse getLinkedCollections() + +Get collections (paginated) + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TokenizationApiGetLinkedCollectionsRequest, GetLinkedCollectionsPaginatedResponse } 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: TokenizationApiGetLinkedCollectionsRequest = { + // string | Page cursor to get the next page, for example - \"MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==\" (optional) + pageCursor: pageCursor_example, + // number | Number of items per page (max 100), requesting more then 100 will return 100 items (optional) + pageSize: 10, + // any | A comma separated list of statuses to filter. Default is \"COMPLETED\" (optional) + status: COMPLETED, +}; + +fireblocks.tokenization.getLinkedCollections(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**] | Page cursor to get the next page, for example - \"MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==\" | (optional) defaults to undefined + **pageSize** | [**number**] | Number of items per page (max 100), requesting more then 100 will return 100 items | (optional) defaults to 100 + **status** | **any** | A comma separated list of statuses to filter. Default is \"COMPLETED\" | (optional) defaults to undefined + + +### Return type + +**[GetLinkedCollectionsPaginatedResponse](../models/GetLinkedCollectionsPaginatedResponse.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Collection fetched successfully | - | +**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) + # **getLinkedToken** > TokenLinkDto getLinkedToken() @@ -203,7 +528,7 @@ No authorization required # **link** > TokenLinkDto link(tokenLinkRequestDto) -Link an already existing token (by assetId, collectionId or contractId as refId) to a workspace across EVM, Stellar, or Ripple platforms. The token will be linked to the workspace if it does not already exist. +Link an a contract ### Example @@ -260,12 +585,78 @@ No authorization required |-------------|-------------|------------------| **200** | Token linked successfully | - | **201** | | - | -**404** | Could not find the underlying token identifier (refId) to link the token to | - | +**404** | Could not find the underlying contract to link to | - | **409** | Token link for {refId} already exists | - | **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) +# **mintCollectionToken** +> CollectionMintResponseDto mintCollectionToken(collectionMintRequestDto, ) + +Mint tokens and upload metadata + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TokenizationApiMintCollectionTokenRequest, CollectionMintResponseDto } 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: TokenizationApiMintCollectionTokenRequest = { + // CollectionMintRequestDto + collectionMintRequestDto: param_value, + // string | The collection link id + id: fbfbfbfb-fbfb-fbfb-fbfb-fbfbfbfbfbfb, + // 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.tokenization.mintCollectionToken(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 +------------- | ------------- | ------------- | ------------- + **collectionMintRequestDto** | **[CollectionMintRequestDto](../models/CollectionMintRequestDto.md)**| | + **id** | [**string**] | The collection link id | 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 + +**[CollectionMintResponseDto](../models/CollectionMintResponseDto.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Tokens minted successfully | - | +**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) + # **unlink** > unlink() @@ -328,4 +719,65 @@ 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) +# **unlinkCollection** +> unlinkCollection() + +Delete a collection link + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TokenizationApiUnlinkCollectionRequest } 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: TokenizationApiUnlinkCollectionRequest = { + // string | The token link id + id: fbfbfbfb-fbfb-fbfb-fbfb-fbfbfbfbfbfb, +}; + +fireblocks.tokenization.unlinkCollection(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 +------------- | ------------- | ------------- | ------------- + **id** | [**string**] | The token link id | defaults to undefined + + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Collection unlinked successfully | - | +**404** | Link for collection does not exist | - | +**0** | Error Response | * X-Request-ID -
| + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + diff --git a/docs/apis/TransactionsApi.md b/docs/apis/TransactionsApi.md index e92fde7..e9ecd4c 100644 --- a/docs/apis/TransactionsApi.md +++ b/docs/apis/TransactionsApi.md @@ -13,6 +13,7 @@ Method | HTTP request | Description [**getTransaction**](#getTransaction) | **GET** /transactions/{txId} | Find a specific transaction by Fireblocks transaction ID [**getTransactionByExternalId**](#getTransactionByExternalId) | **GET** /transactions/external_tx_id/{externalTxId} | Find a specific transaction by external transaction ID [**getTransactions**](#getTransactions) | **GET** /transactions | List transaction history +[**rescanTransactionsBeta**](#rescanTransactionsBeta) | **POST** /transactions/rescan | rescan array of transactions [**setConfirmationThresholdByTransactionHash**](#setConfirmationThresholdByTransactionHash) | **POST** /txHash/{txHash}/set_confirmation_threshold | Set confirmation threshold by transaction hash [**setTransactionConfirmationThreshold**](#setTransactionConfirmationThreshold) | **POST** /transactions/{txId}/set_confirmation_threshold | Set confirmation threshold by transaction ID [**unfreezeTransaction**](#unfreezeTransaction) | **POST** /transactions/{txId}/unfreeze | Unfreeze a transaction @@ -628,6 +629,69 @@ 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) +# **rescanTransactionsBeta** +> ValidatedTransactionsForRescanResponse rescanTransactionsBeta(rescanTransactionRequest) + +rescan transaction by running an async job.
**Note**: - These endpoints are currently in beta and might be subject to changes. - We limit the amount of the transaction to 16 per request. + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TransactionsApiRescanTransactionsBetaRequest, ValidatedTransactionsForRescanResponse } 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: TransactionsApiRescanTransactionsBetaRequest = { + // RescanTransactionRequest + rescanTransactionRequest: 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.transactions.rescanTransactionsBeta(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 +------------- | ------------- | ------------- | ------------- + **rescanTransactionRequest** | **[RescanTransactionRequest](../models/RescanTransactionRequest.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 + +**[ValidatedTransactionsForRescanResponse](../models/ValidatedTransactionsForRescanResponse.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A array of validated transactions that were sent to rescan | * 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) + # **setConfirmationThresholdByTransactionHash** > SetConfirmationsThresholdResponse setConfirmationThresholdByTransactionHash() diff --git a/docs/models/AddAbiRequestDto.md b/docs/models/AddAbiRequestDto.md new file mode 100644 index 0000000..847fe5f --- /dev/null +++ b/docs/models/AddAbiRequestDto.md @@ -0,0 +1,15 @@ +# AddAbiRequestDto + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**contractAddress** | **string** | The address of deployed contract | [default to undefined]| +|**baseAssetId** | **string** | The blockchain base assetId | [default to undefined]| +|**abi** | [**Array<AbiFunction>**](AbiFunction.md) | The ABI of the contract | [default to undefined]| +|**name** | **string** | The name of the contract | [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/CollectionBurnRequestDto.md b/docs/models/CollectionBurnRequestDto.md new file mode 100644 index 0000000..5af6485 --- /dev/null +++ b/docs/models/CollectionBurnRequestDto.md @@ -0,0 +1,14 @@ +# CollectionBurnRequestDto + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**vaultAccountId** | **string** | The id of the vault account that initiates the burn function | [default to undefined]| +|**tokenId** | **string** | The token id | [default to undefined]| +|**amount** | **string** | For ERC721, amount is optional or should always be 1 and for ERC1155, amount should be 1 or greater | [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/GetAuditLogsResponseDTO.md b/docs/models/CollectionBurnResponseDto.md similarity index 57% rename from docs/models/GetAuditLogsResponseDTO.md rename to docs/models/CollectionBurnResponseDto.md index bcec299..f6029d5 100644 --- a/docs/models/GetAuditLogsResponseDTO.md +++ b/docs/models/CollectionBurnResponseDto.md @@ -1,12 +1,10 @@ -# GetAuditLogsResponseDTO +# CollectionBurnResponseDto ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**data** | **Array<object>** | | [optional] [default to undefined]| -|**total** | **number** | | [optional] [default to undefined]| -|**cursor** | **string** | | [optional] [default to undefined]| +|**txId** | **string** | Transaction Id for the burn operation | [default to undefined]| diff --git a/docs/models/CollectionDeployRequestDto.md b/docs/models/CollectionDeployRequestDto.md new file mode 100644 index 0000000..c81a8ca --- /dev/null +++ b/docs/models/CollectionDeployRequestDto.md @@ -0,0 +1,18 @@ +# CollectionDeployRequestDto + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**baseAssetId** | **string** | The blockchain base assetId | [default to undefined]| +|**vaultAccountId** | **string** | The id of the vault account that initiated the request to issue the token | [default to undefined]| +|**type** | [**CollectionType**](CollectionType.md) | | [default to undefined]| +|**name** | **string** | A string that represents the name of the collection | [default to undefined]| +|**symbol** | **string** | A string that represents the symbol of the collection | [default to undefined]| +|**adminAddress** | **string** | The EVM address of the user that will be set as the admin user of the collection | [default to undefined]| +|**displayName** | **string** | A string to display as a name of the collection | [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/CollectionLinkDto.md b/docs/models/CollectionLinkDto.md new file mode 100644 index 0000000..229fc8a --- /dev/null +++ b/docs/models/CollectionLinkDto.md @@ -0,0 +1,25 @@ +# CollectionLinkDto + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**id** | **string** | The collection id | [default to undefined]| +|**status** | **string** | The collection status | [default to undefined]| +|**type** | [**CollectionType**](CollectionType.md) | | [default to undefined]| +|**displayName** | **string** | The display name of the collection. If was not provided, would be taken from the contract template | [optional] [default to undefined]| +|**collectionMetadata** | [**CollectionMetadataDto**](CollectionMetadataDto.md) | The collection's metadata | [optional] [default to undefined]| + + +## Enum: CollectionLinkDtoStatusEnum + + +* `Pending` (value: `'PENDING'`) + +* `Completed` (value: `'COMPLETED'`) + + + + + +[[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/CollectionMintRequestDto.md b/docs/models/CollectionMintRequestDto.md new file mode 100644 index 0000000..6875d26 --- /dev/null +++ b/docs/models/CollectionMintRequestDto.md @@ -0,0 +1,17 @@ +# CollectionMintRequestDto + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**vaultAccountId** | **string** | The id of the vault account that initiates the mint function. | [default to undefined]| +|**to** | **string** | The EVM address to mint to | [default to undefined]| +|**tokenId** | **string** | The token id, recommended to have numerical format and in sequential order | [default to undefined]| +|**amount** | **string** | For ERC721, amount is optional or should always be 1 and for ERC1155, amount should be 1 or greater | [optional] [default to undefined]| +|**metadataURI** | **string** | URL of metadata uploaded, skip uploading to IPFS if this field is provided with any value | [optional] [default to undefined]| +|**metadata** | [**CollectionTokenMetadataDto**](CollectionTokenMetadataDto.md) | Metadata to upload | [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/AssetDoesNotExistHttpError.md b/docs/models/CollectionMintResponseDto.md similarity index 51% rename from docs/models/AssetDoesNotExistHttpError.md rename to docs/models/CollectionMintResponseDto.md index 22b60fe..6339891 100644 --- a/docs/models/AssetDoesNotExistHttpError.md +++ b/docs/models/CollectionMintResponseDto.md @@ -1,12 +1,10 @@ -# AssetDoesNotExistHttpError +# CollectionMintResponseDto ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**statusCode** | **number** | HTTP status code | [optional] [default to undefined]| -|**message** | **string** | Error message | [optional] [default to undefined]| -|**error** | **string** | Short description of the HTTP error | [optional] [default to undefined]| +|**txId** | **string** | Transaction Id for the mint operation | [default to undefined]| diff --git a/docs/models/CollectionOwnershipResponse.md b/docs/models/CollectionOwnershipResponse.md index b65940f..4a8be8b 100644 --- a/docs/models/CollectionOwnershipResponse.md +++ b/docs/models/CollectionOwnershipResponse.md @@ -41,6 +41,12 @@ * `EtherlinkTest` (value: `'ETHERLINK_TEST'`) +* `Mantle` (value: `'MANTLE'`) + +* `MantleTest` (value: `'MANTLE_TEST'`) + +* `GunGunzillaTest` (value: `'GUN_GUNZILLA_TEST'`) + diff --git a/docs/models/CollectionTokenMetadataAttributeDto.md b/docs/models/CollectionTokenMetadataAttributeDto.md new file mode 100644 index 0000000..1e5580e --- /dev/null +++ b/docs/models/CollectionTokenMetadataAttributeDto.md @@ -0,0 +1,14 @@ +# CollectionTokenMetadataAttributeDto + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**trait_type** | **string** | Name of the trait | [default to undefined]| +|**value** | **string** | Value of the trait | [default to undefined]| +|**display_type** | **string** | A field indicating how you would like trait to be displayed | [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/CollectionTokenMetadataDto.md b/docs/models/CollectionTokenMetadataDto.md new file mode 100644 index 0000000..b4e76b8 --- /dev/null +++ b/docs/models/CollectionTokenMetadataDto.md @@ -0,0 +1,17 @@ +# CollectionTokenMetadataDto + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**name** | **string** | Token\'s name | [default to undefined]| +|**description** | **string** | Token\'s description | [default to undefined]| +|**image** | **string** | Token\'s image URL | [optional] [default to undefined]| +|**animation_url** | **string** | Token\'s animation URL | [optional] [default to undefined]| +|**external_url** | **string** | Token\'s external URL | [optional] [default to undefined]| +|**attributes** | [**Array<CollectionTokenMetadataAttributeDto>**](CollectionTokenMetadataAttributeDto.md) | Token\'s metadata attributes | [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/CollectionType.md b/docs/models/CollectionType.md new file mode 100644 index 0000000..0cb2d18 --- /dev/null +++ b/docs/models/CollectionType.md @@ -0,0 +1,12 @@ +# CollectionType + +## Enum + + +* `NonFungibleToken` (value: `'NON_FUNGIBLE_TOKEN'`) + +* `SemiFungibleToken` (value: `'SEMI_FUNGIBLE_TOKEN'`) + + + +[[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/ContractWithAbiDto.md b/docs/models/ContractWithAbiDto.md new file mode 100644 index 0000000..dd30091 --- /dev/null +++ b/docs/models/ContractWithAbiDto.md @@ -0,0 +1,18 @@ +# ContractWithAbiDto + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**contractAddress** | **string** | The address of the contract | [default to undefined]| +|**baseAssetId** | **string** | The blockchain base assetId | [default to undefined]| +|**name** | **string** | The name of the contract | [default to undefined]| +|**abi** | [**Array<AbiFunction>**](AbiFunction.md) | The ABI of the contract | [default to undefined]| +|**isPublic** | **boolean** | Whether the contract ABI is public | [default to undefined]| +|**isProxy** | **boolean** | Whether the contract is a proxy contract | [optional] [default to undefined]| +|**implementation** | **string** | The implementation contract address | [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/CreateSigningKeyDto.md b/docs/models/CreateSigningKeyDto.md index f5b7a27..55f5bce 100644 --- a/docs/models/CreateSigningKeyDto.md +++ b/docs/models/CreateSigningKeyDto.md @@ -7,6 +7,7 @@ |**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 a validation key. | [default to undefined]| |**agentUserId** | **string** | Id of user to which this key belongs | [default to undefined]| +|**proofOfOwnership** | [**CreateSigningKeyDtoProofOfOwnership**](CreateSigningKeyDtoProofOfOwnership.md) | | [optional] [default to undefined]| diff --git a/docs/models/CreateSigningKeyDtoProofOfOwnership.md b/docs/models/CreateSigningKeyDtoProofOfOwnership.md new file mode 100644 index 0000000..3161a75 --- /dev/null +++ b/docs/models/CreateSigningKeyDtoProofOfOwnership.md @@ -0,0 +1,13 @@ +# CreateSigningKeyDtoProofOfOwnership + +## 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/CreateVaultAccountRequest.md b/docs/models/CreateVaultAccountRequest.md index 9bb8ead..3941d91 100644 --- a/docs/models/CreateVaultAccountRequest.md +++ b/docs/models/CreateVaultAccountRequest.md @@ -8,6 +8,17 @@ |**hiddenOnUI** | **boolean** | Optional - if true, the created account and all related transactions will not be shown on Fireblocks console | [optional] [default to undefined]| |**customerRefId** | **string** | Optional - Sets a customer reference ID | [optional] [default to undefined]| |**autoFuel** | **boolean** | Optional - Sets the autoFuel property of the vault account | [optional] [default to undefined]| +|**vaultType** | **string** | Type of vault account. The default type will be set to MPC.<br/> If the workspace does not support the selected type, it will return an error. | [optional] [default to VaultTypeEnum_Mpc]| +|**autoAssign** | **boolean** | Applicable only when the vault account type is KEY_LINK. For MPC, this parameter will be ignored.<br/> If set to true and there are available keys, random keys will be assigned to the newly created vault account.<br/> If set to true and there are no available keys to be assigned, it will return an error.<br/> If set to false, the vault account will be created without any keys. | [optional] [default to false]| + + +## Enum: CreateVaultAccountRequestVaultTypeEnum + + +* `Mpc` (value: `'MPC'`) + +* `KeyLink` (value: `'KEY_LINK'`) + diff --git a/docs/models/ExchangeAsset.md b/docs/models/ExchangeAsset.md index 0bc2f1f..6194556 100644 --- a/docs/models/ExchangeAsset.md +++ b/docs/models/ExchangeAsset.md @@ -9,6 +9,7 @@ |**lockedAmount** | **string** | | [optional] [default to undefined]| |**total** | **string** | | [optional] [default to undefined]| |**available** | **string** | | [optional] [default to undefined]| +|**credit** | **string** | | [optional] [default to undefined]| diff --git a/docs/models/FetchAbiRequestDto.md b/docs/models/FetchAbiRequestDto.md new file mode 100644 index 0000000..fa29872 --- /dev/null +++ b/docs/models/FetchAbiRequestDto.md @@ -0,0 +1,13 @@ +# FetchAbiRequestDto + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**baseAssetId** | **string** | The blockchain base assetId | [default to undefined]| +|**contractAddress** | **string** | The contract\'s onchain address | [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/GetLinkedCollectionsPaginatedResponse.md b/docs/models/GetLinkedCollectionsPaginatedResponse.md new file mode 100644 index 0000000..5c93890 --- /dev/null +++ b/docs/models/GetLinkedCollectionsPaginatedResponse.md @@ -0,0 +1,13 @@ +# GetLinkedCollectionsPaginatedResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**data** | [**Array<CollectionLinkDto>**](CollectionLinkDto.md) | The data of the current page | [optional] [default to undefined]| +|**next** | **string** | The ID of the next 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/RescanTransaction.md b/docs/models/RescanTransaction.md new file mode 100644 index 0000000..950dda2 --- /dev/null +++ b/docs/models/RescanTransaction.md @@ -0,0 +1,13 @@ +# RescanTransaction + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**txHash** | **string** | Blockchain TX hash | [optional] [default to undefined]| +|**assetId** | **string** | Asset symbol BTC,ETH) | [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/RescanTransactionRequest.md b/docs/models/RescanTransactionRequest.md new file mode 100644 index 0000000..1811ce9 --- /dev/null +++ b/docs/models/RescanTransactionRequest.md @@ -0,0 +1,11 @@ +# RescanTransactionRequest + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| + + + + +[[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/TokenLinkDto.md b/docs/models/TokenLinkDto.md index bd2a8a0..1d8c352 100644 --- a/docs/models/TokenLinkDto.md +++ b/docs/models/TokenLinkDto.md @@ -7,8 +7,8 @@ |**id** | **string** | The token link id | [default to undefined]| |**status** | **string** | The token status | [default to undefined]| |**type** | **string** | The type of token | [optional] [default to undefined]| -|**refId** | **string** | The Fireblocks\' reference id. Can be a Fireblocks\' supported asset, collectionId or contractId | [optional] [default to undefined]| -|**displayName** | **string** | The token display name. If was not provided, would be taken from the contract template name | [optional] [default to undefined]| +|**refId** | **string** | The Fireblocks\' reference id | [optional] [default to undefined]| +|**displayName** | **string** | The token display name. If was not provided, would be taken from the contract template | [optional] [default to undefined]| |**tokenMetadata** | [**TokenLinkDtoTokenMetadata**](TokenLinkDtoTokenMetadata.md) | | [optional] [default to undefined]| diff --git a/docs/models/TokenLinkRequestDto.md b/docs/models/TokenLinkRequestDto.md index 9dac24b..337b73d 100644 --- a/docs/models/TokenLinkRequestDto.md +++ b/docs/models/TokenLinkRequestDto.md @@ -5,8 +5,10 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**type** | **string** | The type of token being linked | [default to undefined]| -|**refId** | **string** | The Fireblocks\' token link reference id. For example, \'BQ5R_BDESC_ABC\' if it\'s a fungible asset | [default to undefined]| +|**refId** | **string** | The Fireblocks\' token link reference id. For example, \'BQ5R_BDESC_ABC\' if it\'s a fungible asset | [optional] [default to undefined]| |**displayName** | **string** | The token display name | [optional] [default to undefined]| +|**baseAssetId** | **string** | The blockchain base assetId | [optional] [default to undefined]| +|**contractAddress** | **string** | The contract\'s onchain address | [optional] [default to undefined]| ## Enum: TokenLinkRequestDtoTypeEnum diff --git a/docs/models/TokenOwnershipResponse.md b/docs/models/TokenOwnershipResponse.md index d696658..fd4e657 100644 --- a/docs/models/TokenOwnershipResponse.md +++ b/docs/models/TokenOwnershipResponse.md @@ -53,6 +53,12 @@ * `EtherlinkTest` (value: `'ETHERLINK_TEST'`) +* `Mantle` (value: `'MANTLE'`) + +* `MantleTest` (value: `'MANTLE_TEST'`) + +* `GunGunzillaTest` (value: `'GUN_GUNZILLA_TEST'`) + ## Enum: TokenOwnershipResponseStatusEnum diff --git a/docs/models/TokenResponse.md b/docs/models/TokenResponse.md index 4867642..afce499 100644 --- a/docs/models/TokenResponse.md +++ b/docs/models/TokenResponse.md @@ -46,6 +46,12 @@ * `EtherlinkTest` (value: `'ETHERLINK_TEST'`) +* `Mantle` (value: `'MANTLE'`) + +* `MantleTest` (value: `'MANTLE_TEST'`) + +* `GunGunzillaTest` (value: `'GUN_GUNZILLA_TEST'`) + diff --git a/docs/models/TransactionRequest.md b/docs/models/TransactionRequest.md index 2caeadd..3ed2c42 100644 --- a/docs/models/TransactionRequest.md +++ b/docs/models/TransactionRequest.md @@ -19,6 +19,7 @@ |**priorityFee** | [**TransactionRequestPriorityFee**](TransactionRequestPriorityFee.md) | | [optional] [default to undefined]| |**failOnLowFee** | **boolean** | When set to `true`, in case the current `MEDIUM` fee level is higher than the one specified in the transaction, the transaction will fail to avoid getting stuck with no confirmations. | [optional] [default to undefined]| |**maxFee** | **string** | The maximum fee (gas price or fee per byte) that should be payed for the transaction. In case the current value of the requested `feeLevel` is higher than this requested maximum fee. Represented by a numeric string for accurate precision. | [optional] [default to undefined]| +|**maxTotalFee** | **string** | For BTC-based blockchains only. The maximum fee (in the units of the fee-paying asset) that should be paid for the transaction. | [optional] [default to undefined]| |**gasLimit** | [**TransactionRequestGasLimit**](TransactionRequestGasLimit.md) | | [optional] [default to undefined]| |**gasPrice** | [**TransactionRequestGasPrice**](TransactionRequestGasPrice.md) | | [optional] [default to undefined]| |**networkFee** | [**TransactionRequestNetworkFee**](TransactionRequestNetworkFee.md) | | [optional] [default to undefined]| @@ -29,6 +30,7 @@ |**autoStaking** | **boolean** | This feature is no longer supported. | [optional] [default to undefined]| |**networkStaking** | [**TransactionRequestNetworkStaking**](TransactionRequestNetworkStaking.md) | | [optional] [default to undefined]| |**cpuStaking** | [**TransactionRequestNetworkStaking**](TransactionRequestNetworkStaking.md) | | [optional] [default to undefined]| +|**useGasless** | **boolean** | - Override the default gaslsess configuration by sending true\\false | [optional] [default to undefined]| ## Enum: TransactionRequestFeeLevelEnum diff --git a/docs/models/TravelRuleCreateTransactionRequest.md b/docs/models/TravelRuleCreateTransactionRequest.md index bdbccc4..06be169 100644 --- a/docs/models/TravelRuleCreateTransactionRequest.md +++ b/docs/models/TravelRuleCreateTransactionRequest.md @@ -8,15 +8,21 @@ |**beneficiary** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | Information about the beneficiary of the transaction | [default to undefined]| |**originatorVASPdid** | **string** | The VASP ID of the transaction originator | [optional] [default to undefined]| |**beneficiaryVASPdid** | **string** | The VASP ID of the transaction beneficiary | [optional] [default to undefined]| +|**originatorVASPname** | **string** | | [optional] [default to undefined]| |**beneficiaryVASPname** | **string** | The name of the VASP acting as the beneficiary | [optional] [default to undefined]| |**transactionBlockchainInfo** | [**TravelRuleTransactionBlockchainInfo**](TravelRuleTransactionBlockchainInfo.md) | Information about the blockchain transaction | [optional] [default to undefined]| |**encrypted** | **string** | Encrypted data related to the transaction | [optional] [default to undefined]| |**protocol** | **string** | The protocol used to perform the travel rule | [optional] [default to undefined]| |**skipBeneficiaryDataValidation** | **boolean** | Whether to skip validation of beneficiary data | [optional] [default to undefined]| |**travelRuleBehavior** | **boolean** | Whether to check if the transaction is a TRAVEL_RULE in the beneficiary VASP\'s jurisdiction | [optional] [default to undefined]| +|**originatorRef** | **string** | | [optional] [default to undefined]| +|**beneficiaryRef** | **string** | | [optional] [default to undefined]| +|**travelRuleBehaviorRef** | **string** | | [optional] [default to undefined]| |**originatorProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | Ownership proof related to the originator of the transaction | [optional] [default to undefined]| |**beneficiaryProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | Ownership proof related to the beneficiary of the transaction | [optional] [default to undefined]| -|**pii** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | Personal identifiable information related to the transaction | [optional] [default to undefined]| +|**beneficiaryDid** | **string** | | [optional] [default to undefined]| +|**originatorDid** | **string** | | [optional] [default to undefined]| +|**isNonCustodial** | **boolean** | | [optional] [default to undefined]| diff --git a/docs/models/TravelRuleDateAndPlaceOfBirth.md b/docs/models/TravelRuleDateAndPlaceOfBirth.md new file mode 100644 index 0000000..24a85c0 --- /dev/null +++ b/docs/models/TravelRuleDateAndPlaceOfBirth.md @@ -0,0 +1,13 @@ +# TravelRuleDateAndPlaceOfBirth + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**dateOfBirth** | **string** | | [optional] [default to undefined]| +|**placeOfBirth** | **string** | | [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/TravelRuleGeographicAddress.md b/docs/models/TravelRuleGeographicAddress.md new file mode 100644 index 0000000..f45d0ad --- /dev/null +++ b/docs/models/TravelRuleGeographicAddress.md @@ -0,0 +1,27 @@ +# TravelRuleGeographicAddress + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**streetName** | **string** | | [optional] [default to undefined]| +|**townName** | **string** | | [optional] [default to undefined]| +|**country** | **string** | | [optional] [default to undefined]| +|**buildingNumber** | **string** | | [optional] [default to undefined]| +|**postCode** | **string** | | [optional] [default to undefined]| +|**addressType** | **string** | | [optional] [default to undefined]| +|**department** | **string** | | [optional] [default to undefined]| +|**subDepartment** | **string** | | [optional] [default to undefined]| +|**buildingName** | **string** | | [optional] [default to undefined]| +|**floor** | **string** | | [optional] [default to undefined]| +|**postBox** | **string** | | [optional] [default to undefined]| +|**room** | **string** | | [optional] [default to undefined]| +|**townLocationName** | **string** | | [optional] [default to undefined]| +|**districtName** | **string** | | [optional] [default to undefined]| +|**countrySubDivision** | **string** | | [optional] [default to undefined]| +|**addressLine** | **Array<string>** | | [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/TravelRuleLegalNameIdentifiers.md b/docs/models/TravelRuleLegalNameIdentifiers.md new file mode 100644 index 0000000..05f5568 --- /dev/null +++ b/docs/models/TravelRuleLegalNameIdentifiers.md @@ -0,0 +1,13 @@ +# TravelRuleLegalNameIdentifiers + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**legalPersonNameIdentifierType** | **string** | | [optional] [default to undefined]| +|**legalPersonName** | **string** | | [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/TravelRuleLegalPerson.md b/docs/models/TravelRuleLegalPerson.md new file mode 100644 index 0000000..aea8409 --- /dev/null +++ b/docs/models/TravelRuleLegalPerson.md @@ -0,0 +1,17 @@ +# TravelRuleLegalPerson + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**name** | [**TravelRuleLegalPersonNameIdentifier**](TravelRuleLegalPersonNameIdentifier.md) | | [optional] [default to undefined]| +|**geographicAddress** | [**Array<TravelRuleGeographicAddress>**](TravelRuleGeographicAddress.md) | | [optional] [default to undefined]| +|**nationalIdentification** | [**Array<TravelRuleNationalIdentification>**](TravelRuleNationalIdentification.md) | | [optional] [default to undefined]| +|**customerIdentification** | **string** | | [optional] [default to undefined]| +|**customerNumber** | **string** | | [optional] [default to undefined]| +|**countryOfRegistration** | **string** | | [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/TravelRuleLegalPersonNameIdentifier.md b/docs/models/TravelRuleLegalPersonNameIdentifier.md new file mode 100644 index 0000000..3add4dd --- /dev/null +++ b/docs/models/TravelRuleLegalPersonNameIdentifier.md @@ -0,0 +1,14 @@ +# TravelRuleLegalPersonNameIdentifier + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**nameIdentifier** | [**Array<TravelRuleLegalNameIdentifiers>**](TravelRuleLegalNameIdentifiers.md) | | [optional] [default to undefined]| +|**localNameIdentifier** | [**Array<TravelRuleLegalNameIdentifiers>**](TravelRuleLegalNameIdentifiers.md) | | [optional] [default to undefined]| +|**phoneticNameIdentifier** | [**Array<TravelRuleLegalNameIdentifiers>**](TravelRuleLegalNameIdentifiers.md) | | [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/TravelRuleNationalIdentification.md b/docs/models/TravelRuleNationalIdentification.md new file mode 100644 index 0000000..c0f4f62 --- /dev/null +++ b/docs/models/TravelRuleNationalIdentification.md @@ -0,0 +1,15 @@ +# TravelRuleNationalIdentification + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**countryOfIssue** | **string** | | [optional] [default to undefined]| +|**nationalIdentifier** | **string** | | [optional] [default to undefined]| +|**nationalIdentifierType** | **string** | | [optional] [default to undefined]| +|**registrationAuthority** | **string** | | [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/TravelRuleNaturalNameIdentifier.md b/docs/models/TravelRuleNaturalNameIdentifier.md new file mode 100644 index 0000000..7ba0136 --- /dev/null +++ b/docs/models/TravelRuleNaturalNameIdentifier.md @@ -0,0 +1,14 @@ +# TravelRuleNaturalNameIdentifier + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**primaryIdentifier** | **string** | | [optional] [default to undefined]| +|**secondaryIdentifier** | **string** | | [optional] [default to undefined]| +|**nameIdentifierType** | **string** | | [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/TravelRuleNaturalNameIdentifiers.md b/docs/models/TravelRuleNaturalNameIdentifiers.md new file mode 100644 index 0000000..9143d03 --- /dev/null +++ b/docs/models/TravelRuleNaturalNameIdentifiers.md @@ -0,0 +1,14 @@ +# TravelRuleNaturalNameIdentifiers + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**primaryIdentifier** | **string** | | [optional] [default to undefined]| +|**secondaryIdentifier** | **string** | | [optional] [default to undefined]| +|**nameIdentifierType** | **string** | | [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/TravelRuleNaturalPerson.md b/docs/models/TravelRuleNaturalPerson.md new file mode 100644 index 0000000..26b7535 --- /dev/null +++ b/docs/models/TravelRuleNaturalPerson.md @@ -0,0 +1,19 @@ +# TravelRuleNaturalPerson + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**name** | [**Array<TravelRuleNaturalPersonNameIdentifier>**](TravelRuleNaturalPersonNameIdentifier.md) | | [optional] [default to undefined]| +|**geographicAddress** | [**Array<TravelRuleGeographicAddress>**](TravelRuleGeographicAddress.md) | | [optional] [default to undefined]| +|**nationalIdentification** | [**Array<TravelRuleNationalIdentification>**](TravelRuleNationalIdentification.md) | | [optional] [default to undefined]| +|**dateAndPlaceOfBirth** | [**Array<TravelRuleDateAndPlaceOfBirth>**](TravelRuleDateAndPlaceOfBirth.md) | | [optional] [default to undefined]| +|**customerIdentification** | **string** | | [optional] [default to undefined]| +|**countryOfResidence** | **string** | | [optional] [default to undefined]| +|**customerNumber** | **string** | | [optional] [default to undefined]| +|**countryOfRegistration** | **string** | | [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/TravelRuleNaturalPersonNameIdentifier.md b/docs/models/TravelRuleNaturalPersonNameIdentifier.md new file mode 100644 index 0000000..9aadecb --- /dev/null +++ b/docs/models/TravelRuleNaturalPersonNameIdentifier.md @@ -0,0 +1,14 @@ +# TravelRuleNaturalPersonNameIdentifier + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**nameIdentifier** | [**Array<TravelRuleNaturalNameIdentifier>**](TravelRuleNaturalNameIdentifier.md) | | [optional] [default to undefined]| +|**localNameIdentifier** | [**Array<TravelRuleNaturalNameIdentifier>**](TravelRuleNaturalNameIdentifier.md) | | [optional] [default to undefined]| +|**phoneticNameIdentifier** | [**Array<TravelRuleNaturalNameIdentifier>**](TravelRuleNaturalNameIdentifier.md) | | [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/TravelRulePerson.md b/docs/models/TravelRulePerson.md new file mode 100644 index 0000000..5da41ce --- /dev/null +++ b/docs/models/TravelRulePerson.md @@ -0,0 +1,13 @@ +# TravelRulePerson + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**naturalPerson** | [**TravelRuleNaturalPerson**](TravelRuleNaturalPerson.md) | | [optional] [default to undefined]| +|**legalPerson** | [**TravelRuleLegalPerson**](TravelRuleLegalPerson.md) | | [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/TravelRulePersons.md b/docs/models/TravelRulePersons.md new file mode 100644 index 0000000..6f11b6b --- /dev/null +++ b/docs/models/TravelRulePersons.md @@ -0,0 +1,13 @@ +# TravelRulePersons + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**naturalPerson** | [**TravelRuleNaturalPerson**](TravelRuleNaturalPerson.md) | | [optional] [default to undefined]| +|**legalPerson** | [**TravelRuleLegalPerson**](TravelRuleLegalPerson.md) | | [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/TravelRulePiiIVMS.md b/docs/models/TravelRulePiiIVMS.md index 4dd8b03..b847673 100644 --- a/docs/models/TravelRulePiiIVMS.md +++ b/docs/models/TravelRulePiiIVMS.md @@ -4,15 +4,9 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**fullName** | **string** | | [optional] [default to undefined]| -|**dateOfBirth** | **string** | | [optional] [default to undefined]| -|**placeOfBirth** | **string** | | [optional] [default to undefined]| -|**address** | **string** | | [optional] [default to undefined]| -|**identificationNumber** | **string** | | [optional] [default to undefined]| -|**nationality** | **string** | | [optional] [default to undefined]| -|**countryOfResidence** | **string** | | [optional] [default to undefined]| -|**taxIdentificationNumber** | **string** | | [optional] [default to undefined]| -|**customerNumber** | **string** | | [optional] [default to undefined]| +|**originatorPersons** | [**Array<TravelRulePersons>**](TravelRulePersons.md) | | [optional] [default to undefined]| +|**beneficiaryPersons** | [**Array<TravelRulePersons>**](TravelRulePersons.md) | | [optional] [default to undefined]| +|**accountNumber** | **Array<string>** | | [optional] [default to undefined]| diff --git a/docs/models/TravelRuleValidateFullTransactionRequest.md b/docs/models/TravelRuleValidateFullTransactionRequest.md index 3275a84..fd5f0da 100644 --- a/docs/models/TravelRuleValidateFullTransactionRequest.md +++ b/docs/models/TravelRuleValidateFullTransactionRequest.md @@ -21,7 +21,6 @@ |**travelRuleBehavior** | **boolean** | Whether to check if the transaction is a TRAVEL_RULE in the beneficiary VASP\'s jurisdiction | [optional] [default to undefined]| |**originatorProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | Ownership proof related to the originator of the transaction | [optional] [default to undefined]| |**beneficiaryProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | Ownership proof related to the beneficiary of the transaction | [optional] [default to undefined]| -|**pii** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | Personal identifiable information related to the transaction | [optional] [default to undefined]| diff --git a/docs/models/TravelRuleValidateTransactionRequest.md b/docs/models/TravelRuleValidateTransactionRequest.md index b91649a..b4aed8e 100644 --- a/docs/models/TravelRuleValidateTransactionRequest.md +++ b/docs/models/TravelRuleValidateTransactionRequest.md @@ -5,10 +5,10 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**transactionAsset** | **string** | Transaction asset symbol BTC,ETH) | [default to undefined]| -|**destination** | **string** | Transaction destination address | [default to undefined]| |**transactionAmount** | **string** | Transaction amount in the transaction asset | [default to undefined]| |**originatorVASPdid** | **string** | This is the identifier assigned to your VASP | [default to undefined]| |**originatorEqualsBeneficiary** | **boolean** | \"True\" if the originator and beneficiary is the same person and you therefore do not need to collect any information. \"False\" if it is a third-party transfer. | [default to undefined]| +|**destination** | **string** | Transaction destination address | [optional] [default to undefined]| |**travelRuleBehavior** | **boolean** | This will also check if the transaction is a TRAVEL_RULE in the beneficiary VASP\'s jurisdiction | [optional] [default to undefined]| |**beneficiaryVASPdid** | **string** | This is the identifier assigned to the VASP the funds are being sent to | [optional] [default to undefined]| |**beneficiaryVASPname** | **string** | Beneficiary VASP name | [optional] [default to undefined]| diff --git a/docs/models/ValidatedTransactionsForRescan.md b/docs/models/ValidatedTransactionsForRescan.md new file mode 100644 index 0000000..35cede8 --- /dev/null +++ b/docs/models/ValidatedTransactionsForRescan.md @@ -0,0 +1,14 @@ +# ValidatedTransactionsForRescan + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**baseAsset** | **string** | Base asset symbol BTC_TEST, ETH_TEST5) | [optional] [default to undefined]| +|**networkProtocol** | **string** | Netowrk protocol of the blockchain (BTC, ETH) | [optional] [default to undefined]| +|**txHashes** | **Array<string>** | Blockchain TX hashes | [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/ValidatedTransactionsForRescanResponse.md b/docs/models/ValidatedTransactionsForRescanResponse.md new file mode 100644 index 0000000..3f7120a --- /dev/null +++ b/docs/models/ValidatedTransactionsForRescanResponse.md @@ -0,0 +1,11 @@ +# ValidatedTransactionsForRescanResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/models/add-abi-request-dto.ts b/models/add-abi-request-dto.ts new file mode 100644 index 0000000..7a824b8 --- /dev/null +++ b/models/add-abi-request-dto.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AbiFunction } from './abi-function'; + +/** + * + * @export + * @interface AddAbiRequestDto + */ +export interface AddAbiRequestDto { + /** + * The address of deployed contract + * @type {string} + * @memberof AddAbiRequestDto + */ + 'contractAddress': string; + /** + * The blockchain base assetId + * @type {string} + * @memberof AddAbiRequestDto + */ + 'baseAssetId': string; + /** + * The ABI of the contract + * @type {Array} + * @memberof AddAbiRequestDto + */ + 'abi': Array; + /** + * The name of the contract + * @type {string} + * @memberof AddAbiRequestDto + */ + 'name'?: string; +} + diff --git a/models/collection-burn-request-dto.ts b/models/collection-burn-request-dto.ts new file mode 100644 index 0000000..a426af1 --- /dev/null +++ b/models/collection-burn-request-dto.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CollectionBurnRequestDto + */ +export interface CollectionBurnRequestDto { + /** + * The id of the vault account that initiates the burn function + * @type {string} + * @memberof CollectionBurnRequestDto + */ + 'vaultAccountId': string; + /** + * The token id + * @type {string} + * @memberof CollectionBurnRequestDto + */ + 'tokenId': string; + /** + * For ERC721, amount is optional or should always be 1 and for ERC1155, amount should be 1 or greater + * @type {string} + * @memberof CollectionBurnRequestDto + */ + 'amount'?: string; +} + diff --git a/models/collection-burn-response-dto.ts b/models/collection-burn-response-dto.ts new file mode 100644 index 0000000..9bbfa83 --- /dev/null +++ b/models/collection-burn-response-dto.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CollectionBurnResponseDto + */ +export interface CollectionBurnResponseDto { + /** + * Transaction Id for the burn operation + * @type {string} + * @memberof CollectionBurnResponseDto + */ + 'txId': string; +} + diff --git a/models/collection-deploy-request-dto.ts b/models/collection-deploy-request-dto.ts new file mode 100644 index 0000000..f09da84 --- /dev/null +++ b/models/collection-deploy-request-dto.ts @@ -0,0 +1,71 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CollectionType } from './collection-type'; + +/** + * + * @export + * @interface CollectionDeployRequestDto + */ +export interface CollectionDeployRequestDto { + /** + * The blockchain base assetId + * @type {string} + * @memberof CollectionDeployRequestDto + */ + 'baseAssetId': string; + /** + * The id of the vault account that initiated the request to issue the token + * @type {string} + * @memberof CollectionDeployRequestDto + */ + 'vaultAccountId': string; + /** + * + * @type {CollectionType} + * @memberof CollectionDeployRequestDto + */ + 'type': CollectionType; + /** + * A string that represents the name of the collection + * @type {string} + * @memberof CollectionDeployRequestDto + */ + 'name': string; + /** + * A string that represents the symbol of the collection + * @type {string} + * @memberof CollectionDeployRequestDto + */ + 'symbol': string; + /** + * The EVM address of the user that will be set as the admin user of the collection + * @type {string} + * @memberof CollectionDeployRequestDto + */ + 'adminAddress': string; + /** + * A string to display as a name of the collection + * @type {string} + * @memberof CollectionDeployRequestDto + */ + 'displayName'?: string; +} + + + diff --git a/models/collection-link-dto.ts b/models/collection-link-dto.ts new file mode 100644 index 0000000..4fa9790 --- /dev/null +++ b/models/collection-link-dto.ts @@ -0,0 +1,68 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CollectionMetadataDto } from './collection-metadata-dto'; +// May contain unused imports in some cases +// @ts-ignore +import { CollectionType } from './collection-type'; + +/** + * + * @export + * @interface CollectionLinkDto + */ +export interface CollectionLinkDto { + /** + * The collection id + * @type {string} + * @memberof CollectionLinkDto + */ + 'id': string; + /** + * The collection status + * @type {string} + * @memberof CollectionLinkDto + */ + 'status': CollectionLinkDtoStatusEnum; + /** + * + * @type {CollectionType} + * @memberof CollectionLinkDto + */ + 'type': CollectionType; + /** + * The display name of the collection. If was not provided, would be taken from the contract template + * @type {string} + * @memberof CollectionLinkDto + */ + 'displayName'?: string; + /** + * The collection's metadata + * @type {CollectionMetadataDto} + * @memberof CollectionLinkDto + */ + 'collectionMetadata'?: CollectionMetadataDto; +} + +export const CollectionLinkDtoStatusEnum = { + Pending: 'PENDING', + Completed: 'COMPLETED' +} as const; + +export type CollectionLinkDtoStatusEnum = typeof CollectionLinkDtoStatusEnum[keyof typeof CollectionLinkDtoStatusEnum]; + + diff --git a/models/collection-mint-request-dto.ts b/models/collection-mint-request-dto.ts new file mode 100644 index 0000000..b01604e --- /dev/null +++ b/models/collection-mint-request-dto.ts @@ -0,0 +1,63 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CollectionTokenMetadataDto } from './collection-token-metadata-dto'; + +/** + * + * @export + * @interface CollectionMintRequestDto + */ +export interface CollectionMintRequestDto { + /** + * The id of the vault account that initiates the mint function. + * @type {string} + * @memberof CollectionMintRequestDto + */ + 'vaultAccountId': string; + /** + * The EVM address to mint to + * @type {string} + * @memberof CollectionMintRequestDto + */ + 'to': string; + /** + * The token id, recommended to have numerical format and in sequential order + * @type {string} + * @memberof CollectionMintRequestDto + */ + 'tokenId': string; + /** + * For ERC721, amount is optional or should always be 1 and for ERC1155, amount should be 1 or greater + * @type {string} + * @memberof CollectionMintRequestDto + */ + 'amount'?: string; + /** + * URL of metadata uploaded, skip uploading to IPFS if this field is provided with any value + * @type {string} + * @memberof CollectionMintRequestDto + */ + 'metadataURI'?: string; + /** + * Metadata to upload + * @type {CollectionTokenMetadataDto} + * @memberof CollectionMintRequestDto + */ + 'metadata'?: CollectionTokenMetadataDto; +} + diff --git a/models/collection-mint-response-dto.ts b/models/collection-mint-response-dto.ts new file mode 100644 index 0000000..4b410b3 --- /dev/null +++ b/models/collection-mint-response-dto.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CollectionMintResponseDto + */ +export interface CollectionMintResponseDto { + /** + * Transaction Id for the mint operation + * @type {string} + * @memberof CollectionMintResponseDto + */ + 'txId': string; +} + diff --git a/models/collection-ownership-response.ts b/models/collection-ownership-response.ts index 053c9ab..0ee1157 100644 --- a/models/collection-ownership-response.ts +++ b/models/collection-ownership-response.ts @@ -71,7 +71,10 @@ export const CollectionOwnershipResponseBlockchainDescriptorEnum = { BasechainEth: 'BASECHAIN_ETH', BasechainEthTest3: 'BASECHAIN_ETH_TEST3', Etherlink: 'ETHERLINK', - EtherlinkTest: 'ETHERLINK_TEST' + EtherlinkTest: 'ETHERLINK_TEST', + Mantle: 'MANTLE', + MantleTest: 'MANTLE_TEST', + GunGunzillaTest: 'GUN_GUNZILLA_TEST' } as const; export type CollectionOwnershipResponseBlockchainDescriptorEnum = typeof CollectionOwnershipResponseBlockchainDescriptorEnum[keyof typeof CollectionOwnershipResponseBlockchainDescriptorEnum]; diff --git a/models/collection-token-metadata-attribute-dto.ts b/models/collection-token-metadata-attribute-dto.ts new file mode 100644 index 0000000..1356835 --- /dev/null +++ b/models/collection-token-metadata-attribute-dto.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CollectionTokenMetadataAttributeDto + */ +export interface CollectionTokenMetadataAttributeDto { + /** + * Name of the trait + * @type {string} + * @memberof CollectionTokenMetadataAttributeDto + */ + 'trait_type': string; + /** + * Value of the trait + * @type {string} + * @memberof CollectionTokenMetadataAttributeDto + */ + 'value': string; + /** + * A field indicating how you would like trait to be displayed + * @type {string} + * @memberof CollectionTokenMetadataAttributeDto + */ + 'display_type'?: string; +} + diff --git a/models/collection-token-metadata-dto.ts b/models/collection-token-metadata-dto.ts new file mode 100644 index 0000000..002d188 --- /dev/null +++ b/models/collection-token-metadata-dto.ts @@ -0,0 +1,63 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CollectionTokenMetadataAttributeDto } from './collection-token-metadata-attribute-dto'; + +/** + * + * @export + * @interface CollectionTokenMetadataDto + */ +export interface CollectionTokenMetadataDto { + /** + * Token\'s name + * @type {string} + * @memberof CollectionTokenMetadataDto + */ + 'name': string; + /** + * Token\'s description + * @type {string} + * @memberof CollectionTokenMetadataDto + */ + 'description': string; + /** + * Token\'s image URL + * @type {string} + * @memberof CollectionTokenMetadataDto + */ + 'image'?: string; + /** + * Token\'s animation URL + * @type {string} + * @memberof CollectionTokenMetadataDto + */ + 'animation_url'?: string; + /** + * Token\'s external URL + * @type {string} + * @memberof CollectionTokenMetadataDto + */ + 'external_url'?: string; + /** + * Token\'s metadata attributes + * @type {Array} + * @memberof CollectionTokenMetadataDto + */ + 'attributes'?: Array; +} + diff --git a/models/collection-type.ts b/models/collection-type.ts new file mode 100644 index 0000000..cd9f24a --- /dev/null +++ b/models/collection-type.ts @@ -0,0 +1,31 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * The type of collection + * @export + * @enum {string} + */ + +export const CollectionType = { + NonFungibleToken: 'NON_FUNGIBLE_TOKEN', + SemiFungibleToken: 'SEMI_FUNGIBLE_TOKEN' +} as const; + +export type CollectionType = typeof CollectionType[keyof typeof CollectionType]; + + + diff --git a/models/contract-with-abi-dto.ts b/models/contract-with-abi-dto.ts new file mode 100644 index 0000000..e3d7f33 --- /dev/null +++ b/models/contract-with-abi-dto.ts @@ -0,0 +1,69 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AbiFunction } from './abi-function'; + +/** + * + * @export + * @interface ContractWithAbiDto + */ +export interface ContractWithAbiDto { + /** + * The address of the contract + * @type {string} + * @memberof ContractWithAbiDto + */ + 'contractAddress': string; + /** + * The blockchain base assetId + * @type {string} + * @memberof ContractWithAbiDto + */ + 'baseAssetId': string; + /** + * The name of the contract + * @type {string} + * @memberof ContractWithAbiDto + */ + 'name': string; + /** + * The ABI of the contract + * @type {Array} + * @memberof ContractWithAbiDto + */ + 'abi': Array; + /** + * Whether the contract ABI is public + * @type {boolean} + * @memberof ContractWithAbiDto + */ + 'isPublic': boolean; + /** + * Whether the contract is a proxy contract + * @type {boolean} + * @memberof ContractWithAbiDto + */ + 'isProxy'?: boolean; + /** + * The implementation contract address + * @type {string} + * @memberof ContractWithAbiDto + */ + 'implementation'?: string; +} + diff --git a/models/create-signing-key-dto-proof-of-ownership.ts b/models/create-signing-key-dto-proof-of-ownership.ts new file mode 100644 index 0000000..86f6f8b --- /dev/null +++ b/models/create-signing-key-dto-proof-of-ownership.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * An object containing proof of ownership for the signing key. + * @export + * @interface CreateSigningKeyDtoProofOfOwnership + */ +export interface CreateSigningKeyDtoProofOfOwnership { + /** + * The message to be signed by the key as proof of ownership. 64 to 1024 bytes in hexadecimal format. + * @type {string} + * @memberof CreateSigningKeyDtoProofOfOwnership + */ + 'message': string; + /** + * The signature of the message. 64 bytes in hexadecimal format. + * @type {string} + * @memberof CreateSigningKeyDtoProofOfOwnership + */ + 'signature': string; +} + diff --git a/models/create-signing-key-dto.ts b/models/create-signing-key-dto.ts index 804073b..d94944e 100644 --- a/models/create-signing-key-dto.ts +++ b/models/create-signing-key-dto.ts @@ -13,6 +13,9 @@ */ +// May contain unused imports in some cases +// @ts-ignore +import { CreateSigningKeyDtoProofOfOwnership } from './create-signing-key-dto-proof-of-ownership'; /** * @@ -38,5 +41,11 @@ export interface CreateSigningKeyDto { * @memberof CreateSigningKeyDto */ 'agentUserId': string; + /** + * + * @type {CreateSigningKeyDtoProofOfOwnership} + * @memberof CreateSigningKeyDto + */ + 'proofOfOwnership'?: CreateSigningKeyDtoProofOfOwnership; } diff --git a/models/create-vault-account-request.ts b/models/create-vault-account-request.ts index e999f98..ccd0e81 100644 --- a/models/create-vault-account-request.ts +++ b/models/create-vault-account-request.ts @@ -44,5 +44,25 @@ export interface CreateVaultAccountRequest { * @memberof CreateVaultAccountRequest */ 'autoFuel'?: boolean; + /** + * Type of vault account. The default type will be set to MPC.
If the workspace does not support the selected type, it will return an error. + * @type {string} + * @memberof CreateVaultAccountRequest + */ + 'vaultType'?: CreateVaultAccountRequestVaultTypeEnum; + /** + * Applicable only when the vault account type is KEY_LINK. For MPC, this parameter will be ignored.
If set to true and there are available keys, random keys will be assigned to the newly created vault account.
If set to true and there are no available keys to be assigned, it will return an error.
If set to false, the vault account will be created without any keys. + * @type {boolean} + * @memberof CreateVaultAccountRequest + */ + 'autoAssign'?: boolean; } +export const CreateVaultAccountRequestVaultTypeEnum = { + Mpc: 'MPC', + KeyLink: 'KEY_LINK' +} as const; + +export type CreateVaultAccountRequestVaultTypeEnum = typeof CreateVaultAccountRequestVaultTypeEnum[keyof typeof CreateVaultAccountRequestVaultTypeEnum]; + + diff --git a/models/exchange-asset.ts b/models/exchange-asset.ts index 23ef008..3b93aba 100644 --- a/models/exchange-asset.ts +++ b/models/exchange-asset.ts @@ -50,5 +50,11 @@ export interface ExchangeAsset { * @memberof ExchangeAsset */ 'available'?: string; + /** + * + * @type {string} + * @memberof ExchangeAsset + */ + 'credit'?: string; } diff --git a/models/fetch-abi-request-dto.ts b/models/fetch-abi-request-dto.ts new file mode 100644 index 0000000..44a1b50 --- /dev/null +++ b/models/fetch-abi-request-dto.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface FetchAbiRequestDto + */ +export interface FetchAbiRequestDto { + /** + * The blockchain base assetId + * @type {string} + * @memberof FetchAbiRequestDto + */ + 'baseAssetId': string; + /** + * The contract\'s onchain address + * @type {string} + * @memberof FetchAbiRequestDto + */ + 'contractAddress': string; +} + diff --git a/models/get-linked-collections-paginated-response.ts b/models/get-linked-collections-paginated-response.ts new file mode 100644 index 0000000..f806aef --- /dev/null +++ b/models/get-linked-collections-paginated-response.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CollectionLinkDto } from './collection-link-dto'; + +/** + * + * @export + * @interface GetLinkedCollectionsPaginatedResponse + */ +export interface GetLinkedCollectionsPaginatedResponse { + /** + * The data of the current page + * @type {Array} + * @memberof GetLinkedCollectionsPaginatedResponse + */ + 'data'?: Array; + /** + * The ID of the next page + * @type {string} + * @memberof GetLinkedCollectionsPaginatedResponse + */ + 'next'?: string | null; +} + diff --git a/models/index.ts b/models/index.ts index f9241e4..0038476 100644 --- a/models/index.ts +++ b/models/index.ts @@ -3,6 +3,7 @@ export * from './apiusers'; export * from './abi-function'; export * from './account'; export * from './account-type'; +export * from './add-abi-request-dto'; export * from './add-asset-to-external-wallet-request'; export * from './add-asset-to-external-wallet-request-one-of'; export * from './add-asset-to-external-wallet-request-one-of1'; @@ -24,7 +25,6 @@ export * from './asset-already-exist-http-error'; export * from './asset-amount'; export * from './asset-bad-request-error-response'; export * from './asset-conflict-error-response'; -export * from './asset-does-not-exist-http-error'; export * from './asset-forbidden-error-response'; export * from './asset-internal-server-error-response'; export * from './asset-metadata-dto'; @@ -45,8 +45,17 @@ export * from './authorization-info'; export * from './block-info'; export * from './cancel-transaction-response'; export * from './chain-info-response-dto'; +export * from './collection-burn-request-dto'; +export * from './collection-burn-response-dto'; +export * from './collection-deploy-request-dto'; +export * from './collection-link-dto'; export * from './collection-metadata-dto'; +export * from './collection-mint-request-dto'; +export * from './collection-mint-response-dto'; export * from './collection-ownership-response'; +export * from './collection-token-metadata-attribute-dto'; +export * from './collection-token-metadata-dto'; +export * from './collection-type'; export * from './compliance-result'; export * from './compliance-screening-result'; export * from './config-change-request-status'; @@ -66,6 +75,7 @@ export * from './contract-doc'; export * from './contract-metadata-dto'; export * from './contract-template-dto'; export * from './contract-upload-request'; +export * from './contract-with-abi-dto'; export * from './conversion-config-operation'; export * from './conversion-operation-config-params'; export * from './conversion-operation-execution'; @@ -100,6 +110,7 @@ export * from './create-ncw-connection-request'; export * from './create-network-id-request'; export * from './create-payout-request'; export * from './create-signing-key-dto'; +export * from './create-signing-key-dto-proof-of-ownership'; export * from './create-token-request-dto'; export * from './create-token-request-dto-create-params'; export * from './create-transaction-response'; @@ -168,6 +179,7 @@ export * from './execution-screening-operation'; export * from './execution-transfer-operation'; export * from './external-wallet-asset'; export * from './fee-info'; +export * from './fetch-abi-request-dto'; export * from './fiat-account'; export * from './fiat-account-type'; export * from './fiat-asset'; @@ -179,7 +191,6 @@ export * from './gas-station-configuration-response'; export * from './gas-station-properties-response'; export * from './get-apiusers-response'; export * from './get-audit-logs-response'; -export * from './get-audit-logs-response-dto'; export * from './get-connections-response'; export * from './get-console-users-response'; export * from './get-contracts-response'; @@ -189,6 +200,7 @@ export * from './get-external-wallets-response'; export * from './get-fiat-accounts-response'; export * from './get-filter-parameter'; export * from './get-internal-wallets-response'; +export * from './get-linked-collections-paginated-response'; export * from './get-max-spendable-amount-response'; export * from './get-nfts-response'; export * from './get-network-connections-response'; @@ -297,6 +309,8 @@ export * from './related-transaction-dto'; export * from './remove-collateral-request-body'; export * from './rename-cosigner'; export * from './rename-vault-account-response'; +export * from './rescan-transaction'; +export * from './rescan-transaction-request'; export * from './resend-transaction-webhooks-request'; export * from './resend-webhooks-by-transaction-id-response'; export * from './resend-webhooks-response'; @@ -421,10 +435,22 @@ export * from './transfer-peer-path-type'; export * from './transfer-validation-failure'; export * from './travel-rule-address'; export * from './travel-rule-create-transaction-request'; +export * from './travel-rule-date-and-place-of-birth'; +export * from './travel-rule-geographic-address'; export * from './travel-rule-get-all-vasps-response'; export * from './travel-rule-issuer'; export * from './travel-rule-issuers'; +export * from './travel-rule-legal-name-identifiers'; +export * from './travel-rule-legal-person'; +export * from './travel-rule-legal-person-name-identifier'; +export * from './travel-rule-national-identification'; +export * from './travel-rule-natural-name-identifier'; +export * from './travel-rule-natural-name-identifiers'; +export * from './travel-rule-natural-person'; +export * from './travel-rule-natural-person-name-identifier'; export * from './travel-rule-ownership-proof'; +export * from './travel-rule-person'; +export * from './travel-rule-persons'; export * from './travel-rule-pii-ivms'; export * from './travel-rule-policy-rule-response'; export * from './travel-rule-transaction-blockchain-info'; @@ -453,6 +479,8 @@ export * from './user-role'; export * from './user-status'; export * from './user-type'; export * from './validate-address-response'; +export * from './validated-transactions-for-rescan'; +export * from './validated-transactions-for-rescan-response'; export * from './validation-key-dto'; export * from './validator-dto'; export * from './vault-account'; diff --git a/models/rescan-transaction-request.ts b/models/rescan-transaction-request.ts new file mode 100644 index 0000000..76e2855 --- /dev/null +++ b/models/rescan-transaction-request.ts @@ -0,0 +1,27 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { RescanTransaction } from './rescan-transaction'; + +/** + * + * @export + * @interface RescanTransactionRequest + */ +export interface RescanTransactionRequest extends Array { +} + diff --git a/models/rescan-transaction.ts b/models/rescan-transaction.ts new file mode 100644 index 0000000..b1c10f9 --- /dev/null +++ b/models/rescan-transaction.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface RescanTransaction + */ +export interface RescanTransaction { + /** + * Blockchain TX hash + * @type {string} + * @memberof RescanTransaction + */ + 'txHash'?: string; + /** + * Asset symbol BTC,ETH) + * @type {string} + * @memberof RescanTransaction + */ + 'assetId'?: string; +} + diff --git a/models/token-link-dto.ts b/models/token-link-dto.ts index 3620669..c8dd221 100644 --- a/models/token-link-dto.ts +++ b/models/token-link-dto.ts @@ -42,13 +42,13 @@ export interface TokenLinkDto { */ 'type'?: TokenLinkDtoTypeEnum; /** - * The Fireblocks\' reference id. Can be a Fireblocks\' supported asset, collectionId or contractId + * The Fireblocks\' reference id * @type {string} * @memberof TokenLinkDto */ 'refId'?: string; /** - * The token display name. If was not provided, would be taken from the contract template name + * The token display name. If was not provided, would be taken from the contract template * @type {string} * @memberof TokenLinkDto */ diff --git a/models/token-link-request-dto.ts b/models/token-link-request-dto.ts index 4107135..99ef872 100644 --- a/models/token-link-request-dto.ts +++ b/models/token-link-request-dto.ts @@ -31,13 +31,25 @@ export interface TokenLinkRequestDto { * @type {string} * @memberof TokenLinkRequestDto */ - 'refId': string; + 'refId'?: string; /** * The token display name * @type {string} * @memberof TokenLinkRequestDto */ 'displayName'?: string; + /** + * The blockchain base assetId + * @type {string} + * @memberof TokenLinkRequestDto + */ + 'baseAssetId'?: string; + /** + * The contract\'s onchain address + * @type {string} + * @memberof TokenLinkRequestDto + */ + 'contractAddress'?: string; } export const TokenLinkRequestDtoTypeEnum = { diff --git a/models/token-ownership-response.ts b/models/token-ownership-response.ts index 6b418c8..0a92eb7 100644 --- a/models/token-ownership-response.ts +++ b/models/token-ownership-response.ts @@ -152,7 +152,10 @@ export const TokenOwnershipResponseBlockchainDescriptorEnum = { BasechainEth: 'BASECHAIN_ETH', BasechainEthTest3: 'BASECHAIN_ETH_TEST3', Etherlink: 'ETHERLINK', - EtherlinkTest: 'ETHERLINK_TEST' + EtherlinkTest: 'ETHERLINK_TEST', + Mantle: 'MANTLE', + MantleTest: 'MANTLE_TEST', + GunGunzillaTest: 'GUN_GUNZILLA_TEST' } as const; export type TokenOwnershipResponseBlockchainDescriptorEnum = typeof TokenOwnershipResponseBlockchainDescriptorEnum[keyof typeof TokenOwnershipResponseBlockchainDescriptorEnum]; diff --git a/models/token-response.ts b/models/token-response.ts index 6638668..6256f66 100644 --- a/models/token-response.ts +++ b/models/token-response.ts @@ -110,7 +110,10 @@ export const TokenResponseBlockchainDescriptorEnum = { BasechainEth: 'BASECHAIN_ETH', BasechainEthTest3: 'BASECHAIN_ETH_TEST3', Etherlink: 'ETHERLINK', - EtherlinkTest: 'ETHERLINK_TEST' + EtherlinkTest: 'ETHERLINK_TEST', + Mantle: 'MANTLE', + MantleTest: 'MANTLE_TEST', + GunGunzillaTest: 'GUN_GUNZILLA_TEST' } as const; export type TokenResponseBlockchainDescriptorEnum = typeof TokenResponseBlockchainDescriptorEnum[keyof typeof TokenResponseBlockchainDescriptorEnum]; diff --git a/models/transaction-request.ts b/models/transaction-request.ts index be6dccc..86fc493 100644 --- a/models/transaction-request.ts +++ b/models/transaction-request.ts @@ -146,6 +146,12 @@ export interface TransactionRequest { * @memberof TransactionRequest */ 'maxFee'?: string; + /** + * For BTC-based blockchains only. The maximum fee (in the units of the fee-paying asset) that should be paid for the transaction. + * @type {string} + * @memberof TransactionRequest + */ + 'maxTotalFee'?: string; /** * * @type {TransactionRequestGasLimit} @@ -209,6 +215,12 @@ export interface TransactionRequest { * @deprecated */ 'cpuStaking'?: TransactionRequestNetworkStaking; + /** + * - Override the default gaslsess configuration by sending true\\false + * @type {boolean} + * @memberof TransactionRequest + */ + 'useGasless'?: boolean; } export const TransactionRequestFeeLevelEnum = { diff --git a/models/travel-rule-create-transaction-request.ts b/models/travel-rule-create-transaction-request.ts index 95deab9..4178deb 100644 --- a/models/travel-rule-create-transaction-request.ts +++ b/models/travel-rule-create-transaction-request.ts @@ -53,6 +53,12 @@ export interface TravelRuleCreateTransactionRequest { * @memberof TravelRuleCreateTransactionRequest */ 'beneficiaryVASPdid'?: string; + /** + * + * @type {string} + * @memberof TravelRuleCreateTransactionRequest + */ + 'originatorVASPname'?: string; /** * The name of the VASP acting as the beneficiary * @type {string} @@ -89,6 +95,24 @@ export interface TravelRuleCreateTransactionRequest { * @memberof TravelRuleCreateTransactionRequest */ 'travelRuleBehavior'?: boolean; + /** + * + * @type {string} + * @memberof TravelRuleCreateTransactionRequest + */ + 'originatorRef'?: string; + /** + * + * @type {string} + * @memberof TravelRuleCreateTransactionRequest + */ + 'beneficiaryRef'?: string; + /** + * + * @type {string} + * @memberof TravelRuleCreateTransactionRequest + */ + 'travelRuleBehaviorRef'?: string; /** * Ownership proof related to the originator of the transaction * @type {TravelRuleOwnershipProof} @@ -102,10 +126,22 @@ export interface TravelRuleCreateTransactionRequest { */ 'beneficiaryProof'?: TravelRuleOwnershipProof; /** - * Personal identifiable information related to the transaction - * @type {TravelRulePiiIVMS} + * + * @type {string} + * @memberof TravelRuleCreateTransactionRequest + */ + 'beneficiaryDid'?: string; + /** + * + * @type {string} + * @memberof TravelRuleCreateTransactionRequest + */ + 'originatorDid'?: string; + /** + * + * @type {boolean} * @memberof TravelRuleCreateTransactionRequest */ - 'pii'?: TravelRulePiiIVMS; + 'isNonCustodial'?: boolean; } diff --git a/models/get-audit-logs-response-dto.ts b/models/travel-rule-date-and-place-of-birth.ts similarity index 59% rename from models/get-audit-logs-response-dto.ts rename to models/travel-rule-date-and-place-of-birth.ts index 1e55a9f..d3baa68 100644 --- a/models/get-audit-logs-response-dto.ts +++ b/models/travel-rule-date-and-place-of-birth.ts @@ -17,26 +17,20 @@ /** * * @export - * @interface GetAuditLogsResponseDTO + * @interface TravelRuleDateAndPlaceOfBirth */ -export interface GetAuditLogsResponseDTO { +export interface TravelRuleDateAndPlaceOfBirth { /** * - * @type {Array} - * @memberof GetAuditLogsResponseDTO - */ - 'data'?: Array; - /** - * - * @type {number} - * @memberof GetAuditLogsResponseDTO + * @type {string} + * @memberof TravelRuleDateAndPlaceOfBirth */ - 'total'?: number; + 'dateOfBirth'?: string; /** * * @type {string} - * @memberof GetAuditLogsResponseDTO + * @memberof TravelRuleDateAndPlaceOfBirth */ - 'cursor'?: string | null; + 'placeOfBirth'?: string; } diff --git a/models/travel-rule-geographic-address.ts b/models/travel-rule-geographic-address.ts new file mode 100644 index 0000000..e6aa979 --- /dev/null +++ b/models/travel-rule-geographic-address.ts @@ -0,0 +1,120 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface TravelRuleGeographicAddress + */ +export interface TravelRuleGeographicAddress { + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'streetName'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'townName'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'country'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'buildingNumber'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'postCode'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'addressType'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'department'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'subDepartment'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'buildingName'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'floor'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'postBox'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'room'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'townLocationName'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'districtName'?: string; + /** + * + * @type {string} + * @memberof TravelRuleGeographicAddress + */ + 'countrySubDivision'?: string; + /** + * + * @type {Array} + * @memberof TravelRuleGeographicAddress + */ + 'addressLine'?: Array; +} + diff --git a/models/travel-rule-legal-name-identifiers.ts b/models/travel-rule-legal-name-identifiers.ts new file mode 100644 index 0000000..cc1f628 --- /dev/null +++ b/models/travel-rule-legal-name-identifiers.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface TravelRuleLegalNameIdentifiers + */ +export interface TravelRuleLegalNameIdentifiers { + /** + * + * @type {string} + * @memberof TravelRuleLegalNameIdentifiers + */ + 'legalPersonNameIdentifierType'?: string; + /** + * + * @type {string} + * @memberof TravelRuleLegalNameIdentifiers + */ + 'legalPersonName'?: string; +} + diff --git a/models/travel-rule-legal-person-name-identifier.ts b/models/travel-rule-legal-person-name-identifier.ts new file mode 100644 index 0000000..3cbf969 --- /dev/null +++ b/models/travel-rule-legal-person-name-identifier.ts @@ -0,0 +1,45 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleLegalNameIdentifiers } from './travel-rule-legal-name-identifiers'; + +/** + * + * @export + * @interface TravelRuleLegalPersonNameIdentifier + */ +export interface TravelRuleLegalPersonNameIdentifier { + /** + * + * @type {Array} + * @memberof TravelRuleLegalPersonNameIdentifier + */ + 'nameIdentifier'?: Array; + /** + * + * @type {Array} + * @memberof TravelRuleLegalPersonNameIdentifier + */ + 'localNameIdentifier'?: Array; + /** + * + * @type {Array} + * @memberof TravelRuleLegalPersonNameIdentifier + */ + 'phoneticNameIdentifier'?: Array; +} + diff --git a/models/travel-rule-legal-person.ts b/models/travel-rule-legal-person.ts new file mode 100644 index 0000000..efd2b57 --- /dev/null +++ b/models/travel-rule-legal-person.ts @@ -0,0 +1,69 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleGeographicAddress } from './travel-rule-geographic-address'; +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleLegalPersonNameIdentifier } from './travel-rule-legal-person-name-identifier'; +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleNationalIdentification } from './travel-rule-national-identification'; + +/** + * + * @export + * @interface TravelRuleLegalPerson + */ +export interface TravelRuleLegalPerson { + /** + * + * @type {TravelRuleLegalPersonNameIdentifier} + * @memberof TravelRuleLegalPerson + */ + 'name'?: TravelRuleLegalPersonNameIdentifier; + /** + * + * @type {Array} + * @memberof TravelRuleLegalPerson + */ + 'geographicAddress'?: Array; + /** + * + * @type {Array} + * @memberof TravelRuleLegalPerson + */ + 'nationalIdentification'?: Array; + /** + * + * @type {string} + * @memberof TravelRuleLegalPerson + */ + 'customerIdentification'?: string; + /** + * + * @type {string} + * @memberof TravelRuleLegalPerson + */ + 'customerNumber'?: string; + /** + * + * @type {string} + * @memberof TravelRuleLegalPerson + */ + 'countryOfRegistration'?: string; +} + diff --git a/models/travel-rule-national-identification.ts b/models/travel-rule-national-identification.ts new file mode 100644 index 0000000..801e5b9 --- /dev/null +++ b/models/travel-rule-national-identification.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface TravelRuleNationalIdentification + */ +export interface TravelRuleNationalIdentification { + /** + * + * @type {string} + * @memberof TravelRuleNationalIdentification + */ + 'countryOfIssue'?: string; + /** + * + * @type {string} + * @memberof TravelRuleNationalIdentification + */ + 'nationalIdentifier'?: string; + /** + * + * @type {string} + * @memberof TravelRuleNationalIdentification + */ + 'nationalIdentifierType'?: string; + /** + * + * @type {string} + * @memberof TravelRuleNationalIdentification + */ + 'registrationAuthority'?: string; +} + diff --git a/models/travel-rule-natural-name-identifier.ts b/models/travel-rule-natural-name-identifier.ts new file mode 100644 index 0000000..a33bbcc --- /dev/null +++ b/models/travel-rule-natural-name-identifier.ts @@ -0,0 +1,26 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleNaturalNameIdentifiers } from './travel-rule-natural-name-identifiers'; + +/** + * @type TravelRuleNaturalNameIdentifier + * @export + */ +export type TravelRuleNaturalNameIdentifier = TravelRuleNaturalNameIdentifiers; + + diff --git a/models/asset-does-not-exist-http-error.ts b/models/travel-rule-natural-name-identifiers.ts similarity index 57% rename from models/asset-does-not-exist-http-error.ts rename to models/travel-rule-natural-name-identifiers.ts index 61c60f4..06a1976 100644 --- a/models/asset-does-not-exist-http-error.ts +++ b/models/travel-rule-natural-name-identifiers.ts @@ -17,26 +17,26 @@ /** * * @export - * @interface AssetDoesNotExistHttpError + * @interface TravelRuleNaturalNameIdentifiers */ -export interface AssetDoesNotExistHttpError { +export interface TravelRuleNaturalNameIdentifiers { /** - * HTTP status code - * @type {number} - * @memberof AssetDoesNotExistHttpError + * + * @type {string} + * @memberof TravelRuleNaturalNameIdentifiers */ - 'statusCode'?: number; + 'primaryIdentifier'?: string; /** - * Error message + * * @type {string} - * @memberof AssetDoesNotExistHttpError + * @memberof TravelRuleNaturalNameIdentifiers */ - 'message'?: string; + 'secondaryIdentifier'?: string; /** - * Short description of the HTTP error + * * @type {string} - * @memberof AssetDoesNotExistHttpError + * @memberof TravelRuleNaturalNameIdentifiers */ - 'error'?: string; + 'nameIdentifierType'?: string; } diff --git a/models/travel-rule-natural-person-name-identifier.ts b/models/travel-rule-natural-person-name-identifier.ts new file mode 100644 index 0000000..5135662 --- /dev/null +++ b/models/travel-rule-natural-person-name-identifier.ts @@ -0,0 +1,45 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleNaturalNameIdentifier } from './travel-rule-natural-name-identifier'; + +/** + * + * @export + * @interface TravelRuleNaturalPersonNameIdentifier + */ +export interface TravelRuleNaturalPersonNameIdentifier { + /** + * + * @type {Array} + * @memberof TravelRuleNaturalPersonNameIdentifier + */ + 'nameIdentifier'?: Array; + /** + * + * @type {Array} + * @memberof TravelRuleNaturalPersonNameIdentifier + */ + 'localNameIdentifier'?: Array; + /** + * + * @type {Array} + * @memberof TravelRuleNaturalPersonNameIdentifier + */ + 'phoneticNameIdentifier'?: Array; +} + diff --git a/models/travel-rule-natural-person.ts b/models/travel-rule-natural-person.ts new file mode 100644 index 0000000..8f96556 --- /dev/null +++ b/models/travel-rule-natural-person.ts @@ -0,0 +1,84 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleDateAndPlaceOfBirth } from './travel-rule-date-and-place-of-birth'; +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleGeographicAddress } from './travel-rule-geographic-address'; +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleNationalIdentification } from './travel-rule-national-identification'; +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleNaturalPersonNameIdentifier } from './travel-rule-natural-person-name-identifier'; + +/** + * + * @export + * @interface TravelRuleNaturalPerson + */ +export interface TravelRuleNaturalPerson { + /** + * + * @type {Array} + * @memberof TravelRuleNaturalPerson + */ + 'name'?: Array; + /** + * + * @type {Array} + * @memberof TravelRuleNaturalPerson + */ + 'geographicAddress'?: Array; + /** + * + * @type {Array} + * @memberof TravelRuleNaturalPerson + */ + 'nationalIdentification'?: Array; + /** + * + * @type {Array} + * @memberof TravelRuleNaturalPerson + */ + 'dateAndPlaceOfBirth'?: Array; + /** + * + * @type {string} + * @memberof TravelRuleNaturalPerson + */ + 'customerIdentification'?: string; + /** + * + * @type {string} + * @memberof TravelRuleNaturalPerson + */ + 'countryOfResidence'?: string; + /** + * + * @type {string} + * @memberof TravelRuleNaturalPerson + */ + 'customerNumber'?: string; + /** + * + * @type {string} + * @memberof TravelRuleNaturalPerson + */ + 'countryOfRegistration'?: string; +} + diff --git a/models/travel-rule-person.ts b/models/travel-rule-person.ts new file mode 100644 index 0000000..f549c28 --- /dev/null +++ b/models/travel-rule-person.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleLegalPerson } from './travel-rule-legal-person'; +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleNaturalPerson } from './travel-rule-natural-person'; + +/** + * + * @export + * @interface TravelRulePerson + */ +export interface TravelRulePerson { + /** + * + * @type {TravelRuleNaturalPerson} + * @memberof TravelRulePerson + */ + 'naturalPerson'?: TravelRuleNaturalPerson; + /** + * + * @type {TravelRuleLegalPerson} + * @memberof TravelRulePerson + */ + 'legalPerson'?: TravelRuleLegalPerson; +} + diff --git a/models/travel-rule-persons.ts b/models/travel-rule-persons.ts new file mode 100644 index 0000000..ff3ddb0 --- /dev/null +++ b/models/travel-rule-persons.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleLegalPerson } from './travel-rule-legal-person'; +// May contain unused imports in some cases +// @ts-ignore +import { TravelRuleNaturalPerson } from './travel-rule-natural-person'; +// May contain unused imports in some cases +// @ts-ignore +import { TravelRulePerson } from './travel-rule-person'; + +/** + * @type TravelRulePersons + * @export + */ +export type TravelRulePersons = TravelRulePerson; + + diff --git a/models/travel-rule-pii-ivms.ts b/models/travel-rule-pii-ivms.ts index 1762259..a56021f 100644 --- a/models/travel-rule-pii-ivms.ts +++ b/models/travel-rule-pii-ivms.ts @@ -13,6 +13,9 @@ */ +// May contain unused imports in some cases +// @ts-ignore +import { TravelRulePersons } from './travel-rule-persons'; /** * @@ -22,57 +25,21 @@ export interface TravelRulePiiIVMS { /** * - * @type {string} + * @type {Array} * @memberof TravelRulePiiIVMS */ - 'fullName'?: string; + 'originatorPersons'?: Array; /** * - * @type {string} + * @type {Array} * @memberof TravelRulePiiIVMS */ - 'dateOfBirth'?: string; + 'beneficiaryPersons'?: Array; /** * - * @type {string} + * @type {Array} * @memberof TravelRulePiiIVMS */ - 'placeOfBirth'?: string; - /** - * - * @type {string} - * @memberof TravelRulePiiIVMS - */ - 'address'?: string; - /** - * - * @type {string} - * @memberof TravelRulePiiIVMS - */ - 'identificationNumber'?: string; - /** - * - * @type {string} - * @memberof TravelRulePiiIVMS - */ - 'nationality'?: string; - /** - * - * @type {string} - * @memberof TravelRulePiiIVMS - */ - 'countryOfResidence'?: string; - /** - * - * @type {string} - * @memberof TravelRulePiiIVMS - */ - 'taxIdentificationNumber'?: string; - /** - * - * @type {string} - * @memberof TravelRulePiiIVMS - */ - 'customerNumber'?: string; + 'accountNumber'?: Array; } diff --git a/models/travel-rule-validate-full-transaction-request.ts b/models/travel-rule-validate-full-transaction-request.ts index 4cc914c..bd4adb3 100644 --- a/models/travel-rule-validate-full-transaction-request.ts +++ b/models/travel-rule-validate-full-transaction-request.ts @@ -131,11 +131,5 @@ export interface TravelRuleValidateFullTransactionRequest { * @memberof TravelRuleValidateFullTransactionRequest */ 'beneficiaryProof'?: TravelRuleOwnershipProof; - /** - * Personal identifiable information related to the transaction - * @type {TravelRulePiiIVMS} - * @memberof TravelRuleValidateFullTransactionRequest - */ - 'pii'?: TravelRulePiiIVMS; } diff --git a/models/travel-rule-validate-transaction-request.ts b/models/travel-rule-validate-transaction-request.ts index 47862e1..05e514f 100644 --- a/models/travel-rule-validate-transaction-request.ts +++ b/models/travel-rule-validate-transaction-request.ts @@ -29,12 +29,6 @@ export interface TravelRuleValidateTransactionRequest { * @memberof TravelRuleValidateTransactionRequest */ 'transactionAsset': string; - /** - * Transaction destination address - * @type {string} - * @memberof TravelRuleValidateTransactionRequest - */ - 'destination': string; /** * Transaction amount in the transaction asset * @type {string} @@ -53,6 +47,12 @@ export interface TravelRuleValidateTransactionRequest { * @memberof TravelRuleValidateTransactionRequest */ 'originatorEqualsBeneficiary': boolean; + /** + * Transaction destination address + * @type {string} + * @memberof TravelRuleValidateTransactionRequest + */ + 'destination'?: string; /** * This will also check if the transaction is a TRAVEL_RULE in the beneficiary VASP\'s jurisdiction * @type {boolean} diff --git a/models/validated-transactions-for-rescan-response.ts b/models/validated-transactions-for-rescan-response.ts new file mode 100644 index 0000000..70ba4e7 --- /dev/null +++ b/models/validated-transactions-for-rescan-response.ts @@ -0,0 +1,27 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ValidatedTransactionsForRescan } from './validated-transactions-for-rescan'; + +/** + * + * @export + * @interface ValidatedTransactionsForRescanResponse + */ +export interface ValidatedTransactionsForRescanResponse extends Array { +} + diff --git a/models/validated-transactions-for-rescan.ts b/models/validated-transactions-for-rescan.ts new file mode 100644 index 0000000..8c2c8ff --- /dev/null +++ b/models/validated-transactions-for-rescan.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ValidatedTransactionsForRescan + */ +export interface ValidatedTransactionsForRescan { + /** + * Base asset symbol BTC_TEST, ETH_TEST5) + * @type {string} + * @memberof ValidatedTransactionsForRescan + */ + 'baseAsset'?: string; + /** + * Netowrk protocol of the blockchain (BTC, ETH) + * @type {string} + * @memberof ValidatedTransactionsForRescan + */ + 'networkProtocol'?: string; + /** + * Blockchain TX hashes + * @type {Array} + * @memberof ValidatedTransactionsForRescan + */ + 'txHashes'?: Array; +} + diff --git a/package-lock.json b/package-lock.json index d38ab68..b46caad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fireblocks/ts-sdk", - "version": "3.1.0", + "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@fireblocks/ts-sdk", - "version": "3.1.0", + "version": "0.0.0", "license": "MIT License", "dependencies": { "axios": "^1.6.7", @@ -53,30 +53,30 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.24.9", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.9.tgz", - "integrity": "sha512-e701mcfApCJqMMueQI0Fb68Amflj83+dvAvHawoBpAz+GDjCIyGHzNwnefjsWJ3xiYAqqiQFoWbspGYBdb2/ng==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.4.tgz", + "integrity": "sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.24.9", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.9.tgz", - "integrity": "sha512-5e3FI4Q3M3Pbr21+5xJwCv6ZT6KmGkI0vw3Tozy5ODAQFTIWe37iT8Cr7Ice2Ntb+M3iSKCEWMB1MBgKrW3whg==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", + "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.9", - "@babel/helper-compilation-targets": "^7.24.8", - "@babel/helper-module-transforms": "^7.24.9", - "@babel/helpers": "^7.24.8", - "@babel/parser": "^7.24.8", - "@babel/template": "^7.24.7", - "@babel/traverse": "^7.24.8", - "@babel/types": "^7.24.9", + "@babel/generator": "^7.25.0", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-module-transforms": "^7.25.2", + "@babel/helpers": "^7.25.0", + "@babel/parser": "^7.25.0", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.2", + "@babel/types": "^7.25.2", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -92,12 +92,12 @@ } }, "node_modules/@babel/generator": { - "version": "7.24.10", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.10.tgz", - "integrity": "sha512-o9HBZL1G2129luEUlG1hB4N/nlYNWHnpwlND9eOMclRqqu1YDy2sSYVCFUZwl8I1Gxh+QSRrP2vD7EpUmFVXxg==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.6.tgz", + "integrity": "sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==", "dev": true, "dependencies": { - "@babel/types": "^7.24.9", + "@babel/types": "^7.25.6", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" @@ -107,12 +107,12 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.8.tgz", - "integrity": "sha512-oU+UoqCHdp+nWVDkpldqIQL/i/bvAv53tRqLG/s+cOXxe66zOYLU7ar/Xs3LdmBihrUMEUhwu6dMZwbNOYDwvw==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz", + "integrity": "sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.24.8", + "@babel/compat-data": "^7.25.2", "@babel/helper-validator-option": "^7.24.8", "browserslist": "^4.23.1", "lru-cache": "^5.1.1", @@ -122,43 +122,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz", - "integrity": "sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==", - "dev": true, - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz", - "integrity": "sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==", - "dev": true, - "dependencies": { - "@babel/template": "^7.24.7", - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz", - "integrity": "sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==", - "dev": true, - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-imports": { "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", @@ -173,16 +136,15 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.24.9", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.9.tgz", - "integrity": "sha512-oYbh+rtFKj/HwBQkFlUzvcybzklmVdVV3UU+mN7n2t/q3yGHbuVdNxyFvSBO1tfvjyArpHNcWMAzsSPdyI46hw==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz", + "integrity": "sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==", "dev": true, "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", "@babel/helper-module-imports": "^7.24.7", "@babel/helper-simple-access": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", - "@babel/helper-validator-identifier": "^7.24.7" + "@babel/helper-validator-identifier": "^7.24.7", + "@babel/traverse": "^7.25.2" }, "engines": { "node": ">=6.9.0" @@ -213,18 +175,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz", - "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-string-parser": { "version": "7.24.8", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", @@ -253,13 +203,13 @@ } }, "node_modules/@babel/helpers": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.8.tgz", - "integrity": "sha512-gV2265Nkcz7weJJfvDoAEVzC1e2OTDpkGbEsebse8koXUJUXPsCMi7sRo/+SPMuMZ9MtUPnGwITTnQnU5YjyaQ==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.6.tgz", + "integrity": "sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==", "dev": true, "dependencies": { - "@babel/template": "^7.24.7", - "@babel/types": "^7.24.8" + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.6" }, "engines": { "node": ">=6.9.0" @@ -352,10 +302,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.8.tgz", - "integrity": "sha512-WzfbgXOkGzZiXXCqk43kKwZjzwx4oulxZi3nq2TYL9mOjQv6kYwul9mz6ID36njuL7Xkp6nJEfok848Zj10j/w==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.6.tgz", + "integrity": "sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==", "dev": true, + "dependencies": { + "@babel/types": "^7.25.6" + }, "bin": { "parser": "bin/babel-parser.js" }, @@ -399,6 +352,36 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.6.tgz", + "integrity": "sha512-sXaDXaJN9SNLymBdlWFA+bjzBhFD617ZaFiY13dGt7TVslVvVgA6fkZOP7Ki3IGElC45lwHdOTrCtKZGVAWeLQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.8" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-syntax-import-meta": { "version": "7.10.4", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", @@ -510,6 +493,21 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-syntax-top-level-await": { "version": "7.14.5", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", @@ -526,12 +524,12 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz", - "integrity": "sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.4.tgz", + "integrity": "sha512-uMOCoHVU52BsSWxPOMVv5qKRdeSlPuImUCB2dlPuBSU+W2/ROE7/Zg8F2Kepbk+8yBa68LlRKxO+xgEVWorsDg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -541,33 +539,30 @@ } }, "node_modules/@babel/template": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.7.tgz", - "integrity": "sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz", + "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==", "dev": true, "dependencies": { "@babel/code-frame": "^7.24.7", - "@babel/parser": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/parser": "^7.25.0", + "@babel/types": "^7.25.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.8.tgz", - "integrity": "sha512-t0P1xxAPzEDcEPmjprAQq19NWum4K0EQPjMwZQZbHt+GiZqvjCHjj755Weq1YRPVzBI+3zSfvScfpnuIecVFJQ==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.6.tgz", + "integrity": "sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==", "dev": true, "dependencies": { "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.8", - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-function-name": "^7.24.7", - "@babel/helper-hoist-variables": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", - "@babel/parser": "^7.24.8", - "@babel/types": "^7.24.8", + "@babel/generator": "^7.25.6", + "@babel/parser": "^7.25.6", + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.6", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -576,9 +571,9 @@ } }, "node_modules/@babel/types": { - "version": "7.24.9", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.9.tgz", - "integrity": "sha512-xm8XrMKz0IlUdocVbYJe0Z9xEgidU7msskG8BbhnTPK/HZ2z/7FP7ykqPgrUH+C+r414mNfNWam1f2vqOjqjYQ==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz", + "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==", "dev": true, "dependencies": { "@babel/helper-string-parser": "^7.24.8", @@ -1088,9 +1083,9 @@ "dev": true }, "node_modules/@types/yargs": { - "version": "17.0.32", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", - "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", + "version": "17.0.33", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz", + "integrity": "sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==", "dev": true, "dependencies": { "@types/yargs-parser": "*" @@ -1169,9 +1164,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", - "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -1247,23 +1242,26 @@ } }, "node_modules/babel-preset-current-node-syntax": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", - "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz", + "integrity": "sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==", "dev": true, "dependencies": { "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-bigint": "^7.8.3", - "@babel/plugin-syntax-class-properties": "^7.8.3", - "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-import-attributes": "^7.24.7", + "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-top-level-await": "^7.8.3" + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5" }, "peerDependencies": { "@babel/core": "^7.0.0" @@ -1314,9 +1312,9 @@ } }, "node_modules/browserslist": { - "version": "4.23.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.2.tgz", - "integrity": "sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA==", + "version": "4.23.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz", + "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==", "dev": true, "funding": [ { @@ -1333,9 +1331,9 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001640", - "electron-to-chromium": "^1.4.820", - "node-releases": "^2.0.14", + "caniuse-lite": "^1.0.30001646", + "electron-to-chromium": "^1.5.4", + "node-releases": "^2.0.18", "update-browserslist-db": "^1.1.0" }, "bin": { @@ -1396,9 +1394,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001643", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001643.tgz", - "integrity": "sha512-ERgWGNleEilSrHM6iUz/zJNSQTP8Mr21wDWpdgvRwcTXGAq6jMtOUPP4dqFPTdKqZ2wKTdtB+uucZ3MRpAUSmg==", + "version": "1.0.30001660", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz", + "integrity": "sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg==", "dev": true, "funding": [ { @@ -1456,9 +1454,9 @@ } }, "node_modules/cjs-module-lexer": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz", - "integrity": "sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.1.tgz", + "integrity": "sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==", "dev": true }, "node_modules/cliui": { @@ -1568,12 +1566,12 @@ } }, "node_modules/debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -1642,9 +1640,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.1.tgz", - "integrity": "sha512-FKbOCOQ5QRB3VlIbl1LZQefWIYwszlBloaXcY2rbfpu9ioJnNh3TK03YtIDKDo3WKBi8u+YV4+Fn2CkEozgf4w==", + "version": "1.5.24", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.24.tgz", + "integrity": "sha512-0x0wLCmpdKFCi9ulhvYZebgcPmHTkFVUfU2wzDykadkslKwT4oAmDTHEKLnlrDsMGZe4B+ksn8quZfZjYsBetA==", "dev": true }, "node_modules/emittery": { @@ -1675,9 +1673,9 @@ } }, "node_modules/escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true, "engines": { "node": ">=6" @@ -1794,9 +1792,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", - "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", "funding": [ { "type": "individual", @@ -2017,9 +2015,9 @@ "dev": true }, "node_modules/is-core-module": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", - "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "dev": true, "dependencies": { "hasown": "^2.0.2" @@ -2968,9 +2966,9 @@ "dev": true }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "dependencies": { "braces": "^3.0.3", @@ -3033,9 +3031,9 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/natural-compare": { "version": "1.4.0", @@ -3203,9 +3201,9 @@ "dev": true }, "node_modules/picocolors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", + "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", "dev": true }, "node_modules/picomatch": { diff --git a/package.json b/package.json index 9021406..863dcef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fireblocks/ts-sdk", - "version": "3.1.0", + "version": "0.0.0", "description": "OpenAPI client for @fireblocks/ts-sdk", "author": "Fireblocks SDK Generator", "repository": {