@polymeshassociation/polymesh-types 5.12.1 → 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 (73) hide show
  1. package/CHANGELOG.md +2 -2
  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 -3
  32. package/runtime/index.d.ts.map +1 -1
  33. package/runtime/index.js +33 -526
  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
package/CHANGELOG.md CHANGED
@@ -1,9 +1,9 @@
1
- ## [5.12.1](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.12.0...v5.12.1) (2024-09-14)
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
4
  ### Bug Fixes
5
5
 
6
- * 🐛 re-add runtime api versions required for 6.x. chains ([de81da3](https://github.com/PolymeshAssociation/polymesh-types/commit/de81da3df74ca358114a0c405c025088e135fb4c))
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.1",
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,4 +1,4 @@
1
- import { DefinitionsCall } from '@polkadot/types/types';
2
- declare const _default: DefinitionsCall;
3
- export default _default;
1
+ import type { DefinitionsCall } from '@polkadot/types/types';
2
+ export declare const runtime: DefinitionsCall;
3
+ export default runtime;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;;AAExD,wBAsiBqB"}
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"}