@thecorporation/corp-tools 26.3.7 → 26.3.10

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.js CHANGED
@@ -114,7 +114,7 @@ var CorpAPIClient = class {
114
114
  }
115
115
  // --- Entities ---
116
116
  listEntities() {
117
- return this.get(`/v1/workspaces/${this.workspaceId}/entities`);
117
+ return this.get("/v1/entities");
118
118
  }
119
119
  // --- Contacts ---
120
120
  listContacts(entityId) {
@@ -276,6 +276,15 @@ var CorpAPIClient = class {
276
276
  getSigningLink(documentId, entityId) {
277
277
  return this.get(`/v1/sign/${documentId}`, { entity_id: entityId });
278
278
  }
279
+ async validatePreviewPdf(entityId, documentId) {
280
+ const resp = await this.request("GET", "/v1/documents/preview/pdf", void 0, { entity_id: entityId, document_id: documentId });
281
+ await this.throwIfError(resp);
282
+ return { entity_id: entityId, document_id: documentId };
283
+ }
284
+ getPreviewPdfUrl(entityId, documentId) {
285
+ const qs = new URLSearchParams({ entity_id: entityId, document_id: documentId }).toString();
286
+ return `${this.apiUrl}/v1/documents/preview/pdf?${qs}`;
287
+ }
279
288
  // --- Finance ---
280
289
  createInvoice(data) {
281
290
  return this.post("/v1/treasury/invoices", data);
@@ -341,8 +350,8 @@ var CorpAPIClient = class {
341
350
  addFounder(entityId, data) {
342
351
  return this.post(`/v1/formations/${entityId}/founders`, data);
343
352
  }
344
- finalizeFormation(entityId) {
345
- return this.post(`/v1/formations/${entityId}/finalize`, {});
353
+ finalizeFormation(entityId, data = {}) {
354
+ return this.post(`/v1/formations/${entityId}/finalize`, data);
346
355
  }
347
356
  // --- Human obligations ---
348
357
  getHumanObligations() {
@@ -357,7 +366,12 @@ var CorpAPIClient = class {
357
366
  }
358
367
  // --- Entities writes ---
359
368
  convertEntity(entityId, data) {
360
- return this.post(`/v1/entities/${entityId}/convert`, data);
369
+ const body = {
370
+ target_type: data.target_type ?? data.new_entity_type
371
+ };
372
+ const jurisdiction = data.jurisdiction ?? data.new_jurisdiction;
373
+ if (jurisdiction) body.jurisdiction = jurisdiction;
374
+ return this.post(`/v1/entities/${entityId}/convert`, body);
361
375
  }
362
376
  dissolveEntity(entityId, data) {
363
377
  return this.post(`/v1/entities/${entityId}/dissolve`, data);
@@ -394,6 +408,28 @@ var CorpAPIClient = class {
394
408
  createGovernanceSeat(bodyId, entityId, data) {
395
409
  return this.postWithParams(`/v1/governance-bodies/${bodyId}/seats`, data, { entity_id: entityId });
396
410
  }
411
+ // --- Work Items ---
412
+ listWorkItems(entityId, params) {
413
+ return this.get(`/v1/entities/${entityId}/work-items`, params);
414
+ }
415
+ getWorkItem(entityId, workItemId) {
416
+ return this.get(`/v1/entities/${entityId}/work-items/${workItemId}`);
417
+ }
418
+ createWorkItem(entityId, data) {
419
+ return this.post(`/v1/entities/${entityId}/work-items`, data);
420
+ }
421
+ claimWorkItem(entityId, workItemId, data) {
422
+ return this.post(`/v1/entities/${entityId}/work-items/${workItemId}/claim`, data);
423
+ }
424
+ completeWorkItem(entityId, workItemId, data) {
425
+ return this.post(`/v1/entities/${entityId}/work-items/${workItemId}/complete`, data);
426
+ }
427
+ releaseWorkItem(entityId, workItemId) {
428
+ return this.post(`/v1/entities/${entityId}/work-items/${workItemId}/release`, {});
429
+ }
430
+ cancelWorkItem(entityId, workItemId) {
431
+ return this.post(`/v1/entities/${entityId}/work-items/${workItemId}/cancel`, {});
432
+ }
397
433
  // --- API Keys ---
398
434
  listApiKeys() {
399
435
  return this.get("/v1/api-keys", { workspace_id: this.workspaceId });
@@ -427,17 +463,21 @@ var GENERATED_TOOL_DEFINITIONS = [
427
463
  "type": "function",
428
464
  "function": {
429
465
  "name": "workspace",
430
- "description": "Workspace-level queries. Actions: status (get workspace summary), list_entities (list all entities), obligations (list obligations, optional tier filter), billing (get billing status and plans).",
466
+ "description": "Workspace-level queries. Actions: status (get workspace summary), list_entities (list all entities), obligations (list obligations, optional tier filter), billing (get billing status and plans), checkout (create Stripe checkout URL \u2014 requires plan_id), portal (get Stripe billing portal URL for managing subscription).",
431
467
  "parameters": {
432
468
  "type": "object",
433
469
  "properties": {
434
470
  "action": {
435
471
  "type": "string",
436
- "enum": ["status", "list_entities", "obligations", "billing"]
472
+ "enum": ["status", "list_entities", "obligations", "billing", "checkout", "portal"]
437
473
  },
438
474
  "tier": {
439
475
  "type": "string",
440
476
  "description": "obligations: filter by urgency tier"
477
+ },
478
+ "plan_id": {
479
+ "type": "string",
480
+ "description": "checkout: plan to subscribe to (pro, enterprise)"
441
481
  }
442
482
  },
443
483
  "required": ["action"]
@@ -448,7 +488,7 @@ var GENERATED_TOOL_DEFINITIONS = [
448
488
  "type": "function",
449
489
  "function": {
450
490
  "name": "entity",
451
- "description": "Entity reads and lifecycle. Actions: get_cap_table (entity_id), list_documents (entity_id), list_safe_notes (entity_id), form (entity_type + entity_name + jurisdiction + members \u2014 legacy one-shot formation), create (entity_type + entity_name \u2014 step 1 of staged formation), add_founder (entity_id + name + email + role + ownership_pct \u2014 step 2), finalize (entity_id \u2014 step 3, generates docs + cap table), convert (entity_id + target_type), dissolve (entity_id + reason).",
491
+ "description": "Entity reads and lifecycle. Actions: get_cap_table (entity_id), list_documents (entity_id), list_safe_notes (entity_id), form (entity_type + entity_name + jurisdiction + members \u2014 legacy one-shot formation), create (entity_type + entity_name + optional registered agent and company metadata \u2014 step 1 of staged formation), add_founder (entity_id + name + email + role + ownership_pct + optional founder address/officer data \u2014 step 2), finalize (entity_id + optional registered agent/company/share metadata \u2014 step 3, generates docs + cap table), convert (entity_id + target_type), dissolve (entity_id + reason).",
452
492
  "parameters": {
453
493
  "type": "object",
454
494
  "properties": {
@@ -460,10 +500,15 @@ var GENERATED_TOOL_DEFINITIONS = [
460
500
  "entity_type": { "type": "string", "enum": ["llc", "c_corp"] },
461
501
  "entity_name": { "type": "string" },
462
502
  "jurisdiction": { "type": "string", "description": "e.g. US-DE, US-WY. Defaults to US-WY for LLC, US-DE for corporation." },
463
- "fiscal_year_end": { "type": "string", "description": "form: fiscal year end e.g. '12-31'" },
464
- "s_corp_election": { "type": "boolean", "description": "form: elect S-Corp tax treatment" },
465
- "transfer_restrictions": { "type": "boolean", "description": "form: include transfer restrictions in bylaws (corp)" },
466
- "right_of_first_refusal": { "type": "boolean", "description": "form: include ROFR in bylaws (corp)" },
503
+ "registered_agent_name": { "type": "string", "description": "create/finalize: registered agent legal name" },
504
+ "registered_agent_address": { "type": "string", "description": "create/finalize: registered agent street/city/state/zip line" },
505
+ "formation_date": { "type": "string", "description": "create/finalize/form: RFC3339 or YYYY-MM-DD formation date" },
506
+ "fiscal_year_end": { "type": "string", "description": "create/finalize/form: fiscal year end e.g. '12-31'" },
507
+ "s_corp_election": { "type": "boolean", "description": "create/finalize/form: elect S-Corp tax treatment" },
508
+ "transfer_restrictions": { "type": "boolean", "description": "create/finalize/form: include transfer restrictions in bylaws (corp)" },
509
+ "right_of_first_refusal": { "type": "boolean", "description": "create/finalize/form: include ROFR in bylaws (corp)" },
510
+ "authorized_shares": { "type": "integer", "description": "finalize: authorized shares for corporations" },
511
+ "par_value": { "type": "string", "description": "finalize: par value per share, e.g. 0.0001" },
467
512
  "company_address": {
468
513
  "type": "object",
469
514
  "properties": {
@@ -523,6 +568,17 @@ var GENERATED_TOOL_DEFINITIONS = [
523
568
  "ownership_pct": { "type": "number", "description": "add_founder: ownership percentage (e.g. 50 for 50%)" },
524
569
  "officer_title": { "type": "string", "enum": ["ceo", "cfo", "secretary", "president", "vp", "other"], "description": "add_founder: officer title (corp only)" },
525
570
  "is_incorporator": { "type": "boolean", "description": "add_founder: is sole incorporator (corp only)" },
571
+ "address": {
572
+ "type": "object",
573
+ "description": "add_founder: founder mailing address",
574
+ "properties": {
575
+ "street": { "type": "string" },
576
+ "street2": { "type": "string" },
577
+ "city": { "type": "string" },
578
+ "state": { "type": "string" },
579
+ "zip": { "type": "string" }
580
+ }
581
+ },
526
582
  "target_type": { "type": "string", "enum": ["llc", "c_corp"], "description": "convert: target entity type" },
527
583
  "new_jurisdiction": { "type": "string", "description": "convert: target jurisdiction" },
528
584
  "reason": { "type": "string", "description": "dissolve: dissolution reason" },
@@ -747,6 +803,37 @@ var GENERATED_TOOL_DEFINITIONS = [
747
803
  }
748
804
  }
749
805
  },
806
+ {
807
+ "type": "function",
808
+ "function": {
809
+ "name": "work_item",
810
+ "description": "Long-term work item coordination stored in entity repos. Agents claim items with TTL, complete them, or release/cancel. Actions: list (entity_id, optional status filter), get (entity_id + work_item_id), create (entity_id + title + category + optional deadline/asap/description/metadata/created_by), claim (entity_id + work_item_id + claimed_by + optional ttl_seconds), complete (entity_id + work_item_id + completed_by + optional result), release (entity_id + work_item_id \u2014 release a claim), cancel (entity_id + work_item_id).",
811
+ "parameters": {
812
+ "type": "object",
813
+ "properties": {
814
+ "action": {
815
+ "type": "string",
816
+ "enum": ["list", "get", "create", "claim", "complete", "release", "cancel"]
817
+ },
818
+ "entity_id": { "type": "string", "description": "All actions: entity ID" },
819
+ "work_item_id": { "type": "string", "description": "get/claim/complete/release/cancel: work item ID" },
820
+ "title": { "type": "string", "description": "create: work item title" },
821
+ "category": { "type": "string", "description": "create/list: work item category" },
822
+ "description": { "type": "string", "description": "create: work item description" },
823
+ "deadline": { "type": "string", "description": "create: deadline date (YYYY-MM-DD)" },
824
+ "asap": { "type": "boolean", "description": "create: mark as ASAP priority" },
825
+ "metadata": { "type": "object", "description": "create: arbitrary metadata" },
826
+ "created_by": { "type": "string", "description": "create: creator identifier" },
827
+ "claimed_by": { "type": "string", "description": "claim: agent or user identifier" },
828
+ "ttl_seconds": { "type": "integer", "description": "claim: auto-release TTL in seconds" },
829
+ "completed_by": { "type": "string", "description": "complete: agent or user identifier" },
830
+ "result": { "type": "string", "description": "complete: completion result/notes" },
831
+ "status": { "type": "string", "enum": ["open", "claimed", "completed", "cancelled"], "description": "list: filter by effective status" }
832
+ },
833
+ "required": ["action"]
834
+ }
835
+ }
836
+ },
750
837
  {
751
838
  "type": "function",
752
839
  "function": {
@@ -789,6 +876,13 @@ var workspaceActions = {
789
876
  billing: async (_args, client) => {
790
877
  const [status, plans] = await Promise.all([client.getBillingStatus(), client.getBillingPlans()]);
791
878
  return { status, plans };
879
+ },
880
+ checkout: async (args, client) => {
881
+ const planId = requiredString(args, "plan_id");
882
+ return client.createBillingCheckout(planId);
883
+ },
884
+ portal: async (_args, client) => {
885
+ return client.createBillingPortal();
792
886
  }
793
887
  };
794
888
  var entityActions = {
@@ -804,27 +898,43 @@ var entityActions = {
804
898
  return client.createPendingEntity({
805
899
  entity_type: entityType,
806
900
  legal_name: args.entity_name,
807
- jurisdiction
901
+ jurisdiction,
902
+ registered_agent_name: args.registered_agent_name,
903
+ registered_agent_address: args.registered_agent_address,
904
+ formation_date: args.formation_date,
905
+ fiscal_year_end: args.fiscal_year_end,
906
+ s_corp_election: args.s_corp_election,
907
+ transfer_restrictions: args.transfer_restrictions,
908
+ right_of_first_refusal: args.right_of_first_refusal,
909
+ company_address: args.company_address
808
910
  });
809
911
  },
810
912
  add_founder: async (args, client) => {
811
913
  const entityId = requiredString(args, "entity_id");
812
- let ownershipPct = args.ownership_pct;
813
- if (typeof ownershipPct === "number" && ownershipPct > 1) {
814
- ownershipPct = ownershipPct / 100;
815
- }
816
914
  return client.addFounder(entityId, {
817
915
  name: args.name,
818
916
  email: args.email,
819
917
  role: args.role,
820
- ownership_pct: ownershipPct,
918
+ ownership_pct: args.ownership_pct,
821
919
  officer_title: args.officer_title,
822
- is_incorporator: args.is_incorporator
920
+ is_incorporator: args.is_incorporator,
921
+ address: args.address
823
922
  });
824
923
  },
825
924
  finalize: async (args, client, ctx) => {
826
925
  const entityId = requiredString(args, "entity_id");
827
- const result = await client.finalizeFormation(entityId);
926
+ const result = await client.finalizeFormation(entityId, {
927
+ authorized_shares: args.authorized_shares,
928
+ par_value: args.par_value,
929
+ registered_agent_name: args.registered_agent_name,
930
+ registered_agent_address: args.registered_agent_address,
931
+ formation_date: args.formation_date,
932
+ fiscal_year_end: args.fiscal_year_end,
933
+ s_corp_election: args.s_corp_election,
934
+ transfer_restrictions: args.transfer_restrictions,
935
+ right_of_first_refusal: args.right_of_first_refusal,
936
+ company_address: args.company_address
937
+ });
828
938
  if (entityId && ctx.onEntityFormed) {
829
939
  ctx.onEntityFormed(entityId);
830
940
  }
@@ -840,9 +950,6 @@ var entityActions = {
840
950
  if (!members.length) return { error: "Members are required." };
841
951
  for (const m of members) {
842
952
  if (!m.investor_type) m.investor_type = "natural_person";
843
- if (typeof m.ownership_pct === "number" && m.ownership_pct > 1) {
844
- m.ownership_pct = m.ownership_pct / 100;
845
- }
846
953
  }
847
954
  const result = await client.createFormationWithCapTable({
848
955
  entity_type: entityType,
@@ -1144,6 +1251,46 @@ var checklistActions = {
1144
1251
  return { status: "updated", checklist: args.checklist };
1145
1252
  }
1146
1253
  };
1254
+ var workItemActions = {
1255
+ list: async (args, client) => client.listWorkItems(requiredString(args, "entity_id"), args.status ? { status: args.status } : void 0),
1256
+ get: async (args, client) => client.getWorkItem(requiredString(args, "entity_id"), requiredString(args, "work_item_id")),
1257
+ create: async (args, client) => {
1258
+ const data = {
1259
+ title: requiredString(args, "title"),
1260
+ category: requiredString(args, "category")
1261
+ };
1262
+ if (args.description) data.description = args.description;
1263
+ if (args.deadline) data.deadline = args.deadline;
1264
+ if (args.asap != null) data.asap = args.asap;
1265
+ if (args.metadata) data.metadata = args.metadata;
1266
+ if (args.created_by) data.created_by = args.created_by;
1267
+ return client.createWorkItem(requiredString(args, "entity_id"), data);
1268
+ },
1269
+ claim: async (args, client) => {
1270
+ const data = {
1271
+ claimed_by: requiredString(args, "claimed_by")
1272
+ };
1273
+ if (args.ttl_seconds != null) data.ttl_seconds = args.ttl_seconds;
1274
+ return client.claimWorkItem(
1275
+ requiredString(args, "entity_id"),
1276
+ requiredString(args, "work_item_id"),
1277
+ data
1278
+ );
1279
+ },
1280
+ complete: async (args, client) => {
1281
+ const data = {
1282
+ completed_by: requiredString(args, "completed_by")
1283
+ };
1284
+ if (args.result) data.result = args.result;
1285
+ return client.completeWorkItem(
1286
+ requiredString(args, "entity_id"),
1287
+ requiredString(args, "work_item_id"),
1288
+ data
1289
+ );
1290
+ },
1291
+ release: async (args, client) => client.releaseWorkItem(requiredString(args, "entity_id"), requiredString(args, "work_item_id")),
1292
+ cancel: async (args, client) => client.cancelWorkItem(requiredString(args, "entity_id"), requiredString(args, "work_item_id"))
1293
+ };
1147
1294
  var agentActions = {
1148
1295
  list: async (_args, client) => client.listAgents(),
1149
1296
  create: async (args, client) => client.createAgent(args),
@@ -1161,6 +1308,7 @@ var TOOL_DISPATCH = {
1161
1308
  compliance: complianceActions,
1162
1309
  document: documentActions,
1163
1310
  checklist: checklistActions,
1311
+ work_item: workItemActions,
1164
1312
  agent: agentActions
1165
1313
  };
1166
1314
  var TOOL_DEFINITIONS = GENERATED_TOOL_DEFINITIONS;
@@ -1179,6 +1327,8 @@ var READ_ONLY_ACTIONS = /* @__PURE__ */ new Set([
1179
1327
  "checklist:get",
1180
1328
  "meeting:list_items",
1181
1329
  "meeting:list_votes",
1330
+ "work_item:list",
1331
+ "work_item:get",
1182
1332
  "agent:list"
1183
1333
  ]);
1184
1334
  function isWriteTool(name, args) {
@@ -1488,14 +1638,184 @@ var READ_ONLY_TOOLS = /* @__PURE__ */ new Set([
1488
1638
  "workspace",
1489
1639
  "checklist"
1490
1640
  ]);
1641
+
1642
+ // src/api-enums.generated.ts
1643
+ var AccountType = ["asset", "liability", "equity", "revenue", "expense"];
1644
+ var AgendaItemStatus = ["pending", "discussed", "voted", "tabled", "withdrawn"];
1645
+ var AgendaItemType = ["resolution", "discussion", "report", "election"];
1646
+ var AgentStatus = ["active", "paused", "disabled"];
1647
+ var AntiDilutionMethod = ["none", "broad_based_weighted_average", "narrow_based_weighted_average", "full_ratchet"];
1648
+ var AssigneeType = ["internal", "third_party", "human"];
1649
+ var AuthoritySource = ["law", "charter", "governance_docs", "resolution", "directive", "standing_instruction", "delegation_schedule", "heuristic"];
1650
+ var AuthorityTier = ["tier_1", "tier_2", "tier_3"];
1651
+ var BankAccountStatus = ["pending_review", "active", "closed"];
1652
+ var BankAccountType = ["checking", "savings"];
1653
+ var BodyStatus = ["active", "inactive"];
1654
+ var BodyType = ["board_of_directors", "llc_member_vote"];
1655
+ var CapTableAccess = ["none", "summary", "detailed"];
1656
+ var CapTableBasis = ["outstanding", "as_converted", "fully_diluted"];
1657
+ var ClassificationResult = ["independent", "employee", "uncertain"];
1658
+ var ContactCategory = ["employee", "contractor", "board_member", "law_firm", "valuation_firm", "accounting_firm", "investor", "officer", "founder", "member", "other"];
1659
+ var ContactStatus = ["active", "inactive"];
1660
+ var ContactType = ["individual", "organization"];
1661
+ var ContractStatus = ["draft", "active", "expired", "terminated"];
1662
+ var ContractTemplateType = ["consulting_agreement", "employment_offer", "contractor_agreement", "nda", "custom"];
1663
+ var ControlType = ["voting", "board", "economic", "contractual"];
1664
+ var Currency = ["usd"];
1665
+ var DeadlineSeverity = ["low", "medium", "high", "critical"];
1666
+ var DeadlineStatus = ["upcoming", "due", "completed", "overdue"];
1667
+ var DistributionStatus = ["pending", "approved", "distributed"];
1668
+ var DistributionType = ["dividend", "return", "liquidation"];
1669
+ var DocumentRequestStatus = ["requested", "provided", "not_applicable", "waived"];
1670
+ var DocumentStatus = ["draft", "signed", "amended", "filed"];
1671
+ var DocumentType = ["articles_of_incorporation", "articles_of_organization", "bylaws", "operating_agreement", "ss4_application", "meeting_notice", "resolution", "safe_agreement"];
1672
+ var EntityType = ["corporation", "llc"];
1673
+ var EquityRoundStatus = ["draft", "open", "board_approved", "accepted", "closed", "cancelled"];
1674
+ var EscalationStatus = ["open", "resolved"];
1675
+ var FormationState = ["forming", "active"];
1676
+ var FormationStatus = ["pending", "documents_generated", "documents_signed", "filing_submitted", "filed", "ein_applied", "active", "rejected", "dissolved"];
1677
+ var GlAccountCode = ["Cash", "AccountsReceivable", "AccountsPayable", "AccruedExpenses", "FounderCapital", "Revenue", "OperatingExpenses", "Cogs"];
1678
+ var GovernanceAuditEventType = ["mode_changed", "lockdown_trigger_applied", "manual_event", "checkpoint_written", "chain_verified", "chain_verification_failed"];
1679
+ var GovernanceMode = ["normal", "principal_unavailable", "incident_lockdown"];
1680
+ var GovernanceTriggerSource = ["compliance_scanner", "execution_gate", "external_ingestion"];
1681
+ var GovernanceTriggerType = ["external_signal", "policy_evidence_mismatch", "compliance_deadline_missed_d_plus_1", "audit_chain_verification_failed"];
1682
+ var GoverningDocType = ["bylaws", "operating_agreement", "shareholder_agreement", "other"];
1683
+ var HolderType = ["individual", "organization", "fund", "nonprofit", "trust", "other"];
1684
+ var HttpMethod = ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"];
1685
+ var IncidentSeverity = ["low", "medium", "high", "critical"];
1686
+ var IncidentStatus = ["open", "resolved"];
1687
+ var InstrumentKind = ["common_equity", "preferred_equity", "membership_unit", "option_grant", "safe", "convertible_note", "warrant"];
1688
+ var InstrumentStatus = ["active", "closed", "cancelled"];
1689
+ var IntentStatus = ["pending", "evaluated", "authorized", "executed", "failed", "cancelled"];
1690
+ var InvestorType = ["natural_person", "agent", "entity"];
1691
+ var InvoiceStatus = ["draft", "sent", "paid", "voided"];
1692
+ var JournalEntryStatus = ["draft", "posted", "voided"];
1693
+ var LegalEntityRole = ["operating", "control", "investment", "nonprofit", "spv", "other"];
1694
+ var MeetingStatus = ["draft", "noticed", "convened", "adjourned", "cancelled"];
1695
+ var MeetingType = ["board_meeting", "shareholder_meeting", "written_consent", "member_meeting"];
1696
+ var MemberRole = ["director", "officer", "manager", "member", "chair"];
1697
+ var NetworkEgress = ["restricted", "open"];
1698
+ var ObligationStatus = ["required", "in_progress", "fulfilled", "waived", "expired"];
1699
+ var OfficerTitle = ["ceo", "cfo", "secretary", "president", "vp", "other"];
1700
+ var PaymentMethod = ["bank_transfer", "card", "check", "wire", "ach"];
1701
+ var PaymentStatus = ["submitted", "processing", "completed", "failed"];
1702
+ var PayrollStatus = ["pending", "processing", "completed"];
1703
+ var PositionStatus = ["active", "closed"];
1704
+ var QuorumStatus = ["unknown", "met", "not_met"];
1705
+ var QuorumThreshold = ["majority", "supermajority", "unanimous"];
1706
+ var ReceiptStatus = ["pending", "executed", "failed"];
1707
+ var ReconciliationStatus = ["balanced", "discrepancy"];
1708
+ var Recurrence = ["one_time", "monthly", "quarterly", "annual"];
1709
+ var ResolutionType = ["ordinary", "special", "unanimous_written_consent"];
1710
+ var RiskLevel = ["low", "medium", "high"];
1711
+ var 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"];
1712
+ var SeatRole = ["chair", "member", "officer", "observer"];
1713
+ var SeatStatus = ["active", "resigned", "expired"];
1714
+ var Side = ["debit", "credit"];
1715
+ var TaxFilingStatus = ["pending", "filed", "accepted", "rejected"];
1716
+ var TransactionPacketStatus = ["drafted", "ready_for_signature", "fully_signed", "executable", "executed", "failed"];
1717
+ var TransferStatus = ["draft", "pending_bylaws_review", "pending_rofr", "pending_board_approval", "approved", "executed", "denied", "cancelled"];
1718
+ var TransferType = ["gift", "trust_transfer", "secondary_sale", "estate", "other"];
1719
+ var TransfereeRights = ["full_member", "economic_only", "limited"];
1720
+ var Transport = ["stdio", "http"];
1721
+ var ValuationMethodology = ["income", "market", "asset", "backsolve", "hybrid", "other"];
1722
+ var ValuationStatus = ["draft", "pending_approval", "approved", "expired", "superseded"];
1723
+ var ValuationType = ["four_oh_nine_a", "llc_profits_interest", "fair_market_value", "gift", "estate", "other"];
1724
+ var VoteValue = ["for", "against", "abstain", "recusal"];
1725
+ var VotingMethod = ["per_capita", "per_unit"];
1726
+ var WorkflowType = ["transfer", "fundraising"];
1491
1727
  export {
1728
+ AccountType,
1729
+ AgendaItemStatus,
1730
+ AgendaItemType,
1731
+ AgentStatus,
1732
+ AntiDilutionMethod,
1733
+ AssigneeType,
1734
+ AuthoritySource,
1735
+ AuthorityTier,
1736
+ BankAccountStatus,
1737
+ BankAccountType,
1738
+ BodyStatus,
1739
+ BodyType,
1740
+ CapTableAccess,
1741
+ CapTableBasis,
1742
+ ClassificationResult,
1743
+ ContactCategory,
1744
+ ContactStatus,
1745
+ ContactType,
1746
+ ContractStatus,
1747
+ ContractTemplateType,
1748
+ ControlType,
1492
1749
  CorpAPIClient,
1750
+ Currency,
1751
+ DeadlineSeverity,
1752
+ DeadlineStatus,
1753
+ DistributionStatus,
1754
+ DistributionType,
1755
+ DocumentRequestStatus,
1756
+ DocumentStatus,
1757
+ DocumentType,
1758
+ EntityType,
1759
+ EquityRoundStatus,
1760
+ EscalationStatus,
1761
+ FormationState,
1762
+ FormationStatus,
1493
1763
  GENERATED_TOOL_DEFINITIONS,
1764
+ GlAccountCode,
1765
+ GovernanceAuditEventType,
1766
+ GovernanceMode,
1767
+ GovernanceTriggerSource,
1768
+ GovernanceTriggerType,
1769
+ GoverningDocType,
1770
+ HolderType,
1771
+ HttpMethod,
1772
+ IncidentSeverity,
1773
+ IncidentStatus,
1774
+ InstrumentKind,
1775
+ InstrumentStatus,
1776
+ IntentStatus,
1777
+ InvestorType,
1778
+ InvoiceStatus,
1779
+ JournalEntryStatus,
1780
+ LegalEntityRole,
1781
+ MeetingStatus,
1782
+ MeetingType,
1783
+ MemberRole,
1784
+ NetworkEgress,
1785
+ ObligationStatus,
1786
+ OfficerTitle,
1787
+ PaymentMethod,
1788
+ PaymentStatus,
1789
+ PayrollStatus,
1790
+ PositionStatus,
1791
+ QuorumStatus,
1792
+ QuorumThreshold,
1494
1793
  READ_ONLY_TOOLS,
1794
+ ReceiptStatus,
1795
+ ReconciliationStatus,
1796
+ Recurrence,
1797
+ ResolutionType,
1798
+ RiskLevel,
1495
1799
  SYSTEM_PROMPT_BASE,
1800
+ Scope,
1801
+ SeatRole,
1802
+ SeatStatus,
1496
1803
  SessionExpiredError,
1804
+ Side,
1497
1805
  TOOL_DEFINITIONS,
1498
1806
  TOOL_REGISTRY,
1807
+ TaxFilingStatus,
1808
+ TransactionPacketStatus,
1809
+ TransferStatus,
1810
+ TransferType,
1811
+ TransfereeRights,
1812
+ Transport,
1813
+ ValuationMethodology,
1814
+ ValuationStatus,
1815
+ ValuationType,
1816
+ VoteValue,
1817
+ VotingMethod,
1818
+ WorkflowType,
1499
1819
  describeToolCall,
1500
1820
  executeTool,
1501
1821
  formatConfigSection,