@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.
@@ -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 {
@@ -17,6 +17,11 @@ const getPersonEmitTargetSchema = {
17
17
  type: 'phone',
18
18
  options: undefined
19
19
  },
20
+ /** . */
21
+ 'locationId': {
22
+ type: 'id',
23
+ options: undefined
24
+ },
20
25
  }
21
26
  };
22
27
  schema_1.SchemaRegistry.getInstance().trackSchema(getPersonEmitTargetSchema);
@@ -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 {
@@ -15,6 +15,11 @@ const getPersonEmitTargetSchema = {
15
15
  type: 'phone',
16
16
  options: undefined
17
17
  },
18
+ /** . */
19
+ 'locationId': {
20
+ type: 'id',
21
+ options: undefined
22
+ },
18
23
  }
19
24
  };
20
25
  SchemaRegistry.getInstance().trackSchema(getPersonEmitTargetSchema);
@@ -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> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprucelabs/mercury-core-events",
3
- "version": "21.0.6",
3
+ "version": "21.1.0",
4
4
  "description": "Events Mercury provides out of the box.",
5
5
  "skill": {
6
6
  "namespace": "mercury-core-events",