@commercelayer/cli-plugin-triggers 4.9.2 → 4.11.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.
@@ -20,6 +20,94 @@
20
20
  "noc.js"
21
21
  ]
22
22
  },
23
+ "adyen_payment:authorize": {
24
+ "aliases": [],
25
+ "args": {
26
+ "id": {
27
+ "description": "the unique id of the resource",
28
+ "name": "id",
29
+ "required": true
30
+ }
31
+ },
32
+ "description": "Send this attribute if you want to authorize the payment.",
33
+ "flags": {
34
+ "organization": {
35
+ "char": "o",
36
+ "description": "the slug of your organization",
37
+ "env": "CL_CLI_ORGANIZATION",
38
+ "hidden": true,
39
+ "name": "organization",
40
+ "required": true,
41
+ "hasDynamicHelp": false,
42
+ "multiple": false,
43
+ "type": "option"
44
+ },
45
+ "domain": {
46
+ "char": "d",
47
+ "dependsOn": [
48
+ "organization"
49
+ ],
50
+ "env": "CL_CLI_DOMAIN",
51
+ "hidden": true,
52
+ "name": "domain",
53
+ "required": false,
54
+ "hasDynamicHelp": false,
55
+ "multiple": false,
56
+ "type": "option"
57
+ },
58
+ "accessToken": {
59
+ "env": "CL_CLI_ACCESS_TOKEN",
60
+ "hidden": true,
61
+ "name": "accessToken",
62
+ "required": true,
63
+ "hasDynamicHelp": false,
64
+ "multiple": false,
65
+ "type": "option"
66
+ },
67
+ "print": {
68
+ "char": "p",
69
+ "description": "print out the modified resource",
70
+ "name": "print",
71
+ "allowNo": false,
72
+ "type": "boolean"
73
+ },
74
+ "json": {
75
+ "char": "j",
76
+ "dependsOn": [
77
+ "print"
78
+ ],
79
+ "description": "print result in JSON format",
80
+ "name": "json",
81
+ "allowNo": false,
82
+ "type": "boolean"
83
+ },
84
+ "unformatted": {
85
+ "char": "u",
86
+ "dependsOn": [
87
+ "json"
88
+ ],
89
+ "description": "print JSON output without indentation",
90
+ "name": "unformatted",
91
+ "allowNo": false,
92
+ "type": "boolean"
93
+ }
94
+ },
95
+ "hasDynamicHelp": false,
96
+ "hiddenAliases": [],
97
+ "id": "adyen_payment:authorize",
98
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
99
+ "pluginName": "@commercelayer/cli-plugin-triggers",
100
+ "pluginType": "core",
101
+ "strict": true,
102
+ "enableJsonFlag": false,
103
+ "isESM": false,
104
+ "relativePath": [
105
+ "lib",
106
+ "commands",
107
+ "adyen_payment",
108
+ "authorize.js"
109
+ ]
110
+ },
23
111
  "adyen_payment:details": {
24
112
  "aliases": [],
25
113
  "args": {
@@ -2484,6 +2572,182 @@
2484
2572
  "reset_password_token.js"
2485
2573
  ]
2486
2574
  },
2575
+ "easypost_pickup": {
2576
+ "aliases": [],
2577
+ "args": {
2578
+ "id": {
2579
+ "description": "the unique id of the resource",
2580
+ "name": "id",
2581
+ "required": true
2582
+ }
2583
+ },
2584
+ "description": "execute an action on a resource of type easypost_pickups",
2585
+ "flags": {
2586
+ "organization": {
2587
+ "char": "o",
2588
+ "description": "the slug of your organization",
2589
+ "env": "CL_CLI_ORGANIZATION",
2590
+ "hidden": true,
2591
+ "name": "organization",
2592
+ "required": true,
2593
+ "hasDynamicHelp": false,
2594
+ "multiple": false,
2595
+ "type": "option"
2596
+ },
2597
+ "domain": {
2598
+ "char": "d",
2599
+ "dependsOn": [
2600
+ "organization"
2601
+ ],
2602
+ "env": "CL_CLI_DOMAIN",
2603
+ "hidden": true,
2604
+ "name": "domain",
2605
+ "required": false,
2606
+ "hasDynamicHelp": false,
2607
+ "multiple": false,
2608
+ "type": "option"
2609
+ },
2610
+ "accessToken": {
2611
+ "env": "CL_CLI_ACCESS_TOKEN",
2612
+ "hidden": true,
2613
+ "name": "accessToken",
2614
+ "required": true,
2615
+ "hasDynamicHelp": false,
2616
+ "multiple": false,
2617
+ "type": "option"
2618
+ },
2619
+ "print": {
2620
+ "char": "p",
2621
+ "description": "print out the modified resource",
2622
+ "name": "print",
2623
+ "allowNo": false,
2624
+ "type": "boolean"
2625
+ },
2626
+ "json": {
2627
+ "char": "j",
2628
+ "dependsOn": [
2629
+ "print"
2630
+ ],
2631
+ "description": "print result in JSON format",
2632
+ "name": "json",
2633
+ "allowNo": false,
2634
+ "type": "boolean"
2635
+ },
2636
+ "unformatted": {
2637
+ "char": "u",
2638
+ "dependsOn": [
2639
+ "json"
2640
+ ],
2641
+ "description": "print JSON output without indentation",
2642
+ "name": "unformatted",
2643
+ "allowNo": false,
2644
+ "type": "boolean"
2645
+ }
2646
+ },
2647
+ "hasDynamicHelp": false,
2648
+ "hiddenAliases": [],
2649
+ "id": "easypost_pickup",
2650
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
2651
+ "pluginName": "@commercelayer/cli-plugin-triggers",
2652
+ "pluginType": "core",
2653
+ "strict": true,
2654
+ "enableJsonFlag": false,
2655
+ "isESM": false,
2656
+ "relativePath": [
2657
+ "lib",
2658
+ "commands",
2659
+ "easypost_pickup",
2660
+ "index.js"
2661
+ ]
2662
+ },
2663
+ "easypost_pickup:purchase": {
2664
+ "aliases": [],
2665
+ "args": {
2666
+ "id": {
2667
+ "description": "the unique id of the resource",
2668
+ "name": "id",
2669
+ "required": true
2670
+ }
2671
+ },
2672
+ "description": "Send this attribute if you want to purchase this pick up with the selected rate.",
2673
+ "flags": {
2674
+ "organization": {
2675
+ "char": "o",
2676
+ "description": "the slug of your organization",
2677
+ "env": "CL_CLI_ORGANIZATION",
2678
+ "hidden": true,
2679
+ "name": "organization",
2680
+ "required": true,
2681
+ "hasDynamicHelp": false,
2682
+ "multiple": false,
2683
+ "type": "option"
2684
+ },
2685
+ "domain": {
2686
+ "char": "d",
2687
+ "dependsOn": [
2688
+ "organization"
2689
+ ],
2690
+ "env": "CL_CLI_DOMAIN",
2691
+ "hidden": true,
2692
+ "name": "domain",
2693
+ "required": false,
2694
+ "hasDynamicHelp": false,
2695
+ "multiple": false,
2696
+ "type": "option"
2697
+ },
2698
+ "accessToken": {
2699
+ "env": "CL_CLI_ACCESS_TOKEN",
2700
+ "hidden": true,
2701
+ "name": "accessToken",
2702
+ "required": true,
2703
+ "hasDynamicHelp": false,
2704
+ "multiple": false,
2705
+ "type": "option"
2706
+ },
2707
+ "print": {
2708
+ "char": "p",
2709
+ "description": "print out the modified resource",
2710
+ "name": "print",
2711
+ "allowNo": false,
2712
+ "type": "boolean"
2713
+ },
2714
+ "json": {
2715
+ "char": "j",
2716
+ "dependsOn": [
2717
+ "print"
2718
+ ],
2719
+ "description": "print result in JSON format",
2720
+ "name": "json",
2721
+ "allowNo": false,
2722
+ "type": "boolean"
2723
+ },
2724
+ "unformatted": {
2725
+ "char": "u",
2726
+ "dependsOn": [
2727
+ "json"
2728
+ ],
2729
+ "description": "print JSON output without indentation",
2730
+ "name": "unformatted",
2731
+ "allowNo": false,
2732
+ "type": "boolean"
2733
+ }
2734
+ },
2735
+ "hasDynamicHelp": false,
2736
+ "hiddenAliases": [],
2737
+ "id": "easypost_pickup:purchase",
2738
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
2739
+ "pluginName": "@commercelayer/cli-plugin-triggers",
2740
+ "pluginType": "core",
2741
+ "strict": true,
2742
+ "enableJsonFlag": false,
2743
+ "isESM": false,
2744
+ "relativePath": [
2745
+ "lib",
2746
+ "commands",
2747
+ "easypost_pickup",
2748
+ "purchase.js"
2749
+ ]
2750
+ },
2487
2751
  "event": {
2488
2752
  "aliases": [],
2489
2753
  "args": {
@@ -6796,7 +7060,7 @@
6796
7060
  "index.js"
6797
7061
  ]
6798
7062
  },
6799
- "order:approve": {
7063
+ "order_subscription:activate": {
6800
7064
  "aliases": [],
6801
7065
  "args": {
6802
7066
  "id": {
@@ -6805,7 +7069,7 @@
6805
7069
  "required": true
6806
7070
  }
6807
7071
  },
6808
- "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
7072
+ "description": "Send this attribute if you want to mark this subscription as active.",
6809
7073
  "flags": {
6810
7074
  "organization": {
6811
7075
  "char": "o",
@@ -6870,7 +7134,7 @@
6870
7134
  },
6871
7135
  "hasDynamicHelp": false,
6872
7136
  "hiddenAliases": [],
6873
- "id": "order:approve",
7137
+ "id": "order_subscription:activate",
6874
7138
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6875
7139
  "pluginName": "@commercelayer/cli-plugin-triggers",
6876
7140
  "pluginType": "core",
@@ -6880,11 +7144,11 @@
6880
7144
  "relativePath": [
6881
7145
  "lib",
6882
7146
  "commands",
6883
- "order",
6884
- "approve.js"
7147
+ "order_subscription",
7148
+ "activate.js"
6885
7149
  ]
6886
7150
  },
6887
- "order:approve_and_capture": {
7151
+ "order_subscription:cancel": {
6888
7152
  "aliases": [],
6889
7153
  "args": {
6890
7154
  "id": {
@@ -6893,7 +7157,7 @@
6893
7157
  "required": true
6894
7158
  }
6895
7159
  },
6896
- "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
7160
+ "description": "Send this attribute if you want to mark this subscription as cancelled.",
6897
7161
  "flags": {
6898
7162
  "organization": {
6899
7163
  "char": "o",
@@ -6958,7 +7222,7 @@
6958
7222
  },
6959
7223
  "hasDynamicHelp": false,
6960
7224
  "hiddenAliases": [],
6961
- "id": "order:approve_and_capture",
7225
+ "id": "order_subscription:cancel",
6962
7226
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6963
7227
  "pluginName": "@commercelayer/cli-plugin-triggers",
6964
7228
  "pluginType": "core",
@@ -6968,11 +7232,11 @@
6968
7232
  "relativePath": [
6969
7233
  "lib",
6970
7234
  "commands",
6971
- "order",
6972
- "approve_and_capture.js"
7235
+ "order_subscription",
7236
+ "cancel.js"
6973
7237
  ]
6974
7238
  },
6975
- "order:archive": {
7239
+ "order_subscription:convert": {
6976
7240
  "aliases": [],
6977
7241
  "args": {
6978
7242
  "id": {
@@ -6981,7 +7245,7 @@
6981
7245
  "required": true
6982
7246
  }
6983
7247
  },
6984
- "description": "Send this attribute if you want to archive the order.",
7248
+ "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
6985
7249
  "flags": {
6986
7250
  "organization": {
6987
7251
  "char": "o",
@@ -7046,7 +7310,7 @@
7046
7310
  },
7047
7311
  "hasDynamicHelp": false,
7048
7312
  "hiddenAliases": [],
7049
- "id": "order:archive",
7313
+ "id": "order_subscription:convert",
7050
7314
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7051
7315
  "pluginName": "@commercelayer/cli-plugin-triggers",
7052
7316
  "pluginType": "core",
@@ -7056,11 +7320,11 @@
7056
7320
  "relativePath": [
7057
7321
  "lib",
7058
7322
  "commands",
7059
- "order",
7060
- "archive.js"
7323
+ "order_subscription",
7324
+ "convert.js"
7061
7325
  ]
7062
7326
  },
7063
- "order:authorization_amount_cents": {
7327
+ "order_subscription:deactivate": {
7064
7328
  "aliases": [],
7065
7329
  "args": {
7066
7330
  "id": {
@@ -7069,7 +7333,7 @@
7069
7333
  "required": true
7070
7334
  }
7071
7335
  },
7072
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
7336
+ "description": "Send this attribute if you want to mark this subscription as inactive.",
7073
7337
  "flags": {
7074
7338
  "organization": {
7075
7339
  "char": "o",
@@ -7134,7 +7398,7 @@
7134
7398
  },
7135
7399
  "hasDynamicHelp": false,
7136
7400
  "hiddenAliases": [],
7137
- "id": "order:authorization_amount_cents",
7401
+ "id": "order_subscription:deactivate",
7138
7402
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7139
7403
  "pluginName": "@commercelayer/cli-plugin-triggers",
7140
7404
  "pluginType": "core",
@@ -7144,11 +7408,11 @@
7144
7408
  "relativePath": [
7145
7409
  "lib",
7146
7410
  "commands",
7147
- "order",
7148
- "authorization_amount_cents.js"
7411
+ "order_subscription",
7412
+ "deactivate.js"
7149
7413
  ]
7150
7414
  },
7151
- "order:authorize": {
7415
+ "order_subscription": {
7152
7416
  "aliases": [],
7153
7417
  "args": {
7154
7418
  "id": {
@@ -7157,7 +7421,7 @@
7157
7421
  "required": true
7158
7422
  }
7159
7423
  },
7160
- "description": "Send this attribute if you want to authorize the order's payment source.",
7424
+ "description": "execute an action on a resource of type order_subscriptions",
7161
7425
  "flags": {
7162
7426
  "organization": {
7163
7427
  "char": "o",
@@ -7222,7 +7486,7 @@
7222
7486
  },
7223
7487
  "hasDynamicHelp": false,
7224
7488
  "hiddenAliases": [],
7225
- "id": "order:authorize",
7489
+ "id": "order_subscription",
7226
7490
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7227
7491
  "pluginName": "@commercelayer/cli-plugin-triggers",
7228
7492
  "pluginType": "core",
@@ -7232,11 +7496,11 @@
7232
7496
  "relativePath": [
7233
7497
  "lib",
7234
7498
  "commands",
7235
- "order",
7236
- "authorize.js"
7499
+ "order_subscription",
7500
+ "index.js"
7237
7501
  ]
7238
7502
  },
7239
- "order:billing_address_clone_id": {
7503
+ "payment_method:disable": {
7240
7504
  "aliases": [],
7241
7505
  "args": {
7242
7506
  "id": {
@@ -7245,7 +7509,7 @@
7245
7509
  "required": true
7246
7510
  }
7247
7511
  },
7248
- "description": "The id of the address that you want to clone to create the order's billing address.",
7512
+ "description": "Send this attribute if you want to mark this resource as disabled.",
7249
7513
  "flags": {
7250
7514
  "organization": {
7251
7515
  "char": "o",
@@ -7306,20 +7570,11 @@
7306
7570
  "name": "unformatted",
7307
7571
  "allowNo": false,
7308
7572
  "type": "boolean"
7309
- },
7310
- "value": {
7311
- "char": "v",
7312
- "description": "the trigger attribute value",
7313
- "name": "value",
7314
- "required": true,
7315
- "hasDynamicHelp": false,
7316
- "multiple": false,
7317
- "type": "option"
7318
7573
  }
7319
7574
  },
7320
7575
  "hasDynamicHelp": false,
7321
7576
  "hiddenAliases": [],
7322
- "id": "order:billing_address_clone_id",
7577
+ "id": "payment_method:disable",
7323
7578
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7324
7579
  "pluginName": "@commercelayer/cli-plugin-triggers",
7325
7580
  "pluginType": "core",
@@ -7329,11 +7584,11 @@
7329
7584
  "relativePath": [
7330
7585
  "lib",
7331
7586
  "commands",
7332
- "order",
7333
- "billing_address_clone_id.js"
7587
+ "payment_method",
7588
+ "disable.js"
7334
7589
  ]
7335
7590
  },
7336
- "order:billing_address_same_as_shipping": {
7591
+ "payment_method:enable": {
7337
7592
  "aliases": [],
7338
7593
  "args": {
7339
7594
  "id": {
@@ -7342,7 +7597,7 @@
7342
7597
  "required": true
7343
7598
  }
7344
7599
  },
7345
- "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
7600
+ "description": "Send this attribute if you want to mark this resource as enabled.",
7346
7601
  "flags": {
7347
7602
  "organization": {
7348
7603
  "char": "o",
@@ -7407,7 +7662,7 @@
7407
7662
  },
7408
7663
  "hasDynamicHelp": false,
7409
7664
  "hiddenAliases": [],
7410
- "id": "order:billing_address_same_as_shipping",
7665
+ "id": "payment_method:enable",
7411
7666
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7412
7667
  "pluginName": "@commercelayer/cli-plugin-triggers",
7413
7668
  "pluginType": "core",
@@ -7417,11 +7672,11 @@
7417
7672
  "relativePath": [
7418
7673
  "lib",
7419
7674
  "commands",
7420
- "order",
7421
- "billing_address_same_as_shipping.js"
7675
+ "payment_method",
7676
+ "enable.js"
7422
7677
  ]
7423
7678
  },
7424
- "order:cancel": {
7679
+ "payment_method": {
7425
7680
  "aliases": [],
7426
7681
  "args": {
7427
7682
  "id": {
@@ -7430,7 +7685,7 @@
7430
7685
  "required": true
7431
7686
  }
7432
7687
  },
7433
- "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
7688
+ "description": "execute an action on a resource of type payment_methods",
7434
7689
  "flags": {
7435
7690
  "organization": {
7436
7691
  "char": "o",
@@ -7495,7 +7750,7 @@
7495
7750
  },
7496
7751
  "hasDynamicHelp": false,
7497
7752
  "hiddenAliases": [],
7498
- "id": "order:cancel",
7753
+ "id": "payment_method",
7499
7754
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7500
7755
  "pluginName": "@commercelayer/cli-plugin-triggers",
7501
7756
  "pluginType": "core",
@@ -7505,11 +7760,11 @@
7505
7760
  "relativePath": [
7506
7761
  "lib",
7507
7762
  "commands",
7508
- "order",
7509
- "cancel.js"
7763
+ "payment_method",
7764
+ "index.js"
7510
7765
  ]
7511
7766
  },
7512
- "order:capture": {
7767
+ "order:approve": {
7513
7768
  "aliases": [],
7514
7769
  "args": {
7515
7770
  "id": {
@@ -7518,7 +7773,7 @@
7518
7773
  "required": true
7519
7774
  }
7520
7775
  },
7521
- "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
7776
+ "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
7522
7777
  "flags": {
7523
7778
  "organization": {
7524
7779
  "char": "o",
@@ -7583,7 +7838,7 @@
7583
7838
  },
7584
7839
  "hasDynamicHelp": false,
7585
7840
  "hiddenAliases": [],
7586
- "id": "order:capture",
7841
+ "id": "order:approve",
7587
7842
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7588
7843
  "pluginName": "@commercelayer/cli-plugin-triggers",
7589
7844
  "pluginType": "core",
@@ -7594,10 +7849,10 @@
7594
7849
  "lib",
7595
7850
  "commands",
7596
7851
  "order",
7597
- "capture.js"
7852
+ "approve.js"
7598
7853
  ]
7599
7854
  },
7600
- "order:commit_invoice": {
7855
+ "order:approve_and_capture": {
7601
7856
  "aliases": [],
7602
7857
  "args": {
7603
7858
  "id": {
@@ -7606,7 +7861,7 @@
7606
7861
  "required": true
7607
7862
  }
7608
7863
  },
7609
- "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
7864
+ "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
7610
7865
  "flags": {
7611
7866
  "organization": {
7612
7867
  "char": "o",
@@ -7671,7 +7926,7 @@
7671
7926
  },
7672
7927
  "hasDynamicHelp": false,
7673
7928
  "hiddenAliases": [],
7674
- "id": "order:commit_invoice",
7929
+ "id": "order:approve_and_capture",
7675
7930
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7676
7931
  "pluginName": "@commercelayer/cli-plugin-triggers",
7677
7932
  "pluginType": "core",
@@ -7682,10 +7937,10 @@
7682
7937
  "lib",
7683
7938
  "commands",
7684
7939
  "order",
7685
- "commit_invoice.js"
7940
+ "approve_and_capture.js"
7686
7941
  ]
7687
7942
  },
7688
- "order:create_subscriptions": {
7943
+ "order:archive": {
7689
7944
  "aliases": [],
7690
7945
  "args": {
7691
7946
  "id": {
@@ -7694,7 +7949,7 @@
7694
7949
  "required": true
7695
7950
  }
7696
7951
  },
7697
- "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
7952
+ "description": "Send this attribute if you want to archive the order.",
7698
7953
  "flags": {
7699
7954
  "organization": {
7700
7955
  "char": "o",
@@ -7759,7 +8014,7 @@
7759
8014
  },
7760
8015
  "hasDynamicHelp": false,
7761
8016
  "hiddenAliases": [],
7762
- "id": "order:create_subscriptions",
8017
+ "id": "order:archive",
7763
8018
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7764
8019
  "pluginName": "@commercelayer/cli-plugin-triggers",
7765
8020
  "pluginType": "core",
@@ -7770,10 +8025,10 @@
7770
8025
  "lib",
7771
8026
  "commands",
7772
8027
  "order",
7773
- "create_subscriptions.js"
8028
+ "archive.js"
7774
8029
  ]
7775
8030
  },
7776
- "order:customer_payment_source_id": {
8031
+ "order:authorization_amount_cents": {
7777
8032
  "aliases": [],
7778
8033
  "args": {
7779
8034
  "id": {
@@ -7782,7 +8037,7 @@
7782
8037
  "required": true
7783
8038
  }
7784
8039
  },
7785
- "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
8040
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
7786
8041
  "flags": {
7787
8042
  "organization": {
7788
8043
  "char": "o",
@@ -7843,20 +8098,11 @@
7843
8098
  "name": "unformatted",
7844
8099
  "allowNo": false,
7845
8100
  "type": "boolean"
7846
- },
7847
- "value": {
7848
- "char": "v",
7849
- "description": "the trigger attribute value",
7850
- "name": "value",
7851
- "required": true,
7852
- "hasDynamicHelp": false,
7853
- "multiple": false,
7854
- "type": "option"
7855
8101
  }
7856
8102
  },
7857
8103
  "hasDynamicHelp": false,
7858
8104
  "hiddenAliases": [],
7859
- "id": "order:customer_payment_source_id",
8105
+ "id": "order:authorization_amount_cents",
7860
8106
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7861
8107
  "pluginName": "@commercelayer/cli-plugin-triggers",
7862
8108
  "pluginType": "core",
@@ -7867,10 +8113,10 @@
7867
8113
  "lib",
7868
8114
  "commands",
7869
8115
  "order",
7870
- "customer_payment_source_id.js"
8116
+ "authorization_amount_cents.js"
7871
8117
  ]
7872
8118
  },
7873
- "order:fix_payment_source": {
8119
+ "order:authorize": {
7874
8120
  "aliases": [],
7875
8121
  "args": {
7876
8122
  "id": {
@@ -7879,7 +8125,7 @@
7879
8125
  "required": true
7880
8126
  }
7881
8127
  },
7882
- "description": "Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready for approval. Cannot be passed by sales channels.",
8128
+ "description": "Send this attribute if you want to authorize the order's payment source.",
7883
8129
  "flags": {
7884
8130
  "organization": {
7885
8131
  "char": "o",
@@ -7944,7 +8190,7 @@
7944
8190
  },
7945
8191
  "hasDynamicHelp": false,
7946
8192
  "hiddenAliases": [],
7947
- "id": "order:fix_payment_source",
8193
+ "id": "order:authorize",
7948
8194
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7949
8195
  "pluginName": "@commercelayer/cli-plugin-triggers",
7950
8196
  "pluginType": "core",
@@ -7955,10 +8201,10 @@
7955
8201
  "lib",
7956
8202
  "commands",
7957
8203
  "order",
7958
- "fix_payment_source.js"
8204
+ "authorize.js"
7959
8205
  ]
7960
8206
  },
7961
- "order:fulfill": {
8207
+ "order:billing_address_clone_id": {
7962
8208
  "aliases": [],
7963
8209
  "args": {
7964
8210
  "id": {
@@ -7967,7 +8213,7 @@
7967
8213
  "required": true
7968
8214
  }
7969
8215
  },
7970
- "description": "Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered). Cannot be passed by sales channels.",
8216
+ "description": "The id of the address that you want to clone to create the order's billing address.",
7971
8217
  "flags": {
7972
8218
  "organization": {
7973
8219
  "char": "o",
@@ -8028,11 +8274,20 @@
8028
8274
  "name": "unformatted",
8029
8275
  "allowNo": false,
8030
8276
  "type": "boolean"
8277
+ },
8278
+ "value": {
8279
+ "char": "v",
8280
+ "description": "the trigger attribute value",
8281
+ "name": "value",
8282
+ "required": true,
8283
+ "hasDynamicHelp": false,
8284
+ "multiple": false,
8285
+ "type": "option"
8031
8286
  }
8032
8287
  },
8033
8288
  "hasDynamicHelp": false,
8034
8289
  "hiddenAliases": [],
8035
- "id": "order:fulfill",
8290
+ "id": "order:billing_address_clone_id",
8036
8291
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8037
8292
  "pluginName": "@commercelayer/cli-plugin-triggers",
8038
8293
  "pluginType": "core",
@@ -8043,10 +8298,10 @@
8043
8298
  "lib",
8044
8299
  "commands",
8045
8300
  "order",
8046
- "fulfill.js"
8301
+ "billing_address_clone_id.js"
8047
8302
  ]
8048
8303
  },
8049
- "order": {
8304
+ "order:billing_address_same_as_shipping": {
8050
8305
  "aliases": [],
8051
8306
  "args": {
8052
8307
  "id": {
@@ -8055,7 +8310,7 @@
8055
8310
  "required": true
8056
8311
  }
8057
8312
  },
8058
- "description": "execute an action on a resource of type orders",
8313
+ "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
8059
8314
  "flags": {
8060
8315
  "organization": {
8061
8316
  "char": "o",
@@ -8120,7 +8375,7 @@
8120
8375
  },
8121
8376
  "hasDynamicHelp": false,
8122
8377
  "hiddenAliases": [],
8123
- "id": "order",
8378
+ "id": "order:billing_address_same_as_shipping",
8124
8379
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8125
8380
  "pluginName": "@commercelayer/cli-plugin-triggers",
8126
8381
  "pluginType": "core",
@@ -8131,10 +8386,10 @@
8131
8386
  "lib",
8132
8387
  "commands",
8133
8388
  "order",
8134
- "index.js"
8389
+ "billing_address_same_as_shipping.js"
8135
8390
  ]
8136
8391
  },
8137
- "order:nullify_payment_source": {
8392
+ "order:cancel": {
8138
8393
  "aliases": [],
8139
8394
  "args": {
8140
8395
  "id": {
@@ -8143,7 +8398,7 @@
8143
8398
  "required": true
8144
8399
  }
8145
8400
  },
8146
- "description": "Send this attribute if you want to nullify the payment source for this order.",
8401
+ "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
8147
8402
  "flags": {
8148
8403
  "organization": {
8149
8404
  "char": "o",
@@ -8208,7 +8463,7 @@
8208
8463
  },
8209
8464
  "hasDynamicHelp": false,
8210
8465
  "hiddenAliases": [],
8211
- "id": "order:nullify_payment_source",
8466
+ "id": "order:cancel",
8212
8467
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8213
8468
  "pluginName": "@commercelayer/cli-plugin-triggers",
8214
8469
  "pluginType": "core",
@@ -8219,10 +8474,10 @@
8219
8474
  "lib",
8220
8475
  "commands",
8221
8476
  "order",
8222
- "nullify_payment_source.js"
8477
+ "cancel.js"
8223
8478
  ]
8224
8479
  },
8225
- "order:pending": {
8480
+ "order:capture": {
8226
8481
  "aliases": [],
8227
8482
  "args": {
8228
8483
  "id": {
@@ -8231,7 +8486,7 @@
8231
8486
  "required": true
8232
8487
  }
8233
8488
  },
8234
- "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
8489
+ "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
8235
8490
  "flags": {
8236
8491
  "organization": {
8237
8492
  "char": "o",
@@ -8296,7 +8551,7 @@
8296
8551
  },
8297
8552
  "hasDynamicHelp": false,
8298
8553
  "hiddenAliases": [],
8299
- "id": "order:pending",
8554
+ "id": "order:capture",
8300
8555
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8301
8556
  "pluginName": "@commercelayer/cli-plugin-triggers",
8302
8557
  "pluginType": "core",
@@ -8307,10 +8562,10 @@
8307
8562
  "lib",
8308
8563
  "commands",
8309
8564
  "order",
8310
- "pending.js"
8565
+ "capture.js"
8311
8566
  ]
8312
8567
  },
8313
- "order:place": {
8568
+ "order:commit_invoice": {
8314
8569
  "aliases": [],
8315
8570
  "args": {
8316
8571
  "id": {
@@ -8319,7 +8574,7 @@
8319
8574
  "required": true
8320
8575
  }
8321
8576
  },
8322
- "description": "Send this attribute if you want to place the order.",
8577
+ "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
8323
8578
  "flags": {
8324
8579
  "organization": {
8325
8580
  "char": "o",
@@ -8384,7 +8639,7 @@
8384
8639
  },
8385
8640
  "hasDynamicHelp": false,
8386
8641
  "hiddenAliases": [],
8387
- "id": "order:place",
8642
+ "id": "order:commit_invoice",
8388
8643
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8389
8644
  "pluginName": "@commercelayer/cli-plugin-triggers",
8390
8645
  "pluginType": "core",
@@ -8395,10 +8650,10 @@
8395
8650
  "lib",
8396
8651
  "commands",
8397
8652
  "order",
8398
- "place.js"
8653
+ "commit_invoice.js"
8399
8654
  ]
8400
8655
  },
8401
- "order:refresh": {
8656
+ "order:create_subscriptions": {
8402
8657
  "aliases": [],
8403
8658
  "args": {
8404
8659
  "id": {
@@ -8407,7 +8662,7 @@
8407
8662
  "required": true
8408
8663
  }
8409
8664
  },
8410
- "description": "Send this attribute if you want to manually refresh the order.",
8665
+ "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
8411
8666
  "flags": {
8412
8667
  "organization": {
8413
8668
  "char": "o",
@@ -8472,7 +8727,7 @@
8472
8727
  },
8473
8728
  "hasDynamicHelp": false,
8474
8729
  "hiddenAliases": [],
8475
- "id": "order:refresh",
8730
+ "id": "order:create_subscriptions",
8476
8731
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8477
8732
  "pluginName": "@commercelayer/cli-plugin-triggers",
8478
8733
  "pluginType": "core",
@@ -8483,10 +8738,10 @@
8483
8738
  "lib",
8484
8739
  "commands",
8485
8740
  "order",
8486
- "refresh.js"
8741
+ "create_subscriptions.js"
8487
8742
  ]
8488
8743
  },
8489
- "order:refund": {
8744
+ "order:customer_payment_source_id": {
8490
8745
  "aliases": [],
8491
8746
  "args": {
8492
8747
  "id": {
@@ -8495,7 +8750,7 @@
8495
8750
  "required": true
8496
8751
  }
8497
8752
  },
8498
- "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
8753
+ "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
8499
8754
  "flags": {
8500
8755
  "organization": {
8501
8756
  "char": "o",
@@ -8556,11 +8811,20 @@
8556
8811
  "name": "unformatted",
8557
8812
  "allowNo": false,
8558
8813
  "type": "boolean"
8814
+ },
8815
+ "value": {
8816
+ "char": "v",
8817
+ "description": "the trigger attribute value",
8818
+ "name": "value",
8819
+ "required": true,
8820
+ "hasDynamicHelp": false,
8821
+ "multiple": false,
8822
+ "type": "option"
8559
8823
  }
8560
8824
  },
8561
8825
  "hasDynamicHelp": false,
8562
8826
  "hiddenAliases": [],
8563
- "id": "order:refund",
8827
+ "id": "order:customer_payment_source_id",
8564
8828
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8565
8829
  "pluginName": "@commercelayer/cli-plugin-triggers",
8566
8830
  "pluginType": "core",
@@ -8571,10 +8835,10 @@
8571
8835
  "lib",
8572
8836
  "commands",
8573
8837
  "order",
8574
- "refund.js"
8838
+ "customer_payment_source_id.js"
8575
8839
  ]
8576
8840
  },
8577
- "order:refund_invoice": {
8841
+ "order:fix_payment_source": {
8578
8842
  "aliases": [],
8579
8843
  "args": {
8580
8844
  "id": {
@@ -8583,7 +8847,7 @@
8583
8847
  "required": true
8584
8848
  }
8585
8849
  },
8586
- "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
8850
+ "description": "Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready to be approved. A tentative to fix the payment source is done before approval automatically. Cannot be passed by sales channels.",
8587
8851
  "flags": {
8588
8852
  "organization": {
8589
8853
  "char": "o",
@@ -8648,7 +8912,7 @@
8648
8912
  },
8649
8913
  "hasDynamicHelp": false,
8650
8914
  "hiddenAliases": [],
8651
- "id": "order:refund_invoice",
8915
+ "id": "order:fix_payment_source",
8652
8916
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8653
8917
  "pluginName": "@commercelayer/cli-plugin-triggers",
8654
8918
  "pluginType": "core",
@@ -8659,10 +8923,10 @@
8659
8923
  "lib",
8660
8924
  "commands",
8661
8925
  "order",
8662
- "refund_invoice.js"
8926
+ "fix_payment_source.js"
8663
8927
  ]
8664
8928
  },
8665
- "order:reset_circuit": {
8929
+ "order:fulfill": {
8666
8930
  "aliases": [],
8667
8931
  "args": {
8668
8932
  "id": {
@@ -8671,7 +8935,7 @@
8671
8935
  "required": true
8672
8936
  }
8673
8937
  },
8674
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
8938
+ "description": "Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered, alternatively order must be approved). Cannot be passed by sales channels.",
8675
8939
  "flags": {
8676
8940
  "organization": {
8677
8941
  "char": "o",
@@ -8736,7 +9000,7 @@
8736
9000
  },
8737
9001
  "hasDynamicHelp": false,
8738
9002
  "hiddenAliases": [],
8739
- "id": "order:reset_circuit",
9003
+ "id": "order:fulfill",
8740
9004
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8741
9005
  "pluginName": "@commercelayer/cli-plugin-triggers",
8742
9006
  "pluginType": "core",
@@ -8747,10 +9011,10 @@
8747
9011
  "lib",
8748
9012
  "commands",
8749
9013
  "order",
8750
- "reset_circuit.js"
9014
+ "fulfill.js"
8751
9015
  ]
8752
9016
  },
8753
- "order:save_billing_address_to_customer_address_book": {
9017
+ "order": {
8754
9018
  "aliases": [],
8755
9019
  "args": {
8756
9020
  "id": {
@@ -8759,7 +9023,7 @@
8759
9023
  "required": true
8760
9024
  }
8761
9025
  },
8762
- "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.",
9026
+ "description": "execute an action on a resource of type orders",
8763
9027
  "flags": {
8764
9028
  "organization": {
8765
9029
  "char": "o",
@@ -8824,7 +9088,7 @@
8824
9088
  },
8825
9089
  "hasDynamicHelp": false,
8826
9090
  "hiddenAliases": [],
8827
- "id": "order:save_billing_address_to_customer_address_book",
9091
+ "id": "order",
8828
9092
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8829
9093
  "pluginName": "@commercelayer/cli-plugin-triggers",
8830
9094
  "pluginType": "core",
@@ -8835,10 +9099,10 @@
8835
9099
  "lib",
8836
9100
  "commands",
8837
9101
  "order",
8838
- "save_billing_address_to_customer_address_book.js"
9102
+ "index.js"
8839
9103
  ]
8840
9104
  },
8841
- "order:save_payment_source_to_customer_wallet": {
9105
+ "order:nullify_payment_source": {
8842
9106
  "aliases": [],
8843
9107
  "args": {
8844
9108
  "id": {
@@ -8847,7 +9111,7 @@
8847
9111
  "required": true
8848
9112
  }
8849
9113
  },
8850
- "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.",
9114
+ "description": "Send this attribute if you want to nullify the payment source for this order.",
8851
9115
  "flags": {
8852
9116
  "organization": {
8853
9117
  "char": "o",
@@ -8912,7 +9176,7 @@
8912
9176
  },
8913
9177
  "hasDynamicHelp": false,
8914
9178
  "hiddenAliases": [],
8915
- "id": "order:save_payment_source_to_customer_wallet",
9179
+ "id": "order:nullify_payment_source",
8916
9180
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8917
9181
  "pluginName": "@commercelayer/cli-plugin-triggers",
8918
9182
  "pluginType": "core",
@@ -8923,10 +9187,10 @@
8923
9187
  "lib",
8924
9188
  "commands",
8925
9189
  "order",
8926
- "save_payment_source_to_customer_wallet.js"
9190
+ "nullify_payment_source.js"
8927
9191
  ]
8928
9192
  },
8929
- "order:save_shipping_address_to_customer_address_book": {
9193
+ "order:pending": {
8930
9194
  "aliases": [],
8931
9195
  "args": {
8932
9196
  "id": {
@@ -8935,7 +9199,7 @@
8935
9199
  "required": true
8936
9200
  }
8937
9201
  },
8938
- "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.",
9202
+ "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
8939
9203
  "flags": {
8940
9204
  "organization": {
8941
9205
  "char": "o",
@@ -9000,7 +9264,7 @@
9000
9264
  },
9001
9265
  "hasDynamicHelp": false,
9002
9266
  "hiddenAliases": [],
9003
- "id": "order:save_shipping_address_to_customer_address_book",
9267
+ "id": "order:pending",
9004
9268
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9005
9269
  "pluginName": "@commercelayer/cli-plugin-triggers",
9006
9270
  "pluginType": "core",
@@ -9011,10 +9275,10 @@
9011
9275
  "lib",
9012
9276
  "commands",
9013
9277
  "order",
9014
- "save_shipping_address_to_customer_address_book.js"
9278
+ "pending.js"
9015
9279
  ]
9016
9280
  },
9017
- "order:shipping_address_clone_id": {
9281
+ "order:place": {
9018
9282
  "aliases": [],
9019
9283
  "args": {
9020
9284
  "id": {
@@ -9023,7 +9287,7 @@
9023
9287
  "required": true
9024
9288
  }
9025
9289
  },
9026
- "description": "The id of the address that you want to clone to create the order's shipping address.",
9290
+ "description": "Send this attribute if you want to place the order.",
9027
9291
  "flags": {
9028
9292
  "organization": {
9029
9293
  "char": "o",
@@ -9084,20 +9348,11 @@
9084
9348
  "name": "unformatted",
9085
9349
  "allowNo": false,
9086
9350
  "type": "boolean"
9087
- },
9088
- "value": {
9089
- "char": "v",
9090
- "description": "the trigger attribute value",
9091
- "name": "value",
9092
- "required": true,
9093
- "hasDynamicHelp": false,
9094
- "multiple": false,
9095
- "type": "option"
9096
9351
  }
9097
9352
  },
9098
9353
  "hasDynamicHelp": false,
9099
9354
  "hiddenAliases": [],
9100
- "id": "order:shipping_address_clone_id",
9355
+ "id": "order:place",
9101
9356
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9102
9357
  "pluginName": "@commercelayer/cli-plugin-triggers",
9103
9358
  "pluginType": "core",
@@ -9108,10 +9363,10 @@
9108
9363
  "lib",
9109
9364
  "commands",
9110
9365
  "order",
9111
- "shipping_address_clone_id.js"
9366
+ "place.js"
9112
9367
  ]
9113
9368
  },
9114
- "order:shipping_address_same_as_billing": {
9369
+ "order:refresh": {
9115
9370
  "aliases": [],
9116
9371
  "args": {
9117
9372
  "id": {
@@ -9120,7 +9375,7 @@
9120
9375
  "required": true
9121
9376
  }
9122
9377
  },
9123
- "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
9378
+ "description": "Send this attribute if you want to manually refresh the order.",
9124
9379
  "flags": {
9125
9380
  "organization": {
9126
9381
  "char": "o",
@@ -9185,7 +9440,7 @@
9185
9440
  },
9186
9441
  "hasDynamicHelp": false,
9187
9442
  "hiddenAliases": [],
9188
- "id": "order:shipping_address_same_as_billing",
9443
+ "id": "order:refresh",
9189
9444
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9190
9445
  "pluginName": "@commercelayer/cli-plugin-triggers",
9191
9446
  "pluginType": "core",
@@ -9196,10 +9451,10 @@
9196
9451
  "lib",
9197
9452
  "commands",
9198
9453
  "order",
9199
- "shipping_address_same_as_billing.js"
9454
+ "refresh.js"
9200
9455
  ]
9201
9456
  },
9202
- "order:start_editing": {
9457
+ "order:refund": {
9203
9458
  "aliases": [],
9204
9459
  "args": {
9205
9460
  "id": {
@@ -9208,7 +9463,7 @@
9208
9463
  "required": true
9209
9464
  }
9210
9465
  },
9211
- "description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount. Cannot be passed by sales channels.",
9466
+ "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
9212
9467
  "flags": {
9213
9468
  "organization": {
9214
9469
  "char": "o",
@@ -9273,7 +9528,7 @@
9273
9528
  },
9274
9529
  "hasDynamicHelp": false,
9275
9530
  "hiddenAliases": [],
9276
- "id": "order:start_editing",
9531
+ "id": "order:refund",
9277
9532
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9278
9533
  "pluginName": "@commercelayer/cli-plugin-triggers",
9279
9534
  "pluginType": "core",
@@ -9284,10 +9539,10 @@
9284
9539
  "lib",
9285
9540
  "commands",
9286
9541
  "order",
9287
- "start_editing.js"
9542
+ "refund.js"
9288
9543
  ]
9289
9544
  },
9290
- "order:stop_editing": {
9545
+ "order:refund_invoice": {
9291
9546
  "aliases": [],
9292
9547
  "args": {
9293
9548
  "id": {
@@ -9296,7 +9551,7 @@
9296
9551
  "required": true
9297
9552
  }
9298
9553
  },
9299
- "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
9554
+ "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
9300
9555
  "flags": {
9301
9556
  "organization": {
9302
9557
  "char": "o",
@@ -9361,7 +9616,7 @@
9361
9616
  },
9362
9617
  "hasDynamicHelp": false,
9363
9618
  "hiddenAliases": [],
9364
- "id": "order:stop_editing",
9619
+ "id": "order:refund_invoice",
9365
9620
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9366
9621
  "pluginName": "@commercelayer/cli-plugin-triggers",
9367
9622
  "pluginType": "core",
@@ -9372,10 +9627,10 @@
9372
9627
  "lib",
9373
9628
  "commands",
9374
9629
  "order",
9375
- "stop_editing.js"
9630
+ "refund_invoice.js"
9376
9631
  ]
9377
9632
  },
9378
- "order:unarchive": {
9633
+ "order:reset_circuit": {
9379
9634
  "aliases": [],
9380
9635
  "args": {
9381
9636
  "id": {
@@ -9384,7 +9639,7 @@
9384
9639
  "required": true
9385
9640
  }
9386
9641
  },
9387
- "description": "Send this attribute if you want to unarchive the order.",
9642
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
9388
9643
  "flags": {
9389
9644
  "organization": {
9390
9645
  "char": "o",
@@ -9449,7 +9704,7 @@
9449
9704
  },
9450
9705
  "hasDynamicHelp": false,
9451
9706
  "hiddenAliases": [],
9452
- "id": "order:unarchive",
9707
+ "id": "order:reset_circuit",
9453
9708
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9454
9709
  "pluginName": "@commercelayer/cli-plugin-triggers",
9455
9710
  "pluginType": "core",
@@ -9460,10 +9715,10 @@
9460
9715
  "lib",
9461
9716
  "commands",
9462
9717
  "order",
9463
- "unarchive.js"
9718
+ "reset_circuit.js"
9464
9719
  ]
9465
9720
  },
9466
- "order:update_taxes": {
9721
+ "order:save_billing_address_to_customer_address_book": {
9467
9722
  "aliases": [],
9468
9723
  "args": {
9469
9724
  "id": {
@@ -9472,7 +9727,7 @@
9472
9727
  "required": true
9473
9728
  }
9474
9729
  },
9475
- "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).",
9730
+ "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.",
9476
9731
  "flags": {
9477
9732
  "organization": {
9478
9733
  "char": "o",
@@ -9537,7 +9792,7 @@
9537
9792
  },
9538
9793
  "hasDynamicHelp": false,
9539
9794
  "hiddenAliases": [],
9540
- "id": "order:update_taxes",
9795
+ "id": "order:save_billing_address_to_customer_address_book",
9541
9796
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9542
9797
  "pluginName": "@commercelayer/cli-plugin-triggers",
9543
9798
  "pluginType": "core",
@@ -9548,10 +9803,10 @@
9548
9803
  "lib",
9549
9804
  "commands",
9550
9805
  "order",
9551
- "update_taxes.js"
9806
+ "save_billing_address_to_customer_address_book.js"
9552
9807
  ]
9553
9808
  },
9554
- "order:validate": {
9809
+ "order:save_payment_source_to_customer_wallet": {
9555
9810
  "aliases": [],
9556
9811
  "args": {
9557
9812
  "id": {
@@ -9560,7 +9815,7 @@
9560
9815
  "required": true
9561
9816
  }
9562
9817
  },
9563
- "description": "Send this attribute if you want to trigger the external validation for the order.",
9818
+ "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.",
9564
9819
  "flags": {
9565
9820
  "organization": {
9566
9821
  "char": "o",
@@ -9625,7 +9880,7 @@
9625
9880
  },
9626
9881
  "hasDynamicHelp": false,
9627
9882
  "hiddenAliases": [],
9628
- "id": "order:validate",
9883
+ "id": "order:save_payment_source_to_customer_wallet",
9629
9884
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9630
9885
  "pluginName": "@commercelayer/cli-plugin-triggers",
9631
9886
  "pluginType": "core",
@@ -9636,10 +9891,10 @@
9636
9891
  "lib",
9637
9892
  "commands",
9638
9893
  "order",
9639
- "validate.js"
9894
+ "save_payment_source_to_customer_wallet.js"
9640
9895
  ]
9641
9896
  },
9642
- "order_subscription:activate": {
9897
+ "order:save_shipping_address_to_customer_address_book": {
9643
9898
  "aliases": [],
9644
9899
  "args": {
9645
9900
  "id": {
@@ -9648,7 +9903,7 @@
9648
9903
  "required": true
9649
9904
  }
9650
9905
  },
9651
- "description": "Send this attribute if you want to mark this subscription as active.",
9906
+ "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.",
9652
9907
  "flags": {
9653
9908
  "organization": {
9654
9909
  "char": "o",
@@ -9713,7 +9968,7 @@
9713
9968
  },
9714
9969
  "hasDynamicHelp": false,
9715
9970
  "hiddenAliases": [],
9716
- "id": "order_subscription:activate",
9971
+ "id": "order:save_shipping_address_to_customer_address_book",
9717
9972
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9718
9973
  "pluginName": "@commercelayer/cli-plugin-triggers",
9719
9974
  "pluginType": "core",
@@ -9723,11 +9978,11 @@
9723
9978
  "relativePath": [
9724
9979
  "lib",
9725
9980
  "commands",
9726
- "order_subscription",
9727
- "activate.js"
9981
+ "order",
9982
+ "save_shipping_address_to_customer_address_book.js"
9728
9983
  ]
9729
9984
  },
9730
- "order_subscription:cancel": {
9985
+ "order:shipping_address_clone_id": {
9731
9986
  "aliases": [],
9732
9987
  "args": {
9733
9988
  "id": {
@@ -9736,7 +9991,7 @@
9736
9991
  "required": true
9737
9992
  }
9738
9993
  },
9739
- "description": "Send this attribute if you want to mark this subscription as cancelled.",
9994
+ "description": "The id of the address that you want to clone to create the order's shipping address.",
9740
9995
  "flags": {
9741
9996
  "organization": {
9742
9997
  "char": "o",
@@ -9797,11 +10052,20 @@
9797
10052
  "name": "unformatted",
9798
10053
  "allowNo": false,
9799
10054
  "type": "boolean"
10055
+ },
10056
+ "value": {
10057
+ "char": "v",
10058
+ "description": "the trigger attribute value",
10059
+ "name": "value",
10060
+ "required": true,
10061
+ "hasDynamicHelp": false,
10062
+ "multiple": false,
10063
+ "type": "option"
9800
10064
  }
9801
10065
  },
9802
10066
  "hasDynamicHelp": false,
9803
10067
  "hiddenAliases": [],
9804
- "id": "order_subscription:cancel",
10068
+ "id": "order:shipping_address_clone_id",
9805
10069
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9806
10070
  "pluginName": "@commercelayer/cli-plugin-triggers",
9807
10071
  "pluginType": "core",
@@ -9811,11 +10075,11 @@
9811
10075
  "relativePath": [
9812
10076
  "lib",
9813
10077
  "commands",
9814
- "order_subscription",
9815
- "cancel.js"
10078
+ "order",
10079
+ "shipping_address_clone_id.js"
9816
10080
  ]
9817
10081
  },
9818
- "order_subscription:convert": {
10082
+ "order:shipping_address_same_as_billing": {
9819
10083
  "aliases": [],
9820
10084
  "args": {
9821
10085
  "id": {
@@ -9824,7 +10088,7 @@
9824
10088
  "required": true
9825
10089
  }
9826
10090
  },
9827
- "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
10091
+ "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
9828
10092
  "flags": {
9829
10093
  "organization": {
9830
10094
  "char": "o",
@@ -9889,7 +10153,7 @@
9889
10153
  },
9890
10154
  "hasDynamicHelp": false,
9891
10155
  "hiddenAliases": [],
9892
- "id": "order_subscription:convert",
10156
+ "id": "order:shipping_address_same_as_billing",
9893
10157
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9894
10158
  "pluginName": "@commercelayer/cli-plugin-triggers",
9895
10159
  "pluginType": "core",
@@ -9899,11 +10163,11 @@
9899
10163
  "relativePath": [
9900
10164
  "lib",
9901
10165
  "commands",
9902
- "order_subscription",
9903
- "convert.js"
10166
+ "order",
10167
+ "shipping_address_same_as_billing.js"
9904
10168
  ]
9905
10169
  },
9906
- "order_subscription:deactivate": {
10170
+ "order:start_editing": {
9907
10171
  "aliases": [],
9908
10172
  "args": {
9909
10173
  "id": {
@@ -9912,7 +10176,7 @@
9912
10176
  "required": true
9913
10177
  }
9914
10178
  },
9915
- "description": "Send this attribute if you want to mark this subscription as inactive.",
10179
+ "description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount. Cannot be passed by sales channels.",
9916
10180
  "flags": {
9917
10181
  "organization": {
9918
10182
  "char": "o",
@@ -9977,7 +10241,7 @@
9977
10241
  },
9978
10242
  "hasDynamicHelp": false,
9979
10243
  "hiddenAliases": [],
9980
- "id": "order_subscription:deactivate",
10244
+ "id": "order:start_editing",
9981
10245
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9982
10246
  "pluginName": "@commercelayer/cli-plugin-triggers",
9983
10247
  "pluginType": "core",
@@ -9987,11 +10251,11 @@
9987
10251
  "relativePath": [
9988
10252
  "lib",
9989
10253
  "commands",
9990
- "order_subscription",
9991
- "deactivate.js"
10254
+ "order",
10255
+ "start_editing.js"
9992
10256
  ]
9993
10257
  },
9994
- "order_subscription": {
10258
+ "order:stop_editing": {
9995
10259
  "aliases": [],
9996
10260
  "args": {
9997
10261
  "id": {
@@ -10000,7 +10264,7 @@
10000
10264
  "required": true
10001
10265
  }
10002
10266
  },
10003
- "description": "execute an action on a resource of type order_subscriptions",
10267
+ "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
10004
10268
  "flags": {
10005
10269
  "organization": {
10006
10270
  "char": "o",
@@ -10065,7 +10329,7 @@
10065
10329
  },
10066
10330
  "hasDynamicHelp": false,
10067
10331
  "hiddenAliases": [],
10068
- "id": "order_subscription",
10332
+ "id": "order:stop_editing",
10069
10333
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10070
10334
  "pluginName": "@commercelayer/cli-plugin-triggers",
10071
10335
  "pluginType": "core",
@@ -10075,11 +10339,11 @@
10075
10339
  "relativePath": [
10076
10340
  "lib",
10077
10341
  "commands",
10078
- "order_subscription",
10079
- "index.js"
10342
+ "order",
10343
+ "stop_editing.js"
10080
10344
  ]
10081
10345
  },
10082
- "payment_method:disable": {
10346
+ "order:unarchive": {
10083
10347
  "aliases": [],
10084
10348
  "args": {
10085
10349
  "id": {
@@ -10088,7 +10352,7 @@
10088
10352
  "required": true
10089
10353
  }
10090
10354
  },
10091
- "description": "Send this attribute if you want to mark this resource as disabled.",
10355
+ "description": "Send this attribute if you want to unarchive the order.",
10092
10356
  "flags": {
10093
10357
  "organization": {
10094
10358
  "char": "o",
@@ -10153,7 +10417,7 @@
10153
10417
  },
10154
10418
  "hasDynamicHelp": false,
10155
10419
  "hiddenAliases": [],
10156
- "id": "payment_method:disable",
10420
+ "id": "order:unarchive",
10157
10421
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10158
10422
  "pluginName": "@commercelayer/cli-plugin-triggers",
10159
10423
  "pluginType": "core",
@@ -10163,11 +10427,11 @@
10163
10427
  "relativePath": [
10164
10428
  "lib",
10165
10429
  "commands",
10166
- "payment_method",
10167
- "disable.js"
10430
+ "order",
10431
+ "unarchive.js"
10168
10432
  ]
10169
10433
  },
10170
- "payment_method:enable": {
10434
+ "order:update_taxes": {
10171
10435
  "aliases": [],
10172
10436
  "args": {
10173
10437
  "id": {
@@ -10176,7 +10440,7 @@
10176
10440
  "required": true
10177
10441
  }
10178
10442
  },
10179
- "description": "Send this attribute if you want to mark this resource as enabled.",
10443
+ "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).",
10180
10444
  "flags": {
10181
10445
  "organization": {
10182
10446
  "char": "o",
@@ -10241,7 +10505,7 @@
10241
10505
  },
10242
10506
  "hasDynamicHelp": false,
10243
10507
  "hiddenAliases": [],
10244
- "id": "payment_method:enable",
10508
+ "id": "order:update_taxes",
10245
10509
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10246
10510
  "pluginName": "@commercelayer/cli-plugin-triggers",
10247
10511
  "pluginType": "core",
@@ -10251,11 +10515,11 @@
10251
10515
  "relativePath": [
10252
10516
  "lib",
10253
10517
  "commands",
10254
- "payment_method",
10255
- "enable.js"
10518
+ "order",
10519
+ "update_taxes.js"
10256
10520
  ]
10257
10521
  },
10258
- "payment_method": {
10522
+ "order:validate": {
10259
10523
  "aliases": [],
10260
10524
  "args": {
10261
10525
  "id": {
@@ -10264,7 +10528,7 @@
10264
10528
  "required": true
10265
10529
  }
10266
10530
  },
10267
- "description": "execute an action on a resource of type payment_methods",
10531
+ "description": "Send this attribute if you want to trigger the external validation for the order.",
10268
10532
  "flags": {
10269
10533
  "organization": {
10270
10534
  "char": "o",
@@ -10329,7 +10593,7 @@
10329
10593
  },
10330
10594
  "hasDynamicHelp": false,
10331
10595
  "hiddenAliases": [],
10332
- "id": "payment_method",
10596
+ "id": "order:validate",
10333
10597
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10334
10598
  "pluginName": "@commercelayer/cli-plugin-triggers",
10335
10599
  "pluginType": "core",
@@ -10339,8 +10603,8 @@
10339
10603
  "relativePath": [
10340
10604
  "lib",
10341
10605
  "commands",
10342
- "payment_method",
10343
- "index.js"
10606
+ "order",
10607
+ "validate.js"
10344
10608
  ]
10345
10609
  },
10346
10610
  "percentage_discount_promotion:disable": {
@@ -16328,5 +16592,5 @@
16328
16592
  ]
16329
16593
  }
16330
16594
  },
16331
- "version": "4.9.2"
16595
+ "version": "4.11.0"
16332
16596
  }