@wix/ecom 1.0.758 → 1.0.759

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ecom",
3
- "version": "1.0.758",
3
+ "version": "1.0.759",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -36,7 +36,7 @@
36
36
  "@wix/ecom_discounts": "1.0.2",
37
37
  "@wix/ecom_discounts-custom-trigger": "1.0.6",
38
38
  "@wix/ecom_draft-orders": "1.0.18",
39
- "@wix/ecom_gift-vouchers": "1.0.0",
39
+ "@wix/ecom_gift-vouchers": "1.0.1",
40
40
  "@wix/ecom_gift-vouchers-provider": "1.0.2",
41
41
  "@wix/ecom_local-delivery-options": "1.0.7",
42
42
  "@wix/ecom_order-fulfillments": "1.0.45",
@@ -77,5 +77,5 @@
77
77
  "fqdn": ""
78
78
  }
79
79
  },
80
- "falconPackageHash": "f820e69a6326dc0249a659b9fe8369313ac405e582b452a1b98afb4b"
80
+ "falconPackageHash": "23bf05e8cd70db0765e4a042eac2223388373182d2046a5f735258b3"
81
81
  }
@@ -20683,6 +20683,7 @@ interface GetGiftCardSignature {
20683
20683
  /**
20684
20684
  * Retrieves a gift card.
20685
20685
  * @param - Gift card code.
20686
+ * @param - Field options.
20686
20687
  */
20687
20688
  (code: string, options?: GetGiftCardOptions | undefined): Promise<GetGiftCardResponse & GetGiftCardResponseNonNullableFields>;
20688
20689
  }
@@ -20692,6 +20693,8 @@ interface RedeemGiftCardSignature {
20692
20693
  * Redeems a gift card.
20693
20694
  * Creates a transaction and lowers the card balance by the transaction amount.
20694
20695
  * @param - Gift card code.
20696
+ * @param - Field options. `options.amount` and `appId` **must** be passed.
20697
+ * @param - Order ID to apply the gift card transaction, when applying a gift card after order creation. Order ID can be collected from [OnOrderCreated()](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/on-order-created) or by calling [Search Orders()](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/search-orders).
20695
20698
  */
20696
20699
  (code: string, options?: RedeemGiftCardOptions | undefined): Promise<RedeemGiftCardResponse & RedeemGiftCardResponseNonNullableFields>;
20697
20700
  }
@@ -20700,6 +20703,7 @@ interface VoidTransactionSignature {
20700
20703
  /**
20701
20704
  * Voids a gift card transaction.
20702
20705
  * Transaction IDs are returned in the [Redeem Gift Card](https://dev.wix.com/docs/rest/business-solutions/e-commerce/gift-cards/gift-cards/redeem-gift-card) call.
20706
+ * @param - Field options. `appId` **must** be passed.
20703
20707
  * @param - Gift card transaction ID, as returned from [Redeem Gift Card](https://dev.wix.com/docs/rest/business-solutions/e-commerce/gift-cards/gift-cards/redeem-gift-card).
20704
20708
  */
20705
20709
  (transactionId: string, options?: VoidTransactionOptions | undefined): Promise<void>;
@@ -20683,6 +20683,7 @@ interface GetGiftCardSignature {
20683
20683
  /**
20684
20684
  * Retrieves a gift card.
20685
20685
  * @param - Gift card code.
20686
+ * @param - Field options.
20686
20687
  */
20687
20688
  (code: string, options?: GetGiftCardOptions | undefined): Promise<GetGiftCardResponse & GetGiftCardResponseNonNullableFields>;
20688
20689
  }
@@ -20692,6 +20693,8 @@ interface RedeemGiftCardSignature {
20692
20693
  * Redeems a gift card.
20693
20694
  * Creates a transaction and lowers the card balance by the transaction amount.
20694
20695
  * @param - Gift card code.
20696
+ * @param - Field options. `options.amount` and `appId` **must** be passed.
20697
+ * @param - Order ID to apply the gift card transaction, when applying a gift card after order creation. Order ID can be collected from [OnOrderCreated()](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/on-order-created) or by calling [Search Orders()](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/search-orders).
20695
20698
  */
20696
20699
  (code: string, options?: RedeemGiftCardOptions | undefined): Promise<RedeemGiftCardResponse & RedeemGiftCardResponseNonNullableFields>;
20697
20700
  }
@@ -20700,6 +20703,7 @@ interface VoidTransactionSignature {
20700
20703
  /**
20701
20704
  * Voids a gift card transaction.
20702
20705
  * Transaction IDs are returned in the [Redeem Gift Card](https://dev.wix.com/docs/rest/business-solutions/e-commerce/gift-cards/gift-cards/redeem-gift-card) call.
20706
+ * @param - Field options. `appId` **must** be passed.
20703
20707
  * @param - Gift card transaction ID, as returned from [Redeem Gift Card](https://dev.wix.com/docs/rest/business-solutions/e-commerce/gift-cards/gift-cards/redeem-gift-card).
20704
20708
  */
20705
20709
  (transactionId: string, options?: VoidTransactionOptions | undefined): Promise<void>;