@quba/sensitive-data-protection 0.0.12 → 0.2.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 +59 -6
- package/dist/index.cjs +2908 -560
- package/dist/index.d.cts +3092 -764
- package/dist/index.d.mts +3092 -764
- package/dist/index.mjs +2593 -526
- package/docs/Action.md +33 -0
- package/docs/AnonymizeFileResponseBody.md +43 -0
- package/docs/AnonymizeRequestBody.md +4 -4
- package/docs/AnonymizeResponseBody.md +3 -1
- package/docs/{AnonymizeResponseBodySpansInner.md → Applied.md} +7 -4
- package/docs/At.md +37 -0
- package/docs/AttributeSegment.md +37 -0
- package/docs/{ValidationErrorLocInner.md → CellKind.md} +5 -4
- package/docs/CellNoteSegment.md +35 -0
- package/docs/CellSegment.md +43 -0
- package/docs/CommentKind.md +33 -0
- package/docs/CommentSegment.md +39 -0
- package/docs/ComponentSegment.md +39 -0
- package/docs/DetectRule.md +3 -1
- package/docs/ElementSegment.md +39 -0
- package/docs/EncryptRule.md +3 -1
- package/docs/{DetectRuleEntitiesInner.md → EndnoteSegment.md} +7 -6
- package/docs/{EntitiesAnyOfInner.md → EntityBody.md} +5 -4
- package/docs/ErrorCode.md +33 -0
- package/docs/ErrorInfo.md +39 -0
- package/docs/FieldError.md +51 -0
- package/docs/FieldErrorCode.md +33 -0
- package/docs/{HTTPValidationError.md → FieldErrorPathInner.md} +5 -6
- package/docs/FieldSegment.md +39 -0
- package/docs/FileAttributeResult.md +47 -0
- package/docs/FileEmbeddedResult.md +43 -0
- package/docs/FileModelResult.md +49 -0
- package/docs/{AnonymizeResponseBodyResultsInner.md → FileRegexResult.md} +11 -8
- package/docs/FileResult.md +51 -0
- package/docs/FootnoteSegment.md +37 -0
- package/docs/FrameSegment.md +37 -0
- package/docs/HMACRule.md +43 -0
- package/docs/HeaderFooterSegment.md +37 -0
- package/docs/IndexSegment.md +37 -0
- package/docs/ItemSegment.md +37 -0
- package/docs/KeySegment.md +37 -0
- package/docs/Kind.md +33 -0
- package/docs/LineSegment.md +39 -0
- package/docs/MaskRule.md +3 -1
- package/docs/ModelEntity.md +1 -1
- package/docs/ModelError.md +35 -0
- package/docs/ModelResult.md +3 -1
- package/docs/ModelStatus.md +45 -0
- package/docs/{Entities.md → ModelType.md} +5 -4
- package/docs/ParagraphKind.md +33 -0
- package/docs/ParagraphSegment.md +39 -0
- package/docs/PartSegment.md +39 -0
- package/docs/PathSegment.md +79 -0
- package/docs/PoliciesApi.md +10 -1
- package/docs/PolicyDocumentRulesInner.md +7 -1
- package/docs/{ValidationError.md → PropertySegment.md} +7 -12
- package/docs/PseudonymizeRule.md +41 -0
- package/docs/RangeKind.md +33 -0
- package/docs/RangeSegment.md +39 -0
- package/docs/RedactRule.md +3 -1
- package/docs/Refusal.md +36 -0
- package/docs/RegexResult.md +2 -0
- package/docs/RegionSegment.md +43 -0
- package/docs/ReplaceRule.md +3 -1
- package/docs/{AnonymizeRequestBodyRulesInner.md → RuleBody.md} +12 -5
- package/docs/SHA256Rule.md +3 -1
- package/docs/SHA512Rule.md +3 -1
- package/docs/ScanRequestBody.md +2 -0
- package/docs/ScanResponseBody.md +2 -0
- package/docs/SegmentSegment.md +39 -0
- package/docs/SensitiveDataProtectionApi.md +172 -4
- package/docs/ShapeKind.md +33 -0
- package/docs/ShapeSegment.md +41 -0
- package/docs/SheetSegment.md +39 -0
- package/docs/SlideSegment.md +41 -0
- package/docs/SpeakerNotesSegment.md +41 -0
- package/docs/TableSegment.md +37 -0
- package/docs/TagSegment.md +41 -0
- package/docs/TextSegment.md +39 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,44 +59,97 @@ All URIs are relative to *https://www.quba.co/api/sdp*
|
|
|
59
59
|
*PoliciesApi* | [**getPolicy**](docs/PoliciesApi.md#getpolicy) | **GET** /policies/{id} | Read a policy
|
|
60
60
|
*PoliciesApi* | [**listPolicies**](docs/PoliciesApi.md#listpolicies) | **GET** /policies | List policies
|
|
61
61
|
*PoliciesApi* | [**updatePolicy**](docs/PoliciesApi.md#updatepolicyoperation) | **PUT** /policies/{id} | Update a policy
|
|
62
|
+
*SensitiveDataProtectionApi* | [**anonymizeFile**](docs/SensitiveDataProtectionApi.md#anonymizefile) | **POST** /anonymize/file | Anonymize File
|
|
62
63
|
*SensitiveDataProtectionApi* | [**anonymizeText**](docs/SensitiveDataProtectionApi.md#anonymizetext) | **POST** /anonymize | Anonymize Text
|
|
63
64
|
*SensitiveDataProtectionApi* | [**healthCheck**](docs/SensitiveDataProtectionApi.md#healthcheck) | **GET** /health | Health
|
|
65
|
+
*SensitiveDataProtectionApi* | [**listModels**](docs/SensitiveDataProtectionApi.md#listmodels) | **GET** /models | List Models
|
|
64
66
|
*SensitiveDataProtectionApi* | [**scanText**](docs/SensitiveDataProtectionApi.md#scantext) | **POST** /scan | Scan Text
|
|
65
67
|
|
|
66
68
|
|
|
67
69
|
### Models
|
|
68
70
|
|
|
71
|
+
- [Action](docs/Action.md)
|
|
72
|
+
- [AnonymizeFileResponseBody](docs/AnonymizeFileResponseBody.md)
|
|
69
73
|
- [AnonymizeRequestBody](docs/AnonymizeRequestBody.md)
|
|
70
|
-
- [AnonymizeRequestBodyRulesInner](docs/AnonymizeRequestBodyRulesInner.md)
|
|
71
74
|
- [AnonymizeResponseBody](docs/AnonymizeResponseBody.md)
|
|
72
|
-
- [
|
|
75
|
+
- [Applied](docs/Applied.md)
|
|
76
|
+
- [At](docs/At.md)
|
|
77
|
+
- [AttributeSegment](docs/AttributeSegment.md)
|
|
78
|
+
- [CellKind](docs/CellKind.md)
|
|
79
|
+
- [CellNoteSegment](docs/CellNoteSegment.md)
|
|
80
|
+
- [CellSegment](docs/CellSegment.md)
|
|
81
|
+
- [CommentKind](docs/CommentKind.md)
|
|
82
|
+
- [CommentSegment](docs/CommentSegment.md)
|
|
83
|
+
- [ComponentSegment](docs/ComponentSegment.md)
|
|
73
84
|
- [CreatePolicyRequest](docs/CreatePolicyRequest.md)
|
|
74
85
|
- [DetectRule](docs/DetectRule.md)
|
|
75
|
-
- [
|
|
86
|
+
- [ElementSegment](docs/ElementSegment.md)
|
|
76
87
|
- [EncryptRule](docs/EncryptRule.md)
|
|
77
|
-
- [
|
|
88
|
+
- [EndnoteSegment](docs/EndnoteSegment.md)
|
|
89
|
+
- [EntityBody](docs/EntityBody.md)
|
|
90
|
+
- [ErrorCode](docs/ErrorCode.md)
|
|
91
|
+
- [ErrorInfo](docs/ErrorInfo.md)
|
|
92
|
+
- [FieldError](docs/FieldError.md)
|
|
93
|
+
- [FieldErrorCode](docs/FieldErrorCode.md)
|
|
94
|
+
- [FieldErrorPathInner](docs/FieldErrorPathInner.md)
|
|
95
|
+
- [FieldSegment](docs/FieldSegment.md)
|
|
96
|
+
- [FileAttributeResult](docs/FileAttributeResult.md)
|
|
97
|
+
- [FileEmbeddedResult](docs/FileEmbeddedResult.md)
|
|
98
|
+
- [FileModelResult](docs/FileModelResult.md)
|
|
99
|
+
- [FileRegexResult](docs/FileRegexResult.md)
|
|
100
|
+
- [FileResult](docs/FileResult.md)
|
|
101
|
+
- [FootnoteSegment](docs/FootnoteSegment.md)
|
|
102
|
+
- [FrameSegment](docs/FrameSegment.md)
|
|
103
|
+
- [HMACRule](docs/HMACRule.md)
|
|
104
|
+
- [HeaderFooterSegment](docs/HeaderFooterSegment.md)
|
|
105
|
+
- [IndexSegment](docs/IndexSegment.md)
|
|
106
|
+
- [ItemSegment](docs/ItemSegment.md)
|
|
107
|
+
- [KeySegment](docs/KeySegment.md)
|
|
108
|
+
- [Kind](docs/Kind.md)
|
|
109
|
+
- [LineSegment](docs/LineSegment.md)
|
|
78
110
|
- [ListPolicies200Response](docs/ListPolicies200Response.md)
|
|
79
111
|
- [MaskRule](docs/MaskRule.md)
|
|
80
112
|
- [ModelEntity](docs/ModelEntity.md)
|
|
113
|
+
- [ModelError](docs/ModelError.md)
|
|
81
114
|
- [ModelResult](docs/ModelResult.md)
|
|
115
|
+
- [ModelStatus](docs/ModelStatus.md)
|
|
116
|
+
- [ModelType](docs/ModelType.md)
|
|
117
|
+
- [ParagraphKind](docs/ParagraphKind.md)
|
|
118
|
+
- [ParagraphSegment](docs/ParagraphSegment.md)
|
|
119
|
+
- [PartSegment](docs/PartSegment.md)
|
|
120
|
+
- [PathSegment](docs/PathSegment.md)
|
|
82
121
|
- [Policy](docs/Policy.md)
|
|
83
122
|
- [PolicyDocument](docs/PolicyDocument.md)
|
|
84
123
|
- [PolicyDocumentRulesInner](docs/PolicyDocumentRulesInner.md)
|
|
85
124
|
- [PolicySummary](docs/PolicySummary.md)
|
|
125
|
+
- [PropertySegment](docs/PropertySegment.md)
|
|
126
|
+
- [PseudonymizeRule](docs/PseudonymizeRule.md)
|
|
127
|
+
- [RangeKind](docs/RangeKind.md)
|
|
128
|
+
- [RangeSegment](docs/RangeSegment.md)
|
|
86
129
|
- [RedactRule](docs/RedactRule.md)
|
|
130
|
+
- [Refusal](docs/Refusal.md)
|
|
87
131
|
- [RegexEntity](docs/RegexEntity.md)
|
|
88
132
|
- [RegexResult](docs/RegexResult.md)
|
|
133
|
+
- [RegionSegment](docs/RegionSegment.md)
|
|
89
134
|
- [ReplaceRule](docs/ReplaceRule.md)
|
|
135
|
+
- [RuleBody](docs/RuleBody.md)
|
|
90
136
|
- [SHA256Rule](docs/SHA256Rule.md)
|
|
91
137
|
- [SHA512Rule](docs/SHA512Rule.md)
|
|
92
138
|
- [ScanRequestBody](docs/ScanRequestBody.md)
|
|
93
139
|
- [ScanResponseBody](docs/ScanResponseBody.md)
|
|
94
140
|
- [ScanResult](docs/ScanResult.md)
|
|
141
|
+
- [SegmentSegment](docs/SegmentSegment.md)
|
|
142
|
+
- [ShapeKind](docs/ShapeKind.md)
|
|
143
|
+
- [ShapeSegment](docs/ShapeSegment.md)
|
|
144
|
+
- [SheetSegment](docs/SheetSegment.md)
|
|
145
|
+
- [SlideSegment](docs/SlideSegment.md)
|
|
146
|
+
- [SpeakerNotesSegment](docs/SpeakerNotesSegment.md)
|
|
147
|
+
- [TableSegment](docs/TableSegment.md)
|
|
148
|
+
- [TagSegment](docs/TagSegment.md)
|
|
95
149
|
- [TextRange](docs/TextRange.md)
|
|
150
|
+
- [TextSegment](docs/TextSegment.md)
|
|
96
151
|
- [UpdatePolicyRequest](docs/UpdatePolicyRequest.md)
|
|
97
152
|
- [Usage](docs/Usage.md)
|
|
98
|
-
- [ValidationError](docs/ValidationError.md)
|
|
99
|
-
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
|
|
100
153
|
|
|
101
154
|
### Authorization
|
|
102
155
|
|