@sprucelabs/mercury-core-events 27.0.108 → 27.0.110

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.
@@ -31,6 +31,14 @@ const createPersonEmitPayloadSchema = {
31
31
  type: 'select',
32
32
  options: { choices: [{ "value": "UTC", "label": "UTC" }, { "value": "Pacific/Honolulu", "label": "Hawaii Time" }, { "value": "America/Anchorage", "label": "Alaska Time" }, { "value": "America/Los_Angeles", "label": "Pacific Time" }, { "value": "America/Denver", "label": "Mountain Time" }, { "value": "America/Phoenix", "label": "Phoenix Time (No DST)" }, { "value": "America/Chicago", "label": "Central Time" }, { "value": "America/Guatemala", "label": "Central Standard Time (No DST)" }, { "value": "America/New_York", "label": "Eastern Time" }, { "value": "America/Panama", "label": "Eastern Standard Time (No DST)" }, { "value": "America/Sao_Paulo", "label": "Brasília Time" }, { "value": "America/Argentina/Buenos_Aires", "label": "Argentina Time (No DST)" }, { "value": "Europe/London", "label": "UK Time" }, { "value": "Europe/Berlin", "label": "Central Europe Time" }, { "value": "Europe/Athens", "label": "Eastern Europe Time" }, { "value": "Europe/Moscow", "label": "Moscow Time" }, { "value": "Africa/Lagos", "label": "West Africa Time" }, { "value": "Africa/Cairo", "label": "Eastern Africa Time" }, { "value": "Africa/Johannesburg", "label": "South Africa Time" }, { "value": "Asia/Dubai", "label": "Gulf Standard Time" }, { "value": "Asia/Karachi", "label": "Pakistan Time" }, { "value": "Asia/Kolkata", "label": "India Time" }, { "value": "Asia/Shanghai", "label": "China Time" }, { "value": "Asia/Tokyo", "label": "Japan Time" }, { "value": "Asia/Seoul", "label": "Korea Time" }, { "value": "Australia/Perth", "label": "Western Australia Time" }, { "value": "Australia/Adelaide", "label": "Central Australia Time" }, { "value": "Australia/Sydney", "label": "Eastern Australia Time" }, { "value": "Pacific/Auckland", "label": "New Zealand Time" }, { "value": "Pacific/Port_Moresby", "label": "Papua New Guinea Time (No DST)" }], }
33
33
  },
34
+ /** Email. An optional email if the person does not want to login using their phone */
35
+ 'email': {
36
+ label: 'Email',
37
+ type: 'email',
38
+ isPrivate: true,
39
+ hint: 'An optional email if the person does not want to login using their phone',
40
+ options: undefined
41
+ },
34
42
  /** Avatar src. */
35
43
  'avatar': {
36
44
  label: 'Avatar src',
@@ -58,6 +58,14 @@ const listPersonSchema = {
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',
@@ -58,6 +58,14 @@ const personWithMacSchema = {
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',
@@ -10,7 +10,11 @@ const requestPinEmitPayloadSchema = {
10
10
  /** . */
11
11
  'phone': {
12
12
  type: 'phone',
13
- isRequired: true,
13
+ options: undefined
14
+ },
15
+ /** . */
16
+ 'email': {
17
+ type: 'email',
14
18
  options: undefined
15
19
  },
16
20
  }
@@ -21,7 +21,6 @@ const requestPinEmitTargetAndPayloadSchema = {
21
21
  /** . */
22
22
  'payload': {
23
23
  type: 'schema',
24
- isRequired: true,
25
24
  options: { schema: requestPinEmitPayload_schema_1.default, }
26
25
  },
27
26
  }
@@ -37,6 +37,11 @@ const sendMessageTargetSchema = {
37
37
  type: 'phone',
38
38
  options: undefined
39
39
  },
40
+ /** . */
41
+ 'email': {
42
+ type: 'email',
43
+ options: undefined
44
+ },
40
45
  }
41
46
  };
42
47
  schema_1.SchemaRegistry.getInstance().trackSchema(sendMessageTargetSchema);
@@ -31,6 +31,14 @@ const updatePersonEmitPayloadSchema = {
31
31
  type: 'select',
32
32
  options: { choices: [{ "value": "UTC", "label": "UTC" }, { "value": "Pacific/Honolulu", "label": "Hawaii Time" }, { "value": "America/Anchorage", "label": "Alaska Time" }, { "value": "America/Los_Angeles", "label": "Pacific Time" }, { "value": "America/Denver", "label": "Mountain Time" }, { "value": "America/Phoenix", "label": "Phoenix Time (No DST)" }, { "value": "America/Chicago", "label": "Central Time" }, { "value": "America/Guatemala", "label": "Central Standard Time (No DST)" }, { "value": "America/New_York", "label": "Eastern Time" }, { "value": "America/Panama", "label": "Eastern Standard Time (No DST)" }, { "value": "America/Sao_Paulo", "label": "Brasília Time" }, { "value": "America/Argentina/Buenos_Aires", "label": "Argentina Time (No DST)" }, { "value": "Europe/London", "label": "UK Time" }, { "value": "Europe/Berlin", "label": "Central Europe Time" }, { "value": "Europe/Athens", "label": "Eastern Europe Time" }, { "value": "Europe/Moscow", "label": "Moscow Time" }, { "value": "Africa/Lagos", "label": "West Africa Time" }, { "value": "Africa/Cairo", "label": "Eastern Africa Time" }, { "value": "Africa/Johannesburg", "label": "South Africa Time" }, { "value": "Asia/Dubai", "label": "Gulf Standard Time" }, { "value": "Asia/Karachi", "label": "Pakistan Time" }, { "value": "Asia/Kolkata", "label": "India Time" }, { "value": "Asia/Shanghai", "label": "China Time" }, { "value": "Asia/Tokyo", "label": "Japan Time" }, { "value": "Asia/Seoul", "label": "Korea Time" }, { "value": "Australia/Perth", "label": "Western Australia Time" }, { "value": "Australia/Adelaide", "label": "Central Australia Time" }, { "value": "Australia/Sydney", "label": "Eastern Australia Time" }, { "value": "Pacific/Auckland", "label": "New Zealand Time" }, { "value": "Pacific/Port_Moresby", "label": "Papua New Guinea Time (No DST)" }], }
33
33
  },
34
+ /** Email. An optional email if the person does not want to login using their phone */
35
+ 'email': {
36
+ label: 'Email',
37
+ type: 'email',
38
+ isPrivate: true,
39
+ hint: 'An optional email if the person does not want to login using their phone',
40
+ options: undefined
41
+ },
34
42
  /** Avatar src. */
35
43
  'avatar': {
36
44
  label: 'Avatar src',
@@ -702,6 +702,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
702
702
  'phone'?: string | undefined | null;
703
703
  /** Username. An optional username if the person does not want to login using their phone */
704
704
  'username'?: string | undefined | null;
705
+ /** Email. An optional email if the person does not want to login using their phone */
706
+ 'email'?: string | undefined | null;
705
707
  /** Avatar src. */
706
708
  'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
707
709
  'dateCreated': SpruceSchema.DateTimeFieldValue;
@@ -858,6 +860,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
858
860
  hint: 'An optional username if the person does not want to login using their phone';
859
861
  options: undefined;
860
862
  };
863
+ /** Email. An optional email if the person does not want to login using their phone */
864
+ 'email': {
865
+ label: 'Email';
866
+ type: 'email';
867
+ isPrivate: true;
868
+ hint: 'An optional email if the person does not want to login using their phone';
869
+ options: undefined;
870
+ };
861
871
  /** Avatar src. */
862
872
  'avatar': {
863
873
  label: 'Avatar src';
@@ -2010,6 +2020,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2010
2020
  'lastName'?: string | undefined | null;
2011
2021
  /** Timezone. */
2012
2022
  'timezone'?: ("UTC" | "Pacific/Honolulu" | "America/Anchorage" | "America/Los_Angeles" | "America/Denver" | "America/Phoenix" | "America/Chicago" | "America/Guatemala" | "America/New_York" | "America/Panama" | "America/Sao_Paulo" | "America/Argentina/Buenos_Aires" | "Europe/London" | "Europe/Berlin" | "Europe/Athens" | "Europe/Moscow" | "Africa/Lagos" | "Africa/Cairo" | "Africa/Johannesburg" | "Asia/Dubai" | "Asia/Karachi" | "Asia/Kolkata" | "Asia/Shanghai" | "Asia/Tokyo" | "Asia/Seoul" | "Australia/Perth" | "Australia/Adelaide" | "Australia/Sydney" | "Pacific/Auckland" | "Pacific/Port_Moresby") | undefined | null;
2023
+ /** Email. An optional email if the person does not want to login using their phone */
2024
+ 'email'?: string | undefined | null;
2013
2025
  /** Avatar src. */
2014
2026
  'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
2015
2027
  'dateScrambled'?: SpruceSchema.DateTimeFieldValue | undefined | null;
@@ -2138,6 +2150,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2138
2150
  }];
2139
2151
  };
2140
2152
  };
2153
+ /** Email. An optional email if the person does not want to login using their phone */
2154
+ 'email': {
2155
+ label: 'Email';
2156
+ type: 'email';
2157
+ isPrivate: true;
2158
+ hint: 'An optional email if the person does not want to login using their phone';
2159
+ options: undefined;
2160
+ };
2141
2161
  /** Avatar src. */
2142
2162
  'avatar': {
2143
2163
  label: 'Avatar src';
@@ -4806,6 +4826,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4806
4826
  'phone'?: string | undefined | null;
4807
4827
  /** Username. An optional username if the person does not want to login using their phone */
4808
4828
  'username'?: string | undefined | null;
4829
+ /** Email. An optional email if the person does not want to login using their phone */
4830
+ 'email'?: string | undefined | null;
4809
4831
  /** Avatar src. */
4810
4832
  'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
4811
4833
  'dateCreated': SpruceSchema.DateTimeFieldValue;
@@ -4963,6 +4985,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4963
4985
  hint: 'An optional username if the person does not want to login using their phone';
4964
4986
  options: undefined;
4965
4987
  };
4988
+ /** Email. An optional email if the person does not want to login using their phone */
4989
+ 'email': {
4990
+ label: 'Email';
4991
+ type: 'email';
4992
+ isPrivate: true;
4993
+ hint: 'An optional email if the person does not want to login using their phone';
4994
+ options: undefined;
4995
+ };
4966
4996
  /** Avatar src. */
4967
4997
  'avatar': {
4968
4998
  label: 'Avatar src';
@@ -6554,7 +6584,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6554
6584
  }
6555
6585
  namespace SpruceSchemas.Mercury.v2020_12_25 {
6556
6586
  interface RequestPinEmitPayload {
6557
- 'phone': string;
6587
+ 'phone'?: string | undefined | null;
6588
+ 'email'?: string | undefined | null;
6558
6589
  }
6559
6590
  interface RequestPinEmitPayloadSchema extends SpruceSchema.Schema {
6560
6591
  id: 'requestPinEmitPayload';
@@ -6565,7 +6596,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6565
6596
  /** . */
6566
6597
  'phone': {
6567
6598
  type: 'phone';
6568
- isRequired: true;
6599
+ options: undefined;
6600
+ };
6601
+ /** . */
6602
+ 'email': {
6603
+ type: 'email';
6569
6604
  options: undefined;
6570
6605
  };
6571
6606
  };
@@ -6577,7 +6612,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6577
6612
  interface RequestPinEmitTargetAndPayload {
6578
6613
  /** Source. */
6579
6614
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
6580
- 'payload': SpruceSchemas.Mercury.v2020_12_25.RequestPinEmitPayload;
6615
+ 'payload'?: SpruceSchemas.Mercury.v2020_12_25.RequestPinEmitPayload | undefined | null;
6581
6616
  }
6582
6617
  interface RequestPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
6583
6618
  id: 'requestPinEmitTargetAndPayload';
@@ -6596,7 +6631,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6596
6631
  /** . */
6597
6632
  'payload': {
6598
6633
  type: 'schema';
6599
- isRequired: true;
6600
6634
  options: {
6601
6635
  schema: SpruceSchemas.Mercury.v2020_12_25.RequestPinEmitPayloadSchema;
6602
6636
  };
@@ -7001,6 +7035,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
7001
7035
  'skillId'?: string | undefined | null;
7002
7036
  'roleId'?: string | undefined | null;
7003
7037
  'phone'?: string | undefined | null;
7038
+ 'email'?: string | undefined | null;
7004
7039
  }
7005
7040
  interface SendMessageTargetSchema extends SpruceSchema.Schema {
7006
7041
  id: 'sendMessageTarget';
@@ -7038,6 +7073,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
7038
7073
  type: 'phone';
7039
7074
  options: undefined;
7040
7075
  };
7076
+ /** . */
7077
+ 'email': {
7078
+ type: 'email';
7079
+ options: undefined;
7080
+ };
7041
7081
  };
7042
7082
  }
7043
7083
  interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
@@ -8652,6 +8692,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8652
8692
  'lastName'?: string | undefined | null;
8653
8693
  /** Timezone. */
8654
8694
  'timezone'?: ("UTC" | "Pacific/Honolulu" | "America/Anchorage" | "America/Los_Angeles" | "America/Denver" | "America/Phoenix" | "America/Chicago" | "America/Guatemala" | "America/New_York" | "America/Panama" | "America/Sao_Paulo" | "America/Argentina/Buenos_Aires" | "Europe/London" | "Europe/Berlin" | "Europe/Athens" | "Europe/Moscow" | "Africa/Lagos" | "Africa/Cairo" | "Africa/Johannesburg" | "Asia/Dubai" | "Asia/Karachi" | "Asia/Kolkata" | "Asia/Shanghai" | "Asia/Tokyo" | "Asia/Seoul" | "Australia/Perth" | "Australia/Adelaide" | "Australia/Sydney" | "Pacific/Auckland" | "Pacific/Port_Moresby") | undefined | null;
8695
+ /** Email. An optional email if the person does not want to login using their phone */
8696
+ 'email'?: string | undefined | null;
8655
8697
  /** Avatar src. */
8656
8698
  'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
8657
8699
  /** Phone. A number that can be texted */
@@ -8779,6 +8821,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8779
8821
  }];
8780
8822
  };
8781
8823
  };
8824
+ /** Email. An optional email if the person does not want to login using their phone */
8825
+ 'email': {
8826
+ label: 'Email';
8827
+ type: 'email';
8828
+ isPrivate: true;
8829
+ hint: 'An optional email if the person does not want to login using their phone';
8830
+ options: undefined;
8831
+ };
8782
8832
  /** Avatar src. */
8783
8833
  'avatar': {
8784
8834
  label: 'Avatar src';
@@ -26,6 +26,14 @@ const createPersonEmitPayloadSchema = {
26
26
  type: 'select',
27
27
  options: { choices: [{ "value": "UTC", "label": "UTC" }, { "value": "Pacific/Honolulu", "label": "Hawaii Time" }, { "value": "America/Anchorage", "label": "Alaska Time" }, { "value": "America/Los_Angeles", "label": "Pacific Time" }, { "value": "America/Denver", "label": "Mountain Time" }, { "value": "America/Phoenix", "label": "Phoenix Time (No DST)" }, { "value": "America/Chicago", "label": "Central Time" }, { "value": "America/Guatemala", "label": "Central Standard Time (No DST)" }, { "value": "America/New_York", "label": "Eastern Time" }, { "value": "America/Panama", "label": "Eastern Standard Time (No DST)" }, { "value": "America/Sao_Paulo", "label": "Brasília Time" }, { "value": "America/Argentina/Buenos_Aires", "label": "Argentina Time (No DST)" }, { "value": "Europe/London", "label": "UK Time" }, { "value": "Europe/Berlin", "label": "Central Europe Time" }, { "value": "Europe/Athens", "label": "Eastern Europe Time" }, { "value": "Europe/Moscow", "label": "Moscow Time" }, { "value": "Africa/Lagos", "label": "West Africa Time" }, { "value": "Africa/Cairo", "label": "Eastern Africa Time" }, { "value": "Africa/Johannesburg", "label": "South Africa Time" }, { "value": "Asia/Dubai", "label": "Gulf Standard Time" }, { "value": "Asia/Karachi", "label": "Pakistan Time" }, { "value": "Asia/Kolkata", "label": "India Time" }, { "value": "Asia/Shanghai", "label": "China Time" }, { "value": "Asia/Tokyo", "label": "Japan Time" }, { "value": "Asia/Seoul", "label": "Korea Time" }, { "value": "Australia/Perth", "label": "Western Australia Time" }, { "value": "Australia/Adelaide", "label": "Central Australia Time" }, { "value": "Australia/Sydney", "label": "Eastern Australia Time" }, { "value": "Pacific/Auckland", "label": "New Zealand Time" }, { "value": "Pacific/Port_Moresby", "label": "Papua New Guinea Time (No DST)" }], }
28
28
  },
29
+ /** Email. An optional email if the person does not want to login using their phone */
30
+ 'email': {
31
+ label: 'Email',
32
+ type: 'email',
33
+ isPrivate: true,
34
+ hint: 'An optional email if the person does not want to login using their phone',
35
+ options: undefined
36
+ },
29
37
  /** Avatar src. */
30
38
  'avatar': {
31
39
  label: 'Avatar src',
@@ -56,6 +56,14 @@ const listPersonSchema = {
56
56
  hint: 'An optional username if the person does not want to login using their phone',
57
57
  options: undefined
58
58
  },
59
+ /** Email. An optional email if the person does not want to login using their phone */
60
+ 'email': {
61
+ label: 'Email',
62
+ type: 'email',
63
+ isPrivate: true,
64
+ hint: 'An optional email if the person does not want to login using their phone',
65
+ options: undefined
66
+ },
59
67
  /** Avatar src. */
60
68
  'avatar': {
61
69
  label: 'Avatar src',
@@ -56,6 +56,14 @@ const personWithMacSchema = {
56
56
  hint: 'An optional username if the person does not want to login using their phone',
57
57
  options: undefined
58
58
  },
59
+ /** Email. An optional email if the person does not want to login using their phone */
60
+ 'email': {
61
+ label: 'Email',
62
+ type: 'email',
63
+ isPrivate: true,
64
+ hint: 'An optional email if the person does not want to login using their phone',
65
+ options: undefined
66
+ },
59
67
  /** Avatar src. */
60
68
  'avatar': {
61
69
  label: 'Avatar src',
@@ -8,7 +8,11 @@ const requestPinEmitPayloadSchema = {
8
8
  /** . */
9
9
  'phone': {
10
10
  type: 'phone',
11
- isRequired: true,
11
+ options: undefined
12
+ },
13
+ /** . */
14
+ 'email': {
15
+ type: 'email',
12
16
  options: undefined
13
17
  },
14
18
  }
@@ -16,7 +16,6 @@ const requestPinEmitTargetAndPayloadSchema = {
16
16
  /** . */
17
17
  'payload': {
18
18
  type: 'schema',
19
- isRequired: true,
20
19
  options: { schema: requestPinEmitPayloadSchema_v2020_12_25, }
21
20
  },
22
21
  }
@@ -35,6 +35,11 @@ const sendMessageTargetSchema = {
35
35
  type: 'phone',
36
36
  options: undefined
37
37
  },
38
+ /** . */
39
+ 'email': {
40
+ type: 'email',
41
+ options: undefined
42
+ },
38
43
  }
39
44
  };
40
45
  SchemaRegistry.getInstance().trackSchema(sendMessageTargetSchema);
@@ -26,6 +26,14 @@ const updatePersonEmitPayloadSchema = {
26
26
  type: 'select',
27
27
  options: { choices: [{ "value": "UTC", "label": "UTC" }, { "value": "Pacific/Honolulu", "label": "Hawaii Time" }, { "value": "America/Anchorage", "label": "Alaska Time" }, { "value": "America/Los_Angeles", "label": "Pacific Time" }, { "value": "America/Denver", "label": "Mountain Time" }, { "value": "America/Phoenix", "label": "Phoenix Time (No DST)" }, { "value": "America/Chicago", "label": "Central Time" }, { "value": "America/Guatemala", "label": "Central Standard Time (No DST)" }, { "value": "America/New_York", "label": "Eastern Time" }, { "value": "America/Panama", "label": "Eastern Standard Time (No DST)" }, { "value": "America/Sao_Paulo", "label": "Brasília Time" }, { "value": "America/Argentina/Buenos_Aires", "label": "Argentina Time (No DST)" }, { "value": "Europe/London", "label": "UK Time" }, { "value": "Europe/Berlin", "label": "Central Europe Time" }, { "value": "Europe/Athens", "label": "Eastern Europe Time" }, { "value": "Europe/Moscow", "label": "Moscow Time" }, { "value": "Africa/Lagos", "label": "West Africa Time" }, { "value": "Africa/Cairo", "label": "Eastern Africa Time" }, { "value": "Africa/Johannesburg", "label": "South Africa Time" }, { "value": "Asia/Dubai", "label": "Gulf Standard Time" }, { "value": "Asia/Karachi", "label": "Pakistan Time" }, { "value": "Asia/Kolkata", "label": "India Time" }, { "value": "Asia/Shanghai", "label": "China Time" }, { "value": "Asia/Tokyo", "label": "Japan Time" }, { "value": "Asia/Seoul", "label": "Korea Time" }, { "value": "Australia/Perth", "label": "Western Australia Time" }, { "value": "Australia/Adelaide", "label": "Central Australia Time" }, { "value": "Australia/Sydney", "label": "Eastern Australia Time" }, { "value": "Pacific/Auckland", "label": "New Zealand Time" }, { "value": "Pacific/Port_Moresby", "label": "Papua New Guinea Time (No DST)" }], }
28
28
  },
29
+ /** Email. An optional email if the person does not want to login using their phone */
30
+ 'email': {
31
+ label: 'Email',
32
+ type: 'email',
33
+ isPrivate: true,
34
+ hint: 'An optional email if the person does not want to login using their phone',
35
+ options: undefined
36
+ },
29
37
  /** Avatar src. */
30
38
  'avatar': {
31
39
  label: 'Avatar src',
@@ -702,6 +702,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
702
702
  'phone'?: string | undefined | null;
703
703
  /** Username. An optional username if the person does not want to login using their phone */
704
704
  'username'?: string | undefined | null;
705
+ /** Email. An optional email if the person does not want to login using their phone */
706
+ 'email'?: string | undefined | null;
705
707
  /** Avatar src. */
706
708
  'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
707
709
  'dateCreated': SpruceSchema.DateTimeFieldValue;
@@ -858,6 +860,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
858
860
  hint: 'An optional username if the person does not want to login using their phone';
859
861
  options: undefined;
860
862
  };
863
+ /** Email. An optional email if the person does not want to login using their phone */
864
+ 'email': {
865
+ label: 'Email';
866
+ type: 'email';
867
+ isPrivate: true;
868
+ hint: 'An optional email if the person does not want to login using their phone';
869
+ options: undefined;
870
+ };
861
871
  /** Avatar src. */
862
872
  'avatar': {
863
873
  label: 'Avatar src';
@@ -2010,6 +2020,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2010
2020
  'lastName'?: string | undefined | null;
2011
2021
  /** Timezone. */
2012
2022
  'timezone'?: ("UTC" | "Pacific/Honolulu" | "America/Anchorage" | "America/Los_Angeles" | "America/Denver" | "America/Phoenix" | "America/Chicago" | "America/Guatemala" | "America/New_York" | "America/Panama" | "America/Sao_Paulo" | "America/Argentina/Buenos_Aires" | "Europe/London" | "Europe/Berlin" | "Europe/Athens" | "Europe/Moscow" | "Africa/Lagos" | "Africa/Cairo" | "Africa/Johannesburg" | "Asia/Dubai" | "Asia/Karachi" | "Asia/Kolkata" | "Asia/Shanghai" | "Asia/Tokyo" | "Asia/Seoul" | "Australia/Perth" | "Australia/Adelaide" | "Australia/Sydney" | "Pacific/Auckland" | "Pacific/Port_Moresby") | undefined | null;
2023
+ /** Email. An optional email if the person does not want to login using their phone */
2024
+ 'email'?: string | undefined | null;
2013
2025
  /** Avatar src. */
2014
2026
  'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
2015
2027
  'dateScrambled'?: SpruceSchema.DateTimeFieldValue | undefined | null;
@@ -2138,6 +2150,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2138
2150
  }];
2139
2151
  };
2140
2152
  };
2153
+ /** Email. An optional email if the person does not want to login using their phone */
2154
+ 'email': {
2155
+ label: 'Email';
2156
+ type: 'email';
2157
+ isPrivate: true;
2158
+ hint: 'An optional email if the person does not want to login using their phone';
2159
+ options: undefined;
2160
+ };
2141
2161
  /** Avatar src. */
2142
2162
  'avatar': {
2143
2163
  label: 'Avatar src';
@@ -4806,6 +4826,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4806
4826
  'phone'?: string | undefined | null;
4807
4827
  /** Username. An optional username if the person does not want to login using their phone */
4808
4828
  'username'?: string | undefined | null;
4829
+ /** Email. An optional email if the person does not want to login using their phone */
4830
+ 'email'?: string | undefined | null;
4809
4831
  /** Avatar src. */
4810
4832
  'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
4811
4833
  'dateCreated': SpruceSchema.DateTimeFieldValue;
@@ -4963,6 +4985,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4963
4985
  hint: 'An optional username if the person does not want to login using their phone';
4964
4986
  options: undefined;
4965
4987
  };
4988
+ /** Email. An optional email if the person does not want to login using their phone */
4989
+ 'email': {
4990
+ label: 'Email';
4991
+ type: 'email';
4992
+ isPrivate: true;
4993
+ hint: 'An optional email if the person does not want to login using their phone';
4994
+ options: undefined;
4995
+ };
4966
4996
  /** Avatar src. */
4967
4997
  'avatar': {
4968
4998
  label: 'Avatar src';
@@ -6554,7 +6584,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6554
6584
  }
6555
6585
  namespace SpruceSchemas.Mercury.v2020_12_25 {
6556
6586
  interface RequestPinEmitPayload {
6557
- 'phone': string;
6587
+ 'phone'?: string | undefined | null;
6588
+ 'email'?: string | undefined | null;
6558
6589
  }
6559
6590
  interface RequestPinEmitPayloadSchema extends SpruceSchema.Schema {
6560
6591
  id: 'requestPinEmitPayload';
@@ -6565,7 +6596,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6565
6596
  /** . */
6566
6597
  'phone': {
6567
6598
  type: 'phone';
6568
- isRequired: true;
6599
+ options: undefined;
6600
+ };
6601
+ /** . */
6602
+ 'email': {
6603
+ type: 'email';
6569
6604
  options: undefined;
6570
6605
  };
6571
6606
  };
@@ -6577,7 +6612,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6577
6612
  interface RequestPinEmitTargetAndPayload {
6578
6613
  /** Source. */
6579
6614
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
6580
- 'payload': SpruceSchemas.Mercury.v2020_12_25.RequestPinEmitPayload;
6615
+ 'payload'?: SpruceSchemas.Mercury.v2020_12_25.RequestPinEmitPayload | undefined | null;
6581
6616
  }
6582
6617
  interface RequestPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
6583
6618
  id: 'requestPinEmitTargetAndPayload';
@@ -6596,7 +6631,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
6596
6631
  /** . */
6597
6632
  'payload': {
6598
6633
  type: 'schema';
6599
- isRequired: true;
6600
6634
  options: {
6601
6635
  schema: SpruceSchemas.Mercury.v2020_12_25.RequestPinEmitPayloadSchema;
6602
6636
  };
@@ -7001,6 +7035,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
7001
7035
  'skillId'?: string | undefined | null;
7002
7036
  'roleId'?: string | undefined | null;
7003
7037
  'phone'?: string | undefined | null;
7038
+ 'email'?: string | undefined | null;
7004
7039
  }
7005
7040
  interface SendMessageTargetSchema extends SpruceSchema.Schema {
7006
7041
  id: 'sendMessageTarget';
@@ -7038,6 +7073,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
7038
7073
  type: 'phone';
7039
7074
  options: undefined;
7040
7075
  };
7076
+ /** . */
7077
+ 'email': {
7078
+ type: 'email';
7079
+ options: undefined;
7080
+ };
7041
7081
  };
7042
7082
  }
7043
7083
  interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
@@ -8652,6 +8692,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8652
8692
  'lastName'?: string | undefined | null;
8653
8693
  /** Timezone. */
8654
8694
  'timezone'?: ("UTC" | "Pacific/Honolulu" | "America/Anchorage" | "America/Los_Angeles" | "America/Denver" | "America/Phoenix" | "America/Chicago" | "America/Guatemala" | "America/New_York" | "America/Panama" | "America/Sao_Paulo" | "America/Argentina/Buenos_Aires" | "Europe/London" | "Europe/Berlin" | "Europe/Athens" | "Europe/Moscow" | "Africa/Lagos" | "Africa/Cairo" | "Africa/Johannesburg" | "Asia/Dubai" | "Asia/Karachi" | "Asia/Kolkata" | "Asia/Shanghai" | "Asia/Tokyo" | "Asia/Seoul" | "Australia/Perth" | "Australia/Adelaide" | "Australia/Sydney" | "Pacific/Auckland" | "Pacific/Port_Moresby") | undefined | null;
8695
+ /** Email. An optional email if the person does not want to login using their phone */
8696
+ 'email'?: string | undefined | null;
8655
8697
  /** Avatar src. */
8656
8698
  'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
8657
8699
  /** Phone. A number that can be texted */
@@ -8779,6 +8821,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8779
8821
  }];
8780
8822
  };
8781
8823
  };
8824
+ /** Email. An optional email if the person does not want to login using their phone */
8825
+ 'email': {
8826
+ label: 'Email';
8827
+ type: 'email';
8828
+ isPrivate: true;
8829
+ hint: 'An optional email if the person does not want to login using their phone';
8830
+ options: undefined;
8831
+ };
8782
8832
  /** Avatar src. */
8783
8833
  'avatar': {
8784
8834
  label: 'Avatar src';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprucelabs/mercury-core-events",
3
- "version": "27.0.108",
3
+ "version": "27.0.110",
4
4
  "description": "Events Mercury provides out of the box.",
5
5
  "skill": {
6
6
  "namespace": "mercury-core-events",
@@ -76,10 +76,10 @@
76
76
  "typescript": "^5.9.2"
77
77
  },
78
78
  "dependencies": {
79
- "@sprucelabs/mercury-types": "^48.0.86",
80
- "@sprucelabs/schema": "^32.1.36",
81
- "@sprucelabs/spruce-core-schemas": "^41.0.80",
82
- "@sprucelabs/spruce-event-utils": "^41.0.96"
79
+ "@sprucelabs/mercury-types": "^48.0.87",
80
+ "@sprucelabs/schema": "^32.1.38",
81
+ "@sprucelabs/spruce-core-schemas": "^41.1.2",
82
+ "@sprucelabs/spruce-event-utils": "^41.0.98"
83
83
  },
84
84
  "jest": {
85
85
  "testRunner": "jest-circus/runner",