@egose/n8n-client 0.1.1 → 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.
- package/CHANGELOG.md +21 -1
- package/README.md +188 -46
- package/chunk-2R6A6NJE.js +38 -0
- package/chunk-3FDDCKAY.js +95 -0
- package/chunk-3YWWR6UD.cjs +98 -0
- package/chunk-4M2HGY3F.cjs +12 -0
- package/chunk-4VK7K4IF.js +29 -0
- package/chunk-54MX3Y2M.cjs +15 -0
- package/{chunk-MNL65GQB.js → chunk-54N6YD4R.js} +30 -8
- package/chunk-5DDMSYH2.js +54 -0
- package/chunk-5ZRUF6XZ.cjs +15 -0
- package/chunk-6JJ6RA5B.cjs +32 -0
- package/chunk-7H75UBMH.cjs +29 -0
- package/chunk-B7CINZ27.cjs +43 -0
- package/chunk-BA4KTRMX.cjs +15 -0
- package/{chunk-TCPZWXKM.js → chunk-BQ2OTUXQ.js} +27 -8
- package/chunk-C3JBYESS.cjs +35 -0
- package/chunk-C6W6ERQD.js +53 -0
- package/{chunk-TRHGCMFH.cjs → chunk-CCS5ALTN.cjs} +8 -8
- package/chunk-DTDNBA7W.cjs +59 -0
- package/chunk-ETVDSJLY.js +48 -0
- package/chunk-F5RPJMNK.js +15 -0
- package/chunk-FIKGC2EL.cjs +29 -0
- package/{chunk-YPK2BDPO.cjs → chunk-FTIVM52X.cjs} +27 -8
- package/chunk-GEWLPVNV.cjs +48 -0
- package/{chunk-I7NGIQIM.cjs → chunk-GZ3POWDP.cjs} +30 -8
- package/chunk-HISH4ORK.js +59 -0
- package/chunk-I4MMTW33.js +98 -0
- package/chunk-KRPRS2E5.cjs +46 -0
- package/chunk-L2FFL3BY.js +35 -0
- package/{chunk-5DYA4LAX.cjs → chunk-LC3TKRMX.cjs} +1 -1
- package/chunk-LQULSPET.cjs +55 -0
- package/chunk-LTYQTCHM.js +196 -0
- package/chunk-MMN2UKTI.cjs +41 -0
- package/chunk-NBLW25ME.cjs +67 -0
- package/chunk-NS2RDZ7W.js +15 -0
- package/chunk-OUOWDGL7.js +15 -0
- package/chunk-PT5DDLHC.js +46 -0
- package/chunk-Q6FSREKN.js +12 -0
- package/chunk-QJR4WFNV.js +55 -0
- package/{chunk-DK5NLZ6U.js → chunk-RMEH2UPX.js} +1 -1
- package/chunk-RPB226OX.cjs +54 -0
- package/chunk-S4ZASMBT.js +43 -0
- package/chunk-T62VHXNY.js +67 -0
- package/chunk-TLBDBRPJ.js +29 -0
- package/chunk-TY76RTXQ.cjs +32 -0
- package/chunk-USTEEQQG.js +43 -0
- package/chunk-W5P34RYO.cjs +196 -0
- package/chunk-XJP6FPN3.js +41 -0
- package/chunk-YBMEMKCN.cjs +53 -0
- package/chunk-YE2OS2KS.js +32 -0
- package/chunk-YHSDCE3I.js +32 -0
- package/chunk-YSWBOCXJ.cjs +38 -0
- package/chunk-YUCX7HE3.js +15 -0
- package/chunk-Z3D4URRD.cjs +43 -0
- package/chunk-ZIIR24GM.cjs +95 -0
- package/chunk-ZPU6PQES.cjs +15 -0
- package/{chunk-CUO2M75Z.js → chunk-ZVZIMJRM.js} +8 -8
- package/clients/audit.cjs +8 -0
- package/clients/audit.d.cts +10 -0
- package/clients/audit.d.ts +10 -0
- package/clients/audit.js +8 -0
- package/clients/base.cjs +7 -0
- package/clients/base.d.cts +10 -0
- package/clients/base.d.ts +10 -0
- package/clients/base.js +7 -0
- package/clients/community-package.cjs +12 -0
- package/clients/community-package.d.cts +6 -0
- package/clients/community-package.d.ts +6 -0
- package/clients/community-package.js +12 -0
- package/clients/credential.cjs +10 -0
- package/clients/credential.d.cts +6 -0
- package/clients/credential.d.ts +6 -0
- package/clients/credential.js +10 -0
- package/clients/data-table.cjs +10 -0
- package/clients/data-table.d.cts +6 -0
- package/clients/data-table.d.ts +6 -0
- package/clients/data-table.js +10 -0
- package/clients/discover.cjs +8 -0
- package/clients/discover.d.cts +10 -0
- package/clients/discover.d.ts +10 -0
- package/clients/discover.js +8 -0
- package/clients/execution.cjs +10 -0
- package/clients/execution.d.cts +6 -0
- package/clients/execution.d.ts +6 -0
- package/clients/execution.js +10 -0
- package/clients/folder.cjs +10 -0
- package/clients/folder.d.cts +6 -0
- package/clients/folder.d.ts +6 -0
- package/clients/folder.js +10 -0
- package/clients/insights.cjs +8 -0
- package/clients/insights.d.cts +10 -0
- package/clients/insights.d.ts +10 -0
- package/clients/insights.js +8 -0
- package/clients/n8n-package.cjs +8 -0
- package/clients/n8n-package.d.cts +11 -0
- package/clients/n8n-package.d.ts +11 -0
- package/clients/n8n-package.js +8 -0
- package/clients/project.cjs +22 -0
- package/clients/project.d.cts +11 -0
- package/clients/project.d.ts +11 -0
- package/clients/project.js +22 -0
- package/clients/source-control.cjs +8 -0
- package/clients/source-control.d.cts +10 -0
- package/clients/source-control.d.ts +10 -0
- package/clients/source-control.js +8 -0
- package/clients/tag.cjs +10 -0
- package/clients/tag.d.cts +6 -0
- package/clients/tag.d.ts +6 -0
- package/clients/tag.js +10 -0
- package/clients/user.cjs +10 -0
- package/clients/user.d.cts +6 -0
- package/clients/user.d.ts +6 -0
- package/clients/user.js +10 -0
- package/clients/variable.cjs +12 -0
- package/clients/variable.d.cts +6 -0
- package/clients/variable.d.ts +6 -0
- package/clients/variable.js +12 -0
- package/clients/workflow.cjs +14 -0
- package/clients/workflow.d.cts +7 -0
- package/clients/workflow.d.ts +7 -0
- package/clients/workflow.js +14 -0
- package/community-package-CyzAqqwH.d.ts +26 -0
- package/community-package-DBpReCPV.d.cts +26 -0
- package/credential-BWcrGfqd.d.ts +34 -0
- package/credential-CEH7XbGn.d.cts +34 -0
- package/data-table-CHGUClGF.d.ts +60 -0
- package/data-table-CzR5kl9T.d.cts +60 -0
- package/execution-BjR6z5Vu.d.ts +33 -0
- package/execution-C0c9utwa.d.cts +33 -0
- package/folder-DvgIxSea.d.cts +31 -0
- package/folder-bjRPcy2j.d.ts +31 -0
- package/http-client.cjs +2 -2
- package/http-client.d.cts +6 -18
- package/http-client.d.ts +6 -18
- package/http-client.js +1 -1
- package/index.cjs +86 -44
- package/index.d.cts +48 -46
- package/index.d.ts +48 -46
- package/index.js +100 -58
- package/package.json +16 -16
- package/project-BS1fXSLW.d.cts +94 -0
- package/project-uws9k24H.d.ts +94 -0
- package/resources/base.cjs +7 -0
- package/resources/base.d.cts +11 -0
- package/resources/base.d.ts +11 -0
- package/resources/base.js +7 -0
- package/resources/community-package.cjs +8 -0
- package/resources/community-package.d.cts +6 -0
- package/resources/community-package.d.ts +6 -0
- package/resources/community-package.js +8 -0
- package/resources/credential.cjs +8 -0
- package/resources/credential.d.cts +6 -0
- package/resources/credential.d.ts +6 -0
- package/resources/credential.js +8 -0
- package/resources/data-table.cjs +8 -0
- package/resources/data-table.d.cts +6 -0
- package/resources/data-table.d.ts +6 -0
- package/resources/data-table.js +8 -0
- package/resources/execution.cjs +8 -0
- package/resources/execution.d.cts +6 -0
- package/resources/execution.d.ts +6 -0
- package/resources/execution.js +8 -0
- package/resources/folder.cjs +8 -0
- package/resources/folder.d.cts +6 -0
- package/resources/folder.d.ts +6 -0
- package/resources/folder.js +8 -0
- package/resources/project.cjs +11 -0
- package/resources/project.d.cts +11 -0
- package/resources/project.d.ts +11 -0
- package/resources/project.js +11 -0
- package/resources/tag.cjs +8 -0
- package/resources/tag.d.cts +6 -0
- package/resources/tag.d.ts +6 -0
- package/resources/tag.js +8 -0
- package/resources/user.cjs +8 -0
- package/resources/user.d.cts +6 -0
- package/resources/user.d.ts +6 -0
- package/resources/user.js +8 -0
- package/resources/variable.cjs +8 -0
- package/resources/variable.d.cts +6 -0
- package/resources/variable.d.ts +6 -0
- package/resources/variable.js +8 -0
- package/resources/workflow.cjs +10 -0
- package/resources/workflow.d.cts +7 -0
- package/resources/workflow.d.ts +7 -0
- package/resources/workflow.js +10 -0
- package/tag-CzazpR40.d.cts +27 -0
- package/tag-lmf8obZe.d.ts +27 -0
- package/types.d.cts +201 -55
- package/types.d.ts +201 -55
- package/user-B0WdVahA.d.ts +27 -0
- package/user-CBa2VjYj.d.cts +27 -0
- package/variable-C2LmlaTx.d.ts +29 -0
- package/variable-CuCiwy0G.d.cts +29 -0
- package/workflow-8pMj_fR_.d.ts +56 -0
- package/workflow-B2nxUmWq.d.cts +56 -0
- package/chunk-3SBD4UJS.js +0 -15
- package/chunk-4AODYIOB.cjs +0 -36
- package/chunk-4FXZT5HT.js +0 -27
- package/chunk-5FIB7YIT.js +0 -24
- package/chunk-5PHEDSSO.cjs +0 -27
- package/chunk-5SY4KM4Q.js +0 -15
- package/chunk-BWLFUF76.js +0 -36
- package/chunk-CES6KIG5.cjs +0 -36
- package/chunk-DJCG37LZ.js +0 -32
- package/chunk-FHAZIAHR.js +0 -15
- package/chunk-FZX275Y3.js +0 -24
- package/chunk-JR7A75YV.js +0 -15
- package/chunk-M7GX3MEN.cjs +0 -15
- package/chunk-NAZ5MLBL.cjs +0 -32
- package/chunk-NM6A7DX4.cjs +0 -15
- package/chunk-NSCKTOQK.cjs +0 -15
- package/chunk-OOMGKLOT.cjs +0 -24
- package/chunk-QLAAM7TG.cjs +0 -27
- package/chunk-QYAIEIF5.js +0 -36
- package/chunk-RATHO5IW.cjs +0 -15
- package/chunk-SK4VCTMD.js +0 -27
- package/chunk-U7PGEXKS.cjs +0 -36
- package/chunk-ZAZJHB3O.cjs +0 -24
- package/chunk-ZEQL5KU2.js +0 -36
- package/handles/audit.cjs +0 -7
- package/handles/audit.d.cts +0 -11
- package/handles/audit.d.ts +0 -11
- package/handles/audit.js +0 -7
- package/handles/community-package.cjs +0 -7
- package/handles/community-package.d.cts +0 -17
- package/handles/community-package.d.ts +0 -17
- package/handles/community-package.js +0 -7
- package/handles/credential.cjs +0 -7
- package/handles/credential.d.cts +0 -18
- package/handles/credential.d.ts +0 -18
- package/handles/credential.js +0 -7
- package/handles/data-table.cjs +0 -7
- package/handles/data-table.d.cts +0 -38
- package/handles/data-table.d.ts +0 -38
- package/handles/data-table.js +0 -7
- package/handles/discover.cjs +0 -7
- package/handles/discover.d.cts +0 -15
- package/handles/discover.d.ts +0 -15
- package/handles/discover.js +0 -7
- package/handles/execution.cjs +0 -7
- package/handles/execution.d.cts +0 -29
- package/handles/execution.d.ts +0 -29
- package/handles/execution.js +0 -7
- package/handles/folder.cjs +0 -7
- package/handles/folder.d.cts +0 -23
- package/handles/folder.d.ts +0 -23
- package/handles/folder.js +0 -7
- package/handles/insights.cjs +0 -7
- package/handles/insights.d.cts +0 -15
- package/handles/insights.d.ts +0 -15
- package/handles/insights.js +0 -7
- package/handles/n8n-package.cjs +0 -7
- package/handles/n8n-package.d.cts +0 -18
- package/handles/n8n-package.d.ts +0 -18
- package/handles/n8n-package.js +0 -7
- package/handles/project.cjs +0 -7
- package/handles/project.d.cts +0 -25
- package/handles/project.d.ts +0 -25
- package/handles/project.js +0 -7
- package/handles/source-control.cjs +0 -7
- package/handles/source-control.d.cts +0 -11
- package/handles/source-control.d.ts +0 -11
- package/handles/source-control.js +0 -7
- package/handles/tag.cjs +0 -7
- package/handles/tag.d.cts +0 -19
- package/handles/tag.d.ts +0 -19
- package/handles/tag.js +0 -7
- package/handles/user.cjs +0 -7
- package/handles/user.d.cts +0 -21
- package/handles/user.d.ts +0 -21
- package/handles/user.js +0 -7
- package/handles/variable.cjs +0 -7
- package/handles/variable.d.cts +0 -17
- package/handles/variable.d.ts +0 -17
- package/handles/variable.js +0 -7
- package/handles/workflow.cjs +0 -7
- package/handles/workflow.d.cts +0 -35
- package/handles/workflow.d.ts +0 -35
- package/handles/workflow.js +0 -7
package/chunk-ZEQL5KU2.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
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
|
package/handles/audit.cjs
DELETED
package/handles/audit.d.cts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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 };
|
package/handles/audit.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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 };
|
package/handles/audit.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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 };
|
|
@@ -1,17 +0,0 @@
|
|
|
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 };
|
package/handles/credential.cjs
DELETED
package/handles/credential.d.cts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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 };
|
package/handles/credential.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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 };
|
package/handles/credential.js
DELETED
package/handles/data-table.cjs
DELETED
package/handles/data-table.d.cts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.cjs';
|
|
2
|
-
import { DataTableListResponse, DataTable, CreateDataTableRequest, UpdateDataTableRequest, DataTableRowListResponse, InsertRowsCountRequest, InsertRowsIdsRequest, InsertRowsAllRequest, DataTableRow, UpdateRowsBooleanRequest, UpdateRowsDataRequest, UpsertRowBooleanRequest, UpsertRowDataRequest, DeleteRowsBooleanParams, DeleteRowsDataParams, DataTableColumn, CreateColumnRequest, UpdateColumnRequest } from '../types.cjs';
|
|
3
|
-
import { PaginationParams } from '../pagination.cjs';
|
|
4
|
-
|
|
5
|
-
declare class DataTableHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
list(params?: PaginationParams & {
|
|
9
|
-
filter?: string;
|
|
10
|
-
sortBy?: string;
|
|
11
|
-
}): Promise<DataTableListResponse>;
|
|
12
|
-
get(id: string): Promise<DataTable>;
|
|
13
|
-
create(data: CreateDataTableRequest): Promise<DataTable>;
|
|
14
|
-
update(id: string, data: UpdateDataTableRequest): Promise<DataTable>;
|
|
15
|
-
delete(id: string): Promise<void>;
|
|
16
|
-
listRows(dataTableId: string, params?: PaginationParams & {
|
|
17
|
-
filter?: string;
|
|
18
|
-
sortBy?: string;
|
|
19
|
-
search?: string;
|
|
20
|
-
}): Promise<DataTableRowListResponse>;
|
|
21
|
-
insertRows(dataTableId: string, data: InsertRowsCountRequest): Promise<{
|
|
22
|
-
count: number;
|
|
23
|
-
}>;
|
|
24
|
-
insertRows(dataTableId: string, data: InsertRowsIdsRequest): Promise<number[]>;
|
|
25
|
-
insertRows(dataTableId: string, data: InsertRowsAllRequest): Promise<DataTableRow[]>;
|
|
26
|
-
updateRows(dataTableId: string, data: UpdateRowsBooleanRequest): Promise<boolean>;
|
|
27
|
-
updateRows(dataTableId: string, data: UpdateRowsDataRequest): Promise<DataTableRow[]>;
|
|
28
|
-
upsertRow(dataTableId: string, data: UpsertRowBooleanRequest): Promise<boolean>;
|
|
29
|
-
upsertRow(dataTableId: string, data: UpsertRowDataRequest): Promise<DataTableRow>;
|
|
30
|
-
deleteRows(dataTableId: string, params: DeleteRowsBooleanParams): Promise<boolean>;
|
|
31
|
-
deleteRows(dataTableId: string, params: DeleteRowsDataParams): Promise<DataTableRow[]>;
|
|
32
|
-
listColumns(dataTableId: string): Promise<DataTableColumn[]>;
|
|
33
|
-
createColumn(dataTableId: string, data: CreateColumnRequest): Promise<DataTableColumn>;
|
|
34
|
-
deleteColumn(dataTableId: string, columnId: string): Promise<void>;
|
|
35
|
-
updateColumn(dataTableId: string, columnId: string, data: UpdateColumnRequest): Promise<DataTableColumn>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export { DataTableHandle as default };
|
package/handles/data-table.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.js';
|
|
2
|
-
import { DataTableListResponse, DataTable, CreateDataTableRequest, UpdateDataTableRequest, DataTableRowListResponse, InsertRowsCountRequest, InsertRowsIdsRequest, InsertRowsAllRequest, DataTableRow, UpdateRowsBooleanRequest, UpdateRowsDataRequest, UpsertRowBooleanRequest, UpsertRowDataRequest, DeleteRowsBooleanParams, DeleteRowsDataParams, DataTableColumn, CreateColumnRequest, UpdateColumnRequest } from '../types.js';
|
|
3
|
-
import { PaginationParams } from '../pagination.js';
|
|
4
|
-
|
|
5
|
-
declare class DataTableHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
list(params?: PaginationParams & {
|
|
9
|
-
filter?: string;
|
|
10
|
-
sortBy?: string;
|
|
11
|
-
}): Promise<DataTableListResponse>;
|
|
12
|
-
get(id: string): Promise<DataTable>;
|
|
13
|
-
create(data: CreateDataTableRequest): Promise<DataTable>;
|
|
14
|
-
update(id: string, data: UpdateDataTableRequest): Promise<DataTable>;
|
|
15
|
-
delete(id: string): Promise<void>;
|
|
16
|
-
listRows(dataTableId: string, params?: PaginationParams & {
|
|
17
|
-
filter?: string;
|
|
18
|
-
sortBy?: string;
|
|
19
|
-
search?: string;
|
|
20
|
-
}): Promise<DataTableRowListResponse>;
|
|
21
|
-
insertRows(dataTableId: string, data: InsertRowsCountRequest): Promise<{
|
|
22
|
-
count: number;
|
|
23
|
-
}>;
|
|
24
|
-
insertRows(dataTableId: string, data: InsertRowsIdsRequest): Promise<number[]>;
|
|
25
|
-
insertRows(dataTableId: string, data: InsertRowsAllRequest): Promise<DataTableRow[]>;
|
|
26
|
-
updateRows(dataTableId: string, data: UpdateRowsBooleanRequest): Promise<boolean>;
|
|
27
|
-
updateRows(dataTableId: string, data: UpdateRowsDataRequest): Promise<DataTableRow[]>;
|
|
28
|
-
upsertRow(dataTableId: string, data: UpsertRowBooleanRequest): Promise<boolean>;
|
|
29
|
-
upsertRow(dataTableId: string, data: UpsertRowDataRequest): Promise<DataTableRow>;
|
|
30
|
-
deleteRows(dataTableId: string, params: DeleteRowsBooleanParams): Promise<boolean>;
|
|
31
|
-
deleteRows(dataTableId: string, params: DeleteRowsDataParams): Promise<DataTableRow[]>;
|
|
32
|
-
listColumns(dataTableId: string): Promise<DataTableColumn[]>;
|
|
33
|
-
createColumn(dataTableId: string, data: CreateColumnRequest): Promise<DataTableColumn>;
|
|
34
|
-
deleteColumn(dataTableId: string, columnId: string): Promise<void>;
|
|
35
|
-
updateColumn(dataTableId: string, columnId: string, data: UpdateColumnRequest): Promise<DataTableColumn>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export { DataTableHandle as default };
|
package/handles/data-table.js
DELETED
package/handles/discover.cjs
DELETED
package/handles/discover.d.cts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.cjs';
|
|
2
|
-
import { DiscoverResponse } from '../types.cjs';
|
|
3
|
-
import '../pagination.cjs';
|
|
4
|
-
|
|
5
|
-
declare class DiscoverHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
get(params?: {
|
|
9
|
-
include?: 'schemas';
|
|
10
|
-
resource?: string;
|
|
11
|
-
operation?: string;
|
|
12
|
-
}): Promise<DiscoverResponse>;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { DiscoverHandle as default };
|
package/handles/discover.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.js';
|
|
2
|
-
import { DiscoverResponse } from '../types.js';
|
|
3
|
-
import '../pagination.js';
|
|
4
|
-
|
|
5
|
-
declare class DiscoverHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
get(params?: {
|
|
9
|
-
include?: 'schemas';
|
|
10
|
-
resource?: string;
|
|
11
|
-
operation?: string;
|
|
12
|
-
}): Promise<DiscoverResponse>;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { DiscoverHandle as default };
|
package/handles/discover.js
DELETED
package/handles/execution.cjs
DELETED
package/handles/execution.d.cts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.cjs';
|
|
2
|
-
import { ExecutionStatus, ExecutionListResponse, Execution, StopManyExecutionsRequest, StopManyExecutionsResponse, Tag, TagId } from '../types.cjs';
|
|
3
|
-
import { PaginationParams } from '../pagination.cjs';
|
|
4
|
-
|
|
5
|
-
declare class ExecutionHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
list(params?: PaginationParams & {
|
|
9
|
-
includeData?: boolean;
|
|
10
|
-
redactExecutionData?: boolean;
|
|
11
|
-
status?: ExecutionStatus;
|
|
12
|
-
workflowId?: string;
|
|
13
|
-
projectId?: string;
|
|
14
|
-
}): Promise<ExecutionListResponse>;
|
|
15
|
-
get(id: number, params?: {
|
|
16
|
-
includeData?: boolean;
|
|
17
|
-
redactExecutionData?: boolean;
|
|
18
|
-
}): Promise<Execution>;
|
|
19
|
-
delete(id: number): Promise<Execution>;
|
|
20
|
-
retry(id: number, data?: {
|
|
21
|
-
loadWorkflow?: boolean;
|
|
22
|
-
}): Promise<Execution>;
|
|
23
|
-
stop(id: number): Promise<Execution>;
|
|
24
|
-
stopMany(data: StopManyExecutionsRequest): Promise<StopManyExecutionsResponse>;
|
|
25
|
-
getTags(id: number): Promise<Tag[]>;
|
|
26
|
-
updateTags(id: number, tags: TagId[]): Promise<Tag[]>;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { ExecutionHandle as default };
|
package/handles/execution.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.js';
|
|
2
|
-
import { ExecutionStatus, ExecutionListResponse, Execution, StopManyExecutionsRequest, StopManyExecutionsResponse, Tag, TagId } from '../types.js';
|
|
3
|
-
import { PaginationParams } from '../pagination.js';
|
|
4
|
-
|
|
5
|
-
declare class ExecutionHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
list(params?: PaginationParams & {
|
|
9
|
-
includeData?: boolean;
|
|
10
|
-
redactExecutionData?: boolean;
|
|
11
|
-
status?: ExecutionStatus;
|
|
12
|
-
workflowId?: string;
|
|
13
|
-
projectId?: string;
|
|
14
|
-
}): Promise<ExecutionListResponse>;
|
|
15
|
-
get(id: number, params?: {
|
|
16
|
-
includeData?: boolean;
|
|
17
|
-
redactExecutionData?: boolean;
|
|
18
|
-
}): Promise<Execution>;
|
|
19
|
-
delete(id: number): Promise<Execution>;
|
|
20
|
-
retry(id: number, data?: {
|
|
21
|
-
loadWorkflow?: boolean;
|
|
22
|
-
}): Promise<Execution>;
|
|
23
|
-
stop(id: number): Promise<Execution>;
|
|
24
|
-
stopMany(data: StopManyExecutionsRequest): Promise<StopManyExecutionsResponse>;
|
|
25
|
-
getTags(id: number): Promise<Tag[]>;
|
|
26
|
-
updateTags(id: number, tags: TagId[]): Promise<Tag[]>;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { ExecutionHandle as default };
|
package/handles/execution.js
DELETED
package/handles/folder.cjs
DELETED
package/handles/folder.d.cts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.cjs';
|
|
2
|
-
import { FolderListResponse, FolderDetail, FolderCreate, Folder, FolderUpdate } from '../types.cjs';
|
|
3
|
-
import { PaginationParams } from '../pagination.cjs';
|
|
4
|
-
|
|
5
|
-
interface FolderListParams extends PaginationParams {
|
|
6
|
-
filter?: string;
|
|
7
|
-
select?: string;
|
|
8
|
-
sortBy?: 'name:asc' | 'name:desc' | 'createdAt:asc' | 'createdAt:desc' | 'updatedAt:asc' | 'updatedAt:desc';
|
|
9
|
-
skip?: string;
|
|
10
|
-
take?: string;
|
|
11
|
-
}
|
|
12
|
-
declare class FolderHandle {
|
|
13
|
-
protected http: HttpClient;
|
|
14
|
-
protected projectId: string;
|
|
15
|
-
constructor(http: HttpClient, projectId: string);
|
|
16
|
-
list(params?: FolderListParams): Promise<FolderListResponse>;
|
|
17
|
-
get(folderId: string): Promise<FolderDetail>;
|
|
18
|
-
create(data: FolderCreate): Promise<Folder>;
|
|
19
|
-
update(folderId: string, data: FolderUpdate): Promise<Folder>;
|
|
20
|
-
delete(folderId: string, transferToFolderId?: string): Promise<void>;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export { type FolderListParams, FolderHandle as default };
|
package/handles/folder.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.js';
|
|
2
|
-
import { FolderListResponse, FolderDetail, FolderCreate, Folder, FolderUpdate } from '../types.js';
|
|
3
|
-
import { PaginationParams } from '../pagination.js';
|
|
4
|
-
|
|
5
|
-
interface FolderListParams extends PaginationParams {
|
|
6
|
-
filter?: string;
|
|
7
|
-
select?: string;
|
|
8
|
-
sortBy?: 'name:asc' | 'name:desc' | 'createdAt:asc' | 'createdAt:desc' | 'updatedAt:asc' | 'updatedAt:desc';
|
|
9
|
-
skip?: string;
|
|
10
|
-
take?: string;
|
|
11
|
-
}
|
|
12
|
-
declare class FolderHandle {
|
|
13
|
-
protected http: HttpClient;
|
|
14
|
-
protected projectId: string;
|
|
15
|
-
constructor(http: HttpClient, projectId: string);
|
|
16
|
-
list(params?: FolderListParams): Promise<FolderListResponse>;
|
|
17
|
-
get(folderId: string): Promise<FolderDetail>;
|
|
18
|
-
create(data: FolderCreate): Promise<Folder>;
|
|
19
|
-
update(folderId: string, data: FolderUpdate): Promise<Folder>;
|
|
20
|
-
delete(folderId: string, transferToFolderId?: string): Promise<void>;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export { type FolderListParams, FolderHandle as default };
|
package/handles/folder.js
DELETED
package/handles/insights.cjs
DELETED
package/handles/insights.d.cts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.cjs';
|
|
2
|
-
import { InsightsSummary } from '../types.cjs';
|
|
3
|
-
import '../pagination.cjs';
|
|
4
|
-
|
|
5
|
-
declare class InsightsHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
getSummary(params?: {
|
|
9
|
-
startDate?: string;
|
|
10
|
-
endDate?: string;
|
|
11
|
-
projectId?: string;
|
|
12
|
-
}): Promise<InsightsSummary>;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { InsightsHandle as default };
|
package/handles/insights.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.js';
|
|
2
|
-
import { InsightsSummary } from '../types.js';
|
|
3
|
-
import '../pagination.js';
|
|
4
|
-
|
|
5
|
-
declare class InsightsHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
getSummary(params?: {
|
|
9
|
-
startDate?: string;
|
|
10
|
-
endDate?: string;
|
|
11
|
-
projectId?: string;
|
|
12
|
-
}): Promise<InsightsSummary>;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { InsightsHandle as default };
|
package/handles/insights.js
DELETED
package/handles/n8n-package.cjs
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.cjs';
|
|
2
|
-
import { ExportWorkflowsRequest, ImportPackageResponse } from '../types.cjs';
|
|
3
|
-
import '../pagination.cjs';
|
|
4
|
-
|
|
5
|
-
declare class N8nPackageHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
exportWorkflows(data: ExportWorkflowsRequest): Promise<ArrayBuffer>;
|
|
9
|
-
importPackage(pkg: File | Blob, options: {
|
|
10
|
-
projectId?: string;
|
|
11
|
-
folderId?: string;
|
|
12
|
-
credentialMatchingMode?: 'id-only';
|
|
13
|
-
credentialMissingMode?: 'must-preexist';
|
|
14
|
-
workflowConflictPolicy: 'new-version' | 'fail' | 'skip';
|
|
15
|
-
}): Promise<ImportPackageResponse>;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export { N8nPackageHandle as default };
|
package/handles/n8n-package.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.js';
|
|
2
|
-
import { ExportWorkflowsRequest, ImportPackageResponse } from '../types.js';
|
|
3
|
-
import '../pagination.js';
|
|
4
|
-
|
|
5
|
-
declare class N8nPackageHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
exportWorkflows(data: ExportWorkflowsRequest): Promise<ArrayBuffer>;
|
|
9
|
-
importPackage(pkg: File | Blob, options: {
|
|
10
|
-
projectId?: string;
|
|
11
|
-
folderId?: string;
|
|
12
|
-
credentialMatchingMode?: 'id-only';
|
|
13
|
-
credentialMissingMode?: 'must-preexist';
|
|
14
|
-
workflowConflictPolicy: 'new-version' | 'fail' | 'skip';
|
|
15
|
-
}): Promise<ImportPackageResponse>;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export { N8nPackageHandle as default };
|
package/handles/n8n-package.js
DELETED
package/handles/project.cjs
DELETED
package/handles/project.d.cts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.cjs';
|
|
2
|
-
import { ProjectListResponse, ProjectMemberListResponse } from '../types.cjs';
|
|
3
|
-
import { PaginationParams } from '../pagination.cjs';
|
|
4
|
-
|
|
5
|
-
declare class ProjectHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
list(params?: PaginationParams): Promise<ProjectListResponse>;
|
|
9
|
-
create(data: {
|
|
10
|
-
name: string;
|
|
11
|
-
}): Promise<void>;
|
|
12
|
-
update(id: string, data: {
|
|
13
|
-
name: string;
|
|
14
|
-
}): Promise<void>;
|
|
15
|
-
delete(id: string): Promise<void>;
|
|
16
|
-
listMembers(projectId: string, params?: PaginationParams): Promise<ProjectMemberListResponse>;
|
|
17
|
-
addMembers(projectId: string, relations: Array<{
|
|
18
|
-
userId: string;
|
|
19
|
-
role: string;
|
|
20
|
-
}>): Promise<void>;
|
|
21
|
-
removeMember(projectId: string, userId: string): Promise<void>;
|
|
22
|
-
changeMemberRole(projectId: string, userId: string, role: string): Promise<void>;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { ProjectHandle as default };
|
package/handles/project.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../http-client.js';
|
|
2
|
-
import { ProjectListResponse, ProjectMemberListResponse } from '../types.js';
|
|
3
|
-
import { PaginationParams } from '../pagination.js';
|
|
4
|
-
|
|
5
|
-
declare class ProjectHandle {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
list(params?: PaginationParams): Promise<ProjectListResponse>;
|
|
9
|
-
create(data: {
|
|
10
|
-
name: string;
|
|
11
|
-
}): Promise<void>;
|
|
12
|
-
update(id: string, data: {
|
|
13
|
-
name: string;
|
|
14
|
-
}): Promise<void>;
|
|
15
|
-
delete(id: string): Promise<void>;
|
|
16
|
-
listMembers(projectId: string, params?: PaginationParams): Promise<ProjectMemberListResponse>;
|
|
17
|
-
addMembers(projectId: string, relations: Array<{
|
|
18
|
-
userId: string;
|
|
19
|
-
role: string;
|
|
20
|
-
}>): Promise<void>;
|
|
21
|
-
removeMember(projectId: string, userId: string): Promise<void>;
|
|
22
|
-
changeMemberRole(projectId: string, userId: string, role: string): Promise<void>;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { ProjectHandle as default };
|