@linkiez/jcm-library 3.31.0 → 4.1.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/dist/enums/financial/e-charge-channel.d.ts +7 -0
- package/dist/enums/financial/e-charge-channel.d.ts.map +1 -0
- package/dist/enums/financial/e-charge-channel.js +8 -0
- package/dist/enums/financial/e-charge-channel.js.map +1 -0
- package/dist/enums/financial/e-financial-account-status.d.ts +8 -0
- package/dist/enums/financial/e-financial-account-status.d.ts.map +1 -0
- package/dist/enums/financial/e-financial-account-status.js +9 -0
- package/dist/enums/financial/e-financial-account-status.js.map +1 -0
- package/dist/enums/financial/e-financial-account-type.d.ts +6 -0
- package/dist/enums/financial/e-financial-account-type.d.ts.map +1 -0
- package/dist/enums/financial/e-financial-account-type.js +7 -0
- package/dist/enums/financial/e-financial-account-type.js.map +1 -0
- package/dist/enums/financial/e-financial-origin-type.d.ts +8 -0
- package/dist/enums/financial/e-financial-origin-type.d.ts.map +1 -0
- package/dist/enums/financial/e-financial-origin-type.js +9 -0
- package/dist/enums/financial/e-financial-origin-type.js.map +1 -0
- package/dist/enums/financial/e-recurrence-frequency.d.ts +7 -0
- package/dist/enums/financial/e-recurrence-frequency.d.ts.map +1 -0
- package/dist/enums/financial/e-recurrence-frequency.js +8 -0
- package/dist/enums/financial/e-recurrence-frequency.js.map +1 -0
- package/dist/enums/financial/e-settlement-type.d.ts +6 -0
- package/dist/enums/financial/e-settlement-type.d.ts.map +1 -0
- package/dist/enums/financial/e-settlement-type.js +7 -0
- package/dist/enums/financial/e-settlement-type.js.map +1 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -1
- package/dist/interfaces/bank/ibank-account-endpoints.d.ts +25 -29
- package/dist/interfaces/bank/ibank-account-endpoints.d.ts.map +1 -1
- package/dist/interfaces/bank/ibank-account.d.ts +15 -10
- package/dist/interfaces/bank/ibank-account.d.ts.map +1 -1
- package/dist/interfaces/bank/ibank-import-batch.d.ts +8 -8
- package/dist/interfaces/bank/ibank-import-batch.d.ts.map +1 -1
- package/dist/interfaces/bank/ibank-import-endpoints.d.ts +30 -30
- package/dist/interfaces/bank/ibank-import-endpoints.d.ts.map +1 -1
- package/dist/interfaces/bank/ibank-reconciliation-endpoints.d.ts +79 -36
- package/dist/interfaces/bank/ibank-reconciliation-endpoints.d.ts.map +1 -1
- package/dist/interfaces/bank/ibank-reconciliation.d.ts +7 -7
- package/dist/interfaces/bank/ibank-reconciliation.d.ts.map +1 -1
- package/dist/interfaces/bank/ibank-report-endpoints.d.ts +27 -27
- package/dist/interfaces/bank/ibank-report-endpoints.d.ts.map +1 -1
- package/dist/interfaces/bank/ibank-report.d.ts +10 -10
- package/dist/interfaces/bank/ibank-report.d.ts.map +1 -1
- package/dist/interfaces/bank/ibank-transaction-endpoints.d.ts +27 -27
- package/dist/interfaces/bank/ibank-transaction-endpoints.d.ts.map +1 -1
- package/dist/interfaces/bank/ibank-transaction.d.ts +10 -10
- package/dist/interfaces/bank/ibank-transaction.d.ts.map +1 -1
- package/dist/interfaces/common/ifile-association.d.ts +1 -1
- package/dist/interfaces/common/ifile-association.d.ts.map +1 -1
- package/dist/interfaces/financial/icreate-financial-account-request.d.ts +21 -0
- package/dist/interfaces/financial/icreate-financial-account-request.d.ts.map +1 -0
- package/dist/interfaces/financial/icreate-financial-account-request.js +2 -0
- package/dist/interfaces/financial/icreate-financial-account-request.js.map +1 -0
- package/dist/interfaces/financial/ifinancial-account.d.ts +34 -0
- package/dist/interfaces/financial/ifinancial-account.d.ts.map +1 -0
- package/dist/interfaces/financial/ifinancial-account.js +2 -0
- package/dist/interfaces/financial/ifinancial-account.js.map +1 -0
- package/dist/interfaces/financial/ifinancial-aging-summary.d.ts +23 -0
- package/dist/interfaces/financial/ifinancial-aging-summary.d.ts.map +1 -0
- package/dist/interfaces/financial/ifinancial-aging-summary.js +2 -0
- package/dist/interfaces/financial/ifinancial-aging-summary.js.map +1 -0
- package/dist/interfaces/financial/ifinancial-conciliation.d.ts +16 -0
- package/dist/interfaces/financial/ifinancial-conciliation.d.ts.map +1 -0
- package/dist/interfaces/financial/ifinancial-conciliation.js +2 -0
- package/dist/interfaces/financial/ifinancial-conciliation.js.map +1 -0
- package/dist/interfaces/financial/ifinancial-import-endpoints.d.ts +76 -0
- package/dist/interfaces/financial/ifinancial-import-endpoints.d.ts.map +1 -0
- package/dist/interfaces/financial/ifinancial-import-endpoints.js +2 -0
- package/dist/interfaces/financial/ifinancial-import-endpoints.js.map +1 -0
- package/dist/interfaces/financial/ifinancial-installment.d.ts +15 -0
- package/dist/interfaces/financial/ifinancial-installment.d.ts.map +1 -0
- package/dist/interfaces/financial/ifinancial-installment.js +2 -0
- package/dist/interfaces/financial/ifinancial-installment.js.map +1 -0
- package/dist/interfaces/financial/ifinancial-recurrence-rule.d.ts +10 -0
- package/dist/interfaces/financial/ifinancial-recurrence-rule.d.ts.map +1 -0
- package/dist/interfaces/financial/ifinancial-recurrence-rule.js +2 -0
- package/dist/interfaces/financial/ifinancial-recurrence-rule.js.map +1 -0
- package/dist/interfaces/financial/ifinancial-recurrence.d.ts +10 -0
- package/dist/interfaces/financial/ifinancial-recurrence.d.ts.map +1 -0
- package/dist/interfaces/financial/ifinancial-recurrence.js +2 -0
- package/dist/interfaces/financial/ifinancial-recurrence.js.map +1 -0
- package/dist/interfaces/financial/ifinancial-settlement.d.ts +23 -0
- package/dist/interfaces/financial/ifinancial-settlement.d.ts.map +1 -0
- package/dist/interfaces/financial/ifinancial-settlement.js +2 -0
- package/dist/interfaces/financial/ifinancial-settlement.js.map +1 -0
- package/dist/interfaces/financial/ifind-all-financial-account-params.d.ts +14 -0
- package/dist/interfaces/financial/ifind-all-financial-account-params.d.ts.map +1 -0
- package/dist/interfaces/financial/ifind-all-financial-account-params.js +2 -0
- package/dist/interfaces/financial/ifind-all-financial-account-params.js.map +1 -0
- package/dist/interfaces/financial/ireconcile-settlement-request.d.ts +5 -0
- package/dist/interfaces/financial/ireconcile-settlement-request.d.ts.map +1 -0
- package/dist/interfaces/financial/ireconcile-settlement-request.js +2 -0
- package/dist/interfaces/financial/ireconcile-settlement-request.js.map +1 -0
- package/dist/interfaces/financial/ireverse-settlement-request.d.ts +7 -0
- package/dist/interfaces/financial/ireverse-settlement-request.d.ts.map +1 -0
- package/dist/interfaces/financial/ireverse-settlement-request.js +2 -0
- package/dist/interfaces/financial/ireverse-settlement-request.js.map +1 -0
- package/dist/interfaces/financial/ischedule-financial-recurrence-request.d.ts +6 -0
- package/dist/interfaces/financial/ischedule-financial-recurrence-request.d.ts.map +1 -0
- package/dist/interfaces/financial/ischedule-financial-recurrence-request.js +2 -0
- package/dist/interfaces/financial/ischedule-financial-recurrence-request.js.map +1 -0
- package/dist/interfaces/financial/isettle-account-request.d.ts +14 -0
- package/dist/interfaces/financial/isettle-account-request.d.ts.map +1 -0
- package/dist/interfaces/financial/isettle-account-request.js +2 -0
- package/dist/interfaces/financial/isettle-account-request.js.map +1 -0
- package/dist/interfaces/financial/iupdate-financial-account-request.d.ts +12 -0
- package/dist/interfaces/financial/iupdate-financial-account-request.d.ts.map +1 -0
- package/dist/interfaces/financial/iupdate-financial-account-request.js +2 -0
- package/dist/interfaces/financial/iupdate-financial-account-request.js.map +1 -0
- package/dist/interfaces/usuario/iusuario.d.ts +13 -0
- package/dist/interfaces/usuario/iusuario.d.ts.map +1 -1
- package/dist/models/bank/bank-import.d.ts +48 -24
- package/dist/models/bank/bank-import.d.ts.map +1 -1
- package/dist/models/bank/bank-import.js +49 -44
- package/dist/models/bank/bank-import.js.map +1 -1
- package/dist/models/bank/bank-reconciliation.d.ts +19 -19
- package/dist/models/bank/bank-reconciliation.d.ts.map +1 -1
- package/dist/models/bank/bank-reconciliation.js +57 -46
- package/dist/models/bank/bank-reconciliation.js.map +1 -1
- package/dist/models/bank/bank-report.d.ts +33 -33
- package/dist/models/bank/bank-report.d.ts.map +1 -1
- package/dist/models/bank/bank-report.js +80 -68
- package/dist/models/bank/bank-report.js.map +1 -1
- package/dist/models/bank/bank-transaction.d.ts +14 -31
- package/dist/models/bank/bank-transaction.d.ts.map +1 -1
- package/dist/models/bank/bank-transaction.js +37 -50
- package/dist/models/bank/bank-transaction.js.map +1 -1
- package/dist/models/bank/bank.d.ts +20 -20
- package/dist/models/bank/bank.d.ts.map +1 -1
- package/dist/models/bank/bank.js +35 -30
- package/dist/models/bank/bank.js.map +1 -1
- package/dist/models/financial/financial-account.d.ts +113 -0
- package/dist/models/financial/financial-account.d.ts.map +1 -0
- package/dist/models/financial/financial-account.js +91 -0
- package/dist/models/financial/financial-account.js.map +1 -0
- package/dist/models/financial/financial-import.d.ts +64 -0
- package/dist/models/financial/financial-import.d.ts.map +1 -0
- package/dist/models/financial/financial-import.js +133 -0
- package/dist/models/financial/financial-import.js.map +1 -0
- package/dist/types/bank/t-bank-reconciliation-entity-type.d.ts +1 -1
- package/dist/types/bank/t-bank-reconciliation-entity-type.d.ts.map +1 -1
- package/dist/zod-validators/bank/zbank-account.d.ts +1 -1
- package/dist/zod-validators/bank/zbank-account.js +1 -1
- package/dist/zod-validators/bank/zbank-account.js.map +1 -1
- package/dist/zod-validators/login/zlogin-response.d.ts +49 -0
- package/dist/zod-validators/login/zlogin-response.d.ts.map +1 -1
- package/dist/zod-validators/usuario/zusuario.d.ts +98 -0
- package/dist/zod-validators/usuario/zusuario.d.ts.map +1 -1
- package/dist/zod-validators/usuario/zusuario.js +56 -0
- package/dist/zod-validators/usuario/zusuario.js.map +1 -1
- package/package.json +2 -2
|
@@ -4,53 +4,53 @@ export class BankStatementEntry extends BaseModel {
|
|
|
4
4
|
constructor(row) {
|
|
5
5
|
super(row);
|
|
6
6
|
this.id = 0;
|
|
7
|
-
this.
|
|
8
|
-
this.
|
|
7
|
+
this.account_id = 0;
|
|
8
|
+
this.movement_date = "";
|
|
9
9
|
this.amount = 0;
|
|
10
|
-
this.
|
|
10
|
+
this.transaction_type = EBankTransactionType.CREDIT;
|
|
11
11
|
this.description = null;
|
|
12
12
|
this.document = null;
|
|
13
13
|
this.balance = null;
|
|
14
14
|
this.status = "";
|
|
15
|
-
this.
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
15
|
+
this.reconciliation_type = null;
|
|
16
|
+
this.reconciliation_entity_id = null;
|
|
17
|
+
this.reconciled_at = null;
|
|
18
18
|
this.createdAt = "";
|
|
19
19
|
if (!row) {
|
|
20
20
|
return;
|
|
21
21
|
}
|
|
22
22
|
this.id = this.toNumber(row.id) ?? 0;
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
23
|
+
this.account_id = this.toNumber(row.account_id) ?? 0;
|
|
24
|
+
this.movement_date = row.movement_date ?? "";
|
|
25
25
|
this.amount = this.toNumber(row.amount) ?? 0;
|
|
26
|
-
this.
|
|
26
|
+
this.transaction_type = row.transaction_type ?? EBankTransactionType.CREDIT;
|
|
27
27
|
this.description = row.description ?? null;
|
|
28
28
|
this.document = row.document ?? null;
|
|
29
29
|
this.balance = this.toNumber(row.balance) ?? null;
|
|
30
30
|
this.status = row.status ?? "";
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
33
|
-
this.toNumber(row.
|
|
34
|
-
this.
|
|
31
|
+
this.reconciliation_type = row.reconciliation_type ?? null;
|
|
32
|
+
this.reconciliation_entity_id =
|
|
33
|
+
this.toNumber(row.reconciliation_entity_id) ?? null;
|
|
34
|
+
this.reconciled_at = row.reconciled_at ?? null;
|
|
35
35
|
this.createdAt = row.createdAt ?? "";
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
export class BankStatementSummary extends BaseModel {
|
|
39
39
|
constructor(summary) {
|
|
40
40
|
super(summary);
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
41
|
+
this.initial_balance = 0;
|
|
42
|
+
this.total_debits = 0;
|
|
43
|
+
this.total_credits = 0;
|
|
44
|
+
this.final_balance = 0;
|
|
45
|
+
this.transaction_count = 0;
|
|
46
46
|
if (!summary) {
|
|
47
47
|
return;
|
|
48
48
|
}
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
49
|
+
this.initial_balance = this.toNumber(summary.initial_balance) ?? 0;
|
|
50
|
+
this.total_debits = this.toNumber(summary.total_debits) ?? 0;
|
|
51
|
+
this.total_credits = this.toNumber(summary.total_credits) ?? 0;
|
|
52
|
+
this.final_balance = this.toNumber(summary.final_balance) ?? 0;
|
|
53
|
+
this.transaction_count = this.toNumber(summary.transaction_count) ?? 0;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
export class BankStatementReportData extends BaseModel {
|
|
@@ -58,10 +58,10 @@ export class BankStatementReportData extends BaseModel {
|
|
|
58
58
|
super(data);
|
|
59
59
|
this.transactions = [];
|
|
60
60
|
this.summary = new BankStatementSummary();
|
|
61
|
-
this.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
this.applied_filters = {
|
|
62
|
+
account_id: "",
|
|
63
|
+
start_date: "",
|
|
64
|
+
end_date: "",
|
|
65
65
|
};
|
|
66
66
|
this.pagination = {
|
|
67
67
|
page: 0,
|
|
@@ -74,10 +74,10 @@ export class BankStatementReportData extends BaseModel {
|
|
|
74
74
|
}
|
|
75
75
|
this.transactions = this.toTypedArray(data.transactions, BankStatementEntry);
|
|
76
76
|
this.summary = new BankStatementSummary(data.summary);
|
|
77
|
-
this.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
this.applied_filters = {
|
|
78
|
+
account_id: data.applied_filters?.account_id ?? "",
|
|
79
|
+
start_date: data.applied_filters?.start_date ?? "",
|
|
80
|
+
end_date: data.applied_filters?.end_date ?? "",
|
|
81
81
|
};
|
|
82
82
|
this.pagination = {
|
|
83
83
|
page: this.toNumber(data.pagination?.page) ?? 0,
|
|
@@ -103,37 +103,39 @@ export class BankCashFlowEntry extends BaseModel {
|
|
|
103
103
|
this.date = "";
|
|
104
104
|
this.inflows = 0;
|
|
105
105
|
this.outflows = 0;
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
106
|
+
this.net_flow = 0;
|
|
107
|
+
this.transaction_count = 0;
|
|
108
108
|
if (!row) {
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
111
111
|
this.date = row.date ?? "";
|
|
112
112
|
this.inflows = this.toNumber(row.inflows) ?? 0;
|
|
113
113
|
this.outflows = this.toNumber(row.outflows) ?? 0;
|
|
114
|
-
|
|
115
|
-
this.
|
|
114
|
+
const mixedRow = row;
|
|
115
|
+
this.net_flow = this.toNumber(row.net_flow ?? mixedRow.netFlow) ?? 0;
|
|
116
|
+
this.transaction_count =
|
|
117
|
+
this.toNumber(row.transaction_count ?? mixedRow.transactionCount) ?? 0;
|
|
116
118
|
}
|
|
117
119
|
}
|
|
118
120
|
export class BankCashFlowReportData extends BaseModel {
|
|
119
121
|
constructor(data) {
|
|
120
122
|
super(data);
|
|
121
123
|
this.rows = [];
|
|
122
|
-
this.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
this.applied_filters = {
|
|
125
|
+
account_id: "",
|
|
126
|
+
start_date: "",
|
|
127
|
+
end_date: "",
|
|
128
|
+
group_by: "day",
|
|
127
129
|
};
|
|
128
130
|
if (!data) {
|
|
129
131
|
return;
|
|
130
132
|
}
|
|
131
133
|
this.rows = this.toTypedArray(data.rows, BankCashFlowEntry);
|
|
132
|
-
this.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
this.applied_filters = {
|
|
135
|
+
account_id: data.applied_filters?.account_id ?? "",
|
|
136
|
+
start_date: data.applied_filters?.start_date ?? "",
|
|
137
|
+
end_date: data.applied_filters?.end_date ?? "",
|
|
138
|
+
group_by: data.applied_filters?.group_by ?? "day",
|
|
137
139
|
};
|
|
138
140
|
}
|
|
139
141
|
}
|
|
@@ -166,43 +168,53 @@ export class BankReconciliationSummaryStatus extends BaseModel {
|
|
|
166
168
|
export class BankReconciliationSummaryTotals extends BaseModel {
|
|
167
169
|
constructor(summary) {
|
|
168
170
|
super(summary);
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
171
|
+
this.total_transactions = 0;
|
|
172
|
+
this.reconciled_count = 0;
|
|
173
|
+
this.pending_count = 0;
|
|
174
|
+
this.reconciliation_percentage = 0;
|
|
175
|
+
this.total_amount = 0;
|
|
176
|
+
this.reconciled_amount = 0;
|
|
175
177
|
if (!summary) {
|
|
176
178
|
return;
|
|
177
179
|
}
|
|
178
|
-
|
|
179
|
-
this.
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
const mixedSummary = summary;
|
|
181
|
+
this.total_transactions =
|
|
182
|
+
this.toNumber(summary.total_transactions ?? mixedSummary.totalTransactions) ??
|
|
183
|
+
0;
|
|
184
|
+
this.reconciled_count =
|
|
185
|
+
this.toNumber(summary.reconciled_count ?? mixedSummary.reconciledCount) ??
|
|
186
|
+
0;
|
|
187
|
+
this.pending_count =
|
|
188
|
+
this.toNumber(summary.pending_count ?? mixedSummary.pendingCount) ?? 0;
|
|
189
|
+
this.reconciliation_percentage =
|
|
190
|
+
this.toNumber(summary.reconciliation_percentage ?? mixedSummary.reconciliationPercentage) ?? 0;
|
|
191
|
+
this.total_amount =
|
|
192
|
+
this.toNumber(summary.total_amount ?? mixedSummary.totalAmount) ?? 0;
|
|
193
|
+
this.reconciled_amount =
|
|
194
|
+
this.toNumber(summary.reconciled_amount ?? mixedSummary.reconciledAmount) ??
|
|
195
|
+
0;
|
|
185
196
|
}
|
|
186
197
|
}
|
|
187
198
|
export class BankReconciliationSummaryReportData extends BaseModel {
|
|
188
199
|
constructor(data) {
|
|
189
200
|
super(data);
|
|
190
201
|
this.summary = new BankReconciliationSummaryTotals();
|
|
191
|
-
this.
|
|
192
|
-
this.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
202
|
+
this.by_status = [];
|
|
203
|
+
this.applied_filters = {
|
|
204
|
+
account_id: "",
|
|
205
|
+
start_date: "",
|
|
206
|
+
end_date: "",
|
|
196
207
|
};
|
|
197
208
|
if (!data) {
|
|
198
209
|
return;
|
|
199
210
|
}
|
|
200
211
|
this.summary = new BankReconciliationSummaryTotals(data.summary);
|
|
201
|
-
|
|
202
|
-
this.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
212
|
+
const mixedData = data;
|
|
213
|
+
this.by_status = this.toTypedArray(data.by_status ?? mixedData.byStatus, BankReconciliationSummaryStatus);
|
|
214
|
+
this.applied_filters = {
|
|
215
|
+
account_id: data.applied_filters?.account_id ?? mixedData.appliedFilters?.accountId ?? "",
|
|
216
|
+
start_date: data.applied_filters?.start_date ?? mixedData.appliedFilters?.startDate ?? "",
|
|
217
|
+
end_date: data.applied_filters?.end_date ?? mixedData.appliedFilters?.endDate ?? "",
|
|
206
218
|
};
|
|
207
219
|
}
|
|
208
220
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bank-report.js","sourceRoot":"","sources":["../../../src/models/bank/bank-report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAenF,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAKpD,MAAM,OAAO,kBACX,SAAQ,SAAS;IAiBjB,YAAY,GAAqD;QAC/D,KAAK,CAAC,GAAG,CAAC,CAAC;QAfb,OAAE,GAAG,CAAC,CAAC;QACP,
|
|
1
|
+
{"version":3,"file":"bank-report.js","sourceRoot":"","sources":["../../../src/models/bank/bank-report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAenF,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAKp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CAAC;IACJ,CAAC;CACF;AAKD,MAAM,OAAO,uCACX,SAAQ,SAAS;IAMjB,YACE,QAAmE;QAEnE,KAAK,CAAC,QAAQ,CAAC,CAAC;QANlB,SAAI,GACF,IAAI,mCAAmC,EAAE,CAAC;QAM1C,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,OAAO;QACT,CAAC;QAED,IAAI,CAAC,IAAI,GAAG,IAAI,mCAAmC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACrE,CAAC;CACF"}
|
|
@@ -4,60 +4,43 @@ import type { TBankPaginatedResult, TBankPagination } from "../../types/bank/t-b
|
|
|
4
4
|
import { BaseModel } from "../common/base-model.js";
|
|
5
5
|
import { Bank, BankAccount } from "./bank.js";
|
|
6
6
|
type BankTransactionInput = Partial<IBankTransactionDto> & {
|
|
7
|
-
idEmpresa?: number | string;
|
|
8
|
-
idBankAccount?: number | string;
|
|
9
|
-
idImportBatch?: number | string | null;
|
|
10
|
-
dataMovimento?: string | Date;
|
|
11
|
-
valor?: number | string;
|
|
12
|
-
tipo?: EBankTransactionType;
|
|
13
|
-
descricao?: string | null;
|
|
14
|
-
documento?: string | null;
|
|
15
|
-
saldoApos?: number | string | null;
|
|
16
|
-
statusConciliacao?: string;
|
|
17
7
|
updatedAt?: string | Date | null;
|
|
18
8
|
account?: ConstructorParameters<typeof BankAccount>[0] | null;
|
|
19
9
|
bank?: ConstructorParameters<typeof Bank>[0] | null;
|
|
20
10
|
};
|
|
21
11
|
type BankTransactionPageInput = Partial<TBankPaginatedResult<IBankTransactionDto> & {
|
|
12
|
+
initial_balance?: number | string | null;
|
|
22
13
|
initialBalance?: number | string | null;
|
|
23
14
|
}>;
|
|
24
15
|
export declare class BankTransaction extends BaseModel implements IBankTransactionDto {
|
|
25
16
|
id: number;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
17
|
+
import_batch_id: number;
|
|
18
|
+
account_id: number;
|
|
19
|
+
movement_date: string;
|
|
29
20
|
amount: number;
|
|
30
|
-
|
|
21
|
+
transaction_type: EBankTransactionType;
|
|
31
22
|
description: string | null;
|
|
32
23
|
document: string | null;
|
|
33
24
|
balance: number | null;
|
|
34
25
|
status: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
26
|
+
reconciliation_type: string | null;
|
|
27
|
+
reconciliation_entity_type: string | null;
|
|
28
|
+
reconciliation_entity_id: number | null;
|
|
29
|
+
reconciled_by: number | null;
|
|
30
|
+
reconciled_at: string | null;
|
|
31
|
+
reconciliation_note: string | null;
|
|
41
32
|
createdAt: string;
|
|
42
33
|
account?: BankAccount | null;
|
|
43
34
|
bank?: Bank | null;
|
|
44
|
-
idEmpresa: number;
|
|
45
|
-
idBankAccount: number;
|
|
46
|
-
idImportBatch?: number | null;
|
|
47
|
-
dataMovimento: string;
|
|
48
|
-
valor: number;
|
|
49
|
-
tipo: EBankTransactionType;
|
|
50
|
-
descricao: string;
|
|
51
|
-
documento?: string | null;
|
|
52
|
-
saldoApos?: number | null;
|
|
53
|
-
statusConciliacao: string;
|
|
54
35
|
updatedAt?: string | null;
|
|
55
36
|
constructor(transaction?: Partial<IBankTransactionDto> | BankTransactionInput | null);
|
|
56
37
|
}
|
|
57
38
|
export declare class BankTransactionPage extends BaseModel {
|
|
58
39
|
rows: BankTransaction[];
|
|
59
40
|
pagination: TBankPagination;
|
|
60
|
-
|
|
41
|
+
initial_balance: number;
|
|
42
|
+
get initialBalance(): number;
|
|
43
|
+
set initialBalance(value: number | string | null | undefined);
|
|
61
44
|
constructor(page?: BankTransactionPageInput | null);
|
|
62
45
|
}
|
|
63
46
|
export declare class BankTransactionsResponse extends BaseModel implements IBankTransactionsResponse {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bank-transaction.d.ts","sourceRoot":"","sources":["../../../src/models/bank/bank-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA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AM,GAAG,IAAI,CAAQ;IAC9B,MAAM,SAAM;IACZ,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC1C,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAQ;IACjD,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC/C,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;IACpC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;IACpC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC1C,SAAS,SAAM;IACf,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;gBAGxB,WAAW,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,oBAAoB,GAAG,IAAI;CAmC3E;AAKD,qBAAa,mBAAoB,SAAQ,SAAS;IAChD,IAAI,EAAE,eAAe,EAAE,CAAM;IAC7B,UAAU,EAAE,eAAe,CAKzB;IACF,eAAe,SAAK;IAEpB,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED,IAAI,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,EAE3D;gBAEW,IAAI,CAAC,EAAE,wBAAwB,GAAG,IAAI;CAgBnD;AAKD,qBAAa,wBACX,SAAQ,SACR,YAAW,yBAAyB;IAEpC,IAAI,EAAE,mBAAmB,CAA6B;gBAE1C,QAAQ,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,GAAG,IAAI;CAQjE"}
|
|
@@ -23,74 +23,60 @@ export class BankTransaction extends BaseModel {
|
|
|
23
23
|
constructor(transaction) {
|
|
24
24
|
super(transaction);
|
|
25
25
|
this.id = 0;
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
26
|
+
this.import_batch_id = 0;
|
|
27
|
+
this.account_id = 0;
|
|
28
|
+
this.movement_date = "";
|
|
29
29
|
this.amount = 0;
|
|
30
|
-
this.
|
|
30
|
+
this.transaction_type = EBankTransactionType.CREDIT;
|
|
31
31
|
this.description = null;
|
|
32
32
|
this.document = null;
|
|
33
33
|
this.balance = null;
|
|
34
34
|
this.status = "";
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
35
|
+
this.reconciliation_type = null;
|
|
36
|
+
this.reconciliation_entity_type = null;
|
|
37
|
+
this.reconciliation_entity_id = null;
|
|
38
|
+
this.reconciled_by = null;
|
|
39
|
+
this.reconciled_at = null;
|
|
40
|
+
this.reconciliation_note = null;
|
|
41
41
|
this.createdAt = "";
|
|
42
|
-
this.idEmpresa = 0;
|
|
43
|
-
this.idBankAccount = 0;
|
|
44
|
-
this.dataMovimento = "";
|
|
45
|
-
this.valor = 0;
|
|
46
|
-
this.tipo = EBankTransactionType.CREDIT;
|
|
47
|
-
this.descricao = "";
|
|
48
|
-
this.statusConciliacao = "";
|
|
49
42
|
if (!transaction) {
|
|
50
43
|
return;
|
|
51
44
|
}
|
|
52
45
|
const normalized = transaction;
|
|
53
46
|
this.id = this.toNumber(normalized.id) ?? 0;
|
|
54
|
-
this.
|
|
55
|
-
|
|
56
|
-
this.
|
|
57
|
-
|
|
58
|
-
this.
|
|
59
|
-
|
|
60
|
-
this.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
72
|
-
this.toNumber(normalized.reconciliationEntityId) ?? null;
|
|
73
|
-
this.reconciledBy = this.toNumber(normalized.reconciledBy) ?? null;
|
|
74
|
-
this.reconciledAt = normalizeDateTime(normalized.reconciledAt);
|
|
75
|
-
this.reconciliationNote = normalized.reconciliationNote ?? null;
|
|
47
|
+
this.import_batch_id = this.toNumber(normalized.import_batch_id) ?? 0;
|
|
48
|
+
this.account_id = this.toNumber(normalized.account_id) ?? 0;
|
|
49
|
+
this.movement_date = normalizeDateOnly(normalized.movement_date);
|
|
50
|
+
this.amount = this.toNumber(normalized.amount) ?? 0;
|
|
51
|
+
this.transaction_type =
|
|
52
|
+
normalized.transaction_type ?? EBankTransactionType.CREDIT;
|
|
53
|
+
this.description = normalized.description ?? null;
|
|
54
|
+
this.document = normalized.document ?? null;
|
|
55
|
+
this.balance = this.toNumber(normalized.balance) ?? null;
|
|
56
|
+
this.status = normalized.status ?? "";
|
|
57
|
+
this.reconciliation_type = normalized.reconciliation_type ?? null;
|
|
58
|
+
this.reconciliation_entity_type =
|
|
59
|
+
normalized.reconciliation_entity_type ?? null;
|
|
60
|
+
this.reconciliation_entity_id =
|
|
61
|
+
this.toNumber(normalized.reconciliation_entity_id) ?? null;
|
|
62
|
+
this.reconciled_by = this.toNumber(normalized.reconciled_by) ?? null;
|
|
63
|
+
this.reconciled_at = normalizeDateTime(normalized.reconciled_at);
|
|
64
|
+
this.reconciliation_note = normalized.reconciliation_note ?? null;
|
|
76
65
|
this.createdAt = normalizeDateTime(normalized.createdAt) ?? "";
|
|
77
66
|
this.account = normalized.account
|
|
78
67
|
? new BankAccount(normalized.account)
|
|
79
68
|
: null;
|
|
80
69
|
this.bank = normalized.bank ? new Bank(normalized.bank) : null;
|
|
81
|
-
this.idBankAccount = this.accountId;
|
|
82
|
-
this.idImportBatch = this.importBatchId || null;
|
|
83
|
-
this.dataMovimento = this.movementDate;
|
|
84
|
-
this.valor = this.amount;
|
|
85
|
-
this.tipo = this.transactionType;
|
|
86
|
-
this.descricao = this.description ?? "";
|
|
87
|
-
this.documento = this.document;
|
|
88
|
-
this.saldoApos = this.balance;
|
|
89
|
-
this.statusConciliacao = this.status;
|
|
90
70
|
this.updatedAt = normalizeDateTime(normalized.updatedAt);
|
|
91
71
|
}
|
|
92
72
|
}
|
|
93
73
|
export class BankTransactionPage extends BaseModel {
|
|
74
|
+
get initialBalance() {
|
|
75
|
+
return this.initial_balance;
|
|
76
|
+
}
|
|
77
|
+
set initialBalance(value) {
|
|
78
|
+
this.initial_balance = this.toNumber(value) ?? 0;
|
|
79
|
+
}
|
|
94
80
|
constructor(page) {
|
|
95
81
|
super(page);
|
|
96
82
|
this.rows = [];
|
|
@@ -100,7 +86,7 @@ export class BankTransactionPage extends BaseModel {
|
|
|
100
86
|
total: 0,
|
|
101
87
|
totalPages: 0,
|
|
102
88
|
};
|
|
103
|
-
this.
|
|
89
|
+
this.initial_balance = 0;
|
|
104
90
|
if (!page) {
|
|
105
91
|
return;
|
|
106
92
|
}
|
|
@@ -111,7 +97,8 @@ export class BankTransactionPage extends BaseModel {
|
|
|
111
97
|
total: this.toNumber(page.pagination?.total) ?? 0,
|
|
112
98
|
totalPages: this.toNumber(page.pagination?.totalPages) ?? 0,
|
|
113
99
|
};
|
|
114
|
-
this.
|
|
100
|
+
this.initial_balance =
|
|
101
|
+
this.toNumber(page.initialBalance ?? page.initial_balance) ?? 0;
|
|
115
102
|
}
|
|
116
103
|
}
|
|
117
104
|
export class BankTransactionsResponse extends BaseModel {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bank-transaction.js","sourceRoot":"","sources":["../../../src/models/bank/bank-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AASnF,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"bank-transaction.js","sourceRoot":"","sources":["../../../src/models/bank/bank-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AASnF,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,WA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C,IAAI,EAAE,eAAe,CAAC,CAAC;QAC1D,IAAI,CAAC,UAAU,GAAG;YAChB,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC;YAC/C,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,IAAI,CAAC;YACzD,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC;YACjD,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,IAAI,CAAC;SAC5D,CAAC;QACF,IAAI,CAAC,eAAe;YAClB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IACpE,CAAC;CACF;AAKD,MAAM,OAAO,wBACX,SAAQ,SAAS;IAKjB,YAAY,QAAoD;QAC9D,KAAK,CAAC,QAAQ,CAAC,CAAC;QAHlB,SAAI,GAAwB,IAAI,mBAAmB,EAAE,CAAC;QAIpD,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,OAAO;QACT,CAAC;QAED,IAAI,CAAC,IAAI,GAAG,IAAI,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACrD,CAAC;CACF"}
|
|
@@ -5,21 +5,22 @@ import type { IBankAccountApiPayload, IBankCatalogItem, IPublicBankCatalogItem }
|
|
|
5
5
|
import { BaseModel } from "../common/base-model.js";
|
|
6
6
|
type BankInput = Partial<Omit<IBanco, "id"> & Omit<IBankCatalogItem, "id"> & Omit<IPublicBankCatalogItem, "id"> & {
|
|
7
7
|
id?: number | string;
|
|
8
|
+
short_name?: string | null;
|
|
8
9
|
nome_curto?: string | null;
|
|
9
10
|
pix_habilitado?: boolean;
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
operation_start_date?: string | Date | null;
|
|
12
|
+
pix_start_date?: string | Date | null;
|
|
12
13
|
}>;
|
|
13
|
-
type BankAccountInput = Partial<Omit<IBankAccount, "id" | "
|
|
14
|
+
type BankAccountInput = Partial<Omit<IBankAccount, "id" | "bank">> & Partial<Omit<IBankAccountApiPayload, "id" | "company_id" | "bank_id" | "initial_balance" | "bank">> & {
|
|
14
15
|
id?: number | string;
|
|
15
|
-
|
|
16
|
+
company_id?: number | string;
|
|
16
17
|
id_empresa?: number | string;
|
|
17
|
-
|
|
18
|
+
bank_id?: number | string;
|
|
18
19
|
id_banco?: number | string;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
initial_balance?: number | string;
|
|
21
|
+
saldo_inicial?: number | string;
|
|
22
|
+
account_type?: EBankAccountType | string | null;
|
|
23
|
+
bank_name?: string | null;
|
|
23
24
|
bank?: BankInput | null;
|
|
24
25
|
};
|
|
25
26
|
export declare class Bank extends BaseModel implements IBanco {
|
|
@@ -27,6 +28,8 @@ export declare class Bank extends BaseModel implements IBanco {
|
|
|
27
28
|
compe: string;
|
|
28
29
|
ispb: string;
|
|
29
30
|
document?: string | null;
|
|
31
|
+
name: string;
|
|
32
|
+
short_name: string;
|
|
30
33
|
nome: string;
|
|
31
34
|
nomeCurto: string;
|
|
32
35
|
nome_curto: string;
|
|
@@ -42,20 +45,17 @@ export declare class Bank extends BaseModel implements IBanco {
|
|
|
42
45
|
}
|
|
43
46
|
export declare class BankAccount extends BaseModel implements IBankAccount {
|
|
44
47
|
id?: number;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
company_id: number;
|
|
49
|
+
bank_id: number;
|
|
50
|
+
name: string;
|
|
48
51
|
bank?: Bank | null;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
branch: string;
|
|
53
|
+
account_number: string;
|
|
54
|
+
account_type: EBankAccountType;
|
|
55
|
+
initial_balance: number;
|
|
56
|
+
is_active: boolean;
|
|
54
57
|
createdAt?: Date | null;
|
|
55
58
|
updatedAt?: Date | null;
|
|
56
|
-
id_empresa?: number;
|
|
57
|
-
id_banco?: number;
|
|
58
|
-
saldo_atual?: number;
|
|
59
59
|
constructor(account?: BankAccountInput | null);
|
|
60
60
|
}
|
|
61
61
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bank.d.ts","sourceRoot":"","sources":["../../../src/models/bank/bank.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,KAAK,EACV,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,KAAK,SAAS,GAAG,OAAO,CACtB,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,GAChB,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,GAC5B,IAAI,CAAC,sBAAsB,EAAE,IAAI,CAAC,GAAG;IACnC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,
|
|
1
|
+
{"version":3,"file":"bank.d.ts","sourceRoot":"","sources":["../../../src/models/bank/bank.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,KAAK,EACV,sBAAsB,EACtB,gBA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