@egose/n8n-client 0.1.2 → 0.2.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 (266) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +188 -46
  3. package/chunk-2R6A6NJE.js +38 -0
  4. package/chunk-3FDDCKAY.js +95 -0
  5. package/chunk-3YWWR6UD.cjs +98 -0
  6. package/chunk-4M2HGY3F.cjs +12 -0
  7. package/chunk-4VK7K4IF.js +29 -0
  8. package/chunk-54MX3Y2M.cjs +15 -0
  9. package/{chunk-NMKH2J77.js → chunk-54N6YD4R.js} +28 -6
  10. package/{chunk-2H3GEKKO.js → chunk-5DDMSYH2.js} +25 -6
  11. package/chunk-5ZRUF6XZ.cjs +15 -0
  12. package/chunk-6JJ6RA5B.cjs +32 -0
  13. package/chunk-7H75UBMH.cjs +29 -0
  14. package/chunk-B7CINZ27.cjs +43 -0
  15. package/chunk-BA4KTRMX.cjs +15 -0
  16. package/{chunk-DO5OI6ZU.js → chunk-BQ2OTUXQ.js} +25 -6
  17. package/chunk-C3JBYESS.cjs +35 -0
  18. package/chunk-C6W6ERQD.js +53 -0
  19. package/{chunk-5WH4FOE2.cjs → chunk-CCS5ALTN.cjs} +5 -5
  20. package/chunk-DTDNBA7W.cjs +59 -0
  21. package/chunk-ETVDSJLY.js +48 -0
  22. package/chunk-F5RPJMNK.js +15 -0
  23. package/chunk-FIKGC2EL.cjs +29 -0
  24. package/{chunk-YONLN7XM.cjs → chunk-FTIVM52X.cjs} +24 -5
  25. package/chunk-GEWLPVNV.cjs +48 -0
  26. package/{chunk-75AXCCWF.cjs → chunk-GZ3POWDP.cjs} +27 -5
  27. package/chunk-HISH4ORK.js +59 -0
  28. package/chunk-I4MMTW33.js +98 -0
  29. package/chunk-KRPRS2E5.cjs +46 -0
  30. package/chunk-L2FFL3BY.js +35 -0
  31. package/chunk-LQULSPET.cjs +55 -0
  32. package/chunk-LTYQTCHM.js +196 -0
  33. package/chunk-MMN2UKTI.cjs +41 -0
  34. package/chunk-NBLW25ME.cjs +67 -0
  35. package/chunk-NS2RDZ7W.js +15 -0
  36. package/chunk-OUOWDGL7.js +15 -0
  37. package/chunk-PT5DDLHC.js +46 -0
  38. package/chunk-Q6FSREKN.js +12 -0
  39. package/chunk-QJR4WFNV.js +55 -0
  40. package/chunk-RPB226OX.cjs +54 -0
  41. package/chunk-S4ZASMBT.js +43 -0
  42. package/chunk-T62VHXNY.js +67 -0
  43. package/chunk-TLBDBRPJ.js +29 -0
  44. package/chunk-TY76RTXQ.cjs +32 -0
  45. package/chunk-USTEEQQG.js +43 -0
  46. package/chunk-W5P34RYO.cjs +196 -0
  47. package/chunk-XJP6FPN3.js +41 -0
  48. package/chunk-YBMEMKCN.cjs +53 -0
  49. package/chunk-YE2OS2KS.js +32 -0
  50. package/chunk-YHSDCE3I.js +32 -0
  51. package/chunk-YSWBOCXJ.cjs +38 -0
  52. package/chunk-YUCX7HE3.js +15 -0
  53. package/chunk-Z3D4URRD.cjs +43 -0
  54. package/chunk-ZIIR24GM.cjs +95 -0
  55. package/chunk-ZPU6PQES.cjs +15 -0
  56. package/{chunk-6L3JVMUK.js → chunk-ZVZIMJRM.js} +6 -6
  57. package/clients/audit.cjs +8 -0
  58. package/{handles → clients}/audit.d.cts +3 -3
  59. package/{handles → clients}/audit.d.ts +3 -3
  60. package/clients/audit.js +8 -0
  61. package/clients/base.cjs +7 -0
  62. package/{handles → clients}/base.d.cts +2 -2
  63. package/{handles → clients}/base.d.ts +2 -2
  64. package/clients/base.js +7 -0
  65. package/clients/community-package.cjs +12 -0
  66. package/clients/community-package.d.cts +6 -0
  67. package/clients/community-package.d.ts +6 -0
  68. package/clients/community-package.js +12 -0
  69. package/clients/credential.cjs +10 -0
  70. package/clients/credential.d.cts +6 -0
  71. package/clients/credential.d.ts +6 -0
  72. package/clients/credential.js +10 -0
  73. package/clients/data-table.cjs +10 -0
  74. package/clients/data-table.d.cts +6 -0
  75. package/clients/data-table.d.ts +6 -0
  76. package/clients/data-table.js +10 -0
  77. package/clients/discover.cjs +8 -0
  78. package/{handles → clients}/discover.d.cts +3 -3
  79. package/{handles → clients}/discover.d.ts +3 -3
  80. package/clients/discover.js +8 -0
  81. package/clients/execution.cjs +10 -0
  82. package/clients/execution.d.cts +6 -0
  83. package/clients/execution.d.ts +6 -0
  84. package/clients/execution.js +10 -0
  85. package/clients/folder.cjs +10 -0
  86. package/clients/folder.d.cts +6 -0
  87. package/clients/folder.d.ts +6 -0
  88. package/clients/folder.js +10 -0
  89. package/clients/insights.cjs +8 -0
  90. package/{handles → clients}/insights.d.cts +3 -3
  91. package/{handles → clients}/insights.d.ts +3 -3
  92. package/clients/insights.js +8 -0
  93. package/clients/n8n-package.cjs +8 -0
  94. package/{handles → clients}/n8n-package.d.cts +3 -3
  95. package/{handles → clients}/n8n-package.d.ts +3 -3
  96. package/clients/n8n-package.js +8 -0
  97. package/clients/project.cjs +22 -0
  98. package/clients/project.d.cts +11 -0
  99. package/clients/project.d.ts +11 -0
  100. package/clients/project.js +22 -0
  101. package/clients/source-control.cjs +8 -0
  102. package/{handles → clients}/source-control.d.cts +3 -3
  103. package/{handles → clients}/source-control.d.ts +3 -3
  104. package/clients/source-control.js +8 -0
  105. package/clients/tag.cjs +10 -0
  106. package/clients/tag.d.cts +6 -0
  107. package/clients/tag.d.ts +6 -0
  108. package/clients/tag.js +10 -0
  109. package/clients/user.cjs +10 -0
  110. package/clients/user.d.cts +6 -0
  111. package/clients/user.d.ts +6 -0
  112. package/clients/user.js +10 -0
  113. package/clients/variable.cjs +12 -0
  114. package/clients/variable.d.cts +6 -0
  115. package/clients/variable.d.ts +6 -0
  116. package/clients/variable.js +12 -0
  117. package/clients/workflow.cjs +14 -0
  118. package/clients/workflow.d.cts +7 -0
  119. package/clients/workflow.d.ts +7 -0
  120. package/clients/workflow.js +14 -0
  121. package/community-package-CyzAqqwH.d.ts +26 -0
  122. package/community-package-DBpReCPV.d.cts +26 -0
  123. package/credential-BWcrGfqd.d.ts +34 -0
  124. package/credential-CEH7XbGn.d.cts +34 -0
  125. package/data-table-CHGUClGF.d.ts +60 -0
  126. package/data-table-CzR5kl9T.d.cts +60 -0
  127. package/execution-BjR6z5Vu.d.ts +33 -0
  128. package/execution-C0c9utwa.d.cts +33 -0
  129. package/folder-DvgIxSea.d.cts +31 -0
  130. package/folder-bjRPcy2j.d.ts +31 -0
  131. package/index.cjs +85 -44
  132. package/index.d.cts +42 -31
  133. package/index.d.ts +42 -31
  134. package/index.js +98 -57
  135. package/package.json +1 -1
  136. package/project-BS1fXSLW.d.cts +94 -0
  137. package/project-uws9k24H.d.ts +94 -0
  138. package/resources/base.cjs +7 -0
  139. package/resources/base.d.cts +11 -0
  140. package/resources/base.d.ts +11 -0
  141. package/resources/base.js +7 -0
  142. package/resources/community-package.cjs +8 -0
  143. package/resources/community-package.d.cts +6 -0
  144. package/resources/community-package.d.ts +6 -0
  145. package/resources/community-package.js +8 -0
  146. package/resources/credential.cjs +8 -0
  147. package/resources/credential.d.cts +6 -0
  148. package/resources/credential.d.ts +6 -0
  149. package/resources/credential.js +8 -0
  150. package/resources/data-table.cjs +8 -0
  151. package/resources/data-table.d.cts +6 -0
  152. package/resources/data-table.d.ts +6 -0
  153. package/resources/data-table.js +8 -0
  154. package/resources/execution.cjs +8 -0
  155. package/resources/execution.d.cts +6 -0
  156. package/resources/execution.d.ts +6 -0
  157. package/resources/execution.js +8 -0
  158. package/resources/folder.cjs +8 -0
  159. package/resources/folder.d.cts +6 -0
  160. package/resources/folder.d.ts +6 -0
  161. package/resources/folder.js +8 -0
  162. package/resources/project.cjs +11 -0
  163. package/resources/project.d.cts +11 -0
  164. package/resources/project.d.ts +11 -0
  165. package/resources/project.js +11 -0
  166. package/resources/tag.cjs +8 -0
  167. package/resources/tag.d.cts +6 -0
  168. package/resources/tag.d.ts +6 -0
  169. package/resources/tag.js +8 -0
  170. package/resources/user.cjs +8 -0
  171. package/resources/user.d.cts +6 -0
  172. package/resources/user.d.ts +6 -0
  173. package/resources/user.js +8 -0
  174. package/resources/variable.cjs +8 -0
  175. package/resources/variable.d.cts +6 -0
  176. package/resources/variable.d.ts +6 -0
  177. package/resources/variable.js +8 -0
  178. package/resources/workflow.cjs +10 -0
  179. package/resources/workflow.d.cts +7 -0
  180. package/resources/workflow.d.ts +7 -0
  181. package/resources/workflow.js +10 -0
  182. package/tag-CzazpR40.d.cts +27 -0
  183. package/tag-lmf8obZe.d.ts +27 -0
  184. package/user-B0WdVahA.d.ts +27 -0
  185. package/user-CBa2VjYj.d.cts +27 -0
  186. package/variable-C2LmlaTx.d.ts +29 -0
  187. package/variable-CuCiwy0G.d.cts +29 -0
  188. package/workflow-8pMj_fR_.d.ts +56 -0
  189. package/workflow-B2nxUmWq.d.cts +56 -0
  190. package/chunk-2DSU5F3J.js +0 -37
  191. package/chunk-2JBRCS53.js +0 -27
  192. package/chunk-4QPHBRTA.js +0 -15
  193. package/chunk-ACVK7R2L.cjs +0 -12
  194. package/chunk-BI6R6RFB.js +0 -36
  195. package/chunk-CDYFI72K.js +0 -28
  196. package/chunk-FKHPF5R5.cjs +0 -37
  197. package/chunk-GYCE5P4Y.js +0 -24
  198. package/chunk-HDN3VTQ4.cjs +0 -15
  199. package/chunk-HYJ7KYNG.cjs +0 -35
  200. package/chunk-IDD662MQ.js +0 -15
  201. package/chunk-JUWY746V.cjs +0 -15
  202. package/chunk-JWSD43W3.js +0 -36
  203. package/chunk-L36NK3EC.cjs +0 -27
  204. package/chunk-LBBJ6MTN.cjs +0 -36
  205. package/chunk-OHQBXLTJ.js +0 -12
  206. package/chunk-ONBMQHLH.cjs +0 -28
  207. package/chunk-R3HQQ6JP.cjs +0 -15
  208. package/chunk-RXHHER7R.js +0 -24
  209. package/chunk-THVPKRZ6.js +0 -15
  210. package/chunk-UKWCRX4F.cjs +0 -36
  211. package/chunk-UPL3BYDO.js +0 -15
  212. package/chunk-UU6H6FNY.cjs +0 -15
  213. package/chunk-VS6V3PD6.cjs +0 -24
  214. package/chunk-XHPNV55G.cjs +0 -24
  215. package/handles/audit.cjs +0 -8
  216. package/handles/audit.js +0 -8
  217. package/handles/base.cjs +0 -7
  218. package/handles/base.js +0 -7
  219. package/handles/community-package.cjs +0 -8
  220. package/handles/community-package.d.cts +0 -13
  221. package/handles/community-package.d.ts +0 -13
  222. package/handles/community-package.js +0 -8
  223. package/handles/credential.cjs +0 -8
  224. package/handles/credential.d.cts +0 -17
  225. package/handles/credential.d.ts +0 -17
  226. package/handles/credential.js +0 -8
  227. package/handles/data-table.cjs +0 -8
  228. package/handles/data-table.d.cts +0 -30
  229. package/handles/data-table.d.ts +0 -30
  230. package/handles/data-table.js +0 -8
  231. package/handles/discover.cjs +0 -8
  232. package/handles/discover.js +0 -8
  233. package/handles/execution.cjs +0 -8
  234. package/handles/execution.d.cts +0 -17
  235. package/handles/execution.d.ts +0 -17
  236. package/handles/execution.js +0 -8
  237. package/handles/folder.cjs +0 -8
  238. package/handles/folder.d.cts +0 -16
  239. package/handles/folder.d.ts +0 -16
  240. package/handles/folder.js +0 -8
  241. package/handles/insights.cjs +0 -8
  242. package/handles/insights.js +0 -8
  243. package/handles/n8n-package.cjs +0 -8
  244. package/handles/n8n-package.js +0 -8
  245. package/handles/project.cjs +0 -8
  246. package/handles/project.d.cts +0 -17
  247. package/handles/project.d.ts +0 -17
  248. package/handles/project.js +0 -8
  249. package/handles/source-control.cjs +0 -8
  250. package/handles/source-control.js +0 -8
  251. package/handles/tag.cjs +0 -8
  252. package/handles/tag.d.cts +0 -14
  253. package/handles/tag.d.ts +0 -14
  254. package/handles/tag.js +0 -8
  255. package/handles/user.cjs +0 -8
  256. package/handles/user.d.cts +0 -14
  257. package/handles/user.d.ts +0 -14
  258. package/handles/user.js +0 -8
  259. package/handles/variable.cjs +0 -8
  260. package/handles/variable.d.cts +0 -13
  261. package/handles/variable.d.ts +0 -13
  262. package/handles/variable.js +0 -8
  263. package/handles/workflow.cjs +0 -8
  264. package/handles/workflow.d.cts +0 -22
  265. package/handles/workflow.d.ts +0 -22
  266. package/handles/workflow.js +0 -8
@@ -1,37 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/project.ts
6
- var ProjectHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
- async list(params) {
8
- return this.http.get("/projects", params);
9
- }
10
- async create(data) {
11
- await this.http.post("/projects", data);
12
- }
13
- async update(id, data) {
14
- await this.http.put(`/projects/${id}`, data);
15
- }
16
- async delete(id) {
17
- await this.http.delete(`/projects/${id}`);
18
- }
19
- async listMembers(projectId, params) {
20
- return this.http.get(`/projects/${projectId}/users`, params);
21
- }
22
- async addMembers(projectId, relations) {
23
- await this.http.post(`/projects/${projectId}/users`, { relations });
24
- }
25
- async removeMember(projectId, userId) {
26
- await this.http.delete(`/projects/${projectId}/users/${userId}`);
27
- }
28
- async changeMemberRole(projectId, userId, role) {
29
- const data = { role };
30
- await this.http.patch(`/projects/${projectId}/users/${userId}`, data);
31
- }
32
- };
33
-
34
-
35
-
36
- exports.ProjectHandle = ProjectHandle;
37
- //# sourceMappingURL=chunk-FKHPF5R5.cjs.map
package/chunk-GYCE5P4Y.js DELETED
@@ -1,24 +0,0 @@
1
- import {
2
- BaseHandle
3
- } from "./chunk-OHQBXLTJ.js";
4
-
5
- // src/handles/community-package.ts
6
- var CommunityPackageHandle = class extends BaseHandle {
7
- async list() {
8
- return this.http.get("/community-packages");
9
- }
10
- async install(data) {
11
- return this.http.post("/community-packages", data);
12
- }
13
- async update(name, data) {
14
- return this.http.patch(`/community-packages/${name}`, data);
15
- }
16
- async uninstall(name) {
17
- await this.http.delete(`/community-packages/${name}`);
18
- }
19
- };
20
-
21
- export {
22
- CommunityPackageHandle
23
- };
24
- //# sourceMappingURL=chunk-GYCE5P4Y.js.map
@@ -1,15 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/audit.ts
6
- var AuditHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
- async generate(data) {
8
- return this.http.post("/audit", data);
9
- }
10
- };
11
-
12
-
13
-
14
- exports.AuditHandle = AuditHandle;
15
- //# sourceMappingURL=chunk-HDN3VTQ4.cjs.map
@@ -1,35 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/folder.ts
6
- var FolderHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
-
8
- constructor(http, projectId) {
9
- super(http);
10
- this.projectId = projectId;
11
- }
12
- async list(params) {
13
- return this.http.get(`/projects/${this.projectId}/folders`, params);
14
- }
15
- async get(folderId) {
16
- return this.http.get(`/projects/${this.projectId}/folders/${folderId}`);
17
- }
18
- async create(data) {
19
- return this.http.post(`/projects/${this.projectId}/folders`, data);
20
- }
21
- async update(folderId, data) {
22
- return this.http.patch(`/projects/${this.projectId}/folders/${folderId}`, data);
23
- }
24
- async delete(folderId, transferToFolderId) {
25
- await this.http.delete(
26
- `/projects/${this.projectId}/folders/${folderId}`,
27
- transferToFolderId ? { transferToFolderId } : void 0
28
- );
29
- }
30
- };
31
-
32
-
33
-
34
- exports.FolderHandle = FolderHandle;
35
- //# sourceMappingURL=chunk-HYJ7KYNG.cjs.map
package/chunk-IDD662MQ.js DELETED
@@ -1,15 +0,0 @@
1
- import {
2
- BaseHandle
3
- } from "./chunk-OHQBXLTJ.js";
4
-
5
- // src/handles/insights.ts
6
- var InsightsHandle = class extends BaseHandle {
7
- async getSummary(params) {
8
- return this.http.get("/insights/summary", params);
9
- }
10
- };
11
-
12
- export {
13
- InsightsHandle
14
- };
15
- //# sourceMappingURL=chunk-IDD662MQ.js.map
@@ -1,15 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/source-control.ts
6
- var SourceControlHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
- async pull(data) {
8
- return this.http.post("/source-control/pull", data);
9
- }
10
- };
11
-
12
-
13
-
14
- exports.SourceControlHandle = SourceControlHandle;
15
- //# sourceMappingURL=chunk-JUWY746V.cjs.map
package/chunk-JWSD43W3.js DELETED
@@ -1,36 +0,0 @@
1
- import {
2
- BaseHandle
3
- } from "./chunk-OHQBXLTJ.js";
4
-
5
- // src/handles/credential.ts
6
- var CredentialHandle = class extends BaseHandle {
7
- async list(params) {
8
- return this.http.get("/credentials", params);
9
- }
10
- async get(id) {
11
- return this.http.get(`/credentials/${id}`);
12
- }
13
- async create(data) {
14
- return this.http.post("/credentials", data);
15
- }
16
- async update(id, data) {
17
- return this.http.patch(`/credentials/${id}`, data);
18
- }
19
- async delete(id) {
20
- return this.http.delete(`/credentials/${id}`);
21
- }
22
- async test(id) {
23
- return this.http.post(`/credentials/${id}/test`);
24
- }
25
- async transfer(id, destinationProjectId) {
26
- await this.http.put(`/credentials/${id}/transfer`, { destinationProjectId });
27
- }
28
- async getSchema(credentialTypeName) {
29
- return this.http.get(`/credentials/schema/${credentialTypeName}`);
30
- }
31
- };
32
-
33
- export {
34
- CredentialHandle
35
- };
36
- //# sourceMappingURL=chunk-JWSD43W3.js.map
@@ -1,27 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/tag.ts
6
- var TagHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
- async list(params) {
8
- return this.http.get("/tags", params);
9
- }
10
- async get(id) {
11
- return this.http.get(`/tags/${id}`);
12
- }
13
- async create(data) {
14
- return this.http.post("/tags", data);
15
- }
16
- async update(id, data) {
17
- return this.http.put(`/tags/${id}`, data);
18
- }
19
- async delete(id) {
20
- return this.http.delete(`/tags/${id}`);
21
- }
22
- };
23
-
24
-
25
-
26
- exports.TagHandle = TagHandle;
27
- //# sourceMappingURL=chunk-L36NK3EC.cjs.map
@@ -1,36 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/execution.ts
6
- var ExecutionHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
- async list(params) {
8
- return this.http.get("/executions", params);
9
- }
10
- async get(id, params) {
11
- return this.http.get(`/executions/${id}`, params);
12
- }
13
- async delete(id) {
14
- return this.http.delete(`/executions/${id}`);
15
- }
16
- async retry(id, data) {
17
- return this.http.post(`/executions/${id}/retry`, data);
18
- }
19
- async stop(id) {
20
- return this.http.post(`/executions/${id}/stop`);
21
- }
22
- async stopMany(data) {
23
- return this.http.post("/executions/stop", data);
24
- }
25
- async getTags(id) {
26
- return this.http.get(`/executions/${id}/tags`);
27
- }
28
- async updateTags(id, tags) {
29
- return this.http.put(`/executions/${id}/tags`, tags);
30
- }
31
- };
32
-
33
-
34
-
35
- exports.ExecutionHandle = ExecutionHandle;
36
- //# sourceMappingURL=chunk-LBBJ6MTN.cjs.map
package/chunk-OHQBXLTJ.js DELETED
@@ -1,12 +0,0 @@
1
- // src/handles/base.ts
2
- var BaseHandle = class {
3
- constructor(http) {
4
- this.http = http;
5
- }
6
- http;
7
- };
8
-
9
- export {
10
- BaseHandle
11
- };
12
- //# sourceMappingURL=chunk-OHQBXLTJ.js.map
@@ -1,28 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/user.ts
6
- var UserHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
- async list(params) {
8
- return this.http.get("/users", params);
9
- }
10
- async get(id, params) {
11
- return this.http.get(`/users/${id}`, params);
12
- }
13
- async create(data) {
14
- return this.http.post("/users", data);
15
- }
16
- async delete(id) {
17
- await this.http.delete(`/users/${id}`);
18
- }
19
- async changeRole(id, newRoleName) {
20
- const data = { newRoleName };
21
- await this.http.patch(`/users/${id}/role`, data);
22
- }
23
- };
24
-
25
-
26
-
27
- exports.UserHandle = UserHandle;
28
- //# sourceMappingURL=chunk-ONBMQHLH.cjs.map
@@ -1,15 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/discover.ts
6
- var DiscoverHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
- async get(params) {
8
- return this.http.get("/discover", params);
9
- }
10
- };
11
-
12
-
13
-
14
- exports.DiscoverHandle = DiscoverHandle;
15
- //# sourceMappingURL=chunk-R3HQQ6JP.cjs.map
package/chunk-RXHHER7R.js DELETED
@@ -1,24 +0,0 @@
1
- import {
2
- BaseHandle
3
- } from "./chunk-OHQBXLTJ.js";
4
-
5
- // src/handles/variable.ts
6
- var VariableHandle = class extends BaseHandle {
7
- async list(params) {
8
- return this.http.get("/variables", params);
9
- }
10
- async create(data) {
11
- await this.http.post("/variables", data);
12
- }
13
- async update(id, data) {
14
- await this.http.put(`/variables/${id}`, data);
15
- }
16
- async delete(id) {
17
- await this.http.delete(`/variables/${id}`);
18
- }
19
- };
20
-
21
- export {
22
- VariableHandle
23
- };
24
- //# sourceMappingURL=chunk-RXHHER7R.js.map
package/chunk-THVPKRZ6.js DELETED
@@ -1,15 +0,0 @@
1
- import {
2
- BaseHandle
3
- } from "./chunk-OHQBXLTJ.js";
4
-
5
- // src/handles/source-control.ts
6
- var SourceControlHandle = class extends BaseHandle {
7
- async pull(data) {
8
- return this.http.post("/source-control/pull", data);
9
- }
10
- };
11
-
12
- export {
13
- SourceControlHandle
14
- };
15
- //# sourceMappingURL=chunk-THVPKRZ6.js.map
@@ -1,36 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/credential.ts
6
- var CredentialHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
- async list(params) {
8
- return this.http.get("/credentials", params);
9
- }
10
- async get(id) {
11
- return this.http.get(`/credentials/${id}`);
12
- }
13
- async create(data) {
14
- return this.http.post("/credentials", data);
15
- }
16
- async update(id, data) {
17
- return this.http.patch(`/credentials/${id}`, data);
18
- }
19
- async delete(id) {
20
- return this.http.delete(`/credentials/${id}`);
21
- }
22
- async test(id) {
23
- return this.http.post(`/credentials/${id}/test`);
24
- }
25
- async transfer(id, destinationProjectId) {
26
- await this.http.put(`/credentials/${id}/transfer`, { destinationProjectId });
27
- }
28
- async getSchema(credentialTypeName) {
29
- return this.http.get(`/credentials/schema/${credentialTypeName}`);
30
- }
31
- };
32
-
33
-
34
-
35
- exports.CredentialHandle = CredentialHandle;
36
- //# sourceMappingURL=chunk-UKWCRX4F.cjs.map
package/chunk-UPL3BYDO.js DELETED
@@ -1,15 +0,0 @@
1
- import {
2
- BaseHandle
3
- } from "./chunk-OHQBXLTJ.js";
4
-
5
- // src/handles/discover.ts
6
- var DiscoverHandle = class extends BaseHandle {
7
- async get(params) {
8
- return this.http.get("/discover", params);
9
- }
10
- };
11
-
12
- export {
13
- DiscoverHandle
14
- };
15
- //# sourceMappingURL=chunk-UPL3BYDO.js.map
@@ -1,15 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/insights.ts
6
- var InsightsHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
- async getSummary(params) {
8
- return this.http.get("/insights/summary", params);
9
- }
10
- };
11
-
12
-
13
-
14
- exports.InsightsHandle = InsightsHandle;
15
- //# sourceMappingURL=chunk-UU6H6FNY.cjs.map
@@ -1,24 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/variable.ts
6
- var VariableHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
- async list(params) {
8
- return this.http.get("/variables", params);
9
- }
10
- async create(data) {
11
- await this.http.post("/variables", data);
12
- }
13
- async update(id, data) {
14
- await this.http.put(`/variables/${id}`, data);
15
- }
16
- async delete(id) {
17
- await this.http.delete(`/variables/${id}`);
18
- }
19
- };
20
-
21
-
22
-
23
- exports.VariableHandle = VariableHandle;
24
- //# sourceMappingURL=chunk-VS6V3PD6.cjs.map
@@ -1,24 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('./chunk-ACVK7R2L.cjs');
4
-
5
- // src/handles/community-package.ts
6
- var CommunityPackageHandle = class extends _chunkACVK7R2Lcjs.BaseHandle {
7
- async list() {
8
- return this.http.get("/community-packages");
9
- }
10
- async install(data) {
11
- return this.http.post("/community-packages", data);
12
- }
13
- async update(name, data) {
14
- return this.http.patch(`/community-packages/${name}`, data);
15
- }
16
- async uninstall(name) {
17
- await this.http.delete(`/community-packages/${name}`);
18
- }
19
- };
20
-
21
-
22
-
23
- exports.CommunityPackageHandle = CommunityPackageHandle;
24
- //# sourceMappingURL=chunk-XHPNV55G.cjs.map
package/handles/audit.cjs DELETED
@@ -1,8 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkHDN3VTQ4cjs = require('../chunk-HDN3VTQ4.cjs');
4
- require('../chunk-ACVK7R2L.cjs');
5
-
6
-
7
- exports.default = _chunkHDN3VTQ4cjs.AuditHandle;
8
- //# sourceMappingURL=audit.cjs.map
package/handles/audit.js DELETED
@@ -1,8 +0,0 @@
1
- import {
2
- AuditHandle
3
- } from "../chunk-4QPHBRTA.js";
4
- import "../chunk-OHQBXLTJ.js";
5
- export {
6
- AuditHandle as default
7
- };
8
- //# sourceMappingURL=audit.js.map
package/handles/base.cjs DELETED
@@ -1,7 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkACVK7R2Lcjs = require('../chunk-ACVK7R2L.cjs');
4
-
5
-
6
- exports.default = _chunkACVK7R2Lcjs.BaseHandle;
7
- //# sourceMappingURL=base.cjs.map
package/handles/base.js DELETED
@@ -1,7 +0,0 @@
1
- import {
2
- BaseHandle
3
- } from "../chunk-OHQBXLTJ.js";
4
- export {
5
- BaseHandle as default
6
- };
7
- //# sourceMappingURL=base.js.map
@@ -1,8 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkXHPNV55Gcjs = require('../chunk-XHPNV55G.cjs');
4
- require('../chunk-ACVK7R2L.cjs');
5
-
6
-
7
- exports.default = _chunkXHPNV55Gcjs.CommunityPackageHandle;
8
- //# sourceMappingURL=community-package.cjs.map
@@ -1,13 +0,0 @@
1
- import { CommunityPackage, InstallCommunityPackageRequest, UpdateCommunityPackageRequest } from '../types.cjs';
2
- import BaseHandle from './base.cjs';
3
- import '../pagination.cjs';
4
- import '../http-client.cjs';
5
-
6
- declare class CommunityPackageHandle extends BaseHandle {
7
- list(): Promise<CommunityPackage[]>;
8
- install(data: InstallCommunityPackageRequest): Promise<CommunityPackage>;
9
- update(name: string, data?: UpdateCommunityPackageRequest): Promise<CommunityPackage>;
10
- uninstall(name: string): Promise<void>;
11
- }
12
-
13
- export { CommunityPackageHandle as default };
@@ -1,13 +0,0 @@
1
- import { CommunityPackage, InstallCommunityPackageRequest, UpdateCommunityPackageRequest } from '../types.js';
2
- import BaseHandle from './base.js';
3
- import '../pagination.js';
4
- import '../http-client.js';
5
-
6
- declare class CommunityPackageHandle extends BaseHandle {
7
- list(): Promise<CommunityPackage[]>;
8
- install(data: InstallCommunityPackageRequest): Promise<CommunityPackage>;
9
- update(name: string, data?: UpdateCommunityPackageRequest): Promise<CommunityPackage>;
10
- uninstall(name: string): Promise<void>;
11
- }
12
-
13
- export { CommunityPackageHandle as default };
@@ -1,8 +0,0 @@
1
- import {
2
- CommunityPackageHandle
3
- } from "../chunk-GYCE5P4Y.js";
4
- import "../chunk-OHQBXLTJ.js";
5
- export {
6
- CommunityPackageHandle as default
7
- };
8
- //# sourceMappingURL=community-package.js.map
@@ -1,8 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkUKWCRX4Fcjs = require('../chunk-UKWCRX4F.cjs');
4
- require('../chunk-ACVK7R2L.cjs');
5
-
6
-
7
- exports.default = _chunkUKWCRX4Fcjs.CredentialHandle;
8
- //# sourceMappingURL=credential.cjs.map
@@ -1,17 +0,0 @@
1
- import { CredentialListResponse, CredentialResponse, CredentialCreate, CredentialUpdate, Credential, CredentialTestResponse, JsonObject } from '../types.cjs';
2
- import BaseHandle from './base.cjs';
3
- import { PaginationParams } from '../pagination.cjs';
4
- import '../http-client.cjs';
5
-
6
- declare class CredentialHandle extends BaseHandle {
7
- list(params?: PaginationParams): Promise<CredentialListResponse>;
8
- get(id: string): Promise<CredentialResponse>;
9
- create(data: CredentialCreate): Promise<CredentialResponse>;
10
- update(id: string, data: CredentialUpdate): Promise<CredentialResponse>;
11
- delete(id: string): Promise<Credential>;
12
- test(id: string): Promise<CredentialTestResponse>;
13
- transfer(id: string, destinationProjectId: string): Promise<void>;
14
- getSchema(credentialTypeName: string): Promise<JsonObject>;
15
- }
16
-
17
- export { CredentialHandle as default };
@@ -1,17 +0,0 @@
1
- import { CredentialListResponse, CredentialResponse, CredentialCreate, CredentialUpdate, Credential, CredentialTestResponse, JsonObject } from '../types.js';
2
- import BaseHandle from './base.js';
3
- import { PaginationParams } from '../pagination.js';
4
- import '../http-client.js';
5
-
6
- declare class CredentialHandle extends BaseHandle {
7
- list(params?: PaginationParams): Promise<CredentialListResponse>;
8
- get(id: string): Promise<CredentialResponse>;
9
- create(data: CredentialCreate): Promise<CredentialResponse>;
10
- update(id: string, data: CredentialUpdate): Promise<CredentialResponse>;
11
- delete(id: string): Promise<Credential>;
12
- test(id: string): Promise<CredentialTestResponse>;
13
- transfer(id: string, destinationProjectId: string): Promise<void>;
14
- getSchema(credentialTypeName: string): Promise<JsonObject>;
15
- }
16
-
17
- export { CredentialHandle as default };
@@ -1,8 +0,0 @@
1
- import {
2
- CredentialHandle
3
- } from "../chunk-JWSD43W3.js";
4
- import "../chunk-OHQBXLTJ.js";
5
- export {
6
- CredentialHandle as default
7
- };
8
- //# sourceMappingURL=credential.js.map
@@ -1,8 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkYONLN7XMcjs = require('../chunk-YONLN7XM.cjs');
4
- require('../chunk-ACVK7R2L.cjs');
5
-
6
-
7
- exports.default = _chunkYONLN7XMcjs.DataTableHandle;
8
- //# sourceMappingURL=data-table.cjs.map
@@ -1,30 +0,0 @@
1
- import { DataTableListParams, DataTableListResponse, DataTable, CreateDataTableRequest, UpdateDataTableRequest, DataTableRowListParams, DataTableRowListResponse, InsertRowsCountRequest, InsertRowsIdsRequest, InsertRowsAllRequest, DataTableRow, UpdateRowsBooleanRequest, UpdateRowsDataRequest, UpsertRowBooleanRequest, UpsertRowDataRequest, DeleteRowsBooleanParams, DeleteRowsDataParams, DataTableColumn, CreateColumnRequest, UpdateColumnRequest } from '../types.cjs';
2
- import BaseHandle from './base.cjs';
3
- import '../pagination.cjs';
4
- import '../http-client.cjs';
5
-
6
- declare class DataTableHandle extends BaseHandle {
7
- list(params?: DataTableListParams): Promise<DataTableListResponse>;
8
- get(id: string): Promise<DataTable>;
9
- create(data: CreateDataTableRequest): Promise<DataTable>;
10
- update(id: string, data: UpdateDataTableRequest): Promise<DataTable>;
11
- delete(id: string): Promise<void>;
12
- listRows(dataTableId: string, params?: DataTableRowListParams): Promise<DataTableRowListResponse>;
13
- insertRows(dataTableId: string, data: InsertRowsCountRequest): Promise<{
14
- count: number;
15
- }>;
16
- insertRows(dataTableId: string, data: InsertRowsIdsRequest): Promise<number[]>;
17
- insertRows(dataTableId: string, data: InsertRowsAllRequest): Promise<DataTableRow[]>;
18
- updateRows(dataTableId: string, data: UpdateRowsBooleanRequest): Promise<boolean>;
19
- updateRows(dataTableId: string, data: UpdateRowsDataRequest): Promise<DataTableRow[]>;
20
- upsertRow(dataTableId: string, data: UpsertRowBooleanRequest): Promise<boolean>;
21
- upsertRow(dataTableId: string, data: UpsertRowDataRequest): Promise<DataTableRow>;
22
- deleteRows(dataTableId: string, params: DeleteRowsBooleanParams): Promise<boolean>;
23
- deleteRows(dataTableId: string, params: DeleteRowsDataParams): Promise<DataTableRow[]>;
24
- listColumns(dataTableId: string): Promise<DataTableColumn[]>;
25
- createColumn(dataTableId: string, data: CreateColumnRequest): Promise<DataTableColumn>;
26
- deleteColumn(dataTableId: string, columnId: string): Promise<void>;
27
- updateColumn(dataTableId: string, columnId: string, data: UpdateColumnRequest): Promise<DataTableColumn>;
28
- }
29
-
30
- export { DataTableHandle as default };