@emilgroup/accounting-sdk 1.34.1-beta.14 → 1.34.1-beta.16

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.
@@ -3,6 +3,7 @@
3
3
  .openapi-generator-ignore
4
4
  README.md
5
5
  api.ts
6
+ api/account-mappings-api.ts
6
7
  api/accounting-configs-api.ts
7
8
  api/booking-entries-api.ts
8
9
  api/financial-accounts-api.ts
@@ -48,6 +49,7 @@ models/get-subledger-settings-response-class.ts
48
49
  models/index.ts
49
50
  models/inline-response200.ts
50
51
  models/inline-response503.ts
52
+ models/list-account-mappings-response-class.ts
51
53
  models/list-booking-entries-response-class.ts
52
54
  models/list-financial-accounts-response-class.ts
53
55
  models/list-financial-transactions-response-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/accounting-sdk@1.34.1-beta.14 --save
20
+ npm install @emilgroup/accounting-sdk@1.34.1-beta.16 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/accounting-sdk@1.34.1-beta.14
24
+ yarn add @emilgroup/accounting-sdk@1.34.1-beta.16
25
25
  ```
26
26
 
27
27
  And then you can import `FinancialAccountsApi`.
@@ -0,0 +1,246 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { ListAccountMappingsResponseClass } from '../models';
25
+ /**
26
+ * AccountMappingsApi - axios parameter creator
27
+ * @export
28
+ */
29
+ export const AccountMappingsApiAxiosParamCreator = function (configuration?: Configuration) {
30
+ return {
31
+ /**
32
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
33
+ * @summary List Account Mappings
34
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
35
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
36
+ * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
37
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: type, key, subKey</i>
38
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
39
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, type, key, subKey</i>
40
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount<i>
41
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: type, key, subKey</i>
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ listAccountMappings: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ const localVarPath = `/accountingservice/v1/account-mappings`;
47
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49
+ let baseOptions;
50
+ let baseAccessToken;
51
+ if (configuration) {
52
+ baseOptions = configuration.baseOptions;
53
+ baseAccessToken = configuration.accessToken;
54
+ }
55
+
56
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
57
+ const localVarHeaderParameter = {} as any;
58
+ const localVarQueryParameter = {} as any;
59
+
60
+ // authentication bearer required
61
+ // http bearer authentication required
62
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
63
+
64
+ if (pageSize !== undefined) {
65
+ localVarQueryParameter['pageSize'] = pageSize;
66
+ }
67
+
68
+ if (pageToken !== undefined) {
69
+ localVarQueryParameter['pageToken'] = pageToken;
70
+ }
71
+
72
+ if (filter !== undefined) {
73
+ localVarQueryParameter['filter'] = filter;
74
+ }
75
+
76
+ if (search !== undefined) {
77
+ localVarQueryParameter['search'] = search;
78
+ }
79
+
80
+ if (order !== undefined) {
81
+ localVarQueryParameter['order'] = order;
82
+ }
83
+
84
+ if (expand !== undefined) {
85
+ localVarQueryParameter['expand'] = expand;
86
+ }
87
+
88
+ if (filters !== undefined) {
89
+ localVarQueryParameter['filters'] = filters;
90
+ }
91
+
92
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
93
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
94
+ }
95
+
96
+
97
+
98
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
99
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
100
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
101
+
102
+ return {
103
+ url: toPathString(localVarUrlObj),
104
+ options: localVarRequestOptions,
105
+ };
106
+ },
107
+ }
108
+ };
109
+
110
+ /**
111
+ * AccountMappingsApi - functional programming interface
112
+ * @export
113
+ */
114
+ export const AccountMappingsApiFp = function(configuration?: Configuration) {
115
+ const localVarAxiosParamCreator = AccountMappingsApiAxiosParamCreator(configuration)
116
+ return {
117
+ /**
118
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
119
+ * @summary List Account Mappings
120
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
121
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
122
+ * @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.
123
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
124
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
125
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, type, key, subKey&lt;/i&gt;
126
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: financialAccount&lt;i&gt;
127
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
128
+ * @param {*} [options] Override http request option.
129
+ * @throws {RequiredError}
130
+ */
131
+ async listAccountMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountMappingsResponseClass>> {
132
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAccountMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
133
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
134
+ },
135
+ }
136
+ };
137
+
138
+ /**
139
+ * AccountMappingsApi - factory interface
140
+ * @export
141
+ */
142
+ export const AccountMappingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
143
+ const localVarFp = AccountMappingsApiFp(configuration)
144
+ return {
145
+ /**
146
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
147
+ * @summary List Account Mappings
148
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
150
+ * @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.
151
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
152
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
153
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, type, key, subKey&lt;/i&gt;
154
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: financialAccount&lt;i&gt;
155
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ */
159
+ listAccountMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListAccountMappingsResponseClass> {
160
+ return localVarFp.listAccountMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
161
+ },
162
+ };
163
+ };
164
+
165
+ /**
166
+ * Request parameters for listAccountMappings operation in AccountMappingsApi.
167
+ * @export
168
+ * @interface AccountMappingsApiListAccountMappingsRequest
169
+ */
170
+ export interface AccountMappingsApiListAccountMappingsRequest {
171
+ /**
172
+ * Bearer Token: provided by the login endpoint under the name accessToken.
173
+ * @type {string}
174
+ * @memberof AccountMappingsApiListAccountMappings
175
+ */
176
+ readonly authorization?: string
177
+
178
+ /**
179
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
180
+ * @type {number}
181
+ * @memberof AccountMappingsApiListAccountMappings
182
+ */
183
+ readonly pageSize?: number
184
+
185
+ /**
186
+ * 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.
187
+ * @type {string}
188
+ * @memberof AccountMappingsApiListAccountMappings
189
+ */
190
+ readonly pageToken?: string
191
+
192
+ /**
193
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
194
+ * @type {string}
195
+ * @memberof AccountMappingsApiListAccountMappings
196
+ */
197
+ readonly filter?: string
198
+
199
+ /**
200
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
201
+ * @type {string}
202
+ * @memberof AccountMappingsApiListAccountMappings
203
+ */
204
+ readonly search?: string
205
+
206
+ /**
207
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, type, key, subKey&lt;/i&gt;
208
+ * @type {string}
209
+ * @memberof AccountMappingsApiListAccountMappings
210
+ */
211
+ readonly order?: string
212
+
213
+ /**
214
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: financialAccount&lt;i&gt;
215
+ * @type {string}
216
+ * @memberof AccountMappingsApiListAccountMappings
217
+ */
218
+ readonly expand?: string
219
+
220
+ /**
221
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
222
+ * @type {string}
223
+ * @memberof AccountMappingsApiListAccountMappings
224
+ */
225
+ readonly filters?: string
226
+ }
227
+
228
+ /**
229
+ * AccountMappingsApi - object-oriented interface
230
+ * @export
231
+ * @class AccountMappingsApi
232
+ * @extends {BaseAPI}
233
+ */
234
+ export class AccountMappingsApi extends BaseAPI {
235
+ /**
236
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
237
+ * @summary List Account Mappings
238
+ * @param {AccountMappingsApiListAccountMappingsRequest} requestParameters Request parameters.
239
+ * @param {*} [options] Override http request option.
240
+ * @throws {RequiredError}
241
+ * @memberof AccountMappingsApi
242
+ */
243
+ public listAccountMappings(requestParameters: AccountMappingsApiListAccountMappingsRequest = {}, options?: AxiosRequestConfig) {
244
+ return AccountMappingsApiFp(this.configuration).listAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
245
+ }
246
+ }
package/api.ts CHANGED
@@ -20,6 +20,7 @@ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig, AxiosResp
20
20
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
+ import { AccountMappingsApi } from './api';
23
24
  import { AccountingConfigsApi } from './api';
24
25
  import { BookingEntriesApi } from './api';
25
26
  import { FinancialAccountsApi } from './api';
@@ -29,6 +30,7 @@ import { NumberRangesApi } from './api';
29
30
  import { PersonalAccountsApi } from './api';
30
31
 
31
32
 
33
+ export * from './api/account-mappings-api';
32
34
  export * from './api/accounting-configs-api';
33
35
  export * from './api/booking-entries-api';
34
36
  export * from './api/financial-accounts-api';
@@ -0,0 +1,150 @@
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 { ListAccountMappingsResponseClass } from '../models';
16
+ /**
17
+ * AccountMappingsApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const AccountMappingsApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
23
+ * @summary List Account Mappings
24
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
25
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
26
+ * @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.
27
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
28
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
29
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, type, key, subKey&lt;/i&gt;
30
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: financialAccount&lt;i&gt;
31
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ listAccountMappings: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ };
37
+ /**
38
+ * AccountMappingsApi - functional programming interface
39
+ * @export
40
+ */
41
+ export declare const AccountMappingsApiFp: (configuration?: Configuration) => {
42
+ /**
43
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
44
+ * @summary List Account Mappings
45
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
46
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
47
+ * @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.
48
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
49
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
50
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, type, key, subKey&lt;/i&gt;
51
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: financialAccount&lt;i&gt;
52
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ listAccountMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountMappingsResponseClass>>;
57
+ };
58
+ /**
59
+ * AccountMappingsApi - factory interface
60
+ * @export
61
+ */
62
+ export declare const AccountMappingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
63
+ /**
64
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
65
+ * @summary List Account Mappings
66
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
67
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
68
+ * @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.
69
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
70
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
71
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, type, key, subKey&lt;/i&gt;
72
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: financialAccount&lt;i&gt;
73
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ listAccountMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListAccountMappingsResponseClass>;
78
+ };
79
+ /**
80
+ * Request parameters for listAccountMappings operation in AccountMappingsApi.
81
+ * @export
82
+ * @interface AccountMappingsApiListAccountMappingsRequest
83
+ */
84
+ export interface AccountMappingsApiListAccountMappingsRequest {
85
+ /**
86
+ * Bearer Token: provided by the login endpoint under the name accessToken.
87
+ * @type {string}
88
+ * @memberof AccountMappingsApiListAccountMappings
89
+ */
90
+ readonly authorization?: string;
91
+ /**
92
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
93
+ * @type {number}
94
+ * @memberof AccountMappingsApiListAccountMappings
95
+ */
96
+ readonly pageSize?: number;
97
+ /**
98
+ * 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.
99
+ * @type {string}
100
+ * @memberof AccountMappingsApiListAccountMappings
101
+ */
102
+ readonly pageToken?: string;
103
+ /**
104
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
105
+ * @type {string}
106
+ * @memberof AccountMappingsApiListAccountMappings
107
+ */
108
+ readonly filter?: string;
109
+ /**
110
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
111
+ * @type {string}
112
+ * @memberof AccountMappingsApiListAccountMappings
113
+ */
114
+ readonly search?: string;
115
+ /**
116
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, type, key, subKey&lt;/i&gt;
117
+ * @type {string}
118
+ * @memberof AccountMappingsApiListAccountMappings
119
+ */
120
+ readonly order?: string;
121
+ /**
122
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: financialAccount&lt;i&gt;
123
+ * @type {string}
124
+ * @memberof AccountMappingsApiListAccountMappings
125
+ */
126
+ readonly expand?: string;
127
+ /**
128
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
129
+ * @type {string}
130
+ * @memberof AccountMappingsApiListAccountMappings
131
+ */
132
+ readonly filters?: string;
133
+ }
134
+ /**
135
+ * AccountMappingsApi - object-oriented interface
136
+ * @export
137
+ * @class AccountMappingsApi
138
+ * @extends {BaseAPI}
139
+ */
140
+ export declare class AccountMappingsApi extends BaseAPI {
141
+ /**
142
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
143
+ * @summary List Account Mappings
144
+ * @param {AccountMappingsApiListAccountMappingsRequest} requestParameters Request parameters.
145
+ * @param {*} [options] Override http request option.
146
+ * @throws {RequiredError}
147
+ * @memberof AccountMappingsApi
148
+ */
149
+ listAccountMappings(requestParameters?: AccountMappingsApiListAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAccountMappingsResponseClass, any, {}>>;
150
+ }
@@ -0,0 +1,260 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.AccountMappingsApi = exports.AccountMappingsApiFactory = exports.AccountMappingsApiFp = exports.AccountMappingsApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ /**
89
+ * AccountMappingsApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var AccountMappingsApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
97
+ * @summary List Account Mappings
98
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
100
+ * @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.
101
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
102
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
103
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, type, key, subKey&lt;/i&gt;
104
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: financialAccount&lt;i&gt;
105
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ listAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
110
+ if (options === void 0) { options = {}; }
111
+ return __awaiter(_this, void 0, void 0, function () {
112
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
113
+ return __generator(this, function (_a) {
114
+ switch (_a.label) {
115
+ case 0:
116
+ localVarPath = "/accountingservice/v1/account-mappings";
117
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ baseAccessToken = configuration.accessToken;
121
+ }
122
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
123
+ localVarHeaderParameter = {};
124
+ localVarQueryParameter = {};
125
+ // authentication bearer required
126
+ // http bearer authentication required
127
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
+ case 1:
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ _a.sent();
132
+ if (pageSize !== undefined) {
133
+ localVarQueryParameter['pageSize'] = pageSize;
134
+ }
135
+ if (pageToken !== undefined) {
136
+ localVarQueryParameter['pageToken'] = pageToken;
137
+ }
138
+ if (filter !== undefined) {
139
+ localVarQueryParameter['filter'] = filter;
140
+ }
141
+ if (search !== undefined) {
142
+ localVarQueryParameter['search'] = search;
143
+ }
144
+ if (order !== undefined) {
145
+ localVarQueryParameter['order'] = order;
146
+ }
147
+ if (expand !== undefined) {
148
+ localVarQueryParameter['expand'] = expand;
149
+ }
150
+ if (filters !== undefined) {
151
+ localVarQueryParameter['filters'] = filters;
152
+ }
153
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
154
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
155
+ }
156
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
157
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
158
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
159
+ return [2 /*return*/, {
160
+ url: (0, common_1.toPathString)(localVarUrlObj),
161
+ options: localVarRequestOptions,
162
+ }];
163
+ }
164
+ });
165
+ });
166
+ },
167
+ };
168
+ };
169
+ exports.AccountMappingsApiAxiosParamCreator = AccountMappingsApiAxiosParamCreator;
170
+ /**
171
+ * AccountMappingsApi - functional programming interface
172
+ * @export
173
+ */
174
+ var AccountMappingsApiFp = function (configuration) {
175
+ var localVarAxiosParamCreator = (0, exports.AccountMappingsApiAxiosParamCreator)(configuration);
176
+ return {
177
+ /**
178
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
179
+ * @summary List Account Mappings
180
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
181
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
182
+ * @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.
183
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
184
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
185
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, type, key, subKey&lt;/i&gt;
186
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: financialAccount&lt;i&gt;
187
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ listAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
192
+ return __awaiter(this, void 0, void 0, function () {
193
+ var localVarAxiosArgs;
194
+ return __generator(this, function (_a) {
195
+ switch (_a.label) {
196
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listAccountMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
197
+ case 1:
198
+ localVarAxiosArgs = _a.sent();
199
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
200
+ }
201
+ });
202
+ });
203
+ },
204
+ };
205
+ };
206
+ exports.AccountMappingsApiFp = AccountMappingsApiFp;
207
+ /**
208
+ * AccountMappingsApi - factory interface
209
+ * @export
210
+ */
211
+ var AccountMappingsApiFactory = function (configuration, basePath, axios) {
212
+ var localVarFp = (0, exports.AccountMappingsApiFp)(configuration);
213
+ return {
214
+ /**
215
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
216
+ * @summary List Account Mappings
217
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
218
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
219
+ * @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.
220
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
221
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
222
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, type, key, subKey&lt;/i&gt;
223
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: financialAccount&lt;i&gt;
224
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: type, key, subKey&lt;/i&gt;
225
+ * @param {*} [options] Override http request option.
226
+ * @throws {RequiredError}
227
+ */
228
+ listAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
229
+ return localVarFp.listAccountMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
230
+ },
231
+ };
232
+ };
233
+ exports.AccountMappingsApiFactory = AccountMappingsApiFactory;
234
+ /**
235
+ * AccountMappingsApi - object-oriented interface
236
+ * @export
237
+ * @class AccountMappingsApi
238
+ * @extends {BaseAPI}
239
+ */
240
+ var AccountMappingsApi = /** @class */ (function (_super) {
241
+ __extends(AccountMappingsApi, _super);
242
+ function AccountMappingsApi() {
243
+ return _super !== null && _super.apply(this, arguments) || this;
244
+ }
245
+ /**
246
+ * Generic, read-only listing of override-mapping rows, filterable by `type`/`key`/`subKey`. Used internally for bulk badge lookups and for support/debugging; type-specific tabs (e.g. Products) expose their own purpose-built list/detail endpoints on top of this data. **Required Permissions** \"accounting-management.financial-accounts.view\"
247
+ * @summary List Account Mappings
248
+ * @param {AccountMappingsApiListAccountMappingsRequest} requestParameters Request parameters.
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ * @memberof AccountMappingsApi
252
+ */
253
+ AccountMappingsApi.prototype.listAccountMappings = function (requestParameters, options) {
254
+ var _this = this;
255
+ if (requestParameters === void 0) { requestParameters = {}; }
256
+ return (0, exports.AccountMappingsApiFp)(this.configuration).listAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
257
+ };
258
+ return AccountMappingsApi;
259
+ }(base_1.BaseAPI));
260
+ exports.AccountMappingsApi = AccountMappingsApi;
package/dist/api.d.ts CHANGED
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ export * from './api/account-mappings-api';
12
13
  export * from './api/accounting-configs-api';
13
14
  export * from './api/booking-entries-api';
14
15
  export * from './api/financial-accounts-api';
package/dist/api.js CHANGED
@@ -27,6 +27,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api/account-mappings-api"), exports);
30
31
  __exportStar(require("./api/accounting-configs-api"), exports);
31
32
  __exportStar(require("./api/booking-entries-api"), exports);
32
33
  __exportStar(require("./api/financial-accounts-api"), exports);
@@ -30,6 +30,7 @@ export * from './get-personal-account-response-class';
30
30
  export * from './get-subledger-settings-response-class';
31
31
  export * from './inline-response200';
32
32
  export * from './inline-response503';
33
+ export * from './list-account-mappings-response-class';
33
34
  export * from './list-booking-entries-response-class';
34
35
  export * from './list-financial-accounts-response-class';
35
36
  export * from './list-financial-transactions-response-class';
@@ -46,6 +46,7 @@ __exportStar(require("./get-personal-account-response-class"), exports);
46
46
  __exportStar(require("./get-subledger-settings-response-class"), exports);
47
47
  __exportStar(require("./inline-response200"), exports);
48
48
  __exportStar(require("./inline-response503"), exports);
49
+ __exportStar(require("./list-account-mappings-response-class"), exports);
49
50
  __exportStar(require("./list-booking-entries-response-class"), exports);
50
51
  __exportStar(require("./list-financial-accounts-response-class"), exports);
51
52
  __exportStar(require("./list-financial-transactions-response-class"), exports);
@@ -0,0 +1,31 @@
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 { AccountMappingClass } from './account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListAccountMappingsResponseClass
17
+ */
18
+ export interface ListAccountMappingsResponseClass {
19
+ /**
20
+ * The list of account mappings.
21
+ * @type {Array<AccountMappingClass>}
22
+ * @memberof ListAccountMappingsResponseClass
23
+ */
24
+ 'items': Array<AccountMappingClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListAccountMappingsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
package/models/index.ts CHANGED
@@ -30,6 +30,7 @@ export * from './get-personal-account-response-class';
30
30
  export * from './get-subledger-settings-response-class';
31
31
  export * from './inline-response200';
32
32
  export * from './inline-response503';
33
+ export * from './list-account-mappings-response-class';
33
34
  export * from './list-booking-entries-response-class';
34
35
  export * from './list-financial-accounts-response-class';
35
36
  export * from './list-financial-transactions-response-class';
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { AccountMappingClass } from './account-mapping-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListAccountMappingsResponseClass
22
+ */
23
+ export interface ListAccountMappingsResponseClass {
24
+ /**
25
+ * The list of account mappings.
26
+ * @type {Array<AccountMappingClass>}
27
+ * @memberof ListAccountMappingsResponseClass
28
+ */
29
+ 'items': Array<AccountMappingClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListAccountMappingsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk",
3
- "version": "1.34.1-beta.14",
3
+ "version": "1.34.1-beta.16",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [