@wix/referral 1.0.31 → 1.0.32

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.31",
3
+ "version": "1.0.32",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@wix/referral_customers": "1.0.13",
22
22
  "@wix/referral_friends": "1.0.10",
23
- "@wix/referral_programs": "1.0.18",
23
+ "@wix/referral_programs": "1.0.19",
24
24
  "@wix/referral_rewards": "1.0.13",
25
25
  "@wix/referral_tracker": "1.0.15"
26
26
  },
@@ -47,5 +47,5 @@
47
47
  "fqdn": ""
48
48
  }
49
49
  },
50
- "falconPackageHash": "1b8665aae270d0132f239fd9950b1ddf08d7651ea5bd03f198c6e78b"
50
+ "falconPackageHash": "a22ef39efa0431cd64f663316cca6925946e1d880e47f29f6e3ade84"
51
51
  }
@@ -411,17 +411,7 @@ type MaybeContext<T extends Descriptors> = globalThis.ContextualClient extends {
411
411
  interface ReferralProgram {
412
412
  /** Referral program name. */
413
413
  name?: string | null;
414
- /**
415
- * Status of the referral program.
416
- *
417
- * Possible values:
418
- *
419
- * - `UNKNOWN`: The status of the referral program is unknown. This value is not used.
420
- * - `DRAFT`: The referral program is in a draft state and is being modified. It is not yet active.
421
- * - `ACTIVE`: The referral program is active.
422
- * - `PAUSED`: The referral program is paused.
423
- * @readonly
424
- */
414
+ /** @readonly */
425
415
  status?: ProgramStatus;
426
416
  /**
427
417
  * Revision number, which increments by 1 each time the program is updated.
@@ -481,14 +471,15 @@ interface ReferralProgram {
481
471
  */
482
472
  premiumFeatures?: PremiumFeatures;
483
473
  }
474
+ /** Status of the referral program. */
484
475
  declare enum ProgramStatus {
485
- /** Program status is unknown. */
476
+ /** The status of the referral program is unknown. This value is not used. */
486
477
  UNKNOWN = "UNKNOWN",
487
- /** Initial program status. The program was created but not activated. */
478
+ /** The referral program is in a draft state and is being modified. It is not yet active. */
488
479
  DRAFT = "DRAFT",
489
- /** Program is active. */
480
+ /** The referral program is active. */
490
481
  ACTIVE = "ACTIVE",
491
- /** Program was manually disabled by the user. Can be reactivated. */
482
+ /** The referral program is paused. */
492
483
  PAUSED = "PAUSED"
493
484
  }
494
485
  interface Reward$2 extends RewardOptionsOneOf$1 {
@@ -411,17 +411,7 @@ type MaybeContext<T extends Descriptors> = globalThis.ContextualClient extends {
411
411
  interface ReferralProgram {
412
412
  /** Referral program name. */
413
413
  name?: string | null;
414
- /**
415
- * Status of the referral program.
416
- *
417
- * Possible values:
418
- *
419
- * - `UNKNOWN`: The status of the referral program is unknown. This value is not used.
420
- * - `DRAFT`: The referral program is in a draft state and is being modified. It is not yet active.
421
- * - `ACTIVE`: The referral program is active.
422
- * - `PAUSED`: The referral program is paused.
423
- * @readonly
424
- */
414
+ /** @readonly */
425
415
  status?: ProgramStatus;
426
416
  /**
427
417
  * Revision number, which increments by 1 each time the program is updated.
@@ -481,14 +471,15 @@ interface ReferralProgram {
481
471
  */
482
472
  premiumFeatures?: PremiumFeatures;
483
473
  }
474
+ /** Status of the referral program. */
484
475
  declare enum ProgramStatus {
485
- /** Program status is unknown. */
476
+ /** The status of the referral program is unknown. This value is not used. */
486
477
  UNKNOWN = "UNKNOWN",
487
- /** Initial program status. The program was created but not activated. */
478
+ /** The referral program is in a draft state and is being modified. It is not yet active. */
488
479
  DRAFT = "DRAFT",
489
- /** Program is active. */
480
+ /** The referral program is active. */
490
481
  ACTIVE = "ACTIVE",
491
- /** Program was manually disabled by the user. Can be reactivated. */
482
+ /** The referral program is paused. */
492
483
  PAUSED = "PAUSED"
493
484
  }
494
485
  interface Reward$2 extends RewardOptionsOneOf$1 {
@@ -1,17 +1,7 @@
1
1
  interface ReferralProgram$1 {
2
2
  /** Referral program name. */
3
3
  name?: string | null;
4
- /**
5
- * Status of the referral program.
6
- *
7
- * Possible values:
8
- *
9
- * - `UNKNOWN`: The status of the referral program is unknown. This value is not used.
10
- * - `DRAFT`: The referral program is in a draft state and is being modified. It is not yet active.
11
- * - `ACTIVE`: The referral program is active.
12
- * - `PAUSED`: The referral program is paused.
13
- * @readonly
14
- */
4
+ /** @readonly */
15
5
  status?: ProgramStatus$1;
16
6
  /**
17
7
  * Revision number, which increments by 1 each time the program is updated.
@@ -71,14 +61,15 @@ interface ReferralProgram$1 {
71
61
  */
72
62
  premiumFeatures?: PremiumFeatures$1;
73
63
  }
64
+ /** Status of the referral program. */
74
65
  declare enum ProgramStatus$1 {
75
- /** Program status is unknown. */
66
+ /** The status of the referral program is unknown. This value is not used. */
76
67
  UNKNOWN = "UNKNOWN",
77
- /** Initial program status. The program was created but not activated. */
68
+ /** The referral program is in a draft state and is being modified. It is not yet active. */
78
69
  DRAFT = "DRAFT",
79
- /** Program is active. */
70
+ /** The referral program is active. */
80
71
  ACTIVE = "ACTIVE",
81
- /** Program was manually disabled by the user. Can be reactivated. */
72
+ /** The referral program is paused. */
82
73
  PAUSED = "PAUSED"
83
74
  }
84
75
  interface Reward$3 extends RewardOptionsOneOf$1 {
@@ -383,17 +374,7 @@ interface GetReferralProgramPremiumFeaturesResponseNonNullableFields$1 {
383
374
  interface ReferralProgram {
384
375
  /** Referral program name. */
385
376
  name?: string | null;
386
- /**
387
- * Status of the referral program.
388
- *
389
- * Possible values:
390
- *
391
- * - `UNKNOWN`: The status of the referral program is unknown. This value is not used.
392
- * - `DRAFT`: The referral program is in a draft state and is being modified. It is not yet active.
393
- * - `ACTIVE`: The referral program is active.
394
- * - `PAUSED`: The referral program is paused.
395
- * @readonly
396
- */
377
+ /** @readonly */
397
378
  status?: ProgramStatus;
398
379
  /**
399
380
  * Revision number, which increments by 1 each time the program is updated.
@@ -453,14 +434,15 @@ interface ReferralProgram {
453
434
  */
454
435
  premiumFeatures?: PremiumFeatures;
455
436
  }
437
+ /** Status of the referral program. */
456
438
  declare enum ProgramStatus {
457
- /** Program status is unknown. */
439
+ /** The status of the referral program is unknown. This value is not used. */
458
440
  UNKNOWN = "UNKNOWN",
459
- /** Initial program status. The program was created but not activated. */
441
+ /** The referral program is in a draft state and is being modified. It is not yet active. */
460
442
  DRAFT = "DRAFT",
461
- /** Program is active. */
443
+ /** The referral program is active. */
462
444
  ACTIVE = "ACTIVE",
463
- /** Program was manually disabled by the user. Can be reactivated. */
445
+ /** The referral program is paused. */
464
446
  PAUSED = "PAUSED"
465
447
  }
466
448
  interface Reward$2 extends RewardOptionsOneOf {