@quba/sensitive-data-protection 0.0.6 → 0.0.7
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 +4 -4
- package/dist/index.cjs +174 -133
- package/dist/index.d.cts +116 -82
- package/dist/index.d.mts +116 -82
- package/dist/index.mjs +154 -118
- package/docs/AnonymizeRequestBody.md +2 -0
- package/docs/AnonymizeResponseBody.md +2 -2
- package/docs/{MapValueInner.md → AnonymizeResponseBodySpansInner.md} +10 -10
- package/docs/ModelResult.md +45 -0
- package/docs/{ModelSpan.md → RegexResult.md} +11 -13
- package/docs/{RegexSpan.md → TextRange.md} +5 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,23 +60,23 @@ All URIs are relative to *https://app.quba.ae/api/sdp*
|
|
|
60
60
|
- [AnonymizeRequestBody](docs/AnonymizeRequestBody.md)
|
|
61
61
|
- [AnonymizeRequestBodyRulesInner](docs/AnonymizeRequestBodyRulesInner.md)
|
|
62
62
|
- [AnonymizeResponseBody](docs/AnonymizeResponseBody.md)
|
|
63
|
+
- [AnonymizeResponseBodySpansInner](docs/AnonymizeResponseBodySpansInner.md)
|
|
63
64
|
- [EncryptRule](docs/EncryptRule.md)
|
|
64
65
|
- [Entities](docs/Entities.md)
|
|
65
66
|
- [EntitiesAnyOfInner](docs/EntitiesAnyOfInner.md)
|
|
66
67
|
- [HTTPValidationError](docs/HTTPValidationError.md)
|
|
67
|
-
- [MapValueInner](docs/MapValueInner.md)
|
|
68
68
|
- [MaskRule](docs/MaskRule.md)
|
|
69
69
|
- [ModelEntity](docs/ModelEntity.md)
|
|
70
|
-
- [
|
|
70
|
+
- [ModelResult](docs/ModelResult.md)
|
|
71
71
|
- [RedactRule](docs/RedactRule.md)
|
|
72
72
|
- [RegexEntity](docs/RegexEntity.md)
|
|
73
|
-
- [
|
|
73
|
+
- [RegexResult](docs/RegexResult.md)
|
|
74
74
|
- [ReplaceRule](docs/ReplaceRule.md)
|
|
75
75
|
- [SHA256Rule](docs/SHA256Rule.md)
|
|
76
76
|
- [SHA512Rule](docs/SHA512Rule.md)
|
|
77
77
|
- [ScanRequestBody](docs/ScanRequestBody.md)
|
|
78
78
|
- [ScanResponseBody](docs/ScanResponseBody.md)
|
|
79
79
|
- [ScanResult](docs/ScanResult.md)
|
|
80
|
+
- [TextRange](docs/TextRange.md)
|
|
80
81
|
- [ValidationError](docs/ValidationError.md)
|
|
81
82
|
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
|
|
82
|
-
|
package/dist/index.cjs
CHANGED
|
@@ -548,7 +548,8 @@ function AnonymizeRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
548
548
|
if (json == null) return json;
|
|
549
549
|
return {
|
|
550
550
|
"text": json["text"],
|
|
551
|
-
"rules": json["rules"].map(AnonymizeRequestBodyRulesInnerFromJSON)
|
|
551
|
+
"rules": json["rules"].map(AnonymizeRequestBodyRulesInnerFromJSON),
|
|
552
|
+
"confidence_threshold": json["confidence_threshold"] == null ? void 0 : json["confidence_threshold"]
|
|
552
553
|
};
|
|
553
554
|
}
|
|
554
555
|
function AnonymizeRequestBodyToJSON(json) {
|
|
@@ -558,10 +559,158 @@ function AnonymizeRequestBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
558
559
|
if (value == null) return value;
|
|
559
560
|
return {
|
|
560
561
|
"text": value["text"],
|
|
561
|
-
"rules": value["rules"].map(AnonymizeRequestBodyRulesInnerToJSON)
|
|
562
|
+
"rules": value["rules"].map(AnonymizeRequestBodyRulesInnerToJSON),
|
|
563
|
+
"confidence_threshold": value["confidence_threshold"]
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
//#endregion
|
|
568
|
+
//#region src/models/TextRange.ts
|
|
569
|
+
/**
|
|
570
|
+
* Check if a given object implements the TextRange interface.
|
|
571
|
+
*/
|
|
572
|
+
function instanceOfTextRange(value) {
|
|
573
|
+
if (!("start" in value) || value["start"] === void 0) return false;
|
|
574
|
+
if (!("end" in value) || value["end"] === void 0) return false;
|
|
575
|
+
if (!("value" in value) || value["value"] === void 0) return false;
|
|
576
|
+
return true;
|
|
577
|
+
}
|
|
578
|
+
function TextRangeFromJSON(json) {
|
|
579
|
+
return TextRangeFromJSONTyped(json, false);
|
|
580
|
+
}
|
|
581
|
+
function TextRangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
582
|
+
if (json == null) return json;
|
|
583
|
+
return {
|
|
584
|
+
"start": json["start"],
|
|
585
|
+
"end": json["end"],
|
|
586
|
+
"value": json["value"]
|
|
587
|
+
};
|
|
588
|
+
}
|
|
589
|
+
function TextRangeToJSON(json) {
|
|
590
|
+
return TextRangeToJSONTyped(json, false);
|
|
591
|
+
}
|
|
592
|
+
function TextRangeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
593
|
+
if (value == null) return value;
|
|
594
|
+
return {
|
|
595
|
+
"start": value["start"],
|
|
596
|
+
"end": value["end"],
|
|
597
|
+
"value": value["value"]
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
//#endregion
|
|
602
|
+
//#region src/models/ModelResult.ts
|
|
603
|
+
/**
|
|
604
|
+
* @export
|
|
605
|
+
*/
|
|
606
|
+
const ModelResultTypeEnum = { model: "model" };
|
|
607
|
+
/**
|
|
608
|
+
* Check if a given object implements the ModelResult interface.
|
|
609
|
+
*/
|
|
610
|
+
function instanceOfModelResult(value) {
|
|
611
|
+
if (!("rule" in value) || value["rule"] === void 0) return false;
|
|
612
|
+
if (!("value" in value) || value["value"] === void 0) return false;
|
|
613
|
+
if (!("input" in value) || value["input"] === void 0) return false;
|
|
614
|
+
if (!("output" in value) || value["output"] === void 0) return false;
|
|
615
|
+
return true;
|
|
616
|
+
}
|
|
617
|
+
function ModelResultFromJSON(json) {
|
|
618
|
+
return ModelResultFromJSONTyped(json, false);
|
|
619
|
+
}
|
|
620
|
+
function ModelResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
621
|
+
if (json == null) return json;
|
|
622
|
+
return {
|
|
623
|
+
"type": json["type"] == null ? void 0 : json["type"],
|
|
624
|
+
"rule": json["rule"],
|
|
625
|
+
"value": json["value"],
|
|
626
|
+
"input": TextRangeFromJSON(json["input"]),
|
|
627
|
+
"output": TextRangeFromJSON(json["output"]),
|
|
628
|
+
"score": json["score"] == null ? void 0 : json["score"]
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
function ModelResultToJSON(json) {
|
|
632
|
+
return ModelResultToJSONTyped(json, false);
|
|
633
|
+
}
|
|
634
|
+
function ModelResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
635
|
+
if (value == null) return value;
|
|
636
|
+
return {
|
|
637
|
+
"type": value["type"],
|
|
638
|
+
"rule": value["rule"],
|
|
639
|
+
"value": value["value"],
|
|
640
|
+
"input": TextRangeToJSON(value["input"]),
|
|
641
|
+
"output": TextRangeToJSON(value["output"]),
|
|
642
|
+
"score": value["score"]
|
|
562
643
|
};
|
|
563
644
|
}
|
|
564
645
|
|
|
646
|
+
//#endregion
|
|
647
|
+
//#region src/models/RegexResult.ts
|
|
648
|
+
/**
|
|
649
|
+
* @export
|
|
650
|
+
*/
|
|
651
|
+
const RegexResultTypeEnum = { regex: "regex" };
|
|
652
|
+
/**
|
|
653
|
+
* Check if a given object implements the RegexResult interface.
|
|
654
|
+
*/
|
|
655
|
+
function instanceOfRegexResult(value) {
|
|
656
|
+
if (!("rule" in value) || value["rule"] === void 0) return false;
|
|
657
|
+
if (!("value" in value) || value["value"] === void 0) return false;
|
|
658
|
+
if (!("input" in value) || value["input"] === void 0) return false;
|
|
659
|
+
if (!("output" in value) || value["output"] === void 0) return false;
|
|
660
|
+
return true;
|
|
661
|
+
}
|
|
662
|
+
function RegexResultFromJSON(json) {
|
|
663
|
+
return RegexResultFromJSONTyped(json, false);
|
|
664
|
+
}
|
|
665
|
+
function RegexResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
666
|
+
if (json == null) return json;
|
|
667
|
+
return {
|
|
668
|
+
"type": json["type"] == null ? void 0 : json["type"],
|
|
669
|
+
"rule": json["rule"],
|
|
670
|
+
"value": json["value"],
|
|
671
|
+
"input": TextRangeFromJSON(json["input"]),
|
|
672
|
+
"output": TextRangeFromJSON(json["output"])
|
|
673
|
+
};
|
|
674
|
+
}
|
|
675
|
+
function RegexResultToJSON(json) {
|
|
676
|
+
return RegexResultToJSONTyped(json, false);
|
|
677
|
+
}
|
|
678
|
+
function RegexResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
679
|
+
if (value == null) return value;
|
|
680
|
+
return {
|
|
681
|
+
"type": value["type"],
|
|
682
|
+
"rule": value["rule"],
|
|
683
|
+
"value": value["value"],
|
|
684
|
+
"input": TextRangeToJSON(value["input"]),
|
|
685
|
+
"output": TextRangeToJSON(value["output"])
|
|
686
|
+
};
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
//#endregion
|
|
690
|
+
//#region src/models/AnonymizeResponseBodySpansInner.ts
|
|
691
|
+
function AnonymizeResponseBodySpansInnerFromJSON(json) {
|
|
692
|
+
return AnonymizeResponseBodySpansInnerFromJSONTyped(json, false);
|
|
693
|
+
}
|
|
694
|
+
function AnonymizeResponseBodySpansInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
695
|
+
if (json == null) return json;
|
|
696
|
+
switch (json["type"]) {
|
|
697
|
+
case "model": return Object.assign({}, ModelResultFromJSONTyped(json, true), { type: "model" });
|
|
698
|
+
case "regex": return Object.assign({}, RegexResultFromJSONTyped(json, true), { type: "regex" });
|
|
699
|
+
default: return json;
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
function AnonymizeResponseBodySpansInnerToJSON(json) {
|
|
703
|
+
return AnonymizeResponseBodySpansInnerToJSONTyped(json, false);
|
|
704
|
+
}
|
|
705
|
+
function AnonymizeResponseBodySpansInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
706
|
+
if (value == null) return value;
|
|
707
|
+
switch (value["type"]) {
|
|
708
|
+
case "model": return Object.assign({}, ModelResultToJSON(value), { type: "model" });
|
|
709
|
+
case "regex": return Object.assign({}, RegexResultToJSON(value), { type: "regex" });
|
|
710
|
+
default: return value;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
|
|
565
714
|
//#endregion
|
|
566
715
|
//#region src/models/AnonymizeResponseBody.ts
|
|
567
716
|
/**
|
|
@@ -578,7 +727,7 @@ function AnonymizeResponseBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
578
727
|
if (json == null) return json;
|
|
579
728
|
return {
|
|
580
729
|
"text": json["text"],
|
|
581
|
-
"
|
|
730
|
+
"spans": json["spans"] == null ? void 0 : json["spans"].map(AnonymizeResponseBodySpansInnerFromJSON)
|
|
582
731
|
};
|
|
583
732
|
}
|
|
584
733
|
function AnonymizeResponseBodyToJSON(json) {
|
|
@@ -588,7 +737,7 @@ function AnonymizeResponseBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
588
737
|
if (value == null) return value;
|
|
589
738
|
return {
|
|
590
739
|
"text": value["text"],
|
|
591
|
-
"
|
|
740
|
+
"spans": value["spans"] == null ? void 0 : value["spans"].map(AnonymizeResponseBodySpansInnerToJSON)
|
|
592
741
|
};
|
|
593
742
|
}
|
|
594
743
|
|
|
@@ -763,119 +912,6 @@ function HTTPValidationErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
763
912
|
return { "detail": value["detail"] == null ? void 0 : value["detail"].map(ValidationErrorToJSON) };
|
|
764
913
|
}
|
|
765
914
|
|
|
766
|
-
//#endregion
|
|
767
|
-
//#region src/models/ModelSpan.ts
|
|
768
|
-
/**
|
|
769
|
-
* @export
|
|
770
|
-
*/
|
|
771
|
-
const ModelSpanTypeEnum = { model: "model" };
|
|
772
|
-
/**
|
|
773
|
-
* Check if a given object implements the ModelSpan interface.
|
|
774
|
-
*/
|
|
775
|
-
function instanceOfModelSpan(value) {
|
|
776
|
-
if (!("start" in value) || value["start"] === void 0) return false;
|
|
777
|
-
if (!("end" in value) || value["end"] === void 0) return false;
|
|
778
|
-
if (!("value" in value) || value["value"] === void 0) return false;
|
|
779
|
-
if (!("text" in value) || value["text"] === void 0) return false;
|
|
780
|
-
return true;
|
|
781
|
-
}
|
|
782
|
-
function ModelSpanFromJSON(json) {
|
|
783
|
-
return ModelSpanFromJSONTyped(json, false);
|
|
784
|
-
}
|
|
785
|
-
function ModelSpanFromJSONTyped(json, ignoreDiscriminator) {
|
|
786
|
-
if (json == null) return json;
|
|
787
|
-
return {
|
|
788
|
-
"type": json["type"] == null ? void 0 : json["type"],
|
|
789
|
-
"start": json["start"],
|
|
790
|
-
"end": json["end"],
|
|
791
|
-
"value": json["value"],
|
|
792
|
-
"text": json["text"],
|
|
793
|
-
"score": json["score"] == null ? void 0 : json["score"]
|
|
794
|
-
};
|
|
795
|
-
}
|
|
796
|
-
function ModelSpanToJSON(json) {
|
|
797
|
-
return ModelSpanToJSONTyped(json, false);
|
|
798
|
-
}
|
|
799
|
-
function ModelSpanToJSONTyped(value, ignoreDiscriminator = false) {
|
|
800
|
-
if (value == null) return value;
|
|
801
|
-
return {
|
|
802
|
-
"type": value["type"],
|
|
803
|
-
"start": value["start"],
|
|
804
|
-
"end": value["end"],
|
|
805
|
-
"value": value["value"],
|
|
806
|
-
"text": value["text"],
|
|
807
|
-
"score": value["score"]
|
|
808
|
-
};
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
//#endregion
|
|
812
|
-
//#region src/models/RegexSpan.ts
|
|
813
|
-
/**
|
|
814
|
-
* @export
|
|
815
|
-
*/
|
|
816
|
-
const RegexSpanTypeEnum = { regex: "regex" };
|
|
817
|
-
/**
|
|
818
|
-
* Check if a given object implements the RegexSpan interface.
|
|
819
|
-
*/
|
|
820
|
-
function instanceOfRegexSpan(value) {
|
|
821
|
-
if (!("start" in value) || value["start"] === void 0) return false;
|
|
822
|
-
if (!("end" in value) || value["end"] === void 0) return false;
|
|
823
|
-
if (!("value" in value) || value["value"] === void 0) return false;
|
|
824
|
-
if (!("text" in value) || value["text"] === void 0) return false;
|
|
825
|
-
return true;
|
|
826
|
-
}
|
|
827
|
-
function RegexSpanFromJSON(json) {
|
|
828
|
-
return RegexSpanFromJSONTyped(json, false);
|
|
829
|
-
}
|
|
830
|
-
function RegexSpanFromJSONTyped(json, ignoreDiscriminator) {
|
|
831
|
-
if (json == null) return json;
|
|
832
|
-
return {
|
|
833
|
-
"type": json["type"] == null ? void 0 : json["type"],
|
|
834
|
-
"start": json["start"],
|
|
835
|
-
"end": json["end"],
|
|
836
|
-
"value": json["value"],
|
|
837
|
-
"text": json["text"]
|
|
838
|
-
};
|
|
839
|
-
}
|
|
840
|
-
function RegexSpanToJSON(json) {
|
|
841
|
-
return RegexSpanToJSONTyped(json, false);
|
|
842
|
-
}
|
|
843
|
-
function RegexSpanToJSONTyped(value, ignoreDiscriminator = false) {
|
|
844
|
-
if (value == null) return value;
|
|
845
|
-
return {
|
|
846
|
-
"type": value["type"],
|
|
847
|
-
"start": value["start"],
|
|
848
|
-
"end": value["end"],
|
|
849
|
-
"value": value["value"],
|
|
850
|
-
"text": value["text"]
|
|
851
|
-
};
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
//#endregion
|
|
855
|
-
//#region src/models/MapValueInner.ts
|
|
856
|
-
function MapValueInnerFromJSON(json) {
|
|
857
|
-
return MapValueInnerFromJSONTyped(json, false);
|
|
858
|
-
}
|
|
859
|
-
function MapValueInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
860
|
-
if (json == null) return json;
|
|
861
|
-
switch (json["type"]) {
|
|
862
|
-
case "model": return Object.assign({}, ModelSpanFromJSONTyped(json, true), { type: "model" });
|
|
863
|
-
case "regex": return Object.assign({}, RegexSpanFromJSONTyped(json, true), { type: "regex" });
|
|
864
|
-
default: return json;
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
function MapValueInnerToJSON(json) {
|
|
868
|
-
return MapValueInnerToJSONTyped(json, false);
|
|
869
|
-
}
|
|
870
|
-
function MapValueInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
871
|
-
if (value == null) return value;
|
|
872
|
-
switch (value["type"]) {
|
|
873
|
-
case "model": return Object.assign({}, ModelSpanToJSON(value), { type: "model" });
|
|
874
|
-
case "regex": return Object.assign({}, RegexSpanToJSON(value), { type: "regex" });
|
|
875
|
-
default: return value;
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
|
|
879
915
|
//#endregion
|
|
880
916
|
//#region src/models/ScanRequestBody.ts
|
|
881
917
|
/**
|
|
@@ -1072,6 +1108,10 @@ exports.AnonymizeRequestBodyToJSON = AnonymizeRequestBodyToJSON;
|
|
|
1072
1108
|
exports.AnonymizeRequestBodyToJSONTyped = AnonymizeRequestBodyToJSONTyped;
|
|
1073
1109
|
exports.AnonymizeResponseBodyFromJSON = AnonymizeResponseBodyFromJSON;
|
|
1074
1110
|
exports.AnonymizeResponseBodyFromJSONTyped = AnonymizeResponseBodyFromJSONTyped;
|
|
1111
|
+
exports.AnonymizeResponseBodySpansInnerFromJSON = AnonymizeResponseBodySpansInnerFromJSON;
|
|
1112
|
+
exports.AnonymizeResponseBodySpansInnerFromJSONTyped = AnonymizeResponseBodySpansInnerFromJSONTyped;
|
|
1113
|
+
exports.AnonymizeResponseBodySpansInnerToJSON = AnonymizeResponseBodySpansInnerToJSON;
|
|
1114
|
+
exports.AnonymizeResponseBodySpansInnerToJSONTyped = AnonymizeResponseBodySpansInnerToJSONTyped;
|
|
1075
1115
|
exports.AnonymizeResponseBodyToJSON = AnonymizeResponseBodyToJSON;
|
|
1076
1116
|
exports.AnonymizeResponseBodyToJSONTyped = AnonymizeResponseBodyToJSONTyped;
|
|
1077
1117
|
exports.BASE_PATH = BASE_PATH;
|
|
@@ -1099,10 +1139,6 @@ exports.HTTPValidationErrorFromJSONTyped = HTTPValidationErrorFromJSONTyped;
|
|
|
1099
1139
|
exports.HTTPValidationErrorToJSON = HTTPValidationErrorToJSON;
|
|
1100
1140
|
exports.HTTPValidationErrorToJSONTyped = HTTPValidationErrorToJSONTyped;
|
|
1101
1141
|
exports.JSONApiResponse = JSONApiResponse;
|
|
1102
|
-
exports.MapValueInnerFromJSON = MapValueInnerFromJSON;
|
|
1103
|
-
exports.MapValueInnerFromJSONTyped = MapValueInnerFromJSONTyped;
|
|
1104
|
-
exports.MapValueInnerToJSON = MapValueInnerToJSON;
|
|
1105
|
-
exports.MapValueInnerToJSONTyped = MapValueInnerToJSONTyped;
|
|
1106
1142
|
exports.MaskRuleFromJSON = MaskRuleFromJSON;
|
|
1107
1143
|
exports.MaskRuleFromJSONTyped = MaskRuleFromJSONTyped;
|
|
1108
1144
|
exports.MaskRuleToJSON = MaskRuleToJSON;
|
|
@@ -1113,11 +1149,11 @@ exports.ModelEntityFromJSONTyped = ModelEntityFromJSONTyped;
|
|
|
1113
1149
|
exports.ModelEntityToJSON = ModelEntityToJSON;
|
|
1114
1150
|
exports.ModelEntityToJSONTyped = ModelEntityToJSONTyped;
|
|
1115
1151
|
exports.ModelEntityTypeEnum = ModelEntityTypeEnum;
|
|
1116
|
-
exports.
|
|
1117
|
-
exports.
|
|
1118
|
-
exports.
|
|
1119
|
-
exports.
|
|
1120
|
-
exports.
|
|
1152
|
+
exports.ModelResultFromJSON = ModelResultFromJSON;
|
|
1153
|
+
exports.ModelResultFromJSONTyped = ModelResultFromJSONTyped;
|
|
1154
|
+
exports.ModelResultToJSON = ModelResultToJSON;
|
|
1155
|
+
exports.ModelResultToJSONTyped = ModelResultToJSONTyped;
|
|
1156
|
+
exports.ModelResultTypeEnum = ModelResultTypeEnum;
|
|
1121
1157
|
exports.RedactRuleFromJSON = RedactRuleFromJSON;
|
|
1122
1158
|
exports.RedactRuleFromJSONTyped = RedactRuleFromJSONTyped;
|
|
1123
1159
|
exports.RedactRuleToJSON = RedactRuleToJSON;
|
|
@@ -1128,11 +1164,11 @@ exports.RegexEntityFromJSONTyped = RegexEntityFromJSONTyped;
|
|
|
1128
1164
|
exports.RegexEntityToJSON = RegexEntityToJSON;
|
|
1129
1165
|
exports.RegexEntityToJSONTyped = RegexEntityToJSONTyped;
|
|
1130
1166
|
exports.RegexEntityTypeEnum = RegexEntityTypeEnum;
|
|
1131
|
-
exports.
|
|
1132
|
-
exports.
|
|
1133
|
-
exports.
|
|
1134
|
-
exports.
|
|
1135
|
-
exports.
|
|
1167
|
+
exports.RegexResultFromJSON = RegexResultFromJSON;
|
|
1168
|
+
exports.RegexResultFromJSONTyped = RegexResultFromJSONTyped;
|
|
1169
|
+
exports.RegexResultToJSON = RegexResultToJSON;
|
|
1170
|
+
exports.RegexResultToJSONTyped = RegexResultToJSONTyped;
|
|
1171
|
+
exports.RegexResultTypeEnum = RegexResultTypeEnum;
|
|
1136
1172
|
exports.ReplaceRuleFromJSON = ReplaceRuleFromJSON;
|
|
1137
1173
|
exports.ReplaceRuleFromJSONTyped = ReplaceRuleFromJSONTyped;
|
|
1138
1174
|
exports.ReplaceRuleToJSON = ReplaceRuleToJSON;
|
|
@@ -1164,6 +1200,10 @@ exports.ScanResultToJSON = ScanResultToJSON;
|
|
|
1164
1200
|
exports.ScanResultToJSONTyped = ScanResultToJSONTyped;
|
|
1165
1201
|
exports.SensitiveDataProtectionApi = SensitiveDataProtectionApi;
|
|
1166
1202
|
exports.TextApiResponse = TextApiResponse;
|
|
1203
|
+
exports.TextRangeFromJSON = TextRangeFromJSON;
|
|
1204
|
+
exports.TextRangeFromJSONTyped = TextRangeFromJSONTyped;
|
|
1205
|
+
exports.TextRangeToJSON = TextRangeToJSON;
|
|
1206
|
+
exports.TextRangeToJSONTyped = TextRangeToJSONTyped;
|
|
1167
1207
|
exports.ValidationErrorFromJSON = ValidationErrorFromJSON;
|
|
1168
1208
|
exports.ValidationErrorFromJSONTyped = ValidationErrorFromJSONTyped;
|
|
1169
1209
|
exports.ValidationErrorLocInnerFromJSON = ValidationErrorLocInnerFromJSON;
|
|
@@ -1182,16 +1222,17 @@ exports.instanceOfEntities = instanceOfEntities;
|
|
|
1182
1222
|
exports.instanceOfHTTPValidationError = instanceOfHTTPValidationError;
|
|
1183
1223
|
exports.instanceOfMaskRule = instanceOfMaskRule;
|
|
1184
1224
|
exports.instanceOfModelEntity = instanceOfModelEntity;
|
|
1185
|
-
exports.
|
|
1225
|
+
exports.instanceOfModelResult = instanceOfModelResult;
|
|
1186
1226
|
exports.instanceOfRedactRule = instanceOfRedactRule;
|
|
1187
1227
|
exports.instanceOfRegexEntity = instanceOfRegexEntity;
|
|
1188
|
-
exports.
|
|
1228
|
+
exports.instanceOfRegexResult = instanceOfRegexResult;
|
|
1189
1229
|
exports.instanceOfReplaceRule = instanceOfReplaceRule;
|
|
1190
1230
|
exports.instanceOfSHA256Rule = instanceOfSHA256Rule;
|
|
1191
1231
|
exports.instanceOfSHA512Rule = instanceOfSHA512Rule;
|
|
1192
1232
|
exports.instanceOfScanRequestBody = instanceOfScanRequestBody;
|
|
1193
1233
|
exports.instanceOfScanResponseBody = instanceOfScanResponseBody;
|
|
1194
1234
|
exports.instanceOfScanResult = instanceOfScanResult;
|
|
1235
|
+
exports.instanceOfTextRange = instanceOfTextRange;
|
|
1195
1236
|
exports.instanceOfValidationError = instanceOfValidationError;
|
|
1196
1237
|
exports.instanceOfValidationErrorLocInner = instanceOfValidationErrorLocInner;
|
|
1197
1238
|
exports.mapValues = mapValues;
|