@distilled.cloud/cloudflare 0.28.2 → 0.29.1
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/lib/client/api.d.ts +1 -1
- package/lib/client/api.d.ts.map +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/package.json +10 -9
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
|
@@ -17,7 +17,7 @@ export class ScanConfigNotFound extends T.applyErrorMatchers(Schema.TaggedErrorC
|
|
|
17
17
|
message: Schema.String,
|
|
18
18
|
}), [{ status: 404 }]) {
|
|
19
19
|
}
|
|
20
|
-
const ListRequestsResponseResult = /*@__PURE__*/
|
|
20
|
+
const ListRequestsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
21
21
|
id: Schema.String,
|
|
22
22
|
created: Schema.String,
|
|
23
23
|
priority: Schema.Union([
|
|
@@ -63,10 +63,10 @@ const ListRequestsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
63
63
|
status: "status",
|
|
64
64
|
tokens: "tokens",
|
|
65
65
|
})));
|
|
66
|
-
const Source = /*@__PURE__*/
|
|
66
|
+
const Source = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
67
67
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
68
68
|
}));
|
|
69
|
-
const Error2 = /*@__PURE__*/
|
|
69
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
70
70
|
code: Schema.Number,
|
|
71
71
|
message: Schema.String,
|
|
72
72
|
documentationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -78,7 +78,7 @@ const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
78
78
|
source: "source",
|
|
79
79
|
})));
|
|
80
80
|
const GetRequestAssetResponseResult =
|
|
81
|
-
/*@__PURE__*/
|
|
81
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
82
82
|
id: Schema.Number,
|
|
83
83
|
name: Schema.String,
|
|
84
84
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -92,7 +92,7 @@ const GetRequestAssetResponseResult =
|
|
|
92
92
|
fileType: "file_type",
|
|
93
93
|
})));
|
|
94
94
|
const ListScanConfigsResponseResult =
|
|
95
|
-
/*@__PURE__*/
|
|
95
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
96
96
|
id: Schema.String,
|
|
97
97
|
accountId: Schema.String,
|
|
98
98
|
frequency: Schema.Number,
|
|
@@ -105,12 +105,12 @@ const ListScanConfigsResponseResult =
|
|
|
105
105
|
ips: "ips",
|
|
106
106
|
ports: "ports",
|
|
107
107
|
})));
|
|
108
|
-
const ScanResult = /*@__PURE__*/
|
|
108
|
+
const ScanResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
109
109
|
number: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
110
110
|
proto: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
111
111
|
status: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
112
112
|
}));
|
|
113
|
-
const ThreatEventListResponseItem = /*@__PURE__*/
|
|
113
|
+
const ThreatEventListResponseItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
114
114
|
attacker: Schema.String,
|
|
115
115
|
attackerCountry: Schema.String,
|
|
116
116
|
attackerCountryAlpha3: Schema.String,
|
|
@@ -141,7 +141,7 @@ const ThreatEventListResponseItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
141
141
|
insight: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
142
142
|
releasabilityId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
143
143
|
}));
|
|
144
|
-
const Raw = /*@__PURE__*/
|
|
144
|
+
const Raw = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
145
145
|
data: Schema.Union([
|
|
146
146
|
Schema.Record(Schema.String, Schema.Unknown),
|
|
147
147
|
Schema.Null,
|
|
@@ -149,16 +149,16 @@ const Raw = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
149
149
|
source: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
150
150
|
tlp: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
151
151
|
}));
|
|
152
|
-
const Indicator = /*@__PURE__*/
|
|
152
|
+
const Indicator = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
153
153
|
indicatorType: Schema.String,
|
|
154
154
|
value: Schema.String,
|
|
155
155
|
}));
|
|
156
|
-
const Raw2 = /*@__PURE__*/
|
|
156
|
+
const Raw2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
157
157
|
data: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
158
158
|
source: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
159
159
|
tlp: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
160
160
|
}));
|
|
161
|
-
const Data = /*@__PURE__*/
|
|
161
|
+
const Data = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
162
162
|
category: Schema.String,
|
|
163
163
|
date: Schema.String,
|
|
164
164
|
event: Schema.String,
|
|
@@ -176,19 +176,19 @@ const Data = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
176
176
|
targetCountry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
177
177
|
targetIndustry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
178
178
|
}));
|
|
179
|
-
const CreatedEvent = /*@__PURE__*/
|
|
179
|
+
const CreatedEvent = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
180
180
|
eventIndex: Schema.Number,
|
|
181
181
|
shardId: Schema.String,
|
|
182
182
|
uuid: Schema.String,
|
|
183
183
|
}));
|
|
184
|
-
const Error3 = /*@__PURE__*/
|
|
184
|
+
const Error3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
185
185
|
error: Schema.String,
|
|
186
186
|
eventIndex: Schema.Number,
|
|
187
187
|
}));
|
|
188
|
-
const Items = /*@__PURE__*/
|
|
188
|
+
const Items = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
189
189
|
type: Schema.String,
|
|
190
190
|
}));
|
|
191
|
-
const CategoryListResponseItem = /*@__PURE__*/
|
|
191
|
+
const CategoryListResponseItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
192
192
|
killChain: Schema.Number,
|
|
193
193
|
name: Schema.String,
|
|
194
194
|
uuid: Schema.String,
|
|
@@ -196,22 +196,22 @@ const CategoryListResponseItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
196
196
|
mitreCapec: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
197
197
|
shortname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
198
198
|
}));
|
|
199
|
-
const Result = /*@__PURE__*/
|
|
199
|
+
const Result = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
200
200
|
alpha2: Schema.String,
|
|
201
201
|
alpha3: Schema.String,
|
|
202
202
|
name: Schema.String,
|
|
203
203
|
}));
|
|
204
|
-
const CountryListResponseItem = /*@__PURE__*/
|
|
204
|
+
const CountryListResponseItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
205
205
|
result: Schema.Array(Result),
|
|
206
206
|
success: Schema.String,
|
|
207
207
|
}));
|
|
208
|
-
const DatasetListResponseItem = /*@__PURE__*/
|
|
208
|
+
const DatasetListResponseItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
209
209
|
isPublic: Schema.Boolean,
|
|
210
210
|
name: Schema.String,
|
|
211
211
|
uuid: Schema.String,
|
|
212
212
|
deletedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
213
213
|
}));
|
|
214
|
-
const Alias = /*@__PURE__*/
|
|
214
|
+
const Alias = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
215
215
|
value: Schema.String,
|
|
216
216
|
confidence: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
217
217
|
tlp: Schema.optional(Schema.Union([
|
|
@@ -223,7 +223,7 @@ const Alias = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
223
223
|
])),
|
|
224
224
|
}));
|
|
225
225
|
export const GetBinaryStorageRequest =
|
|
226
|
-
/*@__PURE__*/
|
|
226
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
227
227
|
hash: Schema.String.pipe(T.HttpPath("hash")),
|
|
228
228
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
229
229
|
}).pipe(T.Http({
|
|
@@ -231,14 +231,14 @@ export const GetBinaryStorageRequest =
|
|
|
231
231
|
path: "/accounts/{account_id}/cloudforce-one/binary/{hash}",
|
|
232
232
|
})));
|
|
233
233
|
export const GetBinaryStorageResponse =
|
|
234
|
-
/*@__PURE__*/
|
|
235
|
-
export const getBinaryStorage = /*@__PURE__*/
|
|
234
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
|
|
235
|
+
export const getBinaryStorage = /*@__PURE__*/ API.make(() => ({
|
|
236
236
|
input: GetBinaryStorageRequest,
|
|
237
237
|
output: GetBinaryStorageResponse,
|
|
238
238
|
errors: [],
|
|
239
239
|
}));
|
|
240
240
|
export const CreateBinaryStorageRequest =
|
|
241
|
-
/*@__PURE__*/
|
|
241
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
242
242
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
243
243
|
file: UploadableSchema.pipe(T.HttpFormDataFile()),
|
|
244
244
|
}).pipe(T.Http({
|
|
@@ -247,7 +247,7 @@ export const CreateBinaryStorageRequest =
|
|
|
247
247
|
contentType: "multipart",
|
|
248
248
|
})));
|
|
249
249
|
export const CreateBinaryStorageResponse =
|
|
250
|
-
/*@__PURE__*/
|
|
250
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
251
251
|
contentType: Schema.String,
|
|
252
252
|
md5: Schema.String,
|
|
253
253
|
sha1: Schema.String,
|
|
@@ -258,19 +258,19 @@ export const CreateBinaryStorageResponse =
|
|
|
258
258
|
sha1: "sha1",
|
|
259
259
|
sha256: "sha256",
|
|
260
260
|
})));
|
|
261
|
-
export const createBinaryStorage = /*@__PURE__*/
|
|
261
|
+
export const createBinaryStorage = /*@__PURE__*/ API.make(() => ({
|
|
262
262
|
input: CreateBinaryStorageRequest,
|
|
263
263
|
output: CreateBinaryStorageResponse,
|
|
264
264
|
errors: [],
|
|
265
265
|
}));
|
|
266
|
-
export const GetRequestRequest = /*@__PURE__*/
|
|
266
|
+
export const GetRequestRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
267
267
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
268
268
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
269
269
|
}).pipe(T.Http({
|
|
270
270
|
method: "GET",
|
|
271
271
|
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}",
|
|
272
272
|
})));
|
|
273
|
-
export const GetRequestResponse = /*@__PURE__*/
|
|
273
|
+
export const GetRequestResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
274
274
|
id: Schema.String,
|
|
275
275
|
content: Schema.String,
|
|
276
276
|
created: Schema.String,
|
|
@@ -317,12 +317,12 @@ export const GetRequestResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
317
317
|
tokens: "tokens",
|
|
318
318
|
}))
|
|
319
319
|
.pipe(T.ResponsePath("result")));
|
|
320
|
-
export const getRequest = /*@__PURE__*/
|
|
320
|
+
export const getRequest = /*@__PURE__*/ API.make(() => ({
|
|
321
321
|
input: GetRequestRequest,
|
|
322
322
|
output: GetRequestResponse,
|
|
323
323
|
errors: [],
|
|
324
324
|
}));
|
|
325
|
-
export const ListRequestsRequest = /*@__PURE__*/
|
|
325
|
+
export const ListRequestsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
326
326
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
327
327
|
page: Schema.Number,
|
|
328
328
|
perPage: Schema.Number,
|
|
@@ -359,10 +359,10 @@ export const ListRequestsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
359
359
|
method: "POST",
|
|
360
360
|
path: "/accounts/{account_id}/cloudforce-one/requests",
|
|
361
361
|
})));
|
|
362
|
-
export const ListRequestsResponse = /*@__PURE__*/
|
|
362
|
+
export const ListRequestsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
363
363
|
result: Schema.Array(ListRequestsResponseResult),
|
|
364
364
|
}));
|
|
365
|
-
export const listRequests = /*@__PURE__*/
|
|
365
|
+
export const listRequests = /*@__PURE__*/ API.makePaginated(() => ({
|
|
366
366
|
input: ListRequestsRequest,
|
|
367
367
|
output: ListRequestsResponse,
|
|
368
368
|
errors: [],
|
|
@@ -371,7 +371,7 @@ export const listRequests = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
|
|
|
371
371
|
items: "result",
|
|
372
372
|
},
|
|
373
373
|
}));
|
|
374
|
-
export const CreateRequestRequest = /*@__PURE__*/
|
|
374
|
+
export const CreateRequestRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
375
375
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
376
376
|
content: Schema.optional(Schema.String),
|
|
377
377
|
priority: Schema.optional(Schema.String),
|
|
@@ -391,7 +391,7 @@ export const CreateRequestRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
391
391
|
method: "POST",
|
|
392
392
|
path: "/accounts/{account_id}/cloudforce-one/requests/new",
|
|
393
393
|
})));
|
|
394
|
-
export const CreateRequestResponse = /*@__PURE__*/
|
|
394
|
+
export const CreateRequestResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
395
395
|
id: Schema.String,
|
|
396
396
|
content: Schema.String,
|
|
397
397
|
created: Schema.String,
|
|
@@ -438,12 +438,12 @@ export const CreateRequestResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
438
438
|
tokens: "tokens",
|
|
439
439
|
}))
|
|
440
440
|
.pipe(T.ResponsePath("result")));
|
|
441
|
-
export const createRequest = /*@__PURE__*/
|
|
441
|
+
export const createRequest = /*@__PURE__*/ API.make(() => ({
|
|
442
442
|
input: CreateRequestRequest,
|
|
443
443
|
output: CreateRequestResponse,
|
|
444
444
|
errors: [],
|
|
445
445
|
}));
|
|
446
|
-
export const UpdateRequestRequest = /*@__PURE__*/
|
|
446
|
+
export const UpdateRequestRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
447
447
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
448
448
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
449
449
|
content: Schema.optional(Schema.String),
|
|
@@ -464,7 +464,7 @@ export const UpdateRequestRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
464
464
|
method: "PUT",
|
|
465
465
|
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}",
|
|
466
466
|
})));
|
|
467
|
-
export const UpdateRequestResponse = /*@__PURE__*/
|
|
467
|
+
export const UpdateRequestResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
468
468
|
id: Schema.String,
|
|
469
469
|
content: Schema.String,
|
|
470
470
|
created: Schema.String,
|
|
@@ -511,37 +511,37 @@ export const UpdateRequestResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
511
511
|
tokens: "tokens",
|
|
512
512
|
}))
|
|
513
513
|
.pipe(T.ResponsePath("result")));
|
|
514
|
-
export const updateRequest = /*@__PURE__*/
|
|
514
|
+
export const updateRequest = /*@__PURE__*/ API.make(() => ({
|
|
515
515
|
input: UpdateRequestRequest,
|
|
516
516
|
output: UpdateRequestResponse,
|
|
517
517
|
errors: [],
|
|
518
518
|
}));
|
|
519
|
-
export const DeleteRequestRequest = /*@__PURE__*/
|
|
519
|
+
export const DeleteRequestRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
520
520
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
521
521
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
522
522
|
}).pipe(T.Http({
|
|
523
523
|
method: "DELETE",
|
|
524
524
|
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}",
|
|
525
525
|
})));
|
|
526
|
-
export const DeleteRequestResponse = /*@__PURE__*/
|
|
526
|
+
export const DeleteRequestResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
527
527
|
errors: Schema.Array(Error2),
|
|
528
528
|
messages: Schema.Array(Error2),
|
|
529
529
|
success: Schema.Literal(true),
|
|
530
530
|
}));
|
|
531
|
-
export const deleteRequest = /*@__PURE__*/
|
|
531
|
+
export const deleteRequest = /*@__PURE__*/ API.make(() => ({
|
|
532
532
|
input: DeleteRequestRequest,
|
|
533
533
|
output: DeleteRequestResponse,
|
|
534
534
|
errors: [],
|
|
535
535
|
}));
|
|
536
536
|
export const ConstantsRequestRequest =
|
|
537
|
-
/*@__PURE__*/
|
|
537
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
538
538
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
539
539
|
}).pipe(T.Http({
|
|
540
540
|
method: "GET",
|
|
541
541
|
path: "/accounts/{account_id}/cloudforce-one/requests/constants",
|
|
542
542
|
})));
|
|
543
543
|
export const ConstantsRequestResponse =
|
|
544
|
-
/*@__PURE__*/
|
|
544
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
545
545
|
priority: Schema.optional(Schema.Union([
|
|
546
546
|
Schema.Array(Schema.Union([
|
|
547
547
|
Schema.Literals(["routine", "high", "urgent"]),
|
|
@@ -577,18 +577,18 @@ export const ConstantsRequestResponse =
|
|
|
577
577
|
Schema.Null,
|
|
578
578
|
])),
|
|
579
579
|
}).pipe(T.ResponsePath("result")));
|
|
580
|
-
export const constantsRequest = /*@__PURE__*/
|
|
580
|
+
export const constantsRequest = /*@__PURE__*/ API.make(() => ({
|
|
581
581
|
input: ConstantsRequestRequest,
|
|
582
582
|
output: ConstantsRequestResponse,
|
|
583
583
|
errors: [],
|
|
584
584
|
}));
|
|
585
|
-
export const QuotaRequestRequest = /*@__PURE__*/
|
|
585
|
+
export const QuotaRequestRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
586
586
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
587
587
|
}).pipe(T.Http({
|
|
588
588
|
method: "GET",
|
|
589
589
|
path: "/accounts/{account_id}/cloudforce-one/requests/quota",
|
|
590
590
|
})));
|
|
591
|
-
export const QuotaRequestResponse = /*@__PURE__*/
|
|
591
|
+
export const QuotaRequestResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
592
592
|
anniversaryDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
593
593
|
quarterAnniversaryDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
594
594
|
quota: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -601,21 +601,21 @@ export const QuotaRequestResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
601
601
|
remaining: "remaining",
|
|
602
602
|
}))
|
|
603
603
|
.pipe(T.ResponsePath("result")));
|
|
604
|
-
export const quotaRequest = /*@__PURE__*/
|
|
604
|
+
export const quotaRequest = /*@__PURE__*/ API.make(() => ({
|
|
605
605
|
input: QuotaRequestRequest,
|
|
606
606
|
output: QuotaRequestResponse,
|
|
607
607
|
errors: [],
|
|
608
608
|
}));
|
|
609
|
-
export const TypesRequestRequest = /*@__PURE__*/
|
|
609
|
+
export const TypesRequestRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
610
610
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
611
611
|
}).pipe(T.Http({
|
|
612
612
|
method: "GET",
|
|
613
613
|
path: "/accounts/{account_id}/cloudforce-one/requests/types",
|
|
614
614
|
})));
|
|
615
|
-
export const TypesRequestResponse = /*@__PURE__*/
|
|
615
|
+
export const TypesRequestResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
616
616
|
result: Schema.Array(Schema.String),
|
|
617
617
|
}));
|
|
618
|
-
export const typesRequest = /*@__PURE__*/
|
|
618
|
+
export const typesRequest = /*@__PURE__*/ API.makePaginated(() => ({
|
|
619
619
|
input: TypesRequestRequest,
|
|
620
620
|
output: TypesRequestResponse,
|
|
621
621
|
errors: [],
|
|
@@ -625,7 +625,7 @@ export const typesRequest = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
|
|
|
625
625
|
},
|
|
626
626
|
}));
|
|
627
627
|
export const GetRequestAssetRequest =
|
|
628
|
-
/*@__PURE__*/
|
|
628
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
629
629
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
630
630
|
assetId: Schema.String.pipe(T.HttpPath("assetId")),
|
|
631
631
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -634,10 +634,10 @@ export const GetRequestAssetRequest =
|
|
|
634
634
|
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}/asset/{assetId}",
|
|
635
635
|
})));
|
|
636
636
|
export const GetRequestAssetResponse =
|
|
637
|
-
/*@__PURE__*/
|
|
637
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
638
638
|
result: Schema.Array(GetRequestAssetResponseResult),
|
|
639
639
|
}));
|
|
640
|
-
export const getRequestAsset = /*@__PURE__*/
|
|
640
|
+
export const getRequestAsset = /*@__PURE__*/ API.makePaginated(() => ({
|
|
641
641
|
input: GetRequestAssetRequest,
|
|
642
642
|
output: GetRequestAssetResponse,
|
|
643
643
|
errors: [],
|
|
@@ -647,7 +647,7 @@ export const getRequestAsset = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
|
|
|
647
647
|
},
|
|
648
648
|
}));
|
|
649
649
|
export const CreateRequestAssetRequest =
|
|
650
|
-
/*@__PURE__*/
|
|
650
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
651
651
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
652
652
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
653
653
|
page: Schema.Number,
|
|
@@ -657,10 +657,10 @@ export const CreateRequestAssetRequest =
|
|
|
657
657
|
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}/asset",
|
|
658
658
|
})));
|
|
659
659
|
export const CreateRequestAssetResponse =
|
|
660
|
-
/*@__PURE__*/
|
|
660
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
661
661
|
result: Schema.Array(GetRequestAssetResponseResult),
|
|
662
662
|
}));
|
|
663
|
-
export const createRequestAsset = /*@__PURE__*/
|
|
663
|
+
export const createRequestAsset = /*@__PURE__*/ API.makePaginated(() => ({
|
|
664
664
|
input: CreateRequestAssetRequest,
|
|
665
665
|
output: CreateRequestAssetResponse,
|
|
666
666
|
errors: [],
|
|
@@ -670,7 +670,7 @@ export const createRequestAsset = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
|
670
670
|
},
|
|
671
671
|
}));
|
|
672
672
|
export const UpdateRequestAssetRequest =
|
|
673
|
-
/*@__PURE__*/
|
|
673
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
674
674
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
675
675
|
assetId: Schema.String.pipe(T.HttpPath("assetId")),
|
|
676
676
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -680,7 +680,7 @@ export const UpdateRequestAssetRequest =
|
|
|
680
680
|
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}/asset/{assetId}",
|
|
681
681
|
})));
|
|
682
682
|
export const UpdateRequestAssetResponse =
|
|
683
|
-
/*@__PURE__*/
|
|
683
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
684
684
|
id: Schema.Number,
|
|
685
685
|
name: Schema.String,
|
|
686
686
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -695,13 +695,13 @@ export const UpdateRequestAssetResponse =
|
|
|
695
695
|
fileType: "file_type",
|
|
696
696
|
}))
|
|
697
697
|
.pipe(T.ResponsePath("result")));
|
|
698
|
-
export const updateRequestAsset = /*@__PURE__*/
|
|
698
|
+
export const updateRequestAsset = /*@__PURE__*/ API.make(() => ({
|
|
699
699
|
input: UpdateRequestAssetRequest,
|
|
700
700
|
output: UpdateRequestAssetResponse,
|
|
701
701
|
errors: [],
|
|
702
702
|
}));
|
|
703
703
|
export const DeleteRequestAssetRequest =
|
|
704
|
-
/*@__PURE__*/
|
|
704
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
705
705
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
706
706
|
assetId: Schema.String.pipe(T.HttpPath("assetId")),
|
|
707
707
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -710,18 +710,18 @@ export const DeleteRequestAssetRequest =
|
|
|
710
710
|
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}/asset/{assetId}",
|
|
711
711
|
})));
|
|
712
712
|
export const DeleteRequestAssetResponse =
|
|
713
|
-
/*@__PURE__*/
|
|
713
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
714
714
|
errors: Schema.Array(Error2),
|
|
715
715
|
messages: Schema.Array(Error2),
|
|
716
716
|
success: Schema.Literal(true),
|
|
717
717
|
}));
|
|
718
|
-
export const deleteRequestAsset = /*@__PURE__*/
|
|
718
|
+
export const deleteRequestAsset = /*@__PURE__*/ API.make(() => ({
|
|
719
719
|
input: DeleteRequestAssetRequest,
|
|
720
720
|
output: DeleteRequestAssetResponse,
|
|
721
721
|
errors: [],
|
|
722
722
|
}));
|
|
723
723
|
export const GetRequestMessageRequest =
|
|
724
|
-
/*@__PURE__*/
|
|
724
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
725
725
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
726
726
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
727
727
|
page: Schema.Number,
|
|
@@ -742,10 +742,10 @@ export const GetRequestMessageRequest =
|
|
|
742
742
|
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}/message",
|
|
743
743
|
})));
|
|
744
744
|
export const GetRequestMessageResponse =
|
|
745
|
-
/*@__PURE__*/
|
|
745
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
746
746
|
result: Schema.Array(Error2),
|
|
747
747
|
}));
|
|
748
|
-
export const getRequestMessage = /*@__PURE__*/
|
|
748
|
+
export const getRequestMessage = /*@__PURE__*/ API.makePaginated(() => ({
|
|
749
749
|
input: GetRequestMessageRequest,
|
|
750
750
|
output: GetRequestMessageResponse,
|
|
751
751
|
errors: [],
|
|
@@ -755,7 +755,7 @@ export const getRequestMessage = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated((
|
|
|
755
755
|
},
|
|
756
756
|
}));
|
|
757
757
|
export const CreateRequestMessageRequest =
|
|
758
|
-
/*@__PURE__*/
|
|
758
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
759
759
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
760
760
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
761
761
|
content: Schema.optional(Schema.String),
|
|
@@ -764,7 +764,7 @@ export const CreateRequestMessageRequest =
|
|
|
764
764
|
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}/message/new",
|
|
765
765
|
})));
|
|
766
766
|
export const CreateRequestMessageResponse =
|
|
767
|
-
/*@__PURE__*/
|
|
767
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
768
768
|
code: Schema.Number,
|
|
769
769
|
message: Schema.String,
|
|
770
770
|
documentationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -777,13 +777,13 @@ export const CreateRequestMessageResponse =
|
|
|
777
777
|
source: "source",
|
|
778
778
|
}))
|
|
779
779
|
.pipe(T.ResponsePath("result")));
|
|
780
|
-
export const createRequestMessage = /*@__PURE__*/
|
|
780
|
+
export const createRequestMessage = /*@__PURE__*/ API.make(() => ({
|
|
781
781
|
input: CreateRequestMessageRequest,
|
|
782
782
|
output: CreateRequestMessageResponse,
|
|
783
783
|
errors: [],
|
|
784
784
|
}));
|
|
785
785
|
export const UpdateRequestMessageRequest =
|
|
786
|
-
/*@__PURE__*/
|
|
786
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
787
787
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
788
788
|
messageId: Schema.Number.pipe(T.HttpPath("messageId")),
|
|
789
789
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -793,7 +793,7 @@ export const UpdateRequestMessageRequest =
|
|
|
793
793
|
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}/message/{messageId}",
|
|
794
794
|
})));
|
|
795
795
|
export const UpdateRequestMessageResponse =
|
|
796
|
-
/*@__PURE__*/
|
|
796
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
797
797
|
code: Schema.Number,
|
|
798
798
|
message: Schema.String,
|
|
799
799
|
documentationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -806,13 +806,13 @@ export const UpdateRequestMessageResponse =
|
|
|
806
806
|
source: "source",
|
|
807
807
|
}))
|
|
808
808
|
.pipe(T.ResponsePath("result")));
|
|
809
|
-
export const updateRequestMessage = /*@__PURE__*/
|
|
809
|
+
export const updateRequestMessage = /*@__PURE__*/ API.make(() => ({
|
|
810
810
|
input: UpdateRequestMessageRequest,
|
|
811
811
|
output: UpdateRequestMessageResponse,
|
|
812
812
|
errors: [],
|
|
813
813
|
}));
|
|
814
814
|
export const DeleteRequestMessageRequest =
|
|
815
|
-
/*@__PURE__*/
|
|
815
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
816
816
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
817
817
|
messageId: Schema.Number.pipe(T.HttpPath("messageId")),
|
|
818
818
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -821,18 +821,18 @@ export const DeleteRequestMessageRequest =
|
|
|
821
821
|
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}/message/{messageId}",
|
|
822
822
|
})));
|
|
823
823
|
export const DeleteRequestMessageResponse =
|
|
824
|
-
/*@__PURE__*/
|
|
824
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
825
825
|
errors: Schema.Array(Error2),
|
|
826
826
|
messages: Schema.Array(Error2),
|
|
827
827
|
success: Schema.Literal(true),
|
|
828
828
|
}));
|
|
829
|
-
export const deleteRequestMessage = /*@__PURE__*/
|
|
829
|
+
export const deleteRequestMessage = /*@__PURE__*/ API.make(() => ({
|
|
830
830
|
input: DeleteRequestMessageRequest,
|
|
831
831
|
output: DeleteRequestMessageResponse,
|
|
832
832
|
errors: [],
|
|
833
833
|
}));
|
|
834
834
|
export const GetRequestPriorityRequest =
|
|
835
|
-
/*@__PURE__*/
|
|
835
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
836
836
|
priorityId: Schema.String.pipe(T.HttpPath("priorityId")),
|
|
837
837
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
838
838
|
}).pipe(T.Http({
|
|
@@ -840,7 +840,7 @@ export const GetRequestPriorityRequest =
|
|
|
840
840
|
path: "/accounts/{account_id}/cloudforce-one/requests/priority/{priorityId}",
|
|
841
841
|
})));
|
|
842
842
|
export const GetRequestPriorityResponse =
|
|
843
|
-
/*@__PURE__*/
|
|
843
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
844
844
|
id: Schema.String,
|
|
845
845
|
content: Schema.String,
|
|
846
846
|
created: Schema.String,
|
|
@@ -887,13 +887,13 @@ export const GetRequestPriorityResponse =
|
|
|
887
887
|
tokens: "tokens",
|
|
888
888
|
}))
|
|
889
889
|
.pipe(T.ResponsePath("result")));
|
|
890
|
-
export const getRequestPriority = /*@__PURE__*/
|
|
890
|
+
export const getRequestPriority = /*@__PURE__*/ API.make(() => ({
|
|
891
891
|
input: GetRequestPriorityRequest,
|
|
892
892
|
output: GetRequestPriorityResponse,
|
|
893
893
|
errors: [],
|
|
894
894
|
}));
|
|
895
895
|
export const CreateRequestPriorityRequest =
|
|
896
|
-
/*@__PURE__*/
|
|
896
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
897
897
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
898
898
|
labels: Schema.Array(Schema.String),
|
|
899
899
|
priority: Schema.Number,
|
|
@@ -907,7 +907,7 @@ export const CreateRequestPriorityRequest =
|
|
|
907
907
|
path: "/accounts/{account_id}/cloudforce-one/requests/priority/new",
|
|
908
908
|
})));
|
|
909
909
|
export const CreateRequestPriorityResponse =
|
|
910
|
-
/*@__PURE__*/
|
|
910
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
911
911
|
id: Schema.String,
|
|
912
912
|
created: Schema.String,
|
|
913
913
|
labels: Schema.Array(Schema.String),
|
|
@@ -919,13 +919,13 @@ export const CreateRequestPriorityResponse =
|
|
|
919
919
|
]),
|
|
920
920
|
updated: Schema.String,
|
|
921
921
|
}).pipe(T.ResponsePath("result")));
|
|
922
|
-
export const createRequestPriority = /*@__PURE__*/
|
|
922
|
+
export const createRequestPriority = /*@__PURE__*/ API.make(() => ({
|
|
923
923
|
input: CreateRequestPriorityRequest,
|
|
924
924
|
output: CreateRequestPriorityResponse,
|
|
925
925
|
errors: [],
|
|
926
926
|
}));
|
|
927
927
|
export const UpdateRequestPriorityRequest =
|
|
928
|
-
/*@__PURE__*/
|
|
928
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
929
929
|
priorityId: Schema.String.pipe(T.HttpPath("priorityId")),
|
|
930
930
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
931
931
|
labels: Schema.Array(Schema.String),
|
|
@@ -940,7 +940,7 @@ export const UpdateRequestPriorityRequest =
|
|
|
940
940
|
path: "/accounts/{account_id}/cloudforce-one/requests/priority/{priorityId}",
|
|
941
941
|
})));
|
|
942
942
|
export const UpdateRequestPriorityResponse =
|
|
943
|
-
/*@__PURE__*/
|
|
943
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
944
944
|
id: Schema.String,
|
|
945
945
|
content: Schema.String,
|
|
946
946
|
created: Schema.String,
|
|
@@ -987,13 +987,13 @@ export const UpdateRequestPriorityResponse =
|
|
|
987
987
|
tokens: "tokens",
|
|
988
988
|
}))
|
|
989
989
|
.pipe(T.ResponsePath("result")));
|
|
990
|
-
export const updateRequestPriority = /*@__PURE__*/
|
|
990
|
+
export const updateRequestPriority = /*@__PURE__*/ API.make(() => ({
|
|
991
991
|
input: UpdateRequestPriorityRequest,
|
|
992
992
|
output: UpdateRequestPriorityResponse,
|
|
993
993
|
errors: [],
|
|
994
994
|
}));
|
|
995
995
|
export const DeleteRequestPriorityRequest =
|
|
996
|
-
/*@__PURE__*/
|
|
996
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
997
997
|
priorityId: Schema.String.pipe(T.HttpPath("priorityId")),
|
|
998
998
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
999
999
|
}).pipe(T.Http({
|
|
@@ -1001,25 +1001,25 @@ export const DeleteRequestPriorityRequest =
|
|
|
1001
1001
|
path: "/accounts/{account_id}/cloudforce-one/requests/priority/{priorityId}",
|
|
1002
1002
|
})));
|
|
1003
1003
|
export const DeleteRequestPriorityResponse =
|
|
1004
|
-
/*@__PURE__*/
|
|
1004
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1005
1005
|
errors: Schema.Array(Error2),
|
|
1006
1006
|
messages: Schema.Array(Error2),
|
|
1007
1007
|
success: Schema.Literal(true),
|
|
1008
1008
|
}));
|
|
1009
|
-
export const deleteRequestPriority = /*@__PURE__*/
|
|
1009
|
+
export const deleteRequestPriority = /*@__PURE__*/ API.make(() => ({
|
|
1010
1010
|
input: DeleteRequestPriorityRequest,
|
|
1011
1011
|
output: DeleteRequestPriorityResponse,
|
|
1012
1012
|
errors: [],
|
|
1013
1013
|
}));
|
|
1014
1014
|
export const QuotaRequestPriorityRequest =
|
|
1015
|
-
/*@__PURE__*/
|
|
1015
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1016
1016
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1017
1017
|
}).pipe(T.Http({
|
|
1018
1018
|
method: "GET",
|
|
1019
1019
|
path: "/accounts/{account_id}/cloudforce-one/requests/priority/quota",
|
|
1020
1020
|
})));
|
|
1021
1021
|
export const QuotaRequestPriorityResponse =
|
|
1022
|
-
/*@__PURE__*/
|
|
1022
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1023
1023
|
anniversaryDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1024
1024
|
quarterAnniversaryDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1025
1025
|
quota: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1032,23 +1032,23 @@ export const QuotaRequestPriorityResponse =
|
|
|
1032
1032
|
remaining: "remaining",
|
|
1033
1033
|
}))
|
|
1034
1034
|
.pipe(T.ResponsePath("result")));
|
|
1035
|
-
export const quotaRequestPriority = /*@__PURE__*/
|
|
1035
|
+
export const quotaRequestPriority = /*@__PURE__*/ API.make(() => ({
|
|
1036
1036
|
input: QuotaRequestPriorityRequest,
|
|
1037
1037
|
output: QuotaRequestPriorityResponse,
|
|
1038
1038
|
errors: [],
|
|
1039
1039
|
}));
|
|
1040
1040
|
export const ListScanConfigsRequest =
|
|
1041
|
-
/*@__PURE__*/
|
|
1041
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1042
1042
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1043
1043
|
}).pipe(T.Http({
|
|
1044
1044
|
method: "GET",
|
|
1045
1045
|
path: "/accounts/{account_id}/cloudforce-one/scans/config",
|
|
1046
1046
|
})));
|
|
1047
1047
|
export const ListScanConfigsResponse =
|
|
1048
|
-
/*@__PURE__*/
|
|
1048
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1049
1049
|
result: Schema.Array(ListScanConfigsResponseResult),
|
|
1050
1050
|
}));
|
|
1051
|
-
export const listScanConfigs = /*@__PURE__*/
|
|
1051
|
+
export const listScanConfigs = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1052
1052
|
input: ListScanConfigsRequest,
|
|
1053
1053
|
output: ListScanConfigsResponse,
|
|
1054
1054
|
errors: [],
|
|
@@ -1058,7 +1058,7 @@ export const listScanConfigs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
|
|
|
1058
1058
|
},
|
|
1059
1059
|
}));
|
|
1060
1060
|
export const CreateScanConfigRequest =
|
|
1061
|
-
/*@__PURE__*/
|
|
1061
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1062
1062
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1063
1063
|
ips: Schema.Array(Schema.String),
|
|
1064
1064
|
frequency: Schema.optional(Schema.Number),
|
|
@@ -1068,7 +1068,7 @@ export const CreateScanConfigRequest =
|
|
|
1068
1068
|
path: "/accounts/{account_id}/cloudforce-one/scans/config",
|
|
1069
1069
|
})));
|
|
1070
1070
|
export const CreateScanConfigResponse =
|
|
1071
|
-
/*@__PURE__*/
|
|
1071
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1072
1072
|
id: Schema.String,
|
|
1073
1073
|
accountId: Schema.String,
|
|
1074
1074
|
frequency: Schema.Number,
|
|
@@ -1083,13 +1083,13 @@ export const CreateScanConfigResponse =
|
|
|
1083
1083
|
ports: "ports",
|
|
1084
1084
|
}))
|
|
1085
1085
|
.pipe(T.ResponsePath("result")));
|
|
1086
|
-
export const createScanConfig = /*@__PURE__*/
|
|
1086
|
+
export const createScanConfig = /*@__PURE__*/ API.make(() => ({
|
|
1087
1087
|
input: CreateScanConfigRequest,
|
|
1088
1088
|
output: CreateScanConfigResponse,
|
|
1089
1089
|
errors: [],
|
|
1090
1090
|
}));
|
|
1091
1091
|
export const PatchScanConfigRequest =
|
|
1092
|
-
/*@__PURE__*/
|
|
1092
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1093
1093
|
configId: Schema.String.pipe(T.HttpPath("configId")),
|
|
1094
1094
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1095
1095
|
frequency: Schema.optional(Schema.Number),
|
|
@@ -1100,7 +1100,7 @@ export const PatchScanConfigRequest =
|
|
|
1100
1100
|
path: "/accounts/{account_id}/cloudforce-one/scans/config/{configId}",
|
|
1101
1101
|
})));
|
|
1102
1102
|
export const PatchScanConfigResponse =
|
|
1103
|
-
/*@__PURE__*/
|
|
1103
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1104
1104
|
id: Schema.String,
|
|
1105
1105
|
accountId: Schema.String,
|
|
1106
1106
|
frequency: Schema.Number,
|
|
@@ -1115,13 +1115,13 @@ export const PatchScanConfigResponse =
|
|
|
1115
1115
|
ports: "ports",
|
|
1116
1116
|
}))
|
|
1117
1117
|
.pipe(T.ResponsePath("result")));
|
|
1118
|
-
export const patchScanConfig = /*@__PURE__*/
|
|
1118
|
+
export const patchScanConfig = /*@__PURE__*/ API.make(() => ({
|
|
1119
1119
|
input: PatchScanConfigRequest,
|
|
1120
1120
|
output: PatchScanConfigResponse,
|
|
1121
1121
|
errors: [ScanConfigNotFound],
|
|
1122
1122
|
}));
|
|
1123
1123
|
export const DeleteScanConfigRequest =
|
|
1124
|
-
/*@__PURE__*/
|
|
1124
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1125
1125
|
configId: Schema.String.pipe(T.HttpPath("configId")),
|
|
1126
1126
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1127
1127
|
}).pipe(T.Http({
|
|
@@ -1129,28 +1129,28 @@ export const DeleteScanConfigRequest =
|
|
|
1129
1129
|
path: "/accounts/{account_id}/cloudforce-one/scans/config/{configId}",
|
|
1130
1130
|
})));
|
|
1131
1131
|
export const DeleteScanConfigResponse =
|
|
1132
|
-
/*@__PURE__*/
|
|
1133
|
-
export const deleteScanConfig = /*@__PURE__*/
|
|
1132
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1133
|
+
export const deleteScanConfig = /*@__PURE__*/ API.make(() => ({
|
|
1134
1134
|
input: DeleteScanConfigRequest,
|
|
1135
1135
|
output: DeleteScanConfigResponse,
|
|
1136
1136
|
errors: [ScanConfigNotFound],
|
|
1137
1137
|
}));
|
|
1138
|
-
export const GetScanResultRequest = /*@__PURE__*/
|
|
1138
|
+
export const GetScanResultRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1139
1139
|
configId: Schema.String.pipe(T.HttpPath("configId")),
|
|
1140
1140
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1141
1141
|
}).pipe(T.Http({
|
|
1142
1142
|
method: "GET",
|
|
1143
1143
|
path: "/accounts/{account_id}/cloudforce-one/scans/results/{configId}",
|
|
1144
1144
|
})));
|
|
1145
|
-
export const GetScanResultResponse = /*@__PURE__*/
|
|
1145
|
+
export const GetScanResultResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1146
1146
|
"1.1.1.1": Schema.Array(ScanResult),
|
|
1147
1147
|
}).pipe(T.ResponsePath("result")));
|
|
1148
|
-
export const getScanResult = /*@__PURE__*/
|
|
1148
|
+
export const getScanResult = /*@__PURE__*/ API.make(() => ({
|
|
1149
1149
|
input: GetScanResultRequest,
|
|
1150
1150
|
output: GetScanResultResponse,
|
|
1151
1151
|
errors: [],
|
|
1152
1152
|
}));
|
|
1153
|
-
export const GetThreatEventRequest = /*@__PURE__*/
|
|
1153
|
+
export const GetThreatEventRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1154
1154
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1155
1155
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1156
1156
|
}).pipe(T.Http({
|
|
@@ -1158,7 +1158,7 @@ export const GetThreatEventRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1158
1158
|
path: "/accounts/{account_id}/cloudforce-one/events/{eventId}",
|
|
1159
1159
|
})));
|
|
1160
1160
|
export const GetThreatEventResponse =
|
|
1161
|
-
/*@__PURE__*/
|
|
1161
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1162
1162
|
attacker: Schema.String,
|
|
1163
1163
|
attackerCountry: Schema.String,
|
|
1164
1164
|
attackerCountryAlpha3: Schema.String,
|
|
@@ -1189,13 +1189,13 @@ export const GetThreatEventResponse =
|
|
|
1189
1189
|
insight: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1190
1190
|
releasabilityId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1191
1191
|
}));
|
|
1192
|
-
export const getThreatEvent = /*@__PURE__*/
|
|
1192
|
+
export const getThreatEvent = /*@__PURE__*/ API.make(() => ({
|
|
1193
1193
|
input: GetThreatEventRequest,
|
|
1194
1194
|
output: GetThreatEventResponse,
|
|
1195
1195
|
errors: [],
|
|
1196
1196
|
}));
|
|
1197
1197
|
export const ListThreatEventsRequest =
|
|
1198
|
-
/*@__PURE__*/
|
|
1198
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1199
1199
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1200
1200
|
cursor: Schema.optional(Schema.String).pipe(T.HttpQuery("cursor")),
|
|
1201
1201
|
datasetId: Schema.optional(Schema.Array(Schema.String)).pipe(T.HttpQuery("datasetId")),
|
|
@@ -1238,14 +1238,14 @@ export const ListThreatEventsRequest =
|
|
|
1238
1238
|
path: "/accounts/{account_id}/cloudforce-one/events",
|
|
1239
1239
|
})));
|
|
1240
1240
|
export const ListThreatEventsResponse =
|
|
1241
|
-
/*@__PURE__*/
|
|
1242
|
-
export const listThreatEvents = /*@__PURE__*/
|
|
1241
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Array(ThreatEventListResponseItem));
|
|
1242
|
+
export const listThreatEvents = /*@__PURE__*/ API.make(() => ({
|
|
1243
1243
|
input: ListThreatEventsRequest,
|
|
1244
1244
|
output: ListThreatEventsResponse,
|
|
1245
1245
|
errors: [],
|
|
1246
1246
|
}));
|
|
1247
1247
|
export const CreateThreatEventRequest =
|
|
1248
|
-
/*@__PURE__*/
|
|
1248
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1249
1249
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1250
1250
|
category: Schema.String,
|
|
1251
1251
|
date: Schema.String,
|
|
@@ -1267,7 +1267,7 @@ export const CreateThreatEventRequest =
|
|
|
1267
1267
|
path: "/accounts/{account_id}/cloudforce-one/events/create",
|
|
1268
1268
|
})));
|
|
1269
1269
|
export const CreateThreatEventResponse =
|
|
1270
|
-
/*@__PURE__*/
|
|
1270
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1271
1271
|
attacker: Schema.String,
|
|
1272
1272
|
attackerCountry: Schema.String,
|
|
1273
1273
|
attackerCountryAlpha3: Schema.String,
|
|
@@ -1298,13 +1298,13 @@ export const CreateThreatEventResponse =
|
|
|
1298
1298
|
insight: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1299
1299
|
releasabilityId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1300
1300
|
}));
|
|
1301
|
-
export const createThreatEvent = /*@__PURE__*/
|
|
1301
|
+
export const createThreatEvent = /*@__PURE__*/ API.make(() => ({
|
|
1302
1302
|
input: CreateThreatEventRequest,
|
|
1303
1303
|
output: CreateThreatEventResponse,
|
|
1304
1304
|
errors: [],
|
|
1305
1305
|
}));
|
|
1306
1306
|
export const PatchThreatEventRequest =
|
|
1307
|
-
/*@__PURE__*/
|
|
1307
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1308
1308
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1309
1309
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1310
1310
|
datasetId: Schema.String,
|
|
@@ -1326,7 +1326,7 @@ export const PatchThreatEventRequest =
|
|
|
1326
1326
|
path: "/accounts/{account_id}/cloudforce-one/events/{eventId}",
|
|
1327
1327
|
})));
|
|
1328
1328
|
export const PatchThreatEventResponse =
|
|
1329
|
-
/*@__PURE__*/
|
|
1329
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1330
1330
|
attacker: Schema.String,
|
|
1331
1331
|
attackerCountry: Schema.String,
|
|
1332
1332
|
attackerCountryAlpha3: Schema.String,
|
|
@@ -1357,13 +1357,13 @@ export const PatchThreatEventResponse =
|
|
|
1357
1357
|
insight: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1358
1358
|
releasabilityId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1359
1359
|
}));
|
|
1360
|
-
export const patchThreatEvent = /*@__PURE__*/
|
|
1360
|
+
export const patchThreatEvent = /*@__PURE__*/ API.make(() => ({
|
|
1361
1361
|
input: PatchThreatEventRequest,
|
|
1362
1362
|
output: PatchThreatEventResponse,
|
|
1363
1363
|
errors: [],
|
|
1364
1364
|
}));
|
|
1365
1365
|
export const BulkCreateThreatEventsRequest =
|
|
1366
|
-
/*@__PURE__*/
|
|
1366
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1367
1367
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1368
1368
|
data: Schema.Array(Data),
|
|
1369
1369
|
datasetId: Schema.String,
|
|
@@ -1373,7 +1373,7 @@ export const BulkCreateThreatEventsRequest =
|
|
|
1373
1373
|
path: "/accounts/{account_id}/cloudforce-one/events/create/bulk",
|
|
1374
1374
|
})));
|
|
1375
1375
|
export const BulkCreateThreatEventsResponse =
|
|
1376
|
-
/*@__PURE__*/
|
|
1376
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1377
1377
|
createdEventsCount: Schema.Number,
|
|
1378
1378
|
createdTagsCount: Schema.Number,
|
|
1379
1379
|
errorCount: Schema.Number,
|
|
@@ -1382,13 +1382,13 @@ export const BulkCreateThreatEventsResponse =
|
|
|
1382
1382
|
createdEvents: Schema.optional(Schema.Union([Schema.Array(CreatedEvent), Schema.Null])),
|
|
1383
1383
|
errors: Schema.optional(Schema.Union([Schema.Array(Error3), Schema.Null])),
|
|
1384
1384
|
}));
|
|
1385
|
-
export const bulkCreateThreatEvents = /*@__PURE__*/
|
|
1385
|
+
export const bulkCreateThreatEvents = /*@__PURE__*/ API.make(() => ({
|
|
1386
1386
|
input: BulkCreateThreatEventsRequest,
|
|
1387
1387
|
output: BulkCreateThreatEventsResponse,
|
|
1388
1388
|
errors: [],
|
|
1389
1389
|
}));
|
|
1390
1390
|
export const ListThreatEventAttackersRequest =
|
|
1391
|
-
/*@__PURE__*/
|
|
1391
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1392
1392
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1393
1393
|
datasetIds: Schema.optional(Schema.Array(Schema.String)).pipe(T.HttpQuery("datasetIds")),
|
|
1394
1394
|
}).pipe(T.Http({
|
|
@@ -1396,17 +1396,17 @@ export const ListThreatEventAttackersRequest =
|
|
|
1396
1396
|
path: "/accounts/{account_id}/cloudforce-one/events/attackers",
|
|
1397
1397
|
})));
|
|
1398
1398
|
export const ListThreatEventAttackersResponse =
|
|
1399
|
-
/*@__PURE__*/
|
|
1399
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1400
1400
|
items: Items,
|
|
1401
1401
|
type: Schema.String,
|
|
1402
1402
|
}));
|
|
1403
|
-
export const listThreatEventAttackers = /*@__PURE__*/
|
|
1403
|
+
export const listThreatEventAttackers = /*@__PURE__*/ API.make(() => ({
|
|
1404
1404
|
input: ListThreatEventAttackersRequest,
|
|
1405
1405
|
output: ListThreatEventAttackersResponse,
|
|
1406
1406
|
errors: [],
|
|
1407
1407
|
}));
|
|
1408
1408
|
export const GetThreatEventCategoryRequest =
|
|
1409
|
-
/*@__PURE__*/
|
|
1409
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1410
1410
|
categoryId: Schema.String.pipe(T.HttpPath("categoryId")),
|
|
1411
1411
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1412
1412
|
}).pipe(T.Http({
|
|
@@ -1414,7 +1414,7 @@ export const GetThreatEventCategoryRequest =
|
|
|
1414
1414
|
path: "/accounts/{account_id}/cloudforce-one/events/categories/{categoryId}",
|
|
1415
1415
|
})));
|
|
1416
1416
|
export const GetThreatEventCategoryResponse =
|
|
1417
|
-
/*@__PURE__*/
|
|
1417
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1418
1418
|
killChain: Schema.Number,
|
|
1419
1419
|
name: Schema.String,
|
|
1420
1420
|
uuid: Schema.String,
|
|
@@ -1422,13 +1422,13 @@ export const GetThreatEventCategoryResponse =
|
|
|
1422
1422
|
mitreCapec: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1423
1423
|
shortname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1424
1424
|
}));
|
|
1425
|
-
export const getThreatEventCategory = /*@__PURE__*/
|
|
1425
|
+
export const getThreatEventCategory = /*@__PURE__*/ API.make(() => ({
|
|
1426
1426
|
input: GetThreatEventCategoryRequest,
|
|
1427
1427
|
output: GetThreatEventCategoryResponse,
|
|
1428
1428
|
errors: [],
|
|
1429
1429
|
}));
|
|
1430
1430
|
export const ListThreatEventCategoriesRequest =
|
|
1431
|
-
/*@__PURE__*/
|
|
1431
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1432
1432
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1433
1433
|
datasetIds: Schema.optional(Schema.Array(Schema.String)).pipe(T.HttpQuery("datasetIds")),
|
|
1434
1434
|
}).pipe(T.Http({
|
|
@@ -1436,14 +1436,14 @@ export const ListThreatEventCategoriesRequest =
|
|
|
1436
1436
|
path: "/accounts/{account_id}/cloudforce-one/events/categories",
|
|
1437
1437
|
})));
|
|
1438
1438
|
export const ListThreatEventCategoriesResponse =
|
|
1439
|
-
/*@__PURE__*/
|
|
1440
|
-
export const listThreatEventCategories = /*@__PURE__*/
|
|
1439
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Array(CategoryListResponseItem));
|
|
1440
|
+
export const listThreatEventCategories = /*@__PURE__*/ API.make(() => ({
|
|
1441
1441
|
input: ListThreatEventCategoriesRequest,
|
|
1442
1442
|
output: ListThreatEventCategoriesResponse,
|
|
1443
1443
|
errors: [],
|
|
1444
1444
|
}));
|
|
1445
1445
|
export const CreateThreatEventCategoryRequest =
|
|
1446
|
-
/*@__PURE__*/
|
|
1446
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1447
1447
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1448
1448
|
killChain: Schema.Number,
|
|
1449
1449
|
name: Schema.String,
|
|
@@ -1455,7 +1455,7 @@ export const CreateThreatEventCategoryRequest =
|
|
|
1455
1455
|
path: "/accounts/{account_id}/cloudforce-one/events/categories/create",
|
|
1456
1456
|
})));
|
|
1457
1457
|
export const CreateThreatEventCategoryResponse =
|
|
1458
|
-
/*@__PURE__*/
|
|
1458
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1459
1459
|
killChain: Schema.Number,
|
|
1460
1460
|
name: Schema.String,
|
|
1461
1461
|
uuid: Schema.String,
|
|
@@ -1463,13 +1463,13 @@ export const CreateThreatEventCategoryResponse =
|
|
|
1463
1463
|
mitreCapec: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1464
1464
|
shortname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1465
1465
|
}));
|
|
1466
|
-
export const createThreatEventCategory = /*@__PURE__*/
|
|
1466
|
+
export const createThreatEventCategory = /*@__PURE__*/ API.make(() => ({
|
|
1467
1467
|
input: CreateThreatEventCategoryRequest,
|
|
1468
1468
|
output: CreateThreatEventCategoryResponse,
|
|
1469
1469
|
errors: [],
|
|
1470
1470
|
}));
|
|
1471
1471
|
export const PatchThreatEventCategoryRequest =
|
|
1472
|
-
/*@__PURE__*/
|
|
1472
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1473
1473
|
categoryId: Schema.String.pipe(T.HttpPath("categoryId")),
|
|
1474
1474
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1475
1475
|
killChain: Schema.optional(Schema.Number),
|
|
@@ -1482,7 +1482,7 @@ export const PatchThreatEventCategoryRequest =
|
|
|
1482
1482
|
path: "/accounts/{account_id}/cloudforce-one/events/categories/{categoryId}",
|
|
1483
1483
|
})));
|
|
1484
1484
|
export const PatchThreatEventCategoryResponse =
|
|
1485
|
-
/*@__PURE__*/
|
|
1485
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1486
1486
|
killChain: Schema.Number,
|
|
1487
1487
|
name: Schema.String,
|
|
1488
1488
|
uuid: Schema.String,
|
|
@@ -1490,13 +1490,13 @@ export const PatchThreatEventCategoryResponse =
|
|
|
1490
1490
|
mitreCapec: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1491
1491
|
shortname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1492
1492
|
}));
|
|
1493
|
-
export const patchThreatEventCategory = /*@__PURE__*/
|
|
1493
|
+
export const patchThreatEventCategory = /*@__PURE__*/ API.make(() => ({
|
|
1494
1494
|
input: PatchThreatEventCategoryRequest,
|
|
1495
1495
|
output: PatchThreatEventCategoryResponse,
|
|
1496
1496
|
errors: [],
|
|
1497
1497
|
}));
|
|
1498
1498
|
export const DeleteThreatEventCategoryRequest =
|
|
1499
|
-
/*@__PURE__*/
|
|
1499
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1500
1500
|
categoryId: Schema.String.pipe(T.HttpPath("categoryId")),
|
|
1501
1501
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1502
1502
|
}).pipe(T.Http({
|
|
@@ -1504,30 +1504,30 @@ export const DeleteThreatEventCategoryRequest =
|
|
|
1504
1504
|
path: "/accounts/{account_id}/cloudforce-one/events/categories/{categoryId}",
|
|
1505
1505
|
})));
|
|
1506
1506
|
export const DeleteThreatEventCategoryResponse =
|
|
1507
|
-
/*@__PURE__*/
|
|
1507
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1508
1508
|
uuid: Schema.String,
|
|
1509
1509
|
}));
|
|
1510
|
-
export const deleteThreatEventCategory = /*@__PURE__*/
|
|
1510
|
+
export const deleteThreatEventCategory = /*@__PURE__*/ API.make(() => ({
|
|
1511
1511
|
input: DeleteThreatEventCategoryRequest,
|
|
1512
1512
|
output: DeleteThreatEventCategoryResponse,
|
|
1513
1513
|
errors: [],
|
|
1514
1514
|
}));
|
|
1515
1515
|
export const ListThreatEventCountriesRequest =
|
|
1516
|
-
/*@__PURE__*/
|
|
1516
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1517
1517
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1518
1518
|
}).pipe(T.Http({
|
|
1519
1519
|
method: "GET",
|
|
1520
1520
|
path: "/accounts/{account_id}/cloudforce-one/events/countries",
|
|
1521
1521
|
})));
|
|
1522
1522
|
export const ListThreatEventCountriesResponse =
|
|
1523
|
-
/*@__PURE__*/
|
|
1524
|
-
export const listThreatEventCountries = /*@__PURE__*/
|
|
1523
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Array(CountryListResponseItem));
|
|
1524
|
+
export const listThreatEventCountries = /*@__PURE__*/ API.make(() => ({
|
|
1525
1525
|
input: ListThreatEventCountriesRequest,
|
|
1526
1526
|
output: ListThreatEventCountriesResponse,
|
|
1527
1527
|
errors: [],
|
|
1528
1528
|
}));
|
|
1529
1529
|
export const GetThreatEventDatasetRequest =
|
|
1530
|
-
/*@__PURE__*/
|
|
1530
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1531
1531
|
datasetId: Schema.String.pipe(T.HttpPath("datasetId")),
|
|
1532
1532
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1533
1533
|
}).pipe(T.Http({
|
|
@@ -1535,19 +1535,19 @@ export const GetThreatEventDatasetRequest =
|
|
|
1535
1535
|
path: "/accounts/{account_id}/cloudforce-one/events/dataset/{datasetId}",
|
|
1536
1536
|
})));
|
|
1537
1537
|
export const GetThreatEventDatasetResponse =
|
|
1538
|
-
/*@__PURE__*/
|
|
1538
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1539
1539
|
isPublic: Schema.Boolean,
|
|
1540
1540
|
name: Schema.String,
|
|
1541
1541
|
uuid: Schema.String,
|
|
1542
1542
|
deletedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1543
1543
|
}));
|
|
1544
|
-
export const getThreatEventDataset = /*@__PURE__*/
|
|
1544
|
+
export const getThreatEventDataset = /*@__PURE__*/ API.make(() => ({
|
|
1545
1545
|
input: GetThreatEventDatasetRequest,
|
|
1546
1546
|
output: GetThreatEventDatasetResponse,
|
|
1547
1547
|
errors: [],
|
|
1548
1548
|
}));
|
|
1549
1549
|
export const ListThreatEventDatasetsRequest =
|
|
1550
|
-
/*@__PURE__*/
|
|
1550
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1551
1551
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1552
1552
|
includeDeleted: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("includeDeleted")),
|
|
1553
1553
|
}).pipe(T.Http({
|
|
@@ -1555,14 +1555,14 @@ export const ListThreatEventDatasetsRequest =
|
|
|
1555
1555
|
path: "/accounts/{account_id}/cloudforce-one/events/dataset",
|
|
1556
1556
|
})));
|
|
1557
1557
|
export const ListThreatEventDatasetsResponse =
|
|
1558
|
-
/*@__PURE__*/
|
|
1559
|
-
export const listThreatEventDatasets = /*@__PURE__*/
|
|
1558
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Array(DatasetListResponseItem));
|
|
1559
|
+
export const listThreatEventDatasets = /*@__PURE__*/ API.make(() => ({
|
|
1560
1560
|
input: ListThreatEventDatasetsRequest,
|
|
1561
1561
|
output: ListThreatEventDatasetsResponse,
|
|
1562
1562
|
errors: [],
|
|
1563
1563
|
}));
|
|
1564
1564
|
export const CreateThreatEventDatasetRequest =
|
|
1565
|
-
/*@__PURE__*/
|
|
1565
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1566
1566
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1567
1567
|
isPublic: Schema.Boolean,
|
|
1568
1568
|
name: Schema.String,
|
|
@@ -1571,19 +1571,19 @@ export const CreateThreatEventDatasetRequest =
|
|
|
1571
1571
|
path: "/accounts/{account_id}/cloudforce-one/events/dataset/create",
|
|
1572
1572
|
})));
|
|
1573
1573
|
export const CreateThreatEventDatasetResponse =
|
|
1574
|
-
/*@__PURE__*/
|
|
1574
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1575
1575
|
isPublic: Schema.Boolean,
|
|
1576
1576
|
name: Schema.String,
|
|
1577
1577
|
uuid: Schema.String,
|
|
1578
1578
|
deletedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1579
1579
|
}));
|
|
1580
|
-
export const createThreatEventDataset = /*@__PURE__*/
|
|
1580
|
+
export const createThreatEventDataset = /*@__PURE__*/ API.make(() => ({
|
|
1581
1581
|
input: CreateThreatEventDatasetRequest,
|
|
1582
1582
|
output: CreateThreatEventDatasetResponse,
|
|
1583
1583
|
errors: [],
|
|
1584
1584
|
}));
|
|
1585
1585
|
export const PatchThreatEventDatasetRequest =
|
|
1586
|
-
/*@__PURE__*/
|
|
1586
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1587
1587
|
datasetId: Schema.String.pipe(T.HttpPath("datasetId")),
|
|
1588
1588
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1589
1589
|
isPublic: Schema.Boolean,
|
|
@@ -1593,19 +1593,19 @@ export const PatchThreatEventDatasetRequest =
|
|
|
1593
1593
|
path: "/accounts/{account_id}/cloudforce-one/events/dataset/{datasetId}",
|
|
1594
1594
|
})));
|
|
1595
1595
|
export const PatchThreatEventDatasetResponse =
|
|
1596
|
-
/*@__PURE__*/
|
|
1596
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1597
1597
|
isPublic: Schema.Boolean,
|
|
1598
1598
|
name: Schema.String,
|
|
1599
1599
|
uuid: Schema.String,
|
|
1600
1600
|
deletedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1601
1601
|
}));
|
|
1602
|
-
export const patchThreatEventDataset = /*@__PURE__*/
|
|
1602
|
+
export const patchThreatEventDataset = /*@__PURE__*/ API.make(() => ({
|
|
1603
1603
|
input: PatchThreatEventDatasetRequest,
|
|
1604
1604
|
output: PatchThreatEventDatasetResponse,
|
|
1605
1605
|
errors: [],
|
|
1606
1606
|
}));
|
|
1607
1607
|
export const RawThreatEventDatasetRequest =
|
|
1608
|
-
/*@__PURE__*/
|
|
1608
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1609
1609
|
datasetId: Schema.String.pipe(T.HttpPath("datasetId")),
|
|
1610
1610
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1611
1611
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1614,7 +1614,7 @@ export const RawThreatEventDatasetRequest =
|
|
|
1614
1614
|
path: "/accounts/{account_id}/cloudforce-one/events/raw/{datasetId}/{eventId}",
|
|
1615
1615
|
})));
|
|
1616
1616
|
export const RawThreatEventDatasetResponse =
|
|
1617
|
-
/*@__PURE__*/
|
|
1617
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1618
1618
|
id: Schema.Number,
|
|
1619
1619
|
accountId: Schema.Number,
|
|
1620
1620
|
created: Schema.String,
|
|
@@ -1622,13 +1622,13 @@ export const RawThreatEventDatasetResponse =
|
|
|
1622
1622
|
source: Schema.String,
|
|
1623
1623
|
tlp: Schema.String,
|
|
1624
1624
|
}));
|
|
1625
|
-
export const rawThreatEventDataset = /*@__PURE__*/
|
|
1625
|
+
export const rawThreatEventDataset = /*@__PURE__*/ API.make(() => ({
|
|
1626
1626
|
input: RawThreatEventDatasetRequest,
|
|
1627
1627
|
output: RawThreatEventDatasetResponse,
|
|
1628
1628
|
errors: [],
|
|
1629
1629
|
}));
|
|
1630
1630
|
export const CreateThreatEventEventTagRequest =
|
|
1631
|
-
/*@__PURE__*/
|
|
1631
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1632
1632
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1633
1633
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1634
1634
|
tags: Schema.Array(Schema.String),
|
|
@@ -1637,16 +1637,16 @@ export const CreateThreatEventEventTagRequest =
|
|
|
1637
1637
|
path: "/accounts/{account_id}/cloudforce-one/events/event_tag/{eventId}/create",
|
|
1638
1638
|
})));
|
|
1639
1639
|
export const CreateThreatEventEventTagResponse =
|
|
1640
|
-
/*@__PURE__*/
|
|
1640
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1641
1641
|
success: Schema.Boolean,
|
|
1642
1642
|
}).pipe(T.ResponsePath("result")));
|
|
1643
|
-
export const createThreatEventEventTag = /*@__PURE__*/
|
|
1643
|
+
export const createThreatEventEventTag = /*@__PURE__*/ API.make(() => ({
|
|
1644
1644
|
input: CreateThreatEventEventTagRequest,
|
|
1645
1645
|
output: CreateThreatEventEventTagResponse,
|
|
1646
1646
|
errors: [],
|
|
1647
1647
|
}));
|
|
1648
1648
|
export const DeleteThreatEventEventTagRequest =
|
|
1649
|
-
/*@__PURE__*/
|
|
1649
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1650
1650
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1651
1651
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1652
1652
|
}).pipe(T.Http({
|
|
@@ -1654,33 +1654,33 @@ export const DeleteThreatEventEventTagRequest =
|
|
|
1654
1654
|
path: "/accounts/{account_id}/cloudforce-one/events/event_tag/{eventId}",
|
|
1655
1655
|
})));
|
|
1656
1656
|
export const DeleteThreatEventEventTagResponse =
|
|
1657
|
-
/*@__PURE__*/
|
|
1657
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1658
1658
|
success: Schema.Boolean,
|
|
1659
1659
|
}).pipe(T.ResponsePath("result")));
|
|
1660
|
-
export const deleteThreatEventEventTag = /*@__PURE__*/
|
|
1660
|
+
export const deleteThreatEventEventTag = /*@__PURE__*/ API.make(() => ({
|
|
1661
1661
|
input: DeleteThreatEventEventTagRequest,
|
|
1662
1662
|
output: DeleteThreatEventEventTagResponse,
|
|
1663
1663
|
errors: [],
|
|
1664
1664
|
}));
|
|
1665
1665
|
export const ListThreatEventIndicatorTypesRequest =
|
|
1666
|
-
/*@__PURE__*/
|
|
1666
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1667
1667
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1668
1668
|
}).pipe(T.Http({
|
|
1669
1669
|
method: "GET",
|
|
1670
1670
|
path: "/accounts/{account_id}/cloudforce-one/events/indicatorTypes",
|
|
1671
1671
|
})));
|
|
1672
1672
|
export const ListThreatEventIndicatorTypesResponse =
|
|
1673
|
-
/*@__PURE__*/
|
|
1673
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1674
1674
|
items: Items,
|
|
1675
1675
|
type: Schema.String,
|
|
1676
1676
|
}));
|
|
1677
|
-
export const listThreatEventIndicatorTypes = /*@__PURE__*/
|
|
1677
|
+
export const listThreatEventIndicatorTypes = /*@__PURE__*/ API.make(() => ({
|
|
1678
1678
|
input: ListThreatEventIndicatorTypesRequest,
|
|
1679
1679
|
output: ListThreatEventIndicatorTypesResponse,
|
|
1680
1680
|
errors: [],
|
|
1681
1681
|
}));
|
|
1682
1682
|
export const GetThreatEventRawRequest =
|
|
1683
|
-
/*@__PURE__*/
|
|
1683
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1684
1684
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1685
1685
|
rawId: Schema.String.pipe(T.HttpPath("rawId")),
|
|
1686
1686
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1689,7 +1689,7 @@ export const GetThreatEventRawRequest =
|
|
|
1689
1689
|
path: "/accounts/{account_id}/cloudforce-one/events/{eventId}/raw/{rawId}",
|
|
1690
1690
|
})));
|
|
1691
1691
|
export const GetThreatEventRawResponse =
|
|
1692
|
-
/*@__PURE__*/
|
|
1692
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1693
1693
|
id: Schema.String,
|
|
1694
1694
|
accountId: Schema.Number,
|
|
1695
1695
|
created: Schema.String,
|
|
@@ -1697,13 +1697,13 @@ export const GetThreatEventRawResponse =
|
|
|
1697
1697
|
source: Schema.String,
|
|
1698
1698
|
tlp: Schema.String,
|
|
1699
1699
|
}));
|
|
1700
|
-
export const getThreatEventRaw = /*@__PURE__*/
|
|
1700
|
+
export const getThreatEventRaw = /*@__PURE__*/ API.make(() => ({
|
|
1701
1701
|
input: GetThreatEventRawRequest,
|
|
1702
1702
|
output: GetThreatEventRawResponse,
|
|
1703
1703
|
errors: [],
|
|
1704
1704
|
}));
|
|
1705
1705
|
export const PatchThreatEventRawRequest =
|
|
1706
|
-
/*@__PURE__*/
|
|
1706
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1707
1707
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1708
1708
|
rawId: Schema.String.pipe(T.HttpPath("rawId")),
|
|
1709
1709
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1715,17 +1715,17 @@ export const PatchThreatEventRawRequest =
|
|
|
1715
1715
|
path: "/accounts/{account_id}/cloudforce-one/events/{eventId}/raw/{rawId}",
|
|
1716
1716
|
})));
|
|
1717
1717
|
export const PatchThreatEventRawResponse =
|
|
1718
|
-
/*@__PURE__*/
|
|
1718
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1719
1719
|
id: Schema.String,
|
|
1720
1720
|
data: Schema.Unknown,
|
|
1721
1721
|
}));
|
|
1722
|
-
export const patchThreatEventRaw = /*@__PURE__*/
|
|
1722
|
+
export const patchThreatEventRaw = /*@__PURE__*/ API.make(() => ({
|
|
1723
1723
|
input: PatchThreatEventRawRequest,
|
|
1724
1724
|
output: PatchThreatEventRawResponse,
|
|
1725
1725
|
errors: [],
|
|
1726
1726
|
}));
|
|
1727
1727
|
export const DeleteThreatEventRelateRequest =
|
|
1728
|
-
/*@__PURE__*/
|
|
1728
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1729
1729
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
1730
1730
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1731
1731
|
}).pipe(T.Http({
|
|
@@ -1733,16 +1733,16 @@ export const DeleteThreatEventRelateRequest =
|
|
|
1733
1733
|
path: "/accounts/{account_id}/cloudforce-one/events/relate/{eventId}",
|
|
1734
1734
|
})));
|
|
1735
1735
|
export const DeleteThreatEventRelateResponse =
|
|
1736
|
-
/*@__PURE__*/
|
|
1736
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1737
1737
|
success: Schema.Boolean,
|
|
1738
1738
|
}).pipe(T.ResponsePath("result")));
|
|
1739
|
-
export const deleteThreatEventRelate = /*@__PURE__*/
|
|
1739
|
+
export const deleteThreatEventRelate = /*@__PURE__*/ API.make(() => ({
|
|
1740
1740
|
input: DeleteThreatEventRelateRequest,
|
|
1741
1741
|
output: DeleteThreatEventRelateResponse,
|
|
1742
1742
|
errors: [],
|
|
1743
1743
|
}));
|
|
1744
1744
|
export const CreateThreatEventTagRequest =
|
|
1745
|
-
/*@__PURE__*/
|
|
1745
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1746
1746
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1747
1747
|
value: Schema.String,
|
|
1748
1748
|
activeDuration: Schema.optional(Schema.String),
|
|
@@ -1769,7 +1769,7 @@ export const CreateThreatEventTagRequest =
|
|
|
1769
1769
|
path: "/accounts/{account_id}/cloudforce-one/events/tags/create",
|
|
1770
1770
|
})));
|
|
1771
1771
|
export const CreateThreatEventTagResponse =
|
|
1772
|
-
/*@__PURE__*/
|
|
1772
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1773
1773
|
uuid: Schema.String,
|
|
1774
1774
|
value: Schema.String,
|
|
1775
1775
|
activeDuration: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1794,13 +1794,13 @@ export const CreateThreatEventTagResponse =
|
|
|
1794
1794
|
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1795
1795
|
sophisticationLevel: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1796
1796
|
}));
|
|
1797
|
-
export const createThreatEventTag = /*@__PURE__*/
|
|
1797
|
+
export const createThreatEventTag = /*@__PURE__*/ API.make(() => ({
|
|
1798
1798
|
input: CreateThreatEventTagRequest,
|
|
1799
1799
|
output: CreateThreatEventTagResponse,
|
|
1800
1800
|
errors: [],
|
|
1801
1801
|
}));
|
|
1802
1802
|
export const ListThreatEventTargetIndustriesRequest =
|
|
1803
|
-
/*@__PURE__*/
|
|
1803
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1804
1804
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1805
1805
|
datasetIds: Schema.optional(Schema.Array(Schema.String)).pipe(T.HttpQuery("datasetIds")),
|
|
1806
1806
|
}).pipe(T.Http({
|
|
@@ -1808,11 +1808,11 @@ export const ListThreatEventTargetIndustriesRequest =
|
|
|
1808
1808
|
path: "/accounts/{account_id}/cloudforce-one/events/targetIndustries",
|
|
1809
1809
|
})));
|
|
1810
1810
|
export const ListThreatEventTargetIndustriesResponse =
|
|
1811
|
-
/*@__PURE__*/
|
|
1811
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1812
1812
|
items: Items,
|
|
1813
1813
|
type: Schema.String,
|
|
1814
1814
|
}));
|
|
1815
|
-
export const listThreatEventTargetIndustries = /*@__PURE__*/
|
|
1815
|
+
export const listThreatEventTargetIndustries = /*@__PURE__*/ API.make(() => ({
|
|
1816
1816
|
input: ListThreatEventTargetIndustriesRequest,
|
|
1817
1817
|
output: ListThreatEventTargetIndustriesResponse,
|
|
1818
1818
|
errors: [],
|