@distilled.cloud/cloudflare 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/package.json +3 -2
- 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
|
@@ -62,66 +62,63 @@ interface ListRequestsResponseResult {
|
|
|
62
62
|
/** Tokens for the request. */
|
|
63
63
|
tokens?: number | null;
|
|
64
64
|
}
|
|
65
|
-
const ListRequestsResponseResult = /*@__PURE__*/
|
|
66
|
-
(
|
|
67
|
-
Schema.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
readableId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
86
|
-
status: Schema.optional(
|
|
65
|
+
const ListRequestsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
66
|
+
Schema.Struct({
|
|
67
|
+
id: Schema.String,
|
|
68
|
+
created: Schema.String,
|
|
69
|
+
priority: Schema.Union([
|
|
70
|
+
Schema.Literals(["routine", "high", "urgent"]),
|
|
71
|
+
Schema.String,
|
|
72
|
+
]),
|
|
73
|
+
request: Schema.String,
|
|
74
|
+
summary: Schema.String,
|
|
75
|
+
tlp: Schema.Union([
|
|
76
|
+
Schema.Literals(["clear", "amber", "amber-strict", "green", "red"]),
|
|
77
|
+
Schema.String,
|
|
78
|
+
]),
|
|
79
|
+
updated: Schema.String,
|
|
80
|
+
completed: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
81
|
+
messageTokens: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
82
|
+
readableId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
83
|
+
status: Schema.optional(
|
|
84
|
+
Schema.Union([
|
|
87
85
|
Schema.Union([
|
|
88
|
-
Schema.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"declined",
|
|
96
|
-
]),
|
|
97
|
-
Schema.String,
|
|
86
|
+
Schema.Literals([
|
|
87
|
+
"open",
|
|
88
|
+
"accepted",
|
|
89
|
+
"reported",
|
|
90
|
+
"approved",
|
|
91
|
+
"completed",
|
|
92
|
+
"declined",
|
|
98
93
|
]),
|
|
99
|
-
Schema.
|
|
94
|
+
Schema.String,
|
|
100
95
|
]),
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}).pipe(
|
|
104
|
-
Schema.encodeKeys({
|
|
105
|
-
id: "id",
|
|
106
|
-
created: "created",
|
|
107
|
-
priority: "priority",
|
|
108
|
-
request: "request",
|
|
109
|
-
summary: "summary",
|
|
110
|
-
tlp: "tlp",
|
|
111
|
-
updated: "updated",
|
|
112
|
-
completed: "completed",
|
|
113
|
-
messageTokens: "message_tokens",
|
|
114
|
-
readableId: "readable_id",
|
|
115
|
-
status: "status",
|
|
116
|
-
tokens: "tokens",
|
|
117
|
-
}),
|
|
96
|
+
Schema.Null,
|
|
97
|
+
]),
|
|
118
98
|
),
|
|
99
|
+
tokens: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
100
|
+
}).pipe(
|
|
101
|
+
Schema.encodeKeys({
|
|
102
|
+
id: "id",
|
|
103
|
+
created: "created",
|
|
104
|
+
priority: "priority",
|
|
105
|
+
request: "request",
|
|
106
|
+
summary: "summary",
|
|
107
|
+
tlp: "tlp",
|
|
108
|
+
updated: "updated",
|
|
109
|
+
completed: "completed",
|
|
110
|
+
messageTokens: "message_tokens",
|
|
111
|
+
readableId: "readable_id",
|
|
112
|
+
status: "status",
|
|
113
|
+
tokens: "tokens",
|
|
114
|
+
}),
|
|
115
|
+
),
|
|
119
116
|
) as unknown as Schema.Codec<ListRequestsResponseResult>;
|
|
120
117
|
|
|
121
118
|
interface Source {
|
|
122
119
|
pointer?: string | null;
|
|
123
120
|
}
|
|
124
|
-
const Source = /*@__PURE__*/
|
|
121
|
+
const Source = /*@__PURE__*/ Schema.suspend(() =>
|
|
125
122
|
Schema.Struct({
|
|
126
123
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
127
124
|
}),
|
|
@@ -133,7 +130,7 @@ interface Error2 {
|
|
|
133
130
|
documentationUrl?: string | null;
|
|
134
131
|
source?: { pointer?: string | null } | null;
|
|
135
132
|
}
|
|
136
|
-
const Error2 = /*@__PURE__*/
|
|
133
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
137
134
|
Schema.Struct({
|
|
138
135
|
code: Schema.Number,
|
|
139
136
|
message: Schema.String,
|
|
@@ -164,7 +161,7 @@ interface GetRequestAssetResponseResult {
|
|
|
164
161
|
fileType?: string | null;
|
|
165
162
|
}
|
|
166
163
|
const GetRequestAssetResponseResult =
|
|
167
|
-
/*@__PURE__*/
|
|
164
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
168
165
|
Schema.Struct({
|
|
169
166
|
id: Schema.Number,
|
|
170
167
|
name: Schema.String,
|
|
@@ -194,7 +191,7 @@ interface ListScanConfigsResponseResult {
|
|
|
194
191
|
ports: string[];
|
|
195
192
|
}
|
|
196
193
|
const ListScanConfigsResponseResult =
|
|
197
|
-
/*@__PURE__*/
|
|
194
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
198
195
|
Schema.Struct({
|
|
199
196
|
id: Schema.String,
|
|
200
197
|
accountId: Schema.String,
|
|
@@ -217,7 +214,7 @@ interface ScanResult {
|
|
|
217
214
|
proto?: string | null;
|
|
218
215
|
status?: string | null;
|
|
219
216
|
}
|
|
220
|
-
const ScanResult = /*@__PURE__*/
|
|
217
|
+
const ScanResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
221
218
|
Schema.Struct({
|
|
222
219
|
number: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
223
220
|
proto: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -256,41 +253,40 @@ interface ThreatEventListResponseItem {
|
|
|
256
253
|
insight?: string | null;
|
|
257
254
|
releasabilityId?: string | null;
|
|
258
255
|
}
|
|
259
|
-
const ThreatEventListResponseItem = /*@__PURE__*/
|
|
260
|
-
(
|
|
261
|
-
Schema.
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
}),
|
|
256
|
+
const ThreatEventListResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
257
|
+
Schema.Struct({
|
|
258
|
+
attacker: Schema.String,
|
|
259
|
+
attackerCountry: Schema.String,
|
|
260
|
+
attackerCountryAlpha3: Schema.String,
|
|
261
|
+
category: Schema.String,
|
|
262
|
+
datasetId: Schema.String,
|
|
263
|
+
date: Schema.String,
|
|
264
|
+
event: Schema.String,
|
|
265
|
+
hasChildren: Schema.Boolean,
|
|
266
|
+
indicator: Schema.String,
|
|
267
|
+
indicatorType: Schema.String,
|
|
268
|
+
indicatorTypeId: Schema.Number,
|
|
269
|
+
killChain: Schema.Number,
|
|
270
|
+
mitreAttack: Schema.Array(Schema.String),
|
|
271
|
+
mitreCapec: Schema.Array(Schema.String),
|
|
272
|
+
numReferenced: Schema.Number,
|
|
273
|
+
numReferences: Schema.Number,
|
|
274
|
+
rawId: Schema.String,
|
|
275
|
+
referenced: Schema.Array(Schema.String),
|
|
276
|
+
referencedIds: Schema.Array(Schema.Number),
|
|
277
|
+
references: Schema.Array(Schema.String),
|
|
278
|
+
referencesIds: Schema.Array(Schema.Number),
|
|
279
|
+
tags: Schema.Array(Schema.String),
|
|
280
|
+
targetCountry: Schema.String,
|
|
281
|
+
targetCountryAlpha3: Schema.String,
|
|
282
|
+
targetIndustry: Schema.String,
|
|
283
|
+
tlp: Schema.String,
|
|
284
|
+
uuid: Schema.String,
|
|
285
|
+
insight: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
286
|
+
releasabilityId: Schema.optional(
|
|
287
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
288
|
+
),
|
|
289
|
+
}),
|
|
294
290
|
) as unknown as Schema.Codec<ThreatEventListResponseItem>;
|
|
295
291
|
|
|
296
292
|
interface Raw {
|
|
@@ -298,7 +294,7 @@ interface Raw {
|
|
|
298
294
|
source?: string | null;
|
|
299
295
|
tlp?: string | null;
|
|
300
296
|
}
|
|
301
|
-
const Raw = /*@__PURE__*/
|
|
297
|
+
const Raw = /*@__PURE__*/ Schema.suspend(() =>
|
|
302
298
|
Schema.Struct({
|
|
303
299
|
data: Schema.Union([
|
|
304
300
|
Schema.Record(Schema.String, Schema.Unknown),
|
|
@@ -315,7 +311,7 @@ interface Indicator {
|
|
|
315
311
|
/** The indicator value (e.g., domain name, IP address, hash) */
|
|
316
312
|
value: string;
|
|
317
313
|
}
|
|
318
|
-
const Indicator = /*@__PURE__*/
|
|
314
|
+
const Indicator = /*@__PURE__*/ Schema.suspend(() =>
|
|
319
315
|
Schema.Struct({
|
|
320
316
|
indicatorType: Schema.String,
|
|
321
317
|
value: Schema.String,
|
|
@@ -327,7 +323,7 @@ interface Raw2 {
|
|
|
327
323
|
source?: string | null;
|
|
328
324
|
tlp?: string | null;
|
|
329
325
|
}
|
|
330
|
-
const Raw2 = /*@__PURE__*/
|
|
326
|
+
const Raw2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
331
327
|
Schema.Struct({
|
|
332
328
|
data: Schema.optional(
|
|
333
329
|
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
@@ -360,7 +356,7 @@ interface Data {
|
|
|
360
356
|
targetCountry?: string | null;
|
|
361
357
|
targetIndustry?: string | null;
|
|
362
358
|
}
|
|
363
|
-
const Data = /*@__PURE__*/
|
|
359
|
+
const Data = /*@__PURE__*/ Schema.suspend(() =>
|
|
364
360
|
Schema.Struct({
|
|
365
361
|
category: Schema.String,
|
|
366
362
|
date: Schema.String,
|
|
@@ -395,7 +391,7 @@ interface CreatedEvent {
|
|
|
395
391
|
/** UUID of the created event */
|
|
396
392
|
uuid: string;
|
|
397
393
|
}
|
|
398
|
-
const CreatedEvent = /*@__PURE__*/
|
|
394
|
+
const CreatedEvent = /*@__PURE__*/ Schema.suspend(() =>
|
|
399
395
|
Schema.Struct({
|
|
400
396
|
eventIndex: Schema.Number,
|
|
401
397
|
shardId: Schema.String,
|
|
@@ -409,7 +405,7 @@ interface Error3 {
|
|
|
409
405
|
/** Index of the event that caused the error */
|
|
410
406
|
eventIndex: number;
|
|
411
407
|
}
|
|
412
|
-
const Error3 = /*@__PURE__*/
|
|
408
|
+
const Error3 = /*@__PURE__*/ Schema.suspend(() =>
|
|
413
409
|
Schema.Struct({
|
|
414
410
|
error: Schema.String,
|
|
415
411
|
eventIndex: Schema.Number,
|
|
@@ -419,7 +415,7 @@ const Error3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
419
415
|
interface Items {
|
|
420
416
|
type: string;
|
|
421
417
|
}
|
|
422
|
-
const Items = /*@__PURE__*/
|
|
418
|
+
const Items = /*@__PURE__*/ Schema.suspend(() =>
|
|
423
419
|
Schema.Struct({
|
|
424
420
|
type: Schema.String,
|
|
425
421
|
}),
|
|
@@ -433,20 +429,19 @@ interface CategoryListResponseItem {
|
|
|
433
429
|
mitreCapec?: string[] | null;
|
|
434
430
|
shortname?: string | null;
|
|
435
431
|
}
|
|
436
|
-
const CategoryListResponseItem = /*@__PURE__*/
|
|
437
|
-
(
|
|
438
|
-
Schema.
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
}),
|
|
432
|
+
const CategoryListResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
433
|
+
Schema.Struct({
|
|
434
|
+
killChain: Schema.Number,
|
|
435
|
+
name: Schema.String,
|
|
436
|
+
uuid: Schema.String,
|
|
437
|
+
mitreAttack: Schema.optional(
|
|
438
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
439
|
+
),
|
|
440
|
+
mitreCapec: Schema.optional(
|
|
441
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
442
|
+
),
|
|
443
|
+
shortname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
444
|
+
}),
|
|
450
445
|
) as unknown as Schema.Codec<CategoryListResponseItem>;
|
|
451
446
|
|
|
452
447
|
interface Result {
|
|
@@ -454,7 +449,7 @@ interface Result {
|
|
|
454
449
|
alpha3: string;
|
|
455
450
|
name: string;
|
|
456
451
|
}
|
|
457
|
-
const Result = /*@__PURE__*/
|
|
452
|
+
const Result = /*@__PURE__*/ Schema.suspend(() =>
|
|
458
453
|
Schema.Struct({
|
|
459
454
|
alpha2: Schema.String,
|
|
460
455
|
alpha3: Schema.String,
|
|
@@ -466,7 +461,7 @@ interface CountryListResponseItem {
|
|
|
466
461
|
result: { alpha2: string; alpha3: string; name: string }[];
|
|
467
462
|
success: string;
|
|
468
463
|
}
|
|
469
|
-
const CountryListResponseItem = /*@__PURE__*/
|
|
464
|
+
const CountryListResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
470
465
|
Schema.Struct({
|
|
471
466
|
result: Schema.Array(Result),
|
|
472
467
|
success: Schema.String,
|
|
@@ -479,7 +474,7 @@ interface DatasetListResponseItem {
|
|
|
479
474
|
uuid: string;
|
|
480
475
|
deletedAt?: string | null;
|
|
481
476
|
}
|
|
482
|
-
const DatasetListResponseItem = /*@__PURE__*/
|
|
477
|
+
const DatasetListResponseItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
483
478
|
Schema.Struct({
|
|
484
479
|
isPublic: Schema.Boolean,
|
|
485
480
|
name: Schema.String,
|
|
@@ -493,7 +488,7 @@ interface Alias {
|
|
|
493
488
|
confidence?: number | null;
|
|
494
489
|
tlp?: "red" | "amber" | "green" | "white" | null;
|
|
495
490
|
}
|
|
496
|
-
const Alias = /*@__PURE__*/
|
|
491
|
+
const Alias = /*@__PURE__*/ Schema.suspend(() =>
|
|
497
492
|
Schema.Struct({
|
|
498
493
|
value: Schema.String,
|
|
499
494
|
confidence: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -520,7 +515,7 @@ export interface GetBinaryStorageRequest {
|
|
|
520
515
|
}
|
|
521
516
|
|
|
522
517
|
export const GetBinaryStorageRequest =
|
|
523
|
-
/*@__PURE__*/
|
|
518
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
524
519
|
Schema.Struct({
|
|
525
520
|
hash: Schema.String.pipe(T.HttpPath("hash")),
|
|
526
521
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -535,7 +530,7 @@ export const GetBinaryStorageRequest =
|
|
|
535
530
|
export type GetBinaryStorageResponse = unknown;
|
|
536
531
|
|
|
537
532
|
export const GetBinaryStorageResponse =
|
|
538
|
-
/*@__PURE__*/
|
|
533
|
+
/*@__PURE__*/ Schema.suspend(
|
|
539
534
|
() => Schema.Unknown,
|
|
540
535
|
) as unknown as Schema.Codec<GetBinaryStorageResponse>;
|
|
541
536
|
|
|
@@ -546,7 +541,7 @@ export const getBinaryStorage: API.OperationMethod<
|
|
|
546
541
|
GetBinaryStorageResponse,
|
|
547
542
|
GetBinaryStorageError,
|
|
548
543
|
Credentials | HttpClient.HttpClient
|
|
549
|
-
> = /*@__PURE__*/
|
|
544
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
550
545
|
input: GetBinaryStorageRequest,
|
|
551
546
|
output: GetBinaryStorageResponse,
|
|
552
547
|
errors: [],
|
|
@@ -560,7 +555,7 @@ export interface CreateBinaryStorageRequest {
|
|
|
560
555
|
}
|
|
561
556
|
|
|
562
557
|
export const CreateBinaryStorageRequest =
|
|
563
|
-
/*@__PURE__*/
|
|
558
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
564
559
|
Schema.Struct({
|
|
565
560
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
566
561
|
file: UploadableSchema.pipe(T.HttpFormDataFile()),
|
|
@@ -581,7 +576,7 @@ export interface CreateBinaryStorageResponse {
|
|
|
581
576
|
}
|
|
582
577
|
|
|
583
578
|
export const CreateBinaryStorageResponse =
|
|
584
|
-
/*@__PURE__*/
|
|
579
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
585
580
|
Schema.Struct({
|
|
586
581
|
contentType: Schema.String,
|
|
587
582
|
md5: Schema.String,
|
|
@@ -604,7 +599,7 @@ export const createBinaryStorage: API.OperationMethod<
|
|
|
604
599
|
CreateBinaryStorageResponse,
|
|
605
600
|
CreateBinaryStorageError,
|
|
606
601
|
Credentials | HttpClient.HttpClient
|
|
607
|
-
> = /*@__PURE__*/
|
|
602
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
608
603
|
input: CreateBinaryStorageRequest,
|
|
609
604
|
output: CreateBinaryStorageResponse,
|
|
610
605
|
errors: [],
|
|
@@ -620,17 +615,16 @@ export interface GetRequestRequest {
|
|
|
620
615
|
accountId: string;
|
|
621
616
|
}
|
|
622
617
|
|
|
623
|
-
export const GetRequestRequest = /*@__PURE__*/
|
|
624
|
-
(
|
|
625
|
-
Schema.
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
),
|
|
618
|
+
export const GetRequestRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
619
|
+
Schema.Struct({
|
|
620
|
+
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
621
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
622
|
+
}).pipe(
|
|
623
|
+
T.Http({
|
|
624
|
+
method: "GET",
|
|
625
|
+
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}",
|
|
626
|
+
}),
|
|
627
|
+
),
|
|
634
628
|
) as unknown as Schema.Codec<GetRequestRequest>;
|
|
635
629
|
|
|
636
630
|
export interface GetRequestResponse {
|
|
@@ -666,61 +660,58 @@ export interface GetRequestResponse {
|
|
|
666
660
|
tokens?: number | null;
|
|
667
661
|
}
|
|
668
662
|
|
|
669
|
-
export const GetRequestResponse = /*@__PURE__*/
|
|
670
|
-
(
|
|
671
|
-
Schema.
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
readableId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
688
|
-
status: Schema.optional(
|
|
663
|
+
export const GetRequestResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
664
|
+
Schema.Struct({
|
|
665
|
+
id: Schema.String,
|
|
666
|
+
content: Schema.String,
|
|
667
|
+
created: Schema.String,
|
|
668
|
+
priority: Schema.String,
|
|
669
|
+
request: Schema.String,
|
|
670
|
+
summary: Schema.String,
|
|
671
|
+
tlp: Schema.Union([
|
|
672
|
+
Schema.Literals(["clear", "amber", "amber-strict", "green", "red"]),
|
|
673
|
+
Schema.String,
|
|
674
|
+
]),
|
|
675
|
+
updated: Schema.String,
|
|
676
|
+
completed: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
677
|
+
messageTokens: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
678
|
+
readableId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
679
|
+
status: Schema.optional(
|
|
680
|
+
Schema.Union([
|
|
689
681
|
Schema.Union([
|
|
690
|
-
Schema.
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
"declined",
|
|
698
|
-
]),
|
|
699
|
-
Schema.String,
|
|
682
|
+
Schema.Literals([
|
|
683
|
+
"open",
|
|
684
|
+
"accepted",
|
|
685
|
+
"reported",
|
|
686
|
+
"approved",
|
|
687
|
+
"completed",
|
|
688
|
+
"declined",
|
|
700
689
|
]),
|
|
701
|
-
Schema.
|
|
690
|
+
Schema.String,
|
|
702
691
|
]),
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
692
|
+
Schema.Null,
|
|
693
|
+
]),
|
|
694
|
+
),
|
|
695
|
+
tokens: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
696
|
+
})
|
|
697
|
+
.pipe(
|
|
698
|
+
Schema.encodeKeys({
|
|
699
|
+
id: "id",
|
|
700
|
+
content: "content",
|
|
701
|
+
created: "created",
|
|
702
|
+
priority: "priority",
|
|
703
|
+
request: "request",
|
|
704
|
+
summary: "summary",
|
|
705
|
+
tlp: "tlp",
|
|
706
|
+
updated: "updated",
|
|
707
|
+
completed: "completed",
|
|
708
|
+
messageTokens: "message_tokens",
|
|
709
|
+
readableId: "readable_id",
|
|
710
|
+
status: "status",
|
|
711
|
+
tokens: "tokens",
|
|
712
|
+
}),
|
|
713
|
+
)
|
|
714
|
+
.pipe(T.ResponsePath("result")),
|
|
724
715
|
) as unknown as Schema.Codec<GetRequestResponse>;
|
|
725
716
|
|
|
726
717
|
export type GetRequestError = DefaultErrors;
|
|
@@ -730,7 +721,7 @@ export const getRequest: API.OperationMethod<
|
|
|
730
721
|
GetRequestResponse,
|
|
731
722
|
GetRequestError,
|
|
732
723
|
Credentials | HttpClient.HttpClient
|
|
733
|
-
> = /*@__PURE__*/
|
|
724
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
734
725
|
input: GetRequestRequest,
|
|
735
726
|
output: GetRequestResponse,
|
|
736
727
|
errors: [],
|
|
@@ -768,52 +759,51 @@ export interface ListRequestsRequest {
|
|
|
768
759
|
| (string & {});
|
|
769
760
|
}
|
|
770
761
|
|
|
771
|
-
export const ListRequestsRequest = /*@__PURE__*/
|
|
772
|
-
(
|
|
773
|
-
Schema.
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
Schema.
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
"declined",
|
|
795
|
-
]),
|
|
796
|
-
Schema.String,
|
|
762
|
+
export const ListRequestsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
763
|
+
Schema.Struct({
|
|
764
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
765
|
+
page: Schema.Number,
|
|
766
|
+
perPage: Schema.Number,
|
|
767
|
+
completedAfter: Schema.optional(Schema.String),
|
|
768
|
+
completedBefore: Schema.optional(Schema.String),
|
|
769
|
+
createdAfter: Schema.optional(Schema.String),
|
|
770
|
+
createdBefore: Schema.optional(Schema.String),
|
|
771
|
+
requestType: Schema.optional(Schema.String),
|
|
772
|
+
sortBy: Schema.optional(Schema.String),
|
|
773
|
+
sortOrder: Schema.optional(
|
|
774
|
+
Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
|
|
775
|
+
),
|
|
776
|
+
status: Schema.optional(
|
|
777
|
+
Schema.Union([
|
|
778
|
+
Schema.Literals([
|
|
779
|
+
"open",
|
|
780
|
+
"accepted",
|
|
781
|
+
"reported",
|
|
782
|
+
"approved",
|
|
783
|
+
"completed",
|
|
784
|
+
"declined",
|
|
797
785
|
]),
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
Schema.encodeKeys({
|
|
801
|
-
page: "page",
|
|
802
|
-
perPage: "per_page",
|
|
803
|
-
completedAfter: "completed_after",
|
|
804
|
-
completedBefore: "completed_before",
|
|
805
|
-
createdAfter: "created_after",
|
|
806
|
-
createdBefore: "created_before",
|
|
807
|
-
requestType: "request_type",
|
|
808
|
-
sortBy: "sort_by",
|
|
809
|
-
sortOrder: "sort_order",
|
|
810
|
-
status: "status",
|
|
811
|
-
}),
|
|
812
|
-
T.Http({
|
|
813
|
-
method: "POST",
|
|
814
|
-
path: "/accounts/{account_id}/cloudforce-one/requests",
|
|
815
|
-
}),
|
|
786
|
+
Schema.String,
|
|
787
|
+
]),
|
|
816
788
|
),
|
|
789
|
+
}).pipe(
|
|
790
|
+
Schema.encodeKeys({
|
|
791
|
+
page: "page",
|
|
792
|
+
perPage: "per_page",
|
|
793
|
+
completedAfter: "completed_after",
|
|
794
|
+
completedBefore: "completed_before",
|
|
795
|
+
createdAfter: "created_after",
|
|
796
|
+
createdBefore: "created_before",
|
|
797
|
+
requestType: "request_type",
|
|
798
|
+
sortBy: "sort_by",
|
|
799
|
+
sortOrder: "sort_order",
|
|
800
|
+
status: "status",
|
|
801
|
+
}),
|
|
802
|
+
T.Http({
|
|
803
|
+
method: "POST",
|
|
804
|
+
path: "/accounts/{account_id}/cloudforce-one/requests",
|
|
805
|
+
}),
|
|
806
|
+
),
|
|
817
807
|
) as unknown as Schema.Codec<ListRequestsRequest>;
|
|
818
808
|
|
|
819
809
|
export interface ListRequestsResponse {
|
|
@@ -841,11 +831,10 @@ export interface ListRequestsResponse {
|
|
|
841
831
|
}[];
|
|
842
832
|
}
|
|
843
833
|
|
|
844
|
-
export const ListRequestsResponse = /*@__PURE__*/
|
|
845
|
-
(
|
|
846
|
-
Schema.
|
|
847
|
-
|
|
848
|
-
}),
|
|
834
|
+
export const ListRequestsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
835
|
+
Schema.Struct({
|
|
836
|
+
result: Schema.Array(ListRequestsResponseResult),
|
|
837
|
+
}),
|
|
849
838
|
) as unknown as Schema.Codec<ListRequestsResponse>;
|
|
850
839
|
|
|
851
840
|
export type ListRequestsError = DefaultErrors;
|
|
@@ -855,7 +844,7 @@ export const listRequests: API.PaginatedOperationMethod<
|
|
|
855
844
|
ListRequestsResponse,
|
|
856
845
|
ListRequestsError,
|
|
857
846
|
Credentials | HttpClient.HttpClient
|
|
858
|
-
> = /*@__PURE__*/
|
|
847
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
859
848
|
input: ListRequestsRequest,
|
|
860
849
|
output: ListRequestsResponse,
|
|
861
850
|
errors: [],
|
|
@@ -880,33 +869,32 @@ export interface CreateRequestRequest {
|
|
|
880
869
|
tlp?: "clear" | "amber" | "amber-strict" | "green" | "red" | (string & {});
|
|
881
870
|
}
|
|
882
871
|
|
|
883
|
-
export const CreateRequestRequest = /*@__PURE__*/
|
|
884
|
-
(
|
|
885
|
-
Schema.
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
Schema.
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
]),
|
|
896
|
-
),
|
|
897
|
-
}).pipe(
|
|
898
|
-
Schema.encodeKeys({
|
|
899
|
-
content: "content",
|
|
900
|
-
priority: "priority",
|
|
901
|
-
requestType: "request_type",
|
|
902
|
-
summary: "summary",
|
|
903
|
-
tlp: "tlp",
|
|
904
|
-
}),
|
|
905
|
-
T.Http({
|
|
906
|
-
method: "POST",
|
|
907
|
-
path: "/accounts/{account_id}/cloudforce-one/requests/new",
|
|
908
|
-
}),
|
|
872
|
+
export const CreateRequestRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
873
|
+
Schema.Struct({
|
|
874
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
875
|
+
content: Schema.optional(Schema.String),
|
|
876
|
+
priority: Schema.optional(Schema.String),
|
|
877
|
+
requestType: Schema.optional(Schema.String),
|
|
878
|
+
summary: Schema.optional(Schema.String),
|
|
879
|
+
tlp: Schema.optional(
|
|
880
|
+
Schema.Union([
|
|
881
|
+
Schema.Literals(["clear", "amber", "amber-strict", "green", "red"]),
|
|
882
|
+
Schema.String,
|
|
883
|
+
]),
|
|
909
884
|
),
|
|
885
|
+
}).pipe(
|
|
886
|
+
Schema.encodeKeys({
|
|
887
|
+
content: "content",
|
|
888
|
+
priority: "priority",
|
|
889
|
+
requestType: "request_type",
|
|
890
|
+
summary: "summary",
|
|
891
|
+
tlp: "tlp",
|
|
892
|
+
}),
|
|
893
|
+
T.Http({
|
|
894
|
+
method: "POST",
|
|
895
|
+
path: "/accounts/{account_id}/cloudforce-one/requests/new",
|
|
896
|
+
}),
|
|
897
|
+
),
|
|
910
898
|
) as unknown as Schema.Codec<CreateRequestRequest>;
|
|
911
899
|
|
|
912
900
|
export interface CreateRequestResponse {
|
|
@@ -942,61 +930,58 @@ export interface CreateRequestResponse {
|
|
|
942
930
|
tokens?: number | null;
|
|
943
931
|
}
|
|
944
932
|
|
|
945
|
-
export const CreateRequestResponse = /*@__PURE__*/
|
|
946
|
-
(
|
|
947
|
-
Schema.
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
readableId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
964
|
-
status: Schema.optional(
|
|
933
|
+
export const CreateRequestResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
934
|
+
Schema.Struct({
|
|
935
|
+
id: Schema.String,
|
|
936
|
+
content: Schema.String,
|
|
937
|
+
created: Schema.String,
|
|
938
|
+
priority: Schema.String,
|
|
939
|
+
request: Schema.String,
|
|
940
|
+
summary: Schema.String,
|
|
941
|
+
tlp: Schema.Union([
|
|
942
|
+
Schema.Literals(["clear", "amber", "amber-strict", "green", "red"]),
|
|
943
|
+
Schema.String,
|
|
944
|
+
]),
|
|
945
|
+
updated: Schema.String,
|
|
946
|
+
completed: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
947
|
+
messageTokens: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
948
|
+
readableId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
949
|
+
status: Schema.optional(
|
|
950
|
+
Schema.Union([
|
|
965
951
|
Schema.Union([
|
|
966
|
-
Schema.
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
"declined",
|
|
974
|
-
]),
|
|
975
|
-
Schema.String,
|
|
952
|
+
Schema.Literals([
|
|
953
|
+
"open",
|
|
954
|
+
"accepted",
|
|
955
|
+
"reported",
|
|
956
|
+
"approved",
|
|
957
|
+
"completed",
|
|
958
|
+
"declined",
|
|
976
959
|
]),
|
|
977
|
-
Schema.
|
|
960
|
+
Schema.String,
|
|
978
961
|
]),
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
962
|
+
Schema.Null,
|
|
963
|
+
]),
|
|
964
|
+
),
|
|
965
|
+
tokens: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
966
|
+
})
|
|
967
|
+
.pipe(
|
|
968
|
+
Schema.encodeKeys({
|
|
969
|
+
id: "id",
|
|
970
|
+
content: "content",
|
|
971
|
+
created: "created",
|
|
972
|
+
priority: "priority",
|
|
973
|
+
request: "request",
|
|
974
|
+
summary: "summary",
|
|
975
|
+
tlp: "tlp",
|
|
976
|
+
updated: "updated",
|
|
977
|
+
completed: "completed",
|
|
978
|
+
messageTokens: "message_tokens",
|
|
979
|
+
readableId: "readable_id",
|
|
980
|
+
status: "status",
|
|
981
|
+
tokens: "tokens",
|
|
982
|
+
}),
|
|
983
|
+
)
|
|
984
|
+
.pipe(T.ResponsePath("result")),
|
|
1000
985
|
) as unknown as Schema.Codec<CreateRequestResponse>;
|
|
1001
986
|
|
|
1002
987
|
export type CreateRequestError = DefaultErrors;
|
|
@@ -1006,7 +991,7 @@ export const createRequest: API.OperationMethod<
|
|
|
1006
991
|
CreateRequestResponse,
|
|
1007
992
|
CreateRequestError,
|
|
1008
993
|
Credentials | HttpClient.HttpClient
|
|
1009
|
-
> = /*@__PURE__*/
|
|
994
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1010
995
|
input: CreateRequestRequest,
|
|
1011
996
|
output: CreateRequestResponse,
|
|
1012
997
|
errors: [],
|
|
@@ -1028,34 +1013,33 @@ export interface UpdateRequestRequest {
|
|
|
1028
1013
|
tlp?: "clear" | "amber" | "amber-strict" | "green" | "red" | (string & {});
|
|
1029
1014
|
}
|
|
1030
1015
|
|
|
1031
|
-
export const UpdateRequestRequest = /*@__PURE__*/
|
|
1032
|
-
(
|
|
1033
|
-
Schema.
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
Schema.
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
]),
|
|
1045
|
-
),
|
|
1046
|
-
}).pipe(
|
|
1047
|
-
Schema.encodeKeys({
|
|
1048
|
-
content: "content",
|
|
1049
|
-
priority: "priority",
|
|
1050
|
-
requestType: "request_type",
|
|
1051
|
-
summary: "summary",
|
|
1052
|
-
tlp: "tlp",
|
|
1053
|
-
}),
|
|
1054
|
-
T.Http({
|
|
1055
|
-
method: "PUT",
|
|
1056
|
-
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}",
|
|
1057
|
-
}),
|
|
1016
|
+
export const UpdateRequestRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1017
|
+
Schema.Struct({
|
|
1018
|
+
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
1019
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1020
|
+
content: Schema.optional(Schema.String),
|
|
1021
|
+
priority: Schema.optional(Schema.String),
|
|
1022
|
+
requestType: Schema.optional(Schema.String),
|
|
1023
|
+
summary: Schema.optional(Schema.String),
|
|
1024
|
+
tlp: Schema.optional(
|
|
1025
|
+
Schema.Union([
|
|
1026
|
+
Schema.Literals(["clear", "amber", "amber-strict", "green", "red"]),
|
|
1027
|
+
Schema.String,
|
|
1028
|
+
]),
|
|
1058
1029
|
),
|
|
1030
|
+
}).pipe(
|
|
1031
|
+
Schema.encodeKeys({
|
|
1032
|
+
content: "content",
|
|
1033
|
+
priority: "priority",
|
|
1034
|
+
requestType: "request_type",
|
|
1035
|
+
summary: "summary",
|
|
1036
|
+
tlp: "tlp",
|
|
1037
|
+
}),
|
|
1038
|
+
T.Http({
|
|
1039
|
+
method: "PUT",
|
|
1040
|
+
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}",
|
|
1041
|
+
}),
|
|
1042
|
+
),
|
|
1059
1043
|
) as unknown as Schema.Codec<UpdateRequestRequest>;
|
|
1060
1044
|
|
|
1061
1045
|
export interface UpdateRequestResponse {
|
|
@@ -1091,61 +1075,58 @@ export interface UpdateRequestResponse {
|
|
|
1091
1075
|
tokens?: number | null;
|
|
1092
1076
|
}
|
|
1093
1077
|
|
|
1094
|
-
export const UpdateRequestResponse = /*@__PURE__*/
|
|
1095
|
-
(
|
|
1096
|
-
Schema.
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
readableId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1113
|
-
status: Schema.optional(
|
|
1078
|
+
export const UpdateRequestResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1079
|
+
Schema.Struct({
|
|
1080
|
+
id: Schema.String,
|
|
1081
|
+
content: Schema.String,
|
|
1082
|
+
created: Schema.String,
|
|
1083
|
+
priority: Schema.String,
|
|
1084
|
+
request: Schema.String,
|
|
1085
|
+
summary: Schema.String,
|
|
1086
|
+
tlp: Schema.Union([
|
|
1087
|
+
Schema.Literals(["clear", "amber", "amber-strict", "green", "red"]),
|
|
1088
|
+
Schema.String,
|
|
1089
|
+
]),
|
|
1090
|
+
updated: Schema.String,
|
|
1091
|
+
completed: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1092
|
+
messageTokens: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1093
|
+
readableId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1094
|
+
status: Schema.optional(
|
|
1095
|
+
Schema.Union([
|
|
1114
1096
|
Schema.Union([
|
|
1115
|
-
Schema.
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
"declined",
|
|
1123
|
-
]),
|
|
1124
|
-
Schema.String,
|
|
1097
|
+
Schema.Literals([
|
|
1098
|
+
"open",
|
|
1099
|
+
"accepted",
|
|
1100
|
+
"reported",
|
|
1101
|
+
"approved",
|
|
1102
|
+
"completed",
|
|
1103
|
+
"declined",
|
|
1125
1104
|
]),
|
|
1126
|
-
Schema.
|
|
1105
|
+
Schema.String,
|
|
1127
1106
|
]),
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1107
|
+
Schema.Null,
|
|
1108
|
+
]),
|
|
1109
|
+
),
|
|
1110
|
+
tokens: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1111
|
+
})
|
|
1112
|
+
.pipe(
|
|
1113
|
+
Schema.encodeKeys({
|
|
1114
|
+
id: "id",
|
|
1115
|
+
content: "content",
|
|
1116
|
+
created: "created",
|
|
1117
|
+
priority: "priority",
|
|
1118
|
+
request: "request",
|
|
1119
|
+
summary: "summary",
|
|
1120
|
+
tlp: "tlp",
|
|
1121
|
+
updated: "updated",
|
|
1122
|
+
completed: "completed",
|
|
1123
|
+
messageTokens: "message_tokens",
|
|
1124
|
+
readableId: "readable_id",
|
|
1125
|
+
status: "status",
|
|
1126
|
+
tokens: "tokens",
|
|
1127
|
+
}),
|
|
1128
|
+
)
|
|
1129
|
+
.pipe(T.ResponsePath("result")),
|
|
1149
1130
|
) as unknown as Schema.Codec<UpdateRequestResponse>;
|
|
1150
1131
|
|
|
1151
1132
|
export type UpdateRequestError = DefaultErrors;
|
|
@@ -1155,7 +1136,7 @@ export const updateRequest: API.OperationMethod<
|
|
|
1155
1136
|
UpdateRequestResponse,
|
|
1156
1137
|
UpdateRequestError,
|
|
1157
1138
|
Credentials | HttpClient.HttpClient
|
|
1158
|
-
> = /*@__PURE__*/
|
|
1139
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1159
1140
|
input: UpdateRequestRequest,
|
|
1160
1141
|
output: UpdateRequestResponse,
|
|
1161
1142
|
errors: [],
|
|
@@ -1167,17 +1148,16 @@ export interface DeleteRequestRequest {
|
|
|
1167
1148
|
accountId: string;
|
|
1168
1149
|
}
|
|
1169
1150
|
|
|
1170
|
-
export const DeleteRequestRequest = /*@__PURE__*/
|
|
1171
|
-
(
|
|
1172
|
-
Schema.
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
),
|
|
1151
|
+
export const DeleteRequestRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1152
|
+
Schema.Struct({
|
|
1153
|
+
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
1154
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1155
|
+
}).pipe(
|
|
1156
|
+
T.Http({
|
|
1157
|
+
method: "DELETE",
|
|
1158
|
+
path: "/accounts/{account_id}/cloudforce-one/requests/{requestId}",
|
|
1159
|
+
}),
|
|
1160
|
+
),
|
|
1181
1161
|
) as unknown as Schema.Codec<DeleteRequestRequest>;
|
|
1182
1162
|
|
|
1183
1163
|
export interface DeleteRequestResponse {
|
|
@@ -1197,13 +1177,12 @@ export interface DeleteRequestResponse {
|
|
|
1197
1177
|
success: true;
|
|
1198
1178
|
}
|
|
1199
1179
|
|
|
1200
|
-
export const DeleteRequestResponse = /*@__PURE__*/
|
|
1201
|
-
(
|
|
1202
|
-
Schema.
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
}),
|
|
1180
|
+
export const DeleteRequestResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1181
|
+
Schema.Struct({
|
|
1182
|
+
errors: Schema.Array(Error2),
|
|
1183
|
+
messages: Schema.Array(Error2),
|
|
1184
|
+
success: Schema.Literal(true),
|
|
1185
|
+
}),
|
|
1207
1186
|
) as unknown as Schema.Codec<DeleteRequestResponse>;
|
|
1208
1187
|
|
|
1209
1188
|
export type DeleteRequestError = DefaultErrors;
|
|
@@ -1213,7 +1192,7 @@ export const deleteRequest: API.OperationMethod<
|
|
|
1213
1192
|
DeleteRequestResponse,
|
|
1214
1193
|
DeleteRequestError,
|
|
1215
1194
|
Credentials | HttpClient.HttpClient
|
|
1216
|
-
> = /*@__PURE__*/
|
|
1195
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1217
1196
|
input: DeleteRequestRequest,
|
|
1218
1197
|
output: DeleteRequestResponse,
|
|
1219
1198
|
errors: [],
|
|
@@ -1225,7 +1204,7 @@ export interface ConstantsRequestRequest {
|
|
|
1225
1204
|
}
|
|
1226
1205
|
|
|
1227
1206
|
export const ConstantsRequestRequest =
|
|
1228
|
-
/*@__PURE__*/
|
|
1207
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1229
1208
|
Schema.Struct({
|
|
1230
1209
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1231
1210
|
}).pipe(
|
|
@@ -1255,7 +1234,7 @@ export interface ConstantsRequestResponse {
|
|
|
1255
1234
|
}
|
|
1256
1235
|
|
|
1257
1236
|
export const ConstantsRequestResponse =
|
|
1258
|
-
/*@__PURE__*/
|
|
1237
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1259
1238
|
Schema.Struct({
|
|
1260
1239
|
priority: Schema.optional(
|
|
1261
1240
|
Schema.Union([
|
|
@@ -1313,7 +1292,7 @@ export const constantsRequest: API.OperationMethod<
|
|
|
1313
1292
|
ConstantsRequestResponse,
|
|
1314
1293
|
ConstantsRequestError,
|
|
1315
1294
|
Credentials | HttpClient.HttpClient
|
|
1316
|
-
> = /*@__PURE__*/
|
|
1295
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1317
1296
|
input: ConstantsRequestRequest,
|
|
1318
1297
|
output: ConstantsRequestResponse,
|
|
1319
1298
|
errors: [],
|
|
@@ -1324,16 +1303,15 @@ export interface QuotaRequestRequest {
|
|
|
1324
1303
|
accountId: string;
|
|
1325
1304
|
}
|
|
1326
1305
|
|
|
1327
|
-
export const QuotaRequestRequest = /*@__PURE__*/
|
|
1328
|
-
(
|
|
1329
|
-
Schema.
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
),
|
|
1306
|
+
export const QuotaRequestRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1307
|
+
Schema.Struct({
|
|
1308
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1309
|
+
}).pipe(
|
|
1310
|
+
T.Http({
|
|
1311
|
+
method: "GET",
|
|
1312
|
+
path: "/accounts/{account_id}/cloudforce-one/requests/quota",
|
|
1313
|
+
}),
|
|
1314
|
+
),
|
|
1337
1315
|
) as unknown as Schema.Codec<QuotaRequestRequest>;
|
|
1338
1316
|
|
|
1339
1317
|
export interface QuotaRequestResponse {
|
|
@@ -1347,27 +1325,26 @@ export interface QuotaRequestResponse {
|
|
|
1347
1325
|
remaining?: number | null;
|
|
1348
1326
|
}
|
|
1349
1327
|
|
|
1350
|
-
export const QuotaRequestResponse = /*@__PURE__*/
|
|
1351
|
-
(
|
|
1352
|
-
Schema.
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
.
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
.pipe(T.ResponsePath("result")),
|
|
1328
|
+
export const QuotaRequestResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1329
|
+
Schema.Struct({
|
|
1330
|
+
anniversaryDate: Schema.optional(
|
|
1331
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1332
|
+
),
|
|
1333
|
+
quarterAnniversaryDate: Schema.optional(
|
|
1334
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1335
|
+
),
|
|
1336
|
+
quota: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1337
|
+
remaining: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1338
|
+
})
|
|
1339
|
+
.pipe(
|
|
1340
|
+
Schema.encodeKeys({
|
|
1341
|
+
anniversaryDate: "anniversary_date",
|
|
1342
|
+
quarterAnniversaryDate: "quarter_anniversary_date",
|
|
1343
|
+
quota: "quota",
|
|
1344
|
+
remaining: "remaining",
|
|
1345
|
+
}),
|
|
1346
|
+
)
|
|
1347
|
+
.pipe(T.ResponsePath("result")),
|
|
1371
1348
|
) as unknown as Schema.Codec<QuotaRequestResponse>;
|
|
1372
1349
|
|
|
1373
1350
|
export type QuotaRequestError = DefaultErrors;
|
|
@@ -1377,7 +1354,7 @@ export const quotaRequest: API.OperationMethod<
|
|
|
1377
1354
|
QuotaRequestResponse,
|
|
1378
1355
|
QuotaRequestError,
|
|
1379
1356
|
Credentials | HttpClient.HttpClient
|
|
1380
|
-
> = /*@__PURE__*/
|
|
1357
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1381
1358
|
input: QuotaRequestRequest,
|
|
1382
1359
|
output: QuotaRequestResponse,
|
|
1383
1360
|
errors: [],
|
|
@@ -1388,27 +1365,25 @@ export interface TypesRequestRequest {
|
|
|
1388
1365
|
accountId: string;
|
|
1389
1366
|
}
|
|
1390
1367
|
|
|
1391
|
-
export const TypesRequestRequest = /*@__PURE__*/
|
|
1392
|
-
(
|
|
1393
|
-
Schema.
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
),
|
|
1368
|
+
export const TypesRequestRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1369
|
+
Schema.Struct({
|
|
1370
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1371
|
+
}).pipe(
|
|
1372
|
+
T.Http({
|
|
1373
|
+
method: "GET",
|
|
1374
|
+
path: "/accounts/{account_id}/cloudforce-one/requests/types",
|
|
1375
|
+
}),
|
|
1376
|
+
),
|
|
1401
1377
|
) as unknown as Schema.Codec<TypesRequestRequest>;
|
|
1402
1378
|
|
|
1403
1379
|
export interface TypesRequestResponse {
|
|
1404
1380
|
result: string[];
|
|
1405
1381
|
}
|
|
1406
1382
|
|
|
1407
|
-
export const TypesRequestResponse = /*@__PURE__*/
|
|
1408
|
-
(
|
|
1409
|
-
Schema.
|
|
1410
|
-
|
|
1411
|
-
}),
|
|
1383
|
+
export const TypesRequestResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1384
|
+
Schema.Struct({
|
|
1385
|
+
result: Schema.Array(Schema.String),
|
|
1386
|
+
}),
|
|
1412
1387
|
) as unknown as Schema.Codec<TypesRequestResponse>;
|
|
1413
1388
|
|
|
1414
1389
|
export type TypesRequestError = DefaultErrors;
|
|
@@ -1418,7 +1393,7 @@ export const typesRequest: API.PaginatedOperationMethod<
|
|
|
1418
1393
|
TypesRequestResponse,
|
|
1419
1394
|
TypesRequestError,
|
|
1420
1395
|
Credentials | HttpClient.HttpClient
|
|
1421
|
-
> = /*@__PURE__*/
|
|
1396
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1422
1397
|
input: TypesRequestRequest,
|
|
1423
1398
|
output: TypesRequestResponse,
|
|
1424
1399
|
errors: [],
|
|
@@ -1440,7 +1415,7 @@ export interface GetRequestAssetRequest {
|
|
|
1440
1415
|
}
|
|
1441
1416
|
|
|
1442
1417
|
export const GetRequestAssetRequest =
|
|
1443
|
-
/*@__PURE__*/
|
|
1418
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1444
1419
|
Schema.Struct({
|
|
1445
1420
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
1446
1421
|
assetId: Schema.String.pipe(T.HttpPath("assetId")),
|
|
@@ -1464,7 +1439,7 @@ export interface GetRequestAssetResponse {
|
|
|
1464
1439
|
}
|
|
1465
1440
|
|
|
1466
1441
|
export const GetRequestAssetResponse =
|
|
1467
|
-
/*@__PURE__*/
|
|
1442
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1468
1443
|
Schema.Struct({
|
|
1469
1444
|
result: Schema.Array(GetRequestAssetResponseResult),
|
|
1470
1445
|
}),
|
|
@@ -1477,7 +1452,7 @@ export const getRequestAsset: API.PaginatedOperationMethod<
|
|
|
1477
1452
|
GetRequestAssetResponse,
|
|
1478
1453
|
GetRequestAssetError,
|
|
1479
1454
|
Credentials | HttpClient.HttpClient
|
|
1480
|
-
> = /*@__PURE__*/
|
|
1455
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1481
1456
|
input: GetRequestAssetRequest,
|
|
1482
1457
|
output: GetRequestAssetResponse,
|
|
1483
1458
|
errors: [],
|
|
@@ -1498,7 +1473,7 @@ export interface CreateRequestAssetRequest {
|
|
|
1498
1473
|
}
|
|
1499
1474
|
|
|
1500
1475
|
export const CreateRequestAssetRequest =
|
|
1501
|
-
/*@__PURE__*/
|
|
1476
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1502
1477
|
Schema.Struct({
|
|
1503
1478
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
1504
1479
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1524,7 +1499,7 @@ export interface CreateRequestAssetResponse {
|
|
|
1524
1499
|
}
|
|
1525
1500
|
|
|
1526
1501
|
export const CreateRequestAssetResponse =
|
|
1527
|
-
/*@__PURE__*/
|
|
1502
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1528
1503
|
Schema.Struct({
|
|
1529
1504
|
result: Schema.Array(GetRequestAssetResponseResult),
|
|
1530
1505
|
}),
|
|
@@ -1537,7 +1512,7 @@ export const createRequestAsset: API.PaginatedOperationMethod<
|
|
|
1537
1512
|
CreateRequestAssetResponse,
|
|
1538
1513
|
CreateRequestAssetError,
|
|
1539
1514
|
Credentials | HttpClient.HttpClient
|
|
1540
|
-
> = /*@__PURE__*/
|
|
1515
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1541
1516
|
input: CreateRequestAssetRequest,
|
|
1542
1517
|
output: CreateRequestAssetResponse,
|
|
1543
1518
|
errors: [],
|
|
@@ -1557,7 +1532,7 @@ export interface UpdateRequestAssetRequest {
|
|
|
1557
1532
|
}
|
|
1558
1533
|
|
|
1559
1534
|
export const UpdateRequestAssetRequest =
|
|
1560
|
-
/*@__PURE__*/
|
|
1535
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1561
1536
|
Schema.Struct({
|
|
1562
1537
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
1563
1538
|
assetId: Schema.String.pipe(T.HttpPath("assetId")),
|
|
@@ -1585,7 +1560,7 @@ export interface UpdateRequestAssetResponse {
|
|
|
1585
1560
|
}
|
|
1586
1561
|
|
|
1587
1562
|
export const UpdateRequestAssetResponse =
|
|
1588
|
-
/*@__PURE__*/
|
|
1563
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1589
1564
|
Schema.Struct({
|
|
1590
1565
|
id: Schema.Number,
|
|
1591
1566
|
name: Schema.String,
|
|
@@ -1612,7 +1587,7 @@ export const updateRequestAsset: API.OperationMethod<
|
|
|
1612
1587
|
UpdateRequestAssetResponse,
|
|
1613
1588
|
UpdateRequestAssetError,
|
|
1614
1589
|
Credentials | HttpClient.HttpClient
|
|
1615
|
-
> = /*@__PURE__*/
|
|
1590
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1616
1591
|
input: UpdateRequestAssetRequest,
|
|
1617
1592
|
output: UpdateRequestAssetResponse,
|
|
1618
1593
|
errors: [],
|
|
@@ -1626,7 +1601,7 @@ export interface DeleteRequestAssetRequest {
|
|
|
1626
1601
|
}
|
|
1627
1602
|
|
|
1628
1603
|
export const DeleteRequestAssetRequest =
|
|
1629
|
-
/*@__PURE__*/
|
|
1604
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1630
1605
|
Schema.Struct({
|
|
1631
1606
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
1632
1607
|
assetId: Schema.String.pipe(T.HttpPath("assetId")),
|
|
@@ -1657,7 +1632,7 @@ export interface DeleteRequestAssetResponse {
|
|
|
1657
1632
|
}
|
|
1658
1633
|
|
|
1659
1634
|
export const DeleteRequestAssetResponse =
|
|
1660
|
-
/*@__PURE__*/
|
|
1635
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1661
1636
|
Schema.Struct({
|
|
1662
1637
|
errors: Schema.Array(Error2),
|
|
1663
1638
|
messages: Schema.Array(Error2),
|
|
@@ -1672,7 +1647,7 @@ export const deleteRequestAsset: API.OperationMethod<
|
|
|
1672
1647
|
DeleteRequestAssetResponse,
|
|
1673
1648
|
DeleteRequestAssetError,
|
|
1674
1649
|
Credentials | HttpClient.HttpClient
|
|
1675
|
-
> = /*@__PURE__*/
|
|
1650
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1676
1651
|
input: DeleteRequestAssetRequest,
|
|
1677
1652
|
output: DeleteRequestAssetResponse,
|
|
1678
1653
|
errors: [],
|
|
@@ -1701,7 +1676,7 @@ export interface GetRequestMessageRequest {
|
|
|
1701
1676
|
}
|
|
1702
1677
|
|
|
1703
1678
|
export const GetRequestMessageRequest =
|
|
1704
|
-
/*@__PURE__*/
|
|
1679
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1705
1680
|
Schema.Struct({
|
|
1706
1681
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
1707
1682
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1739,7 +1714,7 @@ export interface GetRequestMessageResponse {
|
|
|
1739
1714
|
}
|
|
1740
1715
|
|
|
1741
1716
|
export const GetRequestMessageResponse =
|
|
1742
|
-
/*@__PURE__*/
|
|
1717
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1743
1718
|
Schema.Struct({
|
|
1744
1719
|
result: Schema.Array(Error2),
|
|
1745
1720
|
}),
|
|
@@ -1752,7 +1727,7 @@ export const getRequestMessage: API.PaginatedOperationMethod<
|
|
|
1752
1727
|
GetRequestMessageResponse,
|
|
1753
1728
|
GetRequestMessageError,
|
|
1754
1729
|
Credentials | HttpClient.HttpClient
|
|
1755
|
-
> = /*@__PURE__*/
|
|
1730
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1756
1731
|
input: GetRequestMessageRequest,
|
|
1757
1732
|
output: GetRequestMessageResponse,
|
|
1758
1733
|
errors: [],
|
|
@@ -1771,7 +1746,7 @@ export interface CreateRequestMessageRequest {
|
|
|
1771
1746
|
}
|
|
1772
1747
|
|
|
1773
1748
|
export const CreateRequestMessageRequest =
|
|
1774
|
-
/*@__PURE__*/
|
|
1749
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1775
1750
|
Schema.Struct({
|
|
1776
1751
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
1777
1752
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1792,7 +1767,7 @@ export interface CreateRequestMessageResponse {
|
|
|
1792
1767
|
}
|
|
1793
1768
|
|
|
1794
1769
|
export const CreateRequestMessageResponse =
|
|
1795
|
-
/*@__PURE__*/
|
|
1770
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1796
1771
|
Schema.Struct({
|
|
1797
1772
|
code: Schema.Number,
|
|
1798
1773
|
message: Schema.String,
|
|
@@ -1819,7 +1794,7 @@ export const createRequestMessage: API.OperationMethod<
|
|
|
1819
1794
|
CreateRequestMessageResponse,
|
|
1820
1795
|
CreateRequestMessageError,
|
|
1821
1796
|
Credentials | HttpClient.HttpClient
|
|
1822
|
-
> = /*@__PURE__*/
|
|
1797
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1823
1798
|
input: CreateRequestMessageRequest,
|
|
1824
1799
|
output: CreateRequestMessageResponse,
|
|
1825
1800
|
errors: [],
|
|
@@ -1835,7 +1810,7 @@ export interface UpdateRequestMessageRequest {
|
|
|
1835
1810
|
}
|
|
1836
1811
|
|
|
1837
1812
|
export const UpdateRequestMessageRequest =
|
|
1838
|
-
/*@__PURE__*/
|
|
1813
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1839
1814
|
Schema.Struct({
|
|
1840
1815
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
1841
1816
|
messageId: Schema.Number.pipe(T.HttpPath("messageId")),
|
|
@@ -1857,7 +1832,7 @@ export interface UpdateRequestMessageResponse {
|
|
|
1857
1832
|
}
|
|
1858
1833
|
|
|
1859
1834
|
export const UpdateRequestMessageResponse =
|
|
1860
|
-
/*@__PURE__*/
|
|
1835
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1861
1836
|
Schema.Struct({
|
|
1862
1837
|
code: Schema.Number,
|
|
1863
1838
|
message: Schema.String,
|
|
@@ -1884,7 +1859,7 @@ export const updateRequestMessage: API.OperationMethod<
|
|
|
1884
1859
|
UpdateRequestMessageResponse,
|
|
1885
1860
|
UpdateRequestMessageError,
|
|
1886
1861
|
Credentials | HttpClient.HttpClient
|
|
1887
|
-
> = /*@__PURE__*/
|
|
1862
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1888
1863
|
input: UpdateRequestMessageRequest,
|
|
1889
1864
|
output: UpdateRequestMessageResponse,
|
|
1890
1865
|
errors: [],
|
|
@@ -1898,7 +1873,7 @@ export interface DeleteRequestMessageRequest {
|
|
|
1898
1873
|
}
|
|
1899
1874
|
|
|
1900
1875
|
export const DeleteRequestMessageRequest =
|
|
1901
|
-
/*@__PURE__*/
|
|
1876
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1902
1877
|
Schema.Struct({
|
|
1903
1878
|
requestId: Schema.String.pipe(T.HttpPath("requestId")),
|
|
1904
1879
|
messageId: Schema.Number.pipe(T.HttpPath("messageId")),
|
|
@@ -1929,7 +1904,7 @@ export interface DeleteRequestMessageResponse {
|
|
|
1929
1904
|
}
|
|
1930
1905
|
|
|
1931
1906
|
export const DeleteRequestMessageResponse =
|
|
1932
|
-
/*@__PURE__*/
|
|
1907
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1933
1908
|
Schema.Struct({
|
|
1934
1909
|
errors: Schema.Array(Error2),
|
|
1935
1910
|
messages: Schema.Array(Error2),
|
|
@@ -1944,7 +1919,7 @@ export const deleteRequestMessage: API.OperationMethod<
|
|
|
1944
1919
|
DeleteRequestMessageResponse,
|
|
1945
1920
|
DeleteRequestMessageError,
|
|
1946
1921
|
Credentials | HttpClient.HttpClient
|
|
1947
|
-
> = /*@__PURE__*/
|
|
1922
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1948
1923
|
input: DeleteRequestMessageRequest,
|
|
1949
1924
|
output: DeleteRequestMessageResponse,
|
|
1950
1925
|
errors: [],
|
|
@@ -1961,7 +1936,7 @@ export interface GetRequestPriorityRequest {
|
|
|
1961
1936
|
}
|
|
1962
1937
|
|
|
1963
1938
|
export const GetRequestPriorityRequest =
|
|
1964
|
-
/*@__PURE__*/
|
|
1939
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1965
1940
|
Schema.Struct({
|
|
1966
1941
|
priorityId: Schema.String.pipe(T.HttpPath("priorityId")),
|
|
1967
1942
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2007,7 +1982,7 @@ export interface GetRequestPriorityResponse {
|
|
|
2007
1982
|
}
|
|
2008
1983
|
|
|
2009
1984
|
export const GetRequestPriorityResponse =
|
|
2010
|
-
/*@__PURE__*/
|
|
1985
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2011
1986
|
Schema.Struct({
|
|
2012
1987
|
id: Schema.String,
|
|
2013
1988
|
content: Schema.String,
|
|
@@ -2070,7 +2045,7 @@ export const getRequestPriority: API.OperationMethod<
|
|
|
2070
2045
|
GetRequestPriorityResponse,
|
|
2071
2046
|
GetRequestPriorityError,
|
|
2072
2047
|
Credentials | HttpClient.HttpClient
|
|
2073
|
-
> = /*@__PURE__*/
|
|
2048
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2074
2049
|
input: GetRequestPriorityRequest,
|
|
2075
2050
|
output: GetRequestPriorityResponse,
|
|
2076
2051
|
errors: [],
|
|
@@ -2090,7 +2065,7 @@ export interface CreateRequestPriorityRequest {
|
|
|
2090
2065
|
}
|
|
2091
2066
|
|
|
2092
2067
|
export const CreateRequestPriorityRequest =
|
|
2093
|
-
/*@__PURE__*/
|
|
2068
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2094
2069
|
Schema.Struct({
|
|
2095
2070
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2096
2071
|
labels: Schema.Array(Schema.String),
|
|
@@ -2126,7 +2101,7 @@ export interface CreateRequestPriorityResponse {
|
|
|
2126
2101
|
}
|
|
2127
2102
|
|
|
2128
2103
|
export const CreateRequestPriorityResponse =
|
|
2129
|
-
/*@__PURE__*/
|
|
2104
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2130
2105
|
Schema.Struct({
|
|
2131
2106
|
id: Schema.String,
|
|
2132
2107
|
created: Schema.String,
|
|
@@ -2148,7 +2123,7 @@ export const createRequestPriority: API.OperationMethod<
|
|
|
2148
2123
|
CreateRequestPriorityResponse,
|
|
2149
2124
|
CreateRequestPriorityError,
|
|
2150
2125
|
Credentials | HttpClient.HttpClient
|
|
2151
|
-
> = /*@__PURE__*/
|
|
2126
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2152
2127
|
input: CreateRequestPriorityRequest,
|
|
2153
2128
|
output: CreateRequestPriorityResponse,
|
|
2154
2129
|
errors: [],
|
|
@@ -2169,7 +2144,7 @@ export interface UpdateRequestPriorityRequest {
|
|
|
2169
2144
|
}
|
|
2170
2145
|
|
|
2171
2146
|
export const UpdateRequestPriorityRequest =
|
|
2172
|
-
/*@__PURE__*/
|
|
2147
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2173
2148
|
Schema.Struct({
|
|
2174
2149
|
priorityId: Schema.String.pipe(T.HttpPath("priorityId")),
|
|
2175
2150
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2222,7 +2197,7 @@ export interface UpdateRequestPriorityResponse {
|
|
|
2222
2197
|
}
|
|
2223
2198
|
|
|
2224
2199
|
export const UpdateRequestPriorityResponse =
|
|
2225
|
-
/*@__PURE__*/
|
|
2200
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2226
2201
|
Schema.Struct({
|
|
2227
2202
|
id: Schema.String,
|
|
2228
2203
|
content: Schema.String,
|
|
@@ -2285,7 +2260,7 @@ export const updateRequestPriority: API.OperationMethod<
|
|
|
2285
2260
|
UpdateRequestPriorityResponse,
|
|
2286
2261
|
UpdateRequestPriorityError,
|
|
2287
2262
|
Credentials | HttpClient.HttpClient
|
|
2288
|
-
> = /*@__PURE__*/
|
|
2263
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2289
2264
|
input: UpdateRequestPriorityRequest,
|
|
2290
2265
|
output: UpdateRequestPriorityResponse,
|
|
2291
2266
|
errors: [],
|
|
@@ -2298,7 +2273,7 @@ export interface DeleteRequestPriorityRequest {
|
|
|
2298
2273
|
}
|
|
2299
2274
|
|
|
2300
2275
|
export const DeleteRequestPriorityRequest =
|
|
2301
|
-
/*@__PURE__*/
|
|
2276
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2302
2277
|
Schema.Struct({
|
|
2303
2278
|
priorityId: Schema.String.pipe(T.HttpPath("priorityId")),
|
|
2304
2279
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2328,7 +2303,7 @@ export interface DeleteRequestPriorityResponse {
|
|
|
2328
2303
|
}
|
|
2329
2304
|
|
|
2330
2305
|
export const DeleteRequestPriorityResponse =
|
|
2331
|
-
/*@__PURE__*/
|
|
2306
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2332
2307
|
Schema.Struct({
|
|
2333
2308
|
errors: Schema.Array(Error2),
|
|
2334
2309
|
messages: Schema.Array(Error2),
|
|
@@ -2343,7 +2318,7 @@ export const deleteRequestPriority: API.OperationMethod<
|
|
|
2343
2318
|
DeleteRequestPriorityResponse,
|
|
2344
2319
|
DeleteRequestPriorityError,
|
|
2345
2320
|
Credentials | HttpClient.HttpClient
|
|
2346
|
-
> = /*@__PURE__*/
|
|
2321
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2347
2322
|
input: DeleteRequestPriorityRequest,
|
|
2348
2323
|
output: DeleteRequestPriorityResponse,
|
|
2349
2324
|
errors: [],
|
|
@@ -2355,7 +2330,7 @@ export interface QuotaRequestPriorityRequest {
|
|
|
2355
2330
|
}
|
|
2356
2331
|
|
|
2357
2332
|
export const QuotaRequestPriorityRequest =
|
|
2358
|
-
/*@__PURE__*/
|
|
2333
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2359
2334
|
Schema.Struct({
|
|
2360
2335
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2361
2336
|
}).pipe(
|
|
@@ -2378,7 +2353,7 @@ export interface QuotaRequestPriorityResponse {
|
|
|
2378
2353
|
}
|
|
2379
2354
|
|
|
2380
2355
|
export const QuotaRequestPriorityResponse =
|
|
2381
|
-
/*@__PURE__*/
|
|
2356
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2382
2357
|
Schema.Struct({
|
|
2383
2358
|
anniversaryDate: Schema.optional(
|
|
2384
2359
|
Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -2407,7 +2382,7 @@ export const quotaRequestPriority: API.OperationMethod<
|
|
|
2407
2382
|
QuotaRequestPriorityResponse,
|
|
2408
2383
|
QuotaRequestPriorityError,
|
|
2409
2384
|
Credentials | HttpClient.HttpClient
|
|
2410
|
-
> = /*@__PURE__*/
|
|
2385
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2411
2386
|
input: QuotaRequestPriorityRequest,
|
|
2412
2387
|
output: QuotaRequestPriorityResponse,
|
|
2413
2388
|
errors: [],
|
|
@@ -2423,7 +2398,7 @@ export interface ListScanConfigsRequest {
|
|
|
2423
2398
|
}
|
|
2424
2399
|
|
|
2425
2400
|
export const ListScanConfigsRequest =
|
|
2426
|
-
/*@__PURE__*/
|
|
2401
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2427
2402
|
Schema.Struct({
|
|
2428
2403
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2429
2404
|
}).pipe(
|
|
@@ -2445,7 +2420,7 @@ export interface ListScanConfigsResponse {
|
|
|
2445
2420
|
}
|
|
2446
2421
|
|
|
2447
2422
|
export const ListScanConfigsResponse =
|
|
2448
|
-
/*@__PURE__*/
|
|
2423
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2449
2424
|
Schema.Struct({
|
|
2450
2425
|
result: Schema.Array(ListScanConfigsResponseResult),
|
|
2451
2426
|
}),
|
|
@@ -2458,7 +2433,7 @@ export const listScanConfigs: API.PaginatedOperationMethod<
|
|
|
2458
2433
|
ListScanConfigsResponse,
|
|
2459
2434
|
ListScanConfigsError,
|
|
2460
2435
|
Credentials | HttpClient.HttpClient
|
|
2461
|
-
> = /*@__PURE__*/
|
|
2436
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2462
2437
|
input: ListScanConfigsRequest,
|
|
2463
2438
|
output: ListScanConfigsResponse,
|
|
2464
2439
|
errors: [],
|
|
@@ -2480,7 +2455,7 @@ export interface CreateScanConfigRequest {
|
|
|
2480
2455
|
}
|
|
2481
2456
|
|
|
2482
2457
|
export const CreateScanConfigRequest =
|
|
2483
|
-
/*@__PURE__*/
|
|
2458
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2484
2459
|
Schema.Struct({
|
|
2485
2460
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2486
2461
|
ips: Schema.Array(Schema.String),
|
|
@@ -2507,7 +2482,7 @@ export interface CreateScanConfigResponse {
|
|
|
2507
2482
|
}
|
|
2508
2483
|
|
|
2509
2484
|
export const CreateScanConfigResponse =
|
|
2510
|
-
/*@__PURE__*/
|
|
2485
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2511
2486
|
Schema.Struct({
|
|
2512
2487
|
id: Schema.String,
|
|
2513
2488
|
accountId: Schema.String,
|
|
@@ -2534,7 +2509,7 @@ export const createScanConfig: API.OperationMethod<
|
|
|
2534
2509
|
CreateScanConfigResponse,
|
|
2535
2510
|
CreateScanConfigError,
|
|
2536
2511
|
Credentials | HttpClient.HttpClient
|
|
2537
|
-
> = /*@__PURE__*/
|
|
2512
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2538
2513
|
input: CreateScanConfigRequest,
|
|
2539
2514
|
output: CreateScanConfigResponse,
|
|
2540
2515
|
errors: [],
|
|
@@ -2553,7 +2528,7 @@ export interface PatchScanConfigRequest {
|
|
|
2553
2528
|
}
|
|
2554
2529
|
|
|
2555
2530
|
export const PatchScanConfigRequest =
|
|
2556
|
-
/*@__PURE__*/
|
|
2531
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2557
2532
|
Schema.Struct({
|
|
2558
2533
|
configId: Schema.String.pipe(T.HttpPath("configId")),
|
|
2559
2534
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2581,7 +2556,7 @@ export interface PatchScanConfigResponse {
|
|
|
2581
2556
|
}
|
|
2582
2557
|
|
|
2583
2558
|
export const PatchScanConfigResponse =
|
|
2584
|
-
/*@__PURE__*/
|
|
2559
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2585
2560
|
Schema.Struct({
|
|
2586
2561
|
id: Schema.String,
|
|
2587
2562
|
accountId: Schema.String,
|
|
@@ -2608,7 +2583,7 @@ export const patchScanConfig: API.OperationMethod<
|
|
|
2608
2583
|
PatchScanConfigResponse,
|
|
2609
2584
|
PatchScanConfigError,
|
|
2610
2585
|
Credentials | HttpClient.HttpClient
|
|
2611
|
-
> = /*@__PURE__*/
|
|
2586
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2612
2587
|
input: PatchScanConfigRequest,
|
|
2613
2588
|
output: PatchScanConfigResponse,
|
|
2614
2589
|
errors: [ScanConfigNotFound],
|
|
@@ -2621,7 +2596,7 @@ export interface DeleteScanConfigRequest {
|
|
|
2621
2596
|
}
|
|
2622
2597
|
|
|
2623
2598
|
export const DeleteScanConfigRequest =
|
|
2624
|
-
/*@__PURE__*/
|
|
2599
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2625
2600
|
Schema.Struct({
|
|
2626
2601
|
configId: Schema.String.pipe(T.HttpPath("configId")),
|
|
2627
2602
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2636,7 +2611,7 @@ export const DeleteScanConfigRequest =
|
|
|
2636
2611
|
export type DeleteScanConfigResponse = unknown;
|
|
2637
2612
|
|
|
2638
2613
|
export const DeleteScanConfigResponse =
|
|
2639
|
-
/*@__PURE__*/
|
|
2614
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2640
2615
|
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
2641
2616
|
) as unknown as Schema.Codec<DeleteScanConfigResponse>;
|
|
2642
2617
|
|
|
@@ -2647,7 +2622,7 @@ export const deleteScanConfig: API.OperationMethod<
|
|
|
2647
2622
|
DeleteScanConfigResponse,
|
|
2648
2623
|
DeleteScanConfigError,
|
|
2649
2624
|
Credentials | HttpClient.HttpClient
|
|
2650
|
-
> = /*@__PURE__*/
|
|
2625
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2651
2626
|
input: DeleteScanConfigRequest,
|
|
2652
2627
|
output: DeleteScanConfigResponse,
|
|
2653
2628
|
errors: [ScanConfigNotFound],
|
|
@@ -2663,17 +2638,16 @@ export interface GetScanResultRequest {
|
|
|
2663
2638
|
accountId: string;
|
|
2664
2639
|
}
|
|
2665
2640
|
|
|
2666
|
-
export const GetScanResultRequest = /*@__PURE__*/
|
|
2667
|
-
(
|
|
2668
|
-
Schema.
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
),
|
|
2641
|
+
export const GetScanResultRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2642
|
+
Schema.Struct({
|
|
2643
|
+
configId: Schema.String.pipe(T.HttpPath("configId")),
|
|
2644
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2645
|
+
}).pipe(
|
|
2646
|
+
T.Http({
|
|
2647
|
+
method: "GET",
|
|
2648
|
+
path: "/accounts/{account_id}/cloudforce-one/scans/results/{configId}",
|
|
2649
|
+
}),
|
|
2650
|
+
),
|
|
2677
2651
|
) as unknown as Schema.Codec<GetScanResultRequest>;
|
|
2678
2652
|
|
|
2679
2653
|
export interface GetScanResultResponse {
|
|
@@ -2684,11 +2658,10 @@ export interface GetScanResultResponse {
|
|
|
2684
2658
|
}[];
|
|
2685
2659
|
}
|
|
2686
2660
|
|
|
2687
|
-
export const GetScanResultResponse = /*@__PURE__*/
|
|
2688
|
-
(
|
|
2689
|
-
Schema.
|
|
2690
|
-
|
|
2691
|
-
}).pipe(T.ResponsePath("result")),
|
|
2661
|
+
export const GetScanResultResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2662
|
+
Schema.Struct({
|
|
2663
|
+
"1.1.1.1": Schema.Array(ScanResult),
|
|
2664
|
+
}).pipe(T.ResponsePath("result")),
|
|
2692
2665
|
) as unknown as Schema.Codec<GetScanResultResponse>;
|
|
2693
2666
|
|
|
2694
2667
|
export type GetScanResultError = DefaultErrors;
|
|
@@ -2698,7 +2671,7 @@ export const getScanResult: API.OperationMethod<
|
|
|
2698
2671
|
GetScanResultResponse,
|
|
2699
2672
|
GetScanResultError,
|
|
2700
2673
|
Credentials | HttpClient.HttpClient
|
|
2701
|
-
> = /*@__PURE__*/
|
|
2674
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2702
2675
|
input: GetScanResultRequest,
|
|
2703
2676
|
output: GetScanResultResponse,
|
|
2704
2677
|
errors: [],
|
|
@@ -2714,17 +2687,16 @@ export interface GetThreatEventRequest {
|
|
|
2714
2687
|
accountId: string;
|
|
2715
2688
|
}
|
|
2716
2689
|
|
|
2717
|
-
export const GetThreatEventRequest = /*@__PURE__*/
|
|
2718
|
-
(
|
|
2719
|
-
Schema.
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
),
|
|
2690
|
+
export const GetThreatEventRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2691
|
+
Schema.Struct({
|
|
2692
|
+
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
2693
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2694
|
+
}).pipe(
|
|
2695
|
+
T.Http({
|
|
2696
|
+
method: "GET",
|
|
2697
|
+
path: "/accounts/{account_id}/cloudforce-one/events/{eventId}",
|
|
2698
|
+
}),
|
|
2699
|
+
),
|
|
2728
2700
|
) as unknown as Schema.Codec<GetThreatEventRequest>;
|
|
2729
2701
|
|
|
2730
2702
|
export interface GetThreatEventResponse {
|
|
@@ -2760,7 +2732,7 @@ export interface GetThreatEventResponse {
|
|
|
2760
2732
|
}
|
|
2761
2733
|
|
|
2762
2734
|
export const GetThreatEventResponse =
|
|
2763
|
-
/*@__PURE__*/
|
|
2735
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2764
2736
|
Schema.Struct({
|
|
2765
2737
|
attacker: Schema.String,
|
|
2766
2738
|
attackerCountry: Schema.String,
|
|
@@ -2803,7 +2775,7 @@ export const getThreatEvent: API.OperationMethod<
|
|
|
2803
2775
|
GetThreatEventResponse,
|
|
2804
2776
|
GetThreatEventError,
|
|
2805
2777
|
Credentials | HttpClient.HttpClient
|
|
2806
|
-
> = /*@__PURE__*/
|
|
2778
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2807
2779
|
input: GetThreatEventRequest,
|
|
2808
2780
|
output: GetThreatEventResponse,
|
|
2809
2781
|
errors: [],
|
|
@@ -2850,7 +2822,7 @@ export interface ListThreatEventsRequest {
|
|
|
2850
2822
|
}
|
|
2851
2823
|
|
|
2852
2824
|
export const ListThreatEventsRequest =
|
|
2853
|
-
/*@__PURE__*/
|
|
2825
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2854
2826
|
Schema.Struct({
|
|
2855
2827
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2856
2828
|
cursor: Schema.optional(Schema.String).pipe(T.HttpQuery("cursor")),
|
|
@@ -2946,7 +2918,7 @@ export type ListThreatEventsResponse = {
|
|
|
2946
2918
|
}[];
|
|
2947
2919
|
|
|
2948
2920
|
export const ListThreatEventsResponse =
|
|
2949
|
-
/*@__PURE__*/
|
|
2921
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2950
2922
|
Schema.Array(ThreatEventListResponseItem),
|
|
2951
2923
|
) as unknown as Schema.Codec<ListThreatEventsResponse>;
|
|
2952
2924
|
|
|
@@ -2957,7 +2929,7 @@ export const listThreatEvents: API.OperationMethod<
|
|
|
2957
2929
|
ListThreatEventsResponse,
|
|
2958
2930
|
ListThreatEventsError,
|
|
2959
2931
|
Credentials | HttpClient.HttpClient
|
|
2960
|
-
> = /*@__PURE__*/
|
|
2932
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2961
2933
|
input: ListThreatEventsRequest,
|
|
2962
2934
|
output: ListThreatEventsResponse,
|
|
2963
2935
|
errors: [],
|
|
@@ -2998,7 +2970,7 @@ export interface CreateThreatEventRequest {
|
|
|
2998
2970
|
}
|
|
2999
2971
|
|
|
3000
2972
|
export const CreateThreatEventRequest =
|
|
3001
|
-
/*@__PURE__*/
|
|
2973
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3002
2974
|
Schema.Struct({
|
|
3003
2975
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3004
2976
|
category: Schema.String,
|
|
@@ -3057,7 +3029,7 @@ export interface CreateThreatEventResponse {
|
|
|
3057
3029
|
}
|
|
3058
3030
|
|
|
3059
3031
|
export const CreateThreatEventResponse =
|
|
3060
|
-
/*@__PURE__*/
|
|
3032
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3061
3033
|
Schema.Struct({
|
|
3062
3034
|
attacker: Schema.String,
|
|
3063
3035
|
attackerCountry: Schema.String,
|
|
@@ -3100,7 +3072,7 @@ export const createThreatEvent: API.OperationMethod<
|
|
|
3100
3072
|
CreateThreatEventResponse,
|
|
3101
3073
|
CreateThreatEventError,
|
|
3102
3074
|
Credentials | HttpClient.HttpClient
|
|
3103
|
-
> = /*@__PURE__*/
|
|
3075
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3104
3076
|
input: CreateThreatEventRequest,
|
|
3105
3077
|
output: CreateThreatEventResponse,
|
|
3106
3078
|
errors: [],
|
|
@@ -3145,7 +3117,7 @@ export interface PatchThreatEventRequest {
|
|
|
3145
3117
|
}
|
|
3146
3118
|
|
|
3147
3119
|
export const PatchThreatEventRequest =
|
|
3148
|
-
/*@__PURE__*/
|
|
3120
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3149
3121
|
Schema.Struct({
|
|
3150
3122
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
3151
3123
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3204,7 +3176,7 @@ export interface PatchThreatEventResponse {
|
|
|
3204
3176
|
}
|
|
3205
3177
|
|
|
3206
3178
|
export const PatchThreatEventResponse =
|
|
3207
|
-
/*@__PURE__*/
|
|
3179
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3208
3180
|
Schema.Struct({
|
|
3209
3181
|
attacker: Schema.String,
|
|
3210
3182
|
attackerCountry: Schema.String,
|
|
@@ -3247,7 +3219,7 @@ export const patchThreatEvent: API.OperationMethod<
|
|
|
3247
3219
|
PatchThreatEventResponse,
|
|
3248
3220
|
PatchThreatEventError,
|
|
3249
3221
|
Credentials | HttpClient.HttpClient
|
|
3250
|
-
> = /*@__PURE__*/
|
|
3222
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3251
3223
|
input: PatchThreatEventRequest,
|
|
3252
3224
|
output: PatchThreatEventResponse,
|
|
3253
3225
|
errors: [],
|
|
@@ -3286,7 +3258,7 @@ export interface BulkCreateThreatEventsRequest {
|
|
|
3286
3258
|
}
|
|
3287
3259
|
|
|
3288
3260
|
export const BulkCreateThreatEventsRequest =
|
|
3289
|
-
/*@__PURE__*/
|
|
3261
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3290
3262
|
Schema.Struct({
|
|
3291
3263
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3292
3264
|
data: Schema.Array(Data),
|
|
@@ -3320,7 +3292,7 @@ export interface BulkCreateThreatEventsResponse {
|
|
|
3320
3292
|
}
|
|
3321
3293
|
|
|
3322
3294
|
export const BulkCreateThreatEventsResponse =
|
|
3323
|
-
/*@__PURE__*/
|
|
3295
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3324
3296
|
Schema.Struct({
|
|
3325
3297
|
createdEventsCount: Schema.Number,
|
|
3326
3298
|
createdTagsCount: Schema.Number,
|
|
@@ -3345,7 +3317,7 @@ export const bulkCreateThreatEvents: API.OperationMethod<
|
|
|
3345
3317
|
BulkCreateThreatEventsResponse,
|
|
3346
3318
|
BulkCreateThreatEventsError,
|
|
3347
3319
|
Credentials | HttpClient.HttpClient
|
|
3348
|
-
> = /*@__PURE__*/
|
|
3320
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3349
3321
|
input: BulkCreateThreatEventsRequest,
|
|
3350
3322
|
output: BulkCreateThreatEventsResponse,
|
|
3351
3323
|
errors: [],
|
|
@@ -3363,7 +3335,7 @@ export interface ListThreatEventAttackersRequest {
|
|
|
3363
3335
|
}
|
|
3364
3336
|
|
|
3365
3337
|
export const ListThreatEventAttackersRequest =
|
|
3366
|
-
/*@__PURE__*/
|
|
3338
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3367
3339
|
Schema.Struct({
|
|
3368
3340
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3369
3341
|
datasetIds: Schema.optional(Schema.Array(Schema.String)).pipe(
|
|
@@ -3383,7 +3355,7 @@ export interface ListThreatEventAttackersResponse {
|
|
|
3383
3355
|
}
|
|
3384
3356
|
|
|
3385
3357
|
export const ListThreatEventAttackersResponse =
|
|
3386
|
-
/*@__PURE__*/
|
|
3358
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3387
3359
|
Schema.Struct({
|
|
3388
3360
|
items: Items,
|
|
3389
3361
|
type: Schema.String,
|
|
@@ -3397,7 +3369,7 @@ export const listThreatEventAttackers: API.OperationMethod<
|
|
|
3397
3369
|
ListThreatEventAttackersResponse,
|
|
3398
3370
|
ListThreatEventAttackersError,
|
|
3399
3371
|
Credentials | HttpClient.HttpClient
|
|
3400
|
-
> = /*@__PURE__*/
|
|
3372
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3401
3373
|
input: ListThreatEventAttackersRequest,
|
|
3402
3374
|
output: ListThreatEventAttackersResponse,
|
|
3403
3375
|
errors: [],
|
|
@@ -3414,7 +3386,7 @@ export interface GetThreatEventCategoryRequest {
|
|
|
3414
3386
|
}
|
|
3415
3387
|
|
|
3416
3388
|
export const GetThreatEventCategoryRequest =
|
|
3417
|
-
/*@__PURE__*/
|
|
3389
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3418
3390
|
Schema.Struct({
|
|
3419
3391
|
categoryId: Schema.String.pipe(T.HttpPath("categoryId")),
|
|
3420
3392
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3436,7 +3408,7 @@ export interface GetThreatEventCategoryResponse {
|
|
|
3436
3408
|
}
|
|
3437
3409
|
|
|
3438
3410
|
export const GetThreatEventCategoryResponse =
|
|
3439
|
-
/*@__PURE__*/
|
|
3411
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3440
3412
|
Schema.Struct({
|
|
3441
3413
|
killChain: Schema.Number,
|
|
3442
3414
|
name: Schema.String,
|
|
@@ -3458,7 +3430,7 @@ export const getThreatEventCategory: API.OperationMethod<
|
|
|
3458
3430
|
GetThreatEventCategoryResponse,
|
|
3459
3431
|
GetThreatEventCategoryError,
|
|
3460
3432
|
Credentials | HttpClient.HttpClient
|
|
3461
|
-
> = /*@__PURE__*/
|
|
3433
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3462
3434
|
input: GetThreatEventCategoryRequest,
|
|
3463
3435
|
output: GetThreatEventCategoryResponse,
|
|
3464
3436
|
errors: [],
|
|
@@ -3472,7 +3444,7 @@ export interface ListThreatEventCategoriesRequest {
|
|
|
3472
3444
|
}
|
|
3473
3445
|
|
|
3474
3446
|
export const ListThreatEventCategoriesRequest =
|
|
3475
|
-
/*@__PURE__*/
|
|
3447
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3476
3448
|
Schema.Struct({
|
|
3477
3449
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3478
3450
|
datasetIds: Schema.optional(Schema.Array(Schema.String)).pipe(
|
|
@@ -3496,7 +3468,7 @@ export type ListThreatEventCategoriesResponse = {
|
|
|
3496
3468
|
}[];
|
|
3497
3469
|
|
|
3498
3470
|
export const ListThreatEventCategoriesResponse =
|
|
3499
|
-
/*@__PURE__*/
|
|
3471
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3500
3472
|
Schema.Array(CategoryListResponseItem),
|
|
3501
3473
|
) as unknown as Schema.Codec<ListThreatEventCategoriesResponse>;
|
|
3502
3474
|
|
|
@@ -3507,7 +3479,7 @@ export const listThreatEventCategories: API.OperationMethod<
|
|
|
3507
3479
|
ListThreatEventCategoriesResponse,
|
|
3508
3480
|
ListThreatEventCategoriesError,
|
|
3509
3481
|
Credentials | HttpClient.HttpClient
|
|
3510
|
-
> = /*@__PURE__*/
|
|
3482
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3511
3483
|
input: ListThreatEventCategoriesRequest,
|
|
3512
3484
|
output: ListThreatEventCategoriesResponse,
|
|
3513
3485
|
errors: [],
|
|
@@ -3529,7 +3501,7 @@ export interface CreateThreatEventCategoryRequest {
|
|
|
3529
3501
|
}
|
|
3530
3502
|
|
|
3531
3503
|
export const CreateThreatEventCategoryRequest =
|
|
3532
|
-
/*@__PURE__*/
|
|
3504
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3533
3505
|
Schema.Struct({
|
|
3534
3506
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3535
3507
|
killChain: Schema.Number,
|
|
@@ -3555,7 +3527,7 @@ export interface CreateThreatEventCategoryResponse {
|
|
|
3555
3527
|
}
|
|
3556
3528
|
|
|
3557
3529
|
export const CreateThreatEventCategoryResponse =
|
|
3558
|
-
/*@__PURE__*/
|
|
3530
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3559
3531
|
Schema.Struct({
|
|
3560
3532
|
killChain: Schema.Number,
|
|
3561
3533
|
name: Schema.String,
|
|
@@ -3577,7 +3549,7 @@ export const createThreatEventCategory: API.OperationMethod<
|
|
|
3577
3549
|
CreateThreatEventCategoryResponse,
|
|
3578
3550
|
CreateThreatEventCategoryError,
|
|
3579
3551
|
Credentials | HttpClient.HttpClient
|
|
3580
|
-
> = /*@__PURE__*/
|
|
3552
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3581
3553
|
input: CreateThreatEventCategoryRequest,
|
|
3582
3554
|
output: CreateThreatEventCategoryResponse,
|
|
3583
3555
|
errors: [],
|
|
@@ -3600,7 +3572,7 @@ export interface PatchThreatEventCategoryRequest {
|
|
|
3600
3572
|
}
|
|
3601
3573
|
|
|
3602
3574
|
export const PatchThreatEventCategoryRequest =
|
|
3603
|
-
/*@__PURE__*/
|
|
3575
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3604
3576
|
Schema.Struct({
|
|
3605
3577
|
categoryId: Schema.String.pipe(T.HttpPath("categoryId")),
|
|
3606
3578
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3627,7 +3599,7 @@ export interface PatchThreatEventCategoryResponse {
|
|
|
3627
3599
|
}
|
|
3628
3600
|
|
|
3629
3601
|
export const PatchThreatEventCategoryResponse =
|
|
3630
|
-
/*@__PURE__*/
|
|
3602
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3631
3603
|
Schema.Struct({
|
|
3632
3604
|
killChain: Schema.Number,
|
|
3633
3605
|
name: Schema.String,
|
|
@@ -3649,7 +3621,7 @@ export const patchThreatEventCategory: API.OperationMethod<
|
|
|
3649
3621
|
PatchThreatEventCategoryResponse,
|
|
3650
3622
|
PatchThreatEventCategoryError,
|
|
3651
3623
|
Credentials | HttpClient.HttpClient
|
|
3652
|
-
> = /*@__PURE__*/
|
|
3624
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3653
3625
|
input: PatchThreatEventCategoryRequest,
|
|
3654
3626
|
output: PatchThreatEventCategoryResponse,
|
|
3655
3627
|
errors: [],
|
|
@@ -3662,7 +3634,7 @@ export interface DeleteThreatEventCategoryRequest {
|
|
|
3662
3634
|
}
|
|
3663
3635
|
|
|
3664
3636
|
export const DeleteThreatEventCategoryRequest =
|
|
3665
|
-
/*@__PURE__*/
|
|
3637
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3666
3638
|
Schema.Struct({
|
|
3667
3639
|
categoryId: Schema.String.pipe(T.HttpPath("categoryId")),
|
|
3668
3640
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3679,7 +3651,7 @@ export interface DeleteThreatEventCategoryResponse {
|
|
|
3679
3651
|
}
|
|
3680
3652
|
|
|
3681
3653
|
export const DeleteThreatEventCategoryResponse =
|
|
3682
|
-
/*@__PURE__*/
|
|
3654
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3683
3655
|
Schema.Struct({
|
|
3684
3656
|
uuid: Schema.String,
|
|
3685
3657
|
}),
|
|
@@ -3692,7 +3664,7 @@ export const deleteThreatEventCategory: API.OperationMethod<
|
|
|
3692
3664
|
DeleteThreatEventCategoryResponse,
|
|
3693
3665
|
DeleteThreatEventCategoryError,
|
|
3694
3666
|
Credentials | HttpClient.HttpClient
|
|
3695
|
-
> = /*@__PURE__*/
|
|
3667
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3696
3668
|
input: DeleteThreatEventCategoryRequest,
|
|
3697
3669
|
output: DeleteThreatEventCategoryResponse,
|
|
3698
3670
|
errors: [],
|
|
@@ -3708,7 +3680,7 @@ export interface ListThreatEventCountriesRequest {
|
|
|
3708
3680
|
}
|
|
3709
3681
|
|
|
3710
3682
|
export const ListThreatEventCountriesRequest =
|
|
3711
|
-
/*@__PURE__*/
|
|
3683
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3712
3684
|
Schema.Struct({
|
|
3713
3685
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3714
3686
|
}).pipe(
|
|
@@ -3725,7 +3697,7 @@ export type ListThreatEventCountriesResponse = {
|
|
|
3725
3697
|
}[];
|
|
3726
3698
|
|
|
3727
3699
|
export const ListThreatEventCountriesResponse =
|
|
3728
|
-
/*@__PURE__*/
|
|
3700
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3729
3701
|
Schema.Array(CountryListResponseItem),
|
|
3730
3702
|
) as unknown as Schema.Codec<ListThreatEventCountriesResponse>;
|
|
3731
3703
|
|
|
@@ -3736,7 +3708,7 @@ export const listThreatEventCountries: API.OperationMethod<
|
|
|
3736
3708
|
ListThreatEventCountriesResponse,
|
|
3737
3709
|
ListThreatEventCountriesError,
|
|
3738
3710
|
Credentials | HttpClient.HttpClient
|
|
3739
|
-
> = /*@__PURE__*/
|
|
3711
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3740
3712
|
input: ListThreatEventCountriesRequest,
|
|
3741
3713
|
output: ListThreatEventCountriesResponse,
|
|
3742
3714
|
errors: [],
|
|
@@ -3753,7 +3725,7 @@ export interface GetThreatEventDatasetRequest {
|
|
|
3753
3725
|
}
|
|
3754
3726
|
|
|
3755
3727
|
export const GetThreatEventDatasetRequest =
|
|
3756
|
-
/*@__PURE__*/
|
|
3728
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3757
3729
|
Schema.Struct({
|
|
3758
3730
|
datasetId: Schema.String.pipe(T.HttpPath("datasetId")),
|
|
3759
3731
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3773,7 +3745,7 @@ export interface GetThreatEventDatasetResponse {
|
|
|
3773
3745
|
}
|
|
3774
3746
|
|
|
3775
3747
|
export const GetThreatEventDatasetResponse =
|
|
3776
|
-
/*@__PURE__*/
|
|
3748
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3777
3749
|
Schema.Struct({
|
|
3778
3750
|
isPublic: Schema.Boolean,
|
|
3779
3751
|
name: Schema.String,
|
|
@@ -3789,7 +3761,7 @@ export const getThreatEventDataset: API.OperationMethod<
|
|
|
3789
3761
|
GetThreatEventDatasetResponse,
|
|
3790
3762
|
GetThreatEventDatasetError,
|
|
3791
3763
|
Credentials | HttpClient.HttpClient
|
|
3792
|
-
> = /*@__PURE__*/
|
|
3764
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3793
3765
|
input: GetThreatEventDatasetRequest,
|
|
3794
3766
|
output: GetThreatEventDatasetResponse,
|
|
3795
3767
|
errors: [],
|
|
@@ -3803,7 +3775,7 @@ export interface ListThreatEventDatasetsRequest {
|
|
|
3803
3775
|
}
|
|
3804
3776
|
|
|
3805
3777
|
export const ListThreatEventDatasetsRequest =
|
|
3806
|
-
/*@__PURE__*/
|
|
3778
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3807
3779
|
Schema.Struct({
|
|
3808
3780
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3809
3781
|
includeDeleted: Schema.optional(Schema.Boolean).pipe(
|
|
@@ -3825,7 +3797,7 @@ export type ListThreatEventDatasetsResponse = {
|
|
|
3825
3797
|
}[];
|
|
3826
3798
|
|
|
3827
3799
|
export const ListThreatEventDatasetsResponse =
|
|
3828
|
-
/*@__PURE__*/
|
|
3800
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3829
3801
|
Schema.Array(DatasetListResponseItem),
|
|
3830
3802
|
) as unknown as Schema.Codec<ListThreatEventDatasetsResponse>;
|
|
3831
3803
|
|
|
@@ -3836,7 +3808,7 @@ export const listThreatEventDatasets: API.OperationMethod<
|
|
|
3836
3808
|
ListThreatEventDatasetsResponse,
|
|
3837
3809
|
ListThreatEventDatasetsError,
|
|
3838
3810
|
Credentials | HttpClient.HttpClient
|
|
3839
|
-
> = /*@__PURE__*/
|
|
3811
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3840
3812
|
input: ListThreatEventDatasetsRequest,
|
|
3841
3813
|
output: ListThreatEventDatasetsResponse,
|
|
3842
3814
|
errors: [],
|
|
@@ -3852,7 +3824,7 @@ export interface CreateThreatEventDatasetRequest {
|
|
|
3852
3824
|
}
|
|
3853
3825
|
|
|
3854
3826
|
export const CreateThreatEventDatasetRequest =
|
|
3855
|
-
/*@__PURE__*/
|
|
3827
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3856
3828
|
Schema.Struct({
|
|
3857
3829
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3858
3830
|
isPublic: Schema.Boolean,
|
|
@@ -3873,7 +3845,7 @@ export interface CreateThreatEventDatasetResponse {
|
|
|
3873
3845
|
}
|
|
3874
3846
|
|
|
3875
3847
|
export const CreateThreatEventDatasetResponse =
|
|
3876
|
-
/*@__PURE__*/
|
|
3848
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3877
3849
|
Schema.Struct({
|
|
3878
3850
|
isPublic: Schema.Boolean,
|
|
3879
3851
|
name: Schema.String,
|
|
@@ -3889,7 +3861,7 @@ export const createThreatEventDataset: API.OperationMethod<
|
|
|
3889
3861
|
CreateThreatEventDatasetResponse,
|
|
3890
3862
|
CreateThreatEventDatasetError,
|
|
3891
3863
|
Credentials | HttpClient.HttpClient
|
|
3892
|
-
> = /*@__PURE__*/
|
|
3864
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3893
3865
|
input: CreateThreatEventDatasetRequest,
|
|
3894
3866
|
output: CreateThreatEventDatasetResponse,
|
|
3895
3867
|
errors: [],
|
|
@@ -3906,7 +3878,7 @@ export interface PatchThreatEventDatasetRequest {
|
|
|
3906
3878
|
}
|
|
3907
3879
|
|
|
3908
3880
|
export const PatchThreatEventDatasetRequest =
|
|
3909
|
-
/*@__PURE__*/
|
|
3881
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3910
3882
|
Schema.Struct({
|
|
3911
3883
|
datasetId: Schema.String.pipe(T.HttpPath("datasetId")),
|
|
3912
3884
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3928,7 +3900,7 @@ export interface PatchThreatEventDatasetResponse {
|
|
|
3928
3900
|
}
|
|
3929
3901
|
|
|
3930
3902
|
export const PatchThreatEventDatasetResponse =
|
|
3931
|
-
/*@__PURE__*/
|
|
3903
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3932
3904
|
Schema.Struct({
|
|
3933
3905
|
isPublic: Schema.Boolean,
|
|
3934
3906
|
name: Schema.String,
|
|
@@ -3944,7 +3916,7 @@ export const patchThreatEventDataset: API.OperationMethod<
|
|
|
3944
3916
|
PatchThreatEventDatasetResponse,
|
|
3945
3917
|
PatchThreatEventDatasetError,
|
|
3946
3918
|
Credentials | HttpClient.HttpClient
|
|
3947
|
-
> = /*@__PURE__*/
|
|
3919
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3948
3920
|
input: PatchThreatEventDatasetRequest,
|
|
3949
3921
|
output: PatchThreatEventDatasetResponse,
|
|
3950
3922
|
errors: [],
|
|
@@ -3958,7 +3930,7 @@ export interface RawThreatEventDatasetRequest {
|
|
|
3958
3930
|
}
|
|
3959
3931
|
|
|
3960
3932
|
export const RawThreatEventDatasetRequest =
|
|
3961
|
-
/*@__PURE__*/
|
|
3933
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3962
3934
|
Schema.Struct({
|
|
3963
3935
|
datasetId: Schema.String.pipe(T.HttpPath("datasetId")),
|
|
3964
3936
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
@@ -3981,7 +3953,7 @@ export interface RawThreatEventDatasetResponse {
|
|
|
3981
3953
|
}
|
|
3982
3954
|
|
|
3983
3955
|
export const RawThreatEventDatasetResponse =
|
|
3984
|
-
/*@__PURE__*/
|
|
3956
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3985
3957
|
Schema.Struct({
|
|
3986
3958
|
id: Schema.Number,
|
|
3987
3959
|
accountId: Schema.Number,
|
|
@@ -3999,7 +3971,7 @@ export const rawThreatEventDataset: API.OperationMethod<
|
|
|
3999
3971
|
RawThreatEventDatasetResponse,
|
|
4000
3972
|
RawThreatEventDatasetError,
|
|
4001
3973
|
Credentials | HttpClient.HttpClient
|
|
4002
|
-
> = /*@__PURE__*/
|
|
3974
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4003
3975
|
input: RawThreatEventDatasetRequest,
|
|
4004
3976
|
output: RawThreatEventDatasetResponse,
|
|
4005
3977
|
errors: [],
|
|
@@ -4018,7 +3990,7 @@ export interface CreateThreatEventEventTagRequest {
|
|
|
4018
3990
|
}
|
|
4019
3991
|
|
|
4020
3992
|
export const CreateThreatEventEventTagRequest =
|
|
4021
|
-
/*@__PURE__*/
|
|
3993
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4022
3994
|
Schema.Struct({
|
|
4023
3995
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
4024
3996
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4036,7 +4008,7 @@ export interface CreateThreatEventEventTagResponse {
|
|
|
4036
4008
|
}
|
|
4037
4009
|
|
|
4038
4010
|
export const CreateThreatEventEventTagResponse =
|
|
4039
|
-
/*@__PURE__*/
|
|
4011
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4040
4012
|
Schema.Struct({
|
|
4041
4013
|
success: Schema.Boolean,
|
|
4042
4014
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -4049,7 +4021,7 @@ export const createThreatEventEventTag: API.OperationMethod<
|
|
|
4049
4021
|
CreateThreatEventEventTagResponse,
|
|
4050
4022
|
CreateThreatEventEventTagError,
|
|
4051
4023
|
Credentials | HttpClient.HttpClient
|
|
4052
|
-
> = /*@__PURE__*/
|
|
4024
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4053
4025
|
input: CreateThreatEventEventTagRequest,
|
|
4054
4026
|
output: CreateThreatEventEventTagResponse,
|
|
4055
4027
|
errors: [],
|
|
@@ -4062,7 +4034,7 @@ export interface DeleteThreatEventEventTagRequest {
|
|
|
4062
4034
|
}
|
|
4063
4035
|
|
|
4064
4036
|
export const DeleteThreatEventEventTagRequest =
|
|
4065
|
-
/*@__PURE__*/
|
|
4037
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4066
4038
|
Schema.Struct({
|
|
4067
4039
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
4068
4040
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4079,7 +4051,7 @@ export interface DeleteThreatEventEventTagResponse {
|
|
|
4079
4051
|
}
|
|
4080
4052
|
|
|
4081
4053
|
export const DeleteThreatEventEventTagResponse =
|
|
4082
|
-
/*@__PURE__*/
|
|
4054
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4083
4055
|
Schema.Struct({
|
|
4084
4056
|
success: Schema.Boolean,
|
|
4085
4057
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -4092,7 +4064,7 @@ export const deleteThreatEventEventTag: API.OperationMethod<
|
|
|
4092
4064
|
DeleteThreatEventEventTagResponse,
|
|
4093
4065
|
DeleteThreatEventEventTagError,
|
|
4094
4066
|
Credentials | HttpClient.HttpClient
|
|
4095
|
-
> = /*@__PURE__*/
|
|
4067
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4096
4068
|
input: DeleteThreatEventEventTagRequest,
|
|
4097
4069
|
output: DeleteThreatEventEventTagResponse,
|
|
4098
4070
|
errors: [],
|
|
@@ -4108,7 +4080,7 @@ export interface ListThreatEventIndicatorTypesRequest {
|
|
|
4108
4080
|
}
|
|
4109
4081
|
|
|
4110
4082
|
export const ListThreatEventIndicatorTypesRequest =
|
|
4111
|
-
/*@__PURE__*/
|
|
4083
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4112
4084
|
Schema.Struct({
|
|
4113
4085
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4114
4086
|
}).pipe(
|
|
@@ -4125,7 +4097,7 @@ export interface ListThreatEventIndicatorTypesResponse {
|
|
|
4125
4097
|
}
|
|
4126
4098
|
|
|
4127
4099
|
export const ListThreatEventIndicatorTypesResponse =
|
|
4128
|
-
/*@__PURE__*/
|
|
4100
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4129
4101
|
Schema.Struct({
|
|
4130
4102
|
items: Items,
|
|
4131
4103
|
type: Schema.String,
|
|
@@ -4139,7 +4111,7 @@ export const listThreatEventIndicatorTypes: API.OperationMethod<
|
|
|
4139
4111
|
ListThreatEventIndicatorTypesResponse,
|
|
4140
4112
|
ListThreatEventIndicatorTypesError,
|
|
4141
4113
|
Credentials | HttpClient.HttpClient
|
|
4142
|
-
> = /*@__PURE__*/
|
|
4114
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4143
4115
|
input: ListThreatEventIndicatorTypesRequest,
|
|
4144
4116
|
output: ListThreatEventIndicatorTypesResponse,
|
|
4145
4117
|
errors: [],
|
|
@@ -4157,7 +4129,7 @@ export interface GetThreatEventRawRequest {
|
|
|
4157
4129
|
}
|
|
4158
4130
|
|
|
4159
4131
|
export const GetThreatEventRawRequest =
|
|
4160
|
-
/*@__PURE__*/
|
|
4132
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4161
4133
|
Schema.Struct({
|
|
4162
4134
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
4163
4135
|
rawId: Schema.String.pipe(T.HttpPath("rawId")),
|
|
@@ -4180,7 +4152,7 @@ export interface GetThreatEventRawResponse {
|
|
|
4180
4152
|
}
|
|
4181
4153
|
|
|
4182
4154
|
export const GetThreatEventRawResponse =
|
|
4183
|
-
/*@__PURE__*/
|
|
4155
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4184
4156
|
Schema.Struct({
|
|
4185
4157
|
id: Schema.String,
|
|
4186
4158
|
accountId: Schema.Number,
|
|
@@ -4198,7 +4170,7 @@ export const getThreatEventRaw: API.OperationMethod<
|
|
|
4198
4170
|
GetThreatEventRawResponse,
|
|
4199
4171
|
GetThreatEventRawError,
|
|
4200
4172
|
Credentials | HttpClient.HttpClient
|
|
4201
|
-
> = /*@__PURE__*/
|
|
4173
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4202
4174
|
input: GetThreatEventRawRequest,
|
|
4203
4175
|
output: GetThreatEventRawResponse,
|
|
4204
4176
|
errors: [],
|
|
@@ -4218,7 +4190,7 @@ export interface PatchThreatEventRawRequest {
|
|
|
4218
4190
|
}
|
|
4219
4191
|
|
|
4220
4192
|
export const PatchThreatEventRawRequest =
|
|
4221
|
-
/*@__PURE__*/
|
|
4193
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4222
4194
|
Schema.Struct({
|
|
4223
4195
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
4224
4196
|
rawId: Schema.String.pipe(T.HttpPath("rawId")),
|
|
@@ -4240,7 +4212,7 @@ export interface PatchThreatEventRawResponse {
|
|
|
4240
4212
|
}
|
|
4241
4213
|
|
|
4242
4214
|
export const PatchThreatEventRawResponse =
|
|
4243
|
-
/*@__PURE__*/
|
|
4215
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4244
4216
|
Schema.Struct({
|
|
4245
4217
|
id: Schema.String,
|
|
4246
4218
|
data: Schema.Unknown,
|
|
@@ -4254,7 +4226,7 @@ export const patchThreatEventRaw: API.OperationMethod<
|
|
|
4254
4226
|
PatchThreatEventRawResponse,
|
|
4255
4227
|
PatchThreatEventRawError,
|
|
4256
4228
|
Credentials | HttpClient.HttpClient
|
|
4257
|
-
> = /*@__PURE__*/
|
|
4229
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4258
4230
|
input: PatchThreatEventRawRequest,
|
|
4259
4231
|
output: PatchThreatEventRawResponse,
|
|
4260
4232
|
errors: [],
|
|
@@ -4271,7 +4243,7 @@ export interface DeleteThreatEventRelateRequest {
|
|
|
4271
4243
|
}
|
|
4272
4244
|
|
|
4273
4245
|
export const DeleteThreatEventRelateRequest =
|
|
4274
|
-
/*@__PURE__*/
|
|
4246
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4275
4247
|
Schema.Struct({
|
|
4276
4248
|
eventId: Schema.String.pipe(T.HttpPath("eventId")),
|
|
4277
4249
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4288,7 +4260,7 @@ export interface DeleteThreatEventRelateResponse {
|
|
|
4288
4260
|
}
|
|
4289
4261
|
|
|
4290
4262
|
export const DeleteThreatEventRelateResponse =
|
|
4291
|
-
/*@__PURE__*/
|
|
4263
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4292
4264
|
Schema.Struct({
|
|
4293
4265
|
success: Schema.Boolean,
|
|
4294
4266
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -4301,7 +4273,7 @@ export const deleteThreatEventRelate: API.OperationMethod<
|
|
|
4301
4273
|
DeleteThreatEventRelateResponse,
|
|
4302
4274
|
DeleteThreatEventRelateError,
|
|
4303
4275
|
Credentials | HttpClient.HttpClient
|
|
4304
|
-
> = /*@__PURE__*/
|
|
4276
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4305
4277
|
input: DeleteThreatEventRelateRequest,
|
|
4306
4278
|
output: DeleteThreatEventRelateResponse,
|
|
4307
4279
|
errors: [],
|
|
@@ -4365,7 +4337,7 @@ export interface CreateThreatEventTagRequest {
|
|
|
4365
4337
|
}
|
|
4366
4338
|
|
|
4367
4339
|
export const CreateThreatEventTagRequest =
|
|
4368
|
-
/*@__PURE__*/
|
|
4340
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4369
4341
|
Schema.Struct({
|
|
4370
4342
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4371
4343
|
value: Schema.String,
|
|
@@ -4437,7 +4409,7 @@ export interface CreateThreatEventTagResponse {
|
|
|
4437
4409
|
}
|
|
4438
4410
|
|
|
4439
4411
|
export const CreateThreatEventTagResponse =
|
|
4440
|
-
/*@__PURE__*/
|
|
4412
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4441
4413
|
Schema.Struct({
|
|
4442
4414
|
uuid: Schema.String,
|
|
4443
4415
|
value: Schema.String,
|
|
@@ -4504,7 +4476,7 @@ export const createThreatEventTag: API.OperationMethod<
|
|
|
4504
4476
|
CreateThreatEventTagResponse,
|
|
4505
4477
|
CreateThreatEventTagError,
|
|
4506
4478
|
Credentials | HttpClient.HttpClient
|
|
4507
|
-
> = /*@__PURE__*/
|
|
4479
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4508
4480
|
input: CreateThreatEventTagRequest,
|
|
4509
4481
|
output: CreateThreatEventTagResponse,
|
|
4510
4482
|
errors: [],
|
|
@@ -4522,7 +4494,7 @@ export interface ListThreatEventTargetIndustriesRequest {
|
|
|
4522
4494
|
}
|
|
4523
4495
|
|
|
4524
4496
|
export const ListThreatEventTargetIndustriesRequest =
|
|
4525
|
-
/*@__PURE__*/
|
|
4497
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4526
4498
|
Schema.Struct({
|
|
4527
4499
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4528
4500
|
datasetIds: Schema.optional(Schema.Array(Schema.String)).pipe(
|
|
@@ -4542,7 +4514,7 @@ export interface ListThreatEventTargetIndustriesResponse {
|
|
|
4542
4514
|
}
|
|
4543
4515
|
|
|
4544
4516
|
export const ListThreatEventTargetIndustriesResponse =
|
|
4545
|
-
/*@__PURE__*/
|
|
4517
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4546
4518
|
Schema.Struct({
|
|
4547
4519
|
items: Items,
|
|
4548
4520
|
type: Schema.String,
|
|
@@ -4556,7 +4528,7 @@ export const listThreatEventTargetIndustries: API.OperationMethod<
|
|
|
4556
4528
|
ListThreatEventTargetIndustriesResponse,
|
|
4557
4529
|
ListThreatEventTargetIndustriesError,
|
|
4558
4530
|
Credentials | HttpClient.HttpClient
|
|
4559
|
-
> = /*@__PURE__*/
|
|
4531
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4560
4532
|
input: ListThreatEventTargetIndustriesRequest,
|
|
4561
4533
|
output: ListThreatEventTargetIndustriesResponse,
|
|
4562
4534
|
errors: [],
|