cloudflare 3.0.0-beta.8 → 3.0.0-beta.9
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/CHANGELOG.md +9 -0
- package/README.md +6 -6
- package/index.d.mts +1 -5
- package/index.d.ts +1 -5
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/dns/dns.d.ts +1 -6
- package/resources/dns/dns.d.ts.map +1 -1
- package/resources/dns/dns.js +1 -1
- package/resources/dns/dns.js.map +1 -1
- package/resources/dns/dns.mjs +1 -1
- package/resources/dns/dns.mjs.map +1 -1
- package/resources/dns/index.d.ts +1 -1
- package/resources/dns/index.d.ts.map +1 -1
- package/resources/dns/index.js +2 -2
- package/resources/dns/index.js.map +1 -1
- package/resources/dns/index.mjs +1 -1
- package/resources/dns/index.mjs.map +1 -1
- package/resources/dns/records.d.ts +16 -9776
- package/resources/dns/records.d.ts.map +1 -1
- package/resources/dns/records.js +8 -5
- package/resources/dns/records.js.map +1 -1
- package/resources/dns/records.mjs +6 -3
- package/resources/dns/records.mjs.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +2 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.d.ts +13 -0
- package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.d.ts +9 -0
- package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.mjs.map +1 -1
- package/resources/zones/index.d.ts +1 -1
- package/resources/zones/index.d.ts.map +1 -1
- package/resources/zones/index.js +2 -2
- package/resources/zones/index.js.map +1 -1
- package/resources/zones/index.mjs +1 -1
- package/resources/zones/index.mjs.map +1 -1
- package/resources/zones/zones.d.ts +7 -491
- package/resources/zones/zones.d.ts.map +1 -1
- package/resources/zones/zones.js +5 -5
- package/resources/zones/zones.js.map +1 -1
- package/resources/zones/zones.mjs +3 -3
- package/resources/zones/zones.mjs.map +1 -1
- package/src/index.ts +1 -5
- package/src/resources/dns/dns.ts +1 -6
- package/src/resources/dns/index.ts +1 -6
- package/src/resources/dns/records.ts +25 -11876
- package/src/resources/index.ts +1 -5
- package/src/resources/zero-trust/dlp/profiles/custom.ts +16 -0
- package/src/resources/zero-trust/dlp/profiles/predefined.ts +11 -0
- package/src/resources/zones/index.ts +1 -5
- package/src/resources/zones/zones.ts +15 -603
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/index.ts
CHANGED
|
@@ -369,17 +369,13 @@ export {
|
|
|
369
369
|
export { ZeroTrust } from './zero-trust/zero-trust';
|
|
370
370
|
export {
|
|
371
371
|
Zone,
|
|
372
|
-
ZoneCreateResponse,
|
|
373
|
-
ZoneListResponse,
|
|
374
372
|
ZoneDeleteResponse,
|
|
375
|
-
ZoneEditResponse,
|
|
376
|
-
ZoneGetResponse,
|
|
377
373
|
ZoneCreateParams,
|
|
378
374
|
ZoneListParams,
|
|
379
375
|
ZoneDeleteParams,
|
|
380
376
|
ZoneEditParams,
|
|
381
377
|
ZoneGetParams,
|
|
382
|
-
|
|
378
|
+
ZonesV4PagePaginationArray,
|
|
383
379
|
Zones,
|
|
384
380
|
} from './zones/zones';
|
|
385
381
|
export {
|
|
@@ -102,6 +102,11 @@ export interface DLPCustomProfile {
|
|
|
102
102
|
*/
|
|
103
103
|
name?: string;
|
|
104
104
|
|
|
105
|
+
/**
|
|
106
|
+
* If true, scan images via OCR to determine if any text present matches filters.
|
|
107
|
+
*/
|
|
108
|
+
ocr_enabled?: boolean;
|
|
109
|
+
|
|
105
110
|
/**
|
|
106
111
|
* The type of the profile.
|
|
107
112
|
*/
|
|
@@ -236,6 +241,11 @@ export namespace CustomCreateParams {
|
|
|
236
241
|
* The name of the profile.
|
|
237
242
|
*/
|
|
238
243
|
name?: string;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* If true, scan images via OCR to determine if any text present matches filters.
|
|
247
|
+
*/
|
|
248
|
+
ocr_enabled?: boolean;
|
|
239
249
|
}
|
|
240
250
|
|
|
241
251
|
export namespace Profile {
|
|
@@ -343,6 +353,12 @@ export interface CustomUpdateParams {
|
|
|
343
353
|
*/
|
|
344
354
|
name?: string;
|
|
345
355
|
|
|
356
|
+
/**
|
|
357
|
+
* Body param: If true, scan images via OCR to determine if any text present
|
|
358
|
+
* matches filters.
|
|
359
|
+
*/
|
|
360
|
+
ocr_enabled?: boolean;
|
|
361
|
+
|
|
346
362
|
/**
|
|
347
363
|
* Body param: Entries from other profiles (e.g. pre-defined Cloudflare profiles,
|
|
348
364
|
* or your Microsoft Information Protection profiles).
|
|
@@ -65,6 +65,11 @@ export interface DLPPredefinedProfile {
|
|
|
65
65
|
*/
|
|
66
66
|
name?: string;
|
|
67
67
|
|
|
68
|
+
/**
|
|
69
|
+
* If true, scan images via OCR to determine if any text present matches filters.
|
|
70
|
+
*/
|
|
71
|
+
ocr_enabled?: boolean;
|
|
72
|
+
|
|
68
73
|
/**
|
|
69
74
|
* The type of the profile.
|
|
70
75
|
*/
|
|
@@ -149,6 +154,12 @@ export interface PredefinedUpdateParams {
|
|
|
149
154
|
* Body param: The entries for this profile.
|
|
150
155
|
*/
|
|
151
156
|
entries?: Array<PredefinedUpdateParams.Entry>;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Body param: If true, scan images via OCR to determine if any text present
|
|
160
|
+
* matches filters.
|
|
161
|
+
*/
|
|
162
|
+
ocr_enabled?: boolean;
|
|
152
163
|
}
|
|
153
164
|
|
|
154
165
|
export namespace PredefinedUpdateParams {
|
|
@@ -38,16 +38,12 @@ export {
|
|
|
38
38
|
export { Workers } from './workers/index';
|
|
39
39
|
export {
|
|
40
40
|
Zone,
|
|
41
|
-
ZoneCreateResponse,
|
|
42
|
-
ZoneListResponse,
|
|
43
41
|
ZoneDeleteResponse,
|
|
44
|
-
ZoneEditResponse,
|
|
45
|
-
ZoneGetResponse,
|
|
46
42
|
ZoneCreateParams,
|
|
47
43
|
ZoneListParams,
|
|
48
44
|
ZoneDeleteParams,
|
|
49
45
|
ZoneEditParams,
|
|
50
46
|
ZoneGetParams,
|
|
51
|
-
|
|
47
|
+
ZonesV4PagePaginationArray,
|
|
52
48
|
Zones,
|
|
53
49
|
} from './zones';
|