@propxchain/core-client 0.3.0-canary.34 → 0.3.0-canary.36
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 +159 -7
- package/dist/canisters/document_storage/document_storage.did.js +227 -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 +380 -315
- package/dist/canisters/ledger_manager/ledger_manager.did.d.ts +214 -7
- package/dist/canisters/ledger_manager/ledger_manager.did.js +265 -198
- package/dist/canisters/property_registry/property_registry.did.d.ts +73 -7
- package/dist/canisters/property_registry/property_registry.did.js +76 -57
- package/dist/canisters/transaction_manager/transaction_manager.did.d.ts +912 -7
- package/dist/canisters/transaction_manager/transaction_manager.did.js +1004 -867
- package/dist/canisters/user_management/user_management.did.d.ts +267 -7
- package/dist/canisters/user_management/user_management.did.js +349 -254
- package/package.json +2 -2
- package/src/canisters/document_storage/document_storage.did.d.ts +3 -3
- package/src/canisters/document_verification/document_verification.did.d.ts +3 -3
- 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/ledger_manager/ledger_manager.did.d.ts +3 -3
- package/src/canisters/property_registry/property_registry.did.d.ts +3 -3
- package/src/canisters/transaction_manager/transaction_manager.did +4 -0
- package/src/canisters/transaction_manager/transaction_manager.did.d.ts +5 -3
- package/src/canisters/transaction_manager/transaction_manager.did.js +2 -0
- package/src/canisters/user_management/user_management.did.d.ts +3 -3
- 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,79 @@
|
|
|
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
|
+
'documentsComplete' : IDL.Bool,
|
|
20
|
+
'description' : IDL.Text,
|
|
21
|
+
'isVerified' : IDL.Bool,
|
|
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
|
+
'searchesComplete' : IDL.Bool,
|
|
28
|
+
'transactionId' : IDL.Opt(IDL.Text),
|
|
29
|
+
'uprn' : IDL.Opt(IDL.Text),
|
|
30
|
+
});
|
|
31
|
+
const ChainPropertyView = IDL.Record({
|
|
32
|
+
'status' : PropertyStatus,
|
|
33
|
+
'progressPercentage' : IDL.Nat,
|
|
34
|
+
'role' : IDL.Text,
|
|
35
|
+
'documentsComplete' : IDL.Bool,
|
|
36
|
+
'financingComplete' : IDL.Bool,
|
|
37
|
+
'searchesComplete' : IDL.Bool,
|
|
38
|
+
'anonymousId' : IDL.Text,
|
|
39
|
+
});
|
|
40
|
+
const Result_1 = IDL.Variant({ 'ok' : ChainPropertyView, 'err' : IDL.Text });
|
|
41
|
+
const Result = IDL.Variant({ 'ok' : IDL.Null, 'err' : IDL.Text });
|
|
42
|
+
return IDL.Service({
|
|
43
|
+
'buildPropertyChain' : IDL.Func([IDL.Text], [Result_3], []),
|
|
44
|
+
'canViewFullPropertyDetails' : IDL.Func(
|
|
45
|
+
[IDL.Text, IDL.Principal],
|
|
46
|
+
[IDL.Bool],
|
|
47
|
+
['query'],
|
|
48
|
+
),
|
|
49
|
+
'generateAnonymousPropertyId' : IDL.Func([IDL.Text], [Result_2], []),
|
|
50
|
+
'getAllProperties' : IDL.Func([], [IDL.Vec(Property)], ['query']),
|
|
51
|
+
'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
|
|
52
|
+
'getProperty' : IDL.Func([IDL.Nat], [IDL.Opt(Property)], ['query']),
|
|
53
|
+
'getPropertyForChainView' : IDL.Func(
|
|
54
|
+
[IDL.Text, IDL.Principal],
|
|
55
|
+
[Result_1],
|
|
56
|
+
['query'],
|
|
57
|
+
),
|
|
58
|
+
'registerProperty' : IDL.Func(
|
|
59
|
+
[IDL.Text, IDL.Nat, IDL.Nat, IDL.Text, IDL.Text],
|
|
60
|
+
[IDL.Nat],
|
|
61
|
+
[],
|
|
62
|
+
),
|
|
63
|
+
'setPropertyUprn' : IDL.Func([IDL.Nat, IDL.Opt(IDL.Text)], [Result], []),
|
|
64
|
+
'transferOwnership' : IDL.Func([IDL.Nat, IDL.Principal], [IDL.Bool], []),
|
|
65
|
+
'updatePropertyProgress' : IDL.Func(
|
|
66
|
+
[IDL.Nat, IDL.Bool, IDL.Bool, IDL.Bool],
|
|
67
|
+
[Result],
|
|
68
|
+
[],
|
|
69
|
+
),
|
|
70
|
+
'updatePropertyStatus' : IDL.Func([IDL.Nat, PropertyStatus], [Result], []),
|
|
71
|
+
'updatePropertyTransaction' : IDL.Func(
|
|
72
|
+
[IDL.Nat, IDL.Opt(IDL.Text), IDL.Opt(IDL.Nat), IDL.Vec(IDL.Text)],
|
|
73
|
+
[Result],
|
|
74
|
+
[],
|
|
75
|
+
),
|
|
76
|
+
'verifyProperty' : IDL.Func([IDL.Nat], [IDL.Bool], []),
|
|
77
|
+
});
|
|
58
78
|
};
|
|
59
79
|
export const init = ({ IDL }) => { return []; };
|
|
60
|
-
//# sourceMappingURL=property_registry.did.js.map
|