@gemina/sdk 0.11.0 → 0.13.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/dist/index.cjs +75 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +281 -163
- package/dist/index.d.ts +281 -163
- package/dist/index.js +69 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1426,6 +1426,48 @@ function DocumentViewMetaOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1426
1426
|
};
|
|
1427
1427
|
}
|
|
1428
1428
|
|
|
1429
|
+
// src/generated/models/VerifiedDiffEntryOutDTO.ts
|
|
1430
|
+
var VerifiedDiffEntryOutDTOStatusEnum = {
|
|
1431
|
+
Corrected: "corrected",
|
|
1432
|
+
Added: "added",
|
|
1433
|
+
Removed: "removed"
|
|
1434
|
+
};
|
|
1435
|
+
function instanceOfVerifiedDiffEntryOutDTO(value) {
|
|
1436
|
+
if (!("field" in value) || value["field"] === void 0) return false;
|
|
1437
|
+
if (!("status" in value) || value["status"] === void 0) return false;
|
|
1438
|
+
return true;
|
|
1439
|
+
}
|
|
1440
|
+
function VerifiedDiffEntryOutDTOFromJSON(json) {
|
|
1441
|
+
return VerifiedDiffEntryOutDTOFromJSONTyped(json, false);
|
|
1442
|
+
}
|
|
1443
|
+
function VerifiedDiffEntryOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
1444
|
+
if (json == null) {
|
|
1445
|
+
return json;
|
|
1446
|
+
}
|
|
1447
|
+
return {
|
|
1448
|
+
"field": json["field"],
|
|
1449
|
+
"original": json["original"] == null ? void 0 : json["original"],
|
|
1450
|
+
"pointer": json["pointer"] == null ? void 0 : json["pointer"],
|
|
1451
|
+
"status": json["status"],
|
|
1452
|
+
"verified": json["verified"] == null ? void 0 : json["verified"]
|
|
1453
|
+
};
|
|
1454
|
+
}
|
|
1455
|
+
function VerifiedDiffEntryOutDTOToJSON(json) {
|
|
1456
|
+
return VerifiedDiffEntryOutDTOToJSONTyped(json, false);
|
|
1457
|
+
}
|
|
1458
|
+
function VerifiedDiffEntryOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1459
|
+
if (value == null) {
|
|
1460
|
+
return value;
|
|
1461
|
+
}
|
|
1462
|
+
return {
|
|
1463
|
+
"field": value["field"],
|
|
1464
|
+
"original": value["original"],
|
|
1465
|
+
"pointer": value["pointer"],
|
|
1466
|
+
"status": value["status"],
|
|
1467
|
+
"verified": value["verified"]
|
|
1468
|
+
};
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1429
1471
|
// src/generated/models/PurgeReasonModel.ts
|
|
1430
1472
|
var PurgeReasonModel = {
|
|
1431
1473
|
UserDeleted: "user_deleted",
|
|
@@ -1711,6 +1753,7 @@ function ExtractionMetaOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1711
1753
|
"purgeReason": PurgeReasonModelFromJSON(json["purgeReason"]),
|
|
1712
1754
|
"purgedAt": json["purgedAt"] == null ? null : new Date(json["purgedAt"]),
|
|
1713
1755
|
"thinking": json["thinking"],
|
|
1756
|
+
"validated": json["validated"] == null ? void 0 : json["validated"],
|
|
1714
1757
|
"validationFeedback": json["validationFeedback"] == null ? void 0 : ValidationSchemaModelFromJSON(json["validationFeedback"])
|
|
1715
1758
|
};
|
|
1716
1759
|
}
|
|
@@ -1735,6 +1778,7 @@ function ExtractionMetaOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1735
1778
|
"purgeReason": PurgeReasonModelToJSON(value["purgeReason"]),
|
|
1736
1779
|
"purgedAt": value["purgedAt"] == null ? value["purgedAt"] : value["purgedAt"].toISOString(),
|
|
1737
1780
|
"thinking": value["thinking"],
|
|
1781
|
+
"validated": value["validated"],
|
|
1738
1782
|
"validationFeedback": ValidationSchemaModelToJSON(value["validationFeedback"])
|
|
1739
1783
|
};
|
|
1740
1784
|
}
|
|
@@ -1757,7 +1801,9 @@ function ExtractionProcessingResultOutDTOFromJSONTyped(json, ignoreDiscriminator
|
|
|
1757
1801
|
"errors": json["errors"] == null ? void 0 : json["errors"],
|
|
1758
1802
|
"meta": ExtractionMetaOutDTOFromJSON(json["meta"]),
|
|
1759
1803
|
"status": ResponseStatusFromJSON(json["status"]),
|
|
1760
|
-
"values": json["values"]
|
|
1804
|
+
"values": json["values"],
|
|
1805
|
+
"verifiedDiff": json["verifiedDiff"] == null ? void 0 : json["verifiedDiff"].map(VerifiedDiffEntryOutDTOFromJSON),
|
|
1806
|
+
"verifiedValues": json["verifiedValues"] == null ? void 0 : json["verifiedValues"]
|
|
1761
1807
|
};
|
|
1762
1808
|
}
|
|
1763
1809
|
function ExtractionProcessingResultOutDTOToJSON(json) {
|
|
@@ -1771,7 +1817,9 @@ function ExtractionProcessingResultOutDTOToJSONTyped(value, ignoreDiscriminator
|
|
|
1771
1817
|
"errors": value["errors"],
|
|
1772
1818
|
"meta": ExtractionMetaOutDTOToJSON(value["meta"]),
|
|
1773
1819
|
"status": ResponseStatusToJSON(value["status"]),
|
|
1774
|
-
"values": value["values"]
|
|
1820
|
+
"values": value["values"],
|
|
1821
|
+
"verifiedDiff": value["verifiedDiff"] == null ? void 0 : value["verifiedDiff"].map(VerifiedDiffEntryOutDTOToJSON),
|
|
1822
|
+
"verifiedValues": value["verifiedValues"]
|
|
1775
1823
|
};
|
|
1776
1824
|
}
|
|
1777
1825
|
|
|
@@ -2659,7 +2707,9 @@ function ExtractionPrimaryViewOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2659
2707
|
"errors": json["errors"] == null ? void 0 : json["errors"],
|
|
2660
2708
|
"meta": ExtractionViewMetaOutDTOFromJSON(json["meta"]),
|
|
2661
2709
|
"status": ResponseStatusFromJSON(json["status"]),
|
|
2662
|
-
"values": json["values"]
|
|
2710
|
+
"values": json["values"],
|
|
2711
|
+
"verifiedDiff": json["verifiedDiff"] == null ? void 0 : json["verifiedDiff"].map(VerifiedDiffEntryOutDTOFromJSON),
|
|
2712
|
+
"verifiedValues": json["verifiedValues"] == null ? void 0 : json["verifiedValues"]
|
|
2663
2713
|
};
|
|
2664
2714
|
}
|
|
2665
2715
|
function ExtractionPrimaryViewOutDTOToJSON(json) {
|
|
@@ -2676,7 +2726,9 @@ function ExtractionPrimaryViewOutDTOToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
2676
2726
|
"errors": value["errors"],
|
|
2677
2727
|
"meta": ExtractionViewMetaOutDTOToJSON(value["meta"]),
|
|
2678
2728
|
"status": ResponseStatusToJSON(value["status"]),
|
|
2679
|
-
"values": value["values"]
|
|
2729
|
+
"values": value["values"],
|
|
2730
|
+
"verifiedDiff": value["verifiedDiff"] == null ? void 0 : value["verifiedDiff"].map(VerifiedDiffEntryOutDTOToJSON),
|
|
2731
|
+
"verifiedValues": value["verifiedValues"]
|
|
2680
2732
|
};
|
|
2681
2733
|
}
|
|
2682
2734
|
|
|
@@ -3015,7 +3067,9 @@ function ExtractionViewOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
3015
3067
|
"errors": json["errors"] == null ? void 0 : json["errors"],
|
|
3016
3068
|
"meta": ExtractionViewMetaOutDTOFromJSON(json["meta"]),
|
|
3017
3069
|
"status": ResponseStatusFromJSON(json["status"]),
|
|
3018
|
-
"values": json["values"]
|
|
3070
|
+
"values": json["values"],
|
|
3071
|
+
"verifiedDiff": json["verifiedDiff"] == null ? void 0 : json["verifiedDiff"].map(VerifiedDiffEntryOutDTOFromJSON),
|
|
3072
|
+
"verifiedValues": json["verifiedValues"] == null ? void 0 : json["verifiedValues"]
|
|
3019
3073
|
};
|
|
3020
3074
|
}
|
|
3021
3075
|
function ExtractionViewOutDTOToJSON(json) {
|
|
@@ -3030,7 +3084,9 @@ function ExtractionViewOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3030
3084
|
"errors": value["errors"],
|
|
3031
3085
|
"meta": ExtractionViewMetaOutDTOToJSON(value["meta"]),
|
|
3032
3086
|
"status": ResponseStatusToJSON(value["status"]),
|
|
3033
|
-
"values": value["values"]
|
|
3087
|
+
"values": value["values"],
|
|
3088
|
+
"verifiedDiff": value["verifiedDiff"] == null ? void 0 : value["verifiedDiff"].map(VerifiedDiffEntryOutDTOToJSON),
|
|
3089
|
+
"verifiedValues": value["verifiedValues"]
|
|
3034
3090
|
};
|
|
3035
3091
|
}
|
|
3036
3092
|
|
|
@@ -10343,7 +10399,7 @@ async function asProcessingErrorIfFailedResult(error) {
|
|
|
10343
10399
|
}
|
|
10344
10400
|
|
|
10345
10401
|
// src/version.ts
|
|
10346
|
-
var VERSION = "0.
|
|
10402
|
+
var VERSION = "0.13.0";
|
|
10347
10403
|
export {
|
|
10348
10404
|
AggregateMetaDTOFromJSON,
|
|
10349
10405
|
AggregateMetaDTOFromJSONTyped,
|
|
@@ -10981,6 +11037,11 @@ export {
|
|
|
10981
11037
|
ValuesValueFromJSONTyped,
|
|
10982
11038
|
ValuesValueToJSON,
|
|
10983
11039
|
ValuesValueToJSONTyped,
|
|
11040
|
+
VerifiedDiffEntryOutDTOFromJSON,
|
|
11041
|
+
VerifiedDiffEntryOutDTOFromJSONTyped,
|
|
11042
|
+
VerifiedDiffEntryOutDTOStatusEnum,
|
|
11043
|
+
VerifiedDiffEntryOutDTOToJSON,
|
|
11044
|
+
VerifiedDiffEntryOutDTOToJSONTyped,
|
|
10984
11045
|
ViewMetaOutDTOFromJSON,
|
|
10985
11046
|
ViewMetaOutDTOFromJSONTyped,
|
|
10986
11047
|
ViewMetaOutDTOToJSON,
|
|
@@ -11141,6 +11202,7 @@ export {
|
|
|
11141
11202
|
instanceOfValue,
|
|
11142
11203
|
instanceOfValueAnyOfInner,
|
|
11143
11204
|
instanceOfValuesValue,
|
|
11205
|
+
instanceOfVerifiedDiffEntryOutDTO,
|
|
11144
11206
|
instanceOfViewMetaOutDTO,
|
|
11145
11207
|
instanceOfVolumeDiscountTierOutDTO,
|
|
11146
11208
|
instanceOfWebDocumentUploadInDTO,
|