@northstake/northstakeapi 1.0.15 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -3
- package/.openapi-generator/VERSION +1 -1
- package/api/accountApi.ts +3 -3
- package/api/depositAddressesApi.ts +4 -4
- package/api/linkedWalletsApi.ts +12 -19
- package/api/managedUsersApi.ts +6 -6
- package/api/managedUsersDepositAddressesApi.ts +3 -3
- package/api/managedUsersLinkedWalletsApi.ts +14 -21
- package/api/managedUsersOrdersApi.ts +6 -6
- package/api/managedUsersPortfolioApi.ts +3 -3
- package/api/managedUsersTransactionsApi.ts +3 -3
- package/api/managedUsersValidatorsApi.ts +3 -3
- package/api/ordersApi.ts +6 -6
- package/api/portfolioApi.ts +3 -3
- package/api/transactionsApi.ts +3 -3
- package/api/validatorMarketplaceBuyersApi.ts +6 -6
- package/api/validatorMarketplaceSellersApi.ts +8 -8
- package/api/validatorMarketplaceWebhooksApi.ts +5 -5
- package/api/validatorsApi.ts +6 -6
- package/api.ts +1 -3
- package/dist/api/accountApi.d.ts +1 -1
- package/dist/api/accountApi.js +3 -4
- package/dist/api/depositAddressesApi.d.ts +1 -1
- package/dist/api/depositAddressesApi.js +4 -5
- package/dist/api/linkedWalletsApi.d.ts +3 -5
- package/dist/api/linkedWalletsApi.js +12 -19
- package/dist/api/managedUsersApi.d.ts +1 -1
- package/dist/api/managedUsersApi.js +6 -7
- package/dist/api/managedUsersDepositAddressesApi.d.ts +1 -1
- package/dist/api/managedUsersDepositAddressesApi.js +3 -4
- package/dist/api/managedUsersLinkedWalletsApi.d.ts +3 -5
- package/dist/api/managedUsersLinkedWalletsApi.js +14 -21
- package/dist/api/managedUsersOrdersApi.d.ts +1 -1
- package/dist/api/managedUsersOrdersApi.js +6 -7
- package/dist/api/managedUsersPortfolioApi.d.ts +1 -1
- package/dist/api/managedUsersPortfolioApi.js +3 -4
- package/dist/api/managedUsersTransactionsApi.d.ts +1 -1
- package/dist/api/managedUsersTransactionsApi.js +3 -4
- package/dist/api/managedUsersValidatorsApi.d.ts +1 -1
- package/dist/api/managedUsersValidatorsApi.js +3 -4
- package/dist/api/ordersApi.d.ts +1 -1
- package/dist/api/ordersApi.js +6 -7
- package/dist/api/portfolioApi.d.ts +1 -1
- package/dist/api/portfolioApi.js +3 -4
- package/dist/api/transactionsApi.d.ts +1 -1
- package/dist/api/transactionsApi.js +3 -4
- package/dist/api/validatorMarketplaceBuyersApi.d.ts +1 -1
- package/dist/api/validatorMarketplaceBuyersApi.js +6 -7
- package/dist/api/validatorMarketplaceSellersApi.d.ts +1 -1
- package/dist/api/validatorMarketplaceSellersApi.js +8 -9
- package/dist/api/validatorMarketplaceWebhooksApi.d.ts +1 -1
- package/dist/api/validatorMarketplaceWebhooksApi.js +5 -6
- package/dist/api/validatorsApi.d.ts +3 -3
- package/dist/api/validatorsApi.js +4 -5
- package/dist/api.d.ts +1 -3
- package/dist/api.js +1 -3
- package/dist/model/acceptedQuote.d.ts +1 -1
- package/dist/model/acceptedQuote.js +1 -1
- package/dist/model/accountEntity.d.ts +1 -1
- package/dist/model/accountEntity.js +1 -1
- package/dist/model/addLinkedWalletForUserRequest.d.ts +1 -1
- package/dist/model/addLinkedWalletForUserRequest.js +1 -1
- package/dist/model/addLinkedWalletRequest.d.ts +1 -1
- package/dist/model/addLinkedWalletRequest.js +1 -1
- package/dist/model/allManagedUsersResponse.d.ts +1 -1
- package/dist/model/allManagedUsersResponse.js +1 -1
- package/dist/model/asset.d.ts +1 -1
- package/dist/model/asset.js +1 -1
- package/dist/model/createManagedUserRequest.d.ts +1 -1
- package/dist/model/createManagedUserRequest.js +1 -1
- package/dist/model/createRFQRequest.d.ts +2 -2
- package/dist/model/createRFQRequest.js +3 -3
- package/dist/model/depositAddress.d.ts +1 -1
- package/dist/model/depositAddress.js +1 -1
- package/dist/model/depositAddressesForUserResponse.d.ts +1 -1
- package/dist/model/depositAddressesForUserResponse.js +1 -1
- package/dist/model/errorResponse.d.ts +1 -1
- package/dist/model/errorResponse.js +1 -1
- package/dist/model/escrowPayment.d.ts +1 -1
- package/dist/model/escrowPayment.js +1 -1
- package/dist/model/escrowReleased.d.ts +1 -1
- package/dist/model/escrowReleased.js +1 -1
- package/dist/model/ethereumValidatorKey.d.ts +1 -1
- package/dist/model/ethereumValidatorKey.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystore.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystore.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCrypto.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCrypto.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoChecksum.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoChecksum.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipher.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipher.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipherParams.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipherParams.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdf.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdf.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdfParams.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdfParams.js +1 -1
- package/dist/model/exitEstimateBase.d.ts +1 -1
- package/dist/model/exitEstimateBase.js +1 -1
- package/dist/model/exitEstimateSeller.d.ts +1 -1
- package/dist/model/exitEstimateSeller.js +1 -1
- package/dist/model/getTransactionsResponse.d.ts +1 -1
- package/dist/model/getTransactionsResponse.js +1 -1
- package/dist/model/managedUser.d.ts +1 -1
- package/dist/model/managedUser.js +1 -1
- package/dist/model/managedUserDetails.d.ts +1 -1
- package/dist/model/managedUserDetails.js +1 -1
- package/dist/model/models.d.ts +1 -3
- package/dist/model/models.js +1 -7
- package/dist/model/order.d.ts +3 -3
- package/dist/model/order.js +3 -3
- package/dist/model/orderDocument.d.ts +1 -1
- package/dist/model/orderDocument.js +1 -1
- package/dist/model/orderDocumentSteps.d.ts +1 -1
- package/dist/model/orderDocumentSteps.js +1 -1
- package/dist/model/orderType.d.ts +1 -1
- package/dist/model/orderType.js +1 -1
- package/dist/model/orderUpdatePayload.d.ts +1 -1
- package/dist/model/orderUpdatePayload.js +1 -1
- package/dist/model/portfolioEntity.d.ts +1 -1
- package/dist/model/portfolioEntity.js +1 -1
- package/dist/model/provideEscrowHashForRFQDocumentRequest.d.ts +1 -1
- package/dist/model/provideEscrowHashForRFQDocumentRequest.js +1 -1
- package/dist/model/quote.d.ts +1 -1
- package/dist/model/quote.js +1 -1
- package/dist/model/rFQBids.d.ts +1 -1
- package/dist/model/rFQBids.js +1 -1
- package/dist/model/rFQDocumentBase.d.ts +1 -1
- package/dist/model/rFQDocumentBase.js +1 -1
- package/dist/model/rFQDocumentBaseUniqueEscrowVault.d.ts +1 -1
- package/dist/model/rFQDocumentBaseUniqueEscrowVault.js +1 -1
- package/dist/model/rFQDocumentBuyer.d.ts +1 -1
- package/dist/model/rFQDocumentBuyer.js +1 -1
- package/dist/model/rFQDocumentBuyerAllOfValidators.d.ts +1 -1
- package/dist/model/rFQDocumentBuyerAllOfValidators.js +1 -1
- package/dist/model/rFQDocumentBuyerStatusFilter.d.ts +1 -1
- package/dist/model/rFQDocumentBuyerStatusFilter.js +1 -1
- package/dist/model/rFQDocumentSeller.d.ts +1 -1
- package/dist/model/rFQDocumentSeller.js +1 -1
- package/dist/model/rFQDocumentSellerAllOfValidators.d.ts +1 -1
- package/dist/model/rFQDocumentSellerAllOfValidators.js +1 -1
- package/dist/model/rFQDocumentSellerStatusFilter.d.ts +1 -1
- package/dist/model/rFQDocumentSellerStatusFilter.js +1 -1
- package/dist/model/rFQDocumentStatus.d.ts +1 -1
- package/dist/model/rFQDocumentStatus.js +1 -1
- package/dist/model/rFQDocumentUpdate.d.ts +1 -1
- package/dist/model/rFQDocumentUpdate.js +1 -1
- package/dist/model/rFQUpdatePayload.d.ts +1 -1
- package/dist/model/rFQUpdatePayload.js +1 -1
- package/dist/model/rFQWebhookEventType.d.ts +1 -1
- package/dist/model/rFQWebhookEventType.js +1 -1
- package/dist/model/registerWithdrawalRecipientSettlementRequest.d.ts +1 -1
- package/dist/model/registerWithdrawalRecipientSettlementRequest.js +1 -1
- package/dist/model/settlementSteps.d.ts +1 -1
- package/dist/model/settlementSteps.js +1 -1
- package/dist/model/smartContract.d.ts +1 -1
- package/dist/model/smartContract.js +1 -1
- package/dist/model/stakeStep.d.ts +1 -1
- package/dist/model/stakeStep.js +1 -1
- package/dist/model/stakeStepElement.d.ts +1 -1
- package/dist/model/stakeStepElement.js +1 -1
- package/dist/model/stepStatus.d.ts +1 -1
- package/dist/model/stepStatus.js +1 -1
- package/dist/model/submittedQuote.d.ts +1 -1
- package/dist/model/submittedQuote.js +1 -1
- package/dist/model/transaction.d.ts +1 -1
- package/dist/model/transaction.js +1 -1
- package/dist/model/transactionEventType.d.ts +1 -1
- package/dist/model/transactionEventType.js +1 -1
- package/dist/model/transactionsforUser.d.ts +1 -1
- package/dist/model/transactionsforUser.js +1 -1
- package/dist/model/unstakeStep.d.ts +1 -1
- package/dist/model/unstakeStep.js +1 -1
- package/dist/model/unstakeStepElement.d.ts +1 -1
- package/dist/model/unstakeStepElement.js +1 -1
- package/dist/model/unstakeStepType.d.ts +1 -1
- package/dist/model/unstakeStepType.js +1 -1
- package/dist/model/validatorInfo.d.ts +8 -14
- package/dist/model/validatorInfo.js +17 -22
- package/dist/model/validatorKeyHolder.d.ts +1 -1
- package/dist/model/validatorKeyHolder.js +1 -1
- package/dist/model/{validatorContractType.d.ts → validatorType.d.ts} +2 -2
- package/dist/model/{validatorContractType.js → validatorType.js} +1 -1
- package/dist/model/wallet.d.ts +5 -4
- package/dist/model/wallet.js +6 -1
- package/dist/model/webHookLookupAnswer.d.ts +1 -1
- package/dist/model/webHookLookupAnswer.js +1 -1
- package/dist/model/webhookPayload.d.ts +1 -1
- package/dist/model/webhookPayload.js +1 -1
- package/dist/model/webhookPayloadData.d.ts +1 -1
- package/dist/model/webhookPayloadData.js +1 -1
- package/dist/model/webhookPayloadRFQAvailable.d.ts +1 -1
- package/dist/model/webhookPayloadRFQAvailable.js +1 -1
- package/dist/model/webhookPayloadRFQBidAccepted.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidAccepted.js +1 -1
- package/dist/model/webhookPayloadRFQBidAcceptedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidAcceptedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQBidReceived.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidReceived.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowEvent.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowEvent.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowEventDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowEventDetails.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleased.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleased.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleasedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleasedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceived.d.ts +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceived.js +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceivedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceivedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorExited.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorExited.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorExitedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorExitedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.js +1 -1
- package/dist/model/webhookRegistration.d.ts +1 -1
- package/dist/model/webhookRegistration.js +1 -1
- package/dist/model/webhookRegistrationDetails.d.ts +1 -1
- package/dist/model/webhookRegistrationDetails.js +1 -1
- package/dist/model/withdrawalRecipientSettlement.d.ts +1 -1
- package/dist/model/withdrawalRecipientSettlement.js +1 -1
- package/dist/model/withdrawalStep.d.ts +1 -1
- package/dist/model/withdrawalStep.js +1 -1
- package/dist/model/withdrawalStepElement.d.ts +1 -1
- package/dist/model/withdrawalStepElement.js +1 -1
- package/dist/model/withdrawalStepType.d.ts +1 -1
- package/dist/model/withdrawalStepType.js +1 -1
- package/model/acceptedQuote.ts +1 -1
- package/model/accountEntity.ts +1 -1
- package/model/addLinkedWalletForUserRequest.ts +1 -1
- package/model/addLinkedWalletRequest.ts +1 -1
- package/model/allManagedUsersResponse.ts +1 -1
- package/model/asset.ts +1 -1
- package/model/createManagedUserRequest.ts +1 -1
- package/model/createRFQRequest.ts +4 -4
- package/model/depositAddress.ts +1 -1
- package/model/depositAddressesForUserResponse.ts +1 -1
- package/model/errorResponse.ts +1 -1
- package/model/escrowPayment.ts +1 -1
- package/model/escrowReleased.ts +1 -1
- package/model/ethereumValidatorKey.ts +1 -1
- package/model/ethereumValidatorKeyKeystore.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCrypto.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoChecksum.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoCipher.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoCipherParams.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoKdf.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoKdfParams.ts +1 -1
- package/model/exitEstimateBase.ts +1 -1
- package/model/exitEstimateSeller.ts +1 -1
- package/model/getTransactionsResponse.ts +1 -1
- package/model/managedUser.ts +1 -1
- package/model/managedUserDetails.ts +1 -1
- package/model/models.ts +3 -13
- package/model/order.ts +5 -5
- package/model/orderDocument.ts +1 -1
- package/model/orderDocumentSteps.ts +1 -1
- package/model/orderType.ts +1 -1
- package/model/orderUpdatePayload.ts +1 -1
- package/model/portfolioEntity.ts +1 -1
- package/model/provideEscrowHashForRFQDocumentRequest.ts +1 -1
- package/model/quote.ts +1 -1
- package/model/rFQBids.ts +1 -1
- package/model/rFQDocumentBase.ts +1 -1
- package/model/rFQDocumentBaseUniqueEscrowVault.ts +1 -1
- package/model/rFQDocumentBuyer.ts +1 -1
- package/model/rFQDocumentBuyerAllOfValidators.ts +1 -1
- package/model/rFQDocumentBuyerStatusFilter.ts +1 -1
- package/model/rFQDocumentSeller.ts +1 -1
- package/model/rFQDocumentSellerAllOfValidators.ts +1 -1
- package/model/rFQDocumentSellerStatusFilter.ts +1 -1
- package/model/rFQDocumentStatus.ts +1 -1
- package/model/rFQDocumentUpdate.ts +1 -1
- package/model/rFQUpdatePayload.ts +1 -1
- package/model/rFQWebhookEventType.ts +1 -1
- package/model/registerWithdrawalRecipientSettlementRequest.ts +1 -1
- package/model/settlementSteps.ts +1 -1
- package/model/smartContract.ts +1 -1
- package/model/stakeStep.ts +1 -1
- package/model/stakeStepElement.ts +1 -1
- package/model/stepStatus.ts +1 -1
- package/model/submittedQuote.ts +1 -1
- package/model/transaction.ts +1 -1
- package/model/transactionEventType.ts +1 -1
- package/model/transactionsforUser.ts +1 -1
- package/model/unstakeStep.ts +1 -1
- package/model/unstakeStepElement.ts +1 -1
- package/model/unstakeStepType.ts +1 -1
- package/model/validatorInfo.ts +25 -36
- package/model/validatorKeyHolder.ts +1 -1
- package/model/{validatorContractType.ts → validatorType.ts} +2 -2
- package/model/wallet.ts +10 -4
- package/model/webHookLookupAnswer.ts +1 -1
- package/model/webhookPayload.ts +1 -1
- package/model/webhookPayloadData.ts +1 -1
- package/model/webhookPayloadRFQAvailable.ts +1 -1
- package/model/webhookPayloadRFQBidAccepted.ts +1 -1
- package/model/webhookPayloadRFQBidAcceptedDetails.ts +1 -1
- package/model/webhookPayloadRFQBidReceived.ts +1 -1
- package/model/webhookPayloadRFQEscrowEvent.ts +1 -1
- package/model/webhookPayloadRFQEscrowEventDetails.ts +1 -1
- package/model/webhookPayloadRFQEscrowReleased.ts +1 -1
- package/model/webhookPayloadRFQEscrowReleasedDetails.ts +1 -1
- package/model/webhookPayloadRFQTransferProposalReceived.ts +1 -1
- package/model/webhookPayloadRFQTransferProposalReceivedDetails.ts +1 -1
- package/model/webhookPayloadRFQValidatorExited.ts +1 -1
- package/model/webhookPayloadRFQValidatorExitedDetails.ts +1 -1
- package/model/webhookPayloadRFQValidatorWithdrawalChange.ts +1 -1
- package/model/webhookRegistration.ts +1 -1
- package/model/webhookRegistrationDetails.ts +1 -1
- package/model/withdrawalRecipientSettlement.ts +1 -1
- package/model/withdrawalStep.ts +1 -1
- package/model/withdrawalStepElement.ts +1 -1
- package/model/withdrawalStepType.ts +1 -1
- package/package.json +2 -2
- package/dist/model/validatorInfoValidatorType.d.ts +0 -30
- package/dist/model/validatorInfoValidatorType.js +0 -33
- package/dist/model/validatorInfoValidatorTypeContract.d.ts +0 -29
- package/dist/model/validatorInfoValidatorTypeContract.js +0 -33
- package/model/validatorInfoValidatorType.ts +0 -41
- package/model/validatorInfoValidatorTypeContract.ts +0 -40
package/.openapi-generator/FILES
CHANGED
|
@@ -81,11 +81,9 @@ model/transactionsforUser.ts
|
|
|
81
81
|
model/unstakeStep.ts
|
|
82
82
|
model/unstakeStepElement.ts
|
|
83
83
|
model/unstakeStepType.ts
|
|
84
|
-
model/validatorContractType.ts
|
|
85
84
|
model/validatorInfo.ts
|
|
86
|
-
model/validatorInfoValidatorType.ts
|
|
87
|
-
model/validatorInfoValidatorTypeContract.ts
|
|
88
85
|
model/validatorKeyHolder.ts
|
|
86
|
+
model/validatorType.ts
|
|
89
87
|
model/wallet.ts
|
|
90
88
|
model/webHookLookupAnswer.ts
|
|
91
89
|
model/webhookPayload.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.7.0-SNAPSHOT
|
package/api/accountApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -23,7 +23,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
23
23
|
|
|
24
24
|
import { HttpError, RequestFile } from './apis';
|
|
25
25
|
|
|
26
|
-
let defaultBasePath = '/v1';
|
|
26
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
27
27
|
|
|
28
28
|
// ===============================================
|
|
29
29
|
// This file is autogenerated - Please do not edit
|
|
@@ -170,7 +170,7 @@ export class AccountApi {
|
|
|
170
170
|
resolve({ body: body, status: response.statusCode });
|
|
171
171
|
} else {
|
|
172
172
|
console.error('API response error:', response.statusCode);
|
|
173
|
-
|
|
173
|
+
resolve({ body: body, status: response.statusCode });
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -24,7 +24,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
24
24
|
|
|
25
25
|
import { HttpError, RequestFile } from './apis';
|
|
26
26
|
|
|
27
|
-
let defaultBasePath = '/v1';
|
|
27
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
28
28
|
|
|
29
29
|
// ===============================================
|
|
30
30
|
// This file is autogenerated - Please do not edit
|
|
@@ -177,7 +177,7 @@ export class DepositAddressesApi {
|
|
|
177
177
|
resolve({ body: body, status: response.statusCode });
|
|
178
178
|
} else {
|
|
179
179
|
console.error('API response error:', response.statusCode);
|
|
180
|
-
|
|
180
|
+
resolve({ body: body, status: response.statusCode });
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
});
|
|
@@ -257,7 +257,7 @@ export class DepositAddressesApi {
|
|
|
257
257
|
resolve({ body: body, status: response.statusCode });
|
|
258
258
|
} else {
|
|
259
259
|
console.error('API response error:', response.statusCode);
|
|
260
|
-
|
|
260
|
+
resolve({ body: body, status: response.statusCode });
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
});
|
package/api/linkedWalletsApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -16,7 +16,6 @@ import http from 'http';
|
|
|
16
16
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
18
|
import { AddLinkedWalletRequest } from '../model/addLinkedWalletRequest';
|
|
19
|
-
import { Asset } from '../model/asset';
|
|
20
19
|
import { ErrorResponse } from '../model/errorResponse';
|
|
21
20
|
import { Wallet } from '../model/wallet';
|
|
22
21
|
|
|
@@ -25,7 +24,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
25
24
|
|
|
26
25
|
import { HttpError, RequestFile } from './apis';
|
|
27
26
|
|
|
28
|
-
let defaultBasePath = '/v1';
|
|
27
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
29
28
|
|
|
30
29
|
// ===============================================
|
|
31
30
|
// This file is autogenerated - Please do not edit
|
|
@@ -177,7 +176,7 @@ export class LinkedWalletsApi {
|
|
|
177
176
|
resolve({ body: body, status: response.statusCode });
|
|
178
177
|
} else {
|
|
179
178
|
console.error('API response error:', response.statusCode);
|
|
180
|
-
|
|
179
|
+
resolve({ body: body, status: response.statusCode });
|
|
181
180
|
}
|
|
182
181
|
}
|
|
183
182
|
});
|
|
@@ -187,32 +186,26 @@ export class LinkedWalletsApi {
|
|
|
187
186
|
/**
|
|
188
187
|
*
|
|
189
188
|
* @summary Delete a linked/external wallet
|
|
190
|
-
* @param
|
|
191
|
-
* @param asset
|
|
189
|
+
* @param walletId The id of the wallet you wish to delete
|
|
192
190
|
*/
|
|
193
191
|
|
|
194
192
|
|
|
195
193
|
|
|
196
194
|
|
|
197
195
|
|
|
198
|
-
public async deleteLinkedWallet (
|
|
196
|
+
public async deleteLinkedWallet (walletId: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ body: any, status: number }> {
|
|
199
197
|
|
|
200
|
-
const localVarPath = this.basePath + '/linkedWallets/{
|
|
201
|
-
.replace('{' + '
|
|
202
|
-
.replace('{' + 'asset' + '}', encodeURIComponent(String(asset)));
|
|
198
|
+
const localVarPath = this.basePath + '/linkedWallets/{walletId}'
|
|
199
|
+
.replace('{' + 'walletId' + '}', encodeURIComponent(String(walletId)));
|
|
203
200
|
|
|
204
201
|
let localVarQueryParameters: any = {};
|
|
205
202
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
206
203
|
let localVarFormParams: any = {};
|
|
207
204
|
|
|
208
205
|
|
|
209
|
-
// Verify required parameter '
|
|
210
|
-
if (
|
|
211
|
-
throw new Error('Required parameter "
|
|
212
|
-
}
|
|
213
|
-
// Verify required parameter 'asset' is not null or undefined
|
|
214
|
-
if (asset === null || asset === undefined) {
|
|
215
|
-
throw new Error('Required parameter "asset" was null or undefined when calling deleteLinkedWallet.');
|
|
206
|
+
// Verify required parameter 'walletId' is not null or undefined
|
|
207
|
+
if (walletId === null || walletId === undefined) {
|
|
208
|
+
throw new Error('Required parameter "walletId" was null or undefined when calling deleteLinkedWallet.');
|
|
216
209
|
}
|
|
217
210
|
|
|
218
211
|
|
|
@@ -262,7 +255,7 @@ export class LinkedWalletsApi {
|
|
|
262
255
|
resolve({ body: body, status: response.statusCode });
|
|
263
256
|
} else {
|
|
264
257
|
console.error('API response error:', response.statusCode);
|
|
265
|
-
|
|
258
|
+
resolve({ body: body, status: response.statusCode });
|
|
266
259
|
}
|
|
267
260
|
}
|
|
268
261
|
});
|
|
@@ -342,7 +335,7 @@ export class LinkedWalletsApi {
|
|
|
342
335
|
resolve({ body: body, status: response.statusCode });
|
|
343
336
|
} else {
|
|
344
337
|
console.error('API response error:', response.statusCode);
|
|
345
|
-
|
|
338
|
+
resolve({ body: body, status: response.statusCode });
|
|
346
339
|
}
|
|
347
340
|
}
|
|
348
341
|
});
|
package/api/managedUsersApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -26,7 +26,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
26
26
|
|
|
27
27
|
import { HttpError, RequestFile } from './apis';
|
|
28
28
|
|
|
29
|
-
let defaultBasePath = '/v1';
|
|
29
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
30
30
|
|
|
31
31
|
// ===============================================
|
|
32
32
|
// This file is autogenerated - Please do not edit
|
|
@@ -179,7 +179,7 @@ export class ManagedUsersApi {
|
|
|
179
179
|
resolve({ body: body, status: response.statusCode });
|
|
180
180
|
} else {
|
|
181
181
|
console.error('API response error:', response.statusCode);
|
|
182
|
-
|
|
182
|
+
resolve({ body: body, status: response.statusCode });
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
});
|
|
@@ -264,7 +264,7 @@ export class ManagedUsersApi {
|
|
|
264
264
|
resolve({ body: body, status: response.statusCode });
|
|
265
265
|
} else {
|
|
266
266
|
console.error('API response error:', response.statusCode);
|
|
267
|
-
|
|
267
|
+
resolve({ body: body, status: response.statusCode });
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
270
|
});
|
|
@@ -350,7 +350,7 @@ export class ManagedUsersApi {
|
|
|
350
350
|
resolve({ body: body, status: response.statusCode });
|
|
351
351
|
} else {
|
|
352
352
|
console.error('API response error:', response.statusCode);
|
|
353
|
-
|
|
353
|
+
resolve({ body: body, status: response.statusCode });
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
});
|
|
@@ -438,7 +438,7 @@ export class ManagedUsersApi {
|
|
|
438
438
|
resolve({ body: body, status: response.statusCode });
|
|
439
439
|
} else {
|
|
440
440
|
console.error('API response error:', response.statusCode);
|
|
441
|
-
|
|
441
|
+
resolve({ body: body, status: response.statusCode });
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -23,7 +23,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
23
23
|
|
|
24
24
|
import { HttpError, RequestFile } from './apis';
|
|
25
25
|
|
|
26
|
-
let defaultBasePath = '/v1';
|
|
26
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
27
27
|
|
|
28
28
|
// ===============================================
|
|
29
29
|
// This file is autogenerated - Please do not edit
|
|
@@ -176,7 +176,7 @@ export class ManagedUsersDepositAddressesApi {
|
|
|
176
176
|
resolve({ body: body, status: response.statusCode });
|
|
177
177
|
} else {
|
|
178
178
|
console.error('API response error:', response.statusCode);
|
|
179
|
-
|
|
179
|
+
resolve({ body: body, status: response.statusCode });
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -16,7 +16,6 @@ import http from 'http';
|
|
|
16
16
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
18
|
import { AddLinkedWalletForUserRequest } from '../model/addLinkedWalletForUserRequest';
|
|
19
|
-
import { Asset } from '../model/asset';
|
|
20
19
|
import { ErrorResponse } from '../model/errorResponse';
|
|
21
20
|
import { Wallet } from '../model/wallet';
|
|
22
21
|
|
|
@@ -25,7 +24,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
25
24
|
|
|
26
25
|
import { HttpError, RequestFile } from './apis';
|
|
27
26
|
|
|
28
|
-
let defaultBasePath = '/v1';
|
|
27
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
29
28
|
|
|
30
29
|
// ===============================================
|
|
31
30
|
// This file is autogenerated - Please do not edit
|
|
@@ -183,7 +182,7 @@ export class ManagedUsersLinkedWalletsApi {
|
|
|
183
182
|
resolve({ body: body, status: response.statusCode });
|
|
184
183
|
} else {
|
|
185
184
|
console.error('API response error:', response.statusCode);
|
|
186
|
-
|
|
185
|
+
resolve({ body: body, status: response.statusCode });
|
|
187
186
|
}
|
|
188
187
|
}
|
|
189
188
|
});
|
|
@@ -193,21 +192,19 @@ export class ManagedUsersLinkedWalletsApi {
|
|
|
193
192
|
/**
|
|
194
193
|
*
|
|
195
194
|
* @summary Delete a linked wallet for a managed user
|
|
195
|
+
* @param walletId The id of the linked wallet to delete
|
|
196
196
|
* @param userId The unique identifier for the managed user
|
|
197
|
-
* @param walletAddress The wallet address of the linked wallet to delete
|
|
198
|
-
* @param asset
|
|
199
197
|
*/
|
|
200
198
|
|
|
201
199
|
|
|
202
200
|
|
|
203
201
|
|
|
204
202
|
|
|
205
|
-
public async deleteLinkedWalletForUser (
|
|
203
|
+
public async deleteLinkedWalletForUser (walletId: string, userId: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ body: any, status: number }> {
|
|
206
204
|
|
|
207
|
-
const localVarPath = this.basePath + '/managedUsers/{userId}/linkedWallets/{
|
|
208
|
-
.replace('{' + '
|
|
209
|
-
.replace('{' + '
|
|
210
|
-
.replace('{' + 'asset' + '}', encodeURIComponent(String(asset)));
|
|
205
|
+
const localVarPath = this.basePath + '/managedUsers/{userId}/linkedWallets/{walletId}'
|
|
206
|
+
.replace('{' + 'walletId' + '}', encodeURIComponent(String(walletId)))
|
|
207
|
+
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
211
208
|
|
|
212
209
|
let localVarQueryParameters: any = {};
|
|
213
210
|
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
@@ -220,18 +217,14 @@ export class ManagedUsersLinkedWalletsApi {
|
|
|
220
217
|
let localVarFormParams: any = {};
|
|
221
218
|
|
|
222
219
|
|
|
220
|
+
// Verify required parameter 'walletId' is not null or undefined
|
|
221
|
+
if (walletId === null || walletId === undefined) {
|
|
222
|
+
throw new Error('Required parameter "walletId" was null or undefined when calling deleteLinkedWalletForUser.');
|
|
223
|
+
}
|
|
223
224
|
// Verify required parameter 'userId' is not null or undefined
|
|
224
225
|
if (userId === null || userId === undefined) {
|
|
225
226
|
throw new Error('Required parameter "userId" was null or undefined when calling deleteLinkedWalletForUser.');
|
|
226
227
|
}
|
|
227
|
-
// Verify required parameter 'walletAddress' is not null or undefined
|
|
228
|
-
if (walletAddress === null || walletAddress === undefined) {
|
|
229
|
-
throw new Error('Required parameter "walletAddress" was null or undefined when calling deleteLinkedWalletForUser.');
|
|
230
|
-
}
|
|
231
|
-
// Verify required parameter 'asset' is not null or undefined
|
|
232
|
-
if (asset === null || asset === undefined) {
|
|
233
|
-
throw new Error('Required parameter "asset" was null or undefined when calling deleteLinkedWalletForUser.');
|
|
234
|
-
}
|
|
235
228
|
|
|
236
229
|
|
|
237
230
|
|
|
@@ -280,7 +273,7 @@ export class ManagedUsersLinkedWalletsApi {
|
|
|
280
273
|
resolve({ body: body, status: response.statusCode });
|
|
281
274
|
} else {
|
|
282
275
|
console.error('API response error:', response.statusCode);
|
|
283
|
-
|
|
276
|
+
resolve({ body: body, status: response.statusCode });
|
|
284
277
|
}
|
|
285
278
|
}
|
|
286
279
|
});
|
|
@@ -366,7 +359,7 @@ export class ManagedUsersLinkedWalletsApi {
|
|
|
366
359
|
resolve({ body: body, status: response.statusCode });
|
|
367
360
|
} else {
|
|
368
361
|
console.error('API response error:', response.statusCode);
|
|
369
|
-
|
|
362
|
+
resolve({ body: body, status: response.statusCode });
|
|
370
363
|
}
|
|
371
364
|
}
|
|
372
365
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -24,7 +24,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
24
24
|
|
|
25
25
|
import { HttpError, RequestFile } from './apis';
|
|
26
26
|
|
|
27
|
-
let defaultBasePath = '/v1';
|
|
27
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
28
28
|
|
|
29
29
|
// ===============================================
|
|
30
30
|
// This file is autogenerated - Please do not edit
|
|
@@ -182,7 +182,7 @@ export class ManagedUsersOrdersApi {
|
|
|
182
182
|
resolve({ body: body, status: response.statusCode });
|
|
183
183
|
} else {
|
|
184
184
|
console.error('API response error:', response.statusCode);
|
|
185
|
-
|
|
185
|
+
resolve({ body: body, status: response.statusCode });
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
});
|
|
@@ -274,7 +274,7 @@ export class ManagedUsersOrdersApi {
|
|
|
274
274
|
resolve({ body: body, status: response.statusCode });
|
|
275
275
|
} else {
|
|
276
276
|
console.error('API response error:', response.statusCode);
|
|
277
|
-
|
|
277
|
+
resolve({ body: body, status: response.statusCode });
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
});
|
|
@@ -360,7 +360,7 @@ export class ManagedUsersOrdersApi {
|
|
|
360
360
|
resolve({ body: body, status: response.statusCode });
|
|
361
361
|
} else {
|
|
362
362
|
console.error('API response error:', response.statusCode);
|
|
363
|
-
|
|
363
|
+
resolve({ body: body, status: response.statusCode });
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
});
|
|
@@ -452,7 +452,7 @@ export class ManagedUsersOrdersApi {
|
|
|
452
452
|
resolve({ body: body, status: response.statusCode });
|
|
453
453
|
} else {
|
|
454
454
|
console.error('API response error:', response.statusCode);
|
|
455
|
-
|
|
455
|
+
resolve({ body: body, status: response.statusCode });
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -23,7 +23,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
23
23
|
|
|
24
24
|
import { HttpError, RequestFile } from './apis';
|
|
25
25
|
|
|
26
|
-
let defaultBasePath = '/v1';
|
|
26
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
27
27
|
|
|
28
28
|
// ===============================================
|
|
29
29
|
// This file is autogenerated - Please do not edit
|
|
@@ -176,7 +176,7 @@ export class ManagedUsersPortfolioApi {
|
|
|
176
176
|
resolve({ body: body, status: response.statusCode });
|
|
177
177
|
} else {
|
|
178
178
|
console.error('API response error:', response.statusCode);
|
|
179
|
-
|
|
179
|
+
resolve({ body: body, status: response.statusCode });
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -25,7 +25,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
25
25
|
|
|
26
26
|
import { HttpError, RequestFile } from './apis';
|
|
27
27
|
|
|
28
|
-
let defaultBasePath = '/v1';
|
|
28
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
29
29
|
|
|
30
30
|
// ===============================================
|
|
31
31
|
// This file is autogenerated - Please do not edit
|
|
@@ -212,7 +212,7 @@ export class ManagedUsersTransactionsApi {
|
|
|
212
212
|
resolve({ body: body, status: response.statusCode });
|
|
213
213
|
} else {
|
|
214
214
|
console.error('API response error:', response.statusCode);
|
|
215
|
-
|
|
215
|
+
resolve({ body: body, status: response.statusCode });
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -23,7 +23,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
23
23
|
|
|
24
24
|
import { HttpError, RequestFile } from './apis';
|
|
25
25
|
|
|
26
|
-
let defaultBasePath = '/v1';
|
|
26
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
27
27
|
|
|
28
28
|
// ===============================================
|
|
29
29
|
// This file is autogenerated - Please do not edit
|
|
@@ -176,7 +176,7 @@ export class ManagedUsersValidatorsApi {
|
|
|
176
176
|
resolve({ body: body, status: response.statusCode });
|
|
177
177
|
} else {
|
|
178
178
|
console.error('API response error:', response.statusCode);
|
|
179
|
-
|
|
179
|
+
resolve({ body: body, status: response.statusCode });
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
});
|
package/api/ordersApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -24,7 +24,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
24
24
|
|
|
25
25
|
import { HttpError, RequestFile } from './apis';
|
|
26
26
|
|
|
27
|
-
let defaultBasePath = '/v1';
|
|
27
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
28
28
|
|
|
29
29
|
// ===============================================
|
|
30
30
|
// This file is autogenerated - Please do not edit
|
|
@@ -170,7 +170,7 @@ export class OrdersApi {
|
|
|
170
170
|
resolve({ body: body, status: response.statusCode });
|
|
171
171
|
} else {
|
|
172
172
|
console.error('API response error:', response.statusCode);
|
|
173
|
-
|
|
173
|
+
resolve({ body: body, status: response.statusCode });
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
});
|
|
@@ -256,7 +256,7 @@ export class OrdersApi {
|
|
|
256
256
|
resolve({ body: body, status: response.statusCode });
|
|
257
257
|
} else {
|
|
258
258
|
console.error('API response error:', response.statusCode);
|
|
259
|
-
|
|
259
|
+
resolve({ body: body, status: response.statusCode });
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
});
|
|
@@ -342,7 +342,7 @@ export class OrdersApi {
|
|
|
342
342
|
resolve({ body: body, status: response.statusCode });
|
|
343
343
|
} else {
|
|
344
344
|
console.error('API response error:', response.statusCode);
|
|
345
|
-
|
|
345
|
+
resolve({ body: body, status: response.statusCode });
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
});
|
|
@@ -422,7 +422,7 @@ export class OrdersApi {
|
|
|
422
422
|
resolve({ body: body, status: response.statusCode });
|
|
423
423
|
} else {
|
|
424
424
|
console.error('API response error:', response.statusCode);
|
|
425
|
-
|
|
425
|
+
resolve({ body: body, status: response.statusCode });
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
});
|
package/api/portfolioApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -23,7 +23,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
23
23
|
|
|
24
24
|
import { HttpError, RequestFile } from './apis';
|
|
25
25
|
|
|
26
|
-
let defaultBasePath = '/v1';
|
|
26
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
27
27
|
|
|
28
28
|
// ===============================================
|
|
29
29
|
// This file is autogenerated - Please do not edit
|
|
@@ -170,7 +170,7 @@ export class PortfolioApi {
|
|
|
170
170
|
resolve({ body: body, status: response.statusCode });
|
|
171
171
|
} else {
|
|
172
172
|
console.error('API response error:', response.statusCode);
|
|
173
|
-
|
|
173
|
+
resolve({ body: body, status: response.statusCode });
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
});
|
package/api/transactionsApi.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -25,7 +25,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
25
25
|
|
|
26
26
|
import { HttpError, RequestFile } from './apis';
|
|
27
27
|
|
|
28
|
-
let defaultBasePath = '/v1';
|
|
28
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
29
29
|
|
|
30
30
|
// ===============================================
|
|
31
31
|
// This file is autogenerated - Please do not edit
|
|
@@ -205,7 +205,7 @@ export class TransactionsApi {
|
|
|
205
205
|
resolve({ body: body, status: response.statusCode });
|
|
206
206
|
} else {
|
|
207
207
|
console.error('API response error:', response.statusCode);
|
|
208
|
-
|
|
208
|
+
resolve({ body: body, status: response.statusCode });
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Northstake
|
|
3
|
-
* Northstake api
|
|
3
|
+
* Northstake api
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
*
|
|
@@ -26,7 +26,7 @@ import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../mo
|
|
|
26
26
|
|
|
27
27
|
import { HttpError, RequestFile } from './apis';
|
|
28
28
|
|
|
29
|
-
let defaultBasePath = '/v1';
|
|
29
|
+
let defaultBasePath = 'https://api.northstake.dk/v1';
|
|
30
30
|
|
|
31
31
|
// ===============================================
|
|
32
32
|
// This file is autogenerated - Please do not edit
|
|
@@ -179,7 +179,7 @@ export class ValidatorMarketplaceBuyersApi {
|
|
|
179
179
|
resolve({ body: body, status: response.statusCode });
|
|
180
180
|
} else {
|
|
181
181
|
console.error('API response error:', response.statusCode);
|
|
182
|
-
|
|
182
|
+
resolve({ body: body, status: response.statusCode });
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
});
|
|
@@ -263,7 +263,7 @@ export class ValidatorMarketplaceBuyersApi {
|
|
|
263
263
|
resolve({ body: body, status: response.statusCode });
|
|
264
264
|
} else {
|
|
265
265
|
console.error('API response error:', response.statusCode);
|
|
266
|
-
|
|
266
|
+
resolve({ body: body, status: response.statusCode });
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
});
|
|
@@ -354,7 +354,7 @@ export class ValidatorMarketplaceBuyersApi {
|
|
|
354
354
|
resolve({ body: body, status: response.statusCode });
|
|
355
355
|
} else {
|
|
356
356
|
console.error('API response error:', response.statusCode);
|
|
357
|
-
|
|
357
|
+
resolve({ body: body, status: response.statusCode });
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
});
|
|
@@ -445,7 +445,7 @@ export class ValidatorMarketplaceBuyersApi {
|
|
|
445
445
|
resolve({ body: body, status: response.statusCode });
|
|
446
446
|
} else {
|
|
447
447
|
console.error('API response error:', response.statusCode);
|
|
448
|
-
|
|
448
|
+
resolve({ body: body, status: response.statusCode });
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
});
|