@commercelayer/cli-plugin-triggers 4.7.1 → 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.
- package/README.md +217 -50
- package/lib/commands/flex_promotion/disable.d.ts +9 -0
- package/lib/commands/flex_promotion/disable.js +22 -0
- package/lib/commands/flex_promotion/enable.d.ts +9 -0
- package/lib/commands/flex_promotion/enable.js +22 -0
- package/lib/commands/flex_promotion/index.d.ts +9 -0
- package/lib/commands/flex_promotion/index.js +40 -0
- package/lib/commands/refund/forward.d.ts +9 -0
- package/lib/commands/refund/forward.js +22 -0
- package/lib/commands/refund/index.d.ts +9 -0
- package/lib/commands/refund/index.js +40 -0
- package/lib/commands/void/forward.d.ts +9 -0
- package/lib/commands/void/forward.js +22 -0
- package/lib/commands/void/index.d.ts +9 -0
- package/lib/commands/void/index.js +40 -0
- package/lib/index.js +0 -1
- package/lib/triggers/events.js +1 -1
- package/lib/triggers/external_gateways.js +1 -1
- package/lib/triggers/external_promotions.js +1 -1
- package/lib/triggers/external_tax_calculators.js +1 -1
- package/lib/triggers/flex_promotions.d.ts +3 -0
- package/lib/triggers/flex_promotions.js +15 -0
- package/lib/triggers/line_items.js +2 -2
- package/lib/triggers/orders.js +9 -9
- package/lib/triggers/refunds.d.ts +3 -0
- package/lib/triggers/refunds.js +10 -0
- package/lib/triggers/shipments.js +5 -5
- package/lib/triggers/shipping_methods.js +1 -1
- package/lib/triggers/stock_items.js +1 -1
- package/lib/triggers/stock_line_items.js +3 -3
- package/lib/triggers/voids.d.ts +3 -0
- package/lib/triggers/voids.js +10 -0
- package/lib/triggers/webhooks.js +1 -1
- package/oclif.manifest.json +645 -29
- package/package.json +14 -14
package/oclif.manifest.json
CHANGED
|
@@ -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",
|
|
@@ -9815,7 +10079,7 @@
|
|
|
9815
10079
|
"index.js"
|
|
9816
10080
|
]
|
|
9817
10081
|
},
|
|
9818
|
-
"
|
|
10082
|
+
"refund:forward": {
|
|
9819
10083
|
"aliases": [],
|
|
9820
10084
|
"args": {
|
|
9821
10085
|
"id": {
|
|
@@ -9824,7 +10088,183 @@
|
|
|
9824
10088
|
"required": true
|
|
9825
10089
|
}
|
|
9826
10090
|
},
|
|
9827
|
-
"description": "Send this attribute if you want to
|
|
10091
|
+
"description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
|
|
10092
|
+
"flags": {
|
|
10093
|
+
"organization": {
|
|
10094
|
+
"char": "o",
|
|
10095
|
+
"description": "the slug of your organization",
|
|
10096
|
+
"env": "CL_CLI_ORGANIZATION",
|
|
10097
|
+
"hidden": true,
|
|
10098
|
+
"name": "organization",
|
|
10099
|
+
"required": true,
|
|
10100
|
+
"hasDynamicHelp": false,
|
|
10101
|
+
"multiple": false,
|
|
10102
|
+
"type": "option"
|
|
10103
|
+
},
|
|
10104
|
+
"domain": {
|
|
10105
|
+
"char": "d",
|
|
10106
|
+
"dependsOn": [
|
|
10107
|
+
"organization"
|
|
10108
|
+
],
|
|
10109
|
+
"env": "CL_CLI_DOMAIN",
|
|
10110
|
+
"hidden": true,
|
|
10111
|
+
"name": "domain",
|
|
10112
|
+
"required": false,
|
|
10113
|
+
"hasDynamicHelp": false,
|
|
10114
|
+
"multiple": false,
|
|
10115
|
+
"type": "option"
|
|
10116
|
+
},
|
|
10117
|
+
"accessToken": {
|
|
10118
|
+
"env": "CL_CLI_ACCESS_TOKEN",
|
|
10119
|
+
"hidden": true,
|
|
10120
|
+
"name": "accessToken",
|
|
10121
|
+
"required": true,
|
|
10122
|
+
"hasDynamicHelp": false,
|
|
10123
|
+
"multiple": false,
|
|
10124
|
+
"type": "option"
|
|
10125
|
+
},
|
|
10126
|
+
"print": {
|
|
10127
|
+
"char": "p",
|
|
10128
|
+
"description": "print out the modified resource",
|
|
10129
|
+
"name": "print",
|
|
10130
|
+
"allowNo": false,
|
|
10131
|
+
"type": "boolean"
|
|
10132
|
+
},
|
|
10133
|
+
"json": {
|
|
10134
|
+
"char": "j",
|
|
10135
|
+
"dependsOn": [
|
|
10136
|
+
"print"
|
|
10137
|
+
],
|
|
10138
|
+
"description": "print result in JSON format",
|
|
10139
|
+
"name": "json",
|
|
10140
|
+
"allowNo": false,
|
|
10141
|
+
"type": "boolean"
|
|
10142
|
+
},
|
|
10143
|
+
"unformatted": {
|
|
10144
|
+
"char": "u",
|
|
10145
|
+
"dependsOn": [
|
|
10146
|
+
"json"
|
|
10147
|
+
],
|
|
10148
|
+
"description": "print JSON output without indentation",
|
|
10149
|
+
"name": "unformatted",
|
|
10150
|
+
"allowNo": false,
|
|
10151
|
+
"type": "boolean"
|
|
10152
|
+
}
|
|
10153
|
+
},
|
|
10154
|
+
"hasDynamicHelp": false,
|
|
10155
|
+
"hiddenAliases": [],
|
|
10156
|
+
"id": "refund:forward",
|
|
10157
|
+
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
10158
|
+
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
10159
|
+
"pluginType": "core",
|
|
10160
|
+
"strict": true,
|
|
10161
|
+
"enableJsonFlag": false,
|
|
10162
|
+
"isESM": false,
|
|
10163
|
+
"relativePath": [
|
|
10164
|
+
"lib",
|
|
10165
|
+
"commands",
|
|
10166
|
+
"refund",
|
|
10167
|
+
"forward.js"
|
|
10168
|
+
]
|
|
10169
|
+
},
|
|
10170
|
+
"refund": {
|
|
10171
|
+
"aliases": [],
|
|
10172
|
+
"args": {
|
|
10173
|
+
"id": {
|
|
10174
|
+
"description": "the unique id of the resource",
|
|
10175
|
+
"name": "id",
|
|
10176
|
+
"required": true
|
|
10177
|
+
}
|
|
10178
|
+
},
|
|
10179
|
+
"description": "execute an action on a resource of type refunds",
|
|
10180
|
+
"flags": {
|
|
10181
|
+
"organization": {
|
|
10182
|
+
"char": "o",
|
|
10183
|
+
"description": "the slug of your organization",
|
|
10184
|
+
"env": "CL_CLI_ORGANIZATION",
|
|
10185
|
+
"hidden": true,
|
|
10186
|
+
"name": "organization",
|
|
10187
|
+
"required": true,
|
|
10188
|
+
"hasDynamicHelp": false,
|
|
10189
|
+
"multiple": false,
|
|
10190
|
+
"type": "option"
|
|
10191
|
+
},
|
|
10192
|
+
"domain": {
|
|
10193
|
+
"char": "d",
|
|
10194
|
+
"dependsOn": [
|
|
10195
|
+
"organization"
|
|
10196
|
+
],
|
|
10197
|
+
"env": "CL_CLI_DOMAIN",
|
|
10198
|
+
"hidden": true,
|
|
10199
|
+
"name": "domain",
|
|
10200
|
+
"required": false,
|
|
10201
|
+
"hasDynamicHelp": false,
|
|
10202
|
+
"multiple": false,
|
|
10203
|
+
"type": "option"
|
|
10204
|
+
},
|
|
10205
|
+
"accessToken": {
|
|
10206
|
+
"env": "CL_CLI_ACCESS_TOKEN",
|
|
10207
|
+
"hidden": true,
|
|
10208
|
+
"name": "accessToken",
|
|
10209
|
+
"required": true,
|
|
10210
|
+
"hasDynamicHelp": false,
|
|
10211
|
+
"multiple": false,
|
|
10212
|
+
"type": "option"
|
|
10213
|
+
},
|
|
10214
|
+
"print": {
|
|
10215
|
+
"char": "p",
|
|
10216
|
+
"description": "print out the modified resource",
|
|
10217
|
+
"name": "print",
|
|
10218
|
+
"allowNo": false,
|
|
10219
|
+
"type": "boolean"
|
|
10220
|
+
},
|
|
10221
|
+
"json": {
|
|
10222
|
+
"char": "j",
|
|
10223
|
+
"dependsOn": [
|
|
10224
|
+
"print"
|
|
10225
|
+
],
|
|
10226
|
+
"description": "print result in JSON format",
|
|
10227
|
+
"name": "json",
|
|
10228
|
+
"allowNo": false,
|
|
10229
|
+
"type": "boolean"
|
|
10230
|
+
},
|
|
10231
|
+
"unformatted": {
|
|
10232
|
+
"char": "u",
|
|
10233
|
+
"dependsOn": [
|
|
10234
|
+
"json"
|
|
10235
|
+
],
|
|
10236
|
+
"description": "print JSON output without indentation",
|
|
10237
|
+
"name": "unformatted",
|
|
10238
|
+
"allowNo": false,
|
|
10239
|
+
"type": "boolean"
|
|
10240
|
+
}
|
|
10241
|
+
},
|
|
10242
|
+
"hasDynamicHelp": false,
|
|
10243
|
+
"hiddenAliases": [],
|
|
10244
|
+
"id": "refund",
|
|
10245
|
+
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
10246
|
+
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
10247
|
+
"pluginType": "core",
|
|
10248
|
+
"strict": true,
|
|
10249
|
+
"enableJsonFlag": false,
|
|
10250
|
+
"isESM": false,
|
|
10251
|
+
"relativePath": [
|
|
10252
|
+
"lib",
|
|
10253
|
+
"commands",
|
|
10254
|
+
"refund",
|
|
10255
|
+
"index.js"
|
|
10256
|
+
]
|
|
10257
|
+
},
|
|
10258
|
+
"return:approve": {
|
|
10259
|
+
"aliases": [],
|
|
10260
|
+
"args": {
|
|
10261
|
+
"id": {
|
|
10262
|
+
"description": "the unique id of the resource",
|
|
10263
|
+
"name": "id",
|
|
10264
|
+
"required": true
|
|
10265
|
+
}
|
|
10266
|
+
},
|
|
10267
|
+
"description": "Send this attribute if you want to mark this return as approved.",
|
|
9828
10268
|
"flags": {
|
|
9829
10269
|
"organization": {
|
|
9830
10270
|
"char": "o",
|
|
@@ -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.
|
|
15363
|
+
"version": "4.8.0"
|
|
14748
15364
|
}
|