@gemina/sdk 0.10.0 → 0.12.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.cjs
CHANGED
|
@@ -656,6 +656,11 @@ __export(index_exports, {
|
|
|
656
656
|
ValuesValueFromJSONTyped: () => ValuesValueFromJSONTyped,
|
|
657
657
|
ValuesValueToJSON: () => ValuesValueToJSON,
|
|
658
658
|
ValuesValueToJSONTyped: () => ValuesValueToJSONTyped,
|
|
659
|
+
VerifiedDiffEntryOutDTOFromJSON: () => VerifiedDiffEntryOutDTOFromJSON,
|
|
660
|
+
VerifiedDiffEntryOutDTOFromJSONTyped: () => VerifiedDiffEntryOutDTOFromJSONTyped,
|
|
661
|
+
VerifiedDiffEntryOutDTOStatusEnum: () => VerifiedDiffEntryOutDTOStatusEnum,
|
|
662
|
+
VerifiedDiffEntryOutDTOToJSON: () => VerifiedDiffEntryOutDTOToJSON,
|
|
663
|
+
VerifiedDiffEntryOutDTOToJSONTyped: () => VerifiedDiffEntryOutDTOToJSONTyped,
|
|
659
664
|
ViewMetaOutDTOFromJSON: () => ViewMetaOutDTOFromJSON,
|
|
660
665
|
ViewMetaOutDTOFromJSONTyped: () => ViewMetaOutDTOFromJSONTyped,
|
|
661
666
|
ViewMetaOutDTOToJSON: () => ViewMetaOutDTOToJSON,
|
|
@@ -816,6 +821,7 @@ __export(index_exports, {
|
|
|
816
821
|
instanceOfValue: () => instanceOfValue,
|
|
817
822
|
instanceOfValueAnyOfInner: () => instanceOfValueAnyOfInner,
|
|
818
823
|
instanceOfValuesValue: () => instanceOfValuesValue,
|
|
824
|
+
instanceOfVerifiedDiffEntryOutDTO: () => instanceOfVerifiedDiffEntryOutDTO,
|
|
819
825
|
instanceOfViewMetaOutDTO: () => instanceOfViewMetaOutDTO,
|
|
820
826
|
instanceOfVolumeDiscountTierOutDTO: () => instanceOfVolumeDiscountTierOutDTO,
|
|
821
827
|
instanceOfWebDocumentUploadInDTO: () => instanceOfWebDocumentUploadInDTO,
|
|
@@ -2253,6 +2259,48 @@ function DocumentViewMetaOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2253
2259
|
};
|
|
2254
2260
|
}
|
|
2255
2261
|
|
|
2262
|
+
// src/generated/models/VerifiedDiffEntryOutDTO.ts
|
|
2263
|
+
var VerifiedDiffEntryOutDTOStatusEnum = {
|
|
2264
|
+
Corrected: "corrected",
|
|
2265
|
+
Added: "added",
|
|
2266
|
+
Removed: "removed"
|
|
2267
|
+
};
|
|
2268
|
+
function instanceOfVerifiedDiffEntryOutDTO(value) {
|
|
2269
|
+
if (!("field" in value) || value["field"] === void 0) return false;
|
|
2270
|
+
if (!("status" in value) || value["status"] === void 0) return false;
|
|
2271
|
+
return true;
|
|
2272
|
+
}
|
|
2273
|
+
function VerifiedDiffEntryOutDTOFromJSON(json) {
|
|
2274
|
+
return VerifiedDiffEntryOutDTOFromJSONTyped(json, false);
|
|
2275
|
+
}
|
|
2276
|
+
function VerifiedDiffEntryOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
2277
|
+
if (json == null) {
|
|
2278
|
+
return json;
|
|
2279
|
+
}
|
|
2280
|
+
return {
|
|
2281
|
+
"field": json["field"],
|
|
2282
|
+
"original": json["original"] == null ? void 0 : json["original"],
|
|
2283
|
+
"pointer": json["pointer"] == null ? void 0 : json["pointer"],
|
|
2284
|
+
"status": json["status"],
|
|
2285
|
+
"verified": json["verified"] == null ? void 0 : json["verified"]
|
|
2286
|
+
};
|
|
2287
|
+
}
|
|
2288
|
+
function VerifiedDiffEntryOutDTOToJSON(json) {
|
|
2289
|
+
return VerifiedDiffEntryOutDTOToJSONTyped(json, false);
|
|
2290
|
+
}
|
|
2291
|
+
function VerifiedDiffEntryOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2292
|
+
if (value == null) {
|
|
2293
|
+
return value;
|
|
2294
|
+
}
|
|
2295
|
+
return {
|
|
2296
|
+
"field": value["field"],
|
|
2297
|
+
"original": value["original"],
|
|
2298
|
+
"pointer": value["pointer"],
|
|
2299
|
+
"status": value["status"],
|
|
2300
|
+
"verified": value["verified"]
|
|
2301
|
+
};
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2256
2304
|
// src/generated/models/PurgeReasonModel.ts
|
|
2257
2305
|
var PurgeReasonModel = {
|
|
2258
2306
|
UserDeleted: "user_deleted",
|
|
@@ -2538,6 +2586,7 @@ function ExtractionMetaOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2538
2586
|
"purgeReason": PurgeReasonModelFromJSON(json["purgeReason"]),
|
|
2539
2587
|
"purgedAt": json["purgedAt"] == null ? null : new Date(json["purgedAt"]),
|
|
2540
2588
|
"thinking": json["thinking"],
|
|
2589
|
+
"validated": json["validated"] == null ? void 0 : json["validated"],
|
|
2541
2590
|
"validationFeedback": json["validationFeedback"] == null ? void 0 : ValidationSchemaModelFromJSON(json["validationFeedback"])
|
|
2542
2591
|
};
|
|
2543
2592
|
}
|
|
@@ -2562,6 +2611,7 @@ function ExtractionMetaOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2562
2611
|
"purgeReason": PurgeReasonModelToJSON(value["purgeReason"]),
|
|
2563
2612
|
"purgedAt": value["purgedAt"] == null ? value["purgedAt"] : value["purgedAt"].toISOString(),
|
|
2564
2613
|
"thinking": value["thinking"],
|
|
2614
|
+
"validated": value["validated"],
|
|
2565
2615
|
"validationFeedback": ValidationSchemaModelToJSON(value["validationFeedback"])
|
|
2566
2616
|
};
|
|
2567
2617
|
}
|
|
@@ -2584,7 +2634,9 @@ function ExtractionProcessingResultOutDTOFromJSONTyped(json, ignoreDiscriminator
|
|
|
2584
2634
|
"errors": json["errors"] == null ? void 0 : json["errors"],
|
|
2585
2635
|
"meta": ExtractionMetaOutDTOFromJSON(json["meta"]),
|
|
2586
2636
|
"status": ResponseStatusFromJSON(json["status"]),
|
|
2587
|
-
"values": json["values"]
|
|
2637
|
+
"values": json["values"],
|
|
2638
|
+
"verifiedDiff": json["verifiedDiff"] == null ? void 0 : json["verifiedDiff"].map(VerifiedDiffEntryOutDTOFromJSON),
|
|
2639
|
+
"verifiedValues": json["verifiedValues"] == null ? void 0 : json["verifiedValues"]
|
|
2588
2640
|
};
|
|
2589
2641
|
}
|
|
2590
2642
|
function ExtractionProcessingResultOutDTOToJSON(json) {
|
|
@@ -2598,7 +2650,9 @@ function ExtractionProcessingResultOutDTOToJSONTyped(value, ignoreDiscriminator
|
|
|
2598
2650
|
"errors": value["errors"],
|
|
2599
2651
|
"meta": ExtractionMetaOutDTOToJSON(value["meta"]),
|
|
2600
2652
|
"status": ResponseStatusToJSON(value["status"]),
|
|
2601
|
-
"values": value["values"]
|
|
2653
|
+
"values": value["values"],
|
|
2654
|
+
"verifiedDiff": value["verifiedDiff"] == null ? void 0 : value["verifiedDiff"].map(VerifiedDiffEntryOutDTOToJSON),
|
|
2655
|
+
"verifiedValues": value["verifiedValues"]
|
|
2602
2656
|
};
|
|
2603
2657
|
}
|
|
2604
2658
|
|
|
@@ -3486,7 +3540,9 @@ function ExtractionPrimaryViewOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
3486
3540
|
"errors": json["errors"] == null ? void 0 : json["errors"],
|
|
3487
3541
|
"meta": ExtractionViewMetaOutDTOFromJSON(json["meta"]),
|
|
3488
3542
|
"status": ResponseStatusFromJSON(json["status"]),
|
|
3489
|
-
"values": json["values"]
|
|
3543
|
+
"values": json["values"],
|
|
3544
|
+
"verifiedDiff": json["verifiedDiff"] == null ? void 0 : json["verifiedDiff"].map(VerifiedDiffEntryOutDTOFromJSON),
|
|
3545
|
+
"verifiedValues": json["verifiedValues"] == null ? void 0 : json["verifiedValues"]
|
|
3490
3546
|
};
|
|
3491
3547
|
}
|
|
3492
3548
|
function ExtractionPrimaryViewOutDTOToJSON(json) {
|
|
@@ -3503,7 +3559,9 @@ function ExtractionPrimaryViewOutDTOToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
3503
3559
|
"errors": value["errors"],
|
|
3504
3560
|
"meta": ExtractionViewMetaOutDTOToJSON(value["meta"]),
|
|
3505
3561
|
"status": ResponseStatusToJSON(value["status"]),
|
|
3506
|
-
"values": value["values"]
|
|
3562
|
+
"values": value["values"],
|
|
3563
|
+
"verifiedDiff": value["verifiedDiff"] == null ? void 0 : value["verifiedDiff"].map(VerifiedDiffEntryOutDTOToJSON),
|
|
3564
|
+
"verifiedValues": value["verifiedValues"]
|
|
3507
3565
|
};
|
|
3508
3566
|
}
|
|
3509
3567
|
|
|
@@ -3842,7 +3900,9 @@ function ExtractionViewOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
3842
3900
|
"errors": json["errors"] == null ? void 0 : json["errors"],
|
|
3843
3901
|
"meta": ExtractionViewMetaOutDTOFromJSON(json["meta"]),
|
|
3844
3902
|
"status": ResponseStatusFromJSON(json["status"]),
|
|
3845
|
-
"values": json["values"]
|
|
3903
|
+
"values": json["values"],
|
|
3904
|
+
"verifiedDiff": json["verifiedDiff"] == null ? void 0 : json["verifiedDiff"].map(VerifiedDiffEntryOutDTOFromJSON),
|
|
3905
|
+
"verifiedValues": json["verifiedValues"] == null ? void 0 : json["verifiedValues"]
|
|
3846
3906
|
};
|
|
3847
3907
|
}
|
|
3848
3908
|
function ExtractionViewOutDTOToJSON(json) {
|
|
@@ -3857,7 +3917,9 @@ function ExtractionViewOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3857
3917
|
"errors": value["errors"],
|
|
3858
3918
|
"meta": ExtractionViewMetaOutDTOToJSON(value["meta"]),
|
|
3859
3919
|
"status": ResponseStatusToJSON(value["status"]),
|
|
3860
|
-
"values": value["values"]
|
|
3920
|
+
"values": value["values"],
|
|
3921
|
+
"verifiedDiff": value["verifiedDiff"] == null ? void 0 : value["verifiedDiff"].map(VerifiedDiffEntryOutDTOToJSON),
|
|
3922
|
+
"verifiedValues": value["verifiedValues"]
|
|
3861
3923
|
};
|
|
3862
3924
|
}
|
|
3863
3925
|
|
|
@@ -11170,7 +11232,7 @@ async function asProcessingErrorIfFailedResult(error) {
|
|
|
11170
11232
|
}
|
|
11171
11233
|
|
|
11172
11234
|
// src/version.ts
|
|
11173
|
-
var VERSION = "0.
|
|
11235
|
+
var VERSION = "0.12.0";
|
|
11174
11236
|
// Annotate the CommonJS export names for ESM import in node:
|
|
11175
11237
|
0 && (module.exports = {
|
|
11176
11238
|
AggregateMetaDTOFromJSON,
|
|
@@ -11809,6 +11871,11 @@ var VERSION = "0.10.0";
|
|
|
11809
11871
|
ValuesValueFromJSONTyped,
|
|
11810
11872
|
ValuesValueToJSON,
|
|
11811
11873
|
ValuesValueToJSONTyped,
|
|
11874
|
+
VerifiedDiffEntryOutDTOFromJSON,
|
|
11875
|
+
VerifiedDiffEntryOutDTOFromJSONTyped,
|
|
11876
|
+
VerifiedDiffEntryOutDTOStatusEnum,
|
|
11877
|
+
VerifiedDiffEntryOutDTOToJSON,
|
|
11878
|
+
VerifiedDiffEntryOutDTOToJSONTyped,
|
|
11812
11879
|
ViewMetaOutDTOFromJSON,
|
|
11813
11880
|
ViewMetaOutDTOFromJSONTyped,
|
|
11814
11881
|
ViewMetaOutDTOToJSON,
|
|
@@ -11969,6 +12036,7 @@ var VERSION = "0.10.0";
|
|
|
11969
12036
|
instanceOfValue,
|
|
11970
12037
|
instanceOfValueAnyOfInner,
|
|
11971
12038
|
instanceOfValuesValue,
|
|
12039
|
+
instanceOfVerifiedDiffEntryOutDTO,
|
|
11972
12040
|
instanceOfViewMetaOutDTO,
|
|
11973
12041
|
instanceOfVolumeDiscountTierOutDTO,
|
|
11974
12042
|
instanceOfWebDocumentUploadInDTO,
|