@emilgroup/accounting-sdk 1.34.1-beta.2 → 1.34.1-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +97 -7
  4. package/api/financial-accounts-api.ts +120 -0
  5. package/api/product-account-mappings-api.ts +1470 -0
  6. package/api.ts +2 -0
  7. package/dist/api/accounting-configs-api.d.ts +47 -0
  8. package/dist/api/accounting-configs-api.js +94 -7
  9. package/dist/api/financial-accounts-api.d.ts +66 -0
  10. package/dist/api/financial-accounts-api.js +99 -0
  11. package/dist/api/product-account-mappings-api.d.ts +851 -0
  12. package/dist/api/product-account-mappings-api.js +1224 -0
  13. package/dist/api.d.ts +1 -0
  14. package/dist/api.js +1 -0
  15. package/dist/models/accounting-config-class.d.ts +11 -0
  16. package/dist/models/accounting-config-class.js +5 -0
  17. package/dist/models/create-financial-account-request-dto.d.ts +6 -0
  18. package/dist/models/financial-account-class.d.ts +18 -1
  19. package/dist/models/financial-account-class.js +5 -1
  20. package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
  21. package/dist/models/get-activation-snapshot-response-class.js +15 -0
  22. package/dist/models/index.d.ts +15 -0
  23. package/dist/models/index.js +15 -0
  24. package/dist/models/list-product-account-mappings-response-class.d.ts +43 -0
  25. package/dist/models/list-product-account-mappings-response-class.js +15 -0
  26. package/dist/models/list-products-with-account-mappings-response-class.d.ts +43 -0
  27. package/dist/models/list-products-with-account-mappings-response-class.js +15 -0
  28. package/dist/models/premium-item-account-mapping-class.d.ts +37 -0
  29. package/dist/models/premium-item-account-mapping-class.js +15 -0
  30. package/dist/models/product-account-mapping-class.d.ts +61 -0
  31. package/dist/models/product-account-mapping-class.js +15 -0
  32. package/dist/models/product-account-mapping-detail-class.d.ts +50 -0
  33. package/dist/models/product-account-mapping-detail-class.js +15 -0
  34. package/dist/models/product-version-account-mapping-detail-class.d.ts +50 -0
  35. package/dist/models/product-version-account-mapping-detail-class.js +15 -0
  36. package/dist/models/product-version-with-account-mappings-class.d.ts +42 -0
  37. package/dist/models/product-version-with-account-mappings-class.js +15 -0
  38. package/dist/models/product-with-account-mappings-class.d.ts +49 -0
  39. package/dist/models/product-with-account-mappings-class.js +15 -0
  40. package/dist/models/put-premium-item-account-body-dto.d.ts +24 -0
  41. package/dist/models/put-premium-item-account-body-dto.js +15 -0
  42. package/dist/models/put-product-category-account-body-dto.d.ts +24 -0
  43. package/dist/models/put-product-category-account-body-dto.js +15 -0
  44. package/dist/models/put-product-version-category-account-body-dto.d.ts +24 -0
  45. package/dist/models/put-product-version-category-account-body-dto.js +15 -0
  46. package/dist/models/resolved-account-mapping-class.d.ts +31 -0
  47. package/dist/models/resolved-account-mapping-class.js +15 -0
  48. package/dist/models/update-financial-account-body-dto.d.ts +42 -0
  49. package/dist/models/update-financial-account-body-dto.js +15 -0
  50. package/dist/models/update-financial-account-response-class.d.ts +25 -0
  51. package/dist/models/update-financial-account-response-class.js +15 -0
  52. package/models/accounting-config-class.ts +14 -0
  53. package/models/create-financial-account-request-dto.ts +6 -0
  54. package/models/financial-account-class.ts +19 -1
  55. package/models/get-activation-snapshot-response-class.ts +31 -0
  56. package/models/index.ts +15 -0
  57. package/models/list-product-account-mappings-response-class.ts +49 -0
  58. package/models/list-products-with-account-mappings-response-class.ts +49 -0
  59. package/models/premium-item-account-mapping-class.ts +43 -0
  60. package/models/product-account-mapping-class.ts +67 -0
  61. package/models/product-account-mapping-detail-class.ts +56 -0
  62. package/models/product-version-account-mapping-detail-class.ts +56 -0
  63. package/models/product-version-with-account-mappings-class.ts +48 -0
  64. package/models/product-with-account-mappings-class.ts +55 -0
  65. package/models/put-premium-item-account-body-dto.ts +30 -0
  66. package/models/put-product-category-account-body-dto.ts +30 -0
  67. package/models/put-product-version-category-account-body-dto.ts +30 -0
  68. package/models/resolved-account-mapping-class.ts +37 -0
  69. package/models/update-financial-account-body-dto.ts +48 -0
  70. package/models/update-financial-account-response-class.ts +31 -0
  71. package/package.json +1 -1
@@ -0,0 +1,851 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { ListProductAccountMappingsResponseClass } from '../models';
16
+ import { ListProductsWithAccountMappingsResponseClass } from '../models';
17
+ import { PremiumItemAccountMappingClass } from '../models';
18
+ import { ProductAccountMappingDetailClass } from '../models';
19
+ import { ProductVersionAccountMappingDetailClass } from '../models';
20
+ import { PutPremiumItemAccountBodyDto } from '../models';
21
+ import { PutProductCategoryAccountBodyDto } from '../models';
22
+ import { PutProductVersionCategoryAccountBodyDto } from '../models';
23
+ import { ResolvedAccountMappingClass } from '../models';
24
+ /**
25
+ * ProductAccountMappingsApi - axios parameter creator
26
+ * @export
27
+ */
28
+ export declare const ProductAccountMappingsApiAxiosParamCreator: (configuration?: Configuration) => {
29
+ /**
30
+ * Permanently deletes the Premium Item Account. Supply the unique code that was returned when you created the Premium Item Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
31
+ * @summary Delete the Premium Item Account
32
+ * @param {string} productCode
33
+ * @param {string} productVersionCode
34
+ * @param {string} premiumFormulaCode
35
+ * @param {string} category
36
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ deletePremiumItemAccount: (productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
+ /**
42
+ * 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\"
43
+ * @summary Delete the Product Category Account
44
+ * @param {string} productCode
45
+ * @param {string} category
46
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ deleteProductCategoryAccount: (productCode: string, category: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
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\"
53
+ * @summary Delete the Product Version Category Account
54
+ * @param {string} productCode
55
+ * @param {string} productVersionCode
56
+ * @param {string} category
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
+ deleteProductVersionCategoryAccount: (productCode: string, productVersionCode: string, category: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
62
+ /**
63
+ * 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\"
64
+ * @summary Retrieve the Product Account Mapping
65
+ * @param {string} productCode
66
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
67
+ * @param {*} [options] Override http request option.
68
+ * @throws {RequiredError}
69
+ */
70
+ getProductAccountMapping: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
71
+ /**
72
+ * 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\"
73
+ * @summary Retrieve the Product Version Account Mapping
74
+ * @param {string} productCode
75
+ * @param {string} productVersionCode
76
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ getProductVersionAccountMapping: (productCode: string, productVersionCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
81
+ /**
82
+ * 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\"
83
+ * @summary List Product Account Mappings
84
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
85
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
86
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
87
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
88
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
89
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
90
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
91
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ listProductAccountMappings: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
96
+ /**
97
+ * 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\"
98
+ * @summary List Products With Account Mappings
99
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
101
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
102
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
103
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
104
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
105
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
106
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ listProductsWithAccountMappings: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
111
+ /**
112
+ * 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\"
113
+ * @summary Update the Premium Item Account
114
+ * @param {string} productCode
115
+ * @param {string} productVersionCode
116
+ * @param {string} premiumFormulaCode
117
+ * @param {string} category
118
+ * @param {PutPremiumItemAccountBodyDto} putPremiumItemAccountBodyDto
119
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
120
+ * @param {*} [options] Override http request option.
121
+ * @throws {RequiredError}
122
+ */
123
+ putPremiumItemAccount: (productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, putPremiumItemAccountBodyDto: PutPremiumItemAccountBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
124
+ /**
125
+ * 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\"
126
+ * @summary Update the Product Category Account
127
+ * @param {string} productCode
128
+ * @param {string} category
129
+ * @param {PutProductCategoryAccountBodyDto} putProductCategoryAccountBodyDto
130
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ putProductCategoryAccount: (productCode: string, category: string, putProductCategoryAccountBodyDto: PutProductCategoryAccountBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
135
+ /**
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\"
137
+ * @summary Update the Product Version Category Account
138
+ * @param {string} productCode
139
+ * @param {string} productVersionCode
140
+ * @param {string} category
141
+ * @param {PutProductVersionCategoryAccountBodyDto} putProductVersionCategoryAccountBodyDto
142
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ putProductVersionCategoryAccount: (productCode: string, productVersionCode: string, category: string, putProductVersionCategoryAccountBodyDto: PutProductVersionCategoryAccountBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
147
+ };
148
+ /**
149
+ * ProductAccountMappingsApi - functional programming interface
150
+ * @export
151
+ */
152
+ export declare const ProductAccountMappingsApiFp: (configuration?: Configuration) => {
153
+ /**
154
+ * Permanently deletes the Premium Item Account. Supply the unique code that was returned when you created the Premium Item Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
155
+ * @summary Delete the Premium Item Account
156
+ * @param {string} productCode
157
+ * @param {string} productVersionCode
158
+ * @param {string} premiumFormulaCode
159
+ * @param {string} category
160
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ deletePremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
165
+ /**
166
+ * 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\"
167
+ * @summary Delete the Product Category Account
168
+ * @param {string} productCode
169
+ * @param {string} category
170
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
171
+ * @param {*} [options] Override http request option.
172
+ * @throws {RequiredError}
173
+ */
174
+ deleteProductCategoryAccount(productCode: string, category: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
175
+ /**
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\"
177
+ * @summary Delete the Product Version Category Account
178
+ * @param {string} productCode
179
+ * @param {string} productVersionCode
180
+ * @param {string} category
181
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ */
185
+ deleteProductVersionCategoryAccount(productCode: string, productVersionCode: string, category: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
186
+ /**
187
+ * 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\"
188
+ * @summary Retrieve the Product Account Mapping
189
+ * @param {string} productCode
190
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ getProductAccountMapping(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductAccountMappingDetailClass>>;
195
+ /**
196
+ * 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\"
197
+ * @summary Retrieve the Product Version Account Mapping
198
+ * @param {string} productCode
199
+ * @param {string} productVersionCode
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
+ getProductVersionAccountMapping(productCode: string, productVersionCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductVersionAccountMappingDetailClass>>;
205
+ /**
206
+ * 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\"
207
+ * @summary List Product Account Mappings
208
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
209
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
210
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
211
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
212
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
213
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
214
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
215
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
216
+ * @param {*} [options] Override http request option.
217
+ * @throws {RequiredError}
218
+ */
219
+ listProductAccountMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductAccountMappingsResponseClass>>;
220
+ /**
221
+ * 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\"
222
+ * @summary List Products With Account Mappings
223
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
224
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
225
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
226
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
227
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
228
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
229
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
230
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
231
+ * @param {*} [options] Override http request option.
232
+ * @throws {RequiredError}
233
+ */
234
+ listProductsWithAccountMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsWithAccountMappingsResponseClass>>;
235
+ /**
236
+ * 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\"
237
+ * @summary Update the Premium Item Account
238
+ * @param {string} productCode
239
+ * @param {string} productVersionCode
240
+ * @param {string} premiumFormulaCode
241
+ * @param {string} category
242
+ * @param {PutPremiumItemAccountBodyDto} putPremiumItemAccountBodyDto
243
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
244
+ * @param {*} [options] Override http request option.
245
+ * @throws {RequiredError}
246
+ */
247
+ putPremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, putPremiumItemAccountBodyDto: PutPremiumItemAccountBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremiumItemAccountMappingClass>>;
248
+ /**
249
+ * 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\"
250
+ * @summary Update the Product Category Account
251
+ * @param {string} productCode
252
+ * @param {string} category
253
+ * @param {PutProductCategoryAccountBodyDto} putProductCategoryAccountBodyDto
254
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
255
+ * @param {*} [options] Override http request option.
256
+ * @throws {RequiredError}
257
+ */
258
+ putProductCategoryAccount(productCode: string, category: string, putProductCategoryAccountBodyDto: PutProductCategoryAccountBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResolvedAccountMappingClass>>;
259
+ /**
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\"
261
+ * @summary Update the Product Version Category Account
262
+ * @param {string} productCode
263
+ * @param {string} productVersionCode
264
+ * @param {string} category
265
+ * @param {PutProductVersionCategoryAccountBodyDto} putProductVersionCategoryAccountBodyDto
266
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
267
+ * @param {*} [options] Override http request option.
268
+ * @throws {RequiredError}
269
+ */
270
+ putProductVersionCategoryAccount(productCode: string, productVersionCode: string, category: string, putProductVersionCategoryAccountBodyDto: PutProductVersionCategoryAccountBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResolvedAccountMappingClass>>;
271
+ };
272
+ /**
273
+ * ProductAccountMappingsApi - factory interface
274
+ * @export
275
+ */
276
+ export declare const ProductAccountMappingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
277
+ /**
278
+ * Permanently deletes the Premium Item Account. Supply the unique code that was returned when you created the Premium Item Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
279
+ * @summary Delete the Premium Item Account
280
+ * @param {string} productCode
281
+ * @param {string} productVersionCode
282
+ * @param {string} premiumFormulaCode
283
+ * @param {string} category
284
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
285
+ * @param {*} [options] Override http request option.
286
+ * @throws {RequiredError}
287
+ */
288
+ deletePremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, authorization?: string, options?: any): AxiosPromise<void>;
289
+ /**
290
+ * 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\"
291
+ * @summary Delete the Product Category Account
292
+ * @param {string} productCode
293
+ * @param {string} category
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
+ deleteProductCategoryAccount(productCode: string, category: string, authorization?: string, options?: any): AxiosPromise<void>;
299
+ /**
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\"
301
+ * @summary Delete the Product Version Category Account
302
+ * @param {string} productCode
303
+ * @param {string} productVersionCode
304
+ * @param {string} category
305
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
306
+ * @param {*} [options] Override http request option.
307
+ * @throws {RequiredError}
308
+ */
309
+ deleteProductVersionCategoryAccount(productCode: string, productVersionCode: string, category: string, authorization?: string, options?: any): AxiosPromise<void>;
310
+ /**
311
+ * 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\"
312
+ * @summary Retrieve the Product Account Mapping
313
+ * @param {string} productCode
314
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
315
+ * @param {*} [options] Override http request option.
316
+ * @throws {RequiredError}
317
+ */
318
+ getProductAccountMapping(productCode: string, authorization?: string, options?: any): AxiosPromise<ProductAccountMappingDetailClass>;
319
+ /**
320
+ * 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\"
321
+ * @summary Retrieve the Product Version Account Mapping
322
+ * @param {string} productCode
323
+ * @param {string} productVersionCode
324
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ getProductVersionAccountMapping(productCode: string, productVersionCode: string, authorization?: string, options?: any): AxiosPromise<ProductVersionAccountMappingDetailClass>;
329
+ /**
330
+ * 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\"
331
+ * @summary List Product Account Mappings
332
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
333
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
334
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
335
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
336
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
337
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
338
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
339
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
340
+ * @param {*} [options] Override http request option.
341
+ * @throws {RequiredError}
342
+ */
343
+ listProductAccountMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductAccountMappingsResponseClass>;
344
+ /**
345
+ * 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\"
346
+ * @summary List Products With Account Mappings
347
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
348
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
349
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
350
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
351
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
352
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
353
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
354
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
355
+ * @param {*} [options] Override http request option.
356
+ * @throws {RequiredError}
357
+ */
358
+ listProductsWithAccountMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductsWithAccountMappingsResponseClass>;
359
+ /**
360
+ * 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\"
361
+ * @summary Update the Premium Item Account
362
+ * @param {string} productCode
363
+ * @param {string} productVersionCode
364
+ * @param {string} premiumFormulaCode
365
+ * @param {string} category
366
+ * @param {PutPremiumItemAccountBodyDto} putPremiumItemAccountBodyDto
367
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
368
+ * @param {*} [options] Override http request option.
369
+ * @throws {RequiredError}
370
+ */
371
+ putPremiumItemAccount(productCode: string, productVersionCode: string, premiumFormulaCode: string, category: string, putPremiumItemAccountBodyDto: PutPremiumItemAccountBodyDto, authorization?: string, options?: any): AxiosPromise<PremiumItemAccountMappingClass>;
372
+ /**
373
+ * 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\"
374
+ * @summary Update the Product Category Account
375
+ * @param {string} productCode
376
+ * @param {string} category
377
+ * @param {PutProductCategoryAccountBodyDto} putProductCategoryAccountBodyDto
378
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
379
+ * @param {*} [options] Override http request option.
380
+ * @throws {RequiredError}
381
+ */
382
+ putProductCategoryAccount(productCode: string, category: string, putProductCategoryAccountBodyDto: PutProductCategoryAccountBodyDto, authorization?: string, options?: any): AxiosPromise<ResolvedAccountMappingClass>;
383
+ /**
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\"
385
+ * @summary Update the Product Version Category Account
386
+ * @param {string} productCode
387
+ * @param {string} productVersionCode
388
+ * @param {string} category
389
+ * @param {PutProductVersionCategoryAccountBodyDto} putProductVersionCategoryAccountBodyDto
390
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
391
+ * @param {*} [options] Override http request option.
392
+ * @throws {RequiredError}
393
+ */
394
+ putProductVersionCategoryAccount(productCode: string, productVersionCode: string, category: string, putProductVersionCategoryAccountBodyDto: PutProductVersionCategoryAccountBodyDto, authorization?: string, options?: any): AxiosPromise<ResolvedAccountMappingClass>;
395
+ };
396
+ /**
397
+ * Request parameters for deletePremiumItemAccount operation in ProductAccountMappingsApi.
398
+ * @export
399
+ * @interface ProductAccountMappingsApiDeletePremiumItemAccountRequest
400
+ */
401
+ export interface ProductAccountMappingsApiDeletePremiumItemAccountRequest {
402
+ /**
403
+ *
404
+ * @type {string}
405
+ * @memberof ProductAccountMappingsApiDeletePremiumItemAccount
406
+ */
407
+ readonly productCode: string;
408
+ /**
409
+ *
410
+ * @type {string}
411
+ * @memberof ProductAccountMappingsApiDeletePremiumItemAccount
412
+ */
413
+ readonly productVersionCode: string;
414
+ /**
415
+ *
416
+ * @type {string}
417
+ * @memberof ProductAccountMappingsApiDeletePremiumItemAccount
418
+ */
419
+ readonly premiumFormulaCode: string;
420
+ /**
421
+ *
422
+ * @type {string}
423
+ * @memberof ProductAccountMappingsApiDeletePremiumItemAccount
424
+ */
425
+ readonly category: string;
426
+ /**
427
+ * Bearer Token: provided by the login endpoint under the name accessToken.
428
+ * @type {string}
429
+ * @memberof ProductAccountMappingsApiDeletePremiumItemAccount
430
+ */
431
+ readonly authorization?: string;
432
+ }
433
+ /**
434
+ * Request parameters for deleteProductCategoryAccount operation in ProductAccountMappingsApi.
435
+ * @export
436
+ * @interface ProductAccountMappingsApiDeleteProductCategoryAccountRequest
437
+ */
438
+ export interface ProductAccountMappingsApiDeleteProductCategoryAccountRequest {
439
+ /**
440
+ *
441
+ * @type {string}
442
+ * @memberof ProductAccountMappingsApiDeleteProductCategoryAccount
443
+ */
444
+ readonly productCode: string;
445
+ /**
446
+ *
447
+ * @type {string}
448
+ * @memberof ProductAccountMappingsApiDeleteProductCategoryAccount
449
+ */
450
+ readonly category: string;
451
+ /**
452
+ * Bearer Token: provided by the login endpoint under the name accessToken.
453
+ * @type {string}
454
+ * @memberof ProductAccountMappingsApiDeleteProductCategoryAccount
455
+ */
456
+ readonly authorization?: string;
457
+ }
458
+ /**
459
+ * Request parameters for deleteProductVersionCategoryAccount operation in ProductAccountMappingsApi.
460
+ * @export
461
+ * @interface ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest
462
+ */
463
+ export interface ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest {
464
+ /**
465
+ *
466
+ * @type {string}
467
+ * @memberof ProductAccountMappingsApiDeleteProductVersionCategoryAccount
468
+ */
469
+ readonly productCode: string;
470
+ /**
471
+ *
472
+ * @type {string}
473
+ * @memberof ProductAccountMappingsApiDeleteProductVersionCategoryAccount
474
+ */
475
+ readonly productVersionCode: string;
476
+ /**
477
+ *
478
+ * @type {string}
479
+ * @memberof ProductAccountMappingsApiDeleteProductVersionCategoryAccount
480
+ */
481
+ readonly category: string;
482
+ /**
483
+ * Bearer Token: provided by the login endpoint under the name accessToken.
484
+ * @type {string}
485
+ * @memberof ProductAccountMappingsApiDeleteProductVersionCategoryAccount
486
+ */
487
+ readonly authorization?: string;
488
+ }
489
+ /**
490
+ * Request parameters for getProductAccountMapping operation in ProductAccountMappingsApi.
491
+ * @export
492
+ * @interface ProductAccountMappingsApiGetProductAccountMappingRequest
493
+ */
494
+ export interface ProductAccountMappingsApiGetProductAccountMappingRequest {
495
+ /**
496
+ *
497
+ * @type {string}
498
+ * @memberof ProductAccountMappingsApiGetProductAccountMapping
499
+ */
500
+ readonly productCode: string;
501
+ /**
502
+ * Bearer Token: provided by the login endpoint under the name accessToken.
503
+ * @type {string}
504
+ * @memberof ProductAccountMappingsApiGetProductAccountMapping
505
+ */
506
+ readonly authorization?: string;
507
+ }
508
+ /**
509
+ * Request parameters for getProductVersionAccountMapping operation in ProductAccountMappingsApi.
510
+ * @export
511
+ * @interface ProductAccountMappingsApiGetProductVersionAccountMappingRequest
512
+ */
513
+ export interface ProductAccountMappingsApiGetProductVersionAccountMappingRequest {
514
+ /**
515
+ *
516
+ * @type {string}
517
+ * @memberof ProductAccountMappingsApiGetProductVersionAccountMapping
518
+ */
519
+ readonly productCode: string;
520
+ /**
521
+ *
522
+ * @type {string}
523
+ * @memberof ProductAccountMappingsApiGetProductVersionAccountMapping
524
+ */
525
+ readonly productVersionCode: string;
526
+ /**
527
+ * Bearer Token: provided by the login endpoint under the name accessToken.
528
+ * @type {string}
529
+ * @memberof ProductAccountMappingsApiGetProductVersionAccountMapping
530
+ */
531
+ readonly authorization?: string;
532
+ }
533
+ /**
534
+ * Request parameters for listProductAccountMappings operation in ProductAccountMappingsApi.
535
+ * @export
536
+ * @interface ProductAccountMappingsApiListProductAccountMappingsRequest
537
+ */
538
+ export interface ProductAccountMappingsApiListProductAccountMappingsRequest {
539
+ /**
540
+ * Bearer Token: provided by the login endpoint under the name accessToken.
541
+ * @type {string}
542
+ * @memberof ProductAccountMappingsApiListProductAccountMappings
543
+ */
544
+ readonly authorization?: string;
545
+ /**
546
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
547
+ * @type {number}
548
+ * @memberof ProductAccountMappingsApiListProductAccountMappings
549
+ */
550
+ readonly pageSize?: number;
551
+ /**
552
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
553
+ * @type {string}
554
+ * @memberof ProductAccountMappingsApiListProductAccountMappings
555
+ */
556
+ readonly pageToken?: string;
557
+ /**
558
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
559
+ * @type {string}
560
+ * @memberof ProductAccountMappingsApiListProductAccountMappings
561
+ */
562
+ readonly filter?: string;
563
+ /**
564
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
565
+ * @type {string}
566
+ * @memberof ProductAccountMappingsApiListProductAccountMappings
567
+ */
568
+ readonly search?: string;
569
+ /**
570
+ * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
571
+ * @type {string}
572
+ * @memberof ProductAccountMappingsApiListProductAccountMappings
573
+ */
574
+ readonly order?: string;
575
+ /**
576
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
577
+ * @type {string}
578
+ * @memberof ProductAccountMappingsApiListProductAccountMappings
579
+ */
580
+ readonly expand?: string;
581
+ /**
582
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
583
+ * @type {string}
584
+ * @memberof ProductAccountMappingsApiListProductAccountMappings
585
+ */
586
+ readonly filters?: string;
587
+ }
588
+ /**
589
+ * Request parameters for listProductsWithAccountMappings operation in ProductAccountMappingsApi.
590
+ * @export
591
+ * @interface ProductAccountMappingsApiListProductsWithAccountMappingsRequest
592
+ */
593
+ export interface ProductAccountMappingsApiListProductsWithAccountMappingsRequest {
594
+ /**
595
+ * Bearer Token: provided by the login endpoint under the name accessToken.
596
+ * @type {string}
597
+ * @memberof ProductAccountMappingsApiListProductsWithAccountMappings
598
+ */
599
+ readonly authorization?: string;
600
+ /**
601
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
602
+ * @type {number}
603
+ * @memberof ProductAccountMappingsApiListProductsWithAccountMappings
604
+ */
605
+ readonly pageSize?: number;
606
+ /**
607
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
608
+ * @type {string}
609
+ * @memberof ProductAccountMappingsApiListProductsWithAccountMappings
610
+ */
611
+ readonly pageToken?: string;
612
+ /**
613
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
614
+ * @type {string}
615
+ * @memberof ProductAccountMappingsApiListProductsWithAccountMappings
616
+ */
617
+ readonly filter?: string;
618
+ /**
619
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
620
+ * @type {string}
621
+ * @memberof ProductAccountMappingsApiListProductsWithAccountMappings
622
+ */
623
+ readonly search?: string;
624
+ /**
625
+ * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
626
+ * @type {string}
627
+ * @memberof ProductAccountMappingsApiListProductsWithAccountMappings
628
+ */
629
+ readonly order?: string;
630
+ /**
631
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
632
+ * @type {string}
633
+ * @memberof ProductAccountMappingsApiListProductsWithAccountMappings
634
+ */
635
+ readonly expand?: string;
636
+ /**
637
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
638
+ * @type {string}
639
+ * @memberof ProductAccountMappingsApiListProductsWithAccountMappings
640
+ */
641
+ readonly filters?: string;
642
+ }
643
+ /**
644
+ * Request parameters for putPremiumItemAccount operation in ProductAccountMappingsApi.
645
+ * @export
646
+ * @interface ProductAccountMappingsApiPutPremiumItemAccountRequest
647
+ */
648
+ export interface ProductAccountMappingsApiPutPremiumItemAccountRequest {
649
+ /**
650
+ *
651
+ * @type {string}
652
+ * @memberof ProductAccountMappingsApiPutPremiumItemAccount
653
+ */
654
+ readonly productCode: string;
655
+ /**
656
+ *
657
+ * @type {string}
658
+ * @memberof ProductAccountMappingsApiPutPremiumItemAccount
659
+ */
660
+ readonly productVersionCode: string;
661
+ /**
662
+ *
663
+ * @type {string}
664
+ * @memberof ProductAccountMappingsApiPutPremiumItemAccount
665
+ */
666
+ readonly premiumFormulaCode: string;
667
+ /**
668
+ *
669
+ * @type {string}
670
+ * @memberof ProductAccountMappingsApiPutPremiumItemAccount
671
+ */
672
+ readonly category: string;
673
+ /**
674
+ *
675
+ * @type {PutPremiumItemAccountBodyDto}
676
+ * @memberof ProductAccountMappingsApiPutPremiumItemAccount
677
+ */
678
+ readonly putPremiumItemAccountBodyDto: PutPremiumItemAccountBodyDto;
679
+ /**
680
+ * Bearer Token: provided by the login endpoint under the name accessToken.
681
+ * @type {string}
682
+ * @memberof ProductAccountMappingsApiPutPremiumItemAccount
683
+ */
684
+ readonly authorization?: string;
685
+ }
686
+ /**
687
+ * Request parameters for putProductCategoryAccount operation in ProductAccountMappingsApi.
688
+ * @export
689
+ * @interface ProductAccountMappingsApiPutProductCategoryAccountRequest
690
+ */
691
+ export interface ProductAccountMappingsApiPutProductCategoryAccountRequest {
692
+ /**
693
+ *
694
+ * @type {string}
695
+ * @memberof ProductAccountMappingsApiPutProductCategoryAccount
696
+ */
697
+ readonly productCode: string;
698
+ /**
699
+ *
700
+ * @type {string}
701
+ * @memberof ProductAccountMappingsApiPutProductCategoryAccount
702
+ */
703
+ readonly category: string;
704
+ /**
705
+ *
706
+ * @type {PutProductCategoryAccountBodyDto}
707
+ * @memberof ProductAccountMappingsApiPutProductCategoryAccount
708
+ */
709
+ readonly putProductCategoryAccountBodyDto: PutProductCategoryAccountBodyDto;
710
+ /**
711
+ * Bearer Token: provided by the login endpoint under the name accessToken.
712
+ * @type {string}
713
+ * @memberof ProductAccountMappingsApiPutProductCategoryAccount
714
+ */
715
+ readonly authorization?: string;
716
+ }
717
+ /**
718
+ * Request parameters for putProductVersionCategoryAccount operation in ProductAccountMappingsApi.
719
+ * @export
720
+ * @interface ProductAccountMappingsApiPutProductVersionCategoryAccountRequest
721
+ */
722
+ export interface ProductAccountMappingsApiPutProductVersionCategoryAccountRequest {
723
+ /**
724
+ *
725
+ * @type {string}
726
+ * @memberof ProductAccountMappingsApiPutProductVersionCategoryAccount
727
+ */
728
+ readonly productCode: string;
729
+ /**
730
+ *
731
+ * @type {string}
732
+ * @memberof ProductAccountMappingsApiPutProductVersionCategoryAccount
733
+ */
734
+ readonly productVersionCode: string;
735
+ /**
736
+ *
737
+ * @type {string}
738
+ * @memberof ProductAccountMappingsApiPutProductVersionCategoryAccount
739
+ */
740
+ readonly category: string;
741
+ /**
742
+ *
743
+ * @type {PutProductVersionCategoryAccountBodyDto}
744
+ * @memberof ProductAccountMappingsApiPutProductVersionCategoryAccount
745
+ */
746
+ readonly putProductVersionCategoryAccountBodyDto: PutProductVersionCategoryAccountBodyDto;
747
+ /**
748
+ * Bearer Token: provided by the login endpoint under the name accessToken.
749
+ * @type {string}
750
+ * @memberof ProductAccountMappingsApiPutProductVersionCategoryAccount
751
+ */
752
+ readonly authorization?: string;
753
+ }
754
+ /**
755
+ * ProductAccountMappingsApi - object-oriented interface
756
+ * @export
757
+ * @class ProductAccountMappingsApi
758
+ * @extends {BaseAPI}
759
+ */
760
+ export declare class ProductAccountMappingsApi extends BaseAPI {
761
+ /**
762
+ * Permanently deletes the Premium Item Account. Supply the unique code that was returned when you created the Premium Item Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
763
+ * @summary Delete the Premium Item Account
764
+ * @param {ProductAccountMappingsApiDeletePremiumItemAccountRequest} requestParameters Request parameters.
765
+ * @param {*} [options] Override http request option.
766
+ * @throws {RequiredError}
767
+ * @memberof ProductAccountMappingsApi
768
+ */
769
+ deletePremiumItemAccount(requestParameters: ProductAccountMappingsApiDeletePremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
770
+ /**
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\"
772
+ * @summary Delete the Product Category Account
773
+ * @param {ProductAccountMappingsApiDeleteProductCategoryAccountRequest} requestParameters Request parameters.
774
+ * @param {*} [options] Override http request option.
775
+ * @throws {RequiredError}
776
+ * @memberof ProductAccountMappingsApi
777
+ */
778
+ deleteProductCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
779
+ /**
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\"
781
+ * @summary Delete the Product Version Category Account
782
+ * @param {ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest} requestParameters Request parameters.
783
+ * @param {*} [options] Override http request option.
784
+ * @throws {RequiredError}
785
+ * @memberof ProductAccountMappingsApi
786
+ */
787
+ deleteProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiDeleteProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
788
+ /**
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\"
790
+ * @summary Retrieve the Product Account Mapping
791
+ * @param {ProductAccountMappingsApiGetProductAccountMappingRequest} requestParameters Request parameters.
792
+ * @param {*} [options] Override http request option.
793
+ * @throws {RequiredError}
794
+ * @memberof ProductAccountMappingsApi
795
+ */
796
+ getProductAccountMapping(requestParameters: ProductAccountMappingsApiGetProductAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAccountMappingDetailClass, any, {}>>;
797
+ /**
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\"
799
+ * @summary Retrieve the Product Version Account Mapping
800
+ * @param {ProductAccountMappingsApiGetProductVersionAccountMappingRequest} requestParameters Request parameters.
801
+ * @param {*} [options] Override http request option.
802
+ * @throws {RequiredError}
803
+ * @memberof ProductAccountMappingsApi
804
+ */
805
+ getProductVersionAccountMapping(requestParameters: ProductAccountMappingsApiGetProductVersionAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductVersionAccountMappingDetailClass, any, {}>>;
806
+ /**
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\"
808
+ * @summary List Product Account Mappings
809
+ * @param {ProductAccountMappingsApiListProductAccountMappingsRequest} requestParameters Request parameters.
810
+ * @param {*} [options] Override http request option.
811
+ * @throws {RequiredError}
812
+ * @memberof ProductAccountMappingsApi
813
+ */
814
+ listProductAccountMappings(requestParameters?: ProductAccountMappingsApiListProductAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductAccountMappingsResponseClass, any, {}>>;
815
+ /**
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\"
817
+ * @summary List Products With Account Mappings
818
+ * @param {ProductAccountMappingsApiListProductsWithAccountMappingsRequest} requestParameters Request parameters.
819
+ * @param {*} [options] Override http request option.
820
+ * @throws {RequiredError}
821
+ * @memberof ProductAccountMappingsApi
822
+ */
823
+ listProductsWithAccountMappings(requestParameters?: ProductAccountMappingsApiListProductsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsWithAccountMappingsResponseClass, any, {}>>;
824
+ /**
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\"
826
+ * @summary Update the Premium Item Account
827
+ * @param {ProductAccountMappingsApiPutPremiumItemAccountRequest} requestParameters Request parameters.
828
+ * @param {*} [options] Override http request option.
829
+ * @throws {RequiredError}
830
+ * @memberof ProductAccountMappingsApi
831
+ */
832
+ putPremiumItemAccount(requestParameters: ProductAccountMappingsApiPutPremiumItemAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PremiumItemAccountMappingClass, any, {}>>;
833
+ /**
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\"
835
+ * @summary Update the Product Category Account
836
+ * @param {ProductAccountMappingsApiPutProductCategoryAccountRequest} requestParameters Request parameters.
837
+ * @param {*} [options] Override http request option.
838
+ * @throws {RequiredError}
839
+ * @memberof ProductAccountMappingsApi
840
+ */
841
+ putProductCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}>>;
842
+ /**
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\"
844
+ * @summary Update the Product Version Category Account
845
+ * @param {ProductAccountMappingsApiPutProductVersionCategoryAccountRequest} requestParameters Request parameters.
846
+ * @param {*} [options] Override http request option.
847
+ * @throws {RequiredError}
848
+ * @memberof ProductAccountMappingsApi
849
+ */
850
+ putProductVersionCategoryAccount(requestParameters: ProductAccountMappingsApiPutProductVersionCategoryAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedAccountMappingClass, any, {}>>;
851
+ }