@wix/packages 1.0.21 → 1.0.22
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/packages",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"type-bundles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wix/packages_packages": "1.0.
|
|
24
|
+
"@wix/packages_packages": "1.0.21"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"glob": "^10.4.1",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"fqdn": ""
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"falconPackageHash": "
|
|
49
|
+
"falconPackageHash": "5a9077c2c4e054cfff67be2448ce40ae84764308af80a6d78fee466b"
|
|
50
50
|
}
|
|
@@ -546,12 +546,6 @@ interface ProductInstance extends ProductInstanceContractDetailsOneOf {
|
|
|
546
546
|
catalogProductId?: string;
|
|
547
547
|
/**
|
|
548
548
|
* Status of the product instance.
|
|
549
|
-
*
|
|
550
|
-
* + `PENDING`: The product instance isn't yet available to the customer.
|
|
551
|
-
* + `ENABLED`: The customer can use the product instance.
|
|
552
|
-
* + `CANCELED`: The product instance isn't any longer available to the customer.
|
|
553
|
-
* + `FAILED`: The product instance couldn't be delivered successfully and has never been available to the customer.
|
|
554
|
-
* + `AWAITING_ACTION`: The product instance isn't yet available to the customer, because an external provider or the customer must take an action.
|
|
555
549
|
* @readonly
|
|
556
550
|
*/
|
|
557
551
|
status?: Status;
|
|
@@ -610,26 +604,29 @@ interface ProductInstanceContractDetailsOneOf {
|
|
|
610
604
|
}
|
|
611
605
|
declare enum FailureReasonFailureReason {
|
|
612
606
|
UNKNOWN = "UNKNOWN",
|
|
613
|
-
/** The
|
|
607
|
+
/** The product instance couldn't be created because the Resellers API timed out. */
|
|
614
608
|
DELIVERY_TIMEOUT = "DELIVERY_TIMEOUT",
|
|
615
|
-
/**
|
|
609
|
+
/** The product instance couldn't be created because an external process failed. */
|
|
616
610
|
EXTERNAL_FAILURE = "EXTERNAL_FAILURE"
|
|
617
611
|
}
|
|
618
612
|
declare enum IntervalIntervalUnit {
|
|
619
613
|
/** unknown interval unit */
|
|
620
614
|
UNKNOWN = "UNKNOWN",
|
|
621
|
-
/**
|
|
615
|
+
/** Day */
|
|
622
616
|
DAY = "DAY",
|
|
623
|
-
/**
|
|
617
|
+
/** Week */
|
|
624
618
|
WEEK = "WEEK",
|
|
625
|
-
/**
|
|
619
|
+
/** Month */
|
|
626
620
|
MONTH = "MONTH",
|
|
627
|
-
/**
|
|
621
|
+
/** Year */
|
|
628
622
|
YEAR = "YEAR"
|
|
629
623
|
}
|
|
630
624
|
declare enum CycleDescriptorType {
|
|
625
|
+
/** The payment type hasn't been set. */
|
|
631
626
|
UNKNOWN = "UNKNOWN",
|
|
627
|
+
/** The reseller pays Wix in a single payment. */
|
|
632
628
|
ONE_TIME = "ONE_TIME",
|
|
629
|
+
/** The reseller pays Wix on a recurring schedule. */
|
|
633
630
|
RECURRING = "RECURRING"
|
|
634
631
|
}
|
|
635
632
|
interface CycleInterval {
|
|
@@ -639,30 +636,25 @@ interface CycleInterval {
|
|
|
639
636
|
count?: number;
|
|
640
637
|
}
|
|
641
638
|
declare enum Status {
|
|
639
|
+
/** The product instance isn't yet available to the customer. */
|
|
642
640
|
PENDING = "PENDING",
|
|
641
|
+
/** The customer can use the product instance. */
|
|
643
642
|
ENABLED = "ENABLED",
|
|
643
|
+
/** The product instance isn't any longer available to the customer. */
|
|
644
644
|
CANCELED = "CANCELED",
|
|
645
|
+
/** The product instance couldn't be delivered successfully and has never been available to the customer. */
|
|
645
646
|
FAILED = "FAILED",
|
|
647
|
+
/** The product instance isn't yet available to the customer, because an external provider or the customer must take an action. */
|
|
646
648
|
AWAITING_ACTION = "AWAITING_ACTION"
|
|
647
649
|
}
|
|
648
650
|
interface FailureReason {
|
|
649
|
-
/**
|
|
650
|
-
* Failure code.
|
|
651
|
-
*
|
|
652
|
-
* + `DELIVERY_TIMEOUT`: The product instance couldn't be created because the Resellers API timed out.
|
|
653
|
-
* + `EXTERNAL_FAILURE`: The product instance couldn't be created because an external process failed. Contact the [Wix B2B sales team](mailto:bizdev@wix.com) for more information.
|
|
654
|
-
*/
|
|
651
|
+
/** Failure code. */
|
|
655
652
|
code?: FailureReasonFailureReason;
|
|
656
653
|
/** Failure message. */
|
|
657
654
|
message?: string;
|
|
658
655
|
}
|
|
659
656
|
interface ProductInstanceCycle {
|
|
660
|
-
/**
|
|
661
|
-
* Payment type.
|
|
662
|
-
* + `UNKNOWN`: The payment type hasn't been set.
|
|
663
|
-
* + `ONE_TIME`: The reseller pays Wix in a single payment.
|
|
664
|
-
* + `RECURRING`: The reseller pays Wix on a recurring schedule.
|
|
665
|
-
*/
|
|
657
|
+
/** Payment type. */
|
|
666
658
|
type?: CycleDescriptorType;
|
|
667
659
|
/** Duration of the billing cycle. Available only for `RECURRING` payments. */
|
|
668
660
|
cycleDuration?: CycleInterval;
|
|
@@ -546,12 +546,6 @@ interface ProductInstance extends ProductInstanceContractDetailsOneOf {
|
|
|
546
546
|
catalogProductId?: string;
|
|
547
547
|
/**
|
|
548
548
|
* Status of the product instance.
|
|
549
|
-
*
|
|
550
|
-
* + `PENDING`: The product instance isn't yet available to the customer.
|
|
551
|
-
* + `ENABLED`: The customer can use the product instance.
|
|
552
|
-
* + `CANCELED`: The product instance isn't any longer available to the customer.
|
|
553
|
-
* + `FAILED`: The product instance couldn't be delivered successfully and has never been available to the customer.
|
|
554
|
-
* + `AWAITING_ACTION`: The product instance isn't yet available to the customer, because an external provider or the customer must take an action.
|
|
555
549
|
* @readonly
|
|
556
550
|
*/
|
|
557
551
|
status?: Status;
|
|
@@ -610,26 +604,29 @@ interface ProductInstanceContractDetailsOneOf {
|
|
|
610
604
|
}
|
|
611
605
|
declare enum FailureReasonFailureReason {
|
|
612
606
|
UNKNOWN = "UNKNOWN",
|
|
613
|
-
/** The
|
|
607
|
+
/** The product instance couldn't be created because the Resellers API timed out. */
|
|
614
608
|
DELIVERY_TIMEOUT = "DELIVERY_TIMEOUT",
|
|
615
|
-
/**
|
|
609
|
+
/** The product instance couldn't be created because an external process failed. */
|
|
616
610
|
EXTERNAL_FAILURE = "EXTERNAL_FAILURE"
|
|
617
611
|
}
|
|
618
612
|
declare enum IntervalIntervalUnit {
|
|
619
613
|
/** unknown interval unit */
|
|
620
614
|
UNKNOWN = "UNKNOWN",
|
|
621
|
-
/**
|
|
615
|
+
/** Day */
|
|
622
616
|
DAY = "DAY",
|
|
623
|
-
/**
|
|
617
|
+
/** Week */
|
|
624
618
|
WEEK = "WEEK",
|
|
625
|
-
/**
|
|
619
|
+
/** Month */
|
|
626
620
|
MONTH = "MONTH",
|
|
627
|
-
/**
|
|
621
|
+
/** Year */
|
|
628
622
|
YEAR = "YEAR"
|
|
629
623
|
}
|
|
630
624
|
declare enum CycleDescriptorType {
|
|
625
|
+
/** The payment type hasn't been set. */
|
|
631
626
|
UNKNOWN = "UNKNOWN",
|
|
627
|
+
/** The reseller pays Wix in a single payment. */
|
|
632
628
|
ONE_TIME = "ONE_TIME",
|
|
629
|
+
/** The reseller pays Wix on a recurring schedule. */
|
|
633
630
|
RECURRING = "RECURRING"
|
|
634
631
|
}
|
|
635
632
|
interface CycleInterval {
|
|
@@ -639,30 +636,25 @@ interface CycleInterval {
|
|
|
639
636
|
count?: number;
|
|
640
637
|
}
|
|
641
638
|
declare enum Status {
|
|
639
|
+
/** The product instance isn't yet available to the customer. */
|
|
642
640
|
PENDING = "PENDING",
|
|
641
|
+
/** The customer can use the product instance. */
|
|
643
642
|
ENABLED = "ENABLED",
|
|
643
|
+
/** The product instance isn't any longer available to the customer. */
|
|
644
644
|
CANCELED = "CANCELED",
|
|
645
|
+
/** The product instance couldn't be delivered successfully and has never been available to the customer. */
|
|
645
646
|
FAILED = "FAILED",
|
|
647
|
+
/** The product instance isn't yet available to the customer, because an external provider or the customer must take an action. */
|
|
646
648
|
AWAITING_ACTION = "AWAITING_ACTION"
|
|
647
649
|
}
|
|
648
650
|
interface FailureReason {
|
|
649
|
-
/**
|
|
650
|
-
* Failure code.
|
|
651
|
-
*
|
|
652
|
-
* + `DELIVERY_TIMEOUT`: The product instance couldn't be created because the Resellers API timed out.
|
|
653
|
-
* + `EXTERNAL_FAILURE`: The product instance couldn't be created because an external process failed. Contact the [Wix B2B sales team](mailto:bizdev@wix.com) for more information.
|
|
654
|
-
*/
|
|
651
|
+
/** Failure code. */
|
|
655
652
|
code?: FailureReasonFailureReason;
|
|
656
653
|
/** Failure message. */
|
|
657
654
|
message?: string;
|
|
658
655
|
}
|
|
659
656
|
interface ProductInstanceCycle {
|
|
660
|
-
/**
|
|
661
|
-
* Payment type.
|
|
662
|
-
* + `UNKNOWN`: The payment type hasn't been set.
|
|
663
|
-
* + `ONE_TIME`: The reseller pays Wix in a single payment.
|
|
664
|
-
* + `RECURRING`: The reseller pays Wix on a recurring schedule.
|
|
665
|
-
*/
|
|
657
|
+
/** Payment type. */
|
|
666
658
|
type?: CycleDescriptorType;
|
|
667
659
|
/** Duration of the billing cycle. Available only for `RECURRING` payments. */
|
|
668
660
|
cycleDuration?: CycleInterval;
|
|
@@ -68,12 +68,6 @@ interface ProductInstance$1 extends ProductInstanceContractDetailsOneOf$1 {
|
|
|
68
68
|
catalogProductId?: string;
|
|
69
69
|
/**
|
|
70
70
|
* Status of the product instance.
|
|
71
|
-
*
|
|
72
|
-
* + `PENDING`: The product instance isn't yet available to the customer.
|
|
73
|
-
* + `ENABLED`: The customer can use the product instance.
|
|
74
|
-
* + `CANCELED`: The product instance isn't any longer available to the customer.
|
|
75
|
-
* + `FAILED`: The product instance couldn't be delivered successfully and has never been available to the customer.
|
|
76
|
-
* + `AWAITING_ACTION`: The product instance isn't yet available to the customer, because an external provider or the customer must take an action.
|
|
77
71
|
* @readonly
|
|
78
72
|
*/
|
|
79
73
|
status?: Status$1;
|
|
@@ -132,26 +126,29 @@ interface ProductInstanceContractDetailsOneOf$1 {
|
|
|
132
126
|
}
|
|
133
127
|
declare enum FailureReasonFailureReason$1 {
|
|
134
128
|
UNKNOWN = "UNKNOWN",
|
|
135
|
-
/** The
|
|
129
|
+
/** The product instance couldn't be created because the Resellers API timed out. */
|
|
136
130
|
DELIVERY_TIMEOUT = "DELIVERY_TIMEOUT",
|
|
137
|
-
/**
|
|
131
|
+
/** The product instance couldn't be created because an external process failed. */
|
|
138
132
|
EXTERNAL_FAILURE = "EXTERNAL_FAILURE"
|
|
139
133
|
}
|
|
140
134
|
declare enum IntervalIntervalUnit$1 {
|
|
141
135
|
/** unknown interval unit */
|
|
142
136
|
UNKNOWN = "UNKNOWN",
|
|
143
|
-
/**
|
|
137
|
+
/** Day */
|
|
144
138
|
DAY = "DAY",
|
|
145
|
-
/**
|
|
139
|
+
/** Week */
|
|
146
140
|
WEEK = "WEEK",
|
|
147
|
-
/**
|
|
141
|
+
/** Month */
|
|
148
142
|
MONTH = "MONTH",
|
|
149
|
-
/**
|
|
143
|
+
/** Year */
|
|
150
144
|
YEAR = "YEAR"
|
|
151
145
|
}
|
|
152
146
|
declare enum CycleDescriptorType$1 {
|
|
147
|
+
/** The payment type hasn't been set. */
|
|
153
148
|
UNKNOWN = "UNKNOWN",
|
|
149
|
+
/** The reseller pays Wix in a single payment. */
|
|
154
150
|
ONE_TIME = "ONE_TIME",
|
|
151
|
+
/** The reseller pays Wix on a recurring schedule. */
|
|
155
152
|
RECURRING = "RECURRING"
|
|
156
153
|
}
|
|
157
154
|
interface CycleInterval$1 {
|
|
@@ -161,30 +158,25 @@ interface CycleInterval$1 {
|
|
|
161
158
|
count?: number;
|
|
162
159
|
}
|
|
163
160
|
declare enum Status$1 {
|
|
161
|
+
/** The product instance isn't yet available to the customer. */
|
|
164
162
|
PENDING = "PENDING",
|
|
163
|
+
/** The customer can use the product instance. */
|
|
165
164
|
ENABLED = "ENABLED",
|
|
165
|
+
/** The product instance isn't any longer available to the customer. */
|
|
166
166
|
CANCELED = "CANCELED",
|
|
167
|
+
/** The product instance couldn't be delivered successfully and has never been available to the customer. */
|
|
167
168
|
FAILED = "FAILED",
|
|
169
|
+
/** The product instance isn't yet available to the customer, because an external provider or the customer must take an action. */
|
|
168
170
|
AWAITING_ACTION = "AWAITING_ACTION"
|
|
169
171
|
}
|
|
170
172
|
interface FailureReason$1 {
|
|
171
|
-
/**
|
|
172
|
-
* Failure code.
|
|
173
|
-
*
|
|
174
|
-
* + `DELIVERY_TIMEOUT`: The product instance couldn't be created because the Resellers API timed out.
|
|
175
|
-
* + `EXTERNAL_FAILURE`: The product instance couldn't be created because an external process failed. Contact the [Wix B2B sales team](mailto:bizdev@wix.com) for more information.
|
|
176
|
-
*/
|
|
173
|
+
/** Failure code. */
|
|
177
174
|
code?: FailureReasonFailureReason$1;
|
|
178
175
|
/** Failure message. */
|
|
179
176
|
message?: string;
|
|
180
177
|
}
|
|
181
178
|
interface ProductInstanceCycle$1 {
|
|
182
|
-
/**
|
|
183
|
-
* Payment type.
|
|
184
|
-
* + `UNKNOWN`: The payment type hasn't been set.
|
|
185
|
-
* + `ONE_TIME`: The reseller pays Wix in a single payment.
|
|
186
|
-
* + `RECURRING`: The reseller pays Wix on a recurring schedule.
|
|
187
|
-
*/
|
|
179
|
+
/** Payment type. */
|
|
188
180
|
type?: CycleDescriptorType$1;
|
|
189
181
|
/** Duration of the billing cycle. Available only for `RECURRING` payments. */
|
|
190
182
|
cycleDuration?: CycleInterval$1;
|
|
@@ -519,12 +511,6 @@ interface ProductInstance extends ProductInstanceContractDetailsOneOf {
|
|
|
519
511
|
catalogProductId?: string;
|
|
520
512
|
/**
|
|
521
513
|
* Status of the product instance.
|
|
522
|
-
*
|
|
523
|
-
* + `PENDING`: The product instance isn't yet available to the customer.
|
|
524
|
-
* + `ENABLED`: The customer can use the product instance.
|
|
525
|
-
* + `CANCELED`: The product instance isn't any longer available to the customer.
|
|
526
|
-
* + `FAILED`: The product instance couldn't be delivered successfully and has never been available to the customer.
|
|
527
|
-
* + `AWAITING_ACTION`: The product instance isn't yet available to the customer, because an external provider or the customer must take an action.
|
|
528
514
|
* @readonly
|
|
529
515
|
*/
|
|
530
516
|
status?: Status;
|
|
@@ -583,26 +569,29 @@ interface ProductInstanceContractDetailsOneOf {
|
|
|
583
569
|
}
|
|
584
570
|
declare enum FailureReasonFailureReason {
|
|
585
571
|
UNKNOWN = "UNKNOWN",
|
|
586
|
-
/** The
|
|
572
|
+
/** The product instance couldn't be created because the Resellers API timed out. */
|
|
587
573
|
DELIVERY_TIMEOUT = "DELIVERY_TIMEOUT",
|
|
588
|
-
/**
|
|
574
|
+
/** The product instance couldn't be created because an external process failed. */
|
|
589
575
|
EXTERNAL_FAILURE = "EXTERNAL_FAILURE"
|
|
590
576
|
}
|
|
591
577
|
declare enum IntervalIntervalUnit {
|
|
592
578
|
/** unknown interval unit */
|
|
593
579
|
UNKNOWN = "UNKNOWN",
|
|
594
|
-
/**
|
|
580
|
+
/** Day */
|
|
595
581
|
DAY = "DAY",
|
|
596
|
-
/**
|
|
582
|
+
/** Week */
|
|
597
583
|
WEEK = "WEEK",
|
|
598
|
-
/**
|
|
584
|
+
/** Month */
|
|
599
585
|
MONTH = "MONTH",
|
|
600
|
-
/**
|
|
586
|
+
/** Year */
|
|
601
587
|
YEAR = "YEAR"
|
|
602
588
|
}
|
|
603
589
|
declare enum CycleDescriptorType {
|
|
590
|
+
/** The payment type hasn't been set. */
|
|
604
591
|
UNKNOWN = "UNKNOWN",
|
|
592
|
+
/** The reseller pays Wix in a single payment. */
|
|
605
593
|
ONE_TIME = "ONE_TIME",
|
|
594
|
+
/** The reseller pays Wix on a recurring schedule. */
|
|
606
595
|
RECURRING = "RECURRING"
|
|
607
596
|
}
|
|
608
597
|
interface CycleInterval {
|
|
@@ -612,30 +601,25 @@ interface CycleInterval {
|
|
|
612
601
|
count?: number;
|
|
613
602
|
}
|
|
614
603
|
declare enum Status {
|
|
604
|
+
/** The product instance isn't yet available to the customer. */
|
|
615
605
|
PENDING = "PENDING",
|
|
606
|
+
/** The customer can use the product instance. */
|
|
616
607
|
ENABLED = "ENABLED",
|
|
608
|
+
/** The product instance isn't any longer available to the customer. */
|
|
617
609
|
CANCELED = "CANCELED",
|
|
610
|
+
/** The product instance couldn't be delivered successfully and has never been available to the customer. */
|
|
618
611
|
FAILED = "FAILED",
|
|
612
|
+
/** The product instance isn't yet available to the customer, because an external provider or the customer must take an action. */
|
|
619
613
|
AWAITING_ACTION = "AWAITING_ACTION"
|
|
620
614
|
}
|
|
621
615
|
interface FailureReason {
|
|
622
|
-
/**
|
|
623
|
-
* Failure code.
|
|
624
|
-
*
|
|
625
|
-
* + `DELIVERY_TIMEOUT`: The product instance couldn't be created because the Resellers API timed out.
|
|
626
|
-
* + `EXTERNAL_FAILURE`: The product instance couldn't be created because an external process failed. Contact the [Wix B2B sales team](mailto:bizdev@wix.com) for more information.
|
|
627
|
-
*/
|
|
616
|
+
/** Failure code. */
|
|
628
617
|
code?: FailureReasonFailureReason;
|
|
629
618
|
/** Failure message. */
|
|
630
619
|
message?: string;
|
|
631
620
|
}
|
|
632
621
|
interface ProductInstanceCycle {
|
|
633
|
-
/**
|
|
634
|
-
* Payment type.
|
|
635
|
-
* + `UNKNOWN`: The payment type hasn't been set.
|
|
636
|
-
* + `ONE_TIME`: The reseller pays Wix in a single payment.
|
|
637
|
-
* + `RECURRING`: The reseller pays Wix on a recurring schedule.
|
|
638
|
-
*/
|
|
622
|
+
/** Payment type. */
|
|
639
623
|
type?: CycleDescriptorType;
|
|
640
624
|
/** Duration of the billing cycle. Available only for `RECURRING` payments. */
|
|
641
625
|
cycleDuration?: CycleInterval;
|