@sprucelabs/mercury-core-events 21.0.6 → 21.1.0
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.
- package/build/.spruce/permissions/permissions.types.d.ts +8 -4
- package/build/.spruce/schemas/mercury/v2020_12_25/getPersonEmitTarget.schema.js +5 -0
- package/build/.spruce/schemas/schemas.types.d.ts +6 -0
- package/build/esm/.spruce/permissions/permissions.types.d.ts +8 -4
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/getPersonEmitTarget.schema.js +5 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import '@sprucelabs/mercury-types';
|
|
2
2
|
declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
3
3
|
interface PermissionContractMap {
|
|
4
|
-
'chatbot-contract': [
|
|
5
|
-
'can-register-chatbots'
|
|
6
|
-
];
|
|
7
4
|
'events-contract': [
|
|
8
5
|
'can-register-global-events'
|
|
9
6
|
];
|
|
@@ -46,7 +43,8 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
46
43
|
'can-get-person-private-fields',
|
|
47
44
|
'can-get-person-by-phone',
|
|
48
45
|
'can-listen-to-did-signup',
|
|
49
|
-
'can-listen-to-did-update'
|
|
46
|
+
'can-listen-to-did-update',
|
|
47
|
+
'can-get-other-person'
|
|
50
48
|
];
|
|
51
49
|
'permission-contract': [
|
|
52
50
|
'can-get-permission-contracts-for-org',
|
|
@@ -69,6 +67,12 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
69
67
|
'can-view-marketplace',
|
|
70
68
|
'can-check-if-skill-is-installed'
|
|
71
69
|
];
|
|
70
|
+
'chat-bot-contract': [
|
|
71
|
+
'can-register-chat-bots'
|
|
72
|
+
];
|
|
73
|
+
'chatbot-contract': [
|
|
74
|
+
'can-register-chatbots'
|
|
75
|
+
];
|
|
72
76
|
}
|
|
73
77
|
}
|
|
74
78
|
export interface PermissionContractMap {
|
|
@@ -5078,6 +5078,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5078
5078
|
interface GetPersonEmitTarget {
|
|
5079
5079
|
'personId'?: string | undefined | null;
|
|
5080
5080
|
'phone'?: string | undefined | null;
|
|
5081
|
+
'locationId'?: string | undefined | null;
|
|
5081
5082
|
}
|
|
5082
5083
|
interface GetPersonEmitTargetSchema extends SpruceSchema.Schema {
|
|
5083
5084
|
id: 'getPersonEmitTarget';
|
|
@@ -5095,6 +5096,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5095
5096
|
type: 'phone';
|
|
5096
5097
|
options: undefined;
|
|
5097
5098
|
};
|
|
5099
|
+
/** . */
|
|
5100
|
+
'locationId': {
|
|
5101
|
+
type: 'id';
|
|
5102
|
+
options: undefined;
|
|
5103
|
+
};
|
|
5098
5104
|
};
|
|
5099
5105
|
}
|
|
5100
5106
|
interface GetPersonEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetPersonEmitTargetSchema> {
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import '@sprucelabs/mercury-types';
|
|
2
2
|
declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
3
3
|
interface PermissionContractMap {
|
|
4
|
-
'chatbot-contract': [
|
|
5
|
-
'can-register-chatbots'
|
|
6
|
-
];
|
|
7
4
|
'events-contract': [
|
|
8
5
|
'can-register-global-events'
|
|
9
6
|
];
|
|
@@ -46,7 +43,8 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
46
43
|
'can-get-person-private-fields',
|
|
47
44
|
'can-get-person-by-phone',
|
|
48
45
|
'can-listen-to-did-signup',
|
|
49
|
-
'can-listen-to-did-update'
|
|
46
|
+
'can-listen-to-did-update',
|
|
47
|
+
'can-get-other-person'
|
|
50
48
|
];
|
|
51
49
|
'permission-contract': [
|
|
52
50
|
'can-get-permission-contracts-for-org',
|
|
@@ -69,6 +67,12 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
69
67
|
'can-view-marketplace',
|
|
70
68
|
'can-check-if-skill-is-installed'
|
|
71
69
|
];
|
|
70
|
+
'chat-bot-contract': [
|
|
71
|
+
'can-register-chat-bots'
|
|
72
|
+
];
|
|
73
|
+
'chatbot-contract': [
|
|
74
|
+
'can-register-chatbots'
|
|
75
|
+
];
|
|
72
76
|
}
|
|
73
77
|
}
|
|
74
78
|
export interface PermissionContractMap {
|
|
@@ -5078,6 +5078,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5078
5078
|
interface GetPersonEmitTarget {
|
|
5079
5079
|
'personId'?: string | undefined | null;
|
|
5080
5080
|
'phone'?: string | undefined | null;
|
|
5081
|
+
'locationId'?: string | undefined | null;
|
|
5081
5082
|
}
|
|
5082
5083
|
interface GetPersonEmitTargetSchema extends SpruceSchema.Schema {
|
|
5083
5084
|
id: 'getPersonEmitTarget';
|
|
@@ -5095,6 +5096,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5095
5096
|
type: 'phone';
|
|
5096
5097
|
options: undefined;
|
|
5097
5098
|
};
|
|
5099
|
+
/** . */
|
|
5100
|
+
'locationId': {
|
|
5101
|
+
type: 'id';
|
|
5102
|
+
options: undefined;
|
|
5103
|
+
};
|
|
5098
5104
|
};
|
|
5099
5105
|
}
|
|
5100
5106
|
interface GetPersonEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetPersonEmitTargetSchema> {
|