@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
package/lib/services/user.js
CHANGED
|
@@ -38,11 +38,11 @@ export class TokenNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass(
|
|
|
38
38
|
message: Schema.String,
|
|
39
39
|
}), [{ code: 1003 }]) {
|
|
40
40
|
}
|
|
41
|
-
const Action = /*@__PURE__*/
|
|
41
|
+
const Action = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
42
42
|
result: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
43
43
|
type: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
44
44
|
}));
|
|
45
|
-
const Actor = /*@__PURE__*/
|
|
45
|
+
const Actor = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
46
46
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
47
47
|
email: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
48
48
|
ip: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -54,14 +54,14 @@ const Actor = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
54
54
|
Schema.Null,
|
|
55
55
|
])),
|
|
56
56
|
}));
|
|
57
|
-
const Owner = /*@__PURE__*/
|
|
57
|
+
const Owner = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
58
58
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
59
59
|
}));
|
|
60
|
-
const Resource = /*@__PURE__*/
|
|
60
|
+
const Resource = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
61
61
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
62
62
|
type: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
63
63
|
}));
|
|
64
|
-
const AuditLog = /*@__PURE__*/
|
|
64
|
+
const AuditLog = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
65
65
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
66
66
|
action: Schema.optional(Schema.Union([Action, Schema.Null])),
|
|
67
67
|
actor: Schema.optional(Schema.Union([Actor, Schema.Null])),
|
|
@@ -74,7 +74,7 @@ const AuditLog = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
74
74
|
when: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
75
75
|
}));
|
|
76
76
|
const ListAuditLogsResponseResultInfo =
|
|
77
|
-
/*@__PURE__*/
|
|
77
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
78
78
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
79
79
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
80
80
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -85,11 +85,11 @@ const ListAuditLogsResponseResultInfo =
|
|
|
85
85
|
perPage: "per_page",
|
|
86
86
|
totalCount: "total_count",
|
|
87
87
|
})));
|
|
88
|
-
const Zone = /*@__PURE__*/
|
|
88
|
+
const Zone = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
89
89
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
90
90
|
}));
|
|
91
91
|
const ListBillingHistoriesResponseResult =
|
|
92
|
-
/*@__PURE__*/
|
|
92
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
93
93
|
id: Schema.String,
|
|
94
94
|
action: Schema.String,
|
|
95
95
|
amount: Schema.Number,
|
|
@@ -108,7 +108,7 @@ const ListBillingHistoriesResponseResult =
|
|
|
108
108
|
type: "type",
|
|
109
109
|
zone: "zone",
|
|
110
110
|
})));
|
|
111
|
-
const ListInvitesResponseResult = /*@__PURE__*/
|
|
111
|
+
const ListInvitesResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
112
112
|
invitedMemberId: Schema.Union([Schema.String, Schema.Null]),
|
|
113
113
|
organizationId: Schema.String,
|
|
114
114
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -140,7 +140,7 @@ const ListInvitesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
140
140
|
status: "status",
|
|
141
141
|
})));
|
|
142
142
|
const ListOrganizationsResponseResult =
|
|
143
|
-
/*@__PURE__*/
|
|
143
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
144
144
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
145
145
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
146
146
|
permissions: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -150,7 +150,7 @@ const ListOrganizationsResponseResult =
|
|
|
150
150
|
Schema.Null,
|
|
151
151
|
])),
|
|
152
152
|
}));
|
|
153
|
-
const RatePlan = /*@__PURE__*/
|
|
153
|
+
const RatePlan = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
154
154
|
id: Schema.optional(Schema.Union([
|
|
155
155
|
Schema.Union([
|
|
156
156
|
Schema.Literals([
|
|
@@ -184,7 +184,7 @@ const RatePlan = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
184
184
|
scope: "scope",
|
|
185
185
|
sets: "sets",
|
|
186
186
|
})));
|
|
187
|
-
const Subscription = /*@__PURE__*/
|
|
187
|
+
const Subscription = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
188
188
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
189
189
|
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
190
190
|
currentPeriodEnd: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -223,7 +223,7 @@ const Subscription = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
223
223
|
ratePlan: "rate_plan",
|
|
224
224
|
state: "state",
|
|
225
225
|
})));
|
|
226
|
-
const Flags = /*@__PURE__*/
|
|
226
|
+
const Flags = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
227
227
|
accountCreation: Schema.String,
|
|
228
228
|
accountDeletion: Schema.String,
|
|
229
229
|
accountMigration: Schema.String,
|
|
@@ -236,7 +236,7 @@ const Flags = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
236
236
|
accountMobility: "account_mobility",
|
|
237
237
|
subOrgCreation: "sub_org_creation",
|
|
238
238
|
})));
|
|
239
|
-
const Meta = /*@__PURE__*/
|
|
239
|
+
const Meta = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
240
240
|
flags: Schema.optional(Schema.Union([Flags, Schema.Null])),
|
|
241
241
|
hierarchyTags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
242
242
|
managedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -245,11 +245,11 @@ const Meta = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
245
245
|
hierarchyTags: "hierarchy_tags",
|
|
246
246
|
managedBy: "managed_by",
|
|
247
247
|
})));
|
|
248
|
-
const Parent = /*@__PURE__*/
|
|
248
|
+
const Parent = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
249
249
|
id: Schema.String,
|
|
250
250
|
name: Schema.String,
|
|
251
251
|
}));
|
|
252
|
-
const OrganizationProfile = /*@__PURE__*/
|
|
252
|
+
const OrganizationProfile = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
253
253
|
businessAddress: Schema.String,
|
|
254
254
|
businessEmail: Schema.String,
|
|
255
255
|
businessName: Schema.String,
|
|
@@ -262,7 +262,7 @@ const OrganizationProfile = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sch
|
|
|
262
262
|
businessPhone: "business_phone",
|
|
263
263
|
externalMetadata: "external_metadata",
|
|
264
264
|
})));
|
|
265
|
-
const Organization = /*@__PURE__*/
|
|
265
|
+
const Organization = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
266
266
|
id: Schema.String,
|
|
267
267
|
createTime: Schema.String,
|
|
268
268
|
meta: Meta,
|
|
@@ -277,23 +277,23 @@ const Organization = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
277
277
|
parent: "parent",
|
|
278
278
|
profile: "profile",
|
|
279
279
|
})));
|
|
280
|
-
const ConditionRequestIP = /*@__PURE__*/
|
|
280
|
+
const ConditionRequestIP = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
281
281
|
in: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
282
282
|
notIn: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
283
283
|
}).pipe(Schema.encodeKeys({ in: "in", notIn: "not_in" })));
|
|
284
|
-
const Condition = /*@__PURE__*/
|
|
284
|
+
const Condition = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
285
285
|
requestIp: Schema.optional(Schema.Union([ConditionRequestIP, Schema.Null])),
|
|
286
286
|
}).pipe(Schema.encodeKeys({ requestIp: "request_ip" })));
|
|
287
|
-
const Meta2 = /*@__PURE__*/
|
|
287
|
+
const Meta2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
288
288
|
key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
289
289
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
290
290
|
}));
|
|
291
|
-
const PermissionGroup = /*@__PURE__*/
|
|
291
|
+
const PermissionGroup = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
292
292
|
id: Schema.String,
|
|
293
293
|
meta: Schema.optional(Schema.Union([Meta2, Schema.Null])),
|
|
294
294
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
295
295
|
}));
|
|
296
|
-
const TokenPolicy = /*@__PURE__*/
|
|
296
|
+
const TokenPolicy = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
297
297
|
id: Schema.String,
|
|
298
298
|
effect: Schema.Union([Schema.Literals(["allow", "deny"]), Schema.String]),
|
|
299
299
|
permissionGroups: Schema.Array(PermissionGroup),
|
|
@@ -304,7 +304,7 @@ const TokenPolicy = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
304
304
|
permissionGroups: "permission_groups",
|
|
305
305
|
resources: "resources",
|
|
306
306
|
})));
|
|
307
|
-
const Token = /*@__PURE__*/
|
|
307
|
+
const Token = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
308
308
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
309
309
|
condition: Schema.optional(Schema.Union([Condition, Schema.Null])),
|
|
310
310
|
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -333,11 +333,11 @@ const Token = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
333
333
|
policies: "policies",
|
|
334
334
|
status: "status",
|
|
335
335
|
})));
|
|
336
|
-
const PermissionGroup2 = /*@__PURE__*/
|
|
336
|
+
const PermissionGroup2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
337
337
|
id: Schema.String,
|
|
338
338
|
meta: Schema.optional(Schema.Union([Meta2, Schema.Null])),
|
|
339
339
|
}));
|
|
340
|
-
const TokenPolicyParam = /*@__PURE__*/
|
|
340
|
+
const TokenPolicyParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
341
341
|
effect: Schema.Union([Schema.Literals(["allow", "deny"]), Schema.String]),
|
|
342
342
|
permissionGroups: Schema.Array(PermissionGroup2),
|
|
343
343
|
resources: Schema.Record(Schema.String, Schema.Unknown),
|
|
@@ -347,7 +347,7 @@ const TokenPolicyParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
347
347
|
resources: "resources",
|
|
348
348
|
})));
|
|
349
349
|
const ListTokenPermissionGroupsResponseResult =
|
|
350
|
-
/*@__PURE__*/
|
|
350
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
351
351
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
352
352
|
category: Schema.optional(Schema.Union([
|
|
353
353
|
Schema.Union([
|
|
@@ -384,7 +384,7 @@ const ListTokenPermissionGroupsResponseResult =
|
|
|
384
384
|
Schema.Null,
|
|
385
385
|
])),
|
|
386
386
|
}));
|
|
387
|
-
export const ListAuditLogsRequest = /*@__PURE__*/
|
|
387
|
+
export const ListAuditLogsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
388
388
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
389
389
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
390
390
|
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
@@ -404,11 +404,11 @@ export const ListAuditLogsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
404
404
|
name: Schema.optional(Schema.String),
|
|
405
405
|
})).pipe(T.HttpQuery("zone")),
|
|
406
406
|
}).pipe(T.Http({ method: "GET", path: "/user/audit_logs" })));
|
|
407
|
-
export const ListAuditLogsResponse = /*@__PURE__*/
|
|
407
|
+
export const ListAuditLogsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
408
408
|
result: Schema.Array(AuditLog),
|
|
409
409
|
resultInfo: Schema.optional(Schema.Union([ListAuditLogsResponseResultInfo, Schema.Null])),
|
|
410
410
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
411
|
-
export const listAuditLogs = /*@__PURE__*/
|
|
411
|
+
export const listAuditLogs = /*@__PURE__*/ API.makePaginated(() => ({
|
|
412
412
|
input: ListAuditLogsRequest,
|
|
413
413
|
output: ListAuditLogsResponse,
|
|
414
414
|
errors: [],
|
|
@@ -421,7 +421,7 @@ export const listAuditLogs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
|
|
|
421
421
|
},
|
|
422
422
|
}));
|
|
423
423
|
export const ListBillingHistoriesRequest =
|
|
424
|
-
/*@__PURE__*/
|
|
424
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
425
425
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
426
426
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
427
427
|
action: Schema.optional(Schema.String).pipe(T.HttpQuery("action")),
|
|
@@ -433,11 +433,11 @@ export const ListBillingHistoriesRequest =
|
|
|
433
433
|
type: Schema.optional(Schema.String).pipe(T.HttpQuery("type")),
|
|
434
434
|
}).pipe(T.Http({ method: "GET", path: "/user/billing/history" })));
|
|
435
435
|
export const ListBillingHistoriesResponse =
|
|
436
|
-
/*@__PURE__*/
|
|
436
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
437
437
|
result: Schema.Array(ListBillingHistoriesResponseResult),
|
|
438
438
|
resultInfo: Schema.optional(Schema.Union([ListAuditLogsResponseResultInfo, Schema.Null])),
|
|
439
439
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
440
|
-
export const listBillingHistories = /*@__PURE__*/
|
|
440
|
+
export const listBillingHistories = /*@__PURE__*/ API.makePaginated(() => ({
|
|
441
441
|
input: ListBillingHistoriesRequest,
|
|
442
442
|
output: ListBillingHistoriesResponse,
|
|
443
443
|
errors: [],
|
|
@@ -450,9 +450,9 @@ export const listBillingHistories = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
|
|
|
450
450
|
},
|
|
451
451
|
}));
|
|
452
452
|
export const GetBillingProfileRequest =
|
|
453
|
-
/*@__PURE__*/
|
|
453
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/user/billing/profile" })));
|
|
454
454
|
export const GetBillingProfileResponse =
|
|
455
|
-
/*@__PURE__*/
|
|
455
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
456
456
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
457
457
|
accountType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
458
458
|
address: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -535,15 +535,15 @@ export const GetBillingProfileResponse =
|
|
|
535
535
|
zipcode: "zipcode",
|
|
536
536
|
}))
|
|
537
537
|
.pipe(T.ResponsePath("result")));
|
|
538
|
-
export const getBillingProfile = /*@__PURE__*/
|
|
538
|
+
export const getBillingProfile = /*@__PURE__*/ API.make(() => ({
|
|
539
539
|
input: GetBillingProfileRequest,
|
|
540
540
|
output: GetBillingProfileResponse,
|
|
541
541
|
errors: [],
|
|
542
542
|
}));
|
|
543
|
-
export const GetInviteRequest = /*@__PURE__*/
|
|
543
|
+
export const GetInviteRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
544
544
|
inviteId: Schema.String.pipe(T.HttpPath("inviteId")),
|
|
545
545
|
}).pipe(T.Http({ method: "GET", path: "/user/invites/{inviteId}" })));
|
|
546
|
-
export const GetInviteResponse = /*@__PURE__*/
|
|
546
|
+
export const GetInviteResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
547
547
|
invitedMemberId: Schema.Union([Schema.String, Schema.Null]),
|
|
548
548
|
organizationId: Schema.String,
|
|
549
549
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -576,16 +576,16 @@ export const GetInviteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
576
576
|
status: "status",
|
|
577
577
|
}))
|
|
578
578
|
.pipe(T.ResponsePath("result")));
|
|
579
|
-
export const getInvite = /*@__PURE__*/
|
|
579
|
+
export const getInvite = /*@__PURE__*/ API.make(() => ({
|
|
580
580
|
input: GetInviteRequest,
|
|
581
581
|
output: GetInviteResponse,
|
|
582
582
|
errors: [],
|
|
583
583
|
}));
|
|
584
|
-
export const ListInvitesRequest = /*@__PURE__*/
|
|
585
|
-
export const ListInvitesResponse = /*@__PURE__*/
|
|
584
|
+
export const ListInvitesRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/user/invites" })));
|
|
585
|
+
export const ListInvitesResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
586
586
|
result: Schema.Array(ListInvitesResponseResult),
|
|
587
587
|
}));
|
|
588
|
-
export const listInvites = /*@__PURE__*/
|
|
588
|
+
export const listInvites = /*@__PURE__*/ API.makePaginated(() => ({
|
|
589
589
|
input: ListInvitesRequest,
|
|
590
590
|
output: ListInvitesResponse,
|
|
591
591
|
errors: [],
|
|
@@ -594,14 +594,14 @@ export const listInvites = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => (
|
|
|
594
594
|
items: "result",
|
|
595
595
|
},
|
|
596
596
|
}));
|
|
597
|
-
export const PatchInviteRequest = /*@__PURE__*/
|
|
597
|
+
export const PatchInviteRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
598
598
|
inviteId: Schema.String.pipe(T.HttpPath("inviteId")),
|
|
599
599
|
status: Schema.Union([
|
|
600
600
|
Schema.Literals(["accepted", "rejected"]),
|
|
601
601
|
Schema.String,
|
|
602
602
|
]),
|
|
603
603
|
}).pipe(T.Http({ method: "PATCH", path: "/user/invites/{inviteId}" })));
|
|
604
|
-
export const PatchInviteResponse = /*@__PURE__*/
|
|
604
|
+
export const PatchInviteResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
605
605
|
invitedMemberId: Schema.Union([Schema.String, Schema.Null]),
|
|
606
606
|
organizationId: Schema.String,
|
|
607
607
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -634,24 +634,24 @@ export const PatchInviteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
634
634
|
status: "status",
|
|
635
635
|
}))
|
|
636
636
|
.pipe(T.ResponsePath("result")));
|
|
637
|
-
export const patchInvite = /*@__PURE__*/
|
|
637
|
+
export const patchInvite = /*@__PURE__*/ API.make(() => ({
|
|
638
638
|
input: PatchInviteRequest,
|
|
639
639
|
output: PatchInviteResponse,
|
|
640
640
|
errors: [],
|
|
641
641
|
}));
|
|
642
642
|
export const GetOrganizationRequest =
|
|
643
|
-
/*@__PURE__*/
|
|
643
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
644
644
|
organizationId: Schema.String.pipe(T.HttpPath("organizationId")),
|
|
645
645
|
}).pipe(T.Http({ method: "GET", path: "/user/organizations/{organizationId}" })));
|
|
646
646
|
export const GetOrganizationResponse =
|
|
647
|
-
/*@__PURE__*/
|
|
648
|
-
export const getOrganization = /*@__PURE__*/
|
|
647
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
648
|
+
export const getOrganization = /*@__PURE__*/ API.make(() => ({
|
|
649
649
|
input: GetOrganizationRequest,
|
|
650
650
|
output: GetOrganizationResponse,
|
|
651
651
|
errors: [],
|
|
652
652
|
}));
|
|
653
653
|
export const ListOrganizationsRequest =
|
|
654
|
-
/*@__PURE__*/
|
|
654
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
655
655
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
656
656
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
657
657
|
direction: Schema.optional(Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String])).pipe(T.HttpQuery("direction")),
|
|
@@ -664,11 +664,11 @@ export const ListOrganizationsRequest =
|
|
|
664
664
|
status: Schema.optional(Schema.Union([Schema.Literals(["member", "invited"]), Schema.String])).pipe(T.HttpQuery("status")),
|
|
665
665
|
}).pipe(T.Http({ method: "GET", path: "/user/organizations" })));
|
|
666
666
|
export const ListOrganizationsResponse =
|
|
667
|
-
/*@__PURE__*/
|
|
667
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
668
668
|
result: Schema.Array(ListOrganizationsResponseResult),
|
|
669
669
|
resultInfo: Schema.optional(Schema.Union([ListAuditLogsResponseResultInfo, Schema.Null])),
|
|
670
670
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
671
|
-
export const listOrganizations = /*@__PURE__*/
|
|
671
|
+
export const listOrganizations = /*@__PURE__*/ API.makePaginated(() => ({
|
|
672
672
|
input: ListOrganizationsRequest,
|
|
673
673
|
output: ListOrganizationsResponse,
|
|
674
674
|
errors: [],
|
|
@@ -681,28 +681,28 @@ export const listOrganizations = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated((
|
|
|
681
681
|
},
|
|
682
682
|
}));
|
|
683
683
|
export const DeleteOrganizationRequest =
|
|
684
|
-
/*@__PURE__*/
|
|
684
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
685
685
|
organizationId: Schema.String.pipe(T.HttpPath("organizationId")),
|
|
686
686
|
}).pipe(T.Http({
|
|
687
687
|
method: "DELETE",
|
|
688
688
|
path: "/user/organizations/{organizationId}",
|
|
689
689
|
})));
|
|
690
690
|
export const DeleteOrganizationResponse =
|
|
691
|
-
/*@__PURE__*/
|
|
691
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
692
692
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
693
693
|
}));
|
|
694
|
-
export const deleteOrganization = /*@__PURE__*/
|
|
694
|
+
export const deleteOrganization = /*@__PURE__*/ API.make(() => ({
|
|
695
695
|
input: DeleteOrganizationRequest,
|
|
696
696
|
output: DeleteOrganizationResponse,
|
|
697
697
|
errors: [],
|
|
698
698
|
}));
|
|
699
699
|
export const GetSubscriptionRequest =
|
|
700
|
-
/*@__PURE__*/
|
|
700
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/user/subscriptions" })));
|
|
701
701
|
export const GetSubscriptionResponse =
|
|
702
|
-
/*@__PURE__*/
|
|
702
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
703
703
|
result: Schema.Array(Subscription),
|
|
704
704
|
}));
|
|
705
|
-
export const getSubscription = /*@__PURE__*/
|
|
705
|
+
export const getSubscription = /*@__PURE__*/ API.makePaginated(() => ({
|
|
706
706
|
input: GetSubscriptionRequest,
|
|
707
707
|
output: GetSubscriptionResponse,
|
|
708
708
|
errors: [],
|
|
@@ -712,7 +712,7 @@ export const getSubscription = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
|
|
|
712
712
|
},
|
|
713
713
|
}));
|
|
714
714
|
export const PutSubscriptionRequest =
|
|
715
|
-
/*@__PURE__*/
|
|
715
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
716
716
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
717
717
|
frequency: Schema.optional(Schema.Union([
|
|
718
718
|
Schema.Literals(["weekly", "monthly", "quarterly", "yearly"]),
|
|
@@ -721,30 +721,30 @@ export const PutSubscriptionRequest =
|
|
|
721
721
|
ratePlan: Schema.optional(RatePlan),
|
|
722
722
|
}).pipe(Schema.encodeKeys({ frequency: "frequency", ratePlan: "rate_plan" }), T.Http({ method: "PUT", path: "/user/subscriptions/{identifier}" })));
|
|
723
723
|
export const PutSubscriptionResponse =
|
|
724
|
-
/*@__PURE__*/
|
|
725
|
-
export const putSubscription = /*@__PURE__*/
|
|
724
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
725
|
+
export const putSubscription = /*@__PURE__*/ API.make(() => ({
|
|
726
726
|
input: PutSubscriptionRequest,
|
|
727
727
|
output: PutSubscriptionResponse,
|
|
728
728
|
errors: [],
|
|
729
729
|
}));
|
|
730
730
|
export const DeleteSubscriptionRequest =
|
|
731
|
-
/*@__PURE__*/
|
|
731
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
732
732
|
identifier: Schema.String.pipe(T.HttpPath("identifier")),
|
|
733
733
|
}).pipe(T.Http({ method: "DELETE", path: "/user/subscriptions/{identifier}" })));
|
|
734
734
|
export const DeleteSubscriptionResponse =
|
|
735
|
-
/*@__PURE__*/
|
|
735
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
736
736
|
subscriptionId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
737
737
|
}).pipe(Schema.encodeKeys({ subscriptionId: "subscription_id" })));
|
|
738
|
-
export const deleteSubscription = /*@__PURE__*/
|
|
738
|
+
export const deleteSubscription = /*@__PURE__*/ API.make(() => ({
|
|
739
739
|
input: DeleteSubscriptionRequest,
|
|
740
740
|
output: DeleteSubscriptionResponse,
|
|
741
741
|
errors: [],
|
|
742
742
|
}));
|
|
743
|
-
export const ListTenantsRequest = /*@__PURE__*/
|
|
744
|
-
export const ListTenantsResponse = /*@__PURE__*/
|
|
743
|
+
export const ListTenantsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/user/tenants" })));
|
|
744
|
+
export const ListTenantsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
745
745
|
result: Schema.Array(Organization),
|
|
746
746
|
}));
|
|
747
|
-
export const listTenants = /*@__PURE__*/
|
|
747
|
+
export const listTenants = /*@__PURE__*/ API.makePaginated(() => ({
|
|
748
748
|
input: ListTenantsRequest,
|
|
749
749
|
output: ListTenantsResponse,
|
|
750
750
|
errors: [],
|
|
@@ -753,10 +753,10 @@ export const listTenants = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => (
|
|
|
753
753
|
items: "result",
|
|
754
754
|
},
|
|
755
755
|
}));
|
|
756
|
-
export const GetTokenRequest = /*@__PURE__*/
|
|
756
|
+
export const GetTokenRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
757
757
|
tokenId: Schema.String.pipe(T.HttpPath("tokenId")),
|
|
758
758
|
}).pipe(T.Http({ method: "GET", path: "/user/tokens/{tokenId}" })));
|
|
759
|
-
export const GetTokenResponse = /*@__PURE__*/
|
|
759
|
+
export const GetTokenResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
760
760
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
761
761
|
condition: Schema.optional(Schema.Union([Condition, Schema.Null])),
|
|
762
762
|
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -787,21 +787,21 @@ export const GetTokenResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
787
787
|
status: "status",
|
|
788
788
|
}))
|
|
789
789
|
.pipe(T.ResponsePath("result")));
|
|
790
|
-
export const getToken = /*@__PURE__*/
|
|
790
|
+
export const getToken = /*@__PURE__*/ API.make(() => ({
|
|
791
791
|
input: GetTokenRequest,
|
|
792
792
|
output: GetTokenResponse,
|
|
793
793
|
errors: [InvalidRoute, TokenNotFound],
|
|
794
794
|
}));
|
|
795
|
-
export const ListTokensRequest = /*@__PURE__*/
|
|
795
|
+
export const ListTokensRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
796
796
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
797
797
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
798
798
|
direction: Schema.optional(Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String])).pipe(T.HttpQuery("direction")),
|
|
799
799
|
}).pipe(T.Http({ method: "GET", path: "/user/tokens" })));
|
|
800
|
-
export const ListTokensResponse = /*@__PURE__*/
|
|
800
|
+
export const ListTokensResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
801
801
|
result: Schema.Array(Token),
|
|
802
802
|
resultInfo: Schema.optional(Schema.Union([ListAuditLogsResponseResultInfo, Schema.Null])),
|
|
803
803
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
804
|
-
export const listTokens = /*@__PURE__*/
|
|
804
|
+
export const listTokens = /*@__PURE__*/ API.makePaginated(() => ({
|
|
805
805
|
input: ListTokensRequest,
|
|
806
806
|
output: ListTokensResponse,
|
|
807
807
|
errors: [],
|
|
@@ -813,7 +813,7 @@ export const listTokens = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
813
813
|
pageSize: "perPage",
|
|
814
814
|
},
|
|
815
815
|
}));
|
|
816
|
-
export const CreateTokenRequest = /*@__PURE__*/
|
|
816
|
+
export const CreateTokenRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
817
817
|
name: Schema.String,
|
|
818
818
|
policies: Schema.Array(TokenPolicyParam),
|
|
819
819
|
condition: Schema.optional(Condition),
|
|
@@ -826,7 +826,7 @@ export const CreateTokenRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
826
826
|
expiresOn: "expires_on",
|
|
827
827
|
notBefore: "not_before",
|
|
828
828
|
}), T.Http({ method: "POST", path: "/user/tokens" })));
|
|
829
|
-
export const CreateTokenResponse = /*@__PURE__*/
|
|
829
|
+
export const CreateTokenResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
830
830
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
831
831
|
condition: Schema.optional(Schema.Union([Condition, Schema.Null])),
|
|
832
832
|
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -859,12 +859,12 @@ export const CreateTokenResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
859
859
|
value: "value",
|
|
860
860
|
}))
|
|
861
861
|
.pipe(T.ResponsePath("result")));
|
|
862
|
-
export const createToken = /*@__PURE__*/
|
|
862
|
+
export const createToken = /*@__PURE__*/ API.make(() => ({
|
|
863
863
|
input: CreateTokenRequest,
|
|
864
864
|
output: CreateTokenResponse,
|
|
865
865
|
errors: [InvalidRoute, InvalidTokenName, PermissionGroupNotFound],
|
|
866
866
|
}));
|
|
867
|
-
export const UpdateTokenRequest = /*@__PURE__*/
|
|
867
|
+
export const UpdateTokenRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
868
868
|
tokenId: Schema.String.pipe(T.HttpPath("tokenId")),
|
|
869
869
|
name: Schema.String,
|
|
870
870
|
policies: Schema.Array(TokenPolicyParam),
|
|
@@ -883,7 +883,7 @@ export const UpdateTokenRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
883
883
|
notBefore: "not_before",
|
|
884
884
|
status: "status",
|
|
885
885
|
}), T.Http({ method: "PUT", path: "/user/tokens/{tokenId}" })));
|
|
886
|
-
export const UpdateTokenResponse = /*@__PURE__*/
|
|
886
|
+
export const UpdateTokenResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
887
887
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
888
888
|
condition: Schema.optional(Schema.Union([Condition, Schema.Null])),
|
|
889
889
|
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -914,7 +914,7 @@ export const UpdateTokenResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
914
914
|
status: "status",
|
|
915
915
|
}))
|
|
916
916
|
.pipe(T.ResponsePath("result")));
|
|
917
|
-
export const updateToken = /*@__PURE__*/
|
|
917
|
+
export const updateToken = /*@__PURE__*/ API.make(() => ({
|
|
918
918
|
input: UpdateTokenRequest,
|
|
919
919
|
output: UpdateTokenResponse,
|
|
920
920
|
errors: [
|
|
@@ -924,19 +924,19 @@ export const updateToken = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
924
924
|
PermissionGroupNotFound,
|
|
925
925
|
],
|
|
926
926
|
}));
|
|
927
|
-
export const DeleteTokenRequest = /*@__PURE__*/
|
|
927
|
+
export const DeleteTokenRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
928
928
|
tokenId: Schema.String.pipe(T.HttpPath("tokenId")),
|
|
929
929
|
}).pipe(T.Http({ method: "DELETE", path: "/user/tokens/{tokenId}" })));
|
|
930
|
-
export const DeleteTokenResponse = /*@__PURE__*/
|
|
930
|
+
export const DeleteTokenResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
931
931
|
id: Schema.String,
|
|
932
932
|
}).pipe(T.ResponsePath("result")));
|
|
933
|
-
export const deleteToken = /*@__PURE__*/
|
|
933
|
+
export const deleteToken = /*@__PURE__*/ API.make(() => ({
|
|
934
934
|
input: DeleteTokenRequest,
|
|
935
935
|
output: DeleteTokenResponse,
|
|
936
936
|
errors: [InvalidRoute, MethodNotAllowed, TokenNotFound],
|
|
937
937
|
}));
|
|
938
|
-
export const VerifyTokenRequest = /*@__PURE__*/
|
|
939
|
-
export const VerifyTokenResponse = /*@__PURE__*/
|
|
938
|
+
export const VerifyTokenRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/user/tokens/verify" })));
|
|
939
|
+
export const VerifyTokenResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
940
940
|
id: Schema.String,
|
|
941
941
|
status: Schema.Union([
|
|
942
942
|
Schema.Literals(["active", "disabled", "expired"]),
|
|
@@ -952,21 +952,21 @@ export const VerifyTokenResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
952
952
|
notBefore: "not_before",
|
|
953
953
|
}))
|
|
954
954
|
.pipe(T.ResponsePath("result")));
|
|
955
|
-
export const verifyToken = /*@__PURE__*/
|
|
955
|
+
export const verifyToken = /*@__PURE__*/ API.make(() => ({
|
|
956
956
|
input: VerifyTokenRequest,
|
|
957
957
|
output: VerifyTokenResponse,
|
|
958
958
|
errors: [Forbidden],
|
|
959
959
|
}));
|
|
960
960
|
export const ListTokenPermissionGroupsRequest =
|
|
961
|
-
/*@__PURE__*/
|
|
961
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
962
962
|
name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
|
|
963
963
|
scope: Schema.optional(Schema.String).pipe(T.HttpQuery("scope")),
|
|
964
964
|
}).pipe(T.Http({ method: "GET", path: "/user/tokens/permission_groups" })));
|
|
965
965
|
export const ListTokenPermissionGroupsResponse =
|
|
966
|
-
/*@__PURE__*/
|
|
966
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
967
967
|
result: Schema.Array(ListTokenPermissionGroupsResponseResult),
|
|
968
968
|
}));
|
|
969
|
-
export const listTokenPermissionGroups = /*@__PURE__*/
|
|
969
|
+
export const listTokenPermissionGroups = /*@__PURE__*/ API.makePaginated(() => ({
|
|
970
970
|
input: ListTokenPermissionGroupsRequest,
|
|
971
971
|
output: ListTokenPermissionGroupsResponse,
|
|
972
972
|
errors: [],
|
|
@@ -975,17 +975,17 @@ export const listTokenPermissionGroups = /*@__PURE__*/ /*#__PURE__*/ API.makePag
|
|
|
975
975
|
items: "result",
|
|
976
976
|
},
|
|
977
977
|
}));
|
|
978
|
-
export const PutTokenValueRequest = /*@__PURE__*/
|
|
978
|
+
export const PutTokenValueRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
979
979
|
tokenId: Schema.String.pipe(T.HttpPath("tokenId")),
|
|
980
980
|
}).pipe(T.Http({ method: "PUT", path: "/user/tokens/{tokenId}/value" })));
|
|
981
|
-
export const PutTokenValueResponse = /*@__PURE__*/
|
|
982
|
-
export const putTokenValue = /*@__PURE__*/
|
|
981
|
+
export const PutTokenValueResponse = /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
982
|
+
export const putTokenValue = /*@__PURE__*/ API.make(() => ({
|
|
983
983
|
input: PutTokenValueRequest,
|
|
984
984
|
output: PutTokenValueResponse,
|
|
985
985
|
errors: [InvalidRoute, TokenNotFound],
|
|
986
986
|
}));
|
|
987
|
-
export const GetUserRequest = /*@__PURE__*/
|
|
988
|
-
export const GetUserResponse = /*@__PURE__*/
|
|
987
|
+
export const GetUserRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/user" })));
|
|
988
|
+
export const GetUserResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
989
989
|
id: Schema.String,
|
|
990
990
|
email: Schema.String,
|
|
991
991
|
betas: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -1023,12 +1023,12 @@ export const GetUserResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1023
1023
|
zipcode: "zipcode",
|
|
1024
1024
|
}))
|
|
1025
1025
|
.pipe(T.ResponsePath("result")));
|
|
1026
|
-
export const getUser = /*@__PURE__*/
|
|
1026
|
+
export const getUser = /*@__PURE__*/ API.make(() => ({
|
|
1027
1027
|
input: GetUserRequest,
|
|
1028
1028
|
output: GetUserResponse,
|
|
1029
1029
|
errors: [],
|
|
1030
1030
|
}));
|
|
1031
|
-
export const PatchUserRequest = /*@__PURE__*/
|
|
1031
|
+
export const PatchUserRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1032
1032
|
country: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1033
1033
|
firstName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1034
1034
|
lastName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1041,7 +1041,7 @@ export const PatchUserRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1041
1041
|
telephone: "telephone",
|
|
1042
1042
|
zipcode: "zipcode",
|
|
1043
1043
|
}), T.Http({ method: "PATCH", path: "/user" })));
|
|
1044
|
-
export const PatchUserResponse = /*@__PURE__*/
|
|
1044
|
+
export const PatchUserResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1045
1045
|
id: Schema.String,
|
|
1046
1046
|
email: Schema.String,
|
|
1047
1047
|
betas: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -1079,7 +1079,7 @@ export const PatchUserResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
1079
1079
|
zipcode: "zipcode",
|
|
1080
1080
|
}))
|
|
1081
1081
|
.pipe(T.ResponsePath("result")));
|
|
1082
|
-
export const patchUser = /*@__PURE__*/
|
|
1082
|
+
export const patchUser = /*@__PURE__*/ API.make(() => ({
|
|
1083
1083
|
input: PatchUserRequest,
|
|
1084
1084
|
output: PatchUserResponse,
|
|
1085
1085
|
errors: [],
|