@camunda/ccma-shared-types 0.6.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/_tests/types/alertSubscription.enum.spec.d.ts +1 -0
  2. package/dist/_tests/utils/connectivityStatus.utils.spec.d.ts +1 -0
  3. package/dist/_tests/utils/secondaryStorageStatus.utils.spec.d.ts +1 -0
  4. package/dist/constants/failoverRegionPairs.const.d.ts +21 -3
  5. package/dist/constants/failoverRegionPairs.const.js +13 -1
  6. package/dist/constants/failoverRegionPairs.const.js.map +2 -2
  7. package/dist/constants/misc.const.d.ts +0 -82
  8. package/dist/constants/misc.const.js +0 -14
  9. package/dist/constants/misc.const.js.map +2 -2
  10. package/dist/constants/version-gates.const.d.ts +343 -0
  11. package/dist/constants/version-gates.const.js +109 -0
  12. package/dist/constants/version-gates.const.js.map +7 -0
  13. package/dist/dtos/AlertSubscription.dto.d.ts +1 -1
  14. package/dist/dtos/AlertSubscription.dto.js.map +1 -1
  15. package/dist/dtos/CommonCluster.dto.d.ts +21 -1
  16. package/dist/dtos/ControlV2.dto.d.ts +14 -1
  17. package/dist/dtos/K8sContext.dto.d.ts +14 -0
  18. package/dist/dtos/SalesPlan.dto.d.ts +0 -1
  19. package/dist/dtos/SalesPlan.dto.js +0 -7
  20. package/dist/dtos/SalesPlan.dto.js.map +2 -2
  21. package/dist/enums/AlertSubscription.enum.d.ts +1 -3
  22. package/dist/enums/AlertSubscription.enum.js +0 -2
  23. package/dist/enums/AlertSubscription.enum.js.map +2 -2
  24. package/dist/enums/AuditEntity.enum.d.ts +2 -0
  25. package/dist/enums/AuditEntity.enum.js +2 -0
  26. package/dist/enums/AuditEntity.enum.js.map +2 -2
  27. package/dist/index.d.ts +6 -3
  28. package/dist/index.js +113 -7
  29. package/dist/index.js.map +2 -2
  30. package/dist/types/SalesPlanType.type.d.ts +1 -1
  31. package/dist/types/hdp.types.d.ts +1 -3
  32. package/dist/types/hdp.types.js +0 -2
  33. package/dist/types/hdp.types.js.map +2 -2
  34. package/dist/utils/connectivityStatus.utils.d.ts +28 -0
  35. package/dist/utils/connectivityStatus.utils.js +32 -0
  36. package/dist/utils/connectivityStatus.utils.js.map +7 -0
  37. package/dist/utils/failoverKeyPolicy.utils.d.ts +6 -9
  38. package/dist/utils/failoverKeyPolicy.utils.js +1 -2
  39. package/dist/utils/failoverKeyPolicy.utils.js.map +2 -2
  40. package/dist/utils/secondaryStorageStatus.utils.d.ts +25 -0
  41. package/dist/utils/secondaryStorageStatus.utils.js +13 -0
  42. package/dist/utils/secondaryStorageStatus.utils.js.map +7 -0
  43. package/dist/utils/versionCheck.utils.d.ts +22 -0
  44. package/dist/utils/versionCheck.utils.js +44 -4
  45. package/dist/utils/versionCheck.utils.js.map +2 -2
  46. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export {};
@@ -11,8 +11,26 @@
11
11
  */
12
12
  export declare const SUPPORTED_FAILOVER_REGION_PAIRS: ReadonlySet<string>;
13
13
  /**
14
- * `stage` mirrors the featureflags `onlyDev` gate: the EU test pairs unlock only
15
- * on 'local'/'dev'. Omitting stage (or passing any non-dev stage) allows the
16
- * base set only, so prod never sees the dev pairs.
14
+ * GCP's prod dual-region pair. Stathis confirmed it in the same Slack thread
15
+ * as `GCP_FAILOVER_REGION_PAIRS` (#9816).
16
+ *
17
+ * `isSupportedFailoverRegionPair` reads this set on the 'prod' stage. Two
18
+ * changes made this safe: GCP clusters have no BYOK option, so the AWS-only
19
+ * key-policy screen never shows for a GCP cluster; and the operator
20
+ * clone-role logic added a GCP branch in #9835.
21
+ *
22
+ * This set does not control customer access on its own. Two independent
23
+ * gates still apply: the `failover` feature flag, which allows only
24
+ * Camunda's internal org in prod, and the `failover` plan limit, which the
25
+ * org must also have enabled. This set only tells the backend and c4 which
26
+ * region pairs to treat as failover-capable.
27
+ */
28
+ export declare const GCP_FAILOVER_REGION_PAIRS_PROD: ReadonlySet<string>;
29
+ /**
30
+ * `stage` mirrors the featureflags `onlyDev` and `onlyPreprod` gates. The EU
31
+ * test pairs unlock only on 'local' and 'dev'. The GCP test pair also unlocks
32
+ * on 'int', because dev has no GCP failover test cluster. The GCP prod pair
33
+ * unlocks only on 'prod'. When you omit stage, the function allows the base
34
+ * set only.
17
35
  */
18
36
  export declare function isSupportedFailoverRegionPair(regionA: string | undefined, regionB: string | undefined, stage?: string): boolean;
@@ -8,14 +8,26 @@ const DEV_FAILOVER_REGION_PAIRS = /* @__PURE__ */ new Set([
8
8
  "eu-west-1:eu-west-2",
9
9
  "eu-west-2:eu-west-1"
10
10
  ]);
11
+ const GCP_FAILOVER_REGION_PAIRS = /* @__PURE__ */ new Set([
12
+ "europe-north1:europe-west1",
13
+ "europe-west1:europe-north1"
14
+ ]);
15
+ const GCP_FAILOVER_REGION_PAIRS_PROD = /* @__PURE__ */ new Set([
16
+ "us-central1:us-east1",
17
+ "us-east1:us-central1"
18
+ ]);
11
19
  function isSupportedFailoverRegionPair(regionA, regionB, stage) {
12
20
  if (!regionA || !regionB) return false;
13
21
  const pair = `${regionA.toLowerCase()}:${regionB.toLowerCase()}`;
14
22
  if (SUPPORTED_FAILOVER_REGION_PAIRS.has(pair)) return true;
15
23
  const isDev = stage === "local" || stage === "dev";
16
- return isDev && DEV_FAILOVER_REGION_PAIRS.has(pair);
24
+ if (isDev && DEV_FAILOVER_REGION_PAIRS.has(pair)) return true;
25
+ const isPreprod = isDev || stage === "int";
26
+ if (isPreprod && GCP_FAILOVER_REGION_PAIRS.has(pair)) return true;
27
+ return stage === "prod" && GCP_FAILOVER_REGION_PAIRS_PROD.has(pair);
17
28
  }
18
29
  export {
30
+ GCP_FAILOVER_REGION_PAIRS_PROD,
19
31
  SUPPORTED_FAILOVER_REGION_PAIRS,
20
32
  isSupportedFailoverRegionPair
21
33
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/constants/failoverRegionPairs.const.ts"],
4
- "sourcesContent": ["/*\n * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH\n * under one or more contributor license agreements. Licensed under a commercial license.\n * You may not use this file except in compliance with the commercial license.\n */\n\n/**\n * Region pairs supported for cross-region failover (#9120). Failover is only\n * offered for dual-region clusters whose primary and secondary regions form\n * one of these reverse-region pairs \u2014 cluster creation must be supported in\n * both directions. Both directions of each pair are listed.\n *\n * This is the base set, enabled on every stage.\n *\n * Shared between console-backend (FailoverRouter guard) and c4 (hiding the\n * failover action for unsupported pairs).\n */\nexport const SUPPORTED_FAILOVER_REGION_PAIRS: ReadonlySet<string> = new Set([\n 'us-east-2:us-west-2',\n 'us-west-2:us-east-2',\n 'us-east-2:us-east-1',\n 'us-east-1:us-east-2',\n])\n\n// Dev-only test pairs: EU failover validation on dev/local before prod rollout.\nconst DEV_FAILOVER_REGION_PAIRS: ReadonlySet<string> = new Set([\n 'eu-west-1:eu-west-2',\n 'eu-west-2:eu-west-1',\n])\n\n/**\n * `stage` mirrors the featureflags `onlyDev` gate: the EU test pairs unlock only\n * on 'local'/'dev'. Omitting stage (or passing any non-dev stage) allows the\n * base set only, so prod never sees the dev pairs.\n */\nexport function isSupportedFailoverRegionPair(\n regionA: string | undefined,\n regionB: string | undefined,\n stage?: string,\n): boolean {\n if (!regionA || !regionB) return false\n const pair = `${regionA.toLowerCase()}:${regionB.toLowerCase()}`\n if (SUPPORTED_FAILOVER_REGION_PAIRS.has(pair)) return true\n const isDev = stage === 'local' || stage === 'dev'\n return isDev && DEV_FAILOVER_REGION_PAIRS.has(pair)\n}\n"],
5
- "mappings": "AAiBO,MAAM,kCAAuD,oBAAI,IAAI;AAAA,EAC1E;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAGD,MAAM,4BAAiD,oBAAI,IAAI;AAAA,EAC7D;AAAA,EACA;AACF,CAAC;AAOM,SAAS,8BACd,SACA,SACA,OACS;AACT,MAAI,CAAC,WAAW,CAAC,QAAS,QAAO;AACjC,QAAM,OAAO,GAAG,QAAQ,YAAY,CAAC,IAAI,QAAQ,YAAY,CAAC;AAC9D,MAAI,gCAAgC,IAAI,IAAI,EAAG,QAAO;AACtD,QAAM,QAAQ,UAAU,WAAW,UAAU;AAC7C,SAAO,SAAS,0BAA0B,IAAI,IAAI;AACpD;",
4
+ "sourcesContent": ["/*\n * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH\n * under one or more contributor license agreements. Licensed under a commercial license.\n * You may not use this file except in compliance with the commercial license.\n */\n\n/**\n * Region pairs supported for cross-region failover (#9120). Failover is only\n * offered for dual-region clusters whose primary and secondary regions form\n * one of these reverse-region pairs \u2014 cluster creation must be supported in\n * both directions. Both directions of each pair are listed.\n *\n * This is the base set, enabled on every stage.\n *\n * Shared between console-backend (FailoverRouter guard) and c4 (hiding the\n * failover action for unsupported pairs).\n */\nexport const SUPPORTED_FAILOVER_REGION_PAIRS: ReadonlySet<string> = new Set([\n 'us-east-2:us-west-2',\n 'us-west-2:us-east-2',\n 'us-east-2:us-east-1',\n 'us-east-1:us-east-2',\n])\n\n// Dev-only test pairs: EU failover validation on dev/local before prod rollout.\nconst DEV_FAILOVER_REGION_PAIRS: ReadonlySet<string> = new Set([\n 'eu-west-1:eu-west-2',\n 'eu-west-2:eu-west-1',\n])\n\n// GCP test pair \u2014 INT's dual region. Stathis confirmed this pair in the\n// Slack thread on #9816. This set unlocks on preprod stages only. It exists\n// to test the failover action on a second GCP region pair before that pair\n// is confirmed for prod. See `GCP_FAILOVER_REGION_PAIRS_PROD` for the pair\n// that GCP failover uses in prod.\nconst GCP_FAILOVER_REGION_PAIRS: ReadonlySet<string> = new Set([\n 'europe-north1:europe-west1',\n 'europe-west1:europe-north1',\n])\n\n/**\n * GCP's prod dual-region pair. Stathis confirmed it in the same Slack thread\n * as `GCP_FAILOVER_REGION_PAIRS` (#9816).\n *\n * `isSupportedFailoverRegionPair` reads this set on the 'prod' stage. Two\n * changes made this safe: GCP clusters have no BYOK option, so the AWS-only\n * key-policy screen never shows for a GCP cluster; and the operator\n * clone-role logic added a GCP branch in #9835.\n *\n * This set does not control customer access on its own. Two independent\n * gates still apply: the `failover` feature flag, which allows only\n * Camunda's internal org in prod, and the `failover` plan limit, which the\n * org must also have enabled. This set only tells the backend and c4 which\n * region pairs to treat as failover-capable.\n */\nexport const GCP_FAILOVER_REGION_PAIRS_PROD: ReadonlySet<string> = new Set([\n 'us-central1:us-east1',\n 'us-east1:us-central1',\n])\n\n/**\n * `stage` mirrors the featureflags `onlyDev` and `onlyPreprod` gates. The EU\n * test pairs unlock only on 'local' and 'dev'. The GCP test pair also unlocks\n * on 'int', because dev has no GCP failover test cluster. The GCP prod pair\n * unlocks only on 'prod'. When you omit stage, the function allows the base\n * set only.\n */\nexport function isSupportedFailoverRegionPair(\n regionA: string | undefined,\n regionB: string | undefined,\n stage?: string,\n): boolean {\n if (!regionA || !regionB) return false\n const pair = `${regionA.toLowerCase()}:${regionB.toLowerCase()}`\n if (SUPPORTED_FAILOVER_REGION_PAIRS.has(pair)) return true\n const isDev = stage === 'local' || stage === 'dev'\n if (isDev && DEV_FAILOVER_REGION_PAIRS.has(pair)) return true\n const isPreprod = isDev || stage === 'int'\n if (isPreprod && GCP_FAILOVER_REGION_PAIRS.has(pair)) return true\n return stage === 'prod' && GCP_FAILOVER_REGION_PAIRS_PROD.has(pair)\n}\n"],
5
+ "mappings": "AAiBO,MAAM,kCAAuD,oBAAI,IAAI;AAAA,EAC1E;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAGD,MAAM,4BAAiD,oBAAI,IAAI;AAAA,EAC7D;AAAA,EACA;AACF,CAAC;AAOD,MAAM,4BAAiD,oBAAI,IAAI;AAAA,EAC7D;AAAA,EACA;AACF,CAAC;AAiBM,MAAM,iCAAsD,oBAAI,IAAI;AAAA,EACzE;AAAA,EACA;AACF,CAAC;AASM,SAAS,8BACd,SACA,SACA,OACS;AACT,MAAI,CAAC,WAAW,CAAC,QAAS,QAAO;AACjC,QAAM,OAAO,GAAG,QAAQ,YAAY,CAAC,IAAI,QAAQ,YAAY,CAAC;AAC9D,MAAI,gCAAgC,IAAI,IAAI,EAAG,QAAO;AACtD,QAAM,QAAQ,UAAU,WAAW,UAAU;AAC7C,MAAI,SAAS,0BAA0B,IAAI,IAAI,EAAG,QAAO;AACzD,QAAM,YAAY,SAAS,UAAU;AACrC,MAAI,aAAa,0BAA0B,IAAI,IAAI,EAAG,QAAO;AAC7D,SAAO,UAAU,UAAU,+BAA+B,IAAI,IAAI;AACpE;",
6
6
  "names": []
7
7
  }
@@ -16,85 +16,3 @@ export declare const MINIMUM_EYEPAIRS: {
16
16
  CLUSTER_MODIFICATION: number;
17
17
  };
18
18
  export declare const MAX_HARDWARE_PACKAGE_COUNT = 4;
19
- /**
20
- * Minimum cluster (zeebe) version for the Optimize data-filters feature. Shared by
21
- * the c4 settings tile, the new-cluster default, and CRD spec generation so the gate
22
- * stays consistent. Stricter than the operator's own gate (Camunda >= 8.9.0-alpha1,
23
- * where the exporter starts honoring the filters) — this is the product rollout gate.
24
- */
25
- export declare const OPTIMIZE_FILTERING_MIN_VERSION = "8.10.0-alpha1";
26
- /**
27
- * Minimum cluster (zeebe) version at which the operator understands the new
28
- * cluster-secret CRDs (camunda-operator#5760) — SecretSource and SecretSync exist and
29
- * reconcile. Governs *provisioning the CRs*, nothing about which store they point at:
30
- * SecretSource provisioning (K8sClusterController.ensureSecretSource) and BYOIDP's
31
- * oidcProviders emission, which needs a SecretSource to deliver its clientSecretRef
32
- * (ByoidpSecretDeliveryController.deliverSecret refuses without one).
33
- *
34
- * BYOIDP is live up to prod, so this floor must stay at the generation BYOIDP
35
- * shipped on. Raising it would strand BYOIDP on every alpha below the new value.
36
- */
37
- export declare const SECRET_SOURCE_MIN_VERSION = "8.10.0-alpha3";
38
- /**
39
- * Minimum cluster (zeebe) version for BYOIDP (external identity provider, #3190).
40
- * Shared by the c4 settings tile gate and the console-backend update guard so both
41
- * stay in lockstep.
42
- *
43
- * Aliased to SECRET_SOURCE_MIN_VERSION rather than repeating the literal: BYOIDP
44
- * needs the SecretSource/SecretSync CRDs to exist and nothing more (it delivers its
45
- * clientSecret through the SecretSource), so the two answer the same question and a
46
- * second literal would only let them drift. It is NOT CONNECTOR_SECRET_SYNC_MIN_VERSION
47
- * — that one is higher, and gating BYOIDP on it would strand BYOIDP on every alpha,
48
- * where it currently ships to prod.
49
- */
50
- export declare const BYOIDP_MIN_VERSION = "8.10.0-alpha3";
51
- /**
52
- * Minimum cluster (zeebe) version at which a cluster's *connector and internal*
53
- * secrets live in the new per-stage secret manager rather than the legacy store.
54
- *
55
- * Higher than SECRET_SOURCE_MIN_VERSION on purpose: a cluster can have a
56
- * SecretSource (so BYOIDP works) while its connector secrets are still in the legacy
57
- * store and it gets no connector SecretSync. The one thing that must never drift is
58
- * the pair inside THIS concern: store routing
59
- * (ConnectorSecretsController.resolveSecretManagerTarget), the connector SecretSync
60
- * and its projection into the broker's file store (K8sSpecUtils.getSecretStoresSpec),
61
- * the pre-8.10-backup mirror check, and the upgrade-copy crossing check
62
- * (GenerationController.crossesInto810) all read THIS constant. #9703 was those
63
- * disagreeing — where Console writes a secret must equal where the cluster reads it.
64
- *
65
- * Deliberately the 8.10 GA line, not any particular alpha. semver sorts a
66
- * prerelease below its release, so every `8.10.0-alphaN` — present and future —
67
- * falls below this floor, while `SNAPSHOT` and `8.10-SNAPSHOT` normalize above it
68
- * and do route to the new store.
69
- *
70
- * Why alphas must stay out: routing is version-based with no persisted "which store
71
- * holds this cluster's secrets" marker, so a cluster above the floor while the
72
- * feature gate is off has its secrets in the legacy store, and enabling the gate
73
- * later reroutes it to a store nobody ever populated. The copy that would fix that
74
- * (GenerationController.crossesInto810 -> copyConnectorSecretsToNewManager) only
75
- * fires on a generation CHANGE, and alpha generations have no upgrade chain at all
76
- * (`upgradeableFrom = []`, ReleaseTrainController.handleAlpha) — an alpha cluster is
77
- * created on its generation and stays there. So an alpha cohort above this floor
78
- * could never be migrated; the ~200 8.10.0-alpha4 clusters on prod are exactly that
79
- * cohort.
80
- *
81
- * Keeping the floor on the GA line means clusters enter the new store only where the
82
- * copy is actually reachable: a real 8.10.0 upgrade, which does cross generations.
83
- * Alphas stay on the legacy store consistently and permanently.
84
- *
85
- * Do NOT lower this to name an alpha. The remaining ordering requirement is that a
86
- * stage's gate be enabled before the first at-floor cluster exists on it — which for
87
- * SNAPSHOT-tagged clusters (at-floor by design, since they run the newest operator)
88
- * still has to be respected by hand.
89
- */
90
- export declare const CONNECTOR_SECRET_SYNC_MIN_VERSION = "8.10.0";
91
- /**
92
- * Version floors for App Integrations (#8536). The fix landed as patches on
93
- * the 8.9 stream (zeebe >=8.9.14 AND connectorBridge >=8.9.7), everything
94
- * from 8.10.0-alpha4 on already carries both fixes. Shared by
95
- * isAppIntegrationsVersionSupported (c4 settings tile + console-backend
96
- * update guard) so the gate logic and its error message stay in lockstep.
97
- */
98
- export declare const APP_INTEGRATIONS_MIN_VERSION = "8.10.0-alpha4";
99
- export declare const APP_INTEGRATIONS_89_STREAM_ZEEBE_MIN_VERSION = "8.9.14";
100
- export declare const APP_INTEGRATIONS_89_STREAM_CONNECTOR_BRIDGE_MIN_VERSION = "8.9.7";
@@ -18,19 +18,7 @@ const MINIMUM_EYEPAIRS = {
18
18
  CLUSTER_MODIFICATION: 1
19
19
  };
20
20
  const MAX_HARDWARE_PACKAGE_COUNT = 4;
21
- const OPTIMIZE_FILTERING_MIN_VERSION = "8.10.0-alpha1";
22
- const SECRET_SOURCE_MIN_VERSION = "8.10.0-alpha3";
23
- const BYOIDP_MIN_VERSION = SECRET_SOURCE_MIN_VERSION;
24
- const CONNECTOR_SECRET_SYNC_MIN_VERSION = "8.10.0";
25
- const APP_INTEGRATIONS_MIN_VERSION = "8.10.0-alpha4";
26
- const APP_INTEGRATIONS_89_STREAM_ZEEBE_MIN_VERSION = "8.9.14";
27
- const APP_INTEGRATIONS_89_STREAM_CONNECTOR_BRIDGE_MIN_VERSION = "8.9.7";
28
21
  export {
29
- APP_INTEGRATIONS_89_STREAM_CONNECTOR_BRIDGE_MIN_VERSION,
30
- APP_INTEGRATIONS_89_STREAM_ZEEBE_MIN_VERSION,
31
- APP_INTEGRATIONS_MIN_VERSION,
32
- BYOIDP_MIN_VERSION,
33
- CONNECTOR_SECRET_SYNC_MIN_VERSION,
34
22
  CONSOLE_API_USER_ID,
35
23
  FIRSTNAME_LASTNAME_MAX_LENGTH,
36
24
  HOTBACKUP_MIN_CREATE_PERIOD,
@@ -38,9 +26,7 @@ export {
38
26
  MAX_LENGTH_CLUSTER_NAME,
39
27
  MINIMUM_EYEPAIRS,
40
28
  NAMES_OF_ENTERPRISE_SALESPLANS_WITH_SLEEPING_CLUSTERS,
41
- OPTIMIZE_FILTERING_MIN_VERSION,
42
29
  SECRETS_MAX_LENGTH,
43
- SECRET_SOURCE_MIN_VERSION,
44
30
  STARTING_PRICE_PER_MONTH_IN_EURO,
45
31
  TEMPORARY_CLUSTER_NAME
46
32
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/constants/misc.const.ts"],
4
- "sourcesContent": ["/*\n * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH\n * under one or more contributor license agreements. Licensed under a commercial license.\n * You may not use this file except in compliance with the commercial license.\n */\n\nexport const CONSOLE_API_USER_ID = 'console-api'\nexport const TEMPORARY_CLUSTER_NAME = 'Get Started'\nexport type Stage = 'local' | 'dev' | 'int' | 'prod'\nexport const HOTBACKUP_MIN_CREATE_PERIOD = 1000 * 60 * 60 * 0.25 // 15 minutes\n\nexport const SECRETS_MAX_LENGTH = 4096\nexport const FIRSTNAME_LASTNAME_MAX_LENGTH = 255\n\nexport const STARTING_PRICE_PER_MONTH_IN_EURO = 99\n\nexport const MAX_LENGTH_CLUSTER_NAME = 50\n\nexport const NAMES_OF_ENTERPRISE_SALESPLANS_WITH_SLEEPING_CLUSTERS = [\n 'CELP with sleeping clusters',\n 'Camunda Partner',\n]\n\nexport const MINIMUM_EYEPAIRS = {\n CLUSTER_DELETION: 3,\n CLUSTER_GENERATION_UPDATE: 2,\n CLUSTER_PLAN_UPDATE: 2,\n CLUSTER_PLAN_TYPE_UPDATE: 2,\n CLUSTER_PLAN_MODIFICATION: 1,\n CLUSTER_MODIFICATION: 1,\n}\n\nexport const MAX_HARDWARE_PACKAGE_COUNT = 4\n\n/**\n * Minimum cluster (zeebe) version for the Optimize data-filters feature. Shared by\n * the c4 settings tile, the new-cluster default, and CRD spec generation so the gate\n * stays consistent. Stricter than the operator's own gate (Camunda >= 8.9.0-alpha1,\n * where the exporter starts honoring the filters) \u2014 this is the product rollout gate.\n */\nexport const OPTIMIZE_FILTERING_MIN_VERSION = '8.10.0-alpha1'\n\n/**\n * Minimum cluster (zeebe) version at which the operator understands the new\n * cluster-secret CRDs (camunda-operator#5760) \u2014 SecretSource and SecretSync exist and\n * reconcile. Governs *provisioning the CRs*, nothing about which store they point at:\n * SecretSource provisioning (K8sClusterController.ensureSecretSource) and BYOIDP's\n * oidcProviders emission, which needs a SecretSource to deliver its clientSecretRef\n * (ByoidpSecretDeliveryController.deliverSecret refuses without one).\n *\n * BYOIDP is live up to prod, so this floor must stay at the generation BYOIDP\n * shipped on. Raising it would strand BYOIDP on every alpha below the new value.\n */\nexport const SECRET_SOURCE_MIN_VERSION = '8.10.0-alpha3'\n\n/**\n * Minimum cluster (zeebe) version for BYOIDP (external identity provider, #3190).\n * Shared by the c4 settings tile gate and the console-backend update guard so both\n * stay in lockstep.\n *\n * Aliased to SECRET_SOURCE_MIN_VERSION rather than repeating the literal: BYOIDP\n * needs the SecretSource/SecretSync CRDs to exist and nothing more (it delivers its\n * clientSecret through the SecretSource), so the two answer the same question and a\n * second literal would only let them drift. It is NOT CONNECTOR_SECRET_SYNC_MIN_VERSION\n * \u2014 that one is higher, and gating BYOIDP on it would strand BYOIDP on every alpha,\n * where it currently ships to prod.\n */\nexport const BYOIDP_MIN_VERSION = SECRET_SOURCE_MIN_VERSION\n\n/**\n * Minimum cluster (zeebe) version at which a cluster's *connector and internal*\n * secrets live in the new per-stage secret manager rather than the legacy store.\n *\n * Higher than SECRET_SOURCE_MIN_VERSION on purpose: a cluster can have a\n * SecretSource (so BYOIDP works) while its connector secrets are still in the legacy\n * store and it gets no connector SecretSync. The one thing that must never drift is\n * the pair inside THIS concern: store routing\n * (ConnectorSecretsController.resolveSecretManagerTarget), the connector SecretSync\n * and its projection into the broker's file store (K8sSpecUtils.getSecretStoresSpec),\n * the pre-8.10-backup mirror check, and the upgrade-copy crossing check\n * (GenerationController.crossesInto810) all read THIS constant. #9703 was those\n * disagreeing \u2014 where Console writes a secret must equal where the cluster reads it.\n *\n * Deliberately the 8.10 GA line, not any particular alpha. semver sorts a\n * prerelease below its release, so every `8.10.0-alphaN` \u2014 present and future \u2014\n * falls below this floor, while `SNAPSHOT` and `8.10-SNAPSHOT` normalize above it\n * and do route to the new store.\n *\n * Why alphas must stay out: routing is version-based with no persisted \"which store\n * holds this cluster's secrets\" marker, so a cluster above the floor while the\n * feature gate is off has its secrets in the legacy store, and enabling the gate\n * later reroutes it to a store nobody ever populated. The copy that would fix that\n * (GenerationController.crossesInto810 -> copyConnectorSecretsToNewManager) only\n * fires on a generation CHANGE, and alpha generations have no upgrade chain at all\n * (`upgradeableFrom = []`, ReleaseTrainController.handleAlpha) \u2014 an alpha cluster is\n * created on its generation and stays there. So an alpha cohort above this floor\n * could never be migrated; the ~200 8.10.0-alpha4 clusters on prod are exactly that\n * cohort.\n *\n * Keeping the floor on the GA line means clusters enter the new store only where the\n * copy is actually reachable: a real 8.10.0 upgrade, which does cross generations.\n * Alphas stay on the legacy store consistently and permanently.\n *\n * Do NOT lower this to name an alpha. The remaining ordering requirement is that a\n * stage's gate be enabled before the first at-floor cluster exists on it \u2014 which for\n * SNAPSHOT-tagged clusters (at-floor by design, since they run the newest operator)\n * still has to be respected by hand.\n */\nexport const CONNECTOR_SECRET_SYNC_MIN_VERSION = '8.10.0'\n\n/**\n * Version floors for App Integrations (#8536). The fix landed as patches on\n * the 8.9 stream (zeebe >=8.9.14 AND connectorBridge >=8.9.7), everything\n * from 8.10.0-alpha4 on already carries both fixes. Shared by\n * isAppIntegrationsVersionSupported (c4 settings tile + console-backend\n * update guard) so the gate logic and its error message stay in lockstep.\n */\nexport const APP_INTEGRATIONS_MIN_VERSION = '8.10.0-alpha4'\nexport const APP_INTEGRATIONS_89_STREAM_ZEEBE_MIN_VERSION = '8.9.14'\nexport const APP_INTEGRATIONS_89_STREAM_CONNECTOR_BRIDGE_MIN_VERSION = '8.9.7'\n"],
5
- "mappings": "AAMO,MAAM,sBAAsB;AAC5B,MAAM,yBAAyB;AAE/B,MAAM,8BAA8B,MAAO,KAAK,KAAK;AAErD,MAAM,qBAAqB;AAC3B,MAAM,gCAAgC;AAEtC,MAAM,mCAAmC;AAEzC,MAAM,0BAA0B;AAEhC,MAAM,wDAAwD;AAAA,EACnE;AAAA,EACA;AACF;AAEO,MAAM,mBAAmB;AAAA,EAC9B,kBAAkB;AAAA,EAClB,2BAA2B;AAAA,EAC3B,qBAAqB;AAAA,EACrB,0BAA0B;AAAA,EAC1B,2BAA2B;AAAA,EAC3B,sBAAsB;AACxB;AAEO,MAAM,6BAA6B;AAQnC,MAAM,iCAAiC;AAavC,MAAM,4BAA4B;AAclC,MAAM,qBAAqB;AAyC3B,MAAM,oCAAoC;AAS1C,MAAM,+BAA+B;AACrC,MAAM,+CAA+C;AACrD,MAAM,0DAA0D;",
4
+ "sourcesContent": ["/*\n * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH\n * under one or more contributor license agreements. Licensed under a commercial license.\n * You may not use this file except in compliance with the commercial license.\n */\n\nexport const CONSOLE_API_USER_ID = 'console-api'\nexport const TEMPORARY_CLUSTER_NAME = 'Get Started'\nexport type Stage = 'local' | 'dev' | 'int' | 'prod'\nexport const HOTBACKUP_MIN_CREATE_PERIOD = 1000 * 60 * 60 * 0.25 // 15 minutes\n\nexport const SECRETS_MAX_LENGTH = 4096\nexport const FIRSTNAME_LASTNAME_MAX_LENGTH = 255\n\nexport const STARTING_PRICE_PER_MONTH_IN_EURO = 99\n\nexport const MAX_LENGTH_CLUSTER_NAME = 50\n\nexport const NAMES_OF_ENTERPRISE_SALESPLANS_WITH_SLEEPING_CLUSTERS = [\n 'CELP with sleeping clusters',\n 'Camunda Partner',\n]\n\nexport const MINIMUM_EYEPAIRS = {\n CLUSTER_DELETION: 3,\n CLUSTER_GENERATION_UPDATE: 2,\n CLUSTER_PLAN_UPDATE: 2,\n CLUSTER_PLAN_TYPE_UPDATE: 2,\n CLUSTER_PLAN_MODIFICATION: 1,\n CLUSTER_MODIFICATION: 1,\n}\n\nexport const MAX_HARDWARE_PACKAGE_COUNT = 4\n"],
5
+ "mappings": "AAMO,MAAM,sBAAsB;AAC5B,MAAM,yBAAyB;AAE/B,MAAM,8BAA8B,MAAO,KAAK,KAAK;AAErD,MAAM,qBAAqB;AAC3B,MAAM,gCAAgC;AAEtC,MAAM,mCAAmC;AAEzC,MAAM,0BAA0B;AAEhC,MAAM,wDAAwD;AAAA,EACnE;AAAA,EACA;AACF;AAEO,MAAM,mBAAmB;AAAA,EAC9B,kBAAkB;AAAA,EAClB,2BAA2B;AAAA,EAC3B,qBAAqB;AAAA,EACrB,0BAA0B;AAAA,EAC1B,2BAA2B;AAAA,EAC3B,sBAAsB;AACxB;AAEO,MAAM,6BAA6B;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,343 @@
1
+ /**
2
+ * Central list of the cluster version floors that gate features.
3
+ *
4
+ * Every `checkVersion({ versionToCompareTo })` / `checkClusterVersion()` call in
5
+ * the apps and in `packages/c4` reads its floor from here. Put a new floor here
6
+ * before you use it. Do not write a version literal at the call site — the same
7
+ * feature is usually gated in more than one place (a c4 tile, a console-backend
8
+ * guard, a CRD spec), and two literals drift. Incident #9703 was two copies of
9
+ * one floor that disagreed.
10
+ *
11
+ * `packages/c3` keeps its own copy of the version helpers and is out of scope:
12
+ * it is a public package that this repo must not change.
13
+ *
14
+ * The values compare with semver, so the spelling of a floor decides which
15
+ * prerelease cohort it covers:
16
+ * - `8.10.0-0` and `8.10.0-alpha0` sort below every `8.10.0-alphaN`.
17
+ * - `8.10.0-alpha1` sorts above `alpha0` but below `alpha2`.
18
+ * - `8.10.0` sorts above ALL `8.10.0-*` prereleases.
19
+ *
20
+ * Two constants in this file can hold the same value. Then they gate different
21
+ * features and can move apart. When a name is an alias of another constant, the
22
+ * two answer the same question and must never drift.
23
+ *
24
+ * A call site compares a floor against the zeebe version of the generation,
25
+ * unless the comment of the constant names a different field. Name that field
26
+ * in the comment when you add a floor for one, because the same number means a
27
+ * different thing for `connectorBridge` or for a generation name.
28
+ */
29
+ /** Start of the 8.9 line, prereleases included. */
30
+ export declare const LINE_8_9_MIN_VERSION = "8.9.0-0";
31
+ /** Start of the 8.10 line, prereleases included. */
32
+ export declare const LINE_8_10_MIN_VERSION = "8.10.0-0";
33
+ /** Hot backups are available on the cluster (c4 hot-backups tab). */
34
+ export declare const HOT_BACKUP_MIN_VERSION = "8.2.4";
35
+ /**
36
+ * The "enforce groups" toggle is offered (c4 settings tile). The tile also
37
+ * disappears again on 8.8 clusters that run Tasklist V2 — see
38
+ * `ENFORCE_GROUPS_TASKLIST_V2_HIDDEN_MIN_VERSION`.
39
+ */
40
+ export declare const ENFORCE_GROUPS_TOGGLE_MIN_VERSION = "8.5.0-alpha2";
41
+ /** Resource-based authorizations exist. Replaced by identity authorizations. */
42
+ export declare const RESOURCE_BASED_AUTHORIZATIONS_MIN_VERSION = "8.6.0";
43
+ /**
44
+ * Identity-based authorizations replace the resource-based ones. Read as an
45
+ * upper bound by the c4 settings tile: below this the cluster still shows the
46
+ * resource-based section.
47
+ */
48
+ export declare const IDENTITY_AUTHORIZATION_MIN_VERSION = "8.8.0-alpha1";
49
+ /**
50
+ * Upper bound of the "your upgrade turns on identity authorizations" notice in
51
+ * the c4 overview tab. The notice is for 8.8-line targets only, so an 8.9
52
+ * target does not show it.
53
+ */
54
+ export declare const IDENTITY_AUTHORIZATION_NOTICE_MAX_VERSION = "8.9.0-alpha1";
55
+ /**
56
+ * The cluster uses the 8.8 role model, so the legacy per-cluster roles are
57
+ * gone (c4 user-details and management widgets).
58
+ */
59
+ export declare const NEW_CLUSTER_ROLES_MIN_VERSION = "8.8.0-alpha4";
60
+ /**
61
+ * The authorizations toggle is offered while creating a cluster (c4 create
62
+ * cluster wizard).
63
+ */
64
+ export declare const AUTHORIZATION_TOGGLE_MIN_VERSION = "8.8.0-alpha4";
65
+ /**
66
+ * Identity manages users, groups and tenants. The cluster shows the Identity
67
+ * screens (c4 cluster details, user details, group details, management widget,
68
+ * console-frontend and console-sm-frontend), and the CRD spec sends the
69
+ * internal client IDs to Identity
70
+ * (`K8sSpecUtils.clusterHasEnabledIdentityIntegration`).
71
+ *
72
+ * console-backend used `8.8.0-alpha4` until the gates moved here. That floor
73
+ * was one alpha under the frontend. As a result, an 8.8.0-alpha4 cluster got
74
+ * its `internalClientIDs` sent to an Identity that the UI did not show. There
75
+ * is one floor now, on the version the UI has always used.
76
+ */
77
+ export declare const IDENTITY_MANAGEMENT_MIN_VERSION = "8.8.0-alpha5";
78
+ /** The multi-tenancy toggle is offered (c4 settings tile). */
79
+ export declare const MULTI_TENANCY_TOGGLE_MIN_VERSION = "8.8.0-alpha7";
80
+ /** Business-ID uniqueness toggle is offered (c4 settings tile). */
81
+ export declare const BUSINESS_ID_UNIQUENESS_MIN_VERSION = "8.9.0-alpha5";
82
+ /**
83
+ * The current generation is good enough to upgrade to Tasklist V2 (c4 overview
84
+ * tab).
85
+ */
86
+ export declare const TASKLIST_V2_UPGRADE_MIN_VERSION = "8.7.0-alpha4";
87
+ /**
88
+ * The upgrade target carries Tasklist V2 (c4 overview tab). Pairs with
89
+ * `LINE_8_10_MIN_VERSION` as the upper bound, because from 8.10 on the setting
90
+ * is gone.
91
+ */
92
+ export declare const TASKLIST_V2_UPGRADE_TARGET_MIN_VERSION = "8.8.0-alpha1";
93
+ /**
94
+ * A new cluster gets `tasklistV2Enabled` by default (console-backend cluster
95
+ * creation). Reads the generation's tasklist version when it has one, else
96
+ * zeebe.
97
+ */
98
+ export declare const TASKLIST_V2_DEFAULT_ON_MIN_VERSION = "8.8.0";
99
+ /**
100
+ * From this version, the c4 settings tile hides the "enforce groups" toggle on
101
+ * a cluster that runs Tasklist V2. The tile reads the constant with `>=`, and
102
+ * it also needs `tasklistV2Enabled` to be true.
103
+ *
104
+ * The name says MIN because of that `>=`. The other MAX names in this file mark
105
+ * the version where a gate stops, and their call sites read them with `<`.
106
+ */
107
+ export declare const ENFORCE_GROUPS_TASKLIST_V2_HIDDEN_MIN_VERSION = "8.8.0";
108
+ /** The Tasklist upgrade banner is offered (c4 settings tile). */
109
+ export declare const TASKLIST_UPGRADE_BANNER_MIN_VERSION = "8.8.0-alpha2";
110
+ /**
111
+ * The Tasklist mode toggle is offered while creating a cluster (c4 create
112
+ * cluster wizard). Upper bound is `LINE_8_10_MIN_VERSION`.
113
+ */
114
+ export declare const TASKLIST_MODE_TOGGLE_MIN_VERSION = "8.8.0-alpha8";
115
+ /**
116
+ * Minor-version pair that turns Tasklist V2 on during a generation update
117
+ * (console-backend). Both are read with `VersionCheckOperator.SameMinor`: an
118
+ * 8.7 cluster that moves to an 8.8 generation gets the setting.
119
+ */
120
+ export declare const TASKLIST_V2_AUTO_ENABLE_FROM_MINOR = "8.7.0";
121
+ export declare const TASKLIST_V2_AUTO_ENABLE_TO_MINOR = "8.8.0";
122
+ /**
123
+ * The version where the Tasklist V2 flag stops to mean anything, because there
124
+ * is no Tasklist V1 left to switch away from. Two readers use it. The CRD spec
125
+ * stops to emit the Tasklist V2 mode environment variable
126
+ * (`K8sSpecUtils.shouldSkipTasklistV2ModeEnvVar`). The accounts-frontend
127
+ * support rows stop to show the flag.
128
+ *
129
+ * Spelled `8.10.0` and NOT `LINE_8_10_MIN_VERSION` (`8.10.0-0`). Cluster
130
+ * creation sets the flag on every generation from
131
+ * `TASKLIST_V2_DEFAULT_ON_MIN_VERSION` on. An 8.10 prerelease thus carries a
132
+ * live value, and it must stay under this bound.
133
+ *
134
+ * c4 bounds its own Tasklist V2 checks with `LINE_8_10_MIN_VERSION` instead.
135
+ * That constant answers a different question: can Console still offer the
136
+ * Tasklist upgrade to this cluster. It correctly leaves out the 8.10
137
+ * prereleases.
138
+ */
139
+ export declare const TASKLIST_V2_SETTING_MAX_VERSION = "8.10.0";
140
+ /** The internal connectors-management page exists (c4 overview tab link). */
141
+ export declare const CONNECTORS_MANAGEMENT_LINK_MIN_VERSION = "8.7.0-alpha1";
142
+ /**
143
+ * The applications list offers "Manage" for connectors (c4 overview tab).
144
+ * Matches what console-frontend has always done.
145
+ */
146
+ export declare const INTERNAL_CONNECTORS_MANAGEMENT_MIN_VERSION = "8.8.0-alpha1";
147
+ /**
148
+ * Connector management shows the outbound connectors, the per-connector metrics
149
+ * and the restart button. Under this floor the pages show the inbound-only
150
+ * table.
151
+ *
152
+ * CAUTION: the two readers compare this floor against different version fields.
153
+ * The c4 connector-management widgets compare
154
+ * `generation.versions.connectorBridge`
155
+ * (`useConnectorManagementRuntime.checkClusterVersion`). The
156
+ * console-sm-frontend pages compare the generation name of the cluster
157
+ * (`page.getData().generation`). Both sites had the same literal before the
158
+ * gates moved here, so this constant keeps that. Do not read it as one
159
+ * question until the two readers compare the same field.
160
+ */
161
+ export declare const CONNECTOR_MANAGEMENT_METRICS_MIN_VERSION = "8.10.0-alpha3";
162
+ /**
163
+ * The secrets filter mode setting is offered on the 8.6 line (zeebe). Shared by
164
+ * isSecretsFilterModeConfigurable (c4 settings tile + console-backend update
165
+ * guard).
166
+ */
167
+ export declare const SECRETS_FILTER_MODE_8_6_MIN_VERSION = "8.6.28";
168
+ /** Same setting, floor for the 8.7 line. */
169
+ export declare const SECRETS_FILTER_MODE_8_7_MIN_VERSION = "8.7.25";
170
+ /** Same setting, floor for the 8.8 line. */
171
+ export declare const SECRETS_FILTER_MODE_8_8_MIN_VERSION = "8.8.19";
172
+ /**
173
+ * Same setting, floor for the 8.9 line. The env var works from 8.9.7, but the
174
+ * default stays DISABLED until 8.9.10. The floor waits for that default
175
+ * change, so the toggle never shows an unset value with an unknown default.
176
+ */
177
+ export declare const SECRETS_FILTER_MODE_8_9_MIN_VERSION = "8.9.10";
178
+ /**
179
+ * Same setting, floor for the 8.10 line and every line above it.
180
+ *
181
+ * This is the last floor: isSecretsFilterModeConfigurable applies it to all
182
+ * versions above the 8.9 line, so 8.11 and later need no floor of their own.
183
+ *
184
+ * Two different reasons keep the versions below it out, and the second one is
185
+ * why this floor is alpha6 and not alpha5:
186
+ *
187
+ * - alpha1 to alpha4 shipped the DISABLED default. Same reason as 8.9.7-8.9.9.
188
+ * - alpha5 shipped the STRICT default, but not the Connectors change that this
189
+ * setting needs. SaaS runs Connectors with legacy.mode=FALLBACK from the 8.10
190
+ * line on, and the Connectors runtime of alpha5 refuses to start unless
191
+ * FALLBACK is paired with STRICT
192
+ * (ConnectorsAutoConfiguration.checkLegacyFallbackSecretFilter). A customer
193
+ * who selects LAX or DISABLED on alpha5 crashes their own Connectors runtime
194
+ * at startup, so the toggle must stay hidden there.
195
+ *
196
+ * Connectors removed that check after the alpha5 release (2026-09-03). The
197
+ * removal is in the SNAPSHOT images and lands in the releases from alpha6 on.
198
+ * SNAPSHOT clusters run the newest images, so they get the toggle.
199
+ */
200
+ export declare const SECRETS_FILTER_MODE_8_10_MIN_VERSION = "8.10.0-alpha6";
201
+ /** The client details page can transform the cluster URL string (c4). */
202
+ export declare const REST_API_URL_TRANSFORM_MIN_VERSION = "8.6.0";
203
+ /** The cluster publishes a Zeebe REST URL, so the client details page uses it. */
204
+ export declare const ZEEBE_REST_URL_MIN_VERSION = "8.8.0-alpha1";
205
+ /** The cluster serves the v2 REST API under `<clusterUrl>/v2` (c4). */
206
+ export declare const REST_API_V2_MIN_VERSION = "8.10.0-alpha1";
207
+ /** The Swagger toggle and the Swagger link are offered (c4). */
208
+ export declare const SWAGGER_MIN_VERSION = "8.8.0-alpha8";
209
+ /**
210
+ * The Swagger URL moves to its 8.9 shape (c4 `buildClusterSwaggerUrl`).
211
+ * Spelled `8.9.0`, so 8.9 prereleases keep the older URL.
212
+ */
213
+ export declare const SWAGGER_URL_8_9_MIN_VERSION = "8.9.0";
214
+ /** The MCP toggle and the MCP client tab are offered (c4). */
215
+ export declare const MCP_MIN_VERSION = "8.9.0-alpha4";
216
+ /**
217
+ * Identity is called "Admin" from here on (c4 navigation and overview tab,
218
+ * console-sm-frontend). The URL and the permission still say `identity`.
219
+ */
220
+ export declare const ADMIN_APP_RENAME_MIN_VERSION = "8.9.0-alpha5";
221
+ /** The job dashboard is offered (c4 overview tab and console-sm-frontend). */
222
+ export declare const JOB_DASHBOARD_MIN_VERSION = "8.9.0-alpha5";
223
+ /** The cluster serves the statistics config endpoint (c4 cluster details). */
224
+ export declare const CLUSTER_STATISTICS_CONFIG_MIN_VERSION = "8.9.0-alpha5";
225
+ /** The audit log tab is offered (c4 cluster details). */
226
+ export declare const AUDIT_LOG_TAB_MIN_VERSION = "8.9.0-alpha5";
227
+ /** Only 8.7 and newer generations are offered to AWS-only orgs (console-backend). */
228
+ export declare const AWS_ONLY_GENERATION_MIN_VERSION = "8.7.0";
229
+ /**
230
+ * The gateway spec takes its 8.9 shape (console-backend
231
+ * `K8sSpecUtils.getGatewaySpec`). Spelled `-alpha0`, so every 8.9 prerelease
232
+ * is included.
233
+ */
234
+ export declare const GATEWAY_SPEC_8_9_MIN_VERSION = "8.9.0-alpha0";
235
+ /**
236
+ * The operator wires the session idle-timeout config through to Operate,
237
+ * Tasklist and the unified app (camunda-security-library ADR-0042,
238
+ * camunda-operator#5863). This floor matches the `SessionConfigSupported` gate
239
+ * of the operator. The CRD spec and the c4 settings tile both read it, which is
240
+ * why it lives here.
241
+ */
242
+ export declare const SESSION_CONFIG_MIN_VERSION = "8.10.0-alpha5";
243
+ /** A new cluster gets Optimize turned on by default (console-backend). */
244
+ export declare const OPTIMIZE_DEFAULT_ON_MIN_VERSION = "8.10.0-alpha5";
245
+ /**
246
+ * Minimum cluster (zeebe) version for the Optimize data-filters feature. Shared by
247
+ * the c4 settings tile, the new-cluster default, and CRD spec generation so the gate
248
+ * stays consistent. Stricter than the operator's own gate (Camunda >= 8.9.0-alpha1,
249
+ * where the exporter starts honoring the filters) — this is the product rollout gate.
250
+ */
251
+ export declare const OPTIMIZE_FILTERING_MIN_VERSION = "8.10.0-alpha1";
252
+ /**
253
+ * Minimum cluster (zeebe) version at which the operator understands the new
254
+ * cluster-secret CRDs (camunda-operator#5760) — SecretSource and SecretSync exist and
255
+ * reconcile. Governs *provisioning the CRs*, nothing about which store they point at:
256
+ * SecretSource provisioning (K8sClusterController.ensureSecretSource) and BYOIDP's
257
+ * oidcProviders emission, which needs a SecretSource to deliver its clientSecretRef
258
+ * (ByoidpSecretDeliveryController.deliverSecret refuses without one).
259
+ *
260
+ * BYOIDP is live up to prod, so this floor must stay at the generation BYOIDP
261
+ * shipped on. Raising it would strand BYOIDP on every alpha below the new value.
262
+ */
263
+ export declare const SECRET_SOURCE_MIN_VERSION = "8.10.0-alpha3";
264
+ /**
265
+ * Minimum cluster (zeebe) version for BYOIDP (external identity provider, #3190).
266
+ * Shared by the c4 settings tile gate and the console-backend update guard so both
267
+ * stay in lockstep.
268
+ *
269
+ * Aliased to SECRET_SOURCE_MIN_VERSION rather than repeating the literal: BYOIDP
270
+ * needs the SecretSource/SecretSync CRDs to exist and nothing more (it delivers its
271
+ * clientSecret through the SecretSource), so the two answer the same question and a
272
+ * second literal would only let them drift. It is NOT CONNECTOR_SECRET_SYNC_MIN_VERSION
273
+ * — that one is higher, and gating BYOIDP on it would strand BYOIDP on every alpha,
274
+ * where it currently ships to prod.
275
+ */
276
+ export declare const BYOIDP_MIN_VERSION = "8.10.0-alpha3";
277
+ /**
278
+ * Minimum cluster (zeebe) version at which a cluster's *connector and internal*
279
+ * secrets live in the new per-stage secret manager rather than the legacy store.
280
+ *
281
+ * Higher than SECRET_SOURCE_MIN_VERSION on purpose: a cluster can have a
282
+ * SecretSource (so BYOIDP works) while its connector secrets are still in the legacy
283
+ * store and it gets no connector SecretSync. The one thing that must never drift is
284
+ * the pair inside THIS concern: store routing
285
+ * (ConnectorSecretsController.resolveSecretManagerTarget), the connector SecretSync
286
+ * and its projection into the broker's file store (K8sSpecUtils.getSecretStoresSpec),
287
+ * the pre-8.10-backup mirror check, and the upgrade-copy crossing check
288
+ * (GenerationController.crossesInto810) all read THIS constant. #9703 was those
289
+ * disagreeing — where Console writes a secret must equal where the cluster reads it.
290
+ *
291
+ * Was the 8.10 GA line (`8.10.0`) until the connector-secret changes landed on
292
+ * `8.10.0-alpha5` (2026-09-02). The floor moved down to that alpha because the
293
+ * ordering requirement below was already met at that time: no
294
+ * `8.10.0-alpha5` cluster existed yet, on any stage. So no cluster's secrets
295
+ * were left in the legacy store under the new floor.
296
+ *
297
+ * Why alphas normally stay out: routing is version-based with no persisted "which
298
+ * store holds this cluster's secrets" marker, so a cluster above the floor while the
299
+ * feature gate is off has its secrets in the legacy store, and enabling the gate
300
+ * later reroutes it to a store nobody ever populated. The copy that would fix that
301
+ * (GenerationController.crossesInto810 -> copyConnectorSecretsToNewManager) only
302
+ * fires on a generation CHANGE, and alpha generations have no upgrade chain at all
303
+ * (`upgradeableFrom = []`, ReleaseTrainController.handleAlpha) — an alpha cluster is
304
+ * created on its generation and stays there. So an alpha cohort above this floor
305
+ * could never be migrated; the ~200 8.10.0-alpha4 clusters on prod are exactly that
306
+ * cohort, and they stay below THIS floor (`alpha4 < alpha5`), so they are unaffected.
307
+ *
308
+ * The remaining ordering requirement is that a stage's gate be enabled before the
309
+ * first at-floor cluster exists on it — which for SNAPSHOT-tagged clusters (at-floor
310
+ * by design, since they run the newest operator) still has to be respected by hand. A
311
+ * future move to `8.10.0-alpha6` or higher must check the same thing this move did:
312
+ * no cluster already sitting at that version on any stage.
313
+ */
314
+ export declare const CONNECTOR_SECRET_SYNC_MIN_VERSION = "8.10.0-alpha5";
315
+ /**
316
+ * Version floors for App Integrations (#8536). The fix landed as patches on
317
+ * the 8.9 stream (zeebe >=8.9.14 AND connectorBridge >=8.9.7), everything
318
+ * from 8.10.0-alpha4 on already carries both fixes. Shared by
319
+ * isAppIntegrationsVersionSupported (c4 settings tile + console-backend
320
+ * update guard) so the gate logic and its error message stay in lockstep.
321
+ */
322
+ export declare const APP_INTEGRATIONS_MIN_VERSION = "8.10.0-alpha4";
323
+ export declare const APP_INTEGRATIONS_89_STREAM_ZEEBE_MIN_VERSION = "8.9.14";
324
+ export declare const APP_INTEGRATIONS_89_STREAM_CONNECTOR_BRIDGE_MIN_VERSION = "8.9.7";
325
+ /**
326
+ * Minor selector for the 8.9 stream, read with `VersionCheckOperator.SameMinor`
327
+ * by `isAppIntegrationsVersionSupported`. It picks the stream, it is not a
328
+ * floor: the floors are the two constants above.
329
+ */
330
+ export declare const APP_INTEGRATIONS_89_STREAM_MINOR = "8.9.0";
331
+ /**
332
+ * The cluster details header calls the secrets "cluster secrets" instead of
333
+ * the legacy name (c4).
334
+ *
335
+ * Aliased to CONNECTOR_SECRET_SYNC_MIN_VERSION rather than repeating the
336
+ * literal: the label must follow the store the cluster actually uses, so the
337
+ * two answer the same question.
338
+ */
339
+ export declare const CLUSTER_SECRETS_LABEL_MIN_VERSION = "8.10.0-alpha5";
340
+ /**
341
+ * Minimum cluster (zeebe) version for the optional telemetry toggle.
342
+ */
343
+ export declare const OPTIONAL_TELEMETRY_MIN_VERSION = "8.10.0-alpha5";