@katerai/sdk 0.6.0 → 0.8.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 (321) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +23 -16
  3. package/client.d.mts +10 -13
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +10 -13
  6. package/client.d.ts.map +1 -1
  7. package/client.js +37 -15
  8. package/client.js.map +1 -1
  9. package/client.mjs +37 -15
  10. package/client.mjs.map +1 -1
  11. package/internal/utils/log.d.mts.map +1 -1
  12. package/internal/utils/log.d.ts.map +1 -1
  13. package/internal/utils/log.js +2 -1
  14. package/internal/utils/log.js.map +1 -1
  15. package/internal/utils/log.mjs +2 -1
  16. package/internal/utils/log.mjs.map +1 -1
  17. package/package.json +2 -2
  18. package/resources/index.d.mts +0 -2
  19. package/resources/index.d.mts.map +1 -1
  20. package/resources/index.d.ts +0 -2
  21. package/resources/index.d.ts.map +1 -1
  22. package/resources/index.js +1 -5
  23. package/resources/index.js.map +1 -1
  24. package/resources/index.mjs +0 -2
  25. package/resources/index.mjs.map +1 -1
  26. package/resources/v1/compiler.d.mts +1116 -0
  27. package/resources/v1/compiler.d.mts.map +1 -0
  28. package/resources/v1/compiler.d.ts +1116 -0
  29. package/resources/v1/compiler.d.ts.map +1 -0
  30. package/resources/v1/compiler.js +70 -0
  31. package/resources/v1/compiler.js.map +1 -0
  32. package/resources/v1/compiler.mjs +66 -0
  33. package/resources/v1/compiler.mjs.map +1 -0
  34. package/resources/v1/connections.d.mts +216 -1
  35. package/resources/v1/connections.d.mts.map +1 -1
  36. package/resources/v1/connections.d.ts +216 -1
  37. package/resources/v1/connections.d.ts.map +1 -1
  38. package/resources/v1/connections.js +22 -2
  39. package/resources/v1/connections.js.map +1 -1
  40. package/resources/v1/connections.mjs +20 -1
  41. package/resources/v1/connections.mjs.map +1 -1
  42. package/resources/v1/index.d.mts +3 -6
  43. package/resources/v1/index.d.mts.map +1 -1
  44. package/resources/v1/index.d.ts +3 -6
  45. package/resources/v1/index.d.ts.map +1 -1
  46. package/resources/v1/index.js +7 -13
  47. package/resources/v1/index.js.map +1 -1
  48. package/resources/v1/index.mjs +2 -5
  49. package/resources/v1/index.mjs.map +1 -1
  50. package/resources/v1/tenants/groups.d.mts +5 -5
  51. package/resources/v1/tenants/groups.d.mts.map +1 -1
  52. package/resources/v1/tenants/groups.d.ts +5 -5
  53. package/resources/v1/tenants/groups.d.ts.map +1 -1
  54. package/resources/v1/tenants/groups.js +1 -1
  55. package/resources/v1/tenants/groups.js.map +1 -1
  56. package/resources/v1/tenants/groups.mjs +1 -1
  57. package/resources/v1/tenants/groups.mjs.map +1 -1
  58. package/resources/v1/tenants/index.d.mts +2 -4
  59. package/resources/v1/tenants/index.d.mts.map +1 -1
  60. package/resources/v1/tenants/index.d.ts +2 -4
  61. package/resources/v1/tenants/index.d.ts.map +1 -1
  62. package/resources/v1/tenants/index.js +1 -5
  63. package/resources/v1/tenants/index.js.map +1 -1
  64. package/resources/v1/tenants/index.mjs +0 -2
  65. package/resources/v1/tenants/index.mjs.map +1 -1
  66. package/resources/v1/tenants/tenants.d.mts +72 -151
  67. package/resources/v1/tenants/tenants.d.mts.map +1 -1
  68. package/resources/v1/tenants/tenants.d.ts +72 -151
  69. package/resources/v1/tenants/tenants.d.ts.map +1 -1
  70. package/resources/v1/tenants/tenants.js +29 -72
  71. package/resources/v1/tenants/tenants.js.map +1 -1
  72. package/resources/v1/tenants/tenants.mjs +29 -72
  73. package/resources/v1/tenants/tenants.mjs.map +1 -1
  74. package/resources/v1/v1.d.mts +9 -21
  75. package/resources/v1/v1.d.mts.map +1 -1
  76. package/resources/v1/v1.d.ts +9 -21
  77. package/resources/v1/v1.d.ts.map +1 -1
  78. package/resources/v1/v1.js +6 -18
  79. package/resources/v1/v1.js.map +1 -1
  80. package/resources/v1/v1.mjs +6 -18
  81. package/resources/v1/v1.mjs.map +1 -1
  82. package/src/client.ts +48 -23
  83. package/src/internal/utils/log.ts +1 -0
  84. package/src/resources/index.ts +0 -2
  85. package/src/resources/v1/compiler.ts +1484 -0
  86. package/src/resources/v1/connections.ts +277 -1
  87. package/src/resources/v1/index.ts +23 -43
  88. package/src/resources/v1/tenants/groups.ts +5 -5
  89. package/src/resources/v1/tenants/index.ts +5 -24
  90. package/src/resources/v1/tenants/tenants.ts +89 -213
  91. package/src/resources/v1/v1.ts +49 -101
  92. package/src/version.ts +1 -1
  93. package/version.d.mts +1 -1
  94. package/version.d.ts +1 -1
  95. package/version.js +1 -1
  96. package/version.mjs +1 -1
  97. package/resources/healthz.d.mts +0 -16
  98. package/resources/healthz.d.mts.map +0 -1
  99. package/resources/healthz.d.ts +0 -16
  100. package/resources/healthz.d.ts.map +0 -1
  101. package/resources/healthz.js +0 -15
  102. package/resources/healthz.js.map +0 -1
  103. package/resources/healthz.mjs +0 -11
  104. package/resources/healthz.mjs.map +0 -1
  105. package/resources/readyz.d.mts +0 -16
  106. package/resources/readyz.d.mts.map +0 -1
  107. package/resources/readyz.d.ts +0 -16
  108. package/resources/readyz.d.ts.map +0 -1
  109. package/resources/readyz.js +0 -15
  110. package/resources/readyz.js.map +0 -1
  111. package/resources/readyz.mjs +0 -11
  112. package/resources/readyz.mjs.map +0 -1
  113. package/resources/v1/connections/connections.d.mts +0 -1470
  114. package/resources/v1/connections/connections.d.mts.map +0 -1
  115. package/resources/v1/connections/connections.d.ts +0 -1470
  116. package/resources/v1/connections/connections.d.ts.map +0 -1
  117. package/resources/v1/connections/connections.js +0 -163
  118. package/resources/v1/connections/connections.js.map +0 -1
  119. package/resources/v1/connections/connections.mjs +0 -158
  120. package/resources/v1/connections/connections.mjs.map +0 -1
  121. package/resources/v1/connections/databases.d.mts +0 -25
  122. package/resources/v1/connections/databases.d.mts.map +0 -1
  123. package/resources/v1/connections/databases.d.ts +0 -25
  124. package/resources/v1/connections/databases.d.ts.map +0 -1
  125. package/resources/v1/connections/databases.js +0 -26
  126. package/resources/v1/connections/databases.js.map +0 -1
  127. package/resources/v1/connections/databases.mjs +0 -22
  128. package/resources/v1/connections/databases.mjs.map +0 -1
  129. package/resources/v1/connections/index.d.mts +0 -5
  130. package/resources/v1/connections/index.d.mts.map +0 -1
  131. package/resources/v1/connections/index.d.ts +0 -5
  132. package/resources/v1/connections/index.d.ts.map +0 -1
  133. package/resources/v1/connections/index.js +0 -13
  134. package/resources/v1/connections/index.js.map +0 -1
  135. package/resources/v1/connections/index.mjs +0 -6
  136. package/resources/v1/connections/index.mjs.map +0 -1
  137. package/resources/v1/connections/views.d.mts +0 -77
  138. package/resources/v1/connections/views.d.mts.map +0 -1
  139. package/resources/v1/connections/views.d.ts +0 -77
  140. package/resources/v1/connections/views.d.ts.map +0 -1
  141. package/resources/v1/connections/views.js +0 -24
  142. package/resources/v1/connections/views.js.map +0 -1
  143. package/resources/v1/connections/views.mjs +0 -20
  144. package/resources/v1/connections/views.mjs.map +0 -1
  145. package/resources/v1/connections/yaml.d.mts +0 -57
  146. package/resources/v1/connections/yaml.d.mts.map +0 -1
  147. package/resources/v1/connections/yaml.d.ts +0 -57
  148. package/resources/v1/connections/yaml.d.ts.map +0 -1
  149. package/resources/v1/connections/yaml.js +0 -22
  150. package/resources/v1/connections/yaml.js.map +0 -1
  151. package/resources/v1/connections/yaml.mjs +0 -18
  152. package/resources/v1/connections/yaml.mjs.map +0 -1
  153. package/resources/v1/github/github.d.mts +0 -99
  154. package/resources/v1/github/github.d.mts.map +0 -1
  155. package/resources/v1/github/github.d.ts +0 -99
  156. package/resources/v1/github/github.d.ts.map +0 -1
  157. package/resources/v1/github/github.js +0 -49
  158. package/resources/v1/github/github.js.map +0 -1
  159. package/resources/v1/github/github.mjs +0 -44
  160. package/resources/v1/github/github.mjs.map +0 -1
  161. package/resources/v1/github/index.d.mts +0 -5
  162. package/resources/v1/github/index.d.mts.map +0 -1
  163. package/resources/v1/github/index.d.ts +0 -5
  164. package/resources/v1/github/index.d.ts.map +0 -1
  165. package/resources/v1/github/index.js +0 -13
  166. package/resources/v1/github/index.js.map +0 -1
  167. package/resources/v1/github/index.mjs +0 -6
  168. package/resources/v1/github/index.mjs.map +0 -1
  169. package/resources/v1/github/repos.d.mts +0 -54
  170. package/resources/v1/github/repos.d.mts.map +0 -1
  171. package/resources/v1/github/repos.d.ts +0 -54
  172. package/resources/v1/github/repos.d.ts.map +0 -1
  173. package/resources/v1/github/repos.js +0 -22
  174. package/resources/v1/github/repos.js.map +0 -1
  175. package/resources/v1/github/repos.mjs +0 -18
  176. package/resources/v1/github/repos.mjs.map +0 -1
  177. package/resources/v1/github/scaffold.d.mts +0 -29
  178. package/resources/v1/github/scaffold.d.mts.map +0 -1
  179. package/resources/v1/github/scaffold.d.ts +0 -29
  180. package/resources/v1/github/scaffold.d.ts.map +0 -1
  181. package/resources/v1/github/scaffold.js +0 -21
  182. package/resources/v1/github/scaffold.js.map +0 -1
  183. package/resources/v1/github/scaffold.mjs +0 -17
  184. package/resources/v1/github/scaffold.mjs.map +0 -1
  185. package/resources/v1/github/webhooks.d.mts +0 -28
  186. package/resources/v1/github/webhooks.d.mts.map +0 -1
  187. package/resources/v1/github/webhooks.d.ts +0 -28
  188. package/resources/v1/github/webhooks.d.ts.map +0 -1
  189. package/resources/v1/github/webhooks.js +0 -27
  190. package/resources/v1/github/webhooks.js.map +0 -1
  191. package/resources/v1/github/webhooks.mjs +0 -23
  192. package/resources/v1/github/webhooks.mjs.map +0 -1
  193. package/resources/v1/github.d.mts +0 -2
  194. package/resources/v1/github.d.mts.map +0 -1
  195. package/resources/v1/github.d.ts +0 -2
  196. package/resources/v1/github.d.ts.map +0 -1
  197. package/resources/v1/github.js +0 -6
  198. package/resources/v1/github.js.map +0 -1
  199. package/resources/v1/github.mjs +0 -3
  200. package/resources/v1/github.mjs.map +0 -1
  201. package/resources/v1/groups/groups.d.mts +0 -162
  202. package/resources/v1/groups/groups.d.mts.map +0 -1
  203. package/resources/v1/groups/groups.d.ts +0 -162
  204. package/resources/v1/groups/groups.d.ts.map +0 -1
  205. package/resources/v1/groups/groups.js +0 -81
  206. package/resources/v1/groups/groups.js.map +0 -1
  207. package/resources/v1/groups/groups.mjs +0 -76
  208. package/resources/v1/groups/groups.mjs.map +0 -1
  209. package/resources/v1/groups/index.d.mts +0 -3
  210. package/resources/v1/groups/index.d.mts.map +0 -1
  211. package/resources/v1/groups/index.d.ts +0 -3
  212. package/resources/v1/groups/index.d.ts.map +0 -1
  213. package/resources/v1/groups/index.js +0 -9
  214. package/resources/v1/groups/index.js.map +0 -1
  215. package/resources/v1/groups/index.mjs +0 -4
  216. package/resources/v1/groups/index.mjs.map +0 -1
  217. package/resources/v1/groups/tenants.d.mts +0 -55
  218. package/resources/v1/groups/tenants.d.mts.map +0 -1
  219. package/resources/v1/groups/tenants.d.ts +0 -55
  220. package/resources/v1/groups/tenants.d.ts.map +0 -1
  221. package/resources/v1/groups/tenants.js +0 -39
  222. package/resources/v1/groups/tenants.js.map +0 -1
  223. package/resources/v1/groups/tenants.mjs +0 -35
  224. package/resources/v1/groups/tenants.mjs.map +0 -1
  225. package/resources/v1/groups.d.mts +0 -2
  226. package/resources/v1/groups.d.mts.map +0 -1
  227. package/resources/v1/groups.d.ts +0 -2
  228. package/resources/v1/groups.d.ts.map +0 -1
  229. package/resources/v1/groups.js +0 -6
  230. package/resources/v1/groups.js.map +0 -1
  231. package/resources/v1/groups.mjs +0 -3
  232. package/resources/v1/groups.mjs.map +0 -1
  233. package/resources/v1/me.d.mts +0 -43
  234. package/resources/v1/me.d.mts.map +0 -1
  235. package/resources/v1/me.d.ts +0 -43
  236. package/resources/v1/me.d.ts.map +0 -1
  237. package/resources/v1/me.js +0 -20
  238. package/resources/v1/me.js.map +0 -1
  239. package/resources/v1/me.mjs +0 -16
  240. package/resources/v1/me.mjs.map +0 -1
  241. package/resources/v1/org/client.d.mts +0 -53
  242. package/resources/v1/org/client.d.mts.map +0 -1
  243. package/resources/v1/org/client.d.ts +0 -53
  244. package/resources/v1/org/client.d.ts.map +0 -1
  245. package/resources/v1/org/client.js +0 -25
  246. package/resources/v1/org/client.js.map +0 -1
  247. package/resources/v1/org/client.mjs +0 -21
  248. package/resources/v1/org/client.mjs.map +0 -1
  249. package/resources/v1/org/index.d.mts +0 -4
  250. package/resources/v1/org/index.d.mts.map +0 -1
  251. package/resources/v1/org/index.d.ts +0 -4
  252. package/resources/v1/org/index.d.ts.map +0 -1
  253. package/resources/v1/org/index.js +0 -11
  254. package/resources/v1/org/index.js.map +0 -1
  255. package/resources/v1/org/index.mjs +0 -5
  256. package/resources/v1/org/index.mjs.map +0 -1
  257. package/resources/v1/org/org.d.mts +0 -14
  258. package/resources/v1/org/org.d.mts.map +0 -1
  259. package/resources/v1/org/org.d.ts +0 -14
  260. package/resources/v1/org/org.d.ts.map +0 -1
  261. package/resources/v1/org/org.js +0 -21
  262. package/resources/v1/org/org.js.map +0 -1
  263. package/resources/v1/org/org.mjs +0 -16
  264. package/resources/v1/org/org.mjs.map +0 -1
  265. package/resources/v1/org/users.d.mts +0 -87
  266. package/resources/v1/org/users.d.mts.map +0 -1
  267. package/resources/v1/org/users.d.ts +0 -87
  268. package/resources/v1/org/users.d.ts.map +0 -1
  269. package/resources/v1/org/users.js +0 -60
  270. package/resources/v1/org/users.js.map +0 -1
  271. package/resources/v1/org/users.mjs +0 -56
  272. package/resources/v1/org/users.mjs.map +0 -1
  273. package/resources/v1/org.d.mts +0 -2
  274. package/resources/v1/org.d.mts.map +0 -1
  275. package/resources/v1/org.d.ts +0 -2
  276. package/resources/v1/org.d.ts.map +0 -1
  277. package/resources/v1/org.js +0 -6
  278. package/resources/v1/org.js.map +0 -1
  279. package/resources/v1/org.mjs +0 -3
  280. package/resources/v1/org.mjs.map +0 -1
  281. package/resources/v1/tenants/batch.d.mts +0 -159
  282. package/resources/v1/tenants/batch.d.mts.map +0 -1
  283. package/resources/v1/tenants/batch.d.ts +0 -159
  284. package/resources/v1/tenants/batch.d.ts.map +0 -1
  285. package/resources/v1/tenants/batch.js +0 -42
  286. package/resources/v1/tenants/batch.js.map +0 -1
  287. package/resources/v1/tenants/batch.mjs +0 -38
  288. package/resources/v1/tenants/batch.mjs.map +0 -1
  289. package/resources/v1/tenants/import.d.mts +0 -126
  290. package/resources/v1/tenants/import.d.mts.map +0 -1
  291. package/resources/v1/tenants/import.d.ts +0 -126
  292. package/resources/v1/tenants/import.d.ts.map +0 -1
  293. package/resources/v1/tenants/import.js +0 -50
  294. package/resources/v1/tenants/import.js.map +0 -1
  295. package/resources/v1/tenants/import.mjs +0 -46
  296. package/resources/v1/tenants/import.mjs.map +0 -1
  297. package/src/resources/healthz.ts +0 -20
  298. package/src/resources/readyz.ts +0 -20
  299. package/src/resources/v1/connections/connections.ts +0 -1905
  300. package/src/resources/v1/connections/databases.ts +0 -42
  301. package/src/resources/v1/connections/index.ts +0 -33
  302. package/src/resources/v1/connections/views.ts +0 -112
  303. package/src/resources/v1/connections/yaml.ts +0 -81
  304. package/src/resources/v1/github/github.ts +0 -165
  305. package/src/resources/v1/github/index.ts +0 -20
  306. package/src/resources/v1/github/repos.ts +0 -85
  307. package/src/resources/v1/github/scaffold.ts +0 -44
  308. package/src/resources/v1/github/webhooks.ts +0 -60
  309. package/src/resources/v1/github.ts +0 -3
  310. package/src/resources/v1/groups/groups.ts +0 -218
  311. package/src/resources/v1/groups/index.ts +0 -10
  312. package/src/resources/v1/groups/tenants.ts +0 -78
  313. package/src/resources/v1/groups.ts +0 -3
  314. package/src/resources/v1/me.ts +0 -62
  315. package/src/resources/v1/org/client.ts +0 -81
  316. package/src/resources/v1/org/index.ts +0 -11
  317. package/src/resources/v1/org/org.ts +0 -32
  318. package/src/resources/v1/org/users.ts +0 -127
  319. package/src/resources/v1/org.ts +0 -3
  320. package/src/resources/v1/tenants/batch.ts +0 -200
  321. package/src/resources/v1/tenants/import.ts +0 -158
@@ -1 +0,0 @@
1
- {"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/connections/connections.ts"],"names":[],"mappings":"OAEO,EAAE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sB,EACrD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;IAEF,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,KAAK,0BAA0B,IAAI,0BAA0B,EAAE,CAAC;IAEjG,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;IAEF,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
@@ -1,163 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Connections = void 0;
5
- const tslib_1 = require("../../../internal/tslib.js");
6
- const resource_1 = require("../../../core/resource.js");
7
- const DatabasesAPI = tslib_1.__importStar(require("./databases.js"));
8
- const databases_1 = require("./databases.js");
9
- const ViewsAPI = tslib_1.__importStar(require("./views.js"));
10
- const views_1 = require("./views.js");
11
- const YamlAPI = tslib_1.__importStar(require("./yaml.js"));
12
- const yaml_1 = require("./yaml.js");
13
- const headers_1 = require("../../../internal/headers.js");
14
- const path_1 = require("../../../internal/utils/path.js");
15
- class Connections extends resource_1.APIResource {
16
- constructor() {
17
- super(...arguments);
18
- this.databases = new DatabasesAPI.Databases(this._client);
19
- this.views = new ViewsAPI.Views(this._client);
20
- this.yaml = new YamlAPI.Yaml(this._client);
21
- }
22
- /**
23
- * Create a new warehouse connection with PR approval flow.
24
- */
25
- create(body, options) {
26
- return this._client.post('/api/v1/connections', { body, ...options });
27
- }
28
- /**
29
- * Get a single warehouse connection by ID.
30
- *
31
- * Returns connection from the database (source of truth) with full hierarchy. For
32
- * YAML output compatible with repository files (using kater_id), use the GET
33
- * /connections/{id}/schema endpoint instead.
34
- *
35
- * RLS: Filtered to current client (DualClientRLSDB).
36
- *
37
- * Raises: NotFoundError: If connection doesn't exist (404)
38
- */
39
- retrieve(connectionID, options) {
40
- return this._client.get((0, path_1.path) `/api/v1/connections/${connectionID}`, options);
41
- }
42
- /**
43
- * Update a warehouse connection's metadata.
44
- *
45
- * Updates name, label, and/or description fields.
46
- *
47
- * RLS: Filtered to current client (ClientRLSDB).
48
- *
49
- * Raises: ConnectionNotFoundError: If connection doesn't exist (404)
50
- */
51
- update(connectionID, body, options) {
52
- return this._client.patch((0, path_1.path) `/api/v1/connections/${connectionID}`, { body, ...options });
53
- }
54
- /**
55
- * List warehouse connections for the client.
56
- *
57
- * Filter connections by approval status using the `status` query parameter:
58
- *
59
- * - `approved` (default): Only approved connections (is_pending_approval=false)
60
- * - `pending`: Only connections awaiting PR approval (is_pending_approval=true)
61
- * - `all`: All connections regardless of approval status
62
- *
63
- * Pending connections include their approval PR URLs when available. Returns empty
64
- * list if GitHub is not configured.
65
- *
66
- * RLS: Filtered to current client (DualClientRLSDB).
67
- */
68
- list(query = {}, options) {
69
- return this._client.get('/api/v1/connections', { query, ...options });
70
- }
71
- /**
72
- * Delete a warehouse connection.
73
- *
74
- * Soft-deletes the connection record and cascades to all associated databases and
75
- * schemas, setting deleted_at and deleted_by fields.
76
- *
77
- * RLS: Filtered to current client (ClientRLSDB).
78
- *
79
- * Raises: ConnectionNotFoundError: If connection doesn't exist (404)
80
- */
81
- delete(connectionID, options) {
82
- return this._client.delete((0, path_1.path) `/api/v1/connections/${connectionID}`, {
83
- ...options,
84
- headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
85
- });
86
- }
87
- /**
88
- * Merge the PR for a pending connection to finalize it.
89
- */
90
- approve(connectionID, options) {
91
- return this._client.post((0, path_1.path) `/api/v1/connections/${connectionID}/approve`, options);
92
- }
93
- /**
94
- * Merge the PR for a completed schema sync.
95
- */
96
- approveSync(syncID, params, options) {
97
- const { connection_id } = params;
98
- return this._client.post((0, path_1.path) `/api/v1/connections/${connection_id}/sync/${syncID}/approve`, options);
99
- }
100
- /**
101
- * List all schema sync records for a connection.
102
- */
103
- listSyncs(connectionID, query = {}, options) {
104
- return this._client.get((0, path_1.path) `/api/v1/connections/${connectionID}/sync`, { query, ...options });
105
- }
106
- /**
107
- * Get decrypted warehouse credentials for a connection.
108
- *
109
- * Returns the decrypted credentials for a connection. This is sensitive data and
110
- * should only be used when actually needed for warehouse operations.
111
- *
112
- * RLS: Filtered to current client (DualClientRLSDB).
113
- *
114
- * Raises: NotFoundError: If connection doesn't exist (404)
115
- */
116
- retrieveCredential(connectionID, options) {
117
- return this._client.get((0, path_1.path) `/api/v1/connections/${connectionID}/credential`, options);
118
- }
119
- /**
120
- * Get connection as a ConnectionSchema object.
121
- *
122
- * Returns the connection in the YAML-compatible schema format with full
123
- * database/schema hierarchy.
124
- *
125
- * RLS: Automatically filtered by client_id from auth context.
126
- *
127
- * Raises: ConnectionNotFoundError: If connection not found or deleted.
128
- */
129
- retrieveSchema(connectionID, options) {
130
- return this._client.get((0, path_1.path) `/api/v1/connections/${connectionID}/schema`, options);
131
- }
132
- /**
133
- * Get the current status of a schema sync workflow.
134
- */
135
- retrieveSyncStatus(syncID, params, options) {
136
- const { connection_id } = params;
137
- return this._client.get((0, path_1.path) `/api/v1/connections/${connection_id}/sync/${syncID}`, options);
138
- }
139
- /**
140
- * Server-Sent Events stream for real-time sync progress updates.
141
- */
142
- streamSyncProgress(syncID, params, options) {
143
- const { connection_id } = params;
144
- return this._client.get((0, path_1.path) `/api/v1/connections/${connection_id}/sync/${syncID}/stream`, options);
145
- }
146
- /**
147
- * Start a schema sync workflow. Returns 202 Accepted with sync_id.
148
- */
149
- sync(connectionID, options) {
150
- return this._client.post((0, path_1.path) `/api/v1/connections/${connectionID}/sync`, options);
151
- }
152
- /**
153
- * Test and update warehouse credentials without modifying connection config.
154
- */
155
- updateCredentials(connectionID, body, options) {
156
- return this._client.patch((0, path_1.path) `/api/v1/connections/${connectionID}/credentials`, { body, ...options });
157
- }
158
- }
159
- exports.Connections = Connections;
160
- Connections.Databases = databases_1.Databases;
161
- Connections.Views = views_1.Views;
162
- Connections.Yaml = yaml_1.Yaml;
163
- //# sourceMappingURL=connections.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"connections.js","sourceRoot":"","sources":["../../../src/resources/v1/connections/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,qEAA4C;AAC5C,8CAAoE;AACpE,6DAAoC;AACpC,sCAA4G;AAC5G,2DAAkC;AAClC,oCAA0F;AAE1F,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAwLtD,CAAC;IAtLC;;OAEG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;OAUG;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CAAC,IAAA,WAAI,EAAA,uBAAuB,YAAY,OAAO,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,YAAoB,EACpB,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,uBAAuB,YAAY,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;CACF;AA3LD,kCA2LC;AA4nDD,WAAW,CAAC,SAAS,GAAG,qBAAS,CAAC;AAClC,WAAW,CAAC,KAAK,GAAG,aAAK,CAAC;AAC1B,WAAW,CAAC,IAAI,GAAG,WAAI,CAAC"}
@@ -1,158 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../core/resource.mjs";
3
- import * as DatabasesAPI from "./databases.mjs";
4
- import { Databases } from "./databases.mjs";
5
- import * as ViewsAPI from "./views.mjs";
6
- import { Views } from "./views.mjs";
7
- import * as YamlAPI from "./yaml.mjs";
8
- import { Yaml } from "./yaml.mjs";
9
- import { buildHeaders } from "../../../internal/headers.mjs";
10
- import { path } from "../../../internal/utils/path.mjs";
11
- export class Connections extends APIResource {
12
- constructor() {
13
- super(...arguments);
14
- this.databases = new DatabasesAPI.Databases(this._client);
15
- this.views = new ViewsAPI.Views(this._client);
16
- this.yaml = new YamlAPI.Yaml(this._client);
17
- }
18
- /**
19
- * Create a new warehouse connection with PR approval flow.
20
- */
21
- create(body, options) {
22
- return this._client.post('/api/v1/connections', { body, ...options });
23
- }
24
- /**
25
- * Get a single warehouse connection by ID.
26
- *
27
- * Returns connection from the database (source of truth) with full hierarchy. For
28
- * YAML output compatible with repository files (using kater_id), use the GET
29
- * /connections/{id}/schema endpoint instead.
30
- *
31
- * RLS: Filtered to current client (DualClientRLSDB).
32
- *
33
- * Raises: NotFoundError: If connection doesn't exist (404)
34
- */
35
- retrieve(connectionID, options) {
36
- return this._client.get(path `/api/v1/connections/${connectionID}`, options);
37
- }
38
- /**
39
- * Update a warehouse connection's metadata.
40
- *
41
- * Updates name, label, and/or description fields.
42
- *
43
- * RLS: Filtered to current client (ClientRLSDB).
44
- *
45
- * Raises: ConnectionNotFoundError: If connection doesn't exist (404)
46
- */
47
- update(connectionID, body, options) {
48
- return this._client.patch(path `/api/v1/connections/${connectionID}`, { body, ...options });
49
- }
50
- /**
51
- * List warehouse connections for the client.
52
- *
53
- * Filter connections by approval status using the `status` query parameter:
54
- *
55
- * - `approved` (default): Only approved connections (is_pending_approval=false)
56
- * - `pending`: Only connections awaiting PR approval (is_pending_approval=true)
57
- * - `all`: All connections regardless of approval status
58
- *
59
- * Pending connections include their approval PR URLs when available. Returns empty
60
- * list if GitHub is not configured.
61
- *
62
- * RLS: Filtered to current client (DualClientRLSDB).
63
- */
64
- list(query = {}, options) {
65
- return this._client.get('/api/v1/connections', { query, ...options });
66
- }
67
- /**
68
- * Delete a warehouse connection.
69
- *
70
- * Soft-deletes the connection record and cascades to all associated databases and
71
- * schemas, setting deleted_at and deleted_by fields.
72
- *
73
- * RLS: Filtered to current client (ClientRLSDB).
74
- *
75
- * Raises: ConnectionNotFoundError: If connection doesn't exist (404)
76
- */
77
- delete(connectionID, options) {
78
- return this._client.delete(path `/api/v1/connections/${connectionID}`, {
79
- ...options,
80
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
81
- });
82
- }
83
- /**
84
- * Merge the PR for a pending connection to finalize it.
85
- */
86
- approve(connectionID, options) {
87
- return this._client.post(path `/api/v1/connections/${connectionID}/approve`, options);
88
- }
89
- /**
90
- * Merge the PR for a completed schema sync.
91
- */
92
- approveSync(syncID, params, options) {
93
- const { connection_id } = params;
94
- return this._client.post(path `/api/v1/connections/${connection_id}/sync/${syncID}/approve`, options);
95
- }
96
- /**
97
- * List all schema sync records for a connection.
98
- */
99
- listSyncs(connectionID, query = {}, options) {
100
- return this._client.get(path `/api/v1/connections/${connectionID}/sync`, { query, ...options });
101
- }
102
- /**
103
- * Get decrypted warehouse credentials for a connection.
104
- *
105
- * Returns the decrypted credentials for a connection. This is sensitive data and
106
- * should only be used when actually needed for warehouse operations.
107
- *
108
- * RLS: Filtered to current client (DualClientRLSDB).
109
- *
110
- * Raises: NotFoundError: If connection doesn't exist (404)
111
- */
112
- retrieveCredential(connectionID, options) {
113
- return this._client.get(path `/api/v1/connections/${connectionID}/credential`, options);
114
- }
115
- /**
116
- * Get connection as a ConnectionSchema object.
117
- *
118
- * Returns the connection in the YAML-compatible schema format with full
119
- * database/schema hierarchy.
120
- *
121
- * RLS: Automatically filtered by client_id from auth context.
122
- *
123
- * Raises: ConnectionNotFoundError: If connection not found or deleted.
124
- */
125
- retrieveSchema(connectionID, options) {
126
- return this._client.get(path `/api/v1/connections/${connectionID}/schema`, options);
127
- }
128
- /**
129
- * Get the current status of a schema sync workflow.
130
- */
131
- retrieveSyncStatus(syncID, params, options) {
132
- const { connection_id } = params;
133
- return this._client.get(path `/api/v1/connections/${connection_id}/sync/${syncID}`, options);
134
- }
135
- /**
136
- * Server-Sent Events stream for real-time sync progress updates.
137
- */
138
- streamSyncProgress(syncID, params, options) {
139
- const { connection_id } = params;
140
- return this._client.get(path `/api/v1/connections/${connection_id}/sync/${syncID}/stream`, options);
141
- }
142
- /**
143
- * Start a schema sync workflow. Returns 202 Accepted with sync_id.
144
- */
145
- sync(connectionID, options) {
146
- return this._client.post(path `/api/v1/connections/${connectionID}/sync`, options);
147
- }
148
- /**
149
- * Test and update warehouse credentials without modifying connection config.
150
- */
151
- updateCredentials(connectionID, body, options) {
152
- return this._client.patch(path `/api/v1/connections/${connectionID}/credentials`, { body, ...options });
153
- }
154
- }
155
- Connections.Databases = Databases;
156
- Connections.Views = Views;
157
- Connections.Yaml = Yaml;
158
- //# sourceMappingURL=connections.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../../src/resources/v1/connections/connections.ts"],"names":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AC,GAAG,CAAC,IAAI,CAAA,uBAAuB,YAAY,SAAS,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAED;;OAEG;IACH,kBAAkB,CAChB,MAAc,EACd,MAA0C,EAC1C,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uBAAuB,aAAa,SAAS,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9F,CAAC;IAED;;OAEG;IACH,kBAAkB,CAChB,MAAc,EACd,MAA0C,EAC1C,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uBAAuB,aAAa,SAAS,MAAM,SAAS,EAAE,OAAO,CAAC,CAAC;IACrG,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,YAAoB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,uBAAuB,YAAY,OAAO,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,YAAoB,EACpB,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,uBAAuB,YAAY,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;CACF;AA4nDD,WAAW,CAAC,SAAS,GAAG,SAAS,CAAC;AAClC,WAAW,CAAC,KAAK,GAAG,KAAK,CAAC;AAC1B,WAAW,CAAC,IAAI,GAAG,IAAI,CAAC"}
@@ -1,25 +0,0 @@
1
- import { APIResource } from "../../../core/resource.mjs";
2
- import { APIPromise } from "../../../core/api-promise.mjs";
3
- import { RequestOptions } from "../../../internal/request-options.mjs";
4
- export declare class Databases extends APIResource {
5
- /**
6
- * Delete a schema from a connection.
7
- *
8
- * Soft-deletes the schema record, setting deleted_at and deleted_by fields. The
9
- * connection_id and database_id path parameters provide context for the resource
10
- * hierarchy, though the schema_id alone uniquely identifies the record.
11
- *
12
- * RLS: Filtered to current client (DualClientRLSDB).
13
- *
14
- * Raises: SchemaNotFoundError: If schema doesn't exist (404)
15
- */
16
- deleteSchema(schemaID: string, params: DatabaseDeleteSchemaParams, options?: RequestOptions): APIPromise<void>;
17
- }
18
- export interface DatabaseDeleteSchemaParams {
19
- connection_id: string;
20
- database_id: string;
21
- }
22
- export declare namespace Databases {
23
- export { type DatabaseDeleteSchemaParams as DatabaseDeleteSchemaParams };
24
- }
25
- //# sourceMappingURL=databases.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"databases.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/connections/databases.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;OAUG;IACH,YAAY,CACV,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED,MAAM,WAAW,0BAA0B;IACzC,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,0BAA0B,IAAI,0BAA0B,EAAE,CAAC;CAC1E"}
@@ -1,25 +0,0 @@
1
- import { APIResource } from "../../../core/resource.js";
2
- import { APIPromise } from "../../../core/api-promise.js";
3
- import { RequestOptions } from "../../../internal/request-options.js";
4
- export declare class Databases extends APIResource {
5
- /**
6
- * Delete a schema from a connection.
7
- *
8
- * Soft-deletes the schema record, setting deleted_at and deleted_by fields. The
9
- * connection_id and database_id path parameters provide context for the resource
10
- * hierarchy, though the schema_id alone uniquely identifies the record.
11
- *
12
- * RLS: Filtered to current client (DualClientRLSDB).
13
- *
14
- * Raises: SchemaNotFoundError: If schema doesn't exist (404)
15
- */
16
- deleteSchema(schemaID: string, params: DatabaseDeleteSchemaParams, options?: RequestOptions): APIPromise<void>;
17
- }
18
- export interface DatabaseDeleteSchemaParams {
19
- connection_id: string;
20
- database_id: string;
21
- }
22
- export declare namespace Databases {
23
- export { type DatabaseDeleteSchemaParams as DatabaseDeleteSchemaParams };
24
- }
25
- //# sourceMappingURL=databases.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"databases.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/connections/databases.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;OAUG;IACH,YAAY,CACV,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED,MAAM,WAAW,0BAA0B;IACzC,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,0BAA0B,IAAI,0BAA0B,EAAE,CAAC;CAC1E"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Databases = void 0;
5
- const resource_1 = require("../../../core/resource.js");
6
- const headers_1 = require("../../../internal/headers.js");
7
- const path_1 = require("../../../internal/utils/path.js");
8
- class Databases extends resource_1.APIResource {
9
- /**
10
- * Delete a schema from a connection.
11
- *
12
- * Soft-deletes the schema record, setting deleted_at and deleted_by fields. The
13
- * connection_id and database_id path parameters provide context for the resource
14
- * hierarchy, though the schema_id alone uniquely identifies the record.
15
- *
16
- * RLS: Filtered to current client (DualClientRLSDB).
17
- *
18
- * Raises: SchemaNotFoundError: If schema doesn't exist (404)
19
- */
20
- deleteSchema(schemaID, params, options) {
21
- const { connection_id, database_id } = params;
22
- return this._client.delete((0, path_1.path) `/api/v1/connections/${connection_id}/databases/${database_id}/schemas/${schemaID}`, { ...options, headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]) });
23
- }
24
- }
25
- exports.Databases = Databases;
26
- //# sourceMappingURL=databases.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"databases.js","sourceRoot":"","sources":["../../../src/resources/v1/connections/databases.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;OAUG;IACH,YAAY,CACV,QAAgB,EAChB,MAAkC,EAClC,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAA,WAAI,EAAA,uBAAuB,aAAa,cAAc,WAAW,YAAY,QAAQ,EAAE,EACvF,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,EAAE,CAC7E,CAAC;IACJ,CAAC;CACF;AAvBD,8BAuBC"}
@@ -1,22 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../core/resource.mjs";
3
- import { buildHeaders } from "../../../internal/headers.mjs";
4
- import { path } from "../../../internal/utils/path.mjs";
5
- export class Databases extends APIResource {
6
- /**
7
- * Delete a schema from a connection.
8
- *
9
- * Soft-deletes the schema record, setting deleted_at and deleted_by fields. The
10
- * connection_id and database_id path parameters provide context for the resource
11
- * hierarchy, though the schema_id alone uniquely identifies the record.
12
- *
13
- * RLS: Filtered to current client (DualClientRLSDB).
14
- *
15
- * Raises: SchemaNotFoundError: If schema doesn't exist (404)
16
- */
17
- deleteSchema(schemaID, params, options) {
18
- const { connection_id, database_id } = params;
19
- return this._client.delete(path `/api/v1/connections/${connection_id}/databases/${database_id}/schemas/${schemaID}`, { ...options, headers: buildHeaders([{ Accept: '*/*' }, options?.headers]) });
20
- }
21
- }
22
- //# sourceMappingURL=databases.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"databases.mjs","sourceRoot":"","sources":["../../../src/resources/v1/connections/databases.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;OAUG;IACH,YAAY,CACV,QAAgB,EAChB,MAAkC,EAClC,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAI,CAAA,uBAAuB,aAAa,cAAc,WAAW,YAAY,QAAQ,EAAE,EACvF,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,EAAE,CAC7E,CAAC;IACJ,CAAC;CACF"}
@@ -1,5 +0,0 @@
1
- export { Connections, type Connection, type DatabaseConfig, type ConnectionListResponse, type ConnectionApproveSyncResponse, type ConnectionListSyncsResponse, type ConnectionRetrieveCredentialResponse, type ConnectionRetrieveSchemaResponse, type ConnectionRetrieveSyncStatusResponse, type ConnectionStreamSyncProgressResponse, type ConnectionSyncResponse, type ConnectionUpdateCredentialsResponse, type ConnectionCreateParams, type ConnectionUpdateParams, type ConnectionListParams, type ConnectionApproveSyncParams, type ConnectionListSyncsParams, type ConnectionRetrieveSyncStatusParams, type ConnectionStreamSyncProgressParams, type ConnectionUpdateCredentialsParams, } from "./connections.mjs";
2
- export { Databases, type DatabaseDeleteSchemaParams } from "./databases.mjs";
3
- export { Views, type ViewRetrieveResponse, type ViewListResponse, type ViewRetrieveParams, type ViewListParams, } from "./views.mjs";
4
- export { Yaml, type YamlRetrieveResponse, type YamlCommitResponse, type YamlCommitParams } from "./yaml.mjs";
5
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/connections/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,EACzC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,oCAAoC,EACzC,KAAK,sBAAsB,EAC3B,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,KAAK,iCAAiC,GACvC;OACM,EAAE,SAAS,EAAE,KAAK,0BAA0B,EAAE;OAC9C,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,GACpB;OACM,EAAE,IAAI,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE"}
@@ -1,5 +0,0 @@
1
- export { Connections, type Connection, type DatabaseConfig, type ConnectionListResponse, type ConnectionApproveSyncResponse, type ConnectionListSyncsResponse, type ConnectionRetrieveCredentialResponse, type ConnectionRetrieveSchemaResponse, type ConnectionRetrieveSyncStatusResponse, type ConnectionStreamSyncProgressResponse, type ConnectionSyncResponse, type ConnectionUpdateCredentialsResponse, type ConnectionCreateParams, type ConnectionUpdateParams, type ConnectionListParams, type ConnectionApproveSyncParams, type ConnectionListSyncsParams, type ConnectionRetrieveSyncStatusParams, type ConnectionStreamSyncProgressParams, type ConnectionUpdateCredentialsParams, } from "./connections.js";
2
- export { Databases, type DatabaseDeleteSchemaParams } from "./databases.js";
3
- export { Views, type ViewRetrieveResponse, type ViewListResponse, type ViewRetrieveParams, type ViewListParams, } from "./views.js";
4
- export { Yaml, type YamlRetrieveResponse, type YamlCommitResponse, type YamlCommitParams } from "./yaml.js";
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/connections/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,EACzC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,oCAAoC,EACzC,KAAK,sBAAsB,EAC3B,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,KAAK,iCAAiC,GACvC;OACM,EAAE,SAAS,EAAE,KAAK,0BAA0B,EAAE;OAC9C,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,GACpB;OACM,EAAE,IAAI,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Yaml = exports.Views = exports.Databases = exports.Connections = void 0;
5
- var connections_1 = require("./connections.js");
6
- Object.defineProperty(exports, "Connections", { enumerable: true, get: function () { return connections_1.Connections; } });
7
- var databases_1 = require("./databases.js");
8
- Object.defineProperty(exports, "Databases", { enumerable: true, get: function () { return databases_1.Databases; } });
9
- var views_1 = require("./views.js");
10
- Object.defineProperty(exports, "Views", { enumerable: true, get: function () { return views_1.Views; } });
11
- var yaml_1 = require("./yaml.js");
12
- Object.defineProperty(exports, "Yaml", { enumerable: true, get: function () { return yaml_1.Yaml; } });
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/connections/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAqBuB;AApBrB,0GAAA,WAAW,OAAA;AAqBb,4CAAyE;AAAhE,sGAAA,SAAS,OAAA;AAClB,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,kCAAyG;AAAhG,4FAAA,IAAI,OAAA"}
@@ -1,6 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { Connections, } from "./connections.mjs";
3
- export { Databases } from "./databases.mjs";
4
- export { Views, } from "./views.mjs";
5
- export { Yaml } from "./yaml.mjs";
6
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/connections/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAoBZ;OACM,EAAE,SAAS,EAAmC;OAC9C,EACL,KAAK,GAKN;OACM,EAAE,IAAI,EAA6E"}
@@ -1,77 +0,0 @@
1
- import { APIResource } from "../../../core/resource.mjs";
2
- import { APIPromise } from "../../../core/api-promise.mjs";
3
- import { RequestOptions } from "../../../internal/request-options.mjs";
4
- export declare class Views extends APIResource {
5
- /**
6
- * Get the YAML content of a specific view file.
7
- */
8
- retrieve(fileName: string, params: ViewRetrieveParams, options?: RequestOptions): APIPromise<ViewRetrieveResponse>;
9
- /**
10
- * List all view YAML files created by a schema sync.
11
- */
12
- list(syncID: string, params: ViewListParams, options?: RequestOptions): APIPromise<ViewListResponse>;
13
- }
14
- /**
15
- * Response for a single view file's content.
16
- */
17
- export interface ViewRetrieveResponse {
18
- /**
19
- * Branch the file was read from
20
- */
21
- branch: string;
22
- /**
23
- * YAML file content
24
- */
25
- content: string;
26
- /**
27
- * File name (e.g., 'customers.yaml')
28
- */
29
- name: string;
30
- /**
31
- * Full path relative to connection folder
32
- */
33
- path: string;
34
- }
35
- /**
36
- * Response for listing view files in a sync.
37
- */
38
- export interface ViewListResponse {
39
- /**
40
- * Branch the files were read from
41
- */
42
- branch: string;
43
- /**
44
- * List of view files
45
- */
46
- files: Array<ViewListResponse.File>;
47
- /**
48
- * True if reading from PR branch, False if from main
49
- */
50
- is_pr_branch: boolean;
51
- }
52
- export declare namespace ViewListResponse {
53
- /**
54
- * A single view file in the sync.
55
- */
56
- interface File {
57
- /**
58
- * File name (e.g., 'customers.yaml')
59
- */
60
- name: string;
61
- /**
62
- * Full path relative to connection folder
63
- */
64
- path: string;
65
- }
66
- }
67
- export interface ViewRetrieveParams {
68
- connection_id: string;
69
- sync_id: string;
70
- }
71
- export interface ViewListParams {
72
- connection_id: string;
73
- }
74
- export declare namespace Views {
75
- export { type ViewRetrieveResponse as ViewRetrieveResponse, type ViewListResponse as ViewListResponse, type ViewRetrieveParams as ViewRetrieveParams, type ViewListParams as ViewListParams, };
76
- }
77
- //# sourceMappingURL=views.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"views.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/connections/views.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBA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