@wix/referral 1.0.20 → 1.0.22

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.22",
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.11",
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": "28896ffca80e0f980ededfd93279d4cb284f81cd39c74d66ba7a6838"
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
  */
@@ -697,7 +697,12 @@ declare enum Namespace {
697
697
  */
698
698
  BRANDED_FIRST = "BRANDED_FIRST",
699
699
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
700
- NOWNIA = "NOWNIA"
700
+ NOWNIA = "NOWNIA",
701
+ /**
702
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
703
+ * The Partners company owns this namespace.
704
+ */
705
+ UGC_TEMPLATE = "UGC_TEMPLATE"
701
706
  }
702
707
  /** Site transferred to another user. */
703
708
  interface SiteTransferred {
@@ -1551,7 +1556,7 @@ interface QueryReferralProgramsSignature {
1551
1556
  /**
1552
1557
  * Retrieves a list of referral programs, given the provided paging, filtering, and sorting.
1553
1558
  *
1554
- * To learn about working with _Query_ endpoints, see
1559
+ * To learn about working with _Query_ method, see
1555
1560
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
1556
1561
  * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
1557
1562
  * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
@@ -1589,13 +1594,10 @@ interface GetAiSocialMediaPostsSuggestionsSignature {
1589
1594
  /**
1590
1595
  * Retrieves pre-generated AI social media post suggestions for promoting the referral program.
1591
1596
  *
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.
1597
+ * 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.
1594
1598
  *
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.
1596
- *
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.
1599
+ * >**Note**: This method retrieves existing suggestions. To generate new ones,
1600
+ * 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
1601
  */
1600
1602
  (options?: GetAiSocialMediaPostsSuggestionsOptions | undefined): Promise<GetAISocialMediaPostsSuggestionsResponse & GetAISocialMediaPostsSuggestionsResponseNonNullableFields>;
1601
1603
  }
@@ -1604,17 +1606,16 @@ interface GenerateAiSocialMediaPostsSuggestionsSignature {
1604
1606
  /**
1605
1607
  * Creates new AI-generated social media post suggestions for promoting the referral program.
1606
1608
  *
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.
1609
+ * 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
1610
  *
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.
1611
+ * >**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
1612
  */
1612
1613
  (options?: GenerateAiSocialMediaPostsSuggestionsOptions | undefined): Promise<GenerateAISocialMediaPostsSuggestionsResponse & GenerateAISocialMediaPostsSuggestionsResponseNonNullableFields>;
1613
1614
  }
1614
1615
  declare function getReferralProgramPremiumFeatures$1(httpClient: HttpClient): GetReferralProgramPremiumFeaturesSignature;
1615
1616
  interface GetReferralProgramPremiumFeaturesSignature {
1616
1617
  /**
1617
- * Retrieves information about enabled premium features for the referral program.
1618
+ * Retrieves information about the enabled premium features for the referral program.
1618
1619
  */
1619
1620
  (): Promise<GetReferralProgramPremiumFeaturesResponse & GetReferralProgramPremiumFeaturesResponseNonNullableFields>;
1620
1621
  }
@@ -4380,9 +4381,6 @@ interface QueryReferringCustomersSignature {
4380
4381
  /**
4381
4382
  * Retrieves a list of referred friends, given the provided paging, filtering, and sorting.
4382
4383
  *
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
4384
  * To learn about working with _Query_ endpoints, see
4387
4385
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4388
4386
  * [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
  */
@@ -697,7 +697,12 @@ declare enum Namespace {
697
697
  */
698
698
  BRANDED_FIRST = "BRANDED_FIRST",
699
699
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
700
- NOWNIA = "NOWNIA"
700
+ NOWNIA = "NOWNIA",
701
+ /**
702
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
703
+ * The Partners company owns this namespace.
704
+ */
705
+ UGC_TEMPLATE = "UGC_TEMPLATE"
701
706
  }
702
707
  /** Site transferred to another user. */
703
708
  interface SiteTransferred {
@@ -1551,7 +1556,7 @@ interface QueryReferralProgramsSignature {
1551
1556
  /**
1552
1557
  * Retrieves a list of referral programs, given the provided paging, filtering, and sorting.
1553
1558
  *
1554
- * To learn about working with _Query_ endpoints, see
1559
+ * To learn about working with _Query_ method, see
1555
1560
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
1556
1561
  * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
1557
1562
  * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
@@ -1589,13 +1594,10 @@ interface GetAiSocialMediaPostsSuggestionsSignature {
1589
1594
  /**
1590
1595
  * Retrieves pre-generated AI social media post suggestions for promoting the referral program.
1591
1596
  *
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.
1597
+ * 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.
1594
1598
  *
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.
1596
- *
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.
1599
+ * >**Note**: This method retrieves existing suggestions. To generate new ones,
1600
+ * 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
1601
  */
1600
1602
  (options?: GetAiSocialMediaPostsSuggestionsOptions | undefined): Promise<GetAISocialMediaPostsSuggestionsResponse & GetAISocialMediaPostsSuggestionsResponseNonNullableFields>;
1601
1603
  }
@@ -1604,17 +1606,16 @@ interface GenerateAiSocialMediaPostsSuggestionsSignature {
1604
1606
  /**
1605
1607
  * Creates new AI-generated social media post suggestions for promoting the referral program.
1606
1608
  *
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.
1609
+ * 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
1610
  *
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.
1611
+ * >**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
1612
  */
1612
1613
  (options?: GenerateAiSocialMediaPostsSuggestionsOptions | undefined): Promise<GenerateAISocialMediaPostsSuggestionsResponse & GenerateAISocialMediaPostsSuggestionsResponseNonNullableFields>;
1613
1614
  }
1614
1615
  declare function getReferralProgramPremiumFeatures$1(httpClient: HttpClient): GetReferralProgramPremiumFeaturesSignature;
1615
1616
  interface GetReferralProgramPremiumFeaturesSignature {
1616
1617
  /**
1617
- * Retrieves information about enabled premium features for the referral program.
1618
+ * Retrieves information about the enabled premium features for the referral program.
1618
1619
  */
1619
1620
  (): Promise<GetReferralProgramPremiumFeaturesResponse & GetReferralProgramPremiumFeaturesResponseNonNullableFields>;
1620
1621
  }
@@ -4380,9 +4381,6 @@ interface QueryReferringCustomersSignature {
4380
4381
  /**
4381
4382
  * Retrieves a list of referred friends, given the provided paging, filtering, and sorting.
4382
4383
  *
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
4384
  * To learn about working with _Query_ endpoints, see
4387
4385
  * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
4388
4386
  * [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
  */