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.
Files changed (46) hide show
  1. package/.konfig/generate-id.txt +1 -1
  2. package/README.md +3 -2
  3. package/api/account-information-api.ts +57 -89
  4. package/api/api-disclaimer-api.ts +10 -13
  5. package/api/api-status-api.ts +5 -6
  6. package/api/authentication-api.ts +40 -58
  7. package/api/connections-api.ts +133 -33
  8. package/api/error-logs-api.ts +8 -12
  9. package/api/options-api.ts +40 -58
  10. package/api/portfolio-management-api.ts +248 -372
  11. package/api/reference-data-api.ts +82 -124
  12. package/api/trading-api.ts +81 -116
  13. package/api/transactions-and-reporting-api.ts +29 -25
  14. package/common.ts +35 -15
  15. package/configuration.ts +3 -2
  16. package/dist/api/account-information-api.js +24 -24
  17. package/dist/api/api-disclaimer-api.js +5 -4
  18. package/dist/api/authentication-api.js +19 -17
  19. package/dist/api/connections-api.d.ts +54 -0
  20. package/dist/api/connections-api.js +118 -9
  21. package/dist/api/error-logs-api.js +3 -3
  22. package/dist/api/options-api.js +19 -17
  23. package/dist/api/portfolio-management-api.js +115 -107
  24. package/dist/api/reference-data-api.js +37 -35
  25. package/dist/api/trading-api.js +40 -35
  26. package/dist/api/transactions-and-reporting-api.d.ts +8 -1
  27. package/dist/api/transactions-and-reporting-api.js +12 -8
  28. package/dist/common.d.ts +8 -1
  29. package/dist/common.js +21 -14
  30. package/dist/configuration.js +3 -2
  31. package/dist/models/account-order-record.d.ts +7 -0
  32. package/dist/models/connections-session-events200-response-inner.d.ts +17 -0
  33. package/dist/models/connections-session-events200-response-inner.js +15 -0
  34. package/dist/models/index.d.ts +2 -0
  35. package/dist/models/index.js +2 -0
  36. package/dist/models/session-event.d.ts +59 -0
  37. package/dist/models/session-event.js +25 -0
  38. package/dist/requestBeforeHook.d.ts +1 -0
  39. package/docs/ConnectionsApi.md +55 -0
  40. package/docs/TransactionsAndReportingApi.md +2 -0
  41. package/models/account-order-record.ts +9 -0
  42. package/models/connections-session-events200-response-inner.ts +25 -0
  43. package/models/index.ts +2 -0
  44. package/models/session-event.ts +68 -0
  45. package/package.json +1 -1
  46. package/requestBeforeHook.ts +1 -0
@@ -122,21 +122,21 @@ var ConnectionsApiAxiosParamCreator = function (configuration) {
122
122
  localVarHeaderParameter = configuration ? { "User-Agent": configuration.userAgent } : {};
123
123
  localVarQueryParameter = {};
124
124
  // authentication PartnerClientId required
125
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "clientId", configuration)
125
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration: configuration })
126
126
  // authentication PartnerSignature required
127
127
  ];
128
128
  case 1:
129
129
  // authentication PartnerClientId required
130
130
  _a.sent();
131
131
  // authentication PartnerSignature required
132
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Signature", configuration)
132
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, keyParamName: "Signature", configuration: configuration })
133
133
  // authentication PartnerTimestamp required
134
134
  ];
135
135
  case 2:
136
136
  // authentication PartnerSignature required
137
137
  _a.sent();
138
138
  // authentication PartnerTimestamp required
139
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "timestamp", configuration)];
139
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration: configuration })];
140
140
  case 3:
141
141
  // authentication PartnerTimestamp required
142
142
  _a.sent();
@@ -191,21 +191,21 @@ var ConnectionsApiAxiosParamCreator = function (configuration) {
191
191
  localVarHeaderParameter = configuration ? { "User-Agent": configuration.userAgent } : {};
192
192
  localVarQueryParameter = {};
193
193
  // authentication PartnerClientId required
194
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "clientId", configuration)
194
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration: configuration })
195
195
  // authentication PartnerSignature required
196
196
  ];
197
197
  case 1:
198
198
  // authentication PartnerClientId required
199
199
  _a.sent();
200
200
  // authentication PartnerSignature required
201
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Signature", configuration)
201
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, keyParamName: "Signature", configuration: configuration })
202
202
  // authentication PartnerTimestamp required
203
203
  ];
204
204
  case 2:
205
205
  // authentication PartnerSignature required
206
206
  _a.sent();
207
207
  // authentication PartnerTimestamp required
208
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "timestamp", configuration)];
208
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration: configuration })];
209
209
  case 3:
210
210
  // authentication PartnerTimestamp required
211
211
  _a.sent();
@@ -264,21 +264,21 @@ var ConnectionsApiAxiosParamCreator = function (configuration) {
264
264
  localVarHeaderParameter = configuration ? { "User-Agent": configuration.userAgent } : {};
265
265
  localVarQueryParameter = {};
266
266
  // authentication PartnerClientId required
267
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "clientId", configuration)
267
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration: configuration })
268
268
  // authentication PartnerSignature required
269
269
  ];
270
270
  case 1:
271
271
  // authentication PartnerClientId required
272
272
  _a.sent();
273
273
  // authentication PartnerSignature required
274
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Signature", configuration)
274
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, keyParamName: "Signature", configuration: configuration })
275
275
  // authentication PartnerTimestamp required
276
276
  ];
277
277
  case 2:
278
278
  // authentication PartnerSignature required
279
279
  _a.sent();
280
280
  // authentication PartnerTimestamp required
281
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "timestamp", configuration)];
281
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration: configuration })];
282
282
  case 3:
283
283
  // authentication PartnerTimestamp required
284
284
  _a.sent();
@@ -305,6 +305,73 @@ var ConnectionsApiAxiosParamCreator = function (configuration) {
305
305
  });
306
306
  });
307
307
  },
308
+ /**
309
+ *
310
+ * @summary List all session events for the partner
311
+ * @param {string} partnerClientId
312
+ * @param {string} [userId] Optional comma seperated list of user IDs used to filter the request on specific users
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ */
316
+ sessionEvents: function (partnerClientId, userId, options) {
317
+ if (options === void 0) { options = {}; }
318
+ return __awaiter(_this, void 0, void 0, function () {
319
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
320
+ return __generator(this, function (_a) {
321
+ switch (_a.label) {
322
+ case 0:
323
+ // verify required parameter 'partnerClientId' is not null or undefined
324
+ (0, common_1.assertParamExists)('sessionEvents', 'partnerClientId', partnerClientId);
325
+ localVarPath = "/sessionEvents";
326
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
327
+ if (configuration) {
328
+ baseOptions = configuration.baseOptions;
329
+ }
330
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
331
+ localVarHeaderParameter = configuration ? { "User-Agent": configuration.userAgent } : {};
332
+ localVarQueryParameter = {};
333
+ // authentication PartnerClientId required
334
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration: configuration })
335
+ // authentication PartnerSignature required
336
+ ];
337
+ case 1:
338
+ // authentication PartnerClientId required
339
+ _a.sent();
340
+ // authentication PartnerSignature required
341
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, keyParamName: "Signature", configuration: configuration })
342
+ // authentication PartnerTimestamp required
343
+ ];
344
+ case 2:
345
+ // authentication PartnerSignature required
346
+ _a.sent();
347
+ // authentication PartnerTimestamp required
348
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration: configuration })];
349
+ case 3:
350
+ // authentication PartnerTimestamp required
351
+ _a.sent();
352
+ if (partnerClientId !== undefined) {
353
+ localVarQueryParameter['PartnerClientId'] = partnerClientId;
354
+ }
355
+ if (userId !== undefined) {
356
+ localVarQueryParameter['userId'] = userId;
357
+ }
358
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
359
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
360
+ (0, requestBeforeHook_1.requestBeforeHook)({
361
+ queryParameters: localVarQueryParameter,
362
+ requestConfig: localVarRequestOptions,
363
+ path: localVarPath,
364
+ configuration: configuration
365
+ });
366
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
367
+ return [2 /*return*/, {
368
+ url: (0, common_1.toPathString)(localVarUrlObj),
369
+ options: localVarRequestOptions,
370
+ }];
371
+ }
372
+ });
373
+ });
374
+ },
308
375
  };
309
376
  };
310
377
  exports.ConnectionsApiAxiosParamCreator = ConnectionsApiAxiosParamCreator;
@@ -375,6 +442,26 @@ var ConnectionsApiFp = function (configuration) {
375
442
  });
376
443
  });
377
444
  },
445
+ /**
446
+ *
447
+ * @summary List all session events for the partner
448
+ * @param {ConnectionsApiSessionEventsRequest} requestParameters Request parameters.
449
+ * @param {*} [options] Override http request option.
450
+ * @throws {RequiredError}
451
+ */
452
+ sessionEvents: function (requestParameters, options) {
453
+ return __awaiter(this, void 0, void 0, function () {
454
+ var localVarAxiosArgs;
455
+ return __generator(this, function (_a) {
456
+ switch (_a.label) {
457
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.sessionEvents(requestParameters.partnerClientId, requestParameters.userId, options)];
458
+ case 1:
459
+ localVarAxiosArgs = _a.sent();
460
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
461
+ }
462
+ });
463
+ });
464
+ },
378
465
  };
379
466
  };
380
467
  exports.ConnectionsApiFp = ConnectionsApiFp;
@@ -415,6 +502,16 @@ var ConnectionsApiFactory = function (configuration, basePath, axios) {
415
502
  removeBrokerageAuthorization: function (requestParameters, options) {
416
503
  return localVarFp.removeBrokerageAuthorization(requestParameters, options).then(function (request) { return request(axios, basePath); });
417
504
  },
505
+ /**
506
+ *
507
+ * @summary List all session events for the partner
508
+ * @param {ConnectionsApiSessionEventsRequest} requestParameters Request parameters.
509
+ * @param {*} [options] Override http request option.
510
+ * @throws {RequiredError}
511
+ */
512
+ sessionEvents: function (requestParameters, options) {
513
+ return localVarFp.sessionEvents(requestParameters, options).then(function (request) { return request(axios, basePath); });
514
+ },
418
515
  };
419
516
  };
420
517
  exports.ConnectionsApiFactory = ConnectionsApiFactory;
@@ -465,6 +562,18 @@ var ConnectionsApi = /** @class */ (function (_super) {
465
562
  var _this = this;
466
563
  return (0, exports.ConnectionsApiFp)(this.configuration).removeBrokerageAuthorization(requestParameters, options).then(function (request) { return request(_this.axios, _this.basePath); });
467
564
  };
565
+ /**
566
+ *
567
+ * @summary List all session events for the partner
568
+ * @param {ConnectionsApiSessionEventsRequest} requestParameters Request parameters.
569
+ * @param {*} [options] Override http request option.
570
+ * @throws {RequiredError}
571
+ * @memberof ConnectionsApi
572
+ */
573
+ ConnectionsApi.prototype.sessionEvents = function (requestParameters, options) {
574
+ var _this = this;
575
+ return (0, exports.ConnectionsApiFp)(this.configuration).sessionEvents(requestParameters, options).then(function (request) { return request(_this.axios, _this.basePath); });
576
+ };
468
577
  return ConnectionsApi;
469
578
  }(base_1.BaseAPI));
470
579
  exports.ConnectionsApi = ConnectionsApi;
@@ -118,21 +118,21 @@ var ErrorLogsApiAxiosParamCreator = function (configuration) {
118
118
  localVarHeaderParameter = configuration ? { "User-Agent": configuration.userAgent } : {};
119
119
  localVarQueryParameter = {};
120
120
  // authentication PartnerClientId required
121
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "clientId", configuration)
121
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration: configuration })
122
122
  // authentication PartnerSignature required
123
123
  ];
124
124
  case 1:
125
125
  // authentication PartnerClientId required
126
126
  _a.sent();
127
127
  // authentication PartnerSignature required
128
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Signature", configuration)
128
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, keyParamName: "Signature", configuration: configuration })
129
129
  // authentication PartnerTimestamp required
130
130
  ];
131
131
  case 2:
132
132
  // authentication PartnerSignature required
133
133
  _a.sent();
134
134
  // authentication PartnerTimestamp required
135
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "timestamp", configuration)];
135
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration: configuration })];
136
136
  case 3:
137
137
  // authentication PartnerTimestamp required
138
138
  _a.sent();
@@ -125,21 +125,21 @@ var OptionsApiAxiosParamCreator = function (configuration) {
125
125
  localVarHeaderParameter = configuration ? { "User-Agent": configuration.userAgent } : {};
126
126
  localVarQueryParameter = {};
127
127
  // authentication PartnerClientId required
128
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "clientId", configuration)
128
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration: configuration })
129
129
  // authentication PartnerSignature required
130
130
  ];
131
131
  case 1:
132
132
  // authentication PartnerClientId required
133
133
  _a.sent();
134
134
  // authentication PartnerSignature required
135
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Signature", configuration)
135
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, keyParamName: "Signature", configuration: configuration })
136
136
  // authentication PartnerTimestamp required
137
137
  ];
138
138
  case 2:
139
139
  // authentication PartnerSignature required
140
140
  _a.sent();
141
141
  // authentication PartnerTimestamp required
142
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "timestamp", configuration)];
142
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration: configuration })];
143
143
  case 3:
144
144
  // authentication PartnerTimestamp required
145
145
  _a.sent();
@@ -152,13 +152,14 @@ var OptionsApiAxiosParamCreator = function (configuration) {
152
152
  localVarHeaderParameter['Content-Type'] = 'application/json';
153
153
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
154
154
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
155
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(optionsGetOptionStrategyRequest, localVarRequestOptions, configuration);
156
155
  (0, requestBeforeHook_1.requestBeforeHook)({
156
+ requestBody: optionsGetOptionStrategyRequest,
157
157
  queryParameters: localVarQueryParameter,
158
158
  requestConfig: localVarRequestOptions,
159
159
  path: localVarPath,
160
160
  configuration: configuration
161
161
  });
162
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(optionsGetOptionStrategyRequest, localVarRequestOptions, configuration);
162
163
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
163
164
  return [2 /*return*/, {
164
165
  url: (0, common_1.toPathString)(localVarUrlObj),
@@ -203,21 +204,21 @@ var OptionsApiAxiosParamCreator = function (configuration) {
203
204
  localVarHeaderParameter = configuration ? { "User-Agent": configuration.userAgent } : {};
204
205
  localVarQueryParameter = {};
205
206
  // authentication PartnerClientId required
206
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "clientId", configuration)
207
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration: configuration })
207
208
  // authentication PartnerSignature required
208
209
  ];
209
210
  case 1:
210
211
  // authentication PartnerClientId required
211
212
  _a.sent();
212
213
  // authentication PartnerSignature required
213
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Signature", configuration)
214
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, keyParamName: "Signature", configuration: configuration })
214
215
  // authentication PartnerTimestamp required
215
216
  ];
216
217
  case 2:
217
218
  // authentication PartnerSignature required
218
219
  _a.sent();
219
220
  // authentication PartnerTimestamp required
220
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "timestamp", configuration)];
221
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration: configuration })];
221
222
  case 3:
222
223
  // authentication PartnerTimestamp required
223
224
  _a.sent();
@@ -283,21 +284,21 @@ var OptionsApiAxiosParamCreator = function (configuration) {
283
284
  localVarHeaderParameter = configuration ? { "User-Agent": configuration.userAgent } : {};
284
285
  localVarQueryParameter = {};
285
286
  // authentication PartnerClientId required
286
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "clientId", configuration)
287
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration: configuration })
287
288
  // authentication PartnerSignature required
288
289
  ];
289
290
  case 1:
290
291
  // authentication PartnerClientId required
291
292
  _a.sent();
292
293
  // authentication PartnerSignature required
293
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Signature", configuration)
294
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, keyParamName: "Signature", configuration: configuration })
294
295
  // authentication PartnerTimestamp required
295
296
  ];
296
297
  case 2:
297
298
  // authentication PartnerSignature required
298
299
  _a.sent();
299
300
  // authentication PartnerTimestamp required
300
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "timestamp", configuration)];
301
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration: configuration })];
301
302
  case 3:
302
303
  // authentication PartnerTimestamp required
303
304
  _a.sent();
@@ -356,21 +357,21 @@ var OptionsApiAxiosParamCreator = function (configuration) {
356
357
  localVarHeaderParameter = configuration ? { "User-Agent": configuration.userAgent } : {};
357
358
  localVarQueryParameter = {};
358
359
  // authentication PartnerClientId required
359
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "clientId", configuration)
360
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration: configuration })
360
361
  // authentication PartnerSignature required
361
362
  ];
362
363
  case 1:
363
364
  // authentication PartnerClientId required
364
365
  _a.sent();
365
366
  // authentication PartnerSignature required
366
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Signature", configuration)
367
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, keyParamName: "Signature", configuration: configuration })
367
368
  // authentication PartnerTimestamp required
368
369
  ];
369
370
  case 2:
370
371
  // authentication PartnerSignature required
371
372
  _a.sent();
372
373
  // authentication PartnerTimestamp required
373
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "timestamp", configuration)];
374
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration: configuration })];
374
375
  case 3:
375
376
  // authentication PartnerTimestamp required
376
377
  _a.sent();
@@ -436,21 +437,21 @@ var OptionsApiAxiosParamCreator = function (configuration) {
436
437
  localVarHeaderParameter = configuration ? { "User-Agent": configuration.userAgent } : {};
437
438
  localVarQueryParameter = {};
438
439
  // authentication PartnerClientId required
439
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "clientId", configuration)
440
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "clientId", configuration: configuration })
440
441
  // authentication PartnerSignature required
441
442
  ];
442
443
  case 1:
443
444
  // authentication PartnerClientId required
444
445
  _a.sent();
445
446
  // authentication PartnerSignature required
446
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Signature", configuration)
447
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, keyParamName: "Signature", configuration: configuration })
447
448
  // authentication PartnerTimestamp required
448
449
  ];
449
450
  case 2:
450
451
  // authentication PartnerSignature required
451
452
  _a.sent();
452
453
  // authentication PartnerTimestamp required
453
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarQueryParameter, "timestamp", configuration)];
454
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, keyParamName: "timestamp", configuration: configuration })];
454
455
  case 3:
455
456
  // authentication PartnerTimestamp required
456
457
  _a.sent();
@@ -463,13 +464,14 @@ var OptionsApiAxiosParamCreator = function (configuration) {
463
464
  localVarHeaderParameter['Content-Type'] = 'application/json';
464
465
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
465
466
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
466
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(optionsPlaceOptionStrategyRequest, localVarRequestOptions, configuration);
467
467
  (0, requestBeforeHook_1.requestBeforeHook)({
468
+ requestBody: optionsPlaceOptionStrategyRequest,
468
469
  queryParameters: localVarQueryParameter,
469
470
  requestConfig: localVarRequestOptions,
470
471
  path: localVarPath,
471
472
  configuration: configuration
472
473
  });
474
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(optionsPlaceOptionStrategyRequest, localVarRequestOptions, configuration);
473
475
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
474
476
  return [2 /*return*/, {
475
477
  url: (0, common_1.toPathString)(localVarUrlObj),