@commercelayer/cli-plugin-triggers 4.7.0 → 4.8.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 (35) hide show
  1. package/README.md +217 -50
  2. package/lib/commands/flex_promotion/disable.d.ts +9 -0
  3. package/lib/commands/flex_promotion/disable.js +22 -0
  4. package/lib/commands/flex_promotion/enable.d.ts +9 -0
  5. package/lib/commands/flex_promotion/enable.js +22 -0
  6. package/lib/commands/flex_promotion/index.d.ts +9 -0
  7. package/lib/commands/flex_promotion/index.js +40 -0
  8. package/lib/commands/refund/forward.d.ts +9 -0
  9. package/lib/commands/refund/forward.js +22 -0
  10. package/lib/commands/refund/index.d.ts +9 -0
  11. package/lib/commands/refund/index.js +40 -0
  12. package/lib/commands/void/forward.d.ts +9 -0
  13. package/lib/commands/void/forward.js +22 -0
  14. package/lib/commands/void/index.d.ts +9 -0
  15. package/lib/commands/void/index.js +40 -0
  16. package/lib/index.js +0 -1
  17. package/lib/triggers/events.js +1 -1
  18. package/lib/triggers/external_gateways.js +1 -1
  19. package/lib/triggers/external_promotions.js +1 -1
  20. package/lib/triggers/external_tax_calculators.js +1 -1
  21. package/lib/triggers/flex_promotions.d.ts +3 -0
  22. package/lib/triggers/flex_promotions.js +15 -0
  23. package/lib/triggers/line_items.js +2 -2
  24. package/lib/triggers/orders.js +9 -9
  25. package/lib/triggers/refunds.d.ts +3 -0
  26. package/lib/triggers/refunds.js +10 -0
  27. package/lib/triggers/shipments.js +5 -5
  28. package/lib/triggers/shipping_methods.js +1 -1
  29. package/lib/triggers/stock_items.js +1 -1
  30. package/lib/triggers/stock_line_items.js +3 -3
  31. package/lib/triggers/voids.d.ts +3 -0
  32. package/lib/triggers/voids.js +10 -0
  33. package/lib/triggers/webhooks.js +1 -1
  34. package/oclif.manifest.json +720 -104
  35. package/package.json +16 -16
@@ -196,7 +196,7 @@
196
196
  "index.js"
197
197
  ]
198
198
  },
199
- "axerve_payment": {
199
+ "authorization:capture": {
200
200
  "aliases": [],
201
201
  "args": {
202
202
  "id": {
@@ -205,7 +205,7 @@
205
205
  "required": true
206
206
  }
207
207
  },
208
- "description": "execute an action on a resource of type axerve_payments",
208
+ "description": "Send this attribute if you want to create a capture for this authorization.",
209
209
  "flags": {
210
210
  "organization": {
211
211
  "char": "o",
@@ -270,7 +270,7 @@
270
270
  },
271
271
  "hasDynamicHelp": false,
272
272
  "hiddenAliases": [],
273
- "id": "axerve_payment",
273
+ "id": "authorization:capture",
274
274
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
275
275
  "pluginName": "@commercelayer/cli-plugin-triggers",
276
276
  "pluginType": "core",
@@ -280,11 +280,11 @@
280
280
  "relativePath": [
281
281
  "lib",
282
282
  "commands",
283
- "axerve_payment",
284
- "index.js"
283
+ "authorization",
284
+ "capture.js"
285
285
  ]
286
286
  },
287
- "axerve_payment:update": {
287
+ "authorization:capture_amount_cents": {
288
288
  "aliases": [],
289
289
  "args": {
290
290
  "id": {
@@ -293,7 +293,7 @@
293
293
  "required": true
294
294
  }
295
295
  },
296
- "description": "Send this attribute if you want to update the payment with fresh order data.",
296
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be captured.",
297
297
  "flags": {
298
298
  "organization": {
299
299
  "char": "o",
@@ -358,7 +358,7 @@
358
358
  },
359
359
  "hasDynamicHelp": false,
360
360
  "hiddenAliases": [],
361
- "id": "axerve_payment:update",
361
+ "id": "authorization:capture_amount_cents",
362
362
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
363
363
  "pluginName": "@commercelayer/cli-plugin-triggers",
364
364
  "pluginType": "core",
@@ -368,11 +368,11 @@
368
368
  "relativePath": [
369
369
  "lib",
370
370
  "commands",
371
- "axerve_payment",
372
- "update.js"
371
+ "authorization",
372
+ "capture_amount_cents.js"
373
373
  ]
374
374
  },
375
- "authorization:capture": {
375
+ "authorization:forward": {
376
376
  "aliases": [],
377
377
  "args": {
378
378
  "id": {
@@ -381,7 +381,7 @@
381
381
  "required": true
382
382
  }
383
383
  },
384
- "description": "Send this attribute if you want to create a capture for this authorization.",
384
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
385
385
  "flags": {
386
386
  "organization": {
387
387
  "char": "o",
@@ -446,7 +446,7 @@
446
446
  },
447
447
  "hasDynamicHelp": false,
448
448
  "hiddenAliases": [],
449
- "id": "authorization:capture",
449
+ "id": "authorization:forward",
450
450
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
451
451
  "pluginName": "@commercelayer/cli-plugin-triggers",
452
452
  "pluginType": "core",
@@ -457,10 +457,10 @@
457
457
  "lib",
458
458
  "commands",
459
459
  "authorization",
460
- "capture.js"
460
+ "forward.js"
461
461
  ]
462
462
  },
463
- "authorization:capture_amount_cents": {
463
+ "authorization": {
464
464
  "aliases": [],
465
465
  "args": {
466
466
  "id": {
@@ -469,7 +469,7 @@
469
469
  "required": true
470
470
  }
471
471
  },
472
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be captured.",
472
+ "description": "execute an action on a resource of type authorizations",
473
473
  "flags": {
474
474
  "organization": {
475
475
  "char": "o",
@@ -534,7 +534,7 @@
534
534
  },
535
535
  "hasDynamicHelp": false,
536
536
  "hiddenAliases": [],
537
- "id": "authorization:capture_amount_cents",
537
+ "id": "authorization",
538
538
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
539
539
  "pluginName": "@commercelayer/cli-plugin-triggers",
540
540
  "pluginType": "core",
@@ -545,10 +545,10 @@
545
545
  "lib",
546
546
  "commands",
547
547
  "authorization",
548
- "capture_amount_cents.js"
548
+ "index.js"
549
549
  ]
550
550
  },
551
- "authorization:forward": {
551
+ "authorization:void": {
552
552
  "aliases": [],
553
553
  "args": {
554
554
  "id": {
@@ -557,7 +557,7 @@
557
557
  "required": true
558
558
  }
559
559
  },
560
- "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
560
+ "description": "Send this attribute if you want to create a void for this authorization.",
561
561
  "flags": {
562
562
  "organization": {
563
563
  "char": "o",
@@ -622,7 +622,7 @@
622
622
  },
623
623
  "hasDynamicHelp": false,
624
624
  "hiddenAliases": [],
625
- "id": "authorization:forward",
625
+ "id": "authorization:void",
626
626
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
627
627
  "pluginName": "@commercelayer/cli-plugin-triggers",
628
628
  "pluginType": "core",
@@ -633,10 +633,10 @@
633
633
  "lib",
634
634
  "commands",
635
635
  "authorization",
636
- "forward.js"
636
+ "void.js"
637
637
  ]
638
638
  },
639
- "authorization": {
639
+ "axerve_payment": {
640
640
  "aliases": [],
641
641
  "args": {
642
642
  "id": {
@@ -645,7 +645,7 @@
645
645
  "required": true
646
646
  }
647
647
  },
648
- "description": "execute an action on a resource of type authorizations",
648
+ "description": "execute an action on a resource of type axerve_payments",
649
649
  "flags": {
650
650
  "organization": {
651
651
  "char": "o",
@@ -710,7 +710,7 @@
710
710
  },
711
711
  "hasDynamicHelp": false,
712
712
  "hiddenAliases": [],
713
- "id": "authorization",
713
+ "id": "axerve_payment",
714
714
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
715
715
  "pluginName": "@commercelayer/cli-plugin-triggers",
716
716
  "pluginType": "core",
@@ -720,11 +720,11 @@
720
720
  "relativePath": [
721
721
  "lib",
722
722
  "commands",
723
- "authorization",
723
+ "axerve_payment",
724
724
  "index.js"
725
725
  ]
726
726
  },
727
- "authorization:void": {
727
+ "axerve_payment:update": {
728
728
  "aliases": [],
729
729
  "args": {
730
730
  "id": {
@@ -733,7 +733,7 @@
733
733
  "required": true
734
734
  }
735
735
  },
736
- "description": "Send this attribute if you want to create a void for this authorization.",
736
+ "description": "Send this attribute if you want to update the payment with fresh order data.",
737
737
  "flags": {
738
738
  "organization": {
739
739
  "char": "o",
@@ -798,7 +798,7 @@
798
798
  },
799
799
  "hasDynamicHelp": false,
800
800
  "hiddenAliases": [],
801
- "id": "authorization:void",
801
+ "id": "axerve_payment:update",
802
802
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
803
803
  "pluginName": "@commercelayer/cli-plugin-triggers",
804
804
  "pluginType": "core",
@@ -808,8 +808,8 @@
808
808
  "relativePath": [
809
809
  "lib",
810
810
  "commands",
811
- "authorization",
812
- "void.js"
811
+ "axerve_payment",
812
+ "update.js"
813
813
  ]
814
814
  },
815
815
  "bundle:compute_compare_at_amount": {
@@ -2229,7 +2229,7 @@
2229
2229
  "required": true
2230
2230
  }
2231
2231
  },
2232
- "description": "Send this attribute if you want to force webhooks execution for this event.",
2232
+ "description": "Send this attribute if you want to force webhooks execution for this event. Cannot be passed by sales channels.",
2233
2233
  "flags": {
2234
2234
  "organization": {
2235
2235
  "char": "o",
@@ -2405,7 +2405,7 @@
2405
2405
  "required": true
2406
2406
  }
2407
2407
  },
2408
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
2408
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
2409
2409
  "flags": {
2410
2410
  "organization": {
2411
2411
  "char": "o",
@@ -2757,7 +2757,7 @@
2757
2757
  "required": true
2758
2758
  }
2759
2759
  },
2760
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
2760
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
2761
2761
  "flags": {
2762
2762
  "organization": {
2763
2763
  "char": "o",
@@ -2933,7 +2933,7 @@
2933
2933
  "required": true
2934
2934
  }
2935
2935
  },
2936
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
2936
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
2937
2937
  "flags": {
2938
2938
  "organization": {
2939
2939
  "char": "o",
@@ -3540,6 +3540,270 @@
3540
3540
  "index.js"
3541
3541
  ]
3542
3542
  },
3543
+ "flex_promotion:disable": {
3544
+ "aliases": [],
3545
+ "args": {
3546
+ "id": {
3547
+ "description": "the unique id of the resource",
3548
+ "name": "id",
3549
+ "required": true
3550
+ }
3551
+ },
3552
+ "description": "Send this attribute if you want to mark this resource as disabled.",
3553
+ "flags": {
3554
+ "organization": {
3555
+ "char": "o",
3556
+ "description": "the slug of your organization",
3557
+ "env": "CL_CLI_ORGANIZATION",
3558
+ "hidden": true,
3559
+ "name": "organization",
3560
+ "required": true,
3561
+ "hasDynamicHelp": false,
3562
+ "multiple": false,
3563
+ "type": "option"
3564
+ },
3565
+ "domain": {
3566
+ "char": "d",
3567
+ "dependsOn": [
3568
+ "organization"
3569
+ ],
3570
+ "env": "CL_CLI_DOMAIN",
3571
+ "hidden": true,
3572
+ "name": "domain",
3573
+ "required": false,
3574
+ "hasDynamicHelp": false,
3575
+ "multiple": false,
3576
+ "type": "option"
3577
+ },
3578
+ "accessToken": {
3579
+ "env": "CL_CLI_ACCESS_TOKEN",
3580
+ "hidden": true,
3581
+ "name": "accessToken",
3582
+ "required": true,
3583
+ "hasDynamicHelp": false,
3584
+ "multiple": false,
3585
+ "type": "option"
3586
+ },
3587
+ "print": {
3588
+ "char": "p",
3589
+ "description": "print out the modified resource",
3590
+ "name": "print",
3591
+ "allowNo": false,
3592
+ "type": "boolean"
3593
+ },
3594
+ "json": {
3595
+ "char": "j",
3596
+ "dependsOn": [
3597
+ "print"
3598
+ ],
3599
+ "description": "print result in JSON format",
3600
+ "name": "json",
3601
+ "allowNo": false,
3602
+ "type": "boolean"
3603
+ },
3604
+ "unformatted": {
3605
+ "char": "u",
3606
+ "dependsOn": [
3607
+ "json"
3608
+ ],
3609
+ "description": "print JSON output without indentation",
3610
+ "name": "unformatted",
3611
+ "allowNo": false,
3612
+ "type": "boolean"
3613
+ }
3614
+ },
3615
+ "hasDynamicHelp": false,
3616
+ "hiddenAliases": [],
3617
+ "id": "flex_promotion:disable",
3618
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
3619
+ "pluginName": "@commercelayer/cli-plugin-triggers",
3620
+ "pluginType": "core",
3621
+ "strict": true,
3622
+ "enableJsonFlag": false,
3623
+ "isESM": false,
3624
+ "relativePath": [
3625
+ "lib",
3626
+ "commands",
3627
+ "flex_promotion",
3628
+ "disable.js"
3629
+ ]
3630
+ },
3631
+ "flex_promotion:enable": {
3632
+ "aliases": [],
3633
+ "args": {
3634
+ "id": {
3635
+ "description": "the unique id of the resource",
3636
+ "name": "id",
3637
+ "required": true
3638
+ }
3639
+ },
3640
+ "description": "Send this attribute if you want to mark this resource as enabled.",
3641
+ "flags": {
3642
+ "organization": {
3643
+ "char": "o",
3644
+ "description": "the slug of your organization",
3645
+ "env": "CL_CLI_ORGANIZATION",
3646
+ "hidden": true,
3647
+ "name": "organization",
3648
+ "required": true,
3649
+ "hasDynamicHelp": false,
3650
+ "multiple": false,
3651
+ "type": "option"
3652
+ },
3653
+ "domain": {
3654
+ "char": "d",
3655
+ "dependsOn": [
3656
+ "organization"
3657
+ ],
3658
+ "env": "CL_CLI_DOMAIN",
3659
+ "hidden": true,
3660
+ "name": "domain",
3661
+ "required": false,
3662
+ "hasDynamicHelp": false,
3663
+ "multiple": false,
3664
+ "type": "option"
3665
+ },
3666
+ "accessToken": {
3667
+ "env": "CL_CLI_ACCESS_TOKEN",
3668
+ "hidden": true,
3669
+ "name": "accessToken",
3670
+ "required": true,
3671
+ "hasDynamicHelp": false,
3672
+ "multiple": false,
3673
+ "type": "option"
3674
+ },
3675
+ "print": {
3676
+ "char": "p",
3677
+ "description": "print out the modified resource",
3678
+ "name": "print",
3679
+ "allowNo": false,
3680
+ "type": "boolean"
3681
+ },
3682
+ "json": {
3683
+ "char": "j",
3684
+ "dependsOn": [
3685
+ "print"
3686
+ ],
3687
+ "description": "print result in JSON format",
3688
+ "name": "json",
3689
+ "allowNo": false,
3690
+ "type": "boolean"
3691
+ },
3692
+ "unformatted": {
3693
+ "char": "u",
3694
+ "dependsOn": [
3695
+ "json"
3696
+ ],
3697
+ "description": "print JSON output without indentation",
3698
+ "name": "unformatted",
3699
+ "allowNo": false,
3700
+ "type": "boolean"
3701
+ }
3702
+ },
3703
+ "hasDynamicHelp": false,
3704
+ "hiddenAliases": [],
3705
+ "id": "flex_promotion:enable",
3706
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
3707
+ "pluginName": "@commercelayer/cli-plugin-triggers",
3708
+ "pluginType": "core",
3709
+ "strict": true,
3710
+ "enableJsonFlag": false,
3711
+ "isESM": false,
3712
+ "relativePath": [
3713
+ "lib",
3714
+ "commands",
3715
+ "flex_promotion",
3716
+ "enable.js"
3717
+ ]
3718
+ },
3719
+ "flex_promotion": {
3720
+ "aliases": [],
3721
+ "args": {
3722
+ "id": {
3723
+ "description": "the unique id of the resource",
3724
+ "name": "id",
3725
+ "required": true
3726
+ }
3727
+ },
3728
+ "description": "execute an action on a resource of type flex_promotions",
3729
+ "flags": {
3730
+ "organization": {
3731
+ "char": "o",
3732
+ "description": "the slug of your organization",
3733
+ "env": "CL_CLI_ORGANIZATION",
3734
+ "hidden": true,
3735
+ "name": "organization",
3736
+ "required": true,
3737
+ "hasDynamicHelp": false,
3738
+ "multiple": false,
3739
+ "type": "option"
3740
+ },
3741
+ "domain": {
3742
+ "char": "d",
3743
+ "dependsOn": [
3744
+ "organization"
3745
+ ],
3746
+ "env": "CL_CLI_DOMAIN",
3747
+ "hidden": true,
3748
+ "name": "domain",
3749
+ "required": false,
3750
+ "hasDynamicHelp": false,
3751
+ "multiple": false,
3752
+ "type": "option"
3753
+ },
3754
+ "accessToken": {
3755
+ "env": "CL_CLI_ACCESS_TOKEN",
3756
+ "hidden": true,
3757
+ "name": "accessToken",
3758
+ "required": true,
3759
+ "hasDynamicHelp": false,
3760
+ "multiple": false,
3761
+ "type": "option"
3762
+ },
3763
+ "print": {
3764
+ "char": "p",
3765
+ "description": "print out the modified resource",
3766
+ "name": "print",
3767
+ "allowNo": false,
3768
+ "type": "boolean"
3769
+ },
3770
+ "json": {
3771
+ "char": "j",
3772
+ "dependsOn": [
3773
+ "print"
3774
+ ],
3775
+ "description": "print result in JSON format",
3776
+ "name": "json",
3777
+ "allowNo": false,
3778
+ "type": "boolean"
3779
+ },
3780
+ "unformatted": {
3781
+ "char": "u",
3782
+ "dependsOn": [
3783
+ "json"
3784
+ ],
3785
+ "description": "print JSON output without indentation",
3786
+ "name": "unformatted",
3787
+ "allowNo": false,
3788
+ "type": "boolean"
3789
+ }
3790
+ },
3791
+ "hasDynamicHelp": false,
3792
+ "hiddenAliases": [],
3793
+ "id": "flex_promotion",
3794
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
3795
+ "pluginName": "@commercelayer/cli-plugin-triggers",
3796
+ "pluginType": "core",
3797
+ "strict": true,
3798
+ "enableJsonFlag": false,
3799
+ "isESM": false,
3800
+ "relativePath": [
3801
+ "lib",
3802
+ "commands",
3803
+ "flex_promotion",
3804
+ "index.js"
3805
+ ]
3806
+ },
3543
3807
  "free_gift_promotion:disable": {
3544
3808
  "aliases": [],
3545
3809
  "args": {
@@ -5133,7 +5397,7 @@
5133
5397
  "required": true
5134
5398
  }
5135
5399
  },
5136
- "description": "Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed.",
5400
+ "description": "Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels.",
5137
5401
  "flags": {
5138
5402
  "organization": {
5139
5403
  "char": "o",
@@ -5221,7 +5485,7 @@
5221
5485
  "required": true
5222
5486
  }
5223
5487
  },
5224
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
5488
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
5225
5489
  "flags": {
5226
5490
  "organization": {
5227
5491
  "char": "o",
@@ -5837,7 +6101,7 @@
5837
6101
  "required": true
5838
6102
  }
5839
6103
  },
5840
- "description": "Send this attribute if you want to approve a placed order.",
6104
+ "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
5841
6105
  "flags": {
5842
6106
  "organization": {
5843
6107
  "char": "o",
@@ -5925,7 +6189,7 @@
5925
6189
  "required": true
5926
6190
  }
5927
6191
  },
5928
- "description": "Send this attribute if you want to approve and capture a placed order.",
6192
+ "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
5929
6193
  "flags": {
5930
6194
  "organization": {
5931
6195
  "char": "o",
@@ -6550,7 +6814,7 @@
6550
6814
  "required": true
6551
6815
  }
6552
6816
  },
6553
- "description": "Send this attribute if you want to capture an authorized order.",
6817
+ "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
6554
6818
  "flags": {
6555
6819
  "organization": {
6556
6820
  "char": "o",
@@ -6911,7 +7175,7 @@
6911
7175
  "required": true
6912
7176
  }
6913
7177
  },
6914
- "description": "Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered).",
7178
+ "description": "Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered). Cannot be passed by sales channels.",
6915
7179
  "flags": {
6916
7180
  "organization": {
6917
7181
  "char": "o",
@@ -7175,7 +7439,7 @@
7175
7439
  "required": true
7176
7440
  }
7177
7441
  },
7178
- "description": "Send this attribute if you want to move a draft or placing order to pending.",
7442
+ "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
7179
7443
  "flags": {
7180
7444
  "organization": {
7181
7445
  "char": "o",
@@ -7439,7 +7703,7 @@
7439
7703
  "required": true
7440
7704
  }
7441
7705
  },
7442
- "description": "Send this attribute if you want to refund a captured order.",
7706
+ "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
7443
7707
  "flags": {
7444
7708
  "organization": {
7445
7709
  "char": "o",
@@ -7615,7 +7879,7 @@
7615
7879
  "required": true
7616
7880
  }
7617
7881
  },
7618
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
7882
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
7619
7883
  "flags": {
7620
7884
  "organization": {
7621
7885
  "char": "o",
@@ -8152,7 +8416,7 @@
8152
8416
  "required": true
8153
8417
  }
8154
8418
  },
8155
- "description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount.",
8419
+ "description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount. Cannot be passed by sales channels.",
8156
8420
  "flags": {
8157
8421
  "organization": {
8158
8422
  "char": "o",
@@ -8240,7 +8504,7 @@
8240
8504
  "required": true
8241
8505
  }
8242
8506
  },
8243
- "description": "Send this attribute to stop the editing for the order and return back to placed status.",
8507
+ "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
8244
8508
  "flags": {
8245
8509
  "organization": {
8246
8510
  "char": "o",
@@ -8935,7 +9199,183 @@
8935
9199
  "deactivate.js"
8936
9200
  ]
8937
9201
  },
8938
- "order_subscription": {
9202
+ "order_subscription": {
9203
+ "aliases": [],
9204
+ "args": {
9205
+ "id": {
9206
+ "description": "the unique id of the resource",
9207
+ "name": "id",
9208
+ "required": true
9209
+ }
9210
+ },
9211
+ "description": "execute an action on a resource of type order_subscriptions",
9212
+ "flags": {
9213
+ "organization": {
9214
+ "char": "o",
9215
+ "description": "the slug of your organization",
9216
+ "env": "CL_CLI_ORGANIZATION",
9217
+ "hidden": true,
9218
+ "name": "organization",
9219
+ "required": true,
9220
+ "hasDynamicHelp": false,
9221
+ "multiple": false,
9222
+ "type": "option"
9223
+ },
9224
+ "domain": {
9225
+ "char": "d",
9226
+ "dependsOn": [
9227
+ "organization"
9228
+ ],
9229
+ "env": "CL_CLI_DOMAIN",
9230
+ "hidden": true,
9231
+ "name": "domain",
9232
+ "required": false,
9233
+ "hasDynamicHelp": false,
9234
+ "multiple": false,
9235
+ "type": "option"
9236
+ },
9237
+ "accessToken": {
9238
+ "env": "CL_CLI_ACCESS_TOKEN",
9239
+ "hidden": true,
9240
+ "name": "accessToken",
9241
+ "required": true,
9242
+ "hasDynamicHelp": false,
9243
+ "multiple": false,
9244
+ "type": "option"
9245
+ },
9246
+ "print": {
9247
+ "char": "p",
9248
+ "description": "print out the modified resource",
9249
+ "name": "print",
9250
+ "allowNo": false,
9251
+ "type": "boolean"
9252
+ },
9253
+ "json": {
9254
+ "char": "j",
9255
+ "dependsOn": [
9256
+ "print"
9257
+ ],
9258
+ "description": "print result in JSON format",
9259
+ "name": "json",
9260
+ "allowNo": false,
9261
+ "type": "boolean"
9262
+ },
9263
+ "unformatted": {
9264
+ "char": "u",
9265
+ "dependsOn": [
9266
+ "json"
9267
+ ],
9268
+ "description": "print JSON output without indentation",
9269
+ "name": "unformatted",
9270
+ "allowNo": false,
9271
+ "type": "boolean"
9272
+ }
9273
+ },
9274
+ "hasDynamicHelp": false,
9275
+ "hiddenAliases": [],
9276
+ "id": "order_subscription",
9277
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
9278
+ "pluginName": "@commercelayer/cli-plugin-triggers",
9279
+ "pluginType": "core",
9280
+ "strict": true,
9281
+ "enableJsonFlag": false,
9282
+ "isESM": false,
9283
+ "relativePath": [
9284
+ "lib",
9285
+ "commands",
9286
+ "order_subscription",
9287
+ "index.js"
9288
+ ]
9289
+ },
9290
+ "payment_method:disable": {
9291
+ "aliases": [],
9292
+ "args": {
9293
+ "id": {
9294
+ "description": "the unique id of the resource",
9295
+ "name": "id",
9296
+ "required": true
9297
+ }
9298
+ },
9299
+ "description": "Send this attribute if you want to mark this resource as disabled.",
9300
+ "flags": {
9301
+ "organization": {
9302
+ "char": "o",
9303
+ "description": "the slug of your organization",
9304
+ "env": "CL_CLI_ORGANIZATION",
9305
+ "hidden": true,
9306
+ "name": "organization",
9307
+ "required": true,
9308
+ "hasDynamicHelp": false,
9309
+ "multiple": false,
9310
+ "type": "option"
9311
+ },
9312
+ "domain": {
9313
+ "char": "d",
9314
+ "dependsOn": [
9315
+ "organization"
9316
+ ],
9317
+ "env": "CL_CLI_DOMAIN",
9318
+ "hidden": true,
9319
+ "name": "domain",
9320
+ "required": false,
9321
+ "hasDynamicHelp": false,
9322
+ "multiple": false,
9323
+ "type": "option"
9324
+ },
9325
+ "accessToken": {
9326
+ "env": "CL_CLI_ACCESS_TOKEN",
9327
+ "hidden": true,
9328
+ "name": "accessToken",
9329
+ "required": true,
9330
+ "hasDynamicHelp": false,
9331
+ "multiple": false,
9332
+ "type": "option"
9333
+ },
9334
+ "print": {
9335
+ "char": "p",
9336
+ "description": "print out the modified resource",
9337
+ "name": "print",
9338
+ "allowNo": false,
9339
+ "type": "boolean"
9340
+ },
9341
+ "json": {
9342
+ "char": "j",
9343
+ "dependsOn": [
9344
+ "print"
9345
+ ],
9346
+ "description": "print result in JSON format",
9347
+ "name": "json",
9348
+ "allowNo": false,
9349
+ "type": "boolean"
9350
+ },
9351
+ "unformatted": {
9352
+ "char": "u",
9353
+ "dependsOn": [
9354
+ "json"
9355
+ ],
9356
+ "description": "print JSON output without indentation",
9357
+ "name": "unformatted",
9358
+ "allowNo": false,
9359
+ "type": "boolean"
9360
+ }
9361
+ },
9362
+ "hasDynamicHelp": false,
9363
+ "hiddenAliases": [],
9364
+ "id": "payment_method:disable",
9365
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
9366
+ "pluginName": "@commercelayer/cli-plugin-triggers",
9367
+ "pluginType": "core",
9368
+ "strict": true,
9369
+ "enableJsonFlag": false,
9370
+ "isESM": false,
9371
+ "relativePath": [
9372
+ "lib",
9373
+ "commands",
9374
+ "payment_method",
9375
+ "disable.js"
9376
+ ]
9377
+ },
9378
+ "payment_method:enable": {
8939
9379
  "aliases": [],
8940
9380
  "args": {
8941
9381
  "id": {
@@ -8944,7 +9384,7 @@
8944
9384
  "required": true
8945
9385
  }
8946
9386
  },
8947
- "description": "execute an action on a resource of type order_subscriptions",
9387
+ "description": "Send this attribute if you want to mark this resource as enabled.",
8948
9388
  "flags": {
8949
9389
  "organization": {
8950
9390
  "char": "o",
@@ -9009,7 +9449,7 @@
9009
9449
  },
9010
9450
  "hasDynamicHelp": false,
9011
9451
  "hiddenAliases": [],
9012
- "id": "order_subscription",
9452
+ "id": "payment_method:enable",
9013
9453
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9014
9454
  "pluginName": "@commercelayer/cli-plugin-triggers",
9015
9455
  "pluginType": "core",
@@ -9019,11 +9459,11 @@
9019
9459
  "relativePath": [
9020
9460
  "lib",
9021
9461
  "commands",
9022
- "order_subscription",
9023
- "index.js"
9462
+ "payment_method",
9463
+ "enable.js"
9024
9464
  ]
9025
9465
  },
9026
- "payment_method:disable": {
9466
+ "payment_method": {
9027
9467
  "aliases": [],
9028
9468
  "args": {
9029
9469
  "id": {
@@ -9032,7 +9472,7 @@
9032
9472
  "required": true
9033
9473
  }
9034
9474
  },
9035
- "description": "Send this attribute if you want to mark this resource as disabled.",
9475
+ "description": "execute an action on a resource of type payment_methods",
9036
9476
  "flags": {
9037
9477
  "organization": {
9038
9478
  "char": "o",
@@ -9097,7 +9537,7 @@
9097
9537
  },
9098
9538
  "hasDynamicHelp": false,
9099
9539
  "hiddenAliases": [],
9100
- "id": "payment_method:disable",
9540
+ "id": "payment_method",
9101
9541
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9102
9542
  "pluginName": "@commercelayer/cli-plugin-triggers",
9103
9543
  "pluginType": "core",
@@ -9108,10 +9548,10 @@
9108
9548
  "lib",
9109
9549
  "commands",
9110
9550
  "payment_method",
9111
- "disable.js"
9551
+ "index.js"
9112
9552
  ]
9113
9553
  },
9114
- "payment_method:enable": {
9554
+ "percentage_discount_promotion:disable": {
9115
9555
  "aliases": [],
9116
9556
  "args": {
9117
9557
  "id": {
@@ -9120,7 +9560,7 @@
9120
9560
  "required": true
9121
9561
  }
9122
9562
  },
9123
- "description": "Send this attribute if you want to mark this resource as enabled.",
9563
+ "description": "Send this attribute if you want to mark this resource as disabled.",
9124
9564
  "flags": {
9125
9565
  "organization": {
9126
9566
  "char": "o",
@@ -9185,7 +9625,7 @@
9185
9625
  },
9186
9626
  "hasDynamicHelp": false,
9187
9627
  "hiddenAliases": [],
9188
- "id": "payment_method:enable",
9628
+ "id": "percentage_discount_promotion:disable",
9189
9629
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9190
9630
  "pluginName": "@commercelayer/cli-plugin-triggers",
9191
9631
  "pluginType": "core",
@@ -9195,11 +9635,11 @@
9195
9635
  "relativePath": [
9196
9636
  "lib",
9197
9637
  "commands",
9198
- "payment_method",
9199
- "enable.js"
9638
+ "percentage_discount_promotion",
9639
+ "disable.js"
9200
9640
  ]
9201
9641
  },
9202
- "payment_method": {
9642
+ "percentage_discount_promotion:enable": {
9203
9643
  "aliases": [],
9204
9644
  "args": {
9205
9645
  "id": {
@@ -9208,7 +9648,7 @@
9208
9648
  "required": true
9209
9649
  }
9210
9650
  },
9211
- "description": "execute an action on a resource of type payment_methods",
9651
+ "description": "Send this attribute if you want to mark this resource as enabled.",
9212
9652
  "flags": {
9213
9653
  "organization": {
9214
9654
  "char": "o",
@@ -9273,7 +9713,7 @@
9273
9713
  },
9274
9714
  "hasDynamicHelp": false,
9275
9715
  "hiddenAliases": [],
9276
- "id": "payment_method",
9716
+ "id": "percentage_discount_promotion:enable",
9277
9717
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9278
9718
  "pluginName": "@commercelayer/cli-plugin-triggers",
9279
9719
  "pluginType": "core",
@@ -9283,11 +9723,11 @@
9283
9723
  "relativePath": [
9284
9724
  "lib",
9285
9725
  "commands",
9286
- "payment_method",
9287
- "index.js"
9726
+ "percentage_discount_promotion",
9727
+ "enable.js"
9288
9728
  ]
9289
9729
  },
9290
- "percentage_discount_promotion:disable": {
9730
+ "percentage_discount_promotion": {
9291
9731
  "aliases": [],
9292
9732
  "args": {
9293
9733
  "id": {
@@ -9296,7 +9736,7 @@
9296
9736
  "required": true
9297
9737
  }
9298
9738
  },
9299
- "description": "Send this attribute if you want to mark this resource as disabled.",
9739
+ "description": "execute an action on a resource of type percentage_discount_promotions",
9300
9740
  "flags": {
9301
9741
  "organization": {
9302
9742
  "char": "o",
@@ -9361,7 +9801,7 @@
9361
9801
  },
9362
9802
  "hasDynamicHelp": false,
9363
9803
  "hiddenAliases": [],
9364
- "id": "percentage_discount_promotion:disable",
9804
+ "id": "percentage_discount_promotion",
9365
9805
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9366
9806
  "pluginName": "@commercelayer/cli-plugin-triggers",
9367
9807
  "pluginType": "core",
@@ -9372,10 +9812,10 @@
9372
9812
  "lib",
9373
9813
  "commands",
9374
9814
  "percentage_discount_promotion",
9375
- "disable.js"
9815
+ "index.js"
9376
9816
  ]
9377
9817
  },
9378
- "percentage_discount_promotion:enable": {
9818
+ "price_list_scheduler:disable": {
9379
9819
  "aliases": [],
9380
9820
  "args": {
9381
9821
  "id": {
@@ -9384,7 +9824,7 @@
9384
9824
  "required": true
9385
9825
  }
9386
9826
  },
9387
- "description": "Send this attribute if you want to mark this resource as enabled.",
9827
+ "description": "Send this attribute if you want to mark this resource as disabled.",
9388
9828
  "flags": {
9389
9829
  "organization": {
9390
9830
  "char": "o",
@@ -9449,7 +9889,7 @@
9449
9889
  },
9450
9890
  "hasDynamicHelp": false,
9451
9891
  "hiddenAliases": [],
9452
- "id": "percentage_discount_promotion:enable",
9892
+ "id": "price_list_scheduler:disable",
9453
9893
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9454
9894
  "pluginName": "@commercelayer/cli-plugin-triggers",
9455
9895
  "pluginType": "core",
@@ -9459,11 +9899,11 @@
9459
9899
  "relativePath": [
9460
9900
  "lib",
9461
9901
  "commands",
9462
- "percentage_discount_promotion",
9463
- "enable.js"
9902
+ "price_list_scheduler",
9903
+ "disable.js"
9464
9904
  ]
9465
9905
  },
9466
- "percentage_discount_promotion": {
9906
+ "price_list_scheduler:enable": {
9467
9907
  "aliases": [],
9468
9908
  "args": {
9469
9909
  "id": {
@@ -9472,7 +9912,7 @@
9472
9912
  "required": true
9473
9913
  }
9474
9914
  },
9475
- "description": "execute an action on a resource of type percentage_discount_promotions",
9915
+ "description": "Send this attribute if you want to mark this resource as enabled.",
9476
9916
  "flags": {
9477
9917
  "organization": {
9478
9918
  "char": "o",
@@ -9537,7 +9977,7 @@
9537
9977
  },
9538
9978
  "hasDynamicHelp": false,
9539
9979
  "hiddenAliases": [],
9540
- "id": "percentage_discount_promotion",
9980
+ "id": "price_list_scheduler:enable",
9541
9981
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9542
9982
  "pluginName": "@commercelayer/cli-plugin-triggers",
9543
9983
  "pluginType": "core",
@@ -9547,11 +9987,11 @@
9547
9987
  "relativePath": [
9548
9988
  "lib",
9549
9989
  "commands",
9550
- "percentage_discount_promotion",
9551
- "index.js"
9990
+ "price_list_scheduler",
9991
+ "enable.js"
9552
9992
  ]
9553
9993
  },
9554
- "price_list_scheduler:disable": {
9994
+ "price_list_scheduler": {
9555
9995
  "aliases": [],
9556
9996
  "args": {
9557
9997
  "id": {
@@ -9560,7 +10000,7 @@
9560
10000
  "required": true
9561
10001
  }
9562
10002
  },
9563
- "description": "Send this attribute if you want to mark this resource as disabled.",
10003
+ "description": "execute an action on a resource of type price_list_schedulers",
9564
10004
  "flags": {
9565
10005
  "organization": {
9566
10006
  "char": "o",
@@ -9625,7 +10065,7 @@
9625
10065
  },
9626
10066
  "hasDynamicHelp": false,
9627
10067
  "hiddenAliases": [],
9628
- "id": "price_list_scheduler:disable",
10068
+ "id": "price_list_scheduler",
9629
10069
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9630
10070
  "pluginName": "@commercelayer/cli-plugin-triggers",
9631
10071
  "pluginType": "core",
@@ -9636,10 +10076,10 @@
9636
10076
  "lib",
9637
10077
  "commands",
9638
10078
  "price_list_scheduler",
9639
- "disable.js"
10079
+ "index.js"
9640
10080
  ]
9641
10081
  },
9642
- "price_list_scheduler:enable": {
10082
+ "refund:forward": {
9643
10083
  "aliases": [],
9644
10084
  "args": {
9645
10085
  "id": {
@@ -9648,7 +10088,7 @@
9648
10088
  "required": true
9649
10089
  }
9650
10090
  },
9651
- "description": "Send this attribute if you want to mark this resource as enabled.",
10091
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
9652
10092
  "flags": {
9653
10093
  "organization": {
9654
10094
  "char": "o",
@@ -9713,7 +10153,7 @@
9713
10153
  },
9714
10154
  "hasDynamicHelp": false,
9715
10155
  "hiddenAliases": [],
9716
- "id": "price_list_scheduler:enable",
10156
+ "id": "refund:forward",
9717
10157
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9718
10158
  "pluginName": "@commercelayer/cli-plugin-triggers",
9719
10159
  "pluginType": "core",
@@ -9723,11 +10163,11 @@
9723
10163
  "relativePath": [
9724
10164
  "lib",
9725
10165
  "commands",
9726
- "price_list_scheduler",
9727
- "enable.js"
10166
+ "refund",
10167
+ "forward.js"
9728
10168
  ]
9729
10169
  },
9730
- "price_list_scheduler": {
10170
+ "refund": {
9731
10171
  "aliases": [],
9732
10172
  "args": {
9733
10173
  "id": {
@@ -9736,7 +10176,7 @@
9736
10176
  "required": true
9737
10177
  }
9738
10178
  },
9739
- "description": "execute an action on a resource of type price_list_schedulers",
10179
+ "description": "execute an action on a resource of type refunds",
9740
10180
  "flags": {
9741
10181
  "organization": {
9742
10182
  "char": "o",
@@ -9801,7 +10241,7 @@
9801
10241
  },
9802
10242
  "hasDynamicHelp": false,
9803
10243
  "hiddenAliases": [],
9804
- "id": "price_list_scheduler",
10244
+ "id": "refund",
9805
10245
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9806
10246
  "pluginName": "@commercelayer/cli-plugin-triggers",
9807
10247
  "pluginType": "core",
@@ -9811,7 +10251,7 @@
9811
10251
  "relativePath": [
9812
10252
  "lib",
9813
10253
  "commands",
9814
- "price_list_scheduler",
10254
+ "refund",
9815
10255
  "index.js"
9816
10256
  ]
9817
10257
  },
@@ -11232,7 +11672,7 @@
11232
11672
  "required": true
11233
11673
  }
11234
11674
  },
11235
- "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered).",
11675
+ "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered). Cannot be passed by sales channels.",
11236
11676
  "flags": {
11237
11677
  "organization": {
11238
11678
  "char": "o",
@@ -11320,7 +11760,7 @@
11320
11760
  "required": true
11321
11761
  }
11322
11762
  },
11323
- "description": "Send this attribute if you want to automatically decrement and release the stock for each of the associated stock line item. Can be done only when fulfillment is in progress.",
11763
+ "description": "Send this attribute if you want to automatically decrement and release the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
11324
11764
  "flags": {
11325
11765
  "organization": {
11326
11766
  "char": "o",
@@ -12112,7 +12552,7 @@
12112
12552
  "required": true
12113
12553
  }
12114
12554
  },
12115
- "description": "Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line item. Can be done only when fulfillment is in progress.",
12555
+ "description": "Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
12116
12556
  "flags": {
12117
12557
  "organization": {
12118
12558
  "char": "o",
@@ -12200,7 +12640,7 @@
12200
12640
  "required": true
12201
12641
  }
12202
12642
  },
12203
- "description": "Send this attribute if you want to automatically reserve the stock for each of the associated stock line item. Can be done only when fulfillment is in progress.",
12643
+ "description": "Send this attribute if you want to automatically reserve the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
12204
12644
  "flags": {
12205
12645
  "organization": {
12206
12646
  "char": "o",
@@ -12376,7 +12816,7 @@
12376
12816
  "required": true
12377
12817
  }
12378
12818
  },
12379
- "description": "Send this attribute if you want to mark this shipment as upcoming.",
12819
+ "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
12380
12820
  "flags": {
12381
12821
  "organization": {
12382
12822
  "char": "o",
@@ -12728,7 +13168,7 @@
12728
13168
  "required": true
12729
13169
  }
12730
13170
  },
12731
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
13171
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
12732
13172
  "flags": {
12733
13173
  "organization": {
12734
13174
  "char": "o",
@@ -12904,7 +13344,7 @@
12904
13344
  "required": true
12905
13345
  }
12906
13346
  },
12907
- "description": "Send this attribute if you want to validate the stock item quantity against the existing reserved stock one, returns an error in case the former is smaller.",
13347
+ "description": "Send this attribute if you want to validate the stock item quantity against the existing reserved stock one, returns an error in case the former is smaller. Cannot be passed by sales channels.",
12908
13348
  "flags": {
12909
13349
  "organization": {
12910
13350
  "char": "o",
@@ -12992,7 +13432,7 @@
12992
13432
  "required": true
12993
13433
  }
12994
13434
  },
12995
- "description": "Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done only when fulfillment is in progress.",
13435
+ "description": "Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
12996
13436
  "flags": {
12997
13437
  "organization": {
12998
13438
  "char": "o",
@@ -13168,7 +13608,7 @@
13168
13608
  "required": true
13169
13609
  }
13170
13610
  },
13171
- "description": "Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done only when fulfillment is in progress.",
13611
+ "description": "Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
13172
13612
  "flags": {
13173
13613
  "organization": {
13174
13614
  "char": "o",
@@ -13256,7 +13696,7 @@
13256
13696
  "required": true
13257
13697
  }
13258
13698
  },
13259
- "description": "Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when fulfillment is in progress.",
13699
+ "description": "Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
13260
13700
  "flags": {
13261
13701
  "organization": {
13262
13702
  "char": "o",
@@ -14391,6 +14831,182 @@
14391
14831
  "update.js"
14392
14832
  ]
14393
14833
  },
14834
+ "void:forward": {
14835
+ "aliases": [],
14836
+ "args": {
14837
+ "id": {
14838
+ "description": "the unique id of the resource",
14839
+ "name": "id",
14840
+ "required": true
14841
+ }
14842
+ },
14843
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
14844
+ "flags": {
14845
+ "organization": {
14846
+ "char": "o",
14847
+ "description": "the slug of your organization",
14848
+ "env": "CL_CLI_ORGANIZATION",
14849
+ "hidden": true,
14850
+ "name": "organization",
14851
+ "required": true,
14852
+ "hasDynamicHelp": false,
14853
+ "multiple": false,
14854
+ "type": "option"
14855
+ },
14856
+ "domain": {
14857
+ "char": "d",
14858
+ "dependsOn": [
14859
+ "organization"
14860
+ ],
14861
+ "env": "CL_CLI_DOMAIN",
14862
+ "hidden": true,
14863
+ "name": "domain",
14864
+ "required": false,
14865
+ "hasDynamicHelp": false,
14866
+ "multiple": false,
14867
+ "type": "option"
14868
+ },
14869
+ "accessToken": {
14870
+ "env": "CL_CLI_ACCESS_TOKEN",
14871
+ "hidden": true,
14872
+ "name": "accessToken",
14873
+ "required": true,
14874
+ "hasDynamicHelp": false,
14875
+ "multiple": false,
14876
+ "type": "option"
14877
+ },
14878
+ "print": {
14879
+ "char": "p",
14880
+ "description": "print out the modified resource",
14881
+ "name": "print",
14882
+ "allowNo": false,
14883
+ "type": "boolean"
14884
+ },
14885
+ "json": {
14886
+ "char": "j",
14887
+ "dependsOn": [
14888
+ "print"
14889
+ ],
14890
+ "description": "print result in JSON format",
14891
+ "name": "json",
14892
+ "allowNo": false,
14893
+ "type": "boolean"
14894
+ },
14895
+ "unformatted": {
14896
+ "char": "u",
14897
+ "dependsOn": [
14898
+ "json"
14899
+ ],
14900
+ "description": "print JSON output without indentation",
14901
+ "name": "unformatted",
14902
+ "allowNo": false,
14903
+ "type": "boolean"
14904
+ }
14905
+ },
14906
+ "hasDynamicHelp": false,
14907
+ "hiddenAliases": [],
14908
+ "id": "void:forward",
14909
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
14910
+ "pluginName": "@commercelayer/cli-plugin-triggers",
14911
+ "pluginType": "core",
14912
+ "strict": true,
14913
+ "enableJsonFlag": false,
14914
+ "isESM": false,
14915
+ "relativePath": [
14916
+ "lib",
14917
+ "commands",
14918
+ "void",
14919
+ "forward.js"
14920
+ ]
14921
+ },
14922
+ "void": {
14923
+ "aliases": [],
14924
+ "args": {
14925
+ "id": {
14926
+ "description": "the unique id of the resource",
14927
+ "name": "id",
14928
+ "required": true
14929
+ }
14930
+ },
14931
+ "description": "execute an action on a resource of type voids",
14932
+ "flags": {
14933
+ "organization": {
14934
+ "char": "o",
14935
+ "description": "the slug of your organization",
14936
+ "env": "CL_CLI_ORGANIZATION",
14937
+ "hidden": true,
14938
+ "name": "organization",
14939
+ "required": true,
14940
+ "hasDynamicHelp": false,
14941
+ "multiple": false,
14942
+ "type": "option"
14943
+ },
14944
+ "domain": {
14945
+ "char": "d",
14946
+ "dependsOn": [
14947
+ "organization"
14948
+ ],
14949
+ "env": "CL_CLI_DOMAIN",
14950
+ "hidden": true,
14951
+ "name": "domain",
14952
+ "required": false,
14953
+ "hasDynamicHelp": false,
14954
+ "multiple": false,
14955
+ "type": "option"
14956
+ },
14957
+ "accessToken": {
14958
+ "env": "CL_CLI_ACCESS_TOKEN",
14959
+ "hidden": true,
14960
+ "name": "accessToken",
14961
+ "required": true,
14962
+ "hasDynamicHelp": false,
14963
+ "multiple": false,
14964
+ "type": "option"
14965
+ },
14966
+ "print": {
14967
+ "char": "p",
14968
+ "description": "print out the modified resource",
14969
+ "name": "print",
14970
+ "allowNo": false,
14971
+ "type": "boolean"
14972
+ },
14973
+ "json": {
14974
+ "char": "j",
14975
+ "dependsOn": [
14976
+ "print"
14977
+ ],
14978
+ "description": "print result in JSON format",
14979
+ "name": "json",
14980
+ "allowNo": false,
14981
+ "type": "boolean"
14982
+ },
14983
+ "unformatted": {
14984
+ "char": "u",
14985
+ "dependsOn": [
14986
+ "json"
14987
+ ],
14988
+ "description": "print JSON output without indentation",
14989
+ "name": "unformatted",
14990
+ "allowNo": false,
14991
+ "type": "boolean"
14992
+ }
14993
+ },
14994
+ "hasDynamicHelp": false,
14995
+ "hiddenAliases": [],
14996
+ "id": "void",
14997
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
14998
+ "pluginName": "@commercelayer/cli-plugin-triggers",
14999
+ "pluginType": "core",
15000
+ "strict": true,
15001
+ "enableJsonFlag": false,
15002
+ "isESM": false,
15003
+ "relativePath": [
15004
+ "lib",
15005
+ "commands",
15006
+ "void",
15007
+ "index.js"
15008
+ ]
15009
+ },
14394
15010
  "webhook:disable": {
14395
15011
  "aliases": [],
14396
15012
  "args": {
@@ -14664,7 +15280,7 @@
14664
15280
  "required": true
14665
15281
  }
14666
15282
  },
14667
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
15283
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
14668
15284
  "flags": {
14669
15285
  "organization": {
14670
15286
  "char": "o",
@@ -14744,5 +15360,5 @@
14744
15360
  ]
14745
15361
  }
14746
15362
  },
14747
- "version": "4.7.0"
15363
+ "version": "4.8.0"
14748
15364
  }