n8n-nodes-commercetools 1.0.6 → 1.0.7
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 +10 -6
- package/dist/nodes/Commercetools/generated/operations.json +1004 -19
- package/dist/nodes/Commercetools/generated/properties.js +605 -0
- package/dist/nodes/Commercetools/generated/properties.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ Operations are **auto-generated** from the official commercetools Postman collec
|
|
|
26
26
|
|
|
27
27
|
## Highlights
|
|
28
28
|
|
|
29
|
-
- Full CRUD coverage for Products, Customers, Carts, Orders, Business Units, Categories, Channels, Associate Roles, Inventory, Reviews,
|
|
29
|
+
- Full CRUD coverage for Products, Customers, Carts, Orders, Business Units, Categories, Channels, Associate Roles, Inventory, Reviews, Shopping Lists, and Types
|
|
30
30
|
- Auto-generated operations from the official Postman collection — always in sync
|
|
31
31
|
- Product image upload: downloads from a URL, posts raw binary to commercetools
|
|
32
32
|
- Product, Order, and Business Unit search with structured query, sort, limit, and offset fields
|
|
@@ -64,10 +64,11 @@ Select a **Resource** and **Operation** to interact with the commercetools API.
|
|
|
64
64
|
| **Business Unit** | Create, Get by ID, Get by Key, Query, Search, Update, Delete, HEAD checks |
|
|
65
65
|
| **Category** | Create, Get by ID, Get by Key, Query, Update, Delete, Search, Get by Slug, HEAD checks |
|
|
66
66
|
| **Channel** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
67
|
-
| **Associate Role
|
|
68
|
-
| **Inventory**
|
|
67
|
+
| **Associate Role**| Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
68
|
+
| **Inventory** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
69
69
|
| **Review** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
70
70
|
| **Shopping List** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
71
|
+
| **Type** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
71
72
|
|
|
72
73
|
#### How field generation works
|
|
73
74
|
|
|
@@ -160,6 +161,8 @@ Listens for real-time commercetools events via webhook subscription. On activati
|
|
|
160
161
|
|
|
161
162
|
**Shopping List** — line item added, line item removed
|
|
162
163
|
|
|
164
|
+
**Types** — no message triggers
|
|
165
|
+
|
|
163
166
|
#### Subscription routing
|
|
164
167
|
|
|
165
168
|
Events are routed to the correct commercetools subscription arrays automatically using the generated event registry (produced by `generateCtpRegistry.ts` from the `@commercetools/platform-sdk` type declarations):
|
|
@@ -317,7 +320,7 @@ scripts/generate.ts (entry point: npm run generate)
|
|
|
317
320
|
│ Extracts: *MessagePayload type literals,
|
|
318
321
|
│ MessageSubscriptionResourceTypeId values,
|
|
319
322
|
│ ChangeSubscriptionResourceTypeId values
|
|
320
|
-
│ Filters to allowedResources: [product, customer, cart, order, business-unit, category, channel, associate-role, inventory-entry, review, shopping-list]
|
|
323
|
+
│ Filters to allowedResources: [product, customer, cart, order, business-unit, category, channel, associate-role, inventory-entry, review, shopping-list, type]
|
|
321
324
|
│ → nodes/Commercetools/generated/ctp-event-registry.json
|
|
322
325
|
│
|
|
323
326
|
└── generateSubscriptionProperties.ts
|
|
@@ -367,10 +370,11 @@ New API endpoints and fields appear in the node automatically without manual dev
|
|
|
367
370
|
|
|
368
371
|
| Version | Changes |
|
|
369
372
|
| ------- | ------------------------------------------------------------------------------------------------ |
|
|
370
|
-
| v1.0.
|
|
373
|
+
| v1.0.6 | Added Reviews and Shopping Lists. |
|
|
374
|
+
| v1.0.5 | Added Inventory feature. |
|
|
371
375
|
| v1.0.4 | Added Channels and Associate Roles. |
|
|
372
376
|
| v1.0.3 | Added Business Units and Categories. |
|
|
373
|
-
|
|
377
|
+
|
|
374
378
|
|
|
375
379
|
|
|
376
380
|
---
|