@infrab4a/connect-angular 4.17.3-beta.3 → 4.17.3-beta.5

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.
@@ -1402,6 +1402,11 @@ class CheckoutService {
1402
1402
  // concatMap((checkout) => this.couponService.checkCoupon(nickname, CheckoutTypes.ECOMMERCE, checkout, null).pipe()),
1403
1403
  // )
1404
1404
  }
1405
+ validateStockProducts() {
1406
+ return this.getCheckout().pipe(concatMap((checkout) => this.http.post(`${this.checkoutUrl}/checkoutValidateProductStock`, {
1407
+ checkoutId: checkout.id,
1408
+ })));
1409
+ }
1405
1410
  async createCheckout(checkoutData) {
1406
1411
  const checkout = await this.checkoutRepository.create({
1407
1412
  createdAt: new Date(),