@commercelayer/cli-plugin-triggers 3.15.0 → 4.0.0-oclif3.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.
Files changed (293) hide show
  1. package/README.md +141 -0
  2. package/bin/dev +0 -0
  3. package/bin/run +0 -0
  4. package/lib/base.d.ts +4 -4
  5. package/lib/base.js +41 -41
  6. package/lib/commands/adyen_payment/details.d.ts +1 -1
  7. package/lib/commands/adyen_payment/details.js +5 -3
  8. package/lib/commands/adyen_payment/index.d.ts +1 -1
  9. package/lib/commands/adyen_payment/index.js +5 -3
  10. package/lib/commands/authorization/capture.d.ts +1 -1
  11. package/lib/commands/authorization/capture.js +5 -3
  12. package/lib/commands/authorization/capture_amount_cents.d.ts +1 -1
  13. package/lib/commands/authorization/capture_amount_cents.js +5 -3
  14. package/lib/commands/authorization/index.d.ts +1 -1
  15. package/lib/commands/authorization/index.js +5 -3
  16. package/lib/commands/authorization/void.d.ts +1 -1
  17. package/lib/commands/authorization/void.js +5 -3
  18. package/lib/commands/axerve_payment/index.d.ts +1 -1
  19. package/lib/commands/axerve_payment/index.js +5 -3
  20. package/lib/commands/axerve_payment/update.d.ts +1 -1
  21. package/lib/commands/axerve_payment/update.js +5 -3
  22. package/lib/commands/bundle/compute_compare_at_amount.d.ts +1 -1
  23. package/lib/commands/bundle/compute_compare_at_amount.js +5 -3
  24. package/lib/commands/bundle/compute_price_amount.d.ts +1 -1
  25. package/lib/commands/bundle/compute_price_amount.js +5 -3
  26. package/lib/commands/bundle/index.d.ts +1 -1
  27. package/lib/commands/bundle/index.js +5 -3
  28. package/lib/commands/buy_x_pay_y_promotion/disable.d.ts +1 -1
  29. package/lib/commands/buy_x_pay_y_promotion/disable.js +5 -3
  30. package/lib/commands/buy_x_pay_y_promotion/enable.d.ts +1 -1
  31. package/lib/commands/buy_x_pay_y_promotion/enable.js +5 -3
  32. package/lib/commands/buy_x_pay_y_promotion/index.d.ts +1 -1
  33. package/lib/commands/buy_x_pay_y_promotion/index.js +5 -3
  34. package/lib/commands/capture/index.d.ts +1 -1
  35. package/lib/commands/capture/index.js +5 -3
  36. package/lib/commands/capture/refund.d.ts +1 -1
  37. package/lib/commands/capture/refund.js +5 -3
  38. package/lib/commands/capture/refund_amount_cents.d.ts +1 -1
  39. package/lib/commands/capture/refund_amount_cents.js +5 -3
  40. package/lib/commands/checkout_com_payment/details.d.ts +1 -1
  41. package/lib/commands/checkout_com_payment/details.js +5 -3
  42. package/lib/commands/checkout_com_payment/index.d.ts +1 -1
  43. package/lib/commands/checkout_com_payment/index.js +5 -3
  44. package/lib/commands/checkout_com_payment/refresh.d.ts +1 -1
  45. package/lib/commands/checkout_com_payment/refresh.js +5 -3
  46. package/lib/commands/customer_password_reset/index.d.ts +1 -1
  47. package/lib/commands/customer_password_reset/index.js +5 -3
  48. package/lib/commands/customer_password_reset/reset_password_token.d.ts +1 -1
  49. package/lib/commands/customer_password_reset/reset_password_token.js +5 -3
  50. package/lib/commands/external_promotion/disable.d.ts +1 -1
  51. package/lib/commands/external_promotion/disable.js +5 -3
  52. package/lib/commands/external_promotion/enable.d.ts +1 -1
  53. package/lib/commands/external_promotion/enable.js +5 -3
  54. package/lib/commands/external_promotion/index.d.ts +1 -1
  55. package/lib/commands/external_promotion/index.js +5 -3
  56. package/lib/commands/fixed_amount_promotion/disable.d.ts +1 -1
  57. package/lib/commands/fixed_amount_promotion/disable.js +5 -3
  58. package/lib/commands/fixed_amount_promotion/enable.d.ts +1 -1
  59. package/lib/commands/fixed_amount_promotion/enable.js +5 -3
  60. package/lib/commands/fixed_amount_promotion/index.d.ts +1 -1
  61. package/lib/commands/fixed_amount_promotion/index.js +5 -3
  62. package/lib/commands/fixed_price_promotion/disable.d.ts +1 -1
  63. package/lib/commands/fixed_price_promotion/disable.js +5 -3
  64. package/lib/commands/fixed_price_promotion/enable.d.ts +1 -1
  65. package/lib/commands/fixed_price_promotion/enable.js +5 -3
  66. package/lib/commands/fixed_price_promotion/index.d.ts +1 -1
  67. package/lib/commands/fixed_price_promotion/index.js +5 -3
  68. package/lib/commands/free_gift_promotion/disable.d.ts +1 -1
  69. package/lib/commands/free_gift_promotion/disable.js +5 -3
  70. package/lib/commands/free_gift_promotion/enable.d.ts +1 -1
  71. package/lib/commands/free_gift_promotion/enable.js +5 -3
  72. package/lib/commands/free_gift_promotion/index.d.ts +1 -1
  73. package/lib/commands/free_gift_promotion/index.js +5 -3
  74. package/lib/commands/free_shipping_promotion/disable.d.ts +1 -1
  75. package/lib/commands/free_shipping_promotion/disable.js +5 -3
  76. package/lib/commands/free_shipping_promotion/enable.d.ts +1 -1
  77. package/lib/commands/free_shipping_promotion/enable.js +5 -3
  78. package/lib/commands/free_shipping_promotion/index.d.ts +1 -1
  79. package/lib/commands/free_shipping_promotion/index.js +5 -3
  80. package/lib/commands/gift_card/activate.d.ts +1 -1
  81. package/lib/commands/gift_card/activate.js +5 -3
  82. package/lib/commands/gift_card/balance_change_cents.d.ts +1 -1
  83. package/lib/commands/gift_card/balance_change_cents.js +5 -3
  84. package/lib/commands/gift_card/deactivate.d.ts +1 -1
  85. package/lib/commands/gift_card/deactivate.js +5 -3
  86. package/lib/commands/gift_card/index.d.ts +1 -1
  87. package/lib/commands/gift_card/index.js +5 -3
  88. package/lib/commands/gift_card/purchase.d.ts +1 -1
  89. package/lib/commands/gift_card/purchase.js +5 -3
  90. package/lib/commands/in_stock_subscription/activate.d.ts +1 -1
  91. package/lib/commands/in_stock_subscription/activate.js +5 -3
  92. package/lib/commands/in_stock_subscription/deactivate.d.ts +1 -1
  93. package/lib/commands/in_stock_subscription/deactivate.js +5 -3
  94. package/lib/commands/in_stock_subscription/index.d.ts +1 -1
  95. package/lib/commands/in_stock_subscription/index.js +5 -3
  96. package/lib/commands/klarna_payment/index.d.ts +1 -1
  97. package/lib/commands/klarna_payment/index.js +5 -3
  98. package/lib/commands/klarna_payment/update.d.ts +1 -1
  99. package/lib/commands/klarna_payment/update.js +5 -3
  100. package/lib/commands/line_item/external_price.d.ts +1 -1
  101. package/lib/commands/line_item/external_price.js +5 -3
  102. package/lib/commands/line_item/index.d.ts +1 -1
  103. package/lib/commands/line_item/index.js +5 -3
  104. package/lib/commands/line_item/reserve_stock.d.ts +1 -1
  105. package/lib/commands/line_item/reserve_stock.js +5 -3
  106. package/lib/commands/market/disable.d.ts +1 -1
  107. package/lib/commands/market/disable.js +5 -3
  108. package/lib/commands/market/enable.d.ts +1 -1
  109. package/lib/commands/market/enable.js +5 -3
  110. package/lib/commands/market/index.d.ts +1 -1
  111. package/lib/commands/market/index.js +5 -3
  112. package/lib/commands/noc.js +2 -2
  113. package/lib/commands/order/approve.d.ts +1 -1
  114. package/lib/commands/order/approve.js +5 -3
  115. package/lib/commands/order/approve_and_capture.d.ts +1 -1
  116. package/lib/commands/order/approve_and_capture.js +5 -3
  117. package/lib/commands/order/archive.d.ts +1 -1
  118. package/lib/commands/order/archive.js +5 -3
  119. package/lib/commands/order/authorization_amount_cents.d.ts +1 -1
  120. package/lib/commands/order/authorization_amount_cents.js +5 -3
  121. package/lib/commands/order/authorize.d.ts +1 -1
  122. package/lib/commands/order/authorize.js +5 -3
  123. package/lib/commands/order/billing_address_clone_id.d.ts +2 -2
  124. package/lib/commands/order/billing_address_clone_id.js +12 -10
  125. package/lib/commands/order/billing_address_same_as_shipping.d.ts +1 -1
  126. package/lib/commands/order/billing_address_same_as_shipping.js +5 -3
  127. package/lib/commands/order/cancel.d.ts +1 -1
  128. package/lib/commands/order/cancel.js +5 -3
  129. package/lib/commands/order/capture.d.ts +1 -1
  130. package/lib/commands/order/capture.js +5 -3
  131. package/lib/commands/order/commit_invoice.d.ts +1 -1
  132. package/lib/commands/order/commit_invoice.js +5 -3
  133. package/lib/commands/order/create_subscriptions.d.ts +1 -1
  134. package/lib/commands/order/create_subscriptions.js +5 -3
  135. package/lib/commands/order/customer_payment_source_id.d.ts +2 -2
  136. package/lib/commands/order/customer_payment_source_id.js +12 -10
  137. package/lib/commands/order/index.d.ts +1 -1
  138. package/lib/commands/order/index.js +5 -3
  139. package/lib/commands/order/nullify_payment_source.d.ts +1 -1
  140. package/lib/commands/order/nullify_payment_source.js +5 -3
  141. package/lib/commands/order/place.d.ts +1 -1
  142. package/lib/commands/order/place.js +5 -3
  143. package/lib/commands/order/refresh.d.ts +1 -1
  144. package/lib/commands/order/refresh.js +5 -3
  145. package/lib/commands/order/refund.d.ts +1 -1
  146. package/lib/commands/order/refund.js +5 -3
  147. package/lib/commands/order/refund_invoice.d.ts +1 -1
  148. package/lib/commands/order/refund_invoice.js +5 -3
  149. package/lib/commands/order/save_billing_address_to_customer_address_book.d.ts +1 -1
  150. package/lib/commands/order/save_billing_address_to_customer_address_book.js +5 -3
  151. package/lib/commands/order/save_payment_source_to_customer_wallet.d.ts +1 -1
  152. package/lib/commands/order/save_payment_source_to_customer_wallet.js +5 -3
  153. package/lib/commands/order/save_shipping_address_to_customer_address_book.d.ts +1 -1
  154. package/lib/commands/order/save_shipping_address_to_customer_address_book.js +5 -3
  155. package/lib/commands/order/shipping_address_clone_id.d.ts +2 -2
  156. package/lib/commands/order/shipping_address_clone_id.js +12 -10
  157. package/lib/commands/order/shipping_address_same_as_billing.d.ts +1 -1
  158. package/lib/commands/order/shipping_address_same_as_billing.js +5 -3
  159. package/lib/commands/order/start_editing.d.ts +1 -1
  160. package/lib/commands/order/start_editing.js +5 -3
  161. package/lib/commands/order/stop_editing.d.ts +1 -1
  162. package/lib/commands/order/stop_editing.js +5 -3
  163. package/lib/commands/order/unarchive.d.ts +1 -1
  164. package/lib/commands/order/unarchive.js +5 -3
  165. package/lib/commands/order/update_taxes.d.ts +1 -1
  166. package/lib/commands/order/update_taxes.js +5 -3
  167. package/lib/commands/order/validate.d.ts +1 -1
  168. package/lib/commands/order/validate.js +5 -3
  169. package/lib/commands/order_subscription/activate.d.ts +1 -1
  170. package/lib/commands/order_subscription/activate.js +5 -3
  171. package/lib/commands/order_subscription/cancel.d.ts +1 -1
  172. package/lib/commands/order_subscription/cancel.js +5 -3
  173. package/lib/commands/order_subscription/deactivate.d.ts +1 -1
  174. package/lib/commands/order_subscription/deactivate.js +5 -3
  175. package/lib/commands/order_subscription/index.d.ts +1 -1
  176. package/lib/commands/order_subscription/index.js +5 -3
  177. package/lib/commands/payment_method/disable.d.ts +1 -1
  178. package/lib/commands/payment_method/disable.js +5 -3
  179. package/lib/commands/payment_method/enable.d.ts +1 -1
  180. package/lib/commands/payment_method/enable.js +5 -3
  181. package/lib/commands/payment_method/index.d.ts +1 -1
  182. package/lib/commands/payment_method/index.js +5 -3
  183. package/lib/commands/percentage_discount_promotion/disable.d.ts +1 -1
  184. package/lib/commands/percentage_discount_promotion/disable.js +5 -3
  185. package/lib/commands/percentage_discount_promotion/enable.d.ts +1 -1
  186. package/lib/commands/percentage_discount_promotion/enable.js +5 -3
  187. package/lib/commands/percentage_discount_promotion/index.d.ts +1 -1
  188. package/lib/commands/percentage_discount_promotion/index.js +5 -3
  189. package/lib/commands/return/approve.d.ts +1 -1
  190. package/lib/commands/return/approve.js +5 -3
  191. package/lib/commands/return/archive.d.ts +1 -1
  192. package/lib/commands/return/archive.js +5 -3
  193. package/lib/commands/return/cancel.d.ts +1 -1
  194. package/lib/commands/return/cancel.js +5 -3
  195. package/lib/commands/return/index.d.ts +1 -1
  196. package/lib/commands/return/index.js +5 -3
  197. package/lib/commands/return/receive.d.ts +1 -1
  198. package/lib/commands/return/receive.js +5 -3
  199. package/lib/commands/return/reject.d.ts +1 -1
  200. package/lib/commands/return/reject.js +5 -3
  201. package/lib/commands/return/request.d.ts +1 -1
  202. package/lib/commands/return/request.js +5 -3
  203. package/lib/commands/return/restock.d.ts +1 -1
  204. package/lib/commands/return/restock.js +5 -3
  205. package/lib/commands/return/ship.d.ts +1 -1
  206. package/lib/commands/return/ship.js +5 -3
  207. package/lib/commands/return/unarchive.d.ts +1 -1
  208. package/lib/commands/return/unarchive.js +5 -3
  209. package/lib/commands/return_line_item/index.d.ts +1 -1
  210. package/lib/commands/return_line_item/index.js +5 -3
  211. package/lib/commands/return_line_item/restock.d.ts +1 -1
  212. package/lib/commands/return_line_item/restock.js +5 -3
  213. package/lib/commands/satispay_payment/index.d.ts +1 -1
  214. package/lib/commands/satispay_payment/index.js +5 -3
  215. package/lib/commands/satispay_payment/refresh.d.ts +1 -1
  216. package/lib/commands/satispay_payment/refresh.js +5 -3
  217. package/lib/commands/shipment/decrement_stock.d.ts +1 -1
  218. package/lib/commands/shipment/decrement_stock.js +5 -3
  219. package/lib/commands/shipment/get_rates.d.ts +1 -1
  220. package/lib/commands/shipment/get_rates.js +5 -3
  221. package/lib/commands/shipment/index.d.ts +1 -1
  222. package/lib/commands/shipment/index.js +5 -3
  223. package/lib/commands/shipment/on_hold.d.ts +1 -1
  224. package/lib/commands/shipment/on_hold.js +5 -3
  225. package/lib/commands/shipment/packing.d.ts +1 -1
  226. package/lib/commands/shipment/packing.js +5 -3
  227. package/lib/commands/shipment/picking.d.ts +1 -1
  228. package/lib/commands/shipment/picking.js +5 -3
  229. package/lib/commands/shipment/purchase.d.ts +1 -1
  230. package/lib/commands/shipment/purchase.js +5 -3
  231. package/lib/commands/shipment/ready_to_ship.d.ts +1 -1
  232. package/lib/commands/shipment/ready_to_ship.js +5 -3
  233. package/lib/commands/shipment/release_stock.d.ts +1 -1
  234. package/lib/commands/shipment/release_stock.js +5 -3
  235. package/lib/commands/shipment/reserve_stock.d.ts +1 -1
  236. package/lib/commands/shipment/reserve_stock.js +5 -3
  237. package/lib/commands/shipment/ship.d.ts +1 -1
  238. package/lib/commands/shipment/ship.js +5 -3
  239. package/lib/commands/shipment/upcoming.d.ts +1 -1
  240. package/lib/commands/shipment/upcoming.js +5 -3
  241. package/lib/commands/shipping_method/disable.d.ts +1 -1
  242. package/lib/commands/shipping_method/disable.js +5 -3
  243. package/lib/commands/shipping_method/enable.d.ts +1 -1
  244. package/lib/commands/shipping_method/enable.js +5 -3
  245. package/lib/commands/shipping_method/index.d.ts +1 -1
  246. package/lib/commands/shipping_method/index.js +5 -3
  247. package/lib/commands/stock_line_item/decrement_stock.d.ts +9 -0
  248. package/lib/commands/stock_line_item/decrement_stock.js +22 -0
  249. package/lib/commands/stock_line_item/index.d.ts +9 -0
  250. package/lib/commands/stock_line_item/index.js +40 -0
  251. package/lib/commands/stock_line_item/release_stock.d.ts +9 -0
  252. package/lib/commands/stock_line_item/release_stock.js +22 -0
  253. package/lib/commands/stock_line_item/reserve_stock.d.ts +9 -0
  254. package/lib/commands/stock_line_item/reserve_stock.js +22 -0
  255. package/lib/commands/stock_reservation/index.d.ts +1 -1
  256. package/lib/commands/stock_reservation/index.js +5 -3
  257. package/lib/commands/stock_reservation/pending.d.ts +1 -1
  258. package/lib/commands/stock_reservation/pending.js +5 -3
  259. package/lib/commands/stock_transfer/cancel.d.ts +1 -1
  260. package/lib/commands/stock_transfer/cancel.js +5 -3
  261. package/lib/commands/stock_transfer/complete.d.ts +1 -1
  262. package/lib/commands/stock_transfer/complete.js +5 -3
  263. package/lib/commands/stock_transfer/in_transit.d.ts +1 -1
  264. package/lib/commands/stock_transfer/in_transit.js +5 -3
  265. package/lib/commands/stock_transfer/index.d.ts +1 -1
  266. package/lib/commands/stock_transfer/index.js +5 -3
  267. package/lib/commands/stock_transfer/on_hold.d.ts +1 -1
  268. package/lib/commands/stock_transfer/on_hold.js +5 -3
  269. package/lib/commands/stock_transfer/picking.d.ts +1 -1
  270. package/lib/commands/stock_transfer/picking.js +5 -3
  271. package/lib/commands/stock_transfer/upcoming.d.ts +1 -1
  272. package/lib/commands/stock_transfer/upcoming.js +5 -3
  273. package/lib/commands/stripe_payment/index.d.ts +1 -1
  274. package/lib/commands/stripe_payment/index.js +5 -3
  275. package/lib/commands/stripe_payment/refresh.d.ts +1 -1
  276. package/lib/commands/stripe_payment/refresh.js +5 -3
  277. package/lib/commands/stripe_payment/update.d.ts +1 -1
  278. package/lib/commands/stripe_payment/update.js +5 -3
  279. package/lib/commands/webhook/disable.d.ts +9 -0
  280. package/lib/commands/webhook/disable.js +22 -0
  281. package/lib/commands/webhook/enable.d.ts +9 -0
  282. package/lib/commands/webhook/enable.js +22 -0
  283. package/lib/commands/webhook/index.d.ts +1 -1
  284. package/lib/commands/webhook/index.js +5 -3
  285. package/lib/commands/webhook/reset_circuit.d.ts +1 -1
  286. package/lib/commands/webhook/reset_circuit.js +5 -3
  287. package/lib/exec.d.ts +2 -1
  288. package/lib/triggers/stock_line_items.d.ts +3 -0
  289. package/lib/triggers/stock_line_items.js +20 -0
  290. package/lib/triggers/webhooks.d.ts +1 -1
  291. package/lib/triggers/webhooks.js +10 -0
  292. package/oclif.manifest.json +664 -1
  293. package/package.json +36 -30
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const core_1 = require("@oclif/core");
4
4
  class Noc extends core_1.Command {
5
+ static hidden = true;
6
+ static flags = {};
5
7
  async run() {
6
8
  const output = '-= NoC =-';
7
9
  this.log(output);
8
10
  return output;
9
11
  }
10
12
  }
11
- Noc.hidden = true;
12
- Noc.flags = {};
13
13
  exports.default = Noc;
@@ -3,7 +3,7 @@ export default class OrderApprove extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'approve';
7
7
  class OrderApprove extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderApprove);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderApprove extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderApprove.description = orders_1.triggers[TRIGGER].description;
18
- OrderApprove.flags = {};
19
- OrderApprove.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderApprove;
@@ -3,7 +3,7 @@ export default class OrderApproveAndCapture extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'approve_and_capture';
7
7
  class OrderApproveAndCapture extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderApproveAndCapture);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderApproveAndCapture extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderApproveAndCapture.description = orders_1.triggers[TRIGGER].description;
18
- OrderApproveAndCapture.flags = {};
19
- OrderApproveAndCapture.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderApproveAndCapture;
@@ -3,7 +3,7 @@ export default class OrderArchive extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'archive';
7
7
  class OrderArchive extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderArchive);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderArchive extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderArchive.description = orders_1.triggers[TRIGGER].description;
18
- OrderArchive.flags = {};
19
- OrderArchive.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderArchive;
@@ -3,7 +3,7 @@ export default class OrderAuthorizationAmountCents extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'authorization_amount_cents';
7
7
  class OrderAuthorizationAmountCents extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderAuthorizationAmountCents);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderAuthorizationAmountCents extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderAuthorizationAmountCents.description = orders_1.triggers[TRIGGER].description;
18
- OrderAuthorizationAmountCents.flags = {};
19
- OrderAuthorizationAmountCents.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderAuthorizationAmountCents;
@@ -3,7 +3,7 @@ export default class OrderAuthorize extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'authorize';
7
7
  class OrderAuthorize extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderAuthorize);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderAuthorize extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderAuthorize.description = orders_1.triggers[TRIGGER].description;
18
- OrderAuthorize.flags = {};
19
- OrderAuthorize.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderAuthorize;
@@ -2,10 +2,10 @@ import Command from '../../base';
2
2
  export default class OrderBillingAddressCloneId extends Command {
3
3
  static description: string;
4
4
  static flags: {
5
- value: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
5
+ value: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
6
6
  };
7
7
  static args: {
8
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
8
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
9
9
  };
10
10
  run(): Promise<any>;
11
11
  }
@@ -5,6 +5,18 @@ const base_1 = tslib_1.__importStar(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'billing_address_clone_id';
7
7
  class OrderBillingAddressCloneId extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {
10
+ value: base_1.Flags.string({
11
+ char: 'v',
12
+ description: 'the trigger attribute value',
13
+ multiple: false,
14
+ required: true,
15
+ }),
16
+ };
17
+ static args = {
18
+ ...base_1.default.args,
19
+ };
8
20
  async run() {
9
21
  const { args, flags } = await this.parse(OrderBillingAddressCloneId);
10
22
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,14 +26,4 @@ class OrderBillingAddressCloneId extends base_1.default {
14
26
  return res;
15
27
  }
16
28
  }
17
- OrderBillingAddressCloneId.description = orders_1.triggers[TRIGGER].description;
18
- OrderBillingAddressCloneId.flags = {
19
- value: base_1.Flags.string({
20
- char: 'v',
21
- description: 'the trigger attribute value',
22
- multiple: false,
23
- required: true,
24
- }),
25
- };
26
- OrderBillingAddressCloneId.args = Object.assign({}, base_1.default.args);
27
29
  exports.default = OrderBillingAddressCloneId;
@@ -3,7 +3,7 @@ export default class OrderBillingAddressSameAsShipping extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'billing_address_same_as_shipping';
7
7
  class OrderBillingAddressSameAsShipping extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderBillingAddressSameAsShipping);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderBillingAddressSameAsShipping extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderBillingAddressSameAsShipping.description = orders_1.triggers[TRIGGER].description;
18
- OrderBillingAddressSameAsShipping.flags = {};
19
- OrderBillingAddressSameAsShipping.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderBillingAddressSameAsShipping;
@@ -3,7 +3,7 @@ export default class OrderCancel extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'cancel';
7
7
  class OrderCancel extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderCancel);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderCancel extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderCancel.description = orders_1.triggers[TRIGGER].description;
18
- OrderCancel.flags = {};
19
- OrderCancel.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderCancel;
@@ -3,7 +3,7 @@ export default class OrderCapture extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'capture';
7
7
  class OrderCapture extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderCapture);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderCapture extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderCapture.description = orders_1.triggers[TRIGGER].description;
18
- OrderCapture.flags = {};
19
- OrderCapture.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderCapture;
@@ -3,7 +3,7 @@ export default class OrderCommitInvoice extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'commit_invoice';
7
7
  class OrderCommitInvoice extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderCommitInvoice);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderCommitInvoice extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderCommitInvoice.description = orders_1.triggers[TRIGGER].description;
18
- OrderCommitInvoice.flags = {};
19
- OrderCommitInvoice.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderCommitInvoice;
@@ -3,7 +3,7 @@ export default class OrderCreateSubscriptions extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'create_subscriptions';
7
7
  class OrderCreateSubscriptions extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderCreateSubscriptions);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderCreateSubscriptions extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderCreateSubscriptions.description = orders_1.triggers[TRIGGER].description;
18
- OrderCreateSubscriptions.flags = {};
19
- OrderCreateSubscriptions.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderCreateSubscriptions;
@@ -2,10 +2,10 @@ import Command from '../../base';
2
2
  export default class OrderCustomerPaymentSourceId extends Command {
3
3
  static description: string;
4
4
  static flags: {
5
- value: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
5
+ value: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
6
6
  };
7
7
  static args: {
8
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
8
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
9
9
  };
10
10
  run(): Promise<any>;
11
11
  }
@@ -5,6 +5,18 @@ const base_1 = tslib_1.__importStar(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'customer_payment_source_id';
7
7
  class OrderCustomerPaymentSourceId extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {
10
+ value: base_1.Flags.string({
11
+ char: 'v',
12
+ description: 'the trigger attribute value',
13
+ multiple: false,
14
+ required: true,
15
+ }),
16
+ };
17
+ static args = {
18
+ ...base_1.default.args,
19
+ };
8
20
  async run() {
9
21
  const { args, flags } = await this.parse(OrderCustomerPaymentSourceId);
10
22
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,14 +26,4 @@ class OrderCustomerPaymentSourceId extends base_1.default {
14
26
  return res;
15
27
  }
16
28
  }
17
- OrderCustomerPaymentSourceId.description = orders_1.triggers[TRIGGER].description;
18
- OrderCustomerPaymentSourceId.flags = {
19
- value: base_1.Flags.string({
20
- char: 'v',
21
- description: 'the trigger attribute value',
22
- multiple: false,
23
- required: true,
24
- }),
25
- };
26
- OrderCustomerPaymentSourceId.args = Object.assign({}, base_1.default.args);
27
29
  exports.default = OrderCustomerPaymentSourceId;
@@ -3,7 +3,7 @@ export default class OrderIndex extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -20,6 +20,11 @@ const promptAction = async (id) => {
20
20
  return answers.trigger;
21
21
  };
22
22
  class OrderIndex extends base_1.default {
23
+ static description = 'execute an action on a resource of type orders';
24
+ static flags = {};
25
+ static args = {
26
+ ...base_1.default.args,
27
+ };
23
28
  async run() {
24
29
  const { args, flags } = await this.parse(OrderIndex);
25
30
  const id = args.id;
@@ -32,7 +37,4 @@ class OrderIndex extends base_1.default {
32
37
  return res;
33
38
  }
34
39
  }
35
- OrderIndex.description = 'execute an action on a resource of type orders';
36
- OrderIndex.flags = {};
37
- OrderIndex.args = Object.assign({}, base_1.default.args);
38
40
  exports.default = OrderIndex;
@@ -3,7 +3,7 @@ export default class OrderNullifyPaymentSource extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'nullify_payment_source';
7
7
  class OrderNullifyPaymentSource extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderNullifyPaymentSource);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderNullifyPaymentSource extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderNullifyPaymentSource.description = orders_1.triggers[TRIGGER].description;
18
- OrderNullifyPaymentSource.flags = {};
19
- OrderNullifyPaymentSource.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderNullifyPaymentSource;
@@ -3,7 +3,7 @@ export default class OrderPlace extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'place';
7
7
  class OrderPlace extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderPlace);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderPlace extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderPlace.description = orders_1.triggers[TRIGGER].description;
18
- OrderPlace.flags = {};
19
- OrderPlace.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderPlace;
@@ -3,7 +3,7 @@ export default class OrderRefresh extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'refresh';
7
7
  class OrderRefresh extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderRefresh);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderRefresh extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderRefresh.description = orders_1.triggers[TRIGGER].description;
18
- OrderRefresh.flags = {};
19
- OrderRefresh.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderRefresh;
@@ -3,7 +3,7 @@ export default class OrderRefund extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'refund';
7
7
  class OrderRefund extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderRefund);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderRefund extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderRefund.description = orders_1.triggers[TRIGGER].description;
18
- OrderRefund.flags = {};
19
- OrderRefund.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderRefund;
@@ -3,7 +3,7 @@ export default class OrderRefundInvoice extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'refund_invoice';
7
7
  class OrderRefundInvoice extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderRefundInvoice);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderRefundInvoice extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderRefundInvoice.description = orders_1.triggers[TRIGGER].description;
18
- OrderRefundInvoice.flags = {};
19
- OrderRefundInvoice.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderRefundInvoice;
@@ -3,7 +3,7 @@ export default class OrderSaveBillingAddressToCustomerAddressBook extends Comman
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }
@@ -5,6 +5,11 @@ const base_1 = tslib_1.__importDefault(require("../../base"));
5
5
  const orders_1 = require("../../triggers/orders");
6
6
  const TRIGGER = 'save_billing_address_to_customer_address_book';
7
7
  class OrderSaveBillingAddressToCustomerAddressBook extends base_1.default {
8
+ static description = orders_1.triggers[TRIGGER].description;
9
+ static flags = {};
10
+ static args = {
11
+ ...base_1.default.args,
12
+ };
8
13
  async run() {
9
14
  const { args, flags } = await this.parse(OrderSaveBillingAddressToCustomerAddressBook);
10
15
  const res = await this.executeAction('orders', args.id, TRIGGER, flags);
@@ -14,7 +19,4 @@ class OrderSaveBillingAddressToCustomerAddressBook extends base_1.default {
14
19
  return res;
15
20
  }
16
21
  }
17
- OrderSaveBillingAddressToCustomerAddressBook.description = orders_1.triggers[TRIGGER].description;
18
- OrderSaveBillingAddressToCustomerAddressBook.flags = {};
19
- OrderSaveBillingAddressToCustomerAddressBook.args = Object.assign({}, base_1.default.args);
20
22
  exports.default = OrderSaveBillingAddressToCustomerAddressBook;
@@ -3,7 +3,7 @@ export default class OrderSavePaymentSourceToCustomerWallet extends Command {
3
3
  static description: string;
4
4
  static flags: {};
5
5
  static args: {
6
- id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  run(): Promise<any>;
9
9
  }