@emilgroup/accounting-sdk 1.34.1-beta.110 → 1.34.1-beta.112
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/product-account-mappings-api.ts +281 -0
- package/dist/api/product-account-mappings-api.d.ts +156 -0
- package/dist/api/product-account-mappings-api.js +229 -0
- 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/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 +1 -1
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.112 --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.112
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -35,6 +35,8 @@ import { ProductVersionAccountMappingDetailClass } from '../models';
|
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { PutPremiumItemAccountBodyDto } from '../models';
|
|
37
37
|
// @ts-ignore
|
|
38
|
+
import { PutPremiumItemCarrierBodyDto } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
38
40
|
import { PutProductCategoryAccountBodyDto } from '../models';
|
|
39
41
|
// @ts-ignore
|
|
40
42
|
import { PutProductRiskCarrierBodyDto } from '../models';
|
|
@@ -101,6 +103,64 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
101
103
|
|
|
102
104
|
|
|
103
105
|
|
|
106
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
109
|
+
|
|
110
|
+
return {
|
|
111
|
+
url: toPathString(localVarUrlObj),
|
|
112
|
+
options: localVarRequestOptions,
|
|
113
|
+
};
|
|
114
|
+
},
|
|
115
|
+
/**
|
|
116
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
117
|
+
* @summary Delete the Premium Item Carrier
|
|
118
|
+
* @param {string} productCode
|
|
119
|
+
* @param {string} productVersionCode
|
|
120
|
+
* @param {string} premiumFormulaCode
|
|
121
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
122
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
deletePremiumItemCarrier: async (productCode: string, productVersionCode: string, premiumFormulaCode: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
126
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
127
|
+
assertParamExists('deletePremiumItemCarrier', 'productCode', productCode)
|
|
128
|
+
// verify required parameter 'productVersionCode' is not null or undefined
|
|
129
|
+
assertParamExists('deletePremiumItemCarrier', 'productVersionCode', productVersionCode)
|
|
130
|
+
// verify required parameter 'premiumFormulaCode' is not null or undefined
|
|
131
|
+
assertParamExists('deletePremiumItemCarrier', 'premiumFormulaCode', premiumFormulaCode)
|
|
132
|
+
const localVarPath = `/accountingservice/v1/product-account-mappings/products/{productCode}/versions/{productVersionCode}/premium-items/{premiumFormulaCode}/carrier`
|
|
133
|
+
.replace(`{${"productCode"}}`, encodeURIComponent(String(productCode)))
|
|
134
|
+
.replace(`{${"productVersionCode"}}`, encodeURIComponent(String(productVersionCode)))
|
|
135
|
+
.replace(`{${"premiumFormulaCode"}}`, encodeURIComponent(String(premiumFormulaCode)));
|
|
136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
138
|
+
let baseOptions;
|
|
139
|
+
let baseAccessToken;
|
|
140
|
+
if (configuration) {
|
|
141
|
+
baseOptions = configuration.baseOptions;
|
|
142
|
+
baseAccessToken = configuration.accessToken;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
146
|
+
const localVarHeaderParameter = {} as any;
|
|
147
|
+
const localVarQueryParameter = {} as any;
|
|
148
|
+
|
|
149
|
+
// authentication bearer required
|
|
150
|
+
// http bearer authentication required
|
|
151
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
152
|
+
|
|
153
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
154
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
155
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
156
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
157
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
158
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
159
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
104
164
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105
165
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
166
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -606,6 +666,70 @@ export const ProductAccountMappingsApiAxiosParamCreator = function (configuratio
|
|
|
606
666
|
options: localVarRequestOptions,
|
|
607
667
|
};
|
|
608
668
|
},
|
|
669
|
+
/**
|
|
670
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
671
|
+
* @summary Update the Premium Item Carrier
|
|
672
|
+
* @param {string} productCode
|
|
673
|
+
* @param {string} productVersionCode
|
|
674
|
+
* @param {string} premiumFormulaCode
|
|
675
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
676
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
677
|
+
* @param {*} [options] Override http request option.
|
|
678
|
+
* @throws {RequiredError}
|
|
679
|
+
*/
|
|
680
|
+
putPremiumItemCarrier: async (productCode: string, productVersionCode: string, premiumFormulaCode: string, putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
681
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
682
|
+
assertParamExists('putPremiumItemCarrier', 'productCode', productCode)
|
|
683
|
+
// verify required parameter 'productVersionCode' is not null or undefined
|
|
684
|
+
assertParamExists('putPremiumItemCarrier', 'productVersionCode', productVersionCode)
|
|
685
|
+
// verify required parameter 'premiumFormulaCode' is not null or undefined
|
|
686
|
+
assertParamExists('putPremiumItemCarrier', 'premiumFormulaCode', premiumFormulaCode)
|
|
687
|
+
// verify required parameter 'putPremiumItemCarrierBodyDto' is not null or undefined
|
|
688
|
+
assertParamExists('putPremiumItemCarrier', 'putPremiumItemCarrierBodyDto', putPremiumItemCarrierBodyDto)
|
|
689
|
+
const localVarPath = `/accountingservice/v1/product-account-mappings/products/{productCode}/versions/{productVersionCode}/premium-items/{premiumFormulaCode}/carrier`
|
|
690
|
+
.replace(`{${"productCode"}}`, encodeURIComponent(String(productCode)))
|
|
691
|
+
.replace(`{${"productVersionCode"}}`, encodeURIComponent(String(productVersionCode)))
|
|
692
|
+
.replace(`{${"premiumFormulaCode"}}`, encodeURIComponent(String(premiumFormulaCode)));
|
|
693
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
694
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
695
|
+
let baseOptions;
|
|
696
|
+
let baseAccessToken;
|
|
697
|
+
if (configuration) {
|
|
698
|
+
baseOptions = configuration.baseOptions;
|
|
699
|
+
baseAccessToken = configuration.accessToken;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
703
|
+
const localVarHeaderParameter = {} as any;
|
|
704
|
+
const localVarQueryParameter = {} as any;
|
|
705
|
+
|
|
706
|
+
// authentication bearer required
|
|
707
|
+
// http bearer authentication required
|
|
708
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
709
|
+
|
|
710
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
711
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
712
|
+
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
713
|
+
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
714
|
+
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
715
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
716
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
722
|
+
|
|
723
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
724
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
725
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
726
|
+
localVarRequestOptions.data = serializeDataIfNeeded(putPremiumItemCarrierBodyDto, localVarRequestOptions, configuration)
|
|
727
|
+
|
|
728
|
+
return {
|
|
729
|
+
url: toPathString(localVarUrlObj),
|
|
730
|
+
options: localVarRequestOptions,
|
|
731
|
+
};
|
|
732
|
+
},
|
|
609
733
|
/**
|
|
610
734
|
* Updates the specified Product 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\"
|
|
611
735
|
* @summary Update the Product Category Account
|
|
@@ -811,6 +935,20 @@ export const ProductAccountMappingsApiFp = function(configuration?: Configuratio
|
|
|
811
935
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deletePremiumItemAccount(productCode, productVersionCode, premiumFormulaCode, category, authorization, options);
|
|
812
936
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
813
937
|
},
|
|
938
|
+
/**
|
|
939
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
940
|
+
* @summary Delete the Premium Item Carrier
|
|
941
|
+
* @param {string} productCode
|
|
942
|
+
* @param {string} productVersionCode
|
|
943
|
+
* @param {string} premiumFormulaCode
|
|
944
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
945
|
+
* @param {*} [options] Override http request option.
|
|
946
|
+
* @throws {RequiredError}
|
|
947
|
+
*/
|
|
948
|
+
async deletePremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
949
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletePremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, authorization, options);
|
|
950
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
951
|
+
},
|
|
814
952
|
/**
|
|
815
953
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
816
954
|
* @summary Delete the Product Category Account
|
|
@@ -927,6 +1065,21 @@ export const ProductAccountMappingsApiFp = function(configuration?: Configuratio
|
|
|
927
1065
|
const localVarAxiosArgs = await localVarAxiosParamCreator.putPremiumItemAccount(productCode, productVersionCode, premiumFormulaCode, category, putPremiumItemAccountBodyDto, authorization, options);
|
|
928
1066
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
929
1067
|
},
|
|
1068
|
+
/**
|
|
1069
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
1070
|
+
* @summary Update the Premium Item Carrier
|
|
1071
|
+
* @param {string} productCode
|
|
1072
|
+
* @param {string} productVersionCode
|
|
1073
|
+
* @param {string} premiumFormulaCode
|
|
1074
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
1075
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1076
|
+
* @param {*} [options] Override http request option.
|
|
1077
|
+
* @throws {RequiredError}
|
|
1078
|
+
*/
|
|
1079
|
+
async putPremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremiumItemAccountMappingClass>> {
|
|
1080
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putPremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options);
|
|
1081
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1082
|
+
},
|
|
930
1083
|
/**
|
|
931
1084
|
* Updates the specified Product 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\"
|
|
932
1085
|
* @summary Update the Product Category Account
|
|
@@ -993,6 +1146,19 @@ export const ProductAccountMappingsApiFactory = function (configuration?: Config
|
|
|
993
1146
|
deletePremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
994
1147
|
return localVarFp.deletePremiumItemAccount(productCode, productVersionCode, premiumFormulaCode, category, authorization, options).then((request) => request(axios, basePath));
|
|
995
1148
|
},
|
|
1149
|
+
/**
|
|
1150
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
1151
|
+
* @summary Delete the Premium Item Carrier
|
|
1152
|
+
* @param {string} productCode
|
|
1153
|
+
* @param {string} productVersionCode
|
|
1154
|
+
* @param {string} premiumFormulaCode
|
|
1155
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1156
|
+
* @param {*} [options] Override http request option.
|
|
1157
|
+
* @throws {RequiredError}
|
|
1158
|
+
*/
|
|
1159
|
+
deletePremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
1160
|
+
return localVarFp.deletePremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, authorization, options).then((request) => request(axios, basePath));
|
|
1161
|
+
},
|
|
996
1162
|
/**
|
|
997
1163
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
998
1164
|
* @summary Delete the Product Category Account
|
|
@@ -1101,6 +1267,20 @@ export const ProductAccountMappingsApiFactory = function (configuration?: Config
|
|
|
1101
1267
|
putPremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, putPremiumItemAccountBodyDto: PutPremiumItemAccountBodyDto, authorization?: string, options?: any): AxiosPromise<PremiumItemAccountMappingClass> {
|
|
1102
1268
|
return localVarFp.putPremiumItemAccount(productCode, productVersionCode, premiumFormulaCode, category, putPremiumItemAccountBodyDto, authorization, options).then((request) => request(axios, basePath));
|
|
1103
1269
|
},
|
|
1270
|
+
/**
|
|
1271
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
1272
|
+
* @summary Update the Premium Item Carrier
|
|
1273
|
+
* @param {string} productCode
|
|
1274
|
+
* @param {string} productVersionCode
|
|
1275
|
+
* @param {string} premiumFormulaCode
|
|
1276
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
1277
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1278
|
+
* @param {*} [options] Override http request option.
|
|
1279
|
+
* @throws {RequiredError}
|
|
1280
|
+
*/
|
|
1281
|
+
putPremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto, authorization?: string, options?: any): AxiosPromise<PremiumItemAccountMappingClass> {
|
|
1282
|
+
return localVarFp.putPremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options).then((request) => request(axios, basePath));
|
|
1283
|
+
},
|
|
1104
1284
|
/**
|
|
1105
1285
|
* Updates the specified Product 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\"
|
|
1106
1286
|
* @summary Update the Product Category Account
|
|
@@ -1185,6 +1365,41 @@ export interface ProductAccountMappingsApiDeletePremiumItemAccountRequest {
|
|
|
1185
1365
|
readonly authorization?: string
|
|
1186
1366
|
}
|
|
1187
1367
|
|
|
1368
|
+
/**
|
|
1369
|
+
* Request parameters for deletePremiumItemCarrier operation in ProductAccountMappingsApi.
|
|
1370
|
+
* @export
|
|
1371
|
+
* @interface ProductAccountMappingsApiDeletePremiumItemCarrierRequest
|
|
1372
|
+
*/
|
|
1373
|
+
export interface ProductAccountMappingsApiDeletePremiumItemCarrierRequest {
|
|
1374
|
+
/**
|
|
1375
|
+
*
|
|
1376
|
+
* @type {string}
|
|
1377
|
+
* @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
|
|
1378
|
+
*/
|
|
1379
|
+
readonly productCode: string
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
*
|
|
1383
|
+
* @type {string}
|
|
1384
|
+
* @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
|
|
1385
|
+
*/
|
|
1386
|
+
readonly productVersionCode: string
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @type {string}
|
|
1391
|
+
* @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
|
|
1392
|
+
*/
|
|
1393
|
+
readonly premiumFormulaCode: string
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1397
|
+
* @type {string}
|
|
1398
|
+
* @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
|
|
1399
|
+
*/
|
|
1400
|
+
readonly authorization?: string
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1188
1403
|
/**
|
|
1189
1404
|
* Request parameters for deleteProductCategoryAccount operation in ProductAccountMappingsApi.
|
|
1190
1405
|
* @export
|
|
@@ -1493,6 +1708,48 @@ export interface ProductAccountMappingsApiPutPremiumItemAccountRequest {
|
|
|
1493
1708
|
readonly authorization?: string
|
|
1494
1709
|
}
|
|
1495
1710
|
|
|
1711
|
+
/**
|
|
1712
|
+
* Request parameters for putPremiumItemCarrier operation in ProductAccountMappingsApi.
|
|
1713
|
+
* @export
|
|
1714
|
+
* @interface ProductAccountMappingsApiPutPremiumItemCarrierRequest
|
|
1715
|
+
*/
|
|
1716
|
+
export interface ProductAccountMappingsApiPutPremiumItemCarrierRequest {
|
|
1717
|
+
/**
|
|
1718
|
+
*
|
|
1719
|
+
* @type {string}
|
|
1720
|
+
* @memberof ProductAccountMappingsApiPutPremiumItemCarrier
|
|
1721
|
+
*/
|
|
1722
|
+
readonly productCode: string
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
*
|
|
1726
|
+
* @type {string}
|
|
1727
|
+
* @memberof ProductAccountMappingsApiPutPremiumItemCarrier
|
|
1728
|
+
*/
|
|
1729
|
+
readonly productVersionCode: string
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
*
|
|
1733
|
+
* @type {string}
|
|
1734
|
+
* @memberof ProductAccountMappingsApiPutPremiumItemCarrier
|
|
1735
|
+
*/
|
|
1736
|
+
readonly premiumFormulaCode: string
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
*
|
|
1740
|
+
* @type {PutPremiumItemCarrierBodyDto}
|
|
1741
|
+
* @memberof ProductAccountMappingsApiPutPremiumItemCarrier
|
|
1742
|
+
*/
|
|
1743
|
+
readonly putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1747
|
+
* @type {string}
|
|
1748
|
+
* @memberof ProductAccountMappingsApiPutPremiumItemCarrier
|
|
1749
|
+
*/
|
|
1750
|
+
readonly authorization?: string
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1496
1753
|
/**
|
|
1497
1754
|
* Request parameters for putProductCategoryAccount operation in ProductAccountMappingsApi.
|
|
1498
1755
|
* @export
|
|
@@ -1617,6 +1874,18 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1617
1874
|
return ProductAccountMappingsApiFp(this.configuration).deletePremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1618
1875
|
}
|
|
1619
1876
|
|
|
1877
|
+
/**
|
|
1878
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
1879
|
+
* @summary Delete the Premium Item Carrier
|
|
1880
|
+
* @param {ProductAccountMappingsApiDeletePremiumItemCarrierRequest} requestParameters Request parameters.
|
|
1881
|
+
* @param {*} [options] Override http request option.
|
|
1882
|
+
* @throws {RequiredError}
|
|
1883
|
+
* @memberof ProductAccountMappingsApi
|
|
1884
|
+
*/
|
|
1885
|
+
public deletePremiumItemCarrier(requestParameters: ProductAccountMappingsApiDeletePremiumItemCarrierRequest, options?: AxiosRequestConfig) {
|
|
1886
|
+
return ProductAccountMappingsApiFp(this.configuration).deletePremiumItemCarrier(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1620
1889
|
/**
|
|
1621
1890
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
1622
1891
|
* @summary Delete the Product Category Account
|
|
@@ -1713,6 +1982,18 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1713
1982
|
return ProductAccountMappingsApiFp(this.configuration).putPremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.putPremiumItemAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1714
1983
|
}
|
|
1715
1984
|
|
|
1985
|
+
/**
|
|
1986
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
1987
|
+
* @summary Update the Premium Item Carrier
|
|
1988
|
+
* @param {ProductAccountMappingsApiPutPremiumItemCarrierRequest} requestParameters Request parameters.
|
|
1989
|
+
* @param {*} [options] Override http request option.
|
|
1990
|
+
* @throws {RequiredError}
|
|
1991
|
+
* @memberof ProductAccountMappingsApi
|
|
1992
|
+
*/
|
|
1993
|
+
public putPremiumItemCarrier(requestParameters: ProductAccountMappingsApiPutPremiumItemCarrierRequest, options?: AxiosRequestConfig) {
|
|
1994
|
+
return ProductAccountMappingsApiFp(this.configuration).putPremiumItemCarrier(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.putPremiumItemCarrierBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1716
1997
|
/**
|
|
1717
1998
|
* Updates the specified Product 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\"
|
|
1718
1999
|
* @summary Update the Product Category Account
|
|
@@ -19,6 +19,7 @@ import { ProductAccountMappingDetailClass } from '../models';
|
|
|
19
19
|
import { ProductRiskCarrierClass } from '../models';
|
|
20
20
|
import { ProductVersionAccountMappingDetailClass } from '../models';
|
|
21
21
|
import { PutPremiumItemAccountBodyDto } from '../models';
|
|
22
|
+
import { PutPremiumItemCarrierBodyDto } from '../models';
|
|
22
23
|
import { PutProductCategoryAccountBodyDto } from '../models';
|
|
23
24
|
import { PutProductRiskCarrierBodyDto } from '../models';
|
|
24
25
|
import { PutProductVersionCategoryAccountBodyDto } from '../models';
|
|
@@ -40,6 +41,17 @@ export declare const ProductAccountMappingsApiAxiosParamCreator: (configuration?
|
|
|
40
41
|
* @throws {RequiredError}
|
|
41
42
|
*/
|
|
42
43
|
deletePremiumItemAccount: (productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
46
|
+
* @summary Delete the Premium Item Carrier
|
|
47
|
+
* @param {string} productCode
|
|
48
|
+
* @param {string} productVersionCode
|
|
49
|
+
* @param {string} premiumFormulaCode
|
|
50
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
deletePremiumItemCarrier: (productCode: string, productVersionCode: string, premiumFormulaCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
55
|
/**
|
|
44
56
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
45
57
|
* @summary Delete the Product Category Account
|
|
@@ -132,6 +144,18 @@ export declare const ProductAccountMappingsApiAxiosParamCreator: (configuration?
|
|
|
132
144
|
* @throws {RequiredError}
|
|
133
145
|
*/
|
|
134
146
|
putPremiumItemAccount: (productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, putPremiumItemAccountBodyDto: PutPremiumItemAccountBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
147
|
+
/**
|
|
148
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
149
|
+
* @summary Update the Premium Item Carrier
|
|
150
|
+
* @param {string} productCode
|
|
151
|
+
* @param {string} productVersionCode
|
|
152
|
+
* @param {string} premiumFormulaCode
|
|
153
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
154
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
putPremiumItemCarrier: (productCode: string, productVersionCode: string, premiumFormulaCode: string, putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
135
159
|
/**
|
|
136
160
|
* Updates the specified Product 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\"
|
|
137
161
|
* @summary Update the Product Category Account
|
|
@@ -183,6 +207,17 @@ export declare const ProductAccountMappingsApiFp: (configuration?: Configuration
|
|
|
183
207
|
* @throws {RequiredError}
|
|
184
208
|
*/
|
|
185
209
|
deletePremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
210
|
+
/**
|
|
211
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
212
|
+
* @summary Delete the Premium Item Carrier
|
|
213
|
+
* @param {string} productCode
|
|
214
|
+
* @param {string} productVersionCode
|
|
215
|
+
* @param {string} premiumFormulaCode
|
|
216
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
217
|
+
* @param {*} [options] Override http request option.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
*/
|
|
220
|
+
deletePremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
186
221
|
/**
|
|
187
222
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
188
223
|
* @summary Delete the Product Category Account
|
|
@@ -275,6 +310,18 @@ export declare const ProductAccountMappingsApiFp: (configuration?: Configuration
|
|
|
275
310
|
* @throws {RequiredError}
|
|
276
311
|
*/
|
|
277
312
|
putPremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, putPremiumItemAccountBodyDto: PutPremiumItemAccountBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremiumItemAccountMappingClass>>;
|
|
313
|
+
/**
|
|
314
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
315
|
+
* @summary Update the Premium Item Carrier
|
|
316
|
+
* @param {string} productCode
|
|
317
|
+
* @param {string} productVersionCode
|
|
318
|
+
* @param {string} premiumFormulaCode
|
|
319
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
320
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
321
|
+
* @param {*} [options] Override http request option.
|
|
322
|
+
* @throws {RequiredError}
|
|
323
|
+
*/
|
|
324
|
+
putPremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremiumItemAccountMappingClass>>;
|
|
278
325
|
/**
|
|
279
326
|
* Updates the specified Product 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\"
|
|
280
327
|
* @summary Update the Product Category Account
|
|
@@ -326,6 +373,17 @@ export declare const ProductAccountMappingsApiFactory: (configuration?: Configur
|
|
|
326
373
|
* @throws {RequiredError}
|
|
327
374
|
*/
|
|
328
375
|
deletePremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
376
|
+
/**
|
|
377
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
378
|
+
* @summary Delete the Premium Item Carrier
|
|
379
|
+
* @param {string} productCode
|
|
380
|
+
* @param {string} productVersionCode
|
|
381
|
+
* @param {string} premiumFormulaCode
|
|
382
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
383
|
+
* @param {*} [options] Override http request option.
|
|
384
|
+
* @throws {RequiredError}
|
|
385
|
+
*/
|
|
386
|
+
deletePremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
329
387
|
/**
|
|
330
388
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
331
389
|
* @summary Delete the Product Category Account
|
|
@@ -418,6 +476,18 @@ export declare const ProductAccountMappingsApiFactory: (configuration?: Configur
|
|
|
418
476
|
* @throws {RequiredError}
|
|
419
477
|
*/
|
|
420
478
|
putPremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, putPremiumItemAccountBodyDto: PutPremiumItemAccountBodyDto, authorization?: string, options?: any): AxiosPromise<PremiumItemAccountMappingClass>;
|
|
479
|
+
/**
|
|
480
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
481
|
+
* @summary Update the Premium Item Carrier
|
|
482
|
+
* @param {string} productCode
|
|
483
|
+
* @param {string} productVersionCode
|
|
484
|
+
* @param {string} premiumFormulaCode
|
|
485
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
486
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
putPremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto, authorization?: string, options?: any): AxiosPromise<PremiumItemAccountMappingClass>;
|
|
421
491
|
/**
|
|
422
492
|
* Updates the specified Product 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\"
|
|
423
493
|
* @summary Update the Product Category Account
|
|
@@ -489,6 +559,37 @@ export interface ProductAccountMappingsApiDeletePremiumItemAccountRequest {
|
|
|
489
559
|
*/
|
|
490
560
|
readonly authorization?: string;
|
|
491
561
|
}
|
|
562
|
+
/**
|
|
563
|
+
* Request parameters for deletePremiumItemCarrier operation in ProductAccountMappingsApi.
|
|
564
|
+
* @export
|
|
565
|
+
* @interface ProductAccountMappingsApiDeletePremiumItemCarrierRequest
|
|
566
|
+
*/
|
|
567
|
+
export interface ProductAccountMappingsApiDeletePremiumItemCarrierRequest {
|
|
568
|
+
/**
|
|
569
|
+
*
|
|
570
|
+
* @type {string}
|
|
571
|
+
* @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
|
|
572
|
+
*/
|
|
573
|
+
readonly productCode: string;
|
|
574
|
+
/**
|
|
575
|
+
*
|
|
576
|
+
* @type {string}
|
|
577
|
+
* @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
|
|
578
|
+
*/
|
|
579
|
+
readonly productVersionCode: string;
|
|
580
|
+
/**
|
|
581
|
+
*
|
|
582
|
+
* @type {string}
|
|
583
|
+
* @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
|
|
584
|
+
*/
|
|
585
|
+
readonly premiumFormulaCode: string;
|
|
586
|
+
/**
|
|
587
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
588
|
+
* @type {string}
|
|
589
|
+
* @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
|
|
590
|
+
*/
|
|
591
|
+
readonly authorization?: string;
|
|
592
|
+
}
|
|
492
593
|
/**
|
|
493
594
|
* Request parameters for deleteProductCategoryAccount operation in ProductAccountMappingsApi.
|
|
494
595
|
* @export
|
|
@@ -761,6 +862,43 @@ export interface ProductAccountMappingsApiPutPremiumItemAccountRequest {
|
|
|
761
862
|
*/
|
|
762
863
|
readonly authorization?: string;
|
|
763
864
|
}
|
|
865
|
+
/**
|
|
866
|
+
* Request parameters for putPremiumItemCarrier operation in ProductAccountMappingsApi.
|
|
867
|
+
* @export
|
|
868
|
+
* @interface ProductAccountMappingsApiPutPremiumItemCarrierRequest
|
|
869
|
+
*/
|
|
870
|
+
export interface ProductAccountMappingsApiPutPremiumItemCarrierRequest {
|
|
871
|
+
/**
|
|
872
|
+
*
|
|
873
|
+
* @type {string}
|
|
874
|
+
* @memberof ProductAccountMappingsApiPutPremiumItemCarrier
|
|
875
|
+
*/
|
|
876
|
+
readonly productCode: string;
|
|
877
|
+
/**
|
|
878
|
+
*
|
|
879
|
+
* @type {string}
|
|
880
|
+
* @memberof ProductAccountMappingsApiPutPremiumItemCarrier
|
|
881
|
+
*/
|
|
882
|
+
readonly productVersionCode: string;
|
|
883
|
+
/**
|
|
884
|
+
*
|
|
885
|
+
* @type {string}
|
|
886
|
+
* @memberof ProductAccountMappingsApiPutPremiumItemCarrier
|
|
887
|
+
*/
|
|
888
|
+
readonly premiumFormulaCode: string;
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @type {PutPremiumItemCarrierBodyDto}
|
|
892
|
+
* @memberof ProductAccountMappingsApiPutPremiumItemCarrier
|
|
893
|
+
*/
|
|
894
|
+
readonly putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto;
|
|
895
|
+
/**
|
|
896
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
897
|
+
* @type {string}
|
|
898
|
+
* @memberof ProductAccountMappingsApiPutPremiumItemCarrier
|
|
899
|
+
*/
|
|
900
|
+
readonly authorization?: string;
|
|
901
|
+
}
|
|
764
902
|
/**
|
|
765
903
|
* Request parameters for putProductCategoryAccount operation in ProductAccountMappingsApi.
|
|
766
904
|
* @export
|
|
@@ -870,6 +1008,15 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
870
1008
|
* @memberof ProductAccountMappingsApi
|
|
871
1009
|
*/
|
|
872
1010
|
deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
1013
|
+
* @summary Delete the Premium Item Carrier
|
|
1014
|
+
* @param {ProductAccountMappingsApiDeletePremiumItemCarrierRequest} requestParameters Request parameters.
|
|
1015
|
+
* @param {*} [options] Override http request option.
|
|
1016
|
+
* @throws {RequiredError}
|
|
1017
|
+
* @memberof ProductAccountMappingsApi
|
|
1018
|
+
*/
|
|
1019
|
+
deletePremiumItemCarrier(requestParameters: ProductAccountMappingsApiDeletePremiumItemCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
873
1020
|
/**
|
|
874
1021
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
875
1022
|
* @summary Delete the Product Category Account
|
|
@@ -942,6 +1089,15 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
942
1089
|
* @memberof ProductAccountMappingsApi
|
|
943
1090
|
*/
|
|
944
1091
|
putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}, any>>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
1094
|
+
* @summary Update the Premium Item Carrier
|
|
1095
|
+
* @param {ProductAccountMappingsApiPutPremiumItemCarrierRequest} requestParameters Request parameters.
|
|
1096
|
+
* @param {*} [options] Override http request option.
|
|
1097
|
+
* @throws {RequiredError}
|
|
1098
|
+
* @memberof ProductAccountMappingsApi
|
|
1099
|
+
*/
|
|
1100
|
+
putPremiumItemCarrier(requestParameters: ProductAccountMappingsApiPutPremiumItemCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}, any>>;
|
|
945
1101
|
/**
|
|
946
1102
|
* Updates the specified Product 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\"
|
|
947
1103
|
* @summary Update the Product Category Account
|
|
@@ -159,6 +159,69 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
159
159
|
});
|
|
160
160
|
});
|
|
161
161
|
},
|
|
162
|
+
/**
|
|
163
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
164
|
+
* @summary Delete the Premium Item Carrier
|
|
165
|
+
* @param {string} productCode
|
|
166
|
+
* @param {string} productVersionCode
|
|
167
|
+
* @param {string} premiumFormulaCode
|
|
168
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
deletePremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, authorization, options) {
|
|
173
|
+
if (options === void 0) { options = {}; }
|
|
174
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
175
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
176
|
+
var _a;
|
|
177
|
+
return __generator(this, function (_b) {
|
|
178
|
+
switch (_b.label) {
|
|
179
|
+
case 0:
|
|
180
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
181
|
+
(0, common_1.assertParamExists)('deletePremiumItemCarrier', 'productCode', productCode);
|
|
182
|
+
// verify required parameter 'productVersionCode' is not null or undefined
|
|
183
|
+
(0, common_1.assertParamExists)('deletePremiumItemCarrier', 'productVersionCode', productVersionCode);
|
|
184
|
+
// verify required parameter 'premiumFormulaCode' is not null or undefined
|
|
185
|
+
(0, common_1.assertParamExists)('deletePremiumItemCarrier', 'premiumFormulaCode', premiumFormulaCode);
|
|
186
|
+
localVarPath = "/accountingservice/v1/product-account-mappings/products/{productCode}/versions/{productVersionCode}/premium-items/{premiumFormulaCode}/carrier"
|
|
187
|
+
.replace("{".concat("productCode", "}"), encodeURIComponent(String(productCode)))
|
|
188
|
+
.replace("{".concat("productVersionCode", "}"), encodeURIComponent(String(productVersionCode)))
|
|
189
|
+
.replace("{".concat("premiumFormulaCode", "}"), encodeURIComponent(String(premiumFormulaCode)));
|
|
190
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
191
|
+
if (configuration) {
|
|
192
|
+
baseOptions = configuration.baseOptions;
|
|
193
|
+
baseAccessToken = configuration.accessToken;
|
|
194
|
+
}
|
|
195
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
196
|
+
localVarHeaderParameter = {};
|
|
197
|
+
localVarQueryParameter = {};
|
|
198
|
+
// authentication bearer required
|
|
199
|
+
// http bearer authentication required
|
|
200
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
201
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
202
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
203
|
+
];
|
|
204
|
+
case 1:
|
|
205
|
+
// authentication bearer required
|
|
206
|
+
// http bearer authentication required
|
|
207
|
+
_b.sent();
|
|
208
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
209
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
210
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
211
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
212
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
213
|
+
}
|
|
214
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
215
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
216
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
217
|
+
return [2 /*return*/, {
|
|
218
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
219
|
+
options: localVarRequestOptions,
|
|
220
|
+
}];
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
},
|
|
162
225
|
/**
|
|
163
226
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
164
227
|
* @summary Delete the Product Category Account
|
|
@@ -674,6 +737,74 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
674
737
|
});
|
|
675
738
|
});
|
|
676
739
|
},
|
|
740
|
+
/**
|
|
741
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
742
|
+
* @summary Update the Premium Item Carrier
|
|
743
|
+
* @param {string} productCode
|
|
744
|
+
* @param {string} productVersionCode
|
|
745
|
+
* @param {string} premiumFormulaCode
|
|
746
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
747
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
748
|
+
* @param {*} [options] Override http request option.
|
|
749
|
+
* @throws {RequiredError}
|
|
750
|
+
*/
|
|
751
|
+
putPremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options) {
|
|
752
|
+
if (options === void 0) { options = {}; }
|
|
753
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
754
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
755
|
+
var _a;
|
|
756
|
+
return __generator(this, function (_b) {
|
|
757
|
+
switch (_b.label) {
|
|
758
|
+
case 0:
|
|
759
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
760
|
+
(0, common_1.assertParamExists)('putPremiumItemCarrier', 'productCode', productCode);
|
|
761
|
+
// verify required parameter 'productVersionCode' is not null or undefined
|
|
762
|
+
(0, common_1.assertParamExists)('putPremiumItemCarrier', 'productVersionCode', productVersionCode);
|
|
763
|
+
// verify required parameter 'premiumFormulaCode' is not null or undefined
|
|
764
|
+
(0, common_1.assertParamExists)('putPremiumItemCarrier', 'premiumFormulaCode', premiumFormulaCode);
|
|
765
|
+
// verify required parameter 'putPremiumItemCarrierBodyDto' is not null or undefined
|
|
766
|
+
(0, common_1.assertParamExists)('putPremiumItemCarrier', 'putPremiumItemCarrierBodyDto', putPremiumItemCarrierBodyDto);
|
|
767
|
+
localVarPath = "/accountingservice/v1/product-account-mappings/products/{productCode}/versions/{productVersionCode}/premium-items/{premiumFormulaCode}/carrier"
|
|
768
|
+
.replace("{".concat("productCode", "}"), encodeURIComponent(String(productCode)))
|
|
769
|
+
.replace("{".concat("productVersionCode", "}"), encodeURIComponent(String(productVersionCode)))
|
|
770
|
+
.replace("{".concat("premiumFormulaCode", "}"), encodeURIComponent(String(premiumFormulaCode)));
|
|
771
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
772
|
+
if (configuration) {
|
|
773
|
+
baseOptions = configuration.baseOptions;
|
|
774
|
+
baseAccessToken = configuration.accessToken;
|
|
775
|
+
}
|
|
776
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
777
|
+
localVarHeaderParameter = {};
|
|
778
|
+
localVarQueryParameter = {};
|
|
779
|
+
// authentication bearer required
|
|
780
|
+
// http bearer authentication required
|
|
781
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
782
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
783
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
784
|
+
];
|
|
785
|
+
case 1:
|
|
786
|
+
// authentication bearer required
|
|
787
|
+
// http bearer authentication required
|
|
788
|
+
_b.sent();
|
|
789
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
790
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
791
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
792
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
793
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
794
|
+
}
|
|
795
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
796
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
797
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
798
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
799
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(putPremiumItemCarrierBodyDto, localVarRequestOptions, configuration);
|
|
800
|
+
return [2 /*return*/, {
|
|
801
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
802
|
+
options: localVarRequestOptions,
|
|
803
|
+
}];
|
|
804
|
+
}
|
|
805
|
+
});
|
|
806
|
+
});
|
|
807
|
+
},
|
|
677
808
|
/**
|
|
678
809
|
* Updates the specified Product 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\"
|
|
679
810
|
* @summary Update the Product Category Account
|
|
@@ -900,6 +1031,29 @@ var ProductAccountMappingsApiFp = function (configuration) {
|
|
|
900
1031
|
});
|
|
901
1032
|
});
|
|
902
1033
|
},
|
|
1034
|
+
/**
|
|
1035
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
1036
|
+
* @summary Delete the Premium Item Carrier
|
|
1037
|
+
* @param {string} productCode
|
|
1038
|
+
* @param {string} productVersionCode
|
|
1039
|
+
* @param {string} premiumFormulaCode
|
|
1040
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1041
|
+
* @param {*} [options] Override http request option.
|
|
1042
|
+
* @throws {RequiredError}
|
|
1043
|
+
*/
|
|
1044
|
+
deletePremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, authorization, options) {
|
|
1045
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1046
|
+
var localVarAxiosArgs;
|
|
1047
|
+
return __generator(this, function (_a) {
|
|
1048
|
+
switch (_a.label) {
|
|
1049
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deletePremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, authorization, options)];
|
|
1050
|
+
case 1:
|
|
1051
|
+
localVarAxiosArgs = _a.sent();
|
|
1052
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1053
|
+
}
|
|
1054
|
+
});
|
|
1055
|
+
});
|
|
1056
|
+
},
|
|
903
1057
|
/**
|
|
904
1058
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
905
1059
|
* @summary Delete the Product Category Account
|
|
@@ -1088,6 +1242,30 @@ var ProductAccountMappingsApiFp = function (configuration) {
|
|
|
1088
1242
|
});
|
|
1089
1243
|
});
|
|
1090
1244
|
},
|
|
1245
|
+
/**
|
|
1246
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
1247
|
+
* @summary Update the Premium Item Carrier
|
|
1248
|
+
* @param {string} productCode
|
|
1249
|
+
* @param {string} productVersionCode
|
|
1250
|
+
* @param {string} premiumFormulaCode
|
|
1251
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
1252
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1253
|
+
* @param {*} [options] Override http request option.
|
|
1254
|
+
* @throws {RequiredError}
|
|
1255
|
+
*/
|
|
1256
|
+
putPremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options) {
|
|
1257
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1258
|
+
var localVarAxiosArgs;
|
|
1259
|
+
return __generator(this, function (_a) {
|
|
1260
|
+
switch (_a.label) {
|
|
1261
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putPremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options)];
|
|
1262
|
+
case 1:
|
|
1263
|
+
localVarAxiosArgs = _a.sent();
|
|
1264
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1265
|
+
}
|
|
1266
|
+
});
|
|
1267
|
+
});
|
|
1268
|
+
},
|
|
1091
1269
|
/**
|
|
1092
1270
|
* Updates the specified Product 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\"
|
|
1093
1271
|
* @summary Update the Product Category Account
|
|
@@ -1181,6 +1359,19 @@ var ProductAccountMappingsApiFactory = function (configuration, basePath, axios)
|
|
|
1181
1359
|
deletePremiumItemAccount: function (productCode, productVersionCode, premiumFormulaCode, category, authorization, options) {
|
|
1182
1360
|
return localVarFp.deletePremiumItemAccount(productCode, productVersionCode, premiumFormulaCode, category, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1183
1361
|
},
|
|
1362
|
+
/**
|
|
1363
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
1364
|
+
* @summary Delete the Premium Item Carrier
|
|
1365
|
+
* @param {string} productCode
|
|
1366
|
+
* @param {string} productVersionCode
|
|
1367
|
+
* @param {string} premiumFormulaCode
|
|
1368
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1369
|
+
* @param {*} [options] Override http request option.
|
|
1370
|
+
* @throws {RequiredError}
|
|
1371
|
+
*/
|
|
1372
|
+
deletePremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, authorization, options) {
|
|
1373
|
+
return localVarFp.deletePremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1374
|
+
},
|
|
1184
1375
|
/**
|
|
1185
1376
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
1186
1377
|
* @summary Delete the Product Category Account
|
|
@@ -1289,6 +1480,20 @@ var ProductAccountMappingsApiFactory = function (configuration, basePath, axios)
|
|
|
1289
1480
|
putPremiumItemAccount: function (productCode, productVersionCode, premiumFormulaCode, category, putPremiumItemAccountBodyDto, authorization, options) {
|
|
1290
1481
|
return localVarFp.putPremiumItemAccount(productCode, productVersionCode, premiumFormulaCode, category, putPremiumItemAccountBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1291
1482
|
},
|
|
1483
|
+
/**
|
|
1484
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
1485
|
+
* @summary Update the Premium Item Carrier
|
|
1486
|
+
* @param {string} productCode
|
|
1487
|
+
* @param {string} productVersionCode
|
|
1488
|
+
* @param {string} premiumFormulaCode
|
|
1489
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
1490
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1491
|
+
* @param {*} [options] Override http request option.
|
|
1492
|
+
* @throws {RequiredError}
|
|
1493
|
+
*/
|
|
1494
|
+
putPremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options) {
|
|
1495
|
+
return localVarFp.putPremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1496
|
+
},
|
|
1292
1497
|
/**
|
|
1293
1498
|
* Updates the specified Product 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\"
|
|
1294
1499
|
* @summary Update the Product Category Account
|
|
@@ -1354,6 +1559,18 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1354
1559
|
var _this = this;
|
|
1355
1560
|
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deletePremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1356
1561
|
};
|
|
1562
|
+
/**
|
|
1563
|
+
* Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
1564
|
+
* @summary Delete the Premium Item Carrier
|
|
1565
|
+
* @param {ProductAccountMappingsApiDeletePremiumItemCarrierRequest} requestParameters Request parameters.
|
|
1566
|
+
* @param {*} [options] Override http request option.
|
|
1567
|
+
* @throws {RequiredError}
|
|
1568
|
+
* @memberof ProductAccountMappingsApi
|
|
1569
|
+
*/
|
|
1570
|
+
ProductAccountMappingsApi.prototype.deletePremiumItemCarrier = function (requestParameters, options) {
|
|
1571
|
+
var _this = this;
|
|
1572
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deletePremiumItemCarrier(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1573
|
+
};
|
|
1357
1574
|
/**
|
|
1358
1575
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
1359
1576
|
* @summary Delete the Product Category Account
|
|
@@ -1452,6 +1669,18 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1452
1669
|
var _this = this;
|
|
1453
1670
|
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putPremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.putPremiumItemAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1454
1671
|
};
|
|
1672
|
+
/**
|
|
1673
|
+
* Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
1674
|
+
* @summary Update the Premium Item Carrier
|
|
1675
|
+
* @param {ProductAccountMappingsApiPutPremiumItemCarrierRequest} requestParameters Request parameters.
|
|
1676
|
+
* @param {*} [options] Override http request option.
|
|
1677
|
+
* @throws {RequiredError}
|
|
1678
|
+
* @memberof ProductAccountMappingsApi
|
|
1679
|
+
*/
|
|
1680
|
+
ProductAccountMappingsApi.prototype.putPremiumItemCarrier = function (requestParameters, options) {
|
|
1681
|
+
var _this = this;
|
|
1682
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putPremiumItemCarrier(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.putPremiumItemCarrierBodyDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1683
|
+
};
|
|
1455
1684
|
/**
|
|
1456
1685
|
* Updates the specified Product 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\"
|
|
1457
1686
|
* @summary Update the Product Category Account
|
package/dist/models/index.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ export * from './product-version-account-mapping-detail-class';
|
|
|
62
62
|
export * from './product-version-with-account-mappings-class';
|
|
63
63
|
export * from './product-with-account-mappings-class';
|
|
64
64
|
export * from './put-premium-item-account-body-dto';
|
|
65
|
+
export * from './put-premium-item-carrier-body-dto';
|
|
65
66
|
export * from './put-product-category-account-body-dto';
|
|
66
67
|
export * from './put-product-risk-carrier-body-dto';
|
|
67
68
|
export * from './put-product-version-category-account-body-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -78,6 +78,7 @@ __exportStar(require("./product-version-account-mapping-detail-class"), exports)
|
|
|
78
78
|
__exportStar(require("./product-version-with-account-mappings-class"), exports);
|
|
79
79
|
__exportStar(require("./product-with-account-mappings-class"), exports);
|
|
80
80
|
__exportStar(require("./put-premium-item-account-body-dto"), exports);
|
|
81
|
+
__exportStar(require("./put-premium-item-carrier-body-dto"), exports);
|
|
81
82
|
__exportStar(require("./put-product-category-account-body-dto"), exports);
|
|
82
83
|
__exportStar(require("./put-product-risk-carrier-body-dto"), exports);
|
|
83
84
|
__exportStar(require("./put-product-version-category-account-body-dto"), exports);
|
|
@@ -34,4 +34,16 @@ export interface PremiumItemAccountMappingClass {
|
|
|
34
34
|
* @memberof PremiumItemAccountMappingClass
|
|
35
35
|
*/
|
|
36
36
|
'accountMappings': Array<ResolvedAccountMappingClass>;
|
|
37
|
+
/**
|
|
38
|
+
* Set when the item is mapped to a risk carrier instead of accounts: its amount is owed to that partner and is not the tenant’s revenue. accountMappings is empty then. The code only, never a name.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PremiumItemAccountMappingClass
|
|
41
|
+
*/
|
|
42
|
+
'carrierPartnerCode'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The number of the carrier’s personal account, once it exists. The first booking that moves money to the carrier creates it.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PremiumItemAccountMappingClass
|
|
47
|
+
*/
|
|
48
|
+
'carrierPersonalAccountNumber'?: string;
|
|
37
49
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PutPremiumItemCarrierBodyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PutPremiumItemCarrierBodyDto {
|
|
18
|
+
/**
|
|
19
|
+
* The risk carrier whose share this premium item is. The partner must hold the subtype RISK_CARRIER. Saving it replaces the item’s account mappings; delete the carrier to book the item as revenue again.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PutPremiumItemCarrierBodyDto
|
|
22
|
+
*/
|
|
23
|
+
'partnerCode': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/models/index.ts
CHANGED
|
@@ -62,6 +62,7 @@ export * from './product-version-account-mapping-detail-class';
|
|
|
62
62
|
export * from './product-version-with-account-mappings-class';
|
|
63
63
|
export * from './product-with-account-mappings-class';
|
|
64
64
|
export * from './put-premium-item-account-body-dto';
|
|
65
|
+
export * from './put-premium-item-carrier-body-dto';
|
|
65
66
|
export * from './put-product-category-account-body-dto';
|
|
66
67
|
export * from './put-product-risk-carrier-body-dto';
|
|
67
68
|
export * from './put-product-version-category-account-body-dto';
|
|
@@ -39,5 +39,17 @@ export interface PremiumItemAccountMappingClass {
|
|
|
39
39
|
* @memberof PremiumItemAccountMappingClass
|
|
40
40
|
*/
|
|
41
41
|
'accountMappings': Array<ResolvedAccountMappingClass>;
|
|
42
|
+
/**
|
|
43
|
+
* Set when the item is mapped to a risk carrier instead of accounts: its amount is owed to that partner and is not the tenant’s revenue. accountMappings is empty then. The code only, never a name.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PremiumItemAccountMappingClass
|
|
46
|
+
*/
|
|
47
|
+
'carrierPartnerCode'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The number of the carrier’s personal account, once it exists. The first booking that moves money to the carrier creates it.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PremiumItemAccountMappingClass
|
|
52
|
+
*/
|
|
53
|
+
'carrierPersonalAccountNumber'?: string;
|
|
42
54
|
}
|
|
43
55
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PutPremiumItemCarrierBodyDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PutPremiumItemCarrierBodyDto {
|
|
23
|
+
/**
|
|
24
|
+
* The risk carrier whose share this premium item is. The partner must hold the subtype RISK_CARRIER. Saving it replaces the item’s account mappings; delete the carrier to book the item as revenue again.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PutPremiumItemCarrierBodyDto
|
|
27
|
+
*/
|
|
28
|
+
'partnerCode': string;
|
|
29
|
+
}
|
|
30
|
+
|