snaptrade-typescript-sdk 6.2.0 → 6.3.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/.konfig/generate-id.txt +1 -1
- package/README.md +3 -2
- package/api/account-information-api.ts +40 -72
- package/api/api-disclaimer-api.ts +7 -10
- package/api/api-status-api.ts +4 -5
- package/api/authentication-api.ts +29 -47
- package/api/connections-api.ts +126 -26
- package/api/error-logs-api.ts +5 -9
- package/api/options-api.ts +29 -47
- package/api/portfolio-management-api.ts +181 -305
- package/api/reference-data-api.ts +59 -101
- package/api/trading-api.ts +60 -95
- package/api/transactions-and-reporting-api.ts +24 -20
- package/common.ts +9 -4
- package/configuration.ts +3 -2
- package/dist/api/api-disclaimer-api.js +2 -1
- package/dist/api/authentication-api.js +4 -2
- package/dist/api/connections-api.d.ts +54 -0
- package/dist/api/connections-api.js +109 -0
- package/dist/api/options-api.js +4 -2
- package/dist/api/portfolio-management-api.js +16 -8
- package/dist/api/reference-data-api.js +4 -2
- package/dist/api/trading-api.js +10 -5
- package/dist/api/transactions-and-reporting-api.d.ts +8 -1
- package/dist/api/transactions-and-reporting-api.js +6 -2
- package/dist/common.d.ts +2 -1
- package/dist/common.js +12 -10
- package/dist/configuration.js +3 -2
- package/dist/models/connections-session-events200-response-inner.d.ts +17 -0
- package/dist/models/connections-session-events200-response-inner.js +15 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/session-event.d.ts +59 -0
- package/dist/models/session-event.js +25 -0
- package/dist/requestBeforeHook.d.ts +1 -0
- package/docs/ConnectionsApi.md +55 -0
- package/docs/TransactionsAndReportingApi.md +2 -0
- package/models/connections-session-events200-response-inner.ts +25 -0
- package/models/index.ts +2 -0
- package/models/session-event.ts +68 -0
- package/package.json +1 -1
- package/requestBeforeHook.ts +1 -0
package/.konfig/generate-id.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
504fdfa5-370d-417d-ade0-2892f3f574d2
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## snaptrade-typescript-sdk@6.
|
|
1
|
+
## snaptrade-typescript-sdk@6.3.0
|
|
2
2
|
|
|
3
3
|
This library that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ npm run build
|
|
|
28
28
|
navigate to the folder of your consuming project and run the following command.
|
|
29
29
|
|
|
30
30
|
```
|
|
31
|
-
npm install snaptrade-typescript-sdk@6.
|
|
31
|
+
npm install snaptrade-typescript-sdk@6.3.0 --save
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
### Getting Started
|
|
@@ -133,6 +133,7 @@ Class | Method | HTTP request | Description
|
|
|
133
133
|
*ConnectionsApi* | [**detailBrokerageAuthorization**](docs/ConnectionsApi.md#detailBrokerageAuthorization) | **GET** /authorizations/{authorizationId} | Get detail of a specific brokerage authorizations for the user
|
|
134
134
|
*ConnectionsApi* | [**listBrokerageAuthorizations**](docs/ConnectionsApi.md#listBrokerageAuthorizations) | **GET** /authorizations | List all brokerage authorizations for the user
|
|
135
135
|
*ConnectionsApi* | [**removeBrokerageAuthorization**](docs/ConnectionsApi.md#removeBrokerageAuthorization) | **DELETE** /authorizations/{authorizationId} | Remove a brokerage authorization.
|
|
136
|
+
*ConnectionsApi* | [**sessionEvents**](docs/ConnectionsApi.md#sessionEvents) | **GET** /sessionEvents | List all session events for the partner
|
|
136
137
|
*ErrorLogsApi* | [**listUserErrors**](docs/ErrorLogsApi.md#listUserErrors) | **GET** /snapTrade/listUserErrors | Retrieve error logs on behalf of your SnapTrade users
|
|
137
138
|
*OptionsApi* | [**getOptionStrategy**](docs/OptionsApi.md#getOptionStrategy) | **POST** /accounts/{accountId}/optionStrategy | Creates an option strategy object that will be used to place an option strategy order
|
|
138
139
|
*OptionsApi* | [**getOptionsChain**](docs/OptionsApi.md#getOptionsChain) | **GET** /accounts/{accountId}/optionsChain | Get the options chain
|
|
@@ -69,13 +69,10 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
69
69
|
|
|
70
70
|
// authentication PartnerClientId required
|
|
71
71
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
72
|
-
|
|
73
72
|
// authentication PartnerSignature required
|
|
74
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
75
|
-
|
|
73
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
76
74
|
// authentication PartnerTimestamp required
|
|
77
75
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
78
|
-
|
|
79
76
|
if (userId !== undefined) {
|
|
80
77
|
localVarQueryParameter['userId'] = userId;
|
|
81
78
|
}
|
|
@@ -92,12 +89,11 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
92
89
|
|
|
93
90
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
91
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
95
|
-
|
|
96
92
|
requestBeforeHook({
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
93
|
+
queryParameters: localVarQueryParameter,
|
|
94
|
+
requestConfig: localVarRequestOptions,
|
|
95
|
+
path: localVarPath,
|
|
96
|
+
configuration
|
|
101
97
|
});
|
|
102
98
|
|
|
103
99
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -137,13 +133,10 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
137
133
|
|
|
138
134
|
// authentication PartnerClientId required
|
|
139
135
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
140
|
-
|
|
141
136
|
// authentication PartnerSignature required
|
|
142
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
143
|
-
|
|
137
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
144
138
|
// authentication PartnerTimestamp required
|
|
145
139
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
146
|
-
|
|
147
140
|
if (userId !== undefined) {
|
|
148
141
|
localVarQueryParameter['userId'] = userId;
|
|
149
142
|
}
|
|
@@ -156,12 +149,11 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
156
149
|
|
|
157
150
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
158
151
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
159
|
-
|
|
160
152
|
requestBeforeHook({
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
153
|
+
queryParameters: localVarQueryParameter,
|
|
154
|
+
requestConfig: localVarRequestOptions,
|
|
155
|
+
path: localVarPath,
|
|
156
|
+
configuration
|
|
165
157
|
});
|
|
166
158
|
|
|
167
159
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -201,13 +193,10 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
201
193
|
|
|
202
194
|
// authentication PartnerClientId required
|
|
203
195
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
204
|
-
|
|
205
196
|
// authentication PartnerSignature required
|
|
206
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
207
|
-
|
|
197
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
208
198
|
// authentication PartnerTimestamp required
|
|
209
199
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
210
|
-
|
|
211
200
|
if (userId !== undefined) {
|
|
212
201
|
localVarQueryParameter['userId'] = userId;
|
|
213
202
|
}
|
|
@@ -220,12 +209,11 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
220
209
|
|
|
221
210
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
222
211
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
223
|
-
|
|
224
212
|
requestBeforeHook({
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
213
|
+
queryParameters: localVarQueryParameter,
|
|
214
|
+
requestConfig: localVarRequestOptions,
|
|
215
|
+
path: localVarPath,
|
|
216
|
+
configuration
|
|
229
217
|
});
|
|
230
218
|
|
|
231
219
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -266,13 +254,10 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
266
254
|
|
|
267
255
|
// authentication PartnerClientId required
|
|
268
256
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
269
|
-
|
|
270
257
|
// authentication PartnerSignature required
|
|
271
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
272
|
-
|
|
258
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
273
259
|
// authentication PartnerTimestamp required
|
|
274
260
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
275
|
-
|
|
276
261
|
if (userId !== undefined) {
|
|
277
262
|
localVarQueryParameter['userId'] = userId;
|
|
278
263
|
}
|
|
@@ -289,12 +274,11 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
289
274
|
|
|
290
275
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
291
276
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
292
|
-
|
|
293
277
|
requestBeforeHook({
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
278
|
+
queryParameters: localVarQueryParameter,
|
|
279
|
+
requestConfig: localVarRequestOptions,
|
|
280
|
+
path: localVarPath,
|
|
281
|
+
configuration
|
|
298
282
|
});
|
|
299
283
|
|
|
300
284
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -334,13 +318,10 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
334
318
|
|
|
335
319
|
// authentication PartnerClientId required
|
|
336
320
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
337
|
-
|
|
338
321
|
// authentication PartnerSignature required
|
|
339
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
340
|
-
|
|
322
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
341
323
|
// authentication PartnerTimestamp required
|
|
342
324
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
343
|
-
|
|
344
325
|
if (userId !== undefined) {
|
|
345
326
|
localVarQueryParameter['userId'] = userId;
|
|
346
327
|
}
|
|
@@ -353,12 +334,11 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
353
334
|
|
|
354
335
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
355
336
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
356
|
-
|
|
357
337
|
requestBeforeHook({
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
338
|
+
queryParameters: localVarQueryParameter,
|
|
339
|
+
requestConfig: localVarRequestOptions,
|
|
340
|
+
path: localVarPath,
|
|
341
|
+
configuration
|
|
362
342
|
});
|
|
363
343
|
|
|
364
344
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -398,13 +378,10 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
398
378
|
|
|
399
379
|
// authentication PartnerClientId required
|
|
400
380
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
401
|
-
|
|
402
381
|
// authentication PartnerSignature required
|
|
403
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
404
|
-
|
|
382
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
405
383
|
// authentication PartnerTimestamp required
|
|
406
384
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
407
|
-
|
|
408
385
|
if (userId !== undefined) {
|
|
409
386
|
localVarQueryParameter['userId'] = userId;
|
|
410
387
|
}
|
|
@@ -417,12 +394,11 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
417
394
|
|
|
418
395
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
419
396
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
420
|
-
|
|
421
397
|
requestBeforeHook({
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
398
|
+
queryParameters: localVarQueryParameter,
|
|
399
|
+
requestConfig: localVarRequestOptions,
|
|
400
|
+
path: localVarPath,
|
|
401
|
+
configuration
|
|
426
402
|
});
|
|
427
403
|
|
|
428
404
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -458,13 +434,10 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
458
434
|
|
|
459
435
|
// authentication PartnerClientId required
|
|
460
436
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
461
|
-
|
|
462
437
|
// authentication PartnerSignature required
|
|
463
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
464
|
-
|
|
438
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
465
439
|
// authentication PartnerTimestamp required
|
|
466
440
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
467
|
-
|
|
468
441
|
if (userId !== undefined) {
|
|
469
442
|
localVarQueryParameter['userId'] = userId;
|
|
470
443
|
}
|
|
@@ -477,12 +450,11 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
477
450
|
|
|
478
451
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
479
452
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
480
|
-
|
|
481
453
|
requestBeforeHook({
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
454
|
+
queryParameters: localVarQueryParameter,
|
|
455
|
+
requestConfig: localVarRequestOptions,
|
|
456
|
+
path: localVarPath,
|
|
457
|
+
configuration
|
|
486
458
|
});
|
|
487
459
|
|
|
488
460
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -522,13 +494,10 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
522
494
|
|
|
523
495
|
// authentication PartnerClientId required
|
|
524
496
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
525
|
-
|
|
526
497
|
// authentication PartnerSignature required
|
|
527
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
528
|
-
|
|
498
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
529
499
|
// authentication PartnerTimestamp required
|
|
530
500
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
531
|
-
|
|
532
501
|
if (userId !== undefined) {
|
|
533
502
|
localVarQueryParameter['userId'] = userId;
|
|
534
503
|
}
|
|
@@ -541,12 +510,11 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
541
510
|
|
|
542
511
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
543
512
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
544
|
-
|
|
545
513
|
requestBeforeHook({
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
514
|
+
queryParameters: localVarQueryParameter,
|
|
515
|
+
requestConfig: localVarRequestOptions,
|
|
516
|
+
path: localVarPath,
|
|
517
|
+
configuration
|
|
550
518
|
});
|
|
551
519
|
|
|
552
520
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -61,13 +61,10 @@ export const ApiDisclaimerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
61
61
|
|
|
62
62
|
// authentication PartnerClientId required
|
|
63
63
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
64
|
-
|
|
65
64
|
// authentication PartnerSignature required
|
|
66
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
67
|
-
|
|
65
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
68
66
|
// authentication PartnerTimestamp required
|
|
69
67
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
70
|
-
|
|
71
68
|
if (userId !== undefined) {
|
|
72
69
|
localVarQueryParameter['userId'] = userId;
|
|
73
70
|
}
|
|
@@ -82,14 +79,14 @@ export const ApiDisclaimerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
82
79
|
|
|
83
80
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
81
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
85
|
-
localVarRequestOptions.data = serializeDataIfNeeded(aPIDisclaimerAcceptRequest, localVarRequestOptions, configuration)
|
|
86
|
-
|
|
87
82
|
requestBeforeHook({
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
83
|
+
requestBody: aPIDisclaimerAcceptRequest,
|
|
84
|
+
queryParameters: localVarQueryParameter,
|
|
85
|
+
requestConfig: localVarRequestOptions,
|
|
86
|
+
path: localVarPath,
|
|
87
|
+
configuration
|
|
92
88
|
});
|
|
89
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIDisclaimerAcceptRequest, localVarRequestOptions, configuration)
|
|
93
90
|
|
|
94
91
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
95
92
|
return {
|
package/api/api-status-api.ts
CHANGED
|
@@ -52,12 +52,11 @@ export const ApiStatusApiAxiosParamCreator = function (configuration?: Configura
|
|
|
52
52
|
|
|
53
53
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54
54
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
55
|
-
|
|
56
55
|
requestBeforeHook({
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
queryParameters: localVarQueryParameter,
|
|
57
|
+
requestConfig: localVarRequestOptions,
|
|
58
|
+
path: localVarPath,
|
|
59
|
+
configuration
|
|
61
60
|
});
|
|
62
61
|
|
|
63
62
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -69,13 +69,10 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
69
69
|
|
|
70
70
|
// authentication PartnerClientId required
|
|
71
71
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
72
|
-
|
|
73
72
|
// authentication PartnerSignature required
|
|
74
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
75
|
-
|
|
73
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
76
74
|
// authentication PartnerTimestamp required
|
|
77
75
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
78
|
-
|
|
79
76
|
if (userId !== undefined) {
|
|
80
77
|
localVarQueryParameter['userId'] = userId;
|
|
81
78
|
}
|
|
@@ -84,12 +81,11 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
84
81
|
|
|
85
82
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
83
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
87
|
-
|
|
88
84
|
requestBeforeHook({
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
85
|
+
queryParameters: localVarQueryParameter,
|
|
86
|
+
requestConfig: localVarRequestOptions,
|
|
87
|
+
path: localVarPath,
|
|
88
|
+
configuration
|
|
93
89
|
});
|
|
94
90
|
|
|
95
91
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -125,13 +121,10 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
125
121
|
|
|
126
122
|
// authentication PartnerClientId required
|
|
127
123
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
128
|
-
|
|
129
124
|
// authentication PartnerSignature required
|
|
130
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
131
|
-
|
|
125
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
132
126
|
// authentication PartnerTimestamp required
|
|
133
127
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
134
|
-
|
|
135
128
|
if (userId !== undefined) {
|
|
136
129
|
localVarQueryParameter['userId'] = userId;
|
|
137
130
|
}
|
|
@@ -144,12 +137,11 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
144
137
|
|
|
145
138
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
146
139
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147
|
-
|
|
148
140
|
requestBeforeHook({
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
141
|
+
queryParameters: localVarQueryParameter,
|
|
142
|
+
requestConfig: localVarRequestOptions,
|
|
143
|
+
path: localVarPath,
|
|
144
|
+
configuration
|
|
153
145
|
});
|
|
154
146
|
|
|
155
147
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -179,23 +171,19 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
179
171
|
|
|
180
172
|
// authentication PartnerClientId required
|
|
181
173
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
182
|
-
|
|
183
174
|
// authentication PartnerSignature required
|
|
184
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
185
|
-
|
|
175
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
186
176
|
// authentication PartnerTimestamp required
|
|
187
177
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
188
178
|
|
|
189
|
-
|
|
190
179
|
|
|
191
180
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
181
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
193
|
-
|
|
194
182
|
requestBeforeHook({
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
183
|
+
queryParameters: localVarQueryParameter,
|
|
184
|
+
requestConfig: localVarRequestOptions,
|
|
185
|
+
path: localVarPath,
|
|
186
|
+
configuration
|
|
199
187
|
});
|
|
200
188
|
|
|
201
189
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -232,13 +220,10 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
232
220
|
|
|
233
221
|
// authentication PartnerClientId required
|
|
234
222
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
235
|
-
|
|
236
223
|
// authentication PartnerSignature required
|
|
237
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
238
|
-
|
|
224
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
239
225
|
// authentication PartnerTimestamp required
|
|
240
226
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
241
|
-
|
|
242
227
|
if (userId !== undefined) {
|
|
243
228
|
localVarQueryParameter['userId'] = userId;
|
|
244
229
|
}
|
|
@@ -253,14 +238,14 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
253
238
|
|
|
254
239
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
255
240
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
256
|
-
localVarRequestOptions.data = serializeDataIfNeeded(snapTradeLoginUserRequestBody, localVarRequestOptions, configuration)
|
|
257
|
-
|
|
258
241
|
requestBeforeHook({
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
242
|
+
requestBody: snapTradeLoginUserRequestBody,
|
|
243
|
+
queryParameters: localVarQueryParameter,
|
|
244
|
+
requestConfig: localVarRequestOptions,
|
|
245
|
+
path: localVarPath,
|
|
246
|
+
configuration
|
|
263
247
|
});
|
|
248
|
+
localVarRequestOptions.data = serializeDataIfNeeded(snapTradeLoginUserRequestBody, localVarRequestOptions, configuration)
|
|
264
249
|
|
|
265
250
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
266
251
|
return {
|
|
@@ -292,27 +277,24 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
292
277
|
|
|
293
278
|
// authentication PartnerClientId required
|
|
294
279
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
295
|
-
|
|
296
280
|
// authentication PartnerSignature required
|
|
297
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
298
|
-
|
|
281
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
299
282
|
// authentication PartnerTimestamp required
|
|
300
283
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
301
284
|
|
|
302
|
-
|
|
303
285
|
|
|
304
286
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
305
287
|
|
|
306
288
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
307
289
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
308
|
-
localVarRequestOptions.data = serializeDataIfNeeded(snapTradeRegisterUserRequestBody, localVarRequestOptions, configuration)
|
|
309
|
-
|
|
310
290
|
requestBeforeHook({
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
291
|
+
requestBody: snapTradeRegisterUserRequestBody,
|
|
292
|
+
queryParameters: localVarQueryParameter,
|
|
293
|
+
requestConfig: localVarRequestOptions,
|
|
294
|
+
path: localVarPath,
|
|
295
|
+
configuration
|
|
315
296
|
});
|
|
297
|
+
localVarRequestOptions.data = serializeDataIfNeeded(snapTradeRegisterUserRequestBody, localVarRequestOptions, configuration)
|
|
316
298
|
|
|
317
299
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
318
300
|
return {
|