@kth/ladok-mellanlager-client 0.4.3 → 0.4.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.
@@ -897,7 +897,7 @@ export interface operations {
897
897
  utbildningsinstansUid?: string;
898
898
  /** @description Utbildningstyp grundtyp (ex: KURS,KURSPAKETERING) */
899
899
  utbildningstypgrundtyp?: string;
900
- /** @description Utbildningstyp id (ex: 78) */
900
+ /** @description Utbildningstyp id (kommaseparerad lista av ids. ex: 78,79) */
901
901
  utbildningstypid?: string;
902
902
  /** @description Bara sista version (true/false. Default: true) */
903
903
  baraSistaVersion?: string;
@@ -941,12 +941,14 @@ export interface operations {
941
941
  organisation?: string;
942
942
  /** @description Utbildningstyp grundtyp (ex: KURS,KURSPAKETERING,MODUL) */
943
943
  utbildningstypgrundtyp?: string;
944
- /** @description Utbildningstyp id (ex: 94) */
944
+ /** @description Utbildningstyp id (kommaseparerad lista av ids. ex: 94,95) */
945
945
  utbildningstypid?: string;
946
946
  /** @description Är det avvecklad? (true/false) */
947
947
  avvecklad?: string;
948
948
  /** @description Studieordning (ex: HÖ07) */
949
949
  studieordning?: string;
950
+ /** @description Senaste version (true/false) */
951
+ senasteversion?: string;
950
952
  /** @description Språk för kodEllerBenamning (sv/en) */
951
953
  sprakSok?: string;
952
954
  /** @description Antal träffar per sida */
@@ -1287,7 +1289,7 @@ export interface operations {
1287
1289
  utbildningsinstansUid?: string;
1288
1290
  /** @description Utbildningstyp grundtyp (ex: KURS,KURSPAKETERING) */
1289
1291
  utbildningstypgrundtyp?: string;
1290
- /** @description Utbildningstyp id (ex: 78) */
1292
+ /** @description Utbildningstyp id (kommaseparerad lista av ids. ex: 78,79) */
1291
1293
  utbildningstypid?: string;
1292
1294
  /** @description attributVarden. (kommaseparerad lista av attributer) */
1293
1295
  attributVarden?: string;
@@ -1335,12 +1337,14 @@ export interface operations {
1335
1337
  organisation?: string;
1336
1338
  /** @description Utbildningstyp grundtyp (ex: KURS,KURSPAKETERING,MODUL) */
1337
1339
  utbildningstypgrundtyp?: string;
1338
- /** @description Utbildningstyp id (ex: 94) */
1340
+ /** @description Utbildningstyp id (kommaseparerad lista av ids. ex: 94,95) */
1339
1341
  utbildningstypid?: string;
1340
1342
  /** @description Är det avvecklad? (true/false) */
1341
1343
  avvecklad?: string;
1342
1344
  /** @description Studieordning (ex: HÖ07) */
1343
1345
  studieordning?: string;
1346
+ /** @description Senaste version (true/false) */
1347
+ senasteversion?: string;
1344
1348
  /** @description Språk för kodEllerBenamning (sv/en) */
1345
1349
  sprakSok?: string;
1346
1350
  /** @description instansAttributvarden. Ex: utbildning.attribut.kod,utbildning.attribut.svensk.benamning */
@@ -12,6 +12,8 @@ import { Betygsskala } from './endpoints/betygsskala';
12
12
  import { Period } from './endpoints/period';
13
13
  import { StrukturListaInnehaller } from './endpoints/strukturListaInnehaller';
14
14
  import { Utbildningstyp } from './endpoints/utbildningstyp';
15
+ export type SokUtbildningsTillfalleSlimQuery = operations['sokUtbildningstillfalle_1']['parameters']['query'];
16
+ export type SokUtbildningsInstansSlimQuery = operations['sokUtbildningsinstans_1']['parameters']['query'];
15
17
  /**
16
18
  * Client with one function per endpoint in Ladok mellanlagring API.
17
19
  * The functions name should be the same as the path for the endpoint.
@@ -27,15 +29,15 @@ export interface LadokMellanlagerApiClient {
27
29
  sokKursTillfalle(query: operations['sokUtbildningstillfalle']['parameters']['query'], headers?: {
28
30
  continuationToken?: string;
29
31
  }): Promise<MellanlagringSearchResponse<SokUtbildningsTillfalleItem>>;
30
- sokKursTillfalleSlim(query: operations['sokUtbildningstillfalle_1']['parameters']['query'], headers?: {
32
+ sokKursTillfalleSlim(query: SokUtbildningsTillfalleSlimQuery, headers?: {
31
33
  continuationToken?: string;
32
34
  }): Promise<MellanlagringSearchResponse<SokUtbildningsTillfalleSlimItem>>;
33
35
  sokProgramTillfalle(args: operations['sokUtbildningstillfalle']['parameters']['query']): Promise<MellanlagringSearchResponse<SokUtbildningsTillfalleItem>>;
34
- sokProgramTillfalleSlim(args: operations['sokUtbildningstillfalle_1']['parameters']['query']): Promise<MellanlagringSearchResponse<SokUtbildningsTillfalleSlimItem>>;
36
+ sokProgramTillfalleSlim(args: SokUtbildningsTillfalleSlimQuery): Promise<MellanlagringSearchResponse<SokUtbildningsTillfalleSlimItem>>;
35
37
  sokUtbildningsInstans(args: operations['sokUtbildningsinstans']['parameters']['query']): Promise<MellanlagringSearchResponse<SokUtbildningsInstansItem>>;
36
- sokUtbildningsInstansSlim(args: operations['sokUtbildningsinstans_1']['parameters']['query']): Promise<MellanlagringSearchResponse<SokUtbildningsInstansSlimItem>>;
38
+ sokUtbildningsInstansSlim(args: SokUtbildningsInstansSlimQuery): Promise<MellanlagringSearchResponse<SokUtbildningsInstansSlimItem>>;
37
39
  sokUtbildningsTillfalle(args: operations['sokUtbildningstillfalle']['parameters']['query']): Promise<MellanlagringSearchResponse<SokUtbildningsTillfalleItem>>;
38
- sokUtbildningsTillfalleSlim(args: operations['sokUtbildningstillfalle_1']['parameters']['query']): Promise<MellanlagringSearchResponse<SokUtbildningsTillfalleSlimItem>>;
40
+ sokUtbildningsTillfalleSlim(args: SokUtbildningsTillfalleSlimQuery): Promise<MellanlagringSearchResponse<SokUtbildningsTillfalleSlimItem>>;
39
41
  utbildningsinstans(uid: string): Promise<MellanlagringResponse<Utbildningsinstans>>;
40
42
  utbildningsinstansSlim(uid: string, args: operations['utbildningsinstans_1']['parameters']['query']): Promise<MellanlagringResponse<UtbildningsinstansSlim>>;
41
43
  utbildningsinstansStruktur(uid: string): Promise<MellanlagringResponse<UtbildningsinstansStruktur>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kth/ladok-mellanlager-client",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Client for making requests to Ladok Mellanlager API",
5
5
  "main": "dist/index.js",
6
6
  "files": [