@propxchain/core-client 0.2.1-canary.20 → 0.2.1-canary.22

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 (40) hide show
  1. package/dist/canisters/document_storage/document_storage.did.d.ts.map +1 -1
  2. package/dist/canisters/document_storage/document_storage.did.js +90 -21
  3. package/dist/canisters/document_storage/document_storage.did.js.map +1 -1
  4. package/dist/canisters/document_verification/document_verification.did.d.ts.map +1 -1
  5. package/dist/canisters/document_verification/document_verification.did.js +132 -0
  6. package/dist/canisters/document_verification/document_verification.did.js.map +1 -1
  7. package/dist/canisters/email_service/email_service.did.d.ts.map +1 -1
  8. package/dist/canisters/email_service/email_service.did.js +40 -0
  9. package/dist/canisters/email_service/email_service.did.js.map +1 -1
  10. package/dist/canisters/land_registry_integration/land_registry_integration.did.d.ts.map +1 -1
  11. package/dist/canisters/land_registry_integration/land_registry_integration.did.js +186 -12
  12. package/dist/canisters/land_registry_integration/land_registry_integration.did.js.map +1 -1
  13. package/dist/canisters/ledger_manager/ledger_manager.did.d.ts.map +1 -1
  14. package/dist/canisters/ledger_manager/ledger_manager.did.js +55 -2
  15. package/dist/canisters/ledger_manager/ledger_manager.did.js.map +1 -1
  16. package/dist/canisters/user_management/user_management.did.d.ts.map +1 -1
  17. package/dist/canisters/user_management/user_management.did.js +103 -20
  18. package/dist/canisters/user_management/user_management.did.js.map +1 -1
  19. package/package.json +1 -1
  20. package/src/canisters/document_storage/document_storage.did +82 -12
  21. package/src/canisters/document_storage/document_storage.did.d.ts +89 -12
  22. package/src/canisters/document_storage/document_storage.did.js +128 -19
  23. package/src/canisters/document_verification/document_verification.did +150 -0
  24. package/src/canisters/document_verification/document_verification.did.d.ts +128 -4
  25. package/src/canisters/document_verification/document_verification.did.js +160 -0
  26. package/src/canisters/email_service/email_service.did +49 -0
  27. package/src/canisters/email_service/email_service.did.d.ts +52 -5
  28. package/src/canisters/email_service/email_service.did.js +68 -0
  29. package/src/canisters/land_registry_integration/land_registry_integration.did +239 -13
  30. package/src/canisters/land_registry_integration/land_registry_integration.did.d.ts +188 -14
  31. package/src/canisters/land_registry_integration/land_registry_integration.did.js +213 -11
  32. package/src/canisters/ledger_manager/ledger_manager.did +77 -6
  33. package/src/canisters/ledger_manager/ledger_manager.did.d.ts +68 -5
  34. package/src/canisters/ledger_manager/ledger_manager.did.js +71 -2
  35. package/src/canisters/property_registry/property_registry.did.d.ts +3 -3
  36. package/src/canisters/transaction_manager/transaction_manager.did +27 -0
  37. package/src/canisters/transaction_manager/transaction_manager.did.d.ts +29 -0
  38. package/src/canisters/user_management/user_management.did +127 -25
  39. package/src/canisters/user_management/user_management.did.d.ts +100 -24
  40. package/src/canisters/user_management/user_management.did.js +135 -20
@@ -1,8 +1,15 @@
1
1
  export const idlFactory = ({ IDL }) => {
2
+ const ActorType = IDL.Variant({
3
+ 'agent' : IDL.Null,
4
+ 'systemActor' : IDL.Null,
5
+ 'user' : IDL.Null,
6
+ });
2
7
  const Time = IDL.Int;
3
8
  const AuditLog = IDL.Record({
4
9
  'id' : IDL.Nat,
5
10
  'action' : IDL.Text,
11
+ 'actorType' : ActorType,
12
+ 'delegatedBy' : IDL.Opt(IDL.Principal),
6
13
  'performedBy' : IDL.Principal,
7
14
  'timestamp' : Time,
8
15
  'details' : IDL.Text,
@@ -24,7 +31,32 @@ export const idlFactory = ({ IDL }) => {
24
31
  'uploadedBy' : IDL.Principal,
25
32
  'transactionId' : IDL.Opt(IDL.Nat),
26
33
  });
34
+ const OscarIssue = IDL.Record({
35
+ 'field' : IDL.Opt(IDL.Text),
36
+ 'code' : IDL.Text,
37
+ 'message' : IDL.Text,
38
+ 'severity' : IDL.Variant({
39
+ 'warning' : IDL.Null,
40
+ 'info' : IDL.Null,
41
+ 'error' : IDL.Null,
42
+ }),
43
+ });
44
+ const DataMismatch = IDL.Record({
45
+ 'field' : IDL.Text,
46
+ 'found' : IDL.Text,
47
+ 'expected' : IDL.Text,
48
+ });
49
+ const OscarVerificationDetails = IDL.Record({
50
+ 'documentType' : IDL.Text,
51
+ 'requiresSolicitorReview' : IDL.Bool,
52
+ 'extractedData' : IDL.Text,
53
+ 'issues' : IDL.Vec(OscarIssue),
54
+ 'mismatches' : IDL.Vec(DataMismatch),
55
+ 'confidence' : IDL.Nat,
56
+ 'analysisTimestamp' : Time,
57
+ });
27
58
  const VerificationMethod = IDL.Variant({
59
+ 'oscar_ai' : OscarVerificationDetails,
28
60
  'passport_dcs' : IDL.Null,
29
61
  'commercial_api' : IDL.Text,
30
62
  'system_hash_only' : IDL.Null,
@@ -47,7 +79,93 @@ export const idlFactory = ({ IDL }) => {
47
79
  'verifiedBy' : IDL.Principal,
48
80
  'verificationMethod' : VerificationMethod,
49
81
  });
82
+ const LRDocumentType = IDL.Variant({
83
+ 'LandChargesSearchK16' : IDL.Null,
84
+ 'OfficialSearchCertificate' : IDL.Null,
85
+ 'SearchOfPartCertificate' : IDL.Null,
86
+ 'RegisterExtract' : IDL.Null,
87
+ 'OfficialCopyRegister' : IDL.Null,
88
+ 'LocalAuthoritySearch' : IDL.Null,
89
+ 'OfficialCopyTitlePlan' : IDL.Null,
90
+ 'CompletionConfirmation' : IDL.Null,
91
+ 'AP1Acknowledgement' : IDL.Null,
92
+ 'RequisitionNotice' : IDL.Null,
93
+ });
94
+ const LRDocumentSummary = IDL.Record({
95
+ 'documentType' : LRDocumentType,
96
+ 'isVerified' : IDL.Bool,
97
+ 'isCurrent' : IDL.Bool,
98
+ 'landRegistryReference' : IDL.Opt(IDL.Text),
99
+ 'validUntil' : IDL.Opt(IDL.Int),
100
+ });
101
+ const TransactionVerificationSummary = IDL.Record({
102
+ 'missingDocuments' : IDL.Vec(IDL.Text),
103
+ 'expiredDocuments' : IDL.Nat,
104
+ 'hasOfficialSearch' : IDL.Bool,
105
+ 'titleNumber' : IDL.Text,
106
+ 'allDocumentsVerified' : IDL.Bool,
107
+ 'readyForSubmission' : IDL.Bool,
108
+ 'readyForCompletion' : IDL.Bool,
109
+ 'officialSearchValid' : IDL.Bool,
110
+ 'allLRDocumentsCurrent' : IDL.Bool,
111
+ 'verifiedDocuments' : IDL.Nat,
112
+ 'daysUntilSearchExpiry' : IDL.Opt(IDL.Int),
113
+ 'lrDocuments' : IDL.Vec(LRDocumentSummary),
114
+ 'officialSearchExpiry' : IDL.Opt(IDL.Int),
115
+ 'readyForExchange' : IDL.Bool,
116
+ 'unverifiedDocuments' : IDL.Nat,
117
+ 'totalDocuments' : IDL.Nat,
118
+ 'transactionId' : IDL.Text,
119
+ });
120
+ const Result_4 = IDL.Variant({
121
+ 'ok' : TransactionVerificationSummary,
122
+ 'err' : IDL.Text,
123
+ });
124
+ const Result_3 = IDL.Variant({ 'ok' : IDL.Nat, 'err' : IDL.Text });
50
125
  const Result = IDL.Variant({ 'ok' : DocumentVerification, 'err' : IDL.Text });
126
+ const OfficialCopyVerification = IDL.Record({
127
+ 'documentAge' : IDL.Nat,
128
+ 'hashVerified' : IDL.Bool,
129
+ 'issuedAt' : IDL.Int,
130
+ 'titleNumberMatches' : IDL.Bool,
131
+ 'isCurrent' : IDL.Bool,
132
+ 'copyType' : LRDocumentType,
133
+ 'verifiedAt' : IDL.Int,
134
+ 'verifiedBy' : IDL.Principal,
135
+ });
136
+ const Result_2 = IDL.Variant({
137
+ 'ok' : OfficialCopyVerification,
138
+ 'err' : IDL.Text,
139
+ });
140
+ const PriorityStatus = IDL.Variant({
141
+ 'Active' : IDL.Null,
142
+ 'ExpiringImminently' : IDL.Null,
143
+ 'Unknown' : IDL.Null,
144
+ 'Expired' : IDL.Null,
145
+ });
146
+ const OSCertificateVerification = IDL.Record({
147
+ 'priorityStatus' : PriorityStatus,
148
+ 'registerChangedFlag' : IDL.Opt(IDL.Bool),
149
+ 'advisoryEntries' : IDL.Vec(IDL.Text),
150
+ 'hashVerified' : IDL.Bool,
151
+ 'priorityExpiry' : IDL.Opt(IDL.Int),
152
+ 'titleNumberMatches' : IDL.Bool,
153
+ 'daysRemaining' : IDL.Opt(IDL.Int),
154
+ 'verifiedAt' : IDL.Int,
155
+ 'verifiedBy' : IDL.Principal,
156
+ });
157
+ const Result_1 = IDL.Variant({
158
+ 'ok' : OSCertificateVerification,
159
+ 'err' : IDL.Text,
160
+ });
161
+ const OscarVerificationInput = IDL.Record({
162
+ 'documentType' : IDL.Text,
163
+ 'requiresSolicitorReview' : IDL.Bool,
164
+ 'extractedData' : IDL.Text,
165
+ 'issues' : IDL.Vec(OscarIssue),
166
+ 'mismatches' : IDL.Vec(DataMismatch),
167
+ 'confidence' : IDL.Nat,
168
+ });
51
169
  return IDL.Service({
52
170
  'deleteDocument' : IDL.Func(
53
171
  [IDL.Nat],
@@ -72,6 +190,11 @@ export const idlFactory = ({ IDL }) => {
72
190
  [IDL.Vec(DocumentVerification)],
73
191
  ['query'],
74
192
  ),
193
+ 'getOscarVerificationDetails' : IDL.Func(
194
+ [IDL.Nat],
195
+ [IDL.Opt(OscarVerificationDetails)],
196
+ ['query'],
197
+ ),
75
198
  'getPropertyDocuments' : IDL.Func(
76
199
  [IDL.Nat],
77
200
  [IDL.Vec(DocumentMetadata)],
@@ -90,6 +213,11 @@ export const idlFactory = ({ IDL }) => {
90
213
  ],
91
214
  ['query'],
92
215
  ),
216
+ 'getTransactionVerificationSummary' : IDL.Func(
217
+ [IDL.Text, IDL.Text],
218
+ [Result_4],
219
+ [],
220
+ ),
93
221
  'getUnverifiedDocuments' : IDL.Func(
94
222
  [IDL.Nat],
95
223
  [IDL.Vec(DocumentMetadata)],
@@ -100,11 +228,28 @@ export const idlFactory = ({ IDL }) => {
100
228
  [IDL.Opt(DocumentVerification)],
101
229
  ['query'],
102
230
  ),
231
+ 'getVerificationsByTransaction' : IDL.Func(
232
+ [IDL.Nat],
233
+ [IDL.Vec(DocumentVerification)],
234
+ ['query'],
235
+ ),
103
236
  'getVerificationsByVerifier' : IDL.Func(
104
237
  [IDL.Principal],
105
238
  [IDL.Vec(DocumentVerification)],
106
239
  ['query'],
107
240
  ),
241
+ 'recordAuditEntry' : IDL.Func(
242
+ [
243
+ ActorType,
244
+ IDL.Opt(IDL.Principal),
245
+ IDL.Text,
246
+ IDL.Nat,
247
+ IDL.Text,
248
+ IDL.Bool,
249
+ ],
250
+ [Result_3],
251
+ [],
252
+ ),
108
253
  'registerDocument' : IDL.Func(
109
254
  [
110
255
  IDL.Nat,
@@ -127,12 +272,27 @@ export const idlFactory = ({ IDL }) => {
127
272
  [Result],
128
273
  [],
129
274
  ),
275
+ 'verifyOfficialCopy' : IDL.Func(
276
+ [IDL.Nat, IDL.Text, IDL.Nat],
277
+ [Result_2],
278
+ [],
279
+ ),
280
+ 'verifyOfficialSearchCertificate' : IDL.Func(
281
+ [IDL.Nat, IDL.Text, IDL.Opt(IDL.Text)],
282
+ [Result_1],
283
+ [],
284
+ ),
130
285
  'verifyWithCommercialAPI' : IDL.Func(
131
286
  [IDL.Nat, IDL.Text, IDL.Text],
132
287
  [Result],
133
288
  [],
134
289
  ),
135
290
  'verifyWithDVLA' : IDL.Func([IDL.Nat, IDL.Text], [Result], []),
291
+ 'verifyWithOscar' : IDL.Func(
292
+ [IDL.Nat, OscarVerificationInput],
293
+ [Result],
294
+ [],
295
+ ),
136
296
  'verifyWithPassportDCS' : IDL.Func([IDL.Nat, IDL.Text], [Result], []),
137
297
  });
138
298
  };
@@ -1,33 +1,82 @@
1
+ type Result_1 =
2
+ variant {
3
+ err: text;
4
+ ok: nat;
5
+ };
6
+ type Result =
7
+ variant {
8
+ err: text;
9
+ ok: text;
10
+ };
1
11
  type EmailNotification =
2
12
  record {
3
13
  company: opt text;
4
14
  contactType: ContactType;
5
15
  email: text;
6
16
  id: nat;
17
+ lrNotificationType: opt text;
7
18
  message: text;
8
19
  name: text;
9
20
  partnerType: opt text;
10
21
  phone: opt text;
11
22
  processed: bool;
23
+ propertyAddress: opt text;
12
24
  subject: text;
13
25
  timestamp: int;
26
+ titleNumber: opt text;
27
+ transactionId: opt text;
14
28
  userType: opt text;
15
29
  volume: opt text;
16
30
  website: opt text;
17
31
  };
18
32
  type ContactType =
19
33
  variant {
34
+ email_verification;
35
+ lr_application_registered;
36
+ lr_application_submitted;
37
+ lr_budget_alert;
38
+ lr_official_search_complete;
39
+ lr_requisition_raised;
40
+ lr_search_expiry_warning;
41
+ lr_status_change;
42
+ message_notification;
20
43
  partners;
21
44
  sales;
22
45
  support;
23
46
  };
24
47
  service : {
48
+ checkAndSendExpiryWarnings: (daysThreshold: nat) -> (Result_1);
49
+ disableExpiryWarningTimer: () -> (Result);
50
+ enableExpiryWarningTimer: () -> (Result);
25
51
  formatNotificationAsEmail: (id: nat) -> (opt text) query;
26
52
  getAllNotifications: () -> (vec EmailNotification) query;
53
+ getCycles: () -> (nat) query;
54
+ getExpiryWarningStatus: () ->
55
+ (record {
56
+ lastCheckTime: int;
57
+ timerActive: bool;
58
+ }) query;
59
+ getLandRegistryNotifications: (txnId: text) ->
60
+ (vec EmailNotification) query;
27
61
  getNotification: (id: nat) -> (opt EmailNotification) query;
62
+ getTransactionManagerCanister: () -> (text) query;
28
63
  getUnprocessedCount: () -> (nat) query;
64
+ getUnprocessedLRNotifications: () -> (vec EmailNotification) query;
29
65
  getUnprocessedNotifications: () -> (vec EmailNotification) query;
66
+ getUserManagementCanister: () -> (text) query;
30
67
  markAsProcessed: (id: nat) -> (bool);
68
+ sendBudgetAlert: (recipientEmail: text, recipientName: text, currentSpend:
69
+ nat, budgetLimit: nat, percentUsed: nat) -> (nat);
70
+ sendLandRegistryNotification: (recipientEmail: text, recipientName:
71
+ text, notificationType: text, txnId: text, title: text, propAddress:
72
+ text, details: text) -> (nat);
73
+ setTransactionManagerCanister: (canisterId: text) -> (Result);
74
+ setUserManagementCanister: (canisterId: text) -> (Result);
75
+ submitEmailVerification: (name: text, email: text, verificationToken:
76
+ text) -> (nat);
77
+ submitMessageNotification: (recipientEmail: text, recipientName: text,
78
+ senderName: text, subject: text, messagePreview: text, threadId: text,
79
+ transactionId: text, propertyAddress: text, priority: text) -> (nat);
31
80
  submitPartnerInquiry: (name: text, email: text, company: text, website:
32
81
  text, partnerType: text, message: text) -> (nat);
33
82
  submitSalesInquiry: (name: text, email: text, company: text, phone:
@@ -1,18 +1,30 @@
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';
1
+ import type { Principal } from '@dfinity/principal';
2
+ import type { ActorMethod } from '@dfinity/agent';
3
+ import type { IDL } from '@dfinity/candid';
4
4
 
5
- export type ContactType = { 'support' : null } |
5
+ export type ContactType = { 'lr_budget_alert' : null } |
6
+ { 'lr_application_submitted' : null } |
7
+ { 'message_notification' : null } |
8
+ { 'support' : null } |
6
9
  { 'partners' : null } |
7
- { 'sales' : 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 };
8
17
  export interface EmailNotification {
9
18
  'id' : bigint,
10
19
  'userType' : [] | [string],
11
20
  'contactType' : ContactType,
12
21
  'subject' : string,
13
22
  'partnerType' : [] | [string],
23
+ 'titleNumber' : [] | [string],
14
24
  'name' : string,
15
25
  'volume' : [] | [string],
26
+ 'propertyAddress' : [] | [string],
27
+ 'lrNotificationType' : [] | [string],
16
28
  'email' : string,
17
29
  'website' : [] | [string],
18
30
  'company' : [] | [string],
@@ -20,14 +32,49 @@ export interface EmailNotification {
20
32
  'timestamp' : bigint,
21
33
  'phone' : [] | [string],
22
34
  'processed' : boolean,
35
+ 'transactionId' : [] | [string],
23
36
  }
37
+ export type Result = { 'ok' : string } |
38
+ { 'err' : string };
39
+ export type Result_1 = { 'ok' : bigint } |
40
+ { 'err' : string };
24
41
  export interface _SERVICE {
42
+ 'checkAndSendExpiryWarnings' : ActorMethod<[bigint], Result_1>,
43
+ 'disableExpiryWarningTimer' : ActorMethod<[], Result>,
44
+ 'enableExpiryWarningTimer' : ActorMethod<[], Result>,
25
45
  'formatNotificationAsEmail' : ActorMethod<[bigint], [] | [string]>,
26
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
+ >,
27
56
  'getNotification' : ActorMethod<[bigint], [] | [EmailNotification]>,
57
+ 'getTransactionManagerCanister' : ActorMethod<[], string>,
28
58
  'getUnprocessedCount' : ActorMethod<[], bigint>,
59
+ 'getUnprocessedLRNotifications' : ActorMethod<[], Array<EmailNotification>>,
29
60
  'getUnprocessedNotifications' : ActorMethod<[], Array<EmailNotification>>,
61
+ 'getUserManagementCanister' : ActorMethod<[], string>,
30
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
+ >,
31
78
  'submitPartnerInquiry' : ActorMethod<
32
79
  [string, string, string, string, string, string],
33
80
  bigint
@@ -1,8 +1,19 @@
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 });
2
4
  const ContactType = IDL.Variant({
5
+ 'lr_budget_alert' : IDL.Null,
6
+ 'lr_application_submitted' : IDL.Null,
7
+ 'message_notification' : IDL.Null,
3
8
  'support' : IDL.Null,
4
9
  'partners' : IDL.Null,
5
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,
6
17
  });
7
18
  const EmailNotification = IDL.Record({
8
19
  'id' : IDL.Nat,
@@ -10,8 +21,11 @@ export const idlFactory = ({ IDL }) => {
10
21
  'contactType' : ContactType,
11
22
  'subject' : IDL.Text,
12
23
  'partnerType' : IDL.Opt(IDL.Text),
24
+ 'titleNumber' : IDL.Opt(IDL.Text),
13
25
  'name' : IDL.Text,
14
26
  'volume' : IDL.Opt(IDL.Text),
27
+ 'propertyAddress' : IDL.Opt(IDL.Text),
28
+ 'lrNotificationType' : IDL.Opt(IDL.Text),
15
29
  'email' : IDL.Text,
16
30
  'website' : IDL.Opt(IDL.Text),
17
31
  'company' : IDL.Opt(IDL.Text),
@@ -19,8 +33,12 @@ export const idlFactory = ({ IDL }) => {
19
33
  'timestamp' : IDL.Int,
20
34
  'phone' : IDL.Opt(IDL.Text),
21
35
  'processed' : IDL.Bool,
36
+ 'transactionId' : IDL.Opt(IDL.Text),
22
37
  });
23
38
  return IDL.Service({
39
+ 'checkAndSendExpiryWarnings' : IDL.Func([IDL.Nat], [Result_1], []),
40
+ 'disableExpiryWarningTimer' : IDL.Func([], [Result], []),
41
+ 'enableExpiryWarningTimer' : IDL.Func([], [Result], []),
24
42
  'formatNotificationAsEmail' : IDL.Func(
25
43
  [IDL.Nat],
26
44
  [IDL.Opt(IDL.Text)],
@@ -31,18 +49,68 @@ export const idlFactory = ({ IDL }) => {
31
49
  [IDL.Vec(EmailNotification)],
32
50
  ['query'],
33
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
+ ),
34
63
  'getNotification' : IDL.Func(
35
64
  [IDL.Nat],
36
65
  [IDL.Opt(EmailNotification)],
37
66
  ['query'],
38
67
  ),
68
+ 'getTransactionManagerCanister' : IDL.Func([], [IDL.Text], ['query']),
39
69
  'getUnprocessedCount' : IDL.Func([], [IDL.Nat], ['query']),
70
+ 'getUnprocessedLRNotifications' : IDL.Func(
71
+ [],
72
+ [IDL.Vec(EmailNotification)],
73
+ ['query'],
74
+ ),
40
75
  'getUnprocessedNotifications' : IDL.Func(
41
76
  [],
42
77
  [IDL.Vec(EmailNotification)],
43
78
  ['query'],
44
79
  ),
80
+ 'getUserManagementCanister' : IDL.Func([], [IDL.Text], ['query']),
45
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
+ ),
46
114
  'submitPartnerInquiry' : IDL.Func(
47
115
  [IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
48
116
  [IDL.Nat],