@keboola/api-client 5.0.0 → 7.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 (229) hide show
  1. package/dist/ai/index.cjs +4 -4
  2. package/dist/ai/index.d.cts +23 -1
  3. package/dist/ai/index.d.ts +23 -1
  4. package/dist/ai/index.js +3 -3
  5. package/dist/ai/types.d.cts +1 -1
  6. package/dist/ai/types.d.ts +1 -1
  7. package/dist/assets/index.cjs +4 -4
  8. package/dist/assets/index.js +3 -3
  9. package/dist/chat/index.cjs +4 -4
  10. package/dist/chat/index.js +3 -3
  11. package/dist/{chunk-7JOV7PXU.js → chunk-2Q75RQ3X.js} +4 -4
  12. package/dist/{chunk-7JOV7PXU.js.map → chunk-2Q75RQ3X.js.map} +1 -1
  13. package/dist/{chunk-7PPUK4HS.js → chunk-4HORTOGH.js} +4 -4
  14. package/dist/{chunk-7PPUK4HS.js.map → chunk-4HORTOGH.js.map} +1 -1
  15. package/dist/chunk-4KJRGFNV.cjs +54 -0
  16. package/dist/chunk-4KJRGFNV.cjs.map +1 -0
  17. package/dist/{chunk-T7UDL2KI.cjs → chunk-4S3EKVQT.cjs} +9 -9
  18. package/dist/{chunk-T7UDL2KI.cjs.map → chunk-4S3EKVQT.cjs.map} +1 -1
  19. package/dist/{chunk-4FU45NEU.js → chunk-54N7LIDM.js} +5 -5
  20. package/dist/chunk-54N7LIDM.js.map +1 -0
  21. package/dist/{chunk-MUQ7TAWH.js → chunk-5S4HIHZA.js} +17 -5
  22. package/dist/chunk-5S4HIHZA.js.map +1 -0
  23. package/dist/{chunk-WOGG723K.cjs → chunk-5XKPYMQL.cjs} +8 -5
  24. package/dist/chunk-5XKPYMQL.cjs.map +1 -0
  25. package/dist/{chunk-S7HIK7XY.js → chunk-5YTV36EI.js} +4 -4
  26. package/dist/{chunk-S7HIK7XY.js.map → chunk-5YTV36EI.js.map} +1 -1
  27. package/dist/{chunk-XRHAE4SD.js → chunk-6S4JS7OJ.js} +3 -3
  28. package/dist/{chunk-XRHAE4SD.js.map → chunk-6S4JS7OJ.js.map} +1 -1
  29. package/dist/{chunk-DOUFVJJF.cjs → chunk-AK4ZHM77.cjs} +6 -6
  30. package/dist/{chunk-DOUFVJJF.cjs.map → chunk-AK4ZHM77.cjs.map} +1 -1
  31. package/dist/chunk-BBRS2HLH.cjs +46 -0
  32. package/dist/chunk-BBRS2HLH.cjs.map +1 -0
  33. package/dist/chunk-BZO2GTJP.js +44 -0
  34. package/dist/chunk-BZO2GTJP.js.map +1 -0
  35. package/dist/{chunk-AB6LHU2Z.cjs → chunk-CFRR7QPR.cjs} +12 -12
  36. package/dist/chunk-CFRR7QPR.cjs.map +1 -0
  37. package/dist/{chunk-XHQZ4TF7.cjs → chunk-CONUMVLZ.cjs} +7 -7
  38. package/dist/{chunk-XHQZ4TF7.cjs.map → chunk-CONUMVLZ.cjs.map} +1 -1
  39. package/dist/{chunk-XI6R76X3.js → chunk-D2SWTZFS.js} +3 -3
  40. package/dist/{chunk-XI6R76X3.js.map → chunk-D2SWTZFS.js.map} +1 -1
  41. package/dist/{chunk-5XADEX3R.js → chunk-EEG7YZUY.js} +4 -4
  42. package/dist/{chunk-5XADEX3R.js.map → chunk-EEG7YZUY.js.map} +1 -1
  43. package/dist/{chunk-KT4MFNBC.cjs → chunk-FB3E7VS6.cjs} +6 -6
  44. package/dist/{chunk-KT4MFNBC.cjs.map → chunk-FB3E7VS6.cjs.map} +1 -1
  45. package/dist/{chunk-OJJ3QLZP.js → chunk-H5DZOHH7.js} +4 -4
  46. package/dist/{chunk-OJJ3QLZP.js.map → chunk-H5DZOHH7.js.map} +1 -1
  47. package/dist/{chunk-3CIPWA33.cjs → chunk-IDYRJ4K3.cjs} +4 -4
  48. package/dist/{chunk-3CIPWA33.cjs.map → chunk-IDYRJ4K3.cjs.map} +1 -1
  49. package/dist/{chunk-UT3GUUCO.js → chunk-J5JUQRPD.js} +4 -4
  50. package/dist/{chunk-UT3GUUCO.js.map → chunk-J5JUQRPD.js.map} +1 -1
  51. package/dist/{chunk-P4CQFG3X.cjs → chunk-J7EQLDUU.cjs} +9 -9
  52. package/dist/{chunk-P4CQFG3X.cjs.map → chunk-J7EQLDUU.cjs.map} +1 -1
  53. package/dist/{chunk-KKZP4DUR.cjs → chunk-KCGEV4ZA.cjs} +6 -6
  54. package/dist/{chunk-KKZP4DUR.cjs.map → chunk-KCGEV4ZA.cjs.map} +1 -1
  55. package/dist/chunk-MQ554O4E.js +52 -0
  56. package/dist/chunk-MQ554O4E.js.map +1 -0
  57. package/dist/chunk-MRHQJNWF.cjs +8 -0
  58. package/dist/chunk-MRHQJNWF.cjs.map +1 -0
  59. package/dist/chunk-MSI6FVGG.js +6 -0
  60. package/dist/chunk-MSI6FVGG.js.map +1 -0
  61. package/dist/{chunk-2NLVV2MF.js → chunk-N37PZ2MB.js} +3 -3
  62. package/dist/{chunk-2NLVV2MF.js.map → chunk-N37PZ2MB.js.map} +1 -1
  63. package/dist/{chunk-OAQGC32L.cjs → chunk-NEN4NIYA.cjs} +26 -14
  64. package/dist/{chunk-MUQ7TAWH.js.map → chunk-NEN4NIYA.cjs.map} +1 -1
  65. package/dist/{chunk-V32CB5U2.cjs → chunk-NFGQHJVB.cjs} +6 -6
  66. package/dist/{chunk-V32CB5U2.cjs.map → chunk-NFGQHJVB.cjs.map} +1 -1
  67. package/dist/{chunk-RF64RAHW.cjs → chunk-OVGB3W3A.cjs} +19 -7
  68. package/dist/chunk-OVGB3W3A.cjs.map +1 -0
  69. package/dist/{chunk-VZROPAWL.cjs → chunk-PWA6XFXA.cjs} +6 -6
  70. package/dist/{chunk-VZROPAWL.cjs.map → chunk-PWA6XFXA.cjs.map} +1 -1
  71. package/dist/{chunk-4NUA46VD.js → chunk-QEQAZPWM.js} +4 -4
  72. package/dist/{chunk-4NUA46VD.js.map → chunk-QEQAZPWM.js.map} +1 -1
  73. package/dist/chunk-R7MQGDLC.cjs +61 -0
  74. package/dist/chunk-R7MQGDLC.cjs.map +1 -0
  75. package/dist/{chunk-7UQVB2SQ.cjs → chunk-RPKKOIYG.cjs} +7 -7
  76. package/dist/{chunk-7UQVB2SQ.cjs.map → chunk-RPKKOIYG.cjs.map} +1 -1
  77. package/dist/{chunk-2EWL5BAZ.cjs → chunk-S4PI2LUQ.cjs} +4 -4
  78. package/dist/{chunk-2EWL5BAZ.cjs.map → chunk-S4PI2LUQ.cjs.map} +1 -1
  79. package/dist/chunk-SI5TFV5M.js +54 -0
  80. package/dist/chunk-SI5TFV5M.js.map +1 -0
  81. package/dist/chunk-TD2PFSP6.js +248 -0
  82. package/dist/chunk-TD2PFSP6.js.map +1 -0
  83. package/dist/{chunk-CFR2CKM6.cjs → chunk-TXDMA4CT.cjs} +6 -6
  84. package/dist/{chunk-CFR2CKM6.cjs.map → chunk-TXDMA4CT.cjs.map} +1 -1
  85. package/dist/chunk-UYZTOVYS.cjs +252 -0
  86. package/dist/chunk-UYZTOVYS.cjs.map +1 -0
  87. package/dist/{chunk-4IBEYSSA.js → chunk-V2MQG3FZ.js} +17 -5
  88. package/dist/chunk-V2MQG3FZ.js.map +1 -0
  89. package/dist/{chunk-JKXQFEY7.js → chunk-VFZVLZC6.js} +4 -4
  90. package/dist/{chunk-JKXQFEY7.js.map → chunk-VFZVLZC6.js.map} +1 -1
  91. package/dist/chunk-VKHQ6BWE.cjs +30 -0
  92. package/dist/{chunk-GOC5UODV.cjs.map → chunk-VKHQ6BWE.cjs.map} +1 -1
  93. package/dist/{chunk-2CTHLPTU.js → chunk-VUVBYSYM.js} +4 -4
  94. package/dist/{chunk-2CTHLPTU.js.map → chunk-VUVBYSYM.js.map} +1 -1
  95. package/dist/{chunk-DGWPC6VR.cjs → chunk-W3AFDHXQ.cjs} +7 -7
  96. package/dist/{chunk-DGWPC6VR.cjs.map → chunk-W3AFDHXQ.cjs.map} +1 -1
  97. package/dist/{chunk-65YXOZDQ.js → chunk-WILFTDTS.js} +7 -4
  98. package/dist/chunk-WILFTDTS.js.map +1 -0
  99. package/dist/{chunk-RPNL672Y.cjs → chunk-XLFQJDYZ.cjs} +4 -4
  100. package/dist/{chunk-RPNL672Y.cjs.map → chunk-XLFQJDYZ.cjs.map} +1 -1
  101. package/dist/{chunk-Y3RILILK.js → chunk-Y26EBVMH.js} +4 -4
  102. package/dist/{chunk-Y3RILILK.js.map → chunk-Y26EBVMH.js.map} +1 -1
  103. package/dist/{chunk-WLS43HX4.cjs → chunk-YGAWVMHH.cjs} +6 -6
  104. package/dist/{chunk-WLS43HX4.cjs.map → chunk-YGAWVMHH.cjs.map} +1 -1
  105. package/dist/{chunk-EDDRN2CO.js → chunk-YIWAUNKU.js} +4 -4
  106. package/dist/{chunk-EDDRN2CO.js.map → chunk-YIWAUNKU.js.map} +1 -1
  107. package/dist/{chunk-6DPZQRNC.js → chunk-YLK5KBXD.js} +4 -4
  108. package/dist/{chunk-6DPZQRNC.js.map → chunk-YLK5KBXD.js.map} +1 -1
  109. package/dist/{chunk-YH52X52J.js → chunk-ZPSPCPDQ.js} +4 -4
  110. package/dist/{chunk-YH52X52J.js.map → chunk-ZPSPCPDQ.js.map} +1 -1
  111. package/dist/dataScience/index.cjs +6 -5
  112. package/dist/dataScience/index.js +4 -3
  113. package/dist/domain/permissions/index.cjs +5 -5
  114. package/dist/domain/permissions/index.d.cts +2 -2
  115. package/dist/domain/permissions/index.d.ts +2 -2
  116. package/dist/domain/permissions/index.js +1 -1
  117. package/dist/editor/index.cjs +4 -4
  118. package/dist/editor/index.js +3 -3
  119. package/dist/encryption/index.cjs +4 -4
  120. package/dist/encryption/index.d.cts +4 -1
  121. package/dist/encryption/index.d.ts +4 -1
  122. package/dist/encryption/index.js +3 -3
  123. package/dist/encryption/types.d.cts +62 -3
  124. package/dist/encryption/types.d.ts +62 -3
  125. package/dist/import/index.cjs +4 -4
  126. package/dist/import/index.js +3 -3
  127. package/dist/{index-KHRrA2IR.d.cts → index-DzhQuag5.d.cts} +4 -4
  128. package/dist/{index-BEE_qeId.d.ts → index-G9ZyDi7K.d.ts} +4 -4
  129. package/dist/index.cjs +133 -83
  130. package/dist/index.cjs.map +1 -1
  131. package/dist/index.d.cts +3018 -15
  132. package/dist/index.d.ts +3018 -15
  133. package/dist/index.js +71 -32
  134. package/dist/index.js.map +1 -1
  135. package/dist/management/index.cjs +6 -6
  136. package/dist/management/index.d.cts +36 -0
  137. package/dist/management/index.d.ts +36 -0
  138. package/dist/management/index.js +4 -4
  139. package/dist/management/types.d.cts +5 -1
  140. package/dist/management/types.d.ts +5 -1
  141. package/dist/metastore/index.cjs +4 -4
  142. package/dist/metastore/index.js +3 -3
  143. package/dist/notifications/index.cjs +14 -0
  144. package/dist/notifications/index.cjs.map +1 -0
  145. package/dist/notifications/index.d.cts +46 -0
  146. package/dist/notifications/index.d.ts +46 -0
  147. package/dist/notifications/index.js +5 -0
  148. package/dist/notifications/index.js.map +1 -0
  149. package/dist/notifications/types.cjs +4 -0
  150. package/dist/notifications/types.cjs.map +1 -0
  151. package/dist/notifications/types.d.cts +2 -0
  152. package/dist/notifications/types.d.ts +2 -0
  153. package/dist/notifications/types.js +3 -0
  154. package/dist/notifications/types.js.map +1 -0
  155. package/dist/oauth/index.cjs +4 -4
  156. package/dist/oauth/index.js +3 -3
  157. package/dist/{project-C4K5Dzoy.d.cts → project-C_m_tOgy.d.cts} +1 -1
  158. package/dist/{project-COwNmNoc.d.ts → project-DQLliCsX.d.ts} +1 -1
  159. package/dist/queryService/index.cjs +4 -4
  160. package/dist/queryService/index.js +3 -3
  161. package/dist/queue/index.cjs +4 -4
  162. package/dist/queue/index.js +3 -3
  163. package/dist/registry-Xwk-vCjf.d.cts +417 -0
  164. package/dist/registry-Xwk-vCjf.d.ts +417 -0
  165. package/dist/scheduler/index.cjs +14 -0
  166. package/dist/scheduler/index.cjs.map +1 -0
  167. package/dist/scheduler/index.d.cts +75 -0
  168. package/dist/scheduler/index.d.ts +75 -0
  169. package/dist/scheduler/index.js +5 -0
  170. package/dist/scheduler/index.js.map +1 -0
  171. package/dist/scheduler/types.cjs +4 -0
  172. package/dist/scheduler/types.cjs.map +1 -0
  173. package/dist/scheduler/types.d.cts +372 -0
  174. package/dist/scheduler/types.d.ts +372 -0
  175. package/dist/scheduler/types.js +3 -0
  176. package/dist/scheduler/types.js.map +1 -0
  177. package/dist/sdk/configurations/index.cjs +8 -8
  178. package/dist/sdk/configurations/index.cjs.map +1 -1
  179. package/dist/sdk/configurations/index.d.cts +1256 -10
  180. package/dist/sdk/configurations/index.d.ts +1256 -10
  181. package/dist/sdk/configurations/index.js +3 -9
  182. package/dist/sdk/configurations/index.js.map +1 -1
  183. package/dist/sdk/storage/index.d.cts +3 -3
  184. package/dist/sdk/storage/index.d.ts +3 -3
  185. package/dist/sdk/vault/index.d.cts +2 -1
  186. package/dist/sdk/vault/index.d.ts +2 -1
  187. package/dist/status/index.cjs +4 -4
  188. package/dist/status/index.js +3 -3
  189. package/dist/storage/index.cjs +4 -4
  190. package/dist/storage/index.d.cts +2 -2
  191. package/dist/storage/index.d.ts +2 -2
  192. package/dist/storage/index.js +3 -3
  193. package/dist/storage/types.d.cts +17 -17
  194. package/dist/storage/types.d.ts +17 -17
  195. package/dist/{storageSdk--0Hh4UCE.d.ts → storageSdk-TDISOoqX.d.ts} +1 -1
  196. package/dist/{storageSdk-DJz6WcW3.d.cts → storageSdk-VlBWkuF3.d.cts} +1 -1
  197. package/dist/stream/index.cjs +4 -4
  198. package/dist/stream/index.js +3 -3
  199. package/dist/syncActions/index.cjs +4 -4
  200. package/dist/syncActions/index.js +3 -3
  201. package/dist/telemetry/index.cjs +4 -4
  202. package/dist/telemetry/index.js +3 -3
  203. package/dist/{types-Dfw6a58i.d.ts → types-BG8yQyYt.d.ts} +3 -2
  204. package/dist/types-BVldT2vs.d.cts +404 -0
  205. package/dist/types-CS8MYc2k.d.ts +404 -0
  206. package/dist/{types-Brx8PoEB.d.cts → types-CfEvz7zi.d.cts} +2 -1
  207. package/dist/{types-DiC2wKsx.d.cts → types-CvHPHNH0.d.cts} +4 -1
  208. package/dist/{types-DFbHRDdR.d.ts → types-D3Kkh6yW.d.ts} +4 -1
  209. package/dist/{types-DcL25GqY.d.cts → types-DJbXfC2q.d.cts} +3 -2
  210. package/dist/{types-D4CDCW-Y.d.ts → types-sxxmo6h9.d.ts} +2 -1
  211. package/dist/vault/index.cjs +4 -4
  212. package/dist/vault/index.js +3 -3
  213. package/dist/verify/index.cjs +4 -4
  214. package/dist/verify/index.d.cts +1 -1
  215. package/dist/verify/index.d.ts +1 -1
  216. package/dist/verify/index.js +3 -3
  217. package/package.json +53 -1
  218. package/dist/chunk-4FU45NEU.js.map +0 -1
  219. package/dist/chunk-4I6TJWBG.cjs +0 -38
  220. package/dist/chunk-4I6TJWBG.cjs.map +0 -1
  221. package/dist/chunk-4IBEYSSA.js.map +0 -1
  222. package/dist/chunk-65YXOZDQ.js.map +0 -1
  223. package/dist/chunk-AB6LHU2Z.cjs.map +0 -1
  224. package/dist/chunk-FL54VJ35.js +0 -32
  225. package/dist/chunk-FL54VJ35.js.map +0 -1
  226. package/dist/chunk-GOC5UODV.cjs +0 -30
  227. package/dist/chunk-OAQGC32L.cjs.map +0 -1
  228. package/dist/chunk-RF64RAHW.cjs.map +0 -1
  229. package/dist/chunk-WOGG723K.cjs.map +0 -1
@@ -1,8 +1,67 @@
1
+ import { P as ProjectId } from '../types-DJbXfC2q.cjs';
2
+ import '../types-jKnx7Tm_.cjs';
3
+
4
+ type BranchType = 'default' | 'dev';
5
+ type EncryptParamsByScope = {
6
+ /** `KBC::ComponentSecure::` — any config of the component, in any project. */
7
+ ComponentSecure: {
8
+ componentId: string;
9
+ };
10
+ /** `KBC::ProjectSecure::` — the component within one project. */
11
+ ProjectSecure: {
12
+ componentId: string;
13
+ projectId: ProjectId;
14
+ };
15
+ /** `KBC::ConfigSecure::` — one specific configuration. */
16
+ ConfigSecure: {
17
+ componentId: string;
18
+ projectId: ProjectId;
19
+ configId: string;
20
+ };
21
+ /** `KBC::ProjectWideSecure::` — anywhere in one project (component-agnostic). */
22
+ ProjectWideSecure: {
23
+ projectId: ProjectId;
24
+ };
25
+ /** `KBC::BranchTypeSecure::` — the component within a project, scoped to a branch type. */
26
+ BranchTypeSecure: {
27
+ componentId: string;
28
+ projectId: ProjectId;
29
+ branchType: BranchType;
30
+ };
31
+ /** `KBC::BranchTypeConfigSecure::` — one config, scoped to a branch type. */
32
+ BranchTypeConfigSecure: {
33
+ componentId: string;
34
+ projectId: ProjectId;
35
+ configId: string;
36
+ branchType: BranchType;
37
+ };
38
+ /** `KBC::ProjectWideBranchTypeSecure::` — project-wide, scoped to a branch type. */
39
+ ProjectWideBranchTypeSecure: {
40
+ projectId: ProjectId;
41
+ branchType: BranchType;
42
+ };
43
+ };
44
+ type EncryptionScope = keyof EncryptParamsByScope;
45
+ /** The required query params for a given encryption scope. */
46
+ type EncryptParams<Scope extends EncryptionScope> = EncryptParamsByScope[Scope];
47
+ /**
48
+ * Discriminated-union input for `encryptScopedSecrets`: a `scope` plus exactly the
49
+ * params that scope requires, plus the `data` to encrypt. The discriminant makes
50
+ * mismatched params (e.g. a `componentId` on a `ProjectWideSecure` call) a compile error.
51
+ */
52
+ type ScopedSecrets<T extends Record<string, unknown>> = {
53
+ [Scope in EncryptionScope]: {
54
+ scope: Scope;
55
+ } & EncryptParams<Scope> & {
56
+ data: T;
57
+ };
58
+ }[EncryptionScope];
1
59
  type EncryptQuery = {
2
- projectId?: string | null;
3
- branchType?: 'default' | 'dev' | null;
60
+ projectId?: ProjectId | null;
61
+ branchType?: BranchType | null;
4
62
  componentId?: string | null;
63
+ configId?: string | null;
5
64
  };
6
65
  type EncryptBody = string | Record<string, unknown>;
7
66
 
8
- export type { EncryptBody, EncryptQuery };
67
+ export type { BranchType, EncryptBody, EncryptParams, EncryptParamsByScope, EncryptQuery, EncryptionScope, ScopedSecrets };
@@ -1,8 +1,67 @@
1
+ import { P as ProjectId } from '../types-BG8yQyYt.js';
2
+ import '../types-jKnx7Tm_.js';
3
+
4
+ type BranchType = 'default' | 'dev';
5
+ type EncryptParamsByScope = {
6
+ /** `KBC::ComponentSecure::` — any config of the component, in any project. */
7
+ ComponentSecure: {
8
+ componentId: string;
9
+ };
10
+ /** `KBC::ProjectSecure::` — the component within one project. */
11
+ ProjectSecure: {
12
+ componentId: string;
13
+ projectId: ProjectId;
14
+ };
15
+ /** `KBC::ConfigSecure::` — one specific configuration. */
16
+ ConfigSecure: {
17
+ componentId: string;
18
+ projectId: ProjectId;
19
+ configId: string;
20
+ };
21
+ /** `KBC::ProjectWideSecure::` — anywhere in one project (component-agnostic). */
22
+ ProjectWideSecure: {
23
+ projectId: ProjectId;
24
+ };
25
+ /** `KBC::BranchTypeSecure::` — the component within a project, scoped to a branch type. */
26
+ BranchTypeSecure: {
27
+ componentId: string;
28
+ projectId: ProjectId;
29
+ branchType: BranchType;
30
+ };
31
+ /** `KBC::BranchTypeConfigSecure::` — one config, scoped to a branch type. */
32
+ BranchTypeConfigSecure: {
33
+ componentId: string;
34
+ projectId: ProjectId;
35
+ configId: string;
36
+ branchType: BranchType;
37
+ };
38
+ /** `KBC::ProjectWideBranchTypeSecure::` — project-wide, scoped to a branch type. */
39
+ ProjectWideBranchTypeSecure: {
40
+ projectId: ProjectId;
41
+ branchType: BranchType;
42
+ };
43
+ };
44
+ type EncryptionScope = keyof EncryptParamsByScope;
45
+ /** The required query params for a given encryption scope. */
46
+ type EncryptParams<Scope extends EncryptionScope> = EncryptParamsByScope[Scope];
47
+ /**
48
+ * Discriminated-union input for `encryptScopedSecrets`: a `scope` plus exactly the
49
+ * params that scope requires, plus the `data` to encrypt. The discriminant makes
50
+ * mismatched params (e.g. a `componentId` on a `ProjectWideSecure` call) a compile error.
51
+ */
52
+ type ScopedSecrets<T extends Record<string, unknown>> = {
53
+ [Scope in EncryptionScope]: {
54
+ scope: Scope;
55
+ } & EncryptParams<Scope> & {
56
+ data: T;
57
+ };
58
+ }[EncryptionScope];
1
59
  type EncryptQuery = {
2
- projectId?: string | null;
3
- branchType?: 'default' | 'dev' | null;
60
+ projectId?: ProjectId | null;
61
+ branchType?: BranchType | null;
4
62
  componentId?: string | null;
63
+ configId?: string | null;
5
64
  };
6
65
  type EncryptBody = string | Record<string, unknown>;
7
66
 
8
- export type { EncryptBody, EncryptQuery };
67
+ export type { BranchType, EncryptBody, EncryptParams, EncryptParamsByScope, EncryptQuery, EncryptionScope, ScopedSecrets };
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkVZROPAWL_cjs = require('../chunk-VZROPAWL.cjs');
4
- require('../chunk-3CIPWA33.cjs');
5
- require('../chunk-4I6TJWBG.cjs');
3
+ var chunkPWA6XFXA_cjs = require('../chunk-PWA6XFXA.cjs');
4
+ require('../chunk-IDYRJ4K3.cjs');
5
+ require('../chunk-R7MQGDLC.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "createImportClient", {
10
10
  enumerable: true,
11
- get: function () { return chunkVZROPAWL_cjs.createImportClient; }
11
+ get: function () { return chunkPWA6XFXA_cjs.createImportClient; }
12
12
  });
13
13
  //# sourceMappingURL=index.cjs.map
14
14
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- export { createImportClient } from '../chunk-5XADEX3R.js';
2
- import '../chunk-XI6R76X3.js';
3
- import '../chunk-FL54VJ35.js';
1
+ export { createImportClient } from '../chunk-EEG7YZUY.js';
2
+ import '../chunk-D2SWTZFS.js';
3
+ import '../chunk-SI5TFV5M.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { c as components, S as StorageToken, C as CreateTokenBody, U as UpdateTokenBody, b as ShareTokenBody } from './types-DcL25GqY.cjs';
2
- import { GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, 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, PrevieData, 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, PartialKey, CreateConfigurationInput, BaseComponentConfig, ConfigType, UpdateConfigurationInput, ComponentConfig, ConfigurationPath, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.cjs';
1
+ import { c as components, S as StorageToken, C as CreateTokenBody, U as UpdateTokenBody, b as ShareTokenBody } from './types-DJbXfC2q.cjs';
2
+ import { GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, 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, PrevieData, 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, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.cjs';
3
3
  import { C as ClientInitOptions, M as MiddlewareFn$1 } from './types-DxJD6LIN.cjs';
4
4
  import { c as createGenericFetchClient } from './createGenericFetchClient-yfcpR7qD.cjs';
5
5
  import { c as createOpenapiFetchClient } from './createOpenapiFetchClient-Ci0-Qe53.cjs';
@@ -1305,12 +1305,12 @@ declare const createStorageClient: ({ baseUrl, token, middlewares, onRefreshToke
1305
1305
  getComponent: ({ componentId, branchId }: GetComponentPath, signal?: AbortSignal) => Promise<Component>;
1306
1306
  getComponents: ({ branchId, ...query }?: GetComponentsPath & GetComponentsQuery, signal?: AbortSignal) => Promise<Component[]>;
1307
1307
  searchComponentConfigurations: ({ branchId }?: GetSearchComponentConfigurationsPath, query?: SearchComponentConfigurationsQuery, signal?: AbortSignal) => Promise<SearchComponentConfiguration[]>;
1308
- createConfiguration: ({ branchId, componentId, ...body }: PartialKey<CreateConfigurationInput, "branchId">) => Promise<BaseComponentConfig>;
1308
+ createConfiguration: ({ branchId, componentId, ...body }: CreateConfigurationInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
1309
1309
  updateConfiguration: <T extends ConfigType = "unknown">({ branchId, componentId, configId, configuration, ...rest }: PartialKey<UpdateConfigurationInput, "branchId">, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
1310
1310
  getConfiguration: <T extends ConfigType = "unknown">({ componentId, configId, branchId }: ConfigurationPath, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
1311
1311
  getConfigurationDiff: ({ componentId, configId, branchId }: ConfigurationDiffPath, signal?: AbortSignal) => Promise<ConfigurationDiff>;
1312
1312
  getConfigurationRowDiff: ({ componentId, configId, rowId, branchId }: ConfigurationRowDiffPath, signal?: AbortSignal) => Promise<ConfigurationRowDiff>;
1313
- rebaseConfiguration: ({ branchId, componentId, configId, ...body }: RebaseConfigurationInput) => Promise<BaseComponentConfig>;
1313
+ rebaseConfiguration: ({ branchId, componentId, configId, ...body }: RebaseConfigurationInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
1314
1314
  deleteConfiguration: (path: Required<ConfigurationPath>) => Promise<void>;
1315
1315
  deleteConfigurations: ({ configIds, ...rest }: Required<Omit<ConfigurationPath, "configId">> & {
1316
1316
  configIds: string[];
@@ -1,5 +1,5 @@
1
- import { c as components, S as StorageToken, C as CreateTokenBody, U as UpdateTokenBody, b as ShareTokenBody } from './types-Dfw6a58i.js';
2
- import { GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, 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, PrevieData, 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, PartialKey, CreateConfigurationInput, BaseComponentConfig, ConfigType, UpdateConfigurationInput, ComponentConfig, ConfigurationPath, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.js';
1
+ import { c as components, S as StorageToken, C as CreateTokenBody, U as UpdateTokenBody, b as ShareTokenBody } from './types-BG8yQyYt.js';
2
+ import { GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, 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, PrevieData, 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, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.js';
3
3
  import { C as ClientInitOptions, M as MiddlewareFn$1 } from './types-DxJD6LIN.js';
4
4
  import { c as createGenericFetchClient } from './createGenericFetchClient-Gpom91V-.js';
5
5
  import { c as createOpenapiFetchClient } from './createOpenapiFetchClient-B44nXiti.js';
@@ -1305,12 +1305,12 @@ declare const createStorageClient: ({ baseUrl, token, middlewares, onRefreshToke
1305
1305
  getComponent: ({ componentId, branchId }: GetComponentPath, signal?: AbortSignal) => Promise<Component>;
1306
1306
  getComponents: ({ branchId, ...query }?: GetComponentsPath & GetComponentsQuery, signal?: AbortSignal) => Promise<Component[]>;
1307
1307
  searchComponentConfigurations: ({ branchId }?: GetSearchComponentConfigurationsPath, query?: SearchComponentConfigurationsQuery, signal?: AbortSignal) => Promise<SearchComponentConfiguration[]>;
1308
- createConfiguration: ({ branchId, componentId, ...body }: PartialKey<CreateConfigurationInput, "branchId">) => Promise<BaseComponentConfig>;
1308
+ createConfiguration: ({ branchId, componentId, ...body }: CreateConfigurationInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
1309
1309
  updateConfiguration: <T extends ConfigType = "unknown">({ branchId, componentId, configId, configuration, ...rest }: PartialKey<UpdateConfigurationInput, "branchId">, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
1310
1310
  getConfiguration: <T extends ConfigType = "unknown">({ componentId, configId, branchId }: ConfigurationPath, signal?: AbortSignal) => Promise<ComponentConfig<T>>;
1311
1311
  getConfigurationDiff: ({ componentId, configId, branchId }: ConfigurationDiffPath, signal?: AbortSignal) => Promise<ConfigurationDiff>;
1312
1312
  getConfigurationRowDiff: ({ componentId, configId, rowId, branchId }: ConfigurationRowDiffPath, signal?: AbortSignal) => Promise<ConfigurationRowDiff>;
1313
- rebaseConfiguration: ({ branchId, componentId, configId, ...body }: RebaseConfigurationInput) => Promise<BaseComponentConfig>;
1313
+ rebaseConfiguration: ({ branchId, componentId, configId, ...body }: RebaseConfigurationInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
1314
1314
  deleteConfiguration: (path: Required<ConfigurationPath>) => Promise<void>;
1315
1315
  deleteConfigurations: ({ configIds, ...rest }: Required<Omit<ConfigurationPath, "configId">> & {
1316
1316
  configIds: string[];