@sprucelabs/mercury-core-events 27.0.107 → 27.0.109

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',