snaptrade-typescript-sdk 8.19.0 → 8.20.0
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/README.md +2 -2
- package/dist/api/account-information-api-generated.d.ts +525 -0
- package/dist/api/account-information-api-generated.js +765 -0
- package/dist/api/account-information-api.d.ts +3 -525
- package/dist/api/account-information-api.js +17 -1044
- package/dist/api/api-status-api-generated.d.ts +69 -0
- package/dist/api/api-status-api-generated.js +131 -0
- package/dist/api/api-status-api.d.ts +3 -69
- package/dist/api/api-status-api.js +17 -198
- package/dist/api/authentication-api-generated.d.ts +266 -0
- package/dist/api/authentication-api-generated.js +461 -0
- package/dist/api/authentication-api.d.ts +3 -266
- package/dist/api/authentication-api.js +17 -656
- package/dist/api/connections-api-generated.d.ts +274 -0
- package/dist/api/connections-api-generated.js +411 -0
- package/dist/api/connections-api.d.ts +3 -274
- package/dist/api/connections-api.js +17 -578
- package/dist/api/error-logs-api-generated.d.ts +93 -0
- package/dist/api/error-logs-api-generated.js +152 -0
- package/dist/api/error-logs-api.d.ts +3 -93
- package/dist/api/error-logs-api.js +17 -235
- package/dist/api/options-api-generated.d.ts +368 -0
- package/dist/api/options-api-generated.js +530 -0
- package/dist/api/options-api.d.ts +3 -368
- package/dist/api/options-api.js +17 -725
- package/dist/api/reference-data-api-generated.d.ts +467 -0
- package/dist/api/reference-data-api-generated.js +872 -0
- package/dist/api/reference-data-api.d.ts +3 -467
- package/dist/api/reference-data-api.js +17 -1241
- package/dist/api/trading-api-generated.d.ts +402 -0
- package/dist/api/trading-api-generated.js +613 -0
- package/dist/api/trading-api.d.ts +3 -402
- package/dist/api/trading-api.js +17 -836
- package/dist/api/transactions-and-reporting-api-generated.d.ts +217 -0
- package/dist/api/transactions-and-reporting-api-generated.js +287 -0
- package/dist/api/transactions-and-reporting-api.d.ts +3 -217
- package/dist/api/transactions-and-reporting-api.js +17 -398
- package/dist/base.js +10 -31
- package/dist/client-custom.js +3 -5
- package/dist/client.d.ts +1 -1
- package/dist/client.js +17 -35
- package/dist/common.js +64 -123
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +9 -11
- package/dist/error.d.ts +56 -0
- package/dist/error.js +104 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/jest.config.js +1 -1
- package/dist/pagination/page.js +15 -43
- package/dist/pagination/pageable.js +32 -88
- package/dist/pagination/paginate.js +15 -53
- package/dist/requestAfterHook.js +14 -14
- package/dist/requestBeforeHook.js +1 -1
- package/dist/requestBeforeUrlHook.d.ts +7 -0
- package/dist/requestBeforeUrlHook.js +5 -0
- package/package.json +2 -2
- package/dist/api/account-information-api-custom.d.ts +0 -3
- package/dist/api/account-information-api-custom.js +0 -27
- package/dist/api/api-status-api-custom.d.ts +0 -3
- package/dist/api/api-status-api-custom.js +0 -27
- package/dist/api/authentication-api-custom.d.ts +0 -3
- package/dist/api/authentication-api-custom.js +0 -27
- package/dist/api/connections-api-custom.d.ts +0 -3
- package/dist/api/connections-api-custom.js +0 -27
- package/dist/api/error-logs-api-custom.d.ts +0 -3
- package/dist/api/error-logs-api-custom.js +0 -27
- package/dist/api/options-api-custom.d.ts +0 -3
- package/dist/api/options-api-custom.js +0 -27
- package/dist/api/reference-data-api-custom.d.ts +0 -3
- package/dist/api/reference-data-api-custom.js +0 -27
- package/dist/api/trading-api-custom.d.ts +0 -3
- package/dist/api/trading-api-custom.js +0 -27
- package/dist/api/transactions-and-reporting-api-custom.d.ts +0 -3
- package/dist/api/transactions-and-reporting-api-custom.js +0 -27
package/dist/pagination/page.js
CHANGED
|
@@ -9,52 +9,24 @@
|
|
|
9
9
|
* NOTE: This file is auto generated by Konfig (https://konfigthis.com).
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
var __extends = (this && this.__extends) || (function () {
|
|
13
|
-
var extendStatics = function (d, b) {
|
|
14
|
-
extendStatics = Object.setPrototypeOf ||
|
|
15
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
16
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
17
|
-
return extendStatics(d, b);
|
|
18
|
-
};
|
|
19
|
-
return function (d, b) {
|
|
20
|
-
if (typeof b !== "function" && b !== null)
|
|
21
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
22
|
-
extendStatics(d, b);
|
|
23
|
-
function __() { this.constructor = d; }
|
|
24
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
25
|
-
};
|
|
26
|
-
})();
|
|
27
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
13
|
exports.Page = void 0;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
function Page() {
|
|
33
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
34
|
-
}
|
|
35
|
-
Page.prototype.make = function (parameters) {
|
|
14
|
+
const pageable_1 = require("./pageable");
|
|
15
|
+
class Page extends pageable_1.Pageable {
|
|
16
|
+
make(parameters) {
|
|
36
17
|
throw new Error("Method not implemented.");
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
enumerable: false,
|
|
43
|
-
configurable: true
|
|
44
|
-
});
|
|
45
|
-
Object.defineProperty(Page.prototype, "nextParameters", {
|
|
46
|
-
get: function () {
|
|
47
|
-
throw Error("Stub");
|
|
48
|
-
},
|
|
49
|
-
enumerable: false,
|
|
50
|
-
configurable: true
|
|
51
|
-
});
|
|
52
|
-
Page.prototype.hasPrevious = function () {
|
|
18
|
+
}
|
|
19
|
+
get previousParameters() {
|
|
20
|
+
throw Error("Stub");
|
|
21
|
+
}
|
|
22
|
+
get nextParameters() {
|
|
53
23
|
throw Error("Stub");
|
|
54
|
-
}
|
|
55
|
-
|
|
24
|
+
}
|
|
25
|
+
hasPrevious() {
|
|
26
|
+
throw Error("Stub");
|
|
27
|
+
}
|
|
28
|
+
hasNext() {
|
|
56
29
|
throw Error("Stub");
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
}(pageable_1.Pageable));
|
|
30
|
+
}
|
|
31
|
+
}
|
|
60
32
|
exports.Page = Page;
|
|
@@ -9,17 +9,6 @@
|
|
|
9
9
|
* NOTE: This file is auto generated by Konfig (https://konfigthis.com).
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
var __assign = (this && this.__assign) || function () {
|
|
13
|
-
__assign = Object.assign || function(t) {
|
|
14
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
15
|
-
s = arguments[i];
|
|
16
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
17
|
-
t[p] = s[p];
|
|
18
|
-
}
|
|
19
|
-
return t;
|
|
20
|
-
};
|
|
21
|
-
return __assign.apply(this, arguments);
|
|
22
|
-
};
|
|
23
12
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
24
13
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
25
14
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -29,98 +18,53 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
29
18
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
30
19
|
});
|
|
31
20
|
};
|
|
32
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
33
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
34
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
35
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
36
|
-
function step(op) {
|
|
37
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
38
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
39
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
40
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
41
|
-
switch (op[0]) {
|
|
42
|
-
case 0: case 1: t = op; break;
|
|
43
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
44
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
45
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
46
|
-
default:
|
|
47
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
48
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
49
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
50
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
51
|
-
if (t[2]) _.ops.pop();
|
|
52
|
-
_.trys.pop(); continue;
|
|
53
|
-
}
|
|
54
|
-
op = body.call(thisArg, _);
|
|
55
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
56
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60
22
|
exports.Pageable = void 0;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
var response;
|
|
71
|
-
return __generator(this, function (_a) {
|
|
72
|
-
switch (_a.label) {
|
|
73
|
-
case 0:
|
|
74
|
-
if (!this.hasPrevious())
|
|
75
|
-
return [2 /*return*/, this];
|
|
76
|
-
if (this.previousParameters === null)
|
|
77
|
-
return [2 /*return*/, this];
|
|
78
|
-
return [4 /*yield*/, this.makeRequest(this.previousParameters)];
|
|
79
|
-
case 1:
|
|
80
|
-
response = _a.sent();
|
|
81
|
-
return [2 /*return*/, this.withData(response.data)];
|
|
82
|
-
}
|
|
83
|
-
});
|
|
23
|
+
class Pageable {
|
|
24
|
+
previous() {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
if (!this.hasPrevious())
|
|
27
|
+
return this;
|
|
28
|
+
if (this.previousParameters === null)
|
|
29
|
+
return this;
|
|
30
|
+
const response = yield this.makeRequest(this.previousParameters);
|
|
31
|
+
return this.withData(response.data);
|
|
84
32
|
});
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
if (this.nextParameters === null)
|
|
95
|
-
return [2 /*return*/, this];
|
|
96
|
-
return [4 /*yield*/, this.makeRequest(this.nextParameters)];
|
|
97
|
-
case 1:
|
|
98
|
-
response = _a.sent();
|
|
99
|
-
return [2 /*return*/, this.withData(response.data)];
|
|
100
|
-
}
|
|
101
|
-
});
|
|
33
|
+
}
|
|
34
|
+
next() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
if (!this.hasNext())
|
|
37
|
+
return this;
|
|
38
|
+
if (this.nextParameters === null)
|
|
39
|
+
return this;
|
|
40
|
+
const response = yield this.makeRequest(this.nextParameters);
|
|
41
|
+
return this.withData(response.data);
|
|
102
42
|
});
|
|
103
|
-
}
|
|
43
|
+
}
|
|
104
44
|
/**
|
|
105
45
|
* Helper for invoking a request. Handles request body and parameter based pagination
|
|
106
46
|
*/
|
|
107
|
-
|
|
47
|
+
makeRequest(parameters) {
|
|
108
48
|
// Handle request body pagination
|
|
109
49
|
if (this.initialParameters.requestBody !== undefined) {
|
|
110
|
-
return this._request(
|
|
50
|
+
return this._request(Object.assign(Object.assign({}, this.initialParameters), { requestBody: Object.assign(Object.assign({}, this.initialParameters.requestBody), parameters) }));
|
|
111
51
|
}
|
|
112
|
-
return this._request(
|
|
113
|
-
}
|
|
52
|
+
return this._request(Object.assign(Object.assign({}, this.initialParameters), parameters));
|
|
53
|
+
}
|
|
114
54
|
/**
|
|
115
55
|
* Helper for creating new page
|
|
116
56
|
*/
|
|
117
|
-
|
|
57
|
+
withData(data) {
|
|
118
58
|
return this.make({
|
|
119
|
-
data
|
|
59
|
+
data,
|
|
120
60
|
initialParameters: this.initialParameters,
|
|
121
61
|
request: this._request,
|
|
122
62
|
});
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
63
|
+
}
|
|
64
|
+
constructor({ data, initialParameters, request, }) {
|
|
65
|
+
this.data = data;
|
|
66
|
+
this._request = request;
|
|
67
|
+
this.initialParameters = initialParameters;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
126
70
|
exports.Pageable = Pageable;
|
|
@@ -18,60 +18,22 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
18
18
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
23
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
-
function step(op) {
|
|
26
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
-
switch (op[0]) {
|
|
31
|
-
case 0: case 1: t = op; break;
|
|
32
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
-
default:
|
|
36
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
-
if (t[2]) _.ops.pop();
|
|
41
|
-
_.trys.pop(); continue;
|
|
42
|
-
}
|
|
43
|
-
op = body.call(thisArg, _);
|
|
44
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
22
|
exports.paginate = void 0;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
request: function (parameters) { return request(parameters); },
|
|
66
|
-
}));
|
|
67
|
-
return [3 /*break*/, 3];
|
|
68
|
-
case 2:
|
|
69
|
-
error_1 = _a.sent();
|
|
70
|
-
reject(error_1);
|
|
71
|
-
return [3 /*break*/, 3];
|
|
72
|
-
case 3: return [2 /*return*/];
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
}); });
|
|
23
|
+
const page_1 = require("./page");
|
|
24
|
+
const paginate = ({ request, initialParameters, }) => {
|
|
25
|
+
return new Promise((resolve, reject) => __awaiter(void 0, void 0, void 0, function* () {
|
|
26
|
+
try {
|
|
27
|
+
const data = yield request(initialParameters);
|
|
28
|
+
resolve(new page_1.Page({
|
|
29
|
+
data: data.data,
|
|
30
|
+
initialParameters,
|
|
31
|
+
request: (parameters) => request(parameters),
|
|
32
|
+
}));
|
|
33
|
+
}
|
|
34
|
+
catch (error) {
|
|
35
|
+
reject(error);
|
|
36
|
+
}
|
|
37
|
+
}));
|
|
76
38
|
};
|
|
77
39
|
exports.paginate = paginate;
|
package/dist/requestAfterHook.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.requestAfterHook = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const crypto = require("crypto");
|
|
5
|
+
const JSONstringifyOrder = (obj) => {
|
|
6
6
|
var allKeys = [];
|
|
7
7
|
var seen = {};
|
|
8
8
|
JSON.stringify(obj, function (key, value) {
|
|
@@ -16,29 +16,29 @@ var JSONstringifyOrder = function (obj) {
|
|
|
16
16
|
return JSON.stringify(obj, allKeys);
|
|
17
17
|
};
|
|
18
18
|
function requestAfterHook(request) {
|
|
19
|
-
|
|
19
|
+
const { configuration, basePath, axiosArgs, url } = request;
|
|
20
20
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerKey) === undefined)
|
|
21
21
|
throw Error("Consumer key is required");
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
const consumerKey = encodeURI(configuration.consumerKey);
|
|
23
|
+
const requestData = axiosArgs.options.data === undefined || axiosArgs.options.data === "{}"
|
|
24
24
|
? null
|
|
25
25
|
: JSON.parse(axiosArgs.options.data);
|
|
26
|
-
|
|
27
|
-
?
|
|
28
|
-
:
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
const path = axiosArgs.url.indexOf("?") === -1
|
|
27
|
+
? `${axiosArgs.url}`
|
|
28
|
+
: `${axiosArgs.url.split("?")[0]}`;
|
|
29
|
+
const requestPath = `/api/v1${path}`;
|
|
30
|
+
const requestQuery = url
|
|
31
31
|
.replace(basePath, "")
|
|
32
32
|
.replace(path, "")
|
|
33
33
|
.replace("?", "");
|
|
34
|
-
|
|
34
|
+
const sigObject = {
|
|
35
35
|
content: requestData,
|
|
36
36
|
path: requestPath,
|
|
37
37
|
query: requestQuery,
|
|
38
38
|
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
const sigContent = JSONstringifyOrder(sigObject);
|
|
40
|
+
const hmac = crypto.createHmac("sha256", consumerKey);
|
|
41
|
+
const signature = hmac.update(sigContent).digest("base64");
|
|
42
42
|
if (axiosArgs.options.headers)
|
|
43
43
|
axiosArgs.options.headers["Signature"] = signature;
|
|
44
44
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.requestBeforeHook = void 0;
|
|
4
4
|
function requestBeforeHook(request) {
|
|
5
|
-
|
|
5
|
+
const { queryParameters } = request;
|
|
6
6
|
queryParameters["timestamp"] = Math.round(new Date().getTime() / 1000).toString();
|
|
7
7
|
}
|
|
8
8
|
exports.requestBeforeHook = requestBeforeHook;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snaptrade-typescript-sdk",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.20.0",
|
|
4
4
|
"description": "Client for SnapTrade",
|
|
5
5
|
"author": "Konfig",
|
|
6
6
|
"engines": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"test": "jest"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"axios": "
|
|
32
|
+
"axios": "0.27.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/jest": "^29.2.4",
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.AccountInformationApiCustom = void 0;
|
|
19
|
-
var base_1 = require("../base");
|
|
20
|
-
var AccountInformationApiCustom = /** @class */ (function (_super) {
|
|
21
|
-
__extends(AccountInformationApiCustom, _super);
|
|
22
|
-
function AccountInformationApiCustom() {
|
|
23
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
-
}
|
|
25
|
-
return AccountInformationApiCustom;
|
|
26
|
-
}(base_1.BaseAPI));
|
|
27
|
-
exports.AccountInformationApiCustom = AccountInformationApiCustom;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ApiStatusApiCustom = void 0;
|
|
19
|
-
var base_1 = require("../base");
|
|
20
|
-
var ApiStatusApiCustom = /** @class */ (function (_super) {
|
|
21
|
-
__extends(ApiStatusApiCustom, _super);
|
|
22
|
-
function ApiStatusApiCustom() {
|
|
23
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
-
}
|
|
25
|
-
return ApiStatusApiCustom;
|
|
26
|
-
}(base_1.BaseAPI));
|
|
27
|
-
exports.ApiStatusApiCustom = ApiStatusApiCustom;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.AuthenticationApiCustom = void 0;
|
|
19
|
-
var base_1 = require("../base");
|
|
20
|
-
var AuthenticationApiCustom = /** @class */ (function (_super) {
|
|
21
|
-
__extends(AuthenticationApiCustom, _super);
|
|
22
|
-
function AuthenticationApiCustom() {
|
|
23
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
-
}
|
|
25
|
-
return AuthenticationApiCustom;
|
|
26
|
-
}(base_1.BaseAPI));
|
|
27
|
-
exports.AuthenticationApiCustom = AuthenticationApiCustom;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ConnectionsApiCustom = void 0;
|
|
19
|
-
var base_1 = require("../base");
|
|
20
|
-
var ConnectionsApiCustom = /** @class */ (function (_super) {
|
|
21
|
-
__extends(ConnectionsApiCustom, _super);
|
|
22
|
-
function ConnectionsApiCustom() {
|
|
23
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
-
}
|
|
25
|
-
return ConnectionsApiCustom;
|
|
26
|
-
}(base_1.BaseAPI));
|
|
27
|
-
exports.ConnectionsApiCustom = ConnectionsApiCustom;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ErrorLogsApiCustom = void 0;
|
|
19
|
-
var base_1 = require("../base");
|
|
20
|
-
var ErrorLogsApiCustom = /** @class */ (function (_super) {
|
|
21
|
-
__extends(ErrorLogsApiCustom, _super);
|
|
22
|
-
function ErrorLogsApiCustom() {
|
|
23
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
-
}
|
|
25
|
-
return ErrorLogsApiCustom;
|
|
26
|
-
}(base_1.BaseAPI));
|
|
27
|
-
exports.ErrorLogsApiCustom = ErrorLogsApiCustom;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.OptionsApiCustom = void 0;
|
|
19
|
-
var base_1 = require("../base");
|
|
20
|
-
var OptionsApiCustom = /** @class */ (function (_super) {
|
|
21
|
-
__extends(OptionsApiCustom, _super);
|
|
22
|
-
function OptionsApiCustom() {
|
|
23
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
-
}
|
|
25
|
-
return OptionsApiCustom;
|
|
26
|
-
}(base_1.BaseAPI));
|
|
27
|
-
exports.OptionsApiCustom = OptionsApiCustom;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ReferenceDataApiCustom = void 0;
|
|
19
|
-
var base_1 = require("../base");
|
|
20
|
-
var ReferenceDataApiCustom = /** @class */ (function (_super) {
|
|
21
|
-
__extends(ReferenceDataApiCustom, _super);
|
|
22
|
-
function ReferenceDataApiCustom() {
|
|
23
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
-
}
|
|
25
|
-
return ReferenceDataApiCustom;
|
|
26
|
-
}(base_1.BaseAPI));
|
|
27
|
-
exports.ReferenceDataApiCustom = ReferenceDataApiCustom;
|