@wix/auto_sdk_premium-assets_premium-assets 1.0.19 → 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/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +18 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +18 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +18 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +18 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +18 -3
- package/build/internal/cjs/meta.d.ts +18 -3
- package/build/internal/es/index.typings.d.mts +18 -3
- package/build/internal/es/meta.d.mts +18 -3
- package/package.json +4 -4
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1989,7 +1989,7 @@ interface Service {
|
|
|
1989
1989
|
*/
|
|
1990
1990
|
lastSuccessfulInvoiceId?: string;
|
|
1991
1991
|
/**
|
|
1992
|
-
*
|
|
1992
|
+
* free trial data for the service; absent if a free trial was never activated. Once the trial was ended early, end_date/number_of_days describe the actual trial and original_* keep the configured values
|
|
1993
1993
|
* @readonly
|
|
1994
1994
|
*/
|
|
1995
1995
|
freeTrialData?: FreeTrialData;
|
|
@@ -2033,6 +2033,11 @@ interface Service {
|
|
|
2033
2033
|
* @readonly
|
|
2034
2034
|
*/
|
|
2035
2035
|
earlyTrialEndData?: EarlyTrialEndData;
|
|
2036
|
+
/**
|
|
2037
|
+
* billing cycles since the last product, plan or cycle change. Reset to 1 on such a change; unlike billing_cycles_total, it does not count cycles before the change.
|
|
2038
|
+
* @readonly
|
|
2039
|
+
*/
|
|
2040
|
+
billingCyclesLastUpgrade?: number;
|
|
2036
2041
|
}
|
|
2037
2042
|
interface CycleMessage {
|
|
2038
2043
|
/** billing cycle of the service */
|
|
@@ -2068,14 +2073,24 @@ interface PendingChanges {
|
|
|
2068
2073
|
}
|
|
2069
2074
|
interface FreeTrialData {
|
|
2070
2075
|
/**
|
|
2071
|
-
*
|
|
2076
|
+
* when the trial ends. Once the trial was ended early (early_trial_end_data.ended_at is set) this is the actual end and original_end_date keeps the configured one
|
|
2072
2077
|
* @readonly
|
|
2073
2078
|
*/
|
|
2074
2079
|
endDate?: Date | null;
|
|
2075
2080
|
/** indication if the service is currently on free trial period */
|
|
2076
2081
|
active?: boolean;
|
|
2077
|
-
/**
|
|
2082
|
+
/** trial length in days from the product configuration. Once the trial was ended early: the whole days actually used, always within 0..original_number_of_days (clamped server-side). The start is reconstructed as original_end_date - original_number_of_days, so a trial that was extended before ending early reports more days than were really used, still within that range */
|
|
2078
2083
|
numberOfDays?: number | null;
|
|
2084
|
+
/**
|
|
2085
|
+
* the configured trial end; only set once the trial was ended early
|
|
2086
|
+
* @readonly
|
|
2087
|
+
*/
|
|
2088
|
+
originalEndDate?: Date | null;
|
|
2089
|
+
/**
|
|
2090
|
+
* the configured trial length in days; only set once the trial was ended early
|
|
2091
|
+
* @readonly
|
|
2092
|
+
*/
|
|
2093
|
+
originalNumberOfDays?: number | null;
|
|
2079
2094
|
}
|
|
2080
2095
|
interface TransferDetails {
|
|
2081
2096
|
/**
|