@wix/referral 1.0.34 → 1.0.35
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/referral",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@wix/referral_customers": "1.0.14",
|
|
22
22
|
"@wix/referral_friends": "1.0.11",
|
|
23
|
-
"@wix/referral_programs": "1.0.
|
|
23
|
+
"@wix/referral_programs": "1.0.20",
|
|
24
24
|
"@wix/referral_rewards": "1.0.13",
|
|
25
|
-
"@wix/referral_tracker": "1.0.
|
|
25
|
+
"@wix/referral_tracker": "1.0.16"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"glob": "^10.4.1",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"fqdn": ""
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"falconPackageHash": "
|
|
50
|
+
"falconPackageHash": "0d2d37779fb713ff0f56e4f148745237dd99e7d8bf7f955bf39bd7a9"
|
|
51
51
|
}
|
|
@@ -567,7 +567,7 @@ declare enum DiscountType$2 {
|
|
|
567
567
|
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
568
568
|
/** Discount as a percentage. */
|
|
569
569
|
PERCENTAGE = "PERCENTAGE",
|
|
570
|
-
/** Free shipping. */
|
|
570
|
+
/** Free shipping. If `true`, the coupon applies to all items in all `namespaces`. */
|
|
571
571
|
FREE_SHIPPING = "FREE_SHIPPING"
|
|
572
572
|
}
|
|
573
573
|
interface FixedAmountDiscount$2 {
|
|
@@ -597,15 +597,15 @@ interface LoyaltyPoints$2 {
|
|
|
597
597
|
declare enum Action {
|
|
598
598
|
/** Unknown action. */
|
|
599
599
|
UNKNOWN = "UNKNOWN",
|
|
600
|
-
/**
|
|
600
|
+
/** Referred friend ordered and paid for an order in a store. */
|
|
601
601
|
STORE_ORDER_PLACED = "STORE_ORDER_PLACED",
|
|
602
|
-
/**
|
|
602
|
+
/** Referred friend ordered and paid for a plan */
|
|
603
603
|
PLAN_ORDERED = "PLAN_ORDERED",
|
|
604
|
-
/**
|
|
604
|
+
/** Referred friend ordered and paid for a ticket. */
|
|
605
605
|
TICKET_ORDERED = "TICKET_ORDERED",
|
|
606
|
-
/**
|
|
606
|
+
/** Referred friend booked and paid for a session. */
|
|
607
607
|
SESSION_BOOKED = "SESSION_BOOKED",
|
|
608
|
-
/**
|
|
608
|
+
/** Referred friend placed and paid for a restaurant order. */
|
|
609
609
|
RESTAURANT_ORDER_PLACED = "RESTAURANT_ORDER_PLACED"
|
|
610
610
|
}
|
|
611
611
|
interface Emails {
|
|
@@ -631,15 +631,15 @@ interface Emails {
|
|
|
631
631
|
declare enum App {
|
|
632
632
|
/** Unknown app. */
|
|
633
633
|
UNKNOWN = "UNKNOWN",
|
|
634
|
-
/**
|
|
634
|
+
/** Send an email to customers who've placed an order with stores. */
|
|
635
635
|
STORES = "STORES",
|
|
636
|
-
/**
|
|
636
|
+
/** Send an email to customers who've placed an order with pricing plans. */
|
|
637
637
|
PRICING_PLANS = "PRICING_PLANS",
|
|
638
|
-
/**
|
|
638
|
+
/** Send an email to customers who've placed an order with events. */
|
|
639
639
|
EVENTS = "EVENTS",
|
|
640
|
-
/**
|
|
640
|
+
/** Send an email to customers who've placed an order with bookings. */
|
|
641
641
|
BOOKINGS = "BOOKINGS",
|
|
642
|
-
/**
|
|
642
|
+
/** Send an email to customers who've placed an order with restaurants. */
|
|
643
643
|
RESTAURANTS = "RESTAURANTS"
|
|
644
644
|
}
|
|
645
645
|
interface PremiumFeatures {
|
|
@@ -2439,7 +2439,7 @@ declare enum DiscountType$1 {
|
|
|
2439
2439
|
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
2440
2440
|
/** Discount as a percentage. */
|
|
2441
2441
|
PERCENTAGE = "PERCENTAGE",
|
|
2442
|
-
/** Free shipping. */
|
|
2442
|
+
/** Free shipping. If `true`, the coupon applies to all items in all `namespaces`. */
|
|
2443
2443
|
FREE_SHIPPING = "FREE_SHIPPING"
|
|
2444
2444
|
}
|
|
2445
2445
|
interface FixedAmountDiscount$1 {
|
|
@@ -567,7 +567,7 @@ declare enum DiscountType$2 {
|
|
|
567
567
|
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
568
568
|
/** Discount as a percentage. */
|
|
569
569
|
PERCENTAGE = "PERCENTAGE",
|
|
570
|
-
/** Free shipping. */
|
|
570
|
+
/** Free shipping. If `true`, the coupon applies to all items in all `namespaces`. */
|
|
571
571
|
FREE_SHIPPING = "FREE_SHIPPING"
|
|
572
572
|
}
|
|
573
573
|
interface FixedAmountDiscount$2 {
|
|
@@ -597,15 +597,15 @@ interface LoyaltyPoints$2 {
|
|
|
597
597
|
declare enum Action {
|
|
598
598
|
/** Unknown action. */
|
|
599
599
|
UNKNOWN = "UNKNOWN",
|
|
600
|
-
/**
|
|
600
|
+
/** Referred friend ordered and paid for an order in a store. */
|
|
601
601
|
STORE_ORDER_PLACED = "STORE_ORDER_PLACED",
|
|
602
|
-
/**
|
|
602
|
+
/** Referred friend ordered and paid for a plan */
|
|
603
603
|
PLAN_ORDERED = "PLAN_ORDERED",
|
|
604
|
-
/**
|
|
604
|
+
/** Referred friend ordered and paid for a ticket. */
|
|
605
605
|
TICKET_ORDERED = "TICKET_ORDERED",
|
|
606
|
-
/**
|
|
606
|
+
/** Referred friend booked and paid for a session. */
|
|
607
607
|
SESSION_BOOKED = "SESSION_BOOKED",
|
|
608
|
-
/**
|
|
608
|
+
/** Referred friend placed and paid for a restaurant order. */
|
|
609
609
|
RESTAURANT_ORDER_PLACED = "RESTAURANT_ORDER_PLACED"
|
|
610
610
|
}
|
|
611
611
|
interface Emails {
|
|
@@ -631,15 +631,15 @@ interface Emails {
|
|
|
631
631
|
declare enum App {
|
|
632
632
|
/** Unknown app. */
|
|
633
633
|
UNKNOWN = "UNKNOWN",
|
|
634
|
-
/**
|
|
634
|
+
/** Send an email to customers who've placed an order with stores. */
|
|
635
635
|
STORES = "STORES",
|
|
636
|
-
/**
|
|
636
|
+
/** Send an email to customers who've placed an order with pricing plans. */
|
|
637
637
|
PRICING_PLANS = "PRICING_PLANS",
|
|
638
|
-
/**
|
|
638
|
+
/** Send an email to customers who've placed an order with events. */
|
|
639
639
|
EVENTS = "EVENTS",
|
|
640
|
-
/**
|
|
640
|
+
/** Send an email to customers who've placed an order with bookings. */
|
|
641
641
|
BOOKINGS = "BOOKINGS",
|
|
642
|
-
/**
|
|
642
|
+
/** Send an email to customers who've placed an order with restaurants. */
|
|
643
643
|
RESTAURANTS = "RESTAURANTS"
|
|
644
644
|
}
|
|
645
645
|
interface PremiumFeatures {
|
|
@@ -2439,7 +2439,7 @@ declare enum DiscountType$1 {
|
|
|
2439
2439
|
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
2440
2440
|
/** Discount as a percentage. */
|
|
2441
2441
|
PERCENTAGE = "PERCENTAGE",
|
|
2442
|
-
/** Free shipping. */
|
|
2442
|
+
/** Free shipping. If `true`, the coupon applies to all items in all `namespaces`. */
|
|
2443
2443
|
FREE_SHIPPING = "FREE_SHIPPING"
|
|
2444
2444
|
}
|
|
2445
2445
|
interface FixedAmountDiscount$1 {
|
|
@@ -157,7 +157,7 @@ declare enum DiscountType$5 {
|
|
|
157
157
|
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
158
158
|
/** Discount as a percentage. */
|
|
159
159
|
PERCENTAGE = "PERCENTAGE",
|
|
160
|
-
/** Free shipping. */
|
|
160
|
+
/** Free shipping. If `true`, the coupon applies to all items in all `namespaces`. */
|
|
161
161
|
FREE_SHIPPING = "FREE_SHIPPING"
|
|
162
162
|
}
|
|
163
163
|
interface FixedAmountDiscount$5 {
|
|
@@ -187,15 +187,15 @@ interface LoyaltyPoints$3 {
|
|
|
187
187
|
declare enum Action$1 {
|
|
188
188
|
/** Unknown action. */
|
|
189
189
|
UNKNOWN = "UNKNOWN",
|
|
190
|
-
/**
|
|
190
|
+
/** Referred friend ordered and paid for an order in a store. */
|
|
191
191
|
STORE_ORDER_PLACED = "STORE_ORDER_PLACED",
|
|
192
|
-
/**
|
|
192
|
+
/** Referred friend ordered and paid for a plan */
|
|
193
193
|
PLAN_ORDERED = "PLAN_ORDERED",
|
|
194
|
-
/**
|
|
194
|
+
/** Referred friend ordered and paid for a ticket. */
|
|
195
195
|
TICKET_ORDERED = "TICKET_ORDERED",
|
|
196
|
-
/**
|
|
196
|
+
/** Referred friend booked and paid for a session. */
|
|
197
197
|
SESSION_BOOKED = "SESSION_BOOKED",
|
|
198
|
-
/**
|
|
198
|
+
/** Referred friend placed and paid for a restaurant order. */
|
|
199
199
|
RESTAURANT_ORDER_PLACED = "RESTAURANT_ORDER_PLACED"
|
|
200
200
|
}
|
|
201
201
|
interface Emails$1 {
|
|
@@ -221,15 +221,15 @@ interface Emails$1 {
|
|
|
221
221
|
declare enum App$1 {
|
|
222
222
|
/** Unknown app. */
|
|
223
223
|
UNKNOWN = "UNKNOWN",
|
|
224
|
-
/**
|
|
224
|
+
/** Send an email to customers who've placed an order with stores. */
|
|
225
225
|
STORES = "STORES",
|
|
226
|
-
/**
|
|
226
|
+
/** Send an email to customers who've placed an order with pricing plans. */
|
|
227
227
|
PRICING_PLANS = "PRICING_PLANS",
|
|
228
|
-
/**
|
|
228
|
+
/** Send an email to customers who've placed an order with events. */
|
|
229
229
|
EVENTS = "EVENTS",
|
|
230
|
-
/**
|
|
230
|
+
/** Send an email to customers who've placed an order with bookings. */
|
|
231
231
|
BOOKINGS = "BOOKINGS",
|
|
232
|
-
/**
|
|
232
|
+
/** Send an email to customers who've placed an order with restaurants. */
|
|
233
233
|
RESTAURANTS = "RESTAURANTS"
|
|
234
234
|
}
|
|
235
235
|
interface PremiumFeatures$1 {
|
|
@@ -530,7 +530,7 @@ declare enum DiscountType$4 {
|
|
|
530
530
|
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
531
531
|
/** Discount as a percentage. */
|
|
532
532
|
PERCENTAGE = "PERCENTAGE",
|
|
533
|
-
/** Free shipping. */
|
|
533
|
+
/** Free shipping. If `true`, the coupon applies to all items in all `namespaces`. */
|
|
534
534
|
FREE_SHIPPING = "FREE_SHIPPING"
|
|
535
535
|
}
|
|
536
536
|
interface FixedAmountDiscount$4 {
|
|
@@ -560,15 +560,15 @@ interface LoyaltyPoints$2 {
|
|
|
560
560
|
declare enum Action {
|
|
561
561
|
/** Unknown action. */
|
|
562
562
|
UNKNOWN = "UNKNOWN",
|
|
563
|
-
/**
|
|
563
|
+
/** Referred friend ordered and paid for an order in a store. */
|
|
564
564
|
STORE_ORDER_PLACED = "STORE_ORDER_PLACED",
|
|
565
|
-
/**
|
|
565
|
+
/** Referred friend ordered and paid for a plan */
|
|
566
566
|
PLAN_ORDERED = "PLAN_ORDERED",
|
|
567
|
-
/**
|
|
567
|
+
/** Referred friend ordered and paid for a ticket. */
|
|
568
568
|
TICKET_ORDERED = "TICKET_ORDERED",
|
|
569
|
-
/**
|
|
569
|
+
/** Referred friend booked and paid for a session. */
|
|
570
570
|
SESSION_BOOKED = "SESSION_BOOKED",
|
|
571
|
-
/**
|
|
571
|
+
/** Referred friend placed and paid for a restaurant order. */
|
|
572
572
|
RESTAURANT_ORDER_PLACED = "RESTAURANT_ORDER_PLACED"
|
|
573
573
|
}
|
|
574
574
|
interface Emails {
|
|
@@ -594,15 +594,15 @@ interface Emails {
|
|
|
594
594
|
declare enum App {
|
|
595
595
|
/** Unknown app. */
|
|
596
596
|
UNKNOWN = "UNKNOWN",
|
|
597
|
-
/**
|
|
597
|
+
/** Send an email to customers who've placed an order with stores. */
|
|
598
598
|
STORES = "STORES",
|
|
599
|
-
/**
|
|
599
|
+
/** Send an email to customers who've placed an order with pricing plans. */
|
|
600
600
|
PRICING_PLANS = "PRICING_PLANS",
|
|
601
|
-
/**
|
|
601
|
+
/** Send an email to customers who've placed an order with events. */
|
|
602
602
|
EVENTS = "EVENTS",
|
|
603
|
-
/**
|
|
603
|
+
/** Send an email to customers who've placed an order with bookings. */
|
|
604
604
|
BOOKINGS = "BOOKINGS",
|
|
605
|
-
/**
|
|
605
|
+
/** Send an email to customers who've placed an order with restaurants. */
|
|
606
606
|
RESTAURANTS = "RESTAURANTS"
|
|
607
607
|
}
|
|
608
608
|
interface PremiumFeatures {
|
|
@@ -1186,7 +1186,7 @@ declare enum DiscountType$3 {
|
|
|
1186
1186
|
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
1187
1187
|
/** Discount as a percentage. */
|
|
1188
1188
|
PERCENTAGE = "PERCENTAGE",
|
|
1189
|
-
/** Free shipping. */
|
|
1189
|
+
/** Free shipping. If `true`, the coupon applies to all items in all `namespaces`. */
|
|
1190
1190
|
FREE_SHIPPING = "FREE_SHIPPING"
|
|
1191
1191
|
}
|
|
1192
1192
|
interface FixedAmountDiscount$3 {
|
|
@@ -1728,7 +1728,7 @@ declare enum DiscountType$2 {
|
|
|
1728
1728
|
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
1729
1729
|
/** Discount as a percentage. */
|
|
1730
1730
|
PERCENTAGE = "PERCENTAGE",
|
|
1731
|
-
/** Free shipping. */
|
|
1731
|
+
/** Free shipping. If `true`, the coupon applies to all items in all `namespaces`. */
|
|
1732
1732
|
FREE_SHIPPING = "FREE_SHIPPING"
|
|
1733
1733
|
}
|
|
1734
1734
|
interface FixedAmountDiscount$2 {
|