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/api/connections-api.ts
CHANGED
|
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BrokerageAuthorization } from '../models';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import { ConnectionsSessionEvents200ResponseInner } from '../models';
|
|
24
26
|
import { paginate } from "../pagination/paginate";
|
|
25
27
|
import { requestBeforeHook } from '../requestBeforeHook';
|
|
26
28
|
/**
|
|
@@ -60,13 +62,10 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
60
62
|
|
|
61
63
|
// authentication PartnerClientId required
|
|
62
64
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
63
|
-
|
|
64
65
|
// authentication PartnerSignature required
|
|
65
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
66
|
-
|
|
66
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
67
67
|
// authentication PartnerTimestamp required
|
|
68
68
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
69
|
-
|
|
70
69
|
if (userId !== undefined) {
|
|
71
70
|
localVarQueryParameter['userId'] = userId;
|
|
72
71
|
}
|
|
@@ -79,12 +78,11 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
79
78
|
|
|
80
79
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81
80
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
82
|
-
|
|
83
81
|
requestBeforeHook({
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
82
|
+
queryParameters: localVarQueryParameter,
|
|
83
|
+
requestConfig: localVarRequestOptions,
|
|
84
|
+
path: localVarPath,
|
|
85
|
+
configuration
|
|
88
86
|
});
|
|
89
87
|
|
|
90
88
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -120,13 +118,10 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
120
118
|
|
|
121
119
|
// authentication PartnerClientId required
|
|
122
120
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
123
|
-
|
|
124
121
|
// authentication PartnerSignature required
|
|
125
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
126
|
-
|
|
122
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
127
123
|
// authentication PartnerTimestamp required
|
|
128
124
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
129
|
-
|
|
130
125
|
if (userId !== undefined) {
|
|
131
126
|
localVarQueryParameter['userId'] = userId;
|
|
132
127
|
}
|
|
@@ -139,12 +134,11 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
139
134
|
|
|
140
135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
141
136
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
142
|
-
|
|
143
137
|
requestBeforeHook({
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
138
|
+
queryParameters: localVarQueryParameter,
|
|
139
|
+
requestConfig: localVarRequestOptions,
|
|
140
|
+
path: localVarPath,
|
|
141
|
+
configuration
|
|
148
142
|
});
|
|
149
143
|
|
|
150
144
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -184,13 +178,10 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
184
178
|
|
|
185
179
|
// authentication PartnerClientId required
|
|
186
180
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
187
|
-
|
|
188
181
|
// authentication PartnerSignature required
|
|
189
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
190
|
-
|
|
182
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
191
183
|
// authentication PartnerTimestamp required
|
|
192
184
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
193
|
-
|
|
194
185
|
if (userId !== undefined) {
|
|
195
186
|
localVarQueryParameter['userId'] = userId;
|
|
196
187
|
}
|
|
@@ -203,12 +194,65 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
203
194
|
|
|
204
195
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
205
196
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
197
|
+
requestBeforeHook({
|
|
198
|
+
queryParameters: localVarQueryParameter,
|
|
199
|
+
requestConfig: localVarRequestOptions,
|
|
200
|
+
path: localVarPath,
|
|
201
|
+
configuration
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
205
|
+
return {
|
|
206
|
+
url: toPathString(localVarUrlObj),
|
|
207
|
+
options: localVarRequestOptions,
|
|
208
|
+
};
|
|
209
|
+
},
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @summary List all session events for the partner
|
|
213
|
+
* @param {string} partnerClientId
|
|
214
|
+
* @param {string} [userId] Optional comma seperated list of user IDs used to filter the request on specific users
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
sessionEvents: async (partnerClientId: string, userId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
219
|
+
// verify required parameter 'partnerClientId' is not null or undefined
|
|
220
|
+
assertParamExists('sessionEvents', 'partnerClientId', partnerClientId)
|
|
221
|
+
const localVarPath = `/sessionEvents`;
|
|
222
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
223
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
224
|
+
let baseOptions;
|
|
225
|
+
if (configuration) {
|
|
226
|
+
baseOptions = configuration.baseOptions;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
const localVarRequestOptions: AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options};
|
|
230
|
+
const localVarHeaderParameter = configuration ? { "User-Agent": configuration.userAgent } : {} as any;
|
|
231
|
+
const localVarQueryParameter = {} as any;
|
|
206
232
|
|
|
233
|
+
// authentication PartnerClientId required
|
|
234
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
235
|
+
// authentication PartnerSignature required
|
|
236
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
237
|
+
// authentication PartnerTimestamp required
|
|
238
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
239
|
+
if (partnerClientId !== undefined) {
|
|
240
|
+
localVarQueryParameter['PartnerClientId'] = partnerClientId;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
if (userId !== undefined) {
|
|
244
|
+
localVarQueryParameter['userId'] = userId;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
250
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
207
251
|
requestBeforeHook({
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
252
|
+
queryParameters: localVarQueryParameter,
|
|
253
|
+
requestConfig: localVarRequestOptions,
|
|
254
|
+
path: localVarPath,
|
|
255
|
+
configuration
|
|
212
256
|
});
|
|
213
257
|
|
|
214
258
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -260,6 +304,17 @@ export const ConnectionsApiFp = function(configuration?: Configuration) {
|
|
|
260
304
|
const localVarAxiosArgs = await localVarAxiosParamCreator.removeBrokerageAuthorization(requestParameters.authorizationId, requestParameters.userId, requestParameters.userSecret, options);
|
|
261
305
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
262
306
|
},
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @summary List all session events for the partner
|
|
310
|
+
* @param {ConnectionsApiSessionEventsRequest} requestParameters Request parameters.
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
async sessionEvents(requestParameters: ConnectionsApiSessionEventsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ConnectionsSessionEvents200ResponseInner>>> {
|
|
315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sessionEvents(requestParameters.partnerClientId, requestParameters.userId, options);
|
|
316
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
317
|
+
},
|
|
263
318
|
}
|
|
264
319
|
};
|
|
265
320
|
|
|
@@ -300,6 +355,16 @@ export const ConnectionsApiFactory = function (configuration?: Configuration, ba
|
|
|
300
355
|
removeBrokerageAuthorization(requestParameters: ConnectionsApiRemoveBrokerageAuthorizationRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
|
|
301
356
|
return localVarFp.removeBrokerageAuthorization(requestParameters, options).then((request) => request(axios, basePath));
|
|
302
357
|
},
|
|
358
|
+
/**
|
|
359
|
+
*
|
|
360
|
+
* @summary List all session events for the partner
|
|
361
|
+
* @param {ConnectionsApiSessionEventsRequest} requestParameters Request parameters.
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
*/
|
|
365
|
+
sessionEvents(requestParameters: ConnectionsApiSessionEventsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<ConnectionsSessionEvents200ResponseInner>> {
|
|
366
|
+
return localVarFp.sessionEvents(requestParameters, options).then((request) => request(axios, basePath));
|
|
367
|
+
},
|
|
303
368
|
};
|
|
304
369
|
};
|
|
305
370
|
|
|
@@ -386,6 +451,29 @@ export type ConnectionsApiRemoveBrokerageAuthorizationRequest = {
|
|
|
386
451
|
|
|
387
452
|
}
|
|
388
453
|
|
|
454
|
+
/**
|
|
455
|
+
* Request parameters for sessionEvents operation in ConnectionsApi.
|
|
456
|
+
* @export
|
|
457
|
+
* @interface ConnectionsApiSessionEventsRequest
|
|
458
|
+
*/
|
|
459
|
+
export type ConnectionsApiSessionEventsRequest = {
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
* @type {string}
|
|
464
|
+
* @memberof ConnectionsApiSessionEvents
|
|
465
|
+
*/
|
|
466
|
+
readonly partnerClientId: string
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Optional comma seperated list of user IDs used to filter the request on specific users
|
|
470
|
+
* @type {string}
|
|
471
|
+
* @memberof ConnectionsApiSessionEvents
|
|
472
|
+
*/
|
|
473
|
+
readonly userId?: string
|
|
474
|
+
|
|
475
|
+
}
|
|
476
|
+
|
|
389
477
|
/**
|
|
390
478
|
* ConnectionsApi - object-oriented interface
|
|
391
479
|
* @export
|
|
@@ -428,4 +516,16 @@ export class ConnectionsApi extends BaseAPI {
|
|
|
428
516
|
public removeBrokerageAuthorization(requestParameters: ConnectionsApiRemoveBrokerageAuthorizationRequest, options?: AxiosRequestConfig) {
|
|
429
517
|
return ConnectionsApiFp(this.configuration).removeBrokerageAuthorization(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
430
518
|
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* @summary List all session events for the partner
|
|
523
|
+
* @param {ConnectionsApiSessionEventsRequest} requestParameters Request parameters.
|
|
524
|
+
* @param {*} [options] Override http request option.
|
|
525
|
+
* @throws {RequiredError}
|
|
526
|
+
* @memberof ConnectionsApi
|
|
527
|
+
*/
|
|
528
|
+
public sessionEvents(requestParameters: ConnectionsApiSessionEventsRequest, options?: AxiosRequestConfig) {
|
|
529
|
+
return ConnectionsApiFp(this.configuration).sessionEvents(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
530
|
+
}
|
|
431
531
|
}
|
package/api/error-logs-api.ts
CHANGED
|
@@ -56,13 +56,10 @@ export const ErrorLogsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
56
56
|
|
|
57
57
|
// authentication PartnerClientId required
|
|
58
58
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
59
|
-
|
|
60
59
|
// authentication PartnerSignature required
|
|
61
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
62
|
-
|
|
60
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
63
61
|
// authentication PartnerTimestamp required
|
|
64
62
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
65
|
-
|
|
66
63
|
if (userId !== undefined) {
|
|
67
64
|
localVarQueryParameter['userId'] = userId;
|
|
68
65
|
}
|
|
@@ -75,12 +72,11 @@ export const ErrorLogsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
75
72
|
|
|
76
73
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
74
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
78
|
-
|
|
79
75
|
requestBeforeHook({
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
76
|
+
queryParameters: localVarQueryParameter,
|
|
77
|
+
requestConfig: localVarRequestOptions,
|
|
78
|
+
path: localVarPath,
|
|
79
|
+
configuration
|
|
84
80
|
});
|
|
85
81
|
|
|
86
82
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
package/api/options-api.ts
CHANGED
|
@@ -73,13 +73,10 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
73
73
|
|
|
74
74
|
// authentication PartnerClientId required
|
|
75
75
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
76
|
-
|
|
77
76
|
// authentication PartnerSignature required
|
|
78
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
79
|
-
|
|
77
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
80
78
|
// authentication PartnerTimestamp required
|
|
81
79
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
82
|
-
|
|
83
80
|
if (userId !== undefined) {
|
|
84
81
|
localVarQueryParameter['userId'] = userId;
|
|
85
82
|
}
|
|
@@ -94,14 +91,14 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
94
91
|
|
|
95
92
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
96
93
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
97
|
-
localVarRequestOptions.data = serializeDataIfNeeded(optionsGetOptionStrategyRequest, localVarRequestOptions, configuration)
|
|
98
|
-
|
|
99
94
|
requestBeforeHook({
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
95
|
+
requestBody: optionsGetOptionStrategyRequest,
|
|
96
|
+
queryParameters: localVarQueryParameter,
|
|
97
|
+
requestConfig: localVarRequestOptions,
|
|
98
|
+
path: localVarPath,
|
|
99
|
+
configuration
|
|
104
100
|
});
|
|
101
|
+
localVarRequestOptions.data = serializeDataIfNeeded(optionsGetOptionStrategyRequest, localVarRequestOptions, configuration)
|
|
105
102
|
|
|
106
103
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107
104
|
return {
|
|
@@ -143,13 +140,10 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
143
140
|
|
|
144
141
|
// authentication PartnerClientId required
|
|
145
142
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
146
|
-
|
|
147
143
|
// authentication PartnerSignature required
|
|
148
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
149
|
-
|
|
144
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
150
145
|
// authentication PartnerTimestamp required
|
|
151
146
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
152
|
-
|
|
153
147
|
if (userId !== undefined) {
|
|
154
148
|
localVarQueryParameter['userId'] = userId;
|
|
155
149
|
}
|
|
@@ -166,12 +160,11 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
166
160
|
|
|
167
161
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
168
162
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
169
|
-
|
|
170
163
|
requestBeforeHook({
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
164
|
+
queryParameters: localVarQueryParameter,
|
|
165
|
+
requestConfig: localVarRequestOptions,
|
|
166
|
+
path: localVarPath,
|
|
167
|
+
configuration
|
|
175
168
|
});
|
|
176
169
|
|
|
177
170
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -215,13 +208,10 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
215
208
|
|
|
216
209
|
// authentication PartnerClientId required
|
|
217
210
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
218
|
-
|
|
219
211
|
// authentication PartnerSignature required
|
|
220
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
221
|
-
|
|
212
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
222
213
|
// authentication PartnerTimestamp required
|
|
223
214
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
224
|
-
|
|
225
215
|
if (userId !== undefined) {
|
|
226
216
|
localVarQueryParameter['userId'] = userId;
|
|
227
217
|
}
|
|
@@ -234,12 +224,11 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
234
224
|
|
|
235
225
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
236
226
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
237
|
-
|
|
238
227
|
requestBeforeHook({
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
228
|
+
queryParameters: localVarQueryParameter,
|
|
229
|
+
requestConfig: localVarRequestOptions,
|
|
230
|
+
path: localVarPath,
|
|
231
|
+
configuration
|
|
243
232
|
});
|
|
244
233
|
|
|
245
234
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -279,13 +268,10 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
279
268
|
|
|
280
269
|
// authentication PartnerClientId required
|
|
281
270
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
282
|
-
|
|
283
271
|
// authentication PartnerSignature required
|
|
284
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
285
|
-
|
|
272
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
286
273
|
// authentication PartnerTimestamp required
|
|
287
274
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
288
|
-
|
|
289
275
|
if (userId !== undefined) {
|
|
290
276
|
localVarQueryParameter['userId'] = userId;
|
|
291
277
|
}
|
|
@@ -298,12 +284,11 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
298
284
|
|
|
299
285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
300
286
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
301
|
-
|
|
302
287
|
requestBeforeHook({
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
288
|
+
queryParameters: localVarQueryParameter,
|
|
289
|
+
requestConfig: localVarRequestOptions,
|
|
290
|
+
path: localVarPath,
|
|
291
|
+
configuration
|
|
307
292
|
});
|
|
308
293
|
|
|
309
294
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -350,13 +335,10 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
350
335
|
|
|
351
336
|
// authentication PartnerClientId required
|
|
352
337
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
353
|
-
|
|
354
338
|
// authentication PartnerSignature required
|
|
355
|
-
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
356
|
-
|
|
339
|
+
await setApiKeyToObject({ object: localVarHeaderParameter, keyParamName: "Signature", configuration })
|
|
357
340
|
// authentication PartnerTimestamp required
|
|
358
341
|
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
359
|
-
|
|
360
342
|
if (userId !== undefined) {
|
|
361
343
|
localVarQueryParameter['userId'] = userId;
|
|
362
344
|
}
|
|
@@ -371,14 +353,14 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
371
353
|
|
|
372
354
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
373
355
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
374
|
-
localVarRequestOptions.data = serializeDataIfNeeded(optionsPlaceOptionStrategyRequest, localVarRequestOptions, configuration)
|
|
375
|
-
|
|
376
356
|
requestBeforeHook({
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
357
|
+
requestBody: optionsPlaceOptionStrategyRequest,
|
|
358
|
+
queryParameters: localVarQueryParameter,
|
|
359
|
+
requestConfig: localVarRequestOptions,
|
|
360
|
+
path: localVarPath,
|
|
361
|
+
configuration
|
|
381
362
|
});
|
|
363
|
+
localVarRequestOptions.data = serializeDataIfNeeded(optionsPlaceOptionStrategyRequest, localVarRequestOptions, configuration)
|
|
382
364
|
|
|
383
365
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
384
366
|
return {
|