@fairmint/open-captable-protocol-daml-js 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/DA/Internal/Template/module.d.ts +6 -4
- package/lib/DA/Internal/Template/module.js +7 -7
- package/lib/DA/Set/Types/index.js +0 -1
- package/lib/DA/Set/Types/module.d.ts +7 -6
- package/lib/DA/Set/Types/module.js +11 -15
- package/lib/DA/Set/index.d.ts +1 -2
- package/lib/DA/Set/index.js +0 -2
- package/lib/DA/Time/Types/index.js +0 -1
- package/lib/DA/Time/Types/module.d.ts +7 -5
- package/lib/DA/Time/Types/module.js +8 -10
- package/lib/DA/Time/index.d.ts +1 -2
- package/lib/DA/Time/index.js +0 -2
- package/lib/DA/Types/index.js +0 -1
- package/lib/DA/Types/module.d.ts +344 -305
- package/lib/DA/Types/module.js +431 -689
- package/lib/Fairmint/OpenCapTable/CapTable/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +358 -336
- package/lib/Fairmint/OpenCapTable/CapTable/module.js +406 -1286
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +25 -21
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +59 -71
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +28 -23
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +46 -61
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +50 -42
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +68 -97
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/Document/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.d.ts +51 -39
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +64 -134
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +39 -34
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +57 -83
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +27 -22
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +45 -59
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +31 -26
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +49 -67
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.d.ts +76 -54
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +95 -132
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +24 -19
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +42 -53
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +33 -28
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +51 -71
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +24 -19
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +42 -53
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +44 -35
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +60 -88
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.d.ts +32 -23
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +48 -66
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +33 -24
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +49 -65
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +24 -19
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +42 -53
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.d.ts +119 -86
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +157 -252
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +36 -31
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +54 -77
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/index.d.ts +48 -49
- package/lib/Fairmint/OpenCapTable/OCF/index.js +47 -49
- package/lib/Fairmint/OpenCapTable/OcpFactory/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +18 -15
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +41 -50
- package/lib/Fairmint/OpenCapTable/Types/Contact/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.d.ts +27 -14
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.js +26 -40
- package/lib/Fairmint/OpenCapTable/Types/Conversion/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Conversion/module.d.ts +361 -252
- package/lib/Fairmint/OpenCapTable/Types/Conversion/module.js +396 -602
- package/lib/Fairmint/OpenCapTable/Types/Core/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Core/module.d.ts +18 -13
- package/lib/Fairmint/OpenCapTable/Types/Core/module.js +20 -25
- package/lib/Fairmint/OpenCapTable/Types/Monetary/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.d.ts +35 -23
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.js +37 -52
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.d.ts +7 -4
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.js +4 -19
- package/lib/Fairmint/OpenCapTable/Types/Stock/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.d.ts +90 -56
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.js +86 -132
- package/lib/Fairmint/OpenCapTable/Types/Vesting/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.d.ts +57 -37
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.js +56 -90
- package/lib/Fairmint/OpenCapTable/Types/index.d.ts +7 -8
- package/lib/Fairmint/OpenCapTable/Types/index.js +6 -8
- package/lib/Fairmint/OpenCapTable/index.d.ts +5 -6
- package/lib/Fairmint/OpenCapTable/index.js +4 -6
- package/lib/Splice/Amulet/TokenApiUtils/index.js +0 -1
- package/lib/Splice/Amulet/TokenApiUtils/module.d.ts +7 -4
- package/lib/Splice/Amulet/TokenApiUtils/module.js +4 -12
- package/lib/Splice/Amulet/TwoStepTransfer/index.js +0 -1
- package/lib/Splice/Amulet/TwoStepTransfer/module.d.ts +15 -13
- package/lib/Splice/Amulet/TwoStepTransfer/module.js +16 -26
- package/lib/Splice/Amulet/index.d.ts +2 -4
- package/lib/Splice/Amulet/index.js +1 -4
- package/lib/Splice/Amulet/module.d.ts +487 -370
- package/lib/Splice/Amulet/module.js +817 -996
- package/lib/Splice/AmuletAllocation/index.js +0 -1
- package/lib/Splice/AmuletAllocation/module.d.ts +11 -9
- package/lib/Splice/AmuletAllocation/module.js +26 -31
- package/lib/Splice/AmuletConfig/index.js +0 -1
- package/lib/Splice/AmuletConfig/module.d.ts +56 -42
- package/lib/Splice/AmuletConfig/module.js +62 -93
- package/lib/Splice/AmuletRules/index.js +0 -1
- package/lib/Splice/AmuletRules/module.d.ts +875 -682
- package/lib/Splice/AmuletRules/module.js +1274 -1689
- package/lib/Splice/AmuletTransferInstruction/index.js +0 -1
- package/lib/Splice/AmuletTransferInstruction/module.d.ts +11 -9
- package/lib/Splice/AmuletTransferInstruction/module.js +26 -31
- package/lib/Splice/Api/FeaturedAppRightV1/module.d.ts +50 -40
- package/lib/Splice/Api/FeaturedAppRightV1/module.js +61 -84
- package/lib/Splice/Api/FeaturedAppRightV2/index.js +0 -1
- package/lib/Splice/Api/FeaturedAppRightV2/module.d.ts +51 -41
- package/lib/Splice/Api/FeaturedAppRightV2/module.js +62 -86
- package/lib/Splice/Api/Token/AllocationInstructionV1/index.js +0 -1
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +99 -82
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +142 -202
- package/lib/Splice/Api/Token/AllocationV1/index.js +0 -1
- package/lib/Splice/Api/Token/AllocationV1/module.d.ts +109 -84
- package/lib/Splice/Api/Token/AllocationV1/module.js +139 -185
- package/lib/Splice/Api/Token/HoldingV1/index.js +0 -1
- package/lib/Splice/Api/Token/HoldingV1/module.d.ts +34 -27
- package/lib/Splice/Api/Token/HoldingV1/module.js +39 -55
- package/lib/Splice/Api/Token/MetadataV1/index.js +0 -1
- package/lib/Splice/Api/Token/MetadataV1/module.d.ts +60 -44
- package/lib/Splice/Api/Token/MetadataV1/module.js +70 -123
- package/lib/Splice/Api/Token/TransferInstructionV1/index.js +0 -1
- package/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +137 -112
- package/lib/Splice/Api/Token/TransferInstructionV1/module.js +195 -278
- package/lib/Splice/DecentralizedSynchronizer/index.js +0 -1
- package/lib/Splice/DecentralizedSynchronizer/module.d.ts +58 -44
- package/lib/Splice/DecentralizedSynchronizer/module.js +79 -103
- package/lib/Splice/Expiry/index.js +0 -1
- package/lib/Splice/Expiry/module.d.ts +18 -14
- package/lib/Splice/Expiry/module.js +23 -37
- package/lib/Splice/ExternalPartyAmuletRules/index.js +0 -1
- package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +147 -116
- package/lib/Splice/ExternalPartyAmuletRules/module.js +242 -307
- package/lib/Splice/Fees/index.js +0 -1
- package/lib/Splice/Fees/module.d.ts +40 -26
- package/lib/Splice/Fees/module.js +48 -57
- package/lib/Splice/Issuance/index.js +0 -1
- package/lib/Splice/Issuance/module.d.ts +50 -39
- package/lib/Splice/Issuance/module.js +56 -82
- package/lib/Splice/RelRound/index.js +0 -1
- package/lib/Splice/RelRound/module.d.ts +7 -5
- package/lib/Splice/RelRound/module.js +8 -10
- package/lib/Splice/Round/index.js +0 -1
- package/lib/Splice/Round/module.d.ts +78 -66
- package/lib/Splice/Round/module.js +142 -186
- package/lib/Splice/Schedule/index.js +0 -1
- package/lib/Splice/Schedule/module.d.ts +8 -7
- package/lib/Splice/Schedule/module.js +12 -17
- package/lib/Splice/Types/index.js +0 -1
- package/lib/Splice/Types/module.d.ts +31 -20
- package/lib/Splice/Types/module.js +37 -44
- package/lib/Splice/ValidatorLicense/index.js +0 -1
- package/lib/Splice/ValidatorLicense/module.d.ts +195 -145
- package/lib/Splice/ValidatorLicense/module.js +310 -388
- package/package.json +7 -7
- package/published-dars/OpenCapTable.dar +0 -0
|
@@ -5,24 +5,11 @@ 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
|
-
|
|
9
8
|
/* eslint-disable-next-line no-unused-vars */
|
|
10
9
|
var jtv = require('@mojotech/json-type-validation');
|
|
11
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
12
11
|
var damlTypes = require('@daml/types');
|
|
13
12
|
|
|
14
|
-
exports.OcfAuthorizedShares = {
|
|
15
|
-
OcfAuthorizedSharesNotApplicable: 'OcfAuthorizedSharesNotApplicable',
|
|
16
|
-
OcfAuthorizedSharesUnlimited: 'OcfAuthorizedSharesUnlimited',
|
|
17
|
-
keys: ['OcfAuthorizedSharesNotApplicable', 'OcfAuthorizedSharesUnlimited'],
|
|
18
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
19
|
-
return jtv.oneOf(
|
|
20
|
-
jtv.constant(exports.OcfAuthorizedShares.OcfAuthorizedSharesNotApplicable),
|
|
21
|
-
jtv.constant(exports.OcfAuthorizedShares.OcfAuthorizedSharesUnlimited),
|
|
22
|
-
);
|
|
23
|
-
}),
|
|
24
|
-
encode: function (__typed__) { return __typed__; },
|
|
25
|
-
};
|
|
26
13
|
|
|
27
14
|
exports.OcfFileType = {
|
|
28
15
|
OcfManifestFile: 'OcfManifestFile',
|
|
@@ -35,62 +22,12 @@ exports.OcfFileType = {
|
|
|
35
22
|
OcfVestingTermsFile: 'OcfVestingTermsFile',
|
|
36
23
|
OcfFinancingsFile: 'OcfFinancingsFile',
|
|
37
24
|
OcfDocumentsFile: 'OcfDocumentsFile',
|
|
38
|
-
keys: ['OcfManifestFile',
|
|
39
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
40
|
-
return jtv.oneOf(
|
|
41
|
-
jtv.constant(exports.OcfFileType.OcfManifestFile),
|
|
42
|
-
jtv.constant(exports.OcfFileType.OcfStakeholdersFile),
|
|
43
|
-
jtv.constant(exports.OcfFileType.OcfStockClassesFile),
|
|
44
|
-
jtv.constant(exports.OcfFileType.OcfStockLegendTemplatesFile),
|
|
45
|
-
jtv.constant(exports.OcfFileType.OcfStockPlansFile),
|
|
46
|
-
jtv.constant(exports.OcfFileType.OcfTransactionsFile),
|
|
47
|
-
jtv.constant(exports.OcfFileType.OcfValuationsFile),
|
|
48
|
-
jtv.constant(exports.OcfFileType.OcfVestingTermsFile),
|
|
49
|
-
jtv.constant(exports.OcfFileType.OcfFinancingsFile),
|
|
50
|
-
jtv.constant(exports.OcfFileType.OcfDocumentsFile),
|
|
51
|
-
);
|
|
52
|
-
}),
|
|
25
|
+
keys: ['OcfManifestFile','OcfStakeholdersFile','OcfStockClassesFile','OcfStockLegendTemplatesFile','OcfStockPlansFile','OcfTransactionsFile','OcfValuationsFile','OcfVestingTermsFile','OcfFinancingsFile','OcfDocumentsFile',],
|
|
26
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfFileType.OcfManifestFile), jtv.constant(exports.OcfFileType.OcfStakeholdersFile), jtv.constant(exports.OcfFileType.OcfStockClassesFile), jtv.constant(exports.OcfFileType.OcfStockLegendTemplatesFile), jtv.constant(exports.OcfFileType.OcfStockPlansFile), jtv.constant(exports.OcfFileType.OcfTransactionsFile), jtv.constant(exports.OcfFileType.OcfValuationsFile), jtv.constant(exports.OcfFileType.OcfVestingTermsFile), jtv.constant(exports.OcfFileType.OcfFinancingsFile), jtv.constant(exports.OcfFileType.OcfDocumentsFile)); }),
|
|
53
27
|
encode: function (__typed__) { return __typed__; },
|
|
54
28
|
};
|
|
55
29
|
|
|
56
|
-
exports.OcfInitialSharesAuthorized = {
|
|
57
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
58
|
-
return jtv.oneOf(
|
|
59
|
-
jtv.object({
|
|
60
|
-
tag: jtv.constant("OcfInitialSharesNumeric"),
|
|
61
|
-
value: damlTypes.Numeric(10).decoder,
|
|
62
|
-
}),
|
|
63
|
-
jtv.object({
|
|
64
|
-
tag: jtv.constant("OcfInitialSharesEnum"),
|
|
65
|
-
value: exports.OcfAuthorizedShares.decoder,
|
|
66
|
-
}),
|
|
67
|
-
);
|
|
68
|
-
}),
|
|
69
|
-
encode: function (__typed__) {
|
|
70
|
-
switch(__typed__.tag) {
|
|
71
|
-
case 'OcfInitialSharesNumeric': return {tag: __typed__.tag, value: damlTypes.Numeric(10).encode(__typed__.value)};
|
|
72
|
-
case 'OcfInitialSharesEnum': return {tag: __typed__.tag, value: exports.OcfAuthorizedShares.encode(__typed__.value)};
|
|
73
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfInitialSharesAuthorized';
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
};
|
|
77
30
|
|
|
78
|
-
exports.OcfParentSecurityType = {
|
|
79
|
-
OcfParentStockPlan: 'OcfParentStockPlan',
|
|
80
|
-
OcfParentStock: 'OcfParentStock',
|
|
81
|
-
OcfParentWarrant: 'OcfParentWarrant',
|
|
82
|
-
OcfParentConvertible: 'OcfParentConvertible',
|
|
83
|
-
keys: ['OcfParentStockPlan', 'OcfParentStock', 'OcfParentWarrant', 'OcfParentConvertible'],
|
|
84
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
85
|
-
return jtv.oneOf(
|
|
86
|
-
jtv.constant(exports.OcfParentSecurityType.OcfParentStockPlan),
|
|
87
|
-
jtv.constant(exports.OcfParentSecurityType.OcfParentStock),
|
|
88
|
-
jtv.constant(exports.OcfParentSecurityType.OcfParentWarrant),
|
|
89
|
-
jtv.constant(exports.OcfParentSecurityType.OcfParentConvertible),
|
|
90
|
-
);
|
|
91
|
-
}),
|
|
92
|
-
encode: function (__typed__) { return __typed__; },
|
|
93
|
-
};
|
|
94
31
|
|
|
95
32
|
exports.OcfQuantitySourceType = {
|
|
96
33
|
OcfQuantityHumanEstimated: 'OcfQuantityHumanEstimated',
|
|
@@ -99,89 +36,106 @@ exports.OcfQuantitySourceType = {
|
|
|
99
36
|
OcfQuantityInstrumentFixed: 'OcfQuantityInstrumentFixed',
|
|
100
37
|
OcfQuantityInstrumentMax: 'OcfQuantityInstrumentMax',
|
|
101
38
|
OcfQuantityInstrumentMin: 'OcfQuantityInstrumentMin',
|
|
102
|
-
keys: ['OcfQuantityHumanEstimated',
|
|
103
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
104
|
-
return jtv.oneOf(
|
|
105
|
-
jtv.constant(exports.OcfQuantitySourceType.OcfQuantityHumanEstimated),
|
|
106
|
-
jtv.constant(exports.OcfQuantitySourceType.OcfQuantityMachineEstimated),
|
|
107
|
-
jtv.constant(exports.OcfQuantitySourceType.OcfQuantityUnspecified),
|
|
108
|
-
jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentFixed),
|
|
109
|
-
jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentMax),
|
|
110
|
-
jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentMin),
|
|
111
|
-
);
|
|
112
|
-
}),
|
|
39
|
+
keys: ['OcfQuantityHumanEstimated','OcfQuantityMachineEstimated','OcfQuantityUnspecified','OcfQuantityInstrumentFixed','OcfQuantityInstrumentMax','OcfQuantityInstrumentMin',],
|
|
40
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfQuantitySourceType.OcfQuantityHumanEstimated), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityMachineEstimated), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityUnspecified), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentFixed), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentMax), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentMin)); }),
|
|
113
41
|
encode: function (__typed__) { return __typed__; },
|
|
114
42
|
};
|
|
115
43
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
exports.OcfInitialSharesAuthorized = {
|
|
47
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfInitialSharesNumeric'), value: damlTypes.Numeric(10).decoder, }), jtv.object({tag: jtv.constant('OcfInitialSharesEnum'), value: exports.OcfAuthorizedShares.decoder, })); }),
|
|
48
|
+
encode: function (__typed__) {
|
|
49
|
+
switch(__typed__.tag) {
|
|
50
|
+
case 'OcfInitialSharesNumeric': return {tag: __typed__.tag, value: damlTypes.Numeric(10).encode(__typed__.value)};
|
|
51
|
+
case 'OcfInitialSharesEnum': return {tag: __typed__.tag, value: exports.OcfAuthorizedShares.encode(__typed__.value)};
|
|
52
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfInitialSharesAuthorized';
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
,
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
exports.OcfAuthorizedShares = {
|
|
61
|
+
OcfAuthorizedSharesNotApplicable: 'OcfAuthorizedSharesNotApplicable',
|
|
62
|
+
OcfAuthorizedSharesUnlimited: 'OcfAuthorizedSharesUnlimited',
|
|
63
|
+
keys: ['OcfAuthorizedSharesNotApplicable','OcfAuthorizedSharesUnlimited',],
|
|
64
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfAuthorizedShares.OcfAuthorizedSharesNotApplicable), jtv.constant(exports.OcfAuthorizedShares.OcfAuthorizedSharesUnlimited)); }),
|
|
65
|
+
encode: function (__typed__) { return __typed__; },
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
exports.OcfShareNumberRange = {
|
|
71
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({starting_share_number: damlTypes.Numeric(10).decoder, ending_share_number: damlTypes.Numeric(10).decoder, }); }),
|
|
123
72
|
encode: function (__typed__) {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
73
|
+
return {
|
|
74
|
+
starting_share_number: damlTypes.Numeric(10).encode(__typed__.starting_share_number),
|
|
75
|
+
ending_share_number: damlTypes.Numeric(10).encode(__typed__.ending_share_number),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
,
|
|
129
79
|
};
|
|
130
80
|
|
|
81
|
+
|
|
82
|
+
|
|
131
83
|
exports.OcfSecurityExemption = {
|
|
132
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
133
|
-
return jtv.object({
|
|
134
|
-
description: damlTypes.Text.decoder,
|
|
135
|
-
jurisdiction: damlTypes.Text.decoder,
|
|
136
|
-
});
|
|
137
|
-
}),
|
|
84
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({description: damlTypes.Text.decoder, jurisdiction: damlTypes.Text.decoder, }); }),
|
|
138
85
|
encode: function (__typed__) {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
86
|
+
return {
|
|
87
|
+
description: damlTypes.Text.encode(__typed__.description),
|
|
88
|
+
jurisdiction: damlTypes.Text.encode(__typed__.jurisdiction),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
,
|
|
144
92
|
};
|
|
145
93
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
ending_share_number: damlTypes.Numeric(10).decoder,
|
|
151
|
-
});
|
|
152
|
-
}),
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
exports.OcfStockParent = {
|
|
97
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({parent_object_id: damlTypes.Text.decoder, parent_object_type: exports.OcfParentSecurityType.decoder, }); }),
|
|
153
98
|
encode: function (__typed__) {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
99
|
+
return {
|
|
100
|
+
parent_object_id: damlTypes.Text.encode(__typed__.parent_object_id),
|
|
101
|
+
parent_object_type: exports.OcfParentSecurityType.encode(__typed__.parent_object_type),
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
,
|
|
159
105
|
};
|
|
160
106
|
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
exports.OcfParentSecurityType = {
|
|
110
|
+
OcfParentStockPlan: 'OcfParentStockPlan',
|
|
111
|
+
OcfParentStock: 'OcfParentStock',
|
|
112
|
+
OcfParentWarrant: 'OcfParentWarrant',
|
|
113
|
+
OcfParentConvertible: 'OcfParentConvertible',
|
|
114
|
+
keys: ['OcfParentStockPlan','OcfParentStock','OcfParentWarrant','OcfParentConvertible',],
|
|
115
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfParentSecurityType.OcfParentStockPlan), jtv.constant(exports.OcfParentSecurityType.OcfParentStock), jtv.constant(exports.OcfParentSecurityType.OcfParentWarrant), jtv.constant(exports.OcfParentSecurityType.OcfParentConvertible)); }),
|
|
116
|
+
encode: function (__typed__) { return __typed__; },
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
exports.OcfRatio = {
|
|
122
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({numerator: damlTypes.Numeric(10).decoder, denominator: damlTypes.Numeric(10).decoder, }); }),
|
|
123
|
+
encode: function (__typed__) {
|
|
124
|
+
return {
|
|
125
|
+
numerator: damlTypes.Numeric(10).encode(__typed__.numerator),
|
|
126
|
+
denominator: damlTypes.Numeric(10).encode(__typed__.denominator),
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
,
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
161
134
|
exports.OcfStockClassType = {
|
|
162
135
|
OcfStockClassTypeCommon: 'OcfStockClassTypeCommon',
|
|
163
136
|
OcfStockClassTypePreferred: 'OcfStockClassTypePreferred',
|
|
164
|
-
keys: ['OcfStockClassTypeCommon',
|
|
165
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
166
|
-
return jtv.oneOf(
|
|
167
|
-
jtv.constant(exports.OcfStockClassType.OcfStockClassTypeCommon),
|
|
168
|
-
jtv.constant(exports.OcfStockClassType.OcfStockClassTypePreferred),
|
|
169
|
-
);
|
|
170
|
-
}),
|
|
137
|
+
keys: ['OcfStockClassTypeCommon','OcfStockClassTypePreferred',],
|
|
138
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfStockClassType.OcfStockClassTypeCommon), jtv.constant(exports.OcfStockClassType.OcfStockClassTypePreferred)); }),
|
|
171
139
|
encode: function (__typed__) { return __typed__; },
|
|
172
140
|
};
|
|
173
141
|
|
|
174
|
-
exports.OcfStockParent = {
|
|
175
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
176
|
-
return jtv.object({
|
|
177
|
-
parent_object_id: damlTypes.Text.decoder,
|
|
178
|
-
parent_object_type: exports.OcfParentSecurityType.decoder,
|
|
179
|
-
});
|
|
180
|
-
}),
|
|
181
|
-
encode: function (__typed__) {
|
|
182
|
-
return {
|
|
183
|
-
parent_object_id: damlTypes.Text.encode(__typed__.parent_object_id),
|
|
184
|
-
parent_object_type: exports.OcfParentSecurityType.encode(__typed__.parent_object_type),
|
|
185
|
-
};
|
|
186
|
-
},
|
|
187
|
-
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
// Generated from
|
|
2
|
-
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/Types/Vesting.daml
|
|
3
2
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
4
3
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
4
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
@@ -8,6 +7,24 @@ import * as damlTypes from '@daml/types';
|
|
|
8
7
|
|
|
9
8
|
import * as Fairmint_OpenCapTable_Types_Monetary from '../../../../Fairmint/OpenCapTable/Types/Monetary/module';
|
|
10
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
|
+
|
|
11
28
|
export declare type OcfCompensationType =
|
|
12
29
|
| 'OcfCompensationTypeOptionNSO'
|
|
13
30
|
| 'OcfCompensationTypeOptionISO'
|
|
@@ -15,43 +32,37 @@ export declare type OcfCompensationType =
|
|
|
15
32
|
| 'OcfCompensationTypeRSU'
|
|
16
33
|
| 'OcfCompensationTypeCSAR'
|
|
17
34
|
| 'OcfCompensationTypeSSAR'
|
|
18
|
-
|
|
35
|
+
;
|
|
19
36
|
|
|
20
37
|
export declare const OcfCompensationType:
|
|
21
|
-
damlTypes.Serializable<OcfCompensationType> & {
|
|
38
|
+
damlTypes.Serializable<OcfCompensationType> & {
|
|
39
|
+
}
|
|
40
|
+
& { readonly keys: OcfCompensationType[] } & { readonly [e in OcfCompensationType]: e }
|
|
41
|
+
;
|
|
22
42
|
|
|
23
|
-
export declare type OcfEquityCompensationIssuanceData = {
|
|
24
|
-
compensation_type: OcfCompensationType,
|
|
25
|
-
quantity: damlTypes.Numeric,
|
|
26
|
-
comments: string[],
|
|
27
|
-
termination_exercise_windows: OcfTerminationWindow[],
|
|
28
|
-
vestings: OcfVesting[],
|
|
29
|
-
base_price: damlTypes.Optional<Fairmint_OpenCapTable_Types_Monetary.OcfMonetary>,
|
|
30
|
-
early_exercisable: damlTypes.Optional<boolean>,
|
|
31
|
-
exercise_price: damlTypes.Optional<Fairmint_OpenCapTable_Types_Monetary.OcfMonetary>,
|
|
32
|
-
expiration_date: damlTypes.Optional<damlTypes.Time>,
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export declare const OcfEquityCompensationIssuanceData:
|
|
36
|
-
damlTypes.Serializable<OcfEquityCompensationIssuanceData>
|
|
37
43
|
|
|
38
|
-
export declare type
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
export declare type OcfVesting = {
|
|
45
|
+
amount: damlTypes.Numeric;
|
|
46
|
+
date: damlTypes.Time;
|
|
47
|
+
};
|
|
42
48
|
|
|
49
|
+
export declare const OcfVesting:
|
|
50
|
+
damlTypes.Serializable<OcfVesting> & {
|
|
51
|
+
}
|
|
52
|
+
;
|
|
43
53
|
|
|
44
|
-
export declare const OcfPeriodType:
|
|
45
|
-
damlTypes.Serializable<OcfPeriodType> & { readonly keys: OcfPeriodType[] } & { readonly [e in OcfPeriodType]: e }
|
|
46
54
|
|
|
47
55
|
export declare type OcfTerminationWindow = {
|
|
48
|
-
period: damlTypes.Int
|
|
49
|
-
period_type: OcfPeriodType
|
|
50
|
-
reason: OcfTerminationWindowType
|
|
51
|
-
}
|
|
56
|
+
period: damlTypes.Int;
|
|
57
|
+
period_type: OcfPeriodType;
|
|
58
|
+
reason: OcfTerminationWindowType;
|
|
59
|
+
};
|
|
52
60
|
|
|
53
61
|
export declare const OcfTerminationWindow:
|
|
54
|
-
damlTypes.Serializable<OcfTerminationWindow>
|
|
62
|
+
damlTypes.Serializable<OcfTerminationWindow> & {
|
|
63
|
+
}
|
|
64
|
+
;
|
|
65
|
+
|
|
55
66
|
|
|
56
67
|
export declare type OcfTerminationWindowType =
|
|
57
68
|
| 'OcfTermVoluntaryOther'
|
|
@@ -61,15 +72,24 @@ export declare type OcfTerminationWindowType =
|
|
|
61
72
|
| 'OcfTermInvoluntaryDeath'
|
|
62
73
|
| 'OcfTermInvoluntaryDisability'
|
|
63
74
|
| 'OcfTermInvoluntaryWithCause'
|
|
64
|
-
|
|
75
|
+
;
|
|
65
76
|
|
|
66
77
|
export declare const OcfTerminationWindowType:
|
|
67
|
-
damlTypes.Serializable<OcfTerminationWindowType> & {
|
|
78
|
+
damlTypes.Serializable<OcfTerminationWindowType> & {
|
|
79
|
+
}
|
|
80
|
+
& { readonly keys: OcfTerminationWindowType[] } & { readonly [e in OcfTerminationWindowType]: e }
|
|
81
|
+
;
|
|
68
82
|
|
|
69
|
-
export declare type OcfVesting = {
|
|
70
|
-
amount: damlTypes.Numeric,
|
|
71
|
-
date: damlTypes.Time,
|
|
72
|
-
}
|
|
73
83
|
|
|
74
|
-
export declare
|
|
75
|
-
|
|
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
|
+
|
|
@@ -5,7 +5,6 @@ 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
|
-
|
|
9
8
|
/* eslint-disable-next-line no-unused-vars */
|
|
10
9
|
var jtv = require('@mojotech/json-type-validation');
|
|
11
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -13,6 +12,27 @@ var damlTypes = require('@daml/types');
|
|
|
13
12
|
|
|
14
13
|
var Fairmint_OpenCapTable_Types_Monetary = require('../../../../Fairmint/OpenCapTable/Types/Monetary/module');
|
|
15
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
|
+
|
|
16
36
|
exports.OcfCompensationType = {
|
|
17
37
|
OcfCompensationTypeOptionNSO: 'OcfCompensationTypeOptionNSO',
|
|
18
38
|
OcfCompensationTypeOptionISO: 'OcfCompensationTypeOptionISO',
|
|
@@ -20,81 +40,40 @@ exports.OcfCompensationType = {
|
|
|
20
40
|
OcfCompensationTypeRSU: 'OcfCompensationTypeRSU',
|
|
21
41
|
OcfCompensationTypeCSAR: 'OcfCompensationTypeCSAR',
|
|
22
42
|
OcfCompensationTypeSSAR: 'OcfCompensationTypeSSAR',
|
|
23
|
-
keys: ['OcfCompensationTypeOptionNSO',
|
|
24
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
25
|
-
return jtv.oneOf(
|
|
26
|
-
jtv.constant(exports.OcfCompensationType.OcfCompensationTypeOptionNSO),
|
|
27
|
-
jtv.constant(exports.OcfCompensationType.OcfCompensationTypeOptionISO),
|
|
28
|
-
jtv.constant(exports.OcfCompensationType.OcfCompensationTypeOption),
|
|
29
|
-
jtv.constant(exports.OcfCompensationType.OcfCompensationTypeRSU),
|
|
30
|
-
jtv.constant(exports.OcfCompensationType.OcfCompensationTypeCSAR),
|
|
31
|
-
jtv.constant(exports.OcfCompensationType.OcfCompensationTypeSSAR),
|
|
32
|
-
);
|
|
33
|
-
}),
|
|
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)); }),
|
|
34
45
|
encode: function (__typed__) { return __typed__; },
|
|
35
46
|
};
|
|
36
47
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
quantity: damlTypes.Numeric(10).decoder,
|
|
42
|
-
comments: damlTypes.List(damlTypes.Text).decoder,
|
|
43
|
-
termination_exercise_windows: damlTypes.List(exports.OcfTerminationWindow).decoder,
|
|
44
|
-
vestings: damlTypes.List(exports.OcfVesting).decoder,
|
|
45
|
-
base_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
46
|
-
early_exercisable: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder),
|
|
47
|
-
exercise_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).decoder),
|
|
48
|
-
expiration_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder),
|
|
49
|
-
});
|
|
50
|
-
}),
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
exports.OcfVesting = {
|
|
51
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({amount: damlTypes.Numeric(10).decoder, date: damlTypes.Time.decoder, }); }),
|
|
51
52
|
encode: function (__typed__) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
base_price: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.base_price),
|
|
59
|
-
early_exercisable: damlTypes.Optional(damlTypes.Bool).encode(__typed__.early_exercisable),
|
|
60
|
-
exercise_price: damlTypes.Optional(Fairmint_OpenCapTable_Types_Monetary.OcfMonetary).encode(__typed__.exercise_price),
|
|
61
|
-
expiration_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.expiration_date),
|
|
62
|
-
};
|
|
63
|
-
},
|
|
53
|
+
return {
|
|
54
|
+
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
55
|
+
date: damlTypes.Time.encode(__typed__.date),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
,
|
|
64
59
|
};
|
|
65
60
|
|
|
66
|
-
|
|
67
|
-
OcfPeriodDays: 'OcfPeriodDays',
|
|
68
|
-
OcfPeriodMonths: 'OcfPeriodMonths',
|
|
69
|
-
OcfPeriodYears: 'OcfPeriodYears',
|
|
70
|
-
keys: ['OcfPeriodDays', 'OcfPeriodMonths', 'OcfPeriodYears'],
|
|
71
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
72
|
-
return jtv.oneOf(
|
|
73
|
-
jtv.constant(exports.OcfPeriodType.OcfPeriodDays),
|
|
74
|
-
jtv.constant(exports.OcfPeriodType.OcfPeriodMonths),
|
|
75
|
-
jtv.constant(exports.OcfPeriodType.OcfPeriodYears),
|
|
76
|
-
);
|
|
77
|
-
}),
|
|
78
|
-
encode: function (__typed__) { return __typed__; },
|
|
79
|
-
};
|
|
61
|
+
|
|
80
62
|
|
|
81
63
|
exports.OcfTerminationWindow = {
|
|
82
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
83
|
-
return jtv.object({
|
|
84
|
-
period: damlTypes.Int.decoder,
|
|
85
|
-
period_type: exports.OcfPeriodType.decoder,
|
|
86
|
-
reason: exports.OcfTerminationWindowType.decoder,
|
|
87
|
-
});
|
|
88
|
-
}),
|
|
64
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({period: damlTypes.Int.decoder, period_type: exports.OcfPeriodType.decoder, reason: exports.OcfTerminationWindowType.decoder, }); }),
|
|
89
65
|
encode: function (__typed__) {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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
|
+
,
|
|
96
73
|
};
|
|
97
74
|
|
|
75
|
+
|
|
76
|
+
|
|
98
77
|
exports.OcfTerminationWindowType = {
|
|
99
78
|
OcfTermVoluntaryOther: 'OcfTermVoluntaryOther',
|
|
100
79
|
OcfTermVoluntaryGoodCause: 'OcfTermVoluntaryGoodCause',
|
|
@@ -103,32 +82,19 @@ exports.OcfTerminationWindowType = {
|
|
|
103
82
|
OcfTermInvoluntaryDeath: 'OcfTermInvoluntaryDeath',
|
|
104
83
|
OcfTermInvoluntaryDisability: 'OcfTermInvoluntaryDisability',
|
|
105
84
|
OcfTermInvoluntaryWithCause: 'OcfTermInvoluntaryWithCause',
|
|
106
|
-
keys: ['OcfTermVoluntaryOther',
|
|
107
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
108
|
-
return jtv.oneOf(
|
|
109
|
-
jtv.constant(exports.OcfTerminationWindowType.OcfTermVoluntaryOther),
|
|
110
|
-
jtv.constant(exports.OcfTerminationWindowType.OcfTermVoluntaryGoodCause),
|
|
111
|
-
jtv.constant(exports.OcfTerminationWindowType.OcfTermVoluntaryRetirement),
|
|
112
|
-
jtv.constant(exports.OcfTerminationWindowType.OcfTermInvoluntaryOther),
|
|
113
|
-
jtv.constant(exports.OcfTerminationWindowType.OcfTermInvoluntaryDeath),
|
|
114
|
-
jtv.constant(exports.OcfTerminationWindowType.OcfTermInvoluntaryDisability),
|
|
115
|
-
jtv.constant(exports.OcfTerminationWindowType.OcfTermInvoluntaryWithCause),
|
|
116
|
-
);
|
|
117
|
-
}),
|
|
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)); }),
|
|
118
87
|
encode: function (__typed__) { return __typed__; },
|
|
119
88
|
};
|
|
120
89
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
131
|
-
date: damlTypes.Time.encode(__typed__.date),
|
|
132
|
-
};
|
|
133
|
-
},
|
|
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__; },
|
|
134
99
|
};
|
|
100
|
+
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as Contact from './Contact';
|
|
2
|
+
export { Contact } ;
|
|
2
3
|
import * as Conversion from './Conversion';
|
|
4
|
+
export { Conversion } ;
|
|
3
5
|
import * as Core from './Core';
|
|
6
|
+
export { Core } ;
|
|
4
7
|
import * as Monetary from './Monetary';
|
|
8
|
+
export { Monetary } ;
|
|
5
9
|
import * as Stakeholder from './Stakeholder';
|
|
10
|
+
export { Stakeholder } ;
|
|
6
11
|
import * as Stock from './Stock';
|
|
12
|
+
export { Stock } ;
|
|
7
13
|
import * as Vesting from './Vesting';
|
|
8
|
-
|
|
9
|
-
export { Contact };
|
|
10
|
-
export { Conversion };
|
|
11
|
-
export { Core };
|
|
12
|
-
export { Monetary };
|
|
13
|
-
export { Stakeholder };
|
|
14
|
-
export { Stock };
|
|
15
|
-
export { Vesting };
|
|
14
|
+
export { Vesting } ;
|
|
@@ -5,19 +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
|
-
|
|
9
8
|
var Contact = require('./Contact');
|
|
10
|
-
var Conversion = require('./Conversion');
|
|
11
|
-
var Core = require('./Core');
|
|
12
|
-
var Monetary = require('./Monetary');
|
|
13
|
-
var Stakeholder = require('./Stakeholder');
|
|
14
|
-
var Stock = require('./Stock');
|
|
15
|
-
var Vesting = require('./Vesting');
|
|
16
|
-
|
|
17
9
|
exports.Contact = Contact;
|
|
10
|
+
var Conversion = require('./Conversion');
|
|
18
11
|
exports.Conversion = Conversion;
|
|
12
|
+
var Core = require('./Core');
|
|
19
13
|
exports.Core = Core;
|
|
14
|
+
var Monetary = require('./Monetary');
|
|
20
15
|
exports.Monetary = Monetary;
|
|
16
|
+
var Stakeholder = require('./Stakeholder');
|
|
21
17
|
exports.Stakeholder = Stakeholder;
|
|
18
|
+
var Stock = require('./Stock');
|
|
22
19
|
exports.Stock = Stock;
|
|
20
|
+
var Vesting = require('./Vesting');
|
|
23
21
|
exports.Vesting = Vesting;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as CapTable from './CapTable';
|
|
2
|
+
export { CapTable } ;
|
|
2
3
|
import * as IssuerAuthorization from './IssuerAuthorization';
|
|
4
|
+
export { IssuerAuthorization } ;
|
|
3
5
|
import * as OCF from './OCF';
|
|
6
|
+
export { OCF } ;
|
|
4
7
|
import * as OcpFactory from './OcpFactory';
|
|
8
|
+
export { OcpFactory } ;
|
|
5
9
|
import * as Types from './Types';
|
|
6
|
-
|
|
7
|
-
export { CapTable };
|
|
8
|
-
export { IssuerAuthorization };
|
|
9
|
-
export { OCF };
|
|
10
|
-
export { OcpFactory };
|
|
11
|
-
export { Types };
|
|
10
|
+
export { Types } ;
|