@thecorporation/corp-tools 26.3.6 → 26.3.9
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/index.d.ts +3055 -30
- package/dist/index.js +298 -5
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ interface LLMResponse {
|
|
|
31
31
|
};
|
|
32
32
|
finish_reason: string | null;
|
|
33
33
|
}
|
|
34
|
+
/** @deprecated Use specific generated types from api-schemas.ts instead */
|
|
34
35
|
type ApiRecord = Record<string, unknown>;
|
|
35
36
|
interface CreateEquityRoundRequest {
|
|
36
37
|
entity_id: string;
|
|
@@ -85,6 +86,2852 @@ interface IntentResponse extends ApiRecord {
|
|
|
85
86
|
status: string;
|
|
86
87
|
}
|
|
87
88
|
|
|
89
|
+
type components = {
|
|
90
|
+
schemas: {
|
|
91
|
+
AcceptRoundRequest: {
|
|
92
|
+
accepted_by_contact_id?: null | components["schemas"]["ContactId"];
|
|
93
|
+
entity_id: components["schemas"]["EntityId"];
|
|
94
|
+
intent_id: components["schemas"]["IntentId"];
|
|
95
|
+
};
|
|
96
|
+
/** Format: uuid */
|
|
97
|
+
AccountId: string;
|
|
98
|
+
AccountResponse: {
|
|
99
|
+
account_code: components["schemas"]["GlAccountCode"];
|
|
100
|
+
account_id: components["schemas"]["AccountId"];
|
|
101
|
+
account_name: string;
|
|
102
|
+
account_type: components["schemas"]["AccountType"];
|
|
103
|
+
created_at: string;
|
|
104
|
+
currency: components["schemas"]["Currency"];
|
|
105
|
+
entity_id: components["schemas"]["EntityId"];
|
|
106
|
+
is_active: boolean;
|
|
107
|
+
normal_balance: components["schemas"]["Side"];
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @description The five fundamental accounting categories.
|
|
111
|
+
* @enum {string}
|
|
112
|
+
*/
|
|
113
|
+
AccountType: "asset" | "liability" | "equity" | "revenue" | "expense";
|
|
114
|
+
AddFounderRequest: {
|
|
115
|
+
email?: string | null;
|
|
116
|
+
is_incorporator?: boolean | null;
|
|
117
|
+
name: string;
|
|
118
|
+
officer_title?: null | components["schemas"]["OfficerTitle"];
|
|
119
|
+
/** Format: double */
|
|
120
|
+
ownership_pct?: number | null;
|
|
121
|
+
role?: null | components["schemas"]["MemberRole"];
|
|
122
|
+
};
|
|
123
|
+
AddFounderResponse: {
|
|
124
|
+
entity_id: components["schemas"]["EntityId"];
|
|
125
|
+
member_count: number;
|
|
126
|
+
members: components["schemas"]["FounderSummary"][];
|
|
127
|
+
};
|
|
128
|
+
AddSecurityRequest: {
|
|
129
|
+
email?: string | null;
|
|
130
|
+
entity_id: components["schemas"]["EntityId"];
|
|
131
|
+
grant_type?: string | null;
|
|
132
|
+
holder_id?: null | components["schemas"]["HolderId"];
|
|
133
|
+
instrument_id: components["schemas"]["InstrumentId"];
|
|
134
|
+
/** Format: int64 */
|
|
135
|
+
principal_cents?: number;
|
|
136
|
+
/** Format: int64 */
|
|
137
|
+
quantity: number;
|
|
138
|
+
recipient_name: string;
|
|
139
|
+
};
|
|
140
|
+
AddSkillRequest: {
|
|
141
|
+
description: string;
|
|
142
|
+
/** @description Parsed at deserialization — empty names are rejected by `NonEmpty`. */
|
|
143
|
+
name: components["schemas"]["NonEmpty"];
|
|
144
|
+
parameters?: Record<string, never>;
|
|
145
|
+
};
|
|
146
|
+
/** @description A mailing address. */
|
|
147
|
+
Address: {
|
|
148
|
+
city: string;
|
|
149
|
+
state: string;
|
|
150
|
+
street: string;
|
|
151
|
+
street2?: string | null;
|
|
152
|
+
zip: string;
|
|
153
|
+
};
|
|
154
|
+
AdjustPositionRequest: {
|
|
155
|
+
entity_id: components["schemas"]["EntityId"];
|
|
156
|
+
holder_id: components["schemas"]["HolderId"];
|
|
157
|
+
instrument_id: components["schemas"]["InstrumentId"];
|
|
158
|
+
issuer_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
159
|
+
/** Format: int64 */
|
|
160
|
+
principal_delta_cents?: number;
|
|
161
|
+
/** Format: int64 */
|
|
162
|
+
quantity_delta: number;
|
|
163
|
+
source_reference?: string | null;
|
|
164
|
+
};
|
|
165
|
+
/** Format: uuid */
|
|
166
|
+
AgendaItemId: string;
|
|
167
|
+
AgendaItemResponse: {
|
|
168
|
+
agenda_item_id: components["schemas"]["AgendaItemId"];
|
|
169
|
+
created_at: string;
|
|
170
|
+
description?: string | null;
|
|
171
|
+
item_type: components["schemas"]["AgendaItemType"];
|
|
172
|
+
meeting_id: components["schemas"]["MeetingId"];
|
|
173
|
+
/** Format: int32 */
|
|
174
|
+
sequence_number: number;
|
|
175
|
+
status: components["schemas"]["AgendaItemStatus"];
|
|
176
|
+
title: string;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* @description Status of an agenda item.
|
|
180
|
+
* @enum {string}
|
|
181
|
+
*/
|
|
182
|
+
AgendaItemStatus: "pending" | "discussed" | "voted" | "tabled" | "withdrawn";
|
|
183
|
+
/**
|
|
184
|
+
* @description Type of item on a meeting agenda.
|
|
185
|
+
* @enum {string}
|
|
186
|
+
*/
|
|
187
|
+
AgendaItemType: "resolution" | "discussion" | "report" | "election";
|
|
188
|
+
/** Format: uuid */
|
|
189
|
+
AgentId: string;
|
|
190
|
+
AgentInvoiceRequest: {
|
|
191
|
+
/** Format: int64 */
|
|
192
|
+
amount_cents: number;
|
|
193
|
+
customer_name: string;
|
|
194
|
+
description: string;
|
|
195
|
+
/** Format: date */
|
|
196
|
+
due_date: string;
|
|
197
|
+
entity_id: components["schemas"]["EntityId"];
|
|
198
|
+
};
|
|
199
|
+
AgentResponse: {
|
|
200
|
+
agent_id: components["schemas"]["AgentId"];
|
|
201
|
+
budget?: null | components["schemas"]["BudgetConfig"];
|
|
202
|
+
channels: components["schemas"]["ChannelConfig"][];
|
|
203
|
+
created_at: string;
|
|
204
|
+
email_address?: string | null;
|
|
205
|
+
entity_id?: null | components["schemas"]["EntityId"];
|
|
206
|
+
mcp_servers: components["schemas"]["MCPServerSpec"][];
|
|
207
|
+
model?: string | null;
|
|
208
|
+
name: string;
|
|
209
|
+
parent_agent_id?: null | components["schemas"]["AgentId"];
|
|
210
|
+
sandbox?: null | components["schemas"]["SandboxConfig"];
|
|
211
|
+
scopes: components["schemas"]["Scope"][];
|
|
212
|
+
skills: components["schemas"]["AgentSkill"][];
|
|
213
|
+
status: components["schemas"]["AgentStatus"];
|
|
214
|
+
system_prompt?: string | null;
|
|
215
|
+
tools: components["schemas"]["ToolSpec"][];
|
|
216
|
+
webhook_url?: string | null;
|
|
217
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
218
|
+
};
|
|
219
|
+
/** @description A skill that an agent can perform (used in api-rs Agent struct). */
|
|
220
|
+
AgentSkill: {
|
|
221
|
+
description: string;
|
|
222
|
+
name: components["schemas"]["NonEmpty"];
|
|
223
|
+
parameters?: Record<string, never>;
|
|
224
|
+
};
|
|
225
|
+
/** @enum {string} */
|
|
226
|
+
AgentStatus: "active" | "paused" | "disabled";
|
|
227
|
+
AmendDelegationScheduleRequest: {
|
|
228
|
+
adopted_resolution_id?: null | components["schemas"]["ResolutionId"];
|
|
229
|
+
allowed_tier1_intent_types?: string[] | null;
|
|
230
|
+
entity_id: components["schemas"]["EntityId"];
|
|
231
|
+
meeting_id?: null | components["schemas"]["MeetingId"];
|
|
232
|
+
/** Format: date */
|
|
233
|
+
next_mandatory_review_at?: string | null;
|
|
234
|
+
rationale?: string | null;
|
|
235
|
+
/** Format: int64 */
|
|
236
|
+
tier1_max_amount_cents?: number | null;
|
|
237
|
+
};
|
|
238
|
+
AmendmentHistoryEntry: {
|
|
239
|
+
amended_at: string;
|
|
240
|
+
description: string;
|
|
241
|
+
/** Format: int32 */
|
|
242
|
+
version: number;
|
|
243
|
+
};
|
|
244
|
+
/** @enum {string} */
|
|
245
|
+
AntiDilutionMethod: "none" | "broad_based_weighted_average" | "narrow_based_weighted_average" | "full_ratchet";
|
|
246
|
+
/** Format: uuid */
|
|
247
|
+
ApiKeyId: string;
|
|
248
|
+
ApiKeyResponse: {
|
|
249
|
+
contact_id?: null | components["schemas"]["ContactId"];
|
|
250
|
+
created_at: string;
|
|
251
|
+
entity_ids?: components["schemas"]["EntityId"][] | null;
|
|
252
|
+
key_id: components["schemas"]["ApiKeyId"];
|
|
253
|
+
name: string;
|
|
254
|
+
raw_key?: string | null;
|
|
255
|
+
scopes: components["schemas"]["Scope"][];
|
|
256
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
257
|
+
};
|
|
258
|
+
ApplyFundraisingTermsRequest: {
|
|
259
|
+
anti_dilution_method: components["schemas"]["AntiDilutionMethod"];
|
|
260
|
+
conversion_precedence?: components["schemas"]["InstrumentKind"][];
|
|
261
|
+
entity_id: components["schemas"]["EntityId"];
|
|
262
|
+
protective_provisions?: Record<string, never>;
|
|
263
|
+
};
|
|
264
|
+
ApplyRoundTermsRequest: {
|
|
265
|
+
anti_dilution_method: components["schemas"]["AntiDilutionMethod"];
|
|
266
|
+
conversion_precedence?: components["schemas"]["InstrumentKind"][];
|
|
267
|
+
entity_id: components["schemas"]["EntityId"];
|
|
268
|
+
protective_provisions?: Record<string, never>;
|
|
269
|
+
};
|
|
270
|
+
/** Format: uuid */
|
|
271
|
+
ApprovalArtifactId: string;
|
|
272
|
+
ApprovalArtifactResponse: {
|
|
273
|
+
approval_artifact_id: components["schemas"]["ApprovalArtifactId"];
|
|
274
|
+
approved_at: string;
|
|
275
|
+
approver_identity: string;
|
|
276
|
+
channel: string;
|
|
277
|
+
created_at: string;
|
|
278
|
+
entity_id: components["schemas"]["EntityId"];
|
|
279
|
+
expires_at?: string | null;
|
|
280
|
+
explicit: boolean;
|
|
281
|
+
intent_type: string;
|
|
282
|
+
/** Format: int64 */
|
|
283
|
+
max_amount_cents?: number | null;
|
|
284
|
+
revoked_at?: string | null;
|
|
285
|
+
scope: string;
|
|
286
|
+
};
|
|
287
|
+
ApproveValuationRequest: {
|
|
288
|
+
entity_id: components["schemas"]["EntityId"];
|
|
289
|
+
resolution_id?: null | components["schemas"]["ResolutionId"];
|
|
290
|
+
};
|
|
291
|
+
AssignObligationRequest: {
|
|
292
|
+
assignee_id: components["schemas"]["ContactId"];
|
|
293
|
+
entity_id: components["schemas"]["EntityId"];
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* @description Who is responsible for fulfilling an obligation.
|
|
297
|
+
* @enum {string}
|
|
298
|
+
*/
|
|
299
|
+
AssigneeType: "internal" | "third_party" | "human";
|
|
300
|
+
AttachResolutionDocumentRequest: {
|
|
301
|
+
document_id: components["schemas"]["DocumentId"];
|
|
302
|
+
entity_id: components["schemas"]["EntityId"];
|
|
303
|
+
};
|
|
304
|
+
AuditEvent: {
|
|
305
|
+
details: Record<string, never>;
|
|
306
|
+
event_id: string;
|
|
307
|
+
event_type: string;
|
|
308
|
+
timestamp: string;
|
|
309
|
+
};
|
|
310
|
+
/** @enum {string} */
|
|
311
|
+
AuthoritySource: "law" | "charter" | "governance_docs" | "resolution" | "directive" | "standing_instruction" | "delegation_schedule" | "heuristic";
|
|
312
|
+
/**
|
|
313
|
+
* @description The authority level required to approve an action.
|
|
314
|
+
* @enum {string}
|
|
315
|
+
*/
|
|
316
|
+
AuthorityTier: "tier_1" | "tier_2" | "tier_3";
|
|
317
|
+
/** Format: uuid */
|
|
318
|
+
BankAccountId: string;
|
|
319
|
+
BankAccountResponse: {
|
|
320
|
+
account_type: components["schemas"]["BankAccountType"];
|
|
321
|
+
bank_account_id: components["schemas"]["BankAccountId"];
|
|
322
|
+
bank_name: string;
|
|
323
|
+
created_at: string;
|
|
324
|
+
currency: components["schemas"]["Currency"];
|
|
325
|
+
entity_id: components["schemas"]["EntityId"];
|
|
326
|
+
status: components["schemas"]["BankAccountStatus"];
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* @description Lifecycle status of a bank account connection.
|
|
330
|
+
* @enum {string}
|
|
331
|
+
*/
|
|
332
|
+
BankAccountStatus: "pending_review" | "active" | "closed";
|
|
333
|
+
/**
|
|
334
|
+
* @description Type of bank account held by the entity.
|
|
335
|
+
* @enum {string}
|
|
336
|
+
*/
|
|
337
|
+
BankAccountType: "checking" | "savings";
|
|
338
|
+
BindApprovalArtifactRequest: {
|
|
339
|
+
approval_artifact_id: components["schemas"]["ApprovalArtifactId"];
|
|
340
|
+
entity_id: components["schemas"]["EntityId"];
|
|
341
|
+
};
|
|
342
|
+
BindDocumentRequestRequest: {
|
|
343
|
+
entity_id: components["schemas"]["EntityId"];
|
|
344
|
+
request_id: components["schemas"]["DocumentRequestId"];
|
|
345
|
+
};
|
|
346
|
+
BoardApproveRoundRequest: {
|
|
347
|
+
entity_id: components["schemas"]["EntityId"];
|
|
348
|
+
meeting_id: components["schemas"]["MeetingId"];
|
|
349
|
+
resolution_id: components["schemas"]["ResolutionId"];
|
|
350
|
+
};
|
|
351
|
+
BodyQuery: {
|
|
352
|
+
entity_id: components["schemas"]["EntityId"];
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* @description Whether a governance body is active.
|
|
356
|
+
* @enum {string}
|
|
357
|
+
*/
|
|
358
|
+
BodyStatus: "active" | "inactive";
|
|
359
|
+
/**
|
|
360
|
+
* @description The type of governance body.
|
|
361
|
+
* @enum {string}
|
|
362
|
+
*/
|
|
363
|
+
BodyType: "board_of_directors" | "llc_member_vote";
|
|
364
|
+
BranchListEntry: {
|
|
365
|
+
head_oid: string;
|
|
366
|
+
name: string;
|
|
367
|
+
};
|
|
368
|
+
/**
|
|
369
|
+
* @description A validated git branch name.
|
|
370
|
+
*
|
|
371
|
+
* Guarantees: non-empty, no `..`, no spaces, no leading `-`, no null bytes.
|
|
372
|
+
* Implements `Deref<Target=str>` for transparent use with `&str` parameters.
|
|
373
|
+
*/
|
|
374
|
+
BranchName: string;
|
|
375
|
+
/**
|
|
376
|
+
* @description Execution budget limits.
|
|
377
|
+
*
|
|
378
|
+
* All limits are validated positive on deserialization — a budget of
|
|
379
|
+
* zero turns or zero tokens is nonsensical and rejected at parse time.
|
|
380
|
+
*/
|
|
381
|
+
BudgetConfig: {
|
|
382
|
+
/** Format: int64 */
|
|
383
|
+
max_monthly_cost_cents?: number;
|
|
384
|
+
/** Format: int64 */
|
|
385
|
+
max_tokens?: number;
|
|
386
|
+
/** Format: int32 */
|
|
387
|
+
max_turns?: number;
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* @description Level of cap table visibility granted to a contact.
|
|
391
|
+
* @enum {string}
|
|
392
|
+
*/
|
|
393
|
+
CapTableAccess: "none" | "summary" | "detailed";
|
|
394
|
+
/** @enum {string} */
|
|
395
|
+
CapTableBasis: "outstanding" | "as_converted" | "fully_diluted";
|
|
396
|
+
CapTableHolderSummary: {
|
|
397
|
+
/** Format: int32 */
|
|
398
|
+
as_converted_bps: number;
|
|
399
|
+
/** Format: int64 */
|
|
400
|
+
as_converted_units: number;
|
|
401
|
+
/** Format: int32 */
|
|
402
|
+
fully_diluted_bps: number;
|
|
403
|
+
/** Format: int64 */
|
|
404
|
+
fully_diluted_units: number;
|
|
405
|
+
holder_id: components["schemas"]["HolderId"];
|
|
406
|
+
name: string;
|
|
407
|
+
/** Format: int32 */
|
|
408
|
+
outstanding_bps: number;
|
|
409
|
+
/** Format: int64 */
|
|
410
|
+
outstanding_units: number;
|
|
411
|
+
};
|
|
412
|
+
CapTableInstrumentSummary: {
|
|
413
|
+
/** Format: int64 */
|
|
414
|
+
authorized_units?: number | null;
|
|
415
|
+
/** Format: int64 */
|
|
416
|
+
diluted_units: number;
|
|
417
|
+
instrument_id: components["schemas"]["InstrumentId"];
|
|
418
|
+
/** Format: int64 */
|
|
419
|
+
issued_units: number;
|
|
420
|
+
kind: components["schemas"]["InstrumentKind"];
|
|
421
|
+
symbol: string;
|
|
422
|
+
};
|
|
423
|
+
CapTableQuery: {
|
|
424
|
+
basis?: components["schemas"]["CapTableBasis"];
|
|
425
|
+
issuer_legal_entity_id?: null | components["schemas"]["LegalEntityId"];
|
|
426
|
+
};
|
|
427
|
+
CapTableResponse: {
|
|
428
|
+
basis: components["schemas"]["CapTableBasis"];
|
|
429
|
+
entity_id: components["schemas"]["EntityId"];
|
|
430
|
+
generated_at: string;
|
|
431
|
+
holders: components["schemas"]["CapTableHolderSummary"][];
|
|
432
|
+
instruments: components["schemas"]["CapTableInstrumentSummary"][];
|
|
433
|
+
issuer_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
434
|
+
/** Format: int64 */
|
|
435
|
+
total_units: number;
|
|
436
|
+
};
|
|
437
|
+
CastVoteRequest: {
|
|
438
|
+
vote_value: components["schemas"]["VoteValue"];
|
|
439
|
+
voter_id: components["schemas"]["ContactId"];
|
|
440
|
+
};
|
|
441
|
+
/**
|
|
442
|
+
* @description Inbound channel configuration — a tagged enum so that each variant
|
|
443
|
+
* carries only the fields it needs.
|
|
444
|
+
*
|
|
445
|
+
* The key invariant: a `Cron` channel *always* has a valid schedule.
|
|
446
|
+
* This is unrepresentable with the old struct approach (schedule was
|
|
447
|
+
* `Option<String>`, allowing a cron channel with no schedule).
|
|
448
|
+
*
|
|
449
|
+
* Wire format is the same as before — internally tagged on `"type"`:
|
|
450
|
+
* ```json
|
|
451
|
+
* {"type": "cron", "schedule": "*\/5 * * * *"}
|
|
452
|
+
* {"type": "email", "address": "bot@acme.com"}
|
|
453
|
+
* ```
|
|
454
|
+
*/
|
|
455
|
+
ChannelConfig: {
|
|
456
|
+
address?: string | null;
|
|
457
|
+
/** @enum {string} */
|
|
458
|
+
type: "email";
|
|
459
|
+
webhook_secret?: string | null;
|
|
460
|
+
} | {
|
|
461
|
+
address?: string | null;
|
|
462
|
+
/** @enum {string} */
|
|
463
|
+
type: "webhook";
|
|
464
|
+
webhook_secret?: string | null;
|
|
465
|
+
} | {
|
|
466
|
+
schedule: components["schemas"]["CronExpr"];
|
|
467
|
+
/** @enum {string} */
|
|
468
|
+
type: "cron";
|
|
469
|
+
} | {
|
|
470
|
+
/** @enum {string} */
|
|
471
|
+
type: "manual";
|
|
472
|
+
};
|
|
473
|
+
ChartOfAccountsResponse: {
|
|
474
|
+
accounts: components["schemas"]["AccountResponse"][];
|
|
475
|
+
entity_id: components["schemas"]["EntityId"];
|
|
476
|
+
};
|
|
477
|
+
ChatSessionRequest: {
|
|
478
|
+
email: string;
|
|
479
|
+
};
|
|
480
|
+
ChatSessionResponse: {
|
|
481
|
+
expires_at: string;
|
|
482
|
+
ws_token: string;
|
|
483
|
+
};
|
|
484
|
+
/** Format: uuid */
|
|
485
|
+
ClassificationId: string;
|
|
486
|
+
ClassificationResponse: {
|
|
487
|
+
classification: components["schemas"]["ClassificationResult"];
|
|
488
|
+
classification_id: components["schemas"]["ClassificationId"];
|
|
489
|
+
contractor_name: string;
|
|
490
|
+
created_at: string;
|
|
491
|
+
entity_id: components["schemas"]["EntityId"];
|
|
492
|
+
flags: string[];
|
|
493
|
+
risk_level: components["schemas"]["RiskLevel"];
|
|
494
|
+
state: string;
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* @description Classification result.
|
|
498
|
+
* @enum {string}
|
|
499
|
+
*/
|
|
500
|
+
ClassificationResult: "independent" | "employee" | "uncertain";
|
|
501
|
+
ClassifyContractorRequest: {
|
|
502
|
+
contractor_name: string;
|
|
503
|
+
entity_id: components["schemas"]["EntityId"];
|
|
504
|
+
factors?: Record<string, never>;
|
|
505
|
+
state?: string;
|
|
506
|
+
};
|
|
507
|
+
CompanyAddress: {
|
|
508
|
+
city: string;
|
|
509
|
+
county?: string | null;
|
|
510
|
+
state: string;
|
|
511
|
+
street: string;
|
|
512
|
+
zip: string;
|
|
513
|
+
};
|
|
514
|
+
CompileWorkflowPacketRequest: {
|
|
515
|
+
entity_id: components["schemas"]["EntityId"];
|
|
516
|
+
phase?: string | null;
|
|
517
|
+
required_signers?: string[];
|
|
518
|
+
};
|
|
519
|
+
/** Format: uuid */
|
|
520
|
+
ComplianceEscalationId: string;
|
|
521
|
+
ComplianceEscalationResponse: {
|
|
522
|
+
action: string;
|
|
523
|
+
authority: string;
|
|
524
|
+
created_at: string;
|
|
525
|
+
deadline_id: components["schemas"]["DeadlineId"];
|
|
526
|
+
entity_id: components["schemas"]["EntityId"];
|
|
527
|
+
escalation_id: components["schemas"]["ComplianceEscalationId"];
|
|
528
|
+
incident_id?: null | components["schemas"]["IncidentId"];
|
|
529
|
+
milestone: string;
|
|
530
|
+
obligation_id?: null | components["schemas"]["ObligationId"];
|
|
531
|
+
status: components["schemas"]["EscalationStatus"];
|
|
532
|
+
};
|
|
533
|
+
/** Format: uuid */
|
|
534
|
+
ComplianceEvidenceLinkId: string;
|
|
535
|
+
ComplianceScanResponse: {
|
|
536
|
+
escalations_created: number;
|
|
537
|
+
incidents_created: number;
|
|
538
|
+
scanned_deadlines: number;
|
|
539
|
+
};
|
|
540
|
+
ComputeResolutionRequest: {
|
|
541
|
+
/** Format: date */
|
|
542
|
+
effective_date?: string | null;
|
|
543
|
+
resolution_text: string;
|
|
544
|
+
};
|
|
545
|
+
ConfigResponse: {
|
|
546
|
+
environment: string;
|
|
547
|
+
features: string[];
|
|
548
|
+
version: string;
|
|
549
|
+
};
|
|
550
|
+
ConfirmEinRequest: {
|
|
551
|
+
ein: string;
|
|
552
|
+
};
|
|
553
|
+
ConfirmFilingRequest: {
|
|
554
|
+
external_filing_id: string;
|
|
555
|
+
receipt_reference?: string | null;
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* @description The role or relationship a contact has with the entity.
|
|
559
|
+
* @enum {string}
|
|
560
|
+
*/
|
|
561
|
+
ContactCategory: "employee" | "contractor" | "board_member" | "law_firm" | "valuation_firm" | "accounting_firm" | "investor" | "officer" | "founder" | "member" | "other";
|
|
562
|
+
/** Format: uuid */
|
|
563
|
+
ContactId: string;
|
|
564
|
+
ContactProfileResponse: {
|
|
565
|
+
category: components["schemas"]["ContactCategory"];
|
|
566
|
+
contact_id: components["schemas"]["ContactId"];
|
|
567
|
+
email?: string | null;
|
|
568
|
+
entities: components["schemas"]["EntityId"][];
|
|
569
|
+
name: string;
|
|
570
|
+
phone?: string | null;
|
|
571
|
+
};
|
|
572
|
+
ContactResponse: {
|
|
573
|
+
cap_table_access: components["schemas"]["CapTableAccess"];
|
|
574
|
+
category: components["schemas"]["ContactCategory"];
|
|
575
|
+
contact_id: components["schemas"]["ContactId"];
|
|
576
|
+
contact_type: components["schemas"]["ContactType"];
|
|
577
|
+
created_at: string;
|
|
578
|
+
email?: string | null;
|
|
579
|
+
entity_id: components["schemas"]["EntityId"];
|
|
580
|
+
name: string;
|
|
581
|
+
notes?: string | null;
|
|
582
|
+
phone?: string | null;
|
|
583
|
+
status: components["schemas"]["ContactStatus"];
|
|
584
|
+
};
|
|
585
|
+
/**
|
|
586
|
+
* @description Whether a contact record is active.
|
|
587
|
+
* @enum {string}
|
|
588
|
+
*/
|
|
589
|
+
ContactStatus: "active" | "inactive";
|
|
590
|
+
/**
|
|
591
|
+
* @description Whether a contact is a person or an organization.
|
|
592
|
+
* @enum {string}
|
|
593
|
+
*/
|
|
594
|
+
ContactType: "individual" | "organization";
|
|
595
|
+
/** Format: uuid */
|
|
596
|
+
ContractId: string;
|
|
597
|
+
ContractResponse: {
|
|
598
|
+
contract_id: components["schemas"]["ContractId"];
|
|
599
|
+
counterparty_name: string;
|
|
600
|
+
created_at: string;
|
|
601
|
+
document_id: components["schemas"]["DocumentId"];
|
|
602
|
+
effective_date: string;
|
|
603
|
+
entity_id: components["schemas"]["EntityId"];
|
|
604
|
+
status: components["schemas"]["ContractStatus"];
|
|
605
|
+
template_type: components["schemas"]["ContractTemplateType"];
|
|
606
|
+
};
|
|
607
|
+
/**
|
|
608
|
+
* @description Lifecycle status of a contract.
|
|
609
|
+
* @enum {string}
|
|
610
|
+
*/
|
|
611
|
+
ContractStatus: "draft" | "active" | "expired" | "terminated";
|
|
612
|
+
/**
|
|
613
|
+
* @description Template type for generated contracts.
|
|
614
|
+
* @enum {string}
|
|
615
|
+
*/
|
|
616
|
+
ContractTemplateType: "consulting_agreement" | "employment_offer" | "contractor_agreement" | "nda" | "custom";
|
|
617
|
+
/** Format: uuid */
|
|
618
|
+
ControlLinkId: string;
|
|
619
|
+
ControlLinkResponse: {
|
|
620
|
+
child_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
621
|
+
control_link_id: components["schemas"]["ControlLinkId"];
|
|
622
|
+
control_type: components["schemas"]["ControlType"];
|
|
623
|
+
created_at: string;
|
|
624
|
+
parent_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
625
|
+
/** Format: int32 */
|
|
626
|
+
voting_power_bps?: number | null;
|
|
627
|
+
};
|
|
628
|
+
ControlMapEdge: {
|
|
629
|
+
child_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
630
|
+
control_type: components["schemas"]["ControlType"];
|
|
631
|
+
parent_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
632
|
+
/** Format: int32 */
|
|
633
|
+
voting_power_bps?: number | null;
|
|
634
|
+
};
|
|
635
|
+
ControlMapQuery: {
|
|
636
|
+
entity_id: components["schemas"]["EntityId"];
|
|
637
|
+
root_entity_id: components["schemas"]["LegalEntityId"];
|
|
638
|
+
};
|
|
639
|
+
ControlMapResponse: {
|
|
640
|
+
edges: components["schemas"]["ControlMapEdge"][];
|
|
641
|
+
root_entity_id: components["schemas"]["LegalEntityId"];
|
|
642
|
+
traversed_entities: components["schemas"]["LegalEntityId"][];
|
|
643
|
+
};
|
|
644
|
+
/**
|
|
645
|
+
* @description Type of control relationship.
|
|
646
|
+
* @enum {string}
|
|
647
|
+
*/
|
|
648
|
+
ControlType: "voting" | "board" | "economic" | "contractual";
|
|
649
|
+
ConveneMeetingRequest: {
|
|
650
|
+
present_seat_ids: components["schemas"]["GovernanceSeatId"][];
|
|
651
|
+
};
|
|
652
|
+
ConversionExecuteResponse: {
|
|
653
|
+
conversion_execution_id: components["schemas"]["ConversionExecutionId"];
|
|
654
|
+
converted_positions: number;
|
|
655
|
+
round_id: components["schemas"]["EquityRoundId"];
|
|
656
|
+
target_positions_touched: number;
|
|
657
|
+
/** Format: int64 */
|
|
658
|
+
total_new_units: number;
|
|
659
|
+
};
|
|
660
|
+
/** Format: uuid */
|
|
661
|
+
ConversionExecutionId: string;
|
|
662
|
+
ConversionPreviewLine: {
|
|
663
|
+
basis: string;
|
|
664
|
+
/** Format: int64 */
|
|
665
|
+
conversion_price_cents: number;
|
|
666
|
+
holder_id: components["schemas"]["HolderId"];
|
|
667
|
+
instrument_id: components["schemas"]["InstrumentId"];
|
|
668
|
+
/** Format: int64 */
|
|
669
|
+
new_units: number;
|
|
670
|
+
/** Format: int64 */
|
|
671
|
+
principal_cents: number;
|
|
672
|
+
source_position_id: components["schemas"]["PositionId"];
|
|
673
|
+
};
|
|
674
|
+
ConversionPreviewResponse: {
|
|
675
|
+
/** Format: int64 */
|
|
676
|
+
anti_dilution_adjustment_units: number;
|
|
677
|
+
entity_id: components["schemas"]["EntityId"];
|
|
678
|
+
lines: components["schemas"]["ConversionPreviewLine"][];
|
|
679
|
+
round_id: components["schemas"]["EquityRoundId"];
|
|
680
|
+
target_instrument_id: components["schemas"]["InstrumentId"];
|
|
681
|
+
/** Format: int64 */
|
|
682
|
+
total_new_units: number;
|
|
683
|
+
};
|
|
684
|
+
ConvertEntityRequest: {
|
|
685
|
+
target_type: components["schemas"]["EntityType"];
|
|
686
|
+
};
|
|
687
|
+
CreateAccountRequest: {
|
|
688
|
+
account_code: components["schemas"]["GlAccountCode"];
|
|
689
|
+
entity_id: components["schemas"]["EntityId"];
|
|
690
|
+
};
|
|
691
|
+
CreateAgentRequest: {
|
|
692
|
+
entity_id?: null | components["schemas"]["EntityId"];
|
|
693
|
+
model?: string | null;
|
|
694
|
+
name: string;
|
|
695
|
+
parent_agent_id?: null | components["schemas"]["AgentId"];
|
|
696
|
+
scopes?: components["schemas"]["Scope"][];
|
|
697
|
+
system_prompt?: string | null;
|
|
698
|
+
};
|
|
699
|
+
CreateApiKeyRequest: {
|
|
700
|
+
contact_id?: null | components["schemas"]["ContactId"];
|
|
701
|
+
/** @description Restrict this key to specific entities. `null` = all entities. */
|
|
702
|
+
entity_ids?: components["schemas"]["EntityId"][] | null;
|
|
703
|
+
name: string;
|
|
704
|
+
scopes?: components["schemas"]["Scope"][];
|
|
705
|
+
};
|
|
706
|
+
CreateApprovalArtifactRequest: {
|
|
707
|
+
/** Format: date-time */
|
|
708
|
+
approved_at?: string | null;
|
|
709
|
+
approver_identity: string;
|
|
710
|
+
channel: string;
|
|
711
|
+
entity_id: components["schemas"]["EntityId"];
|
|
712
|
+
/** Format: date-time */
|
|
713
|
+
expires_at?: string | null;
|
|
714
|
+
explicit?: boolean;
|
|
715
|
+
intent_type: string;
|
|
716
|
+
/** Format: int64 */
|
|
717
|
+
max_amount_cents?: number | null;
|
|
718
|
+
scope: string;
|
|
719
|
+
};
|
|
720
|
+
CreateBankAccountRequest: {
|
|
721
|
+
account_type?: null | components["schemas"]["BankAccountType"];
|
|
722
|
+
bank_name: string;
|
|
723
|
+
entity_id: components["schemas"]["EntityId"];
|
|
724
|
+
};
|
|
725
|
+
CreateBranchRequest: {
|
|
726
|
+
from?: components["schemas"]["BranchName"];
|
|
727
|
+
name: components["schemas"]["BranchName"];
|
|
728
|
+
};
|
|
729
|
+
CreateBranchResponse: {
|
|
730
|
+
base_commit: string;
|
|
731
|
+
branch: string;
|
|
732
|
+
};
|
|
733
|
+
CreateContactRequest: {
|
|
734
|
+
category: components["schemas"]["ContactCategory"];
|
|
735
|
+
contact_type: components["schemas"]["ContactType"];
|
|
736
|
+
email?: string | null;
|
|
737
|
+
entity_id: components["schemas"]["EntityId"];
|
|
738
|
+
name: string;
|
|
739
|
+
};
|
|
740
|
+
CreateControlLinkRequest: {
|
|
741
|
+
child_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
742
|
+
control_type: components["schemas"]["ControlType"];
|
|
743
|
+
entity_id: components["schemas"]["EntityId"];
|
|
744
|
+
notes?: string | null;
|
|
745
|
+
parent_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
746
|
+
/** Format: int32 */
|
|
747
|
+
voting_power_bps?: number | null;
|
|
748
|
+
};
|
|
749
|
+
CreateDeadlineRequest: {
|
|
750
|
+
deadline_type: string;
|
|
751
|
+
description: string;
|
|
752
|
+
/** Format: date */
|
|
753
|
+
due_date: string;
|
|
754
|
+
entity_id: components["schemas"]["EntityId"];
|
|
755
|
+
recurrence?: components["schemas"]["Recurrence"];
|
|
756
|
+
severity?: components["schemas"]["DeadlineSeverity"];
|
|
757
|
+
};
|
|
758
|
+
CreateDistributionRequest: {
|
|
759
|
+
description: string;
|
|
760
|
+
distribution_type?: components["schemas"]["DistributionType"];
|
|
761
|
+
entity_id: components["schemas"]["EntityId"];
|
|
762
|
+
/** Format: int64 */
|
|
763
|
+
total_amount_cents: number;
|
|
764
|
+
};
|
|
765
|
+
CreateDocumentRequestPayload: {
|
|
766
|
+
description: string;
|
|
767
|
+
document_type: string;
|
|
768
|
+
entity_id: components["schemas"]["EntityId"];
|
|
769
|
+
};
|
|
770
|
+
CreateFormationRequest: {
|
|
771
|
+
/** Format: int64 */
|
|
772
|
+
authorized_shares?: number | null;
|
|
773
|
+
company_address?: null | components["schemas"]["Address"];
|
|
774
|
+
entity_type: components["schemas"]["EntityType"];
|
|
775
|
+
/** @description Fiscal year end, e.g. "12-31". Defaults to "12-31". */
|
|
776
|
+
fiscal_year_end?: string | null;
|
|
777
|
+
/** @description Optional formation date for importing pre-formed entities. */
|
|
778
|
+
formation_date?: string | null;
|
|
779
|
+
jurisdiction: components["schemas"]["Jurisdiction"];
|
|
780
|
+
legal_name: string;
|
|
781
|
+
members: components["schemas"]["MemberInput"][];
|
|
782
|
+
par_value?: string | null;
|
|
783
|
+
registered_agent_address?: string | null;
|
|
784
|
+
registered_agent_name?: string | null;
|
|
785
|
+
/** @description Include right of first refusal in bylaws (corp). Default true. */
|
|
786
|
+
right_of_first_refusal?: boolean | null;
|
|
787
|
+
/** @description Whether the company will elect S-Corp tax treatment. */
|
|
788
|
+
s_corp_election?: boolean | null;
|
|
789
|
+
/** @description Include transfer restrictions in bylaws (corp). Default true. */
|
|
790
|
+
transfer_restrictions?: boolean | null;
|
|
791
|
+
};
|
|
792
|
+
CreateFundraisingWorkflowRequest: {
|
|
793
|
+
conversion_target_instrument_id?: null | components["schemas"]["InstrumentId"];
|
|
794
|
+
entity_id: components["schemas"]["EntityId"];
|
|
795
|
+
issuer_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
796
|
+
metadata?: Record<string, never>;
|
|
797
|
+
name: string;
|
|
798
|
+
/** Format: int64 */
|
|
799
|
+
pre_money_cents?: number | null;
|
|
800
|
+
prepare_intent_id: components["schemas"]["IntentId"];
|
|
801
|
+
/** Format: int64 */
|
|
802
|
+
round_price_cents?: number | null;
|
|
803
|
+
/** Format: int64 */
|
|
804
|
+
target_raise_cents?: number | null;
|
|
805
|
+
};
|
|
806
|
+
CreateGovernanceAuditEventRequest: {
|
|
807
|
+
action: string;
|
|
808
|
+
details?: Record<string, never>;
|
|
809
|
+
entity_id: components["schemas"]["EntityId"];
|
|
810
|
+
event_type: components["schemas"]["GovernanceAuditEventType"];
|
|
811
|
+
evidence_refs?: string[];
|
|
812
|
+
linked_incident_id?: null | components["schemas"]["IncidentId"];
|
|
813
|
+
linked_intent_id?: null | components["schemas"]["IntentId"];
|
|
814
|
+
linked_mode_event_id?: null | components["schemas"]["GovernanceModeEventId"];
|
|
815
|
+
linked_trigger_id?: null | components["schemas"]["GovernanceTriggerId"];
|
|
816
|
+
};
|
|
817
|
+
CreateGovernanceBodyRequest: {
|
|
818
|
+
body_type: components["schemas"]["BodyType"];
|
|
819
|
+
entity_id: components["schemas"]["EntityId"];
|
|
820
|
+
name: string;
|
|
821
|
+
quorum_rule: components["schemas"]["QuorumThreshold"];
|
|
822
|
+
voting_method: components["schemas"]["VotingMethod"];
|
|
823
|
+
};
|
|
824
|
+
CreateHolderRequest: {
|
|
825
|
+
contact_id: components["schemas"]["ContactId"];
|
|
826
|
+
entity_id: components["schemas"]["EntityId"];
|
|
827
|
+
external_reference?: string | null;
|
|
828
|
+
holder_type: components["schemas"]["HolderType"];
|
|
829
|
+
linked_entity_id?: null | components["schemas"]["EntityId"];
|
|
830
|
+
name: string;
|
|
831
|
+
};
|
|
832
|
+
CreateIncidentRequest: {
|
|
833
|
+
description: string;
|
|
834
|
+
entity_id: components["schemas"]["EntityId"];
|
|
835
|
+
severity: components["schemas"]["IncidentSeverity"];
|
|
836
|
+
title: string;
|
|
837
|
+
};
|
|
838
|
+
CreateInstrumentRequest: {
|
|
839
|
+
/** Format: int64 */
|
|
840
|
+
authorized_units?: number | null;
|
|
841
|
+
entity_id: components["schemas"]["EntityId"];
|
|
842
|
+
/** Format: int64 */
|
|
843
|
+
issue_price_cents?: number | null;
|
|
844
|
+
issuer_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
845
|
+
kind: components["schemas"]["InstrumentKind"];
|
|
846
|
+
symbol: string;
|
|
847
|
+
terms?: Record<string, never>;
|
|
848
|
+
};
|
|
849
|
+
CreateIntentRequest: {
|
|
850
|
+
authority_tier?: null | components["schemas"]["AuthorityTier"];
|
|
851
|
+
description: string;
|
|
852
|
+
entity_id: components["schemas"]["EntityId"];
|
|
853
|
+
intent_type: string;
|
|
854
|
+
metadata?: Record<string, never>;
|
|
855
|
+
};
|
|
856
|
+
CreateInvoiceRequest: {
|
|
857
|
+
/** Format: int64 */
|
|
858
|
+
amount_cents: number;
|
|
859
|
+
customer_name: string;
|
|
860
|
+
description: string;
|
|
861
|
+
/** Format: date */
|
|
862
|
+
due_date: string;
|
|
863
|
+
entity_id: components["schemas"]["EntityId"];
|
|
864
|
+
};
|
|
865
|
+
CreateJournalEntryRequest: {
|
|
866
|
+
description: string;
|
|
867
|
+
/** Format: date */
|
|
868
|
+
effective_date: string;
|
|
869
|
+
entity_id: components["schemas"]["EntityId"];
|
|
870
|
+
lines: components["schemas"]["LedgerLineRequest"][];
|
|
871
|
+
};
|
|
872
|
+
CreateLegalEntityRequest: {
|
|
873
|
+
entity_id: components["schemas"]["EntityId"];
|
|
874
|
+
linked_entity_id?: null | components["schemas"]["EntityId"];
|
|
875
|
+
name: string;
|
|
876
|
+
role: components["schemas"]["LegalEntityRole"];
|
|
877
|
+
};
|
|
878
|
+
CreateObligationRequest: {
|
|
879
|
+
assignee_id?: null | components["schemas"]["ContactId"];
|
|
880
|
+
assignee_type: components["schemas"]["AssigneeType"];
|
|
881
|
+
description: string;
|
|
882
|
+
/** Format: date */
|
|
883
|
+
due_date?: string | null;
|
|
884
|
+
entity_id: components["schemas"]["EntityId"];
|
|
885
|
+
intent_id?: null | components["schemas"]["IntentId"];
|
|
886
|
+
obligation_type: string;
|
|
887
|
+
};
|
|
888
|
+
CreatePaymentIntentRequest: {
|
|
889
|
+
/** Format: int64 */
|
|
890
|
+
amount_cents: number;
|
|
891
|
+
currency?: string | null;
|
|
892
|
+
description?: string | null;
|
|
893
|
+
entity_id: components["schemas"]["EntityId"];
|
|
894
|
+
};
|
|
895
|
+
CreatePayoutRequest: {
|
|
896
|
+
/** Format: int64 */
|
|
897
|
+
amount_cents: number;
|
|
898
|
+
description?: string | null;
|
|
899
|
+
destination: string;
|
|
900
|
+
entity_id: components["schemas"]["EntityId"];
|
|
901
|
+
};
|
|
902
|
+
CreatePayrollRunRequest: {
|
|
903
|
+
entity_id: components["schemas"]["EntityId"];
|
|
904
|
+
/** Format: date */
|
|
905
|
+
pay_period_end: string;
|
|
906
|
+
/** Format: date */
|
|
907
|
+
pay_period_start: string;
|
|
908
|
+
};
|
|
909
|
+
CreatePendingFormationRequest: {
|
|
910
|
+
entity_type: components["schemas"]["EntityType"];
|
|
911
|
+
jurisdiction?: null | components["schemas"]["Jurisdiction"];
|
|
912
|
+
legal_name: string;
|
|
913
|
+
};
|
|
914
|
+
CreateProxyRequest: {
|
|
915
|
+
description?: string | null;
|
|
916
|
+
name: string;
|
|
917
|
+
/** @description `"self"` for local encrypted secrets, or an external URL. */
|
|
918
|
+
url: string;
|
|
919
|
+
};
|
|
920
|
+
CreateRoundRequest: {
|
|
921
|
+
conversion_target_instrument_id?: null | components["schemas"]["InstrumentId"];
|
|
922
|
+
entity_id: components["schemas"]["EntityId"];
|
|
923
|
+
issuer_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
924
|
+
metadata?: Record<string, never>;
|
|
925
|
+
name: string;
|
|
926
|
+
/** Format: int64 */
|
|
927
|
+
pre_money_cents?: number | null;
|
|
928
|
+
/** Format: int64 */
|
|
929
|
+
round_price_cents?: number | null;
|
|
930
|
+
/** Format: int64 */
|
|
931
|
+
target_raise_cents?: number | null;
|
|
932
|
+
};
|
|
933
|
+
CreateSeatRequest: {
|
|
934
|
+
/** Format: date */
|
|
935
|
+
appointed_date?: string | null;
|
|
936
|
+
holder_id: components["schemas"]["ContactId"];
|
|
937
|
+
role: components["schemas"]["SeatRole"];
|
|
938
|
+
/** Format: date */
|
|
939
|
+
term_expiration?: string | null;
|
|
940
|
+
/** Format: int32 */
|
|
941
|
+
voting_power?: number | null;
|
|
942
|
+
};
|
|
943
|
+
CreateSpendingLimitRequest: {
|
|
944
|
+
/** Format: int64 */
|
|
945
|
+
amount_cents: number;
|
|
946
|
+
category: string;
|
|
947
|
+
entity_id: components["schemas"]["EntityId"];
|
|
948
|
+
period: string;
|
|
949
|
+
};
|
|
950
|
+
CreateStripeAccountRequest: {
|
|
951
|
+
entity_id: components["schemas"]["EntityId"];
|
|
952
|
+
};
|
|
953
|
+
CreateTransferWorkflowRequest: {
|
|
954
|
+
entity_id: components["schemas"]["EntityId"];
|
|
955
|
+
from_contact_id: components["schemas"]["ContactId"];
|
|
956
|
+
governing_doc_type: components["schemas"]["GoverningDocType"];
|
|
957
|
+
prepare_intent_id: components["schemas"]["IntentId"];
|
|
958
|
+
/** Format: int64 */
|
|
959
|
+
price_per_share_cents?: number | null;
|
|
960
|
+
relationship_to_holder?: string | null;
|
|
961
|
+
share_class_id: components["schemas"]["ShareClassId"];
|
|
962
|
+
/** Format: int64 */
|
|
963
|
+
share_count: number;
|
|
964
|
+
to_contact_id: components["schemas"]["ContactId"];
|
|
965
|
+
transfer_type: components["schemas"]["TransferType"];
|
|
966
|
+
transferee_rights: components["schemas"]["TransfereeRights"];
|
|
967
|
+
};
|
|
968
|
+
CreateValuationRequest: {
|
|
969
|
+
/** Format: date */
|
|
970
|
+
effective_date: string;
|
|
971
|
+
/** Format: int64 */
|
|
972
|
+
enterprise_value_cents?: number | null;
|
|
973
|
+
entity_id: components["schemas"]["EntityId"];
|
|
974
|
+
/** Format: int64 */
|
|
975
|
+
fmv_per_share_cents?: number | null;
|
|
976
|
+
/** Format: int64 */
|
|
977
|
+
hurdle_amount_cents?: number | null;
|
|
978
|
+
methodology: components["schemas"]["ValuationMethodology"];
|
|
979
|
+
provider_contact_id?: null | components["schemas"]["ContactId"];
|
|
980
|
+
report_document_id?: null | components["schemas"]["DocumentId"];
|
|
981
|
+
valuation_type: components["schemas"]["ValuationType"];
|
|
982
|
+
};
|
|
983
|
+
/**
|
|
984
|
+
* @description A cron expression validated to have at least 5 whitespace-separated fields.
|
|
985
|
+
*
|
|
986
|
+
* This is a lightweight parse — it doesn't validate each field's range,
|
|
987
|
+
* but it rejects obviously malformed expressions at the system boundary.
|
|
988
|
+
* The full matching logic lives in the worker's cron module.
|
|
989
|
+
*/
|
|
990
|
+
CronExpr: string;
|
|
991
|
+
/**
|
|
992
|
+
* @description Supported currencies. Currently USD only.
|
|
993
|
+
* @enum {string}
|
|
994
|
+
*/
|
|
995
|
+
Currency: "usd";
|
|
996
|
+
/** Format: uuid */
|
|
997
|
+
DeadlineId: string;
|
|
998
|
+
DeadlineResponse: {
|
|
999
|
+
completed_at?: string | null;
|
|
1000
|
+
created_at: string;
|
|
1001
|
+
deadline_id: components["schemas"]["DeadlineId"];
|
|
1002
|
+
deadline_type: string;
|
|
1003
|
+
description: string;
|
|
1004
|
+
/** Format: date */
|
|
1005
|
+
due_date: string;
|
|
1006
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1007
|
+
recurrence: components["schemas"]["Recurrence"];
|
|
1008
|
+
severity: components["schemas"]["DeadlineSeverity"];
|
|
1009
|
+
status: components["schemas"]["DeadlineStatus"];
|
|
1010
|
+
};
|
|
1011
|
+
/**
|
|
1012
|
+
* @description Risk severity of missing a deadline.
|
|
1013
|
+
* @enum {string}
|
|
1014
|
+
*/
|
|
1015
|
+
DeadlineSeverity: "low" | "medium" | "high" | "critical";
|
|
1016
|
+
/**
|
|
1017
|
+
* @description Status of a deadline.
|
|
1018
|
+
* @enum {string}
|
|
1019
|
+
*/
|
|
1020
|
+
DeadlineStatus: "upcoming" | "due" | "completed" | "overdue";
|
|
1021
|
+
DelegationSchedule: {
|
|
1022
|
+
adopted_resolution_id?: null | components["schemas"]["ResolutionId"];
|
|
1023
|
+
allowed_tier1_intent_types?: string[];
|
|
1024
|
+
/** Format: date-time */
|
|
1025
|
+
created_at: string;
|
|
1026
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1027
|
+
/** Format: date-time */
|
|
1028
|
+
last_reauthorized_at: string;
|
|
1029
|
+
/** Format: date */
|
|
1030
|
+
next_mandatory_review_at: string;
|
|
1031
|
+
/** Format: int64 */
|
|
1032
|
+
reauth_full_suspension_at_days: number;
|
|
1033
|
+
/** Format: int64 */
|
|
1034
|
+
reauth_reduced_limits_at_days: number;
|
|
1035
|
+
/** Format: int32 */
|
|
1036
|
+
reauth_reduced_limits_percent: number;
|
|
1037
|
+
/** Format: int64 */
|
|
1038
|
+
tier1_max_amount_cents: number;
|
|
1039
|
+
/** Format: date-time */
|
|
1040
|
+
updated_at: string;
|
|
1041
|
+
/** Format: int32 */
|
|
1042
|
+
version: number;
|
|
1043
|
+
};
|
|
1044
|
+
DelegationScheduleChangeResponse: {
|
|
1045
|
+
amendment: components["schemas"]["ScheduleAmendment"];
|
|
1046
|
+
schedule: components["schemas"]["DelegationSchedule"];
|
|
1047
|
+
};
|
|
1048
|
+
DemoSeedRequest: {
|
|
1049
|
+
scenario?: string;
|
|
1050
|
+
};
|
|
1051
|
+
DemoSeedResponse: {
|
|
1052
|
+
entities_created: number;
|
|
1053
|
+
message: string;
|
|
1054
|
+
scenario: string;
|
|
1055
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
1056
|
+
};
|
|
1057
|
+
DigestSummary: {
|
|
1058
|
+
digest_key: string;
|
|
1059
|
+
generated_at: string;
|
|
1060
|
+
};
|
|
1061
|
+
DigestTriggerResponse: {
|
|
1062
|
+
digest_count: number;
|
|
1063
|
+
triggered: boolean;
|
|
1064
|
+
};
|
|
1065
|
+
DilutionPreviewQuery: {
|
|
1066
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1067
|
+
round_id: components["schemas"]["EquityRoundId"];
|
|
1068
|
+
};
|
|
1069
|
+
DilutionPreviewResponse: {
|
|
1070
|
+
issuer_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
1071
|
+
/** Format: int64 */
|
|
1072
|
+
pre_round_outstanding_units: number;
|
|
1073
|
+
/** Format: int32 */
|
|
1074
|
+
projected_dilution_bps: number;
|
|
1075
|
+
/** Format: int64 */
|
|
1076
|
+
projected_new_units: number;
|
|
1077
|
+
/** Format: int64 */
|
|
1078
|
+
projected_post_outstanding_units: number;
|
|
1079
|
+
round_id: components["schemas"]["EquityRoundId"];
|
|
1080
|
+
};
|
|
1081
|
+
DirectorInfo: {
|
|
1082
|
+
address?: null | components["schemas"]["CompanyAddress"];
|
|
1083
|
+
name: string;
|
|
1084
|
+
};
|
|
1085
|
+
DissolveEntityRequest: {
|
|
1086
|
+
reason?: string | null;
|
|
1087
|
+
};
|
|
1088
|
+
/** Format: uuid */
|
|
1089
|
+
DistributionId: string;
|
|
1090
|
+
DistributionResponse: {
|
|
1091
|
+
created_at: string;
|
|
1092
|
+
description: string;
|
|
1093
|
+
distribution_id: components["schemas"]["DistributionId"];
|
|
1094
|
+
distribution_type: components["schemas"]["DistributionType"];
|
|
1095
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1096
|
+
status: components["schemas"]["DistributionStatus"];
|
|
1097
|
+
/** Format: int64 */
|
|
1098
|
+
total_amount_cents: number;
|
|
1099
|
+
};
|
|
1100
|
+
/**
|
|
1101
|
+
* @description Status of a distribution.
|
|
1102
|
+
* @enum {string}
|
|
1103
|
+
*/
|
|
1104
|
+
DistributionStatus: "pending" | "approved" | "distributed";
|
|
1105
|
+
/**
|
|
1106
|
+
* @description Type of distribution.
|
|
1107
|
+
* @enum {string}
|
|
1108
|
+
*/
|
|
1109
|
+
DistributionType: "dividend" | "return" | "liquidation";
|
|
1110
|
+
DocumentCopyRequest: {
|
|
1111
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1112
|
+
recipient_email?: string | null;
|
|
1113
|
+
};
|
|
1114
|
+
DocumentCopyResponse: {
|
|
1115
|
+
created_at: string;
|
|
1116
|
+
document_id: components["schemas"]["DocumentId"];
|
|
1117
|
+
recipient_email?: string | null;
|
|
1118
|
+
request_id: string;
|
|
1119
|
+
status: string;
|
|
1120
|
+
title: string;
|
|
1121
|
+
};
|
|
1122
|
+
/** Format: uuid */
|
|
1123
|
+
DocumentId: string;
|
|
1124
|
+
DocumentOptions: {
|
|
1125
|
+
dating_format?: string;
|
|
1126
|
+
right_of_first_refusal?: boolean;
|
|
1127
|
+
s_corp_election?: boolean;
|
|
1128
|
+
transfer_restrictions?: boolean;
|
|
1129
|
+
};
|
|
1130
|
+
/** Format: uuid */
|
|
1131
|
+
DocumentRequestId: string;
|
|
1132
|
+
DocumentRequestResponse: {
|
|
1133
|
+
created_at: string;
|
|
1134
|
+
description: string;
|
|
1135
|
+
document_type: string;
|
|
1136
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1137
|
+
fulfilled_at?: string | null;
|
|
1138
|
+
not_applicable_at?: string | null;
|
|
1139
|
+
obligation_id: components["schemas"]["ObligationId"];
|
|
1140
|
+
request_id: components["schemas"]["DocumentRequestId"];
|
|
1141
|
+
status: components["schemas"]["DocumentRequestStatus"];
|
|
1142
|
+
};
|
|
1143
|
+
/**
|
|
1144
|
+
* @description Status of a request for a document from a stakeholder.
|
|
1145
|
+
* @enum {string}
|
|
1146
|
+
*/
|
|
1147
|
+
DocumentRequestStatus: "requested" | "provided" | "not_applicable" | "waived";
|
|
1148
|
+
DocumentResponse: {
|
|
1149
|
+
content: Record<string, never>;
|
|
1150
|
+
content_hash: string;
|
|
1151
|
+
created_at: string;
|
|
1152
|
+
document_id: components["schemas"]["DocumentId"];
|
|
1153
|
+
document_type: components["schemas"]["DocumentType"];
|
|
1154
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1155
|
+
signatures: components["schemas"]["SignatureSummary"][];
|
|
1156
|
+
status: components["schemas"]["DocumentStatus"];
|
|
1157
|
+
title: string;
|
|
1158
|
+
/** Format: int32 */
|
|
1159
|
+
version: number;
|
|
1160
|
+
};
|
|
1161
|
+
/**
|
|
1162
|
+
* @description Status of a document in the signing workflow.
|
|
1163
|
+
* @enum {string}
|
|
1164
|
+
*/
|
|
1165
|
+
DocumentStatus: "draft" | "signed" | "amended" | "filed";
|
|
1166
|
+
DocumentSummary: {
|
|
1167
|
+
created_at: string;
|
|
1168
|
+
document_id: components["schemas"]["DocumentId"];
|
|
1169
|
+
document_type: components["schemas"]["DocumentType"];
|
|
1170
|
+
signature_count: number;
|
|
1171
|
+
status: components["schemas"]["DocumentStatus"];
|
|
1172
|
+
title: string;
|
|
1173
|
+
};
|
|
1174
|
+
/**
|
|
1175
|
+
* @description Type of legal document.
|
|
1176
|
+
* @enum {string}
|
|
1177
|
+
*/
|
|
1178
|
+
DocumentType: "articles_of_incorporation" | "articles_of_organization" | "bylaws" | "operating_agreement" | "ss4_application" | "meeting_notice" | "resolution" | "safe_agreement";
|
|
1179
|
+
/** Format: uuid */
|
|
1180
|
+
EntityId: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* @description The legal structure of a business entity.
|
|
1183
|
+
* @enum {string}
|
|
1184
|
+
*/
|
|
1185
|
+
EntityType: "corporation" | "llc";
|
|
1186
|
+
/** Format: uuid */
|
|
1187
|
+
EquityRoundId: string;
|
|
1188
|
+
/** @enum {string} */
|
|
1189
|
+
EquityRoundStatus: "draft" | "open" | "board_approved" | "accepted" | "closed" | "cancelled";
|
|
1190
|
+
/** Format: uuid */
|
|
1191
|
+
EquityRuleSetId: string;
|
|
1192
|
+
/** @enum {string} */
|
|
1193
|
+
EscalationStatus: "open" | "resolved";
|
|
1194
|
+
EvaluateGovernanceRequest: {
|
|
1195
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1196
|
+
intent_type: string;
|
|
1197
|
+
metadata?: Record<string, never>;
|
|
1198
|
+
};
|
|
1199
|
+
ExecuteConversionRequest: {
|
|
1200
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1201
|
+
intent_id: components["schemas"]["IntentId"];
|
|
1202
|
+
round_id: components["schemas"]["EquityRoundId"];
|
|
1203
|
+
source_reference?: string | null;
|
|
1204
|
+
};
|
|
1205
|
+
ExecutePaymentRequest: {
|
|
1206
|
+
/** Format: int64 */
|
|
1207
|
+
amount_cents: number;
|
|
1208
|
+
description: string;
|
|
1209
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1210
|
+
payment_method?: components["schemas"]["PaymentMethod"];
|
|
1211
|
+
recipient: string;
|
|
1212
|
+
};
|
|
1213
|
+
ExecuteServiceAgreementRequest: {
|
|
1214
|
+
contract_id?: null | components["schemas"]["ContractId"];
|
|
1215
|
+
document_id?: null | components["schemas"]["DocumentId"];
|
|
1216
|
+
notes?: string | null;
|
|
1217
|
+
};
|
|
1218
|
+
/** Format: uuid */
|
|
1219
|
+
ExecutionId: string;
|
|
1220
|
+
ExecutionResponse: {
|
|
1221
|
+
agent_id: string;
|
|
1222
|
+
completed_at?: string | null;
|
|
1223
|
+
container_id?: string | null;
|
|
1224
|
+
execution_id: components["schemas"]["ExecutionId"];
|
|
1225
|
+
reason?: string | null;
|
|
1226
|
+
started_at?: string | null;
|
|
1227
|
+
status: string;
|
|
1228
|
+
};
|
|
1229
|
+
FileTaxDocumentRequest: {
|
|
1230
|
+
document_type: string;
|
|
1231
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1232
|
+
/** Format: int32 */
|
|
1233
|
+
tax_year: number;
|
|
1234
|
+
};
|
|
1235
|
+
FilingAttestationRequest: {
|
|
1236
|
+
consent_text?: string;
|
|
1237
|
+
notes?: string | null;
|
|
1238
|
+
signer_email: string;
|
|
1239
|
+
signer_name: string;
|
|
1240
|
+
signer_role: string;
|
|
1241
|
+
};
|
|
1242
|
+
FinalizeAgendaItemRequest: {
|
|
1243
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1244
|
+
status: components["schemas"]["AgendaItemStatus"];
|
|
1245
|
+
};
|
|
1246
|
+
FinalizeWorkflowRequest: {
|
|
1247
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1248
|
+
phase?: string | null;
|
|
1249
|
+
};
|
|
1250
|
+
FinancialStatementResponse: {
|
|
1251
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1252
|
+
/** Format: int64 */
|
|
1253
|
+
net_income_cents: number;
|
|
1254
|
+
period_end: string;
|
|
1255
|
+
period_start: string;
|
|
1256
|
+
statement_type: string;
|
|
1257
|
+
/** Format: int64 */
|
|
1258
|
+
total_assets_cents: number;
|
|
1259
|
+
/** Format: int64 */
|
|
1260
|
+
total_equity_cents: number;
|
|
1261
|
+
/** Format: int64 */
|
|
1262
|
+
total_liabilities_cents: number;
|
|
1263
|
+
};
|
|
1264
|
+
FiscalYearEnd: {
|
|
1265
|
+
/** Format: int32 */
|
|
1266
|
+
day: number;
|
|
1267
|
+
/** Format: int32 */
|
|
1268
|
+
month: number;
|
|
1269
|
+
};
|
|
1270
|
+
FormationGatesResponse: {
|
|
1271
|
+
attestation_recorded: boolean;
|
|
1272
|
+
designated_attestor_email?: string | null;
|
|
1273
|
+
designated_attestor_name: string;
|
|
1274
|
+
designated_attestor_role: string;
|
|
1275
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1276
|
+
filing_submission_blockers: string[];
|
|
1277
|
+
registered_agent_consent_evidence_count: number;
|
|
1278
|
+
requires_natural_person_attestation: boolean;
|
|
1279
|
+
requires_registered_agent_consent_evidence: boolean;
|
|
1280
|
+
service_agreement_contract_id?: null | components["schemas"]["ContractId"];
|
|
1281
|
+
service_agreement_document_id?: null | components["schemas"]["DocumentId"];
|
|
1282
|
+
service_agreement_executed: boolean;
|
|
1283
|
+
service_agreement_executed_at?: string | null;
|
|
1284
|
+
service_agreement_notes?: string | null;
|
|
1285
|
+
service_agreement_required_for_tier1_autonomy: boolean;
|
|
1286
|
+
};
|
|
1287
|
+
FormationResponse: {
|
|
1288
|
+
document_ids: components["schemas"]["DocumentId"][];
|
|
1289
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1290
|
+
formation_id: components["schemas"]["EntityId"];
|
|
1291
|
+
formation_status: components["schemas"]["FormationStatus"];
|
|
1292
|
+
next_action?: string | null;
|
|
1293
|
+
};
|
|
1294
|
+
/**
|
|
1295
|
+
* @description High-level state of a forming entity.
|
|
1296
|
+
* @enum {string}
|
|
1297
|
+
*/
|
|
1298
|
+
FormationState: "forming" | "active";
|
|
1299
|
+
/**
|
|
1300
|
+
* @description Detailed formation workflow status with valid state transitions.
|
|
1301
|
+
* @enum {string}
|
|
1302
|
+
*/
|
|
1303
|
+
FormationStatus: "pending" | "documents_generated" | "documents_signed" | "filing_submitted" | "filed" | "ein_applied" | "active" | "rejected" | "dissolved";
|
|
1304
|
+
FormationStatusResponse: {
|
|
1305
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1306
|
+
entity_type: components["schemas"]["EntityType"];
|
|
1307
|
+
formation_date?: string | null;
|
|
1308
|
+
formation_state: components["schemas"]["FormationState"];
|
|
1309
|
+
formation_status: components["schemas"]["FormationStatus"];
|
|
1310
|
+
jurisdiction: components["schemas"]["Jurisdiction"];
|
|
1311
|
+
legal_name: string;
|
|
1312
|
+
next_action?: string | null;
|
|
1313
|
+
};
|
|
1314
|
+
FormationWithCapTableResponse: {
|
|
1315
|
+
document_ids: components["schemas"]["DocumentId"][];
|
|
1316
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1317
|
+
formation_id: components["schemas"]["EntityId"];
|
|
1318
|
+
formation_status: components["schemas"]["FormationStatus"];
|
|
1319
|
+
holders: components["schemas"]["HolderSummary"][];
|
|
1320
|
+
instrument_id?: null | components["schemas"]["InstrumentId"];
|
|
1321
|
+
legal_entity_id?: null | components["schemas"]["LegalEntityId"];
|
|
1322
|
+
next_action?: string | null;
|
|
1323
|
+
};
|
|
1324
|
+
FounderInfo: {
|
|
1325
|
+
address?: null | components["schemas"]["CompanyAddress"];
|
|
1326
|
+
email?: string | null;
|
|
1327
|
+
ip_contribution?: string | null;
|
|
1328
|
+
name: string;
|
|
1329
|
+
/** Format: int64 */
|
|
1330
|
+
shares?: number | null;
|
|
1331
|
+
vesting?: null | components["schemas"]["VestingSchedule"];
|
|
1332
|
+
};
|
|
1333
|
+
FounderSummary: {
|
|
1334
|
+
email?: string | null;
|
|
1335
|
+
name: string;
|
|
1336
|
+
/** Format: double */
|
|
1337
|
+
ownership_pct?: number | null;
|
|
1338
|
+
role?: null | components["schemas"]["MemberRole"];
|
|
1339
|
+
};
|
|
1340
|
+
/** Format: uuid */
|
|
1341
|
+
FundraisingWorkflowId: string;
|
|
1342
|
+
FundraisingWorkflowResponse: {
|
|
1343
|
+
accept_intent_id?: null | components["schemas"]["IntentId"];
|
|
1344
|
+
active_packet_id?: null | components["schemas"]["PacketId"];
|
|
1345
|
+
board_approval_meeting_id?: null | components["schemas"]["MeetingId"];
|
|
1346
|
+
board_approval_resolution_id?: null | components["schemas"]["ResolutionId"];
|
|
1347
|
+
board_packet_documents: string[];
|
|
1348
|
+
close_intent_id?: null | components["schemas"]["IntentId"];
|
|
1349
|
+
closing_packet_documents: string[];
|
|
1350
|
+
created_at: string;
|
|
1351
|
+
execution_status: string;
|
|
1352
|
+
fundraising_workflow_id: components["schemas"]["FundraisingWorkflowId"];
|
|
1353
|
+
last_packet_hash?: string | null;
|
|
1354
|
+
prepare_intent_id: components["schemas"]["IntentId"];
|
|
1355
|
+
round_id: components["schemas"]["EquityRoundId"];
|
|
1356
|
+
round_status: components["schemas"]["EquityRoundStatus"];
|
|
1357
|
+
rule_set_id?: null | components["schemas"]["EquityRuleSetId"];
|
|
1358
|
+
updated_at: string;
|
|
1359
|
+
};
|
|
1360
|
+
GenerateContractRequest: {
|
|
1361
|
+
counterparty_name: string;
|
|
1362
|
+
effective_date: string;
|
|
1363
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1364
|
+
parameters?: Record<string, never>;
|
|
1365
|
+
template_type: components["schemas"]["ContractTemplateType"];
|
|
1366
|
+
};
|
|
1367
|
+
GenerateGovernanceDocBundleRequest: {
|
|
1368
|
+
template_version?: string | null;
|
|
1369
|
+
};
|
|
1370
|
+
GenerateGovernanceDocBundleResponse: {
|
|
1371
|
+
current: components["schemas"]["GovernanceDocBundleCurrent"];
|
|
1372
|
+
manifest: components["schemas"]["GovernanceDocBundleManifest"];
|
|
1373
|
+
summary: components["schemas"]["GovernanceDocBundleSummary"];
|
|
1374
|
+
};
|
|
1375
|
+
GenerateWorkflowDocsRequest: {
|
|
1376
|
+
documents?: string[];
|
|
1377
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1378
|
+
};
|
|
1379
|
+
GeneratedGovernanceDocument: {
|
|
1380
|
+
bytes: number;
|
|
1381
|
+
path: string;
|
|
1382
|
+
sha256: string;
|
|
1383
|
+
source_path: string;
|
|
1384
|
+
};
|
|
1385
|
+
/**
|
|
1386
|
+
* @description Standard GL account codes with integer discriminants matching the code number.
|
|
1387
|
+
* @enum {string}
|
|
1388
|
+
*/
|
|
1389
|
+
GlAccountCode: "Cash" | "AccountsReceivable" | "AccountsPayable" | "AccruedExpenses" | "FounderCapital" | "Revenue" | "OperatingExpenses" | "Cogs";
|
|
1390
|
+
GovernanceAuditCheckpoint: {
|
|
1391
|
+
checkpoint_id: components["schemas"]["GovernanceAuditCheckpointId"];
|
|
1392
|
+
/** Format: date-time */
|
|
1393
|
+
created_at: string;
|
|
1394
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1395
|
+
latest_entry_hash: string;
|
|
1396
|
+
latest_entry_id: components["schemas"]["GovernanceAuditEntryId"];
|
|
1397
|
+
/** Format: int64 */
|
|
1398
|
+
total_entries: number;
|
|
1399
|
+
};
|
|
1400
|
+
/** Format: uuid */
|
|
1401
|
+
GovernanceAuditCheckpointId: string;
|
|
1402
|
+
GovernanceAuditEntry: {
|
|
1403
|
+
action: string;
|
|
1404
|
+
audit_entry_id: components["schemas"]["GovernanceAuditEntryId"];
|
|
1405
|
+
/** Format: date-time */
|
|
1406
|
+
created_at: string;
|
|
1407
|
+
details?: Record<string, never>;
|
|
1408
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1409
|
+
entry_hash: string;
|
|
1410
|
+
event_type: components["schemas"]["GovernanceAuditEventType"];
|
|
1411
|
+
evidence_refs?: string[];
|
|
1412
|
+
linked_incident_id?: null | components["schemas"]["IncidentId"];
|
|
1413
|
+
linked_intent_id?: null | components["schemas"]["IntentId"];
|
|
1414
|
+
linked_mode_event_id?: null | components["schemas"]["GovernanceModeEventId"];
|
|
1415
|
+
linked_trigger_id?: null | components["schemas"]["GovernanceTriggerId"];
|
|
1416
|
+
previous_entry_hash?: string | null;
|
|
1417
|
+
};
|
|
1418
|
+
/** Format: uuid */
|
|
1419
|
+
GovernanceAuditEntryId: string;
|
|
1420
|
+
/** @enum {string} */
|
|
1421
|
+
GovernanceAuditEventType: "mode_changed" | "lockdown_trigger_applied" | "manual_event" | "checkpoint_written" | "chain_verified" | "chain_verification_failed";
|
|
1422
|
+
/** Format: uuid */
|
|
1423
|
+
GovernanceAuditVerificationId: string;
|
|
1424
|
+
GovernanceAuditVerificationReport: {
|
|
1425
|
+
anomalies?: string[];
|
|
1426
|
+
/** Format: date-time */
|
|
1427
|
+
created_at: string;
|
|
1428
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1429
|
+
incident_id?: null | components["schemas"]["IncidentId"];
|
|
1430
|
+
latest_entry_hash?: string | null;
|
|
1431
|
+
ok: boolean;
|
|
1432
|
+
/** Format: int64 */
|
|
1433
|
+
total_entries: number;
|
|
1434
|
+
trigger_id?: null | components["schemas"]["GovernanceTriggerId"];
|
|
1435
|
+
triggered_lockdown: boolean;
|
|
1436
|
+
verification_id: components["schemas"]["GovernanceAuditVerificationId"];
|
|
1437
|
+
};
|
|
1438
|
+
/** Format: uuid */
|
|
1439
|
+
GovernanceBodyId: string;
|
|
1440
|
+
GovernanceBodyResponse: {
|
|
1441
|
+
body_id: components["schemas"]["GovernanceBodyId"];
|
|
1442
|
+
body_type: components["schemas"]["BodyType"];
|
|
1443
|
+
created_at: string;
|
|
1444
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1445
|
+
name: string;
|
|
1446
|
+
quorum_rule: components["schemas"]["QuorumThreshold"];
|
|
1447
|
+
status: components["schemas"]["BodyStatus"];
|
|
1448
|
+
voting_method: components["schemas"]["VotingMethod"];
|
|
1449
|
+
};
|
|
1450
|
+
GovernanceDocBundleCurrent: {
|
|
1451
|
+
bundle_id: components["schemas"]["GovernanceDocBundleId"];
|
|
1452
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1453
|
+
generated_at: string;
|
|
1454
|
+
manifest_path: string;
|
|
1455
|
+
template_version: string;
|
|
1456
|
+
};
|
|
1457
|
+
/** Format: uuid */
|
|
1458
|
+
GovernanceDocBundleId: string;
|
|
1459
|
+
GovernanceDocBundleManifest: {
|
|
1460
|
+
bundle_id: components["schemas"]["GovernanceDocBundleId"];
|
|
1461
|
+
documents: components["schemas"]["GeneratedGovernanceDocument"][];
|
|
1462
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1463
|
+
entity_type: string;
|
|
1464
|
+
generated_at: string;
|
|
1465
|
+
/** Format: int32 */
|
|
1466
|
+
profile_version: number;
|
|
1467
|
+
source_root: string;
|
|
1468
|
+
template_version: string;
|
|
1469
|
+
warnings?: string[];
|
|
1470
|
+
};
|
|
1471
|
+
GovernanceDocBundleSummary: {
|
|
1472
|
+
bundle_id: components["schemas"]["GovernanceDocBundleId"];
|
|
1473
|
+
document_count: number;
|
|
1474
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1475
|
+
entity_type: string;
|
|
1476
|
+
generated_at: string;
|
|
1477
|
+
/** Format: int32 */
|
|
1478
|
+
profile_version: number;
|
|
1479
|
+
template_version: string;
|
|
1480
|
+
};
|
|
1481
|
+
GovernanceIncident: {
|
|
1482
|
+
/** Format: date-time */
|
|
1483
|
+
created_at: string;
|
|
1484
|
+
description: string;
|
|
1485
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1486
|
+
incident_id: components["schemas"]["IncidentId"];
|
|
1487
|
+
/** Format: date-time */
|
|
1488
|
+
resolved_at?: string | null;
|
|
1489
|
+
severity: components["schemas"]["IncidentSeverity"];
|
|
1490
|
+
status: components["schemas"]["IncidentStatus"];
|
|
1491
|
+
title: string;
|
|
1492
|
+
};
|
|
1493
|
+
/**
|
|
1494
|
+
* @description Governance mode for policy enforcement.
|
|
1495
|
+
* @enum {string}
|
|
1496
|
+
*/
|
|
1497
|
+
GovernanceMode: "normal" | "principal_unavailable" | "incident_lockdown";
|
|
1498
|
+
GovernanceModeChangeEvent: {
|
|
1499
|
+
/** Format: date-time */
|
|
1500
|
+
created_at: string;
|
|
1501
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1502
|
+
evidence_refs?: string[];
|
|
1503
|
+
from_mode: components["schemas"]["GovernanceMode"];
|
|
1504
|
+
incident_ids?: components["schemas"]["IncidentId"][];
|
|
1505
|
+
mode_event_id: components["schemas"]["GovernanceModeEventId"];
|
|
1506
|
+
reason?: string | null;
|
|
1507
|
+
to_mode: components["schemas"]["GovernanceMode"];
|
|
1508
|
+
trigger_id?: null | components["schemas"]["GovernanceTriggerId"];
|
|
1509
|
+
updated_by?: null | components["schemas"]["ContactId"];
|
|
1510
|
+
};
|
|
1511
|
+
/** Format: uuid */
|
|
1512
|
+
GovernanceModeEventId: string;
|
|
1513
|
+
GovernanceModeResponse: {
|
|
1514
|
+
created_at: string;
|
|
1515
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1516
|
+
mode: components["schemas"]["GovernanceMode"];
|
|
1517
|
+
reason?: string | null;
|
|
1518
|
+
updated_at: string;
|
|
1519
|
+
};
|
|
1520
|
+
GovernanceProfile: {
|
|
1521
|
+
adopted_by: string;
|
|
1522
|
+
/** Format: int32 */
|
|
1523
|
+
board_size?: number | null;
|
|
1524
|
+
company_address?: null | components["schemas"]["CompanyAddress"];
|
|
1525
|
+
/** Format: date-time */
|
|
1526
|
+
created_at: string;
|
|
1527
|
+
directors?: components["schemas"]["DirectorInfo"][];
|
|
1528
|
+
document_options?: null | components["schemas"]["DocumentOptions"];
|
|
1529
|
+
/** Format: date */
|
|
1530
|
+
effective_date: string;
|
|
1531
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1532
|
+
entity_type: components["schemas"]["EntityType"];
|
|
1533
|
+
fiscal_year_end?: null | components["schemas"]["FiscalYearEnd"];
|
|
1534
|
+
founders?: components["schemas"]["FounderInfo"][];
|
|
1535
|
+
incomplete_profile?: boolean;
|
|
1536
|
+
incorporator_address?: string | null;
|
|
1537
|
+
incorporator_name?: string | null;
|
|
1538
|
+
jurisdiction: string;
|
|
1539
|
+
/** Format: date */
|
|
1540
|
+
last_reviewed: string;
|
|
1541
|
+
legal_name: string;
|
|
1542
|
+
/** Format: date */
|
|
1543
|
+
next_mandatory_review: string;
|
|
1544
|
+
officers?: components["schemas"]["OfficerInfo"][];
|
|
1545
|
+
principal_name?: string | null;
|
|
1546
|
+
principal_title?: string | null;
|
|
1547
|
+
registered_agent_address?: string | null;
|
|
1548
|
+
registered_agent_name?: string | null;
|
|
1549
|
+
stock_details?: null | components["schemas"]["StockDetails"];
|
|
1550
|
+
/** Format: date-time */
|
|
1551
|
+
updated_at: string;
|
|
1552
|
+
/** Format: int32 */
|
|
1553
|
+
version: number;
|
|
1554
|
+
};
|
|
1555
|
+
/** Format: uuid */
|
|
1556
|
+
GovernanceSeatId: string;
|
|
1557
|
+
GovernanceSeatResponse: {
|
|
1558
|
+
/** Format: date */
|
|
1559
|
+
appointed_date?: string | null;
|
|
1560
|
+
body_id: components["schemas"]["GovernanceBodyId"];
|
|
1561
|
+
created_at: string;
|
|
1562
|
+
holder_id: components["schemas"]["ContactId"];
|
|
1563
|
+
role: components["schemas"]["SeatRole"];
|
|
1564
|
+
seat_id: components["schemas"]["GovernanceSeatId"];
|
|
1565
|
+
status: components["schemas"]["SeatStatus"];
|
|
1566
|
+
/** Format: date */
|
|
1567
|
+
term_expiration?: string | null;
|
|
1568
|
+
/** Format: int32 */
|
|
1569
|
+
voting_power: number;
|
|
1570
|
+
};
|
|
1571
|
+
GovernanceTriggerEvent: {
|
|
1572
|
+
/** Format: date-time */
|
|
1573
|
+
created_at: string;
|
|
1574
|
+
description: string;
|
|
1575
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1576
|
+
evidence_refs?: string[];
|
|
1577
|
+
idempotency_key_hash?: string | null;
|
|
1578
|
+
incident_id: components["schemas"]["IncidentId"];
|
|
1579
|
+
linked_escalation_id?: null | components["schemas"]["ComplianceEscalationId"];
|
|
1580
|
+
linked_intent_id?: null | components["schemas"]["IntentId"];
|
|
1581
|
+
mode_event_id: components["schemas"]["GovernanceModeEventId"];
|
|
1582
|
+
severity: components["schemas"]["IncidentSeverity"];
|
|
1583
|
+
source: components["schemas"]["GovernanceTriggerSource"];
|
|
1584
|
+
title: string;
|
|
1585
|
+
trigger_id: components["schemas"]["GovernanceTriggerId"];
|
|
1586
|
+
trigger_type: components["schemas"]["GovernanceTriggerType"];
|
|
1587
|
+
};
|
|
1588
|
+
/** Format: uuid */
|
|
1589
|
+
GovernanceTriggerId: string;
|
|
1590
|
+
/** @enum {string} */
|
|
1591
|
+
GovernanceTriggerSource: "compliance_scanner" | "execution_gate" | "external_ingestion";
|
|
1592
|
+
/** @enum {string} */
|
|
1593
|
+
GovernanceTriggerType: "external_signal" | "policy_evidence_mismatch" | "compliance_deadline_missed_d_plus_1" | "audit_chain_verification_failed";
|
|
1594
|
+
/**
|
|
1595
|
+
* @description The type of governing document for a share transfer.
|
|
1596
|
+
* @enum {string}
|
|
1597
|
+
*/
|
|
1598
|
+
GoverningDocType: "bylaws" | "operating_agreement" | "shareholder_agreement" | "other";
|
|
1599
|
+
/** Format: uuid */
|
|
1600
|
+
HolderId: string;
|
|
1601
|
+
HolderResponse: {
|
|
1602
|
+
contact_id: components["schemas"]["ContactId"];
|
|
1603
|
+
created_at: string;
|
|
1604
|
+
holder_id: components["schemas"]["HolderId"];
|
|
1605
|
+
holder_type: components["schemas"]["HolderType"];
|
|
1606
|
+
linked_entity_id?: null | components["schemas"]["EntityId"];
|
|
1607
|
+
name: string;
|
|
1608
|
+
};
|
|
1609
|
+
/** @description Summary of a holder created during cap table setup. */
|
|
1610
|
+
HolderSummary: {
|
|
1611
|
+
holder_id: components["schemas"]["HolderId"];
|
|
1612
|
+
name: string;
|
|
1613
|
+
/** Format: double */
|
|
1614
|
+
ownership_pct: number;
|
|
1615
|
+
/** Format: int64 */
|
|
1616
|
+
shares: number;
|
|
1617
|
+
};
|
|
1618
|
+
/**
|
|
1619
|
+
* @description Type of holder represented in the cap table.
|
|
1620
|
+
* @enum {string}
|
|
1621
|
+
*/
|
|
1622
|
+
HolderType: "individual" | "organization" | "fund" | "nonprofit" | "trust" | "other";
|
|
1623
|
+
/** @enum {string} */
|
|
1624
|
+
HttpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
|
|
1625
|
+
/** Format: uuid */
|
|
1626
|
+
IncidentId: string;
|
|
1627
|
+
IncidentResponse: {
|
|
1628
|
+
created_at: string;
|
|
1629
|
+
description: string;
|
|
1630
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1631
|
+
incident_id: components["schemas"]["IncidentId"];
|
|
1632
|
+
resolved_at?: string | null;
|
|
1633
|
+
severity: components["schemas"]["IncidentSeverity"];
|
|
1634
|
+
status: components["schemas"]["IncidentStatus"];
|
|
1635
|
+
title: string;
|
|
1636
|
+
};
|
|
1637
|
+
/** @enum {string} */
|
|
1638
|
+
IncidentSeverity: "low" | "medium" | "high" | "critical";
|
|
1639
|
+
/** @enum {string} */
|
|
1640
|
+
IncidentStatus: "open" | "resolved";
|
|
1641
|
+
/** Format: uuid */
|
|
1642
|
+
InstrumentId: string;
|
|
1643
|
+
/**
|
|
1644
|
+
* @description Instrument kind in the ownership model.
|
|
1645
|
+
* @enum {string}
|
|
1646
|
+
*/
|
|
1647
|
+
InstrumentKind: "common_equity" | "preferred_equity" | "membership_unit" | "option_grant" | "safe" | "convertible_note" | "warrant";
|
|
1648
|
+
InstrumentResponse: {
|
|
1649
|
+
/** Format: int64 */
|
|
1650
|
+
authorized_units?: number | null;
|
|
1651
|
+
created_at: string;
|
|
1652
|
+
instrument_id: components["schemas"]["InstrumentId"];
|
|
1653
|
+
/** Format: int64 */
|
|
1654
|
+
issue_price_cents?: number | null;
|
|
1655
|
+
issuer_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
1656
|
+
kind: components["schemas"]["InstrumentKind"];
|
|
1657
|
+
status: components["schemas"]["InstrumentStatus"];
|
|
1658
|
+
symbol: string;
|
|
1659
|
+
};
|
|
1660
|
+
/**
|
|
1661
|
+
* @description Lifecycle status of the instrument.
|
|
1662
|
+
* @enum {string}
|
|
1663
|
+
*/
|
|
1664
|
+
InstrumentStatus: "active" | "closed" | "cancelled";
|
|
1665
|
+
/** Format: uuid */
|
|
1666
|
+
IntentId: string;
|
|
1667
|
+
IntentResponse: {
|
|
1668
|
+
authority_tier: components["schemas"]["AuthorityTier"];
|
|
1669
|
+
authorized_at?: string | null;
|
|
1670
|
+
bound_approval_artifact_id?: null | components["schemas"]["ApprovalArtifactId"];
|
|
1671
|
+
bound_document_request_ids: components["schemas"]["DocumentRequestId"][];
|
|
1672
|
+
cancelled_at?: string | null;
|
|
1673
|
+
created_at: string;
|
|
1674
|
+
description: string;
|
|
1675
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1676
|
+
evaluated_at?: string | null;
|
|
1677
|
+
executed_at?: string | null;
|
|
1678
|
+
failed_at?: string | null;
|
|
1679
|
+
failure_reason?: string | null;
|
|
1680
|
+
intent_id: components["schemas"]["IntentId"];
|
|
1681
|
+
intent_type: string;
|
|
1682
|
+
policy_decision?: null | components["schemas"]["PolicyDecision"];
|
|
1683
|
+
status: components["schemas"]["IntentStatus"];
|
|
1684
|
+
};
|
|
1685
|
+
/**
|
|
1686
|
+
* @description Lifecycle status of an execution intent.
|
|
1687
|
+
* @enum {string}
|
|
1688
|
+
*/
|
|
1689
|
+
IntentStatus: "pending" | "evaluated" | "authorized" | "executed" | "failed" | "cancelled";
|
|
1690
|
+
InternalChannelResponse: {
|
|
1691
|
+
schedule?: string | null;
|
|
1692
|
+
type: string;
|
|
1693
|
+
};
|
|
1694
|
+
InternalCronAgentResponse: {
|
|
1695
|
+
agent_id: string;
|
|
1696
|
+
channels: components["schemas"]["InternalChannelResponse"][];
|
|
1697
|
+
status: string;
|
|
1698
|
+
workspace_id: string;
|
|
1699
|
+
};
|
|
1700
|
+
InternalLockdownTriggerRequest: {
|
|
1701
|
+
description: string;
|
|
1702
|
+
evidence_refs?: string[];
|
|
1703
|
+
idempotency_key: string;
|
|
1704
|
+
linked_escalation_id?: null | components["schemas"]["ComplianceEscalationId"];
|
|
1705
|
+
linked_intent_id?: null | components["schemas"]["IntentId"];
|
|
1706
|
+
severity: components["schemas"]["IncidentSeverity"];
|
|
1707
|
+
title: string;
|
|
1708
|
+
trigger_type: components["schemas"]["GovernanceTriggerType"];
|
|
1709
|
+
};
|
|
1710
|
+
InternalLockdownTriggerResponse: {
|
|
1711
|
+
idempotent_replay: boolean;
|
|
1712
|
+
incident_id: components["schemas"]["IncidentId"];
|
|
1713
|
+
mode: components["schemas"]["GovernanceMode"];
|
|
1714
|
+
mode_event_id: components["schemas"]["GovernanceModeEventId"];
|
|
1715
|
+
trigger_id: components["schemas"]["GovernanceTriggerId"];
|
|
1716
|
+
};
|
|
1717
|
+
InterpolateRequest: {
|
|
1718
|
+
execution_id: string;
|
|
1719
|
+
template: string;
|
|
1720
|
+
};
|
|
1721
|
+
InterpolateResponse: {
|
|
1722
|
+
result: string;
|
|
1723
|
+
};
|
|
1724
|
+
/**
|
|
1725
|
+
* @description Classification of a member/investor.
|
|
1726
|
+
* @enum {string}
|
|
1727
|
+
*/
|
|
1728
|
+
InvestorType: "natural_person" | "agent" | "entity";
|
|
1729
|
+
/** Format: uuid */
|
|
1730
|
+
InvoiceId: string;
|
|
1731
|
+
InvoiceResponse: {
|
|
1732
|
+
/** Format: int64 */
|
|
1733
|
+
amount_cents: number;
|
|
1734
|
+
created_at: string;
|
|
1735
|
+
customer_name: string;
|
|
1736
|
+
description: string;
|
|
1737
|
+
/** Format: date */
|
|
1738
|
+
due_date: string;
|
|
1739
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1740
|
+
invoice_id: components["schemas"]["InvoiceId"];
|
|
1741
|
+
status: components["schemas"]["InvoiceStatus"];
|
|
1742
|
+
};
|
|
1743
|
+
/**
|
|
1744
|
+
* @description Lifecycle status of an invoice.
|
|
1745
|
+
* @enum {string}
|
|
1746
|
+
*/
|
|
1747
|
+
InvoiceStatus: "draft" | "sent" | "paid" | "voided";
|
|
1748
|
+
IssueStagedRoundRequest: {
|
|
1749
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1750
|
+
};
|
|
1751
|
+
IssueStagedRoundResponse: {
|
|
1752
|
+
agenda_item_id?: null | components["schemas"]["AgendaItemId"];
|
|
1753
|
+
meeting_id?: null | components["schemas"]["MeetingId"];
|
|
1754
|
+
positions: components["schemas"]["PositionResponse"][];
|
|
1755
|
+
round: components["schemas"]["RoundResponse"];
|
|
1756
|
+
};
|
|
1757
|
+
/** Format: uuid */
|
|
1758
|
+
JournalEntryId: string;
|
|
1759
|
+
JournalEntryResponse: {
|
|
1760
|
+
created_at: string;
|
|
1761
|
+
description: string;
|
|
1762
|
+
/** Format: date */
|
|
1763
|
+
effective_date: string;
|
|
1764
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1765
|
+
journal_entry_id: components["schemas"]["JournalEntryId"];
|
|
1766
|
+
status: components["schemas"]["JournalEntryStatus"];
|
|
1767
|
+
/** Format: int64 */
|
|
1768
|
+
total_credits_cents: number;
|
|
1769
|
+
/** Format: int64 */
|
|
1770
|
+
total_debits_cents: number;
|
|
1771
|
+
};
|
|
1772
|
+
/**
|
|
1773
|
+
* @description Status of a journal entry.
|
|
1774
|
+
* @enum {string}
|
|
1775
|
+
*/
|
|
1776
|
+
JournalEntryStatus: "draft" | "posted" | "voided";
|
|
1777
|
+
/**
|
|
1778
|
+
* @description A validated jurisdiction (e.g., "Delaware", "California").
|
|
1779
|
+
*
|
|
1780
|
+
* Guarantees: non-empty, at most 200 characters.
|
|
1781
|
+
*/
|
|
1782
|
+
Jurisdiction: string;
|
|
1783
|
+
JwksResponse: {
|
|
1784
|
+
keys: Record<string, never>[];
|
|
1785
|
+
};
|
|
1786
|
+
KillResponse: {
|
|
1787
|
+
execution_id: components["schemas"]["ExecutionId"];
|
|
1788
|
+
status: string;
|
|
1789
|
+
};
|
|
1790
|
+
LedgerLineRequest: {
|
|
1791
|
+
account_id: components["schemas"]["AccountId"];
|
|
1792
|
+
/** Format: int64 */
|
|
1793
|
+
amount_cents: number;
|
|
1794
|
+
memo?: string | null;
|
|
1795
|
+
side: components["schemas"]["Side"];
|
|
1796
|
+
};
|
|
1797
|
+
/** Format: uuid */
|
|
1798
|
+
LegalEntityId: string;
|
|
1799
|
+
LegalEntityResponse: {
|
|
1800
|
+
created_at: string;
|
|
1801
|
+
legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
1802
|
+
linked_entity_id?: null | components["schemas"]["EntityId"];
|
|
1803
|
+
name: string;
|
|
1804
|
+
role: components["schemas"]["LegalEntityRole"];
|
|
1805
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
1806
|
+
};
|
|
1807
|
+
/**
|
|
1808
|
+
* @description Role this legal entity plays in the ownership/control graph.
|
|
1809
|
+
* @enum {string}
|
|
1810
|
+
*/
|
|
1811
|
+
LegalEntityRole: "operating" | "control" | "investment" | "nonprofit" | "spv" | "other";
|
|
1812
|
+
/** @description MCP server that runs inside the agent container. */
|
|
1813
|
+
MCPServerSpec: {
|
|
1814
|
+
args?: string[];
|
|
1815
|
+
command: components["schemas"]["NonEmpty"];
|
|
1816
|
+
env?: {
|
|
1817
|
+
[key: string]: string;
|
|
1818
|
+
};
|
|
1819
|
+
name: components["schemas"]["NonEmpty"];
|
|
1820
|
+
transport?: components["schemas"]["Transport"];
|
|
1821
|
+
};
|
|
1822
|
+
/** Format: uuid */
|
|
1823
|
+
MeetingId: string;
|
|
1824
|
+
MeetingQuery: {
|
|
1825
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1826
|
+
};
|
|
1827
|
+
MeetingResponse: {
|
|
1828
|
+
agenda_item_ids: components["schemas"]["AgendaItemId"][];
|
|
1829
|
+
body_id: components["schemas"]["GovernanceBodyId"];
|
|
1830
|
+
created_at: string;
|
|
1831
|
+
location: string;
|
|
1832
|
+
meeting_id: components["schemas"]["MeetingId"];
|
|
1833
|
+
meeting_type: components["schemas"]["MeetingType"];
|
|
1834
|
+
quorum_met: components["schemas"]["QuorumStatus"];
|
|
1835
|
+
/** Format: date */
|
|
1836
|
+
scheduled_date?: string | null;
|
|
1837
|
+
status: components["schemas"]["MeetingStatus"];
|
|
1838
|
+
title: string;
|
|
1839
|
+
};
|
|
1840
|
+
/**
|
|
1841
|
+
* @description Lifecycle status of a meeting.
|
|
1842
|
+
* @enum {string}
|
|
1843
|
+
*/
|
|
1844
|
+
MeetingStatus: "draft" | "noticed" | "convened" | "adjourned" | "cancelled";
|
|
1845
|
+
/**
|
|
1846
|
+
* @description Type of meeting.
|
|
1847
|
+
* @enum {string}
|
|
1848
|
+
*/
|
|
1849
|
+
MeetingType: "board_meeting" | "shareholder_meeting" | "written_consent" | "member_meeting";
|
|
1850
|
+
/** @description A member/founder as provided in the formation request. */
|
|
1851
|
+
MemberInput: {
|
|
1852
|
+
address?: null | components["schemas"]["Address"];
|
|
1853
|
+
agent_id?: null | components["schemas"]["AgentId"];
|
|
1854
|
+
email?: string | null;
|
|
1855
|
+
entity_id?: null | components["schemas"]["EntityId"];
|
|
1856
|
+
investor_type: components["schemas"]["InvestorType"];
|
|
1857
|
+
/** @description Description of IP being contributed to the company. */
|
|
1858
|
+
ip_description?: string | null;
|
|
1859
|
+
/** @description Whether this member is the sole incorporator (corporations only). */
|
|
1860
|
+
is_incorporator?: boolean | null;
|
|
1861
|
+
/** Format: int64 */
|
|
1862
|
+
membership_units?: number | null;
|
|
1863
|
+
name: string;
|
|
1864
|
+
officer_title?: null | components["schemas"]["OfficerTitle"];
|
|
1865
|
+
/** Format: double */
|
|
1866
|
+
ownership_pct?: number | null;
|
|
1867
|
+
role?: null | components["schemas"]["MemberRole"];
|
|
1868
|
+
share_class?: string | null;
|
|
1869
|
+
/** Format: int64 */
|
|
1870
|
+
share_count?: number | null;
|
|
1871
|
+
/**
|
|
1872
|
+
* Format: int64
|
|
1873
|
+
* @description Explicit number of shares being purchased at formation.
|
|
1874
|
+
*/
|
|
1875
|
+
shares_purchased?: number | null;
|
|
1876
|
+
vesting?: null | components["schemas"]["VestingSchedule"];
|
|
1877
|
+
};
|
|
1878
|
+
/**
|
|
1879
|
+
* @description Role a member holds in the entity.
|
|
1880
|
+
* @enum {string}
|
|
1881
|
+
*/
|
|
1882
|
+
MemberRole: "director" | "officer" | "manager" | "member" | "chair";
|
|
1883
|
+
MergeBranchRequest: {
|
|
1884
|
+
into?: components["schemas"]["BranchName"];
|
|
1885
|
+
squash?: boolean;
|
|
1886
|
+
};
|
|
1887
|
+
MergeBranchResponse: {
|
|
1888
|
+
commit?: string | null;
|
|
1889
|
+
merged: boolean;
|
|
1890
|
+
strategy: string;
|
|
1891
|
+
};
|
|
1892
|
+
/** Format: uuid */
|
|
1893
|
+
MessageId: string;
|
|
1894
|
+
MessageResponse: {
|
|
1895
|
+
agent_id: components["schemas"]["AgentId"];
|
|
1896
|
+
execution_id?: null | components["schemas"]["ExecutionId"];
|
|
1897
|
+
message: string;
|
|
1898
|
+
message_id: components["schemas"]["MessageId"];
|
|
1899
|
+
status: string;
|
|
1900
|
+
};
|
|
1901
|
+
MintAgentTokenRequest: {
|
|
1902
|
+
agent_id: components["schemas"]["AgentId"];
|
|
1903
|
+
/** Format: int64 */
|
|
1904
|
+
ttl_seconds?: number | null;
|
|
1905
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
1906
|
+
};
|
|
1907
|
+
MintAgentTokenResponse: {
|
|
1908
|
+
access_token: string;
|
|
1909
|
+
/** Format: int64 */
|
|
1910
|
+
expires_in: number;
|
|
1911
|
+
scopes: components["schemas"]["Scope"][];
|
|
1912
|
+
token_type: string;
|
|
1913
|
+
};
|
|
1914
|
+
/** @enum {string} */
|
|
1915
|
+
NetworkEgress: "restricted" | "open";
|
|
1916
|
+
/**
|
|
1917
|
+
* @description A `String` that is guaranteed non-empty and non-whitespace-only.
|
|
1918
|
+
*
|
|
1919
|
+
* This is a *parsed* type: the only way to obtain one is through
|
|
1920
|
+
* `NonEmpty::parse()` or serde deserialization, both of which reject
|
|
1921
|
+
* blank strings. Downstream code never needs to re-check for emptiness.
|
|
1922
|
+
*/
|
|
1923
|
+
NonEmpty: string;
|
|
1924
|
+
NotificationPrefsResponse: {
|
|
1925
|
+
contact_id: components["schemas"]["ContactId"];
|
|
1926
|
+
email_enabled: boolean;
|
|
1927
|
+
sms_enabled: boolean;
|
|
1928
|
+
updated_at: string;
|
|
1929
|
+
webhook_enabled: boolean;
|
|
1930
|
+
};
|
|
1931
|
+
/** Format: uuid */
|
|
1932
|
+
ObligationId: string;
|
|
1933
|
+
ObligationResponse: {
|
|
1934
|
+
assignee_id?: null | components["schemas"]["ContactId"];
|
|
1935
|
+
assignee_type: components["schemas"]["AssigneeType"];
|
|
1936
|
+
created_at: string;
|
|
1937
|
+
description: string;
|
|
1938
|
+
/** Format: date */
|
|
1939
|
+
due_date?: string | null;
|
|
1940
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1941
|
+
expired_at?: string | null;
|
|
1942
|
+
fulfilled_at?: string | null;
|
|
1943
|
+
intent_id?: null | components["schemas"]["IntentId"];
|
|
1944
|
+
obligation_id: components["schemas"]["ObligationId"];
|
|
1945
|
+
obligation_type: string;
|
|
1946
|
+
status: components["schemas"]["ObligationStatus"];
|
|
1947
|
+
waived_at?: string | null;
|
|
1948
|
+
};
|
|
1949
|
+
/**
|
|
1950
|
+
* @description Lifecycle status of a compliance or operational obligation.
|
|
1951
|
+
* @enum {string}
|
|
1952
|
+
*/
|
|
1953
|
+
ObligationStatus: "required" | "in_progress" | "fulfilled" | "waived" | "expired";
|
|
1954
|
+
/**
|
|
1955
|
+
* @description An extensible obligation type represented as a string.
|
|
1956
|
+
*
|
|
1957
|
+
* Obligation types are not a fixed enum because they vary by jurisdiction,
|
|
1958
|
+
* entity type, and operational context.
|
|
1959
|
+
*/
|
|
1960
|
+
ObligationType: string;
|
|
1961
|
+
ObligationsSummaryResponse: {
|
|
1962
|
+
expired: number;
|
|
1963
|
+
fulfilled: number;
|
|
1964
|
+
pending: number;
|
|
1965
|
+
total: number;
|
|
1966
|
+
waived: number;
|
|
1967
|
+
};
|
|
1968
|
+
OfficerInfo: {
|
|
1969
|
+
name: string;
|
|
1970
|
+
title: string;
|
|
1971
|
+
};
|
|
1972
|
+
/**
|
|
1973
|
+
* @description Officer title for a corporate officer.
|
|
1974
|
+
* @enum {string}
|
|
1975
|
+
*/
|
|
1976
|
+
OfficerTitle: "ceo" | "cfo" | "secretary" | "president" | "vp" | "other";
|
|
1977
|
+
/** Format: uuid */
|
|
1978
|
+
PacketId: string;
|
|
1979
|
+
PacketItem: {
|
|
1980
|
+
document_path: string;
|
|
1981
|
+
item_id: string;
|
|
1982
|
+
required: boolean;
|
|
1983
|
+
title: string;
|
|
1984
|
+
};
|
|
1985
|
+
/** Format: uuid */
|
|
1986
|
+
PacketSignatureId: string;
|
|
1987
|
+
PacketSignatureResponse: {
|
|
1988
|
+
channel: string;
|
|
1989
|
+
signature_id: components["schemas"]["PacketSignatureId"];
|
|
1990
|
+
signed_at: string;
|
|
1991
|
+
signer_identity: string;
|
|
1992
|
+
};
|
|
1993
|
+
PayInstructionsResponse: {
|
|
1994
|
+
/** Format: int64 */
|
|
1995
|
+
amount_cents: number;
|
|
1996
|
+
currency: string;
|
|
1997
|
+
instructions: string;
|
|
1998
|
+
invoice_id: components["schemas"]["InvoiceId"];
|
|
1999
|
+
payment_method: string;
|
|
2000
|
+
};
|
|
2001
|
+
/** Format: uuid */
|
|
2002
|
+
PaymentId: string;
|
|
2003
|
+
PaymentIntentResponse: {
|
|
2004
|
+
/** Format: int64 */
|
|
2005
|
+
amount_cents: number;
|
|
2006
|
+
client_secret: string;
|
|
2007
|
+
created_at: string;
|
|
2008
|
+
currency: string;
|
|
2009
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2010
|
+
payment_intent_id: string;
|
|
2011
|
+
status: string;
|
|
2012
|
+
};
|
|
2013
|
+
/**
|
|
2014
|
+
* @description How a payment is made or received.
|
|
2015
|
+
* @enum {string}
|
|
2016
|
+
*/
|
|
2017
|
+
PaymentMethod: "bank_transfer" | "card" | "check" | "wire" | "ach";
|
|
2018
|
+
PaymentOfferResponse: {
|
|
2019
|
+
/** Format: int64 */
|
|
2020
|
+
amount_cents: number;
|
|
2021
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2022
|
+
invoice_id: components["schemas"]["InvoiceId"];
|
|
2023
|
+
payment_url: string;
|
|
2024
|
+
status: components["schemas"]["InvoiceStatus"];
|
|
2025
|
+
};
|
|
2026
|
+
PaymentResponse: {
|
|
2027
|
+
/** Format: int64 */
|
|
2028
|
+
amount_cents: number;
|
|
2029
|
+
created_at: string;
|
|
2030
|
+
description: string;
|
|
2031
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2032
|
+
payment_id: components["schemas"]["PaymentId"];
|
|
2033
|
+
payment_method: components["schemas"]["PaymentMethod"];
|
|
2034
|
+
recipient: string;
|
|
2035
|
+
status: components["schemas"]["PaymentStatus"];
|
|
2036
|
+
};
|
|
2037
|
+
/**
|
|
2038
|
+
* @description Lifecycle status of a payment.
|
|
2039
|
+
* @enum {string}
|
|
2040
|
+
*/
|
|
2041
|
+
PaymentStatus: "submitted" | "processing" | "completed" | "failed";
|
|
2042
|
+
PayoutResponse: {
|
|
2043
|
+
/** Format: int64 */
|
|
2044
|
+
amount_cents: number;
|
|
2045
|
+
created_at: string;
|
|
2046
|
+
destination: string;
|
|
2047
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2048
|
+
payout_id: string;
|
|
2049
|
+
status: string;
|
|
2050
|
+
};
|
|
2051
|
+
/** Format: uuid */
|
|
2052
|
+
PayrollRunId: string;
|
|
2053
|
+
PayrollRunResponse: {
|
|
2054
|
+
created_at: string;
|
|
2055
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2056
|
+
/** Format: date */
|
|
2057
|
+
pay_period_end: string;
|
|
2058
|
+
/** Format: date */
|
|
2059
|
+
pay_period_start: string;
|
|
2060
|
+
payroll_run_id: components["schemas"]["PayrollRunId"];
|
|
2061
|
+
status: components["schemas"]["PayrollStatus"];
|
|
2062
|
+
};
|
|
2063
|
+
/**
|
|
2064
|
+
* @description Status of a payroll run.
|
|
2065
|
+
* @enum {string}
|
|
2066
|
+
*/
|
|
2067
|
+
PayrollStatus: "pending" | "processing" | "completed";
|
|
2068
|
+
PendingFormationResponse: {
|
|
2069
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2070
|
+
entity_type: components["schemas"]["EntityType"];
|
|
2071
|
+
formation_status: components["schemas"]["FormationStatus"];
|
|
2072
|
+
jurisdiction: components["schemas"]["Jurisdiction"];
|
|
2073
|
+
legal_name: string;
|
|
2074
|
+
};
|
|
2075
|
+
PendingSecuritiesFile: {
|
|
2076
|
+
round_id: components["schemas"]["EquityRoundId"];
|
|
2077
|
+
securities: components["schemas"]["PendingSecurity"][];
|
|
2078
|
+
};
|
|
2079
|
+
PendingSecurity: {
|
|
2080
|
+
grant_type?: string | null;
|
|
2081
|
+
holder_id: components["schemas"]["HolderId"];
|
|
2082
|
+
instrument_id: components["schemas"]["InstrumentId"];
|
|
2083
|
+
/** Format: int64 */
|
|
2084
|
+
principal_cents?: number;
|
|
2085
|
+
/** Format: int64 */
|
|
2086
|
+
quantity: number;
|
|
2087
|
+
recipient_name: string;
|
|
2088
|
+
};
|
|
2089
|
+
PolicyConflict: {
|
|
2090
|
+
higher_source: components["schemas"]["AuthoritySource"];
|
|
2091
|
+
lower_source: components["schemas"]["AuthoritySource"];
|
|
2092
|
+
reason: string;
|
|
2093
|
+
};
|
|
2094
|
+
PolicyDecision: {
|
|
2095
|
+
allowed: boolean;
|
|
2096
|
+
blockers: string[];
|
|
2097
|
+
clause_refs: string[];
|
|
2098
|
+
effective_source?: null | components["schemas"]["AuthoritySource"];
|
|
2099
|
+
escalation_reasons: string[];
|
|
2100
|
+
policy_mapped: boolean;
|
|
2101
|
+
precedence_conflicts?: components["schemas"]["PolicyConflict"][];
|
|
2102
|
+
precedence_trace?: components["schemas"]["PolicyPrecedenceTrace"][];
|
|
2103
|
+
requires_approval: boolean;
|
|
2104
|
+
tier: components["schemas"]["AuthorityTier"];
|
|
2105
|
+
};
|
|
2106
|
+
PolicyPrecedenceTrace: {
|
|
2107
|
+
outcome: string;
|
|
2108
|
+
reason?: string | null;
|
|
2109
|
+
source: components["schemas"]["AuthoritySource"];
|
|
2110
|
+
};
|
|
2111
|
+
/** Format: uuid */
|
|
2112
|
+
PositionId: string;
|
|
2113
|
+
PositionResponse: {
|
|
2114
|
+
holder_id: components["schemas"]["HolderId"];
|
|
2115
|
+
instrument_id: components["schemas"]["InstrumentId"];
|
|
2116
|
+
issuer_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
2117
|
+
position_id: components["schemas"]["PositionId"];
|
|
2118
|
+
/** Format: int64 */
|
|
2119
|
+
principal_cents: number;
|
|
2120
|
+
/** Format: int64 */
|
|
2121
|
+
quantity_units: number;
|
|
2122
|
+
status: components["schemas"]["PositionStatus"];
|
|
2123
|
+
updated_at: string;
|
|
2124
|
+
};
|
|
2125
|
+
/**
|
|
2126
|
+
* @description Lifecycle status for a position.
|
|
2127
|
+
* @enum {string}
|
|
2128
|
+
*/
|
|
2129
|
+
PositionStatus: "active" | "closed";
|
|
2130
|
+
PrepareWorkflowExecutionRequest: {
|
|
2131
|
+
approval_artifact_id: components["schemas"]["ApprovalArtifactId"];
|
|
2132
|
+
document_request_ids?: components["schemas"]["DocumentRequestId"][];
|
|
2133
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2134
|
+
intent_id: components["schemas"]["IntentId"];
|
|
2135
|
+
phase?: string | null;
|
|
2136
|
+
};
|
|
2137
|
+
PreviewConversionRequest: {
|
|
2138
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2139
|
+
round_id: components["schemas"]["EquityRoundId"];
|
|
2140
|
+
source_reference?: string | null;
|
|
2141
|
+
};
|
|
2142
|
+
PreviewDocumentQuery: {
|
|
2143
|
+
document_id: string;
|
|
2144
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2145
|
+
};
|
|
2146
|
+
ProvisionWorkspaceRequest: {
|
|
2147
|
+
name: string;
|
|
2148
|
+
owner_email?: string | null;
|
|
2149
|
+
};
|
|
2150
|
+
ProvisionWorkspaceResponse: {
|
|
2151
|
+
api_key: string;
|
|
2152
|
+
api_key_id: components["schemas"]["ApiKeyId"];
|
|
2153
|
+
name: string;
|
|
2154
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
2155
|
+
};
|
|
2156
|
+
ProxyResponse: {
|
|
2157
|
+
created_at: string;
|
|
2158
|
+
description?: string | null;
|
|
2159
|
+
name: string;
|
|
2160
|
+
secret_count: number;
|
|
2161
|
+
url: string;
|
|
2162
|
+
};
|
|
2163
|
+
/**
|
|
2164
|
+
* @description Whether a quorum was met for a meeting.
|
|
2165
|
+
*
|
|
2166
|
+
* Replaces `Option<bool>` for clearer semantics.
|
|
2167
|
+
* Backward-compatible deserialization from `Option<bool>` via `From`.
|
|
2168
|
+
* @enum {string}
|
|
2169
|
+
*/
|
|
2170
|
+
QuorumStatus: "unknown" | "met" | "not_met";
|
|
2171
|
+
/**
|
|
2172
|
+
* @description The threshold required for a vote to pass.
|
|
2173
|
+
* @enum {string}
|
|
2174
|
+
*/
|
|
2175
|
+
QuorumThreshold: "majority" | "supermajority" | "unanimous";
|
|
2176
|
+
ReauthorizeDelegationScheduleRequest: {
|
|
2177
|
+
adopted_resolution_id: components["schemas"]["ResolutionId"];
|
|
2178
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2179
|
+
meeting_id: components["schemas"]["MeetingId"];
|
|
2180
|
+
rationale?: string | null;
|
|
2181
|
+
};
|
|
2182
|
+
/** Format: uuid */
|
|
2183
|
+
ReceiptId: string;
|
|
2184
|
+
ReceiptResponse: {
|
|
2185
|
+
created_at: string;
|
|
2186
|
+
executed_at?: string | null;
|
|
2187
|
+
idempotency_key: string;
|
|
2188
|
+
intent_id: components["schemas"]["IntentId"];
|
|
2189
|
+
receipt_id: components["schemas"]["ReceiptId"];
|
|
2190
|
+
request_hash: string;
|
|
2191
|
+
response_hash?: string | null;
|
|
2192
|
+
status: components["schemas"]["ReceiptStatus"];
|
|
2193
|
+
};
|
|
2194
|
+
/**
|
|
2195
|
+
* @description Status of an execution receipt.
|
|
2196
|
+
* @enum {string}
|
|
2197
|
+
*/
|
|
2198
|
+
ReceiptStatus: "pending" | "executed" | "failed";
|
|
2199
|
+
ReconcileLedgerRequest: {
|
|
2200
|
+
/** Format: date */
|
|
2201
|
+
as_of_date?: string | null;
|
|
2202
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2203
|
+
};
|
|
2204
|
+
/** Format: uuid */
|
|
2205
|
+
ReconciliationId: string;
|
|
2206
|
+
ReconciliationResponse: {
|
|
2207
|
+
/** Format: date */
|
|
2208
|
+
as_of_date: string;
|
|
2209
|
+
created_at: string;
|
|
2210
|
+
/** Format: int64 */
|
|
2211
|
+
difference_cents: number;
|
|
2212
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2213
|
+
reconciliation_id: components["schemas"]["ReconciliationId"];
|
|
2214
|
+
status: components["schemas"]["ReconciliationStatus"];
|
|
2215
|
+
/** Format: int64 */
|
|
2216
|
+
total_credits_cents: number;
|
|
2217
|
+
/** Format: int64 */
|
|
2218
|
+
total_debits_cents: number;
|
|
2219
|
+
};
|
|
2220
|
+
/**
|
|
2221
|
+
* @description Status of a reconciliation.
|
|
2222
|
+
* @enum {string}
|
|
2223
|
+
*/
|
|
2224
|
+
ReconciliationStatus: "balanced" | "discrepancy";
|
|
2225
|
+
RecordFundraisingAcceptanceRequest: {
|
|
2226
|
+
accepted_by_contact_id?: null | components["schemas"]["ContactId"];
|
|
2227
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2228
|
+
intent_id: components["schemas"]["IntentId"];
|
|
2229
|
+
};
|
|
2230
|
+
RecordFundraisingBoardApprovalRequest: {
|
|
2231
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2232
|
+
meeting_id: components["schemas"]["MeetingId"];
|
|
2233
|
+
resolution_id: components["schemas"]["ResolutionId"];
|
|
2234
|
+
};
|
|
2235
|
+
RecordFundraisingCloseRequest: {
|
|
2236
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2237
|
+
intent_id: components["schemas"]["IntentId"];
|
|
2238
|
+
};
|
|
2239
|
+
RecordTransferBoardApprovalRequest: {
|
|
2240
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2241
|
+
meeting_id: components["schemas"]["MeetingId"];
|
|
2242
|
+
resolution_id: components["schemas"]["ResolutionId"];
|
|
2243
|
+
};
|
|
2244
|
+
RecordTransferExecutionRequest: {
|
|
2245
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2246
|
+
intent_id: components["schemas"]["IntentId"];
|
|
2247
|
+
};
|
|
2248
|
+
RecordTransferReviewRequest: {
|
|
2249
|
+
approved: boolean;
|
|
2250
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2251
|
+
notes: string;
|
|
2252
|
+
reviewer: string;
|
|
2253
|
+
};
|
|
2254
|
+
RecordTransferRofrRequest: {
|
|
2255
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2256
|
+
offered: boolean;
|
|
2257
|
+
waived: boolean;
|
|
2258
|
+
};
|
|
2259
|
+
RecordWorkflowSignatureRequest: {
|
|
2260
|
+
channel?: string | null;
|
|
2261
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2262
|
+
signer_identity: string;
|
|
2263
|
+
};
|
|
2264
|
+
/**
|
|
2265
|
+
* @description Recurrence pattern for a deadline.
|
|
2266
|
+
* @enum {string}
|
|
2267
|
+
*/
|
|
2268
|
+
Recurrence: "one_time" | "monthly" | "quarterly" | "annual";
|
|
2269
|
+
RegisteredAgentConsentEvidenceRequest: {
|
|
2270
|
+
evidence_type?: string | null;
|
|
2271
|
+
evidence_uri: string;
|
|
2272
|
+
notes?: string | null;
|
|
2273
|
+
};
|
|
2274
|
+
/** Format: uuid */
|
|
2275
|
+
ResolutionId: string;
|
|
2276
|
+
ResolutionResponse: {
|
|
2277
|
+
agenda_item_id: components["schemas"]["AgendaItemId"];
|
|
2278
|
+
created_at: string;
|
|
2279
|
+
document_id?: null | components["schemas"]["DocumentId"];
|
|
2280
|
+
/** Format: date */
|
|
2281
|
+
effective_date?: string | null;
|
|
2282
|
+
meeting_id: components["schemas"]["MeetingId"];
|
|
2283
|
+
passed: boolean;
|
|
2284
|
+
/** Format: int32 */
|
|
2285
|
+
recused_count: number;
|
|
2286
|
+
resolution_id: components["schemas"]["ResolutionId"];
|
|
2287
|
+
resolution_text: string;
|
|
2288
|
+
resolution_type: components["schemas"]["ResolutionType"];
|
|
2289
|
+
/** Format: int32 */
|
|
2290
|
+
votes_abstain: number;
|
|
2291
|
+
/** Format: int32 */
|
|
2292
|
+
votes_against: number;
|
|
2293
|
+
/** Format: int32 */
|
|
2294
|
+
votes_for: number;
|
|
2295
|
+
};
|
|
2296
|
+
/**
|
|
2297
|
+
* @description Type of resolution.
|
|
2298
|
+
* @enum {string}
|
|
2299
|
+
*/
|
|
2300
|
+
ResolutionType: "ordinary" | "special" | "unanimous_written_consent";
|
|
2301
|
+
ResolveEscalationWithEvidenceRequest: {
|
|
2302
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2303
|
+
evidence_type?: string | null;
|
|
2304
|
+
filing_reference?: string | null;
|
|
2305
|
+
notes?: string | null;
|
|
2306
|
+
packet_id?: null | components["schemas"]["PacketId"];
|
|
2307
|
+
resolve_incident?: boolean;
|
|
2308
|
+
resolve_obligation?: boolean;
|
|
2309
|
+
};
|
|
2310
|
+
ResolveEscalationWithEvidenceResponse: {
|
|
2311
|
+
escalation: components["schemas"]["ComplianceEscalationResponse"];
|
|
2312
|
+
evidence_link_id: components["schemas"]["ComplianceEvidenceLinkId"];
|
|
2313
|
+
incident_resolved: boolean;
|
|
2314
|
+
obligation_resolved: boolean;
|
|
2315
|
+
};
|
|
2316
|
+
ResolveRequest: {
|
|
2317
|
+
token: string;
|
|
2318
|
+
};
|
|
2319
|
+
ResolveResponse: {
|
|
2320
|
+
value: string;
|
|
2321
|
+
};
|
|
2322
|
+
ResolveSecretsRequest: {
|
|
2323
|
+
/** @description Which secret keys to resolve. If empty, resolve all. */
|
|
2324
|
+
keys?: string[];
|
|
2325
|
+
proxy_name: string;
|
|
2326
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
2327
|
+
};
|
|
2328
|
+
ResolveSecretsResponse: {
|
|
2329
|
+
proxy_name: string;
|
|
2330
|
+
url: string;
|
|
2331
|
+
values: {
|
|
2332
|
+
[key: string]: string;
|
|
2333
|
+
};
|
|
2334
|
+
};
|
|
2335
|
+
/**
|
|
2336
|
+
* @description Risk level for contractor classification.
|
|
2337
|
+
* @enum {string}
|
|
2338
|
+
*/
|
|
2339
|
+
RiskLevel: "low" | "medium" | "high";
|
|
2340
|
+
RoundResponse: {
|
|
2341
|
+
accepted_at?: string | null;
|
|
2342
|
+
accepted_by_contact_id?: null | components["schemas"]["ContactId"];
|
|
2343
|
+
board_approval_meeting_id?: null | components["schemas"]["MeetingId"];
|
|
2344
|
+
board_approval_resolution_id?: null | components["schemas"]["ResolutionId"];
|
|
2345
|
+
board_approved_at?: string | null;
|
|
2346
|
+
conversion_target_instrument_id?: null | components["schemas"]["InstrumentId"];
|
|
2347
|
+
created_at: string;
|
|
2348
|
+
issuer_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
2349
|
+
name: string;
|
|
2350
|
+
/** Format: int64 */
|
|
2351
|
+
pre_money_cents?: number | null;
|
|
2352
|
+
round_id: components["schemas"]["EquityRoundId"];
|
|
2353
|
+
/** Format: int64 */
|
|
2354
|
+
round_price_cents?: number | null;
|
|
2355
|
+
rule_set_id?: null | components["schemas"]["EquityRuleSetId"];
|
|
2356
|
+
status: components["schemas"]["EquityRoundStatus"];
|
|
2357
|
+
/** Format: int64 */
|
|
2358
|
+
target_raise_cents?: number | null;
|
|
2359
|
+
};
|
|
2360
|
+
RuleSetResponse: {
|
|
2361
|
+
anti_dilution_method: components["schemas"]["AntiDilutionMethod"];
|
|
2362
|
+
conversion_precedence: components["schemas"]["InstrumentKind"][];
|
|
2363
|
+
rule_set_id: components["schemas"]["EquityRuleSetId"];
|
|
2364
|
+
};
|
|
2365
|
+
/**
|
|
2366
|
+
* @description Per-agent sandbox (container) configuration.
|
|
2367
|
+
*
|
|
2368
|
+
* Numeric resource limits are validated positive — a container with
|
|
2369
|
+
* zero memory or zero CPU cannot start, so we reject at parse time.
|
|
2370
|
+
*/
|
|
2371
|
+
SandboxConfig: {
|
|
2372
|
+
/** Format: double */
|
|
2373
|
+
cpu_limit?: number;
|
|
2374
|
+
/** Format: int64 */
|
|
2375
|
+
disk_mb?: number;
|
|
2376
|
+
egress_allowlist?: string[];
|
|
2377
|
+
enable_code_execution?: boolean;
|
|
2378
|
+
/** Format: int64 */
|
|
2379
|
+
memory_mb?: number;
|
|
2380
|
+
network_egress?: components["schemas"]["NetworkEgress"];
|
|
2381
|
+
packages?: string[];
|
|
2382
|
+
runtimes?: string[];
|
|
2383
|
+
/** Format: int64 */
|
|
2384
|
+
timeout_seconds?: number;
|
|
2385
|
+
};
|
|
2386
|
+
ScanComplianceRequest: {
|
|
2387
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2388
|
+
};
|
|
2389
|
+
ScanExpiredResponse: {
|
|
2390
|
+
expired: number;
|
|
2391
|
+
scanned: number;
|
|
2392
|
+
};
|
|
2393
|
+
ScheduleAmendment: {
|
|
2394
|
+
added_tier1_intent_types: string[];
|
|
2395
|
+
adopted_resolution_id?: null | components["schemas"]["ResolutionId"];
|
|
2396
|
+
authority_expansion: boolean;
|
|
2397
|
+
/** Format: date-time */
|
|
2398
|
+
created_at: string;
|
|
2399
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2400
|
+
/** Format: int32 */
|
|
2401
|
+
from_version: number;
|
|
2402
|
+
/** Format: int64 */
|
|
2403
|
+
new_tier1_max_amount_cents: number;
|
|
2404
|
+
/** Format: int64 */
|
|
2405
|
+
previous_tier1_max_amount_cents: number;
|
|
2406
|
+
rationale?: string | null;
|
|
2407
|
+
removed_tier1_intent_types: string[];
|
|
2408
|
+
schedule_amendment_id: components["schemas"]["ScheduleAmendmentId"];
|
|
2409
|
+
/** Format: int32 */
|
|
2410
|
+
to_version: number;
|
|
2411
|
+
};
|
|
2412
|
+
/** Format: uuid */
|
|
2413
|
+
ScheduleAmendmentId: string;
|
|
2414
|
+
ScheduleMeetingRequest: {
|
|
2415
|
+
agenda_item_titles?: string[];
|
|
2416
|
+
body_id: components["schemas"]["GovernanceBodyId"];
|
|
2417
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2418
|
+
location?: string | null;
|
|
2419
|
+
meeting_type: components["schemas"]["MeetingType"];
|
|
2420
|
+
/** Format: int32 */
|
|
2421
|
+
notice_days?: number | null;
|
|
2422
|
+
/** Format: date */
|
|
2423
|
+
scheduled_date?: string | null;
|
|
2424
|
+
title: string;
|
|
2425
|
+
};
|
|
2426
|
+
/**
|
|
2427
|
+
* @description A single capability scope that can be granted to an API key or token.
|
|
2428
|
+
* @enum {string}
|
|
2429
|
+
*/
|
|
2430
|
+
Scope: "formation_create" | "formation_read" | "formation_sign" | "equity_read" | "equity_write" | "equity_transfer" | "governance_read" | "governance_write" | "governance_vote" | "treasury_read" | "treasury_write" | "treasury_approve" | "contacts_read" | "contacts_write" | "execution_read" | "execution_write" | "branch_create" | "branch_merge" | "branch_delete" | "admin" | "internal_worker_read" | "internal_worker_write" | "secrets_manage" | "all";
|
|
2431
|
+
/**
|
|
2432
|
+
* @description Role of a seat in a governance body.
|
|
2433
|
+
* @enum {string}
|
|
2434
|
+
*/
|
|
2435
|
+
SeatRole: "chair" | "member" | "officer" | "observer";
|
|
2436
|
+
/**
|
|
2437
|
+
* @description Status of a governance seat.
|
|
2438
|
+
* @enum {string}
|
|
2439
|
+
*/
|
|
2440
|
+
SeatStatus: "active" | "resigned" | "expired";
|
|
2441
|
+
SecretNamesResponse: {
|
|
2442
|
+
names: string[];
|
|
2443
|
+
proxy_name: string;
|
|
2444
|
+
};
|
|
2445
|
+
SeedChartOfAccountsRequest: {
|
|
2446
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2447
|
+
template?: string;
|
|
2448
|
+
};
|
|
2449
|
+
SeedChartOfAccountsResponse: {
|
|
2450
|
+
accounts_created: number;
|
|
2451
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2452
|
+
template: string;
|
|
2453
|
+
};
|
|
2454
|
+
SendMessageRequest: {
|
|
2455
|
+
message: string;
|
|
2456
|
+
metadata?: Record<string, never>;
|
|
2457
|
+
};
|
|
2458
|
+
ServiceTokenResponse: {
|
|
2459
|
+
/** Format: int64 */
|
|
2460
|
+
expires_in: number;
|
|
2461
|
+
token: string;
|
|
2462
|
+
token_type: string;
|
|
2463
|
+
};
|
|
2464
|
+
SetGovernanceModeRequest: {
|
|
2465
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2466
|
+
evidence_refs?: string[];
|
|
2467
|
+
incident_ids?: components["schemas"]["IncidentId"][];
|
|
2468
|
+
mode: components["schemas"]["GovernanceMode"];
|
|
2469
|
+
reason?: string | null;
|
|
2470
|
+
};
|
|
2471
|
+
SetSecretsRequest: {
|
|
2472
|
+
/** @description Key-value pairs. Values are plaintext — the server encrypts before storing. */
|
|
2473
|
+
secrets: {
|
|
2474
|
+
[key: string]: string;
|
|
2475
|
+
};
|
|
2476
|
+
};
|
|
2477
|
+
/** Format: uuid */
|
|
2478
|
+
ShareClassId: string;
|
|
2479
|
+
/**
|
|
2480
|
+
* @description Debit or credit side of a ledger entry.
|
|
2481
|
+
* @enum {string}
|
|
2482
|
+
*/
|
|
2483
|
+
Side: "debit" | "credit";
|
|
2484
|
+
SignDocumentRequest: {
|
|
2485
|
+
consent_text?: string;
|
|
2486
|
+
signature_svg?: string | null;
|
|
2487
|
+
signature_text: string;
|
|
2488
|
+
signer_email: string;
|
|
2489
|
+
signer_name: string;
|
|
2490
|
+
signer_role: string;
|
|
2491
|
+
};
|
|
2492
|
+
SignDocumentResponse: {
|
|
2493
|
+
document_id: components["schemas"]["DocumentId"];
|
|
2494
|
+
document_status: components["schemas"]["DocumentStatus"];
|
|
2495
|
+
signature_id: components["schemas"]["SignatureId"];
|
|
2496
|
+
signed_at: string;
|
|
2497
|
+
};
|
|
2498
|
+
/** Format: uuid */
|
|
2499
|
+
SignatureId: string;
|
|
2500
|
+
SignatureSummary: {
|
|
2501
|
+
signature_id: components["schemas"]["SignatureId"];
|
|
2502
|
+
signed_at: string;
|
|
2503
|
+
signer_name: string;
|
|
2504
|
+
signer_role: string;
|
|
2505
|
+
};
|
|
2506
|
+
SignerTokenResponse: {
|
|
2507
|
+
expires_at: string;
|
|
2508
|
+
obligation_id: components["schemas"]["ObligationId"];
|
|
2509
|
+
token: string;
|
|
2510
|
+
};
|
|
2511
|
+
SigningLinkResponse: {
|
|
2512
|
+
document_id: components["schemas"]["DocumentId"];
|
|
2513
|
+
signing_url: string;
|
|
2514
|
+
};
|
|
2515
|
+
/** Format: uuid */
|
|
2516
|
+
SpendingLimitId: string;
|
|
2517
|
+
SpendingLimitResponse: {
|
|
2518
|
+
/** Format: int64 */
|
|
2519
|
+
amount_cents: number;
|
|
2520
|
+
category: string;
|
|
2521
|
+
created_at: string;
|
|
2522
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2523
|
+
period: string;
|
|
2524
|
+
spending_limit_id: components["schemas"]["SpendingLimitId"];
|
|
2525
|
+
};
|
|
2526
|
+
StartStagedRoundRequest: {
|
|
2527
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2528
|
+
issuer_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
2529
|
+
metadata?: Record<string, never>;
|
|
2530
|
+
name: string;
|
|
2531
|
+
/** Format: int64 */
|
|
2532
|
+
pre_money_cents?: number | null;
|
|
2533
|
+
/** Format: int64 */
|
|
2534
|
+
round_price_cents?: number | null;
|
|
2535
|
+
/** Format: int64 */
|
|
2536
|
+
target_raise_cents?: number | null;
|
|
2537
|
+
};
|
|
2538
|
+
StartWorkflowSignaturesRequest: {
|
|
2539
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2540
|
+
};
|
|
2541
|
+
StockDetails: {
|
|
2542
|
+
/** Format: int64 */
|
|
2543
|
+
authorized_shares: number;
|
|
2544
|
+
/** Format: int64 */
|
|
2545
|
+
par_value_cents: number;
|
|
2546
|
+
share_class?: string;
|
|
2547
|
+
};
|
|
2548
|
+
StripeAccountResponse: {
|
|
2549
|
+
created_at: string;
|
|
2550
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2551
|
+
status: string;
|
|
2552
|
+
stripe_account_id: string;
|
|
2553
|
+
};
|
|
2554
|
+
SubmitPaymentRequest: {
|
|
2555
|
+
/** Format: int64 */
|
|
2556
|
+
amount_cents: number;
|
|
2557
|
+
description: string;
|
|
2558
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2559
|
+
payment_method?: components["schemas"]["PaymentMethod"];
|
|
2560
|
+
recipient: string;
|
|
2561
|
+
};
|
|
2562
|
+
SubmitTransferReviewRequest: {
|
|
2563
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2564
|
+
};
|
|
2565
|
+
SubmitValuationForApprovalRequest: {
|
|
2566
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2567
|
+
};
|
|
2568
|
+
SystemHealth: {
|
|
2569
|
+
git_storage: string;
|
|
2570
|
+
status: string;
|
|
2571
|
+
/** Format: int64 */
|
|
2572
|
+
uptime_seconds: number;
|
|
2573
|
+
version: string;
|
|
2574
|
+
workspace_count: number;
|
|
2575
|
+
};
|
|
2576
|
+
/** Format: uuid */
|
|
2577
|
+
TaxFilingId: string;
|
|
2578
|
+
TaxFilingResponse: {
|
|
2579
|
+
created_at: string;
|
|
2580
|
+
document_id: components["schemas"]["DocumentId"];
|
|
2581
|
+
document_type: string;
|
|
2582
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2583
|
+
filing_id: components["schemas"]["TaxFilingId"];
|
|
2584
|
+
status: components["schemas"]["TaxFilingStatus"];
|
|
2585
|
+
/** Format: int32 */
|
|
2586
|
+
tax_year: number;
|
|
2587
|
+
};
|
|
2588
|
+
/**
|
|
2589
|
+
* @description Status of a tax filing.
|
|
2590
|
+
* @enum {string}
|
|
2591
|
+
*/
|
|
2592
|
+
TaxFilingStatus: "pending" | "filed" | "accepted" | "rejected";
|
|
2593
|
+
TokenExchangeRequest: {
|
|
2594
|
+
api_key: string;
|
|
2595
|
+
/** Format: int64 */
|
|
2596
|
+
ttl_seconds?: number;
|
|
2597
|
+
};
|
|
2598
|
+
TokenExchangeResponse: {
|
|
2599
|
+
access_token: string;
|
|
2600
|
+
/** Format: int64 */
|
|
2601
|
+
expires_in: number;
|
|
2602
|
+
token_type: string;
|
|
2603
|
+
};
|
|
2604
|
+
/**
|
|
2605
|
+
* @description HTTP tool that the agent can call.
|
|
2606
|
+
*
|
|
2607
|
+
* `name` and `url` are [`NonEmpty`] — deserialization of blank values
|
|
2608
|
+
* fails with a clear error rather than producing a broken tool.
|
|
2609
|
+
*/
|
|
2610
|
+
ToolSpec: {
|
|
2611
|
+
body_schema?: Record<string, never>;
|
|
2612
|
+
description?: string | null;
|
|
2613
|
+
headers?: {
|
|
2614
|
+
[key: string]: string;
|
|
2615
|
+
};
|
|
2616
|
+
method?: components["schemas"]["HttpMethod"];
|
|
2617
|
+
name: components["schemas"]["NonEmpty"];
|
|
2618
|
+
parameters?: Record<string, never>;
|
|
2619
|
+
url: components["schemas"]["NonEmpty"];
|
|
2620
|
+
};
|
|
2621
|
+
TransactionPacketResponse: {
|
|
2622
|
+
created_at: string;
|
|
2623
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2624
|
+
finalized_at?: string | null;
|
|
2625
|
+
intent_id: components["schemas"]["IntentId"];
|
|
2626
|
+
items: components["schemas"]["PacketItem"][];
|
|
2627
|
+
manifest_hash: string;
|
|
2628
|
+
packet_id: components["schemas"]["PacketId"];
|
|
2629
|
+
required_signers: string[];
|
|
2630
|
+
signatures: components["schemas"]["PacketSignatureResponse"][];
|
|
2631
|
+
status: components["schemas"]["TransactionPacketStatus"];
|
|
2632
|
+
workflow_id: string;
|
|
2633
|
+
workflow_type: components["schemas"]["WorkflowType"];
|
|
2634
|
+
};
|
|
2635
|
+
/** @enum {string} */
|
|
2636
|
+
TransactionPacketStatus: "drafted" | "ready_for_signature" | "fully_signed" | "executable" | "executed" | "failed";
|
|
2637
|
+
/** Format: uuid */
|
|
2638
|
+
TransferId: string;
|
|
2639
|
+
/**
|
|
2640
|
+
* @description Lifecycle status of a share transfer.
|
|
2641
|
+
* @enum {string}
|
|
2642
|
+
*/
|
|
2643
|
+
TransferStatus: "draft" | "pending_bylaws_review" | "pending_rofr" | "pending_board_approval" | "approved" | "executed" | "denied" | "cancelled";
|
|
2644
|
+
/**
|
|
2645
|
+
* @description Type of share transfer.
|
|
2646
|
+
* @enum {string}
|
|
2647
|
+
*/
|
|
2648
|
+
TransferType: "gift" | "trust_transfer" | "secondary_sale" | "estate" | "other";
|
|
2649
|
+
/** Format: uuid */
|
|
2650
|
+
TransferWorkflowId: string;
|
|
2651
|
+
TransferWorkflowResponse: {
|
|
2652
|
+
active_packet_id?: null | components["schemas"]["PacketId"];
|
|
2653
|
+
board_approval_meeting_id?: null | components["schemas"]["MeetingId"];
|
|
2654
|
+
board_approval_resolution_id?: null | components["schemas"]["ResolutionId"];
|
|
2655
|
+
created_at: string;
|
|
2656
|
+
execute_intent_id?: null | components["schemas"]["IntentId"];
|
|
2657
|
+
execution_status: string;
|
|
2658
|
+
generated_documents: string[];
|
|
2659
|
+
last_packet_hash?: string | null;
|
|
2660
|
+
prepare_intent_id: components["schemas"]["IntentId"];
|
|
2661
|
+
transfer_id: components["schemas"]["TransferId"];
|
|
2662
|
+
transfer_status: components["schemas"]["TransferStatus"];
|
|
2663
|
+
transfer_workflow_id: components["schemas"]["TransferWorkflowId"];
|
|
2664
|
+
updated_at: string;
|
|
2665
|
+
};
|
|
2666
|
+
/**
|
|
2667
|
+
* @description Rights granted to the transferee.
|
|
2668
|
+
* @enum {string}
|
|
2669
|
+
*/
|
|
2670
|
+
TransfereeRights: "full_member" | "economic_only" | "limited";
|
|
2671
|
+
/** @enum {string} */
|
|
2672
|
+
Transport: "stdio" | "http";
|
|
2673
|
+
UpdateAgentRequest: {
|
|
2674
|
+
budget?: null | components["schemas"]["BudgetConfig"];
|
|
2675
|
+
channels?: components["schemas"]["ChannelConfig"][] | null;
|
|
2676
|
+
mcp_servers?: components["schemas"]["MCPServerSpec"][] | null;
|
|
2677
|
+
model?: string | null;
|
|
2678
|
+
name?: string | null;
|
|
2679
|
+
parent_agent_id?: null | components["schemas"]["AgentId"];
|
|
2680
|
+
sandbox?: null | components["schemas"]["SandboxConfig"];
|
|
2681
|
+
scopes?: components["schemas"]["Scope"][] | null;
|
|
2682
|
+
status?: null | components["schemas"]["AgentStatus"];
|
|
2683
|
+
system_prompt?: string | null;
|
|
2684
|
+
tools?: components["schemas"]["ToolSpec"][] | null;
|
|
2685
|
+
webhook_url?: string | null;
|
|
2686
|
+
};
|
|
2687
|
+
UpdateContactRequest: {
|
|
2688
|
+
cap_table_access?: null | components["schemas"]["CapTableAccess"];
|
|
2689
|
+
email?: string | null;
|
|
2690
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2691
|
+
name?: string | null;
|
|
2692
|
+
notes?: string | null;
|
|
2693
|
+
phone?: string | null;
|
|
2694
|
+
};
|
|
2695
|
+
UpdateGovernanceProfileRequest: {
|
|
2696
|
+
adopted_by: string;
|
|
2697
|
+
/** Format: int32 */
|
|
2698
|
+
board_size?: number | null;
|
|
2699
|
+
/** Format: date */
|
|
2700
|
+
effective_date: string;
|
|
2701
|
+
incomplete_profile?: boolean | null;
|
|
2702
|
+
incorporator_address?: string | null;
|
|
2703
|
+
incorporator_name?: string | null;
|
|
2704
|
+
jurisdiction: string;
|
|
2705
|
+
/** Format: date */
|
|
2706
|
+
last_reviewed: string;
|
|
2707
|
+
legal_name: string;
|
|
2708
|
+
/** Format: date */
|
|
2709
|
+
next_mandatory_review: string;
|
|
2710
|
+
principal_name?: string | null;
|
|
2711
|
+
principal_title?: string | null;
|
|
2712
|
+
registered_agent_address?: string | null;
|
|
2713
|
+
registered_agent_name?: string | null;
|
|
2714
|
+
};
|
|
2715
|
+
UpdateNotificationPrefsRequest: {
|
|
2716
|
+
email_enabled?: boolean | null;
|
|
2717
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2718
|
+
sms_enabled?: boolean | null;
|
|
2719
|
+
webhook_enabled?: boolean | null;
|
|
2720
|
+
};
|
|
2721
|
+
/** Format: uuid */
|
|
2722
|
+
ValuationId: string;
|
|
2723
|
+
/**
|
|
2724
|
+
* @description Methodology used for a valuation.
|
|
2725
|
+
* @enum {string}
|
|
2726
|
+
*/
|
|
2727
|
+
ValuationMethodology: "income" | "market" | "asset" | "backsolve" | "hybrid" | "other";
|
|
2728
|
+
ValuationResponse: {
|
|
2729
|
+
agenda_item_id?: null | components["schemas"]["AgendaItemId"];
|
|
2730
|
+
board_approval_resolution_id?: null | components["schemas"]["ResolutionId"];
|
|
2731
|
+
created_at: string;
|
|
2732
|
+
/** Format: date */
|
|
2733
|
+
effective_date: string;
|
|
2734
|
+
/** Format: int64 */
|
|
2735
|
+
enterprise_value_cents?: number | null;
|
|
2736
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2737
|
+
/** Format: date */
|
|
2738
|
+
expiration_date?: string | null;
|
|
2739
|
+
/** Format: int64 */
|
|
2740
|
+
fmv_per_share_cents?: number | null;
|
|
2741
|
+
/** Format: int64 */
|
|
2742
|
+
hurdle_amount_cents?: number | null;
|
|
2743
|
+
meeting_id?: null | components["schemas"]["MeetingId"];
|
|
2744
|
+
methodology: components["schemas"]["ValuationMethodology"];
|
|
2745
|
+
provider_contact_id?: null | components["schemas"]["ContactId"];
|
|
2746
|
+
report_document_id?: null | components["schemas"]["DocumentId"];
|
|
2747
|
+
status: components["schemas"]["ValuationStatus"];
|
|
2748
|
+
valuation_id: components["schemas"]["ValuationId"];
|
|
2749
|
+
valuation_type: components["schemas"]["ValuationType"];
|
|
2750
|
+
};
|
|
2751
|
+
/**
|
|
2752
|
+
* @description Lifecycle status of a valuation.
|
|
2753
|
+
* @enum {string}
|
|
2754
|
+
*/
|
|
2755
|
+
ValuationStatus: "draft" | "pending_approval" | "approved" | "expired" | "superseded";
|
|
2756
|
+
/**
|
|
2757
|
+
* @description Type of 409A or equivalent valuation.
|
|
2758
|
+
* @enum {string}
|
|
2759
|
+
*/
|
|
2760
|
+
ValuationType: "four_oh_nine_a" | "llc_profits_interest" | "fair_market_value" | "gift" | "estate" | "other";
|
|
2761
|
+
VerifyGovernanceAuditChainRequest: {
|
|
2762
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2763
|
+
};
|
|
2764
|
+
/** @description Vesting schedule for founder shares. */
|
|
2765
|
+
VestingSchedule: {
|
|
2766
|
+
/** @description Acceleration type: "single_trigger", "double_trigger", or none. */
|
|
2767
|
+
acceleration?: string | null;
|
|
2768
|
+
/**
|
|
2769
|
+
* Format: int32
|
|
2770
|
+
* @description Cliff period in months (e.g. 12).
|
|
2771
|
+
*/
|
|
2772
|
+
cliff_months: number;
|
|
2773
|
+
/**
|
|
2774
|
+
* Format: int32
|
|
2775
|
+
* @description Total vesting period in months (e.g. 48).
|
|
2776
|
+
*/
|
|
2777
|
+
total_months: number;
|
|
2778
|
+
};
|
|
2779
|
+
/** Format: uuid */
|
|
2780
|
+
VoteId: string;
|
|
2781
|
+
VoteResponse: {
|
|
2782
|
+
agenda_item_id: components["schemas"]["AgendaItemId"];
|
|
2783
|
+
cast_at: string;
|
|
2784
|
+
signature_hash: string;
|
|
2785
|
+
vote_id: components["schemas"]["VoteId"];
|
|
2786
|
+
vote_value: components["schemas"]["VoteValue"];
|
|
2787
|
+
voter_id: components["schemas"]["ContactId"];
|
|
2788
|
+
/** Format: int32 */
|
|
2789
|
+
voting_power_applied: number;
|
|
2790
|
+
};
|
|
2791
|
+
/**
|
|
2792
|
+
* @description How a participant voted.
|
|
2793
|
+
* @enum {string}
|
|
2794
|
+
*/
|
|
2795
|
+
VoteValue: "for" | "against" | "abstain" | "recusal";
|
|
2796
|
+
/**
|
|
2797
|
+
* @description How votes are counted.
|
|
2798
|
+
* @enum {string}
|
|
2799
|
+
*/
|
|
2800
|
+
VotingMethod: "per_capita" | "per_unit";
|
|
2801
|
+
WorkerWorkspaceQuery: {
|
|
2802
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
2803
|
+
};
|
|
2804
|
+
WorkflowStatusResponse: {
|
|
2805
|
+
active_packet_id?: null | components["schemas"]["PacketId"];
|
|
2806
|
+
execution_status: string;
|
|
2807
|
+
fundraising_workflow?: null | components["schemas"]["FundraisingWorkflowResponse"];
|
|
2808
|
+
packet?: null | components["schemas"]["TransactionPacketResponse"];
|
|
2809
|
+
transfer_workflow?: null | components["schemas"]["TransferWorkflowResponse"];
|
|
2810
|
+
workflow_id: string;
|
|
2811
|
+
workflow_type: components["schemas"]["WorkflowType"];
|
|
2812
|
+
};
|
|
2813
|
+
/** @enum {string} */
|
|
2814
|
+
WorkflowType: "transfer" | "fundraising";
|
|
2815
|
+
WorkspaceClaimRequest: {
|
|
2816
|
+
claim_token: string;
|
|
2817
|
+
};
|
|
2818
|
+
WorkspaceClaimResponse: {
|
|
2819
|
+
claimed: boolean;
|
|
2820
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
2821
|
+
};
|
|
2822
|
+
WorkspaceContactSummary: {
|
|
2823
|
+
contact_id: string;
|
|
2824
|
+
entity_id: string;
|
|
2825
|
+
};
|
|
2826
|
+
WorkspaceEntitySummary: {
|
|
2827
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2828
|
+
};
|
|
2829
|
+
/** Format: uuid */
|
|
2830
|
+
WorkspaceId: string;
|
|
2831
|
+
WorkspaceLinkRequest: {
|
|
2832
|
+
external_id: string;
|
|
2833
|
+
provider: string;
|
|
2834
|
+
};
|
|
2835
|
+
WorkspaceLinkResponse: {
|
|
2836
|
+
linked: boolean;
|
|
2837
|
+
provider: string;
|
|
2838
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
2839
|
+
};
|
|
2840
|
+
WorkspaceStatusResponse: {
|
|
2841
|
+
entity_count: number;
|
|
2842
|
+
name: string;
|
|
2843
|
+
status: string;
|
|
2844
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
2845
|
+
};
|
|
2846
|
+
WorkspaceSummary: {
|
|
2847
|
+
entity_count: number;
|
|
2848
|
+
name: string;
|
|
2849
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
2850
|
+
};
|
|
2851
|
+
WriteGovernanceAuditCheckpointRequest: {
|
|
2852
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2853
|
+
};
|
|
2854
|
+
WrittenConsentRequest: {
|
|
2855
|
+
body_id: components["schemas"]["GovernanceBodyId"];
|
|
2856
|
+
description: string;
|
|
2857
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2858
|
+
title: string;
|
|
2859
|
+
};
|
|
2860
|
+
WrittenConsentResponse: {
|
|
2861
|
+
body_id: components["schemas"]["GovernanceBodyId"];
|
|
2862
|
+
consent_type: string;
|
|
2863
|
+
created_at: string;
|
|
2864
|
+
meeting_id: components["schemas"]["MeetingId"];
|
|
2865
|
+
status: components["schemas"]["MeetingStatus"];
|
|
2866
|
+
title: string;
|
|
2867
|
+
};
|
|
2868
|
+
};
|
|
2869
|
+
responses: never;
|
|
2870
|
+
parameters: never;
|
|
2871
|
+
requestBodies: never;
|
|
2872
|
+
headers: never;
|
|
2873
|
+
pathItems: never;
|
|
2874
|
+
};
|
|
2875
|
+
|
|
2876
|
+
/**
|
|
2877
|
+
* Convenience re-exports of key generated OpenAPI schema types.
|
|
2878
|
+
* Regenerate source with: npm run generate:types
|
|
2879
|
+
*/
|
|
2880
|
+
|
|
2881
|
+
type WorkspaceStatusResponse = components["schemas"]["WorkspaceStatusResponse"];
|
|
2882
|
+
type WorkspaceEntitySummary = components["schemas"]["WorkspaceEntitySummary"];
|
|
2883
|
+
type WorkspaceContactSummary = components["schemas"]["WorkspaceContactSummary"];
|
|
2884
|
+
type FormationResponse = components["schemas"]["FormationResponse"];
|
|
2885
|
+
type FormationWithCapTableResponse = components["schemas"]["FormationWithCapTableResponse"];
|
|
2886
|
+
type FormationStatusResponse = components["schemas"]["FormationStatusResponse"];
|
|
2887
|
+
type FormationGatesResponse = components["schemas"]["FormationGatesResponse"];
|
|
2888
|
+
type PendingFormationResponse = components["schemas"]["PendingFormationResponse"];
|
|
2889
|
+
type CreateFormationRequest = components["schemas"]["CreateFormationRequest"];
|
|
2890
|
+
type CreatePendingFormationRequest = components["schemas"]["CreatePendingFormationRequest"];
|
|
2891
|
+
type AddFounderRequest = components["schemas"]["AddFounderRequest"];
|
|
2892
|
+
type AddFounderResponse = components["schemas"]["AddFounderResponse"];
|
|
2893
|
+
type ConvertEntityRequest = components["schemas"]["ConvertEntityRequest"];
|
|
2894
|
+
type DissolveEntityRequest = components["schemas"]["DissolveEntityRequest"];
|
|
2895
|
+
type ContactResponse = components["schemas"]["ContactResponse"];
|
|
2896
|
+
type ContactProfileResponse = components["schemas"]["ContactProfileResponse"];
|
|
2897
|
+
type CreateContactRequest = components["schemas"]["CreateContactRequest"];
|
|
2898
|
+
type UpdateContactRequest = components["schemas"]["UpdateContactRequest"];
|
|
2899
|
+
type CapTableResponse = components["schemas"]["CapTableResponse"];
|
|
2900
|
+
type CapTableHolderSummary = components["schemas"]["CapTableHolderSummary"];
|
|
2901
|
+
type CapTableInstrumentSummary = components["schemas"]["CapTableInstrumentSummary"];
|
|
2902
|
+
type CreateRoundRequest = components["schemas"]["CreateRoundRequest"];
|
|
2903
|
+
type RoundResponse = components["schemas"]["RoundResponse"];
|
|
2904
|
+
type ApplyRoundTermsRequest = components["schemas"]["ApplyRoundTermsRequest"];
|
|
2905
|
+
type BoardApproveRoundRequest = components["schemas"]["BoardApproveRoundRequest"];
|
|
2906
|
+
type AcceptRoundRequest = components["schemas"]["AcceptRoundRequest"];
|
|
2907
|
+
type StartStagedRoundRequest = components["schemas"]["StartStagedRoundRequest"];
|
|
2908
|
+
type AddSecurityRequest = components["schemas"]["AddSecurityRequest"];
|
|
2909
|
+
type IssueStagedRoundResponse = components["schemas"]["IssueStagedRoundResponse"];
|
|
2910
|
+
type GovernanceBodyResponse = components["schemas"]["GovernanceBodyResponse"];
|
|
2911
|
+
type GovernanceSeatResponse = components["schemas"]["GovernanceSeatResponse"];
|
|
2912
|
+
type MeetingResponse = components["schemas"]["MeetingResponse"];
|
|
2913
|
+
type ResolutionResponse = components["schemas"]["ResolutionResponse"];
|
|
2914
|
+
type AgendaItemResponse = components["schemas"]["AgendaItemResponse"];
|
|
2915
|
+
type VoteResponse = components["schemas"]["VoteResponse"];
|
|
2916
|
+
type ScheduleMeetingRequest = components["schemas"]["ScheduleMeetingRequest"];
|
|
2917
|
+
type ConveneMeetingRequest = components["schemas"]["ConveneMeetingRequest"];
|
|
2918
|
+
type CastVoteRequest = components["schemas"]["CastVoteRequest"];
|
|
2919
|
+
type FinalizeAgendaItemRequest = components["schemas"]["FinalizeAgendaItemRequest"];
|
|
2920
|
+
type ComputeResolutionRequest = components["schemas"]["ComputeResolutionRequest"];
|
|
2921
|
+
type AttachResolutionDocumentRequest = components["schemas"]["AttachResolutionDocumentRequest"];
|
|
2922
|
+
type WrittenConsentRequest = components["schemas"]["WrittenConsentRequest"];
|
|
2923
|
+
type WrittenConsentResponse = components["schemas"]["WrittenConsentResponse"];
|
|
2924
|
+
type AgentResponse = components["schemas"]["AgentResponse"];
|
|
2925
|
+
type CreateAgentRequest = components["schemas"]["CreateAgentRequest"];
|
|
2926
|
+
type UpdateAgentRequest = components["schemas"]["UpdateAgentRequest"];
|
|
2927
|
+
type ObligationResponse = components["schemas"]["ObligationResponse"];
|
|
2928
|
+
type ObligationsSummaryResponse = components["schemas"]["ObligationsSummaryResponse"];
|
|
2929
|
+
type DocumentResponse = components["schemas"]["DocumentResponse"];
|
|
2930
|
+
type DocumentSummary = components["schemas"]["DocumentSummary"];
|
|
2931
|
+
type DigestSummary = components["schemas"]["DigestSummary"];
|
|
2932
|
+
type DigestTriggerResponse = components["schemas"]["DigestTriggerResponse"];
|
|
2933
|
+
type InvoiceResponse = components["schemas"]["InvoiceResponse"];
|
|
2934
|
+
|
|
88
2935
|
declare class SessionExpiredError extends Error {
|
|
89
2936
|
constructor();
|
|
90
2937
|
}
|
|
@@ -102,11 +2949,11 @@ declare class CorpAPIClient {
|
|
|
102
2949
|
private postWithParams;
|
|
103
2950
|
private patch;
|
|
104
2951
|
private del;
|
|
105
|
-
getStatus(): Promise<
|
|
2952
|
+
getStatus(): Promise<WorkspaceStatusResponse>;
|
|
106
2953
|
getObligations(tier?: string): Promise<ApiRecord>;
|
|
107
|
-
listDigests(): Promise<
|
|
108
|
-
triggerDigest(): Promise<
|
|
109
|
-
getDigest(key: string): Promise<
|
|
2954
|
+
listDigests(): Promise<DigestSummary[]>;
|
|
2955
|
+
triggerDigest(): Promise<DigestTriggerResponse>;
|
|
2956
|
+
getDigest(key: string): Promise<DigestSummary>;
|
|
110
2957
|
listEntities(): Promise<ApiRecord[]>;
|
|
111
2958
|
listContacts(entityId: string): Promise<ApiRecord[]>;
|
|
112
2959
|
getContact(id: string, entityId: string): Promise<ApiRecord>;
|
|
@@ -139,25 +2986,27 @@ declare class CorpAPIClient {
|
|
|
139
2986
|
createExecutionIntent(data: CreateExecutionIntentRequest): Promise<IntentResponse>;
|
|
140
2987
|
evaluateIntent(intentId: string, entityId: string): Promise<ApiRecord>;
|
|
141
2988
|
authorizeIntent(intentId: string, entityId: string): Promise<ApiRecord>;
|
|
142
|
-
listGovernanceBodies(entityId: string): Promise<
|
|
143
|
-
getGovernanceSeats(bodyId: string, entityId: string): Promise<
|
|
144
|
-
listMeetings(bodyId: string, entityId: string): Promise<
|
|
145
|
-
getMeetingResolutions(meetingId: string, entityId: string): Promise<
|
|
146
|
-
scheduleMeeting(data: ApiRecord): Promise<
|
|
147
|
-
conveneMeeting(meetingId: string, entityId: string, data: ApiRecord): Promise<
|
|
148
|
-
castVote(entityId: string, meetingId: string, itemId: string, data: ApiRecord): Promise<
|
|
149
|
-
sendNotice(meetingId: string, entityId: string): Promise<
|
|
150
|
-
adjournMeeting(meetingId: string, entityId: string): Promise<
|
|
151
|
-
cancelMeeting(meetingId: string, entityId: string): Promise<
|
|
152
|
-
finalizeAgendaItem(meetingId: string, itemId: string, data: ApiRecord): Promise<
|
|
153
|
-
computeResolution(meetingId: string, itemId: string, entityId: string, data: ApiRecord): Promise<
|
|
154
|
-
attachResolutionDocument(meetingId: string, resolutionId: string, data: ApiRecord): Promise<
|
|
155
|
-
writtenConsent(data: ApiRecord): Promise<
|
|
156
|
-
listAgendaItems(meetingId: string, entityId: string): Promise<
|
|
157
|
-
listVotes(meetingId: string, itemId: string, entityId: string): Promise<
|
|
158
|
-
getEntityDocuments(entityId: string): Promise<
|
|
2989
|
+
listGovernanceBodies(entityId: string): Promise<GovernanceBodyResponse[]>;
|
|
2990
|
+
getGovernanceSeats(bodyId: string, entityId: string): Promise<GovernanceSeatResponse[]>;
|
|
2991
|
+
listMeetings(bodyId: string, entityId: string): Promise<MeetingResponse[]>;
|
|
2992
|
+
getMeetingResolutions(meetingId: string, entityId: string): Promise<ResolutionResponse[]>;
|
|
2993
|
+
scheduleMeeting(data: ApiRecord): Promise<MeetingResponse>;
|
|
2994
|
+
conveneMeeting(meetingId: string, entityId: string, data: ApiRecord): Promise<MeetingResponse>;
|
|
2995
|
+
castVote(entityId: string, meetingId: string, itemId: string, data: ApiRecord): Promise<VoteResponse>;
|
|
2996
|
+
sendNotice(meetingId: string, entityId: string): Promise<MeetingResponse>;
|
|
2997
|
+
adjournMeeting(meetingId: string, entityId: string): Promise<MeetingResponse>;
|
|
2998
|
+
cancelMeeting(meetingId: string, entityId: string): Promise<MeetingResponse>;
|
|
2999
|
+
finalizeAgendaItem(meetingId: string, itemId: string, data: ApiRecord): Promise<AgendaItemResponse>;
|
|
3000
|
+
computeResolution(meetingId: string, itemId: string, entityId: string, data: ApiRecord): Promise<ResolutionResponse>;
|
|
3001
|
+
attachResolutionDocument(meetingId: string, resolutionId: string, data: ApiRecord): Promise<ResolutionResponse>;
|
|
3002
|
+
writtenConsent(data: ApiRecord): Promise<WrittenConsentResponse>;
|
|
3003
|
+
listAgendaItems(meetingId: string, entityId: string): Promise<AgendaItemResponse[]>;
|
|
3004
|
+
listVotes(meetingId: string, itemId: string, entityId: string): Promise<VoteResponse[]>;
|
|
3005
|
+
getEntityDocuments(entityId: string): Promise<DocumentResponse[]>;
|
|
159
3006
|
generateContract(data: ApiRecord): Promise<ApiRecord>;
|
|
160
3007
|
getSigningLink(documentId: string, entityId: string): Promise<ApiRecord>;
|
|
3008
|
+
validatePreviewPdf(entityId: string, documentId: string): Promise<ApiRecord>;
|
|
3009
|
+
getPreviewPdfUrl(entityId: string, documentId: string): string;
|
|
161
3010
|
createInvoice(data: ApiRecord): Promise<ApiRecord>;
|
|
162
3011
|
runPayroll(data: ApiRecord): Promise<ApiRecord>;
|
|
163
3012
|
submitPayment(data: ApiRecord): Promise<ApiRecord>;
|
|
@@ -170,14 +3019,14 @@ declare class CorpAPIClient {
|
|
|
170
3019
|
getBillingPlans(): Promise<ApiRecord[]>;
|
|
171
3020
|
createBillingPortal(): Promise<ApiRecord>;
|
|
172
3021
|
createBillingCheckout(planId: string, entityId?: string): Promise<ApiRecord>;
|
|
173
|
-
getFormation(id: string): Promise<
|
|
174
|
-
getFormationDocuments(id: string): Promise<
|
|
175
|
-
createFormation(data: ApiRecord): Promise<
|
|
176
|
-
createFormationWithCapTable(data: ApiRecord): Promise<
|
|
177
|
-
createPendingEntity(data: ApiRecord): Promise<
|
|
178
|
-
addFounder(entityId: string, data: ApiRecord): Promise<
|
|
179
|
-
finalizeFormation(entityId: string): Promise<
|
|
180
|
-
getHumanObligations(): Promise<
|
|
3022
|
+
getFormation(id: string): Promise<FormationResponse>;
|
|
3023
|
+
getFormationDocuments(id: string): Promise<DocumentResponse[]>;
|
|
3024
|
+
createFormation(data: ApiRecord): Promise<FormationResponse>;
|
|
3025
|
+
createFormationWithCapTable(data: ApiRecord): Promise<FormationWithCapTableResponse>;
|
|
3026
|
+
createPendingEntity(data: ApiRecord): Promise<PendingFormationResponse>;
|
|
3027
|
+
addFounder(entityId: string, data: ApiRecord): Promise<AddFounderResponse>;
|
|
3028
|
+
finalizeFormation(entityId: string): Promise<FormationWithCapTableResponse>;
|
|
3029
|
+
getHumanObligations(): Promise<ObligationResponse[]>;
|
|
181
3030
|
getSignerToken(obligationId: string): Promise<ApiRecord>;
|
|
182
3031
|
seedDemo(name: string): Promise<ApiRecord>;
|
|
183
3032
|
convertEntity(entityId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
@@ -192,6 +3041,13 @@ declare class CorpAPIClient {
|
|
|
192
3041
|
listSupportedModels(): Promise<ApiRecord[]>;
|
|
193
3042
|
createGovernanceBody(data: ApiRecord): Promise<ApiRecord>;
|
|
194
3043
|
createGovernanceSeat(bodyId: string, entityId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3044
|
+
listWorkItems(entityId: string, params?: Record<string, string>): Promise<ApiRecord[]>;
|
|
3045
|
+
getWorkItem(entityId: string, workItemId: string): Promise<ApiRecord>;
|
|
3046
|
+
createWorkItem(entityId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3047
|
+
claimWorkItem(entityId: string, workItemId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3048
|
+
completeWorkItem(entityId: string, workItemId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3049
|
+
releaseWorkItem(entityId: string, workItemId: string): Promise<ApiRecord>;
|
|
3050
|
+
cancelWorkItem(entityId: string, workItemId: string): Promise<ApiRecord>;
|
|
195
3051
|
listApiKeys(): Promise<ApiRecord[]>;
|
|
196
3052
|
assignObligation(obligationId: string, contactId: string): Promise<ApiRecord>;
|
|
197
3053
|
getConfig(): Promise<ApiRecord>;
|
|
@@ -234,4 +3090,173 @@ declare const TOOL_REGISTRY: Record<string, ToolFunction>;
|
|
|
234
3090
|
*/
|
|
235
3091
|
declare const READ_ONLY_TOOLS: Set<string>;
|
|
236
3092
|
|
|
237
|
-
|
|
3093
|
+
declare const AccountType: readonly ["asset", "liability", "equity", "revenue", "expense"];
|
|
3094
|
+
type AccountType = (typeof AccountType)[number];
|
|
3095
|
+
declare const AgendaItemStatus: readonly ["pending", "discussed", "voted", "tabled", "withdrawn"];
|
|
3096
|
+
type AgendaItemStatus = (typeof AgendaItemStatus)[number];
|
|
3097
|
+
declare const AgendaItemType: readonly ["resolution", "discussion", "report", "election"];
|
|
3098
|
+
type AgendaItemType = (typeof AgendaItemType)[number];
|
|
3099
|
+
declare const AgentStatus: readonly ["active", "paused", "disabled"];
|
|
3100
|
+
type AgentStatus = (typeof AgentStatus)[number];
|
|
3101
|
+
declare const AntiDilutionMethod: readonly ["none", "broad_based_weighted_average", "narrow_based_weighted_average", "full_ratchet"];
|
|
3102
|
+
type AntiDilutionMethod = (typeof AntiDilutionMethod)[number];
|
|
3103
|
+
declare const AssigneeType: readonly ["internal", "third_party", "human"];
|
|
3104
|
+
type AssigneeType = (typeof AssigneeType)[number];
|
|
3105
|
+
declare const AuthoritySource: readonly ["law", "charter", "governance_docs", "resolution", "directive", "standing_instruction", "delegation_schedule", "heuristic"];
|
|
3106
|
+
type AuthoritySource = (typeof AuthoritySource)[number];
|
|
3107
|
+
declare const AuthorityTier: readonly ["tier_1", "tier_2", "tier_3"];
|
|
3108
|
+
type AuthorityTier = (typeof AuthorityTier)[number];
|
|
3109
|
+
declare const BankAccountStatus: readonly ["pending_review", "active", "closed"];
|
|
3110
|
+
type BankAccountStatus = (typeof BankAccountStatus)[number];
|
|
3111
|
+
declare const BankAccountType: readonly ["checking", "savings"];
|
|
3112
|
+
type BankAccountType = (typeof BankAccountType)[number];
|
|
3113
|
+
declare const BodyStatus: readonly ["active", "inactive"];
|
|
3114
|
+
type BodyStatus = (typeof BodyStatus)[number];
|
|
3115
|
+
declare const BodyType: readonly ["board_of_directors", "llc_member_vote"];
|
|
3116
|
+
type BodyType = (typeof BodyType)[number];
|
|
3117
|
+
declare const CapTableAccess: readonly ["none", "summary", "detailed"];
|
|
3118
|
+
type CapTableAccess = (typeof CapTableAccess)[number];
|
|
3119
|
+
declare const CapTableBasis: readonly ["outstanding", "as_converted", "fully_diluted"];
|
|
3120
|
+
type CapTableBasis = (typeof CapTableBasis)[number];
|
|
3121
|
+
declare const ClassificationResult: readonly ["independent", "employee", "uncertain"];
|
|
3122
|
+
type ClassificationResult = (typeof ClassificationResult)[number];
|
|
3123
|
+
declare const ContactCategory: readonly ["employee", "contractor", "board_member", "law_firm", "valuation_firm", "accounting_firm", "investor", "officer", "founder", "member", "other"];
|
|
3124
|
+
type ContactCategory = (typeof ContactCategory)[number];
|
|
3125
|
+
declare const ContactStatus: readonly ["active", "inactive"];
|
|
3126
|
+
type ContactStatus = (typeof ContactStatus)[number];
|
|
3127
|
+
declare const ContactType: readonly ["individual", "organization"];
|
|
3128
|
+
type ContactType = (typeof ContactType)[number];
|
|
3129
|
+
declare const ContractStatus: readonly ["draft", "active", "expired", "terminated"];
|
|
3130
|
+
type ContractStatus = (typeof ContractStatus)[number];
|
|
3131
|
+
declare const ContractTemplateType: readonly ["consulting_agreement", "employment_offer", "contractor_agreement", "nda", "custom"];
|
|
3132
|
+
type ContractTemplateType = (typeof ContractTemplateType)[number];
|
|
3133
|
+
declare const ControlType: readonly ["voting", "board", "economic", "contractual"];
|
|
3134
|
+
type ControlType = (typeof ControlType)[number];
|
|
3135
|
+
declare const Currency: readonly ["usd"];
|
|
3136
|
+
type Currency = (typeof Currency)[number];
|
|
3137
|
+
declare const DeadlineSeverity: readonly ["low", "medium", "high", "critical"];
|
|
3138
|
+
type DeadlineSeverity = (typeof DeadlineSeverity)[number];
|
|
3139
|
+
declare const DeadlineStatus: readonly ["upcoming", "due", "completed", "overdue"];
|
|
3140
|
+
type DeadlineStatus = (typeof DeadlineStatus)[number];
|
|
3141
|
+
declare const DistributionStatus: readonly ["pending", "approved", "distributed"];
|
|
3142
|
+
type DistributionStatus = (typeof DistributionStatus)[number];
|
|
3143
|
+
declare const DistributionType: readonly ["dividend", "return", "liquidation"];
|
|
3144
|
+
type DistributionType = (typeof DistributionType)[number];
|
|
3145
|
+
declare const DocumentRequestStatus: readonly ["requested", "provided", "not_applicable", "waived"];
|
|
3146
|
+
type DocumentRequestStatus = (typeof DocumentRequestStatus)[number];
|
|
3147
|
+
declare const DocumentStatus: readonly ["draft", "signed", "amended", "filed"];
|
|
3148
|
+
type DocumentStatus = (typeof DocumentStatus)[number];
|
|
3149
|
+
declare const DocumentType: readonly ["articles_of_incorporation", "articles_of_organization", "bylaws", "operating_agreement", "ss4_application", "meeting_notice", "resolution", "safe_agreement"];
|
|
3150
|
+
type DocumentType = (typeof DocumentType)[number];
|
|
3151
|
+
declare const EntityType: readonly ["corporation", "llc"];
|
|
3152
|
+
type EntityType = (typeof EntityType)[number];
|
|
3153
|
+
declare const EquityRoundStatus: readonly ["draft", "open", "board_approved", "accepted", "closed", "cancelled"];
|
|
3154
|
+
type EquityRoundStatus = (typeof EquityRoundStatus)[number];
|
|
3155
|
+
declare const EscalationStatus: readonly ["open", "resolved"];
|
|
3156
|
+
type EscalationStatus = (typeof EscalationStatus)[number];
|
|
3157
|
+
declare const FormationState: readonly ["forming", "active"];
|
|
3158
|
+
type FormationState = (typeof FormationState)[number];
|
|
3159
|
+
declare const FormationStatus: readonly ["pending", "documents_generated", "documents_signed", "filing_submitted", "filed", "ein_applied", "active", "rejected", "dissolved"];
|
|
3160
|
+
type FormationStatus = (typeof FormationStatus)[number];
|
|
3161
|
+
declare const GlAccountCode: readonly ["Cash", "AccountsReceivable", "AccountsPayable", "AccruedExpenses", "FounderCapital", "Revenue", "OperatingExpenses", "Cogs"];
|
|
3162
|
+
type GlAccountCode = (typeof GlAccountCode)[number];
|
|
3163
|
+
declare const GovernanceAuditEventType: readonly ["mode_changed", "lockdown_trigger_applied", "manual_event", "checkpoint_written", "chain_verified", "chain_verification_failed"];
|
|
3164
|
+
type GovernanceAuditEventType = (typeof GovernanceAuditEventType)[number];
|
|
3165
|
+
declare const GovernanceMode: readonly ["normal", "principal_unavailable", "incident_lockdown"];
|
|
3166
|
+
type GovernanceMode = (typeof GovernanceMode)[number];
|
|
3167
|
+
declare const GovernanceTriggerSource: readonly ["compliance_scanner", "execution_gate", "external_ingestion"];
|
|
3168
|
+
type GovernanceTriggerSource = (typeof GovernanceTriggerSource)[number];
|
|
3169
|
+
declare const GovernanceTriggerType: readonly ["external_signal", "policy_evidence_mismatch", "compliance_deadline_missed_d_plus_1", "audit_chain_verification_failed"];
|
|
3170
|
+
type GovernanceTriggerType = (typeof GovernanceTriggerType)[number];
|
|
3171
|
+
declare const GoverningDocType: readonly ["bylaws", "operating_agreement", "shareholder_agreement", "other"];
|
|
3172
|
+
type GoverningDocType = (typeof GoverningDocType)[number];
|
|
3173
|
+
declare const HolderType: readonly ["individual", "organization", "fund", "nonprofit", "trust", "other"];
|
|
3174
|
+
type HolderType = (typeof HolderType)[number];
|
|
3175
|
+
declare const HttpMethod: readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"];
|
|
3176
|
+
type HttpMethod = (typeof HttpMethod)[number];
|
|
3177
|
+
declare const IncidentSeverity: readonly ["low", "medium", "high", "critical"];
|
|
3178
|
+
type IncidentSeverity = (typeof IncidentSeverity)[number];
|
|
3179
|
+
declare const IncidentStatus: readonly ["open", "resolved"];
|
|
3180
|
+
type IncidentStatus = (typeof IncidentStatus)[number];
|
|
3181
|
+
declare const InstrumentKind: readonly ["common_equity", "preferred_equity", "membership_unit", "option_grant", "safe", "convertible_note", "warrant"];
|
|
3182
|
+
type InstrumentKind = (typeof InstrumentKind)[number];
|
|
3183
|
+
declare const InstrumentStatus: readonly ["active", "closed", "cancelled"];
|
|
3184
|
+
type InstrumentStatus = (typeof InstrumentStatus)[number];
|
|
3185
|
+
declare const IntentStatus: readonly ["pending", "evaluated", "authorized", "executed", "failed", "cancelled"];
|
|
3186
|
+
type IntentStatus = (typeof IntentStatus)[number];
|
|
3187
|
+
declare const InvestorType: readonly ["natural_person", "agent", "entity"];
|
|
3188
|
+
type InvestorType = (typeof InvestorType)[number];
|
|
3189
|
+
declare const InvoiceStatus: readonly ["draft", "sent", "paid", "voided"];
|
|
3190
|
+
type InvoiceStatus = (typeof InvoiceStatus)[number];
|
|
3191
|
+
declare const JournalEntryStatus: readonly ["draft", "posted", "voided"];
|
|
3192
|
+
type JournalEntryStatus = (typeof JournalEntryStatus)[number];
|
|
3193
|
+
declare const LegalEntityRole: readonly ["operating", "control", "investment", "nonprofit", "spv", "other"];
|
|
3194
|
+
type LegalEntityRole = (typeof LegalEntityRole)[number];
|
|
3195
|
+
declare const MeetingStatus: readonly ["draft", "noticed", "convened", "adjourned", "cancelled"];
|
|
3196
|
+
type MeetingStatus = (typeof MeetingStatus)[number];
|
|
3197
|
+
declare const MeetingType: readonly ["board_meeting", "shareholder_meeting", "written_consent", "member_meeting"];
|
|
3198
|
+
type MeetingType = (typeof MeetingType)[number];
|
|
3199
|
+
declare const MemberRole: readonly ["director", "officer", "manager", "member", "chair"];
|
|
3200
|
+
type MemberRole = (typeof MemberRole)[number];
|
|
3201
|
+
declare const NetworkEgress: readonly ["restricted", "open"];
|
|
3202
|
+
type NetworkEgress = (typeof NetworkEgress)[number];
|
|
3203
|
+
declare const ObligationStatus: readonly ["required", "in_progress", "fulfilled", "waived", "expired"];
|
|
3204
|
+
type ObligationStatus = (typeof ObligationStatus)[number];
|
|
3205
|
+
declare const OfficerTitle: readonly ["ceo", "cfo", "secretary", "president", "vp", "other"];
|
|
3206
|
+
type OfficerTitle = (typeof OfficerTitle)[number];
|
|
3207
|
+
declare const PaymentMethod: readonly ["bank_transfer", "card", "check", "wire", "ach"];
|
|
3208
|
+
type PaymentMethod = (typeof PaymentMethod)[number];
|
|
3209
|
+
declare const PaymentStatus: readonly ["submitted", "processing", "completed", "failed"];
|
|
3210
|
+
type PaymentStatus = (typeof PaymentStatus)[number];
|
|
3211
|
+
declare const PayrollStatus: readonly ["pending", "processing", "completed"];
|
|
3212
|
+
type PayrollStatus = (typeof PayrollStatus)[number];
|
|
3213
|
+
declare const PositionStatus: readonly ["active", "closed"];
|
|
3214
|
+
type PositionStatus = (typeof PositionStatus)[number];
|
|
3215
|
+
declare const QuorumStatus: readonly ["unknown", "met", "not_met"];
|
|
3216
|
+
type QuorumStatus = (typeof QuorumStatus)[number];
|
|
3217
|
+
declare const QuorumThreshold: readonly ["majority", "supermajority", "unanimous"];
|
|
3218
|
+
type QuorumThreshold = (typeof QuorumThreshold)[number];
|
|
3219
|
+
declare const ReceiptStatus: readonly ["pending", "executed", "failed"];
|
|
3220
|
+
type ReceiptStatus = (typeof ReceiptStatus)[number];
|
|
3221
|
+
declare const ReconciliationStatus: readonly ["balanced", "discrepancy"];
|
|
3222
|
+
type ReconciliationStatus = (typeof ReconciliationStatus)[number];
|
|
3223
|
+
declare const Recurrence: readonly ["one_time", "monthly", "quarterly", "annual"];
|
|
3224
|
+
type Recurrence = (typeof Recurrence)[number];
|
|
3225
|
+
declare const ResolutionType: readonly ["ordinary", "special", "unanimous_written_consent"];
|
|
3226
|
+
type ResolutionType = (typeof ResolutionType)[number];
|
|
3227
|
+
declare const RiskLevel: readonly ["low", "medium", "high"];
|
|
3228
|
+
type RiskLevel = (typeof RiskLevel)[number];
|
|
3229
|
+
declare const Scope: readonly ["formation_create", "formation_read", "formation_sign", "equity_read", "equity_write", "equity_transfer", "governance_read", "governance_write", "governance_vote", "treasury_read", "treasury_write", "treasury_approve", "contacts_read", "contacts_write", "execution_read", "execution_write", "branch_create", "branch_merge", "branch_delete", "admin", "internal_worker_read", "internal_worker_write", "secrets_manage", "all"];
|
|
3230
|
+
type Scope = (typeof Scope)[number];
|
|
3231
|
+
declare const SeatRole: readonly ["chair", "member", "officer", "observer"];
|
|
3232
|
+
type SeatRole = (typeof SeatRole)[number];
|
|
3233
|
+
declare const SeatStatus: readonly ["active", "resigned", "expired"];
|
|
3234
|
+
type SeatStatus = (typeof SeatStatus)[number];
|
|
3235
|
+
declare const Side: readonly ["debit", "credit"];
|
|
3236
|
+
type Side = (typeof Side)[number];
|
|
3237
|
+
declare const TaxFilingStatus: readonly ["pending", "filed", "accepted", "rejected"];
|
|
3238
|
+
type TaxFilingStatus = (typeof TaxFilingStatus)[number];
|
|
3239
|
+
declare const TransactionPacketStatus: readonly ["drafted", "ready_for_signature", "fully_signed", "executable", "executed", "failed"];
|
|
3240
|
+
type TransactionPacketStatus = (typeof TransactionPacketStatus)[number];
|
|
3241
|
+
declare const TransferStatus: readonly ["draft", "pending_bylaws_review", "pending_rofr", "pending_board_approval", "approved", "executed", "denied", "cancelled"];
|
|
3242
|
+
type TransferStatus = (typeof TransferStatus)[number];
|
|
3243
|
+
declare const TransferType: readonly ["gift", "trust_transfer", "secondary_sale", "estate", "other"];
|
|
3244
|
+
type TransferType = (typeof TransferType)[number];
|
|
3245
|
+
declare const TransfereeRights: readonly ["full_member", "economic_only", "limited"];
|
|
3246
|
+
type TransfereeRights = (typeof TransfereeRights)[number];
|
|
3247
|
+
declare const Transport: readonly ["stdio", "http"];
|
|
3248
|
+
type Transport = (typeof Transport)[number];
|
|
3249
|
+
declare const ValuationMethodology: readonly ["income", "market", "asset", "backsolve", "hybrid", "other"];
|
|
3250
|
+
type ValuationMethodology = (typeof ValuationMethodology)[number];
|
|
3251
|
+
declare const ValuationStatus: readonly ["draft", "pending_approval", "approved", "expired", "superseded"];
|
|
3252
|
+
type ValuationStatus = (typeof ValuationStatus)[number];
|
|
3253
|
+
declare const ValuationType: readonly ["four_oh_nine_a", "llc_profits_interest", "fair_market_value", "gift", "estate", "other"];
|
|
3254
|
+
type ValuationType = (typeof ValuationType)[number];
|
|
3255
|
+
declare const VoteValue: readonly ["for", "against", "abstain", "recusal"];
|
|
3256
|
+
type VoteValue = (typeof VoteValue)[number];
|
|
3257
|
+
declare const VotingMethod: readonly ["per_capita", "per_unit"];
|
|
3258
|
+
type VotingMethod = (typeof VotingMethod)[number];
|
|
3259
|
+
declare const WorkflowType: readonly ["transfer", "fundraising"];
|
|
3260
|
+
type WorkflowType = (typeof WorkflowType)[number];
|
|
3261
|
+
|
|
3262
|
+
export { type AcceptEquityRoundRequest, type AcceptRoundRequest, AccountType, type AddFounderRequest, type AddFounderResponse, type AddSecurityRequest, type AgendaItemResponse, AgendaItemStatus, AgendaItemType, type AgentResponse, AgentStatus, AntiDilutionMethod, type ApiRecord, type ApplyEquityRoundTermsRequest, type ApplyRoundTermsRequest, AssigneeType, type AttachResolutionDocumentRequest, AuthoritySource, AuthorityTier, BankAccountStatus, BankAccountType, type BoardApproveEquityRoundRequest, type BoardApproveRoundRequest, BodyStatus, BodyType, CapTableAccess, CapTableBasis, type CapTableHolderSummary, type CapTableInstrumentSummary, type CapTableResponse, type CastVoteRequest, ClassificationResult, type ComputeResolutionRequest, ContactCategory, type ContactProfileResponse, type ContactResponse, ContactStatus, ContactType, ContractStatus, ContractTemplateType, ControlType, type ConveneMeetingRequest, type ConvertEntityRequest, CorpAPIClient, type CorpConfig, type CreateAgentRequest, type CreateContactRequest, type CreateEquityRoundRequest, type CreateExecutionIntentRequest, type CreateFormationRequest, type CreatePendingFormationRequest, type CreateRoundRequest, Currency, DeadlineSeverity, DeadlineStatus, type DigestSummary, type DigestTriggerResponse, type DissolveEntityRequest, DistributionStatus, DistributionType, DocumentRequestStatus, type DocumentResponse, DocumentStatus, type DocumentSummary, DocumentType, EntityType, type EquityRoundResponse, EquityRoundStatus, EscalationStatus, type ExecuteRoundConversionRequest, type FinalizeAgendaItemRequest, type FormationGatesResponse, type FormationResponse, FormationState, FormationStatus, type FormationStatusResponse, type FormationWithCapTableResponse, GENERATED_TOOL_DEFINITIONS, GlAccountCode, GovernanceAuditEventType, type GovernanceBodyResponse, GovernanceMode, type GovernanceSeatResponse, GovernanceTriggerSource, GovernanceTriggerType, GoverningDocType, HolderType, HttpMethod, IncidentSeverity, IncidentStatus, InstrumentKind, InstrumentStatus, type IntentResponse, IntentStatus, InvestorType, type InvoiceResponse, InvoiceStatus, type IssueStagedRoundResponse, JournalEntryStatus, type LLMResponse, LegalEntityRole, type MeetingResponse, MeetingStatus, MeetingType, MemberRole, NetworkEgress, type ObligationResponse, ObligationStatus, type ObligationsSummaryResponse, OfficerTitle, PaymentMethod, PaymentStatus, PayrollStatus, type PendingFormationResponse, PositionStatus, type PreviewRoundConversionRequest, QuorumStatus, QuorumThreshold, READ_ONLY_TOOLS, ReceiptStatus, ReconciliationStatus, Recurrence, type ResolutionResponse, ResolutionType, RiskLevel, type RoundResponse, SYSTEM_PROMPT_BASE, type ScheduleMeetingRequest, Scope, SeatRole, SeatStatus, SessionExpiredError, Side, type StartStagedRoundRequest, TOOL_DEFINITIONS, TOOL_REGISTRY, TaxFilingStatus, type ToolCall, type ToolContext, TransactionPacketStatus, TransferStatus, TransferType, TransfereeRights, Transport, type UpdateAgentRequest, type UpdateContactRequest, ValuationMethodology, ValuationStatus, ValuationType, type VoteResponse, VoteValue, VotingMethod, WorkflowType, type WorkspaceContactSummary, type WorkspaceEntitySummary, type WorkspaceStatusResponse, type WrittenConsentRequest, type WrittenConsentResponse, describeToolCall, executeTool, formatConfigSection, isWriteTool, provisionWorkspace };
|