@emilgroup/accounting-sdk 1.34.1-beta.113 → 1.34.1-beta.114
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/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +64 -24
- package/api/booking-entries-api.ts +40 -15
- package/api/commission-account-mappings-api.ts +64 -24
- package/api/financial-accounts-api.ts +40 -15
- package/api/financial-transactions-api.ts +16 -6
- package/api/health-api.ts +1 -1
- package/api/number-ranges-api.ts +32 -12
- package/api/personal-accounts-api.ts +32 -12
- package/api/product-account-mappings-api.ts +377 -36
- package/base.ts +239 -43
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/accounting-configs-api.d.ts +8 -8
- package/dist/api/accounting-configs-api.js +120 -64
- package/dist/api/booking-entries-api.d.ts +5 -5
- package/dist/api/booking-entries-api.js +67 -38
- package/dist/api/commission-account-mappings-api.d.ts +8 -8
- package/dist/api/commission-account-mappings-api.js +108 -61
- package/dist/api/financial-accounts-api.d.ts +5 -5
- package/dist/api/financial-accounts-api.js +67 -38
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +22 -14
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/health-api.js +1 -1
- package/dist/api/number-ranges-api.d.ts +4 -4
- package/dist/api/number-ranges-api.js +52 -30
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +52 -30
- package/dist/api/product-account-mappings-api.d.ts +168 -12
- package/dist/api/product-account-mappings-api.js +401 -94
- package/dist/base.d.ts +26 -0
- package/dist/base.js +243 -60
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/account-mapping-class.d.ts +3 -2
- package/dist/models/account-mapping-class.js +4 -3
- package/dist/models/accounting-category-class.d.ts +12 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +3 -2
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +4 -3
- package/dist/models/create-booking-entry-request-dto.d.ts +1 -7
- package/dist/models/create-booking-entry-request-dto.js +0 -6
- package/dist/models/create-financial-account-request-dto.d.ts +3 -2
- package/dist/models/create-financial-account-request-dto.js +4 -3
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/premium-item-account-mapping-class.d.ts +12 -0
- package/dist/models/put-premium-item-carrier-body-dto.d.ts +24 -0
- package/dist/models/put-premium-item-carrier-body-dto.js +15 -0
- package/models/account-mapping-class.ts +4 -3
- package/models/accounting-category-class.ts +12 -0
- package/models/accounting-config-data-dto-default-account-mappings.ts +4 -3
- package/models/create-booking-entry-request-dto.ts +1 -7
- package/models/create-financial-account-request-dto.ts +4 -3
- package/models/index.ts +1 -0
- package/models/premium-item-account-mapping-class.ts +12 -0
- package/models/put-premium-item-carrier-body-dto.ts +30 -0
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -82,6 +82,7 @@ models/product-version-account-mapping-detail-class.ts
|
|
|
82
82
|
models/product-version-with-account-mappings-class.ts
|
|
83
83
|
models/product-with-account-mappings-class.ts
|
|
84
84
|
models/put-premium-item-account-body-dto.ts
|
|
85
|
+
models/put-premium-item-carrier-body-dto.ts
|
|
85
86
|
models/put-product-category-account-body-dto.ts
|
|
86
87
|
models/put-product-risk-carrier-body-dto.ts
|
|
87
88
|
models/put-product-version-category-account-body-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/accounting-sdk@1.34.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk@1.34.1-beta.114 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk@1.34.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk@1.34.1-beta.114
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -69,8 +69,13 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
69
69
|
// http bearer authentication required
|
|
70
70
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
73
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
74
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
75
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
76
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
77
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
78
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
74
79
|
}
|
|
75
80
|
|
|
76
81
|
|
|
@@ -117,8 +122,13 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
117
122
|
// http bearer authentication required
|
|
118
123
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
124
|
|
|
120
|
-
|
|
121
|
-
|
|
125
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
126
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
127
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
128
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
129
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
130
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
131
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
122
132
|
}
|
|
123
133
|
|
|
124
134
|
|
|
@@ -165,8 +175,13 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
165
175
|
// http bearer authentication required
|
|
166
176
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
167
177
|
|
|
168
|
-
|
|
169
|
-
|
|
178
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
179
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
180
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
181
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
182
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
183
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
184
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
170
185
|
}
|
|
171
186
|
|
|
172
187
|
|
|
@@ -206,8 +221,13 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
206
221
|
// http bearer authentication required
|
|
207
222
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
208
223
|
|
|
209
|
-
|
|
210
|
-
|
|
224
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
225
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
226
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
227
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
228
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
229
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
230
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
211
231
|
}
|
|
212
232
|
|
|
213
233
|
|
|
@@ -247,8 +267,13 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
247
267
|
// http bearer authentication required
|
|
248
268
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
249
269
|
|
|
250
|
-
|
|
251
|
-
|
|
270
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
271
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
272
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
273
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
274
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
275
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
276
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
252
277
|
}
|
|
253
278
|
|
|
254
279
|
|
|
@@ -288,8 +313,13 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
288
313
|
// http bearer authentication required
|
|
289
314
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
290
315
|
|
|
291
|
-
|
|
292
|
-
|
|
316
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
317
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
318
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
319
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
320
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
321
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
322
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
293
323
|
}
|
|
294
324
|
|
|
295
325
|
|
|
@@ -332,8 +362,13 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
332
362
|
// http bearer authentication required
|
|
333
363
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
334
364
|
|
|
335
|
-
|
|
336
|
-
|
|
365
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
366
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
367
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
368
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
369
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
370
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
371
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
337
372
|
}
|
|
338
373
|
|
|
339
374
|
|
|
@@ -380,8 +415,13 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
380
415
|
// http bearer authentication required
|
|
381
416
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
382
417
|
|
|
383
|
-
|
|
384
|
-
|
|
418
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
419
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
420
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
421
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
422
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
423
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
424
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
385
425
|
}
|
|
386
426
|
|
|
387
427
|
|
|
@@ -757,7 +797,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
757
797
|
* @memberof AccountingConfigsApi
|
|
758
798
|
*/
|
|
759
799
|
public createAndEnableSubledger(requestParameters: AccountingConfigsApiCreateAndEnableSubledgerRequest, options?: AxiosRequestConfig) {
|
|
760
|
-
return AccountingConfigsApiFp(this.configuration).createAndEnableSubledger(requestParameters.createAndEnableSubledgerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
800
|
+
return AccountingConfigsApiFp(this.configuration).createAndEnableSubledger(requestParameters.createAndEnableSubledgerRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
761
801
|
}
|
|
762
802
|
|
|
763
803
|
/**
|
|
@@ -769,7 +809,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
769
809
|
* @memberof AccountingConfigsApi
|
|
770
810
|
*/
|
|
771
811
|
public createAndEnableSubledgerFromFile(requestParameters: AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest, options?: AxiosRequestConfig) {
|
|
772
|
-
return AccountingConfigsApiFp(this.configuration).createAndEnableSubledgerFromFile(requestParameters.file, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
812
|
+
return AccountingConfigsApiFp(this.configuration).createAndEnableSubledgerFromFile(requestParameters.file, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
773
813
|
}
|
|
774
814
|
|
|
775
815
|
/**
|
|
@@ -781,7 +821,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
781
821
|
* @memberof AccountingConfigsApi
|
|
782
822
|
*/
|
|
783
823
|
public exportAccountingConfig(requestParameters: AccountingConfigsApiExportAccountingConfigRequest = {}, options?: AxiosRequestConfig) {
|
|
784
|
-
return AccountingConfigsApiFp(this.configuration).exportAccountingConfig(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
824
|
+
return AccountingConfigsApiFp(this.configuration).exportAccountingConfig(requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
785
825
|
}
|
|
786
826
|
|
|
787
827
|
/**
|
|
@@ -793,7 +833,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
793
833
|
* @memberof AccountingConfigsApi
|
|
794
834
|
*/
|
|
795
835
|
public getAccountingCategories(requestParameters: AccountingConfigsApiGetAccountingCategoriesRequest = {}, options?: AxiosRequestConfig) {
|
|
796
|
-
return AccountingConfigsApiFp(this.configuration).getAccountingCategories(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
836
|
+
return AccountingConfigsApiFp(this.configuration).getAccountingCategories(requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
797
837
|
}
|
|
798
838
|
|
|
799
839
|
/**
|
|
@@ -805,7 +845,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
805
845
|
* @memberof AccountingConfigsApi
|
|
806
846
|
*/
|
|
807
847
|
public getActivationSnapshot(requestParameters: AccountingConfigsApiGetActivationSnapshotRequest = {}, options?: AxiosRequestConfig) {
|
|
808
|
-
return AccountingConfigsApiFp(this.configuration).getActivationSnapshot(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
848
|
+
return AccountingConfigsApiFp(this.configuration).getActivationSnapshot(requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
809
849
|
}
|
|
810
850
|
|
|
811
851
|
/**
|
|
@@ -817,7 +857,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
817
857
|
* @memberof AccountingConfigsApi
|
|
818
858
|
*/
|
|
819
859
|
public resetSubledger(requestParameters: AccountingConfigsApiResetSubledgerRequest = {}, options?: AxiosRequestConfig) {
|
|
820
|
-
return AccountingConfigsApiFp(this.configuration).resetSubledger(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
860
|
+
return AccountingConfigsApiFp(this.configuration).resetSubledger(requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
821
861
|
}
|
|
822
862
|
|
|
823
863
|
/**
|
|
@@ -829,7 +869,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
829
869
|
* @memberof AccountingConfigsApi
|
|
830
870
|
*/
|
|
831
871
|
public validateAccountingConfig(requestParameters: AccountingConfigsApiValidateAccountingConfigRequest, options?: AxiosRequestConfig) {
|
|
832
|
-
return AccountingConfigsApiFp(this.configuration).validateAccountingConfig(requestParameters.validateAccountingConfigRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
872
|
+
return AccountingConfigsApiFp(this.configuration).validateAccountingConfig(requestParameters.validateAccountingConfigRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
833
873
|
}
|
|
834
874
|
|
|
835
875
|
/**
|
|
@@ -841,6 +881,6 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
841
881
|
* @memberof AccountingConfigsApi
|
|
842
882
|
*/
|
|
843
883
|
public validateAccountingConfigFromFile(requestParameters: AccountingConfigsApiValidateAccountingConfigFromFileRequest, options?: AxiosRequestConfig) {
|
|
844
|
-
return AccountingConfigsApiFp(this.configuration).validateAccountingConfigFromFile(requestParameters.file, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
884
|
+
return AccountingConfigsApiFp(this.configuration).validateAccountingConfigFromFile(requestParameters.file, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
845
885
|
}
|
|
846
886
|
}
|
|
@@ -71,8 +71,13 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
71
71
|
// http bearer authentication required
|
|
72
72
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
75
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
76
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
77
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
78
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
79
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
80
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
76
81
|
}
|
|
77
82
|
|
|
78
83
|
|
|
@@ -118,8 +123,13 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
118
123
|
// http bearer authentication required
|
|
119
124
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
120
125
|
|
|
121
|
-
|
|
122
|
-
|
|
126
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
127
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
128
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
129
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
130
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
131
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
123
133
|
}
|
|
124
134
|
|
|
125
135
|
|
|
@@ -173,8 +183,13 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
173
183
|
localVarQueryParameter['expand'] = expand;
|
|
174
184
|
}
|
|
175
185
|
|
|
176
|
-
|
|
177
|
-
|
|
186
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
187
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
188
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
189
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
190
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
191
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
192
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
178
193
|
}
|
|
179
194
|
|
|
180
195
|
|
|
@@ -249,8 +264,13 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
249
264
|
localVarQueryParameter['filters'] = filters;
|
|
250
265
|
}
|
|
251
266
|
|
|
252
|
-
|
|
253
|
-
|
|
267
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
268
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
269
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
270
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
271
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
272
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
273
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
254
274
|
}
|
|
255
275
|
|
|
256
276
|
|
|
@@ -293,8 +313,13 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
293
313
|
// http bearer authentication required
|
|
294
314
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
295
315
|
|
|
296
|
-
|
|
297
|
-
|
|
316
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
317
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
318
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
319
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
320
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
321
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
322
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
298
323
|
}
|
|
299
324
|
|
|
300
325
|
|
|
@@ -633,7 +658,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
633
658
|
* @memberof BookingEntriesApi
|
|
634
659
|
*/
|
|
635
660
|
public createBookingEntry(requestParameters: BookingEntriesApiCreateBookingEntryRequest, options?: AxiosRequestConfig) {
|
|
636
|
-
return BookingEntriesApiFp(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
661
|
+
return BookingEntriesApiFp(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
637
662
|
}
|
|
638
663
|
|
|
639
664
|
/**
|
|
@@ -645,7 +670,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
645
670
|
* @memberof BookingEntriesApi
|
|
646
671
|
*/
|
|
647
672
|
public createOrCorrectOpeningBalance(requestParameters: BookingEntriesApiCreateOrCorrectOpeningBalanceRequest, options?: AxiosRequestConfig) {
|
|
648
|
-
return BookingEntriesApiFp(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
673
|
+
return BookingEntriesApiFp(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
649
674
|
}
|
|
650
675
|
|
|
651
676
|
/**
|
|
@@ -657,7 +682,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
657
682
|
* @memberof BookingEntriesApi
|
|
658
683
|
*/
|
|
659
684
|
public getBookingEntry(requestParameters: BookingEntriesApiGetBookingEntryRequest, options?: AxiosRequestConfig) {
|
|
660
|
-
return BookingEntriesApiFp(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
685
|
+
return BookingEntriesApiFp(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
661
686
|
}
|
|
662
687
|
|
|
663
688
|
/**
|
|
@@ -669,7 +694,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
669
694
|
* @memberof BookingEntriesApi
|
|
670
695
|
*/
|
|
671
696
|
public listBookingEntries(requestParameters: BookingEntriesApiListBookingEntriesRequest = {}, options?: AxiosRequestConfig) {
|
|
672
|
-
return BookingEntriesApiFp(this.configuration).listBookingEntries(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
697
|
+
return BookingEntriesApiFp(this.configuration).listBookingEntries(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
673
698
|
}
|
|
674
699
|
|
|
675
700
|
/**
|
|
@@ -681,6 +706,6 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
681
706
|
* @memberof BookingEntriesApi
|
|
682
707
|
*/
|
|
683
708
|
public postFinancialEvent(requestParameters: BookingEntriesApiPostFinancialEventRequest, options?: AxiosRequestConfig) {
|
|
684
|
-
return BookingEntriesApiFp(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
709
|
+
return BookingEntriesApiFp(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
685
710
|
}
|
|
686
711
|
}
|
|
@@ -74,8 +74,13 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
74
74
|
// http bearer authentication required
|
|
75
75
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
78
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
79
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
80
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
81
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
82
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
83
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
79
84
|
}
|
|
80
85
|
|
|
81
86
|
|
|
@@ -119,8 +124,13 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
119
124
|
// http bearer authentication required
|
|
120
125
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
121
126
|
|
|
122
|
-
|
|
123
|
-
|
|
127
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
128
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
129
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
130
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
132
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
124
134
|
}
|
|
125
135
|
|
|
126
136
|
|
|
@@ -164,8 +174,13 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
164
174
|
// http bearer authentication required
|
|
165
175
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
166
176
|
|
|
167
|
-
|
|
168
|
-
|
|
177
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
178
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
179
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
180
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
181
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
182
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
169
184
|
}
|
|
170
185
|
|
|
171
186
|
|
|
@@ -240,8 +255,13 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
240
255
|
localVarQueryParameter['filters'] = filters;
|
|
241
256
|
}
|
|
242
257
|
|
|
243
|
-
|
|
244
|
-
|
|
258
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
259
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
260
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
261
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
262
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
263
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
264
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
245
265
|
}
|
|
246
266
|
|
|
247
267
|
|
|
@@ -316,8 +336,13 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
316
336
|
localVarQueryParameter['filters'] = filters;
|
|
317
337
|
}
|
|
318
338
|
|
|
319
|
-
|
|
320
|
-
|
|
339
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
340
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
341
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
342
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
343
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
344
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
345
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
321
346
|
}
|
|
322
347
|
|
|
323
348
|
|
|
@@ -392,8 +417,13 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
392
417
|
localVarQueryParameter['filters'] = filters;
|
|
393
418
|
}
|
|
394
419
|
|
|
395
|
-
|
|
396
|
-
|
|
420
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
421
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
422
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
423
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
424
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
425
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
426
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
397
427
|
}
|
|
398
428
|
|
|
399
429
|
|
|
@@ -444,8 +474,13 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
444
474
|
// http bearer authentication required
|
|
445
475
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
446
476
|
|
|
447
|
-
|
|
448
|
-
|
|
477
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
478
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
479
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
480
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
481
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
482
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
483
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
449
484
|
}
|
|
450
485
|
|
|
451
486
|
|
|
@@ -495,8 +530,13 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
495
530
|
// http bearer authentication required
|
|
496
531
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
497
532
|
|
|
498
|
-
|
|
499
|
-
|
|
533
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
534
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
535
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
536
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
537
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
538
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
539
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
500
540
|
}
|
|
501
541
|
|
|
502
542
|
|
|
@@ -1102,7 +1142,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1102
1142
|
* @memberof CommissionAccountMappingsApi
|
|
1103
1143
|
*/
|
|
1104
1144
|
public deleteCommissionAgreementAccount(requestParameters: CommissionAccountMappingsApiDeleteCommissionAgreementAccountRequest, options?: AxiosRequestConfig) {
|
|
1105
|
-
return CommissionAccountMappingsApiFp(this.configuration).deleteCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1145
|
+
return CommissionAccountMappingsApiFp(this.configuration).deleteCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1106
1146
|
}
|
|
1107
1147
|
|
|
1108
1148
|
/**
|
|
@@ -1114,7 +1154,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1114
1154
|
* @memberof CommissionAccountMappingsApi
|
|
1115
1155
|
*/
|
|
1116
1156
|
public deleteCommissionTypeAccount(requestParameters: CommissionAccountMappingsApiDeleteCommissionTypeAccountRequest, options?: AxiosRequestConfig) {
|
|
1117
|
-
return CommissionAccountMappingsApiFp(this.configuration).deleteCommissionTypeAccount(requestParameters.commissionType, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1157
|
+
return CommissionAccountMappingsApiFp(this.configuration).deleteCommissionTypeAccount(requestParameters.commissionType, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1118
1158
|
}
|
|
1119
1159
|
|
|
1120
1160
|
/**
|
|
@@ -1126,7 +1166,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1126
1166
|
* @memberof CommissionAccountMappingsApi
|
|
1127
1167
|
*/
|
|
1128
1168
|
public getCommissionAgreementAccountMapping(requestParameters: CommissionAccountMappingsApiGetCommissionAgreementAccountMappingRequest, options?: AxiosRequestConfig) {
|
|
1129
|
-
return CommissionAccountMappingsApiFp(this.configuration).getCommissionAgreementAccountMapping(requestParameters.commissionAgreementCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1169
|
+
return CommissionAccountMappingsApiFp(this.configuration).getCommissionAgreementAccountMapping(requestParameters.commissionAgreementCode, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1130
1170
|
}
|
|
1131
1171
|
|
|
1132
1172
|
/**
|
|
@@ -1138,7 +1178,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1138
1178
|
* @memberof CommissionAccountMappingsApi
|
|
1139
1179
|
*/
|
|
1140
1180
|
public listCommissionAccountMappings(requestParameters: CommissionAccountMappingsApiListCommissionAccountMappingsRequest = {}, options?: AxiosRequestConfig) {
|
|
1141
|
-
return CommissionAccountMappingsApiFp(this.configuration).listCommissionAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1181
|
+
return CommissionAccountMappingsApiFp(this.configuration).listCommissionAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1142
1182
|
}
|
|
1143
1183
|
|
|
1144
1184
|
/**
|
|
@@ -1150,7 +1190,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1150
1190
|
* @memberof CommissionAccountMappingsApi
|
|
1151
1191
|
*/
|
|
1152
1192
|
public listCommissionAgreementsWithAccountMappings(requestParameters: CommissionAccountMappingsApiListCommissionAgreementsWithAccountMappingsRequest = {}, options?: AxiosRequestConfig) {
|
|
1153
|
-
return CommissionAccountMappingsApiFp(this.configuration).listCommissionAgreementsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1193
|
+
return CommissionAccountMappingsApiFp(this.configuration).listCommissionAgreementsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1154
1194
|
}
|
|
1155
1195
|
|
|
1156
1196
|
/**
|
|
@@ -1162,7 +1202,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1162
1202
|
* @memberof CommissionAccountMappingsApi
|
|
1163
1203
|
*/
|
|
1164
1204
|
public listCommissionTypeAccountMappings(requestParameters: CommissionAccountMappingsApiListCommissionTypeAccountMappingsRequest = {}, options?: AxiosRequestConfig) {
|
|
1165
|
-
return CommissionAccountMappingsApiFp(this.configuration).listCommissionTypeAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1205
|
+
return CommissionAccountMappingsApiFp(this.configuration).listCommissionTypeAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1166
1206
|
}
|
|
1167
1207
|
|
|
1168
1208
|
/**
|
|
@@ -1174,7 +1214,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1174
1214
|
* @memberof CommissionAccountMappingsApi
|
|
1175
1215
|
*/
|
|
1176
1216
|
public updateCommissionAgreementAccount(requestParameters: CommissionAccountMappingsApiUpdateCommissionAgreementAccountRequest, options?: AxiosRequestConfig) {
|
|
1177
|
-
return CommissionAccountMappingsApiFp(this.configuration).updateCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.updateCommissionAgreementAccountBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1217
|
+
return CommissionAccountMappingsApiFp(this.configuration).updateCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.updateCommissionAgreementAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1178
1218
|
}
|
|
1179
1219
|
|
|
1180
1220
|
/**
|
|
@@ -1186,6 +1226,6 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1186
1226
|
* @memberof CommissionAccountMappingsApi
|
|
1187
1227
|
*/
|
|
1188
1228
|
public updateCommissionTypeAccount(requestParameters: CommissionAccountMappingsApiUpdateCommissionTypeAccountRequest, options?: AxiosRequestConfig) {
|
|
1189
|
-
return CommissionAccountMappingsApiFp(this.configuration).updateCommissionTypeAccount(requestParameters.commissionType, requestParameters.updateCommissionTypeAccountBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1229
|
+
return CommissionAccountMappingsApiFp(this.configuration).updateCommissionTypeAccount(requestParameters.commissionType, requestParameters.updateCommissionTypeAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1190
1230
|
}
|
|
1191
1231
|
}
|