@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.
Files changed (130) hide show
  1. package/.openapi-generator/FILES +6 -36
  2. package/.openapi-generator/VERSION +1 -1
  3. package/api/apis.ts +3 -23
  4. package/api/{managedUsersApi.ts → smartContractsApi.ts} +118 -53
  5. package/api.ts +9 -69
  6. package/dist/api/apis.d.ts +3 -23
  7. package/dist/api/apis.js +3 -23
  8. package/dist/api/smartContractsApi.d.ts +125 -0
  9. package/dist/api/{managedUsersApi.js → smartContractsApi.js} +90 -49
  10. package/dist/api.d.ts +7 -47
  11. package/dist/api.js +8 -58
  12. package/dist/model/{getTransactionsResponse.d.ts → getSmartContractInternalTransactions200Response.d.ts} +7 -7
  13. package/dist/model/{transactionsforUser.js → getSmartContractInternalTransactions200Response.js} +11 -11
  14. package/dist/model/{allManagedUsersResponse.d.ts → getSmartContractMinedBlocks200Response.d.ts} +4 -4
  15. package/dist/model/{allManagedUsersResponse.js → getSmartContractMinedBlocks200Response.js} +9 -9
  16. package/dist/model/{transactionsforUser.d.ts → getSmartContractTransactions200Response.d.ts} +5 -5
  17. package/dist/model/{getTransactionsResponse.js → getSmartContractTransactions200Response.js} +10 -10
  18. package/dist/model/{stakeStep.d.ts → internalTransaction.d.ts} +9 -7
  19. package/dist/model/internalTransaction.js +58 -0
  20. package/dist/model/{managedUser.d.ts → minedBlock.d.ts} +8 -6
  21. package/dist/model/minedBlock.js +43 -0
  22. package/dist/model/models.d.ts +5 -25
  23. package/dist/model/models.js +15 -67
  24. package/dist/model/transaction.d.ts +40 -17
  25. package/dist/model/transaction.js +74 -17
  26. package/dist/model/webhookPayloadData.d.ts +2 -10
  27. package/dist/model/webhookPayloadData.js +2 -12
  28. package/model/{transactionsforUser.ts → getSmartContractInternalTransactions200Response.ts} +13 -13
  29. package/model/{allManagedUsersResponse.ts → getSmartContractMinedBlocks200Response.ts} +8 -8
  30. package/model/{getTransactionsResponse.ts → getSmartContractTransactions200Response.ts} +10 -10
  31. package/model/internalTransaction.ts +70 -0
  32. package/model/{depositAddress.ts → minedBlock.ts} +19 -13
  33. package/model/models.ts +17 -114
  34. package/model/transaction.ts +114 -31
  35. package/model/webhookPayloadData.ts +4 -23
  36. package/package.json +1 -1
  37. package/api/depositAddressesApi.ts +0 -267
  38. package/api/managedUsersDepositAddressesApi.ts +0 -186
  39. package/api/managedUsersLinkedWalletsApi.ts +0 -369
  40. package/api/managedUsersOrdersApi.ts +0 -462
  41. package/api/managedUsersPortfolioApi.ts +0 -186
  42. package/api/managedUsersTransactionsApi.ts +0 -222
  43. package/api/managedUsersValidatorsApi.ts +0 -302
  44. package/api/ordersApi.ts +0 -432
  45. package/api/portfolioApi.ts +0 -180
  46. package/api/transactionsApi.ts +0 -215
  47. package/dist/api/depositAddressesApi.d.ts +0 -64
  48. package/dist/api/depositAddressesApi.js +0 -207
  49. package/dist/api/managedUsersApi.d.ts +0 -94
  50. package/dist/api/managedUsersDepositAddressesApi.d.ts +0 -51
  51. package/dist/api/managedUsersDepositAddressesApi.js +0 -146
  52. package/dist/api/managedUsersLinkedWalletsApi.d.ts +0 -80
  53. package/dist/api/managedUsersLinkedWalletsApi.js +0 -290
  54. package/dist/api/managedUsersOrdersApi.d.ts +0 -94
  55. package/dist/api/managedUsersOrdersApi.js +0 -364
  56. package/dist/api/managedUsersPortfolioApi.d.ts +0 -51
  57. package/dist/api/managedUsersPortfolioApi.js +0 -146
  58. package/dist/api/managedUsersTransactionsApi.d.ts +0 -68
  59. package/dist/api/managedUsersTransactionsApi.js +0 -170
  60. package/dist/api/managedUsersValidatorsApi.d.ts +0 -78
  61. package/dist/api/managedUsersValidatorsApi.js +0 -233
  62. package/dist/api/ordersApi.d.ts +0 -90
  63. package/dist/api/ordersApi.js +0 -333
  64. package/dist/api/portfolioApi.d.ts +0 -50
  65. package/dist/api/portfolioApi.js +0 -140
  66. package/dist/api/transactionsApi.d.ts +0 -66
  67. package/dist/api/transactionsApi.js +0 -164
  68. package/dist/model/addLinkedWalletForUserRequest.d.ts +0 -29
  69. package/dist/model/addLinkedWalletForUserRequest.js +0 -33
  70. package/dist/model/createManagedUserRequest.d.ts +0 -25
  71. package/dist/model/createManagedUserRequest.js +0 -28
  72. package/dist/model/depositAddress.d.ts +0 -35
  73. package/dist/model/depositAddress.js +0 -36
  74. package/dist/model/depositAddressesForUserResponse.d.ts +0 -27
  75. package/dist/model/depositAddressesForUserResponse.js +0 -33
  76. package/dist/model/managedUser.js +0 -36
  77. package/dist/model/managedUserDetails.d.ts +0 -31
  78. package/dist/model/managedUserDetails.js +0 -41
  79. package/dist/model/order.d.ts +0 -42
  80. package/dist/model/order.js +0 -48
  81. package/dist/model/orderDocument.d.ts +0 -50
  82. package/dist/model/orderDocument.js +0 -71
  83. package/dist/model/orderDocumentSteps.d.ts +0 -30
  84. package/dist/model/orderDocumentSteps.js +0 -33
  85. package/dist/model/orderType.d.ts +0 -15
  86. package/dist/model/orderType.js +0 -13
  87. package/dist/model/orderUpdatePayload.d.ts +0 -36
  88. package/dist/model/orderUpdatePayload.js +0 -38
  89. package/dist/model/portfolioEntity.d.ts +0 -33
  90. package/dist/model/portfolioEntity.js +0 -41
  91. package/dist/model/stakeStep.js +0 -33
  92. package/dist/model/stakeStepElement.d.ts +0 -30
  93. package/dist/model/stakeStepElement.js +0 -33
  94. package/dist/model/stepStatus.d.ts +0 -15
  95. package/dist/model/stepStatus.js +0 -13
  96. package/dist/model/transactionEventType.d.ts +0 -15
  97. package/dist/model/transactionEventType.js +0 -13
  98. package/dist/model/unstakeStep.d.ts +0 -32
  99. package/dist/model/unstakeStep.js +0 -33
  100. package/dist/model/unstakeStepElement.d.ts +0 -30
  101. package/dist/model/unstakeStepElement.js +0 -33
  102. package/dist/model/unstakeStepType.d.ts +0 -15
  103. package/dist/model/unstakeStepType.js +0 -13
  104. package/dist/model/withdrawalStep.d.ts +0 -32
  105. package/dist/model/withdrawalStep.js +0 -33
  106. package/dist/model/withdrawalStepElement.d.ts +0 -30
  107. package/dist/model/withdrawalStepElement.js +0 -33
  108. package/dist/model/withdrawalStepType.d.ts +0 -15
  109. package/dist/model/withdrawalStepType.js +0 -13
  110. package/model/addLinkedWalletForUserRequest.ts +0 -40
  111. package/model/createManagedUserRequest.ts +0 -31
  112. package/model/depositAddressesForUserResponse.ts +0 -38
  113. package/model/managedUser.ts +0 -40
  114. package/model/managedUserDetails.ts +0 -47
  115. package/model/order.ts +0 -68
  116. package/model/orderDocument.ts +0 -106
  117. package/model/orderDocumentSteps.ts +0 -44
  118. package/model/orderType.ts +0 -21
  119. package/model/orderUpdatePayload.ts +0 -52
  120. package/model/portfolioEntity.ts +0 -49
  121. package/model/stakeStep.ts +0 -43
  122. package/model/stakeStepElement.ts +0 -41
  123. package/model/stepStatus.ts +0 -21
  124. package/model/transactionEventType.ts +0 -23
  125. package/model/unstakeStep.ts +0 -43
  126. package/model/unstakeStepElement.ts +0 -41
  127. package/model/unstakeStepType.ts +0 -32
  128. package/model/withdrawalStep.ts +0 -43
  129. package/model/withdrawalStepElement.ts +0 -41
  130. package/model/withdrawalStepType.ts +0 -24
@@ -1,43 +0,0 @@
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 StakeStep {
15
- /**
16
- * Specifies current status of the staking process.
17
- */
18
- 'type'?: string;
19
- /**
20
- * The timestamp when the step was processed.
21
- */
22
- 'timestamp'?: Date;
23
-
24
- static discriminator: string | undefined = undefined;
25
-
26
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
27
- {
28
- "name": "type",
29
- "baseName": "type",
30
- "type": "string"
31
- },
32
- {
33
- "name": "timestamp",
34
- "baseName": "timestamp",
35
- "type": "Date"
36
- } ];
37
-
38
- static getAttributeTypeMap() {
39
- return StakeStep.attributeTypeMap;
40
- }
41
- }
42
-
43
-
@@ -1,41 +0,0 @@
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
- import { StakeStep } from './stakeStep';
14
- import { StepStatus } from './stepStatus';
15
-
16
- export class StakeStepElement {
17
- 'steps'?: Array<StakeStep>;
18
- 'status'?: StepStatus;
19
-
20
- static discriminator: string | undefined = undefined;
21
-
22
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23
- {
24
- "name": "steps",
25
- "baseName": "steps",
26
- "type": "Array<StakeStep>"
27
- },
28
- {
29
- "name": "status",
30
- "baseName": "status",
31
- "type": "StepStatus"
32
- } ];
33
-
34
- static getAttributeTypeMap() {
35
- return StakeStepElement.attributeTypeMap;
36
- }
37
- }
38
-
39
- export namespace StakeStepElement {
40
- }
41
-
@@ -1,21 +0,0 @@
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
- /**
15
- * Current status of the staking processing sequence.
16
- */
17
- export type StepStatus =
18
- 'running' |
19
- 'done' |
20
- 'failed';
21
-
@@ -1,23 +0,0 @@
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
- /**
15
- * Supported transaction types.
16
- */
17
- export type TransactionEventType =
18
- 'stake' |
19
- 'unstake' |
20
- 'withdrawal' |
21
- 'deposit' |
22
- 'reward';
23
-
@@ -1,43 +0,0 @@
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
- import { UnstakeStepType } from './unstakeStepType';
14
-
15
- export class UnstakeStep {
16
- 'type'?: UnstakeStepType;
17
- /**
18
- * The timestamp when unstaking was processed.
19
- */
20
- 'timestamp'?: Date;
21
-
22
- static discriminator: string | undefined = undefined;
23
-
24
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
25
- {
26
- "name": "type",
27
- "baseName": "type",
28
- "type": "UnstakeStepType"
29
- },
30
- {
31
- "name": "timestamp",
32
- "baseName": "timestamp",
33
- "type": "Date"
34
- } ];
35
-
36
- static getAttributeTypeMap() {
37
- return UnstakeStep.attributeTypeMap;
38
- }
39
- }
40
-
41
- export namespace UnstakeStep {
42
- }
43
-
@@ -1,41 +0,0 @@
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
- import { StepStatus } from './stepStatus';
14
- import { UnstakeStep } from './unstakeStep';
15
-
16
- export class UnstakeStepElement {
17
- 'steps'?: Array<UnstakeStep>;
18
- 'status'?: StepStatus;
19
-
20
- static discriminator: string | undefined = undefined;
21
-
22
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23
- {
24
- "name": "steps",
25
- "baseName": "steps",
26
- "type": "Array<UnstakeStep>"
27
- },
28
- {
29
- "name": "status",
30
- "baseName": "status",
31
- "type": "StepStatus"
32
- } ];
33
-
34
- static getAttributeTypeMap() {
35
- return UnstakeStepElement.attributeTypeMap;
36
- }
37
- }
38
-
39
- export namespace UnstakeStepElement {
40
- }
41
-
@@ -1,32 +0,0 @@
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
- /**
15
- * Specifies the status of the unstaking process.
16
- */
17
- export type UnstakeStepType =
18
- 'unstake_transaction_requested' |
19
- 'unstake_transaction_submitted' |
20
- 'unstake_transaction_finalized' |
21
- 'transfer_to_liquid_submitted' |
22
- 'transfer_to_liquid_finalized' |
23
- 'standardized' |
24
- 'postgres_registered_unstake' |
25
- 'postgres_registered_release' |
26
- 'done' |
27
- 'reward_transfer_submitted' |
28
- 'reward_transfer_finalized' |
29
- 'withdrawal_transaction_submitted' |
30
- 'withdrawal_transaction_finalized' |
31
- 'rewards_distributed';
32
-
@@ -1,43 +0,0 @@
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
- import { WithdrawalStepType } from './withdrawalStepType';
14
-
15
- export class WithdrawalStep {
16
- 'type'?: WithdrawalStepType;
17
- /**
18
- * The timestamp when withdrawal was processed.
19
- */
20
- 'timestamp'?: Date;
21
-
22
- static discriminator: string | undefined = undefined;
23
-
24
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
25
- {
26
- "name": "type",
27
- "baseName": "type",
28
- "type": "WithdrawalStepType"
29
- },
30
- {
31
- "name": "timestamp",
32
- "baseName": "timestamp",
33
- "type": "Date"
34
- } ];
35
-
36
- static getAttributeTypeMap() {
37
- return WithdrawalStep.attributeTypeMap;
38
- }
39
- }
40
-
41
- export namespace WithdrawalStep {
42
- }
43
-
@@ -1,41 +0,0 @@
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
- import { StepStatus } from './stepStatus';
14
- import { WithdrawalStep } from './withdrawalStep';
15
-
16
- export class WithdrawalStepElement {
17
- 'steps'?: Array<WithdrawalStep>;
18
- 'status'?: StepStatus;
19
-
20
- static discriminator: string | undefined = undefined;
21
-
22
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23
- {
24
- "name": "steps",
25
- "baseName": "steps",
26
- "type": "Array<WithdrawalStep>"
27
- },
28
- {
29
- "name": "status",
30
- "baseName": "status",
31
- "type": "StepStatus"
32
- } ];
33
-
34
- static getAttributeTypeMap() {
35
- return WithdrawalStepElement.attributeTypeMap;
36
- }
37
- }
38
-
39
- export namespace WithdrawalStepElement {
40
- }
41
-
@@ -1,24 +0,0 @@
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
- /**
15
- * Specifies the status of the withdrawal process.
16
- */
17
- export type WithdrawalStepType =
18
- 'postgres_reserved_tokens' |
19
- 'transferred_to_address' |
20
- 'finalized_withdrawal_transfer' |
21
- 'postgres_registered_withdrawal' |
22
- 'done' |
23
- 'waiting_for_auth';
24
-