@polymeshassociation/polymesh-types 5.12.0 → 5.12.2

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 (77) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/package.json +1 -1
  3. package/runtime/assetApi/v3.d.ts +3 -0
  4. package/runtime/assetApi/v3.d.ts.map +1 -0
  5. package/runtime/assetApi/v3.js +18 -0
  6. package/runtime/assetApi/v3.js.map +1 -0
  7. package/runtime/assetApi/v4.d.ts +3 -0
  8. package/runtime/assetApi/v4.d.ts.map +1 -0
  9. package/runtime/assetApi/v4.js +17 -0
  10. package/runtime/assetApi/v4.js.map +1 -0
  11. package/runtime/complianceApi/v1.d.ts +3 -0
  12. package/runtime/complianceApi/v1.d.ts.map +1 -0
  13. package/runtime/complianceApi/v1.js +15 -0
  14. package/runtime/complianceApi/v1.js.map +1 -0
  15. package/runtime/complianceApi/v2.d.ts +3 -0
  16. package/runtime/complianceApi/v2.d.ts.map +1 -0
  17. package/runtime/complianceApi/v2.js +15 -0
  18. package/runtime/complianceApi/v2.js.map +1 -0
  19. package/runtime/groupApi/v1.d.ts +3 -0
  20. package/runtime/groupApi/v1.d.ts.map +1 -0
  21. package/runtime/groupApi/v1.js +16 -0
  22. package/runtime/groupApi/v1.js.map +1 -0
  23. package/runtime/identityApi/v3.d.ts +3 -0
  24. package/runtime/identityApi/v3.d.ts.map +1 -0
  25. package/runtime/identityApi/v3.js +51 -0
  26. package/runtime/identityApi/v3.js.map +1 -0
  27. package/runtime/identityApi/v4.d.ts +3 -0
  28. package/runtime/identityApi/v4.d.ts.map +1 -0
  29. package/runtime/identityApi/v4.js +46 -0
  30. package/runtime/identityApi/v4.js.map +1 -0
  31. package/runtime/index.d.ts +3 -199
  32. package/runtime/index.d.ts.map +1 -1
  33. package/runtime/index.js +33 -301
  34. package/runtime/index.js.map +1 -1
  35. package/runtime/nftApi/v1.d.ts +3 -0
  36. package/runtime/nftApi/v1.d.ts.map +1 -0
  37. package/runtime/nftApi/v1.js +15 -0
  38. package/runtime/nftApi/v1.js.map +1 -0
  39. package/runtime/nftApi/v2.d.ts +3 -0
  40. package/runtime/nftApi/v2.d.ts.map +1 -0
  41. package/runtime/nftApi/v2.js +16 -0
  42. package/runtime/nftApi/v2.js.map +1 -0
  43. package/runtime/pipsApi/v1.d.ts +3 -0
  44. package/runtime/pipsApi/v1.d.ts.map +1 -0
  45. package/runtime/pipsApi/v1.js +21 -0
  46. package/runtime/pipsApi/v1.js.map +1 -0
  47. package/runtime/protocolApi/v1.d.ts +3 -0
  48. package/runtime/protocolApi/v1.d.ts.map +1 -0
  49. package/runtime/protocolApi/v1.js +11 -0
  50. package/runtime/protocolApi/v1.js.map +1 -0
  51. package/runtime/settlementApi/v1.d.ts +3 -0
  52. package/runtime/settlementApi/v1.d.ts.map +1 -0
  53. package/runtime/settlementApi/v1.js +32 -0
  54. package/runtime/settlementApi/v1.js.map +1 -0
  55. package/runtime/settlementApi/v2.d.ts +3 -0
  56. package/runtime/settlementApi/v2.d.ts.map +1 -0
  57. package/runtime/settlementApi/v2.js +32 -0
  58. package/runtime/settlementApi/v2.js.map +1 -0
  59. package/runtime/stakingApi/v1.d.ts +3 -0
  60. package/runtime/stakingApi/v1.d.ts.map +1 -0
  61. package/runtime/stakingApi/v1.js +11 -0
  62. package/runtime/stakingApi/v1.js.map +1 -0
  63. package/types/5.0.x.json +2 -1
  64. package/types/5.1.x.json +2 -1
  65. package/types/5.2.x.json +2 -1
  66. package/types/5.3.x.json +2 -1
  67. package/types/5.4.x.json +2 -1
  68. package/types/6.0.x.json +2 -1
  69. package/types/6.1.x.json +2 -1
  70. package/types/6.3.x.json +2 -1
  71. package/types/7.0.x.json +2 -1
  72. package/types/index.d.ts +1 -0
  73. package/types/index.d.ts.map +1 -1
  74. package/runtime/6.x.d.ts +0 -208
  75. package/runtime/6.x.d.ts.map +0 -1
  76. package/runtime/6.x.js +0 -323
  77. package/runtime/6.x.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,9 +1,9 @@
1
- # [5.12.0](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.11.1...v5.12.0) (2024-09-04)
1
+ ## [5.12.2](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.12.1...v5.12.2) (2024-09-18)
2
2
 
3
3
 
4
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * 🎸 Add types for 7.0.0 chain ([4d452f9](https://github.com/PolymeshAssociation/polymesh-types/commit/4d452f9dad0b8275985bc7b66a547d56d956398a))
6
+ * 🐛 add missing count from Authorization type ([65347f1](https://github.com/PolymeshAssociation/polymesh-types/commit/65347f1eda13c8ce81ddbfc88fbf55728ce9fdff))
7
7
 
8
8
  ## [5.11.1](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.11.0...v5.11.1) (2024-05-21)
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymeshassociation/polymesh-types",
3
- "version": "5.12.0",
3
+ "version": "5.12.2",
4
4
  "description": "Substrate types used in Polymesh chain",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -0,0 +1,3 @@
1
+ import { DefinitionCall } from '@polkadot/types/types';
2
+ export declare const AssetApiV3: Record<string, DefinitionCall>;
3
+ //# sourceMappingURL=v3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v3.d.ts","sourceRoot":"","sources":["../../../src/runtime/assetApi/v3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAcrD,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssetApiV3 = void 0;
4
+ exports.AssetApiV3 = {
5
+ can_transfer_granular: {
6
+ description: 'Checks whether a transaction with given parameters can take place or not. The result is granular meaning each check is run and returned regardless of outcome.',
7
+ params: [
8
+ { name: 'from_custodian', type: 'Option<IdentityId>' },
9
+ { name: 'from_portfolio', type: 'PortfolioId' },
10
+ { name: 'to_custodian', type: 'Option<IdentityId>' },
11
+ { name: 'to_portfolio', type: 'PortfolioId' },
12
+ { name: 'ticker', type: 'Ticker' },
13
+ { name: 'value', type: 'Balance' },
14
+ ],
15
+ type: 'CanTransferGranularReturn',
16
+ },
17
+ };
18
+ //# sourceMappingURL=v3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v3.js","sourceRoot":"","sources":["../../../src/runtime/assetApi/v3.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAmC;IACxD,qBAAqB,EAAE;QACrB,WAAW,EACT,gKAAgK;QAClK,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,oBAAoB,EAAE;YACtD,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,aAAa,EAAE;YAC/C,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE;YACpD,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,aAAa,EAAE;YAC7C,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;YAClC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;SACnC;QACD,IAAI,EAAE,2BAA2B;KAClC;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DefinitionCall } from '@polkadot/types/types';
2
+ export declare const AssetApiV4: Record<string, DefinitionCall>;
3
+ //# sourceMappingURL=v4.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v4.d.ts","sourceRoot":"","sources":["../../../src/runtime/assetApi/v4.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAarD,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssetApiV4 = void 0;
4
+ exports.AssetApiV4 = {
5
+ transfer_report: {
6
+ description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
7
+ params: [
8
+ { name: 'sender_portfolio', type: 'PortfolioId' },
9
+ { name: 'receiver_portfolio', type: 'PortfolioId' },
10
+ { name: 'asset_id', type: 'AssetID' },
11
+ { name: 'transfer_value', type: 'Balance' },
12
+ { name: 'skip_locked_check', type: 'bool' },
13
+ ],
14
+ type: 'Vec<DispatchError>',
15
+ },
16
+ };
17
+ //# sourceMappingURL=v4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v4.js","sourceRoot":"","sources":["../../../src/runtime/assetApi/v4.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAmC;IACxD,eAAe,EAAE;QACf,WAAW,EACT,+FAA+F;QACjG,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,aAAa,EAAE;YACjD,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,aAAa,EAAE;YACnD,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE;YACrC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3C,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,EAAE;SAC5C;QACD,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DefinitionCall } from '@polkadot/types/types';
2
+ export declare const ComplianceApiV1: Record<string, DefinitionCall>;
3
+ //# sourceMappingURL=v1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/runtime/complianceApi/v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAU1D,CAAC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComplianceApiV1 = void 0;
4
+ exports.ComplianceApiV1 = {
5
+ compliance_report: {
6
+ description: 'Checks all compliance requirements for the given ticker.',
7
+ params: [
8
+ { name: 'ticker', type: 'Ticker' },
9
+ { name: 'sender_identity', type: 'IdentityId' },
10
+ { name: 'receiver_identity', type: 'IdentityId' },
11
+ ],
12
+ type: 'Result<ComplianceReport, DispatchError>',
13
+ },
14
+ };
15
+ //# sourceMappingURL=v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/runtime/complianceApi/v1.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAmC;IAC7D,iBAAiB,EAAE;QACjB,WAAW,EAAE,0DAA0D;QACvE,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;YAClC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE;YAC/C,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,YAAY,EAAE;SAClD;QACD,IAAI,EAAE,yCAAyC;KAChD;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DefinitionCall } from '@polkadot/types/types';
2
+ export declare const ComplianceApiV2: Record<string, DefinitionCall>;
3
+ //# sourceMappingURL=v2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../../src/runtime/complianceApi/v2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAU1D,CAAC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComplianceApiV2 = void 0;
4
+ exports.ComplianceApiV2 = {
5
+ compliance_report: {
6
+ description: 'Checks all compliance requirements for the given asset_id.',
7
+ params: [
8
+ { name: 'asset_id', type: 'AssetID' },
9
+ { name: 'sender_identity', type: 'IdentityId' },
10
+ { name: 'receiver_identity', type: 'IdentityId' },
11
+ ],
12
+ type: 'Result<ComplianceReport, DispatchError>',
13
+ },
14
+ };
15
+ //# sourceMappingURL=v2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2.js","sourceRoot":"","sources":["../../../src/runtime/complianceApi/v2.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAmC;IAC7D,iBAAiB,EAAE;QACjB,WAAW,EAAE,4DAA4D;QACzE,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE;YACrC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE;YAC/C,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,YAAY,EAAE;SAClD;QACD,IAAI,EAAE,yCAAyC;KAChD;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DefinitionCall } from '@polkadot/types/types';
2
+ export declare const GroupApiV1: Record<string, DefinitionCall>;
3
+ //# sourceMappingURL=v1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/runtime/groupApi/v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAWrD,CAAC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GroupApiV1 = void 0;
4
+ exports.GroupApiV1 = {
5
+ get_cdd_valid_members: {
6
+ description: 'Get the CDD members',
7
+ params: [],
8
+ type: 'Vec<Member>',
9
+ },
10
+ get_gc_valid_members: {
11
+ description: 'Get the GC members',
12
+ params: [],
13
+ type: 'Vec<Member>',
14
+ },
15
+ };
16
+ //# sourceMappingURL=v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/runtime/groupApi/v1.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAmC;IACxD,qBAAqB,EAAE;QACrB,WAAW,EAAE,qBAAqB;QAClC,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;KACpB;IACD,oBAAoB,EAAE;QACpB,WAAW,EAAE,oBAAoB;QACjC,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;KACpB;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DefinitionCall } from '@polkadot/types/types';
2
+ export declare const IdentityApiV3: Record<string, DefinitionCall>;
3
+ //# sourceMappingURL=v3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v3.d.ts","sourceRoot":"","sources":["../../../src/runtime/identityApi/v3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAgDxD,CAAC"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IdentityApiV3 = void 0;
4
+ exports.IdentityApiV3 = {
5
+ is_identity_has_valid_cdd: {
6
+ description: 'use to tell whether the given did has valid cdd claim or not',
7
+ params: [
8
+ { name: 'did', type: 'IdentityId' },
9
+ { name: 'buffer_time', type: 'Option<u64>' },
10
+ ],
11
+ type: 'CddStatus',
12
+ },
13
+ get_asset_did: {
14
+ description: 'function is used to query the given ticker DID',
15
+ params: [{ name: 'ticker', type: 'Ticker' }],
16
+ type: 'AssetDidResult',
17
+ },
18
+ get_did_records: {
19
+ description: 'Used to get the did record values for a given DID',
20
+ params: [{ name: 'did', type: 'IdentityId' }],
21
+ type: 'RpcDidRecords',
22
+ },
23
+ get_did_status: {
24
+ description: 'Retrieve status of the DID',
25
+ params: [{ name: 'did', type: 'Vec<IdentityId>' }],
26
+ type: 'Vec<DidStatus>',
27
+ },
28
+ get_filtered_authorizations: {
29
+ description: 'Retrieve authorizations data for a given signatory and filtered using the given authorization type',
30
+ params: [
31
+ { name: 'signatory', type: 'Signatory' },
32
+ { name: 'allow_expired', type: 'bool' },
33
+ { name: 'auth_type', type: 'Option<AuthorizationType>' },
34
+ ],
35
+ type: 'Vec<Authorization>',
36
+ },
37
+ get_key_identity_data: {
38
+ description: 'Query relation between a signing key and a DID',
39
+ params: [{ name: 'acc', type: 'AccountId' }],
40
+ type: 'Option<KeyIdentityData>',
41
+ },
42
+ valid_cdd_claims: {
43
+ description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
44
+ params: [
45
+ { name: 'target_identity', type: 'IdentityId' },
46
+ { name: 'cdd_checker_leeway', type: 'Option<u64>' },
47
+ ],
48
+ type: 'Vec<IdentityClaim>',
49
+ },
50
+ };
51
+ //# sourceMappingURL=v3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v3.js","sourceRoot":"","sources":["../../../src/runtime/identityApi/v3.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAmC;IAC3D,yBAAyB,EAAE;QACzB,WAAW,EAAE,8DAA8D;QAC3E,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE;YACnC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,aAAa,EAAE;SAC7C;QACD,IAAI,EAAE,WAAW;KAClB;IACD,aAAa,EAAE;QACb,WAAW,EAAE,gDAAgD;QAC7D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;QAC5C,IAAI,EAAE,gBAAgB;KACvB;IACD,eAAe,EAAE;QACf,WAAW,EAAE,mDAAmD;QAChE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAC7C,IAAI,EAAE,eAAe;KACtB;IACD,cAAc,EAAE;QACd,WAAW,EAAE,4BAA4B;QACzC,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;QAClD,IAAI,EAAE,gBAAgB;KACvB;IACD,2BAA2B,EAAE;QAC3B,WAAW,EACT,oGAAoG;QACtG,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE;YACxC,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE;YACvC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,2BAA2B,EAAE;SACzD;QACD,IAAI,EAAE,oBAAoB;KAC3B;IACD,qBAAqB,EAAE;QACrB,WAAW,EAAE,gDAAgD;QAC7D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;QAC5C,IAAI,EAAE,yBAAyB;KAChC;IACD,gBAAgB,EAAE;QAChB,WAAW,EACT,4FAA4F;QAC9F,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE;YAC/C,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,aAAa,EAAE;SACpD;QACD,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DefinitionCall } from '@polkadot/types/types';
2
+ export declare const IdentityApiV4: Record<string, DefinitionCall>;
3
+ //# sourceMappingURL=v4.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v4.d.ts","sourceRoot":"","sources":["../../../src/runtime/identityApi/v4.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CA2CxD,CAAC"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IdentityApiV4 = void 0;
4
+ exports.IdentityApiV4 = {
5
+ is_identity_has_valid_cdd: {
6
+ description: 'use to tell whether the given did has valid cdd claim or not',
7
+ params: [
8
+ { name: 'did', type: 'IdentityId' },
9
+ { name: 'buffer_time', type: 'Option<u64>' },
10
+ ],
11
+ type: 'CddStatus',
12
+ },
13
+ get_did_records: {
14
+ description: 'Used to get the did record values for a given DID',
15
+ params: [{ name: 'did', type: 'IdentityId' }],
16
+ type: 'RpcDidRecords',
17
+ },
18
+ get_did_status: {
19
+ description: 'Retrieve status of the DID',
20
+ params: [{ name: 'did', type: 'Vec<IdentityId>' }],
21
+ type: 'Vec<DidStatus>',
22
+ },
23
+ get_filtered_authorizations: {
24
+ description: 'Retrieve authorizations data for a given signatory and filtered using the given authorization type',
25
+ params: [
26
+ { name: 'signatory', type: 'Signatory' },
27
+ { name: 'allow_expired', type: 'bool' },
28
+ { name: 'auth_type', type: 'Option<AuthorizationType>' },
29
+ ],
30
+ type: 'Vec<Authorization>',
31
+ },
32
+ get_key_identity_data: {
33
+ description: 'Query relation between a signing key and a DID',
34
+ params: [{ name: 'acc', type: 'AccountId' }],
35
+ type: 'Option<KeyIdentityData>',
36
+ },
37
+ valid_cdd_claims: {
38
+ description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
39
+ params: [
40
+ { name: 'target_identity', type: 'IdentityId' },
41
+ { name: 'cdd_checker_leeway', type: 'Option<u64>' },
42
+ ],
43
+ type: 'Vec<IdentityClaim>',
44
+ },
45
+ };
46
+ //# sourceMappingURL=v4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v4.js","sourceRoot":"","sources":["../../../src/runtime/identityApi/v4.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAmC;IAC3D,yBAAyB,EAAE;QACzB,WAAW,EAAE,8DAA8D;QAC3E,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE;YACnC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,aAAa,EAAE;SAC7C;QACD,IAAI,EAAE,WAAW;KAClB;IACD,eAAe,EAAE;QACf,WAAW,EAAE,mDAAmD;QAChE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAC7C,IAAI,EAAE,eAAe;KACtB;IACD,cAAc,EAAE;QACd,WAAW,EAAE,4BAA4B;QACzC,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;QAClD,IAAI,EAAE,gBAAgB;KACvB;IACD,2BAA2B,EAAE;QAC3B,WAAW,EACT,oGAAoG;QACtG,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE;YACxC,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE;YACvC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,2BAA2B,EAAE;SACzD;QACD,IAAI,EAAE,oBAAoB;KAC3B;IACD,qBAAqB,EAAE;QACrB,WAAW,EAAE,gDAAgD;QAC7D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;QAC5C,IAAI,EAAE,yBAAyB;KAChC;IACD,gBAAgB,EAAE;QAChB,WAAW,EACT,4FAA4F;QAC9F,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE;YAC/C,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,aAAa,EAAE;SACpD;QACD,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC"}
@@ -1,200 +1,4 @@
1
- declare const _default: {
2
- AssetApi: {
3
- methods: {
4
- transfer_report: {
5
- description: string;
6
- params: {
7
- name: string;
8
- type: string;
9
- }[];
10
- type: string;
11
- };
12
- };
13
- version: number;
14
- }[];
15
- GroupApi: {
16
- methods: {
17
- get_cdd_valid_members: {
18
- description: string;
19
- params: never[];
20
- type: string;
21
- };
22
- get_gc_valid_members: {
23
- description: string;
24
- params: never[];
25
- type: string;
26
- };
27
- };
28
- version: number;
29
- }[];
30
- IdentityApi: {
31
- methods: {
32
- is_identity_has_valid_cdd: {
33
- description: string;
34
- params: {
35
- name: string;
36
- type: string;
37
- }[];
38
- type: string;
39
- };
40
- get_did_records: {
41
- description: string;
42
- params: {
43
- name: string;
44
- type: string;
45
- }[];
46
- type: string;
47
- };
48
- get_did_status: {
49
- description: string;
50
- params: {
51
- name: string;
52
- type: string;
53
- }[];
54
- type: string;
55
- };
56
- get_filtered_authorizations: {
57
- description: string;
58
- params: {
59
- name: string;
60
- type: string;
61
- }[];
62
- type: string;
63
- };
64
- get_key_identity_data: {
65
- description: string;
66
- params: {
67
- name: string;
68
- type: string;
69
- }[];
70
- type: string;
71
- };
72
- valid_cdd_claims: {
73
- description: string;
74
- params: {
75
- name: string;
76
- type: string;
77
- }[];
78
- type: string;
79
- };
80
- };
81
- version: number;
82
- }[];
83
- NFTApi: {
84
- methods: {
85
- transfer_report: {
86
- description: string;
87
- params: {
88
- name: string;
89
- type: string;
90
- }[];
91
- type: string;
92
- };
93
- };
94
- version: number;
95
- }[];
96
- SettlementApi: {
97
- methods: {
98
- get_execute_instruction_info: {
99
- description: string;
100
- params: {
101
- name: string;
102
- type: string;
103
- }[];
104
- type: string;
105
- };
106
- get_affirmation_count: {
107
- description: string;
108
- params: {
109
- name: string;
110
- type: string;
111
- }[];
112
- type: string;
113
- };
114
- get_transfer_report: {
115
- description: string;
116
- params: {
117
- name: string;
118
- type: string;
119
- }[];
120
- type: string;
121
- };
122
- get_execute_instruction_report: {
123
- description: string;
124
- params: {
125
- name: string;
126
- type: string;
127
- }[];
128
- type: string;
129
- };
130
- };
131
- version: number;
132
- }[];
133
- PipsApi: {
134
- methods: {
135
- get_votes: {
136
- description: string;
137
- params: {
138
- name: string;
139
- type: string;
140
- }[];
141
- type: string;
142
- };
143
- proposed_by: {
144
- description: string;
145
- params: {
146
- name: string;
147
- type: string;
148
- }[];
149
- type: string;
150
- };
151
- voted_on: {
152
- description: string;
153
- params: {
154
- name: string;
155
- type: string;
156
- }[];
157
- type: string;
158
- };
159
- };
160
- version: number;
161
- }[];
162
- ProtocolFeeApi: {
163
- methods: {
164
- compute_fee: {
165
- description: string;
166
- params: {
167
- name: string;
168
- type: string;
169
- }[];
170
- type: string;
171
- };
172
- };
173
- version: number;
174
- }[];
175
- StakingApi: {
176
- methods: {
177
- get_curve: {
178
- description: string;
179
- params: never[];
180
- type: string;
181
- };
182
- };
183
- version: number;
184
- }[];
185
- ComplianceApi: {
186
- methods: {
187
- compliance_report: {
188
- description: string;
189
- params: {
190
- name: string;
191
- type: string;
192
- }[];
193
- type: string;
194
- };
195
- };
196
- version: number;
197
- }[];
198
- };
199
- export default _default;
1
+ import type { DefinitionsCall } from '@polkadot/types/types';
2
+ export declare const runtime: DefinitionsCall;
3
+ export default runtime;
200
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA6TE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAiB7D,eAAO,MAAM,OAAO,EAAE,eAyBrB,CAAC;AAEF,eAAe,OAAO,CAAC"}