@quba/sensitive-data-protection 0.2.0 → 0.2.3
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 +1 -0
- package/dist/index.cjs +181 -108
- package/dist/index.d.cts +236 -112
- package/dist/index.d.mts +236 -112
- package/dist/index.mjs +176 -109
- package/docs/AllowRule.md +39 -0
- package/docs/DetectRule.md +2 -0
- package/docs/EncryptRule.md +2 -0
- package/docs/EntityBody.md +2 -0
- package/docs/FieldErrorCode.md +1 -1
- package/docs/FileModelResult.md +2 -0
- package/docs/FileRegexResult.md +2 -0
- package/docs/FileResult.md +2 -0
- package/docs/HMACRule.md +2 -0
- package/docs/MaskRule.md +2 -0
- package/docs/ModelEntity.md +2 -0
- package/docs/PolicyDocumentRulesInner.md +2 -0
- package/docs/PseudonymizeRule.md +2 -0
- package/docs/RedactRule.md +2 -0
- package/docs/ReplaceRule.md +2 -0
- package/docs/RuleBody.md +2 -0
- package/docs/SHA256Rule.md +2 -0
- package/docs/SHA512Rule.md +2 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -214,6 +214,168 @@ declare function ActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): A
|
|
|
214
214
|
declare function ActionToJSON(value?: Action | null): any;
|
|
215
215
|
declare function ActionToJSONTyped(value: any, ignoreDiscriminator: boolean): Action;
|
|
216
216
|
//#endregion
|
|
217
|
+
//#region src/models/ModelEntity.d.ts
|
|
218
|
+
/**
|
|
219
|
+
* Sensitive Data Protection API
|
|
220
|
+
* Detect and de-identify sensitive data (PII) in text. Use `scan` to locate sensitive entities such as emails, phone numbers, and names, and `anonymize` to transform them using configurable rules (redact, mask, replace, pseudonymize, hash, or encrypt).
|
|
221
|
+
*
|
|
222
|
+
* The version of the OpenAPI document: 0.1.0
|
|
223
|
+
*
|
|
224
|
+
*
|
|
225
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
226
|
+
* https://openapi-generator.tech
|
|
227
|
+
* Do not edit the class manually.
|
|
228
|
+
*/
|
|
229
|
+
/**
|
|
230
|
+
* An AI-model entity type to target, e.g. 'person', 'email', 'phone_number'.
|
|
231
|
+
* @export
|
|
232
|
+
* @interface ModelEntity
|
|
233
|
+
*/
|
|
234
|
+
interface ModelEntity {
|
|
235
|
+
/**
|
|
236
|
+
*
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @memberof ModelEntity
|
|
239
|
+
*/
|
|
240
|
+
type: ModelEntityTypeEnum;
|
|
241
|
+
/**
|
|
242
|
+
* The model entity type name, e.g. 'person'.
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @memberof ModelEntity
|
|
245
|
+
*/
|
|
246
|
+
value: string;
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @type {number}
|
|
250
|
+
* @memberof ModelEntity
|
|
251
|
+
*/
|
|
252
|
+
threshold?: number | null;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* @export
|
|
256
|
+
*/
|
|
257
|
+
declare const ModelEntityTypeEnum: {
|
|
258
|
+
readonly model: "model";
|
|
259
|
+
};
|
|
260
|
+
type ModelEntityTypeEnum = typeof ModelEntityTypeEnum[keyof typeof ModelEntityTypeEnum];
|
|
261
|
+
/**
|
|
262
|
+
* Check if a given object implements the ModelEntity interface.
|
|
263
|
+
*/
|
|
264
|
+
declare function instanceOfModelEntity(value: object): value is ModelEntity;
|
|
265
|
+
declare function ModelEntityFromJSON(json: any): ModelEntity;
|
|
266
|
+
declare function ModelEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelEntity;
|
|
267
|
+
declare function ModelEntityToJSON(json: any): ModelEntity;
|
|
268
|
+
declare function ModelEntityToJSONTyped(value?: ModelEntity | null, ignoreDiscriminator?: boolean): any;
|
|
269
|
+
//#endregion
|
|
270
|
+
//#region src/models/RegexEntity.d.ts
|
|
271
|
+
/**
|
|
272
|
+
* Sensitive Data Protection API
|
|
273
|
+
* Detect and de-identify sensitive data (PII) in text. Use `scan` to locate sensitive entities such as emails, phone numbers, and names, and `anonymize` to transform them using configurable rules (redact, mask, replace, pseudonymize, hash, or encrypt).
|
|
274
|
+
*
|
|
275
|
+
* The version of the OpenAPI document: 0.1.0
|
|
276
|
+
*
|
|
277
|
+
*
|
|
278
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
279
|
+
* https://openapi-generator.tech
|
|
280
|
+
* Do not edit the class manually.
|
|
281
|
+
*/
|
|
282
|
+
/**
|
|
283
|
+
* A regex pattern to target, e.g. a custom ID or date format.
|
|
284
|
+
* @export
|
|
285
|
+
* @interface RegexEntity
|
|
286
|
+
*/
|
|
287
|
+
interface RegexEntity {
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof RegexEntity
|
|
292
|
+
*/
|
|
293
|
+
type: RegexEntityTypeEnum;
|
|
294
|
+
/**
|
|
295
|
+
* The regular expression to match.
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof RegexEntity
|
|
298
|
+
*/
|
|
299
|
+
value: string;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* @export
|
|
303
|
+
*/
|
|
304
|
+
declare const RegexEntityTypeEnum: {
|
|
305
|
+
readonly regex: "regex";
|
|
306
|
+
};
|
|
307
|
+
type RegexEntityTypeEnum = typeof RegexEntityTypeEnum[keyof typeof RegexEntityTypeEnum];
|
|
308
|
+
/**
|
|
309
|
+
* Check if a given object implements the RegexEntity interface.
|
|
310
|
+
*/
|
|
311
|
+
declare function instanceOfRegexEntity(value: object): value is RegexEntity;
|
|
312
|
+
declare function RegexEntityFromJSON(json: any): RegexEntity;
|
|
313
|
+
declare function RegexEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegexEntity;
|
|
314
|
+
declare function RegexEntityToJSON(json: any): RegexEntity;
|
|
315
|
+
declare function RegexEntityToJSONTyped(value?: RegexEntity | null, ignoreDiscriminator?: boolean): any;
|
|
316
|
+
//#endregion
|
|
317
|
+
//#region src/models/EntityBody.d.ts
|
|
318
|
+
/**
|
|
319
|
+
* @type EntityBody
|
|
320
|
+
* An entity to target, chosen by its `type`.
|
|
321
|
+
* @export
|
|
322
|
+
*/
|
|
323
|
+
type EntityBody = {
|
|
324
|
+
type: 'model';
|
|
325
|
+
} & ModelEntity | {
|
|
326
|
+
type: 'regex';
|
|
327
|
+
} & RegexEntity;
|
|
328
|
+
declare function EntityBodyFromJSON(json: any): EntityBody;
|
|
329
|
+
declare function EntityBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): EntityBody;
|
|
330
|
+
declare function EntityBodyToJSON(json: any): any;
|
|
331
|
+
declare function EntityBodyToJSONTyped(value?: EntityBody | null, ignoreDiscriminator?: boolean): any;
|
|
332
|
+
//#endregion
|
|
333
|
+
//#region src/models/AllowRule.d.ts
|
|
334
|
+
/**
|
|
335
|
+
* Leave each matched value alone, and keep every rule below this one off it.
|
|
336
|
+
*
|
|
337
|
+
* For known false positives (a client named "Jordan Bank"): a model match
|
|
338
|
+
* inside an allowed match is dropped for the rules after this one. Regex
|
|
339
|
+
* entities only.
|
|
340
|
+
* @export
|
|
341
|
+
* @interface AllowRule
|
|
342
|
+
*/
|
|
343
|
+
interface AllowRule {
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @type {string}
|
|
347
|
+
* @memberof AllowRule
|
|
348
|
+
*/
|
|
349
|
+
type: AllowRuleTypeEnum;
|
|
350
|
+
/**
|
|
351
|
+
* The regex entities whose matches are allowed.
|
|
352
|
+
* @type {Array<EntityBody>}
|
|
353
|
+
* @memberof AllowRule
|
|
354
|
+
*/
|
|
355
|
+
entities: Array<EntityBody>;
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @type {string}
|
|
359
|
+
* @memberof AllowRule
|
|
360
|
+
*/
|
|
361
|
+
when?: string | null;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* @export
|
|
365
|
+
*/
|
|
366
|
+
declare const AllowRuleTypeEnum: {
|
|
367
|
+
readonly allow: "allow";
|
|
368
|
+
};
|
|
369
|
+
type AllowRuleTypeEnum = typeof AllowRuleTypeEnum[keyof typeof AllowRuleTypeEnum];
|
|
370
|
+
/**
|
|
371
|
+
* Check if a given object implements the AllowRule interface.
|
|
372
|
+
*/
|
|
373
|
+
declare function instanceOfAllowRule(value: object): value is AllowRule;
|
|
374
|
+
declare function AllowRuleFromJSON(json: any): AllowRule;
|
|
375
|
+
declare function AllowRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllowRule;
|
|
376
|
+
declare function AllowRuleToJSON(json: any): AllowRule;
|
|
377
|
+
declare function AllowRuleToJSONTyped(value?: AllowRule | null, ignoreDiscriminator?: boolean): any;
|
|
378
|
+
//#endregion
|
|
217
379
|
//#region src/models/Usage.d.ts
|
|
218
380
|
/**
|
|
219
381
|
* Sensitive Data Protection API
|
|
@@ -2092,6 +2254,12 @@ interface FileModelResult {
|
|
|
2092
2254
|
* @memberof FileModelResult
|
|
2093
2255
|
*/
|
|
2094
2256
|
path: Array<Array<PathSegment>>;
|
|
2257
|
+
/**
|
|
2258
|
+
* What the browser extension does with it: `enforce` when the rule says so; omitted for `warn`.
|
|
2259
|
+
* @type {Action}
|
|
2260
|
+
* @memberof FileModelResult
|
|
2261
|
+
*/
|
|
2262
|
+
action?: Action;
|
|
2095
2263
|
}
|
|
2096
2264
|
/**
|
|
2097
2265
|
* @export
|
|
@@ -2161,6 +2329,12 @@ interface FileRegexResult {
|
|
|
2161
2329
|
* @memberof FileRegexResult
|
|
2162
2330
|
*/
|
|
2163
2331
|
path: Array<Array<PathSegment>>;
|
|
2332
|
+
/**
|
|
2333
|
+
* What the browser extension does with it: `enforce` when the rule says so; omitted for `warn`.
|
|
2334
|
+
* @type {Action}
|
|
2335
|
+
* @memberof FileRegexResult
|
|
2336
|
+
*/
|
|
2337
|
+
action?: Action;
|
|
2164
2338
|
}
|
|
2165
2339
|
/**
|
|
2166
2340
|
* @export
|
|
@@ -2246,116 +2420,6 @@ declare function AnonymizeFileResponseBodyFromJSONTyped(json: any, ignoreDiscrim
|
|
|
2246
2420
|
declare function AnonymizeFileResponseBodyToJSON(json: any): AnonymizeFileResponseBody;
|
|
2247
2421
|
declare function AnonymizeFileResponseBodyToJSONTyped(value?: AnonymizeFileResponseBody | null, ignoreDiscriminator?: boolean): any;
|
|
2248
2422
|
//#endregion
|
|
2249
|
-
//#region src/models/ModelEntity.d.ts
|
|
2250
|
-
/**
|
|
2251
|
-
* Sensitive Data Protection API
|
|
2252
|
-
* Detect and de-identify sensitive data (PII) in text. Use `scan` to locate sensitive entities such as emails, phone numbers, and names, and `anonymize` to transform them using configurable rules (redact, mask, replace, pseudonymize, hash, or encrypt).
|
|
2253
|
-
*
|
|
2254
|
-
* The version of the OpenAPI document: 0.1.0
|
|
2255
|
-
*
|
|
2256
|
-
*
|
|
2257
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2258
|
-
* https://openapi-generator.tech
|
|
2259
|
-
* Do not edit the class manually.
|
|
2260
|
-
*/
|
|
2261
|
-
/**
|
|
2262
|
-
* An AI-model entity type to target, e.g. 'person', 'email', 'phone_number'.
|
|
2263
|
-
* @export
|
|
2264
|
-
* @interface ModelEntity
|
|
2265
|
-
*/
|
|
2266
|
-
interface ModelEntity {
|
|
2267
|
-
/**
|
|
2268
|
-
*
|
|
2269
|
-
* @type {string}
|
|
2270
|
-
* @memberof ModelEntity
|
|
2271
|
-
*/
|
|
2272
|
-
type: ModelEntityTypeEnum;
|
|
2273
|
-
/**
|
|
2274
|
-
* The model entity type name, e.g. 'person'.
|
|
2275
|
-
* @type {string}
|
|
2276
|
-
* @memberof ModelEntity
|
|
2277
|
-
*/
|
|
2278
|
-
value: string;
|
|
2279
|
-
}
|
|
2280
|
-
/**
|
|
2281
|
-
* @export
|
|
2282
|
-
*/
|
|
2283
|
-
declare const ModelEntityTypeEnum: {
|
|
2284
|
-
readonly model: "model";
|
|
2285
|
-
};
|
|
2286
|
-
type ModelEntityTypeEnum = typeof ModelEntityTypeEnum[keyof typeof ModelEntityTypeEnum];
|
|
2287
|
-
/**
|
|
2288
|
-
* Check if a given object implements the ModelEntity interface.
|
|
2289
|
-
*/
|
|
2290
|
-
declare function instanceOfModelEntity(value: object): value is ModelEntity;
|
|
2291
|
-
declare function ModelEntityFromJSON(json: any): ModelEntity;
|
|
2292
|
-
declare function ModelEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelEntity;
|
|
2293
|
-
declare function ModelEntityToJSON(json: any): ModelEntity;
|
|
2294
|
-
declare function ModelEntityToJSONTyped(value?: ModelEntity | null, ignoreDiscriminator?: boolean): any;
|
|
2295
|
-
//#endregion
|
|
2296
|
-
//#region src/models/RegexEntity.d.ts
|
|
2297
|
-
/**
|
|
2298
|
-
* Sensitive Data Protection API
|
|
2299
|
-
* Detect and de-identify sensitive data (PII) in text. Use `scan` to locate sensitive entities such as emails, phone numbers, and names, and `anonymize` to transform them using configurable rules (redact, mask, replace, pseudonymize, hash, or encrypt).
|
|
2300
|
-
*
|
|
2301
|
-
* The version of the OpenAPI document: 0.1.0
|
|
2302
|
-
*
|
|
2303
|
-
*
|
|
2304
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2305
|
-
* https://openapi-generator.tech
|
|
2306
|
-
* Do not edit the class manually.
|
|
2307
|
-
*/
|
|
2308
|
-
/**
|
|
2309
|
-
* A regex pattern to target, e.g. a custom ID or date format.
|
|
2310
|
-
* @export
|
|
2311
|
-
* @interface RegexEntity
|
|
2312
|
-
*/
|
|
2313
|
-
interface RegexEntity {
|
|
2314
|
-
/**
|
|
2315
|
-
*
|
|
2316
|
-
* @type {string}
|
|
2317
|
-
* @memberof RegexEntity
|
|
2318
|
-
*/
|
|
2319
|
-
type: RegexEntityTypeEnum;
|
|
2320
|
-
/**
|
|
2321
|
-
* The regular expression to match.
|
|
2322
|
-
* @type {string}
|
|
2323
|
-
* @memberof RegexEntity
|
|
2324
|
-
*/
|
|
2325
|
-
value: string;
|
|
2326
|
-
}
|
|
2327
|
-
/**
|
|
2328
|
-
* @export
|
|
2329
|
-
*/
|
|
2330
|
-
declare const RegexEntityTypeEnum: {
|
|
2331
|
-
readonly regex: "regex";
|
|
2332
|
-
};
|
|
2333
|
-
type RegexEntityTypeEnum = typeof RegexEntityTypeEnum[keyof typeof RegexEntityTypeEnum];
|
|
2334
|
-
/**
|
|
2335
|
-
* Check if a given object implements the RegexEntity interface.
|
|
2336
|
-
*/
|
|
2337
|
-
declare function instanceOfRegexEntity(value: object): value is RegexEntity;
|
|
2338
|
-
declare function RegexEntityFromJSON(json: any): RegexEntity;
|
|
2339
|
-
declare function RegexEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegexEntity;
|
|
2340
|
-
declare function RegexEntityToJSON(json: any): RegexEntity;
|
|
2341
|
-
declare function RegexEntityToJSONTyped(value?: RegexEntity | null, ignoreDiscriminator?: boolean): any;
|
|
2342
|
-
//#endregion
|
|
2343
|
-
//#region src/models/EntityBody.d.ts
|
|
2344
|
-
/**
|
|
2345
|
-
* @type EntityBody
|
|
2346
|
-
* An entity to target, chosen by its `type`.
|
|
2347
|
-
* @export
|
|
2348
|
-
*/
|
|
2349
|
-
type EntityBody = {
|
|
2350
|
-
type: 'model';
|
|
2351
|
-
} & ModelEntity | {
|
|
2352
|
-
type: 'regex';
|
|
2353
|
-
} & RegexEntity;
|
|
2354
|
-
declare function EntityBodyFromJSON(json: any): EntityBody;
|
|
2355
|
-
declare function EntityBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): EntityBody;
|
|
2356
|
-
declare function EntityBodyToJSON(json: any): any;
|
|
2357
|
-
declare function EntityBodyToJSONTyped(value?: EntityBody | null, ignoreDiscriminator?: boolean): any;
|
|
2358
|
-
//#endregion
|
|
2359
2423
|
//#region src/models/DetectRule.d.ts
|
|
2360
2424
|
/**
|
|
2361
2425
|
* Report each matched value without changing it.
|
|
@@ -2389,6 +2453,12 @@ interface DetectRule {
|
|
|
2389
2453
|
* @memberof DetectRule
|
|
2390
2454
|
*/
|
|
2391
2455
|
action?: Action;
|
|
2456
|
+
/**
|
|
2457
|
+
*
|
|
2458
|
+
* @type {string}
|
|
2459
|
+
* @memberof DetectRule
|
|
2460
|
+
*/
|
|
2461
|
+
when?: string | null;
|
|
2392
2462
|
}
|
|
2393
2463
|
/**
|
|
2394
2464
|
* @export
|
|
@@ -2433,6 +2503,12 @@ interface EncryptRule {
|
|
|
2433
2503
|
* @memberof EncryptRule
|
|
2434
2504
|
*/
|
|
2435
2505
|
action?: Action;
|
|
2506
|
+
/**
|
|
2507
|
+
*
|
|
2508
|
+
* @type {string}
|
|
2509
|
+
* @memberof EncryptRule
|
|
2510
|
+
*/
|
|
2511
|
+
when?: string | null;
|
|
2436
2512
|
/**
|
|
2437
2513
|
* Base64 Fernet key. If empty, a key is generated automatically.
|
|
2438
2514
|
* @type {string}
|
|
@@ -2485,6 +2561,12 @@ interface HMACRule {
|
|
|
2485
2561
|
* @memberof HMACRule
|
|
2486
2562
|
*/
|
|
2487
2563
|
action?: Action;
|
|
2564
|
+
/**
|
|
2565
|
+
*
|
|
2566
|
+
* @type {string}
|
|
2567
|
+
* @memberof HMACRule
|
|
2568
|
+
*/
|
|
2569
|
+
when?: string | null;
|
|
2488
2570
|
/**
|
|
2489
2571
|
* The secret key, at least 32 characters. Keep it: the same key gives the same digests.
|
|
2490
2572
|
* @type {string}
|
|
@@ -2542,6 +2624,12 @@ interface MaskRule {
|
|
|
2542
2624
|
* @memberof MaskRule
|
|
2543
2625
|
*/
|
|
2544
2626
|
action?: Action;
|
|
2627
|
+
/**
|
|
2628
|
+
*
|
|
2629
|
+
* @type {string}
|
|
2630
|
+
* @memberof MaskRule
|
|
2631
|
+
*/
|
|
2632
|
+
when?: string | null;
|
|
2545
2633
|
/**
|
|
2546
2634
|
* The character used to mask, e.g. '*'.
|
|
2547
2635
|
* @type {string}
|
|
@@ -2608,6 +2696,12 @@ interface PseudonymizeRule {
|
|
|
2608
2696
|
* @memberof PseudonymizeRule
|
|
2609
2697
|
*/
|
|
2610
2698
|
action?: Action;
|
|
2699
|
+
/**
|
|
2700
|
+
*
|
|
2701
|
+
* @type {string}
|
|
2702
|
+
* @memberof PseudonymizeRule
|
|
2703
|
+
*/
|
|
2704
|
+
when?: string | null;
|
|
2611
2705
|
/**
|
|
2612
2706
|
*
|
|
2613
2707
|
* @type {string}
|
|
@@ -2656,6 +2750,12 @@ interface RedactRule {
|
|
|
2656
2750
|
* @memberof RedactRule
|
|
2657
2751
|
*/
|
|
2658
2752
|
action?: Action;
|
|
2753
|
+
/**
|
|
2754
|
+
*
|
|
2755
|
+
* @type {string}
|
|
2756
|
+
* @memberof RedactRule
|
|
2757
|
+
*/
|
|
2758
|
+
when?: string | null;
|
|
2659
2759
|
}
|
|
2660
2760
|
/**
|
|
2661
2761
|
* @export
|
|
@@ -2698,6 +2798,12 @@ interface ReplaceRule {
|
|
|
2698
2798
|
* @memberof ReplaceRule
|
|
2699
2799
|
*/
|
|
2700
2800
|
action?: Action;
|
|
2801
|
+
/**
|
|
2802
|
+
*
|
|
2803
|
+
* @type {string}
|
|
2804
|
+
* @memberof ReplaceRule
|
|
2805
|
+
*/
|
|
2806
|
+
when?: string | null;
|
|
2701
2807
|
/**
|
|
2702
2808
|
* The fixed string to substitute for each match.
|
|
2703
2809
|
* @type {string}
|
|
@@ -2746,6 +2852,12 @@ interface SHA256Rule {
|
|
|
2746
2852
|
* @memberof SHA256Rule
|
|
2747
2853
|
*/
|
|
2748
2854
|
action?: Action;
|
|
2855
|
+
/**
|
|
2856
|
+
*
|
|
2857
|
+
* @type {string}
|
|
2858
|
+
* @memberof SHA256Rule
|
|
2859
|
+
*/
|
|
2860
|
+
when?: string | null;
|
|
2749
2861
|
}
|
|
2750
2862
|
/**
|
|
2751
2863
|
* @export
|
|
@@ -2788,6 +2900,12 @@ interface SHA512Rule {
|
|
|
2788
2900
|
* @memberof SHA512Rule
|
|
2789
2901
|
*/
|
|
2790
2902
|
action?: Action;
|
|
2903
|
+
/**
|
|
2904
|
+
*
|
|
2905
|
+
* @type {string}
|
|
2906
|
+
* @memberof SHA512Rule
|
|
2907
|
+
*/
|
|
2908
|
+
when?: string | null;
|
|
2791
2909
|
}
|
|
2792
2910
|
/**
|
|
2793
2911
|
* @export
|
|
@@ -2812,6 +2930,8 @@ declare function SHA512RuleToJSONTyped(value?: SHA512Rule | null, ignoreDiscrimi
|
|
|
2812
2930
|
* @export
|
|
2813
2931
|
*/
|
|
2814
2932
|
type RuleBody = {
|
|
2933
|
+
type: 'allow';
|
|
2934
|
+
} & AllowRule | {
|
|
2815
2935
|
type: 'detect';
|
|
2816
2936
|
} & DetectRule | {
|
|
2817
2937
|
type: 'encrypt';
|
|
@@ -3105,6 +3225,8 @@ declare function AtToJSONTyped(value?: At | null, ignoreDiscriminator?: boolean)
|
|
|
3105
3225
|
* @export
|
|
3106
3226
|
*/
|
|
3107
3227
|
type PolicyDocumentRulesInner = {
|
|
3228
|
+
type: 'allow';
|
|
3229
|
+
} & AllowRule | {
|
|
3108
3230
|
type: 'detect';
|
|
3109
3231
|
} & DetectRule | {
|
|
3110
3232
|
type: 'encrypt';
|
|
@@ -3289,7 +3411,8 @@ declare function FieldErrorPathInnerToJSONTyped(value?: FieldErrorPathInner | nu
|
|
|
3289
3411
|
* `limit`); `too_few`/`too_many` items (see `limit`); `out_of_range` (see
|
|
3290
3412
|
* `min`, `max`); `blank`: only whitespace; `unknown_type` (see `allowed`);
|
|
3291
3413
|
* `invalid_pattern`: not a regular expression the engine runs;
|
|
3292
|
-
* `invalid_key`: not a Fernet key; `
|
|
3414
|
+
* `invalid_key`: not a Fernet key; `invalid_condition`: not a `when` the
|
|
3415
|
+
* engine runs; `labels_over_budget`: the labels leave
|
|
3293
3416
|
* the model too little room for text (see `tokens`, `limit`).
|
|
3294
3417
|
* @export
|
|
3295
3418
|
*/
|
|
@@ -3306,6 +3429,7 @@ declare const FieldErrorCode: {
|
|
|
3306
3429
|
readonly unknown_type: "unknown_type";
|
|
3307
3430
|
readonly invalid_pattern: "invalid_pattern";
|
|
3308
3431
|
readonly invalid_key: "invalid_key";
|
|
3432
|
+
readonly invalid_condition: "invalid_condition";
|
|
3309
3433
|
readonly labels_over_budget: "labels_over_budget";
|
|
3310
3434
|
};
|
|
3311
3435
|
type FieldErrorCode = typeof FieldErrorCode[keyof typeof FieldErrorCode];
|
|
@@ -4022,4 +4146,4 @@ declare const AnonymizeFileTableHeadersEnum: {
|
|
|
4022
4146
|
};
|
|
4023
4147
|
type AnonymizeFileTableHeadersEnum = typeof AnonymizeFileTableHeadersEnum[keyof typeof AnonymizeFileTableHeadersEnum];
|
|
4024
4148
|
//#endregion
|
|
4025
|
-
export { Action, ActionFromJSON, ActionFromJSONTyped, ActionToJSON, ActionToJSONTyped, AnonymizeFileEmbeddedRulesEnum, AnonymizeFileRequest, AnonymizeFileResponseBody, AnonymizeFileResponseBodyFromJSON, AnonymizeFileResponseBodyFromJSONTyped, AnonymizeFileResponseBodyToJSON, AnonymizeFileResponseBodyToJSONTyped, AnonymizeFileTableHeadersEnum, AnonymizeRequestBody, AnonymizeRequestBodyFromJSON, AnonymizeRequestBodyFromJSONTyped, AnonymizeRequestBodyToJSON, AnonymizeRequestBodyToJSONTyped, AnonymizeResponseBody, AnonymizeResponseBodyFromJSON, AnonymizeResponseBodyFromJSONTyped, AnonymizeResponseBodyToJSON, AnonymizeResponseBodyToJSONTyped, AnonymizeTextRequest, ApiResponse, Applied, AppliedFromJSON, AppliedFromJSONTyped, AppliedToJSON, AppliedToJSONTyped, At, AtFromJSON, AtFromJSONTyped, AtToJSON, AtToJSONTyped, AttributeSegment, AttributeSegmentFromJSON, AttributeSegmentFromJSONTyped, AttributeSegmentToJSON, AttributeSegmentToJSONTyped, AttributeSegmentTypeEnum, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, CellKind, CellKindFromJSON, CellKindFromJSONTyped, CellKindToJSON, CellKindToJSONTyped, CellNoteSegment, CellNoteSegmentFromJSON, CellNoteSegmentFromJSONTyped, CellNoteSegmentToJSON, CellNoteSegmentToJSONTyped, CellNoteSegmentTypeEnum, CellSegment, CellSegmentFromJSON, CellSegmentFromJSONTyped, CellSegmentToJSON, CellSegmentToJSONTyped, CellSegmentTypeEnum, CommentKind, CommentKindFromJSON, CommentKindFromJSONTyped, CommentKindToJSON, CommentKindToJSONTyped, CommentSegment, CommentSegmentFromJSON, CommentSegmentFromJSONTyped, CommentSegmentToJSON, CommentSegmentToJSONTyped, CommentSegmentTypeEnum, ComponentSegment, ComponentSegmentFromJSON, ComponentSegmentFromJSONTyped, ComponentSegmentToJSON, ComponentSegmentToJSONTyped, ComponentSegmentTypeEnum, Configuration, ConfigurationParameters, Consume, CreatePolicyOperationRequest, CreatePolicyRequest, CreatePolicyRequestFromJSON, CreatePolicyRequestFromJSONTyped, CreatePolicyRequestToJSON, CreatePolicyRequestToJSONTyped, DefaultConfig, DeletePolicyRequest, DetectRule, DetectRuleFromJSON, DetectRuleFromJSONTyped, DetectRuleToJSON, DetectRuleToJSONTyped, DetectRuleTypeEnum, ElementSegment, ElementSegmentFromJSON, ElementSegmentFromJSONTyped, ElementSegmentToJSON, ElementSegmentToJSONTyped, ElementSegmentTypeEnum, EncryptRule, EncryptRuleFromJSON, EncryptRuleFromJSONTyped, EncryptRuleToJSON, EncryptRuleToJSONTyped, EncryptRuleTypeEnum, EndnoteSegment, EndnoteSegmentFromJSON, EndnoteSegmentFromJSONTyped, EndnoteSegmentToJSON, EndnoteSegmentToJSONTyped, EndnoteSegmentTypeEnum, EntityBody, EntityBodyFromJSON, EntityBodyFromJSONTyped, EntityBodyToJSON, EntityBodyToJSONTyped, ErrorCode, ErrorCodeFromJSON, ErrorCodeFromJSONTyped, ErrorCodeToJSON, ErrorCodeToJSONTyped, ErrorContext, ErrorInfo, ErrorInfoFromJSON, ErrorInfoFromJSONTyped, ErrorInfoToJSON, ErrorInfoToJSONTyped, FetchAPI, FetchError, FetchParams, FieldError, FieldErrorCode, FieldErrorCodeFromJSON, FieldErrorCodeFromJSONTyped, FieldErrorCodeToJSON, FieldErrorCodeToJSONTyped, FieldErrorFromJSON, FieldErrorFromJSONTyped, FieldErrorPathInner, FieldErrorPathInnerFromJSON, FieldErrorPathInnerFromJSONTyped, FieldErrorPathInnerToJSON, FieldErrorPathInnerToJSONTyped, FieldErrorToJSON, FieldErrorToJSONTyped, FieldSegment, FieldSegmentFromJSON, FieldSegmentFromJSONTyped, FieldSegmentToJSON, FieldSegmentToJSONTyped, FieldSegmentTypeEnum, FileAttributeResult, FileAttributeResultFromJSON, FileAttributeResultFromJSONTyped, FileAttributeResultToJSON, FileAttributeResultToJSONTyped, FileAttributeResultTypeEnum, FileEmbeddedResult, FileEmbeddedResultFromJSON, FileEmbeddedResultFromJSONTyped, FileEmbeddedResultToJSON, FileEmbeddedResultToJSONTyped, FileEmbeddedResultTypeEnum, FileModelResult, FileModelResultFromJSON, FileModelResultFromJSONTyped, FileModelResultToJSON, FileModelResultToJSONTyped, FileModelResultTypeEnum, FileRegexResult, FileRegexResultFromJSON, FileRegexResultFromJSONTyped, FileRegexResultToJSON, FileRegexResultToJSONTyped, FileRegexResultTypeEnum, FileResult, FileResultFromJSON, FileResultFromJSONTyped, FileResultToJSON, FileResultToJSONTyped, FootnoteSegment, FootnoteSegmentFromJSON, FootnoteSegmentFromJSONTyped, FootnoteSegmentToJSON, FootnoteSegmentToJSONTyped, FootnoteSegmentTypeEnum, FrameSegment, FrameSegmentFromJSON, FrameSegmentFromJSONTyped, FrameSegmentToJSON, FrameSegmentToJSONTyped, FrameSegmentTypeEnum, GetPolicyRequest, HMACRule, HMACRuleFromJSON, HMACRuleFromJSONTyped, HMACRuleToJSON, HMACRuleToJSONTyped, HMACRuleTypeEnum, HTTPBody, HTTPHeaders, HTTPMethod, HTTPQuery, HTTPRequestInit, HeaderFooterSegment, HeaderFooterSegmentFromJSON, HeaderFooterSegmentFromJSONTyped, HeaderFooterSegmentToJSON, HeaderFooterSegmentToJSONTyped, HeaderFooterSegmentTypeEnum, IndexSegment, IndexSegmentFromJSON, IndexSegmentFromJSONTyped, IndexSegmentToJSON, IndexSegmentToJSONTyped, IndexSegmentTypeEnum, InitOverrideFunction, ItemSegment, ItemSegmentFromJSON, ItemSegmentFromJSONTyped, ItemSegmentToJSON, ItemSegmentToJSONTyped, ItemSegmentTypeEnum, JSONApiResponse, Json, KeySegment, KeySegmentFromJSON, KeySegmentFromJSONTyped, KeySegmentToJSON, KeySegmentToJSONTyped, KeySegmentTypeEnum, Kind, KindFromJSON, KindFromJSONTyped, KindToJSON, KindToJSONTyped, LineSegment, LineSegmentFromJSON, LineSegmentFromJSONTyped, LineSegmentToJSON, LineSegmentToJSONTyped, LineSegmentTypeEnum, ListPolicies200Response, ListPolicies200ResponseFromJSON, ListPolicies200ResponseFromJSONTyped, ListPolicies200ResponseToJSON, ListPolicies200ResponseToJSONTyped, MaskRule, MaskRuleFromJSON, MaskRuleFromJSONTyped, MaskRuleToJSON, MaskRuleToJSONTyped, MaskRuleTypeEnum, Middleware, ModelEntity, ModelEntityFromJSON, ModelEntityFromJSONTyped, ModelEntityToJSON, ModelEntityToJSONTyped, ModelEntityTypeEnum, ModelError, ModelErrorFromJSON, ModelErrorFromJSONTyped, ModelErrorToJSON, ModelErrorToJSONTyped, ModelPropertyNaming, ModelResult, ModelResultFromJSON, ModelResultFromJSONTyped, ModelResultToJSON, ModelResultToJSONTyped, ModelResultTypeEnum, ModelStatus, ModelStatusFromJSON, ModelStatusFromJSONTyped, ModelStatusToJSON, ModelStatusToJSONTyped, ModelType, ModelTypeFromJSON, ModelTypeFromJSONTyped, ModelTypeToJSON, ModelTypeToJSONTyped, ParagraphKind, ParagraphKindFromJSON, ParagraphKindFromJSONTyped, ParagraphKindToJSON, ParagraphKindToJSONTyped, ParagraphSegment, ParagraphSegmentFromJSON, ParagraphSegmentFromJSONTyped, ParagraphSegmentToJSON, ParagraphSegmentToJSONTyped, ParagraphSegmentTypeEnum, PartSegment, PartSegmentFromJSON, PartSegmentFromJSONTyped, PartSegmentToJSON, PartSegmentToJSONTyped, PartSegmentTypeEnum, PathSegment, PathSegmentFromJSON, PathSegmentFromJSONTyped, PathSegmentToJSON, PathSegmentToJSONTyped, PoliciesApi, Policy, PolicyDocument, PolicyDocumentFromJSON, PolicyDocumentFromJSONTyped, PolicyDocumentRulesInner, PolicyDocumentRulesInnerFromJSON, PolicyDocumentRulesInnerFromJSONTyped, PolicyDocumentRulesInnerToJSON, PolicyDocumentRulesInnerToJSONTyped, PolicyDocumentSchemaVersionEnum, PolicyDocumentToJSON, PolicyDocumentToJSONTyped, PolicyFromJSON, PolicyFromJSONTyped, PolicySummary, PolicySummaryFromJSON, PolicySummaryFromJSONTyped, PolicySummaryToJSON, PolicySummaryToJSONTyped, PolicyToJSON, PolicyToJSONTyped, PropertySegment, PropertySegmentFromJSON, PropertySegmentFromJSONTyped, PropertySegmentToJSON, PropertySegmentToJSONTyped, PropertySegmentTypeEnum, PseudonymizeRule, PseudonymizeRuleFromJSON, PseudonymizeRuleFromJSONTyped, PseudonymizeRuleToJSON, PseudonymizeRuleToJSONTyped, PseudonymizeRuleTypeEnum, RangeKind, RangeKindFromJSON, RangeKindFromJSONTyped, RangeKindToJSON, RangeKindToJSONTyped, RangeSegment, RangeSegmentFromJSON, RangeSegmentFromJSONTyped, RangeSegmentToJSON, RangeSegmentToJSONTyped, RangeSegmentTypeEnum, RedactRule, RedactRuleFromJSON, RedactRuleFromJSONTyped, RedactRuleToJSON, RedactRuleToJSONTyped, RedactRuleTypeEnum, Refusal, RefusalFromJSON, RefusalFromJSONTyped, RefusalToJSON, RefusalToJSONTyped, RegexEntity, RegexEntityFromJSON, RegexEntityFromJSONTyped, RegexEntityToJSON, RegexEntityToJSONTyped, RegexEntityTypeEnum, RegexResult, RegexResultFromJSON, RegexResultFromJSONTyped, RegexResultToJSON, RegexResultToJSONTyped, RegexResultTypeEnum, RegionSegment, RegionSegmentFromJSON, RegionSegmentFromJSONTyped, RegionSegmentToJSON, RegionSegmentToJSONTyped, RegionSegmentTypeEnum, ReplaceRule, ReplaceRuleFromJSON, ReplaceRuleFromJSONTyped, ReplaceRuleToJSON, ReplaceRuleToJSONTyped, ReplaceRuleTypeEnum, RequestContext, RequestOpts, RequiredError, ResponseContext, ResponseError, ResponseTransformer, RuleBody, RuleBodyFromJSON, RuleBodyFromJSONTyped, RuleBodyToJSON, RuleBodyToJSONTyped, SHA256Rule, SHA256RuleFromJSON, SHA256RuleFromJSONTyped, SHA256RuleToJSON, SHA256RuleToJSONTyped, SHA256RuleTypeEnum, SHA512Rule, SHA512RuleFromJSON, SHA512RuleFromJSONTyped, SHA512RuleToJSON, SHA512RuleToJSONTyped, SHA512RuleTypeEnum, ScanRequestBody, ScanRequestBodyFromJSON, ScanRequestBodyFromJSONTyped, ScanRequestBodyToJSON, ScanRequestBodyToJSONTyped, ScanResponseBody, ScanResponseBodyFromJSON, ScanResponseBodyFromJSONTyped, ScanResponseBodyToJSON, ScanResponseBodyToJSONTyped, ScanResult, ScanResultFromJSON, ScanResultFromJSONTyped, ScanResultToJSON, ScanResultToJSONTyped, ScanTextRequest, SegmentSegment, SegmentSegmentFromJSON, SegmentSegmentFromJSONTyped, SegmentSegmentToJSON, SegmentSegmentToJSONTyped, SegmentSegmentTypeEnum, SensitiveDataProtectionApi, ShapeKind, ShapeKindFromJSON, ShapeKindFromJSONTyped, ShapeKindToJSON, ShapeKindToJSONTyped, ShapeSegment, ShapeSegmentFromJSON, ShapeSegmentFromJSONTyped, ShapeSegmentToJSON, ShapeSegmentToJSONTyped, ShapeSegmentTypeEnum, SheetSegment, SheetSegmentFromJSON, SheetSegmentFromJSONTyped, SheetSegmentToJSON, SheetSegmentToJSONTyped, SheetSegmentTypeEnum, SlideSegment, SlideSegmentFromJSON, SlideSegmentFromJSONTyped, SlideSegmentToJSON, SlideSegmentToJSONTyped, SlideSegmentTypeEnum, SpeakerNotesSegment, SpeakerNotesSegmentFromJSON, SpeakerNotesSegmentFromJSONTyped, SpeakerNotesSegmentToJSON, SpeakerNotesSegmentToJSONTyped, SpeakerNotesSegmentTypeEnum, TableSegment, TableSegmentFromJSON, TableSegmentFromJSONTyped, TableSegmentToJSON, TableSegmentToJSONTyped, TableSegmentTypeEnum, TagSegment, TagSegmentFromJSON, TagSegmentFromJSONTyped, TagSegmentToJSON, TagSegmentToJSONTyped, TagSegmentTypeEnum, TextApiResponse, TextRange, TextRangeFromJSON, TextRangeFromJSONTyped, TextRangeToJSON, TextRangeToJSONTyped, TextSegment, TextSegmentFromJSON, TextSegmentFromJSONTyped, TextSegmentToJSON, TextSegmentToJSONTyped, TextSegmentTypeEnum, UpdatePolicyOperationRequest, UpdatePolicyRequest, UpdatePolicyRequestFromJSON, UpdatePolicyRequestFromJSONTyped, UpdatePolicyRequestToJSON, UpdatePolicyRequestToJSONTyped, Usage, UsageFromJSON, UsageFromJSONTyped, UsageToJSON, UsageToJSONTyped, VoidApiResponse, canConsumeForm, exists, instanceOfAction, instanceOfAnonymizeFileResponseBody, instanceOfAnonymizeRequestBody, instanceOfAnonymizeResponseBody, instanceOfAt, instanceOfAttributeSegment, instanceOfCellNoteSegment, instanceOfCellSegment, instanceOfCommentKind, instanceOfCommentSegment, instanceOfComponentSegment, instanceOfCreatePolicyRequest, instanceOfDetectRule, instanceOfElementSegment, instanceOfEncryptRule, instanceOfEndnoteSegment, instanceOfErrorCode, instanceOfErrorInfo, instanceOfFieldError, instanceOfFieldErrorCode, instanceOfFieldErrorPathInner, instanceOfFieldSegment, instanceOfFileAttributeResult, instanceOfFileEmbeddedResult, instanceOfFileModelResult, instanceOfFileRegexResult, instanceOfFootnoteSegment, instanceOfFrameSegment, instanceOfHMACRule, instanceOfHeaderFooterSegment, instanceOfIndexSegment, instanceOfItemSegment, instanceOfKeySegment, instanceOfLineSegment, instanceOfListPolicies200Response, instanceOfMaskRule, instanceOfModelEntity, instanceOfModelError, instanceOfModelResult, instanceOfModelStatus, instanceOfParagraphSegment, instanceOfPartSegment, instanceOfPolicy, instanceOfPolicyDocument, instanceOfPolicySummary, instanceOfPropertySegment, instanceOfPseudonymizeRule, instanceOfRangeKind, instanceOfRangeSegment, instanceOfRedactRule, instanceOfRefusal, instanceOfRegexEntity, instanceOfRegexResult, instanceOfRegionSegment, instanceOfReplaceRule, instanceOfSHA256Rule, instanceOfSHA512Rule, instanceOfScanRequestBody, instanceOfScanResponseBody, instanceOfScanResult, instanceOfSegmentSegment, instanceOfShapeSegment, instanceOfSheetSegment, instanceOfSlideSegment, instanceOfSpeakerNotesSegment, instanceOfTableSegment, instanceOfTagSegment, instanceOfTextRange, instanceOfTextSegment, instanceOfUpdatePolicyRequest, instanceOfUsage, mapValues, querystring };
|
|
4149
|
+
export { Action, ActionFromJSON, ActionFromJSONTyped, ActionToJSON, ActionToJSONTyped, AllowRule, AllowRuleFromJSON, AllowRuleFromJSONTyped, AllowRuleToJSON, AllowRuleToJSONTyped, AllowRuleTypeEnum, AnonymizeFileEmbeddedRulesEnum, AnonymizeFileRequest, AnonymizeFileResponseBody, AnonymizeFileResponseBodyFromJSON, AnonymizeFileResponseBodyFromJSONTyped, AnonymizeFileResponseBodyToJSON, AnonymizeFileResponseBodyToJSONTyped, AnonymizeFileTableHeadersEnum, AnonymizeRequestBody, AnonymizeRequestBodyFromJSON, AnonymizeRequestBodyFromJSONTyped, AnonymizeRequestBodyToJSON, AnonymizeRequestBodyToJSONTyped, AnonymizeResponseBody, AnonymizeResponseBodyFromJSON, AnonymizeResponseBodyFromJSONTyped, AnonymizeResponseBodyToJSON, AnonymizeResponseBodyToJSONTyped, AnonymizeTextRequest, ApiResponse, Applied, AppliedFromJSON, AppliedFromJSONTyped, AppliedToJSON, AppliedToJSONTyped, At, AtFromJSON, AtFromJSONTyped, AtToJSON, AtToJSONTyped, AttributeSegment, AttributeSegmentFromJSON, AttributeSegmentFromJSONTyped, AttributeSegmentToJSON, AttributeSegmentToJSONTyped, AttributeSegmentTypeEnum, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, CellKind, CellKindFromJSON, CellKindFromJSONTyped, CellKindToJSON, CellKindToJSONTyped, CellNoteSegment, CellNoteSegmentFromJSON, CellNoteSegmentFromJSONTyped, CellNoteSegmentToJSON, CellNoteSegmentToJSONTyped, CellNoteSegmentTypeEnum, CellSegment, CellSegmentFromJSON, CellSegmentFromJSONTyped, CellSegmentToJSON, CellSegmentToJSONTyped, CellSegmentTypeEnum, CommentKind, CommentKindFromJSON, CommentKindFromJSONTyped, CommentKindToJSON, CommentKindToJSONTyped, CommentSegment, CommentSegmentFromJSON, CommentSegmentFromJSONTyped, CommentSegmentToJSON, CommentSegmentToJSONTyped, CommentSegmentTypeEnum, ComponentSegment, ComponentSegmentFromJSON, ComponentSegmentFromJSONTyped, ComponentSegmentToJSON, ComponentSegmentToJSONTyped, ComponentSegmentTypeEnum, Configuration, ConfigurationParameters, Consume, CreatePolicyOperationRequest, CreatePolicyRequest, CreatePolicyRequestFromJSON, CreatePolicyRequestFromJSONTyped, CreatePolicyRequestToJSON, CreatePolicyRequestToJSONTyped, DefaultConfig, DeletePolicyRequest, DetectRule, DetectRuleFromJSON, DetectRuleFromJSONTyped, DetectRuleToJSON, DetectRuleToJSONTyped, DetectRuleTypeEnum, ElementSegment, ElementSegmentFromJSON, ElementSegmentFromJSONTyped, ElementSegmentToJSON, ElementSegmentToJSONTyped, ElementSegmentTypeEnum, EncryptRule, EncryptRuleFromJSON, EncryptRuleFromJSONTyped, EncryptRuleToJSON, EncryptRuleToJSONTyped, EncryptRuleTypeEnum, EndnoteSegment, EndnoteSegmentFromJSON, EndnoteSegmentFromJSONTyped, EndnoteSegmentToJSON, EndnoteSegmentToJSONTyped, EndnoteSegmentTypeEnum, EntityBody, EntityBodyFromJSON, EntityBodyFromJSONTyped, EntityBodyToJSON, EntityBodyToJSONTyped, ErrorCode, ErrorCodeFromJSON, ErrorCodeFromJSONTyped, ErrorCodeToJSON, ErrorCodeToJSONTyped, ErrorContext, ErrorInfo, ErrorInfoFromJSON, ErrorInfoFromJSONTyped, ErrorInfoToJSON, ErrorInfoToJSONTyped, FetchAPI, FetchError, FetchParams, FieldError, FieldErrorCode, FieldErrorCodeFromJSON, FieldErrorCodeFromJSONTyped, FieldErrorCodeToJSON, FieldErrorCodeToJSONTyped, FieldErrorFromJSON, FieldErrorFromJSONTyped, FieldErrorPathInner, FieldErrorPathInnerFromJSON, FieldErrorPathInnerFromJSONTyped, FieldErrorPathInnerToJSON, FieldErrorPathInnerToJSONTyped, FieldErrorToJSON, FieldErrorToJSONTyped, FieldSegment, FieldSegmentFromJSON, FieldSegmentFromJSONTyped, FieldSegmentToJSON, FieldSegmentToJSONTyped, FieldSegmentTypeEnum, FileAttributeResult, FileAttributeResultFromJSON, FileAttributeResultFromJSONTyped, FileAttributeResultToJSON, FileAttributeResultToJSONTyped, FileAttributeResultTypeEnum, FileEmbeddedResult, FileEmbeddedResultFromJSON, FileEmbeddedResultFromJSONTyped, FileEmbeddedResultToJSON, FileEmbeddedResultToJSONTyped, FileEmbeddedResultTypeEnum, FileModelResult, FileModelResultFromJSON, FileModelResultFromJSONTyped, FileModelResultToJSON, FileModelResultToJSONTyped, FileModelResultTypeEnum, FileRegexResult, FileRegexResultFromJSON, FileRegexResultFromJSONTyped, FileRegexResultToJSON, FileRegexResultToJSONTyped, FileRegexResultTypeEnum, FileResult, FileResultFromJSON, FileResultFromJSONTyped, FileResultToJSON, FileResultToJSONTyped, FootnoteSegment, FootnoteSegmentFromJSON, FootnoteSegmentFromJSONTyped, FootnoteSegmentToJSON, FootnoteSegmentToJSONTyped, FootnoteSegmentTypeEnum, FrameSegment, FrameSegmentFromJSON, FrameSegmentFromJSONTyped, FrameSegmentToJSON, FrameSegmentToJSONTyped, FrameSegmentTypeEnum, GetPolicyRequest, HMACRule, HMACRuleFromJSON, HMACRuleFromJSONTyped, HMACRuleToJSON, HMACRuleToJSONTyped, HMACRuleTypeEnum, HTTPBody, HTTPHeaders, HTTPMethod, HTTPQuery, HTTPRequestInit, HeaderFooterSegment, HeaderFooterSegmentFromJSON, HeaderFooterSegmentFromJSONTyped, HeaderFooterSegmentToJSON, HeaderFooterSegmentToJSONTyped, HeaderFooterSegmentTypeEnum, IndexSegment, IndexSegmentFromJSON, IndexSegmentFromJSONTyped, IndexSegmentToJSON, IndexSegmentToJSONTyped, IndexSegmentTypeEnum, InitOverrideFunction, ItemSegment, ItemSegmentFromJSON, ItemSegmentFromJSONTyped, ItemSegmentToJSON, ItemSegmentToJSONTyped, ItemSegmentTypeEnum, JSONApiResponse, Json, KeySegment, KeySegmentFromJSON, KeySegmentFromJSONTyped, KeySegmentToJSON, KeySegmentToJSONTyped, KeySegmentTypeEnum, Kind, KindFromJSON, KindFromJSONTyped, KindToJSON, KindToJSONTyped, LineSegment, LineSegmentFromJSON, LineSegmentFromJSONTyped, LineSegmentToJSON, LineSegmentToJSONTyped, LineSegmentTypeEnum, ListPolicies200Response, ListPolicies200ResponseFromJSON, ListPolicies200ResponseFromJSONTyped, ListPolicies200ResponseToJSON, ListPolicies200ResponseToJSONTyped, MaskRule, MaskRuleFromJSON, MaskRuleFromJSONTyped, MaskRuleToJSON, MaskRuleToJSONTyped, MaskRuleTypeEnum, Middleware, ModelEntity, ModelEntityFromJSON, ModelEntityFromJSONTyped, ModelEntityToJSON, ModelEntityToJSONTyped, ModelEntityTypeEnum, ModelError, ModelErrorFromJSON, ModelErrorFromJSONTyped, ModelErrorToJSON, ModelErrorToJSONTyped, ModelPropertyNaming, ModelResult, ModelResultFromJSON, ModelResultFromJSONTyped, ModelResultToJSON, ModelResultToJSONTyped, ModelResultTypeEnum, ModelStatus, ModelStatusFromJSON, ModelStatusFromJSONTyped, ModelStatusToJSON, ModelStatusToJSONTyped, ModelType, ModelTypeFromJSON, ModelTypeFromJSONTyped, ModelTypeToJSON, ModelTypeToJSONTyped, ParagraphKind, ParagraphKindFromJSON, ParagraphKindFromJSONTyped, ParagraphKindToJSON, ParagraphKindToJSONTyped, ParagraphSegment, ParagraphSegmentFromJSON, ParagraphSegmentFromJSONTyped, ParagraphSegmentToJSON, ParagraphSegmentToJSONTyped, ParagraphSegmentTypeEnum, PartSegment, PartSegmentFromJSON, PartSegmentFromJSONTyped, PartSegmentToJSON, PartSegmentToJSONTyped, PartSegmentTypeEnum, PathSegment, PathSegmentFromJSON, PathSegmentFromJSONTyped, PathSegmentToJSON, PathSegmentToJSONTyped, PoliciesApi, Policy, PolicyDocument, PolicyDocumentFromJSON, PolicyDocumentFromJSONTyped, PolicyDocumentRulesInner, PolicyDocumentRulesInnerFromJSON, PolicyDocumentRulesInnerFromJSONTyped, PolicyDocumentRulesInnerToJSON, PolicyDocumentRulesInnerToJSONTyped, PolicyDocumentSchemaVersionEnum, PolicyDocumentToJSON, PolicyDocumentToJSONTyped, PolicyFromJSON, PolicyFromJSONTyped, PolicySummary, PolicySummaryFromJSON, PolicySummaryFromJSONTyped, PolicySummaryToJSON, PolicySummaryToJSONTyped, PolicyToJSON, PolicyToJSONTyped, PropertySegment, PropertySegmentFromJSON, PropertySegmentFromJSONTyped, PropertySegmentToJSON, PropertySegmentToJSONTyped, PropertySegmentTypeEnum, PseudonymizeRule, PseudonymizeRuleFromJSON, PseudonymizeRuleFromJSONTyped, PseudonymizeRuleToJSON, PseudonymizeRuleToJSONTyped, PseudonymizeRuleTypeEnum, RangeKind, RangeKindFromJSON, RangeKindFromJSONTyped, RangeKindToJSON, RangeKindToJSONTyped, RangeSegment, RangeSegmentFromJSON, RangeSegmentFromJSONTyped, RangeSegmentToJSON, RangeSegmentToJSONTyped, RangeSegmentTypeEnum, RedactRule, RedactRuleFromJSON, RedactRuleFromJSONTyped, RedactRuleToJSON, RedactRuleToJSONTyped, RedactRuleTypeEnum, Refusal, RefusalFromJSON, RefusalFromJSONTyped, RefusalToJSON, RefusalToJSONTyped, RegexEntity, RegexEntityFromJSON, RegexEntityFromJSONTyped, RegexEntityToJSON, RegexEntityToJSONTyped, RegexEntityTypeEnum, RegexResult, RegexResultFromJSON, RegexResultFromJSONTyped, RegexResultToJSON, RegexResultToJSONTyped, RegexResultTypeEnum, RegionSegment, RegionSegmentFromJSON, RegionSegmentFromJSONTyped, RegionSegmentToJSON, RegionSegmentToJSONTyped, RegionSegmentTypeEnum, ReplaceRule, ReplaceRuleFromJSON, ReplaceRuleFromJSONTyped, ReplaceRuleToJSON, ReplaceRuleToJSONTyped, ReplaceRuleTypeEnum, RequestContext, RequestOpts, RequiredError, ResponseContext, ResponseError, ResponseTransformer, RuleBody, RuleBodyFromJSON, RuleBodyFromJSONTyped, RuleBodyToJSON, RuleBodyToJSONTyped, SHA256Rule, SHA256RuleFromJSON, SHA256RuleFromJSONTyped, SHA256RuleToJSON, SHA256RuleToJSONTyped, SHA256RuleTypeEnum, SHA512Rule, SHA512RuleFromJSON, SHA512RuleFromJSONTyped, SHA512RuleToJSON, SHA512RuleToJSONTyped, SHA512RuleTypeEnum, ScanRequestBody, ScanRequestBodyFromJSON, ScanRequestBodyFromJSONTyped, ScanRequestBodyToJSON, ScanRequestBodyToJSONTyped, ScanResponseBody, ScanResponseBodyFromJSON, ScanResponseBodyFromJSONTyped, ScanResponseBodyToJSON, ScanResponseBodyToJSONTyped, ScanResult, ScanResultFromJSON, ScanResultFromJSONTyped, ScanResultToJSON, ScanResultToJSONTyped, ScanTextRequest, SegmentSegment, SegmentSegmentFromJSON, SegmentSegmentFromJSONTyped, SegmentSegmentToJSON, SegmentSegmentToJSONTyped, SegmentSegmentTypeEnum, SensitiveDataProtectionApi, ShapeKind, ShapeKindFromJSON, ShapeKindFromJSONTyped, ShapeKindToJSON, ShapeKindToJSONTyped, ShapeSegment, ShapeSegmentFromJSON, ShapeSegmentFromJSONTyped, ShapeSegmentToJSON, ShapeSegmentToJSONTyped, ShapeSegmentTypeEnum, SheetSegment, SheetSegmentFromJSON, SheetSegmentFromJSONTyped, SheetSegmentToJSON, SheetSegmentToJSONTyped, SheetSegmentTypeEnum, SlideSegment, SlideSegmentFromJSON, SlideSegmentFromJSONTyped, SlideSegmentToJSON, SlideSegmentToJSONTyped, SlideSegmentTypeEnum, SpeakerNotesSegment, SpeakerNotesSegmentFromJSON, SpeakerNotesSegmentFromJSONTyped, SpeakerNotesSegmentToJSON, SpeakerNotesSegmentToJSONTyped, SpeakerNotesSegmentTypeEnum, TableSegment, TableSegmentFromJSON, TableSegmentFromJSONTyped, TableSegmentToJSON, TableSegmentToJSONTyped, TableSegmentTypeEnum, TagSegment, TagSegmentFromJSON, TagSegmentFromJSONTyped, TagSegmentToJSON, TagSegmentToJSONTyped, TagSegmentTypeEnum, TextApiResponse, TextRange, TextRangeFromJSON, TextRangeFromJSONTyped, TextRangeToJSON, TextRangeToJSONTyped, TextSegment, TextSegmentFromJSON, TextSegmentFromJSONTyped, TextSegmentToJSON, TextSegmentToJSONTyped, TextSegmentTypeEnum, UpdatePolicyOperationRequest, UpdatePolicyRequest, UpdatePolicyRequestFromJSON, UpdatePolicyRequestFromJSONTyped, UpdatePolicyRequestToJSON, UpdatePolicyRequestToJSONTyped, Usage, UsageFromJSON, UsageFromJSONTyped, UsageToJSON, UsageToJSONTyped, VoidApiResponse, canConsumeForm, exists, instanceOfAction, instanceOfAllowRule, instanceOfAnonymizeFileResponseBody, instanceOfAnonymizeRequestBody, instanceOfAnonymizeResponseBody, instanceOfAt, instanceOfAttributeSegment, instanceOfCellNoteSegment, instanceOfCellSegment, instanceOfCommentKind, instanceOfCommentSegment, instanceOfComponentSegment, instanceOfCreatePolicyRequest, instanceOfDetectRule, instanceOfElementSegment, instanceOfEncryptRule, instanceOfEndnoteSegment, instanceOfErrorCode, instanceOfErrorInfo, instanceOfFieldError, instanceOfFieldErrorCode, instanceOfFieldErrorPathInner, instanceOfFieldSegment, instanceOfFileAttributeResult, instanceOfFileEmbeddedResult, instanceOfFileModelResult, instanceOfFileRegexResult, instanceOfFootnoteSegment, instanceOfFrameSegment, instanceOfHMACRule, instanceOfHeaderFooterSegment, instanceOfIndexSegment, instanceOfItemSegment, instanceOfKeySegment, instanceOfLineSegment, instanceOfListPolicies200Response, instanceOfMaskRule, instanceOfModelEntity, instanceOfModelError, instanceOfModelResult, instanceOfModelStatus, instanceOfParagraphSegment, instanceOfPartSegment, instanceOfPolicy, instanceOfPolicyDocument, instanceOfPolicySummary, instanceOfPropertySegment, instanceOfPseudonymizeRule, instanceOfRangeKind, instanceOfRangeSegment, instanceOfRedactRule, instanceOfRefusal, instanceOfRegexEntity, instanceOfRegexResult, instanceOfRegionSegment, instanceOfReplaceRule, instanceOfSHA256Rule, instanceOfSHA512Rule, instanceOfScanRequestBody, instanceOfScanResponseBody, instanceOfScanResult, instanceOfSegmentSegment, instanceOfShapeSegment, instanceOfSheetSegment, instanceOfSlideSegment, instanceOfSpeakerNotesSegment, instanceOfTableSegment, instanceOfTagSegment, instanceOfTextRange, instanceOfTextSegment, instanceOfUpdatePolicyRequest, instanceOfUsage, mapValues, querystring };
|