@wix/referral 1.0.33 → 1.0.34
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.34",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@wix/referral_customers": "1.0.14",
|
|
22
|
-
"@wix/referral_friends": "1.0.
|
|
22
|
+
"@wix/referral_friends": "1.0.11",
|
|
23
23
|
"@wix/referral_programs": "1.0.19",
|
|
24
24
|
"@wix/referral_rewards": "1.0.13",
|
|
25
25
|
"@wix/referral_tracker": "1.0.15"
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"fqdn": ""
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"falconPackageHash": "
|
|
50
|
+
"falconPackageHash": "1a7df3244e3a998ad4bbc7303820de5c4f7c73688c40faf2801f29f2"
|
|
51
51
|
}
|
|
@@ -3732,10 +3732,11 @@ interface UpdateReferredFriendResponse {
|
|
|
3732
3732
|
referredFriend?: ReferredFriend;
|
|
3733
3733
|
}
|
|
3734
3734
|
interface DeleteReferredFriendRequest {
|
|
3735
|
+
/** ID of the referred friend to delete. */
|
|
3735
3736
|
referredFriendId: string;
|
|
3736
3737
|
/**
|
|
3737
3738
|
* Revision number, which increments by 1 each time the referred friend is updated.
|
|
3738
|
-
* To prevent conflicting changes, the current revision must be passed when
|
|
3739
|
+
* To prevent conflicting changes, the current revision must be passed when deleting the referred friend.
|
|
3739
3740
|
*/
|
|
3740
3741
|
revision?: string;
|
|
3741
3742
|
}
|
|
@@ -4073,7 +4074,7 @@ interface UpdateReferredFriend {
|
|
|
4073
4074
|
interface DeleteReferredFriendOptions {
|
|
4074
4075
|
/**
|
|
4075
4076
|
* Revision number, which increments by 1 each time the referred friend is updated.
|
|
4076
|
-
* To prevent conflicting changes, the current revision must be passed when
|
|
4077
|
+
* To prevent conflicting changes, the current revision must be passed when deleting the referred friend.
|
|
4077
4078
|
*/
|
|
4078
4079
|
revision?: string;
|
|
4079
4080
|
}
|
|
@@ -4202,20 +4203,27 @@ declare function deleteReferredFriend$1(httpClient: HttpClient): DeleteReferredF
|
|
|
4202
4203
|
interface DeleteReferredFriendSignature {
|
|
4203
4204
|
/**
|
|
4204
4205
|
* Deletes a referred friend.
|
|
4206
|
+
* @param - ID of the referred friend to delete.
|
|
4205
4207
|
*/
|
|
4206
4208
|
(referredFriendId: string, options?: DeleteReferredFriendOptions | undefined): Promise<void>;
|
|
4207
4209
|
}
|
|
4208
4210
|
declare function queryReferredFriend$1(httpClient: HttpClient): QueryReferredFriendSignature;
|
|
4209
4211
|
interface QueryReferredFriendSignature {
|
|
4210
4212
|
/**
|
|
4211
|
-
*
|
|
4213
|
+
* Creates a query to retrieve a list of referred friends.
|
|
4212
4214
|
*
|
|
4213
|
-
*
|
|
4215
|
+
* The `queryReferredFriend()` function builds a query to retrieve a list of events and returns a `ReferredFriendsQueryBuilder` object.
|
|
4214
4216
|
*
|
|
4215
|
-
*
|
|
4216
|
-
*
|
|
4217
|
-
*
|
|
4218
|
-
*
|
|
4217
|
+
* The returned object contains the query definition, which is typically used to run the query using the `find()` function.
|
|
4218
|
+
*
|
|
4219
|
+
* You can refine the query by chaining `ReferredFriendsQueryBuilder` functions onto the query. `ReferredFriendsQueryBuilder` functions enable you to sort, filter, and control the results `queryReferredFriend()` returns.
|
|
4220
|
+
*
|
|
4221
|
+
* `queryReferredFriend()` runs with these `ReferredFriendQueryBuilder` defaults, which you can override:
|
|
4222
|
+
*
|
|
4223
|
+
* - `limit(50)`
|
|
4224
|
+
* - `descending("_createdDate")`
|
|
4225
|
+
*
|
|
4226
|
+
* The functions that are chained to `queryReferredFriend()` are applied in the order they're called. For example, if you apply ascending('status') and then descending('referringCustomerId'), the results are sorted first by the status, and then, if there are multiple results with the same status, the items are sorted by referring customer ID.
|
|
4219
4227
|
*/
|
|
4220
4228
|
(): ReferredFriendsQueryBuilder;
|
|
4221
4229
|
}
|
|
@@ -3732,10 +3732,11 @@ interface UpdateReferredFriendResponse {
|
|
|
3732
3732
|
referredFriend?: ReferredFriend;
|
|
3733
3733
|
}
|
|
3734
3734
|
interface DeleteReferredFriendRequest {
|
|
3735
|
+
/** ID of the referred friend to delete. */
|
|
3735
3736
|
referredFriendId: string;
|
|
3736
3737
|
/**
|
|
3737
3738
|
* Revision number, which increments by 1 each time the referred friend is updated.
|
|
3738
|
-
* To prevent conflicting changes, the current revision must be passed when
|
|
3739
|
+
* To prevent conflicting changes, the current revision must be passed when deleting the referred friend.
|
|
3739
3740
|
*/
|
|
3740
3741
|
revision?: string;
|
|
3741
3742
|
}
|
|
@@ -4073,7 +4074,7 @@ interface UpdateReferredFriend {
|
|
|
4073
4074
|
interface DeleteReferredFriendOptions {
|
|
4074
4075
|
/**
|
|
4075
4076
|
* Revision number, which increments by 1 each time the referred friend is updated.
|
|
4076
|
-
* To prevent conflicting changes, the current revision must be passed when
|
|
4077
|
+
* To prevent conflicting changes, the current revision must be passed when deleting the referred friend.
|
|
4077
4078
|
*/
|
|
4078
4079
|
revision?: string;
|
|
4079
4080
|
}
|
|
@@ -4202,20 +4203,27 @@ declare function deleteReferredFriend$1(httpClient: HttpClient): DeleteReferredF
|
|
|
4202
4203
|
interface DeleteReferredFriendSignature {
|
|
4203
4204
|
/**
|
|
4204
4205
|
* Deletes a referred friend.
|
|
4206
|
+
* @param - ID of the referred friend to delete.
|
|
4205
4207
|
*/
|
|
4206
4208
|
(referredFriendId: string, options?: DeleteReferredFriendOptions | undefined): Promise<void>;
|
|
4207
4209
|
}
|
|
4208
4210
|
declare function queryReferredFriend$1(httpClient: HttpClient): QueryReferredFriendSignature;
|
|
4209
4211
|
interface QueryReferredFriendSignature {
|
|
4210
4212
|
/**
|
|
4211
|
-
*
|
|
4213
|
+
* Creates a query to retrieve a list of referred friends.
|
|
4212
4214
|
*
|
|
4213
|
-
*
|
|
4215
|
+
* The `queryReferredFriend()` function builds a query to retrieve a list of events and returns a `ReferredFriendsQueryBuilder` object.
|
|
4214
4216
|
*
|
|
4215
|
-
*
|
|
4216
|
-
*
|
|
4217
|
-
*
|
|
4218
|
-
*
|
|
4217
|
+
* The returned object contains the query definition, which is typically used to run the query using the `find()` function.
|
|
4218
|
+
*
|
|
4219
|
+
* You can refine the query by chaining `ReferredFriendsQueryBuilder` functions onto the query. `ReferredFriendsQueryBuilder` functions enable you to sort, filter, and control the results `queryReferredFriend()` returns.
|
|
4220
|
+
*
|
|
4221
|
+
* `queryReferredFriend()` runs with these `ReferredFriendQueryBuilder` defaults, which you can override:
|
|
4222
|
+
*
|
|
4223
|
+
* - `limit(50)`
|
|
4224
|
+
* - `descending("_createdDate")`
|
|
4225
|
+
*
|
|
4226
|
+
* The functions that are chained to `queryReferredFriend()` are applied in the order they're called. For example, if you apply ascending('status') and then descending('referringCustomerId'), the results are sorted first by the status, and then, if there are multiple results with the same status, the items are sorted by referring customer ID.
|
|
4219
4227
|
*/
|
|
4220
4228
|
(): ReferredFriendsQueryBuilder;
|
|
4221
4229
|
}
|
|
@@ -2669,10 +2669,11 @@ interface UpdateReferredFriendResponse$1 {
|
|
|
2669
2669
|
referredFriend?: ReferredFriend$1;
|
|
2670
2670
|
}
|
|
2671
2671
|
interface DeleteReferredFriendRequest$1 {
|
|
2672
|
+
/** ID of the referred friend to delete. */
|
|
2672
2673
|
referredFriendId: string;
|
|
2673
2674
|
/**
|
|
2674
2675
|
* Revision number, which increments by 1 each time the referred friend is updated.
|
|
2675
|
-
* To prevent conflicting changes, the current revision must be passed when
|
|
2676
|
+
* To prevent conflicting changes, the current revision must be passed when deleting the referred friend.
|
|
2676
2677
|
*/
|
|
2677
2678
|
revision?: string;
|
|
2678
2679
|
}
|
|
@@ -2855,10 +2856,11 @@ interface UpdateReferredFriendResponse {
|
|
|
2855
2856
|
referredFriend?: ReferredFriend;
|
|
2856
2857
|
}
|
|
2857
2858
|
interface DeleteReferredFriendRequest {
|
|
2859
|
+
/** ID of the referred friend to delete. */
|
|
2858
2860
|
referredFriendId: string;
|
|
2859
2861
|
/**
|
|
2860
2862
|
* Revision number, which increments by 1 each time the referred friend is updated.
|
|
2861
|
-
* To prevent conflicting changes, the current revision must be passed when
|
|
2863
|
+
* To prevent conflicting changes, the current revision must be passed when deleting the referred friend.
|
|
2862
2864
|
*/
|
|
2863
2865
|
revision?: string;
|
|
2864
2866
|
}
|