@emilgroup/accounting-sdk-node 1.32.1-beta.84 → 1.32.1-beta.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -2
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +8 -8
- package/api/booking-entries-api.ts +5 -5
- package/api/commission-account-mappings-api.ts +8 -8
- package/api/financial-accounts-api.ts +5 -5
- package/api/financial-transactions-api.ts +2 -2
- package/api/health-api.ts +1 -1
- package/api/number-ranges-api.ts +4 -4
- package/api/personal-accounts-api.ts +4 -4
- package/api/product-account-mappings-api.ts +12 -12
- package/base.ts +4 -0
- package/dist/api/accounting-configs-api.js +8 -8
- package/dist/api/booking-entries-api.js +5 -5
- package/dist/api/commission-account-mappings-api.js +8 -8
- package/dist/api/financial-accounts-api.js +5 -5
- package/dist/api/financial-transactions-api.js +2 -2
- package/dist/api/health-api.js +1 -1
- package/dist/api/number-ranges-api.js +4 -4
- package/dist/api/personal-accounts-api.js +4 -4
- package/dist/api/product-account-mappings-api.js +12 -12
- package/dist/base.d.ts +1 -0
- package/dist/base.js +3 -0
- package/dist/models/accounting-config-data-class.d.ts +3 -4
- package/dist/models/accounting-config-data-dto.d.ts +3 -4
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/models/accounting-config-data-class.ts +3 -4
- package/models/accounting-config-data-dto.ts +3 -4
- package/models/index.ts +0 -2
- package/package.json +1 -1
- package/dist/models/personal-account-range-class.d.ts +0 -42
- package/dist/models/personal-account-range-class.js +0 -21
- package/dist/models/personal-account-range-dto.d.ts +0 -42
- package/dist/models/personal-account-range-dto.js +0 -21
- package/models/personal-account-range-class.ts +0 -51
- package/models/personal-account-range-dto.ts +0 -51
|
@@ -961,7 +961,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
961
961
|
*/
|
|
962
962
|
CommissionAccountMappingsApi.prototype.deleteCommissionAgreementAccount = function (requestParameters, options) {
|
|
963
963
|
var _this = this;
|
|
964
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).deleteCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
964
|
+
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).deleteCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
965
965
|
};
|
|
966
966
|
/**
|
|
967
967
|
* Permanently deletes the Commission Type Account. Supply the unique code that was returned when you created the Commission Type Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -973,7 +973,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
973
973
|
*/
|
|
974
974
|
CommissionAccountMappingsApi.prototype.deleteCommissionTypeAccount = function (requestParameters, options) {
|
|
975
975
|
var _this = this;
|
|
976
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).deleteCommissionTypeAccount(requestParameters.commissionType, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
976
|
+
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).deleteCommissionTypeAccount(requestParameters.commissionType, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
977
977
|
};
|
|
978
978
|
/**
|
|
979
979
|
* Retrieves the details of the Commission Agreement Account Mapping that was previously created. Supply the unique Commission Agreement Account Mapping code that was returned when you created it and Emil Api will return the corresponding Commission Agreement Account Mapping information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -985,7 +985,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
985
985
|
*/
|
|
986
986
|
CommissionAccountMappingsApi.prototype.getCommissionAgreementAccountMapping = function (requestParameters, options) {
|
|
987
987
|
var _this = this;
|
|
988
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).getCommissionAgreementAccountMapping(requestParameters.commissionAgreementCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
988
|
+
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).getCommissionAgreementAccountMapping(requestParameters.commissionAgreementCode, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
989
989
|
};
|
|
990
990
|
/**
|
|
991
991
|
* Paginated list of the actual stored override rows, across both levels (commission type/agreement). Filterable by commissionAgreementCode/commissionType. For browsing the commission-type standards or the agreement catalog, use the more specific endpoints below instead. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -998,7 +998,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
998
998
|
CommissionAccountMappingsApi.prototype.listCommissionAccountMappings = function (requestParameters, options) {
|
|
999
999
|
var _this = this;
|
|
1000
1000
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1001
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).listCommissionAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1001
|
+
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).listCommissionAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1002
1002
|
};
|
|
1003
1003
|
/**
|
|
1004
1004
|
* Paginated commission-agreement catalog (proxied from commissionservice), each item carrying its Agreement Number, Main Partner, and a hasCustomMapping badge. Cheap -- no per-type resolution, badges only. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -1011,7 +1011,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1011
1011
|
CommissionAccountMappingsApi.prototype.listCommissionAgreementsWithAccountMappings = function (requestParameters, options) {
|
|
1012
1012
|
var _this = this;
|
|
1013
1013
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1014
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).listCommissionAgreementsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1014
|
+
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).listCommissionAgreementsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1015
1015
|
};
|
|
1016
1016
|
/**
|
|
1017
1017
|
* Paginated \"Standards per Commission Type\" section -- one entry per commission type that currently has a tenant-wide default. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -1024,7 +1024,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1024
1024
|
CommissionAccountMappingsApi.prototype.listCommissionTypeAccountMappings = function (requestParameters, options) {
|
|
1025
1025
|
var _this = this;
|
|
1026
1026
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1027
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).listCommissionTypeAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1027
|
+
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).listCommissionTypeAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1028
1028
|
};
|
|
1029
1029
|
/**
|
|
1030
1030
|
* Updates the specified Commission Agreement Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
@@ -1036,7 +1036,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1036
1036
|
*/
|
|
1037
1037
|
CommissionAccountMappingsApi.prototype.updateCommissionAgreementAccount = function (requestParameters, options) {
|
|
1038
1038
|
var _this = this;
|
|
1039
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).updateCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.updateCommissionAgreementAccountBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1039
|
+
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).updateCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.updateCommissionAgreementAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1040
1040
|
};
|
|
1041
1041
|
/**
|
|
1042
1042
|
* Updates the specified Commission Type Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
@@ -1048,7 +1048,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1048
1048
|
*/
|
|
1049
1049
|
CommissionAccountMappingsApi.prototype.updateCommissionTypeAccount = function (requestParameters, options) {
|
|
1050
1050
|
var _this = this;
|
|
1051
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).updateCommissionTypeAccount(requestParameters.commissionType, requestParameters.updateCommissionTypeAccountBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1051
|
+
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).updateCommissionTypeAccount(requestParameters.commissionType, requestParameters.updateCommissionTypeAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1052
1052
|
};
|
|
1053
1053
|
return CommissionAccountMappingsApi;
|
|
1054
1054
|
}(base_1.BaseAPI));
|
|
@@ -621,7 +621,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
621
621
|
*/
|
|
622
622
|
FinancialAccountsApi.prototype.createFinancialAccount = function (requestParameters, options) {
|
|
623
623
|
var _this = this;
|
|
624
|
-
return (0, exports.FinancialAccountsApiFp)(this.configuration).createFinancialAccount(requestParameters.createFinancialAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
624
|
+
return (0, exports.FinancialAccountsApiFp)(this.configuration).createFinancialAccount(requestParameters.createFinancialAccountRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
625
625
|
};
|
|
626
626
|
/**
|
|
627
627
|
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -633,7 +633,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
633
633
|
*/
|
|
634
634
|
FinancialAccountsApi.prototype.deleteFinancialAccount = function (requestParameters, options) {
|
|
635
635
|
var _this = this;
|
|
636
|
-
return (0, exports.FinancialAccountsApiFp)(this.configuration).deleteFinancialAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
636
|
+
return (0, exports.FinancialAccountsApiFp)(this.configuration).deleteFinancialAccount(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
637
637
|
};
|
|
638
638
|
/**
|
|
639
639
|
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -645,7 +645,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
645
645
|
*/
|
|
646
646
|
FinancialAccountsApi.prototype.getFinancialAccount = function (requestParameters, options) {
|
|
647
647
|
var _this = this;
|
|
648
|
-
return (0, exports.FinancialAccountsApiFp)(this.configuration).getFinancialAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
648
|
+
return (0, exports.FinancialAccountsApiFp)(this.configuration).getFinancialAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
649
649
|
};
|
|
650
650
|
/**
|
|
651
651
|
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -658,7 +658,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
658
658
|
FinancialAccountsApi.prototype.listFinancialAccounts = function (requestParameters, options) {
|
|
659
659
|
var _this = this;
|
|
660
660
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
661
|
-
return (0, exports.FinancialAccountsApiFp)(this.configuration).listFinancialAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
661
|
+
return (0, exports.FinancialAccountsApiFp)(this.configuration).listFinancialAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
662
662
|
};
|
|
663
663
|
/**
|
|
664
664
|
* Updates name and description (always editable), financialAccountNumber (only while the account is not locked), isDefault (pool-category accounts only; cannot be unset), and linkedBankAccountCode (bank-category accounts only; send an empty string to unlink, omit to leave the link untouched). Linking stays editable once the account is locked, and applies to later postings only. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
@@ -670,7 +670,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
670
670
|
*/
|
|
671
671
|
FinancialAccountsApi.prototype.updateFinancialAccount = function (requestParameters, options) {
|
|
672
672
|
var _this = this;
|
|
673
|
-
return (0, exports.FinancialAccountsApiFp)(this.configuration).updateFinancialAccount(requestParameters.code, requestParameters.updateFinancialAccountBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
673
|
+
return (0, exports.FinancialAccountsApiFp)(this.configuration).updateFinancialAccount(requestParameters.code, requestParameters.updateFinancialAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
674
674
|
};
|
|
675
675
|
return FinancialAccountsApi;
|
|
676
676
|
}(base_1.BaseAPI));
|
|
@@ -352,7 +352,7 @@ var FinancialTransactionsApi = /** @class */ (function (_super) {
|
|
|
352
352
|
*/
|
|
353
353
|
FinancialTransactionsApi.prototype.getFinancialTransaction = function (requestParameters, options) {
|
|
354
354
|
var _this = this;
|
|
355
|
-
return (0, exports.FinancialTransactionsApiFp)(this.configuration).getFinancialTransaction(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
355
|
+
return (0, exports.FinancialTransactionsApiFp)(this.configuration).getFinancialTransaction(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
356
356
|
};
|
|
357
357
|
/**
|
|
358
358
|
* This endpoint list financial transactions. **Required Permissions** \"accounting-management.transactions.view\"
|
|
@@ -365,7 +365,7 @@ var FinancialTransactionsApi = /** @class */ (function (_super) {
|
|
|
365
365
|
FinancialTransactionsApi.prototype.listFinancialTransactions = function (requestParameters, options) {
|
|
366
366
|
var _this = this;
|
|
367
367
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
368
|
-
return (0, exports.FinancialTransactionsApiFp)(this.configuration).listFinancialTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
368
|
+
return (0, exports.FinancialTransactionsApiFp)(this.configuration).listFinancialTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
369
369
|
};
|
|
370
370
|
return FinancialTransactionsApi;
|
|
371
371
|
}(base_1.BaseAPI));
|
package/dist/api/health-api.js
CHANGED
|
@@ -197,7 +197,7 @@ var HealthApi = /** @class */ (function (_super) {
|
|
|
197
197
|
*/
|
|
198
198
|
HealthApi.prototype.check = function (options) {
|
|
199
199
|
var _this = this;
|
|
200
|
-
return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
200
|
+
return (0, exports.HealthApiFp)(this.configuration).check(this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
201
201
|
};
|
|
202
202
|
return HealthApi;
|
|
203
203
|
}(base_1.BaseAPI));
|
|
@@ -527,7 +527,7 @@ var NumberRangesApi = /** @class */ (function (_super) {
|
|
|
527
527
|
*/
|
|
528
528
|
NumberRangesApi.prototype.createNumberRange = function (requestParameters, options) {
|
|
529
529
|
var _this = this;
|
|
530
|
-
return (0, exports.NumberRangesApiFp)(this.configuration).createNumberRange(requestParameters.createNumberRangeRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
530
|
+
return (0, exports.NumberRangesApiFp)(this.configuration).createNumberRange(requestParameters.createNumberRangeRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
531
531
|
};
|
|
532
532
|
/**
|
|
533
533
|
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.transactions.delete\"
|
|
@@ -539,7 +539,7 @@ var NumberRangesApi = /** @class */ (function (_super) {
|
|
|
539
539
|
*/
|
|
540
540
|
NumberRangesApi.prototype.deleteNumberRange = function (requestParameters, options) {
|
|
541
541
|
var _this = this;
|
|
542
|
-
return (0, exports.NumberRangesApiFp)(this.configuration).deleteNumberRange(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
542
|
+
return (0, exports.NumberRangesApiFp)(this.configuration).deleteNumberRange(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
543
543
|
};
|
|
544
544
|
/**
|
|
545
545
|
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.transactions.view\"
|
|
@@ -551,7 +551,7 @@ var NumberRangesApi = /** @class */ (function (_super) {
|
|
|
551
551
|
*/
|
|
552
552
|
NumberRangesApi.prototype.getNumberRange = function (requestParameters, options) {
|
|
553
553
|
var _this = this;
|
|
554
|
-
return (0, exports.NumberRangesApiFp)(this.configuration).getNumberRange(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
554
|
+
return (0, exports.NumberRangesApiFp)(this.configuration).getNumberRange(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
555
555
|
};
|
|
556
556
|
/**
|
|
557
557
|
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.transactions.view\"
|
|
@@ -564,7 +564,7 @@ var NumberRangesApi = /** @class */ (function (_super) {
|
|
|
564
564
|
NumberRangesApi.prototype.listNumberRanges = function (requestParameters, options) {
|
|
565
565
|
var _this = this;
|
|
566
566
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
567
|
-
return (0, exports.NumberRangesApiFp)(this.configuration).listNumberRanges(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
567
|
+
return (0, exports.NumberRangesApiFp)(this.configuration).listNumberRanges(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
568
568
|
};
|
|
569
569
|
return NumberRangesApi;
|
|
570
570
|
}(base_1.BaseAPI));
|
|
@@ -527,7 +527,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
527
527
|
*/
|
|
528
528
|
PersonalAccountsApi.prototype.createPersonalAccount = function (requestParameters, options) {
|
|
529
529
|
var _this = this;
|
|
530
|
-
return (0, exports.PersonalAccountsApiFp)(this.configuration).createPersonalAccount(requestParameters.createPersonalAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
530
|
+
return (0, exports.PersonalAccountsApiFp)(this.configuration).createPersonalAccount(requestParameters.createPersonalAccountRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
531
531
|
};
|
|
532
532
|
/**
|
|
533
533
|
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -539,7 +539,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
539
539
|
*/
|
|
540
540
|
PersonalAccountsApi.prototype.deletePersonalAccount = function (requestParameters, options) {
|
|
541
541
|
var _this = this;
|
|
542
|
-
return (0, exports.PersonalAccountsApiFp)(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
542
|
+
return (0, exports.PersonalAccountsApiFp)(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
543
543
|
};
|
|
544
544
|
/**
|
|
545
545
|
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -551,7 +551,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
551
551
|
*/
|
|
552
552
|
PersonalAccountsApi.prototype.getPersonalAccount = function (requestParameters, options) {
|
|
553
553
|
var _this = this;
|
|
554
|
-
return (0, exports.PersonalAccountsApiFp)(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
554
|
+
return (0, exports.PersonalAccountsApiFp)(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
555
555
|
};
|
|
556
556
|
/**
|
|
557
557
|
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -564,7 +564,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
564
564
|
PersonalAccountsApi.prototype.listPersonalAccounts = function (requestParameters, options) {
|
|
565
565
|
var _this = this;
|
|
566
566
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
567
|
-
return (0, exports.PersonalAccountsApiFp)(this.configuration).listPersonalAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
567
|
+
return (0, exports.PersonalAccountsApiFp)(this.configuration).listPersonalAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
568
568
|
};
|
|
569
569
|
return PersonalAccountsApi;
|
|
570
570
|
}(base_1.BaseAPI));
|
|
@@ -1356,7 +1356,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1356
1356
|
*/
|
|
1357
1357
|
ProductAccountMappingsApi.prototype.deletePremiumItemAccount = function (requestParameters, options) {
|
|
1358
1358
|
var _this = this;
|
|
1359
|
-
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); });
|
|
1359
|
+
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); });
|
|
1360
1360
|
};
|
|
1361
1361
|
/**
|
|
1362
1362
|
* 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\"
|
|
@@ -1368,7 +1368,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1368
1368
|
*/
|
|
1369
1369
|
ProductAccountMappingsApi.prototype.deleteProductCategoryAccount = function (requestParameters, options) {
|
|
1370
1370
|
var _this = this;
|
|
1371
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1371
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1372
1372
|
};
|
|
1373
1373
|
/**
|
|
1374
1374
|
* Permanently deletes the Product Risk Carrier. Supply the unique code that was returned when you created the Product Risk Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -1380,7 +1380,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1380
1380
|
*/
|
|
1381
1381
|
ProductAccountMappingsApi.prototype.deleteProductRiskCarrier = function (requestParameters, options) {
|
|
1382
1382
|
var _this = this;
|
|
1383
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductRiskCarrier(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1383
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductRiskCarrier(requestParameters.productCode, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1384
1384
|
};
|
|
1385
1385
|
/**
|
|
1386
1386
|
* Permanently deletes the Product Version Category Account. Supply the unique code that was returned when you created the Product Version Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -1392,7 +1392,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1392
1392
|
*/
|
|
1393
1393
|
ProductAccountMappingsApi.prototype.deleteProductVersionCategoryAccount = function (requestParameters, options) {
|
|
1394
1394
|
var _this = this;
|
|
1395
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1395
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1396
1396
|
};
|
|
1397
1397
|
/**
|
|
1398
1398
|
* Retrieves the details of the Product Account Mapping that was previously created. Supply the unique Product Account Mapping code that was returned when you created it and Emil Api will return the corresponding Product Account Mapping information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -1404,7 +1404,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1404
1404
|
*/
|
|
1405
1405
|
ProductAccountMappingsApi.prototype.getProductAccountMapping = function (requestParameters, options) {
|
|
1406
1406
|
var _this = this;
|
|
1407
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).getProductAccountMapping(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1407
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).getProductAccountMapping(requestParameters.productCode, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1408
1408
|
};
|
|
1409
1409
|
/**
|
|
1410
1410
|
* Retrieves the details of the Product Version Account Mapping that was previously created. Supply the unique Product Version Account Mapping code that was returned when you created it and Emil Api will return the corresponding Product Version Account Mapping information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -1416,7 +1416,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1416
1416
|
*/
|
|
1417
1417
|
ProductAccountMappingsApi.prototype.getProductVersionAccountMapping = function (requestParameters, options) {
|
|
1418
1418
|
var _this = this;
|
|
1419
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).getProductVersionAccountMapping(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1419
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).getProductVersionAccountMapping(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1420
1420
|
};
|
|
1421
1421
|
/**
|
|
1422
1422
|
* Paginated list of the actual stored override rows, across every level (product/version/premium-item). Filterable by productCode/productVersionCode/premiumFormulaCode/category. For browsing the product catalog with mapping badges, use GET /products instead. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -1429,7 +1429,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1429
1429
|
ProductAccountMappingsApi.prototype.listProductAccountMappings = function (requestParameters, options) {
|
|
1430
1430
|
var _this = this;
|
|
1431
1431
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1432
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).listProductAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1432
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).listProductAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1433
1433
|
};
|
|
1434
1434
|
/**
|
|
1435
1435
|
* Paginated product catalog (proxied from insuranceservice, every version regardless of status), each product carrying its versions and a hasCustomMapping badge at both levels. Cheap -- no resolution, badges only. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -1442,7 +1442,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1442
1442
|
ProductAccountMappingsApi.prototype.listProductsWithAccountMappings = function (requestParameters, options) {
|
|
1443
1443
|
var _this = this;
|
|
1444
1444
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1445
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).listProductsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1445
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).listProductsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1446
1446
|
};
|
|
1447
1447
|
/**
|
|
1448
1448
|
* Updates the specified Premium Item Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
@@ -1454,7 +1454,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1454
1454
|
*/
|
|
1455
1455
|
ProductAccountMappingsApi.prototype.putPremiumItemAccount = function (requestParameters, options) {
|
|
1456
1456
|
var _this = this;
|
|
1457
|
-
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); });
|
|
1457
|
+
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); });
|
|
1458
1458
|
};
|
|
1459
1459
|
/**
|
|
1460
1460
|
* 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\"
|
|
@@ -1466,7 +1466,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1466
1466
|
*/
|
|
1467
1467
|
ProductAccountMappingsApi.prototype.putProductCategoryAccount = function (requestParameters, options) {
|
|
1468
1468
|
var _this = this;
|
|
1469
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.putProductCategoryAccountBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1469
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.putProductCategoryAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1470
1470
|
};
|
|
1471
1471
|
/**
|
|
1472
1472
|
* Updates the specified Product Risk Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
@@ -1478,7 +1478,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1478
1478
|
*/
|
|
1479
1479
|
ProductAccountMappingsApi.prototype.putProductRiskCarrier = function (requestParameters, options) {
|
|
1480
1480
|
var _this = this;
|
|
1481
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductRiskCarrier(requestParameters.productCode, requestParameters.putProductRiskCarrierBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1481
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductRiskCarrier(requestParameters.productCode, requestParameters.putProductRiskCarrierBodyDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1482
1482
|
};
|
|
1483
1483
|
/**
|
|
1484
1484
|
* Updates the specified Product Version Category Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
@@ -1490,7 +1490,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1490
1490
|
*/
|
|
1491
1491
|
ProductAccountMappingsApi.prototype.putProductVersionCategoryAccount = function (requestParameters, options) {
|
|
1492
1492
|
var _this = this;
|
|
1493
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.putProductVersionCategoryAccountBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1493
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.putProductVersionCategoryAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1494
1494
|
};
|
|
1495
1495
|
return ProductAccountMappingsApi;
|
|
1496
1496
|
}(base_1.BaseAPI));
|
package/dist/base.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ export declare class BaseAPI {
|
|
|
63
63
|
protected configuration: Configuration;
|
|
64
64
|
private username?;
|
|
65
65
|
private password?;
|
|
66
|
+
protected withOwner(options?: AxiosRequestConfig): AxiosRequestConfig;
|
|
66
67
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
67
68
|
initialize(env?: Environment, targetWorkspace?: string): Promise<void>;
|
|
68
69
|
private loadCredentials;
|
package/dist/base.js
CHANGED
|
@@ -163,6 +163,9 @@ var BaseAPI = /** @class */ (function () {
|
|
|
163
163
|
}
|
|
164
164
|
this.attachInterceptor(axios);
|
|
165
165
|
}
|
|
166
|
+
BaseAPI.prototype.withOwner = function (options) {
|
|
167
|
+
return __assign({}, options);
|
|
168
|
+
};
|
|
166
169
|
BaseAPI.prototype.initialize = function (env, targetWorkspace) {
|
|
167
170
|
if (env === void 0) { env = Environment.Production; }
|
|
168
171
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { AccountMappingClass } from './account-mapping-class';
|
|
13
13
|
import { AccountingConfigurationClass } from './accounting-configuration-class';
|
|
14
|
-
import { PersonalAccountRangeClass } from './personal-account-range-class';
|
|
15
14
|
/**
|
|
16
15
|
*
|
|
17
16
|
* @export
|
|
@@ -37,9 +36,9 @@ export interface AccountingConfigDataClass {
|
|
|
37
36
|
*/
|
|
38
37
|
'accountingConfiguration'?: AccountingConfigurationClass;
|
|
39
38
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {Array<
|
|
39
|
+
*
|
|
40
|
+
* @type {Array<object>}
|
|
42
41
|
* @memberof AccountingConfigDataClass
|
|
43
42
|
*/
|
|
44
|
-
'personalAccountRanges'
|
|
43
|
+
'personalAccountRanges': Array<object>;
|
|
45
44
|
}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { AccountingConfigDataDtoAccountingConfiguration } from './accounting-config-data-dto-accounting-configuration';
|
|
13
13
|
import { AccountingConfigDataDtoDefaultAccountMappings } from './accounting-config-data-dto-default-account-mappings';
|
|
14
|
-
import { PersonalAccountRangeDto } from './personal-account-range-dto';
|
|
15
14
|
/**
|
|
16
15
|
*
|
|
17
16
|
* @export
|
|
@@ -37,9 +36,9 @@ export interface AccountingConfigDataDto {
|
|
|
37
36
|
*/
|
|
38
37
|
'accountingConfiguration'?: AccountingConfigDataDtoAccountingConfiguration;
|
|
39
38
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {Array<
|
|
39
|
+
*
|
|
40
|
+
* @type {Array<object>}
|
|
42
41
|
* @memberof AccountingConfigDataDto
|
|
43
42
|
*/
|
|
44
|
-
'personalAccountRanges': Array<
|
|
43
|
+
'personalAccountRanges': Array<object>;
|
|
45
44
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -50,8 +50,6 @@ export * from './list-products-with-account-mappings-response-class';
|
|
|
50
50
|
export * from './number-range-class';
|
|
51
51
|
export * from './opening-balance-item-dto';
|
|
52
52
|
export * from './personal-account-class';
|
|
53
|
-
export * from './personal-account-range-class';
|
|
54
|
-
export * from './personal-account-range-dto';
|
|
55
53
|
export * from './post-financial-event-request-dto';
|
|
56
54
|
export * from './post-financial-event-response-class';
|
|
57
55
|
export * from './premium-item-account-mapping-class';
|
package/dist/models/index.js
CHANGED
|
@@ -66,8 +66,6 @@ __exportStar(require("./list-products-with-account-mappings-response-class"), ex
|
|
|
66
66
|
__exportStar(require("./number-range-class"), exports);
|
|
67
67
|
__exportStar(require("./opening-balance-item-dto"), exports);
|
|
68
68
|
__exportStar(require("./personal-account-class"), exports);
|
|
69
|
-
__exportStar(require("./personal-account-range-class"), exports);
|
|
70
|
-
__exportStar(require("./personal-account-range-dto"), exports);
|
|
71
69
|
__exportStar(require("./post-financial-event-request-dto"), exports);
|
|
72
70
|
__exportStar(require("./post-financial-event-response-class"), exports);
|
|
73
71
|
__exportStar(require("./premium-item-account-mapping-class"), exports);
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
import { AccountMappingClass } from './account-mapping-class';
|
|
17
17
|
import { AccountingConfigurationClass } from './accounting-configuration-class';
|
|
18
|
-
import { PersonalAccountRangeClass } from './personal-account-range-class';
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
20
|
*
|
|
@@ -42,10 +41,10 @@ export interface AccountingConfigDataClass {
|
|
|
42
41
|
*/
|
|
43
42
|
'accountingConfiguration'?: AccountingConfigurationClass;
|
|
44
43
|
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {Array<
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<object>}
|
|
47
46
|
* @memberof AccountingConfigDataClass
|
|
48
47
|
*/
|
|
49
|
-
'personalAccountRanges'
|
|
48
|
+
'personalAccountRanges': Array<object>;
|
|
50
49
|
}
|
|
51
50
|
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
import { AccountingConfigDataDtoAccountingConfiguration } from './accounting-config-data-dto-accounting-configuration';
|
|
17
17
|
import { AccountingConfigDataDtoDefaultAccountMappings } from './accounting-config-data-dto-default-account-mappings';
|
|
18
|
-
import { PersonalAccountRangeDto } from './personal-account-range-dto';
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
20
|
*
|
|
@@ -42,10 +41,10 @@ export interface AccountingConfigDataDto {
|
|
|
42
41
|
*/
|
|
43
42
|
'accountingConfiguration'?: AccountingConfigDataDtoAccountingConfiguration;
|
|
44
43
|
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {Array<
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<object>}
|
|
47
46
|
* @memberof AccountingConfigDataDto
|
|
48
47
|
*/
|
|
49
|
-
'personalAccountRanges': Array<
|
|
48
|
+
'personalAccountRanges': Array<object>;
|
|
50
49
|
}
|
|
51
50
|
|
package/models/index.ts
CHANGED
|
@@ -50,8 +50,6 @@ export * from './list-products-with-account-mappings-response-class';
|
|
|
50
50
|
export * from './number-range-class';
|
|
51
51
|
export * from './opening-balance-item-dto';
|
|
52
52
|
export * from './personal-account-class';
|
|
53
|
-
export * from './personal-account-range-class';
|
|
54
|
-
export * from './personal-account-range-dto';
|
|
55
53
|
export * from './post-financial-event-request-dto';
|
|
56
54
|
export * from './post-financial-event-response-class';
|
|
57
55
|
export * from './premium-item-account-mapping-class';
|
package/package.json
CHANGED
|
@@ -1,42 +0,0 @@
|
|
|
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 PersonalAccountRangeClass
|
|
16
|
-
*/
|
|
17
|
-
export interface PersonalAccountRangeClass {
|
|
18
|
-
/**
|
|
19
|
-
* The partner group of the range
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PersonalAccountRangeClass
|
|
22
|
-
*/
|
|
23
|
-
'accountType': PersonalAccountRangeClassAccountTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
* Start of the range; it belongs to the range
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof PersonalAccountRangeClass
|
|
28
|
-
*/
|
|
29
|
-
'minValue': number;
|
|
30
|
-
/**
|
|
31
|
-
* End of the range; it belongs to the range
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof PersonalAccountRangeClass
|
|
34
|
-
*/
|
|
35
|
-
'maxValue': number;
|
|
36
|
-
}
|
|
37
|
-
export declare const PersonalAccountRangeClassAccountTypeEnum: {
|
|
38
|
-
readonly Policyholder: "policyholder";
|
|
39
|
-
readonly RiskCarrier: "risk_carrier";
|
|
40
|
-
readonly Broker: "broker";
|
|
41
|
-
};
|
|
42
|
-
export type PersonalAccountRangeClassAccountTypeEnum = typeof PersonalAccountRangeClassAccountTypeEnum[keyof typeof PersonalAccountRangeClassAccountTypeEnum];
|
|
@@ -1,21 +0,0 @@
|
|
|
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 });
|
|
16
|
-
exports.PersonalAccountRangeClassAccountTypeEnum = void 0;
|
|
17
|
-
exports.PersonalAccountRangeClassAccountTypeEnum = {
|
|
18
|
-
Policyholder: 'policyholder',
|
|
19
|
-
RiskCarrier: 'risk_carrier',
|
|
20
|
-
Broker: 'broker'
|
|
21
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
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 PersonalAccountRangeDto
|
|
16
|
-
*/
|
|
17
|
-
export interface PersonalAccountRangeDto {
|
|
18
|
-
/**
|
|
19
|
-
* The partner group of the range
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PersonalAccountRangeDto
|
|
22
|
-
*/
|
|
23
|
-
'accountType': PersonalAccountRangeDtoAccountTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
* Start of the range, at least 1; it belongs to the range. A number or a string of digits.
|
|
26
|
-
* @type {number | string}
|
|
27
|
-
* @memberof PersonalAccountRangeDto
|
|
28
|
-
*/
|
|
29
|
-
'minValue': number | string;
|
|
30
|
-
/**
|
|
31
|
-
* End of the range; it belongs to the range. A number or a string of digits.
|
|
32
|
-
* @type {number | string}
|
|
33
|
-
* @memberof PersonalAccountRangeDto
|
|
34
|
-
*/
|
|
35
|
-
'maxValue': number | string;
|
|
36
|
-
}
|
|
37
|
-
export declare const PersonalAccountRangeDtoAccountTypeEnum: {
|
|
38
|
-
readonly Policyholder: "policyholder";
|
|
39
|
-
readonly RiskCarrier: "risk_carrier";
|
|
40
|
-
readonly Broker: "broker";
|
|
41
|
-
};
|
|
42
|
-
export type PersonalAccountRangeDtoAccountTypeEnum = typeof PersonalAccountRangeDtoAccountTypeEnum[keyof typeof PersonalAccountRangeDtoAccountTypeEnum];
|