n8n-nodes-prestashop8 1.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 n8n-nodes-prestashop8
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,250 @@
1
+ # n8n PrestaShop 8 Node
2
+
3
+ [![npm version](https://badge.fury.io/js/n8n-nodes-prestashop8.svg)](https://www.npmjs.com/package/n8n-nodes-prestashop8)
4
+ [![Downloads](https://img.shields.io/npm/dt/n8n-nodes-prestashop8.svg)](https://www.npmjs.com/package/n8n-nodes-prestashop8)
5
+ [![GitHub license](https://img.shields.io/github/license/PPCM/n8n-nodes-prestashop8)](https://github.com/PPCM/n8n-nodes-prestashop8/blob/main/LICENSE)
6
+ [![GitHub issues](https://img.shields.io/github/issues/PPCM/n8n-nodes-prestashop8)](https://github.com/PPCM/n8n-nodes-prestashop8/issues)
7
+ [![GitHub stars](https://img.shields.io/github/stars/PPCM/n8n-nodes-prestashop8)](https://github.com/PPCM/n8n-nodes-prestashop8/stargazers)
8
+
9
+ A comprehensive n8n community node for PrestaShop 8 integration with automatic XML/JSON conversion and full CRUD support.
10
+
11
+ **🌍 Documentation Languages:**
12
+ - πŸ‡¬πŸ‡§ **English** (this file) - [Examples](./docs/EXAMPLES_EN.md) | [Installation](./docs/INSTALLATION_EN.md)
13
+ - πŸ‡«πŸ‡· [**FranΓ§ais**](./docs/README_FR.md) - [Exemples](./EXAMPLES.md) | [Installation](./INSTALLATION.md)
14
+ - πŸ‡©πŸ‡ͺ [**Deutsch**](./docs/README_DE.md) - [Beispiele](./docs/EXAMPLES_DE.md) | [Installation](./docs/INSTALLATION_DE.md)
15
+ - πŸ‡ͺπŸ‡Έ [**EspaΓ±ol**](./docs/README_ES.md) - [Ejemplos](./docs/EXAMPLES_ES.md) | [InstalaciΓ³n](./docs/INSTALLATION_ES.md)
16
+
17
+ **πŸ“š [Complete Documentation Hub](./docs/README.md)**
18
+
19
+ [πŸš€ Quick Start](#quick-start) | [✨ Features](#features) | [πŸ“š Documentation](#documentation) | [🎯 Examples](#examples) | [🀝 Contributing](#contributing)
20
+
21
+ ---
22
+
23
+ ## 🎯 Overview
24
+
25
+ **The first n8n node** that truly simplifies PrestaShop 8 integration:
26
+
27
+ - βœ… **Full CRUD operations** without writing a single line of XML
28
+ - βœ… **Intuitive graphical interface** with dynamic dropdown menus
29
+ - βœ… **Automatic XML/JSON conversion** - PrestaShop XML ↔ Simple JSON
30
+ - βœ… **25+ resources supported**: products, customers, orders, stocks...
31
+ - βœ… **Advanced filtering** with 10 search operators
32
+ - βœ… **Raw mode** for debugging and advanced use cases
33
+
34
+ ## πŸš€ Quick Start
35
+
36
+ ### Installation
37
+ ```bash
38
+ npm install n8n-nodes-prestashop8
39
+ ```
40
+
41
+ ### PrestaShop Configuration
42
+ 1. **Enable Webservice**: Settings > Web Service > Enable
43
+ 2. **Create API Key** with CRUD permissions
44
+ 3. **Note the URL**: `https://your-store.com/api`
45
+
46
+ ### n8n Configuration
47
+ ```javascript
48
+ // PrestaShop 8 API Credentials
49
+ {
50
+ "baseUrl": "https://your-store.com/api",
51
+ "apiKey": "YOUR_API_KEY"
52
+ }
53
+ ```
54
+
55
+ ### First Workflow
56
+ ```javascript
57
+ // List active products
58
+ {
59
+ "resource": "products",
60
+ "operation": "search",
61
+ "filters": {
62
+ "filter": [
63
+ { "field": "active", "operator": "=", "value": "1" }
64
+ ]
65
+ }
66
+ }
67
+ ```
68
+
69
+ ## ✨ Features
70
+
71
+ ### πŸ”„ Complete CRUD Operations
72
+ | Operation | Description | Example |
73
+ |-----------|-------------|---------|
74
+ | **List** | Retrieve collections | All products |
75
+ | **Get by ID** | Individual retrieval | Product ID 123 |
76
+ | **Search** | Search with filters | Products > €20 |
77
+ | **Create** | Create new entities | New customer |
78
+ | **Update** | Modify existing | Update stock |
79
+ | **Delete** | Remove entities | Delete order |
80
+
81
+ ### πŸ“Š Supported Resources
82
+
83
+ <details>
84
+ <summary><strong>πŸ‘₯ CRM & Customers (6 resources)</strong></summary>
85
+
86
+ - `customers` - Store customers
87
+ - `addresses` - Shipping/billing addresses
88
+ - `groups` - Customer groups and pricing
89
+ - `customer_threads` - Customer service conversations
90
+ - `customer_messages` - Individual messages
91
+ - `guests` - Non-registered visitors
92
+ </details>
93
+
94
+ <details>
95
+ <summary><strong>πŸ“¦ Product Catalog (9 resources)</strong></summary>
96
+
97
+ - `products` - Product catalog
98
+ - `combinations` - Product variations (size, color...)
99
+ - `stock_availables` - Stock management
100
+ - `categories` - Category tree
101
+ - `manufacturers` - Brands and manufacturers
102
+ - `suppliers` - Suppliers
103
+ - `tags` - Product tags
104
+ - `product_features` - Product characteristics
105
+ - `product_options` - Customization options
106
+ </details>
107
+
108
+ <details>
109
+ <summary><strong>πŸ›’ Orders & Sales (8 resources)</strong></summary>
110
+
111
+ - `orders` - Store orders
112
+ - `order_details` - Order line items
113
+ - `order_histories` - Status change history
114
+ - `order_states` - Possible order states
115
+ - `order_carriers` - Carriers by order
116
+ - `order_invoices` - Invoices
117
+ - `carts` - Shopping carts
118
+ - `cart_rules` - Discount codes and promotions
119
+ </details>
120
+
121
+ ### πŸ” Advanced Filtering
122
+
123
+ | Operator | Description | Example |
124
+ |----------|-------------|---------|
125
+ | `=` | Equal | `price = 19.99` |
126
+ | `!=` | Not equal | `active != 0` |
127
+ | `>` / `>=` | Greater than | `stock > 10` |
128
+ | `<` / `<=` | Less than | `price <= 50` |
129
+ | `LIKE` | Contains | `name LIKE %iPhone%` |
130
+ | `NOT LIKE` | Does not contain | `ref NOT LIKE %OLD%` |
131
+ | `BEGINS` | Starts with | `name BEGINS Apple` |
132
+ | `ENDS` | Ends with | `ref ENDS -2024` |
133
+
134
+ ### πŸŽ›οΈ Advanced Options
135
+
136
+ - **Pagination**: `limit=20` or `limit=10,30`
137
+ - **Sorting**: `[price_ASC]`, `[date_add_DESC]`
138
+ - **Fields**: `full`, `minimal`, or custom
139
+ - **Debug**: URL, headers, timeout
140
+
141
+ ## 🎯 Usage Examples
142
+
143
+ ### E-commerce Automation
144
+ ```javascript
145
+ // Daily ERP β†’ PrestaShop stock sync
146
+ Cron β†’ ERP API β†’ Transform β†’ PrestaShop 8 Node β†’ Slack Alert
147
+ ```
148
+
149
+ ### Marketing Automation
150
+ ```javascript
151
+ // New customers β†’ CRM + welcome email
152
+ PrestaShop Webhook β†’ PrestaShop 8 Node β†’ CRM β†’ Mailchimp
153
+ ```
154
+
155
+ ### Business Intelligence
156
+ ```javascript
157
+ // Daily sales report
158
+ Cron β†’ PrestaShop 8 Node β†’ Calculate KPIs β†’ Email Report
159
+ ```
160
+
161
+ ## πŸ“š Documentation
162
+
163
+ - **[🎯 Practical Examples](./docs/EXAMPLES_EN.md)** - Detailed use cases
164
+ - **[πŸ› οΈ Installation Guide](./docs/INSTALLATION_EN.md)** - Step-by-step setup
165
+ - **[πŸ“ Changelog](./CHANGELOG.md)** - Updates and fixes
166
+ - **[πŸ“‹ Project Summaries](./summary/README.md)** - Executive summaries and presentations
167
+
168
+ ## πŸ› Issues & Support
169
+
170
+ ### Common Problems
171
+ - **401 Unauthorized** β†’ Check API key and permissions
172
+ - **404 Not Found** β†’ Verify base URL and Webservices enabled
173
+ - **Timeout** β†’ Increase timeout in debug options
174
+
175
+ ### Get Help
176
+ - 🐞 **[GitHub Issues](https://github.com/PPCM/n8n-nodes-prestashop8/issues)** - Bugs and questions
177
+ - 🌐 **[n8n Community](https://community.n8n.io)** - Forum discussions
178
+ - πŸ“– **[Documentation](./docs/INSTALLATION_EN.md)** - Detailed guides
179
+
180
+ ## 🀝 Contributing
181
+
182
+ Contributions are welcome! Here's how to participate:
183
+
184
+ ### Quick Start Development
185
+ ```bash
186
+ git clone https://github.com/PPCM/n8n-nodes-prestashop8.git
187
+ cd n8n-nodes-prestashop8
188
+ npm install
189
+ npm run dev # Watch mode
190
+ ```
191
+
192
+ ### Contribution Process
193
+ 1. **Fork** the project
194
+ 2. **Create** a feature branch (`git checkout -b feature/amazing-feature`)
195
+ 3. **Commit** changes (`git commit -m 'Add amazing feature'`)
196
+ 4. **Push** the branch (`git push origin feature/amazing-feature`)
197
+ 5. **Open** a Pull Request
198
+
199
+ ### Types of Contributions
200
+ - 🐞 **Bug fixes**
201
+ - ✨ **New features**
202
+ - πŸ“š **Documentation improvements**
203
+ - πŸ§ͺ **Additional tests**
204
+ - 🎨 **UI/UX improvements**
205
+
206
+ ### Guidelines
207
+ - TypeScript code with strict typing
208
+ - Unit tests for new features
209
+ - Updated documentation
210
+ - Respect ESLint + Prettier
211
+
212
+ ## πŸ“Š Roadmap
213
+
214
+ ### v1.1 (Q1 2024)
215
+ - [ ] Intelligent caching to optimize API calls
216
+ - [ ] Pre-configured workflow templates
217
+ - [ ] Bulk operations for batch processing
218
+ - [ ] Integrated PrestaShop webhooks
219
+
220
+ ### v1.2 (Q2 2024)
221
+ - [ ] PrestaShop Cloud support
222
+ - [ ] Advanced multi-store
223
+ - [ ] Visual field mapping
224
+ - [ ] Performance metrics
225
+
226
+ ### v2.0 (Q3 2024)
227
+ - [ ] GraphQL support (if available in PrestaShop)
228
+ - [ ] AI-powered data transformation
229
+ - [ ] Real-time synchronization
230
+ - [ ] Advanced analytics dashboard
231
+
232
+ ## πŸ“„ License
233
+
234
+ This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.
235
+
236
+ ## πŸ™ Acknowledgments
237
+
238
+ - **n8n Team** for the fantastic automation tool
239
+ - **PrestaShop Community** for API documentation
240
+ - **Contributors** who improve this project
241
+
242
+ ## 🌟 Star History
243
+
244
+ [![Star History Chart](https://api.star-history.com/svg?repos=PPCM/n8n-nodes-prestashop8&type=Date)](https://star-history.com/#PPCM/n8n-nodes-prestashop8&Date)
245
+
246
+ ---
247
+
248
+ **Revolutionize your e-commerce with n8n and PrestaShop 8** πŸš€
249
+
250
+ [⬆ Back to top](#n8n-prestashop-8-node)
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
2
+ <svg width="800px" height="800px" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><path d="M82.979 196.416c2.044-.91 4.115-1.747 6.205-2.532 2.36-.887 4.739-1.721 7.15-2.447 3.001-.904 6.027-1.722 9.094-2.373a112.799 112.799 0 0 1 12.534-1.937 391.813 391.813 0 0 1-7.808 22.168 73.56 73.56 0 0 1 .224 4.288A90.939 90.939 0 0 1 128 211.856c6.031 0 11.92.602 17.622 1.727a73.56 73.56 0 0 1 .224-4.288 391.028 391.028 0 0 1-7.808-22.168c4.215.409 8.399 1.059 12.534 1.937 3.066.651 6.092 1.469 9.093 2.373 2.412.726 4.791 1.56 7.151 2.447 2.091.786 4.163 1.623 6.207 2.533a111.065 111.065 0 0 1 38.57 28.471C238.773 201.417 256 166.731 256 128 256 57.308 198.692 0 128 0 57.308 0 0 57.308 0 128c0 38.731 17.227 73.416 44.407 96.888a111.075 111.075 0 0 1 38.572-28.472" fill="#A5DBE8"/><path d="M173.023 196.417l7.946 27.323 2.254.106c1.463 0 2.492.385 2.492 1.848 0 2.432.126 5.165.359 7.551 1.98 1.681 4.391 3.577 6.219 5.419a128.305 128.305 0 0 0 19.3-13.776 111.065 111.065 0 0 0-38.57-28.471M157.486 196.144l9.33-2.26c-2.36-.887-4.739-1.721-7.151-2.447-3.001-.904-6.027-1.722-9.093-2.373a112.799 112.799 0 0 0-12.534-1.937 391.028 391.028 0 0 0 7.808 22.168 73.56 73.56 0 0 0-.224 4.288c6.611 1.304 13.111 3.57 19.121 6.228l-7.257-23.667" fill="#525353"/><path d="M63.707 238.664c1.486.866 2.987 1.711 4.513 2.518.534-2.565 1.388-6.119 1.646-8.758-1.98 1.681-4.331 4.398-6.159 6.24M164.587 219.575a89.823 89.823 0 0 0-18.965-5.992A90.947 90.947 0 0 0 128 211.856c-6.032 0-11.92.602-17.622 1.727-6.61 1.303-13.507 3.28-19.515 5.937l-.639 3.981h75.554l-1.191-3.926"/><path d="M69.632 233.182c.234-2.386.403-4.513.403-6.946 0-1.462 1.003-2.399 2.466-2.399l2.399-.084 8.079-27.337a111.075 111.075 0 0 0-38.572 28.472 128.305 128.305 0 0 0 19.3 13.776 91.293 91.293 0 0 1 5.712-5.29" fill="#525353"/><path d="M187.051 238.045c.518 2.6.635 3.118.729 3.137a126.245 126.245 0 0 0 4.513-2.518 92.99 92.99 0 0 0-5.772-5.349l.53 4.73"/><path d="M164.587 219.575l1.191 3.926h15.454l-8.209-27.084a113.032 113.032 0 0 0-6.207-2.533l-9.33 2.26 7.101 23.431" fill="#AA9678"/><path d="M75.039 228.971c.081-.057.163-.114.243-.172h-.232c-.002.057-.008.115-.011.172" fill="#C4B6A1"/><path d="M180.95 228.799h-.233l.243.172c-.002-.057-.008-.115-.01-.172" fill="#AA9678"/><path d="M180.684 228.404l-52.794.06L128 256c19.648 0 38.256-4.439 54.893-12.351-1.086-4.772-1.195-9.912-1.372-14.914-.08-.058-.837-.331-.837-.331" fill="#AA9678"/><path d="M127.915 228.578s-53.085-.067-53.166-.01c-.176 5.003-1.208 10.939-1.642 15.081C89.744 251.561 108.352 256 128 256l.03-27.333-.115-.089" fill="#C4B6A1"/><path d="M128 226.15h.001v2.649H128v-2.649z" fill="#786453"/><path d="M164.649 205.236" fill="#525353"/><path d="M167.594 208.16l.027.083-.027-.083s-1.298-1.029-2.945-2.924c1.647 1.895 2.945 2.924 2.945 2.924" fill="#AA9678"/><path d="M206.706 92.348v.006-.006M211.857 129.201l.001-.038-.001.038" fill="#FFF"/><path d="M211.858 129.163l-.001-.035.001.035" fill="#BBBCBD"/><path d="M211.714 127.169c.004.034.014.064.018.098.003.021.009.04.012.06v.008c.061.489.084 1 .095 1.515.002.095.018.184.018.278l.001.035-.001.038c-.001.102-.018.197-.019.298a15.253 15.253 0 0 1-.093 1.486v.007l-.014.073c-.004.039-.016.074-.021.112a13.734 13.734 0 0 1-.287 1.515l-.002.007v.001l.018-.02.007-.023v.001l3.35-3.507-3.377-3.535.001.007c.126.493.222 1.011.294 1.546" fill="#676A6A"/><path d="M211.71 131.177c.009-.066.026-.125.035-.192.059-.48.081-.981.093-1.486.001-.114.019-.221.019-.336 0-.107-.016-.207-.018-.313a14.914 14.914 0 0 0-.095-1.515c-.008-.058-.023-.109-.03-.166a13.565 13.565 0 0 0-.294-1.546c-.044-.172-.105-.325-.156-.491-.303-1.002-.716-1.887-1.206-2.622a7.962 7.962 0 0 0-.614-.8 5.192 5.192 0 0 0-.662-.615c-.088-.067-.181-.114-.271-.172a3.763 3.763 0 0 0-.888-.429 3.108 3.108 0 0 0-.917-.158c-.314 0-.618.066-.917.158a3.73 3.73 0 0 0-.889.429c-.088.058-.182.104-.269.171a5.282 5.282 0 0 0-1.074 1.129 6.73 6.73 0 0 0-.203.288c-.49.735-.904 1.62-1.206 2.622l-.038.12c-.134.46-.238.944-.325 1.441-.026.152-.061.298-.082.454-.08.556-.121 1.136-.131 1.73-.001.082-.014.16-.014.242h.02c0 4.876 2.307 8.828 5.152 8.828.49 0 .961-.128 1.41-.347a4.169 4.169 0 0 0 .758-.479c.097-.078.188-.172.281-.26.227-.212.443-.452.648-.719.142-.187.282-.374.412-.583.083-.133.159-.277.236-.419.144-.266.28-.543.403-.837.046-.106.093-.209.135-.318.157-.409.294-.841.41-1.294.123-.483.215-.991.287-1.515zm-4.819-3.189c-1.067 0-1.932-1.483-1.932-3.311 0-1.827.865-3.31 1.932-3.31s1.931 1.483 1.931 3.31c0 1.828-.864 3.311-1.931 3.311z"/><path d="M206.891 121.367c-1.067 0-1.932 1.483-1.932 3.31 0 1.828.865 3.311 1.932 3.311s1.931-1.483 1.931-3.311c0-1.827-.864-3.31-1.931-3.31" fill="#FFF"/><path d="M202.148 125.133c.302-1.002.716-1.887 1.206-2.622.066-.1.133-.193.203-.288a5.209 5.209 0 0 1 1.074-1.129c.087-.067.181-.113.269-.171a3.69 3.69 0 0 1 .889-.429c.298-.094.603-.158.917-.158.314 0 .619.064.917.158a3.763 3.763 0 0 1 .888.429c.09.058.183.105.271.172.23.176.45.384.662.615a7.962 7.962 0 0 1 .614.8c.49.735.903 1.62 1.206 2.622v.002l-4.558-20.877-4.559 20.876h.001" fill="#909393"/><path d="M146.299 128.968c-.006-.42-.033-.835-.08-1.243-.001-.005-.003-.011-.003-.017a12.216 12.216 0 0 0-.201-1.188l-.008-.03a12.012 12.012 0 0 0-.313-1.134l-.01-.025a11.438 11.438 0 0 0-.422-1.088c-.002-.007-.007-.014-.01-.022a12.121 12.121 0 0 0-6.441-6.24l-.035-.013a11.963 11.963 0 0 0-2.158-.651c-.019-.003-.037-.004-.056-.008a11.99 11.99 0 0 0-2.313-.227c-.779 0-1.536.08-2.273.221l-.078.012c-.733.146-1.44.36-2.119.632l-.054.021a11.952 11.952 0 0 0-1.969 1.021c-.623.402-1.208.859-1.746 1.364l-.013.041-.045.01a12.222 12.222 0 0 0-2.189 2.794l-.022.037c-.18.317-.343.647-.493.983-.016.036-.036.07-.051.106-.137.311-.255.633-.365.957-.021.064-.049.124-.069.187-.096.303-.174.614-.248.925-.019.09-.048.176-.067.265-.064.308-.108.623-.149.939-.012.097-.033.19-.043.287a12.002 12.002 0 0 0 .164 3.588c.002.015.003.032.007.048.151.753.373 1.479.658 2.174.004.01.006.02.011.029a12.103 12.103 0 0 0 2.456 3.76c.82.855 1.764 1.588 2.802 2.174l.015.009c.324.182.659.346 1 .498.028.012.055.028.084.04.316.138.643.257.972.368.056.019.11.043.166.061.304.097.618.175.932.247.085.02.167.048.253.066.305.063.619.106.935.147.095.011.189.033.286.043a12.033 12.033 0 0 0 7.994-1.994 12.135 12.135 0 0 0 3.258-3.257 12.027 12.027 0 0 0 2.06-6.743c0-.029-.004-.056-.004-.083-.001-.031-.005-.06-.006-.091zm-12.05-1.413a4.53 4.53 0 1 1 .001-9.061 4.53 4.53 0 0 1-.001 9.061z"/><path d="M134.249 118.494a4.53 4.53 0 1 0 0 9.06 4.53 4.53 0 0 0 0-9.06" fill="#FFF"/><path d="M125.952 120.404l.045-.01.013-.041 8.306-25.402v-5.945l-.001-.067a70.787 70.787 0 0 0-14.25-1.47c-1.625 0-3.237.069-4.839.178-.233.016-.467.03-.701.048-8.337.633-16.547 2.806-24.149 6.276-6.519 2.977-12.576 6.898-18.021 11.547v.001l-.009.008a79.54 79.54 0 0 0-4.231 3.897c-.256.25-.516.498-.769.752a85.568 85.568 0 0 0-3.737 4.019c-.261.301-.518.608-.776.912a88.416 88.416 0 0 0-3.502 4.383c-.093.126-.18.258-.272.384a89.737 89.737 0 0 0-3.056 4.448c-.191.295-.387.586-.574.884-.79 1.253-1.525 2.54-2.255 3.83h37.837l34.941-8.632" fill="#BBBCBD"/><path d="M157.895 117.546c.077-.991.14-1.981.191-2.973.069-1.342.116-2.686.142-4.029.02-1.043.017-2.087.012-3.13 0-.301.007-.602.004-.904a160.348 160.348 0 0 0-.297-8.073l-.023-.015-.01-.019a720.847 720.847 0 0 0-3.003-1.716l-.07-.04-.783-.443-.014-.008-.543-.304-.107-.06a26.993 26.993 0 0 0-.395-.215 74.409 74.409 0 0 0-5.319-2.499c-4.303-1.817-10.099-3.41-13.364-4.179v6.012l8.233 25.443.009.021c.85.81 1.581 1.741 2.167 2.767v.001c.192.336.368.683.527 1.038.004.008.008.015.01.022.159.354.299.717.422 1.088l.01.025c.122.371.227.749.313 1.134l.008.03c.086.389.153.786.201 1.188 0 .006.002.012.003.017.047.408.074.823.08 1.243l.031.068h10.081a110.087 110.087 0 0 0 1.457-11.181c.007-.103.019-.206.027-.309" fill="#E3DDDB"/><path d="M171.079 108.55c-.007.011-.012.024-.018.035l.018-.034" fill="#FCB03F"/><path d="M126.01 120.353a12.283 12.283 0 0 1 1.753-1.367 11.952 11.952 0 0 1 1.962-1.018c.018-.008.037-.013.054-.021a11.994 11.994 0 0 1 2.119-.632l.078-.012a12.065 12.065 0 0 1 2.273-.221c.792 0 1.564.08 2.313.227.019.004.037.005.056.008a11.963 11.963 0 0 1 2.193.664 12.148 12.148 0 0 1 3.747 2.434l-.009-.021-8.233-25.443-8.306 25.402" fill="#909393"/><path d="M123.085 133.694a11.883 11.883 0 0 1-.658-2.174c-.004-.016-.005-.033-.007-.048a12.002 12.002 0 0 1-.164-3.588c.01-.097.031-.19.043-.287.041-.316.085-.631.149-.939.019-.089.048-.175.067-.265.074-.311.152-.622.248-.925.021-.063.047-.123.069-.187.11-.324.228-.646.365-.957.015-.036.035-.07.051-.106.15-.336.313-.666.493-.983l.022-.037a12.222 12.222 0 0 1 2.189-2.794l-34.941 8.632h-.067l34.608 8.447a12.103 12.103 0 0 1-2.456-3.76c-.005-.009-.007-.019-.011-.029" fill="#676A6A"/><path d="M201.703 127.148c.022-.156.055-.302.082-.454.087-.497.191-.981.325-1.441.015-.052.021-.111.037-.162l4.559-20.876-.001-11.903c-3.725-3.077-7.714-4.759-11.867-4.759-5.248 0-10.141 2.898-13.8 6.477-4.004 3.917-7.098 8.845-9.6 13.818-.115.229-.233.449-.347.679.771.668 1.534 1.345 2.287 2.034a185.465 185.465 0 0 1 5.016 4.781c.766.756 1.518 1.528 2.272 2.297.8.815 1.601 1.628 2.389 2.456a235.571 235.571 0 0 1 4.262 4.598 271.342 271.342 0 0 1 3.565 4.011l.002.002c.197.206.335.354.388.414h10.282c0-.083.017-.159.018-.242.01-.594.051-1.174.131-1.73M171.09 108.582l-.011-.031-.018.034.045.044a.868.868 0 0 0-.016-.047" fill="#E3DDDB"/><path d="M46.975 142.173l.092-.23a96.97 96.97 0 0 1 4.768-10.473c.278-.528.55-1.058.838-1.581.159-.289.339-.565.501-.853.73-1.29 1.465-2.577 2.255-3.83.187-.299.383-.589.574-.884a89.737 89.737 0 0 1 3.056-4.448c.092-.126.179-.258.272-.384a88.416 88.416 0 0 1 3.502-4.383c.258-.304.514-.61.776-.912a85.568 85.568 0 0 1 3.737-4.019c.254-.254.513-.502.769-.752a79.54 79.54 0 0 1 4.231-3.897l.009-.009c5.751-19.264 24.321-31.102 45.142-31.102 8.38 0 16.714 2.415 23.856 6.784 7.326 4.481 12.321 8.859 16.199 16.512l.058.115c.098.194.208.38.304.576l.01.019.023.015a77.21 77.21 0 0 1 9.281 6.745 85.958 85.958 0 0 1 2.892 2.554c.312.286.633.558.941.849.006-.012.011-.024.018-.035a.175.175 0 0 1 .011-.024c.106-.217.21-.438.317-.652 2.934-18.517 12.256-28.614 21.89-28.614 7.262 0 12.541 4.33 16.528 15.986l.041.125.01.014a43.54 43.54 0 0 1 3.287 4.048l-.002-.001c.021.028.043.054.064.083l-.001-.001.001.001c.057.169.106.343.161.512v-.001l-.15-.607c-11.985-35.482-45.545-61.028-85.073-61.028-49.58 0-89.772 40.192-89.772 89.772 0 9.774 1.562 19.184 4.462 27.94l.012-.051a96.216 96.216 0 0 1 4.11-13.879" fill="#525353"/><path d="M214.577 129.155l-3.131 3.503v-.001l-.007.023c-.119.461-.265.891-.426 1.306-.042.109-.089.212-.135.318a9.136 9.136 0 0 1-.403.837c-.077.142-.153.286-.236.419-.13.208-.27.397-.412.583a5.882 5.882 0 0 1-.648.719c-.093.087-.183.182-.281.26a4.169 4.169 0 0 1-.758.479c-.449.219-.92.347-1.41.347-2.845 0-5.152-3.952-5.152-8.828h-10.337l.006.008a328.189 328.189 0 0 1 5.734 6.812 422.71 422.71 0 0 1 5.354 6.679l.26.329a573.65 573.65 0 0 1 4.964 6.43l.478.624a882.471 882.471 0 0 1 5.191 6.903 89.595 89.595 0 0 0 4.708-27.785l-2.906-.11-.453.145" fill="#FFF"/><path d="M114.525 87.695c.234-.018.468-.032.701-.048a71.221 71.221 0 0 1 4.839-.178c4.868 0 9.624.521 14.25 1.47h.001c3.265.769 9.061 2.362 13.364 4.179a74.409 74.409 0 0 1 5.319 2.499l.395.215.107.06c.161.09.337.187.543.304l.014.008.783.443.07.04c1.106.627 2.33 1.33 2.798 1.598l.12.069.085.049c-.096-.196-.206-.382-.304-.576l-.058-.115c-3.878-7.653-9.848-14.217-17.174-18.698-7.142-4.369-15.476-6.784-23.857-6.784-20.82 0-38.415 14.024-44.166 33.288 5.445-4.649 11.502-8.57 18.021-11.547 7.602-3.47 15.812-5.643 24.149-6.276"/><path d="M213.225 99.515l-.001-.001.001.001c-.021-.029-.043-.055-.064-.083l.002.001a43.54 43.54 0 0 0-3.287-4.048l-.029-.035a36.477 36.477 0 0 0-1.551-1.585c-.197-.189-.401-.354-.6-.535-.329-.299-.656-.608-.99-.882v11.909l4.559 20.878v-.001c.05.162.11.314.154.482l3.158 3.539.031-.035h3.305c.004-.306.023-.608.023-.915v-.005a89.597 89.597 0 0 0-4.55-28.174v.001c-.055-.169-.104-.343-.161-.512" fill="#BBBCBD"/><path d="M181.038 94.03c3.659-3.579 8.552-6.477 13.8-6.477 4.153 0 8.142 1.682 11.867 4.759l.001.036v.006-.006c.334.274.661.583.99.882.199.181.403.346.6.535a36.477 36.477 0 0 1 1.551 1.585l.029.035a.054.054 0 0 0-.009-.012l-.001-.001-.041-.126c-3.987-11.656-10.42-19.229-17.68-19.229-9.635 0-17.804 13.34-20.738 31.857l.031-.026c2.502-4.973 5.596-9.901 9.6-13.818M168.019 207.836s-1.297-1.028-2.944-2.923a29.776 29.776 0 0 1-2.139-2.757c-.21-.306-.418-.624-.625-.952-.623-.985-1.12-2.184-1.668-3.369-.634-1.372-.636-2.285-1-3.563a25.167 25.167 0 0 1-.637-2.863 24.633 24.633 0 0 1-.303-4.728c.028-.913.122-1.858.259-2.82a27.68 27.68 0 0 1 .557-2.839c.726-2.903 1.981-5.995 3.939-9.259l.498-1.118c.64-1.066.782-1.019 1.39-2.046 8.564-14.453 13.184-25.382 10.924-42.21a134.228 134.228 0 0 0-.844-5.156 205.23 205.23 0 0 1-.625 3.719c-.085.384-.318.801-.406 1.062-3.72 11.01-9.576 19.109-18.002 28.254a229.879 229.879 0 0 1-3.562 3.765 457.252 457.252 0 0 1-6.505 6.59c-.912.907-1.842 1.827-2.788 2.765-.869.86-1.95 2.699-3.24 4.054-.796 2.229-1.701 4.743-2.466 7.387-.345-.131-.674-.248-1.025-.384-16.368-6.331-27.327-14.79-27.327-14.79s8.432 10.979 22.638 21.285a46.064 46.064 0 0 0 4.059 2.628c-.586 9.276 3.506 18.181 21.977 20.837 3.123.449 6.321.428 9.542.065-.032-.096.18-.094.163-.147-.018-.054.172-.196.172-.196"/><path d="M158.139 183.959c16.398 2.646 40.667 2.212 65.861-9.584.607-.284 1.276.464 1.883.166 0 0-17.219 17.587-37.783 27.53-.601.29-1.194.599-1.801.875-1.987.908-4.008 1.699-6.037 2.429-3.979 1.43-8.011 2.515-12.014 3.016-.184.024-.368.059-.552.079a24.787 24.787 0 0 1-.075-.227l-.027-.083s-1.298-1.029-2.945-2.924a29.219 29.219 0 0 1-2.138-2.757 28.651 28.651 0 0 1-2.401-4.21 26.292 26.292 0 0 1-1.427-3.837 24.719 24.719 0 0 1-.941-7.591 25.68 25.68 0 0 1 .259-2.82l.138-.062" fill="#9F2254"/><path d="M146.386 165.29a452.312 452.312 0 0 0 6.506-6.59 234.248 234.248 0 0 0 3.562-3.765c8.425-9.145 14.61-17.703 18.331-28.713.087-.261.175-.605.26-.992l.04-.179c.087-.411.172-.868.257-1.383.034-.355 1.147-1.071 1.178-1.404-.933-4.794-3.083-9.834-5.43-13.682a.868.868 0 0 1 .016.047l-.045-.044c-.308-.291-.629-.563-.941-.849a85.958 85.958 0 0 0-2.892-2.554 77.29 77.29 0 0 0-9.281-6.745c.164 2.694.269 5.385.297 8.073.004.302-.004.603-.004.904.005 1.043.008 2.087-.012 3.13a125.975 125.975 0 0 1-.142 4.029c-.051.992-.114 1.982-.191 2.973-.008.103-.02.206-.027.309a110.087 110.087 0 0 1-1.457 11.181l-1.184 5.599c-2.473 10.026-7.496 19.12-11.626 28.51-1.095 2.49-2.134 5.008-3.045 7.573l-.258.724a170.807 170.807 0 0 1 3.3-3.387c.947-.937 1.877-1.858 2.788-2.765" fill="#FCB03F"/><path d="M92.198 219.213c6.009-2.658 11.57-4.327 18.18-5.63a73.56 73.56 0 0 0-.224-4.288 391.813 391.813 0 0 0 7.808-22.168 112.799 112.799 0 0 0-12.534 1.937c-3.067.651-6.093 1.469-9.094 2.373-2.411.726-4.79 1.56-7.15 2.447l9.331 2.26-7.508 23.566 1.191-.497" fill="#525353"/><path d="M207.559 149.378a573.65 573.65 0 0 0-4.964-6.43l-.26-.329a422.71 422.71 0 0 0-5.421-6.761 328.189 328.189 0 0 0-5.667-6.73c-.121-.141-.242-.284-.365-.424a271.342 271.342 0 0 0-4.816-5.385 235.571 235.571 0 0 0-3.011-3.224 221.505 221.505 0 0 0-2.389-2.456c-.754-.769-1.506-1.541-2.272-2.297a188.553 188.553 0 0 0-5.016-4.781 115.806 115.806 0 0 0-2.288-2.035.175.175 0 0 0-.011.024c1.622 4.662 3.473 9.382 4.4 14.244.241 1.265.44 2.495.602 3.697 2.26 16.827-3.132 27.814-11.695 42.267a720.816 720.816 0 0 1-1.889 3.164c-1.958 3.266-3.212 6.357-3.939 9.26a27.952 27.952 0 0 0-.557 2.839c16.793 2.71 42.045 3.215 67.882-9.48 0 0-5.067-7.447-12.691-17.684a882.471 882.471 0 0 0-5.155-6.855c-.158-.209-.319-.417-.478-.624" fill="#DF0067"/><path d="M90.115 223.922l8.4-27.778-9.331-2.26c-2.09.785-4.161 1.622-6.205 2.532l-8.319 27.506 9.287.145 6.168-.145" fill="#AA9678"/><path d="M96.02 211.904c.82.315 1.654.599 2.486.89a89.463 89.463 0 0 0 29.658 5.047 89.482 89.482 0 0 0 33.528-6.498c.548-.22 1.085-.462 1.627-.693a91.66 91.66 0 0 0 2.619-1.161c.774-.36 1.548-.717 2.31-1.098-.184.024-.368.059-.552.079-3.221.363-6.419.384-9.542-.065-18.471-2.656-22.563-11.561-21.977-20.837a46.064 46.064 0 0 1-4.059-2.628c-14.206-10.306-22.638-21.285-22.638-21.285s10.959 8.459 27.327 14.79c.351.136.68.253 1.025.384.765-2.644 1.67-5.158 2.466-7.387l.258-.724c.911-2.565 1.95-5.083 3.045-7.573 4.13-9.39 9.153-18.484 11.626-28.51l1.184-5.599h-10.102l-.001.001.001.02-.004.002c0 .027.004.054.004.083a12.027 12.027 0 0 1-2.06 6.743 12.135 12.135 0 0 1-5.306 4.368 12.01 12.01 0 0 1-5.946.883c-.097-.01-.19-.031-.286-.043-.316-.041-.63-.084-.935-.147-.086-.019-.168-.046-.253-.066-.314-.072-.628-.15-.932-.247-.056-.019-.11-.042-.166-.061-.329-.111-.656-.23-.972-.368-.029-.012-.056-.027-.084-.04a12.088 12.088 0 0 1-1-.498l-.015-.009a12.176 12.176 0 0 1-2.802-2.174l-34.608-8.447h-37.77c-.162.288-.342.564-.501.853-.288.523-.56 1.054-.838 1.581a96.239 96.239 0 0 0-2.62 5.342 96.97 96.97 0 0 0-2.148 5.131l-.092.23a96.216 96.216 0 0 0-4.11 13.879c5.946 18.136 17.515 33.72 32.638 44.704.44.319.904.603 1.35.915a89.783 89.783 0 0 0 7.943 4.979 88.844 88.844 0 0 0 11.224 5.254" fill="#FFF"/><path d="M186.58 233.374a74.559 74.559 0 0 1-.376-7.224 2.649 2.649 0 0 0-2.648-2.649H72.444a2.65 2.65 0 0 0-2.649 2.649c0 2.432-.143 4.838-.376 7.224a73.286 73.286 0 0 1-1.199 7.808c1.611.852 3.235 1.681 4.887 2.467a78.531 78.531 0 0 0 1.932-14.678c.003-.057.009-.115.011-.172h105.9c.002.057.008.115.01.172a78.615 78.615 0 0 0 1.933 14.678 129.088 129.088 0 0 0 4.887-2.467 73.543 73.543 0 0 1-1.2-7.808" fill="#8B7460"/></svg>
@@ -0,0 +1,9 @@
1
+ import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class PrestaShop8Api implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ authenticate: IAuthenticateGeneric;
8
+ test: ICredentialTestRequest;
9
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrestaShop8Api = void 0;
4
+ class PrestaShop8Api {
5
+ constructor() {
6
+ this.name = 'prestaShop8Api';
7
+ this.displayName = 'PrestaShop 8 API';
8
+ this.documentationUrl = 'https://devdocs.prestashop-project.org/8/webservice/';
9
+ this.properties = [
10
+ {
11
+ displayName: 'Base URL',
12
+ name: 'baseUrl',
13
+ type: 'string',
14
+ default: '',
15
+ placeholder: 'https://your-store.com/api',
16
+ description: 'PrestaShop API base URL (e.g., https://your-store.com/api)',
17
+ required: true,
18
+ },
19
+ {
20
+ displayName: 'API Key',
21
+ name: 'apiKey',
22
+ type: 'string',
23
+ typeOptions: {
24
+ password: true,
25
+ },
26
+ default: '',
27
+ description: 'PrestaShop API key generated in back office (Advanced Parameters > Web Service)',
28
+ required: true,
29
+ },
30
+ {
31
+ displayName: 'Test Connection',
32
+ name: 'testConnection',
33
+ type: 'boolean',
34
+ default: false,
35
+ description: 'Automatically test the connection when saving credentials',
36
+ },
37
+ ];
38
+ this.authenticate = {
39
+ type: 'generic',
40
+ properties: {
41
+ auth: {
42
+ username: '={{$credentials.apiKey}}',
43
+ password: '',
44
+ },
45
+ },
46
+ };
47
+ this.test = {
48
+ request: {
49
+ baseURL: '={{$credentials.baseUrl}}',
50
+ url: '/',
51
+ method: 'GET',
52
+ headers: {
53
+ 'Output-Format': 'JSON',
54
+ },
55
+ },
56
+ };
57
+ }
58
+ }
59
+ exports.PrestaShop8Api = PrestaShop8Api;
@@ -0,0 +1,11 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow';
2
+ export declare class PrestaShop8 implements INodeType {
3
+ description: INodeTypeDescription;
4
+ methods: {
5
+ loadOptions: {
6
+ getOperations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
7
+ getRequiredFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
8
+ };
9
+ };
10
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
11
+ }
@@ -0,0 +1,2 @@
1
+ import { INodeTypeDescription } from 'n8n-workflow';
2
+ export declare const PrestaShop8Description: INodeTypeDescription;