@distilled.cloud/cloudflare 0.28.2 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/api.d.ts +1 -1
- package/lib/client/api.d.ts.map +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/package.json +10 -9
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
|
@@ -42,11 +42,11 @@ export class TrustedDomainNotFound extends T.applyErrorMatchers(Schema.TaggedErr
|
|
|
42
42
|
message: Schema.String,
|
|
43
43
|
}), [{ status: 404 }]) {
|
|
44
44
|
}
|
|
45
|
-
const Properties = /*@__PURE__*/
|
|
45
|
+
const Properties = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
46
46
|
folder: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
47
47
|
requestedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
48
48
|
}).pipe(Schema.encodeKeys({ folder: "folder", requestedBy: "requested_by" })));
|
|
49
|
-
const ActionLog = /*@__PURE__*/
|
|
49
|
+
const ActionLog = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
50
50
|
completedAt: Schema.String,
|
|
51
51
|
operation: Schema.Union([
|
|
52
52
|
Schema.Literals([
|
|
@@ -69,7 +69,7 @@ const ActionLog = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
69
69
|
properties: "properties",
|
|
70
70
|
status: "status",
|
|
71
71
|
})));
|
|
72
|
-
const Properties2 = /*@__PURE__*/
|
|
72
|
+
const Properties2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
73
73
|
allowlistedPattern: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
74
74
|
allowlistedPatternType: Schema.optional(Schema.Union([
|
|
75
75
|
Schema.Literal("quarantine_release"),
|
|
@@ -102,7 +102,7 @@ const Properties2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
102
102
|
blocklistedPattern: "blocklisted_pattern",
|
|
103
103
|
whitelistedPatternType: "whitelisted_pattern_type",
|
|
104
104
|
})));
|
|
105
|
-
const Finding = /*@__PURE__*/
|
|
105
|
+
const Finding = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
106
106
|
attachment: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
107
107
|
detail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
108
108
|
detection: Schema.optional(Schema.Union([
|
|
@@ -130,7 +130,7 @@ const Finding = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
130
130
|
score: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
131
131
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
132
132
|
}));
|
|
133
|
-
const Validation = /*@__PURE__*/
|
|
133
|
+
const Validation = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
134
134
|
comment: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
135
135
|
dkim: Schema.optional(Schema.Union([
|
|
136
136
|
Schema.Union([
|
|
@@ -155,7 +155,7 @@ const Validation = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
155
155
|
])),
|
|
156
156
|
}));
|
|
157
157
|
const ListInvestigatesResponseResult =
|
|
158
|
-
/*@__PURE__*/
|
|
158
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
159
159
|
id: Schema.String,
|
|
160
160
|
actionLog: Schema.Array(ActionLog),
|
|
161
161
|
clientRecipients: Schema.Array(Schema.String),
|
|
@@ -289,7 +289,7 @@ const ListInvestigatesResponseResult =
|
|
|
289
289
|
xOriginatingIp: "x_originating_ip",
|
|
290
290
|
})));
|
|
291
291
|
const ListInvestigatesResponseResultInfo =
|
|
292
|
-
/*@__PURE__*/
|
|
292
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
293
293
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
294
294
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
295
295
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -300,7 +300,7 @@ const ListInvestigatesResponseResultInfo =
|
|
|
300
300
|
perPage: "per_page",
|
|
301
301
|
totalCount: "total_count",
|
|
302
302
|
})));
|
|
303
|
-
const Move = /*@__PURE__*/
|
|
303
|
+
const Move = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
304
304
|
destination: Schema.Union([
|
|
305
305
|
Schema.Literals([
|
|
306
306
|
"Inbox",
|
|
@@ -335,10 +335,10 @@ const Move = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
335
335
|
type: "type",
|
|
336
336
|
expectedDisposition: "expected_disposition",
|
|
337
337
|
})));
|
|
338
|
-
const Release = /*@__PURE__*/
|
|
338
|
+
const Release = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
339
339
|
type: Schema.Literal("RELEASE"),
|
|
340
340
|
}));
|
|
341
|
-
const SearchParams = /*@__PURE__*/
|
|
341
|
+
const SearchParams = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
342
342
|
actionLog: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
343
343
|
alertId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
344
344
|
deliveryStatus: Schema.optional(Schema.Union([
|
|
@@ -412,7 +412,7 @@ const SearchParams = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
412
412
|
submissions: "submissions",
|
|
413
413
|
})));
|
|
414
414
|
const ListInvestigateBulksResponseResult =
|
|
415
|
-
/*@__PURE__*/
|
|
415
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
416
416
|
actionParams: Schema.Union([Move, Release]),
|
|
417
417
|
actionType: Schema.Union([
|
|
418
418
|
Schema.Literals(["MOVE", "RELEASE"]),
|
|
@@ -457,7 +457,7 @@ const ListInvestigateBulksResponseResult =
|
|
|
457
457
|
startedAt: "started_at",
|
|
458
458
|
statusMessage: "status_message",
|
|
459
459
|
})));
|
|
460
|
-
const Move2 = /*@__PURE__*/
|
|
460
|
+
const Move2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
461
461
|
clientRecipient: Schema.String,
|
|
462
462
|
destination: Schema.Union([
|
|
463
463
|
Schema.Literals([
|
|
@@ -494,12 +494,12 @@ const Move2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
494
494
|
type: "type",
|
|
495
495
|
expectedDisposition: "expected_disposition",
|
|
496
496
|
})));
|
|
497
|
-
const Release2 = /*@__PURE__*/
|
|
497
|
+
const Release2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
498
498
|
clientRecipient: Schema.String,
|
|
499
499
|
type: Schema.Literal("RELEASE"),
|
|
500
500
|
}).pipe(Schema.encodeKeys({ clientRecipient: "client_recipient", type: "type" })));
|
|
501
501
|
const ListInvestigateBulkMessagesResponseResult =
|
|
502
|
-
/*@__PURE__*/
|
|
502
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
503
503
|
actionParams: Schema.Union([Move2, Release2]),
|
|
504
504
|
actionType: Schema.Union([
|
|
505
505
|
Schema.Literals(["MOVE", "RELEASE"]),
|
|
@@ -540,7 +540,7 @@ const ListInvestigateBulkMessagesResponseResult =
|
|
|
540
540
|
retryAfter: "retry_after",
|
|
541
541
|
statusMessage: "status_message",
|
|
542
542
|
})));
|
|
543
|
-
const Attachment = /*@__PURE__*/
|
|
543
|
+
const Attachment = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
544
544
|
size: Schema.Number,
|
|
545
545
|
contentType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
546
546
|
detection: Schema.optional(Schema.Union([
|
|
@@ -573,15 +573,15 @@ const Attachment = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
573
573
|
sha1: "sha1",
|
|
574
574
|
sha256: "sha256",
|
|
575
575
|
})));
|
|
576
|
-
const Header = /*@__PURE__*/
|
|
576
|
+
const Header = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
577
577
|
name: Schema.String,
|
|
578
578
|
value: Schema.String,
|
|
579
579
|
}));
|
|
580
|
-
const Link = /*@__PURE__*/
|
|
580
|
+
const Link = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
581
581
|
href: Schema.String,
|
|
582
582
|
text: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
583
583
|
}));
|
|
584
|
-
const SenderInfo = /*@__PURE__*/
|
|
584
|
+
const SenderInfo = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
585
585
|
asName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
586
586
|
asNumber: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
587
587
|
geo: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -594,13 +594,13 @@ const SenderInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
594
594
|
ip: "ip",
|
|
595
595
|
pld: "pld",
|
|
596
596
|
})));
|
|
597
|
-
const ThreatCategory = /*@__PURE__*/
|
|
597
|
+
const ThreatCategory = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
598
598
|
id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
599
599
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
600
600
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
601
601
|
}));
|
|
602
602
|
const CreateInvestigateMoveResponseResult =
|
|
603
|
-
/*@__PURE__*/
|
|
603
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
604
604
|
success: Schema.Boolean,
|
|
605
605
|
completedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
606
606
|
completedTimestamp: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -622,7 +622,7 @@ const CreateInvestigateMoveResponseResult =
|
|
|
622
622
|
status: "status",
|
|
623
623
|
})));
|
|
624
624
|
const BulkInvestigateReleaseResponseResult =
|
|
625
|
-
/*@__PURE__*/
|
|
625
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
626
626
|
id: Schema.String,
|
|
627
627
|
delivered: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
628
628
|
failed: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -635,7 +635,7 @@ const BulkInvestigateReleaseResponseResult =
|
|
|
635
635
|
postfixId: "postfix_id",
|
|
636
636
|
undelivered: "undelivered",
|
|
637
637
|
})));
|
|
638
|
-
const Line = /*@__PURE__*/
|
|
638
|
+
const Line = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
639
639
|
lineno: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
640
640
|
loggedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
641
641
|
message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -646,11 +646,11 @@ const Line = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
646
646
|
message: "message",
|
|
647
647
|
ts: "ts",
|
|
648
648
|
})));
|
|
649
|
-
const Inbound = /*@__PURE__*/
|
|
649
|
+
const Inbound = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
650
650
|
lines: Schema.optional(Schema.Union([Schema.Array(Line), Schema.Null])),
|
|
651
651
|
pending: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
652
652
|
}));
|
|
653
|
-
const Fields = /*@__PURE__*/
|
|
653
|
+
const Fields = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
654
654
|
to: Schema.Array(Schema.String),
|
|
655
655
|
from: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
656
656
|
occurredAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -663,12 +663,12 @@ const Fields = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
663
663
|
postfixId: "postfix_id",
|
|
664
664
|
ts: "ts",
|
|
665
665
|
})));
|
|
666
|
-
const Tag = /*@__PURE__*/
|
|
666
|
+
const Tag = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
667
667
|
category: Schema.String,
|
|
668
668
|
value: Schema.String,
|
|
669
669
|
}));
|
|
670
670
|
const ListPhishguardReportsResponseResult =
|
|
671
|
-
/*@__PURE__*/
|
|
671
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
672
672
|
id: Schema.Number,
|
|
673
673
|
content: Schema.String,
|
|
674
674
|
disposition: Schema.Union([
|
|
@@ -706,7 +706,7 @@ const ListPhishguardReportsResponseResult =
|
|
|
706
706
|
updatedAt: "updated_at",
|
|
707
707
|
})));
|
|
708
708
|
const ListSettingAllowPoliciesResponseResult =
|
|
709
|
-
/*@__PURE__*/
|
|
709
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
710
710
|
id: Schema.String,
|
|
711
711
|
createdAt: Schema.String,
|
|
712
712
|
lastModified: Schema.String,
|
|
@@ -746,7 +746,7 @@ const ListSettingAllowPoliciesResponseResult =
|
|
|
746
746
|
verifySender: "verify_sender",
|
|
747
747
|
})));
|
|
748
748
|
const ListSettingBlockSendersResponseResult =
|
|
749
|
-
/*@__PURE__*/
|
|
749
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
750
750
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
751
751
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
752
752
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -771,7 +771,7 @@ const ListSettingBlockSendersResponseResult =
|
|
|
771
771
|
pattern: "pattern",
|
|
772
772
|
patternType: "pattern_type",
|
|
773
773
|
})));
|
|
774
|
-
const Authorization = /*@__PURE__*/
|
|
774
|
+
const Authorization = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
775
775
|
authorized: Schema.Boolean,
|
|
776
776
|
timestamp: Schema.String,
|
|
777
777
|
statusMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -780,7 +780,7 @@ const Authorization = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
780
780
|
timestamp: "timestamp",
|
|
781
781
|
statusMessage: "status_message",
|
|
782
782
|
})));
|
|
783
|
-
const EmailsProcessed = /*@__PURE__*/
|
|
783
|
+
const EmailsProcessed = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
784
784
|
timestamp: Schema.String,
|
|
785
785
|
totalEmailsProcessed: Schema.Number,
|
|
786
786
|
totalEmailsProcessedPrevious: Schema.Number,
|
|
@@ -790,7 +790,7 @@ const EmailsProcessed = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.
|
|
|
790
790
|
totalEmailsProcessedPrevious: "total_emails_processed_previous",
|
|
791
791
|
})));
|
|
792
792
|
const ListSettingDomainsResponseResult =
|
|
793
|
-
/*@__PURE__*/
|
|
793
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
794
794
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
795
795
|
allowedDeliveryModes: Schema.optional(Schema.Union([
|
|
796
796
|
Schema.Array(Schema.Union([
|
|
@@ -898,7 +898,7 @@ const ListSettingDomainsResponseResult =
|
|
|
898
898
|
transport: "transport",
|
|
899
899
|
})));
|
|
900
900
|
const ListSettingImpersonationRegistriesResponseResult =
|
|
901
|
-
/*@__PURE__*/
|
|
901
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
902
902
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
903
903
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
904
904
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -937,7 +937,7 @@ const ListSettingImpersonationRegistriesResponseResult =
|
|
|
937
937
|
provenance: "provenance",
|
|
938
938
|
})));
|
|
939
939
|
const ListSettingSendingDomainRestrictionsResponseResult =
|
|
940
|
-
/*@__PURE__*/
|
|
940
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
941
941
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
942
942
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
943
943
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -955,7 +955,7 @@ const ListSettingSendingDomainRestrictionsResponseResult =
|
|
|
955
955
|
modifiedAt: "modified_at",
|
|
956
956
|
})));
|
|
957
957
|
const ListSettingTrustedDomainsResponseResult =
|
|
958
|
-
/*@__PURE__*/
|
|
958
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
959
959
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
960
960
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
961
961
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -977,7 +977,7 @@ const ListSettingTrustedDomainsResponseResult =
|
|
|
977
977
|
pattern: "pattern",
|
|
978
978
|
})));
|
|
979
979
|
const ListSettingUrlIgnorePatternsResponseResult =
|
|
980
|
-
/*@__PURE__*/
|
|
980
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
981
981
|
id: Schema.String,
|
|
982
982
|
createdAt: Schema.String,
|
|
983
983
|
pattern: Schema.String,
|
|
@@ -993,7 +993,7 @@ const ListSettingUrlIgnorePatternsResponseResult =
|
|
|
993
993
|
modifiedAt: "modified_at",
|
|
994
994
|
})));
|
|
995
995
|
const ListSubmissionsResponseResult =
|
|
996
|
-
/*@__PURE__*/
|
|
996
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
997
997
|
requestedAt: Schema.String,
|
|
998
998
|
submissionId: Schema.String,
|
|
999
999
|
customerStatus: Schema.optional(Schema.Union([
|
|
@@ -1073,7 +1073,7 @@ const ListSubmissionsResponseResult =
|
|
|
1073
1073
|
subject: "subject",
|
|
1074
1074
|
type: "type",
|
|
1075
1075
|
})));
|
|
1076
|
-
export const GetInvestigateRequest = /*@__PURE__*/
|
|
1076
|
+
export const GetInvestigateRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1077
1077
|
investigateId: Schema.String.pipe(T.HttpPath("investigateId")),
|
|
1078
1078
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1079
1079
|
submission: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("submission")),
|
|
@@ -1082,7 +1082,7 @@ export const GetInvestigateRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1082
1082
|
path: "/accounts/{account_id}/email-security/investigate/{investigateId}",
|
|
1083
1083
|
})));
|
|
1084
1084
|
export const GetInvestigateResponse =
|
|
1085
|
-
/*@__PURE__*/
|
|
1085
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1086
1086
|
id: Schema.String,
|
|
1087
1087
|
actionLog: Schema.Array(ActionLog),
|
|
1088
1088
|
clientRecipients: Schema.Array(Schema.String),
|
|
@@ -1217,13 +1217,13 @@ export const GetInvestigateResponse =
|
|
|
1217
1217
|
xOriginatingIp: "x_originating_ip",
|
|
1218
1218
|
}))
|
|
1219
1219
|
.pipe(T.ResponsePath("result")));
|
|
1220
|
-
export const getInvestigate = /*@__PURE__*/
|
|
1220
|
+
export const getInvestigate = /*@__PURE__*/ API.make(() => ({
|
|
1221
1221
|
input: GetInvestigateRequest,
|
|
1222
1222
|
output: GetInvestigateResponse,
|
|
1223
1223
|
errors: [],
|
|
1224
1224
|
}));
|
|
1225
1225
|
export const ListInvestigatesRequest =
|
|
1226
|
-
/*@__PURE__*/
|
|
1226
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1227
1227
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1228
1228
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1229
1229
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -1271,11 +1271,11 @@ export const ListInvestigatesRequest =
|
|
|
1271
1271
|
path: "/accounts/{account_id}/email-security/investigate",
|
|
1272
1272
|
})));
|
|
1273
1273
|
export const ListInvestigatesResponse =
|
|
1274
|
-
/*@__PURE__*/
|
|
1274
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1275
1275
|
result: Schema.Array(ListInvestigatesResponseResult),
|
|
1276
1276
|
resultInfo: Schema.optional(Schema.Union([ListInvestigatesResponseResultInfo, Schema.Null])),
|
|
1277
1277
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1278
|
-
export const listInvestigates = /*@__PURE__*/
|
|
1278
|
+
export const listInvestigates = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1279
1279
|
input: ListInvestigatesRequest,
|
|
1280
1280
|
output: ListInvestigatesResponse,
|
|
1281
1281
|
errors: [],
|
|
@@ -1288,7 +1288,7 @@ export const listInvestigates = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
|
|
|
1288
1288
|
},
|
|
1289
1289
|
}));
|
|
1290
1290
|
export const GetInvestigateBulkRequest =
|
|
1291
|
-
/*@__PURE__*/
|
|
1291
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1292
1292
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1293
1293
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1294
1294
|
}).pipe(T.Http({
|
|
@@ -1296,7 +1296,7 @@ export const GetInvestigateBulkRequest =
|
|
|
1296
1296
|
path: "/accounts/{account_id}/email-security/investigate/bulk/{jobId}",
|
|
1297
1297
|
})));
|
|
1298
1298
|
export const GetInvestigateBulkResponse =
|
|
1299
|
-
/*@__PURE__*/
|
|
1299
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1300
1300
|
actionParams: Schema.Union([Move, Release]),
|
|
1301
1301
|
actionType: Schema.Union([
|
|
1302
1302
|
Schema.Literals(["MOVE", "RELEASE"]),
|
|
@@ -1343,13 +1343,13 @@ export const GetInvestigateBulkResponse =
|
|
|
1343
1343
|
statusMessage: "status_message",
|
|
1344
1344
|
}))
|
|
1345
1345
|
.pipe(T.ResponsePath("result")));
|
|
1346
|
-
export const getInvestigateBulk = /*@__PURE__*/
|
|
1346
|
+
export const getInvestigateBulk = /*@__PURE__*/ API.make(() => ({
|
|
1347
1347
|
input: GetInvestigateBulkRequest,
|
|
1348
1348
|
output: GetInvestigateBulkResponse,
|
|
1349
1349
|
errors: [],
|
|
1350
1350
|
}));
|
|
1351
1351
|
export const ListInvestigateBulksRequest =
|
|
1352
|
-
/*@__PURE__*/
|
|
1352
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1353
1353
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1354
1354
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1355
1355
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -1371,11 +1371,11 @@ export const ListInvestigateBulksRequest =
|
|
|
1371
1371
|
path: "/accounts/{account_id}/email-security/investigate/bulk",
|
|
1372
1372
|
})));
|
|
1373
1373
|
export const ListInvestigateBulksResponse =
|
|
1374
|
-
/*@__PURE__*/
|
|
1374
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1375
1375
|
result: Schema.Array(ListInvestigateBulksResponseResult),
|
|
1376
1376
|
resultInfo: Schema.optional(Schema.Union([ListInvestigatesResponseResultInfo, Schema.Null])),
|
|
1377
1377
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1378
|
-
export const listInvestigateBulks = /*@__PURE__*/
|
|
1378
|
+
export const listInvestigateBulks = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1379
1379
|
input: ListInvestigateBulksRequest,
|
|
1380
1380
|
output: ListInvestigateBulksResponse,
|
|
1381
1381
|
errors: [],
|
|
@@ -1388,7 +1388,7 @@ export const listInvestigateBulks = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
|
|
|
1388
1388
|
},
|
|
1389
1389
|
}));
|
|
1390
1390
|
export const CreateInvestigateBulkRequest =
|
|
1391
|
-
/*@__PURE__*/
|
|
1391
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1392
1392
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1393
1393
|
action: Schema.Union([
|
|
1394
1394
|
Schema.Literals(["MOVE", "RELEASE"]),
|
|
@@ -1432,7 +1432,7 @@ export const CreateInvestigateBulkRequest =
|
|
|
1432
1432
|
path: "/accounts/{account_id}/email-security/investigate/bulk",
|
|
1433
1433
|
})));
|
|
1434
1434
|
export const CreateInvestigateBulkResponse =
|
|
1435
|
-
/*@__PURE__*/
|
|
1435
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1436
1436
|
actionParams: Schema.Union([Move, Release]),
|
|
1437
1437
|
actionType: Schema.Union([
|
|
1438
1438
|
Schema.Literals(["MOVE", "RELEASE"]),
|
|
@@ -1479,13 +1479,13 @@ export const CreateInvestigateBulkResponse =
|
|
|
1479
1479
|
statusMessage: "status_message",
|
|
1480
1480
|
}))
|
|
1481
1481
|
.pipe(T.ResponsePath("result")));
|
|
1482
|
-
export const createInvestigateBulk = /*@__PURE__*/
|
|
1482
|
+
export const createInvestigateBulk = /*@__PURE__*/ API.make(() => ({
|
|
1483
1483
|
input: CreateInvestigateBulkRequest,
|
|
1484
1484
|
output: CreateInvestigateBulkResponse,
|
|
1485
1485
|
errors: [],
|
|
1486
1486
|
}));
|
|
1487
1487
|
export const DeleteInvestigateBulkRequest =
|
|
1488
|
-
/*@__PURE__*/
|
|
1488
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1489
1489
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1490
1490
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1491
1491
|
}).pipe(T.Http({
|
|
@@ -1493,16 +1493,16 @@ export const DeleteInvestigateBulkRequest =
|
|
|
1493
1493
|
path: "/accounts/{account_id}/email-security/investigate/bulk/{jobId}",
|
|
1494
1494
|
})));
|
|
1495
1495
|
export const DeleteInvestigateBulkResponse =
|
|
1496
|
-
/*@__PURE__*/
|
|
1496
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1497
1497
|
id: Schema.String,
|
|
1498
1498
|
}).pipe(T.ResponsePath("result")));
|
|
1499
|
-
export const deleteInvestigateBulk = /*@__PURE__*/
|
|
1499
|
+
export const deleteInvestigateBulk = /*@__PURE__*/ API.make(() => ({
|
|
1500
1500
|
input: DeleteInvestigateBulkRequest,
|
|
1501
1501
|
output: DeleteInvestigateBulkResponse,
|
|
1502
1502
|
errors: [],
|
|
1503
1503
|
}));
|
|
1504
1504
|
export const CreateInvestigateBulkCancelRequest =
|
|
1505
|
-
/*@__PURE__*/
|
|
1505
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1506
1506
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1507
1507
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1508
1508
|
}).pipe(T.Http({
|
|
@@ -1510,7 +1510,7 @@ export const CreateInvestigateBulkCancelRequest =
|
|
|
1510
1510
|
path: "/accounts/{account_id}/email-security/investigate/bulk/{jobId}/cancel",
|
|
1511
1511
|
})));
|
|
1512
1512
|
export const CreateInvestigateBulkCancelResponse =
|
|
1513
|
-
/*@__PURE__*/
|
|
1513
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1514
1514
|
actionParams: Schema.Union([Move, Release]),
|
|
1515
1515
|
actionType: Schema.Union([
|
|
1516
1516
|
Schema.Literals(["MOVE", "RELEASE"]),
|
|
@@ -1557,13 +1557,13 @@ export const CreateInvestigateBulkCancelResponse =
|
|
|
1557
1557
|
statusMessage: "status_message",
|
|
1558
1558
|
}))
|
|
1559
1559
|
.pipe(T.ResponsePath("result")));
|
|
1560
|
-
export const createInvestigateBulkCancel = /*@__PURE__*/
|
|
1560
|
+
export const createInvestigateBulkCancel = /*@__PURE__*/ API.make(() => ({
|
|
1561
1561
|
input: CreateInvestigateBulkCancelRequest,
|
|
1562
1562
|
output: CreateInvestigateBulkCancelResponse,
|
|
1563
1563
|
errors: [],
|
|
1564
1564
|
}));
|
|
1565
1565
|
export const ListInvestigateBulkMessagesRequest =
|
|
1566
|
-
/*@__PURE__*/
|
|
1566
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1567
1567
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1568
1568
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1569
1569
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
@@ -1585,11 +1585,11 @@ export const ListInvestigateBulkMessagesRequest =
|
|
|
1585
1585
|
path: "/accounts/{account_id}/email-security/investigate/bulk/{jobId}/messages",
|
|
1586
1586
|
})));
|
|
1587
1587
|
export const ListInvestigateBulkMessagesResponse =
|
|
1588
|
-
/*@__PURE__*/
|
|
1588
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1589
1589
|
result: Schema.Array(ListInvestigateBulkMessagesResponseResult),
|
|
1590
1590
|
resultInfo: Schema.optional(Schema.Union([ListInvestigatesResponseResultInfo, Schema.Null])),
|
|
1591
1591
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1592
|
-
export const listInvestigateBulkMessages = /*@__PURE__*/
|
|
1592
|
+
export const listInvestigateBulkMessages = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1593
1593
|
input: ListInvestigateBulkMessagesRequest,
|
|
1594
1594
|
output: ListInvestigateBulkMessagesResponse,
|
|
1595
1595
|
errors: [],
|
|
@@ -1602,7 +1602,7 @@ export const listInvestigateBulkMessages = /*@__PURE__*/ /*#__PURE__*/ API.makeP
|
|
|
1602
1602
|
},
|
|
1603
1603
|
}));
|
|
1604
1604
|
export const GetInvestigateDetectionRequest =
|
|
1605
|
-
/*@__PURE__*/
|
|
1605
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1606
1606
|
investigateId: Schema.String.pipe(T.HttpPath("investigateId")),
|
|
1607
1607
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1608
1608
|
}).pipe(T.Http({
|
|
@@ -1610,7 +1610,7 @@ export const GetInvestigateDetectionRequest =
|
|
|
1610
1610
|
path: "/accounts/{account_id}/email-security/investigate/{investigateId}/detections",
|
|
1611
1611
|
})));
|
|
1612
1612
|
export const GetInvestigateDetectionResponse =
|
|
1613
|
-
/*@__PURE__*/
|
|
1613
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1614
1614
|
action: Schema.String,
|
|
1615
1615
|
attachments: Schema.Array(Attachment),
|
|
1616
1616
|
findings: Schema.Union([Schema.Array(Finding), Schema.Null]),
|
|
@@ -1650,13 +1650,13 @@ export const GetInvestigateDetectionResponse =
|
|
|
1650
1650
|
finalDisposition: "final_disposition",
|
|
1651
1651
|
}))
|
|
1652
1652
|
.pipe(T.ResponsePath("result")));
|
|
1653
|
-
export const getInvestigateDetection = /*@__PURE__*/
|
|
1653
|
+
export const getInvestigateDetection = /*@__PURE__*/ API.make(() => ({
|
|
1654
1654
|
input: GetInvestigateDetectionRequest,
|
|
1655
1655
|
output: GetInvestigateDetectionResponse,
|
|
1656
1656
|
errors: [],
|
|
1657
1657
|
}));
|
|
1658
1658
|
export const CreateInvestigateMoveRequest =
|
|
1659
|
-
/*@__PURE__*/
|
|
1659
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1660
1660
|
investigateId: Schema.String.pipe(T.HttpPath("investigateId")),
|
|
1661
1661
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1662
1662
|
destination: Schema.Union([
|
|
@@ -1692,10 +1692,10 @@ export const CreateInvestigateMoveRequest =
|
|
|
1692
1692
|
path: "/accounts/{account_id}/email-security/investigate/{investigateId}/move",
|
|
1693
1693
|
})));
|
|
1694
1694
|
export const CreateInvestigateMoveResponse =
|
|
1695
|
-
/*@__PURE__*/
|
|
1695
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1696
1696
|
result: Schema.Array(CreateInvestigateMoveResponseResult),
|
|
1697
1697
|
}));
|
|
1698
|
-
export const createInvestigateMove = /*@__PURE__*/
|
|
1698
|
+
export const createInvestigateMove = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1699
1699
|
input: CreateInvestigateMoveRequest,
|
|
1700
1700
|
output: CreateInvestigateMoveResponse,
|
|
1701
1701
|
errors: [],
|
|
@@ -1705,7 +1705,7 @@ export const createInvestigateMove = /*@__PURE__*/ /*#__PURE__*/ API.makePaginat
|
|
|
1705
1705
|
},
|
|
1706
1706
|
}));
|
|
1707
1707
|
export const BulkInvestigateMoveRequest =
|
|
1708
|
-
/*@__PURE__*/
|
|
1708
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1709
1709
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1710
1710
|
postfixIds: Schema.optional(Schema.Array(Schema.String)).pipe(T.HttpQuery("postfix_ids")),
|
|
1711
1711
|
destination: Schema.Union([
|
|
@@ -1743,10 +1743,10 @@ export const BulkInvestigateMoveRequest =
|
|
|
1743
1743
|
path: "/accounts/{account_id}/email-security/investigate/move",
|
|
1744
1744
|
})));
|
|
1745
1745
|
export const BulkInvestigateMoveResponse =
|
|
1746
|
-
/*@__PURE__*/
|
|
1746
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1747
1747
|
result: Schema.Array(CreateInvestigateMoveResponseResult),
|
|
1748
1748
|
}));
|
|
1749
|
-
export const bulkInvestigateMove = /*@__PURE__*/
|
|
1749
|
+
export const bulkInvestigateMove = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1750
1750
|
input: BulkInvestigateMoveRequest,
|
|
1751
1751
|
output: BulkInvestigateMoveResponse,
|
|
1752
1752
|
errors: [],
|
|
@@ -1756,7 +1756,7 @@ export const bulkInvestigateMove = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated
|
|
|
1756
1756
|
},
|
|
1757
1757
|
}));
|
|
1758
1758
|
export const GetInvestigatePreviewRequest =
|
|
1759
|
-
/*@__PURE__*/
|
|
1759
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1760
1760
|
investigateId: Schema.String.pipe(T.HttpPath("investigateId")),
|
|
1761
1761
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1762
1762
|
}).pipe(T.Http({
|
|
@@ -1764,16 +1764,16 @@ export const GetInvestigatePreviewRequest =
|
|
|
1764
1764
|
path: "/accounts/{account_id}/email-security/investigate/{investigateId}/preview",
|
|
1765
1765
|
})));
|
|
1766
1766
|
export const GetInvestigatePreviewResponse =
|
|
1767
|
-
/*@__PURE__*/
|
|
1767
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1768
1768
|
screenshot: Schema.String,
|
|
1769
1769
|
}).pipe(T.ResponsePath("result")));
|
|
1770
|
-
export const getInvestigatePreview = /*@__PURE__*/
|
|
1770
|
+
export const getInvestigatePreview = /*@__PURE__*/ API.make(() => ({
|
|
1771
1771
|
input: GetInvestigatePreviewRequest,
|
|
1772
1772
|
output: GetInvestigatePreviewResponse,
|
|
1773
1773
|
errors: [],
|
|
1774
1774
|
}));
|
|
1775
1775
|
export const CreateInvestigatePreviewRequest =
|
|
1776
|
-
/*@__PURE__*/
|
|
1776
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1777
1777
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1778
1778
|
postfixId: Schema.String,
|
|
1779
1779
|
}).pipe(Schema.encodeKeys({ postfixId: "postfix_id" }), T.Http({
|
|
@@ -1781,16 +1781,16 @@ export const CreateInvestigatePreviewRequest =
|
|
|
1781
1781
|
path: "/accounts/{account_id}/email-security/investigate/preview",
|
|
1782
1782
|
})));
|
|
1783
1783
|
export const CreateInvestigatePreviewResponse =
|
|
1784
|
-
/*@__PURE__*/
|
|
1784
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1785
1785
|
screenshot: Schema.String,
|
|
1786
1786
|
}).pipe(T.ResponsePath("result")));
|
|
1787
|
-
export const createInvestigatePreview = /*@__PURE__*/
|
|
1787
|
+
export const createInvestigatePreview = /*@__PURE__*/ API.make(() => ({
|
|
1788
1788
|
input: CreateInvestigatePreviewRequest,
|
|
1789
1789
|
output: CreateInvestigatePreviewResponse,
|
|
1790
1790
|
errors: [],
|
|
1791
1791
|
}));
|
|
1792
1792
|
export const GetInvestigateRawRequest =
|
|
1793
|
-
/*@__PURE__*/
|
|
1793
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1794
1794
|
investigateId: Schema.String.pipe(T.HttpPath("investigateId")),
|
|
1795
1795
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1796
1796
|
}).pipe(T.Http({
|
|
@@ -1798,16 +1798,16 @@ export const GetInvestigateRawRequest =
|
|
|
1798
1798
|
path: "/accounts/{account_id}/email-security/investigate/{investigateId}/raw",
|
|
1799
1799
|
})));
|
|
1800
1800
|
export const GetInvestigateRawResponse =
|
|
1801
|
-
/*@__PURE__*/
|
|
1801
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1802
1802
|
raw: Schema.String,
|
|
1803
1803
|
}).pipe(T.ResponsePath("result")));
|
|
1804
|
-
export const getInvestigateRaw = /*@__PURE__*/
|
|
1804
|
+
export const getInvestigateRaw = /*@__PURE__*/ API.make(() => ({
|
|
1805
1805
|
input: GetInvestigateRawRequest,
|
|
1806
1806
|
output: GetInvestigateRawResponse,
|
|
1807
1807
|
errors: [],
|
|
1808
1808
|
}));
|
|
1809
1809
|
export const CreateInvestigateReclassifyRequest =
|
|
1810
|
-
/*@__PURE__*/
|
|
1810
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1811
1811
|
investigateId: Schema.String.pipe(T.HttpPath("investigateId")),
|
|
1812
1812
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1813
1813
|
expectedDisposition: Schema.Union([
|
|
@@ -1832,14 +1832,14 @@ export const CreateInvestigateReclassifyRequest =
|
|
|
1832
1832
|
path: "/accounts/{account_id}/email-security/investigate/{investigateId}/reclassify",
|
|
1833
1833
|
})));
|
|
1834
1834
|
export const CreateInvestigateReclassifyResponse =
|
|
1835
|
-
/*@__PURE__*/
|
|
1836
|
-
export const createInvestigateReclassify = /*@__PURE__*/
|
|
1835
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1836
|
+
export const createInvestigateReclassify = /*@__PURE__*/ API.make(() => ({
|
|
1837
1837
|
input: CreateInvestigateReclassifyRequest,
|
|
1838
1838
|
output: CreateInvestigateReclassifyResponse,
|
|
1839
1839
|
errors: [],
|
|
1840
1840
|
}));
|
|
1841
1841
|
export const BulkInvestigateReleaseRequest =
|
|
1842
|
-
/*@__PURE__*/
|
|
1842
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1843
1843
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1844
1844
|
body: Schema.Array(Schema.String).pipe(T.HttpBody()),
|
|
1845
1845
|
}).pipe(T.Http({
|
|
@@ -1847,10 +1847,10 @@ export const BulkInvestigateReleaseRequest =
|
|
|
1847
1847
|
path: "/accounts/{account_id}/email-security/investigate/release",
|
|
1848
1848
|
})));
|
|
1849
1849
|
export const BulkInvestigateReleaseResponse =
|
|
1850
|
-
/*@__PURE__*/
|
|
1850
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1851
1851
|
result: Schema.Array(BulkInvestigateReleaseResponseResult),
|
|
1852
1852
|
}));
|
|
1853
|
-
export const bulkInvestigateRelease = /*@__PURE__*/
|
|
1853
|
+
export const bulkInvestigateRelease = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1854
1854
|
input: BulkInvestigateReleaseRequest,
|
|
1855
1855
|
output: BulkInvestigateReleaseResponse,
|
|
1856
1856
|
errors: [],
|
|
@@ -1860,7 +1860,7 @@ export const bulkInvestigateRelease = /*@__PURE__*/ /*#__PURE__*/ API.makePagina
|
|
|
1860
1860
|
},
|
|
1861
1861
|
}));
|
|
1862
1862
|
export const GetInvestigateTraceRequest =
|
|
1863
|
-
/*@__PURE__*/
|
|
1863
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1864
1864
|
investigateId: Schema.String.pipe(T.HttpPath("investigateId")),
|
|
1865
1865
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1866
1866
|
}).pipe(T.Http({
|
|
@@ -1868,17 +1868,17 @@ export const GetInvestigateTraceRequest =
|
|
|
1868
1868
|
path: "/accounts/{account_id}/email-security/investigate/{investigateId}/trace",
|
|
1869
1869
|
})));
|
|
1870
1870
|
export const GetInvestigateTraceResponse =
|
|
1871
|
-
/*@__PURE__*/
|
|
1871
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1872
1872
|
inbound: Inbound,
|
|
1873
1873
|
outbound: Inbound,
|
|
1874
1874
|
}).pipe(T.ResponsePath("result")));
|
|
1875
|
-
export const getInvestigateTrace = /*@__PURE__*/
|
|
1875
|
+
export const getInvestigateTrace = /*@__PURE__*/ API.make(() => ({
|
|
1876
1876
|
input: GetInvestigateTraceRequest,
|
|
1877
1877
|
output: GetInvestigateTraceResponse,
|
|
1878
1878
|
errors: [],
|
|
1879
1879
|
}));
|
|
1880
1880
|
export const ListPhishguardReportsRequest =
|
|
1881
|
-
/*@__PURE__*/
|
|
1881
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1882
1882
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1883
1883
|
end: Schema.optional(Schema.String).pipe(T.HttpQuery("end")),
|
|
1884
1884
|
fromDate: Schema.optional(Schema.String).pipe(T.HttpQuery("from_date")),
|
|
@@ -1889,10 +1889,10 @@ export const ListPhishguardReportsRequest =
|
|
|
1889
1889
|
path: "/accounts/{account_id}/email-security/phishguard/reports",
|
|
1890
1890
|
})));
|
|
1891
1891
|
export const ListPhishguardReportsResponse =
|
|
1892
|
-
/*@__PURE__*/
|
|
1892
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1893
1893
|
result: Schema.Array(ListPhishguardReportsResponseResult),
|
|
1894
1894
|
}));
|
|
1895
|
-
export const listPhishguardReports = /*@__PURE__*/
|
|
1895
|
+
export const listPhishguardReports = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1896
1896
|
input: ListPhishguardReportsRequest,
|
|
1897
1897
|
output: ListPhishguardReportsResponse,
|
|
1898
1898
|
errors: [],
|
|
@@ -1902,7 +1902,7 @@ export const listPhishguardReports = /*@__PURE__*/ /*#__PURE__*/ API.makePaginat
|
|
|
1902
1902
|
},
|
|
1903
1903
|
}));
|
|
1904
1904
|
export const GetSettingAllowPolicyRequest =
|
|
1905
|
-
/*@__PURE__*/
|
|
1905
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1906
1906
|
policyId: Schema.String.pipe(T.HttpPath("policyId")),
|
|
1907
1907
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1908
1908
|
}).pipe(T.Http({
|
|
@@ -1910,7 +1910,7 @@ export const GetSettingAllowPolicyRequest =
|
|
|
1910
1910
|
path: "/accounts/{account_id}/email-security/settings/allow_policies/{policyId}",
|
|
1911
1911
|
})));
|
|
1912
1912
|
export const GetSettingAllowPolicyResponse =
|
|
1913
|
-
/*@__PURE__*/
|
|
1913
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1914
1914
|
id: Schema.String,
|
|
1915
1915
|
createdAt: Schema.String,
|
|
1916
1916
|
lastModified: Schema.String,
|
|
@@ -1951,13 +1951,13 @@ export const GetSettingAllowPolicyResponse =
|
|
|
1951
1951
|
verifySender: "verify_sender",
|
|
1952
1952
|
}))
|
|
1953
1953
|
.pipe(T.ResponsePath("result")));
|
|
1954
|
-
export const getSettingAllowPolicy = /*@__PURE__*/
|
|
1954
|
+
export const getSettingAllowPolicy = /*@__PURE__*/ API.make(() => ({
|
|
1955
1955
|
input: GetSettingAllowPolicyRequest,
|
|
1956
1956
|
output: GetSettingAllowPolicyResponse,
|
|
1957
1957
|
errors: [AllowPolicyNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
1958
1958
|
}));
|
|
1959
1959
|
export const ListSettingAllowPoliciesRequest =
|
|
1960
|
-
/*@__PURE__*/
|
|
1960
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1961
1961
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1962
1962
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1963
1963
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -1981,11 +1981,11 @@ export const ListSettingAllowPoliciesRequest =
|
|
|
1981
1981
|
path: "/accounts/{account_id}/email-security/settings/allow_policies",
|
|
1982
1982
|
})));
|
|
1983
1983
|
export const ListSettingAllowPoliciesResponse =
|
|
1984
|
-
/*@__PURE__*/
|
|
1984
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1985
1985
|
result: Schema.Array(ListSettingAllowPoliciesResponseResult),
|
|
1986
1986
|
resultInfo: Schema.optional(Schema.Union([ListInvestigatesResponseResultInfo, Schema.Null])),
|
|
1987
1987
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1988
|
-
export const listSettingAllowPolicies = /*@__PURE__*/
|
|
1988
|
+
export const listSettingAllowPolicies = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1989
1989
|
input: ListSettingAllowPoliciesRequest,
|
|
1990
1990
|
output: ListSettingAllowPoliciesResponse,
|
|
1991
1991
|
errors: [EmailSecurityNotEntitled, Forbidden],
|
|
@@ -1998,7 +1998,7 @@ export const listSettingAllowPolicies = /*@__PURE__*/ /*#__PURE__*/ API.makePagi
|
|
|
1998
1998
|
},
|
|
1999
1999
|
}));
|
|
2000
2000
|
export const CreateSettingAllowPolicyRequest =
|
|
2001
|
-
/*@__PURE__*/
|
|
2001
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2002
2002
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2003
2003
|
isAcceptableSender: Schema.Boolean,
|
|
2004
2004
|
isExemptRecipient: Schema.Boolean,
|
|
@@ -2031,7 +2031,7 @@ export const CreateSettingAllowPolicyRequest =
|
|
|
2031
2031
|
path: "/accounts/{account_id}/email-security/settings/allow_policies",
|
|
2032
2032
|
})));
|
|
2033
2033
|
export const CreateSettingAllowPolicyResponse =
|
|
2034
|
-
/*@__PURE__*/
|
|
2034
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2035
2035
|
id: Schema.String,
|
|
2036
2036
|
createdAt: Schema.String,
|
|
2037
2037
|
lastModified: Schema.String,
|
|
@@ -2072,13 +2072,13 @@ export const CreateSettingAllowPolicyResponse =
|
|
|
2072
2072
|
verifySender: "verify_sender",
|
|
2073
2073
|
}))
|
|
2074
2074
|
.pipe(T.ResponsePath("result")));
|
|
2075
|
-
export const createSettingAllowPolicy = /*@__PURE__*/
|
|
2075
|
+
export const createSettingAllowPolicy = /*@__PURE__*/ API.make(() => ({
|
|
2076
2076
|
input: CreateSettingAllowPolicyRequest,
|
|
2077
2077
|
output: CreateSettingAllowPolicyResponse,
|
|
2078
2078
|
errors: [EmailSecurityNotEntitled, Forbidden],
|
|
2079
2079
|
}));
|
|
2080
2080
|
export const PatchSettingAllowPolicyRequest =
|
|
2081
|
-
/*@__PURE__*/
|
|
2081
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2082
2082
|
policyId: Schema.String.pipe(T.HttpPath("policyId")),
|
|
2083
2083
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2084
2084
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2112,7 +2112,7 @@ export const PatchSettingAllowPolicyRequest =
|
|
|
2112
2112
|
path: "/accounts/{account_id}/email-security/settings/allow_policies/{policyId}",
|
|
2113
2113
|
})));
|
|
2114
2114
|
export const PatchSettingAllowPolicyResponse =
|
|
2115
|
-
/*@__PURE__*/
|
|
2115
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2116
2116
|
id: Schema.String,
|
|
2117
2117
|
createdAt: Schema.String,
|
|
2118
2118
|
lastModified: Schema.String,
|
|
@@ -2153,13 +2153,13 @@ export const PatchSettingAllowPolicyResponse =
|
|
|
2153
2153
|
verifySender: "verify_sender",
|
|
2154
2154
|
}))
|
|
2155
2155
|
.pipe(T.ResponsePath("result")));
|
|
2156
|
-
export const patchSettingAllowPolicy = /*@__PURE__*/
|
|
2156
|
+
export const patchSettingAllowPolicy = /*@__PURE__*/ API.make(() => ({
|
|
2157
2157
|
input: PatchSettingAllowPolicyRequest,
|
|
2158
2158
|
output: PatchSettingAllowPolicyResponse,
|
|
2159
2159
|
errors: [AllowPolicyNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
2160
2160
|
}));
|
|
2161
2161
|
export const DeleteSettingAllowPolicyRequest =
|
|
2162
|
-
/*@__PURE__*/
|
|
2162
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2163
2163
|
policyId: Schema.String.pipe(T.HttpPath("policyId")),
|
|
2164
2164
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2165
2165
|
}).pipe(T.Http({
|
|
@@ -2167,16 +2167,16 @@ export const DeleteSettingAllowPolicyRequest =
|
|
|
2167
2167
|
path: "/accounts/{account_id}/email-security/settings/allow_policies/{policyId}",
|
|
2168
2168
|
})));
|
|
2169
2169
|
export const DeleteSettingAllowPolicyResponse =
|
|
2170
|
-
/*@__PURE__*/
|
|
2170
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2171
2171
|
id: Schema.String,
|
|
2172
2172
|
}).pipe(T.ResponsePath("result")));
|
|
2173
|
-
export const deleteSettingAllowPolicy = /*@__PURE__*/
|
|
2173
|
+
export const deleteSettingAllowPolicy = /*@__PURE__*/ API.make(() => ({
|
|
2174
2174
|
input: DeleteSettingAllowPolicyRequest,
|
|
2175
2175
|
output: DeleteSettingAllowPolicyResponse,
|
|
2176
2176
|
errors: [AllowPolicyNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
2177
2177
|
}));
|
|
2178
2178
|
export const GetSettingBlockSenderRequest =
|
|
2179
|
-
/*@__PURE__*/
|
|
2179
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2180
2180
|
patternId: Schema.String.pipe(T.HttpPath("patternId")),
|
|
2181
2181
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2182
2182
|
}).pipe(T.Http({
|
|
@@ -2184,7 +2184,7 @@ export const GetSettingBlockSenderRequest =
|
|
|
2184
2184
|
path: "/accounts/{account_id}/email-security/settings/block_senders/{patternId}",
|
|
2185
2185
|
})));
|
|
2186
2186
|
export const GetSettingBlockSenderResponse =
|
|
2187
|
-
/*@__PURE__*/
|
|
2187
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2188
2188
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2189
2189
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2190
2190
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2211,13 +2211,13 @@ export const GetSettingBlockSenderResponse =
|
|
|
2211
2211
|
patternType: "pattern_type",
|
|
2212
2212
|
}))
|
|
2213
2213
|
.pipe(T.ResponsePath("result")));
|
|
2214
|
-
export const getSettingBlockSender = /*@__PURE__*/
|
|
2214
|
+
export const getSettingBlockSender = /*@__PURE__*/ API.make(() => ({
|
|
2215
2215
|
input: GetSettingBlockSenderRequest,
|
|
2216
2216
|
output: GetSettingBlockSenderResponse,
|
|
2217
2217
|
errors: [BlockSenderNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
2218
2218
|
}));
|
|
2219
2219
|
export const ListSettingBlockSendersRequest =
|
|
2220
|
-
/*@__PURE__*/
|
|
2220
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2221
2221
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2222
2222
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
2223
2223
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -2237,11 +2237,11 @@ export const ListSettingBlockSendersRequest =
|
|
|
2237
2237
|
path: "/accounts/{account_id}/email-security/settings/block_senders",
|
|
2238
2238
|
})));
|
|
2239
2239
|
export const ListSettingBlockSendersResponse =
|
|
2240
|
-
/*@__PURE__*/
|
|
2240
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2241
2241
|
result: Schema.Array(ListSettingBlockSendersResponseResult),
|
|
2242
2242
|
resultInfo: Schema.optional(Schema.Union([ListInvestigatesResponseResultInfo, Schema.Null])),
|
|
2243
2243
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
2244
|
-
export const listSettingBlockSenders = /*@__PURE__*/
|
|
2244
|
+
export const listSettingBlockSenders = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2245
2245
|
input: ListSettingBlockSendersRequest,
|
|
2246
2246
|
output: ListSettingBlockSendersResponse,
|
|
2247
2247
|
errors: [EmailSecurityNotEntitled, Forbidden],
|
|
@@ -2254,7 +2254,7 @@ export const listSettingBlockSenders = /*@__PURE__*/ /*#__PURE__*/ API.makePagin
|
|
|
2254
2254
|
},
|
|
2255
2255
|
}));
|
|
2256
2256
|
export const CreateSettingBlockSenderRequest =
|
|
2257
|
-
/*@__PURE__*/
|
|
2257
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2258
2258
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2259
2259
|
isRegex: Schema.Boolean,
|
|
2260
2260
|
pattern: Schema.String,
|
|
@@ -2273,7 +2273,7 @@ export const CreateSettingBlockSenderRequest =
|
|
|
2273
2273
|
path: "/accounts/{account_id}/email-security/settings/block_senders",
|
|
2274
2274
|
})));
|
|
2275
2275
|
export const CreateSettingBlockSenderResponse =
|
|
2276
|
-
/*@__PURE__*/
|
|
2276
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2277
2277
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2278
2278
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2279
2279
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2300,13 +2300,13 @@ export const CreateSettingBlockSenderResponse =
|
|
|
2300
2300
|
patternType: "pattern_type",
|
|
2301
2301
|
}))
|
|
2302
2302
|
.pipe(T.ResponsePath("result")));
|
|
2303
|
-
export const createSettingBlockSender = /*@__PURE__*/
|
|
2303
|
+
export const createSettingBlockSender = /*@__PURE__*/ API.make(() => ({
|
|
2304
2304
|
input: CreateSettingBlockSenderRequest,
|
|
2305
2305
|
output: CreateSettingBlockSenderResponse,
|
|
2306
2306
|
errors: [EmailSecurityNotEntitled, Forbidden],
|
|
2307
2307
|
}));
|
|
2308
2308
|
export const PatchSettingBlockSenderRequest =
|
|
2309
|
-
/*@__PURE__*/
|
|
2309
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2310
2310
|
patternId: Schema.String.pipe(T.HttpPath("patternId")),
|
|
2311
2311
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2312
2312
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2326,7 +2326,7 @@ export const PatchSettingBlockSenderRequest =
|
|
|
2326
2326
|
path: "/accounts/{account_id}/email-security/settings/block_senders/{patternId}",
|
|
2327
2327
|
})));
|
|
2328
2328
|
export const PatchSettingBlockSenderResponse =
|
|
2329
|
-
/*@__PURE__*/
|
|
2329
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2330
2330
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2331
2331
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2332
2332
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2353,13 +2353,13 @@ export const PatchSettingBlockSenderResponse =
|
|
|
2353
2353
|
patternType: "pattern_type",
|
|
2354
2354
|
}))
|
|
2355
2355
|
.pipe(T.ResponsePath("result")));
|
|
2356
|
-
export const patchSettingBlockSender = /*@__PURE__*/
|
|
2356
|
+
export const patchSettingBlockSender = /*@__PURE__*/ API.make(() => ({
|
|
2357
2357
|
input: PatchSettingBlockSenderRequest,
|
|
2358
2358
|
output: PatchSettingBlockSenderResponse,
|
|
2359
2359
|
errors: [BlockSenderNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
2360
2360
|
}));
|
|
2361
2361
|
export const DeleteSettingBlockSenderRequest =
|
|
2362
|
-
/*@__PURE__*/
|
|
2362
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2363
2363
|
patternId: Schema.String.pipe(T.HttpPath("patternId")),
|
|
2364
2364
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2365
2365
|
}).pipe(T.Http({
|
|
@@ -2367,16 +2367,16 @@ export const DeleteSettingBlockSenderRequest =
|
|
|
2367
2367
|
path: "/accounts/{account_id}/email-security/settings/block_senders/{patternId}",
|
|
2368
2368
|
})));
|
|
2369
2369
|
export const DeleteSettingBlockSenderResponse =
|
|
2370
|
-
/*@__PURE__*/
|
|
2370
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2371
2371
|
id: Schema.String,
|
|
2372
2372
|
}).pipe(T.ResponsePath("result")));
|
|
2373
|
-
export const deleteSettingBlockSender = /*@__PURE__*/
|
|
2373
|
+
export const deleteSettingBlockSender = /*@__PURE__*/ API.make(() => ({
|
|
2374
2374
|
input: DeleteSettingBlockSenderRequest,
|
|
2375
2375
|
output: DeleteSettingBlockSenderResponse,
|
|
2376
2376
|
errors: [BlockSenderNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
2377
2377
|
}));
|
|
2378
2378
|
export const GetSettingDomainRequest =
|
|
2379
|
-
/*@__PURE__*/
|
|
2379
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2380
2380
|
domainId: Schema.String.pipe(T.HttpPath("domainId")),
|
|
2381
2381
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2382
2382
|
}).pipe(T.Http({
|
|
@@ -2384,7 +2384,7 @@ export const GetSettingDomainRequest =
|
|
|
2384
2384
|
path: "/accounts/{account_id}/email-security/settings/domains/{domainId}",
|
|
2385
2385
|
})));
|
|
2386
2386
|
export const GetSettingDomainResponse =
|
|
2387
|
-
/*@__PURE__*/
|
|
2387
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2388
2388
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2389
2389
|
allowedDeliveryModes: Schema.optional(Schema.Union([
|
|
2390
2390
|
Schema.Array(Schema.Union([
|
|
@@ -2493,13 +2493,13 @@ export const GetSettingDomainResponse =
|
|
|
2493
2493
|
transport: "transport",
|
|
2494
2494
|
}))
|
|
2495
2495
|
.pipe(T.ResponsePath("result")));
|
|
2496
|
-
export const getSettingDomain = /*@__PURE__*/
|
|
2496
|
+
export const getSettingDomain = /*@__PURE__*/ API.make(() => ({
|
|
2497
2497
|
input: GetSettingDomainRequest,
|
|
2498
2498
|
output: GetSettingDomainResponse,
|
|
2499
2499
|
errors: [EmailSecurityDomainNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
2500
2500
|
}));
|
|
2501
2501
|
export const ListSettingDomainsRequest =
|
|
2502
|
-
/*@__PURE__*/
|
|
2502
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2503
2503
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2504
2504
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
2505
2505
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -2528,11 +2528,11 @@ export const ListSettingDomainsRequest =
|
|
|
2528
2528
|
path: "/accounts/{account_id}/email-security/settings/domains",
|
|
2529
2529
|
})));
|
|
2530
2530
|
export const ListSettingDomainsResponse =
|
|
2531
|
-
/*@__PURE__*/
|
|
2531
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2532
2532
|
result: Schema.Array(ListSettingDomainsResponseResult),
|
|
2533
2533
|
resultInfo: Schema.optional(Schema.Union([ListInvestigatesResponseResultInfo, Schema.Null])),
|
|
2534
2534
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
2535
|
-
export const listSettingDomains = /*@__PURE__*/
|
|
2535
|
+
export const listSettingDomains = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2536
2536
|
input: ListSettingDomainsRequest,
|
|
2537
2537
|
output: ListSettingDomainsResponse,
|
|
2538
2538
|
errors: [EmailSecurityNotEntitled, Forbidden],
|
|
@@ -2545,7 +2545,7 @@ export const listSettingDomains = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
|
2545
2545
|
},
|
|
2546
2546
|
}));
|
|
2547
2547
|
export const PatchSettingDomainRequest =
|
|
2548
|
-
/*@__PURE__*/
|
|
2548
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2549
2549
|
domainId: Schema.String.pipe(T.HttpPath("domainId")),
|
|
2550
2550
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2551
2551
|
allowedDeliveryModes: Schema.optional(Schema.Array(Schema.Union([
|
|
@@ -2596,7 +2596,7 @@ export const PatchSettingDomainRequest =
|
|
|
2596
2596
|
path: "/accounts/{account_id}/email-security/settings/domains/{domainId}",
|
|
2597
2597
|
})));
|
|
2598
2598
|
export const PatchSettingDomainResponse =
|
|
2599
|
-
/*@__PURE__*/
|
|
2599
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2600
2600
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2601
2601
|
allowedDeliveryModes: Schema.optional(Schema.Union([
|
|
2602
2602
|
Schema.Array(Schema.Union([
|
|
@@ -2705,13 +2705,13 @@ export const PatchSettingDomainResponse =
|
|
|
2705
2705
|
transport: "transport",
|
|
2706
2706
|
}))
|
|
2707
2707
|
.pipe(T.ResponsePath("result")));
|
|
2708
|
-
export const patchSettingDomain = /*@__PURE__*/
|
|
2708
|
+
export const patchSettingDomain = /*@__PURE__*/ API.make(() => ({
|
|
2709
2709
|
input: PatchSettingDomainRequest,
|
|
2710
2710
|
output: PatchSettingDomainResponse,
|
|
2711
2711
|
errors: [EmailSecurityDomainNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
2712
2712
|
}));
|
|
2713
2713
|
export const DeleteSettingDomainRequest =
|
|
2714
|
-
/*@__PURE__*/
|
|
2714
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2715
2715
|
domainId: Schema.String.pipe(T.HttpPath("domainId")),
|
|
2716
2716
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2717
2717
|
}).pipe(T.Http({
|
|
@@ -2719,16 +2719,16 @@ export const DeleteSettingDomainRequest =
|
|
|
2719
2719
|
path: "/accounts/{account_id}/email-security/settings/domains/{domainId}",
|
|
2720
2720
|
})));
|
|
2721
2721
|
export const DeleteSettingDomainResponse =
|
|
2722
|
-
/*@__PURE__*/
|
|
2722
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2723
2723
|
id: Schema.String,
|
|
2724
2724
|
}).pipe(T.ResponsePath("result")));
|
|
2725
|
-
export const deleteSettingDomain = /*@__PURE__*/
|
|
2725
|
+
export const deleteSettingDomain = /*@__PURE__*/ API.make(() => ({
|
|
2726
2726
|
input: DeleteSettingDomainRequest,
|
|
2727
2727
|
output: DeleteSettingDomainResponse,
|
|
2728
2728
|
errors: [EmailSecurityDomainNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
2729
2729
|
}));
|
|
2730
2730
|
export const GetSettingImpersonationRegistryRequest =
|
|
2731
|
-
/*@__PURE__*/
|
|
2731
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2732
2732
|
impersonationRegistryId: Schema.String.pipe(T.HttpPath("impersonationRegistryId")),
|
|
2733
2733
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2734
2734
|
}).pipe(T.Http({
|
|
@@ -2736,7 +2736,7 @@ export const GetSettingImpersonationRegistryRequest =
|
|
|
2736
2736
|
path: "/accounts/{account_id}/email-security/settings/impersonation_registry/{impersonationRegistryId}",
|
|
2737
2737
|
})));
|
|
2738
2738
|
export const GetSettingImpersonationRegistryResponse =
|
|
2739
|
-
/*@__PURE__*/
|
|
2739
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2740
2740
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2741
2741
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2742
2742
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2776,7 +2776,7 @@ export const GetSettingImpersonationRegistryResponse =
|
|
|
2776
2776
|
provenance: "provenance",
|
|
2777
2777
|
}))
|
|
2778
2778
|
.pipe(T.ResponsePath("result")));
|
|
2779
|
-
export const getSettingImpersonationRegistry = /*@__PURE__*/
|
|
2779
|
+
export const getSettingImpersonationRegistry = /*@__PURE__*/ API.make(() => ({
|
|
2780
2780
|
input: GetSettingImpersonationRegistryRequest,
|
|
2781
2781
|
output: GetSettingImpersonationRegistryResponse,
|
|
2782
2782
|
errors: [
|
|
@@ -2786,7 +2786,7 @@ export const getSettingImpersonationRegistry = /*@__PURE__*/ /*#__PURE__*/ API.m
|
|
|
2786
2786
|
],
|
|
2787
2787
|
}));
|
|
2788
2788
|
export const ListSettingImpersonationRegistriesRequest =
|
|
2789
|
-
/*@__PURE__*/
|
|
2789
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2790
2790
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2791
2791
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
2792
2792
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -2810,11 +2810,11 @@ export const ListSettingImpersonationRegistriesRequest =
|
|
|
2810
2810
|
path: "/accounts/{account_id}/email-security/settings/impersonation_registry",
|
|
2811
2811
|
})));
|
|
2812
2812
|
export const ListSettingImpersonationRegistriesResponse =
|
|
2813
|
-
/*@__PURE__*/
|
|
2813
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2814
2814
|
result: Schema.Array(ListSettingImpersonationRegistriesResponseResult),
|
|
2815
2815
|
resultInfo: Schema.optional(Schema.Union([ListInvestigatesResponseResultInfo, Schema.Null])),
|
|
2816
2816
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
2817
|
-
export const listSettingImpersonationRegistries = /*@__PURE__*/
|
|
2817
|
+
export const listSettingImpersonationRegistries = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2818
2818
|
input: ListSettingImpersonationRegistriesRequest,
|
|
2819
2819
|
output: ListSettingImpersonationRegistriesResponse,
|
|
2820
2820
|
errors: [EmailSecurityNotEntitled, Forbidden],
|
|
@@ -2827,7 +2827,7 @@ export const listSettingImpersonationRegistries = /*@__PURE__*/ /*#__PURE__*/ AP
|
|
|
2827
2827
|
},
|
|
2828
2828
|
}));
|
|
2829
2829
|
export const CreateSettingImpersonationRegistryRequest =
|
|
2830
|
-
/*@__PURE__*/
|
|
2830
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2831
2831
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2832
2832
|
email: Schema.String,
|
|
2833
2833
|
isEmailRegex: Schema.Boolean,
|
|
@@ -2859,7 +2859,7 @@ export const CreateSettingImpersonationRegistryRequest =
|
|
|
2859
2859
|
path: "/accounts/{account_id}/email-security/settings/impersonation_registry",
|
|
2860
2860
|
})));
|
|
2861
2861
|
export const CreateSettingImpersonationRegistryResponse =
|
|
2862
|
-
/*@__PURE__*/
|
|
2862
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2863
2863
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2864
2864
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2865
2865
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2899,13 +2899,13 @@ export const CreateSettingImpersonationRegistryResponse =
|
|
|
2899
2899
|
provenance: "provenance",
|
|
2900
2900
|
}))
|
|
2901
2901
|
.pipe(T.ResponsePath("result")));
|
|
2902
|
-
export const createSettingImpersonationRegistry = /*@__PURE__*/
|
|
2902
|
+
export const createSettingImpersonationRegistry = /*@__PURE__*/ API.make(() => ({
|
|
2903
2903
|
input: CreateSettingImpersonationRegistryRequest,
|
|
2904
2904
|
output: CreateSettingImpersonationRegistryResponse,
|
|
2905
2905
|
errors: [EmailSecurityNotEntitled, Forbidden],
|
|
2906
2906
|
}));
|
|
2907
2907
|
export const PatchSettingImpersonationRegistryRequest =
|
|
2908
|
-
/*@__PURE__*/
|
|
2908
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2909
2909
|
impersonationRegistryId: Schema.String.pipe(T.HttpPath("impersonationRegistryId")),
|
|
2910
2910
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2911
2911
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2938,7 +2938,7 @@ export const PatchSettingImpersonationRegistryRequest =
|
|
|
2938
2938
|
path: "/accounts/{account_id}/email-security/settings/impersonation_registry/{impersonationRegistryId}",
|
|
2939
2939
|
})));
|
|
2940
2940
|
export const PatchSettingImpersonationRegistryResponse =
|
|
2941
|
-
/*@__PURE__*/
|
|
2941
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2942
2942
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2943
2943
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2944
2944
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2978,7 +2978,7 @@ export const PatchSettingImpersonationRegistryResponse =
|
|
|
2978
2978
|
provenance: "provenance",
|
|
2979
2979
|
}))
|
|
2980
2980
|
.pipe(T.ResponsePath("result")));
|
|
2981
|
-
export const patchSettingImpersonationRegistry = /*@__PURE__*/
|
|
2981
|
+
export const patchSettingImpersonationRegistry = /*@__PURE__*/ API.make(() => ({
|
|
2982
2982
|
input: PatchSettingImpersonationRegistryRequest,
|
|
2983
2983
|
output: PatchSettingImpersonationRegistryResponse,
|
|
2984
2984
|
errors: [
|
|
@@ -2988,7 +2988,7 @@ export const patchSettingImpersonationRegistry = /*@__PURE__*/ /*#__PURE__*/ API
|
|
|
2988
2988
|
],
|
|
2989
2989
|
}));
|
|
2990
2990
|
export const DeleteSettingImpersonationRegistryRequest =
|
|
2991
|
-
/*@__PURE__*/
|
|
2991
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2992
2992
|
impersonationRegistryId: Schema.String.pipe(T.HttpPath("impersonationRegistryId")),
|
|
2993
2993
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2994
2994
|
}).pipe(T.Http({
|
|
@@ -2996,10 +2996,10 @@ export const DeleteSettingImpersonationRegistryRequest =
|
|
|
2996
2996
|
path: "/accounts/{account_id}/email-security/settings/impersonation_registry/{impersonationRegistryId}",
|
|
2997
2997
|
})));
|
|
2998
2998
|
export const DeleteSettingImpersonationRegistryResponse =
|
|
2999
|
-
/*@__PURE__*/
|
|
2999
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3000
3000
|
id: Schema.String,
|
|
3001
3001
|
}).pipe(T.ResponsePath("result")));
|
|
3002
|
-
export const deleteSettingImpersonationRegistry = /*@__PURE__*/
|
|
3002
|
+
export const deleteSettingImpersonationRegistry = /*@__PURE__*/ API.make(() => ({
|
|
3003
3003
|
input: DeleteSettingImpersonationRegistryRequest,
|
|
3004
3004
|
output: DeleteSettingImpersonationRegistryResponse,
|
|
3005
3005
|
errors: [
|
|
@@ -3009,7 +3009,7 @@ export const deleteSettingImpersonationRegistry = /*@__PURE__*/ /*#__PURE__*/ AP
|
|
|
3009
3009
|
],
|
|
3010
3010
|
}));
|
|
3011
3011
|
export const GetSettingSendingDomainRestrictionRequest =
|
|
3012
|
-
/*@__PURE__*/
|
|
3012
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3013
3013
|
sendingDomainRestrictionId: Schema.String.pipe(T.HttpPath("sendingDomainRestrictionId")),
|
|
3014
3014
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3015
3015
|
}).pipe(T.Http({
|
|
@@ -3017,7 +3017,7 @@ export const GetSettingSendingDomainRestrictionRequest =
|
|
|
3017
3017
|
path: "/accounts/{account_id}/email-security/settings/sending_domain_restrictions/{sendingDomainRestrictionId}",
|
|
3018
3018
|
})));
|
|
3019
3019
|
export const GetSettingSendingDomainRestrictionResponse =
|
|
3020
|
-
/*@__PURE__*/
|
|
3020
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3021
3021
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3022
3022
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3023
3023
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3036,13 +3036,13 @@ export const GetSettingSendingDomainRestrictionResponse =
|
|
|
3036
3036
|
modifiedAt: "modified_at",
|
|
3037
3037
|
}))
|
|
3038
3038
|
.pipe(T.ResponsePath("result")));
|
|
3039
|
-
export const getSettingSendingDomainRestriction = /*@__PURE__*/
|
|
3039
|
+
export const getSettingSendingDomainRestriction = /*@__PURE__*/ API.make(() => ({
|
|
3040
3040
|
input: GetSettingSendingDomainRestrictionRequest,
|
|
3041
3041
|
output: GetSettingSendingDomainRestrictionResponse,
|
|
3042
3042
|
errors: [],
|
|
3043
3043
|
}));
|
|
3044
3044
|
export const ListSettingSendingDomainRestrictionsRequest =
|
|
3045
|
-
/*@__PURE__*/
|
|
3045
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3046
3046
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3047
3047
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
3048
3048
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -3057,11 +3057,11 @@ export const ListSettingSendingDomainRestrictionsRequest =
|
|
|
3057
3057
|
path: "/accounts/{account_id}/email-security/settings/sending_domain_restrictions",
|
|
3058
3058
|
})));
|
|
3059
3059
|
export const ListSettingSendingDomainRestrictionsResponse =
|
|
3060
|
-
/*@__PURE__*/
|
|
3060
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3061
3061
|
result: Schema.Array(ListSettingSendingDomainRestrictionsResponseResult),
|
|
3062
3062
|
resultInfo: Schema.optional(Schema.Union([ListInvestigatesResponseResultInfo, Schema.Null])),
|
|
3063
3063
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
3064
|
-
export const listSettingSendingDomainRestrictions = /*@__PURE__*/
|
|
3064
|
+
export const listSettingSendingDomainRestrictions = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3065
3065
|
input: ListSettingSendingDomainRestrictionsRequest,
|
|
3066
3066
|
output: ListSettingSendingDomainRestrictionsResponse,
|
|
3067
3067
|
errors: [],
|
|
@@ -3074,7 +3074,7 @@ export const listSettingSendingDomainRestrictions = /*@__PURE__*/ /*#__PURE__*/
|
|
|
3074
3074
|
},
|
|
3075
3075
|
}));
|
|
3076
3076
|
export const CreateSettingSendingDomainRestrictionRequest =
|
|
3077
|
-
/*@__PURE__*/
|
|
3077
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3078
3078
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3079
3079
|
domain: Schema.String,
|
|
3080
3080
|
exclude: Schema.Array(Schema.String),
|
|
@@ -3084,7 +3084,7 @@ export const CreateSettingSendingDomainRestrictionRequest =
|
|
|
3084
3084
|
path: "/accounts/{account_id}/email-security/settings/sending_domain_restrictions",
|
|
3085
3085
|
})));
|
|
3086
3086
|
export const CreateSettingSendingDomainRestrictionResponse =
|
|
3087
|
-
/*@__PURE__*/
|
|
3087
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3088
3088
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3089
3089
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3090
3090
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3103,13 +3103,13 @@ export const CreateSettingSendingDomainRestrictionResponse =
|
|
|
3103
3103
|
modifiedAt: "modified_at",
|
|
3104
3104
|
}))
|
|
3105
3105
|
.pipe(T.ResponsePath("result")));
|
|
3106
|
-
export const createSettingSendingDomainRestriction = /*@__PURE__*/
|
|
3106
|
+
export const createSettingSendingDomainRestriction = /*@__PURE__*/ API.make(() => ({
|
|
3107
3107
|
input: CreateSettingSendingDomainRestrictionRequest,
|
|
3108
3108
|
output: CreateSettingSendingDomainRestrictionResponse,
|
|
3109
3109
|
errors: [],
|
|
3110
3110
|
}));
|
|
3111
3111
|
export const PatchSettingSendingDomainRestrictionRequest =
|
|
3112
|
-
/*@__PURE__*/
|
|
3112
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3113
3113
|
sendingDomainRestrictionId: Schema.String.pipe(T.HttpPath("sendingDomainRestrictionId")),
|
|
3114
3114
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3115
3115
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3120,7 +3120,7 @@ export const PatchSettingSendingDomainRestrictionRequest =
|
|
|
3120
3120
|
path: "/accounts/{account_id}/email-security/settings/sending_domain_restrictions/{sendingDomainRestrictionId}",
|
|
3121
3121
|
})));
|
|
3122
3122
|
export const PatchSettingSendingDomainRestrictionResponse =
|
|
3123
|
-
/*@__PURE__*/
|
|
3123
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3124
3124
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3125
3125
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3126
3126
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3139,13 +3139,13 @@ export const PatchSettingSendingDomainRestrictionResponse =
|
|
|
3139
3139
|
modifiedAt: "modified_at",
|
|
3140
3140
|
}))
|
|
3141
3141
|
.pipe(T.ResponsePath("result")));
|
|
3142
|
-
export const patchSettingSendingDomainRestriction = /*@__PURE__*/
|
|
3142
|
+
export const patchSettingSendingDomainRestriction = /*@__PURE__*/ API.make(() => ({
|
|
3143
3143
|
input: PatchSettingSendingDomainRestrictionRequest,
|
|
3144
3144
|
output: PatchSettingSendingDomainRestrictionResponse,
|
|
3145
3145
|
errors: [],
|
|
3146
3146
|
}));
|
|
3147
3147
|
export const DeleteSettingSendingDomainRestrictionRequest =
|
|
3148
|
-
/*@__PURE__*/
|
|
3148
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3149
3149
|
sendingDomainRestrictionId: Schema.String.pipe(T.HttpPath("sendingDomainRestrictionId")),
|
|
3150
3150
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3151
3151
|
}).pipe(T.Http({
|
|
@@ -3153,16 +3153,16 @@ export const DeleteSettingSendingDomainRestrictionRequest =
|
|
|
3153
3153
|
path: "/accounts/{account_id}/email-security/settings/sending_domain_restrictions/{sendingDomainRestrictionId}",
|
|
3154
3154
|
})));
|
|
3155
3155
|
export const DeleteSettingSendingDomainRestrictionResponse =
|
|
3156
|
-
/*@__PURE__*/
|
|
3156
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3157
3157
|
id: Schema.String,
|
|
3158
3158
|
}).pipe(T.ResponsePath("result")));
|
|
3159
|
-
export const deleteSettingSendingDomainRestriction = /*@__PURE__*/
|
|
3159
|
+
export const deleteSettingSendingDomainRestriction = /*@__PURE__*/ API.make(() => ({
|
|
3160
3160
|
input: DeleteSettingSendingDomainRestrictionRequest,
|
|
3161
3161
|
output: DeleteSettingSendingDomainRestrictionResponse,
|
|
3162
3162
|
errors: [],
|
|
3163
3163
|
}));
|
|
3164
3164
|
export const GetSettingTrustedDomainRequest =
|
|
3165
|
-
/*@__PURE__*/
|
|
3165
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3166
3166
|
trustedDomainId: Schema.String.pipe(T.HttpPath("trustedDomainId")),
|
|
3167
3167
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3168
3168
|
}).pipe(T.Http({
|
|
@@ -3170,7 +3170,7 @@ export const GetSettingTrustedDomainRequest =
|
|
|
3170
3170
|
path: "/accounts/{account_id}/email-security/settings/trusted_domains/{trustedDomainId}",
|
|
3171
3171
|
})));
|
|
3172
3172
|
export const GetSettingTrustedDomainResponse =
|
|
3173
|
-
/*@__PURE__*/
|
|
3173
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3174
3174
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3175
3175
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3176
3176
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3193,13 +3193,13 @@ export const GetSettingTrustedDomainResponse =
|
|
|
3193
3193
|
pattern: "pattern",
|
|
3194
3194
|
}))
|
|
3195
3195
|
.pipe(T.ResponsePath("result")));
|
|
3196
|
-
export const getSettingTrustedDomain = /*@__PURE__*/
|
|
3196
|
+
export const getSettingTrustedDomain = /*@__PURE__*/ API.make(() => ({
|
|
3197
3197
|
input: GetSettingTrustedDomainRequest,
|
|
3198
3198
|
output: GetSettingTrustedDomainResponse,
|
|
3199
3199
|
errors: [TrustedDomainNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
3200
3200
|
}));
|
|
3201
3201
|
export const ListSettingTrustedDomainsRequest =
|
|
3202
|
-
/*@__PURE__*/
|
|
3202
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3203
3203
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3204
3204
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
3205
3205
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -3217,11 +3217,11 @@ export const ListSettingTrustedDomainsRequest =
|
|
|
3217
3217
|
path: "/accounts/{account_id}/email-security/settings/trusted_domains",
|
|
3218
3218
|
})));
|
|
3219
3219
|
export const ListSettingTrustedDomainsResponse =
|
|
3220
|
-
/*@__PURE__*/
|
|
3220
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3221
3221
|
result: Schema.Array(ListSettingTrustedDomainsResponseResult),
|
|
3222
3222
|
resultInfo: Schema.optional(Schema.Union([ListInvestigatesResponseResultInfo, Schema.Null])),
|
|
3223
3223
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
3224
|
-
export const listSettingTrustedDomains = /*@__PURE__*/
|
|
3224
|
+
export const listSettingTrustedDomains = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3225
3225
|
input: ListSettingTrustedDomainsRequest,
|
|
3226
3226
|
output: ListSettingTrustedDomainsResponse,
|
|
3227
3227
|
errors: [EmailSecurityNotEntitled, Forbidden],
|
|
@@ -3234,7 +3234,7 @@ export const listSettingTrustedDomains = /*@__PURE__*/ /*#__PURE__*/ API.makePag
|
|
|
3234
3234
|
},
|
|
3235
3235
|
}));
|
|
3236
3236
|
export const CreateSettingTrustedDomainRequest =
|
|
3237
|
-
/*@__PURE__*/
|
|
3237
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3238
3238
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3239
3239
|
isRecent: Schema.Boolean,
|
|
3240
3240
|
isRegex: Schema.Boolean,
|
|
@@ -3252,7 +3252,7 @@ export const CreateSettingTrustedDomainRequest =
|
|
|
3252
3252
|
path: "/accounts/{account_id}/email-security/settings/trusted_domains",
|
|
3253
3253
|
})));
|
|
3254
3254
|
export const CreateSettingTrustedDomainResponse =
|
|
3255
|
-
/*@__PURE__*/
|
|
3255
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3256
3256
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3257
3257
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3258
3258
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3275,13 +3275,13 @@ export const CreateSettingTrustedDomainResponse =
|
|
|
3275
3275
|
pattern: "pattern",
|
|
3276
3276
|
}))
|
|
3277
3277
|
.pipe(T.ResponsePath("result")));
|
|
3278
|
-
export const createSettingTrustedDomain = /*@__PURE__*/
|
|
3278
|
+
export const createSettingTrustedDomain = /*@__PURE__*/ API.make(() => ({
|
|
3279
3279
|
input: CreateSettingTrustedDomainRequest,
|
|
3280
3280
|
output: CreateSettingTrustedDomainResponse,
|
|
3281
3281
|
errors: [EmailSecurityNotEntitled, Forbidden],
|
|
3282
3282
|
}));
|
|
3283
3283
|
export const PatchSettingTrustedDomainRequest =
|
|
3284
|
-
/*@__PURE__*/
|
|
3284
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3285
3285
|
trustedDomainId: Schema.String.pipe(T.HttpPath("trustedDomainId")),
|
|
3286
3286
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3287
3287
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3300,7 +3300,7 @@ export const PatchSettingTrustedDomainRequest =
|
|
|
3300
3300
|
path: "/accounts/{account_id}/email-security/settings/trusted_domains/{trustedDomainId}",
|
|
3301
3301
|
})));
|
|
3302
3302
|
export const PatchSettingTrustedDomainResponse =
|
|
3303
|
-
/*@__PURE__*/
|
|
3303
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3304
3304
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3305
3305
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3306
3306
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3323,13 +3323,13 @@ export const PatchSettingTrustedDomainResponse =
|
|
|
3323
3323
|
pattern: "pattern",
|
|
3324
3324
|
}))
|
|
3325
3325
|
.pipe(T.ResponsePath("result")));
|
|
3326
|
-
export const patchSettingTrustedDomain = /*@__PURE__*/
|
|
3326
|
+
export const patchSettingTrustedDomain = /*@__PURE__*/ API.make(() => ({
|
|
3327
3327
|
input: PatchSettingTrustedDomainRequest,
|
|
3328
3328
|
output: PatchSettingTrustedDomainResponse,
|
|
3329
3329
|
errors: [TrustedDomainNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
3330
3330
|
}));
|
|
3331
3331
|
export const DeleteSettingTrustedDomainRequest =
|
|
3332
|
-
/*@__PURE__*/
|
|
3332
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3333
3333
|
trustedDomainId: Schema.String.pipe(T.HttpPath("trustedDomainId")),
|
|
3334
3334
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3335
3335
|
}).pipe(T.Http({
|
|
@@ -3337,16 +3337,16 @@ export const DeleteSettingTrustedDomainRequest =
|
|
|
3337
3337
|
path: "/accounts/{account_id}/email-security/settings/trusted_domains/{trustedDomainId}",
|
|
3338
3338
|
})));
|
|
3339
3339
|
export const DeleteSettingTrustedDomainResponse =
|
|
3340
|
-
/*@__PURE__*/
|
|
3340
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3341
3341
|
id: Schema.String,
|
|
3342
3342
|
}).pipe(T.ResponsePath("result")));
|
|
3343
|
-
export const deleteSettingTrustedDomain = /*@__PURE__*/
|
|
3343
|
+
export const deleteSettingTrustedDomain = /*@__PURE__*/ API.make(() => ({
|
|
3344
3344
|
input: DeleteSettingTrustedDomainRequest,
|
|
3345
3345
|
output: DeleteSettingTrustedDomainResponse,
|
|
3346
3346
|
errors: [TrustedDomainNotFound, EmailSecurityNotEntitled, Forbidden],
|
|
3347
3347
|
}));
|
|
3348
3348
|
export const GetSettingUrlIgnorePatternRequest =
|
|
3349
|
-
/*@__PURE__*/
|
|
3349
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3350
3350
|
patternId: Schema.String.pipe(T.HttpPath("patternId")),
|
|
3351
3351
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3352
3352
|
}).pipe(T.Http({
|
|
@@ -3354,7 +3354,7 @@ export const GetSettingUrlIgnorePatternRequest =
|
|
|
3354
3354
|
path: "/accounts/{account_id}/email-security/settings/url_ignore_patterns/{patternId}",
|
|
3355
3355
|
})));
|
|
3356
3356
|
export const GetSettingUrlIgnorePatternResponse =
|
|
3357
|
-
/*@__PURE__*/
|
|
3357
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3358
3358
|
id: Schema.String,
|
|
3359
3359
|
createdAt: Schema.String,
|
|
3360
3360
|
pattern: Schema.String,
|
|
@@ -3371,13 +3371,13 @@ export const GetSettingUrlIgnorePatternResponse =
|
|
|
3371
3371
|
modifiedAt: "modified_at",
|
|
3372
3372
|
}))
|
|
3373
3373
|
.pipe(T.ResponsePath("result")));
|
|
3374
|
-
export const getSettingUrlIgnorePattern = /*@__PURE__*/
|
|
3374
|
+
export const getSettingUrlIgnorePattern = /*@__PURE__*/ API.make(() => ({
|
|
3375
3375
|
input: GetSettingUrlIgnorePatternRequest,
|
|
3376
3376
|
output: GetSettingUrlIgnorePatternResponse,
|
|
3377
3377
|
errors: [],
|
|
3378
3378
|
}));
|
|
3379
3379
|
export const ListSettingUrlIgnorePatternsRequest =
|
|
3380
|
-
/*@__PURE__*/
|
|
3380
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3381
3381
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3382
3382
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
3383
3383
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -3386,11 +3386,11 @@ export const ListSettingUrlIgnorePatternsRequest =
|
|
|
3386
3386
|
path: "/accounts/{account_id}/email-security/settings/url_ignore_patterns",
|
|
3387
3387
|
})));
|
|
3388
3388
|
export const ListSettingUrlIgnorePatternsResponse =
|
|
3389
|
-
/*@__PURE__*/
|
|
3389
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3390
3390
|
result: Schema.Array(ListSettingUrlIgnorePatternsResponseResult),
|
|
3391
3391
|
resultInfo: Schema.optional(Schema.Union([ListInvestigatesResponseResultInfo, Schema.Null])),
|
|
3392
3392
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
3393
|
-
export const listSettingUrlIgnorePatterns = /*@__PURE__*/
|
|
3393
|
+
export const listSettingUrlIgnorePatterns = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3394
3394
|
input: ListSettingUrlIgnorePatternsRequest,
|
|
3395
3395
|
output: ListSettingUrlIgnorePatternsResponse,
|
|
3396
3396
|
errors: [],
|
|
@@ -3403,7 +3403,7 @@ export const listSettingUrlIgnorePatterns = /*@__PURE__*/ /*#__PURE__*/ API.make
|
|
|
3403
3403
|
},
|
|
3404
3404
|
}));
|
|
3405
3405
|
export const CreateSettingUrlIgnorePatternRequest =
|
|
3406
|
-
/*@__PURE__*/
|
|
3406
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3407
3407
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3408
3408
|
pattern: Schema.String,
|
|
3409
3409
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3412,7 +3412,7 @@ export const CreateSettingUrlIgnorePatternRequest =
|
|
|
3412
3412
|
path: "/accounts/{account_id}/email-security/settings/url_ignore_patterns",
|
|
3413
3413
|
})));
|
|
3414
3414
|
export const CreateSettingUrlIgnorePatternResponse =
|
|
3415
|
-
/*@__PURE__*/
|
|
3415
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3416
3416
|
id: Schema.String,
|
|
3417
3417
|
createdAt: Schema.String,
|
|
3418
3418
|
pattern: Schema.String,
|
|
@@ -3429,13 +3429,13 @@ export const CreateSettingUrlIgnorePatternResponse =
|
|
|
3429
3429
|
modifiedAt: "modified_at",
|
|
3430
3430
|
}))
|
|
3431
3431
|
.pipe(T.ResponsePath("result")));
|
|
3432
|
-
export const createSettingUrlIgnorePattern = /*@__PURE__*/
|
|
3432
|
+
export const createSettingUrlIgnorePattern = /*@__PURE__*/ API.make(() => ({
|
|
3433
3433
|
input: CreateSettingUrlIgnorePatternRequest,
|
|
3434
3434
|
output: CreateSettingUrlIgnorePatternResponse,
|
|
3435
3435
|
errors: [],
|
|
3436
3436
|
}));
|
|
3437
3437
|
export const PatchSettingUrlIgnorePatternRequest =
|
|
3438
|
-
/*@__PURE__*/
|
|
3438
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3439
3439
|
patternId: Schema.String.pipe(T.HttpPath("patternId")),
|
|
3440
3440
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3441
3441
|
comments: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3445,7 +3445,7 @@ export const PatchSettingUrlIgnorePatternRequest =
|
|
|
3445
3445
|
path: "/accounts/{account_id}/email-security/settings/url_ignore_patterns/{patternId}",
|
|
3446
3446
|
})));
|
|
3447
3447
|
export const PatchSettingUrlIgnorePatternResponse =
|
|
3448
|
-
/*@__PURE__*/
|
|
3448
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3449
3449
|
id: Schema.String,
|
|
3450
3450
|
createdAt: Schema.String,
|
|
3451
3451
|
pattern: Schema.String,
|
|
@@ -3462,13 +3462,13 @@ export const PatchSettingUrlIgnorePatternResponse =
|
|
|
3462
3462
|
modifiedAt: "modified_at",
|
|
3463
3463
|
}))
|
|
3464
3464
|
.pipe(T.ResponsePath("result")));
|
|
3465
|
-
export const patchSettingUrlIgnorePattern = /*@__PURE__*/
|
|
3465
|
+
export const patchSettingUrlIgnorePattern = /*@__PURE__*/ API.make(() => ({
|
|
3466
3466
|
input: PatchSettingUrlIgnorePatternRequest,
|
|
3467
3467
|
output: PatchSettingUrlIgnorePatternResponse,
|
|
3468
3468
|
errors: [],
|
|
3469
3469
|
}));
|
|
3470
3470
|
export const DeleteSettingUrlIgnorePatternRequest =
|
|
3471
|
-
/*@__PURE__*/
|
|
3471
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3472
3472
|
patternId: Schema.String.pipe(T.HttpPath("patternId")),
|
|
3473
3473
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3474
3474
|
}).pipe(T.Http({
|
|
@@ -3476,16 +3476,16 @@ export const DeleteSettingUrlIgnorePatternRequest =
|
|
|
3476
3476
|
path: "/accounts/{account_id}/email-security/settings/url_ignore_patterns/{patternId}",
|
|
3477
3477
|
})));
|
|
3478
3478
|
export const DeleteSettingUrlIgnorePatternResponse =
|
|
3479
|
-
/*@__PURE__*/
|
|
3479
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3480
3480
|
id: Schema.String,
|
|
3481
3481
|
}).pipe(T.ResponsePath("result")));
|
|
3482
|
-
export const deleteSettingUrlIgnorePattern = /*@__PURE__*/
|
|
3482
|
+
export const deleteSettingUrlIgnorePattern = /*@__PURE__*/ API.make(() => ({
|
|
3483
3483
|
input: DeleteSettingUrlIgnorePatternRequest,
|
|
3484
3484
|
output: DeleteSettingUrlIgnorePatternResponse,
|
|
3485
3485
|
errors: [],
|
|
3486
3486
|
}));
|
|
3487
3487
|
export const ListSubmissionsRequest =
|
|
3488
|
-
/*@__PURE__*/
|
|
3488
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3489
3489
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3490
3490
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
3491
3491
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -3534,11 +3534,11 @@ export const ListSubmissionsRequest =
|
|
|
3534
3534
|
path: "/accounts/{account_id}/email-security/submissions",
|
|
3535
3535
|
})));
|
|
3536
3536
|
export const ListSubmissionsResponse =
|
|
3537
|
-
/*@__PURE__*/
|
|
3537
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3538
3538
|
result: Schema.Array(ListSubmissionsResponseResult),
|
|
3539
3539
|
resultInfo: Schema.optional(Schema.Union([ListInvestigatesResponseResultInfo, Schema.Null])),
|
|
3540
3540
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
3541
|
-
export const listSubmissions = /*@__PURE__*/
|
|
3541
|
+
export const listSubmissions = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3542
3542
|
input: ListSubmissionsRequest,
|
|
3543
3543
|
output: ListSubmissionsResponse,
|
|
3544
3544
|
errors: [],
|