@emilgroup/accounting-sdk 1.16.1-beta.8 → 1.17.0
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/README.md +2 -2
- package/api/personal-accounts-api.ts +20 -20
- package/dist/api/personal-accounts-api.d.ts +20 -20
- package/dist/api/personal-accounts-api.js +20 -20
- package/dist/models/booking-entry-class.d.ts +10 -4
- package/dist/models/create-booking-entry-request-dto.d.ts +1 -1
- package/dist/models/personal-account-class.d.ts +1 -1
- package/models/booking-entry-class.ts +10 -4
- package/models/create-booking-entry-request-dto.ts +1 -1
- package/models/personal-account-class.ts +1 -1
- package/package.json +1 -1
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.
|
|
20
|
+
npm install @emilgroup/accounting-sdk@1.17.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk@1.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk@1.17.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -35,7 +35,7 @@ import { ListPersonalAccountsResponseClass } from '../models';
|
|
|
35
35
|
export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
38
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
39
39
|
* @summary Create the Personal Account
|
|
40
40
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
41
41
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -127,8 +127,8 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
127
127
|
};
|
|
128
128
|
},
|
|
129
129
|
/**
|
|
130
|
-
* Retrieves the details of the
|
|
131
|
-
* @summary Retrieve the
|
|
130
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
131
|
+
* @summary Retrieve the Personal Account
|
|
132
132
|
* @param {string} code Unique identifier for the object.
|
|
133
133
|
* @param {string} expand
|
|
134
134
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -179,8 +179,8 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
179
179
|
};
|
|
180
180
|
},
|
|
181
181
|
/**
|
|
182
|
-
* Returns a list of
|
|
183
|
-
* @summary List
|
|
182
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
183
|
+
* @summary List Personal Accounts
|
|
184
184
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
185
185
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
186
186
|
* @param {any} [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.
|
|
@@ -265,7 +265,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
|
|
|
265
265
|
const localVarAxiosParamCreator = PersonalAccountsApiAxiosParamCreator(configuration)
|
|
266
266
|
return {
|
|
267
267
|
/**
|
|
268
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
268
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
269
269
|
* @summary Create the Personal Account
|
|
270
270
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
271
271
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -289,8 +289,8 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
|
|
|
289
289
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
290
290
|
},
|
|
291
291
|
/**
|
|
292
|
-
* Retrieves the details of the
|
|
293
|
-
* @summary Retrieve the
|
|
292
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
293
|
+
* @summary Retrieve the Personal Account
|
|
294
294
|
* @param {string} code Unique identifier for the object.
|
|
295
295
|
* @param {string} expand
|
|
296
296
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -302,8 +302,8 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
|
|
|
302
302
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
303
303
|
},
|
|
304
304
|
/**
|
|
305
|
-
* Returns a list of
|
|
306
|
-
* @summary List
|
|
305
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
306
|
+
* @summary List Personal Accounts
|
|
307
307
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
308
308
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
309
309
|
* @param {any} [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.
|
|
@@ -330,7 +330,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
|
|
|
330
330
|
const localVarFp = PersonalAccountsApiFp(configuration)
|
|
331
331
|
return {
|
|
332
332
|
/**
|
|
333
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
333
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
334
334
|
* @summary Create the Personal Account
|
|
335
335
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
336
336
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -352,8 +352,8 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
|
|
|
352
352
|
return localVarFp.deletePersonalAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
353
353
|
},
|
|
354
354
|
/**
|
|
355
|
-
* Retrieves the details of the
|
|
356
|
-
* @summary Retrieve the
|
|
355
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
356
|
+
* @summary Retrieve the Personal Account
|
|
357
357
|
* @param {string} code Unique identifier for the object.
|
|
358
358
|
* @param {string} expand
|
|
359
359
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -364,8 +364,8 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
|
|
|
364
364
|
return localVarFp.getPersonalAccount(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
365
365
|
},
|
|
366
366
|
/**
|
|
367
|
-
* Returns a list of
|
|
368
|
-
* @summary List
|
|
367
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
368
|
+
* @summary List Personal Accounts
|
|
369
369
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
370
370
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
371
371
|
* @param {any} [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.
|
|
@@ -524,7 +524,7 @@ export interface PersonalAccountsApiListPersonalAccountsRequest {
|
|
|
524
524
|
*/
|
|
525
525
|
export class PersonalAccountsApi extends BaseAPI {
|
|
526
526
|
/**
|
|
527
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
527
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
528
528
|
* @summary Create the Personal Account
|
|
529
529
|
* @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
|
|
530
530
|
* @param {*} [options] Override http request option.
|
|
@@ -548,8 +548,8 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
* Retrieves the details of the
|
|
552
|
-
* @summary Retrieve the
|
|
551
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
552
|
+
* @summary Retrieve the Personal Account
|
|
553
553
|
* @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
|
|
554
554
|
* @param {*} [options] Override http request option.
|
|
555
555
|
* @throws {RequiredError}
|
|
@@ -560,8 +560,8 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
|
-
* Returns a list of
|
|
564
|
-
* @summary List
|
|
563
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
564
|
+
* @summary List Personal Accounts
|
|
565
565
|
* @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
|
|
566
566
|
* @param {*} [options] Override http request option.
|
|
567
567
|
* @throws {RequiredError}
|
|
@@ -22,7 +22,7 @@ import { ListPersonalAccountsResponseClass } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
25
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
26
26
|
* @summary Create the Personal Account
|
|
27
27
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
28
28
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -40,8 +40,8 @@ export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Conf
|
|
|
40
40
|
*/
|
|
41
41
|
deletePersonalAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
42
|
/**
|
|
43
|
-
* Retrieves the details of the
|
|
44
|
-
* @summary Retrieve the
|
|
43
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
44
|
+
* @summary Retrieve the Personal Account
|
|
45
45
|
* @param {string} code Unique identifier for the object.
|
|
46
46
|
* @param {string} expand
|
|
47
47
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -50,8 +50,8 @@ export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Conf
|
|
|
50
50
|
*/
|
|
51
51
|
getPersonalAccount: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
52
|
/**
|
|
53
|
-
* Returns a list of
|
|
54
|
-
* @summary List
|
|
53
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
54
|
+
* @summary List Personal Accounts
|
|
55
55
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
56
56
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
57
57
|
* @param {any} [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.
|
|
@@ -71,7 +71,7 @@ export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Conf
|
|
|
71
71
|
*/
|
|
72
72
|
export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
|
|
73
73
|
/**
|
|
74
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
74
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
75
75
|
* @summary Create the Personal Account
|
|
76
76
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
77
77
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -89,8 +89,8 @@ export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
|
|
|
89
89
|
*/
|
|
90
90
|
deletePersonalAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
91
91
|
/**
|
|
92
|
-
* Retrieves the details of the
|
|
93
|
-
* @summary Retrieve the
|
|
92
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
93
|
+
* @summary Retrieve the Personal Account
|
|
94
94
|
* @param {string} code Unique identifier for the object.
|
|
95
95
|
* @param {string} expand
|
|
96
96
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -99,8 +99,8 @@ export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
|
|
|
99
99
|
*/
|
|
100
100
|
getPersonalAccount(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPersonalAccountResponseClass>>;
|
|
101
101
|
/**
|
|
102
|
-
* Returns a list of
|
|
103
|
-
* @summary List
|
|
102
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
103
|
+
* @summary List Personal Accounts
|
|
104
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
105
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
106
106
|
* @param {any} [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.
|
|
@@ -120,7 +120,7 @@ export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
|
|
|
120
120
|
*/
|
|
121
121
|
export declare const PersonalAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
122
122
|
/**
|
|
123
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
123
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
124
124
|
* @summary Create the Personal Account
|
|
125
125
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
126
126
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -138,8 +138,8 @@ export declare const PersonalAccountsApiFactory: (configuration?: Configuration,
|
|
|
138
138
|
*/
|
|
139
139
|
deletePersonalAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
140
140
|
/**
|
|
141
|
-
* Retrieves the details of the
|
|
142
|
-
* @summary Retrieve the
|
|
141
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
142
|
+
* @summary Retrieve the Personal Account
|
|
143
143
|
* @param {string} code Unique identifier for the object.
|
|
144
144
|
* @param {string} expand
|
|
145
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -148,8 +148,8 @@ export declare const PersonalAccountsApiFactory: (configuration?: Configuration,
|
|
|
148
148
|
*/
|
|
149
149
|
getPersonalAccount(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetPersonalAccountResponseClass>;
|
|
150
150
|
/**
|
|
151
|
-
* Returns a list of
|
|
152
|
-
* @summary List
|
|
151
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
152
|
+
* @summary List Personal Accounts
|
|
153
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
154
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
155
155
|
* @param {any} [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.
|
|
@@ -289,7 +289,7 @@ export interface PersonalAccountsApiListPersonalAccountsRequest {
|
|
|
289
289
|
*/
|
|
290
290
|
export declare class PersonalAccountsApi extends BaseAPI {
|
|
291
291
|
/**
|
|
292
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
292
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
293
293
|
* @summary Create the Personal Account
|
|
294
294
|
* @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
|
|
295
295
|
* @param {*} [options] Override http request option.
|
|
@@ -307,8 +307,8 @@ export declare class PersonalAccountsApi extends BaseAPI {
|
|
|
307
307
|
*/
|
|
308
308
|
deletePersonalAccount(requestParameters: PersonalAccountsApiDeletePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
309
309
|
/**
|
|
310
|
-
* Retrieves the details of the
|
|
311
|
-
* @summary Retrieve the
|
|
310
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
311
|
+
* @summary Retrieve the Personal Account
|
|
312
312
|
* @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
|
|
313
313
|
* @param {*} [options] Override http request option.
|
|
314
314
|
* @throws {RequiredError}
|
|
@@ -316,8 +316,8 @@ export declare class PersonalAccountsApi extends BaseAPI {
|
|
|
316
316
|
*/
|
|
317
317
|
getPersonalAccount(requestParameters: PersonalAccountsApiGetPersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPersonalAccountResponseClass, any>>;
|
|
318
318
|
/**
|
|
319
|
-
* Returns a list of
|
|
320
|
-
* @summary List
|
|
319
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
320
|
+
* @summary List Personal Accounts
|
|
321
321
|
* @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
|
|
322
322
|
* @param {*} [options] Override http request option.
|
|
323
323
|
* @throws {RequiredError}
|
|
@@ -93,7 +93,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
96
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
97
97
|
* @summary Create the Personal Account
|
|
98
98
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -190,8 +190,8 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Retrieves the details of the
|
|
194
|
-
* @summary Retrieve the
|
|
193
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
194
|
+
* @summary Retrieve the Personal Account
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} expand
|
|
197
197
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -244,8 +244,8 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
244
244
|
});
|
|
245
245
|
},
|
|
246
246
|
/**
|
|
247
|
-
* Returns a list of
|
|
248
|
-
* @summary List
|
|
247
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
248
|
+
* @summary List Personal Accounts
|
|
249
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
250
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
251
|
* @param {any} [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.
|
|
@@ -326,7 +326,7 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
326
326
|
var localVarAxiosParamCreator = (0, exports.PersonalAccountsApiAxiosParamCreator)(configuration);
|
|
327
327
|
return {
|
|
328
328
|
/**
|
|
329
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
329
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
330
330
|
* @summary Create the Personal Account
|
|
331
331
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
332
332
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -368,8 +368,8 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
368
368
|
});
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
|
-
* Retrieves the details of the
|
|
372
|
-
* @summary Retrieve the
|
|
371
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
372
|
+
* @summary Retrieve the Personal Account
|
|
373
373
|
* @param {string} code Unique identifier for the object.
|
|
374
374
|
* @param {string} expand
|
|
375
375
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -390,8 +390,8 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
390
390
|
});
|
|
391
391
|
},
|
|
392
392
|
/**
|
|
393
|
-
* Returns a list of
|
|
394
|
-
* @summary List
|
|
393
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
394
|
+
* @summary List Personal Accounts
|
|
395
395
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
396
396
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
397
397
|
* @param {any} [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.
|
|
@@ -427,7 +427,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
427
427
|
var localVarFp = (0, exports.PersonalAccountsApiFp)(configuration);
|
|
428
428
|
return {
|
|
429
429
|
/**
|
|
430
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
430
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
431
431
|
* @summary Create the Personal Account
|
|
432
432
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
433
433
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -449,8 +449,8 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
449
449
|
return localVarFp.deletePersonalAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
450
450
|
},
|
|
451
451
|
/**
|
|
452
|
-
* Retrieves the details of the
|
|
453
|
-
* @summary Retrieve the
|
|
452
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
453
|
+
* @summary Retrieve the Personal Account
|
|
454
454
|
* @param {string} code Unique identifier for the object.
|
|
455
455
|
* @param {string} expand
|
|
456
456
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -461,8 +461,8 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
461
461
|
return localVarFp.getPersonalAccount(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
462
462
|
},
|
|
463
463
|
/**
|
|
464
|
-
* Returns a list of
|
|
465
|
-
* @summary List
|
|
464
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
465
|
+
* @summary List Personal Accounts
|
|
466
466
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
467
467
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
468
468
|
* @param {any} [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.
|
|
@@ -492,7 +492,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
492
492
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
493
493
|
}
|
|
494
494
|
/**
|
|
495
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number.
|
|
495
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
|
|
496
496
|
* @summary Create the Personal Account
|
|
497
497
|
* @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
|
|
498
498
|
* @param {*} [options] Override http request option.
|
|
@@ -516,8 +516,8 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
516
516
|
return (0, exports.PersonalAccountsApiFp)(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
517
517
|
};
|
|
518
518
|
/**
|
|
519
|
-
* Retrieves the details of the
|
|
520
|
-
* @summary Retrieve the
|
|
519
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
|
|
520
|
+
* @summary Retrieve the Personal Account
|
|
521
521
|
* @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
|
|
522
522
|
* @param {*} [options] Override http request option.
|
|
523
523
|
* @throws {RequiredError}
|
|
@@ -528,8 +528,8 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
528
528
|
return (0, exports.PersonalAccountsApiFp)(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
529
529
|
};
|
|
530
530
|
/**
|
|
531
|
-
* Returns a list of
|
|
532
|
-
* @summary List
|
|
531
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
532
|
+
* @summary List Personal Accounts
|
|
533
533
|
* @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
|
|
534
534
|
* @param {*} [options] Override http request option.
|
|
535
535
|
* @throws {RequiredError}
|
|
@@ -29,7 +29,7 @@ export interface BookingEntryClass {
|
|
|
29
29
|
*/
|
|
30
30
|
'code': string;
|
|
31
31
|
/**
|
|
32
|
-
* The monetary amount
|
|
32
|
+
* The total monetary amount of this booking entry. This amount is distributed among the associated transactions.
|
|
33
33
|
* @type {number}
|
|
34
34
|
* @memberof BookingEntryClass
|
|
35
35
|
*/
|
|
@@ -52,24 +52,30 @@ export interface BookingEntryClass {
|
|
|
52
52
|
* @memberof BookingEntryClass
|
|
53
53
|
*/
|
|
54
54
|
'documentDate': string;
|
|
55
|
+
/**
|
|
56
|
+
* A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof BookingEntryClass
|
|
59
|
+
*/
|
|
60
|
+
'description': string;
|
|
55
61
|
/**
|
|
56
62
|
* A flexible JSON object that allows tenants to include any custom fields. The keys represent the names of the custom fields, and the values can be of any data type. This enables tenants to store additional metadata or custom attributes that are specific to their use case.
|
|
57
63
|
* @type {object}
|
|
58
64
|
* @memberof BookingEntryClass
|
|
59
65
|
*/
|
|
60
|
-
'customFields'
|
|
66
|
+
'customFields'?: object;
|
|
61
67
|
/**
|
|
62
68
|
* The unique identifier for the entity (e.g., claim, invoice) associated with this booking entry.
|
|
63
69
|
* @type {string}
|
|
64
70
|
* @memberof BookingEntryClass
|
|
65
71
|
*/
|
|
66
|
-
'entityNumber'
|
|
72
|
+
'entityNumber'?: string;
|
|
67
73
|
/**
|
|
68
74
|
* The external document number associated with this booking entry.
|
|
69
75
|
* @type {string}
|
|
70
76
|
* @memberof BookingEntryClass
|
|
71
77
|
*/
|
|
72
|
-
'externalNumber'
|
|
78
|
+
'externalNumber'?: string;
|
|
73
79
|
/**
|
|
74
80
|
* A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
|
|
75
81
|
* @type {Array<FinancialTransactionClass>}
|
|
@@ -51,7 +51,7 @@ export interface CreateBookingEntryRequestDto {
|
|
|
51
51
|
* @type {object}
|
|
52
52
|
* @memberof CreateBookingEntryRequestDto
|
|
53
53
|
*/
|
|
54
|
-
'customFields'
|
|
54
|
+
'customFields'?: object;
|
|
55
55
|
/**
|
|
56
56
|
* An array of financial transactions associated with this booking entry. Each transaction includes details such as financial account, amount, and debit or credit status.
|
|
57
57
|
* @type {Array<FinancialTransactionDataDto>}
|
|
@@ -56,7 +56,7 @@ export interface PersonalAccountClass {
|
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof PersonalAccountClass
|
|
58
58
|
*/
|
|
59
|
-
'entityCode'
|
|
59
|
+
'entityCode'?: string;
|
|
60
60
|
/**
|
|
61
61
|
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
62
62
|
* @type {string}
|
|
@@ -34,7 +34,7 @@ export interface BookingEntryClass {
|
|
|
34
34
|
*/
|
|
35
35
|
'code': string;
|
|
36
36
|
/**
|
|
37
|
-
* The monetary amount
|
|
37
|
+
* The total monetary amount of this booking entry. This amount is distributed among the associated transactions.
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof BookingEntryClass
|
|
40
40
|
*/
|
|
@@ -57,24 +57,30 @@ export interface BookingEntryClass {
|
|
|
57
57
|
* @memberof BookingEntryClass
|
|
58
58
|
*/
|
|
59
59
|
'documentDate': string;
|
|
60
|
+
/**
|
|
61
|
+
* A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BookingEntryClass
|
|
64
|
+
*/
|
|
65
|
+
'description': string;
|
|
60
66
|
/**
|
|
61
67
|
* A flexible JSON object that allows tenants to include any custom fields. The keys represent the names of the custom fields, and the values can be of any data type. This enables tenants to store additional metadata or custom attributes that are specific to their use case.
|
|
62
68
|
* @type {object}
|
|
63
69
|
* @memberof BookingEntryClass
|
|
64
70
|
*/
|
|
65
|
-
'customFields'
|
|
71
|
+
'customFields'?: object;
|
|
66
72
|
/**
|
|
67
73
|
* The unique identifier for the entity (e.g., claim, invoice) associated with this booking entry.
|
|
68
74
|
* @type {string}
|
|
69
75
|
* @memberof BookingEntryClass
|
|
70
76
|
*/
|
|
71
|
-
'entityNumber'
|
|
77
|
+
'entityNumber'?: string;
|
|
72
78
|
/**
|
|
73
79
|
* The external document number associated with this booking entry.
|
|
74
80
|
* @type {string}
|
|
75
81
|
* @memberof BookingEntryClass
|
|
76
82
|
*/
|
|
77
|
-
'externalNumber'
|
|
83
|
+
'externalNumber'?: string;
|
|
78
84
|
/**
|
|
79
85
|
* A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
|
|
80
86
|
* @type {Array<FinancialTransactionClass>}
|
|
@@ -56,7 +56,7 @@ export interface CreateBookingEntryRequestDto {
|
|
|
56
56
|
* @type {object}
|
|
57
57
|
* @memberof CreateBookingEntryRequestDto
|
|
58
58
|
*/
|
|
59
|
-
'customFields'
|
|
59
|
+
'customFields'?: object;
|
|
60
60
|
/**
|
|
61
61
|
* An array of financial transactions associated with this booking entry. Each transaction includes details such as financial account, amount, and debit or credit status.
|
|
62
62
|
* @type {Array<FinancialTransactionDataDto>}
|
|
@@ -61,7 +61,7 @@ export interface PersonalAccountClass {
|
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof PersonalAccountClass
|
|
63
63
|
*/
|
|
64
|
-
'entityCode'
|
|
64
|
+
'entityCode'?: string;
|
|
65
65
|
/**
|
|
66
66
|
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
67
67
|
* @type {string}
|