@camunda/ccma-shared-types 0.5.1 → 0.6.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.
- package/dist/constants/misc.const.d.ts +75 -0
- package/dist/constants/misc.const.js +12 -0
- package/dist/constants/misc.const.js.map +2 -2
- package/dist/dtos/CommonCluster.dto.d.ts +13 -1
- package/dist/dtos/ControlV2.dto.d.ts +17 -3
- package/dist/enums/AuditEntity.enum.d.ts +2 -0
- package/dist/enums/AuditEntity.enum.js +2 -0
- package/dist/enums/AuditEntity.enum.js.map +2 -2
- package/dist/enums/ConsoleApiClientPermission.enum.d.ts +6 -1
- package/dist/enums/ConsoleApiClientPermission.enum.js +4 -0
- package/dist/enums/ConsoleApiClientPermission.enum.js.map +2 -2
- package/dist/enums/ErrorType.enum.d.ts +1 -0
- package/dist/enums/ErrorType.enum.js +1 -0
- package/dist/enums/ErrorType.enum.js.map +2 -2
- package/dist/index.d.ts +9 -5
- package/dist/index.js +31 -1
- package/dist/index.js.map +2 -2
- package/dist/types/HdpTenantUsage.type.d.ts +32 -0
- package/dist/types/TrialManagement.types.d.ts +63 -0
- package/dist/types/TrialManagement.types.js +1 -0
- package/dist/types/TrialManagement.types.js.map +7 -0
- package/dist/utils/cloudProvider.utils.d.ts +18 -0
- package/dist/utils/cloudProvider.utils.js +23 -0
- package/dist/utils/cloudProvider.utils.js.map +7 -0
- package/dist/utils/cronSchedule.utils.d.ts +42 -0
- package/dist/utils/cronSchedule.utils.js +161 -0
- package/dist/utils/cronSchedule.utils.js.map +7 -0
- package/dist/utils/cronSchedule.utils.spec.d.ts +1 -0
- package/dist/utils/string-validation.utils.d.ts +17 -0
- package/dist/utils/string-validation.utils.js +8 -1
- package/dist/utils/string-validation.utils.js.map +2 -2
- package/dist/utils/versionCheck.utils.d.ts +12 -0
- package/dist/utils/versionCheck.utils.js +37 -1
- package/dist/utils/versionCheck.utils.js.map +2 -2
- package/package.json +1 -1
|
@@ -23,3 +23,78 @@ export declare const MAX_HARDWARE_PACKAGE_COUNT = 4;
|
|
|
23
23
|
* where the exporter starts honoring the filters) — this is the product rollout gate.
|
|
24
24
|
*/
|
|
25
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";
|
|
@@ -19,7 +19,18 @@ const MINIMUM_EYEPAIRS = {
|
|
|
19
19
|
};
|
|
20
20
|
const MAX_HARDWARE_PACKAGE_COUNT = 4;
|
|
21
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";
|
|
22
28
|
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,
|
|
23
34
|
CONSOLE_API_USER_ID,
|
|
24
35
|
FIRSTNAME_LASTNAME_MAX_LENGTH,
|
|
25
36
|
HOTBACKUP_MIN_CREATE_PERIOD,
|
|
@@ -29,6 +40,7 @@ export {
|
|
|
29
40
|
NAMES_OF_ENTERPRISE_SALESPLANS_WITH_SLEEPING_CLUSTERS,
|
|
30
41
|
OPTIMIZE_FILTERING_MIN_VERSION,
|
|
31
42
|
SECRETS_MAX_LENGTH,
|
|
43
|
+
SECRET_SOURCE_MIN_VERSION,
|
|
32
44
|
STARTING_PRICE_PER_MONTH_IN_EURO,
|
|
33
45
|
TEMPORARY_CLUSTER_NAME
|
|
34
46
|
};
|
|
@@ -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"],
|
|
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;",
|
|
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;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -40,7 +40,9 @@ export interface OptimizeFilteringPatch {
|
|
|
40
40
|
* (`idp-config-{clusterId}`, keyed by `name`) and referenced from the CR only.
|
|
41
41
|
*/
|
|
42
42
|
export interface ExternalIdpConfig {
|
|
43
|
-
/** Registration id.
|
|
43
|
+
/** Registration id. Lowercase letters + digits, starts with a letter
|
|
44
|
+
* (`^[a-z][a-z0-9]*$`, max 63 chars), matching camunda-operator's `oidcProviders[].name`
|
|
45
|
+
* (Spring lowercases every registration id it reads from an env var name). `oidc` is reserved.
|
|
44
46
|
* Doubles as the Secret data key, the `..._OIDC_<NAME>_*` env-var segment, and `clientSecretRef.key`. */
|
|
45
47
|
name: string;
|
|
46
48
|
/** Friendly display name shown on the login picker. */
|
|
@@ -115,6 +117,13 @@ export interface CommonClusterDto {
|
|
|
115
117
|
* failover cluster. It remains visible but can never be resumed again.
|
|
116
118
|
*/
|
|
117
119
|
isFailoverSource?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* The source cluster's uuid, set on the FAILOVER (destination) cluster —
|
|
122
|
+
* the counterpart to isFailoverSource, which is set on the source. Lets
|
|
123
|
+
* the frontend recognize a cluster resulted from a failover, e.g. to
|
|
124
|
+
* prompt updating a carried-over BYOM/BYOIDP external endpoint.
|
|
125
|
+
*/
|
|
126
|
+
failoverSourceClusterId?: string;
|
|
118
127
|
/**
|
|
119
128
|
* Stable durable identity shared by both halves of a failover pair. Used to
|
|
120
129
|
* pair a failover cluster with its source, and to derive the pre-staged
|
|
@@ -138,8 +147,11 @@ export interface CommonClusterDto {
|
|
|
138
147
|
rba?: boolean;
|
|
139
148
|
identityBackendChecksEnabled?: boolean;
|
|
140
149
|
multiTenancyEnabled?: boolean;
|
|
150
|
+
sessionMaxInactiveIntervalMinutes?: number;
|
|
151
|
+
sessionHeartbeatEnabled?: boolean;
|
|
141
152
|
externalIdpEnabled?: boolean;
|
|
142
153
|
externalIdpConfig?: ExternalIdpConfig;
|
|
154
|
+
secretSourceProvisioned?: boolean;
|
|
143
155
|
enforceGroups?: boolean;
|
|
144
156
|
playMode?: boolean;
|
|
145
157
|
mcpEnabled?: boolean;
|
|
@@ -160,12 +160,16 @@ export interface ListClustersV2Params extends CursorParams {
|
|
|
160
160
|
planNames?: string[];
|
|
161
161
|
/** Restrict to these generation names (`generation.name`). */
|
|
162
162
|
generationNames?: string[];
|
|
163
|
-
/** Restrict to these region names (resolved via the k8s-context config). */
|
|
164
|
-
regions?: string[];
|
|
165
163
|
/** Restrict to these cloud providers (resolved via the k8s-context config). */
|
|
166
164
|
providers?: string[];
|
|
167
165
|
/** Exact k8s context uuid. */
|
|
168
166
|
k8sContext?: string;
|
|
167
|
+
/**
|
|
168
|
+
* Restrict to these k8s context (datacenter) uuids; the Control clusters
|
|
169
|
+
* list's multi-select "Datacenter" filter, which matches the context
|
|
170
|
+
* identity, mirroring the accounts clusters list's "Filter by Datacenter".
|
|
171
|
+
*/
|
|
172
|
+
k8sContexts?: string[];
|
|
169
173
|
orgId?: string;
|
|
170
174
|
/** Restrict to these owner org uuids (cross-backend sales-plan filters). */
|
|
171
175
|
orgIds?: string[];
|
|
@@ -192,10 +196,20 @@ export interface ClusterParameterOptionV2Dto {
|
|
|
192
196
|
id: string;
|
|
193
197
|
name: string;
|
|
194
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* A datacenter (k8s context) option for the clusters list's "Datacenter" filter.
|
|
201
|
+
* `id` is the context uuid (matched by `filter.k8sContexts`); `region`/`provider`
|
|
202
|
+
* come from the context config and let the dropdown be grouped by provider and
|
|
203
|
+
* show the region, mirroring the accounts clusters list.
|
|
204
|
+
*/
|
|
205
|
+
export interface ClusterDatacenterOptionV2Dto extends ClusterParameterOptionV2Dto {
|
|
206
|
+
region?: string;
|
|
207
|
+
provider?: string;
|
|
208
|
+
}
|
|
195
209
|
export interface ClusterParametersV2Dto {
|
|
196
210
|
plans: ClusterParameterOptionV2Dto[];
|
|
197
211
|
generations: ClusterParameterOptionV2Dto[];
|
|
198
|
-
|
|
212
|
+
datacenters: ClusterDatacenterOptionV2Dto[];
|
|
199
213
|
}
|
|
200
214
|
/**
|
|
201
215
|
* Aggregated cluster distribution counts (GET /v2/clusters/facets), backing
|
|
@@ -30,6 +30,8 @@ export declare enum AuditEntityAttribute {
|
|
|
30
30
|
CLUSTER_SWAGGER = "Cluster Swagger",
|
|
31
31
|
CLUSTER_BUSINESS_ID_UNIQUENESS = "Business ID Uniqueness",
|
|
32
32
|
CLUSTER_MULTI_TENANCY = "Multi-tenancy",
|
|
33
|
+
CLUSTER_SESSION_MAX_INACTIVE_INTERVAL = "Session idle timeout",
|
|
34
|
+
CLUSTER_SESSION_HEARTBEAT = "Session heartbeat",
|
|
33
35
|
CLUSTER_EXTERNAL_IDP = "External identity provider",
|
|
34
36
|
CLUSTER_ENABLE_LOW_LATENCY = "Enable low latency",
|
|
35
37
|
CLUSTER_AUTOUPDATE = "Auto Update",
|
|
@@ -31,6 +31,8 @@ var AuditEntityAttribute = /* @__PURE__ */ ((AuditEntityAttribute2) => {
|
|
|
31
31
|
AuditEntityAttribute2["CLUSTER_SWAGGER"] = "Cluster Swagger";
|
|
32
32
|
AuditEntityAttribute2["CLUSTER_BUSINESS_ID_UNIQUENESS"] = "Business ID Uniqueness";
|
|
33
33
|
AuditEntityAttribute2["CLUSTER_MULTI_TENANCY"] = "Multi-tenancy";
|
|
34
|
+
AuditEntityAttribute2["CLUSTER_SESSION_MAX_INACTIVE_INTERVAL"] = "Session idle timeout";
|
|
35
|
+
AuditEntityAttribute2["CLUSTER_SESSION_HEARTBEAT"] = "Session heartbeat";
|
|
34
36
|
AuditEntityAttribute2["CLUSTER_EXTERNAL_IDP"] = "External identity provider";
|
|
35
37
|
AuditEntityAttribute2["CLUSTER_ENABLE_LOW_LATENCY"] = "Enable low latency";
|
|
36
38
|
AuditEntityAttribute2["CLUSTER_AUTOUPDATE"] = "Auto Update";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/enums/AuditEntity.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 AuditEntity {\n CLUSTER = 'Cluster',\n CLIENT = 'Client',\n ALERT_SUBSCRIPTION = 'Alert Subscription',\n API_CLIENT = 'API Client',\n SECURE_CONNECTIVITY_CRD = 'Private networking',\n BYOM_CLIENT = 'External Monitoring Client',\n BYOM_CRD = 'External Monitoring',\n INVITATION = 'Invitation',\n MEMBER = 'Member',\n ORGANIZATION = 'Organization',\n SALES_PLAN = 'SalesPlan',\n CLUSTER_PLAN = 'ClusterPlan',\n GENERATION = 'Generation',\n BILLING = 'Billing',\n USAGE_ALERT = 'Usage Alert',\n ACCEPT_BETA_TERMS = 'Accept Alpha terms',\n TOGGLE_BETA_FEATURE = 'Toggle Alpha feature',\n CONNECTOR_SECRET = 'Connector Secret',\n CLUSTER_MODIFICATION = 'Cluster Modification',\n}\n\nexport enum AuditEntityAttribute {\n CLUSTER_CLUSTER_PLAN = 'ClusterPlan',\n CLUSTER_GENERATION = 'Generation',\n CLUSTER_NAME = 'Name',\n CLUSTER_RBA = 'Resource Based Authorizations',\n CLUSTER_ENFORCE_GROUPS = 'Enforce Group Management',\n CLUSTER_PLAYMODE = 'Cluster Play Mode',\n CLUSTER_MCP_ENABLED = 'MCP Support',\n CLUSTER_SWAGGER = 'Cluster Swagger',\n CLUSTER_BUSINESS_ID_UNIQUENESS = 'Business ID Uniqueness',\n CLUSTER_MULTI_TENANCY = 'Multi-tenancy',\n CLUSTER_EXTERNAL_IDP = 'External identity provider',\n CLUSTER_ENABLE_LOW_LATENCY = 'Enable low latency',\n CLUSTER_AUTOUPDATE = 'Auto Update',\n CLUSTER_OWNER = 'Owner',\n CLUSTER_STATUS = 'Status',\n CLUSTER_TASKLIST_V2_ENABLED = 'Taklist V2 Enabled',\n CLUSTER_AUDIT_LOG = 'Audit Log',\n INVITATION_ROLE = 'Role',\n ORGANIZATION_NAME = 'Name',\n SALES_PLAN = 'Plan',\n BILLING_RESERVATION = 'Reservation',\n BILLING_GENERAL_USERS = 'GeneralUsers', // paid cc legaly - only kept for audit logs compatibility\n MEMBER_ROLE = 'Role',\n USAGE_ALERT_THRESHOLD = 'Threshold',\n USAGE_ALERT_STATUS = 'Status',\n CLUSTER_AUDIT_LOGS = 'Audit Logging',\n LLM_BUDGET = 'LLM Budget',\n LLM_KEY_BLOCKED = 'LLM Key Blocked',\n ORGANIZATION_LIMIT = 'Limit',\n CLUSTER_MODIFICATION = 'Modification',\n ORGANIZATION_TRIAL_EXPIRES_AT = 'Trial Expiration Date',\n}\n"],
|
|
5
|
-
"mappings": "AAOO,IAAK,cAAL,kBAAKA,iBAAL;AACL,EAAAA,aAAA,aAAU;AACV,EAAAA,aAAA,YAAS;AACT,EAAAA,aAAA,wBAAqB;AACrB,EAAAA,aAAA,gBAAa;AACb,EAAAA,aAAA,6BAA0B;AAC1B,EAAAA,aAAA,iBAAc;AACd,EAAAA,aAAA,cAAW;AACX,EAAAA,aAAA,gBAAa;AACb,EAAAA,aAAA,YAAS;AACT,EAAAA,aAAA,kBAAe;AACf,EAAAA,aAAA,gBAAa;AACb,EAAAA,aAAA,kBAAe;AACf,EAAAA,aAAA,gBAAa;AACb,EAAAA,aAAA,aAAU;AACV,EAAAA,aAAA,iBAAc;AACd,EAAAA,aAAA,uBAAoB;AACpB,EAAAA,aAAA,yBAAsB;AACtB,EAAAA,aAAA,sBAAmB;AACnB,EAAAA,aAAA,0BAAuB;AAnBb,SAAAA;AAAA,GAAA;AAsBL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,wBAAqB;AACrB,EAAAA,sBAAA,kBAAe;AACf,EAAAA,sBAAA,iBAAc;AACd,EAAAA,sBAAA,4BAAyB;AACzB,EAAAA,sBAAA,sBAAmB;AACnB,EAAAA,sBAAA,yBAAsB;AACtB,EAAAA,sBAAA,qBAAkB;AAClB,EAAAA,sBAAA,oCAAiC;AACjC,EAAAA,sBAAA,2BAAwB;AACxB,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,gCAA6B;AAC7B,EAAAA,sBAAA,wBAAqB;AACrB,EAAAA,sBAAA,mBAAgB;AAChB,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,iCAA8B;AAC9B,EAAAA,sBAAA,uBAAoB;AACpB,EAAAA,sBAAA,qBAAkB;AAClB,EAAAA,sBAAA,uBAAoB;AACpB,EAAAA,sBAAA,gBAAa;AACb,EAAAA,sBAAA,yBAAsB;AACtB,EAAAA,sBAAA,2BAAwB;AACxB,EAAAA,sBAAA,iBAAc;AACd,EAAAA,sBAAA,2BAAwB;AACxB,EAAAA,sBAAA,wBAAqB;AACrB,EAAAA,sBAAA,wBAAqB;AACrB,EAAAA,sBAAA,gBAAa;AACb,EAAAA,sBAAA,qBAAkB;AAClB,EAAAA,sBAAA,wBAAqB;AACrB,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,mCAAgC;
|
|
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 AuditEntity {\n CLUSTER = 'Cluster',\n CLIENT = 'Client',\n ALERT_SUBSCRIPTION = 'Alert Subscription',\n API_CLIENT = 'API Client',\n SECURE_CONNECTIVITY_CRD = 'Private networking',\n BYOM_CLIENT = 'External Monitoring Client',\n BYOM_CRD = 'External Monitoring',\n INVITATION = 'Invitation',\n MEMBER = 'Member',\n ORGANIZATION = 'Organization',\n SALES_PLAN = 'SalesPlan',\n CLUSTER_PLAN = 'ClusterPlan',\n GENERATION = 'Generation',\n BILLING = 'Billing',\n USAGE_ALERT = 'Usage Alert',\n ACCEPT_BETA_TERMS = 'Accept Alpha terms',\n TOGGLE_BETA_FEATURE = 'Toggle Alpha feature',\n CONNECTOR_SECRET = 'Connector Secret',\n CLUSTER_MODIFICATION = 'Cluster Modification',\n}\n\nexport enum AuditEntityAttribute {\n CLUSTER_CLUSTER_PLAN = 'ClusterPlan',\n CLUSTER_GENERATION = 'Generation',\n CLUSTER_NAME = 'Name',\n CLUSTER_RBA = 'Resource Based Authorizations',\n CLUSTER_ENFORCE_GROUPS = 'Enforce Group Management',\n CLUSTER_PLAYMODE = 'Cluster Play Mode',\n CLUSTER_MCP_ENABLED = 'MCP Support',\n CLUSTER_SWAGGER = 'Cluster Swagger',\n CLUSTER_BUSINESS_ID_UNIQUENESS = 'Business ID Uniqueness',\n CLUSTER_MULTI_TENANCY = 'Multi-tenancy',\n CLUSTER_SESSION_MAX_INACTIVE_INTERVAL = 'Session idle timeout',\n CLUSTER_SESSION_HEARTBEAT = 'Session heartbeat',\n CLUSTER_EXTERNAL_IDP = 'External identity provider',\n CLUSTER_ENABLE_LOW_LATENCY = 'Enable low latency',\n CLUSTER_AUTOUPDATE = 'Auto Update',\n CLUSTER_OWNER = 'Owner',\n CLUSTER_STATUS = 'Status',\n CLUSTER_TASKLIST_V2_ENABLED = 'Taklist V2 Enabled',\n CLUSTER_AUDIT_LOG = 'Audit Log',\n INVITATION_ROLE = 'Role',\n ORGANIZATION_NAME = 'Name',\n SALES_PLAN = 'Plan',\n BILLING_RESERVATION = 'Reservation',\n BILLING_GENERAL_USERS = 'GeneralUsers', // paid cc legaly - only kept for audit logs compatibility\n MEMBER_ROLE = 'Role',\n USAGE_ALERT_THRESHOLD = 'Threshold',\n USAGE_ALERT_STATUS = 'Status',\n CLUSTER_AUDIT_LOGS = 'Audit Logging',\n LLM_BUDGET = 'LLM Budget',\n LLM_KEY_BLOCKED = 'LLM Key Blocked',\n ORGANIZATION_LIMIT = 'Limit',\n CLUSTER_MODIFICATION = 'Modification',\n ORGANIZATION_TRIAL_EXPIRES_AT = 'Trial Expiration Date',\n}\n"],
|
|
5
|
+
"mappings": "AAOO,IAAK,cAAL,kBAAKA,iBAAL;AACL,EAAAA,aAAA,aAAU;AACV,EAAAA,aAAA,YAAS;AACT,EAAAA,aAAA,wBAAqB;AACrB,EAAAA,aAAA,gBAAa;AACb,EAAAA,aAAA,6BAA0B;AAC1B,EAAAA,aAAA,iBAAc;AACd,EAAAA,aAAA,cAAW;AACX,EAAAA,aAAA,gBAAa;AACb,EAAAA,aAAA,YAAS;AACT,EAAAA,aAAA,kBAAe;AACf,EAAAA,aAAA,gBAAa;AACb,EAAAA,aAAA,kBAAe;AACf,EAAAA,aAAA,gBAAa;AACb,EAAAA,aAAA,aAAU;AACV,EAAAA,aAAA,iBAAc;AACd,EAAAA,aAAA,uBAAoB;AACpB,EAAAA,aAAA,yBAAsB;AACtB,EAAAA,aAAA,sBAAmB;AACnB,EAAAA,aAAA,0BAAuB;AAnBb,SAAAA;AAAA,GAAA;AAsBL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,wBAAqB;AACrB,EAAAA,sBAAA,kBAAe;AACf,EAAAA,sBAAA,iBAAc;AACd,EAAAA,sBAAA,4BAAyB;AACzB,EAAAA,sBAAA,sBAAmB;AACnB,EAAAA,sBAAA,yBAAsB;AACtB,EAAAA,sBAAA,qBAAkB;AAClB,EAAAA,sBAAA,oCAAiC;AACjC,EAAAA,sBAAA,2BAAwB;AACxB,EAAAA,sBAAA,2CAAwC;AACxC,EAAAA,sBAAA,+BAA4B;AAC5B,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,gCAA6B;AAC7B,EAAAA,sBAAA,wBAAqB;AACrB,EAAAA,sBAAA,mBAAgB;AAChB,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,iCAA8B;AAC9B,EAAAA,sBAAA,uBAAoB;AACpB,EAAAA,sBAAA,qBAAkB;AAClB,EAAAA,sBAAA,uBAAoB;AACpB,EAAAA,sBAAA,gBAAa;AACb,EAAAA,sBAAA,yBAAsB;AACtB,EAAAA,sBAAA,2BAAwB;AACxB,EAAAA,sBAAA,iBAAc;AACd,EAAAA,sBAAA,2BAAwB;AACxB,EAAAA,sBAAA,wBAAqB;AACrB,EAAAA,sBAAA,wBAAqB;AACrB,EAAAA,sBAAA,gBAAa;AACb,EAAAA,sBAAA,qBAAkB;AAClB,EAAAA,sBAAA,wBAAqB;AACrB,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,mCAAgC;AAjCtB,SAAAA;AAAA,GAAA;",
|
|
6
6
|
"names": ["AuditEntity", "AuditEntityAttribute"]
|
|
7
7
|
}
|
|
@@ -25,6 +25,9 @@ export declare enum ConsoleAPIClientPermission {
|
|
|
25
25
|
CreateHotBackups = "CreateHotBackups",
|
|
26
26
|
RestoreHotBackup = "RestoreHotBackup",
|
|
27
27
|
GetHotBackupRestore = "GetHotBackupRestore",
|
|
28
|
+
GetHotBackupSchedule = "GetHotBackupSchedule",
|
|
29
|
+
UpdateHotBackupSchedule = "UpdateHotBackupSchedule",
|
|
30
|
+
DeleteHotBackupSchedule = "DeleteHotBackupSchedule",
|
|
28
31
|
DownloadActivity = "DownloadActivity",
|
|
29
32
|
GetByomClient = "GetByomClient",
|
|
30
33
|
ActivateByom = "ActivateByom",
|
|
@@ -34,5 +37,7 @@ export declare enum ConsoleAPIClientPermission {
|
|
|
34
37
|
DeleteByomClient = "DeleteByomClient",
|
|
35
38
|
GetSecureConnectivity = "GetSecureConnectivity",
|
|
36
39
|
ActivateSecureConnectivity = "ActivateSecureConnectivity",
|
|
37
|
-
DeactivateSecureConnectivity = "DeactivateSecureConnectivity"
|
|
40
|
+
DeactivateSecureConnectivity = "DeactivateSecureConnectivity",
|
|
41
|
+
/** Experimental — not enabled for all organizations. */
|
|
42
|
+
CreateFailover = "CreateFailover"
|
|
38
43
|
}
|
|
@@ -25,6 +25,9 @@ var ConsoleAPIClientPermission = /* @__PURE__ */ ((ConsoleAPIClientPermission2)
|
|
|
25
25
|
ConsoleAPIClientPermission2["CreateHotBackups"] = "CreateHotBackups";
|
|
26
26
|
ConsoleAPIClientPermission2["RestoreHotBackup"] = "RestoreHotBackup";
|
|
27
27
|
ConsoleAPIClientPermission2["GetHotBackupRestore"] = "GetHotBackupRestore";
|
|
28
|
+
ConsoleAPIClientPermission2["GetHotBackupSchedule"] = "GetHotBackupSchedule";
|
|
29
|
+
ConsoleAPIClientPermission2["UpdateHotBackupSchedule"] = "UpdateHotBackupSchedule";
|
|
30
|
+
ConsoleAPIClientPermission2["DeleteHotBackupSchedule"] = "DeleteHotBackupSchedule";
|
|
28
31
|
ConsoleAPIClientPermission2["DownloadActivity"] = "DownloadActivity";
|
|
29
32
|
ConsoleAPIClientPermission2["GetByomClient"] = "GetByomClient";
|
|
30
33
|
ConsoleAPIClientPermission2["ActivateByom"] = "ActivateByom";
|
|
@@ -35,6 +38,7 @@ var ConsoleAPIClientPermission = /* @__PURE__ */ ((ConsoleAPIClientPermission2)
|
|
|
35
38
|
ConsoleAPIClientPermission2["GetSecureConnectivity"] = "GetSecureConnectivity";
|
|
36
39
|
ConsoleAPIClientPermission2["ActivateSecureConnectivity"] = "ActivateSecureConnectivity";
|
|
37
40
|
ConsoleAPIClientPermission2["DeactivateSecureConnectivity"] = "DeactivateSecureConnectivity";
|
|
41
|
+
ConsoleAPIClientPermission2["CreateFailover"] = "CreateFailover";
|
|
38
42
|
return ConsoleAPIClientPermission2;
|
|
39
43
|
})(ConsoleAPIClientPermission || {});
|
|
40
44
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/enums/ConsoleApiClientPermission.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-next-line no-shadow\nexport enum ConsoleAPIClientPermission {\n CreateCluster = 'CreateCluster',\n DeleteCluster = 'DeleteCluster',\n GetCluster = 'GetCluster',\n UpdateCluster = 'UpdateCluster',\n UpdateClusterEncryption = 'UpdateClusterEncryption',\n CreateZeebeClient = 'CreateZeebeClient',\n DeleteZeebeClient = 'DeleteZeebeClient',\n GetZeebeClient = 'GetZeebeClient',\n CreateModel = 'CreateModel',\n UpdateModel = 'UpdateModel',\n DeleteModel = 'DeleteModel',\n GetModel = 'GetModel',\n\n GetWhitelists = 'GetWhitelists',\n UpdateWhitelists = 'UpdateWhitelists',\n\n GetSecrets = 'GetSecrets',\n DeleteSecrets = 'DeleteSecrets',\n CreateSecrets = 'CreateSecrets',\n UpdateSecrets = 'UpdateSecrets',\n\n GetMembers = 'GetMembers',\n UpdateMembers = 'UpdateMembers',\n DeleteMembers = 'DeleteMembers',\n GetHotBackups = 'GetHotBackups',\n DeleteHotBackups = 'DeleteHotBackups',\n CreateHotBackups = 'CreateHotBackups',\n RestoreHotBackup = 'RestoreHotBackup',\n GetHotBackupRestore = 'GetHotBackupRestore',\n DownloadActivity = 'DownloadActivity',\n GetByomClient = 'GetByomClient',\n ActivateByom = 'ActivateByom',\n DeactivateByom = 'DeactivateByom',\n CreateByomClient = 'CreateByomClient',\n UpdateByomClient = 'UpdateByomClient',\n DeleteByomClient = 'DeleteByomClient',\n GetSecureConnectivity = 'GetSecureConnectivity',\n ActivateSecureConnectivity = 'ActivateSecureConnectivity',\n DeactivateSecureConnectivity = 'DeactivateSecureConnectivity',\n}\n"],
|
|
5
|
-
"mappings": "AAOO,IAAK,6BAAL,kBAAKA,gCAAL;AACL,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,gBAAa;AACb,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,6BAA0B;AAC1B,EAAAA,4BAAA,uBAAoB;AACpB,EAAAA,4BAAA,uBAAoB;AACpB,EAAAA,4BAAA,oBAAiB;AACjB,EAAAA,4BAAA,iBAAc;AACd,EAAAA,4BAAA,iBAAc;AACd,EAAAA,4BAAA,iBAAc;AACd,EAAAA,4BAAA,cAAW;AAEX,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,sBAAmB;AAEnB,EAAAA,4BAAA,gBAAa;AACb,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,mBAAgB;AAEhB,EAAAA,4BAAA,gBAAa;AACb,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,yBAAsB;AACtB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,kBAAe;AACf,EAAAA,4BAAA,oBAAiB;AACjB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,2BAAwB;AACxB,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,kCAA+B;
|
|
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-next-line no-shadow\nexport enum ConsoleAPIClientPermission {\n CreateCluster = 'CreateCluster',\n DeleteCluster = 'DeleteCluster',\n GetCluster = 'GetCluster',\n UpdateCluster = 'UpdateCluster',\n UpdateClusterEncryption = 'UpdateClusterEncryption',\n CreateZeebeClient = 'CreateZeebeClient',\n DeleteZeebeClient = 'DeleteZeebeClient',\n GetZeebeClient = 'GetZeebeClient',\n CreateModel = 'CreateModel',\n UpdateModel = 'UpdateModel',\n DeleteModel = 'DeleteModel',\n GetModel = 'GetModel',\n\n GetWhitelists = 'GetWhitelists',\n UpdateWhitelists = 'UpdateWhitelists',\n\n GetSecrets = 'GetSecrets',\n DeleteSecrets = 'DeleteSecrets',\n CreateSecrets = 'CreateSecrets',\n UpdateSecrets = 'UpdateSecrets',\n\n GetMembers = 'GetMembers',\n UpdateMembers = 'UpdateMembers',\n DeleteMembers = 'DeleteMembers',\n GetHotBackups = 'GetHotBackups',\n DeleteHotBackups = 'DeleteHotBackups',\n CreateHotBackups = 'CreateHotBackups',\n RestoreHotBackup = 'RestoreHotBackup',\n GetHotBackupRestore = 'GetHotBackupRestore',\n GetHotBackupSchedule = 'GetHotBackupSchedule',\n UpdateHotBackupSchedule = 'UpdateHotBackupSchedule',\n DeleteHotBackupSchedule = 'DeleteHotBackupSchedule',\n DownloadActivity = 'DownloadActivity',\n GetByomClient = 'GetByomClient',\n ActivateByom = 'ActivateByom',\n DeactivateByom = 'DeactivateByom',\n CreateByomClient = 'CreateByomClient',\n UpdateByomClient = 'UpdateByomClient',\n DeleteByomClient = 'DeleteByomClient',\n GetSecureConnectivity = 'GetSecureConnectivity',\n ActivateSecureConnectivity = 'ActivateSecureConnectivity',\n DeactivateSecureConnectivity = 'DeactivateSecureConnectivity',\n\n /** Experimental \u2014 not enabled for all organizations. */\n CreateFailover = 'CreateFailover',\n}\n"],
|
|
5
|
+
"mappings": "AAOO,IAAK,6BAAL,kBAAKA,gCAAL;AACL,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,gBAAa;AACb,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,6BAA0B;AAC1B,EAAAA,4BAAA,uBAAoB;AACpB,EAAAA,4BAAA,uBAAoB;AACpB,EAAAA,4BAAA,oBAAiB;AACjB,EAAAA,4BAAA,iBAAc;AACd,EAAAA,4BAAA,iBAAc;AACd,EAAAA,4BAAA,iBAAc;AACd,EAAAA,4BAAA,cAAW;AAEX,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,sBAAmB;AAEnB,EAAAA,4BAAA,gBAAa;AACb,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,mBAAgB;AAEhB,EAAAA,4BAAA,gBAAa;AACb,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,yBAAsB;AACtB,EAAAA,4BAAA,0BAAuB;AACvB,EAAAA,4BAAA,6BAA0B;AAC1B,EAAAA,4BAAA,6BAA0B;AAC1B,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,mBAAgB;AAChB,EAAAA,4BAAA,kBAAe;AACf,EAAAA,4BAAA,oBAAiB;AACjB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,sBAAmB;AACnB,EAAAA,4BAAA,2BAAwB;AACxB,EAAAA,4BAAA,gCAA6B;AAC7B,EAAAA,4BAAA,kCAA+B;AAG/B,EAAAA,4BAAA,oBAAiB;AA7CP,SAAAA;AAAA,GAAA;",
|
|
6
6
|
"names": ["ConsoleAPIClientPermission"]
|
|
7
7
|
}
|
|
@@ -6,6 +6,7 @@ var ErrorType = /* @__PURE__ */ ((ErrorType2) => {
|
|
|
6
6
|
ErrorType2[ErrorType2["Conflict"] = 409] = "Conflict";
|
|
7
7
|
ErrorType2[ErrorType2["PreconditionFailed"] = 412] = "PreconditionFailed";
|
|
8
8
|
ErrorType2[ErrorType2["IAmATeapot"] = 418] = "IAmATeapot";
|
|
9
|
+
ErrorType2[ErrorType2["UnprocessableEntity"] = 422] = "UnprocessableEntity";
|
|
9
10
|
ErrorType2[ErrorType2["TooManyRequests"] = 429] = "TooManyRequests";
|
|
10
11
|
ErrorType2[ErrorType2["Internal"] = 500] = "Internal";
|
|
11
12
|
ErrorType2[ErrorType2["NotImplemented"] = 501] = "NotImplemented";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/enums/ErrorType.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-next-line no-shadow\nexport enum ErrorType {\n BadRequest = 400,\n Unauthorized = 401,\n Forbidden = 403,\n NotFound = 404,\n Conflict = 409,\n PreconditionFailed = 412,\n IAmATeapot = 418,\n TooManyRequests = 429,\n Internal = 500,\n NotImplemented = 501,\n ServiceUnavailable = 503,\n}\n"],
|
|
5
|
-
"mappings": "AAOO,IAAK,YAAL,kBAAKA,eAAL;AACL,EAAAA,sBAAA,gBAAa,OAAb;AACA,EAAAA,sBAAA,kBAAe,OAAf;AACA,EAAAA,sBAAA,eAAY,OAAZ;AACA,EAAAA,sBAAA,cAAW,OAAX;AACA,EAAAA,sBAAA,cAAW,OAAX;AACA,EAAAA,sBAAA,wBAAqB,OAArB;AACA,EAAAA,sBAAA,gBAAa,OAAb;AACA,EAAAA,sBAAA,qBAAkB,OAAlB;AACA,EAAAA,sBAAA,cAAW,OAAX;AACA,EAAAA,sBAAA,oBAAiB,OAAjB;AACA,EAAAA,sBAAA,wBAAqB,OAArB;
|
|
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-next-line no-shadow\nexport enum ErrorType {\n BadRequest = 400,\n Unauthorized = 401,\n Forbidden = 403,\n NotFound = 404,\n Conflict = 409,\n PreconditionFailed = 412,\n IAmATeapot = 418,\n UnprocessableEntity = 422,\n TooManyRequests = 429,\n Internal = 500,\n NotImplemented = 501,\n ServiceUnavailable = 503,\n}\n"],
|
|
5
|
+
"mappings": "AAOO,IAAK,YAAL,kBAAKA,eAAL;AACL,EAAAA,sBAAA,gBAAa,OAAb;AACA,EAAAA,sBAAA,kBAAe,OAAf;AACA,EAAAA,sBAAA,eAAY,OAAZ;AACA,EAAAA,sBAAA,cAAW,OAAX;AACA,EAAAA,sBAAA,cAAW,OAAX;AACA,EAAAA,sBAAA,wBAAqB,OAArB;AACA,EAAAA,sBAAA,gBAAa,OAAb;AACA,EAAAA,sBAAA,yBAAsB,OAAtB;AACA,EAAAA,sBAAA,qBAAkB,OAAlB;AACA,EAAAA,sBAAA,cAAW,OAAX;AACA,EAAAA,sBAAA,oBAAiB,OAAjB;AACA,EAAAA,sBAAA,wBAAqB,OAArB;AAZU,SAAAA;AAAA,GAAA;",
|
|
6
6
|
"names": ["ErrorType"]
|
|
7
7
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { DAY, HOUR, MINUTE, SECOND, WEEK } from './constants/duration.const.js';
|
|
2
2
|
export { isSupportedFailoverRegionPair, SUPPORTED_FAILOVER_REGION_PAIRS, } from './constants/failoverRegionPairs.const.js';
|
|
3
3
|
export type { Stage } from './constants/misc.const.js';
|
|
4
|
-
export { CONSOLE_API_USER_ID, FIRSTNAME_LASTNAME_MAX_LENGTH, HOTBACKUP_MIN_CREATE_PERIOD, MAX_HARDWARE_PACKAGE_COUNT, MAX_LENGTH_CLUSTER_NAME, MINIMUM_EYEPAIRS, NAMES_OF_ENTERPRISE_SALESPLANS_WITH_SLEEPING_CLUSTERS, OPTIMIZE_FILTERING_MIN_VERSION, SECRETS_MAX_LENGTH, STARTING_PRICE_PER_MONTH_IN_EURO, TEMPORARY_CLUSTER_NAME, } from './constants/misc.const.js';
|
|
4
|
+
export { APP_INTEGRATIONS_89_STREAM_CONNECTOR_BRIDGE_MIN_VERSION, APP_INTEGRATIONS_89_STREAM_ZEEBE_MIN_VERSION, APP_INTEGRATIONS_MIN_VERSION, BYOIDP_MIN_VERSION, CONNECTOR_SECRET_SYNC_MIN_VERSION, CONSOLE_API_USER_ID, FIRSTNAME_LASTNAME_MAX_LENGTH, HOTBACKUP_MIN_CREATE_PERIOD, MAX_HARDWARE_PACKAGE_COUNT, MAX_LENGTH_CLUSTER_NAME, MINIMUM_EYEPAIRS, NAMES_OF_ENTERPRISE_SALESPLANS_WITH_SLEEPING_CLUSTERS, OPTIMIZE_FILTERING_MIN_VERSION, SECRET_SOURCE_MIN_VERSION, SECRETS_MAX_LENGTH, STARTING_PRICE_PER_MONTH_IN_EURO, TEMPORARY_CLUSTER_NAME, } from './constants/misc.const.js';
|
|
5
5
|
export { getGatewayPropertyHint, getGatewayPropertyPath, isAffectedByStreamlinedDeployment, isPre89AffectedPath, PRE89_AFFECTED_PATHS, PRE89_AFFECTED_PROPERTY_PREFIXES, PRE89_GATEWAY_PROPERTY_PATHS, PRE89_GATEWAY_RESOURCE_PREFIXES, } from './constants/pre89EnvVarMapping.const.js';
|
|
6
6
|
export { PRIVATE_LINK_REGIONS } from './constants/privateLinkRegions.const.js';
|
|
7
7
|
export { SECURE_CONNECTIVITY_ALLOWED_ENTRIES_LIMIT } from './constants/secureConnectivity.const.js';
|
|
@@ -20,7 +20,7 @@ export type { ClusterPlanTypeDto } from './dtos/ClusterPlanType.dto.js';
|
|
|
20
20
|
export type { ClusterSpecChange, ClusterSpecChangeActor, ClusterSpecHistory, } from './dtos/ClusterSpecHistory.dto.js';
|
|
21
21
|
export type { CommonClusterDto, ExternalIdpConfig, OptimizeFilteringConfig, OptimizeFilteringIncludeExclude, OptimizeFilteringPatch, } from './dtos/CommonCluster.dto.js';
|
|
22
22
|
export type { ConsoleClusterDto } from './dtos/ConsoleCluster.dto.js';
|
|
23
|
-
export type { ClusterByClientV2Dto, ClusterDetailV2Dto, ClusterFacetsV2Dto, ClusterListItemV2Dto, ClusterParameterOptionV2Dto, ClusterParametersV2Dto, ControlResolvedPermissions, ControlSessionDto, ControlSessionUser, CursorPage, CursorParams, ListClustersV2Params, ListOrganizationsV2Params, ListOrgMembersV2Params, OrgDetailV2Dto, OrgListItemV2Dto, OrgMemberV2Dto, OrgSummaryV2Dto, } from './dtos/ControlV2.dto.js';
|
|
23
|
+
export type { ClusterByClientV2Dto, ClusterDatacenterOptionV2Dto, ClusterDetailV2Dto, ClusterFacetsV2Dto, ClusterListItemV2Dto, ClusterParameterOptionV2Dto, ClusterParametersV2Dto, ControlResolvedPermissions, ControlSessionDto, ControlSessionUser, CursorPage, CursorParams, ListClustersV2Params, ListOrganizationsV2Params, ListOrgMembersV2Params, OrgDetailV2Dto, OrgListItemV2Dto, OrgMemberV2Dto, OrgSummaryV2Dto, } from './dtos/ControlV2.dto.js';
|
|
24
24
|
export type { EarlyAccessFeatureDto } from './dtos/EarlyAccessFeature.dto.js';
|
|
25
25
|
export type { CamundaWebApp, CamundaWebAppWithZeebe, ExternalClusterDto, ExternalOrganizationDto, } from './dtos/ExternalWebapp.dto.js';
|
|
26
26
|
export { type GenerationDto, type GenerationWithClusterCountDto, sortGenerationBySemverOfZeebe, type UpgradableGenerationsDto, } from './dtos/Generations.dto.js';
|
|
@@ -91,7 +91,7 @@ export { ConsoleSM } from './types/ConsoleSelfManaged.type.js';
|
|
|
91
91
|
export type { ConsoleSMAdminApi } from './types/ConsoleSelfManagedAdminApi.type.js';
|
|
92
92
|
export type { DashboardConfig, DashboardMappingItem, DashboardMappingTarget, DashboardResultPrimitive, DashboardResultRow, EngineeringOperationsDashboardResponse, } from './types/Dashboard.types.js';
|
|
93
93
|
export type { EnterpriseIncludingValueMetrics } from './types/EnterpriseIncludingValueMetrics.type.js';
|
|
94
|
-
export type { HdpTenantUsagePoint } from './types/HdpTenantUsage.type.js';
|
|
94
|
+
export type { HdpTenantUsageBreakdown, HdpTenantUsagePerClusterPoint, HdpTenantUsagePoint, } from './types/HdpTenantUsage.type.js';
|
|
95
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';
|
|
96
96
|
export { AlertSubscriptionReportType as HdpAlertSubscriptionReportType, AlertSubscriptionType as HdpAlertSubscriptionType, } from './types/hdp.types.js';
|
|
97
97
|
export type { GlobalNotification, NotificationDto, NotificationMeta, NotificationOptions, NotificationPermission, NotificationSource, NotificationState, NotificationType, OrgNotification, UserNotification, UserOrgNotification, } from './types/notification.type.js';
|
|
@@ -112,10 +112,14 @@ export type { GetSuspendStrategyOptions, SuspendStrategy, } from './types/Suspen
|
|
|
112
112
|
export { getSuspendStrategy } from './types/SuspendStrategy.type.js';
|
|
113
113
|
export type { SystemAuditData } from './types/SystemAuditData.type.js';
|
|
114
114
|
export { Telemetry } from './types/Telemetry.type.js';
|
|
115
|
+
export type { ExtensionListItem, ExtensionListResponse, OrgTrialDetail, TrialExtensionSource, TrialManagementStats, } from './types/TrialManagement.types.js';
|
|
115
116
|
export type { AccountsData, AppMetadata, BasicUser, BlockedFor, Identity, OrgMembership, User, UserMetadata, UserRequest, } from './types/User.type.js';
|
|
116
117
|
export { UserMetadataEvent } from './types/User.type.js';
|
|
117
118
|
export type { UniqueTaskUser, ValueMetrics, ValueMetricsPerYearMonth, } from './types/ValueMetrics.type.js';
|
|
119
|
+
export { CLOUD_PROVIDER_ORDER, getCloudProviderLabel, getCloudProviderRank, } from './utils/cloudProvider.utils.js';
|
|
118
120
|
export { ConsoleSelfManagedUtils } from './utils/console-sm.utils.js';
|
|
121
|
+
export type { CronScheduleValidationFailure, CronScheduleValidationResult, CronScheduleValidationSuccess, } from './utils/cronSchedule.utils.js';
|
|
122
|
+
export { BACKUP_SCHEDULE_MIN_INTERVAL_MINUTES, validateCronSchedule, } from './utils/cronSchedule.utils.js';
|
|
119
123
|
export { deriveEncryptionStatus, type EncryptionStatus, isEncryptionStatus, } from './utils/encryptionStatus.utils.js';
|
|
120
124
|
export type { EnterpriseConnectionOrganizationAssignment } from './utils/enterprise-connection.utils.js';
|
|
121
125
|
export { enterpriseConnectionMetadataToOrganizationAssignments, organizationAssignmentsToEnterpriseConnectionMetadata, } from './utils/enterprise-connection.utils.js';
|
|
@@ -130,9 +134,9 @@ export { getPermissionsByRoles, getUserPermissionsForOrg, } from './utils/orgs/O
|
|
|
130
134
|
export type { PasswordPolicyRequest, PasswordPolicyResult, } from './utils/PasswordPolicy.js';
|
|
131
135
|
export { MAXLENGTH as PASSWORD_POLICY_MAXLENGTH, MINLENGTH as PASSWORD_POLICY_MINLENGTH, passwordPolicyCheck, } from './utils/PasswordPolicy.js';
|
|
132
136
|
export { allSettledResultsCounts, getFulfilledPromises, getRejectedPromises, getSettledSummary, } from './utils/settledPromises.util.js';
|
|
133
|
-
export { isValidAwsArn, isValidCIDR, isValidCIDRList, isValidClientName, isValidHostname, isValidPrivateLinkRegion, } from './utils/string-validation.utils.js';
|
|
137
|
+
export { isValidAwsArn, isValidCIDR, isValidCIDRList, isValidClientName, isValidHostname, isValidPrivateLinkRegion, normalizeCIDRList, } from './utils/string-validation.utils.js';
|
|
134
138
|
export { extractCamundaUserEmail, guessName, isCamundaUserId, } from './utils/user.utils.js';
|
|
135
|
-
export { checkVersion, VersionCheckOperator, } from './utils/versionCheck.utils.js';
|
|
139
|
+
export { checkVersion, isAppIntegrationsVersionSupported, VersionCheckOperator, } from './utils/versionCheck.utils.js';
|
|
136
140
|
export { default as CAMUNDI_PERMISSION_RULES } from './config/camundi-permission-rules.js';
|
|
137
141
|
export type { CamundiPermissionRules } from './config/camundi-permission-rules.types.js';
|
|
138
142
|
export { augmentCamundiPermissions, getApplicableRolesForEmployee, isManager, } from './utils/camundiPermissionAugmenter.utils.js';
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,11 @@ import {
|
|
|
4
4
|
SUPPORTED_FAILOVER_REGION_PAIRS
|
|
5
5
|
} from "./constants/failoverRegionPairs.const.js";
|
|
6
6
|
import {
|
|
7
|
+
APP_INTEGRATIONS_89_STREAM_CONNECTOR_BRIDGE_MIN_VERSION,
|
|
8
|
+
APP_INTEGRATIONS_89_STREAM_ZEEBE_MIN_VERSION,
|
|
9
|
+
APP_INTEGRATIONS_MIN_VERSION,
|
|
10
|
+
BYOIDP_MIN_VERSION,
|
|
11
|
+
CONNECTOR_SECRET_SYNC_MIN_VERSION,
|
|
7
12
|
CONSOLE_API_USER_ID,
|
|
8
13
|
FIRSTNAME_LASTNAME_MAX_LENGTH,
|
|
9
14
|
HOTBACKUP_MIN_CREATE_PERIOD,
|
|
@@ -12,6 +17,7 @@ import {
|
|
|
12
17
|
MINIMUM_EYEPAIRS,
|
|
13
18
|
NAMES_OF_ENTERPRISE_SALESPLANS_WITH_SLEEPING_CLUSTERS,
|
|
14
19
|
OPTIMIZE_FILTERING_MIN_VERSION,
|
|
20
|
+
SECRET_SOURCE_MIN_VERSION,
|
|
15
21
|
SECRETS_MAX_LENGTH,
|
|
16
22
|
STARTING_PRICE_PER_MONTH_IN_EURO,
|
|
17
23
|
TEMPORARY_CLUSTER_NAME
|
|
@@ -174,7 +180,16 @@ import { FeedbackType } from "./types/Survey.type.js";
|
|
|
174
180
|
import { getSuspendStrategy } from "./types/SuspendStrategy.type.js";
|
|
175
181
|
import { Telemetry } from "./types/Telemetry.type.js";
|
|
176
182
|
import { UserMetadataEvent } from "./types/User.type.js";
|
|
183
|
+
import {
|
|
184
|
+
CLOUD_PROVIDER_ORDER,
|
|
185
|
+
getCloudProviderLabel,
|
|
186
|
+
getCloudProviderRank
|
|
187
|
+
} from "./utils/cloudProvider.utils.js";
|
|
177
188
|
import { ConsoleSelfManagedUtils } from "./utils/console-sm.utils.js";
|
|
189
|
+
import {
|
|
190
|
+
BACKUP_SCHEDULE_MIN_INTERVAL_MINUTES,
|
|
191
|
+
validateCronSchedule
|
|
192
|
+
} from "./utils/cronSchedule.utils.js";
|
|
178
193
|
import {
|
|
179
194
|
deriveEncryptionStatus,
|
|
180
195
|
isEncryptionStatus
|
|
@@ -224,7 +239,8 @@ import {
|
|
|
224
239
|
isValidCIDRList,
|
|
225
240
|
isValidClientName,
|
|
226
241
|
isValidHostname,
|
|
227
|
-
isValidPrivateLinkRegion
|
|
242
|
+
isValidPrivateLinkRegion,
|
|
243
|
+
normalizeCIDRList
|
|
228
244
|
} from "./utils/string-validation.utils.js";
|
|
229
245
|
import {
|
|
230
246
|
extractCamundaUserEmail,
|
|
@@ -233,6 +249,7 @@ import {
|
|
|
233
249
|
} from "./utils/user.utils.js";
|
|
234
250
|
import {
|
|
235
251
|
checkVersion,
|
|
252
|
+
isAppIntegrationsVersionSupported,
|
|
236
253
|
VersionCheckOperator
|
|
237
254
|
} from "./utils/versionCheck.utils.js";
|
|
238
255
|
import { default as default2 } from "./config/camundi-permission-rules.js";
|
|
@@ -243,6 +260,9 @@ import {
|
|
|
243
260
|
} from "./utils/camundiPermissionAugmenter.utils.js";
|
|
244
261
|
export {
|
|
245
262
|
ALLOWED_CAMUNDA_LABELS,
|
|
263
|
+
APP_INTEGRATIONS_89_STREAM_CONNECTOR_BRIDGE_MIN_VERSION,
|
|
264
|
+
APP_INTEGRATIONS_89_STREAM_ZEEBE_MIN_VERSION,
|
|
265
|
+
APP_INTEGRATIONS_MIN_VERSION,
|
|
246
266
|
AccountsPermissions,
|
|
247
267
|
AlertDistributorPermissions,
|
|
248
268
|
AlertSubscriptionReportType,
|
|
@@ -254,11 +274,15 @@ export {
|
|
|
254
274
|
AuditEntityAttribute,
|
|
255
275
|
AuditLoggerPermissions,
|
|
256
276
|
AuditService,
|
|
277
|
+
BACKUP_SCHEDULE_MIN_INTERVAL_MINUTES,
|
|
278
|
+
BYOIDP_MIN_VERSION,
|
|
257
279
|
BackupStatus,
|
|
258
280
|
default2 as CAMUNDI_PERMISSION_RULES,
|
|
281
|
+
CLOUD_PROVIDER_ORDER,
|
|
259
282
|
CLUSTER_DEFAULT_SEARCH_FIELDS,
|
|
260
283
|
CLUSTER_PLAN_FIELDS,
|
|
261
284
|
CLUSTER_SEARCH_FIELDS,
|
|
285
|
+
CONNECTOR_SECRET_SYNC_MIN_VERSION,
|
|
262
286
|
CONSOLE_API_USER_ID,
|
|
263
287
|
ClusterBulkOperationStatus,
|
|
264
288
|
ClusterBulkOperationType,
|
|
@@ -327,6 +351,7 @@ export {
|
|
|
327
351
|
SAFE_ROLES,
|
|
328
352
|
SECOND,
|
|
329
353
|
SECRETS_MAX_LENGTH,
|
|
354
|
+
SECRET_SOURCE_MIN_VERSION,
|
|
330
355
|
SECURE_CONNECTIVITY_ALLOWED_ENTRIES_LIMIT,
|
|
331
356
|
SLEEP_CRON_ELIGIBLE_TAGS,
|
|
332
357
|
STARTING_PRICE_PER_MONTH_IN_EURO,
|
|
@@ -368,6 +393,8 @@ export {
|
|
|
368
393
|
findSearchField,
|
|
369
394
|
getAnalyticsSalesPlanFromOrgSalesPlan,
|
|
370
395
|
getApplicableRolesForEmployee,
|
|
396
|
+
getCloudProviderLabel,
|
|
397
|
+
getCloudProviderRank,
|
|
371
398
|
getCurrentEnterpriseTerm,
|
|
372
399
|
getDisplayedSalesPlan,
|
|
373
400
|
getFulfilledPromises,
|
|
@@ -383,6 +410,7 @@ export {
|
|
|
383
410
|
hasAvailabilityClass,
|
|
384
411
|
isActivitySleepEligible,
|
|
385
412
|
isAffectedByStreamlinedDeployment,
|
|
413
|
+
isAppIntegrationsVersionSupported,
|
|
386
414
|
isBulkClusterDeletionItem,
|
|
387
415
|
isBulkClusterPlanTypeUpdateItem,
|
|
388
416
|
isBulkClusterPlanUpdateItem,
|
|
@@ -404,6 +432,7 @@ export {
|
|
|
404
432
|
isValidHostname,
|
|
405
433
|
isValidPrivateLinkRegion,
|
|
406
434
|
likeArgument,
|
|
435
|
+
normalizeCIDRList,
|
|
407
436
|
organizationAssignmentsToEnterpriseConnectionMetadata,
|
|
408
437
|
parseEnvVars,
|
|
409
438
|
parseKmsArn,
|
|
@@ -417,6 +446,7 @@ export {
|
|
|
417
446
|
toUtcDayStartMs,
|
|
418
447
|
unusedClusterBasedLimits,
|
|
419
448
|
unusedSalesPlanLimits,
|
|
449
|
+
validateCronSchedule,
|
|
420
450
|
validateKmsArnForRegion,
|
|
421
451
|
validateLabels
|
|
422
452
|
};
|