1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | "use strict";
|
11 | Object.defineProperty(exports, "__esModule", { value: true });
|
12 | exports.TypeInfo = exports.PolicyEvaluationStatus = void 0;
|
13 |
|
14 |
|
15 |
|
16 | var PolicyEvaluationStatus;
|
17 | (function (PolicyEvaluationStatus) {
|
18 | |
19 |
|
20 |
|
21 | PolicyEvaluationStatus[PolicyEvaluationStatus["Queued"] = 0] = "Queued";
|
22 | |
23 |
|
24 |
|
25 | PolicyEvaluationStatus[PolicyEvaluationStatus["Running"] = 1] = "Running";
|
26 | |
27 |
|
28 |
|
29 | PolicyEvaluationStatus[PolicyEvaluationStatus["Approved"] = 2] = "Approved";
|
30 | |
31 |
|
32 |
|
33 | PolicyEvaluationStatus[PolicyEvaluationStatus["Rejected"] = 3] = "Rejected";
|
34 | |
35 |
|
36 |
|
37 | PolicyEvaluationStatus[PolicyEvaluationStatus["NotApplicable"] = 4] = "NotApplicable";
|
38 | |
39 |
|
40 |
|
41 | PolicyEvaluationStatus[PolicyEvaluationStatus["Broken"] = 5] = "Broken";
|
42 | })(PolicyEvaluationStatus = exports.PolicyEvaluationStatus || (exports.PolicyEvaluationStatus = {}));
|
43 | exports.TypeInfo = {
|
44 | PolicyConfiguration: {},
|
45 | PolicyEvaluationRecord: {},
|
46 | PolicyEvaluationStatus: {
|
47 | enumValues: {
|
48 | "queued": 0,
|
49 | "running": 1,
|
50 | "approved": 2,
|
51 | "rejected": 3,
|
52 | "notApplicable": 4,
|
53 | "broken": 5
|
54 | }
|
55 | },
|
56 | };
|
57 | exports.TypeInfo.PolicyConfiguration.fields = {
|
58 | createdDate: {
|
59 | isDate: true,
|
60 | }
|
61 | };
|
62 | exports.TypeInfo.PolicyEvaluationRecord.fields = {
|
63 | completedDate: {
|
64 | isDate: true,
|
65 | },
|
66 | configuration: {
|
67 | typeInfo: exports.TypeInfo.PolicyConfiguration
|
68 | },
|
69 | startedDate: {
|
70 | isDate: true,
|
71 | },
|
72 | status: {
|
73 | enumType: exports.TypeInfo.PolicyEvaluationStatus
|
74 | }
|
75 | };
|