@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/model/models.js
CHANGED
|
@@ -30,15 +30,10 @@ exports.VoidAuth = exports.JWTAuth = exports.OAuth = exports.ApiKeyAuth = export
|
|
|
30
30
|
const jwt = __importStar(require("jsonwebtoken"));
|
|
31
31
|
__exportStar(require("./acceptedQuote"), exports);
|
|
32
32
|
__exportStar(require("./accountEntity"), exports);
|
|
33
|
-
__exportStar(require("./addLinkedWalletForUserRequest"), exports);
|
|
34
33
|
__exportStar(require("./addLinkedWalletRequest"), exports);
|
|
35
|
-
__exportStar(require("./allManagedUsersResponse"), exports);
|
|
36
34
|
__exportStar(require("./apiKey"), exports);
|
|
37
35
|
__exportStar(require("./asset"), exports);
|
|
38
|
-
__exportStar(require("./createManagedUserRequest"), exports);
|
|
39
36
|
__exportStar(require("./createRFQRequest"), exports);
|
|
40
|
-
__exportStar(require("./depositAddress"), exports);
|
|
41
|
-
__exportStar(require("./depositAddressesForUserResponse"), exports);
|
|
42
37
|
__exportStar(require("./errorResponse"), exports);
|
|
43
38
|
__exportStar(require("./escrowPayment"), exports);
|
|
44
39
|
__exportStar(require("./escrowReleased"), exports);
|
|
@@ -55,17 +50,13 @@ __exportStar(require("./exitEstimateSeller"), exports);
|
|
|
55
50
|
__exportStar(require("./exitProposal"), exports);
|
|
56
51
|
__exportStar(require("./generateApiKeyRequest"), exports);
|
|
57
52
|
__exportStar(require("./getMarketplaceMetadata200Response"), exports);
|
|
58
|
-
__exportStar(require("./
|
|
53
|
+
__exportStar(require("./getSmartContractInternalTransactions200Response"), exports);
|
|
54
|
+
__exportStar(require("./getSmartContractMinedBlocks200Response"), exports);
|
|
55
|
+
__exportStar(require("./getSmartContractTransactions200Response"), exports);
|
|
59
56
|
__exportStar(require("./getWithdrawalsResponse"), exports);
|
|
57
|
+
__exportStar(require("./internalTransaction"), exports);
|
|
60
58
|
__exportStar(require("./listAllRFQsForFacilitator200Response"), exports);
|
|
61
|
-
__exportStar(require("./
|
|
62
|
-
__exportStar(require("./managedUserDetails"), exports);
|
|
63
|
-
__exportStar(require("./order"), exports);
|
|
64
|
-
__exportStar(require("./orderDocument"), exports);
|
|
65
|
-
__exportStar(require("./orderDocumentSteps"), exports);
|
|
66
|
-
__exportStar(require("./orderType"), exports);
|
|
67
|
-
__exportStar(require("./orderUpdatePayload"), exports);
|
|
68
|
-
__exportStar(require("./portfolioEntity"), exports);
|
|
59
|
+
__exportStar(require("./minedBlock"), exports);
|
|
69
60
|
__exportStar(require("./provideEscrowHashForRFQDocumentRequest"), exports);
|
|
70
61
|
__exportStar(require("./quote"), exports);
|
|
71
62
|
__exportStar(require("./rFQBidFacilitator"), exports);
|
|
@@ -88,16 +79,8 @@ __exportStar(require("./rFQWebhookEventType"), exports);
|
|
|
88
79
|
__exportStar(require("./registerWithdrawalRecipientSettlementRequest"), exports);
|
|
89
80
|
__exportStar(require("./settlementSteps"), exports);
|
|
90
81
|
__exportStar(require("./smartContract"), exports);
|
|
91
|
-
__exportStar(require("./stakeStep"), exports);
|
|
92
|
-
__exportStar(require("./stakeStepElement"), exports);
|
|
93
|
-
__exportStar(require("./stepStatus"), exports);
|
|
94
82
|
__exportStar(require("./submittedQuote"), exports);
|
|
95
83
|
__exportStar(require("./transaction"), exports);
|
|
96
|
-
__exportStar(require("./transactionEventType"), exports);
|
|
97
|
-
__exportStar(require("./transactionsforUser"), exports);
|
|
98
|
-
__exportStar(require("./unstakeStep"), exports);
|
|
99
|
-
__exportStar(require("./unstakeStepElement"), exports);
|
|
100
|
-
__exportStar(require("./unstakeStepType"), exports);
|
|
101
84
|
__exportStar(require("./validatorInfo"), exports);
|
|
102
85
|
__exportStar(require("./validatorKeyHolder"), exports);
|
|
103
86
|
__exportStar(require("./validatorType"), exports);
|
|
@@ -126,19 +109,11 @@ __exportStar(require("./webhookPayloadRFQWithdrawalClaimableDetails"), exports);
|
|
|
126
109
|
__exportStar(require("./webhookRegistration"), exports);
|
|
127
110
|
__exportStar(require("./webhookRegistrationDetails"), exports);
|
|
128
111
|
__exportStar(require("./withdrawalRecipientSettlement"), exports);
|
|
129
|
-
__exportStar(require("./withdrawalStep"), exports);
|
|
130
|
-
__exportStar(require("./withdrawalStepElement"), exports);
|
|
131
|
-
__exportStar(require("./withdrawalStepType"), exports);
|
|
132
112
|
const acceptedQuote_1 = require("./acceptedQuote");
|
|
133
113
|
const accountEntity_1 = require("./accountEntity");
|
|
134
|
-
const addLinkedWalletForUserRequest_1 = require("./addLinkedWalletForUserRequest");
|
|
135
114
|
const addLinkedWalletRequest_1 = require("./addLinkedWalletRequest");
|
|
136
|
-
const allManagedUsersResponse_1 = require("./allManagedUsersResponse");
|
|
137
115
|
const apiKey_1 = require("./apiKey");
|
|
138
|
-
const createManagedUserRequest_1 = require("./createManagedUserRequest");
|
|
139
116
|
const createRFQRequest_1 = require("./createRFQRequest");
|
|
140
|
-
const depositAddress_1 = require("./depositAddress");
|
|
141
|
-
const depositAddressesForUserResponse_1 = require("./depositAddressesForUserResponse");
|
|
142
117
|
const errorResponse_1 = require("./errorResponse");
|
|
143
118
|
const escrowPayment_1 = require("./escrowPayment");
|
|
144
119
|
const escrowReleased_1 = require("./escrowReleased");
|
|
@@ -155,16 +130,13 @@ const exitEstimateSeller_1 = require("./exitEstimateSeller");
|
|
|
155
130
|
const exitProposal_1 = require("./exitProposal");
|
|
156
131
|
const generateApiKeyRequest_1 = require("./generateApiKeyRequest");
|
|
157
132
|
const getMarketplaceMetadata200Response_1 = require("./getMarketplaceMetadata200Response");
|
|
158
|
-
const
|
|
133
|
+
const getSmartContractInternalTransactions200Response_1 = require("./getSmartContractInternalTransactions200Response");
|
|
134
|
+
const getSmartContractMinedBlocks200Response_1 = require("./getSmartContractMinedBlocks200Response");
|
|
135
|
+
const getSmartContractTransactions200Response_1 = require("./getSmartContractTransactions200Response");
|
|
159
136
|
const getWithdrawalsResponse_1 = require("./getWithdrawalsResponse");
|
|
137
|
+
const internalTransaction_1 = require("./internalTransaction");
|
|
160
138
|
const listAllRFQsForFacilitator200Response_1 = require("./listAllRFQsForFacilitator200Response");
|
|
161
|
-
const
|
|
162
|
-
const managedUserDetails_1 = require("./managedUserDetails");
|
|
163
|
-
const order_1 = require("./order");
|
|
164
|
-
const orderDocument_1 = require("./orderDocument");
|
|
165
|
-
const orderDocumentSteps_1 = require("./orderDocumentSteps");
|
|
166
|
-
const orderUpdatePayload_1 = require("./orderUpdatePayload");
|
|
167
|
-
const portfolioEntity_1 = require("./portfolioEntity");
|
|
139
|
+
const minedBlock_1 = require("./minedBlock");
|
|
168
140
|
const provideEscrowHashForRFQDocumentRequest_1 = require("./provideEscrowHashForRFQDocumentRequest");
|
|
169
141
|
const quote_1 = require("./quote");
|
|
170
142
|
const rFQBidFacilitator_1 = require("./rFQBidFacilitator");
|
|
@@ -182,13 +154,8 @@ const rFQUpdatePayload_1 = require("./rFQUpdatePayload");
|
|
|
182
154
|
const registerWithdrawalRecipientSettlementRequest_1 = require("./registerWithdrawalRecipientSettlementRequest");
|
|
183
155
|
const settlementSteps_1 = require("./settlementSteps");
|
|
184
156
|
const smartContract_1 = require("./smartContract");
|
|
185
|
-
const stakeStep_1 = require("./stakeStep");
|
|
186
|
-
const stakeStepElement_1 = require("./stakeStepElement");
|
|
187
157
|
const submittedQuote_1 = require("./submittedQuote");
|
|
188
158
|
const transaction_1 = require("./transaction");
|
|
189
|
-
const transactionsforUser_1 = require("./transactionsforUser");
|
|
190
|
-
const unstakeStep_1 = require("./unstakeStep");
|
|
191
|
-
const unstakeStepElement_1 = require("./unstakeStepElement");
|
|
192
159
|
const validatorInfo_1 = require("./validatorInfo");
|
|
193
160
|
const validatorWithdrawal_1 = require("./validatorWithdrawal");
|
|
194
161
|
const wallet_1 = require("./wallet");
|
|
@@ -215,8 +182,6 @@ const webhookPayloadRFQWithdrawalClaimableDetails_1 = require("./webhookPayloadR
|
|
|
215
182
|
const webhookRegistration_1 = require("./webhookRegistration");
|
|
216
183
|
const webhookRegistrationDetails_1 = require("./webhookRegistrationDetails");
|
|
217
184
|
const withdrawalRecipientSettlement_1 = require("./withdrawalRecipientSettlement");
|
|
218
|
-
const withdrawalStep_1 = require("./withdrawalStep");
|
|
219
|
-
const withdrawalStepElement_1 = require("./withdrawalStepElement");
|
|
220
185
|
/* tslint:disable:no-unused-variable */
|
|
221
186
|
let primitives = [
|
|
222
187
|
"string",
|
|
@@ -231,8 +196,6 @@ let primitives = [
|
|
|
231
196
|
let enumsMap = {
|
|
232
197
|
"ApiKey.roles": apiKey_1.ApiKey,
|
|
233
198
|
"GenerateApiKeyRequest.keyRights": generateApiKeyRequest_1.GenerateApiKeyRequest,
|
|
234
|
-
"OrderDocument.type": orderDocument_1.OrderDocument,
|
|
235
|
-
"OrderDocument.status": orderDocument_1.OrderDocument,
|
|
236
199
|
"RFQDocumentFacilitator.status": rFQDocumentFacilitator_1.RFQDocumentFacilitator,
|
|
237
200
|
"ValidatorInfo.asset": validatorInfo_1.ValidatorInfo,
|
|
238
201
|
"ValidatorInfo.status": validatorInfo_1.ValidatorInfo,
|
|
@@ -241,14 +204,9 @@ let enumsMap = {
|
|
|
241
204
|
let typeMap = {
|
|
242
205
|
"AcceptedQuote": acceptedQuote_1.AcceptedQuote,
|
|
243
206
|
"AccountEntity": accountEntity_1.AccountEntity,
|
|
244
|
-
"AddLinkedWalletForUserRequest": addLinkedWalletForUserRequest_1.AddLinkedWalletForUserRequest,
|
|
245
207
|
"AddLinkedWalletRequest": addLinkedWalletRequest_1.AddLinkedWalletRequest,
|
|
246
|
-
"AllManagedUsersResponse": allManagedUsersResponse_1.AllManagedUsersResponse,
|
|
247
208
|
"ApiKey": apiKey_1.ApiKey,
|
|
248
|
-
"CreateManagedUserRequest": createManagedUserRequest_1.CreateManagedUserRequest,
|
|
249
209
|
"CreateRFQRequest": createRFQRequest_1.CreateRFQRequest,
|
|
250
|
-
"DepositAddress": depositAddress_1.DepositAddress,
|
|
251
|
-
"DepositAddressesForUserResponse": depositAddressesForUserResponse_1.DepositAddressesForUserResponse,
|
|
252
210
|
"ErrorResponse": errorResponse_1.ErrorResponse,
|
|
253
211
|
"EscrowPayment": escrowPayment_1.EscrowPayment,
|
|
254
212
|
"EscrowReleased": escrowReleased_1.EscrowReleased,
|
|
@@ -265,16 +223,13 @@ let typeMap = {
|
|
|
265
223
|
"ExitProposal": exitProposal_1.ExitProposal,
|
|
266
224
|
"GenerateApiKeyRequest": generateApiKeyRequest_1.GenerateApiKeyRequest,
|
|
267
225
|
"GetMarketplaceMetadata200Response": getMarketplaceMetadata200Response_1.GetMarketplaceMetadata200Response,
|
|
268
|
-
"
|
|
226
|
+
"GetSmartContractInternalTransactions200Response": getSmartContractInternalTransactions200Response_1.GetSmartContractInternalTransactions200Response,
|
|
227
|
+
"GetSmartContractMinedBlocks200Response": getSmartContractMinedBlocks200Response_1.GetSmartContractMinedBlocks200Response,
|
|
228
|
+
"GetSmartContractTransactions200Response": getSmartContractTransactions200Response_1.GetSmartContractTransactions200Response,
|
|
269
229
|
"GetWithdrawalsResponse": getWithdrawalsResponse_1.GetWithdrawalsResponse,
|
|
230
|
+
"InternalTransaction": internalTransaction_1.InternalTransaction,
|
|
270
231
|
"ListAllRFQsForFacilitator200Response": listAllRFQsForFacilitator200Response_1.ListAllRFQsForFacilitator200Response,
|
|
271
|
-
"
|
|
272
|
-
"ManagedUserDetails": managedUserDetails_1.ManagedUserDetails,
|
|
273
|
-
"Order": order_1.Order,
|
|
274
|
-
"OrderDocument": orderDocument_1.OrderDocument,
|
|
275
|
-
"OrderDocumentSteps": orderDocumentSteps_1.OrderDocumentSteps,
|
|
276
|
-
"OrderUpdatePayload": orderUpdatePayload_1.OrderUpdatePayload,
|
|
277
|
-
"PortfolioEntity": portfolioEntity_1.PortfolioEntity,
|
|
232
|
+
"MinedBlock": minedBlock_1.MinedBlock,
|
|
278
233
|
"ProvideEscrowHashForRFQDocumentRequest": provideEscrowHashForRFQDocumentRequest_1.ProvideEscrowHashForRFQDocumentRequest,
|
|
279
234
|
"Quote": quote_1.Quote,
|
|
280
235
|
"RFQBidFacilitator": rFQBidFacilitator_1.RFQBidFacilitator,
|
|
@@ -292,13 +247,8 @@ let typeMap = {
|
|
|
292
247
|
"RegisterWithdrawalRecipientSettlementRequest": registerWithdrawalRecipientSettlementRequest_1.RegisterWithdrawalRecipientSettlementRequest,
|
|
293
248
|
"SettlementSteps": settlementSteps_1.SettlementSteps,
|
|
294
249
|
"SmartContract": smartContract_1.SmartContract,
|
|
295
|
-
"StakeStep": stakeStep_1.StakeStep,
|
|
296
|
-
"StakeStepElement": stakeStepElement_1.StakeStepElement,
|
|
297
250
|
"SubmittedQuote": submittedQuote_1.SubmittedQuote,
|
|
298
251
|
"Transaction": transaction_1.Transaction,
|
|
299
|
-
"TransactionsforUser": transactionsforUser_1.TransactionsforUser,
|
|
300
|
-
"UnstakeStep": unstakeStep_1.UnstakeStep,
|
|
301
|
-
"UnstakeStepElement": unstakeStepElement_1.UnstakeStepElement,
|
|
302
252
|
"ValidatorInfo": validatorInfo_1.ValidatorInfo,
|
|
303
253
|
"ValidatorWithdrawal": validatorWithdrawal_1.ValidatorWithdrawal,
|
|
304
254
|
"Wallet": wallet_1.Wallet,
|
|
@@ -325,8 +275,6 @@ let typeMap = {
|
|
|
325
275
|
"WebhookRegistration": webhookRegistration_1.WebhookRegistration,
|
|
326
276
|
"WebhookRegistrationDetails": webhookRegistrationDetails_1.WebhookRegistrationDetails,
|
|
327
277
|
"WithdrawalRecipientSettlement": withdrawalRecipientSettlement_1.WithdrawalRecipientSettlement,
|
|
328
|
-
"WithdrawalStep": withdrawalStep_1.WithdrawalStep,
|
|
329
|
-
"WithdrawalStepElement": withdrawalStepElement_1.WithdrawalStepElement,
|
|
330
278
|
};
|
|
331
279
|
class ObjectSerializer {
|
|
332
280
|
static findCorrectType(data, expectedType) {
|
|
@@ -9,30 +9,55 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Asset } from './asset';
|
|
13
|
-
import { TransactionEventType } from './transactionEventType';
|
|
14
|
-
/**
|
|
15
|
-
* Details of transactions including type, amount, and asset.
|
|
16
|
-
*/
|
|
17
12
|
export declare class Transaction {
|
|
13
|
+
'blockNumber': number;
|
|
14
|
+
'timeStamp': Date;
|
|
15
|
+
'hash': string;
|
|
16
|
+
'nonce'?: number;
|
|
17
|
+
'blockHash'?: string;
|
|
18
|
+
'transactionIndex'?: number;
|
|
19
|
+
'fromAddress': string;
|
|
20
|
+
'toAddress': string;
|
|
21
|
+
/**
|
|
22
|
+
* Transaction value in eth
|
|
23
|
+
*/
|
|
24
|
+
'value': string;
|
|
25
|
+
/**
|
|
26
|
+
* Gas price in gwei per unit
|
|
27
|
+
*/
|
|
28
|
+
'gasPrice'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* amount of gas used
|
|
31
|
+
*/
|
|
32
|
+
'gasUsed'?: string;
|
|
18
33
|
/**
|
|
19
|
-
*
|
|
34
|
+
* Transaction fee in eth (gasPrice * gasUsed)
|
|
20
35
|
*/
|
|
21
|
-
'
|
|
22
|
-
'eventType': TransactionEventType;
|
|
36
|
+
'transactionFee'?: string;
|
|
23
37
|
/**
|
|
24
|
-
*
|
|
38
|
+
* Whether the transaction failed or not
|
|
25
39
|
*/
|
|
26
|
-
'
|
|
27
|
-
'asset': Asset;
|
|
40
|
+
'isError'?: boolean;
|
|
28
41
|
/**
|
|
29
|
-
*
|
|
42
|
+
* Transaction input data in hex
|
|
30
43
|
*/
|
|
31
|
-
'
|
|
44
|
+
'input'?: string;
|
|
32
45
|
/**
|
|
33
|
-
*
|
|
46
|
+
* Decoded transaction input data
|
|
34
47
|
*/
|
|
35
|
-
'
|
|
48
|
+
'inputDecoded'?: object;
|
|
49
|
+
/**
|
|
50
|
+
* The name of the function called in the transaction
|
|
51
|
+
*/
|
|
52
|
+
'functionName'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The signature of the function called in the transaction
|
|
55
|
+
*/
|
|
56
|
+
'functionSignature'?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Decoded arguments passed to the function called in the transaction including argument names, types, and values
|
|
59
|
+
*/
|
|
60
|
+
'functionArgsDecoded'?: object;
|
|
36
61
|
static discriminator: string | undefined;
|
|
37
62
|
static attributeTypeMap: Array<{
|
|
38
63
|
name: string;
|
|
@@ -45,5 +70,3 @@ export declare class Transaction {
|
|
|
45
70
|
type: string;
|
|
46
71
|
}[];
|
|
47
72
|
}
|
|
48
|
-
export declare namespace Transaction {
|
|
49
|
-
}
|
|
@@ -12,9 +12,6 @@
|
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.Transaction = void 0;
|
|
15
|
-
/**
|
|
16
|
-
* Details of transactions including type, amount, and asset.
|
|
17
|
-
*/
|
|
18
15
|
class Transaction {
|
|
19
16
|
static getAttributeTypeMap() {
|
|
20
17
|
return Transaction.attributeTypeMap;
|
|
@@ -24,33 +21,93 @@ exports.Transaction = Transaction;
|
|
|
24
21
|
Transaction.discriminator = undefined;
|
|
25
22
|
Transaction.attributeTypeMap = [
|
|
26
23
|
{
|
|
27
|
-
"name": "
|
|
28
|
-
"baseName": "
|
|
24
|
+
"name": "blockNumber",
|
|
25
|
+
"baseName": "blockNumber",
|
|
26
|
+
"type": "number"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "timeStamp",
|
|
30
|
+
"baseName": "timeStamp",
|
|
29
31
|
"type": "Date"
|
|
30
32
|
},
|
|
31
33
|
{
|
|
32
|
-
"name": "
|
|
33
|
-
"baseName": "
|
|
34
|
-
"type": "
|
|
34
|
+
"name": "hash",
|
|
35
|
+
"baseName": "hash",
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "nonce",
|
|
40
|
+
"baseName": "nonce",
|
|
41
|
+
"type": "number"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "blockHash",
|
|
45
|
+
"baseName": "blockHash",
|
|
46
|
+
"type": "string"
|
|
35
47
|
},
|
|
36
48
|
{
|
|
37
|
-
"name": "
|
|
38
|
-
"baseName": "
|
|
49
|
+
"name": "transactionIndex",
|
|
50
|
+
"baseName": "transactionIndex",
|
|
39
51
|
"type": "number"
|
|
40
52
|
},
|
|
41
53
|
{
|
|
42
|
-
"name": "
|
|
43
|
-
"baseName": "
|
|
44
|
-
"type": "
|
|
54
|
+
"name": "fromAddress",
|
|
55
|
+
"baseName": "fromAddress",
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "toAddress",
|
|
60
|
+
"baseName": "toAddress",
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "value",
|
|
65
|
+
"baseName": "value",
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "gasPrice",
|
|
70
|
+
"baseName": "gasPrice",
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "gasUsed",
|
|
75
|
+
"baseName": "gasUsed",
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "transactionFee",
|
|
80
|
+
"baseName": "transactionFee",
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "isError",
|
|
85
|
+
"baseName": "isError",
|
|
86
|
+
"type": "boolean"
|
|
45
87
|
},
|
|
46
88
|
{
|
|
47
|
-
"name": "
|
|
48
|
-
"baseName": "
|
|
89
|
+
"name": "input",
|
|
90
|
+
"baseName": "input",
|
|
49
91
|
"type": "string"
|
|
50
92
|
},
|
|
51
93
|
{
|
|
52
|
-
"name": "
|
|
53
|
-
"baseName": "
|
|
94
|
+
"name": "inputDecoded",
|
|
95
|
+
"baseName": "inputDecoded",
|
|
96
|
+
"type": "object"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "functionName",
|
|
100
|
+
"baseName": "functionName",
|
|
54
101
|
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "functionSignature",
|
|
105
|
+
"baseName": "functionSignature",
|
|
106
|
+
"type": "string"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "functionArgsDecoded",
|
|
110
|
+
"baseName": "functionArgsDecoded",
|
|
111
|
+
"type": "object"
|
|
55
112
|
}
|
|
56
113
|
];
|
|
@@ -14,22 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
export declare class WebhookPayloadData {
|
|
16
16
|
/**
|
|
17
|
-
* Unique identifier for the
|
|
17
|
+
* Unique identifier for the RFQ.
|
|
18
18
|
*/
|
|
19
|
-
'
|
|
19
|
+
'rfqId'?: string;
|
|
20
20
|
/**
|
|
21
21
|
* New status of the RFQ.
|
|
22
22
|
*/
|
|
23
23
|
'status'?: string;
|
|
24
24
|
/**
|
|
25
|
-
* Additional details regarding the order update.
|
|
26
|
-
*/
|
|
27
|
-
'details'?: object;
|
|
28
|
-
/**
|
|
29
|
-
* Unique identifier for the RFQ.
|
|
30
|
-
*/
|
|
31
|
-
'rfqId'?: string;
|
|
32
|
-
/**
|
|
33
25
|
* The best quote for the RFQ, if available.
|
|
34
26
|
*/
|
|
35
27
|
'bestQuote'?: number;
|
|
@@ -24,8 +24,8 @@ exports.WebhookPayloadData = WebhookPayloadData;
|
|
|
24
24
|
WebhookPayloadData.discriminator = undefined;
|
|
25
25
|
WebhookPayloadData.attributeTypeMap = [
|
|
26
26
|
{
|
|
27
|
-
"name": "
|
|
28
|
-
"baseName": "
|
|
27
|
+
"name": "rfqId",
|
|
28
|
+
"baseName": "rfqId",
|
|
29
29
|
"type": "string"
|
|
30
30
|
},
|
|
31
31
|
{
|
|
@@ -33,16 +33,6 @@ WebhookPayloadData.attributeTypeMap = [
|
|
|
33
33
|
"baseName": "status",
|
|
34
34
|
"type": "string"
|
|
35
35
|
},
|
|
36
|
-
{
|
|
37
|
-
"name": "details",
|
|
38
|
-
"baseName": "details",
|
|
39
|
-
"type": "object"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "rfqId",
|
|
43
|
-
"baseName": "rfqId",
|
|
44
|
-
"type": "string"
|
|
45
|
-
},
|
|
46
36
|
{
|
|
47
37
|
"name": "bestQuote",
|
|
48
38
|
"baseName": "bestQuote",
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import {
|
|
13
|
+
import { InternalTransaction } from './internalTransaction';
|
|
14
14
|
|
|
15
|
-
export class
|
|
16
|
-
'transactions': Array<
|
|
15
|
+
export class GetSmartContractInternalTransactions200Response {
|
|
16
|
+
'transactions': Array<InternalTransaction>;
|
|
17
17
|
/**
|
|
18
|
-
* Total number of
|
|
18
|
+
* Total number of internal transactions
|
|
19
19
|
*/
|
|
20
|
-
'
|
|
20
|
+
'total': number;
|
|
21
21
|
/**
|
|
22
|
-
* Total number of
|
|
22
|
+
* Total number of pages
|
|
23
23
|
*/
|
|
24
|
-
'
|
|
24
|
+
'pages': number;
|
|
25
25
|
/**
|
|
26
26
|
* Current page number
|
|
27
27
|
*/
|
|
@@ -33,16 +33,16 @@ export class TransactionsforUser {
|
|
|
33
33
|
{
|
|
34
34
|
"name": "transactions",
|
|
35
35
|
"baseName": "transactions",
|
|
36
|
-
"type": "Array<
|
|
36
|
+
"type": "Array<InternalTransaction>"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
"name": "
|
|
40
|
-
"baseName": "
|
|
39
|
+
"name": "total",
|
|
40
|
+
"baseName": "total",
|
|
41
41
|
"type": "number"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
"name": "
|
|
45
|
-
"baseName": "
|
|
44
|
+
"name": "pages",
|
|
45
|
+
"baseName": "pages",
|
|
46
46
|
"type": "number"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ export class TransactionsforUser {
|
|
|
52
52
|
} ];
|
|
53
53
|
|
|
54
54
|
static getAttributeTypeMap() {
|
|
55
|
-
return
|
|
55
|
+
return GetSmartContractInternalTransactions200Response.attributeTypeMap;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import {
|
|
13
|
+
import { MinedBlock } from './minedBlock';
|
|
14
14
|
|
|
15
|
-
export class
|
|
16
|
-
'
|
|
15
|
+
export class GetSmartContractMinedBlocks200Response {
|
|
16
|
+
'blocks': Array<MinedBlock>;
|
|
17
17
|
/**
|
|
18
|
-
* Total number of
|
|
18
|
+
* Total number of mined blocks
|
|
19
19
|
*/
|
|
20
20
|
'total': number;
|
|
21
21
|
/**
|
|
@@ -31,9 +31,9 @@ export class AllManagedUsersResponse {
|
|
|
31
31
|
|
|
32
32
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
33
33
|
{
|
|
34
|
-
"name": "
|
|
35
|
-
"baseName": "
|
|
36
|
-
"type": "Array<
|
|
34
|
+
"name": "blocks",
|
|
35
|
+
"baseName": "blocks",
|
|
36
|
+
"type": "Array<MinedBlock>"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "total",
|
|
@@ -52,7 +52,7 @@ export class AllManagedUsersResponse {
|
|
|
52
52
|
} ];
|
|
53
53
|
|
|
54
54
|
static getAttributeTypeMap() {
|
|
55
|
-
return
|
|
55
|
+
return GetSmartContractMinedBlocks200Response.attributeTypeMap;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
|
|
13
13
|
import { Transaction } from './transaction';
|
|
14
14
|
|
|
15
|
-
export class
|
|
15
|
+
export class GetSmartContractTransactions200Response {
|
|
16
16
|
'transactions': Array<Transaction>;
|
|
17
|
-
/**
|
|
18
|
-
* Total number of pages
|
|
19
|
-
*/
|
|
20
|
-
'pages': number;
|
|
21
17
|
/**
|
|
22
18
|
* Total number of transactions
|
|
23
19
|
*/
|
|
24
20
|
'total': number;
|
|
21
|
+
/**
|
|
22
|
+
* Total number of pages
|
|
23
|
+
*/
|
|
24
|
+
'pages': number;
|
|
25
25
|
/**
|
|
26
26
|
* Current page number
|
|
27
27
|
*/
|
|
@@ -36,13 +36,13 @@ export class GetTransactionsResponse {
|
|
|
36
36
|
"type": "Array<Transaction>"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
"name": "
|
|
40
|
-
"baseName": "
|
|
39
|
+
"name": "total",
|
|
40
|
+
"baseName": "total",
|
|
41
41
|
"type": "number"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
"name": "
|
|
45
|
-
"baseName": "
|
|
44
|
+
"name": "pages",
|
|
45
|
+
"baseName": "pages",
|
|
46
46
|
"type": "number"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ export class GetTransactionsResponse {
|
|
|
52
52
|
} ];
|
|
53
53
|
|
|
54
54
|
static getAttributeTypeMap() {
|
|
55
|
-
return
|
|
55
|
+
return GetSmartContractTransactions200Response.attributeTypeMap;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export class InternalTransaction {
|
|
15
|
+
'blockNumber': number;
|
|
16
|
+
'timeStamp': Date;
|
|
17
|
+
'hash': string;
|
|
18
|
+
'fromAddress': string;
|
|
19
|
+
'toAddress': string;
|
|
20
|
+
/**
|
|
21
|
+
* Transaction value in ETH
|
|
22
|
+
*/
|
|
23
|
+
'value': string;
|
|
24
|
+
'isError'?: boolean;
|
|
25
|
+
|
|
26
|
+
static discriminator: string | undefined = undefined;
|
|
27
|
+
|
|
28
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
29
|
+
{
|
|
30
|
+
"name": "blockNumber",
|
|
31
|
+
"baseName": "blockNumber",
|
|
32
|
+
"type": "number"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "timeStamp",
|
|
36
|
+
"baseName": "timeStamp",
|
|
37
|
+
"type": "Date"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "hash",
|
|
41
|
+
"baseName": "hash",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "fromAddress",
|
|
46
|
+
"baseName": "fromAddress",
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "toAddress",
|
|
51
|
+
"baseName": "toAddress",
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "value",
|
|
56
|
+
"baseName": "value",
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "isError",
|
|
61
|
+
"baseName": "isError",
|
|
62
|
+
"type": "boolean"
|
|
63
|
+
} ];
|
|
64
|
+
|
|
65
|
+
static getAttributeTypeMap() {
|
|
66
|
+
return InternalTransaction.attributeTypeMap;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|