@emilgroup/accounting-sdk 1.34.1-beta.84 → 1.34.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 +58 -9
- 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 +2 -0
- package/dist/base.js +59 -9
- 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
|
@@ -818,7 +818,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
818
818
|
*/
|
|
819
819
|
AccountingConfigsApi.prototype.createAndEnableSubledger = function (requestParameters, options) {
|
|
820
820
|
var _this = this;
|
|
821
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).createAndEnableSubledger(requestParameters.createAndEnableSubledgerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
821
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).createAndEnableSubledger(requestParameters.createAndEnableSubledgerRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
822
822
|
};
|
|
823
823
|
/**
|
|
824
824
|
* This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
@@ -830,7 +830,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
830
830
|
*/
|
|
831
831
|
AccountingConfigsApi.prototype.createAndEnableSubledgerFromFile = function (requestParameters, options) {
|
|
832
832
|
var _this = this;
|
|
833
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).createAndEnableSubledgerFromFile(requestParameters.file, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
833
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).createAndEnableSubledgerFromFile(requestParameters.file, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
834
834
|
};
|
|
835
835
|
/**
|
|
836
836
|
* This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -843,7 +843,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
843
843
|
AccountingConfigsApi.prototype.exportAccountingConfig = function (requestParameters, options) {
|
|
844
844
|
var _this = this;
|
|
845
845
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
846
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).exportAccountingConfig(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
846
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).exportAccountingConfig(requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
847
847
|
};
|
|
848
848
|
/**
|
|
849
849
|
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -856,7 +856,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
856
856
|
AccountingConfigsApi.prototype.getAccountingCategories = function (requestParameters, options) {
|
|
857
857
|
var _this = this;
|
|
858
858
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
859
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).getAccountingCategories(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
859
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).getAccountingCategories(requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
860
860
|
};
|
|
861
861
|
/**
|
|
862
862
|
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -869,7 +869,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
869
869
|
AccountingConfigsApi.prototype.getActivationSnapshot = function (requestParameters, options) {
|
|
870
870
|
var _this = this;
|
|
871
871
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
872
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).getActivationSnapshot(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
872
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).getActivationSnapshot(requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
873
873
|
};
|
|
874
874
|
/**
|
|
875
875
|
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -882,7 +882,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
882
882
|
AccountingConfigsApi.prototype.resetSubledger = function (requestParameters, options) {
|
|
883
883
|
var _this = this;
|
|
884
884
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
885
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).resetSubledger(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
885
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).resetSubledger(requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
886
886
|
};
|
|
887
887
|
/**
|
|
888
888
|
* This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
@@ -894,7 +894,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
894
894
|
*/
|
|
895
895
|
AccountingConfigsApi.prototype.validateAccountingConfig = function (requestParameters, options) {
|
|
896
896
|
var _this = this;
|
|
897
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).validateAccountingConfig(requestParameters.validateAccountingConfigRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
897
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).validateAccountingConfig(requestParameters.validateAccountingConfigRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
898
898
|
};
|
|
899
899
|
/**
|
|
900
900
|
* This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
@@ -906,7 +906,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
906
906
|
*/
|
|
907
907
|
AccountingConfigsApi.prototype.validateAccountingConfigFromFile = function (requestParameters, options) {
|
|
908
908
|
var _this = this;
|
|
909
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).validateAccountingConfigFromFile(requestParameters.file, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
909
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).validateAccountingConfigFromFile(requestParameters.file, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
910
910
|
};
|
|
911
911
|
return AccountingConfigsApi;
|
|
912
912
|
}(base_1.BaseAPI));
|
|
@@ -612,7 +612,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
612
612
|
*/
|
|
613
613
|
BookingEntriesApi.prototype.createBookingEntry = function (requestParameters, options) {
|
|
614
614
|
var _this = this;
|
|
615
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
615
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
616
616
|
};
|
|
617
617
|
/**
|
|
618
618
|
* Enters or restates the confirmed opening balance for one or more accounts: a first-time entry for an account with no opening-balance history yet, a restatement for one that already has some. Each item carries the confirmed balance, not the delta; the service derives the delta itself and books it, per account, against the main-ledger bridge account. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
@@ -624,7 +624,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
624
624
|
*/
|
|
625
625
|
BookingEntriesApi.prototype.createOrCorrectOpeningBalance = function (requestParameters, options) {
|
|
626
626
|
var _this = this;
|
|
627
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
627
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
628
628
|
};
|
|
629
629
|
/**
|
|
630
630
|
* This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
|
|
@@ -636,7 +636,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
636
636
|
*/
|
|
637
637
|
BookingEntriesApi.prototype.getBookingEntry = function (requestParameters, options) {
|
|
638
638
|
var _this = this;
|
|
639
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
639
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
640
640
|
};
|
|
641
641
|
/**
|
|
642
642
|
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
@@ -649,7 +649,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
649
649
|
BookingEntriesApi.prototype.listBookingEntries = function (requestParameters, options) {
|
|
650
650
|
var _this = this;
|
|
651
651
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
652
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).listBookingEntries(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); });
|
|
652
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).listBookingEntries(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); });
|
|
653
653
|
};
|
|
654
654
|
/**
|
|
655
655
|
* This endpoint posts the booking entry for an existing invoice, payment, exceeding credit or credit allocation on demand. The entity is fetched from the service that owns it and run through the same posting flow its domain event triggers, so the call is idempotent: an entity that is already posted returns its existing booking entry. When the flow deliberately posts nothing (subledger not active for the booking date, non-positive amount) the call fails with a precondition error carrying the reason. **Required Permissions** \"accounting-management.entries.create\"
|
|
@@ -661,7 +661,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
661
661
|
*/
|
|
662
662
|
BookingEntriesApi.prototype.postFinancialEvent = function (requestParameters, options) {
|
|
663
663
|
var _this = this;
|
|
664
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
664
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
665
665
|
};
|
|
666
666
|
return BookingEntriesApi;
|
|
667
667
|
}(base_1.BaseAPI));
|
|
@@ -957,7 +957,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
957
957
|
*/
|
|
958
958
|
CommissionAccountMappingsApi.prototype.deleteCommissionAgreementAccount = function (requestParameters, options) {
|
|
959
959
|
var _this = this;
|
|
960
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).deleteCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
960
|
+
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); });
|
|
961
961
|
};
|
|
962
962
|
/**
|
|
963
963
|
* 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\"
|
|
@@ -969,7 +969,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
969
969
|
*/
|
|
970
970
|
CommissionAccountMappingsApi.prototype.deleteCommissionTypeAccount = function (requestParameters, options) {
|
|
971
971
|
var _this = this;
|
|
972
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).deleteCommissionTypeAccount(requestParameters.commissionType, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
972
|
+
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).deleteCommissionTypeAccount(requestParameters.commissionType, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
973
973
|
};
|
|
974
974
|
/**
|
|
975
975
|
* 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\"
|
|
@@ -981,7 +981,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
981
981
|
*/
|
|
982
982
|
CommissionAccountMappingsApi.prototype.getCommissionAgreementAccountMapping = function (requestParameters, options) {
|
|
983
983
|
var _this = this;
|
|
984
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).getCommissionAgreementAccountMapping(requestParameters.commissionAgreementCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
984
|
+
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).getCommissionAgreementAccountMapping(requestParameters.commissionAgreementCode, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
985
985
|
};
|
|
986
986
|
/**
|
|
987
987
|
* 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\"
|
|
@@ -994,7 +994,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
994
994
|
CommissionAccountMappingsApi.prototype.listCommissionAccountMappings = function (requestParameters, options) {
|
|
995
995
|
var _this = this;
|
|
996
996
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
997
|
-
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); });
|
|
997
|
+
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); });
|
|
998
998
|
};
|
|
999
999
|
/**
|
|
1000
1000
|
* 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\"
|
|
@@ -1007,7 +1007,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1007
1007
|
CommissionAccountMappingsApi.prototype.listCommissionAgreementsWithAccountMappings = function (requestParameters, options) {
|
|
1008
1008
|
var _this = this;
|
|
1009
1009
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1010
|
-
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); });
|
|
1010
|
+
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); });
|
|
1011
1011
|
};
|
|
1012
1012
|
/**
|
|
1013
1013
|
* 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\"
|
|
@@ -1020,7 +1020,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1020
1020
|
CommissionAccountMappingsApi.prototype.listCommissionTypeAccountMappings = function (requestParameters, options) {
|
|
1021
1021
|
var _this = this;
|
|
1022
1022
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1023
|
-
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); });
|
|
1023
|
+
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); });
|
|
1024
1024
|
};
|
|
1025
1025
|
/**
|
|
1026
1026
|
* 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\"
|
|
@@ -1032,7 +1032,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1032
1032
|
*/
|
|
1033
1033
|
CommissionAccountMappingsApi.prototype.updateCommissionAgreementAccount = function (requestParameters, options) {
|
|
1034
1034
|
var _this = this;
|
|
1035
|
-
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); });
|
|
1035
|
+
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); });
|
|
1036
1036
|
};
|
|
1037
1037
|
/**
|
|
1038
1038
|
* 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\"
|
|
@@ -1044,7 +1044,7 @@ var CommissionAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1044
1044
|
*/
|
|
1045
1045
|
CommissionAccountMappingsApi.prototype.updateCommissionTypeAccount = function (requestParameters, options) {
|
|
1046
1046
|
var _this = this;
|
|
1047
|
-
return (0, exports.CommissionAccountMappingsApiFp)(this.configuration).updateCommissionTypeAccount(requestParameters.commissionType, requestParameters.updateCommissionTypeAccountBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1047
|
+
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); });
|
|
1048
1048
|
};
|
|
1049
1049
|
return CommissionAccountMappingsApi;
|
|
1050
1050
|
}(base_1.BaseAPI));
|
|
@@ -617,7 +617,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
617
617
|
*/
|
|
618
618
|
FinancialAccountsApi.prototype.createFinancialAccount = function (requestParameters, options) {
|
|
619
619
|
var _this = this;
|
|
620
|
-
return (0, exports.FinancialAccountsApiFp)(this.configuration).createFinancialAccount(requestParameters.createFinancialAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
620
|
+
return (0, exports.FinancialAccountsApiFp)(this.configuration).createFinancialAccount(requestParameters.createFinancialAccountRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
621
621
|
};
|
|
622
622
|
/**
|
|
623
623
|
* 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\"
|
|
@@ -629,7 +629,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
629
629
|
*/
|
|
630
630
|
FinancialAccountsApi.prototype.deleteFinancialAccount = function (requestParameters, options) {
|
|
631
631
|
var _this = this;
|
|
632
|
-
return (0, exports.FinancialAccountsApiFp)(this.configuration).deleteFinancialAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
632
|
+
return (0, exports.FinancialAccountsApiFp)(this.configuration).deleteFinancialAccount(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
633
633
|
};
|
|
634
634
|
/**
|
|
635
635
|
* 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\"
|
|
@@ -641,7 +641,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
641
641
|
*/
|
|
642
642
|
FinancialAccountsApi.prototype.getFinancialAccount = function (requestParameters, options) {
|
|
643
643
|
var _this = this;
|
|
644
|
-
return (0, exports.FinancialAccountsApiFp)(this.configuration).getFinancialAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
644
|
+
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); });
|
|
645
645
|
};
|
|
646
646
|
/**
|
|
647
647
|
* 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\"
|
|
@@ -654,7 +654,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
654
654
|
FinancialAccountsApi.prototype.listFinancialAccounts = function (requestParameters, options) {
|
|
655
655
|
var _this = this;
|
|
656
656
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
657
|
-
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); });
|
|
657
|
+
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); });
|
|
658
658
|
};
|
|
659
659
|
/**
|
|
660
660
|
* 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\"
|
|
@@ -666,7 +666,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
666
666
|
*/
|
|
667
667
|
FinancialAccountsApi.prototype.updateFinancialAccount = function (requestParameters, options) {
|
|
668
668
|
var _this = this;
|
|
669
|
-
return (0, exports.FinancialAccountsApiFp)(this.configuration).updateFinancialAccount(requestParameters.code, requestParameters.updateFinancialAccountBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
669
|
+
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); });
|
|
670
670
|
};
|
|
671
671
|
return FinancialAccountsApi;
|
|
672
672
|
}(base_1.BaseAPI));
|
|
@@ -348,7 +348,7 @@ var FinancialTransactionsApi = /** @class */ (function (_super) {
|
|
|
348
348
|
*/
|
|
349
349
|
FinancialTransactionsApi.prototype.getFinancialTransaction = function (requestParameters, options) {
|
|
350
350
|
var _this = this;
|
|
351
|
-
return (0, exports.FinancialTransactionsApiFp)(this.configuration).getFinancialTransaction(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
351
|
+
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); });
|
|
352
352
|
};
|
|
353
353
|
/**
|
|
354
354
|
* This endpoint list financial transactions. **Required Permissions** \"accounting-management.transactions.view\"
|
|
@@ -361,7 +361,7 @@ var FinancialTransactionsApi = /** @class */ (function (_super) {
|
|
|
361
361
|
FinancialTransactionsApi.prototype.listFinancialTransactions = function (requestParameters, options) {
|
|
362
362
|
var _this = this;
|
|
363
363
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
364
|
-
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); });
|
|
364
|
+
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); });
|
|
365
365
|
};
|
|
366
366
|
return FinancialTransactionsApi;
|
|
367
367
|
}(base_1.BaseAPI));
|
package/dist/api/health-api.js
CHANGED
|
@@ -193,7 +193,7 @@ var HealthApi = /** @class */ (function (_super) {
|
|
|
193
193
|
*/
|
|
194
194
|
HealthApi.prototype.check = function (options) {
|
|
195
195
|
var _this = this;
|
|
196
|
-
return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
196
|
+
return (0, exports.HealthApiFp)(this.configuration).check(this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
197
197
|
};
|
|
198
198
|
return HealthApi;
|
|
199
199
|
}(base_1.BaseAPI));
|
|
@@ -523,7 +523,7 @@ var NumberRangesApi = /** @class */ (function (_super) {
|
|
|
523
523
|
*/
|
|
524
524
|
NumberRangesApi.prototype.createNumberRange = function (requestParameters, options) {
|
|
525
525
|
var _this = this;
|
|
526
|
-
return (0, exports.NumberRangesApiFp)(this.configuration).createNumberRange(requestParameters.createNumberRangeRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
526
|
+
return (0, exports.NumberRangesApiFp)(this.configuration).createNumberRange(requestParameters.createNumberRangeRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
527
527
|
};
|
|
528
528
|
/**
|
|
529
529
|
* 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\"
|
|
@@ -535,7 +535,7 @@ var NumberRangesApi = /** @class */ (function (_super) {
|
|
|
535
535
|
*/
|
|
536
536
|
NumberRangesApi.prototype.deleteNumberRange = function (requestParameters, options) {
|
|
537
537
|
var _this = this;
|
|
538
|
-
return (0, exports.NumberRangesApiFp)(this.configuration).deleteNumberRange(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
538
|
+
return (0, exports.NumberRangesApiFp)(this.configuration).deleteNumberRange(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
539
539
|
};
|
|
540
540
|
/**
|
|
541
541
|
* 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\"
|
|
@@ -547,7 +547,7 @@ var NumberRangesApi = /** @class */ (function (_super) {
|
|
|
547
547
|
*/
|
|
548
548
|
NumberRangesApi.prototype.getNumberRange = function (requestParameters, options) {
|
|
549
549
|
var _this = this;
|
|
550
|
-
return (0, exports.NumberRangesApiFp)(this.configuration).getNumberRange(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
550
|
+
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); });
|
|
551
551
|
};
|
|
552
552
|
/**
|
|
553
553
|
* 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\"
|
|
@@ -560,7 +560,7 @@ var NumberRangesApi = /** @class */ (function (_super) {
|
|
|
560
560
|
NumberRangesApi.prototype.listNumberRanges = function (requestParameters, options) {
|
|
561
561
|
var _this = this;
|
|
562
562
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
563
|
-
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); });
|
|
563
|
+
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); });
|
|
564
564
|
};
|
|
565
565
|
return NumberRangesApi;
|
|
566
566
|
}(base_1.BaseAPI));
|
|
@@ -523,7 +523,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
523
523
|
*/
|
|
524
524
|
PersonalAccountsApi.prototype.createPersonalAccount = function (requestParameters, options) {
|
|
525
525
|
var _this = this;
|
|
526
|
-
return (0, exports.PersonalAccountsApiFp)(this.configuration).createPersonalAccount(requestParameters.createPersonalAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
526
|
+
return (0, exports.PersonalAccountsApiFp)(this.configuration).createPersonalAccount(requestParameters.createPersonalAccountRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
527
527
|
};
|
|
528
528
|
/**
|
|
529
529
|
* 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\"
|
|
@@ -535,7 +535,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
535
535
|
*/
|
|
536
536
|
PersonalAccountsApi.prototype.deletePersonalAccount = function (requestParameters, options) {
|
|
537
537
|
var _this = this;
|
|
538
|
-
return (0, exports.PersonalAccountsApiFp)(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
538
|
+
return (0, exports.PersonalAccountsApiFp)(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
539
539
|
};
|
|
540
540
|
/**
|
|
541
541
|
* 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\"
|
|
@@ -547,7 +547,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
547
547
|
*/
|
|
548
548
|
PersonalAccountsApi.prototype.getPersonalAccount = function (requestParameters, options) {
|
|
549
549
|
var _this = this;
|
|
550
|
-
return (0, exports.PersonalAccountsApiFp)(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
550
|
+
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); });
|
|
551
551
|
};
|
|
552
552
|
/**
|
|
553
553
|
* 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\"
|
|
@@ -560,7 +560,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
560
560
|
PersonalAccountsApi.prototype.listPersonalAccounts = function (requestParameters, options) {
|
|
561
561
|
var _this = this;
|
|
562
562
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
563
|
-
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); });
|
|
563
|
+
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); });
|
|
564
564
|
};
|
|
565
565
|
return PersonalAccountsApi;
|
|
566
566
|
}(base_1.BaseAPI));
|
|
@@ -1352,7 +1352,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1352
1352
|
*/
|
|
1353
1353
|
ProductAccountMappingsApi.prototype.deletePremiumItemAccount = function (requestParameters, options) {
|
|
1354
1354
|
var _this = this;
|
|
1355
|
-
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); });
|
|
1355
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deletePremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1356
1356
|
};
|
|
1357
1357
|
/**
|
|
1358
1358
|
* 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\"
|
|
@@ -1364,7 +1364,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1364
1364
|
*/
|
|
1365
1365
|
ProductAccountMappingsApi.prototype.deleteProductCategoryAccount = function (requestParameters, options) {
|
|
1366
1366
|
var _this = this;
|
|
1367
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1367
|
+
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); });
|
|
1368
1368
|
};
|
|
1369
1369
|
/**
|
|
1370
1370
|
* 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\"
|
|
@@ -1376,7 +1376,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1376
1376
|
*/
|
|
1377
1377
|
ProductAccountMappingsApi.prototype.deleteProductRiskCarrier = function (requestParameters, options) {
|
|
1378
1378
|
var _this = this;
|
|
1379
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductRiskCarrier(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1379
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductRiskCarrier(requestParameters.productCode, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1380
1380
|
};
|
|
1381
1381
|
/**
|
|
1382
1382
|
* 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\"
|
|
@@ -1388,7 +1388,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1388
1388
|
*/
|
|
1389
1389
|
ProductAccountMappingsApi.prototype.deleteProductVersionCategoryAccount = function (requestParameters, options) {
|
|
1390
1390
|
var _this = this;
|
|
1391
|
-
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); });
|
|
1391
|
+
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); });
|
|
1392
1392
|
};
|
|
1393
1393
|
/**
|
|
1394
1394
|
* 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\"
|
|
@@ -1400,7 +1400,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1400
1400
|
*/
|
|
1401
1401
|
ProductAccountMappingsApi.prototype.getProductAccountMapping = function (requestParameters, options) {
|
|
1402
1402
|
var _this = this;
|
|
1403
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).getProductAccountMapping(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1403
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).getProductAccountMapping(requestParameters.productCode, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1404
1404
|
};
|
|
1405
1405
|
/**
|
|
1406
1406
|
* 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\"
|
|
@@ -1412,7 +1412,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1412
1412
|
*/
|
|
1413
1413
|
ProductAccountMappingsApi.prototype.getProductVersionAccountMapping = function (requestParameters, options) {
|
|
1414
1414
|
var _this = this;
|
|
1415
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).getProductVersionAccountMapping(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1415
|
+
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); });
|
|
1416
1416
|
};
|
|
1417
1417
|
/**
|
|
1418
1418
|
* 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\"
|
|
@@ -1425,7 +1425,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1425
1425
|
ProductAccountMappingsApi.prototype.listProductAccountMappings = function (requestParameters, options) {
|
|
1426
1426
|
var _this = this;
|
|
1427
1427
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1428
|
-
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); });
|
|
1428
|
+
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); });
|
|
1429
1429
|
};
|
|
1430
1430
|
/**
|
|
1431
1431
|
* 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\"
|
|
@@ -1438,7 +1438,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1438
1438
|
ProductAccountMappingsApi.prototype.listProductsWithAccountMappings = function (requestParameters, options) {
|
|
1439
1439
|
var _this = this;
|
|
1440
1440
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1441
|
-
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); });
|
|
1441
|
+
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); });
|
|
1442
1442
|
};
|
|
1443
1443
|
/**
|
|
1444
1444
|
* 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\"
|
|
@@ -1450,7 +1450,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1450
1450
|
*/
|
|
1451
1451
|
ProductAccountMappingsApi.prototype.putPremiumItemAccount = function (requestParameters, options) {
|
|
1452
1452
|
var _this = this;
|
|
1453
|
-
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); });
|
|
1453
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putPremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.putPremiumItemAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1454
1454
|
};
|
|
1455
1455
|
/**
|
|
1456
1456
|
* 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\"
|
|
@@ -1462,7 +1462,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1462
1462
|
*/
|
|
1463
1463
|
ProductAccountMappingsApi.prototype.putProductCategoryAccount = function (requestParameters, options) {
|
|
1464
1464
|
var _this = this;
|
|
1465
|
-
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); });
|
|
1465
|
+
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); });
|
|
1466
1466
|
};
|
|
1467
1467
|
/**
|
|
1468
1468
|
* 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\"
|
|
@@ -1474,7 +1474,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1474
1474
|
*/
|
|
1475
1475
|
ProductAccountMappingsApi.prototype.putProductRiskCarrier = function (requestParameters, options) {
|
|
1476
1476
|
var _this = this;
|
|
1477
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductRiskCarrier(requestParameters.productCode, requestParameters.putProductRiskCarrierBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1477
|
+
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); });
|
|
1478
1478
|
};
|
|
1479
1479
|
/**
|
|
1480
1480
|
* 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\"
|
|
@@ -1486,7 +1486,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1486
1486
|
*/
|
|
1487
1487
|
ProductAccountMappingsApi.prototype.putProductVersionCategoryAccount = function (requestParameters, options) {
|
|
1488
1488
|
var _this = this;
|
|
1489
|
-
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); });
|
|
1489
|
+
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); });
|
|
1490
1490
|
};
|
|
1491
1491
|
return ProductAccountMappingsApi;
|
|
1492
1492
|
}(base_1.BaseAPI));
|
package/dist/base.d.ts
CHANGED