Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/services/institutionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ interface InstitutionListRequest {
// response. If not provided or set to false, only enabled institutions will be
// returned.

include_disabled?: boolean;
include_disabled?: `${Types.InstitutionIncludeDisabled}`;

// The scheme that institutions support. The available options include
// `faster_payments`, `sepa_credit_transfer`, and
Expand All @@ -57,10 +57,10 @@ interface InstitutionListForBillingRequestRequest {
ids?: string[];

// Indicates whether to include temporarily disabled institutions in the
// response.
// If not provided or set to false, only enabled institutions will be returned.
// response. If not provided or set to false, only enabled institutions will be
// returned.

include_disabled?: boolean;
include_disabled?: `${Types.InstitutionIncludeDisabled}`;

// A search substring for retrieving institution(s), based on the institution's
// name.
Expand Down
5 changes: 5 additions & 0 deletions src/types/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5025,6 +5025,11 @@ export type InstitutionBranchCode = {};
// eslint-disable-next-line @typescript-eslint/no-empty-object-type -- the InstitutionFeature schema has no properties
export type InstitutionFeature = {};

export enum InstitutionIncludeDisabled {
True = 'true',
False = 'false',
}

/** Type for a institutionscheme resource. */
// eslint-disable-next-line @typescript-eslint/no-empty-object-type -- the InstitutionScheme schema has no properties
export type InstitutionScheme = {};
Expand Down
Loading