@thecorporation/corp-tools 26.3.18 → 26.3.21
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 +191 -7
- package/dist/index.js +158 -68
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ interface CorpConfig {
|
|
|
15
15
|
};
|
|
16
16
|
active_entity_id: string;
|
|
17
17
|
active_entity_ids?: Record<string, string>;
|
|
18
|
+
last_references?: Record<string, string>;
|
|
18
19
|
[key: string]: unknown;
|
|
19
20
|
}
|
|
20
21
|
interface ToolCall {
|
|
@@ -337,6 +338,34 @@ type components = {
|
|
|
337
338
|
* @enum {string}
|
|
338
339
|
*/
|
|
339
340
|
BankAccountType: "checking" | "savings";
|
|
341
|
+
BillingCheckoutRequest: {
|
|
342
|
+
entity_id?: null | components["schemas"]["EntityId"];
|
|
343
|
+
plan_id: string;
|
|
344
|
+
};
|
|
345
|
+
BillingCheckoutResponse: {
|
|
346
|
+
checkout_url: string;
|
|
347
|
+
plan: string;
|
|
348
|
+
status: string;
|
|
349
|
+
};
|
|
350
|
+
BillingPlanResponse: {
|
|
351
|
+
interval: string;
|
|
352
|
+
name: string;
|
|
353
|
+
plan_id: string;
|
|
354
|
+
/** Format: int64 */
|
|
355
|
+
price_cents: number;
|
|
356
|
+
};
|
|
357
|
+
BillingPlansResponse: {
|
|
358
|
+
plans: components["schemas"]["BillingPlanResponse"][];
|
|
359
|
+
};
|
|
360
|
+
BillingPortalResponse: {
|
|
361
|
+
portal_url: string;
|
|
362
|
+
};
|
|
363
|
+
BillingStatusResponse: {
|
|
364
|
+
current_period_end?: string | null;
|
|
365
|
+
plan: string;
|
|
366
|
+
status: string;
|
|
367
|
+
workspace_id: components["schemas"]["WorkspaceId"];
|
|
368
|
+
};
|
|
340
369
|
BindApprovalArtifactRequest: {
|
|
341
370
|
approval_artifact_id: components["schemas"]["ApprovalArtifactId"];
|
|
342
371
|
entity_id: components["schemas"]["EntityId"];
|
|
@@ -477,7 +506,8 @@ type components = {
|
|
|
477
506
|
entity_id: components["schemas"]["EntityId"];
|
|
478
507
|
};
|
|
479
508
|
ClaimWorkItemRequest: {
|
|
480
|
-
claimed_by
|
|
509
|
+
claimed_by?: string | null;
|
|
510
|
+
claimed_by_actor?: null | components["schemas"]["WorkItemActorRefRequest"];
|
|
481
511
|
/** Format: int64 */
|
|
482
512
|
ttl_seconds?: number | null;
|
|
483
513
|
};
|
|
@@ -500,8 +530,14 @@ type components = {
|
|
|
500
530
|
ClassificationResult: "independent" | "employee" | "uncertain";
|
|
501
531
|
ClassifyContractorRequest: {
|
|
502
532
|
contractor_name: string;
|
|
533
|
+
/** Format: int32 */
|
|
534
|
+
duration_months?: number | null;
|
|
503
535
|
entity_id: components["schemas"]["EntityId"];
|
|
536
|
+
exclusive_client?: boolean | null;
|
|
504
537
|
factors?: Record<string, never>;
|
|
538
|
+
/** Format: int32 */
|
|
539
|
+
hours_per_week?: number | null;
|
|
540
|
+
provides_tools?: boolean | null;
|
|
505
541
|
state?: string;
|
|
506
542
|
};
|
|
507
543
|
CompanyAddress: {
|
|
@@ -517,7 +553,8 @@ type components = {
|
|
|
517
553
|
required_signers?: string[];
|
|
518
554
|
};
|
|
519
555
|
CompleteWorkItemRequest: {
|
|
520
|
-
completed_by
|
|
556
|
+
completed_by?: string | null;
|
|
557
|
+
completed_by_actor?: null | components["schemas"]["WorkItemActorRefRequest"];
|
|
521
558
|
result?: string | null;
|
|
522
559
|
};
|
|
523
560
|
/** Format: uuid */
|
|
@@ -739,6 +776,7 @@ type components = {
|
|
|
739
776
|
branch: string;
|
|
740
777
|
};
|
|
741
778
|
CreateContactRequest: {
|
|
779
|
+
cap_table_access?: null | components["schemas"]["CapTableAccess"];
|
|
742
780
|
category: components["schemas"]["ContactCategory"];
|
|
743
781
|
contact_type: components["schemas"]["ContactType"];
|
|
744
782
|
email?: string | null;
|
|
@@ -746,6 +784,7 @@ type components = {
|
|
|
746
784
|
mailing_address?: string | null;
|
|
747
785
|
name: string;
|
|
748
786
|
notes?: string | null;
|
|
787
|
+
phone?: string | null;
|
|
749
788
|
};
|
|
750
789
|
CreateControlLinkRequest: {
|
|
751
790
|
child_legal_entity_id: components["schemas"]["LegalEntityId"];
|
|
@@ -966,6 +1005,24 @@ type components = {
|
|
|
966
1005
|
/** Format: int64 */
|
|
967
1006
|
target_raise_cents?: number | null;
|
|
968
1007
|
};
|
|
1008
|
+
CreateSafeNoteRequest: {
|
|
1009
|
+
conversion_unit_type?: string | null;
|
|
1010
|
+
/** Format: double */
|
|
1011
|
+
discount_rate?: number | null;
|
|
1012
|
+
document_id?: null | components["schemas"]["DocumentId"];
|
|
1013
|
+
email?: string | null;
|
|
1014
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1015
|
+
investor_contact_id?: null | components["schemas"]["ContactId"];
|
|
1016
|
+
investor_name: string;
|
|
1017
|
+
meeting_id?: null | components["schemas"]["MeetingId"];
|
|
1018
|
+
/** Format: int64 */
|
|
1019
|
+
principal_amount_cents: number;
|
|
1020
|
+
pro_rata_rights?: boolean;
|
|
1021
|
+
resolution_id?: null | components["schemas"]["ResolutionId"];
|
|
1022
|
+
safe_type?: null | components["schemas"]["SafeType"];
|
|
1023
|
+
/** Format: int64 */
|
|
1024
|
+
valuation_cap_cents?: number | null;
|
|
1025
|
+
};
|
|
969
1026
|
CreateSeatRequest: {
|
|
970
1027
|
/** Format: date */
|
|
971
1028
|
appointed_date?: string | null;
|
|
@@ -1022,6 +1079,7 @@ type components = {
|
|
|
1022
1079
|
asap?: boolean;
|
|
1023
1080
|
category: string;
|
|
1024
1081
|
created_by?: string | null;
|
|
1082
|
+
created_by_actor?: null | components["schemas"]["WorkItemActorRefRequest"];
|
|
1025
1083
|
/** Format: date */
|
|
1026
1084
|
deadline?: string | null;
|
|
1027
1085
|
description?: string | null;
|
|
@@ -1094,10 +1152,13 @@ type components = {
|
|
|
1094
1152
|
schedule: components["schemas"]["DelegationSchedule"];
|
|
1095
1153
|
};
|
|
1096
1154
|
DemoSeedRequest: {
|
|
1155
|
+
name?: string | null;
|
|
1097
1156
|
scenario?: string;
|
|
1098
1157
|
};
|
|
1099
1158
|
DemoSeedResponse: {
|
|
1100
1159
|
entities_created: number;
|
|
1160
|
+
entity_id: components["schemas"]["EntityId"];
|
|
1161
|
+
legal_name: string;
|
|
1101
1162
|
message: string;
|
|
1102
1163
|
scenario: string;
|
|
1103
1164
|
workspace_id: components["schemas"]["WorkspaceId"];
|
|
@@ -1132,6 +1193,8 @@ type components = {
|
|
|
1132
1193
|
name: string;
|
|
1133
1194
|
};
|
|
1134
1195
|
DissolveEntityRequest: {
|
|
1196
|
+
/** Format: date */
|
|
1197
|
+
effective_date?: string | null;
|
|
1135
1198
|
reason?: string | null;
|
|
1136
1199
|
};
|
|
1137
1200
|
/** Format: uuid */
|
|
@@ -1295,12 +1358,15 @@ type components = {
|
|
|
1295
1358
|
FinalizePendingFormationRequest: {
|
|
1296
1359
|
/** Format: int64 */
|
|
1297
1360
|
authorized_shares?: number | null;
|
|
1361
|
+
/** Format: int32 */
|
|
1362
|
+
board_size?: number | null;
|
|
1298
1363
|
company_address?: null | components["schemas"]["Address"];
|
|
1299
1364
|
fiscal_year_end?: string | null;
|
|
1300
1365
|
formation_date?: string | null;
|
|
1301
1366
|
incorporator_address?: string | null;
|
|
1302
1367
|
incorporator_name?: string | null;
|
|
1303
1368
|
par_value?: string | null;
|
|
1369
|
+
principal_name?: string | null;
|
|
1304
1370
|
registered_agent_address?: string | null;
|
|
1305
1371
|
registered_agent_name?: string | null;
|
|
1306
1372
|
right_of_first_refusal?: boolean | null;
|
|
@@ -1817,6 +1883,8 @@ type components = {
|
|
|
1817
1883
|
InvoiceStatus: "draft" | "sent" | "paid" | "voided";
|
|
1818
1884
|
IssueStagedRoundRequest: {
|
|
1819
1885
|
entity_id: components["schemas"]["EntityId"];
|
|
1886
|
+
meeting_id?: null | components["schemas"]["MeetingId"];
|
|
1887
|
+
resolution_id?: null | components["schemas"]["ResolutionId"];
|
|
1820
1888
|
};
|
|
1821
1889
|
IssueStagedRoundResponse: {
|
|
1822
1890
|
agenda_item_id?: null | components["schemas"]["AgendaItemId"];
|
|
@@ -1845,9 +1913,10 @@ type components = {
|
|
|
1845
1913
|
*/
|
|
1846
1914
|
JournalEntryStatus: "draft" | "posted" | "voided";
|
|
1847
1915
|
/**
|
|
1848
|
-
* @description A validated jurisdiction (e.g., "Delaware", "
|
|
1916
|
+
* @description A validated jurisdiction (e.g., "Delaware", "US-DE").
|
|
1849
1917
|
*
|
|
1850
|
-
* Guarantees: non-empty, at most 200 characters
|
|
1918
|
+
* Guarantees: non-empty, at most 200 characters, and matches a supported US
|
|
1919
|
+
* state or DC jurisdiction name/code.
|
|
1851
1920
|
*/
|
|
1852
1921
|
Jurisdiction: string;
|
|
1853
1922
|
JwksResponse: {
|
|
@@ -2269,7 +2338,11 @@ type components = {
|
|
|
2269
2338
|
ReconcileLedgerRequest: {
|
|
2270
2339
|
/** Format: date */
|
|
2271
2340
|
as_of_date?: string | null;
|
|
2341
|
+
/** Format: date */
|
|
2342
|
+
end_date?: string | null;
|
|
2272
2343
|
entity_id: components["schemas"]["EntityId"];
|
|
2344
|
+
/** Format: date */
|
|
2345
|
+
start_date?: string | null;
|
|
2273
2346
|
};
|
|
2274
2347
|
/** Format: uuid */
|
|
2275
2348
|
ReconciliationId: string;
|
|
@@ -2336,6 +2409,17 @@ type components = {
|
|
|
2336
2409
|
* @enum {string}
|
|
2337
2410
|
*/
|
|
2338
2411
|
Recurrence: "one_time" | "monthly" | "quarterly" | "annual";
|
|
2412
|
+
ReferenceHandleRecord: {
|
|
2413
|
+
created_at: string;
|
|
2414
|
+
entity_id?: null | components["schemas"]["EntityId"];
|
|
2415
|
+
handle: string;
|
|
2416
|
+
kind: components["schemas"]["ReferenceKind"];
|
|
2417
|
+
label: string;
|
|
2418
|
+
resource_id: string;
|
|
2419
|
+
updated_at: string;
|
|
2420
|
+
};
|
|
2421
|
+
/** @enum {string} */
|
|
2422
|
+
ReferenceKind: "entity" | "contact" | "share_transfer" | "invoice" | "bank_account" | "payment" | "payroll_run" | "distribution" | "reconciliation" | "tax_filing" | "deadline" | "classification" | "body" | "meeting" | "seat" | "agenda_item" | "resolution" | "document" | "work_item" | "agent" | "valuation" | "safe_note" | "instrument" | "share_class" | "round";
|
|
2339
2423
|
RegisteredAgentConsentEvidenceRequest: {
|
|
2340
2424
|
evidence_type?: string | null;
|
|
2341
2425
|
evidence_uri: string;
|
|
@@ -2432,6 +2516,44 @@ type components = {
|
|
|
2432
2516
|
conversion_precedence: components["schemas"]["InstrumentKind"][];
|
|
2433
2517
|
rule_set_id: components["schemas"]["EquityRuleSetId"];
|
|
2434
2518
|
};
|
|
2519
|
+
/** Format: uuid */
|
|
2520
|
+
SafeNoteId: string;
|
|
2521
|
+
SafeNoteResponse: {
|
|
2522
|
+
/** Format: int64 */
|
|
2523
|
+
conversion_price_cents?: number | null;
|
|
2524
|
+
/** Format: int64 */
|
|
2525
|
+
conversion_shares?: number | null;
|
|
2526
|
+
conversion_unit_type: string;
|
|
2527
|
+
converted_at?: string | null;
|
|
2528
|
+
created_at: string;
|
|
2529
|
+
/** Format: double */
|
|
2530
|
+
discount_rate?: number | null;
|
|
2531
|
+
document_id?: null | components["schemas"]["DocumentId"];
|
|
2532
|
+
entity_id: components["schemas"]["EntityId"];
|
|
2533
|
+
investor_contact_id?: null | components["schemas"]["ContactId"];
|
|
2534
|
+
investor_name: string;
|
|
2535
|
+
issued_at: string;
|
|
2536
|
+
meeting_id?: null | components["schemas"]["MeetingId"];
|
|
2537
|
+
/** Format: int64 */
|
|
2538
|
+
principal_amount_cents: number;
|
|
2539
|
+
pro_rata_rights: boolean;
|
|
2540
|
+
resolution_id?: null | components["schemas"]["ResolutionId"];
|
|
2541
|
+
safe_note_id: components["schemas"]["SafeNoteId"];
|
|
2542
|
+
safe_type: components["schemas"]["SafeType"];
|
|
2543
|
+
status: components["schemas"]["SafeStatus"];
|
|
2544
|
+
/** Format: int64 */
|
|
2545
|
+
valuation_cap_cents?: number | null;
|
|
2546
|
+
};
|
|
2547
|
+
/**
|
|
2548
|
+
* @description Lifecycle status of a SAFE note.
|
|
2549
|
+
* @enum {string}
|
|
2550
|
+
*/
|
|
2551
|
+
SafeStatus: "issued" | "converted" | "cancelled";
|
|
2552
|
+
/**
|
|
2553
|
+
* @description Type of SAFE note.
|
|
2554
|
+
* @enum {string}
|
|
2555
|
+
*/
|
|
2556
|
+
SafeType: "post_money" | "pre_money" | "mfn";
|
|
2435
2557
|
/**
|
|
2436
2558
|
* @description Per-agent sandbox (container) configuration.
|
|
2437
2559
|
*
|
|
@@ -2526,6 +2648,7 @@ type components = {
|
|
|
2526
2648
|
metadata?: Record<string, never>;
|
|
2527
2649
|
};
|
|
2528
2650
|
ServiceTokenResponse: {
|
|
2651
|
+
api_key_id: components["schemas"]["ApiKeyId"];
|
|
2529
2652
|
/** Format: int64 */
|
|
2530
2653
|
expires_in: number;
|
|
2531
2654
|
token: string;
|
|
@@ -2660,6 +2783,18 @@ type components = {
|
|
|
2660
2783
|
SubmitValuationForApprovalRequest: {
|
|
2661
2784
|
entity_id: components["schemas"]["EntityId"];
|
|
2662
2785
|
};
|
|
2786
|
+
SyncReferenceItem: {
|
|
2787
|
+
label: string;
|
|
2788
|
+
resource_id: string;
|
|
2789
|
+
};
|
|
2790
|
+
SyncReferencesRequest: {
|
|
2791
|
+
entity_id?: null | components["schemas"]["EntityId"];
|
|
2792
|
+
items: components["schemas"]["SyncReferenceItem"][];
|
|
2793
|
+
kind: components["schemas"]["ReferenceKind"];
|
|
2794
|
+
};
|
|
2795
|
+
SyncReferencesResponse: {
|
|
2796
|
+
references: components["schemas"]["ReferenceHandleRecord"][];
|
|
2797
|
+
};
|
|
2663
2798
|
SystemHealth: {
|
|
2664
2799
|
git_storage: string;
|
|
2665
2800
|
status: string;
|
|
@@ -2902,6 +3037,17 @@ type components = {
|
|
|
2902
3037
|
* @enum {string}
|
|
2903
3038
|
*/
|
|
2904
3039
|
VotingMethod: "per_capita" | "per_unit";
|
|
3040
|
+
WorkItemActorRefRequest: {
|
|
3041
|
+
actor_id: string;
|
|
3042
|
+
actor_type: components["schemas"]["WorkItemActorTypeValue"];
|
|
3043
|
+
};
|
|
3044
|
+
WorkItemActorResponse: {
|
|
3045
|
+
actor_id: string;
|
|
3046
|
+
actor_type: components["schemas"]["WorkItemActorTypeValue"];
|
|
3047
|
+
label: string;
|
|
3048
|
+
};
|
|
3049
|
+
/** @enum {string} */
|
|
3050
|
+
WorkItemActorTypeValue: "contact" | "agent";
|
|
2905
3051
|
/** Format: uuid */
|
|
2906
3052
|
WorkItemId: string;
|
|
2907
3053
|
WorkItemResponse: {
|
|
@@ -2911,10 +3057,13 @@ type components = {
|
|
|
2911
3057
|
claim_ttl_seconds?: number | null;
|
|
2912
3058
|
claimed_at?: string | null;
|
|
2913
3059
|
claimed_by?: string | null;
|
|
3060
|
+
claimed_by_actor?: null | components["schemas"]["WorkItemActorResponse"];
|
|
2914
3061
|
completed_at?: string | null;
|
|
2915
3062
|
completed_by?: string | null;
|
|
3063
|
+
completed_by_actor?: null | components["schemas"]["WorkItemActorResponse"];
|
|
2916
3064
|
created_at: string;
|
|
2917
3065
|
created_by?: string | null;
|
|
3066
|
+
created_by_actor?: null | components["schemas"]["WorkItemActorResponse"];
|
|
2918
3067
|
/** Format: date */
|
|
2919
3068
|
deadline?: string | null;
|
|
2920
3069
|
description: string;
|
|
@@ -3084,6 +3233,12 @@ declare class CorpAPIClient {
|
|
|
3084
3233
|
listDigests(): Promise<DigestSummary[]>;
|
|
3085
3234
|
triggerDigest(): Promise<DigestTriggerResponse>;
|
|
3086
3235
|
getDigest(key: string): Promise<DigestSummary>;
|
|
3236
|
+
syncReferences(kind: string, items: Array<{
|
|
3237
|
+
resource_id: string;
|
|
3238
|
+
label: string;
|
|
3239
|
+
}>, entityId?: string): Promise<{
|
|
3240
|
+
references: ApiRecord[];
|
|
3241
|
+
}>;
|
|
3087
3242
|
listEntities(): Promise<ApiRecord[]>;
|
|
3088
3243
|
listContacts(entityId: string): Promise<ApiRecord[]>;
|
|
3089
3244
|
getContact(id: string, entityId: string): Promise<ApiRecord>;
|
|
@@ -3095,7 +3250,7 @@ declare class CorpAPIClient {
|
|
|
3095
3250
|
getCapTable(entityId: string): Promise<ApiRecord>;
|
|
3096
3251
|
getSafeNotes(entityId: string): Promise<ApiRecord[]>;
|
|
3097
3252
|
createSafeNote(data: ApiRecord): Promise<ApiRecord>;
|
|
3098
|
-
|
|
3253
|
+
listShareTransfers(entityId: string): Promise<ApiRecord[]>;
|
|
3099
3254
|
getShareTransfers(entityId: string): Promise<ApiRecord[]>;
|
|
3100
3255
|
getValuations(entityId: string): Promise<ApiRecord[]>;
|
|
3101
3256
|
getCurrent409a(entityId: string): Promise<ApiRecord>;
|
|
@@ -3111,6 +3266,7 @@ declare class CorpAPIClient {
|
|
|
3111
3266
|
acceptEquityRound(roundId: string, data: AcceptEquityRoundRequest): Promise<EquityRoundResponse>;
|
|
3112
3267
|
previewRoundConversion(data: PreviewRoundConversionRequest): Promise<ApiRecord>;
|
|
3113
3268
|
executeRoundConversion(data: ExecuteRoundConversionRequest): Promise<ApiRecord>;
|
|
3269
|
+
listEquityRounds(entityId: string): Promise<ApiRecord[]>;
|
|
3114
3270
|
startEquityRound(data: ApiRecord): Promise<ApiRecord>;
|
|
3115
3271
|
addRoundSecurity(roundId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3116
3272
|
issueRound(roundId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
@@ -3126,6 +3282,7 @@ declare class CorpAPIClient {
|
|
|
3126
3282
|
castVote(entityId: string, meetingId: string, itemId: string, data: ApiRecord): Promise<VoteResponse>;
|
|
3127
3283
|
sendNotice(meetingId: string, entityId: string): Promise<MeetingResponse>;
|
|
3128
3284
|
adjournMeeting(meetingId: string, entityId: string): Promise<MeetingResponse>;
|
|
3285
|
+
reopenMeeting(meetingId: string, entityId: string): Promise<MeetingResponse>;
|
|
3129
3286
|
cancelMeeting(meetingId: string, entityId: string): Promise<MeetingResponse>;
|
|
3130
3287
|
finalizeAgendaItem(meetingId: string, itemId: string, data: ApiRecord): Promise<AgendaItemResponse>;
|
|
3131
3288
|
computeResolution(meetingId: string, itemId: string, entityId: string, data: ApiRecord): Promise<ResolutionResponse>;
|
|
@@ -3134,16 +3291,27 @@ declare class CorpAPIClient {
|
|
|
3134
3291
|
listAgendaItems(meetingId: string, entityId: string): Promise<AgendaItemResponse[]>;
|
|
3135
3292
|
listVotes(meetingId: string, itemId: string, entityId: string): Promise<VoteResponse[]>;
|
|
3136
3293
|
getEntityDocuments(entityId: string): Promise<DocumentResponse[]>;
|
|
3294
|
+
getDocument(documentId: string, entityId: string): Promise<DocumentResponse>;
|
|
3295
|
+
signDocument(documentId: string, entityId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3137
3296
|
generateContract(data: ApiRecord): Promise<ApiRecord>;
|
|
3138
3297
|
getSigningLink(documentId: string, entityId: string): Promise<ApiRecord>;
|
|
3139
3298
|
validatePreviewPdf(entityId: string, documentId: string): Promise<ApiRecord>;
|
|
3140
3299
|
getPreviewPdfUrl(entityId: string, documentId: string): string;
|
|
3300
|
+
listInvoices(entityId: string): Promise<ApiRecord[]>;
|
|
3301
|
+
listBankAccounts(entityId: string): Promise<ApiRecord[]>;
|
|
3302
|
+
listPayments(entityId: string): Promise<ApiRecord[]>;
|
|
3303
|
+
listPayrollRuns(entityId: string): Promise<ApiRecord[]>;
|
|
3304
|
+
listDistributions(entityId: string): Promise<ApiRecord[]>;
|
|
3305
|
+
listReconciliations(entityId: string): Promise<ApiRecord[]>;
|
|
3141
3306
|
createInvoice(data: ApiRecord): Promise<ApiRecord>;
|
|
3142
3307
|
runPayroll(data: ApiRecord): Promise<ApiRecord>;
|
|
3143
3308
|
submitPayment(data: ApiRecord): Promise<ApiRecord>;
|
|
3144
3309
|
openBankAccount(data: ApiRecord): Promise<ApiRecord>;
|
|
3145
3310
|
classifyContractor(data: ApiRecord): Promise<ApiRecord>;
|
|
3146
3311
|
reconcileLedger(data: ApiRecord): Promise<ApiRecord>;
|
|
3312
|
+
listTaxFilings(entityId: string): Promise<ApiRecord[]>;
|
|
3313
|
+
listDeadlines(entityId: string): Promise<ApiRecord[]>;
|
|
3314
|
+
listContractorClassifications(entityId: string): Promise<ApiRecord[]>;
|
|
3147
3315
|
fileTaxDocument(data: ApiRecord): Promise<ApiRecord>;
|
|
3148
3316
|
trackDeadline(data: ApiRecord): Promise<ApiRecord>;
|
|
3149
3317
|
getBillingStatus(): Promise<ApiRecord>;
|
|
@@ -3157,9 +3325,17 @@ declare class CorpAPIClient {
|
|
|
3157
3325
|
createPendingEntity(data: ApiRecord): Promise<PendingFormationResponse>;
|
|
3158
3326
|
addFounder(entityId: string, data: ApiRecord): Promise<AddFounderResponse>;
|
|
3159
3327
|
finalizeFormation(entityId: string, data?: ApiRecord): Promise<FormationWithCapTableResponse>;
|
|
3328
|
+
markFormationDocumentsSigned(entityId: string): Promise<ApiRecord>;
|
|
3329
|
+
getFormationGates(entityId: string): Promise<ApiRecord>;
|
|
3330
|
+
recordFilingAttestation(entityId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3331
|
+
addRegisteredAgentConsentEvidence(entityId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3332
|
+
submitFiling(entityId: string): Promise<ApiRecord>;
|
|
3333
|
+
confirmFiling(entityId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3334
|
+
applyEin(entityId: string): Promise<ApiRecord>;
|
|
3335
|
+
confirmEin(entityId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3160
3336
|
getHumanObligations(): Promise<ObligationResponse[]>;
|
|
3161
3337
|
getSignerToken(obligationId: string): Promise<ApiRecord>;
|
|
3162
|
-
seedDemo(
|
|
3338
|
+
seedDemo(data: ApiRecord): Promise<ApiRecord>;
|
|
3163
3339
|
convertEntity(entityId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3164
3340
|
dissolveEntity(entityId: string, data: ApiRecord): Promise<ApiRecord>;
|
|
3165
3341
|
listAgents(): Promise<ApiRecord[]>;
|
|
@@ -3366,10 +3542,16 @@ declare const ReconciliationStatus: readonly ["balanced", "discrepancy"];
|
|
|
3366
3542
|
type ReconciliationStatus = (typeof ReconciliationStatus)[number];
|
|
3367
3543
|
declare const Recurrence: readonly ["one_time", "monthly", "quarterly", "annual"];
|
|
3368
3544
|
type Recurrence = (typeof Recurrence)[number];
|
|
3545
|
+
declare const ReferenceKind: readonly ["entity", "contact", "share_transfer", "invoice", "bank_account", "payment", "payroll_run", "distribution", "reconciliation", "tax_filing", "deadline", "classification", "body", "meeting", "seat", "agenda_item", "resolution", "document", "work_item", "agent", "valuation", "safe_note", "instrument", "share_class", "round"];
|
|
3546
|
+
type ReferenceKind = (typeof ReferenceKind)[number];
|
|
3369
3547
|
declare const ResolutionType: readonly ["ordinary", "special", "unanimous_written_consent"];
|
|
3370
3548
|
type ResolutionType = (typeof ResolutionType)[number];
|
|
3371
3549
|
declare const RiskLevel: readonly ["low", "medium", "high"];
|
|
3372
3550
|
type RiskLevel = (typeof RiskLevel)[number];
|
|
3551
|
+
declare const SafeStatus: readonly ["issued", "converted", "cancelled"];
|
|
3552
|
+
type SafeStatus = (typeof SafeStatus)[number];
|
|
3553
|
+
declare const SafeType: readonly ["post_money", "pre_money", "mfn"];
|
|
3554
|
+
type SafeType = (typeof SafeType)[number];
|
|
3373
3555
|
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"];
|
|
3374
3556
|
type Scope = (typeof Scope)[number];
|
|
3375
3557
|
declare const SeatRole: readonly ["chair", "member", "officer", "observer"];
|
|
@@ -3400,9 +3582,11 @@ declare const VoteValue: readonly ["for", "against", "abstain", "recusal"];
|
|
|
3400
3582
|
type VoteValue = (typeof VoteValue)[number];
|
|
3401
3583
|
declare const VotingMethod: readonly ["per_capita", "per_unit"];
|
|
3402
3584
|
type VotingMethod = (typeof VotingMethod)[number];
|
|
3585
|
+
declare const WorkItemActorTypeValue: readonly ["contact", "agent"];
|
|
3586
|
+
type WorkItemActorTypeValue = (typeof WorkItemActorTypeValue)[number];
|
|
3403
3587
|
declare const WorkItemStatus: readonly ["open", "claimed", "completed", "cancelled"];
|
|
3404
3588
|
type WorkItemStatus = (typeof WorkItemStatus)[number];
|
|
3405
3589
|
declare const WorkflowType: readonly ["transfer", "fundraising"];
|
|
3406
3590
|
type WorkflowType = (typeof WorkflowType)[number];
|
|
3407
3591
|
|
|
3408
|
-
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 CapTableInstrument, 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, GrantType, 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, WorkItemStatus, WorkflowType, type WorkspaceContactSummary, type WorkspaceEntitySummary, type WorkspaceStatusResponse, type WrittenConsentRequest, type WrittenConsentResponse, describeToolCall, ensureSafeInstrument, executeTool, formatConfigSection, isWriteTool, provisionWorkspace };
|
|
3592
|
+
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 CapTableInstrument, 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, GrantType, 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, ReferenceKind, type ResolutionResponse, ResolutionType, RiskLevel, type RoundResponse, SYSTEM_PROMPT_BASE, SafeStatus, SafeType, 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, WorkItemActorTypeValue, WorkItemStatus, WorkflowType, type WorkspaceContactSummary, type WorkspaceEntitySummary, type WorkspaceStatusResponse, type WrittenConsentRequest, type WrittenConsentResponse, describeToolCall, ensureSafeInstrument, executeTool, formatConfigSection, isWriteTool, provisionWorkspace };
|