@emilgroup/accounting-sdk-node 1.17.1-beta.3 → 1.18.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/booking-entries-api.ts +12 -12
- package/api/financial-accounts-api.ts +16 -16
- package/api/financial-transactions-api.ts +8 -8
- package/api/number-ranges-api.ts +16 -16
- package/api/personal-accounts-api.ts +16 -16
- package/common.ts +2 -2
- package/configuration.ts +9 -0
- package/dist/api/booking-entries-api.d.ts +12 -12
- package/dist/api/booking-entries-api.js +12 -12
- package/dist/api/financial-accounts-api.d.ts +16 -16
- package/dist/api/financial-accounts-api.js +16 -16
- package/dist/api/financial-transactions-api.d.ts +8 -8
- package/dist/api/financial-transactions-api.js +8 -8
- package/dist/api/number-ranges-api.d.ts +16 -16
- package/dist/api/number-ranges-api.js +16 -16
- package/dist/api/personal-accounts-api.d.ts +16 -16
- package/dist/api/personal-accounts-api.js +16 -16
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +6 -0
- package/dist/configuration.js +8 -0
- 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-node@1.
|
|
20
|
+
npm install @emilgroup/accounting-sdk-node@1.18.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk-node@1.18.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -39,7 +39,7 @@ const FormData = require('form-data');
|
|
|
39
39
|
export const BookingEntriesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* This endpoint creates a new booking entry.
|
|
42
|
+
* This endpoint creates a new booking entry.
|
|
43
43
|
* @summary Create the booking entry
|
|
44
44
|
* @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
|
|
45
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -86,7 +86,7 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* This endpoint gets a booking entry.
|
|
89
|
+
* This endpoint gets a booking entry.
|
|
90
90
|
* @summary Retrieve the booking entry
|
|
91
91
|
* @param {string} code
|
|
92
92
|
* @param {string} expand
|
|
@@ -138,7 +138,7 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
138
138
|
};
|
|
139
139
|
},
|
|
140
140
|
/**
|
|
141
|
-
* This endpoint gets booking entries.
|
|
141
|
+
* This endpoint gets booking entries.
|
|
142
142
|
* @summary List booking entries
|
|
143
143
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
144
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -224,7 +224,7 @@ export const BookingEntriesApiFp = function(configuration?: Configuration) {
|
|
|
224
224
|
const localVarAxiosParamCreator = BookingEntriesApiAxiosParamCreator(configuration)
|
|
225
225
|
return {
|
|
226
226
|
/**
|
|
227
|
-
* This endpoint creates a new booking entry.
|
|
227
|
+
* This endpoint creates a new booking entry.
|
|
228
228
|
* @summary Create the booking entry
|
|
229
229
|
* @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
|
|
230
230
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -236,7 +236,7 @@ export const BookingEntriesApiFp = function(configuration?: Configuration) {
|
|
|
236
236
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
237
237
|
},
|
|
238
238
|
/**
|
|
239
|
-
* This endpoint gets a booking entry.
|
|
239
|
+
* This endpoint gets a booking entry.
|
|
240
240
|
* @summary Retrieve the booking entry
|
|
241
241
|
* @param {string} code
|
|
242
242
|
* @param {string} expand
|
|
@@ -249,7 +249,7 @@ export const BookingEntriesApiFp = function(configuration?: Configuration) {
|
|
|
249
249
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
250
250
|
},
|
|
251
251
|
/**
|
|
252
|
-
* This endpoint gets booking entries.
|
|
252
|
+
* This endpoint gets booking entries.
|
|
253
253
|
* @summary List booking entries
|
|
254
254
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
255
255
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -277,7 +277,7 @@ export const BookingEntriesApiFactory = function (configuration?: Configuration,
|
|
|
277
277
|
const localVarFp = BookingEntriesApiFp(configuration)
|
|
278
278
|
return {
|
|
279
279
|
/**
|
|
280
|
-
* This endpoint creates a new booking entry.
|
|
280
|
+
* This endpoint creates a new booking entry.
|
|
281
281
|
* @summary Create the booking entry
|
|
282
282
|
* @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
|
|
283
283
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -288,7 +288,7 @@ export const BookingEntriesApiFactory = function (configuration?: Configuration,
|
|
|
288
288
|
return localVarFp.createBookingEntry(createBookingEntryRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
289
289
|
},
|
|
290
290
|
/**
|
|
291
|
-
* This endpoint gets a booking entry.
|
|
291
|
+
* This endpoint gets a booking entry.
|
|
292
292
|
* @summary Retrieve the booking entry
|
|
293
293
|
* @param {string} code
|
|
294
294
|
* @param {string} expand
|
|
@@ -300,7 +300,7 @@ export const BookingEntriesApiFactory = function (configuration?: Configuration,
|
|
|
300
300
|
return localVarFp.getBookingEntry(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
301
301
|
},
|
|
302
302
|
/**
|
|
303
|
-
* This endpoint gets booking entries.
|
|
303
|
+
* This endpoint gets booking entries.
|
|
304
304
|
* @summary List booking entries
|
|
305
305
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
306
306
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -439,7 +439,7 @@ export interface BookingEntriesApiListBookingEntriesRequest {
|
|
|
439
439
|
*/
|
|
440
440
|
export class BookingEntriesApi extends BaseAPI {
|
|
441
441
|
/**
|
|
442
|
-
* This endpoint creates a new booking entry.
|
|
442
|
+
* This endpoint creates a new booking entry.
|
|
443
443
|
* @summary Create the booking entry
|
|
444
444
|
* @param {BookingEntriesApiCreateBookingEntryRequest} requestParameters Request parameters.
|
|
445
445
|
* @param {*} [options] Override http request option.
|
|
@@ -451,7 +451,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
/**
|
|
454
|
-
* This endpoint gets a booking entry.
|
|
454
|
+
* This endpoint gets a booking entry.
|
|
455
455
|
* @summary Retrieve the booking entry
|
|
456
456
|
* @param {BookingEntriesApiGetBookingEntryRequest} requestParameters Request parameters.
|
|
457
457
|
* @param {*} [options] Override http request option.
|
|
@@ -463,7 +463,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
/**
|
|
466
|
-
* This endpoint gets booking entries.
|
|
466
|
+
* This endpoint gets booking entries.
|
|
467
467
|
* @summary List booking entries
|
|
468
468
|
* @param {BookingEntriesApiListBookingEntriesRequest} requestParameters Request parameters.
|
|
469
469
|
* @param {*} [options] Override http request option.
|
|
@@ -39,7 +39,7 @@ const FormData = require('form-data');
|
|
|
39
39
|
export const FinancialAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
42
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
43
43
|
* @summary Create the Financial Account
|
|
44
44
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
45
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -86,7 +86,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
89
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
90
90
|
* @summary Delete the Financial Account
|
|
91
91
|
* @param {string} code Unique identifier for the object.
|
|
92
92
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -131,7 +131,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
134
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
134
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
135
135
|
* @summary Retrieve the Financial Account
|
|
136
136
|
* @param {string} code Unique identifier for the object.
|
|
137
137
|
* @param {string} expand
|
|
@@ -183,7 +183,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
183
183
|
};
|
|
184
184
|
},
|
|
185
185
|
/**
|
|
186
|
-
* 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.
|
|
186
|
+
* 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.
|
|
187
187
|
* @summary List Financial Accounts
|
|
188
188
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
189
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -269,7 +269,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
269
269
|
const localVarAxiosParamCreator = FinancialAccountsApiAxiosParamCreator(configuration)
|
|
270
270
|
return {
|
|
271
271
|
/**
|
|
272
|
-
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
272
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
273
273
|
* @summary Create the Financial Account
|
|
274
274
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
275
275
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -281,7 +281,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
281
281
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
282
282
|
},
|
|
283
283
|
/**
|
|
284
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
284
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
285
285
|
* @summary Delete the Financial Account
|
|
286
286
|
* @param {string} code Unique identifier for the object.
|
|
287
287
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -293,7 +293,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
293
293
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
294
294
|
},
|
|
295
295
|
/**
|
|
296
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
296
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
297
297
|
* @summary Retrieve the Financial Account
|
|
298
298
|
* @param {string} code Unique identifier for the object.
|
|
299
299
|
* @param {string} expand
|
|
@@ -306,7 +306,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
306
306
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
307
307
|
},
|
|
308
308
|
/**
|
|
309
|
-
* 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.
|
|
309
|
+
* 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.
|
|
310
310
|
* @summary List Financial Accounts
|
|
311
311
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
312
312
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -334,7 +334,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
334
334
|
const localVarFp = FinancialAccountsApiFp(configuration)
|
|
335
335
|
return {
|
|
336
336
|
/**
|
|
337
|
-
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
337
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
338
338
|
* @summary Create the Financial Account
|
|
339
339
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
340
340
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -345,7 +345,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
345
345
|
return localVarFp.createFinancialAccount(createFinancialAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
346
346
|
},
|
|
347
347
|
/**
|
|
348
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
348
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
349
349
|
* @summary Delete the Financial Account
|
|
350
350
|
* @param {string} code Unique identifier for the object.
|
|
351
351
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -356,7 +356,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
356
356
|
return localVarFp.deleteFinancialAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
357
357
|
},
|
|
358
358
|
/**
|
|
359
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
359
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
360
360
|
* @summary Retrieve the Financial Account
|
|
361
361
|
* @param {string} code Unique identifier for the object.
|
|
362
362
|
* @param {string} expand
|
|
@@ -368,7 +368,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
368
368
|
return localVarFp.getFinancialAccount(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
|
-
* 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.
|
|
371
|
+
* 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.
|
|
372
372
|
* @summary List Financial Accounts
|
|
373
373
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
374
374
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -528,7 +528,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
|
|
|
528
528
|
*/
|
|
529
529
|
export class FinancialAccountsApi extends BaseAPI {
|
|
530
530
|
/**
|
|
531
|
-
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
531
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
532
532
|
* @summary Create the Financial Account
|
|
533
533
|
* @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
|
|
534
534
|
* @param {*} [options] Override http request option.
|
|
@@ -540,7 +540,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
543
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
544
544
|
* @summary Delete the Financial Account
|
|
545
545
|
* @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
|
|
546
546
|
* @param {*} [options] Override http request option.
|
|
@@ -552,7 +552,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
555
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
556
556
|
* @summary Retrieve the Financial Account
|
|
557
557
|
* @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
|
|
558
558
|
* @param {*} [options] Override http request option.
|
|
@@ -564,7 +564,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
564
564
|
}
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
|
-
* 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.
|
|
567
|
+
* 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.
|
|
568
568
|
* @summary List Financial Accounts
|
|
569
569
|
* @param {FinancialAccountsApiListFinancialAccountsRequest} requestParameters Request parameters.
|
|
570
570
|
* @param {*} [options] Override http request option.
|
|
@@ -35,7 +35,7 @@ const FormData = require('form-data');
|
|
|
35
35
|
export const FinancialTransactionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
* This endpoint gets a financial transaction.
|
|
38
|
+
* This endpoint gets a financial transaction.
|
|
39
39
|
* @summary Retrieve the financial transaction
|
|
40
40
|
* @param {string} code
|
|
41
41
|
* @param {string} expand
|
|
@@ -87,7 +87,7 @@ export const FinancialTransactionsApiAxiosParamCreator = function (configuration
|
|
|
87
87
|
};
|
|
88
88
|
},
|
|
89
89
|
/**
|
|
90
|
-
* This endpoint list financial transactions.
|
|
90
|
+
* This endpoint list financial transactions.
|
|
91
91
|
* @summary List financial transactions
|
|
92
92
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
93
93
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -173,7 +173,7 @@ export const FinancialTransactionsApiFp = function(configuration?: Configuration
|
|
|
173
173
|
const localVarAxiosParamCreator = FinancialTransactionsApiAxiosParamCreator(configuration)
|
|
174
174
|
return {
|
|
175
175
|
/**
|
|
176
|
-
* This endpoint gets a financial transaction.
|
|
176
|
+
* This endpoint gets a financial transaction.
|
|
177
177
|
* @summary Retrieve the financial transaction
|
|
178
178
|
* @param {string} code
|
|
179
179
|
* @param {string} expand
|
|
@@ -186,7 +186,7 @@ export const FinancialTransactionsApiFp = function(configuration?: Configuration
|
|
|
186
186
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
187
187
|
},
|
|
188
188
|
/**
|
|
189
|
-
* This endpoint list financial transactions.
|
|
189
|
+
* This endpoint list financial transactions.
|
|
190
190
|
* @summary List financial transactions
|
|
191
191
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
192
192
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -214,7 +214,7 @@ export const FinancialTransactionsApiFactory = function (configuration?: Configu
|
|
|
214
214
|
const localVarFp = FinancialTransactionsApiFp(configuration)
|
|
215
215
|
return {
|
|
216
216
|
/**
|
|
217
|
-
* This endpoint gets a financial transaction.
|
|
217
|
+
* This endpoint gets a financial transaction.
|
|
218
218
|
* @summary Retrieve the financial transaction
|
|
219
219
|
* @param {string} code
|
|
220
220
|
* @param {string} expand
|
|
@@ -226,7 +226,7 @@ export const FinancialTransactionsApiFactory = function (configuration?: Configu
|
|
|
226
226
|
return localVarFp.getFinancialTransaction(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
227
227
|
},
|
|
228
228
|
/**
|
|
229
|
-
* This endpoint list financial transactions.
|
|
229
|
+
* This endpoint list financial transactions.
|
|
230
230
|
* @summary List financial transactions
|
|
231
231
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
232
232
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -344,7 +344,7 @@ export interface FinancialTransactionsApiListFinancialTransactionsRequest {
|
|
|
344
344
|
*/
|
|
345
345
|
export class FinancialTransactionsApi extends BaseAPI {
|
|
346
346
|
/**
|
|
347
|
-
* This endpoint gets a financial transaction.
|
|
347
|
+
* This endpoint gets a financial transaction.
|
|
348
348
|
* @summary Retrieve the financial transaction
|
|
349
349
|
* @param {FinancialTransactionsApiGetFinancialTransactionRequest} requestParameters Request parameters.
|
|
350
350
|
* @param {*} [options] Override http request option.
|
|
@@ -356,7 +356,7 @@ export class FinancialTransactionsApi extends BaseAPI {
|
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
/**
|
|
359
|
-
* This endpoint list financial transactions.
|
|
359
|
+
* This endpoint list financial transactions.
|
|
360
360
|
* @summary List financial transactions
|
|
361
361
|
* @param {FinancialTransactionsApiListFinancialTransactionsRequest} requestParameters Request parameters.
|
|
362
362
|
* @param {*} [options] Override http request option.
|
package/api/number-ranges-api.ts
CHANGED
|
@@ -39,7 +39,7 @@ const FormData = require('form-data');
|
|
|
39
39
|
export const NumberRangesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
42
|
+
* This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
43
43
|
* @summary Create the Number Range
|
|
44
44
|
* @param {CreateNumberRangeRequestDto} createNumberRangeRequestDto
|
|
45
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -86,7 +86,7 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
|
|
89
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
|
|
90
90
|
* @summary Delete the Personal Account
|
|
91
91
|
* @param {string} code Unique identifier for the object.
|
|
92
92
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -131,7 +131,7 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
134
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
134
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
135
135
|
* @summary Retrieve the Financial Account
|
|
136
136
|
* @param {string} code Unique identifier for the object.
|
|
137
137
|
* @param {string} expand
|
|
@@ -183,7 +183,7 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
183
183
|
};
|
|
184
184
|
},
|
|
185
185
|
/**
|
|
186
|
-
* 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.
|
|
186
|
+
* 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.
|
|
187
187
|
* @summary List Financial Accounts
|
|
188
188
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
189
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -269,7 +269,7 @@ export const NumberRangesApiFp = function(configuration?: Configuration) {
|
|
|
269
269
|
const localVarAxiosParamCreator = NumberRangesApiAxiosParamCreator(configuration)
|
|
270
270
|
return {
|
|
271
271
|
/**
|
|
272
|
-
* This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
272
|
+
* This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
273
273
|
* @summary Create the Number Range
|
|
274
274
|
* @param {CreateNumberRangeRequestDto} createNumberRangeRequestDto
|
|
275
275
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -281,7 +281,7 @@ export const NumberRangesApiFp = function(configuration?: Configuration) {
|
|
|
281
281
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
282
282
|
},
|
|
283
283
|
/**
|
|
284
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
|
|
284
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
|
|
285
285
|
* @summary Delete the Personal Account
|
|
286
286
|
* @param {string} code Unique identifier for the object.
|
|
287
287
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -293,7 +293,7 @@ export const NumberRangesApiFp = function(configuration?: Configuration) {
|
|
|
293
293
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
294
294
|
},
|
|
295
295
|
/**
|
|
296
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
296
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
297
297
|
* @summary Retrieve the Financial Account
|
|
298
298
|
* @param {string} code Unique identifier for the object.
|
|
299
299
|
* @param {string} expand
|
|
@@ -306,7 +306,7 @@ export const NumberRangesApiFp = function(configuration?: Configuration) {
|
|
|
306
306
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
307
307
|
},
|
|
308
308
|
/**
|
|
309
|
-
* 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.
|
|
309
|
+
* 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.
|
|
310
310
|
* @summary List Financial Accounts
|
|
311
311
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
312
312
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -334,7 +334,7 @@ export const NumberRangesApiFactory = function (configuration?: Configuration, b
|
|
|
334
334
|
const localVarFp = NumberRangesApiFp(configuration)
|
|
335
335
|
return {
|
|
336
336
|
/**
|
|
337
|
-
* This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
337
|
+
* This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
338
338
|
* @summary Create the Number Range
|
|
339
339
|
* @param {CreateNumberRangeRequestDto} createNumberRangeRequestDto
|
|
340
340
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -345,7 +345,7 @@ export const NumberRangesApiFactory = function (configuration?: Configuration, b
|
|
|
345
345
|
return localVarFp.createNumberRange(createNumberRangeRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
346
346
|
},
|
|
347
347
|
/**
|
|
348
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
|
|
348
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
|
|
349
349
|
* @summary Delete the Personal Account
|
|
350
350
|
* @param {string} code Unique identifier for the object.
|
|
351
351
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -356,7 +356,7 @@ export const NumberRangesApiFactory = function (configuration?: Configuration, b
|
|
|
356
356
|
return localVarFp.deleteNumberRange(code, authorization, options).then((request) => request(axios, basePath));
|
|
357
357
|
},
|
|
358
358
|
/**
|
|
359
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
359
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
360
360
|
* @summary Retrieve the Financial Account
|
|
361
361
|
* @param {string} code Unique identifier for the object.
|
|
362
362
|
* @param {string} expand
|
|
@@ -368,7 +368,7 @@ export const NumberRangesApiFactory = function (configuration?: Configuration, b
|
|
|
368
368
|
return localVarFp.getNumberRange(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
|
-
* 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.
|
|
371
|
+
* 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.
|
|
372
372
|
* @summary List Financial Accounts
|
|
373
373
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
374
374
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -528,7 +528,7 @@ export interface NumberRangesApiListNumberRangesRequest {
|
|
|
528
528
|
*/
|
|
529
529
|
export class NumberRangesApi extends BaseAPI {
|
|
530
530
|
/**
|
|
531
|
-
* This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
531
|
+
* This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
532
532
|
* @summary Create the Number Range
|
|
533
533
|
* @param {NumberRangesApiCreateNumberRangeRequest} requestParameters Request parameters.
|
|
534
534
|
* @param {*} [options] Override http request option.
|
|
@@ -540,7 +540,7 @@ export class NumberRangesApi extends BaseAPI {
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
|
|
543
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
|
|
544
544
|
* @summary Delete the Personal Account
|
|
545
545
|
* @param {NumberRangesApiDeleteNumberRangeRequest} requestParameters Request parameters.
|
|
546
546
|
* @param {*} [options] Override http request option.
|
|
@@ -552,7 +552,7 @@ export class NumberRangesApi extends BaseAPI {
|
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
555
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
556
556
|
* @summary Retrieve the Financial Account
|
|
557
557
|
* @param {NumberRangesApiGetNumberRangeRequest} requestParameters Request parameters.
|
|
558
558
|
* @param {*} [options] Override http request option.
|
|
@@ -564,7 +564,7 @@ export class NumberRangesApi extends BaseAPI {
|
|
|
564
564
|
}
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
|
-
* 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.
|
|
567
|
+
* 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.
|
|
568
568
|
* @summary List Financial Accounts
|
|
569
569
|
* @param {NumberRangesApiListNumberRangesRequest} requestParameters Request parameters.
|
|
570
570
|
* @param {*} [options] Override http request option.
|