@emilgroup/accounting-sdk 1.34.1-beta.76 → 1.34.1-beta.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +32 -16
- package/api/booking-entries-api.ts +24 -14
- package/api/commission-account-mappings-api.ts +32 -16
- package/api/financial-accounts-api.ts +20 -10
- package/api/financial-transactions-api.ts +8 -4
- package/api/number-ranges-api.ts +16 -8
- package/api/personal-accounts-api.ts +16 -8
- package/api/product-account-mappings-api.ts +265 -20
- package/base.ts +174 -41
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/accounting-configs-api.d.ts +8 -8
- package/dist/api/accounting-configs-api.js +56 -32
- package/dist/api/booking-entries-api.d.ts +9 -9
- package/dist/api/booking-entries-api.js +33 -22
- package/dist/api/commission-account-mappings-api.d.ts +8 -8
- package/dist/api/commission-account-mappings-api.js +47 -29
- package/dist/api/financial-accounts-api.d.ts +5 -5
- package/dist/api/financial-accounts-api.js +29 -18
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +8 -6
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/number-ranges-api.d.ts +4 -4
- package/dist/api/number-ranges-api.js +22 -14
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +22 -14
- package/dist/api/product-account-mappings-api.d.ts +131 -10
- package/dist/api/product-account-mappings-api.js +261 -38
- package/dist/base.d.ts +24 -0
- package/dist/base.js +178 -59
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/account-mapping-class.d.ts +2 -0
- package/dist/models/account-mapping-class.js +3 -1
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +2 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -1
- package/dist/models/booking-entry-class.d.ts +16 -2
- package/dist/models/booking-entry-class.js +3 -1
- package/dist/models/create-booking-entry-request-dto.d.ts +3 -2
- package/dist/models/create-booking-entry-request-dto.js +3 -2
- package/dist/models/create-financial-account-request-dto.d.ts +2 -0
- package/dist/models/create-financial-account-request-dto.js +3 -1
- package/dist/models/financial-transaction-class.d.ts +6 -0
- package/dist/models/financial-transaction-data-dto.d.ts +6 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/post-financial-event-request-dto.d.ts +3 -2
- package/dist/models/post-financial-event-request-dto.js +1 -0
- package/dist/models/product-account-mapping-detail-class.d.ts +6 -0
- package/dist/models/product-risk-carrier-class.d.ts +42 -0
- package/dist/models/product-risk-carrier-class.js +15 -0
- package/dist/models/put-product-risk-carrier-body-dto.d.ts +24 -0
- package/dist/models/put-product-risk-carrier-body-dto.js +15 -0
- package/models/account-mapping-class.ts +3 -1
- package/models/accounting-config-data-dto-default-account-mappings.ts +3 -1
- package/models/booking-entry-class.ts +17 -3
- package/models/create-booking-entry-request-dto.ts +4 -3
- package/models/create-financial-account-request-dto.ts +3 -1
- package/models/financial-transaction-class.ts +6 -0
- package/models/financial-transaction-data-dto.ts +6 -0
- package/models/index.ts +2 -0
- package/models/post-financial-event-request-dto.ts +3 -2
- package/models/product-account-mapping-detail-class.ts +6 -0
- package/models/product-risk-carrier-class.ts +48 -0
- package/models/put-product-risk-carrier-body-dto.ts +30 -0
- 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
|
}
|
|
@@ -103,7 +103,7 @@ 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, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
deletePersonalAccount: function (code, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -170,13 +173,16 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
170
173
|
localVarQueryParameter = {};
|
|
171
174
|
// authentication bearer required
|
|
172
175
|
// http bearer authentication required
|
|
173
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
];
|
|
174
179
|
case 1:
|
|
175
180
|
// authentication bearer required
|
|
176
181
|
// http bearer authentication required
|
|
177
182
|
_a.sent();
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
188
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -201,7 +207,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
201
207
|
getPersonalAccount: function (code, expand, authorization, options) {
|
|
202
208
|
if (options === void 0) { options = {}; }
|
|
203
209
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
210
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
205
211
|
return __generator(this, function (_a) {
|
|
206
212
|
switch (_a.label) {
|
|
207
213
|
case 0:
|
|
@@ -229,8 +235,9 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
229
235
|
if (expand !== undefined) {
|
|
230
236
|
localVarQueryParameter['expand'] = expand;
|
|
231
237
|
}
|
|
232
|
-
|
|
233
|
-
|
|
238
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
239
|
+
if (authorizationValue) {
|
|
240
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
234
241
|
}
|
|
235
242
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
236
243
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -260,7 +267,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
260
267
|
listPersonalAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
261
268
|
if (options === void 0) { options = {}; }
|
|
262
269
|
return __awaiter(_this, void 0, void 0, function () {
|
|
263
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
264
271
|
return __generator(this, function (_a) {
|
|
265
272
|
switch (_a.label) {
|
|
266
273
|
case 0:
|
|
@@ -301,8 +308,9 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
301
308
|
if (filters !== undefined) {
|
|
302
309
|
localVarQueryParameter['filters'] = filters;
|
|
303
310
|
}
|
|
304
|
-
|
|
305
|
-
|
|
311
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
312
|
+
if (authorizationValue) {
|
|
313
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
306
314
|
}
|
|
307
315
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
308
316
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -16,9 +16,11 @@ import { ListProductAccountMappingsResponseClass } from '../models';
|
|
|
16
16
|
import { ListProductsWithAccountMappingsResponseClass } from '../models';
|
|
17
17
|
import { PremiumItemAccountMappingClass } from '../models';
|
|
18
18
|
import { ProductAccountMappingDetailClass } from '../models';
|
|
19
|
+
import { ProductRiskCarrierClass } from '../models';
|
|
19
20
|
import { ProductVersionAccountMappingDetailClass } from '../models';
|
|
20
21
|
import { PutPremiumItemAccountBodyDto } from '../models';
|
|
21
22
|
import { PutProductCategoryAccountBodyDto } from '../models';
|
|
23
|
+
import { PutProductRiskCarrierBodyDto } from '../models';
|
|
22
24
|
import { PutProductVersionCategoryAccountBodyDto } from '../models';
|
|
23
25
|
import { ResolvedAccountMappingClass } from '../models';
|
|
24
26
|
/**
|
|
@@ -48,6 +50,15 @@ export declare const ProductAccountMappingsApiAxiosParamCreator: (configuration?
|
|
|
48
50
|
* @throws {RequiredError}
|
|
49
51
|
*/
|
|
50
52
|
deleteProductCategoryAccount: (productCode: string, category: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
* 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\"
|
|
55
|
+
* @summary Delete the Product Risk Carrier
|
|
56
|
+
* @param {string} productCode
|
|
57
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
deleteProductRiskCarrier: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
62
|
/**
|
|
52
63
|
* 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\"
|
|
53
64
|
* @summary Delete the Product Version Category Account
|
|
@@ -132,6 +143,16 @@ export declare const ProductAccountMappingsApiAxiosParamCreator: (configuration?
|
|
|
132
143
|
* @throws {RequiredError}
|
|
133
144
|
*/
|
|
134
145
|
putProductCategoryAccount: (productCode: string, category: string, putProductCategoryAccountBodyDto: PutProductCategoryAccountBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
146
|
+
/**
|
|
147
|
+
* 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\"
|
|
148
|
+
* @summary Update the Product Risk Carrier
|
|
149
|
+
* @param {string} productCode
|
|
150
|
+
* @param {PutProductRiskCarrierBodyDto} putProductRiskCarrierBodyDto
|
|
151
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
putProductRiskCarrier: (productCode: string, putProductRiskCarrierBodyDto: PutProductRiskCarrierBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
135
156
|
/**
|
|
136
157
|
* 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\"
|
|
137
158
|
* @summary Update the Product Version Category Account
|
|
@@ -172,6 +193,15 @@ export declare const ProductAccountMappingsApiFp: (configuration?: Configuration
|
|
|
172
193
|
* @throws {RequiredError}
|
|
173
194
|
*/
|
|
174
195
|
deleteProductCategoryAccount(productCode: string, category: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
196
|
+
/**
|
|
197
|
+
* 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\"
|
|
198
|
+
* @summary Delete the Product Risk Carrier
|
|
199
|
+
* @param {string} productCode
|
|
200
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
deleteProductRiskCarrier(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
175
205
|
/**
|
|
176
206
|
* 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\"
|
|
177
207
|
* @summary Delete the Product Version Category Account
|
|
@@ -256,6 +286,16 @@ export declare const ProductAccountMappingsApiFp: (configuration?: Configuration
|
|
|
256
286
|
* @throws {RequiredError}
|
|
257
287
|
*/
|
|
258
288
|
putProductCategoryAccount(productCode: string, category: string, putProductCategoryAccountBodyDto: PutProductCategoryAccountBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResolvedAccountMappingClass>>;
|
|
289
|
+
/**
|
|
290
|
+
* 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\"
|
|
291
|
+
* @summary Update the Product Risk Carrier
|
|
292
|
+
* @param {string} productCode
|
|
293
|
+
* @param {PutProductRiskCarrierBodyDto} putProductRiskCarrierBodyDto
|
|
294
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
295
|
+
* @param {*} [options] Override http request option.
|
|
296
|
+
* @throws {RequiredError}
|
|
297
|
+
*/
|
|
298
|
+
putProductRiskCarrier(productCode: string, putProductRiskCarrierBodyDto: PutProductRiskCarrierBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRiskCarrierClass>>;
|
|
259
299
|
/**
|
|
260
300
|
* 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\"
|
|
261
301
|
* @summary Update the Product Version Category Account
|
|
@@ -296,6 +336,15 @@ export declare const ProductAccountMappingsApiFactory: (configuration?: Configur
|
|
|
296
336
|
* @throws {RequiredError}
|
|
297
337
|
*/
|
|
298
338
|
deleteProductCategoryAccount(productCode: string, category: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
339
|
+
/**
|
|
340
|
+
* 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\"
|
|
341
|
+
* @summary Delete the Product Risk Carrier
|
|
342
|
+
* @param {string} productCode
|
|
343
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
*/
|
|
347
|
+
deleteProductRiskCarrier(productCode: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
299
348
|
/**
|
|
300
349
|
* 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\"
|
|
301
350
|
* @summary Delete the Product Version Category Account
|
|
@@ -380,6 +429,16 @@ export declare const ProductAccountMappingsApiFactory: (configuration?: Configur
|
|
|
380
429
|
* @throws {RequiredError}
|
|
381
430
|
*/
|
|
382
431
|
putProductCategoryAccount(productCode: string, category: string, putProductCategoryAccountBodyDto: PutProductCategoryAccountBodyDto, authorization?: string, options?: any): AxiosPromise<ResolvedAccountMappingClass>;
|
|
432
|
+
/**
|
|
433
|
+
* 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\"
|
|
434
|
+
* @summary Update the Product Risk Carrier
|
|
435
|
+
* @param {string} productCode
|
|
436
|
+
* @param {PutProductRiskCarrierBodyDto} putProductRiskCarrierBodyDto
|
|
437
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
*/
|
|
441
|
+
putProductRiskCarrier(productCode: string, putProductRiskCarrierBodyDto: PutProductRiskCarrierBodyDto, authorization?: string, options?: any): AxiosPromise<ProductRiskCarrierClass>;
|
|
383
442
|
/**
|
|
384
443
|
* 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\"
|
|
385
444
|
* @summary Update the Product Version Category Account
|
|
@@ -455,6 +514,25 @@ export interface ProductAccountMappingsApiDeleteProductCategoryAccountRequest {
|
|
|
455
514
|
*/
|
|
456
515
|
readonly authorization?: string;
|
|
457
516
|
}
|
|
517
|
+
/**
|
|
518
|
+
* Request parameters for deleteProductRiskCarrier operation in ProductAccountMappingsApi.
|
|
519
|
+
* @export
|
|
520
|
+
* @interface ProductAccountMappingsApiDeleteProductRiskCarrierRequest
|
|
521
|
+
*/
|
|
522
|
+
export interface ProductAccountMappingsApiDeleteProductRiskCarrierRequest {
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @type {string}
|
|
526
|
+
* @memberof ProductAccountMappingsApiDeleteProductRiskCarrier
|
|
527
|
+
*/
|
|
528
|
+
readonly productCode: string;
|
|
529
|
+
/**
|
|
530
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
531
|
+
* @type {string}
|
|
532
|
+
* @memberof ProductAccountMappingsApiDeleteProductRiskCarrier
|
|
533
|
+
*/
|
|
534
|
+
readonly authorization?: string;
|
|
535
|
+
}
|
|
458
536
|
/**
|
|
459
537
|
* Request parameters for deleteProductVersionCategoryAccount operation in ProductAccountMappingsApi.
|
|
460
538
|
* @export
|
|
@@ -714,6 +792,31 @@ export interface ProductAccountMappingsApiPutProductCategoryAccountRequest {
|
|
|
714
792
|
*/
|
|
715
793
|
readonly authorization?: string;
|
|
716
794
|
}
|
|
795
|
+
/**
|
|
796
|
+
* Request parameters for putProductRiskCarrier operation in ProductAccountMappingsApi.
|
|
797
|
+
* @export
|
|
798
|
+
* @interface ProductAccountMappingsApiPutProductRiskCarrierRequest
|
|
799
|
+
*/
|
|
800
|
+
export interface ProductAccountMappingsApiPutProductRiskCarrierRequest {
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @type {string}
|
|
804
|
+
* @memberof ProductAccountMappingsApiPutProductRiskCarrier
|
|
805
|
+
*/
|
|
806
|
+
readonly productCode: string;
|
|
807
|
+
/**
|
|
808
|
+
*
|
|
809
|
+
* @type {PutProductRiskCarrierBodyDto}
|
|
810
|
+
* @memberof ProductAccountMappingsApiPutProductRiskCarrier
|
|
811
|
+
*/
|
|
812
|
+
readonly putProductRiskCarrierBodyDto: PutProductRiskCarrierBodyDto;
|
|
813
|
+
/**
|
|
814
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
815
|
+
* @type {string}
|
|
816
|
+
* @memberof ProductAccountMappingsApiPutProductRiskCarrier
|
|
817
|
+
*/
|
|
818
|
+
readonly authorization?: string;
|
|
819
|
+
}
|
|
717
820
|
/**
|
|
718
821
|
* Request parameters for putProductVersionCategoryAccount operation in ProductAccountMappingsApi.
|
|
719
822
|
* @export
|
|
@@ -766,7 +869,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
766
869
|
* @throws {RequiredError}
|
|
767
870
|
* @memberof ProductAccountMappingsApi
|
|
768
871
|
*/
|
|
769
|
-
deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
872
|
+
deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
770
873
|
/**
|
|
771
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\"
|
|
772
875
|
* @summary Delete the Product Category Account
|
|
@@ -775,7 +878,16 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
775
878
|
* @throws {RequiredError}
|
|
776
879
|
* @memberof ProductAccountMappingsApi
|
|
777
880
|
*/
|
|
778
|
-
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
|
+
/**
|
|
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
|
+
* @summary Delete the Product Risk Carrier
|
|
885
|
+
* @param {ProductAccountMappingsApiDeleteProductRiskCarrierRequest} requestParameters Request parameters.
|
|
886
|
+
* @param {*} [options] Override http request option.
|
|
887
|
+
* @throws {RequiredError}
|
|
888
|
+
* @memberof ProductAccountMappingsApi
|
|
889
|
+
*/
|
|
890
|
+
deleteProductRiskCarrier(requestParameters: ProductAccountMappingsApiDeleteProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
779
891
|
/**
|
|
780
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\"
|
|
781
893
|
* @summary Delete the Product Version Category Account
|
|
@@ -784,7 +896,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
784
896
|
* @throws {RequiredError}
|
|
785
897
|
* @memberof ProductAccountMappingsApi
|
|
786
898
|
*/
|
|
787
|
-
deleteProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
899
|
+
deleteProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
788
900
|
/**
|
|
789
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\"
|
|
790
902
|
* @summary Retrieve the Product Account Mapping
|
|
@@ -793,7 +905,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
793
905
|
* @throws {RequiredError}
|
|
794
906
|
* @memberof ProductAccountMappingsApi
|
|
795
907
|
*/
|
|
796
|
-
getProductAccountMapping(requestParameters: ProductAccountMappingsApiGetProductAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAccountMappingDetailClass, any, {}>>;
|
|
908
|
+
getProductAccountMapping(requestParameters: ProductAccountMappingsApiGetProductAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAccountMappingDetailClass, any, {}, any>>;
|
|
797
909
|
/**
|
|
798
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\"
|
|
799
911
|
* @summary Retrieve the Product Version Account Mapping
|
|
@@ -802,7 +914,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
802
914
|
* @throws {RequiredError}
|
|
803
915
|
* @memberof ProductAccountMappingsApi
|
|
804
916
|
*/
|
|
805
|
-
getProductVersionAccountMapping(requestParameters: ProductAccountMappingsApiGetProductVersionAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductVersionAccountMappingDetailClass, any, {}>>;
|
|
917
|
+
getProductVersionAccountMapping(requestParameters: ProductAccountMappingsApiGetProductVersionAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductVersionAccountMappingDetailClass, any, {}, any>>;
|
|
806
918
|
/**
|
|
807
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\"
|
|
808
920
|
* @summary List Product Account Mappings
|
|
@@ -811,7 +923,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
811
923
|
* @throws {RequiredError}
|
|
812
924
|
* @memberof ProductAccountMappingsApi
|
|
813
925
|
*/
|
|
814
|
-
listProductAccountMappings(requestParameters?: ProductAccountMappingsApiListProductAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductAccountMappingsResponseClass, any, {}>>;
|
|
926
|
+
listProductAccountMappings(requestParameters?: ProductAccountMappingsApiListProductAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductAccountMappingsResponseClass, any, {}, any>>;
|
|
815
927
|
/**
|
|
816
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\"
|
|
817
929
|
* @summary List Products With Account Mappings
|
|
@@ -820,7 +932,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
820
932
|
* @throws {RequiredError}
|
|
821
933
|
* @memberof ProductAccountMappingsApi
|
|
822
934
|
*/
|
|
823
|
-
listProductsWithAccountMappings(requestParameters?: ProductAccountMappingsApiListProductsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsWithAccountMappingsResponseClass, any, {}>>;
|
|
935
|
+
listProductsWithAccountMappings(requestParameters?: ProductAccountMappingsApiListProductsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsWithAccountMappingsResponseClass, any, {}, any>>;
|
|
824
936
|
/**
|
|
825
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\"
|
|
826
938
|
* @summary Update the Premium Item Account
|
|
@@ -829,7 +941,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
829
941
|
* @throws {RequiredError}
|
|
830
942
|
* @memberof ProductAccountMappingsApi
|
|
831
943
|
*/
|
|
832
|
-
putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}>>;
|
|
944
|
+
putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}, any>>;
|
|
833
945
|
/**
|
|
834
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\"
|
|
835
947
|
* @summary Update the Product Category Account
|
|
@@ -838,7 +950,16 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
838
950
|
* @throws {RequiredError}
|
|
839
951
|
* @memberof ProductAccountMappingsApi
|
|
840
952
|
*/
|
|
841
|
-
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
|
+
/**
|
|
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
|
+
* @summary Update the Product Risk Carrier
|
|
957
|
+
* @param {ProductAccountMappingsApiPutProductRiskCarrierRequest} requestParameters Request parameters.
|
|
958
|
+
* @param {*} [options] Override http request option.
|
|
959
|
+
* @throws {RequiredError}
|
|
960
|
+
* @memberof ProductAccountMappingsApi
|
|
961
|
+
*/
|
|
962
|
+
putProductRiskCarrier(requestParameters: ProductAccountMappingsApiPutProductRiskCarrierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRiskCarrierClass, any, {}, any>>;
|
|
842
963
|
/**
|
|
843
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\"
|
|
844
965
|
* @summary Update the Product Version Category Account
|
|
@@ -847,5 +968,5 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
847
968
|
* @throws {RequiredError}
|
|
848
969
|
* @memberof ProductAccountMappingsApi
|
|
849
970
|
*/
|
|
850
|
-
putProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}>>;
|
|
971
|
+
putProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}, any>>;
|
|
851
972
|
}
|