diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz deleted file mode 100644 index 6092b72..0000000 Binary files a/.yarn/install-state.gz and /dev/null differ 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 */ diff --git a/yarn.lock b/yarn.lock index b429254..3c4ef4f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -31,6 +31,15 @@ __metadata: languageName: node linkType: hard +"@azure/abort-controller@npm:^2.0.0": + version: 2.1.2 + resolution: "@azure/abort-controller@npm:2.1.2" + dependencies: + tslib: ^2.6.2 + checksum: 22176c04ea01498311c6bbd336669f6e3faffad1cbb0c9ebc6ee9c1ff2cf958fd17ce73c7354b99d8bda9fcd311325ece7bee248875279174e3fc460e8b1a63d + languageName: node + linkType: hard + "@azure/core-auth@npm:^1.4.0, @azure/core-auth@npm:^1.5.0": version: 1.5.0 resolution: "@azure/core-auth@npm:1.5.0" @@ -42,18 +51,18 @@ __metadata: languageName: node linkType: hard -"@azure/core-client@npm:^1.4.0": - version: 1.7.3 - resolution: "@azure/core-client@npm:1.7.3" +"@azure/core-client@npm:^1.9.2": + version: 1.9.2 + resolution: "@azure/core-client@npm:1.9.2" dependencies: - "@azure/abort-controller": ^1.0.0 + "@azure/abort-controller": ^2.0.0 "@azure/core-auth": ^1.4.0 "@azure/core-rest-pipeline": ^1.9.1 "@azure/core-tracing": ^1.0.0 - "@azure/core-util": ^1.0.0 + "@azure/core-util": ^1.6.1 "@azure/logger": ^1.0.0 - tslib: ^2.2.0 - checksum: 155a188b75b2d5ea783d5fde50479337c41796736f0fced1576466c8251e429195c229f2aff0bf897761f15c19d8fd0deea9a54aab514bd3584e37140e3f0cdc + tslib: ^2.6.2 + checksum: 961b829dfda4f734a763e9480a2ea622a7031ba2da4126d0add6e351a9f73ddc5782bf2b766735d976b61da3857014e0a90223d1f85d1c68468747a7a56851c3 languageName: node linkType: hard @@ -82,7 +91,7 @@ __metadata: languageName: node linkType: hard -"@azure/core-util@npm:^1.0.0, @azure/core-util@npm:^1.1.0, @azure/core-util@npm:^1.3.0": +"@azure/core-util@npm:^1.1.0, @azure/core-util@npm:^1.3.0": version: 1.6.1 resolution: "@azure/core-util@npm:1.6.1" dependencies: @@ -92,25 +101,35 @@ __metadata: languageName: node linkType: hard +"@azure/core-util@npm:^1.6.1": + version: 1.9.1 + resolution: "@azure/core-util@npm:1.9.1" + dependencies: + "@azure/abort-controller": ^2.0.0 + tslib: ^2.6.2 + checksum: 6b6a11c717b1563c0857bd4035158908aba29712389ebb548f846fa9e9a9ce71ce4a5b89bde06a1468749b3bbf5739e477bb92c3517e5fbd78850553188dfdd5 + languageName: node + linkType: hard + "@azure/identity@npm:^4.0.0": - version: 4.0.0 - resolution: "@azure/identity@npm:4.0.0" + version: 4.3.0 + resolution: "@azure/identity@npm:4.3.0" dependencies: "@azure/abort-controller": ^1.0.0 "@azure/core-auth": ^1.5.0 - "@azure/core-client": ^1.4.0 + "@azure/core-client": ^1.9.2 "@azure/core-rest-pipeline": ^1.1.0 "@azure/core-tracing": ^1.0.0 - "@azure/core-util": ^1.0.0 + "@azure/core-util": ^1.3.0 "@azure/logger": ^1.0.0 - "@azure/msal-browser": ^3.5.0 - "@azure/msal-node": ^2.5.1 + "@azure/msal-browser": ^3.11.1 + "@azure/msal-node": ^2.9.2 events: ^3.0.0 jws: ^4.0.0 open: ^8.0.0 stoppable: ^1.1.0 tslib: ^2.2.0 - checksum: 534a62afe4715d18e221e021f8088873b1efad34344bd4c6c4685572c89517f15a646e246e9233e8db7942b0a5c73f1961ea63e3baf39c28edde1ba51da4423d + checksum: 7f4256b39c4e27bf072c33f02dd63bd50dcf54ad578e3e483dcf89283546a6086b1640adfe4c93a537cbe483dd2e3a29f6d7b837e51f333229f7bbbc448966b3 languageName: node linkType: hard @@ -123,30 +142,30 @@ __metadata: languageName: node linkType: hard -"@azure/msal-browser@npm:^3.5.0": - version: 3.7.0 - resolution: "@azure/msal-browser@npm:3.7.0" +"@azure/msal-browser@npm:^3.11.1": + version: 3.18.0 + resolution: "@azure/msal-browser@npm:3.18.0" dependencies: - "@azure/msal-common": 14.6.0 - checksum: 43937c489c6881fa1c523af9e3483c9585dab2c25002aa8159efddaa7eaa4a09aca430ba18857d11ff67a8a0c447dd47c8effaf0dbd611a45f9b98556ac0a406 + "@azure/msal-common": 14.13.0 + checksum: 9832790e35df64f1d79b69d9e73b9fd3aece9229bb6c1a306a0746d57179f0ae0b22e8328af0f5c1d2448b617303eb45109de5aafe6b4898874d733068504a44 languageName: node linkType: hard -"@azure/msal-common@npm:14.6.0": - version: 14.6.0 - resolution: "@azure/msal-common@npm:14.6.0" - checksum: ec58b1a7ebc4b35ebd335b927e626e09a7623011873b611cf22d159f6384f8143a54c7ab42362f5cbdbf893a3807618ad09ad38b843dca98c2fc72e54cf5b106 +"@azure/msal-common@npm:14.13.0": + version: 14.13.0 + resolution: "@azure/msal-common@npm:14.13.0" + checksum: 5f48cdd9d013189b31813c6db78098af18414fa4d721a87ec0ee2525e1de79124b643c26fafb8be4d2b2a7ab26484dbe11665d43a4d1f7b4d3ff938999f21b54 languageName: node linkType: hard -"@azure/msal-node@npm:^2.5.1": - version: 2.6.1 - resolution: "@azure/msal-node@npm:2.6.1" +"@azure/msal-node@npm:^2.9.2": + version: 2.10.0 + resolution: "@azure/msal-node@npm:2.10.0" dependencies: - "@azure/msal-common": 14.6.0 + "@azure/msal-common": 14.13.0 jsonwebtoken: ^9.0.0 uuid: ^8.3.0 - checksum: 146fa67cfee5bc9a8702c41b8b2efd75f5d21f8098afdd8ff837f416b369c6068f2d3c6ebaf6532ff732746dbd77749fc0ba23432d7c9fe4a4a29fe1ad5ed634 + checksum: a58d6f2dc1d3d61bbb525787c6a3e51c2a655a9e11135050628238cc43d6a640f2c0ed320d627e399c2d2f864d978e86a28cc4f1c15e633ed377a1ee4a6e301a languageName: node linkType: hard @@ -5303,11 +5322,11 @@ __metadata: linkType: hard "braces@npm:^3.0.2, braces@npm:~3.0.2": - version: 3.0.2 - resolution: "braces@npm:3.0.2" + version: 3.0.3 + resolution: "braces@npm:3.0.3" dependencies: - fill-range: ^7.0.1 - checksum: e2a8e769a863f3d4ee887b5fe21f63193a891c68b612ddb4b68d82d1b5f3ff9073af066c343e9867a393fe4c2555dcb33e89b937195feb9c1613d259edfcd459 + fill-range: ^7.1.1 + checksum: b95aa0b3bd909f6cd1720ffcf031aeaf46154dd88b4da01f9a1d3f7ea866a79eba76a6d01cbc3c422b2ee5cdc39a4f02491058d5df0d7bf6e6a162a832df1f69 languageName: node linkType: hard @@ -7856,12 +7875,12 @@ __metadata: languageName: node linkType: hard -"fill-range@npm:^7.0.1": - version: 7.0.1 - resolution: "fill-range@npm:7.0.1" +"fill-range@npm:^7.1.1": + version: 7.1.1 + resolution: "fill-range@npm:7.1.1" dependencies: to-regex-range: ^5.0.1 - checksum: cc283f4e65b504259e64fd969bcf4def4eb08d85565e906b7d36516e87819db52029a76b6363d0f02d0d532f0033c9603b9e2d943d56ee3b0d4f7ad3328ff917 + checksum: b4abfbca3839a3d55e4ae5ec62e131e2e356bf4859ce8480c64c4876100f4df292a63e5bb1618e1d7460282ca2b305653064f01654474aa35c68000980f17798 languageName: node linkType: hard @@ -14352,6 +14371,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.6.2": + version: 2.6.3 + resolution: "tslib@npm:2.6.3" + checksum: 74fce0e100f1ebd95b8995fbbd0e6c91bdd8f4c35c00d4da62e285a3363aaa534de40a80db30ecfd388ed7c313c42d930ee0eaf108e8114214b180eec3dbe6f5 + languageName: node + linkType: hard + "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0"