@northstake/northstakeapi 1.0.35 → 1.0.37
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 -0
- package/api.ts +1 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/model/internalTransaction.d.ts +4 -0
- package/dist/model/internalTransaction.js +5 -0
- package/dist/model/minedBlock.d.ts +4 -0
- package/dist/model/minedBlock.js +5 -0
- package/dist/model/models.d.ts +1 -0
- package/dist/model/models.js +3 -0
- package/dist/model/settlementSteps.d.ts +2 -0
- package/dist/model/settlementSteps.js +5 -0
- package/dist/model/transaction.d.ts +8 -0
- package/dist/model/transaction.js +10 -0
- package/dist/model/validatorWithdrawal.d.ts +4 -0
- package/dist/model/validatorWithdrawal.js +5 -0
- package/dist/model/withdrawalClaimable.d.ts +29 -0
- package/dist/model/withdrawalClaimable.js +48 -0
- package/model/internalTransaction.ts +9 -0
- package/model/minedBlock.ts +9 -0
- package/model/models.ts +5 -0
- package/model/settlementSteps.ts +7 -0
- package/model/transaction.ts +18 -0
- package/model/validatorWithdrawal.ts +9 -0
- package/model/withdrawalClaimable.ts +55 -0
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
package/api.ts
CHANGED
|
@@ -93,6 +93,7 @@ export * from './model/./webhookPayloadRFQWithdrawalClaimable';
|
|
|
93
93
|
export * from './model/./webhookPayloadRFQWithdrawalClaimableDetails';
|
|
94
94
|
export * from './model/./webhookRegistration';
|
|
95
95
|
export * from './model/./webhookRegistrationDetails';
|
|
96
|
+
export * from './model/./withdrawalClaimable';
|
|
96
97
|
export * from './model/./withdrawalRecipientSettlement';
|
|
97
98
|
|
|
98
99
|
export class NorthstakeApi {
|
package/dist/api.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ export * from './model/./webhookPayloadRFQWithdrawalClaimable';
|
|
|
91
91
|
export * from './model/./webhookPayloadRFQWithdrawalClaimableDetails';
|
|
92
92
|
export * from './model/./webhookRegistration';
|
|
93
93
|
export * from './model/./webhookRegistrationDetails';
|
|
94
|
+
export * from './model/./withdrawalClaimable';
|
|
94
95
|
export * from './model/./withdrawalRecipientSettlement';
|
|
95
96
|
export declare class NorthstakeApi {
|
|
96
97
|
constructor(apiKey: string, privateKey: string, basePath?: string);
|
package/dist/api.js
CHANGED
|
@@ -110,6 +110,7 @@ __exportStar(require("./model/./webhookPayloadRFQWithdrawalClaimable"), exports)
|
|
|
110
110
|
__exportStar(require("./model/./webhookPayloadRFQWithdrawalClaimableDetails"), exports);
|
|
111
111
|
__exportStar(require("./model/./webhookRegistration"), exports);
|
|
112
112
|
__exportStar(require("./model/./webhookRegistrationDetails"), exports);
|
|
113
|
+
__exportStar(require("./model/./withdrawalClaimable"), exports);
|
|
113
114
|
__exportStar(require("./model/./withdrawalRecipientSettlement"), exports);
|
|
114
115
|
class NorthstakeApi {
|
|
115
116
|
constructor(apiKey, privateKey, basePath = "https://api.northstake.dk/v1") {
|
|
@@ -19,6 +19,10 @@ export declare class InternalTransaction {
|
|
|
19
19
|
* Transaction value in ETH
|
|
20
20
|
*/
|
|
21
21
|
'value': string;
|
|
22
|
+
/**
|
|
23
|
+
* Transaction value in USD
|
|
24
|
+
*/
|
|
25
|
+
'valueInUSD'?: string;
|
|
22
26
|
'isError'?: boolean;
|
|
23
27
|
static discriminator: string | undefined;
|
|
24
28
|
static attributeTypeMap: Array<{
|
package/dist/model/minedBlock.js
CHANGED
package/dist/model/models.d.ts
CHANGED
|
@@ -83,6 +83,7 @@ export * from './webhookPayloadRFQWithdrawalClaimable';
|
|
|
83
83
|
export * from './webhookPayloadRFQWithdrawalClaimableDetails';
|
|
84
84
|
export * from './webhookRegistration';
|
|
85
85
|
export * from './webhookRegistrationDetails';
|
|
86
|
+
export * from './withdrawalClaimable';
|
|
86
87
|
export * from './withdrawalRecipientSettlement';
|
|
87
88
|
import * as fs from 'fs';
|
|
88
89
|
export interface RequestDetailedFile {
|
package/dist/model/models.js
CHANGED
|
@@ -122,6 +122,7 @@ __exportStar(require("./webhookPayloadRFQWithdrawalClaimable"), exports);
|
|
|
122
122
|
__exportStar(require("./webhookPayloadRFQWithdrawalClaimableDetails"), exports);
|
|
123
123
|
__exportStar(require("./webhookRegistration"), exports);
|
|
124
124
|
__exportStar(require("./webhookRegistrationDetails"), exports);
|
|
125
|
+
__exportStar(require("./withdrawalClaimable"), exports);
|
|
125
126
|
__exportStar(require("./withdrawalRecipientSettlement"), exports);
|
|
126
127
|
const acceptedQuote_1 = require("./acceptedQuote");
|
|
127
128
|
const accountEntity_1 = require("./accountEntity");
|
|
@@ -199,6 +200,7 @@ const webhookPayloadRFQWithdrawalClaimable_1 = require("./webhookPayloadRFQWithd
|
|
|
199
200
|
const webhookPayloadRFQWithdrawalClaimableDetails_1 = require("./webhookPayloadRFQWithdrawalClaimableDetails");
|
|
200
201
|
const webhookRegistration_1 = require("./webhookRegistration");
|
|
201
202
|
const webhookRegistrationDetails_1 = require("./webhookRegistrationDetails");
|
|
203
|
+
const withdrawalClaimable_1 = require("./withdrawalClaimable");
|
|
202
204
|
const withdrawalRecipientSettlement_1 = require("./withdrawalRecipientSettlement");
|
|
203
205
|
/* tslint:disable:no-unused-variable */
|
|
204
206
|
let primitives = [
|
|
@@ -297,6 +299,7 @@ let typeMap = {
|
|
|
297
299
|
"WebhookPayloadRFQWithdrawalClaimableDetails": webhookPayloadRFQWithdrawalClaimableDetails_1.WebhookPayloadRFQWithdrawalClaimableDetails,
|
|
298
300
|
"WebhookRegistration": webhookRegistration_1.WebhookRegistration,
|
|
299
301
|
"WebhookRegistrationDetails": webhookRegistrationDetails_1.WebhookRegistrationDetails,
|
|
302
|
+
"WithdrawalClaimable": withdrawalClaimable_1.WithdrawalClaimable,
|
|
300
303
|
"WithdrawalRecipientSettlement": withdrawalRecipientSettlement_1.WithdrawalRecipientSettlement,
|
|
301
304
|
};
|
|
302
305
|
class ObjectSerializer {
|
|
@@ -13,6 +13,7 @@ import { AcceptedQuote } from './acceptedQuote';
|
|
|
13
13
|
import { EscrowPayment } from './escrowPayment';
|
|
14
14
|
import { EscrowReleased } from './escrowReleased';
|
|
15
15
|
import { ExitProposal } from './exitProposal';
|
|
16
|
+
import { WithdrawalClaimable } from './withdrawalClaimable';
|
|
16
17
|
import { WithdrawalRecipientSettlement } from './withdrawalRecipientSettlement';
|
|
17
18
|
export declare class SettlementSteps {
|
|
18
19
|
'accepted_quote'?: AcceptedQuote;
|
|
@@ -20,6 +21,7 @@ export declare class SettlementSteps {
|
|
|
20
21
|
'withdrawal_recipient_settlement'?: WithdrawalRecipientSettlement;
|
|
21
22
|
'escrow_released'?: EscrowReleased;
|
|
22
23
|
'exit_proposal'?: ExitProposal;
|
|
24
|
+
'withdrawals_claimable'?: Array<WithdrawalClaimable>;
|
|
23
25
|
static discriminator: string | undefined;
|
|
24
26
|
static attributeTypeMap: Array<{
|
|
25
27
|
name: string;
|
|
@@ -44,5 +44,10 @@ SettlementSteps.attributeTypeMap = [
|
|
|
44
44
|
"name": "exit_proposal",
|
|
45
45
|
"baseName": "exit_proposal",
|
|
46
46
|
"type": "ExitProposal"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "withdrawals_claimable",
|
|
50
|
+
"baseName": "withdrawals_claimable",
|
|
51
|
+
"type": "Array<WithdrawalClaimable>"
|
|
47
52
|
}
|
|
48
53
|
];
|
|
@@ -24,6 +24,10 @@ export declare class Transaction {
|
|
|
24
24
|
*/
|
|
25
25
|
'value': string;
|
|
26
26
|
/**
|
|
27
|
+
* Transaction value in USD
|
|
28
|
+
*/
|
|
29
|
+
'valueInUSD'?: string;
|
|
30
|
+
/**
|
|
27
31
|
* Gas price in gwei per unit
|
|
28
32
|
*/
|
|
29
33
|
'gasPrice'?: string;
|
|
@@ -36,6 +40,10 @@ export declare class Transaction {
|
|
|
36
40
|
*/
|
|
37
41
|
'transactionFee'?: string;
|
|
38
42
|
/**
|
|
43
|
+
* Transaction fee in USD
|
|
44
|
+
*/
|
|
45
|
+
'transactionFeeInUSD'?: string;
|
|
46
|
+
/**
|
|
39
47
|
* Whether the transaction failed or not
|
|
40
48
|
*/
|
|
41
49
|
'isError'?: boolean;
|
|
@@ -65,6 +65,11 @@ Transaction.attributeTypeMap = [
|
|
|
65
65
|
"baseName": "value",
|
|
66
66
|
"type": "string"
|
|
67
67
|
},
|
|
68
|
+
{
|
|
69
|
+
"name": "valueInUSD",
|
|
70
|
+
"baseName": "valueInUSD",
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
68
73
|
{
|
|
69
74
|
"name": "gasPrice",
|
|
70
75
|
"baseName": "gasPrice",
|
|
@@ -80,6 +85,11 @@ Transaction.attributeTypeMap = [
|
|
|
80
85
|
"baseName": "transactionFee",
|
|
81
86
|
"type": "string"
|
|
82
87
|
},
|
|
88
|
+
{
|
|
89
|
+
"name": "transactionFeeInUSD",
|
|
90
|
+
"baseName": "transactionFeeInUSD",
|
|
91
|
+
"type": "string"
|
|
92
|
+
},
|
|
83
93
|
{
|
|
84
94
|
"name": "isError",
|
|
85
95
|
"baseName": "isError",
|
|
@@ -19,6 +19,10 @@ export declare class ValidatorWithdrawal {
|
|
|
19
19
|
'withdrawal_index': number;
|
|
20
20
|
'withdrawal_address': string;
|
|
21
21
|
'amount': string;
|
|
22
|
+
/**
|
|
23
|
+
* Withdrawal amount in USD
|
|
24
|
+
*/
|
|
25
|
+
'amountInUSD'?: string;
|
|
22
26
|
'withdrawal_type': ValidatorWithdrawal.withdrawalTypeEnum;
|
|
23
27
|
static discriminator: string | undefined;
|
|
24
28
|
static attributeTypeMap: Array<{
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
export declare class WithdrawalClaimable {
|
|
13
|
+
'validator_index': number;
|
|
14
|
+
'amount': number;
|
|
15
|
+
'block': number;
|
|
16
|
+
'timestamp': Date;
|
|
17
|
+
'beneficiary_address': string;
|
|
18
|
+
static discriminator: string | undefined;
|
|
19
|
+
static attributeTypeMap: Array<{
|
|
20
|
+
name: string;
|
|
21
|
+
baseName: string;
|
|
22
|
+
type: string;
|
|
23
|
+
}>;
|
|
24
|
+
static getAttributeTypeMap(): {
|
|
25
|
+
name: string;
|
|
26
|
+
baseName: string;
|
|
27
|
+
type: string;
|
|
28
|
+
}[];
|
|
29
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.WithdrawalClaimable = void 0;
|
|
15
|
+
class WithdrawalClaimable {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return WithdrawalClaimable.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.WithdrawalClaimable = WithdrawalClaimable;
|
|
21
|
+
WithdrawalClaimable.discriminator = undefined;
|
|
22
|
+
WithdrawalClaimable.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "validator_index",
|
|
25
|
+
"baseName": "validator_index",
|
|
26
|
+
"type": "number"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "amount",
|
|
30
|
+
"baseName": "amount",
|
|
31
|
+
"type": "number"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "block",
|
|
35
|
+
"baseName": "block",
|
|
36
|
+
"type": "number"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "timestamp",
|
|
40
|
+
"baseName": "timestamp",
|
|
41
|
+
"type": "Date"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "beneficiary_address",
|
|
45
|
+
"baseName": "beneficiary_address",
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
];
|
|
@@ -21,6 +21,10 @@ export class InternalTransaction {
|
|
|
21
21
|
* Transaction value in ETH
|
|
22
22
|
*/
|
|
23
23
|
'value': string;
|
|
24
|
+
/**
|
|
25
|
+
* Transaction value in USD
|
|
26
|
+
*/
|
|
27
|
+
'valueInUSD'?: string;
|
|
24
28
|
'isError'?: boolean;
|
|
25
29
|
|
|
26
30
|
static discriminator: string | undefined = undefined;
|
|
@@ -56,6 +60,11 @@ export class InternalTransaction {
|
|
|
56
60
|
"baseName": "value",
|
|
57
61
|
"type": "string"
|
|
58
62
|
},
|
|
63
|
+
{
|
|
64
|
+
"name": "valueInUSD",
|
|
65
|
+
"baseName": "valueInUSD",
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
59
68
|
{
|
|
60
69
|
"name": "isError",
|
|
61
70
|
"baseName": "isError",
|
package/model/minedBlock.ts
CHANGED
|
@@ -17,6 +17,10 @@ export class MinedBlock {
|
|
|
17
17
|
* Block reward in ETH
|
|
18
18
|
*/
|
|
19
19
|
'blockReward': string;
|
|
20
|
+
/**
|
|
21
|
+
* Block reward in USD
|
|
22
|
+
*/
|
|
23
|
+
'blockRewardInUSD'?: string;
|
|
20
24
|
'timeStamp': Date;
|
|
21
25
|
'address': string;
|
|
22
26
|
|
|
@@ -33,6 +37,11 @@ export class MinedBlock {
|
|
|
33
37
|
"baseName": "blockReward",
|
|
34
38
|
"type": "string"
|
|
35
39
|
},
|
|
40
|
+
{
|
|
41
|
+
"name": "blockRewardInUSD",
|
|
42
|
+
"baseName": "blockRewardInUSD",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
36
45
|
{
|
|
37
46
|
"name": "timeStamp",
|
|
38
47
|
"baseName": "timeStamp",
|
package/model/models.ts
CHANGED
|
@@ -86,6 +86,7 @@ export * from './webhookPayloadRFQWithdrawalClaimable';
|
|
|
86
86
|
export * from './webhookPayloadRFQWithdrawalClaimableDetails';
|
|
87
87
|
export * from './webhookRegistration';
|
|
88
88
|
export * from './webhookRegistrationDetails';
|
|
89
|
+
export * from './withdrawalClaimable';
|
|
89
90
|
export * from './withdrawalRecipientSettlement';
|
|
90
91
|
|
|
91
92
|
import * as fs from 'fs';
|
|
@@ -353,6 +354,9 @@ import { WebhookRegistration } from './webhookRegistration';
|
|
|
353
354
|
import { WebhookRegistrationDetails } from './webhookRegistrationDetails';
|
|
354
355
|
|
|
355
356
|
|
|
357
|
+
import { WithdrawalClaimable } from './withdrawalClaimable';
|
|
358
|
+
|
|
359
|
+
|
|
356
360
|
import { WithdrawalRecipientSettlement } from './withdrawalRecipientSettlement';
|
|
357
361
|
|
|
358
362
|
|
|
@@ -454,6 +458,7 @@ let typeMap: {[index: string]: any} = {
|
|
|
454
458
|
"WebhookPayloadRFQWithdrawalClaimableDetails": WebhookPayloadRFQWithdrawalClaimableDetails,
|
|
455
459
|
"WebhookRegistration": WebhookRegistration,
|
|
456
460
|
"WebhookRegistrationDetails": WebhookRegistrationDetails,
|
|
461
|
+
"WithdrawalClaimable": WithdrawalClaimable,
|
|
457
462
|
"WithdrawalRecipientSettlement": WithdrawalRecipientSettlement,
|
|
458
463
|
}
|
|
459
464
|
|
package/model/settlementSteps.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { AcceptedQuote } from './acceptedQuote';
|
|
|
14
14
|
import { EscrowPayment } from './escrowPayment';
|
|
15
15
|
import { EscrowReleased } from './escrowReleased';
|
|
16
16
|
import { ExitProposal } from './exitProposal';
|
|
17
|
+
import { WithdrawalClaimable } from './withdrawalClaimable';
|
|
17
18
|
import { WithdrawalRecipientSettlement } from './withdrawalRecipientSettlement';
|
|
18
19
|
|
|
19
20
|
export class SettlementSteps {
|
|
@@ -22,6 +23,7 @@ export class SettlementSteps {
|
|
|
22
23
|
'withdrawal_recipient_settlement'?: WithdrawalRecipientSettlement;
|
|
23
24
|
'escrow_released'?: EscrowReleased;
|
|
24
25
|
'exit_proposal'?: ExitProposal;
|
|
26
|
+
'withdrawals_claimable'?: Array<WithdrawalClaimable>;
|
|
25
27
|
|
|
26
28
|
static discriminator: string | undefined = undefined;
|
|
27
29
|
|
|
@@ -50,6 +52,11 @@ export class SettlementSteps {
|
|
|
50
52
|
"name": "exit_proposal",
|
|
51
53
|
"baseName": "exit_proposal",
|
|
52
54
|
"type": "ExitProposal"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "withdrawals_claimable",
|
|
58
|
+
"baseName": "withdrawals_claimable",
|
|
59
|
+
"type": "Array<WithdrawalClaimable>"
|
|
53
60
|
} ];
|
|
54
61
|
|
|
55
62
|
static getAttributeTypeMap() {
|
package/model/transaction.ts
CHANGED
|
@@ -25,6 +25,10 @@ export class Transaction {
|
|
|
25
25
|
* Transaction value in eth
|
|
26
26
|
*/
|
|
27
27
|
'value': string;
|
|
28
|
+
/**
|
|
29
|
+
* Transaction value in USD
|
|
30
|
+
*/
|
|
31
|
+
'valueInUSD'?: string;
|
|
28
32
|
/**
|
|
29
33
|
* Gas price in gwei per unit
|
|
30
34
|
*/
|
|
@@ -37,6 +41,10 @@ export class Transaction {
|
|
|
37
41
|
* Transaction fee in eth (gasPrice * gasUsed)
|
|
38
42
|
*/
|
|
39
43
|
'transactionFee'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Transaction fee in USD
|
|
46
|
+
*/
|
|
47
|
+
'transactionFeeInUSD'?: string;
|
|
40
48
|
/**
|
|
41
49
|
* Whether the transaction failed or not
|
|
42
50
|
*/
|
|
@@ -111,6 +119,11 @@ export class Transaction {
|
|
|
111
119
|
"baseName": "value",
|
|
112
120
|
"type": "string"
|
|
113
121
|
},
|
|
122
|
+
{
|
|
123
|
+
"name": "valueInUSD",
|
|
124
|
+
"baseName": "valueInUSD",
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
114
127
|
{
|
|
115
128
|
"name": "gasPrice",
|
|
116
129
|
"baseName": "gasPrice",
|
|
@@ -126,6 +139,11 @@ export class Transaction {
|
|
|
126
139
|
"baseName": "transactionFee",
|
|
127
140
|
"type": "string"
|
|
128
141
|
},
|
|
142
|
+
{
|
|
143
|
+
"name": "transactionFeeInUSD",
|
|
144
|
+
"baseName": "transactionFeeInUSD",
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
129
147
|
{
|
|
130
148
|
"name": "isError",
|
|
131
149
|
"baseName": "isError",
|
|
@@ -21,6 +21,10 @@ export class ValidatorWithdrawal {
|
|
|
21
21
|
'withdrawal_index': number;
|
|
22
22
|
'withdrawal_address': string;
|
|
23
23
|
'amount': string;
|
|
24
|
+
/**
|
|
25
|
+
* Withdrawal amount in USD
|
|
26
|
+
*/
|
|
27
|
+
'amountInUSD'?: string;
|
|
24
28
|
'withdrawal_type': ValidatorWithdrawal.withdrawalTypeEnum;
|
|
25
29
|
|
|
26
30
|
static discriminator: string | undefined = undefined;
|
|
@@ -71,6 +75,11 @@ export class ValidatorWithdrawal {
|
|
|
71
75
|
"baseName": "amount",
|
|
72
76
|
"type": "string"
|
|
73
77
|
},
|
|
78
|
+
{
|
|
79
|
+
"name": "amountInUSD",
|
|
80
|
+
"baseName": "amountInUSD",
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
74
83
|
{
|
|
75
84
|
"name": "withdrawal_type",
|
|
76
85
|
"baseName": "withdrawal_type",
|
|
@@ -0,0 +1,55 @@
|
|
|
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 WithdrawalClaimable {
|
|
15
|
+
'validator_index': number;
|
|
16
|
+
'amount': number;
|
|
17
|
+
'block': number;
|
|
18
|
+
'timestamp': Date;
|
|
19
|
+
'beneficiary_address': string;
|
|
20
|
+
|
|
21
|
+
static discriminator: string | undefined = undefined;
|
|
22
|
+
|
|
23
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
24
|
+
{
|
|
25
|
+
"name": "validator_index",
|
|
26
|
+
"baseName": "validator_index",
|
|
27
|
+
"type": "number"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "amount",
|
|
31
|
+
"baseName": "amount",
|
|
32
|
+
"type": "number"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "block",
|
|
36
|
+
"baseName": "block",
|
|
37
|
+
"type": "number"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "timestamp",
|
|
41
|
+
"baseName": "timestamp",
|
|
42
|
+
"type": "Date"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "beneficiary_address",
|
|
46
|
+
"baseName": "beneficiary_address",
|
|
47
|
+
"type": "string"
|
|
48
|
+
} ];
|
|
49
|
+
|
|
50
|
+
static getAttributeTypeMap() {
|
|
51
|
+
return WithdrawalClaimable.attributeTypeMap;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@northstake/northstakeapi",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.37",
|
|
4
4
|
"description": "Northstake SDK",
|
|
5
5
|
"main": "dist/api.js",
|
|
6
6
|
"types": "dist/api.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"author": "Northstake build process <buildadmin@northstake.dk>",
|
|
22
22
|
"license": "ISC",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@types/node": "^22.13.
|
|
24
|
+
"@types/node": "^22.13.4",
|
|
25
25
|
"typescript": "^5.7.3"
|
|
26
26
|
}
|
|
27
27
|
}
|