|
3 | 3 | # isort: skip_file |
4 | 4 |
|
5 | 5 | from .types import ( |
6 | | - AllowRegex, |
7 | 6 | AuditEventAuditResourceType, |
8 | 7 | AuditEventContext, |
9 | 8 | AuditEventData, |
10 | 9 | AuditEventHttpInfo, |
11 | 10 | BatchRecordMethod, |
12 | | - CheckGuardrailsResponse, |
13 | | - CheckGuardrailsResponseValidation, |
14 | | - ConfigurationId, |
15 | 11 | ContextAccessType, |
16 | 12 | ContextAuthMode, |
17 | | - DeidentifyFileOutput, |
18 | | - DeidentifyFileOutputProcessedFileType, |
| 13 | + DeidentifiedFileOutput, |
| 14 | + DeidentifiedFileOutputProcessedFileExtension, |
| 15 | + DeidentifiedFileOutputProcessedFileType, |
19 | 16 | DeidentifyFileResponse, |
20 | | - DeidentifyStatusResponse, |
21 | | - DeidentifyStatusResponseOutputType, |
22 | | - DeidentifyStatusResponseStatus, |
23 | 17 | DeidentifyStringResponse, |
24 | | - DetectedEntity, |
| 18 | + DetectGuardrailsResponse, |
| 19 | + DetectGuardrailsResponseValidation, |
| 20 | + DetectRunsResponse, |
| 21 | + DetectRunsResponseOutputType, |
| 22 | + DetectRunsResponseStatus, |
25 | 23 | DetokenizeRecordResponseValueType, |
26 | | - EntityLocation, |
27 | | - EntityType, |
28 | | - EntityTypes, |
29 | 24 | ErrorResponse, |
30 | 25 | ErrorResponseError, |
31 | | - ErrorString, |
| 26 | + FileData, |
| 27 | + FileDataDataFormat, |
| 28 | + FileDataDeidentifyAudio, |
| 29 | + FileDataDeidentifyAudioDataFormat, |
| 30 | + FileDataDeidentifyDocument, |
| 31 | + FileDataDeidentifyDocumentDataFormat, |
| 32 | + FileDataDeidentifyImage, |
| 33 | + FileDataDeidentifyImageDataFormat, |
| 34 | + FileDataDeidentifyPdf, |
| 35 | + FileDataDeidentifyPresentation, |
| 36 | + FileDataDeidentifyPresentationDataFormat, |
| 37 | + FileDataDeidentifySpreadsheet, |
| 38 | + FileDataDeidentifySpreadsheetDataFormat, |
| 39 | + FileDataDeidentifyStructuredText, |
| 40 | + FileDataDeidentifyStructuredTextDataFormat, |
| 41 | + FileDataDeidentifyText, |
| 42 | + FileDataReidentifyFile, |
| 43 | + FileDataReidentifyFileDataFormat, |
| 44 | + Format, |
| 45 | + FormatMaskedItem, |
| 46 | + FormatPlaintextItem, |
| 47 | + FormatRedactedItem, |
32 | 48 | GooglerpcStatus, |
| 49 | + HttpCode, |
| 50 | + IdentifyResponse, |
33 | 51 | ProtobufAny, |
34 | 52 | RedactionEnumRedaction, |
| 53 | + ReidentifiedFileOutput, |
| 54 | + ReidentifiedFileOutputProcessedFileExtension, |
35 | 55 | ReidentifyFileResponse, |
36 | | - ReidentifyFileResponseOutput, |
| 56 | + ReidentifyFileResponseOutputType, |
37 | 57 | ReidentifyFileResponseStatus, |
38 | | - ReidentifyStringResponse, |
39 | 58 | RequestActionType, |
40 | 59 | ResourceId, |
41 | | - RestrictRegex, |
42 | | - TokenType, |
43 | | - TokenTypeDefault, |
44 | | - TokenTypeWithoutVault, |
45 | | - TokenTypeWithoutVaultDefault, |
| 60 | + ShiftDates, |
| 61 | + ShiftDatesEntityTypesItem, |
| 62 | + StringResponseEntities, |
| 63 | + TokenTypeMapping, |
| 64 | + TokenTypeMappingDefault, |
| 65 | + TokenTypeMappingEntityOnlyItem, |
| 66 | + TokenTypeMappingEntityUnqCounterItem, |
| 67 | + TokenTypeMappingVaultTokenItem, |
46 | 68 | Transformations, |
47 | | - TransformationsShiftDates, |
48 | | - TransformationsShiftDatesEntityTypesItem, |
49 | 69 | UploadFileV2Response, |
50 | 70 | Uuid, |
51 | 71 | V1AuditAfterOptions, |
|
79 | 99 | V1UpdateRecordResponse, |
80 | 100 | V1VaultFieldMapping, |
81 | 101 | V1VaultSchemaConfig, |
82 | | - VaultId, |
| 102 | + WordCharacterCount, |
83 | 103 | ) |
84 | 104 | from .errors import BadRequestError, InternalServerError, NotFoundError, UnauthorizedError |
85 | 105 | from . import audit, authentication, bin_lookup, files, guardrails, query, records, strings, tokens |
|
94 | 114 | from .client import AsyncSkyflow, Skyflow |
95 | 115 | from .environment import SkyflowEnvironment |
96 | 116 | from .files import ( |
97 | | - DeidentifyAudioRequestFile, |
98 | | - DeidentifyAudioRequestFileDataFormat, |
99 | | - DeidentifyAudioRequestOutputTranscription, |
100 | | - DeidentifyDocumentRequestFile, |
101 | | - DeidentifyDocumentRequestFileDataFormat, |
102 | | - DeidentifyFileRequestFile, |
103 | | - DeidentifyFileRequestFileDataFormat, |
104 | | - DeidentifyImageRequestFile, |
105 | | - DeidentifyImageRequestFileDataFormat, |
106 | | - DeidentifyImageRequestMaskingMethod, |
107 | | - DeidentifyPdfRequestFile, |
108 | | - DeidentifyPresentationRequestFile, |
109 | | - DeidentifyPresentationRequestFileDataFormat, |
110 | | - DeidentifySpreadsheetRequestFile, |
111 | | - DeidentifySpreadsheetRequestFileDataFormat, |
112 | | - DeidentifyStructuredTextRequestFile, |
113 | | - DeidentifyStructuredTextRequestFileDataFormat, |
114 | | - DeidentifyTextRequestFile, |
115 | | - ReidentifyFileRequestFile, |
116 | | - ReidentifyFileRequestFileDataFormat, |
117 | | - ReidentifyFileRequestFormat, |
| 117 | + DeidentifyFileAudioRequestDeidentifyAudioEntityTypesItem, |
| 118 | + DeidentifyFileAudioRequestDeidentifyAudioOutputTranscription, |
| 119 | + DeidentifyFileDocumentPdfRequestDeidentifyPdfEntityTypesItem, |
| 120 | + DeidentifyFileImageRequestDeidentifyImageEntityTypesItem, |
| 121 | + DeidentifyFileImageRequestDeidentifyImageMaskingMethod, |
| 122 | + DeidentifyFileRequestDeidentifyDocumentEntityTypesItem, |
| 123 | + DeidentifyFileRequestDeidentifyPresentationEntityTypesItem, |
| 124 | + DeidentifyFileRequestDeidentifySpreadsheetEntityTypesItem, |
| 125 | + DeidentifyFileRequestDeidentifyStructuredTextEntityTypesItem, |
| 126 | + DeidentifyFileRequestDeidentifyTextEntityTypesItem, |
| 127 | + DeidentifyFileRequestEntityTypesItem, |
118 | 128 | ) |
119 | 129 | from .records import ( |
120 | 130 | RecordServiceBulkGetRecordRequestOrderBy, |
121 | 131 | RecordServiceBulkGetRecordRequestRedaction, |
122 | 132 | RecordServiceGetRecordRequestRedaction, |
123 | 133 | ) |
124 | | -from .strings import ReidentifyStringRequestFormat |
| 134 | +from .strings import DeidentifyStringRequestEntityTypesItem |
125 | 135 | from .version import __version__ |
126 | 136 |
|
127 | 137 | __all__ = [ |
128 | | - "AllowRegex", |
129 | 138 | "AsyncSkyflow", |
130 | 139 | "AuditEventAuditResourceType", |
131 | 140 | "AuditEventContext", |
|
139 | 148 | "AuditServiceListAuditEventsRequestSortOpsOrderBy", |
140 | 149 | "BadRequestError", |
141 | 150 | "BatchRecordMethod", |
142 | | - "CheckGuardrailsResponse", |
143 | | - "CheckGuardrailsResponseValidation", |
144 | | - "ConfigurationId", |
145 | 151 | "ContextAccessType", |
146 | 152 | "ContextAuthMode", |
147 | | - "DeidentifyAudioRequestFile", |
148 | | - "DeidentifyAudioRequestFileDataFormat", |
149 | | - "DeidentifyAudioRequestOutputTranscription", |
150 | | - "DeidentifyDocumentRequestFile", |
151 | | - "DeidentifyDocumentRequestFileDataFormat", |
152 | | - "DeidentifyFileOutput", |
153 | | - "DeidentifyFileOutputProcessedFileType", |
154 | | - "DeidentifyFileRequestFile", |
155 | | - "DeidentifyFileRequestFileDataFormat", |
| 153 | + "DeidentifiedFileOutput", |
| 154 | + "DeidentifiedFileOutputProcessedFileExtension", |
| 155 | + "DeidentifiedFileOutputProcessedFileType", |
| 156 | + "DeidentifyFileAudioRequestDeidentifyAudioEntityTypesItem", |
| 157 | + "DeidentifyFileAudioRequestDeidentifyAudioOutputTranscription", |
| 158 | + "DeidentifyFileDocumentPdfRequestDeidentifyPdfEntityTypesItem", |
| 159 | + "DeidentifyFileImageRequestDeidentifyImageEntityTypesItem", |
| 160 | + "DeidentifyFileImageRequestDeidentifyImageMaskingMethod", |
| 161 | + "DeidentifyFileRequestDeidentifyDocumentEntityTypesItem", |
| 162 | + "DeidentifyFileRequestDeidentifyPresentationEntityTypesItem", |
| 163 | + "DeidentifyFileRequestDeidentifySpreadsheetEntityTypesItem", |
| 164 | + "DeidentifyFileRequestDeidentifyStructuredTextEntityTypesItem", |
| 165 | + "DeidentifyFileRequestDeidentifyTextEntityTypesItem", |
| 166 | + "DeidentifyFileRequestEntityTypesItem", |
156 | 167 | "DeidentifyFileResponse", |
157 | | - "DeidentifyImageRequestFile", |
158 | | - "DeidentifyImageRequestFileDataFormat", |
159 | | - "DeidentifyImageRequestMaskingMethod", |
160 | | - "DeidentifyPdfRequestFile", |
161 | | - "DeidentifyPresentationRequestFile", |
162 | | - "DeidentifyPresentationRequestFileDataFormat", |
163 | | - "DeidentifySpreadsheetRequestFile", |
164 | | - "DeidentifySpreadsheetRequestFileDataFormat", |
165 | | - "DeidentifyStatusResponse", |
166 | | - "DeidentifyStatusResponseOutputType", |
167 | | - "DeidentifyStatusResponseStatus", |
| 168 | + "DeidentifyStringRequestEntityTypesItem", |
168 | 169 | "DeidentifyStringResponse", |
169 | | - "DeidentifyStructuredTextRequestFile", |
170 | | - "DeidentifyStructuredTextRequestFileDataFormat", |
171 | | - "DeidentifyTextRequestFile", |
172 | | - "DetectedEntity", |
| 170 | + "DetectGuardrailsResponse", |
| 171 | + "DetectGuardrailsResponseValidation", |
| 172 | + "DetectRunsResponse", |
| 173 | + "DetectRunsResponseOutputType", |
| 174 | + "DetectRunsResponseStatus", |
173 | 175 | "DetokenizeRecordResponseValueType", |
174 | | - "EntityLocation", |
175 | | - "EntityType", |
176 | | - "EntityTypes", |
177 | 176 | "ErrorResponse", |
178 | 177 | "ErrorResponseError", |
179 | | - "ErrorString", |
| 178 | + "FileData", |
| 179 | + "FileDataDataFormat", |
| 180 | + "FileDataDeidentifyAudio", |
| 181 | + "FileDataDeidentifyAudioDataFormat", |
| 182 | + "FileDataDeidentifyDocument", |
| 183 | + "FileDataDeidentifyDocumentDataFormat", |
| 184 | + "FileDataDeidentifyImage", |
| 185 | + "FileDataDeidentifyImageDataFormat", |
| 186 | + "FileDataDeidentifyPdf", |
| 187 | + "FileDataDeidentifyPresentation", |
| 188 | + "FileDataDeidentifyPresentationDataFormat", |
| 189 | + "FileDataDeidentifySpreadsheet", |
| 190 | + "FileDataDeidentifySpreadsheetDataFormat", |
| 191 | + "FileDataDeidentifyStructuredText", |
| 192 | + "FileDataDeidentifyStructuredTextDataFormat", |
| 193 | + "FileDataDeidentifyText", |
| 194 | + "FileDataReidentifyFile", |
| 195 | + "FileDataReidentifyFileDataFormat", |
| 196 | + "Format", |
| 197 | + "FormatMaskedItem", |
| 198 | + "FormatPlaintextItem", |
| 199 | + "FormatRedactedItem", |
180 | 200 | "GooglerpcStatus", |
| 201 | + "HttpCode", |
| 202 | + "IdentifyResponse", |
181 | 203 | "InternalServerError", |
182 | 204 | "NotFoundError", |
183 | 205 | "ProtobufAny", |
184 | 206 | "RecordServiceBulkGetRecordRequestOrderBy", |
185 | 207 | "RecordServiceBulkGetRecordRequestRedaction", |
186 | 208 | "RecordServiceGetRecordRequestRedaction", |
187 | 209 | "RedactionEnumRedaction", |
188 | | - "ReidentifyFileRequestFile", |
189 | | - "ReidentifyFileRequestFileDataFormat", |
190 | | - "ReidentifyFileRequestFormat", |
| 210 | + "ReidentifiedFileOutput", |
| 211 | + "ReidentifiedFileOutputProcessedFileExtension", |
191 | 212 | "ReidentifyFileResponse", |
192 | | - "ReidentifyFileResponseOutput", |
| 213 | + "ReidentifyFileResponseOutputType", |
193 | 214 | "ReidentifyFileResponseStatus", |
194 | | - "ReidentifyStringRequestFormat", |
195 | | - "ReidentifyStringResponse", |
196 | 215 | "RequestActionType", |
197 | 216 | "ResourceId", |
198 | | - "RestrictRegex", |
| 217 | + "ShiftDates", |
| 218 | + "ShiftDatesEntityTypesItem", |
199 | 219 | "Skyflow", |
200 | 220 | "SkyflowEnvironment", |
201 | | - "TokenType", |
202 | | - "TokenTypeDefault", |
203 | | - "TokenTypeWithoutVault", |
204 | | - "TokenTypeWithoutVaultDefault", |
| 221 | + "StringResponseEntities", |
| 222 | + "TokenTypeMapping", |
| 223 | + "TokenTypeMappingDefault", |
| 224 | + "TokenTypeMappingEntityOnlyItem", |
| 225 | + "TokenTypeMappingEntityUnqCounterItem", |
| 226 | + "TokenTypeMappingVaultTokenItem", |
205 | 227 | "Transformations", |
206 | | - "TransformationsShiftDates", |
207 | | - "TransformationsShiftDatesEntityTypesItem", |
208 | 228 | "UnauthorizedError", |
209 | 229 | "UploadFileV2Response", |
210 | 230 | "Uuid", |
|
239 | 259 | "V1UpdateRecordResponse", |
240 | 260 | "V1VaultFieldMapping", |
241 | 261 | "V1VaultSchemaConfig", |
242 | | - "VaultId", |
| 262 | + "WordCharacterCount", |
243 | 263 | "__version__", |
244 | 264 | "audit", |
245 | 265 | "authentication", |
|
0 commit comments