@polymeshassociation/polymesh-sdk 15.0.0-alpha.12 → 15.0.0-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/CHANGELOG.md +9 -3
  2. package/api/client/AccountManagement.d.ts +8 -8
  3. package/api/client/AccountManagement.d.ts.map +1 -1
  4. package/api/client/AccountManagement.js.map +1 -1
  5. package/api/client/Assets.d.ts +2 -2
  6. package/api/client/Assets.d.ts.map +1 -1
  7. package/api/client/Assets.js.map +1 -1
  8. package/api/client/Claims.d.ts +2 -2
  9. package/api/client/Claims.d.ts.map +1 -1
  10. package/api/client/Claims.js +16 -17
  11. package/api/client/Claims.js.map +1 -1
  12. package/api/client/Identities.d.ts +5 -5
  13. package/api/client/Identities.d.ts.map +1 -1
  14. package/api/client/Identities.js.map +1 -1
  15. package/api/client/Network.d.ts +2 -2
  16. package/api/client/Network.d.ts.map +1 -1
  17. package/api/client/Network.js.map +1 -1
  18. package/api/client/Polymesh.d.ts +1 -2
  19. package/api/client/Polymesh.d.ts.map +1 -1
  20. package/api/client/Settlements.d.ts +2 -4
  21. package/api/client/Settlements.d.ts.map +1 -1
  22. package/api/client/Settlements.js +5 -6
  23. package/api/client/Settlements.js.map +1 -1
  24. package/api/entities/Asset/Checkpoints/Schedules.d.ts +2 -2
  25. package/api/entities/Asset/Checkpoints/Schedules.d.ts.map +1 -1
  26. package/api/entities/Asset/Checkpoints/Schedules.js.map +1 -1
  27. package/api/entities/Asset/Compliance/Requirements.d.ts +2 -2
  28. package/api/entities/Asset/Compliance/Requirements.d.ts.map +1 -1
  29. package/api/entities/Asset/Compliance/Requirements.js.map +1 -1
  30. package/api/entities/Asset/Compliance/TrustedClaimIssuers.d.ts +2 -2
  31. package/api/entities/Asset/Compliance/TrustedClaimIssuers.d.ts.map +1 -1
  32. package/api/entities/Asset/Compliance/TrustedClaimIssuers.js.map +1 -1
  33. package/api/entities/Asset/CorporateActions/Distributions.d.ts +2 -2
  34. package/api/entities/Asset/CorporateActions/Distributions.d.ts.map +1 -1
  35. package/api/entities/Asset/CorporateActions/Distributions.js.map +1 -1
  36. package/api/entities/Asset/CorporateActions/index.d.ts +5 -5
  37. package/api/entities/Asset/CorporateActions/index.d.ts.map +1 -1
  38. package/api/entities/Asset/CorporateActions/index.js.map +1 -1
  39. package/api/entities/Asset/Documents.d.ts +2 -2
  40. package/api/entities/Asset/Documents.d.ts.map +1 -1
  41. package/api/entities/Asset/Documents.js.map +1 -1
  42. package/api/entities/Asset/Offerings.d.ts +2 -2
  43. package/api/entities/Asset/Offerings.d.ts.map +1 -1
  44. package/api/entities/Asset/Offerings.js.map +1 -1
  45. package/api/entities/Asset/Permissions.d.ts +5 -5
  46. package/api/entities/Asset/Permissions.d.ts.map +1 -1
  47. package/api/entities/Asset/Permissions.js.map +1 -1
  48. package/api/entities/Asset/TransferRestrictions/Count.d.ts +2 -2
  49. package/api/entities/Asset/TransferRestrictions/Count.d.ts.map +1 -1
  50. package/api/entities/Asset/TransferRestrictions/Count.js.map +1 -1
  51. package/api/entities/Asset/TransferRestrictions/Percentage.d.ts +2 -2
  52. package/api/entities/Asset/TransferRestrictions/Percentage.d.ts.map +1 -1
  53. package/api/entities/Asset/TransferRestrictions/Percentage.js.map +1 -1
  54. package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.d.ts +3 -7
  55. package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.d.ts.map +1 -1
  56. package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.js.map +1 -1
  57. package/api/entities/Asset/index.d.ts +8 -8
  58. package/api/entities/Asset/index.d.ts.map +1 -1
  59. package/api/entities/Asset/index.js.map +1 -1
  60. package/api/entities/AuthorizationRequest.d.ts +1 -2
  61. package/api/entities/AuthorizationRequest.d.ts.map +1 -1
  62. package/api/entities/Checkpoint.d.ts +1 -2
  63. package/api/entities/Checkpoint.d.ts.map +1 -1
  64. package/api/entities/CheckpointSchedule/index.d.ts +2 -3
  65. package/api/entities/CheckpointSchedule/index.d.ts.map +1 -1
  66. package/api/entities/CorporateAction.d.ts +2 -2
  67. package/api/entities/CorporateAction.d.ts.map +1 -1
  68. package/api/entities/CorporateAction.js.map +1 -1
  69. package/api/entities/CorporateActionBase/index.d.ts +2 -2
  70. package/api/entities/CorporateActionBase/index.d.ts.map +1 -1
  71. package/api/entities/CorporateActionBase/index.js.map +1 -1
  72. package/api/entities/CustomPermissionGroup.d.ts +2 -2
  73. package/api/entities/CustomPermissionGroup.d.ts.map +1 -1
  74. package/api/entities/CustomPermissionGroup.js.map +1 -1
  75. package/api/entities/DividendDistribution/index.d.ts +3 -4
  76. package/api/entities/DividendDistribution/index.d.ts.map +1 -1
  77. package/api/entities/DividendDistribution/index.js.map +1 -1
  78. package/api/entities/Identity/AssetPermissions.d.ts +2 -2
  79. package/api/entities/Identity/AssetPermissions.d.ts.map +1 -1
  80. package/api/entities/Identity/AssetPermissions.js.map +1 -1
  81. package/api/entities/Identity/index.d.ts +4 -2
  82. package/api/entities/Identity/index.d.ts.map +1 -1
  83. package/api/entities/Identity/index.js +4 -2
  84. package/api/entities/Identity/index.js.map +1 -1
  85. package/api/entities/Instruction/index.d.ts.map +1 -1
  86. package/api/entities/Instruction/index.js +3 -3
  87. package/api/entities/Instruction/index.js.map +1 -1
  88. package/api/entities/NumberedPortfolio.d.ts +2 -2
  89. package/api/entities/NumberedPortfolio.d.ts.map +1 -1
  90. package/api/entities/NumberedPortfolio.js.map +1 -1
  91. package/api/entities/Offering/index.d.ts +4 -5
  92. package/api/entities/Offering/index.d.ts.map +1 -1
  93. package/api/entities/Offering/index.js +1 -1
  94. package/api/entities/Offering/index.js.map +1 -1
  95. package/api/entities/Portfolio/index.d.ts +6 -7
  96. package/api/entities/Portfolio/index.d.ts.map +1 -1
  97. package/api/entities/Portfolio/index.js.map +1 -1
  98. package/api/entities/Subsidy/index.d.ts +2 -2
  99. package/api/entities/Subsidy/index.d.ts.map +1 -1
  100. package/api/entities/Subsidy/index.js +9 -10
  101. package/api/entities/Subsidy/index.js.map +1 -1
  102. package/api/entities/TickerReservation/index.d.ts +5 -5
  103. package/api/entities/TickerReservation/index.d.ts.map +1 -1
  104. package/api/entities/TickerReservation/index.js.map +1 -1
  105. package/api/entities/Venue/index.d.ts +2 -2
  106. package/api/entities/Venue/index.d.ts.map +1 -1
  107. package/api/entities/Venue/index.js.map +1 -1
  108. package/api/procedures/addAssetRequirement.d.ts +1 -9
  109. package/api/procedures/addAssetRequirement.d.ts.map +1 -1
  110. package/api/procedures/addAssetRequirement.js.map +1 -1
  111. package/api/procedures/addInstruction.d.ts +2 -34
  112. package/api/procedures/addInstruction.d.ts.map +1 -1
  113. package/api/procedures/addInstruction.js.map +1 -1
  114. package/api/procedures/addInvestorUniquenessClaim.d.ts +2 -9
  115. package/api/procedures/addInvestorUniquenessClaim.d.ts.map +1 -1
  116. package/api/procedures/addInvestorUniquenessClaim.js.map +1 -1
  117. package/api/procedures/addTransferRestriction.d.ts +1 -7
  118. package/api/procedures/addTransferRestriction.d.ts.map +1 -1
  119. package/api/procedures/addTransferRestriction.js.map +1 -1
  120. package/api/procedures/claimClassicTicker.d.ts +1 -12
  121. package/api/procedures/claimClassicTicker.d.ts.map +1 -1
  122. package/api/procedures/claimClassicTicker.js.map +1 -1
  123. package/api/procedures/configureDividendDistribution.d.ts +1 -53
  124. package/api/procedures/configureDividendDistribution.d.ts.map +1 -1
  125. package/api/procedures/configureDividendDistribution.js.map +1 -1
  126. package/api/procedures/controllerTransfer.d.ts +1 -12
  127. package/api/procedures/controllerTransfer.d.ts.map +1 -1
  128. package/api/procedures/controllerTransfer.js.map +1 -1
  129. package/api/procedures/createAsset.d.ts +1 -36
  130. package/api/procedures/createAsset.d.ts.map +1 -1
  131. package/api/procedures/createAsset.js.map +1 -1
  132. package/api/procedures/createCheckpointSchedule.d.ts +1 -17
  133. package/api/procedures/createCheckpointSchedule.d.ts.map +1 -1
  134. package/api/procedures/createCheckpointSchedule.js.map +1 -1
  135. package/api/procedures/createGroup.d.ts +1 -8
  136. package/api/procedures/createGroup.d.ts.map +1 -1
  137. package/api/procedures/createGroup.js.map +1 -1
  138. package/api/procedures/createVenue.d.ts +1 -5
  139. package/api/procedures/createVenue.d.ts.map +1 -1
  140. package/api/procedures/createVenue.js.map +1 -1
  141. package/api/procedures/investInOffering.d.ts +2 -20
  142. package/api/procedures/investInOffering.d.ts.map +1 -1
  143. package/api/procedures/investInOffering.js.map +1 -1
  144. package/api/procedures/inviteAccount.d.ts +2 -7
  145. package/api/procedures/inviteAccount.d.ts.map +1 -1
  146. package/api/procedures/inviteAccount.js.map +1 -1
  147. package/api/procedures/inviteExternalAgent.d.ts +2 -17
  148. package/api/procedures/inviteExternalAgent.d.ts.map +1 -1
  149. package/api/procedures/inviteExternalAgent.js.map +1 -1
  150. package/api/procedures/launchOffering.d.ts +3 -46
  151. package/api/procedures/launchOffering.d.ts.map +1 -1
  152. package/api/procedures/launchOffering.js.map +1 -1
  153. package/api/procedures/linkCaDocs.d.ts +1 -7
  154. package/api/procedures/linkCaDocs.d.ts.map +1 -1
  155. package/api/procedures/linkCaDocs.js.map +1 -1
  156. package/api/procedures/modifyAllowance.d.ts +2 -23
  157. package/api/procedures/modifyAllowance.d.ts.map +1 -1
  158. package/api/procedures/modifyAllowance.js +5 -6
  159. package/api/procedures/modifyAllowance.js.map +1 -1
  160. package/api/procedures/modifyAsset.d.ts +1 -25
  161. package/api/procedures/modifyAsset.d.ts.map +1 -1
  162. package/api/procedures/modifyAsset.js.map +1 -1
  163. package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts +2 -11
  164. package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts.map +1 -1
  165. package/api/procedures/modifyAssetTrustedClaimIssuers.js.map +1 -1
  166. package/api/procedures/modifyCaCheckpoint.d.ts +1 -7
  167. package/api/procedures/modifyCaCheckpoint.d.ts.map +1 -1
  168. package/api/procedures/modifyCaCheckpoint.js.map +1 -1
  169. package/api/procedures/modifyCaDefaultConfig.d.ts +1 -15
  170. package/api/procedures/modifyCaDefaultConfig.d.ts.map +1 -1
  171. package/api/procedures/modifyCaDefaultConfig.js.map +1 -1
  172. package/api/procedures/modifyClaims.d.ts +2 -25
  173. package/api/procedures/modifyClaims.d.ts.map +1 -1
  174. package/api/procedures/modifyClaims.js +8 -9
  175. package/api/procedures/modifyClaims.js.map +1 -1
  176. package/api/procedures/modifyComplianceRequirement.d.ts +1 -14
  177. package/api/procedures/modifyComplianceRequirement.d.ts.map +1 -1
  178. package/api/procedures/modifyComplianceRequirement.js.map +1 -1
  179. package/api/procedures/modifyCorporateActionsAgent.d.ts +2 -11
  180. package/api/procedures/modifyCorporateActionsAgent.d.ts.map +1 -1
  181. package/api/procedures/modifyCorporateActionsAgent.js.map +1 -1
  182. package/api/procedures/modifyInstructionAffirmation.d.ts +2 -9
  183. package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
  184. package/api/procedures/modifyInstructionAffirmation.js +5 -6
  185. package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
  186. package/api/procedures/modifyOfferingTimes.d.ts +1 -16
  187. package/api/procedures/modifyOfferingTimes.d.ts.map +1 -1
  188. package/api/procedures/modifyOfferingTimes.js.map +1 -1
  189. package/api/procedures/modifyPrimaryIssuanceAgent.d.ts +2 -11
  190. package/api/procedures/modifyPrimaryIssuanceAgent.d.ts.map +1 -1
  191. package/api/procedures/modifyPrimaryIssuanceAgent.js.map +1 -1
  192. package/api/procedures/modifySignerPermissions.d.ts +1 -10
  193. package/api/procedures/modifySignerPermissions.d.ts.map +1 -1
  194. package/api/procedures/modifySignerPermissions.js.map +1 -1
  195. package/api/procedures/modifyVenue.d.ts +1 -11
  196. package/api/procedures/modifyVenue.d.ts.map +1 -1
  197. package/api/procedures/modifyVenue.js.map +1 -1
  198. package/api/procedures/moveFunds.d.ts +1 -12
  199. package/api/procedures/moveFunds.d.ts.map +1 -1
  200. package/api/procedures/moveFunds.js.map +1 -1
  201. package/api/procedures/payDividends.d.ts +2 -4
  202. package/api/procedures/payDividends.d.ts.map +1 -1
  203. package/api/procedures/payDividends.js.map +1 -1
  204. package/api/procedures/quitCustody.d.ts +2 -1
  205. package/api/procedures/quitCustody.d.ts.map +1 -1
  206. package/api/procedures/quitCustody.js.map +1 -1
  207. package/api/procedures/redeemTokens.d.ts +1 -4
  208. package/api/procedures/redeemTokens.d.ts.map +1 -1
  209. package/api/procedures/redeemTokens.js.map +1 -1
  210. package/api/procedures/registerIdentity.d.ts +2 -9
  211. package/api/procedures/registerIdentity.d.ts.map +1 -1
  212. package/api/procedures/registerIdentity.js.map +1 -1
  213. package/api/procedures/removeAssetRequirement.d.ts +1 -5
  214. package/api/procedures/removeAssetRequirement.d.ts.map +1 -1
  215. package/api/procedures/removeAssetRequirement.js.map +1 -1
  216. package/api/procedures/removeCheckpointSchedule.d.ts +2 -8
  217. package/api/procedures/removeCheckpointSchedule.d.ts.map +1 -1
  218. package/api/procedures/removeCheckpointSchedule.js.map +1 -1
  219. package/api/procedures/removeCorporateAction.d.ts +2 -5
  220. package/api/procedures/removeCorporateAction.d.ts.map +1 -1
  221. package/api/procedures/removeCorporateAction.js.map +1 -1
  222. package/api/procedures/removeExternalAgent.d.ts +2 -4
  223. package/api/procedures/removeExternalAgent.d.ts.map +1 -1
  224. package/api/procedures/removeExternalAgent.js.map +1 -1
  225. package/api/procedures/removeSecondaryAccounts.d.ts +1 -4
  226. package/api/procedures/removeSecondaryAccounts.d.ts.map +1 -1
  227. package/api/procedures/removeSecondaryAccounts.js.map +1 -1
  228. package/api/procedures/renamePortfolio.d.ts +1 -3
  229. package/api/procedures/renamePortfolio.d.ts.map +1 -1
  230. package/api/procedures/renamePortfolio.js.map +1 -1
  231. package/api/procedures/reserveTicker.d.ts +1 -7
  232. package/api/procedures/reserveTicker.d.ts.map +1 -1
  233. package/api/procedures/reserveTicker.js.map +1 -1
  234. package/api/procedures/setAssetDocuments.d.ts +1 -7
  235. package/api/procedures/setAssetDocuments.d.ts.map +1 -1
  236. package/api/procedures/setAssetDocuments.js.map +1 -1
  237. package/api/procedures/setAssetRequirements.d.ts +1 -8
  238. package/api/procedures/setAssetRequirements.d.ts.map +1 -1
  239. package/api/procedures/setAssetRequirements.js.map +1 -1
  240. package/api/procedures/setCustodian.d.ts +2 -5
  241. package/api/procedures/setCustodian.d.ts.map +1 -1
  242. package/api/procedures/setCustodian.js.map +1 -1
  243. package/api/procedures/setGroupPermissions.d.ts +1 -8
  244. package/api/procedures/setGroupPermissions.d.ts.map +1 -1
  245. package/api/procedures/setGroupPermissions.js.map +1 -1
  246. package/api/procedures/setPermissionGroup.d.ts +1 -29
  247. package/api/procedures/setPermissionGroup.d.ts.map +1 -1
  248. package/api/procedures/setPermissionGroup.js.map +1 -1
  249. package/api/procedures/setTransferRestrictions.d.ts +1 -15
  250. package/api/procedures/setTransferRestrictions.d.ts.map +1 -1
  251. package/api/procedures/setTransferRestrictions.js.map +1 -1
  252. package/api/procedures/subsidizeAccount.d.ts +2 -12
  253. package/api/procedures/subsidizeAccount.d.ts.map +1 -1
  254. package/api/procedures/subsidizeAccount.js.map +1 -1
  255. package/api/procedures/transferAssetOwnership.d.ts +2 -8
  256. package/api/procedures/transferAssetOwnership.d.ts.map +1 -1
  257. package/api/procedures/transferAssetOwnership.js.map +1 -1
  258. package/api/procedures/transferPolyx.d.ts +2 -16
  259. package/api/procedures/transferPolyx.d.ts.map +1 -1
  260. package/api/procedures/transferPolyx.js.map +1 -1
  261. package/api/procedures/transferTickerOwnership.d.ts +2 -8
  262. package/api/procedures/transferTickerOwnership.d.ts.map +1 -1
  263. package/api/procedures/transferTickerOwnership.js.map +1 -1
  264. package/api/procedures/types.d.ts +648 -0
  265. package/api/procedures/types.d.ts.map +1 -0
  266. package/api/procedures/types.js +27 -0
  267. package/api/procedures/types.js.map +1 -0
  268. package/api/procedures/utils.d.ts +2 -2
  269. package/api/procedures/utils.d.ts.map +1 -1
  270. package/api/procedures/utils.js.map +1 -1
  271. package/api/procedures/waivePermissions.d.ts +1 -3
  272. package/api/procedures/waivePermissions.d.ts.map +1 -1
  273. package/api/procedures/waivePermissions.js.map +1 -1
  274. package/internal.d.ts +51 -51
  275. package/internal.d.ts.map +1 -1
  276. package/internal.js +2 -2
  277. package/internal.js.map +1 -1
  278. package/npm-package/polymeshassociation-polymesh-sdk-15.0.0-alpha.13.tgz +0 -0
  279. package/package.json +6 -5
  280. package/types/index.d.ts +10 -36
  281. package/types/index.d.ts.map +1 -1
  282. package/types/index.js +8 -6
  283. package/types/index.js.map +1 -1
  284. package/types/internal.d.ts +5 -28
  285. package/types/internal.d.ts.map +1 -1
  286. package/types/internal.js +1 -19
  287. package/types/internal.js.map +1 -1
  288. package/utils/conversion.d.ts +2 -2
  289. package/utils/conversion.d.ts.map +1 -1
  290. package/utils/conversion.js.map +1 -1
  291. package/npm-package/polymeshassociation-polymesh-sdk-15.0.0-alpha.12.tgz +0 -0
@@ -0,0 +1,648 @@
1
+ import BigNumber from 'bignumber.js';
2
+ import { Account, Asset, CheckpointSchedule, CorporateActionBase, CustomPermissionGroup, DefaultPortfolio, Identity, KnownPermissionGroup, NumberedPortfolio, Venue } from "../../internal";
3
+ import { ActiveTransferRestrictions, AssetDocument, CalendarPeriod, ClaimTarget, CountTransferRestriction, InputCaCheckpoint, InputCondition, InputCorporateActionTargets, InputCorporateActionTaxWithholdings, InputTargets, InputTaxWithholding, InputTrustedClaimIssuer, OfferingTier, PercentageTransferRestriction, PermissionedAccount, PermissionsLike, PortfolioLike, PortfolioMovement, Requirement, Scope, SecurityIdentifier, TransactionPermissions, TxGroup, VenueType } from "../../types";
4
+ import { Modify } from "../../types/utils";
5
+ export declare type AddRestrictionParams<T> = Omit<T extends TransferRestrictionType.Count ? AddCountTransferRestrictionParams : AddPercentageTransferRestrictionParams, 'type'>;
6
+ export declare type SetRestrictionsParams<T> = Omit<T extends TransferRestrictionType.Count ? SetCountTransferRestrictionsParams : SetPercentageTransferRestrictionsParams, 'type'>;
7
+ export declare type GetTransferRestrictionReturnType<T> = ActiveTransferRestrictions<T extends TransferRestrictionType.Count ? CountTransferRestriction : PercentageTransferRestriction>;
8
+ export declare enum TransferRestrictionType {
9
+ Count = "Count",
10
+ Percentage = "Percentage"
11
+ }
12
+ export interface TransferRestriction {
13
+ type: TransferRestrictionType;
14
+ value: BigNumber;
15
+ }
16
+ interface TransferRestrictionInputBase {
17
+ /**
18
+ * array of Identities (or DIDs) that are exempted from the Restriction
19
+ */
20
+ exemptedIdentities?: (Identity | string)[];
21
+ }
22
+ export interface CountTransferRestrictionInput extends TransferRestrictionInputBase {
23
+ /**
24
+ * limit on the amount of different (unique) investors that can hold the Asset at once
25
+ */
26
+ count: BigNumber;
27
+ }
28
+ export interface PercentageTransferRestrictionInput extends TransferRestrictionInputBase {
29
+ /**
30
+ * maximum percentage (0-100) of the total supply of the Asset that can be held by a single investor at once
31
+ */
32
+ percentage: BigNumber;
33
+ }
34
+ export declare type AddCountTransferRestrictionParams = CountTransferRestrictionInput & {
35
+ type: TransferRestrictionType.Count;
36
+ };
37
+ export declare type AddPercentageTransferRestrictionParams = PercentageTransferRestrictionInput & {
38
+ type: TransferRestrictionType.Percentage;
39
+ };
40
+ export interface SetCountTransferRestrictionsParams {
41
+ /**
42
+ * array of Count Transfer Restrictions with their corresponding exemptions (if applicable)
43
+ */
44
+ restrictions: CountTransferRestrictionInput[];
45
+ type: TransferRestrictionType.Count;
46
+ }
47
+ export interface SetPercentageTransferRestrictionsParams {
48
+ /**
49
+ * array of Percentage Transfer Restrictions with their corresponding exemptions (if applicable)
50
+ */
51
+ restrictions: PercentageTransferRestrictionInput[];
52
+ type: TransferRestrictionType.Percentage;
53
+ }
54
+ export interface InviteAccountParams {
55
+ targetAccount: string | Account;
56
+ permissions?: PermissionsLike;
57
+ expiry?: Date;
58
+ }
59
+ export interface ModifySignerPermissionsParams {
60
+ /**
61
+ * list of secondary Accounts
62
+ */
63
+ secondaryAccounts: Modify<PermissionedAccount, {
64
+ permissions: PermissionsLike;
65
+ }>[];
66
+ }
67
+ export interface RemoveSecondaryAccountsParams {
68
+ accounts: Account[];
69
+ }
70
+ export interface SubsidizeAccountParams {
71
+ /**
72
+ * Account to subsidize
73
+ */
74
+ beneficiary: string | Account;
75
+ /**
76
+ * amount of POLYX to be subsidized. This can be increased/decreased later on
77
+ */
78
+ allowance: BigNumber;
79
+ }
80
+ export interface ClaimClassicTickerParams {
81
+ /**
82
+ * signature generated by signing a message formed by the DID (hex without the leading 0x),
83
+ * prefixed by `classic_claim`. Example: if the DID is `0x1230000000000000000000000000000000000000000000000000000000000000`,
84
+ * the message would be `classic_claim1230000000000000000000000000000000000000000000000000000000000000`
85
+ */
86
+ ethereumSignature: string;
87
+ /**
88
+ * ticker symbol to claim
89
+ */
90
+ ticker: string;
91
+ }
92
+ export interface CreateAssetParams {
93
+ name: string;
94
+ /**
95
+ * amount of Asset tokens that will be minted on creation (optional, default doesn't mint)
96
+ */
97
+ initialSupply?: BigNumber;
98
+ /**
99
+ * whether a single Asset token can be divided into decimal parts
100
+ */
101
+ isDivisible: boolean;
102
+ /**
103
+ * type of security that the Asset represents (i.e. Equity, Debt, Commodity, etc). Common values are included in the
104
+ * {@link types!KnownAssetType} enum, but custom values can be used as well. Custom values must be registered on-chain the first time
105
+ * they're used, requiring an additional transaction. They aren't tied to a specific Asset
106
+ */
107
+ assetType: string;
108
+ /**
109
+ * array of domestic or international alphanumeric security identifiers for the Asset (ISIN, CUSIP, FIGI, etc)
110
+ */
111
+ securityIdentifiers?: SecurityIdentifier[];
112
+ /**
113
+ * (optional) funding round in which the Asset currently is (Series A, Series B, etc)
114
+ */
115
+ fundingRound?: string;
116
+ documents?: AssetDocument[];
117
+ /**
118
+ * whether this asset requires investors to have a Investor Uniqueness Claim in order
119
+ * to hold it. More information about Investor Uniqueness and PUIS [here](https://developers.polymesh.live/introduction/identity#polymesh-unique-identity-system-puis)
120
+ */
121
+ requireInvestorUniqueness: boolean;
122
+ }
123
+ export interface CreateAssetWithTickerParams extends CreateAssetParams {
124
+ ticker: string;
125
+ }
126
+ export interface ReserveTickerParams {
127
+ /**
128
+ * ticker symbol to reserve
129
+ */
130
+ ticker: string;
131
+ extendPeriod?: boolean;
132
+ }
133
+ export declare enum ClaimOperation {
134
+ Revoke = "Revoke",
135
+ Add = "Add",
136
+ Edit = "Edit"
137
+ }
138
+ export interface AddClaimsParams {
139
+ /**
140
+ * array of claims to be added
141
+ */
142
+ claims: ClaimTarget[];
143
+ operation: ClaimOperation.Add;
144
+ }
145
+ export interface EditClaimsParams {
146
+ /**
147
+ * array of claims to be edited
148
+ */
149
+ claims: ClaimTarget[];
150
+ operation: ClaimOperation.Edit;
151
+ }
152
+ export interface RevokeClaimsParams {
153
+ /**
154
+ * array of claims to be revoked
155
+ */
156
+ claims: Omit<ClaimTarget, 'expiry'>[];
157
+ operation: ClaimOperation.Revoke;
158
+ }
159
+ export declare type ModifyClaimsParams = AddClaimsParams | EditClaimsParams | RevokeClaimsParams;
160
+ export interface ScopeClaimProof {
161
+ proofScopeIdWellFormed: string;
162
+ proofScopeIdCddIdMatch: {
163
+ challengeResponses: [string, string];
164
+ subtractExpressionsRes: string;
165
+ blindedScopeDidHash: string;
166
+ };
167
+ }
168
+ export interface AddInvestorUniquenessClaimParams {
169
+ scope: Scope;
170
+ cddId: string;
171
+ proof: string | ScopeClaimProof;
172
+ scopeId: string;
173
+ expiry?: Date;
174
+ }
175
+ export interface RegisterIdentityParams {
176
+ targetAccount: string | Account;
177
+ secondaryAccounts?: Modify<PermissionedAccount, {
178
+ permissions: PermissionsLike;
179
+ }>[];
180
+ }
181
+ export interface TransferPolyxParams {
182
+ /**
183
+ * Account that will receive the POLYX
184
+ */
185
+ to: string | Account;
186
+ /**
187
+ * amount of POLYX to be transferred
188
+ */
189
+ amount: BigNumber;
190
+ /**
191
+ * identifier string to help differentiate transfers
192
+ */
193
+ memo?: string;
194
+ }
195
+ export interface AddInstructionParams {
196
+ /**
197
+ * array of Asset movements (amount, from, to, asset)
198
+ */
199
+ legs: {
200
+ amount: BigNumber;
201
+ from: PortfolioLike;
202
+ to: PortfolioLike;
203
+ asset: string | Asset;
204
+ }[];
205
+ /**
206
+ * date at which the trade was agreed upon (optional, for off chain trades)
207
+ */
208
+ tradeDate?: Date;
209
+ /**
210
+ * date at which the trade was executed (optional, for off chain trades)
211
+ */
212
+ valueDate?: Date;
213
+ /**
214
+ * block at which the Instruction will be executed automatically (optional, the Instruction will be executed when all participants have authorized it if not supplied)
215
+ */
216
+ endBlock?: BigNumber;
217
+ }
218
+ export interface AddInstructionsParams {
219
+ /**
220
+ * array of Instructions to be added in the Venue
221
+ */
222
+ instructions: AddInstructionParams[];
223
+ }
224
+ export interface AddInstructionWithVenueIdParams extends AddInstructionParams {
225
+ venueId: BigNumber;
226
+ }
227
+ export interface AffirmInstructionParams {
228
+ id: BigNumber;
229
+ }
230
+ export declare enum InstructionAffirmationOperation {
231
+ Affirm = "Affirm",
232
+ Withdraw = "Withdraw",
233
+ Reject = "Reject"
234
+ }
235
+ export interface ModifyInstructionAffirmationParams {
236
+ id: BigNumber;
237
+ operation: InstructionAffirmationOperation;
238
+ }
239
+ export interface CreateVenueParams {
240
+ description: string;
241
+ type: VenueType;
242
+ }
243
+ export interface ControllerTransferParams {
244
+ /**
245
+ * portfolio (or portfolio ID) from which Assets will be transferred
246
+ */
247
+ originPortfolio: PortfolioLike;
248
+ /**
249
+ * amount of Asset tokens to transfer
250
+ */
251
+ amount: BigNumber;
252
+ }
253
+ export declare type ModifyAssetParams = {
254
+ /**
255
+ * makes an indivisible Asset divisible
256
+ */
257
+ makeDivisible?: true;
258
+ name: string;
259
+ fundingRound?: string;
260
+ identifiers?: SecurityIdentifier[];
261
+ } | {
262
+ makeDivisible: true;
263
+ name?: string;
264
+ fundingRound?: string;
265
+ identifiers?: SecurityIdentifier[];
266
+ } | {
267
+ makeDivisible?: true;
268
+ name?: string;
269
+ fundingRound: string;
270
+ identifiers?: SecurityIdentifier[];
271
+ } | {
272
+ makeDivisible?: true;
273
+ name?: string;
274
+ fundingRound?: string;
275
+ identifiers: SecurityIdentifier[];
276
+ };
277
+ export interface ModifyPrimaryIssuanceAgentParams {
278
+ /**
279
+ * Identity to be set as primary issuance agent
280
+ */
281
+ target: string | Identity;
282
+ /**
283
+ * date at which the authorization request to modify the primary issuance agent expires (optional, never expires if a date is not provided)
284
+ */
285
+ requestExpiry?: Date;
286
+ }
287
+ export interface RedeemTokensParams {
288
+ amount: BigNumber;
289
+ }
290
+ export interface TransferAssetOwnershipParams {
291
+ target: string | Identity;
292
+ /**
293
+ * date at which the authorization request for transfer expires (optional)
294
+ */
295
+ expiry?: Date;
296
+ }
297
+ export interface CreateCheckpointScheduleParams {
298
+ /**
299
+ * The date from which to begin creating snapshots. A null value indicates immediately
300
+ */
301
+ start: Date | null;
302
+ /**
303
+ * The cadence with which to make Checkpoints.
304
+ * @note A null value indicates to create only one Checkpoint, regardless of repetitions specified. This can be used to schedule the creation of a Checkpoint in the future
305
+ */
306
+ period: CalendarPeriod | null;
307
+ /**
308
+ * The number of snapshots to take. A null value indicates snapshots should be made indefinitely
309
+ */
310
+ repetitions: BigNumber | null;
311
+ }
312
+ export interface RemoveCheckpointScheduleParams {
313
+ /**
314
+ * schedule (or ID) of the schedule to be removed
315
+ */
316
+ schedule: CheckpointSchedule | BigNumber;
317
+ }
318
+ export interface AddAssetRequirementParams {
319
+ /**
320
+ * array of conditions that form the requirement that must be added.
321
+ * Conditions within a requirement are *AND* between them. This means that in order
322
+ * for a transfer to comply with this requirement, it must fulfill *ALL* conditions
323
+ */
324
+ conditions: InputCondition[];
325
+ }
326
+ export declare type ModifyComplianceRequirementParams = {
327
+ /**
328
+ * ID of the Compliance Requirement
329
+ */
330
+ id: BigNumber;
331
+ /**
332
+ * array of conditions to replace the existing array of conditions for the requirement (identified by `id`).
333
+ * Conditions within a requirement are *AND* between them. This means that in order
334
+ * for a transfer to comply with this requirement, it must fulfill *ALL* conditions
335
+ */
336
+ conditions: InputCondition[];
337
+ };
338
+ export interface RemoveAssetRequirementParams {
339
+ requirement: BigNumber | Requirement;
340
+ }
341
+ export interface SetAssetRequirementsParams {
342
+ /**
343
+ * array of array of conditions. For a transfer to be successful, it must comply with all the conditions of at least one of the arrays.
344
+ * In other words, higher level arrays are *OR* between them, while conditions inside each array are *AND* between them
345
+ */
346
+ requirements: InputCondition[][];
347
+ }
348
+ export interface ModifyAssetTrustedClaimIssuersAddSetParams {
349
+ claimIssuers: InputTrustedClaimIssuer[];
350
+ }
351
+ export interface ModifyAssetTrustedClaimIssuersRemoveParams {
352
+ /**
353
+ * array of Identities (or DIDs) of the default claim issuers
354
+ */
355
+ claimIssuers: (string | Identity)[];
356
+ }
357
+ export interface RemoveCorporateActionParams {
358
+ corporateAction: CorporateActionBase | BigNumber;
359
+ }
360
+ export interface ModifyCorporateActionsAgentParams {
361
+ /**
362
+ * Identity to be set as Corporate Actions Agent
363
+ */
364
+ target: string | Identity;
365
+ /**
366
+ * date at which the authorization request to modify the Corporate Actions Agent expires (optional, never expires if a date is not provided)
367
+ */
368
+ requestExpiry?: Date;
369
+ }
370
+ export declare type ModifyCaDefaultConfigParams = {
371
+ targets?: InputTargets;
372
+ defaultTaxWithholding: BigNumber;
373
+ taxWithholdings?: InputTaxWithholding[];
374
+ } | {
375
+ targets: InputTargets;
376
+ defaultTaxWithholding?: BigNumber;
377
+ taxWithholdings?: InputTaxWithholding[];
378
+ } | {
379
+ targets?: InputTargets;
380
+ defaultTaxWithholding?: BigNumber;
381
+ taxWithholdings: InputTaxWithholding[];
382
+ };
383
+ export interface ConfigureDividendDistributionParams {
384
+ /**
385
+ * date at which the issuer publicly declared the Dividend Distribution. Optional, defaults to the current date
386
+ */
387
+ declarationDate?: Date;
388
+ description: string;
389
+ /**
390
+ * Asset Holder Identities to be included (or excluded) from the Dividend Distribution. Inclusion/exclusion is controlled by the `treatment`
391
+ * property. When the value is `Include`, all Asset Holders not present in the array are excluded, and vice-versa. If no value is passed,
392
+ * the default value for the Asset is used. If there is no default value, all Asset Holders will be part of the Dividend Distribution
393
+ */
394
+ targets?: InputCorporateActionTargets;
395
+ /**
396
+ * default percentage (0-100) of the Benefits to be held for tax purposes
397
+ */
398
+ defaultTaxWithholding?: BigNumber;
399
+ /**
400
+ * percentage (0-100) of the Benefits to be held for tax purposes from individual Asset Holder Identities.
401
+ * This overrides the value of `defaultTaxWithholding`
402
+ */
403
+ taxWithholdings?: InputCorporateActionTaxWithholdings;
404
+ /**
405
+ * checkpoint to be used to calculate Dividends. If a Schedule is passed, the next Checkpoint it creates will be used.
406
+ * If a Date is passed, a Checkpoint will be created at that date and used
407
+ */
408
+ checkpoint: InputCaCheckpoint;
409
+ /**
410
+ * portfolio from which the Dividends will be distributed. Optional, defaults to the Dividend Distributions Agent's Default Portfolio
411
+ */
412
+ originPortfolio?: NumberedPortfolio | BigNumber;
413
+ /**
414
+ * ticker of the currency in which Dividends will be distributed
415
+ */
416
+ currency: string;
417
+ /**
418
+ * amount of `currency` to distribute per each share of the Asset that a target holds
419
+ */
420
+ perShare: BigNumber;
421
+ /**
422
+ * maximum amount of `currency` to distribute in total
423
+ */
424
+ maxAmount: BigNumber;
425
+ /**
426
+ * date from which Asset Holders can claim their Dividends
427
+ */
428
+ paymentDate: Date;
429
+ /**
430
+ * optional, defaults to never expiring
431
+ */
432
+ expiryDate?: Date;
433
+ }
434
+ export interface SetAssetDocumentsParams {
435
+ /**
436
+ * list of documents
437
+ */
438
+ documents: AssetDocument[];
439
+ }
440
+ export interface LaunchOfferingParams {
441
+ /**
442
+ * portfolio in which the Asset tokens to be sold are stored
443
+ */
444
+ offeringPortfolio: PortfolioLike;
445
+ /**
446
+ * portfolio in which the raised funds will be stored
447
+ */
448
+ raisingPortfolio: PortfolioLike;
449
+ /**
450
+ * ticker symbol of the currency in which the funds are being raised (i.e. 'USD' or 'CAD').
451
+ * Other Assets can be used as currency as well
452
+ */
453
+ raisingCurrency: string;
454
+ /**
455
+ * venue through which all offering related trades will be settled
456
+ * (optional, defaults to the first `Sto` type Venue owned by the owner of the Offering Portfolio.
457
+ * If passed, it must be of type `Sto`)
458
+ */
459
+ venue?: Venue;
460
+ name: string;
461
+ /**
462
+ * start date of the Offering (optional, defaults to right now)
463
+ */
464
+ start?: Date;
465
+ /**
466
+ * end date of the Offering (optional, defaults to never)
467
+ */
468
+ end?: Date;
469
+ /**
470
+ * array of sale tiers. Each tier consists of an amount of Assets to be sold at a certain price.
471
+ * Tokens in a tier can only be bought when all tokens in previous tiers have been bought
472
+ */
473
+ tiers: OfferingTier[];
474
+ /**
475
+ * minimum amount that can be spent on this offering
476
+ */
477
+ minInvestment: BigNumber;
478
+ }
479
+ export interface CreateGroupParams {
480
+ permissions: {
481
+ transactions: TransactionPermissions;
482
+ } | {
483
+ transactionGroups: TxGroup[];
484
+ };
485
+ }
486
+ export interface InviteExternalAgentParams {
487
+ target: string | Identity;
488
+ permissions: KnownPermissionGroup | CustomPermissionGroup | {
489
+ transactions: TransactionPermissions | null;
490
+ } | {
491
+ transactionGroups: TxGroup[];
492
+ };
493
+ /**
494
+ * date at which the authorization request for invitation expires (optional)
495
+ *
496
+ * @note if expiry date is not set, the invitation will never expire
497
+ * @note due to chain limitations, the expiry will be ignored if the passed `permissions` don't correspond to an existing Permission Group
498
+ */
499
+ expiry?: Date;
500
+ }
501
+ export interface RemoveExternalAgentParams {
502
+ target: string | Identity;
503
+ }
504
+ export interface LinkCaDocsParams {
505
+ /**
506
+ * list of documents
507
+ */
508
+ documents: AssetDocument[];
509
+ }
510
+ export interface ModifyCaCheckpointParams {
511
+ checkpoint: InputCaCheckpoint | null;
512
+ }
513
+ export interface SetGroupPermissionsParams {
514
+ permissions: {
515
+ transactions: TransactionPermissions;
516
+ } | {
517
+ transactionGroups: TxGroup[];
518
+ };
519
+ }
520
+ export declare type ModifyVenueParams = {
521
+ description?: string;
522
+ type: VenueType;
523
+ } | {
524
+ description: string;
525
+ type?: VenueType;
526
+ } | {
527
+ description: string;
528
+ type: VenueType;
529
+ };
530
+ export interface TransferTickerOwnershipParams {
531
+ target: string | Identity;
532
+ /**
533
+ * date at which the authorization request for transfer expires (optional)
534
+ */
535
+ expiry?: Date;
536
+ }
537
+ export declare enum AllowanceOperation {
538
+ Set = "Set",
539
+ Increase = "Increase",
540
+ Decrease = "Decrease"
541
+ }
542
+ export interface IncreaseAllowanceParams {
543
+ /**
544
+ * amount of POLYX to increase the allowance by
545
+ */
546
+ allowance: BigNumber;
547
+ operation: AllowanceOperation.Increase;
548
+ }
549
+ export interface DecreaseAllowanceParams {
550
+ /**
551
+ * amount of POLYX to decrease the allowance by
552
+ */
553
+ allowance: BigNumber;
554
+ operation: AllowanceOperation.Decrease;
555
+ }
556
+ export interface SetAllowanceParams {
557
+ /**
558
+ * amount of POLYX to set the allowance to
559
+ */
560
+ allowance: BigNumber;
561
+ operation: AllowanceOperation.Set;
562
+ }
563
+ export declare type ModifyOfferingTimesParams = {
564
+ /**
565
+ * new start time (optional, will be left the same if not passed)
566
+ */
567
+ start?: Date;
568
+ /**
569
+ * new end time (optional, will be left th same if not passed). A null value means the Offering doesn't end
570
+ */
571
+ end: Date | null;
572
+ } | {
573
+ start: Date;
574
+ end?: Date | null;
575
+ } | {
576
+ start: Date;
577
+ end: Date | null;
578
+ };
579
+ export interface InvestInOfferingParams {
580
+ /**
581
+ * portfolio in which the purchased Asset tokens will be stored
582
+ */
583
+ purchasePortfolio: PortfolioLike;
584
+ /**
585
+ * portfolio from which funds will be withdrawn to pay for the Asset tokens
586
+ */
587
+ fundingPortfolio: PortfolioLike;
588
+ /**
589
+ * amount of Asset tokens to purchase
590
+ */
591
+ purchaseAmount: BigNumber;
592
+ /**
593
+ * maximum average price to pay per Asset token (optional)
594
+ */
595
+ maxPrice?: BigNumber;
596
+ }
597
+ export interface RenamePortfolioParams {
598
+ name: string;
599
+ }
600
+ export interface WaivePermissionsParams {
601
+ asset: string | Asset;
602
+ }
603
+ export interface AssetBase {
604
+ /**
605
+ * Asset over which the Identity will be granted permissions
606
+ */
607
+ asset: string | Asset;
608
+ }
609
+ export interface TransactionsParams extends AssetBase {
610
+ /**
611
+ * a null value means full permissions
612
+ */
613
+ transactions: TransactionPermissions | null;
614
+ }
615
+ export interface TxGroupParams extends AssetBase {
616
+ transactionGroups: TxGroup[];
617
+ }
618
+ /**
619
+ * This procedure can be called with:
620
+ * - An Asset's existing Custom Permission Group. The Identity will be assigned as an Agent of that Group for that Asset
621
+ * - A Known Permission Group and an Asset. The Identity will be assigned as an Agent of that Group for that Asset
622
+ * - A set of Transaction Permissions and an Asset. If there is no Custom Permission Group with those permissions, a Custom Permission Group will be created for that Asset with those permissions, and
623
+ * the Identity will be assigned as an Agent of that Group for that Asset. Otherwise, the existing Group will be used
624
+ * - An array of {@link types!TxGroup | Transaction Groups} that represent a set of permissions. If there is no Custom Permission Group with those permissions, a Custom Permission Group will be created with those permissions, and
625
+ * the Identity will be assigned as an Agent of that Group for that Asset. Otherwise, the existing Group will be used
626
+ */
627
+ export interface SetPermissionGroupParams {
628
+ group: KnownPermissionGroup | CustomPermissionGroup | TransactionsParams | TxGroupParams;
629
+ }
630
+ export interface PayDividendsParams {
631
+ targets: (string | Identity)[];
632
+ }
633
+ export interface SetCustodianParams {
634
+ targetIdentity: string | Identity;
635
+ expiry?: Date;
636
+ }
637
+ export interface MoveFundsParams {
638
+ /**
639
+ * portfolio (or portfolio ID) that will receive the funds. Optional, if no value is passed, the funds will be moved to the default Portfolio of this Portfolio's owner
640
+ */
641
+ to?: BigNumber | DefaultPortfolio | NumberedPortfolio;
642
+ /**
643
+ * list of Assets (and the corresponding token amounts) that will be moved
644
+ */
645
+ items: PortfolioMovement[];
646
+ }
647
+ export {};
648
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,OAAO,EACL,OAAO,EACP,KAAK,EACL,kBAAkB,EAClB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,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC;CACvB;AAED,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD;;OAEG;IACH,YAAY,EAAE,sBAAsB,GAAG,IAAI,CAAC;CAC7C;AAED,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,iBAAiB,EAAE,OAAO,EAAE,CAAC;CAC9B;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,oBAAoB,GAAG,qBAAqB,GAAG,kBAAkB,GAAG,aAAa,CAAC;CAC1F;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,CAAC,MAAM,GAAG,QAAQ,CAAC,EAAE,CAAC;CAChC;AAED,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,GAAG,QAAQ,CAAC;IAClC,MAAM,CAAC,EAAE,IAAI,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,SAAS,GAAG,gBAAgB,GAAG,iBAAiB,CAAC;IACtD;;OAEG;IACH,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AllowanceOperation = exports.InstructionAffirmationOperation = exports.ClaimOperation = exports.TransferRestrictionType = void 0;
4
+ var TransferRestrictionType;
5
+ (function (TransferRestrictionType) {
6
+ TransferRestrictionType["Count"] = "Count";
7
+ TransferRestrictionType["Percentage"] = "Percentage";
8
+ })(TransferRestrictionType = exports.TransferRestrictionType || (exports.TransferRestrictionType = {}));
9
+ var ClaimOperation;
10
+ (function (ClaimOperation) {
11
+ ClaimOperation["Revoke"] = "Revoke";
12
+ ClaimOperation["Add"] = "Add";
13
+ ClaimOperation["Edit"] = "Edit";
14
+ })(ClaimOperation = exports.ClaimOperation || (exports.ClaimOperation = {}));
15
+ var InstructionAffirmationOperation;
16
+ (function (InstructionAffirmationOperation) {
17
+ InstructionAffirmationOperation["Affirm"] = "Affirm";
18
+ InstructionAffirmationOperation["Withdraw"] = "Withdraw";
19
+ InstructionAffirmationOperation["Reject"] = "Reject";
20
+ })(InstructionAffirmationOperation = exports.InstructionAffirmationOperation || (exports.InstructionAffirmationOperation = {}));
21
+ var AllowanceOperation;
22
+ (function (AllowanceOperation) {
23
+ AllowanceOperation["Set"] = "Set";
24
+ AllowanceOperation["Increase"] = "Increase";
25
+ AllowanceOperation["Decrease"] = "Decrease";
26
+ })(AllowanceOperation = exports.AllowanceOperation || (exports.AllowanceOperation = {}));
27
+ //# sourceMappingURL=types.js.map