@emilgroup/accounting-sdk-node 1.32.1-beta.83 → 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/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/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/accounting-sdk-node@1.32.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk-node@1.32.1-beta.85 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.85
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -803,7 +803,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
803
803
|
* @memberof AccountingConfigsApi
|
|
804
804
|
*/
|
|
805
805
|
public createAndEnableSubledger(requestParameters: AccountingConfigsApiCreateAndEnableSubledgerRequest, options?: AxiosRequestConfig) {
|
|
806
|
-
return AccountingConfigsApiFp(this.configuration).createAndEnableSubledger(requestParameters.createAndEnableSubledgerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
806
|
+
return AccountingConfigsApiFp(this.configuration).createAndEnableSubledger(requestParameters.createAndEnableSubledgerRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
807
807
|
}
|
|
808
808
|
|
|
809
809
|
/**
|
|
@@ -815,7 +815,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
815
815
|
* @memberof AccountingConfigsApi
|
|
816
816
|
*/
|
|
817
817
|
public createAndEnableSubledgerFromFile(requestParameters: AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest, options?: AxiosRequestConfig) {
|
|
818
|
-
return AccountingConfigsApiFp(this.configuration).createAndEnableSubledgerFromFile(requestParameters.file, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
818
|
+
return AccountingConfigsApiFp(this.configuration).createAndEnableSubledgerFromFile(requestParameters.file, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
/**
|
|
@@ -827,7 +827,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
827
827
|
* @memberof AccountingConfigsApi
|
|
828
828
|
*/
|
|
829
829
|
public exportAccountingConfig(requestParameters: AccountingConfigsApiExportAccountingConfigRequest = {}, options?: AxiosRequestConfig) {
|
|
830
|
-
return AccountingConfigsApiFp(this.configuration).exportAccountingConfig(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
830
|
+
return AccountingConfigsApiFp(this.configuration).exportAccountingConfig(requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
/**
|
|
@@ -839,7 +839,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
839
839
|
* @memberof AccountingConfigsApi
|
|
840
840
|
*/
|
|
841
841
|
public getAccountingCategories(requestParameters: AccountingConfigsApiGetAccountingCategoriesRequest = {}, options?: AxiosRequestConfig) {
|
|
842
|
-
return AccountingConfigsApiFp(this.configuration).getAccountingCategories(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
842
|
+
return AccountingConfigsApiFp(this.configuration).getAccountingCategories(requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
843
843
|
}
|
|
844
844
|
|
|
845
845
|
/**
|
|
@@ -851,7 +851,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
851
851
|
* @memberof AccountingConfigsApi
|
|
852
852
|
*/
|
|
853
853
|
public getActivationSnapshot(requestParameters: AccountingConfigsApiGetActivationSnapshotRequest = {}, options?: AxiosRequestConfig) {
|
|
854
|
-
return AccountingConfigsApiFp(this.configuration).getActivationSnapshot(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
854
|
+
return AccountingConfigsApiFp(this.configuration).getActivationSnapshot(requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
855
855
|
}
|
|
856
856
|
|
|
857
857
|
/**
|
|
@@ -863,7 +863,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
863
863
|
* @memberof AccountingConfigsApi
|
|
864
864
|
*/
|
|
865
865
|
public resetSubledger(requestParameters: AccountingConfigsApiResetSubledgerRequest = {}, options?: AxiosRequestConfig) {
|
|
866
|
-
return AccountingConfigsApiFp(this.configuration).resetSubledger(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
866
|
+
return AccountingConfigsApiFp(this.configuration).resetSubledger(requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
867
867
|
}
|
|
868
868
|
|
|
869
869
|
/**
|
|
@@ -875,7 +875,7 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
875
875
|
* @memberof AccountingConfigsApi
|
|
876
876
|
*/
|
|
877
877
|
public validateAccountingConfig(requestParameters: AccountingConfigsApiValidateAccountingConfigRequest, options?: AxiosRequestConfig) {
|
|
878
|
-
return AccountingConfigsApiFp(this.configuration).validateAccountingConfig(requestParameters.validateAccountingConfigRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
878
|
+
return AccountingConfigsApiFp(this.configuration).validateAccountingConfig(requestParameters.validateAccountingConfigRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
879
879
|
}
|
|
880
880
|
|
|
881
881
|
/**
|
|
@@ -887,6 +887,6 @@ export class AccountingConfigsApi extends BaseAPI {
|
|
|
887
887
|
* @memberof AccountingConfigsApi
|
|
888
888
|
*/
|
|
889
889
|
public validateAccountingConfigFromFile(requestParameters: AccountingConfigsApiValidateAccountingConfigFromFileRequest, options?: AxiosRequestConfig) {
|
|
890
|
-
return AccountingConfigsApiFp(this.configuration).validateAccountingConfigFromFile(requestParameters.file, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
890
|
+
return AccountingConfigsApiFp(this.configuration).validateAccountingConfigFromFile(requestParameters.file, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
891
891
|
}
|
|
892
892
|
}
|
|
@@ -662,7 +662,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
662
662
|
* @memberof BookingEntriesApi
|
|
663
663
|
*/
|
|
664
664
|
public createBookingEntry(requestParameters: BookingEntriesApiCreateBookingEntryRequest, options?: AxiosRequestConfig) {
|
|
665
|
-
return BookingEntriesApiFp(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
665
|
+
return BookingEntriesApiFp(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
666
666
|
}
|
|
667
667
|
|
|
668
668
|
/**
|
|
@@ -674,7 +674,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
674
674
|
* @memberof BookingEntriesApi
|
|
675
675
|
*/
|
|
676
676
|
public createOrCorrectOpeningBalance(requestParameters: BookingEntriesApiCreateOrCorrectOpeningBalanceRequest, options?: AxiosRequestConfig) {
|
|
677
|
-
return BookingEntriesApiFp(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
677
|
+
return BookingEntriesApiFp(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
678
678
|
}
|
|
679
679
|
|
|
680
680
|
/**
|
|
@@ -686,7 +686,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
686
686
|
* @memberof BookingEntriesApi
|
|
687
687
|
*/
|
|
688
688
|
public getBookingEntry(requestParameters: BookingEntriesApiGetBookingEntryRequest, options?: AxiosRequestConfig) {
|
|
689
|
-
return BookingEntriesApiFp(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
689
|
+
return BookingEntriesApiFp(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
690
690
|
}
|
|
691
691
|
|
|
692
692
|
/**
|
|
@@ -698,7 +698,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
698
698
|
* @memberof BookingEntriesApi
|
|
699
699
|
*/
|
|
700
700
|
public listBookingEntries(requestParameters: BookingEntriesApiListBookingEntriesRequest = {}, options?: AxiosRequestConfig) {
|
|
701
|
-
return BookingEntriesApiFp(this.configuration).listBookingEntries(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
701
|
+
return BookingEntriesApiFp(this.configuration).listBookingEntries(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
702
702
|
}
|
|
703
703
|
|
|
704
704
|
/**
|
|
@@ -710,6 +710,6 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
710
710
|
* @memberof BookingEntriesApi
|
|
711
711
|
*/
|
|
712
712
|
public postFinancialEvent(requestParameters: BookingEntriesApiPostFinancialEventRequest, options?: AxiosRequestConfig) {
|
|
713
|
-
return BookingEntriesApiFp(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
713
|
+
return BookingEntriesApiFp(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
714
714
|
}
|
|
715
715
|
}
|
|
@@ -1146,7 +1146,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1146
1146
|
* @memberof CommissionAccountMappingsApi
|
|
1147
1147
|
*/
|
|
1148
1148
|
public deleteCommissionAgreementAccount(requestParameters: CommissionAccountMappingsApiDeleteCommissionAgreementAccountRequest, options?: AxiosRequestConfig) {
|
|
1149
|
-
return CommissionAccountMappingsApiFp(this.configuration).deleteCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1149
|
+
return CommissionAccountMappingsApiFp(this.configuration).deleteCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
1152
|
/**
|
|
@@ -1158,7 +1158,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1158
1158
|
* @memberof CommissionAccountMappingsApi
|
|
1159
1159
|
*/
|
|
1160
1160
|
public deleteCommissionTypeAccount(requestParameters: CommissionAccountMappingsApiDeleteCommissionTypeAccountRequest, options?: AxiosRequestConfig) {
|
|
1161
|
-
return CommissionAccountMappingsApiFp(this.configuration).deleteCommissionTypeAccount(requestParameters.commissionType, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1161
|
+
return CommissionAccountMappingsApiFp(this.configuration).deleteCommissionTypeAccount(requestParameters.commissionType, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1162
1162
|
}
|
|
1163
1163
|
|
|
1164
1164
|
/**
|
|
@@ -1170,7 +1170,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1170
1170
|
* @memberof CommissionAccountMappingsApi
|
|
1171
1171
|
*/
|
|
1172
1172
|
public getCommissionAgreementAccountMapping(requestParameters: CommissionAccountMappingsApiGetCommissionAgreementAccountMappingRequest, options?: AxiosRequestConfig) {
|
|
1173
|
-
return CommissionAccountMappingsApiFp(this.configuration).getCommissionAgreementAccountMapping(requestParameters.commissionAgreementCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1173
|
+
return CommissionAccountMappingsApiFp(this.configuration).getCommissionAgreementAccountMapping(requestParameters.commissionAgreementCode, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1174
1174
|
}
|
|
1175
1175
|
|
|
1176
1176
|
/**
|
|
@@ -1182,7 +1182,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1182
1182
|
* @memberof CommissionAccountMappingsApi
|
|
1183
1183
|
*/
|
|
1184
1184
|
public listCommissionAccountMappings(requestParameters: CommissionAccountMappingsApiListCommissionAccountMappingsRequest = {}, options?: AxiosRequestConfig) {
|
|
1185
|
-
return CommissionAccountMappingsApiFp(this.configuration).listCommissionAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1185
|
+
return CommissionAccountMappingsApiFp(this.configuration).listCommissionAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
1188
|
/**
|
|
@@ -1194,7 +1194,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1194
1194
|
* @memberof CommissionAccountMappingsApi
|
|
1195
1195
|
*/
|
|
1196
1196
|
public listCommissionAgreementsWithAccountMappings(requestParameters: CommissionAccountMappingsApiListCommissionAgreementsWithAccountMappingsRequest = {}, options?: AxiosRequestConfig) {
|
|
1197
|
-
return CommissionAccountMappingsApiFp(this.configuration).listCommissionAgreementsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1197
|
+
return CommissionAccountMappingsApiFp(this.configuration).listCommissionAgreementsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1198
1198
|
}
|
|
1199
1199
|
|
|
1200
1200
|
/**
|
|
@@ -1206,7 +1206,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1206
1206
|
* @memberof CommissionAccountMappingsApi
|
|
1207
1207
|
*/
|
|
1208
1208
|
public listCommissionTypeAccountMappings(requestParameters: CommissionAccountMappingsApiListCommissionTypeAccountMappingsRequest = {}, options?: AxiosRequestConfig) {
|
|
1209
|
-
return CommissionAccountMappingsApiFp(this.configuration).listCommissionTypeAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1209
|
+
return CommissionAccountMappingsApiFp(this.configuration).listCommissionTypeAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1210
1210
|
}
|
|
1211
1211
|
|
|
1212
1212
|
/**
|
|
@@ -1218,7 +1218,7 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1218
1218
|
* @memberof CommissionAccountMappingsApi
|
|
1219
1219
|
*/
|
|
1220
1220
|
public updateCommissionAgreementAccount(requestParameters: CommissionAccountMappingsApiUpdateCommissionAgreementAccountRequest, options?: AxiosRequestConfig) {
|
|
1221
|
-
return CommissionAccountMappingsApiFp(this.configuration).updateCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.updateCommissionAgreementAccountBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1221
|
+
return CommissionAccountMappingsApiFp(this.configuration).updateCommissionAgreementAccount(requestParameters.commissionAgreementCode, requestParameters.commissionType, requestParameters.updateCommissionAgreementAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1222
1222
|
}
|
|
1223
1223
|
|
|
1224
1224
|
/**
|
|
@@ -1230,6 +1230,6 @@ export class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
1230
1230
|
* @memberof CommissionAccountMappingsApi
|
|
1231
1231
|
*/
|
|
1232
1232
|
public updateCommissionTypeAccount(requestParameters: CommissionAccountMappingsApiUpdateCommissionTypeAccountRequest, options?: AxiosRequestConfig) {
|
|
1233
|
-
return CommissionAccountMappingsApiFp(this.configuration).updateCommissionTypeAccount(requestParameters.commissionType, requestParameters.updateCommissionTypeAccountBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1233
|
+
return CommissionAccountMappingsApiFp(this.configuration).updateCommissionTypeAccount(requestParameters.commissionType, requestParameters.updateCommissionTypeAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1234
1234
|
}
|
|
1235
1235
|
}
|
|
@@ -669,7 +669,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
669
669
|
* @memberof FinancialAccountsApi
|
|
670
670
|
*/
|
|
671
671
|
public createFinancialAccount(requestParameters: FinancialAccountsApiCreateFinancialAccountRequest, options?: AxiosRequestConfig) {
|
|
672
|
-
return FinancialAccountsApiFp(this.configuration).createFinancialAccount(requestParameters.createFinancialAccountRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
672
|
+
return FinancialAccountsApiFp(this.configuration).createFinancialAccount(requestParameters.createFinancialAccountRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
673
673
|
}
|
|
674
674
|
|
|
675
675
|
/**
|
|
@@ -681,7 +681,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
681
681
|
* @memberof FinancialAccountsApi
|
|
682
682
|
*/
|
|
683
683
|
public deleteFinancialAccount(requestParameters: FinancialAccountsApiDeleteFinancialAccountRequest, options?: AxiosRequestConfig) {
|
|
684
|
-
return FinancialAccountsApiFp(this.configuration).deleteFinancialAccount(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
684
|
+
return FinancialAccountsApiFp(this.configuration).deleteFinancialAccount(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
685
685
|
}
|
|
686
686
|
|
|
687
687
|
/**
|
|
@@ -693,7 +693,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
693
693
|
* @memberof FinancialAccountsApi
|
|
694
694
|
*/
|
|
695
695
|
public getFinancialAccount(requestParameters: FinancialAccountsApiGetFinancialAccountRequest, options?: AxiosRequestConfig) {
|
|
696
|
-
return FinancialAccountsApiFp(this.configuration).getFinancialAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
696
|
+
return FinancialAccountsApiFp(this.configuration).getFinancialAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
/**
|
|
@@ -705,7 +705,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
705
705
|
* @memberof FinancialAccountsApi
|
|
706
706
|
*/
|
|
707
707
|
public listFinancialAccounts(requestParameters: FinancialAccountsApiListFinancialAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
708
|
-
return FinancialAccountsApiFp(this.configuration).listFinancialAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
708
|
+
return FinancialAccountsApiFp(this.configuration).listFinancialAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
/**
|
|
@@ -717,6 +717,6 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
717
717
|
* @memberof FinancialAccountsApi
|
|
718
718
|
*/
|
|
719
719
|
public updateFinancialAccount(requestParameters: FinancialAccountsApiUpdateFinancialAccountRequest, options?: AxiosRequestConfig) {
|
|
720
|
-
return FinancialAccountsApiFp(this.configuration).updateFinancialAccount(requestParameters.code, requestParameters.updateFinancialAccountBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
720
|
+
return FinancialAccountsApiFp(this.configuration).updateFinancialAccount(requestParameters.code, requestParameters.updateFinancialAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
721
721
|
}
|
|
722
722
|
}
|
|
@@ -362,7 +362,7 @@ export class FinancialTransactionsApi extends BaseAPI {
|
|
|
362
362
|
* @memberof FinancialTransactionsApi
|
|
363
363
|
*/
|
|
364
364
|
public getFinancialTransaction(requestParameters: FinancialTransactionsApiGetFinancialTransactionRequest, options?: AxiosRequestConfig) {
|
|
365
|
-
return FinancialTransactionsApiFp(this.configuration).getFinancialTransaction(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
365
|
+
return FinancialTransactionsApiFp(this.configuration).getFinancialTransaction(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
/**
|
|
@@ -374,6 +374,6 @@ export class FinancialTransactionsApi extends BaseAPI {
|
|
|
374
374
|
* @memberof FinancialTransactionsApi
|
|
375
375
|
*/
|
|
376
376
|
public listFinancialTransactions(requestParameters: FinancialTransactionsApiListFinancialTransactionsRequest = {}, options?: AxiosRequestConfig) {
|
|
377
|
-
return FinancialTransactionsApiFp(this.configuration).listFinancialTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
377
|
+
return FinancialTransactionsApiFp(this.configuration).listFinancialTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
378
378
|
}
|
|
379
379
|
}
|
package/api/health-api.ts
CHANGED
|
@@ -123,6 +123,6 @@ export class HealthApi extends BaseAPI {
|
|
|
123
123
|
* @memberof HealthApi
|
|
124
124
|
*/
|
|
125
125
|
public check(options?: AxiosRequestConfig) {
|
|
126
|
-
return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
126
|
+
return HealthApiFp(this.configuration).check(this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
127
127
|
}
|
|
128
128
|
}
|
package/api/number-ranges-api.ts
CHANGED
|
@@ -556,7 +556,7 @@ export class NumberRangesApi extends BaseAPI {
|
|
|
556
556
|
* @memberof NumberRangesApi
|
|
557
557
|
*/
|
|
558
558
|
public createNumberRange(requestParameters: NumberRangesApiCreateNumberRangeRequest, options?: AxiosRequestConfig) {
|
|
559
|
-
return NumberRangesApiFp(this.configuration).createNumberRange(requestParameters.createNumberRangeRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
559
|
+
return NumberRangesApiFp(this.configuration).createNumberRange(requestParameters.createNumberRangeRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
/**
|
|
@@ -568,7 +568,7 @@ export class NumberRangesApi extends BaseAPI {
|
|
|
568
568
|
* @memberof NumberRangesApi
|
|
569
569
|
*/
|
|
570
570
|
public deleteNumberRange(requestParameters: NumberRangesApiDeleteNumberRangeRequest, options?: AxiosRequestConfig) {
|
|
571
|
-
return NumberRangesApiFp(this.configuration).deleteNumberRange(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
571
|
+
return NumberRangesApiFp(this.configuration).deleteNumberRange(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
572
572
|
}
|
|
573
573
|
|
|
574
574
|
/**
|
|
@@ -580,7 +580,7 @@ export class NumberRangesApi extends BaseAPI {
|
|
|
580
580
|
* @memberof NumberRangesApi
|
|
581
581
|
*/
|
|
582
582
|
public getNumberRange(requestParameters: NumberRangesApiGetNumberRangeRequest, options?: AxiosRequestConfig) {
|
|
583
|
-
return NumberRangesApiFp(this.configuration).getNumberRange(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
583
|
+
return NumberRangesApiFp(this.configuration).getNumberRange(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
/**
|
|
@@ -592,6 +592,6 @@ export class NumberRangesApi extends BaseAPI {
|
|
|
592
592
|
* @memberof NumberRangesApi
|
|
593
593
|
*/
|
|
594
594
|
public listNumberRanges(requestParameters: NumberRangesApiListNumberRangesRequest = {}, options?: AxiosRequestConfig) {
|
|
595
|
-
return NumberRangesApiFp(this.configuration).listNumberRanges(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
595
|
+
return NumberRangesApiFp(this.configuration).listNumberRanges(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
596
596
|
}
|
|
597
597
|
}
|
|
@@ -556,7 +556,7 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
556
556
|
* @memberof PersonalAccountsApi
|
|
557
557
|
*/
|
|
558
558
|
public createPersonalAccount(requestParameters: PersonalAccountsApiCreatePersonalAccountRequest, options?: AxiosRequestConfig) {
|
|
559
|
-
return PersonalAccountsApiFp(this.configuration).createPersonalAccount(requestParameters.createPersonalAccountRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
559
|
+
return PersonalAccountsApiFp(this.configuration).createPersonalAccount(requestParameters.createPersonalAccountRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
/**
|
|
@@ -568,7 +568,7 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
568
568
|
* @memberof PersonalAccountsApi
|
|
569
569
|
*/
|
|
570
570
|
public deletePersonalAccount(requestParameters: PersonalAccountsApiDeletePersonalAccountRequest, options?: AxiosRequestConfig) {
|
|
571
|
-
return PersonalAccountsApiFp(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
571
|
+
return PersonalAccountsApiFp(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
572
572
|
}
|
|
573
573
|
|
|
574
574
|
/**
|
|
@@ -580,7 +580,7 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
580
580
|
* @memberof PersonalAccountsApi
|
|
581
581
|
*/
|
|
582
582
|
public getPersonalAccount(requestParameters: PersonalAccountsApiGetPersonalAccountRequest, options?: AxiosRequestConfig) {
|
|
583
|
-
return PersonalAccountsApiFp(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
583
|
+
return PersonalAccountsApiFp(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
/**
|
|
@@ -592,6 +592,6 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
592
592
|
* @memberof PersonalAccountsApi
|
|
593
593
|
*/
|
|
594
594
|
public listPersonalAccounts(requestParameters: PersonalAccountsApiListPersonalAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
595
|
-
return PersonalAccountsApiFp(this.configuration).listPersonalAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
595
|
+
return PersonalAccountsApiFp(this.configuration).listPersonalAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
596
596
|
}
|
|
597
597
|
}
|
|
@@ -1618,7 +1618,7 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1618
1618
|
* @memberof ProductAccountMappingsApi
|
|
1619
1619
|
*/
|
|
1620
1620
|
public deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig) {
|
|
1621
|
-
return ProductAccountMappingsApiFp(this.configuration).deletePremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1621
|
+
return ProductAccountMappingsApiFp(this.configuration).deletePremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1622
1622
|
}
|
|
1623
1623
|
|
|
1624
1624
|
/**
|
|
@@ -1630,7 +1630,7 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1630
1630
|
* @memberof ProductAccountMappingsApi
|
|
1631
1631
|
*/
|
|
1632
1632
|
public deleteProductCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductCategoryAccountRequest, options?: AxiosRequestConfig) {
|
|
1633
|
-
return ProductAccountMappingsApiFp(this.configuration).deleteProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1633
|
+
return ProductAccountMappingsApiFp(this.configuration).deleteProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1634
1634
|
}
|
|
1635
1635
|
|
|
1636
1636
|
/**
|
|
@@ -1642,7 +1642,7 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1642
1642
|
* @memberof ProductAccountMappingsApi
|
|
1643
1643
|
*/
|
|
1644
1644
|
public deleteProductRiskCarrier(requestParameters: ProductAccountMappingsApiDeleteProductRiskCarrierRequest, options?: AxiosRequestConfig) {
|
|
1645
|
-
return ProductAccountMappingsApiFp(this.configuration).deleteProductRiskCarrier(requestParameters.productCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1645
|
+
return ProductAccountMappingsApiFp(this.configuration).deleteProductRiskCarrier(requestParameters.productCode, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1646
1646
|
}
|
|
1647
1647
|
|
|
1648
1648
|
/**
|
|
@@ -1654,7 +1654,7 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1654
1654
|
* @memberof ProductAccountMappingsApi
|
|
1655
1655
|
*/
|
|
1656
1656
|
public deleteProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest, options?: AxiosRequestConfig) {
|
|
1657
|
-
return ProductAccountMappingsApiFp(this.configuration).deleteProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1657
|
+
return ProductAccountMappingsApiFp(this.configuration).deleteProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1658
1658
|
}
|
|
1659
1659
|
|
|
1660
1660
|
/**
|
|
@@ -1666,7 +1666,7 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1666
1666
|
* @memberof ProductAccountMappingsApi
|
|
1667
1667
|
*/
|
|
1668
1668
|
public getProductAccountMapping(requestParameters: ProductAccountMappingsApiGetProductAccountMappingRequest, options?: AxiosRequestConfig) {
|
|
1669
|
-
return ProductAccountMappingsApiFp(this.configuration).getProductAccountMapping(requestParameters.productCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1669
|
+
return ProductAccountMappingsApiFp(this.configuration).getProductAccountMapping(requestParameters.productCode, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1670
1670
|
}
|
|
1671
1671
|
|
|
1672
1672
|
/**
|
|
@@ -1678,7 +1678,7 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1678
1678
|
* @memberof ProductAccountMappingsApi
|
|
1679
1679
|
*/
|
|
1680
1680
|
public getProductVersionAccountMapping(requestParameters: ProductAccountMappingsApiGetProductVersionAccountMappingRequest, options?: AxiosRequestConfig) {
|
|
1681
|
-
return ProductAccountMappingsApiFp(this.configuration).getProductVersionAccountMapping(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1681
|
+
return ProductAccountMappingsApiFp(this.configuration).getProductVersionAccountMapping(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1682
1682
|
}
|
|
1683
1683
|
|
|
1684
1684
|
/**
|
|
@@ -1690,7 +1690,7 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1690
1690
|
* @memberof ProductAccountMappingsApi
|
|
1691
1691
|
*/
|
|
1692
1692
|
public listProductAccountMappings(requestParameters: ProductAccountMappingsApiListProductAccountMappingsRequest = {}, options?: AxiosRequestConfig) {
|
|
1693
|
-
return ProductAccountMappingsApiFp(this.configuration).listProductAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1693
|
+
return ProductAccountMappingsApiFp(this.configuration).listProductAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1694
1694
|
}
|
|
1695
1695
|
|
|
1696
1696
|
/**
|
|
@@ -1702,7 +1702,7 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1702
1702
|
* @memberof ProductAccountMappingsApi
|
|
1703
1703
|
*/
|
|
1704
1704
|
public listProductsWithAccountMappings(requestParameters: ProductAccountMappingsApiListProductsWithAccountMappingsRequest = {}, options?: AxiosRequestConfig) {
|
|
1705
|
-
return ProductAccountMappingsApiFp(this.configuration).listProductsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1705
|
+
return ProductAccountMappingsApiFp(this.configuration).listProductsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1706
1706
|
}
|
|
1707
1707
|
|
|
1708
1708
|
/**
|
|
@@ -1714,7 +1714,7 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1714
1714
|
* @memberof ProductAccountMappingsApi
|
|
1715
1715
|
*/
|
|
1716
1716
|
public putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig) {
|
|
1717
|
-
return ProductAccountMappingsApiFp(this.configuration).putPremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.putPremiumItemAccountBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1717
|
+
return ProductAccountMappingsApiFp(this.configuration).putPremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.putPremiumItemAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
1720
1720
|
/**
|
|
@@ -1726,7 +1726,7 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1726
1726
|
* @memberof ProductAccountMappingsApi
|
|
1727
1727
|
*/
|
|
1728
1728
|
public putProductCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductCategoryAccountRequest, options?: AxiosRequestConfig) {
|
|
1729
|
-
return ProductAccountMappingsApiFp(this.configuration).putProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.putProductCategoryAccountBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1729
|
+
return ProductAccountMappingsApiFp(this.configuration).putProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.putProductCategoryAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1730
1730
|
}
|
|
1731
1731
|
|
|
1732
1732
|
/**
|
|
@@ -1738,7 +1738,7 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1738
1738
|
* @memberof ProductAccountMappingsApi
|
|
1739
1739
|
*/
|
|
1740
1740
|
public putProductRiskCarrier(requestParameters: ProductAccountMappingsApiPutProductRiskCarrierRequest, options?: AxiosRequestConfig) {
|
|
1741
|
-
return ProductAccountMappingsApiFp(this.configuration).putProductRiskCarrier(requestParameters.productCode, requestParameters.putProductRiskCarrierBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1741
|
+
return ProductAccountMappingsApiFp(this.configuration).putProductRiskCarrier(requestParameters.productCode, requestParameters.putProductRiskCarrierBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1742
1742
|
}
|
|
1743
1743
|
|
|
1744
1744
|
/**
|
|
@@ -1750,6 +1750,6 @@ export class ProductAccountMappingsApi extends BaseAPI {
|
|
|
1750
1750
|
* @memberof ProductAccountMappingsApi
|
|
1751
1751
|
*/
|
|
1752
1752
|
public putProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductVersionCategoryAccountRequest, options?: AxiosRequestConfig) {
|
|
1753
|
-
return ProductAccountMappingsApiFp(this.configuration).putProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.putProductVersionCategoryAccountBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1753
|
+
return ProductAccountMappingsApiFp(this.configuration).putProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.putProductVersionCategoryAccountBodyDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
1754
1754
|
}
|
|
1755
1755
|
}
|
package/base.ts
CHANGED
|
@@ -92,6 +92,10 @@ export class BaseAPI {
|
|
|
92
92
|
private username?: string;
|
|
93
93
|
private password?: string;
|
|
94
94
|
|
|
95
|
+
protected withOwner(options?: AxiosRequestConfig): AxiosRequestConfig {
|
|
96
|
+
return { ...options };
|
|
97
|
+
}
|
|
98
|
+
|
|
95
99
|
constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
|
|
96
100
|
if (configuration) {
|
|
97
101
|
this.configuration = configuration;
|
|
@@ -824,7 +824,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
824
824
|
*/
|
|
825
825
|
AccountingConfigsApi.prototype.createAndEnableSubledger = function (requestParameters, options) {
|
|
826
826
|
var _this = this;
|
|
827
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).createAndEnableSubledger(requestParameters.createAndEnableSubledgerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
827
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).createAndEnableSubledger(requestParameters.createAndEnableSubledgerRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
828
828
|
};
|
|
829
829
|
/**
|
|
830
830
|
* This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
@@ -836,7 +836,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
836
836
|
*/
|
|
837
837
|
AccountingConfigsApi.prototype.createAndEnableSubledgerFromFile = function (requestParameters, options) {
|
|
838
838
|
var _this = this;
|
|
839
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).createAndEnableSubledgerFromFile(requestParameters.file, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
839
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).createAndEnableSubledgerFromFile(requestParameters.file, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
840
840
|
};
|
|
841
841
|
/**
|
|
842
842
|
* This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -849,7 +849,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
849
849
|
AccountingConfigsApi.prototype.exportAccountingConfig = function (requestParameters, options) {
|
|
850
850
|
var _this = this;
|
|
851
851
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
852
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).exportAccountingConfig(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
852
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).exportAccountingConfig(requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
853
853
|
};
|
|
854
854
|
/**
|
|
855
855
|
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -862,7 +862,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
862
862
|
AccountingConfigsApi.prototype.getAccountingCategories = function (requestParameters, options) {
|
|
863
863
|
var _this = this;
|
|
864
864
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
865
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).getAccountingCategories(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
865
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).getAccountingCategories(requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
866
866
|
};
|
|
867
867
|
/**
|
|
868
868
|
* 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\"
|
|
@@ -875,7 +875,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
875
875
|
AccountingConfigsApi.prototype.getActivationSnapshot = function (requestParameters, options) {
|
|
876
876
|
var _this = this;
|
|
877
877
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
878
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).getActivationSnapshot(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
878
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).getActivationSnapshot(requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
879
879
|
};
|
|
880
880
|
/**
|
|
881
881
|
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -888,7 +888,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
888
888
|
AccountingConfigsApi.prototype.resetSubledger = function (requestParameters, options) {
|
|
889
889
|
var _this = this;
|
|
890
890
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
891
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).resetSubledger(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
891
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).resetSubledger(requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
892
892
|
};
|
|
893
893
|
/**
|
|
894
894
|
* This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
@@ -900,7 +900,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
900
900
|
*/
|
|
901
901
|
AccountingConfigsApi.prototype.validateAccountingConfig = function (requestParameters, options) {
|
|
902
902
|
var _this = this;
|
|
903
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).validateAccountingConfig(requestParameters.validateAccountingConfigRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
903
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).validateAccountingConfig(requestParameters.validateAccountingConfigRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
904
904
|
};
|
|
905
905
|
/**
|
|
906
906
|
* This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
@@ -912,7 +912,7 @@ var AccountingConfigsApi = /** @class */ (function (_super) {
|
|
|
912
912
|
*/
|
|
913
913
|
AccountingConfigsApi.prototype.validateAccountingConfigFromFile = function (requestParameters, options) {
|
|
914
914
|
var _this = this;
|
|
915
|
-
return (0, exports.AccountingConfigsApiFp)(this.configuration).validateAccountingConfigFromFile(requestParameters.file, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
915
|
+
return (0, exports.AccountingConfigsApiFp)(this.configuration).validateAccountingConfigFromFile(requestParameters.file, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
916
916
|
};
|
|
917
917
|
return AccountingConfigsApi;
|
|
918
918
|
}(base_1.BaseAPI));
|
|
@@ -616,7 +616,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
616
616
|
*/
|
|
617
617
|
BookingEntriesApi.prototype.createBookingEntry = function (requestParameters, options) {
|
|
618
618
|
var _this = this;
|
|
619
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
619
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
620
620
|
};
|
|
621
621
|
/**
|
|
622
622
|
* 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\"
|
|
@@ -628,7 +628,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
628
628
|
*/
|
|
629
629
|
BookingEntriesApi.prototype.createOrCorrectOpeningBalance = function (requestParameters, options) {
|
|
630
630
|
var _this = this;
|
|
631
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
631
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
632
632
|
};
|
|
633
633
|
/**
|
|
634
634
|
* This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
|
|
@@ -640,7 +640,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
640
640
|
*/
|
|
641
641
|
BookingEntriesApi.prototype.getBookingEntry = function (requestParameters, options) {
|
|
642
642
|
var _this = this;
|
|
643
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
643
|
+
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); });
|
|
644
644
|
};
|
|
645
645
|
/**
|
|
646
646
|
* 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\"
|
|
@@ -653,7 +653,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
653
653
|
BookingEntriesApi.prototype.listBookingEntries = function (requestParameters, options) {
|
|
654
654
|
var _this = this;
|
|
655
655
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
656
|
-
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); });
|
|
656
|
+
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); });
|
|
657
657
|
};
|
|
658
658
|
/**
|
|
659
659
|
* 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\"
|
|
@@ -665,7 +665,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
665
665
|
*/
|
|
666
666
|
BookingEntriesApi.prototype.postFinancialEvent = function (requestParameters, options) {
|
|
667
667
|
var _this = this;
|
|
668
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
668
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
669
669
|
};
|
|
670
670
|
return BookingEntriesApi;
|
|
671
671
|
}(base_1.BaseAPI));
|
|
@@ -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 () {
|
package/package.json
CHANGED