@camunda/ccma-shared-types 0.4.0 → 0.5.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 (64) hide show
  1. package/dist/_tests/constants/failoverRegionPairs.const.spec.d.ts +1 -0
  2. package/dist/_tests/search/compiler.spec.d.ts +1 -0
  3. package/dist/_tests/search/parser.spec.d.ts +1 -0
  4. package/dist/_tests/search/registry.spec.d.ts +1 -0
  5. package/dist/_tests/types/ClusterPlanFields.type.spec.d.ts +1 -0
  6. package/dist/constants/failoverRegionPairs.const.d.ts +8 -1
  7. package/dist/constants/failoverRegionPairs.const.js +9 -4
  8. package/dist/constants/failoverRegionPairs.const.js.map +2 -2
  9. package/dist/dtos/Backup.dto.d.ts +5 -0
  10. package/dist/dtos/ClusterPlan.dto.d.ts +5 -0
  11. package/dist/dtos/ClusterPlanType.dto.d.ts +6 -0
  12. package/dist/dtos/CommonCluster.dto.d.ts +7 -0
  13. package/dist/dtos/ControlV2.dto.d.ts +62 -14
  14. package/dist/dtos/K8sContext.dto.d.ts +6 -0
  15. package/dist/dtos/Organization.dto.d.ts +2 -0
  16. package/dist/dtos/Organization.dto.js.map +1 -1
  17. package/dist/dtos/ReleaseTrainSanity.dto.d.ts +51 -0
  18. package/dist/dtos/ReleaseTrainSanity.dto.js +1 -0
  19. package/dist/dtos/ReleaseTrainSanity.dto.js.map +7 -0
  20. package/dist/enums/OrganizationRole.enum.d.ts +1 -0
  21. package/dist/enums/OrganizationRole.enum.js +7 -0
  22. package/dist/enums/OrganizationRole.enum.js.map +2 -2
  23. package/dist/enums/SystemAuditEntity.enum.d.ts +7 -2
  24. package/dist/enums/SystemAuditEntity.enum.js +5 -0
  25. package/dist/enums/SystemAuditEntity.enum.js.map +2 -2
  26. package/dist/index.d.ts +5 -1
  27. package/dist/index.js +30 -0
  28. package/dist/index.js.map +2 -2
  29. package/dist/permissions/combo.js +3 -0
  30. package/dist/permissions/combo.js.map +2 -2
  31. package/dist/permissions/console.permissions.d.ts +2 -0
  32. package/dist/permissions/console.permissions.js +7 -0
  33. package/dist/permissions/console.permissions.js.map +2 -2
  34. package/dist/search/ast.d.ts +52 -0
  35. package/dist/search/ast.js +18 -0
  36. package/dist/search/ast.js.map +7 -0
  37. package/dist/search/cluster-search-fields.d.ts +11 -0
  38. package/dist/search/cluster-search-fields.js +136 -0
  39. package/dist/search/cluster-search-fields.js.map +7 -0
  40. package/dist/search/compiler.d.ts +48 -0
  41. package/dist/search/compiler.js +217 -0
  42. package/dist/search/compiler.js.map +7 -0
  43. package/dist/search/fields.d.ts +24 -0
  44. package/dist/search/fields.js +5 -0
  45. package/dist/search/fields.js.map +7 -0
  46. package/dist/search/index.d.ts +6 -0
  47. package/dist/search/index.js +33 -0
  48. package/dist/search/index.js.map +7 -0
  49. package/dist/search/organization-search-fields.d.ts +9 -0
  50. package/dist/search/organization-search-fields.js +50 -0
  51. package/dist/search/organization-search-fields.js.map +7 -0
  52. package/dist/search/parser.d.ts +7 -0
  53. package/dist/search/parser.js +324 -0
  54. package/dist/search/parser.js.map +7 -0
  55. package/dist/types/ClusterModification.type.d.ts +1 -0
  56. package/dist/types/ClusterPlanFields.type.d.ts +24 -0
  57. package/dist/types/ClusterPlanFields.type.js +591 -0
  58. package/dist/types/ClusterPlanFields.type.js.map +7 -0
  59. package/dist/types/ClusterPlanModification.type.d.ts +1 -0
  60. package/dist/types/EnterpriseIncludingValueMetrics.type.d.ts +1 -0
  61. package/dist/types/HdpTenantUsage.type.d.ts +4 -0
  62. package/dist/types/HdpTenantUsage.type.js +1 -0
  63. package/dist/types/HdpTenantUsage.type.js.map +7 -0
  64. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -4,8 +4,15 @@
4
4
  * one of these reverse-region pairs — cluster creation must be supported in
5
5
  * both directions. Both directions of each pair are listed.
6
6
  *
7
+ * This is the base set, enabled on every stage.
8
+ *
7
9
  * Shared between console-backend (FailoverRouter guard) and c4 (hiding the
8
10
  * failover action for unsupported pairs).
9
11
  */
10
12
  export declare const SUPPORTED_FAILOVER_REGION_PAIRS: ReadonlySet<string>;
11
- export declare function isSupportedFailoverRegionPair(regionA: string | undefined, regionB: string | undefined): boolean;
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.
17
+ */
18
+ export declare function isSupportedFailoverRegionPair(regionA: string | undefined, regionB: string | undefined, stage?: string): boolean;
@@ -4,11 +4,16 @@ const SUPPORTED_FAILOVER_REGION_PAIRS = /* @__PURE__ */ new Set([
4
4
  "us-east-2:us-east-1",
5
5
  "us-east-1:us-east-2"
6
6
  ]);
7
- function isSupportedFailoverRegionPair(regionA, regionB) {
7
+ const DEV_FAILOVER_REGION_PAIRS = /* @__PURE__ */ new Set([
8
+ "eu-west-1:eu-west-2",
9
+ "eu-west-2:eu-west-1"
10
+ ]);
11
+ function isSupportedFailoverRegionPair(regionA, regionB, stage) {
8
12
  if (!regionA || !regionB) return false;
9
- return SUPPORTED_FAILOVER_REGION_PAIRS.has(
10
- `${regionA.toLowerCase()}:${regionB.toLowerCase()}`
11
- );
13
+ const pair = `${regionA.toLowerCase()}:${regionB.toLowerCase()}`;
14
+ if (SUPPORTED_FAILOVER_REGION_PAIRS.has(pair)) return true;
15
+ const isDev = stage === "local" || stage === "dev";
16
+ return isDev && DEV_FAILOVER_REGION_PAIRS.has(pair);
12
17
  }
13
18
  export {
14
19
  SUPPORTED_FAILOVER_REGION_PAIRS,
@@ -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 * 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\nexport function isSupportedFailoverRegionPair(\n regionA: string | undefined,\n regionB: string | undefined,\n): boolean {\n if (!regionA || !regionB) return false\n return SUPPORTED_FAILOVER_REGION_PAIRS.has(\n `${regionA.toLowerCase()}:${regionB.toLowerCase()}`,\n )\n}\n"],
5
- "mappings": "AAeO,MAAM,kCAAuD,oBAAI,IAAI;AAAA,EAC1E;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAEM,SAAS,8BACd,SACA,SACS;AACT,MAAI,CAAC,WAAW,CAAC,QAAS,QAAO;AACjC,SAAO,gCAAgC;AAAA,IACrC,GAAG,QAAQ,YAAY,CAAC,IAAI,QAAQ,YAAY,CAAC;AAAA,EACnD;AACF;",
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;",
6
6
  "names": []
7
7
  }
@@ -18,4 +18,9 @@ export interface BackupDto {
18
18
  * backup has no `generationUuid` at all (legacy backups).
19
19
  */
20
20
  generationName?: string;
21
+ /**
22
+ * Link to the incident Slack channel, from the `incident-link` annotation
23
+ * on the Backup CR. Only set on internal (incident) backups.
24
+ */
25
+ incidentLink?: string;
21
26
  }
@@ -7,4 +7,9 @@ export interface ClusterPlanDto {
7
7
  createdBy?: string;
8
8
  createdByName?: string;
9
9
  performanceExpectations?: string | null;
10
+ /**
11
+ * Number of clusters on this plan. Populated by the list endpoint
12
+ * (`GET api/plans`); absent on responses that don't compute it.
13
+ */
14
+ clusterCount?: number;
10
15
  }
@@ -1,5 +1,6 @@
1
1
  import type { ClusterPlanTypeCategory } from '../types/ClusterPlanTypeCategory.type.js';
2
2
  import type { ClusterPlanDto } from './ClusterPlan.dto.js';
3
+ import type { ClusterLimits } from './SalesPlan.dto.js';
3
4
  export interface ClusterPlanTypeDto {
4
5
  uuid: string;
5
6
  name: string;
@@ -12,4 +13,9 @@ export interface ClusterPlanTypeDto {
12
13
  availabilityClass?: string;
13
14
  deprecated?: boolean;
14
15
  category: ClusterPlanTypeCategory;
16
+ /**
17
+ * Per-component data-retention overrides, set via the Set Limits action.
18
+ * Returned by the plan-type endpoints (the entity column is `@Expose`d).
19
+ */
20
+ limits?: ClusterLimits;
15
21
  }
@@ -75,7 +75,12 @@ export interface CommonClusterDto {
75
75
  connectorsUrl?: string;
76
76
  conditions?: Array<{
77
77
  type: string;
78
+ /** k8s condition status: 'True' | 'False' | 'Unknown'. Present on the wire
79
+ * (the operator sets it); consumers use it to tell an active condition from
80
+ * a resolved one rather than relying on presence/absence alone. */
81
+ status?: string;
78
82
  reason?: string;
83
+ message?: string;
79
84
  lastTransitionTime?: string;
80
85
  }>;
81
86
  updateClusterStatus?: {
@@ -138,6 +143,8 @@ export interface CommonClusterDto {
138
143
  planType: ClusterPlanTypeDto;
139
144
  numberOfAllocatedHwPackages?: number;
140
145
  restoreInProgress?: boolean;
146
+ restoreFailed?: boolean;
147
+ failedRestoreId?: string;
141
148
  overrideEnvVars?: {
142
149
  zeebeBroker: string | undefined;
143
150
  zeebeGateway: string | undefined;
@@ -39,17 +39,28 @@ export interface OrgListItemV2Dto {
39
39
  created: string;
40
40
  internal: boolean;
41
41
  salesPlanType?: SalesPlanType;
42
+ /** Concrete plan name (`SalesPlan.name`), distinct from the tier `salesPlanType`. */
43
+ salesPlanName?: string;
42
44
  salesForceId?: string;
43
- /** Batched per page (spec §9.4 B3); absent if the count lookup failed. */
44
- clusterCount?: number;
45
45
  }
46
46
  export interface ListOrganizationsV2Params extends CursorParams {
47
47
  q?: string;
48
+ /**
49
+ * Lucene-style query over the org fields (see `ORGANIZATION_SEARCH_FIELDS`).
50
+ * ANDed with `q`/`filter` server-side; a bare term behaves like `q`.
51
+ */
52
+ query?: string;
48
53
  sort?: 'name' | 'created' | 'internal';
49
54
  order?: 'asc' | 'desc';
50
55
  filter?: {
51
56
  internal?: boolean;
52
- salesPlanType?: SalesPlanType;
57
+ /** Sales plan tiers (`SalesPlanType`); multi-select, matched with `IN (...)`. */
58
+ salesPlanTypes?: SalesPlanType[];
59
+ /**
60
+ * Concrete plan names (`SalesPlan.name`, distinct from the tier); backs the
61
+ * "Sales plan name" filter. Multi-select, matched with `IN (...)`.
62
+ */
63
+ salesPlanNames?: string[];
53
64
  /** ISO-8601 lower bound on `created` (age-bucket filters). */
54
65
  createdAfter?: string;
55
66
  /** ISO-8601 upper bound on `created` (age-bucket filters). */
@@ -87,7 +98,10 @@ export interface ClusterListItemV2Dto {
87
98
  orgName: string;
88
99
  /** Normalized server-side; augmented on the fly from the K8s watcher (§9.4 B1). */
89
100
  status: string;
90
- plan: string;
101
+ /** Plan type name (`ClusterPlanType.name`). Backs the "Plan type" column. */
102
+ planTypeName: string;
103
+ /** Concrete plan name (`ClusterPlan.name`). Backs the "Plan" column. */
104
+ planName?: string;
91
105
  generation: string;
92
106
  region: string;
93
107
  /** Display-only; not a sort/filter key (§9.4 B2). */
@@ -104,18 +118,52 @@ export interface ClusterListItemV2Dto {
104
118
  export type ClusterDetailV2Dto = ClusterListItemV2Dto;
105
119
  export interface ListClustersV2Params extends CursorParams {
106
120
  q?: string;
107
- sort?: 'name' | 'created';
121
+ /**
122
+ * Lucene-style query over the cluster fields (see `CLUSTER_SEARCH_FIELDS`).
123
+ * ANDed with `q`/`filter` server-side; a bare term behaves like `q`.
124
+ */
125
+ query?: string;
126
+ /**
127
+ * Server-side sort key. Beyond `name`/`created`, the clusters list also sorts
128
+ * by the DB-backed columns behind these list columns (the values are the
129
+ * frontend column `key`s, mapped to SQL expressions in the controller):
130
+ * `orgName` (owner id), `autoUpdate`, `planName`, `planTypeName`, `generation`,
131
+ * `channel`. `status`/`region` are intentionally excluded — they're computed
132
+ * from live K8s state / context config, not SQL columns.
133
+ */
134
+ sort?: 'name' | 'created' | 'orgName' | 'autoUpdate' | 'planName' | 'planTypeName' | 'generation' | 'channel';
108
135
  order?: 'asc' | 'desc';
109
136
  filter?: {
110
137
  status?: string;
111
- /** Cluster plan TYPE name (maps to `planType.name`; legacy param name). */
138
+ /**
139
+ * Cluster plan TYPE name (maps to `planType.name`; legacy single-value
140
+ * param, still used by the plan-type detail page's cluster-distribution
141
+ * read — kept alongside `planTypeNames` rather than replaced).
142
+ */
112
143
  plan?: string;
113
- /** Cluster plan name (the concrete `plan.name`, not the type). */
114
- planName?: string;
115
- generation?: string;
116
- region?: string;
117
- /** Cloud provider (resolved via the k8s-context config, like `region`). */
118
- provider?: string;
144
+ /**
145
+ * Restrict to these plan TYPE names (`planType.name`); the Control
146
+ * clusters list's multi-select "Plan type" filter.
147
+ */
148
+ planTypeNames?: string[];
149
+ /**
150
+ * Restrict to these concrete plan names (`plan.name`, the `ClusterPlan`
151
+ * entity — NOT the plan type); backs the Control clusters list's "Plan"
152
+ * filter, whose dropdown is sourced from `ClusterPlan` via
153
+ * `/clusters/parameters`. Corrected in #9325 (second pass): a prior fix
154
+ * on this branch mistakenly repointed this at `planType.name` to match a
155
+ * dropdown that was, at the time, wrongly sourced from `ClusterPlanType`
156
+ * — but the dropdown was the actual bug. Both the dropdown and this query
157
+ * now consistently reference `ClusterPlan`. Distinct from `planTypeNames`
158
+ * above, which is the separate "Plan type" filter over `ClusterPlanType`.
159
+ */
160
+ planNames?: string[];
161
+ /** Restrict to these generation names (`generation.name`). */
162
+ generationNames?: string[];
163
+ /** Restrict to these region names (resolved via the k8s-context config). */
164
+ regions?: string[];
165
+ /** Restrict to these cloud providers (resolved via the k8s-context config). */
166
+ providers?: string[];
119
167
  /** Exact k8s context uuid. */
120
168
  k8sContext?: string;
121
169
  orgId?: string;
@@ -134,8 +182,8 @@ export interface ListClustersV2Params extends CursorParams {
134
182
  * "8.7" matches zeebe 8.7.x).
135
183
  */
136
184
  minorVersion?: string;
137
- /** Release channel name. */
138
- channel?: string;
185
+ /** Restrict to these release channel names. */
186
+ channels?: string[];
139
187
  /** ISO-8601 lower bound on `created` (e.g. "created in the last 7 days"). */
140
188
  createdAfter?: string;
141
189
  };
@@ -33,6 +33,12 @@ export interface K8sContext {
33
33
  project_id?: string;
34
34
  project_name?: string;
35
35
  tsuga_cluster_id?: string;
36
+ /**
37
+ * Number of clusters on this context. Set by `GET api/admin/k8sContexts` only
38
+ * when queried with `withClusterCounts` (requires the `multiCluster.admin`
39
+ * permission); absent otherwise.
40
+ */
41
+ clusterCount?: number;
36
42
  }
37
43
  export interface K8sConfig {
38
44
  kubernetes_context: {
@@ -15,6 +15,8 @@ export interface OrganizationMetadata {
15
15
  tenantKey: string;
16
16
  teamId: string;
17
17
  created: number;
18
+ /** Epoch ms of the last key rotation — set when the tenant key is regenerated. */
19
+ updated?: number;
18
20
  };
19
21
  }
20
22
  export interface AutoJoinAssignment {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/dtos/Organization.dto.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\nimport type { OrganizationPermissions } from '../types/OrganizationPermission.type.js'\nimport type { SalesPlanType } from '../types/SalesPlanType.type.js'\nimport type { OrganizationToSalesPlanDto } from './OrganizationToSalesPlan.dto.js'\n\nexport type LicensingModelType = 'legacy' | '2025'\n\nexport const VALID_LICENSING_MODELS: readonly LicensingModelType[] = [\n 'legacy',\n '2025',\n] as const\n\nexport const LICENSING_MODEL_DISPLAY_NAMES: Record<LicensingModelType, string> =\n {\n legacy: 'Legacy (PI, DI, TU)',\n '2025': '2025 (PI+Tenant)',\n } as const\n\nexport interface OrganizationMetadata {\n clickedRequestPaidPlan?: boolean\n salesForceId?: string\n enterpriseDevOnly?: boolean\n awsOnly?: boolean\n licensingModel?: LicensingModelType\n autoJoin?: AutoJoinAssignment\n llm?: {\n tenantKey: string\n teamId: string\n created: number\n }\n}\n\nexport interface AutoJoinAssignment {\n departments: Array<{ hibobId: string; roles: string[] }>\n divisions: Array<{ hibobId: string; roles: string[] }>\n subdivisions: Array<{ hibobId: string; roles: string[] }>\n}\nexport interface OrganizationDto {\n uuid: string\n name: string\n organizationToSalesPlan?: OrganizationToSalesPlanDto\n permissions?: OrganizationPermissions\n metadata?: OrganizationMetadata\n created: Date\n internal: boolean\n}\n\nexport interface OrgOwner {\n owner: string\n email: string\n first: string\n last: string\n}\n\nexport interface OrgWithNameAndSalesPlan {\n uuid: string\n name: string | undefined\n salesPlanName: string | undefined\n salesPlanUuid: string | undefined\n salesPlanType: SalesPlanType | undefined\n}\n"],
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\nimport type { OrganizationPermissions } from '../types/OrganizationPermission.type.js'\nimport type { SalesPlanType } from '../types/SalesPlanType.type.js'\nimport type { OrganizationToSalesPlanDto } from './OrganizationToSalesPlan.dto.js'\n\nexport type LicensingModelType = 'legacy' | '2025'\n\nexport const VALID_LICENSING_MODELS: readonly LicensingModelType[] = [\n 'legacy',\n '2025',\n] as const\n\nexport const LICENSING_MODEL_DISPLAY_NAMES: Record<LicensingModelType, string> =\n {\n legacy: 'Legacy (PI, DI, TU)',\n '2025': '2025 (PI+Tenant)',\n } as const\n\nexport interface OrganizationMetadata {\n clickedRequestPaidPlan?: boolean\n salesForceId?: string\n enterpriseDevOnly?: boolean\n awsOnly?: boolean\n licensingModel?: LicensingModelType\n autoJoin?: AutoJoinAssignment\n llm?: {\n tenantKey: string\n teamId: string\n created: number\n /** Epoch ms of the last key rotation \u2014 set when the tenant key is regenerated. */\n updated?: number\n }\n}\n\nexport interface AutoJoinAssignment {\n departments: Array<{ hibobId: string; roles: string[] }>\n divisions: Array<{ hibobId: string; roles: string[] }>\n subdivisions: Array<{ hibobId: string; roles: string[] }>\n}\nexport interface OrganizationDto {\n uuid: string\n name: string\n organizationToSalesPlan?: OrganizationToSalesPlanDto\n permissions?: OrganizationPermissions\n metadata?: OrganizationMetadata\n created: Date\n internal: boolean\n}\n\nexport interface OrgOwner {\n owner: string\n email: string\n first: string\n last: string\n}\n\nexport interface OrgWithNameAndSalesPlan {\n uuid: string\n name: string | undefined\n salesPlanName: string | undefined\n salesPlanUuid: string | undefined\n salesPlanType: SalesPlanType | undefined\n}\n"],
5
5
  "mappings": "AAYO,MAAM,yBAAwD;AAAA,EACnE;AAAA,EACA;AACF;AAEO,MAAM,gCACX;AAAA,EACE,QAAQ;AAAA,EACR,QAAQ;AACV;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,51 @@
1
+ export type SanitySeverity = 'error' | 'warning';
2
+ /**
3
+ * Machine-applicable fix proposal attached to a violation. Edge fixes mutate
4
+ * `generationUuid`'s upgradeableFrom list; `edgeUuid` is the entry to
5
+ * add/remove. Names ride along for human-readable review UI.
6
+ */
7
+ export type SanityFix = {
8
+ type: 'remove-upgrade-edge';
9
+ generationUuid: string;
10
+ generationName: string;
11
+ edgeUuid: string;
12
+ edgeName: string;
13
+ } | {
14
+ type: 'add-upgrade-edge';
15
+ generationUuid: string;
16
+ generationName: string;
17
+ edgeUuid: string;
18
+ edgeName: string;
19
+ } | {
20
+ type: 'delete-generation';
21
+ generationUuid: string;
22
+ generationName: string;
23
+ /** When set, the delete must not be offered as selectable (e.g. clusters still run it). */
24
+ blockedReason?: string;
25
+ };
26
+ export interface SanityViolation {
27
+ ruleId: string;
28
+ severity: SanitySeverity;
29
+ message: string;
30
+ generationUuid?: string;
31
+ generationName?: string;
32
+ details?: Record<string, unknown>;
33
+ fix?: SanityFix;
34
+ }
35
+ export interface SanityRuleInfo {
36
+ id: string;
37
+ title: string;
38
+ severity: SanitySeverity;
39
+ }
40
+ export interface ReleaseTrainSanityReport {
41
+ /** ISO 8601 timestamp of when the check ran. */
42
+ checkedAt: string;
43
+ summary: {
44
+ errors: number;
45
+ warnings: number;
46
+ rules: number;
47
+ };
48
+ /** The rules that ran, in order. */
49
+ rules: SanityRuleInfo[];
50
+ violations: SanityViolation[];
51
+ }
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ReleaseTrainSanity.dto.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -23,6 +23,7 @@ export type OrganizationRoleType = [
23
23
  OrganizationRole.MODELER
24
24
  ];
25
25
  export declare const AssignableOrganizationRole: OrganizationRole[];
26
+ export declare const LegacyHeldOrganizationRole: OrganizationRole[];
26
27
  export type AssignableOrganizationRoleType = OrganizationRole.ADMIN | OrganizationRole.OPERATIONS_ENGINEER | OrganizationRole.TASK_USER | OrganizationRole.ANALYST | OrganizationRole.DEVELOPER | OrganizationRole.VISITOR | OrganizationRole.MODELER;
27
28
  export declare const UnassignableOrganizationRole: OrganizationRole[];
28
29
  export type UnassignableOrganizationRoleType = OrganizationRole.MEMBER | OrganizationRole.OWNER | OrganizationRole.SUPPORTAGENT;
@@ -20,6 +20,12 @@ const AssignableOrganizationRole = [
20
20
  "visitor" /* VISITOR */,
21
21
  "modeler" /* MODELER */
22
22
  ];
23
+ const LegacyHeldOrganizationRole = [
24
+ "developer" /* DEVELOPER */,
25
+ "visitor" /* VISITOR */,
26
+ "taskuser" /* TASK_USER */,
27
+ "operationsengineer" /* OPERATIONS_ENGINEER */
28
+ ];
23
29
  const UnassignableOrganizationRole = [
24
30
  "member" /* MEMBER */,
25
31
  "owner" /* OWNER */,
@@ -27,6 +33,7 @@ const UnassignableOrganizationRole = [
27
33
  ];
28
34
  export {
29
35
  AssignableOrganizationRole,
36
+ LegacyHeldOrganizationRole,
30
37
  OrganizationRole,
31
38
  UnassignableOrganizationRole
32
39
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/enums/OrganizationRole.enum.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/* eslint-disable no-shadow */\nexport enum OrganizationRole {\n MEMBER = 'member', // legacy\n ADMIN = 'admin',\n OWNER = 'owner',\n SUPPORTAGENT = 'supportagent',\n OPERATIONS_ENGINEER = 'operationsengineer',\n TASK_USER = 'taskuser',\n ANALYST = 'analyst',\n DEVELOPER = 'developer',\n VISITOR = 'visitor',\n MODELER = 'modeler',\n}\nexport type OrganizationRoleType = [\n OrganizationRole.ADMIN,\n OrganizationRole.OWNER,\n OrganizationRole.SUPPORTAGENT,\n OrganizationRole.OPERATIONS_ENGINEER,\n OrganizationRole.TASK_USER,\n OrganizationRole.ANALYST,\n OrganizationRole.DEVELOPER,\n OrganizationRole.VISITOR,\n OrganizationRole.MEMBER,\n OrganizationRole.MODELER,\n]\n\nexport const AssignableOrganizationRole = [\n OrganizationRole.ADMIN,\n OrganizationRole.OPERATIONS_ENGINEER,\n OrganizationRole.TASK_USER,\n OrganizationRole.ANALYST,\n OrganizationRole.DEVELOPER,\n OrganizationRole.VISITOR,\n OrganizationRole.MODELER,\n]\nexport type AssignableOrganizationRoleType =\n | OrganizationRole.ADMIN\n | OrganizationRole.OPERATIONS_ENGINEER\n | OrganizationRole.TASK_USER\n | OrganizationRole.ANALYST\n | OrganizationRole.DEVELOPER\n | OrganizationRole.VISITOR\n | OrganizationRole.MODELER\n\nexport const UnassignableOrganizationRole = [\n OrganizationRole.MEMBER,\n OrganizationRole.OWNER,\n OrganizationRole.SUPPORTAGENT,\n]\nexport type UnassignableOrganizationRoleType =\n | OrganizationRole.MEMBER\n | OrganizationRole.OWNER\n | OrganizationRole.SUPPORTAGENT\n"],
5
- "mappings": "AAOO,IAAK,mBAAL,kBAAKA,sBAAL;AACL,EAAAA,kBAAA,YAAS;AACT,EAAAA,kBAAA,WAAQ;AACR,EAAAA,kBAAA,WAAQ;AACR,EAAAA,kBAAA,kBAAe;AACf,EAAAA,kBAAA,yBAAsB;AACtB,EAAAA,kBAAA,eAAY;AACZ,EAAAA,kBAAA,aAAU;AACV,EAAAA,kBAAA,eAAY;AACZ,EAAAA,kBAAA,aAAU;AACV,EAAAA,kBAAA,aAAU;AAVA,SAAAA;AAAA,GAAA;AAyBL,MAAM,6BAA6B;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAUO,MAAM,+BAA+B;AAAA,EAC1C;AAAA,EACA;AAAA,EACA;AACF;",
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/* eslint-disable no-shadow */\nexport enum OrganizationRole {\n MEMBER = 'member', // legacy\n ADMIN = 'admin',\n OWNER = 'owner',\n SUPPORTAGENT = 'supportagent',\n OPERATIONS_ENGINEER = 'operationsengineer',\n TASK_USER = 'taskuser',\n ANALYST = 'analyst',\n DEVELOPER = 'developer',\n VISITOR = 'visitor',\n MODELER = 'modeler',\n}\nexport type OrganizationRoleType = [\n OrganizationRole.ADMIN,\n OrganizationRole.OWNER,\n OrganizationRole.SUPPORTAGENT,\n OrganizationRole.OPERATIONS_ENGINEER,\n OrganizationRole.TASK_USER,\n OrganizationRole.ANALYST,\n OrganizationRole.DEVELOPER,\n OrganizationRole.VISITOR,\n OrganizationRole.MEMBER,\n OrganizationRole.MODELER,\n]\n\nexport const AssignableOrganizationRole = [\n OrganizationRole.ADMIN,\n OrganizationRole.OPERATIONS_ENGINEER,\n OrganizationRole.TASK_USER,\n OrganizationRole.ANALYST,\n OrganizationRole.DEVELOPER,\n OrganizationRole.VISITOR,\n OrganizationRole.MODELER,\n]\n// Removable from a holder but never newly assignable once no <=8.7 cluster\n// remains. MEMBER is always-legacy, handled separately.\nexport const LegacyHeldOrganizationRole = [\n OrganizationRole.DEVELOPER,\n OrganizationRole.VISITOR,\n OrganizationRole.TASK_USER,\n OrganizationRole.OPERATIONS_ENGINEER,\n]\nexport type AssignableOrganizationRoleType =\n | OrganizationRole.ADMIN\n | OrganizationRole.OPERATIONS_ENGINEER\n | OrganizationRole.TASK_USER\n | OrganizationRole.ANALYST\n | OrganizationRole.DEVELOPER\n | OrganizationRole.VISITOR\n | OrganizationRole.MODELER\n\nexport const UnassignableOrganizationRole = [\n OrganizationRole.MEMBER,\n OrganizationRole.OWNER,\n OrganizationRole.SUPPORTAGENT,\n]\nexport type UnassignableOrganizationRoleType =\n | OrganizationRole.MEMBER\n | OrganizationRole.OWNER\n | OrganizationRole.SUPPORTAGENT\n"],
5
+ "mappings": "AAOO,IAAK,mBAAL,kBAAKA,sBAAL;AACL,EAAAA,kBAAA,YAAS;AACT,EAAAA,kBAAA,WAAQ;AACR,EAAAA,kBAAA,WAAQ;AACR,EAAAA,kBAAA,kBAAe;AACf,EAAAA,kBAAA,yBAAsB;AACtB,EAAAA,kBAAA,eAAY;AACZ,EAAAA,kBAAA,aAAU;AACV,EAAAA,kBAAA,eAAY;AACZ,EAAAA,kBAAA,aAAU;AACV,EAAAA,kBAAA,aAAU;AAVA,SAAAA;AAAA,GAAA;AAyBL,MAAM,6BAA6B;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAGO,MAAM,6BAA6B;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAUO,MAAM,+BAA+B;AAAA,EAC1C;AAAA,EACA;AAAA,EACA;AACF;",
6
6
  "names": ["OrganizationRole"]
7
7
  }
@@ -9,7 +9,8 @@ export declare enum SystemAuditEntity {
9
9
  CLUSTER_BULK_OPERATION = "Cluster Bulk Operation",
10
10
  CLUSTER_MODIFICATION = "Cluster Modification",
11
11
  CONNECTION = "Connection",
12
- RELEASE_TRAIN = "Release Train"
12
+ RELEASE_TRAIN = "Release Train",
13
+ CLUSTER = "Cluster"
13
14
  }
14
15
  /**
15
16
  * Display strings for audited attributes. The `entity` + `entityAttribute` pair
@@ -22,6 +23,7 @@ export declare enum SystemAuditEntityAttribute {
22
23
  GENERATION_NAME = "Name",
23
24
  GENERATION_VERSIONS = "Versions",
24
25
  GENERATION_UPGRADEABLE_FROM = "Upgradeable From",
26
+ GENERATION_UPGRADEABLE_TO = "Upgradeable To",
25
27
  GENERATION_SUPPORTED_UNTIL = "Supported Until",
26
28
  GENERATION_BESPOKE = "Bespoke",
27
29
  CHANNEL_NAME = "Name",
@@ -65,5 +67,8 @@ export declare enum SystemAuditEntityAttribute {
65
67
  CLUSTER_MODIFICATION_STATUS = "Status",
66
68
  CONNECTION_NAME = "Name",
67
69
  CONNECTION_STRATEGY = "Strategy",
68
- CONNECTION_CONFIGURATION = "Configuration"
70
+ CONNECTION_CONFIGURATION = "Configuration",
71
+ CLUSTER_IP_ALLOWLIST = "IP Allowlist",
72
+ CLUSTER_ENV_VAR_OVERRIDE = "Environment Variable Override",
73
+ CLUSTER_APPLIED_PLAN_MODIFICATION = "Plan Modification"
69
74
  }
@@ -10,12 +10,14 @@ var SystemAuditEntity = /* @__PURE__ */ ((SystemAuditEntity2) => {
10
10
  SystemAuditEntity2["CLUSTER_MODIFICATION"] = "Cluster Modification";
11
11
  SystemAuditEntity2["CONNECTION"] = "Connection";
12
12
  SystemAuditEntity2["RELEASE_TRAIN"] = "Release Train";
13
+ SystemAuditEntity2["CLUSTER"] = "Cluster";
13
14
  return SystemAuditEntity2;
14
15
  })(SystemAuditEntity || {});
15
16
  var SystemAuditEntityAttribute = /* @__PURE__ */ ((SystemAuditEntityAttribute2) => {
16
17
  SystemAuditEntityAttribute2["GENERATION_NAME"] = "Name";
17
18
  SystemAuditEntityAttribute2["GENERATION_VERSIONS"] = "Versions";
18
19
  SystemAuditEntityAttribute2["GENERATION_UPGRADEABLE_FROM"] = "Upgradeable From";
20
+ SystemAuditEntityAttribute2["GENERATION_UPGRADEABLE_TO"] = "Upgradeable To";
19
21
  SystemAuditEntityAttribute2["GENERATION_SUPPORTED_UNTIL"] = "Supported Until";
20
22
  SystemAuditEntityAttribute2["GENERATION_BESPOKE"] = "Bespoke";
21
23
  SystemAuditEntityAttribute2["CHANNEL_NAME"] = "Name";
@@ -60,6 +62,9 @@ var SystemAuditEntityAttribute = /* @__PURE__ */ ((SystemAuditEntityAttribute2)
60
62
  SystemAuditEntityAttribute2["CONNECTION_NAME"] = "Name";
61
63
  SystemAuditEntityAttribute2["CONNECTION_STRATEGY"] = "Strategy";
62
64
  SystemAuditEntityAttribute2["CONNECTION_CONFIGURATION"] = "Configuration";
65
+ SystemAuditEntityAttribute2["CLUSTER_IP_ALLOWLIST"] = "IP Allowlist";
66
+ SystemAuditEntityAttribute2["CLUSTER_ENV_VAR_OVERRIDE"] = "Environment Variable Override";
67
+ SystemAuditEntityAttribute2["CLUSTER_APPLIED_PLAN_MODIFICATION"] = "Plan Modification";
63
68
  return SystemAuditEntityAttribute2;
64
69
  })(SystemAuditEntityAttribute || {});
65
70
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/enums/SystemAuditEntity.enum.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/* eslint-disable no-shadow */\nexport enum SystemAuditEntity {\n GENERATION = 'Generation',\n CHANNEL = 'Channel',\n CLUSTER_PLAN = 'Cluster Plan',\n CLUSTER_PLAN_TYPE = 'Cluster Plan Type',\n ALPHA_FEATURE = 'Alpha Feature',\n SALES_PLAN = 'Sales Plan',\n CLUSTER_PLAN_MODIFICATION = 'Cluster Plan Modification',\n CLUSTER_BULK_OPERATION = 'Cluster Bulk Operation',\n CLUSTER_MODIFICATION = 'Cluster Modification',\n CONNECTION = 'Connection',\n RELEASE_TRAIN = 'Release Train',\n}\n\n/**\n * Display strings for audited attributes. The `entity` + `entityAttribute` pair\n * is always the key, so duplicate display values across entities (e.g. several\n * `*_NAME = 'Name'`) are intentional and safe. `*_STATUS = 'Status'` is the\n * lifecycle attribute for the modification/operation entities; its from/to carry\n * the raw lifecycle state.\n */\nexport enum SystemAuditEntityAttribute {\n // Generation\n GENERATION_NAME = 'Name',\n GENERATION_VERSIONS = 'Versions',\n GENERATION_UPGRADEABLE_FROM = 'Upgradeable From',\n GENERATION_SUPPORTED_UNTIL = 'Supported Until',\n GENERATION_BESPOKE = 'Bespoke',\n // Channel\n CHANNEL_NAME = 'Name',\n CHANNEL_DESCRIPTION = 'Description',\n CHANNEL_DEFAULT_GENERATION = 'Default Generation',\n CHANNEL_ALLOWED_GENERATIONS = 'Allowed Generations',\n CHANNEL_IS_DEFAULT = 'Is Default',\n // ClusterPlan\n CLUSTER_PLAN_MIGRATABLE_FROM = 'Migratable From',\n CLUSTER_PLAN_PERFORMANCE_EXPECTATIONS = 'Performance Expectations',\n // ClusterPlanType\n CLUSTER_PLAN_TYPE_NAME = 'Name',\n CLUSTER_PLAN_TYPE_DESCRIPTION = 'Description',\n CLUSTER_PLAN_TYPE_DEVELOPMENT = 'Development',\n CLUSTER_PLAN_TYPE_CATEGORY = 'Category',\n CLUSTER_PLAN_TYPE_AVAILABILITY_CLASS = 'Availability Class',\n CLUSTER_PLAN_TYPE_ACTIVE_PLAN = 'Active Plan',\n CLUSTER_PLAN_TYPE_LIMITS = 'Limits',\n // AlphaFeature (EarlyAccessFeature)\n ALPHA_FEATURE_NAME = 'Name',\n ALPHA_FEATURE_AVAILABLE_IN = 'Available In',\n ALPHA_FEATURE_DOCUMENTATION_LINK = 'Documentation Link',\n ALPHA_FEATURE_DESCRIPTION = 'Description',\n ALPHA_FEATURE_ACTION_LABEL = 'Action Label',\n ALPHA_FEATURE_ACTION_URL = 'Action Url',\n ALPHA_FEATURE_CLICKWRAP = 'Clickwrap',\n ALPHA_FEATURE_SALES_PLAN_TYPE_VISIBILITIES = 'Sales Plan Type Visibilities',\n // SalesPlan\n SALES_PLAN_NAME = 'Name',\n SALES_PLAN_METADATA = 'Metadata',\n SALES_PLAN_CLUSTER_PLAN_CONFIGURATION = 'Cluster Plan Configuration',\n SALES_PLAN_VERSION = 'Version',\n // ClusterPlanModification\n CLUSTER_PLAN_MODIFICATION_NAME = 'Name',\n CLUSTER_PLAN_MODIFICATION_DESCRIPTION = 'Description',\n CLUSTER_PLAN_MODIFICATION_CONFIG = 'Config',\n CLUSTER_PLAN_MODIFICATION_CLUSTER_PLANS = 'Cluster Plans',\n CLUSTER_PLAN_MODIFICATION_URL = 'Url',\n CLUSTER_PLAN_MODIFICATION_STATUS = 'Status',\n // ClusterBulkOperation\n CLUSTER_BULK_OPERATION_CLUSTERS = 'Clusters',\n CLUSTER_BULK_OPERATION_STATUS = 'Status',\n // ClusterModification (parent + config)\n CLUSTER_MODIFICATION_DESCRIPTION = 'Description',\n CLUSTER_MODIFICATION_URL = 'Url',\n CLUSTER_MODIFICATION_PLAN_MODIFICATIONS = 'Plan Modifications',\n CLUSTER_MODIFICATION_EXPIRES_AT = 'Expires At',\n CLUSTER_MODIFICATION_STATUS = 'Status',\n // Connection\n CONNECTION_NAME = 'Name',\n CONNECTION_STRATEGY = 'Strategy',\n CONNECTION_CONFIGURATION = 'Configuration',\n}\n"],
5
- "mappings": "AAOO,IAAK,oBAAL,kBAAKA,uBAAL;AACL,EAAAA,mBAAA,gBAAa;AACb,EAAAA,mBAAA,aAAU;AACV,EAAAA,mBAAA,kBAAe;AACf,EAAAA,mBAAA,uBAAoB;AACpB,EAAAA,mBAAA,mBAAgB;AAChB,EAAAA,mBAAA,gBAAa;AACb,EAAAA,mBAAA,+BAA4B;AAC5B,EAAAA,mBAAA,4BAAyB;AACzB,EAAAA,mBAAA,0BAAuB;AACvB,EAAAA,mBAAA,gBAAa;AACb,EAAAA,mBAAA,mBAAgB;AAXN,SAAAA;AAAA,GAAA;AAqBL,IAAK,6BAAL,kBAAKC,gCAAL;AAEL,EAAAA,4BAAA,qBAAkB;AAClB,EAAAA,4BAAA,yBAAsB;AACtB,EAAAA,4BAAA,iCAA8B;AAC9B,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,wBAAqB;AAErB,EAAAA,4BAAA,kBAAe;AACf,EAAAA,4BAAA,yBAAsB;AACtB,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,iCAA8B;AAC9B,EAAAA,4BAAA,wBAAqB;AAErB,EAAAA,4BAAA,kCAA+B;AAC/B,EAAAA,4BAAA,2CAAwC;AAExC,EAAAA,4BAAA,4BAAyB;AACzB,EAAAA,4BAAA,mCAAgC;AAChC,EAAAA,4BAAA,mCAAgC;AAChC,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,0CAAuC;AACvC,EAAAA,4BAAA,mCAAgC;AAChC,EAAAA,4BAAA,8BAA2B;AAE3B,EAAAA,4BAAA,wBAAqB;AACrB,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,sCAAmC;AACnC,EAAAA,4BAAA,+BAA4B;AAC5B,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,8BAA2B;AAC3B,EAAAA,4BAAA,6BAA0B;AAC1B,EAAAA,4BAAA,gDAA6C;AAE7C,EAAAA,4BAAA,qBAAkB;AAClB,EAAAA,4BAAA,yBAAsB;AACtB,EAAAA,4BAAA,2CAAwC;AACxC,EAAAA,4BAAA,wBAAqB;AAErB,EAAAA,4BAAA,oCAAiC;AACjC,EAAAA,4BAAA,2CAAwC;AACxC,EAAAA,4BAAA,sCAAmC;AACnC,EAAAA,4BAAA,6CAA0C;AAC1C,EAAAA,4BAAA,mCAAgC;AAChC,EAAAA,4BAAA,sCAAmC;AAEnC,EAAAA,4BAAA,qCAAkC;AAClC,EAAAA,4BAAA,mCAAgC;AAEhC,EAAAA,4BAAA,sCAAmC;AACnC,EAAAA,4BAAA,8BAA2B;AAC3B,EAAAA,4BAAA,6CAA0C;AAC1C,EAAAA,4BAAA,qCAAkC;AAClC,EAAAA,4BAAA,iCAA8B;AAE9B,EAAAA,4BAAA,qBAAkB;AAClB,EAAAA,4BAAA,yBAAsB;AACtB,EAAAA,4BAAA,8BAA2B;AAzDjB,SAAAA;AAAA,GAAA;",
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/* eslint-disable no-shadow */\nexport enum SystemAuditEntity {\n GENERATION = 'Generation',\n CHANNEL = 'Channel',\n CLUSTER_PLAN = 'Cluster Plan',\n CLUSTER_PLAN_TYPE = 'Cluster Plan Type',\n ALPHA_FEATURE = 'Alpha Feature',\n SALES_PLAN = 'Sales Plan',\n CLUSTER_PLAN_MODIFICATION = 'Cluster Plan Modification',\n CLUSTER_BULK_OPERATION = 'Cluster Bulk Operation',\n CLUSTER_MODIFICATION = 'Cluster Modification',\n CONNECTION = 'Connection',\n RELEASE_TRAIN = 'Release Train',\n CLUSTER = 'Cluster',\n}\n\n/**\n * Display strings for audited attributes. The `entity` + `entityAttribute` pair\n * is always the key, so duplicate display values across entities (e.g. several\n * `*_NAME = 'Name'`) are intentional and safe. `*_STATUS = 'Status'` is the\n * lifecycle attribute for the modification/operation entities; its from/to carry\n * the raw lifecycle state.\n */\nexport enum SystemAuditEntityAttribute {\n // Generation\n GENERATION_NAME = 'Name',\n GENERATION_VERSIONS = 'Versions',\n GENERATION_UPGRADEABLE_FROM = 'Upgradeable From',\n GENERATION_UPGRADEABLE_TO = 'Upgradeable To',\n GENERATION_SUPPORTED_UNTIL = 'Supported Until',\n GENERATION_BESPOKE = 'Bespoke',\n // Channel\n CHANNEL_NAME = 'Name',\n CHANNEL_DESCRIPTION = 'Description',\n CHANNEL_DEFAULT_GENERATION = 'Default Generation',\n CHANNEL_ALLOWED_GENERATIONS = 'Allowed Generations',\n CHANNEL_IS_DEFAULT = 'Is Default',\n // ClusterPlan\n CLUSTER_PLAN_MIGRATABLE_FROM = 'Migratable From',\n CLUSTER_PLAN_PERFORMANCE_EXPECTATIONS = 'Performance Expectations',\n // ClusterPlanType\n CLUSTER_PLAN_TYPE_NAME = 'Name',\n CLUSTER_PLAN_TYPE_DESCRIPTION = 'Description',\n CLUSTER_PLAN_TYPE_DEVELOPMENT = 'Development',\n CLUSTER_PLAN_TYPE_CATEGORY = 'Category',\n CLUSTER_PLAN_TYPE_AVAILABILITY_CLASS = 'Availability Class',\n CLUSTER_PLAN_TYPE_ACTIVE_PLAN = 'Active Plan',\n CLUSTER_PLAN_TYPE_LIMITS = 'Limits',\n // AlphaFeature (EarlyAccessFeature)\n ALPHA_FEATURE_NAME = 'Name',\n ALPHA_FEATURE_AVAILABLE_IN = 'Available In',\n ALPHA_FEATURE_DOCUMENTATION_LINK = 'Documentation Link',\n ALPHA_FEATURE_DESCRIPTION = 'Description',\n ALPHA_FEATURE_ACTION_LABEL = 'Action Label',\n ALPHA_FEATURE_ACTION_URL = 'Action Url',\n ALPHA_FEATURE_CLICKWRAP = 'Clickwrap',\n ALPHA_FEATURE_SALES_PLAN_TYPE_VISIBILITIES = 'Sales Plan Type Visibilities',\n // SalesPlan\n SALES_PLAN_NAME = 'Name',\n SALES_PLAN_METADATA = 'Metadata',\n SALES_PLAN_CLUSTER_PLAN_CONFIGURATION = 'Cluster Plan Configuration',\n SALES_PLAN_VERSION = 'Version',\n // ClusterPlanModification\n CLUSTER_PLAN_MODIFICATION_NAME = 'Name',\n CLUSTER_PLAN_MODIFICATION_DESCRIPTION = 'Description',\n CLUSTER_PLAN_MODIFICATION_CONFIG = 'Config',\n CLUSTER_PLAN_MODIFICATION_CLUSTER_PLANS = 'Cluster Plans',\n CLUSTER_PLAN_MODIFICATION_URL = 'Url',\n CLUSTER_PLAN_MODIFICATION_STATUS = 'Status',\n // ClusterBulkOperation\n CLUSTER_BULK_OPERATION_CLUSTERS = 'Clusters',\n CLUSTER_BULK_OPERATION_STATUS = 'Status',\n // ClusterModification (parent + config)\n CLUSTER_MODIFICATION_DESCRIPTION = 'Description',\n CLUSTER_MODIFICATION_URL = 'Url',\n CLUSTER_MODIFICATION_PLAN_MODIFICATIONS = 'Plan Modifications',\n CLUSTER_MODIFICATION_EXPIRES_AT = 'Expires At',\n CLUSTER_MODIFICATION_STATUS = 'Status',\n // Connection\n CONNECTION_NAME = 'Name',\n CONNECTION_STRATEGY = 'Strategy',\n CONNECTION_CONFIGURATION = 'Configuration',\n // Cluster (internal-only lifecycle actions with no customer-facing audit)\n CLUSTER_IP_ALLOWLIST = 'IP Allowlist',\n CLUSTER_ENV_VAR_OVERRIDE = 'Environment Variable Override',\n // A cluster plan modification that was applied to (and updated) this cluster.\n CLUSTER_APPLIED_PLAN_MODIFICATION = 'Plan Modification',\n}\n"],
5
+ "mappings": "AAOO,IAAK,oBAAL,kBAAKA,uBAAL;AACL,EAAAA,mBAAA,gBAAa;AACb,EAAAA,mBAAA,aAAU;AACV,EAAAA,mBAAA,kBAAe;AACf,EAAAA,mBAAA,uBAAoB;AACpB,EAAAA,mBAAA,mBAAgB;AAChB,EAAAA,mBAAA,gBAAa;AACb,EAAAA,mBAAA,+BAA4B;AAC5B,EAAAA,mBAAA,4BAAyB;AACzB,EAAAA,mBAAA,0BAAuB;AACvB,EAAAA,mBAAA,gBAAa;AACb,EAAAA,mBAAA,mBAAgB;AAChB,EAAAA,mBAAA,aAAU;AAZA,SAAAA;AAAA,GAAA;AAsBL,IAAK,6BAAL,kBAAKC,gCAAL;AAEL,EAAAA,4BAAA,qBAAkB;AAClB,EAAAA,4BAAA,yBAAsB;AACtB,EAAAA,4BAAA,iCAA8B;AAC9B,EAAAA,4BAAA,+BAA4B;AAC5B,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,wBAAqB;AAErB,EAAAA,4BAAA,kBAAe;AACf,EAAAA,4BAAA,yBAAsB;AACtB,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,iCAA8B;AAC9B,EAAAA,4BAAA,wBAAqB;AAErB,EAAAA,4BAAA,kCAA+B;AAC/B,EAAAA,4BAAA,2CAAwC;AAExC,EAAAA,4BAAA,4BAAyB;AACzB,EAAAA,4BAAA,mCAAgC;AAChC,EAAAA,4BAAA,mCAAgC;AAChC,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,0CAAuC;AACvC,EAAAA,4BAAA,mCAAgC;AAChC,EAAAA,4BAAA,8BAA2B;AAE3B,EAAAA,4BAAA,wBAAqB;AACrB,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,sCAAmC;AACnC,EAAAA,4BAAA,+BAA4B;AAC5B,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,8BAA2B;AAC3B,EAAAA,4BAAA,6BAA0B;AAC1B,EAAAA,4BAAA,gDAA6C;AAE7C,EAAAA,4BAAA,qBAAkB;AAClB,EAAAA,4BAAA,yBAAsB;AACtB,EAAAA,4BAAA,2CAAwC;AACxC,EAAAA,4BAAA,wBAAqB;AAErB,EAAAA,4BAAA,oCAAiC;AACjC,EAAAA,4BAAA,2CAAwC;AACxC,EAAAA,4BAAA,sCAAmC;AACnC,EAAAA,4BAAA,6CAA0C;AAC1C,EAAAA,4BAAA,mCAAgC;AAChC,EAAAA,4BAAA,sCAAmC;AAEnC,EAAAA,4BAAA,qCAAkC;AAClC,EAAAA,4BAAA,mCAAgC;AAEhC,EAAAA,4BAAA,sCAAmC;AACnC,EAAAA,4BAAA,8BAA2B;AAC3B,EAAAA,4BAAA,6CAA0C;AAC1C,EAAAA,4BAAA,qCAAkC;AAClC,EAAAA,4BAAA,iCAA8B;AAE9B,EAAAA,4BAAA,qBAAkB;AAClB,EAAAA,4BAAA,yBAAsB;AACtB,EAAAA,4BAAA,8BAA2B;AAE3B,EAAAA,4BAAA,0BAAuB;AACvB,EAAAA,4BAAA,8BAA2B;AAE3B,EAAAA,4BAAA,uCAAoC;AA/D1B,SAAAA;AAAA,GAAA;",
6
6
  "names": ["SystemAuditEntity", "SystemAuditEntityAttribute"]
7
7
  }
package/dist/index.d.ts CHANGED
@@ -31,6 +31,7 @@ export type { AutoJoinAssignment, LicensingModelType, OrganizationDto, Organizat
31
31
  export { LICENSING_MODEL_DISPLAY_NAMES, VALID_LICENSING_MODELS, } from './dtos/Organization.dto.js';
32
32
  export type { OrganizationMemberDto } from './dtos/OrganizationMember.dto.js';
33
33
  export type { OrganizationToSalesPlanDto } from './dtos/OrganizationToSalesPlan.dto.js';
34
+ export type { ReleaseTrainSanityReport, SanityFix, SanityRuleInfo, SanitySeverity, SanityViolation, } from './dtos/ReleaseTrainSanity.dto.js';
34
35
  export type { RestoreDto, RestoreState } from './dtos/Restore.dto.js';
35
36
  export type { ClusterLimits, ConsumptionDataItem, Limits, SalesPlanDto, SalesPlanMetadata, } from './dtos/SalesPlan.dto.js';
36
37
  export { allClusterBasedLimits, allSalesPlanLimits, deprecatedLimit, MAX_CLUSTER_CLIENTS_DEFAULT, MAX_CLUSTER_CLIENTS_DEV, RETENTION_LIMIT_DEFAULT, RETENTION_LIMIT_MAXIMUM, RETENTION_LIMIT_MINIMUM, unusedClusterBasedLimits, unusedSalesPlanLimits, } from './dtos/SalesPlan.dto.js';
@@ -41,6 +42,7 @@ export type { SystemAuditDto } from './dtos/SystemAudit.dto.js';
41
42
  export type { UsageAlertDto } from './dtos/UsageAlert.dto.js';
42
43
  export { UsageAlertInitValues, UsageAlertMetric, UsageAlertThresholdLimits, } from './dtos/UsageAlert.dto.js';
43
44
  export type { UserMetaDataDto } from './dtos/UserMetaData.dto.js';
45
+ export { type AndNode, CLUSTER_DEFAULT_SEARCH_FIELDS, CLUSTER_SEARCH_FIELDS, type CompileContext, type CompiledQuery, compileQuery, type FieldBinding, findSearchField, isLuceneQueryError, LuceneQueryError, likeArgument, type NotNode, ORG_DEFAULT_SEARCH_FIELDS, ORGANIZATION_SEARCH_FIELDS, type OrNode, parseLuceneQuery, type QueryNode, type RangeNode, type SearchFieldCapability, type SearchFieldSpec, type SearchFieldType, type SearchTermOperator, type TermNode, } from './search/index.js';
44
46
  export { AlertSubscriptionReportType, AlertSubscriptionType, } from './enums/AlertSubscription.enum.js';
45
47
  export { AuditEntity, AuditEntityAttribute } from './enums/AuditEntity.enum.js';
46
48
  export { AuditService } from './enums/AuditService.enum.js';
@@ -52,7 +54,7 @@ export { ClusterStatus } from './enums/ClusterStatus.enum.js';
52
54
  export { ConsoleAPIClientPermission } from './enums/ConsoleApiClientPermission.enum.js';
53
55
  export { ErrorType } from './enums/ErrorType.enum.js';
54
56
  export type { AssignableOrganizationRoleType, OrganizationRoleType, UnassignableOrganizationRoleType, } from './enums/OrganizationRole.enum.js';
55
- export { AssignableOrganizationRole, OrganizationRole, UnassignableOrganizationRole, } from './enums/OrganizationRole.enum.js';
57
+ export { AssignableOrganizationRole, LegacyHeldOrganizationRole, OrganizationRole, UnassignableOrganizationRole, } from './enums/OrganizationRole.enum.js';
56
58
  export { SseEntity, SseType } from './enums/Sse.enum.js';
57
59
  export { SystemAuditEntity, SystemAuditEntityAttribute, } from './enums/SystemAuditEntity.enum.js';
58
60
  export { AccountsPermissions } from './permissions/accounts.permissions.js';
@@ -78,6 +80,7 @@ export type { SubscriptionItem } from './types/Chargebee.type.js';
78
80
  export { ConsumptionData, ConsumptionDataType } from './types/Chargebee.type.js';
79
81
  export type { ClusterBulkOperationAck, ClusterBulkOperationClusterDto, ClusterBulkOperationContent, ClusterBulkOperationDto, ClusterBulkOperationGenerationUpdateParameter, ClusterBulkOperationParameter, ClusterBulkOperationPlanTypeUpdateParameter, ClusterBulkOperationPlanUpdateParameter, ClusterBulkOperationPostContent, ClusterSleepWakeupParameter, } from './types/ClusterBulkOperation.type.js';
80
82
  export type { ClusterModificationConfigDto, ClusterModificationDto, } from './types/ClusterModification.type.js';
83
+ export { CLUSTER_PLAN_FIELDS, type ClusterPlanFieldSpec, type ClusterPlanFieldTree, isClusterPlanFieldSpec, } from './types/ClusterPlanFields.type.js';
81
84
  export type { ClusterPlanModificationAck, ClusterPlanModificationConfig, ClusterPlanModificationDto, } from './types/ClusterPlanModification.type.js';
82
85
  export { ClusterPlanTypeAvailabilityClass, sortByAvailabilityClasses, } from './types/ClusterPlanTypeAvailabilityClass.type.js';
83
86
  export { ClusterPlanTypeCategory, hasAvailabilityClass, sortByClusterPlanTypeCategory, } from './types/ClusterPlanTypeCategory.type.js';
@@ -88,6 +91,7 @@ export { ConsoleSM } from './types/ConsoleSelfManaged.type.js';
88
91
  export type { ConsoleSMAdminApi } from './types/ConsoleSelfManagedAdminApi.type.js';
89
92
  export type { DashboardConfig, DashboardMappingItem, DashboardMappingTarget, DashboardResultPrimitive, DashboardResultRow, EngineeringOperationsDashboardResponse, } from './types/Dashboard.types.js';
90
93
  export type { EnterpriseIncludingValueMetrics } from './types/EnterpriseIncludingValueMetrics.type.js';
94
+ export type { HdpTenantUsagePoint } from './types/HdpTenantUsage.type.js';
91
95
  export type { AlertSubscription as HdpAlertSubscription, Audit as HdpAudit, ByomClient as HdpByomClient, Channel as HdpChannel, Cluster as HdpCluster, ClusterBackup as HdpClusterBackup, ClusterBackupSchedule as HdpClusterBackupSchedule, ClusterBulkOperation as HdpClusterBulkOperation, ClusterClient as HdpClusterClient, ClusterModification as HdpClusterModification, ClusterPlan as HdpClusterPlan, ClusterPlanType as HdpClusterPlanType, ConnectorSecret as HdpConnectorSecret, ConsoleApiClient as HdpConsoleApiClient, Datacenter as HdpDatacenter, Generation as HdpGeneration, HdpBackendChangeEvent, HdpClusterModificationConfig, HdpEntity, HdpPrometheusDataCapacityDataPoint, Invite as HdpInvite, LlmSpend as HdpLlmSpend, Organization as HdpOrganization, SecureConnectivity as HdpSecureConnectivity, SystemAudit as HdpSystemAudit, TelemetryData as HdpTelemetryData, UsageAlert as HdpUsageAlert, User as HdpUser, UserLogin as HdpUserLogin, } from './types/hdp.types.js';
92
96
  export { AlertSubscriptionReportType as HdpAlertSubscriptionReportType, AlertSubscriptionType as HdpAlertSubscriptionType, } from './types/hdp.types.js';
93
97
  export type { GlobalNotification, NotificationDto, NotificationMeta, NotificationOptions, NotificationPermission, NotificationSource, NotificationState, NotificationType, OrgNotification, UserNotification, UserOrgNotification, } from './types/notification.type.js';