@justbrunasso/n8n-nodes-glpi-v2 1.0.0 → 1.0.2
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/LICENSE +21 -0
- package/dist/credentials/GithubIssuesApi.credentials.js +37 -0
- package/dist/credentials/GithubIssuesApi.credentials.js.map +1 -0
- package/dist/credentials/GithubIssuesOAuth2Api.credentials.js +54 -0
- package/dist/credentials/GithubIssuesOAuth2Api.credentials.js.map +1 -0
- package/dist/nodes/Example/Example.node.js +61 -0
- package/dist/nodes/Example/Example.node.js.map +1 -0
- package/dist/nodes/GithubIssues/GithubIssues.node.js +101 -0
- package/dist/nodes/GithubIssues/GithubIssues.node.js.map +1 -0
- package/dist/nodes/GithubIssues/listSearch/getIssues.js +28 -0
- package/dist/nodes/GithubIssues/listSearch/getIssues.js.map +1 -0
- package/dist/nodes/GithubIssues/listSearch/getRepositories.js +31 -0
- package/dist/nodes/GithubIssues/listSearch/getRepositories.js.map +1 -0
- package/dist/nodes/GithubIssues/listSearch/getUsers.js +29 -0
- package/dist/nodes/GithubIssues/listSearch/getUsers.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issue/create.js +75 -0
- package/dist/nodes/GithubIssues/resources/issue/create.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issue/get.js +15 -0
- package/dist/nodes/GithubIssues/resources/issue/get.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issue/getAll.js +125 -0
- package/dist/nodes/GithubIssues/resources/issue/getAll.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issue/index.js +76 -0
- package/dist/nodes/GithubIssues/resources/issue/index.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issueComment/getAll.js +66 -0
- package/dist/nodes/GithubIssues/resources/issueComment/getAll.js.map +1 -0
- package/dist/nodes/GithubIssues/resources/issueComment/index.js +48 -0
- package/dist/nodes/GithubIssues/resources/issueComment/index.js.map +1 -0
- package/dist/nodes/GithubIssues/shared/descriptions.js +151 -0
- package/dist/nodes/GithubIssues/shared/descriptions.js.map +1 -0
- package/dist/nodes/GithubIssues/shared/transport.js +16 -0
- package/dist/nodes/GithubIssues/shared/transport.js.map +1 -0
- package/dist/nodes/GithubIssues/shared/utils.js +17 -0
- package/dist/nodes/GithubIssues/shared/utils.js.map +1 -0
- package/dist/nodes/GlpiV2/GlpiV2.credentials.js +78 -0
- package/dist/nodes/GlpiV2/GlpiV2.credentials.js.map +1 -0
- package/dist/nodes/GlpiV2/GlpiV2.node.js +55 -0
- package/dist/nodes/GlpiV2/GlpiV2.node.js.map +1 -0
- package/dist/nodes/GlpiV2/resources/computer/create.js +45 -0
- package/dist/nodes/GlpiV2/resources/computer/create.js.map +1 -0
- package/dist/nodes/GlpiV2/resources/computer/delete.js +39 -0
- package/dist/nodes/GlpiV2/resources/computer/delete.js.map +1 -0
- package/dist/nodes/GlpiV2/resources/computer/get.js +39 -0
- package/dist/nodes/GlpiV2/resources/computer/get.js.map +1 -0
- package/dist/nodes/GlpiV2/resources/computer/getAll.js +63 -0
- package/dist/nodes/GlpiV2/resources/computer/getAll.js.map +1 -0
- package/dist/nodes/GlpiV2/resources/computer/index.js +62 -0
- package/dist/nodes/GlpiV2/resources/computer/index.js.map +1 -0
- package/dist/nodes/GlpiV2/resources/computer/update.js +57 -0
- package/dist/nodes/GlpiV2/resources/computer/update.js.map +1 -0
- package/package.json +6 -1
- package/.github/workflows/ci.yml +0 -28
- package/.prettierrc.js +0 -51
- package/.vscode/extensions.json +0 -7
- package/.vscode/launch.json +0 -12
- package/CHANGELOG.md +0 -0
- package/CODE_OF_CONDUCT.md +0 -76
- package/README_TEMPLATE.md +0 -48
- package/api_docs.json +0 -1
- package/credentials/GithubIssuesApi.credentials.ts +0 -45
- package/credentials/GithubIssuesOAuth2Api.credentials.ts +0 -54
- package/eslint.config.mjs +0 -3
- package/icons/github.dark.svg +0 -3
- package/icons/github.svg +0 -3
- package/nodes/Example/Example.node.json +0 -18
- package/nodes/Example/Example.node.ts +0 -78
- package/nodes/Example/example.dark.svg +0 -13
- package/nodes/Example/example.svg +0 -13
- package/nodes/GithubIssues/GithubIssues.node.json +0 -18
- package/nodes/GithubIssues/GithubIssues.node.ts +0 -96
- package/nodes/GithubIssues/listSearch/getIssues.ts +0 -49
- package/nodes/GithubIssues/listSearch/getRepositories.ts +0 -50
- package/nodes/GithubIssues/listSearch/getUsers.ts +0 -49
- package/nodes/GithubIssues/resources/issue/create.ts +0 -74
- package/nodes/GithubIssues/resources/issue/get.ts +0 -14
- package/nodes/GithubIssues/resources/issue/getAll.ts +0 -124
- package/nodes/GithubIssues/resources/issue/index.ts +0 -75
- package/nodes/GithubIssues/resources/issueComment/getAll.ts +0 -65
- package/nodes/GithubIssues/resources/issueComment/index.ts +0 -47
- package/nodes/GithubIssues/shared/descriptions.ts +0 -151
- package/nodes/GithubIssues/shared/transport.ts +0 -32
- package/nodes/GithubIssues/shared/utils.ts +0 -14
- package/nodes/GlpiV2/GlpiV2.credentials.ts +0 -76
- package/nodes/GlpiV2/GlpiV2.node.ts +0 -50
- package/nodes/GlpiV2/GlpiV2.svg +0 -5
- package/nodes/GlpiV2/resources/computer/create.ts +0 -43
- package/nodes/GlpiV2/resources/computer/delete.ts +0 -37
- package/nodes/GlpiV2/resources/computer/get.ts +0 -37
- package/nodes/GlpiV2/resources/computer/getAll.ts +0 -61
- package/nodes/GlpiV2/resources/computer/index.ts +0 -61
- package/nodes/GlpiV2/resources/computer/update.ts +0 -55
- package/tsconfig.json +0 -16
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.computerGet = void 0;
|
|
4
|
+
exports.computerGet = {
|
|
5
|
+
routing: {
|
|
6
|
+
request: {
|
|
7
|
+
method: 'GET',
|
|
8
|
+
url: '=/Computer/{{$parameter["id"]}}',
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
properties: [
|
|
12
|
+
{
|
|
13
|
+
displayName: 'API Endpoint',
|
|
14
|
+
name: 'noticeGet',
|
|
15
|
+
type: 'notice',
|
|
16
|
+
default: 'GET /api.php/v2.1/Computer/{id}',
|
|
17
|
+
displayOptions: {
|
|
18
|
+
show: {
|
|
19
|
+
resource: ['computer'],
|
|
20
|
+
operation: ['get'],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
displayName: 'ID',
|
|
26
|
+
name: 'id',
|
|
27
|
+
type: 'string',
|
|
28
|
+
default: '',
|
|
29
|
+
required: true,
|
|
30
|
+
displayOptions: {
|
|
31
|
+
show: {
|
|
32
|
+
resource: ['computer'],
|
|
33
|
+
operation: ['get'],
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/GlpiV2/resources/computer/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAG;IAC1B,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,KAAc;YACtB,GAAG,EAAE,iCAAiC;SACtC;KACD;IACD,UAAU,EAAE;QACX;YACC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,iCAAiC;YAC1C,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;oBACtB,SAAS,EAAE,CAAC,KAAK,CAAC;iBAClB;aACD;SACkB;QACpB;YACC,WAAW,EAAE,IAAI;YACjB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,QAAQ,EAAE,IAAI;YACd,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;oBACtB,SAAS,EAAE,CAAC,KAAK,CAAC;iBAClB;aACD;SACkB;KACpB;CACD,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.computerGetAll = void 0;
|
|
4
|
+
exports.computerGetAll = {
|
|
5
|
+
routing: {
|
|
6
|
+
request: {
|
|
7
|
+
method: 'GET',
|
|
8
|
+
url: '/Computer',
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
properties: [
|
|
12
|
+
{
|
|
13
|
+
displayName: 'API Endpoint',
|
|
14
|
+
name: 'noticeGetAll',
|
|
15
|
+
type: 'notice',
|
|
16
|
+
default: 'GET /api.php/v2.1/Computer',
|
|
17
|
+
displayOptions: {
|
|
18
|
+
show: {
|
|
19
|
+
resource: ['computer'],
|
|
20
|
+
operation: ['getAll'],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
displayName: 'Return All',
|
|
26
|
+
name: 'returnAll',
|
|
27
|
+
type: 'boolean',
|
|
28
|
+
default: false,
|
|
29
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
30
|
+
displayOptions: {
|
|
31
|
+
show: {
|
|
32
|
+
resource: ['computer'],
|
|
33
|
+
operation: ['getAll'],
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
displayName: 'Limit',
|
|
39
|
+
name: 'limit',
|
|
40
|
+
type: 'number',
|
|
41
|
+
default: 50,
|
|
42
|
+
description: 'Max number of results to return',
|
|
43
|
+
typeOptions: {
|
|
44
|
+
minValue: 1,
|
|
45
|
+
},
|
|
46
|
+
displayOptions: {
|
|
47
|
+
show: {
|
|
48
|
+
resource: ['computer'],
|
|
49
|
+
operation: ['getAll'],
|
|
50
|
+
returnAll: [false],
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
routing: {
|
|
54
|
+
send: {
|
|
55
|
+
type: 'query',
|
|
56
|
+
property: 'range',
|
|
57
|
+
value: '={{ "0-" + ($parameter["limit"] - 1) }}',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/GlpiV2/resources/computer/getAll.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAG;IAC7B,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,KAAc;YACtB,GAAG,EAAE,WAAW;SAChB;KACD;IACD,UAAU,EAAE;QACX;YACC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,4BAA4B;YACrC,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;oBACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;iBACrB;aACD;SACkB;QACpB;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,2DAA2D;YACxE,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;oBACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;iBACrB;aACD;SACkB;QACpB;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,iCAAiC;YAC9C,WAAW,EAAE;gBACZ,QAAQ,EAAE,CAAC;aACX;YACD,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;oBACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;oBACrB,SAAS,EAAE,CAAC,KAAK,CAAC;iBAClB;aACD;YACD,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,IAAI,EAAE,OAAO;oBACb,QAAQ,EAAE,OAAO;oBACjB,KAAK,EAAE,yCAAyC;iBAChD;aACD;SACkB;KACpB;CACD,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.computerFields = exports.computerOperations = void 0;
|
|
4
|
+
const create_1 = require("./create");
|
|
5
|
+
const get_1 = require("./get");
|
|
6
|
+
const update_1 = require("./update");
|
|
7
|
+
const delete_1 = require("./delete");
|
|
8
|
+
const getAll_1 = require("./getAll");
|
|
9
|
+
exports.computerOperations = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Operation',
|
|
12
|
+
name: 'operation',
|
|
13
|
+
type: 'options',
|
|
14
|
+
noDataExpression: true,
|
|
15
|
+
displayOptions: {
|
|
16
|
+
show: {
|
|
17
|
+
resource: ['computer'],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
options: [
|
|
21
|
+
{
|
|
22
|
+
name: 'Create',
|
|
23
|
+
value: 'create',
|
|
24
|
+
action: 'Create a computer',
|
|
25
|
+
routing: create_1.computerCreate.routing,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: 'Delete',
|
|
29
|
+
value: 'delete',
|
|
30
|
+
action: 'Delete a computer',
|
|
31
|
+
routing: delete_1.computerDelete.routing,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'Get',
|
|
35
|
+
value: 'get',
|
|
36
|
+
action: 'Get a computer',
|
|
37
|
+
routing: get_1.computerGet.routing,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'Get Many',
|
|
41
|
+
value: 'getAll',
|
|
42
|
+
action: 'Get many computers',
|
|
43
|
+
routing: getAll_1.computerGetAll.routing,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Update',
|
|
47
|
+
value: 'update',
|
|
48
|
+
action: 'Update a computer',
|
|
49
|
+
routing: update_1.computerUpdate.routing,
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
default: 'create',
|
|
53
|
+
},
|
|
54
|
+
];
|
|
55
|
+
exports.computerFields = [
|
|
56
|
+
...create_1.computerCreate.properties,
|
|
57
|
+
...delete_1.computerDelete.properties,
|
|
58
|
+
...get_1.computerGet.properties,
|
|
59
|
+
...getAll_1.computerGetAll.properties,
|
|
60
|
+
...update_1.computerUpdate.properties,
|
|
61
|
+
];
|
|
62
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/GlpiV2/resources/computer/index.ts"],"names":[],"mappings":";;;AACA,qCAA0C;AAC1C,+BAAoC;AACpC,qCAA0C;AAC1C,qCAA0C;AAC1C,qCAA0C;AAE7B,QAAA,kBAAkB,GAAsB;IACpD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,mBAAmB;gBAC3B,OAAO,EAAE,uBAAc,CAAC,OAAO;aAC/B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,mBAAmB;gBAC3B,OAAO,EAAE,uBAAc,CAAC,OAAO;aAC/B;YACD;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,gBAAgB;gBACxB,OAAO,EAAE,iBAAW,CAAC,OAAO;aAC5B;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,oBAAoB;gBAC5B,OAAO,EAAE,uBAAc,CAAC,OAAO;aAC/B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,mBAAmB;gBAC3B,OAAO,EAAE,uBAAc,CAAC,OAAO;aAC/B;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;CACD,CAAC;AAEW,QAAA,cAAc,GAAsB;IAChD,GAAG,uBAAc,CAAC,UAAU;IAC5B,GAAG,uBAAc,CAAC,UAAU;IAC5B,GAAG,iBAAW,CAAC,UAAU;IACzB,GAAG,uBAAc,CAAC,UAAU;IAC5B,GAAG,uBAAc,CAAC,UAAU;CAC5B,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.computerUpdate = void 0;
|
|
4
|
+
exports.computerUpdate = {
|
|
5
|
+
routing: {
|
|
6
|
+
request: {
|
|
7
|
+
method: 'PUT',
|
|
8
|
+
url: '=/Computer/{{$parameter["id"]}}',
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
properties: [
|
|
12
|
+
{
|
|
13
|
+
displayName: 'API Endpoint',
|
|
14
|
+
name: 'noticeUpdate',
|
|
15
|
+
type: 'notice',
|
|
16
|
+
default: 'PUT /api.php/v2.1/Computer/{id}',
|
|
17
|
+
displayOptions: {
|
|
18
|
+
show: {
|
|
19
|
+
resource: ['computer'],
|
|
20
|
+
operation: ['update'],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
displayName: 'ID',
|
|
26
|
+
name: 'id',
|
|
27
|
+
type: 'string',
|
|
28
|
+
default: '',
|
|
29
|
+
required: true,
|
|
30
|
+
displayOptions: {
|
|
31
|
+
show: {
|
|
32
|
+
resource: ['computer'],
|
|
33
|
+
operation: ['update'],
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
displayName: 'Name',
|
|
39
|
+
name: 'name',
|
|
40
|
+
type: 'string',
|
|
41
|
+
default: '',
|
|
42
|
+
displayOptions: {
|
|
43
|
+
show: {
|
|
44
|
+
resource: ['computer'],
|
|
45
|
+
operation: ['update'],
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
routing: {
|
|
49
|
+
send: {
|
|
50
|
+
type: 'body',
|
|
51
|
+
property: 'name',
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../nodes/GlpiV2/resources/computer/update.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAG;IAC7B,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,KAAc;YACtB,GAAG,EAAE,iCAAiC;SACtC;KACD;IACD,UAAU,EAAE;QACX;YACC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,iCAAiC;YAC1C,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;oBACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;iBACrB;aACD;SACkB;QACpB;YACC,WAAW,EAAE,IAAI;YACjB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,QAAQ,EAAE,IAAI;YACd,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;oBACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;iBACrB;aACD;SACkB;QACpB;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;oBACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;iBACrB;aACD;YACD,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,IAAI,EAAE,MAAM;oBACZ,QAAQ,EAAE,MAAM;iBAChB;aACD;SACkB;KACpB;CACD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justbrunasso/n8n-nodes-glpi-v2",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "n8n node for GLPI v2 API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package"
|
|
7
7
|
],
|
|
8
8
|
"license": "MIT",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
9
12
|
"n8n": {
|
|
13
|
+
"n8nNodesApiVersion": 1,
|
|
14
|
+
"strict": true,
|
|
10
15
|
"nodes": [
|
|
11
16
|
"dist/nodes/GlpiV2/GlpiV2.node.js"
|
|
12
17
|
],
|
package/.github/workflows/ci.yml
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
push:
|
|
6
|
-
branches:
|
|
7
|
-
- main
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
build:
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v4
|
|
15
|
-
|
|
16
|
-
- name: Use Node.js
|
|
17
|
-
uses: actions/setup-node@v4
|
|
18
|
-
with:
|
|
19
|
-
node-version: '22'
|
|
20
|
-
|
|
21
|
-
- name: Install dependencies
|
|
22
|
-
run: 'npm ci'
|
|
23
|
-
|
|
24
|
-
- name: Run lint
|
|
25
|
-
run: 'npm run lint'
|
|
26
|
-
|
|
27
|
-
- name: Run build
|
|
28
|
-
run: 'npm run build'
|
package/.prettierrc.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
/**
|
|
3
|
-
* https://prettier.io/docs/en/options.html#semicolons
|
|
4
|
-
*/
|
|
5
|
-
semi: true,
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* https://prettier.io/docs/en/options.html#trailing-commas
|
|
9
|
-
*/
|
|
10
|
-
trailingComma: 'all',
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* https://prettier.io/docs/en/options.html#bracket-spacing
|
|
14
|
-
*/
|
|
15
|
-
bracketSpacing: true,
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* https://prettier.io/docs/en/options.html#tabs
|
|
19
|
-
*/
|
|
20
|
-
useTabs: true,
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* https://prettier.io/docs/en/options.html#tab-width
|
|
24
|
-
*/
|
|
25
|
-
tabWidth: 2,
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* https://prettier.io/docs/en/options.html#arrow-function-parentheses
|
|
29
|
-
*/
|
|
30
|
-
arrowParens: 'always',
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* https://prettier.io/docs/en/options.html#quotes
|
|
34
|
-
*/
|
|
35
|
-
singleQuote: true,
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* https://prettier.io/docs/en/options.html#quote-props
|
|
39
|
-
*/
|
|
40
|
-
quoteProps: 'as-needed',
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* https://prettier.io/docs/en/options.html#end-of-line
|
|
44
|
-
*/
|
|
45
|
-
endOfLine: 'lf',
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* https://prettier.io/docs/en/options.html#print-width
|
|
49
|
-
*/
|
|
50
|
-
printWidth: 100,
|
|
51
|
-
};
|
package/.vscode/extensions.json
DELETED
package/.vscode/launch.json
DELETED
package/CHANGELOG.md
DELETED
|
File without changes
|
package/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
-
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
|
9
|
-
level of experience, education, socio-economic status, nationality, personal
|
|
10
|
-
appearance, race, religion, or sexual identity and orientation.
|
|
11
|
-
|
|
12
|
-
## Our Standards
|
|
13
|
-
|
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
|
15
|
-
include:
|
|
16
|
-
|
|
17
|
-
* Using welcoming and inclusive language
|
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
|
19
|
-
* Gracefully accepting constructive criticism
|
|
20
|
-
* Focusing on what is best for the community
|
|
21
|
-
* Showing empathy towards other community members
|
|
22
|
-
|
|
23
|
-
Examples of unacceptable behavior by participants include:
|
|
24
|
-
|
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
-
advances
|
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
-
* Public or private harassment
|
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
|
30
|
-
address, without explicit permission
|
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
-
professional setting
|
|
33
|
-
|
|
34
|
-
## Our Responsibilities
|
|
35
|
-
|
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
-
response to any instances of unacceptable behavior.
|
|
39
|
-
|
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
-
threatening, offensive, or harmful.
|
|
45
|
-
|
|
46
|
-
## Scope
|
|
47
|
-
|
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
-
when an individual is representing the project or its community. Examples of
|
|
50
|
-
representing a project or community include using an official project e-mail
|
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
|
53
|
-
further defined and clarified by project maintainers.
|
|
54
|
-
|
|
55
|
-
## Enforcement
|
|
56
|
-
|
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
-
reported by contacting the project team at jan@n8n.io. All
|
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
|
63
|
-
|
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
-
members of the project's leadership.
|
|
67
|
-
|
|
68
|
-
## Attribution
|
|
69
|
-
|
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
|
72
|
-
|
|
73
|
-
[homepage]: https://www.contributor-covenant.org
|
|
74
|
-
|
|
75
|
-
For answers to common questions about this code of conduct, see
|
|
76
|
-
https://www.contributor-covenant.org/faq
|
package/README_TEMPLATE.md
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# n8n-nodes-_node-name_
|
|
2
|
-
|
|
3
|
-
This is an n8n community node. It lets you use _app/service name_ in your n8n workflows.
|
|
4
|
-
|
|
5
|
-
_App/service name_ is _one or two sentences describing the service this node integrates with_.
|
|
6
|
-
|
|
7
|
-
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
|
|
8
|
-
|
|
9
|
-
[Installation](#installation)
|
|
10
|
-
[Operations](#operations)
|
|
11
|
-
[Credentials](#credentials) <!-- delete if no auth needed -->
|
|
12
|
-
[Compatibility](#compatibility)
|
|
13
|
-
[Usage](#usage) <!-- delete if not using this section -->
|
|
14
|
-
[Resources](#resources)
|
|
15
|
-
[Version history](#version-history) <!-- delete if not using this section -->
|
|
16
|
-
|
|
17
|
-
## Installation
|
|
18
|
-
|
|
19
|
-
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
|
|
20
|
-
|
|
21
|
-
## Operations
|
|
22
|
-
|
|
23
|
-
_List the operations supported by your node._
|
|
24
|
-
|
|
25
|
-
## Credentials
|
|
26
|
-
|
|
27
|
-
_If users need to authenticate with the app/service, provide details here. You should include prerequisites (such as signing up with the service), available authentication methods, and how to set them up._
|
|
28
|
-
|
|
29
|
-
## Compatibility
|
|
30
|
-
|
|
31
|
-
_State the minimum n8n version, as well as which versions you test against. You can also include any known version incompatibility issues._
|
|
32
|
-
|
|
33
|
-
## Usage
|
|
34
|
-
|
|
35
|
-
_This is an optional section. Use it to help users with any difficult or confusing aspects of the node._
|
|
36
|
-
|
|
37
|
-
_By the time users are looking for community nodes, they probably already know n8n basics. But if you expect new users, you can link to the [Try it out](https://docs.n8n.io/try-it-out/) documentation to help them get started._
|
|
38
|
-
|
|
39
|
-
## Resources
|
|
40
|
-
|
|
41
|
-
* [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
|
|
42
|
-
* _Link to app/service documentation._
|
|
43
|
-
|
|
44
|
-
## Version history
|
|
45
|
-
|
|
46
|
-
_This is another optional section. If your node has multiple versions, include a short description of available versions and what changed, as well as any compatibility impact._
|
|
47
|
-
|
|
48
|
-
|