@emilgroup/accounting-sdk-node 1.32.1-beta.102 → 1.32.1-beta.103

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.
Files changed (35) hide show
  1. package/README.md +2 -2
  2. package/api/accounting-configs-api.ts +64 -24
  3. package/api/booking-entries-api.ts +40 -15
  4. package/api/commission-account-mappings-api.ts +64 -24
  5. package/api/financial-accounts-api.ts +40 -15
  6. package/api/financial-transactions-api.ts +16 -6
  7. package/api/health-api.ts +1 -1
  8. package/api/number-ranges-api.ts +32 -12
  9. package/api/personal-accounts-api.ts +32 -12
  10. package/api/product-account-mappings-api.ts +96 -36
  11. package/base.ts +4 -0
  12. package/common.ts +3 -2
  13. package/dist/api/accounting-configs-api.d.ts +8 -8
  14. package/dist/api/accounting-configs-api.js +120 -64
  15. package/dist/api/booking-entries-api.d.ts +5 -5
  16. package/dist/api/booking-entries-api.js +67 -38
  17. package/dist/api/commission-account-mappings-api.d.ts +8 -8
  18. package/dist/api/commission-account-mappings-api.js +108 -61
  19. package/dist/api/financial-accounts-api.d.ts +5 -5
  20. package/dist/api/financial-accounts-api.js +67 -38
  21. package/dist/api/financial-transactions-api.d.ts +2 -2
  22. package/dist/api/financial-transactions-api.js +22 -14
  23. package/dist/api/health-api.d.ts +1 -1
  24. package/dist/api/health-api.js +1 -1
  25. package/dist/api/number-ranges-api.d.ts +4 -4
  26. package/dist/api/number-ranges-api.js +52 -30
  27. package/dist/api/personal-accounts-api.d.ts +4 -4
  28. package/dist/api/personal-accounts-api.js +52 -30
  29. package/dist/api/product-account-mappings-api.d.ts +12 -12
  30. package/dist/api/product-account-mappings-api.js +172 -94
  31. package/dist/base.d.ts +1 -0
  32. package/dist/base.js +3 -0
  33. package/dist/common.d.ts +1 -1
  34. package/dist/common.js +1 -0
  35. package/package.json +2 -2
@@ -296,7 +296,7 @@ export declare class PersonalAccountsApi extends BaseAPI {
296
296
  * @throws {RequiredError}
297
297
  * @memberof PersonalAccountsApi
298
298
  */
299
- createPersonalAccount(requestParameters: PersonalAccountsApiCreatePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePersonalAccountResponseClass, any, {}>>;
299
+ createPersonalAccount(requestParameters: PersonalAccountsApiCreatePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePersonalAccountResponseClass, any, {}, any>>;
300
300
  /**
301
301
  * 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\"
302
302
  * @summary Delete the Personal Account
@@ -305,7 +305,7 @@ export declare class PersonalAccountsApi extends BaseAPI {
305
305
  * @throws {RequiredError}
306
306
  * @memberof PersonalAccountsApi
307
307
  */
308
- deletePersonalAccount(requestParameters: PersonalAccountsApiDeletePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
308
+ deletePersonalAccount(requestParameters: PersonalAccountsApiDeletePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
309
309
  /**
310
310
  * 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\"
311
311
  * @summary Retrieve the Personal Account
@@ -314,7 +314,7 @@ export declare class PersonalAccountsApi extends BaseAPI {
314
314
  * @throws {RequiredError}
315
315
  * @memberof PersonalAccountsApi
316
316
  */
317
- getPersonalAccount(requestParameters: PersonalAccountsApiGetPersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPersonalAccountResponseClass, any, {}>>;
317
+ getPersonalAccount(requestParameters: PersonalAccountsApiGetPersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPersonalAccountResponseClass, any, {}, any>>;
318
318
  /**
319
319
  * 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\"
320
320
  * @summary List Personal Accounts
@@ -323,5 +323,5 @@ export declare class PersonalAccountsApi extends BaseAPI {
323
323
  * @throws {RequiredError}
324
324
  * @memberof PersonalAccountsApi
325
325
  */
326
- listPersonalAccounts(requestParameters?: PersonalAccountsApiListPersonalAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPersonalAccountsResponseClass, any, {}>>;
326
+ listPersonalAccounts(requestParameters?: PersonalAccountsApiListPersonalAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPersonalAccountsResponseClass, any, {}, any>>;
327
327
  }
@@ -107,9 +107,10 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
107
107
  createPersonalAccount: function (createPersonalAccountRequestDto, authorization, options) {
108
108
  if (options === void 0) { options = {}; }
109
109
  return __awaiter(_this, void 0, void 0, function () {
110
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
- return __generator(this, function (_a) {
112
- switch (_a.label) {
110
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
111
+ var _a;
112
+ return __generator(this, function (_b) {
113
+ switch (_b.label) {
113
114
  case 0:
114
115
  // verify required parameter 'createPersonalAccountRequestDto' is not null or undefined
115
116
  (0, common_1.assertParamExists)('createPersonalAccount', 'createPersonalAccountRequestDto', createPersonalAccountRequestDto);
@@ -124,13 +125,19 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
124
125
  localVarQueryParameter = {};
125
126
  // authentication bearer required
126
127
  // http bearer authentication required
127
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
129
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
130
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
131
+ ];
128
132
  case 1:
129
133
  // authentication bearer required
130
134
  // http bearer authentication required
131
- _a.sent();
132
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
133
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
135
+ _b.sent();
136
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
137
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
138
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
139
+ if (authorizationValue || authorizationKeepEmpty) {
140
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
134
141
  }
135
142
  localVarHeaderParameter['Content-Type'] = 'application/json';
136
143
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -156,9 +163,10 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
156
163
  deletePersonalAccount: function (code, authorization, options) {
157
164
  if (options === void 0) { options = {}; }
158
165
  return __awaiter(_this, void 0, void 0, function () {
159
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
- return __generator(this, function (_a) {
161
- switch (_a.label) {
166
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
167
+ var _a;
168
+ return __generator(this, function (_b) {
169
+ switch (_b.label) {
162
170
  case 0:
163
171
  // verify required parameter 'code' is not null or undefined
164
172
  (0, common_1.assertParamExists)('deletePersonalAccount', 'code', code);
@@ -174,13 +182,19 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
174
182
  localVarQueryParameter = {};
175
183
  // authentication bearer required
176
184
  // http bearer authentication required
177
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
185
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
186
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
187
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
188
+ ];
178
189
  case 1:
179
190
  // authentication bearer required
180
191
  // http bearer authentication required
181
- _a.sent();
182
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
183
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
192
+ _b.sent();
193
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
194
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
195
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
196
+ if (authorizationValue || authorizationKeepEmpty) {
197
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
184
198
  }
185
199
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
200
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -205,9 +219,10 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
205
219
  getPersonalAccount: function (code, expand, authorization, options) {
206
220
  if (options === void 0) { options = {}; }
207
221
  return __awaiter(_this, void 0, void 0, function () {
208
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
209
- return __generator(this, function (_a) {
210
- switch (_a.label) {
222
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
223
+ var _a;
224
+ return __generator(this, function (_b) {
225
+ switch (_b.label) {
211
226
  case 0:
212
227
  // verify required parameter 'code' is not null or undefined
213
228
  (0, common_1.assertParamExists)('getPersonalAccount', 'code', code);
@@ -229,12 +244,15 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
229
244
  case 1:
230
245
  // authentication bearer required
231
246
  // http bearer authentication required
232
- _a.sent();
247
+ _b.sent();
233
248
  if (expand !== undefined) {
234
249
  localVarQueryParameter['expand'] = expand;
235
250
  }
236
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
237
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
251
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
252
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
253
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
254
+ if (authorizationValue || authorizationKeepEmpty) {
255
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
238
256
  }
239
257
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
240
258
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -264,9 +282,10 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
264
282
  listPersonalAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
265
283
  if (options === void 0) { options = {}; }
266
284
  return __awaiter(_this, void 0, void 0, function () {
267
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
268
- return __generator(this, function (_a) {
269
- switch (_a.label) {
285
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
286
+ var _a;
287
+ return __generator(this, function (_b) {
288
+ switch (_b.label) {
270
289
  case 0:
271
290
  localVarPath = "/accountingservice/v1/personal-accounts";
272
291
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -283,7 +302,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
283
302
  case 1:
284
303
  // authentication bearer required
285
304
  // http bearer authentication required
286
- _a.sent();
305
+ _b.sent();
287
306
  if (pageSize !== undefined) {
288
307
  localVarQueryParameter['pageSize'] = pageSize;
289
308
  }
@@ -305,8 +324,11 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
305
324
  if (filters !== undefined) {
306
325
  localVarQueryParameter['filters'] = filters;
307
326
  }
308
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
309
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
327
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
328
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
329
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
330
+ if (authorizationValue || authorizationKeepEmpty) {
331
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
310
332
  }
311
333
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
312
334
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -505,7 +527,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
505
527
  */
506
528
  PersonalAccountsApi.prototype.createPersonalAccount = function (requestParameters, options) {
507
529
  var _this = this;
508
- 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); });
509
531
  };
510
532
  /**
511
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\"
@@ -517,7 +539,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
517
539
  */
518
540
  PersonalAccountsApi.prototype.deletePersonalAccount = function (requestParameters, options) {
519
541
  var _this = this;
520
- 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); });
521
543
  };
522
544
  /**
523
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\"
@@ -529,7 +551,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
529
551
  */
530
552
  PersonalAccountsApi.prototype.getPersonalAccount = function (requestParameters, options) {
531
553
  var _this = this;
532
- 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); });
533
555
  };
534
556
  /**
535
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\"
@@ -542,7 +564,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
542
564
  PersonalAccountsApi.prototype.listPersonalAccounts = function (requestParameters, options) {
543
565
  var _this = this;
544
566
  if (requestParameters === void 0) { requestParameters = {}; }
545
- 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); });
546
568
  };
547
569
  return PersonalAccountsApi;
548
570
  }(base_1.BaseAPI));
@@ -869,7 +869,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
869
869
  * @throws {RequiredError}
870
870
  * @memberof ProductAccountMappingsApi
871
871
  */
872
- deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
872
+ deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
873
873
  /**
874
874
  * Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
875
875
  * @summary Delete the Product Category Account
@@ -878,7 +878,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
878
878
  * @throws {RequiredError}
879
879
  * @memberof ProductAccountMappingsApi
880
880
  */
881
- deleteProductCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
881
+ deleteProductCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
882
882
  /**
883
883
  * 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\"
884
884
  * @summary Delete the Product Risk Carrier
@@ -887,7 +887,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
887
887
  * @throws {RequiredError}
888
888
  * @memberof ProductAccountMappingsApi
889
889
  */
890
- deleteProductRiskCarrier(requestParameters: ProductAccountMappingsApiDeleteProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
890
+ deleteProductRiskCarrier(requestParameters: ProductAccountMappingsApiDeleteProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
891
891
  /**
892
892
  * 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\"
893
893
  * @summary Delete the Product Version Category Account
@@ -896,7 +896,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
896
896
  * @throws {RequiredError}
897
897
  * @memberof ProductAccountMappingsApi
898
898
  */
899
- deleteProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
899
+ deleteProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
900
900
  /**
901
901
  * 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\"
902
902
  * @summary Retrieve the Product Account Mapping
@@ -905,7 +905,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
905
905
  * @throws {RequiredError}
906
906
  * @memberof ProductAccountMappingsApi
907
907
  */
908
- getProductAccountMapping(requestParameters: ProductAccountMappingsApiGetProductAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAccountMappingDetailClass, any, {}>>;
908
+ getProductAccountMapping(requestParameters: ProductAccountMappingsApiGetProductAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAccountMappingDetailClass, any, {}, any>>;
909
909
  /**
910
910
  * 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\"
911
911
  * @summary Retrieve the Product Version Account Mapping
@@ -914,7 +914,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
914
914
  * @throws {RequiredError}
915
915
  * @memberof ProductAccountMappingsApi
916
916
  */
917
- getProductVersionAccountMapping(requestParameters: ProductAccountMappingsApiGetProductVersionAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductVersionAccountMappingDetailClass, any, {}>>;
917
+ getProductVersionAccountMapping(requestParameters: ProductAccountMappingsApiGetProductVersionAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductVersionAccountMappingDetailClass, any, {}, any>>;
918
918
  /**
919
919
  * 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\"
920
920
  * @summary List Product Account Mappings
@@ -923,7 +923,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
923
923
  * @throws {RequiredError}
924
924
  * @memberof ProductAccountMappingsApi
925
925
  */
926
- listProductAccountMappings(requestParameters?: ProductAccountMappingsApiListProductAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductAccountMappingsResponseClass, any, {}>>;
926
+ listProductAccountMappings(requestParameters?: ProductAccountMappingsApiListProductAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductAccountMappingsResponseClass, any, {}, any>>;
927
927
  /**
928
928
  * 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\"
929
929
  * @summary List Products With Account Mappings
@@ -932,7 +932,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
932
932
  * @throws {RequiredError}
933
933
  * @memberof ProductAccountMappingsApi
934
934
  */
935
- listProductsWithAccountMappings(requestParameters?: ProductAccountMappingsApiListProductsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsWithAccountMappingsResponseClass, any, {}>>;
935
+ listProductsWithAccountMappings(requestParameters?: ProductAccountMappingsApiListProductsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsWithAccountMappingsResponseClass, any, {}, any>>;
936
936
  /**
937
937
  * 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\"
938
938
  * @summary Update the Premium Item Account
@@ -941,7 +941,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
941
941
  * @throws {RequiredError}
942
942
  * @memberof ProductAccountMappingsApi
943
943
  */
944
- putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}>>;
944
+ putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}, any>>;
945
945
  /**
946
946
  * Updates the specified Product Category Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
947
947
  * @summary Update the Product Category Account
@@ -950,7 +950,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
950
950
  * @throws {RequiredError}
951
951
  * @memberof ProductAccountMappingsApi
952
952
  */
953
- putProductCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}>>;
953
+ putProductCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}, any>>;
954
954
  /**
955
955
  * 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\"
956
956
  * @summary Update the Product Risk Carrier
@@ -959,7 +959,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
959
959
  * @throws {RequiredError}
960
960
  * @memberof ProductAccountMappingsApi
961
961
  */
962
- putProductRiskCarrier(requestParameters: ProductAccountMappingsApiPutProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRiskCarrierClass, any, {}>>;
962
+ putProductRiskCarrier(requestParameters: ProductAccountMappingsApiPutProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRiskCarrierClass, any, {}, any>>;
963
963
  /**
964
964
  * 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\"
965
965
  * @summary Update the Product Version Category Account
@@ -968,5 +968,5 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
968
968
  * @throws {RequiredError}
969
969
  * @memberof ProductAccountMappingsApi
970
970
  */
971
- putProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}>>;
971
+ putProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}, any>>;
972
972
  }