@kth/ladok-mellanlager-client 0.0.3 → 0.0.5
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.
- package/dist/__generated__/ladok-mellanlagring.d.ts +408 -129
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/types/endpoints/utbildningsinstans.d.ts +5 -1
- package/dist/types/endpoints/utbildningsinstansStruktur.d.ts +10 -0
- package/dist/types/endpoints/utbildningsinstansStruktur.js +3 -0
- package/dist/types/endpoints/utbildningsinstansStruktur.js.map +1 -0
- package/dist/types/endpoints/utbildningstillfalle.d.ts +5 -1
- package/dist/types/ladokMellanlagerApiClient.d.ts +4 -2
- package/package.json +4 -8
|
@@ -10,7 +10,10 @@ export interface paths {
|
|
|
10
10
|
path?: never;
|
|
11
11
|
cookie?: never;
|
|
12
12
|
};
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Hämta utbildningstillfälle via UID
|
|
15
|
+
* @description Returnerar komplett information om ett utbildningstillfälle inklusive relaterad utbildningsinstans
|
|
16
|
+
*/
|
|
14
17
|
get: operations["utbildningstillfalle"];
|
|
15
18
|
put?: never;
|
|
16
19
|
post?: never;
|
|
@@ -27,7 +30,12 @@ export interface paths {
|
|
|
27
30
|
path?: never;
|
|
28
31
|
cookie?: never;
|
|
29
32
|
};
|
|
30
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Hämta utbildningstillfälle struktur via UID
|
|
35
|
+
* @description Returnerar strukturinformation för ett utbildningstillfälle.
|
|
36
|
+
* Resultatet cachas för att optimera prestanda.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
31
39
|
get: operations["utbildningstillfalleStruktur"];
|
|
32
40
|
put?: never;
|
|
33
41
|
post?: never;
|
|
@@ -44,6 +52,10 @@ export interface paths {
|
|
|
44
52
|
path?: never;
|
|
45
53
|
cookie?: never;
|
|
46
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* Hämta utbildningsinstans via UID
|
|
57
|
+
* @description Returnerar komplett information om en utbildningsinstans
|
|
58
|
+
*/
|
|
47
59
|
get: operations["utbildningsinstans"];
|
|
48
60
|
put?: never;
|
|
49
61
|
post?: never;
|
|
@@ -60,7 +72,12 @@ export interface paths {
|
|
|
60
72
|
path?: never;
|
|
61
73
|
cookie?: never;
|
|
62
74
|
};
|
|
63
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* Hämta utbildningsinstans struktur via UID
|
|
77
|
+
* @description Returnerar strukturinformation för en utbildningsinstans.
|
|
78
|
+
* Resultatet cachas för att optimera prestanda.
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
64
81
|
get: operations["utbildningsinstansStruktur"];
|
|
65
82
|
put?: never;
|
|
66
83
|
post?: never;
|
|
@@ -70,6 +87,28 @@ export interface paths {
|
|
|
70
87
|
patch?: never;
|
|
71
88
|
trace?: never;
|
|
72
89
|
};
|
|
90
|
+
"/utbildningsinformation/struktur/lista/innehaller/{uid}": {
|
|
91
|
+
parameters: {
|
|
92
|
+
query?: never;
|
|
93
|
+
header?: never;
|
|
94
|
+
path?: never;
|
|
95
|
+
cookie?: never;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Hämta strukturlista som innehåller UID
|
|
99
|
+
* @description Returnerar strukturlista som innehåller angivet utbildningstillfälle eller utbildningsinstans.
|
|
100
|
+
* Söker i alla strukturer efter förekomster av det angivna UID:t.
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
get: operations["strukturListaInnehaller"];
|
|
104
|
+
put?: never;
|
|
105
|
+
post?: never;
|
|
106
|
+
delete?: never;
|
|
107
|
+
options?: never;
|
|
108
|
+
head?: never;
|
|
109
|
+
patch?: never;
|
|
110
|
+
trace?: never;
|
|
111
|
+
};
|
|
73
112
|
"/utbildningsinformation/litteraturlista/agare/{uid}": {
|
|
74
113
|
parameters: {
|
|
75
114
|
query?: never;
|
|
@@ -77,7 +116,10 @@ export interface paths {
|
|
|
77
116
|
path?: never;
|
|
78
117
|
cookie?: never;
|
|
79
118
|
};
|
|
80
|
-
/**
|
|
119
|
+
/**
|
|
120
|
+
* Hämta litteraturlista via UID
|
|
121
|
+
* @description Returnerar litteraturlista kopplad till angiven utbildning
|
|
122
|
+
*/
|
|
81
123
|
get: operations["litteraturlista"];
|
|
82
124
|
put?: never;
|
|
83
125
|
post?: never;
|
|
@@ -94,8 +136,17 @@ export interface paths {
|
|
|
94
136
|
path?: never;
|
|
95
137
|
cookie?: never;
|
|
96
138
|
};
|
|
97
|
-
/**
|
|
98
|
-
|
|
139
|
+
/**
|
|
140
|
+
* Sök utbildningsinstanser
|
|
141
|
+
* @description Söker efter utbildningsinstanser med följande filter:
|
|
142
|
+
* - Typ (kurs/program)
|
|
143
|
+
* - Organisation
|
|
144
|
+
* - Strikt kodmatchning (valfritt)
|
|
145
|
+
*
|
|
146
|
+
* Returnerar grundläggande information om matchande utbildningsinstanser.
|
|
147
|
+
*
|
|
148
|
+
*/
|
|
149
|
+
get: operations["sokUtbildningsinstans"];
|
|
99
150
|
put?: never;
|
|
100
151
|
post?: never;
|
|
101
152
|
delete?: never;
|
|
@@ -111,8 +162,17 @@ export interface paths {
|
|
|
111
162
|
path?: never;
|
|
112
163
|
cookie?: never;
|
|
113
164
|
};
|
|
114
|
-
/**
|
|
115
|
-
|
|
165
|
+
/**
|
|
166
|
+
* Sök programtillfällen
|
|
167
|
+
* @description Söker efter programtillfällen med följande filter:
|
|
168
|
+
* - Organisation
|
|
169
|
+
* - Startperiod
|
|
170
|
+
* - Status (avvecklad)
|
|
171
|
+
*
|
|
172
|
+
* Använd striktKod=true för exakt kodmatchning.
|
|
173
|
+
*
|
|
174
|
+
*/
|
|
175
|
+
get: operations["sokProgramtillfalle"];
|
|
116
176
|
put?: never;
|
|
117
177
|
post?: never;
|
|
118
178
|
delete?: never;
|
|
@@ -128,7 +188,19 @@ export interface paths {
|
|
|
128
188
|
path?: never;
|
|
129
189
|
cookie?: never;
|
|
130
190
|
};
|
|
131
|
-
/**
|
|
191
|
+
/**
|
|
192
|
+
* Sök utbildningsplaner
|
|
193
|
+
* @description Söker efter utbildningsplaner med följande filter:
|
|
194
|
+
* - UtbildningsUid
|
|
195
|
+
* - UtbildningsInstansUid
|
|
196
|
+
* - Omfattning
|
|
197
|
+
* - Utbildningstyp
|
|
198
|
+
* - Tillstånd
|
|
199
|
+
* - Översättningsstatus
|
|
200
|
+
*
|
|
201
|
+
* Använd striktKod=true för exakt kodmatchning.
|
|
202
|
+
*
|
|
203
|
+
*/
|
|
132
204
|
get: operations["sokPlan"];
|
|
133
205
|
put?: never;
|
|
134
206
|
post?: never;
|
|
@@ -145,8 +217,22 @@ export interface paths {
|
|
|
145
217
|
path?: never;
|
|
146
218
|
cookie?: never;
|
|
147
219
|
};
|
|
148
|
-
/**
|
|
149
|
-
|
|
220
|
+
/**
|
|
221
|
+
* Sök kurstillfällen
|
|
222
|
+
* @description Söker efter och returnerar kurstillfällen baserat på följande filter:
|
|
223
|
+
* - Utbildningsnivå
|
|
224
|
+
* - Språk
|
|
225
|
+
* - Organisation
|
|
226
|
+
* - Startperiod/terminer
|
|
227
|
+
* - Omfattning (HP)
|
|
228
|
+
* - Studieort
|
|
229
|
+
* - Ämnesgrupp/ämnesord
|
|
230
|
+
* - Undervisningsform/tid
|
|
231
|
+
*
|
|
232
|
+
* Använd striktKod=true för exakt kodmatchning.
|
|
233
|
+
*
|
|
234
|
+
*/
|
|
235
|
+
get: operations["sokKurstillfalle"];
|
|
150
236
|
put?: never;
|
|
151
237
|
post?: never;
|
|
152
238
|
delete?: never;
|
|
@@ -162,7 +248,19 @@ export interface paths {
|
|
|
162
248
|
path?: never;
|
|
163
249
|
cookie?: never;
|
|
164
250
|
};
|
|
165
|
-
/**
|
|
251
|
+
/**
|
|
252
|
+
* Hämta utbildningstillfälle via UID
|
|
253
|
+
* @description Returnerar en förenklad vy av ett utbildningstillfälle.
|
|
254
|
+
*
|
|
255
|
+
* Exempel på attributVarden:
|
|
256
|
+
* - status
|
|
257
|
+
* - utbildning.attribut.utbildningstillfalleskod
|
|
258
|
+
*
|
|
259
|
+
* Exempel på instansAttributVarden:
|
|
260
|
+
* - utbildning.attribut.kod
|
|
261
|
+
* - utbildning.attribut.svensk.benamning
|
|
262
|
+
*
|
|
263
|
+
*/
|
|
166
264
|
get: operations["utbildningstillfalle_1"];
|
|
167
265
|
put?: never;
|
|
168
266
|
post?: never;
|
|
@@ -179,7 +277,15 @@ export interface paths {
|
|
|
179
277
|
path?: never;
|
|
180
278
|
cookie?: never;
|
|
181
279
|
};
|
|
182
|
-
/**
|
|
280
|
+
/**
|
|
281
|
+
* Hämta utbildningsinstans via UID
|
|
282
|
+
* @description Returnerar en förenklad vy av en utbildningsinstans.
|
|
283
|
+
*
|
|
284
|
+
* Exempel på attributVarden:
|
|
285
|
+
* - utbildning.attribut.kod
|
|
286
|
+
* - utbildning.attribut.svensk.benamning
|
|
287
|
+
*
|
|
288
|
+
*/
|
|
183
289
|
get: operations["utbildningsinstans_1"];
|
|
184
290
|
put?: never;
|
|
185
291
|
post?: never;
|
|
@@ -196,8 +302,14 @@ export interface paths {
|
|
|
196
302
|
path?: never;
|
|
197
303
|
cookie?: never;
|
|
198
304
|
};
|
|
199
|
-
/**
|
|
200
|
-
|
|
305
|
+
/**
|
|
306
|
+
* Sök utbildningsinstanser
|
|
307
|
+
* @description Söker efter utbildningsinstanser (kurser eller program).
|
|
308
|
+
* Returnerar grundläggande information om matchande utbildningsinstanser.
|
|
309
|
+
* Kräver minst 2 tecken i söktermen om inte * används.
|
|
310
|
+
*
|
|
311
|
+
*/
|
|
312
|
+
get: operations["sokUtbildningsinstans_1"];
|
|
201
313
|
put?: never;
|
|
202
314
|
post?: never;
|
|
203
315
|
delete?: never;
|
|
@@ -213,8 +325,14 @@ export interface paths {
|
|
|
213
325
|
path?: never;
|
|
214
326
|
cookie?: never;
|
|
215
327
|
};
|
|
216
|
-
/**
|
|
217
|
-
|
|
328
|
+
/**
|
|
329
|
+
* Sök programtillfällen
|
|
330
|
+
* @description Söker efter programtillfällen baserat på angivna sökkriterier.
|
|
331
|
+
* Returnerar grundläggande information om matchande programtillfällen.
|
|
332
|
+
* Kräver minst 2 tecken i söktermen.
|
|
333
|
+
*
|
|
334
|
+
*/
|
|
335
|
+
get: operations["sokProgramtillfalle_1"];
|
|
218
336
|
put?: never;
|
|
219
337
|
post?: never;
|
|
220
338
|
delete?: never;
|
|
@@ -230,7 +348,13 @@ export interface paths {
|
|
|
230
348
|
path?: never;
|
|
231
349
|
cookie?: never;
|
|
232
350
|
};
|
|
233
|
-
/**
|
|
351
|
+
/**
|
|
352
|
+
* Sök utbildningsplaner
|
|
353
|
+
* @description Söker efter utbildningsplaner baserat på angivna sökkriterier.
|
|
354
|
+
* Returnerar grundläggande information om matchande utbildningsplaner.
|
|
355
|
+
* Kräver minst 2 tecken i söktermen.
|
|
356
|
+
*
|
|
357
|
+
*/
|
|
234
358
|
get: operations["sokPlan_1"];
|
|
235
359
|
put?: never;
|
|
236
360
|
post?: never;
|
|
@@ -247,8 +371,14 @@ export interface paths {
|
|
|
247
371
|
path?: never;
|
|
248
372
|
cookie?: never;
|
|
249
373
|
};
|
|
250
|
-
/**
|
|
251
|
-
|
|
374
|
+
/**
|
|
375
|
+
* Sök kurstillfällen
|
|
376
|
+
* @description Söker efter kurstillfällen baserat på angivna sökkriterier.
|
|
377
|
+
* Returnerar en förenklad vy med grundläggande information om matchande kurstillfällen.
|
|
378
|
+
* Kräver minst 2 tecken i söktermen om inte * används.
|
|
379
|
+
*
|
|
380
|
+
*/
|
|
381
|
+
get: operations["sokKurstillfalle_1"];
|
|
252
382
|
put?: never;
|
|
253
383
|
post?: never;
|
|
254
384
|
delete?: never;
|
|
@@ -264,7 +394,19 @@ export interface paths {
|
|
|
264
394
|
path?: never;
|
|
265
395
|
cookie?: never;
|
|
266
396
|
};
|
|
267
|
-
/**
|
|
397
|
+
/**
|
|
398
|
+
* Hämta utbildningsplan via UID
|
|
399
|
+
* @description Returnerar en förenklad vy av en utbildningsplan.
|
|
400
|
+
*
|
|
401
|
+
* Exempel på attributVarden:
|
|
402
|
+
* - utbildning.attribut.omfattning
|
|
403
|
+
* - utbildning.attribut.betygsskala
|
|
404
|
+
*
|
|
405
|
+
* Exempel på instansAttributVarden:
|
|
406
|
+
* - utbildning.attribut.kod
|
|
407
|
+
* - utbildning.attribut.svensk.benamning
|
|
408
|
+
*
|
|
409
|
+
*/
|
|
268
410
|
get: operations["planForUtbildning"];
|
|
269
411
|
put?: never;
|
|
270
412
|
post?: never;
|
|
@@ -281,7 +423,12 @@ export interface paths {
|
|
|
281
423
|
path?: never;
|
|
282
424
|
cookie?: never;
|
|
283
425
|
};
|
|
284
|
-
/**
|
|
426
|
+
/**
|
|
427
|
+
* Hämta utbildningsplan via UID
|
|
428
|
+
* @description Returnerar komplett information om en utbildningsplan.
|
|
429
|
+
* Resultatet cachas för att optimera prestanda.
|
|
430
|
+
*
|
|
431
|
+
*/
|
|
285
432
|
get: operations["planForUtbildning_1"];
|
|
286
433
|
put?: never;
|
|
287
434
|
post?: never;
|
|
@@ -298,7 +445,10 @@ export interface paths {
|
|
|
298
445
|
path?: never;
|
|
299
446
|
cookie?: never;
|
|
300
447
|
};
|
|
301
|
-
/**
|
|
448
|
+
/**
|
|
449
|
+
* Hämta utbildningsplan för utbildningsinstans via UID
|
|
450
|
+
* @description Returnerar utbildningsplan kopplad till angiven utbildningsinstans
|
|
451
|
+
*/
|
|
302
452
|
get: operations["planForUtbildningUtbildningsinstans"];
|
|
303
453
|
put?: never;
|
|
304
454
|
post?: never;
|
|
@@ -315,7 +465,7 @@ export interface paths {
|
|
|
315
465
|
path?: never;
|
|
316
466
|
cookie?: never;
|
|
317
467
|
};
|
|
318
|
-
/**
|
|
468
|
+
/** Hämta openapi definition */
|
|
319
469
|
get: operations["openapi"];
|
|
320
470
|
put?: never;
|
|
321
471
|
post?: never;
|
|
@@ -325,6 +475,26 @@ export interface paths {
|
|
|
325
475
|
patch?: never;
|
|
326
476
|
trace?: never;
|
|
327
477
|
};
|
|
478
|
+
"/kataloginformation/organisationskoppling": {
|
|
479
|
+
parameters: {
|
|
480
|
+
query?: never;
|
|
481
|
+
header?: never;
|
|
482
|
+
path?: never;
|
|
483
|
+
cookie?: never;
|
|
484
|
+
};
|
|
485
|
+
/**
|
|
486
|
+
* Hämta organisationsstruktur
|
|
487
|
+
* @description Returnerar den kompletta organisationshierarkin. Tillhandahåller information om relationer mellan enheter, inklusive över- och underordnade kopplingar.
|
|
488
|
+
*/
|
|
489
|
+
get: operations["organisationKoppling"];
|
|
490
|
+
put?: never;
|
|
491
|
+
post?: never;
|
|
492
|
+
delete?: never;
|
|
493
|
+
options?: never;
|
|
494
|
+
head?: never;
|
|
495
|
+
patch?: never;
|
|
496
|
+
trace?: never;
|
|
497
|
+
};
|
|
328
498
|
"/kataloginformation/organisation": {
|
|
329
499
|
parameters: {
|
|
330
500
|
query?: never;
|
|
@@ -332,7 +502,10 @@ export interface paths {
|
|
|
332
502
|
path?: never;
|
|
333
503
|
cookie?: never;
|
|
334
504
|
};
|
|
335
|
-
/**
|
|
505
|
+
/**
|
|
506
|
+
* Hämta organisationslista
|
|
507
|
+
* @description Returnerar en fullständig lista över organisationsenheter. Innehåller enhetsbenämningar på svenska och engelska, giltighetsperioder, organisationskoder samt enhetstyper.
|
|
508
|
+
*/
|
|
336
509
|
get: operations["organisation"];
|
|
337
510
|
put?: never;
|
|
338
511
|
post?: never;
|
|
@@ -349,7 +522,10 @@ export interface paths {
|
|
|
349
522
|
path?: never;
|
|
350
523
|
cookie?: never;
|
|
351
524
|
};
|
|
352
|
-
/**
|
|
525
|
+
/**
|
|
526
|
+
* Hämta utbildningstyper
|
|
527
|
+
* @description Returnerar samtliga utbildningstyper med fullständiga definitioner. Innehåller typkoder, benämningar, nivåer, giltighetsperioder och tillhörande regelverk. Inkluderar även information om kurstillfällen och hierarkiska relationer.
|
|
528
|
+
*/
|
|
353
529
|
get: operations["utbildningstyp"];
|
|
354
530
|
put?: never;
|
|
355
531
|
post?: never;
|
|
@@ -366,7 +542,10 @@ export interface paths {
|
|
|
366
542
|
path?: never;
|
|
367
543
|
cookie?: never;
|
|
368
544
|
};
|
|
369
|
-
/**
|
|
545
|
+
/**
|
|
546
|
+
* Hämta betygsskalor
|
|
547
|
+
* @description Returnerar samtliga betygsskalor med tillhörande betygsgrader. Varje skala innehåller betygsdefinitioner på svenska och engelska, synlighetsstatus samt information om vilka betyg som kan användas som slutbetyg.
|
|
548
|
+
*/
|
|
370
549
|
get: operations["betygsskala"];
|
|
371
550
|
put?: never;
|
|
372
551
|
post?: never;
|
|
@@ -383,7 +562,10 @@ export interface paths {
|
|
|
383
562
|
path?: never;
|
|
384
563
|
cookie?: never;
|
|
385
564
|
};
|
|
386
|
-
/**
|
|
565
|
+
/**
|
|
566
|
+
* Hämta ämnesgrupper
|
|
567
|
+
* @description Returnerar samtliga ämnesgrupper med tillhörande metadata. Innehåller ämnesgruppskoder, benämningar på svenska och engelska, giltighetsperioder samt lärosätestillhörighet.
|
|
568
|
+
*/
|
|
387
569
|
get: operations["amnesgrupp"];
|
|
388
570
|
put?: never;
|
|
389
571
|
post?: never;
|
|
@@ -412,14 +594,14 @@ export interface operations {
|
|
|
412
594
|
query?: never;
|
|
413
595
|
header?: never;
|
|
414
596
|
path: {
|
|
415
|
-
/** @description UID för utbildningstillfalle
|
|
597
|
+
/** @description UID för utbildningstillfalle att hämta */
|
|
416
598
|
uid: string;
|
|
417
599
|
};
|
|
418
600
|
cookie?: never;
|
|
419
601
|
};
|
|
420
602
|
requestBody?: never;
|
|
421
603
|
responses: {
|
|
422
|
-
/** @description
|
|
604
|
+
/** @description Utbildningstillfället hittades */
|
|
423
605
|
200: {
|
|
424
606
|
headers: {
|
|
425
607
|
[name: string]: unknown;
|
|
@@ -428,7 +610,7 @@ export interface operations {
|
|
|
428
610
|
"*/*": components["schemas"]["JsonNode"];
|
|
429
611
|
};
|
|
430
612
|
};
|
|
431
|
-
/** @description
|
|
613
|
+
/** @description Utbildningstillfället hittades inte */
|
|
432
614
|
404: {
|
|
433
615
|
headers: {
|
|
434
616
|
[name: string]: unknown;
|
|
@@ -451,7 +633,7 @@ export interface operations {
|
|
|
451
633
|
};
|
|
452
634
|
requestBody?: never;
|
|
453
635
|
responses: {
|
|
454
|
-
/** @description
|
|
636
|
+
/** @description Strukturen hittades */
|
|
455
637
|
200: {
|
|
456
638
|
headers: {
|
|
457
639
|
[name: string]: unknown;
|
|
@@ -460,7 +642,7 @@ export interface operations {
|
|
|
460
642
|
"*/*": components["schemas"]["JsonNode"];
|
|
461
643
|
};
|
|
462
644
|
};
|
|
463
|
-
/** @description
|
|
645
|
+
/** @description Strukturen hittades inte */
|
|
464
646
|
404: {
|
|
465
647
|
headers: {
|
|
466
648
|
[name: string]: unknown;
|
|
@@ -476,14 +658,14 @@ export interface operations {
|
|
|
476
658
|
query?: never;
|
|
477
659
|
header?: never;
|
|
478
660
|
path: {
|
|
479
|
-
/** @description UID för utbildningsinstans
|
|
661
|
+
/** @description UID för utbildningsinstans att hämta */
|
|
480
662
|
uid: string;
|
|
481
663
|
};
|
|
482
664
|
cookie?: never;
|
|
483
665
|
};
|
|
484
666
|
requestBody?: never;
|
|
485
667
|
responses: {
|
|
486
|
-
/** @description
|
|
668
|
+
/** @description Utbildningsinstansen hittades */
|
|
487
669
|
200: {
|
|
488
670
|
headers: {
|
|
489
671
|
[name: string]: unknown;
|
|
@@ -492,6 +674,15 @@ export interface operations {
|
|
|
492
674
|
"*/*": components["schemas"]["JsonNode"];
|
|
493
675
|
};
|
|
494
676
|
};
|
|
677
|
+
/** @description Utbildningsinstansen hittades inte */
|
|
678
|
+
404: {
|
|
679
|
+
headers: {
|
|
680
|
+
[name: string]: unknown;
|
|
681
|
+
};
|
|
682
|
+
content: {
|
|
683
|
+
"*/*": components["schemas"]["JsonNode"];
|
|
684
|
+
};
|
|
685
|
+
};
|
|
495
686
|
};
|
|
496
687
|
};
|
|
497
688
|
utbildningsinstansStruktur: {
|
|
@@ -506,7 +697,39 @@ export interface operations {
|
|
|
506
697
|
};
|
|
507
698
|
requestBody?: never;
|
|
508
699
|
responses: {
|
|
509
|
-
/** @description
|
|
700
|
+
/** @description Strukturen hittades */
|
|
701
|
+
200: {
|
|
702
|
+
headers: {
|
|
703
|
+
[name: string]: unknown;
|
|
704
|
+
};
|
|
705
|
+
content: {
|
|
706
|
+
"*/*": components["schemas"]["JsonNode"];
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
/** @description Strukturen hittades inte */
|
|
710
|
+
404: {
|
|
711
|
+
headers: {
|
|
712
|
+
[name: string]: unknown;
|
|
713
|
+
};
|
|
714
|
+
content: {
|
|
715
|
+
"*/*": components["schemas"]["JsonNode"];
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
strukturListaInnehaller: {
|
|
721
|
+
parameters: {
|
|
722
|
+
query?: never;
|
|
723
|
+
header?: never;
|
|
724
|
+
path: {
|
|
725
|
+
/** @description UID för utbildningstillfälle eller instans */
|
|
726
|
+
uid: string;
|
|
727
|
+
};
|
|
728
|
+
cookie?: never;
|
|
729
|
+
};
|
|
730
|
+
requestBody?: never;
|
|
731
|
+
responses: {
|
|
732
|
+
/** @description Strukturlistan hittades */
|
|
510
733
|
200: {
|
|
511
734
|
headers: {
|
|
512
735
|
[name: string]: unknown;
|
|
@@ -515,7 +738,7 @@ export interface operations {
|
|
|
515
738
|
"*/*": components["schemas"]["JsonNode"];
|
|
516
739
|
};
|
|
517
740
|
};
|
|
518
|
-
/** @description
|
|
741
|
+
/** @description Strukturlistan hittades inte */
|
|
519
742
|
404: {
|
|
520
743
|
headers: {
|
|
521
744
|
[name: string]: unknown;
|
|
@@ -538,7 +761,7 @@ export interface operations {
|
|
|
538
761
|
};
|
|
539
762
|
requestBody?: never;
|
|
540
763
|
responses: {
|
|
541
|
-
/** @description
|
|
764
|
+
/** @description Litteraturlistan hittades */
|
|
542
765
|
200: {
|
|
543
766
|
headers: {
|
|
544
767
|
[name: string]: unknown;
|
|
@@ -547,7 +770,7 @@ export interface operations {
|
|
|
547
770
|
"*/*": components["schemas"]["JsonNode"];
|
|
548
771
|
};
|
|
549
772
|
};
|
|
550
|
-
/** @description
|
|
773
|
+
/** @description Litteraturlistan hittades inte */
|
|
551
774
|
404: {
|
|
552
775
|
headers: {
|
|
553
776
|
[name: string]: unknown;
|
|
@@ -558,14 +781,14 @@ export interface operations {
|
|
|
558
781
|
};
|
|
559
782
|
};
|
|
560
783
|
};
|
|
561
|
-
|
|
784
|
+
sokUtbildningsinstans: {
|
|
562
785
|
parameters: {
|
|
563
786
|
query: {
|
|
564
787
|
/** @description Ange ett sökord som ska matcha kursens namn eller kod. Det krävs minst 2 tecken. (Man kan också se allt med *). */
|
|
565
788
|
kodEllerBenamning: string;
|
|
566
789
|
/** @description Gör strikt jämförelse med kod (true/false) */
|
|
567
790
|
striktKod?: string;
|
|
568
|
-
/** @description Organisatorisk tillhörighet. (
|
|
791
|
+
/** @description Organisatorisk tillhörighet. (kommaseparerad lista av koder) */
|
|
569
792
|
organisation?: string;
|
|
570
793
|
/** @description Typ av utbildning. (kurs/program) */
|
|
571
794
|
typ?: string;
|
|
@@ -576,7 +799,7 @@ export interface operations {
|
|
|
576
799
|
};
|
|
577
800
|
requestBody?: never;
|
|
578
801
|
responses: {
|
|
579
|
-
/** @description
|
|
802
|
+
/** @description Lista med matchande utbildningsinstanser */
|
|
580
803
|
200: {
|
|
581
804
|
headers: {
|
|
582
805
|
[name: string]: unknown;
|
|
@@ -585,7 +808,7 @@ export interface operations {
|
|
|
585
808
|
"*/*": string;
|
|
586
809
|
};
|
|
587
810
|
};
|
|
588
|
-
/** @description
|
|
811
|
+
/** @description Inga träffar hittades */
|
|
589
812
|
404: {
|
|
590
813
|
headers: {
|
|
591
814
|
[name: string]: unknown;
|
|
@@ -594,7 +817,7 @@ export interface operations {
|
|
|
594
817
|
"*/*": string;
|
|
595
818
|
};
|
|
596
819
|
};
|
|
597
|
-
/** @description
|
|
820
|
+
/** @description Internt serverfel */
|
|
598
821
|
500: {
|
|
599
822
|
headers: {
|
|
600
823
|
[name: string]: unknown;
|
|
@@ -605,7 +828,7 @@ export interface operations {
|
|
|
605
828
|
};
|
|
606
829
|
};
|
|
607
830
|
};
|
|
608
|
-
|
|
831
|
+
sokProgramtillfalle: {
|
|
609
832
|
parameters: {
|
|
610
833
|
query: {
|
|
611
834
|
/** @description Ange ett sökord som ska matcha kursens namn eller kod. Det krävs minst 2 tecken. */
|
|
@@ -614,9 +837,9 @@ export interface operations {
|
|
|
614
837
|
striktKod?: string;
|
|
615
838
|
/** @description Är det avvecklad? */
|
|
616
839
|
avvecklad?: string;
|
|
617
|
-
/** @description Organisatorisk tillhörighet */
|
|
840
|
+
/** @description Organisatorisk tillhörighet. (kommaseparerad lista av koder) */
|
|
618
841
|
organisation?: string;
|
|
619
|
-
/** @description Startperiod */
|
|
842
|
+
/** @description Startperiod. (kommaseparerad lista av koder) */
|
|
620
843
|
startPeriod?: string;
|
|
621
844
|
};
|
|
622
845
|
header?: never;
|
|
@@ -625,7 +848,7 @@ export interface operations {
|
|
|
625
848
|
};
|
|
626
849
|
requestBody?: never;
|
|
627
850
|
responses: {
|
|
628
|
-
/** @description
|
|
851
|
+
/** @description Lista med matchande programtillfällen */
|
|
629
852
|
200: {
|
|
630
853
|
headers: {
|
|
631
854
|
[name: string]: unknown;
|
|
@@ -634,7 +857,7 @@ export interface operations {
|
|
|
634
857
|
"*/*": string;
|
|
635
858
|
};
|
|
636
859
|
};
|
|
637
|
-
/** @description
|
|
860
|
+
/** @description Inga träffar hittades */
|
|
638
861
|
404: {
|
|
639
862
|
headers: {
|
|
640
863
|
[name: string]: unknown;
|
|
@@ -643,7 +866,7 @@ export interface operations {
|
|
|
643
866
|
"*/*": string;
|
|
644
867
|
};
|
|
645
868
|
};
|
|
646
|
-
/** @description
|
|
869
|
+
/** @description Internt serverfel */
|
|
647
870
|
500: {
|
|
648
871
|
headers: {
|
|
649
872
|
[name: string]: unknown;
|
|
@@ -665,11 +888,11 @@ export interface operations {
|
|
|
665
888
|
utbildningsuid?: string;
|
|
666
889
|
/** @description UtbildningsInstansUid */
|
|
667
890
|
utbildningsInstansUid?: string;
|
|
668
|
-
/** @description Omfattning (
|
|
891
|
+
/** @description Omfattning. (kommaseparerad lista av koder) */
|
|
669
892
|
omfattning?: string;
|
|
670
|
-
/** @description Utbildningstyp (
|
|
893
|
+
/** @description Utbildningstyp. (kommaseparerad lista av koder) */
|
|
671
894
|
utbildningstyp?: string;
|
|
672
|
-
/** @description Tillstand (
|
|
895
|
+
/** @description Tillstand. (kommaseparerad lista av koder) */
|
|
673
896
|
tillstand?: string;
|
|
674
897
|
/** @description Oversättning publicerad (true/false) */
|
|
675
898
|
oversattningPublicerad?: string;
|
|
@@ -680,7 +903,7 @@ export interface operations {
|
|
|
680
903
|
};
|
|
681
904
|
requestBody?: never;
|
|
682
905
|
responses: {
|
|
683
|
-
/** @description
|
|
906
|
+
/** @description Lista med matchande utbildningsplaner */
|
|
684
907
|
200: {
|
|
685
908
|
headers: {
|
|
686
909
|
[name: string]: unknown;
|
|
@@ -689,7 +912,7 @@ export interface operations {
|
|
|
689
912
|
"*/*": string;
|
|
690
913
|
};
|
|
691
914
|
};
|
|
692
|
-
/** @description
|
|
915
|
+
/** @description Inga träffar hittades */
|
|
693
916
|
404: {
|
|
694
917
|
headers: {
|
|
695
918
|
[name: string]: unknown;
|
|
@@ -698,7 +921,7 @@ export interface operations {
|
|
|
698
921
|
"*/*": string;
|
|
699
922
|
};
|
|
700
923
|
};
|
|
701
|
-
/** @description
|
|
924
|
+
/** @description Internt serverfel */
|
|
702
925
|
500: {
|
|
703
926
|
headers: {
|
|
704
927
|
[name: string]: unknown;
|
|
@@ -709,7 +932,7 @@ export interface operations {
|
|
|
709
932
|
};
|
|
710
933
|
};
|
|
711
934
|
};
|
|
712
|
-
|
|
935
|
+
sokKurstillfalle: {
|
|
713
936
|
parameters: {
|
|
714
937
|
query: {
|
|
715
938
|
/** @description Ange ett sökord som ska matcha kursens namn eller kod. Det krävs minst 2 tecken. (Man kan också se allt med *). */
|
|
@@ -718,29 +941,29 @@ export interface operations {
|
|
|
718
941
|
striktKod?: string;
|
|
719
942
|
/** @description Är det avvecklad? (true/false) */
|
|
720
943
|
avvecklad?: string;
|
|
721
|
-
/** @description Utbildningsnivå. (
|
|
944
|
+
/** @description Utbildningsnivå. (kommaseparerad lista av koder) */
|
|
722
945
|
utbildningsniva?: string;
|
|
723
|
-
/** @description Språk. (
|
|
946
|
+
/** @description Språk. (kommaseparerad lista av koder) */
|
|
724
947
|
sprak?: string;
|
|
725
|
-
/** @description Organisatorisk tillhörighet. (
|
|
948
|
+
/** @description Organisatorisk tillhörighet. (kommaseparerad lista av koder) */
|
|
726
949
|
organisation?: string;
|
|
727
|
-
/** @description Startperiod. (
|
|
950
|
+
/** @description Startperiod. (kommaseparerad lista av koder). */
|
|
728
951
|
startPeriod?: string;
|
|
729
952
|
/** @description Terminkod start. (ex: VT2023). Ger alla tillfällen från den termin och senare */
|
|
730
|
-
|
|
731
|
-
/** @description Terminkod slut. (ex: HT2025). Kräver en
|
|
732
|
-
|
|
733
|
-
/** @description Antal HP. (
|
|
953
|
+
terminkodStart?: string;
|
|
954
|
+
/** @description Terminkod slut. (ex: HT2025). Kräver en Terminkod start. Ger alla tillfällen upp till och med den terminen. */
|
|
955
|
+
terminkodSlut?: string;
|
|
956
|
+
/** @description Antal HP. (kommaseparerad lista av koder) */
|
|
734
957
|
antalHP?: string;
|
|
735
|
-
/** @description Studieort. (
|
|
958
|
+
/** @description Studieort. (kommaseparerad lista av koder) */
|
|
736
959
|
studieOrt?: string;
|
|
737
|
-
/** @description Ämnesgrupp. (
|
|
960
|
+
/** @description Ämnesgrupp. (kommaseparerad lista av koder) */
|
|
738
961
|
amnesgrupp?: string;
|
|
739
|
-
/** @description Ämnesord. (
|
|
962
|
+
/** @description Ämnesord. (kommaseparerad lista av koder) */
|
|
740
963
|
amnesord?: string;
|
|
741
|
-
/** @description Undervisningstid. (
|
|
964
|
+
/** @description Undervisningstid. (kommaseparerad lista av koder) */
|
|
742
965
|
undervisningstid?: string;
|
|
743
|
-
/** @description Undervisningsform. (
|
|
966
|
+
/** @description Undervisningsform. (kommaseparerad lista av koder) */
|
|
744
967
|
undervisningsform?: string;
|
|
745
968
|
/** @description Pågåendedatum. (datum: YYYY-MM-DD) */
|
|
746
969
|
pagaendeDatum?: string;
|
|
@@ -751,7 +974,7 @@ export interface operations {
|
|
|
751
974
|
};
|
|
752
975
|
requestBody?: never;
|
|
753
976
|
responses: {
|
|
754
|
-
/** @description
|
|
977
|
+
/** @description Lista med matchande kurstillfällen */
|
|
755
978
|
200: {
|
|
756
979
|
headers: {
|
|
757
980
|
[name: string]: unknown;
|
|
@@ -760,7 +983,7 @@ export interface operations {
|
|
|
760
983
|
"*/*": string;
|
|
761
984
|
};
|
|
762
985
|
};
|
|
763
|
-
/** @description
|
|
986
|
+
/** @description Inga träffar hittades */
|
|
764
987
|
404: {
|
|
765
988
|
headers: {
|
|
766
989
|
[name: string]: unknown;
|
|
@@ -769,7 +992,7 @@ export interface operations {
|
|
|
769
992
|
"*/*": string;
|
|
770
993
|
};
|
|
771
994
|
};
|
|
772
|
-
/** @description
|
|
995
|
+
/** @description Internt serverfel */
|
|
773
996
|
500: {
|
|
774
997
|
headers: {
|
|
775
998
|
[name: string]: unknown;
|
|
@@ -797,7 +1020,7 @@ export interface operations {
|
|
|
797
1020
|
};
|
|
798
1021
|
requestBody?: never;
|
|
799
1022
|
responses: {
|
|
800
|
-
/** @description
|
|
1023
|
+
/** @description Utbildningstillfället hittades */
|
|
801
1024
|
200: {
|
|
802
1025
|
headers: {
|
|
803
1026
|
[name: string]: unknown;
|
|
@@ -806,7 +1029,7 @@ export interface operations {
|
|
|
806
1029
|
"*/*": string;
|
|
807
1030
|
};
|
|
808
1031
|
};
|
|
809
|
-
/** @description
|
|
1032
|
+
/** @description Utbildningstillfället hittades inte */
|
|
810
1033
|
404: {
|
|
811
1034
|
headers: {
|
|
812
1035
|
[name: string]: unknown;
|
|
@@ -815,6 +1038,15 @@ export interface operations {
|
|
|
815
1038
|
"*/*": string;
|
|
816
1039
|
};
|
|
817
1040
|
};
|
|
1041
|
+
/** @description Internt serverfel */
|
|
1042
|
+
500: {
|
|
1043
|
+
headers: {
|
|
1044
|
+
[name: string]: unknown;
|
|
1045
|
+
};
|
|
1046
|
+
content: {
|
|
1047
|
+
"*/*": string;
|
|
1048
|
+
};
|
|
1049
|
+
};
|
|
818
1050
|
};
|
|
819
1051
|
};
|
|
820
1052
|
utbildningsinstans_1: {
|
|
@@ -832,7 +1064,7 @@ export interface operations {
|
|
|
832
1064
|
};
|
|
833
1065
|
requestBody?: never;
|
|
834
1066
|
responses: {
|
|
835
|
-
/** @description
|
|
1067
|
+
/** @description Utbildningsinstansen hittades */
|
|
836
1068
|
200: {
|
|
837
1069
|
headers: {
|
|
838
1070
|
[name: string]: unknown;
|
|
@@ -841,7 +1073,7 @@ export interface operations {
|
|
|
841
1073
|
"*/*": string;
|
|
842
1074
|
};
|
|
843
1075
|
};
|
|
844
|
-
/** @description
|
|
1076
|
+
/** @description Utbildningsinstansen hittades inte */
|
|
845
1077
|
404: {
|
|
846
1078
|
headers: {
|
|
847
1079
|
[name: string]: unknown;
|
|
@@ -850,16 +1082,25 @@ export interface operations {
|
|
|
850
1082
|
"*/*": string;
|
|
851
1083
|
};
|
|
852
1084
|
};
|
|
1085
|
+
/** @description Internt serverfel */
|
|
1086
|
+
500: {
|
|
1087
|
+
headers: {
|
|
1088
|
+
[name: string]: unknown;
|
|
1089
|
+
};
|
|
1090
|
+
content: {
|
|
1091
|
+
"*/*": string;
|
|
1092
|
+
};
|
|
1093
|
+
};
|
|
853
1094
|
};
|
|
854
1095
|
};
|
|
855
|
-
|
|
1096
|
+
sokUtbildningsinstans_1: {
|
|
856
1097
|
parameters: {
|
|
857
1098
|
query: {
|
|
858
1099
|
/** @description Ange ett sökord som ska matcha kursens namn eller kod. Det krävs minst 2 tecken. (Man kan också se allt med *). */
|
|
859
1100
|
kodEllerBenamning: string;
|
|
860
1101
|
/** @description Gör strikt jämförelse med kod (true/false) */
|
|
861
1102
|
striktKod?: string;
|
|
862
|
-
/** @description Organisatorisk tillhörighet. (
|
|
1103
|
+
/** @description Organisatorisk tillhörighet. (kommaseparerad lista av koder) */
|
|
863
1104
|
organisation?: string;
|
|
864
1105
|
/** @description Typ av utbildning. (kurs/program) */
|
|
865
1106
|
typ?: string;
|
|
@@ -872,7 +1113,7 @@ export interface operations {
|
|
|
872
1113
|
};
|
|
873
1114
|
requestBody?: never;
|
|
874
1115
|
responses: {
|
|
875
|
-
/** @description
|
|
1116
|
+
/** @description Lista med matchande utbildningsinstanser */
|
|
876
1117
|
200: {
|
|
877
1118
|
headers: {
|
|
878
1119
|
[name: string]: unknown;
|
|
@@ -881,7 +1122,7 @@ export interface operations {
|
|
|
881
1122
|
"*/*": string;
|
|
882
1123
|
};
|
|
883
1124
|
};
|
|
884
|
-
/** @description
|
|
1125
|
+
/** @description Inga träffar hittades */
|
|
885
1126
|
404: {
|
|
886
1127
|
headers: {
|
|
887
1128
|
[name: string]: unknown;
|
|
@@ -890,7 +1131,7 @@ export interface operations {
|
|
|
890
1131
|
"*/*": string;
|
|
891
1132
|
};
|
|
892
1133
|
};
|
|
893
|
-
/** @description
|
|
1134
|
+
/** @description Internt serverfel */
|
|
894
1135
|
500: {
|
|
895
1136
|
headers: {
|
|
896
1137
|
[name: string]: unknown;
|
|
@@ -901,7 +1142,7 @@ export interface operations {
|
|
|
901
1142
|
};
|
|
902
1143
|
};
|
|
903
1144
|
};
|
|
904
|
-
|
|
1145
|
+
sokProgramtillfalle_1: {
|
|
905
1146
|
parameters: {
|
|
906
1147
|
query: {
|
|
907
1148
|
/** @description Ange ett sökord som ska matcha kursens namn eller kod. Det krävs minst 2 tecken. */
|
|
@@ -910,9 +1151,9 @@ export interface operations {
|
|
|
910
1151
|
striktKod?: string;
|
|
911
1152
|
/** @description Är det avvecklad? */
|
|
912
1153
|
avvecklad?: string;
|
|
913
|
-
/** @description Organisatorisk tillhörighet */
|
|
1154
|
+
/** @description Organisatorisk tillhörighet. (kommaseparerad lista av attributer) */
|
|
914
1155
|
organisation?: string;
|
|
915
|
-
/** @description Startperiod */
|
|
1156
|
+
/** @description Startperiod. (kommaseparerad lista av attributer) */
|
|
916
1157
|
startPeriod?: string;
|
|
917
1158
|
/** @description Attributvärden. (kommaseparerad lista av attributer) */
|
|
918
1159
|
attributVarden?: string;
|
|
@@ -925,7 +1166,7 @@ export interface operations {
|
|
|
925
1166
|
};
|
|
926
1167
|
requestBody?: never;
|
|
927
1168
|
responses: {
|
|
928
|
-
/** @description
|
|
1169
|
+
/** @description Lista med matchande programtillfällen */
|
|
929
1170
|
200: {
|
|
930
1171
|
headers: {
|
|
931
1172
|
[name: string]: unknown;
|
|
@@ -934,7 +1175,7 @@ export interface operations {
|
|
|
934
1175
|
"*/*": string;
|
|
935
1176
|
};
|
|
936
1177
|
};
|
|
937
|
-
/** @description
|
|
1178
|
+
/** @description Inga träffar hittades */
|
|
938
1179
|
404: {
|
|
939
1180
|
headers: {
|
|
940
1181
|
[name: string]: unknown;
|
|
@@ -943,7 +1184,7 @@ export interface operations {
|
|
|
943
1184
|
"*/*": string;
|
|
944
1185
|
};
|
|
945
1186
|
};
|
|
946
|
-
/** @description
|
|
1187
|
+
/** @description Internt serverfel */
|
|
947
1188
|
500: {
|
|
948
1189
|
headers: {
|
|
949
1190
|
[name: string]: unknown;
|
|
@@ -965,11 +1206,11 @@ export interface operations {
|
|
|
965
1206
|
utbildningsuid?: string;
|
|
966
1207
|
/** @description UtbildningsInstansUid */
|
|
967
1208
|
utbildningsInstansUid?: string;
|
|
968
|
-
/** @description Omfattning (
|
|
1209
|
+
/** @description Omfattning (kommaseparerad lista av koder) */
|
|
969
1210
|
omfattning?: string;
|
|
970
|
-
/** @description Utbildningstyp (
|
|
1211
|
+
/** @description Utbildningstyp (kommaseparerad lista av koder) */
|
|
971
1212
|
utbildningstyp?: string;
|
|
972
|
-
/** @description Tillstand (
|
|
1213
|
+
/** @description Tillstand (kommaseparerad lista av koder) */
|
|
973
1214
|
tillstand?: string;
|
|
974
1215
|
/** @description Oversättning publicerad (true/false) */
|
|
975
1216
|
oversattningPublicerad?: string;
|
|
@@ -984,7 +1225,7 @@ export interface operations {
|
|
|
984
1225
|
};
|
|
985
1226
|
requestBody?: never;
|
|
986
1227
|
responses: {
|
|
987
|
-
/** @description
|
|
1228
|
+
/** @description Lista med matchande utbildningsplaner */
|
|
988
1229
|
200: {
|
|
989
1230
|
headers: {
|
|
990
1231
|
[name: string]: unknown;
|
|
@@ -993,7 +1234,7 @@ export interface operations {
|
|
|
993
1234
|
"*/*": string;
|
|
994
1235
|
};
|
|
995
1236
|
};
|
|
996
|
-
/** @description
|
|
1237
|
+
/** @description Inga träffar hittades */
|
|
997
1238
|
404: {
|
|
998
1239
|
headers: {
|
|
999
1240
|
[name: string]: unknown;
|
|
@@ -1002,7 +1243,7 @@ export interface operations {
|
|
|
1002
1243
|
"*/*": string;
|
|
1003
1244
|
};
|
|
1004
1245
|
};
|
|
1005
|
-
/** @description
|
|
1246
|
+
/** @description Internt serverfel */
|
|
1006
1247
|
500: {
|
|
1007
1248
|
headers: {
|
|
1008
1249
|
[name: string]: unknown;
|
|
@@ -1013,7 +1254,7 @@ export interface operations {
|
|
|
1013
1254
|
};
|
|
1014
1255
|
};
|
|
1015
1256
|
};
|
|
1016
|
-
|
|
1257
|
+
sokKurstillfalle_1: {
|
|
1017
1258
|
parameters: {
|
|
1018
1259
|
query: {
|
|
1019
1260
|
/** @description Ange ett sökord som ska matcha kursens namn eller kod. Det krävs minst 2 tecken. (Man kan också se allt med *). */
|
|
@@ -1022,29 +1263,29 @@ export interface operations {
|
|
|
1022
1263
|
striktKod?: string;
|
|
1023
1264
|
/** @description Är det avvecklad? (true/false) */
|
|
1024
1265
|
avvecklad?: string;
|
|
1025
|
-
/** @description Utbildningsnivå. (
|
|
1266
|
+
/** @description Utbildningsnivå. (kommaseparerad lista av koder) */
|
|
1026
1267
|
utbildningsniva?: string;
|
|
1027
|
-
/** @description Språk. (
|
|
1268
|
+
/** @description Språk. (kommaseparerad lista av koder) */
|
|
1028
1269
|
sprak?: string;
|
|
1029
|
-
/** @description Organisatorisk tillhörighet. (
|
|
1270
|
+
/** @description Organisatorisk tillhörighet. (kommaseparerad lista av koder) */
|
|
1030
1271
|
organisation?: string;
|
|
1031
|
-
/** @description Startperiod. (
|
|
1272
|
+
/** @description Startperiod. (kommaseparerad lista av koder). */
|
|
1032
1273
|
startPeriod?: string;
|
|
1033
1274
|
/** @description Terminkod start. (ex: VT2023). Ger alla tillfällen från den startperioden och senare */
|
|
1034
|
-
|
|
1035
|
-
/** @description Terminkod slut. (ex: HT2025). Kräver en
|
|
1036
|
-
|
|
1037
|
-
/** @description Antal HP. (
|
|
1275
|
+
terminkodStart?: string;
|
|
1276
|
+
/** @description Terminkod slut. (ex: HT2025). Kräver en Terminkod start. Ger alla tillfällen upp till och med den terminen. */
|
|
1277
|
+
terminkodSlut?: string;
|
|
1278
|
+
/** @description Antal HP. (kommaseparerad lista av koder) */
|
|
1038
1279
|
antalHP?: string;
|
|
1039
|
-
/** @description Studieort. (
|
|
1280
|
+
/** @description Studieort. (kommaseparerad lista av koder) */
|
|
1040
1281
|
studieOrt?: string;
|
|
1041
|
-
/** @description Ämnesgrupp. (
|
|
1282
|
+
/** @description Ämnesgrupp. (kommaseparerad lista av koder) */
|
|
1042
1283
|
amnesgrupp?: string;
|
|
1043
|
-
/** @description Ämnesord. (
|
|
1284
|
+
/** @description Ämnesord. (kommaseparerad lista av koder) */
|
|
1044
1285
|
amnesord?: string;
|
|
1045
|
-
/** @description Undervisningstid. (
|
|
1286
|
+
/** @description Undervisningstid. (kommaseparerad lista av koder) */
|
|
1046
1287
|
undervisningstid?: string;
|
|
1047
|
-
/** @description Undervisningsform. (
|
|
1288
|
+
/** @description Undervisningsform. (kommaseparerad lista av koder) */
|
|
1048
1289
|
undervisningsform?: string;
|
|
1049
1290
|
/** @description Pågåendedatum. Ex: YYYY-MM-DD */
|
|
1050
1291
|
pagaendeDatum?: string;
|
|
@@ -1059,7 +1300,7 @@ export interface operations {
|
|
|
1059
1300
|
};
|
|
1060
1301
|
requestBody?: never;
|
|
1061
1302
|
responses: {
|
|
1062
|
-
/** @description
|
|
1303
|
+
/** @description Lista med matchande kurstillfällen */
|
|
1063
1304
|
200: {
|
|
1064
1305
|
headers: {
|
|
1065
1306
|
[name: string]: unknown;
|
|
@@ -1068,7 +1309,7 @@ export interface operations {
|
|
|
1068
1309
|
"*/*": string;
|
|
1069
1310
|
};
|
|
1070
1311
|
};
|
|
1071
|
-
/** @description
|
|
1312
|
+
/** @description Inga träffar hittades */
|
|
1072
1313
|
404: {
|
|
1073
1314
|
headers: {
|
|
1074
1315
|
[name: string]: unknown;
|
|
@@ -1077,7 +1318,7 @@ export interface operations {
|
|
|
1077
1318
|
"*/*": string;
|
|
1078
1319
|
};
|
|
1079
1320
|
};
|
|
1080
|
-
/** @description
|
|
1321
|
+
/** @description Internt serverfel */
|
|
1081
1322
|
500: {
|
|
1082
1323
|
headers: {
|
|
1083
1324
|
[name: string]: unknown;
|
|
@@ -1105,7 +1346,7 @@ export interface operations {
|
|
|
1105
1346
|
};
|
|
1106
1347
|
requestBody?: never;
|
|
1107
1348
|
responses: {
|
|
1108
|
-
/** @description
|
|
1349
|
+
/** @description Utbildningsplanen hittades */
|
|
1109
1350
|
200: {
|
|
1110
1351
|
headers: {
|
|
1111
1352
|
[name: string]: unknown;
|
|
@@ -1114,7 +1355,7 @@ export interface operations {
|
|
|
1114
1355
|
"*/*": string;
|
|
1115
1356
|
};
|
|
1116
1357
|
};
|
|
1117
|
-
/** @description
|
|
1358
|
+
/** @description Utbildningsplanen hittades inte */
|
|
1118
1359
|
404: {
|
|
1119
1360
|
headers: {
|
|
1120
1361
|
[name: string]: unknown;
|
|
@@ -1123,6 +1364,15 @@ export interface operations {
|
|
|
1123
1364
|
"*/*": string;
|
|
1124
1365
|
};
|
|
1125
1366
|
};
|
|
1367
|
+
/** @description Internt serverfel */
|
|
1368
|
+
500: {
|
|
1369
|
+
headers: {
|
|
1370
|
+
[name: string]: unknown;
|
|
1371
|
+
};
|
|
1372
|
+
content: {
|
|
1373
|
+
"*/*": string;
|
|
1374
|
+
};
|
|
1375
|
+
};
|
|
1126
1376
|
};
|
|
1127
1377
|
};
|
|
1128
1378
|
planForUtbildning_1: {
|
|
@@ -1137,7 +1387,7 @@ export interface operations {
|
|
|
1137
1387
|
};
|
|
1138
1388
|
requestBody?: never;
|
|
1139
1389
|
responses: {
|
|
1140
|
-
/** @description
|
|
1390
|
+
/** @description Utbildningsplanen hittades */
|
|
1141
1391
|
200: {
|
|
1142
1392
|
headers: {
|
|
1143
1393
|
[name: string]: unknown;
|
|
@@ -1146,7 +1396,7 @@ export interface operations {
|
|
|
1146
1396
|
"*/*": components["schemas"]["JsonNode"];
|
|
1147
1397
|
};
|
|
1148
1398
|
};
|
|
1149
|
-
/** @description
|
|
1399
|
+
/** @description Utbildningsplanen hittades inte */
|
|
1150
1400
|
404: {
|
|
1151
1401
|
headers: {
|
|
1152
1402
|
[name: string]: unknown;
|
|
@@ -1169,7 +1419,7 @@ export interface operations {
|
|
|
1169
1419
|
};
|
|
1170
1420
|
requestBody?: never;
|
|
1171
1421
|
responses: {
|
|
1172
|
-
/** @description
|
|
1422
|
+
/** @description Utbildningsplanen hittades */
|
|
1173
1423
|
200: {
|
|
1174
1424
|
headers: {
|
|
1175
1425
|
[name: string]: unknown;
|
|
@@ -1178,7 +1428,7 @@ export interface operations {
|
|
|
1178
1428
|
"*/*": components["schemas"]["JsonNode"];
|
|
1179
1429
|
};
|
|
1180
1430
|
};
|
|
1181
|
-
/** @description
|
|
1431
|
+
/** @description Utbildningsplanen hittades inte */
|
|
1182
1432
|
404: {
|
|
1183
1433
|
headers: {
|
|
1184
1434
|
[name: string]: unknown;
|
|
@@ -1209,7 +1459,7 @@ export interface operations {
|
|
|
1209
1459
|
};
|
|
1210
1460
|
};
|
|
1211
1461
|
};
|
|
1212
|
-
|
|
1462
|
+
organisationKoppling: {
|
|
1213
1463
|
parameters: {
|
|
1214
1464
|
query?: never;
|
|
1215
1465
|
header?: never;
|
|
@@ -1218,8 +1468,17 @@ export interface operations {
|
|
|
1218
1468
|
};
|
|
1219
1469
|
requestBody?: never;
|
|
1220
1470
|
responses: {
|
|
1221
|
-
/** @description
|
|
1471
|
+
/** @description Organisationsstruktur hittades */
|
|
1222
1472
|
200: {
|
|
1473
|
+
headers: {
|
|
1474
|
+
[name: string]: unknown;
|
|
1475
|
+
};
|
|
1476
|
+
content: {
|
|
1477
|
+
"application/json": unknown;
|
|
1478
|
+
};
|
|
1479
|
+
};
|
|
1480
|
+
/** @description Ingen organisationsstruktur hittades för lärosätet */
|
|
1481
|
+
404: {
|
|
1223
1482
|
headers: {
|
|
1224
1483
|
[name: string]: unknown;
|
|
1225
1484
|
};
|
|
@@ -1227,7 +1486,27 @@ export interface operations {
|
|
|
1227
1486
|
"*/*": components["schemas"]["JsonNode"];
|
|
1228
1487
|
};
|
|
1229
1488
|
};
|
|
1230
|
-
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1491
|
+
organisation: {
|
|
1492
|
+
parameters: {
|
|
1493
|
+
query?: never;
|
|
1494
|
+
header?: never;
|
|
1495
|
+
path?: never;
|
|
1496
|
+
cookie?: never;
|
|
1497
|
+
};
|
|
1498
|
+
requestBody?: never;
|
|
1499
|
+
responses: {
|
|
1500
|
+
/** @description Organisationsstruktur hittades */
|
|
1501
|
+
200: {
|
|
1502
|
+
headers: {
|
|
1503
|
+
[name: string]: unknown;
|
|
1504
|
+
};
|
|
1505
|
+
content: {
|
|
1506
|
+
"application/json": string;
|
|
1507
|
+
};
|
|
1508
|
+
};
|
|
1509
|
+
/** @description Ingen organisationslista hittades för lärosätet */
|
|
1231
1510
|
404: {
|
|
1232
1511
|
headers: {
|
|
1233
1512
|
[name: string]: unknown;
|
|
@@ -1247,16 +1526,16 @@ export interface operations {
|
|
|
1247
1526
|
};
|
|
1248
1527
|
requestBody?: never;
|
|
1249
1528
|
responses: {
|
|
1250
|
-
/** @description
|
|
1529
|
+
/** @description Utbildningstyper hittades */
|
|
1251
1530
|
200: {
|
|
1252
1531
|
headers: {
|
|
1253
1532
|
[name: string]: unknown;
|
|
1254
1533
|
};
|
|
1255
1534
|
content: {
|
|
1256
|
-
"
|
|
1535
|
+
"application/json": string;
|
|
1257
1536
|
};
|
|
1258
1537
|
};
|
|
1259
|
-
/** @description
|
|
1538
|
+
/** @description Inga utbildningstyper hittades för lärosätet */
|
|
1260
1539
|
404: {
|
|
1261
1540
|
headers: {
|
|
1262
1541
|
[name: string]: unknown;
|
|
@@ -1276,16 +1555,16 @@ export interface operations {
|
|
|
1276
1555
|
};
|
|
1277
1556
|
requestBody?: never;
|
|
1278
1557
|
responses: {
|
|
1279
|
-
/** @description
|
|
1558
|
+
/** @description Betygsskalor hittades */
|
|
1280
1559
|
200: {
|
|
1281
1560
|
headers: {
|
|
1282
1561
|
[name: string]: unknown;
|
|
1283
1562
|
};
|
|
1284
1563
|
content: {
|
|
1285
|
-
"
|
|
1564
|
+
"application/json": string;
|
|
1286
1565
|
};
|
|
1287
1566
|
};
|
|
1288
|
-
/** @description
|
|
1567
|
+
/** @description Inga betygsskalor hittades för lärosätet */
|
|
1289
1568
|
404: {
|
|
1290
1569
|
headers: {
|
|
1291
1570
|
[name: string]: unknown;
|
|
@@ -1305,16 +1584,16 @@ export interface operations {
|
|
|
1305
1584
|
};
|
|
1306
1585
|
requestBody?: never;
|
|
1307
1586
|
responses: {
|
|
1308
|
-
/** @description
|
|
1587
|
+
/** @description Ämnesgrupper hittades */
|
|
1309
1588
|
200: {
|
|
1310
1589
|
headers: {
|
|
1311
1590
|
[name: string]: unknown;
|
|
1312
1591
|
};
|
|
1313
1592
|
content: {
|
|
1314
|
-
"
|
|
1593
|
+
"application/json": string;
|
|
1315
1594
|
};
|
|
1316
1595
|
};
|
|
1317
|
-
/** @description
|
|
1596
|
+
/** @description Inga ämnesgrupper hittades för lärosätet */
|
|
1318
1597
|
404: {
|
|
1319
1598
|
headers: {
|
|
1320
1599
|
[name: string]: unknown;
|
package/dist/index.js
CHANGED
|
@@ -47,6 +47,12 @@ const createClient = (config) => {
|
|
|
47
47
|
});
|
|
48
48
|
return (0, mapResponse_1.mapResponse)(res);
|
|
49
49
|
}),
|
|
50
|
+
utbildningsinstansStruktur: (uid) => __awaiter(void 0, void 0, void 0, function* () {
|
|
51
|
+
const res = yield openApiClient.GET("/utbildningsinstans/{uid}/struktur", {
|
|
52
|
+
params: { path: { uid } },
|
|
53
|
+
});
|
|
54
|
+
return (0, mapResponse_1.mapResponse)(res);
|
|
55
|
+
}),
|
|
50
56
|
utbildningstillfalle: (uid) => __awaiter(void 0, void 0, void 0, function* () {
|
|
51
57
|
const res = yield openApiClient.GET("/utbildningstillfalle/{uid}", {
|
|
52
58
|
params: { path: { uid } },
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAoE;AACpE,uDAAuE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAoE;AACpE,uDAAuE;AAchE,MAAM,YAAY,GAAG,CAC1B,MAAuC,EACZ,EAAE;IAC7B,MAAM,aAAa,GAAG,IAAA,yCAAmB,EAAC,MAAM,CAAC,CAAC;IAElD,OAAO;QACL,gBAAgB,EAAE,CAAO,KAAK,EAAE,EAAE;YAChC,MAAM,IAAI,GAAG,MAAM,aAAa,CAAC,GAAG,CAAC,mBAAmB,EAAE;gBACxD,MAAM,EAAE,EAAE,KAAK,EAAE;aAClB,CAAC,CAAC;YACH,OAAO,IAAA,+BAAiB,EAAuB,IAAI,CAAC,CAAC;QACvD,CAAC,CAAA;QACD,qBAAqB,EAAE,CAAO,KAAK,EAAE,EAAE;YACrC,MAAM,IAAI,GAAG,MAAM,aAAa,CAAC,GAAG,CAAC,wBAAwB,EAAE;gBAC7D,MAAM,EAAE,EAAE,KAAK,EAAE;aAClB,CAAC,CAAC;YACH,OAAO,IAAA,+BAAiB,EAA4B,IAAI,CAAC,CAAC;QAC5D,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAO,GAAG,EAAE,EAAE;YAChC,MAAM,GAAG,GAAG,MAAM,aAAa,CAAC,GAAG,CAAC,2BAA2B,EAAE;gBAC/D,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;aAC1B,CAAC,CAAC;YACH,OAAO,IAAA,yBAAW,EAAqB,GAAG,CAAC,CAAC;QAC9C,CAAC,CAAA;QACD,0BAA0B,EAAE,CAAO,GAAG,EAAE,EAAE;YACxC,MAAM,GAAG,GAAG,MAAM,aAAa,CAAC,GAAG,CAAC,oCAAoC,EAAE;gBACxE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;aAC1B,CAAC,CAAC;YACH,OAAO,IAAA,yBAAW,EAA6B,GAAG,CAAC,CAAC;QACtD,CAAC,CAAA;QACD,oBAAoB,EAAE,CAAO,GAAG,EAAE,EAAE;YAClC,MAAM,GAAG,GAAG,MAAM,aAAa,CAAC,GAAG,CAAC,6BAA6B,EAAE;gBACjE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;aAC1B,CAAC,CAAC;YACH,OAAO,IAAA,yBAAW,EAAuB,GAAG,CAAC,CAAC;QAChD,CAAC,CAAA;QACD,iBAAiB,EAAE,CAAO,GAAG,EAAE,EAAE;YAC/B,MAAM,GAAG,GAAG,MAAM,aAAa,CAAC,GAAG,CAAC,4BAA4B,EAAE;gBAChE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;aAC1B,CAAC,CAAC;YACH,OAAO,IAAA,yBAAW,EAAoB,GAAG,CAAC,CAAC;QAC7C,CAAC,CAAA;QACD,mCAAmC,EAAE,CAAO,GAAG,EAAE,EAAE;YACjD,MAAM,GAAG,GAAG,MAAM,aAAa,CAAC,GAAG,CAAC,+CAA+C,EAAE;gBACnF,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;aAC1B,CAAC,CAAC;YACH,OAAO,IAAA,yBAAW,EAAuC,GAAG,CAAC,CAAC;QAChE,CAAC,CAAA;KACF,CAAC;AACJ,CAAC,CAAC;AAjDW,QAAA,YAAY,gBAiDvB;AAEF,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utbildningsinstansStruktur.js","sourceRoot":"","sources":["../../../src/types/endpoints/utbildningsinstansStruktur.ts"],"names":[],"mappings":""}
|
|
@@ -6,6 +6,7 @@ import { SokUtbildningsInstansItem } from "./endpoints/sokUtbildningsInstans";
|
|
|
6
6
|
import { Utbildningsinstans } from "./endpoints/utbildningsinstans";
|
|
7
7
|
import { Utbildningstillfalle } from "./endpoints/utbildningstillfalle";
|
|
8
8
|
import { MellanlagringResponse, MellanlagringSearchResponse } from "./response";
|
|
9
|
+
import { UtbildningsinstansStruktur } from "./endpoints/utbildningsinstansStruktur";
|
|
9
10
|
/**
|
|
10
11
|
* Client with one function per endpoint in Ladok mellanlagring API.
|
|
11
12
|
* The functions name should be the same as the path for the endpoint.
|
|
@@ -18,9 +19,10 @@ import { MellanlagringResponse, MellanlagringSearchResponse } from "./response";
|
|
|
18
19
|
* (e.g. operations["<endpoint>"]["parameters"]["query"])
|
|
19
20
|
*/
|
|
20
21
|
export interface LadokMellanlagerApiClient {
|
|
21
|
-
sokKursTillfalle(args: operations["
|
|
22
|
-
sokUtbildningsInstans(args: operations["
|
|
22
|
+
sokKursTillfalle(args: operations["sokKurstillfalle"]["parameters"]["query"]): Promise<MellanlagringSearchResponse<SokKursTillfalleItem>>;
|
|
23
|
+
sokUtbildningsInstans(args: operations["sokUtbildningsinstans"]["parameters"]["query"]): Promise<MellanlagringSearchResponse<SokUtbildningsInstansItem>>;
|
|
23
24
|
utbildningsinstans(uid: string): Promise<MellanlagringResponse<Utbildningsinstans>>;
|
|
25
|
+
utbildningsinstansStruktur(uid: string): Promise<MellanlagringResponse<UtbildningsinstansStruktur>>;
|
|
24
26
|
utbildningstillfalle(uid: string): Promise<MellanlagringResponse<Utbildningstillfalle>>;
|
|
25
27
|
planForUtbildning(uid: string): Promise<MellanlagringResponse<PlanForUtbildning>>;
|
|
26
28
|
planForUtbildningUtbildningsinstans(uid: string): Promise<MellanlagringResponse<PlanForUtbildning_Utbildningsinstans>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kth/ladok-mellanlager-client",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.5",
|
|
4
|
+
"description": "Client for making requests to Ladok Mellanlager API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -17,15 +17,11 @@
|
|
|
17
17
|
"build": "tsc",
|
|
18
18
|
"test": "npm run --if-present jest -- --passWithNoTestsjest",
|
|
19
19
|
"test:watch": "jest --watch",
|
|
20
|
+
"updateVersions": "node ../../scripts/findAndReplacePackageVersions.js",
|
|
20
21
|
"generate-types": "openapi-typescript openapi/ladok-mellanlagring.json --output src/__generated__/ladok-mellanlagring.ts"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|
|
23
|
-
"openapi-typescript": "^7.4.1"
|
|
24
|
-
"@types/jest": "^29.5.12",
|
|
25
|
-
"jest": "^29.7.0",
|
|
26
|
-
"rimraf": "^5.0.10",
|
|
27
|
-
"ts-jest": "^29.2.5",
|
|
28
|
-
"typescript": "^5.5.4"
|
|
24
|
+
"openapi-typescript": "^7.4.1"
|
|
29
25
|
},
|
|
30
26
|
"dependencies": {
|
|
31
27
|
"openapi-fetch": "^0.13.0"
|