@egose/n8n-client 0.1.1

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 (118) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +202 -0
  3. package/README.md +400 -0
  4. package/chunk-3SBD4UJS.js +15 -0
  5. package/chunk-4AODYIOB.cjs +36 -0
  6. package/chunk-4FXZT5HT.js +27 -0
  7. package/chunk-5DYA4LAX.cjs +110 -0
  8. package/chunk-5FIB7YIT.js +24 -0
  9. package/chunk-5PHEDSSO.cjs +27 -0
  10. package/chunk-5SY4KM4Q.js +15 -0
  11. package/chunk-7B5DLJYY.cjs +30 -0
  12. package/chunk-BWLFUF76.js +36 -0
  13. package/chunk-CES6KIG5.cjs +36 -0
  14. package/chunk-CUO2M75Z.js +29 -0
  15. package/chunk-DJCG37LZ.js +32 -0
  16. package/chunk-DK5NLZ6U.js +110 -0
  17. package/chunk-DURH6QOX.js +30 -0
  18. package/chunk-FHAZIAHR.js +15 -0
  19. package/chunk-FZX275Y3.js +24 -0
  20. package/chunk-I7NGIQIM.cjs +51 -0
  21. package/chunk-JR7A75YV.js +15 -0
  22. package/chunk-M7GX3MEN.cjs +15 -0
  23. package/chunk-MNL65GQB.js +51 -0
  24. package/chunk-NAZ5MLBL.cjs +32 -0
  25. package/chunk-NM6A7DX4.cjs +15 -0
  26. package/chunk-NSCKTOQK.cjs +15 -0
  27. package/chunk-OOMGKLOT.cjs +24 -0
  28. package/chunk-QLAAM7TG.cjs +27 -0
  29. package/chunk-QYAIEIF5.js +36 -0
  30. package/chunk-RATHO5IW.cjs +15 -0
  31. package/chunk-SK4VCTMD.js +27 -0
  32. package/chunk-TCPZWXKM.js +54 -0
  33. package/chunk-TRHGCMFH.cjs +29 -0
  34. package/chunk-U7PGEXKS.cjs +36 -0
  35. package/chunk-YPK2BDPO.cjs +54 -0
  36. package/chunk-ZAZJHB3O.cjs +24 -0
  37. package/chunk-ZEQL5KU2.js +36 -0
  38. package/handles/audit.cjs +7 -0
  39. package/handles/audit.d.cts +11 -0
  40. package/handles/audit.d.ts +11 -0
  41. package/handles/audit.js +7 -0
  42. package/handles/community-package.cjs +7 -0
  43. package/handles/community-package.d.cts +17 -0
  44. package/handles/community-package.d.ts +17 -0
  45. package/handles/community-package.js +7 -0
  46. package/handles/credential.cjs +7 -0
  47. package/handles/credential.d.cts +18 -0
  48. package/handles/credential.d.ts +18 -0
  49. package/handles/credential.js +7 -0
  50. package/handles/data-table.cjs +7 -0
  51. package/handles/data-table.d.cts +38 -0
  52. package/handles/data-table.d.ts +38 -0
  53. package/handles/data-table.js +7 -0
  54. package/handles/discover.cjs +7 -0
  55. package/handles/discover.d.cts +15 -0
  56. package/handles/discover.d.ts +15 -0
  57. package/handles/discover.js +7 -0
  58. package/handles/execution.cjs +7 -0
  59. package/handles/execution.d.cts +29 -0
  60. package/handles/execution.d.ts +29 -0
  61. package/handles/execution.js +7 -0
  62. package/handles/folder.cjs +7 -0
  63. package/handles/folder.d.cts +23 -0
  64. package/handles/folder.d.ts +23 -0
  65. package/handles/folder.js +7 -0
  66. package/handles/insights.cjs +7 -0
  67. package/handles/insights.d.cts +15 -0
  68. package/handles/insights.d.ts +15 -0
  69. package/handles/insights.js +7 -0
  70. package/handles/n8n-package.cjs +7 -0
  71. package/handles/n8n-package.d.cts +18 -0
  72. package/handles/n8n-package.d.ts +18 -0
  73. package/handles/n8n-package.js +7 -0
  74. package/handles/project.cjs +7 -0
  75. package/handles/project.d.cts +25 -0
  76. package/handles/project.d.ts +25 -0
  77. package/handles/project.js +7 -0
  78. package/handles/source-control.cjs +7 -0
  79. package/handles/source-control.d.cts +11 -0
  80. package/handles/source-control.d.ts +11 -0
  81. package/handles/source-control.js +7 -0
  82. package/handles/tag.cjs +7 -0
  83. package/handles/tag.d.cts +19 -0
  84. package/handles/tag.d.ts +19 -0
  85. package/handles/tag.js +7 -0
  86. package/handles/user.cjs +7 -0
  87. package/handles/user.d.cts +21 -0
  88. package/handles/user.d.ts +21 -0
  89. package/handles/user.js +7 -0
  90. package/handles/variable.cjs +7 -0
  91. package/handles/variable.d.cts +17 -0
  92. package/handles/variable.d.ts +17 -0
  93. package/handles/variable.js +7 -0
  94. package/handles/workflow.cjs +7 -0
  95. package/handles/workflow.d.cts +35 -0
  96. package/handles/workflow.d.ts +35 -0
  97. package/handles/workflow.js +7 -0
  98. package/http-client.cjs +10 -0
  99. package/http-client.d.cts +43 -0
  100. package/http-client.d.ts +43 -0
  101. package/http-client.js +10 -0
  102. package/index.cjs +127 -0
  103. package/index.d.cts +58 -0
  104. package/index.d.ts +58 -0
  105. package/index.js +127 -0
  106. package/package.json +42 -0
  107. package/pagination.cjs +1 -0
  108. package/pagination.d.cts +11 -0
  109. package/pagination.d.ts +11 -0
  110. package/pagination.js +1 -0
  111. package/types.cjs +1 -0
  112. package/types.d.cts +578 -0
  113. package/types.d.ts +578 -0
  114. package/types.js +1 -0
  115. package/utils/retry.cjs +7 -0
  116. package/utils/retry.d.cts +3 -0
  117. package/utils/retry.d.ts +3 -0
  118. package/utils/retry.js +7 -0
@@ -0,0 +1,51 @@
1
+ // src/handles/workflow.ts
2
+ var WorkflowHandle = class {
3
+ http;
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
7
+ async list(params) {
8
+ return this.http.get("/workflows", params);
9
+ }
10
+ async get(id, params) {
11
+ return this.http.get(`/workflows/${id}`, params);
12
+ }
13
+ async create(data) {
14
+ return this.http.post("/workflows", data);
15
+ }
16
+ async update(id, data) {
17
+ return this.http.put(`/workflows/${id}`, data);
18
+ }
19
+ async delete(id) {
20
+ return this.http.delete(`/workflows/${id}`);
21
+ }
22
+ async activate(id, data) {
23
+ return this.http.post(`/workflows/${id}/activate`, data);
24
+ }
25
+ async deactivate(id) {
26
+ return this.http.post(`/workflows/${id}/deactivate`);
27
+ }
28
+ async archive(id) {
29
+ return this.http.post(`/workflows/${id}/archive`);
30
+ }
31
+ async unarchive(id) {
32
+ return this.http.post(`/workflows/${id}/unarchive`);
33
+ }
34
+ async transfer(id, destinationProjectId) {
35
+ await this.http.put(`/workflows/${id}/transfer`, { destinationProjectId });
36
+ }
37
+ async getTags(id) {
38
+ return this.http.get(`/workflows/${id}/tags`);
39
+ }
40
+ async updateTags(id, tags) {
41
+ return this.http.put(`/workflows/${id}/tags`, tags);
42
+ }
43
+ async getVersion(id, versionId) {
44
+ return this.http.get(`/workflows/${id}/${versionId}`);
45
+ }
46
+ };
47
+
48
+ export {
49
+ WorkflowHandle
50
+ };
51
+ //# sourceMappingURL=chunk-MNL65GQB.js.map
@@ -0,0 +1,32 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/handles/folder.ts
2
+ var FolderHandle = class {
3
+
4
+
5
+ constructor(http, projectId) {
6
+ this.http = http;
7
+ this.projectId = projectId;
8
+ }
9
+ async list(params) {
10
+ return this.http.get(`/projects/${this.projectId}/folders`, params);
11
+ }
12
+ async get(folderId) {
13
+ return this.http.get(`/projects/${this.projectId}/folders/${folderId}`);
14
+ }
15
+ async create(data) {
16
+ return this.http.post(`/projects/${this.projectId}/folders`, data);
17
+ }
18
+ async update(folderId, data) {
19
+ return this.http.patch(`/projects/${this.projectId}/folders/${folderId}`, data);
20
+ }
21
+ async delete(folderId, transferToFolderId) {
22
+ await this.http.delete(
23
+ `/projects/${this.projectId}/folders/${folderId}`,
24
+ transferToFolderId ? { transferToFolderId } : void 0
25
+ );
26
+ }
27
+ };
28
+
29
+
30
+
31
+ exports.FolderHandle = FolderHandle;
32
+ //# sourceMappingURL=chunk-NAZ5MLBL.cjs.map
@@ -0,0 +1,15 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/handles/source-control.ts
2
+ var SourceControlHandle = class {
3
+
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
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-NM6A7DX4.cjs.map
@@ -0,0 +1,15 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/handles/insights.ts
2
+ var InsightsHandle = class {
3
+
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
7
+ async getSummary(params) {
8
+ return this.http.get("/insights/summary", params);
9
+ }
10
+ };
11
+
12
+
13
+
14
+ exports.InsightsHandle = InsightsHandle;
15
+ //# sourceMappingURL=chunk-NSCKTOQK.cjs.map
@@ -0,0 +1,24 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/handles/community-package.ts
2
+ var CommunityPackageHandle = class {
3
+
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
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-OOMGKLOT.cjs.map
@@ -0,0 +1,27 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/handles/user.ts
2
+ var UserHandle = class {
3
+
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
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
+ await this.http.patch(`/users/${id}/role`, { newRoleName });
21
+ }
22
+ };
23
+
24
+
25
+
26
+ exports.UserHandle = UserHandle;
27
+ //# sourceMappingURL=chunk-QLAAM7TG.cjs.map
@@ -0,0 +1,36 @@
1
+ // src/handles/execution.ts
2
+ var ExecutionHandle = class {
3
+ http;
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
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
+ export {
34
+ ExecutionHandle
35
+ };
36
+ //# sourceMappingURL=chunk-QYAIEIF5.js.map
@@ -0,0 +1,15 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/handles/discover.ts
2
+ var DiscoverHandle = class {
3
+
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
7
+ async get(params) {
8
+ return this.http.get("/discover", params);
9
+ }
10
+ };
11
+
12
+
13
+
14
+ exports.DiscoverHandle = DiscoverHandle;
15
+ //# sourceMappingURL=chunk-RATHO5IW.cjs.map
@@ -0,0 +1,27 @@
1
+ // src/handles/user.ts
2
+ var UserHandle = class {
3
+ http;
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
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
+ await this.http.patch(`/users/${id}/role`, { newRoleName });
21
+ }
22
+ };
23
+
24
+ export {
25
+ UserHandle
26
+ };
27
+ //# sourceMappingURL=chunk-SK4VCTMD.js.map
@@ -0,0 +1,54 @@
1
+ // src/handles/data-table.ts
2
+ var DataTableHandle = class {
3
+ http;
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
7
+ async list(params) {
8
+ return this.http.get("/data-tables", params);
9
+ }
10
+ async get(id) {
11
+ return this.http.get(`/data-tables/${id}`);
12
+ }
13
+ async create(data) {
14
+ return this.http.post("/data-tables", data);
15
+ }
16
+ async update(id, data) {
17
+ return this.http.patch(`/data-tables/${id}`, data);
18
+ }
19
+ async delete(id) {
20
+ await this.http.delete(`/data-tables/${id}`);
21
+ }
22
+ async listRows(dataTableId, params) {
23
+ return this.http.get(`/data-tables/${dataTableId}/rows`, params);
24
+ }
25
+ async insertRows(dataTableId, data) {
26
+ return this.http.post(`/data-tables/${dataTableId}/rows`, data);
27
+ }
28
+ async updateRows(dataTableId, data) {
29
+ return this.http.patch(`/data-tables/${dataTableId}/rows/update`, data);
30
+ }
31
+ async upsertRow(dataTableId, data) {
32
+ return this.http.post(`/data-tables/${dataTableId}/rows/upsert`, data);
33
+ }
34
+ async deleteRows(dataTableId, params) {
35
+ return this.http.delete(`/data-tables/${dataTableId}/rows/delete`, params);
36
+ }
37
+ async listColumns(dataTableId) {
38
+ return this.http.get(`/data-tables/${dataTableId}/columns`);
39
+ }
40
+ async createColumn(dataTableId, data) {
41
+ return this.http.post(`/data-tables/${dataTableId}/columns`, data);
42
+ }
43
+ async deleteColumn(dataTableId, columnId) {
44
+ await this.http.delete(`/data-tables/${dataTableId}/columns/${columnId}`);
45
+ }
46
+ async updateColumn(dataTableId, columnId, data) {
47
+ return this.http.patch(`/data-tables/${dataTableId}/columns/${columnId}`, data);
48
+ }
49
+ };
50
+
51
+ export {
52
+ DataTableHandle
53
+ };
54
+ //# sourceMappingURL=chunk-TCPZWXKM.js.map
@@ -0,0 +1,29 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/handles/n8n-package.ts
2
+ var N8nPackageHandle = class {
3
+
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
7
+ async exportWorkflows(data) {
8
+ return this.http.post("/n8n-packages/export", data, void 0, { Accept: "application/gzip" });
9
+ }
10
+ async importPackage(pkg, options) {
11
+ const formData = new FormData();
12
+ formData.append("package", pkg);
13
+ if (_optionalChain([options, 'optionalAccess', _ => _.projectId])) formData.append("projectId", options.projectId);
14
+ if (_optionalChain([options, 'optionalAccess', _2 => _2.folderId])) formData.append("folderId", options.folderId);
15
+ if (_optionalChain([options, 'optionalAccess', _3 => _3.credentialMatchingMode])) formData.append("credentialMatchingMode", options.credentialMatchingMode);
16
+ if (_optionalChain([options, 'optionalAccess', _4 => _4.credentialMissingMode])) formData.append("credentialMissingMode", options.credentialMissingMode);
17
+ formData.append("workflowConflictPolicy", options.workflowConflictPolicy);
18
+ return this.http.request({
19
+ method: "POST",
20
+ path: "/n8n-packages/import",
21
+ body: formData
22
+ });
23
+ }
24
+ };
25
+
26
+
27
+
28
+ exports.N8nPackageHandle = N8nPackageHandle;
29
+ //# sourceMappingURL=chunk-TRHGCMFH.cjs.map
@@ -0,0 +1,36 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/handles/execution.ts
2
+ var ExecutionHandle = class {
3
+
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
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-U7PGEXKS.cjs.map
@@ -0,0 +1,54 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/handles/data-table.ts
2
+ var DataTableHandle = class {
3
+
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
7
+ async list(params) {
8
+ return this.http.get("/data-tables", params);
9
+ }
10
+ async get(id) {
11
+ return this.http.get(`/data-tables/${id}`);
12
+ }
13
+ async create(data) {
14
+ return this.http.post("/data-tables", data);
15
+ }
16
+ async update(id, data) {
17
+ return this.http.patch(`/data-tables/${id}`, data);
18
+ }
19
+ async delete(id) {
20
+ await this.http.delete(`/data-tables/${id}`);
21
+ }
22
+ async listRows(dataTableId, params) {
23
+ return this.http.get(`/data-tables/${dataTableId}/rows`, params);
24
+ }
25
+ async insertRows(dataTableId, data) {
26
+ return this.http.post(`/data-tables/${dataTableId}/rows`, data);
27
+ }
28
+ async updateRows(dataTableId, data) {
29
+ return this.http.patch(`/data-tables/${dataTableId}/rows/update`, data);
30
+ }
31
+ async upsertRow(dataTableId, data) {
32
+ return this.http.post(`/data-tables/${dataTableId}/rows/upsert`, data);
33
+ }
34
+ async deleteRows(dataTableId, params) {
35
+ return this.http.delete(`/data-tables/${dataTableId}/rows/delete`, params);
36
+ }
37
+ async listColumns(dataTableId) {
38
+ return this.http.get(`/data-tables/${dataTableId}/columns`);
39
+ }
40
+ async createColumn(dataTableId, data) {
41
+ return this.http.post(`/data-tables/${dataTableId}/columns`, data);
42
+ }
43
+ async deleteColumn(dataTableId, columnId) {
44
+ await this.http.delete(`/data-tables/${dataTableId}/columns/${columnId}`);
45
+ }
46
+ async updateColumn(dataTableId, columnId, data) {
47
+ return this.http.patch(`/data-tables/${dataTableId}/columns/${columnId}`, data);
48
+ }
49
+ };
50
+
51
+
52
+
53
+ exports.DataTableHandle = DataTableHandle;
54
+ //# sourceMappingURL=chunk-YPK2BDPO.cjs.map
@@ -0,0 +1,24 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/handles/variable.ts
2
+ var VariableHandle = class {
3
+
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
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-ZAZJHB3O.cjs.map
@@ -0,0 +1,36 @@
1
+ // src/handles/project.ts
2
+ var ProjectHandle = class {
3
+ http;
4
+ constructor(http) {
5
+ this.http = http;
6
+ }
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
+ await this.http.patch(`/projects/${projectId}/users/${userId}`, { role });
30
+ }
31
+ };
32
+
33
+ export {
34
+ ProjectHandle
35
+ };
36
+ //# sourceMappingURL=chunk-ZEQL5KU2.js.map
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkM7GX3MENcjs = require('../chunk-M7GX3MEN.cjs');
4
+
5
+
6
+ exports.default = _chunkM7GX3MENcjs.AuditHandle;
7
+ //# sourceMappingURL=audit.cjs.map
@@ -0,0 +1,11 @@
1
+ import { HttpClient } from '../http-client.cjs';
2
+ import { AuditRequest, Audit } from '../types.cjs';
3
+ import '../pagination.cjs';
4
+
5
+ declare class AuditHandle {
6
+ protected http: HttpClient;
7
+ constructor(http: HttpClient);
8
+ generate(data?: AuditRequest): Promise<Audit>;
9
+ }
10
+
11
+ export { AuditHandle as default };
@@ -0,0 +1,11 @@
1
+ import { HttpClient } from '../http-client.js';
2
+ import { AuditRequest, Audit } from '../types.js';
3
+ import '../pagination.js';
4
+
5
+ declare class AuditHandle {
6
+ protected http: HttpClient;
7
+ constructor(http: HttpClient);
8
+ generate(data?: AuditRequest): Promise<Audit>;
9
+ }
10
+
11
+ export { AuditHandle as default };
@@ -0,0 +1,7 @@
1
+ import {
2
+ AuditHandle
3
+ } from "../chunk-3SBD4UJS.js";
4
+ export {
5
+ AuditHandle as default
6
+ };
7
+ //# sourceMappingURL=audit.js.map
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkOOMGKLOTcjs = require('../chunk-OOMGKLOT.cjs');
4
+
5
+
6
+ exports.default = _chunkOOMGKLOTcjs.CommunityPackageHandle;
7
+ //# sourceMappingURL=community-package.cjs.map
@@ -0,0 +1,17 @@
1
+ import { HttpClient } from '../http-client.cjs';
2
+ import { CommunityPackage, InstallCommunityPackageRequest } from '../types.cjs';
3
+ import '../pagination.cjs';
4
+
5
+ declare class CommunityPackageHandle {
6
+ protected http: HttpClient;
7
+ constructor(http: HttpClient);
8
+ list(): Promise<CommunityPackage[]>;
9
+ install(data: InstallCommunityPackageRequest): Promise<CommunityPackage>;
10
+ update(name: string, data?: {
11
+ version?: string;
12
+ verify?: boolean;
13
+ }): Promise<CommunityPackage>;
14
+ uninstall(name: string): Promise<void>;
15
+ }
16
+
17
+ export { CommunityPackageHandle as default };
@@ -0,0 +1,17 @@
1
+ import { HttpClient } from '../http-client.js';
2
+ import { CommunityPackage, InstallCommunityPackageRequest } from '../types.js';
3
+ import '../pagination.js';
4
+
5
+ declare class CommunityPackageHandle {
6
+ protected http: HttpClient;
7
+ constructor(http: HttpClient);
8
+ list(): Promise<CommunityPackage[]>;
9
+ install(data: InstallCommunityPackageRequest): Promise<CommunityPackage>;
10
+ update(name: string, data?: {
11
+ version?: string;
12
+ verify?: boolean;
13
+ }): Promise<CommunityPackage>;
14
+ uninstall(name: string): Promise<void>;
15
+ }
16
+
17
+ export { CommunityPackageHandle as default };
@@ -0,0 +1,7 @@
1
+ import {
2
+ CommunityPackageHandle
3
+ } from "../chunk-5FIB7YIT.js";
4
+ export {
5
+ CommunityPackageHandle as default
6
+ };
7
+ //# sourceMappingURL=community-package.js.map
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkCES6KIG5cjs = require('../chunk-CES6KIG5.cjs');
4
+
5
+
6
+ exports.default = _chunkCES6KIG5cjs.CredentialHandle;
7
+ //# sourceMappingURL=credential.cjs.map
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from '../http-client.cjs';
2
+ import { CredentialListResponse, CredentialResponse, CredentialCreate, CredentialUpdate, Credential, CredentialTestResponse } from '../types.cjs';
3
+ import { PaginationParams } from '../pagination.cjs';
4
+
5
+ declare class CredentialHandle {
6
+ protected http: HttpClient;
7
+ constructor(http: HttpClient);
8
+ list(params?: PaginationParams): Promise<CredentialListResponse>;
9
+ get(id: string): Promise<CredentialResponse>;
10
+ create(data: CredentialCreate): Promise<CredentialResponse>;
11
+ update(id: string, data: CredentialUpdate): Promise<CredentialResponse>;
12
+ delete(id: string): Promise<Credential>;
13
+ test(id: string): Promise<CredentialTestResponse>;
14
+ transfer(id: string, destinationProjectId: string): Promise<void>;
15
+ getSchema(credentialTypeName: string): Promise<Record<string, unknown>>;
16
+ }
17
+
18
+ export { CredentialHandle as default };
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from '../http-client.js';
2
+ import { CredentialListResponse, CredentialResponse, CredentialCreate, CredentialUpdate, Credential, CredentialTestResponse } from '../types.js';
3
+ import { PaginationParams } from '../pagination.js';
4
+
5
+ declare class CredentialHandle {
6
+ protected http: HttpClient;
7
+ constructor(http: HttpClient);
8
+ list(params?: PaginationParams): Promise<CredentialListResponse>;
9
+ get(id: string): Promise<CredentialResponse>;
10
+ create(data: CredentialCreate): Promise<CredentialResponse>;
11
+ update(id: string, data: CredentialUpdate): Promise<CredentialResponse>;
12
+ delete(id: string): Promise<Credential>;
13
+ test(id: string): Promise<CredentialTestResponse>;
14
+ transfer(id: string, destinationProjectId: string): Promise<void>;
15
+ getSchema(credentialTypeName: string): Promise<Record<string, unknown>>;
16
+ }
17
+
18
+ export { CredentialHandle as default };
@@ -0,0 +1,7 @@
1
+ import {
2
+ CredentialHandle
3
+ } from "../chunk-BWLFUF76.js";
4
+ export {
5
+ CredentialHandle as default
6
+ };
7
+ //# sourceMappingURL=credential.js.map
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkYPK2BDPOcjs = require('../chunk-YPK2BDPO.cjs');
4
+
5
+
6
+ exports.default = _chunkYPK2BDPOcjs.DataTableHandle;
7
+ //# sourceMappingURL=data-table.cjs.map