@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,7 +1,92 @@
1
- export function idlFactory({ IDL }: {
2
- IDL: any;
3
- }): any;
4
- export function init({ IDL }: {
5
- IDL: any;
6
- }): never[];
7
- //# sourceMappingURL=email_service.did.d.ts.map
1
+ import type { Principal } from '@icp-sdk/core/principal';
2
+ import type { ActorMethod } from '@icp-sdk/core/agent';
3
+ import type { IDL } from '@icp-sdk/core/candid';
4
+
5
+ export type ContactType = { 'lr_budget_alert' : null } |
6
+ { 'lr_application_submitted' : null } |
7
+ { 'message_notification' : null } |
8
+ { 'support' : null } |
9
+ { 'partners' : null } |
10
+ { 'sales' : null } |
11
+ { 'lr_search_expiry_warning' : null } |
12
+ { 'email_verification' : null } |
13
+ { 'lr_official_search_complete' : null } |
14
+ { 'lr_requisition_raised' : null } |
15
+ { 'lr_application_registered' : null } |
16
+ { 'lr_status_change' : null };
17
+ export interface EmailNotification {
18
+ 'id' : bigint,
19
+ 'userType' : [] | [string],
20
+ 'contactType' : ContactType,
21
+ 'subject' : string,
22
+ 'partnerType' : [] | [string],
23
+ 'titleNumber' : [] | [string],
24
+ 'name' : string,
25
+ 'volume' : [] | [string],
26
+ 'propertyAddress' : [] | [string],
27
+ 'lrNotificationType' : [] | [string],
28
+ 'email' : string,
29
+ 'website' : [] | [string],
30
+ 'company' : [] | [string],
31
+ 'message' : string,
32
+ 'timestamp' : bigint,
33
+ 'phone' : [] | [string],
34
+ 'processed' : boolean,
35
+ 'transactionId' : [] | [string],
36
+ }
37
+ export type Result = { 'ok' : string } |
38
+ { 'err' : string };
39
+ export type Result_1 = { 'ok' : bigint } |
40
+ { 'err' : string };
41
+ export interface _SERVICE {
42
+ 'checkAndSendExpiryWarnings' : ActorMethod<[bigint], Result_1>,
43
+ 'disableExpiryWarningTimer' : ActorMethod<[], Result>,
44
+ 'enableExpiryWarningTimer' : ActorMethod<[], Result>,
45
+ 'formatNotificationAsEmail' : ActorMethod<[bigint], [] | [string]>,
46
+ 'getAllNotifications' : ActorMethod<[], Array<EmailNotification>>,
47
+ 'getCycles' : ActorMethod<[], bigint>,
48
+ 'getExpiryWarningStatus' : ActorMethod<
49
+ [],
50
+ { 'timerActive' : boolean, 'lastCheckTime' : bigint }
51
+ >,
52
+ 'getLandRegistryNotifications' : ActorMethod<
53
+ [string],
54
+ Array<EmailNotification>
55
+ >,
56
+ 'getNotification' : ActorMethod<[bigint], [] | [EmailNotification]>,
57
+ 'getTransactionManagerCanister' : ActorMethod<[], string>,
58
+ 'getUnprocessedCount' : ActorMethod<[], bigint>,
59
+ 'getUnprocessedLRNotifications' : ActorMethod<[], Array<EmailNotification>>,
60
+ 'getUnprocessedNotifications' : ActorMethod<[], Array<EmailNotification>>,
61
+ 'getUserManagementCanister' : ActorMethod<[], string>,
62
+ 'markAsProcessed' : ActorMethod<[bigint], boolean>,
63
+ 'sendBudgetAlert' : ActorMethod<
64
+ [string, string, bigint, bigint, bigint],
65
+ bigint
66
+ >,
67
+ 'sendLandRegistryNotification' : ActorMethod<
68
+ [string, string, string, string, string, string, string],
69
+ bigint
70
+ >,
71
+ 'setTransactionManagerCanister' : ActorMethod<[string], Result>,
72
+ 'setUserManagementCanister' : ActorMethod<[string], Result>,
73
+ 'submitEmailVerification' : ActorMethod<[string, string, string], bigint>,
74
+ 'submitMessageNotification' : ActorMethod<
75
+ [string, string, string, string, string, string, string, string, string],
76
+ bigint
77
+ >,
78
+ 'submitPartnerInquiry' : ActorMethod<
79
+ [string, string, string, string, string, string],
80
+ bigint
81
+ >,
82
+ 'submitSalesInquiry' : ActorMethod<
83
+ [string, string, string, string, string, string, string],
84
+ bigint
85
+ >,
86
+ 'submitSupportRequest' : ActorMethod<
87
+ [string, string, string, string],
88
+ bigint
89
+ >,
90
+ }
91
+ export declare const idlFactory: IDL.InterfaceFactory;
92
+ export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
@@ -1,76 +1,131 @@
1
1
  export const idlFactory = ({ IDL }) => {
2
- const Result_1 = IDL.Variant({ 'ok': IDL.Nat, 'err': IDL.Text });
3
- const Result = IDL.Variant({ 'ok': IDL.Text, 'err': IDL.Text });
4
- const ContactType = IDL.Variant({
5
- 'lr_budget_alert': IDL.Null,
6
- 'lr_application_submitted': IDL.Null,
7
- 'message_notification': IDL.Null,
8
- 'support': IDL.Null,
9
- 'partners': IDL.Null,
10
- 'sales': IDL.Null,
11
- 'lr_search_expiry_warning': IDL.Null,
12
- 'email_verification': IDL.Null,
13
- 'lr_official_search_complete': IDL.Null,
14
- 'lr_requisition_raised': IDL.Null,
15
- 'lr_application_registered': IDL.Null,
16
- 'lr_status_change': IDL.Null,
17
- });
18
- const EmailNotification = IDL.Record({
19
- 'id': IDL.Nat,
20
- 'userType': IDL.Opt(IDL.Text),
21
- 'contactType': ContactType,
22
- 'subject': IDL.Text,
23
- 'partnerType': IDL.Opt(IDL.Text),
24
- 'titleNumber': IDL.Opt(IDL.Text),
25
- 'name': IDL.Text,
26
- 'volume': IDL.Opt(IDL.Text),
27
- 'propertyAddress': IDL.Opt(IDL.Text),
28
- 'lrNotificationType': IDL.Opt(IDL.Text),
29
- 'email': IDL.Text,
30
- 'website': IDL.Opt(IDL.Text),
31
- 'company': IDL.Opt(IDL.Text),
32
- 'message': IDL.Text,
33
- 'timestamp': IDL.Int,
34
- 'phone': IDL.Opt(IDL.Text),
35
- 'processed': IDL.Bool,
36
- 'transactionId': IDL.Opt(IDL.Text),
37
- });
38
- return IDL.Service({
39
- 'checkAndSendExpiryWarnings': IDL.Func([IDL.Nat], [Result_1], []),
40
- 'disableExpiryWarningTimer': IDL.Func([], [Result], []),
41
- 'enableExpiryWarningTimer': IDL.Func([], [Result], []),
42
- 'formatNotificationAsEmail': IDL.Func([IDL.Nat], [IDL.Opt(IDL.Text)], ['query']),
43
- 'getAllNotifications': IDL.Func([], [IDL.Vec(EmailNotification)], ['query']),
44
- 'getCycles': IDL.Func([], [IDL.Nat], ['query']),
45
- 'getExpiryWarningStatus': IDL.Func([], [IDL.Record({ 'timerActive': IDL.Bool, 'lastCheckTime': IDL.Int })], ['query']),
46
- 'getLandRegistryNotifications': IDL.Func([IDL.Text], [IDL.Vec(EmailNotification)], ['query']),
47
- 'getNotification': IDL.Func([IDL.Nat], [IDL.Opt(EmailNotification)], ['query']),
48
- 'getTransactionManagerCanister': IDL.Func([], [IDL.Text], ['query']),
49
- 'getUnprocessedCount': IDL.Func([], [IDL.Nat], ['query']),
50
- 'getUnprocessedLRNotifications': IDL.Func([], [IDL.Vec(EmailNotification)], ['query']),
51
- 'getUnprocessedNotifications': IDL.Func([], [IDL.Vec(EmailNotification)], ['query']),
52
- 'getUserManagementCanister': IDL.Func([], [IDL.Text], ['query']),
53
- 'markAsProcessed': IDL.Func([IDL.Nat], [IDL.Bool], []),
54
- 'sendBudgetAlert': IDL.Func([IDL.Text, IDL.Text, IDL.Nat, IDL.Nat, IDL.Nat], [IDL.Nat], []),
55
- 'sendLandRegistryNotification': IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text], [IDL.Nat], []),
56
- 'setTransactionManagerCanister': IDL.Func([IDL.Text], [Result], []),
57
- 'setUserManagementCanister': IDL.Func([IDL.Text], [Result], []),
58
- 'submitEmailVerification': IDL.Func([IDL.Text, IDL.Text, IDL.Text], [IDL.Nat], []),
59
- 'submitMessageNotification': IDL.Func([
60
- IDL.Text,
61
- IDL.Text,
62
- IDL.Text,
63
- IDL.Text,
64
- IDL.Text,
65
- IDL.Text,
66
- IDL.Text,
67
- IDL.Text,
68
- IDL.Text,
69
- ], [IDL.Nat], []),
70
- 'submitPartnerInquiry': IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text], [IDL.Nat], []),
71
- 'submitSalesInquiry': IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text], [IDL.Nat], []),
72
- 'submitSupportRequest': IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Text], [IDL.Nat], []),
73
- });
2
+ const Result_1 = IDL.Variant({ 'ok' : IDL.Nat, 'err' : IDL.Text });
3
+ const Result = IDL.Variant({ 'ok' : IDL.Text, 'err' : IDL.Text });
4
+ const ContactType = IDL.Variant({
5
+ 'lr_budget_alert' : IDL.Null,
6
+ 'lr_application_submitted' : IDL.Null,
7
+ 'message_notification' : IDL.Null,
8
+ 'support' : IDL.Null,
9
+ 'partners' : IDL.Null,
10
+ 'sales' : IDL.Null,
11
+ 'lr_search_expiry_warning' : IDL.Null,
12
+ 'email_verification' : IDL.Null,
13
+ 'lr_official_search_complete' : IDL.Null,
14
+ 'lr_requisition_raised' : IDL.Null,
15
+ 'lr_application_registered' : IDL.Null,
16
+ 'lr_status_change' : IDL.Null,
17
+ });
18
+ const EmailNotification = IDL.Record({
19
+ 'id' : IDL.Nat,
20
+ 'userType' : IDL.Opt(IDL.Text),
21
+ 'contactType' : ContactType,
22
+ 'subject' : IDL.Text,
23
+ 'partnerType' : IDL.Opt(IDL.Text),
24
+ 'titleNumber' : IDL.Opt(IDL.Text),
25
+ 'name' : IDL.Text,
26
+ 'volume' : IDL.Opt(IDL.Text),
27
+ 'propertyAddress' : IDL.Opt(IDL.Text),
28
+ 'lrNotificationType' : IDL.Opt(IDL.Text),
29
+ 'email' : IDL.Text,
30
+ 'website' : IDL.Opt(IDL.Text),
31
+ 'company' : IDL.Opt(IDL.Text),
32
+ 'message' : IDL.Text,
33
+ 'timestamp' : IDL.Int,
34
+ 'phone' : IDL.Opt(IDL.Text),
35
+ 'processed' : IDL.Bool,
36
+ 'transactionId' : IDL.Opt(IDL.Text),
37
+ });
38
+ return IDL.Service({
39
+ 'checkAndSendExpiryWarnings' : IDL.Func([IDL.Nat], [Result_1], []),
40
+ 'disableExpiryWarningTimer' : IDL.Func([], [Result], []),
41
+ 'enableExpiryWarningTimer' : IDL.Func([], [Result], []),
42
+ 'formatNotificationAsEmail' : IDL.Func(
43
+ [IDL.Nat],
44
+ [IDL.Opt(IDL.Text)],
45
+ ['query'],
46
+ ),
47
+ 'getAllNotifications' : IDL.Func(
48
+ [],
49
+ [IDL.Vec(EmailNotification)],
50
+ ['query'],
51
+ ),
52
+ 'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
53
+ 'getExpiryWarningStatus' : IDL.Func(
54
+ [],
55
+ [IDL.Record({ 'timerActive' : IDL.Bool, 'lastCheckTime' : IDL.Int })],
56
+ ['query'],
57
+ ),
58
+ 'getLandRegistryNotifications' : IDL.Func(
59
+ [IDL.Text],
60
+ [IDL.Vec(EmailNotification)],
61
+ ['query'],
62
+ ),
63
+ 'getNotification' : IDL.Func(
64
+ [IDL.Nat],
65
+ [IDL.Opt(EmailNotification)],
66
+ ['query'],
67
+ ),
68
+ 'getTransactionManagerCanister' : IDL.Func([], [IDL.Text], ['query']),
69
+ 'getUnprocessedCount' : IDL.Func([], [IDL.Nat], ['query']),
70
+ 'getUnprocessedLRNotifications' : IDL.Func(
71
+ [],
72
+ [IDL.Vec(EmailNotification)],
73
+ ['query'],
74
+ ),
75
+ 'getUnprocessedNotifications' : IDL.Func(
76
+ [],
77
+ [IDL.Vec(EmailNotification)],
78
+ ['query'],
79
+ ),
80
+ 'getUserManagementCanister' : IDL.Func([], [IDL.Text], ['query']),
81
+ 'markAsProcessed' : IDL.Func([IDL.Nat], [IDL.Bool], []),
82
+ 'sendBudgetAlert' : IDL.Func(
83
+ [IDL.Text, IDL.Text, IDL.Nat, IDL.Nat, IDL.Nat],
84
+ [IDL.Nat],
85
+ [],
86
+ ),
87
+ 'sendLandRegistryNotification' : IDL.Func(
88
+ [IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
89
+ [IDL.Nat],
90
+ [],
91
+ ),
92
+ 'setTransactionManagerCanister' : IDL.Func([IDL.Text], [Result], []),
93
+ 'setUserManagementCanister' : IDL.Func([IDL.Text], [Result], []),
94
+ 'submitEmailVerification' : IDL.Func(
95
+ [IDL.Text, IDL.Text, IDL.Text],
96
+ [IDL.Nat],
97
+ [],
98
+ ),
99
+ 'submitMessageNotification' : IDL.Func(
100
+ [
101
+ IDL.Text,
102
+ IDL.Text,
103
+ IDL.Text,
104
+ IDL.Text,
105
+ IDL.Text,
106
+ IDL.Text,
107
+ IDL.Text,
108
+ IDL.Text,
109
+ IDL.Text,
110
+ ],
111
+ [IDL.Nat],
112
+ [],
113
+ ),
114
+ 'submitPartnerInquiry' : IDL.Func(
115
+ [IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
116
+ [IDL.Nat],
117
+ [],
118
+ ),
119
+ 'submitSalesInquiry' : IDL.Func(
120
+ [IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
121
+ [IDL.Nat],
122
+ [],
123
+ ),
124
+ 'submitSupportRequest' : IDL.Func(
125
+ [IDL.Text, IDL.Text, IDL.Text, IDL.Text],
126
+ [IDL.Nat],
127
+ [],
128
+ ),
129
+ });
74
130
  };
75
131
  export const init = ({ IDL }) => { return []; };
76
- //# sourceMappingURL=email_service.did.js.map
@@ -1,7 +1,227 @@
1
- export function idlFactory({ IDL }: {
2
- IDL: any;
3
- }): any;
4
- export function init({ IDL }: {
5
- IDL: any;
6
- }): never[];
7
- //# sourceMappingURL=land_registry_integration.did.d.ts.map
1
+ import type { Principal } from '@icp-sdk/core/principal';
2
+ import type { ActorMethod } from '@icp-sdk/core/agent';
3
+ import type { IDL } from '@icp-sdk/core/candid';
4
+
5
+ export type ActorType = { 'agent' : null } |
6
+ { 'systemActor' : null } |
7
+ { 'user' : null };
8
+ export interface AuditEntry {
9
+ 'action' : string,
10
+ 'actorType' : ActorType,
11
+ 'delegatedBy' : [] | [Principal],
12
+ 'timestamp' : bigint,
13
+ 'details' : string,
14
+ 'caller' : Principal,
15
+ 'success' : boolean,
16
+ }
17
+ export interface ConveyancerInfo {
18
+ 'name' : string,
19
+ 'contactEmail' : string,
20
+ 'licenseNumber' : string,
21
+ }
22
+ export interface CostSummary {
23
+ 'entryCount' : bigint,
24
+ 'byEndpoint' : Array<[string, bigint]>,
25
+ 'totalPence' : bigint,
26
+ 'byTransaction' : Array<[string, bigint]>,
27
+ }
28
+ export interface CredentialStatus {
29
+ 'isExpired' : boolean,
30
+ 'isConfigured' : boolean,
31
+ 'lastRotated' : [] | [bigint],
32
+ 'environment' : [] | [Environment],
33
+ 'daysSinceRotation' : [] | [bigint],
34
+ }
35
+ export type Environment = { 'sandbox' : null } |
36
+ { 'production' : null };
37
+ export interface HttpHeader { 'value' : string, 'name' : string }
38
+ export interface HttpResponse {
39
+ 'status' : bigint,
40
+ 'body' : Uint8Array | number[],
41
+ 'headers' : Array<HttpHeader>,
42
+ }
43
+ export type LRStatus = { 'processing' : null } |
44
+ { 'received' : null } |
45
+ { 'failed' : null } |
46
+ { 'registered' : null };
47
+ export interface LandRegistryAPIResponse {
48
+ 'status' : LRStatus,
49
+ 'registeredTimestamp' : [] | [bigint],
50
+ 'processedTimestamp' : [] | [bigint],
51
+ 'errorMessage' : [] | [string],
52
+ 'receivedTimestamp' : bigint,
53
+ 'responseID' : string,
54
+ 'estimatedCompletionTime' : bigint,
55
+ 'landRegistryConfirmationNumber' : string,
56
+ }
57
+ export interface LandRegistryStats {
58
+ 'pending' : number,
59
+ 'totalSubmissions' : number,
60
+ 'avgTimeToRegistration' : number,
61
+ 'successful' : number,
62
+ 'failed' : number,
63
+ }
64
+ export interface LandRegistryTransactionRecord {
65
+ 'status' : TransactionStatus,
66
+ 'createdAt' : bigint,
67
+ 'lastUpdated' : bigint,
68
+ 'maxRetries' : number,
69
+ 'landRegistryPayload' : OwnershipTransferPayload,
70
+ 'retryCount' : number,
71
+ 'nextRetryTime' : [] | [bigint],
72
+ 'blockchainTransactionID' : string,
73
+ 'apiResponse' : [] | [LandRegistryAPIResponse],
74
+ 'transactionID' : string,
75
+ }
76
+ export interface NewOwnerInfo {
77
+ 'name' : string,
78
+ 'address' : string,
79
+ 'contactEmail' : string,
80
+ }
81
+ export interface OfficialSearchResponse {
82
+ 'httpStatus' : bigint,
83
+ 'officialCopyTimestamp' : [] | [string],
84
+ 'advisoryEntries' : Array<string>,
85
+ 'documentStorageId' : [] | [bigint],
86
+ 'certificatePdfHash' : [] | [string],
87
+ 'registeredProprietorNames' : Array<string>,
88
+ 'certificateTimestamp' : string,
89
+ 'resultContainsAdvisoryEntries' : boolean,
90
+ 'registerChangedSinceSearchFromDate' : boolean,
91
+ 'priorityExpiry' : string,
92
+ 'searchRef' : string,
93
+ }
94
+ export interface OwnershipTransferPayload {
95
+ 'transactionDate' : bigint,
96
+ 'postcode' : string,
97
+ 'sellerSolicitorSignature' : string,
98
+ 'buyerSolicitorSignature' : string,
99
+ 'titleNumber' : string,
100
+ 'newOwnerDetails' : NewOwnerInfo,
101
+ 'blockchainCompletionProof' : string,
102
+ 'previousOwner' : string,
103
+ 'propertyAddress' : string,
104
+ 'contractExchangeTimestamp' : bigint,
105
+ 'blockchainProofHash' : string,
106
+ 'transactionAmount' : bigint,
107
+ 'transferID' : string,
108
+ 'conveyancerDetails' : ConveyancerInfo,
109
+ 'blockchainCompletionTimestamp' : bigint,
110
+ }
111
+ export type Period = { 'day' : null } |
112
+ { 'month' : null } |
113
+ { 'week' : null } |
114
+ { 'year' : null };
115
+ export interface RateLimitInfo {
116
+ 'callsThisHour' : bigint,
117
+ 'endpoint' : string,
118
+ 'dayResetAt' : bigint,
119
+ 'lastCallAt' : bigint,
120
+ 'callsToday' : bigint,
121
+ 'hourResetAt' : bigint,
122
+ }
123
+ export type Result = { 'ok' : boolean } |
124
+ { 'err' : string };
125
+ export type Result_1 = { 'ok' : string } |
126
+ { 'err' : string };
127
+ export type Result_2 = { 'ok' : null } |
128
+ { 'err' : string };
129
+ export type Result_3 = { 'ok' : OfficialSearchResponse } |
130
+ { 'err' : string };
131
+ export type Result_4 = { 'ok' : bigint } |
132
+ { 'err' : string };
133
+ export type Result_5 = { 'ok' : OwnershipTransferPayload } |
134
+ { 'err' : string };
135
+ export type Result_6 = { 'ok' : number } |
136
+ { 'err' : string };
137
+ export type Result_7 = { 'ok' : LandRegistryAPIResponse } |
138
+ { 'err' : string };
139
+ export type TransactionStatus = { 'sent_to_lr' : null } |
140
+ { 'requires_manual_review' : null } |
141
+ { 'pending_api_call' : null } |
142
+ { 'confirmed' : null } |
143
+ { 'failed' : null };
144
+ export interface TransformArgs {
145
+ 'context' : Uint8Array | number[],
146
+ 'response' : HttpResponse,
147
+ }
148
+ export interface _SERVICE {
149
+ 'check_land_registry_status' : ActorMethod<
150
+ [string],
151
+ [] | [LandRegistryTransactionRecord]
152
+ >,
153
+ 'getAuditLog' : ActorMethod<[], Array<AuditEntry>>,
154
+ 'getCredentialStatus' : ActorMethod<[], CredentialStatus>,
155
+ 'getCycles' : ActorMethod<[], bigint>,
156
+ 'getDailySpend' : ActorMethod<[], bigint>,
157
+ 'getNotificationPollingStatus' : ActorMethod<
158
+ [],
159
+ { 'enabled' : boolean, 'intervalSeconds' : bigint, 'lastPollAt' : bigint }
160
+ >,
161
+ 'getRateLimitStatus' : ActorMethod<[], Array<[string, RateLimitInfo]>>,
162
+ 'getTotalCosts' : ActorMethod<[bigint, bigint], CostSummary>,
163
+ 'get_all_pending_land_registry_submissions' : ActorMethod<
164
+ [string],
165
+ Array<LandRegistryTransactionRecord>
166
+ >,
167
+ 'get_all_transactions' : ActorMethod<
168
+ [],
169
+ Array<[string, LandRegistryTransactionRecord]>
170
+ >,
171
+ 'get_land_registry_stats' : ActorMethod<[string, Period], LandRegistryStats>,
172
+ 'get_land_registry_status' : ActorMethod<
173
+ [],
174
+ [] | [
175
+ {
176
+ 'lastValidated' : bigint,
177
+ 'apiEndpoint' : string,
178
+ 'environment' : Environment,
179
+ }
180
+ ]
181
+ >,
182
+ 'get_lr_response' : ActorMethod<[string], Result_7>,
183
+ 'log_land_registry_error' : ActorMethod<[string, string], Result_6>,
184
+ 'prepare_ownership_transfer_payload' : ActorMethod<
185
+ [
186
+ string,
187
+ string,
188
+ string,
189
+ string,
190
+ string,
191
+ string,
192
+ NewOwnerInfo,
193
+ ConveyancerInfo,
194
+ bigint,
195
+ string,
196
+ string,
197
+ string,
198
+ string,
199
+ bigint,
200
+ bigint,
201
+ ],
202
+ Result_5
203
+ >,
204
+ 'receive_land_registry_callback' : ActorMethod<
205
+ [LandRegistryAPIResponse],
206
+ Result_1
207
+ >,
208
+ 'recordAuditEntry' : ActorMethod<
209
+ [ActorType, [] | [Principal], string, string, boolean],
210
+ Result_4
211
+ >,
212
+ 'requestOfficialSearch' : ActorMethod<
213
+ [string, string, Array<string>, string],
214
+ Result_3
215
+ >,
216
+ 'retry_failed_land_registry_transmission' : ActorMethod<[string], Result_1>,
217
+ 'send_to_land_registry' : ActorMethod<[string], Result_1>,
218
+ 'setDailySpendLimit' : ActorMethod<[bigint], Result_2>,
219
+ 'setNotificationPolling' : ActorMethod<[boolean, [] | [bigint]], Result_2>,
220
+ 'setUserManagementCanisterId' : ActorMethod<[string], Result_2>,
221
+ 'simulate_land_registry_processing' : ActorMethod<[string], Result_1>,
222
+ 'transform' : ActorMethod<[TransformArgs], HttpResponse>,
223
+ 'validate_land_registry_connection' : ActorMethod<[], Result>,
224
+ 'verify_land_registry_receipt' : ActorMethod<[string], Result>,
225
+ }
226
+ export declare const idlFactory: IDL.InterfaceFactory;
227
+ export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];