@propxchain/core-client 0.24.0-canary.63 → 0.26.0-canary.65

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.
@@ -67,6 +67,10 @@ export interface DocumentVerification {
67
67
  'landRegistryConfirm' : VerificationStatus,
68
68
  'surveyReport' : VerificationStatus,
69
69
  }
70
+ export interface FailedAuditHealth {
71
+ 'failures' : bigint,
72
+ 'lastFailureAt' : [] | [bigint],
73
+ }
70
74
  export interface LRCostReport {
71
75
  'entryCount' : bigint,
72
76
  'byEndpoint' : Array<[string, bigint]>,
@@ -171,6 +175,7 @@ export interface _SERVICE {
171
175
  'getCycles' : ActorMethod<[], bigint>,
172
176
  'getDailyLRSpend' : ActorMethod<[], bigint>,
173
177
  'getEventsByTransaction' : ActorMethod<[string], Array<AuditEvent>>,
178
+ 'getFailedAuditHealth' : ActorMethod<[], FailedAuditHealth>,
174
179
  'getFailedAuditEvents' : ActorMethod<[], Array<AuditEvent>>,
175
180
  'getGlobalBlockchainStats' : ActorMethod<[], BlockchainEfficiencyMetrics>,
176
181
  'getLRCostReport' : ActorMethod<[bigint, bigint], LRCostReport>,
@@ -73,6 +73,10 @@ export const idlFactory = ({ IDL }) => {
73
73
  'role' : TeamMemberRole,
74
74
  'email' : IDL.Text,
75
75
  });
76
+ const FailedAuditHealth = IDL.Record({
77
+ 'failures' : IDL.Nat,
78
+ 'lastFailureAt' : IDL.Opt(IDL.Int),
79
+ });
76
80
  const LRCostReport = IDL.Record({
77
81
  'entryCount' : IDL.Nat,
78
82
  'byEndpoint' : IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat)),
@@ -196,6 +200,7 @@ export const idlFactory = ({ IDL }) => {
196
200
  'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
197
201
  'getDailyLRSpend' : IDL.Func([], [IDL.Nat], ['query']),
198
202
  'getEventsByTransaction' : IDL.Func([IDL.Text], [IDL.Vec(AuditEvent)], []),
203
+ 'getFailedAuditHealth' : IDL.Func([], [FailedAuditHealth], ['query']),
199
204
  'getFailedAuditEvents' : IDL.Func([], [IDL.Vec(AuditEvent)], ['query']),
200
205
  'getGlobalBlockchainStats' : IDL.Func(
201
206
  [],
@@ -296,6 +296,7 @@ export interface _SERVICE {
296
296
  ],
297
297
  boolean
298
298
  >,
299
+ 'removeTransactionMember' : ActorMethod<[string, Principal], boolean>,
299
300
  'repairTransactionMemberRole' : ActorMethod<
300
301
  [string, Principal, UserType],
301
302
  boolean
@@ -381,6 +381,11 @@ export const idlFactory = ({ IDL }) => {
381
381
  [IDL.Bool],
382
382
  [],
383
383
  ),
384
+ 'removeTransactionMember' : IDL.Func(
385
+ [IDL.Text, IDL.Principal],
386
+ [IDL.Bool],
387
+ [],
388
+ ),
384
389
  'repairTransactionMemberRole' : IDL.Func(
385
390
  [IDL.Text, IDL.Principal, UserType],
386
391
  [IDL.Bool],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propxchain/core-client",
3
- "version": "0.24.0-canary.63",
3
+ "version": "0.26.0-canary.65",
4
4
  "description": "Typed TypeScript client for the PropXchain core canisters on the Internet Computer. Includes a deterministic mock mode for local development and tests.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -96,6 +96,11 @@ type LRCostReport =
96
96
  totalGBP: text;
97
97
  totalPence: nat;
98
98
  };
99
+ type FailedAuditHealth =
100
+ record {
101
+ failures: nat;
102
+ lastFailureAt: opt int;
103
+ };
99
104
  type DocumentVerification =
100
105
  record {
101
106
  landRegistryConfirm: VerificationStatus;
@@ -203,6 +208,7 @@ service : {
203
208
  getDailyLRSpend: () -> (nat) query;
204
209
  getEventsByTransaction: (transactionId: text) -> (vec AuditEvent);
205
210
  getFailedAuditEvents: () -> (vec AuditEvent) query;
211
+ getFailedAuditHealth: () -> (FailedAuditHealth) query;
206
212
  getGlobalBlockchainStats: () -> (BlockchainEfficiencyMetrics) query;
207
213
  getLRCostReport: (fromDate: int, toDate: int) -> (LRCostReport) query;
208
214
  getLRCostsForTransaction: (transactionId: text) ->
@@ -67,6 +67,10 @@ export interface DocumentVerification {
67
67
  'landRegistryConfirm' : VerificationStatus,
68
68
  'surveyReport' : VerificationStatus,
69
69
  }
70
+ export interface FailedAuditHealth {
71
+ 'failures' : bigint,
72
+ 'lastFailureAt' : [] | [bigint],
73
+ }
70
74
  export interface LRCostReport {
71
75
  'entryCount' : bigint,
72
76
  'byEndpoint' : Array<[string, bigint]>,
@@ -171,6 +175,7 @@ export interface _SERVICE {
171
175
  'getCycles' : ActorMethod<[], bigint>,
172
176
  'getDailyLRSpend' : ActorMethod<[], bigint>,
173
177
  'getEventsByTransaction' : ActorMethod<[string], Array<AuditEvent>>,
178
+ 'getFailedAuditHealth' : ActorMethod<[], FailedAuditHealth>,
174
179
  'getFailedAuditEvents' : ActorMethod<[], Array<AuditEvent>>,
175
180
  'getGlobalBlockchainStats' : ActorMethod<[], BlockchainEfficiencyMetrics>,
176
181
  'getLRCostReport' : ActorMethod<[bigint, bigint], LRCostReport>,
@@ -73,6 +73,10 @@ export const idlFactory = ({ IDL }) => {
73
73
  'role' : TeamMemberRole,
74
74
  'email' : IDL.Text,
75
75
  });
76
+ const FailedAuditHealth = IDL.Record({
77
+ 'failures' : IDL.Nat,
78
+ 'lastFailureAt' : IDL.Opt(IDL.Int),
79
+ });
76
80
  const LRCostReport = IDL.Record({
77
81
  'entryCount' : IDL.Nat,
78
82
  'byEndpoint' : IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat)),
@@ -196,6 +200,7 @@ export const idlFactory = ({ IDL }) => {
196
200
  'getCycles' : IDL.Func([], [IDL.Nat], ['query']),
197
201
  'getDailyLRSpend' : IDL.Func([], [IDL.Nat], ['query']),
198
202
  'getEventsByTransaction' : IDL.Func([IDL.Text], [IDL.Vec(AuditEvent)], []),
203
+ 'getFailedAuditHealth' : IDL.Func([], [FailedAuditHealth], ['query']),
199
204
  'getFailedAuditEvents' : IDL.Func([], [IDL.Vec(AuditEvent)], ['query']),
200
205
  'getGlobalBlockchainStats' : IDL.Func(
201
206
  [],
@@ -319,6 +319,8 @@ service : {
319
319
  registerUserV2: (name: text, email: text, mobile: text, userType: UserType,
320
320
  solicitorLicenseNumber: opt text, lawFirmName: opt text, lawFirmAddress:
321
321
  opt text, sraNumber: opt text, csrfToken: text) -> (bool);
322
+ removeTransactionMember: (transactionId: text, memberPrincipal:
323
+ principal) -> (bool);
322
324
  repairTransactionMemberRole: (transactionId: text, memberPrincipal:
323
325
  principal, role: UserType) -> (bool);
324
326
  resendVerificationEmail: (csrfToken: text) -> (bool);
@@ -296,6 +296,7 @@ export interface _SERVICE {
296
296
  ],
297
297
  boolean
298
298
  >,
299
+ 'removeTransactionMember' : ActorMethod<[string, Principal], boolean>,
299
300
  'repairTransactionMemberRole' : ActorMethod<
300
301
  [string, Principal, UserType],
301
302
  boolean
@@ -381,6 +381,11 @@ export const idlFactory = ({ IDL }) => {
381
381
  [IDL.Bool],
382
382
  [],
383
383
  ),
384
+ 'removeTransactionMember' : IDL.Func(
385
+ [IDL.Text, IDL.Principal],
386
+ [IDL.Bool],
387
+ [],
388
+ ),
384
389
  'repairTransactionMemberRole' : IDL.Func(
385
390
  [IDL.Text, IDL.Principal, UserType],
386
391
  [IDL.Bool],