@emilgroup/accounting-sdk 1.34.1-beta.113 → 1.34.1-beta.115
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 +271 -0
- package/dist/api/product-account-mappings-api.d.ts +156 -0
- package/dist/api/product-account-mappings-api.js +215 -0
- package/dist/models/account-mapping-class.d.ts +3 -2
- package/dist/models/account-mapping-class.js +4 -3
- package/dist/models/accounting-category-class.d.ts +12 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +3 -2
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +4 -3
- package/dist/models/create-financial-account-request-dto.d.ts +3 -2
- package/dist/models/create-financial-account-request-dto.js +4 -3
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/premium-item-account-mapping-class.d.ts +12 -0
- package/dist/models/put-premium-item-carrier-body-dto.d.ts +24 -0
- package/dist/models/put-premium-item-carrier-body-dto.js +15 -0
- package/models/account-mapping-class.ts +4 -3
- package/models/accounting-category-class.ts +12 -0
- package/models/accounting-config-data-dto-default-account-mappings.ts +4 -3
- package/models/create-financial-account-request-dto.ts +4 -3
- package/models/index.ts +1 -0
- package/models/premium-item-account-mapping-class.ts +12 -0
- package/models/put-premium-item-carrier-body-dto.ts +30 -0
- package/package.json +1 -1
|
@@ -152,6 +152,62 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
},
|
|
155
|
+
/**
|
|
156
|
+
* 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\"
|
|
157
|
+
* @summary Delete the Premium Item Carrier
|
|
158
|
+
* @param {string} productCode
|
|
159
|
+
* @param {string} productVersionCode
|
|
160
|
+
* @param {string} premiumFormulaCode
|
|
161
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
deletePremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, authorization, options) {
|
|
166
|
+
if (options === void 0) { options = {}; }
|
|
167
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
168
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
169
|
+
return __generator(this, function (_a) {
|
|
170
|
+
switch (_a.label) {
|
|
171
|
+
case 0:
|
|
172
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
173
|
+
(0, common_1.assertParamExists)('deletePremiumItemCarrier', 'productCode', productCode);
|
|
174
|
+
// verify required parameter 'productVersionCode' is not null or undefined
|
|
175
|
+
(0, common_1.assertParamExists)('deletePremiumItemCarrier', 'productVersionCode', productVersionCode);
|
|
176
|
+
// verify required parameter 'premiumFormulaCode' is not null or undefined
|
|
177
|
+
(0, common_1.assertParamExists)('deletePremiumItemCarrier', 'premiumFormulaCode', premiumFormulaCode);
|
|
178
|
+
localVarPath = "/accountingservice/v1/product-account-mappings/products/{productCode}/versions/{productVersionCode}/premium-items/{premiumFormulaCode}/carrier"
|
|
179
|
+
.replace("{".concat("productCode", "}"), encodeURIComponent(String(productCode)))
|
|
180
|
+
.replace("{".concat("productVersionCode", "}"), encodeURIComponent(String(productVersionCode)))
|
|
181
|
+
.replace("{".concat("premiumFormulaCode", "}"), encodeURIComponent(String(premiumFormulaCode)));
|
|
182
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
183
|
+
if (configuration) {
|
|
184
|
+
baseOptions = configuration.baseOptions;
|
|
185
|
+
baseAccessToken = configuration.accessToken;
|
|
186
|
+
}
|
|
187
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
188
|
+
localVarHeaderParameter = {};
|
|
189
|
+
localVarQueryParameter = {};
|
|
190
|
+
// authentication bearer required
|
|
191
|
+
// http bearer authentication required
|
|
192
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
193
|
+
case 1:
|
|
194
|
+
// authentication bearer required
|
|
195
|
+
// http bearer authentication required
|
|
196
|
+
_a.sent();
|
|
197
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
198
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
199
|
+
}
|
|
200
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
201
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
202
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
203
|
+
return [2 /*return*/, {
|
|
204
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
205
|
+
options: localVarRequestOptions,
|
|
206
|
+
}];
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
});
|
|
210
|
+
},
|
|
155
211
|
/**
|
|
156
212
|
* 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\"
|
|
157
213
|
* @summary Delete the Product Category Account
|
|
@@ -617,6 +673,67 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
617
673
|
});
|
|
618
674
|
});
|
|
619
675
|
},
|
|
676
|
+
/**
|
|
677
|
+
* 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\"
|
|
678
|
+
* @summary Update the Premium Item Carrier
|
|
679
|
+
* @param {string} productCode
|
|
680
|
+
* @param {string} productVersionCode
|
|
681
|
+
* @param {string} premiumFormulaCode
|
|
682
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
683
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
684
|
+
* @param {*} [options] Override http request option.
|
|
685
|
+
* @throws {RequiredError}
|
|
686
|
+
*/
|
|
687
|
+
putPremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options) {
|
|
688
|
+
if (options === void 0) { options = {}; }
|
|
689
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
690
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
691
|
+
return __generator(this, function (_a) {
|
|
692
|
+
switch (_a.label) {
|
|
693
|
+
case 0:
|
|
694
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
695
|
+
(0, common_1.assertParamExists)('putPremiumItemCarrier', 'productCode', productCode);
|
|
696
|
+
// verify required parameter 'productVersionCode' is not null or undefined
|
|
697
|
+
(0, common_1.assertParamExists)('putPremiumItemCarrier', 'productVersionCode', productVersionCode);
|
|
698
|
+
// verify required parameter 'premiumFormulaCode' is not null or undefined
|
|
699
|
+
(0, common_1.assertParamExists)('putPremiumItemCarrier', 'premiumFormulaCode', premiumFormulaCode);
|
|
700
|
+
// verify required parameter 'putPremiumItemCarrierBodyDto' is not null or undefined
|
|
701
|
+
(0, common_1.assertParamExists)('putPremiumItemCarrier', 'putPremiumItemCarrierBodyDto', putPremiumItemCarrierBodyDto);
|
|
702
|
+
localVarPath = "/accountingservice/v1/product-account-mappings/products/{productCode}/versions/{productVersionCode}/premium-items/{premiumFormulaCode}/carrier"
|
|
703
|
+
.replace("{".concat("productCode", "}"), encodeURIComponent(String(productCode)))
|
|
704
|
+
.replace("{".concat("productVersionCode", "}"), encodeURIComponent(String(productVersionCode)))
|
|
705
|
+
.replace("{".concat("premiumFormulaCode", "}"), encodeURIComponent(String(premiumFormulaCode)));
|
|
706
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
707
|
+
if (configuration) {
|
|
708
|
+
baseOptions = configuration.baseOptions;
|
|
709
|
+
baseAccessToken = configuration.accessToken;
|
|
710
|
+
}
|
|
711
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
712
|
+
localVarHeaderParameter = {};
|
|
713
|
+
localVarQueryParameter = {};
|
|
714
|
+
// authentication bearer required
|
|
715
|
+
// http bearer authentication required
|
|
716
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
717
|
+
case 1:
|
|
718
|
+
// authentication bearer required
|
|
719
|
+
// http bearer authentication required
|
|
720
|
+
_a.sent();
|
|
721
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
722
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
723
|
+
}
|
|
724
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
725
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
726
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
727
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
728
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(putPremiumItemCarrierBodyDto, localVarRequestOptions, configuration);
|
|
729
|
+
return [2 /*return*/, {
|
|
730
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
731
|
+
options: localVarRequestOptions,
|
|
732
|
+
}];
|
|
733
|
+
}
|
|
734
|
+
});
|
|
735
|
+
});
|
|
736
|
+
},
|
|
620
737
|
/**
|
|
621
738
|
* 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\"
|
|
622
739
|
* @summary Update the Product Category Account
|
|
@@ -822,6 +939,29 @@ var ProductAccountMappingsApiFp = function (configuration) {
|
|
|
822
939
|
});
|
|
823
940
|
});
|
|
824
941
|
},
|
|
942
|
+
/**
|
|
943
|
+
* 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\"
|
|
944
|
+
* @summary Delete the Premium Item Carrier
|
|
945
|
+
* @param {string} productCode
|
|
946
|
+
* @param {string} productVersionCode
|
|
947
|
+
* @param {string} premiumFormulaCode
|
|
948
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
949
|
+
* @param {*} [options] Override http request option.
|
|
950
|
+
* @throws {RequiredError}
|
|
951
|
+
*/
|
|
952
|
+
deletePremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, authorization, options) {
|
|
953
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
954
|
+
var localVarAxiosArgs;
|
|
955
|
+
return __generator(this, function (_a) {
|
|
956
|
+
switch (_a.label) {
|
|
957
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deletePremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, authorization, options)];
|
|
958
|
+
case 1:
|
|
959
|
+
localVarAxiosArgs = _a.sent();
|
|
960
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
961
|
+
}
|
|
962
|
+
});
|
|
963
|
+
});
|
|
964
|
+
},
|
|
825
965
|
/**
|
|
826
966
|
* 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\"
|
|
827
967
|
* @summary Delete the Product Category Account
|
|
@@ -1010,6 +1150,30 @@ var ProductAccountMappingsApiFp = function (configuration) {
|
|
|
1010
1150
|
});
|
|
1011
1151
|
});
|
|
1012
1152
|
},
|
|
1153
|
+
/**
|
|
1154
|
+
* 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\"
|
|
1155
|
+
* @summary Update the Premium Item Carrier
|
|
1156
|
+
* @param {string} productCode
|
|
1157
|
+
* @param {string} productVersionCode
|
|
1158
|
+
* @param {string} premiumFormulaCode
|
|
1159
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
1160
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1161
|
+
* @param {*} [options] Override http request option.
|
|
1162
|
+
* @throws {RequiredError}
|
|
1163
|
+
*/
|
|
1164
|
+
putPremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options) {
|
|
1165
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1166
|
+
var localVarAxiosArgs;
|
|
1167
|
+
return __generator(this, function (_a) {
|
|
1168
|
+
switch (_a.label) {
|
|
1169
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putPremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options)];
|
|
1170
|
+
case 1:
|
|
1171
|
+
localVarAxiosArgs = _a.sent();
|
|
1172
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1173
|
+
}
|
|
1174
|
+
});
|
|
1175
|
+
});
|
|
1176
|
+
},
|
|
1013
1177
|
/**
|
|
1014
1178
|
* 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\"
|
|
1015
1179
|
* @summary Update the Product Category Account
|
|
@@ -1103,6 +1267,19 @@ var ProductAccountMappingsApiFactory = function (configuration, basePath, axios)
|
|
|
1103
1267
|
deletePremiumItemAccount: function (productCode, productVersionCode, premiumFormulaCode, category, authorization, options) {
|
|
1104
1268
|
return localVarFp.deletePremiumItemAccount(productCode, productVersionCode, premiumFormulaCode, category, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1105
1269
|
},
|
|
1270
|
+
/**
|
|
1271
|
+
* 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\"
|
|
1272
|
+
* @summary Delete the Premium Item Carrier
|
|
1273
|
+
* @param {string} productCode
|
|
1274
|
+
* @param {string} productVersionCode
|
|
1275
|
+
* @param {string} premiumFormulaCode
|
|
1276
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1277
|
+
* @param {*} [options] Override http request option.
|
|
1278
|
+
* @throws {RequiredError}
|
|
1279
|
+
*/
|
|
1280
|
+
deletePremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, authorization, options) {
|
|
1281
|
+
return localVarFp.deletePremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1282
|
+
},
|
|
1106
1283
|
/**
|
|
1107
1284
|
* 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\"
|
|
1108
1285
|
* @summary Delete the Product Category Account
|
|
@@ -1211,6 +1388,20 @@ var ProductAccountMappingsApiFactory = function (configuration, basePath, axios)
|
|
|
1211
1388
|
putPremiumItemAccount: function (productCode, productVersionCode, premiumFormulaCode, category, putPremiumItemAccountBodyDto, authorization, options) {
|
|
1212
1389
|
return localVarFp.putPremiumItemAccount(productCode, productVersionCode, premiumFormulaCode, category, putPremiumItemAccountBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1213
1390
|
},
|
|
1391
|
+
/**
|
|
1392
|
+
* 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\"
|
|
1393
|
+
* @summary Update the Premium Item Carrier
|
|
1394
|
+
* @param {string} productCode
|
|
1395
|
+
* @param {string} productVersionCode
|
|
1396
|
+
* @param {string} premiumFormulaCode
|
|
1397
|
+
* @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
|
|
1398
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1399
|
+
* @param {*} [options] Override http request option.
|
|
1400
|
+
* @throws {RequiredError}
|
|
1401
|
+
*/
|
|
1402
|
+
putPremiumItemCarrier: function (productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options) {
|
|
1403
|
+
return localVarFp.putPremiumItemCarrier(productCode, productVersionCode, premiumFormulaCode, putPremiumItemCarrierBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1404
|
+
},
|
|
1214
1405
|
/**
|
|
1215
1406
|
* 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\"
|
|
1216
1407
|
* @summary Update the Product Category Account
|
|
@@ -1276,6 +1467,18 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1276
1467
|
var _this = this;
|
|
1277
1468
|
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deletePremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1278
1469
|
};
|
|
1470
|
+
/**
|
|
1471
|
+
* 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\"
|
|
1472
|
+
* @summary Delete the Premium Item Carrier
|
|
1473
|
+
* @param {ProductAccountMappingsApiDeletePremiumItemCarrierRequest} requestParameters Request parameters.
|
|
1474
|
+
* @param {*} [options] Override http request option.
|
|
1475
|
+
* @throws {RequiredError}
|
|
1476
|
+
* @memberof ProductAccountMappingsApi
|
|
1477
|
+
*/
|
|
1478
|
+
ProductAccountMappingsApi.prototype.deletePremiumItemCarrier = function (requestParameters, options) {
|
|
1479
|
+
var _this = this;
|
|
1480
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deletePremiumItemCarrier(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1481
|
+
};
|
|
1279
1482
|
/**
|
|
1280
1483
|
* 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\"
|
|
1281
1484
|
* @summary Delete the Product Category Account
|
|
@@ -1374,6 +1577,18 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1374
1577
|
var _this = this;
|
|
1375
1578
|
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putPremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.putPremiumItemAccountBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1376
1579
|
};
|
|
1580
|
+
/**
|
|
1581
|
+
* 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\"
|
|
1582
|
+
* @summary Update the Premium Item Carrier
|
|
1583
|
+
* @param {ProductAccountMappingsApiPutPremiumItemCarrierRequest} requestParameters Request parameters.
|
|
1584
|
+
* @param {*} [options] Override http request option.
|
|
1585
|
+
* @throws {RequiredError}
|
|
1586
|
+
* @memberof ProductAccountMappingsApi
|
|
1587
|
+
*/
|
|
1588
|
+
ProductAccountMappingsApi.prototype.putPremiumItemCarrier = function (requestParameters, options) {
|
|
1589
|
+
var _this = this;
|
|
1590
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putPremiumItemCarrier(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.putPremiumItemCarrierBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1591
|
+
};
|
|
1377
1592
|
/**
|
|
1378
1593
|
* 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\"
|
|
1379
1594
|
* @summary Update the Product Category Account
|
|
@@ -58,16 +58,17 @@ export declare const AccountMappingClassFunctionalCategoryEnum: {
|
|
|
58
58
|
readonly ClaimExpenseAcc: "claim_expense_acc";
|
|
59
59
|
readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
|
|
60
60
|
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
61
|
-
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
62
61
|
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
63
62
|
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
64
63
|
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
65
|
-
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
66
64
|
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
67
65
|
readonly BrokerCtrlAcc: "broker_ctrl_acc";
|
|
68
66
|
readonly CarrierCtrlAcc: "carrier_ctrl_acc";
|
|
69
67
|
readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
|
|
70
68
|
readonly ClaimsPayableAcc: "claims_payable_acc";
|
|
71
69
|
readonly CarrierReceivableAcc: "carrier_receivable_acc";
|
|
70
|
+
readonly BankTransitAcc: "bank_transit_acc";
|
|
71
|
+
readonly CarrierPendingAcc: "carrier_pending_acc";
|
|
72
|
+
readonly CommissionExpenseAcc: "commission_expense_acc";
|
|
72
73
|
};
|
|
73
74
|
export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
|
|
@@ -26,15 +26,16 @@ exports.AccountMappingClassFunctionalCategoryEnum = {
|
|
|
26
26
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
27
27
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
28
28
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
29
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
30
29
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
31
30
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
32
31
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
33
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
34
32
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
35
33
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
36
34
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
37
35
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
38
36
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
39
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
37
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
38
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
39
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
40
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
40
41
|
};
|
|
@@ -33,6 +33,18 @@ export interface AccountingCategoryClass {
|
|
|
33
33
|
* @memberof AccountingCategoryClass
|
|
34
34
|
*/
|
|
35
35
|
'type': AccountingCategoryClassTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* The account number this category is given when the default chart of accounts is provisioned. Categories are returned in ascending order of this number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AccountingCategoryClass
|
|
40
|
+
*/
|
|
41
|
+
'defaultAccountNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* True if an account of this category can carry an opening balance.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof AccountingCategoryClass
|
|
46
|
+
*/
|
|
47
|
+
'canCarryOpeningBalance': boolean;
|
|
36
48
|
}
|
|
37
49
|
export declare const AccountingCategoryClassTypeEnum: {
|
|
38
50
|
readonly Asset: "asset";
|
|
@@ -64,16 +64,17 @@ export declare const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCate
|
|
|
64
64
|
readonly ClaimExpenseAcc: "claim_expense_acc";
|
|
65
65
|
readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
|
|
66
66
|
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
67
|
-
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
68
67
|
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
69
68
|
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
70
69
|
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
71
|
-
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
72
70
|
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
73
71
|
readonly BrokerCtrlAcc: "broker_ctrl_acc";
|
|
74
72
|
readonly CarrierCtrlAcc: "carrier_ctrl_acc";
|
|
75
73
|
readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
|
|
76
74
|
readonly ClaimsPayableAcc: "claims_payable_acc";
|
|
77
75
|
readonly CarrierReceivableAcc: "carrier_receivable_acc";
|
|
76
|
+
readonly BankTransitAcc: "bank_transit_acc";
|
|
77
|
+
readonly CarrierPendingAcc: "carrier_pending_acc";
|
|
78
|
+
readonly CommissionExpenseAcc: "commission_expense_acc";
|
|
78
79
|
};
|
|
79
80
|
export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
|
|
@@ -26,15 +26,16 @@ exports.AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = {
|
|
|
26
26
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
27
27
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
28
28
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
29
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
30
29
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
31
30
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
32
31
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
33
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
34
32
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
35
33
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
36
34
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
37
35
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
38
36
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
39
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
37
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
38
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
39
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
40
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
40
41
|
};
|
|
@@ -111,16 +111,17 @@ export declare const CreateFinancialAccountRequestDtoFunctionalCategoryEnum: {
|
|
|
111
111
|
readonly ClaimExpenseAcc: "claim_expense_acc";
|
|
112
112
|
readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
|
|
113
113
|
readonly WriteOffExpAcc: "write_off_exp_acc";
|
|
114
|
-
readonly RoundingDiffAcc: "rounding_diff_acc";
|
|
115
114
|
readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
|
|
116
115
|
readonly FeeRevenueAcc: "fee_revenue_acc";
|
|
117
116
|
readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
|
|
118
|
-
readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
|
|
119
117
|
readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
|
|
120
118
|
readonly BrokerCtrlAcc: "broker_ctrl_acc";
|
|
121
119
|
readonly CarrierCtrlAcc: "carrier_ctrl_acc";
|
|
122
120
|
readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
|
|
123
121
|
readonly ClaimsPayableAcc: "claims_payable_acc";
|
|
124
122
|
readonly CarrierReceivableAcc: "carrier_receivable_acc";
|
|
123
|
+
readonly BankTransitAcc: "bank_transit_acc";
|
|
124
|
+
readonly CarrierPendingAcc: "carrier_pending_acc";
|
|
125
|
+
readonly CommissionExpenseAcc: "commission_expense_acc";
|
|
125
126
|
};
|
|
126
127
|
export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
|
|
@@ -34,15 +34,16 @@ exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
|
|
|
34
34
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
35
35
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
36
36
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
37
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
38
37
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
39
38
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
40
39
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
41
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
42
40
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
43
41
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
44
42
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
45
43
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
46
44
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
47
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
45
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
46
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
47
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
48
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
48
49
|
};
|
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 });
|
|
@@ -64,17 +64,18 @@ export const AccountMappingClassFunctionalCategoryEnum = {
|
|
|
64
64
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
65
65
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
66
66
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
67
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
68
67
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
69
68
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
70
69
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
71
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
72
70
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
73
71
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
74
72
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
75
73
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
76
74
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
77
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
75
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
76
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
77
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
78
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
78
79
|
} as const;
|
|
79
80
|
|
|
80
81
|
export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
|
|
@@ -38,6 +38,18 @@ export interface AccountingCategoryClass {
|
|
|
38
38
|
* @memberof AccountingCategoryClass
|
|
39
39
|
*/
|
|
40
40
|
'type': AccountingCategoryClassTypeEnum;
|
|
41
|
+
/**
|
|
42
|
+
* The account number this category is given when the default chart of accounts is provisioned. Categories are returned in ascending order of this number.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof AccountingCategoryClass
|
|
45
|
+
*/
|
|
46
|
+
'defaultAccountNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* True if an account of this category can carry an opening balance.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof AccountingCategoryClass
|
|
51
|
+
*/
|
|
52
|
+
'canCarryOpeningBalance': boolean;
|
|
41
53
|
}
|
|
42
54
|
|
|
43
55
|
export const AccountingCategoryClassTypeEnum = {
|
|
@@ -70,17 +70,18 @@ export const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum
|
|
|
70
70
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
71
71
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
72
72
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
73
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
74
73
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
75
74
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
76
75
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
77
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
78
76
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
79
77
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
80
78
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
81
79
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
82
80
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
83
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
81
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
82
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
83
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
84
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
84
85
|
} as const;
|
|
85
86
|
|
|
86
87
|
export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
|
|
@@ -116,17 +116,18 @@ export const CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
|
|
|
116
116
|
ClaimExpenseAcc: 'claim_expense_acc',
|
|
117
117
|
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
118
118
|
WriteOffExpAcc: 'write_off_exp_acc',
|
|
119
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
120
119
|
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
121
120
|
FeeRevenueAcc: 'fee_revenue_acc',
|
|
122
121
|
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
123
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
124
122
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
125
123
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
126
124
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
127
125
|
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
128
126
|
ClaimsPayableAcc: 'claims_payable_acc',
|
|
129
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
127
|
+
CarrierReceivableAcc: 'carrier_receivable_acc',
|
|
128
|
+
BankTransitAcc: 'bank_transit_acc',
|
|
129
|
+
CarrierPendingAcc: 'carrier_pending_acc',
|
|
130
|
+
CommissionExpenseAcc: 'commission_expense_acc'
|
|
130
131
|
} as const;
|
|
131
132
|
|
|
132
133
|
export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
|
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
|
|