@commercelayer/cli-plugin-triggers 3.13.0 → 3.14.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.
Files changed (60) hide show
  1. package/README.md +486 -3
  2. package/lib/commands/buy_x_pay_y_promotion/disable.d.ts +9 -0
  3. package/lib/commands/buy_x_pay_y_promotion/disable.js +21 -0
  4. package/lib/commands/buy_x_pay_y_promotion/enable.d.ts +9 -0
  5. package/lib/commands/buy_x_pay_y_promotion/enable.js +21 -0
  6. package/lib/commands/buy_x_pay_y_promotion/index.d.ts +9 -0
  7. package/lib/commands/buy_x_pay_y_promotion/index.js +38 -0
  8. package/lib/commands/external_promotion/disable.d.ts +9 -0
  9. package/lib/commands/external_promotion/disable.js +21 -0
  10. package/lib/commands/external_promotion/enable.d.ts +9 -0
  11. package/lib/commands/external_promotion/enable.js +21 -0
  12. package/lib/commands/external_promotion/index.d.ts +9 -0
  13. package/lib/commands/external_promotion/index.js +38 -0
  14. package/lib/commands/fixed_amount_promotion/disable.d.ts +9 -0
  15. package/lib/commands/fixed_amount_promotion/disable.js +21 -0
  16. package/lib/commands/fixed_amount_promotion/enable.d.ts +9 -0
  17. package/lib/commands/fixed_amount_promotion/enable.js +21 -0
  18. package/lib/commands/fixed_amount_promotion/index.d.ts +9 -0
  19. package/lib/commands/fixed_amount_promotion/index.js +38 -0
  20. package/lib/commands/fixed_price_promotion/disable.d.ts +9 -0
  21. package/lib/commands/fixed_price_promotion/disable.js +21 -0
  22. package/lib/commands/fixed_price_promotion/enable.d.ts +9 -0
  23. package/lib/commands/fixed_price_promotion/enable.js +21 -0
  24. package/lib/commands/fixed_price_promotion/index.d.ts +9 -0
  25. package/lib/commands/fixed_price_promotion/index.js +38 -0
  26. package/lib/commands/free_gift_promotion/disable.d.ts +9 -0
  27. package/lib/commands/free_gift_promotion/disable.js +21 -0
  28. package/lib/commands/free_gift_promotion/enable.d.ts +9 -0
  29. package/lib/commands/free_gift_promotion/enable.js +21 -0
  30. package/lib/commands/free_gift_promotion/index.d.ts +9 -0
  31. package/lib/commands/free_gift_promotion/index.js +38 -0
  32. package/lib/commands/free_shipping_promotion/disable.d.ts +9 -0
  33. package/lib/commands/free_shipping_promotion/disable.js +21 -0
  34. package/lib/commands/free_shipping_promotion/enable.d.ts +9 -0
  35. package/lib/commands/free_shipping_promotion/enable.js +21 -0
  36. package/lib/commands/free_shipping_promotion/index.d.ts +9 -0
  37. package/lib/commands/free_shipping_promotion/index.js +38 -0
  38. package/lib/commands/percentage_discount_promotion/disable.d.ts +9 -0
  39. package/lib/commands/percentage_discount_promotion/disable.js +21 -0
  40. package/lib/commands/percentage_discount_promotion/enable.d.ts +9 -0
  41. package/lib/commands/percentage_discount_promotion/enable.js +21 -0
  42. package/lib/commands/percentage_discount_promotion/index.d.ts +9 -0
  43. package/lib/commands/percentage_discount_promotion/index.js +38 -0
  44. package/lib/triggers/buy_x_pay_y_promotions.d.ts +3 -0
  45. package/lib/triggers/buy_x_pay_y_promotions.js +15 -0
  46. package/lib/triggers/external_promotions.d.ts +3 -0
  47. package/lib/triggers/external_promotions.js +15 -0
  48. package/lib/triggers/fixed_amount_promotions.d.ts +3 -0
  49. package/lib/triggers/fixed_amount_promotions.js +15 -0
  50. package/lib/triggers/fixed_price_promotions.d.ts +3 -0
  51. package/lib/triggers/fixed_price_promotions.js +15 -0
  52. package/lib/triggers/free_gift_promotions.d.ts +3 -0
  53. package/lib/triggers/free_gift_promotions.js +15 -0
  54. package/lib/triggers/free_shipping_promotions.d.ts +3 -0
  55. package/lib/triggers/free_shipping_promotions.js +15 -0
  56. package/lib/triggers/orders.js +1 -1
  57. package/lib/triggers/percentage_discount_promotions.d.ts +3 -0
  58. package/lib/triggers/percentage_discount_promotions.js +15 -0
  59. package/oclif.manifest.json +1535 -23
  60. package/package.json +16 -17
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.13.0",
2
+ "version": "3.14.0",
3
3
  "commands": {
4
4
  "noc": {
5
5
  "id": "noc",
@@ -804,6 +804,222 @@
804
804
  }
805
805
  }
806
806
  },
807
+ "buy_x_pay_y_promotion:disable": {
808
+ "id": "buy_x_pay_y_promotion:disable",
809
+ "description": "Send this attribute if you want to mark the promotion as disabled.",
810
+ "strict": true,
811
+ "pluginName": "@commercelayer/cli-plugin-triggers",
812
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
813
+ "pluginType": "core",
814
+ "aliases": [],
815
+ "flags": {
816
+ "organization": {
817
+ "name": "organization",
818
+ "type": "option",
819
+ "char": "o",
820
+ "description": "the slug of your organization",
821
+ "hidden": true,
822
+ "required": true,
823
+ "multiple": false
824
+ },
825
+ "domain": {
826
+ "name": "domain",
827
+ "type": "option",
828
+ "char": "d",
829
+ "hidden": true,
830
+ "required": false,
831
+ "multiple": false,
832
+ "dependsOn": [
833
+ "organization"
834
+ ]
835
+ },
836
+ "accessToken": {
837
+ "name": "accessToken",
838
+ "type": "option",
839
+ "hidden": true,
840
+ "required": true,
841
+ "multiple": false
842
+ },
843
+ "print": {
844
+ "name": "print",
845
+ "type": "boolean",
846
+ "char": "p",
847
+ "description": "print out the modified resource",
848
+ "allowNo": false
849
+ },
850
+ "json": {
851
+ "name": "json",
852
+ "type": "boolean",
853
+ "char": "j",
854
+ "description": "print result in JSON format",
855
+ "allowNo": false,
856
+ "dependsOn": [
857
+ "print"
858
+ ]
859
+ },
860
+ "unformatted": {
861
+ "name": "unformatted",
862
+ "type": "boolean",
863
+ "char": "u",
864
+ "description": "print JSON output without indentation",
865
+ "allowNo": false,
866
+ "dependsOn": [
867
+ "json"
868
+ ]
869
+ }
870
+ },
871
+ "args": {
872
+ "id": {
873
+ "name": "id",
874
+ "description": "the unique id of the resource",
875
+ "required": true
876
+ }
877
+ }
878
+ },
879
+ "buy_x_pay_y_promotion:enable": {
880
+ "id": "buy_x_pay_y_promotion:enable",
881
+ "description": "Send this attribute if you want to mark the promotion as enabled.",
882
+ "strict": true,
883
+ "pluginName": "@commercelayer/cli-plugin-triggers",
884
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
885
+ "pluginType": "core",
886
+ "aliases": [],
887
+ "flags": {
888
+ "organization": {
889
+ "name": "organization",
890
+ "type": "option",
891
+ "char": "o",
892
+ "description": "the slug of your organization",
893
+ "hidden": true,
894
+ "required": true,
895
+ "multiple": false
896
+ },
897
+ "domain": {
898
+ "name": "domain",
899
+ "type": "option",
900
+ "char": "d",
901
+ "hidden": true,
902
+ "required": false,
903
+ "multiple": false,
904
+ "dependsOn": [
905
+ "organization"
906
+ ]
907
+ },
908
+ "accessToken": {
909
+ "name": "accessToken",
910
+ "type": "option",
911
+ "hidden": true,
912
+ "required": true,
913
+ "multiple": false
914
+ },
915
+ "print": {
916
+ "name": "print",
917
+ "type": "boolean",
918
+ "char": "p",
919
+ "description": "print out the modified resource",
920
+ "allowNo": false
921
+ },
922
+ "json": {
923
+ "name": "json",
924
+ "type": "boolean",
925
+ "char": "j",
926
+ "description": "print result in JSON format",
927
+ "allowNo": false,
928
+ "dependsOn": [
929
+ "print"
930
+ ]
931
+ },
932
+ "unformatted": {
933
+ "name": "unformatted",
934
+ "type": "boolean",
935
+ "char": "u",
936
+ "description": "print JSON output without indentation",
937
+ "allowNo": false,
938
+ "dependsOn": [
939
+ "json"
940
+ ]
941
+ }
942
+ },
943
+ "args": {
944
+ "id": {
945
+ "name": "id",
946
+ "description": "the unique id of the resource",
947
+ "required": true
948
+ }
949
+ }
950
+ },
951
+ "buy_x_pay_y_promotion": {
952
+ "id": "buy_x_pay_y_promotion",
953
+ "description": "execute an action on a resource of type buy_x_pay_y_promotions",
954
+ "strict": true,
955
+ "pluginName": "@commercelayer/cli-plugin-triggers",
956
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
957
+ "pluginType": "core",
958
+ "aliases": [],
959
+ "flags": {
960
+ "organization": {
961
+ "name": "organization",
962
+ "type": "option",
963
+ "char": "o",
964
+ "description": "the slug of your organization",
965
+ "hidden": true,
966
+ "required": true,
967
+ "multiple": false
968
+ },
969
+ "domain": {
970
+ "name": "domain",
971
+ "type": "option",
972
+ "char": "d",
973
+ "hidden": true,
974
+ "required": false,
975
+ "multiple": false,
976
+ "dependsOn": [
977
+ "organization"
978
+ ]
979
+ },
980
+ "accessToken": {
981
+ "name": "accessToken",
982
+ "type": "option",
983
+ "hidden": true,
984
+ "required": true,
985
+ "multiple": false
986
+ },
987
+ "print": {
988
+ "name": "print",
989
+ "type": "boolean",
990
+ "char": "p",
991
+ "description": "print out the modified resource",
992
+ "allowNo": false
993
+ },
994
+ "json": {
995
+ "name": "json",
996
+ "type": "boolean",
997
+ "char": "j",
998
+ "description": "print result in JSON format",
999
+ "allowNo": false,
1000
+ "dependsOn": [
1001
+ "print"
1002
+ ]
1003
+ },
1004
+ "unformatted": {
1005
+ "name": "unformatted",
1006
+ "type": "boolean",
1007
+ "char": "u",
1008
+ "description": "print JSON output without indentation",
1009
+ "allowNo": false,
1010
+ "dependsOn": [
1011
+ "json"
1012
+ ]
1013
+ }
1014
+ },
1015
+ "args": {
1016
+ "id": {
1017
+ "name": "id",
1018
+ "description": "the unique id of the resource",
1019
+ "required": true
1020
+ }
1021
+ }
1022
+ },
807
1023
  "capture": {
808
1024
  "id": "capture",
809
1025
  "description": "execute an action on a resource of type captures",
@@ -876,9 +1092,1089 @@
876
1092
  }
877
1093
  }
878
1094
  },
879
- "capture:refund": {
880
- "id": "capture:refund",
881
- "description": "Send this attribute if you want to create a refund for this capture.",
1095
+ "capture:refund": {
1096
+ "id": "capture:refund",
1097
+ "description": "Send this attribute if you want to create a refund for this capture.",
1098
+ "strict": true,
1099
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1100
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1101
+ "pluginType": "core",
1102
+ "aliases": [],
1103
+ "flags": {
1104
+ "organization": {
1105
+ "name": "organization",
1106
+ "type": "option",
1107
+ "char": "o",
1108
+ "description": "the slug of your organization",
1109
+ "hidden": true,
1110
+ "required": true,
1111
+ "multiple": false
1112
+ },
1113
+ "domain": {
1114
+ "name": "domain",
1115
+ "type": "option",
1116
+ "char": "d",
1117
+ "hidden": true,
1118
+ "required": false,
1119
+ "multiple": false,
1120
+ "dependsOn": [
1121
+ "organization"
1122
+ ]
1123
+ },
1124
+ "accessToken": {
1125
+ "name": "accessToken",
1126
+ "type": "option",
1127
+ "hidden": true,
1128
+ "required": true,
1129
+ "multiple": false
1130
+ },
1131
+ "print": {
1132
+ "name": "print",
1133
+ "type": "boolean",
1134
+ "char": "p",
1135
+ "description": "print out the modified resource",
1136
+ "allowNo": false
1137
+ },
1138
+ "json": {
1139
+ "name": "json",
1140
+ "type": "boolean",
1141
+ "char": "j",
1142
+ "description": "print result in JSON format",
1143
+ "allowNo": false,
1144
+ "dependsOn": [
1145
+ "print"
1146
+ ]
1147
+ },
1148
+ "unformatted": {
1149
+ "name": "unformatted",
1150
+ "type": "boolean",
1151
+ "char": "u",
1152
+ "description": "print JSON output without indentation",
1153
+ "allowNo": false,
1154
+ "dependsOn": [
1155
+ "json"
1156
+ ]
1157
+ }
1158
+ },
1159
+ "args": {
1160
+ "id": {
1161
+ "name": "id",
1162
+ "description": "the unique id of the resource",
1163
+ "required": true
1164
+ }
1165
+ }
1166
+ },
1167
+ "capture:refund_amount_cents": {
1168
+ "id": "capture:refund_amount_cents",
1169
+ "description": "The associated refund amount, in cents.",
1170
+ "strict": true,
1171
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1172
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1173
+ "pluginType": "core",
1174
+ "aliases": [],
1175
+ "flags": {
1176
+ "organization": {
1177
+ "name": "organization",
1178
+ "type": "option",
1179
+ "char": "o",
1180
+ "description": "the slug of your organization",
1181
+ "hidden": true,
1182
+ "required": true,
1183
+ "multiple": false
1184
+ },
1185
+ "domain": {
1186
+ "name": "domain",
1187
+ "type": "option",
1188
+ "char": "d",
1189
+ "hidden": true,
1190
+ "required": false,
1191
+ "multiple": false,
1192
+ "dependsOn": [
1193
+ "organization"
1194
+ ]
1195
+ },
1196
+ "accessToken": {
1197
+ "name": "accessToken",
1198
+ "type": "option",
1199
+ "hidden": true,
1200
+ "required": true,
1201
+ "multiple": false
1202
+ },
1203
+ "print": {
1204
+ "name": "print",
1205
+ "type": "boolean",
1206
+ "char": "p",
1207
+ "description": "print out the modified resource",
1208
+ "allowNo": false
1209
+ },
1210
+ "json": {
1211
+ "name": "json",
1212
+ "type": "boolean",
1213
+ "char": "j",
1214
+ "description": "print result in JSON format",
1215
+ "allowNo": false,
1216
+ "dependsOn": [
1217
+ "print"
1218
+ ]
1219
+ },
1220
+ "unformatted": {
1221
+ "name": "unformatted",
1222
+ "type": "boolean",
1223
+ "char": "u",
1224
+ "description": "print JSON output without indentation",
1225
+ "allowNo": false,
1226
+ "dependsOn": [
1227
+ "json"
1228
+ ]
1229
+ }
1230
+ },
1231
+ "args": {
1232
+ "id": {
1233
+ "name": "id",
1234
+ "description": "the unique id of the resource",
1235
+ "required": true
1236
+ }
1237
+ }
1238
+ },
1239
+ "checkout_com_payment:details": {
1240
+ "id": "checkout_com_payment:details",
1241
+ "description": "Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).",
1242
+ "strict": true,
1243
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1244
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1245
+ "pluginType": "core",
1246
+ "aliases": [],
1247
+ "flags": {
1248
+ "organization": {
1249
+ "name": "organization",
1250
+ "type": "option",
1251
+ "char": "o",
1252
+ "description": "the slug of your organization",
1253
+ "hidden": true,
1254
+ "required": true,
1255
+ "multiple": false
1256
+ },
1257
+ "domain": {
1258
+ "name": "domain",
1259
+ "type": "option",
1260
+ "char": "d",
1261
+ "hidden": true,
1262
+ "required": false,
1263
+ "multiple": false,
1264
+ "dependsOn": [
1265
+ "organization"
1266
+ ]
1267
+ },
1268
+ "accessToken": {
1269
+ "name": "accessToken",
1270
+ "type": "option",
1271
+ "hidden": true,
1272
+ "required": true,
1273
+ "multiple": false
1274
+ },
1275
+ "print": {
1276
+ "name": "print",
1277
+ "type": "boolean",
1278
+ "char": "p",
1279
+ "description": "print out the modified resource",
1280
+ "allowNo": false
1281
+ },
1282
+ "json": {
1283
+ "name": "json",
1284
+ "type": "boolean",
1285
+ "char": "j",
1286
+ "description": "print result in JSON format",
1287
+ "allowNo": false,
1288
+ "dependsOn": [
1289
+ "print"
1290
+ ]
1291
+ },
1292
+ "unformatted": {
1293
+ "name": "unformatted",
1294
+ "type": "boolean",
1295
+ "char": "u",
1296
+ "description": "print JSON output without indentation",
1297
+ "allowNo": false,
1298
+ "dependsOn": [
1299
+ "json"
1300
+ ]
1301
+ }
1302
+ },
1303
+ "args": {
1304
+ "id": {
1305
+ "name": "id",
1306
+ "description": "the unique id of the resource",
1307
+ "required": true
1308
+ }
1309
+ }
1310
+ },
1311
+ "checkout_com_payment": {
1312
+ "id": "checkout_com_payment",
1313
+ "description": "execute an action on a resource of type checkout_com_payments",
1314
+ "strict": true,
1315
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1316
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1317
+ "pluginType": "core",
1318
+ "aliases": [],
1319
+ "flags": {
1320
+ "organization": {
1321
+ "name": "organization",
1322
+ "type": "option",
1323
+ "char": "o",
1324
+ "description": "the slug of your organization",
1325
+ "hidden": true,
1326
+ "required": true,
1327
+ "multiple": false
1328
+ },
1329
+ "domain": {
1330
+ "name": "domain",
1331
+ "type": "option",
1332
+ "char": "d",
1333
+ "hidden": true,
1334
+ "required": false,
1335
+ "multiple": false,
1336
+ "dependsOn": [
1337
+ "organization"
1338
+ ]
1339
+ },
1340
+ "accessToken": {
1341
+ "name": "accessToken",
1342
+ "type": "option",
1343
+ "hidden": true,
1344
+ "required": true,
1345
+ "multiple": false
1346
+ },
1347
+ "print": {
1348
+ "name": "print",
1349
+ "type": "boolean",
1350
+ "char": "p",
1351
+ "description": "print out the modified resource",
1352
+ "allowNo": false
1353
+ },
1354
+ "json": {
1355
+ "name": "json",
1356
+ "type": "boolean",
1357
+ "char": "j",
1358
+ "description": "print result in JSON format",
1359
+ "allowNo": false,
1360
+ "dependsOn": [
1361
+ "print"
1362
+ ]
1363
+ },
1364
+ "unformatted": {
1365
+ "name": "unformatted",
1366
+ "type": "boolean",
1367
+ "char": "u",
1368
+ "description": "print JSON output without indentation",
1369
+ "allowNo": false,
1370
+ "dependsOn": [
1371
+ "json"
1372
+ ]
1373
+ }
1374
+ },
1375
+ "args": {
1376
+ "id": {
1377
+ "name": "id",
1378
+ "description": "the unique id of the resource",
1379
+ "required": true
1380
+ }
1381
+ }
1382
+ },
1383
+ "checkout_com_payment:refresh": {
1384
+ "id": "checkout_com_payment:refresh",
1385
+ "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
1386
+ "strict": true,
1387
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1388
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1389
+ "pluginType": "core",
1390
+ "aliases": [],
1391
+ "flags": {
1392
+ "organization": {
1393
+ "name": "organization",
1394
+ "type": "option",
1395
+ "char": "o",
1396
+ "description": "the slug of your organization",
1397
+ "hidden": true,
1398
+ "required": true,
1399
+ "multiple": false
1400
+ },
1401
+ "domain": {
1402
+ "name": "domain",
1403
+ "type": "option",
1404
+ "char": "d",
1405
+ "hidden": true,
1406
+ "required": false,
1407
+ "multiple": false,
1408
+ "dependsOn": [
1409
+ "organization"
1410
+ ]
1411
+ },
1412
+ "accessToken": {
1413
+ "name": "accessToken",
1414
+ "type": "option",
1415
+ "hidden": true,
1416
+ "required": true,
1417
+ "multiple": false
1418
+ },
1419
+ "print": {
1420
+ "name": "print",
1421
+ "type": "boolean",
1422
+ "char": "p",
1423
+ "description": "print out the modified resource",
1424
+ "allowNo": false
1425
+ },
1426
+ "json": {
1427
+ "name": "json",
1428
+ "type": "boolean",
1429
+ "char": "j",
1430
+ "description": "print result in JSON format",
1431
+ "allowNo": false,
1432
+ "dependsOn": [
1433
+ "print"
1434
+ ]
1435
+ },
1436
+ "unformatted": {
1437
+ "name": "unformatted",
1438
+ "type": "boolean",
1439
+ "char": "u",
1440
+ "description": "print JSON output without indentation",
1441
+ "allowNo": false,
1442
+ "dependsOn": [
1443
+ "json"
1444
+ ]
1445
+ }
1446
+ },
1447
+ "args": {
1448
+ "id": {
1449
+ "name": "id",
1450
+ "description": "the unique id of the resource",
1451
+ "required": true
1452
+ }
1453
+ }
1454
+ },
1455
+ "customer_password_reset": {
1456
+ "id": "customer_password_reset",
1457
+ "description": "execute an action on a resource of type customer_password_resets",
1458
+ "strict": true,
1459
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1460
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1461
+ "pluginType": "core",
1462
+ "aliases": [],
1463
+ "flags": {
1464
+ "organization": {
1465
+ "name": "organization",
1466
+ "type": "option",
1467
+ "char": "o",
1468
+ "description": "the slug of your organization",
1469
+ "hidden": true,
1470
+ "required": true,
1471
+ "multiple": false
1472
+ },
1473
+ "domain": {
1474
+ "name": "domain",
1475
+ "type": "option",
1476
+ "char": "d",
1477
+ "hidden": true,
1478
+ "required": false,
1479
+ "multiple": false,
1480
+ "dependsOn": [
1481
+ "organization"
1482
+ ]
1483
+ },
1484
+ "accessToken": {
1485
+ "name": "accessToken",
1486
+ "type": "option",
1487
+ "hidden": true,
1488
+ "required": true,
1489
+ "multiple": false
1490
+ },
1491
+ "print": {
1492
+ "name": "print",
1493
+ "type": "boolean",
1494
+ "char": "p",
1495
+ "description": "print out the modified resource",
1496
+ "allowNo": false
1497
+ },
1498
+ "json": {
1499
+ "name": "json",
1500
+ "type": "boolean",
1501
+ "char": "j",
1502
+ "description": "print result in JSON format",
1503
+ "allowNo": false,
1504
+ "dependsOn": [
1505
+ "print"
1506
+ ]
1507
+ },
1508
+ "unformatted": {
1509
+ "name": "unformatted",
1510
+ "type": "boolean",
1511
+ "char": "u",
1512
+ "description": "print JSON output without indentation",
1513
+ "allowNo": false,
1514
+ "dependsOn": [
1515
+ "json"
1516
+ ]
1517
+ }
1518
+ },
1519
+ "args": {
1520
+ "id": {
1521
+ "name": "id",
1522
+ "description": "the unique id of the resource",
1523
+ "required": true
1524
+ }
1525
+ }
1526
+ },
1527
+ "customer_password_reset:reset_password_token": {
1528
+ "id": "customer_password_reset:reset_password_token",
1529
+ "description": "Send the 'reset_password_token' that you got on create when updating the customer password.",
1530
+ "strict": true,
1531
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1532
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1533
+ "pluginType": "core",
1534
+ "aliases": [],
1535
+ "flags": {
1536
+ "organization": {
1537
+ "name": "organization",
1538
+ "type": "option",
1539
+ "char": "o",
1540
+ "description": "the slug of your organization",
1541
+ "hidden": true,
1542
+ "required": true,
1543
+ "multiple": false
1544
+ },
1545
+ "domain": {
1546
+ "name": "domain",
1547
+ "type": "option",
1548
+ "char": "d",
1549
+ "hidden": true,
1550
+ "required": false,
1551
+ "multiple": false,
1552
+ "dependsOn": [
1553
+ "organization"
1554
+ ]
1555
+ },
1556
+ "accessToken": {
1557
+ "name": "accessToken",
1558
+ "type": "option",
1559
+ "hidden": true,
1560
+ "required": true,
1561
+ "multiple": false
1562
+ },
1563
+ "print": {
1564
+ "name": "print",
1565
+ "type": "boolean",
1566
+ "char": "p",
1567
+ "description": "print out the modified resource",
1568
+ "allowNo": false
1569
+ },
1570
+ "json": {
1571
+ "name": "json",
1572
+ "type": "boolean",
1573
+ "char": "j",
1574
+ "description": "print result in JSON format",
1575
+ "allowNo": false,
1576
+ "dependsOn": [
1577
+ "print"
1578
+ ]
1579
+ },
1580
+ "unformatted": {
1581
+ "name": "unformatted",
1582
+ "type": "boolean",
1583
+ "char": "u",
1584
+ "description": "print JSON output without indentation",
1585
+ "allowNo": false,
1586
+ "dependsOn": [
1587
+ "json"
1588
+ ]
1589
+ }
1590
+ },
1591
+ "args": {
1592
+ "id": {
1593
+ "name": "id",
1594
+ "description": "the unique id of the resource",
1595
+ "required": true
1596
+ }
1597
+ }
1598
+ },
1599
+ "external_promotion:disable": {
1600
+ "id": "external_promotion:disable",
1601
+ "description": "Send this attribute if you want to mark the promotion as disabled.",
1602
+ "strict": true,
1603
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1604
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1605
+ "pluginType": "core",
1606
+ "aliases": [],
1607
+ "flags": {
1608
+ "organization": {
1609
+ "name": "organization",
1610
+ "type": "option",
1611
+ "char": "o",
1612
+ "description": "the slug of your organization",
1613
+ "hidden": true,
1614
+ "required": true,
1615
+ "multiple": false
1616
+ },
1617
+ "domain": {
1618
+ "name": "domain",
1619
+ "type": "option",
1620
+ "char": "d",
1621
+ "hidden": true,
1622
+ "required": false,
1623
+ "multiple": false,
1624
+ "dependsOn": [
1625
+ "organization"
1626
+ ]
1627
+ },
1628
+ "accessToken": {
1629
+ "name": "accessToken",
1630
+ "type": "option",
1631
+ "hidden": true,
1632
+ "required": true,
1633
+ "multiple": false
1634
+ },
1635
+ "print": {
1636
+ "name": "print",
1637
+ "type": "boolean",
1638
+ "char": "p",
1639
+ "description": "print out the modified resource",
1640
+ "allowNo": false
1641
+ },
1642
+ "json": {
1643
+ "name": "json",
1644
+ "type": "boolean",
1645
+ "char": "j",
1646
+ "description": "print result in JSON format",
1647
+ "allowNo": false,
1648
+ "dependsOn": [
1649
+ "print"
1650
+ ]
1651
+ },
1652
+ "unformatted": {
1653
+ "name": "unformatted",
1654
+ "type": "boolean",
1655
+ "char": "u",
1656
+ "description": "print JSON output without indentation",
1657
+ "allowNo": false,
1658
+ "dependsOn": [
1659
+ "json"
1660
+ ]
1661
+ }
1662
+ },
1663
+ "args": {
1664
+ "id": {
1665
+ "name": "id",
1666
+ "description": "the unique id of the resource",
1667
+ "required": true
1668
+ }
1669
+ }
1670
+ },
1671
+ "external_promotion:enable": {
1672
+ "id": "external_promotion:enable",
1673
+ "description": "Send this attribute if you want to mark the promotion as enabled.",
1674
+ "strict": true,
1675
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1676
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1677
+ "pluginType": "core",
1678
+ "aliases": [],
1679
+ "flags": {
1680
+ "organization": {
1681
+ "name": "organization",
1682
+ "type": "option",
1683
+ "char": "o",
1684
+ "description": "the slug of your organization",
1685
+ "hidden": true,
1686
+ "required": true,
1687
+ "multiple": false
1688
+ },
1689
+ "domain": {
1690
+ "name": "domain",
1691
+ "type": "option",
1692
+ "char": "d",
1693
+ "hidden": true,
1694
+ "required": false,
1695
+ "multiple": false,
1696
+ "dependsOn": [
1697
+ "organization"
1698
+ ]
1699
+ },
1700
+ "accessToken": {
1701
+ "name": "accessToken",
1702
+ "type": "option",
1703
+ "hidden": true,
1704
+ "required": true,
1705
+ "multiple": false
1706
+ },
1707
+ "print": {
1708
+ "name": "print",
1709
+ "type": "boolean",
1710
+ "char": "p",
1711
+ "description": "print out the modified resource",
1712
+ "allowNo": false
1713
+ },
1714
+ "json": {
1715
+ "name": "json",
1716
+ "type": "boolean",
1717
+ "char": "j",
1718
+ "description": "print result in JSON format",
1719
+ "allowNo": false,
1720
+ "dependsOn": [
1721
+ "print"
1722
+ ]
1723
+ },
1724
+ "unformatted": {
1725
+ "name": "unformatted",
1726
+ "type": "boolean",
1727
+ "char": "u",
1728
+ "description": "print JSON output without indentation",
1729
+ "allowNo": false,
1730
+ "dependsOn": [
1731
+ "json"
1732
+ ]
1733
+ }
1734
+ },
1735
+ "args": {
1736
+ "id": {
1737
+ "name": "id",
1738
+ "description": "the unique id of the resource",
1739
+ "required": true
1740
+ }
1741
+ }
1742
+ },
1743
+ "external_promotion": {
1744
+ "id": "external_promotion",
1745
+ "description": "execute an action on a resource of type external_promotions",
1746
+ "strict": true,
1747
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1748
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1749
+ "pluginType": "core",
1750
+ "aliases": [],
1751
+ "flags": {
1752
+ "organization": {
1753
+ "name": "organization",
1754
+ "type": "option",
1755
+ "char": "o",
1756
+ "description": "the slug of your organization",
1757
+ "hidden": true,
1758
+ "required": true,
1759
+ "multiple": false
1760
+ },
1761
+ "domain": {
1762
+ "name": "domain",
1763
+ "type": "option",
1764
+ "char": "d",
1765
+ "hidden": true,
1766
+ "required": false,
1767
+ "multiple": false,
1768
+ "dependsOn": [
1769
+ "organization"
1770
+ ]
1771
+ },
1772
+ "accessToken": {
1773
+ "name": "accessToken",
1774
+ "type": "option",
1775
+ "hidden": true,
1776
+ "required": true,
1777
+ "multiple": false
1778
+ },
1779
+ "print": {
1780
+ "name": "print",
1781
+ "type": "boolean",
1782
+ "char": "p",
1783
+ "description": "print out the modified resource",
1784
+ "allowNo": false
1785
+ },
1786
+ "json": {
1787
+ "name": "json",
1788
+ "type": "boolean",
1789
+ "char": "j",
1790
+ "description": "print result in JSON format",
1791
+ "allowNo": false,
1792
+ "dependsOn": [
1793
+ "print"
1794
+ ]
1795
+ },
1796
+ "unformatted": {
1797
+ "name": "unformatted",
1798
+ "type": "boolean",
1799
+ "char": "u",
1800
+ "description": "print JSON output without indentation",
1801
+ "allowNo": false,
1802
+ "dependsOn": [
1803
+ "json"
1804
+ ]
1805
+ }
1806
+ },
1807
+ "args": {
1808
+ "id": {
1809
+ "name": "id",
1810
+ "description": "the unique id of the resource",
1811
+ "required": true
1812
+ }
1813
+ }
1814
+ },
1815
+ "fixed_amount_promotion:disable": {
1816
+ "id": "fixed_amount_promotion:disable",
1817
+ "description": "Send this attribute if you want to mark the promotion as disabled.",
1818
+ "strict": true,
1819
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1820
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1821
+ "pluginType": "core",
1822
+ "aliases": [],
1823
+ "flags": {
1824
+ "organization": {
1825
+ "name": "organization",
1826
+ "type": "option",
1827
+ "char": "o",
1828
+ "description": "the slug of your organization",
1829
+ "hidden": true,
1830
+ "required": true,
1831
+ "multiple": false
1832
+ },
1833
+ "domain": {
1834
+ "name": "domain",
1835
+ "type": "option",
1836
+ "char": "d",
1837
+ "hidden": true,
1838
+ "required": false,
1839
+ "multiple": false,
1840
+ "dependsOn": [
1841
+ "organization"
1842
+ ]
1843
+ },
1844
+ "accessToken": {
1845
+ "name": "accessToken",
1846
+ "type": "option",
1847
+ "hidden": true,
1848
+ "required": true,
1849
+ "multiple": false
1850
+ },
1851
+ "print": {
1852
+ "name": "print",
1853
+ "type": "boolean",
1854
+ "char": "p",
1855
+ "description": "print out the modified resource",
1856
+ "allowNo": false
1857
+ },
1858
+ "json": {
1859
+ "name": "json",
1860
+ "type": "boolean",
1861
+ "char": "j",
1862
+ "description": "print result in JSON format",
1863
+ "allowNo": false,
1864
+ "dependsOn": [
1865
+ "print"
1866
+ ]
1867
+ },
1868
+ "unformatted": {
1869
+ "name": "unformatted",
1870
+ "type": "boolean",
1871
+ "char": "u",
1872
+ "description": "print JSON output without indentation",
1873
+ "allowNo": false,
1874
+ "dependsOn": [
1875
+ "json"
1876
+ ]
1877
+ }
1878
+ },
1879
+ "args": {
1880
+ "id": {
1881
+ "name": "id",
1882
+ "description": "the unique id of the resource",
1883
+ "required": true
1884
+ }
1885
+ }
1886
+ },
1887
+ "fixed_amount_promotion:enable": {
1888
+ "id": "fixed_amount_promotion:enable",
1889
+ "description": "Send this attribute if you want to mark the promotion as enabled.",
1890
+ "strict": true,
1891
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1892
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1893
+ "pluginType": "core",
1894
+ "aliases": [],
1895
+ "flags": {
1896
+ "organization": {
1897
+ "name": "organization",
1898
+ "type": "option",
1899
+ "char": "o",
1900
+ "description": "the slug of your organization",
1901
+ "hidden": true,
1902
+ "required": true,
1903
+ "multiple": false
1904
+ },
1905
+ "domain": {
1906
+ "name": "domain",
1907
+ "type": "option",
1908
+ "char": "d",
1909
+ "hidden": true,
1910
+ "required": false,
1911
+ "multiple": false,
1912
+ "dependsOn": [
1913
+ "organization"
1914
+ ]
1915
+ },
1916
+ "accessToken": {
1917
+ "name": "accessToken",
1918
+ "type": "option",
1919
+ "hidden": true,
1920
+ "required": true,
1921
+ "multiple": false
1922
+ },
1923
+ "print": {
1924
+ "name": "print",
1925
+ "type": "boolean",
1926
+ "char": "p",
1927
+ "description": "print out the modified resource",
1928
+ "allowNo": false
1929
+ },
1930
+ "json": {
1931
+ "name": "json",
1932
+ "type": "boolean",
1933
+ "char": "j",
1934
+ "description": "print result in JSON format",
1935
+ "allowNo": false,
1936
+ "dependsOn": [
1937
+ "print"
1938
+ ]
1939
+ },
1940
+ "unformatted": {
1941
+ "name": "unformatted",
1942
+ "type": "boolean",
1943
+ "char": "u",
1944
+ "description": "print JSON output without indentation",
1945
+ "allowNo": false,
1946
+ "dependsOn": [
1947
+ "json"
1948
+ ]
1949
+ }
1950
+ },
1951
+ "args": {
1952
+ "id": {
1953
+ "name": "id",
1954
+ "description": "the unique id of the resource",
1955
+ "required": true
1956
+ }
1957
+ }
1958
+ },
1959
+ "fixed_amount_promotion": {
1960
+ "id": "fixed_amount_promotion",
1961
+ "description": "execute an action on a resource of type fixed_amount_promotions",
1962
+ "strict": true,
1963
+ "pluginName": "@commercelayer/cli-plugin-triggers",
1964
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
1965
+ "pluginType": "core",
1966
+ "aliases": [],
1967
+ "flags": {
1968
+ "organization": {
1969
+ "name": "organization",
1970
+ "type": "option",
1971
+ "char": "o",
1972
+ "description": "the slug of your organization",
1973
+ "hidden": true,
1974
+ "required": true,
1975
+ "multiple": false
1976
+ },
1977
+ "domain": {
1978
+ "name": "domain",
1979
+ "type": "option",
1980
+ "char": "d",
1981
+ "hidden": true,
1982
+ "required": false,
1983
+ "multiple": false,
1984
+ "dependsOn": [
1985
+ "organization"
1986
+ ]
1987
+ },
1988
+ "accessToken": {
1989
+ "name": "accessToken",
1990
+ "type": "option",
1991
+ "hidden": true,
1992
+ "required": true,
1993
+ "multiple": false
1994
+ },
1995
+ "print": {
1996
+ "name": "print",
1997
+ "type": "boolean",
1998
+ "char": "p",
1999
+ "description": "print out the modified resource",
2000
+ "allowNo": false
2001
+ },
2002
+ "json": {
2003
+ "name": "json",
2004
+ "type": "boolean",
2005
+ "char": "j",
2006
+ "description": "print result in JSON format",
2007
+ "allowNo": false,
2008
+ "dependsOn": [
2009
+ "print"
2010
+ ]
2011
+ },
2012
+ "unformatted": {
2013
+ "name": "unformatted",
2014
+ "type": "boolean",
2015
+ "char": "u",
2016
+ "description": "print JSON output without indentation",
2017
+ "allowNo": false,
2018
+ "dependsOn": [
2019
+ "json"
2020
+ ]
2021
+ }
2022
+ },
2023
+ "args": {
2024
+ "id": {
2025
+ "name": "id",
2026
+ "description": "the unique id of the resource",
2027
+ "required": true
2028
+ }
2029
+ }
2030
+ },
2031
+ "fixed_price_promotion:disable": {
2032
+ "id": "fixed_price_promotion:disable",
2033
+ "description": "Send this attribute if you want to mark the promotion as disabled.",
2034
+ "strict": true,
2035
+ "pluginName": "@commercelayer/cli-plugin-triggers",
2036
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
2037
+ "pluginType": "core",
2038
+ "aliases": [],
2039
+ "flags": {
2040
+ "organization": {
2041
+ "name": "organization",
2042
+ "type": "option",
2043
+ "char": "o",
2044
+ "description": "the slug of your organization",
2045
+ "hidden": true,
2046
+ "required": true,
2047
+ "multiple": false
2048
+ },
2049
+ "domain": {
2050
+ "name": "domain",
2051
+ "type": "option",
2052
+ "char": "d",
2053
+ "hidden": true,
2054
+ "required": false,
2055
+ "multiple": false,
2056
+ "dependsOn": [
2057
+ "organization"
2058
+ ]
2059
+ },
2060
+ "accessToken": {
2061
+ "name": "accessToken",
2062
+ "type": "option",
2063
+ "hidden": true,
2064
+ "required": true,
2065
+ "multiple": false
2066
+ },
2067
+ "print": {
2068
+ "name": "print",
2069
+ "type": "boolean",
2070
+ "char": "p",
2071
+ "description": "print out the modified resource",
2072
+ "allowNo": false
2073
+ },
2074
+ "json": {
2075
+ "name": "json",
2076
+ "type": "boolean",
2077
+ "char": "j",
2078
+ "description": "print result in JSON format",
2079
+ "allowNo": false,
2080
+ "dependsOn": [
2081
+ "print"
2082
+ ]
2083
+ },
2084
+ "unformatted": {
2085
+ "name": "unformatted",
2086
+ "type": "boolean",
2087
+ "char": "u",
2088
+ "description": "print JSON output without indentation",
2089
+ "allowNo": false,
2090
+ "dependsOn": [
2091
+ "json"
2092
+ ]
2093
+ }
2094
+ },
2095
+ "args": {
2096
+ "id": {
2097
+ "name": "id",
2098
+ "description": "the unique id of the resource",
2099
+ "required": true
2100
+ }
2101
+ }
2102
+ },
2103
+ "fixed_price_promotion:enable": {
2104
+ "id": "fixed_price_promotion:enable",
2105
+ "description": "Send this attribute if you want to mark the promotion as enabled.",
2106
+ "strict": true,
2107
+ "pluginName": "@commercelayer/cli-plugin-triggers",
2108
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
2109
+ "pluginType": "core",
2110
+ "aliases": [],
2111
+ "flags": {
2112
+ "organization": {
2113
+ "name": "organization",
2114
+ "type": "option",
2115
+ "char": "o",
2116
+ "description": "the slug of your organization",
2117
+ "hidden": true,
2118
+ "required": true,
2119
+ "multiple": false
2120
+ },
2121
+ "domain": {
2122
+ "name": "domain",
2123
+ "type": "option",
2124
+ "char": "d",
2125
+ "hidden": true,
2126
+ "required": false,
2127
+ "multiple": false,
2128
+ "dependsOn": [
2129
+ "organization"
2130
+ ]
2131
+ },
2132
+ "accessToken": {
2133
+ "name": "accessToken",
2134
+ "type": "option",
2135
+ "hidden": true,
2136
+ "required": true,
2137
+ "multiple": false
2138
+ },
2139
+ "print": {
2140
+ "name": "print",
2141
+ "type": "boolean",
2142
+ "char": "p",
2143
+ "description": "print out the modified resource",
2144
+ "allowNo": false
2145
+ },
2146
+ "json": {
2147
+ "name": "json",
2148
+ "type": "boolean",
2149
+ "char": "j",
2150
+ "description": "print result in JSON format",
2151
+ "allowNo": false,
2152
+ "dependsOn": [
2153
+ "print"
2154
+ ]
2155
+ },
2156
+ "unformatted": {
2157
+ "name": "unformatted",
2158
+ "type": "boolean",
2159
+ "char": "u",
2160
+ "description": "print JSON output without indentation",
2161
+ "allowNo": false,
2162
+ "dependsOn": [
2163
+ "json"
2164
+ ]
2165
+ }
2166
+ },
2167
+ "args": {
2168
+ "id": {
2169
+ "name": "id",
2170
+ "description": "the unique id of the resource",
2171
+ "required": true
2172
+ }
2173
+ }
2174
+ },
2175
+ "fixed_price_promotion": {
2176
+ "id": "fixed_price_promotion",
2177
+ "description": "execute an action on a resource of type fixed_price_promotions",
882
2178
  "strict": true,
883
2179
  "pluginName": "@commercelayer/cli-plugin-triggers",
884
2180
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
@@ -948,9 +2244,9 @@
948
2244
  }
949
2245
  }
950
2246
  },
951
- "capture:refund_amount_cents": {
952
- "id": "capture:refund_amount_cents",
953
- "description": "The associated refund amount, in cents.",
2247
+ "free_gift_promotion:disable": {
2248
+ "id": "free_gift_promotion:disable",
2249
+ "description": "Send this attribute if you want to mark the promotion as disabled.",
954
2250
  "strict": true,
955
2251
  "pluginName": "@commercelayer/cli-plugin-triggers",
956
2252
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
@@ -1020,9 +2316,9 @@
1020
2316
  }
1021
2317
  }
1022
2318
  },
1023
- "checkout_com_payment:details": {
1024
- "id": "checkout_com_payment:details",
1025
- "description": "Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).",
2319
+ "free_gift_promotion:enable": {
2320
+ "id": "free_gift_promotion:enable",
2321
+ "description": "Send this attribute if you want to mark the promotion as enabled.",
1026
2322
  "strict": true,
1027
2323
  "pluginName": "@commercelayer/cli-plugin-triggers",
1028
2324
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
@@ -1092,9 +2388,9 @@
1092
2388
  }
1093
2389
  }
1094
2390
  },
1095
- "checkout_com_payment": {
1096
- "id": "checkout_com_payment",
1097
- "description": "execute an action on a resource of type checkout_com_payments",
2391
+ "free_gift_promotion": {
2392
+ "id": "free_gift_promotion",
2393
+ "description": "execute an action on a resource of type free_gift_promotions",
1098
2394
  "strict": true,
1099
2395
  "pluginName": "@commercelayer/cli-plugin-triggers",
1100
2396
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
@@ -1164,9 +2460,9 @@
1164
2460
  }
1165
2461
  }
1166
2462
  },
1167
- "checkout_com_payment:refresh": {
1168
- "id": "checkout_com_payment:refresh",
1169
- "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
2463
+ "free_shipping_promotion:disable": {
2464
+ "id": "free_shipping_promotion:disable",
2465
+ "description": "Send this attribute if you want to mark the promotion as disabled.",
1170
2466
  "strict": true,
1171
2467
  "pluginName": "@commercelayer/cli-plugin-triggers",
1172
2468
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
@@ -1236,9 +2532,9 @@
1236
2532
  }
1237
2533
  }
1238
2534
  },
1239
- "customer_password_reset": {
1240
- "id": "customer_password_reset",
1241
- "description": "execute an action on a resource of type customer_password_resets",
2535
+ "free_shipping_promotion:enable": {
2536
+ "id": "free_shipping_promotion:enable",
2537
+ "description": "Send this attribute if you want to mark the promotion as enabled.",
1242
2538
  "strict": true,
1243
2539
  "pluginName": "@commercelayer/cli-plugin-triggers",
1244
2540
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
@@ -1308,9 +2604,9 @@
1308
2604
  }
1309
2605
  }
1310
2606
  },
1311
- "customer_password_reset:reset_password_token": {
1312
- "id": "customer_password_reset:reset_password_token",
1313
- "description": "Send the 'reset_password_token' that you got on create when updating the customer password.",
2607
+ "free_shipping_promotion": {
2608
+ "id": "free_shipping_promotion",
2609
+ "description": "execute an action on a resource of type free_shipping_promotions",
1314
2610
  "strict": true,
1315
2611
  "pluginName": "@commercelayer/cli-plugin-triggers",
1316
2612
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
@@ -3262,7 +4558,7 @@
3262
4558
  },
3263
4559
  "order:create_subscriptions": {
3264
4560
  "id": "order:create_subscriptions",
3265
- "description": "Send this attribute if you want to create order subscriptions from the recurring line items upon/after placing the order. Subscriptions are generated according to associated subscription model strategy.",
4561
+ "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
3266
4562
  "strict": true,
3267
4563
  "pluginName": "@commercelayer/cli-plugin-triggers",
3268
4564
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
@@ -5076,6 +6372,222 @@
5076
6372
  }
5077
6373
  }
5078
6374
  },
6375
+ "percentage_discount_promotion:disable": {
6376
+ "id": "percentage_discount_promotion:disable",
6377
+ "description": "Send this attribute if you want to mark the promotion as disabled.",
6378
+ "strict": true,
6379
+ "pluginName": "@commercelayer/cli-plugin-triggers",
6380
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
6381
+ "pluginType": "core",
6382
+ "aliases": [],
6383
+ "flags": {
6384
+ "organization": {
6385
+ "name": "organization",
6386
+ "type": "option",
6387
+ "char": "o",
6388
+ "description": "the slug of your organization",
6389
+ "hidden": true,
6390
+ "required": true,
6391
+ "multiple": false
6392
+ },
6393
+ "domain": {
6394
+ "name": "domain",
6395
+ "type": "option",
6396
+ "char": "d",
6397
+ "hidden": true,
6398
+ "required": false,
6399
+ "multiple": false,
6400
+ "dependsOn": [
6401
+ "organization"
6402
+ ]
6403
+ },
6404
+ "accessToken": {
6405
+ "name": "accessToken",
6406
+ "type": "option",
6407
+ "hidden": true,
6408
+ "required": true,
6409
+ "multiple": false
6410
+ },
6411
+ "print": {
6412
+ "name": "print",
6413
+ "type": "boolean",
6414
+ "char": "p",
6415
+ "description": "print out the modified resource",
6416
+ "allowNo": false
6417
+ },
6418
+ "json": {
6419
+ "name": "json",
6420
+ "type": "boolean",
6421
+ "char": "j",
6422
+ "description": "print result in JSON format",
6423
+ "allowNo": false,
6424
+ "dependsOn": [
6425
+ "print"
6426
+ ]
6427
+ },
6428
+ "unformatted": {
6429
+ "name": "unformatted",
6430
+ "type": "boolean",
6431
+ "char": "u",
6432
+ "description": "print JSON output without indentation",
6433
+ "allowNo": false,
6434
+ "dependsOn": [
6435
+ "json"
6436
+ ]
6437
+ }
6438
+ },
6439
+ "args": {
6440
+ "id": {
6441
+ "name": "id",
6442
+ "description": "the unique id of the resource",
6443
+ "required": true
6444
+ }
6445
+ }
6446
+ },
6447
+ "percentage_discount_promotion:enable": {
6448
+ "id": "percentage_discount_promotion:enable",
6449
+ "description": "Send this attribute if you want to mark the promotion as enabled.",
6450
+ "strict": true,
6451
+ "pluginName": "@commercelayer/cli-plugin-triggers",
6452
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
6453
+ "pluginType": "core",
6454
+ "aliases": [],
6455
+ "flags": {
6456
+ "organization": {
6457
+ "name": "organization",
6458
+ "type": "option",
6459
+ "char": "o",
6460
+ "description": "the slug of your organization",
6461
+ "hidden": true,
6462
+ "required": true,
6463
+ "multiple": false
6464
+ },
6465
+ "domain": {
6466
+ "name": "domain",
6467
+ "type": "option",
6468
+ "char": "d",
6469
+ "hidden": true,
6470
+ "required": false,
6471
+ "multiple": false,
6472
+ "dependsOn": [
6473
+ "organization"
6474
+ ]
6475
+ },
6476
+ "accessToken": {
6477
+ "name": "accessToken",
6478
+ "type": "option",
6479
+ "hidden": true,
6480
+ "required": true,
6481
+ "multiple": false
6482
+ },
6483
+ "print": {
6484
+ "name": "print",
6485
+ "type": "boolean",
6486
+ "char": "p",
6487
+ "description": "print out the modified resource",
6488
+ "allowNo": false
6489
+ },
6490
+ "json": {
6491
+ "name": "json",
6492
+ "type": "boolean",
6493
+ "char": "j",
6494
+ "description": "print result in JSON format",
6495
+ "allowNo": false,
6496
+ "dependsOn": [
6497
+ "print"
6498
+ ]
6499
+ },
6500
+ "unformatted": {
6501
+ "name": "unformatted",
6502
+ "type": "boolean",
6503
+ "char": "u",
6504
+ "description": "print JSON output without indentation",
6505
+ "allowNo": false,
6506
+ "dependsOn": [
6507
+ "json"
6508
+ ]
6509
+ }
6510
+ },
6511
+ "args": {
6512
+ "id": {
6513
+ "name": "id",
6514
+ "description": "the unique id of the resource",
6515
+ "required": true
6516
+ }
6517
+ }
6518
+ },
6519
+ "percentage_discount_promotion": {
6520
+ "id": "percentage_discount_promotion",
6521
+ "description": "execute an action on a resource of type percentage_discount_promotions",
6522
+ "strict": true,
6523
+ "pluginName": "@commercelayer/cli-plugin-triggers",
6524
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
6525
+ "pluginType": "core",
6526
+ "aliases": [],
6527
+ "flags": {
6528
+ "organization": {
6529
+ "name": "organization",
6530
+ "type": "option",
6531
+ "char": "o",
6532
+ "description": "the slug of your organization",
6533
+ "hidden": true,
6534
+ "required": true,
6535
+ "multiple": false
6536
+ },
6537
+ "domain": {
6538
+ "name": "domain",
6539
+ "type": "option",
6540
+ "char": "d",
6541
+ "hidden": true,
6542
+ "required": false,
6543
+ "multiple": false,
6544
+ "dependsOn": [
6545
+ "organization"
6546
+ ]
6547
+ },
6548
+ "accessToken": {
6549
+ "name": "accessToken",
6550
+ "type": "option",
6551
+ "hidden": true,
6552
+ "required": true,
6553
+ "multiple": false
6554
+ },
6555
+ "print": {
6556
+ "name": "print",
6557
+ "type": "boolean",
6558
+ "char": "p",
6559
+ "description": "print out the modified resource",
6560
+ "allowNo": false
6561
+ },
6562
+ "json": {
6563
+ "name": "json",
6564
+ "type": "boolean",
6565
+ "char": "j",
6566
+ "description": "print result in JSON format",
6567
+ "allowNo": false,
6568
+ "dependsOn": [
6569
+ "print"
6570
+ ]
6571
+ },
6572
+ "unformatted": {
6573
+ "name": "unformatted",
6574
+ "type": "boolean",
6575
+ "char": "u",
6576
+ "description": "print JSON output without indentation",
6577
+ "allowNo": false,
6578
+ "dependsOn": [
6579
+ "json"
6580
+ ]
6581
+ }
6582
+ },
6583
+ "args": {
6584
+ "id": {
6585
+ "name": "id",
6586
+ "description": "the unique id of the resource",
6587
+ "required": true
6588
+ }
6589
+ }
6590
+ },
5079
6591
  "return:approve": {
5080
6592
  "id": "return:approve",
5081
6593
  "description": "Send this attribute if you want to mark this return as approved.",