@distilled.cloud/cloudflare 0.28.2 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/api.d.ts +1 -1
- package/lib/client/api.d.ts.map +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/package.json +10 -9
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
|
@@ -87,7 +87,7 @@ export class TableNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass(
|
|
|
87
87
|
message: Schema.String,
|
|
88
88
|
}), [{ code: 1014, message: { includes: "not found" } }]) {
|
|
89
89
|
}
|
|
90
|
-
const Batch = /*@__PURE__*/
|
|
90
|
+
const Batch = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
91
91
|
maxBytes: Schema.Number,
|
|
92
92
|
maxDurationS: Schema.Number,
|
|
93
93
|
maxRows: Schema.Number,
|
|
@@ -96,41 +96,41 @@ const Batch = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
96
96
|
maxDurationS: "max_duration_s",
|
|
97
97
|
maxRows: "max_rows",
|
|
98
98
|
})));
|
|
99
|
-
const Compression = /*@__PURE__*/
|
|
99
|
+
const Compression = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
100
100
|
type: Schema.Union([
|
|
101
101
|
Schema.Literals(["none", "gzip", "deflate"]),
|
|
102
102
|
Schema.String,
|
|
103
103
|
]),
|
|
104
104
|
}));
|
|
105
|
-
const Path = /*@__PURE__*/
|
|
105
|
+
const Path = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
106
106
|
bucket: Schema.String,
|
|
107
107
|
filename: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
108
108
|
filepath: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
109
109
|
prefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
110
110
|
}));
|
|
111
|
-
const Destination = /*@__PURE__*/
|
|
111
|
+
const Destination = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
112
112
|
batch: Batch,
|
|
113
113
|
compression: Compression,
|
|
114
114
|
format: Schema.Literal("json"),
|
|
115
115
|
path: Path,
|
|
116
116
|
type: Schema.Literal("r2"),
|
|
117
117
|
}));
|
|
118
|
-
const Cors = /*@__PURE__*/
|
|
118
|
+
const Cors = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
119
119
|
origins: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
120
120
|
}));
|
|
121
121
|
const CloudflarePipelinesWorkersPipelinesHTTPSource =
|
|
122
|
-
/*@__PURE__*/
|
|
122
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
123
123
|
format: Schema.Literal("json"),
|
|
124
124
|
type: Schema.String,
|
|
125
125
|
authentication: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
126
126
|
cors: Schema.optional(Schema.Union([Cors, Schema.Null])),
|
|
127
127
|
}));
|
|
128
128
|
const CloudflarePipelinesWorkersPipelinesBindingSource =
|
|
129
|
-
/*@__PURE__*/
|
|
129
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
130
130
|
format: Schema.Literal("json"),
|
|
131
131
|
type: Schema.String,
|
|
132
132
|
}));
|
|
133
|
-
const ResultInfo = /*@__PURE__*/
|
|
133
|
+
const ResultInfo = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
134
134
|
count: Schema.Number,
|
|
135
135
|
page: Schema.Number,
|
|
136
136
|
perPage: Schema.Number,
|
|
@@ -141,7 +141,7 @@ const ResultInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
141
141
|
perPage: "per_page",
|
|
142
142
|
totalCount: "total_count",
|
|
143
143
|
})));
|
|
144
|
-
const Result = /*@__PURE__*/
|
|
144
|
+
const Result = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
145
145
|
id: Schema.String,
|
|
146
146
|
destination: Schema.optional(Schema.Union([Destination, Schema.Null])),
|
|
147
147
|
endpoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -155,7 +155,7 @@ const Result = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
155
155
|
])),
|
|
156
156
|
version: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
157
157
|
}));
|
|
158
|
-
const Batch2 = /*@__PURE__*/
|
|
158
|
+
const Batch2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
159
159
|
maxBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
160
160
|
maxDurationS: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
161
161
|
maxRows: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -164,7 +164,7 @@ const Batch2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
164
164
|
maxDurationS: "max_duration_s",
|
|
165
165
|
maxRows: "max_rows",
|
|
166
166
|
})));
|
|
167
|
-
const Compression2 = /*@__PURE__*/
|
|
167
|
+
const Compression2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
168
168
|
type: Schema.optional(Schema.Union([
|
|
169
169
|
Schema.Union([
|
|
170
170
|
Schema.Literals(["none", "gzip", "deflate"]),
|
|
@@ -173,7 +173,7 @@ const Compression2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
173
173
|
Schema.Null,
|
|
174
174
|
])),
|
|
175
175
|
}));
|
|
176
|
-
const Credentials2 = /*@__PURE__*/
|
|
176
|
+
const Credentials2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
177
177
|
accessKeyId: SensitiveString,
|
|
178
178
|
endpoint: Schema.String,
|
|
179
179
|
secretAccessKey: SensitiveString,
|
|
@@ -182,7 +182,7 @@ const Credentials2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
182
182
|
endpoint: "endpoint",
|
|
183
183
|
secretAccessKey: "secret_access_key",
|
|
184
184
|
})));
|
|
185
|
-
const Destination2 = /*@__PURE__*/
|
|
185
|
+
const Destination2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
186
186
|
batch: Batch2,
|
|
187
187
|
compression: Compression2,
|
|
188
188
|
credentials: Credentials2,
|
|
@@ -190,7 +190,7 @@ const Destination2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
190
190
|
path: Path,
|
|
191
191
|
type: Schema.Literal("r2"),
|
|
192
192
|
}));
|
|
193
|
-
const Destination3 = /*@__PURE__*/
|
|
193
|
+
const Destination3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
194
194
|
batch: Batch2,
|
|
195
195
|
compression: Compression2,
|
|
196
196
|
format: Schema.Literal("json"),
|
|
@@ -198,7 +198,7 @@ const Destination3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
198
198
|
type: Schema.Literal("r2"),
|
|
199
199
|
credentials: Schema.optional(Schema.Union([Credentials2, Schema.Null])),
|
|
200
200
|
}));
|
|
201
|
-
const FileNaming = /*@__PURE__*/
|
|
201
|
+
const FileNaming = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
202
202
|
prefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
203
203
|
strategy: Schema.optional(Schema.Union([
|
|
204
204
|
Schema.Union([
|
|
@@ -209,10 +209,10 @@ const FileNaming = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
209
209
|
])),
|
|
210
210
|
suffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
211
211
|
}));
|
|
212
|
-
const Partitioning = /*@__PURE__*/
|
|
212
|
+
const Partitioning = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
213
213
|
timePattern: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
214
214
|
}).pipe(Schema.encodeKeys({ timePattern: "time_pattern" })));
|
|
215
|
-
const RollingPolicy = /*@__PURE__*/
|
|
215
|
+
const RollingPolicy = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
216
216
|
fileSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
217
217
|
inactivitySeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
218
218
|
intervalSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -222,7 +222,7 @@ const RollingPolicy = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
222
222
|
intervalSeconds: "interval_seconds",
|
|
223
223
|
})));
|
|
224
224
|
const CloudflarePipelinesR2TablePublic =
|
|
225
|
-
/*@__PURE__*/
|
|
225
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
226
226
|
accountId: Schema.String,
|
|
227
227
|
bucket: Schema.String,
|
|
228
228
|
fileNaming: Schema.optional(Schema.Union([FileNaming, Schema.Null])),
|
|
@@ -240,7 +240,7 @@ const CloudflarePipelinesR2TablePublic =
|
|
|
240
240
|
rollingPolicy: "rolling_policy",
|
|
241
241
|
})));
|
|
242
242
|
const CloudflarePipelinesR2DataCatalogTablePublic =
|
|
243
|
-
/*@__PURE__*/
|
|
243
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
244
244
|
accountId: Schema.String,
|
|
245
245
|
bucket: Schema.String,
|
|
246
246
|
tableName: Schema.String,
|
|
@@ -253,7 +253,7 @@ const CloudflarePipelinesR2DataCatalogTablePublic =
|
|
|
253
253
|
namespace: "namespace",
|
|
254
254
|
rollingPolicy: "rolling_policy",
|
|
255
255
|
})));
|
|
256
|
-
const Json = /*@__PURE__*/
|
|
256
|
+
const Json = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
257
257
|
type: Schema.Literal("json"),
|
|
258
258
|
decimalEncoding: Schema.optional(Schema.Union([
|
|
259
259
|
Schema.Union([
|
|
@@ -276,7 +276,7 @@ const Json = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
276
276
|
timestampFormat: "timestamp_format",
|
|
277
277
|
unstructured: "unstructured",
|
|
278
278
|
})));
|
|
279
|
-
const Parquet = /*@__PURE__*/
|
|
279
|
+
const Parquet = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
280
280
|
type: Schema.Literal("parquet"),
|
|
281
281
|
compression: Schema.optional(Schema.Union([
|
|
282
282
|
Schema.Union([
|
|
@@ -291,7 +291,7 @@ const Parquet = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
291
291
|
compression: "compression",
|
|
292
292
|
rowGroupBytes: "row_group_bytes",
|
|
293
293
|
})));
|
|
294
|
-
const Int32 = /*@__PURE__*/
|
|
294
|
+
const Int32 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
295
295
|
type: Schema.Literal("int32"),
|
|
296
296
|
metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
297
297
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -304,7 +304,7 @@ const Int32 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
304
304
|
required: "required",
|
|
305
305
|
sqlName: "sql_name",
|
|
306
306
|
})));
|
|
307
|
-
const Int64 = /*@__PURE__*/
|
|
307
|
+
const Int64 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
308
308
|
type: Schema.Literal("int64"),
|
|
309
309
|
metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
310
310
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -317,7 +317,7 @@ const Int64 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
317
317
|
required: "required",
|
|
318
318
|
sqlName: "sql_name",
|
|
319
319
|
})));
|
|
320
|
-
const Float32 = /*@__PURE__*/
|
|
320
|
+
const Float32 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
321
321
|
type: Schema.Literal("float32"),
|
|
322
322
|
metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
323
323
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -330,7 +330,7 @@ const Float32 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
330
330
|
required: "required",
|
|
331
331
|
sqlName: "sql_name",
|
|
332
332
|
})));
|
|
333
|
-
const Float64 = /*@__PURE__*/
|
|
333
|
+
const Float64 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
334
334
|
type: Schema.Literal("float64"),
|
|
335
335
|
metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
336
336
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -343,7 +343,7 @@ const Float64 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
343
343
|
required: "required",
|
|
344
344
|
sqlName: "sql_name",
|
|
345
345
|
})));
|
|
346
|
-
const Bool = /*@__PURE__*/
|
|
346
|
+
const Bool = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
347
347
|
type: Schema.Literal("bool"),
|
|
348
348
|
metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
349
349
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -356,7 +356,7 @@ const Bool = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
356
356
|
required: "required",
|
|
357
357
|
sqlName: "sql_name",
|
|
358
358
|
})));
|
|
359
|
-
const String2 = /*@__PURE__*/
|
|
359
|
+
const String2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
360
360
|
type: Schema.Literal("string"),
|
|
361
361
|
metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
362
362
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -369,7 +369,7 @@ const String2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
369
369
|
required: "required",
|
|
370
370
|
sqlName: "sql_name",
|
|
371
371
|
})));
|
|
372
|
-
const Binary = /*@__PURE__*/
|
|
372
|
+
const Binary = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
373
373
|
type: Schema.Literal("binary"),
|
|
374
374
|
metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
375
375
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -382,7 +382,7 @@ const Binary = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
382
382
|
required: "required",
|
|
383
383
|
sqlName: "sql_name",
|
|
384
384
|
})));
|
|
385
|
-
const Timestamp = /*@__PURE__*/
|
|
385
|
+
const Timestamp = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
386
386
|
type: Schema.Literal("timestamp"),
|
|
387
387
|
metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
388
388
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -408,7 +408,7 @@ const Timestamp = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
408
408
|
sqlName: "sql_name",
|
|
409
409
|
unit: "unit",
|
|
410
410
|
})));
|
|
411
|
-
const Json2 = /*@__PURE__*/
|
|
411
|
+
const Json2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
412
412
|
type: Schema.Literal("json"),
|
|
413
413
|
metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
414
414
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -421,7 +421,7 @@ const Json2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
421
421
|
required: "required",
|
|
422
422
|
sqlName: "sql_name",
|
|
423
423
|
})));
|
|
424
|
-
const Schema2 = /*@__PURE__*/
|
|
424
|
+
const Schema2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
425
425
|
fields: Schema.optional(Schema.Union([
|
|
426
426
|
Schema.Array(Schema.Union([
|
|
427
427
|
Int32,
|
|
@@ -440,7 +440,7 @@ const Schema2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
440
440
|
format: Schema.optional(Schema.Union([Schema.Union([Json2, Parquet]), Schema.Null])),
|
|
441
441
|
inferred: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
442
442
|
}));
|
|
443
|
-
const ListSinksResponseResult = /*@__PURE__*/
|
|
443
|
+
const ListSinksResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
444
444
|
id: Schema.String,
|
|
445
445
|
createdAt: Schema.String,
|
|
446
446
|
modifiedAt: Schema.String,
|
|
@@ -468,7 +468,7 @@ const ListSinksResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
468
468
|
format: "format",
|
|
469
469
|
schema: "schema",
|
|
470
470
|
})));
|
|
471
|
-
const ListSinksResponseResultInfo = /*@__PURE__*/
|
|
471
|
+
const ListSinksResponseResultInfo = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
472
472
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
473
473
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
474
474
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -479,14 +479,14 @@ const ListSinksResponseResultInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
479
479
|
perPage: "per_page",
|
|
480
480
|
totalCount: "total_count",
|
|
481
481
|
})));
|
|
482
|
-
const Credentials3 = /*@__PURE__*/
|
|
482
|
+
const Credentials3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
483
483
|
accessKeyId: SensitiveString,
|
|
484
484
|
secretAccessKey: SensitiveString,
|
|
485
485
|
}).pipe(Schema.encodeKeys({
|
|
486
486
|
accessKeyId: "access_key_id",
|
|
487
487
|
secretAccessKey: "secret_access_key",
|
|
488
488
|
})));
|
|
489
|
-
const CloudflarePipelinesR2Table = /*@__PURE__*/
|
|
489
|
+
const CloudflarePipelinesR2Table = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
490
490
|
accountId: Schema.String,
|
|
491
491
|
bucket: Schema.String,
|
|
492
492
|
credentials: Credentials3,
|
|
@@ -506,7 +506,7 @@ const CloudflarePipelinesR2Table = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
506
506
|
rollingPolicy: "rolling_policy",
|
|
507
507
|
})));
|
|
508
508
|
const CloudflarePipelinesR2DataCatalogTable =
|
|
509
|
-
/*@__PURE__*/
|
|
509
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
510
510
|
token: Schema.String,
|
|
511
511
|
accountId: Schema.String,
|
|
512
512
|
bucket: Schema.String,
|
|
@@ -521,7 +521,7 @@ const CloudflarePipelinesR2DataCatalogTable =
|
|
|
521
521
|
namespace: "namespace",
|
|
522
522
|
rollingPolicy: "rolling_policy",
|
|
523
523
|
})));
|
|
524
|
-
const CloudflarePipelinesR2Table2 = /*@__PURE__*/
|
|
524
|
+
const CloudflarePipelinesR2Table2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
525
525
|
accountId: Schema.String,
|
|
526
526
|
bucket: Schema.String,
|
|
527
527
|
credentials: Schema.optional(Schema.Union([Credentials3, Schema.Null])),
|
|
@@ -540,7 +540,7 @@ const CloudflarePipelinesR2Table2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
540
540
|
path: "path",
|
|
541
541
|
rollingPolicy: "rolling_policy",
|
|
542
542
|
})));
|
|
543
|
-
const Edge = /*@__PURE__*/
|
|
543
|
+
const Edge = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
544
544
|
destId: Schema.Number,
|
|
545
545
|
edgeType: Schema.String,
|
|
546
546
|
keyType: Schema.String,
|
|
@@ -553,7 +553,7 @@ const Edge = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
553
553
|
srcId: "src_id",
|
|
554
554
|
valueType: "value_type",
|
|
555
555
|
})));
|
|
556
|
-
const Node = /*@__PURE__*/
|
|
556
|
+
const Node = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
557
557
|
description: Schema.String,
|
|
558
558
|
nodeId: Schema.Number,
|
|
559
559
|
operator: Schema.String,
|
|
@@ -564,19 +564,19 @@ const Node = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
564
564
|
operator: "operator",
|
|
565
565
|
parallelism: "parallelism",
|
|
566
566
|
})));
|
|
567
|
-
const Graph = /*@__PURE__*/
|
|
567
|
+
const Graph = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
568
568
|
edges: Schema.Array(Edge),
|
|
569
569
|
nodes: Schema.Array(Node),
|
|
570
570
|
}));
|
|
571
|
-
const Http = /*@__PURE__*/
|
|
571
|
+
const Http = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
572
572
|
authentication: Schema.Boolean,
|
|
573
573
|
enabled: Schema.Boolean,
|
|
574
574
|
cors: Schema.optional(Schema.Union([Cors, Schema.Null])),
|
|
575
575
|
}));
|
|
576
|
-
const WorkerBinding = /*@__PURE__*/
|
|
576
|
+
const WorkerBinding = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
577
577
|
enabled: Schema.Boolean,
|
|
578
578
|
}));
|
|
579
|
-
const ListStreamsResponseResult = /*@__PURE__*/
|
|
579
|
+
const ListStreamsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
580
580
|
id: Schema.String,
|
|
581
581
|
createdAt: Schema.String,
|
|
582
582
|
http: Http,
|
|
@@ -599,14 +599,14 @@ const ListStreamsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
599
599
|
format: "format",
|
|
600
600
|
schema: "schema",
|
|
601
601
|
})));
|
|
602
|
-
const Table = /*@__PURE__*/
|
|
602
|
+
const Table = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
603
603
|
id: Schema.String,
|
|
604
604
|
latest: Schema.Number,
|
|
605
605
|
name: Schema.String,
|
|
606
606
|
type: Schema.Union([Schema.Literals(["stream", "sink"]), Schema.String]),
|
|
607
607
|
version: Schema.Number,
|
|
608
608
|
}));
|
|
609
|
-
const ListV1PipelineResponseResult = /*@__PURE__*/
|
|
609
|
+
const ListV1PipelineResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
610
610
|
id: Schema.String,
|
|
611
611
|
createdAt: Schema.String,
|
|
612
612
|
modifiedAt: Schema.String,
|
|
@@ -621,14 +621,14 @@ const ListV1PipelineResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
621
621
|
sql: "sql",
|
|
622
622
|
status: "status",
|
|
623
623
|
})));
|
|
624
|
-
export const GetPipelineRequest = /*@__PURE__*/
|
|
624
|
+
export const GetPipelineRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
625
625
|
pipelineName: Schema.String.pipe(T.HttpPath("pipelineName")),
|
|
626
626
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
627
627
|
}).pipe(T.Http({
|
|
628
628
|
method: "GET",
|
|
629
629
|
path: "/accounts/{account_id}/pipelines/{pipelineName}",
|
|
630
630
|
})));
|
|
631
|
-
export const GetPipelineResponse = /*@__PURE__*/
|
|
631
|
+
export const GetPipelineResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
632
632
|
id: Schema.String,
|
|
633
633
|
destination: Destination,
|
|
634
634
|
endpoint: Schema.String,
|
|
@@ -639,18 +639,18 @@ export const GetPipelineResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
639
639
|
])),
|
|
640
640
|
version: Schema.Number,
|
|
641
641
|
}).pipe(T.ResponsePath("result")));
|
|
642
|
-
export const getPipeline = /*@__PURE__*/
|
|
642
|
+
export const getPipeline = /*@__PURE__*/ API.make(() => ({
|
|
643
643
|
input: GetPipelineRequest,
|
|
644
644
|
output: GetPipelineResponse,
|
|
645
645
|
errors: [PipelineNotExists],
|
|
646
646
|
}));
|
|
647
|
-
export const ListPipelinesRequest = /*@__PURE__*/
|
|
647
|
+
export const ListPipelinesRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
648
648
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
649
649
|
page: Schema.optional(Schema.String).pipe(T.HttpQuery("page")),
|
|
650
650
|
perPage: Schema.optional(Schema.String).pipe(T.HttpQuery("per_page")),
|
|
651
651
|
search: Schema.optional(Schema.String).pipe(T.HttpQuery("search")),
|
|
652
652
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/pipelines" })));
|
|
653
|
-
export const ListPipelinesResponse = /*@__PURE__*/
|
|
653
|
+
export const ListPipelinesResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
654
654
|
resultInfo: Schema.optional(Schema.Union([ResultInfo, Schema.Null])),
|
|
655
655
|
results: Schema.Array(Result),
|
|
656
656
|
success: Schema.Boolean,
|
|
@@ -659,12 +659,12 @@ export const ListPipelinesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
659
659
|
results: "result",
|
|
660
660
|
success: "success",
|
|
661
661
|
})));
|
|
662
|
-
export const listPipelines = /*@__PURE__*/
|
|
662
|
+
export const listPipelines = /*@__PURE__*/ API.make(() => ({
|
|
663
663
|
input: ListPipelinesRequest,
|
|
664
664
|
output: ListPipelinesResponse,
|
|
665
665
|
errors: [],
|
|
666
666
|
}));
|
|
667
|
-
export const CreatePipelineRequest = /*@__PURE__*/
|
|
667
|
+
export const CreatePipelineRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
668
668
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
669
669
|
destination: Destination2,
|
|
670
670
|
name: Schema.String,
|
|
@@ -674,7 +674,7 @@ export const CreatePipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
674
674
|
])),
|
|
675
675
|
}).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/pipelines" })));
|
|
676
676
|
export const CreatePipelineResponse =
|
|
677
|
-
/*@__PURE__*/
|
|
677
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
678
678
|
id: Schema.String,
|
|
679
679
|
destination: Destination,
|
|
680
680
|
endpoint: Schema.String,
|
|
@@ -685,12 +685,12 @@ export const CreatePipelineResponse =
|
|
|
685
685
|
])),
|
|
686
686
|
version: Schema.Number,
|
|
687
687
|
}).pipe(T.ResponsePath("result")));
|
|
688
|
-
export const createPipeline = /*@__PURE__*/
|
|
688
|
+
export const createPipeline = /*@__PURE__*/ API.make(() => ({
|
|
689
689
|
input: CreatePipelineRequest,
|
|
690
690
|
output: CreatePipelineResponse,
|
|
691
691
|
errors: [],
|
|
692
692
|
}));
|
|
693
|
-
export const UpdatePipelineRequest = /*@__PURE__*/
|
|
693
|
+
export const UpdatePipelineRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
694
694
|
pipelineName: Schema.String.pipe(T.HttpPath("pipelineName")),
|
|
695
695
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
696
696
|
destination: Destination3,
|
|
@@ -704,7 +704,7 @@ export const UpdatePipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
704
704
|
path: "/accounts/{account_id}/pipelines/{pipelineName}",
|
|
705
705
|
})));
|
|
706
706
|
export const UpdatePipelineResponse =
|
|
707
|
-
/*@__PURE__*/
|
|
707
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
708
708
|
id: Schema.String,
|
|
709
709
|
destination: Destination,
|
|
710
710
|
endpoint: Schema.String,
|
|
@@ -715,12 +715,12 @@ export const UpdatePipelineResponse =
|
|
|
715
715
|
])),
|
|
716
716
|
version: Schema.Number,
|
|
717
717
|
}).pipe(T.ResponsePath("result")));
|
|
718
|
-
export const updatePipeline = /*@__PURE__*/
|
|
718
|
+
export const updatePipeline = /*@__PURE__*/ API.make(() => ({
|
|
719
719
|
input: UpdatePipelineRequest,
|
|
720
720
|
output: UpdatePipelineResponse,
|
|
721
721
|
errors: [PipelineNotExists],
|
|
722
722
|
}));
|
|
723
|
-
export const DeletePipelineRequest = /*@__PURE__*/
|
|
723
|
+
export const DeletePipelineRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
724
724
|
pipelineName: Schema.String.pipe(T.HttpPath("pipelineName")),
|
|
725
725
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
726
726
|
}).pipe(T.Http({
|
|
@@ -728,20 +728,20 @@ export const DeletePipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
728
728
|
path: "/accounts/{account_id}/pipelines/{pipelineName}",
|
|
729
729
|
})));
|
|
730
730
|
export const DeletePipelineResponse =
|
|
731
|
-
/*@__PURE__*/
|
|
732
|
-
export const deletePipeline = /*@__PURE__*/
|
|
731
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
|
|
732
|
+
export const deletePipeline = /*@__PURE__*/ API.make(() => ({
|
|
733
733
|
input: DeletePipelineRequest,
|
|
734
734
|
output: DeletePipelineResponse,
|
|
735
735
|
errors: [PipelineNotExists],
|
|
736
736
|
}));
|
|
737
|
-
export const GetSinkRequest = /*@__PURE__*/
|
|
737
|
+
export const GetSinkRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
738
738
|
sinkId: Schema.String.pipe(T.HttpPath("sinkId")),
|
|
739
739
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
740
740
|
}).pipe(T.Http({
|
|
741
741
|
method: "GET",
|
|
742
742
|
path: "/accounts/{account_id}/pipelines/v1/sinks/{sinkId}",
|
|
743
743
|
})));
|
|
744
|
-
export const GetSinkResponse = /*@__PURE__*/
|
|
744
|
+
export const GetSinkResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
745
745
|
id: Schema.String,
|
|
746
746
|
createdAt: Schema.String,
|
|
747
747
|
modifiedAt: Schema.String,
|
|
@@ -771,12 +771,12 @@ export const GetSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
771
771
|
schema: "schema",
|
|
772
772
|
}))
|
|
773
773
|
.pipe(T.ResponsePath("result")));
|
|
774
|
-
export const getSink = /*@__PURE__*/
|
|
774
|
+
export const getSink = /*@__PURE__*/ API.make(() => ({
|
|
775
775
|
input: GetSinkRequest,
|
|
776
776
|
output: GetSinkResponse,
|
|
777
777
|
errors: [SinkNotFound, InvalidSinkId],
|
|
778
778
|
}));
|
|
779
|
-
export const ListSinksRequest = /*@__PURE__*/
|
|
779
|
+
export const ListSinksRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
780
780
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
781
781
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
782
782
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -786,11 +786,11 @@ export const ListSinksRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
786
786
|
method: "GET",
|
|
787
787
|
path: "/accounts/{account_id}/pipelines/v1/sinks",
|
|
788
788
|
})));
|
|
789
|
-
export const ListSinksResponse = /*@__PURE__*/
|
|
789
|
+
export const ListSinksResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
790
790
|
result: Schema.Array(ListSinksResponseResult),
|
|
791
791
|
resultInfo: Schema.optional(Schema.Union([ListSinksResponseResultInfo, Schema.Null])),
|
|
792
792
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
793
|
-
export const listSinks = /*@__PURE__*/
|
|
793
|
+
export const listSinks = /*@__PURE__*/ API.makePaginated(() => ({
|
|
794
794
|
input: ListSinksRequest,
|
|
795
795
|
output: ListSinksResponse,
|
|
796
796
|
errors: [],
|
|
@@ -802,7 +802,7 @@ export const listSinks = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
802
802
|
pageSize: "perPage",
|
|
803
803
|
},
|
|
804
804
|
}));
|
|
805
|
-
export const CreateSinkRequest = /*@__PURE__*/
|
|
805
|
+
export const CreateSinkRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
806
806
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
807
807
|
name: Schema.String,
|
|
808
808
|
type: Schema.Union([
|
|
@@ -819,7 +819,7 @@ export const CreateSinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
819
819
|
method: "POST",
|
|
820
820
|
path: "/accounts/{account_id}/pipelines/v1/sinks",
|
|
821
821
|
})));
|
|
822
|
-
export const CreateSinkResponse = /*@__PURE__*/
|
|
822
|
+
export const CreateSinkResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
823
823
|
id: Schema.String,
|
|
824
824
|
createdAt: Schema.String,
|
|
825
825
|
modifiedAt: Schema.String,
|
|
@@ -849,12 +849,12 @@ export const CreateSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
849
849
|
schema: "schema",
|
|
850
850
|
}))
|
|
851
851
|
.pipe(T.ResponsePath("result")));
|
|
852
|
-
export const createSink = /*@__PURE__*/
|
|
852
|
+
export const createSink = /*@__PURE__*/ API.make(() => ({
|
|
853
853
|
input: CreateSinkRequest,
|
|
854
854
|
output: CreateSinkResponse,
|
|
855
855
|
errors: [SinkAuthFailed, InvalidSinkConfig, SinkAlreadyExists],
|
|
856
856
|
}));
|
|
857
|
-
export const DeleteSinkRequest = /*@__PURE__*/
|
|
857
|
+
export const DeleteSinkRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
858
858
|
sinkId: Schema.String.pipe(T.HttpPath("sinkId")),
|
|
859
859
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
860
860
|
force: Schema.optional(Schema.String).pipe(T.HttpQuery("force")),
|
|
@@ -862,14 +862,14 @@ export const DeleteSinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
862
862
|
method: "DELETE",
|
|
863
863
|
path: "/accounts/{account_id}/pipelines/v1/sinks/{sinkId}",
|
|
864
864
|
})));
|
|
865
|
-
export const DeleteSinkResponse = /*@__PURE__*/
|
|
866
|
-
export const deleteSink = /*@__PURE__*/
|
|
865
|
+
export const DeleteSinkResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
866
|
+
export const deleteSink = /*@__PURE__*/ API.make(() => ({
|
|
867
867
|
input: DeleteSinkRequest,
|
|
868
868
|
output: DeleteSinkResponse,
|
|
869
869
|
errors: [SinkNotFound, InvalidSinkId, SinkInUse],
|
|
870
870
|
}));
|
|
871
871
|
export const ValidateSqlPipelineRequest =
|
|
872
|
-
/*@__PURE__*/
|
|
872
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
873
873
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
874
874
|
sql: Schema.String,
|
|
875
875
|
}).pipe(T.Http({
|
|
@@ -877,23 +877,23 @@ export const ValidateSqlPipelineRequest =
|
|
|
877
877
|
path: "/accounts/{account_id}/pipelines/v1/validate_sql",
|
|
878
878
|
})));
|
|
879
879
|
export const ValidateSqlPipelineResponse =
|
|
880
|
-
/*@__PURE__*/
|
|
880
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
881
881
|
tables: Schema.Record(Schema.String, Schema.Unknown),
|
|
882
882
|
graph: Schema.optional(Schema.Union([Graph, Schema.Null])),
|
|
883
883
|
}).pipe(T.ResponsePath("result")));
|
|
884
|
-
export const validateSqlPipeline = /*@__PURE__*/
|
|
884
|
+
export const validateSqlPipeline = /*@__PURE__*/ API.make(() => ({
|
|
885
885
|
input: ValidateSqlPipelineRequest,
|
|
886
886
|
output: ValidateSqlPipelineResponse,
|
|
887
887
|
errors: [TableNotFound, InvalidSql],
|
|
888
888
|
}));
|
|
889
|
-
export const GetStreamRequest = /*@__PURE__*/
|
|
889
|
+
export const GetStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
890
890
|
streamId: Schema.String.pipe(T.HttpPath("streamId")),
|
|
891
891
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
892
892
|
}).pipe(T.Http({
|
|
893
893
|
method: "GET",
|
|
894
894
|
path: "/accounts/{account_id}/pipelines/v1/streams/{streamId}",
|
|
895
895
|
})));
|
|
896
|
-
export const GetStreamResponse = /*@__PURE__*/
|
|
896
|
+
export const GetStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
897
897
|
id: Schema.String,
|
|
898
898
|
createdAt: Schema.String,
|
|
899
899
|
http: Http,
|
|
@@ -918,12 +918,12 @@ export const GetStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
918
918
|
schema: "schema",
|
|
919
919
|
}))
|
|
920
920
|
.pipe(T.ResponsePath("result")));
|
|
921
|
-
export const getStream = /*@__PURE__*/
|
|
921
|
+
export const getStream = /*@__PURE__*/ API.make(() => ({
|
|
922
922
|
input: GetStreamRequest,
|
|
923
923
|
output: GetStreamResponse,
|
|
924
924
|
errors: [StreamNotFound, InvalidStreamId],
|
|
925
925
|
}));
|
|
926
|
-
export const ListStreamsRequest = /*@__PURE__*/
|
|
926
|
+
export const ListStreamsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
927
927
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
928
928
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
929
929
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -933,11 +933,11 @@ export const ListStreamsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
933
933
|
method: "GET",
|
|
934
934
|
path: "/accounts/{account_id}/pipelines/v1/streams",
|
|
935
935
|
})));
|
|
936
|
-
export const ListStreamsResponse = /*@__PURE__*/
|
|
936
|
+
export const ListStreamsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
937
937
|
result: Schema.Array(ListStreamsResponseResult),
|
|
938
938
|
resultInfo: Schema.optional(Schema.Union([ListSinksResponseResultInfo, Schema.Null])),
|
|
939
939
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
940
|
-
export const listStreams = /*@__PURE__*/
|
|
940
|
+
export const listStreams = /*@__PURE__*/ API.makePaginated(() => ({
|
|
941
941
|
input: ListStreamsRequest,
|
|
942
942
|
output: ListStreamsResponse,
|
|
943
943
|
errors: [],
|
|
@@ -949,7 +949,7 @@ export const listStreams = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => (
|
|
|
949
949
|
pageSize: "perPage",
|
|
950
950
|
},
|
|
951
951
|
}));
|
|
952
|
-
export const CreateStreamRequest = /*@__PURE__*/
|
|
952
|
+
export const CreateStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
953
953
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
954
954
|
name: Schema.String,
|
|
955
955
|
format: Schema.optional(Schema.Union([Json, Parquet])),
|
|
@@ -966,7 +966,7 @@ export const CreateStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
966
966
|
method: "POST",
|
|
967
967
|
path: "/accounts/{account_id}/pipelines/v1/streams",
|
|
968
968
|
})));
|
|
969
|
-
export const CreateStreamResponse = /*@__PURE__*/
|
|
969
|
+
export const CreateStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
970
970
|
id: Schema.String,
|
|
971
971
|
createdAt: Schema.String,
|
|
972
972
|
http: Http,
|
|
@@ -991,12 +991,12 @@ export const CreateStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
991
991
|
schema: "schema",
|
|
992
992
|
}))
|
|
993
993
|
.pipe(T.ResponsePath("result")));
|
|
994
|
-
export const createStream = /*@__PURE__*/
|
|
994
|
+
export const createStream = /*@__PURE__*/ API.make(() => ({
|
|
995
995
|
input: CreateStreamRequest,
|
|
996
996
|
output: CreateStreamResponse,
|
|
997
997
|
errors: [InvalidStreamName, StreamAlreadyExists],
|
|
998
998
|
}));
|
|
999
|
-
export const PatchStreamRequest = /*@__PURE__*/
|
|
999
|
+
export const PatchStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1000
1000
|
streamId: Schema.String.pipe(T.HttpPath("streamId")),
|
|
1001
1001
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1002
1002
|
http: Schema.optional(Http),
|
|
@@ -1005,7 +1005,7 @@ export const PatchStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1005
1005
|
method: "PATCH",
|
|
1006
1006
|
path: "/accounts/{account_id}/pipelines/v1/streams/{streamId}",
|
|
1007
1007
|
})));
|
|
1008
|
-
export const PatchStreamResponse = /*@__PURE__*/
|
|
1008
|
+
export const PatchStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1009
1009
|
id: Schema.String,
|
|
1010
1010
|
createdAt: Schema.String,
|
|
1011
1011
|
http: Http,
|
|
@@ -1028,12 +1028,12 @@ export const PatchStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1028
1028
|
format: "format",
|
|
1029
1029
|
}))
|
|
1030
1030
|
.pipe(T.ResponsePath("result")));
|
|
1031
|
-
export const patchStream = /*@__PURE__*/
|
|
1031
|
+
export const patchStream = /*@__PURE__*/ API.make(() => ({
|
|
1032
1032
|
input: PatchStreamRequest,
|
|
1033
1033
|
output: PatchStreamResponse,
|
|
1034
1034
|
errors: [StreamNotFound],
|
|
1035
1035
|
}));
|
|
1036
|
-
export const DeleteStreamRequest = /*@__PURE__*/
|
|
1036
|
+
export const DeleteStreamRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1037
1037
|
streamId: Schema.String.pipe(T.HttpPath("streamId")),
|
|
1038
1038
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1039
1039
|
force: Schema.optional(Schema.String).pipe(T.HttpQuery("force")),
|
|
@@ -1041,20 +1041,20 @@ export const DeleteStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1041
1041
|
method: "DELETE",
|
|
1042
1042
|
path: "/accounts/{account_id}/pipelines/v1/streams/{streamId}",
|
|
1043
1043
|
})));
|
|
1044
|
-
export const DeleteStreamResponse = /*@__PURE__*/
|
|
1045
|
-
export const deleteStream = /*@__PURE__*/
|
|
1044
|
+
export const DeleteStreamResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1045
|
+
export const deleteStream = /*@__PURE__*/ API.make(() => ({
|
|
1046
1046
|
input: DeleteStreamRequest,
|
|
1047
1047
|
output: DeleteStreamResponse,
|
|
1048
1048
|
errors: [PipelineNotExists, StreamNotFound, InvalidStreamId, StreamInUse],
|
|
1049
1049
|
}));
|
|
1050
|
-
export const GetV1PipelineRequest = /*@__PURE__*/
|
|
1050
|
+
export const GetV1PipelineRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1051
1051
|
pipelineId: Schema.String.pipe(T.HttpPath("pipelineId")),
|
|
1052
1052
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1053
1053
|
}).pipe(T.Http({
|
|
1054
1054
|
method: "GET",
|
|
1055
1055
|
path: "/accounts/{account_id}/pipelines/v1/pipelines/{pipelineId}",
|
|
1056
1056
|
})));
|
|
1057
|
-
export const GetV1PipelineResponse = /*@__PURE__*/
|
|
1057
|
+
export const GetV1PipelineResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1058
1058
|
id: Schema.String,
|
|
1059
1059
|
createdAt: Schema.String,
|
|
1060
1060
|
modifiedAt: Schema.String,
|
|
@@ -1075,12 +1075,12 @@ export const GetV1PipelineResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1075
1075
|
failureReason: "failure_reason",
|
|
1076
1076
|
}))
|
|
1077
1077
|
.pipe(T.ResponsePath("result")));
|
|
1078
|
-
export const getV1Pipeline = /*@__PURE__*/
|
|
1078
|
+
export const getV1Pipeline = /*@__PURE__*/ API.make(() => ({
|
|
1079
1079
|
input: GetV1PipelineRequest,
|
|
1080
1080
|
output: GetV1PipelineResponse,
|
|
1081
1081
|
errors: [PipelineNotExists],
|
|
1082
1082
|
}));
|
|
1083
|
-
export const ListV1PipelineRequest = /*@__PURE__*/
|
|
1083
|
+
export const ListV1PipelineRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1084
1084
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1085
1085
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1086
1086
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -1090,11 +1090,11 @@ export const ListV1PipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1090
1090
|
path: "/accounts/{account_id}/pipelines/v1/pipelines",
|
|
1091
1091
|
})));
|
|
1092
1092
|
export const ListV1PipelineResponse =
|
|
1093
|
-
/*@__PURE__*/
|
|
1093
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1094
1094
|
result: Schema.Array(ListV1PipelineResponseResult),
|
|
1095
1095
|
resultInfo: Schema.optional(Schema.Union([ListSinksResponseResultInfo, Schema.Null])),
|
|
1096
1096
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1097
|
-
export const listV1Pipeline = /*@__PURE__*/
|
|
1097
|
+
export const listV1Pipeline = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1098
1098
|
input: ListV1PipelineRequest,
|
|
1099
1099
|
output: ListV1PipelineResponse,
|
|
1100
1100
|
errors: [],
|
|
@@ -1107,7 +1107,7 @@ export const listV1Pipeline = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =
|
|
|
1107
1107
|
},
|
|
1108
1108
|
}));
|
|
1109
1109
|
export const CreateV1PipelineRequest =
|
|
1110
|
-
/*@__PURE__*/
|
|
1110
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1111
1111
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1112
1112
|
name: Schema.String,
|
|
1113
1113
|
sql: Schema.String,
|
|
@@ -1116,7 +1116,7 @@ export const CreateV1PipelineRequest =
|
|
|
1116
1116
|
path: "/accounts/{account_id}/pipelines/v1/pipelines",
|
|
1117
1117
|
})));
|
|
1118
1118
|
export const CreateV1PipelineResponse =
|
|
1119
|
-
/*@__PURE__*/
|
|
1119
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1120
1120
|
id: Schema.String,
|
|
1121
1121
|
createdAt: Schema.String,
|
|
1122
1122
|
modifiedAt: Schema.String,
|
|
@@ -1133,13 +1133,13 @@ export const CreateV1PipelineResponse =
|
|
|
1133
1133
|
status: "status",
|
|
1134
1134
|
}))
|
|
1135
1135
|
.pipe(T.ResponsePath("result")));
|
|
1136
|
-
export const createV1Pipeline = /*@__PURE__*/
|
|
1136
|
+
export const createV1Pipeline = /*@__PURE__*/ API.make(() => ({
|
|
1137
1137
|
input: CreateV1PipelineRequest,
|
|
1138
1138
|
output: CreateV1PipelineResponse,
|
|
1139
1139
|
errors: [TableNotFound, InvalidSql, PipelineAlreadyExists],
|
|
1140
1140
|
}));
|
|
1141
1141
|
export const DeleteV1PipelineRequest =
|
|
1142
|
-
/*@__PURE__*/
|
|
1142
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1143
1143
|
pipelineId: Schema.String.pipe(T.HttpPath("pipelineId")),
|
|
1144
1144
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1145
1145
|
}).pipe(T.Http({
|
|
@@ -1147,8 +1147,8 @@ export const DeleteV1PipelineRequest =
|
|
|
1147
1147
|
path: "/accounts/{account_id}/pipelines/v1/pipelines/{pipelineId}",
|
|
1148
1148
|
})));
|
|
1149
1149
|
export const DeleteV1PipelineResponse =
|
|
1150
|
-
/*@__PURE__*/
|
|
1151
|
-
export const deleteV1Pipeline = /*@__PURE__*/
|
|
1150
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1151
|
+
export const deleteV1Pipeline = /*@__PURE__*/ API.make(() => ({
|
|
1152
1152
|
input: DeleteV1PipelineRequest,
|
|
1153
1153
|
output: DeleteV1PipelineResponse,
|
|
1154
1154
|
errors: [PipelineNotExists],
|