@vigilbase/cli 0.2.4 → 0.2.6

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.
Files changed (32) hide show
  1. package/CLOUDFLARE.md +9 -2
  2. package/COMMANDS.md +5 -5
  3. package/LOCAL.md +87 -12
  4. package/ONE.md +2 -2
  5. package/README.md +13 -10
  6. package/dist/commands/cloudflare.js +79 -13
  7. package/dist/commands/helpers.d.ts +4 -1
  8. package/dist/commands/local.js +44 -23
  9. package/dist/lib/checkup-report-limits.d.ts +16 -0
  10. package/dist/lib/checkup-report-limits.js +16 -0
  11. package/dist/lib/checkup-report.d.ts +118 -0
  12. package/dist/lib/checkup-report.js +503 -0
  13. package/dist/lib/format.d.ts +2 -0
  14. package/dist/lib/format.js +1 -1
  15. package/dist/lib/one-error-hints.d.ts +1 -0
  16. package/dist/lib/one-error-hints.js +10 -0
  17. package/dist/lib/tui.d.ts +4 -0
  18. package/dist/lib/tui.js +2 -2
  19. package/dist/local/cloudflare-checkup/cf/allowlist.js +5 -2
  20. package/dist/local/cloudflare-checkup/collector.js +5 -5
  21. package/dist/local/cloudflare-checkup/contract.d.ts +481 -20
  22. package/dist/local/cloudflare-checkup/contract.js +111 -27
  23. package/dist/local/cloudflare-checkup/email-verification.d.ts +8 -1
  24. package/dist/local/cloudflare-checkup/email-verification.js +0 -5
  25. package/dist/local/cloudflare-checkup/identity-verification.d.ts +11 -0
  26. package/dist/local/cloudflare-checkup/identity-verification.js +65 -0
  27. package/dist/local/cloudflare-checkup/snapshot-file.js +13 -1
  28. package/dist/local/cloudflare-checkup/submit-client.d.ts +6 -3
  29. package/dist/local/cloudflare-checkup/submit-client.js +17 -4
  30. package/dist/local/cloudflare-checkup/terminal-ui.d.ts +10 -3
  31. package/dist/local/cloudflare-checkup/terminal-ui.js +13 -3
  32. package/package.json +1 -1
@@ -21,8 +21,8 @@
21
21
  * Line references below are to `packages/tools/src/cloudflare-checkup/scanner.ts`
22
22
  * before the read-client refactor; the function names are the stable anchor.
23
23
  *
24
- * Any change to a field read or a projection rule is a new schema version
25
- * (`/2`), and the server then accepts both for at least one CLI minor release.
24
+ * Optional protection entries and DNS hostname coverage extend V1; older V1
25
+ * snapshots remain accepted with the same required entry checks.
26
26
  */
27
27
  import { z } from 'zod';
28
28
  export declare const SNAPSHOT_SCHEMA_VERSION: "vigilbase.cloudflare-checkup.snapshot/1";
@@ -39,6 +39,8 @@ export declare const LOCAL_AVAILABILITY_PATH: "/api/v1/tools/cloudflare-checkup/
39
39
  export declare const LOCAL_REQUEST_PATH: "/api/v1/tools/cloudflare-checkup/local-session/request";
40
40
  /** The CLI trades the verification token and the emailed code for a session code. */
41
41
  export declare const LOCAL_VERIFY_PATH: "/api/v1/tools/cloudflare-checkup/local-session/verify";
42
+ /** Exchange a signed, run-scoped One identity proof for an upload session. */
43
+ export declare const LOCAL_IDENTITY_PATH: "/api/v1/tools/cloudflare-checkup/local-session/identity";
42
44
  /** `vbcv1_` + base64url_nopad(iv[12] ‖ AES-256-GCM(runId[16] ‖ iat[4]) ‖ tag[16]): names a run awaiting its emailed code. */
43
45
  export declare const VERIFICATION_TOKEN_REGEX: RegExp;
44
46
  /** The six-digit code One emails for a tool run. */
@@ -68,7 +70,7 @@ export declare const SNAPSHOT_LIMITS: Readonly<{
68
70
  maxCollectionHours: 6;
69
71
  maxAgeHours: 24;
70
72
  maxFutureSkewSeconds: 300;
71
- rulesetListTruncationAt: 100;
73
+ rulesetListTruncationAt: 50;
72
74
  }>;
73
75
  export declare const ZONE_SETTING_IDS: readonly ["ssl", "always_use_https", "min_tls_version", "tls_1_3", "security_level", "email_obfuscation", "hotlink_protection", "browser_check", "origin_pulls", "challenge_ttl", "browser_cache_ttl", "minify", "early_hints", "rocket_loader", "waf", "automatic_https_rewrites", "security_header", "opportunistic_encryption", "always_online"];
74
76
  export declare const MANAGED_RULESET_IDS: readonly string[];
@@ -76,12 +78,32 @@ export declare const MANAGED_NAME_NEEDLES: readonly ["cloudflare managed ruleset
76
78
  export declare const LEGACY_PAGE_RULE_ACTIONS: readonly ["disable_security", "disable_performance", "waf", "security_level", "browser_check"];
77
79
  export declare const ACCOUNT_KINDS: readonly ["account", "zones", "account_members", "account_rulesets", "account_access_rules", "access_apps", "access_identity_providers", "access_service_tokens", "gateway_rules", "gateway_locations", "cfd_tunnels"];
78
80
  export declare const ZONE_SINGLE_KINDS: readonly ["zone_dnssec", "zone_dns_records", "zone_universal_ssl", "zone_total_tls", "zone_rulesets", "zone_access_rules", "zone_page_rules", "zone_bot_management", "zone_page_shield", "zone_schema_validation_settings", "zone_schema_validation_schemas"];
81
+ export declare const OPTIONAL_ZONE_KINDS: readonly ["zone_certificate_packs", "zone_custom_certificates", "zone_api_operations"];
82
+ export declare const SNAPSHOT_PROTECTION_COVERAGE_DESCRIPTORS: {
83
+ readonly zone_certificate_packs: {
84
+ readonly label: "Edge certificate packs";
85
+ readonly affects: readonly ["certificate_coverage", "certificate_expiry"];
86
+ };
87
+ readonly zone_custom_certificates: {
88
+ readonly label: "Custom edge certificates";
89
+ readonly affects: readonly ["certificate_coverage", "certificate_expiry"];
90
+ };
91
+ readonly zone_api_operations: {
92
+ readonly label: "API operation schema enforcement";
93
+ readonly affects: readonly ["api_enforcement_coverage"];
94
+ };
95
+ readonly zone_effective_waf_inputs: {
96
+ readonly label: "Effective WAF scope and overrides";
97
+ readonly affects: readonly ["managed_ruleset_coverage", "managed_ruleset_overrides"];
98
+ };
99
+ };
79
100
  export declare const NOT_COLLECTABLE_ZONE_KINDS: readonly ["zone_legacy_firewall_rules", "zone_legacy_filters", "zone_legacy_waf_packages", "zone_legacy_rate_limits", "zone_waf_analytics"];
80
- export declare const SNAPSHOT_KINDS: readonly ["account", "zones", "account_members", "account_rulesets", "account_access_rules", "access_apps", "access_identity_providers", "access_service_tokens", "gateway_rules", "gateway_locations", "cfd_tunnels", "zone_setting", "zone_dnssec", "zone_dns_records", "zone_universal_ssl", "zone_total_tls", "zone_rulesets", "zone_access_rules", "zone_page_rules", "zone_bot_management", "zone_page_shield", "zone_schema_validation_settings", "zone_schema_validation_schemas", "zone_ruleset", "zone_legacy_firewall_rules", "zone_legacy_filters", "zone_legacy_waf_packages", "zone_legacy_rate_limits", "zone_waf_analytics"];
101
+ export declare const SNAPSHOT_KINDS: readonly ["account", "zones", "account_members", "account_rulesets", "account_access_rules", "access_apps", "access_identity_providers", "access_service_tokens", "gateway_rules", "gateway_locations", "cfd_tunnels", "zone_setting", "zone_dnssec", "zone_dns_records", "zone_universal_ssl", "zone_total_tls", "zone_rulesets", "zone_access_rules", "zone_page_rules", "zone_bot_management", "zone_page_shield", "zone_schema_validation_settings", "zone_schema_validation_schemas", "zone_certificate_packs", "zone_custom_certificates", "zone_api_operations", "zone_ruleset", "zone_legacy_firewall_rules", "zone_legacy_filters", "zone_legacy_waf_packages", "zone_legacy_rate_limits", "zone_waf_analytics"];
81
102
  export declare const COLLECTION_FAILURE_DETAILS: readonly ["cf_error", "invalid_output", "timeout", "output_too_large", "possibly_truncated", "page_limit", "command_unavailable"];
82
103
  export declare const RECOMMENDED_CF_SCOPES: readonly ["account:read", "account-settings.read", "memberships.read", "user:read", "user-details.read", "zone:read", "zone.read", "zone-settings.read", "dns.read", "dns_records:read", "ssl-and-certificates.read", "zone-waf.read", "account-waf.read", "account-rulesets.read", "http-ddos-managed-ruleset.read", "firewall-services.read", "account-firewall-access-rules.read", "page-rules.read", "bot-management.read", "page-shield.read", "domain-page-shield.read", "api-gateway.read", "access.read", "access:read", "access-app.read", "access-idp.read", "access-service-token.read", "teams.read", "teams:read", "argotunnel.read", "teams-connector-cloudflared.read"];
83
104
  export type AccountKind = (typeof ACCOUNT_KINDS)[number];
84
105
  export type ZoneSingleKind = (typeof ZONE_SINGLE_KINDS)[number];
106
+ export type OptionalZoneKind = (typeof OPTIONAL_ZONE_KINDS)[number];
85
107
  export type NotCollectableZoneKind = (typeof NOT_COLLECTABLE_ZONE_KINDS)[number];
86
108
  export type SnapshotKind = (typeof SNAPSHOT_KINDS)[number];
87
109
  export type CollectableKind = Exclude<SnapshotKind, NotCollectableZoneKind>;
@@ -140,7 +162,8 @@ export declare const ZoneData: z.ZodObject<{
140
162
  type: z.ZodOptional<z.ZodString>;
141
163
  development_mode: z.ZodOptional<z.ZodNumber>;
142
164
  plan: z.ZodOptional<z.ZodObject<{
143
- name: z.ZodString;
165
+ name: z.ZodOptional<z.ZodString>;
166
+ legacy_id: z.ZodOptional<z.ZodString>;
144
167
  }, z.core.$strict>>;
145
168
  account: z.ZodObject<{
146
169
  id: z.ZodString;
@@ -182,7 +205,7 @@ export declare const DnssecData: z.ZodObject<{
182
205
  status: z.ZodOptional<z.ZodString>;
183
206
  algorithm: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
184
207
  }, z.core.$strict>;
185
- export declare const DnsRecordData: z.ZodObject<{
208
+ export declare const DnsRecordData: z.ZodUnion<readonly [z.ZodObject<{
186
209
  type: z.ZodEnum<{
187
210
  A: "A";
188
211
  AAAA: "AAAA";
@@ -190,16 +213,61 @@ export declare const DnsRecordData: z.ZodObject<{
190
213
  name: z.ZodOptional<z.ZodString>;
191
214
  content: z.ZodString;
192
215
  proxied: z.ZodOptional<z.ZodLiteral<true>>;
216
+ }, z.core.$strict>, z.ZodObject<{
217
+ type: z.ZodLiteral<"CNAME">;
218
+ name: z.ZodOptional<z.ZodString>;
219
+ proxied: z.ZodLiteral<true>;
220
+ }, z.core.$strict>]>;
221
+ export declare const CertificateData: z.ZodObject<{
222
+ status: z.ZodOptional<z.ZodString>;
223
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
224
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
225
+ }, z.core.$strict>;
226
+ export declare const CertificatePackData: z.ZodObject<{
227
+ status: z.ZodOptional<z.ZodString>;
228
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
229
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
230
+ certificates: z.ZodOptional<z.ZodArray<z.ZodObject<{
231
+ status: z.ZodOptional<z.ZodString>;
232
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
233
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
234
+ }, z.core.$strict>>>;
235
+ }, z.core.$strict>;
236
+ export declare const ApiOperationData: z.ZodObject<{
237
+ features: z.ZodOptional<z.ZodObject<{
238
+ schema_info: z.ZodOptional<z.ZodObject<{
239
+ active_schema: z.ZodOptional<z.ZodObject<{
240
+ id: z.ZodString;
241
+ }, z.core.$strict>>;
242
+ mitigation_action: z.ZodOptional<z.ZodEnum<{
243
+ block: "block";
244
+ log: "log";
245
+ none: "none";
246
+ }>>;
247
+ }, z.core.$strict>>;
248
+ }, z.core.$strict>>;
193
249
  }, z.core.$strict>;
194
250
  export declare const RulesetHeadData: z.ZodObject<{
195
251
  id: z.ZodString;
196
252
  phase: z.ZodOptional<z.ZodString>;
197
253
  name: z.ZodOptional<z.ZodLiteral<"ddos">>;
254
+ kind: z.ZodOptional<z.ZodEnum<{
255
+ custom: "custom";
256
+ root: "root";
257
+ managed: "managed";
258
+ zone: "zone";
259
+ }>>;
198
260
  }, z.core.$strict>;
199
261
  export declare const RulesetDetailData: z.ZodObject<{
200
262
  id: z.ZodString;
201
263
  phase: z.ZodOptional<z.ZodString>;
202
264
  name: z.ZodOptional<z.ZodLiteral<"ddos">>;
265
+ kind: z.ZodOptional<z.ZodEnum<{
266
+ custom: "custom";
267
+ root: "root";
268
+ managed: "managed";
269
+ zone: "zone";
270
+ }>>;
203
271
  rulesBody: z.ZodOptional<z.ZodString>;
204
272
  }, z.core.$strict>;
205
273
  export declare const PageRuleData: z.ZodObject<{
@@ -225,6 +293,7 @@ export declare const ProjectedRuleData: z.ZodObject<{
225
293
  action: z.ZodOptional<z.ZodString>;
226
294
  enabled: z.ZodOptional<z.ZodLiteral<false>>;
227
295
  expression: z.ZodOptional<z.ZodEnum<{
296
+ false: "false";
228
297
  true: "true";
229
298
  "ip.geoip.country in": "ip.geoip.country in";
230
299
  }>>;
@@ -240,6 +309,7 @@ export declare const RuleRunData: z.ZodObject<{
240
309
  action: z.ZodOptional<z.ZodString>;
241
310
  enabled: z.ZodOptional<z.ZodLiteral<false>>;
242
311
  expression: z.ZodOptional<z.ZodEnum<{
312
+ false: "false";
243
313
  true: "true";
244
314
  "ip.geoip.country in": "ip.geoip.country in";
245
315
  }>>;
@@ -256,10 +326,17 @@ export declare const ProjectedRulesetDetailData: z.ZodObject<{
256
326
  id: z.ZodString;
257
327
  phase: z.ZodOptional<z.ZodString>;
258
328
  name: z.ZodOptional<z.ZodLiteral<"ddos">>;
329
+ kind: z.ZodOptional<z.ZodEnum<{
330
+ custom: "custom";
331
+ root: "root";
332
+ managed: "managed";
333
+ zone: "zone";
334
+ }>>;
259
335
  rules: z.ZodArray<z.ZodObject<{
260
336
  action: z.ZodOptional<z.ZodString>;
261
337
  enabled: z.ZodOptional<z.ZodLiteral<false>>;
262
338
  expression: z.ZodOptional<z.ZodEnum<{
339
+ false: "false";
263
340
  true: "true";
264
341
  "ip.geoip.country in": "ip.geoip.country in";
265
342
  }>>;
@@ -322,7 +399,8 @@ export declare const SnapshotEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
322
399
  type: z.ZodOptional<z.ZodString>;
323
400
  development_mode: z.ZodOptional<z.ZodNumber>;
324
401
  plan: z.ZodOptional<z.ZodObject<{
325
- name: z.ZodString;
402
+ name: z.ZodOptional<z.ZodString>;
403
+ legacy_id: z.ZodOptional<z.ZodString>;
326
404
  }, z.core.$strict>>;
327
405
  account: z.ZodObject<{
328
406
  id: z.ZodString;
@@ -633,7 +711,7 @@ export declare const SnapshotEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
633
711
  zoneId: z.ZodString;
634
712
  result: z.ZodUnion<readonly [z.ZodObject<{
635
713
  ok: z.ZodLiteral<true>;
636
- data: z.ZodArray<z.ZodObject<{
714
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
637
715
  type: z.ZodEnum<{
638
716
  A: "A";
639
717
  AAAA: "AAAA";
@@ -641,7 +719,11 @@ export declare const SnapshotEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
641
719
  name: z.ZodOptional<z.ZodString>;
642
720
  content: z.ZodString;
643
721
  proxied: z.ZodOptional<z.ZodLiteral<true>>;
644
- }, z.core.$strict>>;
722
+ }, z.core.$strict>, z.ZodObject<{
723
+ type: z.ZodLiteral<"CNAME">;
724
+ name: z.ZodOptional<z.ZodString>;
725
+ proxied: z.ZodLiteral<true>;
726
+ }, z.core.$strict>]>>;
645
727
  }, z.core.$strict>, z.ZodObject<{
646
728
  ok: z.ZodLiteral<false>;
647
729
  reason: z.ZodLiteral<"http_error">;
@@ -718,6 +800,12 @@ export declare const SnapshotEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
718
800
  id: z.ZodString;
719
801
  phase: z.ZodOptional<z.ZodString>;
720
802
  name: z.ZodOptional<z.ZodLiteral<"ddos">>;
803
+ kind: z.ZodOptional<z.ZodEnum<{
804
+ custom: "custom";
805
+ root: "root";
806
+ managed: "managed";
807
+ zone: "zone";
808
+ }>>;
721
809
  }, z.core.$strict>>;
722
810
  }, z.core.$strict>, z.ZodObject<{
723
811
  ok: z.ZodLiteral<false>;
@@ -746,6 +834,12 @@ export declare const SnapshotEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
746
834
  id: z.ZodString;
747
835
  phase: z.ZodOptional<z.ZodString>;
748
836
  name: z.ZodOptional<z.ZodLiteral<"ddos">>;
837
+ kind: z.ZodOptional<z.ZodEnum<{
838
+ custom: "custom";
839
+ root: "root";
840
+ managed: "managed";
841
+ zone: "zone";
842
+ }>>;
749
843
  rulesBody: z.ZodOptional<z.ZodString>;
750
844
  }, z.core.$strict>;
751
845
  }, z.core.$strict>, z.ZodObject<{
@@ -911,6 +1005,110 @@ export declare const SnapshotEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
911
1005
  command_unavailable: "command_unavailable";
912
1006
  }>;
913
1007
  }, z.core.$strict>]>;
1008
+ }, z.core.$strict>, z.ZodObject<{
1009
+ kind: z.ZodLiteral<"zone_certificate_packs">;
1010
+ zoneId: z.ZodString;
1011
+ result: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
1012
+ ok: z.ZodLiteral<true>;
1013
+ data: z.ZodArray<z.ZodObject<{
1014
+ status: z.ZodOptional<z.ZodString>;
1015
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1016
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
1017
+ certificates: z.ZodOptional<z.ZodArray<z.ZodObject<{
1018
+ status: z.ZodOptional<z.ZodString>;
1019
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1020
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
1021
+ }, z.core.$strict>>>;
1022
+ }, z.core.$strict>>;
1023
+ }, z.core.$strict>, z.ZodObject<{
1024
+ ok: z.ZodLiteral<false>;
1025
+ reason: z.ZodLiteral<"http_error">;
1026
+ status: z.ZodNumber;
1027
+ }, z.core.$strict>, z.ZodObject<{
1028
+ ok: z.ZodLiteral<false>;
1029
+ reason: z.ZodLiteral<"collection_failed">;
1030
+ detail: z.ZodEnum<{
1031
+ timeout: "timeout";
1032
+ cf_error: "cf_error";
1033
+ invalid_output: "invalid_output";
1034
+ output_too_large: "output_too_large";
1035
+ possibly_truncated: "possibly_truncated";
1036
+ page_limit: "page_limit";
1037
+ command_unavailable: "command_unavailable";
1038
+ }>;
1039
+ }, z.core.$strict>]>, z.ZodObject<{
1040
+ ok: z.ZodLiteral<false>;
1041
+ reason: z.ZodLiteral<"not_collected">;
1042
+ }, z.core.$strict>]>;
1043
+ }, z.core.$strict>, z.ZodObject<{
1044
+ kind: z.ZodLiteral<"zone_custom_certificates">;
1045
+ zoneId: z.ZodString;
1046
+ result: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
1047
+ ok: z.ZodLiteral<true>;
1048
+ data: z.ZodArray<z.ZodObject<{
1049
+ status: z.ZodOptional<z.ZodString>;
1050
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1051
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
1052
+ }, z.core.$strict>>;
1053
+ }, z.core.$strict>, z.ZodObject<{
1054
+ ok: z.ZodLiteral<false>;
1055
+ reason: z.ZodLiteral<"http_error">;
1056
+ status: z.ZodNumber;
1057
+ }, z.core.$strict>, z.ZodObject<{
1058
+ ok: z.ZodLiteral<false>;
1059
+ reason: z.ZodLiteral<"collection_failed">;
1060
+ detail: z.ZodEnum<{
1061
+ timeout: "timeout";
1062
+ cf_error: "cf_error";
1063
+ invalid_output: "invalid_output";
1064
+ output_too_large: "output_too_large";
1065
+ possibly_truncated: "possibly_truncated";
1066
+ page_limit: "page_limit";
1067
+ command_unavailable: "command_unavailable";
1068
+ }>;
1069
+ }, z.core.$strict>]>, z.ZodObject<{
1070
+ ok: z.ZodLiteral<false>;
1071
+ reason: z.ZodLiteral<"not_collected">;
1072
+ }, z.core.$strict>]>;
1073
+ }, z.core.$strict>, z.ZodObject<{
1074
+ kind: z.ZodLiteral<"zone_api_operations">;
1075
+ zoneId: z.ZodString;
1076
+ result: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
1077
+ ok: z.ZodLiteral<true>;
1078
+ data: z.ZodArray<z.ZodObject<{
1079
+ features: z.ZodOptional<z.ZodObject<{
1080
+ schema_info: z.ZodOptional<z.ZodObject<{
1081
+ active_schema: z.ZodOptional<z.ZodObject<{
1082
+ id: z.ZodString;
1083
+ }, z.core.$strict>>;
1084
+ mitigation_action: z.ZodOptional<z.ZodEnum<{
1085
+ block: "block";
1086
+ log: "log";
1087
+ none: "none";
1088
+ }>>;
1089
+ }, z.core.$strict>>;
1090
+ }, z.core.$strict>>;
1091
+ }, z.core.$strict>>;
1092
+ }, z.core.$strict>, z.ZodObject<{
1093
+ ok: z.ZodLiteral<false>;
1094
+ reason: z.ZodLiteral<"http_error">;
1095
+ status: z.ZodNumber;
1096
+ }, z.core.$strict>, z.ZodObject<{
1097
+ ok: z.ZodLiteral<false>;
1098
+ reason: z.ZodLiteral<"collection_failed">;
1099
+ detail: z.ZodEnum<{
1100
+ timeout: "timeout";
1101
+ cf_error: "cf_error";
1102
+ invalid_output: "invalid_output";
1103
+ output_too_large: "output_too_large";
1104
+ possibly_truncated: "possibly_truncated";
1105
+ page_limit: "page_limit";
1106
+ command_unavailable: "command_unavailable";
1107
+ }>;
1108
+ }, z.core.$strict>]>, z.ZodObject<{
1109
+ ok: z.ZodLiteral<false>;
1110
+ reason: z.ZodLiteral<"not_collected">;
1111
+ }, z.core.$strict>]>;
914
1112
  }, z.core.$strict>, z.ZodObject<{
915
1113
  kind: z.ZodLiteral<"zone_legacy_firewall_rules">;
916
1114
  zoneId: z.ZodString;
@@ -1025,7 +1223,8 @@ declare const SnapshotObjectSchema: z.ZodObject<{
1025
1223
  type: z.ZodOptional<z.ZodString>;
1026
1224
  development_mode: z.ZodOptional<z.ZodNumber>;
1027
1225
  plan: z.ZodOptional<z.ZodObject<{
1028
- name: z.ZodString;
1226
+ name: z.ZodOptional<z.ZodString>;
1227
+ legacy_id: z.ZodOptional<z.ZodString>;
1029
1228
  }, z.core.$strict>>;
1030
1229
  account: z.ZodObject<{
1031
1230
  id: z.ZodString;
@@ -1336,7 +1535,7 @@ declare const SnapshotObjectSchema: z.ZodObject<{
1336
1535
  zoneId: z.ZodString;
1337
1536
  result: z.ZodUnion<readonly [z.ZodObject<{
1338
1537
  ok: z.ZodLiteral<true>;
1339
- data: z.ZodArray<z.ZodObject<{
1538
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1340
1539
  type: z.ZodEnum<{
1341
1540
  A: "A";
1342
1541
  AAAA: "AAAA";
@@ -1344,7 +1543,11 @@ declare const SnapshotObjectSchema: z.ZodObject<{
1344
1543
  name: z.ZodOptional<z.ZodString>;
1345
1544
  content: z.ZodString;
1346
1545
  proxied: z.ZodOptional<z.ZodLiteral<true>>;
1347
- }, z.core.$strict>>;
1546
+ }, z.core.$strict>, z.ZodObject<{
1547
+ type: z.ZodLiteral<"CNAME">;
1548
+ name: z.ZodOptional<z.ZodString>;
1549
+ proxied: z.ZodLiteral<true>;
1550
+ }, z.core.$strict>]>>;
1348
1551
  }, z.core.$strict>, z.ZodObject<{
1349
1552
  ok: z.ZodLiteral<false>;
1350
1553
  reason: z.ZodLiteral<"http_error">;
@@ -1421,6 +1624,12 @@ declare const SnapshotObjectSchema: z.ZodObject<{
1421
1624
  id: z.ZodString;
1422
1625
  phase: z.ZodOptional<z.ZodString>;
1423
1626
  name: z.ZodOptional<z.ZodLiteral<"ddos">>;
1627
+ kind: z.ZodOptional<z.ZodEnum<{
1628
+ custom: "custom";
1629
+ root: "root";
1630
+ managed: "managed";
1631
+ zone: "zone";
1632
+ }>>;
1424
1633
  }, z.core.$strict>>;
1425
1634
  }, z.core.$strict>, z.ZodObject<{
1426
1635
  ok: z.ZodLiteral<false>;
@@ -1449,6 +1658,12 @@ declare const SnapshotObjectSchema: z.ZodObject<{
1449
1658
  id: z.ZodString;
1450
1659
  phase: z.ZodOptional<z.ZodString>;
1451
1660
  name: z.ZodOptional<z.ZodLiteral<"ddos">>;
1661
+ kind: z.ZodOptional<z.ZodEnum<{
1662
+ custom: "custom";
1663
+ root: "root";
1664
+ managed: "managed";
1665
+ zone: "zone";
1666
+ }>>;
1452
1667
  rulesBody: z.ZodOptional<z.ZodString>;
1453
1668
  }, z.core.$strict>;
1454
1669
  }, z.core.$strict>, z.ZodObject<{
@@ -1614,6 +1829,110 @@ declare const SnapshotObjectSchema: z.ZodObject<{
1614
1829
  command_unavailable: "command_unavailable";
1615
1830
  }>;
1616
1831
  }, z.core.$strict>]>;
1832
+ }, z.core.$strict>, z.ZodObject<{
1833
+ kind: z.ZodLiteral<"zone_certificate_packs">;
1834
+ zoneId: z.ZodString;
1835
+ result: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
1836
+ ok: z.ZodLiteral<true>;
1837
+ data: z.ZodArray<z.ZodObject<{
1838
+ status: z.ZodOptional<z.ZodString>;
1839
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1840
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
1841
+ certificates: z.ZodOptional<z.ZodArray<z.ZodObject<{
1842
+ status: z.ZodOptional<z.ZodString>;
1843
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1844
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
1845
+ }, z.core.$strict>>>;
1846
+ }, z.core.$strict>>;
1847
+ }, z.core.$strict>, z.ZodObject<{
1848
+ ok: z.ZodLiteral<false>;
1849
+ reason: z.ZodLiteral<"http_error">;
1850
+ status: z.ZodNumber;
1851
+ }, z.core.$strict>, z.ZodObject<{
1852
+ ok: z.ZodLiteral<false>;
1853
+ reason: z.ZodLiteral<"collection_failed">;
1854
+ detail: z.ZodEnum<{
1855
+ timeout: "timeout";
1856
+ cf_error: "cf_error";
1857
+ invalid_output: "invalid_output";
1858
+ output_too_large: "output_too_large";
1859
+ possibly_truncated: "possibly_truncated";
1860
+ page_limit: "page_limit";
1861
+ command_unavailable: "command_unavailable";
1862
+ }>;
1863
+ }, z.core.$strict>]>, z.ZodObject<{
1864
+ ok: z.ZodLiteral<false>;
1865
+ reason: z.ZodLiteral<"not_collected">;
1866
+ }, z.core.$strict>]>;
1867
+ }, z.core.$strict>, z.ZodObject<{
1868
+ kind: z.ZodLiteral<"zone_custom_certificates">;
1869
+ zoneId: z.ZodString;
1870
+ result: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
1871
+ ok: z.ZodLiteral<true>;
1872
+ data: z.ZodArray<z.ZodObject<{
1873
+ status: z.ZodOptional<z.ZodString>;
1874
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1875
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
1876
+ }, z.core.$strict>>;
1877
+ }, z.core.$strict>, z.ZodObject<{
1878
+ ok: z.ZodLiteral<false>;
1879
+ reason: z.ZodLiteral<"http_error">;
1880
+ status: z.ZodNumber;
1881
+ }, z.core.$strict>, z.ZodObject<{
1882
+ ok: z.ZodLiteral<false>;
1883
+ reason: z.ZodLiteral<"collection_failed">;
1884
+ detail: z.ZodEnum<{
1885
+ timeout: "timeout";
1886
+ cf_error: "cf_error";
1887
+ invalid_output: "invalid_output";
1888
+ output_too_large: "output_too_large";
1889
+ possibly_truncated: "possibly_truncated";
1890
+ page_limit: "page_limit";
1891
+ command_unavailable: "command_unavailable";
1892
+ }>;
1893
+ }, z.core.$strict>]>, z.ZodObject<{
1894
+ ok: z.ZodLiteral<false>;
1895
+ reason: z.ZodLiteral<"not_collected">;
1896
+ }, z.core.$strict>]>;
1897
+ }, z.core.$strict>, z.ZodObject<{
1898
+ kind: z.ZodLiteral<"zone_api_operations">;
1899
+ zoneId: z.ZodString;
1900
+ result: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
1901
+ ok: z.ZodLiteral<true>;
1902
+ data: z.ZodArray<z.ZodObject<{
1903
+ features: z.ZodOptional<z.ZodObject<{
1904
+ schema_info: z.ZodOptional<z.ZodObject<{
1905
+ active_schema: z.ZodOptional<z.ZodObject<{
1906
+ id: z.ZodString;
1907
+ }, z.core.$strict>>;
1908
+ mitigation_action: z.ZodOptional<z.ZodEnum<{
1909
+ block: "block";
1910
+ log: "log";
1911
+ none: "none";
1912
+ }>>;
1913
+ }, z.core.$strict>>;
1914
+ }, z.core.$strict>>;
1915
+ }, z.core.$strict>>;
1916
+ }, z.core.$strict>, z.ZodObject<{
1917
+ ok: z.ZodLiteral<false>;
1918
+ reason: z.ZodLiteral<"http_error">;
1919
+ status: z.ZodNumber;
1920
+ }, z.core.$strict>, z.ZodObject<{
1921
+ ok: z.ZodLiteral<false>;
1922
+ reason: z.ZodLiteral<"collection_failed">;
1923
+ detail: z.ZodEnum<{
1924
+ timeout: "timeout";
1925
+ cf_error: "cf_error";
1926
+ invalid_output: "invalid_output";
1927
+ output_too_large: "output_too_large";
1928
+ possibly_truncated: "possibly_truncated";
1929
+ page_limit: "page_limit";
1930
+ command_unavailable: "command_unavailable";
1931
+ }>;
1932
+ }, z.core.$strict>]>, z.ZodObject<{
1933
+ ok: z.ZodLiteral<false>;
1934
+ reason: z.ZodLiteral<"not_collected">;
1935
+ }, z.core.$strict>]>;
1617
1936
  }, z.core.$strict>, z.ZodObject<{
1618
1937
  kind: z.ZodLiteral<"zone_legacy_firewall_rules">;
1619
1938
  zoneId: z.ZodString;
@@ -1654,6 +1973,7 @@ declare const SnapshotObjectSchema: z.ZodObject<{
1654
1973
  action: z.ZodOptional<z.ZodString>;
1655
1974
  enabled: z.ZodOptional<z.ZodLiteral<false>>;
1656
1975
  expression: z.ZodOptional<z.ZodEnum<{
1976
+ false: "false";
1657
1977
  true: "true";
1658
1978
  "ip.geoip.country in": "ip.geoip.country in";
1659
1979
  }>>;
@@ -1724,7 +2044,8 @@ export declare const CloudflareCheckupSnapshotV1Schema: z.ZodObject<{
1724
2044
  type: z.ZodOptional<z.ZodString>;
1725
2045
  development_mode: z.ZodOptional<z.ZodNumber>;
1726
2046
  plan: z.ZodOptional<z.ZodObject<{
1727
- name: z.ZodString;
2047
+ name: z.ZodOptional<z.ZodString>;
2048
+ legacy_id: z.ZodOptional<z.ZodString>;
1728
2049
  }, z.core.$strict>>;
1729
2050
  account: z.ZodObject<{
1730
2051
  id: z.ZodString;
@@ -2035,7 +2356,7 @@ export declare const CloudflareCheckupSnapshotV1Schema: z.ZodObject<{
2035
2356
  zoneId: z.ZodString;
2036
2357
  result: z.ZodUnion<readonly [z.ZodObject<{
2037
2358
  ok: z.ZodLiteral<true>;
2038
- data: z.ZodArray<z.ZodObject<{
2359
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2039
2360
  type: z.ZodEnum<{
2040
2361
  A: "A";
2041
2362
  AAAA: "AAAA";
@@ -2043,7 +2364,11 @@ export declare const CloudflareCheckupSnapshotV1Schema: z.ZodObject<{
2043
2364
  name: z.ZodOptional<z.ZodString>;
2044
2365
  content: z.ZodString;
2045
2366
  proxied: z.ZodOptional<z.ZodLiteral<true>>;
2046
- }, z.core.$strict>>;
2367
+ }, z.core.$strict>, z.ZodObject<{
2368
+ type: z.ZodLiteral<"CNAME">;
2369
+ name: z.ZodOptional<z.ZodString>;
2370
+ proxied: z.ZodLiteral<true>;
2371
+ }, z.core.$strict>]>>;
2047
2372
  }, z.core.$strict>, z.ZodObject<{
2048
2373
  ok: z.ZodLiteral<false>;
2049
2374
  reason: z.ZodLiteral<"http_error">;
@@ -2120,6 +2445,12 @@ export declare const CloudflareCheckupSnapshotV1Schema: z.ZodObject<{
2120
2445
  id: z.ZodString;
2121
2446
  phase: z.ZodOptional<z.ZodString>;
2122
2447
  name: z.ZodOptional<z.ZodLiteral<"ddos">>;
2448
+ kind: z.ZodOptional<z.ZodEnum<{
2449
+ custom: "custom";
2450
+ root: "root";
2451
+ managed: "managed";
2452
+ zone: "zone";
2453
+ }>>;
2123
2454
  }, z.core.$strict>>;
2124
2455
  }, z.core.$strict>, z.ZodObject<{
2125
2456
  ok: z.ZodLiteral<false>;
@@ -2148,6 +2479,12 @@ export declare const CloudflareCheckupSnapshotV1Schema: z.ZodObject<{
2148
2479
  id: z.ZodString;
2149
2480
  phase: z.ZodOptional<z.ZodString>;
2150
2481
  name: z.ZodOptional<z.ZodLiteral<"ddos">>;
2482
+ kind: z.ZodOptional<z.ZodEnum<{
2483
+ custom: "custom";
2484
+ root: "root";
2485
+ managed: "managed";
2486
+ zone: "zone";
2487
+ }>>;
2151
2488
  rulesBody: z.ZodOptional<z.ZodString>;
2152
2489
  }, z.core.$strict>;
2153
2490
  }, z.core.$strict>, z.ZodObject<{
@@ -2313,6 +2650,110 @@ export declare const CloudflareCheckupSnapshotV1Schema: z.ZodObject<{
2313
2650
  command_unavailable: "command_unavailable";
2314
2651
  }>;
2315
2652
  }, z.core.$strict>]>;
2653
+ }, z.core.$strict>, z.ZodObject<{
2654
+ kind: z.ZodLiteral<"zone_certificate_packs">;
2655
+ zoneId: z.ZodString;
2656
+ result: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
2657
+ ok: z.ZodLiteral<true>;
2658
+ data: z.ZodArray<z.ZodObject<{
2659
+ status: z.ZodOptional<z.ZodString>;
2660
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2661
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
2662
+ certificates: z.ZodOptional<z.ZodArray<z.ZodObject<{
2663
+ status: z.ZodOptional<z.ZodString>;
2664
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2665
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
2666
+ }, z.core.$strict>>>;
2667
+ }, z.core.$strict>>;
2668
+ }, z.core.$strict>, z.ZodObject<{
2669
+ ok: z.ZodLiteral<false>;
2670
+ reason: z.ZodLiteral<"http_error">;
2671
+ status: z.ZodNumber;
2672
+ }, z.core.$strict>, z.ZodObject<{
2673
+ ok: z.ZodLiteral<false>;
2674
+ reason: z.ZodLiteral<"collection_failed">;
2675
+ detail: z.ZodEnum<{
2676
+ timeout: "timeout";
2677
+ cf_error: "cf_error";
2678
+ invalid_output: "invalid_output";
2679
+ output_too_large: "output_too_large";
2680
+ possibly_truncated: "possibly_truncated";
2681
+ page_limit: "page_limit";
2682
+ command_unavailable: "command_unavailable";
2683
+ }>;
2684
+ }, z.core.$strict>]>, z.ZodObject<{
2685
+ ok: z.ZodLiteral<false>;
2686
+ reason: z.ZodLiteral<"not_collected">;
2687
+ }, z.core.$strict>]>;
2688
+ }, z.core.$strict>, z.ZodObject<{
2689
+ kind: z.ZodLiteral<"zone_custom_certificates">;
2690
+ zoneId: z.ZodString;
2691
+ result: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
2692
+ ok: z.ZodLiteral<true>;
2693
+ data: z.ZodArray<z.ZodObject<{
2694
+ status: z.ZodOptional<z.ZodString>;
2695
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2696
+ expires_on: z.ZodOptional<z.ZodISODateTime>;
2697
+ }, z.core.$strict>>;
2698
+ }, z.core.$strict>, z.ZodObject<{
2699
+ ok: z.ZodLiteral<false>;
2700
+ reason: z.ZodLiteral<"http_error">;
2701
+ status: z.ZodNumber;
2702
+ }, z.core.$strict>, z.ZodObject<{
2703
+ ok: z.ZodLiteral<false>;
2704
+ reason: z.ZodLiteral<"collection_failed">;
2705
+ detail: z.ZodEnum<{
2706
+ timeout: "timeout";
2707
+ cf_error: "cf_error";
2708
+ invalid_output: "invalid_output";
2709
+ output_too_large: "output_too_large";
2710
+ possibly_truncated: "possibly_truncated";
2711
+ page_limit: "page_limit";
2712
+ command_unavailable: "command_unavailable";
2713
+ }>;
2714
+ }, z.core.$strict>]>, z.ZodObject<{
2715
+ ok: z.ZodLiteral<false>;
2716
+ reason: z.ZodLiteral<"not_collected">;
2717
+ }, z.core.$strict>]>;
2718
+ }, z.core.$strict>, z.ZodObject<{
2719
+ kind: z.ZodLiteral<"zone_api_operations">;
2720
+ zoneId: z.ZodString;
2721
+ result: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
2722
+ ok: z.ZodLiteral<true>;
2723
+ data: z.ZodArray<z.ZodObject<{
2724
+ features: z.ZodOptional<z.ZodObject<{
2725
+ schema_info: z.ZodOptional<z.ZodObject<{
2726
+ active_schema: z.ZodOptional<z.ZodObject<{
2727
+ id: z.ZodString;
2728
+ }, z.core.$strict>>;
2729
+ mitigation_action: z.ZodOptional<z.ZodEnum<{
2730
+ block: "block";
2731
+ log: "log";
2732
+ none: "none";
2733
+ }>>;
2734
+ }, z.core.$strict>>;
2735
+ }, z.core.$strict>>;
2736
+ }, z.core.$strict>>;
2737
+ }, z.core.$strict>, z.ZodObject<{
2738
+ ok: z.ZodLiteral<false>;
2739
+ reason: z.ZodLiteral<"http_error">;
2740
+ status: z.ZodNumber;
2741
+ }, z.core.$strict>, z.ZodObject<{
2742
+ ok: z.ZodLiteral<false>;
2743
+ reason: z.ZodLiteral<"collection_failed">;
2744
+ detail: z.ZodEnum<{
2745
+ timeout: "timeout";
2746
+ cf_error: "cf_error";
2747
+ invalid_output: "invalid_output";
2748
+ output_too_large: "output_too_large";
2749
+ possibly_truncated: "possibly_truncated";
2750
+ page_limit: "page_limit";
2751
+ command_unavailable: "command_unavailable";
2752
+ }>;
2753
+ }, z.core.$strict>]>, z.ZodObject<{
2754
+ ok: z.ZodLiteral<false>;
2755
+ reason: z.ZodLiteral<"not_collected">;
2756
+ }, z.core.$strict>]>;
2316
2757
  }, z.core.$strict>, z.ZodObject<{
2317
2758
  kind: z.ZodLiteral<"zone_legacy_firewall_rules">;
2318
2759
  zoneId: z.ZodString;
@@ -2353,6 +2794,7 @@ export declare const CloudflareCheckupSnapshotV1Schema: z.ZodObject<{
2353
2794
  action: z.ZodOptional<z.ZodString>;
2354
2795
  enabled: z.ZodOptional<z.ZodLiteral<false>>;
2355
2796
  expression: z.ZodOptional<z.ZodEnum<{
2797
+ false: "false";
2356
2798
  true: "true";
2357
2799
  "ip.geoip.country in": "ip.geoip.country in";
2358
2800
  }>>;
@@ -2454,7 +2896,7 @@ export type ProjectionResult<T> = {
2454
2896
  export declare function projectAccount(raw: unknown): ProjectionResult<AccountData>;
2455
2897
  /**
2456
2898
  * `zones` (all pages merged, API order): `id, name, status, paused, type,
2457
- * development_mode, plan.name, account.{id,name}`. zoneCtxFor (4338) prints the
2899
+ * development_mode, plan.{name,legacy_id}, account.{id,name}`. zoneCtxFor (4338) prints the
2458
2900
  * account; createZoneStatusCheck (1960-1990), createDevModeCheck (2165-2197),
2459
2901
  * createDNSModeCheck (3218-3234) and assembleCheckupResult (5099-5102) read the rest.
2460
2902
  * `paused` is only tested for truthiness.
@@ -2526,14 +2968,18 @@ export declare function projectZoneSetting(raw: unknown): ProjectionResult<Setti
2526
2968
  */
2527
2969
  export declare function projectDnssec(raw: unknown): ProjectionResult<DnssecData>;
2528
2970
  /**
2529
- * `zone_dns_records` (all pages, API order): only `(A|AAAA) && content` records.
2971
+ * `zone_dns_records` (all pages, API order): `(A|AAAA) && content` records and
2972
+ * proxied CNAME hostnames without their targets.
2530
2973
  * findOriginExposure and detectOriginIpReuseAcrossZones (3307-3373) read
2531
2974
  * `type`, `content` (as a Map key and through `maskIp`), `proxied` (truthiness)
2532
- * and `name`, which is printed only for non-proxied records (3292-3297); proxied
2533
- * names are only counted. `content` stays raw here and is pseudonymised by
2975
+ * and `name`. Certificate coverage reads proxied hostnames. Address `content`
2976
+ * stays raw here and is pseudonymised by
2534
2977
  * `createIpPseudonymizer` (via `assembleSnapshot`) once every zone is collected.
2535
2978
  */
2536
2979
  export declare function projectDnsRecords(raw: unknown): ProjectionResult<DnsRecordData[]>;
2980
+ export declare function projectCertificatePacks(raw: unknown): ProjectionResult<z.infer<typeof CertificatePackData>[]>;
2981
+ export declare function projectCustomCertificates(raw: unknown): ProjectionResult<z.infer<typeof CertificateData>[]>;
2982
+ export declare function projectApiOperations(raw: unknown): ProjectionResult<z.infer<typeof ApiOperationData>[]>;
2537
2983
  /**
2538
2984
  * `zone_universal_ssl`, `zone_total_tls`, `zone_page_shield`: `enabled`.
2539
2985
  * The checks read `enabled !== false` (3797) and `enabled === true` (2697,
@@ -2542,7 +2988,8 @@ export declare function projectDnsRecords(raw: unknown): ProjectionResult<DnsRec
2542
2988
  export declare function projectEnabledOnly(raw: unknown): ProjectionResult<EnabledOnlyData>;
2543
2989
  /**
2544
2990
  * `zone_rulesets` heads: `id, phase`, `name:'ddos'` iff the name contains
2545
- * "ddos"; `kind` and `version` are dropped. `name` is read only by
2991
+ * "ddos"; the managed `kind` marker is retained to distinguish vendor definitions
2992
+ * from customer configuration, while `version` is dropped. `name` is read only by
2546
2993
  * createDDoSCheck (2511); `phase` at 2326, 2511, 2559-2564, 3446 and 4019.
2547
2994
  */
2548
2995
  export declare function projectRulesetHeads(raw: unknown): ProjectionResult<RulesetHeadData[]>;
@@ -2614,6 +3061,9 @@ export declare const PROJECTORS: {
2614
3061
  readonly zone_page_shield: typeof projectEnabledOnly;
2615
3062
  readonly zone_schema_validation_settings: typeof projectSchemaValidationSettings;
2616
3063
  readonly zone_schema_validation_schemas: typeof projectCounted;
3064
+ readonly zone_certificate_packs: typeof projectCertificatePacks;
3065
+ readonly zone_custom_certificates: typeof projectCustomCertificates;
3066
+ readonly zone_api_operations: typeof projectApiOperations;
2617
3067
  };
2618
3068
  export declare const NOT_COLLECTED_RESULT: NotCollectedResult;
2619
3069
  export declare function httpErrorResult(status: number): HttpErrorResult;
@@ -2741,6 +3191,16 @@ export declare const LocalRequestBodySchema: z.ZodObject<{
2741
3191
  ar: "ar";
2742
3192
  }>;
2743
3193
  }, z.core.$strict>;
3194
+ export declare const LocalIdentityBodySchema: z.ZodObject<{
3195
+ runId: z.ZodUUID;
3196
+ email: z.ZodEmail;
3197
+ proof: z.ZodString;
3198
+ locale: z.ZodEnum<{
3199
+ en: "en";
3200
+ "pt-PT": "pt-PT";
3201
+ ar: "ar";
3202
+ }>;
3203
+ }, z.core.$strict>;
2744
3204
  export declare const LocalVerifyBodySchema: z.ZodObject<{
2745
3205
  verification: z.ZodString;
2746
3206
  code: z.ZodString;
@@ -2805,6 +3265,7 @@ export type LocalAvailabilityResponse = z.infer<typeof LocalAvailabilityResponse
2805
3265
  export type LocalSnapshotResponse = z.infer<typeof LocalSnapshotResponseSchema>;
2806
3266
  export type LocalErrorResponse = z.infer<typeof LocalErrorResponseSchema>;
2807
3267
  export type LocalRequestBody = z.infer<typeof LocalRequestBodySchema>;
3268
+ export type LocalIdentityBody = z.infer<typeof LocalIdentityBodySchema>;
2808
3269
  export type LocalVerifyBody = z.infer<typeof LocalVerifyBodySchema>;
2809
3270
  export type LocalRequestResponse = z.infer<typeof LocalRequestResponseSchema>;
2810
3271
  export type LocalVerifyResponse = z.infer<typeof LocalVerifyResponseSchema>;