@abyss-project/banking 1.1.0 → 1.3.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/.eslintrc.js +33 -33
- package/README.md +33 -33
- package/dist/api/attachment.api.d.ts +3 -2
- package/dist/api/attachment.api.js +5 -1
- package/dist/api/attachment.api.js.map +1 -1
- package/dist/api/banking-envelope.api.d.ts +7 -0
- package/dist/api/banking-envelope.api.js +29 -0
- package/dist/api/banking-envelope.api.js.map +1 -0
- package/dist/api/banking-external-signal.api.d.ts +2 -0
- package/dist/api/banking-external-signal.api.js +9 -0
- package/dist/api/banking-external-signal.api.js.map +1 -0
- package/dist/api/banking-profile-financials.api.d.ts +3 -0
- package/dist/api/banking-profile-financials.api.js +13 -0
- package/dist/api/banking-profile-financials.api.js.map +1 -0
- package/dist/api/banking-profile.api.d.ts +6 -0
- package/dist/api/banking-profile.api.js +25 -0
- package/dist/api/banking-profile.api.js.map +1 -0
- package/dist/api/banking-scoring.api.d.ts +4 -0
- package/dist/api/banking-scoring.api.js +24 -0
- package/dist/api/banking-scoring.api.js.map +1 -0
- package/dist/api/freelance-dashboard.api.d.ts +4 -1
- package/dist/api/freelance-dashboard.api.js +5 -1
- package/dist/api/freelance-dashboard.api.js.map +1 -1
- package/dist/api/index.d.ts +5 -1
- package/dist/api/index.js +5 -1
- package/dist/api/index.js.map +1 -1
- package/dist/api/user.admin.api.d.ts +1 -2
- package/dist/api/user.admin.api.js +1 -5
- package/dist/api/user.admin.api.js.map +1 -1
- package/dist/api/user.api.d.ts +1 -2
- package/dist/api/user.api.js +1 -6
- package/dist/api/user.api.js.map +1 -1
- package/dist/index.d.ts +25 -3
- package/dist/index.js +29 -3
- package/dist/index.js.map +1 -1
- package/dist/types/enum/audit-entity-type.enum.d.ts +10 -3
- package/dist/types/enum/audit-entity-type.enum.js +9 -2
- package/dist/types/enum/audit-entity-type.enum.js.map +1 -1
- package/dist/types/enum/audit-event-type.enum.d.ts +14 -8
- package/dist/types/enum/audit-event-type.enum.js +13 -7
- package/dist/types/enum/audit-event-type.enum.js.map +1 -1
- package/dist/types/enum/bank-provider.enum.d.ts +1 -2
- package/dist/types/enum/bank-provider.enum.js +0 -1
- package/dist/types/enum/bank-provider.enum.js.map +1 -1
- package/dist/types/enum/banking-capability.enum.d.ts +10 -0
- package/dist/types/enum/banking-capability.enum.js +29 -0
- package/dist/types/enum/banking-capability.enum.js.map +1 -0
- package/dist/types/enum/banking-notification-type.enum.d.ts +0 -1
- package/dist/types/enum/banking-notification-type.enum.js +0 -1
- package/dist/types/enum/banking-notification-type.enum.js.map +1 -1
- package/dist/types/enum/envelope-mode.enum.d.ts +4 -0
- package/dist/types/enum/envelope-mode.enum.js +9 -0
- package/dist/types/enum/envelope-mode.enum.js.map +1 -0
- package/dist/types/enum/envelope-status.enum.d.ts +5 -0
- package/dist/types/enum/envelope-status.enum.js +10 -0
- package/dist/types/enum/envelope-status.enum.js.map +1 -0
- package/dist/types/enum/envelope-type.enum.d.ts +5 -0
- package/dist/types/enum/envelope-type.enum.js +10 -0
- package/dist/types/enum/envelope-type.enum.js.map +1 -0
- package/dist/types/enum/index.d.ts +5 -2
- package/dist/types/enum/index.js +5 -2
- package/dist/types/enum/index.js.map +1 -1
- package/dist/types/enum/insight-type.enum.d.ts +1 -4
- package/dist/types/enum/insight-type.enum.js +0 -3
- package/dist/types/enum/insight-type.enum.js.map +1 -1
- package/dist/types/enum/scoring.enum.d.ts +46 -0
- package/dist/types/enum/scoring.enum.js +56 -0
- package/dist/types/enum/scoring.enum.js.map +1 -0
- package/dist/types/interface/api/index.d.ts +10 -2
- package/dist/types/interface/api/index.js +10 -2
- package/dist/types/interface/api/index.js.map +1 -1
- package/dist/types/interface/api/requests/attachment.request.d.ts +3 -0
- package/dist/types/interface/api/requests/banking-envelope.request.d.ts +48 -0
- package/dist/types/interface/{models/accounting-integration.model.js → api/requests/banking-envelope.request.js} +1 -1
- package/dist/types/interface/api/requests/banking-envelope.request.js.map +1 -0
- package/dist/types/interface/api/requests/banking-external-signal.request.d.ts +5 -0
- package/dist/types/interface/api/requests/{accounting-integration.request.js → banking-external-signal.request.js} +1 -1
- package/dist/types/interface/api/requests/banking-external-signal.request.js.map +1 -0
- package/dist/types/interface/api/requests/banking-profile-financials.request.d.ts +31 -0
- package/dist/types/interface/api/requests/banking-profile-financials.request.js +3 -0
- package/dist/types/interface/api/requests/banking-profile-financials.request.js.map +1 -0
- package/dist/types/interface/api/requests/banking-profile.request.d.ts +42 -0
- package/dist/types/interface/api/{responses/storage.admin.response.js → requests/banking-profile.request.js} +1 -0
- package/dist/types/interface/api/requests/banking-profile.request.js.map +1 -0
- package/dist/types/interface/api/requests/banking-scope-config.request.d.ts +3 -0
- package/dist/types/interface/api/requests/banking-scoring.request.d.ts +28 -0
- package/dist/types/interface/api/requests/banking-scoring.request.js +3 -0
- package/dist/types/interface/api/requests/banking-scoring.request.js.map +1 -0
- package/dist/types/interface/api/requests/user.admin.request.d.ts +0 -3
- package/dist/types/interface/api/responses/attachment.response.d.ts +4 -0
- package/dist/types/interface/api/responses/banking-envelope.response.d.ts +21 -0
- package/dist/types/interface/api/responses/banking-envelope.response.js +3 -0
- package/dist/types/interface/api/responses/banking-envelope.response.js.map +1 -0
- package/dist/types/interface/api/responses/banking-external-signal.response.d.ts +6 -0
- package/dist/types/interface/api/responses/{accounting-integration.response.js → banking-external-signal.response.js} +1 -1
- package/dist/types/interface/api/responses/banking-external-signal.response.js.map +1 -0
- package/dist/types/interface/api/responses/banking-profile-financials.response.d.ts +10 -0
- package/dist/types/interface/api/responses/banking-profile-financials.response.js +3 -0
- package/dist/types/interface/api/responses/banking-profile-financials.response.js.map +1 -0
- package/dist/types/interface/api/responses/banking-profile.response.d.ts +17 -0
- package/dist/types/interface/api/responses/banking-profile.response.js +3 -0
- package/dist/types/interface/api/responses/banking-profile.response.js.map +1 -0
- package/dist/types/interface/api/responses/banking-scoring.response.d.ts +13 -0
- package/dist/types/interface/api/responses/banking-scoring.response.js +3 -0
- package/dist/types/interface/api/responses/banking-scoring.response.js.map +1 -0
- package/dist/types/interface/api/responses/freelance-dashboard.response.d.ts +13 -0
- package/dist/types/interface/api/responses/user.admin.response.d.ts +0 -4
- package/dist/types/interface/api/responses/user.response.d.ts +0 -4
- package/dist/types/interface/index.d.ts +6 -2
- package/dist/types/interface/index.js +6 -2
- package/dist/types/interface/index.js.map +1 -1
- package/dist/types/interface/models/attachment.model.d.ts +2 -0
- package/dist/types/interface/models/banking-envelope.model.d.ts +27 -0
- package/dist/types/interface/models/{accounting-sync.model.js → banking-envelope.model.js} +1 -1
- package/dist/types/interface/models/banking-envelope.model.js.map +1 -0
- package/dist/types/interface/models/banking-scope-config.model.d.ts +3 -0
- package/dist/types/interface/models/external-signal.model.d.ts +25 -0
- package/dist/types/interface/models/external-signal.model.js +15 -0
- package/dist/types/interface/models/external-signal.model.js.map +1 -0
- package/dist/types/interface/models/file-scan.dto.d.ts +1 -0
- package/dist/types/interface/{api/requests/user.request.js → models/file-scan.dto.js} +1 -0
- package/dist/types/interface/models/file-scan.dto.js.map +1 -0
- package/dist/types/interface/models/invoice.model.d.ts +2 -3
- package/dist/types/interface/models/profile-financials.model.d.ts +32 -0
- package/dist/types/interface/models/profile-financials.model.js +10 -0
- package/dist/types/interface/models/profile-financials.model.js.map +1 -0
- package/dist/types/interface/models/profile.model.d.ts +212 -0
- package/dist/types/interface/models/profile.model.js +80 -0
- package/dist/types/interface/models/profile.model.js.map +1 -0
- package/dist/types/interface/models/scoring.model.d.ts +141 -0
- package/dist/types/interface/models/scoring.model.js +13 -0
- package/dist/types/interface/models/scoring.model.js.map +1 -0
- package/dist/types/interface/models/user.model.d.ts +2 -1
- package/package.json +53 -53
- package/tsconfig.json +35 -35
- package/dist/api/accounting-integration.api.d.ts +0 -8
- package/dist/api/accounting-integration.api.js +0 -33
- package/dist/api/accounting-integration.api.js.map +0 -1
- package/dist/api/yearly-report.admin.api.d.ts +0 -0
- package/dist/api/yearly-report.admin.api.js +0 -1
- package/dist/types/enum/accounting-external-system.enum.d.ts +0 -3
- package/dist/types/enum/accounting-external-system.enum.js +0 -8
- package/dist/types/enum/accounting-external-system.enum.js.map +0 -1
- package/dist/types/enum/accounting-sync-entity-type.enum.d.ts +0 -6
- package/dist/types/enum/accounting-sync-entity-type.enum.js +0 -11
- package/dist/types/enum/accounting-sync-entity-type.enum.js.map +0 -1
- package/dist/types/interface/api/requests/accounting-integration.request.d.ts +0 -34
- package/dist/types/interface/api/requests/accounting-integration.request.js.map +0 -1
- package/dist/types/interface/api/requests/user.request.d.ts +0 -2
- package/dist/types/interface/api/requests/yearly-report.admin.request.d.ts +0 -0
- package/dist/types/interface/api/requests/yearly-report.admin.request.js +0 -1
- package/dist/types/interface/api/responses/accounting-integration.response.d.ts +0 -47
- package/dist/types/interface/api/responses/accounting-integration.response.js.map +0 -1
- package/dist/types/interface/api/responses/storage.admin.response.d.ts +0 -3
- package/dist/types/interface/api/responses/yearly-report.admin.response.d.ts +0 -0
- package/dist/types/interface/api/responses/yearly-report.admin.response.js +0 -1
- package/dist/types/interface/models/accounting-integration.model.d.ts +0 -12
- package/dist/types/interface/models/accounting-integration.model.js.map +0 -1
- package/dist/types/interface/models/accounting-sync.model.d.ts +0 -14
- package/dist/types/interface/models/accounting-sync.model.js.map +0 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare enum FiledAccountsSourceKind {
|
|
2
|
+
MANUAL = "manual",
|
|
3
|
+
UPLOAD = "upload",
|
|
4
|
+
REGISTRE = "registre"
|
|
5
|
+
}
|
|
6
|
+
export interface IBankingProfileFinancials {
|
|
7
|
+
id?: string;
|
|
8
|
+
profileId: string;
|
|
9
|
+
fiscalYear: number;
|
|
10
|
+
currency: string;
|
|
11
|
+
periodEndDate?: string | null;
|
|
12
|
+
totalAssetsCents?: number | null;
|
|
13
|
+
totalLiabilitiesCents?: number | null;
|
|
14
|
+
currentAssetsCents?: number | null;
|
|
15
|
+
currentLiabilitiesCents?: number | null;
|
|
16
|
+
workingCapitalCents?: number | null;
|
|
17
|
+
retainedEarningsCents?: number | null;
|
|
18
|
+
equityCents?: number | null;
|
|
19
|
+
ebitCents?: number | null;
|
|
20
|
+
ebitdaCents?: number | null;
|
|
21
|
+
revenueCents?: number | null;
|
|
22
|
+
netIncomeCents?: number | null;
|
|
23
|
+
cashFlowOperationsCents?: number | null;
|
|
24
|
+
debtServiceCents?: number | null;
|
|
25
|
+
interestExpenseCents?: number | null;
|
|
26
|
+
sharesOutstanding?: number | null;
|
|
27
|
+
grossMarginRatio?: number | null;
|
|
28
|
+
sourceKind: FiledAccountsSourceKind;
|
|
29
|
+
createdAt?: Date;
|
|
30
|
+
updatedAt?: Date;
|
|
31
|
+
deletedAt?: Date | null;
|
|
32
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FiledAccountsSourceKind = void 0;
|
|
4
|
+
var FiledAccountsSourceKind;
|
|
5
|
+
(function (FiledAccountsSourceKind) {
|
|
6
|
+
FiledAccountsSourceKind["MANUAL"] = "manual";
|
|
7
|
+
FiledAccountsSourceKind["UPLOAD"] = "upload";
|
|
8
|
+
FiledAccountsSourceKind["REGISTRE"] = "registre";
|
|
9
|
+
})(FiledAccountsSourceKind || (exports.FiledAccountsSourceKind = FiledAccountsSourceKind = {}));
|
|
10
|
+
//# sourceMappingURL=profile-financials.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile-financials.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/profile-financials.model.ts"],"names":[],"mappings":";;;AAkBA,IAAY,uBAOX;AAPD,WAAY,uBAAuB;IAEjC,4CAAiB,CAAA;IAEjB,4CAAiB,CAAA;IAEjB,gDAAqB,CAAA;AACvB,CAAC,EAPW,uBAAuB,uCAAvB,uBAAuB,QAOlC"}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
export declare enum BankingSubjectType {
|
|
2
|
+
COMPANY = "company",
|
|
3
|
+
PERSON = "person",
|
|
4
|
+
PROJECT = "project",
|
|
5
|
+
ASSET = "asset"
|
|
6
|
+
}
|
|
7
|
+
export declare enum BankingProfileStatus {
|
|
8
|
+
DRAFT = "draft",
|
|
9
|
+
INGESTING = "ingesting",
|
|
10
|
+
READY = "ready",
|
|
11
|
+
SCORED = "scored",
|
|
12
|
+
MONITORING = "monitoring",
|
|
13
|
+
ARCHIVED = "archived"
|
|
14
|
+
}
|
|
15
|
+
export declare enum BankingProfileIdentifierType {
|
|
16
|
+
SIREN = "siren",
|
|
17
|
+
SIRET = "siret",
|
|
18
|
+
VAT = "vat",
|
|
19
|
+
PERSON = "person",
|
|
20
|
+
INTERNAL = "internal"
|
|
21
|
+
}
|
|
22
|
+
export declare enum BankingProfileResolutionStatus {
|
|
23
|
+
UNRESOLVED = "unresolved",
|
|
24
|
+
CANDIDATE = "candidate",
|
|
25
|
+
CONFIRMED = "confirmed",
|
|
26
|
+
REJECTED = "rejected"
|
|
27
|
+
}
|
|
28
|
+
export declare enum BankingProfileLinkType {
|
|
29
|
+
SPONSOR = "sponsor",
|
|
30
|
+
GUARANTOR = "guarantor",
|
|
31
|
+
PARENT = "parent",
|
|
32
|
+
SUBSIDIARY = "subsidiary",
|
|
33
|
+
RELATED_PARTY = "related_party"
|
|
34
|
+
}
|
|
35
|
+
export declare enum BankingProfileAccountKind {
|
|
36
|
+
BANK_ACCOUNT_LIVE = "bank_account_live",
|
|
37
|
+
VIEW_UPLOAD = "view_upload",
|
|
38
|
+
MANUAL = "manual"
|
|
39
|
+
}
|
|
40
|
+
export declare enum BankingProfileSourceKind {
|
|
41
|
+
CSV = "csv",
|
|
42
|
+
CAMT053 = "camt053",
|
|
43
|
+
OFX = "ofx",
|
|
44
|
+
QIF = "qif",
|
|
45
|
+
PSD2_LINK = "psd2_link",
|
|
46
|
+
MANUAL = "manual",
|
|
47
|
+
RCB_EXTRACTION = "rcb_extraction"
|
|
48
|
+
}
|
|
49
|
+
export declare enum BankingProfileSourceStatus {
|
|
50
|
+
PENDING = "pending",
|
|
51
|
+
PARSING = "parsing",
|
|
52
|
+
INGESTED = "ingested",
|
|
53
|
+
FAILED = "failed"
|
|
54
|
+
}
|
|
55
|
+
export declare enum BankingProfileTransactionClassification {
|
|
56
|
+
REVENUE = "revenue",
|
|
57
|
+
EXPENSE_FIXED = "expense_fixed",
|
|
58
|
+
EXPENSE_VARIABLE = "expense_variable",
|
|
59
|
+
SALARY = "salary",
|
|
60
|
+
TAX = "tax",
|
|
61
|
+
DEBT_SERVICE = "debt_service",
|
|
62
|
+
TRANSFER = "transfer",
|
|
63
|
+
FEE = "fee",
|
|
64
|
+
INCIDENT = "incident",
|
|
65
|
+
CASH = "cash",
|
|
66
|
+
OTHER = "other"
|
|
67
|
+
}
|
|
68
|
+
export interface IBankingProfile {
|
|
69
|
+
id?: string;
|
|
70
|
+
userId?: string | null;
|
|
71
|
+
organizationId?: string | null;
|
|
72
|
+
createdByUserId?: string | null;
|
|
73
|
+
projectId?: string | null;
|
|
74
|
+
subjectType: BankingSubjectType;
|
|
75
|
+
label: string;
|
|
76
|
+
status?: BankingProfileStatus;
|
|
77
|
+
currency?: string;
|
|
78
|
+
defaultConfigId?: string | null;
|
|
79
|
+
metaJson?: Record<string, unknown> | null;
|
|
80
|
+
createdAt?: Date;
|
|
81
|
+
updatedAt?: Date;
|
|
82
|
+
deletedAt?: Date | null;
|
|
83
|
+
identities?: IBankingProfileIdentity[];
|
|
84
|
+
contexts?: IBankingProfileContext[];
|
|
85
|
+
accounts?: IBankingProfileAccount[];
|
|
86
|
+
}
|
|
87
|
+
export interface IBankingProfileIdentity {
|
|
88
|
+
id?: string;
|
|
89
|
+
profileId: string;
|
|
90
|
+
identifierType: BankingProfileIdentifierType;
|
|
91
|
+
rawInput?: string | null;
|
|
92
|
+
resolvedValue?: string | null;
|
|
93
|
+
resolutionConfidence?: number | null;
|
|
94
|
+
resolutionStatus?: BankingProfileResolutionStatus;
|
|
95
|
+
candidatesJson?: Record<string, unknown>[] | null;
|
|
96
|
+
confirmedByUserId?: string | null;
|
|
97
|
+
confirmedAt?: string | Date | null;
|
|
98
|
+
createdAt?: Date;
|
|
99
|
+
updatedAt?: Date;
|
|
100
|
+
deletedAt?: Date | null;
|
|
101
|
+
}
|
|
102
|
+
export interface IBankingProfileLink {
|
|
103
|
+
id?: string;
|
|
104
|
+
fromProfileId: string;
|
|
105
|
+
toProfileId: string;
|
|
106
|
+
linkType: BankingProfileLinkType;
|
|
107
|
+
metaJson?: Record<string, unknown> | null;
|
|
108
|
+
createdAt?: Date;
|
|
109
|
+
updatedAt?: Date;
|
|
110
|
+
deletedAt?: Date | null;
|
|
111
|
+
}
|
|
112
|
+
export interface IBankingProfileContext {
|
|
113
|
+
id?: string;
|
|
114
|
+
profileId: string;
|
|
115
|
+
intentJson?: string[] | null;
|
|
116
|
+
relationToSubject?: string | null;
|
|
117
|
+
subjectContextJson?: Record<string, unknown> | null;
|
|
118
|
+
expectedExposureJson?: Record<string, unknown> | null;
|
|
119
|
+
riskAppetite?: string | null;
|
|
120
|
+
dataContextJson?: Record<string, unknown> | null;
|
|
121
|
+
rationale?: string | null;
|
|
122
|
+
requestedByUserId?: string | null;
|
|
123
|
+
ownerUserId?: string | null;
|
|
124
|
+
legalBasisJson?: Record<string, unknown> | null;
|
|
125
|
+
createdAt?: Date;
|
|
126
|
+
updatedAt?: Date;
|
|
127
|
+
deletedAt?: Date | null;
|
|
128
|
+
}
|
|
129
|
+
export interface IBankingProfileAccount {
|
|
130
|
+
id?: string;
|
|
131
|
+
profileId: string;
|
|
132
|
+
kind: BankingProfileAccountKind;
|
|
133
|
+
refType?: string | null;
|
|
134
|
+
refId?: string | null;
|
|
135
|
+
label?: string | null;
|
|
136
|
+
includedInScoring?: boolean;
|
|
137
|
+
addedByUserId?: string | null;
|
|
138
|
+
addedAt?: string | Date;
|
|
139
|
+
createdAt?: Date;
|
|
140
|
+
updatedAt?: Date;
|
|
141
|
+
deletedAt?: Date | null;
|
|
142
|
+
profile?: IBankingProfile;
|
|
143
|
+
sources?: IBankingProfileSource[];
|
|
144
|
+
transactions?: IBankingProfileTransaction[];
|
|
145
|
+
}
|
|
146
|
+
export interface IBankingProfileSourceRefRcb {
|
|
147
|
+
rcbExtractionId: string;
|
|
148
|
+
}
|
|
149
|
+
export interface IBankingProfileSourceRefUpload {
|
|
150
|
+
applicationFileId: string;
|
|
151
|
+
filename: string;
|
|
152
|
+
byteSize: number;
|
|
153
|
+
}
|
|
154
|
+
export interface IBankingProfileSourcePsd2 {
|
|
155
|
+
aggregatorLinkId: string;
|
|
156
|
+
bankAccountId: string;
|
|
157
|
+
}
|
|
158
|
+
export type BankingProfileSourceRef = IBankingProfileSourceRefRcb | IBankingProfileSourceRefUpload | IBankingProfileSourcePsd2 | Record<string, unknown>;
|
|
159
|
+
export interface IBankingProfileSource {
|
|
160
|
+
id?: string;
|
|
161
|
+
profileAccountId: string;
|
|
162
|
+
kind: BankingProfileSourceKind;
|
|
163
|
+
refJson?: BankingProfileSourceRef | null;
|
|
164
|
+
status?: BankingProfileSourceStatus;
|
|
165
|
+
recordsCount?: number;
|
|
166
|
+
ingestedAt?: string | Date | null;
|
|
167
|
+
errorJson?: {
|
|
168
|
+
code?: string;
|
|
169
|
+
message?: string;
|
|
170
|
+
} | null;
|
|
171
|
+
createdAt?: Date;
|
|
172
|
+
updatedAt?: Date;
|
|
173
|
+
deletedAt?: Date | null;
|
|
174
|
+
profileAccount?: IBankingProfileAccount;
|
|
175
|
+
transactions?: IBankingProfileTransaction[];
|
|
176
|
+
}
|
|
177
|
+
export interface IBankingProfileTransaction {
|
|
178
|
+
id?: string;
|
|
179
|
+
profileAccountId: string;
|
|
180
|
+
sourceId: string;
|
|
181
|
+
txDate: string;
|
|
182
|
+
valueDate?: string | null;
|
|
183
|
+
amountCents: number;
|
|
184
|
+
currency: string;
|
|
185
|
+
description: string;
|
|
186
|
+
descriptionNormalized?: string | null;
|
|
187
|
+
counterpartyName?: string | null;
|
|
188
|
+
counterpartyIban?: string | null;
|
|
189
|
+
counterpartyBic?: string | null;
|
|
190
|
+
counterpartyKey?: string | null;
|
|
191
|
+
balanceCents?: number | null;
|
|
192
|
+
dedupeKey: string;
|
|
193
|
+
isPrimary?: boolean;
|
|
194
|
+
possibleDuplicate?: boolean;
|
|
195
|
+
isInterAccountTransfer?: boolean;
|
|
196
|
+
classification?: BankingProfileTransactionClassification | null;
|
|
197
|
+
txMetadataJson?: Record<string, unknown> | null;
|
|
198
|
+
createdAt?: Date;
|
|
199
|
+
updatedAt?: Date;
|
|
200
|
+
deletedAt?: Date | null;
|
|
201
|
+
}
|
|
202
|
+
export interface IBankingProfileBalanceSnapshot {
|
|
203
|
+
id?: string;
|
|
204
|
+
profileAccountId: string;
|
|
205
|
+
sourceId: string;
|
|
206
|
+
snapDate: string;
|
|
207
|
+
balanceCents: number;
|
|
208
|
+
currency: string;
|
|
209
|
+
createdAt?: Date;
|
|
210
|
+
updatedAt?: Date;
|
|
211
|
+
deletedAt?: Date | null;
|
|
212
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BankingProfileTransactionClassification = exports.BankingProfileSourceStatus = exports.BankingProfileSourceKind = exports.BankingProfileAccountKind = exports.BankingProfileLinkType = exports.BankingProfileResolutionStatus = exports.BankingProfileIdentifierType = exports.BankingProfileStatus = exports.BankingSubjectType = void 0;
|
|
4
|
+
var BankingSubjectType;
|
|
5
|
+
(function (BankingSubjectType) {
|
|
6
|
+
BankingSubjectType["COMPANY"] = "company";
|
|
7
|
+
BankingSubjectType["PERSON"] = "person";
|
|
8
|
+
BankingSubjectType["PROJECT"] = "project";
|
|
9
|
+
BankingSubjectType["ASSET"] = "asset";
|
|
10
|
+
})(BankingSubjectType || (exports.BankingSubjectType = BankingSubjectType = {}));
|
|
11
|
+
var BankingProfileStatus;
|
|
12
|
+
(function (BankingProfileStatus) {
|
|
13
|
+
BankingProfileStatus["DRAFT"] = "draft";
|
|
14
|
+
BankingProfileStatus["INGESTING"] = "ingesting";
|
|
15
|
+
BankingProfileStatus["READY"] = "ready";
|
|
16
|
+
BankingProfileStatus["SCORED"] = "scored";
|
|
17
|
+
BankingProfileStatus["MONITORING"] = "monitoring";
|
|
18
|
+
BankingProfileStatus["ARCHIVED"] = "archived";
|
|
19
|
+
})(BankingProfileStatus || (exports.BankingProfileStatus = BankingProfileStatus = {}));
|
|
20
|
+
var BankingProfileIdentifierType;
|
|
21
|
+
(function (BankingProfileIdentifierType) {
|
|
22
|
+
BankingProfileIdentifierType["SIREN"] = "siren";
|
|
23
|
+
BankingProfileIdentifierType["SIRET"] = "siret";
|
|
24
|
+
BankingProfileIdentifierType["VAT"] = "vat";
|
|
25
|
+
BankingProfileIdentifierType["PERSON"] = "person";
|
|
26
|
+
BankingProfileIdentifierType["INTERNAL"] = "internal";
|
|
27
|
+
})(BankingProfileIdentifierType || (exports.BankingProfileIdentifierType = BankingProfileIdentifierType = {}));
|
|
28
|
+
var BankingProfileResolutionStatus;
|
|
29
|
+
(function (BankingProfileResolutionStatus) {
|
|
30
|
+
BankingProfileResolutionStatus["UNRESOLVED"] = "unresolved";
|
|
31
|
+
BankingProfileResolutionStatus["CANDIDATE"] = "candidate";
|
|
32
|
+
BankingProfileResolutionStatus["CONFIRMED"] = "confirmed";
|
|
33
|
+
BankingProfileResolutionStatus["REJECTED"] = "rejected";
|
|
34
|
+
})(BankingProfileResolutionStatus || (exports.BankingProfileResolutionStatus = BankingProfileResolutionStatus = {}));
|
|
35
|
+
var BankingProfileLinkType;
|
|
36
|
+
(function (BankingProfileLinkType) {
|
|
37
|
+
BankingProfileLinkType["SPONSOR"] = "sponsor";
|
|
38
|
+
BankingProfileLinkType["GUARANTOR"] = "guarantor";
|
|
39
|
+
BankingProfileLinkType["PARENT"] = "parent";
|
|
40
|
+
BankingProfileLinkType["SUBSIDIARY"] = "subsidiary";
|
|
41
|
+
BankingProfileLinkType["RELATED_PARTY"] = "related_party";
|
|
42
|
+
})(BankingProfileLinkType || (exports.BankingProfileLinkType = BankingProfileLinkType = {}));
|
|
43
|
+
var BankingProfileAccountKind;
|
|
44
|
+
(function (BankingProfileAccountKind) {
|
|
45
|
+
BankingProfileAccountKind["BANK_ACCOUNT_LIVE"] = "bank_account_live";
|
|
46
|
+
BankingProfileAccountKind["VIEW_UPLOAD"] = "view_upload";
|
|
47
|
+
BankingProfileAccountKind["MANUAL"] = "manual";
|
|
48
|
+
})(BankingProfileAccountKind || (exports.BankingProfileAccountKind = BankingProfileAccountKind = {}));
|
|
49
|
+
var BankingProfileSourceKind;
|
|
50
|
+
(function (BankingProfileSourceKind) {
|
|
51
|
+
BankingProfileSourceKind["CSV"] = "csv";
|
|
52
|
+
BankingProfileSourceKind["CAMT053"] = "camt053";
|
|
53
|
+
BankingProfileSourceKind["OFX"] = "ofx";
|
|
54
|
+
BankingProfileSourceKind["QIF"] = "qif";
|
|
55
|
+
BankingProfileSourceKind["PSD2_LINK"] = "psd2_link";
|
|
56
|
+
BankingProfileSourceKind["MANUAL"] = "manual";
|
|
57
|
+
BankingProfileSourceKind["RCB_EXTRACTION"] = "rcb_extraction";
|
|
58
|
+
})(BankingProfileSourceKind || (exports.BankingProfileSourceKind = BankingProfileSourceKind = {}));
|
|
59
|
+
var BankingProfileSourceStatus;
|
|
60
|
+
(function (BankingProfileSourceStatus) {
|
|
61
|
+
BankingProfileSourceStatus["PENDING"] = "pending";
|
|
62
|
+
BankingProfileSourceStatus["PARSING"] = "parsing";
|
|
63
|
+
BankingProfileSourceStatus["INGESTED"] = "ingested";
|
|
64
|
+
BankingProfileSourceStatus["FAILED"] = "failed";
|
|
65
|
+
})(BankingProfileSourceStatus || (exports.BankingProfileSourceStatus = BankingProfileSourceStatus = {}));
|
|
66
|
+
var BankingProfileTransactionClassification;
|
|
67
|
+
(function (BankingProfileTransactionClassification) {
|
|
68
|
+
BankingProfileTransactionClassification["REVENUE"] = "revenue";
|
|
69
|
+
BankingProfileTransactionClassification["EXPENSE_FIXED"] = "expense_fixed";
|
|
70
|
+
BankingProfileTransactionClassification["EXPENSE_VARIABLE"] = "expense_variable";
|
|
71
|
+
BankingProfileTransactionClassification["SALARY"] = "salary";
|
|
72
|
+
BankingProfileTransactionClassification["TAX"] = "tax";
|
|
73
|
+
BankingProfileTransactionClassification["DEBT_SERVICE"] = "debt_service";
|
|
74
|
+
BankingProfileTransactionClassification["TRANSFER"] = "transfer";
|
|
75
|
+
BankingProfileTransactionClassification["FEE"] = "fee";
|
|
76
|
+
BankingProfileTransactionClassification["INCIDENT"] = "incident";
|
|
77
|
+
BankingProfileTransactionClassification["CASH"] = "cash";
|
|
78
|
+
BankingProfileTransactionClassification["OTHER"] = "other";
|
|
79
|
+
})(BankingProfileTransactionClassification || (exports.BankingProfileTransactionClassification = BankingProfileTransactionClassification = {}));
|
|
80
|
+
//# sourceMappingURL=profile.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/profile.model.ts"],"names":[],"mappings":";;;AAaA,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;IACnB,qCAAe,CAAA;AACjB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAED,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,uCAAe,CAAA;IACf,+CAAuB,CAAA;IACvB,uCAAe,CAAA;IACf,yCAAiB,CAAA;IACjB,iDAAyB,CAAA;IACzB,6CAAqB,CAAA;AACvB,CAAC,EAPW,oBAAoB,oCAApB,oBAAoB,QAO/B;AAED,IAAY,4BAMX;AAND,WAAY,4BAA4B;IACtC,+CAAe,CAAA;IACf,+CAAe,CAAA;IACf,2CAAW,CAAA;IACX,iDAAiB,CAAA;IACjB,qDAAqB,CAAA;AACvB,CAAC,EANW,4BAA4B,4CAA5B,4BAA4B,QAMvC;AAED,IAAY,8BAKX;AALD,WAAY,8BAA8B;IACxC,2DAAyB,CAAA;IACzB,yDAAuB,CAAA;IACvB,yDAAuB,CAAA;IACvB,uDAAqB,CAAA;AACvB,CAAC,EALW,8BAA8B,8CAA9B,8BAA8B,QAKzC;AAED,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,iDAAuB,CAAA;IACvB,2CAAiB,CAAA;IACjB,mDAAyB,CAAA;IACzB,yDAA+B,CAAA;AACjC,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC;AAED,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,oEAAuC,CAAA;IACvC,wDAA2B,CAAA;IAC3B,8CAAiB,CAAA;AACnB,CAAC,EAJW,yBAAyB,yCAAzB,yBAAyB,QAIpC;AAED,IAAY,wBAQX;AARD,WAAY,wBAAwB;IAClC,uCAAW,CAAA;IACX,+CAAmB,CAAA;IACnB,uCAAW,CAAA;IACX,uCAAW,CAAA;IACX,mDAAuB,CAAA;IACvB,6CAAiB,CAAA;IACjB,6DAAiC,CAAA;AACnC,CAAC,EARW,wBAAwB,wCAAxB,wBAAwB,QAQnC;AAED,IAAY,0BAKX;AALD,WAAY,0BAA0B;IACpC,iDAAmB,CAAA;IACnB,iDAAmB,CAAA;IACnB,mDAAqB,CAAA;IACrB,+CAAiB,CAAA;AACnB,CAAC,EALW,0BAA0B,0CAA1B,0BAA0B,QAKrC;AAED,IAAY,uCAYX;AAZD,WAAY,uCAAuC;IACjD,8DAAmB,CAAA;IACnB,0EAA+B,CAAA;IAC/B,gFAAqC,CAAA;IACrC,4DAAiB,CAAA;IACjB,sDAAW,CAAA;IACX,wEAA6B,CAAA;IAC7B,gEAAqB,CAAA;IACrB,sDAAW,CAAA;IACX,gEAAqB,CAAA;IACrB,wDAAa,CAAA;IACb,0DAAe,CAAA;AACjB,CAAC,EAZW,uCAAuC,uDAAvC,uCAAuC,QAYlD"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { EvidenceQuality, ScoringAxis, SnapshotStatus, SubSignalDirection } from '../../enum/scoring.enum';
|
|
2
|
+
export { SnapshotStatus as BankingScoringSnapshotStatus, EvidenceQuality as BankingScoringEvidenceQuality, };
|
|
3
|
+
export declare enum BankingScoringModelVersionStatus {
|
|
4
|
+
DRAFT = "draft",
|
|
5
|
+
ACTIVE = "active",
|
|
6
|
+
RETIRED = "retired"
|
|
7
|
+
}
|
|
8
|
+
export interface IBankingScoringConfigModule {
|
|
9
|
+
key: string;
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
weightAttract: number;
|
|
12
|
+
weightStab: number;
|
|
13
|
+
subSignalOverridesJson?: Record<string, unknown> | null;
|
|
14
|
+
}
|
|
15
|
+
export interface IBankingScoringKnockOutEntry {
|
|
16
|
+
condition: string;
|
|
17
|
+
capGrade: string;
|
|
18
|
+
axis?: string | null;
|
|
19
|
+
severity: string;
|
|
20
|
+
source?: string | null;
|
|
21
|
+
lookbackMonths?: number | null;
|
|
22
|
+
decayCurve?: string | null;
|
|
23
|
+
dismissible?: boolean;
|
|
24
|
+
requiresEvidence?: boolean;
|
|
25
|
+
triggered?: boolean;
|
|
26
|
+
moduleKey?: string | null;
|
|
27
|
+
reason?: string | null;
|
|
28
|
+
eventAgeMonths?: number | null;
|
|
29
|
+
}
|
|
30
|
+
export interface IBankingScoringKnockOutPolicy {
|
|
31
|
+
entries: IBankingScoringKnockOutEntry[];
|
|
32
|
+
}
|
|
33
|
+
export interface IBankingScoringAxisContribution {
|
|
34
|
+
attractiveness: number;
|
|
35
|
+
stability: number;
|
|
36
|
+
}
|
|
37
|
+
export interface SubSignalResult {
|
|
38
|
+
key: string;
|
|
39
|
+
value: number | null;
|
|
40
|
+
score: number;
|
|
41
|
+
confidence: number;
|
|
42
|
+
axis: ScoringAxis;
|
|
43
|
+
direction: SubSignalDirection;
|
|
44
|
+
sources: string[];
|
|
45
|
+
}
|
|
46
|
+
export type IBankingScoringSubSignal = SubSignalResult;
|
|
47
|
+
export interface IBankingScoringCoverageProfile {
|
|
48
|
+
covered: number;
|
|
49
|
+
modulesEvaluated: number;
|
|
50
|
+
modulesMissing: number;
|
|
51
|
+
driversJson?: Record<string, unknown> | null;
|
|
52
|
+
}
|
|
53
|
+
export interface IBankingScoringGradeMigration {
|
|
54
|
+
previousSnapshotId?: string | null;
|
|
55
|
+
previousGrade?: string | null;
|
|
56
|
+
gradeDelta?: number | null;
|
|
57
|
+
scoreDelta?: number | null;
|
|
58
|
+
}
|
|
59
|
+
export interface IBankingScoringConfig {
|
|
60
|
+
id?: string;
|
|
61
|
+
userId?: string | null;
|
|
62
|
+
organizationId?: string | null;
|
|
63
|
+
name: string;
|
|
64
|
+
isPreset?: boolean;
|
|
65
|
+
presetKey?: string | null;
|
|
66
|
+
modulesJson?: IBankingScoringConfigModule[] | null;
|
|
67
|
+
knockOutPolicyJson?: IBankingScoringKnockOutPolicy | null;
|
|
68
|
+
modelVersion?: string | null;
|
|
69
|
+
createdAt?: Date;
|
|
70
|
+
updatedAt?: Date;
|
|
71
|
+
deletedAt?: Date | null;
|
|
72
|
+
}
|
|
73
|
+
export interface IBankingScoringSnapshot {
|
|
74
|
+
id?: string;
|
|
75
|
+
profileId: string;
|
|
76
|
+
label?: string | null;
|
|
77
|
+
periodStart?: string | null;
|
|
78
|
+
periodEnd?: string | null;
|
|
79
|
+
asOfDate?: string | null;
|
|
80
|
+
configResolvedJson?: Record<string, unknown> | null;
|
|
81
|
+
modelVersion?: string | null;
|
|
82
|
+
status?: SnapshotStatus;
|
|
83
|
+
computedAt?: string | Date | null;
|
|
84
|
+
overallScore?: number | null;
|
|
85
|
+
overallConfidence?: number | null;
|
|
86
|
+
overallGrade?: string | null;
|
|
87
|
+
attractivenessScore?: number | null;
|
|
88
|
+
attractivenessConfidence?: number | null;
|
|
89
|
+
stabilityScore?: number | null;
|
|
90
|
+
stabilityConfidence?: number | null;
|
|
91
|
+
knockOutsJson?: IBankingScoringKnockOutEntry[] | null;
|
|
92
|
+
coverageProfileJson?: IBankingScoringCoverageProfile | null;
|
|
93
|
+
gradeMigrationJson?: IBankingScoringGradeMigration | null;
|
|
94
|
+
pdEstimate?: number | null;
|
|
95
|
+
decisionGatedFlag?: boolean;
|
|
96
|
+
createdAt?: Date;
|
|
97
|
+
updatedAt?: Date;
|
|
98
|
+
deletedAt?: Date | null;
|
|
99
|
+
moduleResults?: IBankingScoringModuleResult[];
|
|
100
|
+
}
|
|
101
|
+
export interface IBankingScoringModuleResult {
|
|
102
|
+
id?: string;
|
|
103
|
+
snapshotId: string;
|
|
104
|
+
moduleKey: string;
|
|
105
|
+
family: string;
|
|
106
|
+
score?: number | null;
|
|
107
|
+
confidence?: number | null;
|
|
108
|
+
grade?: string | null;
|
|
109
|
+
axisContributionJson?: IBankingScoringAxisContribution | null;
|
|
110
|
+
subSignalsJson?: IBankingScoringSubSignal[] | null;
|
|
111
|
+
reasonsJson?: string[] | null;
|
|
112
|
+
sourcesJson?: string[] | null;
|
|
113
|
+
knockOutJson?: IBankingScoringKnockOutEntry | null;
|
|
114
|
+
evidenceQuality?: EvidenceQuality | null;
|
|
115
|
+
computedAt?: string | Date | null;
|
|
116
|
+
createdAt?: Date;
|
|
117
|
+
updatedAt?: Date;
|
|
118
|
+
deletedAt?: Date | null;
|
|
119
|
+
}
|
|
120
|
+
export interface ModuleResult {
|
|
121
|
+
score: number;
|
|
122
|
+
confidence: number;
|
|
123
|
+
grade: string;
|
|
124
|
+
axisContribution: IBankingScoringAxisContribution;
|
|
125
|
+
subSignals: SubSignalResult[];
|
|
126
|
+
reasons: string[];
|
|
127
|
+
sources: string[];
|
|
128
|
+
knockOut?: IBankingScoringKnockOutEntry;
|
|
129
|
+
evidenceQuality: EvidenceQuality;
|
|
130
|
+
}
|
|
131
|
+
export interface IBankingScoringModelVersion {
|
|
132
|
+
id?: string;
|
|
133
|
+
version: string;
|
|
134
|
+
definitionJson?: Record<string, unknown> | null;
|
|
135
|
+
status?: BankingScoringModelVersionStatus;
|
|
136
|
+
approvedByUserId?: string | null;
|
|
137
|
+
activatedAt?: string | Date | null;
|
|
138
|
+
createdAt?: Date;
|
|
139
|
+
updatedAt?: Date;
|
|
140
|
+
deletedAt?: Date | null;
|
|
141
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BankingScoringModelVersionStatus = exports.BankingScoringEvidenceQuality = exports.BankingScoringSnapshotStatus = void 0;
|
|
4
|
+
const scoring_enum_1 = require("../../enum/scoring.enum");
|
|
5
|
+
Object.defineProperty(exports, "BankingScoringEvidenceQuality", { enumerable: true, get: function () { return scoring_enum_1.EvidenceQuality; } });
|
|
6
|
+
Object.defineProperty(exports, "BankingScoringSnapshotStatus", { enumerable: true, get: function () { return scoring_enum_1.SnapshotStatus; } });
|
|
7
|
+
var BankingScoringModelVersionStatus;
|
|
8
|
+
(function (BankingScoringModelVersionStatus) {
|
|
9
|
+
BankingScoringModelVersionStatus["DRAFT"] = "draft";
|
|
10
|
+
BankingScoringModelVersionStatus["ACTIVE"] = "active";
|
|
11
|
+
BankingScoringModelVersionStatus["RETIRED"] = "retired";
|
|
12
|
+
})(BankingScoringModelVersionStatus || (exports.BankingScoringModelVersionStatus = BankingScoringModelVersionStatus = {}));
|
|
13
|
+
//# sourceMappingURL=scoring.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scoring.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/scoring.model.ts"],"names":[],"mappings":";;;AAkBA,0DAKiC;AAOZ,8GAXnB,8BAAe,OAWiC;AAD9B,6GARlB,6BAAc,OAQgC;AAKhD,IAAY,gCAIX;AAJD,WAAY,gCAAgC;IAC1C,mDAAe,CAAA;IACf,qDAAiB,CAAA;IACjB,uDAAmB,CAAA;AACrB,CAAC,EAJW,gCAAgC,gDAAhC,gCAAgC,QAI3C"}
|
|
@@ -4,7 +4,8 @@ import { IPanel } from './panel.model';
|
|
|
4
4
|
export interface IUser {
|
|
5
5
|
id?: string;
|
|
6
6
|
isAdmin: boolean;
|
|
7
|
-
|
|
7
|
+
personalApiKeyLookupHash?: string | null;
|
|
8
|
+
personalApiKeyRevokedAt?: Date | null;
|
|
8
9
|
updatedAt?: Date;
|
|
9
10
|
createdAt?: Date;
|
|
10
11
|
aggregatorLinks?: IAggregatorLink[];
|
package/package.json
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@abyss-project/banking",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Core package to interact with Abyss-Banking",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"publishConfig": {
|
|
8
|
-
"main": "dist/index.js",
|
|
9
|
-
"types": "dist/index.d.ts"
|
|
10
|
-
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
|
|
13
|
-
"lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
|
|
14
|
-
"tsc": "tsc",
|
|
15
|
-
"build": "tsc",
|
|
16
|
-
"prepublish": "tsc",
|
|
17
|
-
"dev": "tsc --watch"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [],
|
|
20
|
-
"author": "scylla",
|
|
21
|
-
"license": "ISC",
|
|
22
|
-
"bugs": {
|
|
23
|
-
"url": "https://gitlab.com/abyss-group/abyss-banking"
|
|
24
|
-
},
|
|
25
|
-
"homepage": "https://gitlab.com/abyss-group/abyss-banking",
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"@abyss-project/main": "^1.0
|
|
28
|
-
"axios": "^1.6.0",
|
|
29
|
-
"axios-retry": "^4.5.0",
|
|
30
|
-
"core-js": "^3.37.1",
|
|
31
|
-
"dayjs": "^1.10.8",
|
|
32
|
-
"form-data": "^4.0.0",
|
|
33
|
-
"uuid": "^9.0.0"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@types/express-serve-static-core": "^4.17.31",
|
|
37
|
-
"@types/node": "^20.11.0",
|
|
38
|
-
"@types/uuid": "^9.0.0",
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "6.21.0",
|
|
40
|
-
"@typescript-eslint/parser": "7.3.1",
|
|
41
|
-
"eslint": "^7.28.0",
|
|
42
|
-
"eslint-config-prettier": "^8.3.0",
|
|
43
|
-
"eslint-config-standard": "^16.0.3",
|
|
44
|
-
"eslint-plugin-filenames-simple": "^0.7.0",
|
|
45
|
-
"eslint-plugin-import": "^2.23.4",
|
|
46
|
-
"eslint-plugin-node": "^11.1.0",
|
|
47
|
-
"eslint-plugin-prettier": "^3.4.0",
|
|
48
|
-
"eslint-plugin-promise": "^5.1.0",
|
|
49
|
-
"prettier": "2.3.1",
|
|
50
|
-
"typescript": "5.4.2",
|
|
51
|
-
"tsc-watch": "^4.6.2"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@abyss-project/banking",
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"description": "Core package to interact with Abyss-Banking",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"types": "dist/index.d.ts"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
|
|
13
|
+
"lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
|
|
14
|
+
"tsc": "tsc",
|
|
15
|
+
"build": "tsc",
|
|
16
|
+
"prepublish": "tsc",
|
|
17
|
+
"dev": "tsc --watch"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [],
|
|
20
|
+
"author": "scylla",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://gitlab.com/abyss-group/abyss-banking"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://gitlab.com/abyss-group/abyss-banking",
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@abyss-project/main": "^1.7.0",
|
|
28
|
+
"axios": "^1.6.0",
|
|
29
|
+
"axios-retry": "^4.5.0",
|
|
30
|
+
"core-js": "^3.37.1",
|
|
31
|
+
"dayjs": "^1.10.8",
|
|
32
|
+
"form-data": "^4.0.0",
|
|
33
|
+
"uuid": "^9.0.0"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@types/express-serve-static-core": "^4.17.31",
|
|
37
|
+
"@types/node": "^20.11.0",
|
|
38
|
+
"@types/uuid": "^9.0.0",
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "6.21.0",
|
|
40
|
+
"@typescript-eslint/parser": "7.3.1",
|
|
41
|
+
"eslint": "^7.28.0",
|
|
42
|
+
"eslint-config-prettier": "^8.3.0",
|
|
43
|
+
"eslint-config-standard": "^16.0.3",
|
|
44
|
+
"eslint-plugin-filenames-simple": "^0.7.0",
|
|
45
|
+
"eslint-plugin-import": "^2.23.4",
|
|
46
|
+
"eslint-plugin-node": "^11.1.0",
|
|
47
|
+
"eslint-plugin-prettier": "^3.4.0",
|
|
48
|
+
"eslint-plugin-promise": "^5.1.0",
|
|
49
|
+
"prettier": "2.3.1",
|
|
50
|
+
"typescript": "5.4.2",
|
|
51
|
+
"tsc-watch": "^4.6.2"
|
|
52
|
+
}
|
|
53
|
+
}
|