@commercelayer/cli-plugin-triggers 4.14.3 → 4.15.1

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.
@@ -2220,7 +2220,7 @@
2220
2220
  "remove_tags.js"
2221
2221
  ]
2222
2222
  },
2223
- "capture:cancel": {
2223
+ "checkout_com_payment:details": {
2224
2224
  "aliases": [],
2225
2225
  "args": {
2226
2226
  "id": {
@@ -2229,7 +2229,7 @@
2229
2229
  "required": true
2230
2230
  }
2231
2231
  },
2232
- "description": "Send this attribute if you want to refund a succeeded capture of a pending order (which is left unpaid).",
2232
+ "description": "Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).",
2233
2233
  "flags": {
2234
2234
  "organization": {
2235
2235
  "char": "o",
@@ -2294,7 +2294,7 @@
2294
2294
  },
2295
2295
  "hasDynamicHelp": false,
2296
2296
  "hiddenAliases": [],
2297
- "id": "capture:cancel",
2297
+ "id": "checkout_com_payment:details",
2298
2298
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2299
2299
  "pluginName": "@commercelayer/cli-plugin-triggers",
2300
2300
  "pluginType": "core",
@@ -2304,11 +2304,11 @@
2304
2304
  "relativePath": [
2305
2305
  "lib",
2306
2306
  "commands",
2307
- "capture",
2308
- "cancel.js"
2307
+ "checkout_com_payment",
2308
+ "details.js"
2309
2309
  ]
2310
2310
  },
2311
- "capture:forward": {
2311
+ "checkout_com_payment": {
2312
2312
  "aliases": [],
2313
2313
  "args": {
2314
2314
  "id": {
@@ -2317,7 +2317,7 @@
2317
2317
  "required": true
2318
2318
  }
2319
2319
  },
2320
- "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
2320
+ "description": "execute an action on a resource of type checkout_com_payments",
2321
2321
  "flags": {
2322
2322
  "organization": {
2323
2323
  "char": "o",
@@ -2382,7 +2382,7 @@
2382
2382
  },
2383
2383
  "hasDynamicHelp": false,
2384
2384
  "hiddenAliases": [],
2385
- "id": "capture:forward",
2385
+ "id": "checkout_com_payment",
2386
2386
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2387
2387
  "pluginName": "@commercelayer/cli-plugin-triggers",
2388
2388
  "pluginType": "core",
@@ -2392,11 +2392,11 @@
2392
2392
  "relativePath": [
2393
2393
  "lib",
2394
2394
  "commands",
2395
- "capture",
2396
- "forward.js"
2395
+ "checkout_com_payment",
2396
+ "index.js"
2397
2397
  ]
2398
2398
  },
2399
- "capture": {
2399
+ "checkout_com_payment:refresh": {
2400
2400
  "aliases": [],
2401
2401
  "args": {
2402
2402
  "id": {
@@ -2405,7 +2405,7 @@
2405
2405
  "required": true
2406
2406
  }
2407
2407
  },
2408
- "description": "execute an action on a resource of type captures",
2408
+ "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
2409
2409
  "flags": {
2410
2410
  "organization": {
2411
2411
  "char": "o",
@@ -2470,7 +2470,7 @@
2470
2470
  },
2471
2471
  "hasDynamicHelp": false,
2472
2472
  "hiddenAliases": [],
2473
- "id": "capture",
2473
+ "id": "checkout_com_payment:refresh",
2474
2474
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2475
2475
  "pluginName": "@commercelayer/cli-plugin-triggers",
2476
2476
  "pluginType": "core",
@@ -2480,11 +2480,11 @@
2480
2480
  "relativePath": [
2481
2481
  "lib",
2482
2482
  "commands",
2483
- "capture",
2484
- "index.js"
2483
+ "checkout_com_payment",
2484
+ "refresh.js"
2485
2485
  ]
2486
2486
  },
2487
- "capture:refund": {
2487
+ "capture:cancel": {
2488
2488
  "aliases": [],
2489
2489
  "args": {
2490
2490
  "id": {
@@ -2493,7 +2493,7 @@
2493
2493
  "required": true
2494
2494
  }
2495
2495
  },
2496
- "description": "Send this attribute if you want to create a refund for this capture.",
2496
+ "description": "Send this attribute if you want to refund a succeeded capture of a pending order (which is left unpaid).",
2497
2497
  "flags": {
2498
2498
  "organization": {
2499
2499
  "char": "o",
@@ -2558,7 +2558,7 @@
2558
2558
  },
2559
2559
  "hasDynamicHelp": false,
2560
2560
  "hiddenAliases": [],
2561
- "id": "capture:refund",
2561
+ "id": "capture:cancel",
2562
2562
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2563
2563
  "pluginName": "@commercelayer/cli-plugin-triggers",
2564
2564
  "pluginType": "core",
@@ -2569,10 +2569,10 @@
2569
2569
  "lib",
2570
2570
  "commands",
2571
2571
  "capture",
2572
- "refund.js"
2572
+ "cancel.js"
2573
2573
  ]
2574
2574
  },
2575
- "capture:refund_amount_cents": {
2575
+ "capture:forward": {
2576
2576
  "aliases": [],
2577
2577
  "args": {
2578
2578
  "id": {
@@ -2581,7 +2581,7 @@
2581
2581
  "required": true
2582
2582
  }
2583
2583
  },
2584
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be refunded.",
2584
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
2585
2585
  "flags": {
2586
2586
  "organization": {
2587
2587
  "char": "o",
@@ -2646,7 +2646,7 @@
2646
2646
  },
2647
2647
  "hasDynamicHelp": false,
2648
2648
  "hiddenAliases": [],
2649
- "id": "capture:refund_amount_cents",
2649
+ "id": "capture:forward",
2650
2650
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2651
2651
  "pluginName": "@commercelayer/cli-plugin-triggers",
2652
2652
  "pluginType": "core",
@@ -2657,10 +2657,10 @@
2657
2657
  "lib",
2658
2658
  "commands",
2659
2659
  "capture",
2660
- "refund_amount_cents.js"
2660
+ "forward.js"
2661
2661
  ]
2662
2662
  },
2663
- "checkout_com_payment:details": {
2663
+ "capture": {
2664
2664
  "aliases": [],
2665
2665
  "args": {
2666
2666
  "id": {
@@ -2669,7 +2669,7 @@
2669
2669
  "required": true
2670
2670
  }
2671
2671
  },
2672
- "description": "Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).",
2672
+ "description": "execute an action on a resource of type captures",
2673
2673
  "flags": {
2674
2674
  "organization": {
2675
2675
  "char": "o",
@@ -2734,7 +2734,7 @@
2734
2734
  },
2735
2735
  "hasDynamicHelp": false,
2736
2736
  "hiddenAliases": [],
2737
- "id": "checkout_com_payment:details",
2737
+ "id": "capture",
2738
2738
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2739
2739
  "pluginName": "@commercelayer/cli-plugin-triggers",
2740
2740
  "pluginType": "core",
@@ -2744,11 +2744,11 @@
2744
2744
  "relativePath": [
2745
2745
  "lib",
2746
2746
  "commands",
2747
- "checkout_com_payment",
2748
- "details.js"
2747
+ "capture",
2748
+ "index.js"
2749
2749
  ]
2750
2750
  },
2751
- "checkout_com_payment": {
2751
+ "capture:refund": {
2752
2752
  "aliases": [],
2753
2753
  "args": {
2754
2754
  "id": {
@@ -2757,7 +2757,7 @@
2757
2757
  "required": true
2758
2758
  }
2759
2759
  },
2760
- "description": "execute an action on a resource of type checkout_com_payments",
2760
+ "description": "Send this attribute if you want to create a refund for this capture.",
2761
2761
  "flags": {
2762
2762
  "organization": {
2763
2763
  "char": "o",
@@ -2822,7 +2822,7 @@
2822
2822
  },
2823
2823
  "hasDynamicHelp": false,
2824
2824
  "hiddenAliases": [],
2825
- "id": "checkout_com_payment",
2825
+ "id": "capture:refund",
2826
2826
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2827
2827
  "pluginName": "@commercelayer/cli-plugin-triggers",
2828
2828
  "pluginType": "core",
@@ -2832,11 +2832,11 @@
2832
2832
  "relativePath": [
2833
2833
  "lib",
2834
2834
  "commands",
2835
- "checkout_com_payment",
2836
- "index.js"
2835
+ "capture",
2836
+ "refund.js"
2837
2837
  ]
2838
2838
  },
2839
- "checkout_com_payment:refresh": {
2839
+ "capture:refund_amount_cents": {
2840
2840
  "aliases": [],
2841
2841
  "args": {
2842
2842
  "id": {
@@ -2845,7 +2845,7 @@
2845
2845
  "required": true
2846
2846
  }
2847
2847
  },
2848
- "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
2848
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be refunded.",
2849
2849
  "flags": {
2850
2850
  "organization": {
2851
2851
  "char": "o",
@@ -2910,7 +2910,7 @@
2910
2910
  },
2911
2911
  "hasDynamicHelp": false,
2912
2912
  "hiddenAliases": [],
2913
- "id": "checkout_com_payment:refresh",
2913
+ "id": "capture:refund_amount_cents",
2914
2914
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2915
2915
  "pluginName": "@commercelayer/cli-plugin-triggers",
2916
2916
  "pluginType": "core",
@@ -2920,11 +2920,11 @@
2920
2920
  "relativePath": [
2921
2921
  "lib",
2922
2922
  "commands",
2923
- "checkout_com_payment",
2924
- "refresh.js"
2923
+ "capture",
2924
+ "refund_amount_cents.js"
2925
2925
  ]
2926
2926
  },
2927
- "coupon:add_tags": {
2927
+ "cleanup": {
2928
2928
  "aliases": [],
2929
2929
  "args": {
2930
2930
  "id": {
@@ -2933,7 +2933,7 @@
2933
2933
  "required": true
2934
2934
  }
2935
2935
  },
2936
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
2936
+ "description": "execute an action on a resource of type cleanups",
2937
2937
  "flags": {
2938
2938
  "organization": {
2939
2939
  "char": "o",
@@ -2998,7 +2998,7 @@
2998
2998
  },
2999
2999
  "hasDynamicHelp": false,
3000
3000
  "hiddenAliases": [],
3001
- "id": "coupon:add_tags",
3001
+ "id": "cleanup",
3002
3002
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3003
3003
  "pluginName": "@commercelayer/cli-plugin-triggers",
3004
3004
  "pluginType": "core",
@@ -3008,11 +3008,11 @@
3008
3008
  "relativePath": [
3009
3009
  "lib",
3010
3010
  "commands",
3011
- "coupon",
3012
- "add_tags.js"
3011
+ "cleanup",
3012
+ "index.js"
3013
3013
  ]
3014
3014
  },
3015
- "coupon": {
3015
+ "cleanup:interrupt": {
3016
3016
  "aliases": [],
3017
3017
  "args": {
3018
3018
  "id": {
@@ -3021,7 +3021,7 @@
3021
3021
  "required": true
3022
3022
  }
3023
3023
  },
3024
- "description": "execute an action on a resource of type coupons",
3024
+ "description": "Send this attribute if you want to mark status as 'interrupted'.",
3025
3025
  "flags": {
3026
3026
  "organization": {
3027
3027
  "char": "o",
@@ -3086,7 +3086,7 @@
3086
3086
  },
3087
3087
  "hasDynamicHelp": false,
3088
3088
  "hiddenAliases": [],
3089
- "id": "coupon",
3089
+ "id": "cleanup:interrupt",
3090
3090
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3091
3091
  "pluginName": "@commercelayer/cli-plugin-triggers",
3092
3092
  "pluginType": "core",
@@ -3096,11 +3096,11 @@
3096
3096
  "relativePath": [
3097
3097
  "lib",
3098
3098
  "commands",
3099
- "coupon",
3100
- "index.js"
3099
+ "cleanup",
3100
+ "interrupt.js"
3101
3101
  ]
3102
3102
  },
3103
- "coupon:remove_tags": {
3103
+ "coupon:add_tags": {
3104
3104
  "aliases": [],
3105
3105
  "args": {
3106
3106
  "id": {
@@ -3109,7 +3109,7 @@
3109
3109
  "required": true
3110
3110
  }
3111
3111
  },
3112
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
3112
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
3113
3113
  "flags": {
3114
3114
  "organization": {
3115
3115
  "char": "o",
@@ -3174,7 +3174,7 @@
3174
3174
  },
3175
3175
  "hasDynamicHelp": false,
3176
3176
  "hiddenAliases": [],
3177
- "id": "coupon:remove_tags",
3177
+ "id": "coupon:add_tags",
3178
3178
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3179
3179
  "pluginName": "@commercelayer/cli-plugin-triggers",
3180
3180
  "pluginType": "core",
@@ -3185,10 +3185,10 @@
3185
3185
  "lib",
3186
3186
  "commands",
3187
3187
  "coupon",
3188
- "remove_tags.js"
3188
+ "add_tags.js"
3189
3189
  ]
3190
3190
  },
3191
- "customer:add_tags": {
3191
+ "coupon": {
3192
3192
  "aliases": [],
3193
3193
  "args": {
3194
3194
  "id": {
@@ -3197,7 +3197,7 @@
3197
3197
  "required": true
3198
3198
  }
3199
3199
  },
3200
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
3200
+ "description": "execute an action on a resource of type coupons",
3201
3201
  "flags": {
3202
3202
  "organization": {
3203
3203
  "char": "o",
@@ -3262,7 +3262,7 @@
3262
3262
  },
3263
3263
  "hasDynamicHelp": false,
3264
3264
  "hiddenAliases": [],
3265
- "id": "customer:add_tags",
3265
+ "id": "coupon",
3266
3266
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3267
3267
  "pluginName": "@commercelayer/cli-plugin-triggers",
3268
3268
  "pluginType": "core",
@@ -3272,11 +3272,11 @@
3272
3272
  "relativePath": [
3273
3273
  "lib",
3274
3274
  "commands",
3275
- "customer",
3276
- "add_tags.js"
3275
+ "coupon",
3276
+ "index.js"
3277
3277
  ]
3278
3278
  },
3279
- "customer:cancel_anonymization": {
3279
+ "coupon:remove_tags": {
3280
3280
  "aliases": [],
3281
3281
  "args": {
3282
3282
  "id": {
@@ -3285,7 +3285,7 @@
3285
3285
  "required": true
3286
3286
  }
3287
3287
  },
3288
- "description": "Send this attribute if you want to trigger a cancellation of anonymization. Cannot be passed by sales channels.",
3288
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
3289
3289
  "flags": {
3290
3290
  "organization": {
3291
3291
  "char": "o",
@@ -3350,7 +3350,7 @@
3350
3350
  },
3351
3351
  "hasDynamicHelp": false,
3352
3352
  "hiddenAliases": [],
3353
- "id": "customer:cancel_anonymization",
3353
+ "id": "coupon:remove_tags",
3354
3354
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3355
3355
  "pluginName": "@commercelayer/cli-plugin-triggers",
3356
3356
  "pluginType": "core",
@@ -3360,11 +3360,11 @@
3360
3360
  "relativePath": [
3361
3361
  "lib",
3362
3362
  "commands",
3363
- "customer",
3364
- "cancel_anonymization.js"
3363
+ "coupon",
3364
+ "remove_tags.js"
3365
3365
  ]
3366
3366
  },
3367
- "customer": {
3367
+ "customer:add_tags": {
3368
3368
  "aliases": [],
3369
3369
  "args": {
3370
3370
  "id": {
@@ -3373,7 +3373,7 @@
3373
3373
  "required": true
3374
3374
  }
3375
3375
  },
3376
- "description": "execute an action on a resource of type customers",
3376
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
3377
3377
  "flags": {
3378
3378
  "organization": {
3379
3379
  "char": "o",
@@ -3438,7 +3438,7 @@
3438
3438
  },
3439
3439
  "hasDynamicHelp": false,
3440
3440
  "hiddenAliases": [],
3441
- "id": "customer",
3441
+ "id": "customer:add_tags",
3442
3442
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3443
3443
  "pluginName": "@commercelayer/cli-plugin-triggers",
3444
3444
  "pluginType": "core",
@@ -3449,10 +3449,10 @@
3449
3449
  "lib",
3450
3450
  "commands",
3451
3451
  "customer",
3452
- "index.js"
3452
+ "add_tags.js"
3453
3453
  ]
3454
3454
  },
3455
- "customer:remove_tags": {
3455
+ "customer:cancel_anonymization": {
3456
3456
  "aliases": [],
3457
3457
  "args": {
3458
3458
  "id": {
@@ -3461,7 +3461,7 @@
3461
3461
  "required": true
3462
3462
  }
3463
3463
  },
3464
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
3464
+ "description": "Send this attribute if you want to trigger a cancellation of anonymization. Cannot be passed by sales channels.",
3465
3465
  "flags": {
3466
3466
  "organization": {
3467
3467
  "char": "o",
@@ -3526,7 +3526,7 @@
3526
3526
  },
3527
3527
  "hasDynamicHelp": false,
3528
3528
  "hiddenAliases": [],
3529
- "id": "customer:remove_tags",
3529
+ "id": "customer:cancel_anonymization",
3530
3530
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3531
3531
  "pluginName": "@commercelayer/cli-plugin-triggers",
3532
3532
  "pluginType": "core",
@@ -3537,10 +3537,10 @@
3537
3537
  "lib",
3538
3538
  "commands",
3539
3539
  "customer",
3540
- "remove_tags.js"
3540
+ "cancel_anonymization.js"
3541
3541
  ]
3542
3542
  },
3543
- "customer:request_anonymization": {
3543
+ "customer": {
3544
3544
  "aliases": [],
3545
3545
  "args": {
3546
3546
  "id": {
@@ -3549,7 +3549,7 @@
3549
3549
  "required": true
3550
3550
  }
3551
3551
  },
3552
- "description": "Send this attribute if you want to trigger anonymization. Cannot be passed by sales channels.",
3552
+ "description": "execute an action on a resource of type customers",
3553
3553
  "flags": {
3554
3554
  "organization": {
3555
3555
  "char": "o",
@@ -3614,7 +3614,7 @@
3614
3614
  },
3615
3615
  "hasDynamicHelp": false,
3616
3616
  "hiddenAliases": [],
3617
- "id": "customer:request_anonymization",
3617
+ "id": "customer",
3618
3618
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3619
3619
  "pluginName": "@commercelayer/cli-plugin-triggers",
3620
3620
  "pluginType": "core",
@@ -3625,10 +3625,10 @@
3625
3625
  "lib",
3626
3626
  "commands",
3627
3627
  "customer",
3628
- "request_anonymization.js"
3628
+ "index.js"
3629
3629
  ]
3630
3630
  },
3631
- "cleanup": {
3631
+ "customer:remove_tags": {
3632
3632
  "aliases": [],
3633
3633
  "args": {
3634
3634
  "id": {
@@ -3637,7 +3637,7 @@
3637
3637
  "required": true
3638
3638
  }
3639
3639
  },
3640
- "description": "execute an action on a resource of type cleanups",
3640
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
3641
3641
  "flags": {
3642
3642
  "organization": {
3643
3643
  "char": "o",
@@ -3702,7 +3702,7 @@
3702
3702
  },
3703
3703
  "hasDynamicHelp": false,
3704
3704
  "hiddenAliases": [],
3705
- "id": "cleanup",
3705
+ "id": "customer:remove_tags",
3706
3706
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3707
3707
  "pluginName": "@commercelayer/cli-plugin-triggers",
3708
3708
  "pluginType": "core",
@@ -3712,11 +3712,11 @@
3712
3712
  "relativePath": [
3713
3713
  "lib",
3714
3714
  "commands",
3715
- "cleanup",
3716
- "index.js"
3715
+ "customer",
3716
+ "remove_tags.js"
3717
3717
  ]
3718
3718
  },
3719
- "cleanup:interrupt": {
3719
+ "customer:request_anonymization": {
3720
3720
  "aliases": [],
3721
3721
  "args": {
3722
3722
  "id": {
@@ -3725,7 +3725,7 @@
3725
3725
  "required": true
3726
3726
  }
3727
3727
  },
3728
- "description": "Send this attribute if you want to mark status as 'interrupted'.",
3728
+ "description": "Send this attribute if you want to trigger anonymization. Cannot be passed by sales channels.",
3729
3729
  "flags": {
3730
3730
  "organization": {
3731
3731
  "char": "o",
@@ -3790,7 +3790,7 @@
3790
3790
  },
3791
3791
  "hasDynamicHelp": false,
3792
3792
  "hiddenAliases": [],
3793
- "id": "cleanup:interrupt",
3793
+ "id": "customer:request_anonymization",
3794
3794
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3795
3795
  "pluginName": "@commercelayer/cli-plugin-triggers",
3796
3796
  "pluginType": "core",
@@ -3800,8 +3800,8 @@
3800
3800
  "relativePath": [
3801
3801
  "lib",
3802
3802
  "commands",
3803
- "cleanup",
3804
- "interrupt.js"
3803
+ "customer",
3804
+ "request_anonymization.js"
3805
3805
  ]
3806
3806
  },
3807
3807
  "customer_password_reset": {
@@ -6268,7 +6268,7 @@
6268
6268
  "remove_tags.js"
6269
6269
  ]
6270
6270
  },
6271
- "flex_promotion:add_tags": {
6271
+ "free_gift_promotion:add_tags": {
6272
6272
  "aliases": [],
6273
6273
  "args": {
6274
6274
  "id": {
@@ -6342,7 +6342,7 @@
6342
6342
  },
6343
6343
  "hasDynamicHelp": false,
6344
6344
  "hiddenAliases": [],
6345
- "id": "flex_promotion:add_tags",
6345
+ "id": "free_gift_promotion:add_tags",
6346
6346
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6347
6347
  "pluginName": "@commercelayer/cli-plugin-triggers",
6348
6348
  "pluginType": "core",
@@ -6352,11 +6352,11 @@
6352
6352
  "relativePath": [
6353
6353
  "lib",
6354
6354
  "commands",
6355
- "flex_promotion",
6355
+ "free_gift_promotion",
6356
6356
  "add_tags.js"
6357
6357
  ]
6358
6358
  },
6359
- "flex_promotion:disable": {
6359
+ "free_gift_promotion:disable": {
6360
6360
  "aliases": [],
6361
6361
  "args": {
6362
6362
  "id": {
@@ -6430,7 +6430,7 @@
6430
6430
  },
6431
6431
  "hasDynamicHelp": false,
6432
6432
  "hiddenAliases": [],
6433
- "id": "flex_promotion:disable",
6433
+ "id": "free_gift_promotion:disable",
6434
6434
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6435
6435
  "pluginName": "@commercelayer/cli-plugin-triggers",
6436
6436
  "pluginType": "core",
@@ -6440,11 +6440,11 @@
6440
6440
  "relativePath": [
6441
6441
  "lib",
6442
6442
  "commands",
6443
- "flex_promotion",
6443
+ "free_gift_promotion",
6444
6444
  "disable.js"
6445
6445
  ]
6446
6446
  },
6447
- "flex_promotion:enable": {
6447
+ "free_gift_promotion:enable": {
6448
6448
  "aliases": [],
6449
6449
  "args": {
6450
6450
  "id": {
@@ -6518,7 +6518,7 @@
6518
6518
  },
6519
6519
  "hasDynamicHelp": false,
6520
6520
  "hiddenAliases": [],
6521
- "id": "flex_promotion:enable",
6521
+ "id": "free_gift_promotion:enable",
6522
6522
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6523
6523
  "pluginName": "@commercelayer/cli-plugin-triggers",
6524
6524
  "pluginType": "core",
@@ -6528,11 +6528,11 @@
6528
6528
  "relativePath": [
6529
6529
  "lib",
6530
6530
  "commands",
6531
- "flex_promotion",
6531
+ "free_gift_promotion",
6532
6532
  "enable.js"
6533
6533
  ]
6534
6534
  },
6535
- "flex_promotion": {
6535
+ "free_gift_promotion": {
6536
6536
  "aliases": [],
6537
6537
  "args": {
6538
6538
  "id": {
@@ -6541,7 +6541,7 @@
6541
6541
  "required": true
6542
6542
  }
6543
6543
  },
6544
- "description": "execute an action on a resource of type flex_promotions",
6544
+ "description": "execute an action on a resource of type free_gift_promotions",
6545
6545
  "flags": {
6546
6546
  "organization": {
6547
6547
  "char": "o",
@@ -6606,7 +6606,7 @@
6606
6606
  },
6607
6607
  "hasDynamicHelp": false,
6608
6608
  "hiddenAliases": [],
6609
- "id": "flex_promotion",
6609
+ "id": "free_gift_promotion",
6610
6610
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6611
6611
  "pluginName": "@commercelayer/cli-plugin-triggers",
6612
6612
  "pluginType": "core",
@@ -6616,11 +6616,11 @@
6616
6616
  "relativePath": [
6617
6617
  "lib",
6618
6618
  "commands",
6619
- "flex_promotion",
6619
+ "free_gift_promotion",
6620
6620
  "index.js"
6621
6621
  ]
6622
6622
  },
6623
- "flex_promotion:remove_tags": {
6623
+ "free_gift_promotion:remove_tags": {
6624
6624
  "aliases": [],
6625
6625
  "args": {
6626
6626
  "id": {
@@ -6694,7 +6694,7 @@
6694
6694
  },
6695
6695
  "hasDynamicHelp": false,
6696
6696
  "hiddenAliases": [],
6697
- "id": "flex_promotion:remove_tags",
6697
+ "id": "free_gift_promotion:remove_tags",
6698
6698
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6699
6699
  "pluginName": "@commercelayer/cli-plugin-triggers",
6700
6700
  "pluginType": "core",
@@ -6704,11 +6704,11 @@
6704
6704
  "relativePath": [
6705
6705
  "lib",
6706
6706
  "commands",
6707
- "flex_promotion",
6707
+ "free_gift_promotion",
6708
6708
  "remove_tags.js"
6709
6709
  ]
6710
6710
  },
6711
- "free_gift_promotion:add_tags": {
6711
+ "flex_promotion:add_tags": {
6712
6712
  "aliases": [],
6713
6713
  "args": {
6714
6714
  "id": {
@@ -6782,7 +6782,7 @@
6782
6782
  },
6783
6783
  "hasDynamicHelp": false,
6784
6784
  "hiddenAliases": [],
6785
- "id": "free_gift_promotion:add_tags",
6785
+ "id": "flex_promotion:add_tags",
6786
6786
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6787
6787
  "pluginName": "@commercelayer/cli-plugin-triggers",
6788
6788
  "pluginType": "core",
@@ -6792,11 +6792,11 @@
6792
6792
  "relativePath": [
6793
6793
  "lib",
6794
6794
  "commands",
6795
- "free_gift_promotion",
6795
+ "flex_promotion",
6796
6796
  "add_tags.js"
6797
6797
  ]
6798
6798
  },
6799
- "free_gift_promotion:disable": {
6799
+ "flex_promotion:disable": {
6800
6800
  "aliases": [],
6801
6801
  "args": {
6802
6802
  "id": {
@@ -6870,7 +6870,7 @@
6870
6870
  },
6871
6871
  "hasDynamicHelp": false,
6872
6872
  "hiddenAliases": [],
6873
- "id": "free_gift_promotion:disable",
6873
+ "id": "flex_promotion:disable",
6874
6874
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6875
6875
  "pluginName": "@commercelayer/cli-plugin-triggers",
6876
6876
  "pluginType": "core",
@@ -6880,11 +6880,11 @@
6880
6880
  "relativePath": [
6881
6881
  "lib",
6882
6882
  "commands",
6883
- "free_gift_promotion",
6883
+ "flex_promotion",
6884
6884
  "disable.js"
6885
6885
  ]
6886
6886
  },
6887
- "free_gift_promotion:enable": {
6887
+ "flex_promotion:enable": {
6888
6888
  "aliases": [],
6889
6889
  "args": {
6890
6890
  "id": {
@@ -6958,7 +6958,7 @@
6958
6958
  },
6959
6959
  "hasDynamicHelp": false,
6960
6960
  "hiddenAliases": [],
6961
- "id": "free_gift_promotion:enable",
6961
+ "id": "flex_promotion:enable",
6962
6962
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6963
6963
  "pluginName": "@commercelayer/cli-plugin-triggers",
6964
6964
  "pluginType": "core",
@@ -6968,11 +6968,11 @@
6968
6968
  "relativePath": [
6969
6969
  "lib",
6970
6970
  "commands",
6971
- "free_gift_promotion",
6971
+ "flex_promotion",
6972
6972
  "enable.js"
6973
6973
  ]
6974
6974
  },
6975
- "free_gift_promotion": {
6975
+ "flex_promotion": {
6976
6976
  "aliases": [],
6977
6977
  "args": {
6978
6978
  "id": {
@@ -6981,7 +6981,7 @@
6981
6981
  "required": true
6982
6982
  }
6983
6983
  },
6984
- "description": "execute an action on a resource of type free_gift_promotions",
6984
+ "description": "execute an action on a resource of type flex_promotions",
6985
6985
  "flags": {
6986
6986
  "organization": {
6987
6987
  "char": "o",
@@ -7046,7 +7046,7 @@
7046
7046
  },
7047
7047
  "hasDynamicHelp": false,
7048
7048
  "hiddenAliases": [],
7049
- "id": "free_gift_promotion",
7049
+ "id": "flex_promotion",
7050
7050
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7051
7051
  "pluginName": "@commercelayer/cli-plugin-triggers",
7052
7052
  "pluginType": "core",
@@ -7056,11 +7056,11 @@
7056
7056
  "relativePath": [
7057
7057
  "lib",
7058
7058
  "commands",
7059
- "free_gift_promotion",
7059
+ "flex_promotion",
7060
7060
  "index.js"
7061
7061
  ]
7062
7062
  },
7063
- "free_gift_promotion:remove_tags": {
7063
+ "flex_promotion:remove_tags": {
7064
7064
  "aliases": [],
7065
7065
  "args": {
7066
7066
  "id": {
@@ -7134,7 +7134,7 @@
7134
7134
  },
7135
7135
  "hasDynamicHelp": false,
7136
7136
  "hiddenAliases": [],
7137
- "id": "free_gift_promotion:remove_tags",
7137
+ "id": "flex_promotion:remove_tags",
7138
7138
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7139
7139
  "pluginName": "@commercelayer/cli-plugin-triggers",
7140
7140
  "pluginType": "core",
@@ -7144,7 +7144,7 @@
7144
7144
  "relativePath": [
7145
7145
  "lib",
7146
7146
  "commands",
7147
- "free_gift_promotion",
7147
+ "flex_promotion",
7148
7148
  "remove_tags.js"
7149
7149
  ]
7150
7150
  },
@@ -8380,7 +8380,7 @@
8380
8380
  "remove_tags.js"
8381
8381
  ]
8382
8382
  },
8383
- "in_stock_subscription:activate": {
8383
+ "klarna_payment": {
8384
8384
  "aliases": [],
8385
8385
  "args": {
8386
8386
  "id": {
@@ -8389,7 +8389,7 @@
8389
8389
  "required": true
8390
8390
  }
8391
8391
  },
8392
- "description": "Send this attribute if you want to activate an inactive subscription.",
8392
+ "description": "execute an action on a resource of type klarna_payments",
8393
8393
  "flags": {
8394
8394
  "organization": {
8395
8395
  "char": "o",
@@ -8454,7 +8454,7 @@
8454
8454
  },
8455
8455
  "hasDynamicHelp": false,
8456
8456
  "hiddenAliases": [],
8457
- "id": "in_stock_subscription:activate",
8457
+ "id": "klarna_payment",
8458
8458
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8459
8459
  "pluginName": "@commercelayer/cli-plugin-triggers",
8460
8460
  "pluginType": "core",
@@ -8464,11 +8464,11 @@
8464
8464
  "relativePath": [
8465
8465
  "lib",
8466
8466
  "commands",
8467
- "in_stock_subscription",
8468
- "activate.js"
8467
+ "klarna_payment",
8468
+ "index.js"
8469
8469
  ]
8470
8470
  },
8471
- "in_stock_subscription:deactivate": {
8471
+ "klarna_payment:update": {
8472
8472
  "aliases": [],
8473
8473
  "args": {
8474
8474
  "id": {
@@ -8477,7 +8477,7 @@
8477
8477
  "required": true
8478
8478
  }
8479
8479
  },
8480
- "description": "Send this attribute if you want to dactivate an active subscription.",
8480
+ "description": "Send this attribute if you want to update the payment session with fresh order data.",
8481
8481
  "flags": {
8482
8482
  "organization": {
8483
8483
  "char": "o",
@@ -8542,7 +8542,7 @@
8542
8542
  },
8543
8543
  "hasDynamicHelp": false,
8544
8544
  "hiddenAliases": [],
8545
- "id": "in_stock_subscription:deactivate",
8545
+ "id": "klarna_payment:update",
8546
8546
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8547
8547
  "pluginName": "@commercelayer/cli-plugin-triggers",
8548
8548
  "pluginType": "core",
@@ -8552,11 +8552,11 @@
8552
8552
  "relativePath": [
8553
8553
  "lib",
8554
8554
  "commands",
8555
- "in_stock_subscription",
8556
- "deactivate.js"
8555
+ "klarna_payment",
8556
+ "update.js"
8557
8557
  ]
8558
8558
  },
8559
- "in_stock_subscription": {
8559
+ "in_stock_subscription:activate": {
8560
8560
  "aliases": [],
8561
8561
  "args": {
8562
8562
  "id": {
@@ -8565,7 +8565,7 @@
8565
8565
  "required": true
8566
8566
  }
8567
8567
  },
8568
- "description": "execute an action on a resource of type in_stock_subscriptions",
8568
+ "description": "Send this attribute if you want to activate an inactive subscription.",
8569
8569
  "flags": {
8570
8570
  "organization": {
8571
8571
  "char": "o",
@@ -8630,7 +8630,7 @@
8630
8630
  },
8631
8631
  "hasDynamicHelp": false,
8632
8632
  "hiddenAliases": [],
8633
- "id": "in_stock_subscription",
8633
+ "id": "in_stock_subscription:activate",
8634
8634
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8635
8635
  "pluginName": "@commercelayer/cli-plugin-triggers",
8636
8636
  "pluginType": "core",
@@ -8641,10 +8641,10 @@
8641
8641
  "lib",
8642
8642
  "commands",
8643
8643
  "in_stock_subscription",
8644
- "index.js"
8644
+ "activate.js"
8645
8645
  ]
8646
8646
  },
8647
- "klarna_payment": {
8647
+ "in_stock_subscription:deactivate": {
8648
8648
  "aliases": [],
8649
8649
  "args": {
8650
8650
  "id": {
@@ -8653,7 +8653,7 @@
8653
8653
  "required": true
8654
8654
  }
8655
8655
  },
8656
- "description": "execute an action on a resource of type klarna_payments",
8656
+ "description": "Send this attribute if you want to dactivate an active subscription.",
8657
8657
  "flags": {
8658
8658
  "organization": {
8659
8659
  "char": "o",
@@ -8718,7 +8718,7 @@
8718
8718
  },
8719
8719
  "hasDynamicHelp": false,
8720
8720
  "hiddenAliases": [],
8721
- "id": "klarna_payment",
8721
+ "id": "in_stock_subscription:deactivate",
8722
8722
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8723
8723
  "pluginName": "@commercelayer/cli-plugin-triggers",
8724
8724
  "pluginType": "core",
@@ -8728,11 +8728,11 @@
8728
8728
  "relativePath": [
8729
8729
  "lib",
8730
8730
  "commands",
8731
- "klarna_payment",
8732
- "index.js"
8731
+ "in_stock_subscription",
8732
+ "deactivate.js"
8733
8733
  ]
8734
8734
  },
8735
- "klarna_payment:update": {
8735
+ "in_stock_subscription": {
8736
8736
  "aliases": [],
8737
8737
  "args": {
8738
8738
  "id": {
@@ -8741,7 +8741,7 @@
8741
8741
  "required": true
8742
8742
  }
8743
8743
  },
8744
- "description": "Send this attribute if you want to update the payment session with fresh order data.",
8744
+ "description": "execute an action on a resource of type in_stock_subscriptions",
8745
8745
  "flags": {
8746
8746
  "organization": {
8747
8747
  "char": "o",
@@ -8806,7 +8806,7 @@
8806
8806
  },
8807
8807
  "hasDynamicHelp": false,
8808
8808
  "hiddenAliases": [],
8809
- "id": "klarna_payment:update",
8809
+ "id": "in_stock_subscription",
8810
8810
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8811
8811
  "pluginName": "@commercelayer/cli-plugin-triggers",
8812
8812
  "pluginType": "core",
@@ -8816,11 +8816,11 @@
8816
8816
  "relativePath": [
8817
8817
  "lib",
8818
8818
  "commands",
8819
- "klarna_payment",
8820
- "update.js"
8819
+ "in_stock_subscription",
8820
+ "index.js"
8821
8821
  ]
8822
8822
  },
8823
- "line_item_option:add_tags": {
8823
+ "line_item:add_tags": {
8824
8824
  "aliases": [],
8825
8825
  "args": {
8826
8826
  "id": {
@@ -8894,7 +8894,7 @@
8894
8894
  },
8895
8895
  "hasDynamicHelp": false,
8896
8896
  "hiddenAliases": [],
8897
- "id": "line_item_option:add_tags",
8897
+ "id": "line_item:add_tags",
8898
8898
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8899
8899
  "pluginName": "@commercelayer/cli-plugin-triggers",
8900
8900
  "pluginType": "core",
@@ -8904,11 +8904,11 @@
8904
8904
  "relativePath": [
8905
8905
  "lib",
8906
8906
  "commands",
8907
- "line_item_option",
8907
+ "line_item",
8908
8908
  "add_tags.js"
8909
8909
  ]
8910
8910
  },
8911
- "line_item_option": {
8911
+ "line_item:external_price": {
8912
8912
  "aliases": [],
8913
8913
  "args": {
8914
8914
  "id": {
@@ -8917,7 +8917,7 @@
8917
8917
  "required": true
8918
8918
  }
8919
8919
  },
8920
- "description": "execute an action on a resource of type line_item_options",
8920
+ "description": "When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.",
8921
8921
  "flags": {
8922
8922
  "organization": {
8923
8923
  "char": "o",
@@ -8982,7 +8982,7 @@
8982
8982
  },
8983
8983
  "hasDynamicHelp": false,
8984
8984
  "hiddenAliases": [],
8985
- "id": "line_item_option",
8985
+ "id": "line_item:external_price",
8986
8986
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8987
8987
  "pluginName": "@commercelayer/cli-plugin-triggers",
8988
8988
  "pluginType": "core",
@@ -8992,11 +8992,99 @@
8992
8992
  "relativePath": [
8993
8993
  "lib",
8994
8994
  "commands",
8995
- "line_item_option",
8995
+ "line_item",
8996
+ "external_price.js"
8997
+ ]
8998
+ },
8999
+ "line_item": {
9000
+ "aliases": [],
9001
+ "args": {
9002
+ "id": {
9003
+ "description": "the unique id of the resource",
9004
+ "name": "id",
9005
+ "required": true
9006
+ }
9007
+ },
9008
+ "description": "execute an action on a resource of type line_items",
9009
+ "flags": {
9010
+ "organization": {
9011
+ "char": "o",
9012
+ "description": "the slug of your organization",
9013
+ "env": "CL_CLI_ORGANIZATION",
9014
+ "hidden": true,
9015
+ "name": "organization",
9016
+ "required": true,
9017
+ "hasDynamicHelp": false,
9018
+ "multiple": false,
9019
+ "type": "option"
9020
+ },
9021
+ "domain": {
9022
+ "char": "d",
9023
+ "dependsOn": [
9024
+ "organization"
9025
+ ],
9026
+ "env": "CL_CLI_DOMAIN",
9027
+ "hidden": true,
9028
+ "name": "domain",
9029
+ "required": false,
9030
+ "hasDynamicHelp": false,
9031
+ "multiple": false,
9032
+ "type": "option"
9033
+ },
9034
+ "accessToken": {
9035
+ "env": "CL_CLI_ACCESS_TOKEN",
9036
+ "hidden": true,
9037
+ "name": "accessToken",
9038
+ "required": true,
9039
+ "hasDynamicHelp": false,
9040
+ "multiple": false,
9041
+ "type": "option"
9042
+ },
9043
+ "print": {
9044
+ "char": "p",
9045
+ "description": "print out the modified resource",
9046
+ "name": "print",
9047
+ "allowNo": false,
9048
+ "type": "boolean"
9049
+ },
9050
+ "json": {
9051
+ "char": "j",
9052
+ "dependsOn": [
9053
+ "print"
9054
+ ],
9055
+ "description": "print result in JSON format",
9056
+ "name": "json",
9057
+ "allowNo": false,
9058
+ "type": "boolean"
9059
+ },
9060
+ "unformatted": {
9061
+ "char": "u",
9062
+ "dependsOn": [
9063
+ "json"
9064
+ ],
9065
+ "description": "print JSON output without indentation",
9066
+ "name": "unformatted",
9067
+ "allowNo": false,
9068
+ "type": "boolean"
9069
+ }
9070
+ },
9071
+ "hasDynamicHelp": false,
9072
+ "hiddenAliases": [],
9073
+ "id": "line_item",
9074
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
9075
+ "pluginName": "@commercelayer/cli-plugin-triggers",
9076
+ "pluginType": "core",
9077
+ "strict": true,
9078
+ "enableJsonFlag": false,
9079
+ "isESM": false,
9080
+ "relativePath": [
9081
+ "lib",
9082
+ "commands",
9083
+ "line_item",
8996
9084
  "index.js"
8997
9085
  ]
8998
9086
  },
8999
- "line_item_option:remove_tags": {
9087
+ "line_item:remove_tags": {
9000
9088
  "aliases": [],
9001
9089
  "args": {
9002
9090
  "id": {
@@ -9070,7 +9158,7 @@
9070
9158
  },
9071
9159
  "hasDynamicHelp": false,
9072
9160
  "hiddenAliases": [],
9073
- "id": "line_item_option:remove_tags",
9161
+ "id": "line_item:remove_tags",
9074
9162
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9075
9163
  "pluginName": "@commercelayer/cli-plugin-triggers",
9076
9164
  "pluginType": "core",
@@ -9080,11 +9168,11 @@
9080
9168
  "relativePath": [
9081
9169
  "lib",
9082
9170
  "commands",
9083
- "line_item_option",
9171
+ "line_item",
9084
9172
  "remove_tags.js"
9085
9173
  ]
9086
9174
  },
9087
- "line_item:add_tags": {
9175
+ "line_item:reserve_stock": {
9088
9176
  "aliases": [],
9089
9177
  "args": {
9090
9178
  "id": {
@@ -9093,7 +9181,7 @@
9093
9181
  "required": true
9094
9182
  }
9095
9183
  },
9096
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
9184
+ "description": "Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels.",
9097
9185
  "flags": {
9098
9186
  "organization": {
9099
9187
  "char": "o",
@@ -9158,7 +9246,7 @@
9158
9246
  },
9159
9247
  "hasDynamicHelp": false,
9160
9248
  "hiddenAliases": [],
9161
- "id": "line_item:add_tags",
9249
+ "id": "line_item:reserve_stock",
9162
9250
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9163
9251
  "pluginName": "@commercelayer/cli-plugin-triggers",
9164
9252
  "pluginType": "core",
@@ -9169,10 +9257,10 @@
9169
9257
  "lib",
9170
9258
  "commands",
9171
9259
  "line_item",
9172
- "add_tags.js"
9260
+ "reserve_stock.js"
9173
9261
  ]
9174
9262
  },
9175
- "line_item:external_price": {
9263
+ "line_item:reset_circuit": {
9176
9264
  "aliases": [],
9177
9265
  "args": {
9178
9266
  "id": {
@@ -9181,7 +9269,7 @@
9181
9269
  "required": true
9182
9270
  }
9183
9271
  },
9184
- "description": "When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.",
9272
+ "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.",
9185
9273
  "flags": {
9186
9274
  "organization": {
9187
9275
  "char": "o",
@@ -9246,7 +9334,7 @@
9246
9334
  },
9247
9335
  "hasDynamicHelp": false,
9248
9336
  "hiddenAliases": [],
9249
- "id": "line_item:external_price",
9337
+ "id": "line_item:reset_circuit",
9250
9338
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9251
9339
  "pluginName": "@commercelayer/cli-plugin-triggers",
9252
9340
  "pluginType": "core",
@@ -9257,10 +9345,10 @@
9257
9345
  "lib",
9258
9346
  "commands",
9259
9347
  "line_item",
9260
- "external_price.js"
9348
+ "reset_circuit.js"
9261
9349
  ]
9262
9350
  },
9263
- "line_item": {
9351
+ "line_item:reset_restocked_quantity": {
9264
9352
  "aliases": [],
9265
9353
  "args": {
9266
9354
  "id": {
@@ -9269,7 +9357,7 @@
9269
9357
  "required": true
9270
9358
  }
9271
9359
  },
9272
- "description": "execute an action on a resource of type line_items",
9360
+ "description": "Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.",
9273
9361
  "flags": {
9274
9362
  "organization": {
9275
9363
  "char": "o",
@@ -9334,7 +9422,7 @@
9334
9422
  },
9335
9423
  "hasDynamicHelp": false,
9336
9424
  "hiddenAliases": [],
9337
- "id": "line_item",
9425
+ "id": "line_item:reset_restocked_quantity",
9338
9426
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9339
9427
  "pluginName": "@commercelayer/cli-plugin-triggers",
9340
9428
  "pluginType": "core",
@@ -9345,10 +9433,10 @@
9345
9433
  "lib",
9346
9434
  "commands",
9347
9435
  "line_item",
9348
- "index.js"
9436
+ "reset_restocked_quantity.js"
9349
9437
  ]
9350
9438
  },
9351
- "line_item:remove_tags": {
9439
+ "line_item_option:add_tags": {
9352
9440
  "aliases": [],
9353
9441
  "args": {
9354
9442
  "id": {
@@ -9357,7 +9445,7 @@
9357
9445
  "required": true
9358
9446
  }
9359
9447
  },
9360
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
9448
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
9361
9449
  "flags": {
9362
9450
  "organization": {
9363
9451
  "char": "o",
@@ -9422,7 +9510,7 @@
9422
9510
  },
9423
9511
  "hasDynamicHelp": false,
9424
9512
  "hiddenAliases": [],
9425
- "id": "line_item:remove_tags",
9513
+ "id": "line_item_option:add_tags",
9426
9514
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9427
9515
  "pluginName": "@commercelayer/cli-plugin-triggers",
9428
9516
  "pluginType": "core",
@@ -9432,11 +9520,11 @@
9432
9520
  "relativePath": [
9433
9521
  "lib",
9434
9522
  "commands",
9435
- "line_item",
9436
- "remove_tags.js"
9523
+ "line_item_option",
9524
+ "add_tags.js"
9437
9525
  ]
9438
9526
  },
9439
- "line_item:reserve_stock": {
9527
+ "line_item_option": {
9440
9528
  "aliases": [],
9441
9529
  "args": {
9442
9530
  "id": {
@@ -9445,7 +9533,7 @@
9445
9533
  "required": true
9446
9534
  }
9447
9535
  },
9448
- "description": "Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels.",
9536
+ "description": "execute an action on a resource of type line_item_options",
9449
9537
  "flags": {
9450
9538
  "organization": {
9451
9539
  "char": "o",
@@ -9510,7 +9598,7 @@
9510
9598
  },
9511
9599
  "hasDynamicHelp": false,
9512
9600
  "hiddenAliases": [],
9513
- "id": "line_item:reserve_stock",
9601
+ "id": "line_item_option",
9514
9602
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9515
9603
  "pluginName": "@commercelayer/cli-plugin-triggers",
9516
9604
  "pluginType": "core",
@@ -9520,11 +9608,11 @@
9520
9608
  "relativePath": [
9521
9609
  "lib",
9522
9610
  "commands",
9523
- "line_item",
9524
- "reserve_stock.js"
9611
+ "line_item_option",
9612
+ "index.js"
9525
9613
  ]
9526
9614
  },
9527
- "line_item:reset_circuit": {
9615
+ "line_item_option:remove_tags": {
9528
9616
  "aliases": [],
9529
9617
  "args": {
9530
9618
  "id": {
@@ -9533,7 +9621,7 @@
9533
9621
  "required": true
9534
9622
  }
9535
9623
  },
9536
- "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.",
9624
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
9537
9625
  "flags": {
9538
9626
  "organization": {
9539
9627
  "char": "o",
@@ -9598,7 +9686,7 @@
9598
9686
  },
9599
9687
  "hasDynamicHelp": false,
9600
9688
  "hiddenAliases": [],
9601
- "id": "line_item:reset_circuit",
9689
+ "id": "line_item_option:remove_tags",
9602
9690
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9603
9691
  "pluginName": "@commercelayer/cli-plugin-triggers",
9604
9692
  "pluginType": "core",
@@ -9608,8 +9696,8 @@
9608
9696
  "relativePath": [
9609
9697
  "lib",
9610
9698
  "commands",
9611
- "line_item",
9612
- "reset_circuit.js"
9699
+ "line_item_option",
9700
+ "remove_tags.js"
9613
9701
  ]
9614
9702
  },
9615
9703
  "link:disable": {
@@ -10756,7 +10844,7 @@
10756
10844
  "remove_tags.js"
10757
10845
  ]
10758
10846
  },
10759
- "order:add_tags": {
10847
+ "payment_method:disable": {
10760
10848
  "aliases": [],
10761
10849
  "args": {
10762
10850
  "id": {
@@ -10765,7 +10853,7 @@
10765
10853
  "required": true
10766
10854
  }
10767
10855
  },
10768
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
10856
+ "description": "Send this attribute if you want to mark this resource as disabled.",
10769
10857
  "flags": {
10770
10858
  "organization": {
10771
10859
  "char": "o",
@@ -10830,7 +10918,7 @@
10830
10918
  },
10831
10919
  "hasDynamicHelp": false,
10832
10920
  "hiddenAliases": [],
10833
- "id": "order:add_tags",
10921
+ "id": "payment_method:disable",
10834
10922
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10835
10923
  "pluginName": "@commercelayer/cli-plugin-triggers",
10836
10924
  "pluginType": "core",
@@ -10840,11 +10928,11 @@
10840
10928
  "relativePath": [
10841
10929
  "lib",
10842
10930
  "commands",
10843
- "order",
10844
- "add_tags.js"
10931
+ "payment_method",
10932
+ "disable.js"
10845
10933
  ]
10846
10934
  },
10847
- "order:approve": {
10935
+ "payment_method:enable": {
10848
10936
  "aliases": [],
10849
10937
  "args": {
10850
10938
  "id": {
@@ -10853,7 +10941,7 @@
10853
10941
  "required": true
10854
10942
  }
10855
10943
  },
10856
- "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
10944
+ "description": "Send this attribute if you want to mark this resource as enabled.",
10857
10945
  "flags": {
10858
10946
  "organization": {
10859
10947
  "char": "o",
@@ -10918,7 +11006,7 @@
10918
11006
  },
10919
11007
  "hasDynamicHelp": false,
10920
11008
  "hiddenAliases": [],
10921
- "id": "order:approve",
11009
+ "id": "payment_method:enable",
10922
11010
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10923
11011
  "pluginName": "@commercelayer/cli-plugin-triggers",
10924
11012
  "pluginType": "core",
@@ -10928,11 +11016,11 @@
10928
11016
  "relativePath": [
10929
11017
  "lib",
10930
11018
  "commands",
10931
- "order",
10932
- "approve.js"
11019
+ "payment_method",
11020
+ "enable.js"
10933
11021
  ]
10934
11022
  },
10935
- "order:approve_and_capture": {
11023
+ "payment_method": {
10936
11024
  "aliases": [],
10937
11025
  "args": {
10938
11026
  "id": {
@@ -10941,7 +11029,7 @@
10941
11029
  "required": true
10942
11030
  }
10943
11031
  },
10944
- "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
11032
+ "description": "execute an action on a resource of type payment_methods",
10945
11033
  "flags": {
10946
11034
  "organization": {
10947
11035
  "char": "o",
@@ -11006,7 +11094,7 @@
11006
11094
  },
11007
11095
  "hasDynamicHelp": false,
11008
11096
  "hiddenAliases": [],
11009
- "id": "order:approve_and_capture",
11097
+ "id": "payment_method",
11010
11098
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11011
11099
  "pluginName": "@commercelayer/cli-plugin-triggers",
11012
11100
  "pluginType": "core",
@@ -11016,11 +11104,11 @@
11016
11104
  "relativePath": [
11017
11105
  "lib",
11018
11106
  "commands",
11019
- "order",
11020
- "approve_and_capture.js"
11107
+ "payment_method",
11108
+ "index.js"
11021
11109
  ]
11022
11110
  },
11023
- "order:archive": {
11111
+ "order:add_tags": {
11024
11112
  "aliases": [],
11025
11113
  "args": {
11026
11114
  "id": {
@@ -11029,7 +11117,7 @@
11029
11117
  "required": true
11030
11118
  }
11031
11119
  },
11032
- "description": "Send this attribute if you want to archive the order.",
11120
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
11033
11121
  "flags": {
11034
11122
  "organization": {
11035
11123
  "char": "o",
@@ -11094,7 +11182,7 @@
11094
11182
  },
11095
11183
  "hasDynamicHelp": false,
11096
11184
  "hiddenAliases": [],
11097
- "id": "order:archive",
11185
+ "id": "order:add_tags",
11098
11186
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11099
11187
  "pluginName": "@commercelayer/cli-plugin-triggers",
11100
11188
  "pluginType": "core",
@@ -11105,10 +11193,10 @@
11105
11193
  "lib",
11106
11194
  "commands",
11107
11195
  "order",
11108
- "archive.js"
11196
+ "add_tags.js"
11109
11197
  ]
11110
11198
  },
11111
- "order:authorization_amount_cents": {
11199
+ "order:approve": {
11112
11200
  "aliases": [],
11113
11201
  "args": {
11114
11202
  "id": {
@@ -11117,7 +11205,7 @@
11117
11205
  "required": true
11118
11206
  }
11119
11207
  },
11120
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
11208
+ "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
11121
11209
  "flags": {
11122
11210
  "organization": {
11123
11211
  "char": "o",
@@ -11182,7 +11270,7 @@
11182
11270
  },
11183
11271
  "hasDynamicHelp": false,
11184
11272
  "hiddenAliases": [],
11185
- "id": "order:authorization_amount_cents",
11273
+ "id": "order:approve",
11186
11274
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11187
11275
  "pluginName": "@commercelayer/cli-plugin-triggers",
11188
11276
  "pluginType": "core",
@@ -11193,10 +11281,10 @@
11193
11281
  "lib",
11194
11282
  "commands",
11195
11283
  "order",
11196
- "authorization_amount_cents.js"
11284
+ "approve.js"
11197
11285
  ]
11198
11286
  },
11199
- "order:authorize": {
11287
+ "order:approve_and_capture": {
11200
11288
  "aliases": [],
11201
11289
  "args": {
11202
11290
  "id": {
@@ -11205,7 +11293,7 @@
11205
11293
  "required": true
11206
11294
  }
11207
11295
  },
11208
- "description": "Send this attribute if you want to authorize the order's payment source.",
11296
+ "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
11209
11297
  "flags": {
11210
11298
  "organization": {
11211
11299
  "char": "o",
@@ -11270,7 +11358,7 @@
11270
11358
  },
11271
11359
  "hasDynamicHelp": false,
11272
11360
  "hiddenAliases": [],
11273
- "id": "order:authorize",
11361
+ "id": "order:approve_and_capture",
11274
11362
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11275
11363
  "pluginName": "@commercelayer/cli-plugin-triggers",
11276
11364
  "pluginType": "core",
@@ -11281,10 +11369,10 @@
11281
11369
  "lib",
11282
11370
  "commands",
11283
11371
  "order",
11284
- "authorize.js"
11372
+ "approve_and_capture.js"
11285
11373
  ]
11286
11374
  },
11287
- "order:billing_address_clone_id": {
11375
+ "order:archive": {
11288
11376
  "aliases": [],
11289
11377
  "args": {
11290
11378
  "id": {
@@ -11293,7 +11381,7 @@
11293
11381
  "required": true
11294
11382
  }
11295
11383
  },
11296
- "description": "The id of the address that you want to clone to create the order's billing address.",
11384
+ "description": "Send this attribute if you want to archive the order.",
11297
11385
  "flags": {
11298
11386
  "organization": {
11299
11387
  "char": "o",
@@ -11354,20 +11442,11 @@
11354
11442
  "name": "unformatted",
11355
11443
  "allowNo": false,
11356
11444
  "type": "boolean"
11357
- },
11358
- "value": {
11359
- "char": "v",
11360
- "description": "the trigger attribute value",
11361
- "name": "value",
11362
- "required": true,
11363
- "hasDynamicHelp": false,
11364
- "multiple": false,
11365
- "type": "option"
11366
11445
  }
11367
11446
  },
11368
11447
  "hasDynamicHelp": false,
11369
11448
  "hiddenAliases": [],
11370
- "id": "order:billing_address_clone_id",
11449
+ "id": "order:archive",
11371
11450
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11372
11451
  "pluginName": "@commercelayer/cli-plugin-triggers",
11373
11452
  "pluginType": "core",
@@ -11378,10 +11457,10 @@
11378
11457
  "lib",
11379
11458
  "commands",
11380
11459
  "order",
11381
- "billing_address_clone_id.js"
11460
+ "archive.js"
11382
11461
  ]
11383
11462
  },
11384
- "order:billing_address_same_as_shipping": {
11463
+ "order:authorization_amount_cents": {
11385
11464
  "aliases": [],
11386
11465
  "args": {
11387
11466
  "id": {
@@ -11390,7 +11469,7 @@
11390
11469
  "required": true
11391
11470
  }
11392
11471
  },
11393
- "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
11472
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
11394
11473
  "flags": {
11395
11474
  "organization": {
11396
11475
  "char": "o",
@@ -11455,7 +11534,7 @@
11455
11534
  },
11456
11535
  "hasDynamicHelp": false,
11457
11536
  "hiddenAliases": [],
11458
- "id": "order:billing_address_same_as_shipping",
11537
+ "id": "order:authorization_amount_cents",
11459
11538
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11460
11539
  "pluginName": "@commercelayer/cli-plugin-triggers",
11461
11540
  "pluginType": "core",
@@ -11466,10 +11545,10 @@
11466
11545
  "lib",
11467
11546
  "commands",
11468
11547
  "order",
11469
- "billing_address_same_as_shipping.js"
11548
+ "authorization_amount_cents.js"
11470
11549
  ]
11471
11550
  },
11472
- "order:cancel": {
11551
+ "order:authorize": {
11473
11552
  "aliases": [],
11474
11553
  "args": {
11475
11554
  "id": {
@@ -11478,7 +11557,7 @@
11478
11557
  "required": true
11479
11558
  }
11480
11559
  },
11481
- "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
11560
+ "description": "Send this attribute if you want to authorize the order's payment source.",
11482
11561
  "flags": {
11483
11562
  "organization": {
11484
11563
  "char": "o",
@@ -11543,7 +11622,7 @@
11543
11622
  },
11544
11623
  "hasDynamicHelp": false,
11545
11624
  "hiddenAliases": [],
11546
- "id": "order:cancel",
11625
+ "id": "order:authorize",
11547
11626
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11548
11627
  "pluginName": "@commercelayer/cli-plugin-triggers",
11549
11628
  "pluginType": "core",
@@ -11554,10 +11633,10 @@
11554
11633
  "lib",
11555
11634
  "commands",
11556
11635
  "order",
11557
- "cancel.js"
11636
+ "authorize.js"
11558
11637
  ]
11559
11638
  },
11560
- "order:capture": {
11639
+ "order:billing_address_clone_id": {
11561
11640
  "aliases": [],
11562
11641
  "args": {
11563
11642
  "id": {
@@ -11566,7 +11645,7 @@
11566
11645
  "required": true
11567
11646
  }
11568
11647
  },
11569
- "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
11648
+ "description": "The id of the address that you want to clone to create the order's billing address.",
11570
11649
  "flags": {
11571
11650
  "organization": {
11572
11651
  "char": "o",
@@ -11627,11 +11706,20 @@
11627
11706
  "name": "unformatted",
11628
11707
  "allowNo": false,
11629
11708
  "type": "boolean"
11709
+ },
11710
+ "value": {
11711
+ "char": "v",
11712
+ "description": "the trigger attribute value",
11713
+ "name": "value",
11714
+ "required": true,
11715
+ "hasDynamicHelp": false,
11716
+ "multiple": false,
11717
+ "type": "option"
11630
11718
  }
11631
11719
  },
11632
11720
  "hasDynamicHelp": false,
11633
11721
  "hiddenAliases": [],
11634
- "id": "order:capture",
11722
+ "id": "order:billing_address_clone_id",
11635
11723
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11636
11724
  "pluginName": "@commercelayer/cli-plugin-triggers",
11637
11725
  "pluginType": "core",
@@ -11642,10 +11730,10 @@
11642
11730
  "lib",
11643
11731
  "commands",
11644
11732
  "order",
11645
- "capture.js"
11733
+ "billing_address_clone_id.js"
11646
11734
  ]
11647
11735
  },
11648
- "order:commit_invoice": {
11736
+ "order:billing_address_same_as_shipping": {
11649
11737
  "aliases": [],
11650
11738
  "args": {
11651
11739
  "id": {
@@ -11654,7 +11742,7 @@
11654
11742
  "required": true
11655
11743
  }
11656
11744
  },
11657
- "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
11745
+ "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
11658
11746
  "flags": {
11659
11747
  "organization": {
11660
11748
  "char": "o",
@@ -11719,7 +11807,7 @@
11719
11807
  },
11720
11808
  "hasDynamicHelp": false,
11721
11809
  "hiddenAliases": [],
11722
- "id": "order:commit_invoice",
11810
+ "id": "order:billing_address_same_as_shipping",
11723
11811
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11724
11812
  "pluginName": "@commercelayer/cli-plugin-triggers",
11725
11813
  "pluginType": "core",
@@ -11730,10 +11818,10 @@
11730
11818
  "lib",
11731
11819
  "commands",
11732
11820
  "order",
11733
- "commit_invoice.js"
11821
+ "billing_address_same_as_shipping.js"
11734
11822
  ]
11735
11823
  },
11736
- "order:create_subscriptions": {
11824
+ "order:cancel": {
11737
11825
  "aliases": [],
11738
11826
  "args": {
11739
11827
  "id": {
@@ -11742,7 +11830,7 @@
11742
11830
  "required": true
11743
11831
  }
11744
11832
  },
11745
- "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
11833
+ "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
11746
11834
  "flags": {
11747
11835
  "organization": {
11748
11836
  "char": "o",
@@ -11807,7 +11895,7 @@
11807
11895
  },
11808
11896
  "hasDynamicHelp": false,
11809
11897
  "hiddenAliases": [],
11810
- "id": "order:create_subscriptions",
11898
+ "id": "order:cancel",
11811
11899
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11812
11900
  "pluginName": "@commercelayer/cli-plugin-triggers",
11813
11901
  "pluginType": "core",
@@ -11818,10 +11906,10 @@
11818
11906
  "lib",
11819
11907
  "commands",
11820
11908
  "order",
11821
- "create_subscriptions.js"
11909
+ "cancel.js"
11822
11910
  ]
11823
11911
  },
11824
- "order:customer_payment_source_id": {
11912
+ "order:capture": {
11825
11913
  "aliases": [],
11826
11914
  "args": {
11827
11915
  "id": {
@@ -11830,7 +11918,7 @@
11830
11918
  "required": true
11831
11919
  }
11832
11920
  },
11833
- "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
11921
+ "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
11834
11922
  "flags": {
11835
11923
  "organization": {
11836
11924
  "char": "o",
@@ -11891,20 +11979,11 @@
11891
11979
  "name": "unformatted",
11892
11980
  "allowNo": false,
11893
11981
  "type": "boolean"
11894
- },
11895
- "value": {
11896
- "char": "v",
11897
- "description": "the trigger attribute value",
11898
- "name": "value",
11899
- "required": true,
11900
- "hasDynamicHelp": false,
11901
- "multiple": false,
11902
- "type": "option"
11903
11982
  }
11904
11983
  },
11905
11984
  "hasDynamicHelp": false,
11906
11985
  "hiddenAliases": [],
11907
- "id": "order:customer_payment_source_id",
11986
+ "id": "order:capture",
11908
11987
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11909
11988
  "pluginName": "@commercelayer/cli-plugin-triggers",
11910
11989
  "pluginType": "core",
@@ -11915,10 +11994,10 @@
11915
11994
  "lib",
11916
11995
  "commands",
11917
11996
  "order",
11918
- "customer_payment_source_id.js"
11997
+ "capture.js"
11919
11998
  ]
11920
11999
  },
11921
- "order:fix_payment_source": {
12000
+ "order:commit_invoice": {
11922
12001
  "aliases": [],
11923
12002
  "args": {
11924
12003
  "id": {
@@ -11927,7 +12006,7 @@
11927
12006
  "required": true
11928
12007
  }
11929
12008
  },
11930
- "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.",
12009
+ "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
11931
12010
  "flags": {
11932
12011
  "organization": {
11933
12012
  "char": "o",
@@ -11992,7 +12071,7 @@
11992
12071
  },
11993
12072
  "hasDynamicHelp": false,
11994
12073
  "hiddenAliases": [],
11995
- "id": "order:fix_payment_source",
12074
+ "id": "order:commit_invoice",
11996
12075
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11997
12076
  "pluginName": "@commercelayer/cli-plugin-triggers",
11998
12077
  "pluginType": "core",
@@ -12003,10 +12082,10 @@
12003
12082
  "lib",
12004
12083
  "commands",
12005
12084
  "order",
12006
- "fix_payment_source.js"
12085
+ "commit_invoice.js"
12007
12086
  ]
12008
12087
  },
12009
- "order:fulfill": {
12088
+ "order:create_subscriptions": {
12010
12089
  "aliases": [],
12011
12090
  "args": {
12012
12091
  "id": {
@@ -12015,7 +12094,7 @@
12015
12094
  "required": true
12016
12095
  }
12017
12096
  },
12018
- "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.",
12097
+ "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
12019
12098
  "flags": {
12020
12099
  "organization": {
12021
12100
  "char": "o",
@@ -12080,7 +12159,7 @@
12080
12159
  },
12081
12160
  "hasDynamicHelp": false,
12082
12161
  "hiddenAliases": [],
12083
- "id": "order:fulfill",
12162
+ "id": "order:create_subscriptions",
12084
12163
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12085
12164
  "pluginName": "@commercelayer/cli-plugin-triggers",
12086
12165
  "pluginType": "core",
@@ -12091,10 +12170,10 @@
12091
12170
  "lib",
12092
12171
  "commands",
12093
12172
  "order",
12094
- "fulfill.js"
12173
+ "create_subscriptions.js"
12095
12174
  ]
12096
12175
  },
12097
- "order": {
12176
+ "order:customer_payment_source_id": {
12098
12177
  "aliases": [],
12099
12178
  "args": {
12100
12179
  "id": {
@@ -12103,7 +12182,7 @@
12103
12182
  "required": true
12104
12183
  }
12105
12184
  },
12106
- "description": "execute an action on a resource of type orders",
12185
+ "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
12107
12186
  "flags": {
12108
12187
  "organization": {
12109
12188
  "char": "o",
@@ -12164,11 +12243,20 @@
12164
12243
  "name": "unformatted",
12165
12244
  "allowNo": false,
12166
12245
  "type": "boolean"
12246
+ },
12247
+ "value": {
12248
+ "char": "v",
12249
+ "description": "the trigger attribute value",
12250
+ "name": "value",
12251
+ "required": true,
12252
+ "hasDynamicHelp": false,
12253
+ "multiple": false,
12254
+ "type": "option"
12167
12255
  }
12168
12256
  },
12169
12257
  "hasDynamicHelp": false,
12170
12258
  "hiddenAliases": [],
12171
- "id": "order",
12259
+ "id": "order:customer_payment_source_id",
12172
12260
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12173
12261
  "pluginName": "@commercelayer/cli-plugin-triggers",
12174
12262
  "pluginType": "core",
@@ -12179,10 +12267,10 @@
12179
12267
  "lib",
12180
12268
  "commands",
12181
12269
  "order",
12182
- "index.js"
12270
+ "customer_payment_source_id.js"
12183
12271
  ]
12184
12272
  },
12185
- "order:nullify_payment_source": {
12273
+ "order:fix_payment_source": {
12186
12274
  "aliases": [],
12187
12275
  "args": {
12188
12276
  "id": {
@@ -12191,7 +12279,7 @@
12191
12279
  "required": true
12192
12280
  }
12193
12281
  },
12194
- "description": "Send this attribute if you want to nullify the payment source for this order.",
12282
+ "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.",
12195
12283
  "flags": {
12196
12284
  "organization": {
12197
12285
  "char": "o",
@@ -12256,7 +12344,7 @@
12256
12344
  },
12257
12345
  "hasDynamicHelp": false,
12258
12346
  "hiddenAliases": [],
12259
- "id": "order:nullify_payment_source",
12347
+ "id": "order:fix_payment_source",
12260
12348
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12261
12349
  "pluginName": "@commercelayer/cli-plugin-triggers",
12262
12350
  "pluginType": "core",
@@ -12267,10 +12355,10 @@
12267
12355
  "lib",
12268
12356
  "commands",
12269
12357
  "order",
12270
- "nullify_payment_source.js"
12358
+ "fix_payment_source.js"
12271
12359
  ]
12272
12360
  },
12273
- "order:pending": {
12361
+ "order:fulfill": {
12274
12362
  "aliases": [],
12275
12363
  "args": {
12276
12364
  "id": {
@@ -12279,7 +12367,7 @@
12279
12367
  "required": true
12280
12368
  }
12281
12369
  },
12282
- "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
12370
+ "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.",
12283
12371
  "flags": {
12284
12372
  "organization": {
12285
12373
  "char": "o",
@@ -12344,7 +12432,7 @@
12344
12432
  },
12345
12433
  "hasDynamicHelp": false,
12346
12434
  "hiddenAliases": [],
12347
- "id": "order:pending",
12435
+ "id": "order:fulfill",
12348
12436
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12349
12437
  "pluginName": "@commercelayer/cli-plugin-triggers",
12350
12438
  "pluginType": "core",
@@ -12355,10 +12443,10 @@
12355
12443
  "lib",
12356
12444
  "commands",
12357
12445
  "order",
12358
- "pending.js"
12446
+ "fulfill.js"
12359
12447
  ]
12360
12448
  },
12361
- "order:place": {
12449
+ "order": {
12362
12450
  "aliases": [],
12363
12451
  "args": {
12364
12452
  "id": {
@@ -12367,7 +12455,7 @@
12367
12455
  "required": true
12368
12456
  }
12369
12457
  },
12370
- "description": "Send this attribute if you want to place the order.",
12458
+ "description": "execute an action on a resource of type orders",
12371
12459
  "flags": {
12372
12460
  "organization": {
12373
12461
  "char": "o",
@@ -12432,7 +12520,7 @@
12432
12520
  },
12433
12521
  "hasDynamicHelp": false,
12434
12522
  "hiddenAliases": [],
12435
- "id": "order:place",
12523
+ "id": "order",
12436
12524
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12437
12525
  "pluginName": "@commercelayer/cli-plugin-triggers",
12438
12526
  "pluginType": "core",
@@ -12443,10 +12531,10 @@
12443
12531
  "lib",
12444
12532
  "commands",
12445
12533
  "order",
12446
- "place.js"
12534
+ "index.js"
12447
12535
  ]
12448
12536
  },
12449
- "order:refresh": {
12537
+ "order:nullify_payment_source": {
12450
12538
  "aliases": [],
12451
12539
  "args": {
12452
12540
  "id": {
@@ -12455,7 +12543,7 @@
12455
12543
  "required": true
12456
12544
  }
12457
12545
  },
12458
- "description": "Send this attribute if you want to manually refresh the order.",
12546
+ "description": "Send this attribute if you want to nullify the payment source for this order.",
12459
12547
  "flags": {
12460
12548
  "organization": {
12461
12549
  "char": "o",
@@ -12520,7 +12608,7 @@
12520
12608
  },
12521
12609
  "hasDynamicHelp": false,
12522
12610
  "hiddenAliases": [],
12523
- "id": "order:refresh",
12611
+ "id": "order:nullify_payment_source",
12524
12612
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12525
12613
  "pluginName": "@commercelayer/cli-plugin-triggers",
12526
12614
  "pluginType": "core",
@@ -12531,10 +12619,10 @@
12531
12619
  "lib",
12532
12620
  "commands",
12533
12621
  "order",
12534
- "refresh.js"
12622
+ "nullify_payment_source.js"
12535
12623
  ]
12536
12624
  },
12537
- "order:refund": {
12625
+ "order:pending": {
12538
12626
  "aliases": [],
12539
12627
  "args": {
12540
12628
  "id": {
@@ -12543,7 +12631,7 @@
12543
12631
  "required": true
12544
12632
  }
12545
12633
  },
12546
- "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
12634
+ "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
12547
12635
  "flags": {
12548
12636
  "organization": {
12549
12637
  "char": "o",
@@ -12608,7 +12696,7 @@
12608
12696
  },
12609
12697
  "hasDynamicHelp": false,
12610
12698
  "hiddenAliases": [],
12611
- "id": "order:refund",
12699
+ "id": "order:pending",
12612
12700
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12613
12701
  "pluginName": "@commercelayer/cli-plugin-triggers",
12614
12702
  "pluginType": "core",
@@ -12619,10 +12707,10 @@
12619
12707
  "lib",
12620
12708
  "commands",
12621
12709
  "order",
12622
- "refund.js"
12710
+ "pending.js"
12623
12711
  ]
12624
12712
  },
12625
- "order:refund_invoice": {
12713
+ "order:place": {
12626
12714
  "aliases": [],
12627
12715
  "args": {
12628
12716
  "id": {
@@ -12631,7 +12719,7 @@
12631
12719
  "required": true
12632
12720
  }
12633
12721
  },
12634
- "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
12722
+ "description": "Send this attribute if you want to place the order.",
12635
12723
  "flags": {
12636
12724
  "organization": {
12637
12725
  "char": "o",
@@ -12696,7 +12784,7 @@
12696
12784
  },
12697
12785
  "hasDynamicHelp": false,
12698
12786
  "hiddenAliases": [],
12699
- "id": "order:refund_invoice",
12787
+ "id": "order:place",
12700
12788
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12701
12789
  "pluginName": "@commercelayer/cli-plugin-triggers",
12702
12790
  "pluginType": "core",
@@ -12707,10 +12795,10 @@
12707
12795
  "lib",
12708
12796
  "commands",
12709
12797
  "order",
12710
- "refund_invoice.js"
12798
+ "place.js"
12711
12799
  ]
12712
12800
  },
12713
- "order:remove_tags": {
12801
+ "order:refresh": {
12714
12802
  "aliases": [],
12715
12803
  "args": {
12716
12804
  "id": {
@@ -12719,7 +12807,7 @@
12719
12807
  "required": true
12720
12808
  }
12721
12809
  },
12722
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12810
+ "description": "Send this attribute if you want to manually refresh the order.",
12723
12811
  "flags": {
12724
12812
  "organization": {
12725
12813
  "char": "o",
@@ -12784,7 +12872,7 @@
12784
12872
  },
12785
12873
  "hasDynamicHelp": false,
12786
12874
  "hiddenAliases": [],
12787
- "id": "order:remove_tags",
12875
+ "id": "order:refresh",
12788
12876
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12789
12877
  "pluginName": "@commercelayer/cli-plugin-triggers",
12790
12878
  "pluginType": "core",
@@ -12795,10 +12883,10 @@
12795
12883
  "lib",
12796
12884
  "commands",
12797
12885
  "order",
12798
- "remove_tags.js"
12886
+ "refresh.js"
12799
12887
  ]
12800
12888
  },
12801
- "order:reset_circuit": {
12889
+ "order:refund": {
12802
12890
  "aliases": [],
12803
12891
  "args": {
12804
12892
  "id": {
@@ -12807,7 +12895,7 @@
12807
12895
  "required": true
12808
12896
  }
12809
12897
  },
12810
- "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.",
12898
+ "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
12811
12899
  "flags": {
12812
12900
  "organization": {
12813
12901
  "char": "o",
@@ -12872,7 +12960,7 @@
12872
12960
  },
12873
12961
  "hasDynamicHelp": false,
12874
12962
  "hiddenAliases": [],
12875
- "id": "order:reset_circuit",
12963
+ "id": "order:refund",
12876
12964
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12877
12965
  "pluginName": "@commercelayer/cli-plugin-triggers",
12878
12966
  "pluginType": "core",
@@ -12883,10 +12971,10 @@
12883
12971
  "lib",
12884
12972
  "commands",
12885
12973
  "order",
12886
- "reset_circuit.js"
12974
+ "refund.js"
12887
12975
  ]
12888
12976
  },
12889
- "order:save_billing_address_to_customer_address_book": {
12977
+ "order:refund_invoice": {
12890
12978
  "aliases": [],
12891
12979
  "args": {
12892
12980
  "id": {
@@ -12895,7 +12983,7 @@
12895
12983
  "required": true
12896
12984
  }
12897
12985
  },
12898
- "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.",
12986
+ "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
12899
12987
  "flags": {
12900
12988
  "organization": {
12901
12989
  "char": "o",
@@ -12960,7 +13048,7 @@
12960
13048
  },
12961
13049
  "hasDynamicHelp": false,
12962
13050
  "hiddenAliases": [],
12963
- "id": "order:save_billing_address_to_customer_address_book",
13051
+ "id": "order:refund_invoice",
12964
13052
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12965
13053
  "pluginName": "@commercelayer/cli-plugin-triggers",
12966
13054
  "pluginType": "core",
@@ -12971,10 +13059,10 @@
12971
13059
  "lib",
12972
13060
  "commands",
12973
13061
  "order",
12974
- "save_billing_address_to_customer_address_book.js"
13062
+ "refund_invoice.js"
12975
13063
  ]
12976
13064
  },
12977
- "order:save_payment_source_to_customer_wallet": {
13065
+ "order:remove_tags": {
12978
13066
  "aliases": [],
12979
13067
  "args": {
12980
13068
  "id": {
@@ -12983,7 +13071,7 @@
12983
13071
  "required": true
12984
13072
  }
12985
13073
  },
12986
- "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.",
13074
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12987
13075
  "flags": {
12988
13076
  "organization": {
12989
13077
  "char": "o",
@@ -13048,7 +13136,7 @@
13048
13136
  },
13049
13137
  "hasDynamicHelp": false,
13050
13138
  "hiddenAliases": [],
13051
- "id": "order:save_payment_source_to_customer_wallet",
13139
+ "id": "order:remove_tags",
13052
13140
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13053
13141
  "pluginName": "@commercelayer/cli-plugin-triggers",
13054
13142
  "pluginType": "core",
@@ -13059,10 +13147,10 @@
13059
13147
  "lib",
13060
13148
  "commands",
13061
13149
  "order",
13062
- "save_payment_source_to_customer_wallet.js"
13150
+ "remove_tags.js"
13063
13151
  ]
13064
13152
  },
13065
- "order:save_shipping_address_to_customer_address_book": {
13153
+ "order:reset_circuit": {
13066
13154
  "aliases": [],
13067
13155
  "args": {
13068
13156
  "id": {
@@ -13071,7 +13159,7 @@
13071
13159
  "required": true
13072
13160
  }
13073
13161
  },
13074
- "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.",
13162
+ "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.",
13075
13163
  "flags": {
13076
13164
  "organization": {
13077
13165
  "char": "o",
@@ -13136,7 +13224,7 @@
13136
13224
  },
13137
13225
  "hasDynamicHelp": false,
13138
13226
  "hiddenAliases": [],
13139
- "id": "order:save_shipping_address_to_customer_address_book",
13227
+ "id": "order:reset_circuit",
13140
13228
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13141
13229
  "pluginName": "@commercelayer/cli-plugin-triggers",
13142
13230
  "pluginType": "core",
@@ -13147,10 +13235,10 @@
13147
13235
  "lib",
13148
13236
  "commands",
13149
13237
  "order",
13150
- "save_shipping_address_to_customer_address_book.js"
13238
+ "reset_circuit.js"
13151
13239
  ]
13152
13240
  },
13153
- "order:shipping_address_clone_id": {
13241
+ "order:save_billing_address_to_customer_address_book": {
13154
13242
  "aliases": [],
13155
13243
  "args": {
13156
13244
  "id": {
@@ -13159,7 +13247,7 @@
13159
13247
  "required": true
13160
13248
  }
13161
13249
  },
13162
- "description": "The id of the address that you want to clone to create the order's shipping address.",
13250
+ "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.",
13163
13251
  "flags": {
13164
13252
  "organization": {
13165
13253
  "char": "o",
@@ -13220,20 +13308,11 @@
13220
13308
  "name": "unformatted",
13221
13309
  "allowNo": false,
13222
13310
  "type": "boolean"
13223
- },
13224
- "value": {
13225
- "char": "v",
13226
- "description": "the trigger attribute value",
13227
- "name": "value",
13228
- "required": true,
13229
- "hasDynamicHelp": false,
13230
- "multiple": false,
13231
- "type": "option"
13232
13311
  }
13233
13312
  },
13234
13313
  "hasDynamicHelp": false,
13235
13314
  "hiddenAliases": [],
13236
- "id": "order:shipping_address_clone_id",
13315
+ "id": "order:save_billing_address_to_customer_address_book",
13237
13316
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13238
13317
  "pluginName": "@commercelayer/cli-plugin-triggers",
13239
13318
  "pluginType": "core",
@@ -13244,10 +13323,10 @@
13244
13323
  "lib",
13245
13324
  "commands",
13246
13325
  "order",
13247
- "shipping_address_clone_id.js"
13326
+ "save_billing_address_to_customer_address_book.js"
13248
13327
  ]
13249
13328
  },
13250
- "order:shipping_address_same_as_billing": {
13329
+ "order:save_payment_source_to_customer_wallet": {
13251
13330
  "aliases": [],
13252
13331
  "args": {
13253
13332
  "id": {
@@ -13256,7 +13335,7 @@
13256
13335
  "required": true
13257
13336
  }
13258
13337
  },
13259
- "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
13338
+ "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.",
13260
13339
  "flags": {
13261
13340
  "organization": {
13262
13341
  "char": "o",
@@ -13321,7 +13400,7 @@
13321
13400
  },
13322
13401
  "hasDynamicHelp": false,
13323
13402
  "hiddenAliases": [],
13324
- "id": "order:shipping_address_same_as_billing",
13403
+ "id": "order:save_payment_source_to_customer_wallet",
13325
13404
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13326
13405
  "pluginName": "@commercelayer/cli-plugin-triggers",
13327
13406
  "pluginType": "core",
@@ -13332,10 +13411,10 @@
13332
13411
  "lib",
13333
13412
  "commands",
13334
13413
  "order",
13335
- "shipping_address_same_as_billing.js"
13414
+ "save_payment_source_to_customer_wallet.js"
13336
13415
  ]
13337
13416
  },
13338
- "order:start_editing": {
13417
+ "order:save_shipping_address_to_customer_address_book": {
13339
13418
  "aliases": [],
13340
13419
  "args": {
13341
13420
  "id": {
@@ -13344,7 +13423,7 @@
13344
13423
  "required": true
13345
13424
  }
13346
13425
  },
13347
- "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.",
13426
+ "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.",
13348
13427
  "flags": {
13349
13428
  "organization": {
13350
13429
  "char": "o",
@@ -13409,7 +13488,7 @@
13409
13488
  },
13410
13489
  "hasDynamicHelp": false,
13411
13490
  "hiddenAliases": [],
13412
- "id": "order:start_editing",
13491
+ "id": "order:save_shipping_address_to_customer_address_book",
13413
13492
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13414
13493
  "pluginName": "@commercelayer/cli-plugin-triggers",
13415
13494
  "pluginType": "core",
@@ -13420,10 +13499,10 @@
13420
13499
  "lib",
13421
13500
  "commands",
13422
13501
  "order",
13423
- "start_editing.js"
13502
+ "save_shipping_address_to_customer_address_book.js"
13424
13503
  ]
13425
13504
  },
13426
- "order:stop_editing": {
13505
+ "order:shipping_address_clone_id": {
13427
13506
  "aliases": [],
13428
13507
  "args": {
13429
13508
  "id": {
@@ -13432,7 +13511,7 @@
13432
13511
  "required": true
13433
13512
  }
13434
13513
  },
13435
- "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
13514
+ "description": "The id of the address that you want to clone to create the order's shipping address.",
13436
13515
  "flags": {
13437
13516
  "organization": {
13438
13517
  "char": "o",
@@ -13493,11 +13572,20 @@
13493
13572
  "name": "unformatted",
13494
13573
  "allowNo": false,
13495
13574
  "type": "boolean"
13575
+ },
13576
+ "value": {
13577
+ "char": "v",
13578
+ "description": "the trigger attribute value",
13579
+ "name": "value",
13580
+ "required": true,
13581
+ "hasDynamicHelp": false,
13582
+ "multiple": false,
13583
+ "type": "option"
13496
13584
  }
13497
13585
  },
13498
13586
  "hasDynamicHelp": false,
13499
13587
  "hiddenAliases": [],
13500
- "id": "order:stop_editing",
13588
+ "id": "order:shipping_address_clone_id",
13501
13589
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13502
13590
  "pluginName": "@commercelayer/cli-plugin-triggers",
13503
13591
  "pluginType": "core",
@@ -13508,10 +13596,10 @@
13508
13596
  "lib",
13509
13597
  "commands",
13510
13598
  "order",
13511
- "stop_editing.js"
13599
+ "shipping_address_clone_id.js"
13512
13600
  ]
13513
13601
  },
13514
- "order:unarchive": {
13602
+ "order:shipping_address_same_as_billing": {
13515
13603
  "aliases": [],
13516
13604
  "args": {
13517
13605
  "id": {
@@ -13520,7 +13608,7 @@
13520
13608
  "required": true
13521
13609
  }
13522
13610
  },
13523
- "description": "Send this attribute if you want to unarchive the order.",
13611
+ "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
13524
13612
  "flags": {
13525
13613
  "organization": {
13526
13614
  "char": "o",
@@ -13585,7 +13673,7 @@
13585
13673
  },
13586
13674
  "hasDynamicHelp": false,
13587
13675
  "hiddenAliases": [],
13588
- "id": "order:unarchive",
13676
+ "id": "order:shipping_address_same_as_billing",
13589
13677
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13590
13678
  "pluginName": "@commercelayer/cli-plugin-triggers",
13591
13679
  "pluginType": "core",
@@ -13596,10 +13684,10 @@
13596
13684
  "lib",
13597
13685
  "commands",
13598
13686
  "order",
13599
- "unarchive.js"
13687
+ "shipping_address_same_as_billing.js"
13600
13688
  ]
13601
13689
  },
13602
- "order:update_taxes": {
13690
+ "order:start_editing": {
13603
13691
  "aliases": [],
13604
13692
  "args": {
13605
13693
  "id": {
@@ -13608,7 +13696,7 @@
13608
13696
  "required": true
13609
13697
  }
13610
13698
  },
13611
- "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).",
13699
+ "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.",
13612
13700
  "flags": {
13613
13701
  "organization": {
13614
13702
  "char": "o",
@@ -13673,7 +13761,7 @@
13673
13761
  },
13674
13762
  "hasDynamicHelp": false,
13675
13763
  "hiddenAliases": [],
13676
- "id": "order:update_taxes",
13764
+ "id": "order:start_editing",
13677
13765
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13678
13766
  "pluginName": "@commercelayer/cli-plugin-triggers",
13679
13767
  "pluginType": "core",
@@ -13684,10 +13772,10 @@
13684
13772
  "lib",
13685
13773
  "commands",
13686
13774
  "order",
13687
- "update_taxes.js"
13775
+ "start_editing.js"
13688
13776
  ]
13689
13777
  },
13690
- "order:validate": {
13778
+ "order:stop_editing": {
13691
13779
  "aliases": [],
13692
13780
  "args": {
13693
13781
  "id": {
@@ -13696,7 +13784,7 @@
13696
13784
  "required": true
13697
13785
  }
13698
13786
  },
13699
- "description": "Send this attribute if you want to trigger the external validation for the order.",
13787
+ "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
13700
13788
  "flags": {
13701
13789
  "organization": {
13702
13790
  "char": "o",
@@ -13761,7 +13849,7 @@
13761
13849
  },
13762
13850
  "hasDynamicHelp": false,
13763
13851
  "hiddenAliases": [],
13764
- "id": "order:validate",
13852
+ "id": "order:stop_editing",
13765
13853
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13766
13854
  "pluginName": "@commercelayer/cli-plugin-triggers",
13767
13855
  "pluginType": "core",
@@ -13772,10 +13860,10 @@
13772
13860
  "lib",
13773
13861
  "commands",
13774
13862
  "order",
13775
- "validate.js"
13863
+ "stop_editing.js"
13776
13864
  ]
13777
13865
  },
13778
- "payment_method:disable": {
13866
+ "order:unarchive": {
13779
13867
  "aliases": [],
13780
13868
  "args": {
13781
13869
  "id": {
@@ -13784,7 +13872,7 @@
13784
13872
  "required": true
13785
13873
  }
13786
13874
  },
13787
- "description": "Send this attribute if you want to mark this resource as disabled.",
13875
+ "description": "Send this attribute if you want to unarchive the order.",
13788
13876
  "flags": {
13789
13877
  "organization": {
13790
13878
  "char": "o",
@@ -13849,7 +13937,7 @@
13849
13937
  },
13850
13938
  "hasDynamicHelp": false,
13851
13939
  "hiddenAliases": [],
13852
- "id": "payment_method:disable",
13940
+ "id": "order:unarchive",
13853
13941
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13854
13942
  "pluginName": "@commercelayer/cli-plugin-triggers",
13855
13943
  "pluginType": "core",
@@ -13859,11 +13947,11 @@
13859
13947
  "relativePath": [
13860
13948
  "lib",
13861
13949
  "commands",
13862
- "payment_method",
13863
- "disable.js"
13950
+ "order",
13951
+ "unarchive.js"
13864
13952
  ]
13865
13953
  },
13866
- "payment_method:enable": {
13954
+ "order:update_taxes": {
13867
13955
  "aliases": [],
13868
13956
  "args": {
13869
13957
  "id": {
@@ -13872,7 +13960,7 @@
13872
13960
  "required": true
13873
13961
  }
13874
13962
  },
13875
- "description": "Send this attribute if you want to mark this resource as enabled.",
13963
+ "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).",
13876
13964
  "flags": {
13877
13965
  "organization": {
13878
13966
  "char": "o",
@@ -13937,7 +14025,7 @@
13937
14025
  },
13938
14026
  "hasDynamicHelp": false,
13939
14027
  "hiddenAliases": [],
13940
- "id": "payment_method:enable",
14028
+ "id": "order:update_taxes",
13941
14029
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13942
14030
  "pluginName": "@commercelayer/cli-plugin-triggers",
13943
14031
  "pluginType": "core",
@@ -13947,11 +14035,11 @@
13947
14035
  "relativePath": [
13948
14036
  "lib",
13949
14037
  "commands",
13950
- "payment_method",
13951
- "enable.js"
14038
+ "order",
14039
+ "update_taxes.js"
13952
14040
  ]
13953
14041
  },
13954
- "payment_method": {
14042
+ "order:validate": {
13955
14043
  "aliases": [],
13956
14044
  "args": {
13957
14045
  "id": {
@@ -13960,7 +14048,7 @@
13960
14048
  "required": true
13961
14049
  }
13962
14050
  },
13963
- "description": "execute an action on a resource of type payment_methods",
14051
+ "description": "Send this attribute if you want to trigger the external validation for the order.",
13964
14052
  "flags": {
13965
14053
  "organization": {
13966
14054
  "char": "o",
@@ -14025,7 +14113,7 @@
14025
14113
  },
14026
14114
  "hasDynamicHelp": false,
14027
14115
  "hiddenAliases": [],
14028
- "id": "payment_method",
14116
+ "id": "order:validate",
14029
14117
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14030
14118
  "pluginName": "@commercelayer/cli-plugin-triggers",
14031
14119
  "pluginType": "core",
@@ -14035,11 +14123,11 @@
14035
14123
  "relativePath": [
14036
14124
  "lib",
14037
14125
  "commands",
14038
- "payment_method",
14039
- "index.js"
14126
+ "order",
14127
+ "validate.js"
14040
14128
  ]
14041
14129
  },
14042
- "price_list_scheduler:disable": {
14130
+ "percentage_discount_promotion:add_tags": {
14043
14131
  "aliases": [],
14044
14132
  "args": {
14045
14133
  "id": {
@@ -14048,7 +14136,7 @@
14048
14136
  "required": true
14049
14137
  }
14050
14138
  },
14051
- "description": "Send this attribute if you want to mark this resource as disabled.",
14139
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14052
14140
  "flags": {
14053
14141
  "organization": {
14054
14142
  "char": "o",
@@ -14113,7 +14201,7 @@
14113
14201
  },
14114
14202
  "hasDynamicHelp": false,
14115
14203
  "hiddenAliases": [],
14116
- "id": "price_list_scheduler:disable",
14204
+ "id": "percentage_discount_promotion:add_tags",
14117
14205
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14118
14206
  "pluginName": "@commercelayer/cli-plugin-triggers",
14119
14207
  "pluginType": "core",
@@ -14123,11 +14211,11 @@
14123
14211
  "relativePath": [
14124
14212
  "lib",
14125
14213
  "commands",
14126
- "price_list_scheduler",
14127
- "disable.js"
14214
+ "percentage_discount_promotion",
14215
+ "add_tags.js"
14128
14216
  ]
14129
14217
  },
14130
- "price_list_scheduler:enable": {
14218
+ "percentage_discount_promotion:disable": {
14131
14219
  "aliases": [],
14132
14220
  "args": {
14133
14221
  "id": {
@@ -14136,7 +14224,7 @@
14136
14224
  "required": true
14137
14225
  }
14138
14226
  },
14139
- "description": "Send this attribute if you want to mark this resource as enabled.",
14227
+ "description": "Send this attribute if you want to mark this resource as disabled.",
14140
14228
  "flags": {
14141
14229
  "organization": {
14142
14230
  "char": "o",
@@ -14201,7 +14289,7 @@
14201
14289
  },
14202
14290
  "hasDynamicHelp": false,
14203
14291
  "hiddenAliases": [],
14204
- "id": "price_list_scheduler:enable",
14292
+ "id": "percentage_discount_promotion:disable",
14205
14293
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14206
14294
  "pluginName": "@commercelayer/cli-plugin-triggers",
14207
14295
  "pluginType": "core",
@@ -14211,11 +14299,11 @@
14211
14299
  "relativePath": [
14212
14300
  "lib",
14213
14301
  "commands",
14214
- "price_list_scheduler",
14215
- "enable.js"
14302
+ "percentage_discount_promotion",
14303
+ "disable.js"
14216
14304
  ]
14217
14305
  },
14218
- "price_list_scheduler": {
14306
+ "percentage_discount_promotion:enable": {
14219
14307
  "aliases": [],
14220
14308
  "args": {
14221
14309
  "id": {
@@ -14224,7 +14312,7 @@
14224
14312
  "required": true
14225
14313
  }
14226
14314
  },
14227
- "description": "execute an action on a resource of type price_list_schedulers",
14315
+ "description": "Send this attribute if you want to mark this resource as enabled.",
14228
14316
  "flags": {
14229
14317
  "organization": {
14230
14318
  "char": "o",
@@ -14289,7 +14377,7 @@
14289
14377
  },
14290
14378
  "hasDynamicHelp": false,
14291
14379
  "hiddenAliases": [],
14292
- "id": "price_list_scheduler",
14380
+ "id": "percentage_discount_promotion:enable",
14293
14381
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14294
14382
  "pluginName": "@commercelayer/cli-plugin-triggers",
14295
14383
  "pluginType": "core",
@@ -14299,11 +14387,11 @@
14299
14387
  "relativePath": [
14300
14388
  "lib",
14301
14389
  "commands",
14302
- "price_list_scheduler",
14303
- "index.js"
14390
+ "percentage_discount_promotion",
14391
+ "enable.js"
14304
14392
  ]
14305
14393
  },
14306
- "percentage_discount_promotion:add_tags": {
14394
+ "percentage_discount_promotion": {
14307
14395
  "aliases": [],
14308
14396
  "args": {
14309
14397
  "id": {
@@ -14312,7 +14400,7 @@
14312
14400
  "required": true
14313
14401
  }
14314
14402
  },
14315
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14403
+ "description": "execute an action on a resource of type percentage_discount_promotions",
14316
14404
  "flags": {
14317
14405
  "organization": {
14318
14406
  "char": "o",
@@ -14377,7 +14465,7 @@
14377
14465
  },
14378
14466
  "hasDynamicHelp": false,
14379
14467
  "hiddenAliases": [],
14380
- "id": "percentage_discount_promotion:add_tags",
14468
+ "id": "percentage_discount_promotion",
14381
14469
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14382
14470
  "pluginName": "@commercelayer/cli-plugin-triggers",
14383
14471
  "pluginType": "core",
@@ -14388,10 +14476,10 @@
14388
14476
  "lib",
14389
14477
  "commands",
14390
14478
  "percentage_discount_promotion",
14391
- "add_tags.js"
14479
+ "index.js"
14392
14480
  ]
14393
14481
  },
14394
- "percentage_discount_promotion:disable": {
14482
+ "percentage_discount_promotion:remove_tags": {
14395
14483
  "aliases": [],
14396
14484
  "args": {
14397
14485
  "id": {
@@ -14400,7 +14488,7 @@
14400
14488
  "required": true
14401
14489
  }
14402
14490
  },
14403
- "description": "Send this attribute if you want to mark this resource as disabled.",
14491
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14404
14492
  "flags": {
14405
14493
  "organization": {
14406
14494
  "char": "o",
@@ -14465,7 +14553,7 @@
14465
14553
  },
14466
14554
  "hasDynamicHelp": false,
14467
14555
  "hiddenAliases": [],
14468
- "id": "percentage_discount_promotion:disable",
14556
+ "id": "percentage_discount_promotion:remove_tags",
14469
14557
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14470
14558
  "pluginName": "@commercelayer/cli-plugin-triggers",
14471
14559
  "pluginType": "core",
@@ -14476,10 +14564,10 @@
14476
14564
  "lib",
14477
14565
  "commands",
14478
14566
  "percentage_discount_promotion",
14479
- "disable.js"
14567
+ "remove_tags.js"
14480
14568
  ]
14481
14569
  },
14482
- "percentage_discount_promotion:enable": {
14570
+ "price_list_scheduler:disable": {
14483
14571
  "aliases": [],
14484
14572
  "args": {
14485
14573
  "id": {
@@ -14488,7 +14576,7 @@
14488
14576
  "required": true
14489
14577
  }
14490
14578
  },
14491
- "description": "Send this attribute if you want to mark this resource as enabled.",
14579
+ "description": "Send this attribute if you want to mark this resource as disabled.",
14492
14580
  "flags": {
14493
14581
  "organization": {
14494
14582
  "char": "o",
@@ -14553,7 +14641,7 @@
14553
14641
  },
14554
14642
  "hasDynamicHelp": false,
14555
14643
  "hiddenAliases": [],
14556
- "id": "percentage_discount_promotion:enable",
14644
+ "id": "price_list_scheduler:disable",
14557
14645
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14558
14646
  "pluginName": "@commercelayer/cli-plugin-triggers",
14559
14647
  "pluginType": "core",
@@ -14563,11 +14651,11 @@
14563
14651
  "relativePath": [
14564
14652
  "lib",
14565
14653
  "commands",
14566
- "percentage_discount_promotion",
14567
- "enable.js"
14654
+ "price_list_scheduler",
14655
+ "disable.js"
14568
14656
  ]
14569
14657
  },
14570
- "percentage_discount_promotion": {
14658
+ "price_list_scheduler:enable": {
14571
14659
  "aliases": [],
14572
14660
  "args": {
14573
14661
  "id": {
@@ -14576,7 +14664,7 @@
14576
14664
  "required": true
14577
14665
  }
14578
14666
  },
14579
- "description": "execute an action on a resource of type percentage_discount_promotions",
14667
+ "description": "Send this attribute if you want to mark this resource as enabled.",
14580
14668
  "flags": {
14581
14669
  "organization": {
14582
14670
  "char": "o",
@@ -14641,7 +14729,7 @@
14641
14729
  },
14642
14730
  "hasDynamicHelp": false,
14643
14731
  "hiddenAliases": [],
14644
- "id": "percentage_discount_promotion",
14732
+ "id": "price_list_scheduler:enable",
14645
14733
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14646
14734
  "pluginName": "@commercelayer/cli-plugin-triggers",
14647
14735
  "pluginType": "core",
@@ -14651,11 +14739,11 @@
14651
14739
  "relativePath": [
14652
14740
  "lib",
14653
14741
  "commands",
14654
- "percentage_discount_promotion",
14655
- "index.js"
14742
+ "price_list_scheduler",
14743
+ "enable.js"
14656
14744
  ]
14657
14745
  },
14658
- "percentage_discount_promotion:remove_tags": {
14746
+ "price_list_scheduler": {
14659
14747
  "aliases": [],
14660
14748
  "args": {
14661
14749
  "id": {
@@ -14664,7 +14752,7 @@
14664
14752
  "required": true
14665
14753
  }
14666
14754
  },
14667
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14755
+ "description": "execute an action on a resource of type price_list_schedulers",
14668
14756
  "flags": {
14669
14757
  "organization": {
14670
14758
  "char": "o",
@@ -14729,7 +14817,7 @@
14729
14817
  },
14730
14818
  "hasDynamicHelp": false,
14731
14819
  "hiddenAliases": [],
14732
- "id": "percentage_discount_promotion:remove_tags",
14820
+ "id": "price_list_scheduler",
14733
14821
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14734
14822
  "pluginName": "@commercelayer/cli-plugin-triggers",
14735
14823
  "pluginType": "core",
@@ -14739,8 +14827,8 @@
14739
14827
  "relativePath": [
14740
14828
  "lib",
14741
14829
  "commands",
14742
- "percentage_discount_promotion",
14743
- "remove_tags.js"
14830
+ "price_list_scheduler",
14831
+ "index.js"
14744
14832
  ]
14745
14833
  },
14746
14834
  "refund:forward": {
@@ -15095,7 +15183,7 @@
15095
15183
  "restock.js"
15096
15184
  ]
15097
15185
  },
15098
- "satispay_payment": {
15186
+ "return:add_tags": {
15099
15187
  "aliases": [],
15100
15188
  "args": {
15101
15189
  "id": {
@@ -15104,7 +15192,7 @@
15104
15192
  "required": true
15105
15193
  }
15106
15194
  },
15107
- "description": "execute an action on a resource of type satispay_payments",
15195
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15108
15196
  "flags": {
15109
15197
  "organization": {
15110
15198
  "char": "o",
@@ -15169,7 +15257,7 @@
15169
15257
  },
15170
15258
  "hasDynamicHelp": false,
15171
15259
  "hiddenAliases": [],
15172
- "id": "satispay_payment",
15260
+ "id": "return:add_tags",
15173
15261
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15174
15262
  "pluginName": "@commercelayer/cli-plugin-triggers",
15175
15263
  "pluginType": "core",
@@ -15179,11 +15267,11 @@
15179
15267
  "relativePath": [
15180
15268
  "lib",
15181
15269
  "commands",
15182
- "satispay_payment",
15183
- "index.js"
15270
+ "return",
15271
+ "add_tags.js"
15184
15272
  ]
15185
15273
  },
15186
- "satispay_payment:refresh": {
15274
+ "return:approve": {
15187
15275
  "aliases": [],
15188
15276
  "args": {
15189
15277
  "id": {
@@ -15192,7 +15280,7 @@
15192
15280
  "required": true
15193
15281
  }
15194
15282
  },
15195
- "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
15283
+ "description": "Send this attribute if you want to mark this return as approved.",
15196
15284
  "flags": {
15197
15285
  "organization": {
15198
15286
  "char": "o",
@@ -15257,7 +15345,7 @@
15257
15345
  },
15258
15346
  "hasDynamicHelp": false,
15259
15347
  "hiddenAliases": [],
15260
- "id": "satispay_payment:refresh",
15348
+ "id": "return:approve",
15261
15349
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15262
15350
  "pluginName": "@commercelayer/cli-plugin-triggers",
15263
15351
  "pluginType": "core",
@@ -15267,11 +15355,11 @@
15267
15355
  "relativePath": [
15268
15356
  "lib",
15269
15357
  "commands",
15270
- "satispay_payment",
15271
- "refresh.js"
15358
+ "return",
15359
+ "approve.js"
15272
15360
  ]
15273
15361
  },
15274
- "return:add_tags": {
15362
+ "return:archive": {
15275
15363
  "aliases": [],
15276
15364
  "args": {
15277
15365
  "id": {
@@ -15280,7 +15368,7 @@
15280
15368
  "required": true
15281
15369
  }
15282
15370
  },
15283
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15371
+ "description": "Send this attribute if you want to archive the return.",
15284
15372
  "flags": {
15285
15373
  "organization": {
15286
15374
  "char": "o",
@@ -15345,7 +15433,7 @@
15345
15433
  },
15346
15434
  "hasDynamicHelp": false,
15347
15435
  "hiddenAliases": [],
15348
- "id": "return:add_tags",
15436
+ "id": "return:archive",
15349
15437
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15350
15438
  "pluginName": "@commercelayer/cli-plugin-triggers",
15351
15439
  "pluginType": "core",
@@ -15356,10 +15444,10 @@
15356
15444
  "lib",
15357
15445
  "commands",
15358
15446
  "return",
15359
- "add_tags.js"
15447
+ "archive.js"
15360
15448
  ]
15361
15449
  },
15362
- "return:approve": {
15450
+ "return:cancel": {
15363
15451
  "aliases": [],
15364
15452
  "args": {
15365
15453
  "id": {
@@ -15368,7 +15456,7 @@
15368
15456
  "required": true
15369
15457
  }
15370
15458
  },
15371
- "description": "Send this attribute if you want to mark this return as approved.",
15459
+ "description": "Send this attribute if you want to mark this return as cancelled.",
15372
15460
  "flags": {
15373
15461
  "organization": {
15374
15462
  "char": "o",
@@ -15433,7 +15521,7 @@
15433
15521
  },
15434
15522
  "hasDynamicHelp": false,
15435
15523
  "hiddenAliases": [],
15436
- "id": "return:approve",
15524
+ "id": "return:cancel",
15437
15525
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15438
15526
  "pluginName": "@commercelayer/cli-plugin-triggers",
15439
15527
  "pluginType": "core",
@@ -15444,10 +15532,10 @@
15444
15532
  "lib",
15445
15533
  "commands",
15446
15534
  "return",
15447
- "approve.js"
15535
+ "cancel.js"
15448
15536
  ]
15449
15537
  },
15450
- "return:archive": {
15538
+ "return": {
15451
15539
  "aliases": [],
15452
15540
  "args": {
15453
15541
  "id": {
@@ -15456,7 +15544,7 @@
15456
15544
  "required": true
15457
15545
  }
15458
15546
  },
15459
- "description": "Send this attribute if you want to archive the return.",
15547
+ "description": "execute an action on a resource of type returns",
15460
15548
  "flags": {
15461
15549
  "organization": {
15462
15550
  "char": "o",
@@ -15521,7 +15609,7 @@
15521
15609
  },
15522
15610
  "hasDynamicHelp": false,
15523
15611
  "hiddenAliases": [],
15524
- "id": "return:archive",
15612
+ "id": "return",
15525
15613
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15526
15614
  "pluginName": "@commercelayer/cli-plugin-triggers",
15527
15615
  "pluginType": "core",
@@ -15532,10 +15620,10 @@
15532
15620
  "lib",
15533
15621
  "commands",
15534
15622
  "return",
15535
- "archive.js"
15623
+ "index.js"
15536
15624
  ]
15537
15625
  },
15538
- "return:cancel": {
15626
+ "return:receive": {
15539
15627
  "aliases": [],
15540
15628
  "args": {
15541
15629
  "id": {
@@ -15544,7 +15632,7 @@
15544
15632
  "required": true
15545
15633
  }
15546
15634
  },
15547
- "description": "Send this attribute if you want to mark this return as cancelled.",
15635
+ "description": "Send this attribute if you want to mark this return as received.",
15548
15636
  "flags": {
15549
15637
  "organization": {
15550
15638
  "char": "o",
@@ -15609,7 +15697,7 @@
15609
15697
  },
15610
15698
  "hasDynamicHelp": false,
15611
15699
  "hiddenAliases": [],
15612
- "id": "return:cancel",
15700
+ "id": "return:receive",
15613
15701
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15614
15702
  "pluginName": "@commercelayer/cli-plugin-triggers",
15615
15703
  "pluginType": "core",
@@ -15620,10 +15708,10 @@
15620
15708
  "lib",
15621
15709
  "commands",
15622
15710
  "return",
15623
- "cancel.js"
15711
+ "receive.js"
15624
15712
  ]
15625
15713
  },
15626
- "return": {
15714
+ "return:refund": {
15627
15715
  "aliases": [],
15628
15716
  "args": {
15629
15717
  "id": {
@@ -15632,7 +15720,7 @@
15632
15720
  "required": true
15633
15721
  }
15634
15722
  },
15635
- "description": "execute an action on a resource of type returns",
15723
+ "description": "Send this attribute if you want to create a refund for this return.",
15636
15724
  "flags": {
15637
15725
  "organization": {
15638
15726
  "char": "o",
@@ -15697,7 +15785,7 @@
15697
15785
  },
15698
15786
  "hasDynamicHelp": false,
15699
15787
  "hiddenAliases": [],
15700
- "id": "return",
15788
+ "id": "return:refund",
15701
15789
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15702
15790
  "pluginName": "@commercelayer/cli-plugin-triggers",
15703
15791
  "pluginType": "core",
@@ -15708,10 +15796,10 @@
15708
15796
  "lib",
15709
15797
  "commands",
15710
15798
  "return",
15711
- "index.js"
15799
+ "refund.js"
15712
15800
  ]
15713
15801
  },
15714
- "return:receive": {
15802
+ "return:refund_amount_cents": {
15715
15803
  "aliases": [],
15716
15804
  "args": {
15717
15805
  "id": {
@@ -15720,7 +15808,7 @@
15720
15808
  "required": true
15721
15809
  }
15722
15810
  },
15723
- "description": "Send this attribute if you want to mark this return as received.",
15811
+ "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
15724
15812
  "flags": {
15725
15813
  "organization": {
15726
15814
  "char": "o",
@@ -15785,7 +15873,7 @@
15785
15873
  },
15786
15874
  "hasDynamicHelp": false,
15787
15875
  "hiddenAliases": [],
15788
- "id": "return:receive",
15876
+ "id": "return:refund_amount_cents",
15789
15877
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15790
15878
  "pluginName": "@commercelayer/cli-plugin-triggers",
15791
15879
  "pluginType": "core",
@@ -15796,10 +15884,10 @@
15796
15884
  "lib",
15797
15885
  "commands",
15798
15886
  "return",
15799
- "receive.js"
15887
+ "refund_amount_cents.js"
15800
15888
  ]
15801
15889
  },
15802
- "return:refund": {
15890
+ "return:reject": {
15803
15891
  "aliases": [],
15804
15892
  "args": {
15805
15893
  "id": {
@@ -15808,7 +15896,7 @@
15808
15896
  "required": true
15809
15897
  }
15810
15898
  },
15811
- "description": "Send this attribute if you want to create a refund for this return.",
15899
+ "description": "Send this attribute if you want to mark this return as rejected.",
15812
15900
  "flags": {
15813
15901
  "organization": {
15814
15902
  "char": "o",
@@ -15873,7 +15961,7 @@
15873
15961
  },
15874
15962
  "hasDynamicHelp": false,
15875
15963
  "hiddenAliases": [],
15876
- "id": "return:refund",
15964
+ "id": "return:reject",
15877
15965
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15878
15966
  "pluginName": "@commercelayer/cli-plugin-triggers",
15879
15967
  "pluginType": "core",
@@ -15884,10 +15972,10 @@
15884
15972
  "lib",
15885
15973
  "commands",
15886
15974
  "return",
15887
- "refund.js"
15975
+ "reject.js"
15888
15976
  ]
15889
15977
  },
15890
- "return:refund_amount_cents": {
15978
+ "return:remove_tags": {
15891
15979
  "aliases": [],
15892
15980
  "args": {
15893
15981
  "id": {
@@ -15896,7 +15984,7 @@
15896
15984
  "required": true
15897
15985
  }
15898
15986
  },
15899
- "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
15987
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15900
15988
  "flags": {
15901
15989
  "organization": {
15902
15990
  "char": "o",
@@ -15961,7 +16049,7 @@
15961
16049
  },
15962
16050
  "hasDynamicHelp": false,
15963
16051
  "hiddenAliases": [],
15964
- "id": "return:refund_amount_cents",
16052
+ "id": "return:remove_tags",
15965
16053
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15966
16054
  "pluginName": "@commercelayer/cli-plugin-triggers",
15967
16055
  "pluginType": "core",
@@ -15972,10 +16060,10 @@
15972
16060
  "lib",
15973
16061
  "commands",
15974
16062
  "return",
15975
- "refund_amount_cents.js"
16063
+ "remove_tags.js"
15976
16064
  ]
15977
16065
  },
15978
- "return:reject": {
16066
+ "return:request": {
15979
16067
  "aliases": [],
15980
16068
  "args": {
15981
16069
  "id": {
@@ -15984,7 +16072,7 @@
15984
16072
  "required": true
15985
16073
  }
15986
16074
  },
15987
- "description": "Send this attribute if you want to mark this return as rejected.",
16075
+ "description": "Send this attribute if you want to activate this return.",
15988
16076
  "flags": {
15989
16077
  "organization": {
15990
16078
  "char": "o",
@@ -16049,7 +16137,7 @@
16049
16137
  },
16050
16138
  "hasDynamicHelp": false,
16051
16139
  "hiddenAliases": [],
16052
- "id": "return:reject",
16140
+ "id": "return:request",
16053
16141
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16054
16142
  "pluginName": "@commercelayer/cli-plugin-triggers",
16055
16143
  "pluginType": "core",
@@ -16060,10 +16148,10 @@
16060
16148
  "lib",
16061
16149
  "commands",
16062
16150
  "return",
16063
- "reject.js"
16151
+ "request.js"
16064
16152
  ]
16065
16153
  },
16066
- "return:remove_tags": {
16154
+ "return:restock": {
16067
16155
  "aliases": [],
16068
16156
  "args": {
16069
16157
  "id": {
@@ -16072,7 +16160,7 @@
16072
16160
  "required": true
16073
16161
  }
16074
16162
  },
16075
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
16163
+ "description": "Send this attribute if you want to restock all of the return line items.",
16076
16164
  "flags": {
16077
16165
  "organization": {
16078
16166
  "char": "o",
@@ -16137,7 +16225,7 @@
16137
16225
  },
16138
16226
  "hasDynamicHelp": false,
16139
16227
  "hiddenAliases": [],
16140
- "id": "return:remove_tags",
16228
+ "id": "return:restock",
16141
16229
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16142
16230
  "pluginName": "@commercelayer/cli-plugin-triggers",
16143
16231
  "pluginType": "core",
@@ -16148,10 +16236,10 @@
16148
16236
  "lib",
16149
16237
  "commands",
16150
16238
  "return",
16151
- "remove_tags.js"
16239
+ "restock.js"
16152
16240
  ]
16153
16241
  },
16154
- "return:request": {
16242
+ "return:ship": {
16155
16243
  "aliases": [],
16156
16244
  "args": {
16157
16245
  "id": {
@@ -16160,7 +16248,7 @@
16160
16248
  "required": true
16161
16249
  }
16162
16250
  },
16163
- "description": "Send this attribute if you want to activate this return.",
16251
+ "description": "Send this attribute if you want to mark this return as shipped.",
16164
16252
  "flags": {
16165
16253
  "organization": {
16166
16254
  "char": "o",
@@ -16225,7 +16313,7 @@
16225
16313
  },
16226
16314
  "hasDynamicHelp": false,
16227
16315
  "hiddenAliases": [],
16228
- "id": "return:request",
16316
+ "id": "return:ship",
16229
16317
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16230
16318
  "pluginName": "@commercelayer/cli-plugin-triggers",
16231
16319
  "pluginType": "core",
@@ -16236,10 +16324,10 @@
16236
16324
  "lib",
16237
16325
  "commands",
16238
16326
  "return",
16239
- "request.js"
16327
+ "ship.js"
16240
16328
  ]
16241
16329
  },
16242
- "return:restock": {
16330
+ "return:unarchive": {
16243
16331
  "aliases": [],
16244
16332
  "args": {
16245
16333
  "id": {
@@ -16248,7 +16336,7 @@
16248
16336
  "required": true
16249
16337
  }
16250
16338
  },
16251
- "description": "Send this attribute if you want to restock all of the return line items.",
16339
+ "description": "Send this attribute if you want to unarchive the return.",
16252
16340
  "flags": {
16253
16341
  "organization": {
16254
16342
  "char": "o",
@@ -16313,7 +16401,7 @@
16313
16401
  },
16314
16402
  "hasDynamicHelp": false,
16315
16403
  "hiddenAliases": [],
16316
- "id": "return:restock",
16404
+ "id": "return:unarchive",
16317
16405
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16318
16406
  "pluginName": "@commercelayer/cli-plugin-triggers",
16319
16407
  "pluginType": "core",
@@ -16324,10 +16412,10 @@
16324
16412
  "lib",
16325
16413
  "commands",
16326
16414
  "return",
16327
- "restock.js"
16415
+ "unarchive.js"
16328
16416
  ]
16329
16417
  },
16330
- "return:ship": {
16418
+ "satispay_payment": {
16331
16419
  "aliases": [],
16332
16420
  "args": {
16333
16421
  "id": {
@@ -16336,7 +16424,7 @@
16336
16424
  "required": true
16337
16425
  }
16338
16426
  },
16339
- "description": "Send this attribute if you want to mark this return as shipped.",
16427
+ "description": "execute an action on a resource of type satispay_payments",
16340
16428
  "flags": {
16341
16429
  "organization": {
16342
16430
  "char": "o",
@@ -16401,7 +16489,7 @@
16401
16489
  },
16402
16490
  "hasDynamicHelp": false,
16403
16491
  "hiddenAliases": [],
16404
- "id": "return:ship",
16492
+ "id": "satispay_payment",
16405
16493
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16406
16494
  "pluginName": "@commercelayer/cli-plugin-triggers",
16407
16495
  "pluginType": "core",
@@ -16411,11 +16499,11 @@
16411
16499
  "relativePath": [
16412
16500
  "lib",
16413
16501
  "commands",
16414
- "return",
16415
- "ship.js"
16502
+ "satispay_payment",
16503
+ "index.js"
16416
16504
  ]
16417
16505
  },
16418
- "return:unarchive": {
16506
+ "satispay_payment:refresh": {
16419
16507
  "aliases": [],
16420
16508
  "args": {
16421
16509
  "id": {
@@ -16424,7 +16512,7 @@
16424
16512
  "required": true
16425
16513
  }
16426
16514
  },
16427
- "description": "Send this attribute if you want to unarchive the return.",
16515
+ "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
16428
16516
  "flags": {
16429
16517
  "organization": {
16430
16518
  "char": "o",
@@ -16489,7 +16577,7 @@
16489
16577
  },
16490
16578
  "hasDynamicHelp": false,
16491
16579
  "hiddenAliases": [],
16492
- "id": "return:unarchive",
16580
+ "id": "satispay_payment:refresh",
16493
16581
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16494
16582
  "pluginName": "@commercelayer/cli-plugin-triggers",
16495
16583
  "pluginType": "core",
@@ -16499,8 +16587,8 @@
16499
16587
  "relativePath": [
16500
16588
  "lib",
16501
16589
  "commands",
16502
- "return",
16503
- "unarchive.js"
16590
+ "satispay_payment",
16591
+ "refresh.js"
16504
16592
  ]
16505
16593
  },
16506
16594
  "shipping_method:disable": {
@@ -16855,7 +16943,7 @@
16855
16943
  "reset_circuit.js"
16856
16944
  ]
16857
16945
  },
16858
- "sku:add_tags": {
16946
+ "shipment:add_tags": {
16859
16947
  "aliases": [],
16860
16948
  "args": {
16861
16949
  "id": {
@@ -16929,7 +17017,7 @@
16929
17017
  },
16930
17018
  "hasDynamicHelp": false,
16931
17019
  "hiddenAliases": [],
16932
- "id": "sku:add_tags",
17020
+ "id": "shipment:add_tags",
16933
17021
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16934
17022
  "pluginName": "@commercelayer/cli-plugin-triggers",
16935
17023
  "pluginType": "core",
@@ -16939,11 +17027,11 @@
16939
17027
  "relativePath": [
16940
17028
  "lib",
16941
17029
  "commands",
16942
- "sku",
17030
+ "shipment",
16943
17031
  "add_tags.js"
16944
17032
  ]
16945
17033
  },
16946
- "sku": {
17034
+ "shipment:cancel": {
16947
17035
  "aliases": [],
16948
17036
  "args": {
16949
17037
  "id": {
@@ -16952,7 +17040,7 @@
16952
17040
  "required": true
16953
17041
  }
16954
17042
  },
16955
- "description": "execute an action on a resource of type skus",
17043
+ "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered). Cannot be passed by sales channels.",
16956
17044
  "flags": {
16957
17045
  "organization": {
16958
17046
  "char": "o",
@@ -17017,7 +17105,7 @@
17017
17105
  },
17018
17106
  "hasDynamicHelp": false,
17019
17107
  "hiddenAliases": [],
17020
- "id": "sku",
17108
+ "id": "shipment:cancel",
17021
17109
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17022
17110
  "pluginName": "@commercelayer/cli-plugin-triggers",
17023
17111
  "pluginType": "core",
@@ -17027,11 +17115,11 @@
17027
17115
  "relativePath": [
17028
17116
  "lib",
17029
17117
  "commands",
17030
- "sku",
17031
- "index.js"
17118
+ "shipment",
17119
+ "cancel.js"
17032
17120
  ]
17033
17121
  },
17034
- "sku:remove_tags": {
17122
+ "shipment:decrement_stock": {
17035
17123
  "aliases": [],
17036
17124
  "args": {
17037
17125
  "id": {
@@ -17040,7 +17128,7 @@
17040
17128
  "required": true
17041
17129
  }
17042
17130
  },
17043
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17131
+ "description": "Send this attribute if you want to automatically decrement and release the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
17044
17132
  "flags": {
17045
17133
  "organization": {
17046
17134
  "char": "o",
@@ -17105,7 +17193,7 @@
17105
17193
  },
17106
17194
  "hasDynamicHelp": false,
17107
17195
  "hiddenAliases": [],
17108
- "id": "sku:remove_tags",
17196
+ "id": "shipment:decrement_stock",
17109
17197
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17110
17198
  "pluginName": "@commercelayer/cli-plugin-triggers",
17111
17199
  "pluginType": "core",
@@ -17115,11 +17203,11 @@
17115
17203
  "relativePath": [
17116
17204
  "lib",
17117
17205
  "commands",
17118
- "sku",
17119
- "remove_tags.js"
17206
+ "shipment",
17207
+ "decrement_stock.js"
17120
17208
  ]
17121
17209
  },
17122
- "shipment:add_tags": {
17210
+ "shipment:deliver": {
17123
17211
  "aliases": [],
17124
17212
  "args": {
17125
17213
  "id": {
@@ -17128,7 +17216,7 @@
17128
17216
  "required": true
17129
17217
  }
17130
17218
  },
17131
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17219
+ "description": "Send this attribute if you want to mark this shipment as delivered.",
17132
17220
  "flags": {
17133
17221
  "organization": {
17134
17222
  "char": "o",
@@ -17193,7 +17281,7 @@
17193
17281
  },
17194
17282
  "hasDynamicHelp": false,
17195
17283
  "hiddenAliases": [],
17196
- "id": "shipment:add_tags",
17284
+ "id": "shipment:deliver",
17197
17285
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17198
17286
  "pluginName": "@commercelayer/cli-plugin-triggers",
17199
17287
  "pluginType": "core",
@@ -17204,10 +17292,10 @@
17204
17292
  "lib",
17205
17293
  "commands",
17206
17294
  "shipment",
17207
- "add_tags.js"
17295
+ "deliver.js"
17208
17296
  ]
17209
17297
  },
17210
- "shipment:cancel": {
17298
+ "shipment:get_rates": {
17211
17299
  "aliases": [],
17212
17300
  "args": {
17213
17301
  "id": {
@@ -17216,7 +17304,7 @@
17216
17304
  "required": true
17217
17305
  }
17218
17306
  },
17219
- "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered). Cannot be passed by sales channels.",
17307
+ "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
17220
17308
  "flags": {
17221
17309
  "organization": {
17222
17310
  "char": "o",
@@ -17281,7 +17369,7 @@
17281
17369
  },
17282
17370
  "hasDynamicHelp": false,
17283
17371
  "hiddenAliases": [],
17284
- "id": "shipment:cancel",
17372
+ "id": "shipment:get_rates",
17285
17373
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17286
17374
  "pluginName": "@commercelayer/cli-plugin-triggers",
17287
17375
  "pluginType": "core",
@@ -17292,10 +17380,10 @@
17292
17380
  "lib",
17293
17381
  "commands",
17294
17382
  "shipment",
17295
- "cancel.js"
17383
+ "get_rates.js"
17296
17384
  ]
17297
17385
  },
17298
- "shipment:decrement_stock": {
17386
+ "shipment": {
17299
17387
  "aliases": [],
17300
17388
  "args": {
17301
17389
  "id": {
@@ -17304,7 +17392,7 @@
17304
17392
  "required": true
17305
17393
  }
17306
17394
  },
17307
- "description": "Send this attribute if you want to automatically decrement and release the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
17395
+ "description": "execute an action on a resource of type shipments",
17308
17396
  "flags": {
17309
17397
  "organization": {
17310
17398
  "char": "o",
@@ -17369,7 +17457,7 @@
17369
17457
  },
17370
17458
  "hasDynamicHelp": false,
17371
17459
  "hiddenAliases": [],
17372
- "id": "shipment:decrement_stock",
17460
+ "id": "shipment",
17373
17461
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17374
17462
  "pluginName": "@commercelayer/cli-plugin-triggers",
17375
17463
  "pluginType": "core",
@@ -17380,10 +17468,10 @@
17380
17468
  "lib",
17381
17469
  "commands",
17382
17470
  "shipment",
17383
- "decrement_stock.js"
17471
+ "index.js"
17384
17472
  ]
17385
17473
  },
17386
- "shipment:deliver": {
17474
+ "shipment:on_hold": {
17387
17475
  "aliases": [],
17388
17476
  "args": {
17389
17477
  "id": {
@@ -17392,7 +17480,7 @@
17392
17480
  "required": true
17393
17481
  }
17394
17482
  },
17395
- "description": "Send this attribute if you want to mark this shipment as delivered.",
17483
+ "description": "Send this attribute if you want to put this shipment on hold.",
17396
17484
  "flags": {
17397
17485
  "organization": {
17398
17486
  "char": "o",
@@ -17457,7 +17545,7 @@
17457
17545
  },
17458
17546
  "hasDynamicHelp": false,
17459
17547
  "hiddenAliases": [],
17460
- "id": "shipment:deliver",
17548
+ "id": "shipment:on_hold",
17461
17549
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17462
17550
  "pluginName": "@commercelayer/cli-plugin-triggers",
17463
17551
  "pluginType": "core",
@@ -17468,10 +17556,10 @@
17468
17556
  "lib",
17469
17557
  "commands",
17470
17558
  "shipment",
17471
- "deliver.js"
17559
+ "on_hold.js"
17472
17560
  ]
17473
17561
  },
17474
- "shipment:get_rates": {
17562
+ "shipment:packing": {
17475
17563
  "aliases": [],
17476
17564
  "args": {
17477
17565
  "id": {
@@ -17480,7 +17568,7 @@
17480
17568
  "required": true
17481
17569
  }
17482
17570
  },
17483
- "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
17571
+ "description": "Send this attribute if you want to start packing this shipment.",
17484
17572
  "flags": {
17485
17573
  "organization": {
17486
17574
  "char": "o",
@@ -17545,7 +17633,7 @@
17545
17633
  },
17546
17634
  "hasDynamicHelp": false,
17547
17635
  "hiddenAliases": [],
17548
- "id": "shipment:get_rates",
17636
+ "id": "shipment:packing",
17549
17637
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17550
17638
  "pluginName": "@commercelayer/cli-plugin-triggers",
17551
17639
  "pluginType": "core",
@@ -17556,10 +17644,10 @@
17556
17644
  "lib",
17557
17645
  "commands",
17558
17646
  "shipment",
17559
- "get_rates.js"
17647
+ "packing.js"
17560
17648
  ]
17561
17649
  },
17562
- "shipment": {
17650
+ "shipment:picking": {
17563
17651
  "aliases": [],
17564
17652
  "args": {
17565
17653
  "id": {
@@ -17568,7 +17656,7 @@
17568
17656
  "required": true
17569
17657
  }
17570
17658
  },
17571
- "description": "execute an action on a resource of type shipments",
17659
+ "description": "Send this attribute if you want to start picking this shipment.",
17572
17660
  "flags": {
17573
17661
  "organization": {
17574
17662
  "char": "o",
@@ -17633,7 +17721,7 @@
17633
17721
  },
17634
17722
  "hasDynamicHelp": false,
17635
17723
  "hiddenAliases": [],
17636
- "id": "shipment",
17724
+ "id": "shipment:picking",
17637
17725
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17638
17726
  "pluginName": "@commercelayer/cli-plugin-triggers",
17639
17727
  "pluginType": "core",
@@ -17644,10 +17732,10 @@
17644
17732
  "lib",
17645
17733
  "commands",
17646
17734
  "shipment",
17647
- "index.js"
17735
+ "picking.js"
17648
17736
  ]
17649
17737
  },
17650
- "shipment:on_hold": {
17738
+ "shipment:purchase": {
17651
17739
  "aliases": [],
17652
17740
  "args": {
17653
17741
  "id": {
@@ -17656,7 +17744,7 @@
17656
17744
  "required": true
17657
17745
  }
17658
17746
  },
17659
- "description": "Send this attribute if you want to put this shipment on hold.",
17747
+ "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
17660
17748
  "flags": {
17661
17749
  "organization": {
17662
17750
  "char": "o",
@@ -17721,7 +17809,7 @@
17721
17809
  },
17722
17810
  "hasDynamicHelp": false,
17723
17811
  "hiddenAliases": [],
17724
- "id": "shipment:on_hold",
17812
+ "id": "shipment:purchase",
17725
17813
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17726
17814
  "pluginName": "@commercelayer/cli-plugin-triggers",
17727
17815
  "pluginType": "core",
@@ -17732,10 +17820,10 @@
17732
17820
  "lib",
17733
17821
  "commands",
17734
17822
  "shipment",
17735
- "on_hold.js"
17823
+ "purchase.js"
17736
17824
  ]
17737
17825
  },
17738
- "shipment:packing": {
17826
+ "shipment:ready_to_ship": {
17739
17827
  "aliases": [],
17740
17828
  "args": {
17741
17829
  "id": {
@@ -17744,7 +17832,7 @@
17744
17832
  "required": true
17745
17833
  }
17746
17834
  },
17747
- "description": "Send this attribute if you want to start packing this shipment.",
17835
+ "description": "Send this attribute if you want to mark this shipment as ready to ship.",
17748
17836
  "flags": {
17749
17837
  "organization": {
17750
17838
  "char": "o",
@@ -17809,7 +17897,7 @@
17809
17897
  },
17810
17898
  "hasDynamicHelp": false,
17811
17899
  "hiddenAliases": [],
17812
- "id": "shipment:packing",
17900
+ "id": "shipment:ready_to_ship",
17813
17901
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17814
17902
  "pluginName": "@commercelayer/cli-plugin-triggers",
17815
17903
  "pluginType": "core",
@@ -17820,10 +17908,10 @@
17820
17908
  "lib",
17821
17909
  "commands",
17822
17910
  "shipment",
17823
- "packing.js"
17911
+ "ready_to_ship.js"
17824
17912
  ]
17825
17913
  },
17826
- "shipment:picking": {
17914
+ "shipment:release_stock": {
17827
17915
  "aliases": [],
17828
17916
  "args": {
17829
17917
  "id": {
@@ -17832,7 +17920,7 @@
17832
17920
  "required": true
17833
17921
  }
17834
17922
  },
17835
- "description": "Send this attribute if you want to start picking this shipment.",
17923
+ "description": "Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
17836
17924
  "flags": {
17837
17925
  "organization": {
17838
17926
  "char": "o",
@@ -17897,7 +17985,7 @@
17897
17985
  },
17898
17986
  "hasDynamicHelp": false,
17899
17987
  "hiddenAliases": [],
17900
- "id": "shipment:picking",
17988
+ "id": "shipment:release_stock",
17901
17989
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17902
17990
  "pluginName": "@commercelayer/cli-plugin-triggers",
17903
17991
  "pluginType": "core",
@@ -17908,10 +17996,10 @@
17908
17996
  "lib",
17909
17997
  "commands",
17910
17998
  "shipment",
17911
- "picking.js"
17999
+ "release_stock.js"
17912
18000
  ]
17913
18001
  },
17914
- "shipment:purchase": {
18002
+ "shipment:remove_tags": {
17915
18003
  "aliases": [],
17916
18004
  "args": {
17917
18005
  "id": {
@@ -17920,7 +18008,7 @@
17920
18008
  "required": true
17921
18009
  }
17922
18010
  },
17923
- "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
18011
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17924
18012
  "flags": {
17925
18013
  "organization": {
17926
18014
  "char": "o",
@@ -17985,7 +18073,7 @@
17985
18073
  },
17986
18074
  "hasDynamicHelp": false,
17987
18075
  "hiddenAliases": [],
17988
- "id": "shipment:purchase",
18076
+ "id": "shipment:remove_tags",
17989
18077
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17990
18078
  "pluginName": "@commercelayer/cli-plugin-triggers",
17991
18079
  "pluginType": "core",
@@ -17996,10 +18084,10 @@
17996
18084
  "lib",
17997
18085
  "commands",
17998
18086
  "shipment",
17999
- "purchase.js"
18087
+ "remove_tags.js"
18000
18088
  ]
18001
18089
  },
18002
- "shipment:ready_to_ship": {
18090
+ "shipment:reserve_stock": {
18003
18091
  "aliases": [],
18004
18092
  "args": {
18005
18093
  "id": {
@@ -18008,7 +18096,7 @@
18008
18096
  "required": true
18009
18097
  }
18010
18098
  },
18011
- "description": "Send this attribute if you want to mark this shipment as ready to ship.",
18099
+ "description": "Send this attribute if you want to automatically reserve the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
18012
18100
  "flags": {
18013
18101
  "organization": {
18014
18102
  "char": "o",
@@ -18073,7 +18161,7 @@
18073
18161
  },
18074
18162
  "hasDynamicHelp": false,
18075
18163
  "hiddenAliases": [],
18076
- "id": "shipment:ready_to_ship",
18164
+ "id": "shipment:reserve_stock",
18077
18165
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18078
18166
  "pluginName": "@commercelayer/cli-plugin-triggers",
18079
18167
  "pluginType": "core",
@@ -18084,10 +18172,10 @@
18084
18172
  "lib",
18085
18173
  "commands",
18086
18174
  "shipment",
18087
- "ready_to_ship.js"
18175
+ "reserve_stock.js"
18088
18176
  ]
18089
18177
  },
18090
- "shipment:release_stock": {
18178
+ "shipment:ship": {
18091
18179
  "aliases": [],
18092
18180
  "args": {
18093
18181
  "id": {
@@ -18096,7 +18184,7 @@
18096
18184
  "required": true
18097
18185
  }
18098
18186
  },
18099
- "description": "Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
18187
+ "description": "Send this attribute if you want to mark this shipment as shipped.",
18100
18188
  "flags": {
18101
18189
  "organization": {
18102
18190
  "char": "o",
@@ -18161,7 +18249,7 @@
18161
18249
  },
18162
18250
  "hasDynamicHelp": false,
18163
18251
  "hiddenAliases": [],
18164
- "id": "shipment:release_stock",
18252
+ "id": "shipment:ship",
18165
18253
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18166
18254
  "pluginName": "@commercelayer/cli-plugin-triggers",
18167
18255
  "pluginType": "core",
@@ -18172,10 +18260,10 @@
18172
18260
  "lib",
18173
18261
  "commands",
18174
18262
  "shipment",
18175
- "release_stock.js"
18263
+ "ship.js"
18176
18264
  ]
18177
18265
  },
18178
- "shipment:remove_tags": {
18266
+ "shipment:upcoming": {
18179
18267
  "aliases": [],
18180
18268
  "args": {
18181
18269
  "id": {
@@ -18184,7 +18272,7 @@
18184
18272
  "required": true
18185
18273
  }
18186
18274
  },
18187
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18275
+ "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
18188
18276
  "flags": {
18189
18277
  "organization": {
18190
18278
  "char": "o",
@@ -18249,7 +18337,7 @@
18249
18337
  },
18250
18338
  "hasDynamicHelp": false,
18251
18339
  "hiddenAliases": [],
18252
- "id": "shipment:remove_tags",
18340
+ "id": "shipment:upcoming",
18253
18341
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18254
18342
  "pluginName": "@commercelayer/cli-plugin-triggers",
18255
18343
  "pluginType": "core",
@@ -18260,10 +18348,10 @@
18260
18348
  "lib",
18261
18349
  "commands",
18262
18350
  "shipment",
18263
- "remove_tags.js"
18351
+ "upcoming.js"
18264
18352
  ]
18265
18353
  },
18266
- "shipment:reserve_stock": {
18354
+ "sku:add_tags": {
18267
18355
  "aliases": [],
18268
18356
  "args": {
18269
18357
  "id": {
@@ -18272,7 +18360,7 @@
18272
18360
  "required": true
18273
18361
  }
18274
18362
  },
18275
- "description": "Send this attribute if you want to automatically reserve the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
18363
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18276
18364
  "flags": {
18277
18365
  "organization": {
18278
18366
  "char": "o",
@@ -18337,7 +18425,7 @@
18337
18425
  },
18338
18426
  "hasDynamicHelp": false,
18339
18427
  "hiddenAliases": [],
18340
- "id": "shipment:reserve_stock",
18428
+ "id": "sku:add_tags",
18341
18429
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18342
18430
  "pluginName": "@commercelayer/cli-plugin-triggers",
18343
18431
  "pluginType": "core",
@@ -18347,11 +18435,11 @@
18347
18435
  "relativePath": [
18348
18436
  "lib",
18349
18437
  "commands",
18350
- "shipment",
18351
- "reserve_stock.js"
18438
+ "sku",
18439
+ "add_tags.js"
18352
18440
  ]
18353
18441
  },
18354
- "shipment:ship": {
18442
+ "sku": {
18355
18443
  "aliases": [],
18356
18444
  "args": {
18357
18445
  "id": {
@@ -18360,7 +18448,7 @@
18360
18448
  "required": true
18361
18449
  }
18362
18450
  },
18363
- "description": "Send this attribute if you want to mark this shipment as shipped.",
18451
+ "description": "execute an action on a resource of type skus",
18364
18452
  "flags": {
18365
18453
  "organization": {
18366
18454
  "char": "o",
@@ -18425,7 +18513,7 @@
18425
18513
  },
18426
18514
  "hasDynamicHelp": false,
18427
18515
  "hiddenAliases": [],
18428
- "id": "shipment:ship",
18516
+ "id": "sku",
18429
18517
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18430
18518
  "pluginName": "@commercelayer/cli-plugin-triggers",
18431
18519
  "pluginType": "core",
@@ -18435,11 +18523,11 @@
18435
18523
  "relativePath": [
18436
18524
  "lib",
18437
18525
  "commands",
18438
- "shipment",
18439
- "ship.js"
18526
+ "sku",
18527
+ "index.js"
18440
18528
  ]
18441
18529
  },
18442
- "shipment:upcoming": {
18530
+ "sku:remove_tags": {
18443
18531
  "aliases": [],
18444
18532
  "args": {
18445
18533
  "id": {
@@ -18448,7 +18536,7 @@
18448
18536
  "required": true
18449
18537
  }
18450
18538
  },
18451
- "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
18539
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18452
18540
  "flags": {
18453
18541
  "organization": {
18454
18542
  "char": "o",
@@ -18513,7 +18601,7 @@
18513
18601
  },
18514
18602
  "hasDynamicHelp": false,
18515
18603
  "hiddenAliases": [],
18516
- "id": "shipment:upcoming",
18604
+ "id": "sku:remove_tags",
18517
18605
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18518
18606
  "pluginName": "@commercelayer/cli-plugin-triggers",
18519
18607
  "pluginType": "core",
@@ -18523,8 +18611,8 @@
18523
18611
  "relativePath": [
18524
18612
  "lib",
18525
18613
  "commands",
18526
- "shipment",
18527
- "upcoming.js"
18614
+ "sku",
18615
+ "remove_tags.js"
18528
18616
  ]
18529
18617
  },
18530
18618
  "sku_option:add_tags": {
@@ -18967,7 +19055,7 @@
18967
19055
  "validate.js"
18968
19056
  ]
18969
19057
  },
18970
- "stock_reservation": {
19058
+ "stock_line_item:decrement_stock": {
18971
19059
  "aliases": [],
18972
19060
  "args": {
18973
19061
  "id": {
@@ -18976,7 +19064,7 @@
18976
19064
  "required": true
18977
19065
  }
18978
19066
  },
18979
- "description": "execute an action on a resource of type stock_reservations",
19067
+ "description": "Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
18980
19068
  "flags": {
18981
19069
  "organization": {
18982
19070
  "char": "o",
@@ -19041,7 +19129,7 @@
19041
19129
  },
19042
19130
  "hasDynamicHelp": false,
19043
19131
  "hiddenAliases": [],
19044
- "id": "stock_reservation",
19132
+ "id": "stock_line_item:decrement_stock",
19045
19133
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19046
19134
  "pluginName": "@commercelayer/cli-plugin-triggers",
19047
19135
  "pluginType": "core",
@@ -19051,11 +19139,11 @@
19051
19139
  "relativePath": [
19052
19140
  "lib",
19053
19141
  "commands",
19054
- "stock_reservation",
19055
- "index.js"
19142
+ "stock_line_item",
19143
+ "decrement_stock.js"
19056
19144
  ]
19057
19145
  },
19058
- "stock_reservation:pending": {
19146
+ "stock_line_item": {
19059
19147
  "aliases": [],
19060
19148
  "args": {
19061
19149
  "id": {
@@ -19064,7 +19152,7 @@
19064
19152
  "required": true
19065
19153
  }
19066
19154
  },
19067
- "description": "Send this attribute if you want to mark this stock reservation as pending.",
19155
+ "description": "execute an action on a resource of type stock_line_items",
19068
19156
  "flags": {
19069
19157
  "organization": {
19070
19158
  "char": "o",
@@ -19129,7 +19217,7 @@
19129
19217
  },
19130
19218
  "hasDynamicHelp": false,
19131
19219
  "hiddenAliases": [],
19132
- "id": "stock_reservation:pending",
19220
+ "id": "stock_line_item",
19133
19221
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19134
19222
  "pluginName": "@commercelayer/cli-plugin-triggers",
19135
19223
  "pluginType": "core",
@@ -19139,11 +19227,11 @@
19139
19227
  "relativePath": [
19140
19228
  "lib",
19141
19229
  "commands",
19142
- "stock_reservation",
19143
- "pending.js"
19230
+ "stock_line_item",
19231
+ "index.js"
19144
19232
  ]
19145
19233
  },
19146
- "stock_line_item:decrement_stock": {
19234
+ "stock_line_item:release_stock": {
19147
19235
  "aliases": [],
19148
19236
  "args": {
19149
19237
  "id": {
@@ -19152,7 +19240,7 @@
19152
19240
  "required": true
19153
19241
  }
19154
19242
  },
19155
- "description": "Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
19243
+ "description": "Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
19156
19244
  "flags": {
19157
19245
  "organization": {
19158
19246
  "char": "o",
@@ -19217,7 +19305,7 @@
19217
19305
  },
19218
19306
  "hasDynamicHelp": false,
19219
19307
  "hiddenAliases": [],
19220
- "id": "stock_line_item:decrement_stock",
19308
+ "id": "stock_line_item:release_stock",
19221
19309
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19222
19310
  "pluginName": "@commercelayer/cli-plugin-triggers",
19223
19311
  "pluginType": "core",
@@ -19228,10 +19316,10 @@
19228
19316
  "lib",
19229
19317
  "commands",
19230
19318
  "stock_line_item",
19231
- "decrement_stock.js"
19319
+ "release_stock.js"
19232
19320
  ]
19233
19321
  },
19234
- "stock_line_item": {
19322
+ "stock_line_item:reserve_stock": {
19235
19323
  "aliases": [],
19236
19324
  "args": {
19237
19325
  "id": {
@@ -19240,7 +19328,7 @@
19240
19328
  "required": true
19241
19329
  }
19242
19330
  },
19243
- "description": "execute an action on a resource of type stock_line_items",
19331
+ "description": "Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
19244
19332
  "flags": {
19245
19333
  "organization": {
19246
19334
  "char": "o",
@@ -19305,7 +19393,7 @@
19305
19393
  },
19306
19394
  "hasDynamicHelp": false,
19307
19395
  "hiddenAliases": [],
19308
- "id": "stock_line_item",
19396
+ "id": "stock_line_item:reserve_stock",
19309
19397
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19310
19398
  "pluginName": "@commercelayer/cli-plugin-triggers",
19311
19399
  "pluginType": "core",
@@ -19316,10 +19404,10 @@
19316
19404
  "lib",
19317
19405
  "commands",
19318
19406
  "stock_line_item",
19319
- "index.js"
19407
+ "reserve_stock.js"
19320
19408
  ]
19321
19409
  },
19322
- "stock_line_item:release_stock": {
19410
+ "stock_reservation": {
19323
19411
  "aliases": [],
19324
19412
  "args": {
19325
19413
  "id": {
@@ -19328,7 +19416,7 @@
19328
19416
  "required": true
19329
19417
  }
19330
19418
  },
19331
- "description": "Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
19419
+ "description": "execute an action on a resource of type stock_reservations",
19332
19420
  "flags": {
19333
19421
  "organization": {
19334
19422
  "char": "o",
@@ -19393,7 +19481,7 @@
19393
19481
  },
19394
19482
  "hasDynamicHelp": false,
19395
19483
  "hiddenAliases": [],
19396
- "id": "stock_line_item:release_stock",
19484
+ "id": "stock_reservation",
19397
19485
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19398
19486
  "pluginName": "@commercelayer/cli-plugin-triggers",
19399
19487
  "pluginType": "core",
@@ -19403,11 +19491,11 @@
19403
19491
  "relativePath": [
19404
19492
  "lib",
19405
19493
  "commands",
19406
- "stock_line_item",
19407
- "release_stock.js"
19494
+ "stock_reservation",
19495
+ "index.js"
19408
19496
  ]
19409
19497
  },
19410
- "stock_line_item:reserve_stock": {
19498
+ "stock_reservation:pending": {
19411
19499
  "aliases": [],
19412
19500
  "args": {
19413
19501
  "id": {
@@ -19416,7 +19504,7 @@
19416
19504
  "required": true
19417
19505
  }
19418
19506
  },
19419
- "description": "Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
19507
+ "description": "Send this attribute if you want to mark this stock reservation as pending.",
19420
19508
  "flags": {
19421
19509
  "organization": {
19422
19510
  "char": "o",
@@ -19481,7 +19569,7 @@
19481
19569
  },
19482
19570
  "hasDynamicHelp": false,
19483
19571
  "hiddenAliases": [],
19484
- "id": "stock_line_item:reserve_stock",
19572
+ "id": "stock_reservation:pending",
19485
19573
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19486
19574
  "pluginName": "@commercelayer/cli-plugin-triggers",
19487
19575
  "pluginType": "core",
@@ -19491,8 +19579,8 @@
19491
19579
  "relativePath": [
19492
19580
  "lib",
19493
19581
  "commands",
19494
- "stock_line_item",
19495
- "reserve_stock.js"
19582
+ "stock_reservation",
19583
+ "pending.js"
19496
19584
  ]
19497
19585
  },
19498
19586
  "stripe_payment": {
@@ -21080,5 +21168,5 @@
21080
21168
  ]
21081
21169
  }
21082
21170
  },
21083
- "version": "4.14.3"
21171
+ "version": "4.15.1"
21084
21172
  }