@distilled.cloud/cloudflare 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
|
@@ -192,7 +192,7 @@ interface IpsArrayItem {
|
|
|
192
192
|
/** An IPv4 or IPv6 address. */
|
|
193
193
|
ip?: string | null;
|
|
194
194
|
}
|
|
195
|
-
const IpsArrayItem = /*@__PURE__*/
|
|
195
|
+
const IpsArrayItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
196
196
|
Schema.Struct({
|
|
197
197
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
198
198
|
ip: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -208,7 +208,7 @@ interface Membership {
|
|
|
208
208
|
/** The type of the membership. */
|
|
209
209
|
kind?: "zone" | "account" | (string & {}) | null;
|
|
210
210
|
}
|
|
211
|
-
const Membership = /*@__PURE__*/
|
|
211
|
+
const Membership = /*@__PURE__*/ Schema.suspend(() =>
|
|
212
212
|
Schema.Struct({
|
|
213
213
|
canDelete: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
214
214
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -246,7 +246,7 @@ interface ListAddressMapsResponseResult {
|
|
|
246
246
|
modifiedAt?: string | null;
|
|
247
247
|
}
|
|
248
248
|
const ListAddressMapsResponseResult =
|
|
249
|
-
/*@__PURE__*/
|
|
249
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
250
250
|
Schema.Struct({
|
|
251
251
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
252
252
|
canDelete: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -278,7 +278,7 @@ interface Membership2 {
|
|
|
278
278
|
/** The type of the membership. */
|
|
279
279
|
kind?: "zone" | "account" | (string & {}) | null;
|
|
280
280
|
}
|
|
281
|
-
const Membership2 = /*@__PURE__*/
|
|
281
|
+
const Membership2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
282
282
|
Schema.Struct({
|
|
283
283
|
identifier: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
284
284
|
kind: Schema.optional(
|
|
@@ -293,7 +293,7 @@ const Membership2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
293
293
|
interface Source {
|
|
294
294
|
pointer?: string | null;
|
|
295
295
|
}
|
|
296
|
-
const Source = /*@__PURE__*/
|
|
296
|
+
const Source = /*@__PURE__*/ Schema.suspend(() =>
|
|
297
297
|
Schema.Struct({
|
|
298
298
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
299
299
|
}),
|
|
@@ -305,7 +305,7 @@ interface Error2 {
|
|
|
305
305
|
documentationUrl?: string | null;
|
|
306
306
|
source?: { pointer?: string | null } | null;
|
|
307
307
|
}
|
|
308
|
-
const Error2 = /*@__PURE__*/
|
|
308
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
309
309
|
Schema.Struct({
|
|
310
310
|
code: Schema.Number,
|
|
311
311
|
message: Schema.String,
|
|
@@ -335,7 +335,7 @@ interface ResultInfo {
|
|
|
335
335
|
/** The number of total pages in the entire result set. */
|
|
336
336
|
totalPages?: number | null;
|
|
337
337
|
}
|
|
338
|
-
const ResultInfo = /*@__PURE__*/
|
|
338
|
+
const ResultInfo = /*@__PURE__*/ Schema.suspend(() =>
|
|
339
339
|
Schema.Struct({
|
|
340
340
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
341
341
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -389,67 +389,64 @@ interface ListPrefixesResponseResult {
|
|
|
389
389
|
/** State of one kind of validation for an IP prefix. */
|
|
390
390
|
rpkiValidationState?: string | null;
|
|
391
391
|
}
|
|
392
|
-
const ListPrefixesResponseResult = /*@__PURE__*/
|
|
393
|
-
(
|
|
394
|
-
Schema.
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
),
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
),
|
|
422
|
-
ownershipValidationState: Schema.optional(
|
|
423
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
424
|
-
),
|
|
425
|
-
ownershipValidationToken: Schema.optional(
|
|
426
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
427
|
-
),
|
|
428
|
-
rpkiValidationState: Schema.optional(
|
|
429
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
430
|
-
),
|
|
431
|
-
}).pipe(
|
|
432
|
-
Schema.encodeKeys({
|
|
433
|
-
id: "id",
|
|
434
|
-
accountId: "account_id",
|
|
435
|
-
advertised: "advertised",
|
|
436
|
-
advertisedModifiedAt: "advertised_modified_at",
|
|
437
|
-
approved: "approved",
|
|
438
|
-
asn: "asn",
|
|
439
|
-
cidr: "cidr",
|
|
440
|
-
createdAt: "created_at",
|
|
441
|
-
delegateLoaCreation: "delegate_loa_creation",
|
|
442
|
-
description: "description",
|
|
443
|
-
irrValidationState: "irr_validation_state",
|
|
444
|
-
loaDocumentId: "loa_document_id",
|
|
445
|
-
modifiedAt: "modified_at",
|
|
446
|
-
onDemandEnabled: "on_demand_enabled",
|
|
447
|
-
onDemandLocked: "on_demand_locked",
|
|
448
|
-
ownershipValidationState: "ownership_validation_state",
|
|
449
|
-
ownershipValidationToken: "ownership_validation_token",
|
|
450
|
-
rpkiValidationState: "rpki_validation_state",
|
|
451
|
-
}),
|
|
392
|
+
const ListPrefixesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
393
|
+
Schema.Struct({
|
|
394
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
395
|
+
accountId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
396
|
+
advertised: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
397
|
+
advertisedModifiedAt: Schema.optional(
|
|
398
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
399
|
+
),
|
|
400
|
+
approved: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
401
|
+
asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
402
|
+
cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
403
|
+
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
404
|
+
delegateLoaCreation: Schema.optional(
|
|
405
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
406
|
+
),
|
|
407
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
408
|
+
irrValidationState: Schema.optional(
|
|
409
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
410
|
+
),
|
|
411
|
+
loaDocumentId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
412
|
+
modifiedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
413
|
+
onDemandEnabled: Schema.optional(
|
|
414
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
415
|
+
),
|
|
416
|
+
onDemandLocked: Schema.optional(
|
|
417
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
418
|
+
),
|
|
419
|
+
ownershipValidationState: Schema.optional(
|
|
420
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
452
421
|
),
|
|
422
|
+
ownershipValidationToken: Schema.optional(
|
|
423
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
424
|
+
),
|
|
425
|
+
rpkiValidationState: Schema.optional(
|
|
426
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
427
|
+
),
|
|
428
|
+
}).pipe(
|
|
429
|
+
Schema.encodeKeys({
|
|
430
|
+
id: "id",
|
|
431
|
+
accountId: "account_id",
|
|
432
|
+
advertised: "advertised",
|
|
433
|
+
advertisedModifiedAt: "advertised_modified_at",
|
|
434
|
+
approved: "approved",
|
|
435
|
+
asn: "asn",
|
|
436
|
+
cidr: "cidr",
|
|
437
|
+
createdAt: "created_at",
|
|
438
|
+
delegateLoaCreation: "delegate_loa_creation",
|
|
439
|
+
description: "description",
|
|
440
|
+
irrValidationState: "irr_validation_state",
|
|
441
|
+
loaDocumentId: "loa_document_id",
|
|
442
|
+
modifiedAt: "modified_at",
|
|
443
|
+
onDemandEnabled: "on_demand_enabled",
|
|
444
|
+
onDemandLocked: "on_demand_locked",
|
|
445
|
+
ownershipValidationState: "ownership_validation_state",
|
|
446
|
+
ownershipValidationToken: "ownership_validation_token",
|
|
447
|
+
rpkiValidationState: "rpki_validation_state",
|
|
448
|
+
}),
|
|
449
|
+
),
|
|
453
450
|
) as unknown as Schema.Codec<ListPrefixesResponseResult>;
|
|
454
451
|
|
|
455
452
|
interface BgpsignalOpts {
|
|
@@ -458,7 +455,7 @@ interface BgpsignalOpts {
|
|
|
458
455
|
/** Last time BGP signaling control was toggled. This field is null if BGP signaling has never been enabled. */
|
|
459
456
|
modifiedAt?: string | null;
|
|
460
457
|
}
|
|
461
|
-
const BgpsignalOpts = /*@__PURE__*/
|
|
458
|
+
const BgpsignalOpts = /*@__PURE__*/ Schema.suspend(() =>
|
|
462
459
|
Schema.Struct({
|
|
463
460
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
464
461
|
modifiedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -475,7 +472,7 @@ interface OnDemand {
|
|
|
475
472
|
/** Whether the advertisement status of the prefix is locked, meaning it cannot be changed. */
|
|
476
473
|
onDemandLocked?: boolean | null;
|
|
477
474
|
}
|
|
478
|
-
const OnDemand = /*@__PURE__*/
|
|
475
|
+
const OnDemand = /*@__PURE__*/ Schema.suspend(() =>
|
|
479
476
|
Schema.Struct({
|
|
480
477
|
advertised: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
481
478
|
advertisedModifiedAt: Schema.optional(
|
|
@@ -522,7 +519,7 @@ interface ListPrefixBgpPrefixesResponseResult {
|
|
|
522
519
|
} | null;
|
|
523
520
|
}
|
|
524
521
|
const ListPrefixBgpPrefixesResponseResult =
|
|
525
|
-
/*@__PURE__*/
|
|
522
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
526
523
|
Schema.Struct({
|
|
527
524
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
528
525
|
asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -557,7 +554,7 @@ const ListPrefixBgpPrefixesResponseResult =
|
|
|
557
554
|
interface OnDemand2 {
|
|
558
555
|
advertised?: boolean | null;
|
|
559
556
|
}
|
|
560
|
-
const OnDemand2 = /*@__PURE__*/
|
|
557
|
+
const OnDemand2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
561
558
|
Schema.Struct({
|
|
562
559
|
advertised: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
563
560
|
}),
|
|
@@ -576,7 +573,7 @@ interface ListPrefixDelegationsResponseResult {
|
|
|
576
573
|
parentPrefixId?: string | null;
|
|
577
574
|
}
|
|
578
575
|
const ListPrefixDelegationsResponseResult =
|
|
579
|
-
/*@__PURE__*/
|
|
576
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
580
577
|
Schema.Struct({
|
|
581
578
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
582
579
|
cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -604,7 +601,7 @@ interface Provisioning {
|
|
|
604
601
|
/** When a binding has been deployed to a majority of Cloudflare datacenters, the binding will become active and can be used with its associated service. */
|
|
605
602
|
state?: "provisioning" | "active" | (string & {}) | null;
|
|
606
603
|
}
|
|
607
|
-
const Provisioning = /*@__PURE__*/
|
|
604
|
+
const Provisioning = /*@__PURE__*/ Schema.suspend(() =>
|
|
608
605
|
Schema.Struct({
|
|
609
606
|
state: Schema.optional(
|
|
610
607
|
Schema.Union([
|
|
@@ -633,7 +630,7 @@ interface ListPrefixServiceBindingsResponseResult {
|
|
|
633
630
|
serviceName?: string | null;
|
|
634
631
|
}
|
|
635
632
|
const ListPrefixServiceBindingsResponseResult =
|
|
636
|
-
/*@__PURE__*/
|
|
633
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
637
634
|
Schema.Struct({
|
|
638
635
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
639
636
|
cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -662,7 +659,7 @@ interface ListRegionalHostnamesResponseResult {
|
|
|
662
659
|
routing: string;
|
|
663
660
|
}
|
|
664
661
|
const ListRegionalHostnamesResponseResult =
|
|
665
|
-
/*@__PURE__*/
|
|
662
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
666
663
|
Schema.Struct({
|
|
667
664
|
createdOn: Schema.String,
|
|
668
665
|
hostname: Schema.String,
|
|
@@ -685,7 +682,7 @@ interface ListRegionalHostnameRegionsResponseResult {
|
|
|
685
682
|
label?: string | null;
|
|
686
683
|
}
|
|
687
684
|
const ListRegionalHostnameRegionsResponseResult =
|
|
688
|
-
/*@__PURE__*/
|
|
685
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
689
686
|
Schema.Struct({
|
|
690
687
|
key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
691
688
|
label: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -698,12 +695,11 @@ interface ListServicesResponseResult {
|
|
|
698
695
|
/** Name of a service running on the Cloudflare network */
|
|
699
696
|
name?: string | null;
|
|
700
697
|
}
|
|
701
|
-
const ListServicesResponseResult = /*@__PURE__*/
|
|
702
|
-
(
|
|
703
|
-
Schema.
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
}),
|
|
698
|
+
const ListServicesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
699
|
+
Schema.Struct({
|
|
700
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
701
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
702
|
+
}),
|
|
707
703
|
) as unknown as Schema.Codec<ListServicesResponseResult>;
|
|
708
704
|
|
|
709
705
|
// =============================================================================
|
|
@@ -716,17 +712,16 @@ export interface GetAddressMapRequest {
|
|
|
716
712
|
accountId: string;
|
|
717
713
|
}
|
|
718
714
|
|
|
719
|
-
export const GetAddressMapRequest = /*@__PURE__*/
|
|
720
|
-
(
|
|
721
|
-
Schema.
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
),
|
|
715
|
+
export const GetAddressMapRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
716
|
+
Schema.Struct({
|
|
717
|
+
addressMapId: Schema.String.pipe(T.HttpPath("addressMapId")),
|
|
718
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
719
|
+
}).pipe(
|
|
720
|
+
T.Http({
|
|
721
|
+
method: "GET",
|
|
722
|
+
path: "/accounts/{account_id}/addressing/address_maps/{addressMapId}",
|
|
723
|
+
}),
|
|
724
|
+
),
|
|
730
725
|
) as unknown as Schema.Codec<GetAddressMapRequest>;
|
|
731
726
|
|
|
732
727
|
export interface GetAddressMapResponse {
|
|
@@ -757,41 +752,38 @@ export interface GetAddressMapResponse {
|
|
|
757
752
|
modifiedAt?: string | null;
|
|
758
753
|
}
|
|
759
754
|
|
|
760
|
-
export const GetAddressMapResponse = /*@__PURE__*/
|
|
761
|
-
(
|
|
762
|
-
Schema.
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
}),
|
|
793
|
-
)
|
|
794
|
-
.pipe(T.ResponsePath("result")),
|
|
755
|
+
export const GetAddressMapResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
756
|
+
Schema.Struct({
|
|
757
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
758
|
+
canDelete: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
759
|
+
canModifyIps: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
760
|
+
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
761
|
+
defaultSni: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
762
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
763
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
764
|
+
ips: Schema.optional(
|
|
765
|
+
Schema.Union([Schema.Array(IpsArrayItem), Schema.Null]),
|
|
766
|
+
),
|
|
767
|
+
memberships: Schema.optional(
|
|
768
|
+
Schema.Union([Schema.Array(Membership), Schema.Null]),
|
|
769
|
+
),
|
|
770
|
+
modifiedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
771
|
+
})
|
|
772
|
+
.pipe(
|
|
773
|
+
Schema.encodeKeys({
|
|
774
|
+
id: "id",
|
|
775
|
+
canDelete: "can_delete",
|
|
776
|
+
canModifyIps: "can_modify_ips",
|
|
777
|
+
createdAt: "created_at",
|
|
778
|
+
defaultSni: "default_sni",
|
|
779
|
+
description: "description",
|
|
780
|
+
enabled: "enabled",
|
|
781
|
+
ips: "ips",
|
|
782
|
+
memberships: "memberships",
|
|
783
|
+
modifiedAt: "modified_at",
|
|
784
|
+
}),
|
|
785
|
+
)
|
|
786
|
+
.pipe(T.ResponsePath("result")),
|
|
795
787
|
) as unknown as Schema.Codec<GetAddressMapResponse>;
|
|
796
788
|
|
|
797
789
|
export type GetAddressMapError =
|
|
@@ -805,7 +797,7 @@ export const getAddressMap: API.OperationMethod<
|
|
|
805
797
|
GetAddressMapResponse,
|
|
806
798
|
GetAddressMapError,
|
|
807
799
|
Credentials | HttpClient.HttpClient
|
|
808
|
-
> = /*@__PURE__*/
|
|
800
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
809
801
|
input: GetAddressMapRequest,
|
|
810
802
|
output: GetAddressMapResponse,
|
|
811
803
|
errors: [AddressMapNotFound, InvalidAccountId, Forbidden],
|
|
@@ -817,7 +809,7 @@ export interface ListAddressMapsRequest {
|
|
|
817
809
|
}
|
|
818
810
|
|
|
819
811
|
export const ListAddressMapsRequest =
|
|
820
|
-
/*@__PURE__*/
|
|
812
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
821
813
|
Schema.Struct({
|
|
822
814
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
823
815
|
}).pipe(
|
|
@@ -842,7 +834,7 @@ export interface ListAddressMapsResponse {
|
|
|
842
834
|
}
|
|
843
835
|
|
|
844
836
|
export const ListAddressMapsResponse =
|
|
845
|
-
/*@__PURE__*/
|
|
837
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
846
838
|
Schema.Struct({
|
|
847
839
|
result: Schema.Array(ListAddressMapsResponseResult),
|
|
848
840
|
}),
|
|
@@ -855,7 +847,7 @@ export const listAddressMaps: API.PaginatedOperationMethod<
|
|
|
855
847
|
ListAddressMapsResponse,
|
|
856
848
|
ListAddressMapsError,
|
|
857
849
|
Credentials | HttpClient.HttpClient
|
|
858
|
-
> = /*@__PURE__*/
|
|
850
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
859
851
|
input: ListAddressMapsRequest,
|
|
860
852
|
output: ListAddressMapsResponse,
|
|
861
853
|
errors: [],
|
|
@@ -882,7 +874,7 @@ export interface CreateAddressMapRequest {
|
|
|
882
874
|
}
|
|
883
875
|
|
|
884
876
|
export const CreateAddressMapRequest =
|
|
885
|
-
/*@__PURE__*/
|
|
877
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
886
878
|
Schema.Struct({
|
|
887
879
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
888
880
|
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -926,7 +918,7 @@ export interface CreateAddressMapResponse {
|
|
|
926
918
|
}
|
|
927
919
|
|
|
928
920
|
export const CreateAddressMapResponse =
|
|
929
|
-
/*@__PURE__*/
|
|
921
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
930
922
|
Schema.Struct({
|
|
931
923
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
932
924
|
canDelete: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -973,7 +965,7 @@ export const createAddressMap: API.OperationMethod<
|
|
|
973
965
|
CreateAddressMapResponse,
|
|
974
966
|
CreateAddressMapError,
|
|
975
967
|
Credentials | HttpClient.HttpClient
|
|
976
|
-
> = /*@__PURE__*/
|
|
968
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
977
969
|
input: CreateAddressMapRequest,
|
|
978
970
|
output: CreateAddressMapResponse,
|
|
979
971
|
errors: [FeatureNotEnabled, InvalidAccountId, Forbidden],
|
|
@@ -992,7 +984,7 @@ export interface PatchAddressMapRequest {
|
|
|
992
984
|
}
|
|
993
985
|
|
|
994
986
|
export const PatchAddressMapRequest =
|
|
995
|
-
/*@__PURE__*/
|
|
987
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
996
988
|
Schema.Struct({
|
|
997
989
|
addressMapId: Schema.String.pipe(T.HttpPath("addressMapId")),
|
|
998
990
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1030,7 +1022,7 @@ export interface PatchAddressMapResponse {
|
|
|
1030
1022
|
}
|
|
1031
1023
|
|
|
1032
1024
|
export const PatchAddressMapResponse =
|
|
1033
|
-
/*@__PURE__*/
|
|
1025
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1034
1026
|
Schema.Struct({
|
|
1035
1027
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1036
1028
|
canDelete: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -1069,7 +1061,7 @@ export const patchAddressMap: API.OperationMethod<
|
|
|
1069
1061
|
PatchAddressMapResponse,
|
|
1070
1062
|
PatchAddressMapError,
|
|
1071
1063
|
Credentials | HttpClient.HttpClient
|
|
1072
|
-
> = /*@__PURE__*/
|
|
1064
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1073
1065
|
input: PatchAddressMapRequest,
|
|
1074
1066
|
output: PatchAddressMapResponse,
|
|
1075
1067
|
errors: [MethodNotAllowed, FeatureNotEnabled, InvalidAccountId],
|
|
@@ -1082,7 +1074,7 @@ export interface DeleteAddressMapRequest {
|
|
|
1082
1074
|
}
|
|
1083
1075
|
|
|
1084
1076
|
export const DeleteAddressMapRequest =
|
|
1085
|
-
/*@__PURE__*/
|
|
1077
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1086
1078
|
Schema.Struct({
|
|
1087
1079
|
addressMapId: Schema.String.pipe(T.HttpPath("addressMapId")),
|
|
1088
1080
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1119,7 +1111,7 @@ export interface DeleteAddressMapResponse {
|
|
|
1119
1111
|
}
|
|
1120
1112
|
|
|
1121
1113
|
export const DeleteAddressMapResponse =
|
|
1122
|
-
/*@__PURE__*/
|
|
1114
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1123
1115
|
Schema.Struct({
|
|
1124
1116
|
errors: Schema.Array(Error2),
|
|
1125
1117
|
messages: Schema.Array(Error2),
|
|
@@ -1147,7 +1139,7 @@ export const deleteAddressMap: API.OperationMethod<
|
|
|
1147
1139
|
DeleteAddressMapResponse,
|
|
1148
1140
|
DeleteAddressMapError,
|
|
1149
1141
|
Credentials | HttpClient.HttpClient
|
|
1150
|
-
> = /*@__PURE__*/
|
|
1142
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1151
1143
|
input: DeleteAddressMapRequest,
|
|
1152
1144
|
output: DeleteAddressMapResponse,
|
|
1153
1145
|
errors: [
|
|
@@ -1171,7 +1163,7 @@ export interface PutAddressMapAccountRequest {
|
|
|
1171
1163
|
}
|
|
1172
1164
|
|
|
1173
1165
|
export const PutAddressMapAccountRequest =
|
|
1174
|
-
/*@__PURE__*/
|
|
1166
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1175
1167
|
Schema.Struct({
|
|
1176
1168
|
addressMapId: Schema.String.pipe(T.HttpPath("addressMapId")),
|
|
1177
1169
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1209,7 +1201,7 @@ export interface PutAddressMapAccountResponse {
|
|
|
1209
1201
|
}
|
|
1210
1202
|
|
|
1211
1203
|
export const PutAddressMapAccountResponse =
|
|
1212
|
-
/*@__PURE__*/
|
|
1204
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1213
1205
|
Schema.Struct({
|
|
1214
1206
|
errors: Schema.Array(Error2),
|
|
1215
1207
|
messages: Schema.Array(Error2),
|
|
@@ -1236,7 +1228,7 @@ export const putAddressMapAccount: API.OperationMethod<
|
|
|
1236
1228
|
PutAddressMapAccountResponse,
|
|
1237
1229
|
PutAddressMapAccountError,
|
|
1238
1230
|
Credentials | HttpClient.HttpClient
|
|
1239
|
-
> = /*@__PURE__*/
|
|
1231
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1240
1232
|
input: PutAddressMapAccountRequest,
|
|
1241
1233
|
output: PutAddressMapAccountResponse,
|
|
1242
1234
|
errors: [MethodNotAllowed, FeatureNotEnabled, InvalidAccountId],
|
|
@@ -1249,7 +1241,7 @@ export interface DeleteAddressMapAccountRequest {
|
|
|
1249
1241
|
}
|
|
1250
1242
|
|
|
1251
1243
|
export const DeleteAddressMapAccountRequest =
|
|
1252
|
-
/*@__PURE__*/
|
|
1244
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1253
1245
|
Schema.Struct({
|
|
1254
1246
|
addressMapId: Schema.String.pipe(T.HttpPath("addressMapId")),
|
|
1255
1247
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1286,7 +1278,7 @@ export interface DeleteAddressMapAccountResponse {
|
|
|
1286
1278
|
}
|
|
1287
1279
|
|
|
1288
1280
|
export const DeleteAddressMapAccountResponse =
|
|
1289
|
-
/*@__PURE__*/
|
|
1281
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1290
1282
|
Schema.Struct({
|
|
1291
1283
|
errors: Schema.Array(Error2),
|
|
1292
1284
|
messages: Schema.Array(Error2),
|
|
@@ -1313,7 +1305,7 @@ export const deleteAddressMapAccount: API.OperationMethod<
|
|
|
1313
1305
|
DeleteAddressMapAccountResponse,
|
|
1314
1306
|
DeleteAddressMapAccountError,
|
|
1315
1307
|
Credentials | HttpClient.HttpClient
|
|
1316
|
-
> = /*@__PURE__*/
|
|
1308
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1317
1309
|
input: DeleteAddressMapAccountRequest,
|
|
1318
1310
|
output: DeleteAddressMapAccountResponse,
|
|
1319
1311
|
errors: [MethodNotAllowed, FeatureNotEnabled, InvalidAccountId],
|
|
@@ -1333,7 +1325,7 @@ export interface PutAddressMapIpRequest {
|
|
|
1333
1325
|
}
|
|
1334
1326
|
|
|
1335
1327
|
export const PutAddressMapIpRequest =
|
|
1336
|
-
/*@__PURE__*/
|
|
1328
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1337
1329
|
Schema.Struct({
|
|
1338
1330
|
addressMapId: Schema.String.pipe(T.HttpPath("addressMapId")),
|
|
1339
1331
|
ipAddress: Schema.String.pipe(T.HttpPath("ipAddress")),
|
|
@@ -1372,7 +1364,7 @@ export interface PutAddressMapIpResponse {
|
|
|
1372
1364
|
}
|
|
1373
1365
|
|
|
1374
1366
|
export const PutAddressMapIpResponse =
|
|
1375
|
-
/*@__PURE__*/
|
|
1367
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1376
1368
|
Schema.Struct({
|
|
1377
1369
|
errors: Schema.Array(Error2),
|
|
1378
1370
|
messages: Schema.Array(Error2),
|
|
@@ -1400,7 +1392,7 @@ export const putAddressMapIp: API.OperationMethod<
|
|
|
1400
1392
|
PutAddressMapIpResponse,
|
|
1401
1393
|
PutAddressMapIpError,
|
|
1402
1394
|
Credentials | HttpClient.HttpClient
|
|
1403
|
-
> = /*@__PURE__*/
|
|
1395
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1404
1396
|
input: PutAddressMapIpRequest,
|
|
1405
1397
|
output: PutAddressMapIpResponse,
|
|
1406
1398
|
errors: [
|
|
@@ -1419,7 +1411,7 @@ export interface DeleteAddressMapIpRequest {
|
|
|
1419
1411
|
}
|
|
1420
1412
|
|
|
1421
1413
|
export const DeleteAddressMapIpRequest =
|
|
1422
|
-
/*@__PURE__*/
|
|
1414
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1423
1415
|
Schema.Struct({
|
|
1424
1416
|
addressMapId: Schema.String.pipe(T.HttpPath("addressMapId")),
|
|
1425
1417
|
ipAddress: Schema.String.pipe(T.HttpPath("ipAddress")),
|
|
@@ -1457,7 +1449,7 @@ export interface DeleteAddressMapIpResponse {
|
|
|
1457
1449
|
}
|
|
1458
1450
|
|
|
1459
1451
|
export const DeleteAddressMapIpResponse =
|
|
1460
|
-
/*@__PURE__*/
|
|
1452
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1461
1453
|
Schema.Struct({
|
|
1462
1454
|
errors: Schema.Array(Error2),
|
|
1463
1455
|
messages: Schema.Array(Error2),
|
|
@@ -1485,7 +1477,7 @@ export const deleteAddressMapIp: API.OperationMethod<
|
|
|
1485
1477
|
DeleteAddressMapIpResponse,
|
|
1486
1478
|
DeleteAddressMapIpError,
|
|
1487
1479
|
Credentials | HttpClient.HttpClient
|
|
1488
|
-
> = /*@__PURE__*/
|
|
1480
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1489
1481
|
input: DeleteAddressMapIpRequest,
|
|
1490
1482
|
output: DeleteAddressMapIpResponse,
|
|
1491
1483
|
errors: [
|
|
@@ -1511,7 +1503,7 @@ export interface PutAddressMapZoneRequest {
|
|
|
1511
1503
|
}
|
|
1512
1504
|
|
|
1513
1505
|
export const PutAddressMapZoneRequest =
|
|
1514
|
-
/*@__PURE__*/
|
|
1506
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1515
1507
|
Schema.Struct({
|
|
1516
1508
|
addressMapId: Schema.String.pipe(T.HttpPath("addressMapId")),
|
|
1517
1509
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -1550,7 +1542,7 @@ export interface PutAddressMapZoneResponse {
|
|
|
1550
1542
|
}
|
|
1551
1543
|
|
|
1552
1544
|
export const PutAddressMapZoneResponse =
|
|
1553
|
-
/*@__PURE__*/
|
|
1545
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1554
1546
|
Schema.Struct({
|
|
1555
1547
|
errors: Schema.Array(Error2),
|
|
1556
1548
|
messages: Schema.Array(Error2),
|
|
@@ -1577,7 +1569,7 @@ export const putAddressMapZone: API.OperationMethod<
|
|
|
1577
1569
|
PutAddressMapZoneResponse,
|
|
1578
1570
|
PutAddressMapZoneError,
|
|
1579
1571
|
Credentials | HttpClient.HttpClient
|
|
1580
|
-
> = /*@__PURE__*/
|
|
1572
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1581
1573
|
input: PutAddressMapZoneRequest,
|
|
1582
1574
|
output: PutAddressMapZoneResponse,
|
|
1583
1575
|
errors: [MethodNotAllowed, FeatureNotEnabled, InvalidAccountId],
|
|
@@ -1592,7 +1584,7 @@ export interface DeleteAddressMapZoneRequest {
|
|
|
1592
1584
|
}
|
|
1593
1585
|
|
|
1594
1586
|
export const DeleteAddressMapZoneRequest =
|
|
1595
|
-
/*@__PURE__*/
|
|
1587
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1596
1588
|
Schema.Struct({
|
|
1597
1589
|
addressMapId: Schema.String.pipe(T.HttpPath("addressMapId")),
|
|
1598
1590
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -1630,7 +1622,7 @@ export interface DeleteAddressMapZoneResponse {
|
|
|
1630
1622
|
}
|
|
1631
1623
|
|
|
1632
1624
|
export const DeleteAddressMapZoneResponse =
|
|
1633
|
-
/*@__PURE__*/
|
|
1625
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1634
1626
|
Schema.Struct({
|
|
1635
1627
|
errors: Schema.Array(Error2),
|
|
1636
1628
|
messages: Schema.Array(Error2),
|
|
@@ -1657,7 +1649,7 @@ export const deleteAddressMapZone: API.OperationMethod<
|
|
|
1657
1649
|
DeleteAddressMapZoneResponse,
|
|
1658
1650
|
DeleteAddressMapZoneError,
|
|
1659
1651
|
Credentials | HttpClient.HttpClient
|
|
1660
|
-
> = /*@__PURE__*/
|
|
1652
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1661
1653
|
input: DeleteAddressMapZoneRequest,
|
|
1662
1654
|
output: DeleteAddressMapZoneResponse,
|
|
1663
1655
|
errors: [MethodNotAllowed, FeatureNotEnabled, InvalidAccountId],
|
|
@@ -1673,23 +1665,22 @@ export interface GetLoaDocumentRequest {
|
|
|
1673
1665
|
accountId: string;
|
|
1674
1666
|
}
|
|
1675
1667
|
|
|
1676
|
-
export const GetLoaDocumentRequest = /*@__PURE__*/
|
|
1677
|
-
(
|
|
1678
|
-
Schema.
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
),
|
|
1668
|
+
export const GetLoaDocumentRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1669
|
+
Schema.Struct({
|
|
1670
|
+
loaDocumentId: Schema.String.pipe(T.HttpPath("loaDocumentId")),
|
|
1671
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1672
|
+
}).pipe(
|
|
1673
|
+
T.Http({
|
|
1674
|
+
method: "GET",
|
|
1675
|
+
path: "/accounts/{account_id}/addressing/loa_documents/{loaDocumentId}/download",
|
|
1676
|
+
}),
|
|
1677
|
+
),
|
|
1687
1678
|
) as unknown as Schema.Codec<GetLoaDocumentRequest>;
|
|
1688
1679
|
|
|
1689
1680
|
export type GetLoaDocumentResponse = unknown;
|
|
1690
1681
|
|
|
1691
1682
|
export const GetLoaDocumentResponse =
|
|
1692
|
-
/*@__PURE__*/
|
|
1683
|
+
/*@__PURE__*/ Schema.suspend(
|
|
1693
1684
|
() => Schema.Unknown,
|
|
1694
1685
|
) as unknown as Schema.Codec<GetLoaDocumentResponse>;
|
|
1695
1686
|
|
|
@@ -1703,7 +1694,7 @@ export const getLoaDocument: API.OperationMethod<
|
|
|
1703
1694
|
GetLoaDocumentResponse,
|
|
1704
1695
|
GetLoaDocumentError,
|
|
1705
1696
|
Credentials | HttpClient.HttpClient
|
|
1706
|
-
> = /*@__PURE__*/
|
|
1697
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1707
1698
|
input: GetLoaDocumentRequest,
|
|
1708
1699
|
output: GetLoaDocumentResponse,
|
|
1709
1700
|
errors: [LoaDocumentNotFound, InvalidAccountId],
|
|
@@ -1717,7 +1708,7 @@ export interface CreateLoaDocumentRequest {
|
|
|
1717
1708
|
}
|
|
1718
1709
|
|
|
1719
1710
|
export const CreateLoaDocumentRequest =
|
|
1720
|
-
/*@__PURE__*/
|
|
1711
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1721
1712
|
Schema.Struct({
|
|
1722
1713
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1723
1714
|
loaDocument: Schema.String,
|
|
@@ -1750,7 +1741,7 @@ export interface CreateLoaDocumentResponse {
|
|
|
1750
1741
|
}
|
|
1751
1742
|
|
|
1752
1743
|
export const CreateLoaDocumentResponse =
|
|
1753
|
-
/*@__PURE__*/
|
|
1744
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1754
1745
|
Schema.Struct({
|
|
1755
1746
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1756
1747
|
accountId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1788,7 +1779,7 @@ export const createLoaDocument: API.OperationMethod<
|
|
|
1788
1779
|
CreateLoaDocumentResponse,
|
|
1789
1780
|
CreateLoaDocumentError,
|
|
1790
1781
|
Credentials | HttpClient.HttpClient
|
|
1791
|
-
> = /*@__PURE__*/
|
|
1782
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1792
1783
|
input: CreateLoaDocumentRequest,
|
|
1793
1784
|
output: CreateLoaDocumentResponse,
|
|
1794
1785
|
errors: [InvalidAccountId, InvalidLoaForm],
|
|
@@ -1804,7 +1795,7 @@ export interface GetPrefixRequest {
|
|
|
1804
1795
|
accountId: string;
|
|
1805
1796
|
}
|
|
1806
1797
|
|
|
1807
|
-
export const GetPrefixRequest = /*@__PURE__*/
|
|
1798
|
+
export const GetPrefixRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1808
1799
|
Schema.Struct({
|
|
1809
1800
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
1810
1801
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1853,69 +1844,66 @@ export interface GetPrefixResponse {
|
|
|
1853
1844
|
rpkiValidationState?: string | null;
|
|
1854
1845
|
}
|
|
1855
1846
|
|
|
1856
|
-
export const GetPrefixResponse = /*@__PURE__*/
|
|
1857
|
-
(
|
|
1858
|
-
Schema.
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
),
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
}),
|
|
1917
|
-
)
|
|
1918
|
-
.pipe(T.ResponsePath("result")),
|
|
1847
|
+
export const GetPrefixResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1848
|
+
Schema.Struct({
|
|
1849
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1850
|
+
accountId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1851
|
+
advertised: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1852
|
+
advertisedModifiedAt: Schema.optional(
|
|
1853
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1854
|
+
),
|
|
1855
|
+
approved: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1856
|
+
asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1857
|
+
cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1858
|
+
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1859
|
+
delegateLoaCreation: Schema.optional(
|
|
1860
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1861
|
+
),
|
|
1862
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1863
|
+
irrValidationState: Schema.optional(
|
|
1864
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1865
|
+
),
|
|
1866
|
+
loaDocumentId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1867
|
+
modifiedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1868
|
+
onDemandEnabled: Schema.optional(
|
|
1869
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1870
|
+
),
|
|
1871
|
+
onDemandLocked: Schema.optional(
|
|
1872
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1873
|
+
),
|
|
1874
|
+
ownershipValidationState: Schema.optional(
|
|
1875
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1876
|
+
),
|
|
1877
|
+
ownershipValidationToken: Schema.optional(
|
|
1878
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1879
|
+
),
|
|
1880
|
+
rpkiValidationState: Schema.optional(
|
|
1881
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1882
|
+
),
|
|
1883
|
+
})
|
|
1884
|
+
.pipe(
|
|
1885
|
+
Schema.encodeKeys({
|
|
1886
|
+
id: "id",
|
|
1887
|
+
accountId: "account_id",
|
|
1888
|
+
advertised: "advertised",
|
|
1889
|
+
advertisedModifiedAt: "advertised_modified_at",
|
|
1890
|
+
approved: "approved",
|
|
1891
|
+
asn: "asn",
|
|
1892
|
+
cidr: "cidr",
|
|
1893
|
+
createdAt: "created_at",
|
|
1894
|
+
delegateLoaCreation: "delegate_loa_creation",
|
|
1895
|
+
description: "description",
|
|
1896
|
+
irrValidationState: "irr_validation_state",
|
|
1897
|
+
loaDocumentId: "loa_document_id",
|
|
1898
|
+
modifiedAt: "modified_at",
|
|
1899
|
+
onDemandEnabled: "on_demand_enabled",
|
|
1900
|
+
onDemandLocked: "on_demand_locked",
|
|
1901
|
+
ownershipValidationState: "ownership_validation_state",
|
|
1902
|
+
ownershipValidationToken: "ownership_validation_token",
|
|
1903
|
+
rpkiValidationState: "rpki_validation_state",
|
|
1904
|
+
}),
|
|
1905
|
+
)
|
|
1906
|
+
.pipe(T.ResponsePath("result")),
|
|
1919
1907
|
) as unknown as Schema.Codec<GetPrefixResponse>;
|
|
1920
1908
|
|
|
1921
1909
|
export type GetPrefixError = DefaultErrors | PrefixNotFound | InvalidAccountId;
|
|
@@ -1925,7 +1913,7 @@ export const getPrefix: API.OperationMethod<
|
|
|
1925
1913
|
GetPrefixResponse,
|
|
1926
1914
|
GetPrefixError,
|
|
1927
1915
|
Credentials | HttpClient.HttpClient
|
|
1928
|
-
> = /*@__PURE__*/
|
|
1916
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1929
1917
|
input: GetPrefixRequest,
|
|
1930
1918
|
output: GetPrefixResponse,
|
|
1931
1919
|
errors: [PrefixNotFound, InvalidAccountId],
|
|
@@ -1936,16 +1924,15 @@ export interface ListPrefixesRequest {
|
|
|
1936
1924
|
accountId: string;
|
|
1937
1925
|
}
|
|
1938
1926
|
|
|
1939
|
-
export const ListPrefixesRequest = /*@__PURE__*/
|
|
1940
|
-
(
|
|
1941
|
-
Schema.
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
),
|
|
1927
|
+
export const ListPrefixesRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1928
|
+
Schema.Struct({
|
|
1929
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1930
|
+
}).pipe(
|
|
1931
|
+
T.Http({
|
|
1932
|
+
method: "GET",
|
|
1933
|
+
path: "/accounts/{account_id}/addressing/prefixes",
|
|
1934
|
+
}),
|
|
1935
|
+
),
|
|
1949
1936
|
) as unknown as Schema.Codec<ListPrefixesRequest>;
|
|
1950
1937
|
|
|
1951
1938
|
export interface ListPrefixesResponse {
|
|
@@ -1971,11 +1958,10 @@ export interface ListPrefixesResponse {
|
|
|
1971
1958
|
}[];
|
|
1972
1959
|
}
|
|
1973
1960
|
|
|
1974
|
-
export const ListPrefixesResponse = /*@__PURE__*/
|
|
1975
|
-
(
|
|
1976
|
-
Schema.
|
|
1977
|
-
|
|
1978
|
-
}),
|
|
1961
|
+
export const ListPrefixesResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1962
|
+
Schema.Struct({
|
|
1963
|
+
result: Schema.Array(ListPrefixesResponseResult),
|
|
1964
|
+
}),
|
|
1979
1965
|
) as unknown as Schema.Codec<ListPrefixesResponse>;
|
|
1980
1966
|
|
|
1981
1967
|
export type ListPrefixesError = DefaultErrors;
|
|
@@ -1985,7 +1971,7 @@ export const listPrefixes: API.PaginatedOperationMethod<
|
|
|
1985
1971
|
ListPrefixesResponse,
|
|
1986
1972
|
ListPrefixesError,
|
|
1987
1973
|
Credentials | HttpClient.HttpClient
|
|
1988
|
-
> = /*@__PURE__*/
|
|
1974
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1989
1975
|
input: ListPrefixesRequest,
|
|
1990
1976
|
output: ListPrefixesResponse,
|
|
1991
1977
|
errors: [],
|
|
@@ -2010,30 +1996,27 @@ export interface CreatePrefixRequest {
|
|
|
2010
1996
|
loaDocumentId?: string | null;
|
|
2011
1997
|
}
|
|
2012
1998
|
|
|
2013
|
-
export const CreatePrefixRequest = /*@__PURE__*/
|
|
2014
|
-
(
|
|
2015
|
-
Schema.
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
}
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
path: "/accounts/{account_id}/addressing/prefixes",
|
|
2035
|
-
}),
|
|
2036
|
-
),
|
|
1999
|
+
export const CreatePrefixRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2000
|
+
Schema.Struct({
|
|
2001
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2002
|
+
asn: Schema.Number,
|
|
2003
|
+
cidr: Schema.String,
|
|
2004
|
+
delegateLoaCreation: Schema.optional(Schema.Boolean),
|
|
2005
|
+
description: Schema.optional(Schema.String),
|
|
2006
|
+
loaDocumentId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2007
|
+
}).pipe(
|
|
2008
|
+
Schema.encodeKeys({
|
|
2009
|
+
asn: "asn",
|
|
2010
|
+
cidr: "cidr",
|
|
2011
|
+
delegateLoaCreation: "delegate_loa_creation",
|
|
2012
|
+
description: "description",
|
|
2013
|
+
loaDocumentId: "loa_document_id",
|
|
2014
|
+
}),
|
|
2015
|
+
T.Http({
|
|
2016
|
+
method: "POST",
|
|
2017
|
+
path: "/accounts/{account_id}/addressing/prefixes",
|
|
2018
|
+
}),
|
|
2019
|
+
),
|
|
2037
2020
|
) as unknown as Schema.Codec<CreatePrefixRequest>;
|
|
2038
2021
|
|
|
2039
2022
|
export interface CreatePrefixResponse {
|
|
@@ -2073,69 +2056,66 @@ export interface CreatePrefixResponse {
|
|
|
2073
2056
|
rpkiValidationState?: string | null;
|
|
2074
2057
|
}
|
|
2075
2058
|
|
|
2076
|
-
export const CreatePrefixResponse = /*@__PURE__*/
|
|
2077
|
-
(
|
|
2078
|
-
Schema.
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
),
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
}),
|
|
2137
|
-
)
|
|
2138
|
-
.pipe(T.ResponsePath("result")),
|
|
2059
|
+
export const CreatePrefixResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2060
|
+
Schema.Struct({
|
|
2061
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2062
|
+
accountId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2063
|
+
advertised: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2064
|
+
advertisedModifiedAt: Schema.optional(
|
|
2065
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2066
|
+
),
|
|
2067
|
+
approved: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2068
|
+
asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2069
|
+
cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2070
|
+
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2071
|
+
delegateLoaCreation: Schema.optional(
|
|
2072
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2073
|
+
),
|
|
2074
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2075
|
+
irrValidationState: Schema.optional(
|
|
2076
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2077
|
+
),
|
|
2078
|
+
loaDocumentId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2079
|
+
modifiedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2080
|
+
onDemandEnabled: Schema.optional(
|
|
2081
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2082
|
+
),
|
|
2083
|
+
onDemandLocked: Schema.optional(
|
|
2084
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2085
|
+
),
|
|
2086
|
+
ownershipValidationState: Schema.optional(
|
|
2087
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2088
|
+
),
|
|
2089
|
+
ownershipValidationToken: Schema.optional(
|
|
2090
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2091
|
+
),
|
|
2092
|
+
rpkiValidationState: Schema.optional(
|
|
2093
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2094
|
+
),
|
|
2095
|
+
})
|
|
2096
|
+
.pipe(
|
|
2097
|
+
Schema.encodeKeys({
|
|
2098
|
+
id: "id",
|
|
2099
|
+
accountId: "account_id",
|
|
2100
|
+
advertised: "advertised",
|
|
2101
|
+
advertisedModifiedAt: "advertised_modified_at",
|
|
2102
|
+
approved: "approved",
|
|
2103
|
+
asn: "asn",
|
|
2104
|
+
cidr: "cidr",
|
|
2105
|
+
createdAt: "created_at",
|
|
2106
|
+
delegateLoaCreation: "delegate_loa_creation",
|
|
2107
|
+
description: "description",
|
|
2108
|
+
irrValidationState: "irr_validation_state",
|
|
2109
|
+
loaDocumentId: "loa_document_id",
|
|
2110
|
+
modifiedAt: "modified_at",
|
|
2111
|
+
onDemandEnabled: "on_demand_enabled",
|
|
2112
|
+
onDemandLocked: "on_demand_locked",
|
|
2113
|
+
ownershipValidationState: "ownership_validation_state",
|
|
2114
|
+
ownershipValidationToken: "ownership_validation_token",
|
|
2115
|
+
rpkiValidationState: "rpki_validation_state",
|
|
2116
|
+
}),
|
|
2117
|
+
)
|
|
2118
|
+
.pipe(T.ResponsePath("result")),
|
|
2139
2119
|
) as unknown as Schema.Codec<CreatePrefixResponse>;
|
|
2140
2120
|
|
|
2141
2121
|
export type CreatePrefixError =
|
|
@@ -2149,7 +2129,7 @@ export const createPrefix: API.OperationMethod<
|
|
|
2149
2129
|
CreatePrefixResponse,
|
|
2150
2130
|
CreatePrefixError,
|
|
2151
2131
|
Credentials | HttpClient.HttpClient
|
|
2152
|
-
> = /*@__PURE__*/
|
|
2132
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2153
2133
|
input: CreatePrefixRequest,
|
|
2154
2134
|
output: CreatePrefixResponse,
|
|
2155
2135
|
errors: [InvalidAccountId, InvalidNetworkCidr, IrrEntryNotFound],
|
|
@@ -2163,18 +2143,17 @@ export interface PatchPrefixRequest {
|
|
|
2163
2143
|
description: string;
|
|
2164
2144
|
}
|
|
2165
2145
|
|
|
2166
|
-
export const PatchPrefixRequest = /*@__PURE__*/
|
|
2167
|
-
(
|
|
2168
|
-
Schema.
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
),
|
|
2146
|
+
export const PatchPrefixRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2147
|
+
Schema.Struct({
|
|
2148
|
+
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
2149
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2150
|
+
description: Schema.String,
|
|
2151
|
+
}).pipe(
|
|
2152
|
+
T.Http({
|
|
2153
|
+
method: "PATCH",
|
|
2154
|
+
path: "/accounts/{account_id}/addressing/prefixes/{prefixId}",
|
|
2155
|
+
}),
|
|
2156
|
+
),
|
|
2178
2157
|
) as unknown as Schema.Codec<PatchPrefixRequest>;
|
|
2179
2158
|
|
|
2180
2159
|
export interface PatchPrefixResponse {
|
|
@@ -2214,69 +2193,66 @@ export interface PatchPrefixResponse {
|
|
|
2214
2193
|
rpkiValidationState?: string | null;
|
|
2215
2194
|
}
|
|
2216
2195
|
|
|
2217
|
-
export const PatchPrefixResponse = /*@__PURE__*/
|
|
2218
|
-
(
|
|
2219
|
-
Schema.
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
),
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
}),
|
|
2278
|
-
)
|
|
2279
|
-
.pipe(T.ResponsePath("result")),
|
|
2196
|
+
export const PatchPrefixResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2197
|
+
Schema.Struct({
|
|
2198
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2199
|
+
accountId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2200
|
+
advertised: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2201
|
+
advertisedModifiedAt: Schema.optional(
|
|
2202
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2203
|
+
),
|
|
2204
|
+
approved: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2205
|
+
asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2206
|
+
cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2207
|
+
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2208
|
+
delegateLoaCreation: Schema.optional(
|
|
2209
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2210
|
+
),
|
|
2211
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2212
|
+
irrValidationState: Schema.optional(
|
|
2213
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2214
|
+
),
|
|
2215
|
+
loaDocumentId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2216
|
+
modifiedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2217
|
+
onDemandEnabled: Schema.optional(
|
|
2218
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2219
|
+
),
|
|
2220
|
+
onDemandLocked: Schema.optional(
|
|
2221
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
2222
|
+
),
|
|
2223
|
+
ownershipValidationState: Schema.optional(
|
|
2224
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2225
|
+
),
|
|
2226
|
+
ownershipValidationToken: Schema.optional(
|
|
2227
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2228
|
+
),
|
|
2229
|
+
rpkiValidationState: Schema.optional(
|
|
2230
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2231
|
+
),
|
|
2232
|
+
})
|
|
2233
|
+
.pipe(
|
|
2234
|
+
Schema.encodeKeys({
|
|
2235
|
+
id: "id",
|
|
2236
|
+
accountId: "account_id",
|
|
2237
|
+
advertised: "advertised",
|
|
2238
|
+
advertisedModifiedAt: "advertised_modified_at",
|
|
2239
|
+
approved: "approved",
|
|
2240
|
+
asn: "asn",
|
|
2241
|
+
cidr: "cidr",
|
|
2242
|
+
createdAt: "created_at",
|
|
2243
|
+
delegateLoaCreation: "delegate_loa_creation",
|
|
2244
|
+
description: "description",
|
|
2245
|
+
irrValidationState: "irr_validation_state",
|
|
2246
|
+
loaDocumentId: "loa_document_id",
|
|
2247
|
+
modifiedAt: "modified_at",
|
|
2248
|
+
onDemandEnabled: "on_demand_enabled",
|
|
2249
|
+
onDemandLocked: "on_demand_locked",
|
|
2250
|
+
ownershipValidationState: "ownership_validation_state",
|
|
2251
|
+
ownershipValidationToken: "ownership_validation_token",
|
|
2252
|
+
rpkiValidationState: "rpki_validation_state",
|
|
2253
|
+
}),
|
|
2254
|
+
)
|
|
2255
|
+
.pipe(T.ResponsePath("result")),
|
|
2280
2256
|
) as unknown as Schema.Codec<PatchPrefixResponse>;
|
|
2281
2257
|
|
|
2282
2258
|
export type PatchPrefixError =
|
|
@@ -2290,7 +2266,7 @@ export const patchPrefix: API.OperationMethod<
|
|
|
2290
2266
|
PatchPrefixResponse,
|
|
2291
2267
|
PatchPrefixError,
|
|
2292
2268
|
Credentials | HttpClient.HttpClient
|
|
2293
|
-
> = /*@__PURE__*/
|
|
2269
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2294
2270
|
input: PatchPrefixRequest,
|
|
2295
2271
|
output: PatchPrefixResponse,
|
|
2296
2272
|
errors: [MethodNotAllowed, PrefixNotFound, InvalidAccountId],
|
|
@@ -2302,17 +2278,16 @@ export interface DeletePrefixRequest {
|
|
|
2302
2278
|
accountId: string;
|
|
2303
2279
|
}
|
|
2304
2280
|
|
|
2305
|
-
export const DeletePrefixRequest = /*@__PURE__*/
|
|
2306
|
-
(
|
|
2307
|
-
Schema.
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
),
|
|
2281
|
+
export const DeletePrefixRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2282
|
+
Schema.Struct({
|
|
2283
|
+
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
2284
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2285
|
+
}).pipe(
|
|
2286
|
+
T.Http({
|
|
2287
|
+
method: "DELETE",
|
|
2288
|
+
path: "/accounts/{account_id}/addressing/prefixes/{prefixId}",
|
|
2289
|
+
}),
|
|
2290
|
+
),
|
|
2316
2291
|
) as unknown as Schema.Codec<DeletePrefixRequest>;
|
|
2317
2292
|
|
|
2318
2293
|
export interface DeletePrefixResponse {
|
|
@@ -2332,13 +2307,12 @@ export interface DeletePrefixResponse {
|
|
|
2332
2307
|
success: true;
|
|
2333
2308
|
}
|
|
2334
2309
|
|
|
2335
|
-
export const DeletePrefixResponse = /*@__PURE__*/
|
|
2336
|
-
(
|
|
2337
|
-
Schema.
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
}),
|
|
2310
|
+
export const DeletePrefixResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2311
|
+
Schema.Struct({
|
|
2312
|
+
errors: Schema.Array(Error2),
|
|
2313
|
+
messages: Schema.Array(Error2),
|
|
2314
|
+
success: Schema.Literal(true),
|
|
2315
|
+
}),
|
|
2342
2316
|
) as unknown as Schema.Codec<DeletePrefixResponse>;
|
|
2343
2317
|
|
|
2344
2318
|
export type DeletePrefixError =
|
|
@@ -2352,7 +2326,7 @@ export const deletePrefix: API.OperationMethod<
|
|
|
2352
2326
|
DeletePrefixResponse,
|
|
2353
2327
|
DeletePrefixError,
|
|
2354
2328
|
Credentials | HttpClient.HttpClient
|
|
2355
|
-
> = /*@__PURE__*/
|
|
2329
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2356
2330
|
input: DeletePrefixRequest,
|
|
2357
2331
|
output: DeletePrefixResponse,
|
|
2358
2332
|
errors: [MethodNotAllowed, PrefixNotFound, InvalidAccountId],
|
|
@@ -2369,7 +2343,7 @@ export interface GetPrefixAdvertisementStatusRequest {
|
|
|
2369
2343
|
}
|
|
2370
2344
|
|
|
2371
2345
|
export const GetPrefixAdvertisementStatusRequest =
|
|
2372
|
-
/*@__PURE__*/
|
|
2346
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2373
2347
|
Schema.Struct({
|
|
2374
2348
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
2375
2349
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2389,7 +2363,7 @@ export interface GetPrefixAdvertisementStatusResponse {
|
|
|
2389
2363
|
}
|
|
2390
2364
|
|
|
2391
2365
|
export const GetPrefixAdvertisementStatusResponse =
|
|
2392
|
-
/*@__PURE__*/
|
|
2366
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2393
2367
|
Schema.Struct({
|
|
2394
2368
|
advertised: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2395
2369
|
advertisedModifiedAt: Schema.optional(
|
|
@@ -2415,7 +2389,7 @@ export const getPrefixAdvertisementStatus: API.OperationMethod<
|
|
|
2415
2389
|
GetPrefixAdvertisementStatusResponse,
|
|
2416
2390
|
GetPrefixAdvertisementStatusError,
|
|
2417
2391
|
Credentials | HttpClient.HttpClient
|
|
2418
|
-
> = /*@__PURE__*/
|
|
2392
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2419
2393
|
input: GetPrefixAdvertisementStatusRequest,
|
|
2420
2394
|
output: GetPrefixAdvertisementStatusResponse,
|
|
2421
2395
|
errors: [PrefixNotFound, InvalidAccountId],
|
|
@@ -2430,7 +2404,7 @@ export interface PatchPrefixAdvertisementStatusRequest {
|
|
|
2430
2404
|
}
|
|
2431
2405
|
|
|
2432
2406
|
export const PatchPrefixAdvertisementStatusRequest =
|
|
2433
|
-
/*@__PURE__*/
|
|
2407
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2434
2408
|
Schema.Struct({
|
|
2435
2409
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
2436
2410
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2451,7 +2425,7 @@ export interface PatchPrefixAdvertisementStatusResponse {
|
|
|
2451
2425
|
}
|
|
2452
2426
|
|
|
2453
2427
|
export const PatchPrefixAdvertisementStatusResponse =
|
|
2454
|
-
/*@__PURE__*/
|
|
2428
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2455
2429
|
Schema.Struct({
|
|
2456
2430
|
advertised: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2457
2431
|
advertisedModifiedAt: Schema.optional(
|
|
@@ -2477,7 +2451,7 @@ export const patchPrefixAdvertisementStatus: API.OperationMethod<
|
|
|
2477
2451
|
PatchPrefixAdvertisementStatusResponse,
|
|
2478
2452
|
PatchPrefixAdvertisementStatusError,
|
|
2479
2453
|
Credentials | HttpClient.HttpClient
|
|
2480
|
-
> = /*@__PURE__*/
|
|
2454
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2481
2455
|
input: PatchPrefixAdvertisementStatusRequest,
|
|
2482
2456
|
output: PatchPrefixAdvertisementStatusResponse,
|
|
2483
2457
|
errors: [PrefixNotFound, InvalidAccountId],
|
|
@@ -2495,7 +2469,7 @@ export interface GetPrefixBgpPrefixRequest {
|
|
|
2495
2469
|
}
|
|
2496
2470
|
|
|
2497
2471
|
export const GetPrefixBgpPrefixRequest =
|
|
2498
|
-
/*@__PURE__*/
|
|
2472
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2499
2473
|
Schema.Struct({
|
|
2500
2474
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
2501
2475
|
bgpPrefixId: Schema.String.pipe(T.HttpPath("bgpPrefixId")),
|
|
@@ -2534,7 +2508,7 @@ export interface GetPrefixBgpPrefixResponse {
|
|
|
2534
2508
|
}
|
|
2535
2509
|
|
|
2536
2510
|
export const GetPrefixBgpPrefixResponse =
|
|
2537
|
-
/*@__PURE__*/
|
|
2511
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2538
2512
|
Schema.Struct({
|
|
2539
2513
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2540
2514
|
asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -2579,7 +2553,7 @@ export const getPrefixBgpPrefix: API.OperationMethod<
|
|
|
2579
2553
|
GetPrefixBgpPrefixResponse,
|
|
2580
2554
|
GetPrefixBgpPrefixError,
|
|
2581
2555
|
Credentials | HttpClient.HttpClient
|
|
2582
|
-
> = /*@__PURE__*/
|
|
2556
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2583
2557
|
input: GetPrefixBgpPrefixRequest,
|
|
2584
2558
|
output: GetPrefixBgpPrefixResponse,
|
|
2585
2559
|
errors: [BgpPrefixNotFound, InvalidAccountId, PrefixNotFound],
|
|
@@ -2592,7 +2566,7 @@ export interface ListPrefixBgpPrefixesRequest {
|
|
|
2592
2566
|
}
|
|
2593
2567
|
|
|
2594
2568
|
export const ListPrefixBgpPrefixesRequest =
|
|
2595
|
-
/*@__PURE__*/
|
|
2569
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2596
2570
|
Schema.Struct({
|
|
2597
2571
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
2598
2572
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2627,7 +2601,7 @@ export interface ListPrefixBgpPrefixesResponse {
|
|
|
2627
2601
|
}
|
|
2628
2602
|
|
|
2629
2603
|
export const ListPrefixBgpPrefixesResponse =
|
|
2630
|
-
/*@__PURE__*/
|
|
2604
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2631
2605
|
Schema.Struct({
|
|
2632
2606
|
result: Schema.Array(ListPrefixBgpPrefixesResponseResult),
|
|
2633
2607
|
}),
|
|
@@ -2643,7 +2617,7 @@ export const listPrefixBgpPrefixes: API.PaginatedOperationMethod<
|
|
|
2643
2617
|
ListPrefixBgpPrefixesResponse,
|
|
2644
2618
|
ListPrefixBgpPrefixesError,
|
|
2645
2619
|
Credentials | HttpClient.HttpClient
|
|
2646
|
-
> = /*@__PURE__*/
|
|
2620
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2647
2621
|
input: ListPrefixBgpPrefixesRequest,
|
|
2648
2622
|
output: ListPrefixBgpPrefixesResponse,
|
|
2649
2623
|
errors: [PrefixNotFound, InvalidAccountId],
|
|
@@ -2662,7 +2636,7 @@ export interface CreatePrefixBgpPrefixRequest {
|
|
|
2662
2636
|
}
|
|
2663
2637
|
|
|
2664
2638
|
export const CreatePrefixBgpPrefixRequest =
|
|
2665
|
-
/*@__PURE__*/
|
|
2639
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2666
2640
|
Schema.Struct({
|
|
2667
2641
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
2668
2642
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2701,7 +2675,7 @@ export interface CreatePrefixBgpPrefixResponse {
|
|
|
2701
2675
|
}
|
|
2702
2676
|
|
|
2703
2677
|
export const CreatePrefixBgpPrefixResponse =
|
|
2704
|
-
/*@__PURE__*/
|
|
2678
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2705
2679
|
Schema.Struct({
|
|
2706
2680
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2707
2681
|
asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -2746,7 +2720,7 @@ export const createPrefixBgpPrefix: API.OperationMethod<
|
|
|
2746
2720
|
CreatePrefixBgpPrefixResponse,
|
|
2747
2721
|
CreatePrefixBgpPrefixError,
|
|
2748
2722
|
Credentials | HttpClient.HttpClient
|
|
2749
|
-
> = /*@__PURE__*/
|
|
2723
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2750
2724
|
input: CreatePrefixBgpPrefixRequest,
|
|
2751
2725
|
output: CreatePrefixBgpPrefixResponse,
|
|
2752
2726
|
errors: [NonexistentAccountPrefix, InvalidAccountId, InvalidNetworkCidr],
|
|
@@ -2766,7 +2740,7 @@ export interface PatchPrefixBgpPrefixRequest {
|
|
|
2766
2740
|
}
|
|
2767
2741
|
|
|
2768
2742
|
export const PatchPrefixBgpPrefixRequest =
|
|
2769
|
-
/*@__PURE__*/
|
|
2743
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2770
2744
|
Schema.Struct({
|
|
2771
2745
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
2772
2746
|
bgpPrefixId: Schema.String.pipe(T.HttpPath("bgpPrefixId")),
|
|
@@ -2813,7 +2787,7 @@ export interface PatchPrefixBgpPrefixResponse {
|
|
|
2813
2787
|
}
|
|
2814
2788
|
|
|
2815
2789
|
export const PatchPrefixBgpPrefixResponse =
|
|
2816
|
-
/*@__PURE__*/
|
|
2790
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2817
2791
|
Schema.Struct({
|
|
2818
2792
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2819
2793
|
asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -2858,7 +2832,7 @@ export const patchPrefixBgpPrefix: API.OperationMethod<
|
|
|
2858
2832
|
PatchPrefixBgpPrefixResponse,
|
|
2859
2833
|
PatchPrefixBgpPrefixError,
|
|
2860
2834
|
Credentials | HttpClient.HttpClient
|
|
2861
|
-
> = /*@__PURE__*/
|
|
2835
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2862
2836
|
input: PatchPrefixBgpPrefixRequest,
|
|
2863
2837
|
output: PatchPrefixBgpPrefixResponse,
|
|
2864
2838
|
errors: [BgpPrefixNotFound, PrefixNotFound, InvalidAccountId],
|
|
@@ -2875,7 +2849,7 @@ export interface ListPrefixDelegationsRequest {
|
|
|
2875
2849
|
}
|
|
2876
2850
|
|
|
2877
2851
|
export const ListPrefixDelegationsRequest =
|
|
2878
|
-
/*@__PURE__*/
|
|
2852
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2879
2853
|
Schema.Struct({
|
|
2880
2854
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
2881
2855
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2899,7 +2873,7 @@ export interface ListPrefixDelegationsResponse {
|
|
|
2899
2873
|
}
|
|
2900
2874
|
|
|
2901
2875
|
export const ListPrefixDelegationsResponse =
|
|
2902
|
-
/*@__PURE__*/
|
|
2876
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2903
2877
|
Schema.Struct({
|
|
2904
2878
|
result: Schema.Array(ListPrefixDelegationsResponseResult),
|
|
2905
2879
|
}),
|
|
@@ -2915,7 +2889,7 @@ export const listPrefixDelegations: API.PaginatedOperationMethod<
|
|
|
2915
2889
|
ListPrefixDelegationsResponse,
|
|
2916
2890
|
ListPrefixDelegationsError,
|
|
2917
2891
|
Credentials | HttpClient.HttpClient
|
|
2918
|
-
> = /*@__PURE__*/
|
|
2892
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2919
2893
|
input: ListPrefixDelegationsRequest,
|
|
2920
2894
|
output: ListPrefixDelegationsResponse,
|
|
2921
2895
|
errors: [PrefixNotFound, InvalidAccountId],
|
|
@@ -2936,7 +2910,7 @@ export interface CreatePrefixDelegationRequest {
|
|
|
2936
2910
|
}
|
|
2937
2911
|
|
|
2938
2912
|
export const CreatePrefixDelegationRequest =
|
|
2939
|
-
/*@__PURE__*/
|
|
2913
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2940
2914
|
Schema.Struct({
|
|
2941
2915
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
2942
2916
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2968,7 +2942,7 @@ export interface CreatePrefixDelegationResponse {
|
|
|
2968
2942
|
}
|
|
2969
2943
|
|
|
2970
2944
|
export const CreatePrefixDelegationResponse =
|
|
2971
|
-
/*@__PURE__*/
|
|
2945
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2972
2946
|
Schema.Struct({
|
|
2973
2947
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2974
2948
|
cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3005,7 +2979,7 @@ export const createPrefixDelegation: API.OperationMethod<
|
|
|
3005
2979
|
CreatePrefixDelegationResponse,
|
|
3006
2980
|
CreatePrefixDelegationError,
|
|
3007
2981
|
Credentials | HttpClient.HttpClient
|
|
3008
|
-
> = /*@__PURE__*/
|
|
2982
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3009
2983
|
input: CreatePrefixDelegationRequest,
|
|
3010
2984
|
output: CreatePrefixDelegationResponse,
|
|
3011
2985
|
errors: [PrefixNotFound, MissingAccountId, InvalidAccountId],
|
|
@@ -3019,7 +2993,7 @@ export interface DeletePrefixDelegationRequest {
|
|
|
3019
2993
|
}
|
|
3020
2994
|
|
|
3021
2995
|
export const DeletePrefixDelegationRequest =
|
|
3022
|
-
/*@__PURE__*/
|
|
2996
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3023
2997
|
Schema.Struct({
|
|
3024
2998
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
3025
2999
|
delegationId: Schema.String.pipe(T.HttpPath("delegationId")),
|
|
@@ -3038,7 +3012,7 @@ export interface DeletePrefixDelegationResponse {
|
|
|
3038
3012
|
}
|
|
3039
3013
|
|
|
3040
3014
|
export const DeletePrefixDelegationResponse =
|
|
3041
|
-
/*@__PURE__*/
|
|
3015
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3042
3016
|
Schema.Struct({
|
|
3043
3017
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3044
3018
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -3054,7 +3028,7 @@ export const deletePrefixDelegation: API.OperationMethod<
|
|
|
3054
3028
|
DeletePrefixDelegationResponse,
|
|
3055
3029
|
DeletePrefixDelegationError,
|
|
3056
3030
|
Credentials | HttpClient.HttpClient
|
|
3057
|
-
> = /*@__PURE__*/
|
|
3031
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3058
3032
|
input: DeletePrefixDelegationRequest,
|
|
3059
3033
|
output: DeletePrefixDelegationResponse,
|
|
3060
3034
|
errors: [DelegationNotFound, InvalidAccountId],
|
|
@@ -3072,7 +3046,7 @@ export interface GetPrefixServiceBindingRequest {
|
|
|
3072
3046
|
}
|
|
3073
3047
|
|
|
3074
3048
|
export const GetPrefixServiceBindingRequest =
|
|
3075
|
-
/*@__PURE__*/
|
|
3049
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3076
3050
|
Schema.Struct({
|
|
3077
3051
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
3078
3052
|
bindingId: Schema.String.pipe(T.HttpPath("bindingId")),
|
|
@@ -3101,7 +3075,7 @@ export interface GetPrefixServiceBindingResponse {
|
|
|
3101
3075
|
}
|
|
3102
3076
|
|
|
3103
3077
|
export const GetPrefixServiceBindingResponse =
|
|
3104
|
-
/*@__PURE__*/
|
|
3078
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3105
3079
|
Schema.Struct({
|
|
3106
3080
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3107
3081
|
cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3132,7 +3106,7 @@ export const getPrefixServiceBinding: API.OperationMethod<
|
|
|
3132
3106
|
GetPrefixServiceBindingResponse,
|
|
3133
3107
|
GetPrefixServiceBindingError,
|
|
3134
3108
|
Credentials | HttpClient.HttpClient
|
|
3135
|
-
> = /*@__PURE__*/
|
|
3109
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3136
3110
|
input: GetPrefixServiceBindingRequest,
|
|
3137
3111
|
output: GetPrefixServiceBindingResponse,
|
|
3138
3112
|
errors: [BindingNotFound, InvalidAccountId, PrefixNotFound],
|
|
@@ -3145,7 +3119,7 @@ export interface ListPrefixServiceBindingsRequest {
|
|
|
3145
3119
|
}
|
|
3146
3120
|
|
|
3147
3121
|
export const ListPrefixServiceBindingsRequest =
|
|
3148
|
-
/*@__PURE__*/
|
|
3122
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3149
3123
|
Schema.Struct({
|
|
3150
3124
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
3151
3125
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3170,7 +3144,7 @@ export interface ListPrefixServiceBindingsResponse {
|
|
|
3170
3144
|
}
|
|
3171
3145
|
|
|
3172
3146
|
export const ListPrefixServiceBindingsResponse =
|
|
3173
|
-
/*@__PURE__*/
|
|
3147
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3174
3148
|
Schema.Struct({
|
|
3175
3149
|
result: Schema.Array(ListPrefixServiceBindingsResponseResult),
|
|
3176
3150
|
}),
|
|
@@ -3186,7 +3160,7 @@ export const listPrefixServiceBindings: API.PaginatedOperationMethod<
|
|
|
3186
3160
|
ListPrefixServiceBindingsResponse,
|
|
3187
3161
|
ListPrefixServiceBindingsError,
|
|
3188
3162
|
Credentials | HttpClient.HttpClient
|
|
3189
|
-
> = /*@__PURE__*/
|
|
3163
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3190
3164
|
input: ListPrefixServiceBindingsRequest,
|
|
3191
3165
|
output: ListPrefixServiceBindingsResponse,
|
|
3192
3166
|
errors: [PrefixNotFound, InvalidAccountId],
|
|
@@ -3207,7 +3181,7 @@ export interface CreatePrefixServiceBindingRequest {
|
|
|
3207
3181
|
}
|
|
3208
3182
|
|
|
3209
3183
|
export const CreatePrefixServiceBindingRequest =
|
|
3210
|
-
/*@__PURE__*/
|
|
3184
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3211
3185
|
Schema.Struct({
|
|
3212
3186
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
3213
3187
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3238,7 +3212,7 @@ export interface CreatePrefixServiceBindingResponse {
|
|
|
3238
3212
|
}
|
|
3239
3213
|
|
|
3240
3214
|
export const CreatePrefixServiceBindingResponse =
|
|
3241
|
-
/*@__PURE__*/
|
|
3215
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3242
3216
|
Schema.Struct({
|
|
3243
3217
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3244
3218
|
cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3268,7 +3242,7 @@ export const createPrefixServiceBinding: API.OperationMethod<
|
|
|
3268
3242
|
CreatePrefixServiceBindingResponse,
|
|
3269
3243
|
CreatePrefixServiceBindingError,
|
|
3270
3244
|
Credentials | HttpClient.HttpClient
|
|
3271
|
-
> = /*@__PURE__*/
|
|
3245
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3272
3246
|
input: CreatePrefixServiceBindingRequest,
|
|
3273
3247
|
output: CreatePrefixServiceBindingResponse,
|
|
3274
3248
|
errors: [UnsupportedBindingConfiguration, InvalidAccountId],
|
|
@@ -3282,7 +3256,7 @@ export interface DeletePrefixServiceBindingRequest {
|
|
|
3282
3256
|
}
|
|
3283
3257
|
|
|
3284
3258
|
export const DeletePrefixServiceBindingRequest =
|
|
3285
|
-
/*@__PURE__*/
|
|
3259
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3286
3260
|
Schema.Struct({
|
|
3287
3261
|
prefixId: Schema.String.pipe(T.HttpPath("prefixId")),
|
|
3288
3262
|
bindingId: Schema.String.pipe(T.HttpPath("bindingId")),
|
|
@@ -3313,7 +3287,7 @@ export interface DeletePrefixServiceBindingResponse {
|
|
|
3313
3287
|
}
|
|
3314
3288
|
|
|
3315
3289
|
export const DeletePrefixServiceBindingResponse =
|
|
3316
|
-
/*@__PURE__*/
|
|
3290
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3317
3291
|
Schema.Struct({
|
|
3318
3292
|
errors: Schema.Array(Error2),
|
|
3319
3293
|
messages: Schema.Array(Error2),
|
|
@@ -3332,7 +3306,7 @@ export const deletePrefixServiceBinding: API.OperationMethod<
|
|
|
3332
3306
|
DeletePrefixServiceBindingResponse,
|
|
3333
3307
|
DeletePrefixServiceBindingError,
|
|
3334
3308
|
Credentials | HttpClient.HttpClient
|
|
3335
|
-
> = /*@__PURE__*/
|
|
3309
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3336
3310
|
input: DeletePrefixServiceBindingRequest,
|
|
3337
3311
|
output: DeletePrefixServiceBindingResponse,
|
|
3338
3312
|
errors: [BindingNotFound, InvalidAccountId, PrefixNotFound],
|
|
@@ -3349,7 +3323,7 @@ export interface GetRegionalHostnameRequest {
|
|
|
3349
3323
|
}
|
|
3350
3324
|
|
|
3351
3325
|
export const GetRegionalHostnameRequest =
|
|
3352
|
-
/*@__PURE__*/
|
|
3326
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3353
3327
|
Schema.Struct({
|
|
3354
3328
|
hostname: Schema.String.pipe(T.HttpPath("hostname")),
|
|
3355
3329
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -3373,7 +3347,7 @@ export interface GetRegionalHostnameResponse {
|
|
|
3373
3347
|
}
|
|
3374
3348
|
|
|
3375
3349
|
export const GetRegionalHostnameResponse =
|
|
3376
|
-
/*@__PURE__*/
|
|
3350
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3377
3351
|
Schema.Struct({
|
|
3378
3352
|
createdOn: Schema.String,
|
|
3379
3353
|
hostname: Schema.String,
|
|
@@ -3402,7 +3376,7 @@ export const getRegionalHostname: API.OperationMethod<
|
|
|
3402
3376
|
GetRegionalHostnameResponse,
|
|
3403
3377
|
GetRegionalHostnameError,
|
|
3404
3378
|
Credentials | HttpClient.HttpClient
|
|
3405
|
-
> = /*@__PURE__*/
|
|
3379
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3406
3380
|
input: GetRegionalHostnameRequest,
|
|
3407
3381
|
output: GetRegionalHostnameResponse,
|
|
3408
3382
|
errors: [InvalidZoneId, RegionalHostnameNotFound, RegionalHostnameEmpty],
|
|
@@ -3414,7 +3388,7 @@ export interface ListRegionalHostnamesRequest {
|
|
|
3414
3388
|
}
|
|
3415
3389
|
|
|
3416
3390
|
export const ListRegionalHostnamesRequest =
|
|
3417
|
-
/*@__PURE__*/
|
|
3391
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3418
3392
|
Schema.Struct({
|
|
3419
3393
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3420
3394
|
}).pipe(
|
|
@@ -3435,7 +3409,7 @@ export interface ListRegionalHostnamesResponse {
|
|
|
3435
3409
|
}
|
|
3436
3410
|
|
|
3437
3411
|
export const ListRegionalHostnamesResponse =
|
|
3438
|
-
/*@__PURE__*/
|
|
3412
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3439
3413
|
Schema.Struct({
|
|
3440
3414
|
result: Schema.Array(ListRegionalHostnamesResponseResult),
|
|
3441
3415
|
}),
|
|
@@ -3448,7 +3422,7 @@ export const listRegionalHostnames: API.PaginatedOperationMethod<
|
|
|
3448
3422
|
ListRegionalHostnamesResponse,
|
|
3449
3423
|
ListRegionalHostnamesError,
|
|
3450
3424
|
Credentials | HttpClient.HttpClient
|
|
3451
|
-
> = /*@__PURE__*/
|
|
3425
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3452
3426
|
input: ListRegionalHostnamesRequest,
|
|
3453
3427
|
output: ListRegionalHostnamesResponse,
|
|
3454
3428
|
errors: [Forbidden],
|
|
@@ -3470,7 +3444,7 @@ export interface CreateRegionalHostnameRequest {
|
|
|
3470
3444
|
}
|
|
3471
3445
|
|
|
3472
3446
|
export const CreateRegionalHostnameRequest =
|
|
3473
|
-
/*@__PURE__*/
|
|
3447
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3474
3448
|
Schema.Struct({
|
|
3475
3449
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3476
3450
|
hostname: Schema.String,
|
|
@@ -3501,7 +3475,7 @@ export interface CreateRegionalHostnameResponse {
|
|
|
3501
3475
|
}
|
|
3502
3476
|
|
|
3503
3477
|
export const CreateRegionalHostnameResponse =
|
|
3504
|
-
/*@__PURE__*/
|
|
3478
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3505
3479
|
Schema.Struct({
|
|
3506
3480
|
createdOn: Schema.String,
|
|
3507
3481
|
hostname: Schema.String,
|
|
@@ -3530,7 +3504,7 @@ export const createRegionalHostname: API.OperationMethod<
|
|
|
3530
3504
|
CreateRegionalHostnameResponse,
|
|
3531
3505
|
CreateRegionalHostnameError,
|
|
3532
3506
|
Credentials | HttpClient.HttpClient
|
|
3533
|
-
> = /*@__PURE__*/
|
|
3507
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3534
3508
|
input: CreateRegionalHostnameRequest,
|
|
3535
3509
|
output: CreateRegionalHostnameResponse,
|
|
3536
3510
|
errors: [InvalidZoneId, InvalidHostname, RegionalHostnameEmpty],
|
|
@@ -3545,7 +3519,7 @@ export interface PatchRegionalHostnameRequest {
|
|
|
3545
3519
|
}
|
|
3546
3520
|
|
|
3547
3521
|
export const PatchRegionalHostnameRequest =
|
|
3548
|
-
/*@__PURE__*/
|
|
3522
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3549
3523
|
Schema.Struct({
|
|
3550
3524
|
hostname: Schema.String.pipe(T.HttpPath("hostname")),
|
|
3551
3525
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -3571,7 +3545,7 @@ export interface PatchRegionalHostnameResponse {
|
|
|
3571
3545
|
}
|
|
3572
3546
|
|
|
3573
3547
|
export const PatchRegionalHostnameResponse =
|
|
3574
|
-
/*@__PURE__*/
|
|
3548
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3575
3549
|
Schema.Struct({
|
|
3576
3550
|
createdOn: Schema.String,
|
|
3577
3551
|
hostname: Schema.String,
|
|
@@ -3600,7 +3574,7 @@ export const patchRegionalHostname: API.OperationMethod<
|
|
|
3600
3574
|
PatchRegionalHostnameResponse,
|
|
3601
3575
|
PatchRegionalHostnameError,
|
|
3602
3576
|
Credentials | HttpClient.HttpClient
|
|
3603
|
-
> = /*@__PURE__*/
|
|
3577
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3604
3578
|
input: PatchRegionalHostnameRequest,
|
|
3605
3579
|
output: PatchRegionalHostnameResponse,
|
|
3606
3580
|
errors: [InvalidZoneId, RegionalHostnameNotFound, RegionalHostnameEmpty],
|
|
@@ -3613,7 +3587,7 @@ export interface DeleteRegionalHostnameRequest {
|
|
|
3613
3587
|
}
|
|
3614
3588
|
|
|
3615
3589
|
export const DeleteRegionalHostnameRequest =
|
|
3616
|
-
/*@__PURE__*/
|
|
3590
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3617
3591
|
Schema.Struct({
|
|
3618
3592
|
hostname: Schema.String.pipe(T.HttpPath("hostname")),
|
|
3619
3593
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -3643,7 +3617,7 @@ export interface DeleteRegionalHostnameResponse {
|
|
|
3643
3617
|
}
|
|
3644
3618
|
|
|
3645
3619
|
export const DeleteRegionalHostnameResponse =
|
|
3646
|
-
/*@__PURE__*/
|
|
3620
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3647
3621
|
Schema.Struct({
|
|
3648
3622
|
errors: Schema.Array(Error2),
|
|
3649
3623
|
messages: Schema.Array(Error2),
|
|
@@ -3663,7 +3637,7 @@ export const deleteRegionalHostname: API.OperationMethod<
|
|
|
3663
3637
|
DeleteRegionalHostnameResponse,
|
|
3664
3638
|
DeleteRegionalHostnameError,
|
|
3665
3639
|
Credentials | HttpClient.HttpClient
|
|
3666
|
-
> = /*@__PURE__*/
|
|
3640
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3667
3641
|
input: DeleteRegionalHostnameRequest,
|
|
3668
3642
|
output: DeleteRegionalHostnameResponse,
|
|
3669
3643
|
errors: [
|
|
@@ -3684,7 +3658,7 @@ export interface ListRegionalHostnameRegionsRequest {
|
|
|
3684
3658
|
}
|
|
3685
3659
|
|
|
3686
3660
|
export const ListRegionalHostnameRegionsRequest =
|
|
3687
|
-
/*@__PURE__*/
|
|
3661
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3688
3662
|
Schema.Struct({
|
|
3689
3663
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3690
3664
|
}).pipe(
|
|
@@ -3700,7 +3674,7 @@ export interface ListRegionalHostnameRegionsResponse {
|
|
|
3700
3674
|
}
|
|
3701
3675
|
|
|
3702
3676
|
export const ListRegionalHostnameRegionsResponse =
|
|
3703
|
-
/*@__PURE__*/
|
|
3677
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3704
3678
|
Schema.Struct({
|
|
3705
3679
|
result: Schema.Array(ListRegionalHostnameRegionsResponseResult),
|
|
3706
3680
|
}),
|
|
@@ -3713,7 +3687,7 @@ export const listRegionalHostnameRegions: API.PaginatedOperationMethod<
|
|
|
3713
3687
|
ListRegionalHostnameRegionsResponse,
|
|
3714
3688
|
ListRegionalHostnameRegionsError,
|
|
3715
3689
|
Credentials | HttpClient.HttpClient
|
|
3716
|
-
> = /*@__PURE__*/
|
|
3690
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3717
3691
|
input: ListRegionalHostnameRegionsRequest,
|
|
3718
3692
|
output: ListRegionalHostnameRegionsResponse,
|
|
3719
3693
|
errors: [],
|
|
@@ -3732,27 +3706,25 @@ export interface ListServicesRequest {
|
|
|
3732
3706
|
accountId: string;
|
|
3733
3707
|
}
|
|
3734
3708
|
|
|
3735
|
-
export const ListServicesRequest = /*@__PURE__*/
|
|
3736
|
-
(
|
|
3737
|
-
Schema.
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
),
|
|
3709
|
+
export const ListServicesRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3710
|
+
Schema.Struct({
|
|
3711
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3712
|
+
}).pipe(
|
|
3713
|
+
T.Http({
|
|
3714
|
+
method: "GET",
|
|
3715
|
+
path: "/accounts/{account_id}/addressing/services",
|
|
3716
|
+
}),
|
|
3717
|
+
),
|
|
3745
3718
|
) as unknown as Schema.Codec<ListServicesRequest>;
|
|
3746
3719
|
|
|
3747
3720
|
export interface ListServicesResponse {
|
|
3748
3721
|
result: { id?: string | null; name?: string | null }[];
|
|
3749
3722
|
}
|
|
3750
3723
|
|
|
3751
|
-
export const ListServicesResponse = /*@__PURE__*/
|
|
3752
|
-
(
|
|
3753
|
-
Schema.
|
|
3754
|
-
|
|
3755
|
-
}),
|
|
3724
|
+
export const ListServicesResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3725
|
+
Schema.Struct({
|
|
3726
|
+
result: Schema.Array(ListServicesResponseResult),
|
|
3727
|
+
}),
|
|
3756
3728
|
) as unknown as Schema.Codec<ListServicesResponse>;
|
|
3757
3729
|
|
|
3758
3730
|
export type ListServicesError = DefaultErrors;
|
|
@@ -3762,7 +3734,7 @@ export const listServices: API.PaginatedOperationMethod<
|
|
|
3762
3734
|
ListServicesResponse,
|
|
3763
3735
|
ListServicesError,
|
|
3764
3736
|
Credentials | HttpClient.HttpClient
|
|
3765
|
-
> = /*@__PURE__*/
|
|
3737
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3766
3738
|
input: ListServicesRequest,
|
|
3767
3739
|
output: ListServicesResponse,
|
|
3768
3740
|
errors: [],
|