snaptrade-typescript-sdk 9.0.3 → 9.0.4
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 +4 -4
- package/dist/api/account-information-api-generated.js +24 -24
- package/dist/api/authentication-api-generated.js +18 -18
- package/dist/api/connections-api-generated.js +12 -12
- package/dist/api/error-logs-api-generated.js +3 -3
- package/dist/api/options-api-generated.js +15 -15
- package/dist/api/reference-data-api-generated.js +33 -33
- package/dist/api/trading-api-generated.js +18 -18
- package/dist/api/transactions-and-reporting-api-generated.js +6 -6
- package/dist/browser.js +1 -1
- package/dist/common.d.ts +4 -4
- package/dist/configuration.js +2 -2
- package/dist/error.d.ts +5 -5
- package/dist/error.js +5 -5
- package/dist/requestAfterHook.js +1 -1
- package/package.json +5 -2
|
@@ -66,11 +66,11 @@ const TradingApiAxiosParamCreator = function (configuration) {
|
|
|
66
66
|
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
67
67
|
const localVarQueryParameter = {};
|
|
68
68
|
// authentication PartnerClientId required
|
|
69
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration });
|
|
69
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
70
70
|
// authentication PartnerSignature required
|
|
71
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter,
|
|
71
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
72
72
|
// authentication PartnerTimestamp required
|
|
73
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration });
|
|
73
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
74
74
|
if (userId !== undefined) {
|
|
75
75
|
localVarQueryParameter['userId'] = userId;
|
|
76
76
|
}
|
|
@@ -121,11 +121,11 @@ const TradingApiAxiosParamCreator = function (configuration) {
|
|
|
121
121
|
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
122
122
|
const localVarQueryParameter = {};
|
|
123
123
|
// authentication PartnerClientId required
|
|
124
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration });
|
|
124
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
125
125
|
// authentication PartnerSignature required
|
|
126
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter,
|
|
126
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
127
127
|
// authentication PartnerTimestamp required
|
|
128
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration });
|
|
128
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
129
129
|
if (userId !== undefined) {
|
|
130
130
|
localVarQueryParameter['userId'] = userId;
|
|
131
131
|
}
|
|
@@ -181,11 +181,11 @@ const TradingApiAxiosParamCreator = function (configuration) {
|
|
|
181
181
|
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
182
182
|
const localVarQueryParameter = {};
|
|
183
183
|
// authentication PartnerClientId required
|
|
184
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration });
|
|
184
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
185
185
|
// authentication PartnerSignature required
|
|
186
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter,
|
|
186
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
187
187
|
// authentication PartnerTimestamp required
|
|
188
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration });
|
|
188
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
189
189
|
if (userId !== undefined) {
|
|
190
190
|
localVarQueryParameter['userId'] = userId;
|
|
191
191
|
}
|
|
@@ -239,11 +239,11 @@ const TradingApiAxiosParamCreator = function (configuration) {
|
|
|
239
239
|
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
240
240
|
const localVarQueryParameter = {};
|
|
241
241
|
// authentication PartnerClientId required
|
|
242
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration });
|
|
242
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
243
243
|
// authentication PartnerSignature required
|
|
244
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter,
|
|
244
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
245
245
|
// authentication PartnerTimestamp required
|
|
246
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration });
|
|
246
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
247
247
|
if (userId !== undefined) {
|
|
248
248
|
localVarQueryParameter['userId'] = userId;
|
|
249
249
|
}
|
|
@@ -295,11 +295,11 @@ const TradingApiAxiosParamCreator = function (configuration) {
|
|
|
295
295
|
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
296
296
|
const localVarQueryParameter = {};
|
|
297
297
|
// authentication PartnerClientId required
|
|
298
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration });
|
|
298
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
299
299
|
// authentication PartnerSignature required
|
|
300
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter,
|
|
300
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
301
301
|
// authentication PartnerTimestamp required
|
|
302
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration });
|
|
302
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
303
303
|
if (userId !== undefined) {
|
|
304
304
|
localVarQueryParameter['userId'] = userId;
|
|
305
305
|
}
|
|
@@ -351,11 +351,11 @@ const TradingApiAxiosParamCreator = function (configuration) {
|
|
|
351
351
|
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
352
352
|
const localVarQueryParameter = {};
|
|
353
353
|
// authentication PartnerClientId required
|
|
354
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration });
|
|
354
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
355
355
|
// authentication PartnerSignature required
|
|
356
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter,
|
|
356
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
357
357
|
// authentication PartnerTimestamp required
|
|
358
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration });
|
|
358
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
359
359
|
if (userId !== undefined) {
|
|
360
360
|
localVarQueryParameter['userId'] = userId;
|
|
361
361
|
}
|
|
@@ -64,11 +64,11 @@ const TransactionsAndReportingApiAxiosParamCreator = function (configuration) {
|
|
|
64
64
|
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
65
65
|
const localVarQueryParameter = {};
|
|
66
66
|
// authentication PartnerClientId required
|
|
67
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration });
|
|
67
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
68
68
|
// authentication PartnerSignature required
|
|
69
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter,
|
|
69
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
70
70
|
// authentication PartnerTimestamp required
|
|
71
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration });
|
|
71
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
72
72
|
if (startDate !== undefined) {
|
|
73
73
|
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
74
74
|
startDate.toISOString().substr(0, 10) :
|
|
@@ -142,11 +142,11 @@ const TransactionsAndReportingApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
143
143
|
const localVarQueryParameter = {};
|
|
144
144
|
// authentication PartnerClientId required
|
|
145
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration });
|
|
145
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
146
146
|
// authentication PartnerSignature required
|
|
147
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter,
|
|
147
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
148
148
|
// authentication PartnerTimestamp required
|
|
149
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration });
|
|
149
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
150
150
|
if (startDate !== undefined) {
|
|
151
151
|
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
152
152
|
startDate.toISOString().substr(0, 10) :
|