@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.
- package/CHANGELOG.md +45 -0
- package/README.md +1 -1
- package/dist/{componentId-Cps6WBy1.js → componentId-Ba4gsJ9O.js} +3 -1
- package/dist/componentId-Ba4gsJ9O.js.map +1 -0
- package/dist/{componentId-_tRhEv6W.cjs → componentId-Ba_1Gv_A.cjs} +3 -1
- package/dist/componentId-Ba_1Gv_A.cjs.map +1 -0
- package/dist/constants/index.cjs +3 -2
- package/dist/constants/index.d.cts +2 -2
- package/dist/constants/index.d.ts +2 -2
- package/dist/constants/index.js +3 -3
- package/dist/{constants-DLPkpnGv.js → constants-HccvU5kx.js} +9 -2
- package/dist/constants-HccvU5kx.js.map +1 -0
- package/dist/{constants-Day8CU5i.cjs → constants-V9hAyPTo.cjs} +14 -1
- package/dist/constants-V9hAyPTo.cjs.map +1 -0
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/{index-DX7qciZA.d.cts → index-BE6qM0vu.d.cts} +526 -30
- package/dist/{index-DCfumWzq.d.ts → index-BGsP2QBc.d.ts} +2 -2
- package/dist/{index-Df30jjpZ.d.ts → index-CQPs3hrp.d.ts} +15 -38
- package/dist/{index-B04rWq_0.d.cts → index-CWowDl63.d.cts} +2 -2
- package/dist/{index-Cd0naVic.d.cts → index-CYk7Aa8u.d.cts} +11 -2
- package/dist/{index-BtvWJBYh.d.cts → index-CmyFWQXn.d.cts} +15 -38
- package/dist/{index-DbStyQKc.d.ts → index-D3hWR_e4.d.ts} +11 -2
- package/dist/{index-DzqHh0lE.d.ts → index-DeWeUUfE.d.ts} +526 -30
- package/dist/index.cjs +8 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -13
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +1 -1
- package/dist/management/index.d.cts +1 -1
- package/dist/management/index.d.ts +1 -1
- package/dist/management/index.js +1 -1
- package/dist/management/types.d.cts +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/{management-BAfg8BmK.js → management-BlMQnPNS.js} +10 -16
- package/dist/management-BlMQnPNS.js.map +1 -0
- package/dist/{management-BuNIc7Mr.cjs → management-dIMrTTpI.cjs} +10 -16
- package/dist/management-dIMrTTpI.cjs.map +1 -0
- package/dist/oauth/index.cjs +1 -1
- package/dist/oauth/index.d.cts +8 -1
- package/dist/oauth/index.d.ts +8 -1
- package/dist/oauth/index.js +1 -1
- package/dist/oauth/types.d.cts +2 -2
- package/dist/oauth/types.d.ts +2 -2
- package/dist/{oauth-CXcrilOp.cjs → oauth-CEW2AvDV.cjs} +9 -1
- package/dist/{oauth-CXcrilOp.cjs.map → oauth-CEW2AvDV.cjs.map} +1 -1
- package/dist/{oauth-Ci0qeaS2.js → oauth-Fri6IthS.js} +9 -1
- package/dist/{oauth-Ci0qeaS2.js.map → oauth-Fri6IthS.js.map} +1 -1
- package/dist/queryService/index.d.cts +1 -1
- package/dist/queryService/index.d.ts +1 -1
- package/dist/queryService/types.d.cts +1 -1
- package/dist/queryService/types.d.ts +1 -1
- package/dist/queue/index.d.cts +1 -1
- package/dist/queue/index.d.ts +1 -1
- package/dist/sdk/configurations/index.cjs +47 -2
- package/dist/sdk/configurations/index.cjs.map +1 -1
- package/dist/sdk/configurations/index.d.cts +230 -2
- package/dist/sdk/configurations/index.d.ts +230 -2
- package/dist/sdk/configurations/index.js +47 -2
- package/dist/sdk/configurations/index.js.map +1 -1
- package/dist/sdk/dataAppServer/index.cjs +1 -1
- package/dist/sdk/dataAppServer/index.cjs.map +1 -1
- package/dist/sdk/dataAppServer/index.d.cts +1 -1
- package/dist/sdk/dataAppServer/index.d.ts +1 -1
- package/dist/sdk/dataAppServer/index.js +1 -1
- package/dist/sdk/dataAppServer/index.js.map +1 -1
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/securityPolicy/index.cjs +13 -3
- package/dist/sdk/securityPolicy/index.cjs.map +1 -1
- package/dist/sdk/securityPolicy/index.d.cts +11 -1
- package/dist/sdk/securityPolicy/index.d.ts +11 -1
- package/dist/sdk/securityPolicy/index.js +12 -4
- package/dist/sdk/securityPolicy/index.js.map +1 -1
- package/dist/sdk/vault/index.cjs +3 -12
- package/dist/sdk/vault/index.cjs.map +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/sdk/vault/index.js +3 -12
- package/dist/sdk/vault/index.js.map +1 -1
- package/dist/storage/index.cjs +1 -1
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.js +1 -1
- package/dist/storage/types.d.cts +2 -2
- package/dist/storage/types.d.ts +2 -2
- package/dist/{storage-BMrYlyLB.cjs → storage-BL-TfHp8.cjs} +2 -2
- package/dist/storage-BL-TfHp8.cjs.map +1 -0
- package/dist/{storage--2FvvLAw.js → storage-DEJN8sw-.js} +2 -2
- package/dist/storage-DEJN8sw-.js.map +1 -0
- package/dist/syncActions/index.cjs +1 -1
- package/dist/syncActions/index.js +1 -1
- package/dist/{syncActions-CR7xvuIv.cjs → syncActions-B9JTiSao.cjs} +2 -2
- package/dist/{syncActions-CR7xvuIv.cjs.map → syncActions-B9JTiSao.cjs.map} +1 -1
- package/dist/{syncActions-CU4cIGRf.js → syncActions-W98Jme2Z.js} +2 -2
- package/dist/{syncActions-CU4cIGRf.js.map → syncActions-W98Jme2Z.js.map} +1 -1
- package/dist/{types-B7FKoyfy.d.cts → types-Bwvss_gW.d.cts} +819 -388
- package/dist/{types-CaBcgsT2.d.cts → types-DMhgKHCP.d.cts} +221 -54
- package/dist/{types-COb2O9c1.d.ts → types-J_dgwMjP.d.ts} +819 -388
- package/dist/{types-DFcj9YyQ.d.ts → types-p_lWvuQJ.d.ts} +221 -54
- package/package.json +3 -3
- package/surface/management.md +25 -25
- package/dist/componentId-Cps6WBy1.js.map +0 -1
- package/dist/componentId-_tRhEv6W.cjs.map +0 -1
- package/dist/constants-DLPkpnGv.js.map +0 -1
- package/dist/constants-Day8CU5i.cjs.map +0 -1
- package/dist/management-BAfg8BmK.js.map +0 -1
- package/dist/management-BuNIc7Mr.cjs.map +0 -1
- package/dist/storage--2FvvLAw.js.map +0 -1
- package/dist/storage-BMrYlyLB.cjs.map +0 -1
|
@@ -195,7 +195,17 @@ type paths = {
|
|
|
195
195
|
path?: never;
|
|
196
196
|
cookie?: never;
|
|
197
197
|
};
|
|
198
|
-
|
|
198
|
+
/**
|
|
199
|
+
* List platform consumers
|
|
200
|
+
* @description Every registration on the stack, oldest first. Requires the
|
|
201
|
+
* `oauth:platform-consumers-manage` scope. Neither the private key nor the client secret is
|
|
202
|
+
* returned.
|
|
203
|
+
*
|
|
204
|
+
* This is how to find the id of an existing registration: a second registration for the
|
|
205
|
+
* same host is refused with `409` without naming it. `connectionsCount` tells whether a
|
|
206
|
+
* `DELETE` of the registration would be refused.
|
|
207
|
+
*/
|
|
208
|
+
get: operations['platformConsumerList'];
|
|
199
209
|
put?: never;
|
|
200
210
|
/**
|
|
201
211
|
* Register a platform application
|
|
@@ -291,7 +301,8 @@ type paths = {
|
|
|
291
301
|
* (`GET /user/installations`, all pages), narrowed to the `account` given at the start if
|
|
292
302
|
* any, each run through check 3. Exactly one owned installation is connected. None
|
|
293
303
|
* installed is a `400` and none owned a `403`, both naming the App's install page
|
|
294
|
-
*
|
|
304
|
+
* (`/apps/{slug}/installations/new` on github.com, `/github-apps/…` on GitHub Enterprise
|
|
305
|
+
* Server); several owned without `account` is a `400`
|
|
295
306
|
* naming them — start again with `account`.
|
|
296
307
|
* * **No `state`** — GitHub's redirect after an install started on GitHub, for an App that
|
|
297
308
|
* requests user authorization during installation: a `400` saying the connection has to
|
|
@@ -306,6 +317,15 @@ type paths = {
|
|
|
306
317
|
* account is already connected under a *different* installation id — the App was
|
|
307
318
|
* uninstalled and installed again — the stale connection is replaced by the new one.
|
|
308
319
|
* Connecting the very same installation twice is a `409`.
|
|
320
|
+
*
|
|
321
|
+
* **Errors.** Once `state` resolves to a live session, every failure redirects (`302`) to the
|
|
322
|
+
* session's `returnUrl` with `error` (an `OrganizationConnectErrorCode`) and `message` added
|
|
323
|
+
* to its query — plus `accounts` for `severalOwned`, and `exceptionId` matching the log
|
|
324
|
+
* record — and ends the session (GitHub's `code`
|
|
325
|
+
* is single-use, so the flow has to start again). The statuses below name the same failures
|
|
326
|
+
* as they are answered elsewhere. Only the failures before that, which leave no `returnUrl`
|
|
327
|
+
* to go back to — no `state`, no matching cookie, an unknown or expired session — are
|
|
328
|
+
* answered with JSON.
|
|
309
329
|
*/
|
|
310
330
|
get: operations['platformConsumerInstallCallback'];
|
|
311
331
|
put?: never;
|
|
@@ -363,7 +383,14 @@ type paths = {
|
|
|
363
383
|
* Login-CSRF guard: the request must carry an `Origin` header exactly equal to an allowed
|
|
364
384
|
* origin — `ORGANIZATION_INSTALL_ALLOWED_ORIGINS`, by default the stack's own UI
|
|
365
385
|
* `https://connection.<HOSTNAME_SUFFIX>`. A missing, `null` or other origin is a `403`, with
|
|
366
|
-
* nothing verified or written.
|
|
386
|
+
* nothing verified or written. `returnUrl` must be on an allowed origin too (a `400`
|
|
387
|
+
* otherwise), as errors are redirected there.
|
|
388
|
+
*
|
|
389
|
+
* **Errors.** Past those checks, every failure redirects (`302`) to `returnUrl` with `error`
|
|
390
|
+
* (an `OrganizationConnectErrorCode`) and `message` added to its query, instead of a JSON
|
|
391
|
+
* error page the user would be stranded on. The `401`/`403`/`409`/`412`/`503` below name the
|
|
392
|
+
* same failures as they are answered elsewhere. Only an invalid form (`422`), an untrusted
|
|
393
|
+
* `Origin` (`403`) and a `returnUrl` outside the UI (`400`) are answered with JSON.
|
|
367
394
|
*/
|
|
368
395
|
post: operations['organizationCredentialsInit'];
|
|
369
396
|
delete?: never;
|
|
@@ -394,6 +421,45 @@ type paths = {
|
|
|
394
421
|
patch?: never;
|
|
395
422
|
trace?: never;
|
|
396
423
|
};
|
|
424
|
+
'/organizations/{organizationId}/github-apps': {
|
|
425
|
+
parameters: {
|
|
426
|
+
query?: never;
|
|
427
|
+
header?: never;
|
|
428
|
+
path?: never;
|
|
429
|
+
cookie?: never;
|
|
430
|
+
};
|
|
431
|
+
/**
|
|
432
|
+
* List the GitHub Apps an organization can connect to
|
|
433
|
+
* @description GitHub Apps registered on this stack and where to install each. Connecting needs the App
|
|
434
|
+
* installed on the GitHub organization first, so the UI links `installUrl` next to
|
|
435
|
+
* "connect".
|
|
436
|
+
*
|
|
437
|
+
* Listed are the stack's default host and the hosts the organization already has a
|
|
438
|
+
* completed connection on — not every registration: those are not tied to an
|
|
439
|
+
* organization, and the stack's GitHub Enterprise hosts name other customers. A GitHub
|
|
440
|
+
* Enterprise host the organization has not connected yet is still connected to by naming
|
|
441
|
+
* it in the connect form's `host`.
|
|
442
|
+
*
|
|
443
|
+
* `installUrl` is `/apps/{slug}/installations/new` on github.com and
|
|
444
|
+
* `/github-apps/{slug}/installations/new` on GitHub Enterprise Server. It is null on GitHub
|
|
445
|
+
* Enterprise Cloud (`*.ghe.com`), which has no working public App page: an App is installed
|
|
446
|
+
* there from the GitHub organization's settings
|
|
447
|
+
* (`{webBaseUrl}/organizations/{organization}/settings/apps`) or, for an App owned by a
|
|
448
|
+
* GitHub enterprise, the enterprise's. `default` marks the host used when the connect form
|
|
449
|
+
* names none; it is listed first, the rest by host. Nothing secret is listed.
|
|
450
|
+
*
|
|
451
|
+
* The caller must be an administrator of the organization; see `ManageApiUserToken` for the
|
|
452
|
+
* accepted tokens.
|
|
453
|
+
*/
|
|
454
|
+
get: operations['organizationGitHubAppsList'];
|
|
455
|
+
put?: never;
|
|
456
|
+
post?: never;
|
|
457
|
+
delete?: never;
|
|
458
|
+
options?: never;
|
|
459
|
+
head?: never;
|
|
460
|
+
patch?: never;
|
|
461
|
+
trace?: never;
|
|
462
|
+
};
|
|
397
463
|
'/organization-credentials/connections': {
|
|
398
464
|
parameters: {
|
|
399
465
|
query?: never;
|
|
@@ -528,7 +594,7 @@ type components = {
|
|
|
528
594
|
*/
|
|
529
595
|
appId: string;
|
|
530
596
|
/**
|
|
531
|
-
* @description GitHub App slug, used to build the install URL
|
|
597
|
+
* @description GitHub App slug, used to build the install URL (`/apps/{slug}/installations/new` on github.com, `/github-apps/…` on GitHub Enterprise Server).
|
|
532
598
|
* @example keboola-data-apps
|
|
533
599
|
*/
|
|
534
600
|
slug: string;
|
|
@@ -572,6 +638,12 @@ type components = {
|
|
|
572
638
|
*/
|
|
573
639
|
webHost?: string;
|
|
574
640
|
};
|
|
641
|
+
PlatformConsumerListItem: components['schemas']['PlatformConsumer'] & {
|
|
642
|
+
/** Format: date-time */
|
|
643
|
+
created?: string;
|
|
644
|
+
/** @description Organization connections using this registration, including ones whose install never completed. A `DELETE` is refused while it is not 0. */
|
|
645
|
+
connectionsCount?: number;
|
|
646
|
+
};
|
|
575
647
|
OrganizationCredentialsInitRequest: {
|
|
576
648
|
/** @description Manage API token of the caller with a user behind it (the Control Panel's session token or a personal Manage token); identifies who they are */
|
|
577
649
|
manageToken: string;
|
|
@@ -582,7 +654,8 @@ type components = {
|
|
|
582
654
|
name: string;
|
|
583
655
|
/**
|
|
584
656
|
* Format: url
|
|
585
|
-
* @description Where the browser returns after the connection completes. Must be https.
|
|
657
|
+
* @description Where the browser returns after the connection completes, or with `error` and `message` added to its query when it fails (see `OrganizationConnectErrorCode`). Must be https and on an allowed origin (`ORGANIZATION_INSTALL_ALLOWED_ORIGINS`, by default the stack's own UI); its own query is kept.
|
|
658
|
+
* @example https://connection.keboola.com/control/organizations/433?tab=github
|
|
586
659
|
*/
|
|
587
660
|
returnUrl: string;
|
|
588
661
|
description?: string | null;
|
|
@@ -633,6 +706,36 @@ type components = {
|
|
|
633
706
|
/** Format: date-time */
|
|
634
707
|
created?: string;
|
|
635
708
|
};
|
|
709
|
+
/**
|
|
710
|
+
* @description Why connecting an organization to a GitHub App failed, sent as `error` in the query of the `returnUrl` the browser is redirected to (together with `message`, an English explanation; `exceptionId`, matching the log record; and for `severalOwned`, `accounts`). Stable: a value is never renamed, so the UI can map it to its own copy; new values may be added, so treat an unknown one like `connectFailed`. Anyone can link the UI page with an `error` and `message` of their choosing: show the UI's own copy per `error`, never render `message` as HTML or links, and take the install link from `GET /organizations/{organizationId}/github-apps`.
|
|
711
|
+
* @enum {string}
|
|
712
|
+
*/
|
|
713
|
+
OrganizationConnectErrorCode: 'invalidToken' | 'notUserToken' | 'notOrganizationAdmin' | 'noAppForHost' | 'nameTaken' | 'authorizationDenied' | 'authorizationFailed' | 'appNotInstalled' | 'notOwner' | 'samlSsoRequired' | 'missingMembersPermission' | 'severalOwned' | 'alreadyConnected' | 'superseded' | 'rateLimited' | 'githubUnavailable' | 'manageApiUnavailable' | 'connectFailed' | 'internalError';
|
|
714
|
+
OrganizationGitHubApp: {
|
|
715
|
+
/**
|
|
716
|
+
* @description The GitHub deployment, as the connect form's `host` takes it.
|
|
717
|
+
* @example github.com
|
|
718
|
+
*/
|
|
719
|
+
host: string;
|
|
720
|
+
/**
|
|
721
|
+
* Format: url
|
|
722
|
+
* @example https://github.com
|
|
723
|
+
*/
|
|
724
|
+
webBaseUrl: string;
|
|
725
|
+
/**
|
|
726
|
+
* @description The App's slug on GitHub.
|
|
727
|
+
* @example keboola-data-apps
|
|
728
|
+
*/
|
|
729
|
+
slug: string;
|
|
730
|
+
/**
|
|
731
|
+
* Format: url
|
|
732
|
+
* @description The App's page for installing it on a GitHub account; null on GitHub Enterprise Cloud (`*.ghe.com`), where an App is installed from the organization's or enterprise's settings.
|
|
733
|
+
* @example https://github.com/apps/keboola-data-apps/installations/new
|
|
734
|
+
*/
|
|
735
|
+
installUrl: string | null;
|
|
736
|
+
/** @description The host used when the connect form names none. */
|
|
737
|
+
default: boolean;
|
|
738
|
+
};
|
|
636
739
|
OrganizationConnections: {
|
|
637
740
|
connections: {
|
|
638
741
|
/**
|
|
@@ -1190,6 +1293,36 @@ interface operations {
|
|
|
1190
1293
|
422: components['responses']['422_UnprocessableEntity'];
|
|
1191
1294
|
};
|
|
1192
1295
|
};
|
|
1296
|
+
platformConsumerList: {
|
|
1297
|
+
parameters: {
|
|
1298
|
+
query?: never;
|
|
1299
|
+
header?: never;
|
|
1300
|
+
path?: never;
|
|
1301
|
+
cookie?: never;
|
|
1302
|
+
};
|
|
1303
|
+
requestBody?: never;
|
|
1304
|
+
responses: {
|
|
1305
|
+
/** @description Platform consumers */
|
|
1306
|
+
200: {
|
|
1307
|
+
headers: {
|
|
1308
|
+
[name: string]: unknown;
|
|
1309
|
+
};
|
|
1310
|
+
content: {
|
|
1311
|
+
'application/json': components['schemas']['PlatformConsumerListItem'][];
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
401: components['responses']['401_Unauthorized'];
|
|
1315
|
+
/** @description The token lacks the `oauth:platform-consumers-manage` scope */
|
|
1316
|
+
403: {
|
|
1317
|
+
headers: {
|
|
1318
|
+
[name: string]: unknown;
|
|
1319
|
+
};
|
|
1320
|
+
content: {
|
|
1321
|
+
'application/json': components['schemas']['Error'];
|
|
1322
|
+
};
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
};
|
|
1193
1326
|
platformConsumerCreate: {
|
|
1194
1327
|
parameters: {
|
|
1195
1328
|
query?: never;
|
|
@@ -1296,14 +1429,44 @@ interface operations {
|
|
|
1296
1429
|
};
|
|
1297
1430
|
requestBody?: never;
|
|
1298
1431
|
responses: {
|
|
1299
|
-
/**
|
|
1432
|
+
/**
|
|
1433
|
+
* @description Back to the `returnUrl` supplied when the flow started: as is when the connection is
|
|
1434
|
+
* recorded, or with `error`, `message` (and for `severalOwned`, `accounts`) added to its
|
|
1435
|
+
* query when it failed — see `OrganizationConnectErrorCode`:
|
|
1436
|
+
*
|
|
1437
|
+
* * `authorizationDenied` — no `code`, `error=access_denied`: the user did not authorize
|
|
1438
|
+
* the App;
|
|
1439
|
+
* * `authorizationFailed` — GitHub rejected the `code` (expired or already used), or
|
|
1440
|
+
* returned none for another reason, e.g. `redirect_uri_mismatch` (GitHub's `error`
|
|
1441
|
+
* and `error_description` are logged, not passed on);
|
|
1442
|
+
* * `appNotInstalled` — the App is not installed on any account the user can reach (or on
|
|
1443
|
+
* the requested `account`); the message links the install page;
|
|
1444
|
+
* * `notOwner` — the user owns none of those accounts (or not the requested `account`):
|
|
1445
|
+
* neither an active owner of the organization nor the personal account itself; the
|
|
1446
|
+
* message links the install page;
|
|
1447
|
+
* * `samlSsoRequired` — the organization enforces SAML SSO the user's GitHub session is
|
|
1448
|
+
* not authorized for;
|
|
1449
|
+
* * `missingMembersPermission` — the App lacks "Organization members: read";
|
|
1450
|
+
* * `severalOwned` — the user owns several accounts with the App installed and no
|
|
1451
|
+
* `account` was given; `accounts` lists their logins, comma-separated — start again
|
|
1452
|
+
* with `account` set to one of them;
|
|
1453
|
+
* * `alreadyConnected` — this installation (or GitHub account) is already connected to the
|
|
1454
|
+
* organization;
|
|
1455
|
+
* * `superseded` — a newer start under the same name replaced this attempt while the
|
|
1456
|
+
* callback ran (nothing is written; finish the newer attempt);
|
|
1457
|
+
* * `rateLimited`, `githubUnavailable` — GitHub is rate limiting, failing or returned a
|
|
1458
|
+
* malformed answer;
|
|
1459
|
+
* * `connectFailed`, `internalError` — anything else.
|
|
1460
|
+
*/
|
|
1300
1461
|
302: {
|
|
1301
1462
|
headers: {
|
|
1463
|
+
/** @example https://connection.keboola.com/control/organizations/433?tab=github&error=notOwner&message=You%20are%20not%20an%20owner%20of%20%E2%80%A6 */
|
|
1464
|
+
Location?: string;
|
|
1302
1465
|
[name: string]: unknown;
|
|
1303
1466
|
};
|
|
1304
1467
|
content?: never;
|
|
1305
1468
|
};
|
|
1306
|
-
/** @description No `state` (the connection has to be started from Keboola)
|
|
1469
|
+
/** @description No `state` (the connection has to be started from Keboola), no matching session cookie, or an unknown or expired session. With no session there is no `returnUrl` to go back to. */
|
|
1307
1470
|
400: {
|
|
1308
1471
|
headers: {
|
|
1309
1472
|
[name: string]: unknown;
|
|
@@ -1312,42 +1475,6 @@ interface operations {
|
|
|
1312
1475
|
'application/json': components['schemas']['Error'];
|
|
1313
1476
|
};
|
|
1314
1477
|
};
|
|
1315
|
-
/** @description The user owns none of the accounts the App is installed on that they can reach (or not the requested `account`): neither an active owner of the organization nor the personal account itself. The message links the install page, or names an organization enforcing SAML SSO the user's GitHub session is not authorized for. Also when the App lacks "Organization members: read" */
|
|
1316
|
-
403: {
|
|
1317
|
-
headers: {
|
|
1318
|
-
[name: string]: unknown;
|
|
1319
|
-
};
|
|
1320
|
-
content: {
|
|
1321
|
-
'application/json': components['schemas']['Error'];
|
|
1322
|
-
};
|
|
1323
|
-
};
|
|
1324
|
-
/** @description This installation is already connected to the organization (under the name the message states), the install session was already completed, or this attempt was superseded by a newer start under the same name while the callback ran (nothing is written; finish the newer attempt) */
|
|
1325
|
-
409: {
|
|
1326
|
-
headers: {
|
|
1327
|
-
[name: string]: unknown;
|
|
1328
|
-
};
|
|
1329
|
-
content: {
|
|
1330
|
-
'application/json': components['schemas']['Error'];
|
|
1331
|
-
};
|
|
1332
|
-
};
|
|
1333
|
-
/** @description GitHub is rate limiting requests; see `Retry-After` */
|
|
1334
|
-
429: {
|
|
1335
|
-
headers: {
|
|
1336
|
-
[name: string]: unknown;
|
|
1337
|
-
};
|
|
1338
|
-
content: {
|
|
1339
|
-
'application/json': components['schemas']['Error'];
|
|
1340
|
-
};
|
|
1341
|
-
};
|
|
1342
|
-
/** @description GitHub failed or returned a malformed answer */
|
|
1343
|
-
502: {
|
|
1344
|
-
headers: {
|
|
1345
|
-
[name: string]: unknown;
|
|
1346
|
-
};
|
|
1347
|
-
content: {
|
|
1348
|
-
'application/json': components['schemas']['Error'];
|
|
1349
|
-
};
|
|
1350
|
-
};
|
|
1351
1478
|
};
|
|
1352
1479
|
};
|
|
1353
1480
|
organizationCredentialsInit: {
|
|
@@ -1366,18 +1493,30 @@ interface operations {
|
|
|
1366
1493
|
};
|
|
1367
1494
|
};
|
|
1368
1495
|
responses: {
|
|
1369
|
-
/**
|
|
1496
|
+
/**
|
|
1497
|
+
* @description To the GitHub App's OAuth web flow (`/login/oauth/authorize`); or, when the connection
|
|
1498
|
+
* cannot start, back to `returnUrl` with `error` and `message` added to its query — see
|
|
1499
|
+
* `OrganizationConnectErrorCode`:
|
|
1500
|
+
*
|
|
1501
|
+
* * `invalidToken` — Manage API does not know the token, or it is expired or disabled
|
|
1502
|
+
* (`401`);
|
|
1503
|
+
* * `notUserToken` — an application token, with no user behind it (`403`);
|
|
1504
|
+
* * `notOrganizationAdmin` — the caller does not administer the organization (`403`);
|
|
1505
|
+
* * `noAppForHost` — no GitHub App is registered for that host on this stack (`412`);
|
|
1506
|
+
* * `nameTaken` — a completed connection with this name already exists in the
|
|
1507
|
+
* organization (`409`);
|
|
1508
|
+
* * `manageApiUnavailable` — Manage API is unavailable (`503`);
|
|
1509
|
+
* * `connectFailed`, `internalError` — anything else.
|
|
1510
|
+
*/
|
|
1370
1511
|
302: {
|
|
1371
1512
|
headers: {
|
|
1513
|
+
Location?: string;
|
|
1372
1514
|
[name: string]: unknown;
|
|
1373
1515
|
};
|
|
1374
1516
|
content?: never;
|
|
1375
1517
|
};
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
403: components['responses']['403_Forbidden'];
|
|
1379
|
-
/** @description A completed connection with this name already exists in the organization */
|
|
1380
|
-
409: {
|
|
1518
|
+
/** @description `returnUrl` is not on an allowed origin */
|
|
1519
|
+
400: {
|
|
1381
1520
|
headers: {
|
|
1382
1521
|
[name: string]: unknown;
|
|
1383
1522
|
};
|
|
@@ -1385,8 +1524,8 @@ interface operations {
|
|
|
1385
1524
|
'application/json': components['schemas']['Error'];
|
|
1386
1525
|
};
|
|
1387
1526
|
};
|
|
1388
|
-
/** @description
|
|
1389
|
-
|
|
1527
|
+
/** @description The request's `Origin` is missing or not allowed */
|
|
1528
|
+
403: {
|
|
1390
1529
|
headers: {
|
|
1391
1530
|
[name: string]: unknown;
|
|
1392
1531
|
};
|
|
@@ -1395,7 +1534,6 @@ interface operations {
|
|
|
1395
1534
|
};
|
|
1396
1535
|
};
|
|
1397
1536
|
422: components['responses']['422_UnprocessableEntity'];
|
|
1398
|
-
503: components['responses']['503_ServiceUnavailable'];
|
|
1399
1537
|
};
|
|
1400
1538
|
};
|
|
1401
1539
|
organizationCredentialsList: {
|
|
@@ -1424,6 +1562,32 @@ interface operations {
|
|
|
1424
1562
|
503: components['responses']['503_ServiceUnavailable'];
|
|
1425
1563
|
};
|
|
1426
1564
|
};
|
|
1565
|
+
organizationGitHubAppsList: {
|
|
1566
|
+
parameters: {
|
|
1567
|
+
query?: never;
|
|
1568
|
+
header?: never;
|
|
1569
|
+
path: {
|
|
1570
|
+
/** @description Numeric Keboola organization ID. Always explicit — it is never derived from the token, because a user typically belongs to projects across several organizations. */
|
|
1571
|
+
organizationId: components['parameters']['OrganizationId'];
|
|
1572
|
+
};
|
|
1573
|
+
cookie?: never;
|
|
1574
|
+
};
|
|
1575
|
+
requestBody?: never;
|
|
1576
|
+
responses: {
|
|
1577
|
+
/** @description Registered GitHub Apps, one per host */
|
|
1578
|
+
200: {
|
|
1579
|
+
headers: {
|
|
1580
|
+
[name: string]: unknown;
|
|
1581
|
+
};
|
|
1582
|
+
content: {
|
|
1583
|
+
'application/json': components['schemas']['OrganizationGitHubApp'][];
|
|
1584
|
+
};
|
|
1585
|
+
};
|
|
1586
|
+
401: components['responses']['401_Unauthorized'];
|
|
1587
|
+
403: components['responses']['403_Forbidden'];
|
|
1588
|
+
503: components['responses']['503_ServiceUnavailable'];
|
|
1589
|
+
};
|
|
1590
|
+
};
|
|
1427
1591
|
organizationCredentialsConnections: {
|
|
1428
1592
|
parameters: {
|
|
1429
1593
|
query?: never;
|
|
@@ -1592,7 +1756,10 @@ type ManageTokenInput = {
|
|
|
1592
1756
|
manageToken: string;
|
|
1593
1757
|
};
|
|
1594
1758
|
type GetOrganizationCredentialsInput = OpenapiPathType<paths['/organizations/{organizationId}/credentials']['get']> & ManageTokenInput;
|
|
1759
|
+
type GetOrganizationGitHubAppsInput = OpenapiPathType<paths['/organizations/{organizationId}/github-apps']['get']> & ManageTokenInput;
|
|
1760
|
+
type OrganizationGitHubApp = components['schemas']['OrganizationGitHubApp'];
|
|
1761
|
+
type OrganizationConnectErrorCode = components['schemas']['OrganizationConnectErrorCode'];
|
|
1595
1762
|
type DeleteOrganizationCredentialsInput = OpenapiPathType<paths['/organizations/{organizationId}/credentials/{id}']['delete']> & ManageTokenInput;
|
|
1596
1763
|
type GetOrganizationConnectFormInput = OpenapiPathType<paths['/authorize/organizations/{organizationId}']['post']> & OpenapiBodyType<paths['/authorize/organizations/{organizationId}']['post']>;
|
|
1597
|
-
export { CredentialInput as a, GetOrganizationConnectFormInput as c,
|
|
1598
|
-
//# sourceMappingURL=types-
|
|
1764
|
+
export { CredentialInput as a, GetOrganizationConnectFormInput as c, OrganizationConnectErrorCode as d, OrganizationConnection as f, GetCredentialsInput as h, Credential as i, GetOrganizationCredentialsInput as l, OrganizationGitHubApp as m, CreateCredentialBody as n, CredentialPath as o, OrganizationCredentials as p, CreateCredentialInput as r, DeleteOrganizationCredentialsInput as s, ComponentPath as t, GetOrganizationGitHubAppsInput as u };
|
|
1765
|
+
//# sourceMappingURL=types-p_lWvuQJ.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keboola/api-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "55.0.0",
|
|
4
4
|
"description": "TypeScript SDK for Keboola APIs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -1011,8 +1011,8 @@
|
|
|
1011
1011
|
},
|
|
1012
1012
|
"devDependencies": {
|
|
1013
1013
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
1014
|
-
"@keboola/eslint-plugin-design": "^0.
|
|
1015
|
-
"@keboola/oxlint-config": "^10.
|
|
1014
|
+
"@keboola/eslint-plugin-design": "^0.8.0",
|
|
1015
|
+
"@keboola/oxlint-config": "^10.3.0",
|
|
1016
1016
|
"@keboola/tsconfig": "^0.2.1",
|
|
1017
1017
|
"@keboola/vitest-config": "^1.0.0",
|
|
1018
1018
|
"@types/node": "24.12.0",
|
package/surface/management.md
CHANGED
|
@@ -108,8 +108,8 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
108
108
|
- `api.management.organizations.getOrganization(organizationId: number, signal?: AbortSignal | undefined): Promise<OrganizationDetail>`
|
|
109
109
|
- `api.management.organizations.getOrganizationInvitation({ organizationId, invitationId }: OrganizationInvitationPath, signal?: AbortSignal | undefined): Promise<{ id: number; created: string; user: { id: number; name: string; email: string; }; creator: { id: number; name: string; email: string; }; }>`
|
|
110
110
|
- `api.management.organizations.getOrganizationInvitations(organizationId: number, signal?: AbortSignal | undefined): Promise<{ id: number; created: string; user: { id: number; name: string; email: string; }; creator: { id: number; name: string; email: string; }; }[]>`
|
|
111
|
-
- `api.management.organizations.getOrganizationMetadata(organizationId: number, signal?: AbortSignal | undefined): Promise<{ id: number;
|
|
112
|
-
- `api.management.organizations.getOrganizationProjects(organizationId: number, signal?: AbortSignal | undefined): Promise<
|
|
111
|
+
- `api.management.organizations.getOrganizationMetadata(organizationId: number, signal?: AbortSignal | undefined): Promise<{ id: number; key: string; value: string | null; provider: string; timestamp: string; }[]>`
|
|
112
|
+
- `api.management.organizations.getOrganizationProjects(organizationId: number, signal?: AbortSignal | undefined): Promise<({ id: number; name: string; type: string; region: string; created: string | null; expires: string | null; features: string[]; dataSizeBytes: number; rowsCount: number; hasMysql: boolean; hasSynapse: boolean; hasSnowflake: boolean; hasExasol: boolean; hasTeradata: boolean; hasBigquery: boolean; defaultBackend: string; hasTryModeOn: string; limits: { [key: string]: { name: string; value: number; }; }; metrics: { [key: string]: { name: string; value: number; }; }; isDisabled: boolean; billedMonthlyPrice: number | null; dataRetentionTimeInDays: number; isBYODB: boolean; assignedBackends: string[]; fileStorageProvider?: string | undefined; usersCount: number; timezone: string | null; payAsYouGo?: { purchasedCredits: number; } | undefined; disabled?: { reason: string; estimatedEndTime: string | null; } | undefined; } & { organization: { id: number; name: string; crmId: string; activityCenterProjectId: number | null; created: string; allowAutoJoin: boolean; mfaRequired: boolean; }; fileStorage: { id: number; awsKey: string; region: string; filesBucket: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; } | { id: number; accountName: string; region: string; containerName: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; } | { id: number; gcsCredentials: { type: string; project_id: string; private_key_id: string; client_email: string; client_id: string; auth_uri: string; token_uri: string; auth_provider_x509_cert_url: string; client_x509_cert_url: string; } & { [key: string]: unknown; }; gcsSnowflakeIntegrationName: string; region: string; filesBucket: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; }; backends: { snowflake?: { id: number; host: string; region: string; owner: string; technicalOwner: string; } | undefined; synapse?: { id: number; host: string; owner: string; technicalOwner: string; } | undefined; exasol?: { id: number; host: string; region: string; owner: string; technicalOwner: string; } | undefined; teradata?: { id: number; host: string; region: string; owner: string; technicalOwner: string; } | undefined; bigquery?: { id: number; credentials: { [key: string]: unknown; }; folderId: string; owner: string; technicalOwner: string; } | undefined; }; })[]>`
|
|
113
113
|
- `api.management.organizations.getOrganizationProjectsUsers(organizationId: number, signal?: AbortSignal | undefined): Promise<{ id: number; name: string; email: string; mfaEnabled: boolean; features: string[]; canAccessLogs: boolean; isSuperAdmin: boolean; }[]>`
|
|
114
114
|
- `api.management.organizations.getOrganizationUsers(organizationId: number, signal?: AbortSignal | undefined): Promise<{ id: number; name: string; email: string; mfaEnabled: boolean; features: string[]; canAccessLogs: boolean; isSuperAdmin: boolean; }[]>`
|
|
115
115
|
- `api.management.organizations.getOrganizations(signal?: AbortSignal | undefined): Promise<{ id: number; name: string; created: string; allowAutoJoin: boolean; crmId: string; activityCenterProjectId: number | null; mfaRequired: boolean; maintainer: { id: number; name: string; created: string; defaultConnectionMysqlId: number | null; defaultConnectionSnowflakeId: number | null; defaultConnectionSynapseId: number | null; defaultConnectionExasolId: number | null; defaultConnectionBigqueryId: number | null; defaultConnectionTeradataId: number | null; defaultFileStorageId: number | null; zendeskUrl: string | null; }; }[]>`
|
|
@@ -136,39 +136,39 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
136
136
|
|
|
137
137
|
### `api.management.projects`
|
|
138
138
|
|
|
139
|
-
- `api.management.projects.addProjectFeature({ projectId,
|
|
139
|
+
- `api.management.projects.addProjectFeature({ projectId, ...body }: CreateProjectFeatureInput): Promise<{ id: number; name: string; type: string; region: string; created: string | null; expires: string | null; features: string[]; dataSizeBytes: number; rowsCount: number; hasMysql: boolean; hasSynapse: boolean; hasSnowflake: boolean; hasExasol: boolean; hasTeradata: boolean; hasBigquery: boolean; defaultBackend: string; hasTryModeOn: string; limits: { [key: string]: { name: string; value: number; }; }; metrics: { [key: string]: { name: string; value: number; }; }; isDisabled: boolean; billedMonthlyPrice: number | null; dataRetentionTimeInDays: number; isBYODB: boolean; assignedBackends: string[]; fileStorageProvider?: string | undefined; usersCount: number; timezone: string | null; payAsYouGo?: { purchasedCredits: number; } | undefined; disabled?: { reason: string; estimatedEndTime: string | null; } | undefined; } & { warnings?: { code?: string | undefined; message?: string | undefined; }[] | undefined; }>`
|
|
140
140
|
- `api.management.projects.addProjectTemplateFeature({ templateId, ...body }: AssignProjectTemplateFeatureInput): Promise<void>`
|
|
141
|
-
- `api.management.projects.addProjectUser({ projectId, ...body }:
|
|
142
|
-
- `api.management.projects.approveProjectJoinRequest({ projectId, joinRequestId, }:
|
|
143
|
-
- `api.management.projects.changeProjectUserRole({ projectId, userId,
|
|
144
|
-
- `api.management.projects.createProjectInvitation({ projectId, ...body }:
|
|
141
|
+
- `api.management.projects.addProjectUser({ projectId, ...body }: AddProjectUserInput): Promise<null>`
|
|
142
|
+
- `api.management.projects.approveProjectJoinRequest({ projectId, joinRequestId, }: { projectId: number; joinRequestId: number; }): Promise<null>`
|
|
143
|
+
- `api.management.projects.changeProjectUserRole({ projectId, userId, ...body }: ChangeProjectUserRoleInput): Promise<User>`
|
|
144
|
+
- `api.management.projects.createProjectInvitation({ projectId, ...body }: CreateProjectInvitationInput): Promise<{ id: number; created: string; expires: string | null; reason: string | null; role: string | null; user: { id: number; name: string; email: string; }; creator: { id: number; name: string; email: string; }; }>`
|
|
145
145
|
- `api.management.projects.deleteProject(projectId: number): Promise<null>`
|
|
146
|
-
- `api.management.projects.deleteProjectInvitation({ projectId, invitationId, }:
|
|
146
|
+
- `api.management.projects.deleteProjectInvitation({ projectId, invitationId, }: { projectId: number; invitationId: number; }): Promise<null>`
|
|
147
147
|
- `api.management.projects.deleteProjectMetadata({ projectId, metadataId }: { projectId: number; metadataId: number; }): Promise<void>`
|
|
148
|
-
- `api.management.projects.getProject(projectId: string | number, signal?: AbortSignal | undefined): Promise<
|
|
149
|
-
- `api.management.projects.getProjectInvitation({ projectId, invitationId }:
|
|
148
|
+
- `api.management.projects.getProject(projectId: string | number, signal?: AbortSignal | undefined): Promise<{ id: number; name: string; type: string; region: string; created: string | null; expires: string | null; features: string[]; dataSizeBytes: number; rowsCount: number; hasMysql: boolean; hasSynapse: boolean; hasSnowflake: boolean; hasExasol: boolean; hasTeradata: boolean; hasBigquery: boolean; defaultBackend: string; hasTryModeOn: string; limits: { [key: string]: { name: string; value: number; }; }; metrics: { [key: string]: { name: string; value: number; }; }; isDisabled: boolean; billedMonthlyPrice: number | null; dataRetentionTimeInDays: number; isBYODB: boolean; assignedBackends: string[]; fileStorageProvider?: string | undefined; usersCount: number; timezone: string | null; payAsYouGo?: { purchasedCredits: number; } | undefined; disabled?: { reason: string; estimatedEndTime: string | null; } | undefined; } & { organization: { id: number; name: string; crmId: string; activityCenterProjectId: number | null; created: string; allowAutoJoin: boolean; mfaRequired: boolean; }; fileStorage: { id: number; awsKey: string; region: string; filesBucket: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; } | { id: number; accountName: string; region: string; containerName: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; } | { id: number; gcsCredentials: { type: string; project_id: string; private_key_id: string; client_email: string; client_id: string; auth_uri: string; token_uri: string; auth_provider_x509_cert_url: string; client_x509_cert_url: string; } & { [key: string]: unknown; }; gcsSnowflakeIntegrationName: string; region: string; filesBucket: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; }; backends: { snowflake?: { id: number; host: string; region: string; owner: string; technicalOwner: string; } | undefined; synapse?: { id: number; host: string; owner: string; technicalOwner: string; } | undefined; exasol?: { id: number; host: string; region: string; owner: string; technicalOwner: string; } | undefined; teradata?: { id: number; host: string; region: string; owner: string; technicalOwner: string; } | undefined; bigquery?: { id: number; credentials: { [key: string]: unknown; }; folderId: string; owner: string; technicalOwner: string; } | undefined; }; }>`
|
|
149
|
+
- `api.management.projects.getProjectInvitation({ projectId, invitationId }: { projectId: number; invitationId: number; }, signal?: AbortSignal | undefined): Promise<{ id: number; created: string; expires: string | null; reason: string | null; role: string | null; user: { id: number; name: string; email: string; }; creator: { id: number; name: string; email: string; }; }>`
|
|
150
150
|
- `api.management.projects.getProjectInvitations(projectId: string | number, signal?: AbortSignal | undefined): Promise<{ id: number; created: string; expires: string | null; reason: string | null; role: string | null; user: { id: number; name: string; email: string; }; creator: { id: number; name: string; email: string; }; }[]>`
|
|
151
|
-
- `api.management.projects.getProjectJoinRequest({ projectId, joinRequestId }:
|
|
152
|
-
- `api.management.projects.getProjectJoinRequests(projectId: string | number, signal?: AbortSignal | undefined): Promise<{ id: number; created: string; expires: string | null; reason: string | null; user
|
|
153
|
-
- `api.management.projects.getProjectMetadata(projectId: number, signal?: AbortSignal | undefined): Promise<{ id: number;
|
|
154
|
-
- `api.management.projects.getProjectReviewers(projectId: number, signal?: AbortSignal | undefined): Promise<
|
|
151
|
+
- `api.management.projects.getProjectJoinRequest({ projectId, joinRequestId }: { projectId: number; joinRequestId: number; }, signal?: AbortSignal | undefined): Promise<{ id: number; created: string; expires: string | null; reason: string | null; user: { id: number; name: string; email: string; }; }>`
|
|
152
|
+
- `api.management.projects.getProjectJoinRequests(projectId: string | number, signal?: AbortSignal | undefined): Promise<{ id: number; created: string; expires: string | null; reason: string | null; user: { id: number; name: string; email: string; }; }[]>`
|
|
153
|
+
- `api.management.projects.getProjectMetadata(projectId: number, signal?: AbortSignal | undefined): Promise<{ id: number; key: string; value: string | null; provider: string; timestamp: string; }[]>`
|
|
154
|
+
- `api.management.projects.getProjectReviewers(projectId: number, signal?: AbortSignal | undefined): Promise<{ id: number; name: string; email: string; }[]>`
|
|
155
155
|
- `api.management.projects.getProjectTemplate(templateId: string, signal?: AbortSignal | undefined): Promise<{ id: string; name: string; description: string; expirationDays: number | null; billedMonthlyPrice: number | null; hasTryModeOn: boolean; defaultBackend: string; }>`
|
|
156
156
|
- `api.management.projects.getProjectTemplateFeatures(templateId: string, signal?: AbortSignal | undefined): Promise<{ id?: number | undefined; name?: string | undefined; type?: string | undefined; title?: string | undefined; description?: string | undefined; created?: string | undefined; }[]>`
|
|
157
157
|
- `api.management.projects.getProjectTemplates(signal?: AbortSignal | undefined): Promise<{ id: string; name: string; description: string; expirationDays: number | null; billedMonthlyPrice: number | null; hasTryModeOn: boolean; defaultBackend: string; }[]>`
|
|
158
|
-
- `api.management.projects.getProjectUsers(projectId: string | number, signal?: AbortSignal | undefined): Promise<
|
|
158
|
+
- `api.management.projects.getProjectUsers(projectId: string | number, signal?: AbortSignal | undefined): Promise<({ id: number; name: string; email: string; mfaEnabled: boolean; features: string[]; canAccessLogs: boolean; isSuperAdmin: boolean; } & { expires: string | null; created: string | null; reason: string | null; role: "readOnly" | "admin" | "guest" | "share" | "developer" | "reviewer" | "productionManager"; status: "active"; invitor: { id: number; name: string; email: string; } | null; approver: { id: number; name: string; email: string; } | null; canApproveMergeRequests: boolean; isOrganizationMember: boolean; })[]>`
|
|
159
159
|
- `api.management.projects.joinProject({ projectId, ...body }: JoinProjectInput): Promise<void>`
|
|
160
|
-
- `api.management.projects.moveProject({ projectId, organizationId }: MoveProjectInput): Promise<
|
|
161
|
-
- `api.management.projects.rejectProjectJoinRequest({ projectId, joinRequestId }:
|
|
162
|
-
- `api.management.projects.removeProjectFeature({ projectId, feature }:
|
|
160
|
+
- `api.management.projects.moveProject({ projectId, organizationId }: MoveProjectInput): Promise<{ id: number; name: string; type: string; region: string; created: string | null; expires: string | null; features: string[]; dataSizeBytes: number; rowsCount: number; hasMysql: boolean; hasSynapse: boolean; hasSnowflake: boolean; hasExasol: boolean; hasTeradata: boolean; hasBigquery: boolean; defaultBackend: string; hasTryModeOn: string; limits: { [key: string]: { name: string; value: number; }; }; metrics: { [key: string]: { name: string; value: number; }; }; isDisabled: boolean; billedMonthlyPrice: number | null; dataRetentionTimeInDays: number; isBYODB: boolean; assignedBackends: string[]; fileStorageProvider?: string | undefined; usersCount: number; timezone: string | null; payAsYouGo?: { purchasedCredits: number; } | undefined; disabled?: { reason: string; estimatedEndTime: string | null; } | undefined; }>`
|
|
161
|
+
- `api.management.projects.rejectProjectJoinRequest({ projectId, joinRequestId, }: { projectId: number; joinRequestId: number; }): Promise<null>`
|
|
162
|
+
- `api.management.projects.removeProjectFeature({ projectId, feature }: { projectId: number; feature: string; }): Promise<null>`
|
|
163
163
|
- `api.management.projects.removeProjectLimit({ projectId, limitName }: { projectId: number; limitName: string; }): Promise<void>`
|
|
164
164
|
- `api.management.projects.removeProjectTemplateFeature({ templateId, featureName, }: { templateId: string; featureName: string; }): Promise<void>`
|
|
165
165
|
- `api.management.projects.removeProjectUser({ projectId, idOrEmail }: RemoveProjectUserPath): Promise<null>`
|
|
166
|
-
- `api.management.projects.requestProjectAccess({ projectId, ...body }: RequestProjectAccessInput): Promise<{ id: number; created: string; expires: string | null; reason: string | null;
|
|
167
|
-
- `api.management.projects.setProjectDisabled({ projectId, ...body }: SetProjectDisabledInput): Promise<
|
|
168
|
-
- `api.management.projects.setProjectLimits({ projectId, ...body }: SetProjectLimitsInput): Promise<
|
|
169
|
-
- `api.management.projects.setProjectMetadata({ projectId,
|
|
170
|
-
- `api.management.projects.setProjectReviewers({ projectId,
|
|
171
|
-
- `api.management.projects.updateProject({ projectId, ...body }: UpdateProjectInput): Promise<
|
|
166
|
+
- `api.management.projects.requestProjectAccess({ projectId, ...body }: RequestProjectAccessInput): Promise<{ id: number; created: string; expires: string | null; reason: string | null; project: { id: number; name: string; }; }>`
|
|
167
|
+
- `api.management.projects.setProjectDisabled({ projectId, ...body }: SetProjectDisabledInput): Promise<{ id: number; name: string; type: string; region: string; created: string | null; expires: string | null; features: string[]; dataSizeBytes: number; rowsCount: number; hasMysql: boolean; hasSynapse: boolean; hasSnowflake: boolean; hasExasol: boolean; hasTeradata: boolean; hasBigquery: boolean; defaultBackend: string; hasTryModeOn: string; limits: { [key: string]: { name: string; value: number; }; }; metrics: { [key: string]: { name: string; value: number; }; }; isDisabled: boolean; billedMonthlyPrice: number | null; dataRetentionTimeInDays: number; isBYODB: boolean; assignedBackends: string[]; fileStorageProvider?: string | undefined; usersCount: number; timezone: string | null; payAsYouGo?: { purchasedCredits: number; } | undefined; disabled?: { reason: string; estimatedEndTime: string | null; } | undefined; }>`
|
|
168
|
+
- `api.management.projects.setProjectLimits({ projectId, ...body }: SetProjectLimitsInput): Promise<{ id: number; name: string; type: string; region: string; created: string | null; expires: string | null; features: string[]; dataSizeBytes: number; rowsCount: number; hasMysql: boolean; hasSynapse: boolean; hasSnowflake: boolean; hasExasol: boolean; hasTeradata: boolean; hasBigquery: boolean; defaultBackend: string; hasTryModeOn: string; limits: { [key: string]: { name: string; value: number; }; }; metrics: { [key: string]: { name: string; value: number; }; }; isDisabled: boolean; billedMonthlyPrice: number | null; dataRetentionTimeInDays: number; isBYODB: boolean; assignedBackends: string[]; fileStorageProvider?: string | undefined; usersCount: number; timezone: string | null; payAsYouGo?: { purchasedCredits: number; } | undefined; disabled?: { reason: string; estimatedEndTime: string | null; } | undefined; } & { organization: { id: number; name: string; crmId: string; activityCenterProjectId: number | null; created: string; allowAutoJoin: boolean; mfaRequired: boolean; }; fileStorage: { id: number; awsKey: string; region: string; filesBucket: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; } | { id: number; accountName: string; region: string; containerName: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; } | { id: number; gcsCredentials: { type: string; project_id: string; private_key_id: string; client_email: string; client_id: string; auth_uri: string; token_uri: string; auth_provider_x509_cert_url: string; client_x509_cert_url: string; } & { [key: string]: unknown; }; gcsSnowflakeIntegrationName: string; region: string; filesBucket: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; }; backends: { snowflake?: { id: number; host: string; region: string; owner: string; technicalOwner: string; } | undefined; synapse?: { id: number; host: string; owner: string; technicalOwner: string; } | undefined; exasol?: { id: number; host: string; region: string; owner: string; technicalOwner: string; } | undefined; teradata?: { id: number; host: string; region: string; owner: string; technicalOwner: string; } | undefined; bigquery?: { id: number; credentials: { [key: string]: unknown; }; folderId: string; owner: string; technicalOwner: string; } | undefined; }; }>`
|
|
169
|
+
- `api.management.projects.setProjectMetadata({ projectId, ...body }: SetProjectMetadataInput): Promise<{ id: number; provider: string; timestamp: string; key: string; value: string; }[]>`
|
|
170
|
+
- `api.management.projects.setProjectReviewers({ projectId, ...body }: SetProjectReviewersInput): Promise<void>`
|
|
171
|
+
- `api.management.projects.updateProject({ projectId, ...body }: UpdateProjectInput): Promise<{ id: number; name: string; type: string; region: string; created: string | null; expires: string | null; features: string[]; dataSizeBytes: number; rowsCount: number; hasMysql: boolean; hasSynapse: boolean; hasSnowflake: boolean; hasExasol: boolean; hasTeradata: boolean; hasBigquery: boolean; defaultBackend: string; hasTryModeOn: string; limits: { [key: string]: { name: string; value: number; }; }; metrics: { [key: string]: { name: string; value: number; }; }; isDisabled: boolean; billedMonthlyPrice: number | null; dataRetentionTimeInDays: number; isBYODB: boolean; assignedBackends: string[]; fileStorageProvider?: string | undefined; usersCount: number; timezone: string | null; payAsYouGo?: { purchasedCredits: number; } | undefined; disabled?: { reason: string; estimatedEndTime: string | null; } | undefined; }>`
|
|
172
172
|
|
|
173
173
|
### `api.management.search`
|
|
174
174
|
|
|
@@ -211,7 +211,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
211
211
|
- `api.management.users.disableUserMfa(id: number, signal?: AbortSignal | undefined): Promise<void>`
|
|
212
212
|
- `api.management.users.getUser(id: number, signal?: AbortSignal | undefined): Promise<{ id: number; name: string; email: string; mfaEnabled: boolean; features: string[]; canAccessLogs: boolean; isSuperAdmin: boolean; }>`
|
|
213
213
|
- `api.management.users.getUserMaintainers(id: number, signal?: AbortSignal | undefined): Promise<{ maintainer: { id: number; name: string | null; }; }[]>`
|
|
214
|
-
- `api.management.users.getUserMetadata(id: number, signal?: AbortSignal | undefined): Promise<{ id: number;
|
|
214
|
+
- `api.management.users.getUserMetadata(id: number, signal?: AbortSignal | undefined): Promise<{ id: number; key: string; value: string | null; provider: string; timestamp: string; }[]>`
|
|
215
215
|
- `api.management.users.getUserOrganizations(id: number, signal?: AbortSignal | undefined): Promise<{ organization: { id: number; name: string; }; created: string | null; invitedBy: { id: number; name: string; email: string; } | null; maintainer: { id: number; name: string | null; }; }[]>`
|
|
216
216
|
- `api.management.users.getUserProjects(id: number, signal?: AbortSignal | undefined): Promise<{ project: { id: number; name: string; }; role: string; status: string; expires: string | null; created: string | null; reason: string; invitedBy: { id: number; name: string; email: string; } | null; }[]>`
|
|
217
217
|
- `api.management.users.getUsers(query?: { q?: string | null | undefined; limit?: number | null | undefined; offset?: number | null | undefined; } | undefined, signal?: AbortSignal | undefined): Promise<{ id: number; name: string; email: string; mfaEnabled: boolean; features: string[]; canAccessLogs: boolean; isSuperAdmin: boolean; organizationsCount: number; projectsCount: number; maintainersCount: number; }[]>`
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"componentId-Cps6WBy1.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_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_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,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,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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"componentId-_tRhEv6W.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_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_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,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,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"}
|