@quickshops/sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +88 -0
- package/README.md +486 -0
- package/RUNTIMES.md +48 -0
- package/esm/core.d.ts +10 -0
- package/esm/core.d.ts.map +1 -0
- package/esm/core.js +13 -0
- package/esm/core.js.map +1 -0
- package/esm/funcs/cart-cart-add-line.d.ts +15 -0
- package/esm/funcs/cart-cart-add-line.d.ts.map +1 -0
- package/esm/funcs/cart-cart-add-line.js +87 -0
- package/esm/funcs/cart-cart-add-line.js.map +1 -0
- package/esm/funcs/cart-cart-clear.d.ts +15 -0
- package/esm/funcs/cart-cart-clear.d.ts.map +1 -0
- package/esm/funcs/cart-cart-clear.js +86 -0
- package/esm/funcs/cart-cart-clear.js.map +1 -0
- package/esm/funcs/cart-cart-create.d.ts +15 -0
- package/esm/funcs/cart-cart-create.d.ts.map +1 -0
- package/esm/funcs/cart-cart-create.js +70 -0
- package/esm/funcs/cart-cart-create.js.map +1 -0
- package/esm/funcs/cart-cart-get.d.ts +15 -0
- package/esm/funcs/cart-cart-get.d.ts.map +1 -0
- package/esm/funcs/cart-cart-get.js +86 -0
- package/esm/funcs/cart-cart-get.js.map +1 -0
- package/esm/funcs/cart-cart-remove-line.d.ts +15 -0
- package/esm/funcs/cart-cart-remove-line.d.ts.map +1 -0
- package/esm/funcs/cart-cart-remove-line.js +90 -0
- package/esm/funcs/cart-cart-remove-line.js.map +1 -0
- package/esm/funcs/cart-cart-update-line.d.ts +15 -0
- package/esm/funcs/cart-cart-update-line.d.ts.map +1 -0
- package/esm/funcs/cart-cart-update-line.js +91 -0
- package/esm/funcs/cart-cart-update-line.js.map +1 -0
- package/esm/funcs/checkout-checkout-create-session.d.ts +15 -0
- package/esm/funcs/checkout-checkout-create-session.d.ts.map +1 -0
- package/esm/funcs/checkout-checkout-create-session.js +81 -0
- package/esm/funcs/checkout-checkout-create-session.js.map +1 -0
- package/esm/funcs/health-health-check.d.ts +15 -0
- package/esm/funcs/health-health-check.d.ts.map +1 -0
- package/esm/funcs/health-health-check.js +70 -0
- package/esm/funcs/health-health-check.js.map +1 -0
- package/esm/funcs/products-products-get-all.d.ts +15 -0
- package/esm/funcs/products-products-get-all.d.ts.map +1 -0
- package/esm/funcs/products-products-get-all.js +70 -0
- package/esm/funcs/products-products-get-all.js.map +1 -0
- package/esm/funcs/products-products-get-by-id.d.ts +15 -0
- package/esm/funcs/products-products-get-by-id.d.ts.map +1 -0
- package/esm/funcs/products-products-get-by-id.js +86 -0
- package/esm/funcs/products-products-get-by-id.js.map +1 -0
- package/esm/funcs/store-store-get.d.ts +15 -0
- package/esm/funcs/store-store-get.d.ts.map +1 -0
- package/esm/funcs/store-store-get.js +70 -0
- package/esm/funcs/store-store-get.js.map +1 -0
- package/esm/funcs/subscription-subscription-create-portal-session.d.ts +15 -0
- package/esm/funcs/subscription-subscription-create-portal-session.d.ts.map +1 -0
- package/esm/funcs/subscription-subscription-create-portal-session.js +81 -0
- package/esm/funcs/subscription-subscription-create-portal-session.js.map +1 -0
- package/esm/hooks/hooks.d.ts +25 -0
- package/esm/hooks/hooks.d.ts.map +1 -0
- package/esm/hooks/hooks.js +80 -0
- package/esm/hooks/hooks.js.map +1 -0
- package/esm/hooks/index.d.ts +3 -0
- package/esm/hooks/index.d.ts.map +1 -0
- package/esm/hooks/index.js +6 -0
- package/esm/hooks/index.js.map +1 -0
- package/esm/hooks/types.d.ts +77 -0
- package/esm/hooks/types.d.ts.map +1 -0
- package/esm/hooks/types.js +5 -0
- package/esm/hooks/types.js.map +1 -0
- package/esm/index.d.ts +6 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +8 -0
- package/esm/index.js.map +1 -0
- package/esm/lib/base64.d.ts +10 -0
- package/esm/lib/base64.d.ts.map +1 -0
- package/esm/lib/base64.js +31 -0
- package/esm/lib/base64.js.map +1 -0
- package/esm/lib/config.d.ts +30 -0
- package/esm/lib/config.d.ts.map +1 -0
- package/esm/lib/config.js +21 -0
- package/esm/lib/config.js.map +1 -0
- package/esm/lib/encodings.d.ts +54 -0
- package/esm/lib/encodings.d.ts.map +1 -0
- package/esm/lib/encodings.js +391 -0
- package/esm/lib/encodings.js.map +1 -0
- package/esm/lib/env.d.ts +15 -0
- package/esm/lib/env.d.ts.map +1 -0
- package/esm/lib/env.js +44 -0
- package/esm/lib/env.js.map +1 -0
- package/esm/lib/files.d.ts +26 -0
- package/esm/lib/files.d.ts.map +1 -0
- package/esm/lib/files.js +91 -0
- package/esm/lib/files.js.map +1 -0
- package/esm/lib/http.d.ts +67 -0
- package/esm/lib/http.d.ts.map +1 -0
- package/esm/lib/http.js +209 -0
- package/esm/lib/http.js.map +1 -0
- package/esm/lib/logger.d.ts +6 -0
- package/esm/lib/logger.d.ts.map +1 -0
- package/esm/lib/logger.js +5 -0
- package/esm/lib/logger.js.map +1 -0
- package/esm/lib/matchers.d.ts +59 -0
- package/esm/lib/matchers.d.ts.map +1 -0
- package/esm/lib/matchers.js +202 -0
- package/esm/lib/matchers.js.map +1 -0
- package/esm/lib/primitives.d.ts +27 -0
- package/esm/lib/primitives.d.ts.map +1 -0
- package/esm/lib/primitives.js +120 -0
- package/esm/lib/primitives.js.map +1 -0
- package/esm/lib/retries.d.ts +38 -0
- package/esm/lib/retries.d.ts.map +1 -0
- package/esm/lib/retries.js +150 -0
- package/esm/lib/retries.js.map +1 -0
- package/esm/lib/schemas.d.ts +21 -0
- package/esm/lib/schemas.d.ts.map +1 -0
- package/esm/lib/schemas.js +57 -0
- package/esm/lib/schemas.js.map +1 -0
- package/esm/lib/sdks.d.ts +63 -0
- package/esm/lib/sdks.d.ts.map +1 -0
- package/esm/lib/sdks.js +294 -0
- package/esm/lib/sdks.js.map +1 -0
- package/esm/lib/security.d.ts +83 -0
- package/esm/lib/security.d.ts.map +1 -0
- package/esm/lib/security.js +149 -0
- package/esm/lib/security.js.map +1 -0
- package/esm/lib/url.d.ts +5 -0
- package/esm/lib/url.d.ts.map +1 -0
- package/esm/lib/url.js +24 -0
- package/esm/lib/url.js.map +1 -0
- package/esm/models/errors/cart-add-line.d.ts +141 -0
- package/esm/models/errors/cart-add-line.d.ts.map +1 -0
- package/esm/models/errors/cart-add-line.js +205 -0
- package/esm/models/errors/cart-add-line.js.map +1 -0
- package/esm/models/errors/cart-clear.d.ts +118 -0
- package/esm/models/errors/cart-clear.d.ts.map +1 -0
- package/esm/models/errors/cart-clear.js +172 -0
- package/esm/models/errors/cart-clear.js.map +1 -0
- package/esm/models/errors/cart-create.d.ts +118 -0
- package/esm/models/errors/cart-create.d.ts.map +1 -0
- package/esm/models/errors/cart-create.js +172 -0
- package/esm/models/errors/cart-create.js.map +1 -0
- package/esm/models/errors/cart-get.d.ts +95 -0
- package/esm/models/errors/cart-get.d.ts.map +1 -0
- package/esm/models/errors/cart-get.js +139 -0
- package/esm/models/errors/cart-get.js.map +1 -0
- package/esm/models/errors/cart-remove-line.d.ts +141 -0
- package/esm/models/errors/cart-remove-line.d.ts.map +1 -0
- package/esm/models/errors/cart-remove-line.js +205 -0
- package/esm/models/errors/cart-remove-line.js.map +1 -0
- package/esm/models/errors/cart-update-line.d.ts +141 -0
- package/esm/models/errors/cart-update-line.d.ts.map +1 -0
- package/esm/models/errors/cart-update-line.js +205 -0
- package/esm/models/errors/cart-update-line.js.map +1 -0
- package/esm/models/errors/checkout-create-session.d.ts +118 -0
- package/esm/models/errors/checkout-create-session.d.ts.map +1 -0
- package/esm/models/errors/checkout-create-session.js +172 -0
- package/esm/models/errors/checkout-create-session.js.map +1 -0
- package/esm/models/errors/health-check.d.ts +72 -0
- package/esm/models/errors/health-check.d.ts.map +1 -0
- package/esm/models/errors/health-check.js +106 -0
- package/esm/models/errors/health-check.js.map +1 -0
- package/esm/models/errors/http-client-errors.d.ts +44 -0
- package/esm/models/errors/http-client-errors.d.ts.map +1 -0
- package/esm/models/errors/http-client-errors.js +56 -0
- package/esm/models/errors/http-client-errors.js.map +1 -0
- package/esm/models/errors/index.d.ts +18 -0
- package/esm/models/errors/index.d.ts.map +1 -0
- package/esm/models/errors/index.js +21 -0
- package/esm/models/errors/index.js.map +1 -0
- package/esm/models/errors/products-get-all.d.ts +72 -0
- package/esm/models/errors/products-get-all.d.ts.map +1 -0
- package/esm/models/errors/products-get-all.js +106 -0
- package/esm/models/errors/products-get-all.js.map +1 -0
- package/esm/models/errors/products-get-by-id.d.ts +95 -0
- package/esm/models/errors/products-get-by-id.d.ts.map +1 -0
- package/esm/models/errors/products-get-by-id.js +139 -0
- package/esm/models/errors/products-get-by-id.js.map +1 -0
- package/esm/models/errors/quickshops-default-error.d.ts +10 -0
- package/esm/models/errors/quickshops-default-error.d.ts.map +1 -0
- package/esm/models/errors/quickshops-default-error.js +30 -0
- package/esm/models/errors/quickshops-default-error.js.map +1 -0
- package/esm/models/errors/quickshops-error.d.ts +19 -0
- package/esm/models/errors/quickshops-error.d.ts.map +1 -0
- package/esm/models/errors/quickshops-error.js +26 -0
- package/esm/models/errors/quickshops-error.js.map +1 -0
- package/esm/models/errors/response-validation-error.d.ts +26 -0
- package/esm/models/errors/response-validation-error.d.ts.map +1 -0
- package/esm/models/errors/response-validation-error.js +37 -0
- package/esm/models/errors/response-validation-error.js.map +1 -0
- package/esm/models/errors/sdk-validation-error.d.ts +21 -0
- package/esm/models/errors/sdk-validation-error.d.ts.map +1 -0
- package/esm/models/errors/sdk-validation-error.js +52 -0
- package/esm/models/errors/sdk-validation-error.js.map +1 -0
- package/esm/models/errors/store-get.d.ts +95 -0
- package/esm/models/errors/store-get.d.ts.map +1 -0
- package/esm/models/errors/store-get.js +139 -0
- package/esm/models/errors/store-get.js.map +1 -0
- package/esm/models/errors/subscription-create-portal-session.d.ts +118 -0
- package/esm/models/errors/subscription-create-portal-session.d.ts.map +1 -0
- package/esm/models/errors/subscription-create-portal-session.js +175 -0
- package/esm/models/errors/subscription-create-portal-session.js.map +1 -0
- package/esm/models/index.d.ts +2 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +5 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/operations/cart-add-line.d.ts +61 -0
- package/esm/models/operations/cart-add-line.d.ts.map +1 -0
- package/esm/models/operations/cart-add-line.js +57 -0
- package/esm/models/operations/cart-add-line.js.map +1 -0
- package/esm/models/operations/cart-clear.d.ts +47 -0
- package/esm/models/operations/cart-clear.d.ts.map +1 -0
- package/esm/models/operations/cart-clear.js +48 -0
- package/esm/models/operations/cart-clear.js.map +1 -0
- package/esm/models/operations/cart-create.d.ts +37 -0
- package/esm/models/operations/cart-create.d.ts.map +1 -0
- package/esm/models/operations/cart-create.js +41 -0
- package/esm/models/operations/cart-create.js.map +1 -0
- package/esm/models/operations/cart-get.d.ts +47 -0
- package/esm/models/operations/cart-get.d.ts.map +1 -0
- package/esm/models/operations/cart-get.js +50 -0
- package/esm/models/operations/cart-get.js.map +1 -0
- package/esm/models/operations/cart-remove-line.d.ts +49 -0
- package/esm/models/operations/cart-remove-line.d.ts.map +1 -0
- package/esm/models/operations/cart-remove-line.js +49 -0
- package/esm/models/operations/cart-remove-line.js.map +1 -0
- package/esm/models/operations/cart-update-line.d.ts +61 -0
- package/esm/models/operations/cart-update-line.d.ts.map +1 -0
- package/esm/models/operations/cart-update-line.js +57 -0
- package/esm/models/operations/cart-update-line.js.map +1 -0
- package/esm/models/operations/checkout-create-session.d.ts +29 -0
- package/esm/models/operations/checkout-create-session.d.ts.map +1 -0
- package/esm/models/operations/checkout-create-session.js +28 -0
- package/esm/models/operations/checkout-create-session.js.map +1 -0
- package/esm/models/operations/health-check.d.ts +13 -0
- package/esm/models/operations/health-check.d.ts.map +1 -0
- package/esm/models/operations/health-check.js +14 -0
- package/esm/models/operations/health-check.js.map +1 -0
- package/esm/models/operations/index.d.ts +13 -0
- package/esm/models/operations/index.d.ts.map +1 -0
- package/esm/models/operations/index.js +16 -0
- package/esm/models/operations/index.js.map +1 -0
- package/esm/models/operations/products-get-all.d.ts +45 -0
- package/esm/models/operations/products-get-all.d.ts.map +1 -0
- package/esm/models/operations/products-get-all.js +50 -0
- package/esm/models/operations/products-get-all.js.map +1 -0
- package/esm/models/operations/products-get-by-id.d.ts +55 -0
- package/esm/models/operations/products-get-by-id.d.ts.map +1 -0
- package/esm/models/operations/products-get-by-id.js +57 -0
- package/esm/models/operations/products-get-by-id.js.map +1 -0
- package/esm/models/operations/store-get.d.ts +31 -0
- package/esm/models/operations/store-get.d.ts.map +1 -0
- package/esm/models/operations/store-get.js +39 -0
- package/esm/models/operations/store-get.js.map +1 -0
- package/esm/models/operations/subscription-create-portal-session.d.ts +29 -0
- package/esm/models/operations/subscription-create-portal-session.d.ts.map +1 -0
- package/esm/models/operations/subscription-create-portal-session.js +28 -0
- package/esm/models/operations/subscription-create-portal-session.js.map +1 -0
- package/esm/models/security.d.ts +12 -0
- package/esm/models/security.d.ts.map +1 -0
- package/esm/models/security.js +17 -0
- package/esm/models/security.js.map +1 -0
- package/esm/sdk/cart.d.ts +29 -0
- package/esm/sdk/cart.d.ts.map +1 -0
- package/esm/sdk/cart.js +50 -0
- package/esm/sdk/cart.js.map +1 -0
- package/esm/sdk/checkout.d.ts +9 -0
- package/esm/sdk/checkout.d.ts.map +1 -0
- package/esm/sdk/checkout.js +15 -0
- package/esm/sdk/checkout.js.map +1 -0
- package/esm/sdk/health.d.ts +9 -0
- package/esm/sdk/health.d.ts.map +1 -0
- package/esm/sdk/health.js +15 -0
- package/esm/sdk/health.js.map +1 -0
- package/esm/sdk/index.d.ts +2 -0
- package/esm/sdk/index.d.ts.map +1 -0
- package/esm/sdk/index.js +5 -0
- package/esm/sdk/index.js.map +1 -0
- package/esm/sdk/products.d.ts +13 -0
- package/esm/sdk/products.d.ts.map +1 -0
- package/esm/sdk/products.js +22 -0
- package/esm/sdk/products.js.map +1 -0
- package/esm/sdk/sdk.d.ts +22 -0
- package/esm/sdk/sdk.d.ts.map +1 -0
- package/esm/sdk/sdk.js +37 -0
- package/esm/sdk/sdk.js.map +1 -0
- package/esm/sdk/store.d.ts +9 -0
- package/esm/sdk/store.d.ts.map +1 -0
- package/esm/sdk/store.js +15 -0
- package/esm/sdk/store.js.map +1 -0
- package/esm/sdk/subscription.d.ts +9 -0
- package/esm/sdk/subscription.d.ts.map +1 -0
- package/esm/sdk/subscription.js +15 -0
- package/esm/sdk/subscription.js.map +1 -0
- package/esm/types/async.d.ts +23 -0
- package/esm/types/async.d.ts.map +1 -0
- package/esm/types/async.js +28 -0
- package/esm/types/async.js.map +1 -0
- package/esm/types/blobs.d.ts +4 -0
- package/esm/types/blobs.d.ts.map +1 -0
- package/esm/types/blobs.js +25 -0
- package/esm/types/blobs.js.map +1 -0
- package/esm/types/const-date-time.d.ts +3 -0
- package/esm/types/const-date-time.d.ts.map +1 -0
- package/esm/types/const-date-time.js +10 -0
- package/esm/types/const-date-time.js.map +1 -0
- package/esm/types/default-to-zero-value.d.ts +12 -0
- package/esm/types/default-to-zero-value.d.ts.map +1 -0
- package/esm/types/default-to-zero-value.js +31 -0
- package/esm/types/default-to-zero-value.js.map +1 -0
- package/esm/types/enums.d.ts +9 -0
- package/esm/types/enums.d.ts.map +1 -0
- package/esm/types/enums.js +27 -0
- package/esm/types/enums.js.map +1 -0
- package/esm/types/fp.d.ts +31 -0
- package/esm/types/fp.d.ts.map +1 -0
- package/esm/types/fp.js +31 -0
- package/esm/types/fp.js.map +1 -0
- package/esm/types/index.d.ts +10 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +10 -0
- package/esm/types/index.js.map +1 -0
- package/esm/types/operations.d.ts +27 -0
- package/esm/types/operations.d.ts.map +1 -0
- package/esm/types/operations.js +77 -0
- package/esm/types/operations.js.map +1 -0
- package/esm/types/primitives.d.ts +9 -0
- package/esm/types/primitives.d.ts.map +1 -0
- package/esm/types/primitives.js +109 -0
- package/esm/types/primitives.js.map +1 -0
- package/esm/types/rfcdate.d.ts +21 -0
- package/esm/types/rfcdate.d.ts.map +1 -0
- package/esm/types/rfcdate.js +43 -0
- package/esm/types/rfcdate.js.map +1 -0
- package/esm/types/smart-union.d.ts +7 -0
- package/esm/types/smart-union.d.ts.map +1 -0
- package/esm/types/smart-union.js +117 -0
- package/esm/types/smart-union.js.map +1 -0
- package/esm/types/streams.d.ts +2 -0
- package/esm/types/streams.d.ts.map +1 -0
- package/esm/types/streams.js +15 -0
- package/esm/types/streams.js.map +1 -0
- package/esm/types/unrecognized.d.ts +16 -0
- package/esm/types/unrecognized.d.ts.map +1 -0
- package/esm/types/unrecognized.js +31 -0
- package/esm/types/unrecognized.js.map +1 -0
- package/examples/healthHealthCheck.example.ts +27 -0
- package/examples/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/examples/node_modules/@types/node/assert.d.ts +1062 -0
- package/examples/node_modules/@types/node/async_hooks.d.ts +605 -0
- package/examples/node_modules/@types/node/buffer.buffer.d.ts +471 -0
- package/examples/node_modules/@types/node/buffer.d.ts +1936 -0
- package/examples/node_modules/@types/node/child_process.d.ts +1475 -0
- package/examples/node_modules/@types/node/cluster.d.ts +577 -0
- package/examples/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/examples/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/examples/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/examples/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/examples/node_modules/@types/node/console.d.ts +452 -0
- package/examples/node_modules/@types/node/constants.d.ts +21 -0
- package/examples/node_modules/@types/node/crypto.d.ts +4590 -0
- package/examples/node_modules/@types/node/dgram.d.ts +597 -0
- package/examples/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/examples/node_modules/@types/node/dns/promises.d.ts +479 -0
- package/examples/node_modules/@types/node/dns.d.ts +871 -0
- package/examples/node_modules/@types/node/domain.d.ts +170 -0
- package/examples/node_modules/@types/node/events.d.ts +977 -0
- package/examples/node_modules/@types/node/fs/promises.d.ts +1270 -0
- package/examples/node_modules/@types/node/fs.d.ts +4375 -0
- package/examples/node_modules/@types/node/globals.d.ts +172 -0
- package/examples/node_modules/@types/node/globals.typedarray.d.ts +38 -0
- package/examples/node_modules/@types/node/http.d.ts +2049 -0
- package/examples/node_modules/@types/node/http2.d.ts +2712 -0
- package/examples/node_modules/@types/node/https.d.ts +578 -0
- package/examples/node_modules/@types/node/index.d.ts +93 -0
- package/examples/node_modules/@types/node/inspector.generated.d.ts +3966 -0
- package/examples/node_modules/@types/node/module.d.ts +539 -0
- package/examples/node_modules/@types/node/net.d.ts +1031 -0
- package/examples/node_modules/@types/node/os.d.ts +506 -0
- package/examples/node_modules/@types/node/path.d.ts +200 -0
- package/examples/node_modules/@types/node/perf_hooks.d.ts +961 -0
- package/examples/node_modules/@types/node/process.d.ts +1961 -0
- package/examples/node_modules/@types/node/punycode.d.ts +117 -0
- package/examples/node_modules/@types/node/querystring.d.ts +152 -0
- package/examples/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/examples/node_modules/@types/node/readline.d.ts +589 -0
- package/examples/node_modules/@types/node/repl.d.ts +430 -0
- package/examples/node_modules/@types/node/sea.d.ts +153 -0
- package/examples/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/examples/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/examples/node_modules/@types/node/stream/web.d.ts +533 -0
- package/examples/node_modules/@types/node/stream.d.ts +1698 -0
- package/examples/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/examples/node_modules/@types/node/test.d.ts +1787 -0
- package/examples/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/examples/node_modules/@types/node/timers.d.ts +286 -0
- package/examples/node_modules/@types/node/tls.d.ts +1259 -0
- package/examples/node_modules/@types/node/trace_events.d.ts +197 -0
- package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
- package/examples/node_modules/@types/node/ts5.6/index.d.ts +93 -0
- package/examples/node_modules/@types/node/tty.d.ts +208 -0
- package/examples/node_modules/@types/node/url.d.ts +964 -0
- package/examples/node_modules/@types/node/util.d.ts +2331 -0
- package/examples/node_modules/@types/node/v8.d.ts +809 -0
- package/examples/node_modules/@types/node/vm.d.ts +1001 -0
- package/examples/node_modules/@types/node/wasi.d.ts +181 -0
- package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/examples/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/examples/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/examples/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
- package/examples/node_modules/@types/node/worker_threads.d.ts +715 -0
- package/examples/node_modules/@types/node/zlib.d.ts +598 -0
- package/examples/node_modules/dotenv/config.d.ts +1 -0
- package/examples/node_modules/dotenv/config.js +9 -0
- package/examples/node_modules/dotenv/lib/cli-options.js +17 -0
- package/examples/node_modules/dotenv/lib/env-options.js +28 -0
- package/examples/node_modules/dotenv/lib/main.d.ts +162 -0
- package/examples/node_modules/dotenv/lib/main.js +386 -0
- package/examples/node_modules/esbuild/install.js +300 -0
- package/examples/node_modules/esbuild/lib/main.d.ts +716 -0
- package/examples/node_modules/esbuild/lib/main.js +2532 -0
- package/examples/node_modules/fsevents/fsevents.d.ts +46 -0
- package/examples/node_modules/fsevents/fsevents.js +83 -0
- package/examples/node_modules/tsx/dist/cjs/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cjs/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cli.mjs +55 -0
- package/examples/node_modules/tsx/dist/client-D_mPDF5S.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/get-pipe-path-_tAJyU_v.mjs +1 -0
- package/examples/node_modules/tsx/dist/index-XurvG3JN.mjs +14 -0
- package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +1 -0
- package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +3 -0
- package/examples/node_modules/tsx/dist/loader.mjs +1 -0
- package/examples/node_modules/tsx/dist/node-features-B9BBLzwu.mjs +1 -0
- package/examples/node_modules/tsx/dist/package-Bj47PlGH.mjs +1 -0
- package/examples/node_modules/tsx/dist/patch-repl.mjs +1 -0
- package/examples/node_modules/tsx/dist/preflight.mjs +1 -0
- package/examples/node_modules/tsx/dist/register-BnTWPeIB.mjs +10 -0
- package/examples/node_modules/tsx/dist/register-CqMfTiWi.mjs +2 -0
- package/examples/node_modules/tsx/dist/repl.mjs +3 -0
- package/examples/node_modules/tsx/dist/require-DzmC1hVr.mjs +1 -0
- package/examples/node_modules/tsx/dist/suppress-warnings.mjs +1 -0
- package/examples/node_modules/tsx/dist/temporary-directory-BDDVQOvU.mjs +1 -0
- package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +5 -0
- package/examples/node_modules/undici-types/agent.d.ts +31 -0
- package/examples/node_modules/undici-types/api.d.ts +43 -0
- package/examples/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/examples/node_modules/undici-types/cache.d.ts +36 -0
- package/examples/node_modules/undici-types/client.d.ts +108 -0
- package/examples/node_modules/undici-types/connector.d.ts +34 -0
- package/examples/node_modules/undici-types/content-type.d.ts +21 -0
- package/examples/node_modules/undici-types/cookies.d.ts +28 -0
- package/examples/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/examples/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/examples/node_modules/undici-types/errors.d.ts +149 -0
- package/examples/node_modules/undici-types/eventsource.d.ts +61 -0
- package/examples/node_modules/undici-types/fetch.d.ts +209 -0
- package/examples/node_modules/undici-types/file.d.ts +39 -0
- package/examples/node_modules/undici-types/filereader.d.ts +54 -0
- package/examples/node_modules/undici-types/formdata.d.ts +108 -0
- package/examples/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/examples/node_modules/undici-types/global-origin.d.ts +7 -0
- package/examples/node_modules/undici-types/handlers.d.ts +15 -0
- package/examples/node_modules/undici-types/header.d.ts +4 -0
- package/examples/node_modules/undici-types/index.d.ts +71 -0
- package/examples/node_modules/undici-types/interceptors.d.ts +17 -0
- package/examples/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/examples/node_modules/undici-types/mock-client.d.ts +25 -0
- package/examples/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/examples/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/examples/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/examples/node_modules/undici-types/patch.d.ts +33 -0
- package/examples/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/examples/node_modules/undici-types/pool.d.ts +39 -0
- package/examples/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/examples/node_modules/undici-types/readable.d.ts +65 -0
- package/examples/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/examples/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/examples/node_modules/undici-types/util.d.ts +18 -0
- package/examples/node_modules/undici-types/webidl.d.ts +228 -0
- package/examples/node_modules/undici-types/websocket.d.ts +150 -0
- package/jsr.json +27 -0
- package/package.json +63 -0
- package/src/core.ts +13 -0
- package/src/funcs/cart-cart-add-line.ts +195 -0
- package/src/funcs/cart-cart-clear.ts +190 -0
- package/src/funcs/cart-cart-create.ts +166 -0
- package/src/funcs/cart-cart-get.ts +186 -0
- package/src/funcs/cart-cart-remove-line.ts +198 -0
- package/src/funcs/cart-cart-update-line.ts +199 -0
- package/src/funcs/checkout-checkout-create-session.ts +189 -0
- package/src/funcs/health-health-check.ts +158 -0
- package/src/funcs/products-products-get-all.ts +158 -0
- package/src/funcs/products-products-get-by-id.ts +186 -0
- package/src/funcs/store-store-get.ts +162 -0
- package/src/funcs/subscription-subscription-create-portal-session.ts +207 -0
- package/src/hooks/hooks.ts +129 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/types.ts +108 -0
- package/src/index.ts +9 -0
- package/src/lib/base64.ts +39 -0
- package/src/lib/config.ts +49 -0
- package/src/lib/encodings.ts +529 -0
- package/src/lib/env.ts +61 -0
- package/src/lib/files.ts +104 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +353 -0
- package/src/lib/primitives.ts +166 -0
- package/src/lib/retries.ts +218 -0
- package/src/lib/schemas.ts +94 -0
- package/src/lib/sdks.ts +442 -0
- package/src/lib/security.ts +275 -0
- package/src/lib/url.ts +35 -0
- package/src/models/errors/cart-add-line.ts +337 -0
- package/src/models/errors/cart-clear.ts +282 -0
- package/src/models/errors/cart-create.ts +282 -0
- package/src/models/errors/cart-get.ts +227 -0
- package/src/models/errors/cart-remove-line.ts +337 -0
- package/src/models/errors/cart-update-line.ts +337 -0
- package/src/models/errors/checkout-create-session.ts +278 -0
- package/src/models/errors/health-check.ts +172 -0
- package/src/models/errors/http-client-errors.ts +62 -0
- package/src/models/errors/index.ts +21 -0
- package/src/models/errors/products-get-all.ts +172 -0
- package/src/models/errors/products-get-by-id.ts +227 -0
- package/src/models/errors/quickshops-default-error.ts +40 -0
- package/src/models/errors/quickshops-error.ts +35 -0
- package/src/models/errors/response-validation-error.ts +50 -0
- package/src/models/errors/sdk-validation-error.ts +54 -0
- package/src/models/errors/store-get.ts +227 -0
- package/src/models/errors/subscription-create-portal-session.ts +286 -0
- package/src/models/index.ts +5 -0
- package/src/models/operations/cart-add-line.ts +168 -0
- package/src/models/operations/cart-clear.ts +137 -0
- package/src/models/operations/cart-create.ts +112 -0
- package/src/models/operations/cart-get.ts +129 -0
- package/src/models/operations/cart-remove-line.ts +140 -0
- package/src/models/operations/cart-update-line.ts +168 -0
- package/src/models/operations/checkout-create-session.ts +83 -0
- package/src/models/operations/health-check.ts +34 -0
- package/src/models/operations/index.ts +16 -0
- package/src/models/operations/products-get-all.ts +116 -0
- package/src/models/operations/products-get-by-id.ts +141 -0
- package/src/models/operations/store-get.ts +96 -0
- package/src/models/operations/subscription-create-portal-session.ts +90 -0
- package/src/models/security.ts +34 -0
- package/src/sdk/cart.ts +97 -0
- package/src/sdk/checkout.ts +24 -0
- package/src/sdk/health.ts +22 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/products.ts +37 -0
- package/src/sdk/sdk.ts +43 -0
- package/src/sdk/store.ts +22 -0
- package/src/sdk/subscription.ts +24 -0
- package/src/types/async.ts +69 -0
- package/src/types/blobs.ts +33 -0
- package/src/types/const-date-time.ts +15 -0
- package/src/types/default-to-zero-value.ts +33 -0
- package/src/types/enums.ts +45 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +13 -0
- package/src/types/operations.ts +105 -0
- package/src/types/primitives.ts +140 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/smart-union.ts +153 -0
- package/src/types/streams.ts +21 -0
- package/src/types/unrecognized.ts +35 -0
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import * as types from "../../types/primitives.js";
|
|
6
|
+
import { QuickshopsError } from "./quickshops-error.js";
|
|
7
|
+
/**
|
|
8
|
+
* Response for status 429
|
|
9
|
+
*/
|
|
10
|
+
export class CartUpdateLineTooManyRequestsError extends QuickshopsError {
|
|
11
|
+
error;
|
|
12
|
+
code;
|
|
13
|
+
/** The original data that was passed to this error instance. */
|
|
14
|
+
data$;
|
|
15
|
+
constructor(err, httpMeta) {
|
|
16
|
+
const message = "message" in err && typeof err.message === "string"
|
|
17
|
+
? err.message
|
|
18
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
19
|
+
super(message, httpMeta);
|
|
20
|
+
this.data$ = err;
|
|
21
|
+
this.error = err.error;
|
|
22
|
+
this.code = err.code;
|
|
23
|
+
this.name = "CartUpdateLineTooManyRequestsError";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Response for status 409
|
|
28
|
+
*/
|
|
29
|
+
export class CartUpdateLineConflictError extends QuickshopsError {
|
|
30
|
+
error;
|
|
31
|
+
code;
|
|
32
|
+
/** The original data that was passed to this error instance. */
|
|
33
|
+
data$;
|
|
34
|
+
constructor(err, httpMeta) {
|
|
35
|
+
const message = "message" in err && typeof err.message === "string"
|
|
36
|
+
? err.message
|
|
37
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
38
|
+
super(message, httpMeta);
|
|
39
|
+
this.data$ = err;
|
|
40
|
+
this.error = err.error;
|
|
41
|
+
this.code = err.code;
|
|
42
|
+
this.name = "CartUpdateLineConflictError";
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Response for status 404
|
|
47
|
+
*/
|
|
48
|
+
export class CartUpdateLineNotFoundError extends QuickshopsError {
|
|
49
|
+
error;
|
|
50
|
+
code;
|
|
51
|
+
/** The original data that was passed to this error instance. */
|
|
52
|
+
data$;
|
|
53
|
+
constructor(err, httpMeta) {
|
|
54
|
+
const message = "message" in err && typeof err.message === "string"
|
|
55
|
+
? err.message
|
|
56
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
57
|
+
super(message, httpMeta);
|
|
58
|
+
this.data$ = err;
|
|
59
|
+
this.error = err.error;
|
|
60
|
+
this.code = err.code;
|
|
61
|
+
this.name = "CartUpdateLineNotFoundError";
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Response for status 403
|
|
66
|
+
*/
|
|
67
|
+
export class CartUpdateLineForbiddenError extends QuickshopsError {
|
|
68
|
+
error;
|
|
69
|
+
code;
|
|
70
|
+
/** The original data that was passed to this error instance. */
|
|
71
|
+
data$;
|
|
72
|
+
constructor(err, httpMeta) {
|
|
73
|
+
const message = "message" in err && typeof err.message === "string"
|
|
74
|
+
? err.message
|
|
75
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
76
|
+
super(message, httpMeta);
|
|
77
|
+
this.data$ = err;
|
|
78
|
+
this.error = err.error;
|
|
79
|
+
this.code = err.code;
|
|
80
|
+
this.name = "CartUpdateLineForbiddenError";
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Response for status 401
|
|
85
|
+
*/
|
|
86
|
+
export class CartUpdateLineUnauthorizedError extends QuickshopsError {
|
|
87
|
+
error;
|
|
88
|
+
code;
|
|
89
|
+
/** The original data that was passed to this error instance. */
|
|
90
|
+
data$;
|
|
91
|
+
constructor(err, httpMeta) {
|
|
92
|
+
const message = "message" in err && typeof err.message === "string"
|
|
93
|
+
? err.message
|
|
94
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
95
|
+
super(message, httpMeta);
|
|
96
|
+
this.data$ = err;
|
|
97
|
+
this.error = err.error;
|
|
98
|
+
this.code = err.code;
|
|
99
|
+
this.name = "CartUpdateLineUnauthorizedError";
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Response for status 400
|
|
104
|
+
*/
|
|
105
|
+
export class CartUpdateLineBadRequestError extends QuickshopsError {
|
|
106
|
+
error;
|
|
107
|
+
code;
|
|
108
|
+
/** The original data that was passed to this error instance. */
|
|
109
|
+
data$;
|
|
110
|
+
constructor(err, httpMeta) {
|
|
111
|
+
const message = "message" in err && typeof err.message === "string"
|
|
112
|
+
? err.message
|
|
113
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
114
|
+
super(message, httpMeta);
|
|
115
|
+
this.data$ = err;
|
|
116
|
+
this.error = err.error;
|
|
117
|
+
this.code = err.code;
|
|
118
|
+
this.name = "CartUpdateLineBadRequestError";
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
/** @internal */
|
|
122
|
+
export const CartUpdateLineTooManyRequestsError$inboundSchema = z.pipe(z.object({
|
|
123
|
+
error: types.string(),
|
|
124
|
+
code: types.string(),
|
|
125
|
+
request$: z.custom(x => x instanceof Request),
|
|
126
|
+
response$: z.custom(x => x instanceof Response),
|
|
127
|
+
body$: z.string(),
|
|
128
|
+
}), z.transform((v) => {
|
|
129
|
+
return new CartUpdateLineTooManyRequestsError(v, {
|
|
130
|
+
request: v.request$,
|
|
131
|
+
response: v.response$,
|
|
132
|
+
body: v.body$,
|
|
133
|
+
});
|
|
134
|
+
}));
|
|
135
|
+
/** @internal */
|
|
136
|
+
export const CartUpdateLineConflictError$inboundSchema = z.pipe(z.object({
|
|
137
|
+
error: types.string(),
|
|
138
|
+
code: types.string(),
|
|
139
|
+
request$: z.custom(x => x instanceof Request),
|
|
140
|
+
response$: z.custom(x => x instanceof Response),
|
|
141
|
+
body$: z.string(),
|
|
142
|
+
}), z.transform((v) => {
|
|
143
|
+
return new CartUpdateLineConflictError(v, {
|
|
144
|
+
request: v.request$,
|
|
145
|
+
response: v.response$,
|
|
146
|
+
body: v.body$,
|
|
147
|
+
});
|
|
148
|
+
}));
|
|
149
|
+
/** @internal */
|
|
150
|
+
export const CartUpdateLineNotFoundError$inboundSchema = z.pipe(z.object({
|
|
151
|
+
error: types.string(),
|
|
152
|
+
code: types.string(),
|
|
153
|
+
request$: z.custom(x => x instanceof Request),
|
|
154
|
+
response$: z.custom(x => x instanceof Response),
|
|
155
|
+
body$: z.string(),
|
|
156
|
+
}), z.transform((v) => {
|
|
157
|
+
return new CartUpdateLineNotFoundError(v, {
|
|
158
|
+
request: v.request$,
|
|
159
|
+
response: v.response$,
|
|
160
|
+
body: v.body$,
|
|
161
|
+
});
|
|
162
|
+
}));
|
|
163
|
+
/** @internal */
|
|
164
|
+
export const CartUpdateLineForbiddenError$inboundSchema = z.pipe(z.object({
|
|
165
|
+
error: types.string(),
|
|
166
|
+
code: types.string(),
|
|
167
|
+
request$: z.custom(x => x instanceof Request),
|
|
168
|
+
response$: z.custom(x => x instanceof Response),
|
|
169
|
+
body$: z.string(),
|
|
170
|
+
}), z.transform((v) => {
|
|
171
|
+
return new CartUpdateLineForbiddenError(v, {
|
|
172
|
+
request: v.request$,
|
|
173
|
+
response: v.response$,
|
|
174
|
+
body: v.body$,
|
|
175
|
+
});
|
|
176
|
+
}));
|
|
177
|
+
/** @internal */
|
|
178
|
+
export const CartUpdateLineUnauthorizedError$inboundSchema = z.pipe(z.object({
|
|
179
|
+
error: types.string(),
|
|
180
|
+
code: types.string(),
|
|
181
|
+
request$: z.custom(x => x instanceof Request),
|
|
182
|
+
response$: z.custom(x => x instanceof Response),
|
|
183
|
+
body$: z.string(),
|
|
184
|
+
}), z.transform((v) => {
|
|
185
|
+
return new CartUpdateLineUnauthorizedError(v, {
|
|
186
|
+
request: v.request$,
|
|
187
|
+
response: v.response$,
|
|
188
|
+
body: v.body$,
|
|
189
|
+
});
|
|
190
|
+
}));
|
|
191
|
+
/** @internal */
|
|
192
|
+
export const CartUpdateLineBadRequestError$inboundSchema = z.pipe(z.object({
|
|
193
|
+
error: types.string(),
|
|
194
|
+
code: types.string(),
|
|
195
|
+
request$: z.custom(x => x instanceof Request),
|
|
196
|
+
response$: z.custom(x => x instanceof Response),
|
|
197
|
+
body$: z.string(),
|
|
198
|
+
}), z.transform((v) => {
|
|
199
|
+
return new CartUpdateLineBadRequestError(v, {
|
|
200
|
+
request: v.request$,
|
|
201
|
+
response: v.response$,
|
|
202
|
+
body: v.body$,
|
|
203
|
+
});
|
|
204
|
+
}));
|
|
205
|
+
//# sourceMappingURL=cart-update-line.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-update-line.js","sourceRoot":"","sources":["../../../src/models/errors/cart-update-line.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAUxD;;GAEG;AACH,MAAM,OAAO,kCAAmC,SAAQ,eAAe;IACrE,KAAK,CAAS;IACd,IAAI,CAAS;IAEb,gEAAgE;IAChE,KAAK,CAAyC;IAE9C,YACE,GAA2C,EAC3C,QAAgE,EACh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AC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAI,6BAA6B,CAAC,CAAC,EAAE;QAC1C,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { QuickshopsError } from "./quickshops-error.js";
|
|
3
|
+
/**
|
|
4
|
+
* Response for status 429
|
|
5
|
+
*/
|
|
6
|
+
export type CheckoutCreateSessionTooManyRequestsErrorData = {
|
|
7
|
+
error: string;
|
|
8
|
+
code: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Response for status 429
|
|
12
|
+
*/
|
|
13
|
+
export declare class CheckoutCreateSessionTooManyRequestsError extends QuickshopsError {
|
|
14
|
+
error: string;
|
|
15
|
+
code: string;
|
|
16
|
+
/** The original data that was passed to this error instance. */
|
|
17
|
+
data$: CheckoutCreateSessionTooManyRequestsErrorData;
|
|
18
|
+
constructor(err: CheckoutCreateSessionTooManyRequestsErrorData, httpMeta: {
|
|
19
|
+
response: Response;
|
|
20
|
+
request: Request;
|
|
21
|
+
body: string;
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Response for status 409
|
|
26
|
+
*/
|
|
27
|
+
export type CheckoutCreateSessionConflictErrorData = {
|
|
28
|
+
error: string;
|
|
29
|
+
code: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Response for status 409
|
|
33
|
+
*/
|
|
34
|
+
export declare class CheckoutCreateSessionConflictError extends QuickshopsError {
|
|
35
|
+
error: string;
|
|
36
|
+
code: string;
|
|
37
|
+
/** The original data that was passed to this error instance. */
|
|
38
|
+
data$: CheckoutCreateSessionConflictErrorData;
|
|
39
|
+
constructor(err: CheckoutCreateSessionConflictErrorData, httpMeta: {
|
|
40
|
+
response: Response;
|
|
41
|
+
request: Request;
|
|
42
|
+
body: string;
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Response for status 403
|
|
47
|
+
*/
|
|
48
|
+
export type CheckoutCreateSessionForbiddenErrorData = {
|
|
49
|
+
error: string;
|
|
50
|
+
code: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Response for status 403
|
|
54
|
+
*/
|
|
55
|
+
export declare class CheckoutCreateSessionForbiddenError extends QuickshopsError {
|
|
56
|
+
error: string;
|
|
57
|
+
code: string;
|
|
58
|
+
/** The original data that was passed to this error instance. */
|
|
59
|
+
data$: CheckoutCreateSessionForbiddenErrorData;
|
|
60
|
+
constructor(err: CheckoutCreateSessionForbiddenErrorData, httpMeta: {
|
|
61
|
+
response: Response;
|
|
62
|
+
request: Request;
|
|
63
|
+
body: string;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Response for status 401
|
|
68
|
+
*/
|
|
69
|
+
export type CheckoutCreateSessionUnauthorizedErrorData = {
|
|
70
|
+
error: string;
|
|
71
|
+
code: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Response for status 401
|
|
75
|
+
*/
|
|
76
|
+
export declare class CheckoutCreateSessionUnauthorizedError extends QuickshopsError {
|
|
77
|
+
error: string;
|
|
78
|
+
code: string;
|
|
79
|
+
/** The original data that was passed to this error instance. */
|
|
80
|
+
data$: CheckoutCreateSessionUnauthorizedErrorData;
|
|
81
|
+
constructor(err: CheckoutCreateSessionUnauthorizedErrorData, httpMeta: {
|
|
82
|
+
response: Response;
|
|
83
|
+
request: Request;
|
|
84
|
+
body: string;
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Response for status 400
|
|
89
|
+
*/
|
|
90
|
+
export type CheckoutCreateSessionBadRequestErrorData = {
|
|
91
|
+
error: string;
|
|
92
|
+
code: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Response for status 400
|
|
96
|
+
*/
|
|
97
|
+
export declare class CheckoutCreateSessionBadRequestError extends QuickshopsError {
|
|
98
|
+
error: string;
|
|
99
|
+
code: string;
|
|
100
|
+
/** The original data that was passed to this error instance. */
|
|
101
|
+
data$: CheckoutCreateSessionBadRequestErrorData;
|
|
102
|
+
constructor(err: CheckoutCreateSessionBadRequestErrorData, httpMeta: {
|
|
103
|
+
response: Response;
|
|
104
|
+
request: Request;
|
|
105
|
+
body: string;
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
/** @internal */
|
|
109
|
+
export declare const CheckoutCreateSessionTooManyRequestsError$inboundSchema: z.ZodMiniType<CheckoutCreateSessionTooManyRequestsError, unknown>;
|
|
110
|
+
/** @internal */
|
|
111
|
+
export declare const CheckoutCreateSessionConflictError$inboundSchema: z.ZodMiniType<CheckoutCreateSessionConflictError, unknown>;
|
|
112
|
+
/** @internal */
|
|
113
|
+
export declare const CheckoutCreateSessionForbiddenError$inboundSchema: z.ZodMiniType<CheckoutCreateSessionForbiddenError, unknown>;
|
|
114
|
+
/** @internal */
|
|
115
|
+
export declare const CheckoutCreateSessionUnauthorizedError$inboundSchema: z.ZodMiniType<CheckoutCreateSessionUnauthorizedError, unknown>;
|
|
116
|
+
/** @internal */
|
|
117
|
+
export declare const CheckoutCreateSessionBadRequestError$inboundSchema: z.ZodMiniType<CheckoutCreateSessionBadRequestError, unknown>;
|
|
118
|
+
//# sourceMappingURL=checkout-create-session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkout-create-session.d.ts","sourceRoot":"","sources":["../../../src/models/errors/checkout-create-session.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D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AC,CAAC,WAAW,CAAC,sCAAsC,EAAE,OAAO,CAe5D,CAAC;AAEJ,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,WAAW,CAC5E,oCAAoC,EACpC,OAAO,CAgBR,CAAC"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import * as types from "../../types/primitives.js";
|
|
6
|
+
import { QuickshopsError } from "./quickshops-error.js";
|
|
7
|
+
/**
|
|
8
|
+
* Response for status 429
|
|
9
|
+
*/
|
|
10
|
+
export class CheckoutCreateSessionTooManyRequestsError extends QuickshopsError {
|
|
11
|
+
error;
|
|
12
|
+
code;
|
|
13
|
+
/** The original data that was passed to this error instance. */
|
|
14
|
+
data$;
|
|
15
|
+
constructor(err, httpMeta) {
|
|
16
|
+
const message = "message" in err && typeof err.message === "string"
|
|
17
|
+
? err.message
|
|
18
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
19
|
+
super(message, httpMeta);
|
|
20
|
+
this.data$ = err;
|
|
21
|
+
this.error = err.error;
|
|
22
|
+
this.code = err.code;
|
|
23
|
+
this.name = "CheckoutCreateSessionTooManyRequestsError";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Response for status 409
|
|
28
|
+
*/
|
|
29
|
+
export class CheckoutCreateSessionConflictError extends QuickshopsError {
|
|
30
|
+
error;
|
|
31
|
+
code;
|
|
32
|
+
/** The original data that was passed to this error instance. */
|
|
33
|
+
data$;
|
|
34
|
+
constructor(err, httpMeta) {
|
|
35
|
+
const message = "message" in err && typeof err.message === "string"
|
|
36
|
+
? err.message
|
|
37
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
38
|
+
super(message, httpMeta);
|
|
39
|
+
this.data$ = err;
|
|
40
|
+
this.error = err.error;
|
|
41
|
+
this.code = err.code;
|
|
42
|
+
this.name = "CheckoutCreateSessionConflictError";
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Response for status 403
|
|
47
|
+
*/
|
|
48
|
+
export class CheckoutCreateSessionForbiddenError extends QuickshopsError {
|
|
49
|
+
error;
|
|
50
|
+
code;
|
|
51
|
+
/** The original data that was passed to this error instance. */
|
|
52
|
+
data$;
|
|
53
|
+
constructor(err, httpMeta) {
|
|
54
|
+
const message = "message" in err && typeof err.message === "string"
|
|
55
|
+
? err.message
|
|
56
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
57
|
+
super(message, httpMeta);
|
|
58
|
+
this.data$ = err;
|
|
59
|
+
this.error = err.error;
|
|
60
|
+
this.code = err.code;
|
|
61
|
+
this.name = "CheckoutCreateSessionForbiddenError";
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Response for status 401
|
|
66
|
+
*/
|
|
67
|
+
export class CheckoutCreateSessionUnauthorizedError extends QuickshopsError {
|
|
68
|
+
error;
|
|
69
|
+
code;
|
|
70
|
+
/** The original data that was passed to this error instance. */
|
|
71
|
+
data$;
|
|
72
|
+
constructor(err, httpMeta) {
|
|
73
|
+
const message = "message" in err && typeof err.message === "string"
|
|
74
|
+
? err.message
|
|
75
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
76
|
+
super(message, httpMeta);
|
|
77
|
+
this.data$ = err;
|
|
78
|
+
this.error = err.error;
|
|
79
|
+
this.code = err.code;
|
|
80
|
+
this.name = "CheckoutCreateSessionUnauthorizedError";
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Response for status 400
|
|
85
|
+
*/
|
|
86
|
+
export class CheckoutCreateSessionBadRequestError extends QuickshopsError {
|
|
87
|
+
error;
|
|
88
|
+
code;
|
|
89
|
+
/** The original data that was passed to this error instance. */
|
|
90
|
+
data$;
|
|
91
|
+
constructor(err, httpMeta) {
|
|
92
|
+
const message = "message" in err && typeof err.message === "string"
|
|
93
|
+
? err.message
|
|
94
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
95
|
+
super(message, httpMeta);
|
|
96
|
+
this.data$ = err;
|
|
97
|
+
this.error = err.error;
|
|
98
|
+
this.code = err.code;
|
|
99
|
+
this.name = "CheckoutCreateSessionBadRequestError";
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
/** @internal */
|
|
103
|
+
export const CheckoutCreateSessionTooManyRequestsError$inboundSchema = z.pipe(z.object({
|
|
104
|
+
error: types.string(),
|
|
105
|
+
code: types.string(),
|
|
106
|
+
request$: z.custom(x => x instanceof Request),
|
|
107
|
+
response$: z.custom(x => x instanceof Response),
|
|
108
|
+
body$: z.string(),
|
|
109
|
+
}), z.transform((v) => {
|
|
110
|
+
return new CheckoutCreateSessionTooManyRequestsError(v, {
|
|
111
|
+
request: v.request$,
|
|
112
|
+
response: v.response$,
|
|
113
|
+
body: v.body$,
|
|
114
|
+
});
|
|
115
|
+
}));
|
|
116
|
+
/** @internal */
|
|
117
|
+
export const CheckoutCreateSessionConflictError$inboundSchema = z.pipe(z.object({
|
|
118
|
+
error: types.string(),
|
|
119
|
+
code: types.string(),
|
|
120
|
+
request$: z.custom(x => x instanceof Request),
|
|
121
|
+
response$: z.custom(x => x instanceof Response),
|
|
122
|
+
body$: z.string(),
|
|
123
|
+
}), z.transform((v) => {
|
|
124
|
+
return new CheckoutCreateSessionConflictError(v, {
|
|
125
|
+
request: v.request$,
|
|
126
|
+
response: v.response$,
|
|
127
|
+
body: v.body$,
|
|
128
|
+
});
|
|
129
|
+
}));
|
|
130
|
+
/** @internal */
|
|
131
|
+
export const CheckoutCreateSessionForbiddenError$inboundSchema = z.pipe(z.object({
|
|
132
|
+
error: types.string(),
|
|
133
|
+
code: types.string(),
|
|
134
|
+
request$: z.custom(x => x instanceof Request),
|
|
135
|
+
response$: z.custom(x => x instanceof Response),
|
|
136
|
+
body$: z.string(),
|
|
137
|
+
}), z.transform((v) => {
|
|
138
|
+
return new CheckoutCreateSessionForbiddenError(v, {
|
|
139
|
+
request: v.request$,
|
|
140
|
+
response: v.response$,
|
|
141
|
+
body: v.body$,
|
|
142
|
+
});
|
|
143
|
+
}));
|
|
144
|
+
/** @internal */
|
|
145
|
+
export const CheckoutCreateSessionUnauthorizedError$inboundSchema = z.pipe(z.object({
|
|
146
|
+
error: types.string(),
|
|
147
|
+
code: types.string(),
|
|
148
|
+
request$: z.custom(x => x instanceof Request),
|
|
149
|
+
response$: z.custom(x => x instanceof Response),
|
|
150
|
+
body$: z.string(),
|
|
151
|
+
}), z.transform((v) => {
|
|
152
|
+
return new CheckoutCreateSessionUnauthorizedError(v, {
|
|
153
|
+
request: v.request$,
|
|
154
|
+
response: v.response$,
|
|
155
|
+
body: v.body$,
|
|
156
|
+
});
|
|
157
|
+
}));
|
|
158
|
+
/** @internal */
|
|
159
|
+
export const CheckoutCreateSessionBadRequestError$inboundSchema = z.pipe(z.object({
|
|
160
|
+
error: types.string(),
|
|
161
|
+
code: types.string(),
|
|
162
|
+
request$: z.custom(x => x instanceof Request),
|
|
163
|
+
response$: z.custom(x => x instanceof Response),
|
|
164
|
+
body$: z.string(),
|
|
165
|
+
}), z.transform((v) => {
|
|
166
|
+
return new CheckoutCreateSessionBadRequestError(v, {
|
|
167
|
+
request: v.request$,
|
|
168
|
+
response: v.response$,
|
|
169
|
+
body: v.body$,
|
|
170
|
+
});
|
|
171
|
+
}));
|
|
172
|
+
//# sourceMappingURL=checkout-create-session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkout-create-session.js","sourceRoot":"","sources":["../../../src/models/errors/checkout-create-session.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;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AC;IACzD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAI,oCAAoC,CAAC,CAAC,EAAE;QACjD,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { QuickshopsError } from "./quickshops-error.js";
|
|
3
|
+
/**
|
|
4
|
+
* Response for status 429
|
|
5
|
+
*/
|
|
6
|
+
export type HealthCheckTooManyRequestsErrorData = {
|
|
7
|
+
error: string;
|
|
8
|
+
code: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Response for status 429
|
|
12
|
+
*/
|
|
13
|
+
export declare class HealthCheckTooManyRequestsError extends QuickshopsError {
|
|
14
|
+
error: string;
|
|
15
|
+
code: string;
|
|
16
|
+
/** The original data that was passed to this error instance. */
|
|
17
|
+
data$: HealthCheckTooManyRequestsErrorData;
|
|
18
|
+
constructor(err: HealthCheckTooManyRequestsErrorData, httpMeta: {
|
|
19
|
+
response: Response;
|
|
20
|
+
request: Request;
|
|
21
|
+
body: string;
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Response for status 403
|
|
26
|
+
*/
|
|
27
|
+
export type HealthCheckForbiddenErrorData = {
|
|
28
|
+
error: string;
|
|
29
|
+
code: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Response for status 403
|
|
33
|
+
*/
|
|
34
|
+
export declare class HealthCheckForbiddenError extends QuickshopsError {
|
|
35
|
+
error: string;
|
|
36
|
+
code: string;
|
|
37
|
+
/** The original data that was passed to this error instance. */
|
|
38
|
+
data$: HealthCheckForbiddenErrorData;
|
|
39
|
+
constructor(err: HealthCheckForbiddenErrorData, httpMeta: {
|
|
40
|
+
response: Response;
|
|
41
|
+
request: Request;
|
|
42
|
+
body: string;
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Response for status 401
|
|
47
|
+
*/
|
|
48
|
+
export type HealthCheckUnauthorizedErrorData = {
|
|
49
|
+
error: string;
|
|
50
|
+
code: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Response for status 401
|
|
54
|
+
*/
|
|
55
|
+
export declare class HealthCheckUnauthorizedError extends QuickshopsError {
|
|
56
|
+
error: string;
|
|
57
|
+
code: string;
|
|
58
|
+
/** The original data that was passed to this error instance. */
|
|
59
|
+
data$: HealthCheckUnauthorizedErrorData;
|
|
60
|
+
constructor(err: HealthCheckUnauthorizedErrorData, httpMeta: {
|
|
61
|
+
response: Response;
|
|
62
|
+
request: Request;
|
|
63
|
+
body: string;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/** @internal */
|
|
67
|
+
export declare const HealthCheckTooManyRequestsError$inboundSchema: z.ZodMiniType<HealthCheckTooManyRequestsError, unknown>;
|
|
68
|
+
/** @internal */
|
|
69
|
+
export declare const HealthCheckForbiddenError$inboundSchema: z.ZodMiniType<HealthCheckForbiddenError, unknown>;
|
|
70
|
+
/** @internal */
|
|
71
|
+
export declare const HealthCheckUnauthorizedError$inboundSchema: z.ZodMiniType<HealthCheckUnauthorizedError, unknown>;
|
|
72
|
+
//# sourceMappingURL=health-check.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health-check.d.ts","sourceRoot":"","sources":["../../../src/models/errors/health-check.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG;IAChD,KAA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