@wix/referral 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/referral",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/referral_tracker": "1.0.
|
|
21
|
+
"@wix/referral_tracker": "1.0.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"fqdn": ""
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"falconPackageHash": "
|
|
46
|
+
"falconPackageHash": "2e46fb398157491fc5b88668118547f3d2350aa706794153a915c1e5"
|
|
47
47
|
}
|
|
@@ -275,33 +275,34 @@ interface ReferredFriendActionRewardTypeOptionsOneOf {
|
|
|
275
275
|
}
|
|
276
276
|
interface V1Coupon {
|
|
277
277
|
/**
|
|
278
|
-
* Coupon
|
|
278
|
+
* Coupon ID.
|
|
279
279
|
* @readonly
|
|
280
280
|
*/
|
|
281
281
|
_id?: string;
|
|
282
282
|
/**
|
|
283
|
-
* Coupon code
|
|
283
|
+
* Coupon code.
|
|
284
284
|
* @readonly
|
|
285
285
|
*/
|
|
286
286
|
code?: string;
|
|
287
287
|
/**
|
|
288
|
-
* Coupon status
|
|
288
|
+
* Coupon status.
|
|
289
289
|
* @readonly
|
|
290
290
|
*/
|
|
291
291
|
status?: Status;
|
|
292
292
|
/**
|
|
293
|
-
* Coupon specification
|
|
293
|
+
* Coupon specification.
|
|
294
294
|
* @readonly
|
|
295
295
|
*/
|
|
296
296
|
couponSpecification?: Coupon;
|
|
297
297
|
}
|
|
298
298
|
declare enum Status {
|
|
299
|
+
/** Unknown coupon status. */
|
|
299
300
|
UNKNOWN = "UNKNOWN",
|
|
300
|
-
/** Coupon is active and can be applied */
|
|
301
|
+
/** Coupon is active and can be applied. */
|
|
301
302
|
ACTIVE = "ACTIVE",
|
|
302
|
-
/** Coupon was already applied and can not be used anymore */
|
|
303
|
+
/** Coupon was already applied and can not be used anymore. */
|
|
303
304
|
APPLIED = "APPLIED",
|
|
304
|
-
/** Coupon was deleted */
|
|
305
|
+
/** Coupon was deleted. */
|
|
305
306
|
DELETED = "DELETED"
|
|
306
307
|
}
|
|
307
308
|
interface Coupon extends CouponDiscountTypeOptionsOneOf, CouponScopeOrMinSubtotalOneOf {
|
|
@@ -364,12 +365,12 @@ interface Group {
|
|
|
364
365
|
}
|
|
365
366
|
interface LoyaltyPoints {
|
|
366
367
|
/**
|
|
367
|
-
* Loyalty transaction
|
|
368
|
+
* Loyalty transaction ID.
|
|
368
369
|
* @readonly
|
|
369
370
|
*/
|
|
370
371
|
transactionId?: string;
|
|
371
372
|
/**
|
|
372
|
-
* Loyalty points amount given
|
|
373
|
+
* Loyalty points amount given.
|
|
373
374
|
* @readonly
|
|
374
375
|
*/
|
|
375
376
|
amount?: number;
|
|
@@ -315,33 +315,34 @@ interface ReferredFriendActionRewardTypeOptionsOneOf {
|
|
|
315
315
|
}
|
|
316
316
|
interface V1Coupon {
|
|
317
317
|
/**
|
|
318
|
-
* Coupon
|
|
318
|
+
* Coupon ID.
|
|
319
319
|
* @readonly
|
|
320
320
|
*/
|
|
321
321
|
_id?: string;
|
|
322
322
|
/**
|
|
323
|
-
* Coupon code
|
|
323
|
+
* Coupon code.
|
|
324
324
|
* @readonly
|
|
325
325
|
*/
|
|
326
326
|
code?: string;
|
|
327
327
|
/**
|
|
328
|
-
* Coupon status
|
|
328
|
+
* Coupon status.
|
|
329
329
|
* @readonly
|
|
330
330
|
*/
|
|
331
331
|
status?: Status;
|
|
332
332
|
/**
|
|
333
|
-
* Coupon specification
|
|
333
|
+
* Coupon specification.
|
|
334
334
|
* @readonly
|
|
335
335
|
*/
|
|
336
336
|
couponSpecification?: Coupon;
|
|
337
337
|
}
|
|
338
338
|
declare enum Status {
|
|
339
|
+
/** Unknown coupon status. */
|
|
339
340
|
UNKNOWN = "UNKNOWN",
|
|
340
|
-
/** Coupon is active and can be applied */
|
|
341
|
+
/** Coupon is active and can be applied. */
|
|
341
342
|
ACTIVE = "ACTIVE",
|
|
342
|
-
/** Coupon was already applied and can not be used anymore */
|
|
343
|
+
/** Coupon was already applied and can not be used anymore. */
|
|
343
344
|
APPLIED = "APPLIED",
|
|
344
|
-
/** Coupon was deleted */
|
|
345
|
+
/** Coupon was deleted. */
|
|
345
346
|
DELETED = "DELETED"
|
|
346
347
|
}
|
|
347
348
|
interface Coupon extends CouponDiscountTypeOptionsOneOf, CouponScopeOrMinSubtotalOneOf {
|
|
@@ -404,12 +405,12 @@ interface Group {
|
|
|
404
405
|
}
|
|
405
406
|
interface LoyaltyPoints {
|
|
406
407
|
/**
|
|
407
|
-
* Loyalty transaction
|
|
408
|
+
* Loyalty transaction ID.
|
|
408
409
|
* @readonly
|
|
409
410
|
*/
|
|
410
411
|
transactionId?: string;
|
|
411
412
|
/**
|
|
412
|
-
* Loyalty points amount given
|
|
413
|
+
* Loyalty points amount given.
|
|
413
414
|
* @readonly
|
|
414
415
|
*/
|
|
415
416
|
amount?: number;
|
|
@@ -307,33 +307,34 @@ interface ReferredFriendActionRewardTypeOptionsOneOf$1 {
|
|
|
307
307
|
}
|
|
308
308
|
interface V1Coupon$1 {
|
|
309
309
|
/**
|
|
310
|
-
* Coupon
|
|
310
|
+
* Coupon ID.
|
|
311
311
|
* @readonly
|
|
312
312
|
*/
|
|
313
313
|
id?: string;
|
|
314
314
|
/**
|
|
315
|
-
* Coupon code
|
|
315
|
+
* Coupon code.
|
|
316
316
|
* @readonly
|
|
317
317
|
*/
|
|
318
318
|
code?: string;
|
|
319
319
|
/**
|
|
320
|
-
* Coupon status
|
|
320
|
+
* Coupon status.
|
|
321
321
|
* @readonly
|
|
322
322
|
*/
|
|
323
323
|
status?: Status$1;
|
|
324
324
|
/**
|
|
325
|
-
* Coupon specification
|
|
325
|
+
* Coupon specification.
|
|
326
326
|
* @readonly
|
|
327
327
|
*/
|
|
328
328
|
couponSpecification?: Coupon$1;
|
|
329
329
|
}
|
|
330
330
|
declare enum Status$1 {
|
|
331
|
+
/** Unknown coupon status. */
|
|
331
332
|
UNKNOWN = "UNKNOWN",
|
|
332
|
-
/** Coupon is active and can be applied */
|
|
333
|
+
/** Coupon is active and can be applied. */
|
|
333
334
|
ACTIVE = "ACTIVE",
|
|
334
|
-
/** Coupon was already applied and can not be used anymore */
|
|
335
|
+
/** Coupon was already applied and can not be used anymore. */
|
|
335
336
|
APPLIED = "APPLIED",
|
|
336
|
-
/** Coupon was deleted */
|
|
337
|
+
/** Coupon was deleted. */
|
|
337
338
|
DELETED = "DELETED"
|
|
338
339
|
}
|
|
339
340
|
interface Coupon$1 extends CouponDiscountTypeOptionsOneOf$1, CouponScopeOrMinSubtotalOneOf$1 {
|
|
@@ -396,12 +397,12 @@ interface Group$1 {
|
|
|
396
397
|
}
|
|
397
398
|
interface LoyaltyPoints$1 {
|
|
398
399
|
/**
|
|
399
|
-
* Loyalty transaction
|
|
400
|
+
* Loyalty transaction ID.
|
|
400
401
|
* @readonly
|
|
401
402
|
*/
|
|
402
403
|
transactionId?: string;
|
|
403
404
|
/**
|
|
404
|
-
* Loyalty points amount given
|
|
405
|
+
* Loyalty points amount given.
|
|
405
406
|
* @readonly
|
|
406
407
|
*/
|
|
407
408
|
amount?: number;
|
|
@@ -819,33 +820,34 @@ interface ReferredFriendActionRewardTypeOptionsOneOf {
|
|
|
819
820
|
}
|
|
820
821
|
interface V1Coupon {
|
|
821
822
|
/**
|
|
822
|
-
* Coupon
|
|
823
|
+
* Coupon ID.
|
|
823
824
|
* @readonly
|
|
824
825
|
*/
|
|
825
826
|
_id?: string;
|
|
826
827
|
/**
|
|
827
|
-
* Coupon code
|
|
828
|
+
* Coupon code.
|
|
828
829
|
* @readonly
|
|
829
830
|
*/
|
|
830
831
|
code?: string;
|
|
831
832
|
/**
|
|
832
|
-
* Coupon status
|
|
833
|
+
* Coupon status.
|
|
833
834
|
* @readonly
|
|
834
835
|
*/
|
|
835
836
|
status?: Status;
|
|
836
837
|
/**
|
|
837
|
-
* Coupon specification
|
|
838
|
+
* Coupon specification.
|
|
838
839
|
* @readonly
|
|
839
840
|
*/
|
|
840
841
|
couponSpecification?: Coupon;
|
|
841
842
|
}
|
|
842
843
|
declare enum Status {
|
|
844
|
+
/** Unknown coupon status. */
|
|
843
845
|
UNKNOWN = "UNKNOWN",
|
|
844
|
-
/** Coupon is active and can be applied */
|
|
846
|
+
/** Coupon is active and can be applied. */
|
|
845
847
|
ACTIVE = "ACTIVE",
|
|
846
|
-
/** Coupon was already applied and can not be used anymore */
|
|
848
|
+
/** Coupon was already applied and can not be used anymore. */
|
|
847
849
|
APPLIED = "APPLIED",
|
|
848
|
-
/** Coupon was deleted */
|
|
850
|
+
/** Coupon was deleted. */
|
|
849
851
|
DELETED = "DELETED"
|
|
850
852
|
}
|
|
851
853
|
interface Coupon extends CouponDiscountTypeOptionsOneOf, CouponScopeOrMinSubtotalOneOf {
|
|
@@ -908,12 +910,12 @@ interface Group {
|
|
|
908
910
|
}
|
|
909
911
|
interface LoyaltyPoints {
|
|
910
912
|
/**
|
|
911
|
-
* Loyalty transaction
|
|
913
|
+
* Loyalty transaction ID.
|
|
912
914
|
* @readonly
|
|
913
915
|
*/
|
|
914
916
|
transactionId?: string;
|
|
915
917
|
/**
|
|
916
|
-
* Loyalty points amount given
|
|
918
|
+
* Loyalty points amount given.
|
|
917
919
|
* @readonly
|
|
918
920
|
*/
|
|
919
921
|
amount?: number;
|