@propxchain/core-client 0.3.0 → 0.5.0-canary.42
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.
- package/dist/canisters/document_storage/document_storage.did.d.ts +169 -7
- package/dist/canisters/document_storage/document_storage.did.js +237 -148
- package/dist/canisters/document_verification/document_verification.did.d.ts +248 -7
- package/dist/canisters/document_verification/document_verification.did.js +322 -231
- package/dist/canisters/email_service/email_service.did.d.ts +92 -7
- package/dist/canisters/email_service/email_service.did.js +128 -73
- package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts +227 -7
- package/dist/canisters/land_registry_integration/land_registry_integration.did.js +264 -315
- package/dist/canisters/ledger_manager/ledger_manager.did.d.ts +215 -7
- package/dist/canisters/ledger_manager/ledger_manager.did.js +262 -198
- package/dist/canisters/property_registry/property_registry.did.d.ts +77 -7
- package/dist/canisters/property_registry/property_registry.did.js +84 -57
- package/dist/canisters/transaction_manager/transaction_manager.did.d.ts +960 -7
- package/dist/canisters/transaction_manager/transaction_manager.did.js +1081 -867
- package/dist/canisters/user_management/user_management.did.d.ts +314 -7
- package/dist/canisters/user_management/user_management.did.js +420 -254
- package/dist/jurisdiction.d.ts +50 -0
- package/dist/jurisdiction.d.ts.map +1 -0
- package/dist/jurisdiction.js +109 -0
- package/dist/jurisdiction.js.map +1 -0
- package/dist/mock.js +1 -1
- package/package.json +6 -2
- package/src/canisters/document_storage/document_storage.did +32 -21
- package/src/canisters/document_storage/document_storage.did.d.ts +34 -24
- package/src/canisters/document_storage/document_storage.did.js +31 -21
- package/src/canisters/document_verification/document_verification.did +6 -6
- package/src/canisters/document_verification/document_verification.did.d.ts +12 -12
- package/src/canisters/document_verification/document_verification.did.js +28 -28
- package/src/canisters/email_service/email_service.did.d.ts +3 -3
- package/src/canisters/land_registry_integration/land_registry_integration.did.d.ts +3 -3
- package/src/canisters/land_registry_integration/land_registry_integration.did.js +23 -139
- package/src/canisters/ledger_manager/ledger_manager.did +2 -1
- package/src/canisters/ledger_manager/ledger_manager.did.d.ts +4 -3
- package/src/canisters/ledger_manager/ledger_manager.did.js +2 -5
- package/src/canisters/property_registry/property_registry.did +7 -3
- package/src/canisters/property_registry/property_registry.did.d.ts +10 -6
- package/src/canisters/property_registry/property_registry.did.js +12 -4
- package/src/canisters/transaction_manager/transaction_manager.did +104 -44
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +93 -43
- package/src/canisters/transaction_manager/transaction_manager.did.js +117 -38
- package/src/canisters/user_management/user_management.did +62 -19
- package/src/canisters/user_management/user_management.did.d.ts +68 -21
- package/src/canisters/user_management/user_management.did.js +90 -19
- package/src/jurisdiction.ts +117 -0
- package/src/mock.ts +1 -1
- package/dist/canisters/document_storage/document_storage.did.d.ts.map +0 -1
- package/dist/canisters/document_storage/document_storage.did.js.map +0 -1
- package/dist/canisters/document_verification/document_verification.did.d.ts.map +0 -1
- package/dist/canisters/document_verification/document_verification.did.js.map +0 -1
- package/dist/canisters/email_service/email_service.did.d.ts.map +0 -1
- package/dist/canisters/email_service/email_service.did.js.map +0 -1
- package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts.map +0 -1
- package/dist/canisters/land_registry_integration/land_registry_integration.did.js.map +0 -1
- package/dist/canisters/ledger_manager/ledger_manager.did.d.ts.map +0 -1
- package/dist/canisters/ledger_manager/ledger_manager.did.js.map +0 -1
- package/dist/canisters/property_registry/property_registry.did.d.ts.map +0 -1
- package/dist/canisters/property_registry/property_registry.did.js.map +0 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.d.ts.map +0 -1
- package/dist/canisters/transaction_manager/transaction_manager.did.js.map +0 -1
- package/dist/canisters/user_management/user_management.did.d.ts.map +0 -1
- package/dist/canisters/user_management/user_management.did.js.map +0 -1
|
@@ -1,60 +1,87 @@
|
|
|
1
1
|
export const idlFactory = ({ IDL }) => {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
'
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
2
|
+
const Result_3 = IDL.Variant({ 'ok' : IDL.Vec(IDL.Text), 'err' : IDL.Text });
|
|
3
|
+
const Result_2 = IDL.Variant({ 'ok' : IDL.Text, 'err' : IDL.Text });
|
|
4
|
+
const PropertyStatus = IDL.Variant({
|
|
5
|
+
'Listed' : IDL.Null,
|
|
6
|
+
'InTransaction' : IDL.Null,
|
|
7
|
+
'Cancelled' : IDL.Null,
|
|
8
|
+
'Completed' : IDL.Null,
|
|
9
|
+
});
|
|
10
|
+
const Time = IDL.Int;
|
|
11
|
+
const Property = IDL.Record({
|
|
12
|
+
'id' : IDL.Nat,
|
|
13
|
+
'anonymousPropertyId' : IDL.Text,
|
|
14
|
+
'status' : PropertyStatus,
|
|
15
|
+
'propertyType' : IDL.Text,
|
|
16
|
+
'owner' : IDL.Principal,
|
|
17
|
+
'createdAt' : Time,
|
|
18
|
+
'size' : IDL.Nat,
|
|
19
|
+
'uprn' : IDL.Opt(IDL.Text),
|
|
20
|
+
'documentsComplete' : IDL.Bool,
|
|
21
|
+
'description' : IDL.Text,
|
|
22
|
+
'linkedProperties' : IDL.Vec(IDL.Text),
|
|
23
|
+
'address' : IDL.Text,
|
|
24
|
+
'chainPosition' : IDL.Opt(IDL.Nat),
|
|
25
|
+
'financingComplete' : IDL.Bool,
|
|
26
|
+
'price' : IDL.Nat,
|
|
27
|
+
'attestedAt' : IDL.Opt(IDL.Int),
|
|
28
|
+
'attestedBy' : IDL.Opt(IDL.Principal),
|
|
29
|
+
'searchesComplete' : IDL.Bool,
|
|
30
|
+
'transactionId' : IDL.Opt(IDL.Text),
|
|
31
|
+
});
|
|
32
|
+
const ChainPropertyView = IDL.Record({
|
|
33
|
+
'status' : PropertyStatus,
|
|
34
|
+
'progressPercentage' : IDL.Nat,
|
|
35
|
+
'role' : IDL.Text,
|
|
36
|
+
'documentsComplete' : IDL.Bool,
|
|
37
|
+
'financingComplete' : IDL.Bool,
|
|
38
|
+
'searchesComplete' : IDL.Bool,
|
|
39
|
+
'anonymousId' : IDL.Text,
|
|
40
|
+
});
|
|
41
|
+
const Result_1 = IDL.Variant({ 'ok' : ChainPropertyView, 'err' : IDL.Text });
|
|
42
|
+
const Result = IDL.Variant({ 'ok' : IDL.Null, 'err' : IDL.Text });
|
|
43
|
+
return IDL.Service({
|
|
44
|
+
'addBulkReader' : IDL.Func([IDL.Principal], [IDL.Bool], []),
|
|
45
|
+
'attestProperty' : IDL.Func([IDL.Nat], [IDL.Bool], []),
|
|
46
|
+
'buildPropertyChain' : IDL.Func([IDL.Text], [Result_3], []),
|
|
47
|
+
'canViewFullPropertyDetails' : IDL.Func(
|
|
48
|
+
[IDL.Text, IDL.Principal],
|
|
49
|
+
[IDL.Bool],
|
|
50
|
+
['query'],
|
|
51
|
+
),
|
|
52
|
+
'generateAnonymousPropertyId' : IDL.Func([IDL.Text], [Result_2], []),
|
|
53
|
+
'getAllProperties' : IDL.Func([], [IDL.Vec(Property)], ['query']),
|
|
54
|
+
'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
|
|
55
|
+
'getPropertiesForOwner' : IDL.Func(
|
|
56
|
+
[IDL.Principal],
|
|
57
|
+
[IDL.Vec(Property)],
|
|
58
|
+
['query'],
|
|
59
|
+
),
|
|
60
|
+
'getProperty' : IDL.Func([IDL.Nat], [IDL.Opt(Property)], []),
|
|
61
|
+
'getPropertyForChainView' : IDL.Func(
|
|
62
|
+
[IDL.Text, IDL.Principal],
|
|
63
|
+
[Result_1],
|
|
64
|
+
['query'],
|
|
65
|
+
),
|
|
66
|
+
'registerProperty' : IDL.Func(
|
|
67
|
+
[IDL.Text, IDL.Nat, IDL.Nat, IDL.Text, IDL.Text],
|
|
68
|
+
[IDL.Nat],
|
|
69
|
+
[],
|
|
70
|
+
),
|
|
71
|
+
'removeBulkReader' : IDL.Func([IDL.Principal], [IDL.Bool], []),
|
|
72
|
+
'setPropertyUprn' : IDL.Func([IDL.Nat, IDL.Opt(IDL.Text)], [Result], []),
|
|
73
|
+
'transferOwnership' : IDL.Func([IDL.Nat, IDL.Principal], [IDL.Bool], []),
|
|
74
|
+
'updatePropertyProgress' : IDL.Func(
|
|
75
|
+
[IDL.Nat, IDL.Bool, IDL.Bool, IDL.Bool],
|
|
76
|
+
[Result],
|
|
77
|
+
[],
|
|
78
|
+
),
|
|
79
|
+
'updatePropertyStatus' : IDL.Func([IDL.Nat, PropertyStatus], [Result], []),
|
|
80
|
+
'updatePropertyTransaction' : IDL.Func(
|
|
81
|
+
[IDL.Nat, IDL.Opt(IDL.Text), IDL.Opt(IDL.Nat), IDL.Vec(IDL.Text)],
|
|
82
|
+
[Result],
|
|
83
|
+
[],
|
|
84
|
+
),
|
|
85
|
+
});
|
|
58
86
|
};
|
|
59
87
|
export const init = ({ IDL }) => { return []; };
|
|
60
|
-
//# sourceMappingURL=property_registry.did.js.map
|