From f5e697ec0f9b5bc01eb9e731f47e91bc8812804d Mon Sep 17 00:00:00 2001 From: Jakub Duras Date: Fri, 28 Aug 2026 08:41:27 +0000 Subject: [PATCH 1/2] feat(app-client): add P1Y to hook interval enums Mirrors the app-api manifest schema change; types regenerated. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01Ud4GPLxfL8mSWG7FGNibzp --- .changeset/app-client-p1y-interval.md | 5 +++++ clients/app-client/src/openapi.d.ts | 6 +++--- clients/app-client/src/openapi.json | 9 ++++++--- 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 .changeset/app-client-p1y-interval.md diff --git a/.changeset/app-client-p1y-interval.md b/.changeset/app-client-p1y-interval.md new file mode 100644 index 00000000..d00f4a87 --- /dev/null +++ b/.changeset/app-client-p1y-interval.md @@ -0,0 +1,5 @@ +--- +"@epilot/app-client": minor +--- + +Accept `P1Y` in the portal extension hook `intervals` enums, mirroring the app-api manifest schema and customer-portal-api's `P1Y` visualization interval. diff --git a/clients/app-client/src/openapi.d.ts b/clients/app-client/src/openapi.d.ts index 3a805b19..6cdab956 100644 --- a/clients/app-client/src/openapi.d.ts +++ b/clients/app-client/src/openapi.d.ts @@ -2098,7 +2098,7 @@ declare namespace Components { * Intervals supported by the API. If omitted, it is assumed that all intervals are supported. * */ - intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M")[]; + intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y")[]; auth?: PortalExtensionAuthBlock; call: { /** @@ -2269,7 +2269,7 @@ declare namespace Components { * Intervals supported by the API. If omitted, it is assumed that all intervals are supported. * */ - intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M")[]; + intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y")[]; auth?: PortalExtensionAuthBlock; call: { /** @@ -2600,7 +2600,7 @@ declare namespace Components { * Intervals supported by the API. If omitted, it is assumed that all intervals are supported. * */ - intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M")[]; + intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y")[]; auth?: PortalExtensionAuthBlock; call: { /** diff --git a/clients/app-client/src/openapi.json b/clients/app-client/src/openapi.json index d8b2e90d..4a44abb3 100644 --- a/clients/app-client/src/openapi.json +++ b/clients/app-client/src/openapi.json @@ -3375,7 +3375,8 @@ "PT15M", "PT1H", "P1D", - "P1M" + "P1M", + "P1Y" ] } }, @@ -3486,7 +3487,8 @@ "PT15M", "PT1H", "P1D", - "P1M" + "P1M", + "P1Y" ] } }, @@ -3789,7 +3791,8 @@ "PT15M", "PT1H", "P1D", - "P1M" + "P1M", + "P1Y" ] } }, From b7fdac63a7724ef1fc202f2278ee1c8344988751 Mon Sep 17 00:00:00 2001 From: Jakub Duras Date: Fri, 28 Aug 2026 11:42:30 +0200 Subject: [PATCH 2/2] Delete .changeset/app-client-p1y-interval.md --- .changeset/app-client-p1y-interval.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .changeset/app-client-p1y-interval.md diff --git a/.changeset/app-client-p1y-interval.md b/.changeset/app-client-p1y-interval.md deleted file mode 100644 index d00f4a87..00000000 --- a/.changeset/app-client-p1y-interval.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@epilot/app-client": minor ---- - -Accept `P1Y` in the portal extension hook `intervals` enums, mirroring the app-api manifest schema and customer-portal-api's `P1Y` visualization interval.