@keboola/api-client 24.0.0 → 25.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 (150) hide show
  1. package/API-SURFACE.md +4 -1
  2. package/dist/{ManagementClientAuthError-C7q1Jd9I.d.ts → ManagementClientAuthError-4J0S5tV-.d.ts} +1 -1
  3. package/dist/{ManagementClientAuthError-BuqHAOBO.d.cts → ManagementClientAuthError-CyDpa4NS.d.cts} +1 -1
  4. package/dist/ai/index.d.cts +1 -1
  5. package/dist/ai/index.d.ts +1 -1
  6. package/dist/assets/index.d.cts +1 -1
  7. package/dist/assets/index.d.ts +1 -1
  8. package/dist/auth/index.d.cts +2 -2
  9. package/dist/auth/index.d.ts +2 -2
  10. package/dist/chat/index.d.cts +1 -1
  11. package/dist/chat/index.d.ts +1 -1
  12. package/dist/{chunk-WFXW4XU3.js → chunk-AVH6F5LB.js} +48 -34
  13. package/dist/chunk-AVH6F5LB.js.map +1 -0
  14. package/dist/{chunk-KH6BHTXN.js → chunk-D4WOOKMI.js} +4 -4
  15. package/dist/chunk-D4WOOKMI.js.map +1 -0
  16. package/dist/{chunk-35MODDCL.cjs → chunk-F6ZAYTBX.cjs} +4 -4
  17. package/dist/chunk-F6ZAYTBX.cjs.map +1 -0
  18. package/dist/{chunk-3KEVPUSX.cjs → chunk-FJBP3MRI.cjs} +4 -3
  19. package/dist/chunk-FJBP3MRI.cjs.map +1 -0
  20. package/dist/chunk-HITKHHWN.cjs +174 -0
  21. package/dist/chunk-HITKHHWN.cjs.map +1 -0
  22. package/dist/{chunk-Y44G2VDC.cjs → chunk-HTVJR5WS.cjs} +120 -29
  23. package/dist/chunk-HTVJR5WS.cjs.map +1 -0
  24. package/dist/{chunk-D3ZZQIY2.cjs → chunk-IAYPOSMM.cjs} +4 -4
  25. package/dist/{chunk-D3ZZQIY2.cjs.map → chunk-IAYPOSMM.cjs.map} +1 -1
  26. package/dist/{chunk-XMC355U2.js → chunk-KEFXOJD7.js} +4 -3
  27. package/dist/chunk-KEFXOJD7.js.map +1 -0
  28. package/dist/chunk-LNZP2O4P.js +169 -0
  29. package/dist/chunk-LNZP2O4P.js.map +1 -0
  30. package/dist/chunk-N4COL54U.cjs +22 -0
  31. package/dist/chunk-N4COL54U.cjs.map +1 -0
  32. package/dist/{chunk-D6O5C67S.js → chunk-RVBGE2Z4.js} +3 -3
  33. package/dist/{chunk-D6O5C67S.js.map → chunk-RVBGE2Z4.js.map} +1 -1
  34. package/dist/{chunk-3MTY6I2W.js → chunk-UQ5CACMW.js} +120 -29
  35. package/dist/chunk-UQ5CACMW.js.map +1 -0
  36. package/dist/chunk-YGEJDWGG.js +19 -0
  37. package/dist/chunk-YGEJDWGG.js.map +1 -0
  38. package/dist/{chunk-QZKDBVAU.cjs → chunk-Z3HZ4MP4.cjs} +48 -34
  39. package/dist/chunk-Z3HZ4MP4.cjs.map +1 -0
  40. package/dist/constants/index.cjs +16 -164
  41. package/dist/constants/index.cjs.map +1 -1
  42. package/dist/constants/index.d.cts +1 -0
  43. package/dist/constants/index.d.ts +1 -0
  44. package/dist/constants/index.js +2 -163
  45. package/dist/constants/index.js.map +1 -1
  46. package/dist/{createGenericFetchClient-Df_wFqT8.d.cts → createGenericFetchClient-JcbIIqwF.d.cts} +1 -1
  47. package/dist/{createGenericFetchClient-Sl1DH71J.d.ts → createGenericFetchClient-ZGG5wbAC.d.ts} +1 -1
  48. package/dist/{createOpenapiFetchClient-BSy6dVM5.d.ts → createOpenapiFetchClient-6RX67Hws.d.ts} +1 -1
  49. package/dist/{createOpenapiFetchClient-GZxZgYHd.d.cts → createOpenapiFetchClient-BFmiJ9C5.d.cts} +1 -1
  50. package/dist/dataScience/index.d.cts +1 -1
  51. package/dist/dataScience/index.d.ts +1 -1
  52. package/dist/domain/permissions/index.d.cts +2 -2
  53. package/dist/domain/permissions/index.d.ts +2 -2
  54. package/dist/editor/index.d.cts +1 -1
  55. package/dist/editor/index.d.ts +1 -1
  56. package/dist/encryption/index.d.cts +2 -2
  57. package/dist/encryption/index.d.ts +2 -2
  58. package/dist/encryption/types.d.cts +1 -1
  59. package/dist/encryption/types.d.ts +1 -1
  60. package/dist/import/index.d.cts +1 -1
  61. package/dist/import/index.d.ts +1 -1
  62. package/dist/index.cjs +41 -32
  63. package/dist/index.cjs.map +1 -1
  64. package/dist/index.d.cts +36 -24
  65. package/dist/index.d.ts +36 -24
  66. package/dist/index.js +11 -10
  67. package/dist/index.js.map +1 -1
  68. package/dist/management/index.d.cts +3 -3
  69. package/dist/management/index.d.ts +3 -3
  70. package/dist/metastore/index.d.cts +2 -2
  71. package/dist/metastore/index.d.ts +2 -2
  72. package/dist/notifications/index.d.cts +1 -1
  73. package/dist/notifications/index.d.ts +1 -1
  74. package/dist/oauth/index.d.cts +1 -1
  75. package/dist/oauth/index.d.ts +1 -1
  76. package/dist/{project-DmC8vKnh.d.ts → project-CXqPYo4T.d.ts} +1 -1
  77. package/dist/{project-CSJzVylj.d.cts → project-CZPvcxRW.d.cts} +1 -1
  78. package/dist/queryService/index.d.cts +1 -1
  79. package/dist/queryService/index.d.ts +1 -1
  80. package/dist/queue/index.d.cts +1 -1
  81. package/dist/queue/index.d.ts +1 -1
  82. package/dist/scheduler/index.d.cts +1 -1
  83. package/dist/scheduler/index.d.ts +1 -1
  84. package/dist/sdk/configurations/index.cjs +3 -3
  85. package/dist/sdk/configurations/index.d.cts +6 -6
  86. package/dist/sdk/configurations/index.d.ts +6 -6
  87. package/dist/sdk/configurations/index.js +2 -2
  88. package/dist/sdk/semanticLayer/index.d.cts +2 -2
  89. package/dist/sdk/semanticLayer/index.d.ts +2 -2
  90. package/dist/sdk/semanticLayer/types.d.cts +2 -2
  91. package/dist/sdk/semanticLayer/types.d.ts +2 -2
  92. package/dist/sdk/storage/index.cjs +11 -11
  93. package/dist/sdk/storage/index.d.cts +6 -6
  94. package/dist/sdk/storage/index.d.ts +6 -6
  95. package/dist/sdk/storage/index.js +1 -1
  96. package/dist/sdk/tag/index.d.cts +2 -2
  97. package/dist/sdk/tag/index.d.ts +2 -2
  98. package/dist/sdk/tag/types.d.cts +2 -2
  99. package/dist/sdk/tag/types.d.ts +2 -2
  100. package/dist/sdk/vault/index.d.cts +3 -3
  101. package/dist/sdk/vault/index.d.ts +3 -3
  102. package/dist/status/index.d.cts +1 -1
  103. package/dist/status/index.d.ts +1 -1
  104. package/dist/storage/index.cjs +12 -3
  105. package/dist/storage/index.d.cts +25 -7
  106. package/dist/storage/index.d.ts +25 -7
  107. package/dist/storage/index.js +2 -1
  108. package/dist/storage/types.d.cts +72 -16
  109. package/dist/storage/types.d.ts +72 -16
  110. package/dist/{storageClient-CdFqTbn3.d.cts → storageClient-Cd4jVt58.d.ts} +14 -13
  111. package/dist/{storageClient-B4OooGB9.d.ts → storageClient-Dkcg7hKa.d.cts} +14 -13
  112. package/dist/{storageSdk-DA7U-1Hy.d.ts → storageSdk-15_Fbucc.d.cts} +3 -3
  113. package/dist/{storageSdk-U45zMbUb.d.cts → storageSdk-L6NOdgSJ.d.ts} +3 -3
  114. package/dist/stream/index.d.cts +1 -1
  115. package/dist/stream/index.d.ts +1 -1
  116. package/dist/syncActions/index.cjs +6 -2
  117. package/dist/syncActions/index.d.cts +26 -6
  118. package/dist/syncActions/index.d.ts +26 -6
  119. package/dist/syncActions/index.js +5 -1
  120. package/dist/syncActions/types.d.cts +55 -9
  121. package/dist/syncActions/types.d.ts +55 -9
  122. package/dist/telemetry/index.d.cts +2 -2
  123. package/dist/telemetry/index.d.ts +2 -2
  124. package/dist/{types-BhlJw2f2.d.ts → types-00IaLn3S.d.ts} +160 -1
  125. package/dist/{types-WGZN6XLN.d.cts → types-BqC3U0k0.d.cts} +1 -1
  126. package/dist/{types-Brc6lq7i.d.ts → types-Dkipk6NN.d.ts} +1 -1
  127. package/dist/{types-DNg4M5JV.d.ts → types-UwuKN9Kx.d.cts} +1 -1
  128. package/dist/{types-DNg4M5JV.d.cts → types-UwuKN9Kx.d.ts} +1 -1
  129. package/dist/{types-DVhcwrwN.d.cts → types-sVyfECai.d.cts} +160 -1
  130. package/dist/vault/index.d.cts +1 -1
  131. package/dist/vault/index.d.ts +1 -1
  132. package/package.json +1 -1
  133. package/surface/chat.md +1 -1
  134. package/surface/kaiAgent.md +1 -1
  135. package/surface/queue.md +7 -7
  136. package/surface/sdk.md +1 -1
  137. package/surface/storage.md +9 -8
  138. package/surface/syncActions.md +6 -1
  139. package/dist/chunk-35MODDCL.cjs.map +0 -1
  140. package/dist/chunk-3FZHFTLG.cjs +0 -12
  141. package/dist/chunk-3FZHFTLG.cjs.map +0 -1
  142. package/dist/chunk-3KEVPUSX.cjs.map +0 -1
  143. package/dist/chunk-3MTY6I2W.js.map +0 -1
  144. package/dist/chunk-GM3AKU5T.js +0 -10
  145. package/dist/chunk-GM3AKU5T.js.map +0 -1
  146. package/dist/chunk-KH6BHTXN.js.map +0 -1
  147. package/dist/chunk-QZKDBVAU.cjs.map +0 -1
  148. package/dist/chunk-WFXW4XU3.js.map +0 -1
  149. package/dist/chunk-XMC355U2.js.map +0 -1
  150. package/dist/chunk-Y44G2VDC.cjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { c as OpenapiQueryType, O as OpenapiBodyType, b as OpenapiReturnType, d as OpenapiPathType } from '../types-gcShAmmi.cjs';
2
- import { p as paths, c as components } from '../types-DVhcwrwN.cjs';
3
- export { C as CreateTokenBody, b as CreateTokenResponse, P as ProjectId, a as ShareTokenBody, S as StorageToken, T as TokenListItem, U as UpdateTokenBody } from '../types-DVhcwrwN.cjs';
2
+ import { p as paths, c as components } from '../types-sVyfECai.cjs';
3
+ export { C as CreateTokenBody, b as CreateTokenResponse, P as ProjectId, a as ShareTokenBody, S as StorageToken, T as TokenListItem, U as UpdateTokenBody } from '../types-sVyfECai.cjs';
4
4
  export { A as AdminRole, B as Backend } from '../adminRoles-Cil1lavB.cjs';
5
5
 
6
6
  type BucketStage = 'in' | 'out';
@@ -128,6 +128,17 @@ type BucketDetail = Bucket & {
128
128
  type GetBucketsQuery = {
129
129
  include?: ('attributes' | 'metadata')[];
130
130
  };
131
+ type GetBucketQuery = {
132
+ include?: ('columns' | 'metadata' | 'columnMetadata' | 'sourceMetadata')[];
133
+ };
134
+ type GetBucketInput = {
135
+ branchId: string;
136
+ bucketId: string;
137
+ } & GetBucketQuery;
138
+ type GetBucketOwnerInput = {
139
+ branchId: string;
140
+ bucketId: string;
141
+ };
131
142
  type CreateBucketBody = {
132
143
  name: string;
133
144
  stage: BucketStage;
@@ -225,8 +236,8 @@ type RefreshExternalBucketQuery = {
225
236
  force?: boolean;
226
237
  lastChangeDate?: string;
227
238
  };
228
- /** Owner detail returned by `GET /v2/storage/buckets/{bucketId}/owner`. */
229
- type BucketOwner = OpenapiReturnType<paths['/v2/storage/buckets/{bucketId}/owner']['get']>;
239
+ /** Owner detail returned by `GET /v2/storage/branch/{branchId}/buckets/{bucketId}/owner`. */
240
+ type BucketOwner = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/owner']['get']>;
230
241
  /** Markdown guide returned by `GET /v2/storage/buckets/register-guide`. */
231
242
  type BucketRegistrationGuide = OpenapiReturnType<paths['/v2/storage/buckets/register-guide']['get']>;
232
243
  /** Query for `GET /v2/storage/buckets/register-guide`. */
@@ -298,21 +309,41 @@ type StorageEvent = {
298
309
  type EventPath = {
299
310
  eventId: string | number;
300
311
  };
301
- type GetTableEventsQuery = Omit<GetEventsQuery, 'runId' | 'configurationId'>;
302
- type TableEventPath = {
312
+ type GetObjectEventsQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/events']['get']>>;
313
+ type GetTableEventsInput = {
314
+ branchId: string;
303
315
  tableId: string;
304
- };
316
+ } & GetObjectEventsQuery;
317
+ type GetBucketEventsInput = {
318
+ branchId: string;
319
+ bucketId: string;
320
+ } & GetObjectEventsQuery;
305
321
  type TableEvent = {
306
322
  uuid: string;
307
323
  event: string;
308
324
  component: string;
309
325
  type: EventType;
310
326
  message: string;
327
+ description?: string;
311
328
  created: string;
312
- runId?: string;
313
- objectId?: string;
329
+ runId?: string | null;
330
+ configurationId?: string | null;
331
+ objectId?: string | number;
314
332
  objectName?: string;
315
333
  objectType?: string;
334
+ idBranch?: number | null;
335
+ uri?: string;
336
+ attachments?: unknown[];
337
+ context?: {
338
+ remoteAddr: string | null;
339
+ httpReferer: string;
340
+ httpUserAgent: string;
341
+ apiVersion: string;
342
+ };
343
+ token?: {
344
+ id: number;
345
+ name: string;
346
+ };
316
347
  params?: Record<string, unknown>;
317
348
  results?: {
318
349
  rowsCount?: number;
@@ -323,6 +354,7 @@ type TableEvent = {
323
354
  };
324
355
  };
325
356
 
357
+ type TableSnapshotsOperations = paths['/v2/storage/branch/{branchId}/tables/{id}/snapshots'];
326
358
  type FilterOperator = 'eq' | 'ne' | 'gt' | 'lt' | 'ge' | 'le';
327
359
  type DataType = 'INTEGER' | 'DOUBLE' | 'BIGINT' | 'REAL' | 'DECIMAL';
328
360
  type WhereFilters = {
@@ -336,12 +368,27 @@ type DeleteTableRows = {
336
368
  changedUntil?: string;
337
369
  whereFilters?: WhereFilters[];
338
370
  };
339
- type GetDataPreview = {
371
+ type OrderBy = {
372
+ column: string;
373
+ order: 'ASC' | 'DESC';
374
+ dataType?: DataType;
375
+ };
376
+ type GetDataPreviewQuery = {
340
377
  format?: 'json' | 'rfc';
341
378
  limit?: number;
342
379
  changedSince?: string;
343
380
  changedUntil?: string;
381
+ fulltextSearch?: string;
344
382
  whereFilters?: WhereFilters[];
383
+ orderBy?: OrderBy[];
384
+ };
385
+ type GetDataPreviewInput = {
386
+ branchId: string;
387
+ tableId: string;
388
+ } & GetDataPreviewQuery;
389
+ type GetTableInput = {
390
+ branchId: string;
391
+ tableId: string;
345
392
  };
346
393
  type GetTablesQuery = {
347
394
  include?: ('attributes' | 'buckets' | 'columns' | 'metadata' | 'columnMetadata' | 'bucketsWithoutSourceTables')[];
@@ -554,11 +601,20 @@ type SetAliasTableFilterBody = {
554
601
  values: string[];
555
602
  operator?: 'eq' | 'ne';
556
603
  };
557
- /** Body for `POST /v2/storage/tables/{id}/snapshots`. */
558
- type CreateSnapshotBody = {
559
- description?: string;
560
- };
561
- /** A table snapshot, returned by `GET /v2/storage/tables/{id}/snapshots`. */
604
+ type CreateSnapshotBody = OpenapiBodyType<TableSnapshotsOperations['post']>;
605
+ type CreateSnapshotInput = {
606
+ branchId: string;
607
+ tableId: string;
608
+ } & CreateSnapshotBody;
609
+ type GetSnapshotsQuery = NonNullable<OpenapiQueryType<TableSnapshotsOperations['get']>>;
610
+ type LoadTableSnapshotsInput = {
611
+ branchId: string;
612
+ tableId: string;
613
+ } & GetSnapshotsQuery;
614
+ /**
615
+ * A table snapshot. The schema types the list items as a bare `Record<string, never>` because the
616
+ * backend OpenAPI declares them as plain objects — this is the real shape.
617
+ */
562
618
  type Snapshot = {
563
619
  id: string;
564
620
  description: string;
@@ -1595,4 +1651,4 @@ type StackInfo = {
1595
1651
  };
1596
1652
  type PartialKey<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
1597
1653
 
1598
- export type { AddFileTagBody, AddTableColumnBody, BackendType, BaseComponentConfig, BranchId$2 as BranchId, BranchMetadata, BranchMetadataEntry, BranchMetadataRaw, Bucket, BucketBackend, BucketDetail, BucketListing, BucketMetadata, BucketOwner, BucketRegistrationGuide, BucketRegistrationGuideQuery, BucketShared, BucketStage, Component, ComponentConfig, ComponentData, ComponentDataTypesConfiguration, ComponentDefinition, ComponentLogging, ComponentProcessorConfiguration, ComponentStagingStorage, ComponentType, ComponentVendor, ConfigType, ConfigurationDiff, ConfigurationDiffContent, ConfigurationDiffPath, ConfigurationDiffRow, ConfigurationDiffSide, ConfigurationDiffSideContent, ConfigurationMetadataItem, ConfigurationPath, ConfigurationRowDiff, ConfigurationRowDiffPath, ConfigurationRowDiffSide, ConfigurationUseCaseType, ConfigurationVersion, ConfigurationVersionDetail, ConfigurationVersionDetailPath, ConfigurationVersionPath, CopyConfigurationFromVersionBody, CopyConfigurationFromVersionInput, CopyConfigurationFromVersionPath, CreateAliasTableBody, CreateBucketBody, CreateBucketListingInput, CreateConfigurationBody, CreateConfigurationInput, CreateConfigurationRowBody, CreateConfigurationRowInput, CreateConfigurationRowPath, CreateConfigurationRowsInput, CreateConfigurationWorkspaceBody, CreateConfigurationWorkspaceQuery, CreateDevBranchJobBody, CreateEventBody, CreateMergeRequestParams, CreateScheduledRefreshBody, CreateScheduledRefreshPath, CreateSnapshotBody, CreateTableAsyncBody, CreateTableAsyncFromFileBody, CreateTableDefinitionBody, CreateTablePrimaryKeyBody, CreateTriggerBody, DeleteConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowPath, DeleteConfigurationRowsInput, DeleteFileTagPath, DeleteTableColumnQuery, DeleteTableRows, DeleteWorkspaceObjectBody, DeleteWorkspaceObjectInput, DeleteWorkspaceQuery, DevBranch, DevBranchPath, EventPath, EventType, File, FilePath, FilterOperator, GetBucketsQuery, GetComponentPath, GetComponentsPath, GetComponentsQuery, GetConfigurationsPath, GetDataPreview, GetEventsQuery, GetFilesQuery, GetJobPath, GetJobsQuery, GetRunIdStatsQuery, GetSearchComponentConfigurationsPath, GetStackInfoQuery, GetTableEventsQuery, GetTablesQuery, GetWorkspaceSaml2LoginPath, GlobalSearchItem, GlobalSearchItemType, GlobalSearchQuery, GlobalSearchResponse, Job, JobOperation, JobStatus, JobUnion, ListTriggersQuery, LoginType, MergeRequest, MergeRequestActivityEventType, MergeRequestActivityLogEntry, MergeRequestChangeLog, MergeRequestChangeLogEntry, MergeRequestConflict, MergeRequestDetail, MergeRequestDetailWithActivityLog, MergeRequestReviewer, MergeRequestReviewerStatus, Metadata, PartialKey, PrepareFileBody, PreparedFile, PrevieData, PreviewData, RawBucketListingResponse, RawBucketListingRow, RebaseConfigurationBody, RebaseConfigurationInput, RebaseConfigurationPath, RebaseConfigurationRow, RefreshExternalBucketQuery, RegisterBucketBody, ResetWorkspacePassword, RollbackConfigurationToVersionInput, Row, RunIdStats, RunIdTableStat, SaveBucketMetadataBody, SaveConfigurationMetadataBody, SaveConfigurationMetadataInput, SaveMetadataBody, ScheduledTask, SearchComponentConfiguration, SearchComponentConfigurationsQuery, Service, ServiceId, SetAliasTableFilterBody, SetWorkspacePublicInput, SetWorkspacePublicKeyBody, SetWorkspacePublicKeyPath, ShareBucketToProjectsBody, ShareBucketToUsersBody, SharedBuckets, Snapshot, StackComponent, StackInfo, StorageEvent, Subscriber, Table, TableCreateJob, TableDetail, TableEvent, TableEventPath, TableExportAsyncBody, TableExportJob, TableImportAsyncBody, TableImportJob, Trigger, UnloadWorkspaceInput, UnloadWorkspacePath, UnloadWorkspaceQuery, UpdateBucketBody, UpdateBucketListingInput, UpdateBucketOwnerBody, UpdateConfigurationBody, UpdateConfigurationInput, UpdateConfigurationRequestBody, UpdateMergeRequestParams, UpdateTableBody, UpdateTableDefinitionBody, UpdateTableDefinitionInput, UpdateTableDefinitionPath, UpdateTriggerBody, WhereFilters, Workspace, WorkspaceConnection, WorkspaceInputMappingLoadPreviewBody, WorkspaceInputMappingLoadPreviewInput, WorkspaceInputMappingLoadPreviewResponse, WorkspaceLoginType, WorkspaceObject, WorkspacePath, WorkspaceSaml2Login, WorkspacesPath, WrDbRow };
1654
+ export type { AddFileTagBody, AddTableColumnBody, BackendType, BaseComponentConfig, BranchId$2 as BranchId, BranchMetadata, BranchMetadataEntry, BranchMetadataRaw, Bucket, BucketBackend, BucketDetail, BucketListing, BucketMetadata, BucketOwner, BucketRegistrationGuide, BucketRegistrationGuideQuery, BucketShared, BucketStage, Component, ComponentConfig, ComponentData, ComponentDataTypesConfiguration, ComponentDefinition, ComponentLogging, ComponentProcessorConfiguration, ComponentStagingStorage, ComponentType, ComponentVendor, ConfigType, ConfigurationDiff, ConfigurationDiffContent, ConfigurationDiffPath, ConfigurationDiffRow, ConfigurationDiffSide, ConfigurationDiffSideContent, ConfigurationMetadataItem, ConfigurationPath, ConfigurationRowDiff, ConfigurationRowDiffPath, ConfigurationRowDiffSide, ConfigurationUseCaseType, ConfigurationVersion, ConfigurationVersionDetail, ConfigurationVersionDetailPath, ConfigurationVersionPath, CopyConfigurationFromVersionBody, CopyConfigurationFromVersionInput, CopyConfigurationFromVersionPath, CreateAliasTableBody, CreateBucketBody, CreateBucketListingInput, CreateConfigurationBody, CreateConfigurationInput, CreateConfigurationRowBody, CreateConfigurationRowInput, CreateConfigurationRowPath, CreateConfigurationRowsInput, CreateConfigurationWorkspaceBody, CreateConfigurationWorkspaceQuery, CreateDevBranchJobBody, CreateEventBody, CreateMergeRequestParams, CreateScheduledRefreshBody, CreateScheduledRefreshPath, CreateSnapshotBody, CreateSnapshotInput, CreateTableAsyncBody, CreateTableAsyncFromFileBody, CreateTableDefinitionBody, CreateTablePrimaryKeyBody, CreateTriggerBody, DeleteConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowPath, DeleteConfigurationRowsInput, DeleteFileTagPath, DeleteTableColumnQuery, DeleteTableRows, DeleteWorkspaceObjectBody, DeleteWorkspaceObjectInput, DeleteWorkspaceQuery, DevBranch, DevBranchPath, EventPath, EventType, File, FilePath, FilterOperator, GetBucketEventsInput, GetBucketInput, GetBucketOwnerInput, GetBucketQuery, GetBucketsQuery, GetComponentPath, GetComponentsPath, GetComponentsQuery, GetConfigurationsPath, GetDataPreviewInput, GetDataPreviewQuery, GetEventsQuery, GetFilesQuery, GetJobPath, GetJobsQuery, GetObjectEventsQuery, GetRunIdStatsQuery, GetSearchComponentConfigurationsPath, GetSnapshotsQuery, GetStackInfoQuery, GetTableEventsInput, GetTableInput, GetTablesQuery, GetWorkspaceSaml2LoginPath, GlobalSearchItem, GlobalSearchItemType, GlobalSearchQuery, GlobalSearchResponse, Job, JobOperation, JobStatus, JobUnion, ListTriggersQuery, LoadTableSnapshotsInput, LoginType, MergeRequest, MergeRequestActivityEventType, MergeRequestActivityLogEntry, MergeRequestChangeLog, MergeRequestChangeLogEntry, MergeRequestConflict, MergeRequestDetail, MergeRequestDetailWithActivityLog, MergeRequestReviewer, MergeRequestReviewerStatus, Metadata, PartialKey, PrepareFileBody, PreparedFile, PrevieData, PreviewData, RawBucketListingResponse, RawBucketListingRow, RebaseConfigurationBody, RebaseConfigurationInput, RebaseConfigurationPath, RebaseConfigurationRow, RefreshExternalBucketQuery, RegisterBucketBody, ResetWorkspacePassword, RollbackConfigurationToVersionInput, Row, RunIdStats, RunIdTableStat, SaveBucketMetadataBody, SaveConfigurationMetadataBody, SaveConfigurationMetadataInput, SaveMetadataBody, ScheduledTask, SearchComponentConfiguration, SearchComponentConfigurationsQuery, Service, ServiceId, SetAliasTableFilterBody, SetWorkspacePublicInput, SetWorkspacePublicKeyBody, SetWorkspacePublicKeyPath, ShareBucketToProjectsBody, ShareBucketToUsersBody, SharedBuckets, Snapshot, StackComponent, StackInfo, StorageEvent, Subscriber, Table, TableCreateJob, TableDetail, TableEvent, TableExportAsyncBody, TableExportJob, TableImportAsyncBody, TableImportJob, Trigger, UnloadWorkspaceInput, UnloadWorkspacePath, UnloadWorkspaceQuery, UpdateBucketBody, UpdateBucketListingInput, UpdateBucketOwnerBody, UpdateConfigurationBody, UpdateConfigurationInput, UpdateConfigurationRequestBody, UpdateMergeRequestParams, UpdateTableBody, UpdateTableDefinitionBody, UpdateTableDefinitionInput, UpdateTableDefinitionPath, UpdateTriggerBody, WhereFilters, Workspace, WorkspaceConnection, WorkspaceInputMappingLoadPreviewBody, WorkspaceInputMappingLoadPreviewInput, WorkspaceInputMappingLoadPreviewResponse, WorkspaceLoginType, WorkspaceObject, WorkspacePath, WorkspaceSaml2Login, WorkspacesPath, WrDbRow };
@@ -1,6 +1,6 @@
1
1
  import { c as OpenapiQueryType, O as OpenapiBodyType, b as OpenapiReturnType, d as OpenapiPathType } from '../types-gcShAmmi.js';
2
- import { p as paths, c as components } from '../types-BhlJw2f2.js';
3
- export { C as CreateTokenBody, b as CreateTokenResponse, P as ProjectId, a as ShareTokenBody, S as StorageToken, T as TokenListItem, U as UpdateTokenBody } from '../types-BhlJw2f2.js';
2
+ import { p as paths, c as components } from '../types-00IaLn3S.js';
3
+ export { C as CreateTokenBody, b as CreateTokenResponse, P as ProjectId, a as ShareTokenBody, S as StorageToken, T as TokenListItem, U as UpdateTokenBody } from '../types-00IaLn3S.js';
4
4
  export { A as AdminRole, B as Backend } from '../adminRoles-Cil1lavB.js';
5
5
 
6
6
  type BucketStage = 'in' | 'out';
@@ -128,6 +128,17 @@ type BucketDetail = Bucket & {
128
128
  type GetBucketsQuery = {
129
129
  include?: ('attributes' | 'metadata')[];
130
130
  };
131
+ type GetBucketQuery = {
132
+ include?: ('columns' | 'metadata' | 'columnMetadata' | 'sourceMetadata')[];
133
+ };
134
+ type GetBucketInput = {
135
+ branchId: string;
136
+ bucketId: string;
137
+ } & GetBucketQuery;
138
+ type GetBucketOwnerInput = {
139
+ branchId: string;
140
+ bucketId: string;
141
+ };
131
142
  type CreateBucketBody = {
132
143
  name: string;
133
144
  stage: BucketStage;
@@ -225,8 +236,8 @@ type RefreshExternalBucketQuery = {
225
236
  force?: boolean;
226
237
  lastChangeDate?: string;
227
238
  };
228
- /** Owner detail returned by `GET /v2/storage/buckets/{bucketId}/owner`. */
229
- type BucketOwner = OpenapiReturnType<paths['/v2/storage/buckets/{bucketId}/owner']['get']>;
239
+ /** Owner detail returned by `GET /v2/storage/branch/{branchId}/buckets/{bucketId}/owner`. */
240
+ type BucketOwner = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/owner']['get']>;
230
241
  /** Markdown guide returned by `GET /v2/storage/buckets/register-guide`. */
231
242
  type BucketRegistrationGuide = OpenapiReturnType<paths['/v2/storage/buckets/register-guide']['get']>;
232
243
  /** Query for `GET /v2/storage/buckets/register-guide`. */
@@ -298,21 +309,41 @@ type StorageEvent = {
298
309
  type EventPath = {
299
310
  eventId: string | number;
300
311
  };
301
- type GetTableEventsQuery = Omit<GetEventsQuery, 'runId' | 'configurationId'>;
302
- type TableEventPath = {
312
+ type GetObjectEventsQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/events']['get']>>;
313
+ type GetTableEventsInput = {
314
+ branchId: string;
303
315
  tableId: string;
304
- };
316
+ } & GetObjectEventsQuery;
317
+ type GetBucketEventsInput = {
318
+ branchId: string;
319
+ bucketId: string;
320
+ } & GetObjectEventsQuery;
305
321
  type TableEvent = {
306
322
  uuid: string;
307
323
  event: string;
308
324
  component: string;
309
325
  type: EventType;
310
326
  message: string;
327
+ description?: string;
311
328
  created: string;
312
- runId?: string;
313
- objectId?: string;
329
+ runId?: string | null;
330
+ configurationId?: string | null;
331
+ objectId?: string | number;
314
332
  objectName?: string;
315
333
  objectType?: string;
334
+ idBranch?: number | null;
335
+ uri?: string;
336
+ attachments?: unknown[];
337
+ context?: {
338
+ remoteAddr: string | null;
339
+ httpReferer: string;
340
+ httpUserAgent: string;
341
+ apiVersion: string;
342
+ };
343
+ token?: {
344
+ id: number;
345
+ name: string;
346
+ };
316
347
  params?: Record<string, unknown>;
317
348
  results?: {
318
349
  rowsCount?: number;
@@ -323,6 +354,7 @@ type TableEvent = {
323
354
  };
324
355
  };
325
356
 
357
+ type TableSnapshotsOperations = paths['/v2/storage/branch/{branchId}/tables/{id}/snapshots'];
326
358
  type FilterOperator = 'eq' | 'ne' | 'gt' | 'lt' | 'ge' | 'le';
327
359
  type DataType = 'INTEGER' | 'DOUBLE' | 'BIGINT' | 'REAL' | 'DECIMAL';
328
360
  type WhereFilters = {
@@ -336,12 +368,27 @@ type DeleteTableRows = {
336
368
  changedUntil?: string;
337
369
  whereFilters?: WhereFilters[];
338
370
  };
339
- type GetDataPreview = {
371
+ type OrderBy = {
372
+ column: string;
373
+ order: 'ASC' | 'DESC';
374
+ dataType?: DataType;
375
+ };
376
+ type GetDataPreviewQuery = {
340
377
  format?: 'json' | 'rfc';
341
378
  limit?: number;
342
379
  changedSince?: string;
343
380
  changedUntil?: string;
381
+ fulltextSearch?: string;
344
382
  whereFilters?: WhereFilters[];
383
+ orderBy?: OrderBy[];
384
+ };
385
+ type GetDataPreviewInput = {
386
+ branchId: string;
387
+ tableId: string;
388
+ } & GetDataPreviewQuery;
389
+ type GetTableInput = {
390
+ branchId: string;
391
+ tableId: string;
345
392
  };
346
393
  type GetTablesQuery = {
347
394
  include?: ('attributes' | 'buckets' | 'columns' | 'metadata' | 'columnMetadata' | 'bucketsWithoutSourceTables')[];
@@ -554,11 +601,20 @@ type SetAliasTableFilterBody = {
554
601
  values: string[];
555
602
  operator?: 'eq' | 'ne';
556
603
  };
557
- /** Body for `POST /v2/storage/tables/{id}/snapshots`. */
558
- type CreateSnapshotBody = {
559
- description?: string;
560
- };
561
- /** A table snapshot, returned by `GET /v2/storage/tables/{id}/snapshots`. */
604
+ type CreateSnapshotBody = OpenapiBodyType<TableSnapshotsOperations['post']>;
605
+ type CreateSnapshotInput = {
606
+ branchId: string;
607
+ tableId: string;
608
+ } & CreateSnapshotBody;
609
+ type GetSnapshotsQuery = NonNullable<OpenapiQueryType<TableSnapshotsOperations['get']>>;
610
+ type LoadTableSnapshotsInput = {
611
+ branchId: string;
612
+ tableId: string;
613
+ } & GetSnapshotsQuery;
614
+ /**
615
+ * A table snapshot. The schema types the list items as a bare `Record<string, never>` because the
616
+ * backend OpenAPI declares them as plain objects — this is the real shape.
617
+ */
562
618
  type Snapshot = {
563
619
  id: string;
564
620
  description: string;
@@ -1595,4 +1651,4 @@ type StackInfo = {
1595
1651
  };
1596
1652
  type PartialKey<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
1597
1653
 
1598
- export type { AddFileTagBody, AddTableColumnBody, BackendType, BaseComponentConfig, BranchId$2 as BranchId, BranchMetadata, BranchMetadataEntry, BranchMetadataRaw, Bucket, BucketBackend, BucketDetail, BucketListing, BucketMetadata, BucketOwner, BucketRegistrationGuide, BucketRegistrationGuideQuery, BucketShared, BucketStage, Component, ComponentConfig, ComponentData, ComponentDataTypesConfiguration, ComponentDefinition, ComponentLogging, ComponentProcessorConfiguration, ComponentStagingStorage, ComponentType, ComponentVendor, ConfigType, ConfigurationDiff, ConfigurationDiffContent, ConfigurationDiffPath, ConfigurationDiffRow, ConfigurationDiffSide, ConfigurationDiffSideContent, ConfigurationMetadataItem, ConfigurationPath, ConfigurationRowDiff, ConfigurationRowDiffPath, ConfigurationRowDiffSide, ConfigurationUseCaseType, ConfigurationVersion, ConfigurationVersionDetail, ConfigurationVersionDetailPath, ConfigurationVersionPath, CopyConfigurationFromVersionBody, CopyConfigurationFromVersionInput, CopyConfigurationFromVersionPath, CreateAliasTableBody, CreateBucketBody, CreateBucketListingInput, CreateConfigurationBody, CreateConfigurationInput, CreateConfigurationRowBody, CreateConfigurationRowInput, CreateConfigurationRowPath, CreateConfigurationRowsInput, CreateConfigurationWorkspaceBody, CreateConfigurationWorkspaceQuery, CreateDevBranchJobBody, CreateEventBody, CreateMergeRequestParams, CreateScheduledRefreshBody, CreateScheduledRefreshPath, CreateSnapshotBody, CreateTableAsyncBody, CreateTableAsyncFromFileBody, CreateTableDefinitionBody, CreateTablePrimaryKeyBody, CreateTriggerBody, DeleteConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowPath, DeleteConfigurationRowsInput, DeleteFileTagPath, DeleteTableColumnQuery, DeleteTableRows, DeleteWorkspaceObjectBody, DeleteWorkspaceObjectInput, DeleteWorkspaceQuery, DevBranch, DevBranchPath, EventPath, EventType, File, FilePath, FilterOperator, GetBucketsQuery, GetComponentPath, GetComponentsPath, GetComponentsQuery, GetConfigurationsPath, GetDataPreview, GetEventsQuery, GetFilesQuery, GetJobPath, GetJobsQuery, GetRunIdStatsQuery, GetSearchComponentConfigurationsPath, GetStackInfoQuery, GetTableEventsQuery, GetTablesQuery, GetWorkspaceSaml2LoginPath, GlobalSearchItem, GlobalSearchItemType, GlobalSearchQuery, GlobalSearchResponse, Job, JobOperation, JobStatus, JobUnion, ListTriggersQuery, LoginType, MergeRequest, MergeRequestActivityEventType, MergeRequestActivityLogEntry, MergeRequestChangeLog, MergeRequestChangeLogEntry, MergeRequestConflict, MergeRequestDetail, MergeRequestDetailWithActivityLog, MergeRequestReviewer, MergeRequestReviewerStatus, Metadata, PartialKey, PrepareFileBody, PreparedFile, PrevieData, PreviewData, RawBucketListingResponse, RawBucketListingRow, RebaseConfigurationBody, RebaseConfigurationInput, RebaseConfigurationPath, RebaseConfigurationRow, RefreshExternalBucketQuery, RegisterBucketBody, ResetWorkspacePassword, RollbackConfigurationToVersionInput, Row, RunIdStats, RunIdTableStat, SaveBucketMetadataBody, SaveConfigurationMetadataBody, SaveConfigurationMetadataInput, SaveMetadataBody, ScheduledTask, SearchComponentConfiguration, SearchComponentConfigurationsQuery, Service, ServiceId, SetAliasTableFilterBody, SetWorkspacePublicInput, SetWorkspacePublicKeyBody, SetWorkspacePublicKeyPath, ShareBucketToProjectsBody, ShareBucketToUsersBody, SharedBuckets, Snapshot, StackComponent, StackInfo, StorageEvent, Subscriber, Table, TableCreateJob, TableDetail, TableEvent, TableEventPath, TableExportAsyncBody, TableExportJob, TableImportAsyncBody, TableImportJob, Trigger, UnloadWorkspaceInput, UnloadWorkspacePath, UnloadWorkspaceQuery, UpdateBucketBody, UpdateBucketListingInput, UpdateBucketOwnerBody, UpdateConfigurationBody, UpdateConfigurationInput, UpdateConfigurationRequestBody, UpdateMergeRequestParams, UpdateTableBody, UpdateTableDefinitionBody, UpdateTableDefinitionInput, UpdateTableDefinitionPath, UpdateTriggerBody, WhereFilters, Workspace, WorkspaceConnection, WorkspaceInputMappingLoadPreviewBody, WorkspaceInputMappingLoadPreviewInput, WorkspaceInputMappingLoadPreviewResponse, WorkspaceLoginType, WorkspaceObject, WorkspacePath, WorkspaceSaml2Login, WorkspacesPath, WrDbRow };
1654
+ export type { AddFileTagBody, AddTableColumnBody, BackendType, BaseComponentConfig, BranchId$2 as BranchId, BranchMetadata, BranchMetadataEntry, BranchMetadataRaw, Bucket, BucketBackend, BucketDetail, BucketListing, BucketMetadata, BucketOwner, BucketRegistrationGuide, BucketRegistrationGuideQuery, BucketShared, BucketStage, Component, ComponentConfig, ComponentData, ComponentDataTypesConfiguration, ComponentDefinition, ComponentLogging, ComponentProcessorConfiguration, ComponentStagingStorage, ComponentType, ComponentVendor, ConfigType, ConfigurationDiff, ConfigurationDiffContent, ConfigurationDiffPath, ConfigurationDiffRow, ConfigurationDiffSide, ConfigurationDiffSideContent, ConfigurationMetadataItem, ConfigurationPath, ConfigurationRowDiff, ConfigurationRowDiffPath, ConfigurationRowDiffSide, ConfigurationUseCaseType, ConfigurationVersion, ConfigurationVersionDetail, ConfigurationVersionDetailPath, ConfigurationVersionPath, CopyConfigurationFromVersionBody, CopyConfigurationFromVersionInput, CopyConfigurationFromVersionPath, CreateAliasTableBody, CreateBucketBody, CreateBucketListingInput, CreateConfigurationBody, CreateConfigurationInput, CreateConfigurationRowBody, CreateConfigurationRowInput, CreateConfigurationRowPath, CreateConfigurationRowsInput, CreateConfigurationWorkspaceBody, CreateConfigurationWorkspaceQuery, CreateDevBranchJobBody, CreateEventBody, CreateMergeRequestParams, CreateScheduledRefreshBody, CreateScheduledRefreshPath, CreateSnapshotBody, CreateSnapshotInput, CreateTableAsyncBody, CreateTableAsyncFromFileBody, CreateTableDefinitionBody, CreateTablePrimaryKeyBody, CreateTriggerBody, DeleteConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowPath, DeleteConfigurationRowsInput, DeleteFileTagPath, DeleteTableColumnQuery, DeleteTableRows, DeleteWorkspaceObjectBody, DeleteWorkspaceObjectInput, DeleteWorkspaceQuery, DevBranch, DevBranchPath, EventPath, EventType, File, FilePath, FilterOperator, GetBucketEventsInput, GetBucketInput, GetBucketOwnerInput, GetBucketQuery, GetBucketsQuery, GetComponentPath, GetComponentsPath, GetComponentsQuery, GetConfigurationsPath, GetDataPreviewInput, GetDataPreviewQuery, GetEventsQuery, GetFilesQuery, GetJobPath, GetJobsQuery, GetObjectEventsQuery, GetRunIdStatsQuery, GetSearchComponentConfigurationsPath, GetSnapshotsQuery, GetStackInfoQuery, GetTableEventsInput, GetTableInput, GetTablesQuery, GetWorkspaceSaml2LoginPath, GlobalSearchItem, GlobalSearchItemType, GlobalSearchQuery, GlobalSearchResponse, Job, JobOperation, JobStatus, JobUnion, ListTriggersQuery, LoadTableSnapshotsInput, LoginType, MergeRequest, MergeRequestActivityEventType, MergeRequestActivityLogEntry, MergeRequestChangeLog, MergeRequestChangeLogEntry, MergeRequestConflict, MergeRequestDetail, MergeRequestDetailWithActivityLog, MergeRequestReviewer, MergeRequestReviewerStatus, Metadata, PartialKey, PrepareFileBody, PreparedFile, PrevieData, PreviewData, RawBucketListingResponse, RawBucketListingRow, RebaseConfigurationBody, RebaseConfigurationInput, RebaseConfigurationPath, RebaseConfigurationRow, RefreshExternalBucketQuery, RegisterBucketBody, ResetWorkspacePassword, RollbackConfigurationToVersionInput, Row, RunIdStats, RunIdTableStat, SaveBucketMetadataBody, SaveConfigurationMetadataBody, SaveConfigurationMetadataInput, SaveMetadataBody, ScheduledTask, SearchComponentConfiguration, SearchComponentConfigurationsQuery, Service, ServiceId, SetAliasTableFilterBody, SetWorkspacePublicInput, SetWorkspacePublicKeyBody, SetWorkspacePublicKeyPath, ShareBucketToProjectsBody, ShareBucketToUsersBody, SharedBuckets, Snapshot, StackComponent, StackInfo, StorageEvent, Subscriber, Table, TableCreateJob, TableDetail, TableEvent, TableExportAsyncBody, TableExportJob, TableImportAsyncBody, TableImportJob, Trigger, UnloadWorkspaceInput, UnloadWorkspacePath, UnloadWorkspaceQuery, UpdateBucketBody, UpdateBucketListingInput, UpdateBucketOwnerBody, UpdateConfigurationBody, UpdateConfigurationInput, UpdateConfigurationRequestBody, UpdateMergeRequestParams, UpdateTableBody, UpdateTableDefinitionBody, UpdateTableDefinitionInput, UpdateTableDefinitionPath, UpdateTriggerBody, WhereFilters, Workspace, WorkspaceConnection, WorkspaceInputMappingLoadPreviewBody, WorkspaceInputMappingLoadPreviewInput, WorkspaceInputMappingLoadPreviewResponse, WorkspaceLoginType, WorkspaceObject, WorkspacePath, WorkspaceSaml2Login, WorkspacesPath, WrDbRow };
@@ -1,8 +1,8 @@
1
- import { c as components, S as StorageToken, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-DVhcwrwN.cjs';
2
- import { GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, JobStatus, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, BucketListing, CreateBucketListingInput, Job, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, UpdateBucketOwnerBody, RefreshExternalBucketQuery, RegisterBucketBody, BucketRegistrationGuideQuery, SaveBucketMetadataBody, GetEventsQuery, StorageEvent, GetTableEventsQuery, TableEvent, CreateEventBody, File, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, Table, TableDetail, GetDataPreview, PreviewData, DeleteTableRows, JobUnion, TableExportAsyncBody, TableExportJob, CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, TableImportAsyncBody, TableImportJob, UpdateTableDefinitionInput, UpdateTableBody, CreateAliasTableBody, SetAliasTableFilterBody, CreateSnapshotBody, Snapshot, SaveMetadataBody, Metadata, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, CreateConfigurationInput, BaseComponentConfig, ConfigType, PartialKey, UpdateConfigurationInput, ComponentConfig, ConfigurationPath, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, SaveConfigurationMetadataInput, ConfigurationMetadataItem, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, RollbackConfigurationToVersionInput, CopyConfigurationFromVersionInput, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.cjs';
3
- import { C as ClientInitOptions, M as MiddlewareFn$1 } from './types-DNg4M5JV.cjs';
4
- import { c as createGenericFetchClient } from './createGenericFetchClient-Df_wFqT8.cjs';
5
- import { c as createOpenapiFetchClient } from './createOpenapiFetchClient-GZxZgYHd.cjs';
1
+ import { c as components, S as StorageToken, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-00IaLn3S.js';
2
+ import { GetBucketsQuery, Bucket, GetBucketInput, BucketDetail, CreateBucketBody, UpdateBucketBody, JobStatus, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, BucketListing, CreateBucketListingInput, Job, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, GetBucketOwnerInput, UpdateBucketOwnerBody, RefreshExternalBucketQuery, RegisterBucketBody, BucketRegistrationGuideQuery, SaveBucketMetadataBody, GetEventsQuery, StorageEvent, GetTableEventsInput, TableEvent, GetBucketEventsInput, CreateEventBody, File, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, Table, GetTableInput, TableDetail, GetDataPreviewInput, PreviewData, DeleteTableRows, JobUnion, TableExportAsyncBody, TableExportJob, CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, TableImportAsyncBody, TableImportJob, UpdateTableDefinitionInput, UpdateTableBody, CreateAliasTableBody, SetAliasTableFilterBody, CreateSnapshotInput, LoadTableSnapshotsInput, Snapshot, SaveMetadataBody, Metadata, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, CreateConfigurationInput, BaseComponentConfig, ConfigType, PartialKey, UpdateConfigurationInput, ComponentConfig, ConfigurationPath, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, SaveConfigurationMetadataInput, ConfigurationMetadataItem, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, RollbackConfigurationToVersionInput, CopyConfigurationFromVersionInput, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.js';
3
+ import { C as ClientInitOptions, M as MiddlewareFn$1 } from './types-UwuKN9Kx.js';
4
+ import { c as createGenericFetchClient } from './createGenericFetchClient-ZGG5wbAC.js';
5
+ import { c as createOpenapiFetchClient } from './createOpenapiFetchClient-6RX67Hws.js';
6
6
 
7
7
  type ProcessFn<T, R> = (item: T, index: number, arrayLength: number) => Promise<R>;
8
8
  type MiddlewareFn<T, R> = (next: ProcessFn<T, R>) => ProcessFn<T, R>;
@@ -29,7 +29,7 @@ type StorageClientInitOptions = Omit<ClientInitOptions, 'middlewares'> & {
29
29
  declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken, }: StorageClientInitOptions) => {
30
30
  buckets: {
31
31
  getBuckets: (branchId: string, query?: GetBucketsQuery, signal?: AbortSignal) => Promise<Bucket[]>;
32
- getBucket: (id: string, signal?: AbortSignal) => Promise<BucketDetail>;
32
+ getBucket: ({ branchId, bucketId, include }: GetBucketInput, signal?: AbortSignal) => Promise<BucketDetail>;
33
33
  createBucket: (body: CreateBucketBody) => Promise<BucketDetail>;
34
34
  updateBucket: (id: string, body: UpdateBucketBody) => Promise<BucketDetail>;
35
35
  deleteBucket: (id: string) => Promise<void>;
@@ -317,7 +317,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
317
317
  status: "success";
318
318
  results: null;
319
319
  })>;
320
- getBucketOwner: (bucketId: string, signal?: AbortSignal) => Promise<{
320
+ getBucketOwner: ({ branchId, bucketId }: GetBucketOwnerInput, signal?: AbortSignal) => Promise<{
321
321
  id: number;
322
322
  name: string;
323
323
  email: string;
@@ -417,7 +417,8 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
417
417
  events: {
418
418
  getEvents: (query?: GetEventsQuery, signal?: AbortSignal) => Promise<StorageEvent[]>;
419
419
  getEvent: (eventId: string | number, signal?: AbortSignal) => Promise<StorageEvent>;
420
- getTableEvents: (tableId: string, query?: GetTableEventsQuery, signal?: AbortSignal) => Promise<TableEvent[]>;
420
+ getTableEvents: ({ branchId, tableId, ...query }: GetTableEventsInput, signal?: AbortSignal) => Promise<TableEvent[]>;
421
+ getBucketEvents: ({ branchId, bucketId, ...query }: GetBucketEventsInput, signal?: AbortSignal) => Promise<TableEvent[]>;
421
422
  createEvent: (body: CreateEventBody, signal?: AbortSignal) => Promise<StorageEvent>;
422
423
  };
423
424
  files: {
@@ -431,8 +432,8 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
431
432
  };
432
433
  tables: {
433
434
  getTables: (branchId: string, query?: GetTablesQuery, signal?: AbortSignal) => Promise<Table[]>;
434
- getTable: (id: string, signal?: AbortSignal) => Promise<TableDetail>;
435
- getDataPreview: (id: string, query?: GetDataPreview, signal?: AbortSignal) => Promise<PreviewData>;
435
+ getTable: ({ branchId, tableId }: GetTableInput, signal?: AbortSignal) => Promise<TableDetail>;
436
+ getDataPreview: ({ branchId, tableId, ...query }: GetDataPreviewInput, signal?: AbortSignal) => Promise<PreviewData>;
436
437
  deleteTable: (id: string, signal?: AbortSignal) => Promise<void>;
437
438
  deleteTables: (ids: string[]) => Promise<void>;
438
439
  deleteTableRows: (id: string, query?: DeleteTableRows, signal?: AbortSignal) => Promise<JobUnion>;
@@ -614,7 +615,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
614
615
  }))>;
615
616
  setAliasTableFilter: (tableId: string, body: SetAliasTableFilterBody, signal?: AbortSignal) => Promise<Table>;
616
617
  removeAliasTableFilter: (tableId: string, signal?: AbortSignal) => Promise<void>;
617
- createSnapshot: (tableId: string, body?: CreateSnapshotBody, signal?: AbortSignal) => Promise<{
618
+ createSnapshot: ({ branchId, tableId, ...body }: CreateSnapshotInput, signal?: AbortSignal) => Promise<{
618
619
  id: number;
619
620
  tableId: string | null;
620
621
  runId: string;
@@ -655,8 +656,8 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
655
656
  status: "success";
656
657
  results: null;
657
658
  })>;
658
- deleteSnapshot: (snapshotId: string, signal?: AbortSignal) => Promise<void>;
659
- loadTableSnapshots: (tableId: string, signal?: AbortSignal) => Promise<Snapshot[]>;
659
+ deleteSnapshot: (snapshotId: string, signal?: AbortSignal) => Promise<JobUnion | null>;
660
+ loadTableSnapshots: ({ branchId, tableId, ...query }: LoadTableSnapshotsInput, signal?: AbortSignal) => Promise<Snapshot[]>;
660
661
  saveTableMetadata: (tableId: string, body: SaveMetadataBody, signal?: AbortSignal) => Promise<Metadata[]>;
661
662
  deleteTableMetadata: (tableId: string, metadataId: string, signal?: AbortSignal) => Promise<void>;
662
663
  };
@@ -1,8 +1,8 @@
1
- import { c as components, S as StorageToken, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-BhlJw2f2.js';
2
- import { GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, JobStatus, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, BucketListing, CreateBucketListingInput, Job, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, UpdateBucketOwnerBody, RefreshExternalBucketQuery, RegisterBucketBody, BucketRegistrationGuideQuery, SaveBucketMetadataBody, GetEventsQuery, StorageEvent, GetTableEventsQuery, TableEvent, CreateEventBody, File, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, Table, TableDetail, GetDataPreview, PreviewData, DeleteTableRows, JobUnion, TableExportAsyncBody, TableExportJob, CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, TableImportAsyncBody, TableImportJob, UpdateTableDefinitionInput, UpdateTableBody, CreateAliasTableBody, SetAliasTableFilterBody, CreateSnapshotBody, Snapshot, SaveMetadataBody, Metadata, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, CreateConfigurationInput, BaseComponentConfig, ConfigType, PartialKey, UpdateConfigurationInput, ComponentConfig, ConfigurationPath, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, SaveConfigurationMetadataInput, ConfigurationMetadataItem, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, RollbackConfigurationToVersionInput, CopyConfigurationFromVersionInput, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.js';
3
- import { C as ClientInitOptions, M as MiddlewareFn$1 } from './types-DNg4M5JV.js';
4
- import { c as createGenericFetchClient } from './createGenericFetchClient-Sl1DH71J.js';
5
- import { c as createOpenapiFetchClient } from './createOpenapiFetchClient-BSy6dVM5.js';
1
+ import { c as components, S as StorageToken, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-sVyfECai.cjs';
2
+ import { GetBucketsQuery, Bucket, GetBucketInput, BucketDetail, CreateBucketBody, UpdateBucketBody, JobStatus, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, BucketListing, CreateBucketListingInput, Job, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, GetBucketOwnerInput, UpdateBucketOwnerBody, RefreshExternalBucketQuery, RegisterBucketBody, BucketRegistrationGuideQuery, SaveBucketMetadataBody, GetEventsQuery, StorageEvent, GetTableEventsInput, TableEvent, GetBucketEventsInput, CreateEventBody, File, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, Table, GetTableInput, TableDetail, GetDataPreviewInput, PreviewData, DeleteTableRows, JobUnion, TableExportAsyncBody, TableExportJob, CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, TableImportAsyncBody, TableImportJob, UpdateTableDefinitionInput, UpdateTableBody, CreateAliasTableBody, SetAliasTableFilterBody, CreateSnapshotInput, LoadTableSnapshotsInput, Snapshot, SaveMetadataBody, Metadata, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, CreateConfigurationInput, BaseComponentConfig, ConfigType, PartialKey, UpdateConfigurationInput, ComponentConfig, ConfigurationPath, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, SaveConfigurationMetadataInput, ConfigurationMetadataItem, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, RollbackConfigurationToVersionInput, CopyConfigurationFromVersionInput, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.cjs';
3
+ import { C as ClientInitOptions, M as MiddlewareFn$1 } from './types-UwuKN9Kx.cjs';
4
+ import { c as createGenericFetchClient } from './createGenericFetchClient-JcbIIqwF.cjs';
5
+ import { c as createOpenapiFetchClient } from './createOpenapiFetchClient-BFmiJ9C5.cjs';
6
6
 
7
7
  type ProcessFn<T, R> = (item: T, index: number, arrayLength: number) => Promise<R>;
8
8
  type MiddlewareFn<T, R> = (next: ProcessFn<T, R>) => ProcessFn<T, R>;
@@ -29,7 +29,7 @@ type StorageClientInitOptions = Omit<ClientInitOptions, 'middlewares'> & {
29
29
  declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken, }: StorageClientInitOptions) => {
30
30
  buckets: {
31
31
  getBuckets: (branchId: string, query?: GetBucketsQuery, signal?: AbortSignal) => Promise<Bucket[]>;
32
- getBucket: (id: string, signal?: AbortSignal) => Promise<BucketDetail>;
32
+ getBucket: ({ branchId, bucketId, include }: GetBucketInput, signal?: AbortSignal) => Promise<BucketDetail>;
33
33
  createBucket: (body: CreateBucketBody) => Promise<BucketDetail>;
34
34
  updateBucket: (id: string, body: UpdateBucketBody) => Promise<BucketDetail>;
35
35
  deleteBucket: (id: string) => Promise<void>;
@@ -317,7 +317,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
317
317
  status: "success";
318
318
  results: null;
319
319
  })>;
320
- getBucketOwner: (bucketId: string, signal?: AbortSignal) => Promise<{
320
+ getBucketOwner: ({ branchId, bucketId }: GetBucketOwnerInput, signal?: AbortSignal) => Promise<{
321
321
  id: number;
322
322
  name: string;
323
323
  email: string;
@@ -417,7 +417,8 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
417
417
  events: {
418
418
  getEvents: (query?: GetEventsQuery, signal?: AbortSignal) => Promise<StorageEvent[]>;
419
419
  getEvent: (eventId: string | number, signal?: AbortSignal) => Promise<StorageEvent>;
420
- getTableEvents: (tableId: string, query?: GetTableEventsQuery, signal?: AbortSignal) => Promise<TableEvent[]>;
420
+ getTableEvents: ({ branchId, tableId, ...query }: GetTableEventsInput, signal?: AbortSignal) => Promise<TableEvent[]>;
421
+ getBucketEvents: ({ branchId, bucketId, ...query }: GetBucketEventsInput, signal?: AbortSignal) => Promise<TableEvent[]>;
421
422
  createEvent: (body: CreateEventBody, signal?: AbortSignal) => Promise<StorageEvent>;
422
423
  };
423
424
  files: {
@@ -431,8 +432,8 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
431
432
  };
432
433
  tables: {
433
434
  getTables: (branchId: string, query?: GetTablesQuery, signal?: AbortSignal) => Promise<Table[]>;
434
- getTable: (id: string, signal?: AbortSignal) => Promise<TableDetail>;
435
- getDataPreview: (id: string, query?: GetDataPreview, signal?: AbortSignal) => Promise<PreviewData>;
435
+ getTable: ({ branchId, tableId }: GetTableInput, signal?: AbortSignal) => Promise<TableDetail>;
436
+ getDataPreview: ({ branchId, tableId, ...query }: GetDataPreviewInput, signal?: AbortSignal) => Promise<PreviewData>;
436
437
  deleteTable: (id: string, signal?: AbortSignal) => Promise<void>;
437
438
  deleteTables: (ids: string[]) => Promise<void>;
438
439
  deleteTableRows: (id: string, query?: DeleteTableRows, signal?: AbortSignal) => Promise<JobUnion>;
@@ -614,7 +615,7 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
614
615
  }))>;
615
616
  setAliasTableFilter: (tableId: string, body: SetAliasTableFilterBody, signal?: AbortSignal) => Promise<Table>;
616
617
  removeAliasTableFilter: (tableId: string, signal?: AbortSignal) => Promise<void>;
617
- createSnapshot: (tableId: string, body?: CreateSnapshotBody, signal?: AbortSignal) => Promise<{
618
+ createSnapshot: ({ branchId, tableId, ...body }: CreateSnapshotInput, signal?: AbortSignal) => Promise<{
618
619
  id: number;
619
620
  tableId: string | null;
620
621
  runId: string;
@@ -655,8 +656,8 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
655
656
  status: "success";
656
657
  results: null;
657
658
  })>;
658
- deleteSnapshot: (snapshotId: string, signal?: AbortSignal) => Promise<void>;
659
- loadTableSnapshots: (tableId: string, signal?: AbortSignal) => Promise<Snapshot[]>;
659
+ deleteSnapshot: (snapshotId: string, signal?: AbortSignal) => Promise<JobUnion | null>;
660
+ loadTableSnapshots: ({ branchId, tableId, ...query }: LoadTableSnapshotsInput, signal?: AbortSignal) => Promise<Snapshot[]>;
660
661
  saveTableMetadata: (tableId: string, body: SaveMetadataBody, signal?: AbortSignal) => Promise<Metadata[]>;
661
662
  deleteTableMetadata: (tableId: string, metadataId: string, signal?: AbortSignal) => Promise<void>;
662
663
  };
@@ -1,5 +1,5 @@
1
- import { CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, JobStatus, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotBody, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody } from './storage/types.js';
2
- import { c as createStorageClient } from './storageClient-B4OooGB9.js';
1
+ import { CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, JobStatus, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotInput, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody } from './storage/types.cjs';
2
+ import { c as createStorageClient } from './storageClient-Dkcg7hKa.cjs';
3
3
 
4
4
  type Options = {
5
5
  interval?: number;
@@ -495,7 +495,7 @@ declare const createStorageSdk: ({ storageClient }: StorageSdkOptions) => {
495
495
  status: "success";
496
496
  results: null;
497
497
  })>;
498
- createSnapshot: (tableId: string, body?: CreateSnapshotBody, options?: Options) => Promise<{
498
+ createSnapshot: (input: CreateSnapshotInput, options?: Options) => Promise<{
499
499
  id: number;
500
500
  tableId: string | null;
501
501
  runId: string;
@@ -1,5 +1,5 @@
1
- import { CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, JobStatus, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotBody, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody } from './storage/types.cjs';
2
- import { c as createStorageClient } from './storageClient-CdFqTbn3.cjs';
1
+ import { CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, JobStatus, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotInput, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody } from './storage/types.js';
2
+ import { c as createStorageClient } from './storageClient-Cd4jVt58.js';
3
3
 
4
4
  type Options = {
5
5
  interval?: number;
@@ -495,7 +495,7 @@ declare const createStorageSdk: ({ storageClient }: StorageSdkOptions) => {
495
495
  status: "success";
496
496
  results: null;
497
497
  })>;
498
- createSnapshot: (tableId: string, body?: CreateSnapshotBody, options?: Options) => Promise<{
498
+ createSnapshot: (input: CreateSnapshotInput, options?: Options) => Promise<{
499
499
  id: number;
500
500
  tableId: string | null;
501
501
  runId: string;
@@ -1,5 +1,5 @@
1
1
  import { P as PaginationQuery, c as components, C as CreateSourceRequestBody, U as UpdateSourceRequestBody, D as DeleteSourceQuery, a as UpdateSourceSettingsRequestBody, T as TestSourceQuery, b as CreateSinkRequestBody, d as UpdateSinkRequestBody, e as UpdateSinkSettingsRequestBody, S as SinkStatisticsFilesQuery } from '../types-BieLFMW1.cjs';
2
- import { C as ClientInitOptions } from '../types-DNg4M5JV.cjs';
2
+ import { C as ClientInitOptions } from '../types-UwuKN9Kx.cjs';
3
3
  import '../types-gcShAmmi.cjs';
4
4
  import 'qs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { P as PaginationQuery, c as components, C as CreateSourceRequestBody, U as UpdateSourceRequestBody, D as DeleteSourceQuery, a as UpdateSourceSettingsRequestBody, T as TestSourceQuery, b as CreateSinkRequestBody, d as UpdateSinkRequestBody, e as UpdateSinkSettingsRequestBody, S as SinkStatisticsFilesQuery } from '../types-CiJ5ULtS.js';
2
- import { C as ClientInitOptions } from '../types-DNg4M5JV.js';
2
+ import { C as ClientInitOptions } from '../types-UwuKN9Kx.js';
3
3
  import '../types-gcShAmmi.js';
4
4
  import 'qs';
5
5
 
@@ -1,6 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkY44G2VDC_cjs = require('../chunk-Y44G2VDC.cjs');
3
+ var chunkHTVJR5WS_cjs = require('../chunk-HTVJR5WS.cjs');
4
+ require('../chunk-HITKHHWN.cjs');
5
+ require('../chunk-FJBP3MRI.cjs');
6
+ require('../chunk-YXGBD4WP.cjs');
7
+ require('../chunk-N4COL54U.cjs');
4
8
  require('../chunk-7RO6PKZ4.cjs');
5
9
  require('../chunk-MMOAH3EH.cjs');
6
10
 
@@ -8,7 +12,7 @@ require('../chunk-MMOAH3EH.cjs');
8
12
 
9
13
  Object.defineProperty(exports, "createSyncActionsClient", {
10
14
  enumerable: true,
11
- get: function () { return chunkY44G2VDC_cjs.createSyncActionsClient; }
15
+ get: function () { return chunkHTVJR5WS_cjs.createSyncActionsClient; }
12
16
  });
13
17
  //# sourceMappingURL=index.cjs.map
14
18
  //# sourceMappingURL=index.cjs.map
@@ -1,15 +1,35 @@
1
- import { PostActionsBody, EnrollMFAInput, GetDataAppPublicGitRepositoryInput, GetDataAppPasswordPrivateGitRepositoryInput, GetDataAppSSHKeyPrivateGitRepositoryInput, GetPublicGitRepositoryInput, GetGitPrivateRepositoryInput } from './types.cjs';
2
- import { c as createOpenapiFetchClient } from '../createOpenapiFetchClient-GZxZgYHd.cjs';
3
- import { C as ClientInitOptions } from '../types-DNg4M5JV.cjs';
1
+ import { SyncActionBody, EnrollMFAInput, ApifyObjectsInput, GetDataAppPublicGitRepositoryInput, GetDataAppPasswordPrivateGitRepositoryInput, GetDataAppSSHKeyPrivateGitRepositoryInput, GetPublicGitRepositoryInput, GetGitPrivateRepositoryInput } from './types.cjs';
2
+ import { V as ValidateStatusFn, C as ClientInitOptions } from '../types-UwuKN9Kx.cjs';
3
+ import { c as createOpenapiFetchClient } from '../createOpenapiFetchClient-BFmiJ9C5.cjs';
4
4
  import '../types-gcShAmmi.cjs';
5
+ import 'zod';
5
6
  import 'qs';
6
7
 
7
- declare const createSendSyncAction: (client: SyncActionClient) => (body: PostActionsBody, signal?: AbortSignal) => Promise<Record<string, never>>;
8
+ type SendSyncActionOptions = {
9
+ signal?: AbortSignal;
10
+ /**
11
+ * Replaces the client's `syncActionValidateStatus` for this one request. Use it where a component
12
+ * signals failure in a way only its own action knows about — delegate to the shared one for
13
+ * everything else.
14
+ */
15
+ validateStatus?: ValidateStatusFn;
16
+ };
17
+ declare const createSendSyncAction: (client: SyncActionClient) => (body: SyncActionBody, options?: SendSyncActionOptions) => Promise<Record<string, never>>;
8
18
  type SendSyncAction = ReturnType<typeof createSendSyncAction>;
9
19
  type SyncActionClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
10
20
  declare const createSyncActionsClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
11
- sendSyncAction: (body: PostActionsBody, signal?: AbortSignal) => Promise<Record<string, never>>;
21
+ sendSyncAction: (body: SyncActionBody, options?: SendSyncActionOptions) => Promise<Record<string, never>>;
12
22
  enrollMFA: ({ email, ...rest }: EnrollMFAInput, signal?: AbortSignal) => Promise<Record<string, never>>;
23
+ apify: {
24
+ getActors: (input: ApifyObjectsInput, signal?: AbortSignal) => Promise<{
25
+ id: string;
26
+ name: string;
27
+ }[]>;
28
+ getTasks: (input: ApifyObjectsInput, signal?: AbortSignal) => Promise<{
29
+ id: string;
30
+ name: string;
31
+ }[]>;
32
+ };
13
33
  gitRepository: {
14
34
  getDataAppPublicGitRepository: ({ repositoryUrl, ...other }: GetDataAppPublicGitRepositoryInput, signal?: AbortSignal) => Promise<{
15
35
  repository: {
@@ -89,4 +109,4 @@ declare const createSyncActionsClient: ({ baseUrl, middlewares, auth }: ClientIn
89
109
  };
90
110
  };
91
111
 
92
- export { type SendSyncAction, createSyncActionsClient };
112
+ export { type SendSyncAction, type SendSyncActionOptions, createSyncActionsClient };