@molochko-dev/data 1.4.83 → 1.4.85

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.
Files changed (39) hide show
  1. package/dist/animal/enums.d.ts +39 -0
  2. package/dist/animal/enums.js +43 -0
  3. package/dist/custom-list/enums.d.ts +29 -6
  4. package/dist/custom-list/enums.js +11 -5
  5. package/dist/easy-query/enums.d.ts +3 -0
  6. package/dist/easy-query/enums.js +6 -0
  7. package/dist/enums.d.ts +99 -0
  8. package/dist/enums.js +50 -12
  9. package/dist/event/animal-event-filter.js +0 -14
  10. package/dist/event/index.d.ts +0 -2
  11. package/dist/event/index.js +1 -26
  12. package/dist/import-data/enums.d.ts +7 -2
  13. package/dist/import-data/enums.js +5 -3
  14. package/dist/index.d.ts +99 -6
  15. package/dist/index.js +6 -8
  16. package/package.json +3 -3
  17. package/src/animal/enums.ts +42 -0
  18. package/src/custom-list/enums.ts +20 -4
  19. package/src/easy-query/enums.ts +3 -0
  20. package/src/enums.ts +74 -11
  21. package/src/event/animal-event-filter.ts +0 -17
  22. package/src/event/index.ts +0 -2
  23. package/src/import-data/enums.ts +7 -2
  24. package/src/index.ts +5 -7
  25. package/dist/animal-tag/enums.d.ts +0 -5
  26. package/dist/animal-tag/enums.js +0 -9
  27. package/dist/animals/enums.d.ts +0 -38
  28. package/dist/animals/enums.js +0 -45
  29. package/dist/event/enums.d.ts +0 -105
  30. package/dist/event/enums.js +0 -115
  31. package/src/animal-tag/enums.ts +0 -5
  32. package/src/animals/enums.ts +0 -41
  33. package/src/event/enums.ts +0 -114
  34. /package/dist/{animal-tag → animal}/index.d.ts +0 -0
  35. /package/dist/{animal-tag → animal}/index.js +0 -0
  36. /package/dist/{animals → easy-query}/index.d.ts +0 -0
  37. /package/dist/{animals → easy-query}/index.js +0 -0
  38. /package/src/{animal-tag → animal}/index.ts +0 -0
  39. /package/src/{animals → easy-query}/index.ts +0 -0
@@ -0,0 +1,39 @@
1
+ export declare enum ANIMAL_GENDER_ENUM {
2
+ cow = "cow",
3
+ bull = "bull"
4
+ }
5
+ export declare const ANIMAL_GENDER_AS_OBJECT: {
6
+ [key: string]: string;
7
+ };
8
+ export declare enum ANIMAL_STATUS_ENUM {
9
+ heifer = "heifer",
10
+ bred = "bred",
11
+ pregnant = "pregnant",
12
+ open = "open",
13
+ fresh = "fresh",
14
+ dry = "dry",
15
+ dnb = "dnb",
16
+ sold = "sold",
17
+ died = "died",
18
+ theft = "theft",
19
+ transferout = "transferout"
20
+ }
21
+ export declare enum BULL_STATUS {
22
+ SOLD = "sold",
23
+ BULL = "bull",
24
+ DIED = "died"
25
+ }
26
+ export declare enum COW_STATUS {
27
+ HEIFER = "heifer",
28
+ BRED = "bred",
29
+ PREGNANT = "pregnant",
30
+ OPEN = "open",
31
+ FRESH = "fresh",
32
+ DRY = "dry",
33
+ DNB = "dnb",
34
+ SOLD = "sold",
35
+ DIED = "died"
36
+ }
37
+ export declare const ANIMAL_STATUS_AS_OBJECT: {
38
+ [key: string]: string;
39
+ };
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ANIMAL_STATUS_AS_OBJECT = exports.COW_STATUS = exports.BULL_STATUS = exports.ANIMAL_STATUS_ENUM = exports.ANIMAL_GENDER_AS_OBJECT = exports.ANIMAL_GENDER_ENUM = void 0;
4
+ const helpers_1 = require("../helpers");
5
+ var ANIMAL_GENDER_ENUM;
6
+ (function (ANIMAL_GENDER_ENUM) {
7
+ ANIMAL_GENDER_ENUM["cow"] = "cow";
8
+ ANIMAL_GENDER_ENUM["bull"] = "bull";
9
+ })(ANIMAL_GENDER_ENUM = exports.ANIMAL_GENDER_ENUM || (exports.ANIMAL_GENDER_ENUM = {}));
10
+ exports.ANIMAL_GENDER_AS_OBJECT = (0, helpers_1.enumToObject)(ANIMAL_GENDER_ENUM);
11
+ var ANIMAL_STATUS_ENUM;
12
+ (function (ANIMAL_STATUS_ENUM) {
13
+ ANIMAL_STATUS_ENUM["heifer"] = "heifer";
14
+ ANIMAL_STATUS_ENUM["bred"] = "bred";
15
+ ANIMAL_STATUS_ENUM["pregnant"] = "pregnant";
16
+ ANIMAL_STATUS_ENUM["open"] = "open";
17
+ ANIMAL_STATUS_ENUM["fresh"] = "fresh";
18
+ ANIMAL_STATUS_ENUM["dry"] = "dry";
19
+ ANIMAL_STATUS_ENUM["dnb"] = "dnb";
20
+ ANIMAL_STATUS_ENUM["sold"] = "sold";
21
+ ANIMAL_STATUS_ENUM["died"] = "died";
22
+ ANIMAL_STATUS_ENUM["theft"] = "theft";
23
+ ANIMAL_STATUS_ENUM["transferout"] = "transferout";
24
+ })(ANIMAL_STATUS_ENUM = exports.ANIMAL_STATUS_ENUM || (exports.ANIMAL_STATUS_ENUM = {}));
25
+ var BULL_STATUS;
26
+ (function (BULL_STATUS) {
27
+ BULL_STATUS["SOLD"] = "sold";
28
+ BULL_STATUS["BULL"] = "bull";
29
+ BULL_STATUS["DIED"] = "died";
30
+ })(BULL_STATUS = exports.BULL_STATUS || (exports.BULL_STATUS = {}));
31
+ var COW_STATUS;
32
+ (function (COW_STATUS) {
33
+ COW_STATUS["HEIFER"] = "heifer";
34
+ COW_STATUS["BRED"] = "bred";
35
+ COW_STATUS["PREGNANT"] = "pregnant";
36
+ COW_STATUS["OPEN"] = "open";
37
+ COW_STATUS["FRESH"] = "fresh";
38
+ COW_STATUS["DRY"] = "dry";
39
+ COW_STATUS["DNB"] = "dnb";
40
+ COW_STATUS["SOLD"] = "sold";
41
+ COW_STATUS["DIED"] = "died";
42
+ })(COW_STATUS = exports.COW_STATUS || (exports.COW_STATUS = {}));
43
+ exports.ANIMAL_STATUS_AS_OBJECT = (0, helpers_1.enumToObject)(ANIMAL_STATUS_ENUM);
@@ -5,24 +5,39 @@ export declare enum CLIST_NUMBER_OPERATOR_ENUM {
5
5
  lt = "lt",
6
6
  gt = "gt"
7
7
  }
8
+ export declare const CLIST_NUMBER_OPERATOR_ENUM_AS_OBJECT: {
9
+ [key: string]: string;
10
+ };
8
11
  export declare enum CLIST_STRING_OPERATOR_ENUM {
9
12
  eq = "eq",
10
13
  consists = "consists"
11
14
  }
15
+ export declare const CLIST_STRING_OPERATOR_ENUM_AS_OBJECT: {
16
+ [key: string]: string;
17
+ };
12
18
  export declare enum CLIST_DATE_OPERATOR_ENUM {
13
19
  eq = "eq",
14
20
  between = "between"
15
21
  }
22
+ export declare const CLIST_DATE_OPERATOR_ENUM_AS_OBJECT: {
23
+ [key: string]: string;
24
+ };
16
25
  export declare enum CLIST_TYPE_ENUM {
17
26
  string = "string",
18
27
  number = "number",
19
28
  date = "date"
20
29
  }
30
+ export declare const CLIST_TYPE_ENUM_AS_OBJECT: {
31
+ [key: string]: string;
32
+ };
21
33
  export declare enum CLIST_CONDITION_ENUM {
22
34
  and = "and",
23
35
  or = "or",
24
36
  not = "not"
25
37
  }
38
+ export declare const CLIST_CONDITION_ENUM_AS_OBJECT: {
39
+ [key: string]: string;
40
+ };
26
41
  export declare enum CLIST_MODELS_ENUM {
27
42
  animals = "animals",
28
43
  events = "events",
@@ -30,20 +45,25 @@ export declare enum CLIST_MODELS_ENUM {
30
45
  employee = "employee",
31
46
  org = "org",
32
47
  protocol = "protocol",
33
- treatment = "treatment",
34
- animalMetrics = "animalMetrics"
48
+ treatment = "treatment"
35
49
  }
50
+ export declare const CLIST_MODELS_ENUM_AS_OBJECT: {
51
+ [key: string]: string;
52
+ };
36
53
  export declare enum CLIST_DATASOURCE_ENUM {
37
54
  animals = "animals",
38
- animalMetrics = "animalMetrics",
39
- seedBank = "seedBank",
40
- events = "events",
41
- employee = "employee"
55
+ events = "events"
42
56
  }
57
+ export declare const CLIST_DATASOURCE_ENUM_AS_OBJECT: {
58
+ [key: string]: string;
59
+ };
43
60
  export declare enum CLIST_STATUS_ENUM {
44
61
  working = "working",
45
62
  published = "published"
46
63
  }
64
+ export declare const CLIST_STATUS_ENUM_AS_OBJECT: {
65
+ [key: string]: string;
66
+ };
47
67
  export declare enum CLIST_AFUNCTIONS_ENUM {
48
68
  count = "count",
49
69
  min = "min",
@@ -51,3 +71,6 @@ export declare enum CLIST_AFUNCTIONS_ENUM {
51
71
  avg = "avg",
52
72
  sum = "sum"
53
73
  }
74
+ export declare const CLIST_AFUNCTIONS_ENUM_AS_OBJECT: {
75
+ [key: string]: string;
76
+ };
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CLIST_AFUNCTIONS_ENUM = exports.CLIST_STATUS_ENUM = exports.CLIST_DATASOURCE_ENUM = exports.CLIST_MODELS_ENUM = exports.CLIST_CONDITION_ENUM = exports.CLIST_TYPE_ENUM = exports.CLIST_DATE_OPERATOR_ENUM = exports.CLIST_STRING_OPERATOR_ENUM = exports.CLIST_NUMBER_OPERATOR_ENUM = void 0;
3
+ exports.CLIST_AFUNCTIONS_ENUM_AS_OBJECT = exports.CLIST_AFUNCTIONS_ENUM = exports.CLIST_STATUS_ENUM_AS_OBJECT = exports.CLIST_STATUS_ENUM = exports.CLIST_DATASOURCE_ENUM_AS_OBJECT = exports.CLIST_DATASOURCE_ENUM = exports.CLIST_MODELS_ENUM_AS_OBJECT = exports.CLIST_MODELS_ENUM = exports.CLIST_CONDITION_ENUM_AS_OBJECT = exports.CLIST_CONDITION_ENUM = exports.CLIST_TYPE_ENUM_AS_OBJECT = exports.CLIST_TYPE_ENUM = exports.CLIST_DATE_OPERATOR_ENUM_AS_OBJECT = exports.CLIST_DATE_OPERATOR_ENUM = exports.CLIST_STRING_OPERATOR_ENUM_AS_OBJECT = exports.CLIST_STRING_OPERATOR_ENUM = exports.CLIST_NUMBER_OPERATOR_ENUM_AS_OBJECT = exports.CLIST_NUMBER_OPERATOR_ENUM = void 0;
4
+ const helpers_1 = require("../helpers");
4
5
  var CLIST_NUMBER_OPERATOR_ENUM;
5
6
  (function (CLIST_NUMBER_OPERATOR_ENUM) {
6
7
  CLIST_NUMBER_OPERATOR_ENUM["eq"] = "eq";
@@ -9,28 +10,33 @@ var CLIST_NUMBER_OPERATOR_ENUM;
9
10
  CLIST_NUMBER_OPERATOR_ENUM["lt"] = "lt";
10
11
  CLIST_NUMBER_OPERATOR_ENUM["gt"] = "gt";
11
12
  })(CLIST_NUMBER_OPERATOR_ENUM = exports.CLIST_NUMBER_OPERATOR_ENUM || (exports.CLIST_NUMBER_OPERATOR_ENUM = {}));
13
+ exports.CLIST_NUMBER_OPERATOR_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_NUMBER_OPERATOR_ENUM);
12
14
  var CLIST_STRING_OPERATOR_ENUM;
13
15
  (function (CLIST_STRING_OPERATOR_ENUM) {
14
16
  CLIST_STRING_OPERATOR_ENUM["eq"] = "eq";
15
17
  CLIST_STRING_OPERATOR_ENUM["consists"] = "consists";
16
18
  })(CLIST_STRING_OPERATOR_ENUM = exports.CLIST_STRING_OPERATOR_ENUM || (exports.CLIST_STRING_OPERATOR_ENUM = {}));
19
+ exports.CLIST_STRING_OPERATOR_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_STRING_OPERATOR_ENUM);
17
20
  var CLIST_DATE_OPERATOR_ENUM;
18
21
  (function (CLIST_DATE_OPERATOR_ENUM) {
19
22
  CLIST_DATE_OPERATOR_ENUM["eq"] = "eq";
20
23
  CLIST_DATE_OPERATOR_ENUM["between"] = "between";
21
24
  })(CLIST_DATE_OPERATOR_ENUM = exports.CLIST_DATE_OPERATOR_ENUM || (exports.CLIST_DATE_OPERATOR_ENUM = {}));
25
+ exports.CLIST_DATE_OPERATOR_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_DATE_OPERATOR_ENUM);
22
26
  var CLIST_TYPE_ENUM;
23
27
  (function (CLIST_TYPE_ENUM) {
24
28
  CLIST_TYPE_ENUM["string"] = "string";
25
29
  CLIST_TYPE_ENUM["number"] = "number";
26
30
  CLIST_TYPE_ENUM["date"] = "date";
27
31
  })(CLIST_TYPE_ENUM = exports.CLIST_TYPE_ENUM || (exports.CLIST_TYPE_ENUM = {}));
32
+ exports.CLIST_TYPE_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_TYPE_ENUM);
28
33
  var CLIST_CONDITION_ENUM;
29
34
  (function (CLIST_CONDITION_ENUM) {
30
35
  CLIST_CONDITION_ENUM["and"] = "and";
31
36
  CLIST_CONDITION_ENUM["or"] = "or";
32
37
  CLIST_CONDITION_ENUM["not"] = "not";
33
38
  })(CLIST_CONDITION_ENUM = exports.CLIST_CONDITION_ENUM || (exports.CLIST_CONDITION_ENUM = {}));
39
+ exports.CLIST_CONDITION_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_CONDITION_ENUM);
34
40
  var CLIST_MODELS_ENUM;
35
41
  (function (CLIST_MODELS_ENUM) {
36
42
  CLIST_MODELS_ENUM["animals"] = "animals";
@@ -40,21 +46,20 @@ var CLIST_MODELS_ENUM;
40
46
  CLIST_MODELS_ENUM["org"] = "org";
41
47
  CLIST_MODELS_ENUM["protocol"] = "protocol";
42
48
  CLIST_MODELS_ENUM["treatment"] = "treatment";
43
- CLIST_MODELS_ENUM["animalMetrics"] = "animalMetrics";
44
49
  })(CLIST_MODELS_ENUM = exports.CLIST_MODELS_ENUM || (exports.CLIST_MODELS_ENUM = {}));
50
+ exports.CLIST_MODELS_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_MODELS_ENUM);
45
51
  var CLIST_DATASOURCE_ENUM;
46
52
  (function (CLIST_DATASOURCE_ENUM) {
47
53
  CLIST_DATASOURCE_ENUM["animals"] = "animals";
48
- CLIST_DATASOURCE_ENUM["animalMetrics"] = "animalMetrics";
49
- CLIST_DATASOURCE_ENUM["seedBank"] = "seedBank";
50
54
  CLIST_DATASOURCE_ENUM["events"] = "events";
51
- CLIST_DATASOURCE_ENUM["employee"] = "employee";
52
55
  })(CLIST_DATASOURCE_ENUM = exports.CLIST_DATASOURCE_ENUM || (exports.CLIST_DATASOURCE_ENUM = {}));
56
+ exports.CLIST_DATASOURCE_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_DATASOURCE_ENUM);
53
57
  var CLIST_STATUS_ENUM;
54
58
  (function (CLIST_STATUS_ENUM) {
55
59
  CLIST_STATUS_ENUM["working"] = "working";
56
60
  CLIST_STATUS_ENUM["published"] = "published";
57
61
  })(CLIST_STATUS_ENUM = exports.CLIST_STATUS_ENUM || (exports.CLIST_STATUS_ENUM = {}));
62
+ exports.CLIST_STATUS_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_STATUS_ENUM);
58
63
  var CLIST_AFUNCTIONS_ENUM;
59
64
  (function (CLIST_AFUNCTIONS_ENUM) {
60
65
  CLIST_AFUNCTIONS_ENUM["count"] = "count";
@@ -63,3 +68,4 @@ var CLIST_AFUNCTIONS_ENUM;
63
68
  CLIST_AFUNCTIONS_ENUM["avg"] = "avg";
64
69
  CLIST_AFUNCTIONS_ENUM["sum"] = "sum";
65
70
  })(CLIST_AFUNCTIONS_ENUM = exports.CLIST_AFUNCTIONS_ENUM || (exports.CLIST_AFUNCTIONS_ENUM = {}));
71
+ exports.CLIST_AFUNCTIONS_ENUM_AS_OBJECT = (0, helpers_1.enumToObject)(CLIST_AFUNCTIONS_ENUM);
@@ -0,0 +1,3 @@
1
+ export declare const EQ_PROFILES: {
2
+ animals: string;
3
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EQ_PROFILES = void 0;
4
+ exports.EQ_PROFILES = {
5
+ animals: 'animals',
6
+ };
package/dist/enums.d.ts CHANGED
@@ -4,16 +4,25 @@ export declare enum SYSTEM_USER_ROLES_ENUM {
4
4
  admin = "admin",
5
5
  root = "root"
6
6
  }
7
+ export declare const SYSTEM_USER_ROLES_AS_OBJECT: {
8
+ [key: string]: string;
9
+ };
7
10
  export declare enum USER_STATUSES_ENUM {
8
11
  waiting = "waiting",
9
12
  ready = "ready",
10
13
  blocked = "blocked",
11
14
  deleted = "deleted"
12
15
  }
16
+ export declare const USER_STATUSES_AS_OBJECT: {
17
+ [key: string]: string;
18
+ };
13
19
  export declare enum ORG_TYPE_ENUM {
14
20
  org = "org",
15
21
  location = "location"
16
22
  }
23
+ export declare const ORG_TYPE_AS_OBJECT: {
24
+ [key: string]: string;
25
+ };
17
26
  export declare enum TOKEN_TYPE_ENUM {
18
27
  confirm = "confirm",
19
28
  auth = "auth",
@@ -21,10 +30,16 @@ export declare enum TOKEN_TYPE_ENUM {
21
30
  resetPassword = "resetPassword",
22
31
  invite = "invite"
23
32
  }
33
+ export declare const TOKEN_TYPES_AS_OBJECT: {
34
+ [key: string]: string;
35
+ };
24
36
  export declare enum ANIMAL_GENDER_ENUM {
25
37
  cow = "cow",
26
38
  bull = "bull"
27
39
  }
40
+ export declare const ANIMAL_GENDER_AS_OBJECT: {
41
+ [key: string]: string;
42
+ };
28
43
  export declare enum EVENT_TYPES_ENUM {
29
44
  otel = "otel",
30
45
  recheck = "recheck",
@@ -51,6 +66,9 @@ export declare enum EVENT_TYPES_ENUM {
51
66
  transferOut = "transferOut",
52
67
  treatment = "treatment"
53
68
  }
69
+ export declare const EVENT_TYPES_AS_OBJECT: {
70
+ [key: string]: string;
71
+ };
54
72
  export declare enum SEED_TYPE_ENUM {
55
73
  traditional = "traditional",
56
74
  sexytelka = "sexytelka",
@@ -59,10 +77,16 @@ export declare enum SEED_TYPE_ENUM {
59
77
  meatSexyTelka = "meatSexyTelka",
60
78
  meatSexyBull = "meatSexyBull"
61
79
  }
80
+ export declare const SEED_TYPE_AS_OBJECT: {
81
+ [key: string]: string;
82
+ };
62
83
  export declare enum SEED_STATUS_ENUM {
63
84
  active = "active",
64
85
  notActive = "notActive"
65
86
  }
87
+ export declare const SEED_STATUS_AS_OBJECT: {
88
+ [key: string]: string;
89
+ };
66
90
  export declare enum SEED_CODES_ENUM {
67
91
  DOUBLE_OVSYNC = "doubleOvsync",
68
92
  PRESYNC = "dresync",
@@ -73,6 +97,9 @@ export declare enum SEED_CODES_ENUM {
73
97
  PRID_DELTA = "PRIDDelta",
74
98
  G6G = "G6G"
75
99
  }
100
+ export declare const SEED_CODES_AS_OBJECT: {
101
+ [key: string]: string;
102
+ };
76
103
  export declare enum ANIMAL_STATUS_ENUM {
77
104
  heifer = "heifer",
78
105
  bred = "bred",
@@ -102,6 +129,9 @@ export declare enum COW_STATUS {
102
129
  SOLD = "sold",
103
130
  DIED = "died"
104
131
  }
132
+ export declare const ANIMAL_STATUS_AS_OBJECT: {
133
+ [key: string]: string;
134
+ };
105
135
  export declare enum EVENT_ERROR_REASON_ENUM {
106
136
  statusNotAllowed = "animal-status-not-allowed",
107
137
  statusNotAllowedPregnant = "animal-status-not-allowed-pregnant",
@@ -117,15 +147,24 @@ export declare enum EVENT_ERROR_REASON_ENUM {
117
147
  notACow = "animal-not-a-cow",
118
148
  tooYoung = "animal-too-young"
119
149
  }
150
+ export declare const EVENT_ERROR_REASON_AS_OBJECT: {
151
+ [key: string]: string;
152
+ };
120
153
  export declare enum COMMON_SIMPLE_STATUS_ENUM {
121
154
  failed = "failed",
122
155
  success = "success"
123
156
  }
157
+ export declare const COMMON_SIMPLE_STATUS_AS_OBJECT: {
158
+ [key: string]: string;
159
+ };
124
160
  export declare enum TAG_TYPE_ENUM {
125
161
  user = "user",
126
162
  system = "system",
127
163
  event = "event"
128
164
  }
165
+ export declare const TAG_TYPE_AS_OBJECT: {
166
+ [key: string]: string;
167
+ };
129
168
  export declare enum USER_PERMISSION_ENUM {
130
169
  view = "view",
131
170
  create = "create",
@@ -135,6 +174,9 @@ export declare enum USER_PERMISSION_ENUM {
135
174
  attach = "attach",
136
175
  detach = "detach"
137
176
  }
177
+ export declare const USER_PERMISSION_AS_OBJECT: {
178
+ [key: string]: string;
179
+ };
138
180
  export declare enum USER_PERMISSION_METHOD_ENUM {
139
181
  post = "post",
140
182
  put = "put",
@@ -142,14 +184,23 @@ export declare enum USER_PERMISSION_METHOD_ENUM {
142
184
  get = "get",
143
185
  patch = "patch"
144
186
  }
187
+ export declare const USER_PERMISSION_METHOD_AS_OBJECT: {
188
+ [key: string]: string;
189
+ };
145
190
  export declare enum ACCESS_ENUM {
146
191
  read = "read",
147
192
  write = "write"
148
193
  }
194
+ export declare const ACCESS_ENUM_AS_OBJECT: {
195
+ [key: string]: string;
196
+ };
149
197
  export declare enum TRANSFEROUT_TYPES_ENUM {
150
198
  transferOut = "transferOut",
151
199
  died = "died"
152
200
  }
201
+ export declare const TRANSFEROUT_TYPES_AS_OBJECT: {
202
+ [key: string]: string;
203
+ };
153
204
  export declare enum TRANSFEROUT_REASON_ENUM {
154
205
  leikoz = "leikoz",
155
206
  tuberkulez = "tuberkulez",
@@ -166,6 +217,9 @@ export declare enum TRANSFEROUT_REASON_ENUM {
166
217
  theft = "theft",
167
218
  dead = "dead"
168
219
  }
220
+ export declare const TRANSFEROUT_REASON_AS_OBJECT: {
221
+ [key: string]: string;
222
+ };
169
223
  export declare enum DISEASES_ENUM {
170
224
  PREVENTION = "prevention",
171
225
  VACCTINATION = "vaccination",
@@ -189,6 +243,9 @@ export declare enum DISEASES_ENUM {
189
243
  SYNCHRONIZATION = "synchronization",
190
244
  OTHER = "other"
191
245
  }
246
+ export declare const DISEASES_AS_OBJECT: {
247
+ [key: string]: string;
248
+ };
192
249
  export declare enum MEDMETHOD_ENUM {
193
250
  SUBCUTANEOUSLY = "subcutaneously",
194
251
  NASALLY = "nasally",
@@ -199,12 +256,27 @@ export declare enum MEDMETHOD_ENUM {
199
256
  INTRAUTERINE = "intrauterine",
200
257
  INTRAVAGINALLY = "intravaginally"
201
258
  }
259
+ export declare const MEDMETHOD_ENUM_AS_OBJECT: {
260
+ [key: string]: string;
261
+ };
262
+ export declare enum SUBTASK_STATUS_ENUM {
263
+ waiting = "waiting",
264
+ working = "working",
265
+ ready = "ready",
266
+ outdated = "outdated"
267
+ }
268
+ export declare const SUBTASK_STATUS_AS_OBJECT: {
269
+ [key: string]: string;
270
+ };
202
271
  export declare enum EVENT_EXEC_STATUS_ENUM {
203
272
  waiting = "waiting",
204
273
  done = "done",
205
274
  cancel = "cancel",
206
275
  block = "block"
207
276
  }
277
+ export declare const EVENT_EXEC_STATUS_AS_OBJECT: {
278
+ [key: string]: string;
279
+ };
208
280
  export declare enum CLIST_NUMBER_OPERATOR_ENUM {
209
281
  eq = "eq",
210
282
  gte = "gte",
@@ -212,24 +284,39 @@ export declare enum CLIST_NUMBER_OPERATOR_ENUM {
212
284
  lt = "lt",
213
285
  gt = "gt"
214
286
  }
287
+ export declare const CLIST_NUMBER_OPERATOR_ENUM_AS_OBJECT: {
288
+ [key: string]: string;
289
+ };
215
290
  export declare enum CLIST_STRING_OPERATOR_ENUM {
216
291
  eq = "eq",
217
292
  consists = "consists"
218
293
  }
294
+ export declare const CLIST_STRING_OPERATOR_ENUM_AS_OBJECT: {
295
+ [key: string]: string;
296
+ };
219
297
  export declare enum CLIST_DATE_OPERATOR_ENUM {
220
298
  eq = "eq",
221
299
  between = "between"
222
300
  }
301
+ export declare const CLIST_DATE_OPERATOR_ENUM_AS_OBJECT: {
302
+ [key: string]: string;
303
+ };
223
304
  export declare enum CLIST_TYPE_ENUM {
224
305
  string = "string",
225
306
  number = "number",
226
307
  date = "date"
227
308
  }
309
+ export declare const CLIST_TYPE_ENUM_AS_OBJECT: {
310
+ [key: string]: string;
311
+ };
228
312
  export declare enum CLIST_CONDITION_ENUM {
229
313
  and = "and",
230
314
  or = "or",
231
315
  not = "not"
232
316
  }
317
+ export declare const CLIST_CONDITION_ENUM_AS_OBJECT: {
318
+ [key: string]: string;
319
+ };
233
320
  export declare enum CLIST_DATASOURCE_ENUM {
234
321
  animals = "animals",
235
322
  events = "events",
@@ -239,10 +326,16 @@ export declare enum CLIST_DATASOURCE_ENUM {
239
326
  protocol = "protocol",
240
327
  treatment = "treatment"
241
328
  }
329
+ export declare const CLIST_DATASOURCE_ENUM_AS_OBJECT: {
330
+ [key: string]: string;
331
+ };
242
332
  export declare enum CLIST_STATUS_ENUM {
243
333
  working = "working",
244
334
  published = "published"
245
335
  }
336
+ export declare const CLIST_STATUS_ENUM_AS_OBJECT: {
337
+ [key: string]: string;
338
+ };
246
339
  export declare enum CLIST_AFUNCTIONS_ENUM {
247
340
  count = "count",
248
341
  min = "min",
@@ -250,7 +343,13 @@ export declare enum CLIST_AFUNCTIONS_ENUM {
250
343
  avg = "avg",
251
344
  sum = "sum"
252
345
  }
346
+ export declare const CLIST_AFUNCTIONS_ENUM_AS_OBJECT: {
347
+ [key: string]: string;
348
+ };
253
349
  export declare enum SUPPORTED_LANG_ENUM {
254
350
  ru = "ru",
255
351
  en = "en"
256
352
  }
353
+ export declare const SUPPORTED_LANG_ENUM_AS_OBJECT: {
354
+ [key: string]: string;
355
+ };