n8n-nodes-commercetools 0.1.8 → 0.1.9

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.
@@ -570,98 +570,1658 @@ exports.commercetoolsDescription = {
570
570
  },
571
571
  {
572
572
  displayName: 'Actions (UI)',
573
- name: 'actionsUi',
573
+ name: 'updateActions',
574
574
  type: 'fixedCollection',
575
575
  default: {},
576
576
  placeholder: 'Add Action',
577
577
  typeOptions: {
578
578
  multipleValues: true,
579
579
  },
580
- description: 'Update actions built via UI for ease of use',
580
+ description: 'Define multiple update actions to perform on the product',
581
+ displayOptions: {
582
+ show: {
583
+ resource: ['product'],
584
+ operation: ['update', 'updateByKey'],
585
+ },
586
+ },
581
587
  options: [
582
588
  {
583
589
  displayName: 'Action',
584
590
  name: 'action',
585
591
  values: [
586
592
  {
587
- displayName: 'Change Product Name',
588
- name: 'changeProductName',
589
- type: 'collection',
593
+ displayName: 'Action Type',
594
+ name: 'action',
595
+ type: 'options',
596
+ required: true,
597
+ default: 'publish',
598
+ options: [
599
+ {
600
+ name: 'Add Asset',
601
+ value: 'addAsset',
602
+ },
603
+ {
604
+ name: 'Add External Image',
605
+ value: 'addExternalImage',
606
+ },
607
+ {
608
+ name: 'Add Price',
609
+ value: 'addPrice',
610
+ },
611
+ {
612
+ name: 'Add Product Variant',
613
+ value: 'addVariant',
614
+ },
615
+ {
616
+ name: 'Add To Category',
617
+ value: 'addToCategory',
618
+ },
619
+ {
620
+ name: 'Change Asset Name',
621
+ value: 'changeAssetName',
622
+ },
623
+ {
624
+ name: 'Change Asset Order',
625
+ value: 'changeAssetOrder',
626
+ },
627
+ {
628
+ name: 'Change Master Variant',
629
+ value: 'changeMasterVariant',
630
+ },
631
+ {
632
+ name: 'Change Name',
633
+ value: 'changeName',
634
+ },
635
+ {
636
+ name: 'Change Price',
637
+ value: 'changePrice',
638
+ },
639
+ {
640
+ name: 'Change Slug',
641
+ value: 'changeSlug',
642
+ },
643
+ {
644
+ name: 'Move Image To Position',
645
+ value: 'moveImageToPosition',
646
+ },
647
+ {
648
+ name: 'Publish',
649
+ value: 'publish',
650
+ },
651
+ {
652
+ name: 'Remove Asset',
653
+ value: 'removeAsset',
654
+ },
655
+ {
656
+ name: 'Remove From Category',
657
+ value: 'removeFromCategory',
658
+ },
659
+ {
660
+ name: 'Remove Image',
661
+ value: 'removeImage',
662
+ },
663
+ {
664
+ name: 'Remove Price',
665
+ value: 'removePrice',
666
+ },
667
+ {
668
+ name: 'Remove Variant',
669
+ value: 'removeVariant',
670
+ },
671
+ {
672
+ name: 'Revert Staged Changes',
673
+ value: 'revertStagedChanges',
674
+ },
675
+ {
676
+ name: 'Revert Staged Variant Changes',
677
+ value: 'revertStagedVariantChanges',
678
+ },
679
+ {
680
+ name: 'Set Asset Custom Field',
681
+ value: 'setAssetCustomField',
682
+ },
683
+ {
684
+ name: 'Set Asset Custom Type',
685
+ value: 'setAssetCustomType',
686
+ },
687
+ {
688
+ name: 'Set Asset Description',
689
+ value: 'setAssetDescription',
690
+ },
691
+ {
692
+ name: 'Set Asset Key',
693
+ value: 'setAssetKey',
694
+ },
695
+ {
696
+ name: 'Set Asset Sources',
697
+ value: 'setAssetSources',
698
+ },
699
+ {
700
+ name: 'Set Asset Tags',
701
+ value: 'setAssetTags',
702
+ },
703
+ {
704
+ name: 'Set Attribute',
705
+ value: 'setAttribute',
706
+ },
707
+ {
708
+ name: 'Set Attribute In All Variants',
709
+ value: 'setAttributeInAllVariants',
710
+ },
711
+ {
712
+ name: 'Set Category Order Hint',
713
+ value: 'setCategoryOrderHint',
714
+ },
715
+ {
716
+ name: 'Set Description',
717
+ value: 'setDescription',
718
+ },
719
+ {
720
+ name: 'Set Image Label',
721
+ value: 'setImageLabel',
722
+ },
723
+ {
724
+ name: 'Set Key',
725
+ value: 'setKey',
726
+ },
727
+ {
728
+ name: 'Set Meta Description',
729
+ value: 'setMetaDescription',
730
+ },
731
+ {
732
+ name: 'Set Meta Keywords',
733
+ value: 'setMetaKeywords',
734
+ },
735
+ {
736
+ name: 'Set Meta Title',
737
+ value: 'setMetaTitle',
738
+ },
739
+ {
740
+ name: 'Set Price Custom Field',
741
+ value: 'setProductPriceCustomField',
742
+ },
743
+ {
744
+ name: 'Set Price Key',
745
+ value: 'setPriceKey',
746
+ },
747
+ {
748
+ name: 'Set Price Mode',
749
+ value: 'setPriceMode',
750
+ },
751
+ {
752
+ name: 'Set Prices',
753
+ value: 'setPrices',
754
+ },
755
+ {
756
+ name: 'Set Product Attribute',
757
+ value: 'setProductAttribute',
758
+ },
759
+ {
760
+ name: 'Set Product Price Custom Type',
761
+ value: 'setProductPriceCustomType',
762
+ },
763
+ {
764
+ name: 'Set Product Variant Key',
765
+ value: 'setProductVariantKey',
766
+ },
767
+ {
768
+ name: 'Set Search Keywords',
769
+ value: 'setSearchKeywords',
770
+ },
771
+ {
772
+ name: 'Set SKU',
773
+ value: 'setSku',
774
+ },
775
+ {
776
+ name: 'Set Tax Category',
777
+ value: 'setTaxCategory',
778
+ },
779
+ {
780
+ name: 'Transition State',
781
+ value: 'transitionState',
782
+ },
783
+ {
784
+ name: 'Unpublish',
785
+ value: 'unpublish',
786
+ },
787
+ ],
788
+ },
789
+ {
790
+ displayName: 'Asset ID',
791
+ name: 'assetId',
792
+ type: 'string',
793
+ default: '',
794
+ required: true,
795
+ description: 'ID of the asset',
796
+ displayOptions: {
797
+ show: {
798
+ action: [
799
+ 'changeAssetName',
800
+ 'removeAsset',
801
+ 'setAssetCustomField',
802
+ 'setAssetCustomType',
803
+ 'setAssetDescription',
804
+ 'setAssetKey',
805
+ 'setAssetSources',
806
+ 'setAssetTags',
807
+ ],
808
+ },
809
+ },
810
+ },
811
+ {
812
+ displayName: 'Asset Name',
813
+ name: 'name',
814
+ type: 'fixedCollection',
590
815
  default: {},
591
- placeholder: 'Add Change Name Action',
816
+ typeOptions: {
817
+ multipleValues: true,
818
+ },
819
+ description: 'Localized asset names',
820
+ displayOptions: {
821
+ show: {
822
+ action: ['changeAssetName', 'addAsset'],
823
+ },
824
+ },
592
825
  options: [
593
826
  {
594
- displayName: 'Localized Names',
595
- name: 'localizedNames',
596
- type: 'fixedCollection',
597
- default: {},
598
- typeOptions: {
599
- multipleValues: true,
600
- },
601
- options: [
827
+ displayName: 'Localized Name',
828
+ name: 'localizedField',
829
+ values: [
830
+ {
831
+ displayName: 'Locale',
832
+ name: 'locale',
833
+ type: 'string',
834
+ default: 'en',
835
+ description: 'Locale code (e.g., en, de, fr)',
836
+ },
602
837
  {
603
- name: 'value',
604
838
  displayName: 'Value',
605
- values: [
839
+ name: 'value',
840
+ type: 'string',
841
+ default: '',
842
+ description: 'Name in this locale',
843
+ },
844
+ ],
845
+ },
846
+ ],
847
+ },
848
+ {
849
+ displayName: 'Asset Order',
850
+ name: 'assetOrder',
851
+ type: 'string',
852
+ default: [],
853
+ typeOptions: {
854
+ multipleValues: true,
855
+ },
856
+ description: 'List of asset IDs in order',
857
+ displayOptions: {
858
+ show: {
859
+ action: ['changeAssetOrder'],
860
+ },
861
+ },
862
+ },
863
+ {
864
+ displayName: 'Asset Sources',
865
+ name: 'asset',
866
+ type: 'fixedCollection',
867
+ default: {},
868
+ typeOptions: {
869
+ multipleValues: true,
870
+ },
871
+ description: 'Sources for the asset',
872
+ displayOptions: {
873
+ show: {
874
+ action: ['addAsset'],
875
+ },
876
+ },
877
+ options: [
878
+ {
879
+ displayName: 'Sources',
880
+ name: 'sources',
881
+ values: [
882
+ {
883
+ displayName: 'URI',
884
+ name: 'uri',
885
+ type: 'string',
886
+ default: '',
887
+ required: true,
888
+ description: 'URI of the asset source',
889
+ },
890
+ ],
891
+ },
892
+ ],
893
+ },
894
+ {
895
+ displayName: "Asset Sources",
896
+ name: "sources",
897
+ type: "fixedCollection",
898
+ placeholder: "Add source",
899
+ default: [],
900
+ typeOptions: {
901
+ multipleValues: true,
902
+ },
903
+ description: "List of asset sources with URI and key",
904
+ displayOptions: {
905
+ show: {
906
+ action: ["setAssetSources"],
907
+ },
908
+ },
909
+ options: [
910
+ {
911
+ displayName: "Source",
912
+ name: "source",
913
+ values: [
914
+ {
915
+ displayName: "URI",
916
+ name: "uri",
917
+ type: "string",
918
+ default: "",
919
+ placeholder: "https://www.commercetools.de/ct-logo.svg",
920
+ },
921
+ ],
922
+ },
923
+ ],
924
+ },
925
+ {
926
+ displayName: 'Assets',
927
+ name: 'assets',
928
+ type: 'fixedCollection',
929
+ default: {},
930
+ placeholder: 'Add Asset',
931
+ typeOptions: {
932
+ multipleValues: true,
933
+ },
934
+ description: 'Assets attached to the variant',
935
+ displayOptions: {
936
+ show: {
937
+ action: ['addVariant'],
938
+ },
939
+ },
940
+ options: [
941
+ {
942
+ displayName: 'Asset',
943
+ name: 'asset',
944
+ values: [
945
+ {
946
+ displayName: 'Key',
947
+ name: 'key',
948
+ type: 'string',
949
+ default: '',
950
+ description: 'Optional unique key for the asset',
951
+ },
952
+ {
953
+ displayName: 'Name',
954
+ name: 'name',
955
+ type: 'fixedCollection',
956
+ default: {},
957
+ typeOptions: {
958
+ multipleValues: true,
959
+ },
960
+ description: 'Localized asset name',
961
+ options: [
606
962
  {
607
- displayName: 'Locale',
608
- name: 'locale',
609
- type: 'string',
610
- default: '',
611
- description: 'Locale identifier, e.g. "en-US"',
963
+ displayName: 'Localized Name',
964
+ name: 'localizedField',
965
+ values: [
966
+ {
967
+ displayName: 'Locale',
968
+ name: 'locale',
969
+ type: 'string',
970
+ default: 'en',
971
+ },
972
+ {
973
+ displayName: 'Value',
974
+ name: 'value',
975
+ type: 'string',
976
+ default: '',
977
+ },
978
+ ],
612
979
  },
980
+ ],
981
+ },
982
+ {
983
+ displayName: 'Sources',
984
+ name: 'sources',
985
+ type: 'fixedCollection',
986
+ default: {},
987
+ typeOptions: {
988
+ multipleValues: true,
989
+ },
990
+ description: 'Sources that describe the asset content',
991
+ options: [
613
992
  {
614
- displayName: 'Name',
615
- name: 'value',
616
- type: 'string',
617
- default: '',
618
- description: 'Localized product name for the locale',
993
+ displayName: 'Source',
994
+ name: 'source',
995
+ values: [
996
+ {
997
+ displayName: 'URI',
998
+ name: 'uri',
999
+ type: 'string',
1000
+ default: '',
1001
+ required: true,
1002
+ },
1003
+ {
1004
+ displayName: 'Key',
1005
+ name: 'key',
1006
+ type: 'string',
1007
+ default: '',
1008
+ },
1009
+ {
1010
+ displayName: 'Content Type',
1011
+ name: 'contentType',
1012
+ type: 'string',
1013
+ default: '',
1014
+ },
1015
+ {
1016
+ displayName: 'Dimensions',
1017
+ name: 'dimensions',
1018
+ type: 'fixedCollection',
1019
+ default: {},
1020
+ placeholder: 'Add Dimensions',
1021
+ options: [
1022
+ {
1023
+ name: 'size',
1024
+ displayName: 'Size',
1025
+ values: [
1026
+ {
1027
+ displayName: 'Width',
1028
+ name: 'w',
1029
+ type: 'number',
1030
+ default: 0,
1031
+ },
1032
+ {
1033
+ displayName: 'Height',
1034
+ name: 'h',
1035
+ type: 'number',
1036
+ default: 0,
1037
+ },
1038
+ ],
1039
+ },
1040
+ ],
1041
+ },
1042
+ ],
619
1043
  },
620
1044
  ],
621
1045
  },
622
1046
  ],
623
1047
  },
624
- {
625
- displayName: 'Apply to Staged Version',
626
- name: 'staged',
627
- type: 'boolean',
628
- default: false,
629
- description: 'Whether the name change should apply to the staged product data',
630
- },
631
1048
  ],
632
1049
  },
633
1050
  {
634
- displayName: 'Set Product Key',
635
- name: 'setProductKey',
636
- type: 'collection',
637
- default: {},
638
- placeholder: 'Add Set Product Key Action',
1051
+ displayName: 'Attribute Name',
1052
+ name: 'name',
1053
+ type: 'string',
1054
+ default: '',
1055
+ required: true,
1056
+ description: 'Name of the attribute',
1057
+ displayOptions: {
1058
+ show: {
1059
+ action: ['setAttribute', 'setAttributeInAllVariants', 'setProductAttribute'],
1060
+ },
1061
+ },
1062
+ },
1063
+ {
1064
+ displayName: 'Attribute Value',
1065
+ name: 'value',
1066
+ type: 'string',
1067
+ default: '',
1068
+ description: 'Value of the attribute',
1069
+ typeOptions: {
1070
+ alwaysOpenEditWindow: true,
1071
+ },
1072
+ displayOptions: {
1073
+ show: {
1074
+ action: ['setAttribute', 'setAttributeInAllVariants', 'setProductAttribute'],
1075
+ },
1076
+ },
1077
+ },
1078
+ {
1079
+ displayName: 'Attribute Value Type',
1080
+ name: 'valueType',
1081
+ type: 'options',
639
1082
  options: [
640
1083
  {
641
- displayName: 'New Key',
642
- name: 'key',
643
- type: 'string',
644
- default: '',
645
- description: 'New product key to set',
1084
+ name: 'String',
1085
+ value: 'string',
646
1086
  },
647
1087
  {
648
- displayName: 'Remove Key',
649
- name: 'removeKey',
650
- type: 'boolean',
651
- default: false,
652
- description: 'Whether to remove the product key instead of setting a new one',
1088
+ name: 'Number',
1089
+ value: 'number',
653
1090
  },
1091
+ {
1092
+ name: 'Boolean',
1093
+ value: 'boolean',
1094
+ }
654
1095
  ],
1096
+ default: 'string',
1097
+ description: 'The type of value you are entering',
1098
+ displayOptions: {
1099
+ show: {
1100
+ action: ['setAttribute', 'setAttributeInAllVariants', 'setProductAttribute'],
1101
+ },
1102
+ },
655
1103
  },
656
- ],
657
- },
658
- ],
659
- displayOptions: {
660
- show: {
661
- resource: ['product'],
662
- operation: ['update', 'updateByKey'],
663
- },
664
- },
1104
+ {
1105
+ displayName: 'Attributes',
1106
+ name: 'attributes',
1107
+ type: 'fixedCollection',
1108
+ default: {},
1109
+ placeholder: 'Add Attribute',
1110
+ typeOptions: {
1111
+ multipleValues: true,
1112
+ },
1113
+ description: 'Attributes to set on the variant',
1114
+ displayOptions: {
1115
+ show: {
1116
+ action: ['addVariant'],
1117
+ },
1118
+ },
1119
+ options: [
1120
+ {
1121
+ displayName: 'Attribute',
1122
+ name: 'attribute',
1123
+ values: [
1124
+ {
1125
+ displayName: 'Name',
1126
+ name: 'name',
1127
+ type: 'string',
1128
+ default: '',
1129
+ required: true,
1130
+ },
1131
+ {
1132
+ displayName: 'Value',
1133
+ name: 'value',
1134
+ type: 'string',
1135
+ default: '',
1136
+ description: 'Value assigned to this attribute',
1137
+ typeOptions: {
1138
+ alwaysOpenEditWindow: true,
1139
+ },
1140
+ },
1141
+ {
1142
+ displayName: 'Value Type',
1143
+ name: 'valueType',
1144
+ type: 'options',
1145
+ default: 'string',
1146
+ description: 'Choose how the value should be interpreted',
1147
+ options: [
1148
+ {
1149
+ name: 'String',
1150
+ value: 'string',
1151
+ },
1152
+ {
1153
+ name: 'Number',
1154
+ value: 'number',
1155
+ },
1156
+ {
1157
+ name: 'Boolean',
1158
+ value: 'boolean',
1159
+ },
1160
+ ],
1161
+ },
1162
+ ],
1163
+ },
1164
+ ],
1165
+ },
1166
+ {
1167
+ displayName: 'Category',
1168
+ name: 'category',
1169
+ type: 'fixedCollection',
1170
+ default: {},
1171
+ placeholder: 'Add Category',
1172
+ description: 'Category reference',
1173
+ displayOptions: {
1174
+ show: {
1175
+ action: ['addToCategory', 'removeFromCategory'],
1176
+ },
1177
+ },
1178
+ options: [
1179
+ {
1180
+ name: 'categoryDetails',
1181
+ displayName: 'Category Details',
1182
+ values: [
1183
+ {
1184
+ displayName: 'Type ID',
1185
+ name: 'typeId',
1186
+ type: 'hidden',
1187
+ default: 'category',
1188
+ description: 'Type identifier (always "category")',
1189
+ },
1190
+ {
1191
+ displayName: 'Category ID',
1192
+ name: 'id',
1193
+ type: 'string',
1194
+ default: '',
1195
+ required: true,
1196
+ placeholder: '{{category-ID}}',
1197
+ description: 'ID of the category',
1198
+ },
1199
+ ],
1200
+ },
1201
+ ],
1202
+ },
1203
+ {
1204
+ displayName: 'Category',
1205
+ name: 'taxCategory',
1206
+ type: 'fixedCollection',
1207
+ default: {},
1208
+ placeholder: 'Add Category',
1209
+ description: 'Category reference',
1210
+ displayOptions: {
1211
+ show: {
1212
+ action: ['setTaxCategory'],
1213
+ },
1214
+ },
1215
+ options: [
1216
+ {
1217
+ name: 'taxCategoryDetails',
1218
+ displayName: 'Tax Category Details',
1219
+ values: [
1220
+ {
1221
+ displayName: 'Type ID',
1222
+ name: 'typeId',
1223
+ type: 'hidden',
1224
+ default: 'category',
1225
+ description: 'Type identifier (always "category")',
1226
+ },
1227
+ {
1228
+ displayName: 'Category ID',
1229
+ name: 'id',
1230
+ type: 'string',
1231
+ default: '',
1232
+ required: true,
1233
+ placeholder: '{{category-ID}}',
1234
+ description: 'ID of the category',
1235
+ },
1236
+ ],
1237
+ },
1238
+ ],
1239
+ },
1240
+ {
1241
+ displayName: 'Category ID',
1242
+ name: 'categoryId',
1243
+ type: 'string',
1244
+ default: '',
1245
+ required: true,
1246
+ description: 'ID of the category',
1247
+ displayOptions: {
1248
+ show: {
1249
+ action: ['setCategoryOrderHint'],
1250
+ },
1251
+ },
1252
+ },
1253
+ {
1254
+ displayName: 'Custom Fields',
1255
+ name: 'fields',
1256
+ type: 'fixedCollection',
1257
+ default: {},
1258
+ typeOptions: {
1259
+ multipleValues: true,
1260
+ },
1261
+ description: 'Custom field values',
1262
+ displayOptions: {
1263
+ show: {
1264
+ action: ['setAssetCustomType', 'setProductPriceCustomType'],
1265
+ },
1266
+ },
1267
+ options: [
1268
+ {
1269
+ displayName: 'Field',
1270
+ name: 'field',
1271
+ values: [
1272
+ {
1273
+ displayName: 'Name',
1274
+ name: 'name',
1275
+ type: 'string',
1276
+ default: '',
1277
+ },
1278
+ {
1279
+ displayName: 'Value',
1280
+ name: 'value',
1281
+ type: 'string',
1282
+ default: '',
1283
+ },
1284
+ ],
1285
+ },
1286
+ ],
1287
+ },
1288
+ {
1289
+ displayName: 'Custom Type',
1290
+ name: 'type',
1291
+ type: 'fixedCollection',
1292
+ default: {},
1293
+ description: 'Custom type reference',
1294
+ displayOptions: {
1295
+ show: {
1296
+ action: ['setAssetCustomType', 'setProductPriceCustomType'],
1297
+ },
1298
+ },
1299
+ options: [
1300
+ {
1301
+ displayName: 'Type Reference',
1302
+ name: 'typeReference',
1303
+ values: [
1304
+ {
1305
+ displayName: 'Type ID',
1306
+ name: 'typeId',
1307
+ type: 'options',
1308
+ default: 'type',
1309
+ options: [
1310
+ {
1311
+ name: 'Type',
1312
+ value: 'type',
1313
+ },
1314
+ ],
1315
+ },
1316
+ {
1317
+ displayName: 'ID',
1318
+ name: 'id',
1319
+ type: 'string',
1320
+ default: '',
1321
+ description: 'ID of the custom type',
1322
+ },
1323
+ ],
1324
+ },
1325
+ ],
1326
+ },
1327
+ {
1328
+ displayName: 'Discounted Price',
1329
+ name: 'discounted',
1330
+ type: 'fixedCollection',
1331
+ default: {},
1332
+ placeholder: 'Add Discounted Price',
1333
+ description: 'Discounted price details',
1334
+ displayOptions: {
1335
+ show: {
1336
+ action: ['setDiscountedPrice'],
1337
+ },
1338
+ },
1339
+ options: [
1340
+ {
1341
+ name: 'value',
1342
+ displayName: 'Price Value',
1343
+ values: [
1344
+ {
1345
+ displayName: 'Currency Code',
1346
+ name: 'currencyCode',
1347
+ type: 'string',
1348
+ default: 'USD',
1349
+ required: true,
1350
+ placeholder: 'EUR',
1351
+ description: 'Currency code (e.g., USD, EUR, GBP)',
1352
+ },
1353
+ {
1354
+ displayName: 'Amount in Cents',
1355
+ name: 'centAmount',
1356
+ type: 'number',
1357
+ default: 0,
1358
+ required: true,
1359
+ placeholder: '4000',
1360
+ description: 'Discounted price amount in cents (e.g., 4000 = €40.00)',
1361
+ },
1362
+ ],
1363
+ },
1364
+ {
1365
+ name: 'discount',
1366
+ displayName: 'Discount Reference',
1367
+ values: [
1368
+ {
1369
+ displayName: 'Type ID',
1370
+ name: 'typeId',
1371
+ type: 'hidden',
1372
+ default: 'product-discount',
1373
+ description: 'Type identifier (always "product-discount")',
1374
+ },
1375
+ {
1376
+ displayName: 'Product Discount ID',
1377
+ name: 'id',
1378
+ type: 'string',
1379
+ default: '',
1380
+ required: true,
1381
+ placeholder: '{{product-discount-ID}}',
1382
+ description: 'ID of the product discount',
1383
+ },
1384
+ ],
1385
+ },
1386
+ ],
1387
+ },
1388
+ {
1389
+ displayName: 'Field Name',
1390
+ name: 'name',
1391
+ type: 'string',
1392
+ default: '',
1393
+ description: 'Name of the custom field',
1394
+ displayOptions: {
1395
+ show: {
1396
+ action: ['setAssetCustomField', 'setProductPriceCustomField'],
1397
+ },
1398
+ },
1399
+ },
1400
+ {
1401
+ displayName: 'Field Value',
1402
+ name: 'value',
1403
+ type: 'string',
1404
+ default: '',
1405
+ description: 'Value of the custom field',
1406
+ displayOptions: {
1407
+ show: {
1408
+ action: ['setAssetCustomField', 'setProductPriceCustomField'],
1409
+ },
1410
+ },
1411
+ },
1412
+ {
1413
+ displayName: 'Force',
1414
+ name: 'force',
1415
+ type: 'boolean',
1416
+ default: false,
1417
+ displayOptions: {
1418
+ show: {
1419
+ action: ['transitionState'],
1420
+ },
1421
+ },
1422
+ },
1423
+ {
1424
+ displayName: 'Image',
1425
+ name: 'image',
1426
+ type: 'fixedCollection',
1427
+ default: {},
1428
+ placeholder: 'Add Image Details',
1429
+ description: 'External image details',
1430
+ displayOptions: {
1431
+ show: {
1432
+ action: ['addExternalImage'],
1433
+ },
1434
+ },
1435
+ options: [
1436
+ {
1437
+ name: 'imageDetails',
1438
+ displayName: 'Image Details',
1439
+ values: [
1440
+ {
1441
+ displayName: 'URL',
1442
+ name: 'url',
1443
+ type: 'string',
1444
+ default: '',
1445
+ required: true,
1446
+ placeholder: '//myimage.jpg',
1447
+ description: 'URL of the external image',
1448
+ },
1449
+ {
1450
+ displayName: 'Label',
1451
+ name: 'label',
1452
+ type: 'string',
1453
+ default: '',
1454
+ placeholder: 'myImage',
1455
+ description: 'Image label (optional)',
1456
+ },
1457
+ {
1458
+ displayName: 'Dimensions',
1459
+ name: 'dimensions',
1460
+ type: 'fixedCollection',
1461
+ default: {},
1462
+ placeholder: 'Add Dimensions',
1463
+ description: 'Image dimensions (optional)',
1464
+ options: [
1465
+ {
1466
+ name: 'size',
1467
+ displayName: 'Size',
1468
+ values: [
1469
+ {
1470
+ displayName: 'Width',
1471
+ name: 'w',
1472
+ type: 'number',
1473
+ default: 0,
1474
+ placeholder: '1400',
1475
+ description: 'Image width in pixels',
1476
+ },
1477
+ {
1478
+ displayName: 'Height',
1479
+ name: 'h',
1480
+ type: 'number',
1481
+ default: 0,
1482
+ placeholder: '1400',
1483
+ description: 'Image height in pixels',
1484
+ },
1485
+ ],
1486
+ },
1487
+ ],
1488
+ },
1489
+ ],
1490
+ },
1491
+ ],
1492
+ },
1493
+ {
1494
+ displayName: 'Image URL',
1495
+ name: 'imageUrl',
1496
+ type: 'string',
1497
+ default: '',
1498
+ placeholder: '//image.png',
1499
+ required: true,
1500
+ displayOptions: {
1501
+ show: {
1502
+ action: ['setImageLabel', 'moveImageToPosition', 'removeImage',],
1503
+ },
1504
+ },
1505
+ },
1506
+ {
1507
+ displayName: 'Images',
1508
+ name: 'images',
1509
+ type: 'fixedCollection',
1510
+ default: {},
1511
+ placeholder: 'Add Image',
1512
+ typeOptions: {
1513
+ multipleValues: true,
1514
+ },
1515
+ description: 'Images associated with the new variant',
1516
+ displayOptions: {
1517
+ show: {
1518
+ action: ['addVariant'],
1519
+ },
1520
+ },
1521
+ options: [
1522
+ {
1523
+ displayName: 'Image',
1524
+ name: 'image',
1525
+ values: [
1526
+ {
1527
+ displayName: 'URL',
1528
+ name: 'url',
1529
+ type: 'string',
1530
+ default: '',
1531
+ required: true,
1532
+ placeholder: 'https://example.com/image.jpg',
1533
+ },
1534
+ {
1535
+ displayName: 'Label',
1536
+ name: 'label',
1537
+ type: 'string',
1538
+ default: '',
1539
+ description: 'Optional label for the image',
1540
+ },
1541
+ {
1542
+ displayName: 'Dimensions',
1543
+ name: 'dimensions',
1544
+ type: 'fixedCollection',
1545
+ default: {},
1546
+ placeholder: 'Add Dimensions',
1547
+ options: [
1548
+ {
1549
+ name: 'size',
1550
+ displayName: 'Size',
1551
+ values: [
1552
+ {
1553
+ displayName: 'Width',
1554
+ name: 'w',
1555
+ type: 'number',
1556
+ default: 0,
1557
+ },
1558
+ {
1559
+ displayName: 'Height',
1560
+ name: 'h',
1561
+ type: 'number',
1562
+ default: 0,
1563
+ },
1564
+ ],
1565
+ },
1566
+ ],
1567
+ },
1568
+ ],
1569
+ },
1570
+ ],
1571
+ },
1572
+ {
1573
+ displayName: 'Key',
1574
+ name: 'key',
1575
+ type: 'string',
1576
+ default: '',
1577
+ description: 'Unique key',
1578
+ displayOptions: {
1579
+ show: {
1580
+ action: ['setKey', 'setAssetKey', 'setPriceKey', 'setProductVariantKey', 'addVariant'],
1581
+ },
1582
+ },
1583
+ },
1584
+ {
1585
+ displayName: 'Label',
1586
+ name: 'label',
1587
+ type: 'string',
1588
+ default: '',
1589
+ placeholder: 'labelString',
1590
+ required: true,
1591
+ displayOptions: {
1592
+ show: {
1593
+ action: ['setImageLabel'],
1594
+ },
1595
+ },
1596
+ },
1597
+ {
1598
+ displayName: 'Localized Descriptions',
1599
+ name: 'description',
1600
+ type: 'fixedCollection',
1601
+ default: {},
1602
+ typeOptions: {
1603
+ multipleValues: true,
1604
+ },
1605
+ displayOptions: {
1606
+ show: {
1607
+ action: ['setDescription', 'setAssetDescription'],
1608
+ },
1609
+ },
1610
+ options: [
1611
+ {
1612
+ displayName: 'Localized Description',
1613
+ name: 'localizedField',
1614
+ values: [
1615
+ {
1616
+ displayName: 'Locale',
1617
+ name: 'locale',
1618
+ type: 'string',
1619
+ default: 'en',
1620
+ description: 'Locale code (e.g., en, de, fr)',
1621
+ },
1622
+ {
1623
+ displayName: 'Value',
1624
+ name: 'value',
1625
+ type: 'string',
1626
+ default: '',
1627
+ description: 'Description in this locale',
1628
+ },
1629
+ ],
1630
+ },
1631
+ ],
1632
+ },
1633
+ {
1634
+ displayName: 'Localized Names',
1635
+ name: 'name',
1636
+ type: 'fixedCollection',
1637
+ default: {},
1638
+ typeOptions: {
1639
+ multipleValues: true,
1640
+ },
1641
+ description: 'Localized product names',
1642
+ displayOptions: {
1643
+ show: {
1644
+ action: ['changeName'],
1645
+ },
1646
+ },
1647
+ options: [
1648
+ {
1649
+ displayName: 'Localized Name',
1650
+ name: 'localizedField',
1651
+ values: [
1652
+ {
1653
+ displayName: 'Locale',
1654
+ name: 'locale',
1655
+ type: 'string',
1656
+ default: 'en',
1657
+ description: 'Locale code (e.g., en, de, fr)',
1658
+ },
1659
+ {
1660
+ displayName: 'Value',
1661
+ name: 'value',
1662
+ type: 'string',
1663
+ default: '',
1664
+ description: 'Name in this locale',
1665
+ },
1666
+ ],
1667
+ },
1668
+ ],
1669
+ },
1670
+ {
1671
+ displayName: 'Localized Slugs',
1672
+ name: 'slug',
1673
+ type: 'fixedCollection',
1674
+ default: {},
1675
+ typeOptions: {
1676
+ multipleValues: true,
1677
+ },
1678
+ description: 'Localized product slugs',
1679
+ displayOptions: {
1680
+ show: {
1681
+ action: ['changeSlug'],
1682
+ },
1683
+ },
1684
+ options: [
1685
+ {
1686
+ displayName: 'Localized Slug',
1687
+ name: 'localizedField',
1688
+ values: [
1689
+ {
1690
+ displayName: 'Locale',
1691
+ name: 'locale',
1692
+ type: 'string',
1693
+ default: 'en',
1694
+ description: 'Locale code (e.g., en, de, fr)',
1695
+ },
1696
+ {
1697
+ displayName: 'Value',
1698
+ name: 'value',
1699
+ type: 'string',
1700
+ default: '',
1701
+ description: 'Slug in this locale',
1702
+ },
1703
+ ],
1704
+ },
1705
+ ],
1706
+ },
1707
+ {
1708
+ displayName: 'Meta Description',
1709
+ name: 'metaDescription',
1710
+ type: 'fixedCollection',
1711
+ default: {},
1712
+ typeOptions: {
1713
+ multipleValues: true,
1714
+ },
1715
+ description: 'Localized meta descriptions',
1716
+ displayOptions: {
1717
+ show: {
1718
+ action: ['setMetaDescription'],
1719
+ },
1720
+ },
1721
+ options: [
1722
+ {
1723
+ displayName: 'Localized Value',
1724
+ name: 'localizedField',
1725
+ values: [
1726
+ {
1727
+ displayName: 'Locale',
1728
+ name: 'locale',
1729
+ type: 'string',
1730
+ default: 'en',
1731
+ },
1732
+ {
1733
+ displayName: 'Value',
1734
+ name: 'value',
1735
+ type: 'string',
1736
+ default: '',
1737
+ },
1738
+ ],
1739
+ },
1740
+ ],
1741
+ },
1742
+ {
1743
+ displayName: 'Meta Keywords',
1744
+ name: 'metaKeywords',
1745
+ type: 'fixedCollection',
1746
+ default: {},
1747
+ typeOptions: {
1748
+ multipleValues: true,
1749
+ },
1750
+ description: 'Localized meta keywords',
1751
+ displayOptions: {
1752
+ show: {
1753
+ action: ['setMetaKeywords'],
1754
+ },
1755
+ },
1756
+ options: [
1757
+ {
1758
+ displayName: 'Localized Value',
1759
+ name: 'localizedField',
1760
+ values: [
1761
+ {
1762
+ displayName: 'Locale',
1763
+ name: 'locale',
1764
+ type: 'string',
1765
+ default: 'en',
1766
+ },
1767
+ {
1768
+ displayName: 'Value',
1769
+ name: 'value',
1770
+ type: 'string',
1771
+ default: '',
1772
+ },
1773
+ ],
1774
+ },
1775
+ ],
1776
+ },
1777
+ {
1778
+ displayName: 'Meta Title',
1779
+ name: 'metaTitle',
1780
+ type: 'fixedCollection',
1781
+ default: {},
1782
+ typeOptions: {
1783
+ multipleValues: true,
1784
+ },
1785
+ description: 'Localized meta titles',
1786
+ displayOptions: {
1787
+ show: {
1788
+ action: ['setMetaTitle'],
1789
+ },
1790
+ },
1791
+ options: [
1792
+ {
1793
+ displayName: 'Localized Value',
1794
+ name: 'localizedField',
1795
+ values: [
1796
+ {
1797
+ displayName: 'Locale',
1798
+ name: 'locale',
1799
+ type: 'string',
1800
+ default: 'en',
1801
+ },
1802
+ {
1803
+ displayName: 'Value',
1804
+ name: 'value',
1805
+ type: 'string',
1806
+ default: '',
1807
+ },
1808
+ ],
1809
+ },
1810
+ ],
1811
+ },
1812
+ {
1813
+ displayName: 'Order Hint',
1814
+ name: 'orderHint',
1815
+ type: 'string',
1816
+ default: '',
1817
+ description: 'Order hint value',
1818
+ displayOptions: {
1819
+ show: {
1820
+ action: ['setCategoryOrderHint', 'addToCategory'],
1821
+ },
1822
+ },
1823
+ },
1824
+ {
1825
+ displayName: 'Position',
1826
+ name: 'position',
1827
+ type: 'number',
1828
+ default: 0,
1829
+ description: 'New position (0-based index)',
1830
+ displayOptions: {
1831
+ show: {
1832
+ action: ['moveImageToPosition'],
1833
+ },
1834
+ },
1835
+ },
1836
+ {
1837
+ displayName: 'Price ID',
1838
+ name: 'priceId',
1839
+ type: 'string',
1840
+ default: '',
1841
+ required: true,
1842
+ description: 'The ID of the price to change',
1843
+ displayOptions: {
1844
+ show: {
1845
+ action: ['changePrice', 'removePrice', 'setProductPriceCustomField', 'setPriceKey', 'setProductPriceCustomType', 'setDiscountedPrice'],
1846
+ },
1847
+ },
1848
+ },
1849
+ {
1850
+ displayName: 'Price Mode',
1851
+ name: 'priceMode',
1852
+ type: 'options',
1853
+ default: 'Platform',
1854
+ displayOptions: {
1855
+ show: {
1856
+ action: ['setPriceMode'],
1857
+ },
1858
+ },
1859
+ options: [
1860
+ {
1861
+ name: 'Platform',
1862
+ value: 'Platform',
1863
+ },
1864
+ {
1865
+ name: 'Embedded',
1866
+ value: 'Embedded',
1867
+ },
1868
+ ],
1869
+ },
1870
+ {
1871
+ displayName: 'Price Value',
1872
+ name: 'price',
1873
+ type: 'fixedCollection',
1874
+ default: {},
1875
+ description: 'New price value',
1876
+ displayOptions: {
1877
+ show: {
1878
+ action: ['changePrice', "addPrice"],
1879
+ },
1880
+ },
1881
+ options: [
1882
+ {
1883
+ displayName: 'Value',
1884
+ name: 'value',
1885
+ values: [
1886
+ {
1887
+ displayName: 'Currency Code',
1888
+ name: 'currencyCode',
1889
+ type: 'string',
1890
+ default: 'EUR',
1891
+ description: 'Currency code (e.g., EUR, USD)',
1892
+ },
1893
+ {
1894
+ displayName: 'Cent Amount',
1895
+ name: 'centAmount',
1896
+ type: 'number',
1897
+ default: 0,
1898
+ description: 'Price in cents (e.g., 4000 = 40.00)',
1899
+ },
1900
+ {
1901
+ displayName: 'Country',
1902
+ name: 'country',
1903
+ type: 'string',
1904
+ default: '',
1905
+ description: 'Optional country code',
1906
+ },
1907
+ ],
1908
+ },
1909
+ ],
1910
+ },
1911
+ {
1912
+ displayName: 'Prices',
1913
+ name: 'prices',
1914
+ type: 'fixedCollection',
1915
+ default: {},
1916
+ typeOptions: {
1917
+ multipleValues: true,
1918
+ },
1919
+ description: 'List of prices',
1920
+ displayOptions: {
1921
+ show: {
1922
+ action: ['setPrices', 'addVariant'],
1923
+ },
1924
+ },
1925
+ options: [
1926
+ {
1927
+ displayName: 'Price',
1928
+ name: 'price',
1929
+ values: [
1930
+ {
1931
+ displayName: 'Currency',
1932
+ name: 'currencyCode',
1933
+ type: 'string',
1934
+ default: 'EUR',
1935
+ },
1936
+ {
1937
+ displayName: 'Cent Amount',
1938
+ name: 'centAmount',
1939
+ type: 'number',
1940
+ default: 0,
1941
+ },
1942
+ {
1943
+ displayName: 'Country',
1944
+ name: 'country',
1945
+ type: 'string',
1946
+ default: '',
1947
+ },
1948
+ ],
1949
+ },
1950
+ ],
1951
+ },
1952
+ {
1953
+ displayName: "Scope",
1954
+ name: "scope",
1955
+ type: "options",
1956
+ default: "All",
1957
+ description: "Scope for publish action: 'All' or specific sections like 'Prices'",
1958
+ options: [
1959
+ {
1960
+ name: "All",
1961
+ value: "All"
1962
+ },
1963
+ {
1964
+ name: "Assets",
1965
+ value: "Assets"
1966
+ },
1967
+ {
1968
+ name: "Attributes",
1969
+ value: "Attributes"
1970
+ },
1971
+ {
1972
+ name: "Categories",
1973
+ value: "Categories"
1974
+ },
1975
+ {
1976
+ name: "Inventory",
1977
+ value: "Inventory"
1978
+ },
1979
+ {
1980
+ name: "Messages",
1981
+ value: "Messages"
1982
+ },
1983
+ {
1984
+ name: "Prices",
1985
+ value: "Prices"
1986
+ },
1987
+ {
1988
+ name: "TaxCategory",
1989
+ value: "TaxCategory"
1990
+ }
1991
+ ],
1992
+ displayOptions: {
1993
+ show: {
1994
+ action: [
1995
+ "publish"
1996
+ ]
1997
+ }
1998
+ },
1999
+ typeOptions: {
2000
+ validateInput: "={{ $json.scope === 'All' || ['Prices','Assets','Attributes','Categories','Inventory','Messages','TaxCategory'].includes($json.scope) }}"
2001
+ }
2002
+ },
2003
+ {
2004
+ displayName: 'Search Keywords',
2005
+ name: 'searchKeywords',
2006
+ type: 'fixedCollection',
2007
+ default: {},
2008
+ typeOptions: {
2009
+ multipleValues: true,
2010
+ },
2011
+ description: 'Localized search keywords',
2012
+ displayOptions: {
2013
+ show: {
2014
+ action: ['setSearchKeywords'],
2015
+ },
2016
+ },
2017
+ options: [
2018
+ {
2019
+ displayName: 'Localized Keywords',
2020
+ name: 'localizedField',
2021
+ values: [
2022
+ {
2023
+ displayName: 'Locale',
2024
+ name: 'locale',
2025
+ type: 'string',
2026
+ default: 'en',
2027
+ },
2028
+ {
2029
+ displayName: 'Keywords',
2030
+ name: 'value',
2031
+ type: 'fixedCollection',
2032
+ typeOptions: {
2033
+ multipleValues: true,
2034
+ },
2035
+ default: {},
2036
+ options: [
2037
+ {
2038
+ displayName: 'Keyword',
2039
+ name: 'keyword',
2040
+ values: [
2041
+ {
2042
+ displayName: 'Text',
2043
+ name: 'text',
2044
+ type: 'string',
2045
+ default: '',
2046
+ },
2047
+ {
2048
+ displayName: 'Suggest Tokenizer',
2049
+ name: 'suggestTokenizer',
2050
+ type: 'fixedCollection',
2051
+ typeOptions: {
2052
+ multipleValues: false,
2053
+ },
2054
+ default: {},
2055
+ options: [
2056
+ {
2057
+ displayName: 'Tokenizer',
2058
+ name: 'tokenizer',
2059
+ values: [
2060
+ {
2061
+ displayName: 'Type',
2062
+ name: 'type',
2063
+ type: 'options',
2064
+ options: [
2065
+ { name: 'Whitespace', value: 'whitespace' },
2066
+ { name: 'Custom', value: 'custom' },
2067
+ ],
2068
+ default: 'whitespace',
2069
+ },
2070
+ {
2071
+ displayName: 'Inputs',
2072
+ name: 'inputs',
2073
+ type: 'string',
2074
+ typeOptions: {
2075
+ multipleValues: true,
2076
+ },
2077
+ default: [],
2078
+ displayOptions: {
2079
+ show: {
2080
+ type: ['custom'],
2081
+ },
2082
+ },
2083
+ },
2084
+ ],
2085
+ },
2086
+ ],
2087
+ },
2088
+ ],
2089
+ },
2090
+ ],
2091
+ },
2092
+ ],
2093
+ },
2094
+ ],
2095
+ },
2096
+ {
2097
+ displayName: 'SKU',
2098
+ name: 'sku',
2099
+ type: 'string',
2100
+ default: '',
2101
+ description: 'SKU of the variant',
2102
+ displayOptions: {
2103
+ show: {
2104
+ action: ['addPrice', 'changeMasterVariant', 'removeVariant', 'setSku', 'setAttribute', 'addAsset', 'setPrices', 'setProductVariantKey', 'addExternalImage', 'setImageLabel', 'changeAssetName', 'setAssetDescription', 'setAssetCustomField', 'changeAssetOrder', 'setAssetTags', 'setAssetSources', 'setAssetCustomType'],
2105
+ identifyBy: ['sku'],
2106
+ },
2107
+ },
2108
+ },
2109
+ {
2110
+ displayName: 'Staged',
2111
+ name: 'staged',
2112
+ type: 'boolean',
2113
+ default: true,
2114
+ description: 'Whether to apply changes to staged version',
2115
+ displayOptions: {
2116
+ show: {
2117
+ action: ['changePrice', 'changeName', 'changeSlug', 'setDescription', 'setAttribute', 'addVariant', "setImageLabel"],
2118
+ },
2119
+ },
2120
+ },
2121
+ {
2122
+ displayName: 'State',
2123
+ name: 'state',
2124
+ type: 'fixedCollection',
2125
+ default: {},
2126
+ description: 'State reference',
2127
+ displayOptions: {
2128
+ show: {
2129
+ action: ['transitionState'],
2130
+ },
2131
+ },
2132
+ options: [
2133
+ {
2134
+ displayName: 'Reference',
2135
+ name: 'reference',
2136
+ values: [
2137
+ {
2138
+ displayName: 'Type ID',
2139
+ name: 'typeId',
2140
+ type: 'options',
2141
+ default: 'state',
2142
+ options: [
2143
+ {
2144
+ name: 'State',
2145
+ value: 'state',
2146
+ },
2147
+ ],
2148
+ },
2149
+ {
2150
+ displayName: 'ID',
2151
+ name: 'id',
2152
+ type: 'string',
2153
+ default: '',
2154
+ description: 'ID of the target state',
2155
+ },
2156
+ ],
2157
+ },
2158
+ ],
2159
+ },
2160
+ {
2161
+ displayName: 'Tags',
2162
+ name: 'tags',
2163
+ type: 'string',
2164
+ default: [],
2165
+ typeOptions: {
2166
+ multipleValues: true,
2167
+ },
2168
+ description: 'List of tags for the asset',
2169
+ displayOptions: {
2170
+ show: {
2171
+ action: ['setAssetTags'],
2172
+ },
2173
+ },
2174
+ },
2175
+ {
2176
+ displayName: 'Update Variant By',
2177
+ name: 'identifyBy',
2178
+ type: 'options',
2179
+ options: [
2180
+ {
2181
+ name: 'Variant ID',
2182
+ value: 'variantId',
2183
+ },
2184
+ {
2185
+ name: 'SKU',
2186
+ value: 'sku',
2187
+ },
2188
+ ],
2189
+ default: 'variantId',
2190
+ description: 'Choose how to identify the variant',
2191
+ displayOptions: {
2192
+ show: {
2193
+ action: ['addPrice', 'changeMasterVariant', 'removeVariant', 'setSku', 'setAttribute', 'addAsset', 'setPrices', 'setProductVariantKey', 'addExternalImage', 'setImageLabel', 'moveImageToPosition', 'removeImage', 'removeAsset', 'setAssetKey', 'setAssetCustomField', 'changeAssetName', 'setAssetDescription', 'changeAssetOrder', 'setAssetTags', 'setAssetSources', 'setAssetCustomType', 'revertStagedVariantChanges'],
2194
+ },
2195
+ },
2196
+ },
2197
+ {
2198
+ displayName: 'Variant ID',
2199
+ name: 'variantId',
2200
+ type: 'number',
2201
+ default: 1,
2202
+ description: 'ID of the variant',
2203
+ displayOptions: {
2204
+ show: {
2205
+ action: ['addPrice', 'changeMasterVariant', 'removeVariant', 'setSku', 'setAttribute', 'addAsset', 'setPrices', 'setProductVariantKey', 'addExternalImage', 'setImageLabel', 'moveImageToPosition', 'removeImage', 'removeAsset', 'setAssetKey', 'setAssetCustomField', 'changeAssetName', 'setAssetDescription', 'changeAssetOrder', 'setAssetTags', 'setAssetSources', 'setAssetCustomType', 'revertStagedVariantChanges'],
2206
+ identifyBy: ['variantId'],
2207
+ },
2208
+ },
2209
+ },
2210
+ {
2211
+ displayName: 'Variant SKU',
2212
+ name: 'sku',
2213
+ type: 'string',
2214
+ default: '',
2215
+ description: 'SKU for the new variant',
2216
+ displayOptions: {
2217
+ show: {
2218
+ action: ['addVariant'],
2219
+ },
2220
+ },
2221
+ },
2222
+ ],
2223
+ },
2224
+ ],
665
2225
  },
666
2226
  {
667
2227
  displayName: 'Additional Fields',