@open-captable-protocol/canton 0.2.64 → 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.
Files changed (185) hide show
  1. package/dist/OcpClient.d.ts +1 -4
  2. package/dist/OcpClient.d.ts.map +1 -1
  3. package/dist/OcpClient.js +1 -4
  4. package/dist/OcpClient.js.map +1 -1
  5. package/dist/functions/companyValuationReport/addObserversToCompanyValuationReport.d.ts +1 -1
  6. package/dist/functions/companyValuationReport/addObserversToCompanyValuationReport.d.ts.map +1 -1
  7. package/dist/functions/companyValuationReport/addObserversToCompanyValuationReport.js +3 -3
  8. package/dist/functions/companyValuationReport/addObserversToCompanyValuationReport.js.map +1 -1
  9. package/dist/functions/companyValuationReport/createCompanyValuationReport.d.ts +3 -3
  10. package/dist/functions/companyValuationReport/createCompanyValuationReport.d.ts.map +1 -1
  11. package/dist/functions/companyValuationReport/createCompanyValuationReport.js +3 -3
  12. package/dist/functions/companyValuationReport/createCompanyValuationReport.js.map +1 -1
  13. package/dist/functions/companyValuationReport/updateCompanyValuation.d.ts +1 -1
  14. package/dist/functions/companyValuationReport/updateCompanyValuation.d.ts.map +1 -1
  15. package/dist/functions/companyValuationReport/updateCompanyValuation.js +3 -3
  16. package/dist/functions/companyValuationReport/updateCompanyValuation.js.map +1 -1
  17. package/dist/functions/convertibleIssuance/archiveConvertibleIssuanceByIssuer.d.ts +2 -0
  18. package/dist/functions/convertibleIssuance/archiveConvertibleIssuanceByIssuer.d.ts.map +1 -1
  19. package/dist/functions/convertibleIssuance/archiveConvertibleIssuanceByIssuer.js +1 -1
  20. package/dist/functions/convertibleIssuance/archiveConvertibleIssuanceByIssuer.js.map +1 -1
  21. package/dist/functions/convertibleIssuance/createConvertibleIssuance.d.ts +3 -2
  22. package/dist/functions/convertibleIssuance/createConvertibleIssuance.d.ts.map +1 -1
  23. package/dist/functions/convertibleIssuance/createConvertibleIssuance.js +8 -3
  24. package/dist/functions/convertibleIssuance/createConvertibleIssuance.js.map +1 -1
  25. package/dist/functions/document/archiveDocumentByIssuer.d.ts +2 -0
  26. package/dist/functions/document/archiveDocumentByIssuer.d.ts.map +1 -1
  27. package/dist/functions/document/archiveDocumentByIssuer.js +1 -1
  28. package/dist/functions/document/archiveDocumentByIssuer.js.map +1 -1
  29. package/dist/functions/document/createDocument.d.ts +3 -2
  30. package/dist/functions/document/createDocument.d.ts.map +1 -1
  31. package/dist/functions/document/createDocument.js +4 -3
  32. package/dist/functions/document/createDocument.js.map +1 -1
  33. package/dist/functions/issuer/authorizeIssuer.d.ts +4 -2
  34. package/dist/functions/issuer/authorizeIssuer.d.ts.map +1 -1
  35. package/dist/functions/issuer/authorizeIssuer.js +4 -3
  36. package/dist/functions/issuer/authorizeIssuer.js.map +1 -1
  37. package/dist/functions/issuer/createIssuer.d.ts +4 -3
  38. package/dist/functions/issuer/createIssuer.d.ts.map +1 -1
  39. package/dist/functions/issuer/createIssuer.js +4 -3
  40. package/dist/functions/issuer/createIssuer.js.map +1 -1
  41. package/dist/functions/issuer/createValuation.d.ts +3 -2
  42. package/dist/functions/issuer/createValuation.d.ts.map +1 -1
  43. package/dist/functions/issuer/createValuation.js +4 -3
  44. package/dist/functions/issuer/createValuation.js.map +1 -1
  45. package/dist/functions/issuer/getIssuerAsOcf.d.ts.map +1 -1
  46. package/dist/functions/issuer/getIssuerAsOcf.js +1 -20
  47. package/dist/functions/issuer/getIssuerAsOcf.js.map +1 -1
  48. package/dist/functions/issuerAuthorization/withdrawAuthorization.d.ts +2 -0
  49. package/dist/functions/issuerAuthorization/withdrawAuthorization.d.ts.map +1 -1
  50. package/dist/functions/issuerAuthorization/withdrawAuthorization.js +1 -1
  51. package/dist/functions/issuerAuthorization/withdrawAuthorization.js.map +1 -1
  52. package/dist/functions/issuerAuthorizedSharesAdjustment/archiveIssuerAuthorizedSharesAdjustmentByIssuer.d.ts +2 -0
  53. package/dist/functions/issuerAuthorizedSharesAdjustment/archiveIssuerAuthorizedSharesAdjustmentByIssuer.d.ts.map +1 -1
  54. package/dist/functions/issuerAuthorizedSharesAdjustment/archiveIssuerAuthorizedSharesAdjustmentByIssuer.js +1 -1
  55. package/dist/functions/issuerAuthorizedSharesAdjustment/archiveIssuerAuthorizedSharesAdjustmentByIssuer.js.map +1 -1
  56. package/dist/functions/issuerAuthorizedSharesAdjustment/createIssuerAuthorizedSharesAdjustment.d.ts +3 -2
  57. package/dist/functions/issuerAuthorizedSharesAdjustment/createIssuerAuthorizedSharesAdjustment.d.ts.map +1 -1
  58. package/dist/functions/issuerAuthorizedSharesAdjustment/createIssuerAuthorizedSharesAdjustment.js +7 -2
  59. package/dist/functions/issuerAuthorizedSharesAdjustment/createIssuerAuthorizedSharesAdjustment.js.map +1 -1
  60. package/dist/functions/stakeholder/archiveStakeholderByIssuer.d.ts +2 -0
  61. package/dist/functions/stakeholder/archiveStakeholderByIssuer.d.ts.map +1 -1
  62. package/dist/functions/stakeholder/archiveStakeholderByIssuer.js +1 -1
  63. package/dist/functions/stakeholder/archiveStakeholderByIssuer.js.map +1 -1
  64. package/dist/functions/stakeholder/createStakeholder.d.ts +3 -3
  65. package/dist/functions/stakeholder/createStakeholder.d.ts.map +1 -1
  66. package/dist/functions/stakeholder/createStakeholder.js +4 -3
  67. package/dist/functions/stakeholder/createStakeholder.js.map +1 -1
  68. package/dist/functions/stakeholder/getStakeholderAsOcf.d.ts.map +1 -1
  69. package/dist/functions/stakeholder/getStakeholderAsOcf.js +6 -2
  70. package/dist/functions/stakeholder/getStakeholderAsOcf.js.map +1 -1
  71. package/dist/functions/stockCancellation/archiveStockCancellationByIssuer.d.ts +2 -0
  72. package/dist/functions/stockCancellation/archiveStockCancellationByIssuer.d.ts.map +1 -1
  73. package/dist/functions/stockCancellation/archiveStockCancellationByIssuer.js +1 -1
  74. package/dist/functions/stockCancellation/archiveStockCancellationByIssuer.js.map +1 -1
  75. package/dist/functions/stockCancellation/createStockCancellation.d.ts +3 -2
  76. package/dist/functions/stockCancellation/createStockCancellation.d.ts.map +1 -1
  77. package/dist/functions/stockCancellation/createStockCancellation.js +7 -2
  78. package/dist/functions/stockCancellation/createStockCancellation.js.map +1 -1
  79. package/dist/functions/stockClass/archiveStockClassByIssuer.d.ts +2 -0
  80. package/dist/functions/stockClass/archiveStockClassByIssuer.d.ts.map +1 -1
  81. package/dist/functions/stockClass/archiveStockClassByIssuer.js +1 -1
  82. package/dist/functions/stockClass/archiveStockClassByIssuer.js.map +1 -1
  83. package/dist/functions/stockClass/createStockClass.d.ts +3 -2
  84. package/dist/functions/stockClass/createStockClass.d.ts.map +1 -1
  85. package/dist/functions/stockClass/createStockClass.js +4 -3
  86. package/dist/functions/stockClass/createStockClass.js.map +1 -1
  87. package/dist/functions/stockClass/getStockClassAsOcf.d.ts.map +1 -1
  88. package/dist/functions/stockClass/getStockClassAsOcf.js +6 -2
  89. package/dist/functions/stockClass/getStockClassAsOcf.js.map +1 -1
  90. package/dist/functions/stockClassAuthorizedSharesAdjustment/archiveStockClassAuthorizedSharesAdjustmentByIssuer.d.ts +2 -0
  91. package/dist/functions/stockClassAuthorizedSharesAdjustment/archiveStockClassAuthorizedSharesAdjustmentByIssuer.d.ts.map +1 -1
  92. package/dist/functions/stockClassAuthorizedSharesAdjustment/archiveStockClassAuthorizedSharesAdjustmentByIssuer.js +1 -1
  93. package/dist/functions/stockClassAuthorizedSharesAdjustment/archiveStockClassAuthorizedSharesAdjustmentByIssuer.js.map +1 -1
  94. package/dist/functions/stockClassAuthorizedSharesAdjustment/createStockClassAuthorizedSharesAdjustment.d.ts +3 -2
  95. package/dist/functions/stockClassAuthorizedSharesAdjustment/createStockClassAuthorizedSharesAdjustment.d.ts.map +1 -1
  96. package/dist/functions/stockClassAuthorizedSharesAdjustment/createStockClassAuthorizedSharesAdjustment.js +7 -2
  97. package/dist/functions/stockClassAuthorizedSharesAdjustment/createStockClassAuthorizedSharesAdjustment.js.map +1 -1
  98. package/dist/functions/stockIssuance/archiveStockIssuanceByIssuer.d.ts +2 -0
  99. package/dist/functions/stockIssuance/archiveStockIssuanceByIssuer.d.ts.map +1 -1
  100. package/dist/functions/stockIssuance/archiveStockIssuanceByIssuer.js +1 -1
  101. package/dist/functions/stockIssuance/archiveStockIssuanceByIssuer.js.map +1 -1
  102. package/dist/functions/stockIssuance/createStockIssuance.d.ts +3 -2
  103. package/dist/functions/stockIssuance/createStockIssuance.d.ts.map +1 -1
  104. package/dist/functions/stockIssuance/createStockIssuance.js +7 -2
  105. package/dist/functions/stockIssuance/createStockIssuance.js.map +1 -1
  106. package/dist/functions/stockIssuance/getStockIssuanceAsOcf.d.ts.map +1 -1
  107. package/dist/functions/stockIssuance/getStockIssuanceAsOcf.js +14 -2
  108. package/dist/functions/stockIssuance/getStockIssuanceAsOcf.js.map +1 -1
  109. package/dist/functions/stockLegendTemplate/archiveStockLegendTemplateByIssuer.d.ts +2 -0
  110. package/dist/functions/stockLegendTemplate/archiveStockLegendTemplateByIssuer.d.ts.map +1 -1
  111. package/dist/functions/stockLegendTemplate/archiveStockLegendTemplateByIssuer.js +1 -1
  112. package/dist/functions/stockLegendTemplate/archiveStockLegendTemplateByIssuer.js.map +1 -1
  113. package/dist/functions/stockLegendTemplate/createStockLegendTemplate.d.ts +3 -2
  114. package/dist/functions/stockLegendTemplate/createStockLegendTemplate.d.ts.map +1 -1
  115. package/dist/functions/stockLegendTemplate/createStockLegendTemplate.js +4 -3
  116. package/dist/functions/stockLegendTemplate/createStockLegendTemplate.js.map +1 -1
  117. package/dist/functions/stockPlan/archiveStockPlanByIssuer.d.ts +2 -0
  118. package/dist/functions/stockPlan/archiveStockPlanByIssuer.d.ts.map +1 -1
  119. package/dist/functions/stockPlan/archiveStockPlanByIssuer.js +1 -1
  120. package/dist/functions/stockPlan/archiveStockPlanByIssuer.js.map +1 -1
  121. package/dist/functions/stockPlan/createEquityCompensationExercise.d.ts +3 -2
  122. package/dist/functions/stockPlan/createEquityCompensationExercise.d.ts.map +1 -1
  123. package/dist/functions/stockPlan/createEquityCompensationExercise.js +7 -2
  124. package/dist/functions/stockPlan/createEquityCompensationExercise.js.map +1 -1
  125. package/dist/functions/stockPlan/createEquityCompensationIssuance.d.ts +3 -2
  126. package/dist/functions/stockPlan/createEquityCompensationIssuance.d.ts.map +1 -1
  127. package/dist/functions/stockPlan/createEquityCompensationIssuance.js +1 -1
  128. package/dist/functions/stockPlan/createEquityCompensationIssuance.js.map +1 -1
  129. package/dist/functions/stockPlan/createStockPlan.d.ts +3 -2
  130. package/dist/functions/stockPlan/createStockPlan.d.ts.map +1 -1
  131. package/dist/functions/stockPlan/createStockPlan.js +4 -3
  132. package/dist/functions/stockPlan/createStockPlan.js.map +1 -1
  133. package/dist/functions/stockPlan/getStockPlanAsOcf.d.ts.map +1 -1
  134. package/dist/functions/stockPlan/getStockPlanAsOcf.js +3 -1
  135. package/dist/functions/stockPlan/getStockPlanAsOcf.js.map +1 -1
  136. package/dist/functions/stockPlanPoolAdjustment/archiveStockPlanPoolAdjustmentByIssuer.d.ts +2 -0
  137. package/dist/functions/stockPlanPoolAdjustment/archiveStockPlanPoolAdjustmentByIssuer.d.ts.map +1 -1
  138. package/dist/functions/stockPlanPoolAdjustment/archiveStockPlanPoolAdjustmentByIssuer.js +1 -1
  139. package/dist/functions/stockPlanPoolAdjustment/archiveStockPlanPoolAdjustmentByIssuer.js.map +1 -1
  140. package/dist/functions/stockPlanPoolAdjustment/createStockPlanPoolAdjustment.d.ts +3 -2
  141. package/dist/functions/stockPlanPoolAdjustment/createStockPlanPoolAdjustment.d.ts.map +1 -1
  142. package/dist/functions/stockPlanPoolAdjustment/createStockPlanPoolAdjustment.js +7 -2
  143. package/dist/functions/stockPlanPoolAdjustment/createStockPlanPoolAdjustment.js.map +1 -1
  144. package/dist/functions/valuation/archiveValuationByIssuer.d.ts +2 -0
  145. package/dist/functions/valuation/archiveValuationByIssuer.d.ts.map +1 -1
  146. package/dist/functions/valuation/archiveValuationByIssuer.js +1 -1
  147. package/dist/functions/valuation/archiveValuationByIssuer.js.map +1 -1
  148. package/dist/functions/valuation/getValuationAsOcf.d.ts.map +1 -1
  149. package/dist/functions/valuation/getValuationAsOcf.js +2 -1
  150. package/dist/functions/valuation/getValuationAsOcf.js.map +1 -1
  151. package/dist/functions/vestingTerms/archiveVestingTermsByIssuer.d.ts +2 -0
  152. package/dist/functions/vestingTerms/archiveVestingTermsByIssuer.d.ts.map +1 -1
  153. package/dist/functions/vestingTerms/archiveVestingTermsByIssuer.js +1 -1
  154. package/dist/functions/vestingTerms/archiveVestingTermsByIssuer.js.map +1 -1
  155. package/dist/functions/vestingTerms/createVestingTerms.d.ts +3 -2
  156. package/dist/functions/vestingTerms/createVestingTerms.d.ts.map +1 -1
  157. package/dist/functions/vestingTerms/createVestingTerms.js +4 -3
  158. package/dist/functions/vestingTerms/createVestingTerms.js.map +1 -1
  159. package/dist/functions/warrantIssuance/archiveWarrantIssuanceByIssuer.d.ts +2 -0
  160. package/dist/functions/warrantIssuance/archiveWarrantIssuanceByIssuer.d.ts.map +1 -1
  161. package/dist/functions/warrantIssuance/archiveWarrantIssuanceByIssuer.js +1 -1
  162. package/dist/functions/warrantIssuance/archiveWarrantIssuanceByIssuer.js.map +1 -1
  163. package/dist/functions/warrantIssuance/createWarrantIssuance.d.ts +3 -2
  164. package/dist/functions/warrantIssuance/createWarrantIssuance.d.ts.map +1 -1
  165. package/dist/functions/warrantIssuance/createWarrantIssuance.js +8 -2
  166. package/dist/functions/warrantIssuance/createWarrantIssuance.js.map +1 -1
  167. package/dist/index.d.ts +2 -3
  168. package/dist/index.d.ts.map +1 -1
  169. package/dist/index.js +2 -3
  170. package/dist/index.js.map +1 -1
  171. package/dist/types/index.d.ts +2 -0
  172. package/dist/types/index.d.ts.map +1 -0
  173. package/dist/types/index.js +18 -0
  174. package/dist/types/index.js.map +1 -0
  175. package/dist/types/native.d.ts +355 -103
  176. package/dist/types/native.d.ts.map +1 -1
  177. package/dist/utils/index.d.ts +2 -0
  178. package/dist/utils/index.d.ts.map +1 -0
  179. package/dist/utils/index.js +18 -0
  180. package/dist/utils/index.js.map +1 -0
  181. package/dist/utils/typeConversions.d.ts +1 -0
  182. package/dist/utils/typeConversions.d.ts.map +1 -1
  183. package/dist/utils/typeConversions.js +93 -47
  184. package/dist/utils/typeConversions.js.map +1 -1
  185. package/package.json +7 -6
@@ -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
- /** Email type */
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
- /** Address type */
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
- /** Phone type */
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
- /** Phone object */
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. mobile, home or business) */
30
+ /** Type of phone number (e.g., home, mobile, business, other) */
15
31
  phone_type: PhoneType;
16
- /** A valid phone number string in ITU E.123 international notation (e.g. +123 123 456 7890) */
32
+ /** The phone number (e.g., E.164 formatted string) */
17
33
  phone_number: string;
18
34
  }
19
- /** Name object per OCF Name.schema */
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
- /** Stock class type */
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
- /** Conversion mechanism types */
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
- /** Conversion trigger types */
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
- /** Rounding type for fractional shares */
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
- /** Authorized shares special values */
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
- /** Initial shares authorized (Issuer allows enum, StockClass requires numeric). */
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
- /** Monetary value */
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
- /** The amount of the monetary value */
88
+ /** Amount of money in the given currency */
40
89
  amount: string | number;
41
- /** The currency code for the monetary value (ISO 4217) */
90
+ /** Three-letter ISO currency code */
42
91
  currency: string;
43
92
  }
44
- /** Email object */
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 email address */
99
+ /** Type of e-mail address (e.g. personal or business) */
47
100
  email_type: EmailType;
48
- /** The email address */
101
+ /** A valid e-mail address */
49
102
  email_address: string;
50
103
  }
51
- /** Address object */
104
+ /**
105
+ * Type - Address
106
+ * Type representation of an address
107
+ */
52
108
  export interface Address {
53
- /** What type of address this is */
109
+ /** Type of address (legal, contact, or other) */
54
110
  address_type: AddressType;
55
- /** Street address (multi-line string) */
111
+ /** Street address and suite/apartment */
56
112
  street_suite?: string;
57
- /** City */
113
+ /** City name */
58
114
  city?: string;
59
- /** State, province, or equivalent identifier */
115
+ /** Country subdivision/state/province code or name */
60
116
  country_subdivision?: string;
61
- /** Country code for this address (ISO 3166-1 alpha-2) */
117
+ /** Country code (ISO 3166-1 alpha-2) */
62
118
  country: string;
63
- /** Address postal code */
119
+ /** Postal or ZIP code */
64
120
  postal_code?: string;
65
121
  }
66
- /** Tax ID object following OCF specification */
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
- /** Tax identifier as string */
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
- /** Stock Class Conversion Right following OCF specification */
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 identifier for the conversion right (required) */
138
+ /** Type descriptor of conversion right */
76
139
  type: string;
77
- /** The conversion mechanism that determines how conversions are calculated (required) */
140
+ /** Mechanism by which conversion occurs */
78
141
  conversion_mechanism: ConversionMechanism;
79
- /** When the conversion can occur (required) */
142
+ /** Trigger that would cause conversion */
80
143
  conversion_trigger: ConversionTrigger;
81
- /** ID of the target stock class that this converts into (required) */
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 for PERCENT_CONVERSION (0 < p <= 1) */
151
+ /** Percent of capitalization this converts to (0 < p <= 1) */
89
152
  percent_of_capitalization?: number;
90
- /** Fixed amount price for FIXED_AMOUNT_CONVERSION */
153
+ /** Conversion price per share for fixed-amount conversion */
91
154
  conversion_price?: Monetary;
92
- /** Optional reference prices and bounds (not fully modeled in DAML in v1) */
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? (not modeled in DAML v1; retained for OCF completeness) */
169
+ /** How should fractional shares be rounded? */
101
170
  rounding_type?: RoundingType;
102
- /** Expiration date after which the conversion right is no longer valid (YYYY-MM-DD format) */
171
+ /** Expiration date for this conversion right (YYYY-MM-DD) */
103
172
  expires_at?: string;
104
173
  }
105
- /** OCF Issuer Data */
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 (YYYY-MM-DD format) */
111
- formation_date?: string;
184
+ /** Date of formation */
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
- /** Doing Business As name */
115
- dba?: string;
116
- /** The state, province, or subdivision where the issuer company was legally formed */
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
- /** The text name of state, province, or subdivision where the issuer company was legally formed if the code is not available */
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
- /** The tax ids for this issuer company */
121
- tax_ids?: TaxId[];
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
- /** Optional comments */
131
- comments?: string[];
204
+ /** A phone number that the issuer company can be reached at */
205
+ phone?: Phone;
132
206
  }
133
- /** OCF Stock Class Data */
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
- /** Name for the stock type (e.g. Series A Preferred or Class A Common) */
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 (numeric only) */
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
- /** Seniority of the stock - determines repayment priority */
147
- seniority: string | number;
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?: StockClassConversionRight[];
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
- /** Optional comments */
163
- comments?: string[];
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
- /** Stakeholder type */
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
- /** Contact info with name */
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
- phone_numbers?: Phone[];
171
- emails?: Email[];
257
+ /** Phone numbers */
258
+ phone_numbers: Phone[];
259
+ /** Email addresses */
260
+ emails: Email[];
172
261
  }
173
- /** Contact info without name */
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
- phone_numbers?: Phone[];
176
- emails?: Email[];
267
+ /** Phone numbers */
268
+ phone_numbers: Phone[];
269
+ /** Email addresses */
270
+ emails: Email[];
177
271
  }
178
- /** OCF Stakeholder Data */
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
- /** Array of current relationships per v2 */
185
- current_relationships?: string[];
186
- /** Current activity status of the stakeholder */
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?: string[];
298
+ /** Unstructured comments */
299
+ comments: string[];
193
300
  }
194
- /** Stock Legend Template Data */
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?: string[];
313
+ /** Unstructured text comments related to and stored for the object */
314
+ comments: string[];
200
315
  }
201
- /** Reference to another OCF object */
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
- /** OCF Document Data */
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?: string[];
343
+ /** Unstructured text comments related to and stored for the object */
344
+ comments: string[];
214
345
  }
215
- /** Valuation Type */
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
- /** OCF Valuation Data */
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
- share_numbers_issued?: ShareNumberRange[];
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
- vestings?: VestingSimple[];
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?: string[];
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?: string[];
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?: string[];
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
- security_law_exemptions?: SecurityExemption[];
332
- vestings?: Vesting[];
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?: string[];
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?: string[];
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?: string[];
605
+ /** Unstructured text comments related to and stored for the object */
606
+ comments: string[];
355
607
  }
356
608
  //# sourceMappingURL=native.d.ts.map