@automate.ax/integration-contracts 0.104.0 → 0.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/close/events.d.ts +13 -13
  2. package/dist/close/schemas.d.ts +9 -9
  3. package/dist/cloudflare/api.d.ts +93 -0
  4. package/dist/cloudflare/api.js +250 -0
  5. package/dist/cloudflare/events.d.ts +1340 -0
  6. package/dist/cloudflare/events.js +178 -0
  7. package/dist/cloudflare/index.d.ts +3 -0
  8. package/dist/cloudflare/index.js +3 -0
  9. package/dist/cloudflare/schemas.d.ts +608 -0
  10. package/dist/cloudflare/schemas.js +340 -0
  11. package/dist/linear/api.d.ts +1 -1
  12. package/dist/linear/api.js +9 -6
  13. package/dist/linear/index.d.ts +3479 -782
  14. package/dist/linear/index.js +249 -13
  15. package/dist/linear/schemas.d.ts +2721 -28
  16. package/dist/linear/schemas.js +515 -2
  17. package/dist/notion/index.js +2 -2
  18. package/dist/notion/schemas.d.ts +2140 -58
  19. package/dist/notion/schemas.js +41 -2
  20. package/dist/outlook/schemas.d.ts +2 -2
  21. package/dist/resend/action-schemas.d.ts +9 -9
  22. package/dist/resend/index.d.ts +36 -36
  23. package/dist/resend/schemas.d.ts +40 -40
  24. package/dist/slack/event-schemas.d.ts +583 -583
  25. package/dist/slack/index.d.ts +303 -303
  26. package/dist/slack/schemas.d.ts +1 -1
  27. package/dist/teams/schemas.d.ts +5 -5
  28. package/dist/triggers.d.ts +2 -1
  29. package/dist/whatsapp/index.d.ts +2 -2
  30. package/dist/whatsapp/schemas.d.ts +5 -5
  31. package/package.json +8 -2
  32. package/src/cloudflare/api.ts +340 -0
  33. package/src/cloudflare/events.ts +212 -0
  34. package/src/cloudflare/index.ts +3 -0
  35. package/src/cloudflare/schemas.ts +359 -0
  36. package/src/linear/api.ts +10 -6
  37. package/src/linear/index.ts +249 -26
  38. package/src/linear/schemas.ts +688 -2
  39. package/src/notion/index.ts +2 -2
  40. package/src/notion/schemas.ts +58 -4
  41. package/src/triggers.ts +2 -0
@@ -0,0 +1,608 @@
1
+ import * as z from "zod";
2
+ export declare const CLOUDFLARE_PAGE_INFO_SCHEMA: z.ZodObject<{
3
+ count: z.ZodOptional<z.ZodNumber>;
4
+ page: z.ZodOptional<z.ZodNumber>;
5
+ perPage: z.ZodOptional<z.ZodNumber>;
6
+ totalCount: z.ZodOptional<z.ZodNumber>;
7
+ totalPages: z.ZodOptional<z.ZodNumber>;
8
+ }, z.core.$strip>;
9
+ export declare const CLOUDFLARE_ACCOUNT_SCHEMA: z.ZodObject<{
10
+ id: z.ZodString;
11
+ name: z.ZodString;
12
+ settings: z.ZodOptional<z.ZodObject<{
13
+ abuseContactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ enforceTwoFactor: z.ZodOptional<z.ZodBoolean>;
15
+ }, z.core.$strip>>;
16
+ type: z.ZodOptional<z.ZodEnum<{
17
+ enterprise: "enterprise";
18
+ standard: "standard";
19
+ }>>;
20
+ }, z.core.$strip>;
21
+ export declare const CLOUDFLARE_ZONE_SCHEMA: z.ZodObject<{
22
+ account: z.ZodObject<{
23
+ id: z.ZodString;
24
+ name: z.ZodOptional<z.ZodString>;
25
+ }, z.core.$strip>;
26
+ activatedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ createdOn: z.ZodString;
28
+ developmentMode: z.ZodNumber;
29
+ id: z.ZodString;
30
+ meta: z.ZodObject<{
31
+ cdnOnly: z.ZodOptional<z.ZodBoolean>;
32
+ customCertificateQuota: z.ZodOptional<z.ZodNumber>;
33
+ dnsOnly: z.ZodOptional<z.ZodBoolean>;
34
+ foundationDns: z.ZodOptional<z.ZodBoolean>;
35
+ pageRuleQuota: z.ZodOptional<z.ZodNumber>;
36
+ phishingDetected: z.ZodOptional<z.ZodBoolean>;
37
+ step: z.ZodOptional<z.ZodNumber>;
38
+ }, z.core.$strip>;
39
+ modifiedOn: z.ZodString;
40
+ name: z.ZodString;
41
+ nameServers: z.ZodArray<z.ZodString>;
42
+ originalDnshost: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ originalNameServers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
44
+ originalRegistrar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ paused: z.ZodBoolean;
46
+ status: z.ZodEnum<{
47
+ pending: "pending";
48
+ active: "active";
49
+ initializing: "initializing";
50
+ moved: "moved";
51
+ }>;
52
+ type: z.ZodEnum<{
53
+ full: "full";
54
+ internal: "internal";
55
+ partial: "partial";
56
+ secondary: "secondary";
57
+ }>;
58
+ vanityNameServers: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
+ }, z.core.$strip>;
60
+ export declare const CLOUDFLARE_DNS_RECORD_TYPE_SCHEMA: z.ZodEnum<{
61
+ A: "A";
62
+ AAAA: "AAAA";
63
+ CAA: "CAA";
64
+ CERT: "CERT";
65
+ CNAME: "CNAME";
66
+ DNSKEY: "DNSKEY";
67
+ DS: "DS";
68
+ HTTPS: "HTTPS";
69
+ LOC: "LOC";
70
+ MX: "MX";
71
+ NAPTR: "NAPTR";
72
+ NS: "NS";
73
+ OPENPGPKEY: "OPENPGPKEY";
74
+ PTR: "PTR";
75
+ SMIMEA: "SMIMEA";
76
+ SRV: "SRV";
77
+ SSHFP: "SSHFP";
78
+ SVCB: "SVCB";
79
+ TLSA: "TLSA";
80
+ TXT: "TXT";
81
+ URI: "URI";
82
+ }>;
83
+ export declare const CLOUDFLARE_DNS_RECORD_SCHEMA: z.ZodObject<{
84
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
+ commentModifiedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
+ content: z.ZodString;
87
+ createdOn: z.ZodString;
88
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
89
+ id: z.ZodString;
90
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
91
+ modifiedOn: z.ZodString;
92
+ name: z.ZodString;
93
+ priority: z.ZodOptional<z.ZodNumber>;
94
+ proxiable: z.ZodBoolean;
95
+ proxied: z.ZodBoolean;
96
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
97
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
98
+ tagsModifiedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
+ ttl: z.ZodNumber;
100
+ type: z.ZodEnum<{
101
+ A: "A";
102
+ AAAA: "AAAA";
103
+ CAA: "CAA";
104
+ CERT: "CERT";
105
+ CNAME: "CNAME";
106
+ DNSKEY: "DNSKEY";
107
+ DS: "DS";
108
+ HTTPS: "HTTPS";
109
+ LOC: "LOC";
110
+ MX: "MX";
111
+ NAPTR: "NAPTR";
112
+ NS: "NS";
113
+ OPENPGPKEY: "OPENPGPKEY";
114
+ PTR: "PTR";
115
+ SMIMEA: "SMIMEA";
116
+ SRV: "SRV";
117
+ SSHFP: "SSHFP";
118
+ SVCB: "SVCB";
119
+ TLSA: "TLSA";
120
+ TXT: "TXT";
121
+ URI: "URI";
122
+ }>;
123
+ }, z.core.$strip>;
124
+ export declare const CLOUDFLARE_HEALTH_CHECK_REGION_SCHEMA: z.ZodEnum<{
125
+ ALL_REGIONS: "ALL_REGIONS";
126
+ EEU: "EEU";
127
+ ENAM: "ENAM";
128
+ IN: "IN";
129
+ ME: "ME";
130
+ NAF: "NAF";
131
+ NEAS: "NEAS";
132
+ NSAM: "NSAM";
133
+ OC: "OC";
134
+ SAF: "SAF";
135
+ SEAS: "SEAS";
136
+ SSAM: "SSAM";
137
+ WEU: "WEU";
138
+ WNAM: "WNAM";
139
+ }>;
140
+ export declare const CLOUDFLARE_HTTP_HEALTH_CHECK_SCHEMA: z.ZodObject<{
141
+ allowInsecure: z.ZodOptional<z.ZodBoolean>;
142
+ expectedBody: z.ZodOptional<z.ZodString>;
143
+ expectedCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
144
+ followRedirects: z.ZodOptional<z.ZodBoolean>;
145
+ header: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
146
+ method: z.ZodOptional<z.ZodEnum<{
147
+ GET: "GET";
148
+ HEAD: "HEAD";
149
+ }>>;
150
+ path: z.ZodOptional<z.ZodString>;
151
+ port: z.ZodOptional<z.ZodNumber>;
152
+ }, z.core.$strip>;
153
+ export declare const CLOUDFLARE_TCP_HEALTH_CHECK_SCHEMA: z.ZodObject<{
154
+ method: z.ZodOptional<z.ZodLiteral<"connection_established">>;
155
+ port: z.ZodOptional<z.ZodNumber>;
156
+ }, z.core.$strip>;
157
+ export declare const CLOUDFLARE_HEALTH_CHECK_SCHEMA: z.ZodObject<{
158
+ address: z.ZodString;
159
+ checkRegions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
160
+ ALL_REGIONS: "ALL_REGIONS";
161
+ EEU: "EEU";
162
+ ENAM: "ENAM";
163
+ IN: "IN";
164
+ ME: "ME";
165
+ NAF: "NAF";
166
+ NEAS: "NEAS";
167
+ NSAM: "NSAM";
168
+ OC: "OC";
169
+ SAF: "SAF";
170
+ SEAS: "SEAS";
171
+ SSAM: "SSAM";
172
+ WEU: "WEU";
173
+ WNAM: "WNAM";
174
+ }>>>>;
175
+ consecutiveFails: z.ZodOptional<z.ZodNumber>;
176
+ consecutiveSuccesses: z.ZodOptional<z.ZodNumber>;
177
+ createdOn: z.ZodOptional<z.ZodString>;
178
+ description: z.ZodOptional<z.ZodString>;
179
+ failureReason: z.ZodOptional<z.ZodString>;
180
+ httpConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
181
+ allowInsecure: z.ZodOptional<z.ZodBoolean>;
182
+ expectedBody: z.ZodOptional<z.ZodString>;
183
+ expectedCodes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
184
+ followRedirects: z.ZodOptional<z.ZodBoolean>;
185
+ header: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
186
+ method: z.ZodOptional<z.ZodEnum<{
187
+ GET: "GET";
188
+ HEAD: "HEAD";
189
+ }>>;
190
+ path: z.ZodOptional<z.ZodString>;
191
+ port: z.ZodOptional<z.ZodNumber>;
192
+ }, z.core.$strip>>>;
193
+ id: z.ZodOptional<z.ZodString>;
194
+ interval: z.ZodOptional<z.ZodNumber>;
195
+ modifiedOn: z.ZodOptional<z.ZodString>;
196
+ name: z.ZodString;
197
+ retries: z.ZodOptional<z.ZodNumber>;
198
+ status: z.ZodOptional<z.ZodEnum<{
199
+ unknown: "unknown";
200
+ healthy: "healthy";
201
+ suspended: "suspended";
202
+ unhealthy: "unhealthy";
203
+ }>>;
204
+ suspended: z.ZodOptional<z.ZodBoolean>;
205
+ tcpConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
206
+ method: z.ZodOptional<z.ZodLiteral<"connection_established">>;
207
+ port: z.ZodOptional<z.ZodNumber>;
208
+ }, z.core.$strip>>>;
209
+ timeout: z.ZodOptional<z.ZodNumber>;
210
+ type: z.ZodOptional<z.ZodEnum<{
211
+ HTTPS: "HTTPS";
212
+ HTTP: "HTTP";
213
+ TCP: "TCP";
214
+ }>>;
215
+ }, z.core.$strip>;
216
+ export declare const CLOUDFLARE_ALERT_TYPE_SCHEMA: z.ZodEnum<{
217
+ abuse_report_alert: "abuse_report_alert";
218
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
219
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
220
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
221
+ advanced_http_alert_error: "advanced_http_alert_error";
222
+ bgp_hijack_notification: "bgp_hijack_notification";
223
+ billing_usage_alert: "billing_usage_alert";
224
+ block_notification_block_removed: "block_notification_block_removed";
225
+ block_notification_new_block: "block_notification_new_block";
226
+ block_notification_review_rejected: "block_notification_review_rejected";
227
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
228
+ brand_protection_alert: "brand_protection_alert";
229
+ brand_protection_digest: "brand_protection_digest";
230
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
231
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
232
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
233
+ cni_maintenance_notification: "cni_maintenance_notification";
234
+ custom_analytics: "custom_analytics";
235
+ custom_bot_detection_alert: "custom_bot_detection_alert";
236
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
237
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
238
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
239
+ dos_attack_l4: "dos_attack_l4";
240
+ dos_attack_l7: "dos_attack_l7";
241
+ expiring_service_token_alert: "expiring_service_token_alert";
242
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
243
+ fbm_auto_advertisement: "fbm_auto_advertisement";
244
+ fbm_dosd_attack: "fbm_dosd_attack";
245
+ fbm_volumetric_attack: "fbm_volumetric_attack";
246
+ health_check_status_notification: "health_check_status_notification";
247
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
248
+ http_alert_edge_error: "http_alert_edge_error";
249
+ http_alert_origin_error: "http_alert_origin_error";
250
+ image_notification: "image_notification";
251
+ image_resizing_notification: "image_resizing_notification";
252
+ incident_alert: "incident_alert";
253
+ load_balancing_health_alert: "load_balancing_health_alert";
254
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
255
+ logo_match_alert: "logo_match_alert";
256
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
257
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
258
+ maintenance_event_notification: "maintenance_event_notification";
259
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
260
+ pages_event_alert: "pages_event_alert";
261
+ radar_notification: "radar_notification";
262
+ real_origin_monitoring: "real_origin_monitoring";
263
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
264
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
265
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
266
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
267
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
268
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
269
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
270
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
271
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
272
+ secondary_dns_warning: "secondary_dns_warning";
273
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
274
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
275
+ security_insights_alert: "security_insights_alert";
276
+ sentinel_alert: "sentinel_alert";
277
+ stream_live_notifications: "stream_live_notifications";
278
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
279
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
280
+ traffic_anomalies_alert: "traffic_anomalies_alert";
281
+ tunnel_health_event: "tunnel_health_event";
282
+ tunnel_update_event: "tunnel_update_event";
283
+ universal_ssl_event_type: "universal_ssl_event_type";
284
+ web_analytics_metrics_update: "web_analytics_metrics_update";
285
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
286
+ }>;
287
+ export declare const CLOUDFLARE_NOTIFICATION_FILTERS_SCHEMA: z.ZodObject<{
288
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
289
+ affectedAsns: z.ZodOptional<z.ZodArray<z.ZodString>>;
290
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
291
+ affectedLocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
292
+ airportCode: z.ZodOptional<z.ZodArray<z.ZodString>>;
293
+ alertTriggerPreferences: z.ZodOptional<z.ZodArray<z.ZodString>>;
294
+ alertTriggerPreferencesValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
295
+ enabled: z.ZodOptional<z.ZodArray<z.ZodString>>;
296
+ environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
297
+ event: z.ZodOptional<z.ZodArray<z.ZodString>>;
298
+ eventSource: z.ZodOptional<z.ZodArray<z.ZodString>>;
299
+ eventType: z.ZodOptional<z.ZodArray<z.ZodString>>;
300
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
301
+ healthCheckId: z.ZodOptional<z.ZodArray<z.ZodString>>;
302
+ incidentImpact: z.ZodOptional<z.ZodArray<z.ZodEnum<{
303
+ INCIDENT_IMPACT_CRITICAL: "INCIDENT_IMPACT_CRITICAL";
304
+ INCIDENT_IMPACT_MAJOR: "INCIDENT_IMPACT_MAJOR";
305
+ INCIDENT_IMPACT_MINOR: "INCIDENT_IMPACT_MINOR";
306
+ INCIDENT_IMPACT_NONE: "INCIDENT_IMPACT_NONE";
307
+ }>>>;
308
+ inputId: z.ZodOptional<z.ZodArray<z.ZodString>>;
309
+ insightClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
310
+ limit: z.ZodOptional<z.ZodArray<z.ZodString>>;
311
+ logoTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
312
+ megabitsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
313
+ newHealth: z.ZodOptional<z.ZodArray<z.ZodString>>;
314
+ newStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
315
+ packetsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
316
+ poolId: z.ZodOptional<z.ZodArray<z.ZodString>>;
317
+ popNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
318
+ product: z.ZodOptional<z.ZodArray<z.ZodString>>;
319
+ projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
320
+ protocol: z.ZodOptional<z.ZodArray<z.ZodString>>;
321
+ queryTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
322
+ requestsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
323
+ selectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
324
+ services: z.ZodOptional<z.ZodArray<z.ZodString>>;
325
+ slo: z.ZodOptional<z.ZodArray<z.ZodString>>;
326
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
327
+ targetHostname: z.ZodOptional<z.ZodArray<z.ZodString>>;
328
+ targetIp: z.ZodOptional<z.ZodArray<z.ZodString>>;
329
+ targetZoneName: z.ZodOptional<z.ZodArray<z.ZodString>>;
330
+ trafficExclusions: z.ZodOptional<z.ZodArray<z.ZodLiteral<"security_events">>>;
331
+ tunnelId: z.ZodOptional<z.ZodArray<z.ZodString>>;
332
+ tunnelName: z.ZodOptional<z.ZodArray<z.ZodString>>;
333
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
334
+ where: z.ZodOptional<z.ZodArray<z.ZodString>>;
335
+ zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
336
+ }, z.core.$strip>;
337
+ export declare const CLOUDFLARE_NOTIFICATION_MECHANISMS_SCHEMA: z.ZodObject<{
338
+ email: z.ZodOptional<z.ZodArray<z.ZodObject<{
339
+ id: z.ZodEmail;
340
+ }, z.core.$strip>>>;
341
+ pagerduty: z.ZodOptional<z.ZodArray<z.ZodObject<{
342
+ id: z.ZodString;
343
+ }, z.core.$strip>>>;
344
+ webhooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
345
+ id: z.ZodString;
346
+ }, z.core.$strip>>>;
347
+ }, z.core.$strip>;
348
+ export declare const CLOUDFLARE_NOTIFICATION_POLICY_SCHEMA: z.ZodObject<{
349
+ alertInterval: z.ZodOptional<z.ZodString>;
350
+ alertType: z.ZodEnum<{
351
+ abuse_report_alert: "abuse_report_alert";
352
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
353
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
354
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
355
+ advanced_http_alert_error: "advanced_http_alert_error";
356
+ bgp_hijack_notification: "bgp_hijack_notification";
357
+ billing_usage_alert: "billing_usage_alert";
358
+ block_notification_block_removed: "block_notification_block_removed";
359
+ block_notification_new_block: "block_notification_new_block";
360
+ block_notification_review_rejected: "block_notification_review_rejected";
361
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
362
+ brand_protection_alert: "brand_protection_alert";
363
+ brand_protection_digest: "brand_protection_digest";
364
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
365
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
366
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
367
+ cni_maintenance_notification: "cni_maintenance_notification";
368
+ custom_analytics: "custom_analytics";
369
+ custom_bot_detection_alert: "custom_bot_detection_alert";
370
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
371
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
372
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
373
+ dos_attack_l4: "dos_attack_l4";
374
+ dos_attack_l7: "dos_attack_l7";
375
+ expiring_service_token_alert: "expiring_service_token_alert";
376
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
377
+ fbm_auto_advertisement: "fbm_auto_advertisement";
378
+ fbm_dosd_attack: "fbm_dosd_attack";
379
+ fbm_volumetric_attack: "fbm_volumetric_attack";
380
+ health_check_status_notification: "health_check_status_notification";
381
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
382
+ http_alert_edge_error: "http_alert_edge_error";
383
+ http_alert_origin_error: "http_alert_origin_error";
384
+ image_notification: "image_notification";
385
+ image_resizing_notification: "image_resizing_notification";
386
+ incident_alert: "incident_alert";
387
+ load_balancing_health_alert: "load_balancing_health_alert";
388
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
389
+ logo_match_alert: "logo_match_alert";
390
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
391
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
392
+ maintenance_event_notification: "maintenance_event_notification";
393
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
394
+ pages_event_alert: "pages_event_alert";
395
+ radar_notification: "radar_notification";
396
+ real_origin_monitoring: "real_origin_monitoring";
397
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
398
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
399
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
400
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
401
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
402
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
403
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
404
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
405
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
406
+ secondary_dns_warning: "secondary_dns_warning";
407
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
408
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
409
+ security_insights_alert: "security_insights_alert";
410
+ sentinel_alert: "sentinel_alert";
411
+ stream_live_notifications: "stream_live_notifications";
412
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
413
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
414
+ traffic_anomalies_alert: "traffic_anomalies_alert";
415
+ tunnel_health_event: "tunnel_health_event";
416
+ tunnel_update_event: "tunnel_update_event";
417
+ universal_ssl_event_type: "universal_ssl_event_type";
418
+ web_analytics_metrics_update: "web_analytics_metrics_update";
419
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
420
+ }>;
421
+ created: z.ZodOptional<z.ZodString>;
422
+ description: z.ZodOptional<z.ZodString>;
423
+ enabled: z.ZodBoolean;
424
+ filters: z.ZodOptional<z.ZodObject<{
425
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
426
+ affectedAsns: z.ZodOptional<z.ZodArray<z.ZodString>>;
427
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
428
+ affectedLocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
429
+ airportCode: z.ZodOptional<z.ZodArray<z.ZodString>>;
430
+ alertTriggerPreferences: z.ZodOptional<z.ZodArray<z.ZodString>>;
431
+ alertTriggerPreferencesValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
432
+ enabled: z.ZodOptional<z.ZodArray<z.ZodString>>;
433
+ environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
434
+ event: z.ZodOptional<z.ZodArray<z.ZodString>>;
435
+ eventSource: z.ZodOptional<z.ZodArray<z.ZodString>>;
436
+ eventType: z.ZodOptional<z.ZodArray<z.ZodString>>;
437
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
438
+ healthCheckId: z.ZodOptional<z.ZodArray<z.ZodString>>;
439
+ incidentImpact: z.ZodOptional<z.ZodArray<z.ZodEnum<{
440
+ INCIDENT_IMPACT_CRITICAL: "INCIDENT_IMPACT_CRITICAL";
441
+ INCIDENT_IMPACT_MAJOR: "INCIDENT_IMPACT_MAJOR";
442
+ INCIDENT_IMPACT_MINOR: "INCIDENT_IMPACT_MINOR";
443
+ INCIDENT_IMPACT_NONE: "INCIDENT_IMPACT_NONE";
444
+ }>>>;
445
+ inputId: z.ZodOptional<z.ZodArray<z.ZodString>>;
446
+ insightClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
447
+ limit: z.ZodOptional<z.ZodArray<z.ZodString>>;
448
+ logoTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
449
+ megabitsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
450
+ newHealth: z.ZodOptional<z.ZodArray<z.ZodString>>;
451
+ newStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
452
+ packetsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
453
+ poolId: z.ZodOptional<z.ZodArray<z.ZodString>>;
454
+ popNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
455
+ product: z.ZodOptional<z.ZodArray<z.ZodString>>;
456
+ projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
457
+ protocol: z.ZodOptional<z.ZodArray<z.ZodString>>;
458
+ queryTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
459
+ requestsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
460
+ selectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
461
+ services: z.ZodOptional<z.ZodArray<z.ZodString>>;
462
+ slo: z.ZodOptional<z.ZodArray<z.ZodString>>;
463
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
464
+ targetHostname: z.ZodOptional<z.ZodArray<z.ZodString>>;
465
+ targetIp: z.ZodOptional<z.ZodArray<z.ZodString>>;
466
+ targetZoneName: z.ZodOptional<z.ZodArray<z.ZodString>>;
467
+ trafficExclusions: z.ZodOptional<z.ZodArray<z.ZodLiteral<"security_events">>>;
468
+ tunnelId: z.ZodOptional<z.ZodArray<z.ZodString>>;
469
+ tunnelName: z.ZodOptional<z.ZodArray<z.ZodString>>;
470
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
471
+ where: z.ZodOptional<z.ZodArray<z.ZodString>>;
472
+ zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
473
+ }, z.core.$strip>>;
474
+ id: z.ZodOptional<z.ZodString>;
475
+ mechanisms: z.ZodObject<{
476
+ email: z.ZodOptional<z.ZodArray<z.ZodObject<{
477
+ id: z.ZodEmail;
478
+ }, z.core.$strip>>>;
479
+ pagerduty: z.ZodOptional<z.ZodArray<z.ZodObject<{
480
+ id: z.ZodString;
481
+ }, z.core.$strip>>>;
482
+ webhooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
483
+ id: z.ZodString;
484
+ }, z.core.$strip>>>;
485
+ }, z.core.$strip>;
486
+ modified: z.ZodOptional<z.ZodString>;
487
+ name: z.ZodString;
488
+ }, z.core.$strip>;
489
+ export declare const CLOUDFLARE_AVAILABLE_ALERT_SCHEMA: z.ZodObject<{
490
+ description: z.ZodOptional<z.ZodString>;
491
+ displayName: z.ZodOptional<z.ZodString>;
492
+ filterOptions: z.ZodOptional<z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>;
493
+ type: z.ZodEnum<{
494
+ abuse_report_alert: "abuse_report_alert";
495
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
496
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
497
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
498
+ advanced_http_alert_error: "advanced_http_alert_error";
499
+ bgp_hijack_notification: "bgp_hijack_notification";
500
+ billing_usage_alert: "billing_usage_alert";
501
+ block_notification_block_removed: "block_notification_block_removed";
502
+ block_notification_new_block: "block_notification_new_block";
503
+ block_notification_review_rejected: "block_notification_review_rejected";
504
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
505
+ brand_protection_alert: "brand_protection_alert";
506
+ brand_protection_digest: "brand_protection_digest";
507
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
508
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
509
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
510
+ cni_maintenance_notification: "cni_maintenance_notification";
511
+ custom_analytics: "custom_analytics";
512
+ custom_bot_detection_alert: "custom_bot_detection_alert";
513
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
514
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
515
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
516
+ dos_attack_l4: "dos_attack_l4";
517
+ dos_attack_l7: "dos_attack_l7";
518
+ expiring_service_token_alert: "expiring_service_token_alert";
519
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
520
+ fbm_auto_advertisement: "fbm_auto_advertisement";
521
+ fbm_dosd_attack: "fbm_dosd_attack";
522
+ fbm_volumetric_attack: "fbm_volumetric_attack";
523
+ health_check_status_notification: "health_check_status_notification";
524
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
525
+ http_alert_edge_error: "http_alert_edge_error";
526
+ http_alert_origin_error: "http_alert_origin_error";
527
+ image_notification: "image_notification";
528
+ image_resizing_notification: "image_resizing_notification";
529
+ incident_alert: "incident_alert";
530
+ load_balancing_health_alert: "load_balancing_health_alert";
531
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
532
+ logo_match_alert: "logo_match_alert";
533
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
534
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
535
+ maintenance_event_notification: "maintenance_event_notification";
536
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
537
+ pages_event_alert: "pages_event_alert";
538
+ radar_notification: "radar_notification";
539
+ real_origin_monitoring: "real_origin_monitoring";
540
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
541
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
542
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
543
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
544
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
545
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
546
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
547
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
548
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
549
+ secondary_dns_warning: "secondary_dns_warning";
550
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
551
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
552
+ security_insights_alert: "security_insights_alert";
553
+ sentinel_alert: "sentinel_alert";
554
+ stream_live_notifications: "stream_live_notifications";
555
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
556
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
557
+ traffic_anomalies_alert: "traffic_anomalies_alert";
558
+ tunnel_health_event: "tunnel_health_event";
559
+ tunnel_update_event: "tunnel_update_event";
560
+ universal_ssl_event_type: "universal_ssl_event_type";
561
+ web_analytics_metrics_update: "web_analytics_metrics_update";
562
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
563
+ }>;
564
+ }, z.core.$strip>;
565
+ export declare const CLOUDFLARE_NOTIFICATION_HISTORY_SCHEMA: z.ZodObject<{
566
+ alertBody: z.ZodOptional<z.ZodString>;
567
+ alertType: z.ZodOptional<z.ZodString>;
568
+ description: z.ZodOptional<z.ZodString>;
569
+ id: z.ZodOptional<z.ZodString>;
570
+ mechanism: z.ZodOptional<z.ZodString>;
571
+ mechanismType: z.ZodOptional<z.ZodEnum<{
572
+ email: "email";
573
+ pagerduty: "pagerduty";
574
+ webhook: "webhook";
575
+ }>>;
576
+ name: z.ZodOptional<z.ZodString>;
577
+ policyId: z.ZodOptional<z.ZodString>;
578
+ sent: z.ZodOptional<z.ZodString>;
579
+ }, z.core.$strip>;
580
+ export declare const CLOUDFLARE_DELETE_RESULT_SCHEMA: z.ZodObject<{
581
+ id: z.ZodString;
582
+ }, z.core.$strip>;
583
+ export declare const CLOUDFLARE_NOTIFICATION_WEBHOOK_SCHEMA: z.ZodObject<{
584
+ createdAt: z.ZodOptional<z.ZodString>;
585
+ id: z.ZodString;
586
+ lastFailure: z.ZodOptional<z.ZodString>;
587
+ lastSuccess: z.ZodOptional<z.ZodString>;
588
+ name: z.ZodOptional<z.ZodString>;
589
+ type: z.ZodOptional<z.ZodEnum<{
590
+ datadog: "datadog";
591
+ discord: "discord";
592
+ feishu: "feishu";
593
+ gchat: "gchat";
594
+ generic: "generic";
595
+ opsgenie: "opsgenie";
596
+ slack: "slack";
597
+ splunk: "splunk";
598
+ }>>;
599
+ url: z.ZodOptional<z.ZodString>;
600
+ }, z.core.$strip>;
601
+ export declare const CLOUDFLARE_API_RESPONSE_INFO_SCHEMA: z.ZodObject<{
602
+ code: z.ZodOptional<z.ZodNumber>;
603
+ documentationUrl: z.ZodOptional<z.ZodString>;
604
+ message: z.ZodString;
605
+ source: z.ZodOptional<z.ZodObject<{
606
+ pointer: z.ZodOptional<z.ZodString>;
607
+ }, z.core.$strip>>;
608
+ }, z.core.$strip>;