@camunda/ccma-shared-types 0.0.3 → 0.0.5
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/types/AutoSleep.type.spec.d.ts +1 -0
- package/dist/constants/secureConnectivity.const.d.ts +1 -0
- package/dist/constants/secureConnectivity.const.js +5 -0
- package/dist/constants/secureConnectivity.const.js.map +7 -0
- package/dist/dtos/AlertSubscription.dto.d.ts +1 -0
- package/dist/dtos/AlertSubscription.dto.js.map +2 -2
- package/dist/dtos/CommonCluster.dto.d.ts +6 -0
- package/dist/dtos/Organization.dto.d.ts +4 -0
- package/dist/dtos/Organization.dto.js +12 -0
- package/dist/dtos/Organization.dto.js.map +3 -3
- package/dist/dtos/SalesPlan.dto.d.ts +21 -0
- package/dist/dtos/SalesPlan.dto.js +18 -1
- package/dist/dtos/SalesPlan.dto.js.map +2 -2
- package/dist/enums/AuditEntity.enum.d.ts +3 -2
- package/dist/enums/AuditEntity.enum.js +2 -1
- package/dist/enums/AuditEntity.enum.js.map +2 -2
- package/dist/enums/ClusterStatus.enum.d.ts +3 -1
- package/dist/enums/ClusterStatus.enum.js +2 -0
- package/dist/enums/ClusterStatus.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 +7 -3
- package/dist/index.js +31 -1
- package/dist/index.js.map +2 -2
- package/dist/permissions/accounts.permissions.d.ts +2 -0
- package/dist/permissions/accounts.permissions.js +13 -1
- package/dist/permissions/accounts.permissions.js.map +2 -2
- package/dist/permissions/combo.js +6 -0
- package/dist/permissions/combo.js.map +2 -2
- package/dist/permissions/console.permissions.d.ts +2 -0
- package/dist/permissions/console.permissions.js +8 -1
- package/dist/permissions/console.permissions.js.map +2 -2
- package/dist/types/AutoSleep.type.d.ts +58 -0
- package/dist/types/AutoSleep.type.js +49 -0
- package/dist/types/AutoSleep.type.js.map +7 -0
- package/dist/types/ConsoleSelfManaged.type.d.ts +0 -1
- package/dist/types/ConsoleSelfManaged.type.js.map +2 -2
- package/dist/types/SuspendStrategy.type.d.ts +1 -1
- package/dist/types/SuspendStrategy.type.js +14 -1
- package/dist/types/SuspendStrategy.type.js.map +2 -2
- package/dist/types/Telemetry.type.js +1 -0
- package/dist/types/Telemetry.type.js.map +1 -1
- package/dist/utils/string-validation.utils.d.ts +2 -0
- package/dist/utils/string-validation.utils.js +60 -1
- package/dist/utils/string-validation.utils.js.map +2 -2
- package/dist/utils/versionCheck.utils.d.ts +1 -1
- package/dist/utils/versionCheck.utils.js +33 -15
- package/dist/utils/versionCheck.utils.js.map +2 -2
- package/package.json +1 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SECURE_CONNECTIVITY_ALLOWED_ENTRIES_LIMIT = 10;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/constants/secureConnectivity.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 SECURE_CONNECTIVITY_ALLOWED_ENTRIES_LIMIT = 10\n"],
|
|
5
|
+
"mappings": "AAMO,MAAM,4CAA4C;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/dtos/AlertSubscription.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 {\n AlertSubscriptionReportType,\n AlertSubscriptionType,\n} from '../enums/AlertSubscription.enum.js'\n\nexport interface AlertSubscriptionDto {\n uuid: string\n userIdOrWebhook: string\n type: AlertSubscriptionType\n report: AlertSubscriptionReportType\n createdBy: string\n createdByName: string\n created: Date\n updatedBy: string\n updatedByName: string\n updated: Date\n lastTimeTriggered?: Date\n numberOfTimesTriggered: number\n}\n\nexport interface AlertSubscriptionEntryDto {\n errorMessage?: string\n errorType?: string\n flowNodeId?: string\n jobKey?: string\n creationTime?: string\n processInstanceId?: string\n processName?: string\n processVersion?: number\n bpmnProcessId?: string\n}\n\nexport const HMAC_SUPPORTED_ALGORITHM = 'sha256'\nexport const HMAC_HEADER_POSITION = 'X-Camunda-Signature-256'\n\nexport const FORBIDDEN_HOSTNAMES_FOR_WEBHOOK_ALERTS = [\n 'https://camunda.com',\n 'https://console.cloud.camunda.io',\n 'https://accounts.cloud.camunda.io',\n 'https://console.camunda.io',\n 'https://accounts.camunda.io',\n 'https://console.ultrawombat.com',\n 'https://console.cloud.ultrawombat.com',\n 'https://accounts.cloud.ultrawombat.com',\n 'https://accounts.ultrawombat.com',\n 'https://console.cloud.dev.ultrawombat.com',\n 'https://console.dev.ultrawombat.com',\n 'https://accounts.cloud.dev.ultrawombat.com',\n]\n\nexport type ALERT_SUBSCRIPTION_TYPES =\n | 'ClusterAlert'\n | 'ProcessAlert'\n | 'AllAlerts'\nexport type ALERT_SUBSCRIPTION_REPORT_TYPES = 'Email' | 'Webhook'\n\nexport interface AlertSubscriptionWebhookAuth {\n hmac?: {\n secret: string\n }\n}\n\nexport type CheckFailedReason =\n | 'urlEmpty'\n | 'urlNoHead'\n | 'generatedHmacNotAccepted'\n | 'urlBad'\n | 'urlPrivate'\n"],
|
|
5
|
-
"mappings": "
|
|
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 {\n AlertSubscriptionReportType,\n AlertSubscriptionType,\n} from '../enums/AlertSubscription.enum.js'\n\nexport interface AlertSubscriptionDto {\n uuid: string\n userIdOrWebhook: string\n type: AlertSubscriptionType\n report: AlertSubscriptionReportType\n webhookAuth?: AlertSubscriptionWebhookAuth\n createdBy: string\n createdByName: string\n created: Date\n updatedBy: string\n updatedByName: string\n updated: Date\n lastTimeTriggered?: Date\n numberOfTimesTriggered: number\n}\n\nexport interface AlertSubscriptionEntryDto {\n errorMessage?: string\n errorType?: string\n flowNodeId?: string\n jobKey?: string\n creationTime?: string\n processInstanceId?: string\n processName?: string\n processVersion?: number\n bpmnProcessId?: string\n}\n\nexport const HMAC_SUPPORTED_ALGORITHM = 'sha256'\nexport const HMAC_HEADER_POSITION = 'X-Camunda-Signature-256'\n\nexport const FORBIDDEN_HOSTNAMES_FOR_WEBHOOK_ALERTS = [\n 'https://camunda.com',\n 'https://console.cloud.camunda.io',\n 'https://accounts.cloud.camunda.io',\n 'https://console.camunda.io',\n 'https://accounts.camunda.io',\n 'https://console.ultrawombat.com',\n 'https://console.cloud.ultrawombat.com',\n 'https://accounts.cloud.ultrawombat.com',\n 'https://accounts.ultrawombat.com',\n 'https://console.cloud.dev.ultrawombat.com',\n 'https://console.dev.ultrawombat.com',\n 'https://accounts.cloud.dev.ultrawombat.com',\n]\n\nexport type ALERT_SUBSCRIPTION_TYPES =\n | 'ClusterAlert'\n | 'ProcessAlert'\n | 'AllAlerts'\nexport type ALERT_SUBSCRIPTION_REPORT_TYPES = 'Email' | 'Webhook'\n\nexport interface AlertSubscriptionWebhookAuth {\n hmac?: {\n secret: string\n }\n}\n\nexport type CheckFailedReason =\n | 'urlEmpty'\n | 'urlNoHead'\n | 'generatedHmacNotAccepted'\n | 'urlBad'\n | 'urlPrivate'\n"],
|
|
5
|
+
"mappings": "AAuCO,MAAM,2BAA2B;AACjC,MAAM,uBAAuB;AAE7B,MAAM,yCAAyC;AAAA,EACpD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -48,6 +48,7 @@ export interface CommonClusterDto {
|
|
|
48
48
|
userCategories?: string[];
|
|
49
49
|
clientCategories?: string[];
|
|
50
50
|
};
|
|
51
|
+
swagger?: boolean;
|
|
51
52
|
};
|
|
52
53
|
rba?: boolean;
|
|
53
54
|
identityBackendChecksEnabled?: boolean;
|
|
@@ -56,6 +57,11 @@ export interface CommonClusterDto {
|
|
|
56
57
|
mcpEnabled?: boolean;
|
|
57
58
|
autoUpdate?: boolean;
|
|
58
59
|
wokeUpAt?: string;
|
|
60
|
+
spec?: {
|
|
61
|
+
reconciliation?: {
|
|
62
|
+
paused?: boolean;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
59
65
|
created: Date;
|
|
60
66
|
planType: ClusterPlanTypeDto;
|
|
61
67
|
numberOfAllocatedHwPackages?: number;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import type { OrganizationPermissions } from '../types/OrganizationPermission.type.js';
|
|
2
2
|
import type { SalesPlanType } from '../types/SalesPlanType.type.js';
|
|
3
3
|
import type { OrganizationToSalesPlanDto } from './OrganizationToSalesPlan.dto.js';
|
|
4
|
+
export type LicensingModelType = 'legacy' | '2025';
|
|
5
|
+
export declare const VALID_LICENSING_MODELS: readonly LicensingModelType[];
|
|
6
|
+
export declare const LICENSING_MODEL_DISPLAY_NAMES: Record<LicensingModelType, string>;
|
|
4
7
|
export interface OrganizationMetadata {
|
|
5
8
|
clickedRequestPaidPlan?: boolean;
|
|
6
9
|
salesForceId?: string;
|
|
7
10
|
enterpriseDevOnly?: boolean;
|
|
8
11
|
awsOnly?: boolean;
|
|
12
|
+
licensingModel?: LicensingModelType;
|
|
9
13
|
autoJoin?: AutoJoinAssignment;
|
|
10
14
|
llm?: {
|
|
11
15
|
tenantKey: string;
|
|
@@ -1 +1,13 @@
|
|
|
1
|
+
const VALID_LICENSING_MODELS = [
|
|
2
|
+
"legacy",
|
|
3
|
+
"2025"
|
|
4
|
+
];
|
|
5
|
+
const LICENSING_MODEL_DISPLAY_NAMES = {
|
|
6
|
+
legacy: "Legacy (PI, DI, TU)",
|
|
7
|
+
"2025": "2025 (PI+Tenant)"
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
LICENSING_MODEL_DISPLAY_NAMES,
|
|
11
|
+
VALID_LICENSING_MODELS
|
|
12
|
+
};
|
|
1
13
|
//# sourceMappingURL=Organization.dto.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": [],
|
|
4
|
-
"sourcesContent": [],
|
|
5
|
-
"mappings": "",
|
|
3
|
+
"sources": ["../../src/dtos/Organization.dto.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH\n * under one or more contributor license agreements. Licensed under a commercial license.\n * You may not use this file except in compliance with the commercial license.\n */\n\nimport type { OrganizationPermissions } from '../types/OrganizationPermission.type.js'\nimport type { SalesPlanType } from '../types/SalesPlanType.type.js'\nimport type { OrganizationToSalesPlanDto } from './OrganizationToSalesPlan.dto.js'\n\nexport type LicensingModelType = 'legacy' | '2025'\n\nexport const VALID_LICENSING_MODELS: readonly LicensingModelType[] = [\n 'legacy',\n '2025',\n] as const\n\nexport const LICENSING_MODEL_DISPLAY_NAMES: Record<LicensingModelType, string> =\n {\n legacy: 'Legacy (PI, DI, TU)',\n '2025': '2025 (PI+Tenant)',\n } as const\n\nexport interface OrganizationMetadata {\n clickedRequestPaidPlan?: boolean\n salesForceId?: string\n enterpriseDevOnly?: boolean\n awsOnly?: boolean\n licensingModel?: LicensingModelType\n autoJoin?: AutoJoinAssignment\n llm?: {\n tenantKey: string\n teamId: string\n created: number\n }\n}\n\nexport interface AutoJoinAssignment {\n departments: Array<{ hibobId: string; roles: string[] }>\n divisions: Array<{ hibobId: string; roles: string[] }>\n subdivisions: Array<{ hibobId: string; roles: string[] }>\n}\nexport interface OrganizationDto {\n uuid: string\n name: string\n organizationToSalesPlan?: OrganizationToSalesPlanDto\n permissions?: OrganizationPermissions\n metadata?: OrganizationMetadata\n created: Date\n internal: boolean\n}\n\nexport interface OrgOwner {\n owner: string\n email: string\n first: string\n last: string\n}\n\nexport interface OrgWithNameAndSalesPlan {\n uuid: string\n name: string | undefined\n salesPlanName: string | undefined\n salesPlanUuid: string | undefined\n salesPlanType: SalesPlanType | undefined\n}\n"],
|
|
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
|
}
|
|
@@ -35,6 +35,19 @@ export interface Limits extends ClusterLimits {
|
|
|
35
35
|
maxTeams?: number;
|
|
36
36
|
legacyStreams?: boolean;
|
|
37
37
|
ignoreGracePeriod?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Maximum number of clients allowed per cluster.
|
|
40
|
+
* Overrides the stage-based default (MAX_CLUSTER_CLIENTS_DEV on dev,
|
|
41
|
+
* MAX_CLUSTER_CLIENTS_DEFAULT on int/prod).
|
|
42
|
+
*/
|
|
43
|
+
maxClusterClients?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Comma-separated list of generation UUIDs that are unlocked for this org.
|
|
46
|
+
* These generations will be available for cluster creation even if they
|
|
47
|
+
* are not part of a channel's allowed generations. They are attached to
|
|
48
|
+
* the Stable channel with classification 'orgUnlocked'.
|
|
49
|
+
*/
|
|
50
|
+
generationWhiteList?: string;
|
|
38
51
|
}
|
|
39
52
|
export declare const RETENTION_LIMIT_MINIMUM: {
|
|
40
53
|
operate: number;
|
|
@@ -54,6 +67,14 @@ export declare const RETENTION_LIMIT_DEFAULT: {
|
|
|
54
67
|
optimize: number;
|
|
55
68
|
unified: number;
|
|
56
69
|
};
|
|
70
|
+
/**
|
|
71
|
+
* Default maximum number of clients per cluster on development stage.
|
|
72
|
+
*/
|
|
73
|
+
export declare const MAX_CLUSTER_CLIENTS_DEV = 10;
|
|
74
|
+
/**
|
|
75
|
+
* Default maximum number of clients per cluster on integration and production stages.
|
|
76
|
+
*/
|
|
77
|
+
export declare const MAX_CLUSTER_CLIENTS_DEFAULT = 200;
|
|
57
78
|
export declare function deprecatedLimit(key: string): string | undefined;
|
|
58
79
|
export declare function allClusterBasedLimits(): {
|
|
59
80
|
key: string;
|
|
@@ -16,6 +16,8 @@ const RETENTION_LIMIT_DEFAULT = {
|
|
|
16
16
|
optimize: 180,
|
|
17
17
|
unified: 30
|
|
18
18
|
};
|
|
19
|
+
const MAX_CLUSTER_CLIENTS_DEV = 10;
|
|
20
|
+
const MAX_CLUSTER_CLIENTS_DEFAULT = 200;
|
|
19
21
|
function deprecatedLimit(key) {
|
|
20
22
|
if (["dataRetentionOperate", "dataRetentionTasklist"].includes(key)) {
|
|
21
23
|
return "unifiedDataRetention";
|
|
@@ -107,7 +109,7 @@ function allSalesPlanLimits() {
|
|
|
107
109
|
{
|
|
108
110
|
key: "legacyStreams",
|
|
109
111
|
type: "boolean",
|
|
110
|
-
description: "used to allow organizations to use legacy minor streams (e.g. 8.5) for cluster creation. default = not allowed",
|
|
112
|
+
description: "used to allow organizations to use legacy minor streams (e.g. 8.5, 8.6) for cluster creation. default = not allowed",
|
|
111
113
|
isClusterBasedLimit: false
|
|
112
114
|
},
|
|
113
115
|
{
|
|
@@ -116,6 +118,19 @@ function allSalesPlanLimits() {
|
|
|
116
118
|
description: "used to bypass the 24h grace period on cluster upgrades after a minor version bump. default = not active (grace period enforced)",
|
|
117
119
|
isClusterBasedLimit: false
|
|
118
120
|
},
|
|
121
|
+
{
|
|
122
|
+
key: "maxClusterClients",
|
|
123
|
+
type: "number",
|
|
124
|
+
description: `maximum number of clients per cluster. default = ${MAX_CLUSTER_CLIENTS_DEFAULT} (${MAX_CLUSTER_CLIENTS_DEV} on dev). Can be overridden per org for special customers (e.g. OEM).`,
|
|
125
|
+
isClusterBasedLimit: false,
|
|
126
|
+
validate: (input) => Number.isInteger(input) && input >= 1
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
key: "generationWhiteList",
|
|
130
|
+
type: "string",
|
|
131
|
+
description: "unlocked generation UUIDs - comma separated. These generations will be available for cluster creation regardless of channel membership. Attached to the Stable channel.",
|
|
132
|
+
isClusterBasedLimit: false
|
|
133
|
+
},
|
|
119
134
|
...allClusterBasedLimits()
|
|
120
135
|
];
|
|
121
136
|
}
|
|
@@ -130,6 +145,8 @@ function unusedSalesPlanLimits(limits) {
|
|
|
130
145
|
);
|
|
131
146
|
}
|
|
132
147
|
export {
|
|
148
|
+
MAX_CLUSTER_CLIENTS_DEFAULT,
|
|
149
|
+
MAX_CLUSTER_CLIENTS_DEV,
|
|
133
150
|
RETENTION_LIMIT_DEFAULT,
|
|
134
151
|
RETENTION_LIMIT_MAXIMUM,
|
|
135
152
|
RETENTION_LIMIT_MINIMUM,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/dtos/SalesPlan.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 { ClusterPlanTypesToConfig } from '../types/ClusterPlanTypesToConfig.type.js'\n\nexport interface SalesPlanDto {\n uuid?: string\n name: string\n salesPlanType?: string\n internal?: boolean\n clusterPlanTypesToConfig: ClusterPlanTypesToConfig\n metadata?: SalesPlanMetadata\n version: number\n orgs?: number\n}\n\nexport interface ConsumptionDataItem {\n type: string\n data: string\n itemPriceId: string\n}\n\nexport interface SalesPlanMetadata {\n description: string\n limits?: Limits\n}\n\nexport interface ClusterLimits {\n dataRetentionOperate?: number\n dataRetentionTasklist?: number\n dataRetentionOptimize?: number\n unifiedDataRetention?: number\n}\n\nexport interface Limits extends ClusterLimits {\n maxMembers?: number\n hotBackup?: boolean\n ipWhiteList?: boolean\n secureConnectivity?: boolean\n allowedHostnamesForInvites?: string\n regionWhiteList?: string\n suppressDropDisks?: boolean\n maxTeams?: number\n legacyStreams?: boolean\n ignoreGracePeriod?: boolean\n}\n\nexport const RETENTION_LIMIT_MINIMUM = {\n operate: 5,\n tasklist: 5,\n optimize: 5,\n unified: 5,\n}\nexport const RETENTION_LIMIT_MAXIMUM = {\n operate: 365,\n tasklist: 90,\n optimize: 720,\n unified: 365,\n}\nexport const RETENTION_LIMIT_DEFAULT = {\n operate: 30,\n tasklist: 30,\n optimize: 180,\n unified: 30,\n}\n\nexport function deprecatedLimit(key: string): string | undefined {\n if (['dataRetentionOperate', 'dataRetentionTasklist'].includes(key)) {\n return 'unifiedDataRetention'\n }\n return undefined\n}\n\nexport function allClusterBasedLimits(): {\n key: string\n type: 'number' | 'boolean' | 'string'\n description: string\n isClusterBasedLimit: boolean\n validate?: (input) => boolean\n}[] {\n return [\n {\n key: 'dataRetentionOperate',\n type: 'number',\n isClusterBasedLimit: true,\n description: `Data retention in days for Operate. default = ${RETENTION_LIMIT_DEFAULT.operate}days. Min = ${RETENTION_LIMIT_MINIMUM.operate}days, Max = ${RETENTION_LIMIT_MAXIMUM.operate}days.`,\n validate: (input) =>\n input >= RETENTION_LIMIT_MINIMUM.operate &&\n input <= RETENTION_LIMIT_MAXIMUM.operate,\n },\n {\n key: 'dataRetentionTasklist',\n type: 'number',\n isClusterBasedLimit: true,\n description: `Data retention in days for Tasklist. default = ${RETENTION_LIMIT_DEFAULT.tasklist}days. Min = ${RETENTION_LIMIT_MINIMUM.tasklist}days, Max = ${RETENTION_LIMIT_MAXIMUM.tasklist}days.`,\n validate: (input) =>\n input >= RETENTION_LIMIT_MINIMUM.tasklist &&\n input <= RETENTION_LIMIT_MAXIMUM.tasklist,\n },\n {\n key: 'dataRetentionOptimize',\n type: 'number',\n isClusterBasedLimit: true,\n description: `Data retention in days for Optimize. default = ${RETENTION_LIMIT_DEFAULT.optimize}days. Min = ${RETENTION_LIMIT_MINIMUM.optimize}days, Max = ${RETENTION_LIMIT_MAXIMUM.optimize}days.`,\n validate: (input) =>\n input >= RETENTION_LIMIT_MINIMUM.optimize &&\n input <= RETENTION_LIMIT_MAXIMUM.optimize,\n },\n {\n key: 'unifiedDataRetention',\n type: 'number',\n isClusterBasedLimit: true,\n description: `Unified data retention in days for Zeebe broker. default = ${RETENTION_LIMIT_DEFAULT.unified}days. Min = ${RETENTION_LIMIT_MINIMUM.unified}days, Max = ${RETENTION_LIMIT_MAXIMUM.unified}days.`,\n validate: (input) =>\n input >= RETENTION_LIMIT_MINIMUM.unified &&\n input <= RETENTION_LIMIT_MAXIMUM.unified,\n },\n ]\n}\n\nexport function allSalesPlanLimits(): {\n key: string\n type: 'number' | 'boolean' | 'string'\n description: string\n isClusterBasedLimit: boolean\n validate?: (input) => boolean\n}[] {\n return [\n {\n key: 'maxMembers',\n type: 'number',\n description:\n 'used to limit the amount of collaborators within one organization. default = no limit',\n isClusterBasedLimit: false,\n },\n {\n key: 'hotBackup',\n type: 'boolean',\n description:\n 'used to activate the hot backup functionality in organizations. default = not active',\n isClusterBasedLimit: false,\n },\n {\n key: 'ipWhiteList',\n type: 'boolean',\n description:\n 'used to activate the ipWhitelist feature in console. default = not active',\n isClusterBasedLimit: false,\n },\n {\n key: 'secureConnectivity',\n type: 'boolean',\n description:\n 'used to activate the secure connectivity feature in console. default = not active',\n isClusterBasedLimit: false,\n },\n {\n key: 'allowedHostnamesForInvites',\n type: 'string',\n description:\n 'allowed hostnames for invites - comma separated, default: every hostname is allowed',\n isClusterBasedLimit: false,\n },\n {\n key: 'regionWhiteList',\n type: 'string',\n description:\n 'allowed regions - comma separated, default: every region is allowed',\n isClusterBasedLimit: false,\n },\n {\n key: 'suppressDropDisks',\n type: 'boolean',\n description:\n 'used to not drop disks of sleeping clusters. default = not suppressed',\n isClusterBasedLimit: false,\n },\n {\n key: 'maxTeams',\n type: 'number',\n description:\n 'used to limit the amount of teams within one super organization. default = 100',\n isClusterBasedLimit: false,\n },\n {\n key: 'legacyStreams',\n type: 'boolean',\n description:\n 'used to allow organizations to use legacy minor streams (e.g. 8.5) for cluster creation. default = not allowed',\n isClusterBasedLimit: false,\n },\n {\n key: 'ignoreGracePeriod',\n type: 'boolean',\n description:\n 'used to bypass the 24h grace period on cluster upgrades after a minor version bump. default = not active (grace period enforced)',\n isClusterBasedLimit: false,\n },\n ...allClusterBasedLimits(),\n ]\n}\n\nexport function unusedClusterBasedLimits(limits: ClusterLimits): {\n key: string\n type: 'number' | 'boolean' | 'string'\n description: string\n isClusterBasedLimit: boolean\n}[] {\n return allClusterBasedLimits().filter(\n (current) =>\n !(\n Object.keys(limits).includes(current.key) &&\n limits[current.key] !== null\n ),\n )\n}\n\nexport function unusedSalesPlanLimits(limits: Limits): {\n key: string\n type: 'number' | 'boolean' | 'string'\n description: string\n isClusterBasedLimit: boolean\n}[] {\n return allSalesPlanLimits().filter(\n (current) =>\n !(\n Object.keys(limits).includes(current.key) &&\n limits[current.key] !== null\n ),\n )\n}\n"],
|
|
5
|
-
"mappings": "
|
|
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 { ClusterPlanTypesToConfig } from '../types/ClusterPlanTypesToConfig.type.js'\n\nexport interface SalesPlanDto {\n uuid?: string\n name: string\n salesPlanType?: string\n internal?: boolean\n clusterPlanTypesToConfig: ClusterPlanTypesToConfig\n metadata?: SalesPlanMetadata\n version: number\n orgs?: number\n}\n\nexport interface ConsumptionDataItem {\n type: string\n data: string\n itemPriceId: string\n}\n\nexport interface SalesPlanMetadata {\n description: string\n limits?: Limits\n}\n\nexport interface ClusterLimits {\n dataRetentionOperate?: number\n dataRetentionTasklist?: number\n dataRetentionOptimize?: number\n unifiedDataRetention?: number\n}\n\nexport interface Limits extends ClusterLimits {\n maxMembers?: number\n hotBackup?: boolean\n ipWhiteList?: boolean\n secureConnectivity?: boolean\n allowedHostnamesForInvites?: string\n regionWhiteList?: string\n suppressDropDisks?: boolean\n maxTeams?: number\n legacyStreams?: boolean\n ignoreGracePeriod?: boolean\n /**\n * Maximum number of clients allowed per cluster.\n * Overrides the stage-based default (MAX_CLUSTER_CLIENTS_DEV on dev,\n * MAX_CLUSTER_CLIENTS_DEFAULT on int/prod).\n */\n maxClusterClients?: number\n /**\n * Comma-separated list of generation UUIDs that are unlocked for this org.\n * These generations will be available for cluster creation even if they\n * are not part of a channel's allowed generations. They are attached to\n * the Stable channel with classification 'orgUnlocked'.\n */\n generationWhiteList?: string\n}\n\nexport const RETENTION_LIMIT_MINIMUM = {\n operate: 5,\n tasklist: 5,\n optimize: 5,\n unified: 5,\n}\nexport const RETENTION_LIMIT_MAXIMUM = {\n operate: 365,\n tasklist: 90,\n optimize: 720,\n unified: 365,\n}\nexport const RETENTION_LIMIT_DEFAULT = {\n operate: 30,\n tasklist: 30,\n optimize: 180,\n unified: 30,\n}\n\n/**\n * Default maximum number of clients per cluster on development stage.\n */\nexport const MAX_CLUSTER_CLIENTS_DEV = 10\n\n/**\n * Default maximum number of clients per cluster on integration and production stages.\n */\nexport const MAX_CLUSTER_CLIENTS_DEFAULT = 200\n\nexport function deprecatedLimit(key: string): string | undefined {\n if (['dataRetentionOperate', 'dataRetentionTasklist'].includes(key)) {\n return 'unifiedDataRetention'\n }\n return undefined\n}\n\nexport function allClusterBasedLimits(): {\n key: string\n type: 'number' | 'boolean' | 'string'\n description: string\n isClusterBasedLimit: boolean\n validate?: (input) => boolean\n}[] {\n return [\n {\n key: 'dataRetentionOperate',\n type: 'number',\n isClusterBasedLimit: true,\n description: `Data retention in days for Operate. default = ${RETENTION_LIMIT_DEFAULT.operate}days. Min = ${RETENTION_LIMIT_MINIMUM.operate}days, Max = ${RETENTION_LIMIT_MAXIMUM.operate}days.`,\n validate: (input) =>\n input >= RETENTION_LIMIT_MINIMUM.operate &&\n input <= RETENTION_LIMIT_MAXIMUM.operate,\n },\n {\n key: 'dataRetentionTasklist',\n type: 'number',\n isClusterBasedLimit: true,\n description: `Data retention in days for Tasklist. default = ${RETENTION_LIMIT_DEFAULT.tasklist}days. Min = ${RETENTION_LIMIT_MINIMUM.tasklist}days, Max = ${RETENTION_LIMIT_MAXIMUM.tasklist}days.`,\n validate: (input) =>\n input >= RETENTION_LIMIT_MINIMUM.tasklist &&\n input <= RETENTION_LIMIT_MAXIMUM.tasklist,\n },\n {\n key: 'dataRetentionOptimize',\n type: 'number',\n isClusterBasedLimit: true,\n description: `Data retention in days for Optimize. default = ${RETENTION_LIMIT_DEFAULT.optimize}days. Min = ${RETENTION_LIMIT_MINIMUM.optimize}days, Max = ${RETENTION_LIMIT_MAXIMUM.optimize}days.`,\n validate: (input) =>\n input >= RETENTION_LIMIT_MINIMUM.optimize &&\n input <= RETENTION_LIMIT_MAXIMUM.optimize,\n },\n {\n key: 'unifiedDataRetention',\n type: 'number',\n isClusterBasedLimit: true,\n description: `Unified data retention in days for Zeebe broker. default = ${RETENTION_LIMIT_DEFAULT.unified}days. Min = ${RETENTION_LIMIT_MINIMUM.unified}days, Max = ${RETENTION_LIMIT_MAXIMUM.unified}days.`,\n validate: (input) =>\n input >= RETENTION_LIMIT_MINIMUM.unified &&\n input <= RETENTION_LIMIT_MAXIMUM.unified,\n },\n ]\n}\n\nexport function allSalesPlanLimits(): {\n key: string\n type: 'number' | 'boolean' | 'string'\n description: string\n isClusterBasedLimit: boolean\n validate?: (input) => boolean\n}[] {\n return [\n {\n key: 'maxMembers',\n type: 'number',\n description:\n 'used to limit the amount of collaborators within one organization. default = no limit',\n isClusterBasedLimit: false,\n },\n {\n key: 'hotBackup',\n type: 'boolean',\n description:\n 'used to activate the hot backup functionality in organizations. default = not active',\n isClusterBasedLimit: false,\n },\n {\n key: 'ipWhiteList',\n type: 'boolean',\n description:\n 'used to activate the ipWhitelist feature in console. default = not active',\n isClusterBasedLimit: false,\n },\n {\n key: 'secureConnectivity',\n type: 'boolean',\n description:\n 'used to activate the secure connectivity feature in console. default = not active',\n isClusterBasedLimit: false,\n },\n {\n key: 'allowedHostnamesForInvites',\n type: 'string',\n description:\n 'allowed hostnames for invites - comma separated, default: every hostname is allowed',\n isClusterBasedLimit: false,\n },\n {\n key: 'regionWhiteList',\n type: 'string',\n description:\n 'allowed regions - comma separated, default: every region is allowed',\n isClusterBasedLimit: false,\n },\n {\n key: 'suppressDropDisks',\n type: 'boolean',\n description:\n 'used to not drop disks of sleeping clusters. default = not suppressed',\n isClusterBasedLimit: false,\n },\n {\n key: 'maxTeams',\n type: 'number',\n description:\n 'used to limit the amount of teams within one super organization. default = 100',\n isClusterBasedLimit: false,\n },\n {\n key: 'legacyStreams',\n type: 'boolean',\n description:\n 'used to allow organizations to use legacy minor streams (e.g. 8.5, 8.6) for cluster creation. default = not allowed',\n isClusterBasedLimit: false,\n },\n {\n key: 'ignoreGracePeriod',\n type: 'boolean',\n description:\n 'used to bypass the 24h grace period on cluster upgrades after a minor version bump. default = not active (grace period enforced)',\n isClusterBasedLimit: false,\n },\n {\n key: 'maxClusterClients',\n type: 'number',\n description: `maximum number of clients per cluster. default = ${MAX_CLUSTER_CLIENTS_DEFAULT} (${MAX_CLUSTER_CLIENTS_DEV} on dev). Can be overridden per org for special customers (e.g. OEM).`,\n isClusterBasedLimit: false,\n validate: (input) => Number.isInteger(input) && input >= 1,\n },\n {\n key: 'generationWhiteList',\n type: 'string',\n description:\n 'unlocked generation UUIDs - comma separated. These generations will be available for cluster creation regardless of channel membership. Attached to the Stable channel.',\n isClusterBasedLimit: false,\n },\n ...allClusterBasedLimits(),\n ]\n}\n\nexport function unusedClusterBasedLimits(limits: ClusterLimits): {\n key: string\n type: 'number' | 'boolean' | 'string'\n description: string\n isClusterBasedLimit: boolean\n}[] {\n return allClusterBasedLimits().filter(\n (current) =>\n !(\n Object.keys(limits).includes(current.key) &&\n limits[current.key] !== null\n ),\n )\n}\n\nexport function unusedSalesPlanLimits(limits: Limits): {\n key: string\n type: 'number' | 'boolean' | 'string'\n description: string\n isClusterBasedLimit: boolean\n}[] {\n return allSalesPlanLimits().filter(\n (current) =>\n !(\n Object.keys(limits).includes(current.key) &&\n limits[current.key] !== null\n ),\n )\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -3,7 +3,7 @@ export declare enum AuditEntity {
|
|
|
3
3
|
CLIENT = "Client",
|
|
4
4
|
ALERT_SUBSCRIPTION = "Alert Subscription",
|
|
5
5
|
API_CLIENT = "API Client",
|
|
6
|
-
SECURE_CONNECTIVITY_CRD = "
|
|
6
|
+
SECURE_CONNECTIVITY_CRD = "Private networking",
|
|
7
7
|
BYOM_CLIENT = "External Monitoring Client",
|
|
8
8
|
BYOM_CRD = "External Monitoring",
|
|
9
9
|
INVITATION = "Invitation",
|
|
@@ -16,7 +16,8 @@ export declare enum AuditEntity {
|
|
|
16
16
|
USAGE_ALERT = "Usage Alert",
|
|
17
17
|
ACCEPT_BETA_TERMS = "Accept Alpha terms",
|
|
18
18
|
TOGGLE_BETA_FEATURE = "Toggle Alpha feature",
|
|
19
|
-
CONNECTOR_SECRET = "Connector Secret"
|
|
19
|
+
CONNECTOR_SECRET = "Connector Secret",
|
|
20
|
+
CLUSTER_MODIFICATION = "Cluster Modification"
|
|
20
21
|
}
|
|
21
22
|
export declare enum AuditEntityAttribute {
|
|
22
23
|
CLUSTER_CLUSTER_PLAN = "ClusterPlan",
|
|
@@ -3,7 +3,7 @@ var AuditEntity = /* @__PURE__ */ ((AuditEntity2) => {
|
|
|
3
3
|
AuditEntity2["CLIENT"] = "Client";
|
|
4
4
|
AuditEntity2["ALERT_SUBSCRIPTION"] = "Alert Subscription";
|
|
5
5
|
AuditEntity2["API_CLIENT"] = "API Client";
|
|
6
|
-
AuditEntity2["SECURE_CONNECTIVITY_CRD"] = "
|
|
6
|
+
AuditEntity2["SECURE_CONNECTIVITY_CRD"] = "Private networking";
|
|
7
7
|
AuditEntity2["BYOM_CLIENT"] = "External Monitoring Client";
|
|
8
8
|
AuditEntity2["BYOM_CRD"] = "External Monitoring";
|
|
9
9
|
AuditEntity2["INVITATION"] = "Invitation";
|
|
@@ -17,6 +17,7 @@ var AuditEntity = /* @__PURE__ */ ((AuditEntity2) => {
|
|
|
17
17
|
AuditEntity2["ACCEPT_BETA_TERMS"] = "Accept Alpha terms";
|
|
18
18
|
AuditEntity2["TOGGLE_BETA_FEATURE"] = "Toggle Alpha feature";
|
|
19
19
|
AuditEntity2["CONNECTOR_SECRET"] = "Connector Secret";
|
|
20
|
+
AuditEntity2["CLUSTER_MODIFICATION"] = "Cluster Modification";
|
|
20
21
|
return AuditEntity2;
|
|
21
22
|
})(AuditEntity || {});
|
|
22
23
|
var AuditEntityAttribute = /* @__PURE__ */ ((AuditEntityAttribute2) => {
|
|
@@ -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 = '
|
|
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;
|
|
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_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}\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,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;AA1BR,SAAAA;AAAA,GAAA;",
|
|
6
6
|
"names": ["AuditEntity", "AuditEntityAttribute"]
|
|
7
7
|
}
|
|
@@ -5,6 +5,8 @@ var ClusterStatus = /* @__PURE__ */ ((ClusterStatus2) => {
|
|
|
5
5
|
ClusterStatus2["UPDATING"] = "Updating";
|
|
6
6
|
ClusterStatus2["RESUMING"] = "Resuming";
|
|
7
7
|
ClusterStatus2["SUSPENDED"] = "Suspended";
|
|
8
|
+
ClusterStatus2["WAITING_FOR_INPUT"] = "WaitingForInput";
|
|
9
|
+
ClusterStatus2["MAINTENANCE"] = "Maintenance";
|
|
8
10
|
return ClusterStatus2;
|
|
9
11
|
})(ClusterStatus || {});
|
|
10
12
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/enums/ClusterStatus.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 ClusterStatus {\n CREATING = 'Creating',\n HEALTHY = 'Healthy',\n UNHEALTHY = 'Unhealthy',\n UPDATING = 'Updating',\n RESUMING = 'Resuming',\n SUSPENDED = 'Suspended',\n}\n"],
|
|
5
|
-
"mappings": "AAOO,IAAK,gBAAL,kBAAKA,mBAAL;AACL,EAAAA,eAAA,cAAW;AACX,EAAAA,eAAA,aAAU;AACV,EAAAA,eAAA,eAAY;AACZ,EAAAA,eAAA,cAAW;AACX,EAAAA,eAAA,cAAW;AACX,EAAAA,eAAA,eAAY;
|
|
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 ClusterStatus {\n CREATING = 'Creating',\n HEALTHY = 'Healthy',\n UNHEALTHY = 'Unhealthy',\n UPDATING = 'Updating',\n RESUMING = 'Resuming',\n SUSPENDED = 'Suspended',\n WAITING_FOR_INPUT = 'WaitingForInput',\n MAINTENANCE = 'Maintenance',\n}\n"],
|
|
5
|
+
"mappings": "AAOO,IAAK,gBAAL,kBAAKA,mBAAL;AACL,EAAAA,eAAA,cAAW;AACX,EAAAA,eAAA,aAAU;AACV,EAAAA,eAAA,eAAY;AACZ,EAAAA,eAAA,cAAW;AACX,EAAAA,eAAA,cAAW;AACX,EAAAA,eAAA,eAAY;AACZ,EAAAA,eAAA,uBAAoB;AACpB,EAAAA,eAAA,iBAAc;AARJ,SAAAA;AAAA,GAAA;",
|
|
6
6
|
"names": ["ClusterStatus"]
|
|
7
7
|
}
|
|
@@ -5,6 +5,7 @@ var ErrorType = /* @__PURE__ */ ((ErrorType2) => {
|
|
|
5
5
|
ErrorType2[ErrorType2["NotFound"] = 404] = "NotFound";
|
|
6
6
|
ErrorType2[ErrorType2["Conflict"] = 409] = "Conflict";
|
|
7
7
|
ErrorType2[ErrorType2["PreconditionFailed"] = 412] = "PreconditionFailed";
|
|
8
|
+
ErrorType2[ErrorType2["IAmATeapot"] = 418] = "IAmATeapot";
|
|
8
9
|
ErrorType2[ErrorType2["TooManyRequests"] = 429] = "TooManyRequests";
|
|
9
10
|
ErrorType2[ErrorType2["Internal"] = 500] = "Internal";
|
|
10
11
|
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 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,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 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;AAXU,SAAAA;AAAA,GAAA;",
|
|
6
6
|
"names": ["ErrorType"]
|
|
7
7
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export type { Stage } from './constants/misc.const.js';
|
|
|
3
3
|
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, SECRETS_MAX_LENGTH, SENTRY, STARTING_PRICE_PER_MONTH_IN_EURO, TEMPORARY_CLUSTER_NAME, } from './constants/misc.const.js';
|
|
4
4
|
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';
|
|
5
5
|
export { PRIVATE_LINK_REGIONS } from './constants/privateLinkRegions.const.js';
|
|
6
|
+
export { SECURE_CONNECTIVITY_ALLOWED_ENTRIES_LIMIT } from './constants/secureConnectivity.const.js';
|
|
6
7
|
export type { ALERT_SUBSCRIPTION_REPORT_TYPES, ALERT_SUBSCRIPTION_TYPES, AlertSubscriptionDto, AlertSubscriptionEntryDto, AlertSubscriptionWebhookAuth, CheckFailedReason, } from './dtos/AlertSubscription.dto.js';
|
|
7
8
|
export { FORBIDDEN_HOSTNAMES_FOR_WEBHOOK_ALERTS, HMAC_HEADER_POSITION, HMAC_SUPPORTED_ALGORITHM, } from './dtos/AlertSubscription.dto.js';
|
|
8
9
|
export type { AuditDto } from './dtos/Audit.dto.js';
|
|
@@ -20,11 +21,12 @@ export { type GenerationDto, type GenerationWithClusterCountDto, sortGenerationB
|
|
|
20
21
|
export type { Hdp } from './dtos/Hdp.dto.js';
|
|
21
22
|
export type { K8sConfig, K8sConfigLegacyFormat, K8sContext, K8sContextDto, } from './dtos/K8sContext.dto.js';
|
|
22
23
|
export type { MetaDto } from './dtos/Meta.dto.js';
|
|
23
|
-
export type { AutoJoinAssignment, OrganizationDto, OrganizationMetadata, OrgOwner, OrgWithNameAndSalesPlan, } from './dtos/Organization.dto.js';
|
|
24
|
+
export type { AutoJoinAssignment, LicensingModelType, OrganizationDto, OrganizationMetadata, OrgOwner, OrgWithNameAndSalesPlan, } from './dtos/Organization.dto.js';
|
|
25
|
+
export { LICENSING_MODEL_DISPLAY_NAMES, VALID_LICENSING_MODELS, } from './dtos/Organization.dto.js';
|
|
24
26
|
export type { OrganizationMemberDto } from './dtos/OrganizationMember.dto.js';
|
|
25
27
|
export type { OrganizationToSalesPlanDto } from './dtos/OrganizationToSalesPlan.dto.js';
|
|
26
28
|
export type { ClusterLimits, ConsumptionDataItem, Limits, SalesPlanDto, SalesPlanMetadata, } from './dtos/SalesPlan.dto.js';
|
|
27
|
-
export { allClusterBasedLimits, allSalesPlanLimits, deprecatedLimit, RETENTION_LIMIT_DEFAULT, RETENTION_LIMIT_MAXIMUM, RETENTION_LIMIT_MINIMUM, unusedClusterBasedLimits, unusedSalesPlanLimits, } from './dtos/SalesPlan.dto.js';
|
|
29
|
+
export { allClusterBasedLimits, allSalesPlanLimits, deprecatedLimit, MAX_CLUSTER_CLIENTS_DEFAULT, MAX_CLUSTER_CLIENTS_DEV, RETENTION_LIMIT_DEFAULT, RETENTION_LIMIT_MAXIMUM, RETENTION_LIMIT_MINIMUM, unusedClusterBasedLimits, unusedSalesPlanLimits, } from './dtos/SalesPlan.dto.js';
|
|
28
30
|
export type { SecureConnectivityDto } from './dtos/SecureConnectivity.dto.js';
|
|
29
31
|
export type { SignupDto } from './dtos/Signup.dto.js';
|
|
30
32
|
export type { UsageAlertDto } from './dtos/UsageAlert.dto.js';
|
|
@@ -53,6 +55,8 @@ export type { OnboardConfig } from './permissions/profile.permissions.js';
|
|
|
53
55
|
export { C8_ENGINEERING_MANAGERS_EMAILS, CLOUD_TEAM_EMAILS, CONSULTING_MANAGER_EMAILS, CSM_MANAGER_EMAIL, PLATFORM_SM_EMAILS, PROFILES, SRE_TEAM_EMAILS, SUPPORT_MANAGERS_EMAILS, } from './permissions/profile.permissions.js';
|
|
54
56
|
export { expandRolesToPermissions } from './permissions/roleExpansion.utils.js';
|
|
55
57
|
export type { AuditData } from './types/AuditData.type.js';
|
|
58
|
+
export type { ActivitySleepEligibilityOptions, SleepCronEligibilityOptions, } from './types/AutoSleep.type.js';
|
|
59
|
+
export { INTERNAL_LOW_HARDWARE_PLAN_NAME, isActivitySleepEligible, isClusterTagEligibleForSleepCron, isSalesPlanEligibleForSleepCron, isSleepCronEligible, SLEEP_CRON_ELIGIBLE_TAGS, } from './types/AutoSleep.type.js';
|
|
56
60
|
export type { BotContext, BotOptions, BotRequest, GetUserDetailsResponse, ListRolesForUserResponse, UpdateUserRolesRequest, UpdateUserRolesResponse, UserContext, UserDetails, } from './types/Bot.types.js';
|
|
57
61
|
export type { BulkClusterDeletionContent, BulkClusterDeletionItem, BulkClusterGenerationUpdateItem, BulkClusterPlanTypeUpdateContent, BulkClusterPlanTypeUpdateItem, BulkClusterPlanUpdateContent, BulkClusterPlanUpdateItem, BulkGenerationUpdateContent, GenericBulkClusterOperationContent, GenericBulkOperationContent, GenericClusterBulkOperationItem, } from './types/BulkOperation.type.js';
|
|
58
62
|
export { isBulkClusterDeletionItem, isBulkClusterPlanTypeUpdateItem, isBulkClusterPlanUpdateItem, isIsBulkClusterGenerationUpdateIten, } from './types/BulkOperation.type.js';
|
|
@@ -105,7 +109,7 @@ export { getPermissionsByRoles, getUserPermissionsForOrg, } from './utils/orgs/O
|
|
|
105
109
|
export type { PasswordPolicyRequest, PasswordPolicyResult, } from './utils/PasswordPolicy.js';
|
|
106
110
|
export { MAXLENGTH as PASSWORD_POLICY_MAXLENGTH, MINLENGTH as PASSWORD_POLICY_MINLENGTH, passwordPolicyCheck, } from './utils/PasswordPolicy.js';
|
|
107
111
|
export { allSettledResultsCounts, getFulfilledPromises, getRejectedPromises, getSettledSummary, } from './utils/settledPromises.util.js';
|
|
108
|
-
export { isValidCIDR, isValidCIDRList, isValidClientName, isValidHostname, } from './utils/string-validation.utils.js';
|
|
112
|
+
export { isValidAwsArn, isValidCIDR, isValidCIDRList, isValidClientName, isValidHostname, isValidPrivateLinkRegion, } from './utils/string-validation.utils.js';
|
|
109
113
|
export { extractCamundaUserEmail, guessName, isCamundaUserId, } from './utils/user.utils.js';
|
|
110
114
|
export { checkVersion, VersionCheckOperator, } from './utils/versionCheck.utils.js';
|
|
111
115
|
export { default as CAMUNDI_PERMISSION_RULES } from './config/camundi-permission-rules.js';
|
package/dist/index.js
CHANGED
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
PRE89_GATEWAY_RESOURCE_PREFIXES
|
|
24
24
|
} from "./constants/pre89EnvVarMapping.const.js";
|
|
25
25
|
import { PRIVATE_LINK_REGIONS } from "./constants/privateLinkRegions.const.js";
|
|
26
|
+
import { SECURE_CONNECTIVITY_ALLOWED_ENTRIES_LIMIT } from "./constants/secureConnectivity.const.js";
|
|
26
27
|
import {
|
|
27
28
|
FORBIDDEN_HOSTNAMES_FOR_WEBHOOK_ALERTS,
|
|
28
29
|
HMAC_HEADER_POSITION,
|
|
@@ -31,10 +32,16 @@ import {
|
|
|
31
32
|
import {
|
|
32
33
|
sortGenerationBySemverOfZeebe
|
|
33
34
|
} from "./dtos/Generations.dto.js";
|
|
35
|
+
import {
|
|
36
|
+
LICENSING_MODEL_DISPLAY_NAMES,
|
|
37
|
+
VALID_LICENSING_MODELS
|
|
38
|
+
} from "./dtos/Organization.dto.js";
|
|
34
39
|
import {
|
|
35
40
|
allClusterBasedLimits,
|
|
36
41
|
allSalesPlanLimits,
|
|
37
42
|
deprecatedLimit,
|
|
43
|
+
MAX_CLUSTER_CLIENTS_DEFAULT,
|
|
44
|
+
MAX_CLUSTER_CLIENTS_DEV,
|
|
38
45
|
RETENTION_LIMIT_DEFAULT,
|
|
39
46
|
RETENTION_LIMIT_MAXIMUM,
|
|
40
47
|
RETENTION_LIMIT_MINIMUM,
|
|
@@ -88,6 +95,14 @@ import {
|
|
|
88
95
|
SUPPORT_MANAGERS_EMAILS
|
|
89
96
|
} from "./permissions/profile.permissions.js";
|
|
90
97
|
import { expandRolesToPermissions } from "./permissions/roleExpansion.utils.js";
|
|
98
|
+
import {
|
|
99
|
+
INTERNAL_LOW_HARDWARE_PLAN_NAME,
|
|
100
|
+
isActivitySleepEligible,
|
|
101
|
+
isClusterTagEligibleForSleepCron,
|
|
102
|
+
isSalesPlanEligibleForSleepCron,
|
|
103
|
+
isSleepCronEligible,
|
|
104
|
+
SLEEP_CRON_ELIGIBLE_TAGS
|
|
105
|
+
} from "./types/AutoSleep.type.js";
|
|
91
106
|
import {
|
|
92
107
|
isBulkClusterDeletionItem,
|
|
93
108
|
isBulkClusterPlanTypeUpdateItem,
|
|
@@ -164,10 +179,12 @@ import {
|
|
|
164
179
|
getSettledSummary
|
|
165
180
|
} from "./utils/settledPromises.util.js";
|
|
166
181
|
import {
|
|
182
|
+
isValidAwsArn,
|
|
167
183
|
isValidCIDR,
|
|
168
184
|
isValidCIDRList,
|
|
169
185
|
isValidClientName,
|
|
170
|
-
isValidHostname
|
|
186
|
+
isValidHostname,
|
|
187
|
+
isValidPrivateLinkRegion
|
|
171
188
|
} from "./utils/string-validation.utils.js";
|
|
172
189
|
import {
|
|
173
190
|
extractCamundaUserEmail,
|
|
@@ -228,7 +245,11 @@ export {
|
|
|
228
245
|
HOUR,
|
|
229
246
|
AlertSubscriptionReportType2 as HdpAlertSubscriptionReportType,
|
|
230
247
|
AlertSubscriptionType2 as HdpAlertSubscriptionType,
|
|
248
|
+
INTERNAL_LOW_HARDWARE_PLAN_NAME,
|
|
231
249
|
ImmutableThings,
|
|
250
|
+
LICENSING_MODEL_DISPLAY_NAMES,
|
|
251
|
+
MAX_CLUSTER_CLIENTS_DEFAULT,
|
|
252
|
+
MAX_CLUSTER_CLIENTS_DEV,
|
|
232
253
|
MAX_HARDWARE_PACKAGE_COUNT,
|
|
233
254
|
MAX_LENGTH_CLUSTER_NAME,
|
|
234
255
|
MINIMUM_EYEPAIRS,
|
|
@@ -259,7 +280,9 @@ export {
|
|
|
259
280
|
SAFE_ROLES,
|
|
260
281
|
SECOND,
|
|
261
282
|
SECRETS_MAX_LENGTH,
|
|
283
|
+
SECURE_CONNECTIVITY_ALLOWED_ENTRIES_LIMIT,
|
|
262
284
|
SENTRY,
|
|
285
|
+
SLEEP_CRON_ELIGIBLE_TAGS,
|
|
263
286
|
SRE_TEAM_EMAILS,
|
|
264
287
|
STARTING_PRICE_PER_MONTH_IN_EURO,
|
|
265
288
|
SUPPORT_MANAGERS_EMAILS,
|
|
@@ -275,6 +298,7 @@ export {
|
|
|
275
298
|
UsageAlertMetric,
|
|
276
299
|
UsageAlertThresholdLimits,
|
|
277
300
|
UserMetadataEvent,
|
|
301
|
+
VALID_LICENSING_MODELS,
|
|
278
302
|
VersionCheckOperator,
|
|
279
303
|
WEEK,
|
|
280
304
|
accountsUserFeaturesFromPermissions,
|
|
@@ -302,18 +326,24 @@ export {
|
|
|
302
326
|
getUserPermissionsForOrg,
|
|
303
327
|
guessName,
|
|
304
328
|
hasAvailabilityClass,
|
|
329
|
+
isActivitySleepEligible,
|
|
305
330
|
isAffectedByStreamlinedDeployment,
|
|
306
331
|
isBulkClusterDeletionItem,
|
|
307
332
|
isBulkClusterPlanTypeUpdateItem,
|
|
308
333
|
isBulkClusterPlanUpdateItem,
|
|
309
334
|
isCamundaUserId,
|
|
335
|
+
isClusterTagEligibleForSleepCron,
|
|
310
336
|
isIsBulkClusterGenerationUpdateIten,
|
|
311
337
|
isManager,
|
|
312
338
|
isPre89AffectedPath,
|
|
339
|
+
isSalesPlanEligibleForSleepCron,
|
|
340
|
+
isSleepCronEligible,
|
|
341
|
+
isValidAwsArn,
|
|
313
342
|
isValidCIDR,
|
|
314
343
|
isValidCIDRList,
|
|
315
344
|
isValidClientName,
|
|
316
345
|
isValidHostname,
|
|
346
|
+
isValidPrivateLinkRegion,
|
|
317
347
|
organizationAssignmentsToEnterpriseConnectionMetadata,
|
|
318
348
|
passwordPolicyCheck,
|
|
319
349
|
sortByAvailabilityClasses,
|