@sprucelabs/mercury-core-events 27.0.52 → 27.0.54

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.
@@ -7,10 +7,18 @@ const updateOrgEmitPayloadSchema = {
7
7
  namespace: 'Mercury',
8
8
  name: '',
9
9
  fields: {
10
+ /** Id. */
11
+ 'id': {
12
+ label: 'Id',
13
+ type: 'id',
14
+ isRequired: true,
15
+ options: undefined
16
+ },
10
17
  /** Name. */
11
18
  'name': {
12
19
  label: 'Name',
13
20
  type: 'text',
21
+ isRequired: true,
14
22
  options: undefined
15
23
  },
16
24
  /** Address. */
@@ -30,6 +38,7 @@ const updateOrgEmitPayloadSchema = {
30
38
  /** . */
31
39
  'dateCreated': {
32
40
  type: 'dateTime',
41
+ isRequired: true,
33
42
  options: undefined
34
43
  },
35
44
  /** . */
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const schema_1 = require("@sprucelabs/schema");
7
- const updateOrg_schema_1 = __importDefault(require("./updateOrg.schema"));
7
+ const organization_schema_1 = __importDefault(require("./../../spruce/v2020_07_22/organization.schema"));
8
8
  const updateOrgResponsePayloadSchema = {
9
9
  id: 'updateOrgResponsePayload',
10
10
  version: 'v2020_12_25',
@@ -15,7 +15,7 @@ const updateOrgResponsePayloadSchema = {
15
15
  'organization': {
16
16
  type: 'schema',
17
17
  isRequired: true,
18
- options: { schema: updateOrg_schema_1.default, }
18
+ options: { schema: organization_schema_1.default, }
19
19
  },
20
20
  }
21
21
  };
@@ -28,6 +28,7 @@ const updateOrganizationEmitTargetAndPayloadSchema = {
28
28
  /** . */
29
29
  'payload': {
30
30
  type: 'schema',
31
+ isRequired: true,
31
32
  options: { schema: updateOrgEmitPayload_schema_1.default, }
32
33
  },
33
34
  }