@fairmint/open-captable-protocol-daml-js 0.2.111 → 0.2.113

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 (141) hide show
  1. package/OpenCapTable-v29/.daml/dist/OpenCapTable-v29-0.0.1.dar +0 -0
  2. package/lib/CantonPayments/Airdrop/Airdrop/module.js +2 -2
  3. package/lib/CantonPayments/Airdrop/AirdropFactory/module.js +2 -2
  4. package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.js +2 -2
  5. package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.js +2 -2
  6. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +4 -4
  7. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +2 -2
  8. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +2 -2
  9. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +2 -2
  10. package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +2 -2
  11. package/lib/Fairmint/OpenCapTable/CapTable/module.js +5 -5
  12. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +2 -2
  13. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +5 -5
  14. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +2 -2
  15. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +5 -5
  16. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +4 -3
  17. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +8 -7
  18. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +4 -3
  19. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +8 -7
  20. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +10 -7
  21. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +15 -12
  22. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +2 -2
  23. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +5 -5
  24. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +4 -3
  25. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +8 -7
  26. package/lib/Fairmint/OpenCapTable/OCF/Document/module.d.ts +2 -2
  27. package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +5 -5
  28. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +2 -2
  29. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +5 -5
  30. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +2 -2
  31. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +5 -5
  32. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +2 -2
  33. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +5 -5
  34. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +11 -8
  35. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +15 -12
  36. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +4 -3
  37. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +8 -7
  38. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +4 -3
  39. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +8 -7
  40. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +2 -2
  41. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +5 -5
  42. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +2 -2
  43. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +5 -5
  44. package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +10 -7
  45. package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +14 -11
  46. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +2 -2
  47. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +5 -5
  48. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.d.ts +12 -9
  49. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +18 -15
  50. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +5 -4
  51. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +9 -8
  52. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +2 -2
  53. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +5 -5
  54. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +2 -2
  55. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +5 -5
  56. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +2 -2
  57. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +5 -5
  58. package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +10 -7
  59. package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +14 -11
  60. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +2 -2
  61. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +5 -5
  62. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +4 -3
  63. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +8 -7
  64. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +4 -3
  65. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +8 -7
  66. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +2 -2
  67. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +5 -5
  68. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +2 -2
  69. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +5 -5
  70. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +10 -7
  71. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +14 -11
  72. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +2 -2
  73. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +5 -5
  74. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.d.ts +2 -2
  75. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +5 -5
  76. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +2 -2
  77. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +5 -5
  78. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +2 -2
  79. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +5 -5
  80. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +2 -2
  81. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +5 -5
  82. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +4 -3
  83. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +8 -7
  84. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +2 -2
  85. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +5 -5
  86. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +2 -2
  87. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +5 -5
  88. package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +4 -3
  89. package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +8 -7
  90. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +2 -2
  91. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +5 -5
  92. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +2 -2
  93. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +5 -5
  94. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +2 -2
  95. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +5 -5
  96. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.d.ts +2 -2
  97. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +5 -5
  98. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +2 -2
  99. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +5 -5
  100. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +2 -2
  101. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +5 -5
  102. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +2 -2
  103. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +5 -5
  104. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +12 -8
  105. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +16 -12
  106. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +2 -2
  107. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +5 -5
  108. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +2 -2
  109. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +5 -5
  110. package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
  111. package/lib/Fairmint/OpenCapTable/Types/Contact/index.d.ts +1 -0
  112. package/lib/Fairmint/OpenCapTable/Types/Contact/index.js +8 -0
  113. package/lib/Fairmint/OpenCapTable/Types/Contact/module.d.ts +55 -0
  114. package/lib/Fairmint/OpenCapTable/Types/Contact/module.js +60 -0
  115. package/lib/Fairmint/OpenCapTable/Types/Conversion/index.d.ts +1 -0
  116. package/lib/Fairmint/OpenCapTable/Types/Conversion/index.js +8 -0
  117. package/lib/Fairmint/OpenCapTable/Types/{module.d.ts → Conversion/module.d.ts} +88 -445
  118. package/lib/Fairmint/OpenCapTable/Types/{module.js → Conversion/module.js} +93 -457
  119. package/lib/Fairmint/OpenCapTable/Types/Core/index.d.ts +1 -0
  120. package/lib/Fairmint/OpenCapTable/Types/Core/index.js +8 -0
  121. package/lib/Fairmint/OpenCapTable/Types/Core/module.d.ts +28 -0
  122. package/lib/Fairmint/OpenCapTable/Types/Core/module.js +37 -0
  123. package/lib/Fairmint/OpenCapTable/Types/Monetary/index.d.ts +1 -0
  124. package/lib/Fairmint/OpenCapTable/Types/Monetary/index.js +8 -0
  125. package/lib/Fairmint/OpenCapTable/Types/Monetary/module.d.ts +56 -0
  126. package/lib/Fairmint/OpenCapTable/Types/Monetary/module.js +65 -0
  127. package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.d.ts +1 -0
  128. package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.js +8 -0
  129. package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.d.ts +29 -0
  130. package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.js +32 -0
  131. package/lib/Fairmint/OpenCapTable/Types/Stock/index.d.ts +1 -0
  132. package/lib/Fairmint/OpenCapTable/Types/Stock/index.js +8 -0
  133. package/lib/Fairmint/OpenCapTable/Types/Stock/module.d.ts +135 -0
  134. package/lib/Fairmint/OpenCapTable/Types/Stock/module.js +141 -0
  135. package/lib/Fairmint/OpenCapTable/Types/Vesting/index.d.ts +1 -0
  136. package/lib/Fairmint/OpenCapTable/Types/Vesting/index.js +8 -0
  137. package/lib/Fairmint/OpenCapTable/Types/Vesting/module.d.ts +95 -0
  138. package/lib/Fairmint/OpenCapTable/Types/Vesting/module.js +100 -0
  139. package/lib/Fairmint/OpenCapTable/Types/index.d.ts +14 -1
  140. package/lib/Fairmint/OpenCapTable/Types/index.js +14 -1
  141. package/package.json +1 -1
@@ -0,0 +1,95 @@
1
+ // Generated from Fairmint/OpenCapTable/Types/Vesting.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
+
8
+ import * as Fairmint_OpenCapTable_Types_Monetary from '../../../../Fairmint/OpenCapTable/Types/Monetary/module';
9
+
10
+ export declare type OcfEquityCompensationIssuanceData = {
11
+ compensation_type: OcfCompensationType;
12
+ quantity: damlTypes.Numeric;
13
+ comments: string[];
14
+ termination_exercise_windows: OcfTerminationWindow[];
15
+ vestings: OcfVesting[];
16
+ base_price: damlTypes.Optional<Fairmint_OpenCapTable_Types_Monetary.OcfMonetary>;
17
+ early_exercisable: damlTypes.Optional<boolean>;
18
+ exercise_price: damlTypes.Optional<Fairmint_OpenCapTable_Types_Monetary.OcfMonetary>;
19
+ expiration_date: damlTypes.Optional<damlTypes.Time>;
20
+ };
21
+
22
+ export declare const OcfEquityCompensationIssuanceData:
23
+ damlTypes.Serializable<OcfEquityCompensationIssuanceData> & {
24
+ }
25
+ ;
26
+
27
+
28
+ export declare type OcfCompensationType =
29
+ | 'OcfCompensationTypeOptionNSO'
30
+ | 'OcfCompensationTypeOptionISO'
31
+ | 'OcfCompensationTypeOption'
32
+ | 'OcfCompensationTypeRSU'
33
+ | 'OcfCompensationTypeCSAR'
34
+ | 'OcfCompensationTypeSSAR'
35
+ ;
36
+
37
+ export declare const OcfCompensationType:
38
+ damlTypes.Serializable<OcfCompensationType> & {
39
+ }
40
+ & { readonly keys: OcfCompensationType[] } & { readonly [e in OcfCompensationType]: e }
41
+ ;
42
+
43
+
44
+ export declare type OcfVesting = {
45
+ amount: damlTypes.Numeric;
46
+ date: damlTypes.Time;
47
+ };
48
+
49
+ export declare const OcfVesting:
50
+ damlTypes.Serializable<OcfVesting> & {
51
+ }
52
+ ;
53
+
54
+
55
+ export declare type OcfTerminationWindow = {
56
+ period: damlTypes.Int;
57
+ period_type: OcfPeriodType;
58
+ reason: OcfTerminationWindowType;
59
+ };
60
+
61
+ export declare const OcfTerminationWindow:
62
+ damlTypes.Serializable<OcfTerminationWindow> & {
63
+ }
64
+ ;
65
+
66
+
67
+ export declare type OcfTerminationWindowType =
68
+ | 'OcfTermVoluntaryOther'
69
+ | 'OcfTermVoluntaryGoodCause'
70
+ | 'OcfTermVoluntaryRetirement'
71
+ | 'OcfTermInvoluntaryOther'
72
+ | 'OcfTermInvoluntaryDeath'
73
+ | 'OcfTermInvoluntaryDisability'
74
+ | 'OcfTermInvoluntaryWithCause'
75
+ ;
76
+
77
+ export declare const OcfTerminationWindowType:
78
+ damlTypes.Serializable<OcfTerminationWindowType> & {
79
+ }
80
+ & { readonly keys: OcfTerminationWindowType[] } & { readonly [e in OcfTerminationWindowType]: e }
81
+ ;
82
+
83
+
84
+ export declare type OcfPeriodType =
85
+ | 'OcfPeriodDays'
86
+ | 'OcfPeriodMonths'
87
+ | 'OcfPeriodYears'
88
+ ;
89
+
90
+ export declare const OcfPeriodType:
91
+ damlTypes.Serializable<OcfPeriodType> & {
92
+ }
93
+ & { readonly keys: OcfPeriodType[] } & { readonly [e in OcfPeriodType]: e }
94
+ ;
95
+
@@ -0,0 +1,100 @@
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
+
13
+ var Fairmint_OpenCapTable_Types_Monetary = require('../../../../Fairmint/OpenCapTable/Types/Monetary/module');
14
+
15
+
16
+ exports.OcfEquityCompensationIssuanceData = {
17
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({compensation_type: exports.OcfCompensationType.decoder, quantity: damlTypes.Numeric(10).decoder, comments: damlTypes.List(damlTypes.Text).decoder, termination_exercise_windows: damlTypes.List(exports.OcfTerminationWindow).decoder, vestings: damlTypes.List(exports.OcfVesting).decoder, base_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder), early_exercisable: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder), exercise_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder), expiration_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), }); }),
18
+ encode: function (__typed__) {
19
+ return {
20
+ compensation_type: exports.OcfCompensationType.encode(__typed__.compensation_type),
21
+ quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
22
+ comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
23
+ termination_exercise_windows: damlTypes.List(exports.OcfTerminationWindow).encode(__typed__.termination_exercise_windows),
24
+ vestings: damlTypes.List(exports.OcfVesting).encode(__typed__.vestings),
25
+ base_price: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.base_price),
26
+ early_exercisable: damlTypes.Optional(damlTypes.Bool).encode(__typed__.early_exercisable),
27
+ exercise_price: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.exercise_price),
28
+ expiration_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.expiration_date),
29
+ };
30
+ }
31
+ ,
32
+ };
33
+
34
+
35
+
36
+ exports.OcfCompensationType = {
37
+ OcfCompensationTypeOptionNSO: 'OcfCompensationTypeOptionNSO',
38
+ OcfCompensationTypeOptionISO: 'OcfCompensationTypeOptionISO',
39
+ OcfCompensationTypeOption: 'OcfCompensationTypeOption',
40
+ OcfCompensationTypeRSU: 'OcfCompensationTypeRSU',
41
+ OcfCompensationTypeCSAR: 'OcfCompensationTypeCSAR',
42
+ OcfCompensationTypeSSAR: 'OcfCompensationTypeSSAR',
43
+ keys: ['OcfCompensationTypeOptionNSO','OcfCompensationTypeOptionISO','OcfCompensationTypeOption','OcfCompensationTypeRSU','OcfCompensationTypeCSAR','OcfCompensationTypeSSAR',],
44
+ decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfCompensationType.OcfCompensationTypeOptionNSO), jtv.constant(exports.OcfCompensationType.OcfCompensationTypeOptionISO), jtv.constant(exports.OcfCompensationType.OcfCompensationTypeOption), jtv.constant(exports.OcfCompensationType.OcfCompensationTypeRSU), jtv.constant(exports.OcfCompensationType.OcfCompensationTypeCSAR), jtv.constant(exports.OcfCompensationType.OcfCompensationTypeSSAR)); }),
45
+ encode: function (__typed__) { return __typed__; },
46
+ };
47
+
48
+
49
+
50
+ exports.OcfVesting = {
51
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({amount: damlTypes.Numeric(10).decoder, date: damlTypes.Time.decoder, }); }),
52
+ encode: function (__typed__) {
53
+ return {
54
+ amount: damlTypes.Numeric(10).encode(__typed__.amount),
55
+ date: damlTypes.Time.encode(__typed__.date),
56
+ };
57
+ }
58
+ ,
59
+ };
60
+
61
+
62
+
63
+ exports.OcfTerminationWindow = {
64
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({period: damlTypes.Int.decoder, period_type: exports.OcfPeriodType.decoder, reason: exports.OcfTerminationWindowType.decoder, }); }),
65
+ encode: function (__typed__) {
66
+ return {
67
+ period: damlTypes.Int.encode(__typed__.period),
68
+ period_type: exports.OcfPeriodType.encode(__typed__.period_type),
69
+ reason: exports.OcfTerminationWindowType.encode(__typed__.reason),
70
+ };
71
+ }
72
+ ,
73
+ };
74
+
75
+
76
+
77
+ exports.OcfTerminationWindowType = {
78
+ OcfTermVoluntaryOther: 'OcfTermVoluntaryOther',
79
+ OcfTermVoluntaryGoodCause: 'OcfTermVoluntaryGoodCause',
80
+ OcfTermVoluntaryRetirement: 'OcfTermVoluntaryRetirement',
81
+ OcfTermInvoluntaryOther: 'OcfTermInvoluntaryOther',
82
+ OcfTermInvoluntaryDeath: 'OcfTermInvoluntaryDeath',
83
+ OcfTermInvoluntaryDisability: 'OcfTermInvoluntaryDisability',
84
+ OcfTermInvoluntaryWithCause: 'OcfTermInvoluntaryWithCause',
85
+ keys: ['OcfTermVoluntaryOther','OcfTermVoluntaryGoodCause','OcfTermVoluntaryRetirement','OcfTermInvoluntaryOther','OcfTermInvoluntaryDeath','OcfTermInvoluntaryDisability','OcfTermInvoluntaryWithCause',],
86
+ decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfTerminationWindowType.OcfTermVoluntaryOther), jtv.constant(exports.OcfTerminationWindowType.OcfTermVoluntaryGoodCause), jtv.constant(exports.OcfTerminationWindowType.OcfTermVoluntaryRetirement), jtv.constant(exports.OcfTerminationWindowType.OcfTermInvoluntaryOther), jtv.constant(exports.OcfTerminationWindowType.OcfTermInvoluntaryDeath), jtv.constant(exports.OcfTerminationWindowType.OcfTermInvoluntaryDisability), jtv.constant(exports.OcfTerminationWindowType.OcfTermInvoluntaryWithCause)); }),
87
+ encode: function (__typed__) { return __typed__; },
88
+ };
89
+
90
+
91
+
92
+ exports.OcfPeriodType = {
93
+ OcfPeriodDays: 'OcfPeriodDays',
94
+ OcfPeriodMonths: 'OcfPeriodMonths',
95
+ OcfPeriodYears: 'OcfPeriodYears',
96
+ keys: ['OcfPeriodDays','OcfPeriodMonths','OcfPeriodYears',],
97
+ decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfPeriodType.OcfPeriodDays), jtv.constant(exports.OcfPeriodType.OcfPeriodMonths), jtv.constant(exports.OcfPeriodType.OcfPeriodYears)); }),
98
+ encode: function (__typed__) { return __typed__; },
99
+ };
100
+
@@ -1 +1,14 @@
1
- export * from './module';
1
+ import * as Contact from './Contact';
2
+ export { Contact } ;
3
+ import * as Conversion from './Conversion';
4
+ export { Conversion } ;
5
+ import * as Core from './Core';
6
+ export { Core } ;
7
+ import * as Monetary from './Monetary';
8
+ export { Monetary } ;
9
+ import * as Stakeholder from './Stakeholder';
10
+ export { Stakeholder } ;
11
+ import * as Stock from './Stock';
12
+ export { Stock } ;
13
+ import * as Vesting from './Vesting';
14
+ export { Vesting } ;
@@ -5,4 +5,17 @@ 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
- __export(require('./module'));
8
+ var Contact = require('./Contact');
9
+ exports.Contact = Contact;
10
+ var Conversion = require('./Conversion');
11
+ exports.Conversion = Conversion;
12
+ var Core = require('./Core');
13
+ exports.Core = Core;
14
+ var Monetary = require('./Monetary');
15
+ exports.Monetary = Monetary;
16
+ var Stakeholder = require('./Stakeholder');
17
+ exports.Stakeholder = Stakeholder;
18
+ var Stock = require('./Stock');
19
+ exports.Stock = Stock;
20
+ var Vesting = require('./Vesting');
21
+ exports.Vesting = Vesting;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairmint/open-captable-protocol-daml-js",
3
- "version": "0.2.111",
3
+ "version": "0.2.113",
4
4
  "description": "Open CapTable Protocol DAML smart contracts with generated JavaScript bindings.",
5
5
  "keywords": [
6
6
  "daml",