@aventurevc/api-schemas 0.8.462 → 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
- /** Card that pays the continuing Stripe subscription; absent without one or when it is paid by something other than a card */
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.
@@ -12,7 +12,7 @@ const EntityAnalysisSectionMutationSchemaDefinition = z.object({
12
12
  figure: z.array(EntityAnalysisFigureSchema).optional(),
13
13
  /** Exact research snippet typeValue, matching the section path key. */
14
14
  key: z.string(),
15
- /** Author hint; the server assigns origin from the credential. */
15
+ /** Author hint; the server assigns origin from the credential or DIRECT claim. */
16
16
  origin: EntityAnalysisSectionOriginSchema,
17
17
  /** Catalog-ordered paragraphs; omit when supplying writerBrief. */
18
18
  paragraph: z.array(EntityAnalysisParagraphSchema).nullish(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.462",
3
+ "version": "0.8.464",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",