cry-klikvet-logic 0.10.298 → 0.10.300

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,6 @@
1
+ import { Mongo } from "cry-db";
2
+ export declare function createMongoForAnonimizacija(tenant: string, server?: string): Mongo;
3
+ export declare function anonimizirajPodatke(mongo: Mongo, letNazaj?: number): Promise<{
4
+ sec: number;
5
+ }[]>;
6
+ //# sourceMappingURL=anonimizirajPodatke.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anonimizirajPodatke.d.ts","sourceRoot":"","sources":["../src/anonimizirajPodatke.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAoB9B,wBAAgB,2BAA2B,CAAC,MAAM,EAAC,MAAM,EAAE,MAAM,GAAC,MAAS,SAS1E;AA8TD,wBAAsB,mBAAmB,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,GAAE,MAAQ;;KAmBzE"}
@@ -0,0 +1,314 @@
1
+ import { Mongo } from "cry-db";
2
+ import { jc, jn, js } from "cry-helpers/dist/j.js";
3
+ import cloneDeep from "lodash.clonedeep";
4
+ import dayjs from "./dayjs.js";
5
+ import { strankaRacuna } from "./strankaRacuna.js";
6
+ export function createMongoForAnonimizacija(tenant, server = "") {
7
+ let mongo = new Mongo(tenant, server);
8
+ mongo.emitPublishEvents(false);
9
+ mongo.useRevisions(false);
10
+ mongo.useSync(false);
11
+ mongo.useAuditing(false);
12
+ mongo.setUser("klikvet");
13
+ return mongo;
14
+ }
15
+ function shuffleArray(inArray) {
16
+ let array = cloneDeep(inArray);
17
+ for (var i = array.length - 1; i > 0; i--) {
18
+ var j = Math.floor(Math.random() * (i + 1));
19
+ var temp = array[i];
20
+ array[i] = array[j];
21
+ array[j] = temp;
22
+ }
23
+ return array;
24
+ }
25
+ async function createUsersMap(mongo) {
26
+ var possibleUsers = [
27
+ { keyRole: "poslovodja", username: "peter", ime: "Peter", priimek: "Palčič", strokovniNaziv: "dr. vet. med.", },
28
+ { keyRole: "poslovodja", username: "polona", ime: "Polona", priimek: "Pavlin", strokovniNaziv: "dr. vet. med.", },
29
+ { keyRole: "poslovodja", username: "pavel", ime: "Pavel", priimek: "Pečjak", strokovniNaziv: "dr. vet. med.", },
30
+ { keyRole: "veterinar", username: "vlado", ime: "Vlado", priimek: "Vajda", strokovniNaziv: "dr. vet. med.", },
31
+ { keyRole: "veterinar", username: "vesna", ime: "Vesna", priimek: "Vastl", strokovniNaziv: "dr. vet. med.", },
32
+ { keyRole: "veterinar", username: "varja", ime: "Varja", priimek: "Vidovič", strokovniNaziv: "dr. vet. med.", },
33
+ { keyRole: "veterinar", username: "valentina", ime: "Valentina", priimek: "Verbec", strokovniNaziv: "dr. vet. med.", },
34
+ { keyRole: "veterinar", username: "veljko", ime: "Veljko", priimek: "Vodeb", strokovniNaziv: "dr. vet. med.", },
35
+ { keyRole: "veterinar", username: "vera", ime: "Vera", priimek: "Voljč", strokovniNaziv: "dr. vet. med.", },
36
+ { keyRole: "tehnik", username: "tone", ime: "Tone", priimek: "Tevž", strokovniNaziv: "vet. teh.", },
37
+ { keyRole: "tehnik", username: "tina", ime: "Tina", priimek: "Tome", strokovniNaziv: "vet. teh.", },
38
+ { keyRole: "tehnik", username: "tim", ime: "Tim", priimek: "Tomc", strokovniNaziv: "vet. teh.", },
39
+ { keyRole: "tehnik", username: "tomaž", ime: "Tomaž", priimek: "Tihec", strokovniNaziv: "vet. teh.", },
40
+ { keyRole: "tehnik", username: "tjaša", ime: "Tjaša", priimek: "Trpin", strokovniNaziv: "vet. teh.", },
41
+ { keyRole: "tehnik", username: "teja", ime: "Teja", priimek: "Trubar", strokovniNaziv: "vet. teh.", },
42
+ { keyRole: "tehnik", username: "tanja", ime: "Tanja", priimek: "Tušek", strokovniNaziv: "vet. teh.", },
43
+ { keyRole: "tehnik", username: "tamara", ime: "Tamara", priimek: "Tomše", strokovniNaziv: "vet. teh.", },
44
+ { keyRole: "tehnik", username: "tatjana", ime: "Tatjana", priimek: "Torkar", strokovniNaziv: "vet. teh.", },
45
+ { keyRole: "tehnik", username: "teodor", ime: "Teodor", priimek: "Tretjak", strokovniNaziv: "vet. teh.", },
46
+ { keyRole: "tehnik", username: "tea", ime: "Tea", priimek: "Trost", strokovniNaziv: "vet. teh.", },
47
+ { keyRole: "tehnik", username: "tomislav", ime: "Tomislav", priimek: "Tičar", strokovniNaziv: "vet. teh.", },
48
+ { keyRole: "tehnik", username: "teodor", ime: "Teodor", priimek: "Tkalec", strokovniNaziv: "vet. teh.", },
49
+ ];
50
+ possibleUsers.forEach(u => u.imeIzdajatelja = js(u.ime, u.priimek, u.strokovniNaziv));
51
+ function naslednjiZaVlogo(vloga) {
52
+ let picked = possibleUsers.find(l => l.keyRole === vloga);
53
+ if (picked) {
54
+ possibleUsers = possibleUsers.filter(u => u.username !== picked?.username);
55
+ return picked;
56
+ }
57
+ return undefined;
58
+ }
59
+ let users = await mongo.find("users", {});
60
+ let map = {};
61
+ for (let user of users) {
62
+ if (user.roles?.includes("admin"))
63
+ continue;
64
+ let picked = (user.roles.includes("poslovodja") && naslednjiZaVlogo("poslovodja")) ||
65
+ (user.roles.includes("veterinar") && naslednjiZaVlogo("veterinar")) ||
66
+ (user.roles.includes("tehnik") && naslednjiZaVlogo("tehnik"));
67
+ if (picked) {
68
+ map[user.username] = picked;
69
+ }
70
+ else {
71
+ throw new Error("Zmanjkalo je novih uporabnikov za " + user.username);
72
+ }
73
+ }
74
+ return map;
75
+ }
76
+ async function createCustomersMap(mongo) {
77
+ let customers = await mongo.find("stranke", {});
78
+ let shuffle = shuffleArray(customers);
79
+ let map = {};
80
+ for (let i = 0; i < customers.length; i++) {
81
+ let customer = customers[i];
82
+ let jeDoo = customer.firma?.match(/(d.o.o.)/i);
83
+ if (customer.ime && customer.priimek && !jeDoo) {
84
+ map[customer._id] = {
85
+ ...customer,
86
+ ime: customer.ime || shuffle[i].ime,
87
+ priimek: shuffle[i].priimek || customer.priimek,
88
+ hs: shuffle[i].hs || Math.floor(Math.random() * 20 + 1),
89
+ firma: ""
90
+ };
91
+ }
92
+ }
93
+ return map;
94
+ }
95
+ async function renameUsers(mongo, usersMap) {
96
+ for await (let username of Object.keys(usersMap)) {
97
+ let map = usersMap[username];
98
+ if (map)
99
+ await mongo.upsert("users", { username }, map);
100
+ }
101
+ return { users: Object.keys(usersMap).length };
102
+ }
103
+ async function renameCustomers(mongo, customerMap) {
104
+ for await (let _id of Object.keys(customerMap)) {
105
+ let map = customerMap[_id];
106
+ if (map)
107
+ await mongo.upsert("stranke", { _id }, map);
108
+ }
109
+ return { customers: Object.keys(customerMap).length };
110
+ }
111
+ async function popraviRacune(mongo, usersMap, customerMap, letNazaj) {
112
+ let od = dayjs().add(-letNazaj, "years").startOf("year").toDate();
113
+ let racuni = await mongo.find("racuni", { datum: { $gt: od } });
114
+ for await (let racun of racuni) {
115
+ let popravek = {
116
+ izdal: usersMap[racun.izdal]?.username,
117
+ imeIzdajatelja: usersMap[racun.izdal]?.imeIzdajatelja,
118
+ odprl: usersMap[racun.odprl]?.username,
119
+ };
120
+ if (racun.veterinar) {
121
+ popravek.veterinar = usersMap[racun.veterinar]?.username;
122
+ popravek.imeVeterinarja = usersMap[racun.veterinar]?.imeIzdajatelja;
123
+ }
124
+ if (racun.stranka?._id && customerMap[racun.stranka._id]) {
125
+ racun.stranka = strankaRacuna(customerMap[racun.stranka._id]);
126
+ }
127
+ for (let postavka of racun.postavke) {
128
+ postavka.dodal = usersMap[postavka.dodal]?.username || postavka.dodal;
129
+ if (postavka.zaracunal)
130
+ postavka.zaracunal = usersMap[postavka.zaracunal]?.username;
131
+ }
132
+ popravek.postavke = racun.postavke;
133
+ // console.dir(popravek, { depth: 10 }); break;
134
+ await mongo.upsert("racuni", { _id: racun._id }, popravek);
135
+ }
136
+ return { racuni: racuni.length };
137
+ }
138
+ async function popraviBlagovnice(mongo, usersMap, letNazaj) {
139
+ let od = dayjs().add(-letNazaj, "years").startOf("year").toDate();
140
+ let blagovnice = await mongo.find("blagovnice", { datum: { $gt: od } });
141
+ for await (let blagovnica of blagovnice) {
142
+ let popravek = {
143
+ izvedel: usersMap[blagovnica.izvedel]?.username,
144
+ };
145
+ for (let postavka of blagovnica.postavke) {
146
+ postavka.dodal = usersMap[postavka.dodal || ""]?.username || postavka.dodal;
147
+ }
148
+ popravek.postavke = blagovnica.postavke;
149
+ // console.dir(popravek, { depth: 10 }); break;
150
+ await mongo.upsert("blagovnice", { _id: blagovnica._id }, popravek);
151
+ }
152
+ return { blagovnice: blagovnice.length };
153
+ }
154
+ async function popraviDobavnice(mongo, usersMap, letNazaj) {
155
+ let od = dayjs().add(-letNazaj, "years").startOf("year").toDate();
156
+ let dobavnice = await mongo.find("dobavnice", { datum: { $gt: od } });
157
+ for await (let dobavnica of dobavnice) {
158
+ let popravek = {
159
+ izdal: usersMap[dobavnica.izdal]?.username,
160
+ odprl: usersMap[dobavnica.odprl]?.username,
161
+ zaracunal: usersMap[dobavnica.zaracunal || ""]?.username || "",
162
+ };
163
+ for (let postavka of dobavnica.postavke) {
164
+ postavka.dodal = usersMap[postavka.dodal]?.username || postavka.dodal;
165
+ if (postavka.zaracunal)
166
+ postavka.zaracunal = usersMap[postavka.zaracunal]?.username;
167
+ }
168
+ popravek.postavke = dobavnica.postavke;
169
+ // console.dir(popravek, { depth: 10 }); break;
170
+ await mongo.upsert("dobavnice", { _id: dobavnica._id }, popravek);
171
+ }
172
+ return { dobavnice: dobavnice.length };
173
+ }
174
+ async function popraviTerapije(mongo, usersMap, letNazaj) {
175
+ let od = dayjs().add(-letNazaj, "years").startOf("year").toDate();
176
+ let terapije = await mongo.find("terapije", { datumTerapije: { $gt: od } });
177
+ for await (let terapija of terapije) {
178
+ let popravek = {
179
+ veterinar: usersMap[terapija.veterinar]?.username,
180
+ };
181
+ if (terapija.postavke?.length) {
182
+ for (let postavka of terapija.postavke) {
183
+ postavka.dodal = usersMap[postavka.dodal]?.username || postavka.dodal;
184
+ if (postavka.zaracunal)
185
+ postavka.zaracunal = usersMap[postavka.zaracunal]?.username;
186
+ }
187
+ popravek.postavke = terapija.postavke;
188
+ }
189
+ // console.dir(popravek, { depth: 10 }); break;
190
+ await mongo.upsert("terapije", { _id: terapija._id }, popravek);
191
+ }
192
+ return { terapije: terapije.length };
193
+ }
194
+ async function popraviOsemenitve(mongo, usersMap, letNazaj) {
195
+ let od = dayjs().add(-letNazaj, "years").startOf("year").toDate();
196
+ let osemenitve = await mongo.find("osemenitevGoveda", { datum: { $gt: od } });
197
+ for await (let osemenitev of osemenitve) {
198
+ let popravek = {
199
+ veterinar: usersMap[osemenitev.veterinar]?.username,
200
+ };
201
+ if (osemenitev.zdravila?.length) {
202
+ for (let postavka of osemenitev.zdravila) {
203
+ postavka.dodal = usersMap[postavka.dodal]?.username || postavka.dodal;
204
+ if (postavka.zaracunal)
205
+ postavka.zaracunal = usersMap[postavka.zaracunal]?.username;
206
+ }
207
+ popravek.zdravila = osemenitev.zdravila;
208
+ }
209
+ // console.dir(popravek, { depth: 10 }); break;
210
+ await mongo.upsert("osemenitevGoveda", { _id: osemenitev._id }, popravek);
211
+ }
212
+ return { osemenitve: osemenitve.length };
213
+ }
214
+ async function popraviOznacitve(mongo, usersMap, letNazaj) {
215
+ let od = dayjs().add(-letNazaj, "years").startOf("year").toDate();
216
+ let oznacitve = await mongo.find("oznacitevGoveda", { datum: { $gt: od } });
217
+ for await (let oznacitev of oznacitve) {
218
+ let popravek = {
219
+ sifra: usersMap[oznacitev.sifra]?.username,
220
+ veterinar: usersMap[oznacitev.veterinar]?.username,
221
+ volosVpisal: usersMap[oznacitev.volosVpisal]?.username || undefined,
222
+ };
223
+ // console.dir(popravek, { depth: 10 }); break;
224
+ await mongo.upsert("oznacitevGoveda", { _id: oznacitev._id }, popravek);
225
+ }
226
+ return { oznacitve: oznacitve.length };
227
+ }
228
+ async function popraviObiske(mongo, usersMap, customerMap, letNazaj) {
229
+ let od = dayjs().add(-letNazaj, "years").startOf("year").toDate();
230
+ let obiski = await mongo.find("obiski", { datum: { $gt: od } });
231
+ for await (let obisk of obiski) {
232
+ let popravek = {
233
+ veterinar: usersMap[obisk.veterinar]?.username,
234
+ sedajObdeluje: usersMap[obisk.sedajObdeluje || ""]?.username || "",
235
+ };
236
+ let rejec = customerMap[obisk.stranka_id];
237
+ if (rejec) {
238
+ obisk.imeRejca = rejec.firma || js(rejec.ime, rejec.priimek);
239
+ obisk.naslovRejca = jc(js(rejec.ulica, jn(rejec.hs, rejec.hd)), js(rejec.posta, rejec.naselje));
240
+ }
241
+ if (obisk.zaracunaj?.length) {
242
+ for (let postavka of obisk.zaracunaj) {
243
+ postavka.dodal = usersMap[postavka.dodal]?.username;
244
+ if (postavka.zaracunal)
245
+ postavka.zaracunal = usersMap[postavka.zaracunal]?.username;
246
+ }
247
+ popravek.zaracunaj = obisk.zaracunaj;
248
+ }
249
+ // console.dir(popravek, { depth: 10 }); break;
250
+ await mongo.upsert("obiski", { _id: obisk._id }, popravek);
251
+ }
252
+ return { obiski: obiski.length };
253
+ }
254
+ async function popraviObravnave(mongo, usersMap, letNazaj) {
255
+ let od = dayjs().add(-letNazaj, "years").startOf("year").toDate();
256
+ let obravnave = await mongo.find("obravnave", { datum: { $gt: od } });
257
+ for await (let obravnava of obravnave) {
258
+ let popravek = {
259
+ odprl: usersMap[obravnava.odprl]?.username || "",
260
+ veterinar: usersMap[obravnava.veterinar]?.imeIzdajatelja || "",
261
+ sedajObdeluje: usersMap[obravnava.sedajObdeluje || ""]?.username || "",
262
+ };
263
+ for (let korak of obravnava.koraki || []) {
264
+ korak.veterinar = usersMap[korak.veterinar]?.username || "";
265
+ if (korak.veterinarji)
266
+ korak.veterinarji = korak.veterinarji.map(v => usersMap[v]?.username || "").filter(a => !!a);
267
+ if (korak.postavke?.length) {
268
+ korak.postavke.forEach(postavka => {
269
+ postavka.dodal = usersMap[postavka.dodal]?.username || "";
270
+ if (postavka.zaracunal)
271
+ postavka.zaracunal = usersMap[postavka.zaracunal]?.username;
272
+ });
273
+ }
274
+ }
275
+ popravek.koraki = obravnava.koraki;
276
+ // console.dir(popravek, { depth: 10 }); break;
277
+ await mongo.upsert("obravnave", { _id: obravnava._id }, popravek);
278
+ }
279
+ return { obravnave: obravnave.length };
280
+ }
281
+ async function porocaj(f) {
282
+ let t0 = new Date().valueOf();
283
+ let res = await f();
284
+ let sec = Math.round((new Date().valueOf() - t0) / 1000);
285
+ let ret = { ...res, sec };
286
+ console.log(ret);
287
+ return ret;
288
+ }
289
+ export async function anonimizirajPodatke(mongo, letNazaj = 1) {
290
+ let usersMap = await createUsersMap(mongo);
291
+ let customerMap = await createCustomersMap(mongo);
292
+ console.log('ANONIMIZIRAJ PODATKE', mongo.getDb(), "za ", letNazaj, "let nazaj");
293
+ let porocilo = [
294
+ await porocaj(() => popraviObiske(mongo, usersMap, customerMap, letNazaj)),
295
+ await porocaj(() => popraviTerapije(mongo, usersMap, letNazaj)),
296
+ await porocaj(() => popraviOsemenitve(mongo, usersMap, letNazaj)),
297
+ await porocaj(() => popraviOznacitve(mongo, usersMap, letNazaj)),
298
+ await porocaj(() => popraviObravnave(mongo, usersMap, letNazaj)),
299
+ await porocaj(() => popraviRacune(mongo, usersMap, customerMap, letNazaj)),
300
+ await porocaj(() => popraviDobavnice(mongo, usersMap, letNazaj)),
301
+ await porocaj(() => popraviBlagovnice(mongo, usersMap, letNazaj)),
302
+ await porocaj(() => renameUsers(mongo, usersMap)),
303
+ await porocaj(() => renameCustomers(mongo, customerMap)),
304
+ ];
305
+ return porocilo;
306
+ }
307
+ // (async function () {
308
+ // const tenant = "cvenkel";
309
+ // const mongo = createMongo(tenant);
310
+ // let porocilo = await anonimizirajPodatke(mongo);
311
+ // console.log('porocilo',porocilo);
312
+ // process.exit(0)
313
+ // })()
314
+ //# sourceMappingURL=anonimizirajPodatke.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anonimizirajPodatke.js","sourceRoot":"","sources":["../src/anonimiz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
115
115
  await createIndexSafely(mongo, "dobavnice", "dobavnice_strankaId", { strankaId: -1 }),
116
116
  await createIndexSafely(mongo, "dobavnice", "dobavnice_datumDokumenta", { datumDokumenta: -1 }),
117
+ await createIndexSafely(mongo, "dobavnice", "dobavnice_datumDokumenta", { datumDokumenta: -1 }),
117
118
  ];
118
119
  let velikaPraksa = (await mongo.findOne("nastavitve", {}))?.velikaPraksa;
119
120
  if (velikaPraksa)
@@ -130,11 +131,11 @@ export async function ensureIndexes(db, server = undefined) {
130
131
  await createIndexSafely(mongo, "terapije", "terapije_stranka_id", { obisk_id: 1, }),
131
132
  await createIndexSafely(mongo, "oznacitevGoveda", "terapije_stranka_id", { stranka_id: 1, }),
132
133
  await createIndexSafely(mongo, "oznacitevGoveda", "terapije_datumOznacitve", { datumOznacitve: 1, }),
134
+ await createIndexSafely(mongo, "oznacitevGoveda", "terapije_obisk_id", { obisk_id: 1, }),
133
135
  await createIndexSafely(mongo, "stranke", "stranke_rejci", { rejciKoda: 1, }),
134
136
  await createIndexSafely(mongo, "zivali", "zivali_idAnimal", { idAnimal: 1, }),
135
- await createIndexSafely(mongo, "zivali", "zivali_gmid", { gmid: 1, }),
137
+ await createIndexSafely(mongo, "zivali", "zivali_GMID", { GMID: 1, }),
136
138
  ];
137
- // dropIndexSafely(mongo, "spremembaZaloge_artikel);
138
139
  await mongo.close();
139
140
  return ret;
140
141
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ensureIndexes.js","sourceRoot":"","sources":["../src/ensureIndexes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAG9B,KAAK,UAAU,iBAAiB,CAAC,KAAY,EAAE,UAAkB,EAAE,IAAY,EAAE,IAAY;IAIzF,IAAI,WAAW,GAAG,KAAK,CAAC,cAAc,EAAE,CAAC;IAEzC,IAAI;QACA,IAAI,CAAC,CAAC,MAAM,WAAW,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC3C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GAAG,CAAC;YAC5F,MAAM,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,EAAE,cAAc,EAAE,CAAC,GAAG,CAAC;YACpG,MAAM,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC;YACxF,MAAM,iBAAiB,CAAC,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,EAAE,SAAS,EAAE,CAAC,GAAG,CAAC;YAC7E,MAAM,iBAAiB,CAAC,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC;YAC7E,MAAM,iBAAiB,CAAC,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC;SACxE,CAAA;IAED,MAAM,KAAK,CAAC,KAAK,EAAE,CAAA;IAEnB,OAAO,GAAG,CAAC;AACf,CAAC;AAGD,uBAAuB;AACvB,yBAAyB;AACzB,+BAA+B;AAE/B,qBAAqB;AACrB,uGAAuG;AAGvG,kDAAkD;AAClD,2BAA2B;AAE3B,8BAA8B;AAC9B,4BAA4B;AAC5B,sBAAsB;AACtB,OAAO"}
package/dist/index.d.ts CHANGED
@@ -48,6 +48,7 @@ export { round } from "./round.js";
48
48
  export { VsotaDobavZaObdobje } from "./vsotaDobavZaObdobje.js";
49
49
  export { razknjiziDobavnico } from "./razknjiziDobavnico.js";
50
50
  export { porabaZaDobavnico } from "./porabaZaDobavnico.js";
51
+ export { anonimizirajPodatke, createMongoForAnonimizacija } from "./anonimizirajPodatke.js";
51
52
  export { Podpis } from "./types/podpis.js";
52
53
  export * from "./podatkiRejca.js";
53
54
  export * from "./besediloKarence.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAA;AACrD,O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L,YAAY,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtJ,YAAY,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAC3D,YAAY,EAAE,QAAQ,EAAE,4BAA4B,EAAC,MAAM,sBAAsB,CAAA;AACjF,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA"}
package/dist/index.js CHANGED
@@ -49,6 +49,7 @@ export { round } from "./round.js";
49
49
  export { VsotaDobavZaObdobje } from "./vsotaDobavZaObdobje.js";
50
50
  export { razknjiziDobavnico } from "./razknjiziDobavnico.js";
51
51
  export { porabaZaDobavnico } from "./porabaZaDobavnico.js";
52
+ export { anonimizirajPodatke, createMongoForAnonimizacija } from "./anonimizirajPodatke.js";
52
53
  export * from "./podatkiRejca.js";
53
54
  export * from "./besediloKarence.js";
54
55
  export * from "./IPV.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAA;AACrD,OAAO,eAAe,MAAM,wBAAwB,CAAA;AACpD,OAAO,aAAa,MAAM,sBAAsB,CAAA;AAChD,OAAO,WAAW,MAAM,kBAAkB,CAAA;AAC1C,OAAO,mBAAmB,MAAM,4BAA4B,CAAA;AAC5D,OAAO,YAAY,MAAM,4BAA4B,CAAA;AACrD,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAE7B,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAA;AACzD,OAAO,KAAK,cAAc,MA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,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAA;AAE3F,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,UAAU,CAAA;AACxB,cAAc,yBAAyB,CAAA;AACvC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AAEtC,MAAM,CAAC,MAAM,MAAM,GAAG;IAClB,IAAI,EAAE,aAAa;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG;IACnB,aAAa;IACb,WAAW;IACX,mBAAmB;IACnB,YAAY;CACf,CAAC;AACF,MAAM,CAAC,MAAM,OAAO,GAAG;IACnB,eAAe;CAClB,CAAC;AAyCF,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA"}
@@ -16,6 +16,7 @@ export interface KolicinskaPostavkaBlagovnice {
16
16
  enotaFaktor?: number;
17
17
  enotaZaloge?: string;
18
18
  _entered?: Date;
19
+ dodal?: Username;
19
20
  }
20
21
  export interface InveturnaPostavkaBlagovnice extends KolicinskaPostavkaBlagovnice {
21
22
  popisanaKolicina: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"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KAAK,EAAE,QAAQ,CAAC;IAChB,YAAY,EAAE,EAAE,CAAC;IACjB,WAAW,EAAE,EAAE,CAAC;IAChB,aAAa,EAAE,EAAE,CAAC;IAClB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,QAAQ,EAAE,4BAA4B,EAAE,CAAC;IACzC,UAAU,CAAC,EAAE,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,QAAS,SAAQ,gBAAgB;IAC9C,KAAK,EAAE,UAAU,CAAC;IAClB,YAAY,EAAE,EAAE,CAAC;IACjB,WAAW,EAAE,EAAE,CAAC;IAChB,aAAa,EAAE,EAAE,CAAC;IAClB,QAAQ,EAAE,4BAA4B,EAAE,CAAC;CAC5C;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AACzE,MAAM,MAAM,iBAAiB,GACzB,MAAM,GAEN;IAAE,KAAK,EAAE,sBAAsB,CAAA;CAAE,CAAA"}
@@ -87,11 +87,13 @@ export interface PostavkaRacuna {
87
87
  razknjizenaNaVrsta?: "dobavnica" | "poraba";
88
88
  karence?: KarencaVrste;
89
89
  karencaOd?: Date;
90
+ karencaZa?: string;
90
91
  razknjizenoNaObravnavi?: Date;
91
92
  IPV?: boolean;
92
93
  pmzKodaZdravila?: number;
93
94
  pmzZa?: string;
94
95
  recept?: boolean;
96
+ zaracunal?: Username;
95
97
  kodaPopusta?: string;
96
98
  }
97
99
  export interface Placilo {
@@ -1 +1 @@
1
- {"version":3,"file":"racun.d.ts","sourceRoot":"","sources":["../../src/types/racun.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAC,EAAE,EAAE,IAAI,EA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Y,CAAC,EAAE,MAAM,CAAC;IAEtB,SAAS,CAAC,EAAE,IAAI,GAAG,KAAK,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,GAAG,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEjB,IAAI,CAAC,EAAE;QACH,IAAI,EAAE,IAAI,CAAC;QACX,GAAG,EAAE,QAAQ,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;KACrB,CAAA;IAED,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB,gBAAgB,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;IAEjD,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAA;IAErC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAE5B,YAAY,EAAE,KAAK,CAAA;IAEnB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CAC1B"}
@@ -112,6 +112,7 @@ export interface Obisk extends DbEntity {
112
112
  stranka_id: string;
113
113
  gmid?: string;
114
114
  veterinar: Username;
115
+ sedajObdeluje: Username;
115
116
  datum: Date;
116
117
  imeRejca: string;
117
118
  naslovRejca: string;
@@ -143,11 +144,13 @@ export interface Obisk extends DbEntity {
143
144
  terapije?: Terapija[];
144
145
  oznacitve?: OznacitevGoveda[];
145
146
  };
147
+ dezurstvo?: boolean;
146
148
  }
147
149
  export interface TerenskiPoseg {
148
150
  namen: NamenTerena;
149
151
  }
150
152
  export interface Terapija extends TerenskiPoseg {
153
+ _id: string;
151
154
  namen: "terapija";
152
155
  datumTerapije: Date;
153
156
  diagnoza: string[];
@@ -162,6 +165,7 @@ export interface Terapija extends TerenskiPoseg {
162
165
  veterinar: string;
163
166
  IPV?: boolean;
164
167
  IPVOd?: Date;
168
+ dezurstvo?: boolean;
165
169
  }
166
170
  export type StatusOsemenitve = "potrjeno breja" | "potrjeno ni breja" | "presušitev" | "telitev" | "zvrg" | "zakol";
167
171
  export interface PodatkiReprodukcijeGoveda {
@@ -227,8 +231,10 @@ export interface OsemenitevGoveda extends PodatkiReprodukcijeGoveda, TerenskiPos
227
231
  veterinar: string;
228
232
  IPV?: boolean;
229
233
  IPVOd?: Date;
234
+ dezurstvo?: boolean;
230
235
  }
231
236
  export interface OznacitevGoveda extends TerenskiPoseg, PosameznaSemenitev {
237
+ _id: string;
232
238
  namen: "označitev goveda";
233
239
  goStevilkaOsemenitve: number;
234
240
  datumOsemenitve?: string;
@@ -247,7 +253,11 @@ export interface OznacitevGoveda extends TerenskiPoseg, PosameznaSemenitev {
247
253
  obisk_id: Id;
248
254
  opomba?: string;
249
255
  sifraOznacevalca: string;
256
+ veterinar: Username;
257
+ volosVpisal: Username;
258
+ sifra: Username;
250
259
  stranka_id: string;
260
+ dezurstvo?: boolean;
251
261
  }
252
262
  export interface Bik extends DbEntity {
253
263
  ime: string;