@emilgroup/accounting-sdk-node 1.32.1-beta.77 → 1.32.1-beta.78
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 +0 -50
- package/README.md +2 -2
- package/api/booking-entries-api.ts +10 -234
- package/api/financial-accounts-api.ts +24 -154
- package/api/financial-transactions-api.ts +4 -8
- package/api/number-ranges-api.ts +8 -16
- package/api/personal-accounts-api.ts +8 -16
- package/api.ts +0 -6
- package/common.ts +2 -3
- package/dist/api/booking-entries-api.d.ts +7 -121
- package/dist/api/booking-entries-api.js +14 -211
- package/dist/api/financial-accounts-api.d.ts +20 -86
- package/dist/api/financial-accounts-api.js +27 -137
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +6 -8
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/number-ranges-api.d.ts +4 -4
- package/dist/api/number-ranges-api.js +14 -22
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +14 -22
- package/dist/api.d.ts +0 -3
- package/dist/api.js +0 -3
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/models/booking-entry-class.d.ts +0 -34
- package/dist/models/booking-entry-class.js +1 -10
- package/dist/models/create-booking-entry-request-dto.d.ts +2 -25
- package/dist/models/create-booking-entry-request-dto.js +0 -9
- package/dist/models/create-financial-account-request-dto.d.ts +5 -50
- package/dist/models/create-financial-account-request-dto.js +2 -26
- 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-personal-account-request-dto.d.ts +6 -14
- package/dist/models/create-personal-account-request-dto.js +3 -3
- package/dist/models/financial-account-class.d.ts +2 -49
- package/dist/models/financial-account-class.js +2 -6
- package/dist/models/financial-transaction-class.d.ts +0 -6
- package/dist/models/financial-transaction-data-dto.d.ts +2 -11
- package/dist/models/financial-transaction-data-dto.js +0 -1
- package/dist/models/index.d.ts +0 -47
- package/dist/models/index.js +0 -47
- package/dist/models/personal-account-class.d.ts +2 -8
- package/dist/models/personal-account-class.js +1 -1
- package/models/booking-entry-class.ts +0 -35
- package/models/create-booking-entry-request-dto.ts +2 -26
- package/models/create-financial-account-request-dto.ts +5 -49
- package/models/create-number-range-request-dto.ts +4 -4
- package/models/create-personal-account-request-dto.ts +6 -12
- package/models/financial-account-class.ts +2 -50
- package/models/financial-transaction-class.ts +0 -6
- package/models/financial-transaction-data-dto.ts +2 -9
- package/models/index.ts +0 -47
- package/models/personal-account-class.ts +2 -8
- package/package.json +2 -2
- package/api/accounting-configs-api.ts +0 -868
- package/api/commission-account-mappings-api.ts +0 -1211
- package/api/product-account-mappings-api.ts +0 -1719
- package/dist/api/accounting-configs-api.d.ts +0 -451
- package/dist/api/accounting-configs-api.js +0 -887
- package/dist/api/commission-account-mappings-api.d.ts +0 -685
- package/dist/api/commission-account-mappings-api.js +0 -1026
- package/dist/api/product-account-mappings-api.d.ts +0 -972
- package/dist/api/product-account-mappings-api.js +0 -1451
- package/dist/models/account-mapping-class.d.ts +0 -73
- package/dist/models/account-mapping-class.js +0 -40
- package/dist/models/accounting-category-class.d.ts +0 -45
- package/dist/models/accounting-category-class.js +0 -24
- package/dist/models/accounting-config-class.d.ts +0 -78
- package/dist/models/accounting-config-class.js +0 -20
- package/dist/models/accounting-config-data-class.d.ts +0 -38
- package/dist/models/accounting-config-data-class.js +0 -15
- package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +0 -46
- package/dist/models/accounting-config-data-dto-accounting-configuration.js +0 -24
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +0 -79
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +0 -40
- package/dist/models/accounting-config-data-dto.d.ts +0 -38
- package/dist/models/accounting-config-data-dto.js +0 -15
- package/dist/models/accounting-configuration-class.d.ts +0 -36
- package/dist/models/accounting-configuration-class.js +0 -15
- package/dist/models/commission-account-mapping-class.d.ts +0 -49
- package/dist/models/commission-account-mapping-class.js +0 -15
- package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +0 -44
- package/dist/models/commission-agreement-account-mapping-detail-class.js +0 -15
- package/dist/models/commission-agreement-partner-class.d.ts +0 -30
- package/dist/models/commission-agreement-partner-class.js +0 -15
- package/dist/models/commission-agreement-with-account-mapping-class.d.ts +0 -43
- package/dist/models/commission-agreement-with-account-mapping-class.js +0 -15
- package/dist/models/commission-type-account-mapping-class.d.ts +0 -31
- package/dist/models/commission-type-account-mapping-class.js +0 -15
- package/dist/models/create-and-enable-subledger-request-dto.d.ts +0 -25
- package/dist/models/create-and-enable-subledger-request-dto.js +0 -15
- package/dist/models/create-and-enable-subledger-response-class.d.ts +0 -25
- package/dist/models/create-and-enable-subledger-response-class.js +0 -15
- package/dist/models/create-or-correct-opening-balance-dto.d.ts +0 -25
- package/dist/models/create-or-correct-opening-balance-dto.js +0 -15
- package/dist/models/create-or-correct-opening-balance-response-class.d.ts +0 -25
- package/dist/models/create-or-correct-opening-balance-response-class.js +0 -15
- package/dist/models/export-accounting-config-response-class.d.ts +0 -25
- package/dist/models/export-accounting-config-response-class.js +0 -15
- package/dist/models/get-accounting-categories-response-class.d.ts +0 -25
- package/dist/models/get-accounting-categories-response-class.js +0 -15
- package/dist/models/get-activation-snapshot-response-class.d.ts +0 -25
- package/dist/models/get-activation-snapshot-response-class.js +0 -15
- package/dist/models/list-commission-account-mappings-response-class.d.ts +0 -43
- package/dist/models/list-commission-account-mappings-response-class.js +0 -15
- package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +0 -43
- package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +0 -15
- package/dist/models/list-commission-type-account-mappings-response-class.d.ts +0 -43
- package/dist/models/list-commission-type-account-mappings-response-class.js +0 -15
- package/dist/models/list-product-account-mappings-response-class.d.ts +0 -43
- package/dist/models/list-product-account-mappings-response-class.js +0 -15
- package/dist/models/list-products-with-account-mappings-response-class.d.ts +0 -43
- package/dist/models/list-products-with-account-mappings-response-class.js +0 -15
- package/dist/models/opening-balance-item-dto.d.ts +0 -41
- package/dist/models/opening-balance-item-dto.js +0 -20
- package/dist/models/post-financial-event-request-dto.d.ts +0 -45
- package/dist/models/post-financial-event-request-dto.js +0 -24
- package/dist/models/post-financial-event-response-class.d.ts +0 -25
- package/dist/models/post-financial-event-response-class.js +0 -15
- package/dist/models/premium-item-account-mapping-class.d.ts +0 -37
- package/dist/models/premium-item-account-mapping-class.js +0 -15
- package/dist/models/product-account-mapping-class.d.ts +0 -61
- package/dist/models/product-account-mapping-class.js +0 -15
- package/dist/models/product-account-mapping-detail-class.d.ts +0 -56
- package/dist/models/product-account-mapping-detail-class.js +0 -15
- package/dist/models/product-risk-carrier-class.d.ts +0 -42
- package/dist/models/product-risk-carrier-class.js +0 -15
- package/dist/models/product-version-account-mapping-detail-class.d.ts +0 -50
- package/dist/models/product-version-account-mapping-detail-class.js +0 -15
- package/dist/models/product-version-with-account-mappings-class.d.ts +0 -42
- package/dist/models/product-version-with-account-mappings-class.js +0 -15
- package/dist/models/product-with-account-mappings-class.d.ts +0 -49
- package/dist/models/product-with-account-mappings-class.js +0 -15
- package/dist/models/put-premium-item-account-body-dto.d.ts +0 -24
- package/dist/models/put-premium-item-account-body-dto.js +0 -15
- package/dist/models/put-product-category-account-body-dto.d.ts +0 -24
- package/dist/models/put-product-category-account-body-dto.js +0 -15
- package/dist/models/put-product-risk-carrier-body-dto.d.ts +0 -24
- package/dist/models/put-product-risk-carrier-body-dto.js +0 -15
- package/dist/models/put-product-version-category-account-body-dto.d.ts +0 -24
- package/dist/models/put-product-version-category-account-body-dto.js +0 -15
- package/dist/models/resolved-account-mapping-class.d.ts +0 -31
- package/dist/models/resolved-account-mapping-class.js +0 -15
- package/dist/models/resolved-commission-account-mapping-class.d.ts +0 -37
- package/dist/models/resolved-commission-account-mapping-class.js +0 -21
- package/dist/models/update-commission-agreement-account-body-dto.d.ts +0 -24
- package/dist/models/update-commission-agreement-account-body-dto.js +0 -15
- package/dist/models/update-commission-type-account-body-dto.d.ts +0 -24
- package/dist/models/update-commission-type-account-body-dto.js +0 -15
- package/dist/models/update-financial-account-body-dto.d.ts +0 -48
- package/dist/models/update-financial-account-body-dto.js +0 -15
- package/dist/models/update-financial-account-response-class.d.ts +0 -25
- package/dist/models/update-financial-account-response-class.js +0 -15
- package/dist/models/validate-accounting-config-request-dto.d.ts +0 -25
- package/dist/models/validate-accounting-config-request-dto.js +0 -15
- package/dist/models/validate-accounting-config-response-class.d.ts +0 -30
- package/dist/models/validate-accounting-config-response-class.js +0 -15
- package/models/account-mapping-class.ts +0 -82
- package/models/accounting-category-class.ts +0 -54
- package/models/accounting-config-class.ts +0 -87
- package/models/accounting-config-data-class.ts +0 -44
- package/models/accounting-config-data-dto-accounting-configuration.ts +0 -56
- package/models/accounting-config-data-dto-default-account-mappings.ts +0 -88
- package/models/accounting-config-data-dto.ts +0 -44
- package/models/accounting-configuration-class.ts +0 -42
- package/models/commission-account-mapping-class.ts +0 -55
- package/models/commission-agreement-account-mapping-detail-class.ts +0 -50
- package/models/commission-agreement-partner-class.ts +0 -36
- package/models/commission-agreement-with-account-mapping-class.ts +0 -49
- package/models/commission-type-account-mapping-class.ts +0 -37
- package/models/create-and-enable-subledger-request-dto.ts +0 -31
- package/models/create-and-enable-subledger-response-class.ts +0 -31
- package/models/create-or-correct-opening-balance-dto.ts +0 -31
- package/models/create-or-correct-opening-balance-response-class.ts +0 -31
- package/models/export-accounting-config-response-class.ts +0 -31
- package/models/get-accounting-categories-response-class.ts +0 -31
- package/models/get-activation-snapshot-response-class.ts +0 -31
- package/models/list-commission-account-mappings-response-class.ts +0 -49
- package/models/list-commission-agreements-with-account-mappings-response-class.ts +0 -49
- package/models/list-commission-type-account-mappings-response-class.ts +0 -49
- package/models/list-product-account-mappings-response-class.ts +0 -49
- package/models/list-products-with-account-mappings-response-class.ts +0 -49
- package/models/opening-balance-item-dto.ts +0 -50
- package/models/post-financial-event-request-dto.ts +0 -54
- package/models/post-financial-event-response-class.ts +0 -31
- package/models/premium-item-account-mapping-class.ts +0 -43
- package/models/product-account-mapping-class.ts +0 -67
- package/models/product-account-mapping-detail-class.ts +0 -62
- package/models/product-risk-carrier-class.ts +0 -48
- package/models/product-version-account-mapping-detail-class.ts +0 -56
- package/models/product-version-with-account-mappings-class.ts +0 -48
- package/models/product-with-account-mappings-class.ts +0 -55
- package/models/put-premium-item-account-body-dto.ts +0 -30
- package/models/put-product-category-account-body-dto.ts +0 -30
- package/models/put-product-risk-carrier-body-dto.ts +0 -30
- package/models/put-product-version-category-account-body-dto.ts +0 -30
- package/models/resolved-account-mapping-class.ts +0 -37
- package/models/resolved-commission-account-mapping-class.ts +0 -46
- package/models/update-commission-agreement-account-body-dto.ts +0 -30
- package/models/update-commission-type-account-body-dto.ts +0 -30
- package/models/update-financial-account-body-dto.ts +0 -54
- package/models/update-financial-account-response-class.ts +0 -31
- package/models/validate-accounting-config-request-dto.ts +0 -31
- package/models/validate-accounting-config-response-class.ts +0 -36
|
@@ -41,13 +41,13 @@ export interface CreateNumberRangeRequestDto {
|
|
|
41
41
|
'accountType': CreateNumberRangeRequestDtoAccountTypeEnum;
|
|
42
42
|
}
|
|
43
43
|
export declare const CreateNumberRangeRequestDtoAccountTypeEnum: {
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
44
|
+
readonly Customer: "customer";
|
|
45
|
+
readonly Supplier: "supplier";
|
|
46
|
+
readonly Employee: "employee";
|
|
47
47
|
readonly Asset: "asset";
|
|
48
48
|
readonly Liability: "liability";
|
|
49
49
|
readonly Equity: "equity";
|
|
50
|
-
readonly
|
|
50
|
+
readonly Revenue: "revenue";
|
|
51
51
|
readonly Expense: "expense";
|
|
52
52
|
};
|
|
53
53
|
export type CreateNumberRangeRequestDtoAccountTypeEnum = typeof CreateNumberRangeRequestDtoAccountTypeEnum[keyof typeof CreateNumberRangeRequestDtoAccountTypeEnum];
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreateNumberRangeRequestDtoAccountTypeEnum = void 0;
|
|
17
17
|
exports.CreateNumberRangeRequestDtoAccountTypeEnum = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
Customer: 'customer',
|
|
19
|
+
Supplier: 'supplier',
|
|
20
|
+
Employee: 'employee',
|
|
21
21
|
Asset: 'asset',
|
|
22
22
|
Liability: 'liability',
|
|
23
23
|
Equity: 'equity',
|
|
24
|
-
|
|
24
|
+
Revenue: 'revenue',
|
|
25
25
|
Expense: 'expense'
|
|
26
26
|
};
|
|
@@ -40,29 +40,21 @@ export interface CreatePersonalAccountRequestDto {
|
|
|
40
40
|
*/
|
|
41
41
|
'partnerNumber': string;
|
|
42
42
|
/**
|
|
43
|
-
* The
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CreatePersonalAccountRequestDto
|
|
46
|
-
*/
|
|
47
|
-
'partnerCode': string;
|
|
48
|
-
/**
|
|
49
|
-
* The type of personal account, specifying its category or classification, such as policyholder, risk_carrier, or broker. This categorization helps in accounting and reporting.
|
|
43
|
+
* The type of personal account, specifying its category or classification, such as customer, supplier, or employee. This categorization helps in accounting and reporting.
|
|
50
44
|
* @type {string}
|
|
51
45
|
* @memberof CreatePersonalAccountRequestDto
|
|
52
46
|
*/
|
|
53
47
|
'type': CreatePersonalAccountRequestDtoTypeEnum;
|
|
54
48
|
/**
|
|
55
49
|
* Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
|
|
56
|
-
* @type {
|
|
50
|
+
* @type {object}
|
|
57
51
|
* @memberof CreatePersonalAccountRequestDto
|
|
58
52
|
*/
|
|
59
|
-
'customFields'?:
|
|
60
|
-
[key: string]: object;
|
|
61
|
-
};
|
|
53
|
+
'customFields'?: object;
|
|
62
54
|
}
|
|
63
55
|
export declare const CreatePersonalAccountRequestDtoTypeEnum: {
|
|
64
|
-
readonly
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
56
|
+
readonly Customer: "customer";
|
|
57
|
+
readonly Supplier: "supplier";
|
|
58
|
+
readonly Employee: "employee";
|
|
67
59
|
};
|
|
68
60
|
export type CreatePersonalAccountRequestDtoTypeEnum = typeof CreatePersonalAccountRequestDtoTypeEnum[keyof typeof CreatePersonalAccountRequestDtoTypeEnum];
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreatePersonalAccountRequestDtoTypeEnum = void 0;
|
|
17
17
|
exports.CreatePersonalAccountRequestDtoTypeEnum = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
Customer: 'customer',
|
|
19
|
+
Supplier: 'supplier',
|
|
20
|
+
Employee: 'employee'
|
|
21
21
|
};
|
|
@@ -52,7 +52,7 @@ export interface FinancialAccountClass {
|
|
|
52
52
|
*/
|
|
53
53
|
'partnerNumber': string;
|
|
54
54
|
/**
|
|
55
|
-
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"
|
|
55
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof FinancialAccountClass
|
|
58
58
|
*/
|
|
@@ -75,48 +75,6 @@ export interface FinancialAccountClass {
|
|
|
75
75
|
* @memberof FinancialAccountClass
|
|
76
76
|
*/
|
|
77
77
|
'clearable': boolean;
|
|
78
|
-
/**
|
|
79
|
-
* The status of the account, either \'active\' or \'inactive\'.
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof FinancialAccountClass
|
|
82
|
-
*/
|
|
83
|
-
'status': FinancialAccountClassStatusEnum;
|
|
84
|
-
/**
|
|
85
|
-
* Whether the account is a control account.
|
|
86
|
-
* @type {boolean}
|
|
87
|
-
* @memberof FinancialAccountClass
|
|
88
|
-
*/
|
|
89
|
-
'isControlAccount': boolean;
|
|
90
|
-
/**
|
|
91
|
-
* The functional category of the account. Empty string means unset.
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof FinancialAccountClass
|
|
94
|
-
*/
|
|
95
|
-
'functionalCategory': string;
|
|
96
|
-
/**
|
|
97
|
-
* Whether this is the default account for its functional category. Only one pool-category account per category can have isDefault set to true.
|
|
98
|
-
* @type {boolean}
|
|
99
|
-
* @memberof FinancialAccountClass
|
|
100
|
-
*/
|
|
101
|
-
'isDefault': boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Whether the account is locked. Set automatically the first time the account is posted to; once true, financialAccountNumber can no longer be changed.
|
|
104
|
-
* @type {boolean}
|
|
105
|
-
* @memberof FinancialAccountClass
|
|
106
|
-
*/
|
|
107
|
-
'isLocked': boolean;
|
|
108
|
-
/**
|
|
109
|
-
* The connected bank account this account books, if one is linked. Absent when unlinked, which is every account outside the bank category.
|
|
110
|
-
* @type {string}
|
|
111
|
-
* @memberof FinancialAccountClass
|
|
112
|
-
*/
|
|
113
|
-
'linkedBankAccountCode'?: string;
|
|
114
|
-
/**
|
|
115
|
-
* IBAN of the linked bank account. Read-only: it is read from the bank account when the link is written and cannot be set here.
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof FinancialAccountClass
|
|
118
|
-
*/
|
|
119
|
-
'linkedBankAccountIban'?: string;
|
|
120
78
|
/**
|
|
121
79
|
* Time at which the object was created.
|
|
122
80
|
* @type {string}
|
|
@@ -146,13 +104,8 @@ export declare const FinancialAccountClassTypeEnum: {
|
|
|
146
104
|
readonly Asset: "asset";
|
|
147
105
|
readonly Liability: "liability";
|
|
148
106
|
readonly Equity: "equity";
|
|
149
|
-
readonly
|
|
107
|
+
readonly Revenue: "revenue";
|
|
150
108
|
readonly Expense: "expense";
|
|
151
109
|
readonly OpeningBalance: "opening_balance";
|
|
152
110
|
};
|
|
153
111
|
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
154
|
-
export declare const FinancialAccountClassStatusEnum: {
|
|
155
|
-
readonly Active: "active";
|
|
156
|
-
readonly Inactive: "inactive";
|
|
157
|
-
};
|
|
158
|
-
export type FinancialAccountClassStatusEnum = typeof FinancialAccountClassStatusEnum[keyof typeof FinancialAccountClassStatusEnum];
|
|
@@ -13,16 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.FinancialAccountClassTypeEnum = void 0;
|
|
17
17
|
exports.FinancialAccountClassTypeEnum = {
|
|
18
18
|
Asset: 'asset',
|
|
19
19
|
Liability: 'liability',
|
|
20
20
|
Equity: 'equity',
|
|
21
|
-
|
|
21
|
+
Revenue: 'revenue',
|
|
22
22
|
Expense: 'expense',
|
|
23
23
|
OpeningBalance: 'opening_balance'
|
|
24
24
|
};
|
|
25
|
-
exports.FinancialAccountClassStatusEnum = {
|
|
26
|
-
Active: 'active',
|
|
27
|
-
Inactive: 'inactive'
|
|
28
|
-
};
|
|
@@ -45,12 +45,6 @@ export interface FinancialTransactionClass {
|
|
|
45
45
|
* @memberof FinancialTransactionClass
|
|
46
46
|
*/
|
|
47
47
|
'personalAccountNumber'?: string;
|
|
48
|
-
/**
|
|
49
|
-
* The partner this line\'s amount belongs to. Set on a claims payable or carrier receivable line; absent elsewhere.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof FinancialTransactionClass
|
|
52
|
-
*/
|
|
53
|
-
'partnerCode'?: string;
|
|
54
48
|
/**
|
|
55
49
|
* Internal identifier for the associated booking entry. This links the transaction to a specific entry in the booking system.
|
|
56
50
|
* @type {number}
|
|
@@ -27,12 +27,6 @@ export interface FinancialTransactionDataDto {
|
|
|
27
27
|
* @memberof FinancialTransactionDataDto
|
|
28
28
|
*/
|
|
29
29
|
'personalAccountNumber'?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The partner this line\'s amount belongs to. Required on a claims payable or carrier receivable line; never required elsewhere.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof FinancialTransactionDataDto
|
|
34
|
-
*/
|
|
35
|
-
'partnerCode'?: string;
|
|
36
30
|
/**
|
|
37
31
|
* A brief summary of the transaction, providing context or purpose, such as \"Payment of invoice #1234\" or \"Monthly premium for policy #5678\".
|
|
38
32
|
* @type {string}
|
|
@@ -53,12 +47,10 @@ export interface FinancialTransactionDataDto {
|
|
|
53
47
|
'debitCredit': FinancialTransactionDataDtoDebitCreditEnum;
|
|
54
48
|
/**
|
|
55
49
|
* Optional additional information related to the transaction, structured as key-value pairs. These fields may include metadata, identifiers, or contextual details for custom processing.
|
|
56
|
-
* @type {
|
|
50
|
+
* @type {object}
|
|
57
51
|
* @memberof FinancialTransactionDataDto
|
|
58
52
|
*/
|
|
59
|
-
'customFields'
|
|
60
|
-
[key: string]: object;
|
|
61
|
-
};
|
|
53
|
+
'customFields': object;
|
|
62
54
|
/**
|
|
63
55
|
* Specifies the type of the transaction. This can be used to categorize transactions for reporting, analysis, or filtering purposes.
|
|
64
56
|
* @type {string}
|
|
@@ -73,7 +65,6 @@ export declare const FinancialTransactionDataDtoDebitCreditEnum: {
|
|
|
73
65
|
export type FinancialTransactionDataDtoDebitCreditEnum = typeof FinancialTransactionDataDtoDebitCreditEnum[keyof typeof FinancialTransactionDataDtoDebitCreditEnum];
|
|
74
66
|
export declare const FinancialTransactionDataDtoTransactionTypeEnum: {
|
|
75
67
|
readonly OpeningBalance: "OPENING_BALANCE";
|
|
76
|
-
readonly OpeningBalanceCorrection: "OPENING_BALANCE_CORRECTION";
|
|
77
68
|
readonly Adjustment: "ADJUSTMENT";
|
|
78
69
|
readonly Normal: "NORMAL";
|
|
79
70
|
};
|
|
@@ -20,7 +20,6 @@ exports.FinancialTransactionDataDtoDebitCreditEnum = {
|
|
|
20
20
|
};
|
|
21
21
|
exports.FinancialTransactionDataDtoTransactionTypeEnum = {
|
|
22
22
|
OpeningBalance: 'OPENING_BALANCE',
|
|
23
|
-
OpeningBalanceCorrection: 'OPENING_BALANCE_CORRECTION',
|
|
24
23
|
Adjustment: 'ADJUSTMENT',
|
|
25
24
|
Normal: 'NORMAL'
|
|
26
25
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,35 +1,15 @@
|
|
|
1
|
-
export * from './account-mapping-class';
|
|
2
|
-
export * from './accounting-category-class';
|
|
3
|
-
export * from './accounting-config-class';
|
|
4
|
-
export * from './accounting-config-data-class';
|
|
5
|
-
export * from './accounting-config-data-dto';
|
|
6
|
-
export * from './accounting-config-data-dto-accounting-configuration';
|
|
7
|
-
export * from './accounting-config-data-dto-default-account-mappings';
|
|
8
|
-
export * from './accounting-configuration-class';
|
|
9
1
|
export * from './booking-entry-class';
|
|
10
|
-
export * from './commission-account-mapping-class';
|
|
11
|
-
export * from './commission-agreement-account-mapping-detail-class';
|
|
12
|
-
export * from './commission-agreement-partner-class';
|
|
13
|
-
export * from './commission-agreement-with-account-mapping-class';
|
|
14
|
-
export * from './commission-type-account-mapping-class';
|
|
15
|
-
export * from './create-and-enable-subledger-request-dto';
|
|
16
|
-
export * from './create-and-enable-subledger-response-class';
|
|
17
2
|
export * from './create-booking-entry-request-dto';
|
|
18
3
|
export * from './create-booking-entry-response-class';
|
|
19
4
|
export * from './create-financial-account-request-dto';
|
|
20
5
|
export * from './create-financial-account-response-class';
|
|
21
6
|
export * from './create-number-range-request-dto';
|
|
22
7
|
export * from './create-number-range-response-class';
|
|
23
|
-
export * from './create-or-correct-opening-balance-dto';
|
|
24
|
-
export * from './create-or-correct-opening-balance-response-class';
|
|
25
8
|
export * from './create-personal-account-request-dto';
|
|
26
9
|
export * from './create-personal-account-response-class';
|
|
27
|
-
export * from './export-accounting-config-response-class';
|
|
28
10
|
export * from './financial-account-class';
|
|
29
11
|
export * from './financial-transaction-class';
|
|
30
12
|
export * from './financial-transaction-data-dto';
|
|
31
|
-
export * from './get-accounting-categories-response-class';
|
|
32
|
-
export * from './get-activation-snapshot-response-class';
|
|
33
13
|
export * from './get-booking-entry-response-class';
|
|
34
14
|
export * from './get-financial-account-response-class';
|
|
35
15
|
export * from './get-financial-transaction-response-class';
|
|
@@ -38,36 +18,9 @@ export * from './get-personal-account-response-class';
|
|
|
38
18
|
export * from './inline-response200';
|
|
39
19
|
export * from './inline-response503';
|
|
40
20
|
export * from './list-booking-entries-response-class';
|
|
41
|
-
export * from './list-commission-account-mappings-response-class';
|
|
42
|
-
export * from './list-commission-agreements-with-account-mappings-response-class';
|
|
43
|
-
export * from './list-commission-type-account-mappings-response-class';
|
|
44
21
|
export * from './list-financial-accounts-response-class';
|
|
45
22
|
export * from './list-financial-transactions-response-class';
|
|
46
23
|
export * from './list-number-range-response-class';
|
|
47
24
|
export * from './list-personal-accounts-response-class';
|
|
48
|
-
export * from './list-product-account-mappings-response-class';
|
|
49
|
-
export * from './list-products-with-account-mappings-response-class';
|
|
50
25
|
export * from './number-range-class';
|
|
51
|
-
export * from './opening-balance-item-dto';
|
|
52
26
|
export * from './personal-account-class';
|
|
53
|
-
export * from './post-financial-event-request-dto';
|
|
54
|
-
export * from './post-financial-event-response-class';
|
|
55
|
-
export * from './premium-item-account-mapping-class';
|
|
56
|
-
export * from './product-account-mapping-class';
|
|
57
|
-
export * from './product-account-mapping-detail-class';
|
|
58
|
-
export * from './product-risk-carrier-class';
|
|
59
|
-
export * from './product-version-account-mapping-detail-class';
|
|
60
|
-
export * from './product-version-with-account-mappings-class';
|
|
61
|
-
export * from './product-with-account-mappings-class';
|
|
62
|
-
export * from './put-premium-item-account-body-dto';
|
|
63
|
-
export * from './put-product-category-account-body-dto';
|
|
64
|
-
export * from './put-product-risk-carrier-body-dto';
|
|
65
|
-
export * from './put-product-version-category-account-body-dto';
|
|
66
|
-
export * from './resolved-account-mapping-class';
|
|
67
|
-
export * from './resolved-commission-account-mapping-class';
|
|
68
|
-
export * from './update-commission-agreement-account-body-dto';
|
|
69
|
-
export * from './update-commission-type-account-body-dto';
|
|
70
|
-
export * from './update-financial-account-body-dto';
|
|
71
|
-
export * from './update-financial-account-response-class';
|
|
72
|
-
export * from './validate-accounting-config-request-dto';
|
|
73
|
-
export * from './validate-accounting-config-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -14,38 +14,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./account-mapping-class"), exports);
|
|
18
|
-
__exportStar(require("./accounting-category-class"), exports);
|
|
19
|
-
__exportStar(require("./accounting-config-class"), exports);
|
|
20
|
-
__exportStar(require("./accounting-config-data-class"), exports);
|
|
21
|
-
__exportStar(require("./accounting-config-data-dto"), exports);
|
|
22
|
-
__exportStar(require("./accounting-config-data-dto-accounting-configuration"), exports);
|
|
23
|
-
__exportStar(require("./accounting-config-data-dto-default-account-mappings"), exports);
|
|
24
|
-
__exportStar(require("./accounting-configuration-class"), exports);
|
|
25
17
|
__exportStar(require("./booking-entry-class"), exports);
|
|
26
|
-
__exportStar(require("./commission-account-mapping-class"), exports);
|
|
27
|
-
__exportStar(require("./commission-agreement-account-mapping-detail-class"), exports);
|
|
28
|
-
__exportStar(require("./commission-agreement-partner-class"), exports);
|
|
29
|
-
__exportStar(require("./commission-agreement-with-account-mapping-class"), exports);
|
|
30
|
-
__exportStar(require("./commission-type-account-mapping-class"), exports);
|
|
31
|
-
__exportStar(require("./create-and-enable-subledger-request-dto"), exports);
|
|
32
|
-
__exportStar(require("./create-and-enable-subledger-response-class"), exports);
|
|
33
18
|
__exportStar(require("./create-booking-entry-request-dto"), exports);
|
|
34
19
|
__exportStar(require("./create-booking-entry-response-class"), exports);
|
|
35
20
|
__exportStar(require("./create-financial-account-request-dto"), exports);
|
|
36
21
|
__exportStar(require("./create-financial-account-response-class"), exports);
|
|
37
22
|
__exportStar(require("./create-number-range-request-dto"), exports);
|
|
38
23
|
__exportStar(require("./create-number-range-response-class"), exports);
|
|
39
|
-
__exportStar(require("./create-or-correct-opening-balance-dto"), exports);
|
|
40
|
-
__exportStar(require("./create-or-correct-opening-balance-response-class"), exports);
|
|
41
24
|
__exportStar(require("./create-personal-account-request-dto"), exports);
|
|
42
25
|
__exportStar(require("./create-personal-account-response-class"), exports);
|
|
43
|
-
__exportStar(require("./export-accounting-config-response-class"), exports);
|
|
44
26
|
__exportStar(require("./financial-account-class"), exports);
|
|
45
27
|
__exportStar(require("./financial-transaction-class"), exports);
|
|
46
28
|
__exportStar(require("./financial-transaction-data-dto"), exports);
|
|
47
|
-
__exportStar(require("./get-accounting-categories-response-class"), exports);
|
|
48
|
-
__exportStar(require("./get-activation-snapshot-response-class"), exports);
|
|
49
29
|
__exportStar(require("./get-booking-entry-response-class"), exports);
|
|
50
30
|
__exportStar(require("./get-financial-account-response-class"), exports);
|
|
51
31
|
__exportStar(require("./get-financial-transaction-response-class"), exports);
|
|
@@ -54,36 +34,9 @@ __exportStar(require("./get-personal-account-response-class"), exports);
|
|
|
54
34
|
__exportStar(require("./inline-response200"), exports);
|
|
55
35
|
__exportStar(require("./inline-response503"), exports);
|
|
56
36
|
__exportStar(require("./list-booking-entries-response-class"), exports);
|
|
57
|
-
__exportStar(require("./list-commission-account-mappings-response-class"), exports);
|
|
58
|
-
__exportStar(require("./list-commission-agreements-with-account-mappings-response-class"), exports);
|
|
59
|
-
__exportStar(require("./list-commission-type-account-mappings-response-class"), exports);
|
|
60
37
|
__exportStar(require("./list-financial-accounts-response-class"), exports);
|
|
61
38
|
__exportStar(require("./list-financial-transactions-response-class"), exports);
|
|
62
39
|
__exportStar(require("./list-number-range-response-class"), exports);
|
|
63
40
|
__exportStar(require("./list-personal-accounts-response-class"), exports);
|
|
64
|
-
__exportStar(require("./list-product-account-mappings-response-class"), exports);
|
|
65
|
-
__exportStar(require("./list-products-with-account-mappings-response-class"), exports);
|
|
66
41
|
__exportStar(require("./number-range-class"), exports);
|
|
67
|
-
__exportStar(require("./opening-balance-item-dto"), exports);
|
|
68
42
|
__exportStar(require("./personal-account-class"), exports);
|
|
69
|
-
__exportStar(require("./post-financial-event-request-dto"), exports);
|
|
70
|
-
__exportStar(require("./post-financial-event-response-class"), exports);
|
|
71
|
-
__exportStar(require("./premium-item-account-mapping-class"), exports);
|
|
72
|
-
__exportStar(require("./product-account-mapping-class"), exports);
|
|
73
|
-
__exportStar(require("./product-account-mapping-detail-class"), exports);
|
|
74
|
-
__exportStar(require("./product-risk-carrier-class"), exports);
|
|
75
|
-
__exportStar(require("./product-version-account-mapping-detail-class"), exports);
|
|
76
|
-
__exportStar(require("./product-version-with-account-mappings-class"), exports);
|
|
77
|
-
__exportStar(require("./product-with-account-mappings-class"), exports);
|
|
78
|
-
__exportStar(require("./put-premium-item-account-body-dto"), exports);
|
|
79
|
-
__exportStar(require("./put-product-category-account-body-dto"), exports);
|
|
80
|
-
__exportStar(require("./put-product-risk-carrier-body-dto"), exports);
|
|
81
|
-
__exportStar(require("./put-product-version-category-account-body-dto"), exports);
|
|
82
|
-
__exportStar(require("./resolved-account-mapping-class"), exports);
|
|
83
|
-
__exportStar(require("./resolved-commission-account-mapping-class"), exports);
|
|
84
|
-
__exportStar(require("./update-commission-agreement-account-body-dto"), exports);
|
|
85
|
-
__exportStar(require("./update-commission-type-account-body-dto"), exports);
|
|
86
|
-
__exportStar(require("./update-financial-account-body-dto"), exports);
|
|
87
|
-
__exportStar(require("./update-financial-account-response-class"), exports);
|
|
88
|
-
__exportStar(require("./validate-accounting-config-request-dto"), exports);
|
|
89
|
-
__exportStar(require("./validate-accounting-config-response-class"), exports);
|
|
@@ -51,12 +51,6 @@ export interface PersonalAccountClass {
|
|
|
51
51
|
* @memberof PersonalAccountClass
|
|
52
52
|
*/
|
|
53
53
|
'partnerNumber': string;
|
|
54
|
-
/**
|
|
55
|
-
* The partner code of the account
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof PersonalAccountClass
|
|
58
|
-
*/
|
|
59
|
-
'partnerCode': string;
|
|
60
54
|
/**
|
|
61
55
|
* The entity code of the account (account code, bank account code, etc...).
|
|
62
56
|
* @type {string}
|
|
@@ -64,7 +58,7 @@ export interface PersonalAccountClass {
|
|
|
64
58
|
*/
|
|
65
59
|
'entityCode'?: string;
|
|
66
60
|
/**
|
|
67
|
-
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"
|
|
61
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
68
62
|
* @type {string}
|
|
69
63
|
* @memberof PersonalAccountClass
|
|
70
64
|
*/
|
|
@@ -104,7 +98,7 @@ export declare const PersonalAccountClassTypeEnum: {
|
|
|
104
98
|
readonly Asset: "asset";
|
|
105
99
|
readonly Liability: "liability";
|
|
106
100
|
readonly Equity: "equity";
|
|
107
|
-
readonly
|
|
101
|
+
readonly Revenue: "revenue";
|
|
108
102
|
readonly Expense: "expense";
|
|
109
103
|
readonly OpeningBalance: "opening_balance";
|
|
110
104
|
};
|
|
@@ -81,30 +81,6 @@ export interface BookingEntryClass {
|
|
|
81
81
|
* @memberof BookingEntryClass
|
|
82
82
|
*/
|
|
83
83
|
'externalNumber'?: string;
|
|
84
|
-
/**
|
|
85
|
-
* The code of the source entity this entry was posted for, such as an invoice or payment code. Absent on an entry posted by hand (sourceEntityType manual) and on a legacy entry.
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof BookingEntryClass
|
|
88
|
-
*/
|
|
89
|
-
'sourceEntityCode'?: string;
|
|
90
|
-
/**
|
|
91
|
-
* The kind of source entity this entry was posted for: manual for an entry posted by hand, which carries no sourceEntityCode. Absent only on a legacy entry.
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof BookingEntryClass
|
|
94
|
-
*/
|
|
95
|
-
'sourceEntityType'?: BookingEntryClassSourceEntityTypeEnum;
|
|
96
|
-
/**
|
|
97
|
-
* The code of the entry this entry reverses. Absent on an entry that is not a reversal.
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof BookingEntryClass
|
|
100
|
-
*/
|
|
101
|
-
'reversalOfCode'?: string;
|
|
102
|
-
/**
|
|
103
|
-
* True once the entry has been reversed in full. Its reversal names it in reversalOfCode.
|
|
104
|
-
* @type {boolean}
|
|
105
|
-
* @memberof BookingEntryClass
|
|
106
|
-
*/
|
|
107
|
-
'isReversed'?: boolean;
|
|
108
84
|
/**
|
|
109
85
|
* A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
|
|
110
86
|
* @type {Array<FinancialTransactionClass>}
|
|
@@ -152,16 +128,5 @@ export const BookingEntryClassCurrencyEnum = {
|
|
|
152
128
|
} as const;
|
|
153
129
|
|
|
154
130
|
export type BookingEntryClassCurrencyEnum = typeof BookingEntryClassCurrencyEnum[keyof typeof BookingEntryClassCurrencyEnum];
|
|
155
|
-
export const BookingEntryClassSourceEntityTypeEnum = {
|
|
156
|
-
Invoice: 'invoice',
|
|
157
|
-
Payment: 'payment',
|
|
158
|
-
Credit: 'credit',
|
|
159
|
-
CreditAllocation: 'credit_allocation',
|
|
160
|
-
ClaimRegulation: 'claim_regulation',
|
|
161
|
-
Commission: 'commission',
|
|
162
|
-
Manual: 'manual'
|
|
163
|
-
} as const;
|
|
164
|
-
|
|
165
|
-
export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
|
|
166
131
|
|
|
167
132
|
|
|
@@ -45,18 +45,6 @@ export interface CreateBookingEntryRequestDto {
|
|
|
45
45
|
* @memberof CreateBookingEntryRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'externalNumber'?: string;
|
|
48
|
-
/**
|
|
49
|
-
* The code of the source entity this entry was posted for, such as an invoice or payment code. Must be provided together with sourceEntityType.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof CreateBookingEntryRequestDto
|
|
52
|
-
*/
|
|
53
|
-
'sourceEntityCode'?: string;
|
|
54
|
-
/**
|
|
55
|
-
* The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode. Omitted, the entry is typed manual. An entry posted by hand cannot be typed invoice.
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof CreateBookingEntryRequestDto
|
|
58
|
-
*/
|
|
59
|
-
'sourceEntityType'?: CreateBookingEntryRequestDtoSourceEntityTypeEnum;
|
|
60
48
|
/**
|
|
61
49
|
* A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
|
|
62
50
|
* @type {string}
|
|
@@ -65,10 +53,10 @@ export interface CreateBookingEntryRequestDto {
|
|
|
65
53
|
'description': string;
|
|
66
54
|
/**
|
|
67
55
|
* Optional key-value pairs containing additional custom information for the booking entry. These fields may include document numbers, reasons, or other contextual metadata.
|
|
68
|
-
* @type {
|
|
56
|
+
* @type {object}
|
|
69
57
|
* @memberof CreateBookingEntryRequestDto
|
|
70
58
|
*/
|
|
71
|
-
'customFields'?:
|
|
59
|
+
'customFields'?: object;
|
|
72
60
|
/**
|
|
73
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.
|
|
74
62
|
* @type {Array<FinancialTransactionDataDto>}
|
|
@@ -77,15 +65,3 @@ export interface CreateBookingEntryRequestDto {
|
|
|
77
65
|
'financialTransactions': Array<FinancialTransactionDataDto>;
|
|
78
66
|
}
|
|
79
67
|
|
|
80
|
-
export const CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
|
|
81
|
-
Payment: 'payment',
|
|
82
|
-
Credit: 'credit',
|
|
83
|
-
CreditAllocation: 'credit_allocation',
|
|
84
|
-
ClaimRegulation: 'claim_regulation',
|
|
85
|
-
Commission: 'commission',
|
|
86
|
-
Manual: 'manual'
|
|
87
|
-
} as const;
|
|
88
|
-
|
|
89
|
-
export type CreateBookingEntryRequestDtoSourceEntityTypeEnum = typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum[keyof typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum];
|
|
90
|
-
|
|
91
|
-
|
|
@@ -52,10 +52,10 @@ export interface CreateFinancialAccountRequestDto {
|
|
|
52
52
|
'parentId'?: number;
|
|
53
53
|
/**
|
|
54
54
|
* Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
|
|
55
|
-
* @type {
|
|
55
|
+
* @type {object}
|
|
56
56
|
* @memberof CreateFinancialAccountRequestDto
|
|
57
57
|
*/
|
|
58
|
-
'customFields'
|
|
58
|
+
'customFields': object;
|
|
59
59
|
/**
|
|
60
60
|
* A detailed description of the financial account
|
|
61
61
|
* @type {string}
|
|
@@ -69,66 +69,22 @@ export interface CreateFinancialAccountRequestDto {
|
|
|
69
69
|
*/
|
|
70
70
|
'clearable': boolean;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {boolean}
|
|
74
|
-
* @memberof CreateFinancialAccountRequestDto
|
|
75
|
-
*/
|
|
76
|
-
'isControlAccount': boolean;
|
|
77
|
-
/**
|
|
78
|
-
* The functional category of the account. Empty string means unset.
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof CreateFinancialAccountRequestDto
|
|
81
|
-
*/
|
|
82
|
-
'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
|
|
83
|
-
/**
|
|
84
|
-
* Whether this account is the default for its functional category. Only meaningful for pool categories. Setting true on creation will clear isDefault on any other account in the same category.
|
|
85
|
-
* @type {boolean}
|
|
86
|
-
* @memberof CreateFinancialAccountRequestDto
|
|
87
|
-
*/
|
|
88
|
-
'isDefault'?: boolean;
|
|
89
|
-
/**
|
|
90
|
-
* The connected bank account this account books, given as its code. Permitted only on bank_acc accounts, and rejected if another financial account already links that bank account. Its IBAN is read from the bank account and returned as linkedBankAccountIban; it is never accepted here.
|
|
72
|
+
* Not used on this release line. Declared so the DTO matches the generated proto interface. Empty string means unset.
|
|
91
73
|
* @type {string}
|
|
92
74
|
* @memberof CreateFinancialAccountRequestDto
|
|
93
75
|
*/
|
|
94
|
-
'
|
|
76
|
+
'functionalCategory'?: string;
|
|
95
77
|
}
|
|
96
78
|
|
|
97
79
|
export const CreateFinancialAccountRequestDtoTypeEnum = {
|
|
98
80
|
Asset: 'asset',
|
|
99
81
|
Liability: 'liability',
|
|
100
82
|
Equity: 'equity',
|
|
101
|
-
|
|
83
|
+
Revenue: 'revenue',
|
|
102
84
|
Expense: 'expense',
|
|
103
85
|
OpeningBalance: 'opening_balance'
|
|
104
86
|
} as const;
|
|
105
87
|
|
|
106
88
|
export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
|
|
107
|
-
export const CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
|
|
108
|
-
BankAcc: 'bank_acc',
|
|
109
|
-
TaxPendingAcc: 'tax_pending_acc',
|
|
110
|
-
TaxForwardedAcc: 'tax_forwarded_acc',
|
|
111
|
-
TaxDueAcc: 'tax_due_acc',
|
|
112
|
-
VatPendingAcc: 'vat_pending_acc',
|
|
113
|
-
VatDueAcc: 'vat_due_acc',
|
|
114
|
-
RevenueBufferAcc: 'revenue_buffer_acc',
|
|
115
|
-
RevenueFinalAcc: 'revenue_final_acc',
|
|
116
|
-
ClaimExpenseAcc: 'claim_expense_acc',
|
|
117
|
-
CustomerCreditLiabAcc: 'customer_credit_liab_acc',
|
|
118
|
-
WriteOffExpAcc: 'write_off_exp_acc',
|
|
119
|
-
RoundingDiffAcc: 'rounding_diff_acc',
|
|
120
|
-
PaymentFeesExpAcc: 'payment_fees_exp_acc',
|
|
121
|
-
FeeRevenueAcc: 'fee_revenue_acc',
|
|
122
|
-
UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
|
|
123
|
-
OpeningBalEquityAcc: 'opening_bal_equity_acc',
|
|
124
|
-
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
125
|
-
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
126
|
-
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
127
|
-
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
128
|
-
ClaimsPayableAcc: 'claims_payable_acc',
|
|
129
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
130
|
-
} as const;
|
|
131
|
-
|
|
132
|
-
export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
|
|
133
89
|
|
|
134
90
|
|
|
@@ -47,13 +47,13 @@ export interface CreateNumberRangeRequestDto {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export const CreateNumberRangeRequestDtoAccountTypeEnum = {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
Customer: 'customer',
|
|
51
|
+
Supplier: 'supplier',
|
|
52
|
+
Employee: 'employee',
|
|
53
53
|
Asset: 'asset',
|
|
54
54
|
Liability: 'liability',
|
|
55
55
|
Equity: 'equity',
|
|
56
|
-
|
|
56
|
+
Revenue: 'revenue',
|
|
57
57
|
Expense: 'expense'
|
|
58
58
|
} as const;
|
|
59
59
|
|