n8n-nodes-commercetools 1.0.12 → 1.0.13
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 +21 -3
- package/dist/nodes/Commercetools/generated/ctp-event-registry.json +241 -1
- package/dist/nodes/Commercetools/generated/operations.json +4994 -281
- package/dist/nodes/Commercetools/generated/properties.js +7001 -2271
- package/dist/nodes/Commercetools/generated/properties.js.map +1 -1
- package/dist/nodes/Commercetools/generated/subscription.properties.js +48 -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, States, Quotes, Quote Requests, Staged Quotes, Messages, API Extensions, Approval Rules, Approval Flows,
|
|
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, API Extensions, Approval Rules, Approval Flows, Associate Endpoints, Standalone Prices, Stores, Product Tailoring, Customer Groups, Product Selections, Cart Discounts, and Discount Codes
|
|
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
|
|
@@ -89,6 +89,13 @@ Select a **Resource** and **Operation** to interact with the commercetools API.
|
|
|
89
89
|
| **Associate Quote Request**| Create, Get by ID, Get by Key, Query, Update, HEAD checks |
|
|
90
90
|
| **Associate Shopping List**| Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
91
91
|
| **Associate Business Unit**| Get by ID, Get by Key, Query, Update, HEAD checks |
|
|
92
|
+
| **Standalone Price** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
93
|
+
| **Store** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
94
|
+
| **Product Tailoring** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
95
|
+
| **Customer Group** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
96
|
+
| **Product Selection** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
97
|
+
| **Cart Discount** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
98
|
+
| **Discount Code** | Create, Get by ID, Get by Key, Query, Update, Delete, HEAD checks |
|
|
92
99
|
|
|
93
100
|
#### How field generation works
|
|
94
101
|
|
|
@@ -209,6 +216,16 @@ Listens for real-time commercetools events via webhook subscription. On activati
|
|
|
209
216
|
|
|
210
217
|
**Approval Flow** — created, approved, completed, rejected
|
|
211
218
|
|
|
219
|
+
**Standalone Price** — created, deleted, discounted price set/removed, external price set, price tiers set/added/removed, staged changes applied/removed, validity dates set, custom field updates
|
|
220
|
+
|
|
221
|
+
**Store** — created, deleted, name set, languages added/removed, countries added/removed, distribution channels added/removed, supply channels added/removed, product selections added/removed/updated, custom field updates
|
|
222
|
+
|
|
223
|
+
**Product Tailoring** — created, deleted, published, unpublished, name set, description set, slug set, images added/removed, assets added/removed/changed
|
|
224
|
+
|
|
225
|
+
**Customer Group** — created, custom field updates
|
|
226
|
+
|
|
227
|
+
**Product Selection** — created, deleted, product added/removed/excluded, variant selection/exclusion changed
|
|
228
|
+
|
|
212
229
|
#### Subscription routing
|
|
213
230
|
|
|
214
231
|
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):
|
|
@@ -366,7 +383,7 @@ scripts/generate.ts (entry point: npm run generate)
|
|
|
366
383
|
│ Extracts: *MessagePayload type literals,
|
|
367
384
|
│ MessageSubscriptionResourceTypeId values,
|
|
368
385
|
│ ChangeSubscriptionResourceTypeId values
|
|
369
|
-
│ │ 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, approval-rule, approval-flow]
|
|
386
|
+
│ │ 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, approval-rule, approval-flow, standalone-price, store, product-tailoring, customer-group, product-selection]
|
|
370
387
|
│ → nodes/Commercetools/generated/ctp-event-registry.json
|
|
371
388
|
│
|
|
372
389
|
└── generateSubscriptionProperties.ts
|
|
@@ -417,7 +434,8 @@ New API endpoints and fields appear in the node automatically without manual dev
|
|
|
417
434
|
|
|
418
435
|
| Version | Changes |
|
|
419
436
|
| ------- | ------------------------------------------------------------------------------------------------ |
|
|
420
|
-
| v1.0.
|
|
437
|
+
| v1.0.12 | Added Approval Rules, Approval Flows, and Associate Endpoints |
|
|
438
|
+
| v1.0.11 | Added Quotes, Quote Requests, Staged Quotes, Messages, and API Extensions |
|
|
421
439
|
| v1.0.10 | Added Claude AI agents and skills for automated development assistance |
|
|
422
440
|
| v1.0.9 | Added Zones, Subscriptions, and States |
|
|
423
441
|
| v1.0.8 | Added Custom Objects, Payments, Payment Methods, and Shipping Methods |
|
|
@@ -445,6 +445,51 @@
|
|
|
445
445
|
"resourceTypeId": "customer",
|
|
446
446
|
"subscriptionType": "message"
|
|
447
447
|
},
|
|
448
|
+
{
|
|
449
|
+
"value": "CustomerGroupAssignmentAdded",
|
|
450
|
+
"resourceTypeId": "customer-group",
|
|
451
|
+
"subscriptionType": "message"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"value": "CustomerGroupAssignmentRemoved",
|
|
455
|
+
"resourceTypeId": "customer-group",
|
|
456
|
+
"subscriptionType": "message"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"value": "CustomerGroupAssignmentsSet",
|
|
460
|
+
"resourceTypeId": "customer-group",
|
|
461
|
+
"subscriptionType": "message"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"value": "CustomerGroupCustomFieldAdded",
|
|
465
|
+
"resourceTypeId": "customer-group",
|
|
466
|
+
"subscriptionType": "message"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"value": "CustomerGroupCustomFieldChanged",
|
|
470
|
+
"resourceTypeId": "customer-group",
|
|
471
|
+
"subscriptionType": "message"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"value": "CustomerGroupCustomFieldRemoved",
|
|
475
|
+
"resourceTypeId": "customer-group",
|
|
476
|
+
"subscriptionType": "message"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"value": "CustomerGroupCustomTypeRemoved",
|
|
480
|
+
"resourceTypeId": "customer-group",
|
|
481
|
+
"subscriptionType": "message"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"value": "CustomerGroupCustomTypeSet",
|
|
485
|
+
"resourceTypeId": "customer-group",
|
|
486
|
+
"subscriptionType": "message"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"value": "CustomerGroupSet",
|
|
490
|
+
"resourceTypeId": "customer-group",
|
|
491
|
+
"subscriptionType": "message"
|
|
492
|
+
},
|
|
448
493
|
{
|
|
449
494
|
"value": "CustomerLastNameSet",
|
|
450
495
|
"resourceTypeId": "customer",
|
|
@@ -945,6 +990,41 @@
|
|
|
945
990
|
"resourceTypeId": "product",
|
|
946
991
|
"subscriptionType": "message"
|
|
947
992
|
},
|
|
993
|
+
{
|
|
994
|
+
"value": "ProductSelectionCreated",
|
|
995
|
+
"resourceTypeId": "product-selection",
|
|
996
|
+
"subscriptionType": "message"
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"value": "ProductSelectionDeleted",
|
|
1000
|
+
"resourceTypeId": "product-selection",
|
|
1001
|
+
"subscriptionType": "message"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"value": "ProductSelectionProductAdded",
|
|
1005
|
+
"resourceTypeId": "product-selection",
|
|
1006
|
+
"subscriptionType": "message"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"value": "ProductSelectionProductExcluded",
|
|
1010
|
+
"resourceTypeId": "product-selection",
|
|
1011
|
+
"subscriptionType": "message"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"value": "ProductSelectionProductRemoved",
|
|
1015
|
+
"resourceTypeId": "product-selection",
|
|
1016
|
+
"subscriptionType": "message"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"value": "ProductSelectionVariantExclusionChanged",
|
|
1020
|
+
"resourceTypeId": "product-selection",
|
|
1021
|
+
"subscriptionType": "message"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"value": "ProductSelectionVariantSelectionChanged",
|
|
1025
|
+
"resourceTypeId": "product-selection",
|
|
1026
|
+
"subscriptionType": "message"
|
|
1027
|
+
},
|
|
948
1028
|
{
|
|
949
1029
|
"value": "ProductSlugChanged",
|
|
950
1030
|
"resourceTypeId": "product",
|
|
@@ -955,6 +1035,51 @@
|
|
|
955
1035
|
"resourceTypeId": "product",
|
|
956
1036
|
"subscriptionType": "message"
|
|
957
1037
|
},
|
|
1038
|
+
{
|
|
1039
|
+
"value": "ProductTailoringCreated",
|
|
1040
|
+
"resourceTypeId": "product-tailoring",
|
|
1041
|
+
"subscriptionType": "message"
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"value": "ProductTailoringDeleted",
|
|
1045
|
+
"resourceTypeId": "product-tailoring",
|
|
1046
|
+
"subscriptionType": "message"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"value": "ProductTailoringDescriptionSet",
|
|
1050
|
+
"resourceTypeId": "product-tailoring",
|
|
1051
|
+
"subscriptionType": "message"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"value": "ProductTailoringImageAdded",
|
|
1055
|
+
"resourceTypeId": "product-tailoring",
|
|
1056
|
+
"subscriptionType": "message"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"value": "ProductTailoringImagesSet",
|
|
1060
|
+
"resourceTypeId": "product-tailoring",
|
|
1061
|
+
"subscriptionType": "message"
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"value": "ProductTailoringNameSet",
|
|
1065
|
+
"resourceTypeId": "product-tailoring",
|
|
1066
|
+
"subscriptionType": "message"
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"value": "ProductTailoringPublished",
|
|
1070
|
+
"resourceTypeId": "product-tailoring",
|
|
1071
|
+
"subscriptionType": "message"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"value": "ProductTailoringSlugSet",
|
|
1075
|
+
"resourceTypeId": "product-tailoring",
|
|
1076
|
+
"subscriptionType": "message"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"value": "ProductTailoringUnpublished",
|
|
1080
|
+
"resourceTypeId": "product-tailoring",
|
|
1081
|
+
"subscriptionType": "message"
|
|
1082
|
+
},
|
|
958
1083
|
{
|
|
959
1084
|
"value": "ProductUnpublished",
|
|
960
1085
|
"resourceTypeId": "product",
|
|
@@ -1099,6 +1224,121 @@
|
|
|
1099
1224
|
"value": "StagedQuoteValidToSet",
|
|
1100
1225
|
"resourceTypeId": "staged-quote",
|
|
1101
1226
|
"subscriptionType": "message"
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"value": "StandalonePriceActiveChanged",
|
|
1230
|
+
"resourceTypeId": "standalone-price",
|
|
1231
|
+
"subscriptionType": "message"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"value": "StandalonePriceCreated",
|
|
1235
|
+
"resourceTypeId": "standalone-price",
|
|
1236
|
+
"subscriptionType": "message"
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"value": "StandalonePriceDeleted",
|
|
1240
|
+
"resourceTypeId": "standalone-price",
|
|
1241
|
+
"subscriptionType": "message"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"value": "StandalonePriceDiscountSet",
|
|
1245
|
+
"resourceTypeId": "standalone-price",
|
|
1246
|
+
"subscriptionType": "message"
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"value": "StandalonePriceExternalDiscountSet",
|
|
1250
|
+
"resourceTypeId": "standalone-price",
|
|
1251
|
+
"subscriptionType": "message"
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"value": "StandalonePriceKeySet",
|
|
1255
|
+
"resourceTypeId": "standalone-price",
|
|
1256
|
+
"subscriptionType": "message"
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"value": "StandalonePriceStagedChangesApplied",
|
|
1260
|
+
"resourceTypeId": "standalone-price",
|
|
1261
|
+
"subscriptionType": "message"
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"value": "StandalonePriceStagedChangesRemoved",
|
|
1265
|
+
"resourceTypeId": "standalone-price",
|
|
1266
|
+
"subscriptionType": "message"
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"value": "StandalonePriceTierAdded",
|
|
1270
|
+
"resourceTypeId": "standalone-price",
|
|
1271
|
+
"subscriptionType": "message"
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"value": "StandalonePriceTierRemoved",
|
|
1275
|
+
"resourceTypeId": "standalone-price",
|
|
1276
|
+
"subscriptionType": "message"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"value": "StandalonePriceTiersSet",
|
|
1280
|
+
"resourceTypeId": "standalone-price",
|
|
1281
|
+
"subscriptionType": "message"
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"value": "StandalonePriceValidFromAndUntilSet",
|
|
1285
|
+
"resourceTypeId": "standalone-price",
|
|
1286
|
+
"subscriptionType": "message"
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"value": "StandalonePriceValidFromSet",
|
|
1290
|
+
"resourceTypeId": "standalone-price",
|
|
1291
|
+
"subscriptionType": "message"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"value": "StandalonePriceValidUntilSet",
|
|
1295
|
+
"resourceTypeId": "standalone-price",
|
|
1296
|
+
"subscriptionType": "message"
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"value": "StandalonePriceValueChanged",
|
|
1300
|
+
"resourceTypeId": "standalone-price",
|
|
1301
|
+
"subscriptionType": "message"
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"value": "StoreCountriesChanged",
|
|
1305
|
+
"resourceTypeId": "store",
|
|
1306
|
+
"subscriptionType": "message"
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"value": "StoreCreated",
|
|
1310
|
+
"resourceTypeId": "store",
|
|
1311
|
+
"subscriptionType": "message"
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"value": "StoreDeleted",
|
|
1315
|
+
"resourceTypeId": "store",
|
|
1316
|
+
"subscriptionType": "message"
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"value": "StoreDistributionChannelsChanged",
|
|
1320
|
+
"resourceTypeId": "store",
|
|
1321
|
+
"subscriptionType": "message"
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"value": "StoreLanguagesChanged",
|
|
1325
|
+
"resourceTypeId": "store",
|
|
1326
|
+
"subscriptionType": "message"
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"value": "StoreNameSet",
|
|
1330
|
+
"resourceTypeId": "store",
|
|
1331
|
+
"subscriptionType": "message"
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"value": "StoreProductSelectionsChanged",
|
|
1335
|
+
"resourceTypeId": "store",
|
|
1336
|
+
"subscriptionType": "message"
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"value": "StoreSupplyChannelsChanged",
|
|
1340
|
+
"resourceTypeId": "store",
|
|
1341
|
+
"subscriptionType": "message"
|
|
1102
1342
|
}
|
|
1103
1343
|
],
|
|
1104
1344
|
"messageResourceTypeIds": [
|
|
@@ -1169,7 +1409,7 @@
|
|
|
1169
1409
|
"zone"
|
|
1170
1410
|
],
|
|
1171
1411
|
"stats": {
|
|
1172
|
-
"totalMessages":
|
|
1412
|
+
"totalMessages": 268,
|
|
1173
1413
|
"unmapped": 0,
|
|
1174
1414
|
"unclassified": 0
|
|
1175
1415
|
},
|