@aventurevc/api-schemas 0.8.463 → 0.8.465
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.
|
|
@@ -10,7 +10,7 @@ const DuplicateCreateReviewSchemaDefinition = z.object({
|
|
|
10
10
|
conflictType: DomainConflictTypeSchema,
|
|
11
11
|
/** News candidates returned by lookup or create duplicate review. If a candidate is the requested article, read/update that article by id. Otherwise block until source evidence proves a distinct article. */
|
|
12
12
|
newsCandidate: z.array(NewsCandidateScoreSchema).nullish(),
|
|
13
|
-
/** Create endpoint to retry only after reviewing the returned candidates and supplying overrideGate=duplicate and overrideReason as query parameters. Null for detail lookup ambiguity, where the next action is review/update/block. */
|
|
13
|
+
/** Create endpoint to retry only after reviewing the returned candidates and supplying overrideGate=duplicate and overrideReason as query parameters. Keep overrides already reviewed for this request. If overrideGate already names another gate, append this gate and its source-backed reason as an overrideReview entry instead of replacing that override. Null for detail lookup ambiguity, where the next action is review/update/block. */
|
|
14
14
|
overridePath: z.string().nullish(),
|
|
15
15
|
/** Review threshold used by duplicate scoring. Scores below this value can still be useful candidate context; this value does not prove absence or authorize create. */
|
|
16
16
|
threshold: z.int(),
|