@przeslijmi/real-fake-data-playwright 0.1.0 → 1.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/README.md +287 -22
- package/dist/fake-data.d.ts +209 -12
- package/dist/fake-data.d.ts.map +1 -1
- package/dist/fake-data.js +256 -8
- package/dist/fake-data.js.map +1 -1
- package/dist/fixture.d.ts +1 -1
- package/dist/fixture.d.ts.map +1 -1
- package/dist/providers/cloud-provider.d.ts +1 -1
- package/dist/providers/cloud-provider.d.ts.map +1 -1
- package/dist/types.d.ts +965 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +20 -18
package/dist/types.d.ts
CHANGED
|
@@ -5,12 +5,22 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/** Sex marker used by the PESEL and person generators. */
|
|
7
7
|
export type Sex = 'm' | 'f';
|
|
8
|
+
/**
|
|
9
|
+
* ISO 3166 alpha-2 codes of the 27 EU countries that have `person-name` and
|
|
10
|
+
* `company-name` generators. Poland (`pl`) additionally has the full national
|
|
11
|
+
* generator set (PESEL, NIP, addresses, …).
|
|
12
|
+
*/
|
|
13
|
+
export type CountryCode = 'at' | 'be' | 'bg' | 'cy' | 'cz' | 'de' | 'dk' | 'ee' | 'es' | 'fi' | 'fr' | 'gr' | 'hr' | 'hu' | 'ie' | 'it' | 'lt' | 'lu' | 'lv' | 'mt' | 'nl' | 'pl' | 'pt' | 'ro' | 'se' | 'si' | 'sk';
|
|
8
14
|
/** A Polish legal form the company-name generator can append. */
|
|
9
|
-
export type PolishLegalForm = 'Sp. z o.o.' | 'Sp. z o.o. sp.k.' | 'S.A.' | 'Sp. j.' | 'Sp. k.' | 'S.C.';
|
|
15
|
+
export type PolishLegalForm = 'Sp. z o.o.' | 'Sp. z o.o. sp.k.' | 'P.S.A.' | 'S.A.' | 'Sp. j.' | 'Sp. k.' | 'S.C.';
|
|
10
16
|
/** Naming family the company-name generator drew from. */
|
|
11
17
|
export type CompanyNameStrategy = 'morpheme' | 'surname' | 'descriptive' | 'modern';
|
|
12
18
|
/** Kind of vehicle registration plate produced. */
|
|
13
19
|
export type VehicleRegistrationType = 'standard' | 'custom' | 'police' | 'military';
|
|
20
|
+
/** Local-part shape the email generator can produce. */
|
|
21
|
+
export type EmailLocalPattern = 'first.last' | 'firstlast' | 'first_last' | 'first.last.number' | 'flast' | 'initial.last' | 'noun.number';
|
|
22
|
+
/** Provider-domain category the email generator can draw from. */
|
|
23
|
+
export type EmailDomainCategory = 'free' | 'regional';
|
|
14
24
|
/**
|
|
15
25
|
* Per-call options shared by every method. A `seed` here overrides the
|
|
16
26
|
* fixture's automatic per-call seed for this one request.
|
|
@@ -59,6 +69,17 @@ export interface CompanyNameOptions extends RequestOptions {
|
|
|
59
69
|
readonly strategy?: CompanyNameStrategy | 'any';
|
|
60
70
|
readonly legalForm?: PolishLegalForm | 'any' | 'none';
|
|
61
71
|
readonly activityPrefix?: boolean;
|
|
72
|
+
/** Restrict output to edge-case names (punctuation-heavy families, long/rare forms). */
|
|
73
|
+
readonly edge?: boolean;
|
|
74
|
+
}
|
|
75
|
+
export interface CompanyOptions extends RequestOptions {
|
|
76
|
+
readonly strategy?: CompanyNameStrategy | 'any';
|
|
77
|
+
readonly legalForm?: PolishLegalForm | 'any' | 'none';
|
|
78
|
+
readonly activityPrefix?: boolean;
|
|
79
|
+
readonly format?: 'with-hyphens' | 'digits-only';
|
|
80
|
+
readonly invalid?: boolean;
|
|
81
|
+
/** Restrict output to edge-case values from the rare corners. */
|
|
82
|
+
readonly edge?: boolean;
|
|
62
83
|
}
|
|
63
84
|
export interface VehicleRegistrationOptions extends RequestOptions {
|
|
64
85
|
readonly type?: VehicleRegistrationType;
|
|
@@ -66,6 +87,64 @@ export interface VehicleRegistrationOptions extends RequestOptions {
|
|
|
66
87
|
readonly county?: string;
|
|
67
88
|
readonly format?: 'with-space' | 'compact';
|
|
68
89
|
}
|
|
90
|
+
export interface IdCardOptions extends RequestOptions {
|
|
91
|
+
readonly format?: 'compact' | 'with-space';
|
|
92
|
+
readonly invalid?: boolean;
|
|
93
|
+
/** Produce a card whose expiration date is in the past. */
|
|
94
|
+
readonly expired?: boolean;
|
|
95
|
+
}
|
|
96
|
+
export interface PassportOptions extends RequestOptions {
|
|
97
|
+
readonly format?: 'compact' | 'with-space';
|
|
98
|
+
readonly invalid?: boolean;
|
|
99
|
+
}
|
|
100
|
+
export interface KrsOptions extends RequestOptions {
|
|
101
|
+
readonly format?: 'padded' | 'plain';
|
|
102
|
+
}
|
|
103
|
+
export interface LandRegisterOptions extends RequestOptions {
|
|
104
|
+
readonly format?: 'with-slashes' | 'compact';
|
|
105
|
+
/** Restrict to a single court, by code (e.g. `WA1M`) or name substring. */
|
|
106
|
+
readonly court?: string;
|
|
107
|
+
readonly invalid?: boolean;
|
|
108
|
+
}
|
|
109
|
+
export interface DrivingLicenseOptions extends RequestOptions {
|
|
110
|
+
readonly format?: 'with-slashes' | 'compact';
|
|
111
|
+
/** Full 4-digit issue year, within the supported range. */
|
|
112
|
+
readonly year?: number;
|
|
113
|
+
}
|
|
114
|
+
export interface EmailOptions extends RequestOptions {
|
|
115
|
+
/** Pin an exact provider domain, e.g. `"gmail.com"`. */
|
|
116
|
+
readonly domain?: string;
|
|
117
|
+
/** Scope the weighted domain draw; ignored when `domain` is set. */
|
|
118
|
+
readonly domainCategory?: EmailDomainCategory | 'any';
|
|
119
|
+
/** Which local-part shape to produce, or `any` for a weighted-random one. */
|
|
120
|
+
readonly pattern?: EmailLocalPattern | 'any';
|
|
121
|
+
/**
|
|
122
|
+
* Plus-addressing (sub-addressing) tag: `true` always adds a random tag,
|
|
123
|
+
* `false` never, a string is used verbatim (`name+tag@…`). Omitted means
|
|
124
|
+
* the generator occasionally adds one.
|
|
125
|
+
*/
|
|
126
|
+
readonly plusTag?: boolean | string;
|
|
127
|
+
/** Opt in to the rarer-but-still-RFC-valid local-part characters. */
|
|
128
|
+
readonly exotic?: boolean;
|
|
129
|
+
}
|
|
130
|
+
export interface LoremOptions extends RequestOptions {
|
|
131
|
+
/**
|
|
132
|
+
* Size the text by a length unit. When more than one is given the most
|
|
133
|
+
* precise wins, in precedence `bytes` → `chars` → `words` → `paragraphs`;
|
|
134
|
+
* with none given a few paragraphs are returned. `bytes`/`chars` cut on an
|
|
135
|
+
* exact boundary (the final word may be clipped); `words`/`paragraphs` end
|
|
136
|
+
* on a whole sentence.
|
|
137
|
+
*/
|
|
138
|
+
readonly bytes?: number;
|
|
139
|
+
readonly chars?: number;
|
|
140
|
+
readonly words?: number;
|
|
141
|
+
readonly paragraphs?: number;
|
|
142
|
+
/**
|
|
143
|
+
* Begin with the canonical "Lorem ipsum dolor sit amet…" opening. Defaults
|
|
144
|
+
* to `true`; `false` starts from a random word.
|
|
145
|
+
*/
|
|
146
|
+
readonly startWithLorem?: boolean;
|
|
147
|
+
}
|
|
69
148
|
export interface PolishPeselData {
|
|
70
149
|
readonly value: string;
|
|
71
150
|
readonly birthDate: string;
|
|
@@ -114,6 +193,13 @@ export interface PolishCompanyNameData {
|
|
|
114
193
|
readonly legalForm: PolishLegalForm | null;
|
|
115
194
|
readonly strategy: CompanyNameStrategy;
|
|
116
195
|
}
|
|
196
|
+
export interface PolishCompanyData {
|
|
197
|
+
readonly name: string;
|
|
198
|
+
readonly legalForm: PolishLegalForm | null;
|
|
199
|
+
readonly nip: string;
|
|
200
|
+
readonly regon: string;
|
|
201
|
+
readonly krs: string | null;
|
|
202
|
+
}
|
|
117
203
|
export interface PolishVehicleRegistrationData {
|
|
118
204
|
readonly value: string;
|
|
119
205
|
readonly prefix: string;
|
|
@@ -122,4 +208,882 @@ export interface PolishVehicleRegistrationData {
|
|
|
122
208
|
readonly voivodeship?: string;
|
|
123
209
|
readonly county?: string;
|
|
124
210
|
}
|
|
211
|
+
export interface PolishIdCardData {
|
|
212
|
+
readonly value: string;
|
|
213
|
+
readonly series: string;
|
|
214
|
+
readonly number: string;
|
|
215
|
+
readonly expirationDate: string;
|
|
216
|
+
}
|
|
217
|
+
export interface PolishPassportData {
|
|
218
|
+
readonly value: string;
|
|
219
|
+
readonly series: string;
|
|
220
|
+
readonly number: string;
|
|
221
|
+
}
|
|
222
|
+
export interface PolishKrsData {
|
|
223
|
+
readonly value: string;
|
|
224
|
+
readonly number: number;
|
|
225
|
+
}
|
|
226
|
+
export interface PolishLandRegisterData {
|
|
227
|
+
readonly value: string;
|
|
228
|
+
readonly courtCode: string;
|
|
229
|
+
readonly number: string;
|
|
230
|
+
readonly checkDigit: string;
|
|
231
|
+
readonly court?: string;
|
|
232
|
+
}
|
|
233
|
+
export interface PolishDrivingLicenseData {
|
|
234
|
+
readonly value: string;
|
|
235
|
+
readonly serial: string;
|
|
236
|
+
readonly year: number;
|
|
237
|
+
readonly suffix: string;
|
|
238
|
+
}
|
|
239
|
+
export interface EmailData {
|
|
240
|
+
readonly value: string;
|
|
241
|
+
readonly localPart: string;
|
|
242
|
+
readonly domain: string;
|
|
243
|
+
readonly pattern: EmailLocalPattern;
|
|
244
|
+
readonly plusTag: string | null;
|
|
245
|
+
}
|
|
246
|
+
export interface LoremData {
|
|
247
|
+
readonly value: string;
|
|
248
|
+
readonly words: number;
|
|
249
|
+
readonly chars: number;
|
|
250
|
+
readonly bytes: number;
|
|
251
|
+
readonly paragraphs: number;
|
|
252
|
+
readonly startedWithLorem: boolean;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Options shared by every country's `person-name` generator (`dePersonName`,
|
|
256
|
+
* `itPersonName`, `plPersonName`, …). Only the underlying name pools and
|
|
257
|
+
* inflection rules differ between countries — the controls are identical.
|
|
258
|
+
*/
|
|
259
|
+
export interface PersonNameOptions extends RequestOptions {
|
|
260
|
+
/** Gendered form of the name (`m`/`f`). Omit for a random one. */
|
|
261
|
+
readonly sex?: Sex;
|
|
262
|
+
/**
|
|
263
|
+
* Bias toward edge-case name shapes — second given names, double-barrelled
|
|
264
|
+
* surnames, and minimal-length names become far more likely.
|
|
265
|
+
*/
|
|
266
|
+
readonly edge?: boolean;
|
|
267
|
+
/**
|
|
268
|
+
* Defaults to `true` (proper casing). Set `false` to deliberately mangle the
|
|
269
|
+
* casing of name and surname (all-lower, all-upper, or random); initials stay
|
|
270
|
+
* proper uppercase.
|
|
271
|
+
*/
|
|
272
|
+
readonly caseStrict?: boolean;
|
|
273
|
+
}
|
|
274
|
+
/** Options for the multi-country `personName` generator. */
|
|
275
|
+
export interface AnyPersonNameOptions extends PersonNameOptions {
|
|
276
|
+
/**
|
|
277
|
+
* ISO 3166 codes to draw each record from, e.g. `['pl', 'sk', 'it']`. Each
|
|
278
|
+
* record picks one country from the list at random. Omit to draw from all 27.
|
|
279
|
+
*/
|
|
280
|
+
readonly countries?: readonly CountryCode[];
|
|
281
|
+
}
|
|
282
|
+
/** One person name, shared shape across every country's `person-name` generator. */
|
|
283
|
+
export interface PersonNameData {
|
|
284
|
+
readonly name: string;
|
|
285
|
+
readonly surname: string;
|
|
286
|
+
readonly initials: string;
|
|
287
|
+
readonly sex: Sex;
|
|
288
|
+
}
|
|
289
|
+
/** A multi-country person name: the shared fields plus the country it came from. */
|
|
290
|
+
export interface AnyPersonNameData extends PersonNameData {
|
|
291
|
+
/** ISO 3166 alpha-2 code of the country this name was drawn from. */
|
|
292
|
+
readonly country: string;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Options shared by every country's `company-name` generator except Poland's
|
|
296
|
+
* (use {@link CompanyNameOptions} for `plCompanyName`, which has a typed
|
|
297
|
+
* Polish `legalForm`). `legalForm` values are country-specific, so they are
|
|
298
|
+
* typed loosely as `string` here — the API validates them per country.
|
|
299
|
+
*/
|
|
300
|
+
export interface LocaleCompanyNameOptions extends RequestOptions {
|
|
301
|
+
readonly strategy?: CompanyNameStrategy | 'any';
|
|
302
|
+
/** Country-specific legal form, `'any'` for weighted-random, or `'none'` to omit. */
|
|
303
|
+
readonly legalForm?: string;
|
|
304
|
+
/** Restrict output to edge-case names (punctuation-heavy families, long/rare forms). */
|
|
305
|
+
readonly edge?: boolean;
|
|
306
|
+
}
|
|
307
|
+
/** Options for the multi-country `companyName` generator (no `legalForm` — it is country-specific). */
|
|
308
|
+
export interface AnyCompanyNameOptions extends RequestOptions {
|
|
309
|
+
readonly strategy?: CompanyNameStrategy | 'any';
|
|
310
|
+
readonly edge?: boolean;
|
|
311
|
+
/**
|
|
312
|
+
* ISO 3166 codes to draw each record from, e.g. `['de', 'fr', 'it']`. Omit to
|
|
313
|
+
* draw from all 27.
|
|
314
|
+
*/
|
|
315
|
+
readonly countries?: readonly CountryCode[];
|
|
316
|
+
}
|
|
317
|
+
/** One company name, shared shape across every country's `company-name` generator. */
|
|
318
|
+
export interface LocaleCompanyNameData {
|
|
319
|
+
readonly value: string;
|
|
320
|
+
/** The appended legal form (e.g. `GmbH`, `S.r.l.`), or `null` when none was added. */
|
|
321
|
+
readonly legalForm: string | null;
|
|
322
|
+
readonly strategy: CompanyNameStrategy;
|
|
323
|
+
}
|
|
324
|
+
/** A multi-country company name: the shared fields plus the country it came from. */
|
|
325
|
+
export interface AnyCompanyNameData extends LocaleCompanyNameData {
|
|
326
|
+
/** ISO 3166 alpha-2 code of the country this name was drawn from. */
|
|
327
|
+
readonly country: string;
|
|
328
|
+
}
|
|
329
|
+
export interface FrSirenOptions extends RequestOptions {
|
|
330
|
+
readonly format?: 'siren' | 'siret' | 'vat';
|
|
331
|
+
readonly invalid?: boolean;
|
|
332
|
+
readonly edge?: boolean;
|
|
333
|
+
}
|
|
334
|
+
export interface FrSirenData {
|
|
335
|
+
readonly value: string;
|
|
336
|
+
readonly digits: string;
|
|
337
|
+
}
|
|
338
|
+
export interface FrNirOptions extends RequestOptions {
|
|
339
|
+
readonly sex?: Sex;
|
|
340
|
+
readonly olderThan?: number;
|
|
341
|
+
readonly youngerThan?: number;
|
|
342
|
+
readonly atAge?: number;
|
|
343
|
+
readonly bornOn?: string;
|
|
344
|
+
readonly bornBefore?: string;
|
|
345
|
+
readonly bornAfter?: string;
|
|
346
|
+
readonly invalid?: boolean;
|
|
347
|
+
readonly edge?: boolean;
|
|
348
|
+
}
|
|
349
|
+
export interface FrNirData {
|
|
350
|
+
readonly value: string;
|
|
351
|
+
readonly digits: string;
|
|
352
|
+
readonly sex: Sex;
|
|
353
|
+
readonly birthYear: number;
|
|
354
|
+
readonly birthMonth: number;
|
|
355
|
+
}
|
|
356
|
+
export interface AtSvnrOptions extends RequestOptions {
|
|
357
|
+
readonly olderThan?: number;
|
|
358
|
+
readonly youngerThan?: number;
|
|
359
|
+
readonly atAge?: number;
|
|
360
|
+
readonly bornOn?: string;
|
|
361
|
+
readonly bornBefore?: string;
|
|
362
|
+
readonly bornAfter?: string;
|
|
363
|
+
readonly invalid?: boolean;
|
|
364
|
+
readonly edge?: boolean;
|
|
365
|
+
}
|
|
366
|
+
export interface AtSvnrData {
|
|
367
|
+
readonly value: string;
|
|
368
|
+
readonly digits: string;
|
|
369
|
+
readonly birthDate: string;
|
|
370
|
+
}
|
|
371
|
+
export interface AtUidOptions extends RequestOptions {
|
|
372
|
+
readonly format?: 'national' | 'vat';
|
|
373
|
+
readonly invalid?: boolean;
|
|
374
|
+
readonly edge?: boolean;
|
|
375
|
+
}
|
|
376
|
+
export interface AtUidData {
|
|
377
|
+
readonly value: string;
|
|
378
|
+
readonly digits: string;
|
|
379
|
+
}
|
|
380
|
+
export interface AtFirmenbuchnummerOptions extends RequestOptions {
|
|
381
|
+
readonly invalid?: boolean;
|
|
382
|
+
readonly edge?: boolean;
|
|
383
|
+
}
|
|
384
|
+
export interface AtFirmenbuchnummerData {
|
|
385
|
+
readonly value: string;
|
|
386
|
+
readonly number: number;
|
|
387
|
+
readonly letter: string;
|
|
388
|
+
}
|
|
389
|
+
export interface AtSteuernummerOptions extends RequestOptions {
|
|
390
|
+
readonly edge?: boolean;
|
|
391
|
+
}
|
|
392
|
+
export interface AtSteuernummerData {
|
|
393
|
+
readonly value: string;
|
|
394
|
+
readonly digits: string;
|
|
395
|
+
}
|
|
396
|
+
export interface BeRijksregisternummerOptions extends RequestOptions {
|
|
397
|
+
readonly sex?: Sex;
|
|
398
|
+
readonly olderThan?: number;
|
|
399
|
+
readonly youngerThan?: number;
|
|
400
|
+
readonly atAge?: number;
|
|
401
|
+
readonly bornOn?: string;
|
|
402
|
+
readonly bornBefore?: string;
|
|
403
|
+
readonly bornAfter?: string;
|
|
404
|
+
readonly kind?: 'national' | 'bis';
|
|
405
|
+
readonly invalid?: boolean;
|
|
406
|
+
readonly edge?: boolean;
|
|
407
|
+
}
|
|
408
|
+
export interface BeRijksregisternummerData {
|
|
409
|
+
readonly value: string;
|
|
410
|
+
readonly digits: string;
|
|
411
|
+
readonly birthDate: string;
|
|
412
|
+
readonly sex: Sex;
|
|
413
|
+
}
|
|
414
|
+
export interface BeOndernemingsnummerOptions extends RequestOptions {
|
|
415
|
+
readonly format?: 'national' | 'vat';
|
|
416
|
+
readonly invalid?: boolean;
|
|
417
|
+
readonly edge?: boolean;
|
|
418
|
+
}
|
|
419
|
+
export interface BeOndernemingsnummerData {
|
|
420
|
+
readonly value: string;
|
|
421
|
+
readonly digits: string;
|
|
422
|
+
}
|
|
423
|
+
export interface BgEgnOptions extends RequestOptions {
|
|
424
|
+
readonly sex?: Sex;
|
|
425
|
+
readonly olderThan?: number;
|
|
426
|
+
readonly youngerThan?: number;
|
|
427
|
+
readonly atAge?: number;
|
|
428
|
+
readonly bornOn?: string;
|
|
429
|
+
readonly bornBefore?: string;
|
|
430
|
+
readonly bornAfter?: string;
|
|
431
|
+
readonly invalid?: boolean;
|
|
432
|
+
readonly edge?: boolean;
|
|
433
|
+
}
|
|
434
|
+
export interface BgEgnData {
|
|
435
|
+
readonly value: string;
|
|
436
|
+
readonly digits: string;
|
|
437
|
+
readonly birthDate: string;
|
|
438
|
+
readonly sex: Sex;
|
|
439
|
+
}
|
|
440
|
+
export interface BgEikOptions extends RequestOptions {
|
|
441
|
+
readonly format?: 'national' | 'vat';
|
|
442
|
+
readonly invalid?: boolean;
|
|
443
|
+
readonly edge?: boolean;
|
|
444
|
+
}
|
|
445
|
+
export interface BgEikData {
|
|
446
|
+
readonly value: string;
|
|
447
|
+
readonly digits: string;
|
|
448
|
+
}
|
|
449
|
+
export interface HrOibOptions extends RequestOptions {
|
|
450
|
+
readonly format?: 'national' | 'vat';
|
|
451
|
+
readonly invalid?: boolean;
|
|
452
|
+
readonly edge?: boolean;
|
|
453
|
+
}
|
|
454
|
+
export interface HrOibData {
|
|
455
|
+
readonly value: string;
|
|
456
|
+
readonly digits: string;
|
|
457
|
+
}
|
|
458
|
+
export interface HrJmbgOptions extends RequestOptions {
|
|
459
|
+
readonly sex?: Sex;
|
|
460
|
+
readonly olderThan?: number;
|
|
461
|
+
readonly youngerThan?: number;
|
|
462
|
+
readonly atAge?: number;
|
|
463
|
+
readonly bornOn?: string;
|
|
464
|
+
readonly bornBefore?: string;
|
|
465
|
+
readonly bornAfter?: string;
|
|
466
|
+
readonly invalid?: boolean;
|
|
467
|
+
readonly edge?: boolean;
|
|
468
|
+
}
|
|
469
|
+
export interface HrJmbgData {
|
|
470
|
+
readonly value: string;
|
|
471
|
+
readonly digits: string;
|
|
472
|
+
readonly birthDate: string;
|
|
473
|
+
readonly sex: Sex;
|
|
474
|
+
}
|
|
475
|
+
export interface CyTicOptions extends RequestOptions {
|
|
476
|
+
readonly format?: 'national' | 'vat';
|
|
477
|
+
readonly invalid?: boolean;
|
|
478
|
+
readonly edge?: boolean;
|
|
479
|
+
}
|
|
480
|
+
export interface CyTicData {
|
|
481
|
+
readonly value: string;
|
|
482
|
+
readonly digits: string;
|
|
483
|
+
readonly letter: string;
|
|
484
|
+
}
|
|
485
|
+
export interface CzRodneCisloOptions extends RequestOptions {
|
|
486
|
+
readonly sex?: Sex;
|
|
487
|
+
readonly olderThan?: number;
|
|
488
|
+
readonly youngerThan?: number;
|
|
489
|
+
readonly atAge?: number;
|
|
490
|
+
readonly bornOn?: string;
|
|
491
|
+
readonly bornBefore?: string;
|
|
492
|
+
readonly bornAfter?: string;
|
|
493
|
+
readonly format?: 'plain' | 'with-slash';
|
|
494
|
+
readonly invalid?: boolean;
|
|
495
|
+
readonly edge?: boolean;
|
|
496
|
+
}
|
|
497
|
+
export interface CzRodneCisloData {
|
|
498
|
+
readonly value: string;
|
|
499
|
+
readonly digits: string;
|
|
500
|
+
readonly birthDate: string;
|
|
501
|
+
readonly sex: Sex;
|
|
502
|
+
}
|
|
503
|
+
export interface CzIcoOptions extends RequestOptions {
|
|
504
|
+
readonly format?: 'national' | 'vat';
|
|
505
|
+
readonly invalid?: boolean;
|
|
506
|
+
readonly edge?: boolean;
|
|
507
|
+
}
|
|
508
|
+
export interface CzIcoData {
|
|
509
|
+
readonly value: string;
|
|
510
|
+
readonly digits: string;
|
|
511
|
+
}
|
|
512
|
+
export interface DkCprOptions extends RequestOptions {
|
|
513
|
+
readonly sex?: Sex;
|
|
514
|
+
readonly olderThan?: number;
|
|
515
|
+
readonly youngerThan?: number;
|
|
516
|
+
readonly atAge?: number;
|
|
517
|
+
readonly bornOn?: string;
|
|
518
|
+
readonly bornBefore?: string;
|
|
519
|
+
readonly bornAfter?: string;
|
|
520
|
+
readonly checksum?: 'modulus-11' | 'none';
|
|
521
|
+
readonly format?: 'plain' | 'with-hyphen';
|
|
522
|
+
readonly invalid?: boolean;
|
|
523
|
+
readonly edge?: boolean;
|
|
524
|
+
}
|
|
525
|
+
export interface DkCprData {
|
|
526
|
+
readonly value: string;
|
|
527
|
+
readonly digits: string;
|
|
528
|
+
readonly birthDate: string;
|
|
529
|
+
readonly sex: Sex;
|
|
530
|
+
}
|
|
531
|
+
export interface DkCvrOptions extends RequestOptions {
|
|
532
|
+
readonly format?: 'national' | 'vat';
|
|
533
|
+
readonly invalid?: boolean;
|
|
534
|
+
readonly edge?: boolean;
|
|
535
|
+
}
|
|
536
|
+
export interface DkCvrData {
|
|
537
|
+
readonly value: string;
|
|
538
|
+
readonly digits: string;
|
|
539
|
+
}
|
|
540
|
+
export interface EeIsikukoodOptions extends RequestOptions {
|
|
541
|
+
readonly sex?: Sex;
|
|
542
|
+
readonly olderThan?: number;
|
|
543
|
+
readonly youngerThan?: number;
|
|
544
|
+
readonly atAge?: number;
|
|
545
|
+
readonly bornOn?: string;
|
|
546
|
+
readonly bornBefore?: string;
|
|
547
|
+
readonly bornAfter?: string;
|
|
548
|
+
readonly invalid?: boolean;
|
|
549
|
+
readonly edge?: boolean;
|
|
550
|
+
}
|
|
551
|
+
export interface EeIsikukoodData {
|
|
552
|
+
readonly value: string;
|
|
553
|
+
readonly digits: string;
|
|
554
|
+
readonly birthDate: string;
|
|
555
|
+
readonly sex: Sex;
|
|
556
|
+
}
|
|
557
|
+
export interface EeRegistrikoodOptions extends RequestOptions {
|
|
558
|
+
readonly invalid?: boolean;
|
|
559
|
+
readonly edge?: boolean;
|
|
560
|
+
}
|
|
561
|
+
export interface EeRegistrikoodData {
|
|
562
|
+
readonly value: string;
|
|
563
|
+
readonly digits: string;
|
|
564
|
+
}
|
|
565
|
+
export interface EeKmkrOptions extends RequestOptions {
|
|
566
|
+
readonly format?: 'national' | 'vat';
|
|
567
|
+
readonly invalid?: boolean;
|
|
568
|
+
readonly edge?: boolean;
|
|
569
|
+
}
|
|
570
|
+
export interface EeKmkrData {
|
|
571
|
+
readonly value: string;
|
|
572
|
+
readonly digits: string;
|
|
573
|
+
}
|
|
574
|
+
export interface FiHenkilotunnusOptions extends RequestOptions {
|
|
575
|
+
readonly sex?: Sex;
|
|
576
|
+
readonly olderThan?: number;
|
|
577
|
+
readonly youngerThan?: number;
|
|
578
|
+
readonly atAge?: number;
|
|
579
|
+
readonly bornOn?: string;
|
|
580
|
+
readonly bornBefore?: string;
|
|
581
|
+
readonly bornAfter?: string;
|
|
582
|
+
readonly invalid?: boolean;
|
|
583
|
+
readonly edge?: boolean;
|
|
584
|
+
}
|
|
585
|
+
export interface FiHenkilotunnusData {
|
|
586
|
+
readonly value: string;
|
|
587
|
+
readonly digits: string;
|
|
588
|
+
readonly birthDate: string;
|
|
589
|
+
readonly sex: Sex;
|
|
590
|
+
}
|
|
591
|
+
export interface FiYTunnusOptions extends RequestOptions {
|
|
592
|
+
readonly format?: 'national' | 'vat';
|
|
593
|
+
readonly invalid?: boolean;
|
|
594
|
+
readonly edge?: boolean;
|
|
595
|
+
}
|
|
596
|
+
export interface FiYTunnusData {
|
|
597
|
+
readonly value: string;
|
|
598
|
+
readonly digits: string;
|
|
599
|
+
}
|
|
600
|
+
export interface DeSteuerIdOptions extends RequestOptions {
|
|
601
|
+
readonly invalid?: boolean;
|
|
602
|
+
readonly edge?: boolean;
|
|
603
|
+
}
|
|
604
|
+
export interface DeSteuerIdData {
|
|
605
|
+
readonly value: string;
|
|
606
|
+
readonly digits: string;
|
|
607
|
+
}
|
|
608
|
+
export interface DeUstIdnrOptions extends RequestOptions {
|
|
609
|
+
readonly format?: 'national' | 'vat';
|
|
610
|
+
readonly invalid?: boolean;
|
|
611
|
+
readonly edge?: boolean;
|
|
612
|
+
}
|
|
613
|
+
export interface DeUstIdnrData {
|
|
614
|
+
readonly value: string;
|
|
615
|
+
readonly digits: string;
|
|
616
|
+
}
|
|
617
|
+
export interface DeHandelsregisternummerOptions extends RequestOptions {
|
|
618
|
+
readonly division?: 'HRA' | 'HRB';
|
|
619
|
+
readonly edge?: boolean;
|
|
620
|
+
}
|
|
621
|
+
export interface DeHandelsregisternummerData {
|
|
622
|
+
readonly value: string;
|
|
623
|
+
readonly division: 'HRA' | 'HRB';
|
|
624
|
+
readonly court: string;
|
|
625
|
+
readonly number: string;
|
|
626
|
+
}
|
|
627
|
+
export interface DeWirtschaftsIdnrOptions extends RequestOptions {
|
|
628
|
+
readonly suffix?: number;
|
|
629
|
+
readonly invalid?: boolean;
|
|
630
|
+
readonly edge?: boolean;
|
|
631
|
+
}
|
|
632
|
+
export interface DeWirtschaftsIdnrData {
|
|
633
|
+
readonly value: string;
|
|
634
|
+
readonly digits: string;
|
|
635
|
+
readonly suffix: string;
|
|
636
|
+
}
|
|
637
|
+
export interface DePersonalausweisOptions extends RequestOptions {
|
|
638
|
+
readonly invalid?: boolean;
|
|
639
|
+
readonly edge?: boolean;
|
|
640
|
+
}
|
|
641
|
+
export interface DePersonalausweisData {
|
|
642
|
+
readonly value: string;
|
|
643
|
+
readonly serial: string;
|
|
644
|
+
readonly checkDigit: number;
|
|
645
|
+
}
|
|
646
|
+
export interface GrAmkaOptions extends RequestOptions {
|
|
647
|
+
readonly sex?: Sex;
|
|
648
|
+
readonly olderThan?: number;
|
|
649
|
+
readonly youngerThan?: number;
|
|
650
|
+
readonly atAge?: number;
|
|
651
|
+
readonly bornOn?: string;
|
|
652
|
+
readonly bornBefore?: string;
|
|
653
|
+
readonly bornAfter?: string;
|
|
654
|
+
readonly invalid?: boolean;
|
|
655
|
+
readonly edge?: boolean;
|
|
656
|
+
}
|
|
657
|
+
export interface GrAmkaData {
|
|
658
|
+
readonly value: string;
|
|
659
|
+
readonly digits: string;
|
|
660
|
+
readonly birthDate: string;
|
|
661
|
+
readonly sex: Sex;
|
|
662
|
+
}
|
|
663
|
+
export interface GrAfmOptions extends RequestOptions {
|
|
664
|
+
readonly format?: 'national' | 'vat';
|
|
665
|
+
readonly invalid?: boolean;
|
|
666
|
+
readonly edge?: boolean;
|
|
667
|
+
}
|
|
668
|
+
export interface GrAfmData {
|
|
669
|
+
readonly value: string;
|
|
670
|
+
readonly digits: string;
|
|
671
|
+
}
|
|
672
|
+
export interface HuAdoazonositoJelOptions extends RequestOptions {
|
|
673
|
+
readonly olderThan?: number;
|
|
674
|
+
readonly youngerThan?: number;
|
|
675
|
+
readonly atAge?: number;
|
|
676
|
+
readonly bornOn?: string;
|
|
677
|
+
readonly bornBefore?: string;
|
|
678
|
+
readonly bornAfter?: string;
|
|
679
|
+
readonly invalid?: boolean;
|
|
680
|
+
readonly edge?: boolean;
|
|
681
|
+
}
|
|
682
|
+
export interface HuAdoazonositoJelData {
|
|
683
|
+
readonly value: string;
|
|
684
|
+
readonly digits: string;
|
|
685
|
+
readonly birthDate: string;
|
|
686
|
+
}
|
|
687
|
+
export interface HuTajOptions extends RequestOptions {
|
|
688
|
+
readonly invalid?: boolean;
|
|
689
|
+
readonly edge?: boolean;
|
|
690
|
+
}
|
|
691
|
+
export interface HuTajData {
|
|
692
|
+
readonly value: string;
|
|
693
|
+
readonly digits: string;
|
|
694
|
+
}
|
|
695
|
+
export interface HuSzemelyiAzonositoOptions extends RequestOptions {
|
|
696
|
+
readonly sex?: Sex;
|
|
697
|
+
readonly olderThan?: number;
|
|
698
|
+
readonly youngerThan?: number;
|
|
699
|
+
readonly atAge?: number;
|
|
700
|
+
readonly bornOn?: string;
|
|
701
|
+
readonly bornBefore?: string;
|
|
702
|
+
readonly bornAfter?: string;
|
|
703
|
+
readonly standard?: 'pre-1997' | 'modern';
|
|
704
|
+
readonly invalid?: boolean;
|
|
705
|
+
readonly edge?: boolean;
|
|
706
|
+
}
|
|
707
|
+
export interface HuSzemelyiAzonositoData {
|
|
708
|
+
readonly value: string;
|
|
709
|
+
readonly digits: string;
|
|
710
|
+
readonly birthDate: string;
|
|
711
|
+
readonly sex: Sex;
|
|
712
|
+
readonly standard: 'pre-1997' | 'modern';
|
|
713
|
+
}
|
|
714
|
+
export interface HuAdoszamOptions extends RequestOptions {
|
|
715
|
+
readonly format?: 'national' | 'vat';
|
|
716
|
+
readonly invalid?: boolean;
|
|
717
|
+
readonly edge?: boolean;
|
|
718
|
+
}
|
|
719
|
+
export interface HuAdoszamData {
|
|
720
|
+
readonly value: string;
|
|
721
|
+
readonly digits: string;
|
|
722
|
+
}
|
|
723
|
+
export interface HuCegjegyzekszamOptions extends RequestOptions {
|
|
724
|
+
readonly edge?: boolean;
|
|
725
|
+
}
|
|
726
|
+
export interface HuCegjegyzekszamData {
|
|
727
|
+
readonly value: string;
|
|
728
|
+
readonly court: number;
|
|
729
|
+
readonly form: number;
|
|
730
|
+
readonly serial: number;
|
|
731
|
+
readonly digits: string;
|
|
732
|
+
}
|
|
733
|
+
export interface IePpsnOptions extends RequestOptions {
|
|
734
|
+
readonly standard?: 'pre-2013' | 'modern';
|
|
735
|
+
readonly invalid?: boolean;
|
|
736
|
+
readonly edge?: boolean;
|
|
737
|
+
}
|
|
738
|
+
export interface IePpsnData {
|
|
739
|
+
readonly value: string;
|
|
740
|
+
readonly digits: string;
|
|
741
|
+
readonly checkLetter: string;
|
|
742
|
+
readonly secondLetter?: string;
|
|
743
|
+
}
|
|
744
|
+
export interface IeVatOptions extends RequestOptions {
|
|
745
|
+
readonly format?: 'national' | 'vat';
|
|
746
|
+
readonly standard?: 'pre-2013' | 'modern';
|
|
747
|
+
readonly invalid?: boolean;
|
|
748
|
+
readonly edge?: boolean;
|
|
749
|
+
}
|
|
750
|
+
export interface IeVatData {
|
|
751
|
+
readonly value: string;
|
|
752
|
+
readonly digits: string;
|
|
753
|
+
}
|
|
754
|
+
export interface IeCroOptions extends RequestOptions {
|
|
755
|
+
readonly edge?: boolean;
|
|
756
|
+
}
|
|
757
|
+
export interface IeCroData {
|
|
758
|
+
readonly value: string;
|
|
759
|
+
readonly digits: string;
|
|
760
|
+
}
|
|
761
|
+
export interface ItCodiceFiscaleOptions extends RequestOptions {
|
|
762
|
+
readonly sex?: Sex;
|
|
763
|
+
readonly olderThan?: number;
|
|
764
|
+
readonly youngerThan?: number;
|
|
765
|
+
readonly atAge?: number;
|
|
766
|
+
readonly bornOn?: string;
|
|
767
|
+
readonly bornBefore?: string;
|
|
768
|
+
readonly bornAfter?: string;
|
|
769
|
+
readonly surname?: string;
|
|
770
|
+
readonly name?: string;
|
|
771
|
+
readonly invalid?: boolean;
|
|
772
|
+
readonly edge?: boolean;
|
|
773
|
+
}
|
|
774
|
+
export interface ItCodiceFiscaleData {
|
|
775
|
+
readonly value: string;
|
|
776
|
+
readonly surnameCode: string;
|
|
777
|
+
readonly nameCode: string;
|
|
778
|
+
readonly birthDate: string;
|
|
779
|
+
readonly sex: Sex;
|
|
780
|
+
}
|
|
781
|
+
export interface ItPartitaIvaOptions extends RequestOptions {
|
|
782
|
+
readonly format?: 'national' | 'vat';
|
|
783
|
+
readonly invalid?: boolean;
|
|
784
|
+
readonly edge?: boolean;
|
|
785
|
+
}
|
|
786
|
+
export interface ItPartitaIvaData {
|
|
787
|
+
readonly value: string;
|
|
788
|
+
readonly digits: string;
|
|
789
|
+
}
|
|
790
|
+
export interface LvPersonasKodsOptions extends RequestOptions {
|
|
791
|
+
readonly olderThan?: number;
|
|
792
|
+
readonly youngerThan?: number;
|
|
793
|
+
readonly atAge?: number;
|
|
794
|
+
readonly bornOn?: string;
|
|
795
|
+
readonly bornBefore?: string;
|
|
796
|
+
readonly bornAfter?: string;
|
|
797
|
+
readonly standard?: 'legacy' | 'modern';
|
|
798
|
+
readonly format?: 'plain' | 'with-hyphen';
|
|
799
|
+
readonly invalid?: boolean;
|
|
800
|
+
readonly edge?: boolean;
|
|
801
|
+
}
|
|
802
|
+
export interface LvPersonasKodsData {
|
|
803
|
+
readonly value: string;
|
|
804
|
+
readonly digits: string;
|
|
805
|
+
readonly birthDate?: string;
|
|
806
|
+
}
|
|
807
|
+
export interface LvRegistracijasNumursOptions extends RequestOptions {
|
|
808
|
+
readonly format?: 'national' | 'vat';
|
|
809
|
+
readonly invalid?: boolean;
|
|
810
|
+
readonly edge?: boolean;
|
|
811
|
+
}
|
|
812
|
+
export interface LvRegistracijasNumursData {
|
|
813
|
+
readonly value: string;
|
|
814
|
+
readonly digits: string;
|
|
815
|
+
}
|
|
816
|
+
export interface LtAsmensKodasOptions extends RequestOptions {
|
|
817
|
+
readonly sex?: Sex;
|
|
818
|
+
readonly olderThan?: number;
|
|
819
|
+
readonly youngerThan?: number;
|
|
820
|
+
readonly atAge?: number;
|
|
821
|
+
readonly bornOn?: string;
|
|
822
|
+
readonly bornBefore?: string;
|
|
823
|
+
readonly bornAfter?: string;
|
|
824
|
+
readonly invalid?: boolean;
|
|
825
|
+
readonly edge?: boolean;
|
|
826
|
+
}
|
|
827
|
+
export interface LtAsmensKodasData {
|
|
828
|
+
readonly value: string;
|
|
829
|
+
readonly digits: string;
|
|
830
|
+
readonly birthDate: string;
|
|
831
|
+
readonly sex: Sex;
|
|
832
|
+
}
|
|
833
|
+
export interface LtImonesKodasOptions extends RequestOptions {
|
|
834
|
+
readonly invalid?: boolean;
|
|
835
|
+
readonly edge?: boolean;
|
|
836
|
+
}
|
|
837
|
+
export interface LtImonesKodasData {
|
|
838
|
+
readonly value: string;
|
|
839
|
+
readonly digits: string;
|
|
840
|
+
}
|
|
841
|
+
export interface LtPvmOptions extends RequestOptions {
|
|
842
|
+
readonly format?: 'national' | 'vat';
|
|
843
|
+
readonly invalid?: boolean;
|
|
844
|
+
readonly edge?: boolean;
|
|
845
|
+
}
|
|
846
|
+
export interface LtPvmData {
|
|
847
|
+
readonly value: string;
|
|
848
|
+
readonly digits: string;
|
|
849
|
+
}
|
|
850
|
+
export interface LuMatriculeOptions extends RequestOptions {
|
|
851
|
+
readonly olderThan?: number;
|
|
852
|
+
readonly youngerThan?: number;
|
|
853
|
+
readonly atAge?: number;
|
|
854
|
+
readonly bornOn?: string;
|
|
855
|
+
readonly bornBefore?: string;
|
|
856
|
+
readonly bornAfter?: string;
|
|
857
|
+
readonly invalid?: boolean;
|
|
858
|
+
readonly edge?: boolean;
|
|
859
|
+
}
|
|
860
|
+
export interface LuMatriculeData {
|
|
861
|
+
readonly value: string;
|
|
862
|
+
readonly digits: string;
|
|
863
|
+
readonly birthDate: string;
|
|
864
|
+
}
|
|
865
|
+
export interface LuTvaOptions extends RequestOptions {
|
|
866
|
+
readonly format?: 'national' | 'vat';
|
|
867
|
+
readonly invalid?: boolean;
|
|
868
|
+
readonly edge?: boolean;
|
|
869
|
+
}
|
|
870
|
+
export interface LuTvaData {
|
|
871
|
+
readonly value: string;
|
|
872
|
+
readonly digits: string;
|
|
873
|
+
}
|
|
874
|
+
export interface MtIdCardOptions extends RequestOptions {
|
|
875
|
+
readonly category?: 'M' | 'G' | 'A' | 'P' | 'L' | 'H' | 'B' | 'Z';
|
|
876
|
+
readonly edge?: boolean;
|
|
877
|
+
}
|
|
878
|
+
export interface MtIdCardData {
|
|
879
|
+
readonly value: string;
|
|
880
|
+
readonly digits: string;
|
|
881
|
+
readonly category: 'M' | 'G' | 'A' | 'P' | 'L' | 'H' | 'B' | 'Z';
|
|
882
|
+
}
|
|
883
|
+
export interface MtVatOptions extends RequestOptions {
|
|
884
|
+
readonly format?: 'national' | 'vat';
|
|
885
|
+
readonly invalid?: boolean;
|
|
886
|
+
readonly edge?: boolean;
|
|
887
|
+
}
|
|
888
|
+
export interface MtVatData {
|
|
889
|
+
readonly value: string;
|
|
890
|
+
readonly digits: string;
|
|
891
|
+
}
|
|
892
|
+
export interface NlBsnOptions extends RequestOptions {
|
|
893
|
+
readonly invalid?: boolean;
|
|
894
|
+
readonly edge?: boolean;
|
|
895
|
+
}
|
|
896
|
+
export interface NlBsnData {
|
|
897
|
+
readonly value: string;
|
|
898
|
+
readonly digits: string;
|
|
899
|
+
}
|
|
900
|
+
export interface NlRsinOptions extends RequestOptions {
|
|
901
|
+
readonly invalid?: boolean;
|
|
902
|
+
readonly edge?: boolean;
|
|
903
|
+
}
|
|
904
|
+
export interface NlRsinData {
|
|
905
|
+
readonly value: string;
|
|
906
|
+
readonly digits: string;
|
|
907
|
+
}
|
|
908
|
+
export interface NlBtwIdOptions extends RequestOptions {
|
|
909
|
+
readonly standard?: 'legacy' | 'modern';
|
|
910
|
+
readonly invalid?: boolean;
|
|
911
|
+
readonly edge?: boolean;
|
|
912
|
+
}
|
|
913
|
+
export interface NlBtwIdData {
|
|
914
|
+
readonly value: string;
|
|
915
|
+
readonly digits: string;
|
|
916
|
+
readonly standard: 'legacy' | 'modern';
|
|
917
|
+
}
|
|
918
|
+
export interface NlKvkOptions extends RequestOptions {
|
|
919
|
+
readonly edge?: boolean;
|
|
920
|
+
}
|
|
921
|
+
export interface NlKvkData {
|
|
922
|
+
readonly value: string;
|
|
923
|
+
readonly digits: string;
|
|
924
|
+
}
|
|
925
|
+
export interface PtNifOptions extends RequestOptions {
|
|
926
|
+
readonly entity?: 'person' | 'company';
|
|
927
|
+
readonly format?: 'national' | 'vat';
|
|
928
|
+
readonly invalid?: boolean;
|
|
929
|
+
readonly edge?: boolean;
|
|
930
|
+
}
|
|
931
|
+
export interface PtNifData {
|
|
932
|
+
readonly value: string;
|
|
933
|
+
readonly digits: string;
|
|
934
|
+
readonly entity: 'person' | 'company';
|
|
935
|
+
}
|
|
936
|
+
export interface PtCartaoCidadaoOptions extends RequestOptions {
|
|
937
|
+
readonly invalid?: boolean;
|
|
938
|
+
readonly edge?: boolean;
|
|
939
|
+
}
|
|
940
|
+
export interface PtCartaoCidadaoData {
|
|
941
|
+
readonly value: string;
|
|
942
|
+
readonly nic: string;
|
|
943
|
+
readonly version: string;
|
|
944
|
+
}
|
|
945
|
+
export interface RoCnpOptions extends RequestOptions {
|
|
946
|
+
readonly sex?: Sex;
|
|
947
|
+
readonly olderThan?: number;
|
|
948
|
+
readonly youngerThan?: number;
|
|
949
|
+
readonly atAge?: number;
|
|
950
|
+
readonly bornOn?: string;
|
|
951
|
+
readonly bornBefore?: string;
|
|
952
|
+
readonly bornAfter?: string;
|
|
953
|
+
readonly invalid?: boolean;
|
|
954
|
+
readonly edge?: boolean;
|
|
955
|
+
}
|
|
956
|
+
export interface RoCnpData {
|
|
957
|
+
readonly value: string;
|
|
958
|
+
readonly digits: string;
|
|
959
|
+
readonly birthDate: string;
|
|
960
|
+
readonly sex: Sex;
|
|
961
|
+
readonly county: string;
|
|
962
|
+
}
|
|
963
|
+
export interface RoCuiOptions extends RequestOptions {
|
|
964
|
+
readonly format?: 'national' | 'vat';
|
|
965
|
+
readonly invalid?: boolean;
|
|
966
|
+
readonly edge?: boolean;
|
|
967
|
+
}
|
|
968
|
+
export interface RoCuiData {
|
|
969
|
+
readonly value: string;
|
|
970
|
+
readonly digits: string;
|
|
971
|
+
}
|
|
972
|
+
export interface SkRodneCisloOptions extends RequestOptions {
|
|
973
|
+
readonly sex?: Sex;
|
|
974
|
+
readonly olderThan?: number;
|
|
975
|
+
readonly youngerThan?: number;
|
|
976
|
+
readonly atAge?: number;
|
|
977
|
+
readonly bornOn?: string;
|
|
978
|
+
readonly bornBefore?: string;
|
|
979
|
+
readonly bornAfter?: string;
|
|
980
|
+
readonly format?: 'plain' | 'with-slash';
|
|
981
|
+
readonly invalid?: boolean;
|
|
982
|
+
readonly edge?: boolean;
|
|
983
|
+
}
|
|
984
|
+
export interface SkRodneCisloData {
|
|
985
|
+
readonly value: string;
|
|
986
|
+
readonly digits: string;
|
|
987
|
+
readonly birthDate: string;
|
|
988
|
+
readonly sex: Sex;
|
|
989
|
+
}
|
|
990
|
+
export interface SkIcoOptions extends RequestOptions {
|
|
991
|
+
readonly invalid?: boolean;
|
|
992
|
+
readonly edge?: boolean;
|
|
993
|
+
}
|
|
994
|
+
export interface SkIcoData {
|
|
995
|
+
readonly value: string;
|
|
996
|
+
readonly digits: string;
|
|
997
|
+
}
|
|
998
|
+
export interface SkIcDphOptions extends RequestOptions {
|
|
999
|
+
readonly format?: 'national' | 'vat';
|
|
1000
|
+
readonly invalid?: boolean;
|
|
1001
|
+
readonly edge?: boolean;
|
|
1002
|
+
}
|
|
1003
|
+
export interface SkIcDphData {
|
|
1004
|
+
readonly value: string;
|
|
1005
|
+
readonly digits: string;
|
|
1006
|
+
}
|
|
1007
|
+
export interface SiEmsoOptions extends RequestOptions {
|
|
1008
|
+
readonly sex?: Sex;
|
|
1009
|
+
readonly olderThan?: number;
|
|
1010
|
+
readonly youngerThan?: number;
|
|
1011
|
+
readonly atAge?: number;
|
|
1012
|
+
readonly bornOn?: string;
|
|
1013
|
+
readonly bornBefore?: string;
|
|
1014
|
+
readonly bornAfter?: string;
|
|
1015
|
+
readonly invalid?: boolean;
|
|
1016
|
+
readonly edge?: boolean;
|
|
1017
|
+
}
|
|
1018
|
+
export interface SiEmsoData {
|
|
1019
|
+
readonly value: string;
|
|
1020
|
+
readonly digits: string;
|
|
1021
|
+
readonly birthDate: string;
|
|
1022
|
+
readonly sex: Sex;
|
|
1023
|
+
}
|
|
1024
|
+
export interface SiDavcnaStevilkaOptions extends RequestOptions {
|
|
1025
|
+
readonly format?: 'national' | 'vat';
|
|
1026
|
+
readonly invalid?: boolean;
|
|
1027
|
+
readonly edge?: boolean;
|
|
1028
|
+
}
|
|
1029
|
+
export interface SiDavcnaStevilkaData {
|
|
1030
|
+
readonly value: string;
|
|
1031
|
+
readonly digits: string;
|
|
1032
|
+
}
|
|
1033
|
+
export interface EsDniOptions extends RequestOptions {
|
|
1034
|
+
readonly invalid?: boolean;
|
|
1035
|
+
readonly edge?: boolean;
|
|
1036
|
+
}
|
|
1037
|
+
export interface EsDniData {
|
|
1038
|
+
readonly value: string;
|
|
1039
|
+
readonly digits: string;
|
|
1040
|
+
readonly letter: string;
|
|
1041
|
+
}
|
|
1042
|
+
export interface EsNieOptions extends RequestOptions {
|
|
1043
|
+
readonly invalid?: boolean;
|
|
1044
|
+
readonly edge?: boolean;
|
|
1045
|
+
}
|
|
1046
|
+
export interface EsNieData {
|
|
1047
|
+
readonly value: string;
|
|
1048
|
+
readonly prefix: string;
|
|
1049
|
+
readonly digits: string;
|
|
1050
|
+
readonly letter: string;
|
|
1051
|
+
}
|
|
1052
|
+
export interface EsCifOptions extends RequestOptions {
|
|
1053
|
+
readonly format?: 'national' | 'vat';
|
|
1054
|
+
readonly invalid?: boolean;
|
|
1055
|
+
readonly edge?: boolean;
|
|
1056
|
+
}
|
|
1057
|
+
export interface EsCifData {
|
|
1058
|
+
readonly value: string;
|
|
1059
|
+
readonly digits: string;
|
|
1060
|
+
}
|
|
1061
|
+
export interface SePersonnummerOptions extends RequestOptions {
|
|
1062
|
+
readonly sex?: Sex;
|
|
1063
|
+
readonly olderThan?: number;
|
|
1064
|
+
readonly youngerThan?: number;
|
|
1065
|
+
readonly atAge?: number;
|
|
1066
|
+
readonly bornOn?: string;
|
|
1067
|
+
readonly bornBefore?: string;
|
|
1068
|
+
readonly bornAfter?: string;
|
|
1069
|
+
readonly format?: 'short' | 'long';
|
|
1070
|
+
readonly kind?: 'personnummer' | 'samordningsnummer';
|
|
1071
|
+
readonly invalid?: boolean;
|
|
1072
|
+
readonly edge?: boolean;
|
|
1073
|
+
}
|
|
1074
|
+
export interface SePersonnummerData {
|
|
1075
|
+
readonly value: string;
|
|
1076
|
+
readonly digits: string;
|
|
1077
|
+
readonly birthDate: string;
|
|
1078
|
+
readonly sex: Sex;
|
|
1079
|
+
}
|
|
1080
|
+
export interface SeOrganisationsnummerOptions extends RequestOptions {
|
|
1081
|
+
readonly format?: 'national' | 'vat';
|
|
1082
|
+
readonly invalid?: boolean;
|
|
1083
|
+
readonly edge?: boolean;
|
|
1084
|
+
}
|
|
1085
|
+
export interface SeOrganisationsnummerData {
|
|
1086
|
+
readonly value: string;
|
|
1087
|
+
readonly digits: string;
|
|
1088
|
+
}
|
|
125
1089
|
//# sourceMappingURL=types.d.ts.map
|