-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
/external/agencyid/catalog/holdingsLogistics/v1
to FBS adapter
This is necessary because some of the libraries use that system instead of `/external/agencyid/catalog/holdings/v3`. https://reload.atlassian.net/browse/DDFHER-83
- Loading branch information
1 parent
3d2fc45
commit ce9fb42
Showing
8 changed files
with
272 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Generated by orval v6.26.0 🍺 | ||
* Do not edit manually. | ||
* FBS Adapter | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
|
||
export interface AgencySection { | ||
/** Section identifier */ | ||
sectionId?: string; | ||
/** Name of the section */ | ||
title?: string; | ||
} |
17 changes: 17 additions & 0 deletions
17
src/core/fbs/model/getExternalAgencyidCatalogHoldingsLogisticsV1Params.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* Generated by orval v6.26.0 🍺 | ||
* Do not edit manually. | ||
* FBS Adapter | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
|
||
export type GetExternalAgencyidCatalogHoldingsLogisticsV1Params = { | ||
/** | ||
* Identifies the bibliographical records - The FAUST number. | ||
*/ | ||
recordid: string[]; | ||
/** | ||
* Identifies the branchIds which are excluded from the result. | ||
*/ | ||
exclude?: string[]; | ||
}; |
17 changes: 17 additions & 0 deletions
17
src/core/fbs/model/holdingsForBibliographicalRecordLogisticsV1.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* Generated by orval v6.26.0 🍺 | ||
* Do not edit manually. | ||
* FBS Adapter | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
import type { HoldingsLogisticsV1 } from "./holdingsLogisticsV1"; | ||
|
||
export interface HoldingsForBibliographicalRecordLogisticsV1 { | ||
holdings: HoldingsLogisticsV1[]; | ||
/** Identifies the bibliographical record for the available materials, The FAUST number */ | ||
recordId: string; | ||
/** True if there is any reservable materials */ | ||
reservable?: boolean; | ||
/** Total number of current active reservations for the bibliographical record */ | ||
reservations?: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* Generated by orval v6.26.0 🍺 | ||
* Do not edit manually. | ||
* FBS Adapter | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
import type { AgencyBranch } from "./agencyBranch"; | ||
import type { PlacementV1 } from "./placementV1"; | ||
import type { MaterialV3 } from "./materialV3"; | ||
|
||
export interface HoldingsLogisticsV1 { | ||
branch: AgencyBranch; | ||
lmsPlacement?: PlacementV1; | ||
/** Logistics placement information in an array of strings. */ | ||
logisticsPlacement?: string[]; | ||
materials: MaterialV3[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* Generated by orval v6.26.0 🍺 | ||
* Do not edit manually. | ||
* FBS Adapter | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
import type { AgencyDepartment } from "./agencyDepartment"; | ||
import type { AgencyLocation } from "./agencyLocation"; | ||
import type { AgencySection } from "./agencySection"; | ||
import type { AgencySublocation } from "./agencySublocation"; | ||
|
||
export interface PlacementV1 { | ||
department?: AgencyDepartment; | ||
location?: AgencyLocation; | ||
section?: AgencySection; | ||
sublocation?: AgencySublocation; | ||
} |