@wix/referral 1.0.39 → 1.0.41
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 +7 -7
- package/type-bundles/context.bundle.d.ts +130 -134
- package/type-bundles/index.bundle.d.ts +130 -134
- package/type-bundles/meta.bundle.d.ts +28 -28
|
@@ -12,12 +12,12 @@ interface ReferralProgram$1 {
|
|
|
12
12
|
* Date and time the program was created.
|
|
13
13
|
* @readonly
|
|
14
14
|
*/
|
|
15
|
-
createdDate?: Date;
|
|
15
|
+
createdDate?: Date | null;
|
|
16
16
|
/**
|
|
17
17
|
* Date and time the program was last updated.
|
|
18
18
|
* @readonly
|
|
19
19
|
*/
|
|
20
|
-
updatedDate?: Date;
|
|
20
|
+
updatedDate?: Date | null;
|
|
21
21
|
/**
|
|
22
22
|
* Reward configuration for the referred friend.
|
|
23
23
|
* Specifies the reward given to a new customer who was referred to the business.
|
|
@@ -372,12 +372,12 @@ interface ReferralProgram {
|
|
|
372
372
|
* Date and time the program was created.
|
|
373
373
|
* @readonly
|
|
374
374
|
*/
|
|
375
|
-
_createdDate?: Date;
|
|
375
|
+
_createdDate?: Date | null;
|
|
376
376
|
/**
|
|
377
377
|
* Date and time the program was last updated.
|
|
378
378
|
* @readonly
|
|
379
379
|
*/
|
|
380
|
-
_updatedDate?: Date;
|
|
380
|
+
_updatedDate?: Date | null;
|
|
381
381
|
/**
|
|
382
382
|
* Reward configuration for the referred friend.
|
|
383
383
|
* Specifies the reward given to a new customer who was referred to the business.
|
|
@@ -770,12 +770,12 @@ interface ReferralEvent$1 extends ReferralEventEventTypeOneOf$1 {
|
|
|
770
770
|
* Date and time the referral event was created.
|
|
771
771
|
* @readonly
|
|
772
772
|
*/
|
|
773
|
-
createdDate?: Date;
|
|
773
|
+
createdDate?: Date | null;
|
|
774
774
|
/**
|
|
775
775
|
* Date and time the referral event was last updated.
|
|
776
776
|
* @readonly
|
|
777
777
|
*/
|
|
778
|
-
updatedDate?: Date;
|
|
778
|
+
updatedDate?: Date | null;
|
|
779
779
|
}
|
|
780
780
|
/** @oneof */
|
|
781
781
|
interface ReferralEventEventTypeOneOf$1 {
|
|
@@ -980,7 +980,7 @@ interface ReferringCustomerTotal$1 {
|
|
|
980
980
|
* Date and time of the last successful referral.
|
|
981
981
|
* @readonly
|
|
982
982
|
*/
|
|
983
|
-
lastSuccessfulReferral?: Date;
|
|
983
|
+
lastSuccessfulReferral?: Date | null;
|
|
984
984
|
/**
|
|
985
985
|
* Total number of successful referrals made by this customer.
|
|
986
986
|
* @readonly
|
|
@@ -995,7 +995,7 @@ interface ReferringCustomerTotal$1 {
|
|
|
995
995
|
* Date and time of the last friend action.
|
|
996
996
|
* @readonly
|
|
997
997
|
*/
|
|
998
|
-
lastFriendAction?: Date;
|
|
998
|
+
lastFriendAction?: Date | null;
|
|
999
999
|
/**
|
|
1000
1000
|
* Number of friends who have completed actions.
|
|
1001
1001
|
* @readonly
|
|
@@ -1038,7 +1038,7 @@ interface ReferredFriendAction$1 extends ReferredFriendActionRewardTypeOptionsOn
|
|
|
1038
1038
|
* Date and time of the first action.
|
|
1039
1039
|
* @readonly
|
|
1040
1040
|
*/
|
|
1041
|
-
actionDate?: Date;
|
|
1041
|
+
actionDate?: Date | null;
|
|
1042
1042
|
/** Type of issued reward. */
|
|
1043
1043
|
rewardType?: Reward$1;
|
|
1044
1044
|
/** Number of actions completed. */
|
|
@@ -1052,7 +1052,7 @@ interface ReferredFriendAction$1 extends ReferredFriendActionRewardTypeOptionsOn
|
|
|
1052
1052
|
* Date and time of friend signup.
|
|
1053
1053
|
* @readonly
|
|
1054
1054
|
*/
|
|
1055
|
-
signupDate?: Date;
|
|
1055
|
+
signupDate?: Date | null;
|
|
1056
1056
|
}
|
|
1057
1057
|
/** @oneof */
|
|
1058
1058
|
interface ReferredFriendActionRewardTypeOptionsOneOf$1 {
|
|
@@ -1312,12 +1312,12 @@ interface ReferralEvent extends ReferralEventEventTypeOneOf {
|
|
|
1312
1312
|
* Date and time the referral event was created.
|
|
1313
1313
|
* @readonly
|
|
1314
1314
|
*/
|
|
1315
|
-
_createdDate?: Date;
|
|
1315
|
+
_createdDate?: Date | null;
|
|
1316
1316
|
/**
|
|
1317
1317
|
* Date and time the referral event was last updated.
|
|
1318
1318
|
* @readonly
|
|
1319
1319
|
*/
|
|
1320
|
-
_updatedDate?: Date;
|
|
1320
|
+
_updatedDate?: Date | null;
|
|
1321
1321
|
}
|
|
1322
1322
|
/** @oneof */
|
|
1323
1323
|
interface ReferralEventEventTypeOneOf {
|
|
@@ -1522,7 +1522,7 @@ interface ReferringCustomerTotal {
|
|
|
1522
1522
|
* Date and time of the last successful referral.
|
|
1523
1523
|
* @readonly
|
|
1524
1524
|
*/
|
|
1525
|
-
lastSuccessfulReferral?: Date;
|
|
1525
|
+
lastSuccessfulReferral?: Date | null;
|
|
1526
1526
|
/**
|
|
1527
1527
|
* Total number of successful referrals made by this customer.
|
|
1528
1528
|
* @readonly
|
|
@@ -1537,7 +1537,7 @@ interface ReferringCustomerTotal {
|
|
|
1537
1537
|
* Date and time of the last friend action.
|
|
1538
1538
|
* @readonly
|
|
1539
1539
|
*/
|
|
1540
|
-
lastFriendAction?: Date;
|
|
1540
|
+
lastFriendAction?: Date | null;
|
|
1541
1541
|
/**
|
|
1542
1542
|
* Number of friends who have completed actions.
|
|
1543
1543
|
* @readonly
|
|
@@ -1580,7 +1580,7 @@ interface ReferredFriendAction extends ReferredFriendActionRewardTypeOptionsOneO
|
|
|
1580
1580
|
* Date and time of the first action.
|
|
1581
1581
|
* @readonly
|
|
1582
1582
|
*/
|
|
1583
|
-
actionDate?: Date;
|
|
1583
|
+
actionDate?: Date | null;
|
|
1584
1584
|
/** Type of issued reward. */
|
|
1585
1585
|
rewardType?: Reward;
|
|
1586
1586
|
/** Number of actions completed. */
|
|
@@ -1594,7 +1594,7 @@ interface ReferredFriendAction extends ReferredFriendActionRewardTypeOptionsOneO
|
|
|
1594
1594
|
* Date and time of friend signup.
|
|
1595
1595
|
* @readonly
|
|
1596
1596
|
*/
|
|
1597
|
-
signupDate?: Date;
|
|
1597
|
+
signupDate?: Date | null;
|
|
1598
1598
|
}
|
|
1599
1599
|
/** @oneof */
|
|
1600
1600
|
interface ReferredFriendActionRewardTypeOptionsOneOf {
|
|
@@ -1887,12 +1887,12 @@ interface ReferralReward$1 extends ReferralRewardReceiverOneOf$1, ReferralReward
|
|
|
1887
1887
|
* Date and time the referral reward was created.
|
|
1888
1888
|
* @readonly
|
|
1889
1889
|
*/
|
|
1890
|
-
createdDate?: Date;
|
|
1890
|
+
createdDate?: Date | null;
|
|
1891
1891
|
/**
|
|
1892
1892
|
* Date and time the referral reward was last updated.
|
|
1893
1893
|
* @readonly
|
|
1894
1894
|
*/
|
|
1895
|
-
updatedDate?: Date;
|
|
1895
|
+
updatedDate?: Date | null;
|
|
1896
1896
|
/**
|
|
1897
1897
|
* Type of reward given.
|
|
1898
1898
|
*
|
|
@@ -2231,12 +2231,12 @@ interface ReferralReward extends ReferralRewardReceiverOneOf, ReferralRewardRewa
|
|
|
2231
2231
|
* Date and time the referral reward was created.
|
|
2232
2232
|
* @readonly
|
|
2233
2233
|
*/
|
|
2234
|
-
_createdDate?: Date;
|
|
2234
|
+
_createdDate?: Date | null;
|
|
2235
2235
|
/**
|
|
2236
2236
|
* Date and time the referral reward was last updated.
|
|
2237
2237
|
* @readonly
|
|
2238
2238
|
*/
|
|
2239
|
-
_updatedDate?: Date;
|
|
2239
|
+
_updatedDate?: Date | null;
|
|
2240
2240
|
/**
|
|
2241
2241
|
* Type of reward given.
|
|
2242
2242
|
*
|
|
@@ -2595,12 +2595,12 @@ interface ReferredFriend$1 {
|
|
|
2595
2595
|
* Date and time the referred friend was created.
|
|
2596
2596
|
* @readonly
|
|
2597
2597
|
*/
|
|
2598
|
-
createdDate?: Date;
|
|
2598
|
+
createdDate?: Date | null;
|
|
2599
2599
|
/**
|
|
2600
2600
|
* Date and time the referred friend was last updated.
|
|
2601
2601
|
* @readonly
|
|
2602
2602
|
*/
|
|
2603
|
-
updatedDate?: Date;
|
|
2603
|
+
updatedDate?: Date | null;
|
|
2604
2604
|
}
|
|
2605
2605
|
declare enum Status$1 {
|
|
2606
2606
|
/** Unknown status. */
|
|
@@ -2782,12 +2782,12 @@ interface ReferredFriend {
|
|
|
2782
2782
|
* Date and time the referred friend was created.
|
|
2783
2783
|
* @readonly
|
|
2784
2784
|
*/
|
|
2785
|
-
_createdDate?: Date;
|
|
2785
|
+
_createdDate?: Date | null;
|
|
2786
2786
|
/**
|
|
2787
2787
|
* Date and time the referred friend was last updated.
|
|
2788
2788
|
* @readonly
|
|
2789
2789
|
*/
|
|
2790
|
-
_updatedDate?: Date;
|
|
2790
|
+
_updatedDate?: Date | null;
|
|
2791
2791
|
}
|
|
2792
2792
|
declare enum Status {
|
|
2793
2793
|
/** Unknown status. */
|
|
@@ -3001,12 +3001,12 @@ interface ReferringCustomer$1 {
|
|
|
3001
3001
|
* Date and time the referring customer was created.
|
|
3002
3002
|
* @readonly
|
|
3003
3003
|
*/
|
|
3004
|
-
createdDate?: Date;
|
|
3004
|
+
createdDate?: Date | null;
|
|
3005
3005
|
/**
|
|
3006
3006
|
* Date and time the referring customer was last updated.
|
|
3007
3007
|
* @readonly
|
|
3008
3008
|
*/
|
|
3009
|
-
updatedDate?: Date;
|
|
3009
|
+
updatedDate?: Date | null;
|
|
3010
3010
|
}
|
|
3011
3011
|
interface GenerateReferringCustomerForContactRequest$1 {
|
|
3012
3012
|
/** Contact ID or `"me"` to generate the current identity's referring customer. */
|
|
@@ -3162,12 +3162,12 @@ interface ReferringCustomer {
|
|
|
3162
3162
|
* Date and time the referring customer was created.
|
|
3163
3163
|
* @readonly
|
|
3164
3164
|
*/
|
|
3165
|
-
_createdDate?: Date;
|
|
3165
|
+
_createdDate?: Date | null;
|
|
3166
3166
|
/**
|
|
3167
3167
|
* Date and time the referring customer was last updated.
|
|
3168
3168
|
* @readonly
|
|
3169
3169
|
*/
|
|
3170
|
-
_updatedDate?: Date;
|
|
3170
|
+
_updatedDate?: Date | null;
|
|
3171
3171
|
}
|
|
3172
3172
|
interface GenerateReferringCustomerForContactRequest {
|
|
3173
3173
|
/** Contact ID or `"me"` to generate the current identity's referring customer. */
|