n8n-nodes-ovhcloud 0.0.3 → 0.0.5
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/README.md +92 -117
- package/dist/nodes/OvhCloud/OvhCloud.node.js +13 -8
- package/dist/nodes/OvhCloud/OvhCloud.node.js.map +1 -1
- package/dist/nodes/OvhCloud/resources/domain/index.d.ts +4 -3
- package/dist/nodes/OvhCloud/resources/domain/index.js +38 -28
- package/dist/nodes/OvhCloud/resources/domain/index.js.map +1 -1
- package/dist/nodes/OvhCloud/resources/me/bill/index.d.ts +3 -0
- package/dist/nodes/OvhCloud/resources/me/bill/index.js +34 -0
- package/dist/nodes/OvhCloud/resources/me/bill/index.js.map +1 -0
- package/dist/nodes/OvhCloud/resources/me/bill/list.d.ts +3 -0
- package/dist/nodes/OvhCloud/resources/me/bill/list.js +88 -0
- package/dist/nodes/OvhCloud/resources/me/bill/list.js.map +1 -0
- package/dist/nodes/OvhCloud/resources/me/debtAccount/get.d.ts +3 -0
- package/dist/nodes/OvhCloud/resources/me/{debtAccount.js → debtAccount/get.js} +8 -6
- package/dist/nodes/OvhCloud/resources/me/debtAccount/get.js.map +1 -0
- package/dist/nodes/OvhCloud/resources/me/debtAccount/index.d.ts +3 -0
- package/dist/nodes/OvhCloud/resources/me/debtAccount/index.js +34 -0
- package/dist/nodes/OvhCloud/resources/me/debtAccount/index.js.map +1 -0
- package/dist/nodes/OvhCloud/resources/me/index.d.ts +4 -4
- package/dist/nodes/OvhCloud/resources/me/index.js +56 -49
- package/dist/nodes/OvhCloud/resources/me/index.js.map +1 -1
- package/dist/nodes/OvhCloud/resources/me/me.d.ts +4 -0
- package/dist/nodes/OvhCloud/resources/me/me.js +47 -0
- package/dist/nodes/OvhCloud/resources/me/me.js.map +1 -0
- package/dist/nodes/OvhCloud/resources/me/order/get.d.ts +3 -0
- package/dist/nodes/OvhCloud/resources/me/order/get.js +55 -0
- package/dist/nodes/OvhCloud/resources/me/order/get.js.map +1 -0
- package/dist/nodes/OvhCloud/resources/me/order/index.d.ts +3 -0
- package/dist/nodes/OvhCloud/resources/me/order/index.js +34 -0
- package/dist/nodes/OvhCloud/resources/me/order/index.js.map +1 -0
- package/dist/nodes/OvhCloud/resources/services/get.d.ts +4 -4
- package/dist/nodes/OvhCloud/resources/services/get.js +73 -77
- package/dist/nodes/OvhCloud/resources/services/get.js.map +1 -1
- package/dist/nodes/OvhCloud/resources/services/index.d.ts +4 -4
- package/dist/nodes/OvhCloud/resources/services/index.js +38 -35
- package/dist/nodes/OvhCloud/resources/services/index.js.map +1 -1
- package/dist/nodes/OvhCloud/resources/services/list.d.ts +4 -4
- package/dist/nodes/OvhCloud/resources/services/list.js +54 -62
- package/dist/nodes/OvhCloud/resources/services/list.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/nodes/OvhCloud/resources/me/debtAccount.d.ts +0 -3
- package/dist/nodes/OvhCloud/resources/me/debtAccount.js.map +0 -1
- package/dist/nodes/OvhCloud/resources/me/get.d.ts +0 -4
- package/dist/nodes/OvhCloud/resources/me/get.js +0 -19
- package/dist/nodes/OvhCloud/resources/me/get.js.map +0 -1
- package/dist/nodes/OvhCloud/resources/me/listBills.d.ts +0 -4
- package/dist/nodes/OvhCloud/resources/me/listBills.js +0 -99
- package/dist/nodes/OvhCloud/resources/me/listBills.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,29 +1,38 @@
|
|
|
1
1
|
# n8n-nodes-ovhcloud
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Nœud communautaire n8n pour interagir avec les APIs OVHcloud.
|
|
4
4
|
|
|
5
|
-
[n8n](https://n8n.io/) est une plateforme d
|
|
5
|
+
[n8n](https://n8n.io/) est une plateforme d’automatisation de workflows sous [licence fair-code](https://docs.n8n.io/sustainable-use-license/).
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Sommaire
|
|
8
8
|
|
|
9
|
+
- [Fonctionnalités](#fonctionnalités)
|
|
9
10
|
- [Installation](#installation)
|
|
10
|
-
- [
|
|
11
|
-
- [
|
|
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
|
-
- [
|
|
15
|
+
- [Contribution](#contribution)
|
|
16
|
+
- [Licence](#licence)
|
|
15
17
|
- [Ressources](#ressources)
|
|
16
18
|
|
|
19
|
+
## Fonctionnalités
|
|
20
|
+
|
|
21
|
+
- Ressource **Services** : lister les services et récupérer un service par ID
|
|
22
|
+
- Ressource **Me** : informations du compte, factures, dette, commandes
|
|
23
|
+
- Authentification OVH via signature (`Application Key`, `Application Secret`, `Consumer Key`)
|
|
24
|
+
- Support multi-endpoints : OVH Europe/Canada/USA, SoYouStart, Kimsufi
|
|
25
|
+
|
|
17
26
|
## Installation
|
|
18
27
|
|
|
19
|
-
Suivez le [guide d'installation](https://docs.n8n.io/integrations/community-nodes/installation/)
|
|
28
|
+
Suivez le [guide d'installation des community nodes n8n](https://docs.n8n.io/integrations/community-nodes/installation/).
|
|
20
29
|
|
|
21
|
-
###
|
|
30
|
+
### Depuis l’interface n8n
|
|
22
31
|
|
|
23
|
-
1.
|
|
24
|
-
2.
|
|
25
|
-
3.
|
|
26
|
-
4.
|
|
32
|
+
1. Ouvrez **Settings** > **Community Nodes**
|
|
33
|
+
2. Cliquez sur **Install**
|
|
34
|
+
3. Recherchez `n8n-nodes-ovhcloud`
|
|
35
|
+
4. Installez le package
|
|
27
36
|
|
|
28
37
|
### Installation manuelle
|
|
29
38
|
|
|
@@ -31,74 +40,75 @@ Suivez le [guide d'installation](https://docs.n8n.io/integrations/community-node
|
|
|
31
40
|
npm install n8n-nodes-ovhcloud
|
|
32
41
|
```
|
|
33
42
|
|
|
34
|
-
##
|
|
43
|
+
## Configuration des credentials OVH
|
|
35
44
|
|
|
36
|
-
|
|
45
|
+
Le nœud utilise le credential **OVH API** avec :
|
|
37
46
|
|
|
38
|
-
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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.
|
|
47
|
+
- `Endpoint`
|
|
48
|
+
- `Application Key`
|
|
49
|
+
- `Application Secret`
|
|
50
|
+
- `Consumer Key`
|
|
45
51
|
|
|
46
|
-
|
|
52
|
+
Portails de création d’application OVHcloud :
|
|
47
53
|
|
|
48
|
-
-
|
|
49
|
-
-
|
|
54
|
+
- Europe : https://eu.api.ovh.com/createApp/
|
|
55
|
+
- Canada : https://ca.api.ovh.com/createApp/
|
|
56
|
+
- USA : https://api.us.ovhcloud.com/createApp/
|
|
50
57
|
|
|
51
|
-
|
|
58
|
+
### Permissions API recommandées
|
|
52
59
|
|
|
53
|
-
|
|
60
|
+
```text
|
|
61
|
+
GET /me
|
|
62
|
+
GET /me/bill
|
|
63
|
+
GET /me/bill/*
|
|
64
|
+
GET /me/debtAccount
|
|
65
|
+
GET /me/order
|
|
66
|
+
GET /me/order/*
|
|
67
|
+
GET /services
|
|
68
|
+
GET /services/*
|
|
69
|
+
```
|
|
54
70
|
|
|
55
|
-
|
|
71
|
+
## Opérations disponibles
|
|
56
72
|
|
|
57
|
-
|
|
58
|
-
- Europe : https://eu.api.ovh.com/createApp/
|
|
59
|
-
- Canada : https://ca.api.ovh.com/createApp/
|
|
60
|
-
- USA : https://api.us.ovhcloud.com/createApp/
|
|
73
|
+
### Resource: Services
|
|
61
74
|
|
|
62
|
-
|
|
63
|
-
-
|
|
64
|
-
-
|
|
75
|
+
- **List Services**
|
|
76
|
+
- Tri par `serviceId` (asc/desc)
|
|
77
|
+
- Filtre par nom de service (`resourceName`)
|
|
78
|
+
- Filtre par route (`routes`, liste séparée par virgules)
|
|
79
|
+
- **Get Service**
|
|
80
|
+
- Sélection du type de service (Dedicated Server, Domain, Email, Hosting, ...)
|
|
81
|
+
- Sélection du service depuis une liste dynamique
|
|
65
82
|
|
|
66
|
-
|
|
67
|
-
- **Application Key** : Votre clé d'application
|
|
68
|
-
- **Application Secret** : Votre secret d'application
|
|
83
|
+
### Resource: Me
|
|
69
84
|
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
|
|
85
|
+
- **Sub-resource Me**
|
|
86
|
+
- **Get My Info** (`GET /me`)
|
|
87
|
+
- **Sub-resource Bills**
|
|
88
|
+
- **List Bills** (`GET /me/bill` puis détails)
|
|
89
|
+
- Filtres disponibles : catégorie, `date.from`, `date.to`, `orderId`
|
|
90
|
+
- **Sub-resource Debt Account**
|
|
91
|
+
- **Get Debt Account** (`GET /me/debtAccount`)
|
|
92
|
+
- **Sub-resource Orders**
|
|
93
|
+
- **Get Order** (liste + détails via `GET /me/order` et `GET /me/order/{id}`)
|
|
94
|
+
- Filtres disponibles : `date.from`, `date.to`
|
|
73
95
|
|
|
74
|
-
|
|
75
|
-
- **Endpoint** : Sélectionnez votre région (OVH Europe, Canada, USA, etc.)
|
|
76
|
-
- **Application Key**
|
|
77
|
-
- **Application Secret**
|
|
78
|
-
- **Consumer Key**
|
|
96
|
+
### Resource: Domain
|
|
79
97
|
|
|
80
|
-
|
|
98
|
+
- **List Domains**
|
|
99
|
+
- **Get Domain**
|
|
81
100
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
```
|
|
85
|
-
GET /services
|
|
86
|
-
GET /services/*
|
|
87
|
-
GET /domain
|
|
88
|
-
GET /hosting/web
|
|
89
|
-
```
|
|
90
|
-
|
|
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.
|
|
101
|
+
Statut actuel : ces opérations sont déclarées mais pas encore implémentées.
|
|
92
102
|
|
|
93
103
|
## Compatibilité
|
|
94
104
|
|
|
95
|
-
|
|
105
|
+
- n8n `>= 1.60.0`
|
|
96
106
|
|
|
97
107
|
## Développement
|
|
98
108
|
|
|
99
109
|
### Prérequis
|
|
100
110
|
|
|
101
|
-
- Node.js
|
|
111
|
+
- Node.js
|
|
102
112
|
- npm
|
|
103
113
|
|
|
104
114
|
### Installation des dépendances
|
|
@@ -107,89 +117,54 @@ Compatible avec n8n@1.60.0 ou ultérieur
|
|
|
107
117
|
npm install
|
|
108
118
|
```
|
|
109
119
|
|
|
110
|
-
### Scripts
|
|
120
|
+
### Scripts
|
|
111
121
|
|
|
112
122
|
```bash
|
|
113
|
-
# Compilation du projet
|
|
114
123
|
npm run build
|
|
115
|
-
|
|
116
|
-
# Compilation en mode watch
|
|
117
124
|
npm run build:watch
|
|
118
|
-
|
|
119
|
-
# Démarrage en mode développement
|
|
120
125
|
npm run dev
|
|
121
|
-
|
|
122
|
-
# Vérification du code (linting)
|
|
123
126
|
npm run lint
|
|
124
|
-
|
|
125
|
-
# Correction automatique du linting
|
|
126
127
|
npm run lint:fix
|
|
127
|
-
|
|
128
|
-
# Publication d'une nouvelle version
|
|
129
128
|
npm run release
|
|
130
129
|
```
|
|
131
130
|
|
|
132
131
|
### Structure du projet
|
|
133
132
|
|
|
134
|
-
```
|
|
133
|
+
```text
|
|
135
134
|
.
|
|
136
|
-
├── credentials/
|
|
135
|
+
├── credentials/
|
|
137
136
|
│ └── OvhCloudApi.credentials.ts
|
|
138
|
-
├── nodes/
|
|
137
|
+
├── nodes/
|
|
139
138
|
│ └── OvhCloud/
|
|
140
139
|
│ ├── OvhCloud.node.ts
|
|
141
|
-
│ ├── listSearch/
|
|
142
|
-
│ └── resources/
|
|
143
|
-
├──
|
|
144
|
-
|
|
140
|
+
│ ├── listSearch/
|
|
141
|
+
│ └── resources/
|
|
142
|
+
│ ├── services/
|
|
143
|
+
│ ├── domain/
|
|
144
|
+
│ └── me/
|
|
145
|
+
├── icons/
|
|
146
|
+
└── dist/
|
|
145
147
|
```
|
|
146
148
|
|
|
147
|
-
|
|
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
|
-
```
|
|
149
|
+
## Contribution
|
|
162
150
|
|
|
163
|
-
|
|
151
|
+
Les contributions sont bienvenues.
|
|
164
152
|
|
|
165
|
-
|
|
153
|
+
1. Fork du dépôt
|
|
154
|
+
2. Création d’une branche (`git checkout -b feature/ma-feature`)
|
|
155
|
+
3. Commit (`git commit -m "feat: ..."`)
|
|
156
|
+
4. Push
|
|
157
|
+
5. Ouverture d’une Pull Request
|
|
166
158
|
|
|
167
|
-
##
|
|
159
|
+
## Licence
|
|
168
160
|
|
|
169
|
-
[MIT
|
|
161
|
+
[MIT](LICENSE)
|
|
170
162
|
|
|
171
163
|
Copyright (c) 2026 Cyril MARIN
|
|
172
164
|
|
|
173
165
|
## Ressources
|
|
174
166
|
|
|
175
|
-
- [Documentation
|
|
176
|
-
- [Documentation API
|
|
177
|
-
- [Console
|
|
178
|
-
- [Guide
|
|
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
|
|
167
|
+
- [Documentation n8n community nodes](https://docs.n8n.io/integrations/#community-nodes)
|
|
168
|
+
- [Documentation API OVHcloud](https://api.ovh.com/)
|
|
169
|
+
- [API Console OVHcloud](https://api.ovh.com/console/)
|
|
170
|
+
- [Guide OVHcloud - API tokens](https://help.ovhcloud.com/csm/en-manage-ovhcloud-api-tokens?id=kb_article_view&sysparm_article=KB0042784)
|
|
@@ -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
6
|
const domain_1 = require("./resources/domain");
|
|
8
7
|
const me_1 = require("./resources/me");
|
|
8
|
+
const services_1 = require("./resources/services");
|
|
9
9
|
class OvhCloud {
|
|
10
10
|
constructor() {
|
|
11
11
|
this.description = {
|
|
@@ -50,23 +50,28 @@ class OvhCloud {
|
|
|
50
50
|
],
|
|
51
51
|
default: 'services',
|
|
52
52
|
},
|
|
53
|
-
...
|
|
54
|
-
...me_1.
|
|
53
|
+
...(0, domain_1.description)({ show: { resource: ['domain'] } }),
|
|
54
|
+
...(0, me_1.description)({ show: { resource: ['me'] } }),
|
|
55
|
+
...(0, services_1.description)({ show: { resource: ['services'] } }),
|
|
55
56
|
],
|
|
56
57
|
};
|
|
57
58
|
this.methods = {
|
|
58
|
-
listSearch:
|
|
59
|
+
listSearch: {
|
|
60
|
+
...domain_1.methodsListSearch,
|
|
61
|
+
...me_1.methodsListSearch,
|
|
62
|
+
...services_1.methodsListSearch,
|
|
63
|
+
},
|
|
59
64
|
};
|
|
60
65
|
}
|
|
61
66
|
async execute() {
|
|
62
67
|
const resource = this.getNodeParameter('resource', 0);
|
|
63
68
|
switch (resource) {
|
|
64
|
-
case 'services':
|
|
65
|
-
return await services_1.servicesExecute.call(this);
|
|
66
69
|
case 'domain':
|
|
67
|
-
|
|
70
|
+
return [this.helpers.returnJsonArray(await domain_1.execute.call(this))];
|
|
68
71
|
case 'me':
|
|
69
|
-
return await me_1.
|
|
72
|
+
return [this.helpers.returnJsonArray(await me_1.execute.call(this))];
|
|
73
|
+
case 'services':
|
|
74
|
+
return [this.helpers.returnJsonArray(await services_1.execute.call(this))];
|
|
70
75
|
}
|
|
71
76
|
throw new n8n_workflow_1.NodeApiError(this.getNode(), { message: `The resource "${resource}" cannot be executed directly. Please select an operation to execute.` });
|
|
72
77
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OvhCloud.node.js","sourceRoot":"","sources":["../../../nodes/OvhCloud/OvhCloud.node.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AACtB,
|
|
1
|
+
{"version":3,"file":"OvhCloud.node.js","sourceRoot":"","sources":["../../../nodes/OvhCloud/OvhCloud.node.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AACtB,uFAAkF;AAClF,+CAI4B;AAC5B,uCAIwB;AACxB,mDAI+B;AAE/B,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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ACL,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,YAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACtE,KAAK,UAAU;gBACX,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,kBAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAChF,CAAC;QAED,MAAM,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,iBAAiB,QAAQ,uEAAuE,EAAE,CAAC,CAAC;IAC1J,CAAC;CACJ;AAxED,4BAwEC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { INodeProperties } from "n8n-workflow";
|
|
2
|
-
export declare
|
|
3
|
-
export declare const
|
|
1
|
+
import { IDisplayOptions, IExecuteFunctions, INodeExecutionData, INodeProperties } 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[]>;
|
|
@@ -1,32 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
exports.methodsListSearch = void 0;
|
|
4
|
+
exports.description = description;
|
|
5
|
+
exports.execute = execute;
|
|
6
|
+
function description(displayOptions) {
|
|
7
|
+
return [
|
|
8
|
+
{
|
|
9
|
+
displayName: 'Operation',
|
|
10
|
+
name: 'operation',
|
|
11
|
+
type: 'options',
|
|
12
|
+
noDataExpression: true,
|
|
13
|
+
displayOptions,
|
|
14
|
+
options: [
|
|
15
|
+
{
|
|
16
|
+
name: 'List Domains',
|
|
17
|
+
value: 'list',
|
|
18
|
+
action: 'List all domains',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'Get Domain',
|
|
22
|
+
value: 'get',
|
|
23
|
+
action: 'Get a specific domain by ID',
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
default: 'list',
|
|
15
27
|
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
];
|
|
31
|
-
exports.domainMethods = {};
|
|
28
|
+
];
|
|
29
|
+
}
|
|
30
|
+
exports.methodsListSearch = {};
|
|
31
|
+
async function execute() {
|
|
32
|
+
const operation = this.getNodeParameter('operation', 0);
|
|
33
|
+
switch (operation) {
|
|
34
|
+
case 'list':
|
|
35
|
+
throw new Error('The "List Domains" operation is not implemented yet.');
|
|
36
|
+
case 'get':
|
|
37
|
+
throw new Error('The "Get Domain" operation is not implemented yet.');
|
|
38
|
+
}
|
|
39
|
+
throw new Error('The resource "domain" cannot be executed directly. Please select an operation to execute.');
|
|
40
|
+
}
|
|
41
|
+
;
|
|
32
42
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/OvhCloud/resources/domain/index.ts"],"names":[],"mappings":";;;AAGA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/OvhCloud/resources/domain/index.ts"],"names":[],"mappings":";;;AAGA,kCAuBC;AAID,0BAaC;AAxCD,SAAgB,WAAW,CAAC,cAA+B;IACvD,OAAO;QACH;YACI,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,gBAAgB,EAAE,IAAI;YACtB,cAAc;YACd,OAAO,EAAE;gBACL;oBACI,IAAI,EAAE,cAAc;oBACpB,KAAK,EAAE,MAAM;oBACb,MAAM,EAAE,kBAAkB;iBAC7B;gBACD;oBACI,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,KAAK;oBACZ,MAAM,EAAE,6BAA6B;iBACxC;aACJ;YACD,OAAO,EAAE,MAAM;SAClB;KACJ,CAAC;AACN,CAAC;AAEY,QAAA,iBAAiB,GAAG,EAAE,CAAC;AAE7B,KAAK,UAAU,OAAO;IAGzB,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;IAExD,QAAQ,SAAS,EAAE,CAAC;QAChB,KAAK,MAAM;YACP,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;QAC5E,KAAK,KAAK;YACN,MAAM,IAAI,KAAK,CAAC,oDAAoD,CAAC,CAAC;IAC9E,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,2FAA2F,CAAC,CAAC;AACjH,CAAC;AAAA,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IDisplayOptions, IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare function description(displayOptions: IDisplayOptions): INodeProperties[];
|
|
3
|
+
export declare function execute(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = description;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const list_1 = require("./list");
|
|
6
|
+
function description(displayOptions) {
|
|
7
|
+
return [
|
|
8
|
+
{
|
|
9
|
+
displayName: 'Bill Operation',
|
|
10
|
+
name: 'billOperation',
|
|
11
|
+
type: 'options',
|
|
12
|
+
noDataExpression: true,
|
|
13
|
+
displayOptions,
|
|
14
|
+
options: [
|
|
15
|
+
{
|
|
16
|
+
name: 'List Bills',
|
|
17
|
+
value: 'list',
|
|
18
|
+
action: 'List bills of the authenticated user',
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
default: 'list',
|
|
22
|
+
},
|
|
23
|
+
...(0, list_1.description)({ show: { ...displayOptions.show, billOperation: ['list'] } }),
|
|
24
|
+
];
|
|
25
|
+
}
|
|
26
|
+
async function execute() {
|
|
27
|
+
const operation = this.getNodeParameter('billOperation', 0);
|
|
28
|
+
switch (operation) {
|
|
29
|
+
case 'list':
|
|
30
|
+
return list_1.execute.call(this);
|
|
31
|
+
}
|
|
32
|
+
throw new Error(`Unsupported operation "${operation}" for resource "bill"`);
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/OvhCloud/resources/me/bill/index.ts"],"names":[],"mappings":";;AAMA,kCAmBC;AAED,0BAUC;AApCD,iCAGgB;AAEhB,SAAgB,WAAW,CAAC,cAA+B;IACvD,OAAO;QACH;YACI,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,SAAS;YACf,gBAAgB,EAAE,IAAI;YACtB,cAAc;YACd,OAAO,EAAE;gBACL;oBACI,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,MAAM;oBACb,MAAM,EAAE,sCAAsC;iBACjD;aACJ;YACD,OAAO,EAAE,MAAM;SAClB;QACD,GAAG,IAAA,kBAAe,EAAC,EAAE,IAAI,EAAE,EAAC,GAAG,cAAc,CAAC,IAAI,EAAE,aAAa,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;KACnF,CAAA;AACL,CAAC;AAEM,KAAK,UAAU,OAAO;IAGzB,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;IAE5D,QAAQ,SAAS,EAAE,CAAC;QAChB,KAAK,MAAM;YACP,OAAO,cAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,0BAA0B,SAAS,uBAAuB,CAAC,CAAC;AAChF,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IDataObject, IDisplayOptions, IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare function description(displayOptions: IDisplayOptions): INodeProperties[];
|
|
3
|
+
export declare function execute(this: IExecuteFunctions, option?: IDataObject): Promise<INodeExecutionData[]>;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = description;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const OvhCloudApi_credentials_1 = require("../../../../../credentials/OvhCloudApi.credentials");
|
|
6
|
+
function description(displayOptions) {
|
|
7
|
+
return [
|
|
8
|
+
{
|
|
9
|
+
displayName: "Category",
|
|
10
|
+
name: "category",
|
|
11
|
+
description: "Filter bills by category",
|
|
12
|
+
type: "options",
|
|
13
|
+
options: [
|
|
14
|
+
{ name: "All", value: "" },
|
|
15
|
+
{ name: 'Autorenew', value: "autorenew" },
|
|
16
|
+
{ name: "Earlyrenewal", value: "earlyrenewal" },
|
|
17
|
+
{ name: "Purchase", value: "purchase" },
|
|
18
|
+
{ name: "Purchase Cloud", value: "purchase-cloud" },
|
|
19
|
+
{ name: "Purchase Servers", value: "purchase-servers" },
|
|
20
|
+
{ name: "Purchase Telecom", value: "purchase-telecom" },
|
|
21
|
+
{ name: "Purchase Web", value: "purchase-web" },
|
|
22
|
+
],
|
|
23
|
+
default: "",
|
|
24
|
+
displayOptions,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
displayName: "Date From",
|
|
28
|
+
name: "dateFrom",
|
|
29
|
+
type: "dateTime",
|
|
30
|
+
default: "",
|
|
31
|
+
description: "Filter bills from this date (inclusive)",
|
|
32
|
+
displayOptions,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
displayName: "Date To",
|
|
36
|
+
name: "dateTo",
|
|
37
|
+
type: "dateTime",
|
|
38
|
+
default: "",
|
|
39
|
+
description: "Filter bills up to this date (inclusive)",
|
|
40
|
+
displayOptions,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
displayName: "Order ID",
|
|
44
|
+
name: "orderId",
|
|
45
|
+
type: "string",
|
|
46
|
+
default: "",
|
|
47
|
+
description: "Filter bills related to this order ID",
|
|
48
|
+
displayOptions,
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
}
|
|
52
|
+
async function execute(option = {}) {
|
|
53
|
+
const credentials = await this.getCredentials(OvhCloudApi_credentials_1.OvhCloudApiSecretName);
|
|
54
|
+
let qs = {};
|
|
55
|
+
const category = this.getNodeParameter('category', 0, { extractValue: true });
|
|
56
|
+
if ((category === null || category === void 0 ? void 0 : category.length) > 0) {
|
|
57
|
+
qs = Object.assign(qs, { category });
|
|
58
|
+
}
|
|
59
|
+
const dateFrom = this.getNodeParameter('dateFrom', 0, { extractValue: true });
|
|
60
|
+
if ((dateFrom === null || dateFrom === void 0 ? void 0 : dateFrom.length) > 0) {
|
|
61
|
+
qs = Object.assign(qs, { 'date.from': dateFrom });
|
|
62
|
+
}
|
|
63
|
+
const dateTo = this.getNodeParameter('dateTo', 0, { extractValue: true });
|
|
64
|
+
if ((dateTo === null || dateTo === void 0 ? void 0 : dateTo.length) > 0) {
|
|
65
|
+
qs = Object.assign(qs, { 'date.to': dateTo });
|
|
66
|
+
}
|
|
67
|
+
const orderId = this.getNodeParameter('orderId', 0, { extractValue: true });
|
|
68
|
+
if ((orderId === null || orderId === void 0 ? void 0 : orderId.length) > 0) {
|
|
69
|
+
qs = Object.assign(qs, { orderId });
|
|
70
|
+
}
|
|
71
|
+
const options = Object.assign(OvhCloudApi_credentials_1.signRequestOptions.call(this, credentials, {
|
|
72
|
+
method: 'GET',
|
|
73
|
+
url: `/me/bill`,
|
|
74
|
+
qs,
|
|
75
|
+
json: true,
|
|
76
|
+
}), option);
|
|
77
|
+
const billIds = await this.helpers.httpRequestWithAuthentication.call(this, OvhCloudApi_credentials_1.OvhCloudApiSecretName, options);
|
|
78
|
+
const bills = [];
|
|
79
|
+
for (const billId of billIds) {
|
|
80
|
+
const billData = await this.helpers.httpRequestWithAuthentication.call(this, OvhCloudApi_credentials_1.OvhCloudApiSecretName, Object.assign(options, {
|
|
81
|
+
url: `/me/bill/${billId}`,
|
|
82
|
+
}));
|
|
83
|
+
bills.push(billData);
|
|
84
|
+
}
|
|
85
|
+
return bills;
|
|
86
|
+
}
|
|
87
|
+
;
|
|
88
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../../nodes/OvhCloud/resources/me/bill/list.ts"],"names":[],"mappings":";;AAGA,kCA6CC;AAGD,0BAoDC;AAtGD,gGAAmI;AAEnI,SAAgB,WAAW,CAAC,cAA+B;IACvD,OAAO;QACH;YACI,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACL,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;gBAC1B,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;gBACzC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;gBAC/C,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;gBACvC,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,gBAAgB,EAAE;gBACnD,EAAE,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAAkB,EAAE;gBACvD,EAAE,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAA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I,EACJ,+CAAqB,EACrB,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE;YACnB,GAAG,EAAE,YAAY,MAAM,EAAE;SAC5B,CAAC,CACL,CAAC;QAEF,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACzB,CAAC;IAED,OAAO,KAAK,CAAC;AACjB,CAAC;AAAA,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IDataObject, IDisplayOptions, IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare function description(displayOptions: IDisplayOptions): INodeProperties[];
|
|
3
|
+
export declare function execute(this: IExecuteFunctions, option?: IDataObject): Promise<INodeExecutionData[]>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
const OvhCloudApi_credentials_1 = require("
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
exports.description = description;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const OvhCloudApi_credentials_1 = require("../../../../../credentials/OvhCloudApi.credentials");
|
|
6
|
+
function description(displayOptions) {
|
|
7
|
+
return [];
|
|
8
|
+
}
|
|
9
|
+
async function execute(option = {}) {
|
|
8
10
|
const credentials = await this.getCredentials(OvhCloudApi_credentials_1.OvhCloudApiSecretName);
|
|
9
11
|
const options = Object.assign(OvhCloudApi_credentials_1.signRequestOptions.call(this, credentials, {
|
|
10
12
|
method: 'GET',
|
|
@@ -14,4 +16,4 @@ async function getDebtAccount(option = {}) {
|
|
|
14
16
|
}), option);
|
|
15
17
|
return await this.helpers.httpRequestWithAuthentication.call(this, OvhCloudApi_credentials_1.OvhCloudApiSecretName, options);
|
|
16
18
|
}
|
|
17
|
-
//# sourceMappingURL=
|
|
19
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../../nodes/OvhCloud/resources/me/debtAccount/get.ts"],"names":[],"mappings":";;AAIA,kCAEC;AAED,0BAkBC;AAzBD,gGAAmI;AAGnI,SAAgB,WAAW,CAAC,cAA+B;IACvD,OAAO,EAAE,CAAC;AACd,CAAC;AAEM,KAAK,UAAU,OAAO,CAEzB,SAAsB,EAAE;IAExB,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,+CAAqB,CAAuB,CAAC;IAE3F,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,4CAAkB,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE;QACrE,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,iBAAiB;QACtB,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,IAAI;KACb,CAAC,EAAE,MAAM,CAAC,CAAC;IAEZ,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,6BAA6B,CAAC,IAAI,CACxD,IAAI,EACJ,+CAAqB,EACrB,OAAO,CACV,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IDisplayOptions, IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare function description(displayOptions: IDisplayOptions): INodeProperties[];
|
|
3
|
+
export declare function execute(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|