snaptrade-typescript-sdk 6.1.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 +57 -89
- package/api/api-disclaimer-api.ts +10 -13
- package/api/api-status-api.ts +5 -6
- package/api/authentication-api.ts +40 -58
- package/api/connections-api.ts +133 -33
- package/api/error-logs-api.ts +8 -12
- package/api/options-api.ts +40 -58
- package/api/portfolio-management-api.ts +248 -372
- package/api/reference-data-api.ts +82 -124
- package/api/trading-api.ts +81 -116
- package/api/transactions-and-reporting-api.ts +29 -25
- package/common.ts +35 -15
- package/configuration.ts +3 -2
- package/dist/api/account-information-api.js +24 -24
- package/dist/api/api-disclaimer-api.js +5 -4
- package/dist/api/authentication-api.js +19 -17
- package/dist/api/connections-api.d.ts +54 -0
- package/dist/api/connections-api.js +118 -9
- package/dist/api/error-logs-api.js +3 -3
- package/dist/api/options-api.js +19 -17
- package/dist/api/portfolio-management-api.js +115 -107
- package/dist/api/reference-data-api.js +37 -35
- package/dist/api/trading-api.js +40 -35
- package/dist/api/transactions-and-reporting-api.d.ts +8 -1
- package/dist/api/transactions-and-reporting-api.js +12 -8
- package/dist/common.d.ts +8 -1
- package/dist/common.js +21 -14
- package/dist/configuration.js +3 -2
- package/dist/models/account-order-record.d.ts +7 -0
- 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/account-order-record.ts +9 -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
|
@@ -16,7 +16,7 @@ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'ax
|
|
|
16
16
|
import { Configuration } from '../configuration';
|
|
17
17
|
// Some imports not used depending on template conditions
|
|
18
18
|
// @ts-ignore
|
|
19
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject,
|
|
19
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
22
22
|
// @ts-ignore
|
|
@@ -75,24 +75,20 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
75
75
|
const localVarQueryParameter = {} as any;
|
|
76
76
|
|
|
77
77
|
// authentication PartnerClientId required
|
|
78
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
79
|
-
|
|
78
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
80
79
|
// authentication PartnerSignature required
|
|
81
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
82
|
-
|
|
80
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
83
81
|
// authentication PartnerTimestamp required
|
|
84
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
85
|
-
|
|
82
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
86
83
|
|
|
87
84
|
|
|
88
85
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
89
86
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
90
|
-
|
|
91
87
|
requestBeforeHook({
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
88
|
+
queryParameters: localVarQueryParameter,
|
|
89
|
+
requestConfig: localVarRequestOptions,
|
|
90
|
+
path: localVarPath,
|
|
91
|
+
configuration
|
|
96
92
|
});
|
|
97
93
|
|
|
98
94
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -121,24 +117,20 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
121
117
|
const localVarQueryParameter = {} as any;
|
|
122
118
|
|
|
123
119
|
// authentication PartnerClientId required
|
|
124
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
125
|
-
|
|
120
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
126
121
|
// authentication PartnerSignature required
|
|
127
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
128
|
-
|
|
122
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
129
123
|
// authentication PartnerTimestamp required
|
|
130
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
131
|
-
|
|
124
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
132
125
|
|
|
133
126
|
|
|
134
127
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
135
128
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
136
|
-
|
|
137
129
|
requestBeforeHook({
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
130
|
+
queryParameters: localVarQueryParameter,
|
|
131
|
+
requestConfig: localVarRequestOptions,
|
|
132
|
+
path: localVarPath,
|
|
133
|
+
configuration
|
|
142
134
|
});
|
|
143
135
|
|
|
144
136
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -167,24 +159,20 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
167
159
|
const localVarQueryParameter = {} as any;
|
|
168
160
|
|
|
169
161
|
// authentication PartnerClientId required
|
|
170
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
171
|
-
|
|
162
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
172
163
|
// authentication PartnerSignature required
|
|
173
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
174
|
-
|
|
164
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
175
165
|
// authentication PartnerTimestamp required
|
|
176
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
177
|
-
|
|
166
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
178
167
|
|
|
179
168
|
|
|
180
169
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
181
170
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
182
|
-
|
|
183
171
|
requestBeforeHook({
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
172
|
+
queryParameters: localVarQueryParameter,
|
|
173
|
+
requestConfig: localVarRequestOptions,
|
|
174
|
+
path: localVarPath,
|
|
175
|
+
configuration
|
|
188
176
|
});
|
|
189
177
|
|
|
190
178
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -213,24 +201,20 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
213
201
|
const localVarQueryParameter = {} as any;
|
|
214
202
|
|
|
215
203
|
// authentication PartnerClientId required
|
|
216
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
217
|
-
|
|
204
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
218
205
|
// authentication PartnerSignature required
|
|
219
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
220
|
-
|
|
206
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
221
207
|
// authentication PartnerTimestamp required
|
|
222
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
223
|
-
|
|
208
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
224
209
|
|
|
225
210
|
|
|
226
211
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
227
212
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
228
|
-
|
|
229
213
|
requestBeforeHook({
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
214
|
+
queryParameters: localVarQueryParameter,
|
|
215
|
+
requestConfig: localVarRequestOptions,
|
|
216
|
+
path: localVarPath,
|
|
217
|
+
configuration
|
|
234
218
|
});
|
|
235
219
|
|
|
236
220
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -260,28 +244,25 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
260
244
|
const localVarQueryParameter = {} as any;
|
|
261
245
|
|
|
262
246
|
// authentication PartnerClientId required
|
|
263
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
264
|
-
|
|
247
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
265
248
|
// authentication PartnerSignature required
|
|
266
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
267
|
-
|
|
249
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
268
250
|
// authentication PartnerTimestamp required
|
|
269
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
270
|
-
|
|
251
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
271
252
|
|
|
272
253
|
|
|
273
254
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
274
255
|
|
|
275
256
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
276
257
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
277
|
-
localVarRequestOptions.data = serializeDataIfNeeded(symbolQuery, localVarRequestOptions, configuration)
|
|
278
|
-
|
|
279
258
|
requestBeforeHook({
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
259
|
+
requestBody: symbolQuery,
|
|
260
|
+
queryParameters: localVarQueryParameter,
|
|
261
|
+
requestConfig: localVarRequestOptions,
|
|
262
|
+
path: localVarPath,
|
|
263
|
+
configuration
|
|
284
264
|
});
|
|
265
|
+
localVarRequestOptions.data = serializeDataIfNeeded(symbolQuery, localVarRequestOptions, configuration)
|
|
285
266
|
|
|
286
267
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
287
268
|
return {
|
|
@@ -314,14 +295,11 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
314
295
|
const localVarQueryParameter = {} as any;
|
|
315
296
|
|
|
316
297
|
// authentication PartnerClientId required
|
|
317
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
318
|
-
|
|
298
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
319
299
|
// authentication PartnerSignature required
|
|
320
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
321
|
-
|
|
300
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
322
301
|
// authentication PartnerTimestamp required
|
|
323
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
324
|
-
|
|
302
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
325
303
|
if (symbolId !== undefined) {
|
|
326
304
|
localVarQueryParameter['symbolId'] = symbolId;
|
|
327
305
|
}
|
|
@@ -330,12 +308,11 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
330
308
|
|
|
331
309
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
332
310
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
333
|
-
|
|
334
311
|
requestBeforeHook({
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
312
|
+
queryParameters: localVarQueryParameter,
|
|
313
|
+
requestConfig: localVarRequestOptions,
|
|
314
|
+
path: localVarPath,
|
|
315
|
+
configuration
|
|
339
316
|
});
|
|
340
317
|
|
|
341
318
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -365,14 +342,11 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
365
342
|
const localVarQueryParameter = {} as any;
|
|
366
343
|
|
|
367
344
|
// authentication PartnerClientId required
|
|
368
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
369
|
-
|
|
345
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
370
346
|
// authentication PartnerSignature required
|
|
371
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
372
|
-
|
|
347
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
373
348
|
// authentication PartnerTimestamp required
|
|
374
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
375
|
-
|
|
349
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
376
350
|
if (brokerage !== undefined) {
|
|
377
351
|
localVarQueryParameter['brokerage'] = brokerage;
|
|
378
352
|
}
|
|
@@ -381,12 +355,11 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
381
355
|
|
|
382
356
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
383
357
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
384
|
-
|
|
385
358
|
requestBeforeHook({
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
359
|
+
queryParameters: localVarQueryParameter,
|
|
360
|
+
requestConfig: localVarRequestOptions,
|
|
361
|
+
path: localVarPath,
|
|
362
|
+
configuration
|
|
390
363
|
});
|
|
391
364
|
|
|
392
365
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -415,24 +388,20 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
415
388
|
const localVarQueryParameter = {} as any;
|
|
416
389
|
|
|
417
390
|
// authentication PartnerClientId required
|
|
418
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
419
|
-
|
|
391
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
420
392
|
// authentication PartnerSignature required
|
|
421
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
422
|
-
|
|
393
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
423
394
|
// authentication PartnerTimestamp required
|
|
424
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
425
|
-
|
|
395
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
426
396
|
|
|
427
397
|
|
|
428
398
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
429
399
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
430
|
-
|
|
431
400
|
requestBeforeHook({
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
401
|
+
queryParameters: localVarQueryParameter,
|
|
402
|
+
requestConfig: localVarRequestOptions,
|
|
403
|
+
path: localVarPath,
|
|
404
|
+
configuration
|
|
436
405
|
});
|
|
437
406
|
|
|
438
407
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -461,24 +430,20 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
461
430
|
const localVarQueryParameter = {} as any;
|
|
462
431
|
|
|
463
432
|
// authentication PartnerClientId required
|
|
464
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
465
|
-
|
|
433
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
466
434
|
// authentication PartnerSignature required
|
|
467
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
468
|
-
|
|
435
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
469
436
|
// authentication PartnerTimestamp required
|
|
470
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
471
|
-
|
|
437
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
472
438
|
|
|
473
439
|
|
|
474
440
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
475
441
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
476
|
-
|
|
477
442
|
requestBeforeHook({
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
443
|
+
queryParameters: localVarQueryParameter,
|
|
444
|
+
requestConfig: localVarRequestOptions,
|
|
445
|
+
path: localVarPath,
|
|
446
|
+
configuration
|
|
482
447
|
});
|
|
483
448
|
|
|
484
449
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -507,24 +472,20 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
507
472
|
const localVarQueryParameter = {} as any;
|
|
508
473
|
|
|
509
474
|
// authentication PartnerClientId required
|
|
510
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
511
|
-
|
|
475
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
512
476
|
// authentication PartnerSignature required
|
|
513
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
514
|
-
|
|
477
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
515
478
|
// authentication PartnerTimestamp required
|
|
516
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
517
|
-
|
|
479
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
518
480
|
|
|
519
481
|
|
|
520
482
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
521
483
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
522
|
-
|
|
523
484
|
requestBeforeHook({
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
485
|
+
queryParameters: localVarQueryParameter,
|
|
486
|
+
requestConfig: localVarRequestOptions,
|
|
487
|
+
path: localVarPath,
|
|
488
|
+
configuration
|
|
528
489
|
});
|
|
529
490
|
|
|
530
491
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -564,14 +525,11 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
564
525
|
const localVarQueryParameter = {} as any;
|
|
565
526
|
|
|
566
527
|
// authentication PartnerClientId required
|
|
567
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
568
|
-
|
|
528
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
569
529
|
// authentication PartnerSignature required
|
|
570
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
571
|
-
|
|
530
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
572
531
|
// authentication PartnerTimestamp required
|
|
573
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
574
|
-
|
|
532
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
575
533
|
if (userId !== undefined) {
|
|
576
534
|
localVarQueryParameter['userId'] = userId;
|
|
577
535
|
}
|
|
@@ -586,14 +544,14 @@ export const ReferenceDataApiAxiosParamCreator = function (configuration?: Confi
|
|
|
586
544
|
|
|
587
545
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
588
546
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
589
|
-
localVarRequestOptions.data = serializeDataIfNeeded(symbolQuery, localVarRequestOptions, configuration)
|
|
590
|
-
|
|
591
547
|
requestBeforeHook({
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
548
|
+
requestBody: symbolQuery,
|
|
549
|
+
queryParameters: localVarQueryParameter,
|
|
550
|
+
requestConfig: localVarRequestOptions,
|
|
551
|
+
path: localVarPath,
|
|
552
|
+
configuration
|
|
596
553
|
});
|
|
554
|
+
localVarRequestOptions.data = serializeDataIfNeeded(symbolQuery, localVarRequestOptions, configuration)
|
|
597
555
|
|
|
598
556
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
599
557
|
return {
|