@aventurevc/api-schemas 0.8.424 → 0.8.425
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.
|
@@ -9,11 +9,11 @@ const BillingSubscriptionSchemaDefinition = z.object({
|
|
|
9
9
|
additionalUsage: BillingAdditionalUsageSchema,
|
|
10
10
|
/** Used, cap, and reset time of each monthly allowance */
|
|
11
11
|
allowance: ResearchAllowanceUsageSchema,
|
|
12
|
-
/** True when
|
|
12
|
+
/** True when an entitled eligible paid plan may buy App Store consumable research credit, independent of who bills its plan. Absent on older servers; clients must require true before offering a purchase. Retained balances remain visible but spending requires an eligible subscription. */
|
|
13
13
|
appStoreCreditPurchasable: z.boolean().nullish(),
|
|
14
14
|
/** True when the plan is cancelled and ends at periodEnd */
|
|
15
15
|
cancelAtPeriodEnd: z.boolean(),
|
|
16
|
-
/** True when POST /v1/billing/credit-purchases sells this account a prepaid credit pack;
|
|
16
|
+
/** True when POST /v1/billing/credit-purchases sells this account a prepaid credit pack; requires an entitled eligible paid plan and is false for an operator, an App Store plan, or any absent, expired or non-entitled plan (INCOMPLETE, PAST_DUE, UNPAID, or PAUSED) */
|
|
17
17
|
creditPurchasable: z.boolean(),
|
|
18
18
|
/** True while the subscription grants its paid tier */
|
|
19
19
|
entitled: z.boolean(),
|