@open-captable-protocol/canton 0.2.65 → 0.2.67
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/OcpClient.d.ts +1 -4
- package/dist/OcpClient.d.ts.map +1 -1
- package/dist/OcpClient.js +1 -4
- package/dist/OcpClient.js.map +1 -1
- package/dist/functions/companyValuationReport/addObserversToCompanyValuationReport.d.ts +1 -1
- package/dist/functions/companyValuationReport/addObserversToCompanyValuationReport.d.ts.map +1 -1
- package/dist/functions/companyValuationReport/addObserversToCompanyValuationReport.js +3 -3
- package/dist/functions/companyValuationReport/addObserversToCompanyValuationReport.js.map +1 -1
- package/dist/functions/companyValuationReport/createCompanyValuationReport.d.ts +3 -3
- package/dist/functions/companyValuationReport/createCompanyValuationReport.d.ts.map +1 -1
- package/dist/functions/companyValuationReport/createCompanyValuationReport.js +3 -3
- package/dist/functions/companyValuationReport/createCompanyValuationReport.js.map +1 -1
- package/dist/functions/companyValuationReport/updateCompanyValuation.d.ts +1 -1
- package/dist/functions/companyValuationReport/updateCompanyValuation.d.ts.map +1 -1
- package/dist/functions/companyValuationReport/updateCompanyValuation.js +3 -3
- package/dist/functions/companyValuationReport/updateCompanyValuation.js.map +1 -1
- package/dist/functions/convertibleIssuance/archiveConvertibleIssuanceByIssuer.d.ts +2 -0
- package/dist/functions/convertibleIssuance/archiveConvertibleIssuanceByIssuer.d.ts.map +1 -1
- package/dist/functions/convertibleIssuance/archiveConvertibleIssuanceByIssuer.js +1 -1
- package/dist/functions/convertibleIssuance/archiveConvertibleIssuanceByIssuer.js.map +1 -1
- package/dist/functions/convertibleIssuance/createConvertibleIssuance.d.ts +3 -2
- package/dist/functions/convertibleIssuance/createConvertibleIssuance.d.ts.map +1 -1
- package/dist/functions/convertibleIssuance/createConvertibleIssuance.js +8 -3
- package/dist/functions/convertibleIssuance/createConvertibleIssuance.js.map +1 -1
- package/dist/functions/document/archiveDocumentByIssuer.d.ts +2 -0
- package/dist/functions/document/archiveDocumentByIssuer.d.ts.map +1 -1
- package/dist/functions/document/archiveDocumentByIssuer.js +1 -1
- package/dist/functions/document/archiveDocumentByIssuer.js.map +1 -1
- package/dist/functions/document/createDocument.d.ts +3 -2
- package/dist/functions/document/createDocument.d.ts.map +1 -1
- package/dist/functions/document/createDocument.js +4 -3
- package/dist/functions/document/createDocument.js.map +1 -1
- package/dist/functions/issuer/authorizeIssuer.d.ts +4 -2
- package/dist/functions/issuer/authorizeIssuer.d.ts.map +1 -1
- package/dist/functions/issuer/authorizeIssuer.js +4 -3
- package/dist/functions/issuer/authorizeIssuer.js.map +1 -1
- package/dist/functions/issuer/createIssuer.d.ts +4 -3
- package/dist/functions/issuer/createIssuer.d.ts.map +1 -1
- package/dist/functions/issuer/createIssuer.js +4 -3
- package/dist/functions/issuer/createIssuer.js.map +1 -1
- package/dist/functions/issuer/createValuation.d.ts +3 -2
- package/dist/functions/issuer/createValuation.d.ts.map +1 -1
- package/dist/functions/issuer/createValuation.js +4 -3
- package/dist/functions/issuer/createValuation.js.map +1 -1
- package/dist/functions/issuer/getIssuerAsOcf.d.ts.map +1 -1
- package/dist/functions/issuer/getIssuerAsOcf.js +1 -20
- package/dist/functions/issuer/getIssuerAsOcf.js.map +1 -1
- package/dist/functions/issuerAuthorization/withdrawAuthorization.d.ts +2 -0
- package/dist/functions/issuerAuthorization/withdrawAuthorization.d.ts.map +1 -1
- package/dist/functions/issuerAuthorization/withdrawAuthorization.js +1 -1
- package/dist/functions/issuerAuthorization/withdrawAuthorization.js.map +1 -1
- package/dist/functions/issuerAuthorizedSharesAdjustment/archiveIssuerAuthorizedSharesAdjustmentByIssuer.d.ts +2 -0
- package/dist/functions/issuerAuthorizedSharesAdjustment/archiveIssuerAuthorizedSharesAdjustmentByIssuer.d.ts.map +1 -1
- package/dist/functions/issuerAuthorizedSharesAdjustment/archiveIssuerAuthorizedSharesAdjustmentByIssuer.js +1 -1
- package/dist/functions/issuerAuthorizedSharesAdjustment/archiveIssuerAuthorizedSharesAdjustmentByIssuer.js.map +1 -1
- package/dist/functions/issuerAuthorizedSharesAdjustment/createIssuerAuthorizedSharesAdjustment.d.ts +3 -2
- package/dist/functions/issuerAuthorizedSharesAdjustment/createIssuerAuthorizedSharesAdjustment.d.ts.map +1 -1
- package/dist/functions/issuerAuthorizedSharesAdjustment/createIssuerAuthorizedSharesAdjustment.js +7 -2
- package/dist/functions/issuerAuthorizedSharesAdjustment/createIssuerAuthorizedSharesAdjustment.js.map +1 -1
- package/dist/functions/stakeholder/archiveStakeholderByIssuer.d.ts +2 -0
- package/dist/functions/stakeholder/archiveStakeholderByIssuer.d.ts.map +1 -1
- package/dist/functions/stakeholder/archiveStakeholderByIssuer.js +1 -1
- package/dist/functions/stakeholder/archiveStakeholderByIssuer.js.map +1 -1
- package/dist/functions/stakeholder/createStakeholder.d.ts +3 -3
- package/dist/functions/stakeholder/createStakeholder.d.ts.map +1 -1
- package/dist/functions/stakeholder/createStakeholder.js +4 -3
- package/dist/functions/stakeholder/createStakeholder.js.map +1 -1
- package/dist/functions/stakeholder/getStakeholderAsOcf.d.ts.map +1 -1
- package/dist/functions/stakeholder/getStakeholderAsOcf.js +6 -2
- package/dist/functions/stakeholder/getStakeholderAsOcf.js.map +1 -1
- package/dist/functions/stockCancellation/archiveStockCancellationByIssuer.d.ts +2 -0
- package/dist/functions/stockCancellation/archiveStockCancellationByIssuer.d.ts.map +1 -1
- package/dist/functions/stockCancellation/archiveStockCancellationByIssuer.js +1 -1
- package/dist/functions/stockCancellation/archiveStockCancellationByIssuer.js.map +1 -1
- package/dist/functions/stockCancellation/createStockCancellation.d.ts +3 -2
- package/dist/functions/stockCancellation/createStockCancellation.d.ts.map +1 -1
- package/dist/functions/stockCancellation/createStockCancellation.js +7 -2
- package/dist/functions/stockCancellation/createStockCancellation.js.map +1 -1
- package/dist/functions/stockClass/archiveStockClassByIssuer.d.ts +2 -0
- package/dist/functions/stockClass/archiveStockClassByIssuer.d.ts.map +1 -1
- package/dist/functions/stockClass/archiveStockClassByIssuer.js +1 -1
- package/dist/functions/stockClass/archiveStockClassByIssuer.js.map +1 -1
- package/dist/functions/stockClass/createStockClass.d.ts +3 -2
- package/dist/functions/stockClass/createStockClass.d.ts.map +1 -1
- package/dist/functions/stockClass/createStockClass.js +4 -3
- package/dist/functions/stockClass/createStockClass.js.map +1 -1
- package/dist/functions/stockClass/getStockClassAsOcf.d.ts.map +1 -1
- package/dist/functions/stockClass/getStockClassAsOcf.js +6 -2
- package/dist/functions/stockClass/getStockClassAsOcf.js.map +1 -1
- package/dist/functions/stockClassAuthorizedSharesAdjustment/archiveStockClassAuthorizedSharesAdjustmentByIssuer.d.ts +2 -0
- package/dist/functions/stockClassAuthorizedSharesAdjustment/archiveStockClassAuthorizedSharesAdjustmentByIssuer.d.ts.map +1 -1
- package/dist/functions/stockClassAuthorizedSharesAdjustment/archiveStockClassAuthorizedSharesAdjustmentByIssuer.js +1 -1
- package/dist/functions/stockClassAuthorizedSharesAdjustment/archiveStockClassAuthorizedSharesAdjustmentByIssuer.js.map +1 -1
- package/dist/functions/stockClassAuthorizedSharesAdjustment/createStockClassAuthorizedSharesAdjustment.d.ts +3 -2
- package/dist/functions/stockClassAuthorizedSharesAdjustment/createStockClassAuthorizedSharesAdjustment.d.ts.map +1 -1
- package/dist/functions/stockClassAuthorizedSharesAdjustment/createStockClassAuthorizedSharesAdjustment.js +7 -2
- package/dist/functions/stockClassAuthorizedSharesAdjustment/createStockClassAuthorizedSharesAdjustment.js.map +1 -1
- package/dist/functions/stockIssuance/archiveStockIssuanceByIssuer.d.ts +2 -0
- package/dist/functions/stockIssuance/archiveStockIssuanceByIssuer.d.ts.map +1 -1
- package/dist/functions/stockIssuance/archiveStockIssuanceByIssuer.js +1 -1
- package/dist/functions/stockIssuance/archiveStockIssuanceByIssuer.js.map +1 -1
- package/dist/functions/stockIssuance/createStockIssuance.d.ts +3 -2
- package/dist/functions/stockIssuance/createStockIssuance.d.ts.map +1 -1
- package/dist/functions/stockIssuance/createStockIssuance.js +7 -2
- package/dist/functions/stockIssuance/createStockIssuance.js.map +1 -1
- package/dist/functions/stockIssuance/getStockIssuanceAsOcf.d.ts.map +1 -1
- package/dist/functions/stockIssuance/getStockIssuanceAsOcf.js +14 -2
- package/dist/functions/stockIssuance/getStockIssuanceAsOcf.js.map +1 -1
- package/dist/functions/stockLegendTemplate/archiveStockLegendTemplateByIssuer.d.ts +2 -0
- package/dist/functions/stockLegendTemplate/archiveStockLegendTemplateByIssuer.d.ts.map +1 -1
- package/dist/functions/stockLegendTemplate/archiveStockLegendTemplateByIssuer.js +1 -1
- package/dist/functions/stockLegendTemplate/archiveStockLegendTemplateByIssuer.js.map +1 -1
- package/dist/functions/stockLegendTemplate/createStockLegendTemplate.d.ts +3 -2
- package/dist/functions/stockLegendTemplate/createStockLegendTemplate.d.ts.map +1 -1
- package/dist/functions/stockLegendTemplate/createStockLegendTemplate.js +4 -3
- package/dist/functions/stockLegendTemplate/createStockLegendTemplate.js.map +1 -1
- package/dist/functions/stockPlan/archiveStockPlanByIssuer.d.ts +2 -0
- package/dist/functions/stockPlan/archiveStockPlanByIssuer.d.ts.map +1 -1
- package/dist/functions/stockPlan/archiveStockPlanByIssuer.js +1 -1
- package/dist/functions/stockPlan/archiveStockPlanByIssuer.js.map +1 -1
- package/dist/functions/stockPlan/createEquityCompensationExercise.d.ts +3 -2
- package/dist/functions/stockPlan/createEquityCompensationExercise.d.ts.map +1 -1
- package/dist/functions/stockPlan/createEquityCompensationExercise.js +7 -2
- package/dist/functions/stockPlan/createEquityCompensationExercise.js.map +1 -1
- package/dist/functions/stockPlan/createEquityCompensationIssuance.d.ts +3 -2
- package/dist/functions/stockPlan/createEquityCompensationIssuance.d.ts.map +1 -1
- package/dist/functions/stockPlan/createEquityCompensationIssuance.js +1 -1
- package/dist/functions/stockPlan/createEquityCompensationIssuance.js.map +1 -1
- package/dist/functions/stockPlan/createStockPlan.d.ts +3 -2
- package/dist/functions/stockPlan/createStockPlan.d.ts.map +1 -1
- package/dist/functions/stockPlan/createStockPlan.js +4 -3
- package/dist/functions/stockPlan/createStockPlan.js.map +1 -1
- package/dist/functions/stockPlan/getStockPlanAsOcf.d.ts.map +1 -1
- package/dist/functions/stockPlan/getStockPlanAsOcf.js +3 -1
- package/dist/functions/stockPlan/getStockPlanAsOcf.js.map +1 -1
- package/dist/functions/stockPlanPoolAdjustment/archiveStockPlanPoolAdjustmentByIssuer.d.ts +2 -0
- package/dist/functions/stockPlanPoolAdjustment/archiveStockPlanPoolAdjustmentByIssuer.d.ts.map +1 -1
- package/dist/functions/stockPlanPoolAdjustment/archiveStockPlanPoolAdjustmentByIssuer.js +1 -1
- package/dist/functions/stockPlanPoolAdjustment/archiveStockPlanPoolAdjustmentByIssuer.js.map +1 -1
- package/dist/functions/stockPlanPoolAdjustment/createStockPlanPoolAdjustment.d.ts +3 -2
- package/dist/functions/stockPlanPoolAdjustment/createStockPlanPoolAdjustment.d.ts.map +1 -1
- package/dist/functions/stockPlanPoolAdjustment/createStockPlanPoolAdjustment.js +7 -2
- package/dist/functions/stockPlanPoolAdjustment/createStockPlanPoolAdjustment.js.map +1 -1
- package/dist/functions/valuation/archiveValuationByIssuer.d.ts +2 -0
- package/dist/functions/valuation/archiveValuationByIssuer.d.ts.map +1 -1
- package/dist/functions/valuation/archiveValuationByIssuer.js +1 -1
- package/dist/functions/valuation/archiveValuationByIssuer.js.map +1 -1
- package/dist/functions/valuation/getValuationAsOcf.d.ts.map +1 -1
- package/dist/functions/valuation/getValuationAsOcf.js +2 -1
- package/dist/functions/valuation/getValuationAsOcf.js.map +1 -1
- package/dist/functions/vestingTerms/archiveVestingTermsByIssuer.d.ts +2 -0
- package/dist/functions/vestingTerms/archiveVestingTermsByIssuer.d.ts.map +1 -1
- package/dist/functions/vestingTerms/archiveVestingTermsByIssuer.js +1 -1
- package/dist/functions/vestingTerms/archiveVestingTermsByIssuer.js.map +1 -1
- package/dist/functions/vestingTerms/createVestingTerms.d.ts +3 -2
- package/dist/functions/vestingTerms/createVestingTerms.d.ts.map +1 -1
- package/dist/functions/vestingTerms/createVestingTerms.js +4 -3
- package/dist/functions/vestingTerms/createVestingTerms.js.map +1 -1
- package/dist/functions/warrantIssuance/archiveWarrantIssuanceByIssuer.d.ts +2 -0
- package/dist/functions/warrantIssuance/archiveWarrantIssuanceByIssuer.d.ts.map +1 -1
- package/dist/functions/warrantIssuance/archiveWarrantIssuanceByIssuer.js +1 -1
- package/dist/functions/warrantIssuance/archiveWarrantIssuanceByIssuer.js.map +1 -1
- package/dist/functions/warrantIssuance/createWarrantIssuance.d.ts +3 -2
- package/dist/functions/warrantIssuance/createWarrantIssuance.d.ts.map +1 -1
- package/dist/functions/warrantIssuance/createWarrantIssuance.js +8 -2
- package/dist/functions/warrantIssuance/createWarrantIssuance.js.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +18 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/native.d.ts +354 -102
- package/dist/types/native.d.ts.map +1 -1
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +18 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/typeConversions.d.ts +1 -0
- package/dist/utils/typeConversions.d.ts.map +1 -1
- package/dist/utils/typeConversions.js +91 -45
- package/dist/utils/typeConversions.js.map +1 -1
- package/package.json +7 -6
package/dist/types/native.d.ts
CHANGED
|
@@ -3,270 +3,458 @@
|
|
|
3
3
|
* compared to the raw DAML types. These types use simple string literals
|
|
4
4
|
* for enums and standard TypeScript objects for complex types.
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Enum - Email Type
|
|
8
|
+
* Type of e-mail address
|
|
9
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/enums/EmailType.schema.json
|
|
10
|
+
*/
|
|
7
11
|
export type EmailType = 'PERSONAL' | 'BUSINESS' | 'OTHER';
|
|
8
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Enum - Address Type
|
|
14
|
+
* Type of address (legal, contact, or other)
|
|
15
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/enums/AddressType.schema.json
|
|
16
|
+
*/
|
|
9
17
|
export type AddressType = 'LEGAL' | 'CONTACT' | 'OTHER';
|
|
10
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Enum - Phone Type
|
|
20
|
+
* Type of phone number (home, mobile, business, other)
|
|
21
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/enums/PhoneType.schema.json
|
|
22
|
+
*/
|
|
11
23
|
export type PhoneType = 'HOME' | 'MOBILE' | 'BUSINESS' | 'OTHER';
|
|
12
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Type - Phone
|
|
26
|
+
* Type representation of a phone number
|
|
27
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/Phone.schema.json
|
|
28
|
+
*/
|
|
13
29
|
export interface Phone {
|
|
14
|
-
/** Type of phone number (e.g
|
|
30
|
+
/** Type of phone number (e.g., home, mobile, business, other) */
|
|
15
31
|
phone_type: PhoneType;
|
|
16
|
-
/**
|
|
32
|
+
/** The phone number (e.g., E.164 formatted string) */
|
|
17
33
|
phone_number: string;
|
|
18
34
|
}
|
|
19
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Type - Name
|
|
37
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/Name.schema.json
|
|
38
|
+
*/
|
|
20
39
|
export interface Name {
|
|
40
|
+
/** Full legal name */
|
|
21
41
|
legal_name: string;
|
|
42
|
+
/** Given name */
|
|
22
43
|
first_name?: string;
|
|
44
|
+
/** Family name */
|
|
23
45
|
last_name?: string;
|
|
24
46
|
}
|
|
25
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Enum - Stock Class Type
|
|
49
|
+
* Type of stock class (common or preferred)
|
|
50
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/enums/StockClassType.schema.json
|
|
51
|
+
*/
|
|
26
52
|
export type StockClassType = 'PREFERRED' | 'COMMON';
|
|
27
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* Conversion Mechanisms (shared)
|
|
55
|
+
* Mechanism by which conversion occurs (see schema for full list)
|
|
56
|
+
* OCF (primitive): https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/primitives/types/conversion_mechanisms/ConversionMechanism.schema.json
|
|
57
|
+
*/
|
|
28
58
|
export type ConversionMechanism = 'RATIO_CONVERSION' | 'PERCENT_CONVERSION' | 'FIXED_AMOUNT_CONVERSION';
|
|
29
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* Enum - Conversion Trigger Type
|
|
61
|
+
* Type of conversion trigger
|
|
62
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/enums/ConversionTriggerType.schema.json
|
|
63
|
+
*/
|
|
30
64
|
export type ConversionTrigger = 'AUTOMATIC_ON_CONDITION' | 'AUTOMATIC_ON_DATE' | 'ELECTIVE_ON_CONDITION' | 'ELECTIVE_ON_DATE' | 'ELECTIVE_AT_WILL';
|
|
31
|
-
/**
|
|
65
|
+
/**
|
|
66
|
+
* Enum - Rounding Type
|
|
67
|
+
* Rounding method for numeric values
|
|
68
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/enums/RoundingType.schema.json
|
|
69
|
+
*/
|
|
32
70
|
export type RoundingType = 'DOWN' | 'UP' | 'NEAREST' | 'NORMAL';
|
|
33
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* Enum - Authorized Shares
|
|
73
|
+
* Enumeration of special values for authorized shares when not using a numeric value
|
|
74
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/enums/AuthorizedShares.schema.json
|
|
75
|
+
*/
|
|
34
76
|
export type AuthorizedShares = 'NOT_APPLICABLE' | 'UNLIMITED';
|
|
35
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* Initial shares authorized type (can be either numeric or enum)
|
|
79
|
+
* Type representing the number of shares initially authorized
|
|
80
|
+
*/
|
|
36
81
|
export type InitialSharesAuthorized = number | string;
|
|
37
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* Type - Monetary
|
|
84
|
+
* Type representation of a money amount and currency
|
|
85
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/Monetary.schema.json
|
|
86
|
+
*/
|
|
38
87
|
export interface Monetary {
|
|
39
|
-
/**
|
|
88
|
+
/** Amount of money in the given currency */
|
|
40
89
|
amount: string | number;
|
|
41
|
-
/**
|
|
90
|
+
/** Three-letter ISO currency code */
|
|
42
91
|
currency: string;
|
|
43
92
|
}
|
|
44
|
-
/**
|
|
93
|
+
/**
|
|
94
|
+
* Type - Email
|
|
95
|
+
* Type representation of an email address
|
|
96
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/Email.schema.json
|
|
97
|
+
*/
|
|
45
98
|
export interface Email {
|
|
46
|
-
/** Type of
|
|
99
|
+
/** Type of e-mail address (e.g. personal or business) */
|
|
47
100
|
email_type: EmailType;
|
|
48
|
-
/**
|
|
101
|
+
/** A valid e-mail address */
|
|
49
102
|
email_address: string;
|
|
50
103
|
}
|
|
51
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* Type - Address
|
|
106
|
+
* Type representation of an address
|
|
107
|
+
*/
|
|
52
108
|
export interface Address {
|
|
53
|
-
/**
|
|
109
|
+
/** Type of address (legal, contact, or other) */
|
|
54
110
|
address_type: AddressType;
|
|
55
|
-
/** Street address
|
|
111
|
+
/** Street address and suite/apartment */
|
|
56
112
|
street_suite?: string;
|
|
57
|
-
/** City */
|
|
113
|
+
/** City name */
|
|
58
114
|
city?: string;
|
|
59
|
-
/**
|
|
115
|
+
/** Country subdivision/state/province code or name */
|
|
60
116
|
country_subdivision?: string;
|
|
61
|
-
/** Country code
|
|
117
|
+
/** Country code (ISO 3166-1 alpha-2) */
|
|
62
118
|
country: string;
|
|
63
|
-
/**
|
|
119
|
+
/** Postal or ZIP code */
|
|
64
120
|
postal_code?: string;
|
|
65
121
|
}
|
|
66
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Type - Tax ID
|
|
124
|
+
* Type representation of a tax identifier and issuing country
|
|
125
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/TaxID.schema.json
|
|
126
|
+
*/
|
|
67
127
|
export interface TaxId {
|
|
68
|
-
/**
|
|
69
|
-
tax_id: string;
|
|
70
|
-
/** Issuing country code (ISO 3166-1 alpha-2) for the tax identifier */
|
|
128
|
+
/** Country code where the tax ID is issued (ISO 3166-1 alpha-2) */
|
|
71
129
|
country: string;
|
|
130
|
+
/** Tax identification string */
|
|
131
|
+
tax_id: string;
|
|
72
132
|
}
|
|
73
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* Stock Class Conversion Right (shared)
|
|
135
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/conversion_rights/StockClassConversionRight.schema.json
|
|
136
|
+
*/
|
|
74
137
|
export interface StockClassConversionRight {
|
|
75
|
-
/** Type
|
|
138
|
+
/** Type descriptor of conversion right */
|
|
76
139
|
type: string;
|
|
77
|
-
/**
|
|
140
|
+
/** Mechanism by which conversion occurs */
|
|
78
141
|
conversion_mechanism: ConversionMechanism;
|
|
79
|
-
/**
|
|
142
|
+
/** Trigger that would cause conversion */
|
|
80
143
|
conversion_trigger: ConversionTrigger;
|
|
81
|
-
/**
|
|
144
|
+
/** Identifier of stock class to which this converts */
|
|
82
145
|
converts_to_stock_class_id: string;
|
|
83
146
|
/** Legacy simple ratio value (if provided, denominator assumed 1) */
|
|
84
147
|
ratio?: number;
|
|
85
148
|
/** Ratio components for RATIO_CONVERSION */
|
|
86
149
|
ratio_numerator?: number;
|
|
87
150
|
ratio_denominator?: number;
|
|
88
|
-
/** Percent
|
|
151
|
+
/** Percent of capitalization this converts to (0 < p <= 1) */
|
|
89
152
|
percent_of_capitalization?: number;
|
|
90
|
-
/**
|
|
153
|
+
/** Conversion price per share for fixed-amount conversion */
|
|
91
154
|
conversion_price?: Monetary;
|
|
92
|
-
/**
|
|
155
|
+
/** Reference share price */
|
|
93
156
|
reference_share_price?: Monetary;
|
|
157
|
+
/** Reference valuation price per share */
|
|
94
158
|
reference_valuation_price_per_share?: Monetary;
|
|
159
|
+
/** Discount rate (0-1 decimal) */
|
|
95
160
|
discount_rate?: number;
|
|
161
|
+
/** Valuation cap */
|
|
96
162
|
valuation_cap?: Monetary;
|
|
163
|
+
/** Floor price per share */
|
|
97
164
|
floor_price_per_share?: Monetary;
|
|
165
|
+
/** Ceiling price per share */
|
|
98
166
|
ceiling_price_per_share?: Monetary;
|
|
167
|
+
/** Custom description of conversion mechanics */
|
|
99
168
|
custom_description?: string;
|
|
100
|
-
/** How should fractional shares be rounded?
|
|
169
|
+
/** How should fractional shares be rounded? */
|
|
101
170
|
rounding_type?: RoundingType;
|
|
102
|
-
/** Expiration date
|
|
171
|
+
/** Expiration date for this conversion right (YYYY-MM-DD) */
|
|
103
172
|
expires_at?: string;
|
|
104
173
|
}
|
|
105
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* Object - Issuer
|
|
176
|
+
* Object describing the issuer of the cap table (the company whose cap table this is).
|
|
177
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/Issuer.schema.json
|
|
178
|
+
*/
|
|
106
179
|
export interface OcfIssuerData {
|
|
180
|
+
/** Identifier for the object */
|
|
107
181
|
id: string;
|
|
108
182
|
/** Legal name of the issuer */
|
|
109
183
|
legal_name: string;
|
|
110
|
-
/** Date of formation
|
|
184
|
+
/** Date of formation */
|
|
111
185
|
formation_date: string;
|
|
112
186
|
/** The country where the issuer company was legally formed (ISO 3166-1 alpha-2) */
|
|
113
187
|
country_of_formation: string;
|
|
114
|
-
/**
|
|
115
|
-
|
|
116
|
-
/** The
|
|
188
|
+
/** Optional comments related to the issuer */
|
|
189
|
+
comments: string[];
|
|
190
|
+
/** The tax ids for this issuer company */
|
|
191
|
+
tax_ids: TaxId[];
|
|
192
|
+
/** The headquarters address of the issuing company */
|
|
193
|
+
address?: Address;
|
|
194
|
+
/** The code for the state, province, or subdivision where the issuer company was legally formed */
|
|
117
195
|
country_subdivision_of_formation?: string;
|
|
118
|
-
/**
|
|
196
|
+
/** Text name of state, province, or subdivision where the issuer was legally formed if the code is not available */
|
|
119
197
|
country_subdivision_name_of_formation?: string;
|
|
120
|
-
/**
|
|
121
|
-
|
|
198
|
+
/** Doing Business As name */
|
|
199
|
+
dba?: string;
|
|
122
200
|
/** A work email that the issuer company can be reached at */
|
|
123
201
|
email?: Email;
|
|
124
|
-
/** A phone number that the issuer company can be reached at */
|
|
125
|
-
phone?: Phone;
|
|
126
|
-
/** The headquarters address of the issuing company */
|
|
127
|
-
address?: Address;
|
|
128
202
|
/** The initial number of shares authorized for this issuer */
|
|
129
203
|
initial_shares_authorized?: InitialSharesAuthorized;
|
|
130
|
-
/**
|
|
131
|
-
|
|
204
|
+
/** A phone number that the issuer company can be reached at */
|
|
205
|
+
phone?: Phone;
|
|
132
206
|
}
|
|
133
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* Object - Stock Class
|
|
209
|
+
* Object describing a class of stock issued by the issuer
|
|
210
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/StockClass.schema.json
|
|
211
|
+
*/
|
|
134
212
|
export interface OcfStockClassData {
|
|
213
|
+
/** Identifier for the object */
|
|
135
214
|
id: string;
|
|
136
|
-
/**
|
|
137
|
-
name: string;
|
|
138
|
-
/** The type of this stock class */
|
|
215
|
+
/** The type of this stock class (e.g. Preferred or Common) */
|
|
139
216
|
class_type: StockClassType;
|
|
140
|
-
/** Default prefix for certificate numbers */
|
|
217
|
+
/** Default prefix for certificate numbers in certificated shares (e.g. CS- in CS-1). If certificate IDs have a dash, the prefix should end in the dash like CS- */
|
|
141
218
|
default_id_prefix: string;
|
|
142
|
-
/** The initial number of shares authorized for this stock class
|
|
219
|
+
/** The initial number of shares authorized for this stock class */
|
|
143
220
|
initial_shares_authorized: string | number;
|
|
221
|
+
/** Name for the stock type (e.g. Series A Preferred or Class A Common) */
|
|
222
|
+
name: string;
|
|
223
|
+
/** Seniority of the stock - determines repayment priority. Seniority is ordered by increasing number so that stock classes with a higher seniority have higher repayment priority. The following properties hold for all stock classes for a given company: (a) transitivity: stock classes are absolutely stackable by seniority and in increasing numerical order, (b) non-uniqueness: multiple stock classes can have the same Seniority number and therefore have the same liquidation/repayment order. In practice, stock classes with same seniority may be created at different points in time and (for example, an extension of an existing preferred financing round), and also a new stock class can be created with seniority between two existing stock classes, in which case it is assigned some decimal number between the numbers representing seniority of the respective classes. */
|
|
224
|
+
seniority: string | number;
|
|
144
225
|
/** The number of votes each share of this stock class gets */
|
|
145
226
|
votes_per_share: string | number;
|
|
146
|
-
/**
|
|
147
|
-
|
|
148
|
-
/** Date on which the board approved the stock class (YYYY-MM-DD format) */
|
|
149
|
-
board_approval_date?: string;
|
|
150
|
-
/** Date on which the stockholders approved the stock class (YYYY-MM-DD format) */
|
|
151
|
-
stockholder_approval_date?: string;
|
|
152
|
-
/** Per-share par value of this stock class */
|
|
153
|
-
par_value?: Monetary;
|
|
154
|
-
/** Per-share price this stock class was issued for */
|
|
155
|
-
price_per_share?: Monetary;
|
|
227
|
+
/** Unstructured text comments related to and stored for the object */
|
|
228
|
+
comments: string[];
|
|
156
229
|
/** List of stock class conversion rights possible for this stock class */
|
|
157
|
-
conversion_rights
|
|
230
|
+
conversion_rights: StockClassConversionRight[];
|
|
231
|
+
/** Date on which the board approved the stock class */
|
|
232
|
+
board_approval_date?: string;
|
|
158
233
|
/** The liquidation preference per share for this stock class */
|
|
159
234
|
liquidation_preference_multiple?: string | number;
|
|
235
|
+
/** Per-share par value of this stock class */
|
|
236
|
+
par_value?: Monetary;
|
|
160
237
|
/** The participation cap multiple per share for this stock class */
|
|
161
238
|
participation_cap_multiple?: string | number;
|
|
162
|
-
/**
|
|
163
|
-
|
|
239
|
+
/** Per-share price this stock class was issued for */
|
|
240
|
+
price_per_share?: Monetary;
|
|
241
|
+
/** Date on which the stockholders approved the stock class */
|
|
242
|
+
stockholder_approval_date?: string;
|
|
164
243
|
}
|
|
165
|
-
/**
|
|
244
|
+
/**
|
|
245
|
+
* Enum - Stakeholder Type
|
|
246
|
+
* Stakeholder type (Individual or Institution)
|
|
247
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/enums/StakeholderType.schema.json
|
|
248
|
+
*/
|
|
166
249
|
export type StakeholderType = 'INDIVIDUAL' | 'INSTITUTION';
|
|
167
|
-
/**
|
|
250
|
+
/**
|
|
251
|
+
* Type - Contact Info
|
|
252
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/ContactInfo.schema.json
|
|
253
|
+
*/
|
|
168
254
|
export interface ContactInfo {
|
|
255
|
+
/** Contact name */
|
|
169
256
|
name: Name;
|
|
170
|
-
|
|
171
|
-
|
|
257
|
+
/** Phone numbers */
|
|
258
|
+
phone_numbers: Phone[];
|
|
259
|
+
/** Email addresses */
|
|
260
|
+
emails: Email[];
|
|
172
261
|
}
|
|
173
|
-
/**
|
|
262
|
+
/**
|
|
263
|
+
* Type - Contact Info Without Name
|
|
264
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/ContactInfoWithoutName.schema.json
|
|
265
|
+
*/
|
|
174
266
|
export interface ContactInfoWithoutName {
|
|
175
|
-
|
|
176
|
-
|
|
267
|
+
/** Phone numbers */
|
|
268
|
+
phone_numbers: Phone[];
|
|
269
|
+
/** Email addresses */
|
|
270
|
+
emails: Email[];
|
|
177
271
|
}
|
|
178
|
-
/**
|
|
272
|
+
/**
|
|
273
|
+
* Object - Stakeholder
|
|
274
|
+
* Object describing a stakeholder in the issuer's cap table
|
|
275
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/Stakeholder.schema.json
|
|
276
|
+
*/
|
|
179
277
|
export interface OcfStakeholderData {
|
|
278
|
+
/** Identifier for the object */
|
|
180
279
|
id: string;
|
|
280
|
+
/** Stakeholder's name */
|
|
181
281
|
name: Name;
|
|
282
|
+
/** Stakeholder type (Individual or Institution) */
|
|
182
283
|
stakeholder_type: StakeholderType;
|
|
284
|
+
/** Alternate ID assigned by issuer */
|
|
183
285
|
issuer_assigned_id?: string;
|
|
184
|
-
/**
|
|
185
|
-
current_relationships
|
|
186
|
-
/** Current
|
|
286
|
+
/** Current relationship(s) to issuer */
|
|
287
|
+
current_relationships: string[];
|
|
288
|
+
/** Current employment/engagement status */
|
|
187
289
|
current_status?: 'ACTIVE' | 'LEAVE_OF_ABSENCE' | 'TERMINATION_VOLUNTARY_OTHER' | 'TERMINATION_VOLUNTARY_GOOD_CAUSE' | 'TERMINATION_VOLUNTARY_RETIREMENT' | 'TERMINATION_INVOLUNTARY_OTHER' | 'TERMINATION_INVOLUNTARY_DEATH' | 'TERMINATION_INVOLUNTARY_DISABILITY' | 'TERMINATION_INVOLUNTARY_WITH_CAUSE';
|
|
290
|
+
/** Primary contact information */
|
|
188
291
|
primary_contact?: ContactInfo;
|
|
292
|
+
/** Contact info without name */
|
|
189
293
|
contact_info?: ContactInfoWithoutName;
|
|
294
|
+
/** Mailing or legal addresses */
|
|
190
295
|
addresses: Address[];
|
|
296
|
+
/** Tax identification numbers */
|
|
191
297
|
tax_ids: TaxId[];
|
|
192
|
-
comments
|
|
298
|
+
/** Unstructured comments */
|
|
299
|
+
comments: string[];
|
|
193
300
|
}
|
|
194
|
-
/**
|
|
301
|
+
/**
|
|
302
|
+
* Object - Stock Legend Template
|
|
303
|
+
* Object describing a stock legend template
|
|
304
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/StockLegendTemplate.schema.json
|
|
305
|
+
*/
|
|
195
306
|
export interface OcfStockLegendTemplateData {
|
|
307
|
+
/** Identifier for the object */
|
|
196
308
|
id: string;
|
|
309
|
+
/** Name for the stock legend template */
|
|
197
310
|
name: string;
|
|
311
|
+
/** The full text of the stock legend */
|
|
198
312
|
text: string;
|
|
199
|
-
comments
|
|
313
|
+
/** Unstructured text comments related to and stored for the object */
|
|
314
|
+
comments: string[];
|
|
200
315
|
}
|
|
201
|
-
/**
|
|
316
|
+
/**
|
|
317
|
+
* Type - Object Reference
|
|
318
|
+
* A type representing a reference to any kind of OCF object
|
|
319
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/ObjectReference.schema.json
|
|
320
|
+
*/
|
|
202
321
|
export interface OcfObjectReference {
|
|
322
|
+
/** Type of the referenced object */
|
|
203
323
|
object_type: 'ISSUER' | 'STAKEHOLDER' | 'STOCK_CLASS' | 'STOCK_LEGEND_TEMPLATE' | 'STOCK_PLAN' | 'VALUATION' | 'VESTING_TERMS' | 'FINANCING' | 'DOCUMENT' | 'CE_STAKEHOLDER_RELATIONSHIP' | 'CE_STAKEHOLDER_STATUS' | 'TX_ISSUER_AUTHORIZED_SHARES_ADJUSTMENT' | 'TX_STOCK_CLASS_CONVERSION_RATIO_ADJUSTMENT' | 'TX_STOCK_CLASS_AUTHORIZED_SHARES_ADJUSTMENT' | 'TX_STOCK_CLASS_SPLIT' | 'TX_STOCK_PLAN_POOL_ADJUSTMENT' | 'TX_STOCK_PLAN_RETURN_TO_POOL' | 'TX_CONVERTIBLE_ACCEPTANCE' | 'TX_CONVERTIBLE_CANCELLATION' | 'TX_CONVERTIBLE_CONVERSION' | 'TX_CONVERTIBLE_ISSUANCE' | 'TX_CONVERTIBLE_RETRACTION' | 'TX_CONVERTIBLE_TRANSFER' | 'TX_EQUITY_COMPENSATION_ACCEPTANCE' | 'TX_EQUITY_COMPENSATION_CANCELLATION' | 'TX_EQUITY_COMPENSATION_EXERCISE' | 'TX_EQUITY_COMPENSATION_ISSUANCE' | 'TX_EQUITY_COMPENSATION_RELEASE' | 'TX_EQUITY_COMPENSATION_RETRACTION' | 'TX_EQUITY_COMPENSATION_TRANSFER' | 'TX_EQUITY_COMPENSATION_REPRICING' | 'TX_PLAN_SECURITY_ACCEPTANCE' | 'TX_PLAN_SECURITY_CANCELLATION' | 'TX_PLAN_SECURITY_EXERCISE' | 'TX_PLAN_SECURITY_ISSUANCE' | 'TX_PLAN_SECURITY_RELEASE' | 'TX_PLAN_SECURITY_RETRACTION' | 'TX_PLAN_SECURITY_TRANSFER' | 'TX_STOCK_ACCEPTANCE' | 'TX_STOCK_CANCELLATION' | 'TX_STOCK_CONVERSION' | 'TX_STOCK_ISSUANCE' | 'TX_STOCK_REISSUANCE' | 'TX_STOCK_CONSOLIDATION' | 'TX_STOCK_REPURCHASE' | 'TX_STOCK_RETRACTION' | 'TX_STOCK_TRANSFER' | 'TX_WARRANT_ACCEPTANCE' | 'TX_WARRANT_CANCELLATION' | 'TX_WARRANT_EXERCISE' | 'TX_WARRANT_ISSUANCE' | 'TX_WARRANT_RETRACTION' | 'TX_WARRANT_TRANSFER' | 'TX_VESTING_ACCELERATION' | 'TX_VESTING_START' | 'TX_VESTING_EVENT';
|
|
324
|
+
/** Identifier of the referenced object */
|
|
204
325
|
object_id: string;
|
|
205
326
|
}
|
|
206
|
-
/**
|
|
327
|
+
/**
|
|
328
|
+
* Object - Document
|
|
329
|
+
* Object describing a document
|
|
330
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/Document.schema.json
|
|
331
|
+
*/
|
|
207
332
|
export interface OcfDocumentData {
|
|
333
|
+
/** Identifier for the object */
|
|
208
334
|
id: string;
|
|
335
|
+
/** Relative file path to the document within the OCF bundle */
|
|
209
336
|
path?: string;
|
|
337
|
+
/** External URI to the document (used when the file is hosted elsewhere) */
|
|
210
338
|
uri?: string;
|
|
339
|
+
/** MD5 hash of the document contents (32-character hex) */
|
|
211
340
|
md5: string;
|
|
341
|
+
/** References to related OCF objects */
|
|
212
342
|
related_objects: OcfObjectReference[];
|
|
213
|
-
comments
|
|
343
|
+
/** Unstructured text comments related to and stored for the object */
|
|
344
|
+
comments: string[];
|
|
214
345
|
}
|
|
215
|
-
/**
|
|
346
|
+
/**
|
|
347
|
+
* Enum - Valuation Type
|
|
348
|
+
* Enumeration of valuation types
|
|
349
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/enums/ValuationType.schema.json
|
|
350
|
+
*/
|
|
216
351
|
export type ValuationType = '409A';
|
|
217
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* Object - Valuation
|
|
354
|
+
* Object describing a valuation used in the cap table
|
|
355
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/Valuation.schema.json
|
|
356
|
+
*/
|
|
218
357
|
export interface OcfValuationData {
|
|
358
|
+
/** Identifier for the object */
|
|
219
359
|
id: string;
|
|
360
|
+
/** Identifier of the stock class for this valuation */
|
|
220
361
|
stock_class_id: string;
|
|
362
|
+
/** Entity which provided the valuation */
|
|
221
363
|
provider?: string;
|
|
364
|
+
/** Date on which board approved the valuation */
|
|
222
365
|
board_approval_date?: string;
|
|
366
|
+
/** This optional field tracks when the stockholders approved the valuation. */
|
|
223
367
|
stockholder_approval_date?: string;
|
|
368
|
+
/** Unstructured text comments related to and stored for the object */
|
|
224
369
|
comments?: string[];
|
|
370
|
+
/** Valued price per share */
|
|
225
371
|
price_per_share: Monetary;
|
|
372
|
+
/** Date on which this valuation is first valid */
|
|
226
373
|
effective_date: string;
|
|
374
|
+
/** Seam for supporting different types of valuations in future versions */
|
|
227
375
|
valuation_type: ValuationType;
|
|
228
376
|
}
|
|
229
377
|
export type StockIssuanceType = 'RSA' | 'FOUNDERS_STOCK';
|
|
230
378
|
export interface ShareNumberRange {
|
|
379
|
+
/** Starting share number in the range (must be > 0) */
|
|
231
380
|
starting_share_number: string | number;
|
|
381
|
+
/** Ending share number in the range (>= starting) */
|
|
232
382
|
ending_share_number: string | number;
|
|
233
383
|
}
|
|
234
384
|
export interface SecurityExemption {
|
|
385
|
+
/** Description of the exemption relied upon */
|
|
235
386
|
description: string;
|
|
387
|
+
/** Jurisdiction where the exemption applies */
|
|
236
388
|
jurisdiction: string;
|
|
237
389
|
}
|
|
238
390
|
export interface VestingSimple {
|
|
391
|
+
/** Date when vesting occurs */
|
|
239
392
|
date: string;
|
|
393
|
+
/** Number of shares, units, or amount vesting */
|
|
240
394
|
amount: string | number;
|
|
241
395
|
}
|
|
242
396
|
export interface OcfStockIssuanceData {
|
|
397
|
+
/** Identifier for the object */
|
|
243
398
|
id: string;
|
|
399
|
+
/** Date on which the transaction occurred */
|
|
244
400
|
date: string;
|
|
401
|
+
/** Identifier for the security by which it can be referenced by other transaction objects */
|
|
245
402
|
security_id: string;
|
|
403
|
+
/** A custom ID for this security (e.g. CS-1.) */
|
|
246
404
|
custom_id: string;
|
|
405
|
+
/** Identifier for the stakeholder that holds legal title to this security */
|
|
247
406
|
stakeholder_id: string;
|
|
407
|
+
/** Date of board approval for the security */
|
|
248
408
|
board_approval_date?: string;
|
|
409
|
+
/** Date on which the stockholders approved the security */
|
|
249
410
|
stockholder_approval_date?: string;
|
|
411
|
+
/** Unstructured text description of consideration provided in exchange for security issuance */
|
|
250
412
|
consideration_text?: string;
|
|
413
|
+
/** List of security law exemptions (and applicable jurisdictions) for this security */
|
|
251
414
|
security_law_exemptions: SecurityExemption[];
|
|
415
|
+
/** Identifier of the stock class of the issued security */
|
|
252
416
|
stock_class_id: string;
|
|
417
|
+
/** Identifier for the stock plan, if applicable */
|
|
253
418
|
stock_plan_id?: string;
|
|
254
|
-
|
|
419
|
+
/** Share number ranges (if any) associated with this issuance */
|
|
420
|
+
share_numbers_issued: ShareNumberRange[];
|
|
421
|
+
/** Price per share paid for the stock */
|
|
255
422
|
share_price: Monetary;
|
|
423
|
+
/** Quantity of shares issued */
|
|
256
424
|
quantity: string | number;
|
|
425
|
+
/** Reference to vesting terms object, if used instead of inline vestings */
|
|
257
426
|
vesting_terms_id?: string;
|
|
258
|
-
|
|
427
|
+
/** Vesting schedule entries associated directly with this issuance */
|
|
428
|
+
vestings: VestingSimple[];
|
|
429
|
+
/** Cost basis for the shares issued */
|
|
259
430
|
cost_basis?: Monetary;
|
|
431
|
+
/** Stock legends that apply to this issuance (schema minItems: 1; implementation may allow empty) */
|
|
260
432
|
stock_legend_ids: string[];
|
|
433
|
+
/** Type of stock issuance (e.g., RSA, Founders) */
|
|
261
434
|
issuance_type?: StockIssuanceType;
|
|
262
|
-
comments
|
|
435
|
+
/** Unstructured text comments related to and stored for the object */
|
|
436
|
+
comments: string[];
|
|
263
437
|
}
|
|
264
438
|
export type AllocationType = 'CUMULATIVE_ROUNDING' | 'CUMULATIVE_ROUND_DOWN' | 'FRONT_LOADED' | 'BACK_LOADED' | 'FRONT_LOADED_SINGLE_TRANCHE' | 'BACK_LOADED_SINGLE_TRANCHE' | 'FRACTIONAL';
|
|
439
|
+
/** Primitive - Vesting Period Type (Days/Months)
|
|
440
|
+
* Abstract type for periods of time; concrete days/months variants below.
|
|
441
|
+
* OCF (primitive): https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/primitives/types/vesting/VestingPeriod.schema.json
|
|
442
|
+
* OCF (days): https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/vesting/VestingPeriodInDays.schema.json
|
|
443
|
+
* OCF (months): https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/vesting/VestingPeriodInMonths.schema.json
|
|
444
|
+
*/
|
|
265
445
|
export type PeriodType = 'DAYS' | 'MONTHS';
|
|
266
446
|
export type VestingPeriod = {
|
|
267
447
|
type: PeriodType;
|
|
268
448
|
value: number;
|
|
269
449
|
};
|
|
450
|
+
/**
|
|
451
|
+
* Primitive - Vesting Condition Trigger Type and specific triggers
|
|
452
|
+
* OCF (primitive): https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/primitives/types/vesting/VestingConditionTrigger.schema.json
|
|
453
|
+
* OCF (start): https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/vesting/VestingStartTrigger.schema.json
|
|
454
|
+
* OCF (absolute): https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/vesting/VestingScheduleAbsoluteTrigger.schema.json
|
|
455
|
+
* OCF (relative): https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/vesting/VestingScheduleRelativeTrigger.schema.json
|
|
456
|
+
* OCF (event): https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/vesting/VestingEventTrigger.schema.json
|
|
457
|
+
*/
|
|
270
458
|
export type VestingTrigger = {
|
|
271
459
|
kind: 'START';
|
|
272
460
|
} | {
|
|
@@ -280,77 +468,141 @@ export type VestingTrigger = {
|
|
|
280
468
|
kind: 'EVENT';
|
|
281
469
|
};
|
|
282
470
|
export interface VestingConditionPortion {
|
|
471
|
+
/** Portion numerator (e.g., 25) */
|
|
283
472
|
numerator: string | number;
|
|
473
|
+
/** Portion denominator (e.g., 100) */
|
|
284
474
|
denominator: string | number;
|
|
475
|
+
/** If true, vest remainder after all integer tranches */
|
|
285
476
|
remainder: boolean;
|
|
286
477
|
}
|
|
287
478
|
export interface VestingCondition {
|
|
479
|
+
/** Reference identifier for this condition (unique within the vesting terms) */
|
|
288
480
|
id: string;
|
|
481
|
+
/** Detailed description of the condition */
|
|
289
482
|
description?: string;
|
|
483
|
+
/** If specified, the fractional part of the whole security that vests */
|
|
290
484
|
portion?: VestingConditionPortion;
|
|
485
|
+
/** If specified, the fixed amount of the whole security to vest */
|
|
291
486
|
quantity?: string | number;
|
|
487
|
+
/** Describes how this vesting condition is met */
|
|
292
488
|
trigger: VestingTrigger;
|
|
489
|
+
/** List of ALL VestingCondition IDs that can trigger after this one */
|
|
293
490
|
next_condition_ids: string[];
|
|
294
491
|
}
|
|
492
|
+
/**
|
|
493
|
+
* Object - Vesting Terms
|
|
494
|
+
* Object describing the terms under which a security vests
|
|
495
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/VestingTerms.schema.json
|
|
496
|
+
*/
|
|
295
497
|
export interface OcfVestingTermsData {
|
|
296
498
|
id: string;
|
|
499
|
+
/** Concise name for the vesting schedule */
|
|
297
500
|
name: string;
|
|
501
|
+
/** Detailed description of the vesting schedule */
|
|
298
502
|
description: string;
|
|
503
|
+
/** Allocation/rounding type for the vesting schedule */
|
|
299
504
|
allocation_type: AllocationType;
|
|
505
|
+
/** Conditions and triggers that describe the graph of vesting schedules and events */
|
|
300
506
|
vesting_conditions: VestingCondition[];
|
|
301
|
-
comments
|
|
507
|
+
/** Unstructured text comments related to and stored for the object */
|
|
508
|
+
comments: string[];
|
|
302
509
|
}
|
|
303
510
|
export type StockPlanCancellationBehavior = 'RETIRE' | 'RETURN_TO_POOL' | 'HOLD_AS_CAPITAL_STOCK' | 'DEFINED_PER_PLAN_SECURITY';
|
|
304
511
|
export interface OcfStockPlanData {
|
|
305
512
|
id: string;
|
|
513
|
+
/** Human-friendly name of the plan */
|
|
306
514
|
plan_name: string;
|
|
515
|
+
/** Date of board approval for the plan */
|
|
307
516
|
board_approval_date?: string;
|
|
517
|
+
/** Date of stockholder approval for the plan */
|
|
308
518
|
stockholder_approval_date?: string;
|
|
519
|
+
/** Initial number of shares reserved for the plan */
|
|
309
520
|
initial_shares_reserved: string | number;
|
|
521
|
+
/** Default cancellation behavior if not specified at the security level */
|
|
310
522
|
default_cancellation_behavior?: StockPlanCancellationBehavior;
|
|
523
|
+
/** List of stock class ids associated with this plan */
|
|
311
524
|
stock_class_ids: string[];
|
|
312
|
-
comments
|
|
525
|
+
/** Unstructured text comments related to and stored for the object */
|
|
526
|
+
comments: string[];
|
|
313
527
|
}
|
|
314
528
|
export type CompensationType = 'OPTION_NSO' | 'OPTION_ISO' | 'OPTION' | 'RSU' | 'CSAR' | 'SSAR';
|
|
315
529
|
export interface Vesting {
|
|
530
|
+
/** Date when vesting occurs */
|
|
316
531
|
date: string;
|
|
532
|
+
/** Number of shares, units, or amount vesting */
|
|
317
533
|
amount: string | number;
|
|
318
534
|
}
|
|
319
535
|
export type TerminationWindowReason = 'VOLUNTARY_OTHER' | 'VOLUNTARY_GOOD_CAUSE' | 'VOLUNTARY_RETIREMENT' | 'INVOLUNTARY_OTHER' | 'INVOLUNTARY_DEATH' | 'INVOLUNTARY_DISABILITY' | 'INVOLUNTARY_WITH_CAUSE';
|
|
320
536
|
export interface TerminationWindow {
|
|
537
|
+
/** Reason for termination window */
|
|
321
538
|
reason: TerminationWindowReason;
|
|
539
|
+
/** Number of units in the termination window */
|
|
322
540
|
period: number;
|
|
541
|
+
/** Unit of time for the termination window */
|
|
323
542
|
period_type: PeriodType;
|
|
324
543
|
}
|
|
325
544
|
export interface OcfEquityCompensationIssuanceData {
|
|
545
|
+
/** Type of equity compensation instrument */
|
|
326
546
|
compensation_type: CompensationType;
|
|
547
|
+
/** Quantity granted/issued */
|
|
327
548
|
quantity: string | number;
|
|
549
|
+
/** Exercise price per share/unit */
|
|
328
550
|
exercise_price?: Monetary;
|
|
551
|
+
/** Base price used to value compensation (for SARs) */
|
|
329
552
|
base_price?: Monetary;
|
|
553
|
+
/** Whether early exercise is permitted */
|
|
330
554
|
early_exercisable?: boolean;
|
|
331
|
-
|
|
332
|
-
|
|
555
|
+
/** List of security law exemptions (and applicable jurisdictions) for this security */
|
|
556
|
+
security_law_exemptions: SecurityExemption[];
|
|
557
|
+
/** Vesting events for the grant */
|
|
558
|
+
vestings: Vesting[];
|
|
559
|
+
/** Expiration date of instrument */
|
|
333
560
|
expiration_date?: string;
|
|
561
|
+
/** Termination exercise windows after termination events */
|
|
334
562
|
termination_exercise_windows: TerminationWindow[];
|
|
335
|
-
comments
|
|
563
|
+
/** Unstructured text comments */
|
|
564
|
+
comments: string[];
|
|
336
565
|
}
|
|
337
566
|
export type ConvertibleType = 'NOTE' | 'SAFE' | 'SECURITY';
|
|
338
567
|
export type SimpleTrigger = 'AUTOMATIC' | 'OPTIONAL';
|
|
568
|
+
/**
|
|
569
|
+
* Object - Convertible Issuance Transaction (native subset)
|
|
570
|
+
* Object describing convertible instrument issuance transaction by the issuer and held by a stakeholder
|
|
571
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/transactions/issuance/ConvertibleIssuance.schema.json
|
|
572
|
+
*/
|
|
339
573
|
export interface OcfConvertibleIssuanceDataNative {
|
|
574
|
+
/** Amount invested and outstanding on date of issuance of this convertible */
|
|
340
575
|
investment_amount: Monetary;
|
|
576
|
+
/** What kind of convertible instrument is this (of the supported, enumerated types) */
|
|
341
577
|
convertible_type: ConvertibleType;
|
|
578
|
+
/** Convertible - Conversion Trigger Array (simplified) */
|
|
342
579
|
conversion_triggers: SimpleTrigger[];
|
|
580
|
+
/** If different convertible instruments have seniority over one another, use this value to build a seniority stack */
|
|
343
581
|
seniority: number;
|
|
582
|
+
/** What pro-rata (if any) is the holder entitled to buy at the next round? */
|
|
344
583
|
pro_rata?: string | number;
|
|
345
|
-
comments
|
|
584
|
+
/** Unstructured text comments related to and stored for the object */
|
|
585
|
+
comments: string[];
|
|
346
586
|
}
|
|
587
|
+
/**
|
|
588
|
+
* Object - Warrant Issuance Transaction (native subset)
|
|
589
|
+
* Object describing warrant issuance transaction by the issuer and held by a stakeholder
|
|
590
|
+
* OCF: https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/transactions/issuance/WarrantIssuance.schema.json
|
|
591
|
+
*/
|
|
347
592
|
export interface OcfWarrantIssuanceDataNative {
|
|
593
|
+
/** Quantity of shares the warrant is exercisable for */
|
|
348
594
|
quantity: string | number;
|
|
595
|
+
/** The exercise price of the warrant */
|
|
349
596
|
exercise_price?: Monetary;
|
|
597
|
+
/** Actual purchase price of the warrant (sum up purported value of all consideration, including in-kind) */
|
|
350
598
|
purchase_price: Monetary;
|
|
599
|
+
/** Warrant Issuance - Exercise Trigger Array (simplified) */
|
|
351
600
|
exercise_triggers: SimpleTrigger[];
|
|
601
|
+
/** What is expiration date of the warrant (if applicable) */
|
|
352
602
|
warrant_expiration_date?: string;
|
|
603
|
+
/** Identifier of the VestingTerms to which this security is subject */
|
|
353
604
|
vesting_terms_id?: string;
|
|
354
|
-
comments
|
|
605
|
+
/** Unstructured text comments related to and stored for the object */
|
|
606
|
+
comments: string[];
|
|
355
607
|
}
|
|
356
608
|
//# sourceMappingURL=native.d.ts.map
|