@commercelayer/cli-plugin-triggers 4.4.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.
- package/README.md +23 -0
- package/lib/commands/shipment/cancel.d.ts +9 -0
- package/lib/commands/shipment/cancel.js +22 -0
- package/lib/triggers/shipments.d.ts +1 -1
- package/lib/triggers/shipments.js +5 -0
- package/oclif.manifest.json +270 -182
- package/package.json +6 -6
package/oclif.manifest.json
CHANGED
|
@@ -5476,7 +5476,7 @@
|
|
|
5476
5476
|
"index.js"
|
|
5477
5477
|
]
|
|
5478
5478
|
},
|
|
5479
|
-
"
|
|
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": "Send this attribute if you want to
|
|
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": "
|
|
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
|
-
"
|
|
5564
|
-
"
|
|
5563
|
+
"order_subscription",
|
|
5564
|
+
"activate.js"
|
|
5565
5565
|
]
|
|
5566
5566
|
},
|
|
5567
|
-
"
|
|
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
|
|
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": "
|
|
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
|
-
"
|
|
5652
|
-
"
|
|
5651
|
+
"order_subscription",
|
|
5652
|
+
"cancel.js"
|
|
5653
5653
|
]
|
|
5654
5654
|
},
|
|
5655
|
-
"
|
|
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": "Send this attribute if you want to
|
|
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",
|
|
@@ -5726,7 +5726,7 @@
|
|
|
5726
5726
|
},
|
|
5727
5727
|
"hasDynamicHelp": false,
|
|
5728
5728
|
"hiddenAliases": [],
|
|
5729
|
-
"id": "
|
|
5729
|
+
"id": "order_subscription:convert",
|
|
5730
5730
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5731
5731
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5732
5732
|
"pluginType": "core",
|
|
@@ -5736,11 +5736,11 @@
|
|
|
5736
5736
|
"relativePath": [
|
|
5737
5737
|
"lib",
|
|
5738
5738
|
"commands",
|
|
5739
|
-
"
|
|
5740
|
-
"
|
|
5739
|
+
"order_subscription",
|
|
5740
|
+
"convert.js"
|
|
5741
5741
|
]
|
|
5742
5742
|
},
|
|
5743
|
-
"
|
|
5743
|
+
"order_subscription:deactivate": {
|
|
5744
5744
|
"aliases": [],
|
|
5745
5745
|
"args": {
|
|
5746
5746
|
"id": {
|
|
@@ -5749,7 +5749,7 @@
|
|
|
5749
5749
|
"required": true
|
|
5750
5750
|
}
|
|
5751
5751
|
},
|
|
5752
|
-
"description": "
|
|
5752
|
+
"description": "Send this attribute if you want to mark this subscription as inactive.",
|
|
5753
5753
|
"flags": {
|
|
5754
5754
|
"organization": {
|
|
5755
5755
|
"char": "o",
|
|
@@ -5814,7 +5814,7 @@
|
|
|
5814
5814
|
},
|
|
5815
5815
|
"hasDynamicHelp": false,
|
|
5816
5816
|
"hiddenAliases": [],
|
|
5817
|
-
"id": "
|
|
5817
|
+
"id": "order_subscription:deactivate",
|
|
5818
5818
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5819
5819
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5820
5820
|
"pluginType": "core",
|
|
@@ -5824,11 +5824,11 @@
|
|
|
5824
5824
|
"relativePath": [
|
|
5825
5825
|
"lib",
|
|
5826
5826
|
"commands",
|
|
5827
|
-
"
|
|
5828
|
-
"
|
|
5827
|
+
"order_subscription",
|
|
5828
|
+
"deactivate.js"
|
|
5829
5829
|
]
|
|
5830
5830
|
},
|
|
5831
|
-
"
|
|
5831
|
+
"order_subscription": {
|
|
5832
5832
|
"aliases": [],
|
|
5833
5833
|
"args": {
|
|
5834
5834
|
"id": {
|
|
@@ -5837,7 +5837,7 @@
|
|
|
5837
5837
|
"required": true
|
|
5838
5838
|
}
|
|
5839
5839
|
},
|
|
5840
|
-
"description": "
|
|
5840
|
+
"description": "execute an action on a resource of type order_subscriptions",
|
|
5841
5841
|
"flags": {
|
|
5842
5842
|
"organization": {
|
|
5843
5843
|
"char": "o",
|
|
@@ -5902,7 +5902,7 @@
|
|
|
5902
5902
|
},
|
|
5903
5903
|
"hasDynamicHelp": false,
|
|
5904
5904
|
"hiddenAliases": [],
|
|
5905
|
-
"id": "
|
|
5905
|
+
"id": "order_subscription",
|
|
5906
5906
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5907
5907
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5908
5908
|
"pluginType": "core",
|
|
@@ -5912,11 +5912,11 @@
|
|
|
5912
5912
|
"relativePath": [
|
|
5913
5913
|
"lib",
|
|
5914
5914
|
"commands",
|
|
5915
|
-
"
|
|
5916
|
-
"
|
|
5915
|
+
"order_subscription",
|
|
5916
|
+
"index.js"
|
|
5917
5917
|
]
|
|
5918
5918
|
},
|
|
5919
|
-
"order:
|
|
5919
|
+
"order:approve": {
|
|
5920
5920
|
"aliases": [],
|
|
5921
5921
|
"args": {
|
|
5922
5922
|
"id": {
|
|
@@ -5925,7 +5925,7 @@
|
|
|
5925
5925
|
"required": true
|
|
5926
5926
|
}
|
|
5927
5927
|
},
|
|
5928
|
-
"description": "
|
|
5928
|
+
"description": "Send this attribute if you want to approve a placed order.",
|
|
5929
5929
|
"flags": {
|
|
5930
5930
|
"organization": {
|
|
5931
5931
|
"char": "o",
|
|
@@ -5986,20 +5986,11 @@
|
|
|
5986
5986
|
"name": "unformatted",
|
|
5987
5987
|
"allowNo": false,
|
|
5988
5988
|
"type": "boolean"
|
|
5989
|
-
},
|
|
5990
|
-
"value": {
|
|
5991
|
-
"char": "v",
|
|
5992
|
-
"description": "the trigger attribute value",
|
|
5993
|
-
"name": "value",
|
|
5994
|
-
"required": true,
|
|
5995
|
-
"hasDynamicHelp": false,
|
|
5996
|
-
"multiple": false,
|
|
5997
|
-
"type": "option"
|
|
5998
5989
|
}
|
|
5999
5990
|
},
|
|
6000
5991
|
"hasDynamicHelp": false,
|
|
6001
5992
|
"hiddenAliases": [],
|
|
6002
|
-
"id": "order:
|
|
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
|
-
"
|
|
6004
|
+
"approve.js"
|
|
6014
6005
|
]
|
|
6015
6006
|
},
|
|
6016
|
-
"order:
|
|
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
|
|
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:
|
|
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
|
-
"
|
|
6092
|
+
"approve_and_capture.js"
|
|
6102
6093
|
]
|
|
6103
6094
|
},
|
|
6104
|
-
"order:
|
|
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 if you want to
|
|
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:
|
|
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
|
-
"
|
|
6180
|
+
"archive.js"
|
|
6190
6181
|
]
|
|
6191
6182
|
},
|
|
6192
|
-
"order:
|
|
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": "
|
|
6192
|
+
"description": "The authorization amount, in cents.",
|
|
6202
6193
|
"flags": {
|
|
6203
6194
|
"organization": {
|
|
6204
6195
|
"char": "o",
|
|
@@ -6263,7 +6254,7 @@
|
|
|
6263
6254
|
},
|
|
6264
6255
|
"hasDynamicHelp": false,
|
|
6265
6256
|
"hiddenAliases": [],
|
|
6266
|
-
"id": "order:
|
|
6257
|
+
"id": "order:authorization_amount_cents",
|
|
6267
6258
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6268
6259
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6269
6260
|
"pluginType": "core",
|
|
@@ -6274,10 +6265,10 @@
|
|
|
6274
6265
|
"lib",
|
|
6275
6266
|
"commands",
|
|
6276
6267
|
"order",
|
|
6277
|
-
"
|
|
6268
|
+
"authorization_amount_cents.js"
|
|
6278
6269
|
]
|
|
6279
6270
|
},
|
|
6280
|
-
"order:
|
|
6271
|
+
"order:authorize": {
|
|
6281
6272
|
"aliases": [],
|
|
6282
6273
|
"args": {
|
|
6283
6274
|
"id": {
|
|
@@ -6286,7 +6277,7 @@
|
|
|
6286
6277
|
"required": true
|
|
6287
6278
|
}
|
|
6288
6279
|
},
|
|
6289
|
-
"description": "Send this attribute if you want
|
|
6280
|
+
"description": "Send this attribute if you want to authorize the order's payment source.",
|
|
6290
6281
|
"flags": {
|
|
6291
6282
|
"organization": {
|
|
6292
6283
|
"char": "o",
|
|
@@ -6351,7 +6342,7 @@
|
|
|
6351
6342
|
},
|
|
6352
6343
|
"hasDynamicHelp": false,
|
|
6353
6344
|
"hiddenAliases": [],
|
|
6354
|
-
"id": "order:
|
|
6345
|
+
"id": "order:authorize",
|
|
6355
6346
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6356
6347
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6357
6348
|
"pluginType": "core",
|
|
@@ -6362,10 +6353,10 @@
|
|
|
6362
6353
|
"lib",
|
|
6363
6354
|
"commands",
|
|
6364
6355
|
"order",
|
|
6365
|
-
"
|
|
6356
|
+
"authorize.js"
|
|
6366
6357
|
]
|
|
6367
6358
|
},
|
|
6368
|
-
"order:
|
|
6359
|
+
"order:billing_address_clone_id": {
|
|
6369
6360
|
"aliases": [],
|
|
6370
6361
|
"args": {
|
|
6371
6362
|
"id": {
|
|
@@ -6374,7 +6365,7 @@
|
|
|
6374
6365
|
"required": true
|
|
6375
6366
|
}
|
|
6376
6367
|
},
|
|
6377
|
-
"description": "
|
|
6368
|
+
"description": "The id of the address that you want to clone to create the order's billing address.",
|
|
6378
6369
|
"flags": {
|
|
6379
6370
|
"organization": {
|
|
6380
6371
|
"char": "o",
|
|
@@ -6435,11 +6426,20 @@
|
|
|
6435
6426
|
"name": "unformatted",
|
|
6436
6427
|
"allowNo": false,
|
|
6437
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"
|
|
6438
6438
|
}
|
|
6439
6439
|
},
|
|
6440
6440
|
"hasDynamicHelp": false,
|
|
6441
6441
|
"hiddenAliases": [],
|
|
6442
|
-
"id": "order:
|
|
6442
|
+
"id": "order:billing_address_clone_id",
|
|
6443
6443
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6444
6444
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6445
6445
|
"pluginType": "core",
|
|
@@ -6450,10 +6450,10 @@
|
|
|
6450
6450
|
"lib",
|
|
6451
6451
|
"commands",
|
|
6452
6452
|
"order",
|
|
6453
|
-
"
|
|
6453
|
+
"billing_address_clone_id.js"
|
|
6454
6454
|
]
|
|
6455
6455
|
},
|
|
6456
|
-
"order:
|
|
6456
|
+
"order:billing_address_same_as_shipping": {
|
|
6457
6457
|
"aliases": [],
|
|
6458
6458
|
"args": {
|
|
6459
6459
|
"id": {
|
|
@@ -6462,7 +6462,7 @@
|
|
|
6462
6462
|
"required": true
|
|
6463
6463
|
}
|
|
6464
6464
|
},
|
|
6465
|
-
"description": "
|
|
6465
|
+
"description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
|
|
6466
6466
|
"flags": {
|
|
6467
6467
|
"organization": {
|
|
6468
6468
|
"char": "o",
|
|
@@ -6523,20 +6523,11 @@
|
|
|
6523
6523
|
"name": "unformatted",
|
|
6524
6524
|
"allowNo": false,
|
|
6525
6525
|
"type": "boolean"
|
|
6526
|
-
},
|
|
6527
|
-
"value": {
|
|
6528
|
-
"char": "v",
|
|
6529
|
-
"description": "the trigger attribute value",
|
|
6530
|
-
"name": "value",
|
|
6531
|
-
"required": true,
|
|
6532
|
-
"hasDynamicHelp": false,
|
|
6533
|
-
"multiple": false,
|
|
6534
|
-
"type": "option"
|
|
6535
6526
|
}
|
|
6536
6527
|
},
|
|
6537
6528
|
"hasDynamicHelp": false,
|
|
6538
6529
|
"hiddenAliases": [],
|
|
6539
|
-
"id": "order:
|
|
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
|
-
"
|
|
6541
|
+
"billing_address_same_as_shipping.js"
|
|
6551
6542
|
]
|
|
6552
6543
|
},
|
|
6553
|
-
"order:
|
|
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
|
|
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:
|
|
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
|
-
"
|
|
6629
|
+
"cancel.js"
|
|
6639
6630
|
]
|
|
6640
6631
|
},
|
|
6641
|
-
"order": {
|
|
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": "
|
|
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",
|
|
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
|
-
"
|
|
6717
|
+
"capture.js"
|
|
6727
6718
|
]
|
|
6728
6719
|
},
|
|
6729
|
-
"order:
|
|
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
|
|
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:
|
|
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
|
-
"
|
|
6805
|
+
"commit_invoice.js"
|
|
6815
6806
|
]
|
|
6816
6807
|
},
|
|
6817
|
-
"order:
|
|
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
|
|
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,7 @@
|
|
|
6888
6879
|
},
|
|
6889
6880
|
"hasDynamicHelp": false,
|
|
6890
6881
|
"hiddenAliases": [],
|
|
6891
|
-
"id": "order:
|
|
6882
|
+
"id": "order:create_subscriptions",
|
|
6892
6883
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6893
6884
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6894
6885
|
"pluginType": "core",
|
|
@@ -6899,10 +6890,10 @@
|
|
|
6899
6890
|
"lib",
|
|
6900
6891
|
"commands",
|
|
6901
6892
|
"order",
|
|
6902
|
-
"
|
|
6893
|
+
"create_subscriptions.js"
|
|
6903
6894
|
]
|
|
6904
6895
|
},
|
|
6905
|
-
"order:
|
|
6896
|
+
"order:customer_payment_source_id": {
|
|
6906
6897
|
"aliases": [],
|
|
6907
6898
|
"args": {
|
|
6908
6899
|
"id": {
|
|
@@ -6911,7 +6902,7 @@
|
|
|
6911
6902
|
"required": true
|
|
6912
6903
|
}
|
|
6913
6904
|
},
|
|
6914
|
-
"description": "
|
|
6905
|
+
"description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
|
|
6915
6906
|
"flags": {
|
|
6916
6907
|
"organization": {
|
|
6917
6908
|
"char": "o",
|
|
@@ -6972,11 +6963,20 @@
|
|
|
6972
6963
|
"name": "unformatted",
|
|
6973
6964
|
"allowNo": false,
|
|
6974
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
6975
|
}
|
|
6976
6976
|
},
|
|
6977
6977
|
"hasDynamicHelp": false,
|
|
6978
6978
|
"hiddenAliases": [],
|
|
6979
|
-
"id": "order:
|
|
6979
|
+
"id": "order:customer_payment_source_id",
|
|
6980
6980
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6981
6981
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6982
6982
|
"pluginType": "core",
|
|
@@ -6987,10 +6987,10 @@
|
|
|
6987
6987
|
"lib",
|
|
6988
6988
|
"commands",
|
|
6989
6989
|
"order",
|
|
6990
|
-
"
|
|
6990
|
+
"customer_payment_source_id.js"
|
|
6991
6991
|
]
|
|
6992
6992
|
},
|
|
6993
|
-
"order:
|
|
6993
|
+
"order:fulfill": {
|
|
6994
6994
|
"aliases": [],
|
|
6995
6995
|
"args": {
|
|
6996
6996
|
"id": {
|
|
@@ -6999,7 +6999,7 @@
|
|
|
6999
6999
|
"required": true
|
|
7000
7000
|
}
|
|
7001
7001
|
},
|
|
7002
|
-
"description": "Send this attribute if you want to
|
|
7002
|
+
"description": "Send this attribute if you want to mark as fulfilled a shipped/delivered order.",
|
|
7003
7003
|
"flags": {
|
|
7004
7004
|
"organization": {
|
|
7005
7005
|
"char": "o",
|
|
@@ -7064,7 +7064,7 @@
|
|
|
7064
7064
|
},
|
|
7065
7065
|
"hasDynamicHelp": false,
|
|
7066
7066
|
"hiddenAliases": [],
|
|
7067
|
-
"id": "order:
|
|
7067
|
+
"id": "order:fulfill",
|
|
7068
7068
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7069
7069
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7070
7070
|
"pluginType": "core",
|
|
@@ -7075,10 +7075,10 @@
|
|
|
7075
7075
|
"lib",
|
|
7076
7076
|
"commands",
|
|
7077
7077
|
"order",
|
|
7078
|
-
"
|
|
7078
|
+
"fulfill.js"
|
|
7079
7079
|
]
|
|
7080
7080
|
},
|
|
7081
|
-
"order
|
|
7081
|
+
"order": {
|
|
7082
7082
|
"aliases": [],
|
|
7083
7083
|
"args": {
|
|
7084
7084
|
"id": {
|
|
@@ -7087,7 +7087,7 @@
|
|
|
7087
7087
|
"required": true
|
|
7088
7088
|
}
|
|
7089
7089
|
},
|
|
7090
|
-
"description": "
|
|
7090
|
+
"description": "execute an action on a resource of type orders",
|
|
7091
7091
|
"flags": {
|
|
7092
7092
|
"organization": {
|
|
7093
7093
|
"char": "o",
|
|
@@ -7152,7 +7152,7 @@
|
|
|
7152
7152
|
},
|
|
7153
7153
|
"hasDynamicHelp": false,
|
|
7154
7154
|
"hiddenAliases": [],
|
|
7155
|
-
"id": "order
|
|
7155
|
+
"id": "order",
|
|
7156
7156
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7157
7157
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7158
7158
|
"pluginType": "core",
|
|
@@ -7163,10 +7163,10 @@
|
|
|
7163
7163
|
"lib",
|
|
7164
7164
|
"commands",
|
|
7165
7165
|
"order",
|
|
7166
|
-
"
|
|
7166
|
+
"index.js"
|
|
7167
7167
|
]
|
|
7168
7168
|
},
|
|
7169
|
-
"order:
|
|
7169
|
+
"order:nullify_payment_source": {
|
|
7170
7170
|
"aliases": [],
|
|
7171
7171
|
"args": {
|
|
7172
7172
|
"id": {
|
|
@@ -7175,7 +7175,7 @@
|
|
|
7175
7175
|
"required": true
|
|
7176
7176
|
}
|
|
7177
7177
|
},
|
|
7178
|
-
"description": "Send this attribute if you want
|
|
7178
|
+
"description": "Send this attribute if you want to nullify the payment source for this order.",
|
|
7179
7179
|
"flags": {
|
|
7180
7180
|
"organization": {
|
|
7181
7181
|
"char": "o",
|
|
@@ -7240,7 +7240,7 @@
|
|
|
7240
7240
|
},
|
|
7241
7241
|
"hasDynamicHelp": false,
|
|
7242
7242
|
"hiddenAliases": [],
|
|
7243
|
-
"id": "order:
|
|
7243
|
+
"id": "order:nullify_payment_source",
|
|
7244
7244
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7245
7245
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7246
7246
|
"pluginType": "core",
|
|
@@ -7251,10 +7251,10 @@
|
|
|
7251
7251
|
"lib",
|
|
7252
7252
|
"commands",
|
|
7253
7253
|
"order",
|
|
7254
|
-
"
|
|
7254
|
+
"nullify_payment_source.js"
|
|
7255
7255
|
]
|
|
7256
7256
|
},
|
|
7257
|
-
"order:
|
|
7257
|
+
"order:pending": {
|
|
7258
7258
|
"aliases": [],
|
|
7259
7259
|
"args": {
|
|
7260
7260
|
"id": {
|
|
@@ -7263,7 +7263,7 @@
|
|
|
7263
7263
|
"required": true
|
|
7264
7264
|
}
|
|
7265
7265
|
},
|
|
7266
|
-
"description": "Send this attribute if you want to
|
|
7266
|
+
"description": "Send this attribute if you want to move a draft or placing order to pending.",
|
|
7267
7267
|
"flags": {
|
|
7268
7268
|
"organization": {
|
|
7269
7269
|
"char": "o",
|
|
@@ -7328,7 +7328,7 @@
|
|
|
7328
7328
|
},
|
|
7329
7329
|
"hasDynamicHelp": false,
|
|
7330
7330
|
"hiddenAliases": [],
|
|
7331
|
-
"id": "order:
|
|
7331
|
+
"id": "order:pending",
|
|
7332
7332
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7333
7333
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7334
7334
|
"pluginType": "core",
|
|
@@ -7339,10 +7339,10 @@
|
|
|
7339
7339
|
"lib",
|
|
7340
7340
|
"commands",
|
|
7341
7341
|
"order",
|
|
7342
|
-
"
|
|
7342
|
+
"pending.js"
|
|
7343
7343
|
]
|
|
7344
7344
|
},
|
|
7345
|
-
"order:
|
|
7345
|
+
"order:place": {
|
|
7346
7346
|
"aliases": [],
|
|
7347
7347
|
"args": {
|
|
7348
7348
|
"id": {
|
|
@@ -7351,7 +7351,7 @@
|
|
|
7351
7351
|
"required": true
|
|
7352
7352
|
}
|
|
7353
7353
|
},
|
|
7354
|
-
"description": "Send this attribute if you want
|
|
7354
|
+
"description": "Send this attribute if you want to place the order.",
|
|
7355
7355
|
"flags": {
|
|
7356
7356
|
"organization": {
|
|
7357
7357
|
"char": "o",
|
|
@@ -7416,7 +7416,7 @@
|
|
|
7416
7416
|
},
|
|
7417
7417
|
"hasDynamicHelp": false,
|
|
7418
7418
|
"hiddenAliases": [],
|
|
7419
|
-
"id": "order:
|
|
7419
|
+
"id": "order:place",
|
|
7420
7420
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7421
7421
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7422
7422
|
"pluginType": "core",
|
|
@@ -7427,10 +7427,10 @@
|
|
|
7427
7427
|
"lib",
|
|
7428
7428
|
"commands",
|
|
7429
7429
|
"order",
|
|
7430
|
-
"
|
|
7430
|
+
"place.js"
|
|
7431
7431
|
]
|
|
7432
7432
|
},
|
|
7433
|
-
"order:
|
|
7433
|
+
"order:refresh": {
|
|
7434
7434
|
"aliases": [],
|
|
7435
7435
|
"args": {
|
|
7436
7436
|
"id": {
|
|
@@ -7439,7 +7439,7 @@
|
|
|
7439
7439
|
"required": true
|
|
7440
7440
|
}
|
|
7441
7441
|
},
|
|
7442
|
-
"description": "Send this attribute if you want
|
|
7442
|
+
"description": "Send this attribute if you want to manually refresh the order.",
|
|
7443
7443
|
"flags": {
|
|
7444
7444
|
"organization": {
|
|
7445
7445
|
"char": "o",
|
|
@@ -7504,7 +7504,7 @@
|
|
|
7504
7504
|
},
|
|
7505
7505
|
"hasDynamicHelp": false,
|
|
7506
7506
|
"hiddenAliases": [],
|
|
7507
|
-
"id": "order:
|
|
7507
|
+
"id": "order:refresh",
|
|
7508
7508
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7509
7509
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7510
7510
|
"pluginType": "core",
|
|
@@ -7515,10 +7515,10 @@
|
|
|
7515
7515
|
"lib",
|
|
7516
7516
|
"commands",
|
|
7517
7517
|
"order",
|
|
7518
|
-
"
|
|
7518
|
+
"refresh.js"
|
|
7519
7519
|
]
|
|
7520
7520
|
},
|
|
7521
|
-
"order:
|
|
7521
|
+
"order:refund": {
|
|
7522
7522
|
"aliases": [],
|
|
7523
7523
|
"args": {
|
|
7524
7524
|
"id": {
|
|
@@ -7527,7 +7527,7 @@
|
|
|
7527
7527
|
"required": true
|
|
7528
7528
|
}
|
|
7529
7529
|
},
|
|
7530
|
-
"description": "Send this attribute if you want
|
|
7530
|
+
"description": "Send this attribute if you want to refund a captured order.",
|
|
7531
7531
|
"flags": {
|
|
7532
7532
|
"organization": {
|
|
7533
7533
|
"char": "o",
|
|
@@ -7592,7 +7592,7 @@
|
|
|
7592
7592
|
},
|
|
7593
7593
|
"hasDynamicHelp": false,
|
|
7594
7594
|
"hiddenAliases": [],
|
|
7595
|
-
"id": "order:
|
|
7595
|
+
"id": "order:refund",
|
|
7596
7596
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7597
7597
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7598
7598
|
"pluginType": "core",
|
|
@@ -7603,10 +7603,10 @@
|
|
|
7603
7603
|
"lib",
|
|
7604
7604
|
"commands",
|
|
7605
7605
|
"order",
|
|
7606
|
-
"
|
|
7606
|
+
"refund.js"
|
|
7607
7607
|
]
|
|
7608
7608
|
},
|
|
7609
|
-
"order:
|
|
7609
|
+
"order:refund_invoice": {
|
|
7610
7610
|
"aliases": [],
|
|
7611
7611
|
"args": {
|
|
7612
7612
|
"id": {
|
|
@@ -7615,7 +7615,7 @@
|
|
|
7615
7615
|
"required": true
|
|
7616
7616
|
}
|
|
7617
7617
|
},
|
|
7618
|
-
"description": "
|
|
7618
|
+
"description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
|
|
7619
7619
|
"flags": {
|
|
7620
7620
|
"organization": {
|
|
7621
7621
|
"char": "o",
|
|
@@ -7676,20 +7676,11 @@
|
|
|
7676
7676
|
"name": "unformatted",
|
|
7677
7677
|
"allowNo": false,
|
|
7678
7678
|
"type": "boolean"
|
|
7679
|
-
},
|
|
7680
|
-
"value": {
|
|
7681
|
-
"char": "v",
|
|
7682
|
-
"description": "the trigger attribute value",
|
|
7683
|
-
"name": "value",
|
|
7684
|
-
"required": true,
|
|
7685
|
-
"hasDynamicHelp": false,
|
|
7686
|
-
"multiple": false,
|
|
7687
|
-
"type": "option"
|
|
7688
7679
|
}
|
|
7689
7680
|
},
|
|
7690
7681
|
"hasDynamicHelp": false,
|
|
7691
7682
|
"hiddenAliases": [],
|
|
7692
|
-
"id": "order:
|
|
7683
|
+
"id": "order:refund_invoice",
|
|
7693
7684
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7694
7685
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7695
7686
|
"pluginType": "core",
|
|
@@ -7700,10 +7691,10 @@
|
|
|
7700
7691
|
"lib",
|
|
7701
7692
|
"commands",
|
|
7702
7693
|
"order",
|
|
7703
|
-
"
|
|
7694
|
+
"refund_invoice.js"
|
|
7704
7695
|
]
|
|
7705
7696
|
},
|
|
7706
|
-
"order:
|
|
7697
|
+
"order:reset_circuit": {
|
|
7707
7698
|
"aliases": [],
|
|
7708
7699
|
"args": {
|
|
7709
7700
|
"id": {
|
|
@@ -7712,7 +7703,7 @@
|
|
|
7712
7703
|
"required": true
|
|
7713
7704
|
}
|
|
7714
7705
|
},
|
|
7715
|
-
"description": "Send this attribute if you want the
|
|
7706
|
+
"description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
|
|
7716
7707
|
"flags": {
|
|
7717
7708
|
"organization": {
|
|
7718
7709
|
"char": "o",
|
|
@@ -7777,7 +7768,7 @@
|
|
|
7777
7768
|
},
|
|
7778
7769
|
"hasDynamicHelp": false,
|
|
7779
7770
|
"hiddenAliases": [],
|
|
7780
|
-
"id": "order:
|
|
7771
|
+
"id": "order:reset_circuit",
|
|
7781
7772
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7782
7773
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7783
7774
|
"pluginType": "core",
|
|
@@ -7788,10 +7779,10 @@
|
|
|
7788
7779
|
"lib",
|
|
7789
7780
|
"commands",
|
|
7790
7781
|
"order",
|
|
7791
|
-
"
|
|
7782
|
+
"reset_circuit.js"
|
|
7792
7783
|
]
|
|
7793
7784
|
},
|
|
7794
|
-
"order:
|
|
7785
|
+
"order:save_billing_address_to_customer_address_book": {
|
|
7795
7786
|
"aliases": [],
|
|
7796
7787
|
"args": {
|
|
7797
7788
|
"id": {
|
|
@@ -7800,7 +7791,7 @@
|
|
|
7800
7791
|
"required": true
|
|
7801
7792
|
}
|
|
7802
7793
|
},
|
|
7803
|
-
"description": "Send this attribute if you want
|
|
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.",
|
|
7804
7795
|
"flags": {
|
|
7805
7796
|
"organization": {
|
|
7806
7797
|
"char": "o",
|
|
@@ -7865,7 +7856,7 @@
|
|
|
7865
7856
|
},
|
|
7866
7857
|
"hasDynamicHelp": false,
|
|
7867
7858
|
"hiddenAliases": [],
|
|
7868
|
-
"id": "order:
|
|
7859
|
+
"id": "order:save_billing_address_to_customer_address_book",
|
|
7869
7860
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7870
7861
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7871
7862
|
"pluginType": "core",
|
|
@@ -7876,10 +7867,10 @@
|
|
|
7876
7867
|
"lib",
|
|
7877
7868
|
"commands",
|
|
7878
7869
|
"order",
|
|
7879
|
-
"
|
|
7870
|
+
"save_billing_address_to_customer_address_book.js"
|
|
7880
7871
|
]
|
|
7881
7872
|
},
|
|
7882
|
-
"order:
|
|
7873
|
+
"order:save_payment_source_to_customer_wallet": {
|
|
7883
7874
|
"aliases": [],
|
|
7884
7875
|
"args": {
|
|
7885
7876
|
"id": {
|
|
@@ -7888,7 +7879,7 @@
|
|
|
7888
7879
|
"required": true
|
|
7889
7880
|
}
|
|
7890
7881
|
},
|
|
7891
|
-
"description": "Send this attribute
|
|
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.",
|
|
7892
7883
|
"flags": {
|
|
7893
7884
|
"organization": {
|
|
7894
7885
|
"char": "o",
|
|
@@ -7953,7 +7944,7 @@
|
|
|
7953
7944
|
},
|
|
7954
7945
|
"hasDynamicHelp": false,
|
|
7955
7946
|
"hiddenAliases": [],
|
|
7956
|
-
"id": "order:
|
|
7947
|
+
"id": "order:save_payment_source_to_customer_wallet",
|
|
7957
7948
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7958
7949
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7959
7950
|
"pluginType": "core",
|
|
@@ -7964,10 +7955,10 @@
|
|
|
7964
7955
|
"lib",
|
|
7965
7956
|
"commands",
|
|
7966
7957
|
"order",
|
|
7967
|
-
"
|
|
7958
|
+
"save_payment_source_to_customer_wallet.js"
|
|
7968
7959
|
]
|
|
7969
7960
|
},
|
|
7970
|
-
"order:
|
|
7961
|
+
"order:save_shipping_address_to_customer_address_book": {
|
|
7971
7962
|
"aliases": [],
|
|
7972
7963
|
"args": {
|
|
7973
7964
|
"id": {
|
|
@@ -7976,7 +7967,7 @@
|
|
|
7976
7967
|
"required": true
|
|
7977
7968
|
}
|
|
7978
7969
|
},
|
|
7979
|
-
"description": "Send this attribute if you want to
|
|
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.",
|
|
7980
7971
|
"flags": {
|
|
7981
7972
|
"organization": {
|
|
7982
7973
|
"char": "o",
|
|
@@ -8041,7 +8032,7 @@
|
|
|
8041
8032
|
},
|
|
8042
8033
|
"hasDynamicHelp": false,
|
|
8043
8034
|
"hiddenAliases": [],
|
|
8044
|
-
"id": "order:
|
|
8035
|
+
"id": "order:save_shipping_address_to_customer_address_book",
|
|
8045
8036
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
8046
8037
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
8047
8038
|
"pluginType": "core",
|
|
@@ -8052,10 +8043,10 @@
|
|
|
8052
8043
|
"lib",
|
|
8053
8044
|
"commands",
|
|
8054
8045
|
"order",
|
|
8055
|
-
"
|
|
8046
|
+
"save_shipping_address_to_customer_address_book.js"
|
|
8056
8047
|
]
|
|
8057
8048
|
},
|
|
8058
|
-
"order:
|
|
8049
|
+
"order:shipping_address_clone_id": {
|
|
8059
8050
|
"aliases": [],
|
|
8060
8051
|
"args": {
|
|
8061
8052
|
"id": {
|
|
@@ -8064,7 +8055,7 @@
|
|
|
8064
8055
|
"required": true
|
|
8065
8056
|
}
|
|
8066
8057
|
},
|
|
8067
|
-
"description": "
|
|
8058
|
+
"description": "The id of the address that you want to clone to create the order's shipping address.",
|
|
8068
8059
|
"flags": {
|
|
8069
8060
|
"organization": {
|
|
8070
8061
|
"char": "o",
|
|
@@ -8125,11 +8116,20 @@
|
|
|
8125
8116
|
"name": "unformatted",
|
|
8126
8117
|
"allowNo": false,
|
|
8127
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"
|
|
8128
8128
|
}
|
|
8129
8129
|
},
|
|
8130
8130
|
"hasDynamicHelp": false,
|
|
8131
8131
|
"hiddenAliases": [],
|
|
8132
|
-
"id": "order:
|
|
8132
|
+
"id": "order:shipping_address_clone_id",
|
|
8133
8133
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
8134
8134
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
8135
8135
|
"pluginType": "core",
|
|
@@ -8140,10 +8140,10 @@
|
|
|
8140
8140
|
"lib",
|
|
8141
8141
|
"commands",
|
|
8142
8142
|
"order",
|
|
8143
|
-
"
|
|
8143
|
+
"shipping_address_clone_id.js"
|
|
8144
8144
|
]
|
|
8145
8145
|
},
|
|
8146
|
-
"order:
|
|
8146
|
+
"order:shipping_address_same_as_billing": {
|
|
8147
8147
|
"aliases": [],
|
|
8148
8148
|
"args": {
|
|
8149
8149
|
"id": {
|
|
@@ -8152,7 +8152,7 @@
|
|
|
8152
8152
|
"required": true
|
|
8153
8153
|
}
|
|
8154
8154
|
},
|
|
8155
|
-
"description": "Send this attribute if you want
|
|
8155
|
+
"description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
|
|
8156
8156
|
"flags": {
|
|
8157
8157
|
"organization": {
|
|
8158
8158
|
"char": "o",
|
|
@@ -8217,7 +8217,7 @@
|
|
|
8217
8217
|
},
|
|
8218
8218
|
"hasDynamicHelp": false,
|
|
8219
8219
|
"hiddenAliases": [],
|
|
8220
|
-
"id": "order:
|
|
8220
|
+
"id": "order:shipping_address_same_as_billing",
|
|
8221
8221
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
8222
8222
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
8223
8223
|
"pluginType": "core",
|
|
@@ -8228,10 +8228,10 @@
|
|
|
8228
8228
|
"lib",
|
|
8229
8229
|
"commands",
|
|
8230
8230
|
"order",
|
|
8231
|
-
"
|
|
8231
|
+
"shipping_address_same_as_billing.js"
|
|
8232
8232
|
]
|
|
8233
8233
|
},
|
|
8234
|
-
"
|
|
8234
|
+
"order:start_editing": {
|
|
8235
8235
|
"aliases": [],
|
|
8236
8236
|
"args": {
|
|
8237
8237
|
"id": {
|
|
@@ -8240,7 +8240,7 @@
|
|
|
8240
8240
|
"required": true
|
|
8241
8241
|
}
|
|
8242
8242
|
},
|
|
8243
|
-
"description": "Send this attribute if you want to
|
|
8243
|
+
"description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount.",
|
|
8244
8244
|
"flags": {
|
|
8245
8245
|
"organization": {
|
|
8246
8246
|
"char": "o",
|
|
@@ -8305,7 +8305,7 @@
|
|
|
8305
8305
|
},
|
|
8306
8306
|
"hasDynamicHelp": false,
|
|
8307
8307
|
"hiddenAliases": [],
|
|
8308
|
-
"id": "
|
|
8308
|
+
"id": "order:start_editing",
|
|
8309
8309
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
8310
8310
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
8311
8311
|
"pluginType": "core",
|
|
@@ -8315,11 +8315,11 @@
|
|
|
8315
8315
|
"relativePath": [
|
|
8316
8316
|
"lib",
|
|
8317
8317
|
"commands",
|
|
8318
|
-
"
|
|
8319
|
-
"
|
|
8318
|
+
"order",
|
|
8319
|
+
"start_editing.js"
|
|
8320
8320
|
]
|
|
8321
8321
|
},
|
|
8322
|
-
"
|
|
8322
|
+
"order:stop_editing": {
|
|
8323
8323
|
"aliases": [],
|
|
8324
8324
|
"args": {
|
|
8325
8325
|
"id": {
|
|
@@ -8328,7 +8328,7 @@
|
|
|
8328
8328
|
"required": true
|
|
8329
8329
|
}
|
|
8330
8330
|
},
|
|
8331
|
-
"description": "Send this attribute
|
|
8331
|
+
"description": "Send this attribute to stop the editing for the order and return back to placed status.",
|
|
8332
8332
|
"flags": {
|
|
8333
8333
|
"organization": {
|
|
8334
8334
|
"char": "o",
|
|
@@ -8393,7 +8393,7 @@
|
|
|
8393
8393
|
},
|
|
8394
8394
|
"hasDynamicHelp": false,
|
|
8395
8395
|
"hiddenAliases": [],
|
|
8396
|
-
"id": "
|
|
8396
|
+
"id": "order:stop_editing",
|
|
8397
8397
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
8398
8398
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
8399
8399
|
"pluginType": "core",
|
|
@@ -8403,11 +8403,11 @@
|
|
|
8403
8403
|
"relativePath": [
|
|
8404
8404
|
"lib",
|
|
8405
8405
|
"commands",
|
|
8406
|
-
"
|
|
8407
|
-
"
|
|
8406
|
+
"order",
|
|
8407
|
+
"stop_editing.js"
|
|
8408
8408
|
]
|
|
8409
8409
|
},
|
|
8410
|
-
"
|
|
8410
|
+
"order:unarchive": {
|
|
8411
8411
|
"aliases": [],
|
|
8412
8412
|
"args": {
|
|
8413
8413
|
"id": {
|
|
@@ -8416,7 +8416,7 @@
|
|
|
8416
8416
|
"required": true
|
|
8417
8417
|
}
|
|
8418
8418
|
},
|
|
8419
|
-
"description": "Send this attribute if you want to
|
|
8419
|
+
"description": "Send this attribute if you want to unarchive the order.",
|
|
8420
8420
|
"flags": {
|
|
8421
8421
|
"organization": {
|
|
8422
8422
|
"char": "o",
|
|
@@ -8481,7 +8481,7 @@
|
|
|
8481
8481
|
},
|
|
8482
8482
|
"hasDynamicHelp": false,
|
|
8483
8483
|
"hiddenAliases": [],
|
|
8484
|
-
"id": "
|
|
8484
|
+
"id": "order:unarchive",
|
|
8485
8485
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
8486
8486
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
8487
8487
|
"pluginType": "core",
|
|
@@ -8491,11 +8491,11 @@
|
|
|
8491
8491
|
"relativePath": [
|
|
8492
8492
|
"lib",
|
|
8493
8493
|
"commands",
|
|
8494
|
-
"
|
|
8495
|
-
"
|
|
8494
|
+
"order",
|
|
8495
|
+
"unarchive.js"
|
|
8496
8496
|
]
|
|
8497
8497
|
},
|
|
8498
|
-
"
|
|
8498
|
+
"order:update_taxes": {
|
|
8499
8499
|
"aliases": [],
|
|
8500
8500
|
"args": {
|
|
8501
8501
|
"id": {
|
|
@@ -8504,7 +8504,7 @@
|
|
|
8504
8504
|
"required": true
|
|
8505
8505
|
}
|
|
8506
8506
|
},
|
|
8507
|
-
"description": "Send this attribute if you want to
|
|
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).",
|
|
8508
8508
|
"flags": {
|
|
8509
8509
|
"organization": {
|
|
8510
8510
|
"char": "o",
|
|
@@ -8569,7 +8569,7 @@
|
|
|
8569
8569
|
},
|
|
8570
8570
|
"hasDynamicHelp": false,
|
|
8571
8571
|
"hiddenAliases": [],
|
|
8572
|
-
"id": "
|
|
8572
|
+
"id": "order:update_taxes",
|
|
8573
8573
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
8574
8574
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
8575
8575
|
"pluginType": "core",
|
|
@@ -8579,11 +8579,11 @@
|
|
|
8579
8579
|
"relativePath": [
|
|
8580
8580
|
"lib",
|
|
8581
8581
|
"commands",
|
|
8582
|
-
"
|
|
8583
|
-
"
|
|
8582
|
+
"order",
|
|
8583
|
+
"update_taxes.js"
|
|
8584
8584
|
]
|
|
8585
8585
|
},
|
|
8586
|
-
"
|
|
8586
|
+
"order:validate": {
|
|
8587
8587
|
"aliases": [],
|
|
8588
8588
|
"args": {
|
|
8589
8589
|
"id": {
|
|
@@ -8592,7 +8592,7 @@
|
|
|
8592
8592
|
"required": true
|
|
8593
8593
|
}
|
|
8594
8594
|
},
|
|
8595
|
-
"description": "
|
|
8595
|
+
"description": "Send this attribute if you want to trigger the external validation for the order.",
|
|
8596
8596
|
"flags": {
|
|
8597
8597
|
"organization": {
|
|
8598
8598
|
"char": "o",
|
|
@@ -8657,7 +8657,7 @@
|
|
|
8657
8657
|
},
|
|
8658
8658
|
"hasDynamicHelp": false,
|
|
8659
8659
|
"hiddenAliases": [],
|
|
8660
|
-
"id": "
|
|
8660
|
+
"id": "order:validate",
|
|
8661
8661
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
8662
8662
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
8663
8663
|
"pluginType": "core",
|
|
@@ -8667,8 +8667,8 @@
|
|
|
8667
8667
|
"relativePath": [
|
|
8668
8668
|
"lib",
|
|
8669
8669
|
"commands",
|
|
8670
|
-
"
|
|
8671
|
-
"
|
|
8670
|
+
"order",
|
|
8671
|
+
"validate.js"
|
|
8672
8672
|
]
|
|
8673
8673
|
},
|
|
8674
8674
|
"payment_method:disable": {
|
|
@@ -10695,6 +10695,94 @@
|
|
|
10695
10695
|
"refresh.js"
|
|
10696
10696
|
]
|
|
10697
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
|
+
},
|
|
10698
10786
|
"shipment:decrement_stock": {
|
|
10699
10787
|
"aliases": [],
|
|
10700
10788
|
"args": {
|
|
@@ -14128,5 +14216,5 @@
|
|
|
14128
14216
|
]
|
|
14129
14217
|
}
|
|
14130
14218
|
},
|
|
14131
|
-
"version": "4.
|
|
14219
|
+
"version": "4.5.0"
|
|
14132
14220
|
}
|