@polymeshassociation/polymesh-types 7.2.0 → 7.4.0

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 (76) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +3 -2
  3. package/generated/types.d.ts +101 -8
  4. package/generated/types.d.ts.map +1 -1
  5. package/generated/types.js +101 -2
  6. package/generated/types.js.map +1 -1
  7. package/package.json +4 -3
  8. package/polkadot/asset/definitions.js +4 -4
  9. package/polkadot/asset/definitions.js.map +1 -1
  10. package/polkadot/augment-api-consts.d.ts +220 -6
  11. package/polkadot/augment-api-consts.d.ts.map +1 -1
  12. package/polkadot/augment-api-errors.d.ts +630 -117
  13. package/polkadot/augment-api-errors.d.ts.map +1 -1
  14. package/polkadot/augment-api-events.d.ts +668 -176
  15. package/polkadot/augment-api-events.d.ts.map +1 -1
  16. package/polkadot/augment-api-query.d.ts +719 -94
  17. package/polkadot/augment-api-query.d.ts.map +1 -1
  18. package/polkadot/augment-api-rpc.d.ts +22 -25
  19. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  20. package/polkadot/augment-api-runtime.d.ts +295 -32
  21. package/polkadot/augment-api-runtime.d.ts.map +1 -1
  22. package/polkadot/augment-api-tx.d.ts +1539 -506
  23. package/polkadot/augment-api-tx.d.ts.map +1 -1
  24. package/polkadot/augment-types.d.ts +19 -2
  25. package/polkadot/augment-types.d.ts.map +1 -1
  26. package/polkadot/identity/definitions.d.ts +0 -18
  27. package/polkadot/identity/definitions.d.ts.map +1 -1
  28. package/polkadot/identity/definitions.js +0 -42
  29. package/polkadot/identity/definitions.js.map +1 -1
  30. package/polkadot/lookup.d.ts +5163 -3246
  31. package/polkadot/lookup.d.ts.map +1 -1
  32. package/polkadot/lookup.js +6275 -4221
  33. package/polkadot/lookup.js.map +1 -1
  34. package/polkadot/nft/definitions.js +4 -4
  35. package/polkadot/nft/definitions.js.map +1 -1
  36. package/polkadot/polymesh/definitions.d.ts +93 -8
  37. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  38. package/polkadot/polymesh/definitions.js +228 -12
  39. package/polkadot/polymesh/definitions.js.map +1 -1
  40. package/polkadot/polymesh/types.d.ts +129 -20
  41. package/polkadot/polymesh/types.d.ts.map +1 -1
  42. package/polkadot/registry.d.ts +176 -15
  43. package/polkadot/registry.d.ts.map +1 -1
  44. package/polkadot/schema.d.ts +93 -26
  45. package/polkadot/schema.d.ts.map +1 -1
  46. package/polkadot/schema.js +238 -64
  47. package/polkadot/schema.js.map +1 -1
  48. package/polkadot/settlement/definitions.js +2 -2
  49. package/polkadot/types-lookup.d.ts +6016 -4313
  50. package/polkadot/types-lookup.d.ts.map +1 -1
  51. package/rpc/index.d.ts +0 -18
  52. package/rpc/index.d.ts.map +1 -1
  53. package/rpc/index.js +10 -52
  54. package/rpc/index.js.map +1 -1
  55. package/runtime/assetApi/v5.d.ts +3 -0
  56. package/runtime/assetApi/v5.d.ts.map +1 -0
  57. package/runtime/assetApi/v5.js +32 -0
  58. package/runtime/assetApi/v5.js.map +1 -0
  59. package/runtime/index.d.ts.map +1 -1
  60. package/runtime/index.js +6 -0
  61. package/runtime/index.js.map +1 -1
  62. package/runtime/nftApi/v3.d.ts +3 -0
  63. package/runtime/nftApi/v3.d.ts.map +1 -0
  64. package/runtime/nftApi/v3.js +28 -0
  65. package/runtime/nftApi/v3.js.map +1 -0
  66. package/runtime/settlementApi/v3.d.ts +3 -0
  67. package/runtime/settlementApi/v3.d.ts.map +1 -0
  68. package/runtime/settlementApi/v3.js +74 -0
  69. package/runtime/settlementApi/v3.js.map +1 -0
  70. package/signedExtensions/index.d.ts +4 -0
  71. package/signedExtensions/index.d.ts.map +1 -1
  72. package/signedExtensions/index.js +4 -0
  73. package/signedExtensions/index.js.map +1 -1
  74. package/types/8.0.x.json +96 -15
  75. package/types/index.d.ts +477 -0
  76. package/types/index.d.ts.map +1 -1
package/types/index.d.ts CHANGED
@@ -1,4 +1,481 @@
1
1
  declare const _default: ({
2
+ minmax: number[];
3
+ types: {
4
+ PolymeshAssetId: string;
5
+ IdentityId: string;
6
+ Ticker: string;
7
+ CddId: string;
8
+ PalletName: string;
9
+ ExtrinsicName: string;
10
+ AuthorizationNonce: string;
11
+ "ChainScopedMessage<Message>": {
12
+ genesisHash: string;
13
+ nonceOrId: string;
14
+ label: string;
15
+ expiresAt: string;
16
+ message: string;
17
+ };
18
+ ChainScopedMessageIdentityId: {
19
+ genesisHash: string;
20
+ nonceOrId: string;
21
+ label: string;
22
+ expiresAt: string;
23
+ message: string;
24
+ };
25
+ ChainScopedMessageReceipt: {
26
+ genesisHash: string;
27
+ nonceOrId: string;
28
+ label: string;
29
+ expiresAt: string;
30
+ message: string;
31
+ };
32
+ ChainScopedMessageFundraiserReceipt: {
33
+ genesisHash: string;
34
+ nonceOrId: string;
35
+ label: string;
36
+ expiresAt: string;
37
+ message: string;
38
+ };
39
+ ChainScopedMessageRuntimeCall: {
40
+ genesisHash: string;
41
+ nonceOrId: string;
42
+ label: string;
43
+ expiresAt: string;
44
+ message: string;
45
+ };
46
+ SecondaryKeyAuthMessage: string;
47
+ CreateChildIdentityAuthMessage: string;
48
+ FundraiserReceiptMessage: string;
49
+ ReceiptMessage: string;
50
+ RelayTxMessage: string;
51
+ Receipt: {
52
+ instructionId: string;
53
+ legId: string;
54
+ senderIdentity: string;
55
+ receiverIdentity: string;
56
+ ticker: string;
57
+ amount: string;
58
+ };
59
+ FundraiserId: string;
60
+ FundraiserReceipt: {
61
+ fundraiserId: string;
62
+ legId: string;
63
+ senderIdentity: string;
64
+ receiverIdentity: string;
65
+ ticker: string;
66
+ amount: string;
67
+ };
68
+ AssetPermissions: {
69
+ _enum: {
70
+ Whole: string;
71
+ These: string;
72
+ Except: string;
73
+ };
74
+ };
75
+ PortfolioPermissions: {
76
+ _enum: {
77
+ Whole: string;
78
+ These: string;
79
+ Except: string;
80
+ };
81
+ };
82
+ ExtrinsicNames: {
83
+ _enum: {
84
+ Whole: string;
85
+ These: string;
86
+ Except: string;
87
+ };
88
+ };
89
+ PalletPermissions: {
90
+ extrinsics: string;
91
+ };
92
+ ExtrinsicPermissions: {
93
+ _enum: {
94
+ Whole: string;
95
+ These: string;
96
+ Except: string;
97
+ };
98
+ };
99
+ Permissions: {
100
+ asset: string;
101
+ extrinsic: string;
102
+ portfolio: string;
103
+ };
104
+ Signatory: {
105
+ _enum: {
106
+ Identity: string;
107
+ Account: string;
108
+ };
109
+ };
110
+ SecondaryKey: {
111
+ key: string;
112
+ permissions: string;
113
+ };
114
+ KeyIdentityData: {
115
+ identity: string;
116
+ permissions: string;
117
+ };
118
+ CountryCode: {
119
+ _enum: string[];
120
+ };
121
+ Scope: {
122
+ _enum: {
123
+ Identity: string;
124
+ Asset: string;
125
+ Custom: string;
126
+ };
127
+ };
128
+ CustomClaimTypeId: string;
129
+ Claim: {
130
+ _enum: {
131
+ Accredited: string;
132
+ Affiliate: string;
133
+ BuyLockup: string;
134
+ SellLockup: string;
135
+ CustomerDueDiligence: string;
136
+ KnowYourCustomer: string;
137
+ Jurisdiction: string;
138
+ Exempted: string;
139
+ Blocked: string;
140
+ Custom: string;
141
+ };
142
+ };
143
+ ClaimType: {
144
+ _enum: {
145
+ Accredited: string;
146
+ Affiliate: string;
147
+ BuyLockup: string;
148
+ SellLockup: string;
149
+ CustomerDueDiligence: string;
150
+ KnowYourCustomer: string;
151
+ Jurisdiction: string;
152
+ Exempted: string;
153
+ Blocked: string;
154
+ Custom: string;
155
+ };
156
+ };
157
+ IdentityClaim: {
158
+ claimIssuer: string;
159
+ issuanceDate: string;
160
+ lastUpdateDate: string;
161
+ expiry: string;
162
+ claim: string;
163
+ };
164
+ ComplianceRequirementResult: {
165
+ senderConditions: string;
166
+ receiverConditions: string;
167
+ id: string;
168
+ result: string;
169
+ };
170
+ ConditionType: {
171
+ _enum: {
172
+ IsPresent: string;
173
+ IsAbsent: string;
174
+ IsAnyOf: string;
175
+ IsNoneOf: string;
176
+ IsIdentity: string;
177
+ };
178
+ };
179
+ TrustedFor: {
180
+ _enum: {
181
+ Any: string;
182
+ Specific: string;
183
+ };
184
+ };
185
+ TrustedIssuer: {
186
+ issuer: string;
187
+ trustedFor: string;
188
+ };
189
+ Condition: {
190
+ conditionType: string;
191
+ issuers: string;
192
+ };
193
+ ConditionResult: {
194
+ condition: string;
195
+ result: string;
196
+ };
197
+ PipId: string;
198
+ Authorization: {
199
+ authorizationData: string;
200
+ authorizedBy: string;
201
+ expiry: string;
202
+ authId: string;
203
+ count: string;
204
+ };
205
+ AuthorizationData: {
206
+ _enum: {
207
+ AttestPrimaryKeyRotation: string;
208
+ RotatePrimaryKey: string;
209
+ TransferTicker: string;
210
+ AddMultiSigSigner: string;
211
+ TransferAssetOwnership: string;
212
+ JoinIdentity: string;
213
+ PortfolioCustody: string;
214
+ BecomeAgent: string;
215
+ OldAddRelayerPayingKey: string;
216
+ RotatePrimaryKeyToSecondary: string;
217
+ };
218
+ };
219
+ Percentage: string;
220
+ StatClaim: {
221
+ _enum: {
222
+ Accredited: string;
223
+ Affiliate: string;
224
+ Jurisdiction: string;
225
+ };
226
+ };
227
+ TransferCondition: {
228
+ _enum: {
229
+ MaxInvestorCount: string;
230
+ MaxInvestorOwnership: string;
231
+ ClaimCount: string;
232
+ ClaimOwnership: string;
233
+ };
234
+ };
235
+ AssetComplianceResult: {
236
+ paused: string;
237
+ requirements: string;
238
+ result: string;
239
+ };
240
+ ProtocolOp: {
241
+ _enum: string[];
242
+ };
243
+ CddStatus: {
244
+ _enum: {
245
+ Ok: string;
246
+ Err: string;
247
+ };
248
+ };
249
+ DidActiveStatus: {
250
+ _enum: {
251
+ Ok: string;
252
+ Err: string;
253
+ };
254
+ };
255
+ AssetDidResult: {
256
+ _enum: {
257
+ Ok: string;
258
+ Err: string;
259
+ };
260
+ };
261
+ RpcDidRecordsSuccess: {
262
+ primaryKey: string;
263
+ secondaryKeys: string;
264
+ };
265
+ RpcDidRecords: {
266
+ _enum: {
267
+ Success: string;
268
+ IdNotFound: string;
269
+ };
270
+ };
271
+ VoteCountProposalFound: {
272
+ ayes: string;
273
+ nays: string;
274
+ };
275
+ VoteCount: {
276
+ _enum: {
277
+ ProposalFound: string;
278
+ ProposalNotFound: string;
279
+ };
280
+ };
281
+ CappedFee: string;
282
+ AuthorizationType: {
283
+ _enum: {
284
+ AttestPrimaryKeyRotation: string;
285
+ RotatePrimaryKey: string;
286
+ TransferTicker: string;
287
+ AddMultiSigSigner: string;
288
+ TransferAssetOwnership: string;
289
+ JoinIdentity: string;
290
+ PortfolioCustody: string;
291
+ BecomeAgent: string;
292
+ OldAddRelayerPayingKey: string;
293
+ RotatePrimaryKeyToSecondary: string;
294
+ };
295
+ };
296
+ DidStatus: {
297
+ _enum: {
298
+ Unknown: string;
299
+ Exists: string;
300
+ Active: string;
301
+ };
302
+ };
303
+ PortfolioNumber: string;
304
+ PortfolioKind: {
305
+ _enum: {
306
+ Default: string;
307
+ User: string;
308
+ };
309
+ };
310
+ PortfolioId: {
311
+ did: string;
312
+ kind: string;
313
+ };
314
+ PolymeshMoment: string;
315
+ InstructionId: string;
316
+ LegId: string;
317
+ TargetIdentity: {
318
+ _enum: {
319
+ ExternalAgent: string;
320
+ Specific: string;
321
+ };
322
+ };
323
+ CanTransferGranularReturn: {
324
+ _enum: {
325
+ Ok: string;
326
+ Err: string;
327
+ };
328
+ };
329
+ GranularCanTransferResult: {
330
+ invalidGranularity: string;
331
+ selfTransfer: string;
332
+ invalidReceiverCdd: string;
333
+ invalidSenderCdd: string;
334
+ receiverCustodianError: string;
335
+ senderCustodianError: string;
336
+ senderInsufficientBalance: string;
337
+ portfolioValidityResult: string;
338
+ assetFrozen: string;
339
+ transferConditionResult: string;
340
+ complianceResult: string;
341
+ result: string;
342
+ consumedWeight: string;
343
+ };
344
+ PortfolioValidityResult: {
345
+ receiverIsSamePortfolio: string;
346
+ senderPortfolioDoesNotExist: string;
347
+ receiverPortfolioDoesNotExist: string;
348
+ senderInsufficientBalance: string;
349
+ result: string;
350
+ };
351
+ TransferConditionResult: {
352
+ condition: string;
353
+ result: string;
354
+ };
355
+ AGId: string;
356
+ AgentGroup: {
357
+ _enum: {
358
+ Full: string;
359
+ Custom: string;
360
+ ExceptMeta: string;
361
+ PolymeshV1CAA: string;
362
+ PolymeshV1PIA: string;
363
+ };
364
+ };
365
+ Member: {
366
+ id: string;
367
+ expiryAt: string;
368
+ inactiveFrom: string;
369
+ };
370
+ NFTId: string;
371
+ NFTs: {
372
+ assetId: string;
373
+ ids: string;
374
+ };
375
+ FungibleLeg: {
376
+ sender: string;
377
+ receiver: string;
378
+ assetId: string;
379
+ amount: string;
380
+ };
381
+ NonFungibleLeg: {
382
+ sender: string;
383
+ receiver: string;
384
+ nfts: string;
385
+ };
386
+ OffChainLeg: {
387
+ senderIdentity: string;
388
+ receiverIdentity: string;
389
+ ticker: string;
390
+ amount: string;
391
+ };
392
+ Leg: {
393
+ _enum: {
394
+ Fungible: string;
395
+ NonFungible: string;
396
+ OffChain: string;
397
+ };
398
+ };
399
+ ExecuteInstructionInfo: {
400
+ fungibleTokens: string;
401
+ nonFungibleTokens: string;
402
+ offChainAssets: string;
403
+ consumedWeight: string;
404
+ error: string;
405
+ };
406
+ AssetCount: {
407
+ fungibleTokens: string;
408
+ nonFungibleTokens: string;
409
+ offChainAssets: string;
410
+ };
411
+ AffirmationCount: {
412
+ senderAssetCount: string;
413
+ receiverAssetCount: string;
414
+ offchainCount: string;
415
+ };
416
+ ComplianceReport: {
417
+ anyRequirementSatisfied: string;
418
+ pausedCompliance: string;
419
+ requirements: string;
420
+ };
421
+ RequirementReport: {
422
+ requirementSatisfied: string;
423
+ id: string;
424
+ senderConditions: string;
425
+ receiverConditions: string;
426
+ };
427
+ ConditionReport: {
428
+ satisfied: string;
429
+ condition: string;
430
+ };
431
+ PolymeshPrimitivesSettlementInstructionId: string;
432
+ PalletPipsPipId: string;
433
+ PalletProtocolFeeRpcRuntimeApiCappedFee: string;
434
+ PolymeshRuntimeDevelopRuntimeRuntimeCall: string;
435
+ AssetHolderKind: {
436
+ _enum: {
437
+ Account: string;
438
+ DefaultPortfolio: string;
439
+ UserPortfolio: string;
440
+ };
441
+ };
442
+ AssetHolder: {
443
+ _enum: {
444
+ Portfolio: string;
445
+ Account: string;
446
+ };
447
+ };
448
+ LegV7: {
449
+ _enum: {
450
+ Fungible: string;
451
+ NonFungible: string;
452
+ OffChain: string;
453
+ };
454
+ };
455
+ FungibleLegV7: {
456
+ sender: string;
457
+ receiver: string;
458
+ assetId: string;
459
+ amount: string;
460
+ };
461
+ NonFungibleLegV7: {
462
+ sender: string;
463
+ receiver: string;
464
+ nfts: string;
465
+ };
466
+ PortfolioIdV7: {
467
+ did: string;
468
+ kind: string;
469
+ };
470
+ PortfolioKindV7: {
471
+ _enum: {
472
+ Default: string;
473
+ User: string;
474
+ AccountId: string;
475
+ };
476
+ };
477
+ };
478
+ } | {
2
479
  minmax: number[];
3
480
  types: {
4
481
  PolymeshAssetId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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