@fairmint/open-captable-protocol-daml-js 0.2.5 → 0.2.6

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 (58) hide show
  1. package/generated/ocp-factory-contract-id.json +4 -4
  2. package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/index.d.ts +1 -0
  3. package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/index.js +8 -0
  4. package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/module.d.ts +69 -0
  5. package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/module.js +93 -0
  6. package/lib/Fairmint/OpenCapTable/Document/module.d.ts +1 -1
  7. package/lib/Fairmint/OpenCapTable/Document/module.js +2 -2
  8. package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/index.d.ts +1 -0
  9. package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/index.js +8 -0
  10. package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/module.d.ts +60 -0
  11. package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/module.js +84 -0
  12. package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/index.d.ts +1 -0
  13. package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/index.js +8 -0
  14. package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/module.d.ts +74 -0
  15. package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/module.js +98 -0
  16. package/lib/Fairmint/OpenCapTable/Issuer/module.d.ts +1 -1
  17. package/lib/Fairmint/OpenCapTable/Issuer/module.js +2 -2
  18. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +1 -1
  19. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +2 -2
  20. package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/index.d.ts +1 -0
  21. package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/index.js +8 -0
  22. package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module.d.ts +60 -0
  23. package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module.js +84 -0
  24. package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +1 -1
  25. package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
  26. package/lib/Fairmint/OpenCapTable/Stakeholder/module.d.ts +1 -1
  27. package/lib/Fairmint/OpenCapTable/Stakeholder/module.js +2 -2
  28. package/lib/Fairmint/OpenCapTable/StockCancellation/index.d.ts +1 -0
  29. package/lib/Fairmint/OpenCapTable/StockCancellation/index.js +8 -0
  30. package/lib/Fairmint/OpenCapTable/StockCancellation/module.d.ts +60 -0
  31. package/lib/Fairmint/OpenCapTable/StockCancellation/module.js +84 -0
  32. package/lib/Fairmint/OpenCapTable/StockClass/module.d.ts +1 -1
  33. package/lib/Fairmint/OpenCapTable/StockClass/module.js +2 -2
  34. package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/index.d.ts +1 -0
  35. package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/index.js +8 -0
  36. package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module.d.ts +60 -0
  37. package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module.js +84 -0
  38. package/lib/Fairmint/OpenCapTable/StockIssuance/module.d.ts +1 -1
  39. package/lib/Fairmint/OpenCapTable/StockIssuance/module.js +2 -2
  40. package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.d.ts +1 -1
  41. package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.js +2 -2
  42. package/lib/Fairmint/OpenCapTable/StockPlan/module.d.ts +1 -1
  43. package/lib/Fairmint/OpenCapTable/StockPlan/module.js +2 -2
  44. package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/index.d.ts +1 -0
  45. package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/index.js +8 -0
  46. package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/module.d.ts +60 -0
  47. package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/module.js +84 -0
  48. package/lib/Fairmint/OpenCapTable/Valuation/module.d.ts +1 -1
  49. package/lib/Fairmint/OpenCapTable/Valuation/module.js +2 -2
  50. package/lib/Fairmint/OpenCapTable/VestingTerms/module.d.ts +66 -3
  51. package/lib/Fairmint/OpenCapTable/VestingTerms/module.js +72 -5
  52. package/lib/Fairmint/OpenCapTable/WarrantIssuance/index.d.ts +1 -0
  53. package/lib/Fairmint/OpenCapTable/WarrantIssuance/index.js +8 -0
  54. package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.d.ts +71 -0
  55. package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.js +95 -0
  56. package/lib/Fairmint/OpenCapTable/index.d.ts +16 -0
  57. package/lib/Fairmint/OpenCapTable/index.js +16 -0
  58. package/package.json +2 -2
@@ -0,0 +1,60 @@
1
+ // Generated from Fairmint/OpenCapTable/StockPlanPoolAdjustment.daml
2
+ /* eslint-disable @typescript-eslint/camelcase */
3
+ /* eslint-disable @typescript-eslint/no-namespace */
4
+ /* eslint-disable @typescript-eslint/no-use-before-define */
5
+ import * as jtv from '@mojotech/json-type-validation';
6
+ import * as damlTypes from '@daml/types';
7
+ /* eslint-disable-next-line @typescript-eslint/no-unused-vars */
8
+ import * as damlLedger from '@daml/ledger';
9
+
10
+ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
11
+
12
+ import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
13
+
14
+ export declare type ArchiveByIssuer = {
15
+ };
16
+
17
+ export declare const ArchiveByIssuer:
18
+ damlTypes.Serializable<ArchiveByIssuer> & {
19
+ }
20
+ ;
21
+
22
+
23
+ export declare type StockPlanPoolAdjustment = {
24
+ context: Fairmint_OpenCapTable_Types.Context;
25
+ adjustment_data: OcfStockPlanPoolAdjustmentData;
26
+ };
27
+
28
+ export declare interface StockPlanPoolAdjustmentInterface {
29
+ Archive: damlTypes.Choice<StockPlanPoolAdjustment, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockPlanPoolAdjustment, undefined>>;
30
+ ArchiveByIssuer: damlTypes.Choice<StockPlanPoolAdjustment, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockPlanPoolAdjustment, undefined>>;
31
+ }
32
+ export declare const StockPlanPoolAdjustment:
33
+ damlTypes.Template<StockPlanPoolAdjustment, undefined, '#OpenCapTable-v19:Fairmint.OpenCapTable.StockPlanPoolAdjustment:StockPlanPoolAdjustment'> &
34
+ damlTypes.ToInterface<StockPlanPoolAdjustment, never> &
35
+ StockPlanPoolAdjustmentInterface;
36
+
37
+ export declare namespace StockPlanPoolAdjustment {
38
+ export type CreateEvent = damlLedger.CreateEvent<StockPlanPoolAdjustment, undefined, typeof StockPlanPoolAdjustment.templateId>
39
+ export type ArchiveEvent = damlLedger.ArchiveEvent<StockPlanPoolAdjustment, typeof StockPlanPoolAdjustment.templateId>
40
+ export type Event = damlLedger.Event<StockPlanPoolAdjustment, undefined, typeof StockPlanPoolAdjustment.templateId>
41
+ export type QueryResult = damlLedger.QueryResult<StockPlanPoolAdjustment, undefined, typeof StockPlanPoolAdjustment.templateId>
42
+ }
43
+
44
+
45
+
46
+ export declare type OcfStockPlanPoolAdjustmentData = {
47
+ ocf_id: string;
48
+ date: damlTypes.Time;
49
+ stock_plan_id: string;
50
+ board_approval_date: damlTypes.Optional<damlTypes.Time>;
51
+ stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
52
+ shares_reserved: damlTypes.Numeric;
53
+ comments: string[];
54
+ };
55
+
56
+ export declare const OcfStockPlanPoolAdjustmentData:
57
+ damlTypes.Serializable<OcfStockPlanPoolAdjustmentData> & {
58
+ }
59
+ ;
60
+
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ /* eslint-disable-next-line no-unused-vars */
3
+ function __export(m) {
4
+ /* eslint-disable-next-line no-prototype-builtins */
5
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
+ }
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ /* eslint-disable-next-line no-unused-vars */
9
+ var jtv = require('@mojotech/json-type-validation');
10
+ /* eslint-disable-next-line no-unused-vars */
11
+ var damlTypes = require('@daml/types');
12
+ /* eslint-disable-next-line no-unused-vars */
13
+ var damlLedger = require('@daml/ledger');
14
+
15
+ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
16
+
17
+ var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
18
+
19
+
20
+ exports.ArchiveByIssuer = {
21
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
22
+ encode: function (__typed__) {
23
+ return {
24
+ };
25
+ }
26
+ ,
27
+ };
28
+
29
+
30
+
31
+ exports.StockPlanPoolAdjustment = damlTypes.assembleTemplate(
32
+ {
33
+ templateId: '#OpenCapTable-v19:Fairmint.OpenCapTable.StockPlanPoolAdjustment:StockPlanPoolAdjustment',
34
+ keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
35
+ keyEncode: function () { throw 'EncodeError'; },
36
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, adjustment_data: exports.OcfStockPlanPoolAdjustmentData.decoder, }); }),
37
+ encode: function (__typed__) {
38
+ return {
39
+ context: Fairmint_OpenCapTable_Types.Context.encode(__typed__.context),
40
+ adjustment_data: exports.OcfStockPlanPoolAdjustmentData.encode(__typed__.adjustment_data),
41
+ };
42
+ }
43
+ ,
44
+ Archive: {
45
+ template: function () { return exports.StockPlanPoolAdjustment; },
46
+ choiceName: 'Archive',
47
+ argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
48
+ argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
49
+ resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
50
+ resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
51
+ },
52
+ ArchiveByIssuer: {
53
+ template: function () { return exports.StockPlanPoolAdjustment; },
54
+ choiceName: 'ArchiveByIssuer',
55
+ argumentDecoder: damlTypes.lazyMemo(function () { return exports.ArchiveByIssuer.decoder; }),
56
+ argumentEncode: function (__typed__) { return exports.ArchiveByIssuer.encode(__typed__); },
57
+ resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
58
+ resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
59
+ },
60
+ }
61
+
62
+ );
63
+
64
+
65
+ damlTypes.registerTemplate(exports.StockPlanPoolAdjustment, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
66
+
67
+
68
+
69
+ exports.OcfStockPlanPoolAdjustmentData = {
70
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({ocf_id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, stock_plan_id: 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), shares_reserved: damlTypes.Numeric(10).decoder, comments: damlTypes.List(damlTypes.Text).decoder, }); }),
71
+ encode: function (__typed__) {
72
+ return {
73
+ ocf_id: damlTypes.Text.encode(__typed__.ocf_id),
74
+ date: damlTypes.Time.encode(__typed__.date),
75
+ stock_plan_id: damlTypes.Text.encode(__typed__.stock_plan_id),
76
+ board_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.board_approval_date),
77
+ stockholder_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.stockholder_approval_date),
78
+ shares_reserved: damlTypes.Numeric(10).encode(__typed__.shares_reserved),
79
+ comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
80
+ };
81
+ }
82
+ ,
83
+ };
84
+
@@ -30,7 +30,7 @@ export declare interface ValuationInterface {
30
30
  ArchiveByIssuer: damlTypes.Choice<Valuation, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Valuation, undefined>>;
31
31
  }
32
32
  export declare const Valuation:
33
- damlTypes.Template<Valuation, undefined, '#OpenCapTable-v18:Fairmint.OpenCapTable.Valuation:Valuation'> &
33
+ damlTypes.Template<Valuation, undefined, '#OpenCapTable-v19:Fairmint.OpenCapTable.Valuation:Valuation'> &
34
34
  damlTypes.ToInterface<Valuation, never> &
35
35
  ValuationInterface;
36
36
 
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
30
30
 
31
31
  exports.Valuation = damlTypes.assembleTemplate(
32
32
  {
33
- templateId: '#OpenCapTable-v18:Fairmint.OpenCapTable.Valuation:Valuation',
33
+ templateId: '#OpenCapTable-v19:Fairmint.OpenCapTable.Valuation:Valuation',
34
34
  keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
35
35
  keyEncode: function () { throw 'EncodeError'; },
36
36
  decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, valuation_data: exports.OcfValuationData.decoder, }); }),
@@ -62,7 +62,7 @@ exports.Valuation = damlTypes.assembleTemplate(
62
62
  );
63
63
 
64
64
 
65
- damlTypes.registerTemplate(exports.Valuation, ['d90d59c20e2f344d2ed420d7b3a1f207ad1e4b3df2e9e28db1fdcf352ee22b86', '#OpenCapTable-v18']);
65
+ damlTypes.registerTemplate(exports.Valuation, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
66
66
 
67
67
 
68
68
 
@@ -30,7 +30,7 @@ export declare interface VestingTermsInterface {
30
30
  ArchiveByIssuer: damlTypes.Choice<VestingTerms, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<VestingTerms, undefined>>;
31
31
  }
32
32
  export declare const VestingTerms:
33
- damlTypes.Template<VestingTerms, undefined, '#OpenCapTable-v18:Fairmint.OpenCapTable.VestingTerms:VestingTerms'> &
33
+ damlTypes.Template<VestingTerms, undefined, '#OpenCapTable-v19:Fairmint.OpenCapTable.VestingTerms:VestingTerms'> &
34
34
  damlTypes.ToInterface<VestingTerms, never> &
35
35
  VestingTermsInterface;
36
36
 
@@ -125,12 +125,75 @@ export namespace OcfVestingTrigger {
125
125
 
126
126
 
127
127
  export declare type OcfVestingPeriod =
128
- | { tag: 'OcfVestingPeriodDays'; value: damlTypes.Int }
129
- | { tag: 'OcfVestingPeriodMonths'; value: damlTypes.Int }
128
+ | { tag: 'OcfVestingPeriodDays'; value: OcfVestingPeriod.OcfVestingPeriodDays }
129
+ | { tag: 'OcfVestingPeriodMonths'; value: OcfVestingPeriod.OcfVestingPeriodMonths }
130
130
  ;
131
131
 
132
132
  export declare const OcfVestingPeriod:
133
133
  damlTypes.Serializable<OcfVestingPeriod> & {
134
+ OcfVestingPeriodDays: damlTypes.Serializable<OcfVestingPeriod.OcfVestingPeriodDays>;
135
+ OcfVestingPeriodMonths: damlTypes.Serializable<OcfVestingPeriod.OcfVestingPeriodMonths>;
134
136
  }
135
137
  ;
136
138
 
139
+
140
+ export namespace OcfVestingPeriod {
141
+ type OcfVestingPeriodDays = {
142
+ period_length: damlTypes.Int;
143
+ occurrences: damlTypes.Int;
144
+ cliff_installment: damlTypes.Optional<damlTypes.Int>;
145
+ };
146
+ } //namespace OcfVestingPeriod
147
+
148
+
149
+ export namespace OcfVestingPeriod {
150
+ type OcfVestingPeriodMonths = {
151
+ period_length: damlTypes.Int;
152
+ occurrences: damlTypes.Int;
153
+ day_of_month: OcfVestingDayOfMonth;
154
+ cliff_installment: damlTypes.Optional<damlTypes.Int>;
155
+ };
156
+ } //namespace OcfVestingPeriod
157
+
158
+
159
+ export declare type OcfVestingDayOfMonth =
160
+ | 'OcfVestingDay01'
161
+ | 'OcfVestingDay02'
162
+ | 'OcfVestingDay03'
163
+ | 'OcfVestingDay04'
164
+ | 'OcfVestingDay05'
165
+ | 'OcfVestingDay06'
166
+ | 'OcfVestingDay07'
167
+ | 'OcfVestingDay08'
168
+ | 'OcfVestingDay09'
169
+ | 'OcfVestingDay10'
170
+ | 'OcfVestingDay11'
171
+ | 'OcfVestingDay12'
172
+ | 'OcfVestingDay13'
173
+ | 'OcfVestingDay14'
174
+ | 'OcfVestingDay15'
175
+ | 'OcfVestingDay16'
176
+ | 'OcfVestingDay17'
177
+ | 'OcfVestingDay18'
178
+ | 'OcfVestingDay19'
179
+ | 'OcfVestingDay20'
180
+ | 'OcfVestingDay21'
181
+ | 'OcfVestingDay22'
182
+ | 'OcfVestingDay23'
183
+ | 'OcfVestingDay24'
184
+ | 'OcfVestingDay25'
185
+ | 'OcfVestingDay26'
186
+ | 'OcfVestingDay27'
187
+ | 'OcfVestingDay28'
188
+ | 'OcfVestingDay29OrLast'
189
+ | 'OcfVestingDay30OrLast'
190
+ | 'OcfVestingDay31OrLast'
191
+ | 'OcfVestingStartDayOrLast'
192
+ ;
193
+
194
+ export declare const OcfVestingDayOfMonth:
195
+ damlTypes.Serializable<OcfVestingDayOfMonth> & {
196
+ }
197
+ & { readonly keys: OcfVestingDayOfMonth[] } & { readonly [e in OcfVestingDayOfMonth]: e }
198
+ ;
199
+
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
30
30
 
31
31
  exports.VestingTerms = damlTypes.assembleTemplate(
32
32
  {
33
- templateId: '#OpenCapTable-v18:Fairmint.OpenCapTable.VestingTerms:VestingTerms',
33
+ templateId: '#OpenCapTable-v19:Fairmint.OpenCapTable.VestingTerms:VestingTerms',
34
34
  keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
35
35
  keyEncode: function () { throw 'EncodeError'; },
36
36
  decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, vesting_terms_data: exports.OcfVestingTermsData.decoder, }); }),
@@ -62,7 +62,7 @@ exports.VestingTerms = damlTypes.assembleTemplate(
62
62
  );
63
63
 
64
64
 
65
- damlTypes.registerTemplate(exports.VestingTerms, ['d90d59c20e2f344d2ed420d7b3a1f207ad1e4b3df2e9e28db1fdcf352ee22b86', '#OpenCapTable-v18']);
65
+ damlTypes.registerTemplate(exports.VestingTerms, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
66
66
 
67
67
 
68
68
 
@@ -158,14 +158,81 @@ exports.OcfVestingTrigger = {
158
158
 
159
159
 
160
160
  exports.OcfVestingPeriod = {
161
- 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, })); }),
161
+ decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfVestingPeriodDays'), value: exports.OcfVestingPeriod.OcfVestingPeriodDays.decoder, }), jtv.object({tag: jtv.constant('OcfVestingPeriodMonths'), value: exports.OcfVestingPeriod.OcfVestingPeriodMonths.decoder, })); }),
162
162
  encode: function (__typed__) {
163
163
  switch(__typed__.tag) {
164
- case 'OcfVestingPeriodDays': return {tag: __typed__.tag, value: damlTypes.Int.encode(__typed__.value)};
165
- case 'OcfVestingPeriodMonths': return {tag: __typed__.tag, value: damlTypes.Int.encode(__typed__.value)};
164
+ case 'OcfVestingPeriodDays': return {tag: __typed__.tag, value: exports.OcfVestingPeriod.OcfVestingPeriodDays.encode(__typed__.value)};
165
+ case 'OcfVestingPeriodMonths': return {tag: __typed__.tag, value: exports.OcfVestingPeriod.OcfVestingPeriodMonths.encode(__typed__.value)};
166
166
  default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfVestingPeriod';
167
167
  }
168
168
  }
169
169
  ,
170
+ OcfVestingPeriodDays:({
171
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({period_length: damlTypes.Int.decoder, occurrences: damlTypes.Int.decoder, cliff_installment: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Int).decoder), }); }),
172
+ encode: function (__typed__) {
173
+ return {
174
+ period_length: damlTypes.Int.encode(__typed__.period_length),
175
+ occurrences: damlTypes.Int.encode(__typed__.occurrences),
176
+ cliff_installment: damlTypes.Optional(damlTypes.Int).encode(__typed__.cliff_installment),
177
+ };
178
+ }
179
+ ,
180
+ }),
181
+ OcfVestingPeriodMonths:({
182
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({period_length: damlTypes.Int.decoder, occurrences: damlTypes.Int.decoder, day_of_month: exports.OcfVestingDayOfMonth.decoder, cliff_installment: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Int).decoder), }); }),
183
+ encode: function (__typed__) {
184
+ return {
185
+ period_length: damlTypes.Int.encode(__typed__.period_length),
186
+ occurrences: damlTypes.Int.encode(__typed__.occurrences),
187
+ day_of_month: exports.OcfVestingDayOfMonth.encode(__typed__.day_of_month),
188
+ cliff_installment: damlTypes.Optional(damlTypes.Int).encode(__typed__.cliff_installment),
189
+ };
190
+ }
191
+ ,
192
+ }),
193
+ };
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+ exports.OcfVestingDayOfMonth = {
202
+ OcfVestingDay01: 'OcfVestingDay01',
203
+ OcfVestingDay02: 'OcfVestingDay02',
204
+ OcfVestingDay03: 'OcfVestingDay03',
205
+ OcfVestingDay04: 'OcfVestingDay04',
206
+ OcfVestingDay05: 'OcfVestingDay05',
207
+ OcfVestingDay06: 'OcfVestingDay06',
208
+ OcfVestingDay07: 'OcfVestingDay07',
209
+ OcfVestingDay08: 'OcfVestingDay08',
210
+ OcfVestingDay09: 'OcfVestingDay09',
211
+ OcfVestingDay10: 'OcfVestingDay10',
212
+ OcfVestingDay11: 'OcfVestingDay11',
213
+ OcfVestingDay12: 'OcfVestingDay12',
214
+ OcfVestingDay13: 'OcfVestingDay13',
215
+ OcfVestingDay14: 'OcfVestingDay14',
216
+ OcfVestingDay15: 'OcfVestingDay15',
217
+ OcfVestingDay16: 'OcfVestingDay16',
218
+ OcfVestingDay17: 'OcfVestingDay17',
219
+ OcfVestingDay18: 'OcfVestingDay18',
220
+ OcfVestingDay19: 'OcfVestingDay19',
221
+ OcfVestingDay20: 'OcfVestingDay20',
222
+ OcfVestingDay21: 'OcfVestingDay21',
223
+ OcfVestingDay22: 'OcfVestingDay22',
224
+ OcfVestingDay23: 'OcfVestingDay23',
225
+ OcfVestingDay24: 'OcfVestingDay24',
226
+ OcfVestingDay25: 'OcfVestingDay25',
227
+ OcfVestingDay26: 'OcfVestingDay26',
228
+ OcfVestingDay27: 'OcfVestingDay27',
229
+ OcfVestingDay28: 'OcfVestingDay28',
230
+ OcfVestingDay29OrLast: 'OcfVestingDay29OrLast',
231
+ OcfVestingDay30OrLast: 'OcfVestingDay30OrLast',
232
+ OcfVestingDay31OrLast: 'OcfVestingDay31OrLast',
233
+ OcfVestingStartDayOrLast: 'OcfVestingStartDayOrLast',
234
+ keys: ['OcfVestingDay01','OcfVestingDay02','OcfVestingDay03','OcfVestingDay04','OcfVestingDay05','OcfVestingDay06','OcfVestingDay07','OcfVestingDay08','OcfVestingDay09','OcfVestingDay10','OcfVestingDay11','OcfVestingDay12','OcfVestingDay13','OcfVestingDay14','OcfVestingDay15','OcfVestingDay16','OcfVestingDay17','OcfVestingDay18','OcfVestingDay19','OcfVestingDay20','OcfVestingDay21','OcfVestingDay22','OcfVestingDay23','OcfVestingDay24','OcfVestingDay25','OcfVestingDay26','OcfVestingDay27','OcfVestingDay28','OcfVestingDay29OrLast','OcfVestingDay30OrLast','OcfVestingDay31OrLast','OcfVestingStartDayOrLast',],
235
+ decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay01), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay02), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay03), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay04), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay05), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay06), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay07), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay08), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay09), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay10), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay11), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay12), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay13), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay14), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay15), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay16), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay17), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay18), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay19), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay20), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay21), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay22), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay23), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay24), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay25), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay26), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay27), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay28), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay29OrLast), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay30OrLast), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingDay31OrLast), jtv.constant(exports.OcfVestingDayOfMonth.OcfVestingStartDayOrLast)); }),
236
+ encode: function (__typed__) { return __typed__; },
170
237
  };
171
238
 
@@ -0,0 +1 @@
1
+ export * from './module';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /* eslint-disable-next-line no-unused-vars */
3
+ function __export(m) {
4
+ /* eslint-disable-next-line no-prototype-builtins */
5
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
+ }
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ __export(require('./module'));
@@ -0,0 +1,71 @@
1
+ // Generated from Fairmint/OpenCapTable/WarrantIssuance.daml
2
+ /* eslint-disable @typescript-eslint/camelcase */
3
+ /* eslint-disable @typescript-eslint/no-namespace */
4
+ /* eslint-disable @typescript-eslint/no-use-before-define */
5
+ import * as jtv from '@mojotech/json-type-validation';
6
+ import * as damlTypes from '@daml/types';
7
+ /* eslint-disable-next-line @typescript-eslint/no-unused-vars */
8
+ import * as damlLedger from '@daml/ledger';
9
+
10
+ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
11
+
12
+ import * as Fairmint_OpenCapTable_StockClass from '../../../Fairmint/OpenCapTable/StockClass/module';
13
+ import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
14
+
15
+ export declare type ArchiveByIssuer = {
16
+ };
17
+
18
+ export declare const ArchiveByIssuer:
19
+ damlTypes.Serializable<ArchiveByIssuer> & {
20
+ }
21
+ ;
22
+
23
+
24
+ export declare type WarrantIssuance = {
25
+ context: Fairmint_OpenCapTable_Types.Context;
26
+ issuance_data: OcfWarrantIssuanceData;
27
+ };
28
+
29
+ export declare interface WarrantIssuanceInterface {
30
+ Archive: damlTypes.Choice<WarrantIssuance, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<WarrantIssuance, undefined>>;
31
+ ArchiveByIssuer: damlTypes.Choice<WarrantIssuance, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<WarrantIssuance, undefined>>;
32
+ }
33
+ export declare const WarrantIssuance:
34
+ damlTypes.Template<WarrantIssuance, undefined, '#OpenCapTable-v19:Fairmint.OpenCapTable.WarrantIssuance:WarrantIssuance'> &
35
+ damlTypes.ToInterface<WarrantIssuance, never> &
36
+ WarrantIssuanceInterface;
37
+
38
+ export declare namespace WarrantIssuance {
39
+ export type CreateEvent = damlLedger.CreateEvent<WarrantIssuance, undefined, typeof WarrantIssuance.templateId>
40
+ export type ArchiveEvent = damlLedger.ArchiveEvent<WarrantIssuance, typeof WarrantIssuance.templateId>
41
+ export type Event = damlLedger.Event<WarrantIssuance, undefined, typeof WarrantIssuance.templateId>
42
+ export type QueryResult = damlLedger.QueryResult<WarrantIssuance, undefined, typeof WarrantIssuance.templateId>
43
+ }
44
+
45
+
46
+
47
+ export declare type OcfWarrantIssuanceData = {
48
+ ocf_id: string;
49
+ date: damlTypes.Time;
50
+ security_id: string;
51
+ custom_id: string;
52
+ stakeholder_id: string;
53
+ board_approval_date: damlTypes.Optional<damlTypes.Time>;
54
+ stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
55
+ consideration_text: damlTypes.Optional<string>;
56
+ security_law_exemptions: Fairmint_OpenCapTable_Types.OcfSecurityExemption[];
57
+ quantity: damlTypes.Numeric;
58
+ exercise_price: Fairmint_OpenCapTable_Types.OcfMonetary;
59
+ purchase_price: Fairmint_OpenCapTable_Types.OcfMonetary;
60
+ exercise_triggers: Fairmint_OpenCapTable_StockClass.OcfConversionTrigger[];
61
+ warrant_expiration_date: damlTypes.Optional<damlTypes.Time>;
62
+ vesting_terms_id: damlTypes.Optional<string>;
63
+ vestings: Fairmint_OpenCapTable_Types.OcfVesting[];
64
+ comments: string[];
65
+ };
66
+
67
+ export declare const OcfWarrantIssuanceData:
68
+ damlTypes.Serializable<OcfWarrantIssuanceData> & {
69
+ }
70
+ ;
71
+
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ /* eslint-disable-next-line no-unused-vars */
3
+ function __export(m) {
4
+ /* eslint-disable-next-line no-prototype-builtins */
5
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
+ }
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ /* eslint-disable-next-line no-unused-vars */
9
+ var jtv = require('@mojotech/json-type-validation');
10
+ /* eslint-disable-next-line no-unused-vars */
11
+ var damlTypes = require('@daml/types');
12
+ /* eslint-disable-next-line no-unused-vars */
13
+ var damlLedger = require('@daml/ledger');
14
+
15
+ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
16
+
17
+ var Fairmint_OpenCapTable_StockClass = require('../../../Fairmint/OpenCapTable/StockClass/module');
18
+ var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
19
+
20
+
21
+ exports.ArchiveByIssuer = {
22
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
23
+ encode: function (__typed__) {
24
+ return {
25
+ };
26
+ }
27
+ ,
28
+ };
29
+
30
+
31
+
32
+ exports.WarrantIssuance = damlTypes.assembleTemplate(
33
+ {
34
+ templateId: '#OpenCapTable-v19:Fairmint.OpenCapTable.WarrantIssuance:WarrantIssuance',
35
+ keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
36
+ keyEncode: function () { throw 'EncodeError'; },
37
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, issuance_data: exports.OcfWarrantIssuanceData.decoder, }); }),
38
+ encode: function (__typed__) {
39
+ return {
40
+ context: Fairmint_OpenCapTable_Types.Context.encode(__typed__.context),
41
+ issuance_data: exports.OcfWarrantIssuanceData.encode(__typed__.issuance_data),
42
+ };
43
+ }
44
+ ,
45
+ Archive: {
46
+ template: function () { return exports.WarrantIssuance; },
47
+ choiceName: 'Archive',
48
+ argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
49
+ argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
50
+ resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
51
+ resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
52
+ },
53
+ ArchiveByIssuer: {
54
+ template: function () { return exports.WarrantIssuance; },
55
+ choiceName: 'ArchiveByIssuer',
56
+ argumentDecoder: damlTypes.lazyMemo(function () { return exports.ArchiveByIssuer.decoder; }),
57
+ argumentEncode: function (__typed__) { return exports.ArchiveByIssuer.encode(__typed__); },
58
+ resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
59
+ resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
60
+ },
61
+ }
62
+
63
+ );
64
+
65
+
66
+ damlTypes.registerTemplate(exports.WarrantIssuance, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
67
+
68
+
69
+
70
+ exports.OcfWarrantIssuanceData = {
71
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({ocf_id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, security_id: damlTypes.Text.decoder, custom_id: damlTypes.Text.decoder, stakeholder_id: 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), consideration_text: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), security_law_exemptions: damlTypes.List(Fairmint_OpenCapTable_Types.OcfSecurityExemption).decoder, quantity: damlTypes.Numeric(10).decoder, exercise_price: Fairmint_OpenCapTable_Types.OcfMonetary.decoder, purchase_price: Fairmint_OpenCapTable_Types.OcfMonetary.decoder, exercise_triggers: damlTypes.List(Fairmint_OpenCapTable_StockClass.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), vestings: damlTypes.List(Fairmint_OpenCapTable_Types.OcfVesting).decoder, comments: damlTypes.List(damlTypes.Text).decoder, }); }),
72
+ encode: function (__typed__) {
73
+ return {
74
+ ocf_id: damlTypes.Text.encode(__typed__.ocf_id),
75
+ date: damlTypes.Time.encode(__typed__.date),
76
+ security_id: damlTypes.Text.encode(__typed__.security_id),
77
+ custom_id: damlTypes.Text.encode(__typed__.custom_id),
78
+ stakeholder_id: damlTypes.Text.encode(__typed__.stakeholder_id),
79
+ board_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.board_approval_date),
80
+ stockholder_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.stockholder_approval_date),
81
+ consideration_text: damlTypes.Optional(damlTypes.Text).encode(__typed__.consideration_text),
82
+ security_law_exemptions: damlTypes.List(Fairmint_OpenCapTable_Types.OcfSecurityExemption).encode(__typed__.security_law_exemptions),
83
+ quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
84
+ exercise_price: Fairmint_OpenCapTable_Types.OcfMonetary.encode(__typed__.exercise_price),
85
+ purchase_price: Fairmint_OpenCapTable_Types.OcfMonetary.encode(__typed__.purchase_price),
86
+ exercise_triggers: damlTypes.List(Fairmint_OpenCapTable_StockClass.OcfConversionTrigger).encode(__typed__.exercise_triggers),
87
+ warrant_expiration_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.warrant_expiration_date),
88
+ vesting_terms_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.vesting_terms_id),
89
+ vestings: damlTypes.List(Fairmint_OpenCapTable_Types.OcfVesting).encode(__typed__.vestings),
90
+ comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
91
+ };
92
+ }
93
+ ,
94
+ };
95
+
@@ -1,24 +1,40 @@
1
+ import * as ConvertibleIssuance from './ConvertibleIssuance';
2
+ export { ConvertibleIssuance } ;
1
3
  import * as Document from './Document';
2
4
  export { Document } ;
5
+ import * as EquityCompensationExercise from './EquityCompensationExercise';
6
+ export { EquityCompensationExercise } ;
7
+ import * as EquityCompensationIssuance from './EquityCompensationIssuance';
8
+ export { EquityCompensationIssuance } ;
3
9
  import * as Issuer from './Issuer';
4
10
  export { Issuer } ;
5
11
  import * as IssuerAuthorization from './IssuerAuthorization';
6
12
  export { IssuerAuthorization } ;
13
+ import * as IssuerAuthorizedSharesAdjustment from './IssuerAuthorizedSharesAdjustment';
14
+ export { IssuerAuthorizedSharesAdjustment } ;
7
15
  import * as OcpFactory from './OcpFactory';
8
16
  export { OcpFactory } ;
9
17
  import * as Stakeholder from './Stakeholder';
10
18
  export { Stakeholder } ;
19
+ import * as StockCancellation from './StockCancellation';
20
+ export { StockCancellation } ;
11
21
  import * as StockClass from './StockClass';
12
22
  export { StockClass } ;
23
+ import * as StockClassAuthorizedSharesAdjustment from './StockClassAuthorizedSharesAdjustment';
24
+ export { StockClassAuthorizedSharesAdjustment } ;
13
25
  import * as StockIssuance from './StockIssuance';
14
26
  export { StockIssuance } ;
15
27
  import * as StockLegendTemplate from './StockLegendTemplate';
16
28
  export { StockLegendTemplate } ;
17
29
  import * as StockPlan from './StockPlan';
18
30
  export { StockPlan } ;
31
+ import * as StockPlanPoolAdjustment from './StockPlanPoolAdjustment';
32
+ export { StockPlanPoolAdjustment } ;
19
33
  import * as Types from './Types';
20
34
  export { Types } ;
21
35
  import * as Valuation from './Valuation';
22
36
  export { Valuation } ;
23
37
  import * as VestingTerms from './VestingTerms';
24
38
  export { VestingTerms } ;
39
+ import * as WarrantIssuance from './WarrantIssuance';
40
+ export { WarrantIssuance } ;
@@ -5,27 +5,43 @@ function __export(m) {
5
5
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
6
  }
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
+ var ConvertibleIssuance = require('./ConvertibleIssuance');
9
+ exports.ConvertibleIssuance = ConvertibleIssuance;
8
10
  var Document = require('./Document');
9
11
  exports.Document = Document;
12
+ var EquityCompensationExercise = require('./EquityCompensationExercise');
13
+ exports.EquityCompensationExercise = EquityCompensationExercise;
14
+ var EquityCompensationIssuance = require('./EquityCompensationIssuance');
15
+ exports.EquityCompensationIssuance = EquityCompensationIssuance;
10
16
  var Issuer = require('./Issuer');
11
17
  exports.Issuer = Issuer;
12
18
  var IssuerAuthorization = require('./IssuerAuthorization');
13
19
  exports.IssuerAuthorization = IssuerAuthorization;
20
+ var IssuerAuthorizedSharesAdjustment = require('./IssuerAuthorizedSharesAdjustment');
21
+ exports.IssuerAuthorizedSharesAdjustment = IssuerAuthorizedSharesAdjustment;
14
22
  var OcpFactory = require('./OcpFactory');
15
23
  exports.OcpFactory = OcpFactory;
16
24
  var Stakeholder = require('./Stakeholder');
17
25
  exports.Stakeholder = Stakeholder;
26
+ var StockCancellation = require('./StockCancellation');
27
+ exports.StockCancellation = StockCancellation;
18
28
  var StockClass = require('./StockClass');
19
29
  exports.StockClass = StockClass;
30
+ var StockClassAuthorizedSharesAdjustment = require('./StockClassAuthorizedSharesAdjustment');
31
+ exports.StockClassAuthorizedSharesAdjustment = StockClassAuthorizedSharesAdjustment;
20
32
  var StockIssuance = require('./StockIssuance');
21
33
  exports.StockIssuance = StockIssuance;
22
34
  var StockLegendTemplate = require('./StockLegendTemplate');
23
35
  exports.StockLegendTemplate = StockLegendTemplate;
24
36
  var StockPlan = require('./StockPlan');
25
37
  exports.StockPlan = StockPlan;
38
+ var StockPlanPoolAdjustment = require('./StockPlanPoolAdjustment');
39
+ exports.StockPlanPoolAdjustment = StockPlanPoolAdjustment;
26
40
  var Types = require('./Types');
27
41
  exports.Types = Types;
28
42
  var Valuation = require('./Valuation');
29
43
  exports.Valuation = Valuation;
30
44
  var VestingTerms = require('./VestingTerms');
31
45
  exports.VestingTerms = VestingTerms;
46
+ var WarrantIssuance = require('./WarrantIssuance');
47
+ exports.WarrantIssuance = WarrantIssuance;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairmint/open-captable-protocol-daml-js",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Open CapTable Protocol DAML smart contracts with generated JavaScript bindings.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "build": "daml build --all",
35
35
  "build:ts": "tsc",
36
36
  "clean": "daml clean --all",
37
- "codegen": "npm run build && cd OpenCapTable-v18 && daml codegen js && cd .. && cd OpenCapTableShared-v01 && daml codegen js && cd .. && cd OpenCapTableReports-v01 && daml codegen js && cd .. && tsx scripts/bundle-dependencies.ts && tsx scripts/create-package-index.ts && tsx scripts/create-root-index.ts && npm run build:ts",
37
+ "codegen": "npm run build && cd OpenCapTable-v19 && daml codegen js && cd .. && cd OpenCapTableShared-v01 && daml codegen js && cd .. && cd OpenCapTableReports-v01 && daml codegen js && cd .. && tsx scripts/bundle-dependencies.ts && tsx scripts/create-package-index.ts && tsx scripts/create-root-index.ts && npm run build:ts",
38
38
  "test": "cd Test && daml test",
39
39
  "test:imports": "tsx scripts/test-imports.ts",
40
40
  "upload-dar:ocp": "npm run build && ts-node scripts/upload-dar.ts --network devnet && ts-node scripts/upload-dar.ts --network mainnet",