@northstake/northstakeapi 1.0.24 → 1.0.26
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 +6 -36
- package/.openapi-generator/VERSION +1 -1
- package/api/apis.ts +3 -23
- package/api/{managedUsersApi.ts → smartContractsApi.ts} +118 -53
- package/api.ts +9 -69
- package/dist/api/apis.d.ts +3 -23
- package/dist/api/apis.js +3 -23
- package/dist/api/smartContractsApi.d.ts +125 -0
- package/dist/api/{managedUsersApi.js → smartContractsApi.js} +90 -49
- package/dist/api.d.ts +7 -47
- package/dist/api.js +8 -58
- package/dist/model/{getTransactionsResponse.d.ts → getSmartContractInternalTransactions200Response.d.ts} +7 -7
- package/dist/model/{transactionsforUser.js → getSmartContractInternalTransactions200Response.js} +11 -11
- package/dist/model/{allManagedUsersResponse.d.ts → getSmartContractMinedBlocks200Response.d.ts} +4 -4
- package/dist/model/{allManagedUsersResponse.js → getSmartContractMinedBlocks200Response.js} +9 -9
- package/dist/model/{transactionsforUser.d.ts → getSmartContractTransactions200Response.d.ts} +5 -5
- package/dist/model/{getTransactionsResponse.js → getSmartContractTransactions200Response.js} +10 -10
- package/dist/model/{stakeStep.d.ts → internalTransaction.d.ts} +9 -7
- package/dist/model/internalTransaction.js +58 -0
- package/dist/model/{managedUser.d.ts → minedBlock.d.ts} +8 -6
- package/dist/model/minedBlock.js +43 -0
- package/dist/model/models.d.ts +5 -25
- package/dist/model/models.js +15 -67
- package/dist/model/transaction.d.ts +40 -17
- package/dist/model/transaction.js +74 -17
- package/dist/model/webhookPayloadData.d.ts +2 -10
- package/dist/model/webhookPayloadData.js +2 -12
- package/model/{transactionsforUser.ts → getSmartContractInternalTransactions200Response.ts} +13 -13
- package/model/{allManagedUsersResponse.ts → getSmartContractMinedBlocks200Response.ts} +8 -8
- package/model/{getTransactionsResponse.ts → getSmartContractTransactions200Response.ts} +10 -10
- package/model/internalTransaction.ts +70 -0
- package/model/{depositAddress.ts → minedBlock.ts} +19 -13
- package/model/models.ts +17 -114
- package/model/transaction.ts +114 -31
- package/model/webhookPayloadData.ts +4 -23
- package/package.json +1 -1
- package/api/depositAddressesApi.ts +0 -267
- package/api/managedUsersDepositAddressesApi.ts +0 -186
- package/api/managedUsersLinkedWalletsApi.ts +0 -369
- package/api/managedUsersOrdersApi.ts +0 -462
- package/api/managedUsersPortfolioApi.ts +0 -186
- package/api/managedUsersTransactionsApi.ts +0 -222
- package/api/managedUsersValidatorsApi.ts +0 -302
- package/api/ordersApi.ts +0 -432
- package/api/portfolioApi.ts +0 -180
- package/api/transactionsApi.ts +0 -215
- package/dist/api/depositAddressesApi.d.ts +0 -64
- package/dist/api/depositAddressesApi.js +0 -207
- package/dist/api/managedUsersApi.d.ts +0 -94
- package/dist/api/managedUsersDepositAddressesApi.d.ts +0 -51
- package/dist/api/managedUsersDepositAddressesApi.js +0 -146
- package/dist/api/managedUsersLinkedWalletsApi.d.ts +0 -80
- package/dist/api/managedUsersLinkedWalletsApi.js +0 -290
- package/dist/api/managedUsersOrdersApi.d.ts +0 -94
- package/dist/api/managedUsersOrdersApi.js +0 -364
- package/dist/api/managedUsersPortfolioApi.d.ts +0 -51
- package/dist/api/managedUsersPortfolioApi.js +0 -146
- package/dist/api/managedUsersTransactionsApi.d.ts +0 -68
- package/dist/api/managedUsersTransactionsApi.js +0 -170
- package/dist/api/managedUsersValidatorsApi.d.ts +0 -78
- package/dist/api/managedUsersValidatorsApi.js +0 -233
- package/dist/api/ordersApi.d.ts +0 -90
- package/dist/api/ordersApi.js +0 -333
- package/dist/api/portfolioApi.d.ts +0 -50
- package/dist/api/portfolioApi.js +0 -140
- package/dist/api/transactionsApi.d.ts +0 -66
- package/dist/api/transactionsApi.js +0 -164
- package/dist/model/addLinkedWalletForUserRequest.d.ts +0 -29
- package/dist/model/addLinkedWalletForUserRequest.js +0 -33
- package/dist/model/createManagedUserRequest.d.ts +0 -25
- package/dist/model/createManagedUserRequest.js +0 -28
- package/dist/model/depositAddress.d.ts +0 -35
- package/dist/model/depositAddress.js +0 -36
- package/dist/model/depositAddressesForUserResponse.d.ts +0 -27
- package/dist/model/depositAddressesForUserResponse.js +0 -33
- package/dist/model/managedUser.js +0 -36
- package/dist/model/managedUserDetails.d.ts +0 -31
- package/dist/model/managedUserDetails.js +0 -41
- package/dist/model/order.d.ts +0 -42
- package/dist/model/order.js +0 -48
- package/dist/model/orderDocument.d.ts +0 -50
- package/dist/model/orderDocument.js +0 -71
- package/dist/model/orderDocumentSteps.d.ts +0 -30
- package/dist/model/orderDocumentSteps.js +0 -33
- package/dist/model/orderType.d.ts +0 -15
- package/dist/model/orderType.js +0 -13
- package/dist/model/orderUpdatePayload.d.ts +0 -36
- package/dist/model/orderUpdatePayload.js +0 -38
- package/dist/model/portfolioEntity.d.ts +0 -33
- package/dist/model/portfolioEntity.js +0 -41
- package/dist/model/stakeStep.js +0 -33
- package/dist/model/stakeStepElement.d.ts +0 -30
- package/dist/model/stakeStepElement.js +0 -33
- package/dist/model/stepStatus.d.ts +0 -15
- package/dist/model/stepStatus.js +0 -13
- package/dist/model/transactionEventType.d.ts +0 -15
- package/dist/model/transactionEventType.js +0 -13
- package/dist/model/unstakeStep.d.ts +0 -32
- package/dist/model/unstakeStep.js +0 -33
- package/dist/model/unstakeStepElement.d.ts +0 -30
- package/dist/model/unstakeStepElement.js +0 -33
- package/dist/model/unstakeStepType.d.ts +0 -15
- package/dist/model/unstakeStepType.js +0 -13
- package/dist/model/withdrawalStep.d.ts +0 -32
- package/dist/model/withdrawalStep.js +0 -33
- package/dist/model/withdrawalStepElement.d.ts +0 -30
- package/dist/model/withdrawalStepElement.js +0 -33
- package/dist/model/withdrawalStepType.d.ts +0 -15
- package/dist/model/withdrawalStepType.js +0 -13
- package/model/addLinkedWalletForUserRequest.ts +0 -40
- package/model/createManagedUserRequest.ts +0 -31
- package/model/depositAddressesForUserResponse.ts +0 -38
- package/model/managedUser.ts +0 -40
- package/model/managedUserDetails.ts +0 -47
- package/model/order.ts +0 -68
- package/model/orderDocument.ts +0 -106
- package/model/orderDocumentSteps.ts +0 -44
- package/model/orderType.ts +0 -21
- package/model/orderUpdatePayload.ts +0 -52
- package/model/portfolioEntity.ts +0 -49
- package/model/stakeStep.ts +0 -43
- package/model/stakeStepElement.ts +0 -41
- package/model/stepStatus.ts +0 -21
- package/model/transactionEventType.ts +0 -23
- package/model/unstakeStep.ts +0 -43
- package/model/unstakeStepElement.ts +0 -41
- package/model/unstakeStepType.ts +0 -32
- package/model/withdrawalStep.ts +0 -43
- package/model/withdrawalStepElement.ts +0 -41
- package/model/withdrawalStepType.ts +0 -24
package/dist/api.js
CHANGED
|
@@ -19,18 +19,8 @@ exports.NorthstakeApi = void 0;
|
|
|
19
19
|
const models_1 = require("./model/models");
|
|
20
20
|
const accountApi_1 = require("./api/accountApi");
|
|
21
21
|
const accountApiKeysApi_1 = require("./api/accountApiKeysApi");
|
|
22
|
-
const depositAddressesApi_1 = require("./api/depositAddressesApi");
|
|
23
22
|
const linkedWalletsApi_1 = require("./api/linkedWalletsApi");
|
|
24
|
-
const
|
|
25
|
-
const managedUsersDepositAddressesApi_1 = require("./api/managedUsersDepositAddressesApi");
|
|
26
|
-
const managedUsersLinkedWalletsApi_1 = require("./api/managedUsersLinkedWalletsApi");
|
|
27
|
-
const managedUsersOrdersApi_1 = require("./api/managedUsersOrdersApi");
|
|
28
|
-
const managedUsersPortfolioApi_1 = require("./api/managedUsersPortfolioApi");
|
|
29
|
-
const managedUsersTransactionsApi_1 = require("./api/managedUsersTransactionsApi");
|
|
30
|
-
const managedUsersValidatorsApi_1 = require("./api/managedUsersValidatorsApi");
|
|
31
|
-
const ordersApi_1 = require("./api/ordersApi");
|
|
32
|
-
const portfolioApi_1 = require("./api/portfolioApi");
|
|
33
|
-
const transactionsApi_1 = require("./api/transactionsApi");
|
|
23
|
+
const smartContractsApi_1 = require("./api/smartContractsApi");
|
|
34
24
|
const validatorMarketplaceBuyersApi_1 = require("./api/validatorMarketplaceBuyersApi");
|
|
35
25
|
const validatorMarketplaceFacilitatorApi_1 = require("./api/validatorMarketplaceFacilitatorApi");
|
|
36
26
|
const validatorMarketplaceSellersApi_1 = require("./api/validatorMarketplaceSellersApi");
|
|
@@ -38,15 +28,10 @@ const validatorMarketplaceWebhooksApi_1 = require("./api/validatorMarketplaceWeb
|
|
|
38
28
|
const validatorsApi_1 = require("./api/validatorsApi");
|
|
39
29
|
__exportStar(require("./model/./acceptedQuote"), exports);
|
|
40
30
|
__exportStar(require("./model/./accountEntity"), exports);
|
|
41
|
-
__exportStar(require("./model/./addLinkedWalletForUserRequest"), exports);
|
|
42
31
|
__exportStar(require("./model/./addLinkedWalletRequest"), exports);
|
|
43
|
-
__exportStar(require("./model/./allManagedUsersResponse"), exports);
|
|
44
32
|
__exportStar(require("./model/./apiKey"), exports);
|
|
45
33
|
__exportStar(require("./model/./asset"), exports);
|
|
46
|
-
__exportStar(require("./model/./createManagedUserRequest"), exports);
|
|
47
34
|
__exportStar(require("./model/./createRFQRequest"), exports);
|
|
48
|
-
__exportStar(require("./model/./depositAddress"), exports);
|
|
49
|
-
__exportStar(require("./model/./depositAddressesForUserResponse"), exports);
|
|
50
35
|
__exportStar(require("./model/./errorResponse"), exports);
|
|
51
36
|
__exportStar(require("./model/./escrowPayment"), exports);
|
|
52
37
|
__exportStar(require("./model/./escrowReleased"), exports);
|
|
@@ -63,17 +48,13 @@ __exportStar(require("./model/./exitEstimateSeller"), exports);
|
|
|
63
48
|
__exportStar(require("./model/./exitProposal"), exports);
|
|
64
49
|
__exportStar(require("./model/./generateApiKeyRequest"), exports);
|
|
65
50
|
__exportStar(require("./model/./getMarketplaceMetadata200Response"), exports);
|
|
66
|
-
__exportStar(require("./model/./
|
|
51
|
+
__exportStar(require("./model/./getSmartContractInternalTransactions200Response"), exports);
|
|
52
|
+
__exportStar(require("./model/./getSmartContractMinedBlocks200Response"), exports);
|
|
53
|
+
__exportStar(require("./model/./getSmartContractTransactions200Response"), exports);
|
|
67
54
|
__exportStar(require("./model/./getWithdrawalsResponse"), exports);
|
|
55
|
+
__exportStar(require("./model/./internalTransaction"), exports);
|
|
68
56
|
__exportStar(require("./model/./listAllRFQsForFacilitator200Response"), exports);
|
|
69
|
-
__exportStar(require("./model/./
|
|
70
|
-
__exportStar(require("./model/./managedUserDetails"), exports);
|
|
71
|
-
__exportStar(require("./model/./order"), exports);
|
|
72
|
-
__exportStar(require("./model/./orderDocument"), exports);
|
|
73
|
-
__exportStar(require("./model/./orderDocumentSteps"), exports);
|
|
74
|
-
__exportStar(require("./model/./orderType"), exports);
|
|
75
|
-
__exportStar(require("./model/./orderUpdatePayload"), exports);
|
|
76
|
-
__exportStar(require("./model/./portfolioEntity"), exports);
|
|
57
|
+
__exportStar(require("./model/./minedBlock"), exports);
|
|
77
58
|
__exportStar(require("./model/./provideEscrowHashForRFQDocumentRequest"), exports);
|
|
78
59
|
__exportStar(require("./model/./quote"), exports);
|
|
79
60
|
__exportStar(require("./model/./rFQBidFacilitator"), exports);
|
|
@@ -96,16 +77,8 @@ __exportStar(require("./model/./rFQWebhookEventType"), exports);
|
|
|
96
77
|
__exportStar(require("./model/./registerWithdrawalRecipientSettlementRequest"), exports);
|
|
97
78
|
__exportStar(require("./model/./settlementSteps"), exports);
|
|
98
79
|
__exportStar(require("./model/./smartContract"), exports);
|
|
99
|
-
__exportStar(require("./model/./stakeStep"), exports);
|
|
100
|
-
__exportStar(require("./model/./stakeStepElement"), exports);
|
|
101
|
-
__exportStar(require("./model/./stepStatus"), exports);
|
|
102
80
|
__exportStar(require("./model/./submittedQuote"), exports);
|
|
103
81
|
__exportStar(require("./model/./transaction"), exports);
|
|
104
|
-
__exportStar(require("./model/./transactionEventType"), exports);
|
|
105
|
-
__exportStar(require("./model/./transactionsforUser"), exports);
|
|
106
|
-
__exportStar(require("./model/./unstakeStep"), exports);
|
|
107
|
-
__exportStar(require("./model/./unstakeStepElement"), exports);
|
|
108
|
-
__exportStar(require("./model/./unstakeStepType"), exports);
|
|
109
82
|
__exportStar(require("./model/./validatorInfo"), exports);
|
|
110
83
|
__exportStar(require("./model/./validatorKeyHolder"), exports);
|
|
111
84
|
__exportStar(require("./model/./validatorType"), exports);
|
|
@@ -134,9 +107,6 @@ __exportStar(require("./model/./webhookPayloadRFQWithdrawalClaimableDetails"), e
|
|
|
134
107
|
__exportStar(require("./model/./webhookRegistration"), exports);
|
|
135
108
|
__exportStar(require("./model/./webhookRegistrationDetails"), exports);
|
|
136
109
|
__exportStar(require("./model/./withdrawalRecipientSettlement"), exports);
|
|
137
|
-
__exportStar(require("./model/./withdrawalStep"), exports);
|
|
138
|
-
__exportStar(require("./model/./withdrawalStepElement"), exports);
|
|
139
|
-
__exportStar(require("./model/./withdrawalStepType"), exports);
|
|
140
110
|
class NorthstakeApi {
|
|
141
111
|
constructor(apiKey, privateKey, basePath = "https://api.northstake.dk/v1") {
|
|
142
112
|
const jwtAuth = new models_1.JWTAuth(apiKey, privateKey);
|
|
@@ -144,30 +114,10 @@ class NorthstakeApi {
|
|
|
144
114
|
this.account.setDefaultAuthentication(jwtAuth);
|
|
145
115
|
this.accountApiKeys = new accountApiKeysApi_1.AccountApiKeysApi(basePath);
|
|
146
116
|
this.accountApiKeys.setDefaultAuthentication(jwtAuth);
|
|
147
|
-
this.depositAddresses = new depositAddressesApi_1.DepositAddressesApi(basePath);
|
|
148
|
-
this.depositAddresses.setDefaultAuthentication(jwtAuth);
|
|
149
117
|
this.linkedWallets = new linkedWalletsApi_1.LinkedWalletsApi(basePath);
|
|
150
118
|
this.linkedWallets.setDefaultAuthentication(jwtAuth);
|
|
151
|
-
this.
|
|
152
|
-
this.
|
|
153
|
-
this.managedUsersDepositAddresses = new managedUsersDepositAddressesApi_1.ManagedUsersDepositAddressesApi(basePath);
|
|
154
|
-
this.managedUsersDepositAddresses.setDefaultAuthentication(jwtAuth);
|
|
155
|
-
this.managedUsersLinkedWallets = new managedUsersLinkedWalletsApi_1.ManagedUsersLinkedWalletsApi(basePath);
|
|
156
|
-
this.managedUsersLinkedWallets.setDefaultAuthentication(jwtAuth);
|
|
157
|
-
this.managedUsersOrders = new managedUsersOrdersApi_1.ManagedUsersOrdersApi(basePath);
|
|
158
|
-
this.managedUsersOrders.setDefaultAuthentication(jwtAuth);
|
|
159
|
-
this.managedUsersPortfolio = new managedUsersPortfolioApi_1.ManagedUsersPortfolioApi(basePath);
|
|
160
|
-
this.managedUsersPortfolio.setDefaultAuthentication(jwtAuth);
|
|
161
|
-
this.managedUsersTransactions = new managedUsersTransactionsApi_1.ManagedUsersTransactionsApi(basePath);
|
|
162
|
-
this.managedUsersTransactions.setDefaultAuthentication(jwtAuth);
|
|
163
|
-
this.managedUsersValidators = new managedUsersValidatorsApi_1.ManagedUsersValidatorsApi(basePath);
|
|
164
|
-
this.managedUsersValidators.setDefaultAuthentication(jwtAuth);
|
|
165
|
-
this.orders = new ordersApi_1.OrdersApi(basePath);
|
|
166
|
-
this.orders.setDefaultAuthentication(jwtAuth);
|
|
167
|
-
this.portfolio = new portfolioApi_1.PortfolioApi(basePath);
|
|
168
|
-
this.portfolio.setDefaultAuthentication(jwtAuth);
|
|
169
|
-
this.transactions = new transactionsApi_1.TransactionsApi(basePath);
|
|
170
|
-
this.transactions.setDefaultAuthentication(jwtAuth);
|
|
119
|
+
this.smartContracts = new smartContractsApi_1.SmartContractsApi(basePath);
|
|
120
|
+
this.smartContracts.setDefaultAuthentication(jwtAuth);
|
|
171
121
|
this.validatorMarketplaceBuyers = new validatorMarketplaceBuyersApi_1.ValidatorMarketplaceBuyersApi(basePath);
|
|
172
122
|
this.validatorMarketplaceBuyers.setDefaultAuthentication(jwtAuth);
|
|
173
123
|
this.validatorMarketplaceFacilitator = new validatorMarketplaceFacilitatorApi_1.ValidatorMarketplaceFacilitatorApi(basePath);
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
export declare class
|
|
14
|
-
'transactions': Array<
|
|
12
|
+
import { InternalTransaction } from './internalTransaction';
|
|
13
|
+
export declare class GetSmartContractInternalTransactions200Response {
|
|
14
|
+
'transactions': Array<InternalTransaction>;
|
|
15
15
|
/**
|
|
16
|
-
* Total number of
|
|
16
|
+
* Total number of internal transactions
|
|
17
17
|
*/
|
|
18
|
-
'
|
|
18
|
+
'total': number;
|
|
19
19
|
/**
|
|
20
|
-
* Total number of
|
|
20
|
+
* Total number of pages
|
|
21
21
|
*/
|
|
22
|
-
'
|
|
22
|
+
'pages': number;
|
|
23
23
|
/**
|
|
24
24
|
* Current page number
|
|
25
25
|
*/
|
package/dist/model/{transactionsforUser.js → getSmartContractInternalTransactions200Response.js}
RENAMED
|
@@ -11,28 +11,28 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
class
|
|
14
|
+
exports.GetSmartContractInternalTransactions200Response = void 0;
|
|
15
|
+
class GetSmartContractInternalTransactions200Response {
|
|
16
16
|
static getAttributeTypeMap() {
|
|
17
|
-
return
|
|
17
|
+
return GetSmartContractInternalTransactions200Response.attributeTypeMap;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
exports.
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
exports.GetSmartContractInternalTransactions200Response = GetSmartContractInternalTransactions200Response;
|
|
21
|
+
GetSmartContractInternalTransactions200Response.discriminator = undefined;
|
|
22
|
+
GetSmartContractInternalTransactions200Response.attributeTypeMap = [
|
|
23
23
|
{
|
|
24
24
|
"name": "transactions",
|
|
25
25
|
"baseName": "transactions",
|
|
26
|
-
"type": "Array<
|
|
26
|
+
"type": "Array<InternalTransaction>"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
"name": "
|
|
30
|
-
"baseName": "
|
|
29
|
+
"name": "total",
|
|
30
|
+
"baseName": "total",
|
|
31
31
|
"type": "number"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"name": "
|
|
35
|
-
"baseName": "
|
|
34
|
+
"name": "pages",
|
|
35
|
+
"baseName": "pages",
|
|
36
36
|
"type": "number"
|
|
37
37
|
},
|
|
38
38
|
{
|
package/dist/model/{allManagedUsersResponse.d.ts → getSmartContractMinedBlocks200Response.d.ts}
RENAMED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
export declare class
|
|
14
|
-
'
|
|
12
|
+
import { MinedBlock } from './minedBlock';
|
|
13
|
+
export declare class GetSmartContractMinedBlocks200Response {
|
|
14
|
+
'blocks': Array<MinedBlock>;
|
|
15
15
|
/**
|
|
16
|
-
* Total number of
|
|
16
|
+
* Total number of mined blocks
|
|
17
17
|
*/
|
|
18
18
|
'total': number;
|
|
19
19
|
/**
|
|
@@ -11,19 +11,19 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
class
|
|
14
|
+
exports.GetSmartContractMinedBlocks200Response = void 0;
|
|
15
|
+
class GetSmartContractMinedBlocks200Response {
|
|
16
16
|
static getAttributeTypeMap() {
|
|
17
|
-
return
|
|
17
|
+
return GetSmartContractMinedBlocks200Response.attributeTypeMap;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
exports.
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
exports.GetSmartContractMinedBlocks200Response = GetSmartContractMinedBlocks200Response;
|
|
21
|
+
GetSmartContractMinedBlocks200Response.discriminator = undefined;
|
|
22
|
+
GetSmartContractMinedBlocks200Response.attributeTypeMap = [
|
|
23
23
|
{
|
|
24
|
-
"name": "
|
|
25
|
-
"baseName": "
|
|
26
|
-
"type": "Array<
|
|
24
|
+
"name": "blocks",
|
|
25
|
+
"baseName": "blocks",
|
|
26
|
+
"type": "Array<MinedBlock>"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"name": "total",
|
package/dist/model/{transactionsforUser.d.ts → getSmartContractTransactions200Response.d.ts}
RENAMED
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Transaction } from './transaction';
|
|
13
|
-
export declare class
|
|
13
|
+
export declare class GetSmartContractTransactions200Response {
|
|
14
14
|
'transactions': Array<Transaction>;
|
|
15
15
|
/**
|
|
16
|
-
* Total number of pages
|
|
17
|
-
*/
|
|
18
|
-
'pages': number;
|
|
19
|
-
/**
|
|
20
16
|
* Total number of transactions
|
|
21
17
|
*/
|
|
22
18
|
'total': number;
|
|
23
19
|
/**
|
|
20
|
+
* Total number of pages
|
|
21
|
+
*/
|
|
22
|
+
'pages': number;
|
|
23
|
+
/**
|
|
24
24
|
* Current page number
|
|
25
25
|
*/
|
|
26
26
|
'currentPage': number;
|
package/dist/model/{getTransactionsResponse.js → getSmartContractTransactions200Response.js}
RENAMED
|
@@ -11,28 +11,28 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
class
|
|
14
|
+
exports.GetSmartContractTransactions200Response = void 0;
|
|
15
|
+
class GetSmartContractTransactions200Response {
|
|
16
16
|
static getAttributeTypeMap() {
|
|
17
|
-
return
|
|
17
|
+
return GetSmartContractTransactions200Response.attributeTypeMap;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
exports.
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
exports.GetSmartContractTransactions200Response = GetSmartContractTransactions200Response;
|
|
21
|
+
GetSmartContractTransactions200Response.discriminator = undefined;
|
|
22
|
+
GetSmartContractTransactions200Response.attributeTypeMap = [
|
|
23
23
|
{
|
|
24
24
|
"name": "transactions",
|
|
25
25
|
"baseName": "transactions",
|
|
26
26
|
"type": "Array<Transaction>"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
"name": "
|
|
30
|
-
"baseName": "
|
|
29
|
+
"name": "total",
|
|
30
|
+
"baseName": "total",
|
|
31
31
|
"type": "number"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"name": "
|
|
35
|
-
"baseName": "
|
|
34
|
+
"name": "pages",
|
|
35
|
+
"baseName": "pages",
|
|
36
36
|
"type": "number"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -9,15 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class InternalTransaction {
|
|
13
|
+
'blockNumber': number;
|
|
14
|
+
'timeStamp': Date;
|
|
15
|
+
'hash': string;
|
|
16
|
+
'fromAddress': string;
|
|
17
|
+
'toAddress': string;
|
|
13
18
|
/**
|
|
14
|
-
*
|
|
19
|
+
* Transaction value in ETH
|
|
15
20
|
*/
|
|
16
|
-
'
|
|
17
|
-
|
|
18
|
-
* The timestamp when the step was processed.
|
|
19
|
-
*/
|
|
20
|
-
'timestamp'?: Date;
|
|
21
|
+
'value': string;
|
|
22
|
+
'isError'?: boolean;
|
|
21
23
|
static discriminator: string | undefined;
|
|
22
24
|
static attributeTypeMap: Array<{
|
|
23
25
|
name: string;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Northstake
|
|
4
|
+
* Northstake api
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.InternalTransaction = void 0;
|
|
15
|
+
class InternalTransaction {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return InternalTransaction.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.InternalTransaction = InternalTransaction;
|
|
21
|
+
InternalTransaction.discriminator = undefined;
|
|
22
|
+
InternalTransaction.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "blockNumber",
|
|
25
|
+
"baseName": "blockNumber",
|
|
26
|
+
"type": "number"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "timeStamp",
|
|
30
|
+
"baseName": "timeStamp",
|
|
31
|
+
"type": "Date"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "hash",
|
|
35
|
+
"baseName": "hash",
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "fromAddress",
|
|
40
|
+
"baseName": "fromAddress",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "toAddress",
|
|
45
|
+
"baseName": "toAddress",
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "value",
|
|
50
|
+
"baseName": "value",
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "isError",
|
|
55
|
+
"baseName": "isError",
|
|
56
|
+
"type": "boolean"
|
|
57
|
+
}
|
|
58
|
+
];
|
|
@@ -9,12 +9,14 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
'
|
|
12
|
+
export declare class MinedBlock {
|
|
13
|
+
'blockNumber': number;
|
|
14
|
+
/**
|
|
15
|
+
* Block reward in ETH
|
|
16
|
+
*/
|
|
17
|
+
'blockReward': string;
|
|
18
|
+
'timeStamp': Date;
|
|
19
|
+
'address': string;
|
|
18
20
|
static discriminator: string | undefined;
|
|
19
21
|
static attributeTypeMap: Array<{
|
|
20
22
|
name: string;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Northstake
|
|
4
|
+
* Northstake api
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.MinedBlock = void 0;
|
|
15
|
+
class MinedBlock {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return MinedBlock.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.MinedBlock = MinedBlock;
|
|
21
|
+
MinedBlock.discriminator = undefined;
|
|
22
|
+
MinedBlock.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "blockNumber",
|
|
25
|
+
"baseName": "blockNumber",
|
|
26
|
+
"type": "number"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "blockReward",
|
|
30
|
+
"baseName": "blockReward",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "timeStamp",
|
|
35
|
+
"baseName": "timeStamp",
|
|
36
|
+
"type": "Date"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "address",
|
|
40
|
+
"baseName": "address",
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
];
|
package/dist/model/models.d.ts
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import localVarRequest from 'request';
|
|
2
2
|
export * from './acceptedQuote';
|
|
3
3
|
export * from './accountEntity';
|
|
4
|
-
export * from './addLinkedWalletForUserRequest';
|
|
5
4
|
export * from './addLinkedWalletRequest';
|
|
6
|
-
export * from './allManagedUsersResponse';
|
|
7
5
|
export * from './apiKey';
|
|
8
6
|
export * from './asset';
|
|
9
|
-
export * from './createManagedUserRequest';
|
|
10
7
|
export * from './createRFQRequest';
|
|
11
|
-
export * from './depositAddress';
|
|
12
|
-
export * from './depositAddressesForUserResponse';
|
|
13
8
|
export * from './errorResponse';
|
|
14
9
|
export * from './escrowPayment';
|
|
15
10
|
export * from './escrowReleased';
|
|
@@ -26,17 +21,13 @@ export * from './exitEstimateSeller';
|
|
|
26
21
|
export * from './exitProposal';
|
|
27
22
|
export * from './generateApiKeyRequest';
|
|
28
23
|
export * from './getMarketplaceMetadata200Response';
|
|
29
|
-
export * from './
|
|
24
|
+
export * from './getSmartContractInternalTransactions200Response';
|
|
25
|
+
export * from './getSmartContractMinedBlocks200Response';
|
|
26
|
+
export * from './getSmartContractTransactions200Response';
|
|
30
27
|
export * from './getWithdrawalsResponse';
|
|
28
|
+
export * from './internalTransaction';
|
|
31
29
|
export * from './listAllRFQsForFacilitator200Response';
|
|
32
|
-
export * from './
|
|
33
|
-
export * from './managedUserDetails';
|
|
34
|
-
export * from './order';
|
|
35
|
-
export * from './orderDocument';
|
|
36
|
-
export * from './orderDocumentSteps';
|
|
37
|
-
export * from './orderType';
|
|
38
|
-
export * from './orderUpdatePayload';
|
|
39
|
-
export * from './portfolioEntity';
|
|
30
|
+
export * from './minedBlock';
|
|
40
31
|
export * from './provideEscrowHashForRFQDocumentRequest';
|
|
41
32
|
export * from './quote';
|
|
42
33
|
export * from './rFQBidFacilitator';
|
|
@@ -59,16 +50,8 @@ export * from './rFQWebhookEventType';
|
|
|
59
50
|
export * from './registerWithdrawalRecipientSettlementRequest';
|
|
60
51
|
export * from './settlementSteps';
|
|
61
52
|
export * from './smartContract';
|
|
62
|
-
export * from './stakeStep';
|
|
63
|
-
export * from './stakeStepElement';
|
|
64
|
-
export * from './stepStatus';
|
|
65
53
|
export * from './submittedQuote';
|
|
66
54
|
export * from './transaction';
|
|
67
|
-
export * from './transactionEventType';
|
|
68
|
-
export * from './transactionsforUser';
|
|
69
|
-
export * from './unstakeStep';
|
|
70
|
-
export * from './unstakeStepElement';
|
|
71
|
-
export * from './unstakeStepType';
|
|
72
55
|
export * from './validatorInfo';
|
|
73
56
|
export * from './validatorKeyHolder';
|
|
74
57
|
export * from './validatorType';
|
|
@@ -97,9 +80,6 @@ export * from './webhookPayloadRFQWithdrawalClaimableDetails';
|
|
|
97
80
|
export * from './webhookRegistration';
|
|
98
81
|
export * from './webhookRegistrationDetails';
|
|
99
82
|
export * from './withdrawalRecipientSettlement';
|
|
100
|
-
export * from './withdrawalStep';
|
|
101
|
-
export * from './withdrawalStepElement';
|
|
102
|
-
export * from './withdrawalStepType';
|
|
103
83
|
import * as fs from 'fs';
|
|
104
84
|
export interface RequestDetailedFile {
|
|
105
85
|
value: Buffer;
|