@wix/ecom 1.0.765 → 1.0.767
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 +4 -4
- package/type-bundles/context.bundle.d.ts +1434 -12095
- package/type-bundles/index.bundle.d.ts +1434 -12095
- package/type-bundles/meta.bundle.d.ts +8 -8
- package/type-bundles/service-plugins-context.bundle.d.ts +88 -319
- package/type-bundles/service-plugins.bundle.d.ts +88 -319
|
@@ -23495,7 +23495,7 @@ interface GiftCard$3 {
|
|
|
23495
23495
|
* + **DISABLED**: Gift card has been disabled by the merchant and can no longer be used.
|
|
23496
23496
|
*/
|
|
23497
23497
|
status?: Status$3;
|
|
23498
|
-
/** App ID of the gift card provider, as returned in
|
|
23498
|
+
/** App ID of the gift card provider, as returned in eCommerce Get Checkout or List Transactions for Single Order. */
|
|
23499
23499
|
appId?: string;
|
|
23500
23500
|
/**
|
|
23501
23501
|
* External ID in the gift card provider's system.
|
|
@@ -23522,7 +23522,7 @@ interface GetGiftCardRequest$1 {
|
|
|
23522
23522
|
context?: Context$1;
|
|
23523
23523
|
}
|
|
23524
23524
|
interface Context$1 {
|
|
23525
|
-
/** Physical location ID. Can be based on the
|
|
23525
|
+
/** Physical location ID. Can be based on the Locations API or an external provider. */
|
|
23526
23526
|
locationId?: string | null;
|
|
23527
23527
|
}
|
|
23528
23528
|
interface GetGiftCardResponse$1 {
|
|
@@ -23534,7 +23534,7 @@ interface RedeemGiftCardRequest$1 {
|
|
|
23534
23534
|
code: string;
|
|
23535
23535
|
/** Amount to redeem from the gift card. */
|
|
23536
23536
|
amount: Money$1;
|
|
23537
|
-
/** Order ID to apply the gift card transaction, when applying a gift card after order creation. Order ID can be collected from the
|
|
23537
|
+
/** Order ID to apply the gift card transaction, when applying a gift card after order creation. Order ID can be collected from the eCommerce Order Created webhook or by calling eCommerce Search Orders. */
|
|
23538
23538
|
orderId?: string;
|
|
23539
23539
|
/** App ID of the gift card provider. */
|
|
23540
23540
|
appId: string;
|
|
@@ -23546,7 +23546,7 @@ interface RedeemGiftCardResponse$1 {
|
|
|
23546
23546
|
transactionId?: string;
|
|
23547
23547
|
}
|
|
23548
23548
|
interface VoidTransactionRequest$1 {
|
|
23549
|
-
/** Gift card transaction ID, as returned from
|
|
23549
|
+
/** Gift card transaction ID, as returned from Redeem Gift Card. */
|
|
23550
23550
|
transactionId: string;
|
|
23551
23551
|
/** App ID of the gift card provider. */
|
|
23552
23552
|
appId: string;
|
|
@@ -23588,7 +23588,7 @@ interface GiftCard$2 {
|
|
|
23588
23588
|
* + **DISABLED**: Gift card has been disabled by the merchant and can no longer be used.
|
|
23589
23589
|
*/
|
|
23590
23590
|
status?: Status$2;
|
|
23591
|
-
/** App ID of the gift card provider, as returned in
|
|
23591
|
+
/** App ID of the gift card provider, as returned in eCommerce Get Checkout or List Transactions for Single Order. */
|
|
23592
23592
|
appId?: string;
|
|
23593
23593
|
/**
|
|
23594
23594
|
* External ID in the gift card provider's system.
|
|
@@ -23615,7 +23615,7 @@ interface GetGiftCardRequest {
|
|
|
23615
23615
|
context?: Context;
|
|
23616
23616
|
}
|
|
23617
23617
|
interface Context {
|
|
23618
|
-
/** Physical location ID. Can be based on the
|
|
23618
|
+
/** Physical location ID. Can be based on the Locations API or an external provider. */
|
|
23619
23619
|
locationId?: string | null;
|
|
23620
23620
|
}
|
|
23621
23621
|
interface GetGiftCardResponse {
|
|
@@ -23627,7 +23627,7 @@ interface RedeemGiftCardRequest {
|
|
|
23627
23627
|
code: string;
|
|
23628
23628
|
/** Amount to redeem from the gift card. */
|
|
23629
23629
|
amount: Money;
|
|
23630
|
-
/** Order ID to apply the gift card transaction, when applying a gift card after order creation. Order ID can be collected from the
|
|
23630
|
+
/** Order ID to apply the gift card transaction, when applying a gift card after order creation. Order ID can be collected from the eCommerce Order Created webhook or by calling eCommerce Search Orders. */
|
|
23631
23631
|
orderId?: string;
|
|
23632
23632
|
/** App ID of the gift card provider. */
|
|
23633
23633
|
appId: string;
|
|
@@ -23639,7 +23639,7 @@ interface RedeemGiftCardResponse {
|
|
|
23639
23639
|
transactionId?: string;
|
|
23640
23640
|
}
|
|
23641
23641
|
interface VoidTransactionRequest {
|
|
23642
|
-
/** Gift card transaction ID, as returned from
|
|
23642
|
+
/** Gift card transaction ID, as returned from Redeem Gift Card. */
|
|
23643
23643
|
transactionId: string;
|
|
23644
23644
|
/** App ID of the gift card provider. */
|
|
23645
23645
|
appId: string;
|