@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.
Files changed (43) hide show
  1. package/dist/canisters/document_storage/document_storage.did.d.ts +159 -7
  2. package/dist/canisters/document_storage/document_storage.did.js +227 -148
  3. package/dist/canisters/document_verification/document_verification.did.d.ts +248 -7
  4. package/dist/canisters/document_verification/document_verification.did.js +322 -231
  5. package/dist/canisters/email_service/email_service.did.d.ts +92 -7
  6. package/dist/canisters/email_service/email_service.did.js +128 -73
  7. package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts +227 -7
  8. package/dist/canisters/land_registry_integration/land_registry_integration.did.js +380 -315
  9. package/dist/canisters/ledger_manager/ledger_manager.did.d.ts +214 -7
  10. package/dist/canisters/ledger_manager/ledger_manager.did.js +265 -198
  11. package/dist/canisters/property_registry/property_registry.did.d.ts +73 -7
  12. package/dist/canisters/property_registry/property_registry.did.js +76 -57
  13. package/dist/canisters/transaction_manager/transaction_manager.did.d.ts +912 -7
  14. package/dist/canisters/transaction_manager/transaction_manager.did.js +1004 -867
  15. package/dist/canisters/user_management/user_management.did.d.ts +267 -7
  16. package/dist/canisters/user_management/user_management.did.js +349 -254
  17. package/package.json +2 -2
  18. package/src/canisters/document_storage/document_storage.did.d.ts +3 -3
  19. package/src/canisters/document_verification/document_verification.did.d.ts +3 -3
  20. package/src/canisters/email_service/email_service.did.d.ts +3 -3
  21. package/src/canisters/land_registry_integration/land_registry_integration.did.d.ts +3 -3
  22. package/src/canisters/ledger_manager/ledger_manager.did.d.ts +3 -3
  23. package/src/canisters/property_registry/property_registry.did.d.ts +3 -3
  24. package/src/canisters/transaction_manager/transaction_manager.did +4 -0
  25. package/src/canisters/transaction_manager/transaction_manager.did.d.ts +5 -3
  26. package/src/canisters/transaction_manager/transaction_manager.did.js +2 -0
  27. package/src/canisters/user_management/user_management.did.d.ts +3 -3
  28. package/dist/canisters/document_storage/document_storage.did.d.ts.map +0 -1
  29. package/dist/canisters/document_storage/document_storage.did.js.map +0 -1
  30. package/dist/canisters/document_verification/document_verification.did.d.ts.map +0 -1
  31. package/dist/canisters/document_verification/document_verification.did.js.map +0 -1
  32. package/dist/canisters/email_service/email_service.did.d.ts.map +0 -1
  33. package/dist/canisters/email_service/email_service.did.js.map +0 -1
  34. package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts.map +0 -1
  35. package/dist/canisters/land_registry_integration/land_registry_integration.did.js.map +0 -1
  36. package/dist/canisters/ledger_manager/ledger_manager.did.d.ts.map +0 -1
  37. package/dist/canisters/ledger_manager/ledger_manager.did.js.map +0 -1
  38. package/dist/canisters/property_registry/property_registry.did.d.ts.map +0 -1
  39. package/dist/canisters/property_registry/property_registry.did.js.map +0 -1
  40. package/dist/canisters/transaction_manager/transaction_manager.did.d.ts.map +0 -1
  41. package/dist/canisters/transaction_manager/transaction_manager.did.js.map +0 -1
  42. package/dist/canisters/user_management/user_management.did.d.ts.map +0 -1
  43. package/dist/canisters/user_management/user_management.did.js.map +0 -1
@@ -1,60 +1,79 @@
1
1
  export const idlFactory = ({ IDL }) => {
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([IDL.Text, IDL.Principal], [IDL.Bool], ['query']),
45
- 'generateAnonymousPropertyId': IDL.Func([IDL.Text], [Result_2], []),
46
- 'getAllProperties': IDL.Func([], [IDL.Vec(Property)], ['query']),
47
- 'getCycles': IDL.Func([], [IDL.Nat], ['query']),
48
- 'getProperty': IDL.Func([IDL.Nat], [IDL.Opt(Property)], ['query']),
49
- 'getPropertyForChainView': IDL.Func([IDL.Text, IDL.Principal], [Result_1], ['query']),
50
- 'registerProperty': IDL.Func([IDL.Text, IDL.Nat, IDL.Nat, IDL.Text, IDL.Text], [IDL.Nat], []),
51
- 'setPropertyUprn': IDL.Func([IDL.Nat, IDL.Opt(IDL.Text)], [Result], []),
52
- 'transferOwnership': IDL.Func([IDL.Nat, IDL.Principal], [IDL.Bool], []),
53
- 'updatePropertyProgress': IDL.Func([IDL.Nat, IDL.Bool, IDL.Bool, IDL.Bool], [Result], []),
54
- 'updatePropertyStatus': IDL.Func([IDL.Nat, PropertyStatus], [Result], []),
55
- 'updatePropertyTransaction': IDL.Func([IDL.Nat, IDL.Opt(IDL.Text), IDL.Opt(IDL.Nat), IDL.Vec(IDL.Text)], [Result], []),
56
- 'verifyProperty': IDL.Func([IDL.Nat], [IDL.Bool], []),
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