n8n-nodes-commercetools 1.0.10 → 1.0.11
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 +20 -4
- package/dist/nodes/Commercetools/generated/ctp-event-registry.json +86 -1
- package/dist/nodes/Commercetools/generated/operations.json +1573 -9
- package/dist/nodes/Commercetools/generated/properties.js +2380 -571
- package/dist/nodes/Commercetools/generated/properties.js.map +1 -1
- package/dist/nodes/Commercetools/generated/subscription.properties.js +17 -0
- package/dist/nodes/Commercetools/generated/subscription.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, Shopping Lists, Types, Custom Objects, Payments, Payment Methods, Shipping Methods, Zones, Subscriptions, and
|
|
29
|
+
- Full CRUD coverage for Products, Customers, Carts, Orders, Business Units, Categories, Channels, Associate Roles, Inventory, Reviews, Shopping Lists, Types, Custom Objects, Payments, Payment Methods, Shipping Methods, Zones, Subscriptions, States, Quotes, Quote Requests, Staged Quotes, Messages, and API Extensions
|
|
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
|
|
@@ -76,6 +76,11 @@ Select a **Resource** and **Operation** to interact with the commercetools API.
|
|
|
76
76
|
| **Zone** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
77
77
|
| **Subscription** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
78
78
|
| **State** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
79
|
+
| **Quote** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
80
|
+
| **Quote Request** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
81
|
+
| **Staged Quote** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
82
|
+
| **Message** | Get by ID, Query, HEAD checks |
|
|
83
|
+
| **Extension** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
79
84
|
|
|
80
85
|
#### How field generation works
|
|
81
86
|
|
|
@@ -182,6 +187,16 @@ Listens for real-time commercetools events via webhook subscription. On activati
|
|
|
182
187
|
|
|
183
188
|
**States** — change notifications only (CT does not support message subscriptions for states)
|
|
184
189
|
|
|
190
|
+
**Quote** — created, deleted, customer changed, seller comment set, state changed, state transition, valid to set
|
|
191
|
+
|
|
192
|
+
**Quote Request** — created, deleted, customer changed, state changed, state transition
|
|
193
|
+
|
|
194
|
+
**Staged Quote** — created, deleted, seller comment set, state changed, state transition, valid to set
|
|
195
|
+
|
|
196
|
+
**Messages** — no triggers (read-only resource)
|
|
197
|
+
|
|
198
|
+
**Extensions** — no message triggers (change subscriptions only)
|
|
199
|
+
|
|
185
200
|
#### Subscription routing
|
|
186
201
|
|
|
187
202
|
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):
|
|
@@ -339,7 +354,7 @@ scripts/generate.ts (entry point: npm run generate)
|
|
|
339
354
|
│ Extracts: *MessagePayload type literals,
|
|
340
355
|
│ MessageSubscriptionResourceTypeId values,
|
|
341
356
|
│ ChangeSubscriptionResourceTypeId values
|
|
342
|
-
│ Filters to allowedResources: [product, customer, cart, order, business-unit, category, channel, associate-role, inventory-entry, review, shopping-list, type, payment]
|
|
357
|
+
│ │ Filters to allowedResources: [product, customer, cart, order, business-unit, category, channel, associate-role, inventory-entry, review, shopping-list, type, payment, quote, quote-request, staged-quote]
|
|
343
358
|
│ → nodes/Commercetools/generated/ctp-event-registry.json
|
|
344
359
|
│
|
|
345
360
|
└── generateSubscriptionProperties.ts
|
|
@@ -390,10 +405,11 @@ New API endpoints and fields appear in the node automatically without manual dev
|
|
|
390
405
|
|
|
391
406
|
| Version | Changes |
|
|
392
407
|
| ------- | ------------------------------------------------------------------------------------------------ |
|
|
408
|
+
| v1.0.10 | Added Claude AI agents and skills for automated development assistance |
|
|
409
|
+
| v1.0.9 | Added Zones, Subscriptions, and States |
|
|
393
410
|
| v1.0.8 | Added Custom Objects, Payments, Payment Methods, and Shipping Methods |
|
|
394
411
|
| v1.0.7 | Added Types feature. |
|
|
395
|
-
|
|
396
|
-
| v1.0.5 | Added Inventory feature. |
|
|
412
|
+
|
|
397
413
|
|
|
398
414
|
|
|
399
415
|
|
|
@@ -920,6 +920,61 @@
|
|
|
920
920
|
"resourceTypeId": "product",
|
|
921
921
|
"subscriptionType": "message"
|
|
922
922
|
},
|
|
923
|
+
{
|
|
924
|
+
"value": "QuoteCreated",
|
|
925
|
+
"resourceTypeId": "quote",
|
|
926
|
+
"subscriptionType": "message"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"value": "QuoteCustomerChanged",
|
|
930
|
+
"resourceTypeId": "quote",
|
|
931
|
+
"subscriptionType": "message"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"value": "QuoteDeleted",
|
|
935
|
+
"resourceTypeId": "quote",
|
|
936
|
+
"subscriptionType": "message"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"value": "QuoteRenegotiationRequested",
|
|
940
|
+
"resourceTypeId": "quote",
|
|
941
|
+
"subscriptionType": "message"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"value": "QuoteRequestCreated",
|
|
945
|
+
"resourceTypeId": "quote-request",
|
|
946
|
+
"subscriptionType": "message"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"value": "QuoteRequestCustomerChanged",
|
|
950
|
+
"resourceTypeId": "quote-request",
|
|
951
|
+
"subscriptionType": "message"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"value": "QuoteRequestDeleted",
|
|
955
|
+
"resourceTypeId": "quote-request",
|
|
956
|
+
"subscriptionType": "message"
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"value": "QuoteRequestStateChanged",
|
|
960
|
+
"resourceTypeId": "quote-request",
|
|
961
|
+
"subscriptionType": "message"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"value": "QuoteRequestStateTransition",
|
|
965
|
+
"resourceTypeId": "quote-request",
|
|
966
|
+
"subscriptionType": "message"
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"value": "QuoteStateChanged",
|
|
970
|
+
"resourceTypeId": "quote",
|
|
971
|
+
"subscriptionType": "message"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"value": "QuoteStateTransition",
|
|
975
|
+
"resourceTypeId": "quote",
|
|
976
|
+
"subscriptionType": "message"
|
|
977
|
+
},
|
|
923
978
|
{
|
|
924
979
|
"value": "ReturnInfoAdded",
|
|
925
980
|
"resourceTypeId": "order",
|
|
@@ -954,6 +1009,36 @@
|
|
|
954
1009
|
"value": "ShoppingListLineItemRemoved",
|
|
955
1010
|
"resourceTypeId": "shopping-list",
|
|
956
1011
|
"subscriptionType": "message"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"value": "StagedQuoteCreated",
|
|
1015
|
+
"resourceTypeId": "staged-quote",
|
|
1016
|
+
"subscriptionType": "message"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"value": "StagedQuoteDeleted",
|
|
1020
|
+
"resourceTypeId": "staged-quote",
|
|
1021
|
+
"subscriptionType": "message"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"value": "StagedQuoteSellerCommentSet",
|
|
1025
|
+
"resourceTypeId": "staged-quote",
|
|
1026
|
+
"subscriptionType": "message"
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"value": "StagedQuoteStateChanged",
|
|
1030
|
+
"resourceTypeId": "staged-quote",
|
|
1031
|
+
"subscriptionType": "message"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"value": "StagedQuoteStateTransition",
|
|
1035
|
+
"resourceTypeId": "staged-quote",
|
|
1036
|
+
"subscriptionType": "message"
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"value": "StagedQuoteValidToSet",
|
|
1040
|
+
"resourceTypeId": "staged-quote",
|
|
1041
|
+
"subscriptionType": "message"
|
|
957
1042
|
}
|
|
958
1043
|
],
|
|
959
1044
|
"messageResourceTypeIds": [
|
|
@@ -1024,7 +1109,7 @@
|
|
|
1024
1109
|
"zone"
|
|
1025
1110
|
],
|
|
1026
1111
|
"stats": {
|
|
1027
|
-
"totalMessages":
|
|
1112
|
+
"totalMessages": 208,
|
|
1028
1113
|
"unmapped": 0,
|
|
1029
1114
|
"unclassified": 0
|
|
1030
1115
|
},
|