@keboola/api-client 52.0.0 → 53.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/AGENTS.md +33 -6
  2. package/API-SURFACE.md +4 -1
  3. package/CHANGELOG.md +16 -0
  4. package/README.md +1 -1
  5. package/dist/constants/index.cjs +3 -2
  6. package/dist/constants/index.d.cts +1 -1
  7. package/dist/constants/index.d.ts +1 -1
  8. package/dist/constants/index.js +2 -1
  9. package/dist/{constants-Dqi0ewGv.js → constants-DLPkpnGv.js} +4 -32
  10. package/dist/{constants-Dqi0ewGv.js.map → constants-DLPkpnGv.js.map} +1 -1
  11. package/dist/{constants-d0Do9NSN.cjs → constants-Day8CU5i.cjs} +3 -37
  12. package/dist/{constants-d0Do9NSN.cjs.map → constants-Day8CU5i.cjs.map} +1 -1
  13. package/dist/encryption/index.d.cts +1 -1
  14. package/dist/encryption/index.d.ts +1 -1
  15. package/dist/encryption/types.d.cts +1 -1
  16. package/dist/encryption/types.d.ts +1 -1
  17. package/dist/{index-81wn1jc3.d.cts → index-B0prazAi.d.cts} +11 -2
  18. package/dist/{index-Df8lZNSH.d.cts → index-BL7uXOiY.d.cts} +2 -2
  19. package/dist/{index-B5rELADq.d.cts → index-BNwo-zaJ.d.cts} +2 -1
  20. package/dist/{index-B7el5pJU.d.cts → index-BUKMdbKh.d.cts} +10 -5
  21. package/dist/{index-CveF5RFQ.d.ts → index-BoKrc8wy.d.ts} +2 -2
  22. package/dist/{index-C7JcNvbd.d.ts → index-BxgHNJ3Q.d.ts} +10 -5
  23. package/dist/{index-Dhyrg5zd.d.ts → index-CwUurckF.d.ts} +2 -1
  24. package/dist/{index-JoKfPQND.d.ts → index-D0Gnp2QM.d.ts} +11 -2
  25. package/dist/index.cjs +4 -4
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.cts +2 -2
  28. package/dist/index.d.ts +2 -2
  29. package/dist/index.js +3 -3
  30. package/dist/management/index.cjs +1 -1
  31. package/dist/management/index.d.cts +1 -1
  32. package/dist/management/index.d.ts +1 -1
  33. package/dist/management/index.js +1 -1
  34. package/dist/management/types.d.cts +2 -2
  35. package/dist/management/types.d.ts +2 -2
  36. package/dist/{management-Cz5ut18k.js → management-CmgsWmf0.js} +15 -1
  37. package/dist/management-CmgsWmf0.js.map +1 -0
  38. package/dist/{management-CUXgB2rb.cjs → management-Drs5G-hf.cjs} +15 -1
  39. package/dist/management-Drs5G-hf.cjs.map +1 -0
  40. package/dist/queryService/index.d.cts +1 -1
  41. package/dist/queryService/index.d.ts +1 -1
  42. package/dist/queryService/types.d.cts +1 -1
  43. package/dist/queryService/types.d.ts +1 -1
  44. package/dist/queue/index.d.cts +1 -1
  45. package/dist/queue/index.d.ts +1 -1
  46. package/dist/readJwtClaims-CMZ3cNC_.js +28 -0
  47. package/dist/readJwtClaims-CMZ3cNC_.js.map +1 -0
  48. package/dist/readJwtClaims-SVJgo04x.cjs +33 -0
  49. package/dist/readJwtClaims-SVJgo04x.cjs.map +1 -0
  50. package/dist/sdk/configurations/index.d.cts +2 -2
  51. package/dist/sdk/configurations/index.d.ts +2 -2
  52. package/dist/sdk/dataAppServer/index.cjs +266 -0
  53. package/dist/sdk/dataAppServer/index.cjs.map +1 -0
  54. package/dist/sdk/dataAppServer/index.d.cts +55 -0
  55. package/dist/sdk/dataAppServer/index.d.ts +55 -0
  56. package/dist/sdk/dataAppServer/index.js +264 -0
  57. package/dist/sdk/dataAppServer/index.js.map +1 -0
  58. package/dist/sdk/developerPortal/index.cjs +3 -15
  59. package/dist/sdk/developerPortal/index.cjs.map +1 -1
  60. package/dist/sdk/developerPortal/index.js +3 -15
  61. package/dist/sdk/developerPortal/index.js.map +1 -1
  62. package/dist/sdk/queryService/index.d.cts +1 -1
  63. package/dist/sdk/queryService/index.d.ts +1 -1
  64. package/dist/sdk/semanticLayer/index.cjs +1 -1
  65. package/dist/sdk/semanticLayer/index.d.cts +5 -0
  66. package/dist/sdk/semanticLayer/index.d.ts +5 -0
  67. package/dist/sdk/semanticLayer/index.js +1 -1
  68. package/dist/sdk/vault/index.d.cts +1 -1
  69. package/dist/sdk/vault/index.d.ts +1 -1
  70. package/dist/{semanticLayer-BdPW_wLo.js → semanticLayer-CfjDnmsY.js} +16 -1
  71. package/dist/semanticLayer-CfjDnmsY.js.map +1 -0
  72. package/dist/{semanticLayer-djom-J78.cjs → semanticLayer-D8D_3hk-.cjs} +16 -1
  73. package/dist/semanticLayer-D8D_3hk-.cjs.map +1 -0
  74. package/dist/serviceIds-Bg1pWiPE.cjs +37 -0
  75. package/dist/serviceIds-Bg1pWiPE.cjs.map +1 -0
  76. package/dist/serviceIds-RAVtP4nK.js +32 -0
  77. package/dist/serviceIds-RAVtP4nK.js.map +1 -0
  78. package/dist/storage/index.d.cts +2 -2
  79. package/dist/storage/index.d.ts +2 -2
  80. package/dist/storage/types.d.cts +2 -2
  81. package/dist/storage/types.d.ts +2 -2
  82. package/dist/{types-CLtYOszN.d.cts → types-CsRfoHQw.d.cts} +174 -2
  83. package/dist/{types-Ey59ZILC.d.ts → types-DNldEa7i.d.ts} +174 -2
  84. package/package.json +14 -1
  85. package/surface/management.md +1 -0
  86. package/surface/sdk.md +2 -0
  87. package/dist/management-CUXgB2rb.cjs.map +0 -1
  88. package/dist/management-Cz5ut18k.js.map +0 -1
  89. package/dist/semanticLayer-BdPW_wLo.js.map +0 -1
  90. 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;
@@ -3234,6 +3271,7 @@ type components = {
3234
3271
  */
3235
3272
  accountKey: string;
3236
3273
  };
3274
+ FileStorageUsageListRequest: Record<string, never>;
3237
3275
  /** @description Partial update of a file storage; at least one of `owner`, `region` must be supplied. */
3238
3276
  FileStorageUpdateRequest: {
3239
3277
  /**
@@ -4925,6 +4963,28 @@ type components = {
4925
4963
  name: string | null;
4926
4964
  };
4927
4965
  };
4966
+ FileStorageProjectListResponse: {
4967
+ /** @description Projects on the requested page. */
4968
+ data: {
4969
+ /**
4970
+ * @description Project identifier.
4971
+ * @example 771
4972
+ */
4973
+ id: number;
4974
+ /**
4975
+ * @description Project name.
4976
+ * @example Test project
4977
+ */
4978
+ name: string;
4979
+ /**
4980
+ * @description Whether the project is deleted and awaits purge.
4981
+ * @example false
4982
+ */
4983
+ isDeleted: boolean;
4984
+ }[];
4985
+ meta: components['schemas']['PaginationMeta'];
4986
+ links: components['schemas']['PaginationLinks'];
4987
+ };
4928
4988
  UserLoggedInResponse: {
4929
4989
  id: number;
4930
4990
  email: string;
@@ -9051,6 +9111,110 @@ interface operations {
9051
9111
  };
9052
9112
  };
9053
9113
  };
9114
+ 'get_/manage/file-storage/{fileStorageId}/projects::FileStorageProjectListAction': {
9115
+ parameters: {
9116
+ query?: {
9117
+ /**
9118
+ * @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.
9119
+ * @example {
9120
+ * "limit": 20
9121
+ * }
9122
+ */
9123
+ page?: {
9124
+ /** @description base64url(json) of `{"id": integer}`. */
9125
+ after?: string;
9126
+ /** @default 20 */
9127
+ limit?: number;
9128
+ };
9129
+ };
9130
+ header?: never;
9131
+ path: {
9132
+ /**
9133
+ * @description Identifier of the file storage.
9134
+ * @example 12
9135
+ */
9136
+ fileStorageId: number;
9137
+ };
9138
+ cookie?: never;
9139
+ };
9140
+ requestBody?: never;
9141
+ responses: {
9142
+ /** @description Projects using the file storage. */
9143
+ 200: {
9144
+ headers: {
9145
+ [name: string]: unknown;
9146
+ };
9147
+ content: {
9148
+ /**
9149
+ * @example {
9150
+ * "data": [
9151
+ * {
9152
+ * "id": 101,
9153
+ * "name": "Test project",
9154
+ * "isDeleted": false
9155
+ * },
9156
+ * {
9157
+ * "id": 102,
9158
+ * "name": "Deleted project",
9159
+ * "isDeleted": true
9160
+ * }
9161
+ * ],
9162
+ * "meta": {
9163
+ * "total": 41,
9164
+ * "limit": 2,
9165
+ * "cursor": {
9166
+ * "param": "page[after]",
9167
+ * "encoding": "base64url(json)",
9168
+ * "fields": [
9169
+ * {
9170
+ * "name": "id",
9171
+ * "type": "integer",
9172
+ * "nullable": false
9173
+ * }
9174
+ * ],
9175
+ * "order": "id ASC"
9176
+ * }
9177
+ * },
9178
+ * "links": {
9179
+ * "self": "https://connection.keboola.com/manage/file-storage/12/projects?page[limit]=2",
9180
+ * "first": "https://connection.keboola.com/manage/file-storage/12/projects?page[limit]=2",
9181
+ * "next": "https://connection.keboola.com/manage/file-storage/12/projects?page[limit]=2&page[after]=eyJpZCI6MTAyfQ"
9182
+ * }
9183
+ * }
9184
+ */
9185
+ 'application/json': components['schemas']['FileStorageProjectListResponse'];
9186
+ };
9187
+ };
9188
+ /** @description Returned when the `page[after]` cursor is invalid, or bare `limit` / `offset`, `page[offset]` or a `filter[...]` are used. */
9189
+ 400: {
9190
+ headers: {
9191
+ [name: string]: unknown;
9192
+ };
9193
+ content?: never;
9194
+ };
9195
+ /** @description Returned when the Manage token is missing or invalid. */
9196
+ 401: {
9197
+ headers: {
9198
+ [name: string]: unknown;
9199
+ };
9200
+ content?: never;
9201
+ };
9202
+ /** @description Returned when the current admin is not a super admin. */
9203
+ 403: {
9204
+ headers: {
9205
+ [name: string]: unknown;
9206
+ };
9207
+ content?: never;
9208
+ };
9209
+ /** @description Returned when the file storage with the given ID does not exist. */
9210
+ 404: {
9211
+ headers: {
9212
+ [name: string]: unknown;
9213
+ };
9214
+ content?: never;
9215
+ };
9216
+ };
9217
+ };
9054
9218
  'get_/manage/file-storage-gcs::FileStorageGcsListAction': {
9055
9219
  parameters: {
9056
9220
  query?: never;
@@ -17876,6 +18040,14 @@ type RotateFileStorageAbsInput = RotateFileStorageAbsPath & RotateFileStorageAbs
17876
18040
  type RotateFileStorageGcsPath = OpenapiPathType<paths['/manage/file-storage-gcs/{fileStorageId}/credentials']['post']>;
17877
18041
  type RotateFileStorageGcsBody = components['schemas']['FileStorageRotateGcsRequest'];
17878
18042
  type RotateFileStorageGcsInput = RotateFileStorageGcsPath & RotateFileStorageGcsBody;
18043
+ type FileStorageProjectsOperation = paths['/manage/file-storage/{fileStorageId}/projects']['get'];
18044
+ /** Query of `GET /manage/file-storage/{id}/projects`: the `page` deep object, sent as
18045
+ * `page[limit]=…` / `page[after]=…`. */
18046
+ type FileStorageProjectsQuery = OpenapiQueryType<FileStorageProjectsOperation>;
18047
+ /** One page of the projects using a file storage: `meta.total` across every page, `links.next`
18048
+ * carrying the next page's `page[after]` cursor, `null` on the last page. */
18049
+ type FileStorageProjectsPage = OpenapiReturnType<FileStorageProjectsOperation>;
18050
+ type FileStorageProject = FileStorageProjectsPage['data'][number];
17879
18051
  type SetUpBigQueryBody = OpenapiBodyType<paths['/integration/partners/gcp/project/{projectId}/set-up/big-query']['post']>;
17880
18052
  type UpdateOrganizationBody = paths['/manage/organizations/{id}']['patch']['requestBody']['content']['application/json'] & {
17881
18053
  mfaRequired?: boolean;
@@ -18417,5 +18589,5 @@ type ProjectRetentionWorkspace = {
18417
18589
  } | null;
18418
18590
  };
18419
18591
  type ManagementToken = components['schemas']['ManageTokenVerifyResponse'];
18420
- export { MoveProjectBody as $, OrganizationProject as $n, PayAsYouGoBillingConfiguration as $t, UpdateStorageBackendBody as A, SamlConfigPath as An, DeletedProjectsListFilter as Ar, UpdateProjectInput as At, CreateProjectFeaturePath as B, AdminUser as Bn, ApplicationTokenScope as Br, User as Bt, StorageBackend as C, MaintainerInvitationPath as Cn, Feature as Cr, SetProjectLimitsBody as Ct, StorageBackendProject as D, MaintainerUserPath as Dn, GetAllFeaturesQuery as Dr, SetProjectReviewersBody as Dt, StorageBackendPath as E, MaintainerUser as En, FeatureType as Er, SetProjectMetadataPath as Et, AssignProjectTemplateFeatureInput as F, UpdateMaintainerInput as Fn, MaintainerInvitation as Fr, RemoveUserFeaturePath as Ft, GetProjectMetadataPath as G, Organization as Gn, UserPath as Gt, CreateProjectInvitationPath as H, CreateOrganizationInvitationInput as Hn, CreatedApplicationToken as Hr, UserListItem as Ht, ChangeProjectUserRoleBody as I, UpdateSamlConfigBody as In, OrganizationInvitation as Ir, SetUserMetadataBody as It, JoinProjectBody as J, OrganizationInvitationPath as Jn, ConfirmProgrammaticProjectResult as Jt, GetProjectPath as K, OrganizationDetail as Kn, UserProjectMembership as Kt, ChangeProjectUserRoleInput as L, UpdateSamlConfigInput as Ln, ProjectInvitation as Lr, SetUserMetadataInput as Lt, AddProjectUserBody as M, SetMaintainerMetadataBody as Mn, DeletedProjectsPage as Mr, AddUserFeaturePath as Mt, AddProjectUserPath as N, SetMaintainerMetadataInput as Nn, DeletedProjectsStats as Nr, DeleteUserMetadataPath as Nt, UpdateBigqueryStorageBackendBody as O, MetadataItem as On, DeletedProject as Or, SetProjectReviewersPath as Ot, AssignFeatureBody as P, UpdateMaintainerBody as Pn, DeletedProjectsStatus as Pr, GetUsersQuery as Pt, ListProjectUsersPath as Q, OrganizationPath as Qn, CreditPurchase as Qt, ChangeProjectUserRolePath as R, AddOrganizationUserBody as Rn, ProjectJoinRequest as Rr, UpdateUserBody as Rt, PolicyTagEnablementGuideSchemaQuery as S, MaintainerInvitationDetail as Sn, UpdateFileStorageBody as Sr, SetProjectDisabledInput as St, StorageBackendMaintainer as T, MaintainerPath as Tn, FeatureProject as Tr, SetProjectMetadataBody as Tt, DeleteProjectInvitationPath as U, CreateOrganizationProjectBody as Un, components as Ur, UserMaintainerMembership as Ut, CreateProjectInvitationBody as V, CreateOrganizationInvitationBody as Vn, CreateApplicationTokenBody as Vr, UserDetail as Vt, DeleteProjectMetadataPath as W, CreateOrganizationProjectInput as Wn, paths as Wr, UserOrganizationMembership as Wt, ListProjectInvitationsPath as X, OrganizationMaintainer as Xn, CreatePaymentRequestBody as Xt, JoinProjectInput as Y, OrganizationListItem as Yn, ProgrammaticProjectClaim as Yt, ListProjectJoinRequestsPath as Z, OrganizationMetadataItemPath as Zn, CreditPaymentRequest as Zt, PolicyTagCapability as _, CreateSamlConfigBody as _n, RotateFileStorageGcsInput as _r, RemoveProjectUserPath as _t, GetUiAppsQuery as a, X402PaymentStatus as an, SetUpBigQueryBody as ar, ProjectInvitationDetail as at, PolicyTagEnablementGuidePath as b, Maintainer as bn, RotateFileStorageS3Input as br, Reviewer as bt, UiApp as c, AddMaintainerUserBody as cn, CreateFileStorageS3Body as cr, ProjectMetadataInput as ct, UiAppVersion as d, CompleteSamlSetupInput as dn, FileStorageGcs as dr, ProjectTemplate as dt, StripeCustomer as en, OrganizationUserPath as er, MoveProjectInput as et, CreateBigqueryServerSideStorageBackendBody as f, CreateMaintainerBody as fn, FileStorageS3 as fr, ProjectTemplatePath as ft, GetStorageBackendProjectsQuery as g, CreateMaintainerOrganizationInput as gn, RotateFileStorageGcsBody as gr, RemoveProjectTemplateFeaturePath as gt, CreateSnowflakeStorageBackendResponse as h, CreateMaintainerOrganizationBody as hn, RotateFileStorageAbsPath as hr, RemoveProjectLimitPath as ht, ReactivateWorkspaceResult as i, UpdateTopUpSettingBody as in, UpdateOrganizationInput as ir, ProjectInvitableRole as it, UpdateStorageBackendInput as j, SamlConfigSummary as jn, DeletedProjectsListQuery as jr, AddUserFeatureBody as jt, UpdateBigqueryStorageBackendInput as k, SamlConfigDetail as kn, DeletedProjectPurgeResult as kr, UpdateProjectBody as kt, UiAppDetail as l, AddMaintainerUserInput as ln, FileStorage as lr, ProjectMetadataItem as lt, CreateSnowflakeStorageBackendBody as m, CreateMaintainerInvitationInput as mn, RotateFileStorageAbsInput as mr, RemoveProjectFeaturePath as mt, ProjectRetentionWorkspace as n, TopUpSetting as nn, SetOrganizationMetadataInput as nr, ProjectBase as nt, RegisterUiAppBody as o, X402_PAYMENT_STATUS as on, CreateFileStorageAbsBody as or, ProjectJoinRequestDetail as ot, CreateBigqueryStorageBackendBody as p, CreateMaintainerInvitationBody as pn, RotateFileStorageAbsBody as pr, ProjectWithFeatureWarnings as pt, GetProjectReviewersPath as q, OrganizationInvitationDetail as qn, ConfirmProgrammaticProjectBody as qt, ProjectRetentionWorkspaceState as r, UpdateStripeCustomerBody as rn, UpdateOrganizationBody as rr, ProjectFeatureWarning as rt, RenameUiAppBody as s, X402_TOP_UP_TYPE as sn, CreateFileStorageGcsBody as sr, ProjectJoinRequestPath as st, ManagementToken as t, StripeCustomerCard as tn, SetOrganizationMetadataBody as tr, Project as tt, UiAppRegistrationResult as u, CompleteSamlSetupBody as un, FileStorageAbs as ur, ProjectPath as ut, PolicyTagEnablementGuide as v, CreateSamlConfigInput as vn, RotateFileStorageGcsPath as vr, RequestProjectAccessBody as vt, StorageBackendBigquery as w, MaintainerMetadataItemPath as wn, FeatureAdmin as wr, SetProjectLimitsInput as wt, PolicyTagEnablementGuideQuery as x, MaintainerDetail as xn, RotateFileStorageS3Path as xr, SetProjectDisabledBody as xt, PolicyTagEnablementGuideInput as y, CreateSamlConfigPath as yn, RotateFileStorageS3Body as yr, RequestProjectAccessInput as yt, CreateProjectFeatureBody as z, AddOrganizationUserInput as zn, ApplicationToken as zr, UpdateUserInput as zt };
18421
- //# sourceMappingURL=types-CLtYOszN.d.cts.map
18592
+ export { MoveProjectBody as $, OrganizationProject as $n, PayAsYouGoBillingConfiguration as $t, UpdateStorageBackendBody as A, SamlConfigPath as An, GetAllFeaturesQuery as Ar, UpdateProjectInput as At, CreateProjectFeaturePath as B, AdminUser as Bn, ProjectInvitation as Br, User as Bt, StorageBackend as C, MaintainerInvitationPath as Cn, RotateFileStorageS3Input as Cr, SetProjectLimitsBody as Ct, StorageBackendProject as D, MaintainerUserPath as Dn, FeatureAdmin as Dr, SetProjectReviewersBody as Dt, StorageBackendPath as E, MaintainerUser as En, Feature as Er, SetProjectMetadataPath as Et, AssignProjectTemplateFeatureInput as F, UpdateMaintainerInput as Fn, DeletedProjectsPage as Fr, RemoveUserFeaturePath as Ft, GetProjectMetadataPath as G, Organization as Gn, CreatedApplicationToken as Gr, UserPath as Gt, CreateProjectInvitationPath as H, CreateOrganizationInvitationInput as Hn, ApplicationToken as Hr, UserListItem as Ht, ChangeProjectUserRoleBody as I, UpdateSamlConfigBody as In, DeletedProjectsStats as Ir, SetUserMetadataBody as It, JoinProjectBody as J, OrganizationInvitationPath as Jn, ConfirmProgrammaticProjectResult as Jt, GetProjectPath as K, OrganizationDetail as Kn, components as Kr, UserProjectMembership as Kt, ChangeProjectUserRoleInput as L, UpdateSamlConfigInput as Ln, DeletedProjectsStatus as Lr, SetUserMetadataInput as Lt, AddProjectUserBody as M, SetMaintainerMetadataBody as Mn, DeletedProjectPurgeResult as Mr, AddUserFeaturePath as Mt, AddProjectUserPath as N, SetMaintainerMetadataInput as Nn, DeletedProjectsListFilter as Nr, DeleteUserMetadataPath as Nt, UpdateBigqueryStorageBackendBody as O, MetadataItem as On, FeatureProject as Or, SetProjectReviewersPath as Ot, AssignFeatureBody as P, UpdateMaintainerBody as Pn, DeletedProjectsListQuery as Pr, GetUsersQuery as Pt, ListProjectUsersPath as Q, OrganizationPath as Qn, CreditPurchase as Qt, ChangeProjectUserRolePath as R, AddOrganizationUserBody as Rn, MaintainerInvitation as Rr, UpdateUserBody as Rt, PolicyTagEnablementGuideSchemaQuery as S, MaintainerInvitationDetail as Sn, RotateFileStorageS3Body as Sr, SetProjectDisabledInput as St, StorageBackendMaintainer as T, MaintainerPath as Tn, UpdateFileStorageBody as Tr, SetProjectMetadataBody as Tt, DeleteProjectInvitationPath as U, CreateOrganizationProjectBody as Un, ApplicationTokenScope as Ur, UserMaintainerMembership as Ut, CreateProjectInvitationBody as V, CreateOrganizationInvitationBody as Vn, ProjectJoinRequest as Vr, UserDetail as Vt, DeleteProjectMetadataPath as W, CreateOrganizationProjectInput as Wn, CreateApplicationTokenBody as Wr, UserOrganizationMembership as Wt, ListProjectInvitationsPath as X, OrganizationMaintainer as Xn, CreatePaymentRequestBody as Xt, JoinProjectInput as Y, OrganizationListItem as Yn, ProgrammaticProjectClaim as Yt, ListProjectJoinRequestsPath as Z, OrganizationMetadataItemPath as Zn, CreditPaymentRequest as Zt, PolicyTagCapability as _, CreateSamlConfigBody as _n, RotateFileStorageAbsInput as _r, RemoveProjectUserPath as _t, GetUiAppsQuery as a, X402PaymentStatus as an, SetUpBigQueryBody as ar, ProjectInvitationDetail as at, PolicyTagEnablementGuidePath as b, Maintainer as bn, RotateFileStorageGcsInput as br, Reviewer as bt, UiApp as c, AddMaintainerUserBody as cn, CreateFileStorageS3Body as cr, ProjectMetadataInput as ct, UiAppVersion as d, CompleteSamlSetupInput as dn, FileStorageGcs as dr, ProjectTemplate as dt, StripeCustomer as en, OrganizationUserPath as er, MoveProjectInput as et, CreateBigqueryServerSideStorageBackendBody as f, CreateMaintainerBody as fn, FileStorageProject as fr, ProjectTemplatePath as ft, GetStorageBackendProjectsQuery as g, CreateMaintainerOrganizationInput as gn, RotateFileStorageAbsBody as gr, RemoveProjectTemplateFeaturePath as gt, CreateSnowflakeStorageBackendResponse as h, CreateMaintainerOrganizationBody as hn, FileStorageS3 as hr, RemoveProjectLimitPath as ht, ReactivateWorkspaceResult as i, UpdateTopUpSettingBody as in, UpdateOrganizationInput as ir, ProjectInvitableRole as it, UpdateStorageBackendInput as j, SamlConfigSummary as jn, DeletedProject as jr, AddUserFeatureBody as jt, UpdateBigqueryStorageBackendInput as k, SamlConfigDetail as kn, FeatureType as kr, UpdateProjectBody as kt, UiAppDetail as l, AddMaintainerUserInput as ln, FileStorage as lr, ProjectMetadataItem as lt, CreateSnowflakeStorageBackendBody as m, CreateMaintainerInvitationInput as mn, FileStorageProjectsQuery as mr, RemoveProjectFeaturePath as mt, ProjectRetentionWorkspace as n, TopUpSetting as nn, SetOrganizationMetadataInput as nr, ProjectBase as nt, RegisterUiAppBody as o, X402_PAYMENT_STATUS as on, CreateFileStorageAbsBody as or, ProjectJoinRequestDetail as ot, CreateBigqueryStorageBackendBody as p, CreateMaintainerInvitationBody as pn, FileStorageProjectsPage as pr, ProjectWithFeatureWarnings as pt, GetProjectReviewersPath as q, OrganizationInvitationDetail as qn, paths as qr, ConfirmProgrammaticProjectBody as qt, ProjectRetentionWorkspaceState as r, UpdateStripeCustomerBody as rn, UpdateOrganizationBody as rr, ProjectFeatureWarning as rt, RenameUiAppBody as s, X402_TOP_UP_TYPE as sn, CreateFileStorageGcsBody as sr, ProjectJoinRequestPath as st, ManagementToken as t, StripeCustomerCard as tn, SetOrganizationMetadataBody as tr, Project as tt, UiAppRegistrationResult as u, CompleteSamlSetupBody as un, FileStorageAbs as ur, ProjectPath as ut, PolicyTagEnablementGuide as v, CreateSamlConfigInput as vn, RotateFileStorageAbsPath as vr, RequestProjectAccessBody as vt, StorageBackendBigquery as w, MaintainerMetadataItemPath as wn, RotateFileStorageS3Path as wr, SetProjectLimitsInput as wt, PolicyTagEnablementGuideQuery as x, MaintainerDetail as xn, RotateFileStorageGcsPath as xr, SetProjectDisabledBody as xt, PolicyTagEnablementGuideInput as y, CreateSamlConfigPath as yn, RotateFileStorageGcsBody as yr, RequestProjectAccessInput as yt, CreateProjectFeatureBody as z, AddOrganizationUserInput as zn, OrganizationInvitation as zr, UpdateUserInput as zt };
18593
+ //# sourceMappingURL=types-CsRfoHQw.d.cts.map
@@ -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;
@@ -3234,6 +3271,7 @@ type components = {
3234
3271
  */
3235
3272
  accountKey: string;
3236
3273
  };
3274
+ FileStorageUsageListRequest: Record<string, never>;
3237
3275
  /** @description Partial update of a file storage; at least one of `owner`, `region` must be supplied. */
3238
3276
  FileStorageUpdateRequest: {
3239
3277
  /**
@@ -4925,6 +4963,28 @@ type components = {
4925
4963
  name: string | null;
4926
4964
  };
4927
4965
  };
4966
+ FileStorageProjectListResponse: {
4967
+ /** @description Projects on the requested page. */
4968
+ data: {
4969
+ /**
4970
+ * @description Project identifier.
4971
+ * @example 771
4972
+ */
4973
+ id: number;
4974
+ /**
4975
+ * @description Project name.
4976
+ * @example Test project
4977
+ */
4978
+ name: string;
4979
+ /**
4980
+ * @description Whether the project is deleted and awaits purge.
4981
+ * @example false
4982
+ */
4983
+ isDeleted: boolean;
4984
+ }[];
4985
+ meta: components['schemas']['PaginationMeta'];
4986
+ links: components['schemas']['PaginationLinks'];
4987
+ };
4928
4988
  UserLoggedInResponse: {
4929
4989
  id: number;
4930
4990
  email: string;
@@ -9051,6 +9111,110 @@ interface operations {
9051
9111
  };
9052
9112
  };
9053
9113
  };
9114
+ 'get_/manage/file-storage/{fileStorageId}/projects::FileStorageProjectListAction': {
9115
+ parameters: {
9116
+ query?: {
9117
+ /**
9118
+ * @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.
9119
+ * @example {
9120
+ * "limit": 20
9121
+ * }
9122
+ */
9123
+ page?: {
9124
+ /** @description base64url(json) of `{"id": integer}`. */
9125
+ after?: string;
9126
+ /** @default 20 */
9127
+ limit?: number;
9128
+ };
9129
+ };
9130
+ header?: never;
9131
+ path: {
9132
+ /**
9133
+ * @description Identifier of the file storage.
9134
+ * @example 12
9135
+ */
9136
+ fileStorageId: number;
9137
+ };
9138
+ cookie?: never;
9139
+ };
9140
+ requestBody?: never;
9141
+ responses: {
9142
+ /** @description Projects using the file storage. */
9143
+ 200: {
9144
+ headers: {
9145
+ [name: string]: unknown;
9146
+ };
9147
+ content: {
9148
+ /**
9149
+ * @example {
9150
+ * "data": [
9151
+ * {
9152
+ * "id": 101,
9153
+ * "name": "Test project",
9154
+ * "isDeleted": false
9155
+ * },
9156
+ * {
9157
+ * "id": 102,
9158
+ * "name": "Deleted project",
9159
+ * "isDeleted": true
9160
+ * }
9161
+ * ],
9162
+ * "meta": {
9163
+ * "total": 41,
9164
+ * "limit": 2,
9165
+ * "cursor": {
9166
+ * "param": "page[after]",
9167
+ * "encoding": "base64url(json)",
9168
+ * "fields": [
9169
+ * {
9170
+ * "name": "id",
9171
+ * "type": "integer",
9172
+ * "nullable": false
9173
+ * }
9174
+ * ],
9175
+ * "order": "id ASC"
9176
+ * }
9177
+ * },
9178
+ * "links": {
9179
+ * "self": "https://connection.keboola.com/manage/file-storage/12/projects?page[limit]=2",
9180
+ * "first": "https://connection.keboola.com/manage/file-storage/12/projects?page[limit]=2",
9181
+ * "next": "https://connection.keboola.com/manage/file-storage/12/projects?page[limit]=2&page[after]=eyJpZCI6MTAyfQ"
9182
+ * }
9183
+ * }
9184
+ */
9185
+ 'application/json': components['schemas']['FileStorageProjectListResponse'];
9186
+ };
9187
+ };
9188
+ /** @description Returned when the `page[after]` cursor is invalid, or bare `limit` / `offset`, `page[offset]` or a `filter[...]` are used. */
9189
+ 400: {
9190
+ headers: {
9191
+ [name: string]: unknown;
9192
+ };
9193
+ content?: never;
9194
+ };
9195
+ /** @description Returned when the Manage token is missing or invalid. */
9196
+ 401: {
9197
+ headers: {
9198
+ [name: string]: unknown;
9199
+ };
9200
+ content?: never;
9201
+ };
9202
+ /** @description Returned when the current admin is not a super admin. */
9203
+ 403: {
9204
+ headers: {
9205
+ [name: string]: unknown;
9206
+ };
9207
+ content?: never;
9208
+ };
9209
+ /** @description Returned when the file storage with the given ID does not exist. */
9210
+ 404: {
9211
+ headers: {
9212
+ [name: string]: unknown;
9213
+ };
9214
+ content?: never;
9215
+ };
9216
+ };
9217
+ };
9054
9218
  'get_/manage/file-storage-gcs::FileStorageGcsListAction': {
9055
9219
  parameters: {
9056
9220
  query?: never;
@@ -17876,6 +18040,14 @@ type RotateFileStorageAbsInput = RotateFileStorageAbsPath & RotateFileStorageAbs
17876
18040
  type RotateFileStorageGcsPath = OpenapiPathType<paths['/manage/file-storage-gcs/{fileStorageId}/credentials']['post']>;
17877
18041
  type RotateFileStorageGcsBody = components['schemas']['FileStorageRotateGcsRequest'];
17878
18042
  type RotateFileStorageGcsInput = RotateFileStorageGcsPath & RotateFileStorageGcsBody;
18043
+ type FileStorageProjectsOperation = paths['/manage/file-storage/{fileStorageId}/projects']['get'];
18044
+ /** Query of `GET /manage/file-storage/{id}/projects`: the `page` deep object, sent as
18045
+ * `page[limit]=…` / `page[after]=…`. */
18046
+ type FileStorageProjectsQuery = OpenapiQueryType<FileStorageProjectsOperation>;
18047
+ /** One page of the projects using a file storage: `meta.total` across every page, `links.next`
18048
+ * carrying the next page's `page[after]` cursor, `null` on the last page. */
18049
+ type FileStorageProjectsPage = OpenapiReturnType<FileStorageProjectsOperation>;
18050
+ type FileStorageProject = FileStorageProjectsPage['data'][number];
17879
18051
  type SetUpBigQueryBody = OpenapiBodyType<paths['/integration/partners/gcp/project/{projectId}/set-up/big-query']['post']>;
17880
18052
  type UpdateOrganizationBody = paths['/manage/organizations/{id}']['patch']['requestBody']['content']['application/json'] & {
17881
18053
  mfaRequired?: boolean;
@@ -18417,5 +18589,5 @@ type ProjectRetentionWorkspace = {
18417
18589
  } | null;
18418
18590
  };
18419
18591
  type ManagementToken = components['schemas']['ManageTokenVerifyResponse'];
18420
- export { MoveProjectBody as $, OrganizationProject as $n, PayAsYouGoBillingConfiguration as $t, UpdateStorageBackendBody as A, SamlConfigPath as An, DeletedProjectsListFilter as Ar, UpdateProjectInput as At, CreateProjectFeaturePath as B, AdminUser as Bn, ApplicationTokenScope as Br, User as Bt, StorageBackend as C, MaintainerInvitationPath as Cn, Feature as Cr, SetProjectLimitsBody as Ct, StorageBackendProject as D, MaintainerUserPath as Dn, GetAllFeaturesQuery as Dr, SetProjectReviewersBody as Dt, StorageBackendPath as E, MaintainerUser as En, FeatureType as Er, SetProjectMetadataPath as Et, AssignProjectTemplateFeatureInput as F, UpdateMaintainerInput as Fn, MaintainerInvitation as Fr, RemoveUserFeaturePath as Ft, GetProjectMetadataPath as G, Organization as Gn, UserPath as Gt, CreateProjectInvitationPath as H, CreateOrganizationInvitationInput as Hn, CreatedApplicationToken as Hr, UserListItem as Ht, ChangeProjectUserRoleBody as I, UpdateSamlConfigBody as In, OrganizationInvitation as Ir, SetUserMetadataBody as It, JoinProjectBody as J, OrganizationInvitationPath as Jn, ConfirmProgrammaticProjectResult as Jt, GetProjectPath as K, OrganizationDetail as Kn, UserProjectMembership as Kt, ChangeProjectUserRoleInput as L, UpdateSamlConfigInput as Ln, ProjectInvitation as Lr, SetUserMetadataInput as Lt, AddProjectUserBody as M, SetMaintainerMetadataBody as Mn, DeletedProjectsPage as Mr, AddUserFeaturePath as Mt, AddProjectUserPath as N, SetMaintainerMetadataInput as Nn, DeletedProjectsStats as Nr, DeleteUserMetadataPath as Nt, UpdateBigqueryStorageBackendBody as O, MetadataItem as On, DeletedProject as Or, SetProjectReviewersPath as Ot, AssignFeatureBody as P, UpdateMaintainerBody as Pn, DeletedProjectsStatus as Pr, GetUsersQuery as Pt, ListProjectUsersPath as Q, OrganizationPath as Qn, CreditPurchase as Qt, ChangeProjectUserRolePath as R, AddOrganizationUserBody as Rn, ProjectJoinRequest as Rr, UpdateUserBody as Rt, PolicyTagEnablementGuideSchemaQuery as S, MaintainerInvitationDetail as Sn, UpdateFileStorageBody as Sr, SetProjectDisabledInput as St, StorageBackendMaintainer as T, MaintainerPath as Tn, FeatureProject as Tr, SetProjectMetadataBody as Tt, DeleteProjectInvitationPath as U, CreateOrganizationProjectBody as Un, components as Ur, UserMaintainerMembership as Ut, CreateProjectInvitationBody as V, CreateOrganizationInvitationBody as Vn, CreateApplicationTokenBody as Vr, UserDetail as Vt, DeleteProjectMetadataPath as W, CreateOrganizationProjectInput as Wn, paths as Wr, UserOrganizationMembership as Wt, ListProjectInvitationsPath as X, OrganizationMaintainer as Xn, CreatePaymentRequestBody as Xt, JoinProjectInput as Y, OrganizationListItem as Yn, ProgrammaticProjectClaim as Yt, ListProjectJoinRequestsPath as Z, OrganizationMetadataItemPath as Zn, CreditPaymentRequest as Zt, PolicyTagCapability as _, CreateSamlConfigBody as _n, RotateFileStorageGcsInput as _r, RemoveProjectUserPath as _t, GetUiAppsQuery as a, X402PaymentStatus as an, SetUpBigQueryBody as ar, ProjectInvitationDetail as at, PolicyTagEnablementGuidePath as b, Maintainer as bn, RotateFileStorageS3Input as br, Reviewer as bt, UiApp as c, AddMaintainerUserBody as cn, CreateFileStorageS3Body as cr, ProjectMetadataInput as ct, UiAppVersion as d, CompleteSamlSetupInput as dn, FileStorageGcs as dr, ProjectTemplate as dt, StripeCustomer as en, OrganizationUserPath as er, MoveProjectInput as et, CreateBigqueryServerSideStorageBackendBody as f, CreateMaintainerBody as fn, FileStorageS3 as fr, ProjectTemplatePath as ft, GetStorageBackendProjectsQuery as g, CreateMaintainerOrganizationInput as gn, RotateFileStorageGcsBody as gr, RemoveProjectTemplateFeaturePath as gt, CreateSnowflakeStorageBackendResponse as h, CreateMaintainerOrganizationBody as hn, RotateFileStorageAbsPath as hr, RemoveProjectLimitPath as ht, ReactivateWorkspaceResult as i, UpdateTopUpSettingBody as in, UpdateOrganizationInput as ir, ProjectInvitableRole as it, UpdateStorageBackendInput as j, SamlConfigSummary as jn, DeletedProjectsListQuery as jr, AddUserFeatureBody as jt, UpdateBigqueryStorageBackendInput as k, SamlConfigDetail as kn, DeletedProjectPurgeResult as kr, UpdateProjectBody as kt, UiAppDetail as l, AddMaintainerUserInput as ln, FileStorage as lr, ProjectMetadataItem as lt, CreateSnowflakeStorageBackendBody as m, CreateMaintainerInvitationInput as mn, RotateFileStorageAbsInput as mr, RemoveProjectFeaturePath as mt, ProjectRetentionWorkspace as n, TopUpSetting as nn, SetOrganizationMetadataInput as nr, ProjectBase as nt, RegisterUiAppBody as o, X402_PAYMENT_STATUS as on, CreateFileStorageAbsBody as or, ProjectJoinRequestDetail as ot, CreateBigqueryStorageBackendBody as p, CreateMaintainerInvitationBody as pn, RotateFileStorageAbsBody as pr, ProjectWithFeatureWarnings as pt, GetProjectReviewersPath as q, OrganizationInvitationDetail as qn, ConfirmProgrammaticProjectBody as qt, ProjectRetentionWorkspaceState as r, UpdateStripeCustomerBody as rn, UpdateOrganizationBody as rr, ProjectFeatureWarning as rt, RenameUiAppBody as s, X402_TOP_UP_TYPE as sn, CreateFileStorageGcsBody as sr, ProjectJoinRequestPath as st, ManagementToken as t, StripeCustomerCard as tn, SetOrganizationMetadataBody as tr, Project as tt, UiAppRegistrationResult as u, CompleteSamlSetupBody as un, FileStorageAbs as ur, ProjectPath as ut, PolicyTagEnablementGuide as v, CreateSamlConfigInput as vn, RotateFileStorageGcsPath as vr, RequestProjectAccessBody as vt, StorageBackendBigquery as w, MaintainerMetadataItemPath as wn, FeatureAdmin as wr, SetProjectLimitsInput as wt, PolicyTagEnablementGuideQuery as x, MaintainerDetail as xn, RotateFileStorageS3Path as xr, SetProjectDisabledBody as xt, PolicyTagEnablementGuideInput as y, CreateSamlConfigPath as yn, RotateFileStorageS3Body as yr, RequestProjectAccessInput as yt, CreateProjectFeatureBody as z, AddOrganizationUserInput as zn, ApplicationToken as zr, UpdateUserInput as zt };
18421
- //# sourceMappingURL=types-Ey59ZILC.d.ts.map
18592
+ export { MoveProjectBody as $, OrganizationProject as $n, PayAsYouGoBillingConfiguration as $t, UpdateStorageBackendBody as A, SamlConfigPath as An, GetAllFeaturesQuery as Ar, UpdateProjectInput as At, CreateProjectFeaturePath as B, AdminUser as Bn, ProjectInvitation as Br, User as Bt, StorageBackend as C, MaintainerInvitationPath as Cn, RotateFileStorageS3Input as Cr, SetProjectLimitsBody as Ct, StorageBackendProject as D, MaintainerUserPath as Dn, FeatureAdmin as Dr, SetProjectReviewersBody as Dt, StorageBackendPath as E, MaintainerUser as En, Feature as Er, SetProjectMetadataPath as Et, AssignProjectTemplateFeatureInput as F, UpdateMaintainerInput as Fn, DeletedProjectsPage as Fr, RemoveUserFeaturePath as Ft, GetProjectMetadataPath as G, Organization as Gn, CreatedApplicationToken as Gr, UserPath as Gt, CreateProjectInvitationPath as H, CreateOrganizationInvitationInput as Hn, ApplicationToken as Hr, UserListItem as Ht, ChangeProjectUserRoleBody as I, UpdateSamlConfigBody as In, DeletedProjectsStats as Ir, SetUserMetadataBody as It, JoinProjectBody as J, OrganizationInvitationPath as Jn, ConfirmProgrammaticProjectResult as Jt, GetProjectPath as K, OrganizationDetail as Kn, components as Kr, UserProjectMembership as Kt, ChangeProjectUserRoleInput as L, UpdateSamlConfigInput as Ln, DeletedProjectsStatus as Lr, SetUserMetadataInput as Lt, AddProjectUserBody as M, SetMaintainerMetadataBody as Mn, DeletedProjectPurgeResult as Mr, AddUserFeaturePath as Mt, AddProjectUserPath as N, SetMaintainerMetadataInput as Nn, DeletedProjectsListFilter as Nr, DeleteUserMetadataPath as Nt, UpdateBigqueryStorageBackendBody as O, MetadataItem as On, FeatureProject as Or, SetProjectReviewersPath as Ot, AssignFeatureBody as P, UpdateMaintainerBody as Pn, DeletedProjectsListQuery as Pr, GetUsersQuery as Pt, ListProjectUsersPath as Q, OrganizationPath as Qn, CreditPurchase as Qt, ChangeProjectUserRolePath as R, AddOrganizationUserBody as Rn, MaintainerInvitation as Rr, UpdateUserBody as Rt, PolicyTagEnablementGuideSchemaQuery as S, MaintainerInvitationDetail as Sn, RotateFileStorageS3Body as Sr, SetProjectDisabledInput as St, StorageBackendMaintainer as T, MaintainerPath as Tn, UpdateFileStorageBody as Tr, SetProjectMetadataBody as Tt, DeleteProjectInvitationPath as U, CreateOrganizationProjectBody as Un, ApplicationTokenScope as Ur, UserMaintainerMembership as Ut, CreateProjectInvitationBody as V, CreateOrganizationInvitationBody as Vn, ProjectJoinRequest as Vr, UserDetail as Vt, DeleteProjectMetadataPath as W, CreateOrganizationProjectInput as Wn, CreateApplicationTokenBody as Wr, UserOrganizationMembership as Wt, ListProjectInvitationsPath as X, OrganizationMaintainer as Xn, CreatePaymentRequestBody as Xt, JoinProjectInput as Y, OrganizationListItem as Yn, ProgrammaticProjectClaim as Yt, ListProjectJoinRequestsPath as Z, OrganizationMetadataItemPath as Zn, CreditPaymentRequest as Zt, PolicyTagCapability as _, CreateSamlConfigBody as _n, RotateFileStorageAbsInput as _r, RemoveProjectUserPath as _t, GetUiAppsQuery as a, X402PaymentStatus as an, SetUpBigQueryBody as ar, ProjectInvitationDetail as at, PolicyTagEnablementGuidePath as b, Maintainer as bn, RotateFileStorageGcsInput as br, Reviewer as bt, UiApp as c, AddMaintainerUserBody as cn, CreateFileStorageS3Body as cr, ProjectMetadataInput as ct, UiAppVersion as d, CompleteSamlSetupInput as dn, FileStorageGcs as dr, ProjectTemplate as dt, StripeCustomer as en, OrganizationUserPath as er, MoveProjectInput as et, CreateBigqueryServerSideStorageBackendBody as f, CreateMaintainerBody as fn, FileStorageProject as fr, ProjectTemplatePath as ft, GetStorageBackendProjectsQuery as g, CreateMaintainerOrganizationInput as gn, RotateFileStorageAbsBody as gr, RemoveProjectTemplateFeaturePath as gt, CreateSnowflakeStorageBackendResponse as h, CreateMaintainerOrganizationBody as hn, FileStorageS3 as hr, RemoveProjectLimitPath as ht, ReactivateWorkspaceResult as i, UpdateTopUpSettingBody as in, UpdateOrganizationInput as ir, ProjectInvitableRole as it, UpdateStorageBackendInput as j, SamlConfigSummary as jn, DeletedProject as jr, AddUserFeatureBody as jt, UpdateBigqueryStorageBackendInput as k, SamlConfigDetail as kn, FeatureType as kr, UpdateProjectBody as kt, UiAppDetail as l, AddMaintainerUserInput as ln, FileStorage as lr, ProjectMetadataItem as lt, CreateSnowflakeStorageBackendBody as m, CreateMaintainerInvitationInput as mn, FileStorageProjectsQuery as mr, RemoveProjectFeaturePath as mt, ProjectRetentionWorkspace as n, TopUpSetting as nn, SetOrganizationMetadataInput as nr, ProjectBase as nt, RegisterUiAppBody as o, X402_PAYMENT_STATUS as on, CreateFileStorageAbsBody as or, ProjectJoinRequestDetail as ot, CreateBigqueryStorageBackendBody as p, CreateMaintainerInvitationBody as pn, FileStorageProjectsPage as pr, ProjectWithFeatureWarnings as pt, GetProjectReviewersPath as q, OrganizationInvitationDetail as qn, paths as qr, ConfirmProgrammaticProjectBody as qt, ProjectRetentionWorkspaceState as r, UpdateStripeCustomerBody as rn, UpdateOrganizationBody as rr, ProjectFeatureWarning as rt, RenameUiAppBody as s, X402_TOP_UP_TYPE as sn, CreateFileStorageGcsBody as sr, ProjectJoinRequestPath as st, ManagementToken as t, StripeCustomerCard as tn, SetOrganizationMetadataBody as tr, Project as tt, UiAppRegistrationResult as u, CompleteSamlSetupBody as un, FileStorageAbs as ur, ProjectPath as ut, PolicyTagEnablementGuide as v, CreateSamlConfigInput as vn, RotateFileStorageAbsPath as vr, RequestProjectAccessBody as vt, StorageBackendBigquery as w, MaintainerMetadataItemPath as wn, RotateFileStorageS3Path as wr, SetProjectLimitsInput as wt, PolicyTagEnablementGuideQuery as x, MaintainerDetail as xn, RotateFileStorageGcsPath as xr, SetProjectDisabledBody as xt, PolicyTagEnablementGuideInput as y, CreateSamlConfigPath as yn, RotateFileStorageGcsBody as yr, RequestProjectAccessInput as yt, CreateProjectFeatureBody as z, AddOrganizationUserInput as zn, OrganizationInvitation as zr, UpdateUserInput as zt };
18593
+ //# sourceMappingURL=types-DNldEa7i.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keboola/api-client",
3
- "version": "52.0.0",
3
+ "version": "53.0.0",
4
4
  "description": "TypeScript SDK for Keboola APIs",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -218,6 +218,9 @@
218
218
  "sdk/configurations": [
219
219
  "./dist/sdk/configurations/index.d.ts"
220
220
  ],
221
+ "sdk/dataAppServer": [
222
+ "./dist/sdk/dataAppServer/index.d.ts"
223
+ ],
221
224
  "domain/permissions": [
222
225
  "./dist/domain/permissions/index.d.ts"
223
226
  ],
@@ -934,6 +937,16 @@
934
937
  "default": "./dist/sdk/configurations/index.cjs"
935
938
  }
936
939
  },
940
+ "./sdk/dataAppServer": {
941
+ "import": {
942
+ "types": "./dist/sdk/dataAppServer/index.d.ts",
943
+ "default": "./dist/sdk/dataAppServer/index.js"
944
+ },
945
+ "require": {
946
+ "types": "./dist/sdk/dataAppServer/index.d.cts",
947
+ "default": "./dist/sdk/dataAppServer/index.cjs"
948
+ }
949
+ },
937
950
  "./domain/permissions": {
938
951
  "import": {
939
952
  "types": "./dist/domain/permissions/index.d.ts",
@@ -53,6 +53,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
53
53
  - `api.management.fileStorage.createFileStorageGcs(body: { gcsCredentials: { type: string; project_id: string; private_key_id: string; private_key: string; client_email: string; client_id: string; auth_uri: string; token_uri: string; auth_provider_x509_cert_url: string; client_x509_cert_url: string; }; filesBucket: string; owner: "client" | "keboola"; region: string; }): Promise<FileStorageGcs>`
54
54
  - `api.management.fileStorage.createFileStorageS3(body: { awsKey: string; awsSecret: string; filesBucket: string; owner: string; region: string; }): Promise<{ id: number; awsKey: string; region: string; filesBucket: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; }>`
55
55
  - `api.management.fileStorage.deleteFileStorage(fileStorageId: number): Promise<void>`
56
+ - `api.management.fileStorage.getFileStorageProjects(fileStorageId: number, query?: { page?: { after?: string | undefined; limit?: number | undefined; } | undefined; } | undefined, signal?: AbortSignal | undefined): Promise<{ data: { id: number; name: string; isDeleted: boolean; }[]; meta: { total: number; limit: number; cursor: { param: string; encoding: string; fields: { name: string; type: "string" | "integer" | "date-time"; nullable: boolean; }[]; order: string; }; }; links: { self: string; first: string; next: string | null; }; }>`
56
57
  - `api.management.fileStorage.getFileStoragesAbs(signal?: AbortSignal | undefined): Promise<{ id: number; accountName: string; region: string; containerName: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; }[]>`
57
58
  - `api.management.fileStorage.getFileStoragesGcs(signal?: AbortSignal | undefined): Promise<FileStorageGcs[]>`
58
59
  - `api.management.fileStorage.getFileStoragesS3(signal?: AbortSignal | undefined): Promise<{ id: number; awsKey: string; region: string; filesBucket: string; provider: string; owner: string; isDefault: boolean; created: string; creator: { id: number | null; name: string | null; }; }[]>`
package/surface/sdk.md CHANGED
@@ -25,6 +25,8 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
25
25
  - `api.sdk.semanticLayer.deleteObject(objectType: keyof SemanticChildObjectDataMap, objectUUID: string): Promise<void>`
26
26
  - `api.sdk.semanticLayer.findObjectsByName<T extends SemanticChildObjectType>(objectType: T, name: string, modelUUID: string, signal?: AbortSignal | undefined): Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>`
27
27
  - `api.sdk.semanticLayer.getModel(modelUUID: string, signal?: AbortSignal | undefined): Promise<SemanticObject<SemanticModelData>>`
28
+ - `api.sdk.semanticLayer.listAllObjects<T extends SemanticChildObjectType>(objectType: T, signal?: AbortSignal | undefined): Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>`
29
+ - `api.sdk.semanticLayer.listAllObjectsWithUnreadable<T extends SemanticChildObjectType>(objectType: T, signal?: AbortSignal | undefined): Promise<{ objects: SemanticObject<SemanticChildObjectDataMap[T]>[]; unreadable: SemanticUnreadableObjectRef[]; }>`
28
30
  - `api.sdk.semanticLayer.listModelChildren(modelUUID: string, signal?: AbortSignal | undefined): Promise<SemanticModelChildRef[]>`
29
31
  - `api.sdk.semanticLayer.listModels(signal?: AbortSignal | undefined): Promise<SemanticObject<SemanticModelData>[]>`
30
32
  - `api.sdk.semanticLayer.listMyPendingScopeElevationRequests(objectType: SemanticObjectType, signal?: AbortSignal | undefined): Promise<SemanticObject<Record<string, unknown>>[]>`