@sprucelabs/spruce-core-schemas 41.0.80 → 41.1.1

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.
@@ -368,6 +368,8 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
368
368
  'phone'?: string | undefined | null;
369
369
  /** Username. An optional username if the person does not want to login using their phone */
370
370
  'username'?: string | undefined | null;
371
+ /** Email. An optional email if the person does not want to login using their phone */
372
+ 'email'?: string | undefined | null;
371
373
  /** Avatar src. */
372
374
  'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
373
375
  'dateCreated': SpruceSchema.DateTimeFieldValue;
@@ -525,6 +527,14 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
525
527
  hint: 'An optional username if the person does not want to login using their phone';
526
528
  options: undefined;
527
529
  };
530
+ /** Email. An optional email if the person does not want to login using their phone */
531
+ 'email': {
532
+ label: 'Email';
533
+ type: 'email';
534
+ isPrivate: true;
535
+ hint: 'An optional email if the person does not want to login using their phone';
536
+ options: undefined;
537
+ };
528
538
  /** Avatar src. */
529
539
  'avatar': {
530
540
  label: 'Avatar src';
@@ -685,6 +695,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
685
695
  'skillId'?: string | undefined | null;
686
696
  'roleId'?: string | undefined | null;
687
697
  'phone'?: string | undefined | null;
698
+ 'email'?: string | undefined | null;
688
699
  }
689
700
  interface MessageTargetSchema extends SpruceSchema.Schema {
690
701
  id: 'messageTarget';
@@ -723,6 +734,11 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
723
734
  type: 'phone';
724
735
  options: undefined;
725
736
  };
737
+ /** . */
738
+ 'email': {
739
+ type: 'email';
740
+ options: undefined;
741
+ };
726
742
  };
727
743
  }
728
744
  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);
@@ -60,6 +60,14 @@ const personSchema = {
60
60
  hint: 'An optional username if the person does not want to login using their phone',
61
61
  options: undefined
62
62
  },
63
+ /** Email. An optional email if the person does not want to login using their phone */
64
+ 'email': {
65
+ label: 'Email',
66
+ type: 'email',
67
+ isPrivate: true,
68
+ hint: 'An optional email if the person does not want to login using their phone',
69
+ options: undefined
70
+ },
63
71
  /** Avatar src. */
64
72
  'avatar': {
65
73
  label: 'Avatar src',
@@ -368,6 +368,8 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
368
368
  'phone'?: string | undefined | null;
369
369
  /** Username. An optional username if the person does not want to login using their phone */
370
370
  'username'?: string | undefined | null;
371
+ /** Email. An optional email if the person does not want to login using their phone */
372
+ 'email'?: string | undefined | null;
371
373
  /** Avatar src. */
372
374
  'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
373
375
  'dateCreated': SpruceSchema.DateTimeFieldValue;
@@ -525,6 +527,14 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
525
527
  hint: 'An optional username if the person does not want to login using their phone';
526
528
  options: undefined;
527
529
  };
530
+ /** Email. An optional email if the person does not want to login using their phone */
531
+ 'email': {
532
+ label: 'Email';
533
+ type: 'email';
534
+ isPrivate: true;
535
+ hint: 'An optional email if the person does not want to login using their phone';
536
+ options: undefined;
537
+ };
528
538
  /** Avatar src. */
529
539
  'avatar': {
530
540
  label: 'Avatar src';
@@ -685,6 +695,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
685
695
  'skillId'?: string | undefined | null;
686
696
  'roleId'?: string | undefined | null;
687
697
  'phone'?: string | undefined | null;
698
+ 'email'?: string | undefined | null;
688
699
  }
689
700
  interface MessageTargetSchema extends SpruceSchema.Schema {
690
701
  id: 'messageTarget';
@@ -723,6 +734,11 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
723
734
  type: 'phone';
724
735
  options: undefined;
725
736
  };
737
+ /** . */
738
+ 'email': {
739
+ type: 'email';
740
+ options: undefined;
741
+ };
726
742
  };
727
743
  }
728
744
  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);
@@ -58,6 +58,14 @@ const personSchema = {
58
58
  hint: 'An optional username if the person does not want to login using their phone',
59
59
  options: undefined
60
60
  },
61
+ /** Email. An optional email if the person does not want to login using their phone */
62
+ 'email': {
63
+ label: 'Email',
64
+ type: 'email',
65
+ isPrivate: true,
66
+ hint: 'An optional email if the person does not want to login using their phone',
67
+ options: undefined
68
+ },
61
69
  /** Avatar src. */
62
70
  'avatar': {
63
71
  label: 'Avatar src',
@@ -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({
@@ -43,6 +43,12 @@ declare const _default: {
43
43
  hint: string;
44
44
  isPrivate: true;
45
45
  };
46
+ email: {
47
+ label: string;
48
+ type: "email";
49
+ hint: string;
50
+ isPrivate: true;
51
+ };
46
52
  avatar: {
47
53
  label: string;
48
54
  type: "image";
@@ -45,6 +45,12 @@ export default buildSchema({
45
45
  hint: 'An optional username if the person does not want to login using their phone',
46
46
  isPrivate: true,
47
47
  },
48
+ email: {
49
+ label: 'Email',
50
+ type: 'email',
51
+ hint: 'An optional email if the person does not want to login using their phone',
52
+ isPrivate: true,
53
+ },
48
54
  avatar: {
49
55
  label: 'Avatar src',
50
56
  type: 'image',
@@ -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)({
@@ -43,6 +43,12 @@ declare const _default: {
43
43
  hint: string;
44
44
  isPrivate: true;
45
45
  };
46
+ email: {
47
+ label: string;
48
+ type: "email";
49
+ hint: string;
50
+ isPrivate: true;
51
+ };
46
52
  avatar: {
47
53
  label: string;
48
54
  type: "image";
@@ -47,6 +47,12 @@ exports.default = (0, schema_1.buildSchema)({
47
47
  hint: 'An optional username if the person does not want to login using their phone',
48
48
  isPrivate: true,
49
49
  },
50
+ email: {
51
+ label: 'Email',
52
+ type: 'email',
53
+ hint: 'An optional email if the person does not want to login using their phone',
54
+ isPrivate: true,
55
+ },
50
56
  avatar: {
51
57
  label: 'Avatar src',
52
58
  type: 'image',
@@ -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.80",
6
+ "version": "41.1.1",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "tsconfig.json"