@commercelayer/cli-plugin-triggers 3.6.1 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/README.md +215 -94
  2. package/lib/base.d.ts +9 -11
  3. package/lib/base.js +4 -4
  4. package/lib/commands/adyen_payment/details.d.ts +3 -12
  5. package/lib/commands/adyen_payment/details.js +2 -4
  6. package/lib/commands/adyen_payment/index.d.ts +3 -12
  7. package/lib/commands/adyen_payment/index.js +2 -4
  8. package/lib/commands/authorization/capture.d.ts +3 -12
  9. package/lib/commands/authorization/capture.js +2 -4
  10. package/lib/commands/authorization/capture_amount_cents.d.ts +3 -12
  11. package/lib/commands/authorization/capture_amount_cents.js +2 -4
  12. package/lib/commands/authorization/index.d.ts +3 -12
  13. package/lib/commands/authorization/index.js +2 -4
  14. package/lib/commands/authorization/void.d.ts +3 -12
  15. package/lib/commands/authorization/void.js +2 -4
  16. package/lib/commands/axerve_payment/index.d.ts +9 -0
  17. package/lib/commands/axerve_payment/index.js +38 -0
  18. package/lib/commands/axerve_payment/update.d.ts +9 -0
  19. package/lib/commands/axerve_payment/update.js +21 -0
  20. package/lib/commands/bundle/compute_compare_at_amount.d.ts +3 -12
  21. package/lib/commands/bundle/compute_compare_at_amount.js +2 -4
  22. package/lib/commands/bundle/compute_price_amount.d.ts +3 -12
  23. package/lib/commands/bundle/compute_price_amount.js +2 -4
  24. package/lib/commands/bundle/index.d.ts +3 -12
  25. package/lib/commands/bundle/index.js +2 -4
  26. package/lib/commands/capture/index.d.ts +3 -12
  27. package/lib/commands/capture/index.js +2 -4
  28. package/lib/commands/capture/refund.d.ts +3 -12
  29. package/lib/commands/capture/refund.js +2 -4
  30. package/lib/commands/capture/refund_amount_cents.d.ts +3 -12
  31. package/lib/commands/capture/refund_amount_cents.js +2 -4
  32. package/lib/commands/checkout_com_payment/details.d.ts +3 -12
  33. package/lib/commands/checkout_com_payment/details.js +2 -4
  34. package/lib/commands/checkout_com_payment/index.d.ts +3 -12
  35. package/lib/commands/checkout_com_payment/index.js +2 -4
  36. package/lib/commands/checkout_com_payment/refresh.d.ts +3 -12
  37. package/lib/commands/checkout_com_payment/refresh.js +2 -4
  38. package/lib/commands/customer_password_reset/index.d.ts +3 -12
  39. package/lib/commands/customer_password_reset/index.js +2 -4
  40. package/lib/commands/customer_password_reset/reset_password_token.d.ts +3 -12
  41. package/lib/commands/customer_password_reset/reset_password_token.js +2 -4
  42. package/lib/commands/gift_card/activate.d.ts +3 -12
  43. package/lib/commands/gift_card/activate.js +2 -4
  44. package/lib/commands/gift_card/balance_change_cents.d.ts +3 -12
  45. package/lib/commands/gift_card/balance_change_cents.js +2 -4
  46. package/lib/commands/gift_card/deactivate.d.ts +3 -12
  47. package/lib/commands/gift_card/deactivate.js +2 -4
  48. package/lib/commands/gift_card/index.d.ts +3 -12
  49. package/lib/commands/gift_card/index.js +2 -4
  50. package/lib/commands/gift_card/purchase.d.ts +3 -12
  51. package/lib/commands/gift_card/purchase.js +2 -4
  52. package/lib/commands/in_stock_subscription/activate.d.ts +3 -12
  53. package/lib/commands/in_stock_subscription/activate.js +2 -4
  54. package/lib/commands/in_stock_subscription/deactivate.d.ts +3 -12
  55. package/lib/commands/in_stock_subscription/deactivate.js +2 -4
  56. package/lib/commands/in_stock_subscription/index.d.ts +3 -12
  57. package/lib/commands/in_stock_subscription/index.js +2 -4
  58. package/lib/commands/klarna_payment/index.d.ts +3 -12
  59. package/lib/commands/klarna_payment/index.js +2 -4
  60. package/lib/commands/klarna_payment/update.d.ts +3 -12
  61. package/lib/commands/klarna_payment/update.js +2 -4
  62. package/lib/commands/line_item/external_price.d.ts +9 -0
  63. package/lib/commands/line_item/external_price.js +21 -0
  64. package/lib/commands/line_item/index.d.ts +9 -0
  65. package/lib/commands/line_item/index.js +38 -0
  66. package/lib/commands/market/disable.d.ts +3 -12
  67. package/lib/commands/market/disable.js +2 -4
  68. package/lib/commands/market/enable.d.ts +3 -12
  69. package/lib/commands/market/enable.js +2 -4
  70. package/lib/commands/market/index.d.ts +3 -12
  71. package/lib/commands/market/index.js +2 -4
  72. package/lib/commands/order/approve.d.ts +3 -12
  73. package/lib/commands/order/approve.js +2 -4
  74. package/lib/commands/order/approve_and_capture.d.ts +3 -12
  75. package/lib/commands/order/approve_and_capture.js +2 -4
  76. package/lib/commands/order/archive.d.ts +3 -12
  77. package/lib/commands/order/archive.js +2 -4
  78. package/lib/commands/order/authorization_amount_cents.d.ts +3 -12
  79. package/lib/commands/order/authorization_amount_cents.js +2 -4
  80. package/lib/commands/order/authorize.d.ts +3 -12
  81. package/lib/commands/order/authorize.js +2 -4
  82. package/lib/commands/order/billing_address_clone_id.d.ts +3 -11
  83. package/lib/commands/order/billing_address_clone_id.js +5 -5
  84. package/lib/commands/order/billing_address_same_as_shipping.d.ts +3 -12
  85. package/lib/commands/order/billing_address_same_as_shipping.js +2 -4
  86. package/lib/commands/order/cancel.d.ts +3 -12
  87. package/lib/commands/order/cancel.js +2 -4
  88. package/lib/commands/order/capture.d.ts +3 -12
  89. package/lib/commands/order/capture.js +2 -4
  90. package/lib/commands/order/commit_invoice.d.ts +3 -12
  91. package/lib/commands/order/commit_invoice.js +2 -4
  92. package/lib/commands/order/customer_payment_source_id.d.ts +3 -11
  93. package/lib/commands/order/customer_payment_source_id.js +5 -5
  94. package/lib/commands/order/index.d.ts +3 -12
  95. package/lib/commands/order/index.js +2 -4
  96. package/lib/commands/order/nullify_payment_source.d.ts +3 -12
  97. package/lib/commands/order/nullify_payment_source.js +2 -4
  98. package/lib/commands/order/place.d.ts +3 -12
  99. package/lib/commands/order/place.js +2 -4
  100. package/lib/commands/order/refresh.d.ts +3 -12
  101. package/lib/commands/order/refresh.js +2 -4
  102. package/lib/commands/order/refund.d.ts +3 -12
  103. package/lib/commands/order/refund.js +2 -4
  104. package/lib/commands/order/refund_invoice.d.ts +3 -12
  105. package/lib/commands/order/refund_invoice.js +2 -4
  106. package/lib/commands/order/save_billing_address_to_customer_address_book.d.ts +3 -12
  107. package/lib/commands/order/save_billing_address_to_customer_address_book.js +2 -4
  108. package/lib/commands/order/save_payment_source_to_customer_wallet.d.ts +3 -12
  109. package/lib/commands/order/save_payment_source_to_customer_wallet.js +2 -4
  110. package/lib/commands/order/save_shipping_address_to_customer_address_book.d.ts +3 -12
  111. package/lib/commands/order/save_shipping_address_to_customer_address_book.js +2 -4
  112. package/lib/commands/order/shipping_address_clone_id.d.ts +3 -11
  113. package/lib/commands/order/shipping_address_clone_id.js +5 -5
  114. package/lib/commands/order/shipping_address_same_as_billing.d.ts +3 -12
  115. package/lib/commands/order/shipping_address_same_as_billing.js +2 -4
  116. package/lib/commands/order/unarchive.d.ts +3 -12
  117. package/lib/commands/order/unarchive.js +2 -4
  118. package/lib/commands/order/update_taxes.d.ts +3 -12
  119. package/lib/commands/order/update_taxes.js +2 -4
  120. package/lib/commands/order/validate.d.ts +9 -0
  121. package/lib/commands/order/validate.js +21 -0
  122. package/lib/commands/order_subscription/activate.d.ts +3 -12
  123. package/lib/commands/order_subscription/activate.js +2 -4
  124. package/lib/commands/order_subscription/cancel.d.ts +3 -12
  125. package/lib/commands/order_subscription/cancel.js +2 -4
  126. package/lib/commands/order_subscription/deactivate.d.ts +3 -12
  127. package/lib/commands/order_subscription/deactivate.js +2 -4
  128. package/lib/commands/order_subscription/index.d.ts +3 -12
  129. package/lib/commands/order_subscription/index.js +2 -4
  130. package/lib/commands/payment_method/disable.d.ts +3 -12
  131. package/lib/commands/payment_method/disable.js +2 -4
  132. package/lib/commands/payment_method/enable.d.ts +3 -12
  133. package/lib/commands/payment_method/enable.js +2 -4
  134. package/lib/commands/payment_method/index.d.ts +3 -12
  135. package/lib/commands/payment_method/index.js +2 -4
  136. package/lib/commands/return/approve.d.ts +3 -12
  137. package/lib/commands/return/approve.js +2 -4
  138. package/lib/commands/return/archive.d.ts +3 -12
  139. package/lib/commands/return/archive.js +2 -4
  140. package/lib/commands/return/cancel.d.ts +3 -12
  141. package/lib/commands/return/cancel.js +2 -4
  142. package/lib/commands/return/index.d.ts +3 -12
  143. package/lib/commands/return/index.js +2 -4
  144. package/lib/commands/return/receive.d.ts +3 -12
  145. package/lib/commands/return/receive.js +2 -4
  146. package/lib/commands/return/reject.d.ts +3 -12
  147. package/lib/commands/return/reject.js +2 -4
  148. package/lib/commands/return/request.d.ts +3 -12
  149. package/lib/commands/return/request.js +2 -4
  150. package/lib/commands/return/restock.d.ts +3 -12
  151. package/lib/commands/return/restock.js +2 -4
  152. package/lib/commands/return/ship.d.ts +3 -12
  153. package/lib/commands/return/ship.js +2 -4
  154. package/lib/commands/return/unarchive.d.ts +3 -12
  155. package/lib/commands/return/unarchive.js +2 -4
  156. package/lib/commands/return_line_item/index.d.ts +3 -12
  157. package/lib/commands/return_line_item/index.js +2 -4
  158. package/lib/commands/return_line_item/restock.d.ts +3 -12
  159. package/lib/commands/return_line_item/restock.js +2 -4
  160. package/lib/commands/shipment/get_rates.d.ts +3 -12
  161. package/lib/commands/shipment/get_rates.js +2 -4
  162. package/lib/commands/shipment/index.d.ts +3 -12
  163. package/lib/commands/shipment/index.js +2 -4
  164. package/lib/commands/shipment/on_hold.d.ts +3 -12
  165. package/lib/commands/shipment/on_hold.js +2 -4
  166. package/lib/commands/shipment/packing.d.ts +3 -12
  167. package/lib/commands/shipment/packing.js +2 -4
  168. package/lib/commands/shipment/picking.d.ts +3 -12
  169. package/lib/commands/shipment/picking.js +2 -4
  170. package/lib/commands/shipment/purchase.d.ts +3 -12
  171. package/lib/commands/shipment/purchase.js +2 -4
  172. package/lib/commands/shipment/ready_to_ship.d.ts +3 -12
  173. package/lib/commands/shipment/ready_to_ship.js +2 -4
  174. package/lib/commands/shipment/ship.d.ts +3 -12
  175. package/lib/commands/shipment/ship.js +2 -4
  176. package/lib/commands/shipping_method/disable.d.ts +3 -12
  177. package/lib/commands/shipping_method/disable.js +2 -4
  178. package/lib/commands/shipping_method/enable.d.ts +3 -12
  179. package/lib/commands/shipping_method/enable.js +2 -4
  180. package/lib/commands/shipping_method/index.d.ts +3 -12
  181. package/lib/commands/shipping_method/index.js +2 -4
  182. package/lib/commands/stock_transfer/cancel.d.ts +3 -12
  183. package/lib/commands/stock_transfer/cancel.js +2 -4
  184. package/lib/commands/stock_transfer/complete.d.ts +3 -12
  185. package/lib/commands/stock_transfer/complete.js +2 -4
  186. package/lib/commands/stock_transfer/in_transit.d.ts +3 -12
  187. package/lib/commands/stock_transfer/in_transit.js +2 -4
  188. package/lib/commands/stock_transfer/index.d.ts +3 -12
  189. package/lib/commands/stock_transfer/index.js +2 -4
  190. package/lib/commands/stock_transfer/picking.d.ts +3 -12
  191. package/lib/commands/stock_transfer/picking.js +2 -4
  192. package/lib/commands/stock_transfer/upcoming.d.ts +3 -12
  193. package/lib/commands/stock_transfer/upcoming.js +2 -4
  194. package/lib/commands/stripe_payment/index.d.ts +3 -12
  195. package/lib/commands/stripe_payment/index.js +2 -4
  196. package/lib/commands/stripe_payment/refresh.d.ts +3 -12
  197. package/lib/commands/stripe_payment/refresh.js +2 -4
  198. package/lib/commands/webhook/index.d.ts +3 -12
  199. package/lib/commands/webhook/index.js +2 -4
  200. package/lib/commands/webhook/reset_circuit.d.ts +3 -12
  201. package/lib/commands/webhook/reset_circuit.js +2 -4
  202. package/lib/triggers/axerve_payments.d.ts +5 -0
  203. package/lib/triggers/axerve_payments.js +10 -0
  204. package/lib/triggers/line_items.d.ts +5 -0
  205. package/lib/triggers/line_items.js +10 -0
  206. package/lib/triggers/orders.d.ts +1 -1
  207. package/lib/triggers/orders.js +5 -0
  208. package/oclif.manifest.json +7069 -1
  209. package/package.json +15 -15
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderApprove extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderApprove extends base_1.default {
17
17
  }
18
18
  exports.default = OrderApprove;
19
19
  OrderApprove.description = orders_1.triggers[TRIGGER].description;
20
- OrderApprove.flags = Object.assign({}, base_1.default.flags);
21
- OrderApprove.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderApprove.flags = {};
21
+ OrderApprove.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderApproveAndCapture extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderApproveAndCapture extends base_1.default {
17
17
  }
18
18
  exports.default = OrderApproveAndCapture;
19
19
  OrderApproveAndCapture.description = orders_1.triggers[TRIGGER].description;
20
- OrderApproveAndCapture.flags = Object.assign({}, base_1.default.flags);
21
- OrderApproveAndCapture.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderApproveAndCapture.flags = {};
21
+ OrderApproveAndCapture.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderArchive extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderArchive extends base_1.default {
17
17
  }
18
18
  exports.default = OrderArchive;
19
19
  OrderArchive.description = orders_1.triggers[TRIGGER].description;
20
- OrderArchive.flags = Object.assign({}, base_1.default.flags);
21
- OrderArchive.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderArchive.flags = {};
21
+ OrderArchive.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderAuthorizationAmountCents extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderAuthorizationAmountCents extends base_1.default {
17
17
  }
18
18
  exports.default = OrderAuthorizationAmountCents;
19
19
  OrderAuthorizationAmountCents.description = orders_1.triggers[TRIGGER].description;
20
- OrderAuthorizationAmountCents.flags = Object.assign({}, base_1.default.flags);
21
- OrderAuthorizationAmountCents.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderAuthorizationAmountCents.flags = {};
21
+ OrderAuthorizationAmountCents.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderAuthorize extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderAuthorize extends base_1.default {
17
17
  }
18
18
  exports.default = OrderAuthorize;
19
19
  OrderAuthorize.description = orders_1.triggers[TRIGGER].description;
20
- OrderAuthorize.flags = Object.assign({}, base_1.default.flags);
21
- OrderAuthorize.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderAuthorize.flags = {};
21
+ OrderAuthorize.args = Object.assign({}, base_1.default.args);
@@ -2,18 +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>;
6
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
7
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
8
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
9
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
5
+ value: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
12
6
  };
13
7
  static args: {
14
- name: string;
15
- description: string;
16
- required: boolean;
17
- }[];
8
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
9
+ };
18
10
  run(): Promise<any>;
19
11
  }
@@ -17,12 +17,12 @@ class OrderBillingAddressCloneId extends base_1.default {
17
17
  }
18
18
  exports.default = OrderBillingAddressCloneId;
19
19
  OrderBillingAddressCloneId.description = orders_1.triggers[TRIGGER].description;
20
- OrderBillingAddressCloneId.flags = Object.assign(Object.assign({}, base_1.default.flags), { value: base_1.Flags.string({
20
+ OrderBillingAddressCloneId.flags = {
21
+ value: base_1.Flags.string({
21
22
  char: 'v',
22
23
  description: 'the trigger attribute value',
23
24
  multiple: false,
24
25
  required: true,
25
- }) });
26
- OrderBillingAddressCloneId.args = [
27
- ...base_1.default.args,
28
- ];
26
+ }),
27
+ };
28
+ OrderBillingAddressCloneId.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderBillingAddressSameAsShipping extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderBillingAddressSameAsShipping extends base_1.default {
17
17
  }
18
18
  exports.default = OrderBillingAddressSameAsShipping;
19
19
  OrderBillingAddressSameAsShipping.description = orders_1.triggers[TRIGGER].description;
20
- OrderBillingAddressSameAsShipping.flags = Object.assign({}, base_1.default.flags);
21
- OrderBillingAddressSameAsShipping.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderBillingAddressSameAsShipping.flags = {};
21
+ OrderBillingAddressSameAsShipping.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderCancel extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderCancel extends base_1.default {
17
17
  }
18
18
  exports.default = OrderCancel;
19
19
  OrderCancel.description = orders_1.triggers[TRIGGER].description;
20
- OrderCancel.flags = Object.assign({}, base_1.default.flags);
21
- OrderCancel.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderCancel.flags = {};
21
+ OrderCancel.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderCapture extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderCapture extends base_1.default {
17
17
  }
18
18
  exports.default = OrderCapture;
19
19
  OrderCapture.description = orders_1.triggers[TRIGGER].description;
20
- OrderCapture.flags = Object.assign({}, base_1.default.flags);
21
- OrderCapture.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderCapture.flags = {};
21
+ OrderCapture.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderCommitInvoice extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderCommitInvoice extends base_1.default {
17
17
  }
18
18
  exports.default = OrderCommitInvoice;
19
19
  OrderCommitInvoice.description = orders_1.triggers[TRIGGER].description;
20
- OrderCommitInvoice.flags = Object.assign({}, base_1.default.flags);
21
- OrderCommitInvoice.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderCommitInvoice.flags = {};
21
+ OrderCommitInvoice.args = Object.assign({}, base_1.default.args);
@@ -2,18 +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>;
6
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
7
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
8
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
9
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
5
+ value: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
12
6
  };
13
7
  static args: {
14
- name: string;
15
- description: string;
16
- required: boolean;
17
- }[];
8
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
9
+ };
18
10
  run(): Promise<any>;
19
11
  }
@@ -17,12 +17,12 @@ class OrderCustomerPaymentSourceId extends base_1.default {
17
17
  }
18
18
  exports.default = OrderCustomerPaymentSourceId;
19
19
  OrderCustomerPaymentSourceId.description = orders_1.triggers[TRIGGER].description;
20
- OrderCustomerPaymentSourceId.flags = Object.assign(Object.assign({}, base_1.default.flags), { value: base_1.Flags.string({
20
+ OrderCustomerPaymentSourceId.flags = {
21
+ value: base_1.Flags.string({
21
22
  char: 'v',
22
23
  description: 'the trigger attribute value',
23
24
  multiple: false,
24
25
  required: true,
25
- }) });
26
- OrderCustomerPaymentSourceId.args = [
27
- ...base_1.default.args,
28
- ];
26
+ }),
27
+ };
28
+ OrderCustomerPaymentSourceId.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderIndex extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -34,7 +34,5 @@ class OrderIndex extends base_1.default {
34
34
  }
35
35
  exports.default = OrderIndex;
36
36
  OrderIndex.description = 'execute an action on a resource of type orders';
37
- OrderIndex.flags = Object.assign({}, base_1.default.flags);
38
- OrderIndex.args = [
39
- ...base_1.default.args,
40
- ];
37
+ OrderIndex.flags = {};
38
+ OrderIndex.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderNullifyPaymentSource extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderNullifyPaymentSource extends base_1.default {
17
17
  }
18
18
  exports.default = OrderNullifyPaymentSource;
19
19
  OrderNullifyPaymentSource.description = orders_1.triggers[TRIGGER].description;
20
- OrderNullifyPaymentSource.flags = Object.assign({}, base_1.default.flags);
21
- OrderNullifyPaymentSource.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderNullifyPaymentSource.flags = {};
21
+ OrderNullifyPaymentSource.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderPlace extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderPlace extends base_1.default {
17
17
  }
18
18
  exports.default = OrderPlace;
19
19
  OrderPlace.description = orders_1.triggers[TRIGGER].description;
20
- OrderPlace.flags = Object.assign({}, base_1.default.flags);
21
- OrderPlace.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderPlace.flags = {};
21
+ OrderPlace.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderRefresh extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderRefresh extends base_1.default {
17
17
  }
18
18
  exports.default = OrderRefresh;
19
19
  OrderRefresh.description = orders_1.triggers[TRIGGER].description;
20
- OrderRefresh.flags = Object.assign({}, base_1.default.flags);
21
- OrderRefresh.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderRefresh.flags = {};
21
+ OrderRefresh.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderRefund extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderRefund extends base_1.default {
17
17
  }
18
18
  exports.default = OrderRefund;
19
19
  OrderRefund.description = orders_1.triggers[TRIGGER].description;
20
- OrderRefund.flags = Object.assign({}, base_1.default.flags);
21
- OrderRefund.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderRefund.flags = {};
21
+ OrderRefund.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderRefundInvoice extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderRefundInvoice extends base_1.default {
17
17
  }
18
18
  exports.default = OrderRefundInvoice;
19
19
  OrderRefundInvoice.description = orders_1.triggers[TRIGGER].description;
20
- OrderRefundInvoice.flags = Object.assign({}, base_1.default.flags);
21
- OrderRefundInvoice.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderRefundInvoice.flags = {};
21
+ OrderRefundInvoice.args = Object.assign({}, base_1.default.args);
@@ -1,18 +1,9 @@
1
1
  import Command from '../../base';
2
2
  export default class OrderSaveBillingAddressToCustomerAddressBook extends Command {
3
3
  static description: string;
4
- static flags: {
5
- organization: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
- domain: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
- accessToken: import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
- print: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
- json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
- unformatted: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- };
4
+ static flags: {};
12
5
  static args: {
13
- name: string;
14
- description: string;
15
- required: boolean;
16
- }[];
6
+ id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
+ };
17
8
  run(): Promise<any>;
18
9
  }
@@ -17,7 +17,5 @@ class OrderSaveBillingAddressToCustomerAddressBook extends base_1.default {
17
17
  }
18
18
  exports.default = OrderSaveBillingAddressToCustomerAddressBook;
19
19
  OrderSaveBillingAddressToCustomerAddressBook.description = orders_1.triggers[TRIGGER].description;
20
- OrderSaveBillingAddressToCustomerAddressBook.flags = Object.assign({}, base_1.default.flags);
21
- OrderSaveBillingAddressToCustomerAddressBook.args = [
22
- ...base_1.default.args,
23
- ];
20
+ OrderSaveBillingAddressToCustomerAddressBook.flags = {};
21
+ OrderSaveBillingAddressToCustomerAddressBook.args = Object.assign({}, base_1.default.args);