@northstake/northstakeapi 1.0.32 → 1.0.34
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/dist/model/apiKey.d.ts +1 -1
- package/dist/model/apiKey.js +1 -1
- package/dist/model/generateApiKeyRequest.d.ts +1 -1
- package/dist/model/generateApiKeyRequest.js +1 -1
- package/dist/model/rFQDocumentFacilitator.d.ts +1 -1
- package/dist/model/rFQDocumentFacilitator.js +1 -1
- package/dist/model/validatorInfo.d.ts +3 -3
- package/dist/model/validatorInfo.js +2 -2
- package/dist/model/validatorWithdrawal.d.ts +1 -1
- package/dist/model/validatorWithdrawal.js +1 -1
- package/model/apiKey.ts +2 -2
- package/model/generateApiKeyRequest.ts +2 -2
- package/model/rFQDocumentFacilitator.ts +2 -2
- package/model/validatorInfo.ts +6 -5
- package/model/validatorWithdrawal.ts +2 -2
- package/package.json +2 -2
package/dist/model/apiKey.d.ts
CHANGED
package/dist/model/apiKey.js
CHANGED
|
@@ -22,7 +22,7 @@ export declare class GenerateApiKeyRequest {
|
|
|
22
22
|
/**
|
|
23
23
|
* The rights associated with the API key.
|
|
24
24
|
*/
|
|
25
|
-
'keyRights'?: GenerateApiKeyRequest
|
|
25
|
+
'keyRights'?: Array<GenerateApiKeyRequest.keyRightsEnum>;
|
|
26
26
|
static discriminator: string | undefined;
|
|
27
27
|
static attributeTypeMap: Array<{
|
|
28
28
|
name: string;
|
|
@@ -13,7 +13,7 @@ import { Quote } from './quote';
|
|
|
13
13
|
import { RFQDocumentFacilitatorValidatorsInner } from './rFQDocumentFacilitatorValidatorsInner';
|
|
14
14
|
export declare class RFQDocumentFacilitator {
|
|
15
15
|
'id': string;
|
|
16
|
-
'status': RFQDocumentFacilitator;
|
|
16
|
+
'status': RFQDocumentFacilitator.statusEnum;
|
|
17
17
|
'total_balance': number;
|
|
18
18
|
'payment_address': string;
|
|
19
19
|
'validators': Array<RFQDocumentFacilitatorValidatorsInner>;
|
|
@@ -20,13 +20,13 @@ export declare class ValidatorInfo {
|
|
|
20
20
|
/**
|
|
21
21
|
* Validator asset
|
|
22
22
|
*/
|
|
23
|
-
'asset'?: ValidatorInfo;
|
|
23
|
+
'asset'?: ValidatorInfo.assetEnum;
|
|
24
24
|
'validator_public_key'?: string;
|
|
25
25
|
'validator_index'?: number;
|
|
26
26
|
/**
|
|
27
27
|
* Status of the validator on the network
|
|
28
28
|
*/
|
|
29
|
-
'status'?: ValidatorInfo;
|
|
29
|
+
'status'?: ValidatorInfo.statusEnum;
|
|
30
30
|
'exit_estimate'?: ExitEstimateSeller;
|
|
31
31
|
'key_holder'?: ValidatorKeyHolder;
|
|
32
32
|
'validator_type'?: ValidatorType;
|
|
@@ -51,5 +51,5 @@ export declare namespace ValidatorInfo {
|
|
|
51
51
|
/**
|
|
52
52
|
* Status of the validator on the network
|
|
53
53
|
*/
|
|
54
|
-
type statusEnum = 'activating' | 'active' | 'exiting' | 'exited';
|
|
54
|
+
type statusEnum = 'activating' | 'active' | 'exiting' | 'exited' | 'sold';
|
|
55
55
|
}
|
|
@@ -31,7 +31,7 @@ ValidatorInfo.attributeTypeMap = [
|
|
|
31
31
|
{
|
|
32
32
|
"name": "asset",
|
|
33
33
|
"baseName": "asset",
|
|
34
|
-
"type": "ValidatorInfo.
|
|
34
|
+
"type": "ValidatorInfo.assetEnum"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"name": "validator_public_key",
|
|
@@ -46,7 +46,7 @@ ValidatorInfo.attributeTypeMap = [
|
|
|
46
46
|
{
|
|
47
47
|
"name": "status",
|
|
48
48
|
"baseName": "status",
|
|
49
|
-
"type": "ValidatorInfo.
|
|
49
|
+
"type": "ValidatorInfo.statusEnum"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"name": "exit_estimate",
|
package/model/apiKey.ts
CHANGED
|
@@ -35,7 +35,7 @@ export class ApiKey {
|
|
|
35
35
|
/**
|
|
36
36
|
* Roles associated with the API key
|
|
37
37
|
*/
|
|
38
|
-
'roles'?: ApiKey
|
|
38
|
+
'roles'?: Array<ApiKey.rolesEnum>;
|
|
39
39
|
|
|
40
40
|
static discriminator: string | undefined = undefined;
|
|
41
41
|
|
|
@@ -68,7 +68,7 @@ export class ApiKey {
|
|
|
68
68
|
{
|
|
69
69
|
"name": "roles",
|
|
70
70
|
"baseName": "roles",
|
|
71
|
-
"type": "Array<ApiKey.
|
|
71
|
+
"type": "Array<ApiKey.rolesEnum>"
|
|
72
72
|
} ];
|
|
73
73
|
|
|
74
74
|
static getAttributeTypeMap() {
|
|
@@ -24,7 +24,7 @@ export class GenerateApiKeyRequest {
|
|
|
24
24
|
/**
|
|
25
25
|
* The rights associated with the API key.
|
|
26
26
|
*/
|
|
27
|
-
'keyRights'?: GenerateApiKeyRequest
|
|
27
|
+
'keyRights'?: Array<GenerateApiKeyRequest.keyRightsEnum>;
|
|
28
28
|
|
|
29
29
|
static discriminator: string | undefined = undefined;
|
|
30
30
|
|
|
@@ -47,7 +47,7 @@ export class GenerateApiKeyRequest {
|
|
|
47
47
|
{
|
|
48
48
|
"name": "keyRights",
|
|
49
49
|
"baseName": "keyRights",
|
|
50
|
-
"type": "Array<GenerateApiKeyRequest.
|
|
50
|
+
"type": "Array<GenerateApiKeyRequest.keyRightsEnum>"
|
|
51
51
|
} ];
|
|
52
52
|
|
|
53
53
|
static getAttributeTypeMap() {
|
|
@@ -15,7 +15,7 @@ import { RFQDocumentFacilitatorValidatorsInner } from './rFQDocumentFacilitatorV
|
|
|
15
15
|
|
|
16
16
|
export class RFQDocumentFacilitator {
|
|
17
17
|
'id': string;
|
|
18
|
-
'status': RFQDocumentFacilitator;
|
|
18
|
+
'status': RFQDocumentFacilitator.statusEnum;
|
|
19
19
|
'total_balance': number;
|
|
20
20
|
'payment_address': string;
|
|
21
21
|
'validators': Array<RFQDocumentFacilitatorValidatorsInner>;
|
|
@@ -32,7 +32,7 @@ export class RFQDocumentFacilitator {
|
|
|
32
32
|
{
|
|
33
33
|
"name": "status",
|
|
34
34
|
"baseName": "status",
|
|
35
|
-
"type": "RFQDocumentFacilitator.
|
|
35
|
+
"type": "RFQDocumentFacilitator.statusEnum"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"name": "total_balance",
|
package/model/validatorInfo.ts
CHANGED
|
@@ -22,13 +22,13 @@ export class ValidatorInfo {
|
|
|
22
22
|
/**
|
|
23
23
|
* Validator asset
|
|
24
24
|
*/
|
|
25
|
-
'asset'?: ValidatorInfo;
|
|
25
|
+
'asset'?: ValidatorInfo.assetEnum;
|
|
26
26
|
'validator_public_key'?: string;
|
|
27
27
|
'validator_index'?: number;
|
|
28
28
|
/**
|
|
29
29
|
* Status of the validator on the network
|
|
30
30
|
*/
|
|
31
|
-
'status'?: ValidatorInfo;
|
|
31
|
+
'status'?: ValidatorInfo.statusEnum;
|
|
32
32
|
'exit_estimate'?: ExitEstimateSeller;
|
|
33
33
|
'key_holder'?: ValidatorKeyHolder;
|
|
34
34
|
'validator_type'?: ValidatorType;
|
|
@@ -45,7 +45,7 @@ export class ValidatorInfo {
|
|
|
45
45
|
{
|
|
46
46
|
"name": "asset",
|
|
47
47
|
"baseName": "asset",
|
|
48
|
-
"type": "ValidatorInfo.
|
|
48
|
+
"type": "ValidatorInfo.assetEnum"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"name": "validator_public_key",
|
|
@@ -60,7 +60,7 @@ export class ValidatorInfo {
|
|
|
60
60
|
{
|
|
61
61
|
"name": "status",
|
|
62
62
|
"baseName": "status",
|
|
63
|
-
"type": "ValidatorInfo.
|
|
63
|
+
"type": "ValidatorInfo.statusEnum"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"name": "exit_estimate",
|
|
@@ -101,6 +101,7 @@ export type statusEnum =
|
|
|
101
101
|
'activating' |
|
|
102
102
|
'active' |
|
|
103
103
|
'exiting' |
|
|
104
|
-
'exited'
|
|
104
|
+
'exited' |
|
|
105
|
+
'sold';
|
|
105
106
|
}
|
|
106
107
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
export class ValidatorWithdrawal {
|
|
15
|
-
'asset': ValidatorWithdrawal;
|
|
15
|
+
'asset': ValidatorWithdrawal.assetEnum;
|
|
16
16
|
'validator_public_key': string;
|
|
17
17
|
'validator_index': number;
|
|
18
18
|
'epoch': number;
|
|
@@ -28,7 +28,7 @@ export class ValidatorWithdrawal {
|
|
|
28
28
|
{
|
|
29
29
|
"name": "asset",
|
|
30
30
|
"baseName": "asset",
|
|
31
|
-
"type": "ValidatorWithdrawal.
|
|
31
|
+
"type": "ValidatorWithdrawal.assetEnum"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"name": "validator_public_key",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@northstake/northstakeapi",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.34",
|
|
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.
|
|
24
|
+
"@types/node": "^22.12.0",
|
|
25
25
|
"typescript": "^5.7.3"
|
|
26
26
|
}
|
|
27
27
|
}
|