@fairmint/open-captable-protocol-daml-js 0.3.6 → 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 +8 -8
- package/published-dars/OpenCapTable.dar +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
// Generated from
|
|
2
|
-
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/IssuerAuthorization.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 */
|
|
@@ -12,35 +11,40 @@ import * as Fairmint_OpenCapTable_CapTable from '../../../Fairmint/OpenCapTable/
|
|
|
12
11
|
import * as Fairmint_OpenCapTable_OCF_Issuer from '../../../Fairmint/OpenCapTable/OCF/Issuer/module';
|
|
13
12
|
import * as Fairmint_OpenCapTable_Types_Core from '../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
14
13
|
|
|
14
|
+
export declare type WithdrawAuthorization = {
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export declare const WithdrawAuthorization:
|
|
18
|
+
damlTypes.Serializable<WithdrawAuthorization> & {
|
|
19
|
+
}
|
|
20
|
+
;
|
|
21
|
+
|
|
22
|
+
|
|
15
23
|
export declare type CreateCapTable = {
|
|
16
|
-
issuer_data: Fairmint_OpenCapTable_OCF_Issuer.IssuerOcfData
|
|
17
|
-
}
|
|
24
|
+
issuer_data: Fairmint_OpenCapTable_OCF_Issuer.IssuerOcfData;
|
|
25
|
+
};
|
|
18
26
|
|
|
19
27
|
export declare const CreateCapTable:
|
|
20
|
-
damlTypes.Serializable<CreateCapTable>
|
|
28
|
+
damlTypes.Serializable<CreateCapTable> & {
|
|
29
|
+
}
|
|
30
|
+
;
|
|
31
|
+
|
|
21
32
|
|
|
22
33
|
export declare type IssuerAuthorization = {
|
|
23
|
-
context: Fairmint_OpenCapTable_Types_Core.Context
|
|
24
|
-
}
|
|
34
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
35
|
+
};
|
|
25
36
|
|
|
26
37
|
export declare interface IssuerAuthorizationInterface {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
CreateCapTable:
|
|
31
|
-
damlTypes.Choice<IssuerAuthorization, CreateCapTable, damlTypes.ContractId<Fairmint_OpenCapTable_CapTable.CapTable>, undefined> &
|
|
32
|
-
damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorization, undefined>>;
|
|
33
|
-
WithdrawAuthorization:
|
|
34
|
-
damlTypes.Choice<IssuerAuthorization, WithdrawAuthorization, {}, undefined> &
|
|
35
|
-
damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorization, undefined>>;
|
|
38
|
+
CreateCapTable: damlTypes.Choice<IssuerAuthorization, CreateCapTable, damlTypes.ContractId<Fairmint_OpenCapTable_CapTable.CapTable>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorization, undefined>>;
|
|
39
|
+
Archive: damlTypes.Choice<IssuerAuthorization, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorization, undefined>>;
|
|
40
|
+
WithdrawAuthorization: damlTypes.Choice<IssuerAuthorization, WithdrawAuthorization, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorization, undefined>>;
|
|
36
41
|
}
|
|
37
42
|
export declare const IssuerAuthorization:
|
|
38
|
-
damlTypes.Template<IssuerAuthorization, undefined, '#OpenCapTable-
|
|
43
|
+
damlTypes.Template<IssuerAuthorization, undefined, '#OpenCapTable-v34:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization'> &
|
|
39
44
|
damlTypes.ToInterface<IssuerAuthorization, never> &
|
|
40
|
-
IssuerAuthorizationInterface
|
|
45
|
+
IssuerAuthorizationInterface;
|
|
41
46
|
|
|
42
|
-
export declare
|
|
47
|
+
export declare namespace IssuerAuthorization {
|
|
43
48
|
}
|
|
44
49
|
|
|
45
|
-
|
|
46
|
-
damlTypes.Serializable<WithdrawAuthorization>
|
|
50
|
+
|
|
@@ -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 */
|
|
@@ -17,82 +16,71 @@ var Fairmint_OpenCapTable_CapTable = require('../../../Fairmint/OpenCapTable/Cap
|
|
|
17
16
|
var Fairmint_OpenCapTable_OCF_Issuer = require('../../../Fairmint/OpenCapTable/OCF/Issuer/module');
|
|
18
17
|
var Fairmint_OpenCapTable_Types_Core = require('../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
19
18
|
|
|
19
|
+
|
|
20
|
+
exports.WithdrawAuthorization = {
|
|
21
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
22
|
+
encode: function (__typed__) {
|
|
23
|
+
return {
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
20
31
|
exports.CreateCapTable = {
|
|
21
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
22
|
-
return jtv.object({
|
|
23
|
-
issuer_data: Fairmint_OpenCapTable_OCF_Issuer.IssuerOcfData.decoder,
|
|
24
|
-
});
|
|
25
|
-
}),
|
|
32
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuer_data: Fairmint_OpenCapTable_OCF_Issuer.IssuerOcfData.decoder, }); }),
|
|
26
33
|
encode: function (__typed__) {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
34
|
+
return {
|
|
35
|
+
issuer_data: Fairmint_OpenCapTable_OCF_Issuer.IssuerOcfData.encode(__typed__.issuer_data),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
,
|
|
31
39
|
};
|
|
32
40
|
|
|
41
|
+
|
|
42
|
+
|
|
33
43
|
exports.IssuerAuthorization = damlTypes.assembleTemplate(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
54
|
-
}),
|
|
55
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
56
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
57
|
-
return damlTypes.Unit.decoder;
|
|
58
|
-
}),
|
|
59
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
60
|
-
},
|
|
61
|
-
CreateCapTable: {
|
|
62
|
-
template: function () { return exports.IssuerAuthorization; },
|
|
63
|
-
choiceName: 'CreateCapTable',
|
|
64
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
65
|
-
return exports.CreateCapTable.decoder;
|
|
66
|
-
}),
|
|
67
|
-
argumentEncode: function (__typed__) { return exports.CreateCapTable.encode(__typed__); },
|
|
68
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
69
|
-
return damlTypes.ContractId(Fairmint_OpenCapTable_CapTable.CapTable).decoder;
|
|
70
|
-
}),
|
|
71
|
-
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_CapTable.CapTable).encode(__typed__); },
|
|
72
|
-
},
|
|
73
|
-
WithdrawAuthorization: {
|
|
74
|
-
template: function () { return exports.IssuerAuthorization; },
|
|
75
|
-
choiceName: 'WithdrawAuthorization',
|
|
76
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
77
|
-
return exports.WithdrawAuthorization.decoder;
|
|
78
|
-
}),
|
|
79
|
-
argumentEncode: function (__typed__) { return exports.WithdrawAuthorization.encode(__typed__); },
|
|
80
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
81
|
-
return damlTypes.Unit.decoder;
|
|
82
|
-
}),
|
|
83
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
84
|
-
},
|
|
44
|
+
{
|
|
45
|
+
templateId: '#OpenCapTable-v34:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization',
|
|
46
|
+
templateIdWithPackageId: '534319ff0f8e273fce07984ee471fa86c19b15528e177f7e3e42ba858d89ed8d:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization',
|
|
47
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
48
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
49
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, }); }),
|
|
50
|
+
encode: function (__typed__) {
|
|
51
|
+
return {
|
|
52
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
,
|
|
56
|
+
CreateCapTable: {
|
|
57
|
+
template: function () { return exports.IssuerAuthorization; },
|
|
58
|
+
choiceName: 'CreateCapTable',
|
|
59
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateCapTable.decoder; }),
|
|
60
|
+
argumentEncode: function (__typed__) { return exports.CreateCapTable.encode(__typed__); },
|
|
61
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_CapTable.CapTable).decoder; }),
|
|
62
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_CapTable.CapTable).encode(__typed__); },
|
|
85
63
|
},
|
|
64
|
+
Archive: {
|
|
65
|
+
template: function () { return exports.IssuerAuthorization; },
|
|
66
|
+
choiceName: 'Archive',
|
|
67
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
68
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
69
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
70
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
71
|
+
},
|
|
72
|
+
WithdrawAuthorization: {
|
|
73
|
+
template: function () { return exports.IssuerAuthorization; },
|
|
74
|
+
choiceName: 'WithdrawAuthorization',
|
|
75
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.WithdrawAuthorization.decoder; }),
|
|
76
|
+
argumentEncode: function (__typed__) { return exports.WithdrawAuthorization.encode(__typed__); },
|
|
77
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
78
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
79
|
+
},
|
|
80
|
+
}
|
|
81
|
+
|
|
86
82
|
);
|
|
87
83
|
|
|
88
|
-
damlTypes.registerTemplate(exports.IssuerAuthorization, ['5f7929a6d58de9847deb3b9e48afd0f6dc58266f6e94a6de23d4c9a502b219bf', '#OpenCapTable-v35']);
|
|
89
84
|
|
|
90
|
-
exports.
|
|
91
|
-
|
|
92
|
-
return jtv.object({
|
|
93
|
-
});
|
|
94
|
-
}),
|
|
95
|
-
encode: function (__typed__) {
|
|
96
|
-
return {};
|
|
97
|
-
},
|
|
98
|
-
};
|
|
85
|
+
damlTypes.registerTemplate(exports.IssuerAuthorization, ['534319ff0f8e273fce07984ee471fa86c19b15528e177f7e3e42ba858d89ed8d', '#OpenCapTable-v34']);
|
|
86
|
+
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
// Generated from
|
|
2
|
-
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/OCF/ConvertibleAcceptance.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 */
|
|
@@ -10,27 +9,33 @@ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69
|
|
|
10
9
|
|
|
11
10
|
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
12
11
|
|
|
12
|
+
export declare type ConvertibleAcceptanceOcfData = {
|
|
13
|
+
id: string;
|
|
14
|
+
date: damlTypes.Time;
|
|
15
|
+
security_id: string;
|
|
16
|
+
comments: string[];
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export declare const ConvertibleAcceptanceOcfData:
|
|
20
|
+
damlTypes.Serializable<ConvertibleAcceptanceOcfData> & {
|
|
21
|
+
}
|
|
22
|
+
;
|
|
23
|
+
|
|
24
|
+
|
|
13
25
|
export declare type ConvertibleAcceptance = {
|
|
14
|
-
context: Fairmint_OpenCapTable_Types_Core.Context
|
|
15
|
-
acceptance_data: ConvertibleAcceptanceOcfData
|
|
16
|
-
}
|
|
26
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
27
|
+
acceptance_data: ConvertibleAcceptanceOcfData;
|
|
28
|
+
};
|
|
17
29
|
|
|
18
30
|
export declare interface ConvertibleAcceptanceInterface {
|
|
19
|
-
Archive:
|
|
20
|
-
damlTypes.Choice<ConvertibleAcceptance, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
21
|
-
damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleAcceptance, undefined>>;
|
|
31
|
+
Archive: damlTypes.Choice<ConvertibleAcceptance, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleAcceptance, undefined>>;
|
|
22
32
|
}
|
|
23
33
|
export declare const ConvertibleAcceptance:
|
|
24
|
-
damlTypes.Template<ConvertibleAcceptance, undefined, '#OpenCapTable-
|
|
34
|
+
damlTypes.Template<ConvertibleAcceptance, undefined, '#OpenCapTable-v34:Fairmint.OpenCapTable.OCF.ConvertibleAcceptance:ConvertibleAcceptance'> &
|
|
25
35
|
damlTypes.ToInterface<ConvertibleAcceptance, never> &
|
|
26
|
-
ConvertibleAcceptanceInterface
|
|
36
|
+
ConvertibleAcceptanceInterface;
|
|
27
37
|
|
|
28
|
-
export declare
|
|
29
|
-
id: string,
|
|
30
|
-
date: damlTypes.Time,
|
|
31
|
-
security_id: string,
|
|
32
|
-
comments: string[],
|
|
38
|
+
export declare namespace ConvertibleAcceptance {
|
|
33
39
|
}
|
|
34
40
|
|
|
35
|
-
|
|
36
|
-
damlTypes.Serializable<ConvertibleAcceptanceOcfData>
|
|
41
|
+
|
|
@@ -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 */
|
|
@@ -15,56 +14,48 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
|
|
|
15
14
|
|
|
16
15
|
var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
17
16
|
|
|
17
|
+
|
|
18
|
+
exports.ConvertibleAcceptanceOcfData = {
|
|
19
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, security_id: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, }); }),
|
|
20
|
+
encode: function (__typed__) {
|
|
21
|
+
return {
|
|
22
|
+
id: damlTypes.Text.encode(__typed__.id),
|
|
23
|
+
date: damlTypes.Time.encode(__typed__.date),
|
|
24
|
+
security_id: damlTypes.Text.encode(__typed__.security_id),
|
|
25
|
+
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
,
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
18
33
|
exports.ConvertibleAcceptance = damlTypes.assembleTemplate(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
40
|
-
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
41
|
-
}),
|
|
42
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
43
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
44
|
-
return damlTypes.Unit.decoder;
|
|
45
|
-
}),
|
|
46
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
47
|
-
},
|
|
34
|
+
{
|
|
35
|
+
templateId: '#OpenCapTable-v34:Fairmint.OpenCapTable.OCF.ConvertibleAcceptance:ConvertibleAcceptance',
|
|
36
|
+
templateIdWithPackageId: '534319ff0f8e273fce07984ee471fa86c19b15528e177f7e3e42ba858d89ed8d:Fairmint.OpenCapTable.OCF.ConvertibleAcceptance:ConvertibleAcceptance',
|
|
37
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
38
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
39
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, acceptance_data: exports.ConvertibleAcceptanceOcfData.decoder, }); }),
|
|
40
|
+
encode: function (__typed__) {
|
|
41
|
+
return {
|
|
42
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
43
|
+
acceptance_data: exports.ConvertibleAcceptanceOcfData.encode(__typed__.acceptance_data),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
,
|
|
47
|
+
Archive: {
|
|
48
|
+
template: function () { return exports.ConvertibleAcceptance; },
|
|
49
|
+
choiceName: 'Archive',
|
|
50
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
51
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
52
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
53
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
48
54
|
},
|
|
55
|
+
}
|
|
56
|
+
|
|
49
57
|
);
|
|
50
58
|
|
|
51
|
-
damlTypes.registerTemplate(exports.ConvertibleAcceptance, ['5f7929a6d58de9847deb3b9e48afd0f6dc58266f6e94a6de23d4c9a502b219bf', '#OpenCapTable-v35']);
|
|
52
59
|
|
|
53
|
-
exports.
|
|
54
|
-
|
|
55
|
-
return jtv.object({
|
|
56
|
-
id: damlTypes.Text.decoder,
|
|
57
|
-
date: damlTypes.Time.decoder,
|
|
58
|
-
security_id: damlTypes.Text.decoder,
|
|
59
|
-
comments: damlTypes.List(damlTypes.Text).decoder,
|
|
60
|
-
});
|
|
61
|
-
}),
|
|
62
|
-
encode: function (__typed__) {
|
|
63
|
-
return {
|
|
64
|
-
id: damlTypes.Text.encode(__typed__.id),
|
|
65
|
-
date: damlTypes.Time.encode(__typed__.date),
|
|
66
|
-
security_id: damlTypes.Text.encode(__typed__.security_id),
|
|
67
|
-
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
68
|
-
};
|
|
69
|
-
},
|
|
70
|
-
};
|
|
60
|
+
damlTypes.registerTemplate(exports.ConvertibleAcceptance, ['534319ff0f8e273fce07984ee471fa86c19b15528e177f7e3e42ba858d89ed8d', '#OpenCapTable-v34']);
|
|
61
|
+
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
// Generated from
|
|
2
|
-
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/OCF/ConvertibleCancellation.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 */
|
|
@@ -11,30 +10,36 @@ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69
|
|
|
11
10
|
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
12
11
|
import * as Fairmint_OpenCapTable_Types_Monetary from '../../../../Fairmint/OpenCapTable/Types/Monetary/module';
|
|
13
12
|
|
|
13
|
+
export declare type ConvertibleCancellationOcfData = {
|
|
14
|
+
id: string;
|
|
15
|
+
amount: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary;
|
|
16
|
+
date: damlTypes.Time;
|
|
17
|
+
reason_text: string;
|
|
18
|
+
security_id: string;
|
|
19
|
+
comments: string[];
|
|
20
|
+
balance_security_id: damlTypes.Optional<string>;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export declare const ConvertibleCancellationOcfData:
|
|
24
|
+
damlTypes.Serializable<ConvertibleCancellationOcfData> & {
|
|
25
|
+
}
|
|
26
|
+
;
|
|
27
|
+
|
|
28
|
+
|
|
14
29
|
export declare type ConvertibleCancellation = {
|
|
15
|
-
context: Fairmint_OpenCapTable_Types_Core.Context
|
|
16
|
-
cancellation_data: ConvertibleCancellationOcfData
|
|
17
|
-
}
|
|
30
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
31
|
+
cancellation_data: ConvertibleCancellationOcfData;
|
|
32
|
+
};
|
|
18
33
|
|
|
19
34
|
export declare interface ConvertibleCancellationInterface {
|
|
20
|
-
Archive:
|
|
21
|
-
damlTypes.Choice<ConvertibleCancellation, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
22
|
-
damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleCancellation, undefined>>;
|
|
35
|
+
Archive: damlTypes.Choice<ConvertibleCancellation, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleCancellation, undefined>>;
|
|
23
36
|
}
|
|
24
37
|
export declare const ConvertibleCancellation:
|
|
25
|
-
damlTypes.Template<ConvertibleCancellation, undefined, '#OpenCapTable-
|
|
38
|
+
damlTypes.Template<ConvertibleCancellation, undefined, '#OpenCapTable-v34:Fairmint.OpenCapTable.OCF.ConvertibleCancellation:ConvertibleCancellation'> &
|
|
26
39
|
damlTypes.ToInterface<ConvertibleCancellation, never> &
|
|
27
|
-
ConvertibleCancellationInterface
|
|
40
|
+
ConvertibleCancellationInterface;
|
|
28
41
|
|
|
29
|
-
export declare
|
|
30
|
-
id: string,
|
|
31
|
-
amount: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary,
|
|
32
|
-
date: damlTypes.Time,
|
|
33
|
-
reason_text: string,
|
|
34
|
-
security_id: string,
|
|
35
|
-
comments: string[],
|
|
36
|
-
balance_security_id: damlTypes.Optional<string>,
|
|
42
|
+
export declare namespace ConvertibleCancellation {
|
|
37
43
|
}
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
damlTypes.Serializable<ConvertibleCancellationOcfData>
|
|
45
|
+
|
|
@@ -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 */
|
|
@@ -16,62 +15,51 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
|
|
|
16
15
|
var Fairmint_OpenCapTable_Types_Core = require('../../../../Fairmint/OpenCapTable/Types/Core/module');
|
|
17
16
|
var Fairmint_OpenCapTable_Types_Monetary = require('../../../../Fairmint/OpenCapTable/Types/Monetary/module');
|
|
18
17
|
|
|
18
|
+
|
|
19
|
+
exports.ConvertibleCancellationOcfData = {
|
|
20
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, amount: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary.decoder, date: damlTypes.Time.decoder, reason_text: damlTypes.Text.decoder, security_id: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, balance_security_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
21
|
+
encode: function (__typed__) {
|
|
22
|
+
return {
|
|
23
|
+
id: damlTypes.Text.encode(__typed__.id),
|
|
24
|
+
amount: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary.encode(__typed__.amount),
|
|
25
|
+
date: damlTypes.Time.encode(__typed__.date),
|
|
26
|
+
reason_text: damlTypes.Text.encode(__typed__.reason_text),
|
|
27
|
+
security_id: damlTypes.Text.encode(__typed__.security_id),
|
|
28
|
+
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
29
|
+
balance_security_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.balance_security_id),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
,
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
19
37
|
exports.ConvertibleCancellation = damlTypes.assembleTemplate(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
41
|
-
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
42
|
-
}),
|
|
43
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
44
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
45
|
-
return damlTypes.Unit.decoder;
|
|
46
|
-
}),
|
|
47
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
48
|
-
},
|
|
38
|
+
{
|
|
39
|
+
templateId: '#OpenCapTable-v34:Fairmint.OpenCapTable.OCF.ConvertibleCancellation:ConvertibleCancellation',
|
|
40
|
+
templateIdWithPackageId: '534319ff0f8e273fce07984ee471fa86c19b15528e177f7e3e42ba858d89ed8d:Fairmint.OpenCapTable.OCF.ConvertibleCancellation:ConvertibleCancellation',
|
|
41
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
42
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
43
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types_Core.Context.decoder, cancellation_data: exports.ConvertibleCancellationOcfData.decoder, }); }),
|
|
44
|
+
encode: function (__typed__) {
|
|
45
|
+
return {
|
|
46
|
+
context: Fairmint_OpenCapTable_Types_Core.Context.encode(__typed__.context),
|
|
47
|
+
cancellation_data: exports.ConvertibleCancellationOcfData.encode(__typed__.cancellation_data),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
,
|
|
51
|
+
Archive: {
|
|
52
|
+
template: function () { return exports.ConvertibleCancellation; },
|
|
53
|
+
choiceName: 'Archive',
|
|
54
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
55
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
56
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
57
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
49
58
|
},
|
|
59
|
+
}
|
|
60
|
+
|
|
50
61
|
);
|
|
51
62
|
|
|
52
|
-
damlTypes.registerTemplate(exports.ConvertibleCancellation, ['5f7929a6d58de9847deb3b9e48afd0f6dc58266f6e94a6de23d4c9a502b219bf', '#OpenCapTable-v35']);
|
|
53
63
|
|
|
54
|
-
exports.
|
|
55
|
-
|
|
56
|
-
return jtv.object({
|
|
57
|
-
id: damlTypes.Text.decoder,
|
|
58
|
-
amount: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary.decoder,
|
|
59
|
-
date: damlTypes.Time.decoder,
|
|
60
|
-
reason_text: damlTypes.Text.decoder,
|
|
61
|
-
security_id: damlTypes.Text.decoder,
|
|
62
|
-
comments: damlTypes.List(damlTypes.Text).decoder,
|
|
63
|
-
balance_security_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder),
|
|
64
|
-
});
|
|
65
|
-
}),
|
|
66
|
-
encode: function (__typed__) {
|
|
67
|
-
return {
|
|
68
|
-
id: damlTypes.Text.encode(__typed__.id),
|
|
69
|
-
amount: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary.encode(__typed__.amount),
|
|
70
|
-
date: damlTypes.Time.encode(__typed__.date),
|
|
71
|
-
reason_text: damlTypes.Text.encode(__typed__.reason_text),
|
|
72
|
-
security_id: damlTypes.Text.encode(__typed__.security_id),
|
|
73
|
-
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
74
|
-
balance_security_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.balance_security_id),
|
|
75
|
-
};
|
|
76
|
-
},
|
|
77
|
-
};
|
|
64
|
+
damlTypes.registerTemplate(exports.ConvertibleCancellation, ['534319ff0f8e273fce07984ee471fa86c19b15528e177f7e3e42ba858d89ed8d', '#OpenCapTable-v34']);
|
|
65
|
+
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
// Generated from
|
|
2
|
-
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/OCF/ConvertibleConversion.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 */
|
|
@@ -11,33 +10,39 @@ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69
|
|
|
11
10
|
import * as Fairmint_OpenCapTable_Types_Conversion from '../../../../Fairmint/OpenCapTable/Types/Conversion/module';
|
|
12
11
|
import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
|
|
13
12
|
|
|
13
|
+
export declare type ConvertibleConversionOcfData = {
|
|
14
|
+
id: string;
|
|
15
|
+
date: damlTypes.Time;
|
|
16
|
+
reason_text: string;
|
|
17
|
+
security_id: string;
|
|
18
|
+
trigger_id: string;
|
|
19
|
+
comments: string[];
|
|
20
|
+
resulting_security_ids: string[];
|
|
21
|
+
balance_security_id: damlTypes.Optional<string>;
|
|
22
|
+
capitalization_definition: damlTypes.Optional<Fairmint_OpenCapTable_Types_Conversion.OcfCapitalizationDefinition>;
|
|
23
|
+
quantity_converted: damlTypes.Optional<damlTypes.Numeric>;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export declare const ConvertibleConversionOcfData:
|
|
27
|
+
damlTypes.Serializable<ConvertibleConversionOcfData> & {
|
|
28
|
+
}
|
|
29
|
+
;
|
|
30
|
+
|
|
31
|
+
|
|
14
32
|
export declare type ConvertibleConversion = {
|
|
15
|
-
context: Fairmint_OpenCapTable_Types_Core.Context
|
|
16
|
-
conversion_data: ConvertibleConversionOcfData
|
|
17
|
-
}
|
|
33
|
+
context: Fairmint_OpenCapTable_Types_Core.Context;
|
|
34
|
+
conversion_data: ConvertibleConversionOcfData;
|
|
35
|
+
};
|
|
18
36
|
|
|
19
37
|
export declare interface ConvertibleConversionInterface {
|
|
20
|
-
Archive:
|
|
21
|
-
damlTypes.Choice<ConvertibleConversion, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
22
|
-
damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleConversion, undefined>>;
|
|
38
|
+
Archive: damlTypes.Choice<ConvertibleConversion, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleConversion, undefined>>;
|
|
23
39
|
}
|
|
24
40
|
export declare const ConvertibleConversion:
|
|
25
|
-
damlTypes.Template<ConvertibleConversion, undefined, '#OpenCapTable-
|
|
41
|
+
damlTypes.Template<ConvertibleConversion, undefined, '#OpenCapTable-v34:Fairmint.OpenCapTable.OCF.ConvertibleConversion:ConvertibleConversion'> &
|
|
26
42
|
damlTypes.ToInterface<ConvertibleConversion, never> &
|
|
27
|
-
ConvertibleConversionInterface
|
|
43
|
+
ConvertibleConversionInterface;
|
|
28
44
|
|
|
29
|
-
export declare
|
|
30
|
-
id: string,
|
|
31
|
-
date: damlTypes.Time,
|
|
32
|
-
reason_text: string,
|
|
33
|
-
security_id: string,
|
|
34
|
-
trigger_id: string,
|
|
35
|
-
comments: string[],
|
|
36
|
-
resulting_security_ids: string[],
|
|
37
|
-
balance_security_id: damlTypes.Optional<string>,
|
|
38
|
-
capitalization_definition: damlTypes.Optional<Fairmint_OpenCapTable_Types_Conversion.OcfCapitalizationDefinition>,
|
|
39
|
-
quantity_converted: damlTypes.Optional<damlTypes.Numeric>,
|
|
45
|
+
export declare namespace ConvertibleConversion {
|
|
40
46
|
}
|
|
41
47
|
|
|
42
|
-
|
|
43
|
-
damlTypes.Serializable<ConvertibleConversionOcfData>
|
|
48
|
+
|