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.
Files changed (50) hide show
  1. package/README.md +92 -117
  2. package/dist/nodes/OvhCloud/OvhCloud.node.js +13 -8
  3. package/dist/nodes/OvhCloud/OvhCloud.node.js.map +1 -1
  4. package/dist/nodes/OvhCloud/resources/domain/index.d.ts +4 -3
  5. package/dist/nodes/OvhCloud/resources/domain/index.js +38 -28
  6. package/dist/nodes/OvhCloud/resources/domain/index.js.map +1 -1
  7. package/dist/nodes/OvhCloud/resources/me/bill/index.d.ts +3 -0
  8. package/dist/nodes/OvhCloud/resources/me/bill/index.js +34 -0
  9. package/dist/nodes/OvhCloud/resources/me/bill/index.js.map +1 -0
  10. package/dist/nodes/OvhCloud/resources/me/bill/list.d.ts +3 -0
  11. package/dist/nodes/OvhCloud/resources/me/bill/list.js +88 -0
  12. package/dist/nodes/OvhCloud/resources/me/bill/list.js.map +1 -0
  13. package/dist/nodes/OvhCloud/resources/me/debtAccount/get.d.ts +3 -0
  14. package/dist/nodes/OvhCloud/resources/me/{debtAccount.js → debtAccount/get.js} +8 -6
  15. package/dist/nodes/OvhCloud/resources/me/debtAccount/get.js.map +1 -0
  16. package/dist/nodes/OvhCloud/resources/me/debtAccount/index.d.ts +3 -0
  17. package/dist/nodes/OvhCloud/resources/me/debtAccount/index.js +34 -0
  18. package/dist/nodes/OvhCloud/resources/me/debtAccount/index.js.map +1 -0
  19. package/dist/nodes/OvhCloud/resources/me/index.d.ts +4 -4
  20. package/dist/nodes/OvhCloud/resources/me/index.js +56 -49
  21. package/dist/nodes/OvhCloud/resources/me/index.js.map +1 -1
  22. package/dist/nodes/OvhCloud/resources/me/me.d.ts +4 -0
  23. package/dist/nodes/OvhCloud/resources/me/me.js +47 -0
  24. package/dist/nodes/OvhCloud/resources/me/me.js.map +1 -0
  25. package/dist/nodes/OvhCloud/resources/me/order/get.d.ts +3 -0
  26. package/dist/nodes/OvhCloud/resources/me/order/get.js +55 -0
  27. package/dist/nodes/OvhCloud/resources/me/order/get.js.map +1 -0
  28. package/dist/nodes/OvhCloud/resources/me/order/index.d.ts +3 -0
  29. package/dist/nodes/OvhCloud/resources/me/order/index.js +34 -0
  30. package/dist/nodes/OvhCloud/resources/me/order/index.js.map +1 -0
  31. package/dist/nodes/OvhCloud/resources/services/get.d.ts +4 -4
  32. package/dist/nodes/OvhCloud/resources/services/get.js +73 -77
  33. package/dist/nodes/OvhCloud/resources/services/get.js.map +1 -1
  34. package/dist/nodes/OvhCloud/resources/services/index.d.ts +4 -4
  35. package/dist/nodes/OvhCloud/resources/services/index.js +38 -35
  36. package/dist/nodes/OvhCloud/resources/services/index.js.map +1 -1
  37. package/dist/nodes/OvhCloud/resources/services/list.d.ts +4 -4
  38. package/dist/nodes/OvhCloud/resources/services/list.js +54 -62
  39. package/dist/nodes/OvhCloud/resources/services/list.js.map +1 -1
  40. package/dist/package.json +1 -1
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/package.json +1 -1
  43. package/dist/nodes/OvhCloud/resources/me/debtAccount.d.ts +0 -3
  44. package/dist/nodes/OvhCloud/resources/me/debtAccount.js.map +0 -1
  45. package/dist/nodes/OvhCloud/resources/me/get.d.ts +0 -4
  46. package/dist/nodes/OvhCloud/resources/me/get.js +0 -19
  47. package/dist/nodes/OvhCloud/resources/me/get.js.map +0 -1
  48. package/dist/nodes/OvhCloud/resources/me/listBills.d.ts +0 -4
  49. package/dist/nodes/OvhCloud/resources/me/listBills.js +0 -99
  50. 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
- 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 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/) dans la documentation des nœuds communautaires n8n.
28
+ Suivez le [guide d'installation des community nodes n8n](https://docs.n8n.io/integrations/community-nodes/installation/).
20
29
 
21
- ### Installation via l'interface n8n
30
+ ### Depuis linterface n8n
22
31
 
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**
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
- ## Opérations
43
+ ## Configuration des credentials OVH
35
44
 
36
- ### Services
45
+ Le nœud utilise le credential **OVH API** avec :
37
46
 
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.
47
+ - `Endpoint`
48
+ - `Application Key`
49
+ - `Application Secret`
50
+ - `Consumer Key`
45
51
 
46
- ### Domaines (en développement)
52
+ Portails de création d’application OVHcloud :
47
53
 
48
- - **List Domains** - Liste tous les domaines
49
- - **Get Domain** - Récupère un domaine spécifique par son ID
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
- ## Identifiants
58
+ ### Permissions API recommandées
52
59
 
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.
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
- ### Configuration des identifiants
71
+ ## Opérations disponibles
56
72
 
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/
73
+ ### Resource: Services
61
74
 
62
- 2. Remplissez les informations requises :
63
- - **Application name** : Nom descriptif (ex: "n8n integration")
64
- - **Application description** : Description de votre application
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
- 3. Récupérez vos clés :
67
- - **Application Key** : Votre clé d'application
68
- - **Application Secret** : Votre secret d'application
83
+ ### Resource: Me
69
84
 
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
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
- 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**
96
+ ### Resource: Domain
79
97
 
80
- ### Droits d'accès recommandés
98
+ - **List Domains**
99
+ - **Get Domain**
81
100
 
82
- Pour utiliser toutes les fonctionnalités du nœud, les droits suivants sont recommandés :
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
- Compatible avec n8n@1.60.0 ou ultérieur
105
+ - n8n `>= 1.60.0`
96
106
 
97
107
  ## Développement
98
108
 
99
109
  ### Prérequis
100
110
 
101
- - Node.js (version recommandée dans le dev container)
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 disponibles
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/ # Configuration des identifiants
135
+ ├── credentials/
137
136
  │ └── OvhCloudApi.credentials.ts
138
- ├── nodes/ # Nœuds n8n
137
+ ├── nodes/
139
138
  │ └── OvhCloud/
140
139
  │ ├── 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
140
+ │ ├── listSearch/
141
+ │ └── resources/
142
+ ├── services/
143
+ │ ├── domain/
144
+ │ └── me/
145
+ ├── icons/
146
+ └── dist/
145
147
  ```
146
148
 
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
- ```
149
+ ## Contribution
162
150
 
163
- 2. n8n sera accessible à l'adresse indiquée dans la console
151
+ Les contributions sont bienvenues.
164
152
 
165
- 3. Créez un nouveau workflow et ajoutez le nœud "OVH Cloud"
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
- ## License
159
+ ## Licence
168
160
 
169
- [MIT License](LICENSE)
161
+ [MIT](LICENSE)
170
162
 
171
163
  Copyright (c) 2026 Cyril MARIN
172
164
 
173
165
  ## Ressources
174
166
 
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
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
- ...services_1.servicesDescription,
54
- ...me_1.meDescription,
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: Object.assign({}, services_1.servicesMethods, domain_1.domainMethods),
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
- break;
70
+ return [this.helpers.returnJsonArray(await domain_1.execute.call(this))];
68
71
  case 'me':
69
- return await me_1.meExecute.call(this);
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,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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,CAAC,EAAE,EAAE,CAAC;gBACxD,GAAG,IAAA,gBAAa,EAAC,EAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,EAAC,CAAC;gBAC9C,GAAG,IAAA,sBAAmB,EAAC,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;aAC/D;SACJ,CAAC;QAEF,YAAO,GAAG;YACN,UAAU,EAAE;gBACR,GAAG,0BAAuB;gBAC1B,GAAG,sBAAmB;gBACtB,GAAG,4BAAyB;aAC/B;SACJ,CAAA;IAgBL,CAAC;IAdG,KAAK,CAAC,OAAO;QACT,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;QAEtD,QAAQ,QAAQ,EAAE,CAAC;YACf,KAAK,QAAQ;gBACT,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,gBAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAC1E,KAAK,IAAI;gBACL,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 const domainDescription: INodeProperties[];
3
- export declare const domainMethods: {};
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.domainMethods = exports.domainDescription = void 0;
4
- const showOnlyForDomain = {
5
- resource: ['domain'],
6
- };
7
- exports.domainDescription = [
8
- {
9
- displayName: 'Operation',
10
- name: 'operation',
11
- type: 'options',
12
- noDataExpression: true,
13
- displayOptions: {
14
- show: showOnlyForDomain,
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
- options: [
17
- {
18
- name: 'List Domains',
19
- value: 'list',
20
- action: 'List all domains',
21
- },
22
- {
23
- name: 'Get Domain',
24
- value: 'get',
25
- action: 'Get a specific domain by ID',
26
- },
27
- ],
28
- default: 'list',
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,MAAM,iBAAiB,GAAG;IACtB,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACvB,CAAA;AAEY,QAAA,iBAAiB,GAAsB;IAChD;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACZ,IAAI,EAAE,iBAAiB;SAC1B;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,kBAAkB;aAC7B;YACD;gBACI,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,6BAA6B;aACxC;SACJ;QACD,OAAO,EAAE,MAAM;KAClB;CACJ,CAAA;AAEY,QAAA,aAAa,GAAG,EAAE,CAAC"}
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,kBAAkB,EAAE;gBACvD,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;aAClD;YACD,OAAO,EAAE,EAAE;YACX,cAAc;SACjB;QACD;YAC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,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.getDebtAccountDescription = void 0;
4
- exports.getDebtAccount = getDebtAccount;
5
- const OvhCloudApi_credentials_1 = require("../../../../credentials/OvhCloudApi.credentials");
6
- exports.getDebtAccountDescription = [];
7
- async function getDebtAccount(option = {}) {
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=debtAccount.js.map
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[]>;