@wix/ecom 1.0.757 → 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.757",
3
+ "version": "1.0.759",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -31,12 +31,12 @@
31
31
  "@wix/ecom_currencies": "1.0.35",
32
32
  "@wix/ecom_current-cart": "1.0.72",
33
33
  "@wix/ecom_custom-triggers": "1.0.23",
34
- "@wix/ecom_delivery-profile": "1.0.17",
34
+ "@wix/ecom_delivery-profile": "1.0.18",
35
35
  "@wix/ecom_discount-rules": "1.0.51",
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": "7cf25df8d6ab15fba929744528d98ad37b3c11a2e6c4018a1839b9ec"
80
+ "falconPackageHash": "23bf05e8cd70db0765e4a042eac2223388373182d2046a5f735258b3"
81
81
  }
@@ -15714,6 +15714,8 @@ interface ServiceProvisioned {
15714
15714
  originInstanceId?: string;
15715
15715
  /** A version. */
15716
15716
  version?: string | null;
15717
+ /** The origin meta site id */
15718
+ originMetaSiteId?: string | null;
15717
15719
  }
15718
15720
  interface ServiceRemoved {
15719
15721
  /** Either UUID or EmbeddedServiceType. */
@@ -20681,6 +20683,7 @@ interface GetGiftCardSignature {
20681
20683
  /**
20682
20684
  * Retrieves a gift card.
20683
20685
  * @param - Gift card code.
20686
+ * @param - Field options.
20684
20687
  */
20685
20688
  (code: string, options?: GetGiftCardOptions | undefined): Promise<GetGiftCardResponse & GetGiftCardResponseNonNullableFields>;
20686
20689
  }
@@ -20690,6 +20693,8 @@ interface RedeemGiftCardSignature {
20690
20693
  * Redeems a gift card.
20691
20694
  * Creates a transaction and lowers the card balance by the transaction amount.
20692
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).
20693
20698
  */
20694
20699
  (code: string, options?: RedeemGiftCardOptions | undefined): Promise<RedeemGiftCardResponse & RedeemGiftCardResponseNonNullableFields>;
20695
20700
  }
@@ -20698,6 +20703,7 @@ interface VoidTransactionSignature {
20698
20703
  /**
20699
20704
  * Voids a gift card transaction.
20700
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.
20701
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).
20702
20708
  */
20703
20709
  (transactionId: string, options?: VoidTransactionOptions | undefined): Promise<void>;
@@ -15714,6 +15714,8 @@ interface ServiceProvisioned {
15714
15714
  originInstanceId?: string;
15715
15715
  /** A version. */
15716
15716
  version?: string | null;
15717
+ /** The origin meta site id */
15718
+ originMetaSiteId?: string | null;
15717
15719
  }
15718
15720
  interface ServiceRemoved {
15719
15721
  /** Either UUID or EmbeddedServiceType. */
@@ -20681,6 +20683,7 @@ interface GetGiftCardSignature {
20681
20683
  /**
20682
20684
  * Retrieves a gift card.
20683
20685
  * @param - Gift card code.
20686
+ * @param - Field options.
20684
20687
  */
20685
20688
  (code: string, options?: GetGiftCardOptions | undefined): Promise<GetGiftCardResponse & GetGiftCardResponseNonNullableFields>;
20686
20689
  }
@@ -20690,6 +20693,8 @@ interface RedeemGiftCardSignature {
20690
20693
  * Redeems a gift card.
20691
20694
  * Creates a transaction and lowers the card balance by the transaction amount.
20692
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).
20693
20698
  */
20694
20699
  (code: string, options?: RedeemGiftCardOptions | undefined): Promise<RedeemGiftCardResponse & RedeemGiftCardResponseNonNullableFields>;
20695
20700
  }
@@ -20698,6 +20703,7 @@ interface VoidTransactionSignature {
20698
20703
  /**
20699
20704
  * Voids a gift card transaction.
20700
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.
20701
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).
20702
20708
  */
20703
20709
  (transactionId: string, options?: VoidTransactionOptions | undefined): Promise<void>;