@aventurevc/api-schemas 0.8.433 → 0.8.435

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.
@@ -195,7 +195,7 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
195
195
  "Acquired Subsidiary": "Acquired Subsidiary";
196
196
  Acquisition: "Acquisition";
197
197
  }>;
198
- transactionStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
198
+ transactionStatus: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
199
199
  Active: "Active";
200
200
  Announced: "Announced";
201
201
  "Announced; subject to approvals and closing conditions": "Announced; subject to approvals and closing conditions";
@@ -203,7 +203,17 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
203
203
  Completed: "Completed";
204
204
  "In Progress": "In Progress";
205
205
  Open: "Open";
206
- }>>>;
206
+ }>, z.ZodString]> & {
207
+ enum: {
208
+ Active: "Active";
209
+ Announced: "Announced";
210
+ "Announced; subject to approvals and closing conditions": "Announced; subject to approvals and closing conditions";
211
+ Closed: "Closed";
212
+ Completed: "Completed";
213
+ "In Progress": "In Progress";
214
+ Open: "Open";
215
+ };
216
+ }>>;
207
217
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
208
218
  }, z.core.$strip>;
209
219
  type EntityAcquisitionDefinition = z.infer<typeof EntityAcquisitionSchemaDefinition>;
@@ -9,7 +9,7 @@ import { z } from "zod/v4";
9
9
  * @contractShape fundraise.transaction-status
10
10
  * @contractRole canonical
11
11
  */
12
- export declare const FundraiseTransactionStatusSchema: z.ZodEnum<{
12
+ export declare const FundraiseTransactionStatusSchema: z.ZodUnion<readonly [z.ZodEnum<{
13
13
  Active: "Active";
14
14
  Announced: "Announced";
15
15
  "Announced; subject to approvals and closing conditions": "Announced; subject to approvals and closing conditions";
@@ -17,6 +17,16 @@ export declare const FundraiseTransactionStatusSchema: z.ZodEnum<{
17
17
  Completed: "Completed";
18
18
  "In Progress": "In Progress";
19
19
  Open: "Open";
20
- }>;
20
+ }>, z.ZodString]> & {
21
+ enum: {
22
+ Active: "Active";
23
+ Announced: "Announced";
24
+ "Announced; subject to approvals and closing conditions": "Announced; subject to approvals and closing conditions";
25
+ Closed: "Closed";
26
+ Completed: "Completed";
27
+ "In Progress": "In Progress";
28
+ Open: "Open";
29
+ };
30
+ };
21
31
  export type FundraiseTransactionStatus = z.infer<typeof FundraiseTransactionStatusSchema>;
22
32
  //# sourceMappingURL=transaction-status.d.ts.map
@@ -1,5 +1,14 @@
1
1
  // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
2
  import { z } from "zod/v4";
3
+ const FundraiseTransactionStatusSchemaKnownMembers = z.enum([
4
+ "Announced",
5
+ "Announced; subject to approvals and closing conditions",
6
+ "Active",
7
+ "Closed",
8
+ "Completed",
9
+ "In Progress",
10
+ "Open",
11
+ ]);
3
12
  /**
4
13
  * Fundraise transaction status label
5
14
  *
@@ -10,13 +19,5 @@ import { z } from "zod/v4";
10
19
  * @contractShape fundraise.transaction-status
11
20
  * @contractRole canonical
12
21
  */
13
- export const FundraiseTransactionStatusSchema = z.enum([
14
- "Announced",
15
- "Announced; subject to approvals and closing conditions",
16
- "Active",
17
- "Closed",
18
- "Completed",
19
- "In Progress",
20
- "Open",
21
- ]);
22
+ export const FundraiseTransactionStatusSchema = Object.assign(z.union([FundraiseTransactionStatusSchemaKnownMembers, z.string()]), { enum: FundraiseTransactionStatusSchemaKnownMembers.enum });
22
23
  //# sourceMappingURL=transaction-status.js.map
@@ -470,7 +470,7 @@ declare const PageEntityAcquisitionSchemaDefinition: z.ZodObject<{
470
470
  } | null | undefined;
471
471
  relationshipId: number;
472
472
  status: "Acquired" | "Acquired Subsidiary" | "Acquisition";
473
- transactionStatus?: "Active" | "Announced" | "Announced; subject to approvals and closing conditions" | "Closed" | "Completed" | "In Progress" | "Open" | null | undefined;
473
+ transactionStatus?: string | null | undefined;
474
474
  updatedAt?: string | null | undefined;
475
475
  }, import("../entity/acquisition.ts").EntityAcquisitionSchemaInput, z.core.$ZodTypeInternals<{
476
476
  acquiredEntity: {
@@ -586,7 +586,7 @@ declare const PageEntityAcquisitionSchemaDefinition: z.ZodObject<{
586
586
  } | null | undefined;
587
587
  relationshipId: number;
588
588
  status: "Acquired" | "Acquired Subsidiary" | "Acquisition";
589
- transactionStatus?: "Active" | "Announced" | "Announced; subject to approvals and closing conditions" | "Closed" | "Completed" | "In Progress" | "Open" | null | undefined;
589
+ transactionStatus?: string | null | undefined;
590
590
  updatedAt?: string | null | undefined;
591
591
  }, import("../entity/acquisition.ts").EntityAcquisitionSchemaInput>>>>;
592
592
  empty: z.ZodOptional<z.ZodBoolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.433",
3
+ "version": "0.8.435",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",