@keboola/api-client 52.0.0 → 54.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/AGENTS.md +33 -6
- package/API-SURFACE.md +5 -1
- package/CHANGELOG.md +39 -0
- package/README.md +1 -1
- package/dist/{admin-Di-MmGFP.cjs → admin-BZ7knTd0.cjs} +18 -2
- package/dist/admin-BZ7knTd0.cjs.map +1 -0
- package/dist/{admin-CbMOsfgs.js → admin-xFfHSZHQ.js} +13 -3
- package/dist/admin-xFfHSZHQ.js.map +1 -0
- package/dist/{componentId-DZP1rBix.js → componentId-Cps6WBy1.js} +1 -2
- package/dist/{componentId-DZP1rBix.js.map → componentId-Cps6WBy1.js.map} +1 -1
- package/dist/{componentId-olp0tltf.cjs → componentId-_tRhEv6W.cjs} +1 -2
- package/dist/{componentId-olp0tltf.cjs.map → componentId-_tRhEv6W.cjs.map} +1 -1
- package/dist/{configurations-WI8H4zLk.cjs → configurations-BM63ep1s.cjs} +2 -2
- package/dist/{configurations-WI8H4zLk.cjs.map → configurations-BM63ep1s.cjs.map} +1 -1
- package/dist/{configurations-Cd6Nsox-.js → configurations-BqvtIQm4.js} +2 -2
- package/dist/{configurations-Cd6Nsox-.js.map → configurations-BqvtIQm4.js.map} +1 -1
- package/dist/constants/index.cjs +4 -3
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +3 -2
- package/dist/{constants-Dqi0ewGv.js → constants-DLPkpnGv.js} +4 -32
- package/dist/{constants-Dqi0ewGv.js.map → constants-DLPkpnGv.js.map} +1 -1
- package/dist/{constants-d0Do9NSN.cjs → constants-Day8CU5i.cjs} +3 -37
- package/dist/{constants-d0Do9NSN.cjs.map → constants-Day8CU5i.cjs.map} +1 -1
- package/dist/domain/permissions/index.cjs +4 -3
- package/dist/domain/permissions/index.d.cts +9 -1
- package/dist/domain/permissions/index.d.ts +9 -1
- package/dist/domain/permissions/index.js +4 -4
- 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-Df8lZNSH.d.cts → index-B04rWq_0.d.cts} +2 -2
- package/dist/{index-B7el5pJU.d.cts → index-BtvWJBYh.d.cts} +20 -7
- package/dist/{index-B5rELADq.d.cts → index-Cd0naVic.d.cts} +2 -2
- package/dist/{index-CveF5RFQ.d.ts → index-DCfumWzq.d.ts} +2 -2
- package/dist/{index-81wn1jc3.d.cts → index-DX7qciZA.d.cts} +36 -2
- package/dist/{index-Dhyrg5zd.d.ts → index-DbStyQKc.d.ts} +2 -2
- package/dist/{index-C7JcNvbd.d.ts → index-Df30jjpZ.d.ts} +20 -7
- package/dist/{index-JoKfPQND.d.ts → index-DzqHh0lE.d.ts} +36 -2
- package/dist/index.cjs +9 -9
- 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 +7 -7
- 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-Cz5ut18k.js → management-BAfg8BmK.js} +45 -4
- package/dist/management-BAfg8BmK.js.map +1 -0
- package/dist/{management-CUXgB2rb.cjs → management-BuNIc7Mr.cjs} +45 -4
- package/dist/management-BuNIc7Mr.cjs.map +1 -0
- package/dist/metaObject-CSGF3d-o.js +53 -0
- package/dist/metaObject-CSGF3d-o.js.map +1 -0
- package/dist/metaObject-Ciyow2gr.cjs +64 -0
- package/dist/metaObject-Ciyow2gr.cjs.map +1 -0
- package/dist/metaObject-ClvW342q.d.ts +35 -0
- package/dist/metaObject-D7oudegV.d.cts +35 -0
- package/dist/oauth/index.cjs +2 -1
- package/dist/oauth/index.d.cts +34 -2
- package/dist/oauth/index.d.ts +34 -2
- 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-CSBChWuf.cjs → oauth-CXcrilOp.cjs} +47 -1
- package/dist/oauth-CXcrilOp.cjs.map +1 -0
- package/dist/{oauth-DOveZKUv.js → oauth-Ci0qeaS2.js} +43 -3
- package/dist/oauth-Ci0qeaS2.js.map +1 -0
- package/dist/{project-Onf-IcPW.cjs → project-BQ2oD6IW.cjs} +2 -2
- package/dist/{project-Onf-IcPW.cjs.map → project-BQ2oD6IW.cjs.map} +1 -1
- package/dist/{project-DmuC0bMK.js → project-aAVAOcmx.js} +2 -2
- package/dist/{project-DmuC0bMK.js.map → project-aAVAOcmx.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/queryService-B4h1Ez44.cjs +117 -0
- package/dist/queryService-B4h1Ez44.cjs.map +1 -0
- package/dist/queryService-DE_yE_S4.js +106 -0
- package/dist/queryService-DE_yE_S4.js.map +1 -0
- package/dist/queue/index.d.cts +1 -1
- package/dist/queue/index.d.ts +1 -1
- package/dist/readJwtClaims-CMZ3cNC_.js +28 -0
- package/dist/readJwtClaims-CMZ3cNC_.js.map +1 -0
- package/dist/readJwtClaims-SVJgo04x.cjs +33 -0
- package/dist/readJwtClaims-SVJgo04x.cjs.map +1 -0
- package/dist/sdk/configurations/index.cjs +2 -2
- package/dist/sdk/configurations/index.d.cts +2 -2
- package/dist/sdk/configurations/index.d.ts +2 -2
- package/dist/sdk/configurations/index.js +2 -2
- package/dist/sdk/dataAppServer/index.cjs +230 -0
- package/dist/sdk/dataAppServer/index.cjs.map +1 -0
- package/dist/sdk/dataAppServer/index.d.cts +55 -0
- package/dist/sdk/dataAppServer/index.d.ts +55 -0
- package/dist/sdk/dataAppServer/index.js +228 -0
- package/dist/sdk/dataAppServer/index.js.map +1 -0
- package/dist/sdk/developerPortal/index.cjs +3 -15
- package/dist/sdk/developerPortal/index.cjs.map +1 -1
- package/dist/sdk/developerPortal/index.js +3 -15
- package/dist/sdk/developerPortal/index.js.map +1 -1
- package/dist/sdk/queryService/index.cjs +3 -70
- package/dist/sdk/queryService/index.d.cts +2 -2
- package/dist/sdk/queryService/index.d.ts +2 -2
- package/dist/sdk/queryService/index.js +1 -70
- package/dist/sdk/securityPolicy/index.cjs +355 -0
- package/dist/sdk/securityPolicy/index.cjs.map +1 -0
- package/dist/sdk/securityPolicy/index.d.cts +100 -0
- package/dist/sdk/securityPolicy/index.d.ts +100 -0
- package/dist/sdk/securityPolicy/index.js +342 -0
- package/dist/sdk/securityPolicy/index.js.map +1 -0
- package/dist/sdk/securityPolicy/types.cjs +0 -0
- package/dist/sdk/securityPolicy/types.d.cts +2 -0
- package/dist/sdk/securityPolicy/types.d.ts +2 -0
- package/dist/sdk/securityPolicy/types.js +1 -0
- package/dist/sdk/semanticLayer/index.cjs +3 -2
- package/dist/sdk/semanticLayer/index.d.cts +8 -3
- package/dist/sdk/semanticLayer/index.d.ts +8 -3
- package/dist/sdk/semanticLayer/index.js +3 -1
- package/dist/sdk/semanticLayer/types.d.cts +1 -1
- package/dist/sdk/semanticLayer/types.d.ts +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/{semanticLayer-djom-J78.cjs → semanticLayer-BVpdWKJn.cjs} +19 -52
- package/dist/semanticLayer-BVpdWKJn.cjs.map +1 -0
- package/dist/{semanticLayer-BdPW_wLo.js → semanticLayer-Btj1Qy9O.js} +20 -47
- package/dist/semanticLayer-Btj1Qy9O.js.map +1 -0
- package/dist/serviceIds-Bg1pWiPE.cjs +37 -0
- package/dist/serviceIds-Bg1pWiPE.cjs.map +1 -0
- package/dist/serviceIds-RAVtP4nK.js +32 -0
- package/dist/serviceIds-RAVtP4nK.js.map +1 -0
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/types.d.cts +2 -2
- package/dist/storage/types.d.ts +2 -2
- package/dist/syncActions/index.cjs +1 -1
- package/dist/syncActions/index.js +1 -1
- package/dist/{syncActions-DToUhyP3.cjs → syncActions-CR7xvuIv.cjs} +2 -2
- package/dist/{syncActions-DToUhyP3.cjs.map → syncActions-CR7xvuIv.cjs.map} +1 -1
- package/dist/{syncActions-DV_aObTQ.js → syncActions-CU4cIGRf.js} +2 -2
- package/dist/{syncActions-DV_aObTQ.js.map → syncActions-CU4cIGRf.js.map} +1 -1
- package/dist/{types-CLtYOszN.d.cts → types-B7FKoyfy.d.cts} +442 -2
- package/dist/{types-iU1Sc1IM.d.ts → types-BDgOF2WN.d.ts} +6 -29
- package/dist/types-BXKL0wTI.d.cts +85 -0
- package/dist/{types-Ey59ZILC.d.ts → types-COb2O9c1.d.ts} +442 -2
- package/dist/{types-DjWubjvP.d.cts → types-CaBcgsT2.d.cts} +121 -53
- package/dist/{types-BljDxuWG.d.cts → types-DCARsJWs.d.cts} +6 -29
- package/dist/{types-CsVRsObb.d.ts → types-DFcj9YyQ.d.ts} +121 -53
- package/dist/types-DK1bSUNr.d.ts +85 -0
- package/package.json +40 -1
- package/surface/management.md +5 -0
- package/surface/sdk.md +2 -0
- package/dist/admin-CbMOsfgs.js.map +0 -1
- package/dist/admin-Di-MmGFP.cjs.map +0 -1
- package/dist/management-CUXgB2rb.cjs.map +0 -1
- package/dist/management-Cz5ut18k.js.map +0 -1
- package/dist/oauth-CSBChWuf.cjs.map +0 -1
- package/dist/oauth-DOveZKUv.js.map +0 -1
- package/dist/sdk/queryService/index.cjs.map +0 -1
- package/dist/sdk/queryService/index.js.map +0 -1
- package/dist/semanticLayer-BdPW_wLo.js.map +0 -1
- package/dist/semanticLayer-djom-J78.cjs.map +0 -1
|
@@ -706,6 +706,43 @@ type paths = {
|
|
|
706
706
|
patch: operations['patch_/manage/file-storage/{fileStorageId}::FileStorageUpdateAction'];
|
|
707
707
|
trace?: never;
|
|
708
708
|
};
|
|
709
|
+
'/manage/file-storage/{fileStorageId}/projects': {
|
|
710
|
+
parameters: {
|
|
711
|
+
query?: never;
|
|
712
|
+
header?: never;
|
|
713
|
+
path?: never;
|
|
714
|
+
cookie?: never;
|
|
715
|
+
};
|
|
716
|
+
/**
|
|
717
|
+
* List file storage projects
|
|
718
|
+
* @description Lists the projects that use a file storage of any provider and block deleting it: every project
|
|
719
|
+
* assigned to it that is not purged, deleted projects awaiting purge included (`isDeleted`).
|
|
720
|
+
*
|
|
721
|
+
* Returns a cursor-paginated collection: `data` holds the projects on the page, `meta` the `total`
|
|
722
|
+
* regardless of pagination, the applied `limit` and the structure of the `cursor`, and `links` absolute
|
|
723
|
+
* URLs of this endpoint (`self`, `first`, `next`). `next` is `null` on the last page.
|
|
724
|
+
*
|
|
725
|
+
* #### Pagination
|
|
726
|
+
*
|
|
727
|
+
* Projects are ordered `id ASC`.
|
|
728
|
+
*
|
|
729
|
+
* * *page[limit]* - number of returned projects; default value: 20, maximum: 1000
|
|
730
|
+
* * *page[after]* - cursor of the last project already read; omit it for the first page.
|
|
731
|
+
* It is the base64url (padding optional) of the JSON object `{"id": <integer>}` holding that project's `id`,
|
|
732
|
+
* e.g. `{"id":101}` → `eyJpZCI6MTAxfQ`. `links.next` already carries the cursor of the page's last project;
|
|
733
|
+
* `meta.cursor` repeats this structure.
|
|
734
|
+
*
|
|
735
|
+
* An undecodable cursor, bare `limit` / `offset`, `page[offset]` and any `filter[...]` are rejected with a validation error.
|
|
736
|
+
*/
|
|
737
|
+
get: operations['get_/manage/file-storage/{fileStorageId}/projects::FileStorageProjectListAction'];
|
|
738
|
+
put?: never;
|
|
739
|
+
post?: never;
|
|
740
|
+
delete?: never;
|
|
741
|
+
options?: never;
|
|
742
|
+
head?: never;
|
|
743
|
+
patch?: never;
|
|
744
|
+
trace?: never;
|
|
745
|
+
};
|
|
709
746
|
'/manage/file-storage-gcs': {
|
|
710
747
|
parameters: {
|
|
711
748
|
query?: never;
|
|
@@ -2236,6 +2273,66 @@ type paths = {
|
|
|
2236
2273
|
patch: operations['patch_/manage/projects/{projectId}/users/{userId}::ProjectUpdateAdministratorAction'];
|
|
2237
2274
|
trace?: never;
|
|
2238
2275
|
};
|
|
2276
|
+
'/manage/search': {
|
|
2277
|
+
parameters: {
|
|
2278
|
+
query?: never;
|
|
2279
|
+
header?: never;
|
|
2280
|
+
path?: never;
|
|
2281
|
+
cookie?: never;
|
|
2282
|
+
};
|
|
2283
|
+
/**
|
|
2284
|
+
* Search projects, organizations, maintainers and users
|
|
2285
|
+
* @description Looks up the entities an admin navigates to across the whole stack, by name (and email for users).
|
|
2286
|
+
*
|
|
2287
|
+
* #### Access
|
|
2288
|
+
*
|
|
2289
|
+
* Each type is searched only when the caller may read it; a type it may not read is **absent** from the
|
|
2290
|
+
* response, not an empty collection, so "not allowed" and "no hits" can be told apart.
|
|
2291
|
+
*
|
|
2292
|
+
* * super admin — every type
|
|
2293
|
+
* * `project`, `organization`, `maintainer` — any L1 support feature (such as `can-manage-features`
|
|
2294
|
+
* or `can-disable-projects`)
|
|
2295
|
+
* * `user` — feature `can-manage-users` (the rule of `GET /manage/users`)
|
|
2296
|
+
*
|
|
2297
|
+
* Any other admin gets 403; membership in a project, organization or maintainer grants nothing here.
|
|
2298
|
+
* Admin and session tokens are accepted.
|
|
2299
|
+
*
|
|
2300
|
+
* #### Matching
|
|
2301
|
+
*
|
|
2302
|
+
* * *q* - required, trimmed, 2 to 255 characters. Matched as a case-insensitive substring of the name,
|
|
2303
|
+
* and of the email for users. `%` and `_` match themselves. An all-digit `q` also matches the row with
|
|
2304
|
+
* that exact `id`.
|
|
2305
|
+
* * Deleted projects, organizations and maintainers and anonymized users are never found. Disabled
|
|
2306
|
+
* projects are found and carry `isDisabled: true`.
|
|
2307
|
+
* * *filter[types]* - comma-separated subset of `project`, `organization`, `maintainer`, `user`;
|
|
2308
|
+
* omitted, every type the caller may read is searched. A listed type the caller may not read is
|
|
2309
|
+
* left out like an unlisted one.
|
|
2310
|
+
*
|
|
2311
|
+
* #### Ranking and pagination
|
|
2312
|
+
*
|
|
2313
|
+
* Each type is its own cursor-paginated collection (`data`, `meta`, `links`). Every item carries its
|
|
2314
|
+
* `rank`: `0` exact id match, `1` the name (or user email) starts with `q`, `2` any other match.
|
|
2315
|
+
* Items are ordered `rank ASC, id DESC`.
|
|
2316
|
+
*
|
|
2317
|
+
* * *page[limit]* - items returned per type; default value: 10, maximum: 50
|
|
2318
|
+
* * *page[after]* - cursor of the last item already read, for a single type: it requires exactly one
|
|
2319
|
+
* type in `filter[types]`. It is the base64url (padding optional) of `{"rank": <integer>, "id": <integer>}`
|
|
2320
|
+
* copied from that item, e.g. `{"rank":2,"id":4088}` → `eyJyYW5rIjoyLCJpZCI6NDA4OH0`.
|
|
2321
|
+
* Each type's `links.next` already carries its next page, with `filter[types]` narrowed to that type.
|
|
2322
|
+
*
|
|
2323
|
+
* A `q` that is missing or too short or long, an unknown or repeated type, an undecodable cursor,
|
|
2324
|
+
* `page[after]` without exactly one type, and bare `limit` / `offset` or `page[offset]` are rejected
|
|
2325
|
+
* with a validation error.
|
|
2326
|
+
*/
|
|
2327
|
+
get: operations['get_/manage/search::SearchAction'];
|
|
2328
|
+
put?: never;
|
|
2329
|
+
post?: never;
|
|
2330
|
+
delete?: never;
|
|
2331
|
+
options?: never;
|
|
2332
|
+
head?: never;
|
|
2333
|
+
patch?: never;
|
|
2334
|
+
trace?: never;
|
|
2335
|
+
};
|
|
2239
2336
|
'/manage/storage-backend/{backendId}/activate': {
|
|
2240
2337
|
parameters: {
|
|
2241
2338
|
query?: never;
|
|
@@ -3234,6 +3331,7 @@ type components = {
|
|
|
3234
3331
|
*/
|
|
3235
3332
|
accountKey: string;
|
|
3236
3333
|
};
|
|
3334
|
+
FileStorageUsageListRequest: Record<string, never>;
|
|
3237
3335
|
/** @description Partial update of a file storage; at least one of `owner`, `region` must be supplied. */
|
|
3238
3336
|
FileStorageUpdateRequest: {
|
|
3239
3337
|
/**
|
|
@@ -4925,6 +5023,28 @@ type components = {
|
|
|
4925
5023
|
name: string | null;
|
|
4926
5024
|
};
|
|
4927
5025
|
};
|
|
5026
|
+
FileStorageProjectListResponse: {
|
|
5027
|
+
/** @description Projects on the requested page. */
|
|
5028
|
+
data: {
|
|
5029
|
+
/**
|
|
5030
|
+
* @description Project identifier.
|
|
5031
|
+
* @example 771
|
|
5032
|
+
*/
|
|
5033
|
+
id: number;
|
|
5034
|
+
/**
|
|
5035
|
+
* @description Project name.
|
|
5036
|
+
* @example Test project
|
|
5037
|
+
*/
|
|
5038
|
+
name: string;
|
|
5039
|
+
/**
|
|
5040
|
+
* @description Whether the project is deleted and awaits purge.
|
|
5041
|
+
* @example false
|
|
5042
|
+
*/
|
|
5043
|
+
isDeleted: boolean;
|
|
5044
|
+
}[];
|
|
5045
|
+
meta: components['schemas']['PaginationMeta'];
|
|
5046
|
+
links: components['schemas']['PaginationLinks'];
|
|
5047
|
+
};
|
|
4928
5048
|
UserLoggedInResponse: {
|
|
4929
5049
|
id: number;
|
|
4930
5050
|
email: string;
|
|
@@ -6168,6 +6288,92 @@ type components = {
|
|
|
6168
6288
|
email: string;
|
|
6169
6289
|
} | null;
|
|
6170
6290
|
};
|
|
6291
|
+
ProjectSearchItem: {
|
|
6292
|
+
/**
|
|
6293
|
+
* @description Match rank: `0` exact id, `1` name prefix, `2` name substring.
|
|
6294
|
+
* @enum {integer}
|
|
6295
|
+
*/
|
|
6296
|
+
rank: 0 | 1 | 2;
|
|
6297
|
+
/** @example 4088 */
|
|
6298
|
+
id: number;
|
|
6299
|
+
/** @example Sales reporting */
|
|
6300
|
+
name: string;
|
|
6301
|
+
organization: {
|
|
6302
|
+
/** @example 123 */
|
|
6303
|
+
id: number;
|
|
6304
|
+
/** @example Acme */
|
|
6305
|
+
name: string;
|
|
6306
|
+
};
|
|
6307
|
+
/** @description The project is disabled; it is still found. */
|
|
6308
|
+
isDisabled: boolean;
|
|
6309
|
+
};
|
|
6310
|
+
OrganizationSearchItem: {
|
|
6311
|
+
/**
|
|
6312
|
+
* @description Match rank: `0` exact id, `1` name prefix, `2` name substring.
|
|
6313
|
+
* @enum {integer}
|
|
6314
|
+
*/
|
|
6315
|
+
rank: 0 | 1 | 2;
|
|
6316
|
+
/** @example 123 */
|
|
6317
|
+
id: number;
|
|
6318
|
+
/** @example Acme */
|
|
6319
|
+
name: string;
|
|
6320
|
+
maintainer: {
|
|
6321
|
+
/** @example 1 */
|
|
6322
|
+
id: number;
|
|
6323
|
+
/** @example Keboola */
|
|
6324
|
+
name: string | null;
|
|
6325
|
+
};
|
|
6326
|
+
};
|
|
6327
|
+
MaintainerSearchItem: {
|
|
6328
|
+
/**
|
|
6329
|
+
* @description Match rank: `0` exact id, `1` name prefix, `2` name substring.
|
|
6330
|
+
* @enum {integer}
|
|
6331
|
+
*/
|
|
6332
|
+
rank: 0 | 1 | 2;
|
|
6333
|
+
/** @example 1 */
|
|
6334
|
+
id: number;
|
|
6335
|
+
/** @example Keboola */
|
|
6336
|
+
name: string | null;
|
|
6337
|
+
};
|
|
6338
|
+
UserSearchItem: {
|
|
6339
|
+
/**
|
|
6340
|
+
* @description Match rank: `0` exact id, `1` name or email prefix, `2` name or email substring.
|
|
6341
|
+
* @enum {integer}
|
|
6342
|
+
*/
|
|
6343
|
+
rank: 0 | 1 | 2;
|
|
6344
|
+
/** @example 42 */
|
|
6345
|
+
id: number;
|
|
6346
|
+
/** @example John Doe */
|
|
6347
|
+
name: string;
|
|
6348
|
+
/** @example john.doe@keboola.com */
|
|
6349
|
+
email: string;
|
|
6350
|
+
};
|
|
6351
|
+
SearchResponse: {
|
|
6352
|
+
/** @description Projects matching `q`; absent when the caller may not read projects or `filter[types]` leaves them out. */
|
|
6353
|
+
project?: {
|
|
6354
|
+
data: components['schemas']['ProjectSearchItem'][];
|
|
6355
|
+
meta: components['schemas']['PaginationMeta'];
|
|
6356
|
+
links: components['schemas']['PaginationLinks'];
|
|
6357
|
+
};
|
|
6358
|
+
/** @description Organizations matching `q`; absent when the caller may not read organizations or `filter[types]` leaves them out. */
|
|
6359
|
+
organization?: {
|
|
6360
|
+
data: components['schemas']['OrganizationSearchItem'][];
|
|
6361
|
+
meta: components['schemas']['PaginationMeta'];
|
|
6362
|
+
links: components['schemas']['PaginationLinks'];
|
|
6363
|
+
};
|
|
6364
|
+
/** @description Maintainers matching `q`; absent when the caller may not read maintainers or `filter[types]` leaves them out. */
|
|
6365
|
+
maintainer?: {
|
|
6366
|
+
data: components['schemas']['MaintainerSearchItem'][];
|
|
6367
|
+
meta: components['schemas']['PaginationMeta'];
|
|
6368
|
+
links: components['schemas']['PaginationLinks'];
|
|
6369
|
+
};
|
|
6370
|
+
/** @description Users matching `q`; absent when the caller may not read users or `filter[types]` leaves them out. */
|
|
6371
|
+
user?: {
|
|
6372
|
+
data: components['schemas']['UserSearchItem'][];
|
|
6373
|
+
meta: components['schemas']['PaginationMeta'];
|
|
6374
|
+
links: components['schemas']['PaginationLinks'];
|
|
6375
|
+
};
|
|
6376
|
+
};
|
|
6171
6377
|
StorageBackendResponse: {
|
|
6172
6378
|
/** @description Root credentials identifier. */
|
|
6173
6379
|
id: number;
|
|
@@ -9051,6 +9257,110 @@ interface operations {
|
|
|
9051
9257
|
};
|
|
9052
9258
|
};
|
|
9053
9259
|
};
|
|
9260
|
+
'get_/manage/file-storage/{fileStorageId}/projects::FileStorageProjectListAction': {
|
|
9261
|
+
parameters: {
|
|
9262
|
+
query?: {
|
|
9263
|
+
/**
|
|
9264
|
+
* @description Pagination: `page[limit]` (default 20, maximum 1000) and `page[after]`, the cursor of the last row read — base64url(json) of `{"id": integer}`, rows ordered `id ASC`. Omit `page[after]` for the first page; `links.next` carries the next one.
|
|
9265
|
+
* @example {
|
|
9266
|
+
* "limit": 20
|
|
9267
|
+
* }
|
|
9268
|
+
*/
|
|
9269
|
+
page?: {
|
|
9270
|
+
/** @description base64url(json) of `{"id": integer}`. */
|
|
9271
|
+
after?: string;
|
|
9272
|
+
/** @default 20 */
|
|
9273
|
+
limit?: number;
|
|
9274
|
+
};
|
|
9275
|
+
};
|
|
9276
|
+
header?: never;
|
|
9277
|
+
path: {
|
|
9278
|
+
/**
|
|
9279
|
+
* @description Identifier of the file storage.
|
|
9280
|
+
* @example 12
|
|
9281
|
+
*/
|
|
9282
|
+
fileStorageId: number;
|
|
9283
|
+
};
|
|
9284
|
+
cookie?: never;
|
|
9285
|
+
};
|
|
9286
|
+
requestBody?: never;
|
|
9287
|
+
responses: {
|
|
9288
|
+
/** @description Projects using the file storage. */
|
|
9289
|
+
200: {
|
|
9290
|
+
headers: {
|
|
9291
|
+
[name: string]: unknown;
|
|
9292
|
+
};
|
|
9293
|
+
content: {
|
|
9294
|
+
/**
|
|
9295
|
+
* @example {
|
|
9296
|
+
* "data": [
|
|
9297
|
+
* {
|
|
9298
|
+
* "id": 101,
|
|
9299
|
+
* "name": "Test project",
|
|
9300
|
+
* "isDeleted": false
|
|
9301
|
+
* },
|
|
9302
|
+
* {
|
|
9303
|
+
* "id": 102,
|
|
9304
|
+
* "name": "Deleted project",
|
|
9305
|
+
* "isDeleted": true
|
|
9306
|
+
* }
|
|
9307
|
+
* ],
|
|
9308
|
+
* "meta": {
|
|
9309
|
+
* "total": 41,
|
|
9310
|
+
* "limit": 2,
|
|
9311
|
+
* "cursor": {
|
|
9312
|
+
* "param": "page[after]",
|
|
9313
|
+
* "encoding": "base64url(json)",
|
|
9314
|
+
* "fields": [
|
|
9315
|
+
* {
|
|
9316
|
+
* "name": "id",
|
|
9317
|
+
* "type": "integer",
|
|
9318
|
+
* "nullable": false
|
|
9319
|
+
* }
|
|
9320
|
+
* ],
|
|
9321
|
+
* "order": "id ASC"
|
|
9322
|
+
* }
|
|
9323
|
+
* },
|
|
9324
|
+
* "links": {
|
|
9325
|
+
* "self": "https://connection.keboola.com/manage/file-storage/12/projects?page[limit]=2",
|
|
9326
|
+
* "first": "https://connection.keboola.com/manage/file-storage/12/projects?page[limit]=2",
|
|
9327
|
+
* "next": "https://connection.keboola.com/manage/file-storage/12/projects?page[limit]=2&page[after]=eyJpZCI6MTAyfQ"
|
|
9328
|
+
* }
|
|
9329
|
+
* }
|
|
9330
|
+
*/
|
|
9331
|
+
'application/json': components['schemas']['FileStorageProjectListResponse'];
|
|
9332
|
+
};
|
|
9333
|
+
};
|
|
9334
|
+
/** @description Returned when the `page[after]` cursor is invalid, or bare `limit` / `offset`, `page[offset]` or a `filter[...]` are used. */
|
|
9335
|
+
400: {
|
|
9336
|
+
headers: {
|
|
9337
|
+
[name: string]: unknown;
|
|
9338
|
+
};
|
|
9339
|
+
content?: never;
|
|
9340
|
+
};
|
|
9341
|
+
/** @description Returned when the Manage token is missing or invalid. */
|
|
9342
|
+
401: {
|
|
9343
|
+
headers: {
|
|
9344
|
+
[name: string]: unknown;
|
|
9345
|
+
};
|
|
9346
|
+
content?: never;
|
|
9347
|
+
};
|
|
9348
|
+
/** @description Returned when the current admin is not a super admin. */
|
|
9349
|
+
403: {
|
|
9350
|
+
headers: {
|
|
9351
|
+
[name: string]: unknown;
|
|
9352
|
+
};
|
|
9353
|
+
content?: never;
|
|
9354
|
+
};
|
|
9355
|
+
/** @description Returned when the file storage with the given ID does not exist. */
|
|
9356
|
+
404: {
|
|
9357
|
+
headers: {
|
|
9358
|
+
[name: string]: unknown;
|
|
9359
|
+
};
|
|
9360
|
+
content?: never;
|
|
9361
|
+
};
|
|
9362
|
+
};
|
|
9363
|
+
};
|
|
9054
9364
|
'get_/manage/file-storage-gcs::FileStorageGcsListAction': {
|
|
9055
9365
|
parameters: {
|
|
9056
9366
|
query?: never;
|
|
@@ -15284,6 +15594,117 @@ interface operations {
|
|
|
15284
15594
|
};
|
|
15285
15595
|
};
|
|
15286
15596
|
};
|
|
15597
|
+
'get_/manage/search::SearchAction': {
|
|
15598
|
+
parameters: {
|
|
15599
|
+
query: {
|
|
15600
|
+
/**
|
|
15601
|
+
* @description Search term: 2 to 255 characters after trimming. An all-digit term also matches by exact `id`.
|
|
15602
|
+
* @example acme
|
|
15603
|
+
*/
|
|
15604
|
+
q: string;
|
|
15605
|
+
/**
|
|
15606
|
+
* @description Pagination: `page[limit]` (default 10, maximum 50) and `page[after]`, the cursor of the last row read — base64url(json) of `{"rank": integer, "id": integer}`, rows ordered `rank ASC, id DESC`. Omit `page[after]` for the first page; `links.next` carries the next one.
|
|
15607
|
+
* @example {
|
|
15608
|
+
* "limit": 10
|
|
15609
|
+
* }
|
|
15610
|
+
*/
|
|
15611
|
+
page?: {
|
|
15612
|
+
/** @description base64url(json) of `{"rank": integer, "id": integer}`. */
|
|
15613
|
+
after?: string;
|
|
15614
|
+
/** @default 10 */
|
|
15615
|
+
limit?: number;
|
|
15616
|
+
};
|
|
15617
|
+
/** @description Filters, JSON:API style: `filter[<name>]=<value>`. Filters combine with AND. */
|
|
15618
|
+
filter?: {
|
|
15619
|
+
/**
|
|
15620
|
+
* @description Comma-separated subset of `project`, `organization`, `maintainer`, `user`; omitted, every type the caller may read.
|
|
15621
|
+
* @example project,organization
|
|
15622
|
+
*/
|
|
15623
|
+
types?: string;
|
|
15624
|
+
};
|
|
15625
|
+
};
|
|
15626
|
+
header?: never;
|
|
15627
|
+
path?: never;
|
|
15628
|
+
cookie?: never;
|
|
15629
|
+
};
|
|
15630
|
+
requestBody?: never;
|
|
15631
|
+
responses: {
|
|
15632
|
+
/** @description Hits grouped by type; only the types the caller may read and asked for are present. */
|
|
15633
|
+
200: {
|
|
15634
|
+
headers: {
|
|
15635
|
+
[name: string]: unknown;
|
|
15636
|
+
};
|
|
15637
|
+
content: {
|
|
15638
|
+
/**
|
|
15639
|
+
* @example {
|
|
15640
|
+
* "project": {
|
|
15641
|
+
* "data": [
|
|
15642
|
+
* {
|
|
15643
|
+
* "rank": 1,
|
|
15644
|
+
* "id": 4088,
|
|
15645
|
+
* "name": "Acme reporting",
|
|
15646
|
+
* "organization": {
|
|
15647
|
+
* "id": 123,
|
|
15648
|
+
* "name": "Acme"
|
|
15649
|
+
* },
|
|
15650
|
+
* "isDisabled": false
|
|
15651
|
+
* }
|
|
15652
|
+
* ],
|
|
15653
|
+
* "meta": {
|
|
15654
|
+
* "total": 1,
|
|
15655
|
+
* "limit": 10,
|
|
15656
|
+
* "cursor": {
|
|
15657
|
+
* "param": "page[after]",
|
|
15658
|
+
* "encoding": "base64url(json)",
|
|
15659
|
+
* "fields": [
|
|
15660
|
+
* {
|
|
15661
|
+
* "name": "rank",
|
|
15662
|
+
* "type": "integer",
|
|
15663
|
+
* "nullable": false
|
|
15664
|
+
* },
|
|
15665
|
+
* {
|
|
15666
|
+
* "name": "id",
|
|
15667
|
+
* "type": "integer",
|
|
15668
|
+
* "nullable": false
|
|
15669
|
+
* }
|
|
15670
|
+
* ],
|
|
15671
|
+
* "order": "rank ASC, id DESC"
|
|
15672
|
+
* }
|
|
15673
|
+
* },
|
|
15674
|
+
* "links": {
|
|
15675
|
+
* "self": "https://connection.keboola.com/manage/search?q=acme&filter[types]=project&page[limit]=10",
|
|
15676
|
+
* "first": "https://connection.keboola.com/manage/search?q=acme&filter[types]=project&page[limit]=10",
|
|
15677
|
+
* "next": null
|
|
15678
|
+
* }
|
|
15679
|
+
* }
|
|
15680
|
+
* }
|
|
15681
|
+
*/
|
|
15682
|
+
'application/json': components['schemas']['SearchResponse'];
|
|
15683
|
+
};
|
|
15684
|
+
};
|
|
15685
|
+
/** @description Returned when `q`, `filter[types]` or the `page` parameters are invalid. */
|
|
15686
|
+
400: {
|
|
15687
|
+
headers: {
|
|
15688
|
+
[name: string]: unknown;
|
|
15689
|
+
};
|
|
15690
|
+
content?: never;
|
|
15691
|
+
};
|
|
15692
|
+
/** @description Returned when the Manage token is missing or invalid. */
|
|
15693
|
+
401: {
|
|
15694
|
+
headers: {
|
|
15695
|
+
[name: string]: unknown;
|
|
15696
|
+
};
|
|
15697
|
+
content?: never;
|
|
15698
|
+
};
|
|
15699
|
+
/** @description Returned when the token is not an admin or session token, or its admin may search no type. */
|
|
15700
|
+
403: {
|
|
15701
|
+
headers: {
|
|
15702
|
+
[name: string]: unknown;
|
|
15703
|
+
};
|
|
15704
|
+
content?: never;
|
|
15705
|
+
};
|
|
15706
|
+
};
|
|
15707
|
+
};
|
|
15287
15708
|
'post_/manage/storage-backend/{backendId}/activate::StorageBackendActivateAction': {
|
|
15288
15709
|
parameters: {
|
|
15289
15710
|
query?: never;
|
|
@@ -17876,6 +18297,14 @@ type RotateFileStorageAbsInput = RotateFileStorageAbsPath & RotateFileStorageAbs
|
|
|
17876
18297
|
type RotateFileStorageGcsPath = OpenapiPathType<paths['/manage/file-storage-gcs/{fileStorageId}/credentials']['post']>;
|
|
17877
18298
|
type RotateFileStorageGcsBody = components['schemas']['FileStorageRotateGcsRequest'];
|
|
17878
18299
|
type RotateFileStorageGcsInput = RotateFileStorageGcsPath & RotateFileStorageGcsBody;
|
|
18300
|
+
type FileStorageProjectsOperation = paths['/manage/file-storage/{fileStorageId}/projects']['get'];
|
|
18301
|
+
/** Query of `GET /manage/file-storage/{id}/projects`: the `page` deep object, sent as
|
|
18302
|
+
* `page[limit]=…` / `page[after]=…`. */
|
|
18303
|
+
type FileStorageProjectsQuery = OpenapiQueryType<FileStorageProjectsOperation>;
|
|
18304
|
+
/** One page of the projects using a file storage: `meta.total` across every page, `links.next`
|
|
18305
|
+
* carrying the next page's `page[after]` cursor, `null` on the last page. */
|
|
18306
|
+
type FileStorageProjectsPage = OpenapiReturnType<FileStorageProjectsOperation>;
|
|
18307
|
+
type FileStorageProject = FileStorageProjectsPage['data'][number];
|
|
17879
18308
|
type SetUpBigQueryBody = OpenapiBodyType<paths['/integration/partners/gcp/project/{projectId}/set-up/big-query']['post']>;
|
|
17880
18309
|
type UpdateOrganizationBody = paths['/manage/organizations/{id}']['patch']['requestBody']['content']['application/json'] & {
|
|
17881
18310
|
mfaRequired?: boolean;
|
|
@@ -18284,6 +18713,14 @@ type ChangeProjectUserRoleBody = {
|
|
|
18284
18713
|
role: User['role'];
|
|
18285
18714
|
};
|
|
18286
18715
|
type ChangeProjectUserRoleInput = ChangeProjectUserRolePath & ChangeProjectUserRoleBody;
|
|
18716
|
+
/** Query parameters of `GET /manage/search`: `q` plus the `filter[types]` and `page` deep objects. */
|
|
18717
|
+
type SearchQuery = OpenapiQueryType<paths['/manage/search']['get']>;
|
|
18718
|
+
/** `GET /manage/search`: one cursor-paginated collection per type the caller may read and asked for. */
|
|
18719
|
+
type SearchResult = OpenapiReturnType<paths['/manage/search']['get']>;
|
|
18720
|
+
type ProjectSearchItem = components['schemas']['ProjectSearchItem'];
|
|
18721
|
+
type OrganizationSearchItem = components['schemas']['OrganizationSearchItem'];
|
|
18722
|
+
type MaintainerSearchItem = components['schemas']['MaintainerSearchItem'];
|
|
18723
|
+
type UserSearchItem = components['schemas']['UserSearchItem'];
|
|
18287
18724
|
/**
|
|
18288
18725
|
* A storage backend as returned by `GET /manage/storage-backend/{id}`.
|
|
18289
18726
|
*
|
|
@@ -18303,6 +18740,9 @@ type StorageBackend = Omit<components['schemas']['StorageBackendDetailResponse']
|
|
|
18303
18740
|
/** BigQuery detail only; `null` = never configured. Overlay until connection#9129 deploys and
|
|
18304
18741
|
* the schema is regenerated. */
|
|
18305
18742
|
policyTagCapability?: PolicyTagCapability | null;
|
|
18743
|
+
/** BigQuery only, on detail and list: the GCP folder id, `null` when the backend has none.
|
|
18744
|
+
* Overlay until connection#9187 deploys and the schema is regenerated. */
|
|
18745
|
+
folderId?: string | null;
|
|
18306
18746
|
};
|
|
18307
18747
|
/** The stored policy-tag capability of a BigQuery backend, as the console `--status` shows it. */
|
|
18308
18748
|
type PolicyTagCapability = {
|
|
@@ -18417,5 +18857,5 @@ type ProjectRetentionWorkspace = {
|
|
|
18417
18857
|
} | null;
|
|
18418
18858
|
};
|
|
18419
18859
|
type ManagementToken = components['schemas']['ManageTokenVerifyResponse'];
|
|
18420
|
-
export {
|
|
18421
|
-
//# sourceMappingURL=types-
|
|
18860
|
+
export { GetProjectReviewersPath as $, OrganizationInvitationDetail as $n, paths as $r, ConfirmProgrammaticProjectBody as $t, UpdateStorageBackendBody as A, MaintainerMetadataItemPath as An, RotateFileStorageS3Path as Ar, SetProjectLimitsInput as At, AssignFeatureBody as B, UpdateMaintainerBody as Bn, DeletedProjectsListQuery as Br, GetUsersQuery as Bt, StorageBackend as C, CreateSamlConfigBody as Cn, RotateFileStorageAbsInput as Cr, RemoveProjectUserPath as Ct, StorageBackendProject as D, MaintainerDetail as Dn, RotateFileStorageGcsPath as Dr, SetProjectDisabledBody as Dt, StorageBackendPath as E, Maintainer as En, RotateFileStorageGcsInput as Er, Reviewer as Et, SearchQuery as F, SamlConfigDetail as Fn, FeatureType as Fr, UpdateProjectBody as Ft, CreateProjectFeatureBody as G, AddOrganizationUserInput as Gn, OrganizationInvitation as Gr, UpdateUserInput as Gt, ChangeProjectUserRoleBody as H, UpdateSamlConfigBody as Hn, DeletedProjectsStats as Hr, SetUserMetadataBody as Ht, SearchResult as I, SamlConfigPath as In, GetAllFeaturesQuery as Ir, UpdateProjectInput as It, CreateProjectInvitationPath as J, CreateOrganizationInvitationInput as Jn, ApplicationToken as Jr, UserListItem as Jt, CreateProjectFeaturePath as K, AdminUser as Kn, ProjectInvitation as Kr, User as Kt, UserSearchItem as L, SamlConfigSummary as Ln, DeletedProject as Lr, AddUserFeatureBody as Lt, MaintainerSearchItem as M, MaintainerUser as Mn, Feature as Mr, SetProjectMetadataPath as Mt, OrganizationSearchItem as N, MaintainerUserPath as Nn, FeatureAdmin as Nr, SetProjectReviewersBody as Nt, UpdateBigqueryStorageBackendBody as O, MaintainerInvitationDetail as On, RotateFileStorageS3Body as Or, SetProjectDisabledInput as Ot, ProjectSearchItem as P, MetadataItem as Pn, FeatureProject as Pr, SetProjectReviewersPath as Pt, GetProjectPath as Q, OrganizationDetail as Qn, components as Qr, UserProjectMembership as Qt, AddProjectUserBody as R, SetMaintainerMetadataBody as Rn, DeletedProjectPurgeResult as Rr, AddUserFeaturePath as Rt, PolicyTagEnablementGuideSchemaQuery as S, CreateMaintainerOrganizationInput as Sn, RotateFileStorageAbsBody as Sr, RemoveProjectTemplateFeaturePath as St, StorageBackendMaintainer as T, CreateSamlConfigPath as Tn, RotateFileStorageGcsBody as Tr, RequestProjectAccessInput as Tt, ChangeProjectUserRoleInput as U, UpdateSamlConfigInput as Un, DeletedProjectsStatus as Ur, SetUserMetadataInput as Ut, AssignProjectTemplateFeatureInput as V, UpdateMaintainerInput as Vn, DeletedProjectsPage as Vr, RemoveUserFeaturePath as Vt, ChangeProjectUserRolePath as W, AddOrganizationUserBody as Wn, MaintainerInvitation as Wr, UpdateUserBody as Wt, DeleteProjectMetadataPath as X, CreateOrganizationProjectInput as Xn, CreateApplicationTokenBody as Xr, UserOrganizationMembership as Xt, DeleteProjectInvitationPath as Y, CreateOrganizationProjectBody as Yn, ApplicationTokenScope as Yr, UserMaintainerMembership as Yt, GetProjectMetadataPath as Z, Organization as Zn, CreatedApplicationToken as Zr, UserPath as Zt, PolicyTagCapability as _, CompleteSamlSetupInput as _n, FileStorageGcs as _r, ProjectTemplate as _t, GetUiAppsQuery as a, PayAsYouGoBillingConfiguration as an, OrganizationProject as ar, MoveProjectBody as at, PolicyTagEnablementGuidePath as b, CreateMaintainerInvitationInput as bn, FileStorageProjectsQuery as br, RemoveProjectFeaturePath as bt, UiApp as c, TopUpSetting as cn, SetOrganizationMetadataInput as cr, ProjectBase as ct, UiAppVersion as d, X402PaymentStatus as dn, SetUpBigQueryBody as dr, ProjectInvitationDetail as dt, ConfirmProgrammaticProjectResult as en, OrganizationInvitationPath as er, JoinProjectBody as et, CreateBigqueryServerSideStorageBackendBody as f, X402_PAYMENT_STATUS as fn, CreateFileStorageAbsBody as fr, ProjectJoinRequestDetail as ft, GetStorageBackendProjectsQuery as g, CompleteSamlSetupBody as gn, FileStorageAbs as gr, ProjectPath as gt, CreateSnowflakeStorageBackendResponse as h, AddMaintainerUserInput as hn, FileStorage as hr, ProjectMetadataItem as ht, ReactivateWorkspaceResult as i, CreditPurchase as in, OrganizationPath as ir, ListProjectUsersPath as it, UpdateStorageBackendInput as j, MaintainerPath as jn, UpdateFileStorageBody as jr, SetProjectMetadataBody as jt, UpdateBigqueryStorageBackendInput as k, MaintainerInvitationPath as kn, RotateFileStorageS3Input as kr, SetProjectLimitsBody as kt, UiAppDetail as l, UpdateStripeCustomerBody as ln, UpdateOrganizationBody as lr, ProjectFeatureWarning as lt, CreateSnowflakeStorageBackendBody as m, AddMaintainerUserBody as mn, CreateFileStorageS3Body as mr, ProjectMetadataInput as mt, ProjectRetentionWorkspace as n, CreatePaymentRequestBody as nn, OrganizationMaintainer as nr, ListProjectInvitationsPath as nt, RegisterUiAppBody as o, StripeCustomer as on, OrganizationUserPath as or, MoveProjectInput as ot, CreateBigqueryStorageBackendBody as p, X402_TOP_UP_TYPE as pn, CreateFileStorageGcsBody as pr, ProjectJoinRequestPath as pt, CreateProjectInvitationBody as q, CreateOrganizationInvitationBody as qn, ProjectJoinRequest as qr, UserDetail as qt, ProjectRetentionWorkspaceState as r, CreditPaymentRequest as rn, OrganizationMetadataItemPath as rr, ListProjectJoinRequestsPath as rt, RenameUiAppBody as s, StripeCustomerCard as sn, SetOrganizationMetadataBody as sr, Project as st, ManagementToken as t, ProgrammaticProjectClaim as tn, OrganizationListItem as tr, JoinProjectInput as tt, UiAppRegistrationResult as u, UpdateTopUpSettingBody as un, UpdateOrganizationInput as ur, ProjectInvitableRole as ut, PolicyTagEnablementGuide as v, CreateMaintainerBody as vn, FileStorageProject as vr, ProjectTemplatePath as vt, StorageBackendBigquery as w, CreateSamlConfigInput as wn, RotateFileStorageAbsPath as wr, RequestProjectAccessBody as wt, PolicyTagEnablementGuideQuery as x, CreateMaintainerOrganizationBody as xn, FileStorageS3 as xr, RemoveProjectLimitPath as xt, PolicyTagEnablementGuideInput as y, CreateMaintainerInvitationBody as yn, FileStorageProjectsPage as yr, ProjectWithFeatureWarnings as yt, AddProjectUserPath as z, SetMaintainerMetadataInput as zn, DeletedProjectsListFilter as zr, DeleteUserMetadataPath as zt };
|
|
18861
|
+
//# sourceMappingURL=types-B7FKoyfy.d.cts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { i as CreateMetaObjectInput } from "./types-Bp8G9yta.js";
|
|
2
2
|
import { n as createMetastoreClient } from "./index-BVe4S2CK.js";
|
|
3
|
+
import { n as MetastoreObjectMeta, t as MetastoreObject } from "./metaObject-ClvW342q.js";
|
|
3
4
|
/**
|
|
4
5
|
* The closed value sets the metastore accepts on a semantic object.
|
|
5
6
|
*
|
|
@@ -133,34 +134,10 @@ type SemanticChildObjectDataMap = {
|
|
|
133
134
|
type SemanticChildObjectType = keyof SemanticChildObjectDataMap;
|
|
134
135
|
type SemanticObjectType = SemanticChildObjectType | 'semantic-model';
|
|
135
136
|
type SemanticObjectScope = (typeof SEMANTIC_OBJECT_SCOPES)[number];
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
organizationId?: string;
|
|
141
|
-
revision?: number;
|
|
142
|
-
schemaVersion?: string;
|
|
143
|
-
createdAt?: string;
|
|
144
|
-
lastUpdated?: string;
|
|
145
|
-
revisionCreatedAt?: string;
|
|
146
|
-
scope?: SemanticObjectScope;
|
|
147
|
-
sourceProjectId?: number;
|
|
148
|
-
/** The projects a `targeted` object is shared with, read-only. */
|
|
149
|
-
targetProjectIds?: number[];
|
|
150
|
-
/** Set while a `project`-scope object awaits an org-admin decision. Cleared by promoting
|
|
151
|
-
* (PATCH `{scope:"organization"}`) or withdrawing the request. */
|
|
152
|
-
scopeElevationRequestedAt?: string;
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* Normalized metastore object as returned by this SDK. Matches the live metastore
|
|
156
|
-
* envelope ({ type, id, attributes: <data payload>, meta: {...} }), which differs
|
|
157
|
-
* from the legacy wrapper types in clients/metastore/repository/types.ts.
|
|
158
|
-
*/
|
|
159
|
-
type SemanticObject<TData> = {
|
|
160
|
-
uuid: string;
|
|
161
|
-
data: TData;
|
|
162
|
-
meta: SemanticObjectMeta;
|
|
163
|
-
};
|
|
137
|
+
/** The metastore envelope's `meta`; shared with every metastore object family. */
|
|
138
|
+
type SemanticObjectMeta = MetastoreObjectMeta;
|
|
139
|
+
/** A semantic-layer object as this SDK returns it, in the shared metastore envelope. */
|
|
140
|
+
type SemanticObject<TData> = MetastoreObject<TData>;
|
|
164
141
|
type CreateSemanticObjectMeta = Omit<CreateMetaObjectInput, 'data' | 'objectType'>;
|
|
165
142
|
/**
|
|
166
143
|
* Meta for a CONTENT update. `scope` is deliberately absent: a scope change is a separate PATCH
|
|
@@ -195,4 +172,4 @@ type SemanticUnreadableObjectRef = {
|
|
|
195
172
|
modelUUID: string | null;
|
|
196
173
|
};
|
|
197
174
|
export { CONSTRAINT_TYPES as A, SemanticRuleExpression as C, UpdateSemanticObjectMeta as D, SemanticValidationQuery as E, SQL_DIALECTS as F, RELATIONSHIP_JOIN_TYPES as M, RULE_OPERATORS as N, CONSTRAINT_SCOPES as O, SEMANTIC_OBJECT_SCOPES as P, SemanticRelationshipJoinType as S, SemanticUnreadableObjectRef as T, SemanticObject as _, SemanticChildObjectType as a, SemanticObjectType as b, SemanticConstraintSeverity as c, SemanticFieldData as d, SemanticFieldRole as f, SemanticModelData as g, SemanticModelChildRef as h, SemanticChildObjectDataMap as i, FIELD_ROLES as j, CONSTRAINT_SEVERITIES as k, SemanticConstraintType as l, SemanticMetricData as m, MetastoreClient as n, SemanticConstraintData as o, SemanticGlossaryData as p, SemanticAiMetadata as r, SemanticConstraintScope as s, CreateSemanticObjectMeta as t, SemanticDatasetData as u, SemanticObjectMeta as v, SemanticRuleOperator as w, SemanticRelationshipData as x, SemanticObjectScope as y };
|
|
198
|
-
//# sourceMappingURL=types-
|
|
175
|
+
//# sourceMappingURL=types-BDgOF2WN.d.ts.map
|