@budiauktioner/buildi-primitives 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/CHANGELOG.md +51 -0
- package/LICENSE +21 -0
- package/README.md +253 -0
- package/THIRD_PARTY_NOTICES.md +52 -0
- package/dist/banking/index.cjs +6491 -0
- package/dist/banking/index.cjs.map +1 -0
- package/dist/banking/index.d.cts +58 -0
- package/dist/banking/index.d.ts +58 -0
- package/dist/banking/index.js +6464 -0
- package/dist/banking/index.js.map +1 -0
- package/dist/contact/index.cjs +6678 -0
- package/dist/contact/index.cjs.map +1 -0
- package/dist/contact/index.d.cts +709 -0
- package/dist/contact/index.d.ts +709 -0
- package/dist/contact/index.js +6586 -0
- package/dist/contact/index.js.map +1 -0
- package/dist/country-BhD51LDL.d.cts +433 -0
- package/dist/country-p0n0EVQ9.d.ts +433 -0
- package/dist/finance/index.cjs +3592 -0
- package/dist/finance/index.cjs.map +1 -0
- package/dist/finance/index.d.cts +83 -0
- package/dist/finance/index.d.ts +83 -0
- package/dist/finance/index.js +3584 -0
- package/dist/finance/index.js.map +1 -0
- package/dist/geography/index.cjs +4227 -0
- package/dist/geography/index.cjs.map +1 -0
- package/dist/geography/index.d.cts +34 -0
- package/dist/geography/index.d.ts +34 -0
- package/dist/geography/index.js +4202 -0
- package/dist/geography/index.js.map +1 -0
- package/dist/index.cjs +14087 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +75 -0
- package/dist/index.d.ts +75 -0
- package/dist/index.js +13868 -0
- package/dist/index.js.map +1 -0
- package/dist/isin-EeVPpNWu.d.ts +39 -0
- package/dist/isin-ZlQLBVm8.d.cts +39 -0
- package/dist/organization/index.cjs +2376 -0
- package/dist/organization/index.cjs.map +1 -0
- package/dist/organization/index.d.cts +117 -0
- package/dist/organization/index.d.ts +117 -0
- package/dist/organization/index.js +2346 -0
- package/dist/organization/index.js.map +1 -0
- package/dist/person/index.cjs +1144 -0
- package/dist/person/index.cjs.map +1 -0
- package/dist/person/index.d.cts +60 -0
- package/dist/person/index.d.ts +60 -0
- package/dist/person/index.js +1125 -0
- package/dist/person/index.js.map +1 -0
- package/dist/person-full-name-Cmc9Ynuc.d.cts +82 -0
- package/dist/person-full-name-D6Hbsab6.d.ts +82 -0
- package/dist/phone-number-C24--ggy.d.ts +139 -0
- package/dist/phone-number-DZ-YxCQQ.d.cts +139 -0
- package/dist/property/index.cjs +487 -0
- package/dist/property/index.cjs.map +1 -0
- package/dist/property/index.d.cts +56 -0
- package/dist/property/index.d.ts +56 -0
- package/dist/property/index.js +480 -0
- package/dist/property/index.js.map +1 -0
- package/dist/sample-data/index.cjs +12310 -0
- package/dist/sample-data/index.cjs.map +1 -0
- package/dist/sample-data/index.d.cts +260 -0
- package/dist/sample-data/index.d.ts +260 -0
- package/dist/sample-data/index.js +12302 -0
- package/dist/sample-data/index.js.map +1 -0
- package/dist/swedish-address-DNC3ftRF.d.cts +297 -0
- package/dist/swedish-address-GMzjqgxb.d.ts +297 -0
- package/dist/swedish-bank-account-holder-name-BFJ8h1aO.d.cts +45 -0
- package/dist/swedish-bank-account-holder-name-CAAru07F.d.ts +45 -0
- package/dist/swedish-municipality-DlUS7g7h.d.cts +87 -0
- package/dist/swedish-municipality-nDRHYRAd.d.ts +87 -0
- package/dist/swedish-organization-name-D7NvERxA.d.cts +33 -0
- package/dist/swedish-organization-name-rR0Q836C.d.ts +33 -0
- package/dist/swedish-organization-number-Bcj7V_lh.d.cts +130 -0
- package/dist/swedish-organization-number-DM8dpXwR.d.ts +130 -0
- package/dist/swedish-organization-type-CZOdETwG.d.cts +29 -0
- package/dist/swedish-organization-type-CZOdETwG.d.ts +29 -0
- package/dist/swedish-personal-identity-number-BiIg4io3.d.ts +149 -0
- package/dist/swedish-personal-identity-number-Cp9Coz55.d.cts +149 -0
- package/dist/swedish-property-designation-BM-gdd9x.d.ts +46 -0
- package/dist/swedish-property-designation-BaHXufqV.d.cts +46 -0
- package/dist/swedish-sni-code-Ccsswpni.d.ts +53 -0
- package/dist/swedish-sni-code-CuJFyM6l.d.cts +53 -0
- package/dist/swedish-swish-number-CL6Gx_h3.d.cts +397 -0
- package/dist/swedish-swish-number-DDG3mNDg.d.ts +397 -0
- package/dist/text-candidate-qg2bD9PY.d.cts +110 -0
- package/dist/text-candidate-qg2bD9PY.d.ts +110 -0
- package/dist/text-scanning/index.cjs +10414 -0
- package/dist/text-scanning/index.cjs.map +1 -0
- package/dist/text-scanning/index.d.cts +153 -0
- package/dist/text-scanning/index.d.ts +153 -0
- package/dist/text-scanning/index.js +10406 -0
- package/dist/text-scanning/index.js.map +1 -0
- package/dist/validation/index.cjs +83 -0
- package/dist/validation/index.cjs.map +1 -0
- package/dist/validation/index.d.cts +63 -0
- package/dist/validation/index.d.ts +63 -0
- package/dist/validation/index.js +79 -0
- package/dist/validation/index.js.map +1 -0
- package/dist/web/index.cjs +3994 -0
- package/dist/web/index.cjs.map +1 -0
- package/dist/web/index.d.cts +203 -0
- package/dist/web/index.d.ts +203 -0
- package/dist/web/index.js +3987 -0
- package/dist/web/index.js.map +1 -0
- package/package.json +211 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { d as SwedishBankgiroNumber, f as SwedishPostgiroNumber, e as SwedishOcrReferenceNumber, I as Iban, b as SwedishBankAccount, B as Bic } from '../swedish-swish-number-CL6Gx_h3.cjs';
|
|
2
|
+
export { O as OcrReferenceControlType, a as OcrReferenceOptions, S as SwedishBank, c as SwedishBankClearingNumber, g as SwedishSwishNumber, h as getBankgirotUrl, m as maskBic, i as maskIban, j as maskSwedishBankAccount, k as maskSwedishBankClearingNumber, l as maskSwedishBankgiroNumber, n as maskSwedishOcrReferenceNumber, o as maskSwedishPostgiroNumber, p as maskSwedishSwishNumber } from '../swedish-swish-number-CL6Gx_h3.cjs';
|
|
3
|
+
export { B as BankAccountHolderType, S as SwedishBankAccountHolderName, m as maskSwedishBankAccountHolderName } from '../swedish-bank-account-holder-name-BFJ8h1aO.cjs';
|
|
4
|
+
import '../text-candidate-qg2bD9PY.cjs';
|
|
5
|
+
import '../validation/index.cjs';
|
|
6
|
+
import '../phone-number-DZ-YxCQQ.cjs';
|
|
7
|
+
import '../country-BhD51LDL.cjs';
|
|
8
|
+
import '../person-full-name-Cmc9Ynuc.cjs';
|
|
9
|
+
import '../swedish-organization-name-D7NvERxA.cjs';
|
|
10
|
+
import '../swedish-organization-type-CZOdETwG.cjs';
|
|
11
|
+
|
|
12
|
+
declare const SwedishBankingNumberType: {
|
|
13
|
+
readonly Unknown: "Unknown";
|
|
14
|
+
readonly SwedishBankgiroNumber: "SwedishBankgiroNumber";
|
|
15
|
+
readonly SwedishPostgiroNumber: "SwedishPostgiroNumber";
|
|
16
|
+
readonly SwedishOcrReferenceNumber: "SwedishOcrReferenceNumber";
|
|
17
|
+
readonly Iban: "Iban";
|
|
18
|
+
readonly SwedishBankAccount: "SwedishBankAccount";
|
|
19
|
+
readonly Bic: "Bic";
|
|
20
|
+
};
|
|
21
|
+
type SwedishBankingNumberType = (typeof SwedishBankingNumberType)[keyof typeof SwedishBankingNumberType];
|
|
22
|
+
/**
|
|
23
|
+
* Parsed banking identifier result from the unified banking parser.
|
|
24
|
+
* The type field indicates which typed value (if any) was successfully parsed.
|
|
25
|
+
*/
|
|
26
|
+
declare class SwedishBankingNumber {
|
|
27
|
+
readonly type: SwedishBankingNumberType;
|
|
28
|
+
readonly normalizedValue: string;
|
|
29
|
+
readonly swedishBankgiroNumber: SwedishBankgiroNumber | null;
|
|
30
|
+
readonly swedishPostgiroNumber: SwedishPostgiroNumber | null;
|
|
31
|
+
readonly swedishOcrReferenceNumber: SwedishOcrReferenceNumber | null;
|
|
32
|
+
readonly iban: Iban | null;
|
|
33
|
+
readonly swedishBankAccount: SwedishBankAccount | null;
|
|
34
|
+
readonly bic: Bic | null;
|
|
35
|
+
/** @internal */
|
|
36
|
+
constructor(init: {
|
|
37
|
+
type: SwedishBankingNumberType;
|
|
38
|
+
normalizedValue: string;
|
|
39
|
+
swedishBankgiroNumber?: SwedishBankgiroNumber | null;
|
|
40
|
+
swedishPostgiroNumber?: SwedishPostgiroNumber | null;
|
|
41
|
+
swedishOcrReferenceNumber?: SwedishOcrReferenceNumber | null;
|
|
42
|
+
iban?: Iban | null;
|
|
43
|
+
swedishBankAccount?: SwedishBankAccount | null;
|
|
44
|
+
bic?: Bic | null;
|
|
45
|
+
});
|
|
46
|
+
static unknown(): SwedishBankingNumber;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* A unified parser for common banking identifiers used in Swedish payment flows.
|
|
50
|
+
* Attempts to classify input as Bankgiro, Plusgiro, OCR reference, BIC, IBAN,
|
|
51
|
+
* or Swedish bank account.
|
|
52
|
+
*/
|
|
53
|
+
declare class SwedishBankingNumberParser {
|
|
54
|
+
static tryParse(input: string | null | undefined): SwedishBankingNumber | null;
|
|
55
|
+
static parse(input: string): SwedishBankingNumber;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { Bic, Iban, SwedishBankAccount, SwedishBankgiroNumber, SwedishBankingNumber, SwedishBankingNumberParser, SwedishBankingNumberType, SwedishOcrReferenceNumber, SwedishPostgiroNumber };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { d as SwedishBankgiroNumber, f as SwedishPostgiroNumber, e as SwedishOcrReferenceNumber, I as Iban, b as SwedishBankAccount, B as Bic } from '../swedish-swish-number-DDG3mNDg.js';
|
|
2
|
+
export { O as OcrReferenceControlType, a as OcrReferenceOptions, S as SwedishBank, c as SwedishBankClearingNumber, g as SwedishSwishNumber, h as getBankgirotUrl, m as maskBic, i as maskIban, j as maskSwedishBankAccount, k as maskSwedishBankClearingNumber, l as maskSwedishBankgiroNumber, n as maskSwedishOcrReferenceNumber, o as maskSwedishPostgiroNumber, p as maskSwedishSwishNumber } from '../swedish-swish-number-DDG3mNDg.js';
|
|
3
|
+
export { B as BankAccountHolderType, S as SwedishBankAccountHolderName, m as maskSwedishBankAccountHolderName } from '../swedish-bank-account-holder-name-CAAru07F.js';
|
|
4
|
+
import '../text-candidate-qg2bD9PY.js';
|
|
5
|
+
import '../validation/index.js';
|
|
6
|
+
import '../phone-number-C24--ggy.js';
|
|
7
|
+
import '../country-p0n0EVQ9.js';
|
|
8
|
+
import '../person-full-name-D6Hbsab6.js';
|
|
9
|
+
import '../swedish-organization-name-rR0Q836C.js';
|
|
10
|
+
import '../swedish-organization-type-CZOdETwG.js';
|
|
11
|
+
|
|
12
|
+
declare const SwedishBankingNumberType: {
|
|
13
|
+
readonly Unknown: "Unknown";
|
|
14
|
+
readonly SwedishBankgiroNumber: "SwedishBankgiroNumber";
|
|
15
|
+
readonly SwedishPostgiroNumber: "SwedishPostgiroNumber";
|
|
16
|
+
readonly SwedishOcrReferenceNumber: "SwedishOcrReferenceNumber";
|
|
17
|
+
readonly Iban: "Iban";
|
|
18
|
+
readonly SwedishBankAccount: "SwedishBankAccount";
|
|
19
|
+
readonly Bic: "Bic";
|
|
20
|
+
};
|
|
21
|
+
type SwedishBankingNumberType = (typeof SwedishBankingNumberType)[keyof typeof SwedishBankingNumberType];
|
|
22
|
+
/**
|
|
23
|
+
* Parsed banking identifier result from the unified banking parser.
|
|
24
|
+
* The type field indicates which typed value (if any) was successfully parsed.
|
|
25
|
+
*/
|
|
26
|
+
declare class SwedishBankingNumber {
|
|
27
|
+
readonly type: SwedishBankingNumberType;
|
|
28
|
+
readonly normalizedValue: string;
|
|
29
|
+
readonly swedishBankgiroNumber: SwedishBankgiroNumber | null;
|
|
30
|
+
readonly swedishPostgiroNumber: SwedishPostgiroNumber | null;
|
|
31
|
+
readonly swedishOcrReferenceNumber: SwedishOcrReferenceNumber | null;
|
|
32
|
+
readonly iban: Iban | null;
|
|
33
|
+
readonly swedishBankAccount: SwedishBankAccount | null;
|
|
34
|
+
readonly bic: Bic | null;
|
|
35
|
+
/** @internal */
|
|
36
|
+
constructor(init: {
|
|
37
|
+
type: SwedishBankingNumberType;
|
|
38
|
+
normalizedValue: string;
|
|
39
|
+
swedishBankgiroNumber?: SwedishBankgiroNumber | null;
|
|
40
|
+
swedishPostgiroNumber?: SwedishPostgiroNumber | null;
|
|
41
|
+
swedishOcrReferenceNumber?: SwedishOcrReferenceNumber | null;
|
|
42
|
+
iban?: Iban | null;
|
|
43
|
+
swedishBankAccount?: SwedishBankAccount | null;
|
|
44
|
+
bic?: Bic | null;
|
|
45
|
+
});
|
|
46
|
+
static unknown(): SwedishBankingNumber;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* A unified parser for common banking identifiers used in Swedish payment flows.
|
|
50
|
+
* Attempts to classify input as Bankgiro, Plusgiro, OCR reference, BIC, IBAN,
|
|
51
|
+
* or Swedish bank account.
|
|
52
|
+
*/
|
|
53
|
+
declare class SwedishBankingNumberParser {
|
|
54
|
+
static tryParse(input: string | null | undefined): SwedishBankingNumber | null;
|
|
55
|
+
static parse(input: string): SwedishBankingNumber;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { Bic, Iban, SwedishBankAccount, SwedishBankgiroNumber, SwedishBankingNumber, SwedishBankingNumberParser, SwedishBankingNumberType, SwedishOcrReferenceNumber, SwedishPostgiroNumber };
|