From 6dc8d771ad987c2ab89c23686360723637c19b99 Mon Sep 17 00:00:00 2001 From: QEDIT Deploy Date: Thu, 13 Jun 2019 14:28:32 +0000 Subject: [PATCH] feat: automatic push to dev_guide from CI [tag=v1.4.0] --- go/sdk/README.md | 13 +- go/sdk/api/openapi.yaml | 287 +++++++++++-- go/sdk/api_analytics.go | 4 +- go/sdk/api_health.go | 4 +- go/sdk/api_node.go | 378 +++++++++++++++++- go/sdk/api_wallet.go | 6 +- go/sdk/client.go | 6 +- go/sdk/configuration.go | 4 +- go/sdk/docs/AnalyticIssueWalletTx.md | 1 + go/sdk/docs/AnalyticTransferWalletTx.md | 1 + go/sdk/docs/AnalyticsMultiTransferTx.md | 10 + go/sdk/docs/DeleteWalletRequest.md | 2 +- .../docs/ExportAuditorAccessWalletRequest.md | 12 + .../docs/ExportAuditorAccessWalletResponse.md | 12 + go/sdk/docs/GetTasksRequest.md | 14 + go/sdk/docs/GetTasksResponse.md | 10 + .../docs/ImportAuditorAccessWalletRequest.md | 12 + go/sdk/docs/NodeApi.md | 85 +++- go/sdk/docs/Rule.md | 8 +- go/sdk/model_analytic_issue_wallet_tx.go | 5 +- go/sdk/model_analytic_rule_wallet_tx.go | 4 +- go/sdk/model_analytic_transaction.go | 4 +- go/sdk/model_analytic_transfer_wallet_tx.go | 5 +- go/sdk/model_analytic_wallet_metadata.go | 4 +- go/sdk/model_analytic_wallet_tx.go | 4 +- ...ytics_asset_converter_proof_description.go | 4 +- ...ytics_confidential_issuance_description.go | 4 +- go/sdk/model_analytics_issue_tx.go | 4 +- go/sdk/model_analytics_multi_transfer_tx.go | 14 + go/sdk/model_analytics_output.go | 4 +- go/sdk/model_analytics_output_description.go | 4 +- ...l_analytics_public_issuance_description.go | 4 +- go/sdk/model_analytics_rule.go | 4 +- go/sdk/model_analytics_rule_definition.go | 4 +- go/sdk/model_analytics_rule_tx.go | 4 +- .../model_analytics_rule_wallet_definition.go | 4 +- go/sdk/model_analytics_spend_description.go | 4 +- go/sdk/model_analytics_transfer_tx.go | 4 +- go/sdk/model_analytics_tx_metadata.go | 4 +- go/sdk/model_async_task_created_response.go | 4 +- go/sdk/model_balance_for_asset.go | 4 +- go/sdk/model_create_rule_request.go | 4 +- go/sdk/model_delete_rule_request.go | 4 +- go/sdk/model_delete_wallet_request.go | 6 +- go/sdk/model_error_response.go | 4 +- ...el_export_auditor_access_wallet_request.go | 16 + ...l_export_auditor_access_wallet_response.go | 16 + go/sdk/model_export_wallet_request.go | 4 +- go/sdk/model_export_wallet_response.go | 4 +- go/sdk/model_generate_wallet_request.go | 4 +- go/sdk/model_get_all_wallets_response.go | 4 +- go/sdk/model_get_network_activity_request.go | 4 +- go/sdk/model_get_network_activity_response.go | 4 +- go/sdk/model_get_new_address_request.go | 4 +- go/sdk/model_get_new_address_response.go | 4 +- go/sdk/model_get_public_key_request.go | 4 +- go/sdk/model_get_public_key_response.go | 4 +- go/sdk/model_get_rules_response.go | 4 +- go/sdk/model_get_task_status_request.go | 4 +- go/sdk/model_get_task_status_response.go | 4 +- go/sdk/model_get_tasks_request.go | 18 + go/sdk/model_get_tasks_response.go | 14 + go/sdk/model_get_wallet_activity_request.go | 4 +- go/sdk/model_get_wallet_activity_response.go | 4 +- go/sdk/model_get_wallet_balance_request.go | 4 +- go/sdk/model_get_wallet_balance_response.go | 4 +- go/sdk/model_healthcheck_response.go | 4 +- go/sdk/model_healthcheck_response_item.go | 4 +- ...el_import_auditor_access_wallet_request.go | 16 + go/sdk/model_import_wallet_request.go | 4 +- go/sdk/model_issue_asset_request.go | 4 +- go/sdk/model_rule.go | 12 +- go/sdk/model_transactions_for_wallet.go | 4 +- go/sdk/model_transfer_asset_request.go | 4 +- go/sdk/model_unlock_wallet_request.go | 4 +- go/sdk/response.go | 4 +- js/sdk/README.md | 15 +- js/sdk/docs/AnalyticIssueWalletTx.md | 1 + js/sdk/docs/AnalyticTransferWalletTx.md | 1 + js/sdk/docs/AnalyticsMultiTransferTx.md | 8 + js/sdk/docs/DeleteWalletRequest.md | 2 +- .../docs/ExportAuditorAccessWalletRequest.md | 10 + .../docs/ExportAuditorAccessWalletResponse.md | 10 + js/sdk/docs/GetTasksRequest.md | 42 ++ js/sdk/docs/GetTasksResponse.md | 8 + .../docs/ImportAuditorAccessWalletRequest.md | 10 + js/sdk/docs/NodeApi.md | 142 ++++++- js/sdk/docs/Rule.md | 8 +- js/sdk/package.json | 2 +- js/sdk/src/ApiClient.js | 6 +- js/sdk/src/api/AnalyticsApi.js | 6 +- js/sdk/src/api/HealthApi.js | 6 +- js/sdk/src/api/NodeApi.js | 168 +++++++- js/sdk/src/api/WalletApi.js | 6 +- js/sdk/src/index.js | 42 +- js/sdk/src/model/AnalyticIssueWalletTx.js | 13 +- js/sdk/src/model/AnalyticRuleWalletTx.js | 6 +- js/sdk/src/model/AnalyticTransaction.js | 6 +- js/sdk/src/model/AnalyticTransferWalletTx.js | 13 +- js/sdk/src/model/AnalyticWalletMetadata.js | 6 +- js/sdk/src/model/AnalyticWalletTx.js | 6 +- ...AnalyticsAssetConverterProofDescription.js | 6 +- ...nalyticsConfidentialIssuanceDescription.js | 6 +- js/sdk/src/model/AnalyticsIssueTx.js | 6 +- js/sdk/src/model/AnalyticsMultiTransferTx.js | 78 ++++ js/sdk/src/model/AnalyticsOutput.js | 6 +- .../src/model/AnalyticsOutputDescription.js | 6 +- .../AnalyticsPublicIssuanceDescription.js | 6 +- js/sdk/src/model/AnalyticsRule.js | 6 +- js/sdk/src/model/AnalyticsRuleDefinition.js | 6 +- js/sdk/src/model/AnalyticsRuleTx.js | 6 +- .../model/AnalyticsRuleWalletDefinition.js | 6 +- js/sdk/src/model/AnalyticsSpendDescription.js | 6 +- js/sdk/src/model/AnalyticsTransferTx.js | 6 +- js/sdk/src/model/AnalyticsTxMetadata.js | 6 +- js/sdk/src/model/AsyncTaskCreatedResponse.js | 6 +- js/sdk/src/model/BalanceForAsset.js | 6 +- js/sdk/src/model/CreateRuleRequest.js | 6 +- js/sdk/src/model/DeleteRuleRequest.js | 6 +- js/sdk/src/model/DeleteWalletRequest.js | 10 +- js/sdk/src/model/ErrorResponse.js | 6 +- .../model/ExportAuditorAccessWalletRequest.js | 98 +++++ .../ExportAuditorAccessWalletResponse.js | 98 +++++ js/sdk/src/model/ExportWalletRequest.js | 6 +- js/sdk/src/model/ExportWalletResponse.js | 6 +- js/sdk/src/model/GenerateWalletRequest.js | 6 +- js/sdk/src/model/GetAllWalletsResponse.js | 6 +- js/sdk/src/model/GetNetworkActivityRequest.js | 6 +- .../src/model/GetNetworkActivityResponse.js | 6 +- js/sdk/src/model/GetNewAddressRequest.js | 6 +- js/sdk/src/model/GetNewAddressResponse.js | 6 +- js/sdk/src/model/GetPublicKeyRequest.js | 6 +- js/sdk/src/model/GetPublicKeyResponse.js | 6 +- js/sdk/src/model/GetRulesResponse.js | 6 +- js/sdk/src/model/GetTaskStatusRequest.js | 6 +- js/sdk/src/model/GetTaskStatusResponse.js | 6 +- js/sdk/src/model/GetTasksRequest.js | 165 ++++++++ js/sdk/src/model/GetTasksResponse.js | 78 ++++ js/sdk/src/model/GetWalletActivityRequest.js | 6 +- js/sdk/src/model/GetWalletActivityResponse.js | 6 +- js/sdk/src/model/GetWalletBalanceRequest.js | 6 +- js/sdk/src/model/GetWalletBalanceResponse.js | 6 +- js/sdk/src/model/HealthcheckResponse.js | 6 +- js/sdk/src/model/HealthcheckResponseItem.js | 6 +- .../model/ImportAuditorAccessWalletRequest.js | 98 +++++ js/sdk/src/model/ImportWalletRequest.js | 6 +- js/sdk/src/model/IssueAssetRequest.js | 6 +- js/sdk/src/model/Rule.js | 16 +- js/sdk/src/model/TransactionsForWallet.js | 6 +- js/sdk/src/model/TransferAssetRequest.js | 6 +- js/sdk/src/model/UnlockWalletRequest.js | 6 +- js/sdk/test/api/AnalyticsApi.spec.js | 12 +- js/sdk/test/api/HealthApi.spec.js | 4 +- js/sdk/test/api/NodeApi.spec.js | 34 +- js/sdk/test/api/WalletApi.spec.js | 36 +- .../test/model/AnalyticIssueWalletTx.spec.js | 10 +- .../test/model/AnalyticRuleWalletTx.spec.js | 8 +- js/sdk/test/model/AnalyticTransaction.spec.js | 38 +- .../model/AnalyticTransferWalletTx.spec.js | 10 +- .../test/model/AnalyticWalletMetadata.spec.js | 4 +- js/sdk/test/model/AnalyticWalletTx.spec.js | 4 +- ...ticsAssetConverterProofDescription.spec.js | 4 +- ...icsConfidentialIssuanceDescription.spec.js | 4 +- js/sdk/test/model/AnalyticsIssueTx.spec.js | 10 +- .../model/AnalyticsMultiTransferTx.spec.js | 67 ++++ js/sdk/test/model/AnalyticsOutput.spec.js | 22 +- .../model/AnalyticsOutputDescription.spec.js | 4 +- ...AnalyticsPublicIssuanceDescription.spec.js | 4 +- js/sdk/test/model/AnalyticsRule.spec.js | 4 +- .../model/AnalyticsRuleDefinition.spec.js | 4 +- js/sdk/test/model/AnalyticsRuleTx.spec.js | 16 +- .../AnalyticsRuleWalletDefinition.spec.js | 4 +- .../model/AnalyticsSpendDescription.spec.js | 10 +- js/sdk/test/model/AnalyticsTransferTx.spec.js | 16 +- js/sdk/test/model/AnalyticsTxMetadata.spec.js | 4 +- .../model/AsyncTaskCreatedResponse.spec.js | 4 +- js/sdk/test/model/BalanceForAsset.spec.js | 4 +- js/sdk/test/model/CreateRuleRequest.spec.js | 4 +- js/sdk/test/model/DeleteRuleRequest.spec.js | 4 +- js/sdk/test/model/DeleteWalletRequest.spec.js | 4 +- js/sdk/test/model/ErrorResponse.spec.js | 4 +- .../ExportAuditorAccessWalletRequest.spec.js | 79 ++++ .../ExportAuditorAccessWalletResponse.spec.js | 79 ++++ js/sdk/test/model/ExportWalletRequest.spec.js | 4 +- .../test/model/ExportWalletResponse.spec.js | 4 +- .../test/model/GenerateWalletRequest.spec.js | 4 +- .../test/model/GetAllWalletsResponse.spec.js | 4 +- .../model/GetNetworkActivityRequest.spec.js | 4 +- .../model/GetNetworkActivityResponse.spec.js | 8 +- .../test/model/GetNewAddressRequest.spec.js | 4 +- .../test/model/GetNewAddressResponse.spec.js | 4 +- js/sdk/test/model/GetPublicKeyRequest.spec.js | 4 +- .../test/model/GetPublicKeyResponse.spec.js | 4 +- js/sdk/test/model/GetRulesResponse.spec.js | 4 +- .../test/model/GetTaskStatusRequest.spec.js | 4 +- .../test/model/GetTaskStatusResponse.spec.js | 4 +- js/sdk/test/model/GetTasksRequest.spec.js | 91 +++++ js/sdk/test/model/GetTasksResponse.spec.js | 67 ++++ .../model/GetWalletActivityRequest.spec.js | 4 +- .../model/GetWalletActivityResponse.spec.js | 4 +- .../model/GetWalletBalanceRequest.spec.js | 4 +- .../model/GetWalletBalanceResponse.spec.js | 4 +- js/sdk/test/model/HealthcheckResponse.spec.js | 14 +- .../model/HealthcheckResponseItem.spec.js | 4 +- .../ImportAuditorAccessWalletRequest.spec.js | 79 ++++ js/sdk/test/model/ImportWalletRequest.spec.js | 4 +- js/sdk/test/model/IssueAssetRequest.spec.js | 4 +- js/sdk/test/model/Rule.spec.js | 4 +- .../test/model/TransactionsForWallet.spec.js | 4 +- .../test/model/TransferAssetRequest.spec.js | 4 +- js/sdk/test/model/UnlockWalletRequest.spec.js | 4 +- spec/asset-swagger.yaml | 278 +++++++++++-- 212 files changed, 3196 insertions(+), 563 deletions(-) create mode 100644 go/sdk/docs/AnalyticsMultiTransferTx.md create mode 100644 go/sdk/docs/ExportAuditorAccessWalletRequest.md create mode 100644 go/sdk/docs/ExportAuditorAccessWalletResponse.md create mode 100644 go/sdk/docs/GetTasksRequest.md create mode 100644 go/sdk/docs/GetTasksResponse.md create mode 100644 go/sdk/docs/ImportAuditorAccessWalletRequest.md create mode 100644 go/sdk/model_analytics_multi_transfer_tx.go create mode 100644 go/sdk/model_export_auditor_access_wallet_request.go create mode 100644 go/sdk/model_export_auditor_access_wallet_response.go create mode 100644 go/sdk/model_get_tasks_request.go create mode 100644 go/sdk/model_get_tasks_response.go create mode 100644 go/sdk/model_import_auditor_access_wallet_request.go create mode 100644 js/sdk/docs/AnalyticsMultiTransferTx.md create mode 100644 js/sdk/docs/ExportAuditorAccessWalletRequest.md create mode 100644 js/sdk/docs/ExportAuditorAccessWalletResponse.md create mode 100644 js/sdk/docs/GetTasksRequest.md create mode 100644 js/sdk/docs/GetTasksResponse.md create mode 100644 js/sdk/docs/ImportAuditorAccessWalletRequest.md create mode 100644 js/sdk/src/model/AnalyticsMultiTransferTx.js create mode 100644 js/sdk/src/model/ExportAuditorAccessWalletRequest.js create mode 100644 js/sdk/src/model/ExportAuditorAccessWalletResponse.js create mode 100644 js/sdk/src/model/GetTasksRequest.js create mode 100644 js/sdk/src/model/GetTasksResponse.js create mode 100644 js/sdk/src/model/ImportAuditorAccessWalletRequest.js create mode 100644 js/sdk/test/model/AnalyticsMultiTransferTx.spec.js create mode 100644 js/sdk/test/model/ExportAuditorAccessWalletRequest.spec.js create mode 100644 js/sdk/test/model/ExportAuditorAccessWalletResponse.spec.js create mode 100644 js/sdk/test/model/GetTasksRequest.spec.js create mode 100644 js/sdk/test/model/GetTasksResponse.spec.js create mode 100644 js/sdk/test/model/ImportAuditorAccessWalletRequest.spec.js diff --git a/go/sdk/README.md b/go/sdk/README.md index 2620a84..cac2282 100644 --- a/go/sdk/README.md +++ b/go/sdk/README.md @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/opena ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.3.0 +- API version: 1.4.0 - Package version: 1.1.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen @@ -33,11 +33,14 @@ Class | Method | HTTP request | Description *AnalyticsApi* | [**AnalyticsGetNetworkActivityPost**](docs/AnalyticsApi.md#analyticsgetnetworkactivitypost) | **Post** /analytics/get_network_activity | Get details on past blocks *HealthApi* | [**HealthPost**](docs/HealthApi.md#healthpost) | **Post** /health | Perform a healthcheck of the node and its dependent services *NodeApi* | [**NodeDeleteWalletPost**](docs/NodeApi.md#nodedeletewalletpost) | **Post** /node/delete_wallet | Delete a wallet +*NodeApi* | [**NodeExportAuditorAccessWalletPost**](docs/NodeApi.md#nodeexportauditoraccesswalletpost) | **Post** /node/export_auditor_access_wallet | Export a viewing key that allows an auditor to view all transactions to and from a wallet. The viewing key is encrypted for the auditor identified by recipient_payment_address. The viewing key does not enable the auditor to make transactions. *NodeApi* | [**NodeExportWalletPost**](docs/NodeApi.md#nodeexportwalletpost) | **Post** /node/export_wallet | Export wallet secret key *NodeApi* | [**NodeGenerateWalletPost**](docs/NodeApi.md#nodegeneratewalletpost) | **Post** /node/generate_wallet | Generate a new wallet *NodeApi* | [**NodeGetAllWalletsPost**](docs/NodeApi.md#nodegetallwalletspost) | **Post** /node/get_all_wallets | Get all wallet labels *NodeApi* | [**NodeGetRulesPost**](docs/NodeApi.md#nodegetrulespost) | **Post** /node/get_rules | Get network governance rules -*NodeApi* | [**NodeGetTaskStatusPost**](docs/NodeApi.md#nodegettaskstatuspost) | **Post** /node/get_task_status | Get all tasks in the node +*NodeApi* | [**NodeGetTaskStatusPost**](docs/NodeApi.md#nodegettaskstatuspost) | **Post** /node/get_task_status | Get a specific task (by ID) +*NodeApi* | [**NodeGetTasksPost**](docs/NodeApi.md#nodegettaskspost) | **Post** /node/get_tasks | Get a list of tasks by results/types +*NodeApi* | [**NodeImportAuditorAccessWalletPost**](docs/NodeApi.md#nodeimportauditoraccesswalletpost) | **Post** /node/import_auditor_access_wallet | Import a viewing key generated by export_auditor_access_wallet. This will create a read-only wallet which can be queried with endpoints such as get_activity and get_balances, but cannot be used to perform transactions. *NodeApi* | [**NodeImportWalletPost**](docs/NodeApi.md#nodeimportwalletpost) | **Post** /node/import_wallet | Import wallet from secret key *NodeApi* | [**NodeUnlockWalletPost**](docs/NodeApi.md#nodeunlockwalletpost) | **Post** /node/unlock_wallet | Unlocks a wallet for a given amount of seconds [async call] *WalletApi* | [**WalletCreateRulePost**](docs/WalletApi.md#walletcreaterulepost) | **Post** /wallet/create_rule | Create & broadcast add-config-rule [async call] @@ -61,6 +64,7 @@ Class | Method | HTTP request | Description - [AnalyticsAssetConverterProofDescription](docs/AnalyticsAssetConverterProofDescription.md) - [AnalyticsConfidentialIssuanceDescription](docs/AnalyticsConfidentialIssuanceDescription.md) - [AnalyticsIssueTx](docs/AnalyticsIssueTx.md) + - [AnalyticsMultiTransferTx](docs/AnalyticsMultiTransferTx.md) - [AnalyticsOutput](docs/AnalyticsOutput.md) - [AnalyticsOutputDescription](docs/AnalyticsOutputDescription.md) - [AnalyticsPublicIssuanceDescription](docs/AnalyticsPublicIssuanceDescription.md) @@ -77,6 +81,8 @@ Class | Method | HTTP request | Description - [DeleteRuleRequest](docs/DeleteRuleRequest.md) - [DeleteWalletRequest](docs/DeleteWalletRequest.md) - [ErrorResponse](docs/ErrorResponse.md) + - [ExportAuditorAccessWalletRequest](docs/ExportAuditorAccessWalletRequest.md) + - [ExportAuditorAccessWalletResponse](docs/ExportAuditorAccessWalletResponse.md) - [ExportWalletRequest](docs/ExportWalletRequest.md) - [ExportWalletResponse](docs/ExportWalletResponse.md) - [GenerateWalletRequest](docs/GenerateWalletRequest.md) @@ -90,12 +96,15 @@ Class | Method | HTTP request | Description - [GetRulesResponse](docs/GetRulesResponse.md) - [GetTaskStatusRequest](docs/GetTaskStatusRequest.md) - [GetTaskStatusResponse](docs/GetTaskStatusResponse.md) + - [GetTasksRequest](docs/GetTasksRequest.md) + - [GetTasksResponse](docs/GetTasksResponse.md) - [GetWalletActivityRequest](docs/GetWalletActivityRequest.md) - [GetWalletActivityResponse](docs/GetWalletActivityResponse.md) - [GetWalletBalanceRequest](docs/GetWalletBalanceRequest.md) - [GetWalletBalanceResponse](docs/GetWalletBalanceResponse.md) - [HealthcheckResponse](docs/HealthcheckResponse.md) - [HealthcheckResponseItem](docs/HealthcheckResponseItem.md) + - [ImportAuditorAccessWalletRequest](docs/ImportAuditorAccessWalletRequest.md) - [ImportWalletRequest](docs/ImportWalletRequest.md) - [IssueAssetRequest](docs/IssueAssetRequest.md) - [Rule](docs/Rule.md) diff --git a/go/sdk/api/openapi.yaml b/go/sdk/api/openapi.yaml index 8cbf912..5e06ece 100644 --- a/go/sdk/api/openapi.yaml +++ b/go/sdk/api/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - title: QED-it - Asset Transfers - version: 1.3.0 + title: QEDIT - Asset Transfers + version: 1.4.0 servers: - url: http://{server_url}:12052 variables: @@ -163,7 +163,7 @@ paths: $ref: '#/components/schemas/GetPublicKeyRequest' required: true responses: - 201: + 200: content: application/json: schema: @@ -398,6 +398,42 @@ paths: summary: Delete a wallet tags: - Node + /node/export_wallet: + post: + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ExportWalletRequest' + required: true + responses: + 200: + content: + application/json: + schema: + $ref: '#/components/schemas/ExportWalletResponse' + description: Success + 400: + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Bad request + 401: + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Unauthorized + 500: + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Internal error + summary: Export wallet secret key + tags: + - Node /node/import_wallet: post: requestBody: @@ -430,21 +466,21 @@ paths: summary: Import wallet from secret key tags: - Node - /node/unlock_wallet: + /node/export_auditor_access_wallet: post: requestBody: content: application/json: schema: - $ref: '#/components/schemas/UnlockWalletRequest' + $ref: '#/components/schemas/ExportAuditorAccessWalletRequest' required: true responses: - 201: + 200: content: application/json: schema: - $ref: '#/components/schemas/AsyncTaskCreatedResponse' - description: Created + $ref: '#/components/schemas/ExportAuditorAccessWalletResponse' + description: Success 400: content: application/json: @@ -463,24 +499,56 @@ paths: schema: $ref: '#/components/schemas/ErrorResponse' description: Internal error - summary: Unlocks a wallet for a given amount of seconds [async call] + summary: Export a viewing key that allows an auditor to view all transactions to and from a wallet. The viewing key is encrypted for the auditor identified by recipient_payment_address. The viewing key does not enable the auditor to make transactions. tags: - Node - /node/export_wallet: + /node/import_auditor_access_wallet: post: requestBody: content: application/json: schema: - $ref: '#/components/schemas/ExportWalletRequest' + $ref: '#/components/schemas/ImportAuditorAccessWalletRequest' required: true responses: 200: + description: Success + 400: content: application/json: schema: - $ref: '#/components/schemas/ExportWalletResponse' - description: Success + $ref: '#/components/schemas/ErrorResponse' + description: Bad request + 401: + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Unauthorized + 500: + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Internal error + summary: Import a viewing key generated by export_auditor_access_wallet. This will create a read-only wallet which can be queried with endpoints such as get_activity and get_balances, but cannot be used to perform transactions. + tags: + - Node + /node/unlock_wallet: + post: + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UnlockWalletRequest' + required: true + responses: + 201: + content: + application/json: + schema: + $ref: '#/components/schemas/AsyncTaskCreatedResponse' + description: Created 400: content: application/json: @@ -499,7 +567,7 @@ paths: schema: $ref: '#/components/schemas/ErrorResponse' description: Internal error - summary: Export wallet secret key + summary: Unlocks a wallet for a given amount of seconds [async call] tags: - Node /node/get_rules: @@ -583,7 +651,43 @@ paths: schema: $ref: '#/components/schemas/ErrorResponse' description: Internal error - summary: Get all tasks in the node + summary: Get a specific task (by ID) + tags: + - Node + /node/get_tasks: + post: + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetTasksRequest' + required: true + responses: + 200: + content: + application/json: + schema: + $ref: '#/components/schemas/GetTasksResponse' + description: Success + 400: + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Bad request + 401: + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Unauthorized + 500: + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Internal error + summary: Get a list of tasks by results/types tags: - Node /health: @@ -769,6 +873,51 @@ components: required: - id type: object + GetTasksRequest: + example: + start_index: 0 + number_of_results: 10 + types: + - unlock_wallet + - transfer_asset + results: + - in_progress + - failure + order: asc + properties: + start_index: + format: int32 + type: integer + number_of_results: + format: int32 + type: integer + types: + items: + enum: + - unlock_wallet + - transfer_asset + - issue_asset + - alter_rule + type: string + type: array + results: + items: + default: in_progress + enum: + - pending + - failure + - in_progress + - success + type: string + type: array + order: + default: desc + pattern: ^(asc|desc)$ + type: string + required: + - number_of_results + - start_index + type: object GetTaskStatusResponse: example: id: 5aaa4045-e949-4c44-a7ef-25fb55a1afa6 @@ -798,6 +947,29 @@ components: error: type: string type: object + GetTasksResponse: + example: + tasks: + - id: 5aaa4045-e949-4c44-a7ef-25fb55a1afa6 + created_at: 2019-03-12T16:40:22 + updated_at: 2019-03-12T16:41:17 + result: success + tx_hash: 0xd379aa4e5e40552910c8ae456c65dcf51e9779fc9281ac2dc9e677ec810af6b1 + type: transfer_asset + data: {} + - id: 5aaa4045-e949-4c44-a7ef-25fb55a1afa6 + created_at: 2019-03-12T16:40:22 + updated_at: 2019-03-12T16:41:17 + result: success + tx_hash: 0xd379aa4e5e40552910c8ae456c65dcf51e9779fc9281ac2dc9e677ec810af6b1 + type: transfer_asset + data: {} + properties: + tasks: + items: + $ref: '#/components/schemas/GetTaskStatusResponse' + type: array + type: object GetNetworkActivityRequest: example: start_index: 0 @@ -947,6 +1119,32 @@ components: - public_key - wallet_id type: object + ExportWalletRequest: + example: + wallet_id: source_wallet + properties: + wallet_id: + type: string + required: + - wallet_id + type: object + ExportWalletResponse: + example: + wallet_id: source_wallet + encrypted_sk: 44d2836bbfcc7c69dd35dbe854d54a093be9a1be7f9d658325a8d2526f67ede16abf0d1430edab07be9b8c12070260af + salt: 27ca2bf75fe4c1564398459bd2f39a89645bf98aeeb1f99a9c9efa6e5c39cbfe + properties: + wallet_id: + type: string + encrypted_sk: + type: string + salt: + type: string + required: + - encrypted_sk + - salt + - wallet_id + type: object ImportWalletRequest: example: wallet_id: source_wallet @@ -968,30 +1166,55 @@ components: - salt - wallet_id type: object - ExportWalletRequest: + ExportAuditorAccessWalletRequest: example: wallet_id: source_wallet + authorization: PrivacyIsAwesome + recipient_payment_address: q1dxlf6vap2566t8w3z8f5j5lxy9n036zfsaytjve7fedsw6w8c9q9ctrwfz6ryyjwkgvj6tjg70f properties: wallet_id: type: string + authorization: + type: string + recipient_payment_address: + type: string required: + - authorization + - recipient_payment_address - wallet_id type: object - ExportWalletResponse: + ExportAuditorAccessWalletResponse: example: wallet_id: source_wallet - encrypted_sk: 44d2836bbfcc7c69dd35dbe854d54a093be9a1be7f9d658325a8d2526f67ede16abf0d1430edab07be9b8c12070260af - salt: 27ca2bf75fe4c1564398459bd2f39a89645bf98aeeb1f99a9c9efa6e5c39cbfe + public_key: 8a907d5c070223b4fd30a05e2e103ae6f7bbae2bc6ea36258b5a7ac9a4b8f646 + access_key: 9c1616ccb51d4022c7b8654b1a69682654c5da6570b37d3cd2a2368a758f7922 properties: wallet_id: type: string - encrypted_sk: + public_key: type: string - salt: + access_key: type: string required: - - encrypted_sk - - salt + - access_key + - public_key + - wallet_id + type: object + ImportAuditorAccessWalletRequest: + example: + wallet_id: source_wallet + public_key: 8a907d5c070223b4fd30a05e2e103ae6f7bbae2bc6ea36258b5a7ac9a4b8f646 + access_key: 9c1616ccb51d4022c7b8654b1a69682654c5da6570b37d3cd2a2368a758f7922 + properties: + wallet_id: + type: string + public_key: + type: string + access_key: + type: string + required: + - access_key + - public_key - wallet_id type: object GenerateWalletRequest: @@ -1017,7 +1240,6 @@ components: authorization: type: string required: - - authorization - wallet_id type: object UnlockWalletRequest: @@ -1107,6 +1329,10 @@ components: is_admin: type: boolean required: + - can_issue_asset_id_first + - can_issue_asset_id_last + - can_issue_confidentially + - is_admin - public_key type: object ErrorResponse: @@ -1161,7 +1387,7 @@ components: content: oneOf: - $ref: '#/components/schemas/AnalyticsIssueTx' - - $ref: '#/components/schemas/AnalyticsTransferTx' + - $ref: '#/components/schemas/AnalyticsMultiTransferTx' - $ref: '#/components/schemas/AnalyticsRuleTx' type: object AnalyticsTxMetadata: @@ -1192,6 +1418,13 @@ components: signature: type: string type: object + AnalyticsMultiTransferTx: + properties: + transfers: + items: + $ref: '#/components/schemas/AnalyticsTransferTx' + type: array + type: object AnalyticsTransferTx: properties: asset_converter_descriptions: @@ -1450,6 +1683,8 @@ components: type: boolean issued_by_self: type: boolean + sender_id: + type: string memo: type: string recipient_address: @@ -1467,6 +1702,8 @@ components: properties: is_incoming: type: boolean + sender_id: + type: string memo: type: string recipient_address: diff --git a/go/sdk/api_analytics.go b/go/sdk/api_analytics.go index b015b51..1303747 100644 --- a/go/sdk/api_analytics.go +++ b/go/sdk/api_analytics.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/api_health.go b/go/sdk/api_health.go index 0f07d11..1fc2ef3 100644 --- a/go/sdk/api_health.go +++ b/go/sdk/api_health.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/api_node.go b/go/sdk/api_node.go index 4dc18d4..f70013b 100644 --- a/go/sdk/api_node.go +++ b/go/sdk/api_node.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -134,6 +134,137 @@ func (a *NodeApiService) NodeDeleteWalletPost(ctx context.Context, deleteWalletR return localVarHttpResponse, nil } +/* +NodeApiService Export a viewing key that allows an auditor to view all transactions to and from a wallet. The viewing key is encrypted for the auditor identified by recipient_payment_address. The viewing key does not enable the auditor to make transactions. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param exportAuditorAccessWalletRequest +@return ExportAuditorAccessWalletResponse +*/ +func (a *NodeApiService) NodeExportAuditorAccessWalletPost(ctx context.Context, exportAuditorAccessWalletRequest ExportAuditorAccessWalletRequest) (ExportAuditorAccessWalletResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue ExportAuditorAccessWalletResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/node/export_auditor_access_wallet" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &exportAuditorAccessWalletRequest + if ctx != nil { + // API Key Authentication + if auth, ok := ctx.Value(ContextAPIKey).(APIKey); ok { + var key string + if auth.Prefix != "" { + key = auth.Prefix + " " + auth.Key + } else { + key = auth.Key + } + localVarHeaderParams["x-auth-token"] = key + } + } + + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v ExportAuditorAccessWalletResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 500 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + /* NodeApiService Export wallet secret key * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -612,7 +743,7 @@ func (a *NodeApiService) NodeGetRulesPost(ctx context.Context) (GetRulesResponse } /* -NodeApiService Get all tasks in the node +NodeApiService Get a specific task (by ID) * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param getTaskStatusRequest @return GetTaskStatusResponse @@ -742,6 +873,247 @@ func (a *NodeApiService) NodeGetTaskStatusPost(ctx context.Context, getTaskStatu return localVarReturnValue, localVarHttpResponse, nil } +/* +NodeApiService Get a list of tasks by results/types + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param getTasksRequest +@return GetTasksResponse +*/ +func (a *NodeApiService) NodeGetTasksPost(ctx context.Context, getTasksRequest GetTasksRequest) (GetTasksResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + localVarReturnValue GetTasksResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/node/get_tasks" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &getTasksRequest + if ctx != nil { + // API Key Authentication + if auth, ok := ctx.Value(ContextAPIKey).(APIKey); ok { + var key string + if auth.Prefix != "" { + key = auth.Prefix + " " + auth.Key + } else { + key = auth.Key + } + localVarHeaderParams["x-auth-token"] = key + } + } + + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v GetTasksResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 500 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +NodeApiService Import a viewing key generated by export_auditor_access_wallet. This will create a read-only wallet which can be queried with endpoints such as get_activity and get_balances, but cannot be used to perform transactions. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param importAuditorAccessWalletRequest +*/ +func (a *NodeApiService) NodeImportAuditorAccessWalletPost(ctx context.Context, importAuditorAccessWalletRequest ImportAuditorAccessWalletRequest) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFormFileName string + localVarFileName string + localVarFileBytes []byte + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/node/import_auditor_access_wallet" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &importAuditorAccessWalletRequest + if ctx != nil { + // API Key Authentication + if auth, ok := ctx.Value(ContextAPIKey).(APIKey); ok { + var key string + if auth.Prefix != "" { + key = auth.Prefix + " " + auth.Key + } else { + key = auth.Key + } + localVarHeaderParams["x-auth-token"] = key + } + } + + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericOpenAPIError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 400 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 500 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} + /* NodeApiService Import wallet from secret key * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). diff --git a/go/sdk/api_wallet.go b/go/sdk/api_wallet.go index a7250fa..f42f089 100644 --- a/go/sdk/api_wallet.go +++ b/go/sdk/api_wallet.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -755,7 +755,7 @@ func (a *WalletApiService) WalletGetPublicKeyPost(ctx context.Context, getPublic body: localVarBody, error: localVarHttpResponse.Status, } - if localVarHttpResponse.StatusCode == 201 { + if localVarHttpResponse.StatusCode == 200 { var v GetPublicKeyResponse err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { diff --git a/go/sdk/client.go b/go/sdk/client.go index e5283d4..77bc4fe 100644 --- a/go/sdk/client.go +++ b/go/sdk/client.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -37,7 +37,7 @@ var ( xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") ) -// APIClient manages communication with the QED-it - Asset Transfers API v1.3.0 +// APIClient manages communication with the QEDIT - Asset Transfers API v1.4.0 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/go/sdk/configuration.go b/go/sdk/configuration.go index 3fdd364..4c50dc8 100644 --- a/go/sdk/configuration.go +++ b/go/sdk/configuration.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/docs/AnalyticIssueWalletTx.md b/go/sdk/docs/AnalyticIssueWalletTx.md index 9271f7e..465677f 100644 --- a/go/sdk/docs/AnalyticIssueWalletTx.md +++ b/go/sdk/docs/AnalyticIssueWalletTx.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **IsIncoming** | **bool** | | [optional] **IssuedBySelf** | **bool** | | [optional] +**SenderId** | **string** | | [optional] **Memo** | **string** | | [optional] **RecipientAddress** | **string** | | [optional] **AssetId** | **int32** | | [optional] diff --git a/go/sdk/docs/AnalyticTransferWalletTx.md b/go/sdk/docs/AnalyticTransferWalletTx.md index ad52301..f5f0c08 100644 --- a/go/sdk/docs/AnalyticTransferWalletTx.md +++ b/go/sdk/docs/AnalyticTransferWalletTx.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **IsIncoming** | **bool** | | [optional] +**SenderId** | **string** | | [optional] **Memo** | **string** | | [optional] **RecipientAddress** | **string** | | [optional] **AssetId** | **int32** | | [optional] diff --git a/go/sdk/docs/AnalyticsMultiTransferTx.md b/go/sdk/docs/AnalyticsMultiTransferTx.md new file mode 100644 index 0000000..4f384be --- /dev/null +++ b/go/sdk/docs/AnalyticsMultiTransferTx.md @@ -0,0 +1,10 @@ +# AnalyticsMultiTransferTx + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Transfers** | [**[]AnalyticsTransferTx**](AnalyticsTransferTx.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go/sdk/docs/DeleteWalletRequest.md b/go/sdk/docs/DeleteWalletRequest.md index 84ffd79..96ec5bc 100644 --- a/go/sdk/docs/DeleteWalletRequest.md +++ b/go/sdk/docs/DeleteWalletRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **WalletId** | **string** | | -**Authorization** | **string** | | +**Authorization** | **string** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go/sdk/docs/ExportAuditorAccessWalletRequest.md b/go/sdk/docs/ExportAuditorAccessWalletRequest.md new file mode 100644 index 0000000..6722408 --- /dev/null +++ b/go/sdk/docs/ExportAuditorAccessWalletRequest.md @@ -0,0 +1,12 @@ +# ExportAuditorAccessWalletRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**WalletId** | **string** | | +**Authorization** | **string** | | +**RecipientPaymentAddress** | **string** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go/sdk/docs/ExportAuditorAccessWalletResponse.md b/go/sdk/docs/ExportAuditorAccessWalletResponse.md new file mode 100644 index 0000000..9cf9792 --- /dev/null +++ b/go/sdk/docs/ExportAuditorAccessWalletResponse.md @@ -0,0 +1,12 @@ +# ExportAuditorAccessWalletResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**WalletId** | **string** | | +**PublicKey** | **string** | | +**AccessKey** | **string** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go/sdk/docs/GetTasksRequest.md b/go/sdk/docs/GetTasksRequest.md new file mode 100644 index 0000000..5a86c15 --- /dev/null +++ b/go/sdk/docs/GetTasksRequest.md @@ -0,0 +1,14 @@ +# GetTasksRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StartIndex** | **int32** | | +**NumberOfResults** | **int32** | | +**Types** | **[]string** | | [optional] +**Results** | **[]string** | | [optional] +**Order** | **string** | | [optional] [default to desc] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go/sdk/docs/GetTasksResponse.md b/go/sdk/docs/GetTasksResponse.md new file mode 100644 index 0000000..3282fe8 --- /dev/null +++ b/go/sdk/docs/GetTasksResponse.md @@ -0,0 +1,10 @@ +# GetTasksResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Tasks** | [**[]GetTaskStatusResponse**](GetTaskStatusResponse.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go/sdk/docs/ImportAuditorAccessWalletRequest.md b/go/sdk/docs/ImportAuditorAccessWalletRequest.md new file mode 100644 index 0000000..e8fdff8 --- /dev/null +++ b/go/sdk/docs/ImportAuditorAccessWalletRequest.md @@ -0,0 +1,12 @@ +# ImportAuditorAccessWalletRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**WalletId** | **string** | | +**PublicKey** | **string** | | +**AccessKey** | **string** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go/sdk/docs/NodeApi.md b/go/sdk/docs/NodeApi.md index e6ef920..e3f7200 100644 --- a/go/sdk/docs/NodeApi.md +++ b/go/sdk/docs/NodeApi.md @@ -5,11 +5,14 @@ All URIs are relative to *http://localhost:12052* Method | HTTP request | Description ------------- | ------------- | ------------- [**NodeDeleteWalletPost**](NodeApi.md#NodeDeleteWalletPost) | **Post** /node/delete_wallet | Delete a wallet +[**NodeExportAuditorAccessWalletPost**](NodeApi.md#NodeExportAuditorAccessWalletPost) | **Post** /node/export_auditor_access_wallet | Export a viewing key that allows an auditor to view all transactions to and from a wallet. The viewing key is encrypted for the auditor identified by recipient_payment_address. The viewing key does not enable the auditor to make transactions. [**NodeExportWalletPost**](NodeApi.md#NodeExportWalletPost) | **Post** /node/export_wallet | Export wallet secret key [**NodeGenerateWalletPost**](NodeApi.md#NodeGenerateWalletPost) | **Post** /node/generate_wallet | Generate a new wallet [**NodeGetAllWalletsPost**](NodeApi.md#NodeGetAllWalletsPost) | **Post** /node/get_all_wallets | Get all wallet labels [**NodeGetRulesPost**](NodeApi.md#NodeGetRulesPost) | **Post** /node/get_rules | Get network governance rules -[**NodeGetTaskStatusPost**](NodeApi.md#NodeGetTaskStatusPost) | **Post** /node/get_task_status | Get all tasks in the node +[**NodeGetTaskStatusPost**](NodeApi.md#NodeGetTaskStatusPost) | **Post** /node/get_task_status | Get a specific task (by ID) +[**NodeGetTasksPost**](NodeApi.md#NodeGetTasksPost) | **Post** /node/get_tasks | Get a list of tasks by results/types +[**NodeImportAuditorAccessWalletPost**](NodeApi.md#NodeImportAuditorAccessWalletPost) | **Post** /node/import_auditor_access_wallet | Import a viewing key generated by export_auditor_access_wallet. This will create a read-only wallet which can be queried with endpoints such as get_activity and get_balances, but cannot be used to perform transactions. [**NodeImportWalletPost**](NodeApi.md#NodeImportWalletPost) | **Post** /node/import_wallet | Import wallet from secret key [**NodeUnlockWalletPost**](NodeApi.md#NodeUnlockWalletPost) | **Post** /node/unlock_wallet | Unlocks a wallet for a given amount of seconds [async call] @@ -40,6 +43,32 @@ 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) +# **NodeExportAuditorAccessWalletPost** +> ExportAuditorAccessWalletResponse NodeExportAuditorAccessWalletPost(ctx, exportAuditorAccessWalletRequest) +Export a viewing key that allows an auditor to view all transactions to and from a wallet. The viewing key is encrypted for the auditor identified by recipient_payment_address. The viewing key does not enable the auditor to make transactions. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **exportAuditorAccessWalletRequest** | [**ExportAuditorAccessWalletRequest**](ExportAuditorAccessWalletRequest.md)| | + +### Return type + +[**ExportAuditorAccessWalletResponse**](ExportAuditorAccessWalletResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[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) + # **NodeExportWalletPost** > ExportWalletResponse NodeExportWalletPost(ctx, exportWalletRequest) Export wallet secret key @@ -138,7 +167,7 @@ This endpoint does not need any parameter. # **NodeGetTaskStatusPost** > GetTaskStatusResponse NodeGetTaskStatusPost(ctx, getTaskStatusRequest) -Get all tasks in the node +Get a specific task (by ID) ### Required Parameters @@ -162,6 +191,58 @@ 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) +# **NodeGetTasksPost** +> GetTasksResponse NodeGetTasksPost(ctx, getTasksRequest) +Get a list of tasks by results/types + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **getTasksRequest** | [**GetTasksRequest**](GetTasksRequest.md)| | + +### Return type + +[**GetTasksResponse**](GetTasksResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[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) + +# **NodeImportAuditorAccessWalletPost** +> NodeImportAuditorAccessWalletPost(ctx, importAuditorAccessWalletRequest) +Import a viewing key generated by export_auditor_access_wallet. This will create a read-only wallet which can be queried with endpoints such as get_activity and get_balances, but cannot be used to perform transactions. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **importAuditorAccessWalletRequest** | [**ImportAuditorAccessWalletRequest**](ImportAuditorAccessWalletRequest.md)| | + +### Return type + + (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[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) + # **NodeImportWalletPost** > NodeImportWalletPost(ctx, importWalletRequest) Import wallet from secret key diff --git a/go/sdk/docs/Rule.md b/go/sdk/docs/Rule.md index 7e3afb1..a441f8f 100644 --- a/go/sdk/docs/Rule.md +++ b/go/sdk/docs/Rule.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PublicKey** | **string** | | -**CanIssueConfidentially** | **bool** | | [optional] -**CanIssueAssetIdFirst** | **int32** | | [optional] -**CanIssueAssetIdLast** | **int32** | | [optional] -**IsAdmin** | **bool** | | [optional] +**CanIssueConfidentially** | **bool** | | +**CanIssueAssetIdFirst** | **int32** | | +**CanIssueAssetIdLast** | **int32** | | +**IsAdmin** | **bool** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go/sdk/model_analytic_issue_wallet_tx.go b/go/sdk/model_analytic_issue_wallet_tx.go index 40a4c0d..6a86aca 100644 --- a/go/sdk/model_analytic_issue_wallet_tx.go +++ b/go/sdk/model_analytic_issue_wallet_tx.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -12,6 +12,7 @@ package sdk type AnalyticIssueWalletTx struct { IsIncoming bool `json:"is_incoming,omitempty"` IssuedBySelf bool `json:"issued_by_self,omitempty"` + SenderId string `json:"sender_id,omitempty"` Memo string `json:"memo,omitempty"` RecipientAddress string `json:"recipient_address,omitempty"` AssetId int32 `json:"asset_id,omitempty"` diff --git a/go/sdk/model_analytic_rule_wallet_tx.go b/go/sdk/model_analytic_rule_wallet_tx.go index 6026557..3074e26 100644 --- a/go/sdk/model_analytic_rule_wallet_tx.go +++ b/go/sdk/model_analytic_rule_wallet_tx.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytic_transaction.go b/go/sdk/model_analytic_transaction.go index a94b9bb..c42def1 100644 --- a/go/sdk/model_analytic_transaction.go +++ b/go/sdk/model_analytic_transaction.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytic_transfer_wallet_tx.go b/go/sdk/model_analytic_transfer_wallet_tx.go index 779546e..42fc879 100644 --- a/go/sdk/model_analytic_transfer_wallet_tx.go +++ b/go/sdk/model_analytic_transfer_wallet_tx.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,6 +11,7 @@ package sdk type AnalyticTransferWalletTx struct { IsIncoming bool `json:"is_incoming,omitempty"` + SenderId string `json:"sender_id,omitempty"` Memo string `json:"memo,omitempty"` RecipientAddress string `json:"recipient_address,omitempty"` AssetId int32 `json:"asset_id,omitempty"` diff --git a/go/sdk/model_analytic_wallet_metadata.go b/go/sdk/model_analytic_wallet_metadata.go index 85ca73e..856615c 100644 --- a/go/sdk/model_analytic_wallet_metadata.go +++ b/go/sdk/model_analytic_wallet_metadata.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytic_wallet_tx.go b/go/sdk/model_analytic_wallet_tx.go index 263ea97..0d8bd6c 100644 --- a/go/sdk/model_analytic_wallet_tx.go +++ b/go/sdk/model_analytic_wallet_tx.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_asset_converter_proof_description.go b/go/sdk/model_analytics_asset_converter_proof_description.go index 4d01656..68ba0a3 100644 --- a/go/sdk/model_analytics_asset_converter_proof_description.go +++ b/go/sdk/model_analytics_asset_converter_proof_description.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_confidential_issuance_description.go b/go/sdk/model_analytics_confidential_issuance_description.go index cfff46f..ddafbb7 100644 --- a/go/sdk/model_analytics_confidential_issuance_description.go +++ b/go/sdk/model_analytics_confidential_issuance_description.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_issue_tx.go b/go/sdk/model_analytics_issue_tx.go index 1f3b29e..be9fb24 100644 --- a/go/sdk/model_analytics_issue_tx.go +++ b/go/sdk/model_analytics_issue_tx.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_multi_transfer_tx.go b/go/sdk/model_analytics_multi_transfer_tx.go new file mode 100644 index 0000000..8f7008d --- /dev/null +++ b/go/sdk/model_analytics_multi_transfer_tx.go @@ -0,0 +1,14 @@ +/* + * QEDIT - Asset Transfers + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * API version: 1.4.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package sdk + +type AnalyticsMultiTransferTx struct { + Transfers []AnalyticsTransferTx `json:"transfers,omitempty"` +} diff --git a/go/sdk/model_analytics_output.go b/go/sdk/model_analytics_output.go index 7bf91f2..785fc63 100644 --- a/go/sdk/model_analytics_output.go +++ b/go/sdk/model_analytics_output.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_output_description.go b/go/sdk/model_analytics_output_description.go index 947dfeb..a224be7 100644 --- a/go/sdk/model_analytics_output_description.go +++ b/go/sdk/model_analytics_output_description.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_public_issuance_description.go b/go/sdk/model_analytics_public_issuance_description.go index cfa66af..c3e61b0 100644 --- a/go/sdk/model_analytics_public_issuance_description.go +++ b/go/sdk/model_analytics_public_issuance_description.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_rule.go b/go/sdk/model_analytics_rule.go index 4e33f22..5c5d0b9 100644 --- a/go/sdk/model_analytics_rule.go +++ b/go/sdk/model_analytics_rule.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_rule_definition.go b/go/sdk/model_analytics_rule_definition.go index 93c5deb..af4100c 100644 --- a/go/sdk/model_analytics_rule_definition.go +++ b/go/sdk/model_analytics_rule_definition.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_rule_tx.go b/go/sdk/model_analytics_rule_tx.go index dc5eca0..3b8ff4d 100644 --- a/go/sdk/model_analytics_rule_tx.go +++ b/go/sdk/model_analytics_rule_tx.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_rule_wallet_definition.go b/go/sdk/model_analytics_rule_wallet_definition.go index dbda7b4..2e69867 100644 --- a/go/sdk/model_analytics_rule_wallet_definition.go +++ b/go/sdk/model_analytics_rule_wallet_definition.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_spend_description.go b/go/sdk/model_analytics_spend_description.go index 9eec7e3..fbb2acc 100644 --- a/go/sdk/model_analytics_spend_description.go +++ b/go/sdk/model_analytics_spend_description.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_transfer_tx.go b/go/sdk/model_analytics_transfer_tx.go index 4995847..2aabc90 100644 --- a/go/sdk/model_analytics_transfer_tx.go +++ b/go/sdk/model_analytics_transfer_tx.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_analytics_tx_metadata.go b/go/sdk/model_analytics_tx_metadata.go index dda9058..30aa3ab 100644 --- a/go/sdk/model_analytics_tx_metadata.go +++ b/go/sdk/model_analytics_tx_metadata.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_async_task_created_response.go b/go/sdk/model_async_task_created_response.go index 3ad501c..94a27e6 100644 --- a/go/sdk/model_async_task_created_response.go +++ b/go/sdk/model_async_task_created_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_balance_for_asset.go b/go/sdk/model_balance_for_asset.go index 30e796a..fb3011e 100644 --- a/go/sdk/model_balance_for_asset.go +++ b/go/sdk/model_balance_for_asset.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_create_rule_request.go b/go/sdk/model_create_rule_request.go index 2330254..c9d8bc9 100644 --- a/go/sdk/model_create_rule_request.go +++ b/go/sdk/model_create_rule_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_delete_rule_request.go b/go/sdk/model_delete_rule_request.go index ce97fbb..c50a7d5 100644 --- a/go/sdk/model_delete_rule_request.go +++ b/go/sdk/model_delete_rule_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_delete_wallet_request.go b/go/sdk/model_delete_wallet_request.go index 66c0c2c..c667285 100644 --- a/go/sdk/model_delete_wallet_request.go +++ b/go/sdk/model_delete_wallet_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,5 +11,5 @@ package sdk type DeleteWalletRequest struct { WalletId string `json:"wallet_id"` - Authorization string `json:"authorization"` + Authorization string `json:"authorization,omitempty"` } diff --git a/go/sdk/model_error_response.go b/go/sdk/model_error_response.go index 21022a6..b1750b1 100644 --- a/go/sdk/model_error_response.go +++ b/go/sdk/model_error_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_export_auditor_access_wallet_request.go b/go/sdk/model_export_auditor_access_wallet_request.go new file mode 100644 index 0000000..dd95ca7 --- /dev/null +++ b/go/sdk/model_export_auditor_access_wallet_request.go @@ -0,0 +1,16 @@ +/* + * QEDIT - Asset Transfers + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * API version: 1.4.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package sdk + +type ExportAuditorAccessWalletRequest struct { + WalletId string `json:"wallet_id"` + Authorization string `json:"authorization"` + RecipientPaymentAddress string `json:"recipient_payment_address"` +} diff --git a/go/sdk/model_export_auditor_access_wallet_response.go b/go/sdk/model_export_auditor_access_wallet_response.go new file mode 100644 index 0000000..f820a36 --- /dev/null +++ b/go/sdk/model_export_auditor_access_wallet_response.go @@ -0,0 +1,16 @@ +/* + * QEDIT - Asset Transfers + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * API version: 1.4.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package sdk + +type ExportAuditorAccessWalletResponse struct { + WalletId string `json:"wallet_id"` + PublicKey string `json:"public_key"` + AccessKey string `json:"access_key"` +} diff --git a/go/sdk/model_export_wallet_request.go b/go/sdk/model_export_wallet_request.go index e42cad0..5c0e816 100644 --- a/go/sdk/model_export_wallet_request.go +++ b/go/sdk/model_export_wallet_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_export_wallet_response.go b/go/sdk/model_export_wallet_response.go index 7471f78..fde21c0 100644 --- a/go/sdk/model_export_wallet_response.go +++ b/go/sdk/model_export_wallet_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_generate_wallet_request.go b/go/sdk/model_generate_wallet_request.go index 0b0b127..cf0a5c4 100644 --- a/go/sdk/model_generate_wallet_request.go +++ b/go/sdk/model_generate_wallet_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_all_wallets_response.go b/go/sdk/model_get_all_wallets_response.go index c2627d2..2ab913f 100644 --- a/go/sdk/model_get_all_wallets_response.go +++ b/go/sdk/model_get_all_wallets_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_network_activity_request.go b/go/sdk/model_get_network_activity_request.go index 17216fe..0458612 100644 --- a/go/sdk/model_get_network_activity_request.go +++ b/go/sdk/model_get_network_activity_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_network_activity_response.go b/go/sdk/model_get_network_activity_response.go index 9100469..01cd1c4 100644 --- a/go/sdk/model_get_network_activity_response.go +++ b/go/sdk/model_get_network_activity_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_new_address_request.go b/go/sdk/model_get_new_address_request.go index 8813543..ebbf580 100644 --- a/go/sdk/model_get_new_address_request.go +++ b/go/sdk/model_get_new_address_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_new_address_response.go b/go/sdk/model_get_new_address_response.go index b864b19..4b95ed7 100644 --- a/go/sdk/model_get_new_address_response.go +++ b/go/sdk/model_get_new_address_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_public_key_request.go b/go/sdk/model_get_public_key_request.go index 674452a..e3f5d36 100644 --- a/go/sdk/model_get_public_key_request.go +++ b/go/sdk/model_get_public_key_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_public_key_response.go b/go/sdk/model_get_public_key_response.go index 24ca737..08c5306 100644 --- a/go/sdk/model_get_public_key_response.go +++ b/go/sdk/model_get_public_key_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_rules_response.go b/go/sdk/model_get_rules_response.go index 0c8b452..d35c0ea 100644 --- a/go/sdk/model_get_rules_response.go +++ b/go/sdk/model_get_rules_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_task_status_request.go b/go/sdk/model_get_task_status_request.go index 3f83356..4b45c47 100644 --- a/go/sdk/model_get_task_status_request.go +++ b/go/sdk/model_get_task_status_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_task_status_response.go b/go/sdk/model_get_task_status_response.go index 06be5e2..d8b9df4 100644 --- a/go/sdk/model_get_task_status_response.go +++ b/go/sdk/model_get_task_status_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_tasks_request.go b/go/sdk/model_get_tasks_request.go new file mode 100644 index 0000000..6c6785e --- /dev/null +++ b/go/sdk/model_get_tasks_request.go @@ -0,0 +1,18 @@ +/* + * QEDIT - Asset Transfers + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * API version: 1.4.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package sdk + +type GetTasksRequest struct { + StartIndex int32 `json:"start_index"` + NumberOfResults int32 `json:"number_of_results"` + Types []string `json:"types,omitempty"` + Results []string `json:"results,omitempty"` + Order string `json:"order,omitempty"` +} diff --git a/go/sdk/model_get_tasks_response.go b/go/sdk/model_get_tasks_response.go new file mode 100644 index 0000000..2cd4f73 --- /dev/null +++ b/go/sdk/model_get_tasks_response.go @@ -0,0 +1,14 @@ +/* + * QEDIT - Asset Transfers + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * API version: 1.4.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package sdk + +type GetTasksResponse struct { + Tasks []GetTaskStatusResponse `json:"tasks,omitempty"` +} diff --git a/go/sdk/model_get_wallet_activity_request.go b/go/sdk/model_get_wallet_activity_request.go index 858dc4a..583c0c9 100644 --- a/go/sdk/model_get_wallet_activity_request.go +++ b/go/sdk/model_get_wallet_activity_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_wallet_activity_response.go b/go/sdk/model_get_wallet_activity_response.go index 94a5e03..fea9e89 100644 --- a/go/sdk/model_get_wallet_activity_response.go +++ b/go/sdk/model_get_wallet_activity_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_wallet_balance_request.go b/go/sdk/model_get_wallet_balance_request.go index 0506924..c02cdab 100644 --- a/go/sdk/model_get_wallet_balance_request.go +++ b/go/sdk/model_get_wallet_balance_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_get_wallet_balance_response.go b/go/sdk/model_get_wallet_balance_response.go index 0054c1d..e4d5bf5 100644 --- a/go/sdk/model_get_wallet_balance_response.go +++ b/go/sdk/model_get_wallet_balance_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_healthcheck_response.go b/go/sdk/model_healthcheck_response.go index 9d7d457..1d0cdc8 100644 --- a/go/sdk/model_healthcheck_response.go +++ b/go/sdk/model_healthcheck_response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_healthcheck_response_item.go b/go/sdk/model_healthcheck_response_item.go index bae6af2..1d20063 100644 --- a/go/sdk/model_healthcheck_response_item.go +++ b/go/sdk/model_healthcheck_response_item.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_import_auditor_access_wallet_request.go b/go/sdk/model_import_auditor_access_wallet_request.go new file mode 100644 index 0000000..b07adf3 --- /dev/null +++ b/go/sdk/model_import_auditor_access_wallet_request.go @@ -0,0 +1,16 @@ +/* + * QEDIT - Asset Transfers + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * API version: 1.4.0 + * Generated by: OpenAPI Generator (https://openapi-generator.tech) + */ + +package sdk + +type ImportAuditorAccessWalletRequest struct { + WalletId string `json:"wallet_id"` + PublicKey string `json:"public_key"` + AccessKey string `json:"access_key"` +} diff --git a/go/sdk/model_import_wallet_request.go b/go/sdk/model_import_wallet_request.go index 5b25c65..b6015db 100644 --- a/go/sdk/model_import_wallet_request.go +++ b/go/sdk/model_import_wallet_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_issue_asset_request.go b/go/sdk/model_issue_asset_request.go index e7a1a39..3896c9c 100644 --- a/go/sdk/model_issue_asset_request.go +++ b/go/sdk/model_issue_asset_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_rule.go b/go/sdk/model_rule.go index 5e41442..1996e2f 100644 --- a/go/sdk/model_rule.go +++ b/go/sdk/model_rule.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ @@ -11,8 +11,8 @@ package sdk type Rule struct { PublicKey string `json:"public_key"` - CanIssueConfidentially bool `json:"can_issue_confidentially,omitempty"` - CanIssueAssetIdFirst int32 `json:"can_issue_asset_id_first,omitempty"` - CanIssueAssetIdLast int32 `json:"can_issue_asset_id_last,omitempty"` - IsAdmin bool `json:"is_admin,omitempty"` + CanIssueConfidentially bool `json:"can_issue_confidentially"` + CanIssueAssetIdFirst int32 `json:"can_issue_asset_id_first"` + CanIssueAssetIdLast int32 `json:"can_issue_asset_id_last"` + IsAdmin bool `json:"is_admin"` } diff --git a/go/sdk/model_transactions_for_wallet.go b/go/sdk/model_transactions_for_wallet.go index e5bf1fc..e8be34e 100644 --- a/go/sdk/model_transactions_for_wallet.go +++ b/go/sdk/model_transactions_for_wallet.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_transfer_asset_request.go b/go/sdk/model_transfer_asset_request.go index 2778c40..35e7b93 100644 --- a/go/sdk/model_transfer_asset_request.go +++ b/go/sdk/model_transfer_asset_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/model_unlock_wallet_request.go b/go/sdk/model_unlock_wallet_request.go index 1121f6f..a02e89c 100644 --- a/go/sdk/model_unlock_wallet_request.go +++ b/go/sdk/model_unlock_wallet_request.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/go/sdk/response.go b/go/sdk/response.go index 5a869c2..10b2363 100644 --- a/go/sdk/response.go +++ b/go/sdk/response.go @@ -1,9 +1,9 @@ /* - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * API version: 1.3.0 + * API version: 1.4.0 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ diff --git a/js/sdk/README.md b/js/sdk/README.md index 371e111..0140204 100644 --- a/js/sdk/README.md +++ b/js/sdk/README.md @@ -4,8 +4,8 @@ QedItAssetTransfers - JavaScript client for qed-it-asset-transfers No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 1.3.0 -- Package version: 1.3.0 +- API version: 1.4.0 +- Package version: 1.4.0 - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen ## Installation @@ -123,11 +123,14 @@ Class | Method | HTTP request | Description *QedItAssetTransfers.AnalyticsApi* | [**analyticsGetNetworkActivityPost**](docs/AnalyticsApi.md#analyticsGetNetworkActivityPost) | **POST** /analytics/get_network_activity | Get details on past blocks *QedItAssetTransfers.HealthApi* | [**healthPost**](docs/HealthApi.md#healthPost) | **POST** /health | Perform a healthcheck of the node and its dependent services *QedItAssetTransfers.NodeApi* | [**nodeDeleteWalletPost**](docs/NodeApi.md#nodeDeleteWalletPost) | **POST** /node/delete_wallet | Delete a wallet +*QedItAssetTransfers.NodeApi* | [**nodeExportAuditorAccessWalletPost**](docs/NodeApi.md#nodeExportAuditorAccessWalletPost) | **POST** /node/export_auditor_access_wallet | Export a viewing key that allows an auditor to view all transactions to and from a wallet. The viewing key is encrypted for the auditor identified by recipient_payment_address. The viewing key does not enable the auditor to make transactions. *QedItAssetTransfers.NodeApi* | [**nodeExportWalletPost**](docs/NodeApi.md#nodeExportWalletPost) | **POST** /node/export_wallet | Export wallet secret key *QedItAssetTransfers.NodeApi* | [**nodeGenerateWalletPost**](docs/NodeApi.md#nodeGenerateWalletPost) | **POST** /node/generate_wallet | Generate a new wallet *QedItAssetTransfers.NodeApi* | [**nodeGetAllWalletsPost**](docs/NodeApi.md#nodeGetAllWalletsPost) | **POST** /node/get_all_wallets | Get all wallet labels *QedItAssetTransfers.NodeApi* | [**nodeGetRulesPost**](docs/NodeApi.md#nodeGetRulesPost) | **POST** /node/get_rules | Get network governance rules -*QedItAssetTransfers.NodeApi* | [**nodeGetTaskStatusPost**](docs/NodeApi.md#nodeGetTaskStatusPost) | **POST** /node/get_task_status | Get all tasks in the node +*QedItAssetTransfers.NodeApi* | [**nodeGetTaskStatusPost**](docs/NodeApi.md#nodeGetTaskStatusPost) | **POST** /node/get_task_status | Get a specific task (by ID) +*QedItAssetTransfers.NodeApi* | [**nodeGetTasksPost**](docs/NodeApi.md#nodeGetTasksPost) | **POST** /node/get_tasks | Get a list of tasks by results/types +*QedItAssetTransfers.NodeApi* | [**nodeImportAuditorAccessWalletPost**](docs/NodeApi.md#nodeImportAuditorAccessWalletPost) | **POST** /node/import_auditor_access_wallet | Import a viewing key generated by export_auditor_access_wallet. This will create a read-only wallet which can be queried with endpoints such as get_activity and get_balances, but cannot be used to perform transactions. *QedItAssetTransfers.NodeApi* | [**nodeImportWalletPost**](docs/NodeApi.md#nodeImportWalletPost) | **POST** /node/import_wallet | Import wallet from secret key *QedItAssetTransfers.NodeApi* | [**nodeUnlockWalletPost**](docs/NodeApi.md#nodeUnlockWalletPost) | **POST** /node/unlock_wallet | Unlocks a wallet for a given amount of seconds [async call] *QedItAssetTransfers.WalletApi* | [**walletCreateRulePost**](docs/WalletApi.md#walletCreateRulePost) | **POST** /wallet/create_rule | Create & broadcast add-config-rule [async call] @@ -151,6 +154,7 @@ Class | Method | HTTP request | Description - [QedItAssetTransfers.AnalyticsAssetConverterProofDescription](docs/AnalyticsAssetConverterProofDescription.md) - [QedItAssetTransfers.AnalyticsConfidentialIssuanceDescription](docs/AnalyticsConfidentialIssuanceDescription.md) - [QedItAssetTransfers.AnalyticsIssueTx](docs/AnalyticsIssueTx.md) + - [QedItAssetTransfers.AnalyticsMultiTransferTx](docs/AnalyticsMultiTransferTx.md) - [QedItAssetTransfers.AnalyticsOutput](docs/AnalyticsOutput.md) - [QedItAssetTransfers.AnalyticsOutputDescription](docs/AnalyticsOutputDescription.md) - [QedItAssetTransfers.AnalyticsPublicIssuanceDescription](docs/AnalyticsPublicIssuanceDescription.md) @@ -167,6 +171,8 @@ Class | Method | HTTP request | Description - [QedItAssetTransfers.DeleteRuleRequest](docs/DeleteRuleRequest.md) - [QedItAssetTransfers.DeleteWalletRequest](docs/DeleteWalletRequest.md) - [QedItAssetTransfers.ErrorResponse](docs/ErrorResponse.md) + - [QedItAssetTransfers.ExportAuditorAccessWalletRequest](docs/ExportAuditorAccessWalletRequest.md) + - [QedItAssetTransfers.ExportAuditorAccessWalletResponse](docs/ExportAuditorAccessWalletResponse.md) - [QedItAssetTransfers.ExportWalletRequest](docs/ExportWalletRequest.md) - [QedItAssetTransfers.ExportWalletResponse](docs/ExportWalletResponse.md) - [QedItAssetTransfers.GenerateWalletRequest](docs/GenerateWalletRequest.md) @@ -180,12 +186,15 @@ Class | Method | HTTP request | Description - [QedItAssetTransfers.GetRulesResponse](docs/GetRulesResponse.md) - [QedItAssetTransfers.GetTaskStatusRequest](docs/GetTaskStatusRequest.md) - [QedItAssetTransfers.GetTaskStatusResponse](docs/GetTaskStatusResponse.md) + - [QedItAssetTransfers.GetTasksRequest](docs/GetTasksRequest.md) + - [QedItAssetTransfers.GetTasksResponse](docs/GetTasksResponse.md) - [QedItAssetTransfers.GetWalletActivityRequest](docs/GetWalletActivityRequest.md) - [QedItAssetTransfers.GetWalletActivityResponse](docs/GetWalletActivityResponse.md) - [QedItAssetTransfers.GetWalletBalanceRequest](docs/GetWalletBalanceRequest.md) - [QedItAssetTransfers.GetWalletBalanceResponse](docs/GetWalletBalanceResponse.md) - [QedItAssetTransfers.HealthcheckResponse](docs/HealthcheckResponse.md) - [QedItAssetTransfers.HealthcheckResponseItem](docs/HealthcheckResponseItem.md) + - [QedItAssetTransfers.ImportAuditorAccessWalletRequest](docs/ImportAuditorAccessWalletRequest.md) - [QedItAssetTransfers.ImportWalletRequest](docs/ImportWalletRequest.md) - [QedItAssetTransfers.IssueAssetRequest](docs/IssueAssetRequest.md) - [QedItAssetTransfers.Rule](docs/Rule.md) diff --git a/js/sdk/docs/AnalyticIssueWalletTx.md b/js/sdk/docs/AnalyticIssueWalletTx.md index 7c7baf7..3091d4b 100644 --- a/js/sdk/docs/AnalyticIssueWalletTx.md +++ b/js/sdk/docs/AnalyticIssueWalletTx.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **isIncoming** | **Boolean** | | [optional] **issuedBySelf** | **Boolean** | | [optional] +**senderId** | **String** | | [optional] **memo** | **String** | | [optional] **recipientAddress** | **String** | | [optional] **assetId** | **Number** | | [optional] diff --git a/js/sdk/docs/AnalyticTransferWalletTx.md b/js/sdk/docs/AnalyticTransferWalletTx.md index 173e2ab..1cc5844 100644 --- a/js/sdk/docs/AnalyticTransferWalletTx.md +++ b/js/sdk/docs/AnalyticTransferWalletTx.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **isIncoming** | **Boolean** | | [optional] +**senderId** | **String** | | [optional] **memo** | **String** | | [optional] **recipientAddress** | **String** | | [optional] **assetId** | **Number** | | [optional] diff --git a/js/sdk/docs/AnalyticsMultiTransferTx.md b/js/sdk/docs/AnalyticsMultiTransferTx.md new file mode 100644 index 0000000..fe4359c --- /dev/null +++ b/js/sdk/docs/AnalyticsMultiTransferTx.md @@ -0,0 +1,8 @@ +# QedItAssetTransfers.AnalyticsMultiTransferTx + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**transfers** | [**[AnalyticsTransferTx]**](AnalyticsTransferTx.md) | | [optional] + + diff --git a/js/sdk/docs/DeleteWalletRequest.md b/js/sdk/docs/DeleteWalletRequest.md index 12805fb..7d9d662 100644 --- a/js/sdk/docs/DeleteWalletRequest.md +++ b/js/sdk/docs/DeleteWalletRequest.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **walletId** | **String** | | -**authorization** | **String** | | +**authorization** | **String** | | [optional] diff --git a/js/sdk/docs/ExportAuditorAccessWalletRequest.md b/js/sdk/docs/ExportAuditorAccessWalletRequest.md new file mode 100644 index 0000000..126cd3b --- /dev/null +++ b/js/sdk/docs/ExportAuditorAccessWalletRequest.md @@ -0,0 +1,10 @@ +# QedItAssetTransfers.ExportAuditorAccessWalletRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**walletId** | **String** | | +**authorization** | **String** | | +**recipientPaymentAddress** | **String** | | + + diff --git a/js/sdk/docs/ExportAuditorAccessWalletResponse.md b/js/sdk/docs/ExportAuditorAccessWalletResponse.md new file mode 100644 index 0000000..9542860 --- /dev/null +++ b/js/sdk/docs/ExportAuditorAccessWalletResponse.md @@ -0,0 +1,10 @@ +# QedItAssetTransfers.ExportAuditorAccessWalletResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**walletId** | **String** | | +**publicKey** | **String** | | +**accessKey** | **String** | | + + diff --git a/js/sdk/docs/GetTasksRequest.md b/js/sdk/docs/GetTasksRequest.md new file mode 100644 index 0000000..526345c --- /dev/null +++ b/js/sdk/docs/GetTasksRequest.md @@ -0,0 +1,42 @@ +# QedItAssetTransfers.GetTasksRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**startIndex** | **Number** | | +**numberOfResults** | **Number** | | +**types** | **[String]** | | [optional] +**results** | **[String]** | | [optional] +**order** | **String** | | [optional] [default to 'desc'] + + + +## Enum: [TypesEnum] + + +* `unlock_wallet` (value: `"unlock_wallet"`) + +* `transfer_asset` (value: `"transfer_asset"`) + +* `issue_asset` (value: `"issue_asset"`) + +* `alter_rule` (value: `"alter_rule"`) + + + + + +## Enum: [ResultsEnum] + + +* `pending` (value: `"pending"`) + +* `failure` (value: `"failure"`) + +* `in_progress` (value: `"in_progress"`) + +* `success` (value: `"success"`) + + + + diff --git a/js/sdk/docs/GetTasksResponse.md b/js/sdk/docs/GetTasksResponse.md new file mode 100644 index 0000000..1c1ba45 --- /dev/null +++ b/js/sdk/docs/GetTasksResponse.md @@ -0,0 +1,8 @@ +# QedItAssetTransfers.GetTasksResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tasks** | [**[GetTaskStatusResponse]**](GetTaskStatusResponse.md) | | [optional] + + diff --git a/js/sdk/docs/ImportAuditorAccessWalletRequest.md b/js/sdk/docs/ImportAuditorAccessWalletRequest.md new file mode 100644 index 0000000..67b28c4 --- /dev/null +++ b/js/sdk/docs/ImportAuditorAccessWalletRequest.md @@ -0,0 +1,10 @@ +# QedItAssetTransfers.ImportAuditorAccessWalletRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**walletId** | **String** | | +**publicKey** | **String** | | +**accessKey** | **String** | | + + diff --git a/js/sdk/docs/NodeApi.md b/js/sdk/docs/NodeApi.md index 1514b18..5a500ff 100644 --- a/js/sdk/docs/NodeApi.md +++ b/js/sdk/docs/NodeApi.md @@ -5,11 +5,14 @@ All URIs are relative to *http://localhost:12052* Method | HTTP request | Description ------------- | ------------- | ------------- [**nodeDeleteWalletPost**](NodeApi.md#nodeDeleteWalletPost) | **POST** /node/delete_wallet | Delete a wallet +[**nodeExportAuditorAccessWalletPost**](NodeApi.md#nodeExportAuditorAccessWalletPost) | **POST** /node/export_auditor_access_wallet | Export a viewing key that allows an auditor to view all transactions to and from a wallet. The viewing key is encrypted for the auditor identified by recipient_payment_address. The viewing key does not enable the auditor to make transactions. [**nodeExportWalletPost**](NodeApi.md#nodeExportWalletPost) | **POST** /node/export_wallet | Export wallet secret key [**nodeGenerateWalletPost**](NodeApi.md#nodeGenerateWalletPost) | **POST** /node/generate_wallet | Generate a new wallet [**nodeGetAllWalletsPost**](NodeApi.md#nodeGetAllWalletsPost) | **POST** /node/get_all_wallets | Get all wallet labels [**nodeGetRulesPost**](NodeApi.md#nodeGetRulesPost) | **POST** /node/get_rules | Get network governance rules -[**nodeGetTaskStatusPost**](NodeApi.md#nodeGetTaskStatusPost) | **POST** /node/get_task_status | Get all tasks in the node +[**nodeGetTaskStatusPost**](NodeApi.md#nodeGetTaskStatusPost) | **POST** /node/get_task_status | Get a specific task (by ID) +[**nodeGetTasksPost**](NodeApi.md#nodeGetTasksPost) | **POST** /node/get_tasks | Get a list of tasks by results/types +[**nodeImportAuditorAccessWalletPost**](NodeApi.md#nodeImportAuditorAccessWalletPost) | **POST** /node/import_auditor_access_wallet | Import a viewing key generated by export_auditor_access_wallet. This will create a read-only wallet which can be queried with endpoints such as get_activity and get_balances, but cannot be used to perform transactions. [**nodeImportWalletPost**](NodeApi.md#nodeImportWalletPost) | **POST** /node/import_wallet | Import wallet from secret key [**nodeUnlockWalletPost**](NodeApi.md#nodeUnlockWalletPost) | **POST** /node/unlock_wallet | Unlocks a wallet for a given amount of seconds [async call] @@ -54,6 +57,51 @@ null (empty response body) [ApiKeyAuth](../README.md#ApiKeyAuth) +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **nodeExportAuditorAccessWalletPost** +> ExportAuditorAccessWalletResponse nodeExportAuditorAccessWalletPost(exportAuditorAccessWalletRequest) + +Export a viewing key that allows an auditor to view all transactions to and from a wallet. The viewing key is encrypted for the auditor identified by recipient_payment_address. The viewing key does not enable the auditor to make transactions. + +### Example +```javascript +var QedItAssetTransfers = require('qed-it-asset-transfers'); +var defaultClient = QedItAssetTransfers.ApiClient.instance; +// Configure API key authorization: ApiKeyAuth +var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; +ApiKeyAuth.apiKey = 'YOUR API KEY'; +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//ApiKeyAuth.apiKeyPrefix = 'Token'; + +var apiInstance = new QedItAssetTransfers.NodeApi(); +var exportAuditorAccessWalletRequest = new QedItAssetTransfers.ExportAuditorAccessWalletRequest(); // ExportAuditorAccessWalletRequest | +apiInstance.nodeExportAuditorAccessWalletPost(exportAuditorAccessWalletRequest).then(function(data) { + console.log('API called successfully. Returned data: ' + data); +}, function(error) { + console.error(error); +}); + +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **exportAuditorAccessWalletRequest** | [**ExportAuditorAccessWalletRequest**](ExportAuditorAccessWalletRequest.md)| | + +### Return type + +[**ExportAuditorAccessWalletResponse**](ExportAuditorAccessWalletResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + ### HTTP request headers - **Content-Type**: application/json @@ -235,7 +283,7 @@ This endpoint does not need any parameter. # **nodeGetTaskStatusPost** > GetTaskStatusResponse nodeGetTaskStatusPost(getTaskStatusRequest) -Get all tasks in the node +Get a specific task (by ID) ### Example ```javascript @@ -271,6 +319,96 @@ Name | Type | Description | Notes [ApiKeyAuth](../README.md#ApiKeyAuth) +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **nodeGetTasksPost** +> GetTasksResponse nodeGetTasksPost(getTasksRequest) + +Get a list of tasks by results/types + +### Example +```javascript +var QedItAssetTransfers = require('qed-it-asset-transfers'); +var defaultClient = QedItAssetTransfers.ApiClient.instance; +// Configure API key authorization: ApiKeyAuth +var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; +ApiKeyAuth.apiKey = 'YOUR API KEY'; +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//ApiKeyAuth.apiKeyPrefix = 'Token'; + +var apiInstance = new QedItAssetTransfers.NodeApi(); +var getTasksRequest = new QedItAssetTransfers.GetTasksRequest(); // GetTasksRequest | +apiInstance.nodeGetTasksPost(getTasksRequest).then(function(data) { + console.log('API called successfully. Returned data: ' + data); +}, function(error) { + console.error(error); +}); + +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **getTasksRequest** | [**GetTasksRequest**](GetTasksRequest.md)| | + +### Return type + +[**GetTasksResponse**](GetTasksResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **nodeImportAuditorAccessWalletPost** +> nodeImportAuditorAccessWalletPost(importAuditorAccessWalletRequest) + +Import a viewing key generated by export_auditor_access_wallet. This will create a read-only wallet which can be queried with endpoints such as get_activity and get_balances, but cannot be used to perform transactions. + +### Example +```javascript +var QedItAssetTransfers = require('qed-it-asset-transfers'); +var defaultClient = QedItAssetTransfers.ApiClient.instance; +// Configure API key authorization: ApiKeyAuth +var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; +ApiKeyAuth.apiKey = 'YOUR API KEY'; +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//ApiKeyAuth.apiKeyPrefix = 'Token'; + +var apiInstance = new QedItAssetTransfers.NodeApi(); +var importAuditorAccessWalletRequest = new QedItAssetTransfers.ImportAuditorAccessWalletRequest(); // ImportAuditorAccessWalletRequest | +apiInstance.nodeImportAuditorAccessWalletPost(importAuditorAccessWalletRequest).then(function() { + console.log('API called successfully.'); +}, function(error) { + console.error(error); +}); + +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **importAuditorAccessWalletRequest** | [**ImportAuditorAccessWalletRequest**](ImportAuditorAccessWalletRequest.md)| | + +### Return type + +null (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + ### HTTP request headers - **Content-Type**: application/json diff --git a/js/sdk/docs/Rule.md b/js/sdk/docs/Rule.md index c415478..863b66e 100644 --- a/js/sdk/docs/Rule.md +++ b/js/sdk/docs/Rule.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **publicKey** | **String** | | -**canIssueConfidentially** | **Boolean** | | [optional] -**canIssueAssetIdFirst** | **Number** | | [optional] -**canIssueAssetIdLast** | **Number** | | [optional] -**isAdmin** | **Boolean** | | [optional] +**canIssueConfidentially** | **Boolean** | | +**canIssueAssetIdFirst** | **Number** | | +**canIssueAssetIdLast** | **Number** | | +**isAdmin** | **Boolean** | | diff --git a/js/sdk/package.json b/js/sdk/package.json index 41db4a8..aa07c5a 100644 --- a/js/sdk/package.json +++ b/js/sdk/package.json @@ -1,6 +1,6 @@ { "name": "qed-it-asset-transfers", - "version": "1.3.0", + "version": "1.4.0", "description": "ERROR_UNKNOWN", "license": "Unlicense", "main": "src/index.js", diff --git a/js/sdk/src/ApiClient.js b/js/sdk/src/ApiClient.js index 44bed28..4507596 100644 --- a/js/sdk/src/ApiClient.js +++ b/js/sdk/src/ApiClient.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -32,7 +32,7 @@ /** * @module ApiClient - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/api/AnalyticsApi.js b/js/sdk/src/api/AnalyticsApi.js index c47509a..a3ef021 100644 --- a/js/sdk/src/api/AnalyticsApi.js +++ b/js/sdk/src/api/AnalyticsApi.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -33,7 +33,7 @@ /** * Analytics service. * @module api/AnalyticsApi - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/api/HealthApi.js b/js/sdk/src/api/HealthApi.js index a00899d..fefa695 100644 --- a/js/sdk/src/api/HealthApi.js +++ b/js/sdk/src/api/HealthApi.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -33,7 +33,7 @@ /** * Health service. * @module api/HealthApi - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/api/NodeApi.js b/js/sdk/src/api/NodeApi.js index 2fb565e..3e0ff61 100644 --- a/js/sdk/src/api/NodeApi.js +++ b/js/sdk/src/api/NodeApi.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -16,24 +16,24 @@ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. - define(['ApiClient', 'model/AsyncTaskCreatedResponse', 'model/DeleteWalletRequest', 'model/ErrorResponse', 'model/ExportWalletRequest', 'model/ExportWalletResponse', 'model/GenerateWalletRequest', 'model/GetAllWalletsResponse', 'model/GetRulesResponse', 'model/GetTaskStatusRequest', 'model/GetTaskStatusResponse', 'model/ImportWalletRequest', 'model/UnlockWalletRequest'], factory); + define(['ApiClient', 'model/AsyncTaskCreatedResponse', 'model/DeleteWalletRequest', 'model/ErrorResponse', 'model/ExportAuditorAccessWalletRequest', 'model/ExportAuditorAccessWalletResponse', 'model/ExportWalletRequest', 'model/ExportWalletResponse', 'model/GenerateWalletRequest', 'model/GetAllWalletsResponse', 'model/GetRulesResponse', 'model/GetTaskStatusRequest', 'model/GetTaskStatusResponse', 'model/GetTasksRequest', 'model/GetTasksResponse', 'model/ImportAuditorAccessWalletRequest', 'model/ImportWalletRequest', 'model/UnlockWalletRequest'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../model/AsyncTaskCreatedResponse'), require('../model/DeleteWalletRequest'), require('../model/ErrorResponse'), require('../model/ExportWalletRequest'), require('../model/ExportWalletResponse'), require('../model/GenerateWalletRequest'), require('../model/GetAllWalletsResponse'), require('../model/GetRulesResponse'), require('../model/GetTaskStatusRequest'), require('../model/GetTaskStatusResponse'), require('../model/ImportWalletRequest'), require('../model/UnlockWalletRequest')); + module.exports = factory(require('../ApiClient'), require('../model/AsyncTaskCreatedResponse'), require('../model/DeleteWalletRequest'), require('../model/ErrorResponse'), require('../model/ExportAuditorAccessWalletRequest'), require('../model/ExportAuditorAccessWalletResponse'), require('../model/ExportWalletRequest'), require('../model/ExportWalletResponse'), require('../model/GenerateWalletRequest'), require('../model/GetAllWalletsResponse'), require('../model/GetRulesResponse'), require('../model/GetTaskStatusRequest'), require('../model/GetTaskStatusResponse'), require('../model/GetTasksRequest'), require('../model/GetTasksResponse'), require('../model/ImportAuditorAccessWalletRequest'), require('../model/ImportWalletRequest'), require('../model/UnlockWalletRequest')); } else { // Browser globals (root is window) if (!root.QedItAssetTransfers) { root.QedItAssetTransfers = {}; } - root.QedItAssetTransfers.NodeApi = factory(root.QedItAssetTransfers.ApiClient, root.QedItAssetTransfers.AsyncTaskCreatedResponse, root.QedItAssetTransfers.DeleteWalletRequest, root.QedItAssetTransfers.ErrorResponse, root.QedItAssetTransfers.ExportWalletRequest, root.QedItAssetTransfers.ExportWalletResponse, root.QedItAssetTransfers.GenerateWalletRequest, root.QedItAssetTransfers.GetAllWalletsResponse, root.QedItAssetTransfers.GetRulesResponse, root.QedItAssetTransfers.GetTaskStatusRequest, root.QedItAssetTransfers.GetTaskStatusResponse, root.QedItAssetTransfers.ImportWalletRequest, root.QedItAssetTransfers.UnlockWalletRequest); + root.QedItAssetTransfers.NodeApi = factory(root.QedItAssetTransfers.ApiClient, root.QedItAssetTransfers.AsyncTaskCreatedResponse, root.QedItAssetTransfers.DeleteWalletRequest, root.QedItAssetTransfers.ErrorResponse, root.QedItAssetTransfers.ExportAuditorAccessWalletRequest, root.QedItAssetTransfers.ExportAuditorAccessWalletResponse, root.QedItAssetTransfers.ExportWalletRequest, root.QedItAssetTransfers.ExportWalletResponse, root.QedItAssetTransfers.GenerateWalletRequest, root.QedItAssetTransfers.GetAllWalletsResponse, root.QedItAssetTransfers.GetRulesResponse, root.QedItAssetTransfers.GetTaskStatusRequest, root.QedItAssetTransfers.GetTaskStatusResponse, root.QedItAssetTransfers.GetTasksRequest, root.QedItAssetTransfers.GetTasksResponse, root.QedItAssetTransfers.ImportAuditorAccessWalletRequest, root.QedItAssetTransfers.ImportWalletRequest, root.QedItAssetTransfers.UnlockWalletRequest); } -}(this, function(ApiClient, AsyncTaskCreatedResponse, DeleteWalletRequest, ErrorResponse, ExportWalletRequest, ExportWalletResponse, GenerateWalletRequest, GetAllWalletsResponse, GetRulesResponse, GetTaskStatusRequest, GetTaskStatusResponse, ImportWalletRequest, UnlockWalletRequest) { +}(this, function(ApiClient, AsyncTaskCreatedResponse, DeleteWalletRequest, ErrorResponse, ExportAuditorAccessWalletRequest, ExportAuditorAccessWalletResponse, ExportWalletRequest, ExportWalletResponse, GenerateWalletRequest, GetAllWalletsResponse, GetRulesResponse, GetTaskStatusRequest, GetTaskStatusResponse, GetTasksRequest, GetTasksResponse, ImportAuditorAccessWalletRequest, ImportWalletRequest, UnlockWalletRequest) { 'use strict'; /** * Node service. * @module api/NodeApi - * @version 1.3.0 + * @version 1.4.0 */ /** @@ -98,6 +98,56 @@ } + /** + * Export a viewing key that allows an auditor to view all transactions to and from a wallet. The viewing key is encrypted for the auditor identified by recipient_payment_address. The viewing key does not enable the auditor to make transactions. + * @param {module:model/ExportAuditorAccessWalletRequest} exportAuditorAccessWalletRequest + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ExportAuditorAccessWalletResponse} and HTTP response + */ + this.nodeExportAuditorAccessWalletPostWithHttpInfo = function(exportAuditorAccessWalletRequest) { + var postBody = exportAuditorAccessWalletRequest; + + // verify the required parameter 'exportAuditorAccessWalletRequest' is set + if (exportAuditorAccessWalletRequest === undefined || exportAuditorAccessWalletRequest === null) { + throw new Error("Missing the required parameter 'exportAuditorAccessWalletRequest' when calling nodeExportAuditorAccessWalletPost"); + } + + + var pathParams = { + }; + var queryParams = { + }; + var collectionQueryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['ApiKeyAuth']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = ExportAuditorAccessWalletResponse; + + return this.apiClient.callApi( + '/node/export_auditor_access_wallet', 'POST', + pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType + ); + } + + /** + * Export a viewing key that allows an auditor to view all transactions to and from a wallet. The viewing key is encrypted for the auditor identified by recipient_payment_address. The viewing key does not enable the auditor to make transactions. + * @param {module:model/ExportAuditorAccessWalletRequest} exportAuditorAccessWalletRequest + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ExportAuditorAccessWalletResponse} + */ + this.nodeExportAuditorAccessWalletPost = function(exportAuditorAccessWalletRequest) { + return this.nodeExportAuditorAccessWalletPostWithHttpInfo(exportAuditorAccessWalletRequest) + .then(function(response_and_data) { + return response_and_data.data; + }); + } + + /** * Export wallet secret key * @param {module:model/ExportWalletRequest} exportWalletRequest @@ -285,7 +335,7 @@ /** - * Get all tasks in the node + * Get a specific task (by ID) * @param {module:model/GetTaskStatusRequest} getTaskStatusRequest * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTaskStatusResponse} and HTTP response */ @@ -322,7 +372,7 @@ } /** - * Get all tasks in the node + * Get a specific task (by ID) * @param {module:model/GetTaskStatusRequest} getTaskStatusRequest * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTaskStatusResponse} */ @@ -334,6 +384,106 @@ } + /** + * Get a list of tasks by results/types + * @param {module:model/GetTasksRequest} getTasksRequest + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTasksResponse} and HTTP response + */ + this.nodeGetTasksPostWithHttpInfo = function(getTasksRequest) { + var postBody = getTasksRequest; + + // verify the required parameter 'getTasksRequest' is set + if (getTasksRequest === undefined || getTasksRequest === null) { + throw new Error("Missing the required parameter 'getTasksRequest' when calling nodeGetTasksPost"); + } + + + var pathParams = { + }; + var queryParams = { + }; + var collectionQueryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['ApiKeyAuth']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = GetTasksResponse; + + return this.apiClient.callApi( + '/node/get_tasks', 'POST', + pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType + ); + } + + /** + * Get a list of tasks by results/types + * @param {module:model/GetTasksRequest} getTasksRequest + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTasksResponse} + */ + this.nodeGetTasksPost = function(getTasksRequest) { + return this.nodeGetTasksPostWithHttpInfo(getTasksRequest) + .then(function(response_and_data) { + return response_and_data.data; + }); + } + + + /** + * Import a viewing key generated by export_auditor_access_wallet. This will create a read-only wallet which can be queried with endpoints such as get_activity and get_balances, but cannot be used to perform transactions. + * @param {module:model/ImportAuditorAccessWalletRequest} importAuditorAccessWalletRequest + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response + */ + this.nodeImportAuditorAccessWalletPostWithHttpInfo = function(importAuditorAccessWalletRequest) { + var postBody = importAuditorAccessWalletRequest; + + // verify the required parameter 'importAuditorAccessWalletRequest' is set + if (importAuditorAccessWalletRequest === undefined || importAuditorAccessWalletRequest === null) { + throw new Error("Missing the required parameter 'importAuditorAccessWalletRequest' when calling nodeImportAuditorAccessWalletPost"); + } + + + var pathParams = { + }; + var queryParams = { + }; + var collectionQueryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['ApiKeyAuth']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = null; + + return this.apiClient.callApi( + '/node/import_auditor_access_wallet', 'POST', + pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType + ); + } + + /** + * Import a viewing key generated by export_auditor_access_wallet. This will create a read-only wallet which can be queried with endpoints such as get_activity and get_balances, but cannot be used to perform transactions. + * @param {module:model/ImportAuditorAccessWalletRequest} importAuditorAccessWalletRequest + * @return {Promise} a {@link https://www.promisejs.org/|Promise} + */ + this.nodeImportAuditorAccessWalletPost = function(importAuditorAccessWalletRequest) { + return this.nodeImportAuditorAccessWalletPostWithHttpInfo(importAuditorAccessWalletRequest) + .then(function(response_and_data) { + return response_and_data.data; + }); + } + + /** * Import wallet from secret key * @param {module:model/ImportWalletRequest} importWalletRequest diff --git a/js/sdk/src/api/WalletApi.js b/js/sdk/src/api/WalletApi.js index 7c7cf57..02044e4 100644 --- a/js/sdk/src/api/WalletApi.js +++ b/js/sdk/src/api/WalletApi.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -33,7 +33,7 @@ /** * Wallet service. * @module api/WalletApi - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/index.js b/js/sdk/src/index.js index 97c20e3..1dd7ec9 100644 --- a/js/sdk/src/index.js +++ b/js/sdk/src/index.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -16,12 +16,12 @@ (function(factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. - define(['ApiClient', 'model/AnalyticIssueWalletTx', 'model/AnalyticRuleWalletTx', 'model/AnalyticTransaction', 'model/AnalyticTransferWalletTx', 'model/AnalyticWalletMetadata', 'model/AnalyticWalletTx', 'model/AnalyticsAssetConverterProofDescription', 'model/AnalyticsConfidentialIssuanceDescription', 'model/AnalyticsIssueTx', 'model/AnalyticsOutput', 'model/AnalyticsOutputDescription', 'model/AnalyticsPublicIssuanceDescription', 'model/AnalyticsRule', 'model/AnalyticsRuleDefinition', 'model/AnalyticsRuleTx', 'model/AnalyticsRuleWalletDefinition', 'model/AnalyticsSpendDescription', 'model/AnalyticsTransferTx', 'model/AnalyticsTxMetadata', 'model/AsyncTaskCreatedResponse', 'model/BalanceForAsset', 'model/CreateRuleRequest', 'model/DeleteRuleRequest', 'model/DeleteWalletRequest', 'model/ErrorResponse', 'model/ExportWalletRequest', 'model/ExportWalletResponse', 'model/GenerateWalletRequest', 'model/GetAllWalletsResponse', 'model/GetNetworkActivityRequest', 'model/GetNetworkActivityResponse', 'model/GetNewAddressRequest', 'model/GetNewAddressResponse', 'model/GetPublicKeyRequest', 'model/GetPublicKeyResponse', 'model/GetRulesResponse', 'model/GetTaskStatusRequest', 'model/GetTaskStatusResponse', 'model/GetWalletActivityRequest', 'model/GetWalletActivityResponse', 'model/GetWalletBalanceRequest', 'model/GetWalletBalanceResponse', 'model/HealthcheckResponse', 'model/HealthcheckResponseItem', 'model/ImportWalletRequest', 'model/IssueAssetRequest', 'model/Rule', 'model/TransactionsForWallet', 'model/TransferAssetRequest', 'model/UnlockWalletRequest', 'api/AnalyticsApi', 'api/HealthApi', 'api/NodeApi', 'api/WalletApi'], factory); + define(['ApiClient', 'model/AnalyticIssueWalletTx', 'model/AnalyticRuleWalletTx', 'model/AnalyticTransaction', 'model/AnalyticTransferWalletTx', 'model/AnalyticWalletMetadata', 'model/AnalyticWalletTx', 'model/AnalyticsAssetConverterProofDescription', 'model/AnalyticsConfidentialIssuanceDescription', 'model/AnalyticsIssueTx', 'model/AnalyticsMultiTransferTx', 'model/AnalyticsOutput', 'model/AnalyticsOutputDescription', 'model/AnalyticsPublicIssuanceDescription', 'model/AnalyticsRule', 'model/AnalyticsRuleDefinition', 'model/AnalyticsRuleTx', 'model/AnalyticsRuleWalletDefinition', 'model/AnalyticsSpendDescription', 'model/AnalyticsTransferTx', 'model/AnalyticsTxMetadata', 'model/AsyncTaskCreatedResponse', 'model/BalanceForAsset', 'model/CreateRuleRequest', 'model/DeleteRuleRequest', 'model/DeleteWalletRequest', 'model/ErrorResponse', 'model/ExportAuditorAccessWalletRequest', 'model/ExportAuditorAccessWalletResponse', 'model/ExportWalletRequest', 'model/ExportWalletResponse', 'model/GenerateWalletRequest', 'model/GetAllWalletsResponse', 'model/GetNetworkActivityRequest', 'model/GetNetworkActivityResponse', 'model/GetNewAddressRequest', 'model/GetNewAddressResponse', 'model/GetPublicKeyRequest', 'model/GetPublicKeyResponse', 'model/GetRulesResponse', 'model/GetTaskStatusRequest', 'model/GetTaskStatusResponse', 'model/GetTasksRequest', 'model/GetTasksResponse', 'model/GetWalletActivityRequest', 'model/GetWalletActivityResponse', 'model/GetWalletBalanceRequest', 'model/GetWalletBalanceResponse', 'model/HealthcheckResponse', 'model/HealthcheckResponseItem', 'model/ImportAuditorAccessWalletRequest', 'model/ImportWalletRequest', 'model/IssueAssetRequest', 'model/Rule', 'model/TransactionsForWallet', 'model/TransferAssetRequest', 'model/UnlockWalletRequest', 'api/AnalyticsApi', 'api/HealthApi', 'api/NodeApi', 'api/WalletApi'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('./ApiClient'), require('./model/AnalyticIssueWalletTx'), require('./model/AnalyticRuleWalletTx'), require('./model/AnalyticTransaction'), require('./model/AnalyticTransferWalletTx'), require('./model/AnalyticWalletMetadata'), require('./model/AnalyticWalletTx'), require('./model/AnalyticsAssetConverterProofDescription'), require('./model/AnalyticsConfidentialIssuanceDescription'), require('./model/AnalyticsIssueTx'), require('./model/AnalyticsOutput'), require('./model/AnalyticsOutputDescription'), require('./model/AnalyticsPublicIssuanceDescription'), require('./model/AnalyticsRule'), require('./model/AnalyticsRuleDefinition'), require('./model/AnalyticsRuleTx'), require('./model/AnalyticsRuleWalletDefinition'), require('./model/AnalyticsSpendDescription'), require('./model/AnalyticsTransferTx'), require('./model/AnalyticsTxMetadata'), require('./model/AsyncTaskCreatedResponse'), require('./model/BalanceForAsset'), require('./model/CreateRuleRequest'), require('./model/DeleteRuleRequest'), require('./model/DeleteWalletRequest'), require('./model/ErrorResponse'), require('./model/ExportWalletRequest'), require('./model/ExportWalletResponse'), require('./model/GenerateWalletRequest'), require('./model/GetAllWalletsResponse'), require('./model/GetNetworkActivityRequest'), require('./model/GetNetworkActivityResponse'), require('./model/GetNewAddressRequest'), require('./model/GetNewAddressResponse'), require('./model/GetPublicKeyRequest'), require('./model/GetPublicKeyResponse'), require('./model/GetRulesResponse'), require('./model/GetTaskStatusRequest'), require('./model/GetTaskStatusResponse'), require('./model/GetWalletActivityRequest'), require('./model/GetWalletActivityResponse'), require('./model/GetWalletBalanceRequest'), require('./model/GetWalletBalanceResponse'), require('./model/HealthcheckResponse'), require('./model/HealthcheckResponseItem'), require('./model/ImportWalletRequest'), require('./model/IssueAssetRequest'), require('./model/Rule'), require('./model/TransactionsForWallet'), require('./model/TransferAssetRequest'), require('./model/UnlockWalletRequest'), require('./api/AnalyticsApi'), require('./api/HealthApi'), require('./api/NodeApi'), require('./api/WalletApi')); + module.exports = factory(require('./ApiClient'), require('./model/AnalyticIssueWalletTx'), require('./model/AnalyticRuleWalletTx'), require('./model/AnalyticTransaction'), require('./model/AnalyticTransferWalletTx'), require('./model/AnalyticWalletMetadata'), require('./model/AnalyticWalletTx'), require('./model/AnalyticsAssetConverterProofDescription'), require('./model/AnalyticsConfidentialIssuanceDescription'), require('./model/AnalyticsIssueTx'), require('./model/AnalyticsMultiTransferTx'), require('./model/AnalyticsOutput'), require('./model/AnalyticsOutputDescription'), require('./model/AnalyticsPublicIssuanceDescription'), require('./model/AnalyticsRule'), require('./model/AnalyticsRuleDefinition'), require('./model/AnalyticsRuleTx'), require('./model/AnalyticsRuleWalletDefinition'), require('./model/AnalyticsSpendDescription'), require('./model/AnalyticsTransferTx'), require('./model/AnalyticsTxMetadata'), require('./model/AsyncTaskCreatedResponse'), require('./model/BalanceForAsset'), require('./model/CreateRuleRequest'), require('./model/DeleteRuleRequest'), require('./model/DeleteWalletRequest'), require('./model/ErrorResponse'), require('./model/ExportAuditorAccessWalletRequest'), require('./model/ExportAuditorAccessWalletResponse'), require('./model/ExportWalletRequest'), require('./model/ExportWalletResponse'), require('./model/GenerateWalletRequest'), require('./model/GetAllWalletsResponse'), require('./model/GetNetworkActivityRequest'), require('./model/GetNetworkActivityResponse'), require('./model/GetNewAddressRequest'), require('./model/GetNewAddressResponse'), require('./model/GetPublicKeyRequest'), require('./model/GetPublicKeyResponse'), require('./model/GetRulesResponse'), require('./model/GetTaskStatusRequest'), require('./model/GetTaskStatusResponse'), require('./model/GetTasksRequest'), require('./model/GetTasksResponse'), require('./model/GetWalletActivityRequest'), require('./model/GetWalletActivityResponse'), require('./model/GetWalletBalanceRequest'), require('./model/GetWalletBalanceResponse'), require('./model/HealthcheckResponse'), require('./model/HealthcheckResponseItem'), require('./model/ImportAuditorAccessWalletRequest'), require('./model/ImportWalletRequest'), require('./model/IssueAssetRequest'), require('./model/Rule'), require('./model/TransactionsForWallet'), require('./model/TransferAssetRequest'), require('./model/UnlockWalletRequest'), require('./api/AnalyticsApi'), require('./api/HealthApi'), require('./api/NodeApi'), require('./api/WalletApi')); } -}(function(ApiClient, AnalyticIssueWalletTx, AnalyticRuleWalletTx, AnalyticTransaction, AnalyticTransferWalletTx, AnalyticWalletMetadata, AnalyticWalletTx, AnalyticsAssetConverterProofDescription, AnalyticsConfidentialIssuanceDescription, AnalyticsIssueTx, AnalyticsOutput, AnalyticsOutputDescription, AnalyticsPublicIssuanceDescription, AnalyticsRule, AnalyticsRuleDefinition, AnalyticsRuleTx, AnalyticsRuleWalletDefinition, AnalyticsSpendDescription, AnalyticsTransferTx, AnalyticsTxMetadata, AsyncTaskCreatedResponse, BalanceForAsset, CreateRuleRequest, DeleteRuleRequest, DeleteWalletRequest, ErrorResponse, ExportWalletRequest, ExportWalletResponse, GenerateWalletRequest, GetAllWalletsResponse, GetNetworkActivityRequest, GetNetworkActivityResponse, GetNewAddressRequest, GetNewAddressResponse, GetPublicKeyRequest, GetPublicKeyResponse, GetRulesResponse, GetTaskStatusRequest, GetTaskStatusResponse, GetWalletActivityRequest, GetWalletActivityResponse, GetWalletBalanceRequest, GetWalletBalanceResponse, HealthcheckResponse, HealthcheckResponseItem, ImportWalletRequest, IssueAssetRequest, Rule, TransactionsForWallet, TransferAssetRequest, UnlockWalletRequest, AnalyticsApi, HealthApi, NodeApi, WalletApi) { +}(function(ApiClient, AnalyticIssueWalletTx, AnalyticRuleWalletTx, AnalyticTransaction, AnalyticTransferWalletTx, AnalyticWalletMetadata, AnalyticWalletTx, AnalyticsAssetConverterProofDescription, AnalyticsConfidentialIssuanceDescription, AnalyticsIssueTx, AnalyticsMultiTransferTx, AnalyticsOutput, AnalyticsOutputDescription, AnalyticsPublicIssuanceDescription, AnalyticsRule, AnalyticsRuleDefinition, AnalyticsRuleTx, AnalyticsRuleWalletDefinition, AnalyticsSpendDescription, AnalyticsTransferTx, AnalyticsTxMetadata, AsyncTaskCreatedResponse, BalanceForAsset, CreateRuleRequest, DeleteRuleRequest, DeleteWalletRequest, ErrorResponse, ExportAuditorAccessWalletRequest, ExportAuditorAccessWalletResponse, ExportWalletRequest, ExportWalletResponse, GenerateWalletRequest, GetAllWalletsResponse, GetNetworkActivityRequest, GetNetworkActivityResponse, GetNewAddressRequest, GetNewAddressResponse, GetPublicKeyRequest, GetPublicKeyResponse, GetRulesResponse, GetTaskStatusRequest, GetTaskStatusResponse, GetTasksRequest, GetTasksResponse, GetWalletActivityRequest, GetWalletActivityResponse, GetWalletBalanceRequest, GetWalletBalanceResponse, HealthcheckResponse, HealthcheckResponseItem, ImportAuditorAccessWalletRequest, ImportWalletRequest, IssueAssetRequest, Rule, TransactionsForWallet, TransferAssetRequest, UnlockWalletRequest, AnalyticsApi, HealthApi, NodeApi, WalletApi) { 'use strict'; /** @@ -53,7 +53,7 @@ * *

* @module index - * @version 1.3.0 + * @version 1.4.0 */ var exports = { /** @@ -106,6 +106,11 @@ * @property {module:model/AnalyticsIssueTx} */ AnalyticsIssueTx: AnalyticsIssueTx, + /** + * The AnalyticsMultiTransferTx model constructor. + * @property {module:model/AnalyticsMultiTransferTx} + */ + AnalyticsMultiTransferTx: AnalyticsMultiTransferTx, /** * The AnalyticsOutput model constructor. * @property {module:model/AnalyticsOutput} @@ -186,6 +191,16 @@ * @property {module:model/ErrorResponse} */ ErrorResponse: ErrorResponse, + /** + * The ExportAuditorAccessWalletRequest model constructor. + * @property {module:model/ExportAuditorAccessWalletRequest} + */ + ExportAuditorAccessWalletRequest: ExportAuditorAccessWalletRequest, + /** + * The ExportAuditorAccessWalletResponse model constructor. + * @property {module:model/ExportAuditorAccessWalletResponse} + */ + ExportAuditorAccessWalletResponse: ExportAuditorAccessWalletResponse, /** * The ExportWalletRequest model constructor. * @property {module:model/ExportWalletRequest} @@ -251,6 +266,16 @@ * @property {module:model/GetTaskStatusResponse} */ GetTaskStatusResponse: GetTaskStatusResponse, + /** + * The GetTasksRequest model constructor. + * @property {module:model/GetTasksRequest} + */ + GetTasksRequest: GetTasksRequest, + /** + * The GetTasksResponse model constructor. + * @property {module:model/GetTasksResponse} + */ + GetTasksResponse: GetTasksResponse, /** * The GetWalletActivityRequest model constructor. * @property {module:model/GetWalletActivityRequest} @@ -281,6 +306,11 @@ * @property {module:model/HealthcheckResponseItem} */ HealthcheckResponseItem: HealthcheckResponseItem, + /** + * The ImportAuditorAccessWalletRequest model constructor. + * @property {module:model/ImportAuditorAccessWalletRequest} + */ + ImportAuditorAccessWalletRequest: ImportAuditorAccessWalletRequest, /** * The ImportWalletRequest model constructor. * @property {module:model/ImportWalletRequest} diff --git a/js/sdk/src/model/AnalyticIssueWalletTx.js b/js/sdk/src/model/AnalyticIssueWalletTx.js index d5a50f2..84905f8 100644 --- a/js/sdk/src/model/AnalyticIssueWalletTx.js +++ b/js/sdk/src/model/AnalyticIssueWalletTx.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticIssueWalletTx model module. * @module model/AnalyticIssueWalletTx - * @version 1.3.0 + * @version 1.4.0 */ /** @@ -64,6 +64,9 @@ if (data.hasOwnProperty('issued_by_self')) { obj['issued_by_self'] = ApiClient.convertToType(data['issued_by_self'], 'Boolean'); } + if (data.hasOwnProperty('sender_id')) { + obj['sender_id'] = ApiClient.convertToType(data['sender_id'], 'String'); + } if (data.hasOwnProperty('memo')) { obj['memo'] = ApiClient.convertToType(data['memo'], 'String'); } @@ -91,6 +94,10 @@ * @member {Boolean} issued_by_self */ exports.prototype['issued_by_self'] = undefined; + /** + * @member {String} sender_id + */ + exports.prototype['sender_id'] = undefined; /** * @member {String} memo */ diff --git a/js/sdk/src/model/AnalyticRuleWalletTx.js b/js/sdk/src/model/AnalyticRuleWalletTx.js index d3e4c4e..0f6b21b 100644 --- a/js/sdk/src/model/AnalyticRuleWalletTx.js +++ b/js/sdk/src/model/AnalyticRuleWalletTx.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticRuleWalletTx model module. * @module model/AnalyticRuleWalletTx - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticTransaction.js b/js/sdk/src/model/AnalyticTransaction.js index 33330ae..53af8ea 100644 --- a/js/sdk/src/model/AnalyticTransaction.js +++ b/js/sdk/src/model/AnalyticTransaction.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticTransaction model module. * @module model/AnalyticTransaction - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticTransferWalletTx.js b/js/sdk/src/model/AnalyticTransferWalletTx.js index e323de6..6bb2392 100644 --- a/js/sdk/src/model/AnalyticTransferWalletTx.js +++ b/js/sdk/src/model/AnalyticTransferWalletTx.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticTransferWalletTx model module. * @module model/AnalyticTransferWalletTx - * @version 1.3.0 + * @version 1.4.0 */ /** @@ -61,6 +61,9 @@ if (data.hasOwnProperty('is_incoming')) { obj['is_incoming'] = ApiClient.convertToType(data['is_incoming'], 'Boolean'); } + if (data.hasOwnProperty('sender_id')) { + obj['sender_id'] = ApiClient.convertToType(data['sender_id'], 'String'); + } if (data.hasOwnProperty('memo')) { obj['memo'] = ApiClient.convertToType(data['memo'], 'String'); } @@ -81,6 +84,10 @@ * @member {Boolean} is_incoming */ exports.prototype['is_incoming'] = undefined; + /** + * @member {String} sender_id + */ + exports.prototype['sender_id'] = undefined; /** * @member {String} memo */ diff --git a/js/sdk/src/model/AnalyticWalletMetadata.js b/js/sdk/src/model/AnalyticWalletMetadata.js index 0102a03..4711c01 100644 --- a/js/sdk/src/model/AnalyticWalletMetadata.js +++ b/js/sdk/src/model/AnalyticWalletMetadata.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticWalletMetadata model module. * @module model/AnalyticWalletMetadata - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticWalletTx.js b/js/sdk/src/model/AnalyticWalletTx.js index f242ece..eb7f1d2 100644 --- a/js/sdk/src/model/AnalyticWalletTx.js +++ b/js/sdk/src/model/AnalyticWalletTx.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticWalletTx model module. * @module model/AnalyticWalletTx - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsAssetConverterProofDescription.js b/js/sdk/src/model/AnalyticsAssetConverterProofDescription.js index 4e0bc80..39d02de 100644 --- a/js/sdk/src/model/AnalyticsAssetConverterProofDescription.js +++ b/js/sdk/src/model/AnalyticsAssetConverterProofDescription.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsAssetConverterProofDescription model module. * @module model/AnalyticsAssetConverterProofDescription - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsConfidentialIssuanceDescription.js b/js/sdk/src/model/AnalyticsConfidentialIssuanceDescription.js index f53db3a..2cea069 100644 --- a/js/sdk/src/model/AnalyticsConfidentialIssuanceDescription.js +++ b/js/sdk/src/model/AnalyticsConfidentialIssuanceDescription.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsConfidentialIssuanceDescription model module. * @module model/AnalyticsConfidentialIssuanceDescription - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsIssueTx.js b/js/sdk/src/model/AnalyticsIssueTx.js index beafef0..30dc7e1 100644 --- a/js/sdk/src/model/AnalyticsIssueTx.js +++ b/js/sdk/src/model/AnalyticsIssueTx.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsIssueTx model module. * @module model/AnalyticsIssueTx - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsMultiTransferTx.js b/js/sdk/src/model/AnalyticsMultiTransferTx.js new file mode 100644 index 0000000..861c128 --- /dev/null +++ b/js/sdk/src/model/AnalyticsMultiTransferTx.js @@ -0,0 +1,78 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['ApiClient', 'model/AnalyticsTransferTx'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient'), require('./AnalyticsTransferTx')); + } else { + // Browser globals (root is window) + if (!root.QedItAssetTransfers) { + root.QedItAssetTransfers = {}; + } + root.QedItAssetTransfers.AnalyticsMultiTransferTx = factory(root.QedItAssetTransfers.ApiClient, root.QedItAssetTransfers.AnalyticsTransferTx); + } +}(this, function(ApiClient, AnalyticsTransferTx) { + 'use strict'; + + + + /** + * The AnalyticsMultiTransferTx model module. + * @module model/AnalyticsMultiTransferTx + * @version 1.4.0 + */ + + /** + * Constructs a new AnalyticsMultiTransferTx. + * @alias module:model/AnalyticsMultiTransferTx + * @class + */ + var exports = function() { + var _this = this; + + }; + + /** + * Constructs a AnalyticsMultiTransferTx from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/AnalyticsMultiTransferTx} obj Optional instance to populate. + * @return {module:model/AnalyticsMultiTransferTx} The populated AnalyticsMultiTransferTx instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + if (data.hasOwnProperty('transfers')) { + obj['transfers'] = ApiClient.convertToType(data['transfers'], [AnalyticsTransferTx]); + } + } + return obj; + } + + /** + * @member {Array.} transfers + */ + exports.prototype['transfers'] = undefined; + + + + return exports; +})); + + diff --git a/js/sdk/src/model/AnalyticsOutput.js b/js/sdk/src/model/AnalyticsOutput.js index 38bc9b3..792ef37 100644 --- a/js/sdk/src/model/AnalyticsOutput.js +++ b/js/sdk/src/model/AnalyticsOutput.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsOutput model module. * @module model/AnalyticsOutput - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsOutputDescription.js b/js/sdk/src/model/AnalyticsOutputDescription.js index b2b67ea..2fddbfa 100644 --- a/js/sdk/src/model/AnalyticsOutputDescription.js +++ b/js/sdk/src/model/AnalyticsOutputDescription.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsOutputDescription model module. * @module model/AnalyticsOutputDescription - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsPublicIssuanceDescription.js b/js/sdk/src/model/AnalyticsPublicIssuanceDescription.js index d8271cb..70a2081 100644 --- a/js/sdk/src/model/AnalyticsPublicIssuanceDescription.js +++ b/js/sdk/src/model/AnalyticsPublicIssuanceDescription.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsPublicIssuanceDescription model module. * @module model/AnalyticsPublicIssuanceDescription - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsRule.js b/js/sdk/src/model/AnalyticsRule.js index d7f910c..71421e8 100644 --- a/js/sdk/src/model/AnalyticsRule.js +++ b/js/sdk/src/model/AnalyticsRule.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsRule model module. * @module model/AnalyticsRule - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsRuleDefinition.js b/js/sdk/src/model/AnalyticsRuleDefinition.js index 321ba5a..b133bca 100644 --- a/js/sdk/src/model/AnalyticsRuleDefinition.js +++ b/js/sdk/src/model/AnalyticsRuleDefinition.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsRuleDefinition model module. * @module model/AnalyticsRuleDefinition - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsRuleTx.js b/js/sdk/src/model/AnalyticsRuleTx.js index ce5424c..e5bee07 100644 --- a/js/sdk/src/model/AnalyticsRuleTx.js +++ b/js/sdk/src/model/AnalyticsRuleTx.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsRuleTx model module. * @module model/AnalyticsRuleTx - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsRuleWalletDefinition.js b/js/sdk/src/model/AnalyticsRuleWalletDefinition.js index f710c71..9a8252e 100644 --- a/js/sdk/src/model/AnalyticsRuleWalletDefinition.js +++ b/js/sdk/src/model/AnalyticsRuleWalletDefinition.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsRuleWalletDefinition model module. * @module model/AnalyticsRuleWalletDefinition - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsSpendDescription.js b/js/sdk/src/model/AnalyticsSpendDescription.js index 7f3ca10..cc7e0b5 100644 --- a/js/sdk/src/model/AnalyticsSpendDescription.js +++ b/js/sdk/src/model/AnalyticsSpendDescription.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsSpendDescription model module. * @module model/AnalyticsSpendDescription - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsTransferTx.js b/js/sdk/src/model/AnalyticsTransferTx.js index 58018fe..4621208 100644 --- a/js/sdk/src/model/AnalyticsTransferTx.js +++ b/js/sdk/src/model/AnalyticsTransferTx.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsTransferTx model module. * @module model/AnalyticsTransferTx - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AnalyticsTxMetadata.js b/js/sdk/src/model/AnalyticsTxMetadata.js index 63b5c82..6aa7aa8 100644 --- a/js/sdk/src/model/AnalyticsTxMetadata.js +++ b/js/sdk/src/model/AnalyticsTxMetadata.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AnalyticsTxMetadata model module. * @module model/AnalyticsTxMetadata - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/AsyncTaskCreatedResponse.js b/js/sdk/src/model/AsyncTaskCreatedResponse.js index 09e03b9..0201cda 100644 --- a/js/sdk/src/model/AsyncTaskCreatedResponse.js +++ b/js/sdk/src/model/AsyncTaskCreatedResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The AsyncTaskCreatedResponse model module. * @module model/AsyncTaskCreatedResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/BalanceForAsset.js b/js/sdk/src/model/BalanceForAsset.js index 65879ba..3d190de 100644 --- a/js/sdk/src/model/BalanceForAsset.js +++ b/js/sdk/src/model/BalanceForAsset.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The BalanceForAsset model module. * @module model/BalanceForAsset - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/CreateRuleRequest.js b/js/sdk/src/model/CreateRuleRequest.js index 6c6cfca..6d0ea65 100644 --- a/js/sdk/src/model/CreateRuleRequest.js +++ b/js/sdk/src/model/CreateRuleRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The CreateRuleRequest model module. * @module model/CreateRuleRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/DeleteRuleRequest.js b/js/sdk/src/model/DeleteRuleRequest.js index a7b5981..3b6ace2 100644 --- a/js/sdk/src/model/DeleteRuleRequest.js +++ b/js/sdk/src/model/DeleteRuleRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The DeleteRuleRequest model module. * @module model/DeleteRuleRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/DeleteWalletRequest.js b/js/sdk/src/model/DeleteWalletRequest.js index b07aa1e..9a55761 100644 --- a/js/sdk/src/model/DeleteWalletRequest.js +++ b/js/sdk/src/model/DeleteWalletRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The DeleteWalletRequest model module. * @module model/DeleteWalletRequest - * @version 1.3.0 + * @version 1.4.0 */ /** @@ -43,13 +43,11 @@ * @alias module:model/DeleteWalletRequest * @class * @param walletId {String} - * @param authorization {String} */ - var exports = function(walletId, authorization) { + var exports = function(walletId) { var _this = this; _this['wallet_id'] = walletId; - _this['authorization'] = authorization; }; /** diff --git a/js/sdk/src/model/ErrorResponse.js b/js/sdk/src/model/ErrorResponse.js index a8b1fef..8dc3d8a 100644 --- a/js/sdk/src/model/ErrorResponse.js +++ b/js/sdk/src/model/ErrorResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The ErrorResponse model module. * @module model/ErrorResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/ExportAuditorAccessWalletRequest.js b/js/sdk/src/model/ExportAuditorAccessWalletRequest.js new file mode 100644 index 0000000..ef91e2d --- /dev/null +++ b/js/sdk/src/model/ExportAuditorAccessWalletRequest.js @@ -0,0 +1,98 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['ApiClient'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient')); + } else { + // Browser globals (root is window) + if (!root.QedItAssetTransfers) { + root.QedItAssetTransfers = {}; + } + root.QedItAssetTransfers.ExportAuditorAccessWalletRequest = factory(root.QedItAssetTransfers.ApiClient); + } +}(this, function(ApiClient) { + 'use strict'; + + + + /** + * The ExportAuditorAccessWalletRequest model module. + * @module model/ExportAuditorAccessWalletRequest + * @version 1.4.0 + */ + + /** + * Constructs a new ExportAuditorAccessWalletRequest. + * @alias module:model/ExportAuditorAccessWalletRequest + * @class + * @param walletId {String} + * @param authorization {String} + * @param recipientPaymentAddress {String} + */ + var exports = function(walletId, authorization, recipientPaymentAddress) { + var _this = this; + + _this['wallet_id'] = walletId; + _this['authorization'] = authorization; + _this['recipient_payment_address'] = recipientPaymentAddress; + }; + + /** + * Constructs a ExportAuditorAccessWalletRequest from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/ExportAuditorAccessWalletRequest} obj Optional instance to populate. + * @return {module:model/ExportAuditorAccessWalletRequest} The populated ExportAuditorAccessWalletRequest instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + if (data.hasOwnProperty('wallet_id')) { + obj['wallet_id'] = ApiClient.convertToType(data['wallet_id'], 'String'); + } + if (data.hasOwnProperty('authorization')) { + obj['authorization'] = ApiClient.convertToType(data['authorization'], 'String'); + } + if (data.hasOwnProperty('recipient_payment_address')) { + obj['recipient_payment_address'] = ApiClient.convertToType(data['recipient_payment_address'], 'String'); + } + } + return obj; + } + + /** + * @member {String} wallet_id + */ + exports.prototype['wallet_id'] = undefined; + /** + * @member {String} authorization + */ + exports.prototype['authorization'] = undefined; + /** + * @member {String} recipient_payment_address + */ + exports.prototype['recipient_payment_address'] = undefined; + + + + return exports; +})); + + diff --git a/js/sdk/src/model/ExportAuditorAccessWalletResponse.js b/js/sdk/src/model/ExportAuditorAccessWalletResponse.js new file mode 100644 index 0000000..5058a8c --- /dev/null +++ b/js/sdk/src/model/ExportAuditorAccessWalletResponse.js @@ -0,0 +1,98 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['ApiClient'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient')); + } else { + // Browser globals (root is window) + if (!root.QedItAssetTransfers) { + root.QedItAssetTransfers = {}; + } + root.QedItAssetTransfers.ExportAuditorAccessWalletResponse = factory(root.QedItAssetTransfers.ApiClient); + } +}(this, function(ApiClient) { + 'use strict'; + + + + /** + * The ExportAuditorAccessWalletResponse model module. + * @module model/ExportAuditorAccessWalletResponse + * @version 1.4.0 + */ + + /** + * Constructs a new ExportAuditorAccessWalletResponse. + * @alias module:model/ExportAuditorAccessWalletResponse + * @class + * @param walletId {String} + * @param publicKey {String} + * @param accessKey {String} + */ + var exports = function(walletId, publicKey, accessKey) { + var _this = this; + + _this['wallet_id'] = walletId; + _this['public_key'] = publicKey; + _this['access_key'] = accessKey; + }; + + /** + * Constructs a ExportAuditorAccessWalletResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/ExportAuditorAccessWalletResponse} obj Optional instance to populate. + * @return {module:model/ExportAuditorAccessWalletResponse} The populated ExportAuditorAccessWalletResponse instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + if (data.hasOwnProperty('wallet_id')) { + obj['wallet_id'] = ApiClient.convertToType(data['wallet_id'], 'String'); + } + if (data.hasOwnProperty('public_key')) { + obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String'); + } + if (data.hasOwnProperty('access_key')) { + obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String'); + } + } + return obj; + } + + /** + * @member {String} wallet_id + */ + exports.prototype['wallet_id'] = undefined; + /** + * @member {String} public_key + */ + exports.prototype['public_key'] = undefined; + /** + * @member {String} access_key + */ + exports.prototype['access_key'] = undefined; + + + + return exports; +})); + + diff --git a/js/sdk/src/model/ExportWalletRequest.js b/js/sdk/src/model/ExportWalletRequest.js index fd87c57..7eab826 100644 --- a/js/sdk/src/model/ExportWalletRequest.js +++ b/js/sdk/src/model/ExportWalletRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The ExportWalletRequest model module. * @module model/ExportWalletRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/ExportWalletResponse.js b/js/sdk/src/model/ExportWalletResponse.js index b2ef88a..da19a85 100644 --- a/js/sdk/src/model/ExportWalletResponse.js +++ b/js/sdk/src/model/ExportWalletResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The ExportWalletResponse model module. * @module model/ExportWalletResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GenerateWalletRequest.js b/js/sdk/src/model/GenerateWalletRequest.js index d1381d4..3e5834a 100644 --- a/js/sdk/src/model/GenerateWalletRequest.js +++ b/js/sdk/src/model/GenerateWalletRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GenerateWalletRequest model module. * @module model/GenerateWalletRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetAllWalletsResponse.js b/js/sdk/src/model/GetAllWalletsResponse.js index b3c8fb2..7c0f49e 100644 --- a/js/sdk/src/model/GetAllWalletsResponse.js +++ b/js/sdk/src/model/GetAllWalletsResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetAllWalletsResponse model module. * @module model/GetAllWalletsResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetNetworkActivityRequest.js b/js/sdk/src/model/GetNetworkActivityRequest.js index d735a60..9fc537b 100644 --- a/js/sdk/src/model/GetNetworkActivityRequest.js +++ b/js/sdk/src/model/GetNetworkActivityRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetNetworkActivityRequest model module. * @module model/GetNetworkActivityRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetNetworkActivityResponse.js b/js/sdk/src/model/GetNetworkActivityResponse.js index d5f1d33..fb50347 100644 --- a/js/sdk/src/model/GetNetworkActivityResponse.js +++ b/js/sdk/src/model/GetNetworkActivityResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetNetworkActivityResponse model module. * @module model/GetNetworkActivityResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetNewAddressRequest.js b/js/sdk/src/model/GetNewAddressRequest.js index 1703172..510cad3 100644 --- a/js/sdk/src/model/GetNewAddressRequest.js +++ b/js/sdk/src/model/GetNewAddressRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetNewAddressRequest model module. * @module model/GetNewAddressRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetNewAddressResponse.js b/js/sdk/src/model/GetNewAddressResponse.js index 5ff6c81..a311eaa 100644 --- a/js/sdk/src/model/GetNewAddressResponse.js +++ b/js/sdk/src/model/GetNewAddressResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetNewAddressResponse model module. * @module model/GetNewAddressResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetPublicKeyRequest.js b/js/sdk/src/model/GetPublicKeyRequest.js index b709f5e..2a88e7a 100644 --- a/js/sdk/src/model/GetPublicKeyRequest.js +++ b/js/sdk/src/model/GetPublicKeyRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetPublicKeyRequest model module. * @module model/GetPublicKeyRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetPublicKeyResponse.js b/js/sdk/src/model/GetPublicKeyResponse.js index a247e69..a9d753e 100644 --- a/js/sdk/src/model/GetPublicKeyResponse.js +++ b/js/sdk/src/model/GetPublicKeyResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetPublicKeyResponse model module. * @module model/GetPublicKeyResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetRulesResponse.js b/js/sdk/src/model/GetRulesResponse.js index 4dd4e04..ce18edf 100644 --- a/js/sdk/src/model/GetRulesResponse.js +++ b/js/sdk/src/model/GetRulesResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetRulesResponse model module. * @module model/GetRulesResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetTaskStatusRequest.js b/js/sdk/src/model/GetTaskStatusRequest.js index 08c066b..9e6e802 100644 --- a/js/sdk/src/model/GetTaskStatusRequest.js +++ b/js/sdk/src/model/GetTaskStatusRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetTaskStatusRequest model module. * @module model/GetTaskStatusRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetTaskStatusResponse.js b/js/sdk/src/model/GetTaskStatusResponse.js index 4c39563..62d70ed 100644 --- a/js/sdk/src/model/GetTaskStatusResponse.js +++ b/js/sdk/src/model/GetTaskStatusResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetTaskStatusResponse model module. * @module model/GetTaskStatusResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetTasksRequest.js b/js/sdk/src/model/GetTasksRequest.js new file mode 100644 index 0000000..61296fa --- /dev/null +++ b/js/sdk/src/model/GetTasksRequest.js @@ -0,0 +1,165 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['ApiClient'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient')); + } else { + // Browser globals (root is window) + if (!root.QedItAssetTransfers) { + root.QedItAssetTransfers = {}; + } + root.QedItAssetTransfers.GetTasksRequest = factory(root.QedItAssetTransfers.ApiClient); + } +}(this, function(ApiClient) { + 'use strict'; + + + + /** + * The GetTasksRequest model module. + * @module model/GetTasksRequest + * @version 1.4.0 + */ + + /** + * Constructs a new GetTasksRequest. + * @alias module:model/GetTasksRequest + * @class + * @param startIndex {Number} + * @param numberOfResults {Number} + */ + var exports = function(startIndex, numberOfResults) { + var _this = this; + + _this['start_index'] = startIndex; + _this['number_of_results'] = numberOfResults; + }; + + /** + * Constructs a GetTasksRequest from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetTasksRequest} obj Optional instance to populate. + * @return {module:model/GetTasksRequest} The populated GetTasksRequest instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + if (data.hasOwnProperty('start_index')) { + obj['start_index'] = ApiClient.convertToType(data['start_index'], 'Number'); + } + if (data.hasOwnProperty('number_of_results')) { + obj['number_of_results'] = ApiClient.convertToType(data['number_of_results'], 'Number'); + } + if (data.hasOwnProperty('types')) { + obj['types'] = ApiClient.convertToType(data['types'], ['String']); + } + if (data.hasOwnProperty('results')) { + obj['results'] = ApiClient.convertToType(data['results'], ['String']); + } + if (data.hasOwnProperty('order')) { + obj['order'] = ApiClient.convertToType(data['order'], 'String'); + } + } + return obj; + } + + /** + * @member {Number} start_index + */ + exports.prototype['start_index'] = undefined; + /** + * @member {Number} number_of_results + */ + exports.prototype['number_of_results'] = undefined; + /** + * @member {Array.} types + */ + exports.prototype['types'] = undefined; + /** + * @member {Array.} results + */ + exports.prototype['results'] = undefined; + /** + * @member {String} order + * @default 'desc' + */ + exports.prototype['order'] = 'desc'; + + + /** + * Allowed values for the types property. + * @enum {String} + * @readonly + */ + exports.TypesEnum = { + /** + * value: "unlock_wallet" + * @const + */ + "unlock_wallet": "unlock_wallet", + /** + * value: "transfer_asset" + * @const + */ + "transfer_asset": "transfer_asset", + /** + * value: "issue_asset" + * @const + */ + "issue_asset": "issue_asset", + /** + * value: "alter_rule" + * @const + */ + "alter_rule": "alter_rule" }; + + /** + * Allowed values for the results property. + * @enum {String} + * @readonly + */ + exports.ResultsEnum = { + /** + * value: "pending" + * @const + */ + "pending": "pending", + /** + * value: "failure" + * @const + */ + "failure": "failure", + /** + * value: "in_progress" + * @const + */ + "in_progress": "in_progress", + /** + * value: "success" + * @const + */ + "success": "success" }; + + + return exports; +})); + + diff --git a/js/sdk/src/model/GetTasksResponse.js b/js/sdk/src/model/GetTasksResponse.js new file mode 100644 index 0000000..c74edcb --- /dev/null +++ b/js/sdk/src/model/GetTasksResponse.js @@ -0,0 +1,78 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['ApiClient', 'model/GetTaskStatusResponse'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient'), require('./GetTaskStatusResponse')); + } else { + // Browser globals (root is window) + if (!root.QedItAssetTransfers) { + root.QedItAssetTransfers = {}; + } + root.QedItAssetTransfers.GetTasksResponse = factory(root.QedItAssetTransfers.ApiClient, root.QedItAssetTransfers.GetTaskStatusResponse); + } +}(this, function(ApiClient, GetTaskStatusResponse) { + 'use strict'; + + + + /** + * The GetTasksResponse model module. + * @module model/GetTasksResponse + * @version 1.4.0 + */ + + /** + * Constructs a new GetTasksResponse. + * @alias module:model/GetTasksResponse + * @class + */ + var exports = function() { + var _this = this; + + }; + + /** + * Constructs a GetTasksResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetTasksResponse} obj Optional instance to populate. + * @return {module:model/GetTasksResponse} The populated GetTasksResponse instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + if (data.hasOwnProperty('tasks')) { + obj['tasks'] = ApiClient.convertToType(data['tasks'], [GetTaskStatusResponse]); + } + } + return obj; + } + + /** + * @member {Array.} tasks + */ + exports.prototype['tasks'] = undefined; + + + + return exports; +})); + + diff --git a/js/sdk/src/model/GetWalletActivityRequest.js b/js/sdk/src/model/GetWalletActivityRequest.js index b9762e7..f4e7678 100644 --- a/js/sdk/src/model/GetWalletActivityRequest.js +++ b/js/sdk/src/model/GetWalletActivityRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetWalletActivityRequest model module. * @module model/GetWalletActivityRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetWalletActivityResponse.js b/js/sdk/src/model/GetWalletActivityResponse.js index 5745601..6e956ae 100644 --- a/js/sdk/src/model/GetWalletActivityResponse.js +++ b/js/sdk/src/model/GetWalletActivityResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetWalletActivityResponse model module. * @module model/GetWalletActivityResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetWalletBalanceRequest.js b/js/sdk/src/model/GetWalletBalanceRequest.js index c2fe314..3bfeb59 100644 --- a/js/sdk/src/model/GetWalletBalanceRequest.js +++ b/js/sdk/src/model/GetWalletBalanceRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetWalletBalanceRequest model module. * @module model/GetWalletBalanceRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/GetWalletBalanceResponse.js b/js/sdk/src/model/GetWalletBalanceResponse.js index 331d5cb..3783306 100644 --- a/js/sdk/src/model/GetWalletBalanceResponse.js +++ b/js/sdk/src/model/GetWalletBalanceResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The GetWalletBalanceResponse model module. * @module model/GetWalletBalanceResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/HealthcheckResponse.js b/js/sdk/src/model/HealthcheckResponse.js index f99593b..0f4505c 100644 --- a/js/sdk/src/model/HealthcheckResponse.js +++ b/js/sdk/src/model/HealthcheckResponse.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The HealthcheckResponse model module. * @module model/HealthcheckResponse - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/HealthcheckResponseItem.js b/js/sdk/src/model/HealthcheckResponseItem.js index c187982..c4b992b 100644 --- a/js/sdk/src/model/HealthcheckResponseItem.js +++ b/js/sdk/src/model/HealthcheckResponseItem.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The HealthcheckResponseItem model module. * @module model/HealthcheckResponseItem - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/ImportAuditorAccessWalletRequest.js b/js/sdk/src/model/ImportAuditorAccessWalletRequest.js new file mode 100644 index 0000000..74228f4 --- /dev/null +++ b/js/sdk/src/model/ImportAuditorAccessWalletRequest.js @@ -0,0 +1,98 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['ApiClient'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient')); + } else { + // Browser globals (root is window) + if (!root.QedItAssetTransfers) { + root.QedItAssetTransfers = {}; + } + root.QedItAssetTransfers.ImportAuditorAccessWalletRequest = factory(root.QedItAssetTransfers.ApiClient); + } +}(this, function(ApiClient) { + 'use strict'; + + + + /** + * The ImportAuditorAccessWalletRequest model module. + * @module model/ImportAuditorAccessWalletRequest + * @version 1.4.0 + */ + + /** + * Constructs a new ImportAuditorAccessWalletRequest. + * @alias module:model/ImportAuditorAccessWalletRequest + * @class + * @param walletId {String} + * @param publicKey {String} + * @param accessKey {String} + */ + var exports = function(walletId, publicKey, accessKey) { + var _this = this; + + _this['wallet_id'] = walletId; + _this['public_key'] = publicKey; + _this['access_key'] = accessKey; + }; + + /** + * Constructs a ImportAuditorAccessWalletRequest from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/ImportAuditorAccessWalletRequest} obj Optional instance to populate. + * @return {module:model/ImportAuditorAccessWalletRequest} The populated ImportAuditorAccessWalletRequest instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + if (data.hasOwnProperty('wallet_id')) { + obj['wallet_id'] = ApiClient.convertToType(data['wallet_id'], 'String'); + } + if (data.hasOwnProperty('public_key')) { + obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String'); + } + if (data.hasOwnProperty('access_key')) { + obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String'); + } + } + return obj; + } + + /** + * @member {String} wallet_id + */ + exports.prototype['wallet_id'] = undefined; + /** + * @member {String} public_key + */ + exports.prototype['public_key'] = undefined; + /** + * @member {String} access_key + */ + exports.prototype['access_key'] = undefined; + + + + return exports; +})); + + diff --git a/js/sdk/src/model/ImportWalletRequest.js b/js/sdk/src/model/ImportWalletRequest.js index 222b13b..0b18706 100644 --- a/js/sdk/src/model/ImportWalletRequest.js +++ b/js/sdk/src/model/ImportWalletRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The ImportWalletRequest model module. * @module model/ImportWalletRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/IssueAssetRequest.js b/js/sdk/src/model/IssueAssetRequest.js index ad798ff..d569fe9 100644 --- a/js/sdk/src/model/IssueAssetRequest.js +++ b/js/sdk/src/model/IssueAssetRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The IssueAssetRequest model module. * @module model/IssueAssetRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/Rule.js b/js/sdk/src/model/Rule.js index c14cf62..a5a3a75 100644 --- a/js/sdk/src/model/Rule.js +++ b/js/sdk/src/model/Rule.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The Rule model module. * @module model/Rule - * @version 1.3.0 + * @version 1.4.0 */ /** @@ -43,11 +43,19 @@ * @alias module:model/Rule * @class * @param publicKey {String} + * @param canIssueConfidentially {Boolean} + * @param canIssueAssetIdFirst {Number} + * @param canIssueAssetIdLast {Number} + * @param isAdmin {Boolean} */ - var exports = function(publicKey) { + var exports = function(publicKey, canIssueConfidentially, canIssueAssetIdFirst, canIssueAssetIdLast, isAdmin) { var _this = this; _this['public_key'] = publicKey; + _this['can_issue_confidentially'] = canIssueConfidentially; + _this['can_issue_asset_id_first'] = canIssueAssetIdFirst; + _this['can_issue_asset_id_last'] = canIssueAssetIdLast; + _this['is_admin'] = isAdmin; }; /** diff --git a/js/sdk/src/model/TransactionsForWallet.js b/js/sdk/src/model/TransactionsForWallet.js index 203dcec..bde3bc0 100644 --- a/js/sdk/src/model/TransactionsForWallet.js +++ b/js/sdk/src/model/TransactionsForWallet.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The TransactionsForWallet model module. * @module model/TransactionsForWallet - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/TransferAssetRequest.js b/js/sdk/src/model/TransferAssetRequest.js index 5f617b1..6fc2373 100644 --- a/js/sdk/src/model/TransferAssetRequest.js +++ b/js/sdk/src/model/TransferAssetRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The TransferAssetRequest model module. * @module model/TransferAssetRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/src/model/UnlockWalletRequest.js b/js/sdk/src/model/UnlockWalletRequest.js index e5b9f36..62a5fd1 100644 --- a/js/sdk/src/model/UnlockWalletRequest.js +++ b/js/sdk/src/model/UnlockWalletRequest.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ /** * The UnlockWalletRequest model module. * @module model/UnlockWalletRequest - * @version 1.3.0 + * @version 1.4.0 */ /** diff --git a/js/sdk/test/api/AnalyticsApi.spec.js b/js/sdk/test/api/AnalyticsApi.spec.js index 06d745f..122e355 100644 --- a/js/sdk/test/api/AnalyticsApi.spec.js +++ b/js/sdk/test/api/AnalyticsApi.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -50,10 +50,10 @@ } describe('AnalyticsApi', function() { - describe('analyticsGetBlocksPost', function() { - it('should call analyticsGetBlocksPost successfully', function(done) { - //uncomment below and update the code to test analyticsGetBlocksPost - //instance.analyticsGetBlocksPost(function(error) { + describe('analyticsGetNetworkActivityPost', function() { + it('should call analyticsGetNetworkActivityPost successfully', function(done) { + //uncomment below and update the code to test analyticsGetNetworkActivityPost + //instance.analyticsGetNetworkActivityPost(function(error) { // if (error) throw error; //expect().to.be(); //}); diff --git a/js/sdk/test/api/HealthApi.spec.js b/js/sdk/test/api/HealthApi.spec.js index dd0b64d..0b5959f 100644 --- a/js/sdk/test/api/HealthApi.spec.js +++ b/js/sdk/test/api/HealthApi.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/api/NodeApi.spec.js b/js/sdk/test/api/NodeApi.spec.js index e0b1335..8bbc7b6 100644 --- a/js/sdk/test/api/NodeApi.spec.js +++ b/js/sdk/test/api/NodeApi.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -60,6 +60,16 @@ done(); }); }); + describe('nodeExportAuditorAccessWalletPost', function() { + it('should call nodeExportAuditorAccessWalletPost successfully', function(done) { + //uncomment below and update the code to test nodeExportAuditorAccessWalletPost + //instance.nodeExportAuditorAccessWalletPost(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); describe('nodeExportWalletPost', function() { it('should call nodeExportWalletPost successfully', function(done) { //uncomment below and update the code to test nodeExportWalletPost @@ -110,6 +120,26 @@ done(); }); }); + describe('nodeGetTasksPost', function() { + it('should call nodeGetTasksPost successfully', function(done) { + //uncomment below and update the code to test nodeGetTasksPost + //instance.nodeGetTasksPost(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); + describe('nodeImportAuditorAccessWalletPost', function() { + it('should call nodeImportAuditorAccessWalletPost successfully', function(done) { + //uncomment below and update the code to test nodeImportAuditorAccessWalletPost + //instance.nodeImportAuditorAccessWalletPost(function(error) { + // if (error) throw error; + //expect().to.be(); + //}); + done(); + }); + }); describe('nodeImportWalletPost', function() { it('should call nodeImportWalletPost successfully', function(done) { //uncomment below and update the code to test nodeImportWalletPost diff --git a/js/sdk/test/api/WalletApi.spec.js b/js/sdk/test/api/WalletApi.spec.js index 4175006..f1679bc 100644 --- a/js/sdk/test/api/WalletApi.spec.js +++ b/js/sdk/test/api/WalletApi.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -70,40 +70,40 @@ done(); }); }); - describe('walletGetNewAddressPost', function() { - it('should call walletGetNewAddressPost successfully', function(done) { - //uncomment below and update the code to test walletGetNewAddressPost - //instance.walletGetNewAddressPost(function(error) { + describe('walletGetActivityPost', function() { + it('should call walletGetActivityPost successfully', function(done) { + //uncomment below and update the code to test walletGetActivityPost + //instance.walletGetActivityPost(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); - describe('walletGetPublicKeyPost', function() { - it('should call walletGetPublicKeyPost successfully', function(done) { - //uncomment below and update the code to test walletGetPublicKeyPost - //instance.walletGetPublicKeyPost(function(error) { + describe('walletGetBalancesPost', function() { + it('should call walletGetBalancesPost successfully', function(done) { + //uncomment below and update the code to test walletGetBalancesPost + //instance.walletGetBalancesPost(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); - describe('walletGetWalletActivitiesPost', function() { - it('should call walletGetWalletActivitiesPost successfully', function(done) { - //uncomment below and update the code to test walletGetWalletActivitiesPost - //instance.walletGetWalletActivitiesPost(function(error) { + describe('walletGetNewAddressPost', function() { + it('should call walletGetNewAddressPost successfully', function(done) { + //uncomment below and update the code to test walletGetNewAddressPost + //instance.walletGetNewAddressPost(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); - describe('walletGetWalletBalancesPost', function() { - it('should call walletGetWalletBalancesPost successfully', function(done) { - //uncomment below and update the code to test walletGetWalletBalancesPost - //instance.walletGetWalletBalancesPost(function(error) { + describe('walletGetPublicKeyPost', function() { + it('should call walletGetPublicKeyPost successfully', function(done) { + //uncomment below and update the code to test walletGetPublicKeyPost + //instance.walletGetPublicKeyPost(function(error) { // if (error) throw error; //expect().to.be(); //}); diff --git a/js/sdk/test/model/AnalyticIssueWalletTx.spec.js b/js/sdk/test/model/AnalyticIssueWalletTx.spec.js index 7b0148b..601f3c9 100644 --- a/js/sdk/test/model/AnalyticIssueWalletTx.spec.js +++ b/js/sdk/test/model/AnalyticIssueWalletTx.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -68,6 +68,12 @@ //expect(instance).to.be(); }); + it('should have the property senderId (base name: "sender_id")', function() { + // uncomment below and update the code to test the property senderId + //var instance = new QedItAssetTransfers.AnalyticIssueWalletTx(); + //expect(instance).to.be(); + }); + it('should have the property memo (base name: "memo")', function() { // uncomment below and update the code to test the property memo //var instance = new QedItAssetTransfers.AnalyticIssueWalletTx(); diff --git a/js/sdk/test/model/AnalyticRuleWalletTx.spec.js b/js/sdk/test/model/AnalyticRuleWalletTx.spec.js index 9ea117f..a4b4335 100644 --- a/js/sdk/test/model/AnalyticRuleWalletTx.spec.js +++ b/js/sdk/test/model/AnalyticRuleWalletTx.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -62,8 +62,8 @@ //expect(instance).to.be(); }); - it('should have the property ruleAffectMe (base name: "rule_affect_me")', function() { - // uncomment below and update the code to test the property ruleAffectMe + it('should have the property ruleAffectSelf (base name: "rule_affect_self")', function() { + // uncomment below and update the code to test the property ruleAffectSelf //var instance = new QedItAssetTransfers.AnalyticRuleWalletTx(); //expect(instance).to.be(); }); diff --git a/js/sdk/test/model/AnalyticTransaction.spec.js b/js/sdk/test/model/AnalyticTransaction.spec.js index 060db5d..6bd5fac 100644 --- a/js/sdk/test/model/AnalyticTransaction.spec.js +++ b/js/sdk/test/model/AnalyticTransaction.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -56,38 +56,8 @@ //expect(instance).to.be.a(QedItAssetTransfers.AnalyticTransaction); }); - it('should have the property type (base name: "type")', function() { - // uncomment below and update the code to test the property type - //var instance = new QedItAssetTransfers.AnalyticTransaction(); - //expect(instance).to.be(); - }); - - it('should have the property txHash (base name: "tx_hash")', function() { - // uncomment below and update the code to test the property txHash - //var instance = new QedItAssetTransfers.AnalyticTransaction(); - //expect(instance).to.be(); - }); - - it('should have the property blockHash (base name: "block_hash")', function() { - // uncomment below and update the code to test the property blockHash - //var instance = new QedItAssetTransfers.AnalyticTransaction(); - //expect(instance).to.be(); - }); - - it('should have the property timestamp (base name: "timestamp")', function() { - // uncomment below and update the code to test the property timestamp - //var instance = new QedItAssetTransfers.AnalyticTransaction(); - //expect(instance).to.be(); - }); - - it('should have the property indexInBlock (base name: "index_in_block")', function() { - // uncomment below and update the code to test the property indexInBlock - //var instance = new QedItAssetTransfers.AnalyticTransaction(); - //expect(instance).to.be(); - }); - - it('should have the property blockHeight (base name: "block_height")', function() { - // uncomment below and update the code to test the property blockHeight + it('should have the property metadata (base name: "metadata")', function() { + // uncomment below and update the code to test the property metadata //var instance = new QedItAssetTransfers.AnalyticTransaction(); //expect(instance).to.be(); }); diff --git a/js/sdk/test/model/AnalyticTransferWalletTx.spec.js b/js/sdk/test/model/AnalyticTransferWalletTx.spec.js index a17a410..1485522 100644 --- a/js/sdk/test/model/AnalyticTransferWalletTx.spec.js +++ b/js/sdk/test/model/AnalyticTransferWalletTx.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -62,6 +62,12 @@ //expect(instance).to.be(); }); + it('should have the property senderId (base name: "sender_id")', function() { + // uncomment below and update the code to test the property senderId + //var instance = new QedItAssetTransfers.AnalyticTransferWalletTx(); + //expect(instance).to.be(); + }); + it('should have the property memo (base name: "memo")', function() { // uncomment below and update the code to test the property memo //var instance = new QedItAssetTransfers.AnalyticTransferWalletTx(); diff --git a/js/sdk/test/model/AnalyticWalletMetadata.spec.js b/js/sdk/test/model/AnalyticWalletMetadata.spec.js index d4f0a87..19a1b5a 100644 --- a/js/sdk/test/model/AnalyticWalletMetadata.spec.js +++ b/js/sdk/test/model/AnalyticWalletMetadata.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/AnalyticWalletTx.spec.js b/js/sdk/test/model/AnalyticWalletTx.spec.js index c043361..9b9dbb2 100644 --- a/js/sdk/test/model/AnalyticWalletTx.spec.js +++ b/js/sdk/test/model/AnalyticWalletTx.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/AnalyticsAssetConverterProofDescription.spec.js b/js/sdk/test/model/AnalyticsAssetConverterProofDescription.spec.js index aff3a48..97e6cfc 100644 --- a/js/sdk/test/model/AnalyticsAssetConverterProofDescription.spec.js +++ b/js/sdk/test/model/AnalyticsAssetConverterProofDescription.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/AnalyticsConfidentialIssuanceDescription.spec.js b/js/sdk/test/model/AnalyticsConfidentialIssuanceDescription.spec.js index 6f2cc8e..a404f41 100644 --- a/js/sdk/test/model/AnalyticsConfidentialIssuanceDescription.spec.js +++ b/js/sdk/test/model/AnalyticsConfidentialIssuanceDescription.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/AnalyticsIssueTx.spec.js b/js/sdk/test/model/AnalyticsIssueTx.spec.js index 5ab9f19..bd8347a 100644 --- a/js/sdk/test/model/AnalyticsIssueTx.spec.js +++ b/js/sdk/test/model/AnalyticsIssueTx.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -68,6 +68,12 @@ //expect(instance).to.be(); }); + it('should have the property signature (base name: "signature")', function() { + // uncomment below and update the code to test the property signature + //var instance = new QedItAssetTransfers.AnalyticsIssueTx(); + //expect(instance).to.be(); + }); + }); })); diff --git a/js/sdk/test/model/AnalyticsMultiTransferTx.spec.js b/js/sdk/test/model/AnalyticsMultiTransferTx.spec.js new file mode 100644 index 0000000..75dd815 --- /dev/null +++ b/js/sdk/test/model/AnalyticsMultiTransferTx.spec.js @@ -0,0 +1,67 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. + define(['expect.js', '../../src/index'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + factory(require('expect.js'), require('../../src/index')); + } else { + // Browser globals (root is window) + factory(root.expect, root.QedItAssetTransfers); + } +}(this, function(expect, QedItAssetTransfers) { + 'use strict'; + + var instance; + + beforeEach(function() { + instance = new QedItAssetTransfers.AnalyticsMultiTransferTx(); + }); + + var getProperty = function(object, getter, property) { + // Use getter method if present; otherwise, get the property directly. + if (typeof object[getter] === 'function') + return object[getter](); + else + return object[property]; + } + + var setProperty = function(object, setter, property, value) { + // Use setter method if present; otherwise, set the property directly. + if (typeof object[setter] === 'function') + object[setter](value); + else + object[property] = value; + } + + describe('AnalyticsMultiTransferTx', function() { + it('should create an instance of AnalyticsMultiTransferTx', function() { + // uncomment below and update the code to test AnalyticsMultiTransferTx + //var instance = new QedItAssetTransfers.AnalyticsMultiTransferTx(); + //expect(instance).to.be.a(QedItAssetTransfers.AnalyticsMultiTransferTx); + }); + + it('should have the property transfers (base name: "transfers")', function() { + // uncomment below and update the code to test the property transfers + //var instance = new QedItAssetTransfers.AnalyticsMultiTransferTx(); + //expect(instance).to.be(); + }); + + }); + +})); diff --git a/js/sdk/test/model/AnalyticsOutput.spec.js b/js/sdk/test/model/AnalyticsOutput.spec.js index b914ecb..0a2ed07 100644 --- a/js/sdk/test/model/AnalyticsOutput.spec.js +++ b/js/sdk/test/model/AnalyticsOutput.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -56,20 +56,14 @@ //expect(instance).to.be.a(QedItAssetTransfers.AnalyticsOutput); }); - it('should have the property outputDescription (base name: "output_description")', function() { - // uncomment below and update the code to test the property outputDescription - //var instance = new QedItAssetTransfers.AnalyticsOutput(); - //expect(instance).to.be(); - }); - - it('should have the property assetId (base name: "asset_id")', function() { - // uncomment below and update the code to test the property assetId + it('should have the property isConfidential (base name: "is_confidential")', function() { + // uncomment below and update the code to test the property isConfidential //var instance = new QedItAssetTransfers.AnalyticsOutput(); //expect(instance).to.be(); }); - it('should have the property amount (base name: "amount")', function() { - // uncomment below and update the code to test the property amount + it('should have the property publicIssuanceDescription (base name: "public_issuance_description")', function() { + // uncomment below and update the code to test the property publicIssuanceDescription //var instance = new QedItAssetTransfers.AnalyticsOutput(); //expect(instance).to.be(); }); @@ -80,8 +74,8 @@ //expect(instance).to.be(); }); - it('should have the property isConfidential (base name: "is_confidential")', function() { - // uncomment below and update the code to test the property isConfidential + it('should have the property outputDescription (base name: "output_description")', function() { + // uncomment below and update the code to test the property outputDescription //var instance = new QedItAssetTransfers.AnalyticsOutput(); //expect(instance).to.be(); }); diff --git a/js/sdk/test/model/AnalyticsOutputDescription.spec.js b/js/sdk/test/model/AnalyticsOutputDescription.spec.js index 1d9758b..0e8b540 100644 --- a/js/sdk/test/model/AnalyticsOutputDescription.spec.js +++ b/js/sdk/test/model/AnalyticsOutputDescription.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/AnalyticsPublicIssuanceDescription.spec.js b/js/sdk/test/model/AnalyticsPublicIssuanceDescription.spec.js index e96af18..c5663f4 100644 --- a/js/sdk/test/model/AnalyticsPublicIssuanceDescription.spec.js +++ b/js/sdk/test/model/AnalyticsPublicIssuanceDescription.spec.js @@ -1,8 +1,8 @@ /** - * QEDIT – Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/AnalyticsRule.spec.js b/js/sdk/test/model/AnalyticsRule.spec.js index 25dc149..2af5f25 100644 --- a/js/sdk/test/model/AnalyticsRule.spec.js +++ b/js/sdk/test/model/AnalyticsRule.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/AnalyticsRuleDefinition.spec.js b/js/sdk/test/model/AnalyticsRuleDefinition.spec.js index d73cf7e..64bdd52 100644 --- a/js/sdk/test/model/AnalyticsRuleDefinition.spec.js +++ b/js/sdk/test/model/AnalyticsRuleDefinition.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/AnalyticsRuleTx.spec.js b/js/sdk/test/model/AnalyticsRuleTx.spec.js index 4e7cb0f..893dc02 100644 --- a/js/sdk/test/model/AnalyticsRuleTx.spec.js +++ b/js/sdk/test/model/AnalyticsRuleTx.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -74,6 +74,18 @@ //expect(instance).to.be(); }); + it('should have the property nonce (base name: "nonce")', function() { + // uncomment below and update the code to test the property nonce + //var instance = new QedItAssetTransfers.AnalyticsRuleTx(); + //expect(instance).to.be(); + }); + + it('should have the property signature (base name: "signature")', function() { + // uncomment below and update the code to test the property signature + //var instance = new QedItAssetTransfers.AnalyticsRuleTx(); + //expect(instance).to.be(); + }); + }); })); diff --git a/js/sdk/test/model/AnalyticsRuleWalletDefinition.spec.js b/js/sdk/test/model/AnalyticsRuleWalletDefinition.spec.js index 026f207..13ba3b2 100644 --- a/js/sdk/test/model/AnalyticsRuleWalletDefinition.spec.js +++ b/js/sdk/test/model/AnalyticsRuleWalletDefinition.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/AnalyticsSpendDescription.spec.js b/js/sdk/test/model/AnalyticsSpendDescription.spec.js index d6b018d..a38b976 100644 --- a/js/sdk/test/model/AnalyticsSpendDescription.spec.js +++ b/js/sdk/test/model/AnalyticsSpendDescription.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -86,12 +86,6 @@ //expect(instance).to.be(); }); - it('should have the property spendAuthSig (base name: "spend_auth_sig")', function() { - // uncomment below and update the code to test the property spendAuthSig - //var instance = new QedItAssetTransfers.AnalyticsSpendDescription(); - //expect(instance).to.be(); - }); - }); })); diff --git a/js/sdk/test/model/AnalyticsTransferTx.spec.js b/js/sdk/test/model/AnalyticsTransferTx.spec.js index c1f56dd..deb5217 100644 --- a/js/sdk/test/model/AnalyticsTransferTx.spec.js +++ b/js/sdk/test/model/AnalyticsTransferTx.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -74,6 +74,18 @@ //expect(instance).to.be(); }); + it('should have the property bindingSig (base name: "binding_sig")', function() { + // uncomment below and update the code to test the property bindingSig + //var instance = new QedItAssetTransfers.AnalyticsTransferTx(); + //expect(instance).to.be(); + }); + + it('should have the property spendAuthSigs (base name: "spend_auth_sigs")', function() { + // uncomment below and update the code to test the property spendAuthSigs + //var instance = new QedItAssetTransfers.AnalyticsTransferTx(); + //expect(instance).to.be(); + }); + }); })); diff --git a/js/sdk/test/model/AnalyticsTxMetadata.spec.js b/js/sdk/test/model/AnalyticsTxMetadata.spec.js index db9d240..eb0c1bc 100644 --- a/js/sdk/test/model/AnalyticsTxMetadata.spec.js +++ b/js/sdk/test/model/AnalyticsTxMetadata.spec.js @@ -1,8 +1,8 @@ /** - * QEDIT – Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/AsyncTaskCreatedResponse.spec.js b/js/sdk/test/model/AsyncTaskCreatedResponse.spec.js index 2ce7b9d..5512373 100644 --- a/js/sdk/test/model/AsyncTaskCreatedResponse.spec.js +++ b/js/sdk/test/model/AsyncTaskCreatedResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/BalanceForAsset.spec.js b/js/sdk/test/model/BalanceForAsset.spec.js index 202f0ce..06c6efd 100644 --- a/js/sdk/test/model/BalanceForAsset.spec.js +++ b/js/sdk/test/model/BalanceForAsset.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/CreateRuleRequest.spec.js b/js/sdk/test/model/CreateRuleRequest.spec.js index 9c942f8..e0f2171 100644 --- a/js/sdk/test/model/CreateRuleRequest.spec.js +++ b/js/sdk/test/model/CreateRuleRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/DeleteRuleRequest.spec.js b/js/sdk/test/model/DeleteRuleRequest.spec.js index 73d6343..3058385 100644 --- a/js/sdk/test/model/DeleteRuleRequest.spec.js +++ b/js/sdk/test/model/DeleteRuleRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/DeleteWalletRequest.spec.js b/js/sdk/test/model/DeleteWalletRequest.spec.js index 6ad78be..c167f15 100644 --- a/js/sdk/test/model/DeleteWalletRequest.spec.js +++ b/js/sdk/test/model/DeleteWalletRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/ErrorResponse.spec.js b/js/sdk/test/model/ErrorResponse.spec.js index 6566841..0932d92 100644 --- a/js/sdk/test/model/ErrorResponse.spec.js +++ b/js/sdk/test/model/ErrorResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/ExportAuditorAccessWalletRequest.spec.js b/js/sdk/test/model/ExportAuditorAccessWalletRequest.spec.js new file mode 100644 index 0000000..d110406 --- /dev/null +++ b/js/sdk/test/model/ExportAuditorAccessWalletRequest.spec.js @@ -0,0 +1,79 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. + define(['expect.js', '../../src/index'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + factory(require('expect.js'), require('../../src/index')); + } else { + // Browser globals (root is window) + factory(root.expect, root.QedItAssetTransfers); + } +}(this, function(expect, QedItAssetTransfers) { + 'use strict'; + + var instance; + + beforeEach(function() { + instance = new QedItAssetTransfers.ExportAuditorAccessWalletRequest(); + }); + + var getProperty = function(object, getter, property) { + // Use getter method if present; otherwise, get the property directly. + if (typeof object[getter] === 'function') + return object[getter](); + else + return object[property]; + } + + var setProperty = function(object, setter, property, value) { + // Use setter method if present; otherwise, set the property directly. + if (typeof object[setter] === 'function') + object[setter](value); + else + object[property] = value; + } + + describe('ExportAuditorAccessWalletRequest', function() { + it('should create an instance of ExportAuditorAccessWalletRequest', function() { + // uncomment below and update the code to test ExportAuditorAccessWalletRequest + //var instance = new QedItAssetTransfers.ExportAuditorAccessWalletRequest(); + //expect(instance).to.be.a(QedItAssetTransfers.ExportAuditorAccessWalletRequest); + }); + + it('should have the property walletId (base name: "wallet_id")', function() { + // uncomment below and update the code to test the property walletId + //var instance = new QedItAssetTransfers.ExportAuditorAccessWalletRequest(); + //expect(instance).to.be(); + }); + + it('should have the property authorization (base name: "authorization")', function() { + // uncomment below and update the code to test the property authorization + //var instance = new QedItAssetTransfers.ExportAuditorAccessWalletRequest(); + //expect(instance).to.be(); + }); + + it('should have the property recipientPaymentAddress (base name: "recipient_payment_address")', function() { + // uncomment below and update the code to test the property recipientPaymentAddress + //var instance = new QedItAssetTransfers.ExportAuditorAccessWalletRequest(); + //expect(instance).to.be(); + }); + + }); + +})); diff --git a/js/sdk/test/model/ExportAuditorAccessWalletResponse.spec.js b/js/sdk/test/model/ExportAuditorAccessWalletResponse.spec.js new file mode 100644 index 0000000..541aafe --- /dev/null +++ b/js/sdk/test/model/ExportAuditorAccessWalletResponse.spec.js @@ -0,0 +1,79 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. + define(['expect.js', '../../src/index'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + factory(require('expect.js'), require('../../src/index')); + } else { + // Browser globals (root is window) + factory(root.expect, root.QedItAssetTransfers); + } +}(this, function(expect, QedItAssetTransfers) { + 'use strict'; + + var instance; + + beforeEach(function() { + instance = new QedItAssetTransfers.ExportAuditorAccessWalletResponse(); + }); + + var getProperty = function(object, getter, property) { + // Use getter method if present; otherwise, get the property directly. + if (typeof object[getter] === 'function') + return object[getter](); + else + return object[property]; + } + + var setProperty = function(object, setter, property, value) { + // Use setter method if present; otherwise, set the property directly. + if (typeof object[setter] === 'function') + object[setter](value); + else + object[property] = value; + } + + describe('ExportAuditorAccessWalletResponse', function() { + it('should create an instance of ExportAuditorAccessWalletResponse', function() { + // uncomment below and update the code to test ExportAuditorAccessWalletResponse + //var instance = new QedItAssetTransfers.ExportAuditorAccessWalletResponse(); + //expect(instance).to.be.a(QedItAssetTransfers.ExportAuditorAccessWalletResponse); + }); + + it('should have the property walletId (base name: "wallet_id")', function() { + // uncomment below and update the code to test the property walletId + //var instance = new QedItAssetTransfers.ExportAuditorAccessWalletResponse(); + //expect(instance).to.be(); + }); + + it('should have the property publicKey (base name: "public_key")', function() { + // uncomment below and update the code to test the property publicKey + //var instance = new QedItAssetTransfers.ExportAuditorAccessWalletResponse(); + //expect(instance).to.be(); + }); + + it('should have the property accessKey (base name: "access_key")', function() { + // uncomment below and update the code to test the property accessKey + //var instance = new QedItAssetTransfers.ExportAuditorAccessWalletResponse(); + //expect(instance).to.be(); + }); + + }); + +})); diff --git a/js/sdk/test/model/ExportWalletRequest.spec.js b/js/sdk/test/model/ExportWalletRequest.spec.js index f42922b..b0cc6c2 100644 --- a/js/sdk/test/model/ExportWalletRequest.spec.js +++ b/js/sdk/test/model/ExportWalletRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/ExportWalletResponse.spec.js b/js/sdk/test/model/ExportWalletResponse.spec.js index 1503447..108bc39 100644 --- a/js/sdk/test/model/ExportWalletResponse.spec.js +++ b/js/sdk/test/model/ExportWalletResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GenerateWalletRequest.spec.js b/js/sdk/test/model/GenerateWalletRequest.spec.js index d9345f9..6cd0b8a 100644 --- a/js/sdk/test/model/GenerateWalletRequest.spec.js +++ b/js/sdk/test/model/GenerateWalletRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetAllWalletsResponse.spec.js b/js/sdk/test/model/GetAllWalletsResponse.spec.js index 53ca424..87b9365 100644 --- a/js/sdk/test/model/GetAllWalletsResponse.spec.js +++ b/js/sdk/test/model/GetAllWalletsResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetNetworkActivityRequest.spec.js b/js/sdk/test/model/GetNetworkActivityRequest.spec.js index 2f8196f..18a3307 100644 --- a/js/sdk/test/model/GetNetworkActivityRequest.spec.js +++ b/js/sdk/test/model/GetNetworkActivityRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetNetworkActivityResponse.spec.js b/js/sdk/test/model/GetNetworkActivityResponse.spec.js index 48176ac..2e340ba 100644 --- a/js/sdk/test/model/GetNetworkActivityResponse.spec.js +++ b/js/sdk/test/model/GetNetworkActivityResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -56,8 +56,8 @@ //expect(instance).to.be.a(QedItAssetTransfers.GetNetworkActivityResponse); }); - it('should have the property blocks (base name: "blocks")', function() { - // uncomment below and update the code to test the property blocks + it('should have the property transactions (base name: "transactions")', function() { + // uncomment below and update the code to test the property transactions //var instance = new QedItAssetTransfers.GetNetworkActivityResponse(); //expect(instance).to.be(); }); diff --git a/js/sdk/test/model/GetNewAddressRequest.spec.js b/js/sdk/test/model/GetNewAddressRequest.spec.js index f309eeb..aed0f26 100644 --- a/js/sdk/test/model/GetNewAddressRequest.spec.js +++ b/js/sdk/test/model/GetNewAddressRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetNewAddressResponse.spec.js b/js/sdk/test/model/GetNewAddressResponse.spec.js index 193a6ba..9fc60de 100644 --- a/js/sdk/test/model/GetNewAddressResponse.spec.js +++ b/js/sdk/test/model/GetNewAddressResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetPublicKeyRequest.spec.js b/js/sdk/test/model/GetPublicKeyRequest.spec.js index ad52dd1..6b1f8c5 100644 --- a/js/sdk/test/model/GetPublicKeyRequest.spec.js +++ b/js/sdk/test/model/GetPublicKeyRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetPublicKeyResponse.spec.js b/js/sdk/test/model/GetPublicKeyResponse.spec.js index b11e965..133e3ec 100644 --- a/js/sdk/test/model/GetPublicKeyResponse.spec.js +++ b/js/sdk/test/model/GetPublicKeyResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetRulesResponse.spec.js b/js/sdk/test/model/GetRulesResponse.spec.js index 9f75e54..4894a5f 100644 --- a/js/sdk/test/model/GetRulesResponse.spec.js +++ b/js/sdk/test/model/GetRulesResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetTaskStatusRequest.spec.js b/js/sdk/test/model/GetTaskStatusRequest.spec.js index 0129da3..31ff3d1 100644 --- a/js/sdk/test/model/GetTaskStatusRequest.spec.js +++ b/js/sdk/test/model/GetTaskStatusRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetTaskStatusResponse.spec.js b/js/sdk/test/model/GetTaskStatusResponse.spec.js index 3d9e574..10c0f90 100644 --- a/js/sdk/test/model/GetTaskStatusResponse.spec.js +++ b/js/sdk/test/model/GetTaskStatusResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetTasksRequest.spec.js b/js/sdk/test/model/GetTasksRequest.spec.js new file mode 100644 index 0000000..1a0228f --- /dev/null +++ b/js/sdk/test/model/GetTasksRequest.spec.js @@ -0,0 +1,91 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. + define(['expect.js', '../../src/index'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + factory(require('expect.js'), require('../../src/index')); + } else { + // Browser globals (root is window) + factory(root.expect, root.QedItAssetTransfers); + } +}(this, function(expect, QedItAssetTransfers) { + 'use strict'; + + var instance; + + beforeEach(function() { + instance = new QedItAssetTransfers.GetTasksRequest(); + }); + + var getProperty = function(object, getter, property) { + // Use getter method if present; otherwise, get the property directly. + if (typeof object[getter] === 'function') + return object[getter](); + else + return object[property]; + } + + var setProperty = function(object, setter, property, value) { + // Use setter method if present; otherwise, set the property directly. + if (typeof object[setter] === 'function') + object[setter](value); + else + object[property] = value; + } + + describe('GetTasksRequest', function() { + it('should create an instance of GetTasksRequest', function() { + // uncomment below and update the code to test GetTasksRequest + //var instance = new QedItAssetTransfers.GetTasksRequest(); + //expect(instance).to.be.a(QedItAssetTransfers.GetTasksRequest); + }); + + it('should have the property startIndex (base name: "start_index")', function() { + // uncomment below and update the code to test the property startIndex + //var instance = new QedItAssetTransfers.GetTasksRequest(); + //expect(instance).to.be(); + }); + + it('should have the property numberOfResults (base name: "number_of_results")', function() { + // uncomment below and update the code to test the property numberOfResults + //var instance = new QedItAssetTransfers.GetTasksRequest(); + //expect(instance).to.be(); + }); + + it('should have the property types (base name: "types")', function() { + // uncomment below and update the code to test the property types + //var instance = new QedItAssetTransfers.GetTasksRequest(); + //expect(instance).to.be(); + }); + + it('should have the property results (base name: "results")', function() { + // uncomment below and update the code to test the property results + //var instance = new QedItAssetTransfers.GetTasksRequest(); + //expect(instance).to.be(); + }); + + it('should have the property order (base name: "order")', function() { + // uncomment below and update the code to test the property order + //var instance = new QedItAssetTransfers.GetTasksRequest(); + //expect(instance).to.be(); + }); + + }); + +})); diff --git a/js/sdk/test/model/GetTasksResponse.spec.js b/js/sdk/test/model/GetTasksResponse.spec.js new file mode 100644 index 0000000..7753419 --- /dev/null +++ b/js/sdk/test/model/GetTasksResponse.spec.js @@ -0,0 +1,67 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. + define(['expect.js', '../../src/index'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + factory(require('expect.js'), require('../../src/index')); + } else { + // Browser globals (root is window) + factory(root.expect, root.QedItAssetTransfers); + } +}(this, function(expect, QedItAssetTransfers) { + 'use strict'; + + var instance; + + beforeEach(function() { + instance = new QedItAssetTransfers.GetTasksResponse(); + }); + + var getProperty = function(object, getter, property) { + // Use getter method if present; otherwise, get the property directly. + if (typeof object[getter] === 'function') + return object[getter](); + else + return object[property]; + } + + var setProperty = function(object, setter, property, value) { + // Use setter method if present; otherwise, set the property directly. + if (typeof object[setter] === 'function') + object[setter](value); + else + object[property] = value; + } + + describe('GetTasksResponse', function() { + it('should create an instance of GetTasksResponse', function() { + // uncomment below and update the code to test GetTasksResponse + //var instance = new QedItAssetTransfers.GetTasksResponse(); + //expect(instance).to.be.a(QedItAssetTransfers.GetTasksResponse); + }); + + it('should have the property tasks (base name: "tasks")', function() { + // uncomment below and update the code to test the property tasks + //var instance = new QedItAssetTransfers.GetTasksResponse(); + //expect(instance).to.be(); + }); + + }); + +})); diff --git a/js/sdk/test/model/GetWalletActivityRequest.spec.js b/js/sdk/test/model/GetWalletActivityRequest.spec.js index e60d9c7..04652ea 100644 --- a/js/sdk/test/model/GetWalletActivityRequest.spec.js +++ b/js/sdk/test/model/GetWalletActivityRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetWalletActivityResponse.spec.js b/js/sdk/test/model/GetWalletActivityResponse.spec.js index d085980..24855a2 100644 --- a/js/sdk/test/model/GetWalletActivityResponse.spec.js +++ b/js/sdk/test/model/GetWalletActivityResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.3.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetWalletBalanceRequest.spec.js b/js/sdk/test/model/GetWalletBalanceRequest.spec.js index c0946e2..cfec3b7 100644 --- a/js/sdk/test/model/GetWalletBalanceRequest.spec.js +++ b/js/sdk/test/model/GetWalletBalanceRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/GetWalletBalanceResponse.spec.js b/js/sdk/test/model/GetWalletBalanceResponse.spec.js index a1039ff..37b4ff2 100644 --- a/js/sdk/test/model/GetWalletBalanceResponse.spec.js +++ b/js/sdk/test/model/GetWalletBalanceResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/HealthcheckResponse.spec.js b/js/sdk/test/model/HealthcheckResponse.spec.js index 21fdc2a..508a0b9 100644 --- a/js/sdk/test/model/HealthcheckResponse.spec.js +++ b/js/sdk/test/model/HealthcheckResponse.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -56,14 +56,20 @@ //expect(instance).to.be.a(QedItAssetTransfers.HealthcheckResponse); }); + it('should have the property version (base name: "version")', function() { + // uncomment below and update the code to test the property version + //var instance = new QedItAssetTransfers.HealthcheckResponse(); + //expect(instance).to.be(); + }); + it('should have the property blockchainConnector (base name: "blockchain_connector")', function() { // uncomment below and update the code to test the property blockchainConnector //var instance = new QedItAssetTransfers.HealthcheckResponse(); //expect(instance).to.be(); }); - it('should have the property mq (base name: "mq")', function() { - // uncomment below and update the code to test the property mq + it('should have the property messageQueue (base name: "message_queue")', function() { + // uncomment below and update the code to test the property messageQueue //var instance = new QedItAssetTransfers.HealthcheckResponse(); //expect(instance).to.be(); }); diff --git a/js/sdk/test/model/HealthcheckResponseItem.spec.js b/js/sdk/test/model/HealthcheckResponseItem.spec.js index 4caab6a..aa36018 100644 --- a/js/sdk/test/model/HealthcheckResponseItem.spec.js +++ b/js/sdk/test/model/HealthcheckResponseItem.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.3 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/ImportAuditorAccessWalletRequest.spec.js b/js/sdk/test/model/ImportAuditorAccessWalletRequest.spec.js new file mode 100644 index 0000000..e0c6289 --- /dev/null +++ b/js/sdk/test/model/ImportAuditorAccessWalletRequest.spec.js @@ -0,0 +1,79 @@ +/** + * QEDIT - Asset Transfers + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: 1.4.0 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * + * OpenAPI Generator version: 3.3.3 + * + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. + define(['expect.js', '../../src/index'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + factory(require('expect.js'), require('../../src/index')); + } else { + // Browser globals (root is window) + factory(root.expect, root.QedItAssetTransfers); + } +}(this, function(expect, QedItAssetTransfers) { + 'use strict'; + + var instance; + + beforeEach(function() { + instance = new QedItAssetTransfers.ImportAuditorAccessWalletRequest(); + }); + + var getProperty = function(object, getter, property) { + // Use getter method if present; otherwise, get the property directly. + if (typeof object[getter] === 'function') + return object[getter](); + else + return object[property]; + } + + var setProperty = function(object, setter, property, value) { + // Use setter method if present; otherwise, set the property directly. + if (typeof object[setter] === 'function') + object[setter](value); + else + object[property] = value; + } + + describe('ImportAuditorAccessWalletRequest', function() { + it('should create an instance of ImportAuditorAccessWalletRequest', function() { + // uncomment below and update the code to test ImportAuditorAccessWalletRequest + //var instance = new QedItAssetTransfers.ImportAuditorAccessWalletRequest(); + //expect(instance).to.be.a(QedItAssetTransfers.ImportAuditorAccessWalletRequest); + }); + + it('should have the property walletId (base name: "wallet_id")', function() { + // uncomment below and update the code to test the property walletId + //var instance = new QedItAssetTransfers.ImportAuditorAccessWalletRequest(); + //expect(instance).to.be(); + }); + + it('should have the property publicKey (base name: "public_key")', function() { + // uncomment below and update the code to test the property publicKey + //var instance = new QedItAssetTransfers.ImportAuditorAccessWalletRequest(); + //expect(instance).to.be(); + }); + + it('should have the property accessKey (base name: "access_key")', function() { + // uncomment below and update the code to test the property accessKey + //var instance = new QedItAssetTransfers.ImportAuditorAccessWalletRequest(); + //expect(instance).to.be(); + }); + + }); + +})); diff --git a/js/sdk/test/model/ImportWalletRequest.spec.js b/js/sdk/test/model/ImportWalletRequest.spec.js index 8526289..ee8eb97 100644 --- a/js/sdk/test/model/ImportWalletRequest.spec.js +++ b/js/sdk/test/model/ImportWalletRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/IssueAssetRequest.spec.js b/js/sdk/test/model/IssueAssetRequest.spec.js index f32e8c6..9b58d29 100644 --- a/js/sdk/test/model/IssueAssetRequest.spec.js +++ b/js/sdk/test/model/IssueAssetRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/Rule.spec.js b/js/sdk/test/model/Rule.spec.js index 1437ea3..6e379fe 100644 --- a/js/sdk/test/model/Rule.spec.js +++ b/js/sdk/test/model/Rule.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/TransactionsForWallet.spec.js b/js/sdk/test/model/TransactionsForWallet.spec.js index 47d2bdd..f8fd930 100644 --- a/js/sdk/test/model/TransactionsForWallet.spec.js +++ b/js/sdk/test/model/TransactionsForWallet.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/TransferAssetRequest.spec.js b/js/sdk/test/model/TransferAssetRequest.spec.js index 9c4489f..4893b2b 100644 --- a/js/sdk/test/model/TransferAssetRequest.spec.js +++ b/js/sdk/test/model/TransferAssetRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/js/sdk/test/model/UnlockWalletRequest.spec.js b/js/sdk/test/model/UnlockWalletRequest.spec.js index 5c0e68d..d00f5b7 100644 --- a/js/sdk/test/model/UnlockWalletRequest.spec.js +++ b/js/sdk/test/model/UnlockWalletRequest.spec.js @@ -1,8 +1,8 @@ /** - * QED-it - Asset Transfers + * QEDIT - Asset Transfers * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: 1.2.0 + * OpenAPI spec version: 1.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/spec/asset-swagger.yaml b/spec/asset-swagger.yaml index 7ad1c96..0461d63 100644 --- a/spec/asset-swagger.yaml +++ b/spec/asset-swagger.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - version: 1.3.0 - title: QED-it - Asset Transfers + version: 1.4.0 + title: QEDIT - Asset Transfers security: - ApiKeyAuth: [] servers: @@ -166,7 +166,7 @@ paths: schema: $ref: '#/components/schemas/GetPublicKeyRequest' responses: - '201': + '200': description: Success/Created content: application/json: @@ -398,6 +398,42 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + /node/export_wallet: + post: + tags: + - Node + summary: Export wallet secret key + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/ExportWalletRequest' + responses: + '200': + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/ExportWalletResponse' + '400': + description: Bad request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' /node/import_wallet: post: tags: @@ -430,24 +466,24 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' - /node/unlock_wallet: + /node/export_auditor_access_wallet: post: tags: - Node - summary: Unlocks a wallet for a given amount of seconds [async call] + summary: Export a viewing key that allows an auditor to view all transactions to and from a wallet. The viewing key is encrypted for the auditor identified by recipient_payment_address. The viewing key does not enable the auditor to make transactions. requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/UnlockWalletRequest' + $ref: '#/components/schemas/ExportAuditorAccessWalletRequest' responses: - '201': - description: Created + '200': + description: Success content: application/json: schema: - $ref: '#/components/schemas/AsyncTaskCreatedResponse' + $ref: '#/components/schemas/ExportAuditorAccessWalletResponse' '400': description: Bad request content: @@ -466,24 +502,56 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' - /node/export_wallet: + /node/import_auditor_access_wallet: post: tags: - Node - summary: Export wallet secret key + summary: Import a viewing key generated by export_auditor_access_wallet. This will create a read-only wallet which can be queried with endpoints such as get_activity and get_balances, but cannot be used to perform transactions. requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/ExportWalletRequest' + $ref: '#/components/schemas/ImportAuditorAccessWalletRequest' responses: '200': description: Success + '400': + description: Bad request content: application/json: schema: - $ref: '#/components/schemas/ExportWalletResponse' + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + /node/unlock_wallet: + post: + tags: + - Node + summary: Unlocks a wallet for a given amount of seconds [async call] + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnlockWalletRequest' + responses: + '201': + description: Created + content: + application/json: + schema: + $ref: '#/components/schemas/AsyncTaskCreatedResponse' '400': description: Bad request content: @@ -560,7 +628,7 @@ paths: $ref: '#/components/schemas/GetTaskStatusRequest' tags: - Node - summary: Get all tasks in the node + summary: Get a specific task (by ID) responses: '200': description: Success @@ -586,6 +654,42 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + /node/get_tasks: + post: + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/GetTasksRequest' + tags: + - Node + summary: Get a list of tasks by results/types + responses: + '200': + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/GetTasksResponse' + '400': + description: Bad request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' /health: post: tags: @@ -753,6 +857,45 @@ components: - id example: id: "5aaa4045-e949-4c44-a7ef-25fb55a1afa6" + GetTasksRequest: + type: object + properties: + start_index: + type: integer + number_of_results: + type: integer + types: + type: array + items: + type: string + enum: + - unlock_wallet + - transfer_asset + - issue_asset + - alter_rule + results: + type: array + items: + type: string + default: in_progress + enum: + - pending + - failure + - in_progress + - success + order: + type: string + default: desc + pattern: '^(asc|desc)$' + required: + - start_index + - number_of_results + example: + start_index: 0 + number_of_results: 10 + types: ["unlock_wallet", "transfer_asset"] + results: ["in_progress", "failure"] + order: "asc" GetTaskStatusResponse: type: object properties: @@ -782,6 +925,13 @@ components: tx_hash: "0xd379aa4e5e40552910c8ae456c65dcf51e9779fc9281ac2dc9e677ec810af6b1" type: "transfer_asset" data: {} + GetTasksResponse: + type: object + properties: + tasks: + type: array + items: + $ref: '#/components/schemas/GetTaskStatusResponse' GetNetworkActivityRequest: type: object properties: @@ -881,6 +1031,32 @@ components: example: wallet_id: source_wallet public_key: bf45ab74bd4a46fe7a2432ba05e2f726bf4fe42a80052849e13e2541230d3204 + ExportWalletRequest: + type: object + properties: + wallet_id: + type: string + required: + - wallet_id + example: + wallet_id: source_wallet + ExportWalletResponse: + type: object + properties: + wallet_id: + type: string + encrypted_sk: + type: string + salt: + type: string + required: + - wallet_id + - encrypted_sk + - salt + example: + wallet_id: source_wallet + encrypted_sk: 44d2836bbfcc7c69dd35dbe854d54a093be9a1be7f9d658325a8d2526f67ede16abf0d1430edab07be9b8c12070260af + salt: 27ca2bf75fe4c1564398459bd2f39a89645bf98aeeb1f99a9c9efa6e5c39cbfe ImportWalletRequest: type: object properties: @@ -902,32 +1078,57 @@ components: encrypted_sk: 44d2836bbfcc7c69dd35dbe854d54a093be9a1be7f9d658325a8d2526f67ede16abf0d1430edab07be9b8c12070260af authorization: PrivacyIsAwesome salt: 27ca2bf75fe4c1564398459bd2f39a89645bf98aeeb1f99a9c9efa6e5c39cbfe - ExportWalletRequest: + ExportAuditorAccessWalletRequest: type: object properties: wallet_id: type: string + authorization: + type: string + recipient_payment_address: + type: string required: - wallet_id + - authorization + - recipient_payment_address example: wallet_id: source_wallet - ExportWalletResponse: + authorization: PrivacyIsAwesome + recipient_payment_address: q1dxlf6vap2566t8w3z8f5j5lxy9n036zfsaytjve7fedsw6w8c9q9ctrwfz6ryyjwkgvj6tjg70f + ExportAuditorAccessWalletResponse: type: object properties: wallet_id: type: string - encrypted_sk: + public_key: type: string - salt: + access_key: type: string required: - wallet_id - - encrypted_sk - - salt + - public_key + - access_key example: wallet_id: source_wallet - encrypted_sk: 44d2836bbfcc7c69dd35dbe854d54a093be9a1be7f9d658325a8d2526f67ede16abf0d1430edab07be9b8c12070260af - salt: 27ca2bf75fe4c1564398459bd2f39a89645bf98aeeb1f99a9c9efa6e5c39cbfe + public_key: 8a907d5c070223b4fd30a05e2e103ae6f7bbae2bc6ea36258b5a7ac9a4b8f646 + access_key: 9c1616ccb51d4022c7b8654b1a69682654c5da6570b37d3cd2a2368a758f7922 + ImportAuditorAccessWalletRequest: + type: object + properties: + wallet_id: + type: string + public_key: + type: string + access_key: + type: string + required: + - wallet_id + - public_key + - access_key + example: + wallet_id: source_wallet + public_key: 8a907d5c070223b4fd30a05e2e103ae6f7bbae2bc6ea36258b5a7ac9a4b8f646 + access_key: 9c1616ccb51d4022c7b8654b1a69682654c5da6570b37d3cd2a2368a758f7922 GenerateWalletRequest: type: object properties: @@ -950,7 +1151,6 @@ components: type: string required: - wallet_id - - authorization example: wallet_id: source_wallet authorization: PrivacyIsAwesome @@ -1034,6 +1234,10 @@ components: type: boolean required: - public_key + - can_issue_confidentially + - can_issue_asset_id_first + - can_issue_asset_id_last + - is_admin example: public_key: bf45ab74bd4a46fe7a2432ba05e2f726bf4fe42a80052849e13e2541230d3204 can_issue_confidentially: false @@ -1071,7 +1275,7 @@ components: content: oneOf: - $ref: '#/components/schemas/AnalyticsIssueTx' - - $ref: '#/components/schemas/AnalyticsTransferTx' + - $ref: '#/components/schemas/AnalyticsMultiTransferTx' - $ref: '#/components/schemas/AnalyticsRuleTx' example: metadata: @@ -1096,7 +1300,7 @@ components: zkproof: 'cc43f2c6be02d5e340dcbc1cae9ab4c8199731e115637186384d2e0a30051daa9031a9546683483d1d32b27b0fd47afd03c393cb5f1a5e68319889da501f296126a4f98f9a9ee1db5ba9d9ecda561176ac2d5ca00b45eaf0a09ad20785ed7c5bb5351b3116b1c7858ed44b9abdcd4aeefa4afa7d2f03d64c1b60b316a6d40595a183132f6ef391bf44002a7677f27f793e7661d2a00917e63a13af3af50d5f99f02bf24af4d743f51fce0712252dba7fa89fa5d89855d9c9d323ab1ffe3f0470' public_key: 'bf45ab74bd4a46fe7a2432ba05e2f726bf4fe42a80052849e13e2541230d3204' signature: '97a94ce9ad8fdb4fa9933b67e4022fe92e19516728cb1b5f43edf3aaad994a544d13725708fd38a683b82a2d0092b89a09f5463ce688b39215b10f6a732e480b' - + AnalyticsTxMetadata: type: object properties: @@ -1111,7 +1315,7 @@ components: index_in_block: type: integer block_height: - type: integer + type: integer AnalyticsIssueTx: type: object @@ -1125,6 +1329,14 @@ components: signature: type: string + AnalyticsMultiTransferTx: + type: object + properties: + transfers: + type: array + items: + $ref: '#/components/schemas/AnalyticsTransferTx' + AnalyticsTransferTx: type: object properties: @@ -1219,7 +1431,7 @@ components: $ref: '#/components/schemas/AnalyticsConfidentialIssuanceDescription' output_description: $ref: '#/components/schemas/AnalyticsOutputDescription' - + AnalyticsPublicIssuanceDescription: type: object nullable: true @@ -1236,7 +1448,7 @@ components: example: asset_id: 10 amount: 3 - + AnalyticsAssetConverterProofDescription: type: object properties: @@ -1346,8 +1558,8 @@ components: content: oneOf: - $ref: '#/components/schemas/AnalyticIssueWalletTx' - - $ref: '#/components/schemas/AnalyticTransferWalletTx' - - $ref: '#/components/schemas/AnalyticRuleWalletTx' + - $ref: '#/components/schemas/AnalyticTransferWalletTx' + - $ref: '#/components/schemas/AnalyticRuleWalletTx' AnalyticWalletMetadata: type: object @@ -1366,6 +1578,8 @@ components: type: boolean issued_by_self: type: boolean + sender_id: + type: string memo: type: string recipient_address: @@ -1382,6 +1596,8 @@ components: properties: is_incoming: type: boolean + sender_id: + type: string memo: type: string recipient_address: @@ -1402,7 +1618,7 @@ components: type: string rule: $ref: '#/components/schemas/AnalyticsRuleWalletDefinition' - + HealthcheckResponse: type: object properties: