@wix/auto_sdk_loyalty_programs 1.0.12 → 1.0.14

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.
Files changed (134) hide show
  1. package/build/index.d.mts +101 -0
  2. package/build/index.d.ts +101 -0
  3. package/build/index.js +874 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +833 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +101 -0
  8. package/build/internal/index.d.ts +101 -0
  9. package/build/internal/index.js +874 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +833 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/{cjs/src/loyalty-v1-program-programs.types.d.ts → internal/loyalty-v1-program-programs.universal-CCZ90Kwf.d.mts} +175 -210
  14. package/build/internal/{cjs/src/loyalty-v1-program-programs.types.d.ts → loyalty-v1-program-programs.universal-CCZ90Kwf.d.ts} +175 -210
  15. package/build/internal/meta.d.mts +226 -0
  16. package/build/internal/meta.d.ts +226 -0
  17. package/build/internal/meta.js +557 -0
  18. package/build/internal/meta.js.map +1 -0
  19. package/build/internal/meta.mjs +523 -0
  20. package/build/internal/meta.mjs.map +1 -0
  21. package/build/{internal/es/src/loyalty-v1-program-programs.types.d.ts → loyalty-v1-program-programs.universal-CCZ90Kwf.d.mts} +175 -210
  22. package/build/{es/src/loyalty-v1-program-programs.types.d.ts → loyalty-v1-program-programs.universal-CCZ90Kwf.d.ts} +175 -210
  23. package/build/meta.d.mts +226 -0
  24. package/build/meta.d.ts +226 -0
  25. package/build/meta.js +557 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +523 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/loyalty-v1-program-programs.context.d.ts +0 -18
  40. package/build/cjs/src/loyalty-v1-program-programs.context.js +0 -30
  41. package/build/cjs/src/loyalty-v1-program-programs.context.js.map +0 -1
  42. package/build/cjs/src/loyalty-v1-program-programs.http.d.ts +0 -49
  43. package/build/cjs/src/loyalty-v1-program-programs.http.js +0 -417
  44. package/build/cjs/src/loyalty-v1-program-programs.http.js.map +0 -1
  45. package/build/cjs/src/loyalty-v1-program-programs.meta.d.ts +0 -20
  46. package/build/cjs/src/loyalty-v1-program-programs.meta.js +0 -180
  47. package/build/cjs/src/loyalty-v1-program-programs.meta.js.map +0 -1
  48. package/build/cjs/src/loyalty-v1-program-programs.public.d.ts +0 -88
  49. package/build/cjs/src/loyalty-v1-program-programs.public.js +0 -83
  50. package/build/cjs/src/loyalty-v1-program-programs.public.js.map +0 -1
  51. package/build/cjs/src/loyalty-v1-program-programs.types.js +0 -172
  52. package/build/cjs/src/loyalty-v1-program-programs.types.js.map +0 -1
  53. package/build/cjs/src/loyalty-v1-program-programs.universal.d.ts +0 -1514
  54. package/build/cjs/src/loyalty-v1-program-programs.universal.js +0 -535
  55. package/build/cjs/src/loyalty-v1-program-programs.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/loyalty-v1-program-programs.context.d.ts +0 -18
  67. package/build/es/src/loyalty-v1-program-programs.context.js +0 -18
  68. package/build/es/src/loyalty-v1-program-programs.context.js.map +0 -1
  69. package/build/es/src/loyalty-v1-program-programs.http.d.ts +0 -49
  70. package/build/es/src/loyalty-v1-program-programs.http.js +0 -406
  71. package/build/es/src/loyalty-v1-program-programs.http.js.map +0 -1
  72. package/build/es/src/loyalty-v1-program-programs.meta.d.ts +0 -20
  73. package/build/es/src/loyalty-v1-program-programs.meta.js +0 -146
  74. package/build/es/src/loyalty-v1-program-programs.meta.js.map +0 -1
  75. package/build/es/src/loyalty-v1-program-programs.public.d.ts +0 -88
  76. package/build/es/src/loyalty-v1-program-programs.public.js +0 -63
  77. package/build/es/src/loyalty-v1-program-programs.public.js.map +0 -1
  78. package/build/es/src/loyalty-v1-program-programs.types.js +0 -169
  79. package/build/es/src/loyalty-v1-program-programs.types.js.map +0 -1
  80. package/build/es/src/loyalty-v1-program-programs.universal.d.ts +0 -1514
  81. package/build/es/src/loyalty-v1-program-programs.universal.js +0 -501
  82. package/build/es/src/loyalty-v1-program-programs.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/loyalty-v1-program-programs.context.d.ts +0 -18
  93. package/build/internal/cjs/src/loyalty-v1-program-programs.context.js +0 -30
  94. package/build/internal/cjs/src/loyalty-v1-program-programs.context.js.map +0 -1
  95. package/build/internal/cjs/src/loyalty-v1-program-programs.http.d.ts +0 -49
  96. package/build/internal/cjs/src/loyalty-v1-program-programs.http.js +0 -417
  97. package/build/internal/cjs/src/loyalty-v1-program-programs.http.js.map +0 -1
  98. package/build/internal/cjs/src/loyalty-v1-program-programs.meta.d.ts +0 -20
  99. package/build/internal/cjs/src/loyalty-v1-program-programs.meta.js +0 -180
  100. package/build/internal/cjs/src/loyalty-v1-program-programs.meta.js.map +0 -1
  101. package/build/internal/cjs/src/loyalty-v1-program-programs.public.d.ts +0 -88
  102. package/build/internal/cjs/src/loyalty-v1-program-programs.public.js +0 -83
  103. package/build/internal/cjs/src/loyalty-v1-program-programs.public.js.map +0 -1
  104. package/build/internal/cjs/src/loyalty-v1-program-programs.types.js +0 -172
  105. package/build/internal/cjs/src/loyalty-v1-program-programs.types.js.map +0 -1
  106. package/build/internal/cjs/src/loyalty-v1-program-programs.universal.d.ts +0 -1514
  107. package/build/internal/cjs/src/loyalty-v1-program-programs.universal.js +0 -535
  108. package/build/internal/cjs/src/loyalty-v1-program-programs.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/loyalty-v1-program-programs.context.d.ts +0 -18
  119. package/build/internal/es/src/loyalty-v1-program-programs.context.js +0 -18
  120. package/build/internal/es/src/loyalty-v1-program-programs.context.js.map +0 -1
  121. package/build/internal/es/src/loyalty-v1-program-programs.http.d.ts +0 -49
  122. package/build/internal/es/src/loyalty-v1-program-programs.http.js +0 -406
  123. package/build/internal/es/src/loyalty-v1-program-programs.http.js.map +0 -1
  124. package/build/internal/es/src/loyalty-v1-program-programs.meta.d.ts +0 -20
  125. package/build/internal/es/src/loyalty-v1-program-programs.meta.js +0 -146
  126. package/build/internal/es/src/loyalty-v1-program-programs.meta.js.map +0 -1
  127. package/build/internal/es/src/loyalty-v1-program-programs.public.d.ts +0 -88
  128. package/build/internal/es/src/loyalty-v1-program-programs.public.js +0 -63
  129. package/build/internal/es/src/loyalty-v1-program-programs.public.js.map +0 -1
  130. package/build/internal/es/src/loyalty-v1-program-programs.types.js +0 -169
  131. package/build/internal/es/src/loyalty-v1-program-programs.types.js.map +0 -1
  132. package/build/internal/es/src/loyalty-v1-program-programs.universal.d.ts +0 -1514
  133. package/build/internal/es/src/loyalty-v1-program-programs.universal.js +0 -501
  134. package/build/internal/es/src/loyalty-v1-program-programs.universal.js.map +0 -1
@@ -1,535 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.disablePointsExpiration = exports.enablePointsExpiration = exports.getLoyaltyProgramPremiumFeatures = exports.pauseLoyaltyProgram = exports.activateLoyaltyProgram = exports.updateLoyaltyProgram = exports.bulkGetLoyaltyProgram = exports.getLoyaltyProgram = exports.WebhookIdentityType = exports.FeaturePeriod = exports.DeleteStatus = exports.Namespace = exports.SiteCreatedContext = exports.State = exports.Type = exports.Status = exports.ProgramStatus = void 0;
27
- const transform_error_1 = require("@wix/sdk-runtime/transform-error");
28
- const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
29
- const ambassadorWixLoyaltyV1Program = __importStar(require("./loyalty-v1-program-programs.http.js"));
30
- const image_1 = require("@wix/sdk-runtime/transformations/image");
31
- const image_2 = require("@wix/sdk-runtime/transformations/image");
32
- const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
33
- var ProgramStatus;
34
- (function (ProgramStatus) {
35
- /** Unknown program status. */
36
- ProgramStatus["UNKNOWN"] = "UNKNOWN";
37
- /** Program was created but is not enabled yet. */
38
- ProgramStatus["DRAFT"] = "DRAFT";
39
- /** Program is active. */
40
- ProgramStatus["ACTIVE"] = "ACTIVE";
41
- /** Program was manually disabled by the user. This action can be reverted, meaning the user can set it to be active again. */
42
- ProgramStatus["PAUSED"] = "PAUSED";
43
- })(ProgramStatus || (exports.ProgramStatus = ProgramStatus = {}));
44
- var Status;
45
- (function (Status) {
46
- /** Unknown points expiration status. This value is not used. */
47
- Status["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
48
- /** Points expiration feature is disabled. */
49
- Status["DISABLED"] = "DISABLED";
50
- /** Points expiration feature is enabled. */
51
- Status["ENABLED"] = "ENABLED";
52
- })(Status || (exports.Status = Status = {}));
53
- var Type;
54
- (function (Type) {
55
- /** Unknown social media channel type. */
56
- Type["UNKNOWN_CHANNEL"] = "UNKNOWN_CHANNEL";
57
- /** Facebook social media channel. */
58
- Type["FACEBOOK"] = "FACEBOOK";
59
- /** Instagram social media channel. */
60
- Type["INSTAGRAM"] = "INSTAGRAM";
61
- /** LinkedIn social media channel. */
62
- Type["LINKEDIN"] = "LINKEDIN";
63
- /** X social media channel. */
64
- Type["X"] = "X";
65
- /** TikTok social media channel. */
66
- Type["TIKTOK"] = "TIKTOK";
67
- })(Type || (exports.Type = Type = {}));
68
- var State;
69
- (function (State) {
70
- State["UNKNOWN"] = "UNKNOWN";
71
- State["ENABLED"] = "ENABLED";
72
- State["DISABLED"] = "DISABLED";
73
- State["PENDING"] = "PENDING";
74
- State["DEMO"] = "DEMO";
75
- })(State || (exports.State = State = {}));
76
- var SiteCreatedContext;
77
- (function (SiteCreatedContext) {
78
- /** A valid option, we don't expose all reasons why site might be created. */
79
- SiteCreatedContext["OTHER"] = "OTHER";
80
- /** A meta site was created from template. */
81
- SiteCreatedContext["FROM_TEMPLATE"] = "FROM_TEMPLATE";
82
- /** A meta site was created by copying of the transfferred meta site. */
83
- SiteCreatedContext["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
84
- /** A copy of existing meta site. */
85
- SiteCreatedContext["DUPLICATE"] = "DUPLICATE";
86
- /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
87
- SiteCreatedContext["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
88
- /** deprecated A meta site was created for Flash editor. */
89
- SiteCreatedContext["FLASH"] = "FLASH";
90
- })(SiteCreatedContext || (exports.SiteCreatedContext = SiteCreatedContext = {}));
91
- var Namespace;
92
- (function (Namespace) {
93
- Namespace["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
94
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
95
- Namespace["WIX"] = "WIX";
96
- /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
97
- Namespace["SHOUT_OUT"] = "SHOUT_OUT";
98
- /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
99
- Namespace["ALBUMS"] = "ALBUMS";
100
- /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
101
- Namespace["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
102
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
103
- Namespace["HOTELS"] = "HOTELS";
104
- /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
105
- Namespace["CLUBS"] = "CLUBS";
106
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
107
- Namespace["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
108
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
109
- Namespace["DEV_SITE"] = "DEV_SITE";
110
- /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
111
- Namespace["LOGOS"] = "LOGOS";
112
- /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
113
- Namespace["VIDEO_MAKER"] = "VIDEO_MAKER";
114
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
115
- Namespace["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
116
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
117
- Namespace["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
118
- /**
119
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
120
- *
121
- * Meta site with this namespace will *not* be shown in a user's site list by default.
122
- */
123
- Namespace["HTML_DRAFT"] = "HTML_DRAFT";
124
- /**
125
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
126
- * Will be accessible from Site List and will not have a website app.
127
- * Once the user attaches a site, the site will become a regular wixsite.
128
- */
129
- Namespace["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
130
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
131
- Namespace["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
132
- /** It is to be used in the Business First efforts. */
133
- Namespace["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
134
- /** Bookings business flow with no site. */
135
- Namespace["ANYWHERE"] = "ANYWHERE";
136
- /** Namespace for Headless Backoffice with no editor */
137
- Namespace["HEADLESS"] = "HEADLESS";
138
- /**
139
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
140
- * The site will be used for account level CSM feature for enterprise
141
- */
142
- Namespace["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
143
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
144
- Namespace["RISE"] = "RISE";
145
- /**
146
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
147
- * There's a blank site behind the scene but it's blank).
148
- * The Mobile company will be the owner of this namespace.
149
- */
150
- Namespace["BRANDED_FIRST"] = "BRANDED_FIRST";
151
- /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
152
- Namespace["NOWNIA"] = "NOWNIA";
153
- /**
154
- * UGC Templates are templates that are created by users for personal use and to sale to other users.
155
- * The Partners company owns this namespace.
156
- */
157
- Namespace["UGC_TEMPLATE"] = "UGC_TEMPLATE";
158
- /** Codux Headless Sites */
159
- Namespace["CODUX"] = "CODUX";
160
- /** Bobb - AI Design Creator. */
161
- Namespace["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
162
- /**
163
- * Shared Blog Site is a unique single site across Enterprise account,
164
- * This site will hold all Blog posts related to the Marketing product.
165
- */
166
- Namespace["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
167
- /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
168
- Namespace["STANDALONE_FORMS"] = "STANDALONE_FORMS";
169
- /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
170
- Namespace["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
171
- })(Namespace || (exports.Namespace = Namespace = {}));
172
- var DeleteStatus;
173
- (function (DeleteStatus) {
174
- DeleteStatus["UNKNOWN"] = "UNKNOWN";
175
- DeleteStatus["TRASH"] = "TRASH";
176
- DeleteStatus["DELETED"] = "DELETED";
177
- DeleteStatus["PENDING_PURGE"] = "PENDING_PURGE";
178
- DeleteStatus["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
179
- })(DeleteStatus || (exports.DeleteStatus = DeleteStatus = {}));
180
- /** Determines the reset cycle of the feature usage. */
181
- var FeaturePeriod;
182
- (function (FeaturePeriod) {
183
- FeaturePeriod["NO_PERIOD"] = "NO_PERIOD";
184
- FeaturePeriod["MILLISECOND"] = "MILLISECOND";
185
- FeaturePeriod["SECOND"] = "SECOND";
186
- FeaturePeriod["MINUTE"] = "MINUTE";
187
- FeaturePeriod["HOUR"] = "HOUR";
188
- FeaturePeriod["DAY"] = "DAY";
189
- FeaturePeriod["WEEK"] = "WEEK";
190
- FeaturePeriod["MONTH"] = "MONTH";
191
- FeaturePeriod["YEAR"] = "YEAR";
192
- })(FeaturePeriod || (exports.FeaturePeriod = FeaturePeriod = {}));
193
- var WebhookIdentityType;
194
- (function (WebhookIdentityType) {
195
- WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
196
- WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
197
- WebhookIdentityType["MEMBER"] = "MEMBER";
198
- WebhookIdentityType["WIX_USER"] = "WIX_USER";
199
- WebhookIdentityType["APP"] = "APP";
200
- })(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
201
- /**
202
- * Retrieves the site's loyalty program.
203
- *
204
- * The `getLoyaltyProgram()` function returns a Promise that resolves to the site's loyalty program.
205
- * @public
206
- * @permissionId LOYALTY.READ_PROGRAM
207
- * @permissionScope Read Loyalty
208
- * @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
209
- * @permissionScope Manage Loyalty
210
- * @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
211
- * @permissionScope Manage Restaurants - all permissions
212
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
213
- * @applicableIdentity APP
214
- * @applicableIdentity VISITOR
215
- * @fqn com.wixpress.loyalty.program.LoyaltyPrograms.GetLoyaltyProgram
216
- */
217
- async function getLoyaltyProgram() {
218
- // @ts-ignore
219
- const { httpClient, sideEffects } = arguments[0];
220
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({});
221
- const reqOpts = ambassadorWixLoyaltyV1Program.getLoyaltyProgram(payload);
222
- sideEffects?.onSiteCall?.();
223
- try {
224
- const result = await httpClient.request(reqOpts);
225
- sideEffects?.onSuccess?.(result);
226
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(result.data, [
227
- {
228
- transformFn: image_2.transformRESTImageToSDKImage,
229
- paths: [{ path: 'loyaltyProgram.pointDefinition.icon' }],
230
- },
231
- ]));
232
- }
233
- catch (err) {
234
- const transformedError = (0, transform_error_1.transformError)(err, {
235
- spreadPathsToArguments: {},
236
- explicitPathsToArguments: {},
237
- singleArgumentUnchanged: false,
238
- }, []);
239
- sideEffects?.onError?.(err);
240
- throw transformedError;
241
- }
242
- }
243
- exports.getLoyaltyProgram = getLoyaltyProgram;
244
- /**
245
- * Retrieves loyalty programs for all metasites that the caller is a member of.
246
- *
247
- * Must be called with user identity.
248
- * @public
249
- * @documentationMaturity preview
250
- * @permissionId LOYALTY.PROGRAM_BULK_READ
251
- * @fqn com.wixpress.loyalty.program.LoyaltyPrograms.BulkGetLoyaltyProgram
252
- */
253
- async function bulkGetLoyaltyProgram() {
254
- // @ts-ignore
255
- const { httpClient, sideEffects } = arguments[0];
256
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({});
257
- const reqOpts = ambassadorWixLoyaltyV1Program.bulkGetLoyaltyProgram(payload);
258
- sideEffects?.onSiteCall?.();
259
- try {
260
- const result = await httpClient.request(reqOpts);
261
- sideEffects?.onSuccess?.(result);
262
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(result.data, [
263
- {
264
- transformFn: image_2.transformRESTImageToSDKImage,
265
- paths: [
266
- { path: 'programInSites.loyaltyProgram.pointDefinition.icon' },
267
- ],
268
- },
269
- ]));
270
- }
271
- catch (err) {
272
- const transformedError = (0, transform_error_1.transformError)(err, {
273
- spreadPathsToArguments: {},
274
- explicitPathsToArguments: {},
275
- singleArgumentUnchanged: false,
276
- }, []);
277
- sideEffects?.onError?.(err);
278
- throw transformedError;
279
- }
280
- }
281
- exports.bulkGetLoyaltyProgram = bulkGetLoyaltyProgram;
282
- /**
283
- * Updates the site's loyalty program.
284
- *
285
- * The `updateLoyaltyProgram()` function returns a Promise that resolves when the loyalty program is updated.
286
- *
287
- * With the `updateLoyaltyProgram()` function you can update the name of the loyalty program and the details of the collectible points unit. To activate the loyalty program use the [`activateLoyaltyProgram()`](https://dev.wix.com/docs/sdk/backend-modules/loyalty/programs/activate-loyalty-program) function.
288
- *
289
- * >**Note:** Only visitors with **Manage Loyalty** [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can update a loyalty program. You can override the permissions with the `wix-auth` [`elevate()`](wix-auth/elevate) function.
290
- * @param loyaltyProgram - Loyalty program fields to update.
291
- * @public
292
- * @requiredField loyaltyProgram
293
- * @permissionId LOYALTY.MANAGE_PROGRAM
294
- * @permissionScope Manage Loyalty
295
- * @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
296
- * @permissionScope Manage Restaurants - all permissions
297
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
298
- * @applicableIdentity APP
299
- * @fqn com.wixpress.loyalty.program.LoyaltyPrograms.UpdateLoyaltyProgram
300
- */
301
- async function updateLoyaltyProgram(loyaltyProgram) {
302
- // @ts-ignore
303
- const { httpClient, sideEffects } = arguments[1];
304
- const payload = (0, transform_paths_1.transformPaths)((0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ loyaltyProgram: loyaltyProgram }), [
305
- {
306
- transformFn: image_1.transformSDKImageToRESTImage,
307
- paths: [{ path: 'loyaltyProgram.pointDefinition.icon' }],
308
- },
309
- ]);
310
- const reqOpts = ambassadorWixLoyaltyV1Program.updateLoyaltyProgram(payload);
311
- sideEffects?.onSiteCall?.();
312
- try {
313
- const result = await httpClient.request(reqOpts);
314
- sideEffects?.onSuccess?.(result);
315
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(result.data, [
316
- {
317
- transformFn: image_2.transformRESTImageToSDKImage,
318
- paths: [{ path: 'loyaltyProgram.pointDefinition.icon' }],
319
- },
320
- ]));
321
- }
322
- catch (err) {
323
- const transformedError = (0, transform_error_1.transformError)(err, {
324
- spreadPathsToArguments: {},
325
- explicitPathsToArguments: { loyaltyProgram: '$[0]' },
326
- singleArgumentUnchanged: false,
327
- }, ['loyaltyProgram']);
328
- sideEffects?.onError?.(err);
329
- throw transformedError;
330
- }
331
- }
332
- exports.updateLoyaltyProgram = updateLoyaltyProgram;
333
- /**
334
- * Activates a loyalty program.
335
- *
336
- * The `activateLoyaltyProgram()` function returns a Promise that resolves when the status of the loyalty program is successfully changed to `"ACTIVE"`.
337
- *
338
- * Before you begin, a Wix Loyalty Program must first be installed through your [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/) or through the [Wix App Market](https://www.wix.com/app-market/loyalty). Initially when a loyalty program is installed, the status is set to `"DRAFT"`. You can change the program's status to `"ACTIVE"` with this function or through your [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/). A site's customers can only earn or redeem points while the program status is `"ACTIVE"`.
339
- *
340
- * This function updates only the status of a loyalty program, to make other updates to the program, use the [`updateLoyaltyProgram()`](https://dev.wix.com/docs/sdk/backend-modules/loyalty/programs/update-loyalty-program) function.
341
- *
342
- * To temporarily pause your loyalty program you must follow three steps:
343
- * 1. Remove all [`earnPoints()`](https://dev.wix.com/docs/sdk/backend-modules/loyalty/accounts/earn-points) functions and switch off all the "Earn Points" and "Rewards" toggles in the [Loyalty Program dashboard](https://www.wix.com/my-account/site-selector/?buttonText=Open%20Loyalty%20Program&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https://www.wix.com/dashboard/{{metaSiteId}}/loyalty-accounts/).
344
- * 1. Hide the loyalty page from your site.
345
- * 1. Delete the My Rewards page from the Member pages.
346
- * See [Pausing Your Loyalty Program](https://support.wix.com/en/article/wix-loyalty-program-pausing-your-loyalty-program) for more information.
347
- *
348
- * >**Note:** Only visitors with **Manage Loyalty** [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can activate a loyalty program. You can override the permissions with the `wix-auth` [`elevate()`](wix-auth/elevate) function.
349
- * @public
350
- * @permissionId LOYALTY.MANAGE_PROGRAM
351
- * @permissionScope Manage Loyalty
352
- * @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
353
- * @permissionScope Manage Restaurants - all permissions
354
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
355
- * @applicableIdentity APP
356
- * @fqn com.wixpress.loyalty.program.LoyaltyPrograms.ActivateLoyaltyProgram
357
- */
358
- async function activateLoyaltyProgram() {
359
- // @ts-ignore
360
- const { httpClient, sideEffects } = arguments[0];
361
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({});
362
- const reqOpts = ambassadorWixLoyaltyV1Program.activateLoyaltyProgram(payload);
363
- sideEffects?.onSiteCall?.();
364
- try {
365
- const result = await httpClient.request(reqOpts);
366
- sideEffects?.onSuccess?.(result);
367
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(result.data, [
368
- {
369
- transformFn: image_2.transformRESTImageToSDKImage,
370
- paths: [{ path: 'loyaltyProgram.pointDefinition.icon' }],
371
- },
372
- ]));
373
- }
374
- catch (err) {
375
- const transformedError = (0, transform_error_1.transformError)(err, {
376
- spreadPathsToArguments: {},
377
- explicitPathsToArguments: {},
378
- singleArgumentUnchanged: false,
379
- }, []);
380
- sideEffects?.onError?.(err);
381
- throw transformedError;
382
- }
383
- }
384
- exports.activateLoyaltyProgram = activateLoyaltyProgram;
385
- /**
386
- * Changes the program status to `PAUSED`.
387
- * @public
388
- * @permissionId LOYALTY.MANAGE_PROGRAM
389
- * @permissionScope Manage Loyalty
390
- * @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
391
- * @permissionScope Manage Restaurants - all permissions
392
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
393
- * @applicableIdentity APP
394
- * @fqn com.wixpress.loyalty.program.LoyaltyPrograms.PauseLoyaltyProgram
395
- */
396
- async function pauseLoyaltyProgram() {
397
- // @ts-ignore
398
- const { httpClient, sideEffects } = arguments[0];
399
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({});
400
- const reqOpts = ambassadorWixLoyaltyV1Program.pauseLoyaltyProgram(payload);
401
- sideEffects?.onSiteCall?.();
402
- try {
403
- const result = await httpClient.request(reqOpts);
404
- sideEffects?.onSuccess?.(result);
405
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(result.data, [
406
- {
407
- transformFn: image_2.transformRESTImageToSDKImage,
408
- paths: [{ path: 'loyaltyProgram.pointDefinition.icon' }],
409
- },
410
- ]));
411
- }
412
- catch (err) {
413
- const transformedError = (0, transform_error_1.transformError)(err, {
414
- spreadPathsToArguments: {},
415
- explicitPathsToArguments: {},
416
- singleArgumentUnchanged: false,
417
- }, []);
418
- sideEffects?.onError?.(err);
419
- throw transformedError;
420
- }
421
- }
422
- exports.pauseLoyaltyProgram = pauseLoyaltyProgram;
423
- /**
424
- * Retrieves information about the available loyalty program premium features.
425
- * @public
426
- * @permissionId LOYALTY.READ_PROGRAM
427
- * @permissionScope Read Loyalty
428
- * @permissionScopeId SCOPE.DC-LOYALTY.READ-LOYALTY
429
- * @permissionScope Manage Loyalty
430
- * @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
431
- * @permissionScope Manage Restaurants - all permissions
432
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
433
- * @applicableIdentity APP
434
- * @applicableIdentity VISITOR
435
- * @fqn com.wixpress.loyalty.program.LoyaltyPrograms.GetLoyaltyProgramPremiumFeatures
436
- */
437
- async function getLoyaltyProgramPremiumFeatures() {
438
- // @ts-ignore
439
- const { httpClient, sideEffects } = arguments[0];
440
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({});
441
- const reqOpts = ambassadorWixLoyaltyV1Program.getLoyaltyProgramPremiumFeatures(payload);
442
- sideEffects?.onSiteCall?.();
443
- try {
444
- const result = await httpClient.request(reqOpts);
445
- sideEffects?.onSuccess?.(result);
446
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
447
- }
448
- catch (err) {
449
- const transformedError = (0, transform_error_1.transformError)(err, {
450
- spreadPathsToArguments: {},
451
- explicitPathsToArguments: {},
452
- singleArgumentUnchanged: false,
453
- }, []);
454
- sideEffects?.onError?.(err);
455
- throw transformedError;
456
- }
457
- }
458
- exports.getLoyaltyProgramPremiumFeatures = getLoyaltyProgramPremiumFeatures;
459
- /**
460
- * Updates the `pointsExpiration` status to `ENABLED`.
461
- * @public
462
- * @permissionId LOYALTY.MANAGE_PROGRAM
463
- * @permissionScope Manage Loyalty
464
- * @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
465
- * @permissionScope Manage Restaurants - all permissions
466
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
467
- * @applicableIdentity APP
468
- * @fqn com.wixpress.loyalty.program.LoyaltyPrograms.EnablePointsExpiration
469
- */
470
- async function enablePointsExpiration() {
471
- // @ts-ignore
472
- const { httpClient, sideEffects } = arguments[0];
473
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({});
474
- const reqOpts = ambassadorWixLoyaltyV1Program.enablePointsExpiration(payload);
475
- sideEffects?.onSiteCall?.();
476
- try {
477
- const result = await httpClient.request(reqOpts);
478
- sideEffects?.onSuccess?.(result);
479
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(result.data, [
480
- {
481
- transformFn: image_2.transformRESTImageToSDKImage,
482
- paths: [{ path: 'loyaltyProgram.pointDefinition.icon' }],
483
- },
484
- ]));
485
- }
486
- catch (err) {
487
- const transformedError = (0, transform_error_1.transformError)(err, {
488
- spreadPathsToArguments: {},
489
- explicitPathsToArguments: {},
490
- singleArgumentUnchanged: false,
491
- }, []);
492
- sideEffects?.onError?.(err);
493
- throw transformedError;
494
- }
495
- }
496
- exports.enablePointsExpiration = enablePointsExpiration;
497
- /**
498
- * Updates the `pointsExpiration` status to `DISABLED`.
499
- * @public
500
- * @permissionId LOYALTY.MANAGE_PROGRAM
501
- * @permissionScope Manage Loyalty
502
- * @permissionScopeId SCOPE.DC-LOYALTY.MANAGE-LOYALTY
503
- * @permissionScope Manage Restaurants - all permissions
504
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
505
- * @applicableIdentity APP
506
- * @fqn com.wixpress.loyalty.program.LoyaltyPrograms.DisablePointsExpiration
507
- */
508
- async function disablePointsExpiration() {
509
- // @ts-ignore
510
- const { httpClient, sideEffects } = arguments[0];
511
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({});
512
- const reqOpts = ambassadorWixLoyaltyV1Program.disablePointsExpiration(payload);
513
- sideEffects?.onSiteCall?.();
514
- try {
515
- const result = await httpClient.request(reqOpts);
516
- sideEffects?.onSuccess?.(result);
517
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(result.data, [
518
- {
519
- transformFn: image_2.transformRESTImageToSDKImage,
520
- paths: [{ path: 'loyaltyProgram.pointDefinition.icon' }],
521
- },
522
- ]));
523
- }
524
- catch (err) {
525
- const transformedError = (0, transform_error_1.transformError)(err, {
526
- spreadPathsToArguments: {},
527
- explicitPathsToArguments: {},
528
- singleArgumentUnchanged: false,
529
- }, []);
530
- sideEffects?.onError?.(err);
531
- throw transformedError;
532
- }
533
- }
534
- exports.disablePointsExpiration = disablePointsExpiration;
535
- //# sourceMappingURL=loyalty-v1-program-programs.universal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loyalty-v1-program-programs.universal.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-program-programs.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,qGAAuF;AACvF,kEAAsF;AACtF,kEAAsF;AACtF,sFAAkF;AAqElF,IAAY,aASX;AATD,WAAY,aAAa;IACvB,8BAA8B;IAC9B,oCAAmB,CAAA;IACnB,kDAAkD;IAClD,gCAAe,CAAA;IACf,yBAAyB;IACzB,kCAAiB,CAAA;IACjB,8HAA8H;IAC9H,kCAAiB,CAAA;AACnB,CAAC,EATW,aAAa,6BAAb,aAAa,QASxB;AAsBD,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,gEAAgE;IAChE,2CAAiC,CAAA;IACjC,6CAA6C;IAC7C,+BAAqB,CAAA;IACrB,4CAA4C;IAC5C,6BAAmB,CAAA;AACrB,CAAC,EAPW,MAAM,sBAAN,MAAM,QAOjB;AA+CD,IAAY,IAaX;AAbD,WAAY,IAAI;IACd,yCAAyC;IACzC,2CAAmC,CAAA;IACnC,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,sCAAsC;IACtC,+BAAuB,CAAA;IACvB,qCAAqC;IACrC,6BAAqB,CAAA;IACrB,8BAA8B;IAC9B,eAAO,CAAA;IACP,mCAAmC;IACnC,yBAAiB,CAAA;AACn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B;gBACE,WAAW,EAAE,oCAA4B;gBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,qCAAqC,EAAE,CAAC;aACzD;SACF,CAAC,CACF,CAAC;IACL,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA1CD,0DA0CC"}
@@ -1 +0,0 @@
1
- export * from './src/loyalty-v1-program-programs.context.js';
@@ -1,2 +0,0 @@
1
- export * from './src/loyalty-v1-program-programs.context.js';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC"}
@@ -1 +0,0 @@
1
- export * from './src/loyalty-v1-program-programs.universal.js';
@@ -1,2 +0,0 @@
1
- export * from './src/loyalty-v1-program-programs.universal.js';
2
- //# sourceMappingURL=index.typings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":"AAAA,cAAc,gDAAgD,CAAC"}
@@ -1 +0,0 @@
1
- export * from './src/loyalty-v1-program-programs.meta.js';
@@ -1,2 +0,0 @@
1
- export * from './src/loyalty-v1-program-programs.meta.js';
2
- //# sourceMappingURL=meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../meta.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC"}
@@ -1,18 +0,0 @@
1
- import { getLoyaltyProgram as publicGetLoyaltyProgram, bulkGetLoyaltyProgram as publicBulkGetLoyaltyProgram, updateLoyaltyProgram as publicUpdateLoyaltyProgram, activateLoyaltyProgram as publicActivateLoyaltyProgram, pauseLoyaltyProgram as publicPauseLoyaltyProgram, getLoyaltyProgramPremiumFeatures as publicGetLoyaltyProgramPremiumFeatures, enablePointsExpiration as publicEnablePointsExpiration, disablePointsExpiration as publicDisablePointsExpiration } from './loyalty-v1-program-programs.public.js';
2
- import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
3
- import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
4
- import { onProgramUpdated as publicOnProgramUpdated } from './loyalty-v1-program-programs.public.js';
5
- export declare const getLoyaltyProgram: MaybeContext<BuildRESTFunction<typeof publicGetLoyaltyProgram> & typeof publicGetLoyaltyProgram>;
6
- export declare const bulkGetLoyaltyProgram: MaybeContext<BuildRESTFunction<typeof publicBulkGetLoyaltyProgram> & typeof publicBulkGetLoyaltyProgram>;
7
- export declare const updateLoyaltyProgram: MaybeContext<BuildRESTFunction<typeof publicUpdateLoyaltyProgram> & typeof publicUpdateLoyaltyProgram>;
8
- export declare const activateLoyaltyProgram: MaybeContext<BuildRESTFunction<typeof publicActivateLoyaltyProgram> & typeof publicActivateLoyaltyProgram>;
9
- export declare const pauseLoyaltyProgram: MaybeContext<BuildRESTFunction<typeof publicPauseLoyaltyProgram> & typeof publicPauseLoyaltyProgram>;
10
- export declare const getLoyaltyProgramPremiumFeatures: MaybeContext<BuildRESTFunction<typeof publicGetLoyaltyProgramPremiumFeatures> & typeof publicGetLoyaltyProgramPremiumFeatures>;
11
- export declare const enablePointsExpiration: MaybeContext<BuildRESTFunction<typeof publicEnablePointsExpiration> & typeof publicEnablePointsExpiration>;
12
- export declare const disablePointsExpiration: MaybeContext<BuildRESTFunction<typeof publicDisablePointsExpiration> & typeof publicDisablePointsExpiration>;
13
- /**
14
- * Triggered when a loyalty program is updated.
15
- */
16
- export declare const onProgramUpdated: ReturnType<typeof createEventModule<typeof publicOnProgramUpdated>>;
17
- export { ProgramStatus, Status, Type, State, SiteCreatedContext, Namespace, DeleteStatus, FeaturePeriod, WebhookIdentityType, } from './loyalty-v1-program-programs.universal.js';
18
- export { LoyaltyProgram, PointDefinition, FocalPoint, PointsExpiration, PremiumFeatures, SocialMediaSettings, SocialMediaChannel, GetLoyaltyProgramRequest, GetLoyaltyProgramResponse, BulkGetLoyaltyProgramRequest, BulkGetLoyaltyProgramResponse, ProgramInSite, UpdateLoyaltyProgramRequest, UpdateLoyaltyProgramResponse, PointsExpirationConfigurationChanged, PointsExpirationChanges, ActivateLoyaltyProgramRequest, ActivateLoyaltyProgramResponse, LoyaltyProgramActivated, PauseLoyaltyProgramRequest, PauseLoyaltyProgramResponse, GetLoyaltyProgramDescriptionRequest, GetLoyaltyProgramDescriptionResponse, UpdateLoyaltyProgramDescriptionRequest, UpdateLoyaltyProgramDescriptionResponse, LoyaltyProgramDescriptionUpdated, GetLoyaltyProgramPremiumFeaturesRequest, GetLoyaltyProgramPremiumFeaturesResponse, EnablePointsExpirationRequest, EnablePointsExpirationResponse, PointsExpirationEnabled, DisablePointsExpirationRequest, DisablePointsExpirationResponse, PointsExpirationDisabled, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Asset, SiteCreated, SiteTransferred, SiteDeleted, DeleteContext, SiteUndeleted, SitePublished, SiteUnpublished, SiteMarkedAsTemplate, SiteMarkedAsWixSite, ServiceProvisioned, ServiceRemoved, SiteRenamed, SiteHardDeleted, NamespaceChanged, StudioAssigned, StudioUnassigned, SiteUrlChanged, SitePurgedExternally, Empty, FeatureEvent, FeatureEventEventOneOf, FeatureEnabled, FeatureEnabledReasonOneOf, Feature, FeatureQuantityInfoOneOf, FeatureContext, BooleanFeature, QuotaFeature, QuotaInfo, TransferredFromAnotherAccountReason, ReassignedFromSiteReason, AssignedFromFloatingReason, NewFeatureReason, ContractSwitchedReason, ManualFeatureCreationReason, MigratedFromLegacyReason, FeatureDisabled, FeatureDisabledReasonOneOf, UnAssingedToFloatingReason, ReplacedByAnotherSubscriptionReason, ReassignedToAnotherSiteReason, FeatureUpdated, FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf, FeatureCancelled, FeatureCancelledReasonOneOf, TransferredToAnotherAccountReason, CancelRequestedReason, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GetLoyaltyProgramResponseNonNullableFields, BulkGetLoyaltyProgramResponseNonNullableFields, UpdateLoyaltyProgramResponseNonNullableFields, ActivateLoyaltyProgramResponseNonNullableFields, PauseLoyaltyProgramResponseNonNullableFields, GetLoyaltyProgramPremiumFeaturesResponseNonNullableFields, EnablePointsExpirationResponseNonNullableFields, DisablePointsExpirationResponseNonNullableFields, BaseEventMetadata, EventMetadata, ProgramUpdatedEnvelope, } from './loyalty-v1-program-programs.universal.js';
@@ -1,18 +0,0 @@
1
- import { getLoyaltyProgram as publicGetLoyaltyProgram, bulkGetLoyaltyProgram as publicBulkGetLoyaltyProgram, updateLoyaltyProgram as publicUpdateLoyaltyProgram, activateLoyaltyProgram as publicActivateLoyaltyProgram, pauseLoyaltyProgram as publicPauseLoyaltyProgram, getLoyaltyProgramPremiumFeatures as publicGetLoyaltyProgramPremiumFeatures, enablePointsExpiration as publicEnablePointsExpiration, disablePointsExpiration as publicDisablePointsExpiration, } from './loyalty-v1-program-programs.public.js';
2
- import { createRESTModule } from '@wix/sdk-runtime/rest-modules';
3
- import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
4
- import { onProgramUpdated as publicOnProgramUpdated } from './loyalty-v1-program-programs.public.js';
5
- export const getLoyaltyProgram = /*#__PURE__*/ createRESTModule(publicGetLoyaltyProgram);
6
- export const bulkGetLoyaltyProgram = /*#__PURE__*/ createRESTModule(publicBulkGetLoyaltyProgram);
7
- export const updateLoyaltyProgram = /*#__PURE__*/ createRESTModule(publicUpdateLoyaltyProgram);
8
- export const activateLoyaltyProgram = /*#__PURE__*/ createRESTModule(publicActivateLoyaltyProgram);
9
- export const pauseLoyaltyProgram = /*#__PURE__*/ createRESTModule(publicPauseLoyaltyProgram);
10
- export const getLoyaltyProgramPremiumFeatures = /*#__PURE__*/ createRESTModule(publicGetLoyaltyProgramPremiumFeatures);
11
- export const enablePointsExpiration = /*#__PURE__*/ createRESTModule(publicEnablePointsExpiration);
12
- export const disablePointsExpiration = /*#__PURE__*/ createRESTModule(publicDisablePointsExpiration);
13
- /**
14
- * Triggered when a loyalty program is updated.
15
- */
16
- export const onProgramUpdated = createEventModule(publicOnProgramUpdated);
17
- export { ProgramStatus, Status, Type, State, SiteCreatedContext, Namespace, DeleteStatus, FeaturePeriod, WebhookIdentityType, } from './loyalty-v1-program-programs.universal.js';
18
- //# sourceMappingURL=loyalty-v1-program-programs.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loyalty-v1-program-programs.context.js","sourceRoot":"","sources":["../../../../src/loyalty-v1-program-programs.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,IAAI,uBAAuB,EAC5C,qBAAqB,IAAI,2BAA2B,EACpD,oBAAoB,IAAI,0BAA0B,EAClD,sBAAsB,IAAI,4BAA4B,EACtD,mBAAmB,IAAI,yBAAyB,EAChD,gCAAgC,IAAI,sCAAsC,EAC1E,sBAAsB,IAAI,4BAA4B,EACtD,uBAAuB,IAAI,6BAA6B,GACzD,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAErG,MAAM,CAAC,MAAM,iBAAiB,GAG1B,aAAa,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAC;AAC5D,MAAM,CAAC,MAAM,qBAAqB,GAG9B,aAAa,CAAC,gBAA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