Vue Storefront is now Alokai! Learn More
@vsf-enterprise/sfcc-types

@vsf-enterprise/sfcc-types

1.4.0

Minor Changes

  • b04ab3e: Integrates the Omnichannel Inventory endpoints that can be used on the storefront to check a product's availability, reserve stock, update, transfer or release reservations

1.3.0

Minor Changes

  • 7446123: Exposes SDK methods and API endpoints for the shopper context functionality

1.2.0

Minor Changes

  • bc2883a: Improve error handling and allow retries of the order update method

1.1.0

Minor Changes

  • 6fd908e: - Expose an SDK method and API endpoint ensureAccessTokenValidity. It accepts no parameter and has no response body, its purpose is to be the first called method in the consumer app's lifecycle. If there are no JWTs in the request headers (either in cookies or custom headers), guest JWTs will be generated and returned as cookies; if there are preexisting tokens, they will go through validation and will be refreshed if needed. This will allow any following requests that happen in parallel during the first page request to reuse the same token instead of each one generating its own.
    • Enable long-lived logins using refresh tokens. Controlled by the optional opt-out disableLongLivedLogin setting in the middleware configuration. When enabled, guest tokens will always be refreshed when a refresh token is available. This mirrors the default functionality of the official SLAS plugin for SFCC.
    • Removes the USID parameter from refresh token calls, per instructions from the SFCC SLAS team
    • Completely disables OCAPI authentication when the SLAS token will be used for OCAPI calls. Until now we were generating both tokens even if only one of them would be used.

1.0.0

Major Changes

  • e747f29: Stable release of SalesForce integration

Minor Changes

  • 9ca0a56: Add a parameter to the product search endpoint which can be used to forward a response header that contains the search-drive redirect URL to the response body
  • f621a97: Add an option to always get a basket by ID rather than using the customer baskets endpoint
  • d75751b: Adds a sign out SDK method to invalidate authenticated JWTs
  • e823b4e: Added GetCustomerOrder endpoint for fetching data about selected customer's order
  • 411b1d5: Adds support for placing orders in the updateOrder method
  • b2c76da: Add a method to update an order

Patch Changes

  • 0bdc007: Improve the consistency and readability of the types used in the interface of the callback called after a password reset token is generated

1.0.0-rc.7

Minor Changes

  • 9ca0a56: Add a parameter to the product search endpoint which can be used to forward a response header that contains the search-drive redirect URL to the response body

1.0.0-rc.6

Minor Changes

  • 411b1d5: Adds support for placing orders in the updateOrder method

1.0.0-rc.5

Minor Changes

  • f621a97: Add an option to always get a basket by ID rather than using the customer baskets endpoint

1.0.0-rc.4

Minor Changes

  • b2c76da: Add a method to update an order

1.0.0-rc.3

Patch Changes

  • 0bdc007: Improve the consistency and readability of the types used in the interface of the callback called after a password reset token is generated

1.0.0-rc.2

Minor Changes

  • e823b4e: Added GetCustomerOrder endpoint for fetching data about selected customer's order

1.0.0-rc.1

Minor Changes

  • Adds a sign out SDK method to invalidate authenticated JWTs

1.0.0-rc.0

Major Changes

  • Stable release of SalesForce integration