@biblioteksentralen/bmdb-search 0.0.0-beta.70 → 0.0.0-beta.71

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.
@@ -2688,7 +2688,15 @@ interface components {
2688
2688
  }[];
2689
2689
  };
2690
2690
  };
2691
- responses: never;
2691
+ responses: {
2692
+ /** @description Missing, invalid, or expired Bearer token. */
2693
+ Unauthorized: {
2694
+ headers: {
2695
+ [name: string]: unknown;
2696
+ };
2697
+ content?: never;
2698
+ };
2699
+ };
2692
2700
  parameters: {
2693
2701
  /** @description Experimental feature flags. May be removed without notice.
2694
2702
  * */
@@ -2837,6 +2845,7 @@ interface operations {
2837
2845
  "application/json": components["schemas"]["SearchWorks200Response"];
2838
2846
  };
2839
2847
  };
2848
+ 401: components["responses"]["Unauthorized"];
2840
2849
  /** @description Search profile not found */
2841
2850
  404: {
2842
2851
  headers: {
@@ -2894,6 +2903,7 @@ interface operations {
2894
2903
  "application/json": components["schemas"]["GetWorks200Response"];
2895
2904
  };
2896
2905
  };
2906
+ 401: components["responses"]["Unauthorized"];
2897
2907
  /** @description Search profile not found */
2898
2908
  404: {
2899
2909
  headers: {
@@ -2969,6 +2979,7 @@ interface operations {
2969
2979
  };
2970
2980
  content?: never;
2971
2981
  };
2982
+ 401: components["responses"]["Unauthorized"];
2972
2983
  /** @description Search profile not found */
2973
2984
  404: {
2974
2985
  headers: {
@@ -3044,6 +3055,7 @@ interface operations {
3044
3055
  };
3045
3056
  content?: never;
3046
3057
  };
3058
+ 401: components["responses"]["Unauthorized"];
3047
3059
  /** @description Search profile not found */
3048
3060
  404: {
3049
3061
  headers: {
@@ -3130,6 +3142,7 @@ interface operations {
3130
3142
  "application/json": components["schemas"]["SearchAgents200Response"];
3131
3143
  };
3132
3144
  };
3145
+ 401: components["responses"]["Unauthorized"];
3133
3146
  /** @description Search profile not found */
3134
3147
  404: {
3135
3148
  headers: {
@@ -3184,6 +3197,7 @@ interface operations {
3184
3197
  "application/json": components["schemas"]["GetAgents200Response"];
3185
3198
  };
3186
3199
  };
3200
+ 401: components["responses"]["Unauthorized"];
3187
3201
  /** @description Search profile not found */
3188
3202
  404: {
3189
3203
  headers: {
@@ -3270,6 +3284,7 @@ interface operations {
3270
3284
  "application/json": components["schemas"]["SearchCollections200Response"];
3271
3285
  };
3272
3286
  };
3287
+ 401: components["responses"]["Unauthorized"];
3273
3288
  /** @description Search profile not found */
3274
3289
  404: {
3275
3290
  headers: {
@@ -3324,6 +3339,7 @@ interface operations {
3324
3339
  "application/json": components["schemas"]["GetCollections200Response"];
3325
3340
  };
3326
3341
  };
3342
+ 401: components["responses"]["Unauthorized"];
3327
3343
  /** @description Search profile not found */
3328
3344
  404: {
3329
3345
  headers: {
@@ -3410,6 +3426,7 @@ interface operations {
3410
3426
  "application/json": components["schemas"]["SearchSubjects200Response"];
3411
3427
  };
3412
3428
  };
3429
+ 401: components["responses"]["Unauthorized"];
3413
3430
  /** @description Search profile not found */
3414
3431
  404: {
3415
3432
  headers: {
@@ -3464,6 +3481,7 @@ interface operations {
3464
3481
  "application/json": components["schemas"]["GetSubjects200Response"];
3465
3482
  };
3466
3483
  };
3484
+ 401: components["responses"]["Unauthorized"];
3467
3485
  /** @description Search profile not found */
3468
3486
  404: {
3469
3487
  headers: {
@@ -3521,6 +3539,7 @@ interface operations {
3521
3539
  "application/json": components["schemas"]["GetCatalogueRecords200Response"];
3522
3540
  };
3523
3541
  };
3542
+ 401: components["responses"]["Unauthorized"];
3524
3543
  /** @description Search profile not found */
3525
3544
  404: {
3526
3545
  headers: {
@@ -3593,6 +3612,7 @@ interface operations {
3593
3612
  "application/json": components["schemas"]["SearchSuggestions200Response"];
3594
3613
  };
3595
3614
  };
3615
+ 401: components["responses"]["Unauthorized"];
3596
3616
  /** @description Search profile not found */
3597
3617
  404: {
3598
3618
  headers: {
@@ -3638,6 +3658,7 @@ interface operations {
3638
3658
  "application/json": components["schemas"]["GetSearchProfiles200Response"];
3639
3659
  };
3640
3660
  };
3661
+ 401: components["responses"]["Unauthorized"];
3641
3662
  /** @description Request validation error */
3642
3663
  422: {
3643
3664
  headers: {
@@ -9035,4 +9056,4 @@ type BmdbSearchClient = Client<BmdbCordataApiV1Paths>;
9035
9056
  declare const createBmdbFetchClient: (options: BmdbSearchClientOptions) => BmdbSearchClient;
9036
9057
  //#endregion
9037
9058
  export { parseCatalogueId as C, ParsedCatalogueId as S, serializeDigitalServiceRecordId as _, BmdbCordataApiV1Schemas as a, parseCatalogueRecordId as b, isCordataEnumContributorRoleCode as c, isCordataEnumManifestationMediumCode as d, isCordataEnumWorkTypeCode as f, parseDigitalServiceRecordId as g, ParsedDigitalServiceRecordId as h, BmdbCordataApiV1Paths as i, isCordataEnumExpressionTypeCode as l, DigitalServiceRecordId as m, BmdbSearchClientOptions as n, isCordataEnumAgeGroupCode as o, formatIsbdTitle as p, createBmdbFetchClient as r, isCordataEnumAgeLimitCode as s, BmdbSearchClient as t, isCordataEnumLanguageCode as u, CatalogueRecordId as v, serializeCatalogueId as w, serializeCatalogueRecordId as x, ParsedCatalogueRecordId as y };
9038
- //# sourceMappingURL=index-D18VklpD.d.cts.map
9059
+ //# sourceMappingURL=index-BnhgKo2J.d.cts.map
@@ -2688,7 +2688,15 @@ interface components {
2688
2688
  }[];
2689
2689
  };
2690
2690
  };
2691
- responses: never;
2691
+ responses: {
2692
+ /** @description Missing, invalid, or expired Bearer token. */
2693
+ Unauthorized: {
2694
+ headers: {
2695
+ [name: string]: unknown;
2696
+ };
2697
+ content?: never;
2698
+ };
2699
+ };
2692
2700
  parameters: {
2693
2701
  /** @description Experimental feature flags. May be removed without notice.
2694
2702
  * */
@@ -2837,6 +2845,7 @@ interface operations {
2837
2845
  "application/json": components["schemas"]["SearchWorks200Response"];
2838
2846
  };
2839
2847
  };
2848
+ 401: components["responses"]["Unauthorized"];
2840
2849
  /** @description Search profile not found */
2841
2850
  404: {
2842
2851
  headers: {
@@ -2894,6 +2903,7 @@ interface operations {
2894
2903
  "application/json": components["schemas"]["GetWorks200Response"];
2895
2904
  };
2896
2905
  };
2906
+ 401: components["responses"]["Unauthorized"];
2897
2907
  /** @description Search profile not found */
2898
2908
  404: {
2899
2909
  headers: {
@@ -2969,6 +2979,7 @@ interface operations {
2969
2979
  };
2970
2980
  content?: never;
2971
2981
  };
2982
+ 401: components["responses"]["Unauthorized"];
2972
2983
  /** @description Search profile not found */
2973
2984
  404: {
2974
2985
  headers: {
@@ -3044,6 +3055,7 @@ interface operations {
3044
3055
  };
3045
3056
  content?: never;
3046
3057
  };
3058
+ 401: components["responses"]["Unauthorized"];
3047
3059
  /** @description Search profile not found */
3048
3060
  404: {
3049
3061
  headers: {
@@ -3130,6 +3142,7 @@ interface operations {
3130
3142
  "application/json": components["schemas"]["SearchAgents200Response"];
3131
3143
  };
3132
3144
  };
3145
+ 401: components["responses"]["Unauthorized"];
3133
3146
  /** @description Search profile not found */
3134
3147
  404: {
3135
3148
  headers: {
@@ -3184,6 +3197,7 @@ interface operations {
3184
3197
  "application/json": components["schemas"]["GetAgents200Response"];
3185
3198
  };
3186
3199
  };
3200
+ 401: components["responses"]["Unauthorized"];
3187
3201
  /** @description Search profile not found */
3188
3202
  404: {
3189
3203
  headers: {
@@ -3270,6 +3284,7 @@ interface operations {
3270
3284
  "application/json": components["schemas"]["SearchCollections200Response"];
3271
3285
  };
3272
3286
  };
3287
+ 401: components["responses"]["Unauthorized"];
3273
3288
  /** @description Search profile not found */
3274
3289
  404: {
3275
3290
  headers: {
@@ -3324,6 +3339,7 @@ interface operations {
3324
3339
  "application/json": components["schemas"]["GetCollections200Response"];
3325
3340
  };
3326
3341
  };
3342
+ 401: components["responses"]["Unauthorized"];
3327
3343
  /** @description Search profile not found */
3328
3344
  404: {
3329
3345
  headers: {
@@ -3410,6 +3426,7 @@ interface operations {
3410
3426
  "application/json": components["schemas"]["SearchSubjects200Response"];
3411
3427
  };
3412
3428
  };
3429
+ 401: components["responses"]["Unauthorized"];
3413
3430
  /** @description Search profile not found */
3414
3431
  404: {
3415
3432
  headers: {
@@ -3464,6 +3481,7 @@ interface operations {
3464
3481
  "application/json": components["schemas"]["GetSubjects200Response"];
3465
3482
  };
3466
3483
  };
3484
+ 401: components["responses"]["Unauthorized"];
3467
3485
  /** @description Search profile not found */
3468
3486
  404: {
3469
3487
  headers: {
@@ -3521,6 +3539,7 @@ interface operations {
3521
3539
  "application/json": components["schemas"]["GetCatalogueRecords200Response"];
3522
3540
  };
3523
3541
  };
3542
+ 401: components["responses"]["Unauthorized"];
3524
3543
  /** @description Search profile not found */
3525
3544
  404: {
3526
3545
  headers: {
@@ -3593,6 +3612,7 @@ interface operations {
3593
3612
  "application/json": components["schemas"]["SearchSuggestions200Response"];
3594
3613
  };
3595
3614
  };
3615
+ 401: components["responses"]["Unauthorized"];
3596
3616
  /** @description Search profile not found */
3597
3617
  404: {
3598
3618
  headers: {
@@ -3638,6 +3658,7 @@ interface operations {
3638
3658
  "application/json": components["schemas"]["GetSearchProfiles200Response"];
3639
3659
  };
3640
3660
  };
3661
+ 401: components["responses"]["Unauthorized"];
3641
3662
  /** @description Request validation error */
3642
3663
  422: {
3643
3664
  headers: {
@@ -9035,4 +9056,4 @@ type BmdbSearchClient = Client<BmdbCordataApiV1Paths>;
9035
9056
  declare const createBmdbFetchClient: (options: BmdbSearchClientOptions) => BmdbSearchClient;
9036
9057
  //#endregion
9037
9058
  export { parseCatalogueId as C, ParsedCatalogueId as S, serializeDigitalServiceRecordId as _, BmdbCordataApiV1Schemas as a, parseCatalogueRecordId as b, isCordataEnumContributorRoleCode as c, isCordataEnumManifestationMediumCode as d, isCordataEnumWorkTypeCode as f, parseDigitalServiceRecordId as g, ParsedDigitalServiceRecordId as h, BmdbCordataApiV1Paths as i, isCordataEnumExpressionTypeCode as l, DigitalServiceRecordId as m, BmdbSearchClientOptions as n, isCordataEnumAgeGroupCode as o, formatIsbdTitle as p, createBmdbFetchClient as r, isCordataEnumAgeLimitCode as s, BmdbSearchClient as t, isCordataEnumLanguageCode as u, CatalogueRecordId as v, serializeCatalogueId as w, serializeCatalogueRecordId as x, ParsedCatalogueRecordId as y };
9038
- //# sourceMappingURL=index-D18VklpD.d.ts.map
9059
+ //# sourceMappingURL=index-BnhgKo2J.d.ts.map
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as parseCatalogueId, S as ParsedCatalogueId, _ as serializeDigitalServiceRecordId, a as BmdbCordataApiV1Schemas, b as parseCatalogueRecordId, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, g as parseDigitalServiceRecordId, h as ParsedDigitalServiceRecordId, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, m as DigitalServiceRecordId, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode, v as CatalogueRecordId, w as serializeCatalogueId, x as serializeCatalogueRecordId, y as ParsedCatalogueRecordId } from "./index-D18VklpD.cjs";
1
+ import { C as parseCatalogueId, S as ParsedCatalogueId, _ as serializeDigitalServiceRecordId, a as BmdbCordataApiV1Schemas, b as parseCatalogueRecordId, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, g as parseDigitalServiceRecordId, h as ParsedDigitalServiceRecordId, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, m as DigitalServiceRecordId, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode, v as CatalogueRecordId, w as serializeCatalogueId, x as serializeCatalogueRecordId, y as ParsedCatalogueRecordId } from "./index-BnhgKo2J.cjs";
2
2
  //#region ../api-specifications/dist/bmdb-cordata-api/utils/substituteBibbiIdentifiersForIds.d.ts
3
3
  type BibbiIdentifierContext = {
4
4
  workBibbiIdentifier?: string;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as parseCatalogueId, S as ParsedCatalogueId, _ as serializeDigitalServiceRecordId, a as BmdbCordataApiV1Schemas, b as parseCatalogueRecordId, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, g as parseDigitalServiceRecordId, h as ParsedDigitalServiceRecordId, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, m as DigitalServiceRecordId, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode, v as CatalogueRecordId, w as serializeCatalogueId, x as serializeCatalogueRecordId, y as ParsedCatalogueRecordId } from "./index-D18VklpD.js";
1
+ import { C as parseCatalogueId, S as ParsedCatalogueId, _ as serializeDigitalServiceRecordId, a as BmdbCordataApiV1Schemas, b as parseCatalogueRecordId, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, g as parseDigitalServiceRecordId, h as ParsedDigitalServiceRecordId, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, m as DigitalServiceRecordId, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode, v as CatalogueRecordId, w as serializeCatalogueId, x as serializeCatalogueRecordId, y as ParsedCatalogueRecordId } from "./index-BnhgKo2J.js";
2
2
  //#region ../api-specifications/dist/bmdb-cordata-api/utils/substituteBibbiIdentifiersForIds.d.ts
3
3
  type BibbiIdentifierContext = {
4
4
  workBibbiIdentifier?: string;
@@ -1,2 +1,2 @@
1
- import { a as BmdbCordataApiV1Schemas, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode } from "../index-D18VklpD.cjs";
1
+ import { a as BmdbCordataApiV1Schemas, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode } from "../index-BnhgKo2J.cjs";
2
2
  export { type BmdbCordataApiV1Paths, type BmdbCordataApiV1Schemas, BmdbSearchClient, BmdbSearchClientOptions, createBmdbFetchClient, formatIsbdTitle, isCordataEnumAgeGroupCode, isCordataEnumAgeLimitCode, isCordataEnumContributorRoleCode, isCordataEnumExpressionTypeCode, isCordataEnumLanguageCode, isCordataEnumManifestationMediumCode, isCordataEnumWorkTypeCode };
@@ -1,2 +1,2 @@
1
- import { a as BmdbCordataApiV1Schemas, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode } from "../index-D18VklpD.js";
1
+ import { a as BmdbCordataApiV1Schemas, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode } from "../index-BnhgKo2J.js";
2
2
  export { type BmdbCordataApiV1Paths, type BmdbCordataApiV1Schemas, BmdbSearchClient, BmdbSearchClientOptions, createBmdbFetchClient, formatIsbdTitle, isCordataEnumAgeGroupCode, isCordataEnumAgeLimitCode, isCordataEnumContributorRoleCode, isCordataEnumExpressionTypeCode, isCordataEnumLanguageCode, isCordataEnumManifestationMediumCode, isCordataEnumWorkTypeCode };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biblioteksentralen/bmdb-search",
3
- "version": "0.0.0-beta.70",
3
+ "version": "0.0.0-beta.71",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Client for searching Bibliotekenes metadatabrønn (BMDB)",