@n8n-dev/n8n-nodes-gitlab 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/README.md +26 -0
  2. package/dist/credentials/GitlabApi.credentials.d.ts +10 -0
  3. package/dist/credentials/GitlabApi.credentials.js +47 -0
  4. package/dist/credentials/GitlabApi.credentials.js.map +1 -0
  5. package/dist/icons/gitlab.dark.svg +4 -0
  6. package/dist/icons/gitlab.svg +4 -0
  7. package/dist/nodes/Gitlab/Gitlab.node.d.ts +4 -0
  8. package/dist/nodes/Gitlab/Gitlab.node.js +194 -0
  9. package/dist/nodes/Gitlab/Gitlab.node.js.map +1 -0
  10. package/dist/nodes/Gitlab/Gitlab.node.json +20 -0
  11. package/dist/nodes/Gitlab/gitlab.dark.svg +4 -0
  12. package/dist/nodes/Gitlab/gitlab.svg +4 -0
  13. package/dist/nodes/Gitlab/resources/access-tokens/index.d.ts +2 -0
  14. package/dist/nodes/Gitlab/resources/access-tokens/index.js +84 -0
  15. package/dist/nodes/Gitlab/resources/access-tokens/index.js.map +1 -0
  16. package/dist/nodes/Gitlab/resources/agents/index.d.ts +2 -0
  17. package/dist/nodes/Gitlab/resources/agents/index.js +53 -0
  18. package/dist/nodes/Gitlab/resources/agents/index.js.map +1 -0
  19. package/dist/nodes/Gitlab/resources/applications/index.d.ts +2 -0
  20. package/dist/nodes/Gitlab/resources/applications/index.js +53 -0
  21. package/dist/nodes/Gitlab/resources/applications/index.js.map +1 -0
  22. package/dist/nodes/Gitlab/resources/ci-jobs/index.d.ts +2 -0
  23. package/dist/nodes/Gitlab/resources/ci-jobs/index.js +53 -0
  24. package/dist/nodes/Gitlab/resources/ci-jobs/index.js.map +1 -0
  25. package/dist/nodes/Gitlab/resources/ci-runners/index.d.ts +2 -0
  26. package/dist/nodes/Gitlab/resources/ci-runners/index.js +53 -0
  27. package/dist/nodes/Gitlab/resources/ci-runners/index.js.map +1 -0
  28. package/dist/nodes/Gitlab/resources/clusters/index.d.ts +2 -0
  29. package/dist/nodes/Gitlab/resources/clusters/index.js +53 -0
  30. package/dist/nodes/Gitlab/resources/clusters/index.js.map +1 -0
  31. package/dist/nodes/Gitlab/resources/container-registry/index.d.ts +2 -0
  32. package/dist/nodes/Gitlab/resources/container-registry/index.js +53 -0
  33. package/dist/nodes/Gitlab/resources/container-registry/index.js.map +1 -0
  34. package/dist/nodes/Gitlab/resources/features/index.d.ts +2 -0
  35. package/dist/nodes/Gitlab/resources/features/index.js +84 -0
  36. package/dist/nodes/Gitlab/resources/features/index.js.map +1 -0
  37. package/dist/nodes/Gitlab/resources/geo/index.d.ts +2 -0
  38. package/dist/nodes/Gitlab/resources/geo/index.js +53 -0
  39. package/dist/nodes/Gitlab/resources/geo/index.js.map +1 -0
  40. package/dist/nodes/Gitlab/resources/group-import-and-export/index.d.ts +2 -0
  41. package/dist/nodes/Gitlab/resources/group-import-and-export/index.js +53 -0
  42. package/dist/nodes/Gitlab/resources/group-import-and-export/index.js.map +1 -0
  43. package/dist/nodes/Gitlab/resources/groups/index.d.ts +2 -0
  44. package/dist/nodes/Gitlab/resources/groups/index.js +53 -0
  45. package/dist/nodes/Gitlab/resources/groups/index.js.map +1 -0
  46. package/dist/nodes/Gitlab/resources/index.d.ts +21 -0
  47. package/dist/nodes/Gitlab/resources/index.js +46 -0
  48. package/dist/nodes/Gitlab/resources/index.js.map +1 -0
  49. package/dist/nodes/Gitlab/resources/instance/index.d.ts +2 -0
  50. package/dist/nodes/Gitlab/resources/instance/index.js +84 -0
  51. package/dist/nodes/Gitlab/resources/instance/index.js.map +1 -0
  52. package/dist/nodes/Gitlab/resources/integrations/index.d.ts +2 -0
  53. package/dist/nodes/Gitlab/resources/integrations/index.js +84 -0
  54. package/dist/nodes/Gitlab/resources/integrations/index.js.map +1 -0
  55. package/dist/nodes/Gitlab/resources/internal-operations/index.d.ts +2 -0
  56. package/dist/nodes/Gitlab/resources/internal-operations/index.js +84 -0
  57. package/dist/nodes/Gitlab/resources/internal-operations/index.js.map +1 -0
  58. package/dist/nodes/Gitlab/resources/metadata/index.d.ts +2 -0
  59. package/dist/nodes/Gitlab/resources/metadata/index.js +84 -0
  60. package/dist/nodes/Gitlab/resources/metadata/index.js.map +1 -0
  61. package/dist/nodes/Gitlab/resources/packages/index.d.ts +2 -0
  62. package/dist/nodes/Gitlab/resources/packages/index.js +177 -0
  63. package/dist/nodes/Gitlab/resources/packages/index.js.map +1 -0
  64. package/dist/nodes/Gitlab/resources/project-import/index.d.ts +2 -0
  65. package/dist/nodes/Gitlab/resources/project-import/index.js +84 -0
  66. package/dist/nodes/Gitlab/resources/project-import/index.js.map +1 -0
  67. package/dist/nodes/Gitlab/resources/runners/index.d.ts +2 -0
  68. package/dist/nodes/Gitlab/resources/runners/index.js +53 -0
  69. package/dist/nodes/Gitlab/resources/runners/index.js.map +1 -0
  70. package/dist/nodes/Gitlab/resources/usage-data/index.d.ts +2 -0
  71. package/dist/nodes/Gitlab/resources/usage-data/index.js +115 -0
  72. package/dist/nodes/Gitlab/resources/usage-data/index.js.map +1 -0
  73. package/dist/nodes/Gitlab/resources/users/index.d.ts +2 -0
  74. package/dist/nodes/Gitlab/resources/users/index.js +53 -0
  75. package/dist/nodes/Gitlab/resources/users/index.js.map +1 -0
  76. package/dist/nodes/Gitlab/resources/web-commits/index.d.ts +2 -0
  77. package/dist/nodes/Gitlab/resources/web-commits/index.js +53 -0
  78. package/dist/nodes/Gitlab/resources/web-commits/index.js.map +1 -0
  79. package/dist/package.json +53 -0
  80. package/dist/tsconfig.tsbuildinfo +1 -0
  81. package/package.json +53 -0
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # @n8n-dev/n8n-nodes-gitlab
2
+
3
+ > n8n community node for **gitlab** API
4
+
5
+ GitLab DevOps platform
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @n8n-dev/n8n-nodes-gitlab
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ 1. In n8n: **Settings → Community Nodes → Install** → `@n8n-dev/n8n-nodes-gitlab`
16
+ 2. Add credentials: **gitlab API** → API Key
17
+ 3. Use the node in your workflows
18
+
19
+ ## Auto-generated
20
+
21
+ This node was auto-generated from an OpenAPI specification using
22
+ [@kelvinzer0/n8n-openapi-node-ultimate](https://github.com/kelvinzer0/n8n-openapi-node-ultimate).
23
+
24
+ ## License
25
+
26
+ MIT
@@ -0,0 +1,10 @@
1
+ import type { IAuthenticateGeneric, Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class GitlabApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ icon: Icon;
6
+ documentationUrl: string;
7
+ properties: INodeProperties[];
8
+ authenticate: IAuthenticateGeneric;
9
+ test: ICredentialTestRequest;
10
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GitlabApi = void 0;
4
+ class GitlabApi {
5
+ constructor() {
6
+ this.name = 'N8nDevGitlabApi';
7
+ this.displayName = 'gitlab API';
8
+ this.icon = { light: 'file:../nodes/Gitlab/gitlab.svg', dark: 'file:../nodes/Gitlab/gitlab.dark.svg' };
9
+ this.documentationUrl = '';
10
+ this.properties = [
11
+ {
12
+ displayName: 'Base URL',
13
+ name: 'url',
14
+ type: 'string',
15
+ default: '',
16
+ required: true,
17
+ placeholder: 'https://api.example.com',
18
+ description: 'The base URL of your gitlab API server',
19
+ },
20
+ {
21
+ displayName: 'API Key',
22
+ name: 'apiKey',
23
+ type: 'string',
24
+ typeOptions: { password: true },
25
+ default: '',
26
+ required: true,
27
+ },
28
+ ];
29
+ this.authenticate = {
30
+ type: 'generic',
31
+ properties: {
32
+ headers: {
33
+ Authorization: '=Bearer {{$credentials.apiKey}}',
34
+ },
35
+ },
36
+ };
37
+ this.test = {
38
+ request: {
39
+ baseURL: '={{$credentials.url}}',
40
+ url: '/',
41
+ method: 'GET',
42
+ },
43
+ };
44
+ }
45
+ }
46
+ exports.GitlabApi = GitlabApi;
47
+ //# sourceMappingURL=GitlabApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GitlabApi.credentials.js","sourceRoot":"","sources":["../../credentials/GitlabApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,iBAAiB,CAAC;QAEzB,gBAAW,GAAG,YAAY,CAAC;QAE3B,SAAI,GAAS,EAAE,KAAK,EAAE,iCAAiC,EAAE,IAAI,EAAE,sCAAsC,EAAE,CAAC;QAExG,qBAAgB,GAAG,EAAE,CAAC;QAEtB,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,yBAAyB;gBACtC,WAAW,EAAE,wCAAwC;aACrD;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,iCAAiC;iBAChD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,uBAAuB;gBAChC,GAAG,EAAE,GAAG;gBACR,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AA7CD,8BA6CC"}
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" fill="none">
2
+ <rect width="60" height="60" rx="8" fill="#2D2D2D"/>
3
+ <text x="30" y="36" text-anchor="middle" fill="#FF6D5A" font-family="Arial,sans-serif" font-size="24" font-weight="bold">G</text>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" fill="none">
2
+ <rect width="60" height="60" rx="8" fill="#FF6D5A"/>
3
+ <text x="30" y="36" text-anchor="middle" fill="white" font-family="Arial,sans-serif" font-size="24" font-weight="bold">G</text>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ import { type INodeType, type INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class Gitlab implements INodeType {
3
+ description: INodeTypeDescription;
4
+ }
@@ -0,0 +1,194 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Gitlab = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const groups_1 = require("./resources/groups");
6
+ const runners_1 = require("./resources/runners");
7
+ const packages_1 = require("./resources/packages");
8
+ const group_import_and_export_1 = require("./resources/group-import-and-export");
9
+ const access_tokens_1 = require("./resources/access-tokens");
10
+ const ci_jobs_1 = require("./resources/ci-jobs");
11
+ const applications_1 = require("./resources/applications");
12
+ const agents_1 = require("./resources/agents");
13
+ const ci_runners_1 = require("./resources/ci-runners");
14
+ const internal_operations_1 = require("./resources/internal-operations");
15
+ const usage_data_1 = require("./resources/usage-data");
16
+ const users_1 = require("./resources/users");
17
+ const instance_1 = require("./resources/instance");
18
+ const web_commits_1 = require("./resources/web-commits");
19
+ const clusters_1 = require("./resources/clusters");
20
+ const container_registry_1 = require("./resources/container-registry");
21
+ const features_1 = require("./resources/features");
22
+ const geo_1 = require("./resources/geo");
23
+ const integrations_1 = require("./resources/integrations");
24
+ const metadata_1 = require("./resources/metadata");
25
+ const project_import_1 = require("./resources/project-import");
26
+ class Gitlab {
27
+ constructor() {
28
+ this.description = {
29
+ displayName: 'gitlab',
30
+ name: 'N8nDevGitlab',
31
+ icon: { light: 'file:./gitlab.svg', dark: 'file:./gitlab.dark.svg' },
32
+ group: ['input'],
33
+ version: 1,
34
+ subtitle: '={{\$parameter["operation"] + ": " + \$parameter["resource"]}}',
35
+ description: 'GitLab DevOps platform',
36
+ defaults: { name: 'gitlab' },
37
+ usableAsTool: true,
38
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
39
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
40
+ credentials: [
41
+ {
42
+ name: 'N8nDevGitlabApi',
43
+ required: true,
44
+ },
45
+ ],
46
+ requestDefaults: {
47
+ baseURL: '={{\$credentials.url}}',
48
+ headers: {
49
+ Accept: 'application/json',
50
+ 'Content-Type': 'application/json',
51
+ },
52
+ },
53
+ properties: [
54
+ {
55
+ "displayName": "Resource",
56
+ "name": "resource",
57
+ "type": "options",
58
+ "noDataExpression": true,
59
+ "options": [
60
+ {
61
+ "name": "Groups",
62
+ "value": "Groups",
63
+ "description": "Operations about groups"
64
+ },
65
+ {
66
+ "name": "Runners",
67
+ "value": "Runners",
68
+ "description": "Operations about runners"
69
+ },
70
+ {
71
+ "name": "Packages",
72
+ "value": "Packages",
73
+ "description": "Operations about packages"
74
+ },
75
+ {
76
+ "name": "Group Import And Export",
77
+ "value": "Group Import And Export",
78
+ "description": "Operations about group_import_and_exports"
79
+ },
80
+ {
81
+ "name": "Access Tokens",
82
+ "value": "Access Tokens",
83
+ "description": "Operations about access_tokens"
84
+ },
85
+ {
86
+ "name": "Ci Jobs",
87
+ "value": "Ci Jobs",
88
+ "description": "Operations about ci_jobs"
89
+ },
90
+ {
91
+ "name": "Applications",
92
+ "value": "Applications",
93
+ "description": "Operations about applications"
94
+ },
95
+ {
96
+ "name": "Agents",
97
+ "value": "Agents",
98
+ "description": "Operations about agents"
99
+ },
100
+ {
101
+ "name": "Ci Runners",
102
+ "value": "Ci Runners",
103
+ "description": "Operations about ci_runners"
104
+ },
105
+ {
106
+ "name": "Internal Operations",
107
+ "value": "Internal Operations",
108
+ "description": "Operations about internal_operations"
109
+ },
110
+ {
111
+ "name": "Usage Data",
112
+ "value": "Usage Data",
113
+ "description": "Operations about usage_data"
114
+ },
115
+ {
116
+ "name": "Users",
117
+ "value": "Users",
118
+ "description": "Operations about users"
119
+ },
120
+ {
121
+ "name": "Instance",
122
+ "value": "Instance",
123
+ "description": "Operations about instances"
124
+ },
125
+ {
126
+ "name": "Web Commits",
127
+ "value": "Web Commits",
128
+ "description": "Operations about web_commits"
129
+ },
130
+ {
131
+ "name": "Clusters",
132
+ "value": "Clusters",
133
+ "description": "Operations related to clusters"
134
+ },
135
+ {
136
+ "name": "Container Registry",
137
+ "value": "Container Registry",
138
+ "description": "Operations related to container registry"
139
+ },
140
+ {
141
+ "name": "Features",
142
+ "value": "Features",
143
+ "description": "Operations related to managing Flipper-based feature flags"
144
+ },
145
+ {
146
+ "name": "Geo",
147
+ "value": "Geo",
148
+ "description": "Operations related to Geo"
149
+ },
150
+ {
151
+ "name": "Integrations",
152
+ "value": "Integrations",
153
+ "description": "Operations related to integrations"
154
+ },
155
+ {
156
+ "name": "Metadata",
157
+ "value": "Metadata",
158
+ "description": "Operations related to metadata of the GitLab instance"
159
+ },
160
+ {
161
+ "name": "Project Import",
162
+ "value": "Project Import",
163
+ "description": "Operations related to importing projects"
164
+ }
165
+ ],
166
+ "default": ""
167
+ },
168
+ ...groups_1.groupsDescription,
169
+ ...runners_1.runnersDescription,
170
+ ...packages_1.packagesDescription,
171
+ ...group_import_and_export_1.groupImportAndExportDescription,
172
+ ...access_tokens_1.accessTokensDescription,
173
+ ...ci_jobs_1.ciJobsDescription,
174
+ ...applications_1.applicationsDescription,
175
+ ...agents_1.agentsDescription,
176
+ ...ci_runners_1.ciRunnersDescription,
177
+ ...internal_operations_1.internalOperationsDescription,
178
+ ...usage_data_1.usageDataDescription,
179
+ ...users_1.usersDescription,
180
+ ...instance_1.instanceDescription,
181
+ ...web_commits_1.webCommitsDescription,
182
+ ...clusters_1.clustersDescription,
183
+ ...container_registry_1.containerRegistryDescription,
184
+ ...features_1.featuresDescription,
185
+ ...geo_1.geoDescription,
186
+ ...integrations_1.integrationsDescription,
187
+ ...metadata_1.metadataDescription,
188
+ ...project_import_1.projectImportDescription
189
+ ],
190
+ };
191
+ }
192
+ }
193
+ exports.Gitlab = Gitlab;
194
+ //# sourceMappingURL=Gitlab.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Gitlab.node.js","sourceRoot":"","sources":["../../../nodes/Gitlab/Gitlab.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,+CAAuD;AACvD,iDAAyD;AACzD,mDAA2D;AAC3D,iFAAsF;AACtF,6DAAoE;AACpE,iDAAwD;AACxD,2DAAmE;AACnE,+CAAuD;AACvD,uDAA8D;AAC9D,yEAAgF;AAChF,uDAA8D;AAC9D,6CAAqD;AACrD,mDAA2D;AAC3D,yDAAgE;AAChE,mDAA2D;AAC3D,uEAA8E;AAC9E,mDAA2D;AAC3D,yCAAiD;AACjD,2DAAmE;AACnE,mDAA2D;AAC3D,+DAAsE;AAEtE,MAAa,MAAM;IAAnB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,wBAAwB,EAAE;YACpE,KAAK,EAAE,CAAC,OAAO,CAAC;YAChB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,gEAAgE;YAC1E,WAAW,EAAE,wBAAwB;YACrC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC5B,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,iBAAiB;oBACvB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,wBAAwB;gBACjC,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB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ACxB,GAAG,8BAAmB;gBACtB,GAAG,iDAA4B;gBAC/B,GAAG,8BAAmB;gBACtB,GAAG,oBAAc;gBACjB,GAAG,sCAAuB;gBAC1B,GAAG,8BAAmB;gBACtB,GAAG,yCAAwB;aAC1B;SACD,CAAC;IACH,CAAC;CAAA;AApKD,wBAoKC"}
@@ -0,0 +1,20 @@
1
+ {
2
+ "node": "N8nDevGitlab",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": [
6
+ "Development"
7
+ ],
8
+ "resources": {
9
+ "primaryDocumentation": [
10
+ {
11
+ "url": "https://github.com/kelvinzer0/n8n-nodes-gitlab"
12
+ }
13
+ ],
14
+ "credentialDocumentation": [
15
+ {
16
+ "url": "https://github.com/kelvinzer0/n8n-nodes-gitlab?tab=readme-ov-file#credentials"
17
+ }
18
+ ]
19
+ }
20
+ }
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" fill="none">
2
+ <rect width="60" height="60" rx="8" fill="#2D2D2D"/>
3
+ <text x="30" y="36" text-anchor="middle" fill="#FF6D5A" font-family="Arial,sans-serif" font-size="24" font-weight="bold">G</text>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" fill="none">
2
+ <rect width="60" height="60" rx="8" fill="#FF6D5A"/>
3
+ <text x="30" y="36" text-anchor="middle" fill="white" font-family="Arial,sans-serif" font-size="24" font-weight="bold">G</text>
4
+ </svg>
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const accessTokensDescription: INodeProperties[];
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.accessTokensDescription = void 0;
4
+ exports.accessTokensDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Access Tokens"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Get Api V 4 Personal Access Tokens Self",
20
+ "value": "Get Api V 4 Personal Access Tokens Self",
21
+ "action": "Retrieve a personal access token",
22
+ "description": "Retrieves a specified personal access token by passing it to the API in a header.",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/api/v4/personal_access_tokens/self"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Delete Api V 4 Personal Access Tokens Self",
32
+ "value": "Delete Api V 4 Personal Access Tokens Self",
33
+ "action": "Revoke a personal access token",
34
+ "description": "Revokes a personal access token by passing it to the API in a header.",
35
+ "routing": {
36
+ "request": {
37
+ "method": "DELETE",
38
+ "url": "=/api/v4/personal_access_tokens/self"
39
+ }
40
+ }
41
+ }
42
+ ],
43
+ "default": ""
44
+ },
45
+ {
46
+ "displayName": "GET /api/v4/personal_access_tokens/self",
47
+ "name": "operation",
48
+ "type": "notice",
49
+ "typeOptions": {
50
+ "theme": "info"
51
+ },
52
+ "default": "",
53
+ "displayOptions": {
54
+ "show": {
55
+ "resource": [
56
+ "Access Tokens"
57
+ ],
58
+ "operation": [
59
+ "Get Api V 4 Personal Access Tokens Self"
60
+ ]
61
+ }
62
+ }
63
+ },
64
+ {
65
+ "displayName": "DELETE /api/v4/personal_access_tokens/self",
66
+ "name": "operation",
67
+ "type": "notice",
68
+ "typeOptions": {
69
+ "theme": "info"
70
+ },
71
+ "default": "",
72
+ "displayOptions": {
73
+ "show": {
74
+ "resource": [
75
+ "Access Tokens"
76
+ ],
77
+ "operation": [
78
+ "Delete Api V 4 Personal Access Tokens Self"
79
+ ]
80
+ }
81
+ }
82
+ },
83
+ ];
84
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Gitlab/resources/access-tokens/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,uB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A4C;iBAC5C;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const agentsDescription: INodeProperties[];
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.agentsDescription = void 0;
4
+ exports.agentsDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Agents"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Get Api V 4 Job Allowed Agents",
20
+ "value": "Get Api V 4 Job Allowed Agents",
21
+ "action": "List all GitLab agents for Kubernetes by job token",
22
+ "description": "Lists all GitLab agents for Kubernetes with a specified `CI_JOB_TOKEN`.",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/api/v4/job/allowed_agents"
27
+ }
28
+ }
29
+ }
30
+ ],
31
+ "default": ""
32
+ },
33
+ {
34
+ "displayName": "GET /api/v4/job/allowed_agents",
35
+ "name": "operation",
36
+ "type": "notice",
37
+ "typeOptions": {
38
+ "theme": "info"
39
+ },
40
+ "default": "",
41
+ "displayOptions": {
42
+ "show": {
43
+ "resource": [
44
+ "Agents"
45
+ ],
46
+ "operation": [
47
+ "Get Api V 4 Job Allowed Agents"
48
+ ]
49
+ }
50
+ }
51
+ },
52
+ ];
53
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Gitlab/resources/agents/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAsB;IAClD;QACC,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,SAAS;QACjB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,QAAQ;iBACR;aACD;SACD;QACD,SAAS,EAAE;YACV;gBACC,MAAM,EAAE,gCAAgC;gBACxC,OAAO,EAAE,gCAAgC;gBACzC,QAAQ,EAAE,oDAAoD;gBAC9D,aAAa,EAAE,yEAAyE;gBACxF,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,6BAA6B;qBACpC;iBACD;aACD;SACD;QACD,SAAS,EAAE,EAAE;KACb;IACD;QACC,aAAa,EAAE,gCAAgC;QAC/C,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,QAAQ;iBACR;gBACD,WAAW,EAAE;oBACZ,gCAAgC;iBAChC;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const applicationsDescription: INodeProperties[];
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.applicationsDescription = void 0;
4
+ exports.applicationsDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Applications"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Get Api V 4 Applications",
20
+ "value": "Get Api V 4 Applications",
21
+ "action": "Get applications",
22
+ "description": "List all registered applications",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/api/v4/applications"
27
+ }
28
+ }
29
+ }
30
+ ],
31
+ "default": ""
32
+ },
33
+ {
34
+ "displayName": "GET /api/v4/applications",
35
+ "name": "operation",
36
+ "type": "notice",
37
+ "typeOptions": {
38
+ "theme": "info"
39
+ },
40
+ "default": "",
41
+ "displayOptions": {
42
+ "show": {
43
+ "resource": [
44
+ "Applications"
45
+ ],
46
+ "operation": [
47
+ "Get Api V 4 Applications"
48
+ ]
49
+ }
50
+ }
51
+ },
52
+ ];
53
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Gitlab/resources/applications/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAsB;IACxD;QACC,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,SAAS;QACjB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,cAAc;iBACd;aACD;SACD;QACD,SAAS,EAAE;YACV;gBACC,MAAM,EAAE,0BAA0B;gBAClC,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,kBAAkB;gBAC5B,aAAa,EAAE,kCAAkC;gBACjD,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,uBAAuB;qBAC9B;iBACD;aACD;SACD;QACD,SAAS,EAAE,EAAE;KACb;IACD;QACC,aAAa,EAAE,0BAA0B;QACzC,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,cAAc;iBACd;gBACD,WAAW,EAAE;oBACZ,0BAA0B;iBAC1B;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const ciJobsDescription: INodeProperties[];
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ciJobsDescription = void 0;
4
+ exports.ciJobsDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Ci Jobs"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Get Api V 4 Job",
20
+ "value": "Get Api V 4 Job",
21
+ "action": "Retrieve a job by job token",
22
+ "description": "Retrieves a job that was generated by a specified job token.",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/api/v4/job"
27
+ }
28
+ }
29
+ }
30
+ ],
31
+ "default": ""
32
+ },
33
+ {
34
+ "displayName": "GET /api/v4/job",
35
+ "name": "operation",
36
+ "type": "notice",
37
+ "typeOptions": {
38
+ "theme": "info"
39
+ },
40
+ "default": "",
41
+ "displayOptions": {
42
+ "show": {
43
+ "resource": [
44
+ "Ci Jobs"
45
+ ],
46
+ "operation": [
47
+ "Get Api V 4 Job"
48
+ ]
49
+ }
50
+ }
51
+ },
52
+ ];
53
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Gitlab/resources/ci-jobs/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAsB;IAClD;QACC,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,SAAS;QACjB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,SAAS;iBACT;aACD;SACD;QACD,SAAS,EAAE;YACV;gBACC,MAAM,EAAE,iBAAiB;gBACzB,OAAO,EAAE,iBAAiB;gBAC1B,QAAQ,EAAE,6BAA6B;gBACvC,aAAa,EAAE,8DAA8D;gBAC7E,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,cAAc;qBACrB;iBACD;aACD;SACD;QACD,SAAS,EAAE,EAAE;KACb;IACD;QACC,aAAa,EAAE,iBAAiB;QAChC,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,SAAS;iBACT;gBACD,WAAW,EAAE;oBACZ,iBAAiB;iBACjB;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const ciRunnersDescription: INodeProperties[];