n8n-nodes-ovh 0.1.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 (57) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +393 -0
  3. package/dist/credentials/OvhApi.credentials.d.ts +8 -0
  4. package/dist/credentials/OvhApi.credentials.js +99 -0
  5. package/dist/credentials/OvhApi.credentials.js.map +1 -0
  6. package/dist/nodes/OvhAi/OvhAi.node.d.ts +5 -0
  7. package/dist/nodes/OvhAi/OvhAi.node.js +692 -0
  8. package/dist/nodes/OvhAi/OvhAi.node.js.map +1 -0
  9. package/dist/nodes/OvhAi/ovh.svg +1 -0
  10. package/dist/nodes/OvhCompute/OvhCompute.node.d.ts +5 -0
  11. package/dist/nodes/OvhCompute/OvhCompute.node.js +792 -0
  12. package/dist/nodes/OvhCompute/OvhCompute.node.js.map +1 -0
  13. package/dist/nodes/OvhCompute/ovh.svg +1 -0
  14. package/dist/nodes/OvhContainerRegistry/OvhContainerRegistry.node.d.ts +5 -0
  15. package/dist/nodes/OvhContainerRegistry/OvhContainerRegistry.node.js +473 -0
  16. package/dist/nodes/OvhContainerRegistry/OvhContainerRegistry.node.js.map +1 -0
  17. package/dist/nodes/OvhContainerRegistry/ovh.svg +1 -0
  18. package/dist/nodes/OvhDataProcessing/OvhDataProcessing.node.d.ts +5 -0
  19. package/dist/nodes/OvhDataProcessing/OvhDataProcessing.node.js +499 -0
  20. package/dist/nodes/OvhDataProcessing/OvhDataProcessing.node.js.map +1 -0
  21. package/dist/nodes/OvhDataProcessing/ovh.svg +1 -0
  22. package/dist/nodes/OvhDatabase/OvhDatabase.node.d.ts +5 -0
  23. package/dist/nodes/OvhDatabase/OvhDatabase.node.js +680 -0
  24. package/dist/nodes/OvhDatabase/OvhDatabase.node.js.map +1 -0
  25. package/dist/nodes/OvhDatabase/ovh.svg +1 -0
  26. package/dist/nodes/OvhDedicatedServer/OvhDedicatedServer.node.d.ts +5 -0
  27. package/dist/nodes/OvhDedicatedServer/OvhDedicatedServer.node.js +381 -0
  28. package/dist/nodes/OvhDedicatedServer/OvhDedicatedServer.node.js.map +1 -0
  29. package/dist/nodes/OvhDedicatedServer/ovh.svg +1 -0
  30. package/dist/nodes/OvhDomain/OvhDomain.node.d.ts +5 -0
  31. package/dist/nodes/OvhDomain/OvhDomain.node.js +578 -0
  32. package/dist/nodes/OvhDomain/OvhDomain.node.js.map +1 -0
  33. package/dist/nodes/OvhDomain/ovh.svg +1 -0
  34. package/dist/nodes/OvhKubernetes/OvhKubernetes.node.d.ts +5 -0
  35. package/dist/nodes/OvhKubernetes/OvhKubernetes.node.js +599 -0
  36. package/dist/nodes/OvhKubernetes/OvhKubernetes.node.js.map +1 -0
  37. package/dist/nodes/OvhKubernetes/ovh.svg +1 -0
  38. package/dist/nodes/OvhPrivateCloud/OvhPrivateCloud.node.d.ts +5 -0
  39. package/dist/nodes/OvhPrivateCloud/OvhPrivateCloud.node.js +566 -0
  40. package/dist/nodes/OvhPrivateCloud/OvhPrivateCloud.node.js.map +1 -0
  41. package/dist/nodes/OvhPrivateCloud/ovh.svg +1 -0
  42. package/dist/nodes/OvhPrivateNetwork/OvhPrivateNetwork.node.d.ts +5 -0
  43. package/dist/nodes/OvhPrivateNetwork/OvhPrivateNetwork.node.js +690 -0
  44. package/dist/nodes/OvhPrivateNetwork/OvhPrivateNetwork.node.js.map +1 -0
  45. package/dist/nodes/OvhPrivateNetwork/ovh.svg +1 -0
  46. package/dist/nodes/OvhStorage/OvhStorage.node.d.ts +5 -0
  47. package/dist/nodes/OvhStorage/OvhStorage.node.js +625 -0
  48. package/dist/nodes/OvhStorage/OvhStorage.node.js.map +1 -0
  49. package/dist/nodes/OvhStorage/ovh.svg +1 -0
  50. package/dist/nodes/OvhWebPaas/OvhWebPaas.node.d.ts +5 -0
  51. package/dist/nodes/OvhWebPaas/OvhWebPaas.node.js +791 -0
  52. package/dist/nodes/OvhWebPaas/OvhWebPaas.node.js.map +1 -0
  53. package/dist/nodes/OvhWebPaas/ovh.svg +1 -0
  54. package/dist/package.json +79 -0
  55. package/dist/tsconfig.tsbuildinfo +1 -0
  56. package/index.js +0 -0
  57. package/package.json +79 -0
package/LICENSE.md ADDED
@@ -0,0 +1,19 @@
1
+ Copyright 2022 n8n
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,393 @@
1
+ # n8n-nodes-ovh
2
+
3
+ This package provides n8n nodes for interacting with the OVH API, allowing you to automate domain, DNS, dedicated server, hosted private cloud, AI/ML services, data processing, managed database, Kubernetes cluster, container registry, public cloud compute, object storage, Web PaaS, and private network tasks.
4
+
5
+ **Developed by [Ascenzia](https://ascenzia.fr)** - Your trusted partner for AI agent creation and automation.
6
+
7
+ ## Installation
8
+
9
+ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
10
+
11
+ ## Nodes
12
+
13
+ ### OVH Domain Node
14
+
15
+ #### Domain Operations
16
+ - **Get**: Retrieve information about a specific domain
17
+ - **Get Many**: List all your domains
18
+ - **Update**: Update domain settings (e.g., transfer lock status)
19
+
20
+ #### DNS Zone Operations
21
+ - **Export**: Export a DNS zone
22
+ - **Import**: Import a DNS zone from a zone file
23
+ - **Refresh**: Refresh a DNS zone
24
+
25
+ #### DNS Record Operations
26
+ - **Get**: Get information about a specific DNS record
27
+ - **Get Many**: List DNS records filtered by type (A, AAAA, CNAME, MX, NS, PTR, SRV, TXT)
28
+ - **Create**: Create a new DNS record with subdomain, target, TTL, and priority (for MX/SRV)
29
+ - **Update**: Update existing DNS record properties
30
+ - **Delete**: Delete a DNS record
31
+
32
+ ### OVH Dedicated Server Node
33
+
34
+ #### Server Operations
35
+ - **Get**: Get server information
36
+ - **Get Many**: List all your dedicated servers
37
+ - **Get Hardware**: Get server hardware specifications
38
+ - **Get Network**: Get server network specifications
39
+ - **Get Service Info**: Get server service information
40
+ - **Reboot**: Reboot the server
41
+
42
+ #### Task Operations
43
+ - **Get**: Get task information
44
+ - **Get Many**: List server tasks (with optional status filter)
45
+ - **Cancel**: Cancel a running task
46
+
47
+ #### IP Operations
48
+ - **Get**: Get information about a specific IP
49
+ - **Get Many**: List all IPs associated with a server
50
+
51
+ ### OVH Private Cloud Node
52
+
53
+ #### Service Operations
54
+ - **Get**: Get service information
55
+ - **Get Many**: List all your private cloud services
56
+ - **Get Service Info**: Get service subscription information
57
+
58
+ #### Datacenter Operations
59
+ - **Get**: Get datacenter information
60
+ - **Get Many**: List all datacenters in a service
61
+
62
+ #### Virtual Machine Operations
63
+ - **Get**: Get virtual machine information
64
+ - **Get Many**: List all virtual machines in a datacenter
65
+ - **Power Off**: Power off a virtual machine
66
+ - **Power On**: Power on a virtual machine
67
+ - **Reset**: Reset a virtual machine
68
+ - **Revert Snapshot**: Revert VM to a specific snapshot
69
+
70
+ #### User Operations
71
+ - **Get**: Get user information
72
+ - **Get Many**: List all users in a service
73
+ - **Create**: Create a new user
74
+ - **Update**: Update user information
75
+ - **Delete**: Delete a user
76
+
77
+ #### Task Operations
78
+ - **Get**: Get task information
79
+ - **Get Many**: List all tasks for a service
80
+
81
+ ### OVH AI Node
82
+
83
+ #### Project Operations
84
+ - **Get**: Get cloud project information
85
+ - **Get Many**: List all your cloud projects
86
+
87
+ #### AI App Operations
88
+ - **Get**: Get AI application information
89
+ - **Get Many**: List all AI applications in a project
90
+ - **Create**: Create a new AI application
91
+ - **Update**: Update AI application settings (replicas, auto-scaling)
92
+ - **Delete**: Delete an AI application
93
+
94
+ #### Training Job Operations
95
+ - **Get**: Get training job information
96
+ - **Get Many**: List all training jobs in a project
97
+ - **Create**: Create a new training job
98
+ - **Stop**: Stop a running training job
99
+ - **Delete**: Delete a training job
100
+
101
+ #### Model Operations
102
+ - **Get**: Get model information
103
+ - **Get Many**: List all deployed models in a project
104
+ - **Delete**: Delete a deployed model
105
+
106
+ #### Notebook Operations
107
+ - **Get**: Get notebook information
108
+ - **Get Many**: List all notebooks in a project
109
+ - **Create**: Create a new notebook (Jupyter, JupyterLab, VSCode)
110
+ - **Start**: Start a notebook instance
111
+ - **Stop**: Stop a notebook instance
112
+ - **Delete**: Delete a notebook
113
+
114
+ ### OVH Data Processing Node
115
+
116
+ #### Job Operations
117
+ - **Get**: Get data processing job information
118
+ - **Get Many**: List all data processing jobs in a project (with optional status filter)
119
+ - **Create**: Create a new data processing job (Spark with configurable resources)
120
+ - **Stop**: Stop a running data processing job
121
+ - **Delete**: Delete a data processing job
122
+ - **Get Logs**: Retrieve job execution logs
123
+
124
+ #### Capability Operations
125
+ - **Get Many**: List available data processing capabilities
126
+
127
+ #### Metrics Operations
128
+ - **Get**: Get job execution metrics and performance data
129
+
130
+ ### OVH Database Node
131
+
132
+ #### Service Operations
133
+ - **Get**: Get database service information
134
+ - **Get Many**: List all database services in a project
135
+ - **Create**: Create a new managed database service (MySQL, PostgreSQL, Redis, MongoDB)
136
+ - **Update**: Update database service settings (description, maintenance time, backup time)
137
+ - **Delete**: Delete a database service
138
+
139
+ #### Database Operations
140
+ - **Get**: Get database information
141
+ - **Get Many**: List all databases in a service
142
+ - **Create**: Create a new database in a service
143
+ - **Delete**: Delete a database
144
+
145
+ #### User Operations
146
+ - **Get**: Get database user information
147
+ - **Get Many**: List all database users in a service
148
+ - **Create**: Create a new database user
149
+ - **Reset Password**: Reset a user's password
150
+ - **Delete**: Delete a database user
151
+
152
+ #### Backup Operations
153
+ - **Get**: Get backup information
154
+ - **Get Many**: List all backups for a service
155
+ - **Create**: Create a manual backup
156
+ - **Restore**: Restore from a backup
157
+ - **Delete**: Delete a backup
158
+
159
+ #### Capability Operations
160
+ - **Get Many**: List database service capabilities and available engines
161
+
162
+ #### Availability Operations
163
+ - **Get Many**: List database service availability by region
164
+
165
+ ### OVH Kubernetes Node
166
+
167
+ #### Cluster Operations
168
+ - **Get**: Get Kubernetes cluster information
169
+ - **Get Many**: List all Kubernetes clusters in a project
170
+ - **Create**: Create a new Kubernetes cluster with specified version and region
171
+ - **Update**: Update cluster settings (name, version)
172
+ - **Reset**: Reset cluster to default configuration
173
+ - **Delete**: Delete a Kubernetes cluster
174
+
175
+ #### Node Pool Operations
176
+ - **Get**: Get node pool information
177
+ - **Get Many**: List all node pools in a cluster
178
+ - **Create**: Create a new node pool with autoscaling configuration
179
+ - **Update**: Update node pool settings (desired nodes, min/max nodes, autoscaling)
180
+ - **Delete**: Delete a node pool
181
+
182
+ #### Kubeconfig Operations
183
+ - **Get**: Get kubeconfig file for cluster access
184
+ - **Reset**: Reset kubeconfig credentials
185
+
186
+ ### OVH Container Registry Node
187
+
188
+ #### Registry Operations
189
+ - **Get**: Get container registry information
190
+ - **Get Many**: List all container registries in a project
191
+ - **Create**: Create a new managed container registry with specified plan and region
192
+ - **Update**: Update registry settings (name)
193
+ - **Delete**: Delete a container registry
194
+
195
+ #### User Operations
196
+ - **Get**: Get registry user information
197
+ - **Get Many**: List all users with access to a registry
198
+ - **Create**: Create a new registry user with email and login
199
+ - **Update**: Update user settings (email)
200
+ - **Delete**: Delete a registry user
201
+
202
+ #### Plan Operations
203
+ - **Get Many**: List available container registry plans and pricing
204
+
205
+ ### OVH Public Cloud Compute Node
206
+
207
+ #### Instance Operations
208
+ - **Get**: Get compute instance information
209
+ - **Get Many**: List all compute instances in a project
210
+ - **Create**: Create a new compute instance with specified flavor, image, and region
211
+ - **Update**: Update instance settings (name)
212
+ - **Delete**: Delete a compute instance
213
+ - **Start**: Start a stopped compute instance
214
+ - **Stop**: Stop a running compute instance
215
+ - **Reboot**: Reboot a compute instance (soft or hard reboot)
216
+ - **Reinstall**: Reinstall a compute instance with a new image
217
+ - **Resize**: Resize a compute instance to a different flavor
218
+
219
+ #### Instance Backup Operations
220
+ - **Get**: Get instance backup information
221
+ - **Get Many**: List all backups for an instance
222
+ - **Create**: Create a manual backup of an instance
223
+ - **Restore**: Restore an instance from a backup
224
+ - **Delete**: Delete an instance backup
225
+
226
+ #### SSH Key Operations
227
+ - **Get**: Get SSH key information
228
+ - **Get Many**: List all SSH keys in a project
229
+ - **Create**: Create a new SSH key pair
230
+ - **Delete**: Delete an SSH key
231
+
232
+ #### Flavor Operations
233
+ - **Get**: Get flavor (instance type) information
234
+ - **Get Many**: List all available flavors
235
+
236
+ #### Image Operations
237
+ - **Get**: Get image information
238
+ - **Get Many**: List all available images
239
+
240
+ #### Region Operations
241
+ - **Get Many**: List all available regions
242
+
243
+ ### OVH Public Cloud Storage Node
244
+
245
+ #### Container Operations
246
+ - **Get**: Get storage container information
247
+ - **Get Many**: List all storage containers in a project
248
+ - **Create**: Create a new storage container with specified region
249
+ - **Update**: Update container settings (versioning, type)
250
+ - **Delete**: Delete a storage container
251
+
252
+ #### Credential Operations
253
+ - **Get**: Get storage credentials information
254
+ - **Get Many**: List all storage credentials for a project
255
+ - **Create**: Create new storage access credentials
256
+ - **Delete**: Delete storage credentials
257
+
258
+ #### User Operations
259
+ - **Get**: Get storage user information
260
+ - **Get Many**: List all storage users in a project
261
+ - **Create**: Create a new storage user with description
262
+ - **Delete**: Delete a storage user
263
+
264
+ #### Presigned URL Operations
265
+ - **Create**: Create presigned URLs for secure object access (GET/PUT operations)
266
+
267
+ #### Storage Operations
268
+ - **Get Many**: List all storage services in a project
269
+
270
+ #### Region Operations
271
+ - **Get Many**: List all available storage regions
272
+
273
+ ### OVH Web PaaS Node
274
+
275
+ #### Project Operations
276
+ - **Get**: Get Web PaaS project information
277
+ - **Get Many**: List all Web PaaS projects
278
+ - **Create**: Create a new Web PaaS project with specified plan and region
279
+ - **Update**: Update project settings (title, default branch)
280
+ - **Delete**: Delete a Web PaaS project
281
+
282
+ #### Subscription Operations
283
+ - **Get**: Get subscription information and service details
284
+ - **Get Many**: List all Web PaaS subscriptions
285
+
286
+ #### Environment Operations
287
+ - **Get**: Get environment information
288
+ - **Get Many**: List all environments in a project
289
+ - **Activate**: Activate an environment
290
+ - **Deactivate**: Deactivate an environment
291
+
292
+ #### Deployment Operations
293
+ - **Get**: Get deployment information
294
+ - **Get Many**: List all deployments for an environment
295
+ - **Trigger**: Trigger a new deployment
296
+
297
+ #### User Operations
298
+ - **Get**: Get user information
299
+ - **Get Many**: List all users in a project
300
+ - **Add**: Add a new user to the project with specified role
301
+ - **Update**: Update user permissions and role
302
+ - **Remove**: Remove a user from the project
303
+
304
+ #### Certificate Operations
305
+ - **Get**: Get SSL certificate information
306
+ - **Get Many**: List all certificates for an environment
307
+ - **Add**: Add a new SSL certificate with private key
308
+ - **Delete**: Delete an SSL certificate
309
+
310
+ #### Capability Operations
311
+ - **Get Many**: List all available Web PaaS capabilities and features
312
+
313
+ ### OVH Private Network Node
314
+
315
+ #### vRack Operations
316
+ - **Get**: Get vRack information and configuration
317
+ - **Get Many**: List all vRacks available
318
+ - **Update**: Update vRack settings (name, description)
319
+
320
+ #### Service Operations
321
+ - **Get Many**: List all services allowed in vRack
322
+ - **Add**: Add a service to vRack (assign)
323
+ - **Remove**: Remove a service from vRack (unassign)
324
+
325
+ #### Cloud Project Operations
326
+ - **Get Many**: List all cloud projects in vRack
327
+ - **Add**: Add a cloud project to vRack
328
+ - **Remove**: Remove a cloud project from vRack
329
+
330
+ #### Dedicated Server Operations
331
+ - **Get Many**: List all dedicated servers in vRack
332
+ - **Add**: Add a dedicated server to vRack
333
+ - **Remove**: Remove a dedicated server from vRack
334
+
335
+ #### IP Block Operations
336
+ - **Get Many**: List all IP blocks in vRack
337
+ - **Add**: Add an IP block to vRack
338
+ - **Remove**: Remove an IP block from vRack
339
+
340
+ #### Private Network Operations
341
+ - **Get**: Get private network information
342
+ - **Get Many**: List all private networks in a project
343
+ - **Create**: Create a new private network with VLAN configuration
344
+ - **Update**: Update private network settings (name)
345
+ - **Delete**: Delete a private network
346
+
347
+ #### Task Operations
348
+ - **Get**: Get task information
349
+ - **Get Many**: List all tasks for vRack operations
350
+
351
+ ## Credentials
352
+
353
+ To use this node, you need to create OVH API credentials:
354
+
355
+ 1. Go to the OVH API token creation page for your region:
356
+ - EU: https://eu.api.ovh.com/createToken/
357
+ - CA: https://ca.api.ovh.com/createToken/
358
+ - US: https://api.us.ovhcloud.com/createToken/
359
+
360
+ 2. Set the required rights for your application (e.g., GET/PUT/POST/DELETE on /domain/*)
361
+
362
+ 3. You'll receive:
363
+ - Application Key
364
+ - Application Secret
365
+ - Consumer Key
366
+
367
+ 4. Add these credentials in n8n when configuring the OVH node
368
+
369
+ ## About Ascenzia
370
+
371
+ [Ascenzia](https://ascenzia.fr) is a French technology company specializing in AI agent creation and intelligent automation solutions. We help businesses build and deploy sophisticated AI agents that can interact with various APIs and automate complex workflows.
372
+
373
+ ### Our Services
374
+ - **AI Agent Development**: Design and creation of custom AI agents for business automation
375
+ - **Intelligent Workflow Automation**: Building smart workflows with AI decision-making capabilities
376
+ - **API Integration**: Connecting AI agents with external services and platforms
377
+ - **Custom AI Solutions**: Tailored artificial intelligence solutions for specific business needs
378
+
379
+ Visit [ascenzia.fr](https://ascenzia.fr) for your AI agent development projects.
380
+
381
+ ## Resources
382
+
383
+ - [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
384
+ - [OVH API documentation](https://api.ovh.com/)
385
+ - [Ascenzia website](https://ascenzia.fr)
386
+
387
+ ## License
388
+
389
+ [MIT](LICENSE.md)
390
+
391
+ ---
392
+
393
+ **© 2025 Ascenzia - Powering AI Agent Innovation**
@@ -0,0 +1,8 @@
1
+ import { ICredentialType, INodeProperties, ICredentialTestRequest } from 'n8n-workflow';
2
+ export declare class OvhApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ test: ICredentialTestRequest;
8
+ }
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OvhApi = void 0;
4
+ class OvhApi {
5
+ constructor() {
6
+ this.name = 'ovhApi';
7
+ this.displayName = 'OVH API';
8
+ this.documentationUrl = 'https://api.ovh.com/console/';
9
+ this.properties = [
10
+ {
11
+ displayName: 'Endpoint',
12
+ name: 'endpoint',
13
+ type: 'options',
14
+ options: [
15
+ {
16
+ name: 'OVH Europe',
17
+ value: 'https://eu.api.ovh.com/1.0',
18
+ },
19
+ {
20
+ name: 'OVH Canada',
21
+ value: 'https://ca.api.ovh.com/1.0',
22
+ },
23
+ {
24
+ name: 'OVH US',
25
+ value: 'https://api.us.ovhcloud.com/1.0',
26
+ },
27
+ {
28
+ name: 'So you Start Europe',
29
+ value: 'https://eu.api.soyoustart.com/1.0',
30
+ },
31
+ {
32
+ name: 'So you Start Canada',
33
+ value: 'https://ca.api.soyoustart.com/1.0',
34
+ },
35
+ {
36
+ name: 'Kimsufi Europe',
37
+ value: 'https://eu.api.kimsufi.com/1.0',
38
+ },
39
+ {
40
+ name: 'Kimsufi Canada',
41
+ value: 'https://ca.api.kimsufi.com/1.0',
42
+ },
43
+ ],
44
+ default: 'https://eu.api.ovh.com/1.0',
45
+ description: 'The OVH API endpoint to use.',
46
+ },
47
+ {
48
+ displayName: 'Application Key',
49
+ name: 'applicationKey',
50
+ type: 'string',
51
+ typeOptions: { password: true },
52
+ default: '',
53
+ description: 'Your OVH application key.',
54
+ required: true,
55
+ },
56
+ {
57
+ displayName: 'Application Secret',
58
+ name: 'applicationSecret',
59
+ type: 'string',
60
+ typeOptions: {
61
+ password: true,
62
+ },
63
+ default: '',
64
+ description: 'Your OVH application secret.',
65
+ required: true,
66
+ },
67
+ {
68
+ displayName: 'Consumer Key',
69
+ name: 'consumerKey',
70
+ type: 'string',
71
+ typeOptions: {
72
+ password: true,
73
+ },
74
+ default: '',
75
+ description: 'Your OVH consumer key.',
76
+ required: true,
77
+ },
78
+ ];
79
+ this.test = {
80
+ request: {
81
+ baseURL: '={{$credentials.endpoint}}',
82
+ url: '/me',
83
+ method: 'GET',
84
+ },
85
+ rules: [
86
+ {
87
+ type: 'responseSuccessBody',
88
+ properties: {
89
+ key: 'nichandle',
90
+ value: '',
91
+ message: 'Invalid credentials',
92
+ },
93
+ },
94
+ ],
95
+ };
96
+ }
97
+ }
98
+ exports.OvhApi = OvhApi;
99
+ //# sourceMappingURL=OvhApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OvhApi.credentials.js","sourceRoot":"","sources":["../../credentials/OvhApi.credentials.ts"],"names":[],"mappings":";;;AAMA,MAAa,MAAM;IAAnB;QACC,SAAI,GAAG,QAAQ,CAAC;QAChB,gBAAW,GAAG,SAAS,CAAC;QACxB,qBAAgB,GAAG,8BAA8B,CAAC;QAClD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,4BAA4B;qBACnC;oBACD;wBACC,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,4BAA4B;qBACnC;oBACD;wBACC,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,iCAAiC;qBACxC;oBACD;wBACC,IAAI,EAAE,qBAAqB;wBAC3B,KAAK,EAAE,mCAAmC;qBAC1C;oBACD;wBACC,IAAI,EAAE,qBAAqB;wBAC3B,KAAK,EAAE,mCAAmC;qBAC1C;oBACD;wBACC,IAAI,EAAE,gBAAgB;wBACtB,KAAK,EAAE,gCAAgC;qBACvC;oBACD;wBACC,IAAI,EAAE,gBAAgB;wBACtB,KAAK,EAAE,gCAAgC;qBACvC;iBACD;gBACD,OAAO,EAAE,4BAA4B;gBACrC,WAAW,EAAE,8BAA8B;aAC3C;YACD;gBACC,WAAW,EAAE,iBAAiB;gBAC9B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2BAA2B;gBACxC,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,oBAAoB;gBACjC,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,8BAA8B;gBAC3C,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,wBAAwB;gBACrC,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,4BAA4B;gBACrC,GAAG,EAAE,KAAK;gBACV,MAAM,EAAE,KAAK;aACb;YACD,KAAK,EAAE;gBACN;oBACC,IAAI,EAAE,qBAAqB;oBAC3B,UAAU,EAAE;wBACX,GAAG,EAAE,WAAW;wBAChB,KAAK,EAAE,EAAE;wBACT,OAAO,EAAE,qBAAqB;qBAC9B;iBACD;aACD;SACD,CAAC;IACH,CAAC;CAAA;AA5FD,wBA4FC"}
@@ -0,0 +1,5 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class OvhAI implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }