@emilgroup/accounting-sdk 1.34.1-beta.74 → 1.34.1-beta.76
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 +0 -2
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +16 -32
- package/api/booking-entries-api.ts +14 -24
- package/api/commission-account-mappings-api.ts +16 -32
- package/api/financial-accounts-api.ts +10 -20
- package/api/financial-transactions-api.ts +4 -8
- package/api/number-ranges-api.ts +8 -16
- package/api/personal-accounts-api.ts +8 -16
- package/api/product-account-mappings-api.ts +20 -265
- package/base.ts +41 -174
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/accounting-configs-api.d.ts +8 -8
- package/dist/api/accounting-configs-api.js +32 -56
- package/dist/api/booking-entries-api.d.ts +9 -9
- package/dist/api/booking-entries-api.js +22 -33
- package/dist/api/commission-account-mappings-api.d.ts +8 -8
- package/dist/api/commission-account-mappings-api.js +29 -47
- package/dist/api/financial-accounts-api.d.ts +5 -5
- package/dist/api/financial-accounts-api.js +18 -29
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +6 -8
- 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 +14 -22
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +14 -22
- package/dist/api/product-account-mappings-api.d.ts +10 -131
- package/dist/api/product-account-mappings-api.js +38 -261
- package/dist/base.d.ts +0 -24
- package/dist/base.js +59 -178
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/dist/models/account-mapping-class.d.ts +0 -2
- package/dist/models/account-mapping-class.js +1 -3
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +0 -2
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +1 -3
- package/dist/models/booking-entry-class.d.ts +2 -16
- package/dist/models/booking-entry-class.js +1 -3
- package/dist/models/create-booking-entry-request-dto.d.ts +2 -3
- package/dist/models/create-booking-entry-request-dto.js +2 -3
- package/dist/models/create-financial-account-request-dto.d.ts +0 -2
- package/dist/models/create-financial-account-request-dto.js +1 -3
- package/dist/models/financial-transaction-class.d.ts +0 -6
- package/dist/models/financial-transaction-data-dto.d.ts +0 -6
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/dist/models/post-financial-event-request-dto.d.ts +2 -3
- package/dist/models/post-financial-event-request-dto.js +0 -1
- package/dist/models/product-account-mapping-detail-class.d.ts +0 -6
- package/models/account-mapping-class.ts +1 -3
- package/models/accounting-config-data-dto-default-account-mappings.ts +1 -3
- package/models/booking-entry-class.ts +3 -17
- package/models/create-booking-entry-request-dto.ts +3 -4
- package/models/create-financial-account-request-dto.ts +1 -3
- package/models/financial-transaction-class.ts +0 -6
- package/models/financial-transaction-data-dto.ts +0 -6
- package/models/index.ts +0 -2
- package/models/post-financial-event-request-dto.ts +2 -3
- package/models/product-account-mapping-detail-class.ts +0 -6
- package/package.json +2 -2
- package/dist/models/product-risk-carrier-class.d.ts +0 -42
- package/dist/models/product-risk-carrier-class.js +0 -15
- package/dist/models/put-product-risk-carrier-body-dto.d.ts +0 -24
- package/dist/models/put-product-risk-carrier-body-dto.js +0 -15
- package/models/product-risk-carrier-class.ts +0 -48
- package/models/put-product-risk-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, {}
|
|
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, {}
|
|
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, {}
|
|
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, {}
|
|
326
|
+
listPersonalAccounts(requestParameters?: PersonalAccountsApiListPersonalAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPersonalAccountsResponseClass, 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,
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,16 +120,13 @@ 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)
|
|
124
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
-
];
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
126
124
|
case 1:
|
|
127
125
|
// authentication bearer required
|
|
128
126
|
// http bearer authentication required
|
|
129
127
|
_a.sent();
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
128
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
133
130
|
}
|
|
134
131
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -155,7 +152,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
155
152
|
deletePersonalAccount: function (code, authorization, options) {
|
|
156
153
|
if (options === void 0) { options = {}; }
|
|
157
154
|
return __awaiter(_this, void 0, void 0, function () {
|
|
158
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
155
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
159
156
|
return __generator(this, function (_a) {
|
|
160
157
|
switch (_a.label) {
|
|
161
158
|
case 0:
|
|
@@ -173,16 +170,13 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
173
170
|
localVarQueryParameter = {};
|
|
174
171
|
// authentication bearer required
|
|
175
172
|
// http bearer authentication required
|
|
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
|
-
];
|
|
173
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
179
174
|
case 1:
|
|
180
175
|
// authentication bearer required
|
|
181
176
|
// http bearer authentication required
|
|
182
177
|
_a.sent();
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
178
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
179
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
186
180
|
}
|
|
187
181
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
188
182
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -207,7 +201,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
207
201
|
getPersonalAccount: function (code, expand, authorization, options) {
|
|
208
202
|
if (options === void 0) { options = {}; }
|
|
209
203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
210
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
204
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
211
205
|
return __generator(this, function (_a) {
|
|
212
206
|
switch (_a.label) {
|
|
213
207
|
case 0:
|
|
@@ -235,9 +229,8 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
235
229
|
if (expand !== undefined) {
|
|
236
230
|
localVarQueryParameter['expand'] = expand;
|
|
237
231
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
232
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
233
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
241
234
|
}
|
|
242
235
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
243
236
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -267,7 +260,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
267
260
|
listPersonalAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
268
261
|
if (options === void 0) { options = {}; }
|
|
269
262
|
return __awaiter(_this, void 0, void 0, function () {
|
|
270
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
263
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
271
264
|
return __generator(this, function (_a) {
|
|
272
265
|
switch (_a.label) {
|
|
273
266
|
case 0:
|
|
@@ -308,9 +301,8 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
308
301
|
if (filters !== undefined) {
|
|
309
302
|
localVarQueryParameter['filters'] = filters;
|
|
310
303
|
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
304
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
305
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
314
306
|
}
|
|
315
307
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
316
308
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -16,11 +16,9 @@ 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';
|
|
20
19
|
import { ProductVersionAccountMappingDetailClass } from '../models';
|
|
21
20
|
import { PutPremiumItemAccountBodyDto } from '../models';
|
|
22
21
|
import { PutProductCategoryAccountBodyDto } from '../models';
|
|
23
|
-
import { PutProductRiskCarrierBodyDto } from '../models';
|
|
24
22
|
import { PutProductVersionCategoryAccountBodyDto } from '../models';
|
|
25
23
|
import { ResolvedAccountMappingClass } from '../models';
|
|
26
24
|
/**
|
|
@@ -50,15 +48,6 @@ export declare const ProductAccountMappingsApiAxiosParamCreator: (configuration?
|
|
|
50
48
|
* @throws {RequiredError}
|
|
51
49
|
*/
|
|
52
50
|
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>;
|
|
62
51
|
/**
|
|
63
52
|
* 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\"
|
|
64
53
|
* @summary Delete the Product Version Category Account
|
|
@@ -143,16 +132,6 @@ export declare const ProductAccountMappingsApiAxiosParamCreator: (configuration?
|
|
|
143
132
|
* @throws {RequiredError}
|
|
144
133
|
*/
|
|
145
134
|
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>;
|
|
156
135
|
/**
|
|
157
136
|
* 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\"
|
|
158
137
|
* @summary Update the Product Version Category Account
|
|
@@ -193,15 +172,6 @@ export declare const ProductAccountMappingsApiFp: (configuration?: Configuration
|
|
|
193
172
|
* @throws {RequiredError}
|
|
194
173
|
*/
|
|
195
174
|
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>>;
|
|
205
175
|
/**
|
|
206
176
|
* 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\"
|
|
207
177
|
* @summary Delete the Product Version Category Account
|
|
@@ -286,16 +256,6 @@ export declare const ProductAccountMappingsApiFp: (configuration?: Configuration
|
|
|
286
256
|
* @throws {RequiredError}
|
|
287
257
|
*/
|
|
288
258
|
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>>;
|
|
299
259
|
/**
|
|
300
260
|
* 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\"
|
|
301
261
|
* @summary Update the Product Version Category Account
|
|
@@ -336,15 +296,6 @@ export declare const ProductAccountMappingsApiFactory: (configuration?: Configur
|
|
|
336
296
|
* @throws {RequiredError}
|
|
337
297
|
*/
|
|
338
298
|
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>;
|
|
348
299
|
/**
|
|
349
300
|
* 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\"
|
|
350
301
|
* @summary Delete the Product Version Category Account
|
|
@@ -429,16 +380,6 @@ export declare const ProductAccountMappingsApiFactory: (configuration?: Configur
|
|
|
429
380
|
* @throws {RequiredError}
|
|
430
381
|
*/
|
|
431
382
|
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>;
|
|
442
383
|
/**
|
|
443
384
|
* 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\"
|
|
444
385
|
* @summary Update the Product Version Category Account
|
|
@@ -514,25 +455,6 @@ export interface ProductAccountMappingsApiDeleteProductCategoryAccountRequest {
|
|
|
514
455
|
*/
|
|
515
456
|
readonly authorization?: string;
|
|
516
457
|
}
|
|
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
|
-
}
|
|
536
458
|
/**
|
|
537
459
|
* Request parameters for deleteProductVersionCategoryAccount operation in ProductAccountMappingsApi.
|
|
538
460
|
* @export
|
|
@@ -792,31 +714,6 @@ export interface ProductAccountMappingsApiPutProductCategoryAccountRequest {
|
|
|
792
714
|
*/
|
|
793
715
|
readonly authorization?: string;
|
|
794
716
|
}
|
|
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
|
-
}
|
|
820
717
|
/**
|
|
821
718
|
* Request parameters for putProductVersionCategoryAccount operation in ProductAccountMappingsApi.
|
|
822
719
|
* @export
|
|
@@ -869,7 +766,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
869
766
|
* @throws {RequiredError}
|
|
870
767
|
* @memberof ProductAccountMappingsApi
|
|
871
768
|
*/
|
|
872
|
-
deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}
|
|
769
|
+
deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
873
770
|
/**
|
|
874
771
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
875
772
|
* @summary Delete the Product Category Account
|
|
@@ -878,16 +775,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
878
775
|
* @throws {RequiredError}
|
|
879
776
|
* @memberof ProductAccountMappingsApi
|
|
880
777
|
*/
|
|
881
|
-
deleteProductCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, 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>>;
|
|
778
|
+
deleteProductCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
891
779
|
/**
|
|
892
780
|
* Permanently deletes the Product Version Category Account. Supply the unique code that was returned when you created the Product Version Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
893
781
|
* @summary Delete the Product Version Category Account
|
|
@@ -896,7 +784,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
896
784
|
* @throws {RequiredError}
|
|
897
785
|
* @memberof ProductAccountMappingsApi
|
|
898
786
|
*/
|
|
899
|
-
deleteProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}
|
|
787
|
+
deleteProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
900
788
|
/**
|
|
901
789
|
* Retrieves the details of the Product Account Mapping that was previously created. Supply the unique Product Account Mapping code that was returned when you created it and Emil Api will return the corresponding Product Account Mapping information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
902
790
|
* @summary Retrieve the Product Account Mapping
|
|
@@ -905,7 +793,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
905
793
|
* @throws {RequiredError}
|
|
906
794
|
* @memberof ProductAccountMappingsApi
|
|
907
795
|
*/
|
|
908
|
-
getProductAccountMapping(requestParameters: ProductAccountMappingsApiGetProductAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAccountMappingDetailClass, any, {}
|
|
796
|
+
getProductAccountMapping(requestParameters: ProductAccountMappingsApiGetProductAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAccountMappingDetailClass, any, {}>>;
|
|
909
797
|
/**
|
|
910
798
|
* Retrieves the details of the Product Version Account Mapping that was previously created. Supply the unique Product Version Account Mapping code that was returned when you created it and Emil Api will return the corresponding Product Version Account Mapping information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
911
799
|
* @summary Retrieve the Product Version Account Mapping
|
|
@@ -914,7 +802,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
914
802
|
* @throws {RequiredError}
|
|
915
803
|
* @memberof ProductAccountMappingsApi
|
|
916
804
|
*/
|
|
917
|
-
getProductVersionAccountMapping(requestParameters: ProductAccountMappingsApiGetProductVersionAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductVersionAccountMappingDetailClass, any, {}
|
|
805
|
+
getProductVersionAccountMapping(requestParameters: ProductAccountMappingsApiGetProductVersionAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductVersionAccountMappingDetailClass, any, {}>>;
|
|
918
806
|
/**
|
|
919
807
|
* Paginated list of the actual stored override rows, across every level (product/version/premium-item). Filterable by productCode/productVersionCode/premiumFormulaCode/category. For browsing the product catalog with mapping badges, use GET /products instead. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
920
808
|
* @summary List Product Account Mappings
|
|
@@ -923,7 +811,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
923
811
|
* @throws {RequiredError}
|
|
924
812
|
* @memberof ProductAccountMappingsApi
|
|
925
813
|
*/
|
|
926
|
-
listProductAccountMappings(requestParameters?: ProductAccountMappingsApiListProductAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductAccountMappingsResponseClass, any, {}
|
|
814
|
+
listProductAccountMappings(requestParameters?: ProductAccountMappingsApiListProductAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductAccountMappingsResponseClass, any, {}>>;
|
|
927
815
|
/**
|
|
928
816
|
* Paginated product catalog (proxied from insuranceservice, every version regardless of status), each product carrying its versions and a hasCustomMapping badge at both levels. Cheap -- no resolution, badges only. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
929
817
|
* @summary List Products With Account Mappings
|
|
@@ -932,7 +820,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
932
820
|
* @throws {RequiredError}
|
|
933
821
|
* @memberof ProductAccountMappingsApi
|
|
934
822
|
*/
|
|
935
|
-
listProductsWithAccountMappings(requestParameters?: ProductAccountMappingsApiListProductsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsWithAccountMappingsResponseClass, any, {}
|
|
823
|
+
listProductsWithAccountMappings(requestParameters?: ProductAccountMappingsApiListProductsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsWithAccountMappingsResponseClass, any, {}>>;
|
|
936
824
|
/**
|
|
937
825
|
* Updates the specified Premium Item Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
938
826
|
* @summary Update the Premium Item Account
|
|
@@ -941,7 +829,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
941
829
|
* @throws {RequiredError}
|
|
942
830
|
* @memberof ProductAccountMappingsApi
|
|
943
831
|
*/
|
|
944
|
-
putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}
|
|
832
|
+
putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}>>;
|
|
945
833
|
/**
|
|
946
834
|
* Updates the specified Product Category Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
947
835
|
* @summary Update the Product Category Account
|
|
@@ -950,16 +838,7 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
950
838
|
* @throws {RequiredError}
|
|
951
839
|
* @memberof ProductAccountMappingsApi
|
|
952
840
|
*/
|
|
953
|
-
putProductCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, 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>>;
|
|
841
|
+
putProductCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}>>;
|
|
963
842
|
/**
|
|
964
843
|
* Updates the specified Product Version Category Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
965
844
|
* @summary Update the Product Version Category Account
|
|
@@ -968,5 +847,5 @@ export declare class ProductAccountMappingsApi extends BaseAPI {
|
|
|
968
847
|
* @throws {RequiredError}
|
|
969
848
|
* @memberof ProductAccountMappingsApi
|
|
970
849
|
*/
|
|
971
|
-
putProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}
|
|
850
|
+
putProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}>>;
|
|
972
851
|
}
|