@commercelayer/cli-plugin-triggers 4.9.1 → 4.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +208 -0
- package/lib/commands/cleanup/index.d.ts +9 -0
- package/lib/commands/cleanup/index.js +40 -0
- package/lib/commands/cleanup/interrupt.d.ts +9 -0
- package/lib/commands/cleanup/interrupt.js +22 -0
- package/lib/commands/export/index.d.ts +9 -0
- package/lib/commands/export/index.js +40 -0
- package/lib/commands/export/interrupt.d.ts +9 -0
- package/lib/commands/export/interrupt.js +22 -0
- package/lib/commands/import/index.d.ts +9 -0
- package/lib/commands/import/index.js +40 -0
- package/lib/commands/import/interrupt.d.ts +9 -0
- package/lib/commands/import/interrupt.js +22 -0
- package/lib/commands/order/fix_payment_source.d.ts +9 -0
- package/lib/commands/order/fix_payment_source.js +22 -0
- package/lib/commands/vertex_account/index.d.ts +9 -0
- package/lib/commands/vertex_account/index.js +40 -0
- package/lib/commands/vertex_account/refresh_token.d.ts +9 -0
- package/lib/commands/vertex_account/refresh_token.js +22 -0
- package/lib/triggers/cleanups.d.ts +3 -0
- package/lib/triggers/cleanups.js +10 -0
- package/lib/triggers/exports.d.ts +3 -0
- package/lib/triggers/exports.js +10 -0
- package/lib/triggers/imports.d.ts +3 -0
- package/lib/triggers/imports.js +10 -0
- package/lib/triggers/orders.d.ts +1 -1
- package/lib/triggers/orders.js +5 -0
- package/lib/triggers/vertex_accounts.d.ts +3 -0
- package/lib/triggers/vertex_accounts.js +10 -0
- package/oclif.manifest.json +798 -6
- package/package.json +9 -8
package/oclif.manifest.json
CHANGED
|
@@ -2132,6 +2132,182 @@
|
|
|
2132
2132
|
"refresh.js"
|
|
2133
2133
|
]
|
|
2134
2134
|
},
|
|
2135
|
+
"cleanup": {
|
|
2136
|
+
"aliases": [],
|
|
2137
|
+
"args": {
|
|
2138
|
+
"id": {
|
|
2139
|
+
"description": "the unique id of the resource",
|
|
2140
|
+
"name": "id",
|
|
2141
|
+
"required": true
|
|
2142
|
+
}
|
|
2143
|
+
},
|
|
2144
|
+
"description": "execute an action on a resource of type cleanups",
|
|
2145
|
+
"flags": {
|
|
2146
|
+
"organization": {
|
|
2147
|
+
"char": "o",
|
|
2148
|
+
"description": "the slug of your organization",
|
|
2149
|
+
"env": "CL_CLI_ORGANIZATION",
|
|
2150
|
+
"hidden": true,
|
|
2151
|
+
"name": "organization",
|
|
2152
|
+
"required": true,
|
|
2153
|
+
"hasDynamicHelp": false,
|
|
2154
|
+
"multiple": false,
|
|
2155
|
+
"type": "option"
|
|
2156
|
+
},
|
|
2157
|
+
"domain": {
|
|
2158
|
+
"char": "d",
|
|
2159
|
+
"dependsOn": [
|
|
2160
|
+
"organization"
|
|
2161
|
+
],
|
|
2162
|
+
"env": "CL_CLI_DOMAIN",
|
|
2163
|
+
"hidden": true,
|
|
2164
|
+
"name": "domain",
|
|
2165
|
+
"required": false,
|
|
2166
|
+
"hasDynamicHelp": false,
|
|
2167
|
+
"multiple": false,
|
|
2168
|
+
"type": "option"
|
|
2169
|
+
},
|
|
2170
|
+
"accessToken": {
|
|
2171
|
+
"env": "CL_CLI_ACCESS_TOKEN",
|
|
2172
|
+
"hidden": true,
|
|
2173
|
+
"name": "accessToken",
|
|
2174
|
+
"required": true,
|
|
2175
|
+
"hasDynamicHelp": false,
|
|
2176
|
+
"multiple": false,
|
|
2177
|
+
"type": "option"
|
|
2178
|
+
},
|
|
2179
|
+
"print": {
|
|
2180
|
+
"char": "p",
|
|
2181
|
+
"description": "print out the modified resource",
|
|
2182
|
+
"name": "print",
|
|
2183
|
+
"allowNo": false,
|
|
2184
|
+
"type": "boolean"
|
|
2185
|
+
},
|
|
2186
|
+
"json": {
|
|
2187
|
+
"char": "j",
|
|
2188
|
+
"dependsOn": [
|
|
2189
|
+
"print"
|
|
2190
|
+
],
|
|
2191
|
+
"description": "print result in JSON format",
|
|
2192
|
+
"name": "json",
|
|
2193
|
+
"allowNo": false,
|
|
2194
|
+
"type": "boolean"
|
|
2195
|
+
},
|
|
2196
|
+
"unformatted": {
|
|
2197
|
+
"char": "u",
|
|
2198
|
+
"dependsOn": [
|
|
2199
|
+
"json"
|
|
2200
|
+
],
|
|
2201
|
+
"description": "print JSON output without indentation",
|
|
2202
|
+
"name": "unformatted",
|
|
2203
|
+
"allowNo": false,
|
|
2204
|
+
"type": "boolean"
|
|
2205
|
+
}
|
|
2206
|
+
},
|
|
2207
|
+
"hasDynamicHelp": false,
|
|
2208
|
+
"hiddenAliases": [],
|
|
2209
|
+
"id": "cleanup",
|
|
2210
|
+
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
2211
|
+
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
2212
|
+
"pluginType": "core",
|
|
2213
|
+
"strict": true,
|
|
2214
|
+
"enableJsonFlag": false,
|
|
2215
|
+
"isESM": false,
|
|
2216
|
+
"relativePath": [
|
|
2217
|
+
"lib",
|
|
2218
|
+
"commands",
|
|
2219
|
+
"cleanup",
|
|
2220
|
+
"index.js"
|
|
2221
|
+
]
|
|
2222
|
+
},
|
|
2223
|
+
"cleanup:interrupt": {
|
|
2224
|
+
"aliases": [],
|
|
2225
|
+
"args": {
|
|
2226
|
+
"id": {
|
|
2227
|
+
"description": "the unique id of the resource",
|
|
2228
|
+
"name": "id",
|
|
2229
|
+
"required": true
|
|
2230
|
+
}
|
|
2231
|
+
},
|
|
2232
|
+
"description": "Send this attribute if you want to mark status as 'interrupted'.",
|
|
2233
|
+
"flags": {
|
|
2234
|
+
"organization": {
|
|
2235
|
+
"char": "o",
|
|
2236
|
+
"description": "the slug of your organization",
|
|
2237
|
+
"env": "CL_CLI_ORGANIZATION",
|
|
2238
|
+
"hidden": true,
|
|
2239
|
+
"name": "organization",
|
|
2240
|
+
"required": true,
|
|
2241
|
+
"hasDynamicHelp": false,
|
|
2242
|
+
"multiple": false,
|
|
2243
|
+
"type": "option"
|
|
2244
|
+
},
|
|
2245
|
+
"domain": {
|
|
2246
|
+
"char": "d",
|
|
2247
|
+
"dependsOn": [
|
|
2248
|
+
"organization"
|
|
2249
|
+
],
|
|
2250
|
+
"env": "CL_CLI_DOMAIN",
|
|
2251
|
+
"hidden": true,
|
|
2252
|
+
"name": "domain",
|
|
2253
|
+
"required": false,
|
|
2254
|
+
"hasDynamicHelp": false,
|
|
2255
|
+
"multiple": false,
|
|
2256
|
+
"type": "option"
|
|
2257
|
+
},
|
|
2258
|
+
"accessToken": {
|
|
2259
|
+
"env": "CL_CLI_ACCESS_TOKEN",
|
|
2260
|
+
"hidden": true,
|
|
2261
|
+
"name": "accessToken",
|
|
2262
|
+
"required": true,
|
|
2263
|
+
"hasDynamicHelp": false,
|
|
2264
|
+
"multiple": false,
|
|
2265
|
+
"type": "option"
|
|
2266
|
+
},
|
|
2267
|
+
"print": {
|
|
2268
|
+
"char": "p",
|
|
2269
|
+
"description": "print out the modified resource",
|
|
2270
|
+
"name": "print",
|
|
2271
|
+
"allowNo": false,
|
|
2272
|
+
"type": "boolean"
|
|
2273
|
+
},
|
|
2274
|
+
"json": {
|
|
2275
|
+
"char": "j",
|
|
2276
|
+
"dependsOn": [
|
|
2277
|
+
"print"
|
|
2278
|
+
],
|
|
2279
|
+
"description": "print result in JSON format",
|
|
2280
|
+
"name": "json",
|
|
2281
|
+
"allowNo": false,
|
|
2282
|
+
"type": "boolean"
|
|
2283
|
+
},
|
|
2284
|
+
"unformatted": {
|
|
2285
|
+
"char": "u",
|
|
2286
|
+
"dependsOn": [
|
|
2287
|
+
"json"
|
|
2288
|
+
],
|
|
2289
|
+
"description": "print JSON output without indentation",
|
|
2290
|
+
"name": "unformatted",
|
|
2291
|
+
"allowNo": false,
|
|
2292
|
+
"type": "boolean"
|
|
2293
|
+
}
|
|
2294
|
+
},
|
|
2295
|
+
"hasDynamicHelp": false,
|
|
2296
|
+
"hiddenAliases": [],
|
|
2297
|
+
"id": "cleanup:interrupt",
|
|
2298
|
+
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
2299
|
+
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
2300
|
+
"pluginType": "core",
|
|
2301
|
+
"strict": true,
|
|
2302
|
+
"enableJsonFlag": false,
|
|
2303
|
+
"isESM": false,
|
|
2304
|
+
"relativePath": [
|
|
2305
|
+
"lib",
|
|
2306
|
+
"commands",
|
|
2307
|
+
"cleanup",
|
|
2308
|
+
"interrupt.js"
|
|
2309
|
+
]
|
|
2310
|
+
},
|
|
2135
2311
|
"customer_password_reset": {
|
|
2136
2312
|
"aliases": [],
|
|
2137
2313
|
"args": {
|
|
@@ -2484,6 +2660,182 @@
|
|
|
2484
2660
|
"trigger.js"
|
|
2485
2661
|
]
|
|
2486
2662
|
},
|
|
2663
|
+
"export": {
|
|
2664
|
+
"aliases": [],
|
|
2665
|
+
"args": {
|
|
2666
|
+
"id": {
|
|
2667
|
+
"description": "the unique id of the resource",
|
|
2668
|
+
"name": "id",
|
|
2669
|
+
"required": true
|
|
2670
|
+
}
|
|
2671
|
+
},
|
|
2672
|
+
"description": "execute an action on a resource of type exports",
|
|
2673
|
+
"flags": {
|
|
2674
|
+
"organization": {
|
|
2675
|
+
"char": "o",
|
|
2676
|
+
"description": "the slug of your organization",
|
|
2677
|
+
"env": "CL_CLI_ORGANIZATION",
|
|
2678
|
+
"hidden": true,
|
|
2679
|
+
"name": "organization",
|
|
2680
|
+
"required": true,
|
|
2681
|
+
"hasDynamicHelp": false,
|
|
2682
|
+
"multiple": false,
|
|
2683
|
+
"type": "option"
|
|
2684
|
+
},
|
|
2685
|
+
"domain": {
|
|
2686
|
+
"char": "d",
|
|
2687
|
+
"dependsOn": [
|
|
2688
|
+
"organization"
|
|
2689
|
+
],
|
|
2690
|
+
"env": "CL_CLI_DOMAIN",
|
|
2691
|
+
"hidden": true,
|
|
2692
|
+
"name": "domain",
|
|
2693
|
+
"required": false,
|
|
2694
|
+
"hasDynamicHelp": false,
|
|
2695
|
+
"multiple": false,
|
|
2696
|
+
"type": "option"
|
|
2697
|
+
},
|
|
2698
|
+
"accessToken": {
|
|
2699
|
+
"env": "CL_CLI_ACCESS_TOKEN",
|
|
2700
|
+
"hidden": true,
|
|
2701
|
+
"name": "accessToken",
|
|
2702
|
+
"required": true,
|
|
2703
|
+
"hasDynamicHelp": false,
|
|
2704
|
+
"multiple": false,
|
|
2705
|
+
"type": "option"
|
|
2706
|
+
},
|
|
2707
|
+
"print": {
|
|
2708
|
+
"char": "p",
|
|
2709
|
+
"description": "print out the modified resource",
|
|
2710
|
+
"name": "print",
|
|
2711
|
+
"allowNo": false,
|
|
2712
|
+
"type": "boolean"
|
|
2713
|
+
},
|
|
2714
|
+
"json": {
|
|
2715
|
+
"char": "j",
|
|
2716
|
+
"dependsOn": [
|
|
2717
|
+
"print"
|
|
2718
|
+
],
|
|
2719
|
+
"description": "print result in JSON format",
|
|
2720
|
+
"name": "json",
|
|
2721
|
+
"allowNo": false,
|
|
2722
|
+
"type": "boolean"
|
|
2723
|
+
},
|
|
2724
|
+
"unformatted": {
|
|
2725
|
+
"char": "u",
|
|
2726
|
+
"dependsOn": [
|
|
2727
|
+
"json"
|
|
2728
|
+
],
|
|
2729
|
+
"description": "print JSON output without indentation",
|
|
2730
|
+
"name": "unformatted",
|
|
2731
|
+
"allowNo": false,
|
|
2732
|
+
"type": "boolean"
|
|
2733
|
+
}
|
|
2734
|
+
},
|
|
2735
|
+
"hasDynamicHelp": false,
|
|
2736
|
+
"hiddenAliases": [],
|
|
2737
|
+
"id": "export",
|
|
2738
|
+
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
2739
|
+
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
2740
|
+
"pluginType": "core",
|
|
2741
|
+
"strict": true,
|
|
2742
|
+
"enableJsonFlag": false,
|
|
2743
|
+
"isESM": false,
|
|
2744
|
+
"relativePath": [
|
|
2745
|
+
"lib",
|
|
2746
|
+
"commands",
|
|
2747
|
+
"export",
|
|
2748
|
+
"index.js"
|
|
2749
|
+
]
|
|
2750
|
+
},
|
|
2751
|
+
"export:interrupt": {
|
|
2752
|
+
"aliases": [],
|
|
2753
|
+
"args": {
|
|
2754
|
+
"id": {
|
|
2755
|
+
"description": "the unique id of the resource",
|
|
2756
|
+
"name": "id",
|
|
2757
|
+
"required": true
|
|
2758
|
+
}
|
|
2759
|
+
},
|
|
2760
|
+
"description": "Send this attribute if you want to mark status as 'interrupted'.",
|
|
2761
|
+
"flags": {
|
|
2762
|
+
"organization": {
|
|
2763
|
+
"char": "o",
|
|
2764
|
+
"description": "the slug of your organization",
|
|
2765
|
+
"env": "CL_CLI_ORGANIZATION",
|
|
2766
|
+
"hidden": true,
|
|
2767
|
+
"name": "organization",
|
|
2768
|
+
"required": true,
|
|
2769
|
+
"hasDynamicHelp": false,
|
|
2770
|
+
"multiple": false,
|
|
2771
|
+
"type": "option"
|
|
2772
|
+
},
|
|
2773
|
+
"domain": {
|
|
2774
|
+
"char": "d",
|
|
2775
|
+
"dependsOn": [
|
|
2776
|
+
"organization"
|
|
2777
|
+
],
|
|
2778
|
+
"env": "CL_CLI_DOMAIN",
|
|
2779
|
+
"hidden": true,
|
|
2780
|
+
"name": "domain",
|
|
2781
|
+
"required": false,
|
|
2782
|
+
"hasDynamicHelp": false,
|
|
2783
|
+
"multiple": false,
|
|
2784
|
+
"type": "option"
|
|
2785
|
+
},
|
|
2786
|
+
"accessToken": {
|
|
2787
|
+
"env": "CL_CLI_ACCESS_TOKEN",
|
|
2788
|
+
"hidden": true,
|
|
2789
|
+
"name": "accessToken",
|
|
2790
|
+
"required": true,
|
|
2791
|
+
"hasDynamicHelp": false,
|
|
2792
|
+
"multiple": false,
|
|
2793
|
+
"type": "option"
|
|
2794
|
+
},
|
|
2795
|
+
"print": {
|
|
2796
|
+
"char": "p",
|
|
2797
|
+
"description": "print out the modified resource",
|
|
2798
|
+
"name": "print",
|
|
2799
|
+
"allowNo": false,
|
|
2800
|
+
"type": "boolean"
|
|
2801
|
+
},
|
|
2802
|
+
"json": {
|
|
2803
|
+
"char": "j",
|
|
2804
|
+
"dependsOn": [
|
|
2805
|
+
"print"
|
|
2806
|
+
],
|
|
2807
|
+
"description": "print result in JSON format",
|
|
2808
|
+
"name": "json",
|
|
2809
|
+
"allowNo": false,
|
|
2810
|
+
"type": "boolean"
|
|
2811
|
+
},
|
|
2812
|
+
"unformatted": {
|
|
2813
|
+
"char": "u",
|
|
2814
|
+
"dependsOn": [
|
|
2815
|
+
"json"
|
|
2816
|
+
],
|
|
2817
|
+
"description": "print JSON output without indentation",
|
|
2818
|
+
"name": "unformatted",
|
|
2819
|
+
"allowNo": false,
|
|
2820
|
+
"type": "boolean"
|
|
2821
|
+
}
|
|
2822
|
+
},
|
|
2823
|
+
"hasDynamicHelp": false,
|
|
2824
|
+
"hiddenAliases": [],
|
|
2825
|
+
"id": "export:interrupt",
|
|
2826
|
+
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
2827
|
+
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
2828
|
+
"pluginType": "core",
|
|
2829
|
+
"strict": true,
|
|
2830
|
+
"enableJsonFlag": false,
|
|
2831
|
+
"isESM": false,
|
|
2832
|
+
"relativePath": [
|
|
2833
|
+
"lib",
|
|
2834
|
+
"commands",
|
|
2835
|
+
"export",
|
|
2836
|
+
"interrupt.js"
|
|
2837
|
+
]
|
|
2838
|
+
},
|
|
2487
2839
|
"external_gateway": {
|
|
2488
2840
|
"aliases": [],
|
|
2489
2841
|
"args": {
|
|
@@ -4860,7 +5212,183 @@
|
|
|
4860
5212
|
"index.js"
|
|
4861
5213
|
]
|
|
4862
5214
|
},
|
|
4863
|
-
"gift_card:purchase": {
|
|
5215
|
+
"gift_card:purchase": {
|
|
5216
|
+
"aliases": [],
|
|
5217
|
+
"args": {
|
|
5218
|
+
"id": {
|
|
5219
|
+
"description": "the unique id of the resource",
|
|
5220
|
+
"name": "id",
|
|
5221
|
+
"required": true
|
|
5222
|
+
}
|
|
5223
|
+
},
|
|
5224
|
+
"description": "Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.",
|
|
5225
|
+
"flags": {
|
|
5226
|
+
"organization": {
|
|
5227
|
+
"char": "o",
|
|
5228
|
+
"description": "the slug of your organization",
|
|
5229
|
+
"env": "CL_CLI_ORGANIZATION",
|
|
5230
|
+
"hidden": true,
|
|
5231
|
+
"name": "organization",
|
|
5232
|
+
"required": true,
|
|
5233
|
+
"hasDynamicHelp": false,
|
|
5234
|
+
"multiple": false,
|
|
5235
|
+
"type": "option"
|
|
5236
|
+
},
|
|
5237
|
+
"domain": {
|
|
5238
|
+
"char": "d",
|
|
5239
|
+
"dependsOn": [
|
|
5240
|
+
"organization"
|
|
5241
|
+
],
|
|
5242
|
+
"env": "CL_CLI_DOMAIN",
|
|
5243
|
+
"hidden": true,
|
|
5244
|
+
"name": "domain",
|
|
5245
|
+
"required": false,
|
|
5246
|
+
"hasDynamicHelp": false,
|
|
5247
|
+
"multiple": false,
|
|
5248
|
+
"type": "option"
|
|
5249
|
+
},
|
|
5250
|
+
"accessToken": {
|
|
5251
|
+
"env": "CL_CLI_ACCESS_TOKEN",
|
|
5252
|
+
"hidden": true,
|
|
5253
|
+
"name": "accessToken",
|
|
5254
|
+
"required": true,
|
|
5255
|
+
"hasDynamicHelp": false,
|
|
5256
|
+
"multiple": false,
|
|
5257
|
+
"type": "option"
|
|
5258
|
+
},
|
|
5259
|
+
"print": {
|
|
5260
|
+
"char": "p",
|
|
5261
|
+
"description": "print out the modified resource",
|
|
5262
|
+
"name": "print",
|
|
5263
|
+
"allowNo": false,
|
|
5264
|
+
"type": "boolean"
|
|
5265
|
+
},
|
|
5266
|
+
"json": {
|
|
5267
|
+
"char": "j",
|
|
5268
|
+
"dependsOn": [
|
|
5269
|
+
"print"
|
|
5270
|
+
],
|
|
5271
|
+
"description": "print result in JSON format",
|
|
5272
|
+
"name": "json",
|
|
5273
|
+
"allowNo": false,
|
|
5274
|
+
"type": "boolean"
|
|
5275
|
+
},
|
|
5276
|
+
"unformatted": {
|
|
5277
|
+
"char": "u",
|
|
5278
|
+
"dependsOn": [
|
|
5279
|
+
"json"
|
|
5280
|
+
],
|
|
5281
|
+
"description": "print JSON output without indentation",
|
|
5282
|
+
"name": "unformatted",
|
|
5283
|
+
"allowNo": false,
|
|
5284
|
+
"type": "boolean"
|
|
5285
|
+
}
|
|
5286
|
+
},
|
|
5287
|
+
"hasDynamicHelp": false,
|
|
5288
|
+
"hiddenAliases": [],
|
|
5289
|
+
"id": "gift_card:purchase",
|
|
5290
|
+
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5291
|
+
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5292
|
+
"pluginType": "core",
|
|
5293
|
+
"strict": true,
|
|
5294
|
+
"enableJsonFlag": false,
|
|
5295
|
+
"isESM": false,
|
|
5296
|
+
"relativePath": [
|
|
5297
|
+
"lib",
|
|
5298
|
+
"commands",
|
|
5299
|
+
"gift_card",
|
|
5300
|
+
"purchase.js"
|
|
5301
|
+
]
|
|
5302
|
+
},
|
|
5303
|
+
"import": {
|
|
5304
|
+
"aliases": [],
|
|
5305
|
+
"args": {
|
|
5306
|
+
"id": {
|
|
5307
|
+
"description": "the unique id of the resource",
|
|
5308
|
+
"name": "id",
|
|
5309
|
+
"required": true
|
|
5310
|
+
}
|
|
5311
|
+
},
|
|
5312
|
+
"description": "execute an action on a resource of type imports",
|
|
5313
|
+
"flags": {
|
|
5314
|
+
"organization": {
|
|
5315
|
+
"char": "o",
|
|
5316
|
+
"description": "the slug of your organization",
|
|
5317
|
+
"env": "CL_CLI_ORGANIZATION",
|
|
5318
|
+
"hidden": true,
|
|
5319
|
+
"name": "organization",
|
|
5320
|
+
"required": true,
|
|
5321
|
+
"hasDynamicHelp": false,
|
|
5322
|
+
"multiple": false,
|
|
5323
|
+
"type": "option"
|
|
5324
|
+
},
|
|
5325
|
+
"domain": {
|
|
5326
|
+
"char": "d",
|
|
5327
|
+
"dependsOn": [
|
|
5328
|
+
"organization"
|
|
5329
|
+
],
|
|
5330
|
+
"env": "CL_CLI_DOMAIN",
|
|
5331
|
+
"hidden": true,
|
|
5332
|
+
"name": "domain",
|
|
5333
|
+
"required": false,
|
|
5334
|
+
"hasDynamicHelp": false,
|
|
5335
|
+
"multiple": false,
|
|
5336
|
+
"type": "option"
|
|
5337
|
+
},
|
|
5338
|
+
"accessToken": {
|
|
5339
|
+
"env": "CL_CLI_ACCESS_TOKEN",
|
|
5340
|
+
"hidden": true,
|
|
5341
|
+
"name": "accessToken",
|
|
5342
|
+
"required": true,
|
|
5343
|
+
"hasDynamicHelp": false,
|
|
5344
|
+
"multiple": false,
|
|
5345
|
+
"type": "option"
|
|
5346
|
+
},
|
|
5347
|
+
"print": {
|
|
5348
|
+
"char": "p",
|
|
5349
|
+
"description": "print out the modified resource",
|
|
5350
|
+
"name": "print",
|
|
5351
|
+
"allowNo": false,
|
|
5352
|
+
"type": "boolean"
|
|
5353
|
+
},
|
|
5354
|
+
"json": {
|
|
5355
|
+
"char": "j",
|
|
5356
|
+
"dependsOn": [
|
|
5357
|
+
"print"
|
|
5358
|
+
],
|
|
5359
|
+
"description": "print result in JSON format",
|
|
5360
|
+
"name": "json",
|
|
5361
|
+
"allowNo": false,
|
|
5362
|
+
"type": "boolean"
|
|
5363
|
+
},
|
|
5364
|
+
"unformatted": {
|
|
5365
|
+
"char": "u",
|
|
5366
|
+
"dependsOn": [
|
|
5367
|
+
"json"
|
|
5368
|
+
],
|
|
5369
|
+
"description": "print JSON output without indentation",
|
|
5370
|
+
"name": "unformatted",
|
|
5371
|
+
"allowNo": false,
|
|
5372
|
+
"type": "boolean"
|
|
5373
|
+
}
|
|
5374
|
+
},
|
|
5375
|
+
"hasDynamicHelp": false,
|
|
5376
|
+
"hiddenAliases": [],
|
|
5377
|
+
"id": "import",
|
|
5378
|
+
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
5379
|
+
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
5380
|
+
"pluginType": "core",
|
|
5381
|
+
"strict": true,
|
|
5382
|
+
"enableJsonFlag": false,
|
|
5383
|
+
"isESM": false,
|
|
5384
|
+
"relativePath": [
|
|
5385
|
+
"lib",
|
|
5386
|
+
"commands",
|
|
5387
|
+
"import",
|
|
5388
|
+
"index.js"
|
|
5389
|
+
]
|
|
5390
|
+
},
|
|
5391
|
+
"import:interrupt": {
|
|
4864
5392
|
"aliases": [],
|
|
4865
5393
|
"args": {
|
|
4866
5394
|
"id": {
|
|
@@ -4869,7 +5397,7 @@
|
|
|
4869
5397
|
"required": true
|
|
4870
5398
|
}
|
|
4871
5399
|
},
|
|
4872
|
-
"description": "Send this attribute if you want to
|
|
5400
|
+
"description": "Send this attribute if you want to mark status as 'interrupted'.",
|
|
4873
5401
|
"flags": {
|
|
4874
5402
|
"organization": {
|
|
4875
5403
|
"char": "o",
|
|
@@ -4934,7 +5462,7 @@
|
|
|
4934
5462
|
},
|
|
4935
5463
|
"hasDynamicHelp": false,
|
|
4936
5464
|
"hiddenAliases": [],
|
|
4937
|
-
"id": "
|
|
5465
|
+
"id": "import:interrupt",
|
|
4938
5466
|
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
4939
5467
|
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
4940
5468
|
"pluginType": "core",
|
|
@@ -4944,8 +5472,8 @@
|
|
|
4944
5472
|
"relativePath": [
|
|
4945
5473
|
"lib",
|
|
4946
5474
|
"commands",
|
|
4947
|
-
"
|
|
4948
|
-
"
|
|
5475
|
+
"import",
|
|
5476
|
+
"interrupt.js"
|
|
4949
5477
|
]
|
|
4950
5478
|
},
|
|
4951
5479
|
"in_stock_subscription:activate": {
|
|
@@ -7342,6 +7870,94 @@
|
|
|
7342
7870
|
"customer_payment_source_id.js"
|
|
7343
7871
|
]
|
|
7344
7872
|
},
|
|
7873
|
+
"order:fix_payment_source": {
|
|
7874
|
+
"aliases": [],
|
|
7875
|
+
"args": {
|
|
7876
|
+
"id": {
|
|
7877
|
+
"description": "the unique id of the resource",
|
|
7878
|
+
"name": "id",
|
|
7879
|
+
"required": true
|
|
7880
|
+
}
|
|
7881
|
+
},
|
|
7882
|
+
"description": "Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready for approval. Cannot be passed by sales channels.",
|
|
7883
|
+
"flags": {
|
|
7884
|
+
"organization": {
|
|
7885
|
+
"char": "o",
|
|
7886
|
+
"description": "the slug of your organization",
|
|
7887
|
+
"env": "CL_CLI_ORGANIZATION",
|
|
7888
|
+
"hidden": true,
|
|
7889
|
+
"name": "organization",
|
|
7890
|
+
"required": true,
|
|
7891
|
+
"hasDynamicHelp": false,
|
|
7892
|
+
"multiple": false,
|
|
7893
|
+
"type": "option"
|
|
7894
|
+
},
|
|
7895
|
+
"domain": {
|
|
7896
|
+
"char": "d",
|
|
7897
|
+
"dependsOn": [
|
|
7898
|
+
"organization"
|
|
7899
|
+
],
|
|
7900
|
+
"env": "CL_CLI_DOMAIN",
|
|
7901
|
+
"hidden": true,
|
|
7902
|
+
"name": "domain",
|
|
7903
|
+
"required": false,
|
|
7904
|
+
"hasDynamicHelp": false,
|
|
7905
|
+
"multiple": false,
|
|
7906
|
+
"type": "option"
|
|
7907
|
+
},
|
|
7908
|
+
"accessToken": {
|
|
7909
|
+
"env": "CL_CLI_ACCESS_TOKEN",
|
|
7910
|
+
"hidden": true,
|
|
7911
|
+
"name": "accessToken",
|
|
7912
|
+
"required": true,
|
|
7913
|
+
"hasDynamicHelp": false,
|
|
7914
|
+
"multiple": false,
|
|
7915
|
+
"type": "option"
|
|
7916
|
+
},
|
|
7917
|
+
"print": {
|
|
7918
|
+
"char": "p",
|
|
7919
|
+
"description": "print out the modified resource",
|
|
7920
|
+
"name": "print",
|
|
7921
|
+
"allowNo": false,
|
|
7922
|
+
"type": "boolean"
|
|
7923
|
+
},
|
|
7924
|
+
"json": {
|
|
7925
|
+
"char": "j",
|
|
7926
|
+
"dependsOn": [
|
|
7927
|
+
"print"
|
|
7928
|
+
],
|
|
7929
|
+
"description": "print result in JSON format",
|
|
7930
|
+
"name": "json",
|
|
7931
|
+
"allowNo": false,
|
|
7932
|
+
"type": "boolean"
|
|
7933
|
+
},
|
|
7934
|
+
"unformatted": {
|
|
7935
|
+
"char": "u",
|
|
7936
|
+
"dependsOn": [
|
|
7937
|
+
"json"
|
|
7938
|
+
],
|
|
7939
|
+
"description": "print JSON output without indentation",
|
|
7940
|
+
"name": "unformatted",
|
|
7941
|
+
"allowNo": false,
|
|
7942
|
+
"type": "boolean"
|
|
7943
|
+
}
|
|
7944
|
+
},
|
|
7945
|
+
"hasDynamicHelp": false,
|
|
7946
|
+
"hiddenAliases": [],
|
|
7947
|
+
"id": "order:fix_payment_source",
|
|
7948
|
+
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
7949
|
+
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
7950
|
+
"pluginType": "core",
|
|
7951
|
+
"strict": true,
|
|
7952
|
+
"enableJsonFlag": false,
|
|
7953
|
+
"isESM": false,
|
|
7954
|
+
"relativePath": [
|
|
7955
|
+
"lib",
|
|
7956
|
+
"commands",
|
|
7957
|
+
"order",
|
|
7958
|
+
"fix_payment_source.js"
|
|
7959
|
+
]
|
|
7960
|
+
},
|
|
7345
7961
|
"order:fulfill": {
|
|
7346
7962
|
"aliases": [],
|
|
7347
7963
|
"args": {
|
|
@@ -15007,6 +15623,182 @@
|
|
|
15007
15623
|
"update.js"
|
|
15008
15624
|
]
|
|
15009
15625
|
},
|
|
15626
|
+
"vertex_account": {
|
|
15627
|
+
"aliases": [],
|
|
15628
|
+
"args": {
|
|
15629
|
+
"id": {
|
|
15630
|
+
"description": "the unique id of the resource",
|
|
15631
|
+
"name": "id",
|
|
15632
|
+
"required": true
|
|
15633
|
+
}
|
|
15634
|
+
},
|
|
15635
|
+
"description": "execute an action on a resource of type vertex_accounts",
|
|
15636
|
+
"flags": {
|
|
15637
|
+
"organization": {
|
|
15638
|
+
"char": "o",
|
|
15639
|
+
"description": "the slug of your organization",
|
|
15640
|
+
"env": "CL_CLI_ORGANIZATION",
|
|
15641
|
+
"hidden": true,
|
|
15642
|
+
"name": "organization",
|
|
15643
|
+
"required": true,
|
|
15644
|
+
"hasDynamicHelp": false,
|
|
15645
|
+
"multiple": false,
|
|
15646
|
+
"type": "option"
|
|
15647
|
+
},
|
|
15648
|
+
"domain": {
|
|
15649
|
+
"char": "d",
|
|
15650
|
+
"dependsOn": [
|
|
15651
|
+
"organization"
|
|
15652
|
+
],
|
|
15653
|
+
"env": "CL_CLI_DOMAIN",
|
|
15654
|
+
"hidden": true,
|
|
15655
|
+
"name": "domain",
|
|
15656
|
+
"required": false,
|
|
15657
|
+
"hasDynamicHelp": false,
|
|
15658
|
+
"multiple": false,
|
|
15659
|
+
"type": "option"
|
|
15660
|
+
},
|
|
15661
|
+
"accessToken": {
|
|
15662
|
+
"env": "CL_CLI_ACCESS_TOKEN",
|
|
15663
|
+
"hidden": true,
|
|
15664
|
+
"name": "accessToken",
|
|
15665
|
+
"required": true,
|
|
15666
|
+
"hasDynamicHelp": false,
|
|
15667
|
+
"multiple": false,
|
|
15668
|
+
"type": "option"
|
|
15669
|
+
},
|
|
15670
|
+
"print": {
|
|
15671
|
+
"char": "p",
|
|
15672
|
+
"description": "print out the modified resource",
|
|
15673
|
+
"name": "print",
|
|
15674
|
+
"allowNo": false,
|
|
15675
|
+
"type": "boolean"
|
|
15676
|
+
},
|
|
15677
|
+
"json": {
|
|
15678
|
+
"char": "j",
|
|
15679
|
+
"dependsOn": [
|
|
15680
|
+
"print"
|
|
15681
|
+
],
|
|
15682
|
+
"description": "print result in JSON format",
|
|
15683
|
+
"name": "json",
|
|
15684
|
+
"allowNo": false,
|
|
15685
|
+
"type": "boolean"
|
|
15686
|
+
},
|
|
15687
|
+
"unformatted": {
|
|
15688
|
+
"char": "u",
|
|
15689
|
+
"dependsOn": [
|
|
15690
|
+
"json"
|
|
15691
|
+
],
|
|
15692
|
+
"description": "print JSON output without indentation",
|
|
15693
|
+
"name": "unformatted",
|
|
15694
|
+
"allowNo": false,
|
|
15695
|
+
"type": "boolean"
|
|
15696
|
+
}
|
|
15697
|
+
},
|
|
15698
|
+
"hasDynamicHelp": false,
|
|
15699
|
+
"hiddenAliases": [],
|
|
15700
|
+
"id": "vertex_account",
|
|
15701
|
+
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
15702
|
+
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
15703
|
+
"pluginType": "core",
|
|
15704
|
+
"strict": true,
|
|
15705
|
+
"enableJsonFlag": false,
|
|
15706
|
+
"isESM": false,
|
|
15707
|
+
"relativePath": [
|
|
15708
|
+
"lib",
|
|
15709
|
+
"commands",
|
|
15710
|
+
"vertex_account",
|
|
15711
|
+
"index.js"
|
|
15712
|
+
]
|
|
15713
|
+
},
|
|
15714
|
+
"vertex_account:refresh_token": {
|
|
15715
|
+
"aliases": [],
|
|
15716
|
+
"args": {
|
|
15717
|
+
"id": {
|
|
15718
|
+
"description": "the unique id of the resource",
|
|
15719
|
+
"name": "id",
|
|
15720
|
+
"required": true
|
|
15721
|
+
}
|
|
15722
|
+
},
|
|
15723
|
+
"description": "Send this attribute if you want to manually refresh the access token.",
|
|
15724
|
+
"flags": {
|
|
15725
|
+
"organization": {
|
|
15726
|
+
"char": "o",
|
|
15727
|
+
"description": "the slug of your organization",
|
|
15728
|
+
"env": "CL_CLI_ORGANIZATION",
|
|
15729
|
+
"hidden": true,
|
|
15730
|
+
"name": "organization",
|
|
15731
|
+
"required": true,
|
|
15732
|
+
"hasDynamicHelp": false,
|
|
15733
|
+
"multiple": false,
|
|
15734
|
+
"type": "option"
|
|
15735
|
+
},
|
|
15736
|
+
"domain": {
|
|
15737
|
+
"char": "d",
|
|
15738
|
+
"dependsOn": [
|
|
15739
|
+
"organization"
|
|
15740
|
+
],
|
|
15741
|
+
"env": "CL_CLI_DOMAIN",
|
|
15742
|
+
"hidden": true,
|
|
15743
|
+
"name": "domain",
|
|
15744
|
+
"required": false,
|
|
15745
|
+
"hasDynamicHelp": false,
|
|
15746
|
+
"multiple": false,
|
|
15747
|
+
"type": "option"
|
|
15748
|
+
},
|
|
15749
|
+
"accessToken": {
|
|
15750
|
+
"env": "CL_CLI_ACCESS_TOKEN",
|
|
15751
|
+
"hidden": true,
|
|
15752
|
+
"name": "accessToken",
|
|
15753
|
+
"required": true,
|
|
15754
|
+
"hasDynamicHelp": false,
|
|
15755
|
+
"multiple": false,
|
|
15756
|
+
"type": "option"
|
|
15757
|
+
},
|
|
15758
|
+
"print": {
|
|
15759
|
+
"char": "p",
|
|
15760
|
+
"description": "print out the modified resource",
|
|
15761
|
+
"name": "print",
|
|
15762
|
+
"allowNo": false,
|
|
15763
|
+
"type": "boolean"
|
|
15764
|
+
},
|
|
15765
|
+
"json": {
|
|
15766
|
+
"char": "j",
|
|
15767
|
+
"dependsOn": [
|
|
15768
|
+
"print"
|
|
15769
|
+
],
|
|
15770
|
+
"description": "print result in JSON format",
|
|
15771
|
+
"name": "json",
|
|
15772
|
+
"allowNo": false,
|
|
15773
|
+
"type": "boolean"
|
|
15774
|
+
},
|
|
15775
|
+
"unformatted": {
|
|
15776
|
+
"char": "u",
|
|
15777
|
+
"dependsOn": [
|
|
15778
|
+
"json"
|
|
15779
|
+
],
|
|
15780
|
+
"description": "print JSON output without indentation",
|
|
15781
|
+
"name": "unformatted",
|
|
15782
|
+
"allowNo": false,
|
|
15783
|
+
"type": "boolean"
|
|
15784
|
+
}
|
|
15785
|
+
},
|
|
15786
|
+
"hasDynamicHelp": false,
|
|
15787
|
+
"hiddenAliases": [],
|
|
15788
|
+
"id": "vertex_account:refresh_token",
|
|
15789
|
+
"pluginAlias": "@commercelayer/cli-plugin-triggers",
|
|
15790
|
+
"pluginName": "@commercelayer/cli-plugin-triggers",
|
|
15791
|
+
"pluginType": "core",
|
|
15792
|
+
"strict": true,
|
|
15793
|
+
"enableJsonFlag": false,
|
|
15794
|
+
"isESM": false,
|
|
15795
|
+
"relativePath": [
|
|
15796
|
+
"lib",
|
|
15797
|
+
"commands",
|
|
15798
|
+
"vertex_account",
|
|
15799
|
+
"refresh_token.js"
|
|
15800
|
+
]
|
|
15801
|
+
},
|
|
15010
15802
|
"void:forward": {
|
|
15011
15803
|
"aliases": [],
|
|
15012
15804
|
"args": {
|
|
@@ -15536,5 +16328,5 @@
|
|
|
15536
16328
|
]
|
|
15537
16329
|
}
|
|
15538
16330
|
},
|
|
15539
|
-
"version": "4.9.
|
|
16331
|
+
"version": "4.9.2"
|
|
15540
16332
|
}
|