@distilled.cloud/cloudflare 0.28.2 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/api.d.ts +1 -1
- package/lib/client/api.d.ts.map +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/package.json +10 -9
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
package/lib/services/iam.js
CHANGED
|
@@ -43,7 +43,7 @@ export class UserGroupNotFound extends T.applyErrorMatchers(Schema.TaggedErrorCl
|
|
|
43
43
|
message: Schema.String,
|
|
44
44
|
}), [{ code: 404, message: { includes: "User group" } }]) {
|
|
45
45
|
}
|
|
46
|
-
const ClientURIVerification = /*@__PURE__*/
|
|
46
|
+
const ClientURIVerification = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
47
47
|
status: Schema.optional(Schema.Union([
|
|
48
48
|
Schema.Union([
|
|
49
49
|
Schema.Literals(["pending", "in_progress", "verified", "failed"]),
|
|
@@ -54,7 +54,7 @@ const ClientURIVerification = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => S
|
|
|
54
54
|
text: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
55
55
|
}));
|
|
56
56
|
const ListOauthClientsResponseResult =
|
|
57
|
-
/*@__PURE__*/
|
|
57
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
58
58
|
clientId: Schema.String,
|
|
59
59
|
visibility: Schema.Union([
|
|
60
60
|
Schema.Literals(["public", "private"]),
|
|
@@ -121,24 +121,24 @@ const ListOauthClientsResponseResult =
|
|
|
121
121
|
updatedAt: "updated_at",
|
|
122
122
|
})));
|
|
123
123
|
const ListOauthScopesResponseResult =
|
|
124
|
-
/*@__PURE__*/
|
|
124
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
125
125
|
id: Schema.String,
|
|
126
126
|
name: Schema.String,
|
|
127
127
|
category: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
128
128
|
scopes: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
129
129
|
}));
|
|
130
|
-
const Meta = /*@__PURE__*/
|
|
130
|
+
const Meta = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
131
131
|
key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
132
132
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
133
133
|
}));
|
|
134
134
|
const ListPermissionGroupsResponseResult =
|
|
135
|
-
/*@__PURE__*/
|
|
135
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
136
136
|
id: Schema.String,
|
|
137
137
|
meta: Schema.optional(Schema.Union([Meta, Schema.Null])),
|
|
138
138
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
139
139
|
}));
|
|
140
140
|
const ListPermissionGroupsResponseResultInfo =
|
|
141
|
-
/*@__PURE__*/
|
|
141
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
142
142
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
143
143
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
144
144
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -150,20 +150,20 @@ const ListPermissionGroupsResponseResultInfo =
|
|
|
150
150
|
totalCount: "total_count",
|
|
151
151
|
})));
|
|
152
152
|
const ListResourceGroupsResponseResult =
|
|
153
|
-
/*@__PURE__*/
|
|
153
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
154
154
|
id: Schema.String,
|
|
155
155
|
scope: Schema.Unknown,
|
|
156
156
|
meta: Schema.optional(Schema.Union([Meta, Schema.Null])),
|
|
157
157
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
158
158
|
}));
|
|
159
|
-
const Object2 = /*@__PURE__*/
|
|
159
|
+
const Object2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
160
160
|
key: Schema.String,
|
|
161
161
|
}));
|
|
162
|
-
const Scope = /*@__PURE__*/
|
|
162
|
+
const Scope = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
163
163
|
key: Schema.String,
|
|
164
164
|
objects: Schema.Array(Object2),
|
|
165
165
|
}));
|
|
166
|
-
const Verification = /*@__PURE__*/
|
|
166
|
+
const Verification = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
167
167
|
code: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
168
168
|
status: Schema.optional(Schema.Union([
|
|
169
169
|
Schema.Union([
|
|
@@ -173,7 +173,7 @@ const Verification = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
173
173
|
Schema.Null,
|
|
174
174
|
])),
|
|
175
175
|
}));
|
|
176
|
-
const ListSsosResponseResult = /*@__PURE__*/
|
|
176
|
+
const ListSsosResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
177
177
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
178
178
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
179
179
|
emailDomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -190,7 +190,7 @@ const ListSsosResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
190
190
|
useFedrampLanguage: "use_fedramp_language",
|
|
191
191
|
verification: "verification",
|
|
192
192
|
})));
|
|
193
|
-
const Policy = /*@__PURE__*/
|
|
193
|
+
const Policy = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
194
194
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
195
195
|
access: Schema.optional(Schema.Union([
|
|
196
196
|
Schema.Union([Schema.Literals(["allow", "deny"]), Schema.String]),
|
|
@@ -210,7 +210,7 @@ const Policy = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
210
210
|
permissionGroups: "permission_groups",
|
|
211
211
|
resourceGroups: "resource_groups",
|
|
212
212
|
})));
|
|
213
|
-
const ListUserGroupsResponseResult = /*@__PURE__*/
|
|
213
|
+
const ListUserGroupsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
214
214
|
id: Schema.String,
|
|
215
215
|
createdOn: Schema.String,
|
|
216
216
|
modifiedOn: Schema.String,
|
|
@@ -223,10 +223,10 @@ const ListUserGroupsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
223
223
|
name: "name",
|
|
224
224
|
policies: "policies",
|
|
225
225
|
})));
|
|
226
|
-
const PermissionGroup = /*@__PURE__*/
|
|
226
|
+
const PermissionGroup = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
227
227
|
id: Schema.String,
|
|
228
228
|
}));
|
|
229
|
-
const Policy2 = /*@__PURE__*/
|
|
229
|
+
const Policy2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
230
230
|
access: Schema.Union([Schema.Literals(["allow", "deny"]), Schema.String]),
|
|
231
231
|
permissionGroups: Schema.Array(PermissionGroup),
|
|
232
232
|
resourceGroups: Schema.Array(PermissionGroup),
|
|
@@ -235,7 +235,7 @@ const Policy2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
235
235
|
permissionGroups: "permission_groups",
|
|
236
236
|
resourceGroups: "resource_groups",
|
|
237
237
|
})));
|
|
238
|
-
const Policy3 = /*@__PURE__*/
|
|
238
|
+
const Policy3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
239
239
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
240
240
|
access: Schema.Union([Schema.Literals(["allow", "deny"]), Schema.String]),
|
|
241
241
|
permissionGroups: Schema.Array(PermissionGroup),
|
|
@@ -246,7 +246,7 @@ const Policy3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
246
246
|
permissionGroups: "permission_groups",
|
|
247
247
|
resourceGroups: "resource_groups",
|
|
248
248
|
})));
|
|
249
|
-
const User = /*@__PURE__*/
|
|
249
|
+
const User = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
250
250
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
251
251
|
email: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
252
252
|
firstName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -258,7 +258,7 @@ const User = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
258
258
|
lastName: "last_name",
|
|
259
259
|
})));
|
|
260
260
|
const ListUserGroupMembersResponseResult =
|
|
261
|
-
/*@__PURE__*/
|
|
261
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
262
262
|
id: Schema.String,
|
|
263
263
|
email: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
264
264
|
status: Schema.optional(Schema.Union([
|
|
@@ -269,10 +269,10 @@ const ListUserGroupMembersResponseResult =
|
|
|
269
269
|
Schema.Null,
|
|
270
270
|
])),
|
|
271
271
|
}));
|
|
272
|
-
const Source = /*@__PURE__*/
|
|
272
|
+
const Source = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
273
273
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
274
274
|
}));
|
|
275
|
-
const Error2 = /*@__PURE__*/
|
|
275
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
276
276
|
code: Schema.Number,
|
|
277
277
|
message: Schema.String,
|
|
278
278
|
documentationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -283,7 +283,7 @@ const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
283
283
|
documentationUrl: "documentation_url",
|
|
284
284
|
source: "source",
|
|
285
285
|
})));
|
|
286
|
-
export const GetOauthClientRequest = /*@__PURE__*/
|
|
286
|
+
export const GetOauthClientRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
287
287
|
oauthClientId: Schema.String.pipe(T.HttpPath("oauthClientId")),
|
|
288
288
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
289
289
|
}).pipe(T.Http({
|
|
@@ -291,7 +291,7 @@ export const GetOauthClientRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
291
291
|
path: "/accounts/{account_id}/oauth_clients/{oauthClientId}",
|
|
292
292
|
})));
|
|
293
293
|
export const GetOauthClientResponse =
|
|
294
|
-
/*@__PURE__*/
|
|
294
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
295
295
|
clientId: Schema.String,
|
|
296
296
|
visibility: Schema.Union([
|
|
297
297
|
Schema.Literals(["public", "private"]),
|
|
@@ -359,20 +359,20 @@ export const GetOauthClientResponse =
|
|
|
359
359
|
updatedAt: "updated_at",
|
|
360
360
|
}))
|
|
361
361
|
.pipe(T.ResponsePath("result")));
|
|
362
|
-
export const getOauthClient = /*@__PURE__*/
|
|
362
|
+
export const getOauthClient = /*@__PURE__*/ API.make(() => ({
|
|
363
363
|
input: GetOauthClientRequest,
|
|
364
364
|
output: GetOauthClientResponse,
|
|
365
365
|
errors: [],
|
|
366
366
|
}));
|
|
367
367
|
export const ListOauthClientsRequest =
|
|
368
|
-
/*@__PURE__*/
|
|
368
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
369
369
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
370
370
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/oauth_clients" })));
|
|
371
371
|
export const ListOauthClientsResponse =
|
|
372
|
-
/*@__PURE__*/
|
|
372
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
373
373
|
result: Schema.Array(ListOauthClientsResponseResult),
|
|
374
374
|
}));
|
|
375
|
-
export const listOauthClients = /*@__PURE__*/
|
|
375
|
+
export const listOauthClients = /*@__PURE__*/ API.makePaginated(() => ({
|
|
376
376
|
input: ListOauthClientsRequest,
|
|
377
377
|
output: ListOauthClientsResponse,
|
|
378
378
|
errors: [],
|
|
@@ -382,7 +382,7 @@ export const listOauthClients = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
|
|
|
382
382
|
},
|
|
383
383
|
}));
|
|
384
384
|
export const CreateOauthClientRequest =
|
|
385
|
-
/*@__PURE__*/
|
|
385
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
386
386
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
387
387
|
clientName: Schema.String,
|
|
388
388
|
grantTypes: Schema.Array(Schema.Union([
|
|
@@ -420,7 +420,7 @@ export const CreateOauthClientRequest =
|
|
|
420
420
|
tosUri: "tos_uri",
|
|
421
421
|
}), T.Http({ method: "POST", path: "/accounts/{account_id}/oauth_clients" })));
|
|
422
422
|
export const CreateOauthClientResponse =
|
|
423
|
-
/*@__PURE__*/
|
|
423
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
424
424
|
clientId: Schema.String,
|
|
425
425
|
visibility: Schema.Union([
|
|
426
426
|
Schema.Literals(["public", "private"]),
|
|
@@ -490,13 +490,13 @@ export const CreateOauthClientResponse =
|
|
|
490
490
|
updatedAt: "updated_at",
|
|
491
491
|
}))
|
|
492
492
|
.pipe(T.ResponsePath("result")));
|
|
493
|
-
export const createOauthClient = /*@__PURE__*/
|
|
493
|
+
export const createOauthClient = /*@__PURE__*/ API.make(() => ({
|
|
494
494
|
input: CreateOauthClientRequest,
|
|
495
495
|
output: CreateOauthClientResponse,
|
|
496
496
|
errors: [],
|
|
497
497
|
}));
|
|
498
498
|
export const PatchOauthClientRequest =
|
|
499
|
-
/*@__PURE__*/
|
|
499
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
500
500
|
oauthClientId: Schema.String.pipe(T.HttpPath("oauthClientId")),
|
|
501
501
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
502
502
|
allowedCorsOrigins: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -544,7 +544,7 @@ export const PatchOauthClientRequest =
|
|
|
544
544
|
path: "/accounts/{account_id}/oauth_clients/{oauthClientId}",
|
|
545
545
|
})));
|
|
546
546
|
export const PatchOauthClientResponse =
|
|
547
|
-
/*@__PURE__*/
|
|
547
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
548
548
|
clientId: Schema.String,
|
|
549
549
|
visibility: Schema.Union([
|
|
550
550
|
Schema.Literals(["public", "private"]),
|
|
@@ -612,13 +612,13 @@ export const PatchOauthClientResponse =
|
|
|
612
612
|
updatedAt: "updated_at",
|
|
613
613
|
}))
|
|
614
614
|
.pipe(T.ResponsePath("result")));
|
|
615
|
-
export const patchOauthClient = /*@__PURE__*/
|
|
615
|
+
export const patchOauthClient = /*@__PURE__*/ API.make(() => ({
|
|
616
616
|
input: PatchOauthClientRequest,
|
|
617
617
|
output: PatchOauthClientResponse,
|
|
618
618
|
errors: [],
|
|
619
619
|
}));
|
|
620
620
|
export const DeleteOauthClientRequest =
|
|
621
|
-
/*@__PURE__*/
|
|
621
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
622
622
|
oauthClientId: Schema.String.pipe(T.HttpPath("oauthClientId")),
|
|
623
623
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
624
624
|
}).pipe(T.Http({
|
|
@@ -626,21 +626,21 @@ export const DeleteOauthClientRequest =
|
|
|
626
626
|
path: "/accounts/{account_id}/oauth_clients/{oauthClientId}",
|
|
627
627
|
})));
|
|
628
628
|
export const DeleteOauthClientResponse =
|
|
629
|
-
/*@__PURE__*/
|
|
629
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
630
630
|
id: Schema.String,
|
|
631
631
|
}).pipe(T.ResponsePath("result")));
|
|
632
|
-
export const deleteOauthClient = /*@__PURE__*/
|
|
632
|
+
export const deleteOauthClient = /*@__PURE__*/ API.make(() => ({
|
|
633
633
|
input: DeleteOauthClientRequest,
|
|
634
634
|
output: DeleteOauthClientResponse,
|
|
635
635
|
errors: [],
|
|
636
636
|
}));
|
|
637
637
|
export const ListOauthScopesRequest =
|
|
638
|
-
/*@__PURE__*/
|
|
638
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/oauth/scopes" })));
|
|
639
639
|
export const ListOauthScopesResponse =
|
|
640
|
-
/*@__PURE__*/
|
|
640
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
641
641
|
result: Schema.Array(ListOauthScopesResponseResult),
|
|
642
642
|
}));
|
|
643
|
-
export const listOauthScopes = /*@__PURE__*/
|
|
643
|
+
export const listOauthScopes = /*@__PURE__*/ API.makePaginated(() => ({
|
|
644
644
|
input: ListOauthScopesRequest,
|
|
645
645
|
output: ListOauthScopesResponse,
|
|
646
646
|
errors: [],
|
|
@@ -650,7 +650,7 @@ export const listOauthScopes = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
|
|
|
650
650
|
},
|
|
651
651
|
}));
|
|
652
652
|
export const GetPermissionGroupRequest =
|
|
653
|
-
/*@__PURE__*/
|
|
653
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
654
654
|
permissionGroupId: Schema.String.pipe(T.HttpPath("permissionGroupId")),
|
|
655
655
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
656
656
|
}).pipe(T.Http({
|
|
@@ -658,18 +658,18 @@ export const GetPermissionGroupRequest =
|
|
|
658
658
|
path: "/accounts/{account_id}/iam/permission_groups/{permissionGroupId}",
|
|
659
659
|
})));
|
|
660
660
|
export const GetPermissionGroupResponse =
|
|
661
|
-
/*@__PURE__*/
|
|
661
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
662
662
|
id: Schema.String,
|
|
663
663
|
meta: Schema.optional(Schema.Union([Meta, Schema.Null])),
|
|
664
664
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
665
665
|
}).pipe(T.ResponsePath("result")));
|
|
666
|
-
export const getPermissionGroup = /*@__PURE__*/
|
|
666
|
+
export const getPermissionGroup = /*@__PURE__*/ API.make(() => ({
|
|
667
667
|
input: GetPermissionGroupRequest,
|
|
668
668
|
output: GetPermissionGroupResponse,
|
|
669
669
|
errors: [],
|
|
670
670
|
}));
|
|
671
671
|
export const ListPermissionGroupsRequest =
|
|
672
|
-
/*@__PURE__*/
|
|
672
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
673
673
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
674
674
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
675
675
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -681,14 +681,14 @@ export const ListPermissionGroupsRequest =
|
|
|
681
681
|
path: "/accounts/{account_id}/iam/permission_groups",
|
|
682
682
|
})));
|
|
683
683
|
export const ListPermissionGroupsResponse =
|
|
684
|
-
/*@__PURE__*/
|
|
684
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
685
685
|
result: Schema.Union([
|
|
686
686
|
Schema.Array(ListPermissionGroupsResponseResult),
|
|
687
687
|
Schema.Null,
|
|
688
688
|
]),
|
|
689
689
|
resultInfo: Schema.optional(Schema.Union([ListPermissionGroupsResponseResultInfo, Schema.Null])),
|
|
690
690
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
691
|
-
export const listPermissionGroups = /*@__PURE__*/
|
|
691
|
+
export const listPermissionGroups = /*@__PURE__*/ API.makePaginated(() => ({
|
|
692
692
|
input: ListPermissionGroupsRequest,
|
|
693
693
|
output: ListPermissionGroupsResponse,
|
|
694
694
|
errors: [],
|
|
@@ -701,7 +701,7 @@ export const listPermissionGroups = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
|
|
|
701
701
|
},
|
|
702
702
|
}));
|
|
703
703
|
export const GetResourceGroupRequest =
|
|
704
|
-
/*@__PURE__*/
|
|
704
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
705
705
|
resourceGroupId: Schema.String.pipe(T.HttpPath("resourceGroupId")),
|
|
706
706
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
707
707
|
}).pipe(T.Http({
|
|
@@ -709,19 +709,19 @@ export const GetResourceGroupRequest =
|
|
|
709
709
|
path: "/accounts/{account_id}/iam/resource_groups/{resourceGroupId}",
|
|
710
710
|
})));
|
|
711
711
|
export const GetResourceGroupResponse =
|
|
712
|
-
/*@__PURE__*/
|
|
712
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
713
713
|
id: Schema.String,
|
|
714
714
|
scope: Schema.Unknown,
|
|
715
715
|
meta: Schema.optional(Schema.Union([Meta, Schema.Null])),
|
|
716
716
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
717
717
|
}).pipe(T.ResponsePath("result")));
|
|
718
|
-
export const getResourceGroup = /*@__PURE__*/
|
|
718
|
+
export const getResourceGroup = /*@__PURE__*/ API.make(() => ({
|
|
719
719
|
input: GetResourceGroupRequest,
|
|
720
720
|
output: GetResourceGroupResponse,
|
|
721
721
|
errors: [ResourceGroupNotFound, Forbidden],
|
|
722
722
|
}));
|
|
723
723
|
export const ListResourceGroupsRequest =
|
|
724
|
-
/*@__PURE__*/
|
|
724
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
725
725
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
726
726
|
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
727
727
|
name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
|
|
@@ -730,13 +730,13 @@ export const ListResourceGroupsRequest =
|
|
|
730
730
|
path: "/accounts/{account_id}/iam/resource_groups",
|
|
731
731
|
})));
|
|
732
732
|
export const ListResourceGroupsResponse =
|
|
733
|
-
/*@__PURE__*/
|
|
733
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
734
734
|
result: Schema.Union([
|
|
735
735
|
Schema.Array(ListResourceGroupsResponseResult),
|
|
736
736
|
Schema.Null,
|
|
737
737
|
]),
|
|
738
738
|
}));
|
|
739
|
-
export const listResourceGroups = /*@__PURE__*/
|
|
739
|
+
export const listResourceGroups = /*@__PURE__*/ API.makePaginated(() => ({
|
|
740
740
|
input: ListResourceGroupsRequest,
|
|
741
741
|
output: ListResourceGroupsResponse,
|
|
742
742
|
errors: [],
|
|
@@ -746,7 +746,7 @@ export const listResourceGroups = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
|
746
746
|
},
|
|
747
747
|
}));
|
|
748
748
|
export const CreateResourceGroupRequest =
|
|
749
|
-
/*@__PURE__*/
|
|
749
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
750
750
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
751
751
|
name: Schema.String,
|
|
752
752
|
scope: Scope,
|
|
@@ -755,19 +755,19 @@ export const CreateResourceGroupRequest =
|
|
|
755
755
|
path: "/accounts/{account_id}/iam/resource_groups",
|
|
756
756
|
})));
|
|
757
757
|
export const CreateResourceGroupResponse =
|
|
758
|
-
/*@__PURE__*/
|
|
758
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
759
759
|
id: Schema.String,
|
|
760
760
|
scope: Schema.Unknown,
|
|
761
761
|
meta: Schema.optional(Schema.Union([Meta, Schema.Null])),
|
|
762
762
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
763
763
|
}).pipe(T.ResponsePath("result")));
|
|
764
|
-
export const createResourceGroup = /*@__PURE__*/
|
|
764
|
+
export const createResourceGroup = /*@__PURE__*/ API.make(() => ({
|
|
765
765
|
input: CreateResourceGroupRequest,
|
|
766
766
|
output: CreateResourceGroupResponse,
|
|
767
767
|
errors: [],
|
|
768
768
|
}));
|
|
769
769
|
export const UpdateResourceGroupRequest =
|
|
770
|
-
/*@__PURE__*/
|
|
770
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
771
771
|
resourceGroupId: Schema.String.pipe(T.HttpPath("resourceGroupId")),
|
|
772
772
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
773
773
|
name: Schema.optional(Schema.String),
|
|
@@ -777,19 +777,19 @@ export const UpdateResourceGroupRequest =
|
|
|
777
777
|
path: "/accounts/{account_id}/iam/resource_groups/{resourceGroupId}",
|
|
778
778
|
})));
|
|
779
779
|
export const UpdateResourceGroupResponse =
|
|
780
|
-
/*@__PURE__*/
|
|
780
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
781
781
|
id: Schema.String,
|
|
782
782
|
scope: Schema.Unknown,
|
|
783
783
|
meta: Schema.optional(Schema.Union([Meta, Schema.Null])),
|
|
784
784
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
785
785
|
}).pipe(T.ResponsePath("result")));
|
|
786
|
-
export const updateResourceGroup = /*@__PURE__*/
|
|
786
|
+
export const updateResourceGroup = /*@__PURE__*/ API.make(() => ({
|
|
787
787
|
input: UpdateResourceGroupRequest,
|
|
788
788
|
output: UpdateResourceGroupResponse,
|
|
789
789
|
errors: [ResourceGroupNotFound],
|
|
790
790
|
}));
|
|
791
791
|
export const DeleteResourceGroupRequest =
|
|
792
|
-
/*@__PURE__*/
|
|
792
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
793
793
|
resourceGroupId: Schema.String.pipe(T.HttpPath("resourceGroupId")),
|
|
794
794
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
795
795
|
}).pipe(T.Http({
|
|
@@ -797,16 +797,16 @@ export const DeleteResourceGroupRequest =
|
|
|
797
797
|
path: "/accounts/{account_id}/iam/resource_groups/{resourceGroupId}",
|
|
798
798
|
})));
|
|
799
799
|
export const DeleteResourceGroupResponse =
|
|
800
|
-
/*@__PURE__*/
|
|
800
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
801
801
|
id: Schema.String,
|
|
802
802
|
}).pipe(T.ResponsePath("result")));
|
|
803
|
-
export const deleteResourceGroup = /*@__PURE__*/
|
|
803
|
+
export const deleteResourceGroup = /*@__PURE__*/ API.make(() => ({
|
|
804
804
|
input: DeleteResourceGroupRequest,
|
|
805
805
|
output: DeleteResourceGroupResponse,
|
|
806
806
|
errors: [ResourceGroupNotFound],
|
|
807
807
|
}));
|
|
808
808
|
export const DeleteRotatedSecretOauthClientRequest =
|
|
809
|
-
/*@__PURE__*/
|
|
809
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
810
810
|
oauthClientId: Schema.String.pipe(T.HttpPath("oauthClientId")),
|
|
811
811
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
812
812
|
}).pipe(T.Http({
|
|
@@ -814,16 +814,16 @@ export const DeleteRotatedSecretOauthClientRequest =
|
|
|
814
814
|
path: "/accounts/{account_id}/oauth_clients/{oauthClientId}/rotate_secret",
|
|
815
815
|
})));
|
|
816
816
|
export const DeleteRotatedSecretOauthClientResponse =
|
|
817
|
-
/*@__PURE__*/
|
|
817
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
818
818
|
id: Schema.String,
|
|
819
819
|
}).pipe(T.ResponsePath("result")));
|
|
820
|
-
export const deleteRotatedSecretOauthClient = /*@__PURE__*/
|
|
820
|
+
export const deleteRotatedSecretOauthClient = /*@__PURE__*/ API.make(() => ({
|
|
821
821
|
input: DeleteRotatedSecretOauthClientRequest,
|
|
822
822
|
output: DeleteRotatedSecretOauthClientResponse,
|
|
823
823
|
errors: [],
|
|
824
824
|
}));
|
|
825
825
|
export const RotateSecretOauthClientRequest =
|
|
826
|
-
/*@__PURE__*/
|
|
826
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
827
827
|
oauthClientId: Schema.String.pipe(T.HttpPath("oauthClientId")),
|
|
828
828
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
829
829
|
}).pipe(T.Http({
|
|
@@ -831,24 +831,24 @@ export const RotateSecretOauthClientRequest =
|
|
|
831
831
|
path: "/accounts/{account_id}/oauth_clients/{oauthClientId}/rotate_secret",
|
|
832
832
|
})));
|
|
833
833
|
export const RotateSecretOauthClientResponse =
|
|
834
|
-
/*@__PURE__*/
|
|
834
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
835
835
|
clientSecret: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
836
836
|
})
|
|
837
837
|
.pipe(Schema.encodeKeys({ clientSecret: "client_secret" }))
|
|
838
838
|
.pipe(T.ResponsePath("result")));
|
|
839
|
-
export const rotateSecretOauthClient = /*@__PURE__*/
|
|
839
|
+
export const rotateSecretOauthClient = /*@__PURE__*/ API.make(() => ({
|
|
840
840
|
input: RotateSecretOauthClientRequest,
|
|
841
841
|
output: RotateSecretOauthClientResponse,
|
|
842
842
|
errors: [],
|
|
843
843
|
}));
|
|
844
|
-
export const GetSsoRequest = /*@__PURE__*/
|
|
844
|
+
export const GetSsoRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
845
845
|
ssoConnectorId: Schema.String.pipe(T.HttpPath("ssoConnectorId")),
|
|
846
846
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
847
847
|
}).pipe(T.Http({
|
|
848
848
|
method: "GET",
|
|
849
849
|
path: "/accounts/{account_id}/sso_connectors/{ssoConnectorId}",
|
|
850
850
|
})));
|
|
851
|
-
export const GetSsoResponse = /*@__PURE__*/
|
|
851
|
+
export const GetSsoResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
852
852
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
853
853
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
854
854
|
emailDomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -867,18 +867,18 @@ export const GetSsoResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => S
|
|
|
867
867
|
verification: "verification",
|
|
868
868
|
}))
|
|
869
869
|
.pipe(T.ResponsePath("result")));
|
|
870
|
-
export const getSso = /*@__PURE__*/
|
|
870
|
+
export const getSso = /*@__PURE__*/ API.make(() => ({
|
|
871
871
|
input: GetSsoRequest,
|
|
872
872
|
output: GetSsoResponse,
|
|
873
873
|
errors: [],
|
|
874
874
|
}));
|
|
875
|
-
export const ListSsosRequest = /*@__PURE__*/
|
|
875
|
+
export const ListSsosRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
876
876
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
877
877
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/sso_connectors" })));
|
|
878
|
-
export const ListSsosResponse = /*@__PURE__*/
|
|
878
|
+
export const ListSsosResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
879
879
|
result: Schema.Array(ListSsosResponseResult),
|
|
880
880
|
}));
|
|
881
|
-
export const listSsos = /*@__PURE__*/
|
|
881
|
+
export const listSsos = /*@__PURE__*/ API.makePaginated(() => ({
|
|
882
882
|
input: ListSsosRequest,
|
|
883
883
|
output: ListSsosResponse,
|
|
884
884
|
errors: [],
|
|
@@ -887,7 +887,7 @@ export const listSsos = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
887
887
|
items: "result",
|
|
888
888
|
},
|
|
889
889
|
}));
|
|
890
|
-
export const CreateSsoRequest = /*@__PURE__*/
|
|
890
|
+
export const CreateSsoRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
891
891
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
892
892
|
emailDomain: Schema.String,
|
|
893
893
|
beginVerification: Schema.optional(Schema.Boolean),
|
|
@@ -897,7 +897,7 @@ export const CreateSsoRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
897
897
|
beginVerification: "begin_verification",
|
|
898
898
|
useFedrampLanguage: "use_fedramp_language",
|
|
899
899
|
}), T.Http({ method: "POST", path: "/accounts/{account_id}/sso_connectors" })));
|
|
900
|
-
export const CreateSsoResponse = /*@__PURE__*/
|
|
900
|
+
export const CreateSsoResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
901
901
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
902
902
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
903
903
|
emailDomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -916,12 +916,12 @@ export const CreateSsoResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
916
916
|
verification: "verification",
|
|
917
917
|
}))
|
|
918
918
|
.pipe(T.ResponsePath("result")));
|
|
919
|
-
export const createSso = /*@__PURE__*/
|
|
919
|
+
export const createSso = /*@__PURE__*/ API.make(() => ({
|
|
920
920
|
input: CreateSsoRequest,
|
|
921
921
|
output: CreateSsoResponse,
|
|
922
922
|
errors: [],
|
|
923
923
|
}));
|
|
924
|
-
export const PatchSsoRequest = /*@__PURE__*/
|
|
924
|
+
export const PatchSsoRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
925
925
|
ssoConnectorId: Schema.String.pipe(T.HttpPath("ssoConnectorId")),
|
|
926
926
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
927
927
|
enabled: Schema.optional(Schema.Boolean),
|
|
@@ -933,7 +933,7 @@ export const PatchSsoRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
933
933
|
method: "PATCH",
|
|
934
934
|
path: "/accounts/{account_id}/sso_connectors/{ssoConnectorId}",
|
|
935
935
|
})));
|
|
936
|
-
export const PatchSsoResponse = /*@__PURE__*/
|
|
936
|
+
export const PatchSsoResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
937
937
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
938
938
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
939
939
|
emailDomain: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -952,34 +952,34 @@ export const PatchSsoResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
952
952
|
verification: "verification",
|
|
953
953
|
}))
|
|
954
954
|
.pipe(T.ResponsePath("result")));
|
|
955
|
-
export const patchSso = /*@__PURE__*/
|
|
955
|
+
export const patchSso = /*@__PURE__*/ API.make(() => ({
|
|
956
956
|
input: PatchSsoRequest,
|
|
957
957
|
output: PatchSsoResponse,
|
|
958
958
|
errors: [],
|
|
959
959
|
}));
|
|
960
|
-
export const DeleteSsoRequest = /*@__PURE__*/
|
|
960
|
+
export const DeleteSsoRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
961
961
|
ssoConnectorId: Schema.String.pipe(T.HttpPath("ssoConnectorId")),
|
|
962
962
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
963
963
|
}).pipe(T.Http({
|
|
964
964
|
method: "DELETE",
|
|
965
965
|
path: "/accounts/{account_id}/sso_connectors/{ssoConnectorId}",
|
|
966
966
|
})));
|
|
967
|
-
export const DeleteSsoResponse = /*@__PURE__*/
|
|
967
|
+
export const DeleteSsoResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
968
968
|
id: Schema.String,
|
|
969
969
|
}).pipe(T.ResponsePath("result")));
|
|
970
|
-
export const deleteSso = /*@__PURE__*/
|
|
970
|
+
export const deleteSso = /*@__PURE__*/ API.make(() => ({
|
|
971
971
|
input: DeleteSsoRequest,
|
|
972
972
|
output: DeleteSsoResponse,
|
|
973
973
|
errors: [],
|
|
974
974
|
}));
|
|
975
|
-
export const GetUserGroupRequest = /*@__PURE__*/
|
|
975
|
+
export const GetUserGroupRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
976
976
|
userGroupId: Schema.String.pipe(T.HttpPath("userGroupId")),
|
|
977
977
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
978
978
|
}).pipe(T.Http({
|
|
979
979
|
method: "GET",
|
|
980
980
|
path: "/accounts/{account_id}/iam/user_groups/{userGroupId}",
|
|
981
981
|
})));
|
|
982
|
-
export const GetUserGroupResponse = /*@__PURE__*/
|
|
982
|
+
export const GetUserGroupResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
983
983
|
id: Schema.String,
|
|
984
984
|
createdOn: Schema.String,
|
|
985
985
|
modifiedOn: Schema.String,
|
|
@@ -994,12 +994,12 @@ export const GetUserGroupResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
994
994
|
policies: "policies",
|
|
995
995
|
}))
|
|
996
996
|
.pipe(T.ResponsePath("result")));
|
|
997
|
-
export const getUserGroup = /*@__PURE__*/
|
|
997
|
+
export const getUserGroup = /*@__PURE__*/ API.make(() => ({
|
|
998
998
|
input: GetUserGroupRequest,
|
|
999
999
|
output: GetUserGroupResponse,
|
|
1000
1000
|
errors: [UserGroupNotFound, Forbidden],
|
|
1001
1001
|
}));
|
|
1002
|
-
export const ListUserGroupsRequest = /*@__PURE__*/
|
|
1002
|
+
export const ListUserGroupsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1003
1003
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1004
1004
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1005
1005
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -1009,14 +1009,14 @@ export const ListUserGroupsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1009
1009
|
name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
|
|
1010
1010
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/iam/user_groups" })));
|
|
1011
1011
|
export const ListUserGroupsResponse =
|
|
1012
|
-
/*@__PURE__*/
|
|
1012
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1013
1013
|
result: Schema.Union([
|
|
1014
1014
|
Schema.Array(ListUserGroupsResponseResult),
|
|
1015
1015
|
Schema.Null,
|
|
1016
1016
|
]),
|
|
1017
1017
|
resultInfo: Schema.optional(Schema.Union([ListPermissionGroupsResponseResultInfo, Schema.Null])),
|
|
1018
1018
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1019
|
-
export const listUserGroups = /*@__PURE__*/
|
|
1019
|
+
export const listUserGroups = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1020
1020
|
input: ListUserGroupsRequest,
|
|
1021
1021
|
output: ListUserGroupsResponse,
|
|
1022
1022
|
errors: [],
|
|
@@ -1029,7 +1029,7 @@ export const listUserGroups = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =
|
|
|
1029
1029
|
},
|
|
1030
1030
|
}));
|
|
1031
1031
|
export const CreateUserGroupRequest =
|
|
1032
|
-
/*@__PURE__*/
|
|
1032
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1033
1033
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1034
1034
|
name: Schema.String,
|
|
1035
1035
|
policies: Schema.optional(Schema.Array(Policy2)),
|
|
@@ -1038,7 +1038,7 @@ export const CreateUserGroupRequest =
|
|
|
1038
1038
|
path: "/accounts/{account_id}/iam/user_groups",
|
|
1039
1039
|
})));
|
|
1040
1040
|
export const CreateUserGroupResponse =
|
|
1041
|
-
/*@__PURE__*/
|
|
1041
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1042
1042
|
id: Schema.String,
|
|
1043
1043
|
createdOn: Schema.String,
|
|
1044
1044
|
modifiedOn: Schema.String,
|
|
@@ -1053,13 +1053,13 @@ export const CreateUserGroupResponse =
|
|
|
1053
1053
|
policies: "policies",
|
|
1054
1054
|
}))
|
|
1055
1055
|
.pipe(T.ResponsePath("result")));
|
|
1056
|
-
export const createUserGroup = /*@__PURE__*/
|
|
1056
|
+
export const createUserGroup = /*@__PURE__*/ API.make(() => ({
|
|
1057
1057
|
input: CreateUserGroupRequest,
|
|
1058
1058
|
output: CreateUserGroupResponse,
|
|
1059
1059
|
errors: [UserGroupNameInUse],
|
|
1060
1060
|
}));
|
|
1061
1061
|
export const UpdateUserGroupRequest =
|
|
1062
|
-
/*@__PURE__*/
|
|
1062
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1063
1063
|
userGroupId: Schema.String.pipe(T.HttpPath("userGroupId")),
|
|
1064
1064
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1065
1065
|
name: Schema.optional(Schema.String),
|
|
@@ -1069,7 +1069,7 @@ export const UpdateUserGroupRequest =
|
|
|
1069
1069
|
path: "/accounts/{account_id}/iam/user_groups/{userGroupId}",
|
|
1070
1070
|
})));
|
|
1071
1071
|
export const UpdateUserGroupResponse =
|
|
1072
|
-
/*@__PURE__*/
|
|
1072
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1073
1073
|
id: Schema.String,
|
|
1074
1074
|
createdOn: Schema.String,
|
|
1075
1075
|
modifiedOn: Schema.String,
|
|
@@ -1084,13 +1084,13 @@ export const UpdateUserGroupResponse =
|
|
|
1084
1084
|
policies: "policies",
|
|
1085
1085
|
}))
|
|
1086
1086
|
.pipe(T.ResponsePath("result")));
|
|
1087
|
-
export const updateUserGroup = /*@__PURE__*/
|
|
1087
|
+
export const updateUserGroup = /*@__PURE__*/ API.make(() => ({
|
|
1088
1088
|
input: UpdateUserGroupRequest,
|
|
1089
1089
|
output: UpdateUserGroupResponse,
|
|
1090
1090
|
errors: [UserGroupNotFound, UserGroupNameInUse],
|
|
1091
1091
|
}));
|
|
1092
1092
|
export const DeleteUserGroupRequest =
|
|
1093
|
-
/*@__PURE__*/
|
|
1093
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1094
1094
|
userGroupId: Schema.String.pipe(T.HttpPath("userGroupId")),
|
|
1095
1095
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1096
1096
|
}).pipe(T.Http({
|
|
@@ -1098,16 +1098,16 @@ export const DeleteUserGroupRequest =
|
|
|
1098
1098
|
path: "/accounts/{account_id}/iam/user_groups/{userGroupId}",
|
|
1099
1099
|
})));
|
|
1100
1100
|
export const DeleteUserGroupResponse =
|
|
1101
|
-
/*@__PURE__*/
|
|
1101
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1102
1102
|
id: Schema.String,
|
|
1103
1103
|
}).pipe(T.ResponsePath("result")));
|
|
1104
|
-
export const deleteUserGroup = /*@__PURE__*/
|
|
1104
|
+
export const deleteUserGroup = /*@__PURE__*/ API.make(() => ({
|
|
1105
1105
|
input: DeleteUserGroupRequest,
|
|
1106
1106
|
output: DeleteUserGroupResponse,
|
|
1107
1107
|
errors: [UserGroupNotFound],
|
|
1108
1108
|
}));
|
|
1109
1109
|
export const GetUserGroupMemberRequest =
|
|
1110
|
-
/*@__PURE__*/
|
|
1110
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1111
1111
|
userGroupId: Schema.String.pipe(T.HttpPath("userGroupId")),
|
|
1112
1112
|
memberId: Schema.String.pipe(T.HttpPath("memberId")),
|
|
1113
1113
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1116,7 +1116,7 @@ export const GetUserGroupMemberRequest =
|
|
|
1116
1116
|
path: "/accounts/{account_id}/iam/user_groups/{userGroupId}/members/{memberId}",
|
|
1117
1117
|
})));
|
|
1118
1118
|
export const GetUserGroupMemberResponse =
|
|
1119
|
-
/*@__PURE__*/
|
|
1119
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1120
1120
|
id: Schema.String,
|
|
1121
1121
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1122
1122
|
email: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1137,13 +1137,13 @@ export const GetUserGroupMemberResponse =
|
|
|
1137
1137
|
user: "user",
|
|
1138
1138
|
}))
|
|
1139
1139
|
.pipe(T.ResponsePath("result")));
|
|
1140
|
-
export const getUserGroupMember = /*@__PURE__*/
|
|
1140
|
+
export const getUserGroupMember = /*@__PURE__*/ API.make(() => ({
|
|
1141
1141
|
input: GetUserGroupMemberRequest,
|
|
1142
1142
|
output: GetUserGroupMemberResponse,
|
|
1143
1143
|
errors: [UserGroupMemberNotFound, UserGroupNotFound, Forbidden],
|
|
1144
1144
|
}));
|
|
1145
1145
|
export const ListUserGroupMembersRequest =
|
|
1146
|
-
/*@__PURE__*/
|
|
1146
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1147
1147
|
userGroupId: Schema.String.pipe(T.HttpPath("userGroupId")),
|
|
1148
1148
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1149
1149
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
@@ -1155,14 +1155,14 @@ export const ListUserGroupMembersRequest =
|
|
|
1155
1155
|
path: "/accounts/{account_id}/iam/user_groups/{userGroupId}/members",
|
|
1156
1156
|
})));
|
|
1157
1157
|
export const ListUserGroupMembersResponse =
|
|
1158
|
-
/*@__PURE__*/
|
|
1158
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1159
1159
|
result: Schema.Union([
|
|
1160
1160
|
Schema.Array(ListUserGroupMembersResponseResult),
|
|
1161
1161
|
Schema.Null,
|
|
1162
1162
|
]),
|
|
1163
1163
|
resultInfo: Schema.optional(Schema.Union([ListPermissionGroupsResponseResultInfo, Schema.Null])),
|
|
1164
1164
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1165
|
-
export const listUserGroupMembers = /*@__PURE__*/
|
|
1165
|
+
export const listUserGroupMembers = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1166
1166
|
input: ListUserGroupMembersRequest,
|
|
1167
1167
|
output: ListUserGroupMembersResponse,
|
|
1168
1168
|
errors: [UserGroupNotFound, PolicyValidationFailed],
|
|
@@ -1175,7 +1175,7 @@ export const listUserGroupMembers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
|
|
|
1175
1175
|
},
|
|
1176
1176
|
}));
|
|
1177
1177
|
export const CreateUserGroupMemberRequest =
|
|
1178
|
-
/*@__PURE__*/
|
|
1178
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1179
1179
|
userGroupId: Schema.String.pipe(T.HttpPath("userGroupId")),
|
|
1180
1180
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1181
1181
|
members: Schema.Array(PermissionGroup).pipe(T.HttpBody()),
|
|
@@ -1184,10 +1184,10 @@ export const CreateUserGroupMemberRequest =
|
|
|
1184
1184
|
path: "/accounts/{account_id}/iam/user_groups/{userGroupId}/members",
|
|
1185
1185
|
})));
|
|
1186
1186
|
export const CreateUserGroupMemberResponse =
|
|
1187
|
-
/*@__PURE__*/
|
|
1187
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1188
1188
|
result: Schema.Array(ListUserGroupMembersResponseResult),
|
|
1189
1189
|
}));
|
|
1190
|
-
export const createUserGroupMember = /*@__PURE__*/
|
|
1190
|
+
export const createUserGroupMember = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1191
1191
|
input: CreateUserGroupMemberRequest,
|
|
1192
1192
|
output: CreateUserGroupMemberResponse,
|
|
1193
1193
|
errors: [InvalidMember, UserGroupNotFound],
|
|
@@ -1197,7 +1197,7 @@ export const createUserGroupMember = /*@__PURE__*/ /*#__PURE__*/ API.makePaginat
|
|
|
1197
1197
|
},
|
|
1198
1198
|
}));
|
|
1199
1199
|
export const UpdateUserGroupMemberRequest =
|
|
1200
|
-
/*@__PURE__*/
|
|
1200
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1201
1201
|
userGroupId: Schema.String.pipe(T.HttpPath("userGroupId")),
|
|
1202
1202
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1203
1203
|
members: Schema.Array(PermissionGroup).pipe(T.HttpBody()),
|
|
@@ -1206,10 +1206,10 @@ export const UpdateUserGroupMemberRequest =
|
|
|
1206
1206
|
path: "/accounts/{account_id}/iam/user_groups/{userGroupId}/members",
|
|
1207
1207
|
})));
|
|
1208
1208
|
export const UpdateUserGroupMemberResponse =
|
|
1209
|
-
/*@__PURE__*/
|
|
1209
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1210
1210
|
result: Schema.Array(ListUserGroupMembersResponseResult),
|
|
1211
1211
|
}));
|
|
1212
|
-
export const updateUserGroupMember = /*@__PURE__*/
|
|
1212
|
+
export const updateUserGroupMember = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1213
1213
|
input: UpdateUserGroupMemberRequest,
|
|
1214
1214
|
output: UpdateUserGroupMemberResponse,
|
|
1215
1215
|
errors: [InvalidMember, UserGroupNotFound],
|
|
@@ -1219,7 +1219,7 @@ export const updateUserGroupMember = /*@__PURE__*/ /*#__PURE__*/ API.makePaginat
|
|
|
1219
1219
|
},
|
|
1220
1220
|
}));
|
|
1221
1221
|
export const DeleteUserGroupMemberRequest =
|
|
1222
|
-
/*@__PURE__*/
|
|
1222
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1223
1223
|
userGroupId: Schema.String.pipe(T.HttpPath("userGroupId")),
|
|
1224
1224
|
memberId: Schema.String.pipe(T.HttpPath("memberId")),
|
|
1225
1225
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1228,7 +1228,7 @@ export const DeleteUserGroupMemberRequest =
|
|
|
1228
1228
|
path: "/accounts/{account_id}/iam/user_groups/{userGroupId}/members/{memberId}",
|
|
1229
1229
|
})));
|
|
1230
1230
|
export const DeleteUserGroupMemberResponse =
|
|
1231
|
-
/*@__PURE__*/
|
|
1231
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1232
1232
|
id: Schema.String,
|
|
1233
1233
|
email: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1234
1234
|
status: Schema.optional(Schema.Union([
|
|
@@ -1239,13 +1239,13 @@ export const DeleteUserGroupMemberResponse =
|
|
|
1239
1239
|
Schema.Null,
|
|
1240
1240
|
])),
|
|
1241
1241
|
}).pipe(T.ResponsePath("result")));
|
|
1242
|
-
export const deleteUserGroupMember = /*@__PURE__*/
|
|
1242
|
+
export const deleteUserGroupMember = /*@__PURE__*/ API.make(() => ({
|
|
1243
1243
|
input: DeleteUserGroupMemberRequest,
|
|
1244
1244
|
output: DeleteUserGroupMemberResponse,
|
|
1245
1245
|
errors: [InvalidMember, UserGroupMemberNotFound, UserGroupNotFound],
|
|
1246
1246
|
}));
|
|
1247
1247
|
export const BeginVerificationSsoRequest =
|
|
1248
|
-
/*@__PURE__*/
|
|
1248
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1249
1249
|
ssoConnectorId: Schema.String.pipe(T.HttpPath("ssoConnectorId")),
|
|
1250
1250
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1251
1251
|
}).pipe(T.Http({
|
|
@@ -1253,12 +1253,12 @@ export const BeginVerificationSsoRequest =
|
|
|
1253
1253
|
path: "/accounts/{account_id}/sso_connectors/{ssoConnectorId}/begin_verification",
|
|
1254
1254
|
})));
|
|
1255
1255
|
export const BeginVerificationSsoResponse =
|
|
1256
|
-
/*@__PURE__*/
|
|
1256
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1257
1257
|
errors: Schema.Array(Error2),
|
|
1258
1258
|
messages: Schema.Array(Error2),
|
|
1259
1259
|
success: Schema.Literal(true),
|
|
1260
1260
|
}));
|
|
1261
|
-
export const beginVerificationSso = /*@__PURE__*/
|
|
1261
|
+
export const beginVerificationSso = /*@__PURE__*/ API.make(() => ({
|
|
1262
1262
|
input: BeginVerificationSsoRequest,
|
|
1263
1263
|
output: BeginVerificationSsoResponse,
|
|
1264
1264
|
errors: [],
|