@fairmint/open-captable-protocol-daml-js 0.1.3 → 0.2.0
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/generated/ocp-factory-contract-id.json +4 -4
- package/lib/Fairmint/OpenCapTable/Document/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/Document/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/Document/module.d.ts +135 -0
- package/lib/Fairmint/OpenCapTable/Document/module.js +159 -0
- package/lib/Fairmint/OpenCapTable/Issuer/module.d.ts +63 -424
- package/lib/Fairmint/OpenCapTable/Issuer/module.js +86 -614
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +3 -6
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +6 -9
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/Stakeholder/module.d.ts +74 -84
- package/lib/Fairmint/OpenCapTable/Stakeholder/module.js +65 -107
- package/lib/Fairmint/OpenCapTable/StockClass/module.d.ts +118 -403
- package/lib/Fairmint/OpenCapTable/StockClass/module.js +103 -573
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.d.ts +19 -11
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.js +27 -17
- package/lib/Fairmint/OpenCapTable/StockPlan/module.d.ts +24 -403
- package/lib/Fairmint/OpenCapTable/StockPlan/module.js +29 -587
- package/lib/Fairmint/OpenCapTable/Types/module.d.ts +8 -565
- package/lib/Fairmint/OpenCapTable/Types/module.js +7 -582
- package/lib/Fairmint/OpenCapTable/Valuation/module.d.ts +34 -13
- package/lib/Fairmint/OpenCapTable/Valuation/module.js +40 -19
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.d.ts +98 -11
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.js +117 -17
- package/lib/Fairmint/OpenCapTable/index.d.ts +2 -0
- package/lib/Fairmint/OpenCapTable/index.js +2 -0
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +1 -1
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +1 -1
- package/package.json +2 -2
|
@@ -12,6 +12,8 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
/* eslint-disable-next-line no-unused-vars */
|
|
13
13
|
var damlLedger = require('@daml/ledger');
|
|
14
14
|
|
|
15
|
+
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../Splice/Api/FeaturedAppRightV1');
|
|
16
|
+
|
|
15
17
|
|
|
16
18
|
exports.OcfCapitalizationDefinitionRules = {
|
|
17
19
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({include_outstanding_shares: damlTypes.Bool.decoder, include_outstanding_options: damlTypes.Bool.decoder, include_outstanding_unissued_options: damlTypes.Bool.decoder, include_this_security: damlTypes.Bool.decoder, include_other_converting_securities: damlTypes.Bool.decoder, include_option_pool_topup_for_promised_options: damlTypes.Bool.decoder, include_additional_option_pool_topup: damlTypes.Bool.decoder, include_new_money: damlTypes.Bool.decoder, }); }),
|
|
@@ -86,19 +88,6 @@ exports.OcfSecurityExemption = {
|
|
|
86
88
|
|
|
87
89
|
|
|
88
90
|
|
|
89
|
-
exports.OcfObjectReference = {
|
|
90
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({object_type: exports.OcfObjectType.decoder, object_id: damlTypes.Text.decoder, }); }),
|
|
91
|
-
encode: function (__typed__) {
|
|
92
|
-
return {
|
|
93
|
-
object_type: exports.OcfObjectType.encode(__typed__.object_type),
|
|
94
|
-
object_id: damlTypes.Text.encode(__typed__.object_id),
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
,
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
91
|
exports.OcfStakeholderRelationshipType = {
|
|
103
92
|
OcfRelEmployee: 'OcfRelEmployee',
|
|
104
93
|
OcfRelAdvisor: 'OcfRelAdvisor',
|
|
@@ -114,70 +103,6 @@ exports.OcfStakeholderRelationshipType = {
|
|
|
114
103
|
|
|
115
104
|
|
|
116
105
|
|
|
117
|
-
exports.OcfObjectType = {
|
|
118
|
-
OcfObjIssuer: 'OcfObjIssuer',
|
|
119
|
-
OcfObjStakeholder: 'OcfObjStakeholder',
|
|
120
|
-
OcfObjStockClass: 'OcfObjStockClass',
|
|
121
|
-
OcfObjStockLegendTemplate: 'OcfObjStockLegendTemplate',
|
|
122
|
-
OcfObjStockPlan: 'OcfObjStockPlan',
|
|
123
|
-
OcfObjValuation: 'OcfObjValuation',
|
|
124
|
-
OcfObjVestingTerms: 'OcfObjVestingTerms',
|
|
125
|
-
OcfObjFinancing: 'OcfObjFinancing',
|
|
126
|
-
OcfObjDocument: 'OcfObjDocument',
|
|
127
|
-
OcfObjCeStakeholderRelationship: 'OcfObjCeStakeholderRelationship',
|
|
128
|
-
OcfObjCeStakeholderStatus: 'OcfObjCeStakeholderStatus',
|
|
129
|
-
OcfObjTxIssuerAuthorizedSharesAdjustment: 'OcfObjTxIssuerAuthorizedSharesAdjustment',
|
|
130
|
-
OcfObjTxStockClassConversionRatioAdjustment: 'OcfObjTxStockClassConversionRatioAdjustment',
|
|
131
|
-
OcfObjTxStockClassAuthorizedSharesAdjustment: 'OcfObjTxStockClassAuthorizedSharesAdjustment',
|
|
132
|
-
OcfObjTxStockClassSplit: 'OcfObjTxStockClassSplit',
|
|
133
|
-
OcfObjTxStockPlanPoolAdjustment: 'OcfObjTxStockPlanPoolAdjustment',
|
|
134
|
-
OcfObjTxStockPlanReturnToPool: 'OcfObjTxStockPlanReturnToPool',
|
|
135
|
-
OcfObjTxConvertibleAcceptance: 'OcfObjTxConvertibleAcceptance',
|
|
136
|
-
OcfObjTxConvertibleCancellation: 'OcfObjTxConvertibleCancellation',
|
|
137
|
-
OcfObjTxConvertibleConversion: 'OcfObjTxConvertibleConversion',
|
|
138
|
-
OcfObjTxConvertibleIssuance: 'OcfObjTxConvertibleIssuance',
|
|
139
|
-
OcfObjTxConvertibleRetraction: 'OcfObjTxConvertibleRetraction',
|
|
140
|
-
OcfObjTxConvertibleTransfer: 'OcfObjTxConvertibleTransfer',
|
|
141
|
-
OcfObjTxEquityCompensationAcceptance: 'OcfObjTxEquityCompensationAcceptance',
|
|
142
|
-
OcfObjTxEquityCompensationCancellation: 'OcfObjTxEquityCompensationCancellation',
|
|
143
|
-
OcfObjTxEquityCompensationExercise: 'OcfObjTxEquityCompensationExercise',
|
|
144
|
-
OcfObjTxEquityCompensationIssuance: 'OcfObjTxEquityCompensationIssuance',
|
|
145
|
-
OcfObjTxEquityCompensationRelease: 'OcfObjTxEquityCompensationRelease',
|
|
146
|
-
OcfObjTxEquityCompensationRetraction: 'OcfObjTxEquityCompensationRetraction',
|
|
147
|
-
OcfObjTxEquityCompensationTransfer: 'OcfObjTxEquityCompensationTransfer',
|
|
148
|
-
OcfObjTxEquityCompensationRepricing: 'OcfObjTxEquityCompensationRepricing',
|
|
149
|
-
OcfObjTxPlanSecurityAcceptance: 'OcfObjTxPlanSecurityAcceptance',
|
|
150
|
-
OcfObjTxPlanSecurityCancellation: 'OcfObjTxPlanSecurityCancellation',
|
|
151
|
-
OcfObjTxPlanSecurityExercise: 'OcfObjTxPlanSecurityExercise',
|
|
152
|
-
OcfObjTxPlanSecurityIssuance: 'OcfObjTxPlanSecurityIssuance',
|
|
153
|
-
OcfObjTxPlanSecurityRelease: 'OcfObjTxPlanSecurityRelease',
|
|
154
|
-
OcfObjTxPlanSecurityRetraction: 'OcfObjTxPlanSecurityRetraction',
|
|
155
|
-
OcfObjTxPlanSecurityTransfer: 'OcfObjTxPlanSecurityTransfer',
|
|
156
|
-
OcfObjTxStockAcceptance: 'OcfObjTxStockAcceptance',
|
|
157
|
-
OcfObjTxStockCancellation: 'OcfObjTxStockCancellation',
|
|
158
|
-
OcfObjTxStockConversion: 'OcfObjTxStockConversion',
|
|
159
|
-
OcfObjTxStockIssuance: 'OcfObjTxStockIssuance',
|
|
160
|
-
OcfObjTxStockReissuance: 'OcfObjTxStockReissuance',
|
|
161
|
-
OcfObjTxStockConsolidation: 'OcfObjTxStockConsolidation',
|
|
162
|
-
OcfObjTxStockRepurchase: 'OcfObjTxStockRepurchase',
|
|
163
|
-
OcfObjTxStockRetraction: 'OcfObjTxStockRetraction',
|
|
164
|
-
OcfObjTxStockTransfer: 'OcfObjTxStockTransfer',
|
|
165
|
-
OcfObjTxWarrantAcceptance: 'OcfObjTxWarrantAcceptance',
|
|
166
|
-
OcfObjTxWarrantCancellation: 'OcfObjTxWarrantCancellation',
|
|
167
|
-
OcfObjTxWarrantExercise: 'OcfObjTxWarrantExercise',
|
|
168
|
-
OcfObjTxWarrantIssuance: 'OcfObjTxWarrantIssuance',
|
|
169
|
-
OcfObjTxWarrantRetraction: 'OcfObjTxWarrantRetraction',
|
|
170
|
-
OcfObjTxWarrantTransfer: 'OcfObjTxWarrantTransfer',
|
|
171
|
-
OcfObjTxVestingAcceleration: 'OcfObjTxVestingAcceleration',
|
|
172
|
-
OcfObjTxVestingStart: 'OcfObjTxVestingStart',
|
|
173
|
-
OcfObjTxVestingEvent: 'OcfObjTxVestingEvent',
|
|
174
|
-
keys: ['OcfObjIssuer','OcfObjStakeholder','OcfObjStockClass','OcfObjStockLegendTemplate','OcfObjStockPlan','OcfObjValuation','OcfObjVestingTerms','OcfObjFinancing','OcfObjDocument','OcfObjCeStakeholderRelationship','OcfObjCeStakeholderStatus','OcfObjTxIssuerAuthorizedSharesAdjustment','OcfObjTxStockClassConversionRatioAdjustment','OcfObjTxStockClassAuthorizedSharesAdjustment','OcfObjTxStockClassSplit','OcfObjTxStockPlanPoolAdjustment','OcfObjTxStockPlanReturnToPool','OcfObjTxConvertibleAcceptance','OcfObjTxConvertibleCancellation','OcfObjTxConvertibleConversion','OcfObjTxConvertibleIssuance','OcfObjTxConvertibleRetraction','OcfObjTxConvertibleTransfer','OcfObjTxEquityCompensationAcceptance','OcfObjTxEquityCompensationCancellation','OcfObjTxEquityCompensationExercise','OcfObjTxEquityCompensationIssuance','OcfObjTxEquityCompensationRelease','OcfObjTxEquityCompensationRetraction','OcfObjTxEquityCompensationTransfer','OcfObjTxEquityCompensationRepricing','OcfObjTxPlanSecurityAcceptance','OcfObjTxPlanSecurityCancellation','OcfObjTxPlanSecurityExercise','OcfObjTxPlanSecurityIssuance','OcfObjTxPlanSecurityRelease','OcfObjTxPlanSecurityRetraction','OcfObjTxPlanSecurityTransfer','OcfObjTxStockAcceptance','OcfObjTxStockCancellation','OcfObjTxStockConversion','OcfObjTxStockIssuance','OcfObjTxStockReissuance','OcfObjTxStockConsolidation','OcfObjTxStockRepurchase','OcfObjTxStockRetraction','OcfObjTxStockTransfer','OcfObjTxWarrantAcceptance','OcfObjTxWarrantCancellation','OcfObjTxWarrantExercise','OcfObjTxWarrantIssuance','OcfObjTxWarrantRetraction','OcfObjTxWarrantTransfer','OcfObjTxVestingAcceleration','OcfObjTxVestingStart','OcfObjTxVestingEvent',],
|
|
175
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfObjectType.OcfObjIssuer), jtv.constant(exports.OcfObjectType.OcfObjStakeholder), jtv.constant(exports.OcfObjectType.OcfObjStockClass), jtv.constant(exports.OcfObjectType.OcfObjStockLegendTemplate), jtv.constant(exports.OcfObjectType.OcfObjStockPlan), jtv.constant(exports.OcfObjectType.OcfObjValuation), jtv.constant(exports.OcfObjectType.OcfObjVestingTerms), jtv.constant(exports.OcfObjectType.OcfObjFinancing), jtv.constant(exports.OcfObjectType.OcfObjDocument), jtv.constant(exports.OcfObjectType.OcfObjCeStakeholderRelationship), jtv.constant(exports.OcfObjectType.OcfObjCeStakeholderStatus), jtv.constant(exports.OcfObjectType.OcfObjTxIssuerAuthorizedSharesAdjustment), jtv.constant(exports.OcfObjectType.OcfObjTxStockClassConversionRatioAdjustment), jtv.constant(exports.OcfObjectType.OcfObjTxStockClassAuthorizedSharesAdjustment), jtv.constant(exports.OcfObjectType.OcfObjTxStockClassSplit), jtv.constant(exports.OcfObjectType.OcfObjTxStockPlanPoolAdjustment), jtv.constant(exports.OcfObjectType.OcfObjTxStockPlanReturnToPool), jtv.constant(exports.OcfObjectType.OcfObjTxConvertibleAcceptance), jtv.constant(exports.OcfObjectType.OcfObjTxConvertibleCancellation), jtv.constant(exports.OcfObjectType.OcfObjTxConvertibleConversion), jtv.constant(exports.OcfObjectType.OcfObjTxConvertibleIssuance), jtv.constant(exports.OcfObjectType.OcfObjTxConvertibleRetraction), jtv.constant(exports.OcfObjectType.OcfObjTxConvertibleTransfer), jtv.constant(exports.OcfObjectType.OcfObjTxEquityCompensationAcceptance), jtv.constant(exports.OcfObjectType.OcfObjTxEquityCompensationCancellation), jtv.constant(exports.OcfObjectType.OcfObjTxEquityCompensationExercise), jtv.constant(exports.OcfObjectType.OcfObjTxEquityCompensationIssuance), jtv.constant(exports.OcfObjectType.OcfObjTxEquityCompensationRelease), jtv.constant(exports.OcfObjectType.OcfObjTxEquityCompensationRetraction), jtv.constant(exports.OcfObjectType.OcfObjTxEquityCompensationTransfer), jtv.constant(exports.OcfObjectType.OcfObjTxEquityCompensationRepricing), jtv.constant(exports.OcfObjectType.OcfObjTxPlanSecurityAcceptance), jtv.constant(exports.OcfObjectType.OcfObjTxPlanSecurityCancellation), jtv.constant(exports.OcfObjectType.OcfObjTxPlanSecurityExercise), jtv.constant(exports.OcfObjectType.OcfObjTxPlanSecurityIssuance), jtv.constant(exports.OcfObjectType.OcfObjTxPlanSecurityRelease), jtv.constant(exports.OcfObjectType.OcfObjTxPlanSecurityRetraction), jtv.constant(exports.OcfObjectType.OcfObjTxPlanSecurityTransfer), jtv.constant(exports.OcfObjectType.OcfObjTxStockAcceptance), jtv.constant(exports.OcfObjectType.OcfObjTxStockCancellation), jtv.constant(exports.OcfObjectType.OcfObjTxStockConversion), jtv.constant(exports.OcfObjectType.OcfObjTxStockIssuance), jtv.constant(exports.OcfObjectType.OcfObjTxStockReissuance), jtv.constant(exports.OcfObjectType.OcfObjTxStockConsolidation), jtv.constant(exports.OcfObjectType.OcfObjTxStockRepurchase), jtv.constant(exports.OcfObjectType.OcfObjTxStockRetraction), jtv.constant(exports.OcfObjectType.OcfObjTxStockTransfer), jtv.constant(exports.OcfObjectType.OcfObjTxWarrantAcceptance), jtv.constant(exports.OcfObjectType.OcfObjTxWarrantCancellation), jtv.constant(exports.OcfObjectType.OcfObjTxWarrantExercise), jtv.constant(exports.OcfObjectType.OcfObjTxWarrantIssuance), jtv.constant(exports.OcfObjectType.OcfObjTxWarrantRetraction), jtv.constant(exports.OcfObjectType.OcfObjTxWarrantTransfer), jtv.constant(exports.OcfObjectType.OcfObjTxVestingAcceleration), jtv.constant(exports.OcfObjectType.OcfObjTxVestingStart), jtv.constant(exports.OcfObjectType.OcfObjTxVestingEvent)); }),
|
|
176
|
-
encode: function (__typed__) { return __typed__; },
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
106
|
exports.TransferOperation = {
|
|
182
107
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({recipient: damlTypes.Party.decoder, quantity: damlTypes.Numeric(10).decoder, }); }),
|
|
183
108
|
encode: function (__typed__) {
|
|
@@ -191,45 +116,13 @@ exports.TransferOperation = {
|
|
|
191
116
|
|
|
192
117
|
|
|
193
118
|
|
|
194
|
-
exports.
|
|
195
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({
|
|
196
|
-
encode: function (__typed__) {
|
|
197
|
-
return {
|
|
198
|
-
name: damlTypes.Text.encode(__typed__.name),
|
|
199
|
-
stakeholder_type: exports.OcfStakeholderType.encode(__typed__.stakeholder_type),
|
|
200
|
-
issuer_assigned_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.issuer_assigned_id),
|
|
201
|
-
current_relationships: damlTypes.List(damlTypes.Text).encode(__typed__.current_relationships),
|
|
202
|
-
current_status: damlTypes.Optional(exports.OcfStakeholderStatusType).encode(__typed__.current_status),
|
|
203
|
-
primary_contact: damlTypes.Optional(exports.OcfContactInfo).encode(__typed__.primary_contact),
|
|
204
|
-
contact_info: damlTypes.Optional(exports.OcfContactInfoWithoutName).encode(__typed__.contact_info),
|
|
205
|
-
addresses: damlTypes.List(exports.OcfAddress).encode(__typed__.addresses),
|
|
206
|
-
tax_ids: damlTypes.List(exports.OcfTaxID).encode(__typed__.tax_ids),
|
|
207
|
-
comments: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.comments),
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
,
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
exports.OcfStockClassData = {
|
|
216
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({name: damlTypes.Text.decoder, class_type: exports.OcfStockClassType.decoder, default_id_prefix: damlTypes.Text.decoder, initial_shares_authorized: damlTypes.Numeric(10).decoder, votes_per_share: damlTypes.Numeric(10).decoder, seniority: damlTypes.Numeric(10).decoder, board_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), stockholder_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), par_value: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfMonetary).decoder), price_per_share: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfMonetary).decoder), liquidation_preference_multiple: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), participation_cap_multiple: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), conversion_rights: damlTypes.List(exports.OcfStockClassConversionRight).decoder, comments: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), }); }),
|
|
119
|
+
exports.Context = {
|
|
120
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuer: damlTypes.Party.decoder, system_operator: damlTypes.Party.decoder, featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).decoder, }); }),
|
|
217
121
|
encode: function (__typed__) {
|
|
218
122
|
return {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
initial_shares_authorized: damlTypes.Numeric(10).encode(__typed__.initial_shares_authorized),
|
|
223
|
-
votes_per_share: damlTypes.Numeric(10).encode(__typed__.votes_per_share),
|
|
224
|
-
seniority: damlTypes.Numeric(10).encode(__typed__.seniority),
|
|
225
|
-
board_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.board_approval_date),
|
|
226
|
-
stockholder_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.stockholder_approval_date),
|
|
227
|
-
par_value: damlTypes.Optional(exports.OcfMonetary).encode(__typed__.par_value),
|
|
228
|
-
price_per_share: damlTypes.Optional(exports.OcfMonetary).encode(__typed__.price_per_share),
|
|
229
|
-
liquidation_preference_multiple: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.liquidation_preference_multiple),
|
|
230
|
-
participation_cap_multiple: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.participation_cap_multiple),
|
|
231
|
-
conversion_rights: damlTypes.List(exports.OcfStockClassConversionRight).encode(__typed__.conversion_rights),
|
|
232
|
-
comments: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.comments),
|
|
123
|
+
issuer: damlTypes.Party.encode(__typed__.issuer),
|
|
124
|
+
system_operator: damlTypes.Party.encode(__typed__.system_operator),
|
|
125
|
+
featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).encode(__typed__.featured_app_right),
|
|
233
126
|
};
|
|
234
127
|
}
|
|
235
128
|
,
|
|
@@ -237,232 +130,6 @@ exports.OcfStockClassData = {
|
|
|
237
130
|
|
|
238
131
|
|
|
239
132
|
|
|
240
|
-
exports.OcfIssuerData = {
|
|
241
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({legal_name: damlTypes.Text.decoder, formation_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), country_of_formation: damlTypes.Text.decoder, dba: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), country_subdivision_of_formation: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), country_subdivision_name_of_formation: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), tax_ids: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(exports.OcfTaxID)).decoder), email: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfEmail).decoder), phone: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfPhone).decoder), address: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfAddress).decoder), initial_shares_authorized: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfInitialSharesAuthorized).decoder), comments: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), }); }),
|
|
242
|
-
encode: function (__typed__) {
|
|
243
|
-
return {
|
|
244
|
-
legal_name: damlTypes.Text.encode(__typed__.legal_name),
|
|
245
|
-
formation_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.formation_date),
|
|
246
|
-
country_of_formation: damlTypes.Text.encode(__typed__.country_of_formation),
|
|
247
|
-
dba: damlTypes.Optional(damlTypes.Text).encode(__typed__.dba),
|
|
248
|
-
country_subdivision_of_formation: damlTypes.Optional(damlTypes.Text).encode(__typed__.country_subdivision_of_formation),
|
|
249
|
-
country_subdivision_name_of_formation: damlTypes.Optional(damlTypes.Text).encode(__typed__.country_subdivision_name_of_formation),
|
|
250
|
-
tax_ids: damlTypes.Optional(damlTypes.List(exports.OcfTaxID)).encode(__typed__.tax_ids),
|
|
251
|
-
email: damlTypes.Optional(exports.OcfEmail).encode(__typed__.email),
|
|
252
|
-
phone: damlTypes.Optional(exports.OcfPhone).encode(__typed__.phone),
|
|
253
|
-
address: damlTypes.Optional(exports.OcfAddress).encode(__typed__.address),
|
|
254
|
-
initial_shares_authorized: damlTypes.Optional(exports.OcfInitialSharesAuthorized).encode(__typed__.initial_shares_authorized),
|
|
255
|
-
comments: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.comments),
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
,
|
|
259
|
-
};
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
exports.OcfStakeholderStatusType = {
|
|
264
|
-
OcfStakeholderStatusActive: 'OcfStakeholderStatusActive',
|
|
265
|
-
OcfStakeholderStatusLeaveOfAbsence: 'OcfStakeholderStatusLeaveOfAbsence',
|
|
266
|
-
OcfStakeholderStatusTerminationVoluntaryOther: 'OcfStakeholderStatusTerminationVoluntaryOther',
|
|
267
|
-
OcfStakeholderStatusTerminationVoluntaryGoodCause: 'OcfStakeholderStatusTerminationVoluntaryGoodCause',
|
|
268
|
-
OcfStakeholderStatusTerminationVoluntaryRetirement: 'OcfStakeholderStatusTerminationVoluntaryRetirement',
|
|
269
|
-
OcfStakeholderStatusTerminationInvoluntaryOther: 'OcfStakeholderStatusTerminationInvoluntaryOther',
|
|
270
|
-
OcfStakeholderStatusTerminationInvoluntaryDeath: 'OcfStakeholderStatusTerminationInvoluntaryDeath',
|
|
271
|
-
OcfStakeholderStatusTerminationInvoluntaryDisability: 'OcfStakeholderStatusTerminationInvoluntaryDisability',
|
|
272
|
-
OcfStakeholderStatusTerminationInvoluntaryWithCause: 'OcfStakeholderStatusTerminationInvoluntaryWithCause',
|
|
273
|
-
keys: ['OcfStakeholderStatusActive','OcfStakeholderStatusLeaveOfAbsence','OcfStakeholderStatusTerminationVoluntaryOther','OcfStakeholderStatusTerminationVoluntaryGoodCause','OcfStakeholderStatusTerminationVoluntaryRetirement','OcfStakeholderStatusTerminationInvoluntaryOther','OcfStakeholderStatusTerminationInvoluntaryDeath','OcfStakeholderStatusTerminationInvoluntaryDisability','OcfStakeholderStatusTerminationInvoluntaryWithCause',],
|
|
274
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfStakeholderStatusType.OcfStakeholderStatusActive), jtv.constant(exports.OcfStakeholderStatusType.OcfStakeholderStatusLeaveOfAbsence), jtv.constant(exports.OcfStakeholderStatusType.OcfStakeholderStatusTerminationVoluntaryOther), jtv.constant(exports.OcfStakeholderStatusType.OcfStakeholderStatusTerminationVoluntaryGoodCause), jtv.constant(exports.OcfStakeholderStatusType.OcfStakeholderStatusTerminationVoluntaryRetirement), jtv.constant(exports.OcfStakeholderStatusType.OcfStakeholderStatusTerminationInvoluntaryOther), jtv.constant(exports.OcfStakeholderStatusType.OcfStakeholderStatusTerminationInvoluntaryDeath), jtv.constant(exports.OcfStakeholderStatusType.OcfStakeholderStatusTerminationInvoluntaryDisability), jtv.constant(exports.OcfStakeholderStatusType.OcfStakeholderStatusTerminationInvoluntaryWithCause)); }),
|
|
275
|
-
encode: function (__typed__) { return __typed__; },
|
|
276
|
-
};
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
exports.OcfStakeholderType = {
|
|
281
|
-
OcfStakeholderTypeIndividual: 'OcfStakeholderTypeIndividual',
|
|
282
|
-
OcfStakeholderTypeInstitution: 'OcfStakeholderTypeInstitution',
|
|
283
|
-
keys: ['OcfStakeholderTypeIndividual','OcfStakeholderTypeInstitution',],
|
|
284
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfStakeholderType.OcfStakeholderTypeIndividual), jtv.constant(exports.OcfStakeholderType.OcfStakeholderTypeInstitution)); }),
|
|
285
|
-
encode: function (__typed__) { return __typed__; },
|
|
286
|
-
};
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
exports.OcfContactInfoWithoutName = {
|
|
291
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({email: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfEmail).decoder), phone: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfPhone).decoder), address: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfAddress).decoder), }); }),
|
|
292
|
-
encode: function (__typed__) {
|
|
293
|
-
return {
|
|
294
|
-
email: damlTypes.Optional(exports.OcfEmail).encode(__typed__.email),
|
|
295
|
-
phone: damlTypes.Optional(exports.OcfPhone).encode(__typed__.phone),
|
|
296
|
-
address: damlTypes.Optional(exports.OcfAddress).encode(__typed__.address),
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
,
|
|
300
|
-
};
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
exports.OcfContactInfo = {
|
|
305
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({name: damlTypes.Text.decoder, email: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfEmail).decoder), phone: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfPhone).decoder), address: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfAddress).decoder), }); }),
|
|
306
|
-
encode: function (__typed__) {
|
|
307
|
-
return {
|
|
308
|
-
name: damlTypes.Text.encode(__typed__.name),
|
|
309
|
-
email: damlTypes.Optional(exports.OcfEmail).encode(__typed__.email),
|
|
310
|
-
phone: damlTypes.Optional(exports.OcfPhone).encode(__typed__.phone),
|
|
311
|
-
address: damlTypes.Optional(exports.OcfAddress).encode(__typed__.address),
|
|
312
|
-
};
|
|
313
|
-
}
|
|
314
|
-
,
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
exports.OcfStockPlanData = {
|
|
320
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({plan_name: damlTypes.Text.decoder, board_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), stockholder_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), initial_shares_reserved: damlTypes.Numeric(10).decoder, default_cancellation_behavior: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfStockPlanCancellationBehaviorType).decoder), comments: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), }); }),
|
|
321
|
-
encode: function (__typed__) {
|
|
322
|
-
return {
|
|
323
|
-
plan_name: damlTypes.Text.encode(__typed__.plan_name),
|
|
324
|
-
board_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.board_approval_date),
|
|
325
|
-
stockholder_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.stockholder_approval_date),
|
|
326
|
-
initial_shares_reserved: damlTypes.Numeric(10).encode(__typed__.initial_shares_reserved),
|
|
327
|
-
default_cancellation_behavior: damlTypes.Optional(exports.OcfStockPlanCancellationBehaviorType).encode(__typed__.default_cancellation_behavior),
|
|
328
|
-
comments: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.comments),
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
,
|
|
332
|
-
};
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
exports.OcfStockPlanCancellationBehaviorType = {
|
|
337
|
-
OcfPlanCancelRetire: 'OcfPlanCancelRetire',
|
|
338
|
-
OcfPlanCancelReturnToPool: 'OcfPlanCancelReturnToPool',
|
|
339
|
-
OcfPlanCancelHoldAsCapitalStock: 'OcfPlanCancelHoldAsCapitalStock',
|
|
340
|
-
OcfPlanCancelDefinedPerPlanSecurity: 'OcfPlanCancelDefinedPerPlanSecurity',
|
|
341
|
-
keys: ['OcfPlanCancelRetire','OcfPlanCancelReturnToPool','OcfPlanCancelHoldAsCapitalStock','OcfPlanCancelDefinedPerPlanSecurity',],
|
|
342
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfStockPlanCancellationBehaviorType.OcfPlanCancelRetire), jtv.constant(exports.OcfStockPlanCancellationBehaviorType.OcfPlanCancelReturnToPool), jtv.constant(exports.OcfStockPlanCancellationBehaviorType.OcfPlanCancelHoldAsCapitalStock), jtv.constant(exports.OcfStockPlanCancellationBehaviorType.OcfPlanCancelDefinedPerPlanSecurity)); }),
|
|
343
|
-
encode: function (__typed__) { return __typed__; },
|
|
344
|
-
};
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
exports.OcfStockLegendTemplateData = {
|
|
349
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({name: damlTypes.Text.decoder, text: damlTypes.Text.decoder, comments: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), }); }),
|
|
350
|
-
encode: function (__typed__) {
|
|
351
|
-
return {
|
|
352
|
-
name: damlTypes.Text.encode(__typed__.name),
|
|
353
|
-
text: damlTypes.Text.encode(__typed__.text),
|
|
354
|
-
comments: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.comments),
|
|
355
|
-
};
|
|
356
|
-
}
|
|
357
|
-
,
|
|
358
|
-
};
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
exports.OcfVestingTermsData = {
|
|
363
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({name: damlTypes.Text.decoder, description: damlTypes.Text.decoder, allocation_type: exports.OcfAllocationType.decoder, vesting_conditions: damlTypes.List(exports.OcfVestingCondition).decoder, comments: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), }); }),
|
|
364
|
-
encode: function (__typed__) {
|
|
365
|
-
return {
|
|
366
|
-
name: damlTypes.Text.encode(__typed__.name),
|
|
367
|
-
description: damlTypes.Text.encode(__typed__.description),
|
|
368
|
-
allocation_type: exports.OcfAllocationType.encode(__typed__.allocation_type),
|
|
369
|
-
vesting_conditions: damlTypes.List(exports.OcfVestingCondition).encode(__typed__.vesting_conditions),
|
|
370
|
-
comments: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.comments),
|
|
371
|
-
};
|
|
372
|
-
}
|
|
373
|
-
,
|
|
374
|
-
};
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
exports.OcfVestingCondition = {
|
|
379
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({id_: damlTypes.Text.decoder, description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), portion: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfVestingConditionPortion).decoder), quantity: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), trigger: exports.OcfVestingTrigger.decoder, next_condition_ids: damlTypes.List(damlTypes.Text).decoder, }); }),
|
|
380
|
-
encode: function (__typed__) {
|
|
381
|
-
return {
|
|
382
|
-
id_: damlTypes.Text.encode(__typed__.id_),
|
|
383
|
-
description: damlTypes.Optional(damlTypes.Text).encode(__typed__.description),
|
|
384
|
-
portion: damlTypes.Optional(exports.OcfVestingConditionPortion).encode(__typed__.portion),
|
|
385
|
-
quantity: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.quantity),
|
|
386
|
-
trigger: exports.OcfVestingTrigger.encode(__typed__.trigger),
|
|
387
|
-
next_condition_ids: damlTypes.List(damlTypes.Text).encode(__typed__.next_condition_ids),
|
|
388
|
-
};
|
|
389
|
-
}
|
|
390
|
-
,
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
exports.OcfVestingConditionPortion = {
|
|
396
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({numerator: damlTypes.Numeric(10).decoder, denominator: damlTypes.Numeric(10).decoder, remainder: damlTypes.Bool.decoder, }); }),
|
|
397
|
-
encode: function (__typed__) {
|
|
398
|
-
return {
|
|
399
|
-
numerator: damlTypes.Numeric(10).encode(__typed__.numerator),
|
|
400
|
-
denominator: damlTypes.Numeric(10).encode(__typed__.denominator),
|
|
401
|
-
remainder: damlTypes.Bool.encode(__typed__.remainder),
|
|
402
|
-
};
|
|
403
|
-
}
|
|
404
|
-
,
|
|
405
|
-
};
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
exports.OcfVestingTrigger = {
|
|
410
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfVestingStartTrigger'), value: damlTypes.Unit.decoder, }), jtv.object({tag: jtv.constant('OcfVestingScheduleAbsoluteTrigger'), value: damlTypes.Time.decoder, }), jtv.object({tag: jtv.constant('OcfVestingScheduleRelativeTrigger'), value: exports.OcfVestingTrigger.OcfVestingScheduleRelativeTrigger.decoder, }), jtv.object({tag: jtv.constant('OcfVestingEventTrigger'), value: damlTypes.Unit.decoder, })); }),
|
|
411
|
-
encode: function (__typed__) {
|
|
412
|
-
switch(__typed__.tag) {
|
|
413
|
-
case 'OcfVestingStartTrigger': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
414
|
-
case 'OcfVestingScheduleAbsoluteTrigger': return {tag: __typed__.tag, value: damlTypes.Time.encode(__typed__.value)};
|
|
415
|
-
case 'OcfVestingScheduleRelativeTrigger': return {tag: __typed__.tag, value: exports.OcfVestingTrigger.OcfVestingScheduleRelativeTrigger.encode(__typed__.value)};
|
|
416
|
-
case 'OcfVestingEventTrigger': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
417
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfVestingTrigger';
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
,
|
|
421
|
-
OcfVestingScheduleRelativeTrigger:({
|
|
422
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({period: exports.OcfVestingPeriod.decoder, relative_to_condition_id: damlTypes.Text.decoder, }); }),
|
|
423
|
-
encode: function (__typed__) {
|
|
424
|
-
return {
|
|
425
|
-
period: exports.OcfVestingPeriod.encode(__typed__.period),
|
|
426
|
-
relative_to_condition_id: damlTypes.Text.encode(__typed__.relative_to_condition_id),
|
|
427
|
-
};
|
|
428
|
-
}
|
|
429
|
-
,
|
|
430
|
-
}),
|
|
431
|
-
};
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
exports.OcfVestingPeriod = {
|
|
438
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfVestingPeriodDays'), value: damlTypes.Int.decoder, }), jtv.object({tag: jtv.constant('OcfVestingPeriodMonths'), value: damlTypes.Int.decoder, })); }),
|
|
439
|
-
encode: function (__typed__) {
|
|
440
|
-
switch(__typed__.tag) {
|
|
441
|
-
case 'OcfVestingPeriodDays': return {tag: __typed__.tag, value: damlTypes.Int.encode(__typed__.value)};
|
|
442
|
-
case 'OcfVestingPeriodMonths': return {tag: __typed__.tag, value: damlTypes.Int.encode(__typed__.value)};
|
|
443
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfVestingPeriod';
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
,
|
|
447
|
-
};
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
exports.OcfAllocationType = {
|
|
452
|
-
OcfAllocationCumulativeRounding: 'OcfAllocationCumulativeRounding',
|
|
453
|
-
OcfAllocationCumulativeRoundDown: 'OcfAllocationCumulativeRoundDown',
|
|
454
|
-
OcfAllocationFrontLoaded: 'OcfAllocationFrontLoaded',
|
|
455
|
-
OcfAllocationBackLoaded: 'OcfAllocationBackLoaded',
|
|
456
|
-
OcfAllocationFrontLoadedToSingleTranche: 'OcfAllocationFrontLoadedToSingleTranche',
|
|
457
|
-
OcfAllocationBackLoadedToSingleTranche: 'OcfAllocationBackLoadedToSingleTranche',
|
|
458
|
-
OcfAllocationFractional: 'OcfAllocationFractional',
|
|
459
|
-
keys: ['OcfAllocationCumulativeRounding','OcfAllocationCumulativeRoundDown','OcfAllocationFrontLoaded','OcfAllocationBackLoaded','OcfAllocationFrontLoadedToSingleTranche','OcfAllocationBackLoadedToSingleTranche','OcfAllocationFractional',],
|
|
460
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfAllocationType.OcfAllocationCumulativeRounding), jtv.constant(exports.OcfAllocationType.OcfAllocationCumulativeRoundDown), jtv.constant(exports.OcfAllocationType.OcfAllocationFrontLoaded), jtv.constant(exports.OcfAllocationType.OcfAllocationBackLoaded), jtv.constant(exports.OcfAllocationType.OcfAllocationFrontLoadedToSingleTranche), jtv.constant(exports.OcfAllocationType.OcfAllocationBackLoadedToSingleTranche), jtv.constant(exports.OcfAllocationType.OcfAllocationFractional)); }),
|
|
461
|
-
encode: function (__typed__) { return __typed__; },
|
|
462
|
-
};
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
133
|
exports.OcfEquityCompensationIssuanceData = {
|
|
467
134
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({compensation_type: exports.OcfCompensationType.decoder, quantity: damlTypes.Numeric(10).decoder, exercise_price: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfMonetary).decoder), base_price: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfMonetary).decoder), early_exercisable: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder), vestings: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(exports.OcfVesting)).decoder), expiration_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), termination_exercise_windows: damlTypes.List(exports.OcfTerminationWindow).decoder, comments: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), }); }),
|
|
468
135
|
encode: function (__typed__) {
|
|
@@ -550,192 +217,6 @@ exports.OcfCompensationType = {
|
|
|
550
217
|
|
|
551
218
|
|
|
552
219
|
|
|
553
|
-
exports.OcfValuationData = {
|
|
554
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({provider: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), board_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), stockholder_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), comments: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), price_per_share: exports.OcfMonetary.decoder, effective_date: damlTypes.Time.decoder, valuation_type: exports.OcfValuationType.decoder, }); }),
|
|
555
|
-
encode: function (__typed__) {
|
|
556
|
-
return {
|
|
557
|
-
provider: damlTypes.Optional(damlTypes.Text).encode(__typed__.provider),
|
|
558
|
-
board_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.board_approval_date),
|
|
559
|
-
stockholder_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.stockholder_approval_date),
|
|
560
|
-
comments: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.comments),
|
|
561
|
-
price_per_share: exports.OcfMonetary.encode(__typed__.price_per_share),
|
|
562
|
-
effective_date: damlTypes.Time.encode(__typed__.effective_date),
|
|
563
|
-
valuation_type: exports.OcfValuationType.encode(__typed__.valuation_type),
|
|
564
|
-
};
|
|
565
|
-
}
|
|
566
|
-
,
|
|
567
|
-
};
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
exports.OcfValuationType = {
|
|
572
|
-
OcfValuationType409A: 'OcfValuationType409A',
|
|
573
|
-
keys: ['OcfValuationType409A',],
|
|
574
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfValuationType.OcfValuationType409A)); }),
|
|
575
|
-
encode: function (__typed__) { return __typed__; },
|
|
576
|
-
};
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
exports.OcfValuationBasedFormulaType = {
|
|
581
|
-
OcfValuationFormulaFixed: 'OcfValuationFormulaFixed',
|
|
582
|
-
OcfValuationFormulaActual: 'OcfValuationFormulaActual',
|
|
583
|
-
OcfValuationFormulaCap: 'OcfValuationFormulaCap',
|
|
584
|
-
keys: ['OcfValuationFormulaFixed','OcfValuationFormulaActual','OcfValuationFormulaCap',],
|
|
585
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfValuationBasedFormulaType.OcfValuationFormulaFixed), jtv.constant(exports.OcfValuationBasedFormulaType.OcfValuationFormulaActual), jtv.constant(exports.OcfValuationBasedFormulaType.OcfValuationFormulaCap)); }),
|
|
586
|
-
encode: function (__typed__) { return __typed__; },
|
|
587
|
-
};
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
exports.OcfStockIssuanceType = {
|
|
592
|
-
OcfStockIssuanceRSA: 'OcfStockIssuanceRSA',
|
|
593
|
-
OcfStockIssuanceFounders: 'OcfStockIssuanceFounders',
|
|
594
|
-
keys: ['OcfStockIssuanceRSA','OcfStockIssuanceFounders',],
|
|
595
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfStockIssuanceType.OcfStockIssuanceRSA), jtv.constant(exports.OcfStockIssuanceType.OcfStockIssuanceFounders)); }),
|
|
596
|
-
encode: function (__typed__) { return __typed__; },
|
|
597
|
-
};
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
exports.OcfQuantitySourceType = {
|
|
602
|
-
OcfQuantityHumanEstimated: 'OcfQuantityHumanEstimated',
|
|
603
|
-
OcfQuantityMachineEstimated: 'OcfQuantityMachineEstimated',
|
|
604
|
-
OcfQuantityUnspecified: 'OcfQuantityUnspecified',
|
|
605
|
-
OcfQuantityInstrumentFixed: 'OcfQuantityInstrumentFixed',
|
|
606
|
-
OcfQuantityInstrumentMax: 'OcfQuantityInstrumentMax',
|
|
607
|
-
OcfQuantityInstrumentMin: 'OcfQuantityInstrumentMin',
|
|
608
|
-
keys: ['OcfQuantityHumanEstimated','OcfQuantityMachineEstimated','OcfQuantityUnspecified','OcfQuantityInstrumentFixed','OcfQuantityInstrumentMax','OcfQuantityInstrumentMin',],
|
|
609
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfQuantitySourceType.OcfQuantityHumanEstimated), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityMachineEstimated), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityUnspecified), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentFixed), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentMax), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentMin)); }),
|
|
610
|
-
encode: function (__typed__) { return __typed__; },
|
|
611
|
-
};
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
exports.OcfFinancing = {
|
|
616
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({name: damlTypes.Text.decoder, issuance_ids: damlTypes.List(damlTypes.Text).decoder, date: damlTypes.Time.decoder, comments: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), }); }),
|
|
617
|
-
encode: function (__typed__) {
|
|
618
|
-
return {
|
|
619
|
-
name: damlTypes.Text.encode(__typed__.name),
|
|
620
|
-
issuance_ids: damlTypes.List(damlTypes.Text).encode(__typed__.issuance_ids),
|
|
621
|
-
date: damlTypes.Time.encode(__typed__.date),
|
|
622
|
-
comments: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.comments),
|
|
623
|
-
};
|
|
624
|
-
}
|
|
625
|
-
,
|
|
626
|
-
};
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
exports.OcfDocument = {
|
|
631
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({path: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), uri: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), md5: damlTypes.Text.decoder, related_objects: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), comments: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), }); }),
|
|
632
|
-
encode: function (__typed__) {
|
|
633
|
-
return {
|
|
634
|
-
path: damlTypes.Optional(damlTypes.Text).encode(__typed__.path),
|
|
635
|
-
uri: damlTypes.Optional(damlTypes.Text).encode(__typed__.uri),
|
|
636
|
-
md5: damlTypes.Text.encode(__typed__.md5),
|
|
637
|
-
related_objects: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.related_objects),
|
|
638
|
-
comments: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.comments),
|
|
639
|
-
};
|
|
640
|
-
}
|
|
641
|
-
,
|
|
642
|
-
};
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
exports.OcfStockClassConversionRight = {
|
|
647
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({type_: damlTypes.Text.decoder, conversion_mechanism: exports.OcfConversionMechanism.decoder, conversion_trigger: exports.OcfConversionTrigger.decoder, converts_to_stock_class_id: damlTypes.Text.decoder, ratio: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfRatio).decoder), percent_of_capitalization: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), conversion_price: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfMonetary).decoder), reference_share_price: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfMonetary).decoder), reference_valuation_price_per_share: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfMonetary).decoder), discount_rate: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), valuation_cap: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfMonetary).decoder), floor_price_per_share: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfMonetary).decoder), ceiling_price_per_share: jtv.Decoder.withDefault(null, damlTypes.Optional(exports.OcfMonetary).decoder), custom_description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), expires_at: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), }); }),
|
|
648
|
-
encode: function (__typed__) {
|
|
649
|
-
return {
|
|
650
|
-
type_: damlTypes.Text.encode(__typed__.type_),
|
|
651
|
-
conversion_mechanism: exports.OcfConversionMechanism.encode(__typed__.conversion_mechanism),
|
|
652
|
-
conversion_trigger: exports.OcfConversionTrigger.encode(__typed__.conversion_trigger),
|
|
653
|
-
converts_to_stock_class_id: damlTypes.Text.encode(__typed__.converts_to_stock_class_id),
|
|
654
|
-
ratio: damlTypes.Optional(exports.OcfRatio).encode(__typed__.ratio),
|
|
655
|
-
percent_of_capitalization: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.percent_of_capitalization),
|
|
656
|
-
conversion_price: damlTypes.Optional(exports.OcfMonetary).encode(__typed__.conversion_price),
|
|
657
|
-
reference_share_price: damlTypes.Optional(exports.OcfMonetary).encode(__typed__.reference_share_price),
|
|
658
|
-
reference_valuation_price_per_share: damlTypes.Optional(exports.OcfMonetary).encode(__typed__.reference_valuation_price_per_share),
|
|
659
|
-
discount_rate: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.discount_rate),
|
|
660
|
-
valuation_cap: damlTypes.Optional(exports.OcfMonetary).encode(__typed__.valuation_cap),
|
|
661
|
-
floor_price_per_share: damlTypes.Optional(exports.OcfMonetary).encode(__typed__.floor_price_per_share),
|
|
662
|
-
ceiling_price_per_share: damlTypes.Optional(exports.OcfMonetary).encode(__typed__.ceiling_price_per_share),
|
|
663
|
-
custom_description: damlTypes.Optional(damlTypes.Text).encode(__typed__.custom_description),
|
|
664
|
-
expires_at: damlTypes.Optional(damlTypes.Time).encode(__typed__.expires_at),
|
|
665
|
-
};
|
|
666
|
-
}
|
|
667
|
-
,
|
|
668
|
-
};
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
exports.OcfRatio = {
|
|
673
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({numerator: damlTypes.Numeric(10).decoder, denominator: damlTypes.Numeric(10).decoder, }); }),
|
|
674
|
-
encode: function (__typed__) {
|
|
675
|
-
return {
|
|
676
|
-
numerator: damlTypes.Numeric(10).encode(__typed__.numerator),
|
|
677
|
-
denominator: damlTypes.Numeric(10).encode(__typed__.denominator),
|
|
678
|
-
};
|
|
679
|
-
}
|
|
680
|
-
,
|
|
681
|
-
};
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
exports.OcfConversionTrigger = {
|
|
686
|
-
OcfTriggerAutomaticOnCondition: 'OcfTriggerAutomaticOnCondition',
|
|
687
|
-
OcfTriggerAutomaticOnDate: 'OcfTriggerAutomaticOnDate',
|
|
688
|
-
OcfTriggerElectiveInRange: 'OcfTriggerElectiveInRange',
|
|
689
|
-
OcfTriggerElectiveOnCondition: 'OcfTriggerElectiveOnCondition',
|
|
690
|
-
OcfTriggerElectiveAtWill: 'OcfTriggerElectiveAtWill',
|
|
691
|
-
OcfTriggerUnspecified: 'OcfTriggerUnspecified',
|
|
692
|
-
keys: ['OcfTriggerAutomaticOnCondition','OcfTriggerAutomaticOnDate','OcfTriggerElectiveInRange','OcfTriggerElectiveOnCondition','OcfTriggerElectiveAtWill','OcfTriggerUnspecified',],
|
|
693
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfConversionTrigger.OcfTriggerAutomaticOnCondition), jtv.constant(exports.OcfConversionTrigger.OcfTriggerAutomaticOnDate), jtv.constant(exports.OcfConversionTrigger.OcfTriggerElectiveInRange), jtv.constant(exports.OcfConversionTrigger.OcfTriggerElectiveOnCondition), jtv.constant(exports.OcfConversionTrigger.OcfTriggerElectiveAtWill), jtv.constant(exports.OcfConversionTrigger.OcfTriggerUnspecified)); }),
|
|
694
|
-
encode: function (__typed__) { return __typed__; },
|
|
695
|
-
};
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
exports.OcfConversionMechanism = {
|
|
700
|
-
OcfConversionMechanismRatioConversion: 'OcfConversionMechanismRatioConversion',
|
|
701
|
-
OcfConversionMechanismPercentCapitalizationConversion: 'OcfConversionMechanismPercentCapitalizationConversion',
|
|
702
|
-
OcfConversionMechanismFixedAmountConversion: 'OcfConversionMechanismFixedAmountConversion',
|
|
703
|
-
OcfConversionMechanismValuationBasedConversion: 'OcfConversionMechanismValuationBasedConversion',
|
|
704
|
-
OcfConversionMechanismSharePriceBasedConversion: 'OcfConversionMechanismSharePriceBasedConversion',
|
|
705
|
-
OcfConversionMechanismSAFEConversion: 'OcfConversionMechanismSAFEConversion',
|
|
706
|
-
OcfConversionMechanismNoteConversion: 'OcfConversionMechanismNoteConversion',
|
|
707
|
-
OcfConversionMechanismCustomConversion: 'OcfConversionMechanismCustomConversion',
|
|
708
|
-
keys: ['OcfConversionMechanismRatioConversion','OcfConversionMechanismPercentCapitalizationConversion','OcfConversionMechanismFixedAmountConversion','OcfConversionMechanismValuationBasedConversion','OcfConversionMechanismSharePriceBasedConversion','OcfConversionMechanismSAFEConversion','OcfConversionMechanismNoteConversion','OcfConversionMechanismCustomConversion',],
|
|
709
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismRatioConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismPercentCapitalizationConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismFixedAmountConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismValuationBasedConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismSharePriceBasedConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismSAFEConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismNoteConversion), jtv.constant(exports.OcfConversionMechanism.OcfConversionMechanismCustomConversion)); }),
|
|
710
|
-
encode: function (__typed__) { return __typed__; },
|
|
711
|
-
};
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
exports.OcfInitialSharesAuthorized = {
|
|
716
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfInitialSharesNumeric'), value: damlTypes.Numeric(10).decoder, }), jtv.object({tag: jtv.constant('OcfInitialSharesEnum'), value: exports.OcfAuthorizedShares.decoder, })); }),
|
|
717
|
-
encode: function (__typed__) {
|
|
718
|
-
switch(__typed__.tag) {
|
|
719
|
-
case 'OcfInitialSharesNumeric': return {tag: __typed__.tag, value: damlTypes.Numeric(10).encode(__typed__.value)};
|
|
720
|
-
case 'OcfInitialSharesEnum': return {tag: __typed__.tag, value: exports.OcfAuthorizedShares.encode(__typed__.value)};
|
|
721
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfInitialSharesAuthorized';
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
,
|
|
725
|
-
};
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
exports.OcfAuthorizedShares = {
|
|
730
|
-
OcfAuthorizedSharesNotApplicable: 'OcfAuthorizedSharesNotApplicable',
|
|
731
|
-
OcfAuthorizedSharesUnlimited: 'OcfAuthorizedSharesUnlimited',
|
|
732
|
-
keys: ['OcfAuthorizedSharesNotApplicable','OcfAuthorizedSharesUnlimited',],
|
|
733
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfAuthorizedShares.OcfAuthorizedSharesNotApplicable), jtv.constant(exports.OcfAuthorizedShares.OcfAuthorizedSharesUnlimited)); }),
|
|
734
|
-
encode: function (__typed__) { return __typed__; },
|
|
735
|
-
};
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
220
|
exports.OcfMonetary = {
|
|
740
221
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({amount: damlTypes.Numeric(10).decoder, currency: damlTypes.Text.decoder, }); }),
|
|
741
222
|
encode: function (__typed__) {
|
|
@@ -749,16 +230,6 @@ exports.OcfMonetary = {
|
|
|
749
230
|
|
|
750
231
|
|
|
751
232
|
|
|
752
|
-
exports.OcfStockClassType = {
|
|
753
|
-
OcfStockClassTypeCommon: 'OcfStockClassTypeCommon',
|
|
754
|
-
OcfStockClassTypePreferred: 'OcfStockClassTypePreferred',
|
|
755
|
-
keys: ['OcfStockClassTypeCommon','OcfStockClassTypePreferred',],
|
|
756
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfStockClassType.OcfStockClassTypeCommon), jtv.constant(exports.OcfStockClassType.OcfStockClassTypePreferred)); }),
|
|
757
|
-
encode: function (__typed__) { return __typed__; },
|
|
758
|
-
};
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
233
|
exports.OcfAddress = {
|
|
763
234
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({address_type: exports.OcfAddressType.decoder, street_suite: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), city: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), country_subdivision: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), country: damlTypes.Text.decoder, postal_code: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
764
235
|
encode: function (__typed__) {
|
|
@@ -837,52 +308,6 @@ exports.OcfEmailType = {
|
|
|
837
308
|
|
|
838
309
|
|
|
839
310
|
|
|
840
|
-
exports.OcfWarrantIssuanceData = {
|
|
841
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({quantity: damlTypes.Numeric(10).decoder, exercise_price: exports.OcfMonetary.decoder, purchase_price: exports.OcfMonetary.decoder, exercise_triggers: damlTypes.List(exports.OcfConversionTrigger).decoder, warrant_expiration_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), vesting_terms_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), comments: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), }); }),
|
|
842
|
-
encode: function (__typed__) {
|
|
843
|
-
return {
|
|
844
|
-
quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
|
|
845
|
-
exercise_price: exports.OcfMonetary.encode(__typed__.exercise_price),
|
|
846
|
-
purchase_price: exports.OcfMonetary.encode(__typed__.purchase_price),
|
|
847
|
-
exercise_triggers: damlTypes.List(exports.OcfConversionTrigger).encode(__typed__.exercise_triggers),
|
|
848
|
-
warrant_expiration_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.warrant_expiration_date),
|
|
849
|
-
vesting_terms_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.vesting_terms_id),
|
|
850
|
-
comments: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.comments),
|
|
851
|
-
};
|
|
852
|
-
}
|
|
853
|
-
,
|
|
854
|
-
};
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
exports.OcfConvertibleIssuanceData = {
|
|
859
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({investment_amount: exports.OcfMonetary.decoder, convertible_type: exports.OcfConvertibleType.decoder, conversion_triggers: damlTypes.List(exports.OcfConversionTrigger).decoder, seniority: damlTypes.Int.decoder, pro_rata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), comments: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.Text)).decoder), }); }),
|
|
860
|
-
encode: function (__typed__) {
|
|
861
|
-
return {
|
|
862
|
-
investment_amount: exports.OcfMonetary.encode(__typed__.investment_amount),
|
|
863
|
-
convertible_type: exports.OcfConvertibleType.encode(__typed__.convertible_type),
|
|
864
|
-
conversion_triggers: damlTypes.List(exports.OcfConversionTrigger).encode(__typed__.conversion_triggers),
|
|
865
|
-
seniority: damlTypes.Int.encode(__typed__.seniority),
|
|
866
|
-
pro_rata: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.pro_rata),
|
|
867
|
-
comments: damlTypes.Optional(damlTypes.List(damlTypes.Text)).encode(__typed__.comments),
|
|
868
|
-
};
|
|
869
|
-
}
|
|
870
|
-
,
|
|
871
|
-
};
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
exports.OcfConvertibleType = {
|
|
876
|
-
OcfConvertibleNote: 'OcfConvertibleNote',
|
|
877
|
-
OcfConvertibleSafe: 'OcfConvertibleSafe',
|
|
878
|
-
OcfConvertibleSecurity: 'OcfConvertibleSecurity',
|
|
879
|
-
keys: ['OcfConvertibleNote','OcfConvertibleSafe','OcfConvertibleSecurity',],
|
|
880
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfConvertibleType.OcfConvertibleNote), jtv.constant(exports.OcfConvertibleType.OcfConvertibleSafe), jtv.constant(exports.OcfConvertibleType.OcfConvertibleSecurity)); }),
|
|
881
|
-
encode: function (__typed__) { return __typed__; },
|
|
882
|
-
};
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
311
|
exports.OcfParentSecurityType = {
|
|
887
312
|
OcfParentStockPlan: 'OcfParentStockPlan',
|
|
888
313
|
OcfParentStock: 'OcfParentStock',
|