@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
|
@@ -48,24 +48,24 @@ export class WorkflowNotFound extends T.applyErrorMatchers(Schema.TaggedErrorCla
|
|
|
48
48
|
message: Schema.String,
|
|
49
49
|
}), [{ code: 10200 }]) {
|
|
50
50
|
}
|
|
51
|
-
const Error2 = /*@__PURE__*/
|
|
51
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
52
52
|
message: Schema.String,
|
|
53
53
|
name: Schema.String,
|
|
54
54
|
}));
|
|
55
|
-
const Rollback = /*@__PURE__*/
|
|
55
|
+
const Rollback = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
56
56
|
error: Schema.Union([Error2, Schema.Null]),
|
|
57
57
|
outcome: Schema.Union([
|
|
58
58
|
Schema.Literals(["complete", "failed"]),
|
|
59
59
|
Schema.String,
|
|
60
60
|
]),
|
|
61
61
|
}));
|
|
62
|
-
const Attempt = /*@__PURE__*/
|
|
62
|
+
const Attempt = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
63
63
|
end: Schema.Union([Schema.String, Schema.Null]),
|
|
64
64
|
error: Schema.Union([Error2, Schema.Null]),
|
|
65
65
|
start: Schema.String,
|
|
66
66
|
success: Schema.Union([Schema.Boolean, Schema.Null]),
|
|
67
67
|
}));
|
|
68
|
-
const Retries = /*@__PURE__*/
|
|
68
|
+
const Retries = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
69
69
|
delay: Schema.Union([Schema.String, Schema.Number]),
|
|
70
70
|
limit: Schema.Number,
|
|
71
71
|
backoff: Schema.optional(Schema.Union([
|
|
@@ -76,12 +76,12 @@ const Retries = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
76
76
|
Schema.Null,
|
|
77
77
|
])),
|
|
78
78
|
}));
|
|
79
|
-
const Config = /*@__PURE__*/
|
|
79
|
+
const Config = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
80
80
|
retries: Retries,
|
|
81
81
|
timeout: Schema.Unknown,
|
|
82
82
|
sensitive: Schema.optional(Schema.Union([Schema.Literal("output"), Schema.Null])),
|
|
83
83
|
}));
|
|
84
|
-
const GetInstanceResponseStep = /*@__PURE__*/
|
|
84
|
+
const GetInstanceResponseStep = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
85
85
|
attempts: Schema.Array(Attempt),
|
|
86
86
|
config: Config,
|
|
87
87
|
end: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -91,7 +91,7 @@ const GetInstanceResponseStep = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
91
91
|
success: Schema.Union([Schema.Boolean, Schema.Null]),
|
|
92
92
|
type: Schema.Union([Schema.Literals(["step", "rollback"]), Schema.String]),
|
|
93
93
|
}));
|
|
94
|
-
const GetInstanceResponseStep1 = /*@__PURE__*/
|
|
94
|
+
const GetInstanceResponseStep1 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
95
95
|
end: Schema.String,
|
|
96
96
|
error: Schema.Union([Error2, Schema.Null]),
|
|
97
97
|
finished: Schema.Boolean,
|
|
@@ -99,14 +99,14 @@ const GetInstanceResponseStep1 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
99
99
|
start: Schema.String,
|
|
100
100
|
type: Schema.Literal("sleep"),
|
|
101
101
|
}));
|
|
102
|
-
const Trigger = /*@__PURE__*/
|
|
102
|
+
const Trigger = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
103
103
|
source: Schema.String,
|
|
104
104
|
}));
|
|
105
|
-
const GetInstanceResponseStep2 = /*@__PURE__*/
|
|
105
|
+
const GetInstanceResponseStep2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
106
106
|
trigger: Trigger,
|
|
107
107
|
type: Schema.Literal("termination"),
|
|
108
108
|
}));
|
|
109
|
-
const GetInstanceResponseStep3 = /*@__PURE__*/
|
|
109
|
+
const GetInstanceResponseStep3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
110
110
|
end: Schema.String,
|
|
111
111
|
error: Schema.Union([Error2, Schema.Null]),
|
|
112
112
|
finished: Schema.Boolean,
|
|
@@ -115,17 +115,17 @@ const GetInstanceResponseStep3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
115
115
|
type: Schema.Literal("waitForEvent"),
|
|
116
116
|
output: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
117
117
|
}));
|
|
118
|
-
const Trigger2 = /*@__PURE__*/
|
|
118
|
+
const Trigger2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
119
119
|
source: Schema.Union([
|
|
120
120
|
Schema.Literals(["unknown", "api", "binding", "event", "cron"]),
|
|
121
121
|
Schema.String,
|
|
122
122
|
]),
|
|
123
123
|
}));
|
|
124
|
-
const Schedule = /*@__PURE__*/
|
|
124
|
+
const Schedule = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
125
125
|
cron: Schema.String,
|
|
126
126
|
scheduledTime: Schema.Number,
|
|
127
127
|
}));
|
|
128
|
-
const ListInstancesResponseResult = /*@__PURE__*/
|
|
128
|
+
const ListInstancesResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
129
129
|
id: Schema.String,
|
|
130
130
|
createdOn: Schema.String,
|
|
131
131
|
endedOn: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -166,7 +166,7 @@ const ListInstancesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
166
166
|
triggerSource: "trigger_source",
|
|
167
167
|
})));
|
|
168
168
|
const ListInstancesResponseResultInfo =
|
|
169
|
-
/*@__PURE__*/
|
|
169
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
170
170
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
171
171
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
172
172
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -177,14 +177,14 @@ const ListInstancesResponseResultInfo =
|
|
|
177
177
|
perPage: "per_page",
|
|
178
178
|
totalCount: "total_count",
|
|
179
179
|
})));
|
|
180
|
-
const InstanceRetention = /*@__PURE__*/
|
|
180
|
+
const InstanceRetention = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
181
181
|
errorRetention: Schema.optional(Schema.Union([Schema.Union([Schema.Number, Schema.String]), Schema.Null])),
|
|
182
182
|
successRetention: Schema.optional(Schema.Union([Schema.Union([Schema.Number, Schema.String]), Schema.Null])),
|
|
183
183
|
}).pipe(Schema.encodeKeys({
|
|
184
184
|
errorRetention: "error_retention",
|
|
185
185
|
successRetention: "success_retention",
|
|
186
186
|
})));
|
|
187
|
-
const Body = /*@__PURE__*/
|
|
187
|
+
const Body = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
188
188
|
instanceId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
189
189
|
instanceRetention: Schema.optional(Schema.Union([InstanceRetention, Schema.Null])),
|
|
190
190
|
params: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
@@ -193,7 +193,7 @@ const Body = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
193
193
|
instanceRetention: "instance_retention",
|
|
194
194
|
params: "params",
|
|
195
195
|
})));
|
|
196
|
-
const BulkInstanceResponseResult = /*@__PURE__*/
|
|
196
|
+
const BulkInstanceResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
197
197
|
id: Schema.String,
|
|
198
198
|
status: Schema.Union([
|
|
199
199
|
Schema.Literals([
|
|
@@ -225,7 +225,7 @@ const BulkInstanceResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
225
225
|
workflowId: "workflow_id",
|
|
226
226
|
triggerSource: "trigger_source",
|
|
227
227
|
})));
|
|
228
|
-
const From = /*@__PURE__*/
|
|
228
|
+
const From = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
229
229
|
name: Schema.String,
|
|
230
230
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
231
231
|
type: Schema.optional(Schema.Union([
|
|
@@ -236,10 +236,10 @@ const From = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
236
236
|
Schema.Null,
|
|
237
237
|
])),
|
|
238
238
|
}));
|
|
239
|
-
const Limits = /*@__PURE__*/
|
|
239
|
+
const Limits = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
240
240
|
steps: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
241
241
|
}));
|
|
242
|
-
const ListVersionsResponseResult = /*@__PURE__*/
|
|
242
|
+
const ListVersionsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
243
243
|
id: Schema.String,
|
|
244
244
|
className: Schema.String,
|
|
245
245
|
createdOn: Schema.String,
|
|
@@ -262,14 +262,14 @@ const ListVersionsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
262
262
|
limits: "limits",
|
|
263
263
|
})));
|
|
264
264
|
const GraphVersionResponseGraphWorkflowNode =
|
|
265
|
-
/*@__PURE__*/
|
|
265
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
266
266
|
duration: Schema.Union([Schema.Number, Schema.String]),
|
|
267
267
|
name: Schema.String,
|
|
268
268
|
type: Schema.Literal("step_sleep"),
|
|
269
269
|
resolves: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
270
270
|
starts: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
271
271
|
}));
|
|
272
|
-
const Retries2 = /*@__PURE__*/
|
|
272
|
+
const Retries2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
273
273
|
backoff: Schema.Union([
|
|
274
274
|
Schema.Literals(["constant", "linear", "exponential"]),
|
|
275
275
|
Schema.String,
|
|
@@ -277,12 +277,12 @@ const Retries2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
277
277
|
delay: Schema.Union([Schema.Number, Schema.String]),
|
|
278
278
|
limit: Schema.Number,
|
|
279
279
|
}));
|
|
280
|
-
const Config2 = /*@__PURE__*/
|
|
280
|
+
const Config2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
281
281
|
retries: Retries2,
|
|
282
282
|
timeout: Schema.Union([Schema.Number, Schema.String]),
|
|
283
283
|
}));
|
|
284
284
|
const GraphVersionResponseGraphWorkflowNode1 =
|
|
285
|
-
/*@__PURE__*/
|
|
285
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
286
286
|
config: Config2,
|
|
287
287
|
name: Schema.String,
|
|
288
288
|
nodes: Schema.Array(Schema.Unknown),
|
|
@@ -290,20 +290,20 @@ const GraphVersionResponseGraphWorkflowNode1 =
|
|
|
290
290
|
resolves: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
291
291
|
starts: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
292
292
|
}));
|
|
293
|
-
const Options = /*@__PURE__*/
|
|
293
|
+
const Options = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
294
294
|
eventType: Schema.String,
|
|
295
295
|
timeout: Schema.Union([Schema.Number, Schema.String]),
|
|
296
296
|
}).pipe(Schema.encodeKeys({ eventType: "event_type", timeout: "timeout" })));
|
|
297
|
-
const Type = /*@__PURE__*/
|
|
297
|
+
const Type = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
298
298
|
type: Schema.Literal("unknown"),
|
|
299
299
|
}));
|
|
300
300
|
const GraphVersionResponseGraphWorkflowNode2Payload1 =
|
|
301
|
-
/*@__PURE__*/
|
|
301
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
302
302
|
fields: Schema.Record(Schema.String, Schema.Unknown),
|
|
303
303
|
type: Schema.Literal("object"),
|
|
304
304
|
}));
|
|
305
305
|
const GraphVersionResponseGraphWorkflowNode2 =
|
|
306
|
-
/*@__PURE__*/
|
|
306
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
307
307
|
name: Schema.String,
|
|
308
308
|
options: Schema.Union([Options, Schema.Null]),
|
|
309
309
|
type: Schema.Literal("step_wait_for_event"),
|
|
@@ -315,7 +315,7 @@ const GraphVersionResponseGraphWorkflowNode2 =
|
|
|
315
315
|
starts: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
316
316
|
}));
|
|
317
317
|
const GraphVersionResponseGraphWorkflowNode3 =
|
|
318
|
-
/*@__PURE__*/
|
|
318
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
319
319
|
name: Schema.String,
|
|
320
320
|
timestamp: Schema.String,
|
|
321
321
|
type: Schema.Literal("step_sleep_until"),
|
|
@@ -323,12 +323,12 @@ const GraphVersionResponseGraphWorkflowNode3 =
|
|
|
323
323
|
starts: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
324
324
|
}));
|
|
325
325
|
const GraphVersionResponseGraphWorkflowNode4 =
|
|
326
|
-
/*@__PURE__*/
|
|
326
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
327
327
|
nodes: Schema.Array(Schema.Unknown),
|
|
328
328
|
type: Schema.Literal("loop"),
|
|
329
329
|
}));
|
|
330
330
|
const GraphVersionResponseGraphWorkflowNode5 =
|
|
331
|
-
/*@__PURE__*/
|
|
331
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
332
332
|
kind: Schema.Union([
|
|
333
333
|
Schema.Literals(["all", "any", "all_settled", "race"]),
|
|
334
334
|
Schema.String,
|
|
@@ -336,12 +336,12 @@ const GraphVersionResponseGraphWorkflowNode5 =
|
|
|
336
336
|
nodes: Schema.Array(Schema.Unknown),
|
|
337
337
|
type: Schema.Literal("parallel"),
|
|
338
338
|
}));
|
|
339
|
-
const CatchBlock = /*@__PURE__*/
|
|
339
|
+
const CatchBlock = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
340
340
|
nodes: Schema.Array(Schema.Unknown),
|
|
341
341
|
type: Schema.Literal("block"),
|
|
342
342
|
}));
|
|
343
343
|
const GraphVersionResponseGraphWorkflowNode6 =
|
|
344
|
-
/*@__PURE__*/
|
|
344
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
345
345
|
catchBlock: Schema.Union([CatchBlock, Schema.Null]),
|
|
346
346
|
finallyBlock: Schema.Union([CatchBlock, Schema.Null]),
|
|
347
347
|
tryBlock: Schema.Union([CatchBlock, Schema.Null]),
|
|
@@ -352,23 +352,23 @@ const GraphVersionResponseGraphWorkflowNode6 =
|
|
|
352
352
|
tryBlock: "try_block",
|
|
353
353
|
type: "type",
|
|
354
354
|
})));
|
|
355
|
-
const Branch = /*@__PURE__*/
|
|
355
|
+
const Branch = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
356
356
|
condition: Schema.Union([Schema.String, Schema.Null]),
|
|
357
357
|
nodes: Schema.Array(Schema.Unknown),
|
|
358
358
|
}));
|
|
359
359
|
const GraphVersionResponseGraphWorkflowNode8 =
|
|
360
|
-
/*@__PURE__*/
|
|
360
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
361
361
|
branches: Schema.Array(Branch),
|
|
362
362
|
type: Schema.Literal("if"),
|
|
363
363
|
}));
|
|
364
364
|
const GraphVersionResponseGraphWorkflowNode9 =
|
|
365
|
-
/*@__PURE__*/
|
|
365
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
366
366
|
branches: Schema.Array(Branch),
|
|
367
367
|
discriminant: Schema.String,
|
|
368
368
|
type: Schema.Literal("switch"),
|
|
369
369
|
}));
|
|
370
370
|
const GraphVersionResponseGraphWorkflowNode10 =
|
|
371
|
-
/*@__PURE__*/
|
|
371
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
372
372
|
className: Schema.String,
|
|
373
373
|
functions: Schema.Record(Schema.String, Schema.Unknown),
|
|
374
374
|
nodes: Schema.Array(Schema.Unknown),
|
|
@@ -385,24 +385,24 @@ const GraphVersionResponseGraphWorkflowNode10 =
|
|
|
385
385
|
payload: "payload",
|
|
386
386
|
})));
|
|
387
387
|
const GraphVersionResponseGraphWorkflowNode11 =
|
|
388
|
-
/*@__PURE__*/
|
|
388
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
389
389
|
name: Schema.String,
|
|
390
390
|
type: Schema.Literal("function_call"),
|
|
391
391
|
resolves: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
392
392
|
starts: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
393
393
|
}));
|
|
394
394
|
const GraphVersionResponseGraphWorkflowNode12 =
|
|
395
|
-
/*@__PURE__*/
|
|
395
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
396
396
|
name: Schema.String,
|
|
397
397
|
nodes: Schema.Array(Schema.Unknown),
|
|
398
398
|
type: Schema.Literal("function_def"),
|
|
399
399
|
}));
|
|
400
400
|
const GraphVersionResponseGraphWorkflowNode13 =
|
|
401
|
-
/*@__PURE__*/
|
|
401
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
402
402
|
kind: Schema.Union([Schema.Literals(["break", "return"]), Schema.String]),
|
|
403
403
|
type: Schema.Literal("break"),
|
|
404
404
|
}));
|
|
405
|
-
const Workflow = /*@__PURE__*/
|
|
405
|
+
const Workflow = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
406
406
|
className: Schema.String,
|
|
407
407
|
functions: Schema.Record(Schema.String, Schema.Unknown),
|
|
408
408
|
nodes: Schema.Array(Schema.Union([
|
|
@@ -431,11 +431,11 @@ const Workflow = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
431
431
|
nodes: "nodes",
|
|
432
432
|
payload: "payload",
|
|
433
433
|
})));
|
|
434
|
-
const Graph = /*@__PURE__*/
|
|
434
|
+
const Graph = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
435
435
|
version: Schema.Number,
|
|
436
436
|
workflow: Workflow,
|
|
437
437
|
}));
|
|
438
|
-
const Instances = /*@__PURE__*/
|
|
438
|
+
const Instances = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
439
439
|
complete: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
440
440
|
errored: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
441
441
|
paused: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -446,11 +446,11 @@ const Instances = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
446
446
|
waiting: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
447
447
|
waitingForPause: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
448
448
|
}));
|
|
449
|
-
const Schedule2 = /*@__PURE__*/
|
|
449
|
+
const Schedule2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
450
450
|
cron: Schema.String,
|
|
451
451
|
nextInstance: Schema.String,
|
|
452
452
|
}).pipe(Schema.encodeKeys({ cron: "cron", nextInstance: "next_instance" })));
|
|
453
|
-
const ListWorkflowsResponseResult = /*@__PURE__*/
|
|
453
|
+
const ListWorkflowsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
454
454
|
id: Schema.String,
|
|
455
455
|
className: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
456
456
|
createdOn: Schema.String,
|
|
@@ -471,10 +471,10 @@ const ListWorkflowsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
471
471
|
triggeredOn: "triggered_on",
|
|
472
472
|
schedules: "schedules",
|
|
473
473
|
})));
|
|
474
|
-
const Schedule3 = /*@__PURE__*/
|
|
474
|
+
const Schedule3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
475
475
|
cron: Schema.String,
|
|
476
476
|
}));
|
|
477
|
-
export const GetInstanceRequest = /*@__PURE__*/
|
|
477
|
+
export const GetInstanceRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
478
478
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
479
479
|
instanceId: Schema.String.pipe(T.HttpPath("instanceId")),
|
|
480
480
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -484,7 +484,7 @@ export const GetInstanceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
484
484
|
method: "GET",
|
|
485
485
|
path: "/accounts/{account_id}/workflows/{workflowName}/instances/{instanceId}",
|
|
486
486
|
})));
|
|
487
|
-
export const GetInstanceResponse = /*@__PURE__*/
|
|
487
|
+
export const GetInstanceResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
488
488
|
end: Schema.Union([Schema.String, Schema.Null]),
|
|
489
489
|
error: Schema.Union([Error2, Schema.Null]),
|
|
490
490
|
output: Schema.Union([Schema.String, Schema.Number, Schema.Null]),
|
|
@@ -535,12 +535,12 @@ export const GetInstanceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
535
535
|
schedule: "schedule",
|
|
536
536
|
}))
|
|
537
537
|
.pipe(T.ResponsePath("result")));
|
|
538
|
-
export const getInstance = /*@__PURE__*/
|
|
538
|
+
export const getInstance = /*@__PURE__*/ API.make(() => ({
|
|
539
539
|
input: GetInstanceRequest,
|
|
540
540
|
output: GetInstanceResponse,
|
|
541
541
|
errors: [WorkflowNotFound, InvalidRoute, InstanceNotFound],
|
|
542
542
|
}));
|
|
543
|
-
export const ListInstancesRequest = /*@__PURE__*/
|
|
543
|
+
export const ListInstancesRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
544
544
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
545
545
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
546
546
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
@@ -567,11 +567,11 @@ export const ListInstancesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
567
567
|
method: "GET",
|
|
568
568
|
path: "/accounts/{account_id}/workflows/{workflowName}/instances",
|
|
569
569
|
})));
|
|
570
|
-
export const ListInstancesResponse = /*@__PURE__*/
|
|
570
|
+
export const ListInstancesResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
571
571
|
result: Schema.Array(ListInstancesResponseResult),
|
|
572
572
|
resultInfo: Schema.optional(Schema.Union([ListInstancesResponseResultInfo, Schema.Null])),
|
|
573
573
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
574
|
-
export const listInstances = /*@__PURE__*/
|
|
574
|
+
export const listInstances = /*@__PURE__*/ API.makePaginated(() => ({
|
|
575
575
|
input: ListInstancesRequest,
|
|
576
576
|
output: ListInstancesResponse,
|
|
577
577
|
errors: [WorkflowNotFound, WorkflowInternalError, InvalidRoute, InvalidBody],
|
|
@@ -583,7 +583,7 @@ export const listInstances = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
|
|
|
583
583
|
pageSize: "perPage",
|
|
584
584
|
},
|
|
585
585
|
}));
|
|
586
|
-
export const CreateInstanceRequest = /*@__PURE__*/
|
|
586
|
+
export const CreateInstanceRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
587
587
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
588
588
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
589
589
|
instanceId: Schema.optional(Schema.String),
|
|
@@ -598,7 +598,7 @@ export const CreateInstanceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
598
598
|
path: "/accounts/{account_id}/workflows/{workflowName}/instances",
|
|
599
599
|
})));
|
|
600
600
|
export const CreateInstanceResponse =
|
|
601
|
-
/*@__PURE__*/
|
|
601
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
602
602
|
id: Schema.String,
|
|
603
603
|
status: Schema.Union([
|
|
604
604
|
Schema.Literals([
|
|
@@ -632,12 +632,12 @@ export const CreateInstanceResponse =
|
|
|
632
632
|
triggerSource: "trigger_source",
|
|
633
633
|
}))
|
|
634
634
|
.pipe(T.ResponsePath("result")));
|
|
635
|
-
export const createInstance = /*@__PURE__*/
|
|
635
|
+
export const createInstance = /*@__PURE__*/ API.make(() => ({
|
|
636
636
|
input: CreateInstanceRequest,
|
|
637
637
|
output: CreateInstanceResponse,
|
|
638
638
|
errors: [WorkflowNotFound, InstanceAlreadyExists, InvalidRoute, InvalidBody],
|
|
639
639
|
}));
|
|
640
|
-
export const BulkInstanceRequest = /*@__PURE__*/
|
|
640
|
+
export const BulkInstanceRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
641
641
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
642
642
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
643
643
|
body: Schema.optional(Schema.Array(Body)).pipe(T.HttpBody()),
|
|
@@ -645,10 +645,10 @@ export const BulkInstanceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
645
645
|
method: "POST",
|
|
646
646
|
path: "/accounts/{account_id}/workflows/{workflowName}/instances/batch",
|
|
647
647
|
})));
|
|
648
|
-
export const BulkInstanceResponse = /*@__PURE__*/
|
|
648
|
+
export const BulkInstanceResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
649
649
|
result: Schema.Array(BulkInstanceResponseResult),
|
|
650
650
|
}));
|
|
651
|
-
export const bulkInstance = /*@__PURE__*/
|
|
651
|
+
export const bulkInstance = /*@__PURE__*/ API.makePaginated(() => ({
|
|
652
652
|
input: BulkInstanceRequest,
|
|
653
653
|
output: BulkInstanceResponse,
|
|
654
654
|
errors: [WorkflowNotFound, InstanceAlreadyExists, InvalidRoute, InvalidBody],
|
|
@@ -657,7 +657,7 @@ export const bulkInstance = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
|
|
|
657
657
|
items: "result",
|
|
658
658
|
},
|
|
659
659
|
}));
|
|
660
|
-
export const StepInstanceRequest = /*@__PURE__*/
|
|
660
|
+
export const StepInstanceRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
661
661
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
662
662
|
instanceId: Schema.String.pipe(T.HttpPath("instanceId")),
|
|
663
663
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -671,7 +671,7 @@ export const StepInstanceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
671
671
|
method: "GET",
|
|
672
672
|
path: "/accounts/{account_id}/workflows/{workflowName}/instances/{instanceId}/step",
|
|
673
673
|
})));
|
|
674
|
-
export const StepInstanceResponse = /*@__PURE__*/
|
|
674
|
+
export const StepInstanceResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
675
675
|
error: Schema.Union([Error2, Schema.Null]),
|
|
676
676
|
status: Schema.Union([
|
|
677
677
|
Schema.Literals([
|
|
@@ -689,13 +689,13 @@ export const StepInstanceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
689
689
|
]),
|
|
690
690
|
output: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
691
691
|
}).pipe(T.ResponsePath("result")));
|
|
692
|
-
export const stepInstance = /*@__PURE__*/
|
|
692
|
+
export const stepInstance = /*@__PURE__*/ API.make(() => ({
|
|
693
693
|
input: StepInstanceRequest,
|
|
694
694
|
output: StepInstanceResponse,
|
|
695
695
|
errors: [],
|
|
696
696
|
}));
|
|
697
697
|
export const CreateInstanceEventRequest =
|
|
698
|
-
/*@__PURE__*/
|
|
698
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
699
699
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
700
700
|
instanceId: Schema.String.pipe(T.HttpPath("instanceId")),
|
|
701
701
|
eventType: Schema.String.pipe(T.HttpPath("eventType")),
|
|
@@ -706,14 +706,14 @@ export const CreateInstanceEventRequest =
|
|
|
706
706
|
path: "/accounts/{account_id}/workflows/{workflowName}/instances/{instanceId}/events/{eventType}",
|
|
707
707
|
})));
|
|
708
708
|
export const CreateInstanceEventResponse =
|
|
709
|
-
/*@__PURE__*/
|
|
710
|
-
export const createInstanceEvent = /*@__PURE__*/
|
|
709
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
710
|
+
export const createInstanceEvent = /*@__PURE__*/ API.make(() => ({
|
|
711
711
|
input: CreateInstanceEventRequest,
|
|
712
712
|
output: CreateInstanceEventResponse,
|
|
713
713
|
errors: [WorkflowNotFound, InvalidRoute, InstanceNotFound, InvalidBody],
|
|
714
714
|
}));
|
|
715
715
|
export const PatchInstanceStatusRequest =
|
|
716
|
-
/*@__PURE__*/
|
|
716
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
717
717
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
718
718
|
instanceId: Schema.String.pipe(T.HttpPath("instanceId")),
|
|
719
719
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -728,7 +728,7 @@ export const PatchInstanceStatusRequest =
|
|
|
728
728
|
path: "/accounts/{account_id}/workflows/{workflowName}/instances/{instanceId}/status",
|
|
729
729
|
})));
|
|
730
730
|
export const PatchInstanceStatusResponse =
|
|
731
|
-
/*@__PURE__*/
|
|
731
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
732
732
|
status: Schema.Union([
|
|
733
733
|
Schema.Literals([
|
|
734
734
|
"queued",
|
|
@@ -745,7 +745,7 @@ export const PatchInstanceStatusResponse =
|
|
|
745
745
|
]),
|
|
746
746
|
timestamp: Schema.String,
|
|
747
747
|
}).pipe(T.ResponsePath("result")));
|
|
748
|
-
export const patchInstanceStatus = /*@__PURE__*/
|
|
748
|
+
export const patchInstanceStatus = /*@__PURE__*/ API.make(() => ({
|
|
749
749
|
input: PatchInstanceStatusRequest,
|
|
750
750
|
output: PatchInstanceStatusResponse,
|
|
751
751
|
errors: [
|
|
@@ -755,7 +755,7 @@ export const patchInstanceStatus = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
755
755
|
InstanceCannotTerminate,
|
|
756
756
|
],
|
|
757
757
|
}));
|
|
758
|
-
export const GetVersionRequest = /*@__PURE__*/
|
|
758
|
+
export const GetVersionRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
759
759
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
760
760
|
versionId: Schema.String.pipe(T.HttpPath("versionId")),
|
|
761
761
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -763,7 +763,7 @@ export const GetVersionRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
763
763
|
method: "GET",
|
|
764
764
|
path: "/accounts/{account_id}/workflows/{workflowName}/versions/{versionId}",
|
|
765
765
|
})));
|
|
766
|
-
export const GetVersionResponse = /*@__PURE__*/
|
|
766
|
+
export const GetVersionResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
767
767
|
id: Schema.String,
|
|
768
768
|
className: Schema.String,
|
|
769
769
|
createdOn: Schema.String,
|
|
@@ -787,12 +787,12 @@ export const GetVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
787
787
|
limits: "limits",
|
|
788
788
|
}))
|
|
789
789
|
.pipe(T.ResponsePath("result")));
|
|
790
|
-
export const getVersion = /*@__PURE__*/
|
|
790
|
+
export const getVersion = /*@__PURE__*/ API.make(() => ({
|
|
791
791
|
input: GetVersionRequest,
|
|
792
792
|
output: GetVersionResponse,
|
|
793
793
|
errors: [WorkflowNotFound, InvalidRoute, VersionNotFound],
|
|
794
794
|
}));
|
|
795
|
-
export const ListVersionsRequest = /*@__PURE__*/
|
|
795
|
+
export const ListVersionsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
796
796
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
797
797
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
798
798
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
@@ -801,11 +801,11 @@ export const ListVersionsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
801
801
|
method: "GET",
|
|
802
802
|
path: "/accounts/{account_id}/workflows/{workflowName}/versions",
|
|
803
803
|
})));
|
|
804
|
-
export const ListVersionsResponse = /*@__PURE__*/
|
|
804
|
+
export const ListVersionsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
805
805
|
result: Schema.Array(ListVersionsResponseResult),
|
|
806
806
|
resultInfo: Schema.optional(Schema.Union([ListInstancesResponseResultInfo, Schema.Null])),
|
|
807
807
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
808
|
-
export const listVersions = /*@__PURE__*/
|
|
808
|
+
export const listVersions = /*@__PURE__*/ API.makePaginated(() => ({
|
|
809
809
|
input: ListVersionsRequest,
|
|
810
810
|
output: ListVersionsResponse,
|
|
811
811
|
errors: [WorkflowNotFound, InvalidRoute],
|
|
@@ -817,7 +817,7 @@ export const listVersions = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
|
|
|
817
817
|
pageSize: "perPage",
|
|
818
818
|
},
|
|
819
819
|
}));
|
|
820
|
-
export const GraphVersionRequest = /*@__PURE__*/
|
|
820
|
+
export const GraphVersionRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
821
821
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
822
822
|
versionId: Schema.String.pipe(T.HttpPath("versionId")),
|
|
823
823
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -825,7 +825,7 @@ export const GraphVersionRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
825
825
|
method: "GET",
|
|
826
826
|
path: "/accounts/{account_id}/workflows/{workflowName}/versions/{versionId}/graph",
|
|
827
827
|
})));
|
|
828
|
-
export const GraphVersionResponse = /*@__PURE__*/
|
|
828
|
+
export const GraphVersionResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
829
829
|
id: Schema.String,
|
|
830
830
|
className: Schema.String,
|
|
831
831
|
createdOn: Schema.String,
|
|
@@ -842,19 +842,19 @@ export const GraphVersionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
842
842
|
workflowId: "workflow_id",
|
|
843
843
|
}))
|
|
844
844
|
.pipe(T.ResponsePath("result")));
|
|
845
|
-
export const graphVersion = /*@__PURE__*/
|
|
845
|
+
export const graphVersion = /*@__PURE__*/ API.make(() => ({
|
|
846
846
|
input: GraphVersionRequest,
|
|
847
847
|
output: GraphVersionResponse,
|
|
848
848
|
errors: [],
|
|
849
849
|
}));
|
|
850
|
-
export const GetWorkflowRequest = /*@__PURE__*/
|
|
850
|
+
export const GetWorkflowRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
851
851
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
852
852
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
853
853
|
}).pipe(T.Http({
|
|
854
854
|
method: "GET",
|
|
855
855
|
path: "/accounts/{account_id}/workflows/{workflowName}",
|
|
856
856
|
})));
|
|
857
|
-
export const GetWorkflowResponse = /*@__PURE__*/
|
|
857
|
+
export const GetWorkflowResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
858
858
|
id: Schema.String,
|
|
859
859
|
className: Schema.String,
|
|
860
860
|
createdOn: Schema.String,
|
|
@@ -877,22 +877,22 @@ export const GetWorkflowResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
877
877
|
schedules: "schedules",
|
|
878
878
|
}))
|
|
879
879
|
.pipe(T.ResponsePath("result")));
|
|
880
|
-
export const getWorkflow = /*@__PURE__*/
|
|
880
|
+
export const getWorkflow = /*@__PURE__*/ API.make(() => ({
|
|
881
881
|
input: GetWorkflowRequest,
|
|
882
882
|
output: GetWorkflowResponse,
|
|
883
883
|
errors: [WorkflowNotFound, InvalidRoute],
|
|
884
884
|
}));
|
|
885
|
-
export const ListWorkflowsRequest = /*@__PURE__*/
|
|
885
|
+
export const ListWorkflowsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
886
886
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
887
887
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
888
888
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
889
889
|
search: Schema.optional(Schema.String).pipe(T.HttpQuery("search")),
|
|
890
890
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/workflows" })));
|
|
891
|
-
export const ListWorkflowsResponse = /*@__PURE__*/
|
|
891
|
+
export const ListWorkflowsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
892
892
|
result: Schema.Array(ListWorkflowsResponseResult),
|
|
893
893
|
resultInfo: Schema.optional(Schema.Union([ListInstancesResponseResultInfo, Schema.Null])),
|
|
894
894
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
895
|
-
export const listWorkflows = /*@__PURE__*/
|
|
895
|
+
export const listWorkflows = /*@__PURE__*/ API.makePaginated(() => ({
|
|
896
896
|
input: ListWorkflowsRequest,
|
|
897
897
|
output: ListWorkflowsResponse,
|
|
898
898
|
errors: [],
|
|
@@ -904,7 +904,7 @@ export const listWorkflows = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
|
|
|
904
904
|
pageSize: "perPage",
|
|
905
905
|
},
|
|
906
906
|
}));
|
|
907
|
-
export const PutWorkflowRequest = /*@__PURE__*/
|
|
907
|
+
export const PutWorkflowRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
908
908
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
909
909
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
910
910
|
className: Schema.String,
|
|
@@ -920,7 +920,7 @@ export const PutWorkflowRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
920
920
|
method: "PUT",
|
|
921
921
|
path: "/accounts/{account_id}/workflows/{workflowName}",
|
|
922
922
|
})));
|
|
923
|
-
export const PutWorkflowResponse = /*@__PURE__*/
|
|
923
|
+
export const PutWorkflowResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
924
924
|
id: Schema.String,
|
|
925
925
|
className: Schema.String,
|
|
926
926
|
createdOn: Schema.String,
|
|
@@ -945,12 +945,12 @@ export const PutWorkflowResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
945
945
|
versionId: "version_id",
|
|
946
946
|
}))
|
|
947
947
|
.pipe(T.ResponsePath("result")));
|
|
948
|
-
export const putWorkflow = /*@__PURE__*/
|
|
948
|
+
export const putWorkflow = /*@__PURE__*/ API.make(() => ({
|
|
949
949
|
input: PutWorkflowRequest,
|
|
950
950
|
output: PutWorkflowResponse,
|
|
951
951
|
errors: [WorkflowInternalError, InvalidRoute],
|
|
952
952
|
}));
|
|
953
|
-
export const DeleteWorkflowRequest = /*@__PURE__*/
|
|
953
|
+
export const DeleteWorkflowRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
954
954
|
workflowName: Schema.String.pipe(T.HttpPath("workflowName")),
|
|
955
955
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
956
956
|
}).pipe(T.Http({
|
|
@@ -958,11 +958,11 @@ export const DeleteWorkflowRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
958
958
|
path: "/accounts/{account_id}/workflows/{workflowName}",
|
|
959
959
|
})));
|
|
960
960
|
export const DeleteWorkflowResponse =
|
|
961
|
-
/*@__PURE__*/
|
|
961
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
962
962
|
status: Schema.Literal("ok"),
|
|
963
963
|
success: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
964
964
|
}).pipe(T.ResponsePath("result")));
|
|
965
|
-
export const deleteWorkflow = /*@__PURE__*/
|
|
965
|
+
export const deleteWorkflow = /*@__PURE__*/ API.make(() => ({
|
|
966
966
|
input: DeleteWorkflowRequest,
|
|
967
967
|
output: DeleteWorkflowResponse,
|
|
968
968
|
errors: [WorkflowNotFound, InvalidRoute],
|