@wix/referral 1.0.20 → 1.0.21

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.20",
3
+ "version": "1.0.21",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,9 +18,9 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/referral_customers": "1.0.9",
21
+ "@wix/referral_customers": "1.0.10",
22
22
  "@wix/referral_friends": "1.0.7",
23
- "@wix/referral_programs": "1.0.9",
23
+ "@wix/referral_programs": "1.0.10",
24
24
  "@wix/referral_rewards": "1.0.9",
25
25
  "@wix/referral_tracker": "1.0.12"
26
26
  },
@@ -47,5 +47,5 @@
47
47
  "fqdn": ""
48
48
  }
49
49
  },
50
- "falconPackageHash": "ef20cb5036f8b43430134fb4780b30ddd9fe9a74d1e2a2e6a5c1538f"
50
+ "falconPackageHash": "cd726633d1de1427f4d2fa5534b15ac414d5b198c79140898559570a"
51
51
  }
@@ -98,11 +98,11 @@ interface ReferralProgram {
98
98
  /**
99
99
  * Whether the user has the required plan to use the referral program.
100
100
  *
101
- * Deprecated: Use `[GetReferralProgramPremiumFeatures](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features)` instead.
101
+ * Deprecated: Use [Get Referral Program Premium Features](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features) instead.
102
102
  * @readonly
103
103
  * @deprecated Whether the user has the required plan to use the referral program.
104
104
  *
105
- * Deprecated: Use `[GetReferralProgramPremiumFeatures](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features)` instead.
105
+ * Deprecated: Use [Get Referral Program Premium Features](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features) instead.
106
106
  * @replacedBy GetReferralProgramPremiumFeatures
107
107
  * @targetRemovalDate 2024-09-01
108
108
  */
@@ -1551,7 +1551,7 @@ interface QueryReferralProgramsSignature {
1551
1551
  /**
1552
1552
  * Retrieves a list of referral programs, given the provided paging, filtering, and sorting.
1553
1553
  *
1554
- * To learn about working with _Query_ endpoints, see
1554
+ * To learn about working with _Query_ method, see
1555
1555
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
1556
1556
  * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
1557
1557
  * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
@@ -1589,13 +1589,10 @@ interface GetAiSocialMediaPostsSuggestionsSignature {
1589
1589
  /**
1590
1590
  * Retrieves pre-generated AI social media post suggestions for promoting the referral program.
1591
1591
  *
1592
- * Use this method to get a list of AI-generated social media post suggestions
1593
- * that site owners or members can use to promote the referral program.
1594
- *
1595
- * These suggestions can be displayed to users in your app's UI, allowing them to easily copy and share on their preferred social media platforms.
1592
+ * This method returns a list of AI-generated social media post suggestions that site owners or members can use to promote the referral program. You can display these suggestions in your app's UI, allowing users to easily copy and share them on their preferred social media platforms.
1596
1593
  *
1597
- * >**Note**: This endpoint retrieves existing suggestions. To generate new ones,
1598
- * use the [Generate AI Social Media Posts Suggestions](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/generate-ai-social-media-posts-suggestions) endpoint.
1594
+ * >**Note**: This method retrieves existing suggestions. To generate new ones,
1595
+ * use the [Generate AI Social Media Posts Suggestions](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/generate-ai-social-media-posts-suggestions) method.
1599
1596
  */
1600
1597
  (options?: GetAiSocialMediaPostsSuggestionsOptions | undefined): Promise<GetAISocialMediaPostsSuggestionsResponse & GetAISocialMediaPostsSuggestionsResponseNonNullableFields>;
1601
1598
  }
@@ -1604,17 +1601,16 @@ interface GenerateAiSocialMediaPostsSuggestionsSignature {
1604
1601
  /**
1605
1602
  * Creates new AI-generated social media post suggestions for promoting the referral program.
1606
1603
  *
1607
- * Use this method to generate fresh AI-powered social media post suggestions for promoting the referral program. This is useful when you want to refresh
1608
- * the content or generate alternatives to the existing suggestions.
1604
+ * This method generates new AI-powered social media post suggestions for promoting the referral program. Use it to refresh content or create alternatives to existing suggestions.
1609
1605
  *
1610
- * >**Note**: This endpoint generates new suggestions each time it's called. To retrieve existing suggestions without generating new ones, use the [Get AI Social Media Posts Suggestions](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-ai-social-media-posts-suggestions) method.
1606
+ * >**Note**: This method generates new suggestions each time it's called. To retrieve existing suggestions without generating new ones, use the [Get AI Social Media Posts Suggestions](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-ai-social-media-posts-suggestions) method.
1611
1607
  */
1612
1608
  (options?: GenerateAiSocialMediaPostsSuggestionsOptions | undefined): Promise<GenerateAISocialMediaPostsSuggestionsResponse & GenerateAISocialMediaPostsSuggestionsResponseNonNullableFields>;
1613
1609
  }
1614
1610
  declare function getReferralProgramPremiumFeatures$1(httpClient: HttpClient): GetReferralProgramPremiumFeaturesSignature;
1615
1611
  interface GetReferralProgramPremiumFeaturesSignature {
1616
1612
  /**
1617
- * Retrieves information about enabled premium features for the referral program.
1613
+ * Retrieves information about the enabled premium features for the referral program.
1618
1614
  */
1619
1615
  (): Promise<GetReferralProgramPremiumFeaturesResponse & GetReferralProgramPremiumFeaturesResponseNonNullableFields>;
1620
1616
  }
@@ -4380,9 +4376,6 @@ interface QueryReferringCustomersSignature {
4380
4376
  /**
4381
4377
  * Retrieves a list of referred friends, given the provided paging, filtering, and sorting.
4382
4378
  *
4383
- * This endpoint supports [WQL (Wix Query Language)](https://dev.wix.com/api/rest/getting-started/api-query-language) with these properties:
4384
- * `contact_id`, `referral_code`, `created_date`, `updated_date`.
4385
- *
4386
4379
  * To learn about working with _Query_ endpoints, see
4387
4380
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4388
4381
  * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
@@ -98,11 +98,11 @@ interface ReferralProgram {
98
98
  /**
99
99
  * Whether the user has the required plan to use the referral program.
100
100
  *
101
- * Deprecated: Use `[GetReferralProgramPremiumFeatures](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features)` instead.
101
+ * Deprecated: Use [Get Referral Program Premium Features](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features) instead.
102
102
  * @readonly
103
103
  * @deprecated Whether the user has the required plan to use the referral program.
104
104
  *
105
- * Deprecated: Use `[GetReferralProgramPremiumFeatures](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features)` instead.
105
+ * Deprecated: Use [Get Referral Program Premium Features](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features) instead.
106
106
  * @replacedBy GetReferralProgramPremiumFeatures
107
107
  * @targetRemovalDate 2024-09-01
108
108
  */
@@ -1551,7 +1551,7 @@ interface QueryReferralProgramsSignature {
1551
1551
  /**
1552
1552
  * Retrieves a list of referral programs, given the provided paging, filtering, and sorting.
1553
1553
  *
1554
- * To learn about working with _Query_ endpoints, see
1554
+ * To learn about working with _Query_ method, see
1555
1555
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
1556
1556
  * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
1557
1557
  * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
@@ -1589,13 +1589,10 @@ interface GetAiSocialMediaPostsSuggestionsSignature {
1589
1589
  /**
1590
1590
  * Retrieves pre-generated AI social media post suggestions for promoting the referral program.
1591
1591
  *
1592
- * Use this method to get a list of AI-generated social media post suggestions
1593
- * that site owners or members can use to promote the referral program.
1594
- *
1595
- * These suggestions can be displayed to users in your app's UI, allowing them to easily copy and share on their preferred social media platforms.
1592
+ * This method returns a list of AI-generated social media post suggestions that site owners or members can use to promote the referral program. You can display these suggestions in your app's UI, allowing users to easily copy and share them on their preferred social media platforms.
1596
1593
  *
1597
- * >**Note**: This endpoint retrieves existing suggestions. To generate new ones,
1598
- * use the [Generate AI Social Media Posts Suggestions](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/generate-ai-social-media-posts-suggestions) endpoint.
1594
+ * >**Note**: This method retrieves existing suggestions. To generate new ones,
1595
+ * use the [Generate AI Social Media Posts Suggestions](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/generate-ai-social-media-posts-suggestions) method.
1599
1596
  */
1600
1597
  (options?: GetAiSocialMediaPostsSuggestionsOptions | undefined): Promise<GetAISocialMediaPostsSuggestionsResponse & GetAISocialMediaPostsSuggestionsResponseNonNullableFields>;
1601
1598
  }
@@ -1604,17 +1601,16 @@ interface GenerateAiSocialMediaPostsSuggestionsSignature {
1604
1601
  /**
1605
1602
  * Creates new AI-generated social media post suggestions for promoting the referral program.
1606
1603
  *
1607
- * Use this method to generate fresh AI-powered social media post suggestions for promoting the referral program. This is useful when you want to refresh
1608
- * the content or generate alternatives to the existing suggestions.
1604
+ * This method generates new AI-powered social media post suggestions for promoting the referral program. Use it to refresh content or create alternatives to existing suggestions.
1609
1605
  *
1610
- * >**Note**: This endpoint generates new suggestions each time it's called. To retrieve existing suggestions without generating new ones, use the [Get AI Social Media Posts Suggestions](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-ai-social-media-posts-suggestions) method.
1606
+ * >**Note**: This method generates new suggestions each time it's called. To retrieve existing suggestions without generating new ones, use the [Get AI Social Media Posts Suggestions](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-ai-social-media-posts-suggestions) method.
1611
1607
  */
1612
1608
  (options?: GenerateAiSocialMediaPostsSuggestionsOptions | undefined): Promise<GenerateAISocialMediaPostsSuggestionsResponse & GenerateAISocialMediaPostsSuggestionsResponseNonNullableFields>;
1613
1609
  }
1614
1610
  declare function getReferralProgramPremiumFeatures$1(httpClient: HttpClient): GetReferralProgramPremiumFeaturesSignature;
1615
1611
  interface GetReferralProgramPremiumFeaturesSignature {
1616
1612
  /**
1617
- * Retrieves information about enabled premium features for the referral program.
1613
+ * Retrieves information about the enabled premium features for the referral program.
1618
1614
  */
1619
1615
  (): Promise<GetReferralProgramPremiumFeaturesResponse & GetReferralProgramPremiumFeaturesResponseNonNullableFields>;
1620
1616
  }
@@ -4380,9 +4376,6 @@ interface QueryReferringCustomersSignature {
4380
4376
  /**
4381
4377
  * Retrieves a list of referred friends, given the provided paging, filtering, and sorting.
4382
4378
  *
4383
- * This endpoint supports [WQL (Wix Query Language)](https://dev.wix.com/api/rest/getting-started/api-query-language) with these properties:
4384
- * `contact_id`, `referral_code`, `created_date`, `updated_date`.
4385
- *
4386
4379
  * To learn about working with _Query_ endpoints, see
4387
4380
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4388
4381
  * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
@@ -54,11 +54,11 @@ interface ReferralProgram$1 {
54
54
  /**
55
55
  * Whether the user has the required plan to use the referral program.
56
56
  *
57
- * Deprecated: Use `[GetReferralProgramPremiumFeatures](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features)` instead.
57
+ * Deprecated: Use [Get Referral Program Premium Features](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features) instead.
58
58
  * @readonly
59
59
  * @deprecated Whether the user has the required plan to use the referral program.
60
60
  *
61
- * Deprecated: Use `[GetReferralProgramPremiumFeatures](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features)` instead.
61
+ * Deprecated: Use [Get Referral Program Premium Features](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features) instead.
62
62
  * @replacedBy GetReferralProgramPremiumFeatures
63
63
  * @targetRemovalDate 2024-09-01
64
64
  */
@@ -518,11 +518,11 @@ interface ReferralProgram {
518
518
  /**
519
519
  * Whether the user has the required plan to use the referral program.
520
520
  *
521
- * Deprecated: Use `[GetReferralProgramPremiumFeatures](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features)` instead.
521
+ * Deprecated: Use [Get Referral Program Premium Features](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features) instead.
522
522
  * @readonly
523
523
  * @deprecated Whether the user has the required plan to use the referral program.
524
524
  *
525
- * Deprecated: Use `[GetReferralProgramPremiumFeatures](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features)` instead.
525
+ * Deprecated: Use [Get Referral Program Premium Features](https://dev.wix.com/docs/velo/api-reference/wix-marketing-v2/referral-program/programs/get-referral-program-premium-features) instead.
526
526
  * @replacedBy GetReferralProgramPremiumFeatures
527
527
  * @targetRemovalDate 2024-09-01
528
528
  */