@legalplace/models-v3-types 3.4.4 → 3.4.42
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/index.ts +15 -2
- package/package.json +1 -1
- package/schema.json +45 -2
package/index.ts
CHANGED
|
@@ -34,6 +34,7 @@ export interface ModelV3<ConstumizationMeta = CustomizationMetaDefault> {
|
|
|
34
34
|
*/
|
|
35
35
|
pdf?: {
|
|
36
36
|
id: string
|
|
37
|
+
filename: string
|
|
37
38
|
form: FDFFormV3
|
|
38
39
|
thumbnails: string[]
|
|
39
40
|
}
|
|
@@ -512,8 +513,8 @@ export interface PrefillingV3 {
|
|
|
512
513
|
* FDF
|
|
513
514
|
*/
|
|
514
515
|
export interface FDFFormV3 {
|
|
515
|
-
inputs: FDFInputsV3
|
|
516
|
-
boxes: FDFBoxesV3
|
|
516
|
+
inputs: FDFInputsV3[]
|
|
517
|
+
boxes: FDFBoxesV3[]
|
|
517
518
|
}
|
|
518
519
|
|
|
519
520
|
/**
|
|
@@ -522,6 +523,12 @@ export interface FDFFormV3 {
|
|
|
522
523
|
export interface FDFInputsV3 {
|
|
523
524
|
name: string
|
|
524
525
|
page: number
|
|
526
|
+
rect: {
|
|
527
|
+
x: number
|
|
528
|
+
y: number
|
|
529
|
+
width: number
|
|
530
|
+
height: number
|
|
531
|
+
},
|
|
525
532
|
variables: {
|
|
526
533
|
id: number,
|
|
527
534
|
conditions?: ConditionV3
|
|
@@ -534,6 +541,12 @@ export interface FDFInputsV3 {
|
|
|
534
541
|
export interface FDFBoxesV3 {
|
|
535
542
|
name: string
|
|
536
543
|
page: number
|
|
544
|
+
rect: {
|
|
545
|
+
x: number
|
|
546
|
+
y: number
|
|
547
|
+
width: number
|
|
548
|
+
height: number
|
|
549
|
+
},
|
|
537
550
|
options: {
|
|
538
551
|
id: number,
|
|
539
552
|
conditions?: ConditionV3
|
package/package.json
CHANGED
package/schema.json
CHANGED
|
@@ -1433,6 +1433,23 @@
|
|
|
1433
1433
|
},
|
|
1434
1434
|
"page": {
|
|
1435
1435
|
"type": "number"
|
|
1436
|
+
},
|
|
1437
|
+
"rect": {
|
|
1438
|
+
"properties": {
|
|
1439
|
+
"height": {
|
|
1440
|
+
"type": "number"
|
|
1441
|
+
},
|
|
1442
|
+
"width": {
|
|
1443
|
+
"type": "number"
|
|
1444
|
+
},
|
|
1445
|
+
"x": {
|
|
1446
|
+
"type": "number"
|
|
1447
|
+
},
|
|
1448
|
+
"y": {
|
|
1449
|
+
"type": "number"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
"type": "object"
|
|
1436
1453
|
}
|
|
1437
1454
|
},
|
|
1438
1455
|
"type": "object"
|
|
@@ -1441,10 +1458,16 @@
|
|
|
1441
1458
|
"description": "FDF",
|
|
1442
1459
|
"properties": {
|
|
1443
1460
|
"boxes": {
|
|
1444
|
-
"
|
|
1461
|
+
"items": {
|
|
1462
|
+
"$ref": "#/definitions/FDFBoxesV3"
|
|
1463
|
+
},
|
|
1464
|
+
"type": "array"
|
|
1445
1465
|
},
|
|
1446
1466
|
"inputs": {
|
|
1447
|
-
"
|
|
1467
|
+
"items": {
|
|
1468
|
+
"$ref": "#/definitions/FDFInputsV3"
|
|
1469
|
+
},
|
|
1470
|
+
"type": "array"
|
|
1448
1471
|
}
|
|
1449
1472
|
},
|
|
1450
1473
|
"type": "object"
|
|
@@ -1458,6 +1481,23 @@
|
|
|
1458
1481
|
"page": {
|
|
1459
1482
|
"type": "number"
|
|
1460
1483
|
},
|
|
1484
|
+
"rect": {
|
|
1485
|
+
"properties": {
|
|
1486
|
+
"height": {
|
|
1487
|
+
"type": "number"
|
|
1488
|
+
},
|
|
1489
|
+
"width": {
|
|
1490
|
+
"type": "number"
|
|
1491
|
+
},
|
|
1492
|
+
"x": {
|
|
1493
|
+
"type": "number"
|
|
1494
|
+
},
|
|
1495
|
+
"y": {
|
|
1496
|
+
"type": "number"
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
"type": "object"
|
|
1500
|
+
},
|
|
1461
1501
|
"variables": {
|
|
1462
1502
|
"items": {
|
|
1463
1503
|
"properties": {
|
|
@@ -2089,6 +2129,9 @@
|
|
|
2089
2129
|
"pdf": {
|
|
2090
2130
|
"description": "Document's PDF link",
|
|
2091
2131
|
"properties": {
|
|
2132
|
+
"filename": {
|
|
2133
|
+
"type": "string"
|
|
2134
|
+
},
|
|
2092
2135
|
"form": {
|
|
2093
2136
|
"$ref": "#/definitions/FDFFormV3"
|
|
2094
2137
|
},
|