@sprucelabs/mercury-core-events 15.1.6 → 15.1.7

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.
@@ -23,7 +23,7 @@ const savePermissionsEmitTargetSchema = {
23
23
  options: undefined
24
24
  },
25
25
  /** . */
26
- 'skillId': {
26
+ 'permissionSkillId': {
27
27
  type: 'id',
28
28
  options: undefined
29
29
  },
@@ -22,6 +22,7 @@ const savePermissionsPermissionSchema = {
22
22
  /** . */
23
23
  'can': {
24
24
  type: 'schema',
25
+ isRequired: true,
25
26
  options: { schema: statusFlags_schema_1.default, }
26
27
  },
27
28
  }
@@ -8435,7 +8435,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8435
8435
  'locationId'?: string | undefined | null;
8436
8436
  'organizationId'?: string | undefined | null;
8437
8437
  'permissionPersonId'?: string | undefined | null;
8438
- 'skillId'?: string | undefined | null;
8438
+ 'permissionSkillId'?: string | undefined | null;
8439
8439
  'permissionContractId': string;
8440
8440
  }
8441
8441
  interface SavePermissionsEmitTargetSchema extends SpruceSchema.Schema {
@@ -8460,7 +8460,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8460
8460
  options: undefined;
8461
8461
  };
8462
8462
  /** . */
8463
- 'skillId': {
8463
+ 'permissionSkillId': {
8464
8464
  type: 'id';
8465
8465
  options: undefined;
8466
8466
  };
@@ -8479,7 +8479,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8479
8479
  interface SavePermissionsPermission {
8480
8480
  /** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
8481
8481
  'id': string;
8482
- 'can'?: SpruceSchemas.Mercury.v2020_12_25.StatusFlags | undefined | null;
8482
+ 'can': SpruceSchemas.Mercury.v2020_12_25.StatusFlags;
8483
8483
  }
8484
8484
  interface SavePermissionsPermissionSchema extends SpruceSchema.Schema {
8485
8485
  id: 'savePermissionsPermission';
@@ -8498,6 +8498,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8498
8498
  /** . */
8499
8499
  'can': {
8500
8500
  type: 'schema';
8501
+ isRequired: true;
8501
8502
  options: {
8502
8503
  schema: SpruceSchemas.Mercury.v2020_12_25.StatusFlagsSchema;
8503
8504
  };
@@ -21,7 +21,7 @@ const savePermissionsEmitTargetSchema = {
21
21
  options: undefined
22
22
  },
23
23
  /** . */
24
- 'skillId': {
24
+ 'permissionSkillId': {
25
25
  type: 'id',
26
26
  options: undefined
27
27
  },
@@ -17,6 +17,7 @@ const savePermissionsPermissionSchema = {
17
17
  /** . */
18
18
  'can': {
19
19
  type: 'schema',
20
+ isRequired: true,
20
21
  options: { schema: statusFlagsSchema_v2020_12_25, }
21
22
  },
22
23
  }
@@ -8435,7 +8435,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8435
8435
  'locationId'?: string | undefined | null;
8436
8436
  'organizationId'?: string | undefined | null;
8437
8437
  'permissionPersonId'?: string | undefined | null;
8438
- 'skillId'?: string | undefined | null;
8438
+ 'permissionSkillId'?: string | undefined | null;
8439
8439
  'permissionContractId': string;
8440
8440
  }
8441
8441
  interface SavePermissionsEmitTargetSchema extends SpruceSchema.Schema {
@@ -8460,7 +8460,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8460
8460
  options: undefined;
8461
8461
  };
8462
8462
  /** . */
8463
- 'skillId': {
8463
+ 'permissionSkillId': {
8464
8464
  type: 'id';
8465
8465
  options: undefined;
8466
8466
  };
@@ -8479,7 +8479,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8479
8479
  interface SavePermissionsPermission {
8480
8480
  /** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
8481
8481
  'id': string;
8482
- 'can'?: SpruceSchemas.Mercury.v2020_12_25.StatusFlags | undefined | null;
8482
+ 'can': SpruceSchemas.Mercury.v2020_12_25.StatusFlags;
8483
8483
  }
8484
8484
  interface SavePermissionsPermissionSchema extends SpruceSchema.Schema {
8485
8485
  id: 'savePermissionsPermission';
@@ -8498,6 +8498,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8498
8498
  /** . */
8499
8499
  'can': {
8500
8500
  type: 'schema';
8501
+ isRequired: true;
8501
8502
  options: {
8502
8503
  schema: SpruceSchemas.Mercury.v2020_12_25.StatusFlagsSchema;
8503
8504
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprucelabs/mercury-core-events",
3
- "version": "15.1.6",
3
+ "version": "15.1.7",
4
4
  "description": "Events Mercury provides out of the box.",
5
5
  "skill": {
6
6
  "namespace": "mercury-core-events",