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

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 (197) hide show
  1. package/CHANGELOG.md +22 -5
  2. package/api/client/Assets.d.ts +7 -1
  3. package/api/client/Assets.d.ts.map +1 -1
  4. package/api/client/Assets.js +18 -0
  5. package/api/client/Assets.js.map +1 -1
  6. package/api/client/Claims.d.ts +60 -1
  7. package/api/client/Claims.d.ts.map +1 -1
  8. package/api/client/Claims.js +130 -3
  9. package/api/client/Claims.js.map +1 -1
  10. package/api/client/Identities.d.ts +7 -1
  11. package/api/client/Identities.d.ts.map +1 -1
  12. package/api/client/Identities.js +13 -1
  13. package/api/client/Identities.js.map +1 -1
  14. package/api/client/Network.d.ts +51 -0
  15. package/api/client/Network.d.ts.map +1 -1
  16. package/api/client/Network.js +106 -0
  17. package/api/client/Network.js.map +1 -1
  18. package/api/client/Polymesh.d.ts +1 -0
  19. package/api/client/Polymesh.d.ts.map +1 -1
  20. package/api/client/Polymesh.js +33 -28
  21. package/api/client/Polymesh.js.map +1 -1
  22. package/api/entities/Account.d.ts +22 -0
  23. package/api/entities/Account.d.ts.map +1 -1
  24. package/api/entities/Account.js +71 -5
  25. package/api/entities/Account.js.map +1 -1
  26. package/api/entities/Asset/TransferRestrictions/ClaimCount.d.ts +61 -0
  27. package/api/entities/Asset/TransferRestrictions/ClaimCount.d.ts.map +1 -0
  28. package/api/entities/Asset/TransferRestrictions/ClaimCount.js +16 -0
  29. package/api/entities/Asset/TransferRestrictions/ClaimCount.js.map +1 -0
  30. package/api/entities/Asset/TransferRestrictions/ClaimPercentage.d.ts +52 -0
  31. package/api/entities/Asset/TransferRestrictions/ClaimPercentage.d.ts.map +1 -0
  32. package/api/entities/Asset/TransferRestrictions/ClaimPercentage.js +16 -0
  33. package/api/entities/Asset/TransferRestrictions/ClaimPercentage.js.map +1 -0
  34. package/api/entities/Asset/TransferRestrictions/Count.d.ts +41 -4
  35. package/api/entities/Asset/TransferRestrictions/Count.d.ts.map +1 -1
  36. package/api/entities/Asset/TransferRestrictions/Count.js +6 -2
  37. package/api/entities/Asset/TransferRestrictions/Count.js.map +1 -1
  38. package/api/entities/Asset/TransferRestrictions/Percentage.d.ts +17 -2
  39. package/api/entities/Asset/TransferRestrictions/Percentage.d.ts.map +1 -1
  40. package/api/entities/Asset/TransferRestrictions/Percentage.js.map +1 -1
  41. package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.d.ts +15 -1
  42. package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.d.ts.map +1 -1
  43. package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.js +41 -6
  44. package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.js.map +1 -1
  45. package/api/entities/Asset/TransferRestrictions/index.d.ts +4 -0
  46. package/api/entities/Asset/TransferRestrictions/index.d.ts.map +1 -1
  47. package/api/entities/Asset/TransferRestrictions/index.js +4 -0
  48. package/api/entities/Asset/TransferRestrictions/index.js.map +1 -1
  49. package/api/entities/Asset/index.d.ts +15 -0
  50. package/api/entities/Asset/index.d.ts.map +1 -1
  51. package/api/entities/Asset/index.js +38 -0
  52. package/api/entities/Asset/index.js.map +1 -1
  53. package/api/entities/CorporateActionBase/index.js +1 -1
  54. package/api/entities/CorporateActionBase/index.js.map +1 -1
  55. package/api/entities/DefaultTrustedClaimIssuer.d.ts +7 -0
  56. package/api/entities/DefaultTrustedClaimIssuer.d.ts.map +1 -1
  57. package/api/entities/DefaultTrustedClaimIssuer.js +17 -0
  58. package/api/entities/DefaultTrustedClaimIssuer.js.map +1 -1
  59. package/api/entities/DividendDistribution/index.d.ts +16 -0
  60. package/api/entities/DividendDistribution/index.d.ts.map +1 -1
  61. package/api/entities/DividendDistribution/index.js +69 -0
  62. package/api/entities/DividendDistribution/index.js.map +1 -1
  63. package/api/entities/Identity/AssetPermissions.d.ts +29 -0
  64. package/api/entities/Identity/AssetPermissions.d.ts.map +1 -1
  65. package/api/entities/Identity/AssetPermissions.js +53 -1
  66. package/api/entities/Identity/AssetPermissions.js.map +1 -1
  67. package/api/entities/Identity/index.d.ts +23 -4
  68. package/api/entities/Identity/index.d.ts.map +1 -1
  69. package/api/entities/Identity/index.js +68 -23
  70. package/api/entities/Identity/index.js.map +1 -1
  71. package/api/entities/Instruction/index.d.ts +11 -0
  72. package/api/entities/Instruction/index.d.ts.map +1 -1
  73. package/api/entities/Instruction/index.js +51 -0
  74. package/api/entities/Instruction/index.js.map +1 -1
  75. package/api/entities/NumberedPortfolio.d.ts +7 -0
  76. package/api/entities/NumberedPortfolio.d.ts.map +1 -1
  77. package/api/entities/NumberedPortfolio.js +17 -0
  78. package/api/entities/NumberedPortfolio.js.map +1 -1
  79. package/api/entities/Offering/index.d.ts +13 -0
  80. package/api/entities/Offering/index.d.ts.map +1 -1
  81. package/api/entities/Offering/index.js +32 -0
  82. package/api/entities/Offering/index.js.map +1 -1
  83. package/api/entities/Portfolio/index.d.ts +12 -0
  84. package/api/entities/Portfolio/index.d.ts.map +1 -1
  85. package/api/entities/Portfolio/index.js +94 -5
  86. package/api/entities/Portfolio/index.js.map +1 -1
  87. package/api/entities/Venue/index.d.ts +5 -1
  88. package/api/entities/Venue/index.d.ts.map +1 -1
  89. package/api/entities/Venue/index.js +8 -1
  90. package/api/entities/Venue/index.js.map +1 -1
  91. package/api/procedures/addAssetStat.d.ts +16 -0
  92. package/api/procedures/addAssetStat.d.ts.map +1 -0
  93. package/api/procedures/addAssetStat.js +91 -0
  94. package/api/procedures/addAssetStat.js.map +1 -0
  95. package/api/procedures/addTransferRestriction.d.ts +5 -15
  96. package/api/procedures/addTransferRestriction.d.ts.map +1 -1
  97. package/api/procedures/addTransferRestriction.js +43 -87
  98. package/api/procedures/addTransferRestriction.js.map +1 -1
  99. package/api/procedures/createAsset.d.ts +1 -1
  100. package/api/procedures/createAsset.d.ts.map +1 -1
  101. package/api/procedures/createAsset.js +56 -31
  102. package/api/procedures/createAsset.js.map +1 -1
  103. package/api/procedures/createPortfolios.d.ts +21 -0
  104. package/api/procedures/createPortfolios.d.ts.map +1 -0
  105. package/api/procedures/createPortfolios.js +79 -0
  106. package/api/procedures/createPortfolios.js.map +1 -0
  107. package/api/procedures/leaveIdentity.d.ts.map +1 -1
  108. package/api/procedures/leaveIdentity.js +6 -2
  109. package/api/procedures/leaveIdentity.js.map +1 -1
  110. package/api/procedures/modifySignerPermissions.d.ts.map +1 -1
  111. package/api/procedures/modifySignerPermissions.js +4 -2
  112. package/api/procedures/modifySignerPermissions.js.map +1 -1
  113. package/api/procedures/removeAssetRequirement.js +1 -1
  114. package/api/procedures/removeAssetRequirement.js.map +1 -1
  115. package/api/procedures/removeAssetStat.d.ts +16 -0
  116. package/api/procedures/removeAssetStat.d.ts.map +1 -0
  117. package/api/procedures/removeAssetStat.js +88 -0
  118. package/api/procedures/removeAssetStat.js.map +1 -0
  119. package/api/procedures/removeSecondaryAccounts.d.ts.map +1 -1
  120. package/api/procedures/removeSecondaryAccounts.js +3 -3
  121. package/api/procedures/removeSecondaryAccounts.js.map +1 -1
  122. package/api/procedures/renamePortfolio.js +1 -1
  123. package/api/procedures/renamePortfolio.js.map +1 -1
  124. package/api/procedures/setTransferRestrictions.d.ts +1 -7
  125. package/api/procedures/setTransferRestrictions.d.ts.map +1 -1
  126. package/api/procedures/setTransferRestrictions.js +51 -64
  127. package/api/procedures/setTransferRestrictions.js.map +1 -1
  128. package/api/procedures/types.d.ts +98 -5
  129. package/api/procedures/types.d.ts.map +1 -1
  130. package/api/procedures/types.js +25 -1
  131. package/api/procedures/types.js.map +1 -1
  132. package/api/procedures/utils.d.ts.map +1 -1
  133. package/api/procedures/utils.js +3 -7
  134. package/api/procedures/utils.js.map +1 -1
  135. package/base/Context.d.ts +61 -0
  136. package/base/Context.d.ts.map +1 -1
  137. package/base/Context.js +150 -5
  138. package/base/Context.js.map +1 -1
  139. package/base/Procedure.js +1 -1
  140. package/generated/utils.js +1 -1
  141. package/generated/utils.js.map +1 -1
  142. package/internal.d.ts +6 -3
  143. package/internal.d.ts.map +1 -1
  144. package/internal.js +8 -4
  145. package/internal.js.map +1 -1
  146. package/middleware/queriesV2.d.ts +142 -0
  147. package/middleware/queriesV2.d.ts.map +1 -0
  148. package/middleware/queriesV2.js +772 -0
  149. package/middleware/queriesV2.js.map +1 -0
  150. package/middleware/typesV2.d.ts +26467 -0
  151. package/middleware/typesV2.d.ts.map +1 -0
  152. package/middleware/typesV2.js +2697 -0
  153. package/middleware/typesV2.js.map +1 -0
  154. package/npm-package/polymeshassociation-polymesh-sdk-15.0.0-alpha.16.tgz +0 -0
  155. package/package.json +54 -58
  156. package/polkadot/augment-api-events.d.ts +135 -34
  157. package/polkadot/augment-api-events.d.ts.map +1 -1
  158. package/polkadot/augment-api-query.d.ts +4 -7
  159. package/polkadot/augment-api-query.d.ts.map +1 -1
  160. package/polkadot/augment-api-rpc.d.ts +6 -2
  161. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  162. package/polkadot/augment-api-tx.d.ts +25 -67
  163. package/polkadot/augment-api-tx.d.ts.map +1 -1
  164. package/polkadot/augment-types.d.ts +8 -6
  165. package/polkadot/augment-types.d.ts.map +1 -1
  166. package/polkadot/lookup.d.ts +0 -32
  167. package/polkadot/lookup.d.ts.map +1 -1
  168. package/polkadot/lookup.js +13 -45
  169. package/polkadot/lookup.js.map +1 -1
  170. package/polkadot/registry.d.ts +1 -9
  171. package/polkadot/registry.d.ts.map +1 -1
  172. package/polkadot/types-lookup.d.ts +14 -38
  173. package/polkadot/types-lookup.d.ts.map +1 -1
  174. package/types/index.d.ts +114 -3
  175. package/types/index.d.ts.map +1 -1
  176. package/types/index.js +10 -3
  177. package/types/index.js.map +1 -1
  178. package/types/internal.d.ts +14 -2
  179. package/types/internal.d.ts.map +1 -1
  180. package/types/internal.js +2 -0
  181. package/types/internal.js.map +1 -1
  182. package/types/utils/index.d.ts +14 -0
  183. package/types/utils/index.d.ts.map +1 -1
  184. package/types/utils/index.js.map +1 -1
  185. package/utils/conversion.d.ts +101 -15
  186. package/utils/conversion.d.ts.map +1 -1
  187. package/utils/conversion.js +410 -30
  188. package/utils/conversion.js.map +1 -1
  189. package/utils/internal.d.ts +58 -5
  190. package/utils/internal.d.ts.map +1 -1
  191. package/utils/internal.js +252 -17
  192. package/utils/internal.js.map +1 -1
  193. package/api/procedures/createPortfolio.d.ts +0 -21
  194. package/api/procedures/createPortfolio.d.ts.map +0 -1
  195. package/api/procedures/createPortfolio.js +0 -64
  196. package/api/procedures/createPortfolio.js.map +0 -1
  197. package/npm-package/polymeshassociation-polymesh-sdk-15.0.0-alpha.13.tgz +0 -0
@@ -1,8 +1,8 @@
1
1
  import type { ApiTypes } from '@polkadot/api-base/types';
2
- import type { Bytes, Compact, Option, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
3
- import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
2
+ import type { BTreeSet, Bytes, Compact, Option, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
3
+ import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
4
4
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
5
- import type { BTreeSetIdentityId, BTreeSetStatType, BTreeSetStatUpdate, BTreeSetTransferCondition, ConfidentialIdentityClaimProofsScopeClaimProof, FrameSupportScheduleMaybeHashed, PalletAssetCheckpointScheduleSpec, PalletAssetClassicTickerImport, PalletAssetTickerRegistrationConfig, PalletBridgeBridgeTx, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletPortfolioMovePortfolioItem, PalletRewardsItnRewardStatus, PalletSettlementLeg, PalletSettlementReceiptDetails, PalletSettlementSettlementType, PalletSettlementVenueType, PalletStakingCompactAssignments, PalletStakingElectionSize, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesBalancesMemo, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesCddIdInvestorUid, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEthereumEcdsaSignature, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesInvestorZkproofDataV1InvestorZKProofData, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpRuntimeHeader, SpRuntimeMultiSignature, SpSessionMembershipProof } from "./types-lookup.ts";
5
+ import type { ConfidentialIdentityClaimProofsScopeClaimProof, FrameSupportScheduleMaybeHashed, PalletAssetCheckpointScheduleSpec, PalletAssetClassicTickerImport, PalletAssetTickerRegistrationConfig, PalletBridgeBridgeTx, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletPortfolioMovePortfolioItem, PalletRewardsItnRewardStatus, PalletSettlementLeg, PalletSettlementReceiptDetails, PalletSettlementSettlementType, PalletSettlementVenueType, PalletStakingCompactAssignments, PalletStakingElectionSize, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesBalancesMemo, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesCddIdInvestorUid, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEthereumEcdsaSignature, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesInvestorZkproofDataV1InvestorZKProofData, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpRuntimeHeader, SpRuntimeMultiSignature, SpSessionMembershipProof } from "./types-lookup.ts";
6
6
  declare module '@polkadot/api-base/types/submittable' {
7
7
  interface AugmentedSubmittables<ApiType extends ApiTypes> {
8
8
  asset: {
@@ -2849,10 +2849,7 @@ declare module '@polkadot/api-base/types/submittable' {
2849
2849
  * * `auto_close` - Close proposal on receiving enough reject votes.
2850
2850
  * If this is 1 out of `m` multisig, the proposal will be immediately executed.
2851
2851
  **/
2852
- createOrApproveProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | {
2853
- callIndex?: any;
2854
- args?: any;
2855
- } | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2852
+ createOrApproveProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2856
2853
  AccountId32,
2857
2854
  Call,
2858
2855
  Option<u64>,
@@ -2868,10 +2865,7 @@ declare module '@polkadot/api-base/types/submittable' {
2868
2865
  * * `auto_close` - Close proposal on receiving enough reject votes.
2869
2866
  * If this is 1 out of `m` multisig, the proposal will be immediately executed.
2870
2867
  **/
2871
- createOrApproveProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | {
2872
- callIndex?: any;
2873
- args?: any;
2874
- } | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2868
+ createOrApproveProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2875
2869
  AccountId32,
2876
2870
  Call,
2877
2871
  Option<u64>,
@@ -2887,10 +2881,7 @@ declare module '@polkadot/api-base/types/submittable' {
2887
2881
  * * `auto_close` - Close proposal on receiving enough reject votes.
2888
2882
  * If this is 1 out of `m` multisig, the proposal will be immediately executed.
2889
2883
  **/
2890
- createProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | {
2891
- callIndex?: any;
2892
- args?: any;
2893
- } | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2884
+ createProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2894
2885
  AccountId32,
2895
2886
  Call,
2896
2887
  Option<u64>,
@@ -2906,10 +2897,7 @@ declare module '@polkadot/api-base/types/submittable' {
2906
2897
  * * `auto_close` - Close proposal on receiving enough reject votes.
2907
2898
  * If this is 1 out of `m` multisig, the proposal will be immediately executed.
2908
2899
  **/
2909
- createProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | {
2910
- callIndex?: any;
2911
- args?: any;
2912
- } | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2900
+ createProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2913
2901
  AccountId32,
2914
2902
  Call,
2915
2903
  Option<u64>,
@@ -3071,10 +3059,7 @@ declare module '@polkadot/api-base/types/submittable' {
3071
3059
  * * `deposit` minimum deposit value, which is ignored if `proposer` is a committee.
3072
3060
  * * `url` a link to a website for proposal discussion
3073
3061
  **/
3074
- propose: AugmentedSubmittable<(proposal: Call | {
3075
- callIndex?: any;
3076
- args?: any;
3077
- } | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, url: Option<Bytes> | null | object | string | Uint8Array, description: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3062
+ propose: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, url: Option<Bytes> | null | object | string | Uint8Array, description: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3078
3063
  Call,
3079
3064
  u128,
3080
3065
  Option<Bytes>,
@@ -3295,10 +3280,7 @@ declare module '@polkadot/api-base/types/submittable' {
3295
3280
  * * `FirstVoteReject`, if `call` hasn't been proposed and `approve == false`.
3296
3281
  * * `NotAMember`, if the `origin` is not a member of this committee.
3297
3282
  **/
3298
- voteOrPropose: AugmentedSubmittable<(approve: bool | boolean | Uint8Array, call: Call | {
3299
- callIndex?: any;
3300
- args?: any;
3301
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3283
+ voteOrPropose: AugmentedSubmittable<(approve: bool | boolean | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3302
3284
  bool,
3303
3285
  Call
3304
3286
  ]>;
@@ -4956,10 +4938,10 @@ declare module '@polkadot/api-base/types/submittable' {
4956
4938
  } | string | Uint8Array, statType: PolymeshPrimitivesStatisticsStatType | {
4957
4939
  op?: any;
4958
4940
  claimIssuer?: any;
4959
- } | string | Uint8Array, values: BTreeSetStatUpdate) => SubmittableExtrinsic<ApiType>, [
4941
+ } | string | Uint8Array, values: BTreeSet<PolymeshPrimitivesStatisticsStatUpdate>) => SubmittableExtrinsic<ApiType>, [
4960
4942
  PolymeshPrimitivesStatisticsAssetScope,
4961
4943
  PolymeshPrimitivesStatisticsStatType,
4962
- BTreeSetStatUpdate
4944
+ BTreeSet<PolymeshPrimitivesStatisticsStatUpdate>
4963
4945
  ]>;
4964
4946
  /**
4965
4947
  * Set the active asset stat_types.
@@ -4980,9 +4962,9 @@ declare module '@polkadot/api-base/types/submittable' {
4980
4962
  **/
4981
4963
  setActiveAssetStats: AugmentedSubmittable<(asset: PolymeshPrimitivesStatisticsAssetScope | {
4982
4964
  Ticker: any;
4983
- } | string | Uint8Array, statTypes: BTreeSetStatType) => SubmittableExtrinsic<ApiType>, [
4965
+ } | string | Uint8Array, statTypes: BTreeSet<PolymeshPrimitivesStatisticsStatType>) => SubmittableExtrinsic<ApiType>, [
4984
4966
  PolymeshPrimitivesStatisticsAssetScope,
4985
- BTreeSetStatType
4967
+ BTreeSet<PolymeshPrimitivesStatisticsStatType>
4986
4968
  ]>;
4987
4969
  /**
4988
4970
  * Set asset transfer compliance rules.
@@ -5003,9 +4985,9 @@ declare module '@polkadot/api-base/types/submittable' {
5003
4985
  **/
5004
4986
  setAssetTransferCompliance: AugmentedSubmittable<(asset: PolymeshPrimitivesStatisticsAssetScope | {
5005
4987
  Ticker: any;
5006
- } | string | Uint8Array, transferConditions: BTreeSetTransferCondition) => SubmittableExtrinsic<ApiType>, [
4988
+ } | string | Uint8Array, transferConditions: BTreeSet<PolymeshPrimitivesTransferComplianceTransferCondition>) => SubmittableExtrinsic<ApiType>, [
5007
4989
  PolymeshPrimitivesStatisticsAssetScope,
5008
- BTreeSetTransferCondition
4990
+ BTreeSet<PolymeshPrimitivesTransferComplianceTransferCondition>
5009
4991
  ]>;
5010
4992
  /**
5011
4993
  * Set/unset entities exempt from an asset's transfer compliance rules.
@@ -5027,10 +5009,10 @@ declare module '@polkadot/api-base/types/submittable' {
5027
5009
  asset?: any;
5028
5010
  op?: any;
5029
5011
  claimType?: any;
5030
- } | string | Uint8Array, entities: BTreeSetIdentityId) => SubmittableExtrinsic<ApiType>, [
5012
+ } | string | Uint8Array, entities: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
5031
5013
  bool,
5032
5014
  PolymeshPrimitivesTransferComplianceTransferConditionExemptKey,
5033
- BTreeSetIdentityId
5015
+ BTreeSet<PolymeshPrimitivesIdentityId>
5034
5016
  ]>;
5035
5017
  };
5036
5018
  sto: {
@@ -5196,10 +5178,7 @@ declare module '@polkadot/api-base/types/submittable' {
5196
5178
  * - Weight of derivative `call` execution + 10,000.
5197
5179
  * # </weight>
5198
5180
  **/
5199
- sudo: AugmentedSubmittable<(call: Call | {
5200
- callIndex?: any;
5201
- args?: any;
5202
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5181
+ sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5203
5182
  Call
5204
5183
  ]>;
5205
5184
  /**
@@ -5225,10 +5204,7 @@ declare module '@polkadot/api-base/types/submittable' {
5225
5204
  Address32: any;
5226
5205
  } | {
5227
5206
  Address20: any;
5228
- } | string | Uint8Array, call: Call | {
5229
- callIndex?: any;
5230
- args?: any;
5231
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5207
+ } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5232
5208
  MultiAddress,
5233
5209
  Call
5234
5210
  ]>;
@@ -5244,10 +5220,7 @@ declare module '@polkadot/api-base/types/submittable' {
5244
5220
  * - The weight of this call is defined by the caller.
5245
5221
  * # </weight>
5246
5222
  **/
5247
- sudoUncheckedWeight: AugmentedSubmittable<(call: Call | {
5248
- callIndex?: any;
5249
- args?: any;
5250
- } | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5223
+ sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5251
5224
  Call,
5252
5225
  u64
5253
5226
  ]>;
@@ -5409,10 +5382,7 @@ declare module '@polkadot/api-base/types/submittable' {
5409
5382
  * * `FirstVoteReject`, if `call` hasn't been proposed and `approve == false`.
5410
5383
  * * `NotAMember`, if the `origin` is not a member of this committee.
5411
5384
  **/
5412
- voteOrPropose: AugmentedSubmittable<(approve: bool | boolean | Uint8Array, call: Call | {
5413
- callIndex?: any;
5414
- args?: any;
5415
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5385
+ voteOrPropose: AugmentedSubmittable<(approve: bool | boolean | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5416
5386
  bool,
5417
5387
  Call
5418
5388
  ]>;
@@ -5684,10 +5654,7 @@ declare module '@polkadot/api-base/types/submittable' {
5684
5654
  * * `FirstVoteReject`, if `call` hasn't been proposed and `approve == false`.
5685
5655
  * * `NotAMember`, if the `origin` is not a member of this committee.
5686
5656
  **/
5687
- voteOrPropose: AugmentedSubmittable<(approve: bool | boolean | Uint8Array, call: Call | {
5688
- callIndex?: any;
5689
- args?: any;
5690
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5657
+ voteOrPropose: AugmentedSubmittable<(approve: bool | boolean | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5691
5658
  bool,
5692
5659
  Call
5693
5660
  ]>;
@@ -5810,10 +5777,7 @@ declare module '@polkadot/api-base/types/submittable' {
5810
5777
  * and the error of the failed call. If all were successful, then the `BatchCompleted`
5811
5778
  * event is deposited.
5812
5779
  **/
5813
- batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | {
5814
- callIndex?: any;
5815
- args?: any;
5816
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
5780
+ batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
5817
5781
  Vec<Call>
5818
5782
  ]>;
5819
5783
  /**
@@ -5837,10 +5801,7 @@ declare module '@polkadot/api-base/types/submittable' {
5837
5801
  * If any call failed, then `BatchInterrupted` is deposited.
5838
5802
  * If all were successful, then the `BatchCompleted` event is deposited.
5839
5803
  **/
5840
- batchAtomic: AugmentedSubmittable<(calls: Vec<Call> | (Call | {
5841
- callIndex?: any;
5842
- args?: any;
5843
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
5804
+ batchAtomic: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
5844
5805
  Vec<Call>
5845
5806
  ]>;
5846
5807
  /**
@@ -5866,10 +5827,7 @@ declare module '@polkadot/api-base/types/submittable' {
5866
5827
  * of errors.
5867
5828
  * If all were successful, then the `BatchCompleted` event is deposited.
5868
5829
  **/
5869
- batchOptimistic: AugmentedSubmittable<(calls: Vec<Call> | (Call | {
5870
- callIndex?: any;
5871
- args?: any;
5872
- } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
5830
+ batchOptimistic: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
5873
5831
  Vec<Call>
5874
5832
  ]>;
5875
5833
  /**