@emilgroup/accounting-sdk 1.34.1-beta.111 → 1.34.1-beta.113

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 (52) hide show
  1. package/README.md +2 -2
  2. package/api/accounting-configs-api.ts +24 -64
  3. package/api/booking-entries-api.ts +15 -40
  4. package/api/commission-account-mappings-api.ts +24 -64
  5. package/api/financial-accounts-api.ts +15 -40
  6. package/api/financial-transactions-api.ts +6 -16
  7. package/api/health-api.ts +1 -1
  8. package/api/number-ranges-api.ts +12 -32
  9. package/api/personal-accounts-api.ts +12 -32
  10. package/api/product-account-mappings-api.ts +36 -96
  11. package/base.ts +43 -239
  12. package/common.ts +2 -3
  13. package/configuration.ts +0 -20
  14. package/dist/api/accounting-configs-api.d.ts +8 -8
  15. package/dist/api/accounting-configs-api.js +64 -120
  16. package/dist/api/booking-entries-api.d.ts +5 -5
  17. package/dist/api/booking-entries-api.js +38 -67
  18. package/dist/api/commission-account-mappings-api.d.ts +8 -8
  19. package/dist/api/commission-account-mappings-api.js +61 -108
  20. package/dist/api/financial-accounts-api.d.ts +5 -5
  21. package/dist/api/financial-accounts-api.js +38 -67
  22. package/dist/api/financial-transactions-api.d.ts +2 -2
  23. package/dist/api/financial-transactions-api.js +14 -22
  24. package/dist/api/health-api.d.ts +1 -1
  25. package/dist/api/health-api.js +1 -1
  26. package/dist/api/number-ranges-api.d.ts +4 -4
  27. package/dist/api/number-ranges-api.js +30 -52
  28. package/dist/api/personal-accounts-api.d.ts +4 -4
  29. package/dist/api/personal-accounts-api.js +30 -52
  30. package/dist/api/product-account-mappings-api.d.ts +12 -12
  31. package/dist/api/product-account-mappings-api.js +94 -172
  32. package/dist/base.d.ts +0 -26
  33. package/dist/base.js +60 -243
  34. package/dist/common.d.ts +1 -1
  35. package/dist/common.js +0 -1
  36. package/dist/configuration.d.ts +0 -17
  37. package/dist/configuration.js +0 -2
  38. package/dist/models/account-mapping-class.d.ts +2 -3
  39. package/dist/models/account-mapping-class.js +3 -4
  40. package/dist/models/accounting-category-class.d.ts +0 -12
  41. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +2 -3
  42. package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -4
  43. package/dist/models/create-booking-entry-request-dto.d.ts +7 -1
  44. package/dist/models/create-booking-entry-request-dto.js +6 -0
  45. package/dist/models/create-financial-account-request-dto.d.ts +2 -3
  46. package/dist/models/create-financial-account-request-dto.js +3 -4
  47. package/models/account-mapping-class.ts +3 -4
  48. package/models/accounting-category-class.ts +0 -12
  49. package/models/accounting-config-data-dto-default-account-mappings.ts +3 -4
  50. package/models/create-booking-entry-request-dto.ts +7 -1
  51. package/models/create-financial-account-request-dto.ts +3 -4
  52. 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, {}, any>>;
299
+ createPersonalAccount(requestParameters: PersonalAccountsApiCreatePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePersonalAccountResponseClass, 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, {}, any>>;
308
+ deletePersonalAccount(requestParameters: PersonalAccountsApiDeletePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, 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, {}, any>>;
317
+ getPersonalAccount(requestParameters: PersonalAccountsApiGetPersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPersonalAccountResponseClass, 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, {}, any>>;
326
+ listPersonalAccounts(requestParameters?: PersonalAccountsApiListPersonalAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPersonalAccountsResponseClass, any, {}>>;
327
327
  }
@@ -103,10 +103,9 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
103
103
  createPersonalAccount: function (createPersonalAccountRequestDto, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
- var _a;
108
- return __generator(this, function (_b) {
109
- switch (_b.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
+ return __generator(this, function (_a) {
108
+ switch (_a.label) {
110
109
  case 0:
111
110
  // verify required parameter 'createPersonalAccountRequestDto' is not null or undefined
112
111
  (0, common_1.assertParamExists)('createPersonalAccount', 'createPersonalAccountRequestDto', createPersonalAccountRequestDto);
@@ -121,19 +120,13 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
121
120
  localVarQueryParameter = {};
122
121
  // authentication bearer required
123
122
  // http bearer authentication required
124
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
125
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
126
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
127
- ];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
124
  case 1:
129
125
  // authentication bearer required
130
126
  // http bearer authentication required
131
- _b.sent();
132
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
133
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
134
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
135
- if (authorizationValue || authorizationKeepEmpty) {
136
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
127
+ _a.sent();
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
137
130
  }
138
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
139
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -159,10 +152,9 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
159
152
  deletePersonalAccount: function (code, authorization, options) {
160
153
  if (options === void 0) { options = {}; }
161
154
  return __awaiter(_this, void 0, void 0, function () {
162
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
163
- var _a;
164
- return __generator(this, function (_b) {
165
- switch (_b.label) {
155
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
+ return __generator(this, function (_a) {
157
+ switch (_a.label) {
166
158
  case 0:
167
159
  // verify required parameter 'code' is not null or undefined
168
160
  (0, common_1.assertParamExists)('deletePersonalAccount', 'code', code);
@@ -178,19 +170,13 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
178
170
  localVarQueryParameter = {};
179
171
  // authentication bearer required
180
172
  // http bearer authentication required
181
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
182
- // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
183
- // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
184
- ];
173
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
185
174
  case 1:
186
175
  // authentication bearer required
187
176
  // http bearer authentication required
188
- _b.sent();
189
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
190
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
191
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
192
- if (authorizationValue || authorizationKeepEmpty) {
193
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
177
+ _a.sent();
178
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
179
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
194
180
  }
195
181
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
196
182
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -215,10 +201,9 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
215
201
  getPersonalAccount: function (code, expand, authorization, options) {
216
202
  if (options === void 0) { options = {}; }
217
203
  return __awaiter(_this, void 0, void 0, function () {
218
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
219
- var _a;
220
- return __generator(this, function (_b) {
221
- switch (_b.label) {
204
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
205
+ return __generator(this, function (_a) {
206
+ switch (_a.label) {
222
207
  case 0:
223
208
  // verify required parameter 'code' is not null or undefined
224
209
  (0, common_1.assertParamExists)('getPersonalAccount', 'code', code);
@@ -240,15 +225,12 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
240
225
  case 1:
241
226
  // authentication bearer required
242
227
  // http bearer authentication required
243
- _b.sent();
228
+ _a.sent();
244
229
  if (expand !== undefined) {
245
230
  localVarQueryParameter['expand'] = expand;
246
231
  }
247
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
248
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
249
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
250
- if (authorizationValue || authorizationKeepEmpty) {
251
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
232
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
233
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
252
234
  }
253
235
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
254
236
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -278,10 +260,9 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
278
260
  listPersonalAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
279
261
  if (options === void 0) { options = {}; }
280
262
  return __awaiter(_this, void 0, void 0, function () {
281
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
282
- var _a;
283
- return __generator(this, function (_b) {
284
- switch (_b.label) {
263
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
264
+ return __generator(this, function (_a) {
265
+ switch (_a.label) {
285
266
  case 0:
286
267
  localVarPath = "/accountingservice/v1/personal-accounts";
287
268
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -298,7 +279,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
298
279
  case 1:
299
280
  // authentication bearer required
300
281
  // http bearer authentication required
301
- _b.sent();
282
+ _a.sent();
302
283
  if (pageSize !== undefined) {
303
284
  localVarQueryParameter['pageSize'] = pageSize;
304
285
  }
@@ -320,11 +301,8 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
320
301
  if (filters !== undefined) {
321
302
  localVarQueryParameter['filters'] = filters;
322
303
  }
323
- authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
324
- authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
325
- authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
326
- if (authorizationValue || authorizationKeepEmpty) {
327
- localVarHeaderParameter['Authorization'] = String(authorizationValue);
304
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
305
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
328
306
  }
329
307
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
330
308
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -523,7 +501,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
523
501
  */
524
502
  PersonalAccountsApi.prototype.createPersonalAccount = function (requestParameters, options) {
525
503
  var _this = this;
526
- return (0, exports.PersonalAccountsApiFp)(this.configuration).createPersonalAccount(requestParameters.createPersonalAccountRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
504
+ return (0, exports.PersonalAccountsApiFp)(this.configuration).createPersonalAccount(requestParameters.createPersonalAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
527
505
  };
528
506
  /**
529
507
  * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
@@ -535,7 +513,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
535
513
  */
536
514
  PersonalAccountsApi.prototype.deletePersonalAccount = function (requestParameters, options) {
537
515
  var _this = this;
538
- return (0, exports.PersonalAccountsApiFp)(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
516
+ return (0, exports.PersonalAccountsApiFp)(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
539
517
  };
540
518
  /**
541
519
  * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
@@ -547,7 +525,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
547
525
  */
548
526
  PersonalAccountsApi.prototype.getPersonalAccount = function (requestParameters, options) {
549
527
  var _this = this;
550
- return (0, exports.PersonalAccountsApiFp)(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
528
+ return (0, exports.PersonalAccountsApiFp)(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
551
529
  };
552
530
  /**
553
531
  * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
@@ -560,7 +538,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
560
538
  PersonalAccountsApi.prototype.listPersonalAccounts = function (requestParameters, options) {
561
539
  var _this = this;
562
540
  if (requestParameters === void 0) { requestParameters = {}; }
563
- return (0, exports.PersonalAccountsApiFp)(this.configuration).listPersonalAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
541
+ 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); });
564
542
  };
565
543
  return PersonalAccountsApi;
566
544
  }(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, {}, any>>;
872
+ deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, 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, {}, any>>;
881
+ deleteProductCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, 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, {}, any>>;
890
+ deleteProductRiskCarrier(requestParameters: ProductAccountMappingsApiDeleteProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, 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, {}, any>>;
899
+ deleteProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, 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, {}, any>>;
908
+ getProductAccountMapping(requestParameters: ProductAccountMappingsApiGetProductAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAccountMappingDetailClass, 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, {}, any>>;
917
+ getProductVersionAccountMapping(requestParameters: ProductAccountMappingsApiGetProductVersionAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductVersionAccountMappingDetailClass, 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, {}, any>>;
926
+ listProductAccountMappings(requestParameters?: ProductAccountMappingsApiListProductAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductAccountMappingsResponseClass, 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, {}, any>>;
935
+ listProductsWithAccountMappings(requestParameters?: ProductAccountMappingsApiListProductsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsWithAccountMappingsResponseClass, 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, {}, any>>;
944
+ putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, 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, {}, any>>;
953
+ putProductCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, 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, {}, any>>;
962
+ putProductRiskCarrier(requestParameters: ProductAccountMappingsApiPutProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRiskCarrierClass, 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, {}, any>>;
971
+ putProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}>>;
972
972
  }