@wix/auto_sdk_loyalty_coupons 1.0.5 → 1.0.7

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 (129) hide show
  1. package/build/index.d.mts +100 -0
  2. package/build/index.d.ts +100 -0
  3. package/build/index.js +753 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +717 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +100 -0
  8. package/build/internal/index.d.ts +100 -0
  9. package/build/internal/index.js +753 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +717 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/{cjs/src/loyalty-v1-coupon-coupons.universal.d.ts → loyalty-v1-coupon-coupons.universal-BpPn8h94.d.mts} +58 -260
  14. package/build/internal/{es/src/loyalty-v1-coupon-coupons.universal.d.ts → loyalty-v1-coupon-coupons.universal-BpPn8h94.d.ts} +58 -260
  15. package/build/internal/{cjs/src/loyalty-v1-coupon-coupons.types.d.ts → meta.d.mts} +60 -253
  16. package/build/{es/src/loyalty-v1-coupon-coupons.types.d.ts → internal/meta.d.ts} +60 -253
  17. package/build/internal/meta.js +515 -0
  18. package/build/internal/meta.js.map +1 -0
  19. package/build/internal/meta.mjs +482 -0
  20. package/build/internal/meta.mjs.map +1 -0
  21. package/build/{cjs/src/loyalty-v1-coupon-coupons.universal.d.ts → loyalty-v1-coupon-coupons.universal-BpPn8h94.d.mts} +58 -260
  22. package/build/{es/src/loyalty-v1-coupon-coupons.universal.d.ts → loyalty-v1-coupon-coupons.universal-BpPn8h94.d.ts} +58 -260
  23. package/build/{cjs/src/loyalty-v1-coupon-coupons.types.d.ts → meta.d.mts} +60 -253
  24. package/build/{internal/es/src/loyalty-v1-coupon-coupons.types.d.ts → meta.d.ts} +60 -253
  25. package/build/meta.js +515 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +482 -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-coupon-coupons.context.d.ts +0 -22
  40. package/build/cjs/src/loyalty-v1-coupon-coupons.context.js +0 -29
  41. package/build/cjs/src/loyalty-v1-coupon-coupons.context.js.map +0 -1
  42. package/build/cjs/src/loyalty-v1-coupon-coupons.http.d.ts +0 -43
  43. package/build/cjs/src/loyalty-v1-coupon-coupons.http.js +0 -389
  44. package/build/cjs/src/loyalty-v1-coupon-coupons.http.js.map +0 -1
  45. package/build/cjs/src/loyalty-v1-coupon-coupons.meta.d.ts +0 -23
  46. package/build/cjs/src/loyalty-v1-coupon-coupons.meta.js +0 -161
  47. package/build/cjs/src/loyalty-v1-coupon-coupons.meta.js.map +0 -1
  48. package/build/cjs/src/loyalty-v1-coupon-coupons.public.d.ts +0 -85
  49. package/build/cjs/src/loyalty-v1-coupon-coupons.public.js +0 -98
  50. package/build/cjs/src/loyalty-v1-coupon-coupons.public.js.map +0 -1
  51. package/build/cjs/src/loyalty-v1-coupon-coupons.types.js +0 -41
  52. package/build/cjs/src/loyalty-v1-coupon-coupons.types.js.map +0 -1
  53. package/build/cjs/src/loyalty-v1-coupon-coupons.universal.js +0 -370
  54. package/build/cjs/src/loyalty-v1-coupon-coupons.universal.js.map +0 -1
  55. package/build/es/index.d.ts +0 -1
  56. package/build/es/index.js +0 -2
  57. package/build/es/index.js.map +0 -1
  58. package/build/es/index.typings.d.ts +0 -1
  59. package/build/es/index.typings.js +0 -2
  60. package/build/es/index.typings.js.map +0 -1
  61. package/build/es/meta.d.ts +0 -1
  62. package/build/es/meta.js +0 -2
  63. package/build/es/meta.js.map +0 -1
  64. package/build/es/src/loyalty-v1-coupon-coupons.context.d.ts +0 -22
  65. package/build/es/src/loyalty-v1-coupon-coupons.context.js +0 -22
  66. package/build/es/src/loyalty-v1-coupon-coupons.context.js.map +0 -1
  67. package/build/es/src/loyalty-v1-coupon-coupons.http.d.ts +0 -43
  68. package/build/es/src/loyalty-v1-coupon-coupons.http.js +0 -379
  69. package/build/es/src/loyalty-v1-coupon-coupons.http.js.map +0 -1
  70. package/build/es/src/loyalty-v1-coupon-coupons.meta.d.ts +0 -23
  71. package/build/es/src/loyalty-v1-coupon-coupons.meta.js +0 -128
  72. package/build/es/src/loyalty-v1-coupon-coupons.meta.js.map +0 -1
  73. package/build/es/src/loyalty-v1-coupon-coupons.public.d.ts +0 -85
  74. package/build/es/src/loyalty-v1-coupon-coupons.public.js +0 -84
  75. package/build/es/src/loyalty-v1-coupon-coupons.public.js.map +0 -1
  76. package/build/es/src/loyalty-v1-coupon-coupons.types.js +0 -38
  77. package/build/es/src/loyalty-v1-coupon-coupons.types.js.map +0 -1
  78. package/build/es/src/loyalty-v1-coupon-coupons.universal.js +0 -337
  79. package/build/es/src/loyalty-v1-coupon-coupons.universal.js.map +0 -1
  80. package/build/internal/cjs/index.d.ts +0 -1
  81. package/build/internal/cjs/index.js +0 -18
  82. package/build/internal/cjs/index.js.map +0 -1
  83. package/build/internal/cjs/index.typings.d.ts +0 -1
  84. package/build/internal/cjs/index.typings.js +0 -18
  85. package/build/internal/cjs/index.typings.js.map +0 -1
  86. package/build/internal/cjs/meta.d.ts +0 -1
  87. package/build/internal/cjs/meta.js +0 -18
  88. package/build/internal/cjs/meta.js.map +0 -1
  89. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.context.d.ts +0 -22
  90. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.context.js +0 -29
  91. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.context.js.map +0 -1
  92. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.http.d.ts +0 -43
  93. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.http.js +0 -389
  94. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.http.js.map +0 -1
  95. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.meta.d.ts +0 -23
  96. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.meta.js +0 -161
  97. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.meta.js.map +0 -1
  98. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.public.d.ts +0 -85
  99. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.public.js +0 -98
  100. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.public.js.map +0 -1
  101. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.types.js +0 -41
  102. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.types.js.map +0 -1
  103. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.universal.js +0 -370
  104. package/build/internal/cjs/src/loyalty-v1-coupon-coupons.universal.js.map +0 -1
  105. package/build/internal/es/index.d.ts +0 -1
  106. package/build/internal/es/index.js +0 -2
  107. package/build/internal/es/index.js.map +0 -1
  108. package/build/internal/es/index.typings.d.ts +0 -1
  109. package/build/internal/es/index.typings.js +0 -2
  110. package/build/internal/es/index.typings.js.map +0 -1
  111. package/build/internal/es/meta.d.ts +0 -1
  112. package/build/internal/es/meta.js +0 -2
  113. package/build/internal/es/meta.js.map +0 -1
  114. package/build/internal/es/src/loyalty-v1-coupon-coupons.context.d.ts +0 -22
  115. package/build/internal/es/src/loyalty-v1-coupon-coupons.context.js +0 -22
  116. package/build/internal/es/src/loyalty-v1-coupon-coupons.context.js.map +0 -1
  117. package/build/internal/es/src/loyalty-v1-coupon-coupons.http.d.ts +0 -43
  118. package/build/internal/es/src/loyalty-v1-coupon-coupons.http.js +0 -379
  119. package/build/internal/es/src/loyalty-v1-coupon-coupons.http.js.map +0 -1
  120. package/build/internal/es/src/loyalty-v1-coupon-coupons.meta.d.ts +0 -23
  121. package/build/internal/es/src/loyalty-v1-coupon-coupons.meta.js +0 -128
  122. package/build/internal/es/src/loyalty-v1-coupon-coupons.meta.js.map +0 -1
  123. package/build/internal/es/src/loyalty-v1-coupon-coupons.public.d.ts +0 -85
  124. package/build/internal/es/src/loyalty-v1-coupon-coupons.public.js +0 -84
  125. package/build/internal/es/src/loyalty-v1-coupon-coupons.public.js.map +0 -1
  126. package/build/internal/es/src/loyalty-v1-coupon-coupons.types.js +0 -38
  127. package/build/internal/es/src/loyalty-v1-coupon-coupons.types.js.map +0 -1
  128. package/build/internal/es/src/loyalty-v1-coupon-coupons.universal.js +0 -337
  129. package/build/internal/es/src/loyalty-v1-coupon-coupons.universal.js.map +0 -1
package/build/meta.mjs ADDED
@@ -0,0 +1,482 @@
1
+ // src/loyalty-v1-coupon-coupons.http.ts
2
+ import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
3
+ import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
4
+ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
5
+ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
6
+ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
7
+ function resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl(opts) {
8
+ const domainToMappings = {
9
+ "manage._base_domain_": [
10
+ {
11
+ srcPath: "/_api/loyalty-coupons",
12
+ destPath: ""
13
+ }
14
+ ],
15
+ _: [
16
+ {
17
+ srcPath: "/_api/loyalty-coupons",
18
+ destPath: ""
19
+ }
20
+ ],
21
+ "editor.wixapps.net": [
22
+ {
23
+ srcPath: "/_api/loyalty-coupons",
24
+ destPath: ""
25
+ }
26
+ ],
27
+ "editor._base_domain_": [
28
+ {
29
+ srcPath: "/_api/loyalty-coupons",
30
+ destPath: ""
31
+ }
32
+ ],
33
+ "blocks._base_domain_": [
34
+ {
35
+ srcPath: "/_api/loyalty-coupons",
36
+ destPath: ""
37
+ }
38
+ ],
39
+ "create.editorx": [
40
+ {
41
+ srcPath: "/_api/loyalty-coupons",
42
+ destPath: ""
43
+ }
44
+ ],
45
+ "www._base_domain_": [
46
+ {
47
+ srcPath: "/_api/loyalty-coupons",
48
+ destPath: ""
49
+ }
50
+ ],
51
+ "*.dev.wix-code.com": [
52
+ {
53
+ srcPath: "/_api/loyalty-coupons",
54
+ destPath: ""
55
+ }
56
+ ],
57
+ "*.pub.wix-code.com": [
58
+ {
59
+ srcPath: "/_api/loyalty-coupons",
60
+ destPath: ""
61
+ }
62
+ ],
63
+ "api._api_base_domain_": [
64
+ {
65
+ srcPath: "/loyalty-coupons",
66
+ destPath: ""
67
+ }
68
+ ],
69
+ "www.wixapis.com": [
70
+ {
71
+ srcPath: "/loyalty-coupons",
72
+ destPath: ""
73
+ }
74
+ ]
75
+ };
76
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
77
+ }
78
+ var PACKAGE_NAME = "@wix/auto_sdk_loyalty_coupons";
79
+ function redeemPointsForCoupon(payload) {
80
+ function __redeemPointsForCoupon({ host }) {
81
+ const metadata = {
82
+ entityFqdn: "wix.loyalty.v1.coupon",
83
+ method: "POST",
84
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.RedeemPointsForCoupon",
85
+ packageName: PACKAGE_NAME,
86
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
87
+ protoPath: "/v1/coupons",
88
+ data: payload,
89
+ host
90
+ }),
91
+ data: payload,
92
+ transformResponse: (payload2) => transformPaths(payload2, [
93
+ {
94
+ transformFn: transformRESTTimestampToSDKTimestamp,
95
+ paths: [
96
+ { path: "coupon.createdDate" },
97
+ { path: "coupon.updatedDate" }
98
+ ]
99
+ },
100
+ {
101
+ transformFn: transformRESTFloatToSDKFloat,
102
+ paths: [
103
+ { path: "coupon.couponReference.specification.moneyOffAmount" },
104
+ { path: "coupon.couponReference.specification.percentOffRate" },
105
+ { path: "coupon.couponReference.specification.fixedPriceAmount" },
106
+ { path: "coupon.couponReference.specification.minimumSubtotal" }
107
+ ]
108
+ }
109
+ ])
110
+ };
111
+ return metadata;
112
+ }
113
+ return __redeemPointsForCoupon;
114
+ }
115
+ function redeemCurrentMemberPointsForCoupon(payload) {
116
+ function __redeemCurrentMemberPointsForCoupon({ host }) {
117
+ const metadata = {
118
+ entityFqdn: "wix.loyalty.v1.coupon",
119
+ method: "POST",
120
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.RedeemCurrentMemberPointsForCoupon",
121
+ packageName: PACKAGE_NAME,
122
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
123
+ protoPath: "/v1/coupons/redeem-my-coupon",
124
+ data: payload,
125
+ host
126
+ }),
127
+ data: payload,
128
+ transformResponse: (payload2) => transformPaths(payload2, [
129
+ {
130
+ transformFn: transformRESTTimestampToSDKTimestamp,
131
+ paths: [
132
+ { path: "coupon.createdDate" },
133
+ { path: "coupon.updatedDate" }
134
+ ]
135
+ },
136
+ {
137
+ transformFn: transformRESTFloatToSDKFloat,
138
+ paths: [
139
+ { path: "coupon.couponReference.specification.moneyOffAmount" },
140
+ { path: "coupon.couponReference.specification.percentOffRate" },
141
+ { path: "coupon.couponReference.specification.fixedPriceAmount" },
142
+ { path: "coupon.couponReference.specification.minimumSubtotal" }
143
+ ]
144
+ }
145
+ ])
146
+ };
147
+ return metadata;
148
+ }
149
+ return __redeemCurrentMemberPointsForCoupon;
150
+ }
151
+ function getLoyaltyCoupon(payload) {
152
+ function __getLoyaltyCoupon({ host }) {
153
+ const metadata = {
154
+ entityFqdn: "wix.loyalty.v1.coupon",
155
+ method: "GET",
156
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.GetLoyaltyCoupon",
157
+ packageName: PACKAGE_NAME,
158
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
159
+ protoPath: "/v1/coupons/{loyaltyCouponId}",
160
+ data: payload,
161
+ host
162
+ }),
163
+ params: toURLSearchParams(payload),
164
+ transformResponse: (payload2) => transformPaths(payload2, [
165
+ {
166
+ transformFn: transformRESTTimestampToSDKTimestamp,
167
+ paths: [
168
+ { path: "loyaltyCoupon.createdDate" },
169
+ { path: "loyaltyCoupon.updatedDate" }
170
+ ]
171
+ },
172
+ {
173
+ transformFn: transformRESTFloatToSDKFloat,
174
+ paths: [
175
+ {
176
+ path: "loyaltyCoupon.couponReference.specification.moneyOffAmount"
177
+ },
178
+ {
179
+ path: "loyaltyCoupon.couponReference.specification.percentOffRate"
180
+ },
181
+ {
182
+ path: "loyaltyCoupon.couponReference.specification.fixedPriceAmount"
183
+ },
184
+ {
185
+ path: "loyaltyCoupon.couponReference.specification.minimumSubtotal"
186
+ }
187
+ ]
188
+ }
189
+ ])
190
+ };
191
+ return metadata;
192
+ }
193
+ return __getLoyaltyCoupon;
194
+ }
195
+ function bulkGetLoyaltyCoupon(payload) {
196
+ function __bulkGetLoyaltyCoupon({ host }) {
197
+ const metadata = {
198
+ entityFqdn: "wix.loyalty.v1.coupon",
199
+ method: "GET",
200
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.BulkGetLoyaltyCoupon",
201
+ packageName: PACKAGE_NAME,
202
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
203
+ protoPath: "/v1/bulk/coupons",
204
+ data: payload,
205
+ host
206
+ }),
207
+ params: toURLSearchParams(payload, true),
208
+ transformResponse: (payload2) => transformPaths(payload2, [
209
+ {
210
+ transformFn: transformRESTTimestampToSDKTimestamp,
211
+ paths: [
212
+ { path: "couponsInSite.loyaltyCoupons.createdDate" },
213
+ { path: "couponsInSite.loyaltyCoupons.updatedDate" }
214
+ ]
215
+ },
216
+ {
217
+ transformFn: transformRESTFloatToSDKFloat,
218
+ paths: [
219
+ {
220
+ path: "couponsInSite.loyaltyCoupons.couponReference.specification.moneyOffAmount"
221
+ },
222
+ {
223
+ path: "couponsInSite.loyaltyCoupons.couponReference.specification.percentOffRate"
224
+ },
225
+ {
226
+ path: "couponsInSite.loyaltyCoupons.couponReference.specification.fixedPriceAmount"
227
+ },
228
+ {
229
+ path: "couponsInSite.loyaltyCoupons.couponReference.specification.minimumSubtotal"
230
+ }
231
+ ]
232
+ }
233
+ ])
234
+ };
235
+ return metadata;
236
+ }
237
+ return __bulkGetLoyaltyCoupon;
238
+ }
239
+ function getCurrentMemberCoupons(payload) {
240
+ function __getCurrentMemberCoupons({ host }) {
241
+ const metadata = {
242
+ entityFqdn: "wix.loyalty.v1.coupon",
243
+ method: "GET",
244
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.GetCurrentMemberCoupons",
245
+ packageName: PACKAGE_NAME,
246
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
247
+ protoPath: "/v1/coupons/my-coupons",
248
+ data: payload,
249
+ host
250
+ }),
251
+ params: toURLSearchParams(payload),
252
+ transformResponse: (payload2) => transformPaths(payload2, [
253
+ {
254
+ transformFn: transformRESTTimestampToSDKTimestamp,
255
+ paths: [
256
+ { path: "loyaltyCoupons.createdDate" },
257
+ { path: "loyaltyCoupons.updatedDate" }
258
+ ]
259
+ },
260
+ {
261
+ transformFn: transformRESTFloatToSDKFloat,
262
+ paths: [
263
+ {
264
+ path: "loyaltyCoupons.couponReference.specification.moneyOffAmount"
265
+ },
266
+ {
267
+ path: "loyaltyCoupons.couponReference.specification.percentOffRate"
268
+ },
269
+ {
270
+ path: "loyaltyCoupons.couponReference.specification.fixedPriceAmount"
271
+ },
272
+ {
273
+ path: "loyaltyCoupons.couponReference.specification.minimumSubtotal"
274
+ }
275
+ ]
276
+ }
277
+ ])
278
+ };
279
+ return metadata;
280
+ }
281
+ return __getCurrentMemberCoupons;
282
+ }
283
+ function queryLoyaltyCoupon(payload) {
284
+ function __queryLoyaltyCoupon({ host }) {
285
+ const metadata = {
286
+ entityFqdn: "wix.loyalty.v1.coupon",
287
+ method: "POST",
288
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.QueryLoyaltyCoupon",
289
+ packageName: PACKAGE_NAME,
290
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
291
+ protoPath: "/v1/coupons/query",
292
+ data: payload,
293
+ host
294
+ }),
295
+ data: payload,
296
+ transformResponse: (payload2) => transformPaths(payload2, [
297
+ {
298
+ transformFn: transformRESTTimestampToSDKTimestamp,
299
+ paths: [
300
+ { path: "loyaltyCoupons.createdDate" },
301
+ { path: "loyaltyCoupons.updatedDate" }
302
+ ]
303
+ },
304
+ {
305
+ transformFn: transformRESTFloatToSDKFloat,
306
+ paths: [
307
+ {
308
+ path: "loyaltyCoupons.couponReference.specification.moneyOffAmount"
309
+ },
310
+ {
311
+ path: "loyaltyCoupons.couponReference.specification.percentOffRate"
312
+ },
313
+ {
314
+ path: "loyaltyCoupons.couponReference.specification.fixedPriceAmount"
315
+ },
316
+ {
317
+ path: "loyaltyCoupons.couponReference.specification.minimumSubtotal"
318
+ }
319
+ ]
320
+ }
321
+ ])
322
+ };
323
+ return metadata;
324
+ }
325
+ return __queryLoyaltyCoupon;
326
+ }
327
+ function deleteLoyaltyCoupon(payload) {
328
+ function __deleteLoyaltyCoupon({ host }) {
329
+ const metadata = {
330
+ entityFqdn: "wix.loyalty.v1.coupon",
331
+ method: "DELETE",
332
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.DeleteLoyaltyCoupon",
333
+ packageName: PACKAGE_NAME,
334
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
335
+ protoPath: "/v1/coupons/{id}",
336
+ data: payload,
337
+ host
338
+ }),
339
+ params: toURLSearchParams(payload)
340
+ };
341
+ return metadata;
342
+ }
343
+ return __deleteLoyaltyCoupon;
344
+ }
345
+
346
+ // src/loyalty-v1-coupon-coupons.meta.ts
347
+ function redeemPointsForCoupon2() {
348
+ const payload = {};
349
+ const getRequestOptions = redeemPointsForCoupon(payload);
350
+ const getUrl = (context) => {
351
+ const { url } = getRequestOptions(context);
352
+ return url;
353
+ };
354
+ return {
355
+ getUrl,
356
+ httpMethod: "POST",
357
+ path: "/v1/coupons",
358
+ pathParams: {},
359
+ __requestType: null,
360
+ __originalRequestType: null,
361
+ __responseType: null,
362
+ __originalResponseType: null
363
+ };
364
+ }
365
+ function redeemCurrentMemberPointsForCoupon2() {
366
+ const payload = {};
367
+ const getRequestOptions = redeemCurrentMemberPointsForCoupon(payload);
368
+ const getUrl = (context) => {
369
+ const { url } = getRequestOptions(context);
370
+ return url;
371
+ };
372
+ return {
373
+ getUrl,
374
+ httpMethod: "POST",
375
+ path: "/v1/coupons/redeem-my-coupon",
376
+ pathParams: {},
377
+ __requestType: null,
378
+ __originalRequestType: null,
379
+ __responseType: null,
380
+ __originalResponseType: null
381
+ };
382
+ }
383
+ function getLoyaltyCoupon2() {
384
+ const payload = { loyaltyCouponId: ":loyaltyCouponId" };
385
+ const getRequestOptions = getLoyaltyCoupon(payload);
386
+ const getUrl = (context) => {
387
+ const { url } = getRequestOptions(context);
388
+ return url;
389
+ };
390
+ return {
391
+ getUrl,
392
+ httpMethod: "GET",
393
+ path: "/v1/coupons/{loyaltyCouponId}",
394
+ pathParams: { loyaltyCouponId: "loyaltyCouponId" },
395
+ __requestType: null,
396
+ __originalRequestType: null,
397
+ __responseType: null,
398
+ __originalResponseType: null
399
+ };
400
+ }
401
+ function bulkGetLoyaltyCoupon2() {
402
+ const payload = {};
403
+ const getRequestOptions = bulkGetLoyaltyCoupon(payload);
404
+ const getUrl = (context) => {
405
+ const { url } = getRequestOptions(context);
406
+ return url;
407
+ };
408
+ return {
409
+ getUrl,
410
+ httpMethod: "GET",
411
+ path: "/v1/bulk/coupons",
412
+ pathParams: {},
413
+ __requestType: null,
414
+ __originalRequestType: null,
415
+ __responseType: null,
416
+ __originalResponseType: null
417
+ };
418
+ }
419
+ function getCurrentMemberCoupons2() {
420
+ const payload = {};
421
+ const getRequestOptions = getCurrentMemberCoupons(payload);
422
+ const getUrl = (context) => {
423
+ const { url } = getRequestOptions(context);
424
+ return url;
425
+ };
426
+ return {
427
+ getUrl,
428
+ httpMethod: "GET",
429
+ path: "/v1/coupons/my-coupons",
430
+ pathParams: {},
431
+ __requestType: null,
432
+ __originalRequestType: null,
433
+ __responseType: null,
434
+ __originalResponseType: null
435
+ };
436
+ }
437
+ function queryLoyaltyCoupons() {
438
+ const payload = {};
439
+ const getRequestOptions = queryLoyaltyCoupon(payload);
440
+ const getUrl = (context) => {
441
+ const { url } = getRequestOptions(context);
442
+ return url;
443
+ };
444
+ return {
445
+ getUrl,
446
+ httpMethod: "POST",
447
+ path: "/v1/coupons/query",
448
+ pathParams: {},
449
+ __requestType: null,
450
+ __originalRequestType: null,
451
+ __responseType: null,
452
+ __originalResponseType: null
453
+ };
454
+ }
455
+ function deleteLoyaltyCoupon2() {
456
+ const payload = { id: ":id" };
457
+ const getRequestOptions = deleteLoyaltyCoupon(payload);
458
+ const getUrl = (context) => {
459
+ const { url } = getRequestOptions(context);
460
+ return url;
461
+ };
462
+ return {
463
+ getUrl,
464
+ httpMethod: "DELETE",
465
+ path: "/v1/coupons/{id}",
466
+ pathParams: { id: "id" },
467
+ __requestType: null,
468
+ __originalRequestType: null,
469
+ __responseType: null,
470
+ __originalResponseType: null
471
+ };
472
+ }
473
+ export {
474
+ bulkGetLoyaltyCoupon2 as bulkGetLoyaltyCoupon,
475
+ deleteLoyaltyCoupon2 as deleteLoyaltyCoupon,
476
+ getCurrentMemberCoupons2 as getCurrentMemberCoupons,
477
+ getLoyaltyCoupon2 as getLoyaltyCoupon,
478
+ queryLoyaltyCoupons,
479
+ redeemCurrentMemberPointsForCoupon2 as redeemCurrentMemberPointsForCoupon,
480
+ redeemPointsForCoupon2 as redeemPointsForCoupon
481
+ };
482
+ //# sourceMappingURL=meta.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/loyalty-v1-coupon-coupons.http.ts","../src/loyalty-v1-coupon-coupons.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/loyalty-coupons',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/loyalty-coupons',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/loyalty-coupons',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/loyalty-coupons',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/loyalty-coupons',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/loyalty-coupons',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/loyalty-coupons',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/loyalty-coupons',\n destPath: '',\n },\n ],\n '*.pub.wix-code.com': [\n {\n srcPath: '/_api/loyalty-coupons',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/loyalty-coupons',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/loyalty-coupons',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_loyalty_coupons';\n\n/**\n * Redeems a customer's loyalty points for a loyalty reward and creates a loyalty coupon.\n *\n * Creating a loyalty coupon also creates a corresponding \"reference\" coupon with the [Coupons API](https://dev.wix.com/api/rest/coupons/about-wix-coupons).\n * The customer receives the reference coupon, which they can apply to their order. The loyalty coupon and its corresponding reference coupon\n * are linked and the loyalty coupon's `status` reflects the current state of the reference coupon.\n *\n * Check which loyalty rewards a site has available with [List Rewards](https://dev.wix.com/docs/rest/crm/loyalty-program/rewards/list-rewards).\n */\nexport function redeemPointsForCoupon(\n payload: object\n): RequestOptionsFactory<any> {\n function __redeemPointsForCoupon({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.loyalty.v1.coupon',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.loyalty.coupon.LoyaltyCoupons.RedeemPointsForCoupon',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({\n protoPath: '/v1/coupons',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'coupon.createdDate' },\n { path: 'coupon.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'coupon.couponReference.specification.moneyOffAmount' },\n { path: 'coupon.couponReference.specification.percentOffRate' },\n { path: 'coupon.couponReference.specification.fixedPriceAmount' },\n { path: 'coupon.couponReference.specification.minimumSubtotal' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __redeemPointsForCoupon;\n}\n\n/**\n * Redeems a current customer's loyalty points for a loyalty reward and creates a loyalty coupon.\n *\n * Creating a loyalty coupon also creates a corresponding \"reference\" coupon with the [Coupons API](https://dev.wix.com/api/rest/coupons/about-wix-coupons).\n * The customer receives the reference coupon, which they can apply to their order. The loyalty coupon and its corresponding reference coupon\n * are linked and the loyalty coupon's `status` reflects the current state of the reference coupon.\n *\n * Check which loyalty rewards a site has available with [List Rewards](https://dev.wix.com/docs/rest/crm/loyalty-program/rewards/list-rewards).\n *\n * >**Note:**\n * >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).\n */\nexport function redeemCurrentMemberPointsForCoupon(\n payload: object\n): RequestOptionsFactory<any> {\n function __redeemCurrentMemberPointsForCoupon({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.loyalty.v1.coupon',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.loyalty.coupon.LoyaltyCoupons.RedeemCurrentMemberPointsForCoupon',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({\n protoPath: '/v1/coupons/redeem-my-coupon',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'coupon.createdDate' },\n { path: 'coupon.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'coupon.couponReference.specification.moneyOffAmount' },\n { path: 'coupon.couponReference.specification.percentOffRate' },\n { path: 'coupon.couponReference.specification.fixedPriceAmount' },\n { path: 'coupon.couponReference.specification.minimumSubtotal' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __redeemCurrentMemberPointsForCoupon;\n}\n\n/** Retrieves a loyalty coupon. */\nexport function getLoyaltyCoupon(payload: object): RequestOptionsFactory<any> {\n function __getLoyaltyCoupon({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.loyalty.v1.coupon',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.loyalty.coupon.LoyaltyCoupons.GetLoyaltyCoupon',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({\n protoPath: '/v1/coupons/{loyaltyCouponId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'loyaltyCoupon.createdDate' },\n { path: 'loyaltyCoupon.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'loyaltyCoupon.couponReference.specification.moneyOffAmount',\n },\n {\n path: 'loyaltyCoupon.couponReference.specification.percentOffRate',\n },\n {\n path: 'loyaltyCoupon.couponReference.specification.fixedPriceAmount',\n },\n {\n path: 'loyaltyCoupon.couponReference.specification.minimumSubtotal',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getLoyaltyCoupon;\n}\n\n/** Retrieves a sequence of loyalty coupons */\nexport function bulkGetLoyaltyCoupon(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkGetLoyaltyCoupon({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.loyalty.v1.coupon',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.loyalty.coupon.LoyaltyCoupons.BulkGetLoyaltyCoupon',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({\n protoPath: '/v1/bulk/coupons',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'couponsInSite.loyaltyCoupons.createdDate' },\n { path: 'couponsInSite.loyaltyCoupons.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'couponsInSite.loyaltyCoupons.couponReference.specification.moneyOffAmount',\n },\n {\n path: 'couponsInSite.loyaltyCoupons.couponReference.specification.percentOffRate',\n },\n {\n path: 'couponsInSite.loyaltyCoupons.couponReference.specification.fixedPriceAmount',\n },\n {\n path: 'couponsInSite.loyaltyCoupons.couponReference.specification.minimumSubtotal',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkGetLoyaltyCoupon;\n}\n\n/**\n * Retrieves the loyalty coupons for the currently logged-in member.\n *\n * >**Note:**\n * >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions).\n */\nexport function getCurrentMemberCoupons(\n payload: object\n): RequestOptionsFactory<any> {\n function __getCurrentMemberCoupons({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.loyalty.v1.coupon',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.loyalty.coupon.LoyaltyCoupons.GetCurrentMemberCoupons',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({\n protoPath: '/v1/coupons/my-coupons',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'loyaltyCoupons.createdDate' },\n { path: 'loyaltyCoupons.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'loyaltyCoupons.couponReference.specification.moneyOffAmount',\n },\n {\n path: 'loyaltyCoupons.couponReference.specification.percentOffRate',\n },\n {\n path: 'loyaltyCoupons.couponReference.specification.fixedPriceAmount',\n },\n {\n path: 'loyaltyCoupons.couponReference.specification.minimumSubtotal',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getCurrentMemberCoupons;\n}\n\n/** Retrieves a list of loyalty coupons, given the provided paging, filtering, and sorting. */\nexport function queryLoyaltyCoupon(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryLoyaltyCoupon({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.loyalty.v1.coupon',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.loyalty.coupon.LoyaltyCoupons.QueryLoyaltyCoupon',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({\n protoPath: '/v1/coupons/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'loyaltyCoupons.createdDate' },\n { path: 'loyaltyCoupons.updatedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'loyaltyCoupons.couponReference.specification.moneyOffAmount',\n },\n {\n path: 'loyaltyCoupons.couponReference.specification.percentOffRate',\n },\n {\n path: 'loyaltyCoupons.couponReference.specification.fixedPriceAmount',\n },\n {\n path: 'loyaltyCoupons.couponReference.specification.minimumSubtotal',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryLoyaltyCoupon;\n}\n\n/**\n * Deletes a loyalty coupon.\n *\n * The deletion of a loyalty coupon does not impact the functionality of the corresponding coupon itself.\n */\nexport function deleteLoyaltyCoupon(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteLoyaltyCoupon({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.loyalty.v1.coupon',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.loyalty.coupon.LoyaltyCoupons.DeleteLoyaltyCoupon',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({\n protoPath: '/v1/coupons/{id}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteLoyaltyCoupon;\n}\n","import * as ambassadorWixLoyaltyV1Coupon from './loyalty-v1-coupon-coupons.http.js';\nimport * as ambassadorWixLoyaltyV1CouponTypes from './loyalty-v1-coupon-coupons.types.js';\nimport * as ambassadorWixLoyaltyV1CouponUniversalTypes from './loyalty-v1-coupon-coupons.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function redeemPointsForCoupon(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixLoyaltyV1CouponUniversalTypes.RedeemPointsForCouponRequest,\n ambassadorWixLoyaltyV1CouponTypes.RedeemPointsForCouponRequest,\n ambassadorWixLoyaltyV1CouponUniversalTypes.RedeemPointsForCouponResponse,\n ambassadorWixLoyaltyV1CouponTypes.RedeemPointsForCouponResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixLoyaltyV1Coupon.redeemPointsForCoupon(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/coupons',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function redeemCurrentMemberPointsForCoupon(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixLoyaltyV1CouponUniversalTypes.RedeemCurrentMemberPointsForCouponRequest,\n ambassadorWixLoyaltyV1CouponTypes.RedeemCurrentMemberPointsForCouponRequest,\n ambassadorWixLoyaltyV1CouponUniversalTypes.RedeemCurrentMemberPointsForCouponResponse,\n ambassadorWixLoyaltyV1CouponTypes.RedeemCurrentMemberPointsForCouponResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixLoyaltyV1Coupon.redeemCurrentMemberPointsForCoupon(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/coupons/redeem-my-coupon',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getLoyaltyCoupon(): __PublicMethodMetaInfo<\n 'GET',\n { loyaltyCouponId: string },\n ambassadorWixLoyaltyV1CouponUniversalTypes.GetLoyaltyCouponRequest,\n ambassadorWixLoyaltyV1CouponTypes.GetLoyaltyCouponRequest,\n ambassadorWixLoyaltyV1CouponUniversalTypes.GetLoyaltyCouponResponse,\n ambassadorWixLoyaltyV1CouponTypes.GetLoyaltyCouponResponse\n> {\n const payload = { loyaltyCouponId: ':loyaltyCouponId' } as any;\n\n const getRequestOptions =\n ambassadorWixLoyaltyV1Coupon.getLoyaltyCoupon(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/coupons/{loyaltyCouponId}',\n pathParams: { loyaltyCouponId: 'loyaltyCouponId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkGetLoyaltyCoupon(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixLoyaltyV1CouponUniversalTypes.BulkGetLoyaltyCouponRequest,\n ambassadorWixLoyaltyV1CouponTypes.BulkGetLoyaltyCouponRequest,\n ambassadorWixLoyaltyV1CouponUniversalTypes.BulkGetLoyaltyCouponResponse,\n ambassadorWixLoyaltyV1CouponTypes.BulkGetLoyaltyCouponResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixLoyaltyV1Coupon.bulkGetLoyaltyCoupon(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/bulk/coupons',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getCurrentMemberCoupons(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixLoyaltyV1CouponUniversalTypes.GetCurrentMemberCouponsRequest,\n ambassadorWixLoyaltyV1CouponTypes.GetCurrentMemberCouponsRequest,\n ambassadorWixLoyaltyV1CouponUniversalTypes.GetCurrentMemberCouponsResponse,\n ambassadorWixLoyaltyV1CouponTypes.GetCurrentMemberCouponsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixLoyaltyV1Coupon.getCurrentMemberCoupons(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/coupons/my-coupons',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryLoyaltyCoupons(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixLoyaltyV1CouponUniversalTypes.QueryLoyaltyCouponRequest,\n ambassadorWixLoyaltyV1CouponTypes.QueryLoyaltyCouponRequest,\n ambassadorWixLoyaltyV1CouponUniversalTypes.QueryLoyaltyCouponResponse,\n ambassadorWixLoyaltyV1CouponTypes.QueryLoyaltyCouponResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixLoyaltyV1Coupon.queryLoyaltyCoupon(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/coupons/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteLoyaltyCoupon(): __PublicMethodMetaInfo<\n 'DELETE',\n { id: string },\n ambassadorWixLoyaltyV1CouponUniversalTypes.DeleteLoyaltyCouponRequest,\n ambassadorWixLoyaltyV1CouponTypes.DeleteLoyaltyCouponRequest,\n ambassadorWixLoyaltyV1CouponUniversalTypes.DeleteLoyaltyCouponResponse,\n ambassadorWixLoyaltyV1CouponTypes.DeleteLoyaltyCouponResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixLoyaltyV1Coupon.deleteLoyaltyCoupon(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/coupons/{id}',\n pathParams: { id: 'id' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";AAAA,S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BACyB,wBAAwB,OAAO;AAE9D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAAS,sBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACyB,mBAAmB,OAAO;AAEzD,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,uBAOd;AACA,QAAM,UAAU,EAAE,IAAI,MAAM;AAE5B,QAAM,oBACyB,oBAAoB,OAAO;AAE1D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","redeemPointsForCoupon","redeemCurrentMemberPointsForCoupon","getLoyaltyCoupon","bulkGetLoyaltyCoupon","getCurrentMemberCoupons","deleteLoyaltyCoupon"]}
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_loyalty_coupons",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
7
7
  },
8
8
  "keywords": [],
9
9
  "sideEffects": false,
10
- "main": "./build/cjs/index.js",
11
- "types": "./build/es/index.d.ts",
10
+ "main": "/build/index.js",
11
+ "types": "./build/index.d.mts",
12
12
  "exports": {
13
13
  ".": {
14
- "import": "./build/es/index.js",
15
- "require": "./build/cjs/index.js",
16
- "types": "./build/es/index.d.ts"
14
+ "import": "./build/index.mjs",
15
+ "require": "./build/index.js",
16
+ "types": "./build/index.d.mts"
17
17
  },
18
18
  "./package.json": "./package.json",
19
19
  "./meta": {
20
- "import": "./build/es/meta.js",
21
- "require": "./build/cjs/meta.js",
22
- "types": "./build/es/meta.d.ts"
20
+ "import": "./build/meta.mjs",
21
+ "require": "./build/meta.js",
22
+ "types": "./build/meta.d.mts"
23
23
  }
24
24
  },
25
25
  "files": [
@@ -29,13 +29,14 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@wix/sdk-runtime": "^0.3.42",
32
- "@wix/sdk-types": "^1.13.9"
32
+ "@wix/sdk-types": "^1.13.16"
33
33
  },
34
34
  "devDependencies": {
35
+ "tsup": "^8.4.0",
35
36
  "typescript": "^5.3.2"
36
37
  },
37
38
  "scripts": {
38
- "build": "tsc -b tsconfig.json tsconfig.esm.json tsconfig.internal.json tsconfig.internal.esm.json",
39
+ "build": "tsup",
39
40
  "test": ":"
40
41
  },
41
42
  "wix": {
@@ -48,5 +49,5 @@
48
49
  "fqdn": "wix.loyalty.v1.coupon"
49
50
  }
50
51
  },
51
- "falconPackageHash": "c336df729e7835013276739e99465ae3b13bde440cf18c0833d6457b"
52
+ "falconPackageHash": "9706b56084aa6b927e08376119395a09bf2365f082a40b231b4ae70b"
52
53
  }
@@ -1 +0,0 @@
1
- export * from './src/loyalty-v1-coupon-coupons.context.js';
@@ -1,18 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/loyalty-v1-coupon-coupons.context.js"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6EAA2D"}
@@ -1 +0,0 @@
1
- export * from './src/loyalty-v1-coupon-coupons.universal.js';
@@ -1,18 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/loyalty-v1-coupon-coupons.universal.js"), exports);
18
- //# sourceMappingURL=index.typings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+EAA6D"}
@@ -1 +0,0 @@
1
- export * from './src/loyalty-v1-coupon-coupons.meta.js';