@camunda/ccma-shared-types 0.7.0 → 1.1.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/_tests/dtos/Generations.dto.spec.d.ts +1 -0
- package/dist/_tests/types/alertSubscription.enum.spec.d.ts +1 -0
- package/dist/_tests/utils/connectivityStatus.utils.spec.d.ts +1 -0
- package/dist/_tests/utils/secondaryStorageStatus.utils.spec.d.ts +1 -0
- package/dist/constants/failoverRegionPairs.const.d.ts +21 -3
- package/dist/constants/failoverRegionPairs.const.js +13 -1
- package/dist/constants/failoverRegionPairs.const.js.map +2 -2
- package/dist/constants/version-gates.const.d.ts +80 -17
- package/dist/constants/version-gates.const.js +15 -1
- package/dist/constants/version-gates.const.js.map +2 -2
- package/dist/dtos/AlertSubscription.dto.d.ts +8 -1
- package/dist/dtos/AlertSubscription.dto.js +11 -1
- package/dist/dtos/AlertSubscription.dto.js.map +2 -2
- package/dist/dtos/ClusterDeferredSpecChange.dto.d.ts +24 -0
- package/dist/dtos/ClusterDeferredSpecChange.dto.js +1 -0
- package/dist/dtos/ClusterDeferredSpecChange.dto.js.map +7 -0
- package/dist/dtos/CommonCluster.dto.d.ts +21 -1
- package/dist/dtos/ConsoleCluster.dto.d.ts +8 -0
- package/dist/dtos/ControlV2.dto.d.ts +10 -3
- package/dist/dtos/FeatureFlags.dto.d.ts +51 -0
- package/dist/dtos/FeatureFlags.dto.js +1 -0
- package/dist/dtos/FeatureFlags.dto.js.map +7 -0
- package/dist/dtos/Generations.dto.js +11 -3
- package/dist/dtos/Generations.dto.js.map +2 -2
- package/dist/dtos/K8sContext.dto.d.ts +7 -0
- package/dist/dtos/Organization.dto.d.ts +32 -1
- package/dist/dtos/Organization.dto.js.map +1 -1
- package/dist/enums/AlertSubscription.enum.d.ts +1 -3
- package/dist/enums/AlertSubscription.enum.js +0 -2
- package/dist/enums/AlertSubscription.enum.js.map +2 -2
- 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/index.d.ts +9 -4
- package/dist/index.js +34 -0
- package/dist/index.js.map +2 -2
- package/dist/types/ClusterBulkOperation.type.d.ts +10 -0
- package/dist/types/OrganizationPermission.type.js +5 -2
- package/dist/types/OrganizationPermission.type.js.map +2 -2
- package/dist/types/hdp.types.d.ts +1 -3
- package/dist/types/hdp.types.js +0 -2
- package/dist/types/hdp.types.js.map +2 -2
- package/dist/utils/connectivityStatus.utils.d.ts +28 -0
- package/dist/utils/connectivityStatus.utils.js +32 -0
- package/dist/utils/connectivityStatus.utils.js.map +7 -0
- package/dist/utils/failoverKeyPolicy.utils.d.ts +6 -9
- package/dist/utils/failoverKeyPolicy.utils.js +1 -2
- package/dist/utils/failoverKeyPolicy.utils.js.map +2 -2
- package/dist/utils/orgStartDate.utils.d.ts +28 -0
- package/dist/utils/orgStartDate.utils.js +25 -0
- package/dist/utils/orgStartDate.utils.js.map +7 -0
- package/dist/utils/orgStartDate.utils.spec.d.ts +1 -0
- package/dist/utils/orgs/OrgHelper.spec.d.ts +1 -0
- package/dist/utils/secondaryStorageStatus.utils.d.ts +25 -0
- package/dist/utils/secondaryStorageStatus.utils.js +13 -0
- package/dist/utils/secondaryStorageStatus.utils.js.map +7 -0
- package/dist/utils/versionCheck.utils.d.ts +65 -0
- package/dist/utils/versionCheck.utils.js +75 -13
- package/dist/utils/versionCheck.utils.js.map +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This type gives the shape of the feature flags of the management apps. It is
|
|
3
|
+
* also the body of `GET external/feature-flags` on accounts-backend.
|
|
4
|
+
*
|
|
5
|
+
* The shape is here, but the evaluation is not. `features({stage, orgId,
|
|
6
|
+
* email})` in `@camunda-cloud/featureflags` stays the only place that decides
|
|
7
|
+
* if a flag is on. That package is private, thus a published package
|
|
8
|
+
* (`@camunda/ccma-api`, `@camunda/ccma-saas-frontend`) cannot name the type
|
|
9
|
+
* from there. `@camunda-cloud/featureflags` re-exports `Features` from here.
|
|
10
|
+
* Thus the type has one definition, and every existing import path still works.
|
|
11
|
+
*
|
|
12
|
+
* A c4 host reads one flag with `useC4FeatureFlag('console.optionalTelemetry')`
|
|
13
|
+
* — a dot path into this object.
|
|
14
|
+
*/
|
|
15
|
+
export interface Features {
|
|
16
|
+
console: {
|
|
17
|
+
admin: {
|
|
18
|
+
overrideOrgRole: boolean;
|
|
19
|
+
};
|
|
20
|
+
clusterSuspendButton: boolean;
|
|
21
|
+
clusterSleepWarning: boolean;
|
|
22
|
+
backupRestore: boolean;
|
|
23
|
+
failover: boolean;
|
|
24
|
+
privateLink87: boolean;
|
|
25
|
+
byoidp: boolean;
|
|
26
|
+
optimizeUnsetOnDisable: boolean;
|
|
27
|
+
appIntegrations: boolean;
|
|
28
|
+
optionalTelemetry: boolean;
|
|
29
|
+
releaseTrainSanityFix: boolean;
|
|
30
|
+
hubHelpCenterLinks: boolean;
|
|
31
|
+
legacyModelerApiNaming: boolean;
|
|
32
|
+
backupScheduleApi: boolean;
|
|
33
|
+
clusterCreationBlocked: boolean;
|
|
34
|
+
deferSpecChangeWhileAsleep: boolean;
|
|
35
|
+
};
|
|
36
|
+
control: {
|
|
37
|
+
frontendTelemetry: boolean;
|
|
38
|
+
};
|
|
39
|
+
accounts: {
|
|
40
|
+
moveClusterOrg: boolean;
|
|
41
|
+
orgLimitAuditLog: boolean;
|
|
42
|
+
orgReservationAuditLog: boolean;
|
|
43
|
+
deleteLiteLLMKeyOnTrialExpiry: boolean;
|
|
44
|
+
};
|
|
45
|
+
shared: {
|
|
46
|
+
cyberpunkBrutalism: boolean;
|
|
47
|
+
tenantsValueMetric: boolean;
|
|
48
|
+
hdpValueMetricsFor2025: boolean;
|
|
49
|
+
permissionsRework: boolean;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=FeatureFlags.dto.js.map
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import semver from "semver";
|
|
2
|
+
import { stripSecfixPostfix } from "../utils/versionCheck.utils.js";
|
|
3
|
+
const secfixRank = (version) => version === stripSecfixPostfix(version) ? 0 : 1;
|
|
2
4
|
function sortGenerationBySemverOfZeebe(generationA, generationB) {
|
|
3
5
|
const versionAvalid = generationA.versions?.zeebe !== void 0 && semver.valid(generationA.versions.zeebe.split(":")[1]) !== null;
|
|
4
6
|
const versionBvalid = generationB.versions?.zeebe !== void 0 && semver.valid(generationB.versions.zeebe.split(":")[1]) !== null;
|
|
5
7
|
if (versionAvalid && versionBvalid) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
const zeebeA = generationA.versions.zeebe.split(":")[1];
|
|
9
|
+
const zeebeB = generationB.versions.zeebe.split(":")[1];
|
|
10
|
+
const byVersion = semver.compare(
|
|
11
|
+
stripSecfixPostfix(zeebeB),
|
|
12
|
+
stripSecfixPostfix(zeebeA)
|
|
9
13
|
);
|
|
14
|
+
if (byVersion !== 0) {
|
|
15
|
+
return byVersion;
|
|
16
|
+
}
|
|
17
|
+
return secfixRank(zeebeB) - secfixRank(zeebeA);
|
|
10
18
|
} else if (versionAvalid) {
|
|
11
19
|
return -1;
|
|
12
20
|
} else if (versionBvalid) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/dtos/Generations.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 semver from 'semver'\nimport type { ZeebeClusterVersionsDto } from '../types/C8ClusterComponentVersions.type.js'\n\nexport interface GenerationDto {\n name: string\n uuid: string\n versions: ZeebeClusterVersionsDto\n upgradeableFrom: GenerationDto[]\n createdBy: string\n createdByName?: string\n created: Date\n updatedBy: string\n updated: Date\n isUnsupportedStarting?: Date\n isBespoke?: boolean\n}\n\nexport interface GenerationWithClusterCountDto extends GenerationDto {\n clusterCount: number\n}\n\nexport interface UpgradableGenerationsDto {\n preferred: GenerationDto | null\n options: GenerationDto[]\n}\n\nexport function sortGenerationBySemverOfZeebe(\n generationA: { name: string; versions?: { zeebe: string } },\n generationB: { name: string; versions?: { zeebe: string } },\n) {\n // magic sorting algorithm\n // uses the generation version of zeebe for comparison\n // if version invalid: use localeCompare\n\n const versionAvalid: boolean =\n generationA.versions?.zeebe !== undefined &&\n semver.valid(generationA.versions.zeebe.split(':')[1]) !== null\n const versionBvalid: boolean =\n generationB.versions?.zeebe !== undefined &&\n semver.valid(generationB.versions.zeebe.split(':')[1]) !== null\n\n if (versionAvalid && versionBvalid) {\n
|
|
5
|
-
"mappings": "AAMA,OAAO,YAAY;
|
|
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 semver from 'semver'\nimport type { ZeebeClusterVersionsDto } from '../types/C8ClusterComponentVersions.type.js'\nimport { stripSecfixPostfix } from '../utils/versionCheck.utils.js'\n\nexport interface GenerationDto {\n name: string\n uuid: string\n versions: ZeebeClusterVersionsDto\n upgradeableFrom: GenerationDto[]\n createdBy: string\n createdByName?: string\n created: Date\n updatedBy: string\n updated: Date\n isUnsupportedStarting?: Date\n isBespoke?: boolean\n}\n\nexport interface GenerationWithClusterCountDto extends GenerationDto {\n clusterCount: number\n}\n\nexport interface UpgradableGenerationsDto {\n preferred: GenerationDto | null\n options: GenerationDto[]\n}\n\nconst secfixRank = (version: string): number =>\n version === stripSecfixPostfix(version) ? 0 : 1\n\nexport function sortGenerationBySemverOfZeebe(\n generationA: { name: string; versions?: { zeebe: string } },\n generationB: { name: string; versions?: { zeebe: string } },\n) {\n // magic sorting algorithm\n // uses the generation version of zeebe for comparison\n // if version invalid: use localeCompare\n\n const versionAvalid: boolean =\n generationA.versions?.zeebe !== undefined &&\n semver.valid(generationA.versions.zeebe.split(':')[1]) !== null\n const versionBvalid: boolean =\n generationB.versions?.zeebe !== undefined &&\n semver.valid(generationB.versions.zeebe.split(':')[1]) !== null\n\n if (versionAvalid && versionBvalid) {\n const zeebeA = generationA.versions!.zeebe.split(':')[1]\n const zeebeB = generationB.versions!.zeebe.split(':')[1]\n const byVersion = semver.compare(\n stripSecfixPostfix(zeebeB),\n stripSecfixPostfix(zeebeA),\n )\n if (byVersion !== 0) {\n return byVersion\n }\n // Both builds carry the same Camunda version here, so only the postfix\n // separates them. A secfix build holds that version plus a security patch,\n // thus it is the newer of the two and takes the higher rank.\n return secfixRank(zeebeB) - secfixRank(zeebeA)\n } else if (versionAvalid) {\n return -1\n } else if (versionBvalid) {\n return 1\n } else {\n return generationB.name.localeCompare(generationA.name)\n }\n}\n"],
|
|
5
|
+
"mappings": "AAMA,OAAO,YAAY;AAEnB,SAAS,0BAA0B;AAyBnC,MAAM,aAAa,CAAC,YAClB,YAAY,mBAAmB,OAAO,IAAI,IAAI;AAEzC,SAAS,8BACd,aACA,aACA;AAKA,QAAM,gBACJ,YAAY,UAAU,UAAU,UAChC,OAAO,MAAM,YAAY,SAAS,MAAM,MAAM,GAAG,EAAE,CAAC,CAAC,MAAM;AAC7D,QAAM,gBACJ,YAAY,UAAU,UAAU,UAChC,OAAO,MAAM,YAAY,SAAS,MAAM,MAAM,GAAG,EAAE,CAAC,CAAC,MAAM;AAE7D,MAAI,iBAAiB,eAAe;AAClC,UAAM,SAAS,YAAY,SAAU,MAAM,MAAM,GAAG,EAAE,CAAC;AACvD,UAAM,SAAS,YAAY,SAAU,MAAM,MAAM,GAAG,EAAE,CAAC;AACvD,UAAM,YAAY,OAAO;AAAA,MACvB,mBAAmB,MAAM;AAAA,MACzB,mBAAmB,MAAM;AAAA,IAC3B;AACA,QAAI,cAAc,GAAG;AACnB,aAAO;AAAA,IACT;AAIA,WAAO,WAAW,MAAM,IAAI,WAAW,MAAM;AAAA,EAC/C,WAAW,eAAe;AACxB,WAAO;AAAA,EACT,WAAW,eAAe;AACxB,WAAO;AAAA,EACT,OAAO;AACL,WAAO,YAAY,KAAK,cAAc,YAAY,IAAI;AAAA,EACxD;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -25,6 +25,13 @@ export interface K8sBackupConfig {
|
|
|
25
25
|
* clusters that use it read as single-region.
|
|
26
26
|
*/
|
|
27
27
|
hidden?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Set by SREs in console-admin.yaml.
|
|
30
|
+
* True when the operator supports failover for this pairing.
|
|
31
|
+
* For example, some GCP pairings do not get `cloneRoleId`, so a failover request fails.
|
|
32
|
+
* This flag is informational. It does not affect `isSupportedFailoverRegionPair`.
|
|
33
|
+
*/
|
|
34
|
+
failover?: boolean;
|
|
28
35
|
}
|
|
29
36
|
export interface K8sContext {
|
|
30
37
|
visibility: 'hidden' | 'internal-only' | 'internal-paid-only' | 'all';
|
|
@@ -4,6 +4,14 @@ import type { OrganizationToSalesPlanDto } from './OrganizationToSalesPlan.dto.j
|
|
|
4
4
|
export type LicensingModelType = 'legacy' | '2025';
|
|
5
5
|
export declare const VALID_LICENSING_MODELS: readonly LicensingModelType[];
|
|
6
6
|
export declare const LICENSING_MODEL_DISPLAY_NAMES: Record<LicensingModelType, string>;
|
|
7
|
+
/**
|
|
8
|
+
* Upstream that holds a managed LLM key.
|
|
9
|
+
*
|
|
10
|
+
* `@camunda-cloud/featureflags` owns the `LlmProvider` type and its rollout
|
|
11
|
+
* rules. This package must not depend on that one, so the union is repeated
|
|
12
|
+
* here. Keep the two in step.
|
|
13
|
+
*/
|
|
14
|
+
export type LlmProviderName = 'litellm' | 'openrouter';
|
|
7
15
|
export interface OrganizationMetadata {
|
|
8
16
|
clickedRequestPaidPlan?: boolean;
|
|
9
17
|
salesForceId?: string;
|
|
@@ -13,10 +21,33 @@ export interface OrganizationMetadata {
|
|
|
13
21
|
autoJoin?: AutoJoinAssignment;
|
|
14
22
|
llm?: {
|
|
15
23
|
tenantKey: string;
|
|
16
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Team that holds the key on LiteLLM.
|
|
26
|
+
*
|
|
27
|
+
* Optional, and every call site already treats it as such. Old LiteLLM
|
|
28
|
+
* orgs got a key without a team. OpenRouter has no teams at all.
|
|
29
|
+
*/
|
|
30
|
+
teamId?: string;
|
|
17
31
|
created: number;
|
|
18
32
|
/** Epoch ms of the last key rotation — set when the tenant key is regenerated. */
|
|
19
33
|
updated?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Upstream that holds this key. Absent means `litellm`, because every key
|
|
36
|
+
* from before the OpenRouter rollout is on LiteLLM.
|
|
37
|
+
*
|
|
38
|
+
* This value, and not the OpenRouter feature flag, decides where the
|
|
39
|
+
* read, block, top-up and delete paths look for the key. A flag change
|
|
40
|
+
* must never move a live key to a provider that does not hold it.
|
|
41
|
+
*/
|
|
42
|
+
provider?: LlmProviderName;
|
|
43
|
+
/**
|
|
44
|
+
* Handle for the key on OpenRouter, which addresses a key by hash and not
|
|
45
|
+
* by its value. Absent for a LiteLLM key.
|
|
46
|
+
*
|
|
47
|
+
* Without it, an OpenRouter key can be found again only by a list request
|
|
48
|
+
* that matches on the name of the key.
|
|
49
|
+
*/
|
|
50
|
+
keyHash?: string;
|
|
20
51
|
};
|
|
21
52
|
}
|
|
22
53
|
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
|
|
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\n/**\n * Upstream that holds a managed LLM key.\n *\n * `@camunda-cloud/featureflags` owns the `LlmProvider` type and its rollout\n * rules. This package must not depend on that one, so the union is repeated\n * here. Keep the two in step.\n */\nexport type LlmProviderName = 'litellm' | 'openrouter'\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 /**\n * Team that holds the key on LiteLLM.\n *\n * Optional, and every call site already treats it as such. Old LiteLLM\n * orgs got a key without a team. OpenRouter has no teams at all.\n */\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 * Upstream that holds this key. Absent means `litellm`, because every key\n * from before the OpenRouter rollout is on LiteLLM.\n *\n * This value, and not the OpenRouter feature flag, decides where the\n * read, block, top-up and delete paths look for the key. A flag change\n * must never move a live key to a provider that does not hold it.\n */\n provider?: LlmProviderName\n /**\n * Handle for the key on OpenRouter, which addresses a key by hash and not\n * by its value. Absent for a LiteLLM key.\n *\n * Without it, an OpenRouter key can be found again only by a list request\n * that matches on the name of the key.\n */\n keyHash?: string\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
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
var AlertSubscriptionType = /* @__PURE__ */ ((AlertSubscriptionType2) => {
|
|
2
|
-
AlertSubscriptionType2["ClusterAlert"] = "ClusterAlert";
|
|
3
2
|
AlertSubscriptionType2["ProcessAlert"] = "ProcessAlert";
|
|
4
|
-
AlertSubscriptionType2["AllAlerts"] = "AllAlerts";
|
|
5
3
|
return AlertSubscriptionType2;
|
|
6
4
|
})(AlertSubscriptionType || {});
|
|
7
5
|
var AlertSubscriptionReportType = /* @__PURE__ */ ((AlertSubscriptionReportType2) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/enums/AlertSubscription.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 AlertSubscriptionType {\n
|
|
5
|
-
"mappings": "AAOO,IAAK,wBAAL,kBAAKA,2BAAL;AACL,EAAAA,uBAAA,kBAAe;
|
|
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 AlertSubscriptionType {\n ProcessAlert = 'ProcessAlert',\n}\n\n// eslint-disable-next-line no-shadow\nexport enum AlertSubscriptionReportType {\n Email = 'Email',\n Webhook = 'Webhook',\n}\n"],
|
|
5
|
+
"mappings": "AAOO,IAAK,wBAAL,kBAAKA,2BAAL;AACL,EAAAA,uBAAA,kBAAe;AADL,SAAAA;AAAA,GAAA;AAKL,IAAK,8BAAL,kBAAKC,iCAAL;AACL,EAAAA,6BAAA,WAAQ;AACR,EAAAA,6BAAA,aAAU;AAFA,SAAAA;AAAA,GAAA;",
|
|
6
6
|
"names": ["AlertSubscriptionType", "AlertSubscriptionReportType"]
|
|
7
7
|
}
|
|
@@ -28,7 +28,9 @@ export declare enum AuditEntityAttribute {
|
|
|
28
28
|
CLUSTER_PLAYMODE = "Cluster Play Mode",
|
|
29
29
|
CLUSTER_MCP_ENABLED = "MCP Support",
|
|
30
30
|
CLUSTER_SWAGGER = "Cluster Swagger",
|
|
31
|
+
CLUSTER_SECRETS_FILTER_MODE = "Secrets Filter Mode",
|
|
31
32
|
CLUSTER_BUSINESS_ID_UNIQUENESS = "Business ID Uniqueness",
|
|
33
|
+
CLUSTER_OPTIONAL_TELEMETRY = "Optional telemetry",
|
|
32
34
|
CLUSTER_MULTI_TENANCY = "Multi-tenancy",
|
|
33
35
|
CLUSTER_SESSION_MAX_INACTIVE_INTERVAL = "Session idle timeout",
|
|
34
36
|
CLUSTER_SESSION_HEARTBEAT = "Session heartbeat",
|
|
@@ -29,7 +29,9 @@ var AuditEntityAttribute = /* @__PURE__ */ ((AuditEntityAttribute2) => {
|
|
|
29
29
|
AuditEntityAttribute2["CLUSTER_PLAYMODE"] = "Cluster Play Mode";
|
|
30
30
|
AuditEntityAttribute2["CLUSTER_MCP_ENABLED"] = "MCP Support";
|
|
31
31
|
AuditEntityAttribute2["CLUSTER_SWAGGER"] = "Cluster Swagger";
|
|
32
|
+
AuditEntityAttribute2["CLUSTER_SECRETS_FILTER_MODE"] = "Secrets Filter Mode";
|
|
32
33
|
AuditEntityAttribute2["CLUSTER_BUSINESS_ID_UNIQUENESS"] = "Business ID Uniqueness";
|
|
34
|
+
AuditEntityAttribute2["CLUSTER_OPTIONAL_TELEMETRY"] = "Optional telemetry";
|
|
33
35
|
AuditEntityAttribute2["CLUSTER_MULTI_TENANCY"] = "Multi-tenancy";
|
|
34
36
|
AuditEntityAttribute2["CLUSTER_SESSION_MAX_INACTIVE_INTERVAL"] = "Session idle timeout";
|
|
35
37
|
AuditEntityAttribute2["CLUSTER_SESSION_HEARTBEAT"] = "Session heartbeat";
|
|
@@ -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_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;
|
|
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_SECRETS_FILTER_MODE = 'Secrets Filter Mode',\n CLUSTER_BUSINESS_ID_UNIQUENESS = 'Business ID Uniqueness',\n CLUSTER_OPTIONAL_TELEMETRY = 'Optional telemetry',\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,iCAA8B;AAC9B,EAAAA,sBAAA,oCAAiC;AACjC,EAAAA,sBAAA,gCAA6B;AAC7B,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;AAnCtB,SAAAA;AAAA,GAAA;",
|
|
6
6
|
"names": ["AuditEntity", "AuditEntityAttribute"]
|
|
7
7
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { PRIVATE_LINK_REGIONS } from './constants/privateLinkRegions.const.js';
|
|
|
7
7
|
export { SECURE_CONNECTIVITY_ALLOWED_ENTRIES_LIMIT } from './constants/secureConnectivity.const.js';
|
|
8
8
|
export type { TrialExtensionSurveyAnswer, TrialExtensionSurveyQuestion, } from './constants/trialExtensionSurvey.const.js';
|
|
9
9
|
export { TRIAL_EXTENSION_SURVEY_QUESTIONS } from './constants/trialExtensionSurvey.const.js';
|
|
10
|
-
export { ADMIN_APP_RENAME_MIN_VERSION, APP_INTEGRATIONS_89_STREAM_CONNECTOR_BRIDGE_MIN_VERSION, APP_INTEGRATIONS_89_STREAM_MINOR, APP_INTEGRATIONS_89_STREAM_ZEEBE_MIN_VERSION, APP_INTEGRATIONS_MIN_VERSION, AUDIT_LOG_TAB_MIN_VERSION, AUTHORIZATION_TOGGLE_MIN_VERSION, AWS_ONLY_GENERATION_MIN_VERSION, BUSINESS_ID_UNIQUENESS_MIN_VERSION, BYOIDP_MIN_VERSION, CLUSTER_SECRETS_LABEL_MIN_VERSION, CLUSTER_STATISTICS_CONFIG_MIN_VERSION, CONNECTOR_MANAGEMENT_METRICS_MIN_VERSION, CONNECTOR_SECRET_SYNC_MIN_VERSION, CONNECTORS_MANAGEMENT_LINK_MIN_VERSION, ENFORCE_GROUPS_TASKLIST_V2_HIDDEN_MIN_VERSION, ENFORCE_GROUPS_TOGGLE_MIN_VERSION, GATEWAY_SPEC_8_9_MIN_VERSION, HOT_BACKUP_MIN_VERSION, IDENTITY_AUTHORIZATION_MIN_VERSION, IDENTITY_AUTHORIZATION_NOTICE_MAX_VERSION, IDENTITY_MANAGEMENT_MIN_VERSION, INTERNAL_CONNECTORS_MANAGEMENT_MIN_VERSION, JOB_DASHBOARD_MIN_VERSION, LINE_8_9_MIN_VERSION, LINE_8_10_MIN_VERSION, MCP_MIN_VERSION, MULTI_TENANCY_TOGGLE_MIN_VERSION, NEW_CLUSTER_ROLES_MIN_VERSION, OPTIMIZE_DEFAULT_ON_MIN_VERSION, OPTIMIZE_FILTERING_MIN_VERSION, RESOURCE_BASED_AUTHORIZATIONS_MIN_VERSION, REST_API_URL_TRANSFORM_MIN_VERSION, REST_API_V2_MIN_VERSION, SECRET_SOURCE_MIN_VERSION, SESSION_CONFIG_MIN_VERSION, SWAGGER_MIN_VERSION, SWAGGER_URL_8_9_MIN_VERSION, TASKLIST_MODE_TOGGLE_MIN_VERSION, TASKLIST_UPGRADE_BANNER_MIN_VERSION, TASKLIST_V2_AUTO_ENABLE_FROM_MINOR, TASKLIST_V2_AUTO_ENABLE_TO_MINOR, TASKLIST_V2_DEFAULT_ON_MIN_VERSION, TASKLIST_V2_SETTING_MAX_VERSION, TASKLIST_V2_UPGRADE_MIN_VERSION, TASKLIST_V2_UPGRADE_TARGET_MIN_VERSION, ZEEBE_REST_URL_MIN_VERSION, } from './constants/version-gates.const.js';
|
|
10
|
+
export { ADMIN_APP_RENAME_MIN_VERSION, APP_INTEGRATIONS_89_STREAM_CONNECTOR_BRIDGE_MIN_VERSION, APP_INTEGRATIONS_89_STREAM_MINOR, APP_INTEGRATIONS_89_STREAM_ZEEBE_MIN_VERSION, APP_INTEGRATIONS_MIN_VERSION, AUDIT_LOG_TAB_MIN_VERSION, AUTHORIZATION_TOGGLE_MIN_VERSION, AWS_ONLY_GENERATION_MIN_VERSION, BUSINESS_ID_UNIQUENESS_MIN_VERSION, BYOIDP_MIN_VERSION, CLUSTER_SECRETS_LABEL_MIN_VERSION, CLUSTER_STATISTICS_CONFIG_MIN_VERSION, CONNECTOR_MANAGEMENT_METRICS_MIN_VERSION, CONNECTOR_SECRET_SYNC_MIN_VERSION, CONNECTORS_MANAGEMENT_LINK_MIN_VERSION, ENFORCE_GROUPS_TASKLIST_V2_HIDDEN_MIN_VERSION, ENFORCE_GROUPS_TOGGLE_MIN_VERSION, GATEWAY_SPEC_8_9_MIN_VERSION, HOT_BACKUP_MIN_VERSION, IDENTITY_AUTHORIZATION_MIN_VERSION, IDENTITY_AUTHORIZATION_NOTICE_MAX_VERSION, IDENTITY_MANAGEMENT_MIN_VERSION, INTERNAL_CONNECTORS_MANAGEMENT_MIN_VERSION, JOB_DASHBOARD_MIN_VERSION, LINE_8_9_MIN_VERSION, LINE_8_10_MIN_VERSION, MCP_MIN_VERSION, MULTI_TENANCY_TOGGLE_MIN_VERSION, NEW_CLUSTER_ROLES_MIN_VERSION, OPTIMIZE_DEFAULT_ON_MIN_VERSION, OPTIMIZE_FILTERING_MIN_VERSION, OPTIONAL_TELEMETRY_MIN_VERSION, RESOURCE_BASED_AUTHORIZATIONS_MIN_VERSION, REST_API_URL_TRANSFORM_MIN_VERSION, REST_API_V2_MIN_VERSION, RESUME_ALPHA_MIN_VERSION, SECRET_SOURCE_MIN_VERSION, SECRETS_FILTER_MODE_8_6_MIN_VERSION, SECRETS_FILTER_MODE_8_7_MIN_VERSION, SECRETS_FILTER_MODE_8_8_MIN_VERSION, SECRETS_FILTER_MODE_8_9_MIN_VERSION, SECRETS_FILTER_MODE_8_10_MIN_VERSION, SESSION_CONFIG_MIN_VERSION, SWAGGER_MIN_VERSION, SWAGGER_URL_8_9_MIN_VERSION, TASKLIST_MODE_TOGGLE_MIN_VERSION, TASKLIST_UPGRADE_BANNER_MIN_VERSION, TASKLIST_V2_AUTO_ENABLE_FROM_MINOR, TASKLIST_V2_AUTO_ENABLE_TO_MINOR, TASKLIST_V2_DEFAULT_ON_MIN_VERSION, TASKLIST_V2_SETTING_MAX_VERSION, TASKLIST_V2_UPGRADE_MIN_VERSION, TASKLIST_V2_UPGRADE_TARGET_MIN_VERSION, ZEEBE_REST_URL_MIN_VERSION, } from './constants/version-gates.const.js';
|
|
11
11
|
export type { ALERT_SUBSCRIPTION_REPORT_TYPES, ALERT_SUBSCRIPTION_TYPES, AlertSubscriptionDto, AlertSubscriptionEntryDto, AlertSubscriptionWebhookAuth, CheckFailedReason, } from './dtos/AlertSubscription.dto.js';
|
|
12
12
|
export { FORBIDDEN_HOSTNAMES_FOR_WEBHOOK_ALERTS, HMAC_HEADER_POSITION, HMAC_SUPPORTED_ALGORITHM, } from './dtos/AlertSubscription.dto.js';
|
|
13
13
|
export type { AuditDto } from './dtos/Audit.dto.js';
|
|
@@ -15,20 +15,22 @@ export type { Auth0ResourceServerDto } from './dtos/Auth0ResourceServer.dto.js';
|
|
|
15
15
|
export type { BackupDto } from './dtos/Backup.dto.js';
|
|
16
16
|
export type { BackupScheduleDto } from './dtos/BackupSchedule.dto.js';
|
|
17
17
|
export type { ByomClientDto, ByomStatus } from './dtos/ByomClient.dto.js';
|
|
18
|
+
export type { ClusterDeferredSpecChange, DeferredSpecChangeType, } from './dtos/ClusterDeferredSpecChange.dto.js';
|
|
18
19
|
export type { ClusterIpWhitelistDto } from './dtos/ClusterIpWhitelist.dto.js';
|
|
19
20
|
export type { ClusterPlanDto } from './dtos/ClusterPlan.dto.js';
|
|
20
21
|
export type { ClusterPlanTypeDto } from './dtos/ClusterPlanType.dto.js';
|
|
21
22
|
export type { ClusterSpecChange, ClusterSpecChangeActor, ClusterSpecHistory, } from './dtos/ClusterSpecHistory.dto.js';
|
|
22
|
-
export type { CommonClusterDto, ExternalIdpConfig, OptimizeFilteringConfig, OptimizeFilteringIncludeExclude, OptimizeFilteringPatch, } from './dtos/CommonCluster.dto.js';
|
|
23
|
+
export type { CommonClusterDto, ExternalIdpConfig, OptimizeFilteringConfig, OptimizeFilteringIncludeExclude, OptimizeFilteringPatch, SecretsFilterMode, } from './dtos/CommonCluster.dto.js';
|
|
23
24
|
export type { ConsoleClusterDto } from './dtos/ConsoleCluster.dto.js';
|
|
24
25
|
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';
|
|
25
26
|
export type { EarlyAccessFeatureDto } from './dtos/EarlyAccessFeature.dto.js';
|
|
26
27
|
export type { CamundaWebApp, CamundaWebAppWithZeebe, ExternalClusterDto, ExternalOrganizationDto, } from './dtos/ExternalWebapp.dto.js';
|
|
28
|
+
export type { Features } from './dtos/FeatureFlags.dto.js';
|
|
27
29
|
export { type GenerationDto, type GenerationWithClusterCountDto, sortGenerationBySemverOfZeebe, type UpgradableGenerationsDto, } from './dtos/Generations.dto.js';
|
|
28
30
|
export type { Hdp } from './dtos/Hdp.dto.js';
|
|
29
31
|
export type { K8sConfig, K8sConfigLegacyFormat, K8sContext, K8sContextDto, } from './dtos/K8sContext.dto.js';
|
|
30
32
|
export type { MetaDto } from './dtos/Meta.dto.js';
|
|
31
|
-
export type { AutoJoinAssignment, LicensingModelType, OrganizationDto, OrganizationMetadata, OrgOwner, OrgWithNameAndSalesPlan, } from './dtos/Organization.dto.js';
|
|
33
|
+
export type { AutoJoinAssignment, LicensingModelType, LlmProviderName, OrganizationDto, OrganizationMetadata, OrgOwner, OrgWithNameAndSalesPlan, } from './dtos/Organization.dto.js';
|
|
32
34
|
export { LICENSING_MODEL_DISPLAY_NAMES, VALID_LICENSING_MODELS, } from './dtos/Organization.dto.js';
|
|
33
35
|
export type { OrganizationMemberDto } from './dtos/OrganizationMember.dto.js';
|
|
34
36
|
export type { OrganizationToSalesPlanDto } from './dtos/OrganizationToSalesPlan.dto.js';
|
|
@@ -118,6 +120,7 @@ export type { AccountsData, AppMetadata, BasicUser, BlockedFor, Identity, OrgMem
|
|
|
118
120
|
export { UserMetadataEvent } from './types/User.type.js';
|
|
119
121
|
export type { UniqueTaskUser, ValueMetrics, ValueMetricsPerYearMonth, } from './types/ValueMetrics.type.js';
|
|
120
122
|
export { CLOUD_PROVIDER_ORDER, getCloudProviderLabel, getCloudProviderRank, } from './utils/cloudProvider.utils.js';
|
|
123
|
+
export { type ConnectivityStatus, deriveConnectivityMessage, deriveConnectivityStatus, } from './utils/connectivityStatus.utils.js';
|
|
121
124
|
export { ConsoleSelfManagedUtils } from './utils/console-sm.utils.js';
|
|
122
125
|
export type { CronScheduleValidationFailure, CronScheduleValidationResult, CronScheduleValidationSuccess, } from './utils/cronSchedule.utils.js';
|
|
123
126
|
export { BACKUP_SCHEDULE_MIN_INTERVAL_MINUTES, validateCronSchedule, } from './utils/cronSchedule.utils.js';
|
|
@@ -131,13 +134,15 @@ export { deriveFailoverKeyPolicyPrincipals, type FailoverKeyPolicyPrincipals, }
|
|
|
131
134
|
export { KMS_ARN, KMS_MRK_ARN, type KmsArnValidationError, type ParsedKmsArn, parseKmsArn, validateKmsArnForRegion, } from './utils/kmsArn.utils.js';
|
|
132
135
|
export { validateLabels } from './utils/labelValidator.utils.js';
|
|
133
136
|
export { ObjectMergeUtils } from './utils/objectMerge.utils.js';
|
|
137
|
+
export { computeOrgStartDate, type OrgStartDateInput, } from './utils/orgStartDate.utils.js';
|
|
134
138
|
export { getPermissionsByRoles, getUserPermissionsForOrg, } from './utils/orgs/OrgHelper.js';
|
|
135
139
|
export type { PasswordPolicyRequest, PasswordPolicyResult, } from './utils/PasswordPolicy.js';
|
|
136
140
|
export { MAXLENGTH as PASSWORD_POLICY_MAXLENGTH, MINLENGTH as PASSWORD_POLICY_MINLENGTH, passwordPolicyCheck, } from './utils/PasswordPolicy.js';
|
|
141
|
+
export { deriveSecondaryStorageStatus, type SecondaryStorageStatus, } from './utils/secondaryStorageStatus.utils.js';
|
|
137
142
|
export { allSettledResultsCounts, getFulfilledPromises, getRejectedPromises, getSettledSummary, } from './utils/settledPromises.util.js';
|
|
138
143
|
export { isValidAwsArn, isValidCIDR, isValidCIDRList, isValidClientName, isValidHostname, isValidPrivateLinkRegion, normalizeCIDRList, } from './utils/string-validation.utils.js';
|
|
139
144
|
export { extractCamundaUserEmail, guessName, isCamundaUserId, } from './utils/user.utils.js';
|
|
140
|
-
export { checkVersion, isAppIntegrationsVersionSupported, VersionCheckOperator, } from './utils/versionCheck.utils.js';
|
|
145
|
+
export { checkVersion, isAppIntegrationsVersionSupported, isGenerationResumable, isSecretsFilterModeConfigurable, stripSecfixPostfix, VersionCheckOperator, } from './utils/versionCheck.utils.js';
|
|
141
146
|
export { default as CAMUNDI_PERMISSION_RULES } from './config/camundi-permission-rules.js';
|
|
142
147
|
export type { CamundiPermissionRules } from './config/camundi-permission-rules.types.js';
|
|
143
148
|
export { augmentCamundiPermissions, getApplicableRolesForEmployee, isManager, } from './utils/camundiPermissionAugmenter.utils.js';
|
package/dist/index.js
CHANGED
|
@@ -60,10 +60,17 @@ import {
|
|
|
60
60
|
NEW_CLUSTER_ROLES_MIN_VERSION,
|
|
61
61
|
OPTIMIZE_DEFAULT_ON_MIN_VERSION,
|
|
62
62
|
OPTIMIZE_FILTERING_MIN_VERSION,
|
|
63
|
+
OPTIONAL_TELEMETRY_MIN_VERSION,
|
|
63
64
|
RESOURCE_BASED_AUTHORIZATIONS_MIN_VERSION,
|
|
64
65
|
REST_API_URL_TRANSFORM_MIN_VERSION,
|
|
65
66
|
REST_API_V2_MIN_VERSION,
|
|
67
|
+
RESUME_ALPHA_MIN_VERSION,
|
|
66
68
|
SECRET_SOURCE_MIN_VERSION,
|
|
69
|
+
SECRETS_FILTER_MODE_8_6_MIN_VERSION,
|
|
70
|
+
SECRETS_FILTER_MODE_8_7_MIN_VERSION,
|
|
71
|
+
SECRETS_FILTER_MODE_8_8_MIN_VERSION,
|
|
72
|
+
SECRETS_FILTER_MODE_8_9_MIN_VERSION,
|
|
73
|
+
SECRETS_FILTER_MODE_8_10_MIN_VERSION,
|
|
67
74
|
SESSION_CONFIG_MIN_VERSION,
|
|
68
75
|
SWAGGER_MIN_VERSION,
|
|
69
76
|
SWAGGER_URL_8_9_MIN_VERSION,
|
|
@@ -227,6 +234,10 @@ import {
|
|
|
227
234
|
getCloudProviderLabel,
|
|
228
235
|
getCloudProviderRank
|
|
229
236
|
} from "./utils/cloudProvider.utils.js";
|
|
237
|
+
import {
|
|
238
|
+
deriveConnectivityMessage,
|
|
239
|
+
deriveConnectivityStatus
|
|
240
|
+
} from "./utils/connectivityStatus.utils.js";
|
|
230
241
|
import { ConsoleSelfManagedUtils } from "./utils/console-sm.utils.js";
|
|
231
242
|
import {
|
|
232
243
|
BACKUP_SCHEDULE_MIN_INTERVAL_MINUTES,
|
|
@@ -260,6 +271,9 @@ import {
|
|
|
260
271
|
} from "./utils/kmsArn.utils.js";
|
|
261
272
|
import { validateLabels } from "./utils/labelValidator.utils.js";
|
|
262
273
|
import { ObjectMergeUtils } from "./utils/objectMerge.utils.js";
|
|
274
|
+
import {
|
|
275
|
+
computeOrgStartDate
|
|
276
|
+
} from "./utils/orgStartDate.utils.js";
|
|
263
277
|
import {
|
|
264
278
|
getPermissionsByRoles,
|
|
265
279
|
getUserPermissionsForOrg
|
|
@@ -269,6 +283,9 @@ import {
|
|
|
269
283
|
MINLENGTH,
|
|
270
284
|
passwordPolicyCheck
|
|
271
285
|
} from "./utils/PasswordPolicy.js";
|
|
286
|
+
import {
|
|
287
|
+
deriveSecondaryStorageStatus
|
|
288
|
+
} from "./utils/secondaryStorageStatus.utils.js";
|
|
272
289
|
import {
|
|
273
290
|
allSettledResultsCounts,
|
|
274
291
|
getFulfilledPromises,
|
|
@@ -292,6 +309,9 @@ import {
|
|
|
292
309
|
import {
|
|
293
310
|
checkVersion,
|
|
294
311
|
isAppIntegrationsVersionSupported,
|
|
312
|
+
isGenerationResumable,
|
|
313
|
+
isSecretsFilterModeConfigurable,
|
|
314
|
+
stripSecfixPostfix,
|
|
295
315
|
VersionCheckOperator
|
|
296
316
|
} from "./utils/versionCheck.utils.js";
|
|
297
317
|
import { default as default2 } from "./config/camundi-permission-rules.js";
|
|
@@ -398,6 +418,7 @@ export {
|
|
|
398
418
|
OPTIMIZE_DEFAULT_ON_MIN_VERSION,
|
|
399
419
|
OPTIMIZE_DISABLED_PLAN_TYPES,
|
|
400
420
|
OPTIMIZE_FILTERING_MIN_VERSION,
|
|
421
|
+
OPTIONAL_TELEMETRY_MIN_VERSION,
|
|
401
422
|
ORGANIZATION_SEARCH_FIELDS,
|
|
402
423
|
ORG_DEFAULT_SEARCH_FIELDS,
|
|
403
424
|
ObjectMergeUtils,
|
|
@@ -415,11 +436,17 @@ export {
|
|
|
415
436
|
RESOURCE_BASED_AUTHORIZATIONS_MIN_VERSION,
|
|
416
437
|
REST_API_URL_TRANSFORM_MIN_VERSION,
|
|
417
438
|
REST_API_V2_MIN_VERSION,
|
|
439
|
+
RESUME_ALPHA_MIN_VERSION,
|
|
418
440
|
RETENTION_LIMIT_DEFAULT,
|
|
419
441
|
RETENTION_LIMIT_MAXIMUM,
|
|
420
442
|
RETENTION_LIMIT_MINIMUM,
|
|
421
443
|
SAFE_ROLES,
|
|
422
444
|
SECOND,
|
|
445
|
+
SECRETS_FILTER_MODE_8_10_MIN_VERSION,
|
|
446
|
+
SECRETS_FILTER_MODE_8_6_MIN_VERSION,
|
|
447
|
+
SECRETS_FILTER_MODE_8_7_MIN_VERSION,
|
|
448
|
+
SECRETS_FILTER_MODE_8_8_MIN_VERSION,
|
|
449
|
+
SECRETS_FILTER_MODE_8_9_MIN_VERSION,
|
|
423
450
|
SECRETS_MAX_LENGTH,
|
|
424
451
|
SECRET_SOURCE_MIN_VERSION,
|
|
425
452
|
SECURE_CONNECTIVITY_ALLOWED_ENTRIES_LIMIT,
|
|
@@ -464,10 +491,14 @@ export {
|
|
|
464
491
|
augmentCamundiPermissions,
|
|
465
492
|
checkVersion,
|
|
466
493
|
compileQuery,
|
|
494
|
+
computeOrgStartDate,
|
|
467
495
|
consoleUserFeaturesFromPermissions,
|
|
468
496
|
deprecatedLimit,
|
|
497
|
+
deriveConnectivityMessage,
|
|
498
|
+
deriveConnectivityStatus,
|
|
469
499
|
deriveEncryptionStatus,
|
|
470
500
|
deriveFailoverKeyPolicyPrincipals,
|
|
501
|
+
deriveSecondaryStorageStatus,
|
|
471
502
|
diffInWholeMonths,
|
|
472
503
|
enterpriseConnectionMetadataToOrganizationAssignments,
|
|
473
504
|
expandRolesToPermissions,
|
|
@@ -500,11 +531,13 @@ export {
|
|
|
500
531
|
isClusterPlanFieldSpec,
|
|
501
532
|
isClusterTagEligibleForSleepCron,
|
|
502
533
|
isEncryptionStatus,
|
|
534
|
+
isGenerationResumable,
|
|
503
535
|
isIsBulkClusterGenerationUpdateIten,
|
|
504
536
|
isLuceneQueryError,
|
|
505
537
|
isManager,
|
|
506
538
|
isPre89AffectedPath,
|
|
507
539
|
isSalesPlanEligibleForSleepCron,
|
|
540
|
+
isSecretsFilterModeConfigurable,
|
|
508
541
|
isSleepCronEligible,
|
|
509
542
|
isSupportedFailoverRegionPair,
|
|
510
543
|
isValidAwsArn,
|
|
@@ -525,6 +558,7 @@ export {
|
|
|
525
558
|
sortByAvailabilityClasses,
|
|
526
559
|
sortByClusterPlanTypeCategory,
|
|
527
560
|
sortGenerationBySemverOfZeebe,
|
|
561
|
+
stripSecfixPostfix,
|
|
528
562
|
toUtcDayStartMs,
|
|
529
563
|
unusedClusterBasedLimits,
|
|
530
564
|
unusedSalesPlanLimits,
|