@commercelayer/cli-plugin-triggers 4.3.0 → 4.5.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.
@@ -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": "The associated capture amount, in cents.",
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": {
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": "execute an action on a resource of type authorizations",
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",
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
+ "index.js"
461
461
  ]
462
462
  },
463
- "authorization:capture_amount_cents": {
463
+ "authorization:void": {
464
464
  "aliases": [],
465
465
  "args": {
466
466
  "id": {
@@ -469,7 +469,7 @@
469
469
  "required": true
470
470
  }
471
471
  },
472
- "description": "The associated capture amount, in cents.",
472
+ "description": "Send this attribute if you want to create a void for this authorization.",
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:void",
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
+ "void.js"
549
549
  ]
550
550
  },
551
- "authorization": {
551
+ "axerve_payment": {
552
552
  "aliases": [],
553
553
  "args": {
554
554
  "id": {
@@ -557,7 +557,7 @@
557
557
  "required": true
558
558
  }
559
559
  },
560
- "description": "execute an action on a resource of type authorizations",
560
+ "description": "execute an action on a resource of type axerve_payments",
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",
625
+ "id": "axerve_payment",
626
626
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
627
627
  "pluginName": "@commercelayer/cli-plugin-triggers",
628
628
  "pluginType": "core",
@@ -632,11 +632,11 @@
632
632
  "relativePath": [
633
633
  "lib",
634
634
  "commands",
635
- "authorization",
635
+ "axerve_payment",
636
636
  "index.js"
637
637
  ]
638
638
  },
639
- "authorization:void": {
639
+ "axerve_payment:update": {
640
640
  "aliases": [],
641
641
  "args": {
642
642
  "id": {
@@ -645,7 +645,7 @@
645
645
  "required": true
646
646
  }
647
647
  },
648
- "description": "Send this attribute if you want to create a void for this authorization.",
648
+ "description": "Send this attribute if you want to update the payment with fresh order data.",
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:void",
713
+ "id": "axerve_payment:update",
714
714
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
715
715
  "pluginName": "@commercelayer/cli-plugin-triggers",
716
716
  "pluginType": "core",
@@ -720,8 +720,8 @@
720
720
  "relativePath": [
721
721
  "lib",
722
722
  "commands",
723
- "authorization",
724
- "void.js"
723
+ "axerve_payment",
724
+ "update.js"
725
725
  ]
726
726
  },
727
727
  "bundle:compute_compare_at_amount": {
@@ -4948,7 +4948,7 @@
4948
4948
  "reset_circuit.js"
4949
4949
  ]
4950
4950
  },
4951
- "market:disable": {
4951
+ "link:disable": {
4952
4952
  "aliases": [],
4953
4953
  "args": {
4954
4954
  "id": {
@@ -5022,7 +5022,7 @@
5022
5022
  },
5023
5023
  "hasDynamicHelp": false,
5024
5024
  "hiddenAliases": [],
5025
- "id": "market:disable",
5025
+ "id": "link:disable",
5026
5026
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5027
5027
  "pluginName": "@commercelayer/cli-plugin-triggers",
5028
5028
  "pluginType": "core",
@@ -5032,11 +5032,11 @@
5032
5032
  "relativePath": [
5033
5033
  "lib",
5034
5034
  "commands",
5035
- "market",
5035
+ "link",
5036
5036
  "disable.js"
5037
5037
  ]
5038
5038
  },
5039
- "market:enable": {
5039
+ "link:enable": {
5040
5040
  "aliases": [],
5041
5041
  "args": {
5042
5042
  "id": {
@@ -5110,7 +5110,7 @@
5110
5110
  },
5111
5111
  "hasDynamicHelp": false,
5112
5112
  "hiddenAliases": [],
5113
- "id": "market:enable",
5113
+ "id": "link:enable",
5114
5114
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5115
5115
  "pluginName": "@commercelayer/cli-plugin-triggers",
5116
5116
  "pluginType": "core",
@@ -5120,11 +5120,11 @@
5120
5120
  "relativePath": [
5121
5121
  "lib",
5122
5122
  "commands",
5123
- "market",
5123
+ "link",
5124
5124
  "enable.js"
5125
5125
  ]
5126
5126
  },
5127
- "market": {
5127
+ "link": {
5128
5128
  "aliases": [],
5129
5129
  "args": {
5130
5130
  "id": {
@@ -5133,7 +5133,7 @@
5133
5133
  "required": true
5134
5134
  }
5135
5135
  },
5136
- "description": "execute an action on a resource of type markets",
5136
+ "description": "execute an action on a resource of type links",
5137
5137
  "flags": {
5138
5138
  "organization": {
5139
5139
  "char": "o",
@@ -5198,7 +5198,7 @@
5198
5198
  },
5199
5199
  "hasDynamicHelp": false,
5200
5200
  "hiddenAliases": [],
5201
- "id": "market",
5201
+ "id": "link",
5202
5202
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5203
5203
  "pluginName": "@commercelayer/cli-plugin-triggers",
5204
5204
  "pluginType": "core",
@@ -5208,11 +5208,11 @@
5208
5208
  "relativePath": [
5209
5209
  "lib",
5210
5210
  "commands",
5211
- "market",
5211
+ "link",
5212
5212
  "index.js"
5213
5213
  ]
5214
5214
  },
5215
- "order:approve": {
5215
+ "market:disable": {
5216
5216
  "aliases": [],
5217
5217
  "args": {
5218
5218
  "id": {
@@ -5221,7 +5221,7 @@
5221
5221
  "required": true
5222
5222
  }
5223
5223
  },
5224
- "description": "Send this attribute if you want to approve a placed order.",
5224
+ "description": "Send this attribute if you want to mark this resource as disabled.",
5225
5225
  "flags": {
5226
5226
  "organization": {
5227
5227
  "char": "o",
@@ -5286,7 +5286,7 @@
5286
5286
  },
5287
5287
  "hasDynamicHelp": false,
5288
5288
  "hiddenAliases": [],
5289
- "id": "order:approve",
5289
+ "id": "market:disable",
5290
5290
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5291
5291
  "pluginName": "@commercelayer/cli-plugin-triggers",
5292
5292
  "pluginType": "core",
@@ -5296,11 +5296,11 @@
5296
5296
  "relativePath": [
5297
5297
  "lib",
5298
5298
  "commands",
5299
- "order",
5300
- "approve.js"
5299
+ "market",
5300
+ "disable.js"
5301
5301
  ]
5302
5302
  },
5303
- "order:approve_and_capture": {
5303
+ "market:enable": {
5304
5304
  "aliases": [],
5305
5305
  "args": {
5306
5306
  "id": {
@@ -5309,7 +5309,7 @@
5309
5309
  "required": true
5310
5310
  }
5311
5311
  },
5312
- "description": "Send this attribute if you want to approve and capture a placed order.",
5312
+ "description": "Send this attribute if you want to mark this resource as enabled.",
5313
5313
  "flags": {
5314
5314
  "organization": {
5315
5315
  "char": "o",
@@ -5374,7 +5374,7 @@
5374
5374
  },
5375
5375
  "hasDynamicHelp": false,
5376
5376
  "hiddenAliases": [],
5377
- "id": "order:approve_and_capture",
5377
+ "id": "market:enable",
5378
5378
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5379
5379
  "pluginName": "@commercelayer/cli-plugin-triggers",
5380
5380
  "pluginType": "core",
@@ -5384,11 +5384,11 @@
5384
5384
  "relativePath": [
5385
5385
  "lib",
5386
5386
  "commands",
5387
- "order",
5388
- "approve_and_capture.js"
5387
+ "market",
5388
+ "enable.js"
5389
5389
  ]
5390
5390
  },
5391
- "order:archive": {
5391
+ "market": {
5392
5392
  "aliases": [],
5393
5393
  "args": {
5394
5394
  "id": {
@@ -5397,7 +5397,7 @@
5397
5397
  "required": true
5398
5398
  }
5399
5399
  },
5400
- "description": "Send this attribute if you want to archive the order.",
5400
+ "description": "execute an action on a resource of type markets",
5401
5401
  "flags": {
5402
5402
  "organization": {
5403
5403
  "char": "o",
@@ -5462,7 +5462,7 @@
5462
5462
  },
5463
5463
  "hasDynamicHelp": false,
5464
5464
  "hiddenAliases": [],
5465
- "id": "order:archive",
5465
+ "id": "market",
5466
5466
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5467
5467
  "pluginName": "@commercelayer/cli-plugin-triggers",
5468
5468
  "pluginType": "core",
@@ -5472,11 +5472,11 @@
5472
5472
  "relativePath": [
5473
5473
  "lib",
5474
5474
  "commands",
5475
- "order",
5476
- "archive.js"
5475
+ "market",
5476
+ "index.js"
5477
5477
  ]
5478
5478
  },
5479
- "order:authorization_amount_cents": {
5479
+ "order_subscription:activate": {
5480
5480
  "aliases": [],
5481
5481
  "args": {
5482
5482
  "id": {
@@ -5485,7 +5485,7 @@
5485
5485
  "required": true
5486
5486
  }
5487
5487
  },
5488
- "description": "The authorization amount, in cents.",
5488
+ "description": "Send this attribute if you want to mark this subscription as active.",
5489
5489
  "flags": {
5490
5490
  "organization": {
5491
5491
  "char": "o",
@@ -5550,7 +5550,7 @@
5550
5550
  },
5551
5551
  "hasDynamicHelp": false,
5552
5552
  "hiddenAliases": [],
5553
- "id": "order:authorization_amount_cents",
5553
+ "id": "order_subscription:activate",
5554
5554
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5555
5555
  "pluginName": "@commercelayer/cli-plugin-triggers",
5556
5556
  "pluginType": "core",
@@ -5560,11 +5560,11 @@
5560
5560
  "relativePath": [
5561
5561
  "lib",
5562
5562
  "commands",
5563
- "order",
5564
- "authorization_amount_cents.js"
5563
+ "order_subscription",
5564
+ "activate.js"
5565
5565
  ]
5566
5566
  },
5567
- "order:authorize": {
5567
+ "order_subscription:cancel": {
5568
5568
  "aliases": [],
5569
5569
  "args": {
5570
5570
  "id": {
@@ -5573,7 +5573,7 @@
5573
5573
  "required": true
5574
5574
  }
5575
5575
  },
5576
- "description": "Send this attribute if you want to authorize the order's payment source.",
5576
+ "description": "Send this attribute if you want to mark this subscription as cancelled.",
5577
5577
  "flags": {
5578
5578
  "organization": {
5579
5579
  "char": "o",
@@ -5638,7 +5638,7 @@
5638
5638
  },
5639
5639
  "hasDynamicHelp": false,
5640
5640
  "hiddenAliases": [],
5641
- "id": "order:authorize",
5641
+ "id": "order_subscription:cancel",
5642
5642
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5643
5643
  "pluginName": "@commercelayer/cli-plugin-triggers",
5644
5644
  "pluginType": "core",
@@ -5648,11 +5648,11 @@
5648
5648
  "relativePath": [
5649
5649
  "lib",
5650
5650
  "commands",
5651
- "order",
5652
- "authorize.js"
5651
+ "order_subscription",
5652
+ "cancel.js"
5653
5653
  ]
5654
5654
  },
5655
- "order:billing_address_clone_id": {
5655
+ "order_subscription:convert": {
5656
5656
  "aliases": [],
5657
5657
  "args": {
5658
5658
  "id": {
@@ -5661,7 +5661,7 @@
5661
5661
  "required": true
5662
5662
  }
5663
5663
  },
5664
- "description": "The id of the address that you want to clone to create the order's billing address.",
5664
+ "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
5665
5665
  "flags": {
5666
5666
  "organization": {
5667
5667
  "char": "o",
@@ -5722,20 +5722,11 @@
5722
5722
  "name": "unformatted",
5723
5723
  "allowNo": false,
5724
5724
  "type": "boolean"
5725
- },
5726
- "value": {
5727
- "char": "v",
5728
- "description": "the trigger attribute value",
5729
- "name": "value",
5730
- "required": true,
5731
- "hasDynamicHelp": false,
5732
- "multiple": false,
5733
- "type": "option"
5734
5725
  }
5735
5726
  },
5736
5727
  "hasDynamicHelp": false,
5737
5728
  "hiddenAliases": [],
5738
- "id": "order:billing_address_clone_id",
5729
+ "id": "order_subscription:convert",
5739
5730
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5740
5731
  "pluginName": "@commercelayer/cli-plugin-triggers",
5741
5732
  "pluginType": "core",
@@ -5745,11 +5736,11 @@
5745
5736
  "relativePath": [
5746
5737
  "lib",
5747
5738
  "commands",
5748
- "order",
5749
- "billing_address_clone_id.js"
5739
+ "order_subscription",
5740
+ "convert.js"
5750
5741
  ]
5751
5742
  },
5752
- "order:billing_address_same_as_shipping": {
5743
+ "order_subscription:deactivate": {
5753
5744
  "aliases": [],
5754
5745
  "args": {
5755
5746
  "id": {
@@ -5758,7 +5749,7 @@
5758
5749
  "required": true
5759
5750
  }
5760
5751
  },
5761
- "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
5752
+ "description": "Send this attribute if you want to mark this subscription as inactive.",
5762
5753
  "flags": {
5763
5754
  "organization": {
5764
5755
  "char": "o",
@@ -5823,7 +5814,7 @@
5823
5814
  },
5824
5815
  "hasDynamicHelp": false,
5825
5816
  "hiddenAliases": [],
5826
- "id": "order:billing_address_same_as_shipping",
5817
+ "id": "order_subscription:deactivate",
5827
5818
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5828
5819
  "pluginName": "@commercelayer/cli-plugin-triggers",
5829
5820
  "pluginType": "core",
@@ -5833,11 +5824,11 @@
5833
5824
  "relativePath": [
5834
5825
  "lib",
5835
5826
  "commands",
5836
- "order",
5837
- "billing_address_same_as_shipping.js"
5827
+ "order_subscription",
5828
+ "deactivate.js"
5838
5829
  ]
5839
5830
  },
5840
- "order:cancel": {
5831
+ "order_subscription": {
5841
5832
  "aliases": [],
5842
5833
  "args": {
5843
5834
  "id": {
@@ -5846,7 +5837,7 @@
5846
5837
  "required": true
5847
5838
  }
5848
5839
  },
5849
- "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
5840
+ "description": "execute an action on a resource of type order_subscriptions",
5850
5841
  "flags": {
5851
5842
  "organization": {
5852
5843
  "char": "o",
@@ -5911,7 +5902,7 @@
5911
5902
  },
5912
5903
  "hasDynamicHelp": false,
5913
5904
  "hiddenAliases": [],
5914
- "id": "order:cancel",
5905
+ "id": "order_subscription",
5915
5906
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5916
5907
  "pluginName": "@commercelayer/cli-plugin-triggers",
5917
5908
  "pluginType": "core",
@@ -5921,11 +5912,11 @@
5921
5912
  "relativePath": [
5922
5913
  "lib",
5923
5914
  "commands",
5924
- "order",
5925
- "cancel.js"
5915
+ "order_subscription",
5916
+ "index.js"
5926
5917
  ]
5927
5918
  },
5928
- "order:capture": {
5919
+ "order:approve": {
5929
5920
  "aliases": [],
5930
5921
  "args": {
5931
5922
  "id": {
@@ -5934,7 +5925,7 @@
5934
5925
  "required": true
5935
5926
  }
5936
5927
  },
5937
- "description": "Send this attribute if you want to capture an authorized order.",
5928
+ "description": "Send this attribute if you want to approve a placed order.",
5938
5929
  "flags": {
5939
5930
  "organization": {
5940
5931
  "char": "o",
@@ -5999,7 +5990,7 @@
5999
5990
  },
6000
5991
  "hasDynamicHelp": false,
6001
5992
  "hiddenAliases": [],
6002
- "id": "order:capture",
5993
+ "id": "order:approve",
6003
5994
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6004
5995
  "pluginName": "@commercelayer/cli-plugin-triggers",
6005
5996
  "pluginType": "core",
@@ -6010,10 +6001,10 @@
6010
6001
  "lib",
6011
6002
  "commands",
6012
6003
  "order",
6013
- "capture.js"
6004
+ "approve.js"
6014
6005
  ]
6015
6006
  },
6016
- "order:commit_invoice": {
6007
+ "order:approve_and_capture": {
6017
6008
  "aliases": [],
6018
6009
  "args": {
6019
6010
  "id": {
@@ -6022,7 +6013,7 @@
6022
6013
  "required": true
6023
6014
  }
6024
6015
  },
6025
- "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
6016
+ "description": "Send this attribute if you want to approve and capture a placed order.",
6026
6017
  "flags": {
6027
6018
  "organization": {
6028
6019
  "char": "o",
@@ -6087,7 +6078,7 @@
6087
6078
  },
6088
6079
  "hasDynamicHelp": false,
6089
6080
  "hiddenAliases": [],
6090
- "id": "order:commit_invoice",
6081
+ "id": "order:approve_and_capture",
6091
6082
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6092
6083
  "pluginName": "@commercelayer/cli-plugin-triggers",
6093
6084
  "pluginType": "core",
@@ -6098,10 +6089,10 @@
6098
6089
  "lib",
6099
6090
  "commands",
6100
6091
  "order",
6101
- "commit_invoice.js"
6092
+ "approve_and_capture.js"
6102
6093
  ]
6103
6094
  },
6104
- "order:create_subscriptions": {
6095
+ "order:archive": {
6105
6096
  "aliases": [],
6106
6097
  "args": {
6107
6098
  "id": {
@@ -6110,7 +6101,7 @@
6110
6101
  "required": true
6111
6102
  }
6112
6103
  },
6113
- "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
6104
+ "description": "Send this attribute if you want to archive the order.",
6114
6105
  "flags": {
6115
6106
  "organization": {
6116
6107
  "char": "o",
@@ -6175,7 +6166,7 @@
6175
6166
  },
6176
6167
  "hasDynamicHelp": false,
6177
6168
  "hiddenAliases": [],
6178
- "id": "order:create_subscriptions",
6169
+ "id": "order:archive",
6179
6170
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6180
6171
  "pluginName": "@commercelayer/cli-plugin-triggers",
6181
6172
  "pluginType": "core",
@@ -6186,10 +6177,10 @@
6186
6177
  "lib",
6187
6178
  "commands",
6188
6179
  "order",
6189
- "create_subscriptions.js"
6180
+ "archive.js"
6190
6181
  ]
6191
6182
  },
6192
- "order:customer_payment_source_id": {
6183
+ "order:authorization_amount_cents": {
6193
6184
  "aliases": [],
6194
6185
  "args": {
6195
6186
  "id": {
@@ -6198,7 +6189,7 @@
6198
6189
  "required": true
6199
6190
  }
6200
6191
  },
6201
- "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
6192
+ "description": "The authorization amount, in cents.",
6202
6193
  "flags": {
6203
6194
  "organization": {
6204
6195
  "char": "o",
@@ -6259,20 +6250,11 @@
6259
6250
  "name": "unformatted",
6260
6251
  "allowNo": false,
6261
6252
  "type": "boolean"
6262
- },
6263
- "value": {
6264
- "char": "v",
6265
- "description": "the trigger attribute value",
6266
- "name": "value",
6267
- "required": true,
6268
- "hasDynamicHelp": false,
6269
- "multiple": false,
6270
- "type": "option"
6271
6253
  }
6272
6254
  },
6273
6255
  "hasDynamicHelp": false,
6274
6256
  "hiddenAliases": [],
6275
- "id": "order:customer_payment_source_id",
6257
+ "id": "order:authorization_amount_cents",
6276
6258
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6277
6259
  "pluginName": "@commercelayer/cli-plugin-triggers",
6278
6260
  "pluginType": "core",
@@ -6283,10 +6265,10 @@
6283
6265
  "lib",
6284
6266
  "commands",
6285
6267
  "order",
6286
- "customer_payment_source_id.js"
6268
+ "authorization_amount_cents.js"
6287
6269
  ]
6288
6270
  },
6289
- "order:fulfill": {
6271
+ "order:authorize": {
6290
6272
  "aliases": [],
6291
6273
  "args": {
6292
6274
  "id": {
@@ -6295,7 +6277,7 @@
6295
6277
  "required": true
6296
6278
  }
6297
6279
  },
6298
- "description": "Send this attribute if you want to mark as fulfilled a shipped/delivered order.",
6280
+ "description": "Send this attribute if you want to authorize the order's payment source.",
6299
6281
  "flags": {
6300
6282
  "organization": {
6301
6283
  "char": "o",
@@ -6360,7 +6342,7 @@
6360
6342
  },
6361
6343
  "hasDynamicHelp": false,
6362
6344
  "hiddenAliases": [],
6363
- "id": "order:fulfill",
6345
+ "id": "order:authorize",
6364
6346
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6365
6347
  "pluginName": "@commercelayer/cli-plugin-triggers",
6366
6348
  "pluginType": "core",
@@ -6371,10 +6353,10 @@
6371
6353
  "lib",
6372
6354
  "commands",
6373
6355
  "order",
6374
- "fulfill.js"
6356
+ "authorize.js"
6375
6357
  ]
6376
6358
  },
6377
- "order": {
6359
+ "order:billing_address_clone_id": {
6378
6360
  "aliases": [],
6379
6361
  "args": {
6380
6362
  "id": {
@@ -6383,7 +6365,7 @@
6383
6365
  "required": true
6384
6366
  }
6385
6367
  },
6386
- "description": "execute an action on a resource of type orders",
6368
+ "description": "The id of the address that you want to clone to create the order's billing address.",
6387
6369
  "flags": {
6388
6370
  "organization": {
6389
6371
  "char": "o",
@@ -6444,11 +6426,20 @@
6444
6426
  "name": "unformatted",
6445
6427
  "allowNo": false,
6446
6428
  "type": "boolean"
6429
+ },
6430
+ "value": {
6431
+ "char": "v",
6432
+ "description": "the trigger attribute value",
6433
+ "name": "value",
6434
+ "required": true,
6435
+ "hasDynamicHelp": false,
6436
+ "multiple": false,
6437
+ "type": "option"
6447
6438
  }
6448
6439
  },
6449
6440
  "hasDynamicHelp": false,
6450
6441
  "hiddenAliases": [],
6451
- "id": "order",
6442
+ "id": "order:billing_address_clone_id",
6452
6443
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6453
6444
  "pluginName": "@commercelayer/cli-plugin-triggers",
6454
6445
  "pluginType": "core",
@@ -6459,10 +6450,10 @@
6459
6450
  "lib",
6460
6451
  "commands",
6461
6452
  "order",
6462
- "index.js"
6453
+ "billing_address_clone_id.js"
6463
6454
  ]
6464
6455
  },
6465
- "order:nullify_payment_source": {
6456
+ "order:billing_address_same_as_shipping": {
6466
6457
  "aliases": [],
6467
6458
  "args": {
6468
6459
  "id": {
@@ -6471,7 +6462,7 @@
6471
6462
  "required": true
6472
6463
  }
6473
6464
  },
6474
- "description": "Send this attribute if you want to nullify the payment source for this order.",
6465
+ "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
6475
6466
  "flags": {
6476
6467
  "organization": {
6477
6468
  "char": "o",
@@ -6536,7 +6527,7 @@
6536
6527
  },
6537
6528
  "hasDynamicHelp": false,
6538
6529
  "hiddenAliases": [],
6539
- "id": "order:nullify_payment_source",
6530
+ "id": "order:billing_address_same_as_shipping",
6540
6531
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6541
6532
  "pluginName": "@commercelayer/cli-plugin-triggers",
6542
6533
  "pluginType": "core",
@@ -6547,10 +6538,10 @@
6547
6538
  "lib",
6548
6539
  "commands",
6549
6540
  "order",
6550
- "nullify_payment_source.js"
6541
+ "billing_address_same_as_shipping.js"
6551
6542
  ]
6552
6543
  },
6553
- "order:pending": {
6544
+ "order:cancel": {
6554
6545
  "aliases": [],
6555
6546
  "args": {
6556
6547
  "id": {
@@ -6559,7 +6550,7 @@
6559
6550
  "required": true
6560
6551
  }
6561
6552
  },
6562
- "description": "Send this attribute if you want to move a draft or placing order to pending.",
6553
+ "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
6563
6554
  "flags": {
6564
6555
  "organization": {
6565
6556
  "char": "o",
@@ -6624,7 +6615,7 @@
6624
6615
  },
6625
6616
  "hasDynamicHelp": false,
6626
6617
  "hiddenAliases": [],
6627
- "id": "order:pending",
6618
+ "id": "order:cancel",
6628
6619
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6629
6620
  "pluginName": "@commercelayer/cli-plugin-triggers",
6630
6621
  "pluginType": "core",
@@ -6635,10 +6626,10 @@
6635
6626
  "lib",
6636
6627
  "commands",
6637
6628
  "order",
6638
- "pending.js"
6629
+ "cancel.js"
6639
6630
  ]
6640
6631
  },
6641
- "order:place": {
6632
+ "order:capture": {
6642
6633
  "aliases": [],
6643
6634
  "args": {
6644
6635
  "id": {
@@ -6647,7 +6638,7 @@
6647
6638
  "required": true
6648
6639
  }
6649
6640
  },
6650
- "description": "Send this attribute if you want to place the order.",
6641
+ "description": "Send this attribute if you want to capture an authorized order.",
6651
6642
  "flags": {
6652
6643
  "organization": {
6653
6644
  "char": "o",
@@ -6712,7 +6703,7 @@
6712
6703
  },
6713
6704
  "hasDynamicHelp": false,
6714
6705
  "hiddenAliases": [],
6715
- "id": "order:place",
6706
+ "id": "order:capture",
6716
6707
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6717
6708
  "pluginName": "@commercelayer/cli-plugin-triggers",
6718
6709
  "pluginType": "core",
@@ -6723,10 +6714,10 @@
6723
6714
  "lib",
6724
6715
  "commands",
6725
6716
  "order",
6726
- "place.js"
6717
+ "capture.js"
6727
6718
  ]
6728
6719
  },
6729
- "order:refresh": {
6720
+ "order:commit_invoice": {
6730
6721
  "aliases": [],
6731
6722
  "args": {
6732
6723
  "id": {
@@ -6735,7 +6726,7 @@
6735
6726
  "required": true
6736
6727
  }
6737
6728
  },
6738
- "description": "Send this attribute if you want to manually refresh the order.",
6729
+ "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
6739
6730
  "flags": {
6740
6731
  "organization": {
6741
6732
  "char": "o",
@@ -6800,7 +6791,7 @@
6800
6791
  },
6801
6792
  "hasDynamicHelp": false,
6802
6793
  "hiddenAliases": [],
6803
- "id": "order:refresh",
6794
+ "id": "order:commit_invoice",
6804
6795
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6805
6796
  "pluginName": "@commercelayer/cli-plugin-triggers",
6806
6797
  "pluginType": "core",
@@ -6811,10 +6802,10 @@
6811
6802
  "lib",
6812
6803
  "commands",
6813
6804
  "order",
6814
- "refresh.js"
6805
+ "commit_invoice.js"
6815
6806
  ]
6816
6807
  },
6817
- "order:refund": {
6808
+ "order:create_subscriptions": {
6818
6809
  "aliases": [],
6819
6810
  "args": {
6820
6811
  "id": {
@@ -6823,7 +6814,7 @@
6823
6814
  "required": true
6824
6815
  }
6825
6816
  },
6826
- "description": "Send this attribute if you want to refund a captured order.",
6817
+ "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
6827
6818
  "flags": {
6828
6819
  "organization": {
6829
6820
  "char": "o",
@@ -6888,7 +6879,280 @@
6888
6879
  },
6889
6880
  "hasDynamicHelp": false,
6890
6881
  "hiddenAliases": [],
6891
- "id": "order:refund",
6882
+ "id": "order:create_subscriptions",
6883
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
6884
+ "pluginName": "@commercelayer/cli-plugin-triggers",
6885
+ "pluginType": "core",
6886
+ "strict": true,
6887
+ "enableJsonFlag": false,
6888
+ "isESM": false,
6889
+ "relativePath": [
6890
+ "lib",
6891
+ "commands",
6892
+ "order",
6893
+ "create_subscriptions.js"
6894
+ ]
6895
+ },
6896
+ "order:customer_payment_source_id": {
6897
+ "aliases": [],
6898
+ "args": {
6899
+ "id": {
6900
+ "description": "the unique id of the resource",
6901
+ "name": "id",
6902
+ "required": true
6903
+ }
6904
+ },
6905
+ "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
6906
+ "flags": {
6907
+ "organization": {
6908
+ "char": "o",
6909
+ "description": "the slug of your organization",
6910
+ "env": "CL_CLI_ORGANIZATION",
6911
+ "hidden": true,
6912
+ "name": "organization",
6913
+ "required": true,
6914
+ "hasDynamicHelp": false,
6915
+ "multiple": false,
6916
+ "type": "option"
6917
+ },
6918
+ "domain": {
6919
+ "char": "d",
6920
+ "dependsOn": [
6921
+ "organization"
6922
+ ],
6923
+ "env": "CL_CLI_DOMAIN",
6924
+ "hidden": true,
6925
+ "name": "domain",
6926
+ "required": false,
6927
+ "hasDynamicHelp": false,
6928
+ "multiple": false,
6929
+ "type": "option"
6930
+ },
6931
+ "accessToken": {
6932
+ "env": "CL_CLI_ACCESS_TOKEN",
6933
+ "hidden": true,
6934
+ "name": "accessToken",
6935
+ "required": true,
6936
+ "hasDynamicHelp": false,
6937
+ "multiple": false,
6938
+ "type": "option"
6939
+ },
6940
+ "print": {
6941
+ "char": "p",
6942
+ "description": "print out the modified resource",
6943
+ "name": "print",
6944
+ "allowNo": false,
6945
+ "type": "boolean"
6946
+ },
6947
+ "json": {
6948
+ "char": "j",
6949
+ "dependsOn": [
6950
+ "print"
6951
+ ],
6952
+ "description": "print result in JSON format",
6953
+ "name": "json",
6954
+ "allowNo": false,
6955
+ "type": "boolean"
6956
+ },
6957
+ "unformatted": {
6958
+ "char": "u",
6959
+ "dependsOn": [
6960
+ "json"
6961
+ ],
6962
+ "description": "print JSON output without indentation",
6963
+ "name": "unformatted",
6964
+ "allowNo": false,
6965
+ "type": "boolean"
6966
+ },
6967
+ "value": {
6968
+ "char": "v",
6969
+ "description": "the trigger attribute value",
6970
+ "name": "value",
6971
+ "required": true,
6972
+ "hasDynamicHelp": false,
6973
+ "multiple": false,
6974
+ "type": "option"
6975
+ }
6976
+ },
6977
+ "hasDynamicHelp": false,
6978
+ "hiddenAliases": [],
6979
+ "id": "order:customer_payment_source_id",
6980
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
6981
+ "pluginName": "@commercelayer/cli-plugin-triggers",
6982
+ "pluginType": "core",
6983
+ "strict": true,
6984
+ "enableJsonFlag": false,
6985
+ "isESM": false,
6986
+ "relativePath": [
6987
+ "lib",
6988
+ "commands",
6989
+ "order",
6990
+ "customer_payment_source_id.js"
6991
+ ]
6992
+ },
6993
+ "order:fulfill": {
6994
+ "aliases": [],
6995
+ "args": {
6996
+ "id": {
6997
+ "description": "the unique id of the resource",
6998
+ "name": "id",
6999
+ "required": true
7000
+ }
7001
+ },
7002
+ "description": "Send this attribute if you want to mark as fulfilled a shipped/delivered order.",
7003
+ "flags": {
7004
+ "organization": {
7005
+ "char": "o",
7006
+ "description": "the slug of your organization",
7007
+ "env": "CL_CLI_ORGANIZATION",
7008
+ "hidden": true,
7009
+ "name": "organization",
7010
+ "required": true,
7011
+ "hasDynamicHelp": false,
7012
+ "multiple": false,
7013
+ "type": "option"
7014
+ },
7015
+ "domain": {
7016
+ "char": "d",
7017
+ "dependsOn": [
7018
+ "organization"
7019
+ ],
7020
+ "env": "CL_CLI_DOMAIN",
7021
+ "hidden": true,
7022
+ "name": "domain",
7023
+ "required": false,
7024
+ "hasDynamicHelp": false,
7025
+ "multiple": false,
7026
+ "type": "option"
7027
+ },
7028
+ "accessToken": {
7029
+ "env": "CL_CLI_ACCESS_TOKEN",
7030
+ "hidden": true,
7031
+ "name": "accessToken",
7032
+ "required": true,
7033
+ "hasDynamicHelp": false,
7034
+ "multiple": false,
7035
+ "type": "option"
7036
+ },
7037
+ "print": {
7038
+ "char": "p",
7039
+ "description": "print out the modified resource",
7040
+ "name": "print",
7041
+ "allowNo": false,
7042
+ "type": "boolean"
7043
+ },
7044
+ "json": {
7045
+ "char": "j",
7046
+ "dependsOn": [
7047
+ "print"
7048
+ ],
7049
+ "description": "print result in JSON format",
7050
+ "name": "json",
7051
+ "allowNo": false,
7052
+ "type": "boolean"
7053
+ },
7054
+ "unformatted": {
7055
+ "char": "u",
7056
+ "dependsOn": [
7057
+ "json"
7058
+ ],
7059
+ "description": "print JSON output without indentation",
7060
+ "name": "unformatted",
7061
+ "allowNo": false,
7062
+ "type": "boolean"
7063
+ }
7064
+ },
7065
+ "hasDynamicHelp": false,
7066
+ "hiddenAliases": [],
7067
+ "id": "order:fulfill",
7068
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
7069
+ "pluginName": "@commercelayer/cli-plugin-triggers",
7070
+ "pluginType": "core",
7071
+ "strict": true,
7072
+ "enableJsonFlag": false,
7073
+ "isESM": false,
7074
+ "relativePath": [
7075
+ "lib",
7076
+ "commands",
7077
+ "order",
7078
+ "fulfill.js"
7079
+ ]
7080
+ },
7081
+ "order": {
7082
+ "aliases": [],
7083
+ "args": {
7084
+ "id": {
7085
+ "description": "the unique id of the resource",
7086
+ "name": "id",
7087
+ "required": true
7088
+ }
7089
+ },
7090
+ "description": "execute an action on a resource of type orders",
7091
+ "flags": {
7092
+ "organization": {
7093
+ "char": "o",
7094
+ "description": "the slug of your organization",
7095
+ "env": "CL_CLI_ORGANIZATION",
7096
+ "hidden": true,
7097
+ "name": "organization",
7098
+ "required": true,
7099
+ "hasDynamicHelp": false,
7100
+ "multiple": false,
7101
+ "type": "option"
7102
+ },
7103
+ "domain": {
7104
+ "char": "d",
7105
+ "dependsOn": [
7106
+ "organization"
7107
+ ],
7108
+ "env": "CL_CLI_DOMAIN",
7109
+ "hidden": true,
7110
+ "name": "domain",
7111
+ "required": false,
7112
+ "hasDynamicHelp": false,
7113
+ "multiple": false,
7114
+ "type": "option"
7115
+ },
7116
+ "accessToken": {
7117
+ "env": "CL_CLI_ACCESS_TOKEN",
7118
+ "hidden": true,
7119
+ "name": "accessToken",
7120
+ "required": true,
7121
+ "hasDynamicHelp": false,
7122
+ "multiple": false,
7123
+ "type": "option"
7124
+ },
7125
+ "print": {
7126
+ "char": "p",
7127
+ "description": "print out the modified resource",
7128
+ "name": "print",
7129
+ "allowNo": false,
7130
+ "type": "boolean"
7131
+ },
7132
+ "json": {
7133
+ "char": "j",
7134
+ "dependsOn": [
7135
+ "print"
7136
+ ],
7137
+ "description": "print result in JSON format",
7138
+ "name": "json",
7139
+ "allowNo": false,
7140
+ "type": "boolean"
7141
+ },
7142
+ "unformatted": {
7143
+ "char": "u",
7144
+ "dependsOn": [
7145
+ "json"
7146
+ ],
7147
+ "description": "print JSON output without indentation",
7148
+ "name": "unformatted",
7149
+ "allowNo": false,
7150
+ "type": "boolean"
7151
+ }
7152
+ },
7153
+ "hasDynamicHelp": false,
7154
+ "hiddenAliases": [],
7155
+ "id": "order",
6892
7156
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6893
7157
  "pluginName": "@commercelayer/cli-plugin-triggers",
6894
7158
  "pluginType": "core",
@@ -6899,10 +7163,10 @@
6899
7163
  "lib",
6900
7164
  "commands",
6901
7165
  "order",
6902
- "refund.js"
7166
+ "index.js"
6903
7167
  ]
6904
7168
  },
6905
- "order:refund_invoice": {
7169
+ "order:nullify_payment_source": {
6906
7170
  "aliases": [],
6907
7171
  "args": {
6908
7172
  "id": {
@@ -6911,7 +7175,7 @@
6911
7175
  "required": true
6912
7176
  }
6913
7177
  },
6914
- "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
7178
+ "description": "Send this attribute if you want to nullify the payment source for this order.",
6915
7179
  "flags": {
6916
7180
  "organization": {
6917
7181
  "char": "o",
@@ -6976,7 +7240,7 @@
6976
7240
  },
6977
7241
  "hasDynamicHelp": false,
6978
7242
  "hiddenAliases": [],
6979
- "id": "order:refund_invoice",
7243
+ "id": "order:nullify_payment_source",
6980
7244
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6981
7245
  "pluginName": "@commercelayer/cli-plugin-triggers",
6982
7246
  "pluginType": "core",
@@ -6987,10 +7251,10 @@
6987
7251
  "lib",
6988
7252
  "commands",
6989
7253
  "order",
6990
- "refund_invoice.js"
7254
+ "nullify_payment_source.js"
6991
7255
  ]
6992
7256
  },
6993
- "order:reset_circuit": {
7257
+ "order:pending": {
6994
7258
  "aliases": [],
6995
7259
  "args": {
6996
7260
  "id": {
@@ -6999,7 +7263,7 @@
6999
7263
  "required": true
7000
7264
  }
7001
7265
  },
7002
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
7266
+ "description": "Send this attribute if you want to move a draft or placing order to pending.",
7003
7267
  "flags": {
7004
7268
  "organization": {
7005
7269
  "char": "o",
@@ -7064,7 +7328,7 @@
7064
7328
  },
7065
7329
  "hasDynamicHelp": false,
7066
7330
  "hiddenAliases": [],
7067
- "id": "order:reset_circuit",
7331
+ "id": "order:pending",
7068
7332
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7069
7333
  "pluginName": "@commercelayer/cli-plugin-triggers",
7070
7334
  "pluginType": "core",
@@ -7075,10 +7339,10 @@
7075
7339
  "lib",
7076
7340
  "commands",
7077
7341
  "order",
7078
- "reset_circuit.js"
7342
+ "pending.js"
7079
7343
  ]
7080
7344
  },
7081
- "order:save_billing_address_to_customer_address_book": {
7345
+ "order:place": {
7082
7346
  "aliases": [],
7083
7347
  "args": {
7084
7348
  "id": {
@@ -7087,7 +7351,7 @@
7087
7351
  "required": true
7088
7352
  }
7089
7353
  },
7090
- "description": "Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.",
7354
+ "description": "Send this attribute if you want to place the order.",
7091
7355
  "flags": {
7092
7356
  "organization": {
7093
7357
  "char": "o",
@@ -7152,7 +7416,7 @@
7152
7416
  },
7153
7417
  "hasDynamicHelp": false,
7154
7418
  "hiddenAliases": [],
7155
- "id": "order:save_billing_address_to_customer_address_book",
7419
+ "id": "order:place",
7156
7420
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7157
7421
  "pluginName": "@commercelayer/cli-plugin-triggers",
7158
7422
  "pluginType": "core",
@@ -7163,10 +7427,10 @@
7163
7427
  "lib",
7164
7428
  "commands",
7165
7429
  "order",
7166
- "save_billing_address_to_customer_address_book.js"
7430
+ "place.js"
7167
7431
  ]
7168
7432
  },
7169
- "order:save_payment_source_to_customer_wallet": {
7433
+ "order:refresh": {
7170
7434
  "aliases": [],
7171
7435
  "args": {
7172
7436
  "id": {
@@ -7175,7 +7439,7 @@
7175
7439
  "required": true
7176
7440
  }
7177
7441
  },
7178
- "description": "Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source.",
7442
+ "description": "Send this attribute if you want to manually refresh the order.",
7179
7443
  "flags": {
7180
7444
  "organization": {
7181
7445
  "char": "o",
@@ -7240,7 +7504,7 @@
7240
7504
  },
7241
7505
  "hasDynamicHelp": false,
7242
7506
  "hiddenAliases": [],
7243
- "id": "order:save_payment_source_to_customer_wallet",
7507
+ "id": "order:refresh",
7244
7508
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7245
7509
  "pluginName": "@commercelayer/cli-plugin-triggers",
7246
7510
  "pluginType": "core",
@@ -7251,10 +7515,10 @@
7251
7515
  "lib",
7252
7516
  "commands",
7253
7517
  "order",
7254
- "save_payment_source_to_customer_wallet.js"
7518
+ "refresh.js"
7255
7519
  ]
7256
7520
  },
7257
- "order:save_shipping_address_to_customer_address_book": {
7521
+ "order:refund": {
7258
7522
  "aliases": [],
7259
7523
  "args": {
7260
7524
  "id": {
@@ -7263,7 +7527,7 @@
7263
7527
  "required": true
7264
7528
  }
7265
7529
  },
7266
- "description": "Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address.",
7530
+ "description": "Send this attribute if you want to refund a captured order.",
7267
7531
  "flags": {
7268
7532
  "organization": {
7269
7533
  "char": "o",
@@ -7328,7 +7592,7 @@
7328
7592
  },
7329
7593
  "hasDynamicHelp": false,
7330
7594
  "hiddenAliases": [],
7331
- "id": "order:save_shipping_address_to_customer_address_book",
7595
+ "id": "order:refund",
7332
7596
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7333
7597
  "pluginName": "@commercelayer/cli-plugin-triggers",
7334
7598
  "pluginType": "core",
@@ -7339,10 +7603,10 @@
7339
7603
  "lib",
7340
7604
  "commands",
7341
7605
  "order",
7342
- "save_shipping_address_to_customer_address_book.js"
7606
+ "refund.js"
7343
7607
  ]
7344
7608
  },
7345
- "order:shipping_address_clone_id": {
7609
+ "order:refund_invoice": {
7346
7610
  "aliases": [],
7347
7611
  "args": {
7348
7612
  "id": {
@@ -7351,7 +7615,7 @@
7351
7615
  "required": true
7352
7616
  }
7353
7617
  },
7354
- "description": "The id of the address that you want to clone to create the order's shipping address.",
7618
+ "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
7355
7619
  "flags": {
7356
7620
  "organization": {
7357
7621
  "char": "o",
@@ -7412,20 +7676,11 @@
7412
7676
  "name": "unformatted",
7413
7677
  "allowNo": false,
7414
7678
  "type": "boolean"
7415
- },
7416
- "value": {
7417
- "char": "v",
7418
- "description": "the trigger attribute value",
7419
- "name": "value",
7420
- "required": true,
7421
- "hasDynamicHelp": false,
7422
- "multiple": false,
7423
- "type": "option"
7424
7679
  }
7425
7680
  },
7426
7681
  "hasDynamicHelp": false,
7427
7682
  "hiddenAliases": [],
7428
- "id": "order:shipping_address_clone_id",
7683
+ "id": "order:refund_invoice",
7429
7684
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7430
7685
  "pluginName": "@commercelayer/cli-plugin-triggers",
7431
7686
  "pluginType": "core",
@@ -7436,10 +7691,10 @@
7436
7691
  "lib",
7437
7692
  "commands",
7438
7693
  "order",
7439
- "shipping_address_clone_id.js"
7694
+ "refund_invoice.js"
7440
7695
  ]
7441
7696
  },
7442
- "order:shipping_address_same_as_billing": {
7697
+ "order:reset_circuit": {
7443
7698
  "aliases": [],
7444
7699
  "args": {
7445
7700
  "id": {
@@ -7448,7 +7703,7 @@
7448
7703
  "required": true
7449
7704
  }
7450
7705
  },
7451
- "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
7706
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
7452
7707
  "flags": {
7453
7708
  "organization": {
7454
7709
  "char": "o",
@@ -7513,7 +7768,7 @@
7513
7768
  },
7514
7769
  "hasDynamicHelp": false,
7515
7770
  "hiddenAliases": [],
7516
- "id": "order:shipping_address_same_as_billing",
7771
+ "id": "order:reset_circuit",
7517
7772
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7518
7773
  "pluginName": "@commercelayer/cli-plugin-triggers",
7519
7774
  "pluginType": "core",
@@ -7524,10 +7779,10 @@
7524
7779
  "lib",
7525
7780
  "commands",
7526
7781
  "order",
7527
- "shipping_address_same_as_billing.js"
7782
+ "reset_circuit.js"
7528
7783
  ]
7529
7784
  },
7530
- "order:start_editing": {
7785
+ "order:save_billing_address_to_customer_address_book": {
7531
7786
  "aliases": [],
7532
7787
  "args": {
7533
7788
  "id": {
@@ -7536,7 +7791,7 @@
7536
7791
  "required": true
7537
7792
  }
7538
7793
  },
7539
- "description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount.",
7794
+ "description": "Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.",
7540
7795
  "flags": {
7541
7796
  "organization": {
7542
7797
  "char": "o",
@@ -7601,7 +7856,7 @@
7601
7856
  },
7602
7857
  "hasDynamicHelp": false,
7603
7858
  "hiddenAliases": [],
7604
- "id": "order:start_editing",
7859
+ "id": "order:save_billing_address_to_customer_address_book",
7605
7860
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7606
7861
  "pluginName": "@commercelayer/cli-plugin-triggers",
7607
7862
  "pluginType": "core",
@@ -7612,10 +7867,10 @@
7612
7867
  "lib",
7613
7868
  "commands",
7614
7869
  "order",
7615
- "start_editing.js"
7870
+ "save_billing_address_to_customer_address_book.js"
7616
7871
  ]
7617
7872
  },
7618
- "order:stop_editing": {
7873
+ "order:save_payment_source_to_customer_wallet": {
7619
7874
  "aliases": [],
7620
7875
  "args": {
7621
7876
  "id": {
@@ -7624,7 +7879,7 @@
7624
7879
  "required": true
7625
7880
  }
7626
7881
  },
7627
- "description": "Send this attribute to stop the editing for the order and return back to placed status.",
7882
+ "description": "Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source.",
7628
7883
  "flags": {
7629
7884
  "organization": {
7630
7885
  "char": "o",
@@ -7689,7 +7944,7 @@
7689
7944
  },
7690
7945
  "hasDynamicHelp": false,
7691
7946
  "hiddenAliases": [],
7692
- "id": "order:stop_editing",
7947
+ "id": "order:save_payment_source_to_customer_wallet",
7693
7948
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7694
7949
  "pluginName": "@commercelayer/cli-plugin-triggers",
7695
7950
  "pluginType": "core",
@@ -7700,10 +7955,10 @@
7700
7955
  "lib",
7701
7956
  "commands",
7702
7957
  "order",
7703
- "stop_editing.js"
7958
+ "save_payment_source_to_customer_wallet.js"
7704
7959
  ]
7705
7960
  },
7706
- "order:unarchive": {
7961
+ "order:save_shipping_address_to_customer_address_book": {
7707
7962
  "aliases": [],
7708
7963
  "args": {
7709
7964
  "id": {
@@ -7712,7 +7967,7 @@
7712
7967
  "required": true
7713
7968
  }
7714
7969
  },
7715
- "description": "Send this attribute if you want to unarchive the order.",
7970
+ "description": "Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address.",
7716
7971
  "flags": {
7717
7972
  "organization": {
7718
7973
  "char": "o",
@@ -7777,7 +8032,7 @@
7777
8032
  },
7778
8033
  "hasDynamicHelp": false,
7779
8034
  "hiddenAliases": [],
7780
- "id": "order:unarchive",
8035
+ "id": "order:save_shipping_address_to_customer_address_book",
7781
8036
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7782
8037
  "pluginName": "@commercelayer/cli-plugin-triggers",
7783
8038
  "pluginType": "core",
@@ -7788,10 +8043,10 @@
7788
8043
  "lib",
7789
8044
  "commands",
7790
8045
  "order",
7791
- "unarchive.js"
8046
+ "save_shipping_address_to_customer_address_book.js"
7792
8047
  ]
7793
8048
  },
7794
- "order:update_taxes": {
8049
+ "order:shipping_address_clone_id": {
7795
8050
  "aliases": [],
7796
8051
  "args": {
7797
8052
  "id": {
@@ -7800,7 +8055,7 @@
7800
8055
  "required": true
7801
8056
  }
7802
8057
  },
7803
- "description": "Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market).",
8058
+ "description": "The id of the address that you want to clone to create the order's shipping address.",
7804
8059
  "flags": {
7805
8060
  "organization": {
7806
8061
  "char": "o",
@@ -7861,11 +8116,20 @@
7861
8116
  "name": "unformatted",
7862
8117
  "allowNo": false,
7863
8118
  "type": "boolean"
8119
+ },
8120
+ "value": {
8121
+ "char": "v",
8122
+ "description": "the trigger attribute value",
8123
+ "name": "value",
8124
+ "required": true,
8125
+ "hasDynamicHelp": false,
8126
+ "multiple": false,
8127
+ "type": "option"
7864
8128
  }
7865
8129
  },
7866
8130
  "hasDynamicHelp": false,
7867
8131
  "hiddenAliases": [],
7868
- "id": "order:update_taxes",
8132
+ "id": "order:shipping_address_clone_id",
7869
8133
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7870
8134
  "pluginName": "@commercelayer/cli-plugin-triggers",
7871
8135
  "pluginType": "core",
@@ -7876,10 +8140,10 @@
7876
8140
  "lib",
7877
8141
  "commands",
7878
8142
  "order",
7879
- "update_taxes.js"
8143
+ "shipping_address_clone_id.js"
7880
8144
  ]
7881
8145
  },
7882
- "order:validate": {
8146
+ "order:shipping_address_same_as_billing": {
7883
8147
  "aliases": [],
7884
8148
  "args": {
7885
8149
  "id": {
@@ -7888,7 +8152,7 @@
7888
8152
  "required": true
7889
8153
  }
7890
8154
  },
7891
- "description": "Send this attribute if you want to trigger the external validation for the order.",
8155
+ "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
7892
8156
  "flags": {
7893
8157
  "organization": {
7894
8158
  "char": "o",
@@ -7953,7 +8217,7 @@
7953
8217
  },
7954
8218
  "hasDynamicHelp": false,
7955
8219
  "hiddenAliases": [],
7956
- "id": "order:validate",
8220
+ "id": "order:shipping_address_same_as_billing",
7957
8221
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7958
8222
  "pluginName": "@commercelayer/cli-plugin-triggers",
7959
8223
  "pluginType": "core",
@@ -7964,10 +8228,10 @@
7964
8228
  "lib",
7965
8229
  "commands",
7966
8230
  "order",
7967
- "validate.js"
8231
+ "shipping_address_same_as_billing.js"
7968
8232
  ]
7969
8233
  },
7970
- "order_subscription:activate": {
8234
+ "order:start_editing": {
7971
8235
  "aliases": [],
7972
8236
  "args": {
7973
8237
  "id": {
@@ -7976,7 +8240,7 @@
7976
8240
  "required": true
7977
8241
  }
7978
8242
  },
7979
- "description": "Send this attribute if you want to mark this subscription as active.",
8243
+ "description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount.",
7980
8244
  "flags": {
7981
8245
  "organization": {
7982
8246
  "char": "o",
@@ -8041,7 +8305,7 @@
8041
8305
  },
8042
8306
  "hasDynamicHelp": false,
8043
8307
  "hiddenAliases": [],
8044
- "id": "order_subscription:activate",
8308
+ "id": "order:start_editing",
8045
8309
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8046
8310
  "pluginName": "@commercelayer/cli-plugin-triggers",
8047
8311
  "pluginType": "core",
@@ -8051,11 +8315,11 @@
8051
8315
  "relativePath": [
8052
8316
  "lib",
8053
8317
  "commands",
8054
- "order_subscription",
8055
- "activate.js"
8318
+ "order",
8319
+ "start_editing.js"
8056
8320
  ]
8057
8321
  },
8058
- "order_subscription:cancel": {
8322
+ "order:stop_editing": {
8059
8323
  "aliases": [],
8060
8324
  "args": {
8061
8325
  "id": {
@@ -8064,7 +8328,7 @@
8064
8328
  "required": true
8065
8329
  }
8066
8330
  },
8067
- "description": "Send this attribute if you want to mark this subscription as cancelled.",
8331
+ "description": "Send this attribute to stop the editing for the order and return back to placed status.",
8068
8332
  "flags": {
8069
8333
  "organization": {
8070
8334
  "char": "o",
@@ -8129,7 +8393,7 @@
8129
8393
  },
8130
8394
  "hasDynamicHelp": false,
8131
8395
  "hiddenAliases": [],
8132
- "id": "order_subscription:cancel",
8396
+ "id": "order:stop_editing",
8133
8397
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8134
8398
  "pluginName": "@commercelayer/cli-plugin-triggers",
8135
8399
  "pluginType": "core",
@@ -8139,11 +8403,11 @@
8139
8403
  "relativePath": [
8140
8404
  "lib",
8141
8405
  "commands",
8142
- "order_subscription",
8143
- "cancel.js"
8406
+ "order",
8407
+ "stop_editing.js"
8144
8408
  ]
8145
8409
  },
8146
- "order_subscription:convert": {
8410
+ "order:unarchive": {
8147
8411
  "aliases": [],
8148
8412
  "args": {
8149
8413
  "id": {
@@ -8152,7 +8416,7 @@
8152
8416
  "required": true
8153
8417
  }
8154
8418
  },
8155
- "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
8419
+ "description": "Send this attribute if you want to unarchive the order.",
8156
8420
  "flags": {
8157
8421
  "organization": {
8158
8422
  "char": "o",
@@ -8217,7 +8481,7 @@
8217
8481
  },
8218
8482
  "hasDynamicHelp": false,
8219
8483
  "hiddenAliases": [],
8220
- "id": "order_subscription:convert",
8484
+ "id": "order:unarchive",
8221
8485
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8222
8486
  "pluginName": "@commercelayer/cli-plugin-triggers",
8223
8487
  "pluginType": "core",
@@ -8227,11 +8491,11 @@
8227
8491
  "relativePath": [
8228
8492
  "lib",
8229
8493
  "commands",
8230
- "order_subscription",
8231
- "convert.js"
8494
+ "order",
8495
+ "unarchive.js"
8232
8496
  ]
8233
8497
  },
8234
- "order_subscription:deactivate": {
8498
+ "order:update_taxes": {
8235
8499
  "aliases": [],
8236
8500
  "args": {
8237
8501
  "id": {
@@ -8240,7 +8504,7 @@
8240
8504
  "required": true
8241
8505
  }
8242
8506
  },
8243
- "description": "Send this attribute if you want to mark this subscription as inactive.",
8507
+ "description": "Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market).",
8244
8508
  "flags": {
8245
8509
  "organization": {
8246
8510
  "char": "o",
@@ -8305,7 +8569,7 @@
8305
8569
  },
8306
8570
  "hasDynamicHelp": false,
8307
8571
  "hiddenAliases": [],
8308
- "id": "order_subscription:deactivate",
8572
+ "id": "order:update_taxes",
8309
8573
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8310
8574
  "pluginName": "@commercelayer/cli-plugin-triggers",
8311
8575
  "pluginType": "core",
@@ -8315,11 +8579,11 @@
8315
8579
  "relativePath": [
8316
8580
  "lib",
8317
8581
  "commands",
8318
- "order_subscription",
8319
- "deactivate.js"
8582
+ "order",
8583
+ "update_taxes.js"
8320
8584
  ]
8321
8585
  },
8322
- "order_subscription": {
8586
+ "order:validate": {
8323
8587
  "aliases": [],
8324
8588
  "args": {
8325
8589
  "id": {
@@ -8328,7 +8592,7 @@
8328
8592
  "required": true
8329
8593
  }
8330
8594
  },
8331
- "description": "execute an action on a resource of type order_subscriptions",
8595
+ "description": "Send this attribute if you want to trigger the external validation for the order.",
8332
8596
  "flags": {
8333
8597
  "organization": {
8334
8598
  "char": "o",
@@ -8393,7 +8657,7 @@
8393
8657
  },
8394
8658
  "hasDynamicHelp": false,
8395
8659
  "hiddenAliases": [],
8396
- "id": "order_subscription",
8660
+ "id": "order:validate",
8397
8661
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8398
8662
  "pluginName": "@commercelayer/cli-plugin-triggers",
8399
8663
  "pluginType": "core",
@@ -8403,8 +8667,8 @@
8403
8667
  "relativePath": [
8404
8668
  "lib",
8405
8669
  "commands",
8406
- "order_subscription",
8407
- "index.js"
8670
+ "order",
8671
+ "validate.js"
8408
8672
  ]
8409
8673
  },
8410
8674
  "payment_method:disable": {
@@ -10431,6 +10695,94 @@
10431
10695
  "refresh.js"
10432
10696
  ]
10433
10697
  },
10698
+ "shipment:cancel": {
10699
+ "aliases": [],
10700
+ "args": {
10701
+ "id": {
10702
+ "description": "the unique id of the resource",
10703
+ "name": "id",
10704
+ "required": true
10705
+ }
10706
+ },
10707
+ "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered).",
10708
+ "flags": {
10709
+ "organization": {
10710
+ "char": "o",
10711
+ "description": "the slug of your organization",
10712
+ "env": "CL_CLI_ORGANIZATION",
10713
+ "hidden": true,
10714
+ "name": "organization",
10715
+ "required": true,
10716
+ "hasDynamicHelp": false,
10717
+ "multiple": false,
10718
+ "type": "option"
10719
+ },
10720
+ "domain": {
10721
+ "char": "d",
10722
+ "dependsOn": [
10723
+ "organization"
10724
+ ],
10725
+ "env": "CL_CLI_DOMAIN",
10726
+ "hidden": true,
10727
+ "name": "domain",
10728
+ "required": false,
10729
+ "hasDynamicHelp": false,
10730
+ "multiple": false,
10731
+ "type": "option"
10732
+ },
10733
+ "accessToken": {
10734
+ "env": "CL_CLI_ACCESS_TOKEN",
10735
+ "hidden": true,
10736
+ "name": "accessToken",
10737
+ "required": true,
10738
+ "hasDynamicHelp": false,
10739
+ "multiple": false,
10740
+ "type": "option"
10741
+ },
10742
+ "print": {
10743
+ "char": "p",
10744
+ "description": "print out the modified resource",
10745
+ "name": "print",
10746
+ "allowNo": false,
10747
+ "type": "boolean"
10748
+ },
10749
+ "json": {
10750
+ "char": "j",
10751
+ "dependsOn": [
10752
+ "print"
10753
+ ],
10754
+ "description": "print result in JSON format",
10755
+ "name": "json",
10756
+ "allowNo": false,
10757
+ "type": "boolean"
10758
+ },
10759
+ "unformatted": {
10760
+ "char": "u",
10761
+ "dependsOn": [
10762
+ "json"
10763
+ ],
10764
+ "description": "print JSON output without indentation",
10765
+ "name": "unformatted",
10766
+ "allowNo": false,
10767
+ "type": "boolean"
10768
+ }
10769
+ },
10770
+ "hasDynamicHelp": false,
10771
+ "hiddenAliases": [],
10772
+ "id": "shipment:cancel",
10773
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
10774
+ "pluginName": "@commercelayer/cli-plugin-triggers",
10775
+ "pluginType": "core",
10776
+ "strict": true,
10777
+ "enableJsonFlag": false,
10778
+ "isESM": false,
10779
+ "relativePath": [
10780
+ "lib",
10781
+ "commands",
10782
+ "shipment",
10783
+ "cancel.js"
10784
+ ]
10785
+ },
10434
10786
  "shipment:decrement_stock": {
10435
10787
  "aliases": [],
10436
10788
  "args": {
@@ -13864,5 +14216,5 @@
13864
14216
  ]
13865
14217
  }
13866
14218
  },
13867
- "version": "4.3.0"
14219
+ "version": "4.5.0"
13868
14220
  }