@fiado/api-invoker 5.140.0 → 5.141.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.
@@ -7,8 +7,9 @@ export interface IRetailPromotionsBusinessApi {
7
7
  */
8
8
  releaseSalePromotion(tenantId: string, sessionId: string): Promise<StandardResponse<PrivateReleaseSalePromotionResponse>>;
9
9
  /**
10
- * `POST /private/sessions/{sessionId}/sale-promotion/payment-check`: antes del cobro de contado.
11
- * 422 `PROMOTION_PAYMENT_NOT_ELIGIBLE` si alguna promo apartada no acepta el medio.
10
+ * `POST /private/sessions/{sessionId}/sale-promotion/payment-check`: antes del cobro de contado (con `method`)
11
+ * o del enganche y cierre a crédito (sin `method`, contra la forma de pago de la sesión).
12
+ * 422 `PROMOTION_PAYMENT_NOT_ELIGIBLE` si alguna promo apartada no la acepta.
12
13
  */
13
14
  checkSalePromotionPayment(tenantId: string, sessionId: string, input: CheckSalePromotionPaymentRequest): Promise<StandardResponse<PrivateSalePromotionPaymentCheckResponse>>;
14
15
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
- "version": "5.140.0",
3
+ "version": "5.141.0",
4
4
  "description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a través de invocaciones http",
5
5
  "type": "module",
6
6
  "main": "bin/index.js",
@@ -23,8 +23,9 @@ export interface IRetailPromotionsBusinessApi {
23
23
  ): Promise<StandardResponse<PrivateReleaseSalePromotionResponse>>;
24
24
 
25
25
  /**
26
- * `POST /private/sessions/{sessionId}/sale-promotion/payment-check`: antes del cobro de contado.
27
- * 422 `PROMOTION_PAYMENT_NOT_ELIGIBLE` si alguna promo apartada no acepta el medio.
26
+ * `POST /private/sessions/{sessionId}/sale-promotion/payment-check`: antes del cobro de contado (con `method`)
27
+ * o del enganche y cierre a crédito (sin `method`, contra la forma de pago de la sesión).
28
+ * 422 `PROMOTION_PAYMENT_NOT_ELIGIBLE` si alguna promo apartada no la acepta.
28
29
  */
29
30
  checkSalePromotionPayment(
30
31
  tenantId: string,