@wix/auto_sdk_loyalty_programs 1.0.26 → 1.0.28
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/build/cjs/index.d.ts +15 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +28 -15
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +13 -9
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +15 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +28 -15
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +13 -9
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -6
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +28 -15
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +13 -9
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +15 -6
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +28 -15
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +13 -9
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -26,9 +26,10 @@ interface BulkGetLoyaltyProgramSignature {
|
|
|
26
26
|
declare function updateLoyaltyProgram$1(httpClient: HttpClient): UpdateLoyaltyProgramSignature;
|
|
27
27
|
interface UpdateLoyaltyProgramSignature {
|
|
28
28
|
/**
|
|
29
|
-
* Updates
|
|
29
|
+
* Updates a site's loyalty program.
|
|
30
30
|
*
|
|
31
|
-
*
|
|
31
|
+
* This method updates the name of the loyalty program and the details of the collectible points unit.
|
|
32
|
+
* To activate the loyalty program, call Activate Loyalty Program.
|
|
32
33
|
* @param - Loyalty program fields to update.
|
|
33
34
|
*/
|
|
34
35
|
(loyaltyProgram: LoyaltyProgram): Promise<NonNullablePaths<UpdateLoyaltyProgramResponse, {
|
|
@@ -40,7 +41,13 @@ interface ActivateLoyaltyProgramSignature {
|
|
|
40
41
|
/**
|
|
41
42
|
* Activates a loyalty program.
|
|
42
43
|
*
|
|
43
|
-
*
|
|
44
|
+
* Initially, when a loyalty program is installed, the status is set to `"DRAFT"`.
|
|
45
|
+
* You can change the program's status to `"ACTIVE"` with this method or through the [dashboard](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Floyalty-accounts/wizard/).
|
|
46
|
+
* A site's customers can only earn or redeem points while the program is `"ACTIVE"`.
|
|
47
|
+
*
|
|
48
|
+
* This method only updates the status of a loyalty program. To make other updates to the program, call Update Loyalty Program.
|
|
49
|
+
*
|
|
50
|
+
* To temporarily pause your loyalty program, call Pause Loyalty Program and see [Pausing Your Loyalty Program](https://support.wix.com/en/article/wix-loyalty-program-pausing-your-loyalty-program) for more information.
|
|
44
51
|
*/
|
|
45
52
|
(): Promise<NonNullablePaths<ActivateLoyaltyProgramResponse, {
|
|
46
53
|
[P in ProgramNonNullablePaths]: `loyaltyProgram.${P}`;
|
|
@@ -49,7 +56,9 @@ interface ActivateLoyaltyProgramSignature {
|
|
|
49
56
|
declare function pauseLoyaltyProgram$1(httpClient: HttpClient): PauseLoyaltyProgramSignature;
|
|
50
57
|
interface PauseLoyaltyProgramSignature {
|
|
51
58
|
/**
|
|
52
|
-
* Changes the program status to `PAUSED`.
|
|
59
|
+
* Changes the program status to `"PAUSED"`.
|
|
60
|
+
*
|
|
61
|
+
* See [Pausing Your Loyalty Program](https://support.wix.com/en/article/wix-loyalty-program-pausing-your-loyalty-program) for more information.
|
|
53
62
|
*/
|
|
54
63
|
(): Promise<NonNullablePaths<PauseLoyaltyProgramResponse, {
|
|
55
64
|
[P in ProgramNonNullablePaths]: `loyaltyProgram.${P}`;
|
|
@@ -65,7 +74,7 @@ interface GetLoyaltyProgramPremiumFeaturesSignature {
|
|
|
65
74
|
declare function enablePointsExpiration$1(httpClient: HttpClient): EnablePointsExpirationSignature;
|
|
66
75
|
interface EnablePointsExpirationSignature {
|
|
67
76
|
/**
|
|
68
|
-
* Updates the `pointsExpiration` status to `ENABLED`.
|
|
77
|
+
* Updates the `pointsExpiration` status to `"ENABLED"`.
|
|
69
78
|
*/
|
|
70
79
|
(): Promise<NonNullablePaths<EnablePointsExpirationResponse, {
|
|
71
80
|
[P in ProgramNonNullablePaths]: `loyaltyProgram.${P}`;
|
|
@@ -74,7 +83,7 @@ interface EnablePointsExpirationSignature {
|
|
|
74
83
|
declare function disablePointsExpiration$1(httpClient: HttpClient): DisablePointsExpirationSignature;
|
|
75
84
|
interface DisablePointsExpirationSignature {
|
|
76
85
|
/**
|
|
77
|
-
* Updates the `pointsExpiration` status to `DISABLED`.
|
|
86
|
+
* Updates the `pointsExpiration` status to `"DISABLED"`.
|
|
78
87
|
*/
|
|
79
88
|
(): Promise<NonNullablePaths<DisablePointsExpirationResponse, {
|
|
80
89
|
[P in ProgramNonNullablePaths]: `loyaltyProgram.${P}`;
|