@n8n/rest-api-client 2.25.0 → 2.26.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/dist/api-keys.cjs.map +1 -1
- package/dist/api-keys.d.cts +4 -1
- package/dist/api-keys.d.mts +4 -1
- package/dist/api-keys.mjs.map +1 -1
- package/dist/roleMappingRule.cjs +12 -2
- package/dist/roleMappingRule.cjs.map +1 -1
- package/dist/roleMappingRule.mjs +12 -2
- package/dist/roleMappingRule.mjs.map +1 -1
- package/package.json +13 -11
package/dist/api-keys.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.cjs","names":["makeRestApiRequest"],"sources":["../src/api/api-keys.ts"],"sourcesContent":["import type {\n\tCreateApiKeyRequestDto,\n\tUpdateApiKeyRequestDto,\n\tApiKeyList,\n\tApiKeyWithRawValue,\n} from '@n8n/api-types';\nimport type { ApiKeyScope } from '@n8n/permissions';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport async function getApiKeys(\n\tcontext: IRestApiContext,\n\toptions: {
|
|
1
|
+
{"version":3,"file":"api-keys.cjs","names":["makeRestApiRequest"],"sources":["../src/api/api-keys.ts"],"sourcesContent":["import type {\n\tApiKeyOwnership,\n\tCreateApiKeyRequestDto,\n\tUpdateApiKeyRequestDto,\n\tApiKeyList,\n\tApiKeyWithRawValue,\n} from '@n8n/api-types';\nimport type { ApiKeyScope } from '@n8n/permissions';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport async function getApiKeys(\n\tcontext: IRestApiContext,\n\toptions: {\n\t\ttake?: number;\n\t\tskip?: number;\n\t\townership?: ApiKeyOwnership;\n\t\tlabel?: string;\n\t\tsortBy?: string;\n\t} = {},\n): Promise<ApiKeyList> {\n\treturn await makeRestApiRequest(context, 'GET', '/api-keys', options);\n}\n\nexport async function getApiKeyScopes(context: IRestApiContext): Promise<ApiKeyScope[]> {\n\treturn await makeRestApiRequest(context, 'GET', '/api-keys/scopes');\n}\n\nexport async function createApiKey(\n\tcontext: IRestApiContext,\n\tpayload: CreateApiKeyRequestDto,\n): Promise<ApiKeyWithRawValue> {\n\treturn await makeRestApiRequest(context, 'POST', '/api-keys', payload);\n}\n\nexport async function deleteApiKey(\n\tcontext: IRestApiContext,\n\tid: string,\n): Promise<{ success: boolean }> {\n\treturn await makeRestApiRequest(context, 'DELETE', `/api-keys/${id}`);\n}\n\nexport async function updateApiKey(\n\tcontext: IRestApiContext,\n\tid: string,\n\tpayload: UpdateApiKeyRequestDto,\n): Promise<{ success: boolean }> {\n\treturn await makeRestApiRequest(context, 'PATCH', `/api-keys/${id}`, payload);\n}\n"],"mappings":";;;AAYA,eAAsB,WACrB,SACA,UAMI,EAAE,EACgB;AACtB,QAAO,MAAMA,iCAAmB,SAAS,OAAO,aAAa,QAAQ;;AAGtE,eAAsB,gBAAgB,SAAkD;AACvF,QAAO,MAAMA,iCAAmB,SAAS,OAAO,mBAAmB;;AAGpE,eAAsB,aACrB,SACA,SAC8B;AAC9B,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,aAAa,QAAQ;;AAGvE,eAAsB,aACrB,SACA,IACgC;AAChC,QAAO,MAAMA,iCAAmB,SAAS,UAAU,aAAa,KAAK;;AAGtE,eAAsB,aACrB,SACA,IACA,SACgC;AAChC,QAAO,MAAMA,iCAAmB,SAAS,SAAS,aAAa,MAAM,QAAQ"}
|
package/dist/api-keys.d.cts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { t as IRestApiContext } from "./types2.cjs";
|
|
2
|
-
import { ApiKeyList, ApiKeyWithRawValue, CreateApiKeyRequestDto, UpdateApiKeyRequestDto } from "@n8n/api-types";
|
|
2
|
+
import { ApiKeyList, ApiKeyOwnership, ApiKeyWithRawValue, CreateApiKeyRequestDto, UpdateApiKeyRequestDto } from "@n8n/api-types";
|
|
3
3
|
import { ApiKeyScope } from "@n8n/permissions";
|
|
4
4
|
|
|
5
5
|
//#region src/api/api-keys.d.ts
|
|
6
6
|
declare function getApiKeys(context: IRestApiContext, options?: {
|
|
7
7
|
take?: number;
|
|
8
8
|
skip?: number;
|
|
9
|
+
ownership?: ApiKeyOwnership;
|
|
10
|
+
label?: string;
|
|
11
|
+
sortBy?: string;
|
|
9
12
|
}): Promise<ApiKeyList>;
|
|
10
13
|
declare function getApiKeyScopes(context: IRestApiContext): Promise<ApiKeyScope[]>;
|
|
11
14
|
declare function createApiKey(context: IRestApiContext, payload: CreateApiKeyRequestDto): Promise<ApiKeyWithRawValue>;
|
package/dist/api-keys.d.mts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { t as IRestApiContext } from "./types2.mjs";
|
|
2
|
-
import { ApiKeyList, ApiKeyWithRawValue, CreateApiKeyRequestDto, UpdateApiKeyRequestDto } from "@n8n/api-types";
|
|
2
|
+
import { ApiKeyList, ApiKeyOwnership, ApiKeyWithRawValue, CreateApiKeyRequestDto, UpdateApiKeyRequestDto } from "@n8n/api-types";
|
|
3
3
|
import { ApiKeyScope } from "@n8n/permissions";
|
|
4
4
|
|
|
5
5
|
//#region src/api/api-keys.d.ts
|
|
6
6
|
declare function getApiKeys(context: IRestApiContext, options?: {
|
|
7
7
|
take?: number;
|
|
8
8
|
skip?: number;
|
|
9
|
+
ownership?: ApiKeyOwnership;
|
|
10
|
+
label?: string;
|
|
11
|
+
sortBy?: string;
|
|
9
12
|
}): Promise<ApiKeyList>;
|
|
10
13
|
declare function getApiKeyScopes(context: IRestApiContext): Promise<ApiKeyScope[]>;
|
|
11
14
|
declare function createApiKey(context: IRestApiContext, payload: CreateApiKeyRequestDto): Promise<ApiKeyWithRawValue>;
|
package/dist/api-keys.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.mjs","names":[],"sources":["../src/api/api-keys.ts"],"sourcesContent":["import type {\n\tCreateApiKeyRequestDto,\n\tUpdateApiKeyRequestDto,\n\tApiKeyList,\n\tApiKeyWithRawValue,\n} from '@n8n/api-types';\nimport type { ApiKeyScope } from '@n8n/permissions';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport async function getApiKeys(\n\tcontext: IRestApiContext,\n\toptions: {
|
|
1
|
+
{"version":3,"file":"api-keys.mjs","names":[],"sources":["../src/api/api-keys.ts"],"sourcesContent":["import type {\n\tApiKeyOwnership,\n\tCreateApiKeyRequestDto,\n\tUpdateApiKeyRequestDto,\n\tApiKeyList,\n\tApiKeyWithRawValue,\n} from '@n8n/api-types';\nimport type { ApiKeyScope } from '@n8n/permissions';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport async function getApiKeys(\n\tcontext: IRestApiContext,\n\toptions: {\n\t\ttake?: number;\n\t\tskip?: number;\n\t\townership?: ApiKeyOwnership;\n\t\tlabel?: string;\n\t\tsortBy?: string;\n\t} = {},\n): Promise<ApiKeyList> {\n\treturn await makeRestApiRequest(context, 'GET', '/api-keys', options);\n}\n\nexport async function getApiKeyScopes(context: IRestApiContext): Promise<ApiKeyScope[]> {\n\treturn await makeRestApiRequest(context, 'GET', '/api-keys/scopes');\n}\n\nexport async function createApiKey(\n\tcontext: IRestApiContext,\n\tpayload: CreateApiKeyRequestDto,\n): Promise<ApiKeyWithRawValue> {\n\treturn await makeRestApiRequest(context, 'POST', '/api-keys', payload);\n}\n\nexport async function deleteApiKey(\n\tcontext: IRestApiContext,\n\tid: string,\n): Promise<{ success: boolean }> {\n\treturn await makeRestApiRequest(context, 'DELETE', `/api-keys/${id}`);\n}\n\nexport async function updateApiKey(\n\tcontext: IRestApiContext,\n\tid: string,\n\tpayload: UpdateApiKeyRequestDto,\n): Promise<{ success: boolean }> {\n\treturn await makeRestApiRequest(context, 'PATCH', `/api-keys/${id}`, payload);\n}\n"],"mappings":";;;AAYA,eAAsB,WACrB,SACA,UAMI,EAAE,EACgB;AACtB,QAAO,MAAM,mBAAmB,SAAS,OAAO,aAAa,QAAQ;;AAGtE,eAAsB,gBAAgB,SAAkD;AACvF,QAAO,MAAM,mBAAmB,SAAS,OAAO,mBAAmB;;AAGpE,eAAsB,aACrB,SACA,SAC8B;AAC9B,QAAO,MAAM,mBAAmB,SAAS,QAAQ,aAAa,QAAQ;;AAGvE,eAAsB,aACrB,SACA,IACgC;AAChC,QAAO,MAAM,mBAAmB,SAAS,UAAU,aAAa,KAAK;;AAGtE,eAAsB,aACrB,SACA,IACA,SACgC;AAChC,QAAO,MAAM,mBAAmB,SAAS,SAAS,aAAa,MAAM,QAAQ"}
|
package/dist/roleMappingRule.cjs
CHANGED
|
@@ -2,8 +2,18 @@ const require_utils = require('./utils2.cjs');
|
|
|
2
2
|
|
|
3
3
|
//#region src/api/roleMappingRule.ts
|
|
4
4
|
const listRoleMappingRules = async (context) => {
|
|
5
|
-
const
|
|
6
|
-
|
|
5
|
+
const pageSize = 250;
|
|
6
|
+
const rules = [];
|
|
7
|
+
for (let skip = 0;; skip += pageSize) {
|
|
8
|
+
const response = await require_utils.makeRestApiRequest(context, "GET", "/role-mapping-rule", {
|
|
9
|
+
skip,
|
|
10
|
+
take: pageSize
|
|
11
|
+
});
|
|
12
|
+
if (Array.isArray(response)) return response;
|
|
13
|
+
rules.push(...response.items);
|
|
14
|
+
if (rules.length >= response.count || response.items.length === 0) break;
|
|
15
|
+
}
|
|
16
|
+
return rules;
|
|
7
17
|
};
|
|
8
18
|
const createRoleMappingRule = async (context, input) => {
|
|
9
19
|
return await require_utils.makeRestApiRequest(context, "POST", "/role-mapping-rule", input);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roleMappingRule.cjs","names":["makeRestApiRequest"],"sources":["../src/api/roleMappingRule.ts"],"sourcesContent":["import type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport type RoleMappingRuleType = 'instance' | 'project';\n\nexport type RoleMappingRuleResponse = {\n\tid: string;\n\texpression: string;\n\trole: string;\n\ttype: RoleMappingRuleType;\n\torder: number;\n\tprojectIds: string[];\n\tdescription?: string;\n\tcreatedAt: string;\n\tupdatedAt: string;\n};\n\nexport type CreateRoleMappingRuleInput = {\n\texpression: string;\n\trole: string;\n\ttype: RoleMappingRuleType;\n\torder?: number;\n\tprojectIds?: string[];\n};\n\nexport type PatchRoleMappingRuleInput = {\n\texpression?: string;\n\trole?: string;\n\ttype?: RoleMappingRuleType;\n\torder?: number;\n\tprojectIds?: string[];\n};\n\nexport const listRoleMappingRules = async (\n\tcontext: IRestApiContext,\n): Promise<RoleMappingRuleResponse[]> => {\n\tconst response = await makeRestApiRequest(
|
|
1
|
+
{"version":3,"file":"roleMappingRule.cjs","names":["rules: RoleMappingRuleResponse[]","makeRestApiRequest"],"sources":["../src/api/roleMappingRule.ts"],"sourcesContent":["import type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport type RoleMappingRuleType = 'instance' | 'project';\n\nexport type RoleMappingRuleResponse = {\n\tid: string;\n\texpression: string;\n\trole: string;\n\ttype: RoleMappingRuleType;\n\torder: number;\n\tprojectIds: string[];\n\tdescription?: string;\n\tcreatedAt: string;\n\tupdatedAt: string;\n};\n\nexport type CreateRoleMappingRuleInput = {\n\texpression: string;\n\trole: string;\n\ttype: RoleMappingRuleType;\n\torder?: number;\n\tprojectIds?: string[];\n};\n\nexport type PatchRoleMappingRuleInput = {\n\texpression?: string;\n\trole?: string;\n\ttype?: RoleMappingRuleType;\n\torder?: number;\n\tprojectIds?: string[];\n};\n\ntype RoleMappingRuleListResponse =\n\t| { count: number; items: RoleMappingRuleResponse[] }\n\t| RoleMappingRuleResponse[];\n\n// The list endpoint paginates with a small default page size, so a single\n// request silently drops every rule past the first page. The settings UI needs\n// the complete set to render and save correctly, so walk every page here.\nexport const listRoleMappingRules = async (\n\tcontext: IRestApiContext,\n): Promise<RoleMappingRuleResponse[]> => {\n\tconst pageSize = 250;\n\tconst rules: RoleMappingRuleResponse[] = [];\n\n\tfor (let skip = 0; ; skip += pageSize) {\n\t\tconst response = await makeRestApiRequest<RoleMappingRuleListResponse>(\n\t\t\tcontext,\n\t\t\t'GET',\n\t\t\t'/role-mapping-rule',\n\t\t\t{ skip, take: pageSize },\n\t\t);\n\n\t\tif (Array.isArray(response)) return response;\n\n\t\trules.push(...response.items);\n\n\t\tif (rules.length >= response.count || response.items.length === 0) break;\n\t}\n\n\treturn rules;\n};\n\nexport const createRoleMappingRule = async (\n\tcontext: IRestApiContext,\n\tinput: CreateRoleMappingRuleInput,\n): Promise<RoleMappingRuleResponse> => {\n\treturn await makeRestApiRequest(context, 'POST', '/role-mapping-rule', input);\n};\n\nexport const updateRoleMappingRule = async (\n\tcontext: IRestApiContext,\n\tid: string,\n\tpatch: PatchRoleMappingRuleInput,\n): Promise<RoleMappingRuleResponse> => {\n\treturn await makeRestApiRequest(context, 'PATCH', `/role-mapping-rule/${id}`, patch);\n};\n\nexport const deleteRoleMappingRule = async (\n\tcontext: IRestApiContext,\n\tid: string,\n): Promise<void> => {\n\tawait makeRestApiRequest(context, 'DELETE', `/role-mapping-rule/${id}`);\n};\n\nexport const moveRoleMappingRule = async (\n\tcontext: IRestApiContext,\n\tid: string,\n\ttargetIndex: number,\n): Promise<RoleMappingRuleResponse> => {\n\treturn await makeRestApiRequest(context, 'POST', `/role-mapping-rule/${id}/move`, {\n\t\ttargetIndex,\n\t});\n};\n"],"mappings":";;;AAwCA,MAAa,uBAAuB,OACnC,YACwC;CACxC,MAAM,WAAW;CACjB,MAAMA,QAAmC,EAAE;AAE3C,MAAK,IAAI,OAAO,IAAK,QAAQ,UAAU;EACtC,MAAM,WAAW,MAAMC,iCACtB,SACA,OACA,sBACA;GAAE;GAAM,MAAM;GAAU,CACxB;AAED,MAAI,MAAM,QAAQ,SAAS,CAAE,QAAO;AAEpC,QAAM,KAAK,GAAG,SAAS,MAAM;AAE7B,MAAI,MAAM,UAAU,SAAS,SAAS,SAAS,MAAM,WAAW,EAAG;;AAGpE,QAAO;;AAGR,MAAa,wBAAwB,OACpC,SACA,UACsC;AACtC,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,sBAAsB,MAAM;;AAG9E,MAAa,wBAAwB,OACpC,SACA,IACA,UACsC;AACtC,QAAO,MAAMA,iCAAmB,SAAS,SAAS,sBAAsB,MAAM,MAAM;;AAGrF,MAAa,wBAAwB,OACpC,SACA,OACmB;AACnB,OAAMA,iCAAmB,SAAS,UAAU,sBAAsB,KAAK;;AAGxE,MAAa,sBAAsB,OAClC,SACA,IACA,gBACsC;AACtC,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,sBAAsB,GAAG,QAAQ,EACjF,aACA,CAAC"}
|
package/dist/roleMappingRule.mjs
CHANGED
|
@@ -2,8 +2,18 @@ import { s as makeRestApiRequest } from "./utils2.mjs";
|
|
|
2
2
|
|
|
3
3
|
//#region src/api/roleMappingRule.ts
|
|
4
4
|
const listRoleMappingRules = async (context) => {
|
|
5
|
-
const
|
|
6
|
-
|
|
5
|
+
const pageSize = 250;
|
|
6
|
+
const rules = [];
|
|
7
|
+
for (let skip = 0;; skip += pageSize) {
|
|
8
|
+
const response = await makeRestApiRequest(context, "GET", "/role-mapping-rule", {
|
|
9
|
+
skip,
|
|
10
|
+
take: pageSize
|
|
11
|
+
});
|
|
12
|
+
if (Array.isArray(response)) return response;
|
|
13
|
+
rules.push(...response.items);
|
|
14
|
+
if (rules.length >= response.count || response.items.length === 0) break;
|
|
15
|
+
}
|
|
16
|
+
return rules;
|
|
7
17
|
};
|
|
8
18
|
const createRoleMappingRule = async (context, input) => {
|
|
9
19
|
return await makeRestApiRequest(context, "POST", "/role-mapping-rule", input);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roleMappingRule.mjs","names":[],"sources":["../src/api/roleMappingRule.ts"],"sourcesContent":["import type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport type RoleMappingRuleType = 'instance' | 'project';\n\nexport type RoleMappingRuleResponse = {\n\tid: string;\n\texpression: string;\n\trole: string;\n\ttype: RoleMappingRuleType;\n\torder: number;\n\tprojectIds: string[];\n\tdescription?: string;\n\tcreatedAt: string;\n\tupdatedAt: string;\n};\n\nexport type CreateRoleMappingRuleInput = {\n\texpression: string;\n\trole: string;\n\ttype: RoleMappingRuleType;\n\torder?: number;\n\tprojectIds?: string[];\n};\n\nexport type PatchRoleMappingRuleInput = {\n\texpression?: string;\n\trole?: string;\n\ttype?: RoleMappingRuleType;\n\torder?: number;\n\tprojectIds?: string[];\n};\n\nexport const listRoleMappingRules = async (\n\tcontext: IRestApiContext,\n): Promise<RoleMappingRuleResponse[]> => {\n\tconst response = await makeRestApiRequest(
|
|
1
|
+
{"version":3,"file":"roleMappingRule.mjs","names":["rules: RoleMappingRuleResponse[]"],"sources":["../src/api/roleMappingRule.ts"],"sourcesContent":["import type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport type RoleMappingRuleType = 'instance' | 'project';\n\nexport type RoleMappingRuleResponse = {\n\tid: string;\n\texpression: string;\n\trole: string;\n\ttype: RoleMappingRuleType;\n\torder: number;\n\tprojectIds: string[];\n\tdescription?: string;\n\tcreatedAt: string;\n\tupdatedAt: string;\n};\n\nexport type CreateRoleMappingRuleInput = {\n\texpression: string;\n\trole: string;\n\ttype: RoleMappingRuleType;\n\torder?: number;\n\tprojectIds?: string[];\n};\n\nexport type PatchRoleMappingRuleInput = {\n\texpression?: string;\n\trole?: string;\n\ttype?: RoleMappingRuleType;\n\torder?: number;\n\tprojectIds?: string[];\n};\n\ntype RoleMappingRuleListResponse =\n\t| { count: number; items: RoleMappingRuleResponse[] }\n\t| RoleMappingRuleResponse[];\n\n// The list endpoint paginates with a small default page size, so a single\n// request silently drops every rule past the first page. The settings UI needs\n// the complete set to render and save correctly, so walk every page here.\nexport const listRoleMappingRules = async (\n\tcontext: IRestApiContext,\n): Promise<RoleMappingRuleResponse[]> => {\n\tconst pageSize = 250;\n\tconst rules: RoleMappingRuleResponse[] = [];\n\n\tfor (let skip = 0; ; skip += pageSize) {\n\t\tconst response = await makeRestApiRequest<RoleMappingRuleListResponse>(\n\t\t\tcontext,\n\t\t\t'GET',\n\t\t\t'/role-mapping-rule',\n\t\t\t{ skip, take: pageSize },\n\t\t);\n\n\t\tif (Array.isArray(response)) return response;\n\n\t\trules.push(...response.items);\n\n\t\tif (rules.length >= response.count || response.items.length === 0) break;\n\t}\n\n\treturn rules;\n};\n\nexport const createRoleMappingRule = async (\n\tcontext: IRestApiContext,\n\tinput: CreateRoleMappingRuleInput,\n): Promise<RoleMappingRuleResponse> => {\n\treturn await makeRestApiRequest(context, 'POST', '/role-mapping-rule', input);\n};\n\nexport const updateRoleMappingRule = async (\n\tcontext: IRestApiContext,\n\tid: string,\n\tpatch: PatchRoleMappingRuleInput,\n): Promise<RoleMappingRuleResponse> => {\n\treturn await makeRestApiRequest(context, 'PATCH', `/role-mapping-rule/${id}`, patch);\n};\n\nexport const deleteRoleMappingRule = async (\n\tcontext: IRestApiContext,\n\tid: string,\n): Promise<void> => {\n\tawait makeRestApiRequest(context, 'DELETE', `/role-mapping-rule/${id}`);\n};\n\nexport const moveRoleMappingRule = async (\n\tcontext: IRestApiContext,\n\tid: string,\n\ttargetIndex: number,\n): Promise<RoleMappingRuleResponse> => {\n\treturn await makeRestApiRequest(context, 'POST', `/role-mapping-rule/${id}/move`, {\n\t\ttargetIndex,\n\t});\n};\n"],"mappings":";;;AAwCA,MAAa,uBAAuB,OACnC,YACwC;CACxC,MAAM,WAAW;CACjB,MAAMA,QAAmC,EAAE;AAE3C,MAAK,IAAI,OAAO,IAAK,QAAQ,UAAU;EACtC,MAAM,WAAW,MAAM,mBACtB,SACA,OACA,sBACA;GAAE;GAAM,MAAM;GAAU,CACxB;AAED,MAAI,MAAM,QAAQ,SAAS,CAAE,QAAO;AAEpC,QAAM,KAAK,GAAG,SAAS,MAAM;AAE7B,MAAI,MAAM,UAAU,SAAS,SAAS,SAAS,MAAM,WAAW,EAAG;;AAGpE,QAAO;;AAGR,MAAa,wBAAwB,OACpC,SACA,UACsC;AACtC,QAAO,MAAM,mBAAmB,SAAS,QAAQ,sBAAsB,MAAM;;AAG9E,MAAa,wBAAwB,OACpC,SACA,IACA,UACsC;AACtC,QAAO,MAAM,mBAAmB,SAAS,SAAS,sBAAsB,MAAM,MAAM;;AAGrF,MAAa,wBAAwB,OACpC,SACA,OACmB;AACnB,OAAM,mBAAmB,SAAS,UAAU,sBAAsB,KAAK;;AAGxE,MAAa,sBAAsB,OAClC,SACA,IACA,gBACsC;AACtC,QAAO,MAAM,mBAAmB,SAAS,QAAQ,sBAAsB,GAAG,QAAQ,EACjF,aACA,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/rest-api-client",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.26.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"LICENSE.md",
|
|
8
|
+
"LICENSE_EE.md"
|
|
9
9
|
],
|
|
10
10
|
"main": "./dist/index.cjs",
|
|
11
11
|
"module": "./dist/index.mjs",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"js-base64": "3.7.8",
|
|
27
27
|
"axios": "1.16.1",
|
|
28
28
|
"flatted": "3.4.2",
|
|
29
|
-
"@n8n/api-types": "1.
|
|
30
|
-
"@n8n/
|
|
31
|
-
"@n8n/
|
|
32
|
-
"
|
|
33
|
-
"n8n
|
|
29
|
+
"@n8n/api-types": "1.26.0",
|
|
30
|
+
"@n8n/constants": "0.26.0",
|
|
31
|
+
"@n8n/permissions": "0.63.0",
|
|
32
|
+
"n8n-workflow": "2.26.0",
|
|
33
|
+
"@n8n/utils": "1.34.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"vite": "^8.0.2",
|
|
41
41
|
"vitest": "^4.1.1",
|
|
42
42
|
"@n8n/eslint-config": "0.0.1",
|
|
43
|
-
"@n8n/i18n": "2.
|
|
43
|
+
"@n8n/i18n": "2.26.0",
|
|
44
44
|
"@n8n/playwright-janitor": "0.1.0",
|
|
45
|
-
"@n8n/typescript-config": "1.
|
|
46
|
-
"@n8n/vitest-config": "1.
|
|
45
|
+
"@n8n/typescript-config": "1.5.0",
|
|
46
|
+
"@n8n/vitest-config": "1.14.0"
|
|
47
47
|
},
|
|
48
48
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
49
49
|
"homepage": "https://n8n.io",
|
|
@@ -56,8 +56,10 @@
|
|
|
56
56
|
"url": "git+https://github.com/n8n-io/n8n.git"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
|
+
"clean": "rimraf dist .turbo",
|
|
59
60
|
"dev": "tsdown --watch",
|
|
60
61
|
"build": "tsdown",
|
|
62
|
+
"build:unchecked": "pnpm run build",
|
|
61
63
|
"preview": "vite preview",
|
|
62
64
|
"typecheck": "vue-tsc --noEmit",
|
|
63
65
|
"test": "vitest run",
|