n8n-nodes-ovhcloud 0.0.4 → 0.0.6

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 (55) hide show
  1. package/README.md +133 -122
  2. package/dist/nodes/OvhCloud/OvhCloud.node.d.ts +1 -5
  3. package/dist/nodes/OvhCloud/OvhCloud.node.js +25 -14
  4. package/dist/nodes/OvhCloud/OvhCloud.node.js.map +1 -1
  5. package/dist/nodes/OvhCloud/resources/me.d.ts +4 -0
  6. package/dist/nodes/OvhCloud/resources/me.js +338 -0
  7. package/dist/nodes/OvhCloud/resources/me.js.map +1 -0
  8. package/dist/nodes/OvhCloud/resources/services.d.ts +6 -0
  9. package/dist/nodes/OvhCloud/resources/services.js +283 -0
  10. package/dist/nodes/OvhCloud/resources/services.js.map +1 -0
  11. package/dist/nodes/OvhCloud/resources/vps.d.ts +6 -0
  12. package/dist/nodes/OvhCloud/resources/vps.js +483 -0
  13. package/dist/nodes/OvhCloud/resources/vps.js.map +1 -0
  14. package/dist/nodes/OvhCloud/shared/OvhCloudApiClient.d.ts +12 -0
  15. package/dist/nodes/OvhCloud/shared/OvhCloudApiClient.js +44 -0
  16. package/dist/nodes/OvhCloud/shared/OvhCloudApiClient.js.map +1 -0
  17. package/dist/package.json +19 -2
  18. package/dist/tsconfig.tsbuildinfo +1 -1
  19. package/package.json +19 -2
  20. package/dist/nodes/OvhCloud/listSearch/getServices.d.ts +0 -2
  21. package/dist/nodes/OvhCloud/listSearch/getServices.js +0 -30
  22. package/dist/nodes/OvhCloud/listSearch/getServices.js.map +0 -1
  23. package/dist/nodes/OvhCloud/resources/domain/get.d.ts +0 -0
  24. package/dist/nodes/OvhCloud/resources/domain/get.js +0 -2
  25. package/dist/nodes/OvhCloud/resources/domain/get.js.map +0 -1
  26. package/dist/nodes/OvhCloud/resources/domain/index.d.ts +0 -3
  27. package/dist/nodes/OvhCloud/resources/domain/index.js +0 -32
  28. package/dist/nodes/OvhCloud/resources/domain/index.js.map +0 -1
  29. package/dist/nodes/OvhCloud/resources/domain/list.d.ts +0 -0
  30. package/dist/nodes/OvhCloud/resources/domain/list.js +0 -2
  31. package/dist/nodes/OvhCloud/resources/domain/list.js.map +0 -1
  32. package/dist/nodes/OvhCloud/resources/me/debtAccount.d.ts +0 -3
  33. package/dist/nodes/OvhCloud/resources/me/debtAccount.js +0 -17
  34. package/dist/nodes/OvhCloud/resources/me/debtAccount.js.map +0 -1
  35. package/dist/nodes/OvhCloud/resources/me/get.d.ts +0 -4
  36. package/dist/nodes/OvhCloud/resources/me/get.js +0 -19
  37. package/dist/nodes/OvhCloud/resources/me/get.js.map +0 -1
  38. package/dist/nodes/OvhCloud/resources/me/getOrder.d.ts +0 -3
  39. package/dist/nodes/OvhCloud/resources/me/getOrder.js +0 -61
  40. package/dist/nodes/OvhCloud/resources/me/getOrder.js.map +0 -1
  41. package/dist/nodes/OvhCloud/resources/me/index.d.ts +0 -4
  42. package/dist/nodes/OvhCloud/resources/me/index.js +0 -65
  43. package/dist/nodes/OvhCloud/resources/me/index.js.map +0 -1
  44. package/dist/nodes/OvhCloud/resources/me/listBill.d.ts +0 -4
  45. package/dist/nodes/OvhCloud/resources/me/listBill.js +0 -99
  46. package/dist/nodes/OvhCloud/resources/me/listBill.js.map +0 -1
  47. package/dist/nodes/OvhCloud/resources/services/get.d.ts +0 -7
  48. package/dist/nodes/OvhCloud/resources/services/get.js +0 -96
  49. package/dist/nodes/OvhCloud/resources/services/get.js.map +0 -1
  50. package/dist/nodes/OvhCloud/resources/services/index.d.ts +0 -6
  51. package/dist/nodes/OvhCloud/resources/services/index.js +0 -47
  52. package/dist/nodes/OvhCloud/resources/services/index.js.map +0 -1
  53. package/dist/nodes/OvhCloud/resources/services/list.d.ts +0 -4
  54. package/dist/nodes/OvhCloud/resources/services/list.js +0 -97
  55. package/dist/nodes/OvhCloud/resources/services/list.js.map +0 -1
package/README.md CHANGED
@@ -1,29 +1,39 @@
1
1
  # n8n-nodes-ovhcloud
2
2
 
3
- Ce projet est un nœud communautaire n8n qui permet d'intégrer les services OVH Cloud dans vos workflows n8n.
3
+ Nœud communautaire n8n pour interagir avec les APIs OVHcloud.
4
4
 
5
- [n8n](https://n8n.io/) est une plateforme d'automatisation de workflows sous [licence fair-code](https://docs.n8n.io/sustainable-use-license/).
5
+ [n8n](https://n8n.io/) est une plateforme dautomatisation de workflows sous [licence fair-code](https://docs.n8n.io/sustainable-use-license/).
6
6
 
7
- ## Table des matières
7
+ ## Sommaire
8
8
 
9
+ - [Fonctionnalités](#fonctionnalités)
9
10
  - [Installation](#installation)
10
- - [Opérations](#opérations)
11
- - [Identifiants](#identifiants)
11
+ - [Configuration des credentials OVH](#configuration-des-credentials-ovh)
12
+ - [Opérations disponibles](#opérations-disponibles)
12
13
  - [Compatibilité](#compatibilité)
13
14
  - [Développement](#développement)
14
- - [License](#license)
15
+ - [Contribution](#contribution)
16
+ - [Licence](#licence)
15
17
  - [Ressources](#ressources)
16
18
 
19
+ ## Fonctionnalités
20
+
21
+ - Ressource **Services** : lister les services, récupérer un service par ID, obtenir les formulaires, options et upgrades disponibles
22
+ - Ressource **Me** : informations du compte, factures, dette, commandes
23
+ - Ressource **VPS** : lister les VPS, obtenir les détails d'un VPS, lister les datacenters, créer des snapshots, gérer les disques
24
+ - Authentification OVH via signature (`Application Key`, `Application Secret`, `Consumer Key`)
25
+ - Support multi-endpoints : OVH Europe/Canada/USA, SoYouStart, Kimsufi
26
+
17
27
  ## Installation
18
28
 
19
- Suivez le [guide d'installation](https://docs.n8n.io/integrations/community-nodes/installation/) dans la documentation des nœuds communautaires n8n.
29
+ Suivez le [guide d'installation des community nodes n8n](https://docs.n8n.io/integrations/community-nodes/installation/).
20
30
 
21
- ### Installation via l'interface n8n
31
+ ### Depuis linterface n8n
22
32
 
23
- 1. Allez dans **Settings** > **Community Nodes**
24
- 2. Sélectionnez **Install**
25
- 3. Entrez `n8n-nodes-ovhcloud` dans le champ de recherche
26
- 4. Cliquez sur **Install**
33
+ 1. Ouvrez **Settings** > **Community Nodes**
34
+ 2. Cliquez sur **Install**
35
+ 3. Recherchez `n8n-nodes-ovhcloud`
36
+ 4. Installez le package
27
37
 
28
38
  ### Installation manuelle
29
39
 
@@ -31,74 +41,106 @@ Suivez le [guide d'installation](https://docs.n8n.io/integrations/community-node
31
41
  npm install n8n-nodes-ovhcloud
32
42
  ```
33
43
 
34
- ## Opérations
35
-
36
- ### Services
37
-
38
- - **List Services** - Liste tous les services disponibles
39
- - Filtrage par nom de service
40
- - Filtrage par route
41
- - Tri par Service ID (ascendant/descendant)
42
-
43
- - **Get Service** - Récupère un service spécifique par son ID
44
- - Supporte plusieurs types de services : Dedicated Server, Domain, Email, Hosting, etc.
45
-
46
- ### Domaines (en développement)
47
-
48
- - **List Domains** - Liste tous les domaines
49
- - **Get Domain** - Récupère un domaine spécifique par son ID
50
-
51
- ## Identifiants
52
-
53
- Ce nœud utilise l'authentification par clés API OVH. Vous devez créer une application et obtenir vos clés d'accès.
44
+ ## Configuration des credentials OVH
54
45
 
55
- ### Configuration des identifiants
46
+ Le nœud utilise le credential **OVH API** avec :
56
47
 
57
- 1. Rendez-vous sur le portail de création d'applications OVH selon votre région :
58
- - Europe : https://eu.api.ovh.com/createApp/
59
- - Canada : https://ca.api.ovh.com/createApp/
60
- - USA : https://api.us.ovhcloud.com/createApp/
48
+ - `Endpoint`
49
+ - `Application Key`
50
+ - `Application Secret`
51
+ - `Consumer Key`
61
52
 
62
- 2. Remplissez les informations requises :
63
- - **Application name** : Nom descriptif (ex: "n8n integration")
64
- - **Application description** : Description de votre application
53
+ Portails de création d’application OVHcloud :
65
54
 
66
- 3. Récupérez vos clés :
67
- - **Application Key** : Votre clé d'application
68
- - **Application Secret** : Votre secret d'application
55
+ - Europe : https://eu.api.ovh.com/createApp/
56
+ - Canada : https://ca.api.ovh.com/createApp/
57
+ - USA : https://api.us.ovhcloud.com/createApp/
69
58
 
70
- 4. Générez un **Consumer Key** :
71
- - Utilisez le script de génération ou créez une requête vers `/auth/credential`
72
- - Définissez les droits d'accès nécessaires pour vos workflows
59
+ ### Permissions API recommandées
73
60
 
74
- 5. Dans n8n, créez un nouveau credential "OVH API" et renseignez :
75
- - **Endpoint** : Sélectionnez votre région (OVH Europe, Canada, USA, etc.)
76
- - **Application Key**
77
- - **Application Secret**
78
- - **Consumer Key**
79
-
80
- ### Droits d'accès recommandés
81
-
82
- Pour utiliser toutes les fonctionnalités du nœud, les droits suivants sont recommandés :
83
-
84
- ```
61
+ ```text
62
+ GET /me
63
+ GET /me/bill
64
+ GET /me/bill/*
65
+ GET /me/debtAccount
66
+ GET /me/order
67
+ GET /me/order/*
85
68
  GET /services
86
69
  GET /services/*
87
- GET /domain
88
- GET /hosting/web
70
+ GET /vps
71
+ GET /vps/*
72
+ GET /vps/*/snapshot
73
+ POST /vps/*/snapshot
74
+ GET /vps/*/disks
75
+ GET /vps/*/disks/*
76
+ GET /dedicated/ceph/*
77
+ GET /dedicated/cluster/*
78
+ GET /dedicated/housing/*
79
+ GET /dedicated/server/*
80
+ GET /domain/*
81
+ GET /email/domain/*
82
+ GET /email/pro/*
83
+ GET /hosting/web/*
89
84
  ```
90
85
 
91
- Référez-vous à la [documentation API OVH](https://api.ovh.com/console/) pour plus d'informations sur les endpoints et les droits d'accès.
86
+ ## Opérations disponibles
87
+
88
+ ### Resource: Services
89
+
90
+ - **List Services**
91
+ - Tri par `serviceId` (asc/desc)
92
+ - Filtre par nom de service (`resourceName`)
93
+ - Filtre par route (`routes`, liste séparée par virgules)
94
+ - **Get Service**
95
+ - Sélection du type de service (Dedicated Ceph, Dedicated Cluster, Dedicated Housing, Dedicated Server, Domain, Email, Email Pro, Hosting)
96
+ - Sélection du service depuis une liste dynamique
97
+ - **Get Service Forms**
98
+ - Récupère les formulaires disponibles pour un service spécifique
99
+ - **Get Service Options**
100
+ - Récupère les options disponibles pour un service spécifique
101
+ - **Get Service Upgrades**
102
+ - Liste les offres vers lesquelles un service peut être converti
103
+
104
+ ### Resource: Me
105
+
106
+ - **Sub-resource Me**
107
+ - **Get My Info** (`GET /me`) : informations du compte authentifié
108
+ - **Sub-resource Bills**
109
+ - **List Bills** : liste toutes les factures avec détails
110
+ - **Get Bill** : récupère une facture spécifique par ID
111
+ - Filtres disponibles : catégorie (autorenew, earlyrenewal, purchase, purchase-cloud, purchase-servers, purchase-telecom, purchase-web), `orderId`
112
+ - **Sub-resource Debt Account**
113
+ - **Get Debt Account** (`GET /me/debtAccount`) : informations sur le compte de dette
114
+ - **Sub-resource Orders**
115
+ - **List Orders** : liste toutes les commandes
116
+ - **Get Order** : récupère une commande spécifique par ID
117
+ - Filtres disponibles : `date.from`, `date.to`
118
+
119
+ ### Resource: VPS
120
+
121
+ - **List VPS**
122
+ - Liste tous les VPS disponibles
123
+ - **List Datacenters**
124
+ - Liste tous les datacenters disponibles pour l'utilisateur authentifié
125
+ - **Get VPS Details**
126
+ - Récupère les détails d'un VPS spécifique
127
+ - Sous-ressources disponibles : Automated Backup, Available Upgrade, Backup FTP, Datacenter, Disks, Distribution, IP Country Available, IPs, Models, Option, Secondary DNS Domains, Service Infos, Snapshot, Status, VPS
128
+ - **Disks Operations** :
129
+ - List Disks : liste tous les disques d'un VPS
130
+ - Get Disk : récupère les détails d'un disque spécifique
131
+ - **Create VPS Snapshot**
132
+ - Crée un snapshot d'un VPS
133
+ - Description personnalisable du snapshot
92
134
 
93
135
  ## Compatibilité
94
136
 
95
- Compatible avec n8n@1.60.0 ou ultérieur
137
+ - n8n `>= 1.60.0`
96
138
 
97
139
  ## Développement
98
140
 
99
141
  ### Prérequis
100
142
 
101
- - Node.js (version recommandée dans le dev container)
143
+ - Node.js
102
144
  - npm
103
145
 
104
146
  ### Installation des dépendances
@@ -107,89 +149,58 @@ Compatible avec n8n@1.60.0 ou ultérieur
107
149
  npm install
108
150
  ```
109
151
 
110
- ### Scripts disponibles
152
+ ### Scripts
111
153
 
112
154
  ```bash
113
- # Compilation du projet
114
155
  npm run build
115
-
116
- # Compilation en mode watch
117
156
  npm run build:watch
118
-
119
- # Démarrage en mode développement
120
157
  npm run dev
121
-
122
- # Vérification du code (linting)
123
158
  npm run lint
124
-
125
- # Correction automatique du linting
126
159
  npm run lint:fix
127
-
128
- # Publication d'une nouvelle version
129
160
  npm run release
130
161
  ```
131
162
 
132
163
  ### Structure du projet
133
164
 
134
- ```
165
+ ```text
135
166
  .
136
- ├── credentials/ # Configuration des identifiants
137
- └── OvhCloudApi.credentials.ts
138
- ├── nodes/ # Nœuds n8n
167
+ ├── credentials/
168
+ ├── OvhCloudApi.credentials.ts
169
+ │ └── OvhCloudApi.credentials.js
170
+ ├── nodes/
139
171
  │ └── OvhCloud/
140
172
  │ ├── OvhCloud.node.ts
141
- │ ├── listSearch/ # Fonctions de recherche
142
- └── resources/ # Ressources (services, domaines, etc.)
143
- ├── icons/ # Icônes du nœud
144
- └── dist/ # Fichiers compilés
173
+ │ ├── resources/
174
+ ├── me.ts
175
+ │ │ ├── services.ts
176
+ │ │ └── vps.ts
177
+ │ └── shared/
178
+ │ └── OvhCloudApiClient.ts
179
+ ├── icons/
180
+ │ ├── ovh.svg
181
+ │ └── ovh_vertical.svg
182
+ └── dist/
145
183
  ```
146
184
 
147
- ### Ajout d'une nouvelle ressource
148
-
149
- 1. Créez un nouveau dossier dans `nodes/OvhCloud/resources/`
150
- 2. Implémentez les opérations dans des fichiers séparés (list.ts, get.ts, etc.)
151
- 3. Créez un fichier index.ts pour exporter les descriptions et méthodes
152
- 4. Ajoutez la ressource dans `nodes/OvhCloud/OvhCloud.node.ts`
153
-
154
- ### Tests
155
-
156
- Pour tester votre nœud localement :
157
-
158
- 1. Lancez n8n en mode développement :
159
- ```bash
160
- npm run dev
161
- ```
185
+ ## Contribution
162
186
 
163
- 2. n8n sera accessible à l'adresse indiquée dans la console
187
+ Les contributions sont bienvenues.
164
188
 
165
- 3. Créez un nouveau workflow et ajoutez le nœud "OVH Cloud"
189
+ 1. Fork du dépôt
190
+ 2. Création d’une branche (`git checkout -b feature/ma-feature`)
191
+ 3. Commit (`git commit -m "feat: ..."`)
192
+ 4. Push
193
+ 5. Ouverture d’une Pull Request
166
194
 
167
- ## License
195
+ ## Licence
168
196
 
169
- [MIT License](LICENSE)
197
+ [MIT](LICENSE)
170
198
 
171
199
  Copyright (c) 2026 Cyril MARIN
172
200
 
173
201
  ## Ressources
174
202
 
175
- - [Documentation des nœuds communautaires n8n](https://docs.n8n.io/integrations/#community-nodes)
176
- - [Documentation API OVH](https://api.ovh.com/)
177
- - [Console API OVH](https://api.ovh.com/console/)
178
- - [Guide de création d'application OVH](https://help.ovhcloud.com/csm/en-manage-ovhcloud-api-tokens?id=kb_article_view&sysparm_article=KB0042784)
179
-
180
- ## Contribution
181
-
182
- Les contributions sont les bienvenues ! N'hésitez pas à :
183
-
184
- 1. Fork le projet
185
- 2. Créer une branche pour votre fonctionnalité (`git checkout -b feature/AmazingFeature`)
186
- 3. Commit vos changements (`git commit -m 'Add some AmazingFeature'`)
187
- 4. Push vers la branche (`git push origin feature/AmazingFeature`)
188
- 5. Ouvrir une Pull Request
189
-
190
- ## Support
191
-
192
- Pour toute question ou problème :
193
-
194
- - Ouvrez une [issue](https://github.com/ziouf/n8n-nodes-ovhcloud/issues) sur GitHub
195
- - Contactez l'auteur : marin.cyril@gmail.com
203
+ - [Documentation n8n community nodes](https://docs.n8n.io/integrations/#community-nodes)
204
+ - [Documentation API OVHcloud](https://api.ovh.com/)
205
+ - [API Console OVHcloud](https://api.ovh.com/console/)
206
+ - [Guide OVHcloud - API tokens](https://help.ovhcloud.com/csm/en-manage-ovhcloud-api-tokens?id=kb_article_view&sysparm_article=KB0042784)
@@ -1,10 +1,6 @@
1
1
  import { IExecuteFunctions, type INodeExecutionData, type INodeType, type INodeTypeDescription } from 'n8n-workflow';
2
2
  export declare class OvhCloud implements INodeType {
3
3
  description: INodeTypeDescription;
4
- methods: {
5
- listSearch: {
6
- getServices: typeof import("./listSearch/getServices").getServices;
7
- };
8
- };
4
+ methods: INodeType['methods'];
9
5
  execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
10
6
  }
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OvhCloud = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
- const services_1 = require("./resources/services");
6
5
  const OvhCloudApi_credentials_1 = require("../../credentials/OvhCloudApi.credentials");
7
- const domain_1 = require("./resources/domain");
8
6
  const me_1 = require("./resources/me");
7
+ const services_1 = require("./resources/services");
8
+ const vps_1 = require("./resources/vps");
9
9
  class OvhCloud {
10
10
  constructor() {
11
11
  this.description = {
@@ -35,10 +35,6 @@ class OvhCloud {
35
35
  type: 'options',
36
36
  noDataExpression: true,
37
37
  options: [
38
- {
39
- name: 'Domain',
40
- value: 'domain',
41
- },
42
38
  {
43
39
  name: 'Service',
44
40
  value: 'services',
@@ -47,28 +43,43 @@ class OvhCloud {
47
43
  name: 'Me',
48
44
  value: 'me',
49
45
  },
46
+ {
47
+ name: 'VPS',
48
+ value: 'vps',
49
+ }
50
50
  ],
51
51
  default: 'services',
52
52
  },
53
- ...services_1.servicesDescription,
54
- ...me_1.meDescription,
53
+ ...(0, me_1.description)({ show: { resource: ['me'] } }),
54
+ ...(0, services_1.description)({ show: { resource: ['services'] } }),
55
+ ...(0, vps_1.description)({ show: { resource: ['vps'] } }),
55
56
  ],
56
57
  };
57
58
  this.methods = {
58
- listSearch: Object.assign({}, services_1.servicesMethods, domain_1.domainMethods),
59
+ listSearch: {
60
+ ...me_1.methodsListSearch,
61
+ ...services_1.methodsListSearch,
62
+ ...vps_1.methodsListSearch,
63
+ },
59
64
  };
60
65
  }
61
66
  async execute() {
62
67
  const resource = this.getNodeParameter('resource', 0);
68
+ let responseData;
63
69
  switch (resource) {
70
+ case 'me':
71
+ responseData = await me_1.execute.call(this);
72
+ break;
64
73
  case 'services':
65
- return await services_1.servicesExecute.call(this);
66
- case 'domain':
74
+ responseData = await services_1.execute.call(this);
67
75
  break;
68
- case 'me':
69
- return await me_1.meExecute.call(this);
76
+ case 'vps':
77
+ responseData = await vps_1.execute.call(this);
78
+ break;
79
+ default:
80
+ throw new n8n_workflow_1.NodeApiError(this.getNode(), { message: `The resource "${resource}" cannot be executed directly. Please select an operation to execute.` });
70
81
  }
71
- throw new n8n_workflow_1.NodeApiError(this.getNode(), { message: `The resource "${resource}" cannot be executed directly. Please select an operation to execute.` });
82
+ return [this.helpers.returnJsonArray(responseData)];
72
83
  }
73
84
  }
74
85
  exports.OvhCloud = OvhCloud;
@@ -1 +1 @@
1
- {"version":3,"file":"OvhCloud.node.js","sourceRoot":"","sources":["../../../nodes/OvhCloud/OvhCloud.node.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AACtB,mDAA6F;AAC7F,uFAAkF;AAClF,+CAAmD;AACnD,uCAA0D;AAE1D,MAAa,QAAQ;IAArB;QACI,gBAAW,GAAyB;YAChC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,mCAAmC;YACzC,KAAK,EAAE,CAAC,OAAO,CAAC;YAChB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE;gBACN,IAAI,EAAE,WAAW;aACpB;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACT;oBACI,IAAI,EAAE,+CAAqB;oBAC3B,QAAQ,EAAE,IAAI;iBACjB;aACJ;YACD,UAAU,EAAE;gBAER;oBACI,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACL;4BACI,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,QAAQ;yBAClB;wBACD;4BACI,IAAI,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,QAAQ,EAAE,CAAC;YACf,KAAK,IAAI;gBACL,YAAY,GAAG,MAAM,YAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC1C,MAAM;YACV,KAAK,UAAU;gBACX,YAAY,GAAG,MAAM,kBAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAChD,MAAM;YACV,KAAK,KAAK;gBACN,YAAY,GAAG,MAAM,aAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC3C,MAAM;YACV;gBACI,MAAM,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,iBAAiB,QAAQ,uEAAuE,EAAE,CAAC,CAAC;QAC9J,CAAC;QAED,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC;IACxD,CAAC;CACJ;AAhFD,4BAgFC"}
@@ -0,0 +1,4 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeProperties, IDisplayOptions } from "n8n-workflow";
2
+ export declare function description(displayOptions: IDisplayOptions): INodeProperties[];
3
+ export declare const methodsListSearch: {};
4
+ export declare function execute(this: IExecuteFunctions): Promise<INodeExecutionData[]>;