@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.
Files changed (30) hide show
  1. package/generated/ocp-factory-contract-id.json +4 -4
  2. package/lib/Fairmint/OpenCapTable/Document/index.d.ts +1 -0
  3. package/lib/Fairmint/OpenCapTable/Document/index.js +8 -0
  4. package/lib/Fairmint/OpenCapTable/Document/module.d.ts +135 -0
  5. package/lib/Fairmint/OpenCapTable/Document/module.js +159 -0
  6. package/lib/Fairmint/OpenCapTable/Issuer/module.d.ts +63 -424
  7. package/lib/Fairmint/OpenCapTable/Issuer/module.js +86 -614
  8. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +3 -6
  9. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +6 -9
  10. package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +1 -1
  11. package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
  12. package/lib/Fairmint/OpenCapTable/Stakeholder/module.d.ts +74 -84
  13. package/lib/Fairmint/OpenCapTable/Stakeholder/module.js +65 -107
  14. package/lib/Fairmint/OpenCapTable/StockClass/module.d.ts +118 -403
  15. package/lib/Fairmint/OpenCapTable/StockClass/module.js +103 -573
  16. package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.d.ts +19 -11
  17. package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.js +27 -17
  18. package/lib/Fairmint/OpenCapTable/StockPlan/module.d.ts +24 -403
  19. package/lib/Fairmint/OpenCapTable/StockPlan/module.js +29 -587
  20. package/lib/Fairmint/OpenCapTable/Types/module.d.ts +8 -565
  21. package/lib/Fairmint/OpenCapTable/Types/module.js +7 -582
  22. package/lib/Fairmint/OpenCapTable/Valuation/module.d.ts +34 -13
  23. package/lib/Fairmint/OpenCapTable/Valuation/module.js +40 -19
  24. package/lib/Fairmint/OpenCapTable/VestingTerms/module.d.ts +98 -11
  25. package/lib/Fairmint/OpenCapTable/VestingTerms/module.js +117 -17
  26. package/lib/Fairmint/OpenCapTable/index.d.ts +2 -0
  27. package/lib/Fairmint/OpenCapTable/index.js +2 -0
  28. package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +1 -1
  29. package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +1 -1
  30. package/package.json +2 -2
@@ -7,424 +7,37 @@ import * as damlTypes from '@daml/types';
7
7
  /* eslint-disable-next-line @typescript-eslint/no-unused-vars */
8
8
  import * as damlLedger from '@daml/ledger';
9
9
 
10
- import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../Splice/Api/FeaturedAppRightV1';
11
10
  import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
12
11
 
12
+ import * as Fairmint_OpenCapTable_Document from '../../../Fairmint/OpenCapTable/Document/module';
13
13
  import * as Fairmint_OpenCapTable_Stakeholder from '../../../Fairmint/OpenCapTable/Stakeholder/module';
14
14
  import * as Fairmint_OpenCapTable_StockClass from '../../../Fairmint/OpenCapTable/StockClass/module';
15
15
  import * as Fairmint_OpenCapTable_StockLegendTemplate from '../../../Fairmint/OpenCapTable/StockLegendTemplate/module';
16
16
  import * as Fairmint_OpenCapTable_StockPlan from '../../../Fairmint/OpenCapTable/StockPlan/module';
17
17
  import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
18
- import * as Fairmint_OpenCapTable_Valuation from '../../../Fairmint/OpenCapTable/Valuation/module';
19
18
  import * as Fairmint_OpenCapTable_VestingTerms from '../../../Fairmint/OpenCapTable/VestingTerms/module';
20
19
 
21
- export declare type WarrantTransferEvent = {
22
- issuer: damlTypes.Party;
23
- system_operator: damlTypes.Party;
24
- featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
25
- warrant: damlTypes.ContractId<Warrant>;
26
- from_stakeholder: damlTypes.Party;
27
- to_stakeholder: damlTypes.Party;
28
- quantity: damlTypes.Numeric;
29
- consideration_text: damlTypes.Optional<string>;
30
- date: damlTypes.Time;
20
+ export declare type ArchiveIssuer = {
31
21
  };
32
22
 
33
- export declare interface WarrantTransferEventInterface {
34
- Archive: damlTypes.Choice<WarrantTransferEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<WarrantTransferEvent, undefined>>;
35
- }
36
- export declare const WarrantTransferEvent:
37
- damlTypes.Template<WarrantTransferEvent, undefined, '#OpenCapTable-v15:Fairmint.OpenCapTable.Issuer:WarrantTransferEvent'> &
38
- damlTypes.ToInterface<WarrantTransferEvent, never> &
39
- WarrantTransferEventInterface;
40
-
41
- export declare namespace WarrantTransferEvent {
42
- export type CreateEvent = damlLedger.CreateEvent<WarrantTransferEvent, undefined, typeof WarrantTransferEvent.templateId>
43
- export type ArchiveEvent = damlLedger.ArchiveEvent<WarrantTransferEvent, typeof WarrantTransferEvent.templateId>
44
- export type Event = damlLedger.Event<WarrantTransferEvent, undefined, typeof WarrantTransferEvent.templateId>
45
- export type QueryResult = damlLedger.QueryResult<WarrantTransferEvent, undefined, typeof WarrantTransferEvent.templateId>
46
- }
47
-
48
-
49
-
50
- export declare type WarrantExerciseEvent = {
51
- issuer: damlTypes.Party;
52
- system_operator: damlTypes.Party;
53
- featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
54
- warrant: damlTypes.ContractId<Warrant>;
55
- stakeholder: damlTypes.Party;
56
- stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
57
- quantity: damlTypes.Numeric;
58
- date: damlTypes.Time;
59
- };
60
-
61
- export declare interface WarrantExerciseEventInterface {
62
- Archive: damlTypes.Choice<WarrantExerciseEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<WarrantExerciseEvent, undefined>>;
63
- }
64
- export declare const WarrantExerciseEvent:
65
- damlTypes.Template<WarrantExerciseEvent, undefined, '#OpenCapTable-v15:Fairmint.OpenCapTable.Issuer:WarrantExerciseEvent'> &
66
- damlTypes.ToInterface<WarrantExerciseEvent, never> &
67
- WarrantExerciseEventInterface;
68
-
69
- export declare namespace WarrantExerciseEvent {
70
- export type CreateEvent = damlLedger.CreateEvent<WarrantExerciseEvent, undefined, typeof WarrantExerciseEvent.templateId>
71
- export type ArchiveEvent = damlLedger.ArchiveEvent<WarrantExerciseEvent, typeof WarrantExerciseEvent.templateId>
72
- export type Event = damlLedger.Event<WarrantExerciseEvent, undefined, typeof WarrantExerciseEvent.templateId>
73
- export type QueryResult = damlLedger.QueryResult<WarrantExerciseEvent, undefined, typeof WarrantExerciseEvent.templateId>
74
- }
75
-
76
-
77
-
78
- export declare type IssuerAuthorizedSharesAdjustmentEvent = {
79
- issuer: damlTypes.Party;
80
- system_operator: damlTypes.Party;
81
- featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
82
- new_authorized: damlTypes.Numeric;
83
- date: damlTypes.Time;
84
- };
85
-
86
- export declare interface IssuerAuthorizedSharesAdjustmentEventInterface {
87
- Archive: damlTypes.Choice<IssuerAuthorizedSharesAdjustmentEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorizedSharesAdjustmentEvent, undefined>>;
88
- }
89
- export declare const IssuerAuthorizedSharesAdjustmentEvent:
90
- damlTypes.Template<IssuerAuthorizedSharesAdjustmentEvent, undefined, '#OpenCapTable-v15:Fairmint.OpenCapTable.Issuer:IssuerAuthorizedSharesAdjustmentEvent'> &
91
- damlTypes.ToInterface<IssuerAuthorizedSharesAdjustmentEvent, never> &
92
- IssuerAuthorizedSharesAdjustmentEventInterface;
93
-
94
- export declare namespace IssuerAuthorizedSharesAdjustmentEvent {
95
- export type CreateEvent = damlLedger.CreateEvent<IssuerAuthorizedSharesAdjustmentEvent, undefined, typeof IssuerAuthorizedSharesAdjustmentEvent.templateId>
96
- export type ArchiveEvent = damlLedger.ArchiveEvent<IssuerAuthorizedSharesAdjustmentEvent, typeof IssuerAuthorizedSharesAdjustmentEvent.templateId>
97
- export type Event = damlLedger.Event<IssuerAuthorizedSharesAdjustmentEvent, undefined, typeof IssuerAuthorizedSharesAdjustmentEvent.templateId>
98
- export type QueryResult = damlLedger.QueryResult<IssuerAuthorizedSharesAdjustmentEvent, undefined, typeof IssuerAuthorizedSharesAdjustmentEvent.templateId>
99
- }
100
-
101
-
102
-
103
- export declare type ConvertibleRetraction = {
104
- issuer: damlTypes.Party;
105
- system_operator: damlTypes.Party;
106
- featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
107
- convertible: damlTypes.ContractId<Convertible>;
108
- stakeholder: damlTypes.Party;
109
- reason_text: damlTypes.Optional<string>;
110
- date: damlTypes.Time;
111
- };
112
-
113
- export declare interface ConvertibleRetractionInterface {
114
- Archive: damlTypes.Choice<ConvertibleRetraction, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleRetraction, undefined>>;
115
- }
116
- export declare const ConvertibleRetraction:
117
- damlTypes.Template<ConvertibleRetraction, undefined, '#OpenCapTable-v15:Fairmint.OpenCapTable.Issuer:ConvertibleRetraction'> &
118
- damlTypes.ToInterface<ConvertibleRetraction, never> &
119
- ConvertibleRetractionInterface;
120
-
121
- export declare namespace ConvertibleRetraction {
122
- export type CreateEvent = damlLedger.CreateEvent<ConvertibleRetraction, undefined, typeof ConvertibleRetraction.templateId>
123
- export type ArchiveEvent = damlLedger.ArchiveEvent<ConvertibleRetraction, typeof ConvertibleRetraction.templateId>
124
- export type Event = damlLedger.Event<ConvertibleRetraction, undefined, typeof ConvertibleRetraction.templateId>
125
- export type QueryResult = damlLedger.QueryResult<ConvertibleRetraction, undefined, typeof ConvertibleRetraction.templateId>
126
- }
127
-
128
-
129
-
130
- export declare type ConvertibleCancellation = {
131
- issuer: damlTypes.Party;
132
- system_operator: damlTypes.Party;
133
- featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
134
- convertible: damlTypes.ContractId<Convertible>;
135
- stakeholder: damlTypes.Party;
136
- amount: Fairmint_OpenCapTable_Types.OcfMonetary;
137
- reason_text: damlTypes.Optional<string>;
138
- date: damlTypes.Time;
139
- };
140
-
141
- export declare interface ConvertibleCancellationInterface {
142
- Archive: damlTypes.Choice<ConvertibleCancellation, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleCancellation, undefined>>;
143
- }
144
- export declare const ConvertibleCancellation:
145
- damlTypes.Template<ConvertibleCancellation, undefined, '#OpenCapTable-v15:Fairmint.OpenCapTable.Issuer:ConvertibleCancellation'> &
146
- damlTypes.ToInterface<ConvertibleCancellation, never> &
147
- ConvertibleCancellationInterface;
148
-
149
- export declare namespace ConvertibleCancellation {
150
- export type CreateEvent = damlLedger.CreateEvent<ConvertibleCancellation, undefined, typeof ConvertibleCancellation.templateId>
151
- export type ArchiveEvent = damlLedger.ArchiveEvent<ConvertibleCancellation, typeof ConvertibleCancellation.templateId>
152
- export type Event = damlLedger.Event<ConvertibleCancellation, undefined, typeof ConvertibleCancellation.templateId>
153
- export type QueryResult = damlLedger.QueryResult<ConvertibleCancellation, undefined, typeof ConvertibleCancellation.templateId>
154
- }
155
-
156
-
157
-
158
- export declare type ConvertibleAcceptance = {
159
- issuer: damlTypes.Party;
160
- system_operator: damlTypes.Party;
161
- featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
162
- convertible: damlTypes.ContractId<Convertible>;
163
- stakeholder: damlTypes.Party;
164
- date: damlTypes.Time;
165
- };
166
-
167
- export declare interface ConvertibleAcceptanceInterface {
168
- Archive: damlTypes.Choice<ConvertibleAcceptance, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleAcceptance, undefined>>;
169
- }
170
- export declare const ConvertibleAcceptance:
171
- damlTypes.Template<ConvertibleAcceptance, undefined, '#OpenCapTable-v15:Fairmint.OpenCapTable.Issuer:ConvertibleAcceptance'> &
172
- damlTypes.ToInterface<ConvertibleAcceptance, never> &
173
- ConvertibleAcceptanceInterface;
174
-
175
- export declare namespace ConvertibleAcceptance {
176
- export type CreateEvent = damlLedger.CreateEvent<ConvertibleAcceptance, undefined, typeof ConvertibleAcceptance.templateId>
177
- export type ArchiveEvent = damlLedger.ArchiveEvent<ConvertibleAcceptance, typeof ConvertibleAcceptance.templateId>
178
- export type Event = damlLedger.Event<ConvertibleAcceptance, undefined, typeof ConvertibleAcceptance.templateId>
179
- export type QueryResult = damlLedger.QueryResult<ConvertibleAcceptance, undefined, typeof ConvertibleAcceptance.templateId>
180
- }
181
-
182
-
183
-
184
- export declare type ConvertibleTransferEvent = {
185
- issuer: damlTypes.Party;
186
- system_operator: damlTypes.Party;
187
- featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
188
- convertible_old: damlTypes.ContractId<Convertible>;
189
- convertible_new: damlTypes.ContractId<Convertible>;
190
- from_stakeholder: damlTypes.Party;
191
- to_stakeholder: damlTypes.Party;
192
- amount: Fairmint_OpenCapTable_Types.OcfMonetary;
193
- consideration_text: damlTypes.Optional<string>;
194
- date: damlTypes.Time;
195
- };
196
-
197
- export declare interface ConvertibleTransferEventInterface {
198
- Archive: damlTypes.Choice<ConvertibleTransferEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleTransferEvent, undefined>>;
199
- }
200
- export declare const ConvertibleTransferEvent:
201
- damlTypes.Template<ConvertibleTransferEvent, undefined, '#OpenCapTable-v15:Fairmint.OpenCapTable.Issuer:ConvertibleTransferEvent'> &
202
- damlTypes.ToInterface<ConvertibleTransferEvent, never> &
203
- ConvertibleTransferEventInterface;
204
-
205
- export declare namespace ConvertibleTransferEvent {
206
- export type CreateEvent = damlLedger.CreateEvent<ConvertibleTransferEvent, undefined, typeof ConvertibleTransferEvent.templateId>
207
- export type ArchiveEvent = damlLedger.ArchiveEvent<ConvertibleTransferEvent, typeof ConvertibleTransferEvent.templateId>
208
- export type Event = damlLedger.Event<ConvertibleTransferEvent, undefined, typeof ConvertibleTransferEvent.templateId>
209
- export type QueryResult = damlLedger.QueryResult<ConvertibleTransferEvent, undefined, typeof ConvertibleTransferEvent.templateId>
210
- }
211
-
212
-
213
-
214
- export declare type ConvertibleConversionEvent = {
215
- issuer: damlTypes.Party;
216
- system_operator: damlTypes.Party;
217
- featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
218
- convertible: damlTypes.ContractId<Convertible>;
219
- stakeholder: damlTypes.Party;
220
- stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
221
- quantity: damlTypes.Numeric;
222
- date: damlTypes.Time;
223
- };
224
-
225
- export declare interface ConvertibleConversionEventInterface {
226
- Archive: damlTypes.Choice<ConvertibleConversionEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleConversionEvent, undefined>>;
227
- }
228
- export declare const ConvertibleConversionEvent:
229
- damlTypes.Template<ConvertibleConversionEvent, undefined, '#OpenCapTable-v15:Fairmint.OpenCapTable.Issuer:ConvertibleConversionEvent'> &
230
- damlTypes.ToInterface<ConvertibleConversionEvent, never> &
231
- ConvertibleConversionEventInterface;
232
-
233
- export declare namespace ConvertibleConversionEvent {
234
- export type CreateEvent = damlLedger.CreateEvent<ConvertibleConversionEvent, undefined, typeof ConvertibleConversionEvent.templateId>
235
- export type ArchiveEvent = damlLedger.ArchiveEvent<ConvertibleConversionEvent, typeof ConvertibleConversionEvent.templateId>
236
- export type Event = damlLedger.Event<ConvertibleConversionEvent, undefined, typeof ConvertibleConversionEvent.templateId>
237
- export type QueryResult = damlLedger.QueryResult<ConvertibleConversionEvent, undefined, typeof ConvertibleConversionEvent.templateId>
238
- }
239
-
240
-
241
-
242
- export declare type TransferWarrant = {
243
- to_owner: damlTypes.Party;
244
- quantity: damlTypes.Numeric;
245
- date: damlTypes.Time;
246
- consideration_text: damlTypes.Optional<string>;
247
- };
248
-
249
- export declare const TransferWarrant:
250
- damlTypes.Serializable<TransferWarrant> & {
251
- }
252
- ;
253
-
254
-
255
- export declare type ExerciseWarrant = {
256
- quantity: damlTypes.Numeric;
257
- date: damlTypes.Time;
258
- };
259
-
260
- export declare const ExerciseWarrant:
261
- damlTypes.Serializable<ExerciseWarrant> & {
262
- }
263
- ;
264
-
265
-
266
- export declare type Warrant = {
267
- issuer: damlTypes.Party;
268
- system_operator: damlTypes.Party;
269
- featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
270
- stakeholder: damlTypes.Party;
271
- stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
272
- issuance_data: Fairmint_OpenCapTable_Types.OcfWarrantIssuanceData;
273
- };
274
-
275
- export declare interface WarrantInterface {
276
- Archive: damlTypes.Choice<Warrant, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Warrant, undefined>>;
277
- ExerciseWarrant: damlTypes.Choice<Warrant, ExerciseWarrant, damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Warrant, undefined>>;
278
- TransferWarrant: damlTypes.Choice<Warrant, TransferWarrant, damlTypes.ContractId<WarrantTransferEvent>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Warrant, undefined>>;
279
- }
280
- export declare const Warrant:
281
- damlTypes.Template<Warrant, undefined, '#OpenCapTable-v15:Fairmint.OpenCapTable.Issuer:Warrant'> &
282
- damlTypes.ToInterface<Warrant, never> &
283
- WarrantInterface;
284
-
285
- export declare namespace Warrant {
286
- export type CreateEvent = damlLedger.CreateEvent<Warrant, undefined, typeof Warrant.templateId>
287
- export type ArchiveEvent = damlLedger.ArchiveEvent<Warrant, typeof Warrant.templateId>
288
- export type Event = damlLedger.Event<Warrant, undefined, typeof Warrant.templateId>
289
- export type QueryResult = damlLedger.QueryResult<Warrant, undefined, typeof Warrant.templateId>
290
- }
291
-
292
-
293
-
294
- export declare type Retract = {
295
- date: damlTypes.Time;
296
- reason_text: damlTypes.Optional<string>;
297
- };
298
-
299
- export declare const Retract:
300
- damlTypes.Serializable<Retract> & {
23
+ export declare const ArchiveIssuer:
24
+ damlTypes.Serializable<ArchiveIssuer> & {
301
25
  }
302
26
  ;
303
27
 
304
28
 
305
- export declare type Cancel = {
306
- amount: Fairmint_OpenCapTable_Types.OcfMonetary;
307
- date: damlTypes.Time;
308
- reason_text: damlTypes.Optional<string>;
29
+ export declare type CreateDocument = {
30
+ document_data: Fairmint_OpenCapTable_Document.OcfDocument;
309
31
  };
310
32
 
311
- export declare const Cancel:
312
- damlTypes.Serializable<Cancel> & {
313
- }
314
- ;
315
-
316
-
317
- export declare type Accept = {
318
- date: damlTypes.Time;
319
- };
320
-
321
- export declare const Accept:
322
- damlTypes.Serializable<Accept> & {
323
- }
324
- ;
325
-
326
-
327
- export declare type Transfer = {
328
- to_owner: damlTypes.Party;
329
- amount: Fairmint_OpenCapTable_Types.OcfMonetary;
330
- date: damlTypes.Time;
331
- consideration_text: damlTypes.Optional<string>;
332
- };
333
-
334
- export declare const Transfer:
335
- damlTypes.Serializable<Transfer> & {
336
- }
337
- ;
338
-
339
-
340
- export declare type Convert = {
341
- stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
342
- quantity: damlTypes.Numeric;
343
- date: damlTypes.Time;
344
- };
345
-
346
- export declare const Convert:
347
- damlTypes.Serializable<Convert> & {
348
- }
349
- ;
350
-
351
-
352
- export declare type Convertible = {
353
- issuer: damlTypes.Party;
354
- system_operator: damlTypes.Party;
355
- featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
356
- stakeholder: damlTypes.Party;
357
- issuance_data: Fairmint_OpenCapTable_Types.OcfConvertibleIssuanceData;
358
- };
359
-
360
- export declare interface ConvertibleInterface {
361
- Archive: damlTypes.Choice<Convertible, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Convertible, undefined>>;
362
- Convert: damlTypes.Choice<Convertible, Convert, damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Convertible, undefined>>;
363
- Transfer: damlTypes.Choice<Convertible, Transfer, damlTypes.ContractId<Convertible>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Convertible, undefined>>;
364
- Accept: damlTypes.Choice<Convertible, Accept, damlTypes.ContractId<ConvertibleAcceptance>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Convertible, undefined>>;
365
- Cancel: damlTypes.Choice<Convertible, Cancel, damlTypes.ContractId<ConvertibleCancellation>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Convertible, undefined>>;
366
- Retract: damlTypes.Choice<Convertible, Retract, damlTypes.ContractId<ConvertibleRetraction>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Convertible, undefined>>;
367
- }
368
- export declare const Convertible:
369
- damlTypes.Template<Convertible, undefined, '#OpenCapTable-v15:Fairmint.OpenCapTable.Issuer:Convertible'> &
370
- damlTypes.ToInterface<Convertible, never> &
371
- ConvertibleInterface;
372
-
373
- export declare namespace Convertible {
374
- export type CreateEvent = damlLedger.CreateEvent<Convertible, undefined, typeof Convertible.templateId>
375
- export type ArchiveEvent = damlLedger.ArchiveEvent<Convertible, typeof Convertible.templateId>
376
- export type Event = damlLedger.Event<Convertible, undefined, typeof Convertible.templateId>
377
- export type QueryResult = damlLedger.QueryResult<Convertible, undefined, typeof Convertible.templateId>
378
- }
379
-
380
-
381
-
382
- export declare type IssueWarrant = {
383
- stakeholder: damlTypes.Party;
384
- stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
385
- issuance_data: Fairmint_OpenCapTable_Types.OcfWarrantIssuanceData;
386
- };
387
-
388
- export declare const IssueWarrant:
389
- damlTypes.Serializable<IssueWarrant> & {
390
- }
391
- ;
392
-
393
-
394
- export declare type IssueConvertible = {
395
- stakeholder: damlTypes.Party;
396
- issuance_data: Fairmint_OpenCapTable_Types.OcfConvertibleIssuanceData;
397
- };
398
-
399
- export declare const IssueConvertible:
400
- damlTypes.Serializable<IssueConvertible> & {
401
- }
402
- ;
403
-
404
-
405
- export declare type AdjustIssuerAuthorizedShares = {
406
- new_authorized: damlTypes.Numeric;
407
- date: damlTypes.Time;
408
- };
409
-
410
- export declare const AdjustIssuerAuthorizedShares:
411
- damlTypes.Serializable<AdjustIssuerAuthorizedShares> & {
412
- }
413
- ;
414
-
415
-
416
- export declare type UpdateIssuerData = {
417
- new_issuer_data: Fairmint_OpenCapTable_Types.OcfIssuerData;
418
- };
419
-
420
- export declare const UpdateIssuerData:
421
- damlTypes.Serializable<UpdateIssuerData> & {
33
+ export declare const CreateDocument:
34
+ damlTypes.Serializable<CreateDocument> & {
422
35
  }
423
36
  ;
424
37
 
425
38
 
426
39
  export declare type CreateVestingTerms = {
427
- vesting_terms_data: Fairmint_OpenCapTable_Types.OcfVestingTermsData;
40
+ vesting_terms_data: Fairmint_OpenCapTable_VestingTerms.OcfVestingTermsData;
428
41
  };
429
42
 
430
43
  export declare const CreateVestingTerms:
@@ -434,8 +47,7 @@ export declare const CreateVestingTerms:
434
47
 
435
48
 
436
49
  export declare type CreateStockPlan = {
437
- stock_classes: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>[];
438
- plan_data: Fairmint_OpenCapTable_Types.OcfStockPlanData;
50
+ plan_data: Fairmint_OpenCapTable_StockPlan.OcfStockPlanData;
439
51
  };
440
52
 
441
53
  export declare const CreateStockPlan:
@@ -445,7 +57,7 @@ export declare const CreateStockPlan:
445
57
 
446
58
 
447
59
  export declare type CreateStockLegendTemplate = {
448
- template_data: Fairmint_OpenCapTable_Types.OcfStockLegendTemplateData;
60
+ template_data: Fairmint_OpenCapTable_StockLegendTemplate.OcfStockLegendTemplateData;
449
61
  };
450
62
 
451
63
  export declare const CreateStockLegendTemplate:
@@ -454,20 +66,8 @@ export declare const CreateStockLegendTemplate:
454
66
  ;
455
67
 
456
68
 
457
- export declare type CreateValuation = {
458
- stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
459
- valuation_data: Fairmint_OpenCapTable_Types.OcfValuationData;
460
- };
461
-
462
- export declare const CreateValuation:
463
- damlTypes.Serializable<CreateValuation> & {
464
- }
465
- ;
466
-
467
-
468
69
  export declare type CreateStakeholder = {
469
- stakeholder: damlTypes.Party;
470
- stakeholder_data: Fairmint_OpenCapTable_Types.OcfStakeholderData;
70
+ stakeholder_data: Fairmint_OpenCapTable_Stakeholder.OcfStakeholderData;
471
71
  };
472
72
 
473
73
  export declare const CreateStakeholder:
@@ -477,7 +77,7 @@ export declare const CreateStakeholder:
477
77
 
478
78
 
479
79
  export declare type CreateStockClass = {
480
- stock_class_data: Fairmint_OpenCapTable_Types.OcfStockClassData;
80
+ stock_class_data: Fairmint_OpenCapTable_StockClass.OcfStockClassData;
481
81
  };
482
82
 
483
83
  export declare const CreateStockClass:
@@ -487,27 +87,22 @@ export declare const CreateStockClass:
487
87
 
488
88
 
489
89
  export declare type Issuer = {
490
- issuer: damlTypes.Party;
491
- issuer_data: Fairmint_OpenCapTable_Types.OcfIssuerData;
492
- system_operator: damlTypes.Party;
493
- featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
90
+ context: Fairmint_OpenCapTable_Types.Context;
91
+ issuer_data: OcfIssuerData;
494
92
  };
495
93
 
496
94
  export declare interface IssuerInterface {
497
- Archive: damlTypes.Choice<Issuer, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
498
95
  CreateStockClass: damlTypes.Choice<Issuer, CreateStockClass, damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
499
- AdjustIssuerAuthorizedShares: damlTypes.Choice<Issuer, AdjustIssuerAuthorizedShares, damlTypes.ContractId<Issuer>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
500
96
  CreateStakeholder: damlTypes.Choice<Issuer, CreateStakeholder, damlTypes.ContractId<Fairmint_OpenCapTable_Stakeholder.Stakeholder>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
501
- CreateValuation: damlTypes.Choice<Issuer, CreateValuation, damlTypes.ContractId<Fairmint_OpenCapTable_Valuation.Valuation>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
502
97
  CreateStockLegendTemplate: damlTypes.Choice<Issuer, CreateStockLegendTemplate, damlTypes.ContractId<Fairmint_OpenCapTable_StockLegendTemplate.StockLegendTemplate>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
503
98
  CreateStockPlan: damlTypes.Choice<Issuer, CreateStockPlan, damlTypes.ContractId<Fairmint_OpenCapTable_StockPlan.StockPlan>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
504
99
  CreateVestingTerms: damlTypes.Choice<Issuer, CreateVestingTerms, damlTypes.ContractId<Fairmint_OpenCapTable_VestingTerms.VestingTerms>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
505
- UpdateIssuerData: damlTypes.Choice<Issuer, UpdateIssuerData, damlTypes.ContractId<Issuer>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
506
- IssueConvertible: damlTypes.Choice<Issuer, IssueConvertible, damlTypes.ContractId<Convertible>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
507
- IssueWarrant: damlTypes.Choice<Issuer, IssueWarrant, damlTypes.ContractId<Warrant>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
100
+ CreateDocument: damlTypes.Choice<Issuer, CreateDocument, damlTypes.ContractId<Fairmint_OpenCapTable_Document.Document>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
101
+ Archive: damlTypes.Choice<Issuer, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
102
+ ArchiveIssuer: damlTypes.Choice<Issuer, ArchiveIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
508
103
  }
509
104
  export declare const Issuer:
510
- damlTypes.Template<Issuer, undefined, '#OpenCapTable-v15:Fairmint.OpenCapTable.Issuer:Issuer'> &
105
+ damlTypes.Template<Issuer, undefined, '#OpenCapTable-v16:Fairmint.OpenCapTable.Issuer:Issuer'> &
511
106
  damlTypes.ToInterface<Issuer, never> &
512
107
  IssuerInterface;
513
108
 
@@ -519,3 +114,47 @@ export declare namespace Issuer {
519
114
  }
520
115
 
521
116
 
117
+
118
+ export declare type OcfInitialSharesAuthorized =
119
+ | { tag: 'OcfInitialSharesNumeric'; value: damlTypes.Numeric }
120
+ | { tag: 'OcfInitialSharesEnum'; value: OcfAuthorizedShares }
121
+ ;
122
+
123
+ export declare const OcfInitialSharesAuthorized:
124
+ damlTypes.Serializable<OcfInitialSharesAuthorized> & {
125
+ }
126
+ ;
127
+
128
+
129
+ export declare type OcfAuthorizedShares =
130
+ | 'OcfAuthorizedSharesNotApplicable'
131
+ | 'OcfAuthorizedSharesUnlimited'
132
+ ;
133
+
134
+ export declare const OcfAuthorizedShares:
135
+ damlTypes.Serializable<OcfAuthorizedShares> & {
136
+ }
137
+ & { readonly keys: OcfAuthorizedShares[] } & { readonly [e in OcfAuthorizedShares]: e }
138
+ ;
139
+
140
+
141
+ export declare type OcfIssuerData = {
142
+ legal_name: string;
143
+ formation_date: damlTypes.Optional<damlTypes.Time>;
144
+ country_of_formation: string;
145
+ dba: damlTypes.Optional<string>;
146
+ country_subdivision_of_formation: damlTypes.Optional<string>;
147
+ country_subdivision_name_of_formation: damlTypes.Optional<string>;
148
+ tax_ids: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfTaxID[]>;
149
+ email: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfEmail>;
150
+ phone: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfPhone>;
151
+ address: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfAddress>;
152
+ initial_shares_authorized: damlTypes.Optional<OcfInitialSharesAuthorized>;
153
+ comments: damlTypes.Optional<string[]>;
154
+ };
155
+
156
+ export declare const OcfIssuerData:
157
+ damlTypes.Serializable<OcfIssuerData> & {
158
+ }
159
+ ;
160
+