@aventurevc/api-schemas 0.8.432 → 0.8.433
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.
- package/dist/entity/acquisition-deal-status.d.ts +24 -0
- package/dist/entity/acquisition-deal-status.js +15 -0
- package/dist/entity/acquisition.d.ts +11 -0
- package/dist/entity/acquisition.js +3 -0
- package/dist/openapi-component-manifest.js +4 -0
- package/dist/pagination/schemas.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Deal status of an acquisition: Pending is announced and not yet closed, Completed has closed, Canceled was terminated before closing.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema EntityAcquisitionDealStatus
|
|
6
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions
|
|
7
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions/{relationshipId}
|
|
8
|
+
* @usedBySchema EntityAcquisitionSchema
|
|
9
|
+
* @contractShape entity.acquisition-deal-status
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const EntityAcquisitionDealStatusSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
13
|
+
Canceled: "Canceled";
|
|
14
|
+
Completed: "Completed";
|
|
15
|
+
Pending: "Pending";
|
|
16
|
+
}>, z.ZodString]> & {
|
|
17
|
+
enum: {
|
|
18
|
+
Canceled: "Canceled";
|
|
19
|
+
Completed: "Completed";
|
|
20
|
+
Pending: "Pending";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type EntityAcquisitionDealStatus = z.infer<typeof EntityAcquisitionDealStatusSchema>;
|
|
24
|
+
//# sourceMappingURL=acquisition-deal-status.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
import { z } from "zod/v4";
|
|
3
|
+
const EntityAcquisitionDealStatusSchemaKnownMembers = z.enum(["Pending", "Completed", "Canceled"]);
|
|
4
|
+
/**
|
|
5
|
+
* Deal status of an acquisition: Pending is announced and not yet closed, Completed has closed, Canceled was terminated before closing.
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema EntityAcquisitionDealStatus
|
|
8
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions
|
|
9
|
+
* @endpoint GET /v1/entities/{entityId}/acquisitions/{relationshipId}
|
|
10
|
+
* @usedBySchema EntityAcquisitionSchema
|
|
11
|
+
* @contractShape entity.acquisition-deal-status
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const EntityAcquisitionDealStatusSchema = Object.assign(z.union([EntityAcquisitionDealStatusSchemaKnownMembers, z.string()]), { enum: EntityAcquisitionDealStatusSchemaKnownMembers.enum });
|
|
15
|
+
//# sourceMappingURL=acquisition-deal-status.js.map
|
|
@@ -158,6 +158,17 @@ declare const EntityAcquisitionSchemaDefinition: z.ZodObject<{
|
|
|
158
158
|
Medium: "Medium";
|
|
159
159
|
Verified: "Verified";
|
|
160
160
|
}>>>;
|
|
161
|
+
dealStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
162
|
+
Canceled: "Canceled";
|
|
163
|
+
Completed: "Completed";
|
|
164
|
+
Pending: "Pending";
|
|
165
|
+
}>, z.ZodString]> & {
|
|
166
|
+
enum: {
|
|
167
|
+
Canceled: "Canceled";
|
|
168
|
+
Completed: "Completed";
|
|
169
|
+
Pending: "Pending";
|
|
170
|
+
};
|
|
171
|
+
}>;
|
|
161
172
|
evidence: z.ZodType<{
|
|
162
173
|
fundraiseInvestorJoin: boolean;
|
|
163
174
|
fundraiseTransaction: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
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
|
+
import { EntityAcquisitionDealStatusSchema } from "./acquisition-deal-status.js";
|
|
3
4
|
import { EntityAcquisitionEvidenceSchema } from "./acquisition-evidence.js";
|
|
4
5
|
import { EntityAcquisitionStageSchema } from "./acquisition-stage.js";
|
|
5
6
|
import { EntitySchema } from "./entity.js";
|
|
@@ -30,6 +31,8 @@ const EntityAcquisitionSchemaDefinition = z.object({
|
|
|
30
31
|
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
31
32
|
currency: z.string().nullish(),
|
|
32
33
|
dataConfidence: FundraiseDataConfidenceSchema.nullish(),
|
|
34
|
+
/** Whether the deal is Pending (announced, not closed), Completed, or Canceled before closing. The server derives it from transactionStatus and completedAt; present this value instead of interpreting those fields. */
|
|
35
|
+
dealStatus: EntityAcquisitionDealStatusSchema.optional(),
|
|
33
36
|
evidence: EntityAcquisitionEvidenceSchema,
|
|
34
37
|
/** Funding round id (UUID) */
|
|
35
38
|
fundraiseTransactionId: z.uuid().nullish(),
|
|
@@ -308,6 +308,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
308
308
|
schemaName: "EntityAcceleratorParticipationSchema",
|
|
309
309
|
},
|
|
310
310
|
EntityAcquisition: { modulePath: "entity/acquisition", schemaName: "EntityAcquisitionSchema" },
|
|
311
|
+
EntityAcquisitionDealStatus: {
|
|
312
|
+
modulePath: "entity/acquisition-deal-status",
|
|
313
|
+
schemaName: "EntityAcquisitionDealStatusSchema",
|
|
314
|
+
},
|
|
311
315
|
EntityAcquisitionEvidence: {
|
|
312
316
|
modulePath: "entity/acquisition-evidence",
|
|
313
317
|
schemaName: "EntityAcquisitionEvidenceSchema",
|
|
@@ -452,6 +452,7 @@ declare const PageEntityAcquisitionSchemaDefinition: z.ZodObject<{
|
|
|
452
452
|
createdAt?: string | null | undefined;
|
|
453
453
|
currency?: string | null | undefined;
|
|
454
454
|
dataConfidence?: "High" | "Low" | "Medium" | "Verified" | null | undefined;
|
|
455
|
+
dealStatus?: string | undefined;
|
|
455
456
|
evidence: {
|
|
456
457
|
fundraiseInvestorJoin: boolean;
|
|
457
458
|
fundraiseTransaction: boolean;
|
|
@@ -567,6 +568,7 @@ declare const PageEntityAcquisitionSchemaDefinition: z.ZodObject<{
|
|
|
567
568
|
createdAt?: string | null | undefined;
|
|
568
569
|
currency?: string | null | undefined;
|
|
569
570
|
dataConfidence?: "High" | "Low" | "Medium" | "Verified" | null | undefined;
|
|
571
|
+
dealStatus?: string | undefined;
|
|
570
572
|
evidence: {
|
|
571
573
|
fundraiseInvestorJoin: boolean;
|
|
572
574
|
fundraiseTransaction: boolean;
|