@emilgroup/accounting-sdk-node 1.0.1-beta.0 → 1.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -0
- package/README.md +2 -2
- package/api/financial-accounts-api.ts +12 -6
- package/api/transactions-api.ts +4 -2
- package/dist/api/financial-accounts-api.d.ts +12 -9
- package/dist/api/transactions-api.d.ts +4 -3
- package/dist/models/create-financial-account-response-class.d.ts +25 -0
- package/dist/models/create-financial-account-response-class.js +15 -0
- package/dist/models/create-transaction-response-class.d.ts +25 -0
- package/dist/models/create-transaction-response-class.js +15 -0
- package/dist/models/financial-account-class.d.ts +86 -0
- package/dist/models/financial-account-class.js +23 -0
- package/dist/models/get-financial-account-response-class.d.ts +25 -0
- package/dist/models/get-financial-account-response-class.js +15 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/list-financial-accounts-response-class.d.ts +31 -0
- package/dist/models/list-financial-accounts-response-class.js +15 -0
- package/dist/models/transaction-class.d.ts +66 -0
- package/dist/models/transaction-class.js +15 -0
- package/models/create-financial-account-response-class.ts +31 -0
- package/models/create-transaction-response-class.ts +31 -0
- package/models/financial-account-class.ts +95 -0
- package/models/get-financial-account-response-class.ts +31 -0
- package/models/index.ts +6 -0
- package/models/list-financial-accounts-response-class.ts +37 -0
- package/models/transaction-class.ts +72 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -12,10 +12,16 @@ configuration.ts
|
|
|
12
12
|
git_push.sh
|
|
13
13
|
index.ts
|
|
14
14
|
models/create-financial-account-request-dto.ts
|
|
15
|
+
models/create-financial-account-response-class.ts
|
|
15
16
|
models/create-transaction-request-dto.ts
|
|
17
|
+
models/create-transaction-response-class.ts
|
|
16
18
|
models/entry-data-dto.ts
|
|
19
|
+
models/financial-account-class.ts
|
|
20
|
+
models/get-financial-account-response-class.ts
|
|
17
21
|
models/index.ts
|
|
18
22
|
models/inline-response200.ts
|
|
19
23
|
models/inline-response503.ts
|
|
24
|
+
models/list-financial-accounts-response-class.ts
|
|
25
|
+
models/transaction-class.ts
|
|
20
26
|
package.json
|
|
21
27
|
tsconfig.json
|
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-node@1.0.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk-node@1.0.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk-node@1.0.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk-node@1.0.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -22,6 +22,12 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateFinancialAccountRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateFinancialAccountResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { GetFinancialAccountResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { ListFinancialAccountsResponseClass } from '../models';
|
|
25
31
|
// URLSearchParams not necessarily used
|
|
26
32
|
// @ts-ignore
|
|
27
33
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -270,7 +276,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
270
276
|
* @param {*} [options] Override http request option.
|
|
271
277
|
* @throws {RequiredError}
|
|
272
278
|
*/
|
|
273
|
-
async createFinancialAccount(createFinancialAccountRequestDto: CreateFinancialAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
279
|
+
async createFinancialAccount(createFinancialAccountRequestDto: CreateFinancialAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFinancialAccountResponseClass>> {
|
|
274
280
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createFinancialAccount(createFinancialAccountRequestDto, authorization, options);
|
|
275
281
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
276
282
|
},
|
|
@@ -295,7 +301,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
295
301
|
* @param {*} [options] Override http request option.
|
|
296
302
|
* @throws {RequiredError}
|
|
297
303
|
*/
|
|
298
|
-
async getFinancialAccount(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
304
|
+
async getFinancialAccount(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFinancialAccountResponseClass>> {
|
|
299
305
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFinancialAccount(code, expand, authorization, options);
|
|
300
306
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
301
307
|
},
|
|
@@ -313,7 +319,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
313
319
|
* @param {*} [options] Override http request option.
|
|
314
320
|
* @throws {RequiredError}
|
|
315
321
|
*/
|
|
316
|
-
async listFinancialAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
322
|
+
async listFinancialAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialAccountsResponseClass>> {
|
|
317
323
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listFinancialAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
318
324
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
319
325
|
},
|
|
@@ -335,7 +341,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
335
341
|
* @param {*} [options] Override http request option.
|
|
336
342
|
* @throws {RequiredError}
|
|
337
343
|
*/
|
|
338
|
-
createFinancialAccount(createFinancialAccountRequestDto: CreateFinancialAccountRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
344
|
+
createFinancialAccount(createFinancialAccountRequestDto: CreateFinancialAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateFinancialAccountResponseClass> {
|
|
339
345
|
return localVarFp.createFinancialAccount(createFinancialAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
340
346
|
},
|
|
341
347
|
/**
|
|
@@ -358,7 +364,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
358
364
|
* @param {*} [options] Override http request option.
|
|
359
365
|
* @throws {RequiredError}
|
|
360
366
|
*/
|
|
361
|
-
getFinancialAccount(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<
|
|
367
|
+
getFinancialAccount(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetFinancialAccountResponseClass> {
|
|
362
368
|
return localVarFp.getFinancialAccount(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
363
369
|
},
|
|
364
370
|
/**
|
|
@@ -375,7 +381,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
375
381
|
* @param {*} [options] Override http request option.
|
|
376
382
|
* @throws {RequiredError}
|
|
377
383
|
*/
|
|
378
|
-
listFinancialAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: any): AxiosPromise<
|
|
384
|
+
listFinancialAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: any): AxiosPromise<ListFinancialAccountsResponseClass> {
|
|
379
385
|
return localVarFp.listFinancialAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
380
386
|
},
|
|
381
387
|
};
|
package/api/transactions-api.ts
CHANGED
|
@@ -22,6 +22,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateTransactionRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateTransactionResponseClass } from '../models';
|
|
25
27
|
// URLSearchParams not necessarily used
|
|
26
28
|
// @ts-ignore
|
|
27
29
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -97,7 +99,7 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
|
97
99
|
* @param {*} [options] Override http request option.
|
|
98
100
|
* @throws {RequiredError}
|
|
99
101
|
*/
|
|
100
|
-
async createTransaction(createTransactionRequestDto: CreateTransactionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
102
|
+
async createTransaction(createTransactionRequestDto: CreateTransactionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTransactionResponseClass>> {
|
|
101
103
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createTransaction(createTransactionRequestDto, authorization, options);
|
|
102
104
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
103
105
|
},
|
|
@@ -119,7 +121,7 @@ export const TransactionsApiFactory = function (configuration?: Configuration, b
|
|
|
119
121
|
* @param {*} [options] Override http request option.
|
|
120
122
|
* @throws {RequiredError}
|
|
121
123
|
*/
|
|
122
|
-
createTransaction(createTransactionRequestDto: CreateTransactionRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
124
|
+
createTransaction(createTransactionRequestDto: CreateTransactionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTransactionResponseClass> {
|
|
123
125
|
return localVarFp.createTransaction(createTransactionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
124
126
|
},
|
|
125
127
|
};
|
|
@@ -13,6 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateFinancialAccountRequestDto } from '../models';
|
|
16
|
+
import { CreateFinancialAccountResponseClass } from '../models';
|
|
17
|
+
import { GetFinancialAccountResponseClass } from '../models';
|
|
18
|
+
import { ListFinancialAccountsResponseClass } from '../models';
|
|
16
19
|
/**
|
|
17
20
|
* FinancialAccountsApi - axios parameter creator
|
|
18
21
|
* @export
|
|
@@ -75,7 +78,7 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
|
|
|
75
78
|
* @param {*} [options] Override http request option.
|
|
76
79
|
* @throws {RequiredError}
|
|
77
80
|
*/
|
|
78
|
-
createFinancialAccount(createFinancialAccountRequestDto: CreateFinancialAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
81
|
+
createFinancialAccount(createFinancialAccountRequestDto: CreateFinancialAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFinancialAccountResponseClass>>;
|
|
79
82
|
/**
|
|
80
83
|
* Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
|
|
81
84
|
* @summary Delete the account
|
|
@@ -94,7 +97,7 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
|
|
|
94
97
|
* @param {*} [options] Override http request option.
|
|
95
98
|
* @throws {RequiredError}
|
|
96
99
|
*/
|
|
97
|
-
getFinancialAccount(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
100
|
+
getFinancialAccount(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFinancialAccountResponseClass>>;
|
|
98
101
|
/**
|
|
99
102
|
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
100
103
|
* @summary List Financial Accounts
|
|
@@ -109,7 +112,7 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
|
|
|
109
112
|
* @param {*} [options] Override http request option.
|
|
110
113
|
* @throws {RequiredError}
|
|
111
114
|
*/
|
|
112
|
-
listFinancialAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
115
|
+
listFinancialAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialAccountsResponseClass>>;
|
|
113
116
|
};
|
|
114
117
|
/**
|
|
115
118
|
* FinancialAccountsApi - factory interface
|
|
@@ -124,7 +127,7 @@ export declare const FinancialAccountsApiFactory: (configuration?: Configuration
|
|
|
124
127
|
* @param {*} [options] Override http request option.
|
|
125
128
|
* @throws {RequiredError}
|
|
126
129
|
*/
|
|
127
|
-
createFinancialAccount(createFinancialAccountRequestDto: CreateFinancialAccountRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
130
|
+
createFinancialAccount(createFinancialAccountRequestDto: CreateFinancialAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateFinancialAccountResponseClass>;
|
|
128
131
|
/**
|
|
129
132
|
* Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
|
|
130
133
|
* @summary Delete the account
|
|
@@ -143,7 +146,7 @@ export declare const FinancialAccountsApiFactory: (configuration?: Configuration
|
|
|
143
146
|
* @param {*} [options] Override http request option.
|
|
144
147
|
* @throws {RequiredError}
|
|
145
148
|
*/
|
|
146
|
-
getFinancialAccount(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<
|
|
149
|
+
getFinancialAccount(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetFinancialAccountResponseClass>;
|
|
147
150
|
/**
|
|
148
151
|
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
149
152
|
* @summary List Financial Accounts
|
|
@@ -158,7 +161,7 @@ export declare const FinancialAccountsApiFactory: (configuration?: Configuration
|
|
|
158
161
|
* @param {*} [options] Override http request option.
|
|
159
162
|
* @throws {RequiredError}
|
|
160
163
|
*/
|
|
161
|
-
listFinancialAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: any): AxiosPromise<
|
|
164
|
+
listFinancialAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: any): AxiosPromise<ListFinancialAccountsResponseClass>;
|
|
162
165
|
};
|
|
163
166
|
/**
|
|
164
167
|
* Request parameters for createFinancialAccount operation in FinancialAccountsApi.
|
|
@@ -293,7 +296,7 @@ export declare class FinancialAccountsApi extends BaseAPI {
|
|
|
293
296
|
* @throws {RequiredError}
|
|
294
297
|
* @memberof FinancialAccountsApi
|
|
295
298
|
*/
|
|
296
|
-
createFinancialAccount(requestParameters: FinancialAccountsApiCreateFinancialAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
299
|
+
createFinancialAccount(requestParameters: FinancialAccountsApiCreateFinancialAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFinancialAccountResponseClass, any>>;
|
|
297
300
|
/**
|
|
298
301
|
* Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
|
|
299
302
|
* @summary Delete the account
|
|
@@ -311,7 +314,7 @@ export declare class FinancialAccountsApi extends BaseAPI {
|
|
|
311
314
|
* @throws {RequiredError}
|
|
312
315
|
* @memberof FinancialAccountsApi
|
|
313
316
|
*/
|
|
314
|
-
getFinancialAccount(requestParameters: FinancialAccountsApiGetFinancialAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
317
|
+
getFinancialAccount(requestParameters: FinancialAccountsApiGetFinancialAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFinancialAccountResponseClass, any>>;
|
|
315
318
|
/**
|
|
316
319
|
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
317
320
|
* @summary List Financial Accounts
|
|
@@ -320,5 +323,5 @@ export declare class FinancialAccountsApi extends BaseAPI {
|
|
|
320
323
|
* @throws {RequiredError}
|
|
321
324
|
* @memberof FinancialAccountsApi
|
|
322
325
|
*/
|
|
323
|
-
listFinancialAccounts(requestParameters?: FinancialAccountsApiListFinancialAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
326
|
+
listFinancialAccounts(requestParameters?: FinancialAccountsApiListFinancialAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialAccountsResponseClass, any>>;
|
|
324
327
|
}
|
|
@@ -13,6 +13,7 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateTransactionRequestDto } from '../models';
|
|
16
|
+
import { CreateTransactionResponseClass } from '../models';
|
|
16
17
|
/**
|
|
17
18
|
* TransactionsApi - axios parameter creator
|
|
18
19
|
* @export
|
|
@@ -41,7 +42,7 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
|
41
42
|
* @param {*} [options] Override http request option.
|
|
42
43
|
* @throws {RequiredError}
|
|
43
44
|
*/
|
|
44
|
-
createTransaction(createTransactionRequestDto: CreateTransactionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
45
|
+
createTransaction(createTransactionRequestDto: CreateTransactionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTransactionResponseClass>>;
|
|
45
46
|
};
|
|
46
47
|
/**
|
|
47
48
|
* TransactionsApi - factory interface
|
|
@@ -56,7 +57,7 @@ export declare const TransactionsApiFactory: (configuration?: Configuration, bas
|
|
|
56
57
|
* @param {*} [options] Override http request option.
|
|
57
58
|
* @throws {RequiredError}
|
|
58
59
|
*/
|
|
59
|
-
createTransaction(createTransactionRequestDto: CreateTransactionRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
60
|
+
createTransaction(createTransactionRequestDto: CreateTransactionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTransactionResponseClass>;
|
|
60
61
|
};
|
|
61
62
|
/**
|
|
62
63
|
* Request parameters for createTransaction operation in TransactionsApi.
|
|
@@ -92,5 +93,5 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
92
93
|
* @throws {RequiredError}
|
|
93
94
|
* @memberof TransactionsApi
|
|
94
95
|
*/
|
|
95
|
-
createTransaction(requestParameters: TransactionsApiCreateTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
96
|
+
createTransaction(requestParameters: TransactionsApiCreateTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTransactionResponseClass, any>>;
|
|
96
97
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { FinancialAccountClass } from './financial-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateFinancialAccountResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateFinancialAccountResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The financial account response.
|
|
21
|
+
* @type {FinancialAccountClass}
|
|
22
|
+
* @memberof CreateFinancialAccountResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'financialAccount': FinancialAccountClass;
|
|
25
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { TransactionClass } from './transaction-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateTransactionResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateTransactionResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The transactions response.
|
|
21
|
+
* @type {TransactionClass}
|
|
22
|
+
* @memberof CreateTransactionResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'transaction': TransactionClass;
|
|
25
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FinancialAccountClass
|
|
16
|
+
*/
|
|
17
|
+
export interface FinancialAccountClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof FinancialAccountClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FinancialAccountClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the account.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FinancialAccountClass
|
|
34
|
+
*/
|
|
35
|
+
'name': string;
|
|
36
|
+
/**
|
|
37
|
+
* The financial account number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FinancialAccountClass
|
|
40
|
+
*/
|
|
41
|
+
'financialAccountNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the parent account, if any.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof FinancialAccountClass
|
|
46
|
+
*/
|
|
47
|
+
'parentId': number;
|
|
48
|
+
/**
|
|
49
|
+
* The entity code of the account (account code, bank account code, etc...).
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof FinancialAccountClass
|
|
52
|
+
*/
|
|
53
|
+
'entityCode': string;
|
|
54
|
+
/**
|
|
55
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof FinancialAccountClass
|
|
58
|
+
*/
|
|
59
|
+
'type': FinancialAccountClassTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
* Metadata about the object.
|
|
62
|
+
* @type {object}
|
|
63
|
+
* @memberof FinancialAccountClass
|
|
64
|
+
*/
|
|
65
|
+
'metadata': object;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was created.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof FinancialAccountClass
|
|
70
|
+
*/
|
|
71
|
+
'createdAt': string;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was updated.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof FinancialAccountClass
|
|
76
|
+
*/
|
|
77
|
+
'updatedAt': string;
|
|
78
|
+
}
|
|
79
|
+
export declare const FinancialAccountClassTypeEnum: {
|
|
80
|
+
readonly Asset: "Asset";
|
|
81
|
+
readonly Liability: "Liability";
|
|
82
|
+
readonly Equity: "Equity";
|
|
83
|
+
readonly Revenue: "Revenue";
|
|
84
|
+
readonly Expense: "Expense";
|
|
85
|
+
};
|
|
86
|
+
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
@@ -0,0 +1,23 @@
|
|
|
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 });
|
|
16
|
+
exports.FinancialAccountClassTypeEnum = void 0;
|
|
17
|
+
exports.FinancialAccountClassTypeEnum = {
|
|
18
|
+
Asset: 'Asset',
|
|
19
|
+
Liability: 'Liability',
|
|
20
|
+
Equity: 'Equity',
|
|
21
|
+
Revenue: 'Revenue',
|
|
22
|
+
Expense: 'Expense'
|
|
23
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { FinancialAccountClass } from './financial-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetFinancialAccountResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetFinancialAccountResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The financial account response.
|
|
21
|
+
* @type {FinancialAccountClass}
|
|
22
|
+
* @memberof GetFinancialAccountResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'financialAccount': FinancialAccountClass;
|
|
25
|
+
}
|
|
@@ -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/dist/models/index.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export * from './create-financial-account-request-dto';
|
|
2
|
+
export * from './create-financial-account-response-class';
|
|
2
3
|
export * from './create-transaction-request-dto';
|
|
4
|
+
export * from './create-transaction-response-class';
|
|
3
5
|
export * from './entry-data-dto';
|
|
6
|
+
export * from './financial-account-class';
|
|
7
|
+
export * from './get-financial-account-response-class';
|
|
4
8
|
export * from './inline-response200';
|
|
5
9
|
export * from './inline-response503';
|
|
10
|
+
export * from './list-financial-accounts-response-class';
|
|
11
|
+
export * from './transaction-class';
|
package/dist/models/index.js
CHANGED
|
@@ -15,7 +15,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./create-financial-account-request-dto"), exports);
|
|
18
|
+
__exportStar(require("./create-financial-account-response-class"), exports);
|
|
18
19
|
__exportStar(require("./create-transaction-request-dto"), exports);
|
|
20
|
+
__exportStar(require("./create-transaction-response-class"), exports);
|
|
19
21
|
__exportStar(require("./entry-data-dto"), exports);
|
|
22
|
+
__exportStar(require("./financial-account-class"), exports);
|
|
23
|
+
__exportStar(require("./get-financial-account-response-class"), exports);
|
|
20
24
|
__exportStar(require("./inline-response200"), exports);
|
|
21
25
|
__exportStar(require("./inline-response503"), exports);
|
|
26
|
+
__exportStar(require("./list-financial-accounts-response-class"), exports);
|
|
27
|
+
__exportStar(require("./transaction-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 { FinancialAccountClass } from './financial-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListFinancialAccountsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListFinancialAccountsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of financial accounts.
|
|
21
|
+
* @type {Array<FinancialAccountClass>}
|
|
22
|
+
* @memberof ListFinancialAccountsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<FinancialAccountClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListFinancialAccountsResponseClass
|
|
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 });
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TransactionClass
|
|
16
|
+
*/
|
|
17
|
+
export interface TransactionClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof TransactionClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TransactionClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* The date of the transaction.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TransactionClass
|
|
34
|
+
*/
|
|
35
|
+
'date': string;
|
|
36
|
+
/**
|
|
37
|
+
* The description of the transaction.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TransactionClass
|
|
40
|
+
*/
|
|
41
|
+
'description': string;
|
|
42
|
+
/**
|
|
43
|
+
* The reference of the transaction.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TransactionClass
|
|
46
|
+
*/
|
|
47
|
+
'reference': string;
|
|
48
|
+
/**
|
|
49
|
+
* The policy number of the transaction.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof TransactionClass
|
|
52
|
+
*/
|
|
53
|
+
'policyNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* The account number of the transaction.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof TransactionClass
|
|
58
|
+
*/
|
|
59
|
+
'accountNumber': string;
|
|
60
|
+
/**
|
|
61
|
+
* List of entries in the transaction.
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof TransactionClass
|
|
64
|
+
*/
|
|
65
|
+
'entries': Array<string>;
|
|
66
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { FinancialAccountClass } from './financial-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateFinancialAccountResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateFinancialAccountResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The financial account response.
|
|
26
|
+
* @type {FinancialAccountClass}
|
|
27
|
+
* @memberof CreateFinancialAccountResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'financialAccount': FinancialAccountClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { TransactionClass } from './transaction-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateTransactionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateTransactionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The transactions response.
|
|
26
|
+
* @type {TransactionClass}
|
|
27
|
+
* @memberof CreateTransactionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'transaction': TransactionClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface FinancialAccountClass
|
|
21
|
+
*/
|
|
22
|
+
export interface FinancialAccountClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof FinancialAccountClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof FinancialAccountClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the account.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof FinancialAccountClass
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* The financial account number.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof FinancialAccountClass
|
|
45
|
+
*/
|
|
46
|
+
'financialAccountNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the parent account, if any.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof FinancialAccountClass
|
|
51
|
+
*/
|
|
52
|
+
'parentId': number;
|
|
53
|
+
/**
|
|
54
|
+
* The entity code of the account (account code, bank account code, etc...).
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof FinancialAccountClass
|
|
57
|
+
*/
|
|
58
|
+
'entityCode': string;
|
|
59
|
+
/**
|
|
60
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof FinancialAccountClass
|
|
63
|
+
*/
|
|
64
|
+
'type': FinancialAccountClassTypeEnum;
|
|
65
|
+
/**
|
|
66
|
+
* Metadata about the object.
|
|
67
|
+
* @type {object}
|
|
68
|
+
* @memberof FinancialAccountClass
|
|
69
|
+
*/
|
|
70
|
+
'metadata': object;
|
|
71
|
+
/**
|
|
72
|
+
* Time at which the object was created.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof FinancialAccountClass
|
|
75
|
+
*/
|
|
76
|
+
'createdAt': string;
|
|
77
|
+
/**
|
|
78
|
+
* Time at which the object was updated.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof FinancialAccountClass
|
|
81
|
+
*/
|
|
82
|
+
'updatedAt': string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export const FinancialAccountClassTypeEnum = {
|
|
86
|
+
Asset: 'Asset',
|
|
87
|
+
Liability: 'Liability',
|
|
88
|
+
Equity: 'Equity',
|
|
89
|
+
Revenue: 'Revenue',
|
|
90
|
+
Expense: 'Expense'
|
|
91
|
+
} as const;
|
|
92
|
+
|
|
93
|
+
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
94
|
+
|
|
95
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { FinancialAccountClass } from './financial-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetFinancialAccountResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetFinancialAccountResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The financial account response.
|
|
26
|
+
* @type {FinancialAccountClass}
|
|
27
|
+
* @memberof GetFinancialAccountResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'financialAccount': FinancialAccountClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export * from './create-financial-account-request-dto';
|
|
2
|
+
export * from './create-financial-account-response-class';
|
|
2
3
|
export * from './create-transaction-request-dto';
|
|
4
|
+
export * from './create-transaction-response-class';
|
|
3
5
|
export * from './entry-data-dto';
|
|
6
|
+
export * from './financial-account-class';
|
|
7
|
+
export * from './get-financial-account-response-class';
|
|
4
8
|
export * from './inline-response200';
|
|
5
9
|
export * from './inline-response503';
|
|
10
|
+
export * from './list-financial-accounts-response-class';
|
|
11
|
+
export * from './transaction-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 { FinancialAccountClass } from './financial-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListFinancialAccountsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListFinancialAccountsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of financial accounts.
|
|
26
|
+
* @type {Array<FinancialAccountClass>}
|
|
27
|
+
* @memberof ListFinancialAccountsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<FinancialAccountClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListFinancialAccountsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface TransactionClass
|
|
21
|
+
*/
|
|
22
|
+
export interface TransactionClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof TransactionClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof TransactionClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* The date of the transaction.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof TransactionClass
|
|
39
|
+
*/
|
|
40
|
+
'date': string;
|
|
41
|
+
/**
|
|
42
|
+
* The description of the transaction.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof TransactionClass
|
|
45
|
+
*/
|
|
46
|
+
'description': string;
|
|
47
|
+
/**
|
|
48
|
+
* The reference of the transaction.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof TransactionClass
|
|
51
|
+
*/
|
|
52
|
+
'reference': string;
|
|
53
|
+
/**
|
|
54
|
+
* The policy number of the transaction.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof TransactionClass
|
|
57
|
+
*/
|
|
58
|
+
'policyNumber': string;
|
|
59
|
+
/**
|
|
60
|
+
* The account number of the transaction.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof TransactionClass
|
|
63
|
+
*/
|
|
64
|
+
'accountNumber': string;
|
|
65
|
+
/**
|
|
66
|
+
* List of entries in the transaction.
|
|
67
|
+
* @type {Array<string>}
|
|
68
|
+
* @memberof TransactionClass
|
|
69
|
+
*/
|
|
70
|
+
'entries': Array<string>;
|
|
71
|
+
}
|
|
72
|
+
|