@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.
- package/README.md +215 -94
- package/lib/base.d.ts +9 -11
- package/lib/base.js +4 -4
- package/lib/commands/adyen_payment/details.d.ts +3 -12
- package/lib/commands/adyen_payment/details.js +2 -4
- package/lib/commands/adyen_payment/index.d.ts +3 -12
- package/lib/commands/adyen_payment/index.js +2 -4
- package/lib/commands/authorization/capture.d.ts +3 -12
- package/lib/commands/authorization/capture.js +2 -4
- package/lib/commands/authorization/capture_amount_cents.d.ts +3 -12
- package/lib/commands/authorization/capture_amount_cents.js +2 -4
- package/lib/commands/authorization/index.d.ts +3 -12
- package/lib/commands/authorization/index.js +2 -4
- package/lib/commands/authorization/void.d.ts +3 -12
- package/lib/commands/authorization/void.js +2 -4
- package/lib/commands/axerve_payment/index.d.ts +9 -0
- package/lib/commands/axerve_payment/index.js +38 -0
- package/lib/commands/axerve_payment/update.d.ts +9 -0
- package/lib/commands/axerve_payment/update.js +21 -0
- package/lib/commands/bundle/compute_compare_at_amount.d.ts +3 -12
- package/lib/commands/bundle/compute_compare_at_amount.js +2 -4
- package/lib/commands/bundle/compute_price_amount.d.ts +3 -12
- package/lib/commands/bundle/compute_price_amount.js +2 -4
- package/lib/commands/bundle/index.d.ts +3 -12
- package/lib/commands/bundle/index.js +2 -4
- package/lib/commands/capture/index.d.ts +3 -12
- package/lib/commands/capture/index.js +2 -4
- package/lib/commands/capture/refund.d.ts +3 -12
- package/lib/commands/capture/refund.js +2 -4
- package/lib/commands/capture/refund_amount_cents.d.ts +3 -12
- package/lib/commands/capture/refund_amount_cents.js +2 -4
- package/lib/commands/checkout_com_payment/details.d.ts +3 -12
- package/lib/commands/checkout_com_payment/details.js +2 -4
- package/lib/commands/checkout_com_payment/index.d.ts +3 -12
- package/lib/commands/checkout_com_payment/index.js +2 -4
- package/lib/commands/checkout_com_payment/refresh.d.ts +3 -12
- package/lib/commands/checkout_com_payment/refresh.js +2 -4
- package/lib/commands/customer_password_reset/index.d.ts +3 -12
- package/lib/commands/customer_password_reset/index.js +2 -4
- package/lib/commands/customer_password_reset/reset_password_token.d.ts +3 -12
- package/lib/commands/customer_password_reset/reset_password_token.js +2 -4
- package/lib/commands/gift_card/activate.d.ts +3 -12
- package/lib/commands/gift_card/activate.js +2 -4
- package/lib/commands/gift_card/balance_change_cents.d.ts +3 -12
- package/lib/commands/gift_card/balance_change_cents.js +2 -4
- package/lib/commands/gift_card/deactivate.d.ts +3 -12
- package/lib/commands/gift_card/deactivate.js +2 -4
- package/lib/commands/gift_card/index.d.ts +3 -12
- package/lib/commands/gift_card/index.js +2 -4
- package/lib/commands/gift_card/purchase.d.ts +3 -12
- package/lib/commands/gift_card/purchase.js +2 -4
- package/lib/commands/in_stock_subscription/activate.d.ts +3 -12
- package/lib/commands/in_stock_subscription/activate.js +2 -4
- package/lib/commands/in_stock_subscription/deactivate.d.ts +3 -12
- package/lib/commands/in_stock_subscription/deactivate.js +2 -4
- package/lib/commands/in_stock_subscription/index.d.ts +3 -12
- package/lib/commands/in_stock_subscription/index.js +2 -4
- package/lib/commands/klarna_payment/index.d.ts +3 -12
- package/lib/commands/klarna_payment/index.js +2 -4
- package/lib/commands/klarna_payment/update.d.ts +3 -12
- package/lib/commands/klarna_payment/update.js +2 -4
- package/lib/commands/line_item/external_price.d.ts +9 -0
- package/lib/commands/line_item/external_price.js +21 -0
- package/lib/commands/line_item/index.d.ts +9 -0
- package/lib/commands/line_item/index.js +38 -0
- package/lib/commands/market/disable.d.ts +3 -12
- package/lib/commands/market/disable.js +2 -4
- package/lib/commands/market/enable.d.ts +3 -12
- package/lib/commands/market/enable.js +2 -4
- package/lib/commands/market/index.d.ts +3 -12
- package/lib/commands/market/index.js +2 -4
- package/lib/commands/order/approve.d.ts +3 -12
- package/lib/commands/order/approve.js +2 -4
- package/lib/commands/order/approve_and_capture.d.ts +3 -12
- package/lib/commands/order/approve_and_capture.js +2 -4
- package/lib/commands/order/archive.d.ts +3 -12
- package/lib/commands/order/archive.js +2 -4
- package/lib/commands/order/authorization_amount_cents.d.ts +3 -12
- package/lib/commands/order/authorization_amount_cents.js +2 -4
- package/lib/commands/order/authorize.d.ts +3 -12
- package/lib/commands/order/authorize.js +2 -4
- package/lib/commands/order/billing_address_clone_id.d.ts +3 -11
- package/lib/commands/order/billing_address_clone_id.js +5 -5
- package/lib/commands/order/billing_address_same_as_shipping.d.ts +3 -12
- package/lib/commands/order/billing_address_same_as_shipping.js +2 -4
- package/lib/commands/order/cancel.d.ts +3 -12
- package/lib/commands/order/cancel.js +2 -4
- package/lib/commands/order/capture.d.ts +3 -12
- package/lib/commands/order/capture.js +2 -4
- package/lib/commands/order/commit_invoice.d.ts +3 -12
- package/lib/commands/order/commit_invoice.js +2 -4
- package/lib/commands/order/customer_payment_source_id.d.ts +3 -11
- package/lib/commands/order/customer_payment_source_id.js +5 -5
- package/lib/commands/order/index.d.ts +3 -12
- package/lib/commands/order/index.js +2 -4
- package/lib/commands/order/nullify_payment_source.d.ts +3 -12
- package/lib/commands/order/nullify_payment_source.js +2 -4
- package/lib/commands/order/place.d.ts +3 -12
- package/lib/commands/order/place.js +2 -4
- package/lib/commands/order/refresh.d.ts +3 -12
- package/lib/commands/order/refresh.js +2 -4
- package/lib/commands/order/refund.d.ts +3 -12
- package/lib/commands/order/refund.js +2 -4
- package/lib/commands/order/refund_invoice.d.ts +3 -12
- package/lib/commands/order/refund_invoice.js +2 -4
- package/lib/commands/order/save_billing_address_to_customer_address_book.d.ts +3 -12
- package/lib/commands/order/save_billing_address_to_customer_address_book.js +2 -4
- package/lib/commands/order/save_payment_source_to_customer_wallet.d.ts +3 -12
- package/lib/commands/order/save_payment_source_to_customer_wallet.js +2 -4
- package/lib/commands/order/save_shipping_address_to_customer_address_book.d.ts +3 -12
- package/lib/commands/order/save_shipping_address_to_customer_address_book.js +2 -4
- package/lib/commands/order/shipping_address_clone_id.d.ts +3 -11
- package/lib/commands/order/shipping_address_clone_id.js +5 -5
- package/lib/commands/order/shipping_address_same_as_billing.d.ts +3 -12
- package/lib/commands/order/shipping_address_same_as_billing.js +2 -4
- package/lib/commands/order/unarchive.d.ts +3 -12
- package/lib/commands/order/unarchive.js +2 -4
- package/lib/commands/order/update_taxes.d.ts +3 -12
- package/lib/commands/order/update_taxes.js +2 -4
- package/lib/commands/order/validate.d.ts +9 -0
- package/lib/commands/order/validate.js +21 -0
- package/lib/commands/order_subscription/activate.d.ts +3 -12
- package/lib/commands/order_subscription/activate.js +2 -4
- package/lib/commands/order_subscription/cancel.d.ts +3 -12
- package/lib/commands/order_subscription/cancel.js +2 -4
- package/lib/commands/order_subscription/deactivate.d.ts +3 -12
- package/lib/commands/order_subscription/deactivate.js +2 -4
- package/lib/commands/order_subscription/index.d.ts +3 -12
- package/lib/commands/order_subscription/index.js +2 -4
- package/lib/commands/payment_method/disable.d.ts +3 -12
- package/lib/commands/payment_method/disable.js +2 -4
- package/lib/commands/payment_method/enable.d.ts +3 -12
- package/lib/commands/payment_method/enable.js +2 -4
- package/lib/commands/payment_method/index.d.ts +3 -12
- package/lib/commands/payment_method/index.js +2 -4
- package/lib/commands/return/approve.d.ts +3 -12
- package/lib/commands/return/approve.js +2 -4
- package/lib/commands/return/archive.d.ts +3 -12
- package/lib/commands/return/archive.js +2 -4
- package/lib/commands/return/cancel.d.ts +3 -12
- package/lib/commands/return/cancel.js +2 -4
- package/lib/commands/return/index.d.ts +3 -12
- package/lib/commands/return/index.js +2 -4
- package/lib/commands/return/receive.d.ts +3 -12
- package/lib/commands/return/receive.js +2 -4
- package/lib/commands/return/reject.d.ts +3 -12
- package/lib/commands/return/reject.js +2 -4
- package/lib/commands/return/request.d.ts +3 -12
- package/lib/commands/return/request.js +2 -4
- package/lib/commands/return/restock.d.ts +3 -12
- package/lib/commands/return/restock.js +2 -4
- package/lib/commands/return/ship.d.ts +3 -12
- package/lib/commands/return/ship.js +2 -4
- package/lib/commands/return/unarchive.d.ts +3 -12
- package/lib/commands/return/unarchive.js +2 -4
- package/lib/commands/return_line_item/index.d.ts +3 -12
- package/lib/commands/return_line_item/index.js +2 -4
- package/lib/commands/return_line_item/restock.d.ts +3 -12
- package/lib/commands/return_line_item/restock.js +2 -4
- package/lib/commands/shipment/get_rates.d.ts +3 -12
- package/lib/commands/shipment/get_rates.js +2 -4
- package/lib/commands/shipment/index.d.ts +3 -12
- package/lib/commands/shipment/index.js +2 -4
- package/lib/commands/shipment/on_hold.d.ts +3 -12
- package/lib/commands/shipment/on_hold.js +2 -4
- package/lib/commands/shipment/packing.d.ts +3 -12
- package/lib/commands/shipment/packing.js +2 -4
- package/lib/commands/shipment/picking.d.ts +3 -12
- package/lib/commands/shipment/picking.js +2 -4
- package/lib/commands/shipment/purchase.d.ts +3 -12
- package/lib/commands/shipment/purchase.js +2 -4
- package/lib/commands/shipment/ready_to_ship.d.ts +3 -12
- package/lib/commands/shipment/ready_to_ship.js +2 -4
- package/lib/commands/shipment/ship.d.ts +3 -12
- package/lib/commands/shipment/ship.js +2 -4
- package/lib/commands/shipping_method/disable.d.ts +3 -12
- package/lib/commands/shipping_method/disable.js +2 -4
- package/lib/commands/shipping_method/enable.d.ts +3 -12
- package/lib/commands/shipping_method/enable.js +2 -4
- package/lib/commands/shipping_method/index.d.ts +3 -12
- package/lib/commands/shipping_method/index.js +2 -4
- package/lib/commands/stock_transfer/cancel.d.ts +3 -12
- package/lib/commands/stock_transfer/cancel.js +2 -4
- package/lib/commands/stock_transfer/complete.d.ts +3 -12
- package/lib/commands/stock_transfer/complete.js +2 -4
- package/lib/commands/stock_transfer/in_transit.d.ts +3 -12
- package/lib/commands/stock_transfer/in_transit.js +2 -4
- package/lib/commands/stock_transfer/index.d.ts +3 -12
- package/lib/commands/stock_transfer/index.js +2 -4
- package/lib/commands/stock_transfer/picking.d.ts +3 -12
- package/lib/commands/stock_transfer/picking.js +2 -4
- package/lib/commands/stock_transfer/upcoming.d.ts +3 -12
- package/lib/commands/stock_transfer/upcoming.js +2 -4
- package/lib/commands/stripe_payment/index.d.ts +3 -12
- package/lib/commands/stripe_payment/index.js +2 -4
- package/lib/commands/stripe_payment/refresh.d.ts +3 -12
- package/lib/commands/stripe_payment/refresh.js +2 -4
- package/lib/commands/webhook/index.d.ts +3 -12
- package/lib/commands/webhook/index.js +2 -4
- package/lib/commands/webhook/reset_circuit.d.ts +3 -12
- package/lib/commands/webhook/reset_circuit.js +2 -4
- package/lib/triggers/axerve_payments.d.ts +5 -0
- package/lib/triggers/axerve_payments.js +10 -0
- package/lib/triggers/line_items.d.ts +5 -0
- package/lib/triggers/line_items.js +10 -0
- package/lib/triggers/orders.d.ts +1 -1
- package/lib/triggers/orders.js +5 -0
- package/oclif.manifest.json +7069 -1
- package/package.json +15 -15
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class OrderSavePaymentSourceToCustomerWallet 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
|
-
|
|
14
|
-
|
|
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 OrderSavePaymentSourceToCustomerWallet extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = OrderSavePaymentSourceToCustomerWallet;
|
|
19
19
|
OrderSavePaymentSourceToCustomerWallet.description = orders_1.triggers[TRIGGER].description;
|
|
20
|
-
OrderSavePaymentSourceToCustomerWallet.flags =
|
|
21
|
-
OrderSavePaymentSourceToCustomerWallet.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
OrderSavePaymentSourceToCustomerWallet.flags = {};
|
|
21
|
+
OrderSavePaymentSourceToCustomerWallet.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class OrderSaveShippingAddressToCustomerAddressBook 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
|
-
|
|
14
|
-
|
|
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 OrderSaveShippingAddressToCustomerAddressBook extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = OrderSaveShippingAddressToCustomerAddressBook;
|
|
19
19
|
OrderSaveShippingAddressToCustomerAddressBook.description = orders_1.triggers[TRIGGER].description;
|
|
20
|
-
OrderSaveShippingAddressToCustomerAddressBook.flags =
|
|
21
|
-
OrderSaveShippingAddressToCustomerAddressBook.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
OrderSaveShippingAddressToCustomerAddressBook.flags = {};
|
|
21
|
+
OrderSaveShippingAddressToCustomerAddressBook.args = Object.assign({}, base_1.default.args);
|
|
@@ -2,18 +2,10 @@ import Command from '../../base';
|
|
|
2
2
|
export default class OrderShippingAddressCloneId 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
|
-
|
|
15
|
-
|
|
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 OrderShippingAddressCloneId extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = OrderShippingAddressCloneId;
|
|
19
19
|
OrderShippingAddressCloneId.description = orders_1.triggers[TRIGGER].description;
|
|
20
|
-
OrderShippingAddressCloneId.flags =
|
|
20
|
+
OrderShippingAddressCloneId.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
|
-
|
|
27
|
-
|
|
28
|
-
];
|
|
26
|
+
}),
|
|
27
|
+
};
|
|
28
|
+
OrderShippingAddressCloneId.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class OrderShippingAddressSameAsBilling 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
|
-
|
|
14
|
-
|
|
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 OrderShippingAddressSameAsBilling extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = OrderShippingAddressSameAsBilling;
|
|
19
19
|
OrderShippingAddressSameAsBilling.description = orders_1.triggers[TRIGGER].description;
|
|
20
|
-
OrderShippingAddressSameAsBilling.flags =
|
|
21
|
-
OrderShippingAddressSameAsBilling.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
OrderShippingAddressSameAsBilling.flags = {};
|
|
21
|
+
OrderShippingAddressSameAsBilling.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class OrderUnarchive 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
|
-
|
|
14
|
-
|
|
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 OrderUnarchive extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = OrderUnarchive;
|
|
19
19
|
OrderUnarchive.description = orders_1.triggers[TRIGGER].description;
|
|
20
|
-
OrderUnarchive.flags =
|
|
21
|
-
OrderUnarchive.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
OrderUnarchive.flags = {};
|
|
21
|
+
OrderUnarchive.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class OrderUpdateTaxes 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
|
-
|
|
14
|
-
|
|
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 OrderUpdateTaxes extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = OrderUpdateTaxes;
|
|
19
19
|
OrderUpdateTaxes.description = orders_1.triggers[TRIGGER].description;
|
|
20
|
-
OrderUpdateTaxes.flags =
|
|
21
|
-
OrderUpdateTaxes.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
OrderUpdateTaxes.flags = {};
|
|
21
|
+
OrderUpdateTaxes.args = Object.assign({}, base_1.default.args);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Command from '../../base';
|
|
2
|
+
export default class OrderValidate extends Command {
|
|
3
|
+
static description: string;
|
|
4
|
+
static flags: {};
|
|
5
|
+
static args: {
|
|
6
|
+
id: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
|
|
7
|
+
};
|
|
8
|
+
run(): Promise<any>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const base_1 = tslib_1.__importDefault(require("../../base"));
|
|
5
|
+
const exec_1 = tslib_1.__importDefault(require("../../exec"));
|
|
6
|
+
const orders_1 = require("../../triggers/orders");
|
|
7
|
+
const TRIGGER = 'validate';
|
|
8
|
+
class OrderValidate extends base_1.default {
|
|
9
|
+
async run() {
|
|
10
|
+
const { args, flags } = await this.parse(OrderValidate);
|
|
11
|
+
const res = await (0, exec_1.default)('orders', args.id, TRIGGER, flags);
|
|
12
|
+
if (flags.print)
|
|
13
|
+
this.printOutput(res, flags);
|
|
14
|
+
this.successMessage('order', TRIGGER, res.id);
|
|
15
|
+
return res;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.default = OrderValidate;
|
|
19
|
+
OrderValidate.description = orders_1.triggers[TRIGGER].description;
|
|
20
|
+
OrderValidate.flags = {};
|
|
21
|
+
OrderValidate.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class OrderSubscriptionActivate 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
|
-
|
|
14
|
-
|
|
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 OrderSubscriptionActivate extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = OrderSubscriptionActivate;
|
|
19
19
|
OrderSubscriptionActivate.description = order_subscriptions_1.triggers[TRIGGER].description;
|
|
20
|
-
OrderSubscriptionActivate.flags =
|
|
21
|
-
OrderSubscriptionActivate.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
OrderSubscriptionActivate.flags = {};
|
|
21
|
+
OrderSubscriptionActivate.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class OrderSubscriptionCancel 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
|
-
|
|
14
|
-
|
|
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 OrderSubscriptionCancel extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = OrderSubscriptionCancel;
|
|
19
19
|
OrderSubscriptionCancel.description = order_subscriptions_1.triggers[TRIGGER].description;
|
|
20
|
-
OrderSubscriptionCancel.flags =
|
|
21
|
-
OrderSubscriptionCancel.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
OrderSubscriptionCancel.flags = {};
|
|
21
|
+
OrderSubscriptionCancel.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class OrderSubscriptionDeactivate 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
|
-
|
|
14
|
-
|
|
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 OrderSubscriptionDeactivate extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = OrderSubscriptionDeactivate;
|
|
19
19
|
OrderSubscriptionDeactivate.description = order_subscriptions_1.triggers[TRIGGER].description;
|
|
20
|
-
OrderSubscriptionDeactivate.flags =
|
|
21
|
-
OrderSubscriptionDeactivate.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
OrderSubscriptionDeactivate.flags = {};
|
|
21
|
+
OrderSubscriptionDeactivate.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class OrderSubscriptionIndex 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
|
-
|
|
14
|
-
|
|
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 OrderSubscriptionIndex extends base_1.default {
|
|
|
34
34
|
}
|
|
35
35
|
exports.default = OrderSubscriptionIndex;
|
|
36
36
|
OrderSubscriptionIndex.description = 'execute an action on a resource of type order_subscriptions';
|
|
37
|
-
OrderSubscriptionIndex.flags =
|
|
38
|
-
OrderSubscriptionIndex.args =
|
|
39
|
-
...base_1.default.args,
|
|
40
|
-
];
|
|
37
|
+
OrderSubscriptionIndex.flags = {};
|
|
38
|
+
OrderSubscriptionIndex.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class PaymentMethodDisable 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
|
-
|
|
14
|
-
|
|
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 PaymentMethodDisable extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = PaymentMethodDisable;
|
|
19
19
|
PaymentMethodDisable.description = payment_methods_1.triggers[TRIGGER].description;
|
|
20
|
-
PaymentMethodDisable.flags =
|
|
21
|
-
PaymentMethodDisable.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
PaymentMethodDisable.flags = {};
|
|
21
|
+
PaymentMethodDisable.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class PaymentMethodEnable 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
|
-
|
|
14
|
-
|
|
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 PaymentMethodEnable extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = PaymentMethodEnable;
|
|
19
19
|
PaymentMethodEnable.description = payment_methods_1.triggers[TRIGGER].description;
|
|
20
|
-
PaymentMethodEnable.flags =
|
|
21
|
-
PaymentMethodEnable.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
PaymentMethodEnable.flags = {};
|
|
21
|
+
PaymentMethodEnable.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class PaymentMethodIndex 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
|
-
|
|
14
|
-
|
|
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 PaymentMethodIndex extends base_1.default {
|
|
|
34
34
|
}
|
|
35
35
|
exports.default = PaymentMethodIndex;
|
|
36
36
|
PaymentMethodIndex.description = 'execute an action on a resource of type payment_methods';
|
|
37
|
-
PaymentMethodIndex.flags =
|
|
38
|
-
PaymentMethodIndex.args =
|
|
39
|
-
...base_1.default.args,
|
|
40
|
-
];
|
|
37
|
+
PaymentMethodIndex.flags = {};
|
|
38
|
+
PaymentMethodIndex.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class ReturnApprove 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
|
-
|
|
14
|
-
|
|
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 ReturnApprove extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = ReturnApprove;
|
|
19
19
|
ReturnApprove.description = returns_1.triggers[TRIGGER].description;
|
|
20
|
-
ReturnApprove.flags =
|
|
21
|
-
ReturnApprove.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
ReturnApprove.flags = {};
|
|
21
|
+
ReturnApprove.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class ReturnArchive 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
|
-
|
|
14
|
-
|
|
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 ReturnArchive extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = ReturnArchive;
|
|
19
19
|
ReturnArchive.description = returns_1.triggers[TRIGGER].description;
|
|
20
|
-
ReturnArchive.flags =
|
|
21
|
-
ReturnArchive.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
ReturnArchive.flags = {};
|
|
21
|
+
ReturnArchive.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class ReturnCancel 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
|
-
|
|
14
|
-
|
|
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 ReturnCancel extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = ReturnCancel;
|
|
19
19
|
ReturnCancel.description = returns_1.triggers[TRIGGER].description;
|
|
20
|
-
ReturnCancel.flags =
|
|
21
|
-
ReturnCancel.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
ReturnCancel.flags = {};
|
|
21
|
+
ReturnCancel.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class ReturnIndex 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
|
-
|
|
14
|
-
|
|
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 ReturnIndex extends base_1.default {
|
|
|
34
34
|
}
|
|
35
35
|
exports.default = ReturnIndex;
|
|
36
36
|
ReturnIndex.description = 'execute an action on a resource of type returns';
|
|
37
|
-
ReturnIndex.flags =
|
|
38
|
-
ReturnIndex.args =
|
|
39
|
-
...base_1.default.args,
|
|
40
|
-
];
|
|
37
|
+
ReturnIndex.flags = {};
|
|
38
|
+
ReturnIndex.args = Object.assign({}, base_1.default.args);
|