@wix/packages 1.0.20 → 1.0.21
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.21",
|
|
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.20"
|
|
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": "0e8fb5c62c723df1e07a5f0e6a2beac0eab6ae2c3fc9fdd359160d26"
|
|
50
50
|
}
|
|
@@ -667,6 +667,27 @@ interface ProductInstanceCycle {
|
|
|
667
667
|
/** Duration of the billing cycle. Available only for `RECURRING` payments. */
|
|
668
668
|
cycleDuration?: CycleInterval;
|
|
669
669
|
}
|
|
670
|
+
interface MigrateSubscriptionToPackagesRequest {
|
|
671
|
+
/** Created package. */
|
|
672
|
+
productInstance?: ProductInstance;
|
|
673
|
+
/** Existing subscriptionId to migrate */
|
|
674
|
+
subscriptionId?: string | null;
|
|
675
|
+
/** User id of the migration - only for Immigrator */
|
|
676
|
+
userId?: string | null;
|
|
677
|
+
}
|
|
678
|
+
interface MigrateSubscriptionToPackagesResponse {
|
|
679
|
+
package?: Package;
|
|
680
|
+
}
|
|
681
|
+
interface FixBrokenMigrationRequest {
|
|
682
|
+
/** Subscription id of the broken subscription */
|
|
683
|
+
subscriptionId?: string;
|
|
684
|
+
/** SBS service id that points to the broken subscription */
|
|
685
|
+
sbsServiceId?: string;
|
|
686
|
+
/** Owner of the broken subscription */
|
|
687
|
+
userId?: string;
|
|
688
|
+
}
|
|
689
|
+
interface FixBrokenMigrationResponse {
|
|
690
|
+
}
|
|
670
691
|
interface CreatePackageRequest {
|
|
671
692
|
/** Idempotency key. */
|
|
672
693
|
idempotencyKey?: string | null;
|
|
@@ -889,8 +910,7 @@ interface AdjustProductInstanceSpecificationsRequest {
|
|
|
889
910
|
billingInfo?: ProductInstanceCycle;
|
|
890
911
|
/**
|
|
891
912
|
* Discount code indicating that the reseller provisioned the product instance
|
|
892
|
-
* during a sale.
|
|
893
|
-
* In case you pass a code that isn't valid, the call succeeds and
|
|
913
|
+
* during a sale. In case you pass a code that isn't valid, the call succeeds and
|
|
894
914
|
* no discount is applied to the product instance. Wix doesn't guarantee that a
|
|
895
915
|
* discount code reduces the price between Wix and the reseller, even when it's
|
|
896
916
|
* valid. You can't add a discount code after you've created the
|
|
@@ -1650,27 +1670,6 @@ declare enum WebhookIdentityType {
|
|
|
1650
1670
|
WIX_USER = "WIX_USER",
|
|
1651
1671
|
APP = "APP"
|
|
1652
1672
|
}
|
|
1653
|
-
interface MigrateSubscriptionToPackagesRequest {
|
|
1654
|
-
/** Created package. */
|
|
1655
|
-
productInstance?: ProductInstance;
|
|
1656
|
-
/** Existing subscriptionId to migrate */
|
|
1657
|
-
subscriptionId?: string | null;
|
|
1658
|
-
/** User id of the migration - only for Immigrator */
|
|
1659
|
-
userId?: string | null;
|
|
1660
|
-
}
|
|
1661
|
-
interface MigrateSubscriptionToPackagesResponse {
|
|
1662
|
-
package?: Package;
|
|
1663
|
-
}
|
|
1664
|
-
interface FixBrokenMigrationRequest {
|
|
1665
|
-
/** Subscription id of the broken subscription */
|
|
1666
|
-
subscriptionId?: string;
|
|
1667
|
-
/** SBS service id that points to the broken subscription */
|
|
1668
|
-
sbsServiceId?: string;
|
|
1669
|
-
/** Owner of the broken subscription */
|
|
1670
|
-
userId?: string;
|
|
1671
|
-
}
|
|
1672
|
-
interface FixBrokenMigrationResponse {
|
|
1673
|
-
}
|
|
1674
1673
|
interface CycleIntervalNonNullableFields {
|
|
1675
1674
|
unit: IntervalIntervalUnit;
|
|
1676
1675
|
count: number;
|
|
@@ -1804,8 +1803,7 @@ interface AdjustProductInstanceSpecificationsOptions {
|
|
|
1804
1803
|
billingInfo?: ProductInstanceCycle;
|
|
1805
1804
|
/**
|
|
1806
1805
|
* Discount code indicating that the reseller provisioned the product instance
|
|
1807
|
-
* during a sale.
|
|
1808
|
-
* In case you pass a code that isn't valid, the call succeeds and
|
|
1806
|
+
* during a sale. In case you pass a code that isn't valid, the call succeeds and
|
|
1809
1807
|
* no discount is applied to the product instance. Wix doesn't guarantee that a
|
|
1810
1808
|
* discount code reduces the price between Wix and the reseller, even when it's
|
|
1811
1809
|
* valid. You can't add a discount code after you've created the
|
|
@@ -667,6 +667,27 @@ interface ProductInstanceCycle {
|
|
|
667
667
|
/** Duration of the billing cycle. Available only for `RECURRING` payments. */
|
|
668
668
|
cycleDuration?: CycleInterval;
|
|
669
669
|
}
|
|
670
|
+
interface MigrateSubscriptionToPackagesRequest {
|
|
671
|
+
/** Created package. */
|
|
672
|
+
productInstance?: ProductInstance;
|
|
673
|
+
/** Existing subscriptionId to migrate */
|
|
674
|
+
subscriptionId?: string | null;
|
|
675
|
+
/** User id of the migration - only for Immigrator */
|
|
676
|
+
userId?: string | null;
|
|
677
|
+
}
|
|
678
|
+
interface MigrateSubscriptionToPackagesResponse {
|
|
679
|
+
package?: Package;
|
|
680
|
+
}
|
|
681
|
+
interface FixBrokenMigrationRequest {
|
|
682
|
+
/** Subscription id of the broken subscription */
|
|
683
|
+
subscriptionId?: string;
|
|
684
|
+
/** SBS service id that points to the broken subscription */
|
|
685
|
+
sbsServiceId?: string;
|
|
686
|
+
/** Owner of the broken subscription */
|
|
687
|
+
userId?: string;
|
|
688
|
+
}
|
|
689
|
+
interface FixBrokenMigrationResponse {
|
|
690
|
+
}
|
|
670
691
|
interface CreatePackageRequest {
|
|
671
692
|
/** Idempotency key. */
|
|
672
693
|
idempotencyKey?: string | null;
|
|
@@ -889,8 +910,7 @@ interface AdjustProductInstanceSpecificationsRequest {
|
|
|
889
910
|
billingInfo?: ProductInstanceCycle;
|
|
890
911
|
/**
|
|
891
912
|
* Discount code indicating that the reseller provisioned the product instance
|
|
892
|
-
* during a sale.
|
|
893
|
-
* In case you pass a code that isn't valid, the call succeeds and
|
|
913
|
+
* during a sale. In case you pass a code that isn't valid, the call succeeds and
|
|
894
914
|
* no discount is applied to the product instance. Wix doesn't guarantee that a
|
|
895
915
|
* discount code reduces the price between Wix and the reseller, even when it's
|
|
896
916
|
* valid. You can't add a discount code after you've created the
|
|
@@ -1650,27 +1670,6 @@ declare enum WebhookIdentityType {
|
|
|
1650
1670
|
WIX_USER = "WIX_USER",
|
|
1651
1671
|
APP = "APP"
|
|
1652
1672
|
}
|
|
1653
|
-
interface MigrateSubscriptionToPackagesRequest {
|
|
1654
|
-
/** Created package. */
|
|
1655
|
-
productInstance?: ProductInstance;
|
|
1656
|
-
/** Existing subscriptionId to migrate */
|
|
1657
|
-
subscriptionId?: string | null;
|
|
1658
|
-
/** User id of the migration - only for Immigrator */
|
|
1659
|
-
userId?: string | null;
|
|
1660
|
-
}
|
|
1661
|
-
interface MigrateSubscriptionToPackagesResponse {
|
|
1662
|
-
package?: Package;
|
|
1663
|
-
}
|
|
1664
|
-
interface FixBrokenMigrationRequest {
|
|
1665
|
-
/** Subscription id of the broken subscription */
|
|
1666
|
-
subscriptionId?: string;
|
|
1667
|
-
/** SBS service id that points to the broken subscription */
|
|
1668
|
-
sbsServiceId?: string;
|
|
1669
|
-
/** Owner of the broken subscription */
|
|
1670
|
-
userId?: string;
|
|
1671
|
-
}
|
|
1672
|
-
interface FixBrokenMigrationResponse {
|
|
1673
|
-
}
|
|
1674
1673
|
interface CycleIntervalNonNullableFields {
|
|
1675
1674
|
unit: IntervalIntervalUnit;
|
|
1676
1675
|
count: number;
|
|
@@ -1804,8 +1803,7 @@ interface AdjustProductInstanceSpecificationsOptions {
|
|
|
1804
1803
|
billingInfo?: ProductInstanceCycle;
|
|
1805
1804
|
/**
|
|
1806
1805
|
* Discount code indicating that the reseller provisioned the product instance
|
|
1807
|
-
* during a sale.
|
|
1808
|
-
* In case you pass a code that isn't valid, the call succeeds and
|
|
1806
|
+
* during a sale. In case you pass a code that isn't valid, the call succeeds and
|
|
1809
1807
|
* no discount is applied to the product instance. Wix doesn't guarantee that a
|
|
1810
1808
|
* discount code reduces the price between Wix and the reseller, even when it's
|
|
1811
1809
|
* valid. You can't add a discount code after you've created the
|
|
@@ -370,8 +370,7 @@ interface AdjustProductInstanceSpecificationsRequest$1 {
|
|
|
370
370
|
billingInfo?: ProductInstanceCycle$1;
|
|
371
371
|
/**
|
|
372
372
|
* Discount code indicating that the reseller provisioned the product instance
|
|
373
|
-
* during a sale.
|
|
374
|
-
* In case you pass a code that isn't valid, the call succeeds and
|
|
373
|
+
* during a sale. In case you pass a code that isn't valid, the call succeeds and
|
|
375
374
|
* no discount is applied to the product instance. Wix doesn't guarantee that a
|
|
376
375
|
* discount code reduces the price between Wix and the reseller, even when it's
|
|
377
376
|
* valid. You can't add a discount code after you've created the
|
|
@@ -822,8 +821,7 @@ interface AdjustProductInstanceSpecificationsRequest {
|
|
|
822
821
|
billingInfo?: ProductInstanceCycle;
|
|
823
822
|
/**
|
|
824
823
|
* Discount code indicating that the reseller provisioned the product instance
|
|
825
|
-
* during a sale.
|
|
826
|
-
* In case you pass a code that isn't valid, the call succeeds and
|
|
824
|
+
* during a sale. In case you pass a code that isn't valid, the call succeeds and
|
|
827
825
|
* no discount is applied to the product instance. Wix doesn't guarantee that a
|
|
828
826
|
* discount code reduces the price between Wix and the reseller, even when it's
|
|
829
827
|
* valid. You can't add a discount code after you've created the
|