visura-parser 0.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/LICENSE +21 -0
- package/README.md +113 -0
- package/dist/errors.d.ts +6 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +9 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/extract-pdf.d.ts +3 -0
- package/dist/internal/extract-pdf.d.ts.map +1 -0
- package/dist/internal/extract-pdf.js +114 -0
- package/dist/internal/extract-pdf.js.map +1 -0
- package/dist/internal/join-pages.d.ts +7 -0
- package/dist/internal/join-pages.d.ts.map +1 -0
- package/dist/internal/join-pages.js +37 -0
- package/dist/internal/join-pages.js.map +1 -0
- package/dist/internal/map-document.d.ts +4 -0
- package/dist/internal/map-document.d.ts.map +1 -0
- package/dist/internal/map-document.js +113 -0
- package/dist/internal/map-document.js.map +1 -0
- package/dist/internal/model.d.ts +20 -0
- package/dist/internal/model.d.ts.map +1 -0
- package/dist/internal/model.js +2 -0
- package/dist/internal/model.js.map +1 -0
- package/dist/internal/parse-capital.d.ts +5 -0
- package/dist/internal/parse-capital.d.ts.map +1 -0
- package/dist/internal/parse-capital.js +76 -0
- package/dist/internal/parse-capital.js.map +1 -0
- package/dist/internal/parse-classifications.d.ts +5 -0
- package/dist/internal/parse-classifications.d.ts.map +1 -0
- package/dist/internal/parse-classifications.js +40 -0
- package/dist/internal/parse-classifications.js.map +1 -0
- package/dist/internal/parse-document.d.ts +5 -0
- package/dist/internal/parse-document.d.ts.map +1 -0
- package/dist/internal/parse-document.js +385 -0
- package/dist/internal/parse-document.js.map +1 -0
- package/dist/internal/parse-people.d.ts +9 -0
- package/dist/internal/parse-people.d.ts.map +1 -0
- package/dist/internal/parse-people.js +231 -0
- package/dist/internal/parse-people.js.map +1 -0
- package/dist/internal/text.d.ts +12 -0
- package/dist/internal/text.d.ts.map +1 -0
- package/dist/internal/text.js +99 -0
- package/dist/internal/text.js.map +1 -0
- package/dist/internal/values.d.ts +5 -0
- package/dist/internal/values.d.ts.map +1 -0
- package/dist/internal/values.js +64 -0
- package/dist/internal/values.js.map +1 -0
- package/dist/parse-visura.d.ts +3 -0
- package/dist/parse-visura.d.ts.map +1 -0
- package/dist/parse-visura.js +17 -0
- package/dist/parse-visura.js.map +1 -0
- package/dist/types.d.ts +180 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +73 -0
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/** Primary representative or senior officer displayed in the report summary, when present. */
|
|
2
|
+
export interface Representative {
|
|
3
|
+
/** Name of the person as reported in the source document. */
|
|
4
|
+
name?: string;
|
|
5
|
+
/** Official role as reported in the source document, e.g. 'PRESIDENTE CONSIGLIO AMMINISTRAZIONE', 'AMMINISTRATORE UNICO' or 'AMMINISTRATORE DELEGATO'. */
|
|
6
|
+
role?: string;
|
|
7
|
+
}
|
|
8
|
+
/** Structured registry data. */
|
|
9
|
+
export interface AtecoClassification {
|
|
10
|
+
/** ATECO or ATECORI classification code. */
|
|
11
|
+
code?: string;
|
|
12
|
+
/** Official activity description associated with the classification code. */
|
|
13
|
+
description?: string;
|
|
14
|
+
/** Official classification qualifier as reported in the source document, when available, e.g. 'prevalente' or 'primaria'. */
|
|
15
|
+
importance?: string;
|
|
16
|
+
}
|
|
17
|
+
/** Information about the entity's registered business activities. */
|
|
18
|
+
export interface Activity {
|
|
19
|
+
/** Official activity status as reported by the Business Register, e.g. 'ATTIVA', 'INATTIVA', 'SOSPESA' or 'CESSATA'. */
|
|
20
|
+
status?: string;
|
|
21
|
+
/** Date on which the registered business activity started. */
|
|
22
|
+
startDate?: string;
|
|
23
|
+
/** Official description of the primary or prevailing business activity as reported in the source document. */
|
|
24
|
+
primaryActivity?: string;
|
|
25
|
+
/** Primary Italian ATECO classification code associated with the registered activity. */
|
|
26
|
+
atecoCode?: string;
|
|
27
|
+
/** European NACE classification code associated with the registered activity, when reported. */
|
|
28
|
+
naceCode?: string;
|
|
29
|
+
/** ATECO or ATECORI classifications reported for the entity. */
|
|
30
|
+
atecoClassifications?: AtecoClassification[];
|
|
31
|
+
/** Official information concerning import or export activity as reported in the source document. */
|
|
32
|
+
importExportActivity?: string;
|
|
33
|
+
/** Official information concerning participation in a business network agreement (contratto di rete). */
|
|
34
|
+
networkContract?: string;
|
|
35
|
+
/** Professional registers, rolls, licences, authorisations or similar registrations reported for the entity. */
|
|
36
|
+
licensesAndRegistrations?: string[];
|
|
37
|
+
/** Environmental registers or environmental professional rolls in which the entity is registered. */
|
|
38
|
+
environmentalRegistrations?: string[];
|
|
39
|
+
}
|
|
40
|
+
/** Registered share capital information. */
|
|
41
|
+
export interface ShareCapital {
|
|
42
|
+
/** Currency used for share capital amounts, usually 'EUR'. */
|
|
43
|
+
currency?: string;
|
|
44
|
+
/** Share capital formally resolved or approved by the shareholders (capitale deliberato). */
|
|
45
|
+
authorized?: number;
|
|
46
|
+
/** Share capital formally subscribed by shareholders or members (capitale sottoscritto). */
|
|
47
|
+
subscribed?: number;
|
|
48
|
+
/** Subscribed share capital that has actually been paid or contributed (capitale versato). */
|
|
49
|
+
paidUp?: number;
|
|
50
|
+
}
|
|
51
|
+
/** Employee information reported in the business registry. */
|
|
52
|
+
export interface Employees {
|
|
53
|
+
/** Number of employees or workers reported for the entity. */
|
|
54
|
+
count?: number;
|
|
55
|
+
/** Reference date associated with the employee count. */
|
|
56
|
+
referenceDate?: string;
|
|
57
|
+
}
|
|
58
|
+
/** Summary figures typically reported in the 'L'impresa in cifre' section. */
|
|
59
|
+
export interface CompanySummary {
|
|
60
|
+
/** Number of shareholders or members reported for the entity. */
|
|
61
|
+
shareholdersCount?: number;
|
|
62
|
+
/** Number of directors or administrators reported for the entity. */
|
|
63
|
+
directorsCount?: number;
|
|
64
|
+
/** Number of persons holding registered corporate offices or appointments. */
|
|
65
|
+
officeHoldersCount?: number;
|
|
66
|
+
/** Number of registered local business units. */
|
|
67
|
+
localUnitsCount?: number;
|
|
68
|
+
/** Number of filings submitted to the Business Register during the previous twelve months. */
|
|
69
|
+
filingsLast12Months?: number;
|
|
70
|
+
/** Number of registered transfers of shares or ownership interests. */
|
|
71
|
+
shareTransfersCount?: number;
|
|
72
|
+
/** Number of registered transfers of the entity's registered office. */
|
|
73
|
+
registeredOfficeTransfersCount?: number;
|
|
74
|
+
/** Whether the entity is reported as holding equity interests or participations in other entities. */
|
|
75
|
+
hasEquityInterests?: boolean;
|
|
76
|
+
}
|
|
77
|
+
/** Summary of filings recorded in the Italian Business Register. */
|
|
78
|
+
export interface BusinessRegisterFilings {
|
|
79
|
+
/** Number of Business Register filings reported for the indicated period. */
|
|
80
|
+
count?: number;
|
|
81
|
+
/** Start date of the period used for the reported filing count, when specified. */
|
|
82
|
+
sinceDate?: string;
|
|
83
|
+
}
|
|
84
|
+
/** Qualifications and certifications reported for the entity. */
|
|
85
|
+
export interface Certifications {
|
|
86
|
+
/** SOA qualifications or certifications reported for the entity. */
|
|
87
|
+
soa?: string[];
|
|
88
|
+
/** Quality-related certifications reported for the entity. */
|
|
89
|
+
quality?: string[];
|
|
90
|
+
}
|
|
91
|
+
/** Documents reported as available for consultation from the Business Register. */
|
|
92
|
+
export interface AvailableDocuments {
|
|
93
|
+
/** Whether the company registry file (fascicolo) is available for consultation. */
|
|
94
|
+
companyFileAvailable?: boolean;
|
|
95
|
+
/** Whether the current articles of association or statute (statuto) are available for consultation. */
|
|
96
|
+
articlesOfAssociationAvailable?: boolean;
|
|
97
|
+
/** Number of other registered corporate acts available for consultation. */
|
|
98
|
+
otherActsCount?: number;
|
|
99
|
+
/** Financial years for which filed annual financial statements are available. */
|
|
100
|
+
financialStatementYears?: number[];
|
|
101
|
+
}
|
|
102
|
+
/** Structured registry data. */
|
|
103
|
+
export interface Officer {
|
|
104
|
+
/** Name of the person as reported in the source document. */
|
|
105
|
+
name?: string;
|
|
106
|
+
/** Italian tax identification code of the person, when reported. */
|
|
107
|
+
taxCode?: string;
|
|
108
|
+
/** Official corporate roles held by the person, preserved as reported in the source document. */
|
|
109
|
+
roles?: string[];
|
|
110
|
+
}
|
|
111
|
+
/** Structured registry data. */
|
|
112
|
+
export interface Shareholder {
|
|
113
|
+
/** Name or registered name of the shareholder or member. */
|
|
114
|
+
name?: string;
|
|
115
|
+
/** Italian tax identification code of the shareholder or member, when reported. */
|
|
116
|
+
taxCode?: string;
|
|
117
|
+
/** Official type of right over the shares or ownership interest as reported in the source document, e.g. 'PROPRIETA'', 'USUFRUTTO' or 'NUDA PROPRIETA''. */
|
|
118
|
+
rightType?: string;
|
|
119
|
+
/** Nominal value of the shares, quotas or ownership interest held. */
|
|
120
|
+
nominalValue?: number;
|
|
121
|
+
/** Currency used for the nominal value, usually 'EUR'. */
|
|
122
|
+
currency?: string;
|
|
123
|
+
/** Percentage of the entity's share capital or ownership interest represented by the holding, when determinable. */
|
|
124
|
+
ownershipPercentage?: number;
|
|
125
|
+
/** Whether the person or entity is identified as the sole shareholder or sole member. */
|
|
126
|
+
isSoleShareholder?: boolean;
|
|
127
|
+
}
|
|
128
|
+
/** Structured data extracted from an Italian Chamber of Commerce business registry report (visura camerale). Property names are normalized in English, while official registry values and source terminology are preserved in Italian where appropriate. */
|
|
129
|
+
export interface VisuraDocument {
|
|
130
|
+
/** Name of the source document. */
|
|
131
|
+
filename?: string;
|
|
132
|
+
/** Official type of business registry report as stated in the source document, e.g. 'Visura Ordinaria', 'Visura Storica' or 'Visura di Evasione'. */
|
|
133
|
+
reportType?: string;
|
|
134
|
+
/** Registered legal name or business name of the entity. */
|
|
135
|
+
companyName?: string;
|
|
136
|
+
/** Registered office address as reported in the business registry. */
|
|
137
|
+
registeredOfficeAddress?: string;
|
|
138
|
+
/** Registered certified electronic mail address (PEC) of the entity. */
|
|
139
|
+
certifiedEmail?: string;
|
|
140
|
+
/** REA registration number assigned by the competent Chamber of Commerce. */
|
|
141
|
+
reaNumber?: string;
|
|
142
|
+
/** Italian tax identification code (codice fiscale) of the entity. */
|
|
143
|
+
taxCode?: string;
|
|
144
|
+
/** Italian VAT identification number (partita IVA) of the entity. */
|
|
145
|
+
vatNumber?: string;
|
|
146
|
+
/** Legal Entity Identifier (LEI), when available. */
|
|
147
|
+
leiCode?: string;
|
|
148
|
+
/** Official legal form as reported in the source document, e.g. 'SOCIETA' A RESPONSABILITA' LIMITATA'. */
|
|
149
|
+
legalForm?: string;
|
|
150
|
+
/** Date of the deed of incorporation or establishment of the entity. */
|
|
151
|
+
incorporationDate?: string;
|
|
152
|
+
/** Date on which the entity was registered with the Italian Business Register (Registro delle Imprese). */
|
|
153
|
+
registrationDate?: string;
|
|
154
|
+
/** Date of the most recent protocol or filing recorded in the Business Register. */
|
|
155
|
+
lastProtocolDate?: string;
|
|
156
|
+
/** Primary representative or senior officer displayed in the report summary, when present. */
|
|
157
|
+
primaryRepresentative?: Representative;
|
|
158
|
+
/** Information about the entity's registered business activities. */
|
|
159
|
+
activity?: Activity;
|
|
160
|
+
/** Registered share capital information. */
|
|
161
|
+
shareCapital?: ShareCapital;
|
|
162
|
+
/** Employee information reported in the business registry. */
|
|
163
|
+
employees?: Employees;
|
|
164
|
+
/** Summary figures typically reported in the 'L'impresa in cifre' section. */
|
|
165
|
+
companySummary?: CompanySummary;
|
|
166
|
+
/** Summary of filings recorded in the Italian Business Register. */
|
|
167
|
+
businessRegisterFilings?: BusinessRegisterFilings;
|
|
168
|
+
/** Qualifications and certifications reported for the entity. */
|
|
169
|
+
certifications?: Certifications;
|
|
170
|
+
/** Documents reported as available for consultation from the Business Register. */
|
|
171
|
+
availableDocuments?: AvailableDocuments;
|
|
172
|
+
/** Persons holding registered corporate offices, governance roles or control functions. */
|
|
173
|
+
officers?: Officer[];
|
|
174
|
+
/** Persons or entities holding shares, quotas or membership interests in the entity. */
|
|
175
|
+
shareholders?: Shareholder[];
|
|
176
|
+
}
|
|
177
|
+
export interface ParseVisuraOptions {
|
|
178
|
+
filename?: string;
|
|
179
|
+
}
|
|
180
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,MAAM,WAAW,cAAc;IAC7B,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0JAA0J;IAC1J,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,gCAAgC;AAChC,MAAM,WAAW,mBAAmB;IAClC,4CAA4C;IAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6HAA6H;IAC7H,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qEAAqE;AACrE,MAAM,WAAW,QAAQ;IACvB,wHAAwH;IACxH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8GAA8G;IAC9G,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yFAAyF;IACzF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gGAAgG;IAChG,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,oBAAoB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC7C,oGAAoG;IACpG,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,yGAAyG;IACzG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gHAAgH;IAChH,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IACpC,qGAAqG;IACrG,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAC;CACvC;AAED,4CAA4C;AAC5C,MAAM,WAAW,YAAY;IAC3B,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,C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;IACjB,0GAA0G;IAC1G,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2GAA2G;IAC3G,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8FAA8F;IAC9F,qBAAqB,CAAC,EAAE,cAAc,CAAC;IACvC,qEAAqE;IACrE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,4CAA4C;IAC5C,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,8DAA8D;IAC9D,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,8EAA8E;IAC9E,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,oEAAoE;IACpE,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAClD,iEAAiE;IACjE,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,mFAAmF;IACnF,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,wFAAwF;IACxF,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "visura-parser",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Deterministic parsing of text-based Italian Visura camerale PDFs",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"camera-di-commercio",
|
|
7
|
+
"italy",
|
|
8
|
+
"pdf",
|
|
9
|
+
"parser",
|
|
10
|
+
"typescript",
|
|
11
|
+
"visura-camerale"
|
|
12
|
+
],
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/LorenzoYeKai/visura-parser.git"
|
|
17
|
+
},
|
|
18
|
+
"type": "module",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"README.md"
|
|
24
|
+
],
|
|
25
|
+
"main": "./dist/index.js",
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"import": "./dist/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./package.json": "./package.json"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=20"
|
|
36
|
+
},
|
|
37
|
+
"packageManager": "bun@1.3.12",
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsc -p tsconfig.build.json",
|
|
40
|
+
"changeset": "changeset",
|
|
41
|
+
"check": "bun run lint && bun run format:check && bun run typecheck && bun run test && bun run build && bun run package:check",
|
|
42
|
+
"corpus:check": "bun run scripts/check-corpus.ts",
|
|
43
|
+
"format": "prettier --write .",
|
|
44
|
+
"format:check": "prettier --check .",
|
|
45
|
+
"lint": "eslint .",
|
|
46
|
+
"package:check": "publint && attw --pack . --profile esm-only",
|
|
47
|
+
"parse": "bun run scripts/parse.ts",
|
|
48
|
+
"prepublishOnly": "bun run check",
|
|
49
|
+
"release": "changeset publish",
|
|
50
|
+
"runtime:check": "node scripts/check-node-runtime.mjs",
|
|
51
|
+
"test": "vitest run",
|
|
52
|
+
"test:coverage": "vitest run --coverage",
|
|
53
|
+
"test:watch": "vitest",
|
|
54
|
+
"typecheck": "tsc -p tsconfig.json"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
58
|
+
"@changesets/cli": "^3.0.1",
|
|
59
|
+
"@eslint/js": "^10.0.1",
|
|
60
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
61
|
+
"ajv": "8.17.1",
|
|
62
|
+
"ajv-formats": "3.0.1",
|
|
63
|
+
"eslint": "^10.9.1",
|
|
64
|
+
"prettier": "^3.9.6",
|
|
65
|
+
"publint": "^0.3.24",
|
|
66
|
+
"typescript": "^5.9.3",
|
|
67
|
+
"typescript-eslint": "^8.69.0",
|
|
68
|
+
"vitest": "^5.0.0"
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"pdfjs-dist": "4.10.38"
|
|
72
|
+
}
|
|
73
|
+
}
|