@northstake/northstakeapi 1.0.24 → 1.0.25

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 (125) hide show
  1. package/.openapi-generator/FILES +0 -37
  2. package/api/apis.ts +1 -23
  3. package/api.ts +0 -70
  4. package/dist/api/apis.d.ts +1 -23
  5. package/dist/api/apis.js +1 -23
  6. package/dist/api.d.ts +0 -48
  7. package/dist/api.js +0 -59
  8. package/dist/model/models.d.ts +0 -26
  9. package/dist/model/models.js +0 -70
  10. package/dist/model/webhookPayloadData.d.ts +2 -10
  11. package/dist/model/webhookPayloadData.js +2 -12
  12. package/model/models.ts +0 -127
  13. package/model/webhookPayloadData.ts +4 -23
  14. package/package.json +1 -1
  15. package/api/depositAddressesApi.ts +0 -267
  16. package/api/managedUsersApi.ts +0 -448
  17. package/api/managedUsersDepositAddressesApi.ts +0 -186
  18. package/api/managedUsersLinkedWalletsApi.ts +0 -369
  19. package/api/managedUsersOrdersApi.ts +0 -462
  20. package/api/managedUsersPortfolioApi.ts +0 -186
  21. package/api/managedUsersTransactionsApi.ts +0 -222
  22. package/api/managedUsersValidatorsApi.ts +0 -302
  23. package/api/ordersApi.ts +0 -432
  24. package/api/portfolioApi.ts +0 -180
  25. package/api/transactionsApi.ts +0 -215
  26. package/dist/api/depositAddressesApi.d.ts +0 -64
  27. package/dist/api/depositAddressesApi.js +0 -207
  28. package/dist/api/managedUsersApi.d.ts +0 -94
  29. package/dist/api/managedUsersApi.js +0 -348
  30. package/dist/api/managedUsersDepositAddressesApi.d.ts +0 -51
  31. package/dist/api/managedUsersDepositAddressesApi.js +0 -146
  32. package/dist/api/managedUsersLinkedWalletsApi.d.ts +0 -80
  33. package/dist/api/managedUsersLinkedWalletsApi.js +0 -290
  34. package/dist/api/managedUsersOrdersApi.d.ts +0 -94
  35. package/dist/api/managedUsersOrdersApi.js +0 -364
  36. package/dist/api/managedUsersPortfolioApi.d.ts +0 -51
  37. package/dist/api/managedUsersPortfolioApi.js +0 -146
  38. package/dist/api/managedUsersTransactionsApi.d.ts +0 -68
  39. package/dist/api/managedUsersTransactionsApi.js +0 -170
  40. package/dist/api/managedUsersValidatorsApi.d.ts +0 -78
  41. package/dist/api/managedUsersValidatorsApi.js +0 -233
  42. package/dist/api/ordersApi.d.ts +0 -90
  43. package/dist/api/ordersApi.js +0 -333
  44. package/dist/api/portfolioApi.d.ts +0 -50
  45. package/dist/api/portfolioApi.js +0 -140
  46. package/dist/api/transactionsApi.d.ts +0 -66
  47. package/dist/api/transactionsApi.js +0 -164
  48. package/dist/model/addLinkedWalletForUserRequest.d.ts +0 -29
  49. package/dist/model/addLinkedWalletForUserRequest.js +0 -33
  50. package/dist/model/allManagedUsersResponse.d.ts +0 -38
  51. package/dist/model/allManagedUsersResponse.js +0 -43
  52. package/dist/model/createManagedUserRequest.d.ts +0 -25
  53. package/dist/model/createManagedUserRequest.js +0 -28
  54. package/dist/model/depositAddress.d.ts +0 -35
  55. package/dist/model/depositAddress.js +0 -36
  56. package/dist/model/depositAddressesForUserResponse.d.ts +0 -27
  57. package/dist/model/depositAddressesForUserResponse.js +0 -33
  58. package/dist/model/getTransactionsResponse.d.ts +0 -38
  59. package/dist/model/getTransactionsResponse.js +0 -43
  60. package/dist/model/managedUser.d.ts +0 -29
  61. package/dist/model/managedUser.js +0 -36
  62. package/dist/model/managedUserDetails.d.ts +0 -31
  63. package/dist/model/managedUserDetails.js +0 -41
  64. package/dist/model/order.d.ts +0 -42
  65. package/dist/model/order.js +0 -48
  66. package/dist/model/orderDocument.d.ts +0 -50
  67. package/dist/model/orderDocument.js +0 -71
  68. package/dist/model/orderDocumentSteps.d.ts +0 -30
  69. package/dist/model/orderDocumentSteps.js +0 -33
  70. package/dist/model/orderType.d.ts +0 -15
  71. package/dist/model/orderType.js +0 -13
  72. package/dist/model/orderUpdatePayload.d.ts +0 -36
  73. package/dist/model/orderUpdatePayload.js +0 -38
  74. package/dist/model/portfolioEntity.d.ts +0 -33
  75. package/dist/model/portfolioEntity.js +0 -41
  76. package/dist/model/stakeStep.d.ts +0 -32
  77. package/dist/model/stakeStep.js +0 -33
  78. package/dist/model/stakeStepElement.d.ts +0 -30
  79. package/dist/model/stakeStepElement.js +0 -33
  80. package/dist/model/stepStatus.d.ts +0 -15
  81. package/dist/model/stepStatus.js +0 -13
  82. package/dist/model/transaction.d.ts +0 -49
  83. package/dist/model/transaction.js +0 -56
  84. package/dist/model/transactionEventType.d.ts +0 -15
  85. package/dist/model/transactionEventType.js +0 -13
  86. package/dist/model/transactionsforUser.d.ts +0 -38
  87. package/dist/model/transactionsforUser.js +0 -43
  88. package/dist/model/unstakeStep.d.ts +0 -32
  89. package/dist/model/unstakeStep.js +0 -33
  90. package/dist/model/unstakeStepElement.d.ts +0 -30
  91. package/dist/model/unstakeStepElement.js +0 -33
  92. package/dist/model/unstakeStepType.d.ts +0 -15
  93. package/dist/model/unstakeStepType.js +0 -13
  94. package/dist/model/withdrawalStep.d.ts +0 -32
  95. package/dist/model/withdrawalStep.js +0 -33
  96. package/dist/model/withdrawalStepElement.d.ts +0 -30
  97. package/dist/model/withdrawalStepElement.js +0 -33
  98. package/dist/model/withdrawalStepType.d.ts +0 -15
  99. package/dist/model/withdrawalStepType.js +0 -13
  100. package/model/addLinkedWalletForUserRequest.ts +0 -40
  101. package/model/allManagedUsersResponse.ts +0 -59
  102. package/model/createManagedUserRequest.ts +0 -31
  103. package/model/depositAddress.ts +0 -46
  104. package/model/depositAddressesForUserResponse.ts +0 -38
  105. package/model/getTransactionsResponse.ts +0 -59
  106. package/model/managedUser.ts +0 -40
  107. package/model/managedUserDetails.ts +0 -47
  108. package/model/order.ts +0 -68
  109. package/model/orderDocument.ts +0 -106
  110. package/model/orderDocumentSteps.ts +0 -44
  111. package/model/orderType.ts +0 -21
  112. package/model/orderUpdatePayload.ts +0 -52
  113. package/model/portfolioEntity.ts +0 -49
  114. package/model/stakeStep.ts +0 -43
  115. package/model/stakeStepElement.ts +0 -41
  116. package/model/stepStatus.ts +0 -21
  117. package/model/transaction.ts +0 -80
  118. package/model/transactionEventType.ts +0 -23
  119. package/model/transactionsforUser.ts +0 -59
  120. package/model/unstakeStep.ts +0 -43
  121. package/model/unstakeStepElement.ts +0 -41
  122. package/model/unstakeStepType.ts +0 -32
  123. package/model/withdrawalStep.ts +0 -43
  124. package/model/withdrawalStepElement.ts +0 -41
  125. package/model/withdrawalStepType.ts +0 -24
@@ -1,80 +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 { Asset } from './asset';
14
- import { TransactionEventType } from './transactionEventType';
15
-
16
- /**
17
- * Details of transactions including type, amount, and asset.
18
- */
19
- export class Transaction {
20
- /**
21
- * The date and time when the transaction occurred.
22
- */
23
- 'eventTime': Date;
24
- 'eventType': TransactionEventType;
25
- /**
26
- * Asset amount involved in the transaction.
27
- */
28
- 'assetAmount': number;
29
- 'asset': Asset;
30
- /**
31
- * Unique identifier for the order associated with the transaction.
32
- */
33
- 'orderId'?: string;
34
- /**
35
- * Unique identifier for the transaction.
36
- */
37
- 'eventId'?: string;
38
-
39
- static discriminator: string | undefined = undefined;
40
-
41
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
42
- {
43
- "name": "eventTime",
44
- "baseName": "eventTime",
45
- "type": "Date"
46
- },
47
- {
48
- "name": "eventType",
49
- "baseName": "eventType",
50
- "type": "TransactionEventType"
51
- },
52
- {
53
- "name": "assetAmount",
54
- "baseName": "assetAmount",
55
- "type": "number"
56
- },
57
- {
58
- "name": "asset",
59
- "baseName": "asset",
60
- "type": "Asset"
61
- },
62
- {
63
- "name": "orderId",
64
- "baseName": "orderId",
65
- "type": "string"
66
- },
67
- {
68
- "name": "eventId",
69
- "baseName": "eventId",
70
- "type": "string"
71
- } ];
72
-
73
- static getAttributeTypeMap() {
74
- return Transaction.attributeTypeMap;
75
- }
76
- }
77
-
78
- export namespace Transaction {
79
- }
80
-
@@ -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,59 +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 { Transaction } from './transaction';
14
-
15
- export class TransactionsforUser {
16
- 'transactions': Array<Transaction>;
17
- /**
18
- * Total number of pages
19
- */
20
- 'pages': number;
21
- /**
22
- * Total number of transactions
23
- */
24
- 'total': number;
25
- /**
26
- * Current page number
27
- */
28
- 'currentPage': number;
29
-
30
- static discriminator: string | undefined = undefined;
31
-
32
- static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
33
- {
34
- "name": "transactions",
35
- "baseName": "transactions",
36
- "type": "Array<Transaction>"
37
- },
38
- {
39
- "name": "pages",
40
- "baseName": "pages",
41
- "type": "number"
42
- },
43
- {
44
- "name": "total",
45
- "baseName": "total",
46
- "type": "number"
47
- },
48
- {
49
- "name": "currentPage",
50
- "baseName": "currentPage",
51
- "type": "number"
52
- } ];
53
-
54
- static getAttributeTypeMap() {
55
- return TransactionsforUser.attributeTypeMap;
56
- }
57
- }
58
-
59
-
@@ -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
-