@aventurevc/api-schemas 0.8.179 → 0.8.180
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.
|
@@ -16,6 +16,7 @@ declare const BillingNextChargeSchemaDefinition: z.ZodObject<{
|
|
|
16
16
|
name?: string | null | undefined;
|
|
17
17
|
percentOff?: number | null | undefined;
|
|
18
18
|
}, import("./discount.ts").BillingDiscountSchemaInput>>>;
|
|
19
|
+
totalExcludingTax: z.ZodNumber;
|
|
19
20
|
}, z.core.$strip>;
|
|
20
21
|
type BillingNextChargeDefinition = z.infer<typeof BillingNextChargeSchemaDefinition>;
|
|
21
22
|
export interface BillingNextChargeSchemaInput extends z.input<typeof BillingNextChargeSchemaDefinition> {
|
|
@@ -10,6 +10,8 @@ const BillingNextChargeSchemaDefinition = z.object({
|
|
|
10
10
|
currency: z.string(),
|
|
11
11
|
/** Discounts applied to the next invoice; empty when none apply */
|
|
12
12
|
discount: z.array(BillingDiscountSchema),
|
|
13
|
+
/** Next invoice total in the currency's minor unit after discounts, before tax and account credit; compare it, not amountDue, with the plan's price */
|
|
14
|
+
totalExcludingTax: z.number().int(),
|
|
13
15
|
});
|
|
14
16
|
/**
|
|
15
17
|
* Next invoice of the caller's renewing Stripe subscription as Stripe previews it, after discounts and credits.
|