snaptrade-typescript-sdk 6.0.0 → 6.2.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 -5
- package/api/account-information-api.ts +25 -25
- package/api/api-disclaimer-api.ts +4 -4
- package/api/api-status-api.ts +1 -1
- package/api/authentication-api.ts +16 -16
- package/api/connections-api.ts +10 -10
- package/api/error-logs-api.ts +4 -4
- package/api/options-api.ts +16 -16
- package/api/portfolio-management-api.ts +100 -100
- package/api/reference-data-api.ts +34 -34
- package/api/trading-api.ts +31 -31
- package/api/transactions-and-reporting-api.ts +7 -7
- package/common.ts +30 -15
- package/configuration.ts +1 -1
- package/dist/api/account-information-api.js +24 -24
- package/dist/api/api-disclaimer-api.js +3 -3
- package/dist/api/authentication-api.js +15 -15
- package/dist/api/connections-api.js +9 -9
- package/dist/api/error-logs-api.js +3 -3
- package/dist/api/options-api.js +15 -15
- package/dist/api/portfolio-management-api.js +99 -99
- package/dist/api/reference-data-api.js +33 -33
- package/dist/api/trading-api.js +30 -30
- package/dist/api/transactions-and-reporting-api.js +6 -6
- package/dist/common.d.ts +7 -1
- package/dist/common.js +19 -14
- package/dist/configuration.js +1 -1
- package/dist/models/account-order-record.d.ts +7 -0
- package/models/account-order-record.ts +9 -0
- package/package.json +1 -1
package/.konfig/generate-id.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
20ca5330-7c0e-4704-bbdd-eb6c73b4af31
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## snaptrade-typescript-sdk@6.
|
|
1
|
+
## snaptrade-typescript-sdk@6.2.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.2.0 --save
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
### Getting Started
|
|
@@ -51,9 +51,7 @@ async function main() {
|
|
|
51
51
|
const userId = uuid();
|
|
52
52
|
const { userSecret } = (
|
|
53
53
|
await snaptrade.authentication.registerSnapTradeUser({
|
|
54
|
-
|
|
55
|
-
userId,
|
|
56
|
-
},
|
|
54
|
+
userId,
|
|
57
55
|
})
|
|
58
56
|
).data;
|
|
59
57
|
|
|
@@ -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
|
|
@@ -68,13 +68,13 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
68
68
|
const localVarQueryParameter = {} as any;
|
|
69
69
|
|
|
70
70
|
// authentication PartnerClientId required
|
|
71
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
71
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
72
72
|
|
|
73
73
|
// authentication PartnerSignature required
|
|
74
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
74
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
75
75
|
|
|
76
76
|
// authentication PartnerTimestamp required
|
|
77
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
77
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
78
78
|
|
|
79
79
|
if (userId !== undefined) {
|
|
80
80
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -136,13 +136,13 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
136
136
|
const localVarQueryParameter = {} as any;
|
|
137
137
|
|
|
138
138
|
// authentication PartnerClientId required
|
|
139
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
139
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
140
140
|
|
|
141
141
|
// authentication PartnerSignature required
|
|
142
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
142
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
143
143
|
|
|
144
144
|
// authentication PartnerTimestamp required
|
|
145
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
145
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
146
146
|
|
|
147
147
|
if (userId !== undefined) {
|
|
148
148
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -200,13 +200,13 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
200
200
|
const localVarQueryParameter = {} as any;
|
|
201
201
|
|
|
202
202
|
// authentication PartnerClientId required
|
|
203
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
203
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
204
204
|
|
|
205
205
|
// authentication PartnerSignature required
|
|
206
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
206
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
207
207
|
|
|
208
208
|
// authentication PartnerTimestamp required
|
|
209
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
209
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
210
210
|
|
|
211
211
|
if (userId !== undefined) {
|
|
212
212
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -265,13 +265,13 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
265
265
|
const localVarQueryParameter = {} as any;
|
|
266
266
|
|
|
267
267
|
// authentication PartnerClientId required
|
|
268
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
268
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
269
269
|
|
|
270
270
|
// authentication PartnerSignature required
|
|
271
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
271
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
272
272
|
|
|
273
273
|
// authentication PartnerTimestamp required
|
|
274
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
274
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
275
275
|
|
|
276
276
|
if (userId !== undefined) {
|
|
277
277
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -333,13 +333,13 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
333
333
|
const localVarQueryParameter = {} as any;
|
|
334
334
|
|
|
335
335
|
// authentication PartnerClientId required
|
|
336
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
336
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
337
337
|
|
|
338
338
|
// authentication PartnerSignature required
|
|
339
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
339
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
340
340
|
|
|
341
341
|
// authentication PartnerTimestamp required
|
|
342
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
342
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
343
343
|
|
|
344
344
|
if (userId !== undefined) {
|
|
345
345
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -397,13 +397,13 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
397
397
|
const localVarQueryParameter = {} as any;
|
|
398
398
|
|
|
399
399
|
// authentication PartnerClientId required
|
|
400
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
400
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
401
401
|
|
|
402
402
|
// authentication PartnerSignature required
|
|
403
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
403
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
404
404
|
|
|
405
405
|
// authentication PartnerTimestamp required
|
|
406
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
406
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
407
407
|
|
|
408
408
|
if (userId !== undefined) {
|
|
409
409
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -457,13 +457,13 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
457
457
|
const localVarQueryParameter = {} as any;
|
|
458
458
|
|
|
459
459
|
// authentication PartnerClientId required
|
|
460
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
460
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
461
461
|
|
|
462
462
|
// authentication PartnerSignature required
|
|
463
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
463
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
464
464
|
|
|
465
465
|
// authentication PartnerTimestamp required
|
|
466
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
466
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
467
467
|
|
|
468
468
|
if (userId !== undefined) {
|
|
469
469
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -521,13 +521,13 @@ export const AccountInformationApiAxiosParamCreator = function (configuration?:
|
|
|
521
521
|
const localVarQueryParameter = {} as any;
|
|
522
522
|
|
|
523
523
|
// authentication PartnerClientId required
|
|
524
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
524
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
525
525
|
|
|
526
526
|
// authentication PartnerSignature required
|
|
527
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
527
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
528
528
|
|
|
529
529
|
// authentication PartnerTimestamp required
|
|
530
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
530
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
531
531
|
|
|
532
532
|
if (userId !== undefined) {
|
|
533
533
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -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
|
|
@@ -60,13 +60,13 @@ export const ApiDisclaimerApiAxiosParamCreator = function (configuration?: Confi
|
|
|
60
60
|
const localVarQueryParameter = {} as any;
|
|
61
61
|
|
|
62
62
|
// authentication PartnerClientId required
|
|
63
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
63
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
64
64
|
|
|
65
65
|
// authentication PartnerSignature required
|
|
66
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
66
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
67
67
|
|
|
68
68
|
// authentication PartnerTimestamp required
|
|
69
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
69
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
70
70
|
|
|
71
71
|
if (userId !== undefined) {
|
|
72
72
|
localVarQueryParameter['userId'] = userId;
|
package/api/api-status-api.ts
CHANGED
|
@@ -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
|
|
@@ -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
|
|
@@ -68,13 +68,13 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
68
68
|
const localVarQueryParameter = {} as any;
|
|
69
69
|
|
|
70
70
|
// authentication PartnerClientId required
|
|
71
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
71
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
72
72
|
|
|
73
73
|
// authentication PartnerSignature required
|
|
74
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
74
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
75
75
|
|
|
76
76
|
// authentication PartnerTimestamp required
|
|
77
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
77
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
78
78
|
|
|
79
79
|
if (userId !== undefined) {
|
|
80
80
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -124,13 +124,13 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
124
124
|
const localVarQueryParameter = {} as any;
|
|
125
125
|
|
|
126
126
|
// authentication PartnerClientId required
|
|
127
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
127
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
128
128
|
|
|
129
129
|
// authentication PartnerSignature required
|
|
130
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
130
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
131
131
|
|
|
132
132
|
// authentication PartnerTimestamp required
|
|
133
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
133
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
134
134
|
|
|
135
135
|
if (userId !== undefined) {
|
|
136
136
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -178,13 +178,13 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
178
178
|
const localVarQueryParameter = {} as any;
|
|
179
179
|
|
|
180
180
|
// authentication PartnerClientId required
|
|
181
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
181
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
182
182
|
|
|
183
183
|
// authentication PartnerSignature required
|
|
184
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
184
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
185
185
|
|
|
186
186
|
// authentication PartnerTimestamp required
|
|
187
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
187
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
188
188
|
|
|
189
189
|
|
|
190
190
|
|
|
@@ -231,13 +231,13 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
231
231
|
const localVarQueryParameter = {} as any;
|
|
232
232
|
|
|
233
233
|
// authentication PartnerClientId required
|
|
234
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
234
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
235
235
|
|
|
236
236
|
// authentication PartnerSignature required
|
|
237
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
237
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
238
238
|
|
|
239
239
|
// authentication PartnerTimestamp required
|
|
240
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
240
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
241
241
|
|
|
242
242
|
if (userId !== undefined) {
|
|
243
243
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -291,13 +291,13 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|
|
291
291
|
const localVarQueryParameter = {} as any;
|
|
292
292
|
|
|
293
293
|
// authentication PartnerClientId required
|
|
294
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
294
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
295
295
|
|
|
296
296
|
// authentication PartnerSignature required
|
|
297
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
297
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
298
298
|
|
|
299
299
|
// authentication PartnerTimestamp required
|
|
300
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
300
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
301
301
|
|
|
302
302
|
|
|
303
303
|
|
package/api/connections-api.ts
CHANGED
|
@@ -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
|
|
@@ -59,13 +59,13 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
59
59
|
const localVarQueryParameter = {} as any;
|
|
60
60
|
|
|
61
61
|
// authentication PartnerClientId required
|
|
62
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
62
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
63
63
|
|
|
64
64
|
// authentication PartnerSignature required
|
|
65
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
65
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
66
66
|
|
|
67
67
|
// authentication PartnerTimestamp required
|
|
68
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
68
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
69
69
|
|
|
70
70
|
if (userId !== undefined) {
|
|
71
71
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -119,13 +119,13 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
119
119
|
const localVarQueryParameter = {} as any;
|
|
120
120
|
|
|
121
121
|
// authentication PartnerClientId required
|
|
122
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
122
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
123
123
|
|
|
124
124
|
// authentication PartnerSignature required
|
|
125
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
125
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
126
126
|
|
|
127
127
|
// authentication PartnerTimestamp required
|
|
128
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
128
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
129
129
|
|
|
130
130
|
if (userId !== undefined) {
|
|
131
131
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -183,13 +183,13 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
183
183
|
const localVarQueryParameter = {} as any;
|
|
184
184
|
|
|
185
185
|
// authentication PartnerClientId required
|
|
186
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
186
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
187
187
|
|
|
188
188
|
// authentication PartnerSignature required
|
|
189
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
189
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
190
190
|
|
|
191
191
|
// authentication PartnerTimestamp required
|
|
192
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
192
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
193
193
|
|
|
194
194
|
if (userId !== undefined) {
|
|
195
195
|
localVarQueryParameter['userId'] = userId;
|
package/api/error-logs-api.ts
CHANGED
|
@@ -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
|
|
@@ -55,13 +55,13 @@ export const ErrorLogsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
55
55
|
const localVarQueryParameter = {} as any;
|
|
56
56
|
|
|
57
57
|
// authentication PartnerClientId required
|
|
58
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
58
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
59
59
|
|
|
60
60
|
// authentication PartnerSignature required
|
|
61
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
61
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
62
62
|
|
|
63
63
|
// authentication PartnerTimestamp required
|
|
64
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
64
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
65
65
|
|
|
66
66
|
if (userId !== undefined) {
|
|
67
67
|
localVarQueryParameter['userId'] = userId;
|
package/api/options-api.ts
CHANGED
|
@@ -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
|
|
@@ -72,13 +72,13 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
72
72
|
const localVarQueryParameter = {} as any;
|
|
73
73
|
|
|
74
74
|
// authentication PartnerClientId required
|
|
75
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
75
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
76
76
|
|
|
77
77
|
// authentication PartnerSignature required
|
|
78
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
78
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
79
79
|
|
|
80
80
|
// authentication PartnerTimestamp required
|
|
81
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
81
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
82
82
|
|
|
83
83
|
if (userId !== undefined) {
|
|
84
84
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -142,13 +142,13 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
142
142
|
const localVarQueryParameter = {} as any;
|
|
143
143
|
|
|
144
144
|
// authentication PartnerClientId required
|
|
145
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
145
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
146
146
|
|
|
147
147
|
// authentication PartnerSignature required
|
|
148
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
148
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
149
149
|
|
|
150
150
|
// authentication PartnerTimestamp required
|
|
151
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
151
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
152
152
|
|
|
153
153
|
if (userId !== undefined) {
|
|
154
154
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -214,13 +214,13 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
214
214
|
const localVarQueryParameter = {} as any;
|
|
215
215
|
|
|
216
216
|
// authentication PartnerClientId required
|
|
217
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
217
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
218
218
|
|
|
219
219
|
// authentication PartnerSignature required
|
|
220
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
220
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
221
221
|
|
|
222
222
|
// authentication PartnerTimestamp required
|
|
223
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
223
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
224
224
|
|
|
225
225
|
if (userId !== undefined) {
|
|
226
226
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -278,13 +278,13 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
278
278
|
const localVarQueryParameter = {} as any;
|
|
279
279
|
|
|
280
280
|
// authentication PartnerClientId required
|
|
281
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
281
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
282
282
|
|
|
283
283
|
// authentication PartnerSignature required
|
|
284
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
284
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
285
285
|
|
|
286
286
|
// authentication PartnerTimestamp required
|
|
287
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
287
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
288
288
|
|
|
289
289
|
if (userId !== undefined) {
|
|
290
290
|
localVarQueryParameter['userId'] = userId;
|
|
@@ -349,13 +349,13 @@ export const OptionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
349
349
|
const localVarQueryParameter = {} as any;
|
|
350
350
|
|
|
351
351
|
// authentication PartnerClientId required
|
|
352
|
-
await setApiKeyToObject(localVarQueryParameter, "clientId", configuration)
|
|
352
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "clientId", configuration})
|
|
353
353
|
|
|
354
354
|
// authentication PartnerSignature required
|
|
355
|
-
await setApiKeyToObject(localVarHeaderParameter, "Signature", configuration)
|
|
355
|
+
await setApiKeyToObject({object: localVarHeaderParameter, keyParamName: "Signature", configuration})
|
|
356
356
|
|
|
357
357
|
// authentication PartnerTimestamp required
|
|
358
|
-
await setApiKeyToObject(localVarQueryParameter, "timestamp", configuration)
|
|
358
|
+
await setApiKeyToObject({object: localVarQueryParameter, keyParamName: "timestamp", configuration})
|
|
359
359
|
|
|
360
360
|
if (userId !== undefined) {
|
|
361
361
|
localVarQueryParameter['userId'] = userId;
|