@emilgroup/accounting-sdk 1.34.1-beta.75 → 1.34.1-beta.76
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 +0 -2
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +16 -32
- package/api/booking-entries-api.ts +14 -24
- package/api/commission-account-mappings-api.ts +16 -32
- package/api/financial-accounts-api.ts +10 -20
- package/api/financial-transactions-api.ts +4 -8
- package/api/number-ranges-api.ts +8 -16
- package/api/personal-accounts-api.ts +8 -16
- package/api/product-account-mappings-api.ts +20 -265
- package/base.ts +41 -174
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/accounting-configs-api.d.ts +8 -8
- package/dist/api/accounting-configs-api.js +32 -56
- package/dist/api/booking-entries-api.d.ts +9 -9
- package/dist/api/booking-entries-api.js +22 -33
- package/dist/api/commission-account-mappings-api.d.ts +8 -8
- package/dist/api/commission-account-mappings-api.js +29 -47
- package/dist/api/financial-accounts-api.d.ts +5 -5
- package/dist/api/financial-accounts-api.js +18 -29
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +6 -8
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/number-ranges-api.d.ts +4 -4
- package/dist/api/number-ranges-api.js +14 -22
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +14 -22
- package/dist/api/product-account-mappings-api.d.ts +10 -131
- package/dist/api/product-account-mappings-api.js +38 -261
- package/dist/base.d.ts +0 -24
- package/dist/base.js +59 -178
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/dist/models/account-mapping-class.d.ts +0 -2
- package/dist/models/account-mapping-class.js +1 -3
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +0 -2
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +1 -3
- package/dist/models/booking-entry-class.d.ts +2 -16
- package/dist/models/booking-entry-class.js +1 -3
- package/dist/models/create-booking-entry-request-dto.d.ts +2 -3
- package/dist/models/create-booking-entry-request-dto.js +2 -3
- package/dist/models/create-financial-account-request-dto.d.ts +0 -2
- package/dist/models/create-financial-account-request-dto.js +1 -3
- package/dist/models/financial-transaction-class.d.ts +0 -6
- package/dist/models/financial-transaction-data-dto.d.ts +0 -6
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/dist/models/post-financial-event-request-dto.d.ts +2 -3
- package/dist/models/post-financial-event-request-dto.js +0 -1
- package/dist/models/product-account-mapping-detail-class.d.ts +0 -6
- package/models/account-mapping-class.ts +1 -3
- package/models/accounting-config-data-dto-default-account-mappings.ts +1 -3
- package/models/booking-entry-class.ts +3 -17
- package/models/create-booking-entry-request-dto.ts +3 -4
- package/models/create-financial-account-request-dto.ts +1 -3
- package/models/financial-transaction-class.ts +0 -6
- package/models/financial-transaction-data-dto.ts +0 -6
- package/models/index.ts +0 -2
- package/models/post-financial-event-request-dto.ts +2 -3
- package/models/product-account-mapping-detail-class.ts +0 -6
- package/package.json +2 -2
- package/dist/models/product-risk-carrier-class.d.ts +0 -42
- package/dist/models/product-risk-carrier-class.js +0 -15
- package/dist/models/put-product-risk-carrier-body-dto.d.ts +0 -24
- package/dist/models/put-product-risk-carrier-body-dto.js +0 -15
- package/models/product-risk-carrier-class.ts +0 -48
- package/models/put-product-risk-carrier-body-dto.ts +0 -30
|
@@ -29,16 +29,12 @@ import { PremiumItemAccountMappingClass } from '../models';
|
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { ProductAccountMappingDetailClass } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
32
|
-
import { ProductRiskCarrierClass } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
32
|
import { ProductVersionAccountMappingDetailClass } from '../models';
|
|
35
33
|
// @ts-ignore
|
|
36
34
|
import { PutPremiumItemAccountBodyDto } from '../models';
|
|
37
35
|
// @ts-ignore
|
|
38
36
|
import { PutProductCategoryAccountBodyDto } from '../models';
|
|
39
37
|
// @ts-ignore
|
|
40
|
-
import { PutProductRiskCarrierBodyDto } from '../models';
|
|
41
|
-
// @ts-ignore
|
|
42
38
|
import { PutProductVersionCategoryAccountBodyDto } from '../models';
|
|
43
39
|
// @ts-ignore
|
|
44
40
|
import { ResolvedAccountMappingClass } from '../models';
|
|
@@ -90,10 +86,8 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
90
86
|
// http bearer authentication required
|
|
91
87
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
92
88
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
if (authorizationValue) {
|
|
96
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
89
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
90
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
97
91
|
}
|
|
98
92
|
|
|
99
93
|
|
|
@@ -141,57 +135,8 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
141
135
|
// http bearer authentication required
|
|
142
136
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
143
137
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
if (authorizationValue) {
|
|
147
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
153
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
154
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
155
|
-
|
|
156
|
-
return {
|
|
157
|
-
url: toPathString(localVarUrlObj),
|
|
158
|
-
options: localVarRequestOptions,
|
|
159
|
-
};
|
|
160
|
-
},
|
|
161
|
-
/**
|
|
162
|
-
* Permanently deletes the Product Risk Carrier. Supply the unique code that was returned when you created the Product Risk Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
163
|
-
* @summary Delete the Product Risk Carrier
|
|
164
|
-
* @param {string} productCode
|
|
165
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
166
|
-
* @param {*} [options] Override http request option.
|
|
167
|
-
* @throws {RequiredError}
|
|
168
|
-
*/
|
|
169
|
-
deleteProductRiskCarrier: async (productCode: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
170
|
-
// verify required parameter 'productCode' is not null or undefined
|
|
171
|
-
assertParamExists('deleteProductRiskCarrier', 'productCode', productCode)
|
|
172
|
-
const localVarPath = `/accountingservice/v1/product-account-mappings/products/{productCode}/risk-carrier`
|
|
173
|
-
.replace(`{${"productCode"}}`, encodeURIComponent(String(productCode)));
|
|
174
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
175
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
176
|
-
let baseOptions;
|
|
177
|
-
let baseAccessToken;
|
|
178
|
-
if (configuration) {
|
|
179
|
-
baseOptions = configuration.baseOptions;
|
|
180
|
-
baseAccessToken = configuration.accessToken;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
184
|
-
const localVarHeaderParameter = {} as any;
|
|
185
|
-
const localVarQueryParameter = {} as any;
|
|
186
|
-
|
|
187
|
-
// authentication bearer required
|
|
188
|
-
// http bearer authentication required
|
|
189
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
190
|
-
|
|
191
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
192
|
-
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
193
|
-
if (authorizationValue) {
|
|
194
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
138
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
139
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
195
140
|
}
|
|
196
141
|
|
|
197
142
|
|
|
@@ -243,10 +188,8 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
243
188
|
// http bearer authentication required
|
|
244
189
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
245
190
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
if (authorizationValue) {
|
|
249
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
191
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
192
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
250
193
|
}
|
|
251
194
|
|
|
252
195
|
|
|
@@ -290,10 +233,8 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
290
233
|
// http bearer authentication required
|
|
291
234
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
292
235
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
if (authorizationValue) {
|
|
296
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
236
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
237
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
297
238
|
}
|
|
298
239
|
|
|
299
240
|
|
|
@@ -341,10 +282,8 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
341
282
|
// http bearer authentication required
|
|
342
283
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
343
284
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
if (authorizationValue) {
|
|
347
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
285
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
286
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
348
287
|
}
|
|
349
288
|
|
|
350
289
|
|
|
@@ -419,10 +358,8 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
419
358
|
localVarQueryParameter['filters'] = filters;
|
|
420
359
|
}
|
|
421
360
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
if (authorizationValue) {
|
|
425
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
361
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
362
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
426
363
|
}
|
|
427
364
|
|
|
428
365
|
|
|
@@ -497,10 +434,8 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
497
434
|
localVarQueryParameter['filters'] = filters;
|
|
498
435
|
}
|
|
499
436
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
if (authorizationValue) {
|
|
503
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
437
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
438
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
504
439
|
}
|
|
505
440
|
|
|
506
441
|
|
|
@@ -559,10 +494,8 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
559
494
|
// http bearer authentication required
|
|
560
495
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
561
496
|
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
if (authorizationValue) {
|
|
565
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
497
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
498
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
566
499
|
}
|
|
567
500
|
|
|
568
501
|
|
|
@@ -616,10 +549,8 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
616
549
|
// http bearer authentication required
|
|
617
550
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
618
551
|
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
if (authorizationValue) {
|
|
622
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
552
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
553
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
623
554
|
}
|
|
624
555
|
|
|
625
556
|
|
|
@@ -636,59 +567,6 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
636
567
|
options: localVarRequestOptions,
|
|
637
568
|
};
|
|
638
569
|
},
|
|
639
|
-
/**
|
|
640
|
-
* Updates the specified Product Risk Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
641
|
-
* @summary Update the Product Risk Carrier
|
|
642
|
-
* @param {string} productCode
|
|
643
|
-
* @param {PutProductRiskCarrierBodyDto} putProductRiskCarrierBodyDto
|
|
644
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
645
|
-
* @param {*} [options] Override http request option.
|
|
646
|
-
* @throws {RequiredError}
|
|
647
|
-
*/
|
|
648
|
-
putProductRiskCarrier: async (productCode: string, putProductRiskCarrierBodyDto: PutProductRiskCarrierBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
649
|
-
// verify required parameter 'productCode' is not null or undefined
|
|
650
|
-
assertParamExists('putProductRiskCarrier', 'productCode', productCode)
|
|
651
|
-
// verify required parameter 'putProductRiskCarrierBodyDto' is not null or undefined
|
|
652
|
-
assertParamExists('putProductRiskCarrier', 'putProductRiskCarrierBodyDto', putProductRiskCarrierBodyDto)
|
|
653
|
-
const localVarPath = `/accountingservice/v1/product-account-mappings/products/{productCode}/risk-carrier`
|
|
654
|
-
.replace(`{${"productCode"}}`, encodeURIComponent(String(productCode)));
|
|
655
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
656
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
657
|
-
let baseOptions;
|
|
658
|
-
let baseAccessToken;
|
|
659
|
-
if (configuration) {
|
|
660
|
-
baseOptions = configuration.baseOptions;
|
|
661
|
-
baseAccessToken = configuration.accessToken;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
665
|
-
const localVarHeaderParameter = {} as any;
|
|
666
|
-
const localVarQueryParameter = {} as any;
|
|
667
|
-
|
|
668
|
-
// authentication bearer required
|
|
669
|
-
// http bearer authentication required
|
|
670
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
671
|
-
|
|
672
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
673
|
-
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
674
|
-
if (authorizationValue) {
|
|
675
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
681
|
-
|
|
682
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
683
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
684
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
685
|
-
localVarRequestOptions.data = serializeDataIfNeeded(putProductRiskCarrierBodyDto, localVarRequestOptions, configuration)
|
|
686
|
-
|
|
687
|
-
return {
|
|
688
|
-
url: toPathString(localVarUrlObj),
|
|
689
|
-
options: localVarRequestOptions,
|
|
690
|
-
};
|
|
691
|
-
},
|
|
692
570
|
/**
|
|
693
571
|
* Updates the specified Product Version Category Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
694
572
|
* @summary Update the Product Version Category Account
|
|
@@ -730,10 +608,8 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
730
608
|
// http bearer authentication required
|
|
731
609
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
732
610
|
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
if (authorizationValue) {
|
|
736
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
611
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
612
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
737
613
|
}
|
|
738
614
|
|
|
739
615
|
|
|
@@ -788,18 +664,6 @@ export const ProductAccountMappingsApiFp = function(configuration?: Configuratio
|
|
|
788
664
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteProductCategoryAccount(productCode, category, authorization, options);
|
|
789
665
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
790
666
|
},
|
|
791
|
-
/**
|
|
792
|
-
* Permanently deletes the Product Risk Carrier. Supply the unique code that was returned when you created the Product Risk Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
793
|
-
* @summary Delete the Product Risk Carrier
|
|
794
|
-
* @param {string} productCode
|
|
795
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
796
|
-
* @param {*} [options] Override http request option.
|
|
797
|
-
* @throws {RequiredError}
|
|
798
|
-
*/
|
|
799
|
-
async deleteProductRiskCarrier(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
800
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteProductRiskCarrier(productCode, authorization, options);
|
|
801
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
802
|
-
},
|
|
803
667
|
/**
|
|
804
668
|
* Permanently deletes the Product Version Category Account. Supply the unique code that was returned when you created the Product Version Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
805
669
|
* @summary Delete the Product Version Category Account
|
|
@@ -905,19 +769,6 @@ export const ProductAccountMappingsApiFp = function(configuration?: Configuratio
|
|
|
905
769
|
const localVarAxiosArgs = await localVarAxiosParamCreator.putProductCategoryAccount(productCode, category, putProductCategoryAccountBodyDto, authorization, options);
|
|
906
770
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
907
771
|
},
|
|
908
|
-
/**
|
|
909
|
-
* Updates the specified Product Risk Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
910
|
-
* @summary Update the Product Risk Carrier
|
|
911
|
-
* @param {string} productCode
|
|
912
|
-
* @param {PutProductRiskCarrierBodyDto} putProductRiskCarrierBodyDto
|
|
913
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
914
|
-
* @param {*} [options] Override http request option.
|
|
915
|
-
* @throws {RequiredError}
|
|
916
|
-
*/
|
|
917
|
-
async putProductRiskCarrier(productCode: string, putProductRiskCarrierBodyDto: PutProductRiskCarrierBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRiskCarrierClass>> {
|
|
918
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putProductRiskCarrier(productCode, putProductRiskCarrierBodyDto, authorization, options);
|
|
919
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
920
|
-
},
|
|
921
772
|
/**
|
|
922
773
|
* Updates the specified Product Version Category Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
923
774
|
* @summary Update the Product Version Category Account
|
|
@@ -969,17 +820,6 @@ export const ProductAccountMappingsApiFactory = function (configuration?: Config
|
|
|
969
820
|
deleteProductCategoryAccount(productCode: string, category: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
970
821
|
return localVarFp.deleteProductCategoryAccount(productCode, category, authorization, options).then((request) => request(axios, basePath));
|
|
971
822
|
},
|
|
972
|
-
/**
|
|
973
|
-
* Permanently deletes the Product Risk Carrier. Supply the unique code that was returned when you created the Product Risk Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
974
|
-
* @summary Delete the Product Risk Carrier
|
|
975
|
-
* @param {string} productCode
|
|
976
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
977
|
-
* @param {*} [options] Override http request option.
|
|
978
|
-
* @throws {RequiredError}
|
|
979
|
-
*/
|
|
980
|
-
deleteProductRiskCarrier(productCode: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
981
|
-
return localVarFp.deleteProductRiskCarrier(productCode, authorization, options).then((request) => request(axios, basePath));
|
|
982
|
-
},
|
|
983
823
|
/**
|
|
984
824
|
* Permanently deletes the Product Version Category Account. Supply the unique code that was returned when you created the Product Version Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
985
825
|
* @summary Delete the Product Version Category Account
|
|
@@ -1078,18 +918,6 @@ export const ProductAccountMappingsApiFactory = function (configuration?: Config
|
|
|
1078
918
|
putProductCategoryAccount(productCode: string, category: string, putProductCategoryAccountBodyDto: PutProductCategoryAccountBodyDto, authorization?: string, options?: any): AxiosPromise<ResolvedAccountMappingClass> {
|
|
1079
919
|
return localVarFp.putProductCategoryAccount(productCode, category, putProductCategoryAccountBodyDto, authorization, options).then((request) => request(axios, basePath));
|
|
1080
920
|
},
|
|
1081
|
-
/**
|
|
1082
|
-
* Updates the specified Product Risk Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
1083
|
-
* @summary Update the Product Risk Carrier
|
|
1084
|
-
* @param {string} productCode
|
|
1085
|
-
* @param {PutProductRiskCarrierBodyDto} putProductRiskCarrierBodyDto
|
|
1086
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1087
|
-
* @param {*} [options] Override http request option.
|
|
1088
|
-
* @throws {RequiredError}
|
|
1089
|
-
*/
|
|
1090
|
-
putProductRiskCarrier(productCode: string, putProductRiskCarrierBodyDto: PutProductRiskCarrierBodyDto, authorization?: string, options?: any): AxiosPromise<ProductRiskCarrierClass> {
|
|
1091
|
-
return localVarFp.putProductRiskCarrier(productCode, putProductRiskCarrierBodyDto, authorization, options).then((request) => request(axios, basePath));
|
|
1092
|
-
},
|
|
1093
921
|
/**
|
|
1094
922
|
* Updates the specified Product Version Category Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
1095
923
|
* @summary Update the Product Version Category Account
|
|
@@ -1177,27 +1005,6 @@ export interface ProductAccountMappingsApiDeleteProductCategoryAccountRequest {
|
|
|
1177
1005
|
readonly authorization?: string
|
|
1178
1006
|
}
|
|
1179
1007
|
|
|
1180
|
-
/**
|
|
1181
|
-
* Request parameters for deleteProductRiskCarrier operation in ProductAccountMappingsApi.
|
|
1182
|
-
* @export
|
|
1183
|
-
* @interface ProductAccountMappingsApiDeleteProductRiskCarrierRequest
|
|
1184
|
-
*/
|
|
1185
|
-
export interface ProductAccountMappingsApiDeleteProductRiskCarrierRequest {
|
|
1186
|
-
/**
|
|
1187
|
-
*
|
|
1188
|
-
* @type {string}
|
|
1189
|
-
* @memberof ProductAccountMappingsApiDeleteProductRiskCarrier
|
|
1190
|
-
*/
|
|
1191
|
-
readonly productCode: string
|
|
1192
|
-
|
|
1193
|
-
/**
|
|
1194
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1195
|
-
* @type {string}
|
|
1196
|
-
* @memberof ProductAccountMappingsApiDeleteProductRiskCarrier
|
|
1197
|
-
*/
|
|
1198
|
-
readonly authorization?: string
|
|
1199
|
-
}
|
|
1200
|
-
|
|
1201
1008
|
/**
|
|
1202
1009
|
* Request parameters for deleteProductVersionCategoryAccount operation in ProductAccountMappingsApi.
|
|
1203
1010
|
* @export
|
|
@@ -1492,34 +1299,6 @@ export interface ProductAccountMappingsApiPutProductCategoryAccountRequest {
|
|
|
1492
1299
|
readonly authorization?: string
|
|
1493
1300
|
}
|
|
1494
1301
|
|
|
1495
|
-
/**
|
|
1496
|
-
* Request parameters for putProductRiskCarrier operation in ProductAccountMappingsApi.
|
|
1497
|
-
* @export
|
|
1498
|
-
* @interface ProductAccountMappingsApiPutProductRiskCarrierRequest
|
|
1499
|
-
*/
|
|
1500
|
-
export interface ProductAccountMappingsApiPutProductRiskCarrierRequest {
|
|
1501
|
-
/**
|
|
1502
|
-
*
|
|
1503
|
-
* @type {string}
|
|
1504
|
-
* @memberof ProductAccountMappingsApiPutProductRiskCarrier
|
|
1505
|
-
*/
|
|
1506
|
-
readonly productCode: string
|
|
1507
|
-
|
|
1508
|
-
/**
|
|
1509
|
-
*
|
|
1510
|
-
* @type {PutProductRiskCarrierBodyDto}
|
|
1511
|
-
* @memberof ProductAccountMappingsApiPutProductRiskCarrier
|
|
1512
|
-
*/
|
|
1513
|
-
readonly putProductRiskCarrierBodyDto: PutProductRiskCarrierBodyDto
|
|
1514
|
-
|
|
1515
|
-
/**
|
|
1516
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1517
|
-
* @type {string}
|
|
1518
|
-
* @memberof ProductAccountMappingsApiPutProductRiskCarrier
|
|
1519
|
-
*/
|
|
1520
|
-
readonly authorization?: string
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
1302
|
/**
|
|
1524
1303
|
* Request parameters for putProductVersionCategoryAccount operation in ProductAccountMappingsApi.
|
|
1525
1304
|
* @export
|
|
@@ -1593,18 +1372,6 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1593
1372
|
return ProductAccountMappingsApiFp(this.configuration).deleteProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1594
1373
|
}
|
|
1595
1374
|
|
|
1596
|
-
/**
|
|
1597
|
-
* Permanently deletes the Product Risk Carrier. Supply the unique code that was returned when you created the Product Risk Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
1598
|
-
* @summary Delete the Product Risk Carrier
|
|
1599
|
-
* @param {ProductAccountMappingsApiDeleteProductRiskCarrierRequest} requestParameters Request parameters.
|
|
1600
|
-
* @param {*} [options] Override http request option.
|
|
1601
|
-
* @throws {RequiredError}
|
|
1602
|
-
* @memberof ProductAccountMappingsApi
|
|
1603
|
-
*/
|
|
1604
|
-
public deleteProductRiskCarrier(requestParameters: ProductAccountMappingsApiDeleteProductRiskCarrierRequest, options?: AxiosRequestConfig) {
|
|
1605
|
-
return ProductAccountMappingsApiFp(this.configuration).deleteProductRiskCarrier(requestParameters.productCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1606
|
-
}
|
|
1607
|
-
|
|
1608
1375
|
/**
|
|
1609
1376
|
* Permanently deletes the Product Version Category Account. Supply the unique code that was returned when you created the Product Version Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
1610
1377
|
* @summary Delete the Product Version Category Account
|
|
@@ -1689,18 +1456,6 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1689
1456
|
return ProductAccountMappingsApiFp(this.configuration).putProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.putProductCategoryAccountBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1690
1457
|
}
|
|
1691
1458
|
|
|
1692
|
-
/**
|
|
1693
|
-
* Updates the specified Product Risk Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
1694
|
-
* @summary Update the Product Risk Carrier
|
|
1695
|
-
* @param {ProductAccountMappingsApiPutProductRiskCarrierRequest} requestParameters Request parameters.
|
|
1696
|
-
* @param {*} [options] Override http request option.
|
|
1697
|
-
* @throws {RequiredError}
|
|
1698
|
-
* @memberof ProductAccountMappingsApi
|
|
1699
|
-
*/
|
|
1700
|
-
public putProductRiskCarrier(requestParameters: ProductAccountMappingsApiPutProductRiskCarrierRequest, options?: AxiosRequestConfig) {
|
|
1701
|
-
return ProductAccountMappingsApiFp(this.configuration).putProductRiskCarrier(requestParameters.productCode, requestParameters.putProductRiskCarrierBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
1459
|
/**
|
|
1705
1460
|
* Updates the specified Product Version Category Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
1706
1461
|
* @summary Update the Product Version Category Account
|