@biblioteksentralen/bmdb-search 0.0.0-beta.64 → 0.0.0-beta.65

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.
@@ -789,7 +789,7 @@ interface components$1 {
789
789
  };
790
790
  };
791
791
  /** @enum {string} */
792
- CordataEnumCollectionTypeCode: "series" | "fictional_universe" | "multipart_work";
792
+ CordataEnumCollectionTypeCode: "series" | "fictional_universe" | "multipart_work" | "game_family";
793
793
  /** @description A Collection is a set of entities - manifestations or works - that share certain features.
794
794
  * The collection can be explicitly named in the source material, such as the series "SF Masterworks" which is a collection of acclaimed SF novels published by Gollancz, or constructed from a set of features that the collected entities have in common, such as "The Lovecraft Mythos" for works that use creatures and features from H.P. Lovecraft's fictional universe. */
795
795
  SubjectTypeCollection: components$1["schemas"]["SubjectBase"] & {
@@ -967,6 +967,17 @@ interface components$1 {
967
967
  domain?: "Expression" | "Manifestation";
968
968
  isUnstable: components$1["schemas"]["IsUnstable"];
969
969
  };
970
+ /** @description Map of other identifiers for the entity */
971
+ CollectionWorkIdentifiers: {
972
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
973
+ bibbiAuthorityId?: string;
974
+ /** @description Identifier for the BMDB entity from id.nb.no */
975
+ nbBmdbUri?: string;
976
+ /** @description Identifier for the entity from IMDb */
977
+ imdbId?: string;
978
+ /** @description Identifier for the entity from Wikidata */
979
+ wikidataId?: string;
980
+ };
970
981
  /** @description A Collection is a set of entities - manifestations or works - that share certain features.
971
982
  *
972
983
  * The collection can be explicitly named in the source material, such as the series "SF Masterworks" which is a collection of acclaimed SF novels published by Gollancz, or constructed from a set of features that the collected entities have in common, such as "The Lovecraft Mythos" for works that use creatures and features from H.P. Lovecraft's fictional universe.
@@ -978,17 +989,7 @@ interface components$1 {
978
989
  /** @constant */
979
990
  entityType: "collection_work";
980
991
  id: components$1["schemas"]["Id"];
981
- /** @description Map of other identifiers for the entity */
982
- identifiers: {
983
- /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
984
- bibbiAuthorityId?: string;
985
- /** @description Identifier for the BMDB entity from id.nb.no */
986
- nbBmdbUri?: string;
987
- /** @description Identifier for the entity from IMDb */
988
- imdbId?: string;
989
- /** @description Identifier for the entity from Wikidata */
990
- wikidataId?: string;
991
- };
992
+ identifiers: components$1["schemas"]["CollectionWorkIdentifiers"];
992
993
  collectionType: components$1["schemas"]["CordataEnumCollectionTypeCode"];
993
994
  workType?: components$1["schemas"]["CordataEnumWorkType"];
994
995
  /** @description TODO */
@@ -1894,6 +1895,48 @@ interface paths {
1894
1895
  patch?: never;
1895
1896
  trace?: never;
1896
1897
  };
1898
+ "/{searchProfile}/subjects/search": {
1899
+ parameters: {
1900
+ query?: never;
1901
+ header?: never;
1902
+ path?: never;
1903
+ cookie?: never;
1904
+ };
1905
+ /**
1906
+ * Search subjects
1907
+ * @description Endpoint for searching BMDB subjects.
1908
+ *
1909
+ */
1910
+ get: operations["searchSubjects"];
1911
+ put?: never;
1912
+ post?: never;
1913
+ delete?: never;
1914
+ options?: never;
1915
+ head?: never;
1916
+ patch?: never;
1917
+ trace?: never;
1918
+ };
1919
+ "/{searchProfile}/subjects": {
1920
+ parameters: {
1921
+ query?: never;
1922
+ header?: never;
1923
+ path?: never;
1924
+ cookie?: never;
1925
+ };
1926
+ /**
1927
+ * Get subjects
1928
+ * @description Endpoint for getting BMDB subjects.
1929
+ *
1930
+ */
1931
+ get: operations["getSubjects"];
1932
+ put?: never;
1933
+ post?: never;
1934
+ delete?: never;
1935
+ options?: never;
1936
+ head?: never;
1937
+ patch?: never;
1938
+ trace?: never;
1939
+ };
1897
1940
  "/{searchProfile}/catalogue-records": {
1898
1941
  parameters: {
1899
1942
  query?: never;
@@ -1915,6 +1958,27 @@ interface paths {
1915
1958
  patch?: never;
1916
1959
  trace?: never;
1917
1960
  };
1961
+ "/{searchProfile}/suggestions/search": {
1962
+ parameters: {
1963
+ query?: never;
1964
+ header?: never;
1965
+ path?: never;
1966
+ cookie?: never;
1967
+ };
1968
+ /**
1969
+ * Search suggestions
1970
+ * @description Endpoint for searching suggestions.
1971
+ *
1972
+ */
1973
+ get: operations["searchSuggestions"];
1974
+ put?: never;
1975
+ post?: never;
1976
+ delete?: never;
1977
+ options?: never;
1978
+ head?: never;
1979
+ patch?: never;
1980
+ trace?: never;
1981
+ };
1918
1982
  "/search-profiles": {
1919
1983
  parameters: {
1920
1984
  query?: never;
@@ -2265,7 +2329,7 @@ interface components {
2265
2329
  roles: components["schemas"]["CordataEnumContributorRoleTranslated"][];
2266
2330
  };
2267
2331
  /** @enum {string} */
2268
- CordataEnumCollectionTypeCode: "series" | "fictional_universe" | "multipart_work";
2332
+ CordataEnumCollectionTypeCode: "series" | "fictional_universe" | "multipart_work" | "game_family";
2269
2333
  CordataEnumCollectionTypeTranslated: {
2270
2334
  code: components["schemas"]["CordataEnumCollectionTypeCode"];
2271
2335
  label: string;
@@ -3097,6 +3161,17 @@ interface components {
3097
3161
  domain?: "Expression" | "Manifestation";
3098
3162
  isUnstable: components["schemas"]["IsUnstable"];
3099
3163
  };
3164
+ /** @description Map of other identifiers for the entity */
3165
+ CollectionWorkIdentifiers: {
3166
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
3167
+ bibbiAuthorityId?: string;
3168
+ /** @description Identifier for the BMDB entity from id.nb.no */
3169
+ nbBmdbUri?: string;
3170
+ /** @description Identifier for the entity from IMDb */
3171
+ imdbId?: string;
3172
+ /** @description Identifier for the entity from Wikidata */
3173
+ wikidataId?: string;
3174
+ };
3100
3175
  /** @description A Collection is a set of entities - manifestations or works - that share certain features.
3101
3176
  *
3102
3177
  * The collection can be explicitly named in the source material, such as the series "SF Masterworks" which is a collection of acclaimed SF novels published by Gollancz, or constructed from a set of features that the collected entities have in common, such as "The Lovecraft Mythos" for works that use creatures and features from H.P. Lovecraft's fictional universe.
@@ -3108,17 +3183,7 @@ interface components {
3108
3183
  /** @constant */
3109
3184
  entityType: "collection_work";
3110
3185
  id: components["schemas"]["Id"];
3111
- /** @description Map of other identifiers for the entity */
3112
- identifiers: {
3113
- /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
3114
- bibbiAuthorityId?: string;
3115
- /** @description Identifier for the BMDB entity from id.nb.no */
3116
- nbBmdbUri?: string;
3117
- /** @description Identifier for the entity from IMDb */
3118
- imdbId?: string;
3119
- /** @description Identifier for the entity from Wikidata */
3120
- wikidataId?: string;
3121
- };
3186
+ identifiers: components["schemas"]["CollectionWorkIdentifiers"];
3122
3187
  collectionType: components["schemas"]["CordataEnumCollectionTypeCode"];
3123
3188
  workType?: components["schemas"]["CordataEnumWorkType"];
3124
3189
  /** @description TODO */
@@ -3698,11 +3763,7 @@ interface components {
3698
3763
  /** @constant */
3699
3764
  entityType: "collection_work";
3700
3765
  id: components["schemas"]["Id"];
3701
- /** @description Map of other identifiers for the entity */
3702
- identifiers: {
3703
- /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
3704
- bibbiAuthorityId?: string;
3705
- };
3766
+ identifiers: components["schemas"]["CollectionWorkIdentifiers"];
3706
3767
  collectionType: components["schemas"]["CordataEnumCollectionTypeTranslated"];
3707
3768
  workType?: components["schemas"]["CordataEnumWorkTypeTranslated"];
3708
3769
  expressionType?: components["schemas"]["CordataEnumExpressionTypeTranslated"];
@@ -3805,6 +3866,112 @@ interface components {
3805
3866
  collection: components["schemas"]["CollectionWork"];
3806
3867
  }[];
3807
3868
  };
3869
+ SubjectSearchFilterType: {
3870
+ identifier?: string;
3871
+ id?: string;
3872
+ /** @enum {string} */
3873
+ type?: "concept" | "event" | "agent" | "work" | "collection_work";
3874
+ catalogue?: string;
3875
+ };
3876
+ /**
3877
+ * @description How the search results should be sorted. Available options:
3878
+ *
3879
+ * - `relevance.desc`
3880
+ * - `updateTime.desc`
3881
+ * - `updateTime.asc`
3882
+ * @enum {string}
3883
+ */
3884
+ SubjectSearchSortType: "relevance.desc" | "updateTime.desc" | "updateTime.asc";
3885
+ /** @enum {string} */
3886
+ SubjectSearchFacetType: "catalogue";
3887
+ CordataEnumConceptTypeTranslated: {
3888
+ code: components["schemas"]["CordataEnumConceptTypeCode"];
3889
+ label: string;
3890
+ };
3891
+ /** @enum {string} */
3892
+ CordataEnumEventTypeCode: "fire" | "genocide" | "famine" | "war" | "criminal_case" | "crisis" | "military_operation" | "natural_disaster" | "uprising" | "pandemic" | "revolution" | "battle" | "strike" | "era" | "time_span" | "concert" | "accident";
3893
+ CordataEnumEventTypeTranslated: {
3894
+ code: components["schemas"]["CordataEnumEventTypeCode"];
3895
+ label: string;
3896
+ };
3897
+ SubjectSummary: {
3898
+ id: components["schemas"]["Id"];
3899
+ name: string;
3900
+ /** @constant */
3901
+ type: "SubjectSummary";
3902
+ /** @constant */
3903
+ entityType: "subject";
3904
+ about?: {
3905
+ /** @constant */
3906
+ type: "SubjectSummaryConcept";
3907
+ /** @constant */
3908
+ entityType: "concept";
3909
+ conceptType: components["schemas"]["CordataEnumConceptTypeTranslated"];
3910
+ identifiers: {
3911
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
3912
+ bibbiAuthorityId?: string;
3913
+ /** @description Identifier from Norske emneord (NEO). */
3914
+ neoUri?: string;
3915
+ };
3916
+ } | {
3917
+ /** @constant */
3918
+ type: "SubjectSummaryEvent";
3919
+ /** @constant */
3920
+ entityType: "event";
3921
+ eventType: components["schemas"]["CordataEnumEventTypeTranslated"];
3922
+ identifiers: {
3923
+ /** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
3924
+ bibbiAuthorityId?: string;
3925
+ /** @description Identifier from Norske emneord (NEO). */
3926
+ neoUri?: string;
3927
+ };
3928
+ } | {
3929
+ /** @constant */
3930
+ type: "SubjectSummaryAgent";
3931
+ /** @constant */
3932
+ entityType: "agent";
3933
+ agentType: components["schemas"]["CordataEnumAgentTypeTranslated"];
3934
+ identifiers: components["schemas"]["AgentIdentifiers"];
3935
+ } | {
3936
+ /** @constant */
3937
+ type: "SubjectSummaryWork";
3938
+ /** @constant */
3939
+ entityType: "work";
3940
+ workType: components["schemas"]["CordataEnumWorkTypeTranslated"];
3941
+ identifiers: components["schemas"]["WorkIdentifiers"];
3942
+ } | {
3943
+ /** @constant */
3944
+ type: "SubjectSummaryCollection";
3945
+ /** @constant */
3946
+ entityType: "collection_work";
3947
+ collectionType: components["schemas"]["CordataEnumCollectionTypeTranslated"];
3948
+ identifiers: components["schemas"]["CollectionWorkIdentifiers"];
3949
+ };
3950
+ };
3951
+ SubjectFacet: {
3952
+ type: components["schemas"]["SubjectSearchFacetType"];
3953
+ /** @description A displayable (human readable) facet name. */
3954
+ name?: string;
3955
+ terms: components["schemas"]["FacetTerm"][];
3956
+ };
3957
+ SearchSubjects200Response: {
3958
+ total?: components["schemas"]["total"];
3959
+ results: {
3960
+ subject: components["schemas"]["SubjectSummary"];
3961
+ }[];
3962
+ endOfResults: components["schemas"]["endOfResults"];
3963
+ /** @description This array contains the requested facets, and their terms. Each facet type should only appear once in the array. */
3964
+ facets?: components["schemas"]["SubjectFacet"][];
3965
+ queryType?: components["schemas"]["queryType"];
3966
+ advancedQueryErrors?: components["schemas"]["advancedQueryErrors"];
3967
+ sorting: components["schemas"]["SubjectSearchSortType"];
3968
+ };
3969
+ GetSubjects200Response: {
3970
+ total?: components["schemas"]["total"];
3971
+ results: {
3972
+ subject: components["schemas"]["Subject"];
3973
+ }[];
3974
+ };
3808
3975
  CatalogueRecordWork: {
3809
3976
  /** @constant */
3810
3977
  type: "CatalogueRecordWork";
@@ -3891,6 +4058,88 @@ interface components {
3891
4058
  catalogueRecord: components["schemas"]["CatalogueRecord"];
3892
4059
  }[];
3893
4060
  };
4061
+ SuggestionSearchFilterType: {
4062
+ /**
4063
+ * @description Suggestion type
4064
+ * @enum {string}
4065
+ */
4066
+ type?: "work" | "agent" | "collection";
4067
+ };
4068
+ SuggestionAgentBase: {
4069
+ id: components["schemas"]["Id"];
4070
+ name: string;
4071
+ /** @constant */
4072
+ entityType: "agent";
4073
+ agentType: components["schemas"]["CordataEnumAgentTypeTranslated"];
4074
+ collectiveAgentType?: components["schemas"]["CordataEnumCollectiveAgentTypeTranslated"];
4075
+ identifiers: components["schemas"]["AgentIdentifiers"];
4076
+ };
4077
+ SuggestionContributor: {
4078
+ agent: {
4079
+ /** @constant */
4080
+ type: "ContributorAgentSuggestion";
4081
+ } & components["schemas"]["SuggestionAgentBase"];
4082
+ /**
4083
+ * Role
4084
+ * @description The Role shows which function the Agent has had in the process of producing an entity.
4085
+ */
4086
+ roles: components["schemas"]["CordataEnumContributorRoleTranslated"][];
4087
+ };
4088
+ Suggestion: {
4089
+ /** @constant */
4090
+ type: "WorkSuggestion";
4091
+ /** @constant */
4092
+ entityType: "work";
4093
+ id: components["schemas"]["Id"];
4094
+ workType: components["schemas"]["CordataEnumWorkTypeTranslated"];
4095
+ expressionTypes: components["schemas"]["CordataEnumExpressionTypeTranslated"][];
4096
+ title: string;
4097
+ identifiers: components["schemas"]["WorkIdentifiers"];
4098
+ contributors: components["schemas"]["SuggestionContributor"][];
4099
+ } | ({
4100
+ /** @constant */
4101
+ type: "AgentSuggestion";
4102
+ } & components["schemas"]["SuggestionAgentBase"]) | {
4103
+ /** @constant */
4104
+ type: "CollectionSuggestion";
4105
+ /** @constant */
4106
+ entityType: "collection_work";
4107
+ collectionType: components["schemas"]["CordataEnumCollectionTypeTranslated"];
4108
+ workType?: components["schemas"]["CordataEnumWorkTypeTranslated"];
4109
+ expressionTypes?: components["schemas"]["CordataEnumExpressionTypeTranslated"][];
4110
+ id: components["schemas"]["Id"];
4111
+ title: string;
4112
+ identifiers: components["schemas"]["CollectionWorkIdentifiers"];
4113
+ contributors: components["schemas"]["SuggestionContributor"][];
4114
+ } | {
4115
+ /** @constant */
4116
+ type: "SubjectSuggestion";
4117
+ /** @constant */
4118
+ entityType: "subject";
4119
+ id: components["schemas"]["Id"];
4120
+ label: string;
4121
+ /** @description Map of other identifiers for the entity. */
4122
+ identifiers: {
4123
+ bibbiAuthorityId?: string;
4124
+ /** @description Identifier from Norske emneord (NEO). */
4125
+ neoUri?: string;
4126
+ norafId?: string;
4127
+ /** @description Unique ID assigned to an agent in Bokbasen. */
4128
+ bokbasenId?: string;
4129
+ /** @description International Standard Name Identifier. */
4130
+ isni?: string;
4131
+ };
4132
+ };
4133
+ SearchSuggestions200Response: {
4134
+ results: {
4135
+ suggestion: components["schemas"]["Suggestion"];
4136
+ }[];
4137
+ warnings?: {
4138
+ /** @enum {string} */
4139
+ code: "query_too_short" | "advanced_search_detected";
4140
+ message: string;
4141
+ }[];
4142
+ };
3894
4143
  LibrarySystem: {
3895
4144
  /** @constant */
3896
4145
  librarySystemType: "bibliofil";
@@ -4328,6 +4577,86 @@ interface operations {
4328
4577
  };
4329
4578
  };
4330
4579
  };
4580
+ searchSubjects: {
4581
+ parameters: {
4582
+ query?: {
4583
+ /** @description The search query. */
4584
+ query?: components["parameters"]["QueryParameter"];
4585
+ /** @description Page size (default 10).
4586
+ * It's important to be aware that, the page size here is only a preferred page size, the result set can be both small and greater, depending on the implementation from the LMS provider.
4587
+ * This is important to consider in any product design.
4588
+ * */
4589
+ size?: components["parameters"]["SizeParameter"];
4590
+ /** @description Page number (default 1). */
4591
+ page?: components["parameters"]["PageParameter"];
4592
+ /** @description The filters are AND'ed together.
4593
+ * All filters support multiple comma-separated values that are OR'ed together except `catalogue`.
4594
+ * */
4595
+ filter?: components["schemas"]["SubjectSearchFilterType"];
4596
+ /** @description Sorting */
4597
+ sort?: components["schemas"]["SubjectSearchSortType"];
4598
+ facet?: components["schemas"]["SubjectSearchFacetType"][];
4599
+ /** @description Return this number of facet terms for each requested facet (default 10). */
4600
+ facet_terms_size?: components["parameters"]["FacetTermsSizeParameter"];
4601
+ /** @description The UI language determines the language of human-readable labels and descriptions in the API responses.
4602
+ * */
4603
+ ui_language?: components["parameters"]["UiLanguageParameter"];
4604
+ /** @description Feature flags for enabling or disabling experimental features in the API. These flags are intended for testing and may be removed without notice.
4605
+ * */
4606
+ ft?: components["parameters"]["FeatureFlagParameter"];
4607
+ };
4608
+ header?: never;
4609
+ path: {
4610
+ /** @description The search profile defines the scope of the search. Each library has their own search profile. A special search profile called "global" is available for searching across all libraries.
4611
+ * */
4612
+ searchProfile: components["parameters"]["SearchProfileParameter"];
4613
+ };
4614
+ cookie?: never;
4615
+ };
4616
+ requestBody?: never;
4617
+ responses: {
4618
+ /** @description List of subjects */
4619
+ 200: {
4620
+ headers: {
4621
+ [name: string]: unknown;
4622
+ };
4623
+ content: {
4624
+ "application/json": components["schemas"]["SearchSubjects200Response"];
4625
+ };
4626
+ };
4627
+ };
4628
+ };
4629
+ getSubjects: {
4630
+ parameters: {
4631
+ query: {
4632
+ /** @description Comma-separated IDs. Accepts different formats where appropriate.
4633
+ * */
4634
+ ids: components["parameters"]["IdsParameter"];
4635
+ /** @description The UI language determines the language of human-readable labels and descriptions in the API responses.
4636
+ * */
4637
+ ui_language?: components["parameters"]["UiLanguageParameter"];
4638
+ };
4639
+ header?: never;
4640
+ path: {
4641
+ /** @description The search profile defines the scope of the search. Each library has their own search profile. A special search profile called "global" is available for searching across all libraries.
4642
+ * */
4643
+ searchProfile: components["parameters"]["SearchProfileParameter"];
4644
+ };
4645
+ cookie?: never;
4646
+ };
4647
+ requestBody?: never;
4648
+ responses: {
4649
+ /** @description List of subjects */
4650
+ 200: {
4651
+ headers: {
4652
+ [name: string]: unknown;
4653
+ };
4654
+ content: {
4655
+ "application/json": components["schemas"]["GetSubjects200Response"];
4656
+ };
4657
+ };
4658
+ };
4659
+ };
4331
4660
  getCatalogueRecords: {
4332
4661
  parameters: {
4333
4662
  query: {
@@ -4380,6 +4709,67 @@ interface operations {
4380
4709
  };
4381
4710
  };
4382
4711
  };
4712
+ searchSuggestions: {
4713
+ parameters: {
4714
+ query?: {
4715
+ /** @description The search query. */
4716
+ query?: components["parameters"]["QueryParameter"];
4717
+ /** @description Page size (default 10).
4718
+ * It's important to be aware that, the page size here is only a preferred page size, the result set can be both small and greater, depending on the implementation from the LMS provider.
4719
+ * This is important to consider in any product design.
4720
+ * */
4721
+ size?: components["parameters"]["SizeParameter"];
4722
+ /** @description The filters are AND'ed together.
4723
+ * These filters support multiple comma-separated values that are OR'ed together:
4724
+ * `type`
4725
+ * */
4726
+ filter?: components["schemas"]["SuggestionSearchFilterType"];
4727
+ /** @description The UI language determines the language of human-readable labels and descriptions in the API responses.
4728
+ * */
4729
+ ui_language?: components["parameters"]["UiLanguageParameter"];
4730
+ /** @description Feature flags for enabling or disabling experimental features in the API. These flags are intended for testing and may be removed without notice.
4731
+ * */
4732
+ ft?: components["parameters"]["FeatureFlagParameter"];
4733
+ };
4734
+ header?: never;
4735
+ path: {
4736
+ /** @description The search profile defines the scope of the search. Each library has their own search profile. A special search profile called "global" is available for searching across all libraries.
4737
+ * */
4738
+ searchProfile: components["parameters"]["SearchProfileParameter"];
4739
+ };
4740
+ cookie?: never;
4741
+ };
4742
+ requestBody?: never;
4743
+ responses: {
4744
+ /** @description List of suggestions */
4745
+ 200: {
4746
+ headers: {
4747
+ [name: string]: unknown;
4748
+ };
4749
+ content: {
4750
+ "application/json": components["schemas"]["SearchSuggestions200Response"];
4751
+ };
4752
+ };
4753
+ /** @description Search profile not found */
4754
+ 404: {
4755
+ headers: {
4756
+ [name: string]: unknown;
4757
+ };
4758
+ content: {
4759
+ "application/problem+json": components["schemas"]["SearchProfileNotFoundError"];
4760
+ };
4761
+ };
4762
+ /** @description Request validation error */
4763
+ 422: {
4764
+ headers: {
4765
+ [name: string]: unknown;
4766
+ };
4767
+ content: {
4768
+ "application/problem+json": components["schemas"]["RequestValidationError"];
4769
+ };
4770
+ };
4771
+ };
4772
+ };
4383
4773
  getSearchProfiles: {
4384
4774
  parameters: {
4385
4775
  query?: {
@@ -4542,11 +4932,21 @@ declare const cordataEnumExpressionTypeMap: {
4542
4932
  readonly comments: null;
4543
4933
  readonly domain: "cordata";
4544
4934
  readonly work_type: "literary";
4545
- readonly preferred_plural_name: {
4935
+ readonly preferred_name_definite: {
4936
+ readonly nb: "boken";
4937
+ readonly nn: "boka";
4938
+ readonly en: "book";
4939
+ };
4940
+ readonly preferred_name_plural: {
4546
4941
  readonly nb: "bøker";
4547
4942
  readonly nn: "bøker";
4548
4943
  readonly en: "books";
4549
4944
  };
4945
+ readonly preferred_name_definite_plural: {
4946
+ readonly nb: "bøkene";
4947
+ readonly nn: "bøkene";
4948
+ readonly en: "books";
4949
+ };
4550
4950
  readonly type: "expression_type";
4551
4951
  };
4552
4952
  readonly audiobook: {
@@ -4560,11 +4960,21 @@ declare const cordataEnumExpressionTypeMap: {
4560
4960
  readonly comments: null;
4561
4961
  readonly domain: "cordata";
4562
4962
  readonly work_type: "literary";
4563
- readonly preferred_plural_name: {
4963
+ readonly preferred_name_definite: {
4964
+ readonly nb: "lydboken";
4965
+ readonly nn: "lydboka";
4966
+ readonly en: "audiobook";
4967
+ };
4968
+ readonly preferred_name_plural: {
4564
4969
  readonly nb: "lydbøker";
4565
4970
  readonly nn: "lydbøker";
4566
4971
  readonly en: "audiobooks";
4567
4972
  };
4973
+ readonly preferred_name_definite_plural: {
4974
+ readonly nb: "lydbøkene";
4975
+ readonly nn: "lydbøkene";
4976
+ readonly en: "audiobooks";
4977
+ };
4568
4978
  readonly type: "expression_type";
4569
4979
  };
4570
4980
  readonly combined: {
@@ -4578,11 +4988,21 @@ declare const cordataEnumExpressionTypeMap: {
4578
4988
  readonly comments: null;
4579
4989
  readonly domain: "cordata";
4580
4990
  readonly work_type: "literary";
4581
- readonly preferred_plural_name: {
4991
+ readonly preferred_name_definite: {
4992
+ readonly nb: "kombidokumentet";
4993
+ readonly nn: "kombidokumentet";
4994
+ readonly en: "mixed materials";
4995
+ };
4996
+ readonly preferred_name_plural: {
4582
4997
  readonly nb: "kombidokumenter";
4583
4998
  readonly nn: "kombidokument";
4584
4999
  readonly en: "mixed materials";
4585
5000
  };
5001
+ readonly preferred_name_definite_plural: {
5002
+ readonly nb: "kombidokumentene";
5003
+ readonly nn: "kombidokumenta";
5004
+ readonly en: "mixed materials";
5005
+ };
4586
5006
  readonly type: "expression_type";
4587
5007
  };
4588
5008
  readonly box_set: {
@@ -4596,11 +5016,21 @@ declare const cordataEnumExpressionTypeMap: {
4596
5016
  readonly comments: null;
4597
5017
  readonly domain: "cordata";
4598
5018
  readonly work_type: "literary";
4599
- readonly preferred_plural_name: {
5019
+ readonly preferred_name_definite: {
5020
+ readonly nb: "samleboksen";
5021
+ readonly nn: "samleboksen";
5022
+ readonly en: "box set";
5023
+ };
5024
+ readonly preferred_name_plural: {
4600
5025
  readonly nb: "samlebokser";
4601
5026
  readonly nn: "samleboksar";
4602
5027
  readonly en: "box sets";
4603
5028
  };
5029
+ readonly preferred_name_definite_plural: {
5030
+ readonly nb: "samleboksene";
5031
+ readonly nn: "samleboksane";
5032
+ readonly en: "box sets";
5033
+ };
4604
5034
  readonly type: "expression_type";
4605
5035
  };
4606
5036
  readonly atlas: {
@@ -4614,11 +5044,21 @@ declare const cordataEnumExpressionTypeMap: {
4614
5044
  readonly comments: null;
4615
5045
  readonly domain: "cordata";
4616
5046
  readonly work_type: "cartographic";
4617
- readonly preferred_plural_name: {
5047
+ readonly preferred_name_definite: {
5048
+ readonly nb: "atlaset";
5049
+ readonly nn: "atlaset";
5050
+ readonly en: "atlas";
5051
+ };
5052
+ readonly preferred_name_plural: {
4618
5053
  readonly nb: "atlas";
4619
5054
  readonly nn: "atlas";
4620
5055
  readonly en: "atlases";
4621
5056
  };
5057
+ readonly preferred_name_definite_plural: {
5058
+ readonly nb: "atlasene";
5059
+ readonly nn: "atlasa";
5060
+ readonly en: "atlases";
5061
+ };
4622
5062
  readonly type: "expression_type";
4623
5063
  };
4624
5064
  readonly map: {
@@ -4632,11 +5072,21 @@ declare const cordataEnumExpressionTypeMap: {
4632
5072
  readonly comments: null;
4633
5073
  readonly domain: "cordata";
4634
5074
  readonly work_type: "cartographic";
4635
- readonly preferred_plural_name: {
5075
+ readonly preferred_name_definite: {
5076
+ readonly nb: "kartet";
5077
+ readonly nn: "kartet";
5078
+ readonly en: "map";
5079
+ };
5080
+ readonly preferred_name_plural: {
4636
5081
  readonly nb: "kart";
4637
5082
  readonly nn: "kart";
4638
5083
  readonly en: "maps";
4639
5084
  };
5085
+ readonly preferred_name_definite_plural: {
5086
+ readonly nb: "kartene";
5087
+ readonly nn: "karta";
5088
+ readonly en: "maps";
5089
+ };
4640
5090
  readonly type: "expression_type";
4641
5091
  };
4642
5092
  readonly musical_recording: {
@@ -4650,11 +5100,21 @@ declare const cordataEnumExpressionTypeMap: {
4650
5100
  readonly comments: null;
4651
5101
  readonly domain: "cordata";
4652
5102
  readonly work_type: "music";
4653
- readonly preferred_plural_name: {
5103
+ readonly preferred_name_definite: {
5104
+ readonly nb: "musikkinnspillingen";
5105
+ readonly nn: "musikkinnspelinga";
5106
+ readonly en: "musical recording";
5107
+ };
5108
+ readonly preferred_name_plural: {
4654
5109
  readonly nb: "musikkinnspillinger";
4655
5110
  readonly nn: "musikkinnspelingar";
4656
5111
  readonly en: "musical recordings";
4657
5112
  };
5113
+ readonly preferred_name_definite_plural: {
5114
+ readonly nb: "musikkinnspillingene";
5115
+ readonly nn: "musikkinnspelingane";
5116
+ readonly en: "musical recordings";
5117
+ };
4658
5118
  readonly type: "expression_type";
4659
5119
  };
4660
5120
  readonly musical_notation: {
@@ -4668,11 +5128,21 @@ declare const cordataEnumExpressionTypeMap: {
4668
5128
  readonly comments: null;
4669
5129
  readonly domain: "cordata";
4670
5130
  readonly work_type: "music";
4671
- readonly preferred_plural_name: {
5131
+ readonly preferred_name_definite: {
5132
+ readonly nb: "musikknotasjonen";
5133
+ readonly nn: "musikknotasjonen";
5134
+ readonly en: "musical notation";
5135
+ };
5136
+ readonly preferred_name_plural: {
4672
5137
  readonly nb: "musikknotasjon";
4673
5138
  readonly nn: "musikknotasjon";
4674
5139
  readonly en: "musical notation";
4675
5140
  };
5141
+ readonly preferred_name_definite_plural: {
5142
+ readonly nb: "musikknotasjonen";
5143
+ readonly nn: "musikknotasjonen";
5144
+ readonly en: "musical notation";
5145
+ };
4676
5146
  readonly type: "expression_type";
4677
5147
  };
4678
5148
  readonly movie: {
@@ -4686,11 +5156,21 @@ declare const cordataEnumExpressionTypeMap: {
4686
5156
  readonly comments: null;
4687
5157
  readonly domain: "cordata";
4688
5158
  readonly work_type: "moving_image";
4689
- readonly preferred_plural_name: {
5159
+ readonly preferred_name_definite: {
5160
+ readonly nb: "filmen";
5161
+ readonly nn: "filmen";
5162
+ readonly en: "movie";
5163
+ };
5164
+ readonly preferred_name_plural: {
4690
5165
  readonly nb: "filmer";
4691
5166
  readonly nn: "filmar";
4692
5167
  readonly en: "movies";
4693
5168
  };
5169
+ readonly preferred_name_definite_plural: {
5170
+ readonly nb: "filmene";
5171
+ readonly nn: "filmane";
5172
+ readonly en: "movies";
5173
+ };
4694
5174
  readonly type: "expression_type";
4695
5175
  };
4696
5176
  readonly videogame: {
@@ -4704,11 +5184,21 @@ declare const cordataEnumExpressionTypeMap: {
4704
5184
  readonly comments: null;
4705
5185
  readonly domain: "cordata";
4706
5186
  readonly work_type: "interactive";
4707
- readonly preferred_plural_name: {
5187
+ readonly preferred_name_definite: {
5188
+ readonly nb: "dataspillet";
5189
+ readonly nn: "dataspelet";
5190
+ readonly en: "video game";
5191
+ };
5192
+ readonly preferred_name_plural: {
4708
5193
  readonly nb: "dataspill";
4709
5194
  readonly nn: "dataspel";
4710
5195
  readonly en: "video games";
4711
5196
  };
5197
+ readonly preferred_name_definite_plural: {
5198
+ readonly nb: "dataspillene";
5199
+ readonly nn: "dataspela";
5200
+ readonly en: "video games";
5201
+ };
4712
5202
  readonly type: "expression_type";
4713
5203
  };
4714
5204
  readonly software: {
@@ -4722,11 +5212,21 @@ declare const cordataEnumExpressionTypeMap: {
4722
5212
  readonly comments: null;
4723
5213
  readonly domain: "cordata";
4724
5214
  readonly work_type: "interactive";
4725
- readonly preferred_plural_name: {
5215
+ readonly preferred_name_definite: {
5216
+ readonly nb: "programvaren";
5217
+ readonly nn: "programvaren";
5218
+ readonly en: "software";
5219
+ };
5220
+ readonly preferred_name_plural: {
4726
5221
  readonly nb: "programvare";
4727
5222
  readonly nn: "programvare";
4728
5223
  readonly en: "software";
4729
5224
  };
5225
+ readonly preferred_name_definite_plural: {
5226
+ readonly nb: "programvaren";
5227
+ readonly nn: "programvaren";
5228
+ readonly en: "software";
5229
+ };
4730
5230
  readonly type: "expression_type";
4731
5231
  };
4732
5232
  readonly board_game: {
@@ -4740,11 +5240,21 @@ declare const cordataEnumExpressionTypeMap: {
4740
5240
  readonly comments: null;
4741
5241
  readonly domain: "cordata";
4742
5242
  readonly work_type: "interactive";
4743
- readonly preferred_plural_name: {
5243
+ readonly preferred_name_definite: {
5244
+ readonly nb: "brettspillet";
5245
+ readonly nn: "brettspillet";
5246
+ readonly en: "board game";
5247
+ };
5248
+ readonly preferred_name_plural: {
4744
5249
  readonly nb: "brettspill";
4745
5250
  readonly nn: "brettspel";
4746
5251
  readonly en: "board games";
4747
5252
  };
5253
+ readonly preferred_name_definite_plural: {
5254
+ readonly nb: "brettspillene";
5255
+ readonly nn: "brettspela";
5256
+ readonly en: "board games";
5257
+ };
4748
5258
  readonly type: "expression_type";
4749
5259
  };
4750
5260
  };
@@ -9509,4 +10019,4 @@ type BmdbSearchClient = Client<BmdbCordataApiV1Paths>;
9509
10019
  declare const createBmdbFetchClient: (options: BmdbSearchClientOptions) => BmdbSearchClient;
9510
10020
  //#endregion
9511
10021
  export { serializeCatalogueRecordId as C, serializeCatalogueId as E, parseCatalogueRecordId as S, parseCatalogueId as T, ParsedDigitalServiceRecordId as _, BmdbApiSchemas as a, CatalogueRecordId as b, isCordataEnumAgeGroupCode as c, isCordataEnumExpressionTypeCode as d, isCordataEnumLanguageCode as f, DigitalServiceRecordId as g, formatIsbdTitle as h, BmdbApiPaths as i, isCordataEnumAgeLimitCode as l, isCordataEnumWorkTypeCode as m, BmdbSearchClientOptions as n, BmdbCordataApiV1Paths as o, isCordataEnumManifestationMediumCode as p, createBmdbFetchClient as r, BmdbCordataApiV1Schemas as s, BmdbSearchClient as t, isCordataEnumContributorRoleCode as u, parseDigitalServiceRecordId as v, ParsedCatalogueId as w, ParsedCatalogueRecordId as x, serializeDigitalServiceRecordId as y };
9512
- //# sourceMappingURL=index-DqejK_yd.d.cts.map
10022
+ //# sourceMappingURL=index-h3JijBsk.d.cts.map