@propxchain/core-client 0.4.0-canary.39 → 0.6.0-canary.43

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 (35) hide show
  1. package/dist/canisters/document_storage/document_storage.did.d.ts +31 -21
  2. package/dist/canisters/document_storage/document_storage.did.js +31 -21
  3. package/dist/canisters/document_verification/document_verification.did.d.ts +9 -9
  4. package/dist/canisters/document_verification/document_verification.did.js +28 -28
  5. package/dist/canisters/land_registry_integration/land_registry_integration.did.js +23 -139
  6. package/dist/canisters/ledger_manager/ledger_manager.did.d.ts +1 -0
  7. package/dist/canisters/ledger_manager/ledger_manager.did.js +2 -5
  8. package/dist/canisters/property_registry/property_registry.did.d.ts +7 -3
  9. package/dist/canisters/property_registry/property_registry.did.js +12 -4
  10. package/dist/canisters/transaction_manager/transaction_manager.did.d.ts +90 -42
  11. package/dist/canisters/transaction_manager/transaction_manager.did.js +117 -40
  12. package/dist/canisters/user_management/user_management.did.d.ts +75 -18
  13. package/dist/canisters/user_management/user_management.did.js +93 -19
  14. package/dist/mock.js +1 -1
  15. package/package.json +1 -1
  16. package/src/canisters/document_storage/document_storage.did +32 -21
  17. package/src/canisters/document_storage/document_storage.did.d.ts +31 -21
  18. package/src/canisters/document_storage/document_storage.did.js +31 -21
  19. package/src/canisters/document_verification/document_verification.did +6 -6
  20. package/src/canisters/document_verification/document_verification.did.d.ts +9 -9
  21. package/src/canisters/document_verification/document_verification.did.js +28 -28
  22. package/src/canisters/land_registry_integration/land_registry_integration.did.js +23 -139
  23. package/src/canisters/ledger_manager/ledger_manager.did +2 -1
  24. package/src/canisters/ledger_manager/ledger_manager.did.d.ts +1 -0
  25. package/src/canisters/ledger_manager/ledger_manager.did.js +2 -5
  26. package/src/canisters/property_registry/property_registry.did +7 -3
  27. package/src/canisters/property_registry/property_registry.did.d.ts +7 -3
  28. package/src/canisters/property_registry/property_registry.did.js +12 -4
  29. package/src/canisters/transaction_manager/transaction_manager.did +104 -48
  30. package/src/canisters/transaction_manager/transaction_manager.did.d.ts +90 -42
  31. package/src/canisters/transaction_manager/transaction_manager.did.js +117 -40
  32. package/src/canisters/user_management/user_management.did +64 -19
  33. package/src/canisters/user_management/user_management.did.d.ts +75 -18
  34. package/src/canisters/user_management/user_management.did.js +93 -19
  35. package/src/mock.ts +1 -1
@@ -24,6 +24,18 @@ export interface AdminRecord {
24
24
  }
25
25
  export type AdminRole = { 'regular' : null } |
26
26
  { 'super' : null };
27
+ export interface AgentGrant {
28
+ 'status' : GrantStatus,
29
+ 'clientId' : [] | [string],
30
+ 'expiresAt' : [] | [Time],
31
+ 'source' : GrantSource,
32
+ 'ownerPrincipal' : [] | [Principal],
33
+ 'scopes' : Array<string>,
34
+ 'tier' : GrantTier,
35
+ 'issuedAt' : Time,
36
+ 'lastElevatedAt' : [] | [Time],
37
+ 'agentPrincipal' : Principal,
38
+ }
27
39
  export interface AuditLog {
28
40
  'id' : bigint,
29
41
  'action' : string,
@@ -59,6 +71,16 @@ export interface BotAgent {
59
71
  export type BotRole = { 'BotFirm' : null } |
60
72
  { 'BotInternal' : null } |
61
73
  { 'BotPersonal' : null };
74
+ export type GrantSource = { 'authMdEmail' : null } |
75
+ { 'oauth' : null } |
76
+ { 'authMdIdJag' : null } |
77
+ { 'invite' : null } |
78
+ { 'authMdAnonymous' : null };
79
+ export type GrantStatus = { 'active' : null } |
80
+ { 'revoked' : null } |
81
+ { 'preClaim' : null };
82
+ export type GrantTier = { 'readOnly' : null } |
83
+ { 'consequential' : null };
62
84
  export type Permission = { 'ViewTransactionProgress' : string } |
63
85
  { 'ViewSharedTransaction' : string } |
64
86
  { 'ViewDevelopmentUnits' : string } |
@@ -67,17 +89,15 @@ export type Permission = { 'ViewTransactionProgress' : string } |
67
89
  { 'AdminViewAllTransactions' : null } |
68
90
  { 'AdminManageUsers' : null } |
69
91
  { 'UpdateMemberDocuments' : [string, Principal] };
70
- export type Result = {
71
- 'ok' : { 'ownerPrincipal' : Principal, 'role' : BotRole }
72
- } |
92
+ export type Result = { 'ok' : string } |
73
93
  { 'err' : string };
74
- export type Result_1 = { 'ok' : string } |
94
+ export type Result_1 = { 'ok' : bigint } |
75
95
  { 'err' : string };
76
- export type Result_2 = { 'ok' : BotAgent } |
96
+ export type Result_2 = { 'ok' : null } |
77
97
  { 'err' : string };
78
- export type Result_3 = { 'ok' : bigint } |
98
+ export type Result_3 = { 'ok' : BotAgent } |
79
99
  { 'err' : string };
80
- export type Result_4 = { 'ok' : null } |
100
+ export type Result_4 = { 'ok' : AgentGrant } |
81
101
  { 'err' : string };
82
102
  export type Result_5 = { 'ok' : SolicitorSubmissionDetails } |
83
103
  { 'err' : string };
@@ -166,21 +186,22 @@ export interface _SERVICE {
166
186
  [string, Principal, UserType, boolean, boolean, string],
167
187
  boolean
168
188
  >,
169
- 'adminLinkPrincipals' : ActorMethod<[Principal, Principal], Result_1>,
189
+ 'adminLinkPrincipals' : ActorMethod<[Principal, Principal], Result>,
170
190
  'amIAdmin' : ActorMethod<[], boolean>,
171
191
  'bootstrapAdmin' : ActorMethod<[string, string], boolean>,
172
192
  'canUserAccessTransaction' : ActorMethod<[Principal, string], boolean>,
173
193
  'checkPermissionWithAudit' : ActorMethod<[Permission], boolean>,
174
- 'claimLinkCode' : ActorMethod<[string], Result_1>,
194
+ 'claimLinkCode' : ActorMethod<[string], Result>,
175
195
  'createUserForPrincipal' : ActorMethod<
176
196
  [Principal, string, string, string, string, string],
177
197
  boolean
178
198
  >,
179
- 'deactivateBot' : ActorMethod<[Principal], Result_4>,
199
+ 'deactivateBot' : ActorMethod<[Principal], Result_2>,
180
200
  'deleteUserByPrincipal' : ActorMethod<[Principal, string], boolean>,
181
201
  'demoteAdmin' : ActorMethod<[Principal, string], AdminMutationResult_1>,
182
202
  'generateCSRFToken' : ActorMethod<[], string>,
183
- 'generateLinkCode' : ActorMethod<[], Result_1>,
203
+ 'generateLinkCode' : ActorMethod<[], Result>,
204
+ 'getAgentGrant' : ActorMethod<[Principal], [] | [AgentGrant]>,
184
205
  'getAllBots' : ActorMethod<[], Array<BotAgent>>,
185
206
  'getAllUsers' : ActorMethod<[], Array<UserProfile>>,
186
207
  'getAuditLogs' : ActorMethod<[bigint], Array<AuditLog>>,
@@ -188,7 +209,13 @@ export interface _SERVICE {
188
209
  'getBotAgent' : ActorMethod<[Principal], [] | [BotAgent]>,
189
210
  'getCSRFToken' : ActorMethod<[], [] | [string]>,
190
211
  'getCycles' : ActorMethod<[], bigint>,
212
+ 'getGrantIssuer' : ActorMethod<[], [] | [Principal]>,
191
213
  'getLinkedPrincipals' : ActorMethod<[Principal], Array<Principal>>,
214
+ 'getMemberRoleInTransaction' : ActorMethod<
215
+ [Principal, string],
216
+ [] | [UserType]
217
+ >,
218
+ 'getMyAgentGrants' : ActorMethod<[], Array<AgentGrant>>,
192
219
  'getMyBots' : ActorMethod<[], Array<BotAgent>>,
193
220
  'getMyLinkedPrincipals' : ActorMethod<[], Array<Principal>>,
194
221
  'getMyManagingSolicitor' : ActorMethod<[], [] | [UserProfile]>,
@@ -208,14 +235,14 @@ export interface _SERVICE {
208
235
  'listAdmins' : ActorMethod<[], Array<AdminRecord>>,
209
236
  'logBotAction' : ActorMethod<
210
237
  [Principal, string, [] | [string], boolean, string],
211
- Result_4
238
+ Result_2
212
239
  >,
213
240
  'myAdminRole' : ActorMethod<[], [] | [AdminRole]>,
214
241
  'promoteAdmin' : ActorMethod<
215
242
  [Principal, AdminRole, [] | [string], string],
216
243
  AdminMutationResult
217
244
  >,
218
- 'reactivateBot' : ActorMethod<[Principal], Result_4>,
245
+ 'reactivateBot' : ActorMethod<[Principal], Result_2>,
219
246
  'recordAuditEntry' : ActorMethod<
220
247
  [
221
248
  ActorType,
@@ -226,9 +253,34 @@ export interface _SERVICE {
226
253
  boolean,
227
254
  string,
228
255
  ],
229
- Result_3
256
+ Result_1
257
+ >,
258
+ 'recordGrantElevation' : ActorMethod<
259
+ [
260
+ Principal,
261
+ Principal,
262
+ GrantTier,
263
+ Array<string>,
264
+ GrantSource,
265
+ [] | [Time],
266
+ [] | [string],
267
+ ],
268
+ Result_4
230
269
  >,
231
- 'registerBot' : ActorMethod<[Principal, string, string, BotRole], Result_2>,
270
+ 'recordGrantIssued' : ActorMethod<
271
+ [
272
+ Principal,
273
+ [] | [Principal],
274
+ GrantTier,
275
+ Array<string>,
276
+ GrantStatus,
277
+ GrantSource,
278
+ [] | [Time],
279
+ ],
280
+ Result_4
281
+ >,
282
+ 'recordGrantRevocation' : ActorMethod<[Principal, string], Result_2>,
283
+ 'registerBot' : ActorMethod<[Principal, string, string, BotRole], Result_3>,
232
284
  'registerUser' : ActorMethod<[string, string, string, string], boolean>,
233
285
  'registerUserV2' : ActorMethod<
234
286
  [
@@ -244,20 +296,25 @@ export interface _SERVICE {
244
296
  ],
245
297
  boolean
246
298
  >,
299
+ 'repairTransactionMemberRole' : ActorMethod<
300
+ [string, Principal, UserType],
301
+ boolean
302
+ >,
247
303
  'resendVerificationEmail' : ActorMethod<[string], boolean>,
248
304
  'revokeSolicitorAccess' : ActorMethod<[Principal, string], boolean>,
249
- 'unlinkPrincipal' : ActorMethod<[Principal], Result_1>,
305
+ 'setGrantIssuer' : ActorMethod<[Principal], Result_2>,
306
+ 'sweepStaleGrants' : ActorMethod<[], Result_1>,
307
+ 'unlinkPrincipal' : ActorMethod<[Principal], Result>,
250
308
  'updateMemberDocuments' : ActorMethod<[string, string, string], boolean>,
251
309
  'updateSolicitorLRDetails' : ActorMethod<
252
310
  [[] | [string], boolean, [] | [string], [] | [string], [] | [string]],
253
- Result_1
311
+ Result
254
312
  >,
255
313
  'updateTransactionMemberRequiredDocs' : ActorMethod<
256
314
  [string, Array<string>, string],
257
315
  boolean
258
316
  >,
259
317
  'validateAdmin' : ActorMethod<[Principal], boolean>,
260
- 'validateBot' : ActorMethod<[Principal], Result>,
261
318
  'validateCSRFToken' : ActorMethod<[string], boolean>,
262
319
  'verifyEmail' : ActorMethod<[string, string], boolean>,
263
320
  'verifyUser' : ActorMethod<[Principal, string], boolean>,
@@ -19,7 +19,7 @@ export const idlFactory = ({ IDL }) => {
19
19
  'solicitor_managed' : IDL.Null,
20
20
  'assisted_buyer' : IDL.Null,
21
21
  });
22
- const Result_1 = IDL.Variant({ 'ok' : IDL.Text, 'err' : IDL.Text });
22
+ const Result = IDL.Variant({ 'ok' : IDL.Text, 'err' : IDL.Text });
23
23
  const Permission = IDL.Variant({
24
24
  'ViewTransactionProgress' : IDL.Text,
25
25
  'ViewSharedTransaction' : IDL.Text,
@@ -30,7 +30,7 @@ export const idlFactory = ({ IDL }) => {
30
30
  'AdminManageUsers' : IDL.Null,
31
31
  'UpdateMemberDocuments' : IDL.Tuple(IDL.Text, IDL.Principal),
32
32
  });
33
- const Result_4 = IDL.Variant({ 'ok' : IDL.Null, 'err' : IDL.Text });
33
+ const Result_2 = IDL.Variant({ 'ok' : IDL.Null, 'err' : IDL.Text });
34
34
  const AdminMutationError = IDL.Variant({
35
35
  'targetIsAnonymous' : IDL.Null,
36
36
  'cannotDemoteController' : IDL.Null,
@@ -43,7 +43,35 @@ export const idlFactory = ({ IDL }) => {
43
43
  'ok' : IDL.Null,
44
44
  'err' : AdminMutationError,
45
45
  });
46
+ const GrantStatus = IDL.Variant({
47
+ 'active' : IDL.Null,
48
+ 'revoked' : IDL.Null,
49
+ 'preClaim' : IDL.Null,
50
+ });
46
51
  const Time = IDL.Int;
52
+ const GrantSource = IDL.Variant({
53
+ 'authMdEmail' : IDL.Null,
54
+ 'oauth' : IDL.Null,
55
+ 'authMdIdJag' : IDL.Null,
56
+ 'invite' : IDL.Null,
57
+ 'authMdAnonymous' : IDL.Null,
58
+ });
59
+ const GrantTier = IDL.Variant({
60
+ 'readOnly' : IDL.Null,
61
+ 'consequential' : IDL.Null,
62
+ });
63
+ const AgentGrant = IDL.Record({
64
+ 'status' : GrantStatus,
65
+ 'clientId' : IDL.Opt(IDL.Text),
66
+ 'expiresAt' : IDL.Opt(Time),
67
+ 'source' : GrantSource,
68
+ 'ownerPrincipal' : IDL.Opt(IDL.Principal),
69
+ 'scopes' : IDL.Vec(IDL.Text),
70
+ 'tier' : GrantTier,
71
+ 'issuedAt' : Time,
72
+ 'lastElevatedAt' : IDL.Opt(Time),
73
+ 'agentPrincipal' : IDL.Principal,
74
+ });
47
75
  const BotRole = IDL.Variant({
48
76
  'BotFirm' : IDL.Null,
49
77
  'BotInternal' : IDL.Null,
@@ -165,12 +193,9 @@ export const idlFactory = ({ IDL }) => {
165
193
  'ok' : AdminRecord,
166
194
  'err' : AdminMutationError,
167
195
  });
168
- const Result_3 = IDL.Variant({ 'ok' : IDL.Nat, 'err' : IDL.Text });
169
- const Result_2 = IDL.Variant({ 'ok' : BotAgent, 'err' : IDL.Text });
170
- const Result = IDL.Variant({
171
- 'ok' : IDL.Record({ 'ownerPrincipal' : IDL.Principal, 'role' : BotRole }),
172
- 'err' : IDL.Text,
173
- });
196
+ const Result_1 = IDL.Variant({ 'ok' : IDL.Nat, 'err' : IDL.Text });
197
+ const Result_4 = IDL.Variant({ 'ok' : AgentGrant, 'err' : IDL.Text });
198
+ const Result_3 = IDL.Variant({ 'ok' : BotAgent, 'err' : IDL.Text });
174
199
  return IDL.Service({
175
200
  'addTransactionMember' : IDL.Func(
176
201
  [IDL.Text, IDL.Principal, UserType, IDL.Bool, IDL.Bool, IDL.Text],
@@ -179,7 +204,7 @@ export const idlFactory = ({ IDL }) => {
179
204
  ),
180
205
  'adminLinkPrincipals' : IDL.Func(
181
206
  [IDL.Principal, IDL.Principal],
182
- [Result_1],
207
+ [Result],
183
208
  [],
184
209
  ),
185
210
  'amIAdmin' : IDL.Func([], [IDL.Bool], ['query']),
@@ -190,13 +215,13 @@ export const idlFactory = ({ IDL }) => {
190
215
  ['query'],
191
216
  ),
192
217
  'checkPermissionWithAudit' : IDL.Func([Permission], [IDL.Bool], []),
193
- 'claimLinkCode' : IDL.Func([IDL.Text], [Result_1], []),
218
+ 'claimLinkCode' : IDL.Func([IDL.Text], [Result], []),
194
219
  'createUserForPrincipal' : IDL.Func(
195
220
  [IDL.Principal, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
196
221
  [IDL.Bool],
197
222
  [],
198
223
  ),
199
- 'deactivateBot' : IDL.Func([IDL.Principal], [Result_4], []),
224
+ 'deactivateBot' : IDL.Func([IDL.Principal], [Result_2], []),
200
225
  'deleteUserByPrincipal' : IDL.Func(
201
226
  [IDL.Principal, IDL.Text],
202
227
  [IDL.Bool],
@@ -208,7 +233,12 @@ export const idlFactory = ({ IDL }) => {
208
233
  [],
209
234
  ),
210
235
  'generateCSRFToken' : IDL.Func([], [IDL.Text], []),
211
- 'generateLinkCode' : IDL.Func([], [Result_1], []),
236
+ 'generateLinkCode' : IDL.Func([], [Result], []),
237
+ 'getAgentGrant' : IDL.Func(
238
+ [IDL.Principal],
239
+ [IDL.Opt(AgentGrant)],
240
+ ['query'],
241
+ ),
212
242
  'getAllBots' : IDL.Func([], [IDL.Vec(BotAgent)], ['query']),
213
243
  'getAllUsers' : IDL.Func([], [IDL.Vec(UserProfile)], ['query']),
214
244
  'getAuditLogs' : IDL.Func([IDL.Nat], [IDL.Vec(AuditLog)], ['query']),
@@ -220,11 +250,18 @@ export const idlFactory = ({ IDL }) => {
220
250
  'getBotAgent' : IDL.Func([IDL.Principal], [IDL.Opt(BotAgent)], ['query']),
221
251
  'getCSRFToken' : IDL.Func([], [IDL.Opt(IDL.Text)], ['query']),
222
252
  'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
253
+ 'getGrantIssuer' : IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
223
254
  'getLinkedPrincipals' : IDL.Func(
224
255
  [IDL.Principal],
225
256
  [IDL.Vec(IDL.Principal)],
226
257
  ['query'],
227
258
  ),
259
+ 'getMemberRoleInTransaction' : IDL.Func(
260
+ [IDL.Principal, IDL.Text],
261
+ [IDL.Opt(UserType)],
262
+ ['query'],
263
+ ),
264
+ 'getMyAgentGrants' : IDL.Func([], [IDL.Vec(AgentGrant)], ['query']),
228
265
  'getMyBots' : IDL.Func([], [IDL.Vec(BotAgent)], ['query']),
229
266
  'getMyLinkedPrincipals' : IDL.Func([], [IDL.Vec(IDL.Principal)], ['query']),
230
267
  'getMyManagingSolicitor' : IDL.Func([], [IDL.Opt(UserProfile)], ['query']),
@@ -265,7 +302,7 @@ export const idlFactory = ({ IDL }) => {
265
302
  'listAdmins' : IDL.Func([], [IDL.Vec(AdminRecord)], ['query']),
266
303
  'logBotAction' : IDL.Func(
267
304
  [IDL.Principal, IDL.Text, IDL.Opt(IDL.Text), IDL.Bool, IDL.Text],
268
- [Result_4],
305
+ [Result_2],
269
306
  [],
270
307
  ),
271
308
  'myAdminRole' : IDL.Func([], [IDL.Opt(AdminRole)], ['query']),
@@ -274,7 +311,7 @@ export const idlFactory = ({ IDL }) => {
274
311
  [AdminMutationResult],
275
312
  [],
276
313
  ),
277
- 'reactivateBot' : IDL.Func([IDL.Principal], [Result_4], []),
314
+ 'reactivateBot' : IDL.Func([IDL.Principal], [Result_2], []),
278
315
  'recordAuditEntry' : IDL.Func(
279
316
  [
280
317
  ActorType,
@@ -285,12 +322,43 @@ export const idlFactory = ({ IDL }) => {
285
322
  IDL.Bool,
286
323
  IDL.Text,
287
324
  ],
288
- [Result_3],
325
+ [Result_1],
326
+ [],
327
+ ),
328
+ 'recordGrantElevation' : IDL.Func(
329
+ [
330
+ IDL.Principal,
331
+ IDL.Principal,
332
+ GrantTier,
333
+ IDL.Vec(IDL.Text),
334
+ GrantSource,
335
+ IDL.Opt(Time),
336
+ IDL.Opt(IDL.Text),
337
+ ],
338
+ [Result_4],
339
+ [],
340
+ ),
341
+ 'recordGrantIssued' : IDL.Func(
342
+ [
343
+ IDL.Principal,
344
+ IDL.Opt(IDL.Principal),
345
+ GrantTier,
346
+ IDL.Vec(IDL.Text),
347
+ GrantStatus,
348
+ GrantSource,
349
+ IDL.Opt(Time),
350
+ ],
351
+ [Result_4],
352
+ [],
353
+ ),
354
+ 'recordGrantRevocation' : IDL.Func(
355
+ [IDL.Principal, IDL.Text],
356
+ [Result_2],
289
357
  [],
290
358
  ),
291
359
  'registerBot' : IDL.Func(
292
360
  [IDL.Principal, IDL.Text, IDL.Text, BotRole],
293
- [Result_2],
361
+ [Result_3],
294
362
  [],
295
363
  ),
296
364
  'registerUser' : IDL.Func(
@@ -313,13 +381,20 @@ export const idlFactory = ({ IDL }) => {
313
381
  [IDL.Bool],
314
382
  [],
315
383
  ),
384
+ 'repairTransactionMemberRole' : IDL.Func(
385
+ [IDL.Text, IDL.Principal, UserType],
386
+ [IDL.Bool],
387
+ [],
388
+ ),
316
389
  'resendVerificationEmail' : IDL.Func([IDL.Text], [IDL.Bool], []),
317
390
  'revokeSolicitorAccess' : IDL.Func(
318
391
  [IDL.Principal, IDL.Text],
319
392
  [IDL.Bool],
320
393
  [],
321
394
  ),
322
- 'unlinkPrincipal' : IDL.Func([IDL.Principal], [Result_1], []),
395
+ 'setGrantIssuer' : IDL.Func([IDL.Principal], [Result_2], []),
396
+ 'sweepStaleGrants' : IDL.Func([], [Result_1], []),
397
+ 'unlinkPrincipal' : IDL.Func([IDL.Principal], [Result], []),
323
398
  'updateMemberDocuments' : IDL.Func(
324
399
  [IDL.Text, IDL.Text, IDL.Text],
325
400
  [IDL.Bool],
@@ -333,7 +408,7 @@ export const idlFactory = ({ IDL }) => {
333
408
  IDL.Opt(IDL.Text),
334
409
  IDL.Opt(IDL.Text),
335
410
  ],
336
- [Result_1],
411
+ [Result],
337
412
  [],
338
413
  ),
339
414
  'updateTransactionMemberRequiredDocs' : IDL.Func(
@@ -342,7 +417,6 @@ export const idlFactory = ({ IDL }) => {
342
417
  [],
343
418
  ),
344
419
  'validateAdmin' : IDL.Func([IDL.Principal], [IDL.Bool], ['query']),
345
- 'validateBot' : IDL.Func([IDL.Principal], [Result], ['query']),
346
420
  'validateCSRFToken' : IDL.Func([IDL.Text], [IDL.Bool], []),
347
421
  'verifyEmail' : IDL.Func([IDL.Text, IDL.Text], [IDL.Bool], []),
348
422
  'verifyUser' : IDL.Func([IDL.Principal, IDL.Text], [IDL.Bool], []),
package/src/mock.ts CHANGED
@@ -95,7 +95,7 @@ export function createMockPropertyRegistry(): PropertyRegistryService {
95
95
  return mockService<PropertyRegistryService>({
96
96
  getAllProperties: async () => [],
97
97
  getProperty: async () => [],
98
- verifyProperty: async () => false,
98
+ attestProperty: async () => false,
99
99
  transferOwnership: async () => false,
100
100
  });
101
101
  }