@sprucelabs/spruce-event-utils 41.0.97 → 41.0.99

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.
@@ -9,7 +9,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
9
9
  'organizationId'?: string | undefined | null;
10
10
  'skillId'?: string | undefined | null;
11
11
  'roleId'?: string | undefined | null;
12
- 'email'?: string | undefined | null;
13
12
  }
14
13
  interface EventTargetSchema extends SpruceSchema.Schema {
15
14
  id: 'eventTarget';
@@ -44,11 +43,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
44
43
  type: 'id';
45
44
  options: undefined;
46
45
  };
47
- /** . */
48
- 'email': {
49
- type: 'email';
50
- options: undefined;
51
- };
52
46
  };
53
47
  }
54
48
  interface EventTargetEntity extends SchemaEntity<SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema> {
@@ -61,7 +55,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
61
55
  'organizationId'?: string | undefined | null;
62
56
  'skillId'?: string | undefined | null;
63
57
  'roleId'?: string | undefined | null;
64
- 'email'?: string | undefined | null;
65
58
  /** Proxy token. */
66
59
  'proxyToken'?: string | undefined | null;
67
60
  }
@@ -98,11 +91,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
98
91
  type: 'id';
99
92
  options: undefined;
100
93
  };
101
- /** . */
102
- 'email': {
103
- type: 'email';
104
- options: undefined;
105
- };
106
94
  /** Proxy token. */
107
95
  'proxyToken': {
108
96
  label: 'Proxy token';
@@ -34,11 +34,6 @@ const eventSourceSchema = {
34
34
  type: 'id',
35
35
  options: undefined
36
36
  },
37
- /** . */
38
- 'email': {
39
- type: 'email',
40
- options: undefined
41
- },
42
37
  /** Proxy token. */
43
38
  'proxyToken': {
44
39
  label: 'Proxy token',
@@ -34,11 +34,6 @@ const eventTargetSchema = {
34
34
  type: 'id',
35
35
  options: undefined
36
36
  },
37
- /** . */
38
- 'email': {
39
- type: 'email',
40
- options: undefined
41
- },
42
37
  }
43
38
  };
44
39
  schema_1.SchemaRegistry.getInstance().trackSchema(eventTargetSchema);
@@ -9,7 +9,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
9
9
  'organizationId'?: string | undefined | null;
10
10
  'skillId'?: string | undefined | null;
11
11
  'roleId'?: string | undefined | null;
12
- 'email'?: string | undefined | null;
13
12
  }
14
13
  interface EventTargetSchema extends SpruceSchema.Schema {
15
14
  id: 'eventTarget';
@@ -44,11 +43,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
44
43
  type: 'id';
45
44
  options: undefined;
46
45
  };
47
- /** . */
48
- 'email': {
49
- type: 'email';
50
- options: undefined;
51
- };
52
46
  };
53
47
  }
54
48
  interface EventTargetEntity extends SchemaEntity<SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema> {
@@ -61,7 +55,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
61
55
  'organizationId'?: string | undefined | null;
62
56
  'skillId'?: string | undefined | null;
63
57
  'roleId'?: string | undefined | null;
64
- 'email'?: string | undefined | null;
65
58
  /** Proxy token. */
66
59
  'proxyToken'?: string | undefined | null;
67
60
  }
@@ -98,11 +91,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
98
91
  type: 'id';
99
92
  options: undefined;
100
93
  };
101
- /** . */
102
- 'email': {
103
- type: 'email';
104
- options: undefined;
105
- };
106
94
  /** Proxy token. */
107
95
  'proxyToken': {
108
96
  label: 'Proxy token';
@@ -32,11 +32,6 @@ const eventSourceSchema = {
32
32
  type: 'id',
33
33
  options: undefined
34
34
  },
35
- /** . */
36
- 'email': {
37
- type: 'email',
38
- options: undefined
39
- },
40
35
  /** Proxy token. */
41
36
  'proxyToken': {
42
37
  label: 'Proxy token',
@@ -32,11 +32,6 @@ const eventTargetSchema = {
32
32
  type: 'id',
33
33
  options: undefined
34
34
  },
35
- /** . */
36
- 'email': {
37
- type: 'email',
38
- options: undefined
39
- },
40
35
  }
41
36
  };
42
37
  SchemaRegistry.getInstance().trackSchema(eventTargetSchema);
@@ -8,10 +8,6 @@ declare const _default: {
8
8
  type: "id";
9
9
  label: string;
10
10
  };
11
- email: {
12
- type: "email";
13
- options: undefined;
14
- };
15
11
  locationId: {
16
12
  type: "id";
17
13
  options: undefined;
@@ -4,10 +4,6 @@ declare const _default: {
4
4
  moduleToImportFromWhenRemote: string;
5
5
  importsWhenRemote: string[];
6
6
  fields: {
7
- email: {
8
- type: "email";
9
- options: undefined;
10
- };
11
7
  locationId: {
12
8
  type: "id";
13
9
  options: undefined;
@@ -5,5 +5,5 @@ export default buildSchema({
5
5
  name: 'event target',
6
6
  moduleToImportFromWhenRemote: '@sprucelabs/spruce-event-utils',
7
7
  importsWhenRemote: ["import '@sprucelabs/spruce-event-utils'"],
8
- fields: Object.assign({}, dropFields(messageTargetSchema.fields, ['phone'])),
8
+ fields: Object.assign({}, dropFields(messageTargetSchema.fields, ['phone', 'email'])),
9
9
  });
@@ -8,10 +8,6 @@ declare const _default: {
8
8
  type: "id";
9
9
  label: string;
10
10
  };
11
- email: {
12
- type: "email";
13
- options: undefined;
14
- };
15
11
  locationId: {
16
12
  type: "id";
17
13
  options: undefined;
@@ -4,10 +4,6 @@ declare const _default: {
4
4
  moduleToImportFromWhenRemote: string;
5
5
  importsWhenRemote: string[];
6
6
  fields: {
7
- email: {
8
- type: "email";
9
- options: undefined;
10
- };
11
7
  locationId: {
12
8
  type: "id";
13
9
  options: undefined;
@@ -8,6 +8,6 @@ exports.default = (0, schema_1.buildSchema)({
8
8
  moduleToImportFromWhenRemote: '@sprucelabs/spruce-event-utils',
9
9
  importsWhenRemote: ["import '@sprucelabs/spruce-event-utils'"],
10
10
  fields: {
11
- ...(0, schema_1.dropFields)(spruce_core_schemas_1.messageTargetSchema.fields, ['phone']),
11
+ ...(0, schema_1.dropFields)(spruce_core_schemas_1.messageTargetSchema.fields, ['phone', 'email']),
12
12
  },
13
13
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "41.0.97",
6
+ "version": "41.0.99",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "!build/__tests__",
@@ -60,7 +60,7 @@
60
60
  "@sprucelabs/mercury-types": "^48.0.87",
61
61
  "@sprucelabs/schema": "^32.1.38",
62
62
  "@sprucelabs/spruce-core-schemas": "^41.1.2",
63
- "@sprucelabs/spruce-skill-utils": "^32.0.92",
63
+ "@sprucelabs/spruce-skill-utils": "^32.0.93",
64
64
  "@sprucelabs/test-utils": "^6.0.74"
65
65
  },
66
66
  "devDependencies": {