@emilgroup/accounting-sdk 1.34.1-beta.112 → 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 (61) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +24 -64
  4. package/api/booking-entries-api.ts +15 -40
  5. package/api/commission-account-mappings-api.ts +24 -64
  6. package/api/financial-accounts-api.ts +15 -40
  7. package/api/financial-transactions-api.ts +6 -16
  8. package/api/health-api.ts +1 -1
  9. package/api/number-ranges-api.ts +12 -32
  10. package/api/personal-accounts-api.ts +12 -32
  11. package/api/product-account-mappings-api.ts +36 -377
  12. package/base.ts +43 -239
  13. package/common.ts +2 -3
  14. package/configuration.ts +0 -20
  15. package/dist/api/accounting-configs-api.d.ts +8 -8
  16. package/dist/api/accounting-configs-api.js +64 -120
  17. package/dist/api/booking-entries-api.d.ts +5 -5
  18. package/dist/api/booking-entries-api.js +38 -67
  19. package/dist/api/commission-account-mappings-api.d.ts +8 -8
  20. package/dist/api/commission-account-mappings-api.js +61 -108
  21. package/dist/api/financial-accounts-api.d.ts +5 -5
  22. package/dist/api/financial-accounts-api.js +38 -67
  23. package/dist/api/financial-transactions-api.d.ts +2 -2
  24. package/dist/api/financial-transactions-api.js +14 -22
  25. package/dist/api/health-api.d.ts +1 -1
  26. package/dist/api/health-api.js +1 -1
  27. package/dist/api/number-ranges-api.d.ts +4 -4
  28. package/dist/api/number-ranges-api.js +30 -52
  29. package/dist/api/personal-accounts-api.d.ts +4 -4
  30. package/dist/api/personal-accounts-api.js +30 -52
  31. package/dist/api/product-account-mappings-api.d.ts +12 -168
  32. package/dist/api/product-account-mappings-api.js +94 -401
  33. package/dist/base.d.ts +0 -26
  34. package/dist/base.js +60 -243
  35. package/dist/common.d.ts +1 -1
  36. package/dist/common.js +0 -1
  37. package/dist/configuration.d.ts +0 -17
  38. package/dist/configuration.js +0 -2
  39. package/dist/models/account-mapping-class.d.ts +2 -3
  40. package/dist/models/account-mapping-class.js +3 -4
  41. package/dist/models/accounting-category-class.d.ts +0 -12
  42. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +2 -3
  43. package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -4
  44. package/dist/models/create-booking-entry-request-dto.d.ts +7 -1
  45. package/dist/models/create-booking-entry-request-dto.js +6 -0
  46. package/dist/models/create-financial-account-request-dto.d.ts +2 -3
  47. package/dist/models/create-financial-account-request-dto.js +3 -4
  48. package/dist/models/index.d.ts +0 -1
  49. package/dist/models/index.js +0 -1
  50. package/dist/models/premium-item-account-mapping-class.d.ts +0 -12
  51. package/models/account-mapping-class.ts +3 -4
  52. package/models/accounting-category-class.ts +0 -12
  53. package/models/accounting-config-data-dto-default-account-mappings.ts +3 -4
  54. package/models/create-booking-entry-request-dto.ts +7 -1
  55. package/models/create-financial-account-request-dto.ts +3 -4
  56. package/models/index.ts +0 -1
  57. package/models/premium-item-account-mapping-class.ts +0 -12
  58. package/package.json +2 -2
  59. package/dist/models/put-premium-item-carrier-body-dto.d.ts +0 -24
  60. package/dist/models/put-premium-item-carrier-body-dto.js +0 -15
  61. package/models/put-premium-item-carrier-body-dto.ts +0 -30
@@ -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));
@@ -19,7 +19,6 @@ import { ProductAccountMappingDetailClass } from '../models';
19
19
  import { ProductRiskCarrierClass } from '../models';
20
20
  import { ProductVersionAccountMappingDetailClass } from '../models';
21
21
  import { PutPremiumItemAccountBodyDto } from '../models';
22
- import { PutPremiumItemCarrierBodyDto } from '../models';
23
22
  import { PutProductCategoryAccountBodyDto } from '../models';
24
23
  import { PutProductRiskCarrierBodyDto } from '../models';
25
24
  import { PutProductVersionCategoryAccountBodyDto } from '../models';
@@ -41,17 +40,6 @@ export declare const ProductAccountMappingsApiAxiosParamCreator: (configuration?
41
40
  * @throws {RequiredError}
42
41
  */
43
42
  deletePremiumItemAccount: (productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
- /**
45
- * Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
46
- * @summary Delete the Premium Item Carrier
47
- * @param {string} productCode
48
- * @param {string} productVersionCode
49
- * @param {string} premiumFormulaCode
50
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
51
- * @param {*} [options] Override http request option.
52
- * @throws {RequiredError}
53
- */
54
- deletePremiumItemCarrier: (productCode: string, productVersionCode: string, premiumFormulaCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
43
  /**
56
44
  * 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\"
57
45
  * @summary Delete the Product Category Account
@@ -144,18 +132,6 @@ export declare const ProductAccountMappingsApiAxiosParamCreator: (configuration?
144
132
  * @throws {RequiredError}
145
133
  */
146
134
  putPremiumItemAccount: (productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, putPremiumItemAccountBodyDto: PutPremiumItemAccountBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
147
- /**
148
- * Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
149
- * @summary Update the Premium Item Carrier
150
- * @param {string} productCode
151
- * @param {string} productVersionCode
152
- * @param {string} premiumFormulaCode
153
- * @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
154
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
155
- * @param {*} [options] Override http request option.
156
- * @throws {RequiredError}
157
- */
158
- putPremiumItemCarrier: (productCode: string, productVersionCode: string, premiumFormulaCode: string, putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
159
135
  /**
160
136
  * 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\"
161
137
  * @summary Update the Product Category Account
@@ -207,17 +183,6 @@ export declare const ProductAccountMappingsApiFp: (configuration?: Configuration
207
183
  * @throws {RequiredError}
208
184
  */
209
185
  deletePremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
210
- /**
211
- * Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
212
- * @summary Delete the Premium Item Carrier
213
- * @param {string} productCode
214
- * @param {string} productVersionCode
215
- * @param {string} premiumFormulaCode
216
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
217
- * @param {*} [options] Override http request option.
218
- * @throws {RequiredError}
219
- */
220
- deletePremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
221
186
  /**
222
187
  * 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\"
223
188
  * @summary Delete the Product Category Account
@@ -310,18 +275,6 @@ export declare const ProductAccountMappingsApiFp: (configuration?: Configuration
310
275
  * @throws {RequiredError}
311
276
  */
312
277
  putPremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, putPremiumItemAccountBodyDto: PutPremiumItemAccountBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremiumItemAccountMappingClass>>;
313
- /**
314
- * Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
315
- * @summary Update the Premium Item Carrier
316
- * @param {string} productCode
317
- * @param {string} productVersionCode
318
- * @param {string} premiumFormulaCode
319
- * @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
320
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
321
- * @param {*} [options] Override http request option.
322
- * @throws {RequiredError}
323
- */
324
- putPremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremiumItemAccountMappingClass>>;
325
278
  /**
326
279
  * 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\"
327
280
  * @summary Update the Product Category Account
@@ -373,17 +326,6 @@ export declare const ProductAccountMappingsApiFactory: (configuration?: Configur
373
326
  * @throws {RequiredError}
374
327
  */
375
328
  deletePremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, authorization?: string, options?: any): AxiosPromise<void>;
376
- /**
377
- * Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
378
- * @summary Delete the Premium Item Carrier
379
- * @param {string} productCode
380
- * @param {string} productVersionCode
381
- * @param {string} premiumFormulaCode
382
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
383
- * @param {*} [options] Override http request option.
384
- * @throws {RequiredError}
385
- */
386
- deletePremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, authorization?: string, options?: any): AxiosPromise<void>;
387
329
  /**
388
330
  * 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\"
389
331
  * @summary Delete the Product Category Account
@@ -476,18 +418,6 @@ export declare const ProductAccountMappingsApiFactory: (configuration?: Configur
476
418
  * @throws {RequiredError}
477
419
  */
478
420
  putPremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, putPremiumItemAccountBodyDto: PutPremiumItemAccountBodyDto, authorization?: string, options?: any): AxiosPromise<PremiumItemAccountMappingClass>;
479
- /**
480
- * Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
481
- * @summary Update the Premium Item Carrier
482
- * @param {string} productCode
483
- * @param {string} productVersionCode
484
- * @param {string} premiumFormulaCode
485
- * @param {PutPremiumItemCarrierBodyDto} putPremiumItemCarrierBodyDto
486
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
487
- * @param {*} [options] Override http request option.
488
- * @throws {RequiredError}
489
- */
490
- putPremiumItemCarrier(productCode: string, productVersionCode: string, premiumFormulaCode: string, putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto, authorization?: string, options?: any): AxiosPromise<PremiumItemAccountMappingClass>;
491
421
  /**
492
422
  * 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\"
493
423
  * @summary Update the Product Category Account
@@ -559,37 +489,6 @@ export interface ProductAccountMappingsApiDeletePremiumItemAccountRequest {
559
489
  */
560
490
  readonly authorization?: string;
561
491
  }
562
- /**
563
- * Request parameters for deletePremiumItemCarrier operation in ProductAccountMappingsApi.
564
- * @export
565
- * @interface ProductAccountMappingsApiDeletePremiumItemCarrierRequest
566
- */
567
- export interface ProductAccountMappingsApiDeletePremiumItemCarrierRequest {
568
- /**
569
- *
570
- * @type {string}
571
- * @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
572
- */
573
- readonly productCode: string;
574
- /**
575
- *
576
- * @type {string}
577
- * @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
578
- */
579
- readonly productVersionCode: string;
580
- /**
581
- *
582
- * @type {string}
583
- * @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
584
- */
585
- readonly premiumFormulaCode: string;
586
- /**
587
- * Bearer Token: provided by the login endpoint under the name accessToken.
588
- * @type {string}
589
- * @memberof ProductAccountMappingsApiDeletePremiumItemCarrier
590
- */
591
- readonly authorization?: string;
592
- }
593
492
  /**
594
493
  * Request parameters for deleteProductCategoryAccount operation in ProductAccountMappingsApi.
595
494
  * @export
@@ -862,43 +761,6 @@ export interface ProductAccountMappingsApiPutPremiumItemAccountRequest {
862
761
  */
863
762
  readonly authorization?: string;
864
763
  }
865
- /**
866
- * Request parameters for putPremiumItemCarrier operation in ProductAccountMappingsApi.
867
- * @export
868
- * @interface ProductAccountMappingsApiPutPremiumItemCarrierRequest
869
- */
870
- export interface ProductAccountMappingsApiPutPremiumItemCarrierRequest {
871
- /**
872
- *
873
- * @type {string}
874
- * @memberof ProductAccountMappingsApiPutPremiumItemCarrier
875
- */
876
- readonly productCode: string;
877
- /**
878
- *
879
- * @type {string}
880
- * @memberof ProductAccountMappingsApiPutPremiumItemCarrier
881
- */
882
- readonly productVersionCode: string;
883
- /**
884
- *
885
- * @type {string}
886
- * @memberof ProductAccountMappingsApiPutPremiumItemCarrier
887
- */
888
- readonly premiumFormulaCode: string;
889
- /**
890
- *
891
- * @type {PutPremiumItemCarrierBodyDto}
892
- * @memberof ProductAccountMappingsApiPutPremiumItemCarrier
893
- */
894
- readonly putPremiumItemCarrierBodyDto: PutPremiumItemCarrierBodyDto;
895
- /**
896
- * Bearer Token: provided by the login endpoint under the name accessToken.
897
- * @type {string}
898
- * @memberof ProductAccountMappingsApiPutPremiumItemCarrier
899
- */
900
- readonly authorization?: string;
901
- }
902
764
  /**
903
765
  * Request parameters for putProductCategoryAccount operation in ProductAccountMappingsApi.
904
766
  * @export
@@ -1007,16 +869,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1007
869
  * @throws {RequiredError}
1008
870
  * @memberof ProductAccountMappingsApi
1009
871
  */
1010
- deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
1011
- /**
1012
- * Permanently deletes the Premium Item Carrier. Supply the unique code that was returned when you created the Premium Item Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
1013
- * @summary Delete the Premium Item Carrier
1014
- * @param {ProductAccountMappingsApiDeletePremiumItemCarrierRequest} requestParameters Request parameters.
1015
- * @param {*} [options] Override http request option.
1016
- * @throws {RequiredError}
1017
- * @memberof ProductAccountMappingsApi
1018
- */
1019
- deletePremiumItemCarrier(requestParameters: ProductAccountMappingsApiDeletePremiumItemCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
872
+ deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1020
873
  /**
1021
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\"
1022
875
  * @summary Delete the Product Category Account
@@ -1025,7 +878,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1025
878
  * @throws {RequiredError}
1026
879
  * @memberof ProductAccountMappingsApi
1027
880
  */
1028
- deleteProductCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
881
+ deleteProductCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1029
882
  /**
1030
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\"
1031
884
  * @summary Delete the Product Risk Carrier
@@ -1034,7 +887,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1034
887
  * @throws {RequiredError}
1035
888
  * @memberof ProductAccountMappingsApi
1036
889
  */
1037
- deleteProductRiskCarrier(requestParameters: ProductAccountMappingsApiDeleteProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
890
+ deleteProductRiskCarrier(requestParameters: ProductAccountMappingsApiDeleteProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1038
891
  /**
1039
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\"
1040
893
  * @summary Delete the Product Version Category Account
@@ -1043,7 +896,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1043
896
  * @throws {RequiredError}
1044
897
  * @memberof ProductAccountMappingsApi
1045
898
  */
1046
- deleteProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
899
+ deleteProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1047
900
  /**
1048
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\"
1049
902
  * @summary Retrieve the Product Account Mapping
@@ -1052,7 +905,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1052
905
  * @throws {RequiredError}
1053
906
  * @memberof ProductAccountMappingsApi
1054
907
  */
1055
- getProductAccountMapping(requestParameters: ProductAccountMappingsApiGetProductAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAccountMappingDetailClass, any, {}, any>>;
908
+ getProductAccountMapping(requestParameters: ProductAccountMappingsApiGetProductAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAccountMappingDetailClass, any, {}>>;
1056
909
  /**
1057
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\"
1058
911
  * @summary Retrieve the Product Version Account Mapping
@@ -1061,7 +914,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1061
914
  * @throws {RequiredError}
1062
915
  * @memberof ProductAccountMappingsApi
1063
916
  */
1064
- getProductVersionAccountMapping(requestParameters: ProductAccountMappingsApiGetProductVersionAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductVersionAccountMappingDetailClass, any, {}, any>>;
917
+ getProductVersionAccountMapping(requestParameters: ProductAccountMappingsApiGetProductVersionAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductVersionAccountMappingDetailClass, any, {}>>;
1065
918
  /**
1066
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\"
1067
920
  * @summary List Product Account Mappings
@@ -1070,7 +923,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1070
923
  * @throws {RequiredError}
1071
924
  * @memberof ProductAccountMappingsApi
1072
925
  */
1073
- listProductAccountMappings(requestParameters?: ProductAccountMappingsApiListProductAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductAccountMappingsResponseClass, any, {}, any>>;
926
+ listProductAccountMappings(requestParameters?: ProductAccountMappingsApiListProductAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductAccountMappingsResponseClass, any, {}>>;
1074
927
  /**
1075
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\"
1076
929
  * @summary List Products With Account Mappings
@@ -1079,7 +932,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1079
932
  * @throws {RequiredError}
1080
933
  * @memberof ProductAccountMappingsApi
1081
934
  */
1082
- listProductsWithAccountMappings(requestParameters?: ProductAccountMappingsApiListProductsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsWithAccountMappingsResponseClass, any, {}, any>>;
935
+ listProductsWithAccountMappings(requestParameters?: ProductAccountMappingsApiListProductsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsWithAccountMappingsResponseClass, any, {}>>;
1083
936
  /**
1084
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\"
1085
938
  * @summary Update the Premium Item Account
@@ -1088,16 +941,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1088
941
  * @throws {RequiredError}
1089
942
  * @memberof ProductAccountMappingsApi
1090
943
  */
1091
- putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}, any>>;
1092
- /**
1093
- * Updates the specified Premium Item Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
1094
- * @summary Update the Premium Item Carrier
1095
- * @param {ProductAccountMappingsApiPutPremiumItemCarrierRequest} requestParameters Request parameters.
1096
- * @param {*} [options] Override http request option.
1097
- * @throws {RequiredError}
1098
- * @memberof ProductAccountMappingsApi
1099
- */
1100
- putPremiumItemCarrier(requestParameters: ProductAccountMappingsApiPutPremiumItemCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}, any>>;
944
+ putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}>>;
1101
945
  /**
1102
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\"
1103
947
  * @summary Update the Product Category Account
@@ -1106,7 +950,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1106
950
  * @throws {RequiredError}
1107
951
  * @memberof ProductAccountMappingsApi
1108
952
  */
1109
- putProductCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}, any>>;
953
+ putProductCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}>>;
1110
954
  /**
1111
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\"
1112
956
  * @summary Update the Product Risk Carrier
@@ -1115,7 +959,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1115
959
  * @throws {RequiredError}
1116
960
  * @memberof ProductAccountMappingsApi
1117
961
  */
1118
- putProductRiskCarrier(requestParameters: ProductAccountMappingsApiPutProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRiskCarrierClass, any, {}, any>>;
962
+ putProductRiskCarrier(requestParameters: ProductAccountMappingsApiPutProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRiskCarrierClass, any, {}>>;
1119
963
  /**
1120
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\"
1121
965
  * @summary Update the Product Version Category Account
@@ -1124,5 +968,5 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
1124
968
  * @throws {RequiredError}
1125
969
  * @memberof ProductAccountMappingsApi
1126
970
  */
1127
- putProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}, any>>;
971
+ putProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}>>;
1128
972
  }