@wix/auto_sdk_loyalty_coupons 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/loyalty-v1-coupon-coupons.types.d.ts +109 -24
- package/build/cjs/src/loyalty-v1-coupon-coupons.types.js.map +1 -1
- package/build/cjs/src/loyalty-v1-coupon-coupons.universal.d.ts +121 -27
- package/build/cjs/src/loyalty-v1-coupon-coupons.universal.js.map +1 -1
- package/build/es/src/loyalty-v1-coupon-coupons.types.d.ts +109 -24
- package/build/es/src/loyalty-v1-coupon-coupons.types.js.map +1 -1
- package/build/es/src/loyalty-v1-coupon-coupons.universal.d.ts +121 -27
- package/build/es/src/loyalty-v1-coupon-coupons.universal.js.map +1 -1
- package/build/internal/cjs/src/loyalty-v1-coupon-coupons.types.d.ts +109 -24
- package/build/internal/cjs/src/loyalty-v1-coupon-coupons.types.js.map +1 -1
- package/build/internal/cjs/src/loyalty-v1-coupon-coupons.universal.d.ts +121 -27
- package/build/internal/cjs/src/loyalty-v1-coupon-coupons.universal.js.map +1 -1
- package/build/internal/es/src/loyalty-v1-coupon-coupons.types.d.ts +109 -24
- package/build/internal/es/src/loyalty-v1-coupon-coupons.types.js.map +1 -1
- package/build/internal/es/src/loyalty-v1-coupon-coupons.universal.d.ts +121 -27
- package/build/internal/es/src/loyalty-v1-coupon-coupons.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -5,16 +5,19 @@
|
|
|
5
5
|
export interface LoyaltyCoupon {
|
|
6
6
|
/**
|
|
7
7
|
* Loyalty coupon ID.
|
|
8
|
+
* @format GUID
|
|
8
9
|
* @readonly
|
|
9
10
|
*/
|
|
10
11
|
id?: string;
|
|
11
12
|
/**
|
|
12
13
|
* [Loyalty account ID](https://dev.wix.com/docs/rest/crm/loyalty-program/accounts/account-object) of the customer that redeemed points for a coupon.
|
|
14
|
+
* @format GUID
|
|
13
15
|
* @readonly
|
|
14
16
|
*/
|
|
15
17
|
accountId?: string;
|
|
16
18
|
/**
|
|
17
19
|
* [Member ID](https://dev.wix.com/api/rest/members/members/member-object) of the customer that redeemed points for a coupon.
|
|
20
|
+
* @format GUID
|
|
18
21
|
* @readonly
|
|
19
22
|
* @deprecated [Member ID](https://dev.wix.com/api/rest/members/members/member-object) of the customer that redeemed points for a coupon.
|
|
20
23
|
* @replacedBy member_id
|
|
@@ -23,11 +26,13 @@ export interface LoyaltyCoupon {
|
|
|
23
26
|
memberIdDeprecated?: string;
|
|
24
27
|
/**
|
|
25
28
|
* [Member ID](https://dev.wix.com/docs/rest/crm/members-contacts/members/members/member-object) of the customer that redeemed points for a coupon.
|
|
29
|
+
* @format GUID
|
|
26
30
|
* @readonly
|
|
27
31
|
*/
|
|
28
32
|
memberId?: string | null;
|
|
29
33
|
/**
|
|
30
34
|
* Transaction ID for the transaction that created a coupon.
|
|
35
|
+
* @format GUID
|
|
31
36
|
* @readonly
|
|
32
37
|
*/
|
|
33
38
|
transactionId?: string | null;
|
|
@@ -47,6 +52,8 @@ export interface LoyaltyCoupon {
|
|
|
47
52
|
status?: Status;
|
|
48
53
|
/**
|
|
49
54
|
* Name of reward that was redeemed to create this coupon.
|
|
55
|
+
* @minLength 1
|
|
56
|
+
* @maxLength 50
|
|
50
57
|
* @readonly
|
|
51
58
|
*/
|
|
52
59
|
rewardName?: string;
|
|
@@ -54,6 +61,7 @@ export interface LoyaltyCoupon {
|
|
|
54
61
|
* Revision number, which increments by 1 each time the loyalty coupon is updated.
|
|
55
62
|
*
|
|
56
63
|
* To prevent conflicting changes, the current `revision` must be passed when updating the loyalty coupon.
|
|
64
|
+
* @immutable
|
|
57
65
|
*/
|
|
58
66
|
revision?: string | null;
|
|
59
67
|
/**
|
|
@@ -70,6 +78,7 @@ export interface LoyaltyCoupon {
|
|
|
70
78
|
export interface CouponReference {
|
|
71
79
|
/**
|
|
72
80
|
* Coupon ID.
|
|
81
|
+
* @format GUID
|
|
73
82
|
* @readonly
|
|
74
83
|
*/
|
|
75
84
|
couponId?: string;
|
|
@@ -77,11 +86,13 @@ export interface CouponReference {
|
|
|
77
86
|
* Coupon code.
|
|
78
87
|
*
|
|
79
88
|
* Unique code entered by a customer to apply the coupon.
|
|
89
|
+
* @maxLength 20
|
|
80
90
|
* @readonly
|
|
81
91
|
*/
|
|
82
92
|
code?: string;
|
|
83
93
|
/**
|
|
84
94
|
* Name of coupon.
|
|
95
|
+
* @maxLength 80
|
|
85
96
|
* @readonly
|
|
86
97
|
*/
|
|
87
98
|
name?: string | null;
|
|
@@ -225,9 +236,15 @@ export declare enum Status {
|
|
|
225
236
|
ARCHIVED = "ARCHIVED"
|
|
226
237
|
}
|
|
227
238
|
export interface RedeemPointsForCouponRequest {
|
|
228
|
-
/**
|
|
239
|
+
/**
|
|
240
|
+
* ID of the [loyalty reward](https://dev.wix.com/docs/rest/crm/loyalty-program/rewards/reward-object) to redeem.
|
|
241
|
+
* @format GUID
|
|
242
|
+
*/
|
|
229
243
|
rewardId: string;
|
|
230
|
-
/**
|
|
244
|
+
/**
|
|
245
|
+
* ID of the [loyalty account](https://dev.wix.com/docs/rest/crm/loyalty-program/accounts/account-object) of the customer redeeming points.
|
|
246
|
+
* @format GUID
|
|
247
|
+
*/
|
|
231
248
|
loyaltyAccountId: string;
|
|
232
249
|
}
|
|
233
250
|
export interface RedeemPointsForCouponResponse {
|
|
@@ -235,7 +252,10 @@ export interface RedeemPointsForCouponResponse {
|
|
|
235
252
|
coupon?: LoyaltyCoupon;
|
|
236
253
|
}
|
|
237
254
|
export interface RedeemCurrentMemberPointsForCouponRequest {
|
|
238
|
-
/**
|
|
255
|
+
/**
|
|
256
|
+
* ID of the [loyalty reward](https://dev.wix.com/docs/rest/crm/loyalty-program/rewards/reward-object) to redeem.
|
|
257
|
+
* @format GUID
|
|
258
|
+
*/
|
|
239
259
|
rewardId: string;
|
|
240
260
|
}
|
|
241
261
|
export interface RedeemCurrentMemberPointsForCouponResponse {
|
|
@@ -243,9 +263,15 @@ export interface RedeemCurrentMemberPointsForCouponResponse {
|
|
|
243
263
|
coupon?: LoyaltyCoupon;
|
|
244
264
|
}
|
|
245
265
|
export interface RedeemMemberPointsForDiscountAmountCouponRequest {
|
|
246
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* ID of the [loyalty reward](https://dev.wix.com/api/rest/wix-loyalty-program/rewards) to redeem.
|
|
268
|
+
* @format GUID
|
|
269
|
+
*/
|
|
247
270
|
rewardId?: string;
|
|
248
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* Loyalty account id.
|
|
273
|
+
* @format GUID
|
|
274
|
+
*/
|
|
249
275
|
loyaltyAccountId?: string;
|
|
250
276
|
/** Number of points to redeem. */
|
|
251
277
|
pointsToRedeem?: number;
|
|
@@ -259,7 +285,10 @@ export interface RedeemMemberPointsForDiscountAmountCouponResponse {
|
|
|
259
285
|
transactionId?: string;
|
|
260
286
|
}
|
|
261
287
|
export interface GetLoyaltyCouponRequest {
|
|
262
|
-
/**
|
|
288
|
+
/**
|
|
289
|
+
* ID of the loyalty coupon to retrieve.
|
|
290
|
+
* @format GUID
|
|
291
|
+
*/
|
|
263
292
|
loyaltyCouponId: string;
|
|
264
293
|
}
|
|
265
294
|
export interface GetLoyaltyCouponResponse {
|
|
@@ -287,6 +316,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
287
316
|
* Sort object.
|
|
288
317
|
*
|
|
289
318
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
319
|
+
* @maxSize 5
|
|
290
320
|
*/
|
|
291
321
|
sort?: Sorting[];
|
|
292
322
|
}
|
|
@@ -300,7 +330,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
300
330
|
cursorPaging?: CursorPaging;
|
|
301
331
|
}
|
|
302
332
|
export interface Sorting {
|
|
303
|
-
/**
|
|
333
|
+
/**
|
|
334
|
+
* Name of the field to sort by.
|
|
335
|
+
* @maxLength 512
|
|
336
|
+
*/
|
|
304
337
|
fieldName?: string;
|
|
305
338
|
/** Sort order. */
|
|
306
339
|
order?: SortOrder;
|
|
@@ -310,24 +343,37 @@ export declare enum SortOrder {
|
|
|
310
343
|
DESC = "DESC"
|
|
311
344
|
}
|
|
312
345
|
export interface CursorPaging {
|
|
313
|
-
/**
|
|
346
|
+
/**
|
|
347
|
+
* Maximum number of items to return in the results.
|
|
348
|
+
* @max 100
|
|
349
|
+
*/
|
|
314
350
|
limit?: number | null;
|
|
315
351
|
/**
|
|
316
352
|
* Pointer to the next or previous page in the list of results.
|
|
317
353
|
*
|
|
318
354
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
319
355
|
* Not relevant for the first request.
|
|
356
|
+
* @maxLength 16000
|
|
320
357
|
*/
|
|
321
358
|
cursor?: string | null;
|
|
322
359
|
}
|
|
323
360
|
export interface BulkGetLoyaltyCouponResponse {
|
|
324
|
-
/**
|
|
361
|
+
/**
|
|
362
|
+
* Retrieved loyalty coupons.
|
|
363
|
+
* @maxSize 100
|
|
364
|
+
*/
|
|
325
365
|
couponsInSite?: CouponsInSite[];
|
|
326
366
|
}
|
|
327
367
|
export interface CouponsInSite {
|
|
328
|
-
/**
|
|
368
|
+
/**
|
|
369
|
+
* Metasite id
|
|
370
|
+
* @format GUID
|
|
371
|
+
*/
|
|
329
372
|
metaSiteId?: string;
|
|
330
|
-
/**
|
|
373
|
+
/**
|
|
374
|
+
* Retrieved loyalty coupons.
|
|
375
|
+
* @maxSize 100
|
|
376
|
+
*/
|
|
331
377
|
loyaltyCoupons?: LoyaltyCoupon[];
|
|
332
378
|
}
|
|
333
379
|
export interface GetCurrentMemberCouponsRequest {
|
|
@@ -394,13 +440,22 @@ export interface PagingMetadataV2 {
|
|
|
394
440
|
cursors?: Cursors;
|
|
395
441
|
}
|
|
396
442
|
export interface Cursors {
|
|
397
|
-
/**
|
|
443
|
+
/**
|
|
444
|
+
* Cursor string pointing to the next page in the list of results.
|
|
445
|
+
* @maxLength 16000
|
|
446
|
+
*/
|
|
398
447
|
next?: string | null;
|
|
399
|
-
/**
|
|
448
|
+
/**
|
|
449
|
+
* Cursor pointing to the previous page in the list of results.
|
|
450
|
+
* @maxLength 16000
|
|
451
|
+
*/
|
|
400
452
|
prev?: string | null;
|
|
401
453
|
}
|
|
402
454
|
export interface DeleteLoyaltyCouponRequest {
|
|
403
|
-
/**
|
|
455
|
+
/**
|
|
456
|
+
* ID of the loyalty coupon to delete.
|
|
457
|
+
* @format GUID
|
|
458
|
+
*/
|
|
404
459
|
id: string;
|
|
405
460
|
/**
|
|
406
461
|
* Revision number, which increments by 1 each time the loyalty coupon is updated.
|
|
@@ -486,9 +541,15 @@ export interface ActionEvent {
|
|
|
486
541
|
export interface Empty {
|
|
487
542
|
}
|
|
488
543
|
export interface MessageEnvelope {
|
|
489
|
-
/**
|
|
544
|
+
/**
|
|
545
|
+
* App instance ID.
|
|
546
|
+
* @format GUID
|
|
547
|
+
*/
|
|
490
548
|
instanceId?: string | null;
|
|
491
|
-
/**
|
|
549
|
+
/**
|
|
550
|
+
* Event type.
|
|
551
|
+
* @maxLength 150
|
|
552
|
+
*/
|
|
492
553
|
eventType?: string;
|
|
493
554
|
/** The identification type and identity data. */
|
|
494
555
|
identity?: IdentificationData;
|
|
@@ -496,26 +557,50 @@ export interface MessageEnvelope {
|
|
|
496
557
|
data?: string;
|
|
497
558
|
}
|
|
498
559
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
499
|
-
/**
|
|
560
|
+
/**
|
|
561
|
+
* ID of a site visitor that has not logged in to the site.
|
|
562
|
+
* @format GUID
|
|
563
|
+
*/
|
|
500
564
|
anonymousVisitorId?: string;
|
|
501
|
-
/**
|
|
565
|
+
/**
|
|
566
|
+
* ID of a site visitor that has logged in to the site.
|
|
567
|
+
* @format GUID
|
|
568
|
+
*/
|
|
502
569
|
memberId?: string;
|
|
503
|
-
/**
|
|
570
|
+
/**
|
|
571
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
572
|
+
* @format GUID
|
|
573
|
+
*/
|
|
504
574
|
wixUserId?: string;
|
|
505
|
-
/**
|
|
575
|
+
/**
|
|
576
|
+
* ID of an app.
|
|
577
|
+
* @format GUID
|
|
578
|
+
*/
|
|
506
579
|
appId?: string;
|
|
507
580
|
/** @readonly */
|
|
508
581
|
identityType?: WebhookIdentityType;
|
|
509
582
|
}
|
|
510
583
|
/** @oneof */
|
|
511
584
|
export interface IdentificationDataIdOneOf {
|
|
512
|
-
/**
|
|
585
|
+
/**
|
|
586
|
+
* ID of a site visitor that has not logged in to the site.
|
|
587
|
+
* @format GUID
|
|
588
|
+
*/
|
|
513
589
|
anonymousVisitorId?: string;
|
|
514
|
-
/**
|
|
590
|
+
/**
|
|
591
|
+
* ID of a site visitor that has logged in to the site.
|
|
592
|
+
* @format GUID
|
|
593
|
+
*/
|
|
515
594
|
memberId?: string;
|
|
516
|
-
/**
|
|
595
|
+
/**
|
|
596
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
597
|
+
* @format GUID
|
|
598
|
+
*/
|
|
517
599
|
wixUserId?: string;
|
|
518
|
-
/**
|
|
600
|
+
/**
|
|
601
|
+
* ID of an app.
|
|
602
|
+
* @format GUID
|
|
603
|
+
*/
|
|
519
604
|
appId?: string;
|
|
520
605
|
}
|
|
521
606
|
export declare enum WebhookIdentityType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-v1-coupon-coupons.types.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"loyalty-v1-coupon-coupons.types.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.types.ts"],"names":[],"mappings":";;;AA4LA,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AAsCD,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,sBAAN,MAAM,QAajB;AAqHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA6RD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -5,16 +5,19 @@
|
|
|
5
5
|
export interface LoyaltyCoupon {
|
|
6
6
|
/**
|
|
7
7
|
* Loyalty coupon ID.
|
|
8
|
+
* @format GUID
|
|
8
9
|
* @readonly
|
|
9
10
|
*/
|
|
10
11
|
_id?: string;
|
|
11
12
|
/**
|
|
12
13
|
* [Loyalty account ID](https://dev.wix.com/docs/rest/crm/loyalty-program/accounts/account-object) of the customer that redeemed points for a coupon.
|
|
14
|
+
* @format GUID
|
|
13
15
|
* @readonly
|
|
14
16
|
*/
|
|
15
17
|
accountId?: string;
|
|
16
18
|
/**
|
|
17
19
|
* [Member ID](https://dev.wix.com/api/rest/members/members/member-object) of the customer that redeemed points for a coupon.
|
|
20
|
+
* @format GUID
|
|
18
21
|
* @readonly
|
|
19
22
|
* @deprecated [Member ID](https://dev.wix.com/api/rest/members/members/member-object) of the customer that redeemed points for a coupon.
|
|
20
23
|
* @replacedBy member_id
|
|
@@ -23,11 +26,13 @@ export interface LoyaltyCoupon {
|
|
|
23
26
|
memberIdDeprecated?: string;
|
|
24
27
|
/**
|
|
25
28
|
* [Member ID](https://dev.wix.com/docs/rest/crm/members-contacts/members/members/member-object) of the customer that redeemed points for a coupon.
|
|
29
|
+
* @format GUID
|
|
26
30
|
* @readonly
|
|
27
31
|
*/
|
|
28
32
|
memberId?: string | null;
|
|
29
33
|
/**
|
|
30
34
|
* Transaction ID for the transaction that created a coupon.
|
|
35
|
+
* @format GUID
|
|
31
36
|
* @readonly
|
|
32
37
|
*/
|
|
33
38
|
transactionId?: string | null;
|
|
@@ -47,6 +52,8 @@ export interface LoyaltyCoupon {
|
|
|
47
52
|
status?: Status;
|
|
48
53
|
/**
|
|
49
54
|
* Name of reward that was redeemed to create this coupon.
|
|
55
|
+
* @minLength 1
|
|
56
|
+
* @maxLength 50
|
|
50
57
|
* @readonly
|
|
51
58
|
*/
|
|
52
59
|
rewardName?: string;
|
|
@@ -54,6 +61,7 @@ export interface LoyaltyCoupon {
|
|
|
54
61
|
* Revision number, which increments by 1 each time the loyalty coupon is updated.
|
|
55
62
|
*
|
|
56
63
|
* To prevent conflicting changes, the current `revision` must be passed when updating the loyalty coupon.
|
|
64
|
+
* @immutable
|
|
57
65
|
*/
|
|
58
66
|
revision?: string | null;
|
|
59
67
|
/**
|
|
@@ -70,6 +78,7 @@ export interface LoyaltyCoupon {
|
|
|
70
78
|
export interface CouponReference {
|
|
71
79
|
/**
|
|
72
80
|
* Coupon ID.
|
|
81
|
+
* @format GUID
|
|
73
82
|
* @readonly
|
|
74
83
|
*/
|
|
75
84
|
couponId?: string;
|
|
@@ -77,11 +86,13 @@ export interface CouponReference {
|
|
|
77
86
|
* Coupon code.
|
|
78
87
|
*
|
|
79
88
|
* Unique code entered by a customer to apply the coupon.
|
|
89
|
+
* @maxLength 20
|
|
80
90
|
* @readonly
|
|
81
91
|
*/
|
|
82
92
|
code?: string;
|
|
83
93
|
/**
|
|
84
94
|
* Name of coupon.
|
|
95
|
+
* @maxLength 80
|
|
85
96
|
* @readonly
|
|
86
97
|
*/
|
|
87
98
|
name?: string | null;
|
|
@@ -225,9 +236,15 @@ export declare enum Status {
|
|
|
225
236
|
ARCHIVED = "ARCHIVED"
|
|
226
237
|
}
|
|
227
238
|
export interface RedeemPointsForCouponRequest {
|
|
228
|
-
/**
|
|
239
|
+
/**
|
|
240
|
+
* ID of the [loyalty reward](https://dev.wix.com/docs/rest/crm/loyalty-program/rewards/reward-object) to redeem.
|
|
241
|
+
* @format GUID
|
|
242
|
+
*/
|
|
229
243
|
rewardId: string;
|
|
230
|
-
/**
|
|
244
|
+
/**
|
|
245
|
+
* ID of the [loyalty account](https://dev.wix.com/docs/rest/crm/loyalty-program/accounts/account-object) of the customer redeeming points.
|
|
246
|
+
* @format GUID
|
|
247
|
+
*/
|
|
231
248
|
loyaltyAccountId: string;
|
|
232
249
|
}
|
|
233
250
|
export interface RedeemPointsForCouponResponse {
|
|
@@ -235,7 +252,10 @@ export interface RedeemPointsForCouponResponse {
|
|
|
235
252
|
coupon?: LoyaltyCoupon;
|
|
236
253
|
}
|
|
237
254
|
export interface RedeemCurrentMemberPointsForCouponRequest {
|
|
238
|
-
/**
|
|
255
|
+
/**
|
|
256
|
+
* ID of the [loyalty reward](https://dev.wix.com/docs/rest/crm/loyalty-program/rewards/reward-object) to redeem.
|
|
257
|
+
* @format GUID
|
|
258
|
+
*/
|
|
239
259
|
rewardId: string;
|
|
240
260
|
}
|
|
241
261
|
export interface RedeemCurrentMemberPointsForCouponResponse {
|
|
@@ -243,9 +263,15 @@ export interface RedeemCurrentMemberPointsForCouponResponse {
|
|
|
243
263
|
coupon?: LoyaltyCoupon;
|
|
244
264
|
}
|
|
245
265
|
export interface RedeemMemberPointsForDiscountAmountCouponRequest {
|
|
246
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* ID of the [loyalty reward](https://dev.wix.com/api/rest/wix-loyalty-program/rewards) to redeem.
|
|
268
|
+
* @format GUID
|
|
269
|
+
*/
|
|
247
270
|
rewardId?: string;
|
|
248
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* Loyalty account id.
|
|
273
|
+
* @format GUID
|
|
274
|
+
*/
|
|
249
275
|
loyaltyAccountId?: string;
|
|
250
276
|
/** Number of points to redeem. */
|
|
251
277
|
pointsToRedeem?: number;
|
|
@@ -259,7 +285,10 @@ export interface RedeemMemberPointsForDiscountAmountCouponResponse {
|
|
|
259
285
|
transactionId?: string;
|
|
260
286
|
}
|
|
261
287
|
export interface GetLoyaltyCouponRequest {
|
|
262
|
-
/**
|
|
288
|
+
/**
|
|
289
|
+
* ID of the loyalty coupon to retrieve.
|
|
290
|
+
* @format GUID
|
|
291
|
+
*/
|
|
263
292
|
loyaltyCouponId: string;
|
|
264
293
|
}
|
|
265
294
|
export interface GetLoyaltyCouponResponse {
|
|
@@ -287,6 +316,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
287
316
|
* Sort object.
|
|
288
317
|
*
|
|
289
318
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
319
|
+
* @maxSize 5
|
|
290
320
|
*/
|
|
291
321
|
sort?: Sorting[];
|
|
292
322
|
}
|
|
@@ -300,7 +330,10 @@ export interface CursorQueryPagingMethodOneOf {
|
|
|
300
330
|
cursorPaging?: CursorPaging;
|
|
301
331
|
}
|
|
302
332
|
export interface Sorting {
|
|
303
|
-
/**
|
|
333
|
+
/**
|
|
334
|
+
* Name of the field to sort by.
|
|
335
|
+
* @maxLength 512
|
|
336
|
+
*/
|
|
304
337
|
fieldName?: string;
|
|
305
338
|
/** Sort order. */
|
|
306
339
|
order?: SortOrder;
|
|
@@ -310,24 +343,37 @@ export declare enum SortOrder {
|
|
|
310
343
|
DESC = "DESC"
|
|
311
344
|
}
|
|
312
345
|
export interface CursorPaging {
|
|
313
|
-
/**
|
|
346
|
+
/**
|
|
347
|
+
* Maximum number of items to return in the results.
|
|
348
|
+
* @max 100
|
|
349
|
+
*/
|
|
314
350
|
limit?: number | null;
|
|
315
351
|
/**
|
|
316
352
|
* Pointer to the next or previous page in the list of results.
|
|
317
353
|
*
|
|
318
354
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
319
355
|
* Not relevant for the first request.
|
|
356
|
+
* @maxLength 16000
|
|
320
357
|
*/
|
|
321
358
|
cursor?: string | null;
|
|
322
359
|
}
|
|
323
360
|
export interface BulkGetLoyaltyCouponResponse {
|
|
324
|
-
/**
|
|
361
|
+
/**
|
|
362
|
+
* Retrieved loyalty coupons.
|
|
363
|
+
* @maxSize 100
|
|
364
|
+
*/
|
|
325
365
|
couponsInSite?: CouponsInSite[];
|
|
326
366
|
}
|
|
327
367
|
export interface CouponsInSite {
|
|
328
|
-
/**
|
|
368
|
+
/**
|
|
369
|
+
* Metasite id
|
|
370
|
+
* @format GUID
|
|
371
|
+
*/
|
|
329
372
|
metaSiteId?: string;
|
|
330
|
-
/**
|
|
373
|
+
/**
|
|
374
|
+
* Retrieved loyalty coupons.
|
|
375
|
+
* @maxSize 100
|
|
376
|
+
*/
|
|
331
377
|
loyaltyCoupons?: LoyaltyCoupon[];
|
|
332
378
|
}
|
|
333
379
|
export interface GetCurrentMemberCouponsRequest {
|
|
@@ -394,13 +440,22 @@ export interface PagingMetadataV2 {
|
|
|
394
440
|
cursors?: Cursors;
|
|
395
441
|
}
|
|
396
442
|
export interface Cursors {
|
|
397
|
-
/**
|
|
443
|
+
/**
|
|
444
|
+
* Cursor string pointing to the next page in the list of results.
|
|
445
|
+
* @maxLength 16000
|
|
446
|
+
*/
|
|
398
447
|
next?: string | null;
|
|
399
|
-
/**
|
|
448
|
+
/**
|
|
449
|
+
* Cursor pointing to the previous page in the list of results.
|
|
450
|
+
* @maxLength 16000
|
|
451
|
+
*/
|
|
400
452
|
prev?: string | null;
|
|
401
453
|
}
|
|
402
454
|
export interface DeleteLoyaltyCouponRequest {
|
|
403
|
-
/**
|
|
455
|
+
/**
|
|
456
|
+
* ID of the loyalty coupon to delete.
|
|
457
|
+
* @format GUID
|
|
458
|
+
*/
|
|
404
459
|
_id: string;
|
|
405
460
|
/**
|
|
406
461
|
* Revision number, which increments by 1 each time the loyalty coupon is updated.
|
|
@@ -484,9 +539,15 @@ export interface ActionEvent {
|
|
|
484
539
|
export interface Empty {
|
|
485
540
|
}
|
|
486
541
|
export interface MessageEnvelope {
|
|
487
|
-
/**
|
|
542
|
+
/**
|
|
543
|
+
* App instance ID.
|
|
544
|
+
* @format GUID
|
|
545
|
+
*/
|
|
488
546
|
instanceId?: string | null;
|
|
489
|
-
/**
|
|
547
|
+
/**
|
|
548
|
+
* Event type.
|
|
549
|
+
* @maxLength 150
|
|
550
|
+
*/
|
|
490
551
|
eventType?: string;
|
|
491
552
|
/** The identification type and identity data. */
|
|
492
553
|
identity?: IdentificationData;
|
|
@@ -494,26 +555,50 @@ export interface MessageEnvelope {
|
|
|
494
555
|
data?: string;
|
|
495
556
|
}
|
|
496
557
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
497
|
-
/**
|
|
558
|
+
/**
|
|
559
|
+
* ID of a site visitor that has not logged in to the site.
|
|
560
|
+
* @format GUID
|
|
561
|
+
*/
|
|
498
562
|
anonymousVisitorId?: string;
|
|
499
|
-
/**
|
|
563
|
+
/**
|
|
564
|
+
* ID of a site visitor that has logged in to the site.
|
|
565
|
+
* @format GUID
|
|
566
|
+
*/
|
|
500
567
|
memberId?: string;
|
|
501
|
-
/**
|
|
568
|
+
/**
|
|
569
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
570
|
+
* @format GUID
|
|
571
|
+
*/
|
|
502
572
|
wixUserId?: string;
|
|
503
|
-
/**
|
|
573
|
+
/**
|
|
574
|
+
* ID of an app.
|
|
575
|
+
* @format GUID
|
|
576
|
+
*/
|
|
504
577
|
appId?: string;
|
|
505
578
|
/** @readonly */
|
|
506
579
|
identityType?: WebhookIdentityType;
|
|
507
580
|
}
|
|
508
581
|
/** @oneof */
|
|
509
582
|
export interface IdentificationDataIdOneOf {
|
|
510
|
-
/**
|
|
583
|
+
/**
|
|
584
|
+
* ID of a site visitor that has not logged in to the site.
|
|
585
|
+
* @format GUID
|
|
586
|
+
*/
|
|
511
587
|
anonymousVisitorId?: string;
|
|
512
|
-
/**
|
|
588
|
+
/**
|
|
589
|
+
* ID of a site visitor that has logged in to the site.
|
|
590
|
+
* @format GUID
|
|
591
|
+
*/
|
|
513
592
|
memberId?: string;
|
|
514
|
-
/**
|
|
593
|
+
/**
|
|
594
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
595
|
+
* @format GUID
|
|
596
|
+
*/
|
|
515
597
|
wixUserId?: string;
|
|
516
|
-
/**
|
|
598
|
+
/**
|
|
599
|
+
* ID of an app.
|
|
600
|
+
* @format GUID
|
|
601
|
+
*/
|
|
517
602
|
appId?: string;
|
|
518
603
|
}
|
|
519
604
|
export declare enum WebhookIdentityType {
|
|
@@ -576,9 +661,15 @@ export interface QueryLoyaltyCouponResponseNonNullableFields {
|
|
|
576
661
|
loyaltyCoupons: LoyaltyCouponNonNullableFields[];
|
|
577
662
|
}
|
|
578
663
|
export interface BaseEventMetadata {
|
|
579
|
-
/**
|
|
664
|
+
/**
|
|
665
|
+
* App instance ID.
|
|
666
|
+
* @format GUID
|
|
667
|
+
*/
|
|
580
668
|
instanceId?: string | null;
|
|
581
|
-
/**
|
|
669
|
+
/**
|
|
670
|
+
* Event type.
|
|
671
|
+
* @maxLength 150
|
|
672
|
+
*/
|
|
582
673
|
eventType?: string;
|
|
583
674
|
/** The identification type and identity data. */
|
|
584
675
|
identity?: IdentificationData;
|
|
@@ -672,7 +763,10 @@ export declare function onCouponDeleted(handler: (event: CouponDeletedEnvelope)
|
|
|
672
763
|
*/
|
|
673
764
|
export declare function redeemPointsForCoupon(rewardId: string, options: RedeemPointsForCouponOptions): Promise<RedeemPointsForCouponResponse & RedeemPointsForCouponResponseNonNullableFields>;
|
|
674
765
|
export interface RedeemPointsForCouponOptions {
|
|
675
|
-
/**
|
|
766
|
+
/**
|
|
767
|
+
* ID of the [loyalty account](https://dev.wix.com/docs/rest/crm/loyalty-program/accounts/account-object) of the customer redeeming points.
|
|
768
|
+
* @format GUID
|
|
769
|
+
*/
|
|
676
770
|
loyaltyAccountId: string;
|
|
677
771
|
}
|
|
678
772
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-v1-coupon-coupons.universal.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kGAAoF;
|
|
1
|
+
{"version":3,"file":"loyalty-v1-coupon-coupons.universal.js","sourceRoot":"","sources":["../../../src/loyalty-v1-coupon-coupons.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,kGAAoF;AA+LpF,IAAY,IAOX;AAPD,WAAY,IAAI;IACd,2BAAmB,CAAA;IACnB,6CAAqC,CAAA;IACrC,6CAAqC,CAAA;IACrC,uCAA+B,CAAA;IAC/B,iDAAyC,CAAA;IACzC,mCAA2B,CAAA;AAC7B,CAAC,EAPW,IAAI,oBAAJ,IAAI,QAOf;AAsCD,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,0FAA0F;IAC1F,6BAAmB,CAAA;IACnB,oEAAoE;IACpE,2BAAiB,CAAA;IACjB,2EAA2E;IAC3E,6BAAmB,CAAA;IACnB,gHAAgH;IAChH,2BAAiB,CAAA;IACjB,wCAAwC;IACxC,+BAAqB,CAAA;AACvB,CAAC,EAbW,MAAM,sBAAN,MAAM,QAajB;AAqHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA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