@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
|
@@ -1986,7 +1986,7 @@ interface Service {
|
|
|
1986
1986
|
*/
|
|
1987
1987
|
lastSuccessfulInvoiceId?: string;
|
|
1988
1988
|
/**
|
|
1989
|
-
*
|
|
1989
|
+
* 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
|
|
1990
1990
|
* @readonly
|
|
1991
1991
|
*/
|
|
1992
1992
|
freeTrialData?: FreeTrialData;
|
|
@@ -2030,6 +2030,11 @@ interface Service {
|
|
|
2030
2030
|
* @readonly
|
|
2031
2031
|
*/
|
|
2032
2032
|
earlyTrialEndData?: EarlyTrialEndData;
|
|
2033
|
+
/**
|
|
2034
|
+
* 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.
|
|
2035
|
+
* @readonly
|
|
2036
|
+
*/
|
|
2037
|
+
billingCyclesLastUpgrade?: number;
|
|
2033
2038
|
}
|
|
2034
2039
|
interface CycleMessage {
|
|
2035
2040
|
/** billing cycle of the service */
|
|
@@ -2065,14 +2070,24 @@ interface PendingChanges {
|
|
|
2065
2070
|
}
|
|
2066
2071
|
interface FreeTrialData {
|
|
2067
2072
|
/**
|
|
2068
|
-
*
|
|
2073
|
+
* 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
|
|
2069
2074
|
* @readonly
|
|
2070
2075
|
*/
|
|
2071
2076
|
endDate?: Date | null;
|
|
2072
2077
|
/** indication if the service is currently on free trial period */
|
|
2073
2078
|
active?: boolean;
|
|
2074
|
-
/**
|
|
2079
|
+
/** 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 */
|
|
2075
2080
|
numberOfDays?: number | null;
|
|
2081
|
+
/**
|
|
2082
|
+
* the configured trial end; only set once the trial was ended early
|
|
2083
|
+
* @readonly
|
|
2084
|
+
*/
|
|
2085
|
+
originalEndDate?: Date | null;
|
|
2086
|
+
/**
|
|
2087
|
+
* the configured trial length in days; only set once the trial was ended early
|
|
2088
|
+
* @readonly
|
|
2089
|
+
*/
|
|
2090
|
+
originalNumberOfDays?: number | null;
|
|
2076
2091
|
}
|
|
2077
2092
|
interface TransferDetails {
|
|
2078
2093
|
/**
|