@keboola/api-client 54.0.0 → 55.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +1 -1
  3. package/dist/{componentId-Cps6WBy1.js → componentId-Ba4gsJ9O.js} +3 -1
  4. package/dist/componentId-Ba4gsJ9O.js.map +1 -0
  5. package/dist/{componentId-_tRhEv6W.cjs → componentId-Ba_1Gv_A.cjs} +3 -1
  6. package/dist/componentId-Ba_1Gv_A.cjs.map +1 -0
  7. package/dist/constants/index.cjs +3 -2
  8. package/dist/constants/index.d.cts +2 -2
  9. package/dist/constants/index.d.ts +2 -2
  10. package/dist/constants/index.js +3 -3
  11. package/dist/{constants-DLPkpnGv.js → constants-HccvU5kx.js} +9 -2
  12. package/dist/constants-HccvU5kx.js.map +1 -0
  13. package/dist/{constants-Day8CU5i.cjs → constants-V9hAyPTo.cjs} +14 -1
  14. package/dist/constants-V9hAyPTo.cjs.map +1 -0
  15. package/dist/encryption/index.d.cts +1 -1
  16. package/dist/encryption/index.d.ts +1 -1
  17. package/dist/encryption/types.d.cts +1 -1
  18. package/dist/encryption/types.d.ts +1 -1
  19. package/dist/{index-DX7qciZA.d.cts → index-BE6qM0vu.d.cts} +526 -30
  20. package/dist/{index-DCfumWzq.d.ts → index-BGsP2QBc.d.ts} +2 -2
  21. package/dist/{index-Df30jjpZ.d.ts → index-CQPs3hrp.d.ts} +15 -38
  22. package/dist/{index-B04rWq_0.d.cts → index-CWowDl63.d.cts} +2 -2
  23. package/dist/{index-Cd0naVic.d.cts → index-CYk7Aa8u.d.cts} +11 -2
  24. package/dist/{index-BtvWJBYh.d.cts → index-CmyFWQXn.d.cts} +15 -38
  25. package/dist/{index-DbStyQKc.d.ts → index-D3hWR_e4.d.ts} +11 -2
  26. package/dist/{index-DzqHh0lE.d.ts → index-DeWeUUfE.d.ts} +526 -30
  27. package/dist/index.cjs +8 -13
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +2 -2
  30. package/dist/index.d.ts +2 -2
  31. package/dist/index.js +8 -13
  32. package/dist/index.js.map +1 -1
  33. package/dist/management/index.cjs +1 -1
  34. package/dist/management/index.d.cts +1 -1
  35. package/dist/management/index.d.ts +1 -1
  36. package/dist/management/index.js +1 -1
  37. package/dist/management/types.d.cts +2 -2
  38. package/dist/management/types.d.ts +2 -2
  39. package/dist/{management-BAfg8BmK.js → management-BlMQnPNS.js} +10 -16
  40. package/dist/management-BlMQnPNS.js.map +1 -0
  41. package/dist/{management-BuNIc7Mr.cjs → management-dIMrTTpI.cjs} +10 -16
  42. package/dist/management-dIMrTTpI.cjs.map +1 -0
  43. package/dist/oauth/index.cjs +1 -1
  44. package/dist/oauth/index.d.cts +8 -1
  45. package/dist/oauth/index.d.ts +8 -1
  46. package/dist/oauth/index.js +1 -1
  47. package/dist/oauth/types.d.cts +2 -2
  48. package/dist/oauth/types.d.ts +2 -2
  49. package/dist/{oauth-CXcrilOp.cjs → oauth-CEW2AvDV.cjs} +9 -1
  50. package/dist/{oauth-CXcrilOp.cjs.map → oauth-CEW2AvDV.cjs.map} +1 -1
  51. package/dist/{oauth-Ci0qeaS2.js → oauth-Fri6IthS.js} +9 -1
  52. package/dist/{oauth-Ci0qeaS2.js.map → oauth-Fri6IthS.js.map} +1 -1
  53. package/dist/queryService/index.d.cts +1 -1
  54. package/dist/queryService/index.d.ts +1 -1
  55. package/dist/queryService/types.d.cts +1 -1
  56. package/dist/queryService/types.d.ts +1 -1
  57. package/dist/queue/index.d.cts +1 -1
  58. package/dist/queue/index.d.ts +1 -1
  59. package/dist/sdk/configurations/index.cjs +47 -2
  60. package/dist/sdk/configurations/index.cjs.map +1 -1
  61. package/dist/sdk/configurations/index.d.cts +230 -2
  62. package/dist/sdk/configurations/index.d.ts +230 -2
  63. package/dist/sdk/configurations/index.js +47 -2
  64. package/dist/sdk/configurations/index.js.map +1 -1
  65. package/dist/sdk/dataAppServer/index.cjs +1 -1
  66. package/dist/sdk/dataAppServer/index.cjs.map +1 -1
  67. package/dist/sdk/dataAppServer/index.d.cts +1 -1
  68. package/dist/sdk/dataAppServer/index.d.ts +1 -1
  69. package/dist/sdk/dataAppServer/index.js +1 -1
  70. package/dist/sdk/dataAppServer/index.js.map +1 -1
  71. package/dist/sdk/queryService/index.d.cts +1 -1
  72. package/dist/sdk/queryService/index.d.ts +1 -1
  73. package/dist/sdk/securityPolicy/index.cjs +13 -3
  74. package/dist/sdk/securityPolicy/index.cjs.map +1 -1
  75. package/dist/sdk/securityPolicy/index.d.cts +11 -1
  76. package/dist/sdk/securityPolicy/index.d.ts +11 -1
  77. package/dist/sdk/securityPolicy/index.js +12 -4
  78. package/dist/sdk/securityPolicy/index.js.map +1 -1
  79. package/dist/sdk/vault/index.cjs +3 -12
  80. package/dist/sdk/vault/index.cjs.map +1 -1
  81. package/dist/sdk/vault/index.d.cts +1 -1
  82. package/dist/sdk/vault/index.d.ts +1 -1
  83. package/dist/sdk/vault/index.js +3 -12
  84. package/dist/sdk/vault/index.js.map +1 -1
  85. package/dist/storage/index.cjs +1 -1
  86. package/dist/storage/index.d.cts +2 -2
  87. package/dist/storage/index.d.ts +2 -2
  88. package/dist/storage/index.js +1 -1
  89. package/dist/storage/types.d.cts +2 -2
  90. package/dist/storage/types.d.ts +2 -2
  91. package/dist/{storage-BMrYlyLB.cjs → storage-BL-TfHp8.cjs} +2 -2
  92. package/dist/storage-BL-TfHp8.cjs.map +1 -0
  93. package/dist/{storage--2FvvLAw.js → storage-DEJN8sw-.js} +2 -2
  94. package/dist/storage-DEJN8sw-.js.map +1 -0
  95. package/dist/syncActions/index.cjs +1 -1
  96. package/dist/syncActions/index.js +1 -1
  97. package/dist/{syncActions-CR7xvuIv.cjs → syncActions-B9JTiSao.cjs} +2 -2
  98. package/dist/{syncActions-CR7xvuIv.cjs.map → syncActions-B9JTiSao.cjs.map} +1 -1
  99. package/dist/{syncActions-CU4cIGRf.js → syncActions-W98Jme2Z.js} +2 -2
  100. package/dist/{syncActions-CU4cIGRf.js.map → syncActions-W98Jme2Z.js.map} +1 -1
  101. package/dist/{types-B7FKoyfy.d.cts → types-Bwvss_gW.d.cts} +819 -388
  102. package/dist/{types-CaBcgsT2.d.cts → types-DMhgKHCP.d.cts} +221 -54
  103. package/dist/{types-COb2O9c1.d.ts → types-J_dgwMjP.d.ts} +819 -388
  104. package/dist/{types-DFcj9YyQ.d.ts → types-p_lWvuQJ.d.ts} +221 -54
  105. package/package.json +3 -3
  106. package/surface/management.md +25 -25
  107. package/dist/componentId-Cps6WBy1.js.map +0 -1
  108. package/dist/componentId-_tRhEv6W.cjs.map +0 -1
  109. package/dist/constants-DLPkpnGv.js.map +0 -1
  110. package/dist/constants-Day8CU5i.cjs.map +0 -1
  111. package/dist/management-BAfg8BmK.js.map +0 -1
  112. package/dist/management-BuNIc7Mr.cjs.map +0 -1
  113. package/dist/storage--2FvvLAw.js.map +0 -1
  114. package/dist/storage-BMrYlyLB.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # @keboola/api-client
2
2
 
3
+ ## 55.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - `createAdminAccount` takes a `ManagementSessionToken` (new, from `@keboola/api-client/management/types`): a Manage token that carries its `user`, so `AdminAccount.user` is always present. It no longer accepts `null` or a token without a user.
8
+
9
+ - `management.projects` types derive from the regenerated Manage schema.
10
+
11
+ - `getProjectUsers` resolves `ProjectMember[]`: the membership the endpoint sends, with `created`, `expires`, `reason`, `invitor` and `approver` on top of the user.
12
+ - `Project` is the generated project detail.
13
+ - `backends` has one optional key per backend, each with `technicalOwner`. BigQuery carries `credentials` and `folderId` instead of `host` and `region`, and Synapse has no `region`.
14
+ - `fileStorage` is the S3, ABS or GCS shape, with a nullable `creator`.
15
+ - `metrics` items are typed `{ name, value }`, and `usersCount` is always present.
16
+ - `addProjectFeature` resolves the project with the optional `warnings`; `setProjectLimits`, `updateProject`, `moveProject`, `setProjectDisabled` and `getProjectReviewers` resolve their generated responses.
17
+ - Bodies accept what the endpoints accept: the SOX roles on invite, add and role change, `reason` and `expirationSeconds` on invite and add, `canApproveMergeRequests` on role change.
18
+ - Removed: `ProjectBase`, `ProjectWithFeatureWarnings`, `Reviewer`, `ProjectPath` and `ProjectJoinRequestPath`. Each method takes its endpoint's own `*Path` type (`UpdateProjectPath`, `GetProjectJoinRequestPath`, …).
19
+ - `ProjectMetric` in `@keboola/api-client/constants` names the metrics Connection snapshots per project: `kbc.adminsCount`, `storage.dataSizeBytes`, `storage.rowsCount`.
20
+ - `createProjectInvitation` no longer takes `landingApp`: Connection never read it, and the Business Workspace app it named is gone.
21
+ - The regenerated schema makes organization, project and user metadata `value` nullable, a join request's `user` required, and `requestProjectAccess` resolve the request with its `project`.
22
+
23
+ ### Minor Changes
24
+
25
+ - `@keboola/api-client/sdk/securityPolicy` exports `isLegacySecurityPolicy(meta)`: whether a policy is stored under an older rule schema, so a UI can show it read-only instead of failing on save.
26
+
27
+ It also exports `isReplaceableSecurityPolicy(policy, projectId)`: whether creating a policy for the same table replaces this one, so a UI can tell an edit from a new policy before it writes.
28
+
29
+ - `createOrganizationCredentialsClient` lists the GitHub Apps an organization can connect to.
30
+
31
+ - `getOrganizationGitHubApps` calls `GET /organizations/{organizationId}/github-apps` with the caller's Manage token and resolves `OrganizationGitHubApp[]`: each host's App and its install page (`installUrl`, `null` on GitHub Enterprise Cloud).
32
+ - `OrganizationConnectErrorCode` names the `error` codes oauth-service adds to `returnUrl` when connecting an organization fails.
33
+
34
+ - New component IDs `WR_DB_ORACLE_ADW` (`keboola.wr-db-oracle-adw`) and `EX_DB_ORACLE_ADW` (`keboola.ex-db-oracle-adw`) with configuration schemas `wrDbOracleAdwSchema` and `exDbOracleAdwSchema`. They accept every `keboola.wr-db-oracle` / `keboola.ex-db-oracle` connection plus an Oracle Cloud Autonomous Database wallet connection: `walletServiceName` with `walletFileId`.
35
+
36
+ - The writer schema is a union of a host/port/database connection and a wallet connection. Wallet mode rejects `host`.
37
+ - The extractor schema adds both fields as optional, next to `tnsnames`.
38
+
39
+ ### Patch Changes
40
+
41
+ - Internal code satisfies the `anti-slop` lint rules; public APIs and behaviour are unchanged.
42
+
43
+ - `Reflect.get`, parameters typed `object` and accumulator-copying reducers give way to narrowing, precise types, `filter` and `flatMap`.
44
+ - `@keboola/api-client` keeps its `as unknown as` bridges from OpenAPI to domain types.
45
+
46
+ - Configuration folders use the configuration's `folder` field instead of the `KBC.configuration.folderName` metadata key. `@keboola/api-client` types `folder` on a read configuration and on the create and update bodies; kbc-ui reads and writes the folder through it.
47
+
3
48
  ## 54.0.0
4
49
 
5
50
  ### Major Changes
package/README.md CHANGED
@@ -458,7 +458,7 @@ Bug reports and feature requests: [`keboola/ui` issues](https://github.com/keboo
458
458
 
459
459
  ## Live E2E smoke
460
460
 
461
- A nightly live smoke (kept off PR CI, not published to npm) exercises the SDK against a real Keboola backend. See [`integration/README.md`](./integration/README.md) for the suites, local runs, CI configuration, and the secret-rotation playbook.
461
+ A nightly live smoke (kept off PR CI, not published to npm) exercises the SDK against a real Keboola backend. See [`integration/README.md`](./integration/README.md) for the suites, local runs and CI configuration.
462
462
 
463
463
  ## License
464
464
 
@@ -3,6 +3,7 @@ const ComponentId = {
3
3
  WR_DB_MYSQL: "keboola.wr-db-mysql",
4
4
  WR_DB_PGSQL: "keboola.wr-db-pgsql",
5
5
  WR_DB_ORACLE: "keboola.wr-db-oracle",
6
+ WR_DB_ORACLE_ADW: "keboola.wr-db-oracle-adw",
6
7
  WR_DB_SNOWFLAKE: "keboola.wr-db-snowflake",
7
8
  WR_DB_SNOWFLAKE_GCS: "keboola.wr-db-snowflake-gcs",
8
9
  WR_DB_SNOWFLAKE_GCS_S3: "keboola.wr-db-snowflake-gcs-s3",
@@ -35,6 +36,7 @@ const ComponentId = {
35
36
  EX_DB_MSSQL: "keboola.ex-db-mssql",
36
37
  EX_DB_MSSQL_CDATA: "keboola.ex-db-mssql-cdata",
37
38
  EX_DB_ORACLE: "keboola.ex-db-oracle",
39
+ EX_DB_ORACLE_ADW: "keboola.ex-db-oracle-adw",
38
40
  EX_DB_SNOWFLAKE: "keboola.ex-db-snowflake",
39
41
  EX_DB_NETSUITE: "keboola.ex-db-netsuite",
40
42
  EX_DB_INFORMIX: "keboola.ex-db-informix",
@@ -135,4 +137,4 @@ const ComponentId = {
135
137
  };
136
138
  export { ComponentId as t };
137
139
 
138
- //# sourceMappingURL=componentId-Cps6WBy1.js.map
140
+ //# sourceMappingURL=componentId-Ba4gsJ9O.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentId-Ba4gsJ9O.js","names":[],"sources":["../src/constants/componentId.ts"],"sourcesContent":["export const ComponentId = {\n WR_DB_MYSQL: 'keboola.wr-db-mysql',\n WR_DB_PGSQL: 'keboola.wr-db-pgsql',\n WR_DB_ORACLE: 'keboola.wr-db-oracle',\n WR_DB_ORACLE_ADW: 'keboola.wr-db-oracle-adw',\n WR_DB_SNOWFLAKE: 'keboola.wr-db-snowflake',\n WR_DB_SNOWFLAKE_GCS: 'keboola.wr-db-snowflake-gcs',\n WR_DB_SNOWFLAKE_GCS_S3: 'keboola.wr-db-snowflake-gcs-s3',\n WR_SNOWFLAKE_BLOB_STORAGE: 'keboola.wr-snowflake-blob-storage',\n WR_LOOKER_V2: 'keboola.wr-looker-v2',\n APP_DATA_GATEWAY: 'keboola.app-data-gateway',\n WR_SYNAPSE: 'keboola.wr-synapse',\n WR_REDSHIFT: 'keboola.wr-redshift-v2',\n WR_DB_MSSQL: 'keboola.wr-db-mssql-v2',\n WR_DB_HIVE: 'keboola.wr-db-hive',\n WR_DB_IMPALA: 'keboola.wr-db-impala',\n WR_PAIRITY: 'kds-team.wr-pairity',\n WR_EXASOL: 'kds-team.wr-exasol',\n WR_FIREBOLT: 'kds-team.wr-firebolt',\n WR_HIVE_CSAS: 'kds-team.wr-hive-csas',\n WR_THOUGHTSPOT: 'keboola.wr-thoughtspot',\n WR_SISENSE: 'keboola.wr-sisense',\n WR_AWS_S3: 'keboola.wr-aws-s3',\n WR_STORAGE: 'keboola.wr-storage',\n WR_GOOGLE_BIGQUERY_V2: 'keboola.wr-google-bigquery-v2',\n SCHEDULER: 'keboola.scheduler',\n\n // App-specific writers (bespoke credential blocks)\n APP_SNOWFLAKE_DWH_MANAGER: 'keboola.app-snowflake-dwh-manager',\n GOODDATA_WRITER: 'keboola.gooddata-writer',\n\n // DB extractors (ex-db-generic family)\n EX_DB_MYSQL: 'keboola.ex-db-mysql',\n EX_DB_PGSQL: 'keboola.ex-db-pgsql',\n EX_DB_REDSHIFT: 'keboola.ex-db-redshift',\n EX_DB_FIREBIRD: 'keboola.ex-db-firebird',\n EX_DB_DB2: 'keboola.ex-db-db2',\n EX_DB_DB2_BATA: 'keboola.ex-db-db2-bata',\n EX_DB_MSSQL: 'keboola.ex-db-mssql',\n EX_DB_MSSQL_CDATA: 'keboola.ex-db-mssql-cdata',\n EX_DB_ORACLE: 'keboola.ex-db-oracle',\n EX_DB_ORACLE_ADW: 'keboola.ex-db-oracle-adw',\n EX_DB_SNOWFLAKE: 'keboola.ex-db-snowflake',\n EX_DB_NETSUITE: 'keboola.ex-db-netsuite',\n EX_DB_INFORMIX: 'keboola.ex-db-informix',\n EX_DB_IMPALA: 'keboola.ex-db-impala',\n EX_DB_HIVE: 'keboola.ex-db-hive',\n EX_DB_HIVE_CSAS: 'keboola.ex-db-hive-csas',\n EX_DB_HIVE_CSAS_TEST: 'keboola.ex-db-hive-csas-test',\n EX_TERADATA: 'keboola.ex-teradata',\n KDS_EX_NETSUITE: 'kds-team.ex-netsuite',\n KDS_EX_PROGRESS_DB: 'kds-team.ex-progress-db',\n\n // Google (OAuth) components\n EX_GOOGLE_ADS: 'keboola.ex-google-ads',\n EX_GOOGLE_ANALYTICS_V4: 'keboola.ex-google-analytics-v4',\n WR_GOOGLE_DRIVE: 'keboola.wr-google-drive',\n WR_GOOGLE_SHEETS: 'keboola.wr-google-sheets',\n\n // Meta (OAuth) components\n EX_FACEBOOK: 'keboola.ex-facebook',\n EX_FACEBOOK_ADS: 'keboola.ex-facebook-ads',\n EX_FACEBOOK_ADS_V2: 'keboola.ex-facebook-ads-v2',\n EX_FACEBOOK_PAGES: 'keboola.ex-facebook-pages',\n EX_INSTAGRAM: 'keboola.ex-instagram',\n EX_INSTAGRAM_V2: 'keboola.ex-instagram-v2',\n\n // Microsoft OneDrive (OAuth) components\n EX_ONEDRIVE: 'keboola.ex-onedrive',\n WR_ONEDRIVE: 'keboola.wr-onedrive',\n\n // File/connection extractors (ex family, no shared credential base)\n EX_HTTP: 'keboola.ex-http',\n EX_FTP: 'keboola.ex-ftp',\n EX_FTP_CSAS: 'keboola.ex-ftp-csas',\n EX_EMAIL_ATTACHMENTS: 'keboola.ex-email-attachments',\n EX_AWS_S3: 'keboola.ex-aws-s3',\n KDS_EX_AZURE_BLOB_STORAGE_V2: 'kds-team.ex-azure-blob-storage-v2',\n KDS_EX_AZURE_DATA_LAKE_GEN2: 'kds-team.ex-azure-data-lake-gen2',\n APIFY: 'apify.apify',\n EX_GENERIC_V2: 'ex-generic-v2',\n EX_GOOGLE_BIGQUERY_V2: 'keboola.ex-google-bigquery-v2',\n EX_STORAGE: 'keboola.ex-storage',\n\n // Data-app family — a git repository lives under `parameters.dataApp.git`\n DATA_APPS: 'keboola.data-apps',\n SANDBOXES: 'keboola.sandboxes',\n\n // dbt transformations — a git repository lives under `parameters.git`\n DBT_TEST_CORE_KEY_PAIR: 'keboola-test.dbt-core-key-pair',\n DBT_TEST_REMOTE_SNOWFLAKE: 'keboola-test.dbt-remote-snowflake',\n DBT_TEST_TRANSFORMATION: 'keboola-test.dbt-transformation',\n DBT_TRANSFORMATION: 'keboola.dbt-transformation',\n DBT_TRANSFORMATION_LOCAL_BIGQUERY: 'keboola.dbt-transformation-local-bigquery',\n DBT_TRANSFORMATION_REMOTE_BIGQUERY: 'keboola.dbt-transformation-remote-bigquery',\n DBT_TRANSFORMATION_REMOTE_MSSQL: 'keboola.dbt-transformation-remote-mssql',\n DBT_TRANSFORMATION_REMOTE_POSTGRESQL: 'keboola.dbt-transformation-remote-postgresql',\n DBT_TRANSFORMATION_REMOTE_REDSHIFT: 'keboola.dbt-transformation-remote-redshift',\n DBT_TRANSFORMATION_REMOTE_SNOWFLAKE: 'keboola.dbt-transformation-remote-snowflake',\n\n APP_CONFIGURATION_MIGRATION_TOOL: 'keboola.app-configuration-migration-tool',\n FLOW_MIGRATION_TOOL: 'keboola.flow-migration-tool',\n\n // Utility components, called only for their sync actions\n SSH_KEYGEN_V2: 'keboola.ssh-keygen-v2',\n\n // Transformations\n LEGACY_TRANSFORMATION: 'keboola.legacy-transformation',\n SNOWFLAKE_TRANSFORMATION: 'keboola.snowflake-transformation',\n PYTHON_TRANSFORMATION_V2: 'keboola.python-transformation-v2',\n CSAS_PYTHON_TRANSFORMATION_V2: 'keboola.csas-python-transformation-v2',\n R_TRANSFORMATION_V2: 'keboola.r-transformation-v2',\n GOOGLE_BIGQUERY_TRANSFORMATION: 'keboola.google-bigquery-transformation',\n DUCKDB_TRANSFORMATION: 'keboola.duckdb-transformation',\n ORACLE_TRANSFORMATION: 'keboola.oracle-transformation',\n\n // Processors\n PROCESSOR_SPLIT_TABLE: 'keboola.processor-split-table',\n PROCESSOR_ADD_FILENAME_COLUMN: 'keboola.processor-add-filename-column',\n PROCESSOR_ADD_ROW_NUMBER_COLUMN: 'keboola.processor-add-row-number-column',\n PROCESSOR_CREATE_MANIFEST: 'keboola.processor-create-manifest',\n PROCESSOR_DECOMPRESS: 'keboola.processor-decompress',\n PROCESSOR_FLATTEN_FOLDERS: 'keboola.processor-flatten-folders',\n PROCESSOR_MOVE_FILES: 'keboola.processor-move-files',\n PROCESSOR_SKIP_LINES: 'keboola.processor-skip-lines',\n KDS_PROCESSOR_CSV2XLS: 'kds-team.processor-csv2xls',\n KDS_PROCESSOR_CREATE_FILE_MANIFEST: 'kds-team.processor-create-file-manifest',\n KDS_PROCESSOR_CONVERT_COLUMN_CASE: 'kds-team.processor-convert-column-case',\n\n // Platform components\n FLOW: 'keboola.flow',\n ORCHESTRATOR: 'keboola.orchestrator',\n STORAGE: 'keboola.storage', // component to get icon and name\n VARIABLES: 'keboola.variables',\n SHARED_CODE: 'keboola.shared-code',\n DATA_APP_CONTROL: 'keboola.data-app-control',\n MCP_SERVER_TOOL: 'keboola.mcp-server-tool',\n PROJECT_BACKUP: 'keboola.project-backup',\n KEBOOLA_AS_CODE: 'keboola.keboola-as-code',\n APP_MERGE_BRANCH_STORAGE: 'keboola.app-merge-branch-storage',\n SAPI_MERGED_EXPORT: 'keboola.sapi-merged-export',\n SLICED_FILES_DOWNLOADER: 'keboola.sliced-files-downloader',\n CSV_IMPORT: 'keboola.csv-import',\n EX_SAMPLE_DATA: 'keboola.ex-sample-data',\n\n // Other components\n EX_GOOGLE_DRIVE: 'keboola.ex-google-drive',\n EX_GOOGLE_BIGQUERY_V2_AVRO_FILES: 'keboola.ex-google-bigquery-v2-avro-files',\n EX_GMAIL: 'keboola.ex-gmail',\n EX_MONGODB: 'keboola.ex-mongodb',\n EX_SNOWFLAKE_QUERY_HISTORY: 'keboola.ex-snowflake-query-history',\n EX_SNOWFLAKE_PARAMETERS: 'keboola.ex-snowflake-parameters',\n APAC_EX_GMAIL_ATTACHMENTS: 'apac.ex-gmail-attachments',\n GENEEA_NLP_ANALYSIS_V2: 'geneea.nlp-analysis-v2',\n KDS_APP_CUSTOM_PYTHON: 'kds-team.app-custom-python',\n KDS_EX_DV360: 'kds-team.ex-dv360',\n KDS_EX_YOUTUBE_ANALYTICS: 'kds-team.ex-youtube-analytics',\n KDS_EX_AWS_COST_AND_USAGE_REPORTS: 'kds-team.ex-aws-cost-and-usage-reports',\n KDS_EX_ZOHO: 'kds-team.ex-zoho',\n SMETRIC_EX_SIMPRO_API: 'smetric.ex-simpro-api',\n SMETRIC_EX_VEND_API: 'smetric.ex-vend-api',\n TDE_EXPORTER: 'tde-exporter',\n} as const;\n\nexport type ComponentId = (typeof ComponentId)[keyof typeof ComponentId];\n"],"mappings":";AAAA,MAAa,cAAc;CACzB,aAAa;CACb,aAAa;CACb,cAAc;CACd,kBAAkB;CAClB,iBAAiB;CACjB,qBAAqB;CACrB,wBAAwB;CACxB,2BAA2B;CAC3B,cAAc;CACd,kBAAkB;CAClB,YAAY;CACZ,aAAa;CACb,aAAa;CACb,YAAY;CACZ,cAAc;CACd,YAAY;CACZ,WAAW;CACX,aAAa;CACb,cAAc;CACd,gBAAgB;CAChB,YAAY;CACZ,WAAW;CACX,YAAY;CACZ,uBAAuB;CACvB,WAAW;CAGX,2BAA2B;CAC3B,iBAAiB;CAGjB,aAAa;CACb,aAAa;CACb,gBAAgB;CAChB,gBAAgB;CAChB,WAAW;CACX,gBAAgB;CAChB,aAAa;CACb,mBAAmB;CACnB,cAAc;CACd,kBAAkB;CAClB,iBAAiB;CACjB,gBAAgB;CAChB,gBAAgB;CAChB,cAAc;CACd,YAAY;CACZ,iBAAiB;CACjB,sBAAsB;CACtB,aAAa;CACb,iBAAiB;CACjB,oBAAoB;CAGpB,eAAe;CACf,wBAAwB;CACxB,iBAAiB;CACjB,kBAAkB;CAGlB,aAAa;CACb,iBAAiB;CACjB,oBAAoB;CACpB,mBAAmB;CACnB,cAAc;CACd,iBAAiB;CAGjB,aAAa;CACb,aAAa;CAGb,SAAS;CACT,QAAQ;CACR,aAAa;CACb,sBAAsB;CACtB,WAAW;CACX,8BAA8B;CAC9B,6BAA6B;CAC7B,OAAO;CACP,eAAe;CACf,uBAAuB;CACvB,YAAY;CAGZ,WAAW;CACX,WAAW;CAGX,wBAAwB;CACxB,2BAA2B;CAC3B,yBAAyB;CACzB,oBAAoB;CACpB,mCAAmC;CACnC,oCAAoC;CACpC,iCAAiC;CACjC,sCAAsC;CACtC,oCAAoC;CACpC,qCAAqC;CAErC,kCAAkC;CAClC,qBAAqB;CAGrB,eAAe;CAGf,uBAAuB;CACvB,0BAA0B;CAC1B,0BAA0B;CAC1B,+BAA+B;CAC/B,qBAAqB;CACrB,gCAAgC;CAChC,uBAAuB;CACvB,uBAAuB;CAGvB,uBAAuB;CACvB,+BAA+B;CAC/B,iCAAiC;CACjC,2BAA2B;CAC3B,sBAAsB;CACtB,2BAA2B;CAC3B,sBAAsB;CACtB,sBAAsB;CACtB,uBAAuB;CACvB,oCAAoC;CACpC,mCAAmC;CAGnC,MAAM;CACN,cAAc;CACd,SAAS;CACT,WAAW;CACX,aAAa;CACb,kBAAkB;CAClB,iBAAiB;CACjB,gBAAgB;CAChB,iBAAiB;CACjB,0BAA0B;CAC1B,oBAAoB;CACpB,yBAAyB;CACzB,YAAY;CACZ,gBAAgB;CAGhB,iBAAiB;CACjB,kCAAkC;CAClC,UAAU;CACV,YAAY;CACZ,4BAA4B;CAC5B,yBAAyB;CACzB,2BAA2B;CAC3B,wBAAwB;CACxB,uBAAuB;CACvB,cAAc;CACd,0BAA0B;CAC1B,mCAAmC;CACnC,aAAa;CACb,uBAAuB;CACvB,qBAAqB;CACrB,cAAc;AAChB"}
@@ -3,6 +3,7 @@ const ComponentId = {
3
3
  WR_DB_MYSQL: "keboola.wr-db-mysql",
4
4
  WR_DB_PGSQL: "keboola.wr-db-pgsql",
5
5
  WR_DB_ORACLE: "keboola.wr-db-oracle",
6
+ WR_DB_ORACLE_ADW: "keboola.wr-db-oracle-adw",
6
7
  WR_DB_SNOWFLAKE: "keboola.wr-db-snowflake",
7
8
  WR_DB_SNOWFLAKE_GCS: "keboola.wr-db-snowflake-gcs",
8
9
  WR_DB_SNOWFLAKE_GCS_S3: "keboola.wr-db-snowflake-gcs-s3",
@@ -35,6 +36,7 @@ const ComponentId = {
35
36
  EX_DB_MSSQL: "keboola.ex-db-mssql",
36
37
  EX_DB_MSSQL_CDATA: "keboola.ex-db-mssql-cdata",
37
38
  EX_DB_ORACLE: "keboola.ex-db-oracle",
39
+ EX_DB_ORACLE_ADW: "keboola.ex-db-oracle-adw",
38
40
  EX_DB_SNOWFLAKE: "keboola.ex-db-snowflake",
39
41
  EX_DB_NETSUITE: "keboola.ex-db-netsuite",
40
42
  EX_DB_INFORMIX: "keboola.ex-db-informix",
@@ -140,4 +142,4 @@ Object.defineProperty(exports, "ComponentId", {
140
142
  }
141
143
  });
142
144
 
143
- //# sourceMappingURL=componentId-_tRhEv6W.cjs.map
145
+ //# sourceMappingURL=componentId-Ba_1Gv_A.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentId-Ba_1Gv_A.cjs","names":[],"sources":["../src/constants/componentId.ts"],"sourcesContent":["export const ComponentId = {\n WR_DB_MYSQL: 'keboola.wr-db-mysql',\n WR_DB_PGSQL: 'keboola.wr-db-pgsql',\n WR_DB_ORACLE: 'keboola.wr-db-oracle',\n WR_DB_ORACLE_ADW: 'keboola.wr-db-oracle-adw',\n WR_DB_SNOWFLAKE: 'keboola.wr-db-snowflake',\n WR_DB_SNOWFLAKE_GCS: 'keboola.wr-db-snowflake-gcs',\n WR_DB_SNOWFLAKE_GCS_S3: 'keboola.wr-db-snowflake-gcs-s3',\n WR_SNOWFLAKE_BLOB_STORAGE: 'keboola.wr-snowflake-blob-storage',\n WR_LOOKER_V2: 'keboola.wr-looker-v2',\n APP_DATA_GATEWAY: 'keboola.app-data-gateway',\n WR_SYNAPSE: 'keboola.wr-synapse',\n WR_REDSHIFT: 'keboola.wr-redshift-v2',\n WR_DB_MSSQL: 'keboola.wr-db-mssql-v2',\n WR_DB_HIVE: 'keboola.wr-db-hive',\n WR_DB_IMPALA: 'keboola.wr-db-impala',\n WR_PAIRITY: 'kds-team.wr-pairity',\n WR_EXASOL: 'kds-team.wr-exasol',\n WR_FIREBOLT: 'kds-team.wr-firebolt',\n WR_HIVE_CSAS: 'kds-team.wr-hive-csas',\n WR_THOUGHTSPOT: 'keboola.wr-thoughtspot',\n WR_SISENSE: 'keboola.wr-sisense',\n WR_AWS_S3: 'keboola.wr-aws-s3',\n WR_STORAGE: 'keboola.wr-storage',\n WR_GOOGLE_BIGQUERY_V2: 'keboola.wr-google-bigquery-v2',\n SCHEDULER: 'keboola.scheduler',\n\n // App-specific writers (bespoke credential blocks)\n APP_SNOWFLAKE_DWH_MANAGER: 'keboola.app-snowflake-dwh-manager',\n GOODDATA_WRITER: 'keboola.gooddata-writer',\n\n // DB extractors (ex-db-generic family)\n EX_DB_MYSQL: 'keboola.ex-db-mysql',\n EX_DB_PGSQL: 'keboola.ex-db-pgsql',\n EX_DB_REDSHIFT: 'keboola.ex-db-redshift',\n EX_DB_FIREBIRD: 'keboola.ex-db-firebird',\n EX_DB_DB2: 'keboola.ex-db-db2',\n EX_DB_DB2_BATA: 'keboola.ex-db-db2-bata',\n EX_DB_MSSQL: 'keboola.ex-db-mssql',\n EX_DB_MSSQL_CDATA: 'keboola.ex-db-mssql-cdata',\n EX_DB_ORACLE: 'keboola.ex-db-oracle',\n EX_DB_ORACLE_ADW: 'keboola.ex-db-oracle-adw',\n EX_DB_SNOWFLAKE: 'keboola.ex-db-snowflake',\n EX_DB_NETSUITE: 'keboola.ex-db-netsuite',\n EX_DB_INFORMIX: 'keboola.ex-db-informix',\n EX_DB_IMPALA: 'keboola.ex-db-impala',\n EX_DB_HIVE: 'keboola.ex-db-hive',\n EX_DB_HIVE_CSAS: 'keboola.ex-db-hive-csas',\n EX_DB_HIVE_CSAS_TEST: 'keboola.ex-db-hive-csas-test',\n EX_TERADATA: 'keboola.ex-teradata',\n KDS_EX_NETSUITE: 'kds-team.ex-netsuite',\n KDS_EX_PROGRESS_DB: 'kds-team.ex-progress-db',\n\n // Google (OAuth) components\n EX_GOOGLE_ADS: 'keboola.ex-google-ads',\n EX_GOOGLE_ANALYTICS_V4: 'keboola.ex-google-analytics-v4',\n WR_GOOGLE_DRIVE: 'keboola.wr-google-drive',\n WR_GOOGLE_SHEETS: 'keboola.wr-google-sheets',\n\n // Meta (OAuth) components\n EX_FACEBOOK: 'keboola.ex-facebook',\n EX_FACEBOOK_ADS: 'keboola.ex-facebook-ads',\n EX_FACEBOOK_ADS_V2: 'keboola.ex-facebook-ads-v2',\n EX_FACEBOOK_PAGES: 'keboola.ex-facebook-pages',\n EX_INSTAGRAM: 'keboola.ex-instagram',\n EX_INSTAGRAM_V2: 'keboola.ex-instagram-v2',\n\n // Microsoft OneDrive (OAuth) components\n EX_ONEDRIVE: 'keboola.ex-onedrive',\n WR_ONEDRIVE: 'keboola.wr-onedrive',\n\n // File/connection extractors (ex family, no shared credential base)\n EX_HTTP: 'keboola.ex-http',\n EX_FTP: 'keboola.ex-ftp',\n EX_FTP_CSAS: 'keboola.ex-ftp-csas',\n EX_EMAIL_ATTACHMENTS: 'keboola.ex-email-attachments',\n EX_AWS_S3: 'keboola.ex-aws-s3',\n KDS_EX_AZURE_BLOB_STORAGE_V2: 'kds-team.ex-azure-blob-storage-v2',\n KDS_EX_AZURE_DATA_LAKE_GEN2: 'kds-team.ex-azure-data-lake-gen2',\n APIFY: 'apify.apify',\n EX_GENERIC_V2: 'ex-generic-v2',\n EX_GOOGLE_BIGQUERY_V2: 'keboola.ex-google-bigquery-v2',\n EX_STORAGE: 'keboola.ex-storage',\n\n // Data-app family — a git repository lives under `parameters.dataApp.git`\n DATA_APPS: 'keboola.data-apps',\n SANDBOXES: 'keboola.sandboxes',\n\n // dbt transformations — a git repository lives under `parameters.git`\n DBT_TEST_CORE_KEY_PAIR: 'keboola-test.dbt-core-key-pair',\n DBT_TEST_REMOTE_SNOWFLAKE: 'keboola-test.dbt-remote-snowflake',\n DBT_TEST_TRANSFORMATION: 'keboola-test.dbt-transformation',\n DBT_TRANSFORMATION: 'keboola.dbt-transformation',\n DBT_TRANSFORMATION_LOCAL_BIGQUERY: 'keboola.dbt-transformation-local-bigquery',\n DBT_TRANSFORMATION_REMOTE_BIGQUERY: 'keboola.dbt-transformation-remote-bigquery',\n DBT_TRANSFORMATION_REMOTE_MSSQL: 'keboola.dbt-transformation-remote-mssql',\n DBT_TRANSFORMATION_REMOTE_POSTGRESQL: 'keboola.dbt-transformation-remote-postgresql',\n DBT_TRANSFORMATION_REMOTE_REDSHIFT: 'keboola.dbt-transformation-remote-redshift',\n DBT_TRANSFORMATION_REMOTE_SNOWFLAKE: 'keboola.dbt-transformation-remote-snowflake',\n\n APP_CONFIGURATION_MIGRATION_TOOL: 'keboola.app-configuration-migration-tool',\n FLOW_MIGRATION_TOOL: 'keboola.flow-migration-tool',\n\n // Utility components, called only for their sync actions\n SSH_KEYGEN_V2: 'keboola.ssh-keygen-v2',\n\n // Transformations\n LEGACY_TRANSFORMATION: 'keboola.legacy-transformation',\n SNOWFLAKE_TRANSFORMATION: 'keboola.snowflake-transformation',\n PYTHON_TRANSFORMATION_V2: 'keboola.python-transformation-v2',\n CSAS_PYTHON_TRANSFORMATION_V2: 'keboola.csas-python-transformation-v2',\n R_TRANSFORMATION_V2: 'keboola.r-transformation-v2',\n GOOGLE_BIGQUERY_TRANSFORMATION: 'keboola.google-bigquery-transformation',\n DUCKDB_TRANSFORMATION: 'keboola.duckdb-transformation',\n ORACLE_TRANSFORMATION: 'keboola.oracle-transformation',\n\n // Processors\n PROCESSOR_SPLIT_TABLE: 'keboola.processor-split-table',\n PROCESSOR_ADD_FILENAME_COLUMN: 'keboola.processor-add-filename-column',\n PROCESSOR_ADD_ROW_NUMBER_COLUMN: 'keboola.processor-add-row-number-column',\n PROCESSOR_CREATE_MANIFEST: 'keboola.processor-create-manifest',\n PROCESSOR_DECOMPRESS: 'keboola.processor-decompress',\n PROCESSOR_FLATTEN_FOLDERS: 'keboola.processor-flatten-folders',\n PROCESSOR_MOVE_FILES: 'keboola.processor-move-files',\n PROCESSOR_SKIP_LINES: 'keboola.processor-skip-lines',\n KDS_PROCESSOR_CSV2XLS: 'kds-team.processor-csv2xls',\n KDS_PROCESSOR_CREATE_FILE_MANIFEST: 'kds-team.processor-create-file-manifest',\n KDS_PROCESSOR_CONVERT_COLUMN_CASE: 'kds-team.processor-convert-column-case',\n\n // Platform components\n FLOW: 'keboola.flow',\n ORCHESTRATOR: 'keboola.orchestrator',\n STORAGE: 'keboola.storage', // component to get icon and name\n VARIABLES: 'keboola.variables',\n SHARED_CODE: 'keboola.shared-code',\n DATA_APP_CONTROL: 'keboola.data-app-control',\n MCP_SERVER_TOOL: 'keboola.mcp-server-tool',\n PROJECT_BACKUP: 'keboola.project-backup',\n KEBOOLA_AS_CODE: 'keboola.keboola-as-code',\n APP_MERGE_BRANCH_STORAGE: 'keboola.app-merge-branch-storage',\n SAPI_MERGED_EXPORT: 'keboola.sapi-merged-export',\n SLICED_FILES_DOWNLOADER: 'keboola.sliced-files-downloader',\n CSV_IMPORT: 'keboola.csv-import',\n EX_SAMPLE_DATA: 'keboola.ex-sample-data',\n\n // Other components\n EX_GOOGLE_DRIVE: 'keboola.ex-google-drive',\n EX_GOOGLE_BIGQUERY_V2_AVRO_FILES: 'keboola.ex-google-bigquery-v2-avro-files',\n EX_GMAIL: 'keboola.ex-gmail',\n EX_MONGODB: 'keboola.ex-mongodb',\n EX_SNOWFLAKE_QUERY_HISTORY: 'keboola.ex-snowflake-query-history',\n EX_SNOWFLAKE_PARAMETERS: 'keboola.ex-snowflake-parameters',\n APAC_EX_GMAIL_ATTACHMENTS: 'apac.ex-gmail-attachments',\n GENEEA_NLP_ANALYSIS_V2: 'geneea.nlp-analysis-v2',\n KDS_APP_CUSTOM_PYTHON: 'kds-team.app-custom-python',\n KDS_EX_DV360: 'kds-team.ex-dv360',\n KDS_EX_YOUTUBE_ANALYTICS: 'kds-team.ex-youtube-analytics',\n KDS_EX_AWS_COST_AND_USAGE_REPORTS: 'kds-team.ex-aws-cost-and-usage-reports',\n KDS_EX_ZOHO: 'kds-team.ex-zoho',\n SMETRIC_EX_SIMPRO_API: 'smetric.ex-simpro-api',\n SMETRIC_EX_VEND_API: 'smetric.ex-vend-api',\n TDE_EXPORTER: 'tde-exporter',\n} as const;\n\nexport type ComponentId = (typeof ComponentId)[keyof typeof ComponentId];\n"],"mappings":";AAAA,MAAa,cAAc;CACzB,aAAa;CACb,aAAa;CACb,cAAc;CACd,kBAAkB;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C,2BAA2B;CAC3B,sBAAsB;CACtB,2BAA2B;CAC3B,sBAAsB;CACtB,sBAAsB;CACtB,uBAAuB;CACvB,oCAAoC;CACpC,mCAAmC;CAGnC,MAAM;CACN,cAAc;CACd,SAAS;CACT,WAAW;CACX,aAAa;CACb,kBAAkB;CAClB,iBAAiB;CACjB,gBAAgB;CAChB,iBAAiB;CACjB,0BAA0B;CAC1B,oBAAoB;CACpB,yBAAyB;CACzB,YAAY;CACZ,gBAAgB;CAGhB,iBAAiB;CACjB,kCAAkC;CAClC,UAAU;CACV,YAAY;CACZ,4BAA4B;CAC5B,yBAAyB;CACzB,2BAA2B;CAC3B,wBAAwB;CACxB,uBAAuB;CACvB,cAAc;CACd,0BAA0B;CAC1B,mCAAmC;CACnC,aAAa;CACb,uBAAuB;CACvB,qBAAqB;CACrB,cAAc;AAChB"}
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_serviceIds = require("../serviceIds-Bg1pWiPE.cjs");
3
- const require_componentId = require("../componentId-_tRhEv6W.cjs");
4
- const require_constants = require("../constants-Day8CU5i.cjs");
3
+ const require_componentId = require("../componentId-Ba_1Gv_A.cjs");
4
+ const require_constants = require("../constants-V9hAyPTo.cjs");
5
5
  const require_adminRoles = require("../adminRoles-DnFpO_2W.cjs");
6
6
  exports.AdminFeature = require_constants.AdminFeature;
7
7
  exports.AdminRole = require_adminRoles.AdminRole;
@@ -10,6 +10,7 @@ exports.ComponentId = require_componentId.ComponentId;
10
10
  exports.Continent = require_constants.Continent;
11
11
  exports.ManageErrorCode = require_constants.ManageErrorCode;
12
12
  exports.ProjectFeature = require_constants.ProjectFeature;
13
+ exports.ProjectMetric = require_constants.ProjectMetric;
13
14
  exports.Provider = require_constants.Provider;
14
15
  exports.STACKS = require_constants.STACKS;
15
16
  exports.ServiceId = require_serviceIds.ServiceId;
@@ -1,5 +1,5 @@
1
1
  import { ai as ManageErrorCode } from "../index-FrsEkDvX.cjs";
2
- import { a as STACKS, c as ProjectFeature, i as Provider, l as ComponentId, n as Continent, o as AdminFeature, r as KeboolaStack, s as StackFeature, t as URLS, u as ServiceId } from "../index-Cd0naVic.cjs";
2
+ import { a as STACKS, c as ProjectMetric, d as ServiceId, i as Provider, l as ProjectFeature, n as Continent, o as AdminFeature, r as KeboolaStack, s as StackFeature, t as URLS, u as ComponentId } from "../index-CYk7Aa8u.cjs";
3
3
  import { t as AdminRole } from "../adminRoles-BTKVwEy8.cjs";
4
4
  import { t as Backend } from "../backends-BHotIdL0.cjs";
5
- export { AdminFeature, AdminRole, Backend, ComponentId, Continent, type KeboolaStack, ManageErrorCode, ProjectFeature, Provider, STACKS, ServiceId, StackFeature, URLS };
5
+ export { AdminFeature, AdminRole, Backend, ComponentId, Continent, type KeboolaStack, ManageErrorCode, ProjectFeature, ProjectMetric, Provider, STACKS, ServiceId, StackFeature, URLS };
@@ -1,5 +1,5 @@
1
1
  import { ai as ManageErrorCode } from "../index-FrsEkDvX.js";
2
- import { a as STACKS, c as ProjectFeature, i as Provider, l as ComponentId, n as Continent, o as AdminFeature, r as KeboolaStack, s as StackFeature, t as URLS, u as ServiceId } from "../index-DbStyQKc.js";
2
+ import { a as STACKS, c as ProjectMetric, d as ServiceId, i as Provider, l as ProjectFeature, n as Continent, o as AdminFeature, r as KeboolaStack, s as StackFeature, t as URLS, u as ComponentId } from "../index-D3hWR_e4.js";
3
3
  import { t as AdminRole } from "../adminRoles-Cm513r1G.js";
4
4
  import { t as Backend } from "../backends-BHotIdL0.js";
5
- export { AdminFeature, AdminRole, Backend, ComponentId, Continent, type KeboolaStack, ManageErrorCode, ProjectFeature, Provider, STACKS, ServiceId, StackFeature, URLS };
5
+ export { AdminFeature, AdminRole, Backend, ComponentId, Continent, type KeboolaStack, ManageErrorCode, ProjectFeature, ProjectMetric, Provider, STACKS, ServiceId, StackFeature, URLS };
@@ -1,5 +1,5 @@
1
1
  import { t as ServiceId } from "../serviceIds-RAVtP4nK.js";
2
- import { t as ComponentId } from "../componentId-Cps6WBy1.js";
3
- import { a as Backend, c as ProjectFeature, i as STACKS, l as ManageErrorCode, n as Continent, o as AdminFeature, r as Provider, s as StackFeature, t as URLS } from "../constants-DLPkpnGv.js";
2
+ import { t as ComponentId } from "../componentId-Ba4gsJ9O.js";
3
+ import { a as Backend, c as ProjectMetric, i as STACKS, l as ProjectFeature, n as Continent, o as AdminFeature, r as Provider, s as StackFeature, t as URLS, u as ManageErrorCode } from "../constants-HccvU5kx.js";
4
4
  import { t as AdminRole } from "../adminRoles-asa-MhDD.js";
5
- export { AdminFeature, AdminRole, Backend, ComponentId, Continent, ManageErrorCode, ProjectFeature, Provider, STACKS, ServiceId, StackFeature, URLS };
5
+ export { AdminFeature, AdminRole, Backend, ComponentId, Continent, ManageErrorCode, ProjectFeature, ProjectMetric, Provider, STACKS, ServiceId, StackFeature, URLS };
@@ -51,6 +51,13 @@ const ProjectFeature = {
51
51
  DataAppsDisabled: "data-apps-disabled",
52
52
  RowLevelSecurity: "row-level-security"
53
53
  };
54
+ // src/constants/projectMetrics.ts
55
+ /** The metrics Connection snapshots for every project; the keys of a project's `metrics`. */
56
+ const ProjectMetric = {
57
+ AdminsCount: "kbc.adminsCount",
58
+ DataSizeBytes: "storage.dataSizeBytes",
59
+ RowsCount: "storage.rowsCount"
60
+ };
54
61
  // src/constants/stackFeatures.ts
55
62
  const StackFeature = {
56
63
  SingleTenant: "single-tenant",
@@ -267,6 +274,6 @@ const URLS = {
267
274
  CLIENT_MAKE_GET_STARTED: "https://help.make.com/get-started",
268
275
  CLIENT_DEVIN_DESKTOP: "https://docs.devin.ai/desktop/getting-started"
269
276
  };
270
- export { Backend as a, ProjectFeature as c, STACKS as i, ManageErrorCode as l, Continent as n, AdminFeature as o, Provider as r, StackFeature as s, URLS as t };
277
+ export { Backend as a, ProjectMetric as c, STACKS as i, ProjectFeature as l, Continent as n, AdminFeature as o, Provider as r, StackFeature as s, URLS as t, ManageErrorCode as u };
271
278
 
272
- //# sourceMappingURL=constants-DLPkpnGv.js.map
279
+ //# sourceMappingURL=constants-HccvU5kx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants-HccvU5kx.js","names":[],"sources":["../src/constants/manageErrorCodes.ts","../src/constants/projectFeatures.ts","../src/constants/projectMetrics.ts","../src/constants/stackFeatures.ts","../src/constants/adminFeatures.ts","../src/constants/backends.ts","../src/constants/stacks.ts","../src/constants/index.ts"],"sourcesContent":["export const ManageErrorCode = {\n ProgrammaticProjectInvalidClaim: 'manage.programmaticProjects.invalidClaim',\n ProgrammaticProjectRateLimited: 'manage.programmaticProjects.rateLimited',\n ProgrammaticProjectProvisioningFailed: 'manage.programmaticProjects.provisioningFailed',\n} as const;\n\nexport type ManageErrorCode = (typeof ManageErrorCode)[keyof typeof ManageErrorCode];\n","export const ProjectFeature = {\n SandboxesPythonSpark: 'sandboxes-python-spark',\n GcpMarketplaceByodb: 'gcp-marketplace-byodb',\n GcpMarketplaceByodbEmpty: 'gcp-marketplace-byodb-empty',\n FrontendLogin: 'frontend-login',\n ComponentsMcp: 'ai-components-mcp',\n PayAsYouGo: 'pay-as-you-go',\n ShowVault: 'show-vault',\n DeprecatedGoogleDriveTranspose: 'deprecated-google-drive-transpose',\n SandboxesPersistentVolume: 'sandboxes-persistent-volume',\n WorkspaceSnowflakeDynamicBackendSize: 'workspace-snowflake-dynamic-backend-size',\n DynamicBackendJobs: 'dynamic-backend-jobs',\n HasSimplifiedComponents: 'has-simplified-components',\n FlowMigration: 'flow-migration',\n FlowMigrationBatch1: 'flow-migration-batch1',\n FlowMigrationBatch2: 'flow-migration-batch2',\n FlowMigrationBatch3: 'flow-migration-batch3',\n OracleTransformations: 'oracle-transformations',\n ExternalBuckets: 'external-buckets',\n InputMappingReadOnlyStorage: 'input-mapping-read-only-storage',\n Artifacts: 'artifacts',\n SnowflakePartnerConnect: 'snowflake-partner-connect',\n SnowflakePartnerConnectLimited: 'snowflake-partner-connect-limited',\n NewNativeTypes: 'new-native-types',\n DisableLegacyBucketPrefix: 'disable-legacy-bucket-prefix',\n SoxProtectedDefaultBranch: 'protected-default-branch',\n StorageBranches: 'storage-branches',\n DataStreams: 'data-streams',\n AiLineage: 'ai-lineage',\n AiComponentSuggestion: 'ai-component-suggestion',\n AgentChat: 'agent-chat',\n AgentChatUseKaiAgentUrl: 'agent-chat-use-kai-agent-url',\n AgentChatModelTiers: 'agent-chat-model-tiers',\n BucketExposure: 'bucket-exposure',\n WebMcp: 'webmcp',\n SnowflakeRegisterExternalSecureDataShare: 'snowflake-register-external-secure-data-share',\n DirectGrantOutputMapping: 'direct-grant-output-mapping',\n EditorWithoutReadOnlyStorage: 'editor-without-read-only-storage',\n BranchesMergeRequests: 'branches-merge-requests',\n DenyExternalDatasetInputMapping: 'deny-external-dataset-input-mapping',\n AllowSharedSnowflakeAccess: 'allow-shared-snowflake-access',\n BigqueryDefaultImView: 'bigquery-default-im-view',\n BigqueryPolicyTags: 'bigquery-policy-tags',\n DataAppsDisabled: 'data-apps-disabled',\n RowLevelSecurity: 'row-level-security',\n} as const;\n\nexport type ProjectFeature = (typeof ProjectFeature)[keyof typeof ProjectFeature];\n","/** The metrics Connection snapshots for every project; the keys of a project's `metrics`. */\nexport const ProjectMetric = {\n AdminsCount: 'kbc.adminsCount',\n DataSizeBytes: 'storage.dataSizeBytes',\n RowsCount: 'storage.rowsCount',\n} as const;\n\nexport type ProjectMetric = (typeof ProjectMetric)[keyof typeof ProjectMetric];\n","export const StackFeature = {\n SingleTenant: 'single-tenant',\n CanaryStack: 'canary-stack',\n DisableJuliaAndR: 'disable-julia-and-r',\n SamlRoles: 'saml-roles',\n NewOauthService: 'new-oauth-service-enabled',\n DataAppsEnforceAuth: 'data-apps-enforce-auth',\n AllowAi: 'allow-ai',\n UserWorkspaceDynamicBackendEnabled: 'user-workspace-dynamic-backend-enabled',\n McpEnabled: 'mcp-enabled',\n KaiEnabled: 'kai-enabled',\n AgentProvisioning: 'agent-provisioning',\n SandboxesPythonSpark: 'sandboxes-python-spark',\n} as const;\n\nexport type StackFeature = (typeof StackFeature)[keyof typeof StackFeature];\n","export const AdminFeature = {\n DisableAutosavingInFlows: 'disable-autosaving-in-flows',\n CanUpdateProjectSettings: 'can-update-project-settings',\n CanManageFeatures: 'can-manage-features',\n CanManageUsers: 'can-manage-users',\n CanManageDeletedProjects: 'can-manage-deleted-projects',\n CanManageProjectLimits: 'can-manage-project-limits',\n CanManageMaintainers: 'can-manage-maintainers',\n CanDisableProjects: 'can-disable-projects',\n CanReactivateWorkspaces: 'can-reactivate-workspaces',\n PowerUser: 'power-user',\n MuteSoundNotifications: 'mute-sound-notifications',\n} as const;\n\nexport type AdminFeature = (typeof AdminFeature)[keyof typeof AdminFeature];\n","export const Backend = {\n Snowflake: 'snowflake',\n Bigquery: 'bigquery',\n} as const;\n\nexport type Backend = (typeof Backend)[keyof typeof Backend];\n","export const Provider = {\n Aws: 'aws',\n Azure: 'azure',\n Gcp: 'gcp',\n} as const;\n\nexport type Provider = (typeof Provider)[keyof typeof Provider];\n\nexport const Continent = {\n Us: 'us',\n Europe: 'europe',\n} as const;\n\nexport type Continent = (typeof Continent)[keyof typeof Continent];\n\nexport type KeboolaStack = {\n id: string;\n host: string;\n isSingleTenant?: boolean;\n isTesting?: boolean;\n isPayg?: boolean;\n provider?: Provider;\n continent?: Continent;\n region?: string;\n isCanary?: boolean;\n};\n\nconst stacks = {\n NORTH_EUROPE_AZURE: {\n id: 'com-keboola-azure-north-europe',\n region: 'north-europe',\n host: 'connection.north-europe.azure.keboola.com',\n provider: 'azure',\n continent: 'europe',\n isPayg: true,\n },\n EU_CENTRAL_1_AWS: {\n id: 'kbc-eu-central-1',\n region: 'eu-central-1',\n host: 'connection.eu-central-1.keboola.com',\n provider: 'aws',\n continent: 'europe',\n },\n US_EAST_1_AWS: {\n id: 'kbc-us-east-1',\n region: 'us-east-1',\n host: 'connection.keboola.com',\n provider: 'aws',\n continent: 'us',\n },\n EUROPE_WEST3_GCP: {\n id: 'com-keboola-gcp-europe-west3',\n region: 'europe-west3',\n host: 'connection.europe-west3.gcp.keboola.com',\n provider: 'gcp',\n continent: 'europe',\n },\n US_EAST_4_GCP: {\n id: 'com-keboola-gcp-us-east4',\n region: 'us-east4',\n host: 'connection.us-east4.gcp.keboola.com',\n provider: 'gcp',\n continent: 'us',\n isPayg: true,\n },\n\n /* PRIVATE SINGLE TENANT STACKS\n ---------------------------- */\n HCI: {\n id: 'cloud-keboola-hci',\n host: 'connection.hci.keboola.cloud',\n isSingleTenant: true,\n },\n CSAS_PROD: {\n id: 'cloud-keboola-cs',\n host: 'connection.cs.keboola.cloud',\n isSingleTenant: true,\n },\n CSAS_TEST: {\n id: 'cloud-keboola-cs-test',\n host: 'connection.cs-test.keboola.cloud',\n isSingleTenant: true,\n },\n INNOGY: {\n id: 'cloud-keboola-innogy-hub',\n host: 'connection.innogy-hub.keboola.cloud',\n isSingleTenant: true,\n },\n GROUPON: {\n id: 'cloud-keboola-groupon',\n host: 'connection.groupon.keboola.cloud',\n isSingleTenant: true,\n },\n CREDIT_INFO: {\n id: 'cloud-keboola-creditinfo',\n host: 'connection.creditinfo.keboola.cloud',\n isSingleTenant: true,\n },\n COATES: {\n id: 'cloud-keboola-coates',\n host: 'connection.coates.keboola.cloud',\n isSingleTenant: true,\n },\n SLSP: {\n id: 'cloud-keboola-slsp',\n host: 'connection.slsp.keboola.cloud',\n isSingleTenant: true,\n },\n HCKZ: {\n id: 'cloud-keboola-hckz',\n host: 'connection.hckz.keboola.cloud',\n isSingleTenant: true,\n },\n PASHA: {\n id: 'cloud-keboola-pasha',\n host: 'connection.pasha.keboola.cloud',\n isSingleTenant: true,\n },\n RBI: {\n id: 'cloud-keboola-rbi',\n host: 'connection.rbi.keboola.cloud',\n isSingleTenant: true,\n },\n NAH: {\n id: 'cloud-keboola-nah',\n host: 'connection.nah.keboola.cloud',\n isSingleTenant: true,\n provider: 'azure',\n continent: 'us',\n },\n\n /* DEV STACKS\n ---------------------------- */\n DEV_US_CENTRAL_1_GCP: {\n id: 'dev-keboola-gcp-us-central1',\n region: 'us-central1',\n host: 'connection.us-central1.gcp.keboola.dev',\n provider: 'gcp',\n continent: 'us',\n isTesting: true,\n },\n DEV_EU_WEST_1_AWS: {\n id: 'dev-keboola-aws-eu-west-1',\n region: 'eu-west-1',\n host: 'connection.eu-west-1.aws.keboola.dev',\n provider: 'aws',\n continent: 'europe',\n isTesting: true,\n },\n DEV_US_EAST_1_AWS_E2E: {\n id: 'dev-keboola-aws-us-east-1-e2e',\n region: 'us-east-1',\n host: 'connection.e2e.us-east-1.aws.keboola.dev',\n provider: 'aws',\n continent: 'us',\n isTesting: true,\n },\n DEV_US_EAST_2_AZURE: {\n id: 'kbc-testing-azure-east-us-2',\n region: 'east-us-2',\n host: 'connection.east-us-2.azure.keboola-testing.com',\n provider: 'azure',\n continent: 'us',\n isTesting: true,\n },\n DEV_KEBOOLA_CANARY_ORION: {\n id: 'dev-keboola-canary-orion',\n region: 'europe-west3',\n host: 'connection.canary-orion.keboola.dev',\n provider: 'gcp',\n continent: 'europe',\n isCanary: true,\n },\n} satisfies Record<string, Readonly<KeboolaStack>>;\n\n/**\n * Every stack the platform knows, keyed by name.\n *\n * - The key set is literal, so a name that is not in the object is a compile error at the call site\n * rather than an `undefined` to fall back from.\n * - The value type stays the uniform `KeboolaStack`, so `stack.isCanary` reads on any entry, not\n * only on the ones that carry the flag.\n */\nexport const STACKS: Record<keyof typeof stacks, Readonly<KeboolaStack>> = stacks;\n","export { ComponentId } from './componentId';\nexport { ManageErrorCode } from './manageErrorCodes';\nexport { ProjectFeature } from './projectFeatures';\nexport { ProjectMetric } from './projectMetrics';\nexport { StackFeature } from './stackFeatures';\nexport { AdminFeature } from './adminFeatures';\nexport { Backend } from './backends';\nexport { AdminRole } from './adminRoles';\nexport { ServiceId } from './serviceIds';\nexport { Continent, Provider, STACKS } from './stacks';\nexport type { KeboolaStack } from './stacks';\n\nexport const URLS = {\n USER_DOCUMENTATION: 'https://help.keboola.com',\n COMPONENTS: 'https://components.keboola.com',\n DEVELOPERS_DOCUMENTATION: 'https://developers.keboola.com',\n ACADEMY: 'https://academy.keboola.com',\n SALES_CONTACT_FORM: 'https://keboola.com/contact',\n SNOWFLAKE: 'https://www.snowflake.com',\n SNOWFLAKE_DOCS: 'https://docs.snowflake.com',\n MCP: 'https://www.keboola.com/mcp',\n CLI: 'https://www.keboola.com/cli',\n NODE_JS: 'https://nodejs.org/en',\n CLAUDE_CONNECTORS: 'https://claude.ai/customize/connectors',\n // Vendor \"how do I get this client\" pages linked from the connect surfaces.\n CLIENT_CLAUDE_CODE_QUICKSTART: 'https://code.claude.com/docs/en/quickstart',\n CLIENT_CLAUDE_AI: 'https://claude.ai',\n CLIENT_CLAUDE_DESKTOP_DOWNLOAD: 'https://claude.com/download',\n CLIENT_CURSOR_QUICKSTART: 'https://cursor.com/docs/get-started/quickstart',\n CLIENT_VS_CODE_SETUP: 'https://code.visualstudio.com/docs/setup/setup-overview',\n CLIENT_CODEX_QUICKSTART: 'https://developers.openai.com/codex/cli',\n CLIENT_CHATGPT_DOWNLOAD: 'https://chatgpt.com/download',\n CLIENT_MAKE_GET_STARTED: 'https://help.make.com/get-started',\n CLIENT_DEVIN_DESKTOP: 'https://docs.devin.ai/desktop/getting-started',\n} as const;\n"],"mappings":";AAAA,MAAa,kBAAkB;CAC7B,iCAAiC;CACjC,gCAAgC;CAChC,uCAAuC;AACzC;;ACJA,MAAa,iBAAiB;CAC5B,sBAAsB;CACtB,qBAAqB;CACrB,0BAA0B;CAC1B,eAAe;CACf,eAAe;CACf,YAAY;CACZ,WAAW;CACX,gCAAgC;CAChC,2BAA2B;CAC3B,sCAAsC;CACtC,oBAAoB;CACpB,yBAAyB;CACzB,eAAe;CACf,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,uBAAuB;CACvB,iBAAiB;CACjB,6BAA6B;CAC7B,WAAW;CACX,yBAAyB;CACzB,gCAAgC;CAChC,gBAAgB;CAChB,2BAA2B;CAC3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B;CAC1B,SAAS;CACT,oBAAoB;CACpB,WAAW;CACX,gBAAgB;CAChB,KAAK;CACL,KAAK;CACL,SAAS;CACT,mBAAmB;CAEnB,+BAA+B;CAC/B,kBAAkB;CAClB,gCAAgC;CAChC,0BAA0B;CAC1B,sBAAsB;CACtB,yBAAyB;CACzB,yBAAyB;CACzB,yBAAyB;CACzB,sBAAsB;AACxB"}
@@ -51,6 +51,13 @@ const ProjectFeature = {
51
51
  DataAppsDisabled: "data-apps-disabled",
52
52
  RowLevelSecurity: "row-level-security"
53
53
  };
54
+ // src/constants/projectMetrics.ts
55
+ /** The metrics Connection snapshots for every project; the keys of a project's `metrics`. */
56
+ const ProjectMetric = {
57
+ AdminsCount: "kbc.adminsCount",
58
+ DataSizeBytes: "storage.dataSizeBytes",
59
+ RowsCount: "storage.rowsCount"
60
+ };
54
61
  // src/constants/stackFeatures.ts
55
62
  const StackFeature = {
56
63
  SingleTenant: "single-tenant",
@@ -297,6 +304,12 @@ Object.defineProperty(exports, "ProjectFeature", {
297
304
  return ProjectFeature;
298
305
  }
299
306
  });
307
+ Object.defineProperty(exports, "ProjectMetric", {
308
+ enumerable: true,
309
+ get: function() {
310
+ return ProjectMetric;
311
+ }
312
+ });
300
313
  Object.defineProperty(exports, "Provider", {
301
314
  enumerable: true,
302
315
  get: function() {
@@ -322,4 +335,4 @@ Object.defineProperty(exports, "URLS", {
322
335
  }
323
336
  });
324
337
 
325
- //# sourceMappingURL=constants-Day8CU5i.cjs.map
338
+ //# sourceMappingURL=constants-V9hAyPTo.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants-V9hAyPTo.cjs","names":[],"sources":["../src/constants/manageErrorCodes.ts","../src/constants/projectFeatures.ts","../src/constants/projectMetrics.ts","../src/constants/stackFeatures.ts","../src/constants/adminFeatures.ts","../src/constants/backends.ts","../src/constants/stacks.ts","../src/constants/index.ts"],"sourcesContent":["export const ManageErrorCode = {\n ProgrammaticProjectInvalidClaim: 'manage.programmaticProjects.invalidClaim',\n ProgrammaticProjectRateLimited: 'manage.programmaticProjects.rateLimited',\n ProgrammaticProjectProvisioningFailed: 'manage.programmaticProjects.provisioningFailed',\n} as const;\n\nexport type ManageErrorCode = (typeof ManageErrorCode)[keyof typeof ManageErrorCode];\n","export const ProjectFeature = {\n SandboxesPythonSpark: 'sandboxes-python-spark',\n GcpMarketplaceByodb: 'gcp-marketplace-byodb',\n GcpMarketplaceByodbEmpty: 'gcp-marketplace-byodb-empty',\n FrontendLogin: 'frontend-login',\n ComponentsMcp: 'ai-components-mcp',\n PayAsYouGo: 'pay-as-you-go',\n ShowVault: 'show-vault',\n DeprecatedGoogleDriveTranspose: 'deprecated-google-drive-transpose',\n SandboxesPersistentVolume: 'sandboxes-persistent-volume',\n WorkspaceSnowflakeDynamicBackendSize: 'workspace-snowflake-dynamic-backend-size',\n DynamicBackendJobs: 'dynamic-backend-jobs',\n HasSimplifiedComponents: 'has-simplified-components',\n FlowMigration: 'flow-migration',\n FlowMigrationBatch1: 'flow-migration-batch1',\n FlowMigrationBatch2: 'flow-migration-batch2',\n FlowMigrationBatch3: 'flow-migration-batch3',\n OracleTransformations: 'oracle-transformations',\n ExternalBuckets: 'external-buckets',\n InputMappingReadOnlyStorage: 'input-mapping-read-only-storage',\n Artifacts: 'artifacts',\n SnowflakePartnerConnect: 'snowflake-partner-connect',\n SnowflakePartnerConnectLimited: 'snowflake-partner-connect-limited',\n NewNativeTypes: 'new-native-types',\n DisableLegacyBucketPrefix: 'disable-legacy-bucket-prefix',\n SoxProtectedDefaultBranch: 'protected-default-branch',\n StorageBranches: 'storage-branches',\n DataStreams: 'data-streams',\n AiLineage: 'ai-lineage',\n AiComponentSuggestion: 'ai-component-suggestion',\n AgentChat: 'agent-chat',\n AgentChatUseKaiAgentUrl: 'agent-chat-use-kai-agent-url',\n AgentChatModelTiers: 'agent-chat-model-tiers',\n BucketExposure: 'bucket-exposure',\n WebMcp: 'webmcp',\n SnowflakeRegisterExternalSecureDataShare: 'snowflake-register-external-secure-data-share',\n DirectGrantOutputMapping: 'direct-grant-output-mapping',\n EditorWithoutReadOnlyStorage: 'editor-without-read-only-storage',\n BranchesMergeRequests: 'branches-merge-requests',\n DenyExternalDatasetInputMapping: 'deny-external-dataset-input-mapping',\n AllowSharedSnowflakeAccess: 'allow-shared-snowflake-access',\n BigqueryDefaultImView: 'bigquery-default-im-view',\n BigqueryPolicyTags: 'bigquery-policy-tags',\n DataAppsDisabled: 'data-apps-disabled',\n RowLevelSecurity: 'row-level-security',\n} as const;\n\nexport type ProjectFeature = (typeof ProjectFeature)[keyof typeof ProjectFeature];\n","/** The metrics Connection snapshots for every project; the keys of a project's `metrics`. */\nexport const ProjectMetric = {\n AdminsCount: 'kbc.adminsCount',\n DataSizeBytes: 'storage.dataSizeBytes',\n RowsCount: 'storage.rowsCount',\n} as const;\n\nexport type ProjectMetric = (typeof ProjectMetric)[keyof typeof ProjectMetric];\n","export const StackFeature = {\n SingleTenant: 'single-tenant',\n CanaryStack: 'canary-stack',\n DisableJuliaAndR: 'disable-julia-and-r',\n SamlRoles: 'saml-roles',\n NewOauthService: 'new-oauth-service-enabled',\n DataAppsEnforceAuth: 'data-apps-enforce-auth',\n AllowAi: 'allow-ai',\n UserWorkspaceDynamicBackendEnabled: 'user-workspace-dynamic-backend-enabled',\n McpEnabled: 'mcp-enabled',\n KaiEnabled: 'kai-enabled',\n AgentProvisioning: 'agent-provisioning',\n SandboxesPythonSpark: 'sandboxes-python-spark',\n} as const;\n\nexport type StackFeature = (typeof StackFeature)[keyof typeof StackFeature];\n","export const AdminFeature = {\n DisableAutosavingInFlows: 'disable-autosaving-in-flows',\n CanUpdateProjectSettings: 'can-update-project-settings',\n CanManageFeatures: 'can-manage-features',\n CanManageUsers: 'can-manage-users',\n CanManageDeletedProjects: 'can-manage-deleted-projects',\n CanManageProjectLimits: 'can-manage-project-limits',\n CanManageMaintainers: 'can-manage-maintainers',\n CanDisableProjects: 'can-disable-projects',\n CanReactivateWorkspaces: 'can-reactivate-workspaces',\n PowerUser: 'power-user',\n MuteSoundNotifications: 'mute-sound-notifications',\n} as const;\n\nexport type AdminFeature = (typeof AdminFeature)[keyof typeof AdminFeature];\n","export const Backend = {\n Snowflake: 'snowflake',\n Bigquery: 'bigquery',\n} as const;\n\nexport type Backend = (typeof Backend)[keyof typeof Backend];\n","export const Provider = {\n Aws: 'aws',\n Azure: 'azure',\n Gcp: 'gcp',\n} as const;\n\nexport type Provider = (typeof Provider)[keyof typeof Provider];\n\nexport const Continent = {\n Us: 'us',\n Europe: 'europe',\n} as const;\n\nexport type Continent = (typeof Continent)[keyof typeof Continent];\n\nexport type KeboolaStack = {\n id: string;\n host: string;\n isSingleTenant?: boolean;\n isTesting?: boolean;\n isPayg?: boolean;\n provider?: Provider;\n continent?: Continent;\n region?: string;\n isCanary?: boolean;\n};\n\nconst stacks = {\n NORTH_EUROPE_AZURE: {\n id: 'com-keboola-azure-north-europe',\n region: 'north-europe',\n host: 'connection.north-europe.azure.keboola.com',\n provider: 'azure',\n continent: 'europe',\n isPayg: true,\n },\n EU_CENTRAL_1_AWS: {\n id: 'kbc-eu-central-1',\n region: 'eu-central-1',\n host: 'connection.eu-central-1.keboola.com',\n provider: 'aws',\n continent: 'europe',\n },\n US_EAST_1_AWS: {\n id: 'kbc-us-east-1',\n region: 'us-east-1',\n host: 'connection.keboola.com',\n provider: 'aws',\n continent: 'us',\n },\n EUROPE_WEST3_GCP: {\n id: 'com-keboola-gcp-europe-west3',\n region: 'europe-west3',\n host: 'connection.europe-west3.gcp.keboola.com',\n provider: 'gcp',\n continent: 'europe',\n },\n US_EAST_4_GCP: {\n id: 'com-keboola-gcp-us-east4',\n region: 'us-east4',\n host: 'connection.us-east4.gcp.keboola.com',\n provider: 'gcp',\n continent: 'us',\n isPayg: true,\n },\n\n /* PRIVATE SINGLE TENANT STACKS\n ---------------------------- */\n HCI: {\n id: 'cloud-keboola-hci',\n host: 'connection.hci.keboola.cloud',\n isSingleTenant: true,\n },\n CSAS_PROD: {\n id: 'cloud-keboola-cs',\n host: 'connection.cs.keboola.cloud',\n isSingleTenant: true,\n },\n CSAS_TEST: {\n id: 'cloud-keboola-cs-test',\n host: 'connection.cs-test.keboola.cloud',\n isSingleTenant: true,\n },\n INNOGY: {\n id: 'cloud-keboola-innogy-hub',\n host: 'connection.innogy-hub.keboola.cloud',\n isSingleTenant: true,\n },\n GROUPON: {\n id: 'cloud-keboola-groupon',\n host: 'connection.groupon.keboola.cloud',\n isSingleTenant: true,\n },\n CREDIT_INFO: {\n id: 'cloud-keboola-creditinfo',\n host: 'connection.creditinfo.keboola.cloud',\n isSingleTenant: true,\n },\n COATES: {\n id: 'cloud-keboola-coates',\n host: 'connection.coates.keboola.cloud',\n isSingleTenant: true,\n },\n SLSP: {\n id: 'cloud-keboola-slsp',\n host: 'connection.slsp.keboola.cloud',\n isSingleTenant: true,\n },\n HCKZ: {\n id: 'cloud-keboola-hckz',\n host: 'connection.hckz.keboola.cloud',\n isSingleTenant: true,\n },\n PASHA: {\n id: 'cloud-keboola-pasha',\n host: 'connection.pasha.keboola.cloud',\n isSingleTenant: true,\n },\n RBI: {\n id: 'cloud-keboola-rbi',\n host: 'connection.rbi.keboola.cloud',\n isSingleTenant: true,\n },\n NAH: {\n id: 'cloud-keboola-nah',\n host: 'connection.nah.keboola.cloud',\n isSingleTenant: true,\n provider: 'azure',\n continent: 'us',\n },\n\n /* DEV STACKS\n ---------------------------- */\n DEV_US_CENTRAL_1_GCP: {\n id: 'dev-keboola-gcp-us-central1',\n region: 'us-central1',\n host: 'connection.us-central1.gcp.keboola.dev',\n provider: 'gcp',\n continent: 'us',\n isTesting: true,\n },\n DEV_EU_WEST_1_AWS: {\n id: 'dev-keboola-aws-eu-west-1',\n region: 'eu-west-1',\n host: 'connection.eu-west-1.aws.keboola.dev',\n provider: 'aws',\n continent: 'europe',\n isTesting: true,\n },\n DEV_US_EAST_1_AWS_E2E: {\n id: 'dev-keboola-aws-us-east-1-e2e',\n region: 'us-east-1',\n host: 'connection.e2e.us-east-1.aws.keboola.dev',\n provider: 'aws',\n continent: 'us',\n isTesting: true,\n },\n DEV_US_EAST_2_AZURE: {\n id: 'kbc-testing-azure-east-us-2',\n region: 'east-us-2',\n host: 'connection.east-us-2.azure.keboola-testing.com',\n provider: 'azure',\n continent: 'us',\n isTesting: true,\n },\n DEV_KEBOOLA_CANARY_ORION: {\n id: 'dev-keboola-canary-orion',\n region: 'europe-west3',\n host: 'connection.canary-orion.keboola.dev',\n provider: 'gcp',\n continent: 'europe',\n isCanary: true,\n },\n} satisfies Record<string, Readonly<KeboolaStack>>;\n\n/**\n * Every stack the platform knows, keyed by name.\n *\n * - The key set is literal, so a name that is not in the object is a compile error at the call site\n * rather than an `undefined` to fall back from.\n * - The value type stays the uniform `KeboolaStack`, so `stack.isCanary` reads on any entry, not\n * only on the ones that carry the flag.\n */\nexport const STACKS: Record<keyof typeof stacks, Readonly<KeboolaStack>> = stacks;\n","export { ComponentId } from './componentId';\nexport { ManageErrorCode } from './manageErrorCodes';\nexport { ProjectFeature } from './projectFeatures';\nexport { ProjectMetric } from './projectMetrics';\nexport { StackFeature } from './stackFeatures';\nexport { AdminFeature } from './adminFeatures';\nexport { Backend } from './backends';\nexport { AdminRole } from './adminRoles';\nexport { ServiceId } from './serviceIds';\nexport { Continent, Provider, STACKS } from './stacks';\nexport type { KeboolaStack } from './stacks';\n\nexport const URLS = {\n USER_DOCUMENTATION: 'https://help.keboola.com',\n COMPONENTS: 'https://components.keboola.com',\n DEVELOPERS_DOCUMENTATION: 'https://developers.keboola.com',\n ACADEMY: 'https://academy.keboola.com',\n SALES_CONTACT_FORM: 'https://keboola.com/contact',\n SNOWFLAKE: 'https://www.snowflake.com',\n SNOWFLAKE_DOCS: 'https://docs.snowflake.com',\n MCP: 'https://www.keboola.com/mcp',\n CLI: 'https://www.keboola.com/cli',\n NODE_JS: 'https://nodejs.org/en',\n CLAUDE_CONNECTORS: 'https://claude.ai/customize/connectors',\n // Vendor \"how do I get this client\" pages linked from the connect surfaces.\n CLIENT_CLAUDE_CODE_QUICKSTART: 'https://code.claude.com/docs/en/quickstart',\n CLIENT_CLAUDE_AI: 'https://claude.ai',\n CLIENT_CLAUDE_DESKTOP_DOWNLOAD: 'https://claude.com/download',\n CLIENT_CURSOR_QUICKSTART: 'https://cursor.com/docs/get-started/quickstart',\n CLIENT_VS_CODE_SETUP: 'https://code.visualstudio.com/docs/setup/setup-overview',\n CLIENT_CODEX_QUICKSTART: 'https://developers.openai.com/codex/cli',\n CLIENT_CHATGPT_DOWNLOAD: 'https://chatgpt.com/download',\n CLIENT_MAKE_GET_STARTED: 'https://help.make.com/get-started',\n CLIENT_DEVIN_DESKTOP: 'https://docs.devin.ai/desktop/getting-started',\n} as const;\n"],"mappings":";AAAA,MAAa,kBAAkB;CAC7B,iCAAiC;CACjC,gCAAgC;CAChC,uCAAuC;AACzC;;ACJA,MAAa,iBAAiB;CAC5B,sBAAsB;CACtB,qBAAqB;CACrB,0BAA0B;CAC1B,eAAe;CACf,eAAe;CACf,YAAY;CACZ,WAAW;CACX,gCAAgC;CAChC,2BAA2B;CAC3B,sCAAsC;CACtC,oBAAoB;CACpB,yBAAyB;CACzB,eAAe;CACf,qBAAqB;CACrB,qBAAqB;CACrB,qBAAqB;CACrB,uBAAuB;CACvB,iBAAiB;CACjB,6BAA6B;CAC7B,WAAW;CACX,yBAAyB;CACzB,gCAAgC;CAChC,gBAAgB;CAChB,2BAA2B;CAC3B,2BAA2B;CAC3B,iBAAiB;CACjB,aAAa;CACb,WAAW;CACX,uBAAuB;CACvB,WAAW;CACX,yBAAyB;CACzB,qBAAqB;CACrB,gBAAgB;CAChB,QAAQ;CACR,0CAA0C;CAC1C,0BAA0B;CAC1B,8BAA8B;CAC9B,uBAAuB;CACvB,iCAAiC;CACjC,4BAA4B;CAC5B,uBAAuB;CACvB,oBAAoB;CACpB,kBAAkB;CAClB,kBAAkB;AACpB;;;AC5CA,MAAa,gBAAgB;CAC3B,aAAa;CACb,eAAe;C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CACA,aAAa;EACX,IAAI;EACJ,MAAM;EACN,gBAAgB;CAClB;CACA,QAAQ;EACN,IAAI;EACJ,MAAM;EACN,gBAAgB;CAClB;CACA,MAAM;EACJ,IAAI;EACJ,MAAM;EACN,gBAAgB;CAClB;CACA,MAAM;EACJ,IAAI;EACJ,MAAM;EACN,gBAAgB;CAClB;CACA,OAAO;EACL,IAAI;EACJ,MAAM;EACN,gBAAgB;CAClB;CACA,KAAK;EACH,IAAI;EACJ,MAAM;EACN,gBAAgB;CAClB;CACA,KAAK;EACH,IAAI;EACJ,MAAM;EACN,gBAAgB;EAChB,UAAU;EACV,WAAW;CACb;CAIA,sBAAsB;EACpB,IAAI;EACJ,QAAQ;EACR,MAAM;EACN,UAAU;EACV,WAAW;EACX,WAAW;CACb;CACA,mBAAmB;EACjB,IAAI;EACJ,QAAQ;EACR,MAAM;EACN,UAAU;EACV,WAAW;EACX,WAAW;CACb;CACA,uBAAuB;EACrB,IAAI;EACJ,QAAQ;EACR,MAAM;EACN,UAAU;EACV,WAAW;EACX,WAAW;CACb;CACA,qBAAqB;EACnB,IAAI;EACJ,QAAQ;EACR,MAAM;EACN,UAAU;EACV,WAAW;EACX,WAAW;CACb;CACA,0BAA0B;EACxB,IAAI;EACJ,QAAQ;EACR,MAAM;EACN,UAAU;EACV,WAAW;EACX,UAAU;CACZ;AAWyE;;AC3K3E,MAAa,OAAO;CAClB,oBAAoB;CACpB,YAAY;CACZ,0BAA0B;CAC1B,SAAS;CACT,oBAAoB;CACpB,WAAW;CACX,gBAAgB;CAChB,KAAK;CACL,KAAK;CACL,SAAS;CACT,mBAAmB;CAEnB,+BAA+B;CAC/B,kBAAkB;CAClB,gCAAgC;CAChC,0BAA0B;CAC1B,sBAAsB;CACtB,yBAAyB;CACzB,yBAAyB;CACzB,yBAAyB;CACzB,sBAAsB;AACxB"}
@@ -1,2 +1,2 @@
1
- import { t as createEncryptionClient } from "../index-BtvWJBYh.cjs";
1
+ import { t as createEncryptionClient } from "../index-CmyFWQXn.cjs";
2
2
  export { createEncryptionClient };
@@ -1,2 +1,2 @@
1
- import { t as createEncryptionClient } from "../index-Df30jjpZ.js";
1
+ import { t as createEncryptionClient } from "../index-CQPs3hrp.js";
2
2
  export { createEncryptionClient };
@@ -1,2 +1,2 @@
1
- import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-BtvWJBYh.cjs";
1
+ import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-CmyFWQXn.cjs";
2
2
  export { BranchType, EncryptBody, EncryptParams, EncryptParamsByScope, EncryptQuery, EncryptionScope, ScopedSecrets };
@@ -1,2 +1,2 @@
1
- import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-Df30jjpZ.js";
1
+ import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-CQPs3hrp.js";
2
2
  export { BranchType, EncryptBody, EncryptParams, EncryptParamsByScope, EncryptQuery, EncryptionScope, ScopedSecrets };