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

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 +159 -89
  21. package/src/canisters/document_storage/document_storage.did.d.ts +159 -82
  22. package/src/canisters/document_storage/document_storage.did.js +230 -121
  23. package/src/canisters/document_verification/document_verification.did +248 -98
  24. package/src/canisters/document_verification/document_verification.did.d.ts +236 -112
  25. package/src/canisters/document_verification/document_verification.did.js +299 -139
  26. package/src/canisters/email_service/email_service.did +86 -37
  27. package/src/canisters/email_service/email_service.did.d.ts +92 -45
  28. package/src/canisters/email_service/email_service.did.js +131 -63
  29. package/src/canisters/land_registry_integration/land_registry_integration.did +395 -169
  30. package/src/canisters/land_registry_integration/land_registry_integration.did.d.ts +331 -157
  31. package/src/canisters/land_registry_integration/land_registry_integration.did.js +384 -182
  32. package/src/canisters/ledger_manager/ledger_manager.did +232 -161
  33. package/src/canisters/ledger_manager/ledger_manager.did.d.ts +205 -142
  34. package/src/canisters/ledger_manager/ledger_manager.did.js +256 -187
  35. package/src/canisters/property_registry/property_registry.did.d.ts +71 -71
  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 +297 -195
  39. package/src/canisters/user_management/user_management.did.d.ts +267 -191
  40. package/src/canisters/user_management/user_management.did.js +352 -237
@@ -1,45 +1,92 @@
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 = { 'support' : null } |
6
- { 'partners' : null } |
7
- { 'sales' : null };
8
- export interface EmailNotification {
9
- 'id' : bigint,
10
- 'userType' : [] | [string],
11
- 'contactType' : ContactType,
12
- 'subject' : string,
13
- 'partnerType' : [] | [string],
14
- 'name' : string,
15
- 'volume' : [] | [string],
16
- 'email' : string,
17
- 'website' : [] | [string],
18
- 'company' : [] | [string],
19
- 'message' : string,
20
- 'timestamp' : bigint,
21
- 'phone' : [] | [string],
22
- 'processed' : boolean,
23
- }
24
- export interface _SERVICE {
25
- 'formatNotificationAsEmail' : ActorMethod<[bigint], [] | [string]>,
26
- 'getAllNotifications' : ActorMethod<[], Array<EmailNotification>>,
27
- 'getNotification' : ActorMethod<[bigint], [] | [EmailNotification]>,
28
- 'getUnprocessedCount' : ActorMethod<[], bigint>,
29
- 'getUnprocessedNotifications' : ActorMethod<[], Array<EmailNotification>>,
30
- 'markAsProcessed' : ActorMethod<[bigint], boolean>,
31
- 'submitPartnerInquiry' : ActorMethod<
32
- [string, string, string, string, string, string],
33
- bigint
34
- >,
35
- 'submitSalesInquiry' : ActorMethod<
36
- [string, string, string, string, string, string, string],
37
- bigint
38
- >,
39
- 'submitSupportRequest' : ActorMethod<
40
- [string, string, string, string],
41
- bigint
42
- >,
43
- }
44
- export declare const idlFactory: IDL.InterfaceFactory;
45
- export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
1
+ import type { Principal } from '@dfinity/principal';
2
+ import type { ActorMethod } from '@dfinity/agent';
3
+ import type { IDL } from '@dfinity/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,63 +1,131 @@
1
- export const idlFactory = ({ IDL }) => {
2
- const ContactType = IDL.Variant({
3
- 'support' : IDL.Null,
4
- 'partners' : IDL.Null,
5
- 'sales' : IDL.Null,
6
- });
7
- const EmailNotification = IDL.Record({
8
- 'id' : IDL.Nat,
9
- 'userType' : IDL.Opt(IDL.Text),
10
- 'contactType' : ContactType,
11
- 'subject' : IDL.Text,
12
- 'partnerType' : IDL.Opt(IDL.Text),
13
- 'name' : IDL.Text,
14
- 'volume' : IDL.Opt(IDL.Text),
15
- 'email' : IDL.Text,
16
- 'website' : IDL.Opt(IDL.Text),
17
- 'company' : IDL.Opt(IDL.Text),
18
- 'message' : IDL.Text,
19
- 'timestamp' : IDL.Int,
20
- 'phone' : IDL.Opt(IDL.Text),
21
- 'processed' : IDL.Bool,
22
- });
23
- return IDL.Service({
24
- 'formatNotificationAsEmail' : IDL.Func(
25
- [IDL.Nat],
26
- [IDL.Opt(IDL.Text)],
27
- ['query'],
28
- ),
29
- 'getAllNotifications' : IDL.Func(
30
- [],
31
- [IDL.Vec(EmailNotification)],
32
- ['query'],
33
- ),
34
- 'getNotification' : IDL.Func(
35
- [IDL.Nat],
36
- [IDL.Opt(EmailNotification)],
37
- ['query'],
38
- ),
39
- 'getUnprocessedCount' : IDL.Func([], [IDL.Nat], ['query']),
40
- 'getUnprocessedNotifications' : IDL.Func(
41
- [],
42
- [IDL.Vec(EmailNotification)],
43
- ['query'],
44
- ),
45
- 'markAsProcessed' : IDL.Func([IDL.Nat], [IDL.Bool], []),
46
- 'submitPartnerInquiry' : IDL.Func(
47
- [IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
48
- [IDL.Nat],
49
- [],
50
- ),
51
- 'submitSalesInquiry' : IDL.Func(
52
- [IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text, IDL.Text],
53
- [IDL.Nat],
54
- [],
55
- ),
56
- 'submitSupportRequest' : IDL.Func(
57
- [IDL.Text, IDL.Text, IDL.Text, IDL.Text],
58
- [IDL.Nat],
59
- [],
60
- ),
61
- });
62
- };
63
- export const init = ({ IDL }) => { return []; };
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(
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
+ });
130
+ };
131
+ export const init = ({ IDL }) => { return []; };