diff --git a/src/types.ts b/src/types.ts index 4d3ffc1..61916d8 100644 --- a/src/types.ts +++ b/src/types.ts @@ -290,3 +290,33 @@ export type PagerDutyEntityMappingsResponse = { export type PagerDutyEntityMappingResponse = { mapping: PagerDutyEntityMapping; }; + +/** @public */ +export type PagerDutyServiceDependencyReference = { + id: string; + type: string; +} + +/** @public */ +export type PagerDutyServiceDependency = { + id?: string, + type?: string, + supporting_service: PagerDutyServiceDependencyReference, + dependent_service: PagerDutyServiceDependencyReference, +} + +/** @public */ +export type PagerDutyServiceDependencyResponse = { + relationships: PagerDutyServiceDependency[]; +} + +/** @public */ +export type PagerDutySetting = { + id: string; + value: "backstage" | "pagerduty" | "both" | "disabled"; +} + +/** @public */ +export type PagerDutySettings = { + settings: PagerDutySetting[]; +} \ No newline at end of file