@commercelayer/cli-plugin-triggers 4.0.0-oclif3.4 → 4.0.0-oclif3.5
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/oclif.manifest.json +164 -164
- package/package.json +4 -4
package/oclif.manifest.json
CHANGED
|
@@ -4684,7 +4684,7 @@
|
|
|
4684
4684
|
"index.js"
|
|
4685
4685
|
]
|
|
4686
4686
|
},
|
|
4687
|
-
"
|
|
4687
|
+
"order:approve": {
|
|
4688
4688
|
"aliases": [],
|
|
4689
4689
|
"args": {
|
|
4690
4690
|
"id": {
|
|
@@ -4693,7 +4693,7 @@
|
|
|
4693
4693
|
"required": true
|
|
4694
4694
|
}
|
|
4695
4695
|
},
|
|
4696
|
-
"description": "Send this attribute if you want to
|
|
4696
|
+
"description": "Send this attribute if you want to approve a placed order.",
|
|
4697
4697
|
"flags": {
|
|
4698
4698
|
"organization": {
|
|
4699
4699
|
"char": "o",
|
|
@@ -4758,7 +4758,7 @@
|
|
|
4758
4758
|
},
|
|
4759
4759
|
"hasDynamicHelp": false,
|
|
4760
4760
|
"hiddenAliases": [],
|
|
4761
|
-
"id": "
|
|
4761
|
+
"id": "order:approve",
|
|
4762
4762
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
4763
4763
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
4764
4764
|
"pluginType": "core",
|
|
@@ -4768,11 +4768,11 @@
|
|
|
4768
4768
|
"relativePath": [
|
|
4769
4769
|
"lib",
|
|
4770
4770
|
"commands",
|
|
4771
|
-
"
|
|
4772
|
-
"
|
|
4771
|
+
"order",
|
|
4772
|
+
"approve.js"
|
|
4773
4773
|
]
|
|
4774
4774
|
},
|
|
4775
|
-
"
|
|
4775
|
+
"order:approve_and_capture": {
|
|
4776
4776
|
"aliases": [],
|
|
4777
4777
|
"args": {
|
|
4778
4778
|
"id": {
|
|
@@ -4781,7 +4781,7 @@
|
|
|
4781
4781
|
"required": true
|
|
4782
4782
|
}
|
|
4783
4783
|
},
|
|
4784
|
-
"description": "Send this attribute if you want to
|
|
4784
|
+
"description": "Send this attribute if you want to approve and capture a placed order.",
|
|
4785
4785
|
"flags": {
|
|
4786
4786
|
"organization": {
|
|
4787
4787
|
"char": "o",
|
|
@@ -4846,7 +4846,7 @@
|
|
|
4846
4846
|
},
|
|
4847
4847
|
"hasDynamicHelp": false,
|
|
4848
4848
|
"hiddenAliases": [],
|
|
4849
|
-
"id": "
|
|
4849
|
+
"id": "order:approve_and_capture",
|
|
4850
4850
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
4851
4851
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
4852
4852
|
"pluginType": "core",
|
|
@@ -4856,11 +4856,11 @@
|
|
|
4856
4856
|
"relativePath": [
|
|
4857
4857
|
"lib",
|
|
4858
4858
|
"commands",
|
|
4859
|
-
"
|
|
4860
|
-
"
|
|
4859
|
+
"order",
|
|
4860
|
+
"approve_and_capture.js"
|
|
4861
4861
|
]
|
|
4862
4862
|
},
|
|
4863
|
-
"
|
|
4863
|
+
"order:archive": {
|
|
4864
4864
|
"aliases": [],
|
|
4865
4865
|
"args": {
|
|
4866
4866
|
"id": {
|
|
@@ -4869,7 +4869,7 @@
|
|
|
4869
4869
|
"required": true
|
|
4870
4870
|
}
|
|
4871
4871
|
},
|
|
4872
|
-
"description": "Send this attribute if you want to
|
|
4872
|
+
"description": "Send this attribute if you want to archive the order.",
|
|
4873
4873
|
"flags": {
|
|
4874
4874
|
"organization": {
|
|
4875
4875
|
"char": "o",
|
|
@@ -4934,7 +4934,7 @@
|
|
|
4934
4934
|
},
|
|
4935
4935
|
"hasDynamicHelp": false,
|
|
4936
4936
|
"hiddenAliases": [],
|
|
4937
|
-
"id": "
|
|
4937
|
+
"id": "order:archive",
|
|
4938
4938
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
4939
4939
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
4940
4940
|
"pluginType": "core",
|
|
@@ -4944,11 +4944,11 @@
|
|
|
4944
4944
|
"relativePath": [
|
|
4945
4945
|
"lib",
|
|
4946
4946
|
"commands",
|
|
4947
|
-
"
|
|
4948
|
-
"
|
|
4947
|
+
"order",
|
|
4948
|
+
"archive.js"
|
|
4949
4949
|
]
|
|
4950
4950
|
},
|
|
4951
|
-
"
|
|
4951
|
+
"order:authorization_amount_cents": {
|
|
4952
4952
|
"aliases": [],
|
|
4953
4953
|
"args": {
|
|
4954
4954
|
"id": {
|
|
@@ -4957,7 +4957,7 @@
|
|
|
4957
4957
|
"required": true
|
|
4958
4958
|
}
|
|
4959
4959
|
},
|
|
4960
|
-
"description": "
|
|
4960
|
+
"description": "The authorization amount, in cents.",
|
|
4961
4961
|
"flags": {
|
|
4962
4962
|
"organization": {
|
|
4963
4963
|
"char": "o",
|
|
@@ -5022,7 +5022,7 @@
|
|
|
5022
5022
|
},
|
|
5023
5023
|
"hasDynamicHelp": false,
|
|
5024
5024
|
"hiddenAliases": [],
|
|
5025
|
-
"id": "
|
|
5025
|
+
"id": "order:authorization_amount_cents",
|
|
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
|
-
"
|
|
5036
|
-
"
|
|
5035
|
+
"order",
|
|
5036
|
+
"authorization_amount_cents.js"
|
|
5037
5037
|
]
|
|
5038
5038
|
},
|
|
5039
|
-
"order:
|
|
5039
|
+
"order:authorize": {
|
|
5040
5040
|
"aliases": [],
|
|
5041
5041
|
"args": {
|
|
5042
5042
|
"id": {
|
|
@@ -5045,7 +5045,7 @@
|
|
|
5045
5045
|
"required": true
|
|
5046
5046
|
}
|
|
5047
5047
|
},
|
|
5048
|
-
"description": "Send this attribute if you want to
|
|
5048
|
+
"description": "Send this attribute if you want to authorize the order's payment source.",
|
|
5049
5049
|
"flags": {
|
|
5050
5050
|
"organization": {
|
|
5051
5051
|
"char": "o",
|
|
@@ -5110,7 +5110,7 @@
|
|
|
5110
5110
|
},
|
|
5111
5111
|
"hasDynamicHelp": false,
|
|
5112
5112
|
"hiddenAliases": [],
|
|
5113
|
-
"id": "order:
|
|
5113
|
+
"id": "order:authorize",
|
|
5114
5114
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5115
5115
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5116
5116
|
"pluginType": "core",
|
|
@@ -5121,10 +5121,10 @@
|
|
|
5121
5121
|
"lib",
|
|
5122
5122
|
"commands",
|
|
5123
5123
|
"order",
|
|
5124
|
-
"
|
|
5124
|
+
"authorize.js"
|
|
5125
5125
|
]
|
|
5126
5126
|
},
|
|
5127
|
-
"order:
|
|
5127
|
+
"order:billing_address_clone_id": {
|
|
5128
5128
|
"aliases": [],
|
|
5129
5129
|
"args": {
|
|
5130
5130
|
"id": {
|
|
@@ -5133,7 +5133,7 @@
|
|
|
5133
5133
|
"required": true
|
|
5134
5134
|
}
|
|
5135
5135
|
},
|
|
5136
|
-
"description": "
|
|
5136
|
+
"description": "The id of the address that you want to clone to create the order's billing address.",
|
|
5137
5137
|
"flags": {
|
|
5138
5138
|
"organization": {
|
|
5139
5139
|
"char": "o",
|
|
@@ -5194,11 +5194,20 @@
|
|
|
5194
5194
|
"name": "unformatted",
|
|
5195
5195
|
"allowNo": false,
|
|
5196
5196
|
"type": "boolean"
|
|
5197
|
+
},
|
|
5198
|
+
"value": {
|
|
5199
|
+
"char": "v",
|
|
5200
|
+
"description": "the trigger attribute value",
|
|
5201
|
+
"name": "value",
|
|
5202
|
+
"required": true,
|
|
5203
|
+
"hasDynamicHelp": false,
|
|
5204
|
+
"multiple": false,
|
|
5205
|
+
"type": "option"
|
|
5197
5206
|
}
|
|
5198
5207
|
},
|
|
5199
5208
|
"hasDynamicHelp": false,
|
|
5200
5209
|
"hiddenAliases": [],
|
|
5201
|
-
"id": "order:
|
|
5210
|
+
"id": "order:billing_address_clone_id",
|
|
5202
5211
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5203
5212
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5204
5213
|
"pluginType": "core",
|
|
@@ -5209,10 +5218,10 @@
|
|
|
5209
5218
|
"lib",
|
|
5210
5219
|
"commands",
|
|
5211
5220
|
"order",
|
|
5212
|
-
"
|
|
5221
|
+
"billing_address_clone_id.js"
|
|
5213
5222
|
]
|
|
5214
5223
|
},
|
|
5215
|
-
"order:
|
|
5224
|
+
"order:billing_address_same_as_shipping": {
|
|
5216
5225
|
"aliases": [],
|
|
5217
5226
|
"args": {
|
|
5218
5227
|
"id": {
|
|
@@ -5221,7 +5230,7 @@
|
|
|
5221
5230
|
"required": true
|
|
5222
5231
|
}
|
|
5223
5232
|
},
|
|
5224
|
-
"description": "Send this attribute if you want to
|
|
5233
|
+
"description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
|
|
5225
5234
|
"flags": {
|
|
5226
5235
|
"organization": {
|
|
5227
5236
|
"char": "o",
|
|
@@ -5286,7 +5295,7 @@
|
|
|
5286
5295
|
},
|
|
5287
5296
|
"hasDynamicHelp": false,
|
|
5288
5297
|
"hiddenAliases": [],
|
|
5289
|
-
"id": "order:
|
|
5298
|
+
"id": "order:billing_address_same_as_shipping",
|
|
5290
5299
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5291
5300
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5292
5301
|
"pluginType": "core",
|
|
@@ -5297,10 +5306,10 @@
|
|
|
5297
5306
|
"lib",
|
|
5298
5307
|
"commands",
|
|
5299
5308
|
"order",
|
|
5300
|
-
"
|
|
5309
|
+
"billing_address_same_as_shipping.js"
|
|
5301
5310
|
]
|
|
5302
5311
|
},
|
|
5303
|
-
"order:
|
|
5312
|
+
"order:cancel": {
|
|
5304
5313
|
"aliases": [],
|
|
5305
5314
|
"args": {
|
|
5306
5315
|
"id": {
|
|
@@ -5309,7 +5318,7 @@
|
|
|
5309
5318
|
"required": true
|
|
5310
5319
|
}
|
|
5311
5320
|
},
|
|
5312
|
-
"description": "The authorization
|
|
5321
|
+
"description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
|
|
5313
5322
|
"flags": {
|
|
5314
5323
|
"organization": {
|
|
5315
5324
|
"char": "o",
|
|
@@ -5374,7 +5383,7 @@
|
|
|
5374
5383
|
},
|
|
5375
5384
|
"hasDynamicHelp": false,
|
|
5376
5385
|
"hiddenAliases": [],
|
|
5377
|
-
"id": "order:
|
|
5386
|
+
"id": "order:cancel",
|
|
5378
5387
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5379
5388
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5380
5389
|
"pluginType": "core",
|
|
@@ -5385,10 +5394,10 @@
|
|
|
5385
5394
|
"lib",
|
|
5386
5395
|
"commands",
|
|
5387
5396
|
"order",
|
|
5388
|
-
"
|
|
5397
|
+
"cancel.js"
|
|
5389
5398
|
]
|
|
5390
5399
|
},
|
|
5391
|
-
"order:
|
|
5400
|
+
"order:capture": {
|
|
5392
5401
|
"aliases": [],
|
|
5393
5402
|
"args": {
|
|
5394
5403
|
"id": {
|
|
@@ -5397,7 +5406,7 @@
|
|
|
5397
5406
|
"required": true
|
|
5398
5407
|
}
|
|
5399
5408
|
},
|
|
5400
|
-
"description": "Send this attribute if you want to
|
|
5409
|
+
"description": "Send this attribute if you want to capture an authorized order.",
|
|
5401
5410
|
"flags": {
|
|
5402
5411
|
"organization": {
|
|
5403
5412
|
"char": "o",
|
|
@@ -5462,7 +5471,7 @@
|
|
|
5462
5471
|
},
|
|
5463
5472
|
"hasDynamicHelp": false,
|
|
5464
5473
|
"hiddenAliases": [],
|
|
5465
|
-
"id": "order:
|
|
5474
|
+
"id": "order:capture",
|
|
5466
5475
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5467
5476
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5468
5477
|
"pluginType": "core",
|
|
@@ -5473,10 +5482,10 @@
|
|
|
5473
5482
|
"lib",
|
|
5474
5483
|
"commands",
|
|
5475
5484
|
"order",
|
|
5476
|
-
"
|
|
5485
|
+
"capture.js"
|
|
5477
5486
|
]
|
|
5478
5487
|
},
|
|
5479
|
-
"order:
|
|
5488
|
+
"order:commit_invoice": {
|
|
5480
5489
|
"aliases": [],
|
|
5481
5490
|
"args": {
|
|
5482
5491
|
"id": {
|
|
@@ -5485,7 +5494,7 @@
|
|
|
5485
5494
|
"required": true
|
|
5486
5495
|
}
|
|
5487
5496
|
},
|
|
5488
|
-
"description": "
|
|
5497
|
+
"description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
|
|
5489
5498
|
"flags": {
|
|
5490
5499
|
"organization": {
|
|
5491
5500
|
"char": "o",
|
|
@@ -5546,20 +5555,11 @@
|
|
|
5546
5555
|
"name": "unformatted",
|
|
5547
5556
|
"allowNo": false,
|
|
5548
5557
|
"type": "boolean"
|
|
5549
|
-
},
|
|
5550
|
-
"value": {
|
|
5551
|
-
"char": "v",
|
|
5552
|
-
"description": "the trigger attribute value",
|
|
5553
|
-
"name": "value",
|
|
5554
|
-
"required": true,
|
|
5555
|
-
"hasDynamicHelp": false,
|
|
5556
|
-
"multiple": false,
|
|
5557
|
-
"type": "option"
|
|
5558
5558
|
}
|
|
5559
5559
|
},
|
|
5560
5560
|
"hasDynamicHelp": false,
|
|
5561
5561
|
"hiddenAliases": [],
|
|
5562
|
-
"id": "order:
|
|
5562
|
+
"id": "order:commit_invoice",
|
|
5563
5563
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5564
5564
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5565
5565
|
"pluginType": "core",
|
|
@@ -5570,10 +5570,10 @@
|
|
|
5570
5570
|
"lib",
|
|
5571
5571
|
"commands",
|
|
5572
5572
|
"order",
|
|
5573
|
-
"
|
|
5573
|
+
"commit_invoice.js"
|
|
5574
5574
|
]
|
|
5575
5575
|
},
|
|
5576
|
-
"order:
|
|
5576
|
+
"order:create_subscriptions": {
|
|
5577
5577
|
"aliases": [],
|
|
5578
5578
|
"args": {
|
|
5579
5579
|
"id": {
|
|
@@ -5582,7 +5582,7 @@
|
|
|
5582
5582
|
"required": true
|
|
5583
5583
|
}
|
|
5584
5584
|
},
|
|
5585
|
-
"description": "Send this attribute if you want
|
|
5585
|
+
"description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
|
|
5586
5586
|
"flags": {
|
|
5587
5587
|
"organization": {
|
|
5588
5588
|
"char": "o",
|
|
@@ -5647,7 +5647,7 @@
|
|
|
5647
5647
|
},
|
|
5648
5648
|
"hasDynamicHelp": false,
|
|
5649
5649
|
"hiddenAliases": [],
|
|
5650
|
-
"id": "order:
|
|
5650
|
+
"id": "order:create_subscriptions",
|
|
5651
5651
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5652
5652
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5653
5653
|
"pluginType": "core",
|
|
@@ -5658,10 +5658,10 @@
|
|
|
5658
5658
|
"lib",
|
|
5659
5659
|
"commands",
|
|
5660
5660
|
"order",
|
|
5661
|
-
"
|
|
5661
|
+
"create_subscriptions.js"
|
|
5662
5662
|
]
|
|
5663
5663
|
},
|
|
5664
|
-
"order:
|
|
5664
|
+
"order:customer_payment_source_id": {
|
|
5665
5665
|
"aliases": [],
|
|
5666
5666
|
"args": {
|
|
5667
5667
|
"id": {
|
|
@@ -5670,7 +5670,7 @@
|
|
|
5670
5670
|
"required": true
|
|
5671
5671
|
}
|
|
5672
5672
|
},
|
|
5673
|
-
"description": "
|
|
5673
|
+
"description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
|
|
5674
5674
|
"flags": {
|
|
5675
5675
|
"organization": {
|
|
5676
5676
|
"char": "o",
|
|
@@ -5731,11 +5731,20 @@
|
|
|
5731
5731
|
"name": "unformatted",
|
|
5732
5732
|
"allowNo": false,
|
|
5733
5733
|
"type": "boolean"
|
|
5734
|
+
},
|
|
5735
|
+
"value": {
|
|
5736
|
+
"char": "v",
|
|
5737
|
+
"description": "the trigger attribute value",
|
|
5738
|
+
"name": "value",
|
|
5739
|
+
"required": true,
|
|
5740
|
+
"hasDynamicHelp": false,
|
|
5741
|
+
"multiple": false,
|
|
5742
|
+
"type": "option"
|
|
5734
5743
|
}
|
|
5735
5744
|
},
|
|
5736
5745
|
"hasDynamicHelp": false,
|
|
5737
5746
|
"hiddenAliases": [],
|
|
5738
|
-
"id": "order:
|
|
5747
|
+
"id": "order:customer_payment_source_id",
|
|
5739
5748
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5740
5749
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5741
5750
|
"pluginType": "core",
|
|
@@ -5746,10 +5755,10 @@
|
|
|
5746
5755
|
"lib",
|
|
5747
5756
|
"commands",
|
|
5748
5757
|
"order",
|
|
5749
|
-
"
|
|
5758
|
+
"customer_payment_source_id.js"
|
|
5750
5759
|
]
|
|
5751
5760
|
},
|
|
5752
|
-
"order
|
|
5761
|
+
"order": {
|
|
5753
5762
|
"aliases": [],
|
|
5754
5763
|
"args": {
|
|
5755
5764
|
"id": {
|
|
@@ -5758,7 +5767,7 @@
|
|
|
5758
5767
|
"required": true
|
|
5759
5768
|
}
|
|
5760
5769
|
},
|
|
5761
|
-
"description": "
|
|
5770
|
+
"description": "execute an action on a resource of type orders",
|
|
5762
5771
|
"flags": {
|
|
5763
5772
|
"organization": {
|
|
5764
5773
|
"char": "o",
|
|
@@ -5823,7 +5832,7 @@
|
|
|
5823
5832
|
},
|
|
5824
5833
|
"hasDynamicHelp": false,
|
|
5825
5834
|
"hiddenAliases": [],
|
|
5826
|
-
"id": "order
|
|
5835
|
+
"id": "order",
|
|
5827
5836
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5828
5837
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5829
5838
|
"pluginType": "core",
|
|
@@ -5834,10 +5843,10 @@
|
|
|
5834
5843
|
"lib",
|
|
5835
5844
|
"commands",
|
|
5836
5845
|
"order",
|
|
5837
|
-
"
|
|
5846
|
+
"index.js"
|
|
5838
5847
|
]
|
|
5839
5848
|
},
|
|
5840
|
-
"order:
|
|
5849
|
+
"order:nullify_payment_source": {
|
|
5841
5850
|
"aliases": [],
|
|
5842
5851
|
"args": {
|
|
5843
5852
|
"id": {
|
|
@@ -5846,7 +5855,7 @@
|
|
|
5846
5855
|
"required": true
|
|
5847
5856
|
}
|
|
5848
5857
|
},
|
|
5849
|
-
"description": "Send this attribute if you want
|
|
5858
|
+
"description": "Send this attribute if you want to nullify the payment source for this order.",
|
|
5850
5859
|
"flags": {
|
|
5851
5860
|
"organization": {
|
|
5852
5861
|
"char": "o",
|
|
@@ -5911,7 +5920,7 @@
|
|
|
5911
5920
|
},
|
|
5912
5921
|
"hasDynamicHelp": false,
|
|
5913
5922
|
"hiddenAliases": [],
|
|
5914
|
-
"id": "order:
|
|
5923
|
+
"id": "order:nullify_payment_source",
|
|
5915
5924
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5916
5925
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5917
5926
|
"pluginType": "core",
|
|
@@ -5922,10 +5931,10 @@
|
|
|
5922
5931
|
"lib",
|
|
5923
5932
|
"commands",
|
|
5924
5933
|
"order",
|
|
5925
|
-
"
|
|
5934
|
+
"nullify_payment_source.js"
|
|
5926
5935
|
]
|
|
5927
5936
|
},
|
|
5928
|
-
"order:
|
|
5937
|
+
"order:place": {
|
|
5929
5938
|
"aliases": [],
|
|
5930
5939
|
"args": {
|
|
5931
5940
|
"id": {
|
|
@@ -5934,7 +5943,7 @@
|
|
|
5934
5943
|
"required": true
|
|
5935
5944
|
}
|
|
5936
5945
|
},
|
|
5937
|
-
"description": "Send this attribute
|
|
5946
|
+
"description": "Send this attribute if you want to place the order.",
|
|
5938
5947
|
"flags": {
|
|
5939
5948
|
"organization": {
|
|
5940
5949
|
"char": "o",
|
|
@@ -5999,7 +6008,7 @@
|
|
|
5999
6008
|
},
|
|
6000
6009
|
"hasDynamicHelp": false,
|
|
6001
6010
|
"hiddenAliases": [],
|
|
6002
|
-
"id": "order:
|
|
6011
|
+
"id": "order:place",
|
|
6003
6012
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6004
6013
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6005
6014
|
"pluginType": "core",
|
|
@@ -6010,10 +6019,10 @@
|
|
|
6010
6019
|
"lib",
|
|
6011
6020
|
"commands",
|
|
6012
6021
|
"order",
|
|
6013
|
-
"
|
|
6022
|
+
"place.js"
|
|
6014
6023
|
]
|
|
6015
6024
|
},
|
|
6016
|
-
"order:
|
|
6025
|
+
"order:refresh": {
|
|
6017
6026
|
"aliases": [],
|
|
6018
6027
|
"args": {
|
|
6019
6028
|
"id": {
|
|
@@ -6022,7 +6031,7 @@
|
|
|
6022
6031
|
"required": true
|
|
6023
6032
|
}
|
|
6024
6033
|
},
|
|
6025
|
-
"description": "
|
|
6034
|
+
"description": "Send this attribute if you want to manually refresh the order.",
|
|
6026
6035
|
"flags": {
|
|
6027
6036
|
"organization": {
|
|
6028
6037
|
"char": "o",
|
|
@@ -6083,20 +6092,11 @@
|
|
|
6083
6092
|
"name": "unformatted",
|
|
6084
6093
|
"allowNo": false,
|
|
6085
6094
|
"type": "boolean"
|
|
6086
|
-
},
|
|
6087
|
-
"value": {
|
|
6088
|
-
"char": "v",
|
|
6089
|
-
"description": "the trigger attribute value",
|
|
6090
|
-
"name": "value",
|
|
6091
|
-
"required": true,
|
|
6092
|
-
"hasDynamicHelp": false,
|
|
6093
|
-
"multiple": false,
|
|
6094
|
-
"type": "option"
|
|
6095
6095
|
}
|
|
6096
6096
|
},
|
|
6097
6097
|
"hasDynamicHelp": false,
|
|
6098
6098
|
"hiddenAliases": [],
|
|
6099
|
-
"id": "order:
|
|
6099
|
+
"id": "order:refresh",
|
|
6100
6100
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6101
6101
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6102
6102
|
"pluginType": "core",
|
|
@@ -6107,10 +6107,10 @@
|
|
|
6107
6107
|
"lib",
|
|
6108
6108
|
"commands",
|
|
6109
6109
|
"order",
|
|
6110
|
-
"
|
|
6110
|
+
"refresh.js"
|
|
6111
6111
|
]
|
|
6112
6112
|
},
|
|
6113
|
-
"order": {
|
|
6113
|
+
"order:refund": {
|
|
6114
6114
|
"aliases": [],
|
|
6115
6115
|
"args": {
|
|
6116
6116
|
"id": {
|
|
@@ -6119,7 +6119,7 @@
|
|
|
6119
6119
|
"required": true
|
|
6120
6120
|
}
|
|
6121
6121
|
},
|
|
6122
|
-
"description": "
|
|
6122
|
+
"description": "Send this attribute if you want to refund a captured order.",
|
|
6123
6123
|
"flags": {
|
|
6124
6124
|
"organization": {
|
|
6125
6125
|
"char": "o",
|
|
@@ -6184,7 +6184,7 @@
|
|
|
6184
6184
|
},
|
|
6185
6185
|
"hasDynamicHelp": false,
|
|
6186
6186
|
"hiddenAliases": [],
|
|
6187
|
-
"id": "order",
|
|
6187
|
+
"id": "order:refund",
|
|
6188
6188
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6189
6189
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6190
6190
|
"pluginType": "core",
|
|
@@ -6195,10 +6195,10 @@
|
|
|
6195
6195
|
"lib",
|
|
6196
6196
|
"commands",
|
|
6197
6197
|
"order",
|
|
6198
|
-
"
|
|
6198
|
+
"refund.js"
|
|
6199
6199
|
]
|
|
6200
6200
|
},
|
|
6201
|
-
"order:
|
|
6201
|
+
"order:refund_invoice": {
|
|
6202
6202
|
"aliases": [],
|
|
6203
6203
|
"args": {
|
|
6204
6204
|
"id": {
|
|
@@ -6207,7 +6207,7 @@
|
|
|
6207
6207
|
"required": true
|
|
6208
6208
|
}
|
|
6209
6209
|
},
|
|
6210
|
-
"description": "Send this attribute if you want to
|
|
6210
|
+
"description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
|
|
6211
6211
|
"flags": {
|
|
6212
6212
|
"organization": {
|
|
6213
6213
|
"char": "o",
|
|
@@ -6272,7 +6272,7 @@
|
|
|
6272
6272
|
},
|
|
6273
6273
|
"hasDynamicHelp": false,
|
|
6274
6274
|
"hiddenAliases": [],
|
|
6275
|
-
"id": "order:
|
|
6275
|
+
"id": "order:refund_invoice",
|
|
6276
6276
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6277
6277
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6278
6278
|
"pluginType": "core",
|
|
@@ -6283,10 +6283,10 @@
|
|
|
6283
6283
|
"lib",
|
|
6284
6284
|
"commands",
|
|
6285
6285
|
"order",
|
|
6286
|
-
"
|
|
6286
|
+
"refund_invoice.js"
|
|
6287
6287
|
]
|
|
6288
6288
|
},
|
|
6289
|
-
"order:
|
|
6289
|
+
"order:save_billing_address_to_customer_address_book": {
|
|
6290
6290
|
"aliases": [],
|
|
6291
6291
|
"args": {
|
|
6292
6292
|
"id": {
|
|
@@ -6295,7 +6295,7 @@
|
|
|
6295
6295
|
"required": true
|
|
6296
6296
|
}
|
|
6297
6297
|
},
|
|
6298
|
-
"description": "Send this attribute if you want to
|
|
6298
|
+
"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.",
|
|
6299
6299
|
"flags": {
|
|
6300
6300
|
"organization": {
|
|
6301
6301
|
"char": "o",
|
|
@@ -6360,7 +6360,7 @@
|
|
|
6360
6360
|
},
|
|
6361
6361
|
"hasDynamicHelp": false,
|
|
6362
6362
|
"hiddenAliases": [],
|
|
6363
|
-
"id": "order:
|
|
6363
|
+
"id": "order:save_billing_address_to_customer_address_book",
|
|
6364
6364
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6365
6365
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6366
6366
|
"pluginType": "core",
|
|
@@ -6371,10 +6371,10 @@
|
|
|
6371
6371
|
"lib",
|
|
6372
6372
|
"commands",
|
|
6373
6373
|
"order",
|
|
6374
|
-
"
|
|
6374
|
+
"save_billing_address_to_customer_address_book.js"
|
|
6375
6375
|
]
|
|
6376
6376
|
},
|
|
6377
|
-
"order:
|
|
6377
|
+
"order:save_payment_source_to_customer_wallet": {
|
|
6378
6378
|
"aliases": [],
|
|
6379
6379
|
"args": {
|
|
6380
6380
|
"id": {
|
|
@@ -6383,7 +6383,7 @@
|
|
|
6383
6383
|
"required": true
|
|
6384
6384
|
}
|
|
6385
6385
|
},
|
|
6386
|
-
"description": "Send this attribute if you want to
|
|
6386
|
+
"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.",
|
|
6387
6387
|
"flags": {
|
|
6388
6388
|
"organization": {
|
|
6389
6389
|
"char": "o",
|
|
@@ -6448,7 +6448,7 @@
|
|
|
6448
6448
|
},
|
|
6449
6449
|
"hasDynamicHelp": false,
|
|
6450
6450
|
"hiddenAliases": [],
|
|
6451
|
-
"id": "order:
|
|
6451
|
+
"id": "order:save_payment_source_to_customer_wallet",
|
|
6452
6452
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6453
6453
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6454
6454
|
"pluginType": "core",
|
|
@@ -6459,10 +6459,10 @@
|
|
|
6459
6459
|
"lib",
|
|
6460
6460
|
"commands",
|
|
6461
6461
|
"order",
|
|
6462
|
-
"
|
|
6462
|
+
"save_payment_source_to_customer_wallet.js"
|
|
6463
6463
|
]
|
|
6464
6464
|
},
|
|
6465
|
-
"order:
|
|
6465
|
+
"order:save_shipping_address_to_customer_address_book": {
|
|
6466
6466
|
"aliases": [],
|
|
6467
6467
|
"args": {
|
|
6468
6468
|
"id": {
|
|
@@ -6471,7 +6471,7 @@
|
|
|
6471
6471
|
"required": true
|
|
6472
6472
|
}
|
|
6473
6473
|
},
|
|
6474
|
-
"description": "Send this attribute if you want to
|
|
6474
|
+
"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.",
|
|
6475
6475
|
"flags": {
|
|
6476
6476
|
"organization": {
|
|
6477
6477
|
"char": "o",
|
|
@@ -6536,7 +6536,7 @@
|
|
|
6536
6536
|
},
|
|
6537
6537
|
"hasDynamicHelp": false,
|
|
6538
6538
|
"hiddenAliases": [],
|
|
6539
|
-
"id": "order:
|
|
6539
|
+
"id": "order:save_shipping_address_to_customer_address_book",
|
|
6540
6540
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6541
6541
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6542
6542
|
"pluginType": "core",
|
|
@@ -6547,10 +6547,10 @@
|
|
|
6547
6547
|
"lib",
|
|
6548
6548
|
"commands",
|
|
6549
6549
|
"order",
|
|
6550
|
-
"
|
|
6550
|
+
"save_shipping_address_to_customer_address_book.js"
|
|
6551
6551
|
]
|
|
6552
6552
|
},
|
|
6553
|
-
"order:
|
|
6553
|
+
"order:shipping_address_clone_id": {
|
|
6554
6554
|
"aliases": [],
|
|
6555
6555
|
"args": {
|
|
6556
6556
|
"id": {
|
|
@@ -6559,7 +6559,7 @@
|
|
|
6559
6559
|
"required": true
|
|
6560
6560
|
}
|
|
6561
6561
|
},
|
|
6562
|
-
"description": "
|
|
6562
|
+
"description": "The id of the address that you want to clone to create the order's shipping address.",
|
|
6563
6563
|
"flags": {
|
|
6564
6564
|
"organization": {
|
|
6565
6565
|
"char": "o",
|
|
@@ -6620,11 +6620,20 @@
|
|
|
6620
6620
|
"name": "unformatted",
|
|
6621
6621
|
"allowNo": false,
|
|
6622
6622
|
"type": "boolean"
|
|
6623
|
+
},
|
|
6624
|
+
"value": {
|
|
6625
|
+
"char": "v",
|
|
6626
|
+
"description": "the trigger attribute value",
|
|
6627
|
+
"name": "value",
|
|
6628
|
+
"required": true,
|
|
6629
|
+
"hasDynamicHelp": false,
|
|
6630
|
+
"multiple": false,
|
|
6631
|
+
"type": "option"
|
|
6623
6632
|
}
|
|
6624
6633
|
},
|
|
6625
6634
|
"hasDynamicHelp": false,
|
|
6626
6635
|
"hiddenAliases": [],
|
|
6627
|
-
"id": "order:
|
|
6636
|
+
"id": "order:shipping_address_clone_id",
|
|
6628
6637
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6629
6638
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6630
6639
|
"pluginType": "core",
|
|
@@ -6635,10 +6644,10 @@
|
|
|
6635
6644
|
"lib",
|
|
6636
6645
|
"commands",
|
|
6637
6646
|
"order",
|
|
6638
|
-
"
|
|
6647
|
+
"shipping_address_clone_id.js"
|
|
6639
6648
|
]
|
|
6640
6649
|
},
|
|
6641
|
-
"order:
|
|
6650
|
+
"order:shipping_address_same_as_billing": {
|
|
6642
6651
|
"aliases": [],
|
|
6643
6652
|
"args": {
|
|
6644
6653
|
"id": {
|
|
@@ -6647,7 +6656,7 @@
|
|
|
6647
6656
|
"required": true
|
|
6648
6657
|
}
|
|
6649
6658
|
},
|
|
6650
|
-
"description": "Send this attribute if you want the
|
|
6659
|
+
"description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
|
|
6651
6660
|
"flags": {
|
|
6652
6661
|
"organization": {
|
|
6653
6662
|
"char": "o",
|
|
@@ -6712,7 +6721,7 @@
|
|
|
6712
6721
|
},
|
|
6713
6722
|
"hasDynamicHelp": false,
|
|
6714
6723
|
"hiddenAliases": [],
|
|
6715
|
-
"id": "order:
|
|
6724
|
+
"id": "order:shipping_address_same_as_billing",
|
|
6716
6725
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6717
6726
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6718
6727
|
"pluginType": "core",
|
|
@@ -6723,10 +6732,10 @@
|
|
|
6723
6732
|
"lib",
|
|
6724
6733
|
"commands",
|
|
6725
6734
|
"order",
|
|
6726
|
-
"
|
|
6735
|
+
"shipping_address_same_as_billing.js"
|
|
6727
6736
|
]
|
|
6728
6737
|
},
|
|
6729
|
-
"order:
|
|
6738
|
+
"order:start_editing": {
|
|
6730
6739
|
"aliases": [],
|
|
6731
6740
|
"args": {
|
|
6732
6741
|
"id": {
|
|
@@ -6735,7 +6744,7 @@
|
|
|
6735
6744
|
"required": true
|
|
6736
6745
|
}
|
|
6737
6746
|
},
|
|
6738
|
-
"description": "Send this attribute if you want the order
|
|
6747
|
+
"description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount.",
|
|
6739
6748
|
"flags": {
|
|
6740
6749
|
"organization": {
|
|
6741
6750
|
"char": "o",
|
|
@@ -6800,7 +6809,7 @@
|
|
|
6800
6809
|
},
|
|
6801
6810
|
"hasDynamicHelp": false,
|
|
6802
6811
|
"hiddenAliases": [],
|
|
6803
|
-
"id": "order:
|
|
6812
|
+
"id": "order:start_editing",
|
|
6804
6813
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6805
6814
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6806
6815
|
"pluginType": "core",
|
|
@@ -6811,10 +6820,10 @@
|
|
|
6811
6820
|
"lib",
|
|
6812
6821
|
"commands",
|
|
6813
6822
|
"order",
|
|
6814
|
-
"
|
|
6823
|
+
"start_editing.js"
|
|
6815
6824
|
]
|
|
6816
6825
|
},
|
|
6817
|
-
"order:
|
|
6826
|
+
"order:stop_editing": {
|
|
6818
6827
|
"aliases": [],
|
|
6819
6828
|
"args": {
|
|
6820
6829
|
"id": {
|
|
@@ -6823,7 +6832,7 @@
|
|
|
6823
6832
|
"required": true
|
|
6824
6833
|
}
|
|
6825
6834
|
},
|
|
6826
|
-
"description": "Send this attribute
|
|
6835
|
+
"description": "Send this attribute to stop the editing for the order and return back to placed status.",
|
|
6827
6836
|
"flags": {
|
|
6828
6837
|
"organization": {
|
|
6829
6838
|
"char": "o",
|
|
@@ -6888,7 +6897,7 @@
|
|
|
6888
6897
|
},
|
|
6889
6898
|
"hasDynamicHelp": false,
|
|
6890
6899
|
"hiddenAliases": [],
|
|
6891
|
-
"id": "order:
|
|
6900
|
+
"id": "order:stop_editing",
|
|
6892
6901
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6893
6902
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6894
6903
|
"pluginType": "core",
|
|
@@ -6899,10 +6908,10 @@
|
|
|
6899
6908
|
"lib",
|
|
6900
6909
|
"commands",
|
|
6901
6910
|
"order",
|
|
6902
|
-
"
|
|
6911
|
+
"stop_editing.js"
|
|
6903
6912
|
]
|
|
6904
6913
|
},
|
|
6905
|
-
"order:
|
|
6914
|
+
"order:unarchive": {
|
|
6906
6915
|
"aliases": [],
|
|
6907
6916
|
"args": {
|
|
6908
6917
|
"id": {
|
|
@@ -6911,7 +6920,7 @@
|
|
|
6911
6920
|
"required": true
|
|
6912
6921
|
}
|
|
6913
6922
|
},
|
|
6914
|
-
"description": "
|
|
6923
|
+
"description": "Send this attribute if you want to unarchive the order.",
|
|
6915
6924
|
"flags": {
|
|
6916
6925
|
"organization": {
|
|
6917
6926
|
"char": "o",
|
|
@@ -6972,20 +6981,11 @@
|
|
|
6972
6981
|
"name": "unformatted",
|
|
6973
6982
|
"allowNo": false,
|
|
6974
6983
|
"type": "boolean"
|
|
6975
|
-
},
|
|
6976
|
-
"value": {
|
|
6977
|
-
"char": "v",
|
|
6978
|
-
"description": "the trigger attribute value",
|
|
6979
|
-
"name": "value",
|
|
6980
|
-
"required": true,
|
|
6981
|
-
"hasDynamicHelp": false,
|
|
6982
|
-
"multiple": false,
|
|
6983
|
-
"type": "option"
|
|
6984
6984
|
}
|
|
6985
6985
|
},
|
|
6986
6986
|
"hasDynamicHelp": false,
|
|
6987
6987
|
"hiddenAliases": [],
|
|
6988
|
-
"id": "order:
|
|
6988
|
+
"id": "order:unarchive",
|
|
6989
6989
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
6990
6990
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
6991
6991
|
"pluginType": "core",
|
|
@@ -6996,10 +6996,10 @@
|
|
|
6996
6996
|
"lib",
|
|
6997
6997
|
"commands",
|
|
6998
6998
|
"order",
|
|
6999
|
-
"
|
|
6999
|
+
"unarchive.js"
|
|
7000
7000
|
]
|
|
7001
7001
|
},
|
|
7002
|
-
"order:
|
|
7002
|
+
"order:update_taxes": {
|
|
7003
7003
|
"aliases": [],
|
|
7004
7004
|
"args": {
|
|
7005
7005
|
"id": {
|
|
@@ -7008,7 +7008,7 @@
|
|
|
7008
7008
|
"required": true
|
|
7009
7009
|
}
|
|
7010
7010
|
},
|
|
7011
|
-
"description": "Send this attribute if you want
|
|
7011
|
+
"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).",
|
|
7012
7012
|
"flags": {
|
|
7013
7013
|
"organization": {
|
|
7014
7014
|
"char": "o",
|
|
@@ -7073,7 +7073,7 @@
|
|
|
7073
7073
|
},
|
|
7074
7074
|
"hasDynamicHelp": false,
|
|
7075
7075
|
"hiddenAliases": [],
|
|
7076
|
-
"id": "order:
|
|
7076
|
+
"id": "order:update_taxes",
|
|
7077
7077
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7078
7078
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7079
7079
|
"pluginType": "core",
|
|
@@ -7084,10 +7084,10 @@
|
|
|
7084
7084
|
"lib",
|
|
7085
7085
|
"commands",
|
|
7086
7086
|
"order",
|
|
7087
|
-
"
|
|
7087
|
+
"update_taxes.js"
|
|
7088
7088
|
]
|
|
7089
7089
|
},
|
|
7090
|
-
"order:
|
|
7090
|
+
"order:validate": {
|
|
7091
7091
|
"aliases": [],
|
|
7092
7092
|
"args": {
|
|
7093
7093
|
"id": {
|
|
@@ -7096,7 +7096,7 @@
|
|
|
7096
7096
|
"required": true
|
|
7097
7097
|
}
|
|
7098
7098
|
},
|
|
7099
|
-
"description": "Send this attribute if you want to
|
|
7099
|
+
"description": "Send this attribute if you want to trigger the external validation for the order.",
|
|
7100
7100
|
"flags": {
|
|
7101
7101
|
"organization": {
|
|
7102
7102
|
"char": "o",
|
|
@@ -7161,7 +7161,7 @@
|
|
|
7161
7161
|
},
|
|
7162
7162
|
"hasDynamicHelp": false,
|
|
7163
7163
|
"hiddenAliases": [],
|
|
7164
|
-
"id": "order:
|
|
7164
|
+
"id": "order:validate",
|
|
7165
7165
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7166
7166
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7167
7167
|
"pluginType": "core",
|
|
@@ -7172,10 +7172,10 @@
|
|
|
7172
7172
|
"lib",
|
|
7173
7173
|
"commands",
|
|
7174
7174
|
"order",
|
|
7175
|
-
"
|
|
7175
|
+
"validate.js"
|
|
7176
7176
|
]
|
|
7177
7177
|
},
|
|
7178
|
-
"
|
|
7178
|
+
"order_subscription:activate": {
|
|
7179
7179
|
"aliases": [],
|
|
7180
7180
|
"args": {
|
|
7181
7181
|
"id": {
|
|
@@ -7184,7 +7184,7 @@
|
|
|
7184
7184
|
"required": true
|
|
7185
7185
|
}
|
|
7186
7186
|
},
|
|
7187
|
-
"description": "Send this attribute
|
|
7187
|
+
"description": "Send this attribute if you want to mark this subscription as active.",
|
|
7188
7188
|
"flags": {
|
|
7189
7189
|
"organization": {
|
|
7190
7190
|
"char": "o",
|
|
@@ -7249,7 +7249,7 @@
|
|
|
7249
7249
|
},
|
|
7250
7250
|
"hasDynamicHelp": false,
|
|
7251
7251
|
"hiddenAliases": [],
|
|
7252
|
-
"id": "
|
|
7252
|
+
"id": "order_subscription:activate",
|
|
7253
7253
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7254
7254
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7255
7255
|
"pluginType": "core",
|
|
@@ -7259,11 +7259,11 @@
|
|
|
7259
7259
|
"relativePath": [
|
|
7260
7260
|
"lib",
|
|
7261
7261
|
"commands",
|
|
7262
|
-
"
|
|
7263
|
-
"
|
|
7262
|
+
"order_subscription",
|
|
7263
|
+
"activate.js"
|
|
7264
7264
|
]
|
|
7265
7265
|
},
|
|
7266
|
-
"
|
|
7266
|
+
"order_subscription:cancel": {
|
|
7267
7267
|
"aliases": [],
|
|
7268
7268
|
"args": {
|
|
7269
7269
|
"id": {
|
|
@@ -7272,7 +7272,7 @@
|
|
|
7272
7272
|
"required": true
|
|
7273
7273
|
}
|
|
7274
7274
|
},
|
|
7275
|
-
"description": "Send this attribute if you want to
|
|
7275
|
+
"description": "Send this attribute if you want to mark this subscription as cancelled.",
|
|
7276
7276
|
"flags": {
|
|
7277
7277
|
"organization": {
|
|
7278
7278
|
"char": "o",
|
|
@@ -7337,7 +7337,7 @@
|
|
|
7337
7337
|
},
|
|
7338
7338
|
"hasDynamicHelp": false,
|
|
7339
7339
|
"hiddenAliases": [],
|
|
7340
|
-
"id": "
|
|
7340
|
+
"id": "order_subscription:cancel",
|
|
7341
7341
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7342
7342
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7343
7343
|
"pluginType": "core",
|
|
@@ -7347,11 +7347,11 @@
|
|
|
7347
7347
|
"relativePath": [
|
|
7348
7348
|
"lib",
|
|
7349
7349
|
"commands",
|
|
7350
|
-
"
|
|
7351
|
-
"
|
|
7350
|
+
"order_subscription",
|
|
7351
|
+
"cancel.js"
|
|
7352
7352
|
]
|
|
7353
7353
|
},
|
|
7354
|
-
"
|
|
7354
|
+
"order_subscription:deactivate": {
|
|
7355
7355
|
"aliases": [],
|
|
7356
7356
|
"args": {
|
|
7357
7357
|
"id": {
|
|
@@ -7360,7 +7360,7 @@
|
|
|
7360
7360
|
"required": true
|
|
7361
7361
|
}
|
|
7362
7362
|
},
|
|
7363
|
-
"description": "Send this attribute if you want to
|
|
7363
|
+
"description": "Send this attribute if you want to mark this subscription as inactive.",
|
|
7364
7364
|
"flags": {
|
|
7365
7365
|
"organization": {
|
|
7366
7366
|
"char": "o",
|
|
@@ -7425,7 +7425,7 @@
|
|
|
7425
7425
|
},
|
|
7426
7426
|
"hasDynamicHelp": false,
|
|
7427
7427
|
"hiddenAliases": [],
|
|
7428
|
-
"id": "
|
|
7428
|
+
"id": "order_subscription:deactivate",
|
|
7429
7429
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7430
7430
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7431
7431
|
"pluginType": "core",
|
|
@@ -7435,11 +7435,11 @@
|
|
|
7435
7435
|
"relativePath": [
|
|
7436
7436
|
"lib",
|
|
7437
7437
|
"commands",
|
|
7438
|
-
"
|
|
7439
|
-
"
|
|
7438
|
+
"order_subscription",
|
|
7439
|
+
"deactivate.js"
|
|
7440
7440
|
]
|
|
7441
7441
|
},
|
|
7442
|
-
"
|
|
7442
|
+
"order_subscription": {
|
|
7443
7443
|
"aliases": [],
|
|
7444
7444
|
"args": {
|
|
7445
7445
|
"id": {
|
|
@@ -7448,7 +7448,7 @@
|
|
|
7448
7448
|
"required": true
|
|
7449
7449
|
}
|
|
7450
7450
|
},
|
|
7451
|
-
"description": "
|
|
7451
|
+
"description": "execute an action on a resource of type order_subscriptions",
|
|
7452
7452
|
"flags": {
|
|
7453
7453
|
"organization": {
|
|
7454
7454
|
"char": "o",
|
|
@@ -7513,7 +7513,7 @@
|
|
|
7513
7513
|
},
|
|
7514
7514
|
"hasDynamicHelp": false,
|
|
7515
7515
|
"hiddenAliases": [],
|
|
7516
|
-
"id": "
|
|
7516
|
+
"id": "order_subscription",
|
|
7517
7517
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7518
7518
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7519
7519
|
"pluginType": "core",
|
|
@@ -7523,8 +7523,8 @@
|
|
|
7523
7523
|
"relativePath": [
|
|
7524
7524
|
"lib",
|
|
7525
7525
|
"commands",
|
|
7526
|
-
"
|
|
7527
|
-
"
|
|
7526
|
+
"order_subscription",
|
|
7527
|
+
"index.js"
|
|
7528
7528
|
]
|
|
7529
7529
|
},
|
|
7530
7530
|
"payment_method:disable": {
|
|
@@ -12368,5 +12368,5 @@
|
|
|
12368
12368
|
]
|
|
12369
12369
|
}
|
|
12370
12370
|
},
|
|
12371
|
-
"version": "4.0.0-oclif3.
|
|
12371
|
+
"version": "4.0.0-oclif3.5"
|
|
12372
12372
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercelayer/cli-plugin-triggers",
|
|
3
3
|
"description": "Commerce Layer CLI Triggers plugin",
|
|
4
|
-
"version": "4.0.0-oclif3.
|
|
4
|
+
"version": "4.0.0-oclif3.5",
|
|
5
5
|
"author": "Pierluigi Viti <pierluigi@commercelayer.io>",
|
|
6
6
|
"homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-triggers",
|
|
7
7
|
"repository": "commercelayer/commercelayer-cli-plugin-triggers",
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
"@oclif/test": "^3.2.0",
|
|
61
61
|
"@semantic-release/changelog": "^6.0.3",
|
|
62
62
|
"@semantic-release/git": "^10.0.1",
|
|
63
|
-
"@types/chai": "^4.3.
|
|
63
|
+
"@types/chai": "^4.3.12",
|
|
64
64
|
"@types/inquirer": "^8.2.10",
|
|
65
65
|
"@types/lodash": "^4.14.202",
|
|
66
66
|
"@types/mocha": "^10.0.6",
|
|
67
|
-
"@types/node": "^20.11.
|
|
67
|
+
"@types/node": "^20.11.20",
|
|
68
68
|
"chai": "^4.4.1",
|
|
69
69
|
"eslint": "^8.56.0",
|
|
70
70
|
"inflector-js": "^1.0.1",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@commercelayer/cli-core": "beta",
|
|
81
81
|
"@commercelayer/sdk": "^5.32.0",
|
|
82
|
-
"@oclif/core": "^3.19.
|
|
82
|
+
"@oclif/core": "^3.19.5",
|
|
83
83
|
"inquirer": "^8.2.6",
|
|
84
84
|
"tslib": "^2.6.2"
|
|
85
85
|
},
|