@unkey/api 0.34.0 → 2.0.0-alpha.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/.devcontainer/README.md +35 -0
- package/.devcontainer/devcontainer.json +45 -0
- package/FUNCTIONS.md +109 -0
- package/{LICENSE.md → LICENSE} +1 -1
- package/README.md +440 -66
- package/RUNTIMES.md +48 -0
- package/dist/commonjs/core.d.ts +10 -0
- package/dist/commonjs/core.d.ts.map +1 -0
- package/dist/commonjs/core.js +17 -0
- package/dist/commonjs/core.js.map +1 -0
- package/dist/commonjs/funcs/livenessCheck.d.ts +17 -0
- package/dist/commonjs/funcs/livenessCheck.d.ts.map +1 -0
- package/dist/commonjs/funcs/livenessCheck.js +126 -0
- package/dist/commonjs/funcs/livenessCheck.js.map +1 -0
- package/dist/commonjs/funcs/ratelimitDeleteOverride.d.ts +12 -0
- package/dist/commonjs/funcs/ratelimitDeleteOverride.d.ts.map +1 -0
- package/dist/commonjs/funcs/ratelimitDeleteOverride.js +137 -0
- package/dist/commonjs/funcs/ratelimitDeleteOverride.js.map +1 -0
- package/dist/commonjs/funcs/ratelimitGetOverride.d.ts +12 -0
- package/dist/commonjs/funcs/ratelimitGetOverride.d.ts.map +1 -0
- package/dist/commonjs/funcs/ratelimitGetOverride.js +137 -0
- package/dist/commonjs/funcs/ratelimitGetOverride.js.map +1 -0
- package/dist/commonjs/funcs/ratelimitLimit.d.ts +15 -0
- package/dist/commonjs/funcs/ratelimitLimit.d.ts.map +1 -0
- package/dist/commonjs/funcs/ratelimitLimit.js +140 -0
- package/dist/commonjs/funcs/ratelimitLimit.js.map +1 -0
- package/dist/commonjs/funcs/ratelimitSetOverride.d.ts +12 -0
- package/dist/commonjs/funcs/ratelimitSetOverride.d.ts.map +1 -0
- package/dist/commonjs/funcs/ratelimitSetOverride.js +137 -0
- package/dist/commonjs/funcs/ratelimitSetOverride.js.map +1 -0
- package/dist/commonjs/hooks/hooks.d.ts +24 -0
- package/dist/commonjs/hooks/hooks.d.ts.map +1 -0
- package/dist/commonjs/hooks/hooks.js +86 -0
- package/dist/commonjs/hooks/hooks.js.map +1 -0
- package/dist/commonjs/hooks/index.d.ts +3 -0
- package/dist/commonjs/hooks/index.d.ts.map +1 -0
- package/dist/commonjs/hooks/index.js +22 -0
- package/dist/commonjs/hooks/index.js.map +1 -0
- package/dist/commonjs/hooks/registration.d.ts +3 -0
- package/dist/commonjs/hooks/registration.d.ts.map +1 -0
- package/dist/commonjs/hooks/registration.js +15 -0
- package/dist/commonjs/hooks/registration.js.map +1 -0
- package/dist/commonjs/hooks/types.d.ts +78 -0
- package/dist/commonjs/hooks/types.d.ts.map +1 -0
- package/dist/commonjs/hooks/types.js +6 -0
- package/dist/commonjs/hooks/types.js.map +1 -0
- package/dist/commonjs/index.d.ts +4 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +46 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lib/base64.d.ts +10 -0
- package/dist/commonjs/lib/base64.d.ts.map +1 -0
- package/dist/commonjs/lib/base64.js +71 -0
- package/dist/commonjs/lib/base64.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +34 -0
- package/dist/commonjs/lib/config.d.ts.map +1 -0
- package/dist/commonjs/lib/config.js +35 -0
- package/dist/commonjs/lib/config.js.map +1 -0
- package/dist/commonjs/lib/dlv.d.ts +14 -0
- package/dist/commonjs/lib/dlv.d.ts.map +1 -0
- package/dist/commonjs/lib/dlv.js +49 -0
- package/dist/commonjs/lib/dlv.js.map +1 -0
- package/dist/commonjs/lib/encodings.d.ts +52 -0
- package/dist/commonjs/lib/encodings.d.ts.map +1 -0
- package/dist/commonjs/lib/encodings.js +368 -0
- package/dist/commonjs/lib/encodings.js.map +1 -0
- package/dist/commonjs/lib/env.d.ts +15 -0
- package/dist/commonjs/lib/env.d.ts.map +1 -0
- package/dist/commonjs/lib/env.js +65 -0
- package/dist/commonjs/lib/env.js.map +1 -0
- package/dist/commonjs/lib/files.d.ts +8 -0
- package/dist/commonjs/lib/files.d.ts.map +1 -0
- package/dist/commonjs/lib/files.js +36 -0
- package/dist/commonjs/lib/files.js.map +1 -0
- package/dist/commonjs/lib/http.d.ts +67 -0
- package/dist/commonjs/lib/http.d.ts.map +1 -0
- package/dist/commonjs/lib/http.js +217 -0
- package/dist/commonjs/lib/http.js.map +1 -0
- package/dist/commonjs/lib/is-plain-object.d.ts +2 -0
- package/dist/commonjs/lib/is-plain-object.d.ts.map +1 -0
- package/dist/commonjs/lib/is-plain-object.js +41 -0
- package/dist/commonjs/lib/is-plain-object.js.map +1 -0
- package/dist/commonjs/lib/logger.d.ts +6 -0
- package/dist/commonjs/lib/logger.d.ts.map +1 -0
- package/dist/commonjs/lib/logger.js +6 -0
- package/dist/commonjs/lib/logger.js.map +1 -0
- package/dist/commonjs/lib/matchers.d.ts +64 -0
- package/dist/commonjs/lib/matchers.d.ts.map +1 -0
- package/dist/commonjs/lib/matchers.js +200 -0
- package/dist/commonjs/lib/matchers.js.map +1 -0
- package/dist/commonjs/lib/primitives.d.ts +26 -0
- package/dist/commonjs/lib/primitives.d.ts.map +1 -0
- package/dist/commonjs/lib/primitives.js +111 -0
- package/dist/commonjs/lib/primitives.js.map +1 -0
- package/dist/commonjs/lib/retries.d.ts +38 -0
- package/dist/commonjs/lib/retries.d.ts.map +1 -0
- package/dist/commonjs/lib/retries.js +153 -0
- package/dist/commonjs/lib/retries.js.map +1 -0
- package/dist/commonjs/lib/schemas.d.ts +19 -0
- package/dist/commonjs/lib/schemas.d.ts.map +1 -0
- package/dist/commonjs/lib/schemas.js +62 -0
- package/dist/commonjs/lib/schemas.js.map +1 -0
- package/dist/commonjs/lib/sdks.d.ts +60 -0
- package/dist/commonjs/lib/sdks.d.ts.map +1 -0
- package/dist/commonjs/lib/sdks.js +274 -0
- package/dist/commonjs/lib/sdks.js.map +1 -0
- package/dist/commonjs/lib/security.d.ts +83 -0
- package/dist/commonjs/lib/security.d.ts.map +1 -0
- package/dist/commonjs/lib/security.js +144 -0
- package/dist/commonjs/lib/security.js.map +1 -0
- package/dist/commonjs/lib/url.d.ts +5 -0
- package/dist/commonjs/lib/url.d.ts.map +1 -0
- package/dist/commonjs/lib/url.js +25 -0
- package/dist/commonjs/lib/url.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +12 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -0
- package/dist/commonjs/models/components/index.js +31 -0
- package/dist/commonjs/models/components/index.js.map +1 -0
- package/dist/commonjs/models/components/security.d.ts +29 -0
- package/dist/commonjs/models/components/security.d.ts.map +1 -0
- package/dist/commonjs/models/components/security.js +69 -0
- package/dist/commonjs/models/components/security.js.map +1 -0
- package/dist/commonjs/models/components/v2livenessresponsebody.d.ts +32 -0
- package/dist/commonjs/models/components/v2livenessresponsebody.d.ts.map +1 -0
- package/dist/commonjs/models/components/v2livenessresponsebody.js +69 -0
- package/dist/commonjs/models/components/v2livenessresponsebody.js.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitdeleteoverriderequestbody.d.ts +45 -0
- package/dist/commonjs/models/components/v2ratelimitdeleteoverriderequestbody.d.ts.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitdeleteoverriderequestbody.js +73 -0
- package/dist/commonjs/models/components/v2ratelimitdeleteoverriderequestbody.js.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitdeleteoverrideresponsebody.d.ts +25 -0
- package/dist/commonjs/models/components/v2ratelimitdeleteoverrideresponsebody.d.ts.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitdeleteoverrideresponsebody.js +65 -0
- package/dist/commonjs/models/components/v2ratelimitdeleteoverrideresponsebody.js.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitgetoverriderequestbody.d.ts +45 -0
- package/dist/commonjs/models/components/v2ratelimitgetoverriderequestbody.d.ts.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitgetoverriderequestbody.js +73 -0
- package/dist/commonjs/models/components/v2ratelimitgetoverriderequestbody.js.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitgetoverrideresponsebody.d.ts +52 -0
- package/dist/commonjs/models/components/v2ratelimitgetoverrideresponsebody.d.ts.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitgetoverrideresponsebody.js +77 -0
- package/dist/commonjs/models/components/v2ratelimitgetoverrideresponsebody.js.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitlimitrequestbody.d.ts +52 -0
- package/dist/commonjs/models/components/v2ratelimitlimitrequestbody.d.ts.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitlimitrequestbody.js +77 -0
- package/dist/commonjs/models/components/v2ratelimitlimitrequestbody.js.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitlimitresponsebody.d.ts +52 -0
- package/dist/commonjs/models/components/v2ratelimitlimitresponsebody.d.ts.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitlimitresponsebody.js +77 -0
- package/dist/commonjs/models/components/v2ratelimitlimitresponsebody.js.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitsetoverriderequestbody.d.ts +55 -0
- package/dist/commonjs/models/components/v2ratelimitsetoverriderequestbody.d.ts.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitsetoverriderequestbody.js +77 -0
- package/dist/commonjs/models/components/v2ratelimitsetoverriderequestbody.js.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitsetoverrideresponsebody.d.ts +32 -0
- package/dist/commonjs/models/components/v2ratelimitsetoverrideresponsebody.d.ts.map +1 -0
- package/dist/commonjs/models/components/v2ratelimitsetoverrideresponsebody.js +69 -0
- package/dist/commonjs/models/components/v2ratelimitsetoverrideresponsebody.js.map +1 -0
- package/dist/commonjs/models/components/validationerror.d.ts +42 -0
- package/dist/commonjs/models/components/validationerror.d.ts.map +1 -0
- package/dist/commonjs/models/components/validationerror.js +73 -0
- package/dist/commonjs/models/components/validationerror.js.map +1 -0
- package/dist/commonjs/models/errors/apierror.d.ts +8 -0
- package/dist/commonjs/models/errors/apierror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/apierror.js +21 -0
- package/dist/commonjs/models/errors/apierror.js.map +1 -0
- package/dist/commonjs/models/errors/badrequesterror.d.ts +92 -0
- package/dist/commonjs/models/errors/badrequesterror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/badrequesterror.js +97 -0
- package/dist/commonjs/models/errors/badrequesterror.js.map +1 -0
- package/dist/commonjs/models/errors/forbiddenerror.d.ts +82 -0
- package/dist/commonjs/models/errors/forbiddenerror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/forbiddenerror.js +93 -0
- package/dist/commonjs/models/errors/forbiddenerror.js.map +1 -0
- package/dist/commonjs/models/errors/httpclienterrors.d.ts +44 -0
- package/dist/commonjs/models/errors/httpclienterrors.d.ts.map +1 -0
- package/dist/commonjs/models/errors/httpclienterrors.js +78 -0
- package/dist/commonjs/models/errors/httpclienterrors.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +10 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -0
- package/dist/commonjs/models/errors/index.js +29 -0
- package/dist/commonjs/models/errors/index.js.map +1 -0
- package/dist/commonjs/models/errors/internalservererror.d.ts +82 -0
- package/dist/commonjs/models/errors/internalservererror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/internalservererror.js +93 -0
- package/dist/commonjs/models/errors/internalservererror.js.map +1 -0
- package/dist/commonjs/models/errors/notfounderror.d.ts +82 -0
- package/dist/commonjs/models/errors/notfounderror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/notfounderror.js +93 -0
- package/dist/commonjs/models/errors/notfounderror.js.map +1 -0
- package/dist/commonjs/models/errors/preconditionfailederror.d.ts +82 -0
- package/dist/commonjs/models/errors/preconditionfailederror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/preconditionfailederror.js +93 -0
- package/dist/commonjs/models/errors/preconditionfailederror.js.map +1 -0
- package/dist/commonjs/models/errors/sdkvalidationerror.d.ts +20 -0
- package/dist/commonjs/models/errors/sdkvalidationerror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/sdkvalidationerror.js +115 -0
- package/dist/commonjs/models/errors/sdkvalidationerror.js.map +1 -0
- package/dist/commonjs/models/errors/unauthorizederror.d.ts +82 -0
- package/dist/commonjs/models/errors/unauthorizederror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/unauthorizederror.js +93 -0
- package/dist/commonjs/models/errors/unauthorizederror.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +6 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -0
- package/dist/commonjs/models/operations/index.js +25 -0
- package/dist/commonjs/models/operations/index.js.map +1 -0
- package/dist/commonjs/models/operations/liveness.d.ts +48 -0
- package/dist/commonjs/models/operations/liveness.d.ts.map +1 -0
- package/dist/commonjs/models/operations/liveness.js +95 -0
- package/dist/commonjs/models/operations/liveness.js.map +1 -0
- package/dist/commonjs/models/operations/ratelimitdeleteoverride.d.ts +48 -0
- package/dist/commonjs/models/operations/ratelimitdeleteoverride.d.ts.map +1 -0
- package/dist/commonjs/models/operations/ratelimitdeleteoverride.js +95 -0
- package/dist/commonjs/models/operations/ratelimitdeleteoverride.js.map +1 -0
- package/dist/commonjs/models/operations/ratelimitgetoverride.d.ts +48 -0
- package/dist/commonjs/models/operations/ratelimitgetoverride.d.ts.map +1 -0
- package/dist/commonjs/models/operations/ratelimitgetoverride.js +95 -0
- package/dist/commonjs/models/operations/ratelimitgetoverride.js.map +1 -0
- package/dist/commonjs/models/operations/ratelimitsetoverride.d.ts +48 -0
- package/dist/commonjs/models/operations/ratelimitsetoverride.d.ts.map +1 -0
- package/dist/commonjs/models/operations/ratelimitsetoverride.js +95 -0
- package/dist/commonjs/models/operations/ratelimitsetoverride.js.map +1 -0
- package/dist/commonjs/models/operations/v1ratelimitlimit.d.ts +48 -0
- package/dist/commonjs/models/operations/v1ratelimitlimit.d.ts.map +1 -0
- package/dist/commonjs/models/operations/v1ratelimitlimit.js +95 -0
- package/dist/commonjs/models/operations/v1ratelimitlimit.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/sdk/index.d.ts +2 -0
- package/dist/commonjs/sdk/index.d.ts.map +1 -0
- package/dist/commonjs/sdk/index.js +21 -0
- package/dist/commonjs/sdk/index.js.map +1 -0
- package/dist/commonjs/sdk/liveness.d.ts +12 -0
- package/dist/commonjs/sdk/liveness.d.ts.map +1 -0
- package/dist/commonjs/sdk/liveness.js +22 -0
- package/dist/commonjs/sdk/liveness.js.map +1 -0
- package/dist/commonjs/sdk/ratelimit.d.ts +13 -0
- package/dist/commonjs/sdk/ratelimit.d.ts.map +1 -0
- package/dist/commonjs/sdk/ratelimit.js +31 -0
- package/dist/commonjs/sdk/ratelimit.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +10 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -0
- package/dist/commonjs/sdk/sdk.js +19 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -0
- package/dist/commonjs/types/async.d.ts +23 -0
- package/dist/commonjs/types/async.d.ts.map +1 -0
- package/dist/commonjs/types/async.js +44 -0
- package/dist/commonjs/types/async.js.map +1 -0
- package/dist/commonjs/types/blobs.d.ts +4 -0
- package/dist/commonjs/types/blobs.d.ts.map +1 -0
- package/dist/commonjs/types/blobs.js +62 -0
- package/dist/commonjs/types/blobs.js.map +1 -0
- package/dist/commonjs/types/constdatetime.d.ts +3 -0
- package/dist/commonjs/types/constdatetime.d.ts.map +1 -0
- package/dist/commonjs/types/constdatetime.js +46 -0
- package/dist/commonjs/types/constdatetime.js.map +1 -0
- package/dist/commonjs/types/enums.d.ts +12 -0
- package/dist/commonjs/types/enums.d.ts.map +1 -0
- package/dist/commonjs/types/enums.js +10 -0
- package/dist/commonjs/types/enums.js.map +1 -0
- package/dist/commonjs/types/fp.d.ts +31 -0
- package/dist/commonjs/types/fp.d.ts.map +1 -0
- package/dist/commonjs/types/fp.js +37 -0
- package/dist/commonjs/types/fp.js.map +1 -0
- package/dist/commonjs/types/index.d.ts +8 -0
- package/dist/commonjs/types/index.d.ts.map +1 -0
- package/dist/commonjs/types/index.js +16 -0
- package/dist/commonjs/types/index.js.map +1 -0
- package/dist/commonjs/types/operations.d.ts +27 -0
- package/dist/commonjs/types/operations.d.ts.map +1 -0
- package/dist/commonjs/types/operations.js +83 -0
- package/dist/commonjs/types/operations.js.map +1 -0
- package/dist/commonjs/types/rfcdate.d.ts +21 -0
- package/dist/commonjs/types/rfcdate.d.ts.map +1 -0
- package/dist/commonjs/types/rfcdate.js +46 -0
- package/dist/commonjs/types/rfcdate.js.map +1 -0
- package/dist/commonjs/types/streams.d.ts +2 -0
- package/dist/commonjs/types/streams.d.ts.map +1 -0
- package/dist/commonjs/types/streams.js +18 -0
- package/dist/commonjs/types/streams.js.map +1 -0
- package/dist/esm/core.d.ts +10 -0
- package/dist/esm/core.d.ts.map +1 -0
- package/dist/esm/core.js +13 -0
- package/dist/esm/core.js.map +1 -0
- package/dist/esm/funcs/livenessCheck.d.ts +17 -0
- package/dist/esm/funcs/livenessCheck.d.ts.map +1 -0
- package/dist/esm/funcs/livenessCheck.js +90 -0
- package/dist/esm/funcs/livenessCheck.js.map +1 -0
- package/dist/esm/funcs/ratelimitDeleteOverride.d.ts +12 -0
- package/dist/esm/funcs/ratelimitDeleteOverride.d.ts.map +1 -0
- package/dist/esm/funcs/ratelimitDeleteOverride.js +101 -0
- package/dist/esm/funcs/ratelimitDeleteOverride.js.map +1 -0
- package/dist/esm/funcs/ratelimitGetOverride.d.ts +12 -0
- package/dist/esm/funcs/ratelimitGetOverride.d.ts.map +1 -0
- package/dist/esm/funcs/ratelimitGetOverride.js +101 -0
- package/dist/esm/funcs/ratelimitGetOverride.js.map +1 -0
- package/dist/esm/funcs/ratelimitLimit.d.ts +15 -0
- package/dist/esm/funcs/ratelimitLimit.d.ts.map +1 -0
- package/dist/esm/funcs/ratelimitLimit.js +104 -0
- package/dist/esm/funcs/ratelimitLimit.js.map +1 -0
- package/dist/esm/funcs/ratelimitSetOverride.d.ts +12 -0
- package/dist/esm/funcs/ratelimitSetOverride.d.ts.map +1 -0
- package/dist/esm/funcs/ratelimitSetOverride.js +101 -0
- package/dist/esm/funcs/ratelimitSetOverride.js.map +1 -0
- package/dist/esm/hooks/hooks.d.ts +24 -0
- package/dist/esm/hooks/hooks.d.ts.map +1 -0
- package/dist/esm/hooks/hooks.js +82 -0
- package/dist/esm/hooks/hooks.js.map +1 -0
- package/dist/esm/hooks/index.d.ts +3 -0
- package/dist/esm/hooks/index.d.ts.map +1 -0
- package/dist/esm/hooks/index.js +6 -0
- package/dist/esm/hooks/index.js.map +1 -0
- package/dist/esm/hooks/registration.d.ts +3 -0
- package/dist/esm/hooks/registration.d.ts.map +1 -0
- package/dist/esm/hooks/registration.js +12 -0
- package/dist/esm/hooks/registration.js.map +1 -0
- package/dist/esm/hooks/types.d.ts +78 -0
- package/dist/esm/hooks/types.d.ts.map +1 -0
- package/dist/esm/hooks/types.js +5 -0
- package/dist/esm/hooks/types.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lib/base64.d.ts +10 -0
- package/dist/esm/lib/base64.d.ts.map +1 -0
- package/dist/esm/lib/base64.js +29 -0
- package/dist/esm/lib/base64.js.map +1 -0
- package/dist/esm/lib/config.d.ts +34 -0
- package/dist/esm/lib/config.d.ts.map +1 -0
- package/dist/esm/lib/config.js +31 -0
- package/dist/esm/lib/config.js.map +1 -0
- package/dist/esm/lib/dlv.d.ts +14 -0
- package/dist/esm/lib/dlv.d.ts.map +1 -0
- package/dist/esm/lib/dlv.js +46 -0
- package/dist/esm/lib/dlv.js.map +1 -0
- package/dist/esm/lib/encodings.d.ts +52 -0
- package/dist/esm/lib/encodings.d.ts.map +1 -0
- package/dist/esm/lib/encodings.js +354 -0
- package/dist/esm/lib/encodings.js.map +1 -0
- package/dist/esm/lib/env.d.ts +15 -0
- package/dist/esm/lib/env.d.ts.map +1 -0
- package/dist/esm/lib/env.js +27 -0
- package/dist/esm/lib/env.js.map +1 -0
- package/dist/esm/lib/files.d.ts +8 -0
- package/dist/esm/lib/files.d.ts.map +1 -0
- package/dist/esm/lib/files.js +33 -0
- package/dist/esm/lib/files.js.map +1 -0
- package/dist/esm/lib/http.d.ts +67 -0
- package/dist/esm/lib/http.d.ts.map +1 -0
- package/dist/esm/lib/http.js +207 -0
- package/dist/esm/lib/http.js.map +1 -0
- package/dist/esm/lib/is-plain-object.d.ts +2 -0
- package/dist/esm/lib/is-plain-object.d.ts.map +1 -0
- package/dist/esm/lib/is-plain-object.js +38 -0
- package/dist/esm/lib/is-plain-object.js.map +1 -0
- package/dist/esm/lib/logger.d.ts +6 -0
- package/dist/esm/lib/logger.d.ts.map +1 -0
- package/dist/esm/lib/logger.js +5 -0
- package/dist/esm/lib/logger.js.map +1 -0
- package/dist/esm/lib/matchers.d.ts +64 -0
- package/dist/esm/lib/matchers.d.ts.map +1 -0
- package/dist/esm/lib/matchers.js +182 -0
- package/dist/esm/lib/matchers.js.map +1 -0
- package/dist/esm/lib/primitives.d.ts +26 -0
- package/dist/esm/lib/primitives.d.ts.map +1 -0
- package/dist/esm/lib/primitives.js +103 -0
- package/dist/esm/lib/primitives.js.map +1 -0
- package/dist/esm/lib/retries.d.ts +38 -0
- package/dist/esm/lib/retries.d.ts.map +1 -0
- package/dist/esm/lib/retries.js +147 -0
- package/dist/esm/lib/retries.js.map +1 -0
- package/dist/esm/lib/schemas.d.ts +19 -0
- package/dist/esm/lib/schemas.d.ts.map +1 -0
- package/dist/esm/lib/schemas.js +57 -0
- package/dist/esm/lib/schemas.js.map +1 -0
- package/dist/esm/lib/sdks.d.ts +60 -0
- package/dist/esm/lib/sdks.d.ts.map +1 -0
- package/dist/esm/lib/sdks.js +270 -0
- package/dist/esm/lib/sdks.js.map +1 -0
- package/dist/esm/lib/security.d.ts +83 -0
- package/dist/esm/lib/security.d.ts.map +1 -0
- package/dist/esm/lib/security.js +137 -0
- package/dist/esm/lib/security.js.map +1 -0
- package/dist/esm/lib/url.d.ts +5 -0
- package/dist/esm/lib/url.d.ts.map +1 -0
- package/dist/esm/lib/url.js +22 -0
- package/dist/esm/lib/url.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +12 -0
- package/dist/esm/models/components/index.d.ts.map +1 -0
- package/dist/esm/models/components/index.js +15 -0
- package/dist/esm/models/components/index.js.map +1 -0
- package/dist/esm/models/components/security.d.ts +29 -0
- package/dist/esm/models/components/security.d.ts.map +1 -0
- package/dist/esm/models/components/security.js +31 -0
- package/dist/esm/models/components/security.js.map +1 -0
- package/dist/esm/models/components/v2livenessresponsebody.d.ts +32 -0
- package/dist/esm/models/components/v2livenessresponsebody.d.ts.map +1 -0
- package/dist/esm/models/components/v2livenessresponsebody.js +31 -0
- package/dist/esm/models/components/v2livenessresponsebody.js.map +1 -0
- package/dist/esm/models/components/v2ratelimitdeleteoverriderequestbody.d.ts +45 -0
- package/dist/esm/models/components/v2ratelimitdeleteoverriderequestbody.d.ts.map +1 -0
- package/dist/esm/models/components/v2ratelimitdeleteoverriderequestbody.js +35 -0
- package/dist/esm/models/components/v2ratelimitdeleteoverriderequestbody.js.map +1 -0
- package/dist/esm/models/components/v2ratelimitdeleteoverrideresponsebody.d.ts +25 -0
- package/dist/esm/models/components/v2ratelimitdeleteoverrideresponsebody.d.ts.map +1 -0
- package/dist/esm/models/components/v2ratelimitdeleteoverrideresponsebody.js +27 -0
- package/dist/esm/models/components/v2ratelimitdeleteoverrideresponsebody.js.map +1 -0
- package/dist/esm/models/components/v2ratelimitgetoverriderequestbody.d.ts +45 -0
- package/dist/esm/models/components/v2ratelimitgetoverriderequestbody.d.ts.map +1 -0
- package/dist/esm/models/components/v2ratelimitgetoverriderequestbody.js +35 -0
- package/dist/esm/models/components/v2ratelimitgetoverriderequestbody.js.map +1 -0
- package/dist/esm/models/components/v2ratelimitgetoverrideresponsebody.d.ts +52 -0
- package/dist/esm/models/components/v2ratelimitgetoverrideresponsebody.d.ts.map +1 -0
- package/dist/esm/models/components/v2ratelimitgetoverrideresponsebody.js +39 -0
- package/dist/esm/models/components/v2ratelimitgetoverrideresponsebody.js.map +1 -0
- package/dist/esm/models/components/v2ratelimitlimitrequestbody.d.ts +52 -0
- package/dist/esm/models/components/v2ratelimitlimitrequestbody.d.ts.map +1 -0
- package/dist/esm/models/components/v2ratelimitlimitrequestbody.js +39 -0
- package/dist/esm/models/components/v2ratelimitlimitrequestbody.js.map +1 -0
- package/dist/esm/models/components/v2ratelimitlimitresponsebody.d.ts +52 -0
- package/dist/esm/models/components/v2ratelimitlimitresponsebody.d.ts.map +1 -0
- package/dist/esm/models/components/v2ratelimitlimitresponsebody.js +39 -0
- package/dist/esm/models/components/v2ratelimitlimitresponsebody.js.map +1 -0
- package/dist/esm/models/components/v2ratelimitsetoverriderequestbody.d.ts +55 -0
- package/dist/esm/models/components/v2ratelimitsetoverriderequestbody.d.ts.map +1 -0
- package/dist/esm/models/components/v2ratelimitsetoverriderequestbody.js +39 -0
- package/dist/esm/models/components/v2ratelimitsetoverriderequestbody.js.map +1 -0
- package/dist/esm/models/components/v2ratelimitsetoverrideresponsebody.d.ts +32 -0
- package/dist/esm/models/components/v2ratelimitsetoverrideresponsebody.d.ts.map +1 -0
- package/dist/esm/models/components/v2ratelimitsetoverrideresponsebody.js +31 -0
- package/dist/esm/models/components/v2ratelimitsetoverrideresponsebody.js.map +1 -0
- package/dist/esm/models/components/validationerror.d.ts +42 -0
- package/dist/esm/models/components/validationerror.d.ts.map +1 -0
- package/dist/esm/models/components/validationerror.js +35 -0
- package/dist/esm/models/components/validationerror.js.map +1 -0
- package/dist/esm/models/errors/apierror.d.ts +8 -0
- package/dist/esm/models/errors/apierror.d.ts.map +1 -0
- package/dist/esm/models/errors/apierror.js +17 -0
- package/dist/esm/models/errors/apierror.js.map +1 -0
- package/dist/esm/models/errors/badrequesterror.d.ts +92 -0
- package/dist/esm/models/errors/badrequesterror.d.ts.map +1 -0
- package/dist/esm/models/errors/badrequesterror.js +60 -0
- package/dist/esm/models/errors/badrequesterror.js.map +1 -0
- package/dist/esm/models/errors/forbiddenerror.d.ts +82 -0
- package/dist/esm/models/errors/forbiddenerror.d.ts.map +1 -0
- package/dist/esm/models/errors/forbiddenerror.js +56 -0
- package/dist/esm/models/errors/forbiddenerror.js.map +1 -0
- package/dist/esm/models/errors/httpclienterrors.d.ts +44 -0
- package/dist/esm/models/errors/httpclienterrors.d.ts.map +1 -0
- package/dist/esm/models/errors/httpclienterrors.js +69 -0
- package/dist/esm/models/errors/httpclienterrors.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +10 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -0
- package/dist/esm/models/errors/index.js +13 -0
- package/dist/esm/models/errors/index.js.map +1 -0
- package/dist/esm/models/errors/internalservererror.d.ts +82 -0
- package/dist/esm/models/errors/internalservererror.d.ts.map +1 -0
- package/dist/esm/models/errors/internalservererror.js +56 -0
- package/dist/esm/models/errors/internalservererror.js.map +1 -0
- package/dist/esm/models/errors/notfounderror.d.ts +82 -0
- package/dist/esm/models/errors/notfounderror.d.ts.map +1 -0
- package/dist/esm/models/errors/notfounderror.js +56 -0
- package/dist/esm/models/errors/notfounderror.js.map +1 -0
- package/dist/esm/models/errors/preconditionfailederror.d.ts +82 -0
- package/dist/esm/models/errors/preconditionfailederror.d.ts.map +1 -0
- package/dist/esm/models/errors/preconditionfailederror.js +56 -0
- package/dist/esm/models/errors/preconditionfailederror.js.map +1 -0
- package/dist/esm/models/errors/sdkvalidationerror.d.ts +20 -0
- package/dist/esm/models/errors/sdkvalidationerror.d.ts.map +1 -0
- package/dist/esm/models/errors/sdkvalidationerror.js +77 -0
- package/dist/esm/models/errors/sdkvalidationerror.js.map +1 -0
- package/dist/esm/models/errors/unauthorizederror.d.ts +82 -0
- package/dist/esm/models/errors/unauthorizederror.d.ts.map +1 -0
- package/dist/esm/models/errors/unauthorizederror.js +56 -0
- package/dist/esm/models/errors/unauthorizederror.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +6 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -0
- package/dist/esm/models/operations/index.js +9 -0
- package/dist/esm/models/operations/index.js.map +1 -0
- package/dist/esm/models/operations/liveness.d.ts +48 -0
- package/dist/esm/models/operations/liveness.d.ts.map +1 -0
- package/dist/esm/models/operations/liveness.js +57 -0
- package/dist/esm/models/operations/liveness.js.map +1 -0
- package/dist/esm/models/operations/ratelimitdeleteoverride.d.ts +48 -0
- package/dist/esm/models/operations/ratelimitdeleteoverride.d.ts.map +1 -0
- package/dist/esm/models/operations/ratelimitdeleteoverride.js +57 -0
- package/dist/esm/models/operations/ratelimitdeleteoverride.js.map +1 -0
- package/dist/esm/models/operations/ratelimitgetoverride.d.ts +48 -0
- package/dist/esm/models/operations/ratelimitgetoverride.d.ts.map +1 -0
- package/dist/esm/models/operations/ratelimitgetoverride.js +57 -0
- package/dist/esm/models/operations/ratelimitgetoverride.js.map +1 -0
- package/dist/esm/models/operations/ratelimitsetoverride.d.ts +48 -0
- package/dist/esm/models/operations/ratelimitsetoverride.d.ts.map +1 -0
- package/dist/esm/models/operations/ratelimitsetoverride.js +57 -0
- package/dist/esm/models/operations/ratelimitsetoverride.js.map +1 -0
- package/dist/esm/models/operations/v1ratelimitlimit.d.ts +48 -0
- package/dist/esm/models/operations/v1ratelimitlimit.d.ts.map +1 -0
- package/dist/esm/models/operations/v1ratelimitlimit.js +57 -0
- package/dist/esm/models/operations/v1ratelimitlimit.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/sdk/index.d.ts +2 -0
- package/dist/esm/sdk/index.d.ts.map +1 -0
- package/dist/esm/sdk/index.js +5 -0
- package/dist/esm/sdk/index.js.map +1 -0
- package/dist/esm/sdk/liveness.d.ts +12 -0
- package/dist/esm/sdk/liveness.d.ts.map +1 -0
- package/dist/esm/sdk/liveness.js +18 -0
- package/dist/esm/sdk/liveness.js.map +1 -0
- package/dist/esm/sdk/ratelimit.d.ts +13 -0
- package/dist/esm/sdk/ratelimit.d.ts.map +1 -0
- package/dist/esm/sdk/ratelimit.js +27 -0
- package/dist/esm/sdk/ratelimit.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +10 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -0
- package/dist/esm/sdk/sdk.js +15 -0
- package/dist/esm/sdk/sdk.js.map +1 -0
- package/dist/esm/types/async.d.ts +23 -0
- package/dist/esm/types/async.d.ts.map +1 -0
- package/dist/esm/types/async.js +40 -0
- package/dist/esm/types/async.js.map +1 -0
- package/dist/esm/types/blobs.d.ts +4 -0
- package/dist/esm/types/blobs.d.ts.map +1 -0
- package/dist/esm/types/blobs.js +25 -0
- package/dist/esm/types/blobs.js.map +1 -0
- package/dist/esm/types/constdatetime.d.ts +3 -0
- package/dist/esm/types/constdatetime.d.ts.map +1 -0
- package/dist/esm/types/constdatetime.js +10 -0
- package/dist/esm/types/constdatetime.js.map +1 -0
- package/dist/esm/types/enums.d.ts +12 -0
- package/dist/esm/types/enums.d.ts.map +1 -0
- package/dist/esm/types/enums.js +7 -0
- package/dist/esm/types/enums.js.map +1 -0
- package/dist/esm/types/fp.d.ts +31 -0
- package/dist/esm/types/fp.d.ts.map +1 -0
- package/dist/esm/types/fp.js +31 -0
- package/dist/esm/types/fp.js.map +1 -0
- package/dist/esm/types/index.d.ts +8 -0
- package/dist/esm/types/index.d.ts.map +1 -0
- package/dist/esm/types/index.js +8 -0
- package/dist/esm/types/index.js.map +1 -0
- package/dist/esm/types/operations.d.ts +27 -0
- package/dist/esm/types/operations.d.ts.map +1 -0
- package/dist/esm/types/operations.js +77 -0
- package/dist/esm/types/operations.js.map +1 -0
- package/dist/esm/types/rfcdate.d.ts +21 -0
- package/dist/esm/types/rfcdate.d.ts.map +1 -0
- package/dist/esm/types/rfcdate.js +42 -0
- package/dist/esm/types/rfcdate.js.map +1 -0
- package/dist/esm/types/streams.d.ts +2 -0
- package/dist/esm/types/streams.d.ts.map +1 -0
- package/dist/esm/types/streams.js +15 -0
- package/dist/esm/types/streams.js.map +1 -0
- package/docs/sdks/liveness/README.md +81 -0
- package/docs/sdks/ratelimit/README.md +339 -0
- package/docs/sdks/unkey/README.md +5 -0
- package/jsr.json +27 -0
- package/package.json +120 -34
- package/src/core.ts +13 -0
- package/src/funcs/livenessCheck.ts +169 -0
- package/src/funcs/ratelimitDeleteOverride.ts +203 -0
- package/src/funcs/ratelimitGetOverride.ts +201 -0
- package/src/funcs/ratelimitLimit.ts +204 -0
- package/src/funcs/ratelimitSetOverride.ts +201 -0
- package/src/hooks/hooks.ts +132 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/registration.ts +14 -0
- package/src/hooks/types.ts +110 -0
- package/src/index.ts +7 -0
- package/src/lib/base64.ts +37 -0
- package/src/lib/config.ts +60 -0
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +483 -0
- package/src/lib/env.ts +41 -0
- package/src/lib/files.ts +40 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +319 -0
- package/src/lib/primitives.ts +150 -0
- package/src/lib/retries.ts +218 -0
- package/src/lib/schemas.ts +91 -0
- package/src/lib/sdks.ts +395 -0
- package/src/lib/security.ts +261 -0
- package/src/lib/url.ts +33 -0
- package/src/models/components/index.ts +15 -0
- package/src/models/components/security.ts +62 -0
- package/src/models/components/v2livenessresponsebody.ts +69 -0
- package/src/models/components/v2ratelimitdeleteoverriderequestbody.ts +91 -0
- package/src/models/components/v2ratelimitdeleteoverrideresponsebody.ts +63 -0
- package/src/models/components/v2ratelimitgetoverriderequestbody.ts +89 -0
- package/src/models/components/v2ratelimitgetoverrideresponsebody.ts +101 -0
- package/src/models/components/v2ratelimitlimitrequestbody.ts +99 -0
- package/src/models/components/v2ratelimitlimitresponsebody.ts +99 -0
- package/src/models/components/v2ratelimitsetoverriderequestbody.ts +103 -0
- package/src/models/components/v2ratelimitsetoverrideresponsebody.ts +73 -0
- package/src/models/components/validationerror.ts +81 -0
- package/src/models/errors/apierror.ts +27 -0
- package/src/models/errors/badrequesterror.ts +148 -0
- package/src/models/errors/forbiddenerror.ts +135 -0
- package/src/models/errors/httpclienterrors.ts +62 -0
- package/src/models/errors/index.ts +13 -0
- package/src/models/errors/internalservererror.ts +135 -0
- package/src/models/errors/notfounderror.ts +135 -0
- package/src/models/errors/preconditionfailederror.ts +135 -0
- package/src/models/errors/sdkvalidationerror.ts +97 -0
- package/src/models/errors/unauthorizederror.ts +135 -0
- package/src/models/operations/index.ts +9 -0
- package/src/models/operations/liveness.ts +112 -0
- package/src/models/operations/ratelimitdeleteoverride.ts +118 -0
- package/src/models/operations/ratelimitgetoverride.ts +116 -0
- package/src/models/operations/ratelimitsetoverride.ts +116 -0
- package/src/models/operations/v1ratelimitlimit.ts +114 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/liveness.ts +25 -0
- package/src/sdk/ratelimit.ts +61 -0
- package/src/sdk/sdk.ts +19 -0
- package/src/types/async.ts +68 -0
- package/src/types/blobs.ts +31 -0
- package/src/types/constdatetime.ts +15 -0
- package/src/types/enums.ts +16 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +11 -0
- package/src/types/operations.ts +105 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/streams.ts +21 -0
- package/tsconfig.json +41 -0
- package/dist/index.d.mts +0 -5436
- package/dist/index.d.ts +0 -5436
- package/dist/index.js +0 -355
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -325
- package/dist/index.mjs.map +0 -1
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export type InternalServerErrorData = {
|
|
8
|
+
/**
|
|
9
|
+
* A unique id for this request. Please always provide this to support.
|
|
10
|
+
*/
|
|
11
|
+
requestId: string;
|
|
12
|
+
/**
|
|
13
|
+
* A human-readable explanation specific to this occurrence of the problem.
|
|
14
|
+
*/
|
|
15
|
+
detail: string;
|
|
16
|
+
/**
|
|
17
|
+
* A URI reference that identifies the specific occurrence of the problem.
|
|
18
|
+
*/
|
|
19
|
+
instance?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP status code
|
|
22
|
+
*/
|
|
23
|
+
status: number;
|
|
24
|
+
/**
|
|
25
|
+
* A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
|
|
26
|
+
*/
|
|
27
|
+
title: string;
|
|
28
|
+
/**
|
|
29
|
+
* A URI reference to human-readable documentation for the error.
|
|
30
|
+
*/
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export class InternalServerError extends Error {
|
|
35
|
+
/**
|
|
36
|
+
* A unique id for this request. Please always provide this to support.
|
|
37
|
+
*/
|
|
38
|
+
requestId: string;
|
|
39
|
+
/**
|
|
40
|
+
* A human-readable explanation specific to this occurrence of the problem.
|
|
41
|
+
*/
|
|
42
|
+
detail: string;
|
|
43
|
+
/**
|
|
44
|
+
* A URI reference that identifies the specific occurrence of the problem.
|
|
45
|
+
*/
|
|
46
|
+
instance?: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* HTTP status code
|
|
49
|
+
*/
|
|
50
|
+
status: number;
|
|
51
|
+
/**
|
|
52
|
+
* A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
|
|
53
|
+
*/
|
|
54
|
+
title: string;
|
|
55
|
+
/**
|
|
56
|
+
* A URI reference to human-readable documentation for the error.
|
|
57
|
+
*/
|
|
58
|
+
type: string;
|
|
59
|
+
|
|
60
|
+
/** The original data that was passed to this error instance. */
|
|
61
|
+
data$: InternalServerErrorData;
|
|
62
|
+
|
|
63
|
+
constructor(err: InternalServerErrorData) {
|
|
64
|
+
const message = "message" in err && typeof err.message === "string"
|
|
65
|
+
? err.message
|
|
66
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
67
|
+
super(message);
|
|
68
|
+
this.data$ = err;
|
|
69
|
+
|
|
70
|
+
this.requestId = err.requestId;
|
|
71
|
+
this.detail = err.detail;
|
|
72
|
+
if (err.instance != null) this.instance = err.instance;
|
|
73
|
+
this.status = err.status;
|
|
74
|
+
this.title = err.title;
|
|
75
|
+
this.type = err.type;
|
|
76
|
+
|
|
77
|
+
this.name = "InternalServerError";
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/** @internal */
|
|
82
|
+
export const InternalServerError$inboundSchema: z.ZodType<
|
|
83
|
+
InternalServerError,
|
|
84
|
+
z.ZodTypeDef,
|
|
85
|
+
unknown
|
|
86
|
+
> = z.object({
|
|
87
|
+
requestId: z.string(),
|
|
88
|
+
detail: z.string(),
|
|
89
|
+
instance: z.string().optional(),
|
|
90
|
+
status: z.number().int(),
|
|
91
|
+
title: z.string(),
|
|
92
|
+
type: z.string(),
|
|
93
|
+
})
|
|
94
|
+
.transform((v) => {
|
|
95
|
+
return new InternalServerError(v);
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export type InternalServerError$Outbound = {
|
|
100
|
+
requestId: string;
|
|
101
|
+
detail: string;
|
|
102
|
+
instance?: string | undefined;
|
|
103
|
+
status: number;
|
|
104
|
+
title: string;
|
|
105
|
+
type: string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/** @internal */
|
|
109
|
+
export const InternalServerError$outboundSchema: z.ZodType<
|
|
110
|
+
InternalServerError$Outbound,
|
|
111
|
+
z.ZodTypeDef,
|
|
112
|
+
InternalServerError
|
|
113
|
+
> = z.instanceof(InternalServerError)
|
|
114
|
+
.transform(v => v.data$)
|
|
115
|
+
.pipe(z.object({
|
|
116
|
+
requestId: z.string(),
|
|
117
|
+
detail: z.string(),
|
|
118
|
+
instance: z.string().optional(),
|
|
119
|
+
status: z.number().int(),
|
|
120
|
+
title: z.string(),
|
|
121
|
+
type: z.string(),
|
|
122
|
+
}));
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
127
|
+
*/
|
|
128
|
+
export namespace InternalServerError$ {
|
|
129
|
+
/** @deprecated use `InternalServerError$inboundSchema` instead. */
|
|
130
|
+
export const inboundSchema = InternalServerError$inboundSchema;
|
|
131
|
+
/** @deprecated use `InternalServerError$outboundSchema` instead. */
|
|
132
|
+
export const outboundSchema = InternalServerError$outboundSchema;
|
|
133
|
+
/** @deprecated use `InternalServerError$Outbound` instead. */
|
|
134
|
+
export type Outbound = InternalServerError$Outbound;
|
|
135
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export type NotFoundErrorData = {
|
|
8
|
+
/**
|
|
9
|
+
* A unique id for this request. Please always provide this to support.
|
|
10
|
+
*/
|
|
11
|
+
requestId: string;
|
|
12
|
+
/**
|
|
13
|
+
* A human-readable explanation specific to this occurrence of the problem.
|
|
14
|
+
*/
|
|
15
|
+
detail: string;
|
|
16
|
+
/**
|
|
17
|
+
* A URI reference that identifies the specific occurrence of the problem.
|
|
18
|
+
*/
|
|
19
|
+
instance?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP status code
|
|
22
|
+
*/
|
|
23
|
+
status: number;
|
|
24
|
+
/**
|
|
25
|
+
* A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
|
|
26
|
+
*/
|
|
27
|
+
title: string;
|
|
28
|
+
/**
|
|
29
|
+
* A URI reference to human-readable documentation for the error.
|
|
30
|
+
*/
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export class NotFoundError extends Error {
|
|
35
|
+
/**
|
|
36
|
+
* A unique id for this request. Please always provide this to support.
|
|
37
|
+
*/
|
|
38
|
+
requestId: string;
|
|
39
|
+
/**
|
|
40
|
+
* A human-readable explanation specific to this occurrence of the problem.
|
|
41
|
+
*/
|
|
42
|
+
detail: string;
|
|
43
|
+
/**
|
|
44
|
+
* A URI reference that identifies the specific occurrence of the problem.
|
|
45
|
+
*/
|
|
46
|
+
instance?: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* HTTP status code
|
|
49
|
+
*/
|
|
50
|
+
status: number;
|
|
51
|
+
/**
|
|
52
|
+
* A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
|
|
53
|
+
*/
|
|
54
|
+
title: string;
|
|
55
|
+
/**
|
|
56
|
+
* A URI reference to human-readable documentation for the error.
|
|
57
|
+
*/
|
|
58
|
+
type: string;
|
|
59
|
+
|
|
60
|
+
/** The original data that was passed to this error instance. */
|
|
61
|
+
data$: NotFoundErrorData;
|
|
62
|
+
|
|
63
|
+
constructor(err: NotFoundErrorData) {
|
|
64
|
+
const message = "message" in err && typeof err.message === "string"
|
|
65
|
+
? err.message
|
|
66
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
67
|
+
super(message);
|
|
68
|
+
this.data$ = err;
|
|
69
|
+
|
|
70
|
+
this.requestId = err.requestId;
|
|
71
|
+
this.detail = err.detail;
|
|
72
|
+
if (err.instance != null) this.instance = err.instance;
|
|
73
|
+
this.status = err.status;
|
|
74
|
+
this.title = err.title;
|
|
75
|
+
this.type = err.type;
|
|
76
|
+
|
|
77
|
+
this.name = "NotFoundError";
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/** @internal */
|
|
82
|
+
export const NotFoundError$inboundSchema: z.ZodType<
|
|
83
|
+
NotFoundError,
|
|
84
|
+
z.ZodTypeDef,
|
|
85
|
+
unknown
|
|
86
|
+
> = z.object({
|
|
87
|
+
requestId: z.string(),
|
|
88
|
+
detail: z.string(),
|
|
89
|
+
instance: z.string().optional(),
|
|
90
|
+
status: z.number().int(),
|
|
91
|
+
title: z.string(),
|
|
92
|
+
type: z.string(),
|
|
93
|
+
})
|
|
94
|
+
.transform((v) => {
|
|
95
|
+
return new NotFoundError(v);
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export type NotFoundError$Outbound = {
|
|
100
|
+
requestId: string;
|
|
101
|
+
detail: string;
|
|
102
|
+
instance?: string | undefined;
|
|
103
|
+
status: number;
|
|
104
|
+
title: string;
|
|
105
|
+
type: string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/** @internal */
|
|
109
|
+
export const NotFoundError$outboundSchema: z.ZodType<
|
|
110
|
+
NotFoundError$Outbound,
|
|
111
|
+
z.ZodTypeDef,
|
|
112
|
+
NotFoundError
|
|
113
|
+
> = z.instanceof(NotFoundError)
|
|
114
|
+
.transform(v => v.data$)
|
|
115
|
+
.pipe(z.object({
|
|
116
|
+
requestId: z.string(),
|
|
117
|
+
detail: z.string(),
|
|
118
|
+
instance: z.string().optional(),
|
|
119
|
+
status: z.number().int(),
|
|
120
|
+
title: z.string(),
|
|
121
|
+
type: z.string(),
|
|
122
|
+
}));
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
127
|
+
*/
|
|
128
|
+
export namespace NotFoundError$ {
|
|
129
|
+
/** @deprecated use `NotFoundError$inboundSchema` instead. */
|
|
130
|
+
export const inboundSchema = NotFoundError$inboundSchema;
|
|
131
|
+
/** @deprecated use `NotFoundError$outboundSchema` instead. */
|
|
132
|
+
export const outboundSchema = NotFoundError$outboundSchema;
|
|
133
|
+
/** @deprecated use `NotFoundError$Outbound` instead. */
|
|
134
|
+
export type Outbound = NotFoundError$Outbound;
|
|
135
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export type PreconditionFailedErrorData = {
|
|
8
|
+
/**
|
|
9
|
+
* A unique id for this request. Please always provide this to support.
|
|
10
|
+
*/
|
|
11
|
+
requestId: string;
|
|
12
|
+
/**
|
|
13
|
+
* A human-readable explanation specific to this occurrence of the problem.
|
|
14
|
+
*/
|
|
15
|
+
detail: string;
|
|
16
|
+
/**
|
|
17
|
+
* A URI reference that identifies the specific occurrence of the problem.
|
|
18
|
+
*/
|
|
19
|
+
instance?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP status code
|
|
22
|
+
*/
|
|
23
|
+
status: number;
|
|
24
|
+
/**
|
|
25
|
+
* A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
|
|
26
|
+
*/
|
|
27
|
+
title: string;
|
|
28
|
+
/**
|
|
29
|
+
* A URI reference to human-readable documentation for the error.
|
|
30
|
+
*/
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export class PreconditionFailedError extends Error {
|
|
35
|
+
/**
|
|
36
|
+
* A unique id for this request. Please always provide this to support.
|
|
37
|
+
*/
|
|
38
|
+
requestId: string;
|
|
39
|
+
/**
|
|
40
|
+
* A human-readable explanation specific to this occurrence of the problem.
|
|
41
|
+
*/
|
|
42
|
+
detail: string;
|
|
43
|
+
/**
|
|
44
|
+
* A URI reference that identifies the specific occurrence of the problem.
|
|
45
|
+
*/
|
|
46
|
+
instance?: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* HTTP status code
|
|
49
|
+
*/
|
|
50
|
+
status: number;
|
|
51
|
+
/**
|
|
52
|
+
* A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
|
|
53
|
+
*/
|
|
54
|
+
title: string;
|
|
55
|
+
/**
|
|
56
|
+
* A URI reference to human-readable documentation for the error.
|
|
57
|
+
*/
|
|
58
|
+
type: string;
|
|
59
|
+
|
|
60
|
+
/** The original data that was passed to this error instance. */
|
|
61
|
+
data$: PreconditionFailedErrorData;
|
|
62
|
+
|
|
63
|
+
constructor(err: PreconditionFailedErrorData) {
|
|
64
|
+
const message = "message" in err && typeof err.message === "string"
|
|
65
|
+
? err.message
|
|
66
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
67
|
+
super(message);
|
|
68
|
+
this.data$ = err;
|
|
69
|
+
|
|
70
|
+
this.requestId = err.requestId;
|
|
71
|
+
this.detail = err.detail;
|
|
72
|
+
if (err.instance != null) this.instance = err.instance;
|
|
73
|
+
this.status = err.status;
|
|
74
|
+
this.title = err.title;
|
|
75
|
+
this.type = err.type;
|
|
76
|
+
|
|
77
|
+
this.name = "PreconditionFailedError";
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/** @internal */
|
|
82
|
+
export const PreconditionFailedError$inboundSchema: z.ZodType<
|
|
83
|
+
PreconditionFailedError,
|
|
84
|
+
z.ZodTypeDef,
|
|
85
|
+
unknown
|
|
86
|
+
> = z.object({
|
|
87
|
+
requestId: z.string(),
|
|
88
|
+
detail: z.string(),
|
|
89
|
+
instance: z.string().optional(),
|
|
90
|
+
status: z.number().int(),
|
|
91
|
+
title: z.string(),
|
|
92
|
+
type: z.string(),
|
|
93
|
+
})
|
|
94
|
+
.transform((v) => {
|
|
95
|
+
return new PreconditionFailedError(v);
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export type PreconditionFailedError$Outbound = {
|
|
100
|
+
requestId: string;
|
|
101
|
+
detail: string;
|
|
102
|
+
instance?: string | undefined;
|
|
103
|
+
status: number;
|
|
104
|
+
title: string;
|
|
105
|
+
type: string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/** @internal */
|
|
109
|
+
export const PreconditionFailedError$outboundSchema: z.ZodType<
|
|
110
|
+
PreconditionFailedError$Outbound,
|
|
111
|
+
z.ZodTypeDef,
|
|
112
|
+
PreconditionFailedError
|
|
113
|
+
> = z.instanceof(PreconditionFailedError)
|
|
114
|
+
.transform(v => v.data$)
|
|
115
|
+
.pipe(z.object({
|
|
116
|
+
requestId: z.string(),
|
|
117
|
+
detail: z.string(),
|
|
118
|
+
instance: z.string().optional(),
|
|
119
|
+
status: z.number().int(),
|
|
120
|
+
title: z.string(),
|
|
121
|
+
type: z.string(),
|
|
122
|
+
}));
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
127
|
+
*/
|
|
128
|
+
export namespace PreconditionFailedError$ {
|
|
129
|
+
/** @deprecated use `PreconditionFailedError$inboundSchema` instead. */
|
|
130
|
+
export const inboundSchema = PreconditionFailedError$inboundSchema;
|
|
131
|
+
/** @deprecated use `PreconditionFailedError$outboundSchema` instead. */
|
|
132
|
+
export const outboundSchema = PreconditionFailedError$outboundSchema;
|
|
133
|
+
/** @deprecated use `PreconditionFailedError$Outbound` instead. */
|
|
134
|
+
export type Outbound = PreconditionFailedError$Outbound;
|
|
135
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export class SDKValidationError extends Error {
|
|
8
|
+
/**
|
|
9
|
+
* The raw value that failed validation.
|
|
10
|
+
*/
|
|
11
|
+
public readonly rawValue: unknown;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The raw message that failed validation.
|
|
15
|
+
*/
|
|
16
|
+
public readonly rawMessage: unknown;
|
|
17
|
+
|
|
18
|
+
constructor(message: string, cause: unknown, rawValue: unknown) {
|
|
19
|
+
super(`${message}: ${cause}`);
|
|
20
|
+
this.name = "SDKValidationError";
|
|
21
|
+
this.cause = cause;
|
|
22
|
+
this.rawValue = rawValue;
|
|
23
|
+
this.rawMessage = message;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Return a pretty-formatted error message if the underlying validation error
|
|
28
|
+
* is a ZodError or some other recognized error type, otherwise return the
|
|
29
|
+
* default error message.
|
|
30
|
+
*/
|
|
31
|
+
public pretty(): string {
|
|
32
|
+
if (this.cause instanceof z.ZodError) {
|
|
33
|
+
return `${this.rawMessage}\n${formatZodError(this.cause)}`;
|
|
34
|
+
} else {
|
|
35
|
+
return this.toString();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function formatZodError(err: z.ZodError, level = 0): string {
|
|
41
|
+
let pre = " ".repeat(level);
|
|
42
|
+
pre = level > 0 ? `│${pre}` : pre;
|
|
43
|
+
pre += " ".repeat(level);
|
|
44
|
+
|
|
45
|
+
let message = "";
|
|
46
|
+
const append = (str: string) => (message += `\n${pre}${str}`);
|
|
47
|
+
|
|
48
|
+
const len = err.issues.length;
|
|
49
|
+
const headline = len === 1 ? `${len} issue found` : `${len} issues found`;
|
|
50
|
+
|
|
51
|
+
if (len) {
|
|
52
|
+
append(`┌ ${headline}:`);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
for (const issue of err.issues) {
|
|
56
|
+
let path = issue.path.join(".");
|
|
57
|
+
path = path ? `<root>.${path}` : "<root>";
|
|
58
|
+
append(`│ • [${path}]: ${issue.message} (${issue.code})`);
|
|
59
|
+
switch (issue.code) {
|
|
60
|
+
case "invalid_literal":
|
|
61
|
+
case "invalid_type": {
|
|
62
|
+
append(`│ Want: ${issue.expected}`);
|
|
63
|
+
append(`│ Got: ${issue.received}`);
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
case "unrecognized_keys": {
|
|
67
|
+
append(`│ Keys: ${issue.keys.join(", ")}`);
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
case "invalid_enum_value": {
|
|
71
|
+
append(`│ Allowed: ${issue.options.join(", ")}`);
|
|
72
|
+
append(`│ Got: ${issue.received}`);
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
case "invalid_union_discriminator": {
|
|
76
|
+
append(`│ Allowed: ${issue.options.join(", ")}`);
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
case "invalid_union": {
|
|
80
|
+
const len = issue.unionErrors.length;
|
|
81
|
+
append(
|
|
82
|
+
`│ ✖︎ Attemped to deserialize into one of ${len} union members:`,
|
|
83
|
+
);
|
|
84
|
+
issue.unionErrors.forEach((err, i) => {
|
|
85
|
+
append(`│ ✖︎ Member ${i + 1} of ${len}`);
|
|
86
|
+
append(`${formatZodError(err, level + 1)}`);
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (err.issues.length) {
|
|
93
|
+
append(`└─*`);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return message.slice(1);
|
|
97
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
|
|
7
|
+
export type UnauthorizedErrorData = {
|
|
8
|
+
/**
|
|
9
|
+
* A unique id for this request. Please always provide this to support.
|
|
10
|
+
*/
|
|
11
|
+
requestId: string;
|
|
12
|
+
/**
|
|
13
|
+
* A human-readable explanation specific to this occurrence of the problem.
|
|
14
|
+
*/
|
|
15
|
+
detail: string;
|
|
16
|
+
/**
|
|
17
|
+
* A URI reference that identifies the specific occurrence of the problem.
|
|
18
|
+
*/
|
|
19
|
+
instance?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP status code
|
|
22
|
+
*/
|
|
23
|
+
status: number;
|
|
24
|
+
/**
|
|
25
|
+
* A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
|
|
26
|
+
*/
|
|
27
|
+
title: string;
|
|
28
|
+
/**
|
|
29
|
+
* A URI reference to human-readable documentation for the error.
|
|
30
|
+
*/
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export class UnauthorizedError extends Error {
|
|
35
|
+
/**
|
|
36
|
+
* A unique id for this request. Please always provide this to support.
|
|
37
|
+
*/
|
|
38
|
+
requestId: string;
|
|
39
|
+
/**
|
|
40
|
+
* A human-readable explanation specific to this occurrence of the problem.
|
|
41
|
+
*/
|
|
42
|
+
detail: string;
|
|
43
|
+
/**
|
|
44
|
+
* A URI reference that identifies the specific occurrence of the problem.
|
|
45
|
+
*/
|
|
46
|
+
instance?: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* HTTP status code
|
|
49
|
+
*/
|
|
50
|
+
status: number;
|
|
51
|
+
/**
|
|
52
|
+
* A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
|
|
53
|
+
*/
|
|
54
|
+
title: string;
|
|
55
|
+
/**
|
|
56
|
+
* A URI reference to human-readable documentation for the error.
|
|
57
|
+
*/
|
|
58
|
+
type: string;
|
|
59
|
+
|
|
60
|
+
/** The original data that was passed to this error instance. */
|
|
61
|
+
data$: UnauthorizedErrorData;
|
|
62
|
+
|
|
63
|
+
constructor(err: UnauthorizedErrorData) {
|
|
64
|
+
const message = "message" in err && typeof err.message === "string"
|
|
65
|
+
? err.message
|
|
66
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
67
|
+
super(message);
|
|
68
|
+
this.data$ = err;
|
|
69
|
+
|
|
70
|
+
this.requestId = err.requestId;
|
|
71
|
+
this.detail = err.detail;
|
|
72
|
+
if (err.instance != null) this.instance = err.instance;
|
|
73
|
+
this.status = err.status;
|
|
74
|
+
this.title = err.title;
|
|
75
|
+
this.type = err.type;
|
|
76
|
+
|
|
77
|
+
this.name = "UnauthorizedError";
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/** @internal */
|
|
82
|
+
export const UnauthorizedError$inboundSchema: z.ZodType<
|
|
83
|
+
UnauthorizedError,
|
|
84
|
+
z.ZodTypeDef,
|
|
85
|
+
unknown
|
|
86
|
+
> = z.object({
|
|
87
|
+
requestId: z.string(),
|
|
88
|
+
detail: z.string(),
|
|
89
|
+
instance: z.string().optional(),
|
|
90
|
+
status: z.number().int(),
|
|
91
|
+
title: z.string(),
|
|
92
|
+
type: z.string(),
|
|
93
|
+
})
|
|
94
|
+
.transform((v) => {
|
|
95
|
+
return new UnauthorizedError(v);
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export type UnauthorizedError$Outbound = {
|
|
100
|
+
requestId: string;
|
|
101
|
+
detail: string;
|
|
102
|
+
instance?: string | undefined;
|
|
103
|
+
status: number;
|
|
104
|
+
title: string;
|
|
105
|
+
type: string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/** @internal */
|
|
109
|
+
export const UnauthorizedError$outboundSchema: z.ZodType<
|
|
110
|
+
UnauthorizedError$Outbound,
|
|
111
|
+
z.ZodTypeDef,
|
|
112
|
+
UnauthorizedError
|
|
113
|
+
> = z.instanceof(UnauthorizedError)
|
|
114
|
+
.transform(v => v.data$)
|
|
115
|
+
.pipe(z.object({
|
|
116
|
+
requestId: z.string(),
|
|
117
|
+
detail: z.string(),
|
|
118
|
+
instance: z.string().optional(),
|
|
119
|
+
status: z.number().int(),
|
|
120
|
+
title: z.string(),
|
|
121
|
+
type: z.string(),
|
|
122
|
+
}));
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
127
|
+
*/
|
|
128
|
+
export namespace UnauthorizedError$ {
|
|
129
|
+
/** @deprecated use `UnauthorizedError$inboundSchema` instead. */
|
|
130
|
+
export const inboundSchema = UnauthorizedError$inboundSchema;
|
|
131
|
+
/** @deprecated use `UnauthorizedError$outboundSchema` instead. */
|
|
132
|
+
export const outboundSchema = UnauthorizedError$outboundSchema;
|
|
133
|
+
/** @deprecated use `UnauthorizedError$Outbound` instead. */
|
|
134
|
+
export type Outbound = UnauthorizedError$Outbound;
|
|
135
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export * from "./liveness.js";
|
|
6
|
+
export * from "./ratelimitdeleteoverride.js";
|
|
7
|
+
export * from "./ratelimitgetoverride.js";
|
|
8
|
+
export * from "./ratelimitsetoverride.js";
|
|
9
|
+
export * from "./v1ratelimitlimit.js";
|