diff --git a/src/types.ts b/src/types.ts index 30208e4..4d3ffc1 100644 --- a/src/types.ts +++ b/src/types.ts @@ -55,6 +55,7 @@ export type PagerDutyService = { summary?: string; self?: string; html_url: string; + account?: string; } /** @public */ @@ -65,6 +66,7 @@ export type PagerDutyEscalationPolicy = { summary?: string; self?: string; html_url?: string; + account?: string; } /** @public */ @@ -254,6 +256,16 @@ export type PagerDutyOAuthConfig = { subDomain: string; } +/** @public */ +export type PagerDutyAccountConfig = { + id: string; + isDefault?: boolean; + eventsBaseUrl?: string; + apiBaseUrl?: string; + apiToken?: string; + oauth?: PagerDutyOAuthConfig; +} + /** @public */ export type PagerDutyEntityMapping = { entityRef: string; @@ -266,6 +278,7 @@ export type PagerDutyEntityMapping = { processedDate?: Date; team?: string; escalationPolicy?: string; + account?: string; }; /** @public */