@sprucelabs/spruce-core-schemas 41.0.79 → 41.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.
@@ -685,6 +685,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
685
685
  'skillId'?: string | undefined | null;
686
686
  'roleId'?: string | undefined | null;
687
687
  'phone'?: string | undefined | null;
688
+ 'email'?: string | undefined | null;
688
689
  }
689
690
  interface MessageTargetSchema extends SpruceSchema.Schema {
690
691
  id: 'messageTarget';
@@ -723,6 +724,11 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
723
724
  type: 'phone';
724
725
  options: undefined;
725
726
  };
727
+ /** . */
728
+ 'email': {
729
+ type: 'email';
730
+ options: undefined;
731
+ };
726
732
  };
727
733
  }
728
734
  type MessageTargetEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema>;
@@ -38,6 +38,11 @@ const messageTargetSchema = {
38
38
  type: 'phone',
39
39
  options: undefined
40
40
  },
41
+ /** . */
42
+ 'email': {
43
+ type: 'email',
44
+ options: undefined
45
+ },
41
46
  }
42
47
  };
43
48
  schema_1.SchemaRegistry.getInstance().trackSchema(messageTargetSchema);
@@ -685,6 +685,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
685
685
  'skillId'?: string | undefined | null;
686
686
  'roleId'?: string | undefined | null;
687
687
  'phone'?: string | undefined | null;
688
+ 'email'?: string | undefined | null;
688
689
  }
689
690
  interface MessageTargetSchema extends SpruceSchema.Schema {
690
691
  id: 'messageTarget';
@@ -723,6 +724,11 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
723
724
  type: 'phone';
724
725
  options: undefined;
725
726
  };
727
+ /** . */
728
+ 'email': {
729
+ type: 'email';
730
+ options: undefined;
731
+ };
726
732
  };
727
733
  }
728
734
  type MessageTargetEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema>;
@@ -36,6 +36,11 @@ const messageTargetSchema = {
36
36
  type: 'phone',
37
37
  options: undefined
38
38
  },
39
+ /** . */
40
+ 'email': {
41
+ type: 'email',
42
+ options: undefined
43
+ },
39
44
  }
40
45
  };
41
46
  SchemaRegistry.getInstance().trackSchema(messageTargetSchema);
@@ -4,6 +4,9 @@ export declare const messageTargetSchema: {
4
4
  phone: {
5
5
  type: "phone";
6
6
  };
7
+ email: {
8
+ type: "email";
9
+ };
7
10
  locationId: {
8
11
  readonly type: "id";
9
12
  };
@@ -73,6 +76,9 @@ declare const _default: {
73
76
  phone: {
74
77
  type: "phone";
75
78
  };
79
+ email: {
80
+ type: "email";
81
+ };
76
82
  locationId: {
77
83
  readonly type: "id";
78
84
  };
@@ -22,6 +22,8 @@ export const messageTargetSchema = buildSchema({
22
22
  id: 'messageTarget',
23
23
  fields: Object.assign(Object.assign({}, eventTargetFields), { phone: {
24
24
  type: 'phone',
25
+ }, email: {
26
+ type: 'email',
25
27
  } }),
26
28
  });
27
29
  export const messageSourceSchema = buildSchema({
@@ -18,6 +18,9 @@ declare const _default: {
18
18
  phone: {
19
19
  type: "phone";
20
20
  };
21
+ email: {
22
+ type: "email";
23
+ };
21
24
  locationId: {
22
25
  readonly type: "id";
23
26
  };
@@ -4,6 +4,9 @@ export declare const messageTargetSchema: {
4
4
  phone: {
5
5
  type: "phone";
6
6
  };
7
+ email: {
8
+ type: "email";
9
+ };
7
10
  locationId: {
8
11
  readonly type: "id";
9
12
  };
@@ -73,6 +76,9 @@ declare const _default: {
73
76
  phone: {
74
77
  type: "phone";
75
78
  };
79
+ email: {
80
+ type: "email";
81
+ };
76
82
  locationId: {
77
83
  readonly type: "id";
78
84
  };
@@ -31,6 +31,9 @@ exports.messageTargetSchema = (0, schema_1.buildSchema)({
31
31
  phone: {
32
32
  type: 'phone',
33
33
  },
34
+ email: {
35
+ type: 'email',
36
+ },
34
37
  },
35
38
  });
36
39
  exports.messageSourceSchema = (0, schema_1.buildSchema)({
@@ -18,6 +18,9 @@ declare const _default: {
18
18
  phone: {
19
19
  type: "phone";
20
20
  };
21
+ email: {
22
+ type: "email";
23
+ };
21
24
  locationId: {
22
25
  readonly type: "id";
23
26
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "41.0.79",
6
+ "version": "41.1.0",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "tsconfig.json"
@@ -60,15 +60,15 @@
60
60
  "watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev"
61
61
  },
62
62
  "dependencies": {
63
- "@sprucelabs/schema": "^32.1.35"
63
+ "@sprucelabs/schema": "^32.1.36"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@sprucelabs/esm-postbuild": "^7.0.30",
67
- "@sprucelabs/jest-json-reporter": "^9.0.47",
67
+ "@sprucelabs/jest-json-reporter": "^9.0.48",
68
68
  "@sprucelabs/resolve-path-aliases": "^3.0.23",
69
69
  "@sprucelabs/semantic-release": "^5.0.2",
70
70
  "@sprucelabs/test": "^10.0.20",
71
- "@sprucelabs/test-utils": "^6.0.72",
71
+ "@sprucelabs/test-utils": "^6.0.73",
72
72
  "@types/node": "^24.3.1",
73
73
  "chokidar-cli": "^3.0.0",
74
74
  "date-fns": "^4.1.0",