@aventurevc/api-schemas 0.8.73 → 0.8.75

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.
@@ -173,6 +173,10 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
173
173
  PRO_YEARLY: "PRO_YEARLY";
174
174
  PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
175
175
  }>>>;
176
+ provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
177
+ APP_STORE: "APP_STORE";
178
+ STRIPE: "STRIPE";
179
+ }>>>;
176
180
  recurringPrice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
177
181
  cadence: z.ZodString;
178
182
  currency: z.ZodString;
@@ -22,6 +22,8 @@ const BillingSubscriptionSchemaDefinition = z.object({
22
22
  periodStart: z.iso.datetime({ offset: true }).nullish(),
23
23
  /** Paid plan and billing cycle; absent without a paid subscription */
24
24
  plan: BillingPlanTypeSchema.nullish(),
25
+ /** Who bills the continuing paid subscription, including one past due or paused: STRIPE (managed on the web) or APP_STORE; absent without one */
26
+ provider: z.enum(["STRIPE", "APP_STORE"]).nullish(),
25
27
  /** Subscribed renewal price before discounts; absent without a known paid Price */
26
28
  recurringPrice: BillingRecurringPriceSchema.nullish(),
27
29
  status: z.enum([
@@ -30,6 +30,11 @@ declare const FederatedSearchProvenanceSchemaDefinition: z.ZodObject<{
30
30
  field?: string | null | undefined;
31
31
  scope: "entity" | "news" | "person";
32
32
  }, unknown>>>;
33
+ unavailable: z.ZodArray<z.ZodEnum<{
34
+ entity: "entity";
35
+ news: "news";
36
+ person: "person";
37
+ }>>;
33
38
  }, z.core.$strip>;
34
39
  type FederatedSearchProvenanceDefinition = z.infer<typeof FederatedSearchProvenanceSchemaDefinition>;
35
40
  /**
@@ -11,6 +11,8 @@ const FederatedSearchProvenanceSchemaDefinition = z.object({
11
11
  person: SearchModeExecutionSchema,
12
12
  /** Scopes that rejected the query as unsearchable and returned an empty page while the other scopes ran; empty when every scope ran. */
13
13
  rejection: z.array(FederatedSearchRejectionSchema),
14
+ /** Scopes whose search was temporarily unavailable (an upstream outage, open circuit, full concurrency limit, or expired deadline) and returned an empty page while the other scopes ran; empty when every scope ran. Retrying the same query may succeed, unlike a rejection. */
15
+ unavailable: z.array(z.enum(["entity", "person", "news"])),
14
16
  });
15
17
  /**
16
18
  * Requested and executed search strategy for every federated scope.
@@ -4478,6 +4478,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
4478
4478
  field?: string | null | undefined;
4479
4479
  scope: "entity" | "news" | "person";
4480
4480
  }[];
4481
+ unavailable: ("entity" | "news" | "person")[];
4481
4482
  }, unknown, z.core.$ZodTypeInternals<{
4482
4483
  entity: {
4483
4484
  modeRequested: string;
@@ -4496,6 +4497,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
4496
4497
  field?: string | null | undefined;
4497
4498
  scope: "entity" | "news" | "person";
4498
4499
  }[];
4500
+ unavailable: ("entity" | "news" | "person")[];
4499
4501
  }, unknown>>;
4500
4502
  }, z.core.$strip>;
4501
4503
  type FederatedSearchDefinition = z.infer<typeof FederatedSearchSchemaDefinition>;
@@ -2252,6 +2252,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
2252
2252
  field?: string | null | undefined;
2253
2253
  scope: "entity" | "news" | "person";
2254
2254
  }[];
2255
+ unavailable: ("entity" | "news" | "person")[];
2255
2256
  };
2256
2257
  }, unknown, z.core.$ZodTypeInternals<{
2257
2258
  entity: {
@@ -4504,6 +4505,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
4504
4505
  field?: string | null | undefined;
4505
4506
  scope: "entity" | "news" | "person";
4506
4507
  }[];
4508
+ unavailable: ("entity" | "news" | "person")[];
4507
4509
  };
4508
4510
  }, unknown>>;
4509
4511
  url: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.73",
3
+ "version": "0.8.75",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",