@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,164 +0,0 @@
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
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.TransactionsApi = exports.TransactionsApiApiKeys = void 0;
18
- const request_1 = __importDefault(require("request"));
19
- const models_1 = require("../model/models");
20
- const models_2 = require("../model/models");
21
- let defaultBasePath = 'https://api.northstake.dk/v1';
22
- // ===============================================
23
- // This file is autogenerated - Please do not edit
24
- // ===============================================
25
- var TransactionsApiApiKeys;
26
- (function (TransactionsApiApiKeys) {
27
- TransactionsApiApiKeys[TransactionsApiApiKeys["ApiKeyAuth"] = 0] = "ApiKeyAuth";
28
- })(TransactionsApiApiKeys || (exports.TransactionsApiApiKeys = TransactionsApiApiKeys = {}));
29
- class TransactionsApi {
30
- constructor(basePathOrUsername, password, basePath) {
31
- this._basePath = defaultBasePath;
32
- this._defaultHeaders = {};
33
- this._useQuerystring = false;
34
- this.authentications = {
35
- 'default': new models_2.JWTAuth('your_api_key', 'your_private_key'),
36
- 'bearerTokenAuth': new models_2.HttpBearerAuth(),
37
- 'ApiKeyAuth': new models_2.ApiKeyAuth('header', 'x-api-key'),
38
- };
39
- this.interceptors = [];
40
- if (password) {
41
- if (basePath) {
42
- this.basePath = basePath;
43
- }
44
- }
45
- else {
46
- if (basePathOrUsername) {
47
- this.basePath = basePathOrUsername;
48
- }
49
- }
50
- }
51
- set useQuerystring(value) {
52
- this._useQuerystring = value;
53
- }
54
- set basePath(basePath) {
55
- this._basePath = basePath;
56
- }
57
- set defaultHeaders(defaultHeaders) {
58
- this._defaultHeaders = defaultHeaders;
59
- }
60
- get defaultHeaders() {
61
- return this._defaultHeaders;
62
- }
63
- get basePath() {
64
- return this._basePath;
65
- }
66
- setDefaultAuthentication(auth) {
67
- this.authentications.default = auth;
68
- }
69
- setApiKey(key, value) {
70
- this.authentications[TransactionsApiApiKeys[key]].apiKey = value;
71
- }
72
- set accessToken(accessToken) {
73
- this.authentications.bearerTokenAuth.accessToken = accessToken;
74
- }
75
- addInterceptor(interceptor) {
76
- this.interceptors.push(interceptor);
77
- }
78
- /**
79
- *
80
- * @summary Get transactions
81
- * @param startDate Start date for filtering transaction statistics
82
- * @param endDate End date for filtering transaction statistics
83
- * @param type Type of transaction (e.g., deposit, withdrawal)
84
- * @param asset Asset type (e.g., ETH, SOL)
85
- * @param page Transaction list page number
86
- * @param limit Number of transactions to return per page
87
- */
88
- async getTransactions(params, options = { headers: {} }) {
89
- const localVarPath = this.basePath + '/transactions';
90
- let localVarQueryParameters = {};
91
- let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
92
- const produces = ['application/json'];
93
- if (produces.indexOf('application/json') >= 0) {
94
- localVarHeaderParams.Accept = 'application/json';
95
- }
96
- else {
97
- localVarHeaderParams.Accept = produces.join(',');
98
- }
99
- let localVarFormParams = {};
100
- if ((params === null || params === void 0 ? void 0 : params.startDate) !== undefined) {
101
- localVarQueryParameters['startDate'] = models_1.ObjectSerializer.serialize(params === null || params === void 0 ? void 0 : params.startDate, "string");
102
- }
103
- if ((params === null || params === void 0 ? void 0 : params.endDate) !== undefined) {
104
- localVarQueryParameters['endDate'] = models_1.ObjectSerializer.serialize(params === null || params === void 0 ? void 0 : params.endDate, "string");
105
- }
106
- if ((params === null || params === void 0 ? void 0 : params.type) !== undefined) {
107
- localVarQueryParameters['type'] = models_1.ObjectSerializer.serialize(params === null || params === void 0 ? void 0 : params.type, "TransactionEventType");
108
- }
109
- if ((params === null || params === void 0 ? void 0 : params.asset) !== undefined) {
110
- localVarQueryParameters['asset'] = models_1.ObjectSerializer.serialize(params === null || params === void 0 ? void 0 : params.asset, "Asset");
111
- }
112
- if ((params === null || params === void 0 ? void 0 : params.page) !== undefined) {
113
- localVarQueryParameters['page'] = models_1.ObjectSerializer.serialize(params === null || params === void 0 ? void 0 : params.page, "number");
114
- }
115
- if ((params === null || params === void 0 ? void 0 : params.limit) !== undefined) {
116
- localVarQueryParameters['limit'] = models_1.ObjectSerializer.serialize(params === null || params === void 0 ? void 0 : params.limit, "number");
117
- }
118
- Object.assign(localVarHeaderParams, options.headers);
119
- let localVarUseFormData = false;
120
- let localVarRequestOptions = {
121
- method: 'GET',
122
- qs: localVarQueryParameters,
123
- headers: localVarHeaderParams,
124
- uri: localVarPath,
125
- useQuerystring: this._useQuerystring,
126
- json: true,
127
- };
128
- let authenticationPromise = Promise.resolve();
129
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
130
- let interceptorPromise = authenticationPromise;
131
- for (const interceptor of this.interceptors) {
132
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
133
- }
134
- return interceptorPromise.then(() => {
135
- if (Object.keys(localVarFormParams).length) {
136
- if (localVarUseFormData) {
137
- localVarRequestOptions.formData = localVarFormParams;
138
- }
139
- else {
140
- localVarRequestOptions.form = localVarFormParams;
141
- }
142
- }
143
- return new Promise((resolve, reject) => {
144
- (0, request_1.default)(localVarRequestOptions, (error, response, body) => {
145
- if (error) {
146
- console.error('API call error:', error);
147
- reject(error);
148
- }
149
- else {
150
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
151
- body = models_1.ObjectSerializer.deserialize(body, "GetTransactionsResponse");
152
- resolve({ body: body, status: response.statusCode });
153
- }
154
- else {
155
- console.error('API response error:', response.statusCode);
156
- resolve({ body: body, status: response.statusCode });
157
- }
158
- }
159
- });
160
- });
161
- });
162
- }
163
- }
164
- exports.TransactionsApi = TransactionsApi;
@@ -1,29 +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
- import { Asset } from './asset';
13
- export declare class AddLinkedWalletForUserRequest {
14
- 'walletAddress': string;
15
- 'asset': Asset;
16
- static discriminator: string | undefined;
17
- static attributeTypeMap: Array<{
18
- name: string;
19
- baseName: string;
20
- type: string;
21
- }>;
22
- static getAttributeTypeMap(): {
23
- name: string;
24
- baseName: string;
25
- type: string;
26
- }[];
27
- }
28
- export declare namespace AddLinkedWalletForUserRequest {
29
- }
@@ -1,33 +0,0 @@
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.AddLinkedWalletForUserRequest = void 0;
15
- class AddLinkedWalletForUserRequest {
16
- static getAttributeTypeMap() {
17
- return AddLinkedWalletForUserRequest.attributeTypeMap;
18
- }
19
- }
20
- exports.AddLinkedWalletForUserRequest = AddLinkedWalletForUserRequest;
21
- AddLinkedWalletForUserRequest.discriminator = undefined;
22
- AddLinkedWalletForUserRequest.attributeTypeMap = [
23
- {
24
- "name": "walletAddress",
25
- "baseName": "walletAddress",
26
- "type": "string"
27
- },
28
- {
29
- "name": "asset",
30
- "baseName": "asset",
31
- "type": "Asset"
32
- }
33
- ];
@@ -1,38 +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
- import { ManagedUser } from './managedUser';
13
- export declare class AllManagedUsersResponse {
14
- 'users': Array<ManagedUser>;
15
- /**
16
- * Total number of managed users
17
- */
18
- 'total': number;
19
- /**
20
- * Total number of pages
21
- */
22
- 'pages': number;
23
- /**
24
- * Current page number
25
- */
26
- 'currentPage': number;
27
- static discriminator: string | undefined;
28
- static attributeTypeMap: Array<{
29
- name: string;
30
- baseName: string;
31
- type: string;
32
- }>;
33
- static getAttributeTypeMap(): {
34
- name: string;
35
- baseName: string;
36
- type: string;
37
- }[];
38
- }
@@ -1,43 +0,0 @@
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.AllManagedUsersResponse = void 0;
15
- class AllManagedUsersResponse {
16
- static getAttributeTypeMap() {
17
- return AllManagedUsersResponse.attributeTypeMap;
18
- }
19
- }
20
- exports.AllManagedUsersResponse = AllManagedUsersResponse;
21
- AllManagedUsersResponse.discriminator = undefined;
22
- AllManagedUsersResponse.attributeTypeMap = [
23
- {
24
- "name": "users",
25
- "baseName": "users",
26
- "type": "Array<ManagedUser>"
27
- },
28
- {
29
- "name": "total",
30
- "baseName": "total",
31
- "type": "number"
32
- },
33
- {
34
- "name": "pages",
35
- "baseName": "pages",
36
- "type": "number"
37
- },
38
- {
39
- "name": "currentPage",
40
- "baseName": "currentPage",
41
- "type": "number"
42
- }
43
- ];
@@ -1,25 +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
- export declare class CreateManagedUserRequest {
13
- 'reference_user_id': string;
14
- static discriminator: string | undefined;
15
- static attributeTypeMap: Array<{
16
- name: string;
17
- baseName: string;
18
- type: string;
19
- }>;
20
- static getAttributeTypeMap(): {
21
- name: string;
22
- baseName: string;
23
- type: string;
24
- }[];
25
- }
@@ -1,28 +0,0 @@
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.CreateManagedUserRequest = void 0;
15
- class CreateManagedUserRequest {
16
- static getAttributeTypeMap() {
17
- return CreateManagedUserRequest.attributeTypeMap;
18
- }
19
- }
20
- exports.CreateManagedUserRequest = CreateManagedUserRequest;
21
- CreateManagedUserRequest.discriminator = undefined;
22
- CreateManagedUserRequest.attributeTypeMap = [
23
- {
24
- "name": "reference_user_id",
25
- "baseName": "reference_user_id",
26
- "type": "string"
27
- }
28
- ];
@@ -1,35 +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
- import { Asset } from './asset';
13
- /**
14
- * Details of a deposit address including type and address.
15
- */
16
- export declare class DepositAddress {
17
- 'type': Asset;
18
- /**
19
- * The wallet deposit address.
20
- */
21
- 'address': string;
22
- static discriminator: string | undefined;
23
- static attributeTypeMap: Array<{
24
- name: string;
25
- baseName: string;
26
- type: string;
27
- }>;
28
- static getAttributeTypeMap(): {
29
- name: string;
30
- baseName: string;
31
- type: string;
32
- }[];
33
- }
34
- export declare namespace DepositAddress {
35
- }
@@ -1,36 +0,0 @@
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.DepositAddress = void 0;
15
- /**
16
- * Details of a deposit address including type and address.
17
- */
18
- class DepositAddress {
19
- static getAttributeTypeMap() {
20
- return DepositAddress.attributeTypeMap;
21
- }
22
- }
23
- exports.DepositAddress = DepositAddress;
24
- DepositAddress.discriminator = undefined;
25
- DepositAddress.attributeTypeMap = [
26
- {
27
- "name": "type",
28
- "baseName": "type",
29
- "type": "Asset"
30
- },
31
- {
32
- "name": "address",
33
- "baseName": "address",
34
- "type": "string"
35
- }
36
- ];
@@ -1,27 +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
- import { DepositAddress } from './depositAddress';
13
- export declare class DepositAddressesForUserResponse {
14
- 'userId': string;
15
- 'depositAccounts': Array<DepositAddress>;
16
- static discriminator: string | undefined;
17
- static attributeTypeMap: Array<{
18
- name: string;
19
- baseName: string;
20
- type: string;
21
- }>;
22
- static getAttributeTypeMap(): {
23
- name: string;
24
- baseName: string;
25
- type: string;
26
- }[];
27
- }
@@ -1,33 +0,0 @@
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.DepositAddressesForUserResponse = void 0;
15
- class DepositAddressesForUserResponse {
16
- static getAttributeTypeMap() {
17
- return DepositAddressesForUserResponse.attributeTypeMap;
18
- }
19
- }
20
- exports.DepositAddressesForUserResponse = DepositAddressesForUserResponse;
21
- DepositAddressesForUserResponse.discriminator = undefined;
22
- DepositAddressesForUserResponse.attributeTypeMap = [
23
- {
24
- "name": "userId",
25
- "baseName": "userId",
26
- "type": "string"
27
- },
28
- {
29
- "name": "depositAccounts",
30
- "baseName": "depositAccounts",
31
- "type": "Array<DepositAddress>"
32
- }
33
- ];
@@ -1,38 +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
- import { Transaction } from './transaction';
13
- export declare class GetTransactionsResponse {
14
- 'transactions': Array<Transaction>;
15
- /**
16
- * Total number of pages
17
- */
18
- 'pages': number;
19
- /**
20
- * Total number of transactions
21
- */
22
- 'total': number;
23
- /**
24
- * Current page number
25
- */
26
- 'currentPage': number;
27
- static discriminator: string | undefined;
28
- static attributeTypeMap: Array<{
29
- name: string;
30
- baseName: string;
31
- type: string;
32
- }>;
33
- static getAttributeTypeMap(): {
34
- name: string;
35
- baseName: string;
36
- type: string;
37
- }[];
38
- }
@@ -1,43 +0,0 @@
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.GetTransactionsResponse = void 0;
15
- class GetTransactionsResponse {
16
- static getAttributeTypeMap() {
17
- return GetTransactionsResponse.attributeTypeMap;
18
- }
19
- }
20
- exports.GetTransactionsResponse = GetTransactionsResponse;
21
- GetTransactionsResponse.discriminator = undefined;
22
- GetTransactionsResponse.attributeTypeMap = [
23
- {
24
- "name": "transactions",
25
- "baseName": "transactions",
26
- "type": "Array<Transaction>"
27
- },
28
- {
29
- "name": "pages",
30
- "baseName": "pages",
31
- "type": "number"
32
- },
33
- {
34
- "name": "total",
35
- "baseName": "total",
36
- "type": "number"
37
- },
38
- {
39
- "name": "currentPage",
40
- "baseName": "currentPage",
41
- "type": "number"
42
- }
43
- ];
@@ -1,29 +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
- * Information about a user managed by the account.
14
- */
15
- export declare class ManagedUser {
16
- 'reference_user_id': string;
17
- 'userId': 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
- }
@@ -1,36 +0,0 @@
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.ManagedUser = void 0;
15
- /**
16
- * Information about a user managed by the account.
17
- */
18
- class ManagedUser {
19
- static getAttributeTypeMap() {
20
- return ManagedUser.attributeTypeMap;
21
- }
22
- }
23
- exports.ManagedUser = ManagedUser;
24
- ManagedUser.discriminator = undefined;
25
- ManagedUser.attributeTypeMap = [
26
- {
27
- "name": "reference_user_id",
28
- "baseName": "reference_user_id",
29
- "type": "string"
30
- },
31
- {
32
- "name": "userId",
33
- "baseName": "userId",
34
- "type": "string"
35
- }
36
- ];
@@ -1,31 +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
- import { Wallet } from './wallet';
13
- /**
14
- * Represents detailed account information for a managed user.
15
- */
16
- export declare class ManagedUserDetails {
17
- 'userId': string;
18
- 'reference_user_id': string;
19
- 'wallets'?: Array<Wallet>;
20
- static discriminator: string | undefined;
21
- static attributeTypeMap: Array<{
22
- name: string;
23
- baseName: string;
24
- type: string;
25
- }>;
26
- static getAttributeTypeMap(): {
27
- name: string;
28
- baseName: string;
29
- type: string;
30
- }[];
31
- }