@aventurevc/api-schemas 0.8.463 → 0.8.464
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.
|
@@ -8,6 +8,7 @@ declare const BillingPaymentProfileSchemaDefinition: z.ZodObject<{
|
|
|
8
8
|
expiryYear: z.ZodInt;
|
|
9
9
|
last4: z.ZodString;
|
|
10
10
|
}, z.core.$strip>>>;
|
|
11
|
+
portalAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
11
12
|
}, z.core.$strip>;
|
|
12
13
|
type BillingPaymentProfileDefinition = z.infer<typeof BillingPaymentProfileSchemaDefinition>;
|
|
13
14
|
export interface BillingPaymentProfileSchemaInput extends z.input<typeof BillingPaymentProfileSchemaDefinition> {
|
|
@@ -6,8 +6,10 @@ const BillingPaymentProfileSchemaDefinition = z.object({
|
|
|
6
6
|
freeTrialEligible: z.boolean().optional(),
|
|
7
7
|
/** Whether the caller's next purchase or upgrade to a plan with an introductoryAmount is charged that amount: true when the catalog offers introductoryAmount, the App Store does not bill the account, and either it has no earlier subscription, payment, or unvoided invoice, or it pays an active subscription on a cheaper sold plan and has never redeemed the introductory discount; false otherwise */
|
|
8
8
|
introductoryOfferEligible: z.boolean(),
|
|
9
|
-
/**
|
|
9
|
+
/** Selected default card: subscription default, otherwise customer invoice default; absent when neither selects a card. */
|
|
10
10
|
paymentMethod: BillingPaymentMethodSchema.nullish(),
|
|
11
|
+
/** Whether the Stripe billing portal is available. */
|
|
12
|
+
portalAvailable: z.boolean().optional(),
|
|
11
13
|
});
|
|
12
14
|
/**
|
|
13
15
|
* The caller's card on file, paid introductory discount eligibility, and eligibility for a free trial on a new Stripe Checkout, read live from Stripe.
|