@aventurevc/api-schemas 0.8.555 → 0.8.556
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.
|
@@ -235,6 +235,7 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
235
235
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
236
236
|
};
|
|
237
237
|
}>>;
|
|
238
|
+
portalAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
238
239
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
239
240
|
APP_STORE: "APP_STORE";
|
|
240
241
|
STRIPE: "STRIPE";
|
|
@@ -31,6 +31,8 @@ const BillingSubscriptionSchemaDefinition = z.object({
|
|
|
31
31
|
periodStart: z.iso.datetime({ offset: true }).nullish(),
|
|
32
32
|
/** Paid plan and billing cycle; absent without a paid subscription */
|
|
33
33
|
plan: BillingPlanTypeSchema.nullish(),
|
|
34
|
+
/** Whether the Stripe billing portal opens for this account: a Stripe Customer is linked and the App Store does not bill the plan. Answered from local records, so it never waits on Stripe; true does not imply a card on file. */
|
|
35
|
+
portalAvailable: z.boolean().optional(),
|
|
34
36
|
/** Who bills the continuing paid subscription, including one past due or paused: STRIPE (managed on the web) or APP_STORE; absent without one */
|
|
35
37
|
provider: z.enum(["STRIPE", "APP_STORE"]).nullish(),
|
|
36
38
|
/** Subscribed renewal price before discounts; absent without a known paid Price */
|