@emilgroup/accounting-sdk-node 1.32.1-beta.54 → 1.32.1-beta.56
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 +48 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +852 -0
- package/api/booking-entries-api.ts +214 -0
- package/api/commission-account-mappings-api.ts +1195 -0
- package/api/financial-accounts-api.ts +136 -16
- package/api/product-account-mappings-api.ts +1474 -0
- package/api.ts +6 -0
- package/dist/api/accounting-configs-api.d.ts +451 -0
- package/dist/api/accounting-configs-api.js +863 -0
- package/dist/api/booking-entries-api.d.ts +114 -0
- package/dist/api/booking-entries-api.js +186 -0
- package/dist/api/commission-account-mappings-api.d.ts +685 -0
- package/dist/api/commission-account-mappings-api.js +1008 -0
- package/dist/api/financial-accounts-api.d.ts +82 -16
- package/dist/api/financial-accounts-api.js +112 -13
- package/dist/api/product-account-mappings-api.d.ts +851 -0
- package/dist/api/product-account-mappings-api.js +1228 -0
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/models/account-mapping-class.d.ts +71 -0
- package/dist/models/account-mapping-class.js +38 -0
- package/dist/models/accounting-category-class.d.ts +45 -0
- package/dist/models/accounting-category-class.js +24 -0
- package/dist/models/accounting-config-class.d.ts +78 -0
- package/dist/models/accounting-config-class.js +20 -0
- package/dist/models/accounting-config-data-class.d.ts +38 -0
- package/dist/models/accounting-config-data-class.js +15 -0
- package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +46 -0
- package/dist/models/accounting-config-data-dto-accounting-configuration.js +24 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +77 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +38 -0
- package/dist/models/accounting-config-data-dto.d.ts +38 -0
- package/dist/models/accounting-config-data-dto.js +15 -0
- package/dist/models/accounting-configuration-class.d.ts +36 -0
- package/dist/models/accounting-configuration-class.js +15 -0
- package/dist/models/booking-entry-class.d.ts +20 -0
- package/dist/models/booking-entry-class.js +8 -1
- package/dist/models/commission-account-mapping-class.d.ts +49 -0
- package/dist/models/commission-account-mapping-class.js +15 -0
- package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +44 -0
- package/dist/models/commission-agreement-account-mapping-detail-class.js +15 -0
- package/dist/models/commission-agreement-partner-class.d.ts +30 -0
- package/dist/models/commission-agreement-partner-class.js +15 -0
- package/dist/models/commission-agreement-with-account-mapping-class.d.ts +43 -0
- package/dist/models/commission-agreement-with-account-mapping-class.js +15 -0
- package/dist/models/commission-type-account-mapping-class.d.ts +31 -0
- package/dist/models/commission-type-account-mapping-class.js +15 -0
- package/dist/models/create-and-enable-subledger-request-dto.d.ts +25 -0
- package/dist/models/create-and-enable-subledger-request-dto.js +15 -0
- package/dist/models/create-and-enable-subledger-response-class.d.ts +25 -0
- package/dist/models/create-and-enable-subledger-response-class.js +15 -0
- package/dist/models/create-booking-entry-request-dto.d.ts +24 -2
- package/dist/models/create-booking-entry-request-dto.js +8 -0
- package/dist/models/create-financial-account-request-dto.d.ts +48 -5
- package/dist/models/create-financial-account-request-dto.js +24 -2
- package/dist/models/create-number-range-request-dto.d.ts +4 -4
- package/dist/models/create-number-range-request-dto.js +4 -4
- package/dist/models/create-or-correct-opening-balance-dto.d.ts +25 -0
- package/dist/models/create-or-correct-opening-balance-dto.js +15 -0
- package/dist/models/create-or-correct-opening-balance-response-class.d.ts +25 -0
- package/dist/models/create-or-correct-opening-balance-response-class.js +15 -0
- package/dist/models/create-personal-account-request-dto.d.ts +14 -6
- package/dist/models/create-personal-account-request-dto.js +3 -3
- package/dist/models/export-accounting-config-response-class.d.ts +25 -0
- package/dist/models/export-accounting-config-response-class.js +15 -0
- package/dist/models/financial-account-class.d.ts +49 -2
- package/dist/models/financial-account-class.js +6 -2
- package/dist/models/financial-transaction-data-dto.d.ts +5 -2
- package/dist/models/financial-transaction-data-dto.js +1 -0
- package/dist/models/get-accounting-categories-response-class.d.ts +25 -0
- package/dist/models/get-accounting-categories-response-class.js +15 -0
- package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
- package/dist/models/get-activation-snapshot-response-class.js +15 -0
- package/dist/models/index.d.ts +45 -0
- package/dist/models/index.js +45 -0
- package/dist/models/list-commission-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-commission-account-mappings-response-class.js +15 -0
- package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +15 -0
- package/dist/models/list-commission-type-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-commission-type-account-mappings-response-class.js +15 -0
- package/dist/models/list-product-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-product-account-mappings-response-class.js +15 -0
- package/dist/models/list-products-with-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-products-with-account-mappings-response-class.js +15 -0
- package/dist/models/opening-balance-item-dto.d.ts +41 -0
- package/dist/models/opening-balance-item-dto.js +20 -0
- package/dist/models/personal-account-class.d.ts +8 -2
- package/dist/models/personal-account-class.js +1 -1
- package/dist/models/post-financial-event-request-dto.d.ts +44 -0
- package/dist/models/post-financial-event-request-dto.js +23 -0
- package/dist/models/post-financial-event-response-class.d.ts +25 -0
- package/dist/models/post-financial-event-response-class.js +15 -0
- package/dist/models/premium-item-account-mapping-class.d.ts +37 -0
- package/dist/models/premium-item-account-mapping-class.js +15 -0
- package/dist/models/product-account-mapping-class.d.ts +61 -0
- package/dist/models/product-account-mapping-class.js +15 -0
- package/dist/models/product-account-mapping-detail-class.d.ts +50 -0
- package/dist/models/product-account-mapping-detail-class.js +15 -0
- package/dist/models/product-version-account-mapping-detail-class.d.ts +50 -0
- package/dist/models/product-version-account-mapping-detail-class.js +15 -0
- package/dist/models/product-version-with-account-mappings-class.d.ts +42 -0
- package/dist/models/product-version-with-account-mappings-class.js +15 -0
- package/dist/models/product-with-account-mappings-class.d.ts +49 -0
- package/dist/models/product-with-account-mappings-class.js +15 -0
- package/dist/models/put-premium-item-account-body-dto.d.ts +24 -0
- package/dist/models/put-premium-item-account-body-dto.js +15 -0
- package/dist/models/put-product-category-account-body-dto.d.ts +24 -0
- package/dist/models/put-product-category-account-body-dto.js +15 -0
- package/dist/models/put-product-version-category-account-body-dto.d.ts +24 -0
- package/dist/models/put-product-version-category-account-body-dto.js +15 -0
- package/dist/models/resolved-account-mapping-class.d.ts +31 -0
- package/dist/models/resolved-account-mapping-class.js +15 -0
- package/dist/models/resolved-commission-account-mapping-class.d.ts +37 -0
- package/dist/models/resolved-commission-account-mapping-class.js +21 -0
- package/dist/models/update-commission-agreement-account-body-dto.d.ts +24 -0
- package/dist/models/update-commission-agreement-account-body-dto.js +15 -0
- package/dist/models/update-commission-type-account-body-dto.d.ts +24 -0
- package/dist/models/update-commission-type-account-body-dto.js +15 -0
- package/dist/models/update-financial-account-body-dto.d.ts +48 -0
- package/dist/models/update-financial-account-body-dto.js +15 -0
- package/dist/models/update-financial-account-response-class.d.ts +25 -0
- package/dist/models/update-financial-account-response-class.js +15 -0
- package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
- package/dist/models/validate-accounting-config-request-dto.js +15 -0
- package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
- package/dist/models/validate-accounting-config-response-class.js +15 -0
- package/models/account-mapping-class.ts +80 -0
- package/models/accounting-category-class.ts +54 -0
- package/models/accounting-config-class.ts +87 -0
- package/models/accounting-config-data-class.ts +44 -0
- package/models/accounting-config-data-dto-accounting-configuration.ts +56 -0
- package/models/accounting-config-data-dto-default-account-mappings.ts +86 -0
- package/models/accounting-config-data-dto.ts +44 -0
- package/models/accounting-configuration-class.ts +42 -0
- package/models/booking-entry-class.ts +21 -0
- package/models/commission-account-mapping-class.ts +55 -0
- package/models/commission-agreement-account-mapping-detail-class.ts +50 -0
- package/models/commission-agreement-partner-class.ts +36 -0
- package/models/commission-agreement-with-account-mapping-class.ts +49 -0
- package/models/commission-type-account-mapping-class.ts +37 -0
- package/models/create-and-enable-subledger-request-dto.ts +31 -0
- package/models/create-and-enable-subledger-response-class.ts +31 -0
- package/models/create-booking-entry-request-dto.ts +25 -2
- package/models/create-financial-account-request-dto.ts +47 -5
- package/models/create-number-range-request-dto.ts +4 -4
- package/models/create-or-correct-opening-balance-dto.ts +31 -0
- package/models/create-or-correct-opening-balance-response-class.ts +31 -0
- package/models/create-personal-account-request-dto.ts +12 -6
- package/models/export-accounting-config-response-class.ts +31 -0
- package/models/financial-account-class.ts +50 -2
- package/models/financial-transaction-data-dto.ts +3 -2
- package/models/get-accounting-categories-response-class.ts +31 -0
- package/models/get-activation-snapshot-response-class.ts +31 -0
- package/models/index.ts +45 -0
- package/models/list-commission-account-mappings-response-class.ts +49 -0
- package/models/list-commission-agreements-with-account-mappings-response-class.ts +49 -0
- package/models/list-commission-type-account-mappings-response-class.ts +49 -0
- package/models/list-product-account-mappings-response-class.ts +49 -0
- package/models/list-products-with-account-mappings-response-class.ts +49 -0
- package/models/opening-balance-item-dto.ts +50 -0
- package/models/personal-account-class.ts +8 -2
- package/models/post-financial-event-request-dto.ts +53 -0
- package/models/post-financial-event-response-class.ts +31 -0
- package/models/premium-item-account-mapping-class.ts +43 -0
- package/models/product-account-mapping-class.ts +67 -0
- package/models/product-account-mapping-detail-class.ts +56 -0
- package/models/product-version-account-mapping-detail-class.ts +56 -0
- package/models/product-version-with-account-mappings-class.ts +48 -0
- package/models/product-with-account-mappings-class.ts +55 -0
- package/models/put-premium-item-account-body-dto.ts +30 -0
- package/models/put-product-category-account-body-dto.ts +30 -0
- package/models/put-product-version-category-account-body-dto.ts +30 -0
- package/models/resolved-account-mapping-class.ts +37 -0
- package/models/resolved-commission-account-mapping-class.ts +46 -0
- package/models/update-commission-agreement-account-body-dto.ts +30 -0
- package/models/update-commission-type-account-body-dto.ts +30 -0
- package/models/update-financial-account-body-dto.ts +54 -0
- package/models/update-financial-account-response-class.ts +31 -0
- package/models/validate-accounting-config-request-dto.ts +31 -0
- package/models/validate-accounting-config-response-class.ts +36 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -24,18 +24,24 @@ import FormData from 'form-data'
|
|
|
24
24
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
27
|
+
import { AccountingConfigsApi } from './api';
|
|
27
28
|
import { BookingEntriesApi } from './api';
|
|
29
|
+
import { CommissionAccountMappingsApi } from './api';
|
|
28
30
|
import { FinancialAccountsApi } from './api';
|
|
29
31
|
import { FinancialTransactionsApi } from './api';
|
|
30
32
|
import { HealthApi } from './api';
|
|
31
33
|
import { NumberRangesApi } from './api';
|
|
32
34
|
import { PersonalAccountsApi } from './api';
|
|
35
|
+
import { ProductAccountMappingsApi } from './api';
|
|
33
36
|
|
|
34
37
|
|
|
38
|
+
export * from './api/accounting-configs-api';
|
|
35
39
|
export * from './api/booking-entries-api';
|
|
40
|
+
export * from './api/commission-account-mappings-api';
|
|
36
41
|
export * from './api/financial-accounts-api';
|
|
37
42
|
export * from './api/financial-transactions-api';
|
|
38
43
|
export * from './api/health-api';
|
|
39
44
|
export * from './api/number-ranges-api';
|
|
40
45
|
export * from './api/personal-accounts-api';
|
|
46
|
+
export * from './api/product-account-mappings-api';
|
|
41
47
|
|
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateAndEnableSubledgerRequestDto } from '../models';
|
|
16
|
+
import { CreateAndEnableSubledgerResponseClass } from '../models';
|
|
17
|
+
import { ExportAccountingConfigResponseClass } from '../models';
|
|
18
|
+
import { GetAccountingCategoriesResponseClass } from '../models';
|
|
19
|
+
import { GetActivationSnapshotResponseClass } from '../models';
|
|
20
|
+
import { ValidateAccountingConfigRequestDto } from '../models';
|
|
21
|
+
import { ValidateAccountingConfigResponseClass } from '../models';
|
|
22
|
+
/**
|
|
23
|
+
* AccountingConfigsApi - axios parameter creator
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const AccountingConfigsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
* This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
29
|
+
* @summary Create the create and enable subledger
|
|
30
|
+
* @param {CreateAndEnableSubledgerRequestDto} createAndEnableSubledgerRequestDto
|
|
31
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
createAndEnableSubledger: (createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
/**
|
|
37
|
+
* This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
38
|
+
* @summary Create the create and enable subledger from file
|
|
39
|
+
* @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
|
|
40
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
createAndEnableSubledgerFromFile: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
47
|
+
* @summary Retrieve the export accounting config
|
|
48
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
exportAccountingConfig: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
55
|
+
* @summary Retrieve the accounting categories
|
|
56
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
getAccountingCategories: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
63
|
+
* @summary Retrieve the get activation snapshot
|
|
64
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
getActivationSnapshot: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
71
|
+
* @summary Delete the reset subledger
|
|
72
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
resetSubledger: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
+
/**
|
|
78
|
+
* This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
79
|
+
* @summary Create the validate accounting config
|
|
80
|
+
* @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
|
|
81
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
validateAccountingConfig: (validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
86
|
+
/**
|
|
87
|
+
* This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
88
|
+
* @summary Create the validate accounting config from file
|
|
89
|
+
* @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
|
|
90
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
validateAccountingConfigFromFile: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* AccountingConfigsApi - functional programming interface
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
export declare const AccountingConfigsApiFp: (configuration?: Configuration) => {
|
|
101
|
+
/**
|
|
102
|
+
* This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
103
|
+
* @summary Create the create and enable subledger
|
|
104
|
+
* @param {CreateAndEnableSubledgerRequestDto} createAndEnableSubledgerRequestDto
|
|
105
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
createAndEnableSubledger(createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAndEnableSubledgerResponseClass>>;
|
|
110
|
+
/**
|
|
111
|
+
* This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
112
|
+
* @summary Create the create and enable subledger from file
|
|
113
|
+
* @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
|
|
114
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
createAndEnableSubledgerFromFile(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAndEnableSubledgerResponseClass>>;
|
|
119
|
+
/**
|
|
120
|
+
* This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
121
|
+
* @summary Retrieve the export accounting config
|
|
122
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
exportAccountingConfig(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportAccountingConfigResponseClass>>;
|
|
127
|
+
/**
|
|
128
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
129
|
+
* @summary Retrieve the accounting categories
|
|
130
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
getAccountingCategories(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountingCategoriesResponseClass>>;
|
|
135
|
+
/**
|
|
136
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
137
|
+
* @summary Retrieve the get activation snapshot
|
|
138
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
getActivationSnapshot(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActivationSnapshotResponseClass>>;
|
|
143
|
+
/**
|
|
144
|
+
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
145
|
+
* @summary Delete the reset subledger
|
|
146
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
resetSubledger(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
151
|
+
/**
|
|
152
|
+
* This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
153
|
+
* @summary Create the validate accounting config
|
|
154
|
+
* @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
|
|
155
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
156
|
+
* @param {*} [options] Override http request option.
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
*/
|
|
159
|
+
validateAccountingConfig(validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateAccountingConfigResponseClass>>;
|
|
160
|
+
/**
|
|
161
|
+
* This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
162
|
+
* @summary Create the validate accounting config from file
|
|
163
|
+
* @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
|
|
164
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
validateAccountingConfigFromFile(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateAccountingConfigResponseClass>>;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* AccountingConfigsApi - factory interface
|
|
172
|
+
* @export
|
|
173
|
+
*/
|
|
174
|
+
export declare const AccountingConfigsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
175
|
+
/**
|
|
176
|
+
* This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
177
|
+
* @summary Create the create and enable subledger
|
|
178
|
+
* @param {CreateAndEnableSubledgerRequestDto} createAndEnableSubledgerRequestDto
|
|
179
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
createAndEnableSubledger(createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateAndEnableSubledgerResponseClass>;
|
|
184
|
+
/**
|
|
185
|
+
* This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
186
|
+
* @summary Create the create and enable subledger from file
|
|
187
|
+
* @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
|
|
188
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
createAndEnableSubledgerFromFile(file: any, authorization?: string, options?: any): AxiosPromise<CreateAndEnableSubledgerResponseClass>;
|
|
193
|
+
/**
|
|
194
|
+
* This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
195
|
+
* @summary Retrieve the export accounting config
|
|
196
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
exportAccountingConfig(authorization?: string, options?: any): AxiosPromise<ExportAccountingConfigResponseClass>;
|
|
201
|
+
/**
|
|
202
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
203
|
+
* @summary Retrieve the accounting categories
|
|
204
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
getAccountingCategories(authorization?: string, options?: any): AxiosPromise<GetAccountingCategoriesResponseClass>;
|
|
209
|
+
/**
|
|
210
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
211
|
+
* @summary Retrieve the get activation snapshot
|
|
212
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
213
|
+
* @param {*} [options] Override http request option.
|
|
214
|
+
* @throws {RequiredError}
|
|
215
|
+
*/
|
|
216
|
+
getActivationSnapshot(authorization?: string, options?: any): AxiosPromise<GetActivationSnapshotResponseClass>;
|
|
217
|
+
/**
|
|
218
|
+
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
219
|
+
* @summary Delete the reset subledger
|
|
220
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
221
|
+
* @param {*} [options] Override http request option.
|
|
222
|
+
* @throws {RequiredError}
|
|
223
|
+
*/
|
|
224
|
+
resetSubledger(authorization?: string, options?: any): AxiosPromise<void>;
|
|
225
|
+
/**
|
|
226
|
+
* This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
227
|
+
* @summary Create the validate accounting config
|
|
228
|
+
* @param {ValidateAccountingConfigRequestDto} validateAccountingConfigRequestDto
|
|
229
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
validateAccountingConfig(validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto, authorization?: string, options?: any): AxiosPromise<ValidateAccountingConfigResponseClass>;
|
|
234
|
+
/**
|
|
235
|
+
* This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
236
|
+
* @summary Create the validate accounting config from file
|
|
237
|
+
* @param {any} file JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
|
|
238
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
validateAccountingConfigFromFile(file: any, authorization?: string, options?: any): AxiosPromise<ValidateAccountingConfigResponseClass>;
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* Request parameters for createAndEnableSubledger operation in AccountingConfigsApi.
|
|
246
|
+
* @export
|
|
247
|
+
* @interface AccountingConfigsApiCreateAndEnableSubledgerRequest
|
|
248
|
+
*/
|
|
249
|
+
export interface AccountingConfigsApiCreateAndEnableSubledgerRequest {
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @type {CreateAndEnableSubledgerRequestDto}
|
|
253
|
+
* @memberof AccountingConfigsApiCreateAndEnableSubledger
|
|
254
|
+
*/
|
|
255
|
+
readonly createAndEnableSubledgerRequestDto: CreateAndEnableSubledgerRequestDto;
|
|
256
|
+
/**
|
|
257
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
258
|
+
* @type {string}
|
|
259
|
+
* @memberof AccountingConfigsApiCreateAndEnableSubledger
|
|
260
|
+
*/
|
|
261
|
+
readonly authorization?: string;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Request parameters for createAndEnableSubledgerFromFile operation in AccountingConfigsApi.
|
|
265
|
+
* @export
|
|
266
|
+
* @interface AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest
|
|
267
|
+
*/
|
|
268
|
+
export interface AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest {
|
|
269
|
+
/**
|
|
270
|
+
* JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
|
|
271
|
+
* @type {any}
|
|
272
|
+
* @memberof AccountingConfigsApiCreateAndEnableSubledgerFromFile
|
|
273
|
+
*/
|
|
274
|
+
readonly file: any;
|
|
275
|
+
/**
|
|
276
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
277
|
+
* @type {string}
|
|
278
|
+
* @memberof AccountingConfigsApiCreateAndEnableSubledgerFromFile
|
|
279
|
+
*/
|
|
280
|
+
readonly authorization?: string;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Request parameters for exportAccountingConfig operation in AccountingConfigsApi.
|
|
284
|
+
* @export
|
|
285
|
+
* @interface AccountingConfigsApiExportAccountingConfigRequest
|
|
286
|
+
*/
|
|
287
|
+
export interface AccountingConfigsApiExportAccountingConfigRequest {
|
|
288
|
+
/**
|
|
289
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof AccountingConfigsApiExportAccountingConfig
|
|
292
|
+
*/
|
|
293
|
+
readonly authorization?: string;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Request parameters for getAccountingCategories operation in AccountingConfigsApi.
|
|
297
|
+
* @export
|
|
298
|
+
* @interface AccountingConfigsApiGetAccountingCategoriesRequest
|
|
299
|
+
*/
|
|
300
|
+
export interface AccountingConfigsApiGetAccountingCategoriesRequest {
|
|
301
|
+
/**
|
|
302
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
303
|
+
* @type {string}
|
|
304
|
+
* @memberof AccountingConfigsApiGetAccountingCategories
|
|
305
|
+
*/
|
|
306
|
+
readonly authorization?: string;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Request parameters for getActivationSnapshot operation in AccountingConfigsApi.
|
|
310
|
+
* @export
|
|
311
|
+
* @interface AccountingConfigsApiGetActivationSnapshotRequest
|
|
312
|
+
*/
|
|
313
|
+
export interface AccountingConfigsApiGetActivationSnapshotRequest {
|
|
314
|
+
/**
|
|
315
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
316
|
+
* @type {string}
|
|
317
|
+
* @memberof AccountingConfigsApiGetActivationSnapshot
|
|
318
|
+
*/
|
|
319
|
+
readonly authorization?: string;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Request parameters for resetSubledger operation in AccountingConfigsApi.
|
|
323
|
+
* @export
|
|
324
|
+
* @interface AccountingConfigsApiResetSubledgerRequest
|
|
325
|
+
*/
|
|
326
|
+
export interface AccountingConfigsApiResetSubledgerRequest {
|
|
327
|
+
/**
|
|
328
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
329
|
+
* @type {string}
|
|
330
|
+
* @memberof AccountingConfigsApiResetSubledger
|
|
331
|
+
*/
|
|
332
|
+
readonly authorization?: string;
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Request parameters for validateAccountingConfig operation in AccountingConfigsApi.
|
|
336
|
+
* @export
|
|
337
|
+
* @interface AccountingConfigsApiValidateAccountingConfigRequest
|
|
338
|
+
*/
|
|
339
|
+
export interface AccountingConfigsApiValidateAccountingConfigRequest {
|
|
340
|
+
/**
|
|
341
|
+
*
|
|
342
|
+
* @type {ValidateAccountingConfigRequestDto}
|
|
343
|
+
* @memberof AccountingConfigsApiValidateAccountingConfig
|
|
344
|
+
*/
|
|
345
|
+
readonly validateAccountingConfigRequestDto: ValidateAccountingConfigRequestDto;
|
|
346
|
+
/**
|
|
347
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
348
|
+
* @type {string}
|
|
349
|
+
* @memberof AccountingConfigsApiValidateAccountingConfig
|
|
350
|
+
*/
|
|
351
|
+
readonly authorization?: string;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Request parameters for validateAccountingConfigFromFile operation in AccountingConfigsApi.
|
|
355
|
+
* @export
|
|
356
|
+
* @interface AccountingConfigsApiValidateAccountingConfigFromFileRequest
|
|
357
|
+
*/
|
|
358
|
+
export interface AccountingConfigsApiValidateAccountingConfigFromFileRequest {
|
|
359
|
+
/**
|
|
360
|
+
* JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml
|
|
361
|
+
* @type {any}
|
|
362
|
+
* @memberof AccountingConfigsApiValidateAccountingConfigFromFile
|
|
363
|
+
*/
|
|
364
|
+
readonly file: any;
|
|
365
|
+
/**
|
|
366
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
367
|
+
* @type {string}
|
|
368
|
+
* @memberof AccountingConfigsApiValidateAccountingConfigFromFile
|
|
369
|
+
*/
|
|
370
|
+
readonly authorization?: string;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* AccountingConfigsApi - object-oriented interface
|
|
374
|
+
* @export
|
|
375
|
+
* @class AccountingConfigsApi
|
|
376
|
+
* @extends {BaseAPI}
|
|
377
|
+
*/
|
|
378
|
+
export declare class AccountingConfigsApi extends BaseAPI {
|
|
379
|
+
/**
|
|
380
|
+
* This will create and enable the subledger, using an accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
381
|
+
* @summary Create the create and enable subledger
|
|
382
|
+
* @param {AccountingConfigsApiCreateAndEnableSubledgerRequest} requestParameters Request parameters.
|
|
383
|
+
* @param {*} [options] Override http request option.
|
|
384
|
+
* @throws {RequiredError}
|
|
385
|
+
* @memberof AccountingConfigsApi
|
|
386
|
+
*/
|
|
387
|
+
createAndEnableSubledger(requestParameters: AccountingConfigsApiCreateAndEnableSubledgerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAndEnableSubledgerResponseClass, any, {}>>;
|
|
388
|
+
/**
|
|
389
|
+
* This will create and enable the subledger, using an accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
390
|
+
* @summary Create the create and enable subledger from file
|
|
391
|
+
* @param {AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest} requestParameters Request parameters.
|
|
392
|
+
* @param {*} [options] Override http request option.
|
|
393
|
+
* @throws {RequiredError}
|
|
394
|
+
* @memberof AccountingConfigsApi
|
|
395
|
+
*/
|
|
396
|
+
createAndEnableSubledgerFromFile(requestParameters: AccountingConfigsApiCreateAndEnableSubledgerFromFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAndEnableSubledgerResponseClass, any, {}>>;
|
|
397
|
+
/**
|
|
398
|
+
* This will export the accounting config. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
399
|
+
* @summary Retrieve the export accounting config
|
|
400
|
+
* @param {AccountingConfigsApiExportAccountingConfigRequest} requestParameters Request parameters.
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
* @memberof AccountingConfigsApi
|
|
404
|
+
*/
|
|
405
|
+
exportAccountingConfig(requestParameters?: AccountingConfigsApiExportAccountingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportAccountingConfigResponseClass, any, {}>>;
|
|
406
|
+
/**
|
|
407
|
+
* This will get the accounting categories. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
408
|
+
* @summary Retrieve the accounting categories
|
|
409
|
+
* @param {AccountingConfigsApiGetAccountingCategoriesRequest} requestParameters Request parameters.
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
* @memberof AccountingConfigsApi
|
|
413
|
+
*/
|
|
414
|
+
getAccountingCategories(requestParameters?: AccountingConfigsApiGetAccountingCategoriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountingCategoriesResponseClass, any, {}>>;
|
|
415
|
+
/**
|
|
416
|
+
* Returns the subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
417
|
+
* @summary Retrieve the get activation snapshot
|
|
418
|
+
* @param {AccountingConfigsApiGetActivationSnapshotRequest} requestParameters Request parameters.
|
|
419
|
+
* @param {*} [options] Override http request option.
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
* @memberof AccountingConfigsApi
|
|
422
|
+
*/
|
|
423
|
+
getActivationSnapshot(requestParameters?: AccountingConfigsApiGetActivationSnapshotRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActivationSnapshotResponseClass, any, {}>>;
|
|
424
|
+
/**
|
|
425
|
+
* This will reset the subledger, and remove all config and accounts. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
426
|
+
* @summary Delete the reset subledger
|
|
427
|
+
* @param {AccountingConfigsApiResetSubledgerRequest} requestParameters Request parameters.
|
|
428
|
+
* @param {*} [options] Override http request option.
|
|
429
|
+
* @throws {RequiredError}
|
|
430
|
+
* @memberof AccountingConfigsApi
|
|
431
|
+
*/
|
|
432
|
+
resetSubledger(requestParameters?: AccountingConfigsApiResetSubledgerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
433
|
+
/**
|
|
434
|
+
* This will validate accounting config. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
435
|
+
* @summary Create the validate accounting config
|
|
436
|
+
* @param {AccountingConfigsApiValidateAccountingConfigRequest} requestParameters Request parameters.
|
|
437
|
+
* @param {*} [options] Override http request option.
|
|
438
|
+
* @throws {RequiredError}
|
|
439
|
+
* @memberof AccountingConfigsApi
|
|
440
|
+
*/
|
|
441
|
+
validateAccountingConfig(requestParameters: AccountingConfigsApiValidateAccountingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAccountingConfigResponseClass, any, {}>>;
|
|
442
|
+
/**
|
|
443
|
+
* This will validate accounting config from a file. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
444
|
+
* @summary Create the validate accounting config from file
|
|
445
|
+
* @param {AccountingConfigsApiValidateAccountingConfigFromFileRequest} requestParameters Request parameters.
|
|
446
|
+
* @param {*} [options] Override http request option.
|
|
447
|
+
* @throws {RequiredError}
|
|
448
|
+
* @memberof AccountingConfigsApi
|
|
449
|
+
*/
|
|
450
|
+
validateAccountingConfigFromFile(requestParameters: AccountingConfigsApiValidateAccountingConfigFromFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAccountingConfigResponseClass, any, {}>>;
|
|
451
|
+
}
|