oca-shared-model 1.0.30 → 1.0.31

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.
@@ -0,0 +1,13 @@
1
+ export declare const cbtCustomPolicy: {
2
+ id: number;
3
+ label: string;
4
+ value: {
5
+ feature: string;
6
+ permission: {
7
+ create: boolean;
8
+ read: boolean;
9
+ update: boolean;
10
+ delete: boolean;
11
+ };
12
+ }[];
13
+ }[];
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cbtCustomPolicy = void 0;
4
+ exports.cbtCustomPolicy = [
5
+ {
6
+ id: 1,
7
+ label: "Allow recruiter to add or delete CBT custom, or change the properties (like #questions, time, etc.) in job form",
8
+ value: [
9
+ {
10
+ feature: "cbt-custom",
11
+ permission: {
12
+ create: true,
13
+ read: true,
14
+ update: true,
15
+ delete: true,
16
+ },
17
+ },
18
+ {
19
+ feature: "job/cbt-custom",
20
+ permission: {
21
+ create: true,
22
+ read: true,
23
+ update: true,
24
+ delete: true,
25
+ },
26
+ },
27
+ ],
28
+ },
29
+ {
30
+ id: 2,
31
+ label: "Allow recruiter to add and edit (but not publish or deactivate) custom CBT",
32
+ value: [
33
+ {
34
+ feature: "cbt-custom/publish",
35
+ permission: {
36
+ create: true,
37
+ read: false,
38
+ update: false,
39
+ delete: false,
40
+ },
41
+ },
42
+ ],
43
+ },
44
+ ];
@@ -0,0 +1,9 @@
1
+ export declare const cbtManagerBypass: {
2
+ feature: string;
3
+ permission: {
4
+ create: boolean;
5
+ read: boolean;
6
+ update: null;
7
+ delete: null;
8
+ };
9
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cbtManagerBypass = void 0;
4
+ exports.cbtManagerBypass = {
5
+ feature: "job/cbt/bypass",
6
+ permission: {
7
+ create: true,
8
+ read: true,
9
+ update: null,
10
+ delete: null,
11
+ },
12
+ };
@@ -0,0 +1,9 @@
1
+ export declare const cbtRetakePermission: {
2
+ feature: string;
3
+ permission: {
4
+ create: boolean;
5
+ read: boolean;
6
+ update: boolean;
7
+ delete: boolean;
8
+ };
9
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cbtRetakePermission = void 0;
4
+ exports.cbtRetakePermission = {
5
+ feature: "job/cbt/retake",
6
+ permission: {
7
+ create: true,
8
+ read: true,
9
+ update: true,
10
+ delete: true,
11
+ },
12
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oca-shared-model",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "onboard shared model",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {