@emilgroup/accounting-sdk-node 1.32.1-beta.76 → 1.32.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/common.ts +3 -2
- 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/common.d.ts +1 -1
- package/dist/common.js +1 -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
|
}
|
|
@@ -107,7 +107,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createPersonalAccount: function (createPersonalAccountRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,13 +124,16 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
deletePersonalAccount: function (code, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -174,13 +177,16 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
174
177
|
localVarQueryParameter = {};
|
|
175
178
|
// authentication bearer required
|
|
176
179
|
// http bearer authentication required
|
|
177
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
+
];
|
|
178
183
|
case 1:
|
|
179
184
|
// authentication bearer required
|
|
180
185
|
// http bearer authentication required
|
|
181
186
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
188
|
+
if (authorizationValue) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
190
|
}
|
|
185
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
192
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -205,7 +211,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
205
211
|
getPersonalAccount: function (code, expand, authorization, options) {
|
|
206
212
|
if (options === void 0) { options = {}; }
|
|
207
213
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
214
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
209
215
|
return __generator(this, function (_a) {
|
|
210
216
|
switch (_a.label) {
|
|
211
217
|
case 0:
|
|
@@ -233,8 +239,9 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
233
239
|
if (expand !== undefined) {
|
|
234
240
|
localVarQueryParameter['expand'] = expand;
|
|
235
241
|
}
|
|
236
|
-
|
|
237
|
-
|
|
242
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
243
|
+
if (authorizationValue) {
|
|
244
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
238
245
|
}
|
|
239
246
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
240
247
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -264,7 +271,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
264
271
|
listPersonalAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
265
272
|
if (options === void 0) { options = {}; }
|
|
266
273
|
return __awaiter(_this, void 0, void 0, function () {
|
|
267
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
274
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
268
275
|
return __generator(this, function (_a) {
|
|
269
276
|
switch (_a.label) {
|
|
270
277
|
case 0:
|
|
@@ -305,8 +312,9 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
305
312
|
if (filters !== undefined) {
|
|
306
313
|
localVarQueryParameter['filters'] = filters;
|
|
307
314
|
}
|
|
308
|
-
|
|
309
|
-
|
|
315
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
316
|
+
if (authorizationValue) {
|
|
317
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
310
318
|
}
|
|
311
319
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
312
320
|
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
|
}
|