@sprucelabs/mercury-core-events 15.0.129 → 15.0.130
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.
|
@@ -1,71 +1,12 @@
|
|
|
1
1
|
declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
2
2
|
interface PermissionContractMap {
|
|
3
|
-
'
|
|
4
|
-
'can-
|
|
5
|
-
'can-update-location',
|
|
6
|
-
'can-delete-location',
|
|
7
|
-
'can-view-private-locations-at-own-org'
|
|
8
|
-
];
|
|
9
|
-
'can-crud-organization-profile-contract': [
|
|
10
|
-
'can-update-organization-profile',
|
|
11
|
-
'can-delete-organization',
|
|
12
|
-
'can-view-private-organizations'
|
|
13
|
-
];
|
|
14
|
-
'can-crud-roles-contract': [
|
|
15
|
-
'can-create-role',
|
|
16
|
-
'can-update-role',
|
|
17
|
-
'can-delete-role',
|
|
18
|
-
'can-view-private-roles-at-own-org',
|
|
19
|
-
'can-view-persons-roles'
|
|
3
|
+
'events-contract': [
|
|
4
|
+
'can-register-global-events'
|
|
20
5
|
];
|
|
21
6
|
'feed-contract': [
|
|
22
7
|
'can-see-other-persons-feed',
|
|
23
8
|
'can-subscribe-to-feed-updates'
|
|
24
9
|
];
|
|
25
|
-
'can-register-events-contract': [
|
|
26
|
-
'can-register-global-events'
|
|
27
|
-
];
|
|
28
|
-
'can-crus-people-contract': [
|
|
29
|
-
'can-create-person',
|
|
30
|
-
'can-list-people-permission-id',
|
|
31
|
-
'can-scramble-other-person',
|
|
32
|
-
'can-get-anonymous-person',
|
|
33
|
-
'can-get-person-private-fields',
|
|
34
|
-
'can-get-person-by-phone',
|
|
35
|
-
'can-listen-to-did-signup',
|
|
36
|
-
'can-listen-to-did-update'
|
|
37
|
-
];
|
|
38
|
-
'hiring-and-promoting': [
|
|
39
|
-
'can-hire-person',
|
|
40
|
-
'can-fire-person',
|
|
41
|
-
'hire-and-promote-when-not-installed'
|
|
42
|
-
];
|
|
43
|
-
'can-manage-skills': [
|
|
44
|
-
'can-install-skills',
|
|
45
|
-
'can-uninstall-skills',
|
|
46
|
-
'can-view-marketplace'
|
|
47
|
-
];
|
|
48
|
-
'emit-messaging': [
|
|
49
|
-
'can-emit-did-message-event',
|
|
50
|
-
'can-listen-to-did-message-event',
|
|
51
|
-
'can-message-others'
|
|
52
|
-
];
|
|
53
|
-
'permission-contracts-contract-id': [
|
|
54
|
-
'can-get-permission-contracts-for-org',
|
|
55
|
-
'can-list-permission-contracts-for-org'
|
|
56
|
-
];
|
|
57
|
-
'can-register-listener': [
|
|
58
|
-
'can-register-global-listeners'
|
|
59
|
-
];
|
|
60
|
-
'can-check-if-skill-is-installed-contract-id': [
|
|
61
|
-
'can-check-if-skill-is-installed'
|
|
62
|
-
];
|
|
63
|
-
'can-upsert-permission-contract-contract-id': [
|
|
64
|
-
'can-upsert-permission-contract-for-org'
|
|
65
|
-
];
|
|
66
|
-
'events-contract': [
|
|
67
|
-
'can-register-global-events'
|
|
68
|
-
];
|
|
69
10
|
'hiring-and-promoting-contract': [
|
|
70
11
|
'can-hire-person',
|
|
71
12
|
'can-fire-person',
|
|
@@ -80,6 +21,12 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
80
21
|
'can-delete-location',
|
|
81
22
|
'can-view-private-locations-at-own-org'
|
|
82
23
|
];
|
|
24
|
+
'messaging-contract': [
|
|
25
|
+
'can-emit-did-message-event',
|
|
26
|
+
'can-listen-to-did-message-event',
|
|
27
|
+
'can-message-others',
|
|
28
|
+
'can-message-as-sprucebot'
|
|
29
|
+
];
|
|
83
30
|
'organizations-contract': [
|
|
84
31
|
'can-update-organization-profile',
|
|
85
32
|
'can-delete-organization',
|
|
@@ -113,12 +60,6 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
113
60
|
'can-view-marketplace',
|
|
114
61
|
'can-check-if-skill-is-installed'
|
|
115
62
|
];
|
|
116
|
-
'messaging-contract': [
|
|
117
|
-
'can-emit-did-message-event',
|
|
118
|
-
'can-listen-to-did-message-event',
|
|
119
|
-
'can-message-others',
|
|
120
|
-
'can-message-as-sprucebot'
|
|
121
|
-
];
|
|
122
63
|
}
|
|
123
64
|
}
|
|
124
65
|
export interface PermissionContractMap {
|