@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 CheckoutComPaymentRefresh 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 CheckoutComPaymentRefresh extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = CheckoutComPaymentRefresh;
|
|
19
19
|
CheckoutComPaymentRefresh.description = checkout_com_payments_1.triggers[TRIGGER].description;
|
|
20
|
-
CheckoutComPaymentRefresh.flags =
|
|
21
|
-
CheckoutComPaymentRefresh.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
CheckoutComPaymentRefresh.flags = {};
|
|
21
|
+
CheckoutComPaymentRefresh.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class CustomerPasswordResetIndex 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 CustomerPasswordResetIndex extends base_1.default {
|
|
|
34
34
|
}
|
|
35
35
|
exports.default = CustomerPasswordResetIndex;
|
|
36
36
|
CustomerPasswordResetIndex.description = 'execute an action on a resource of type customer_password_resets';
|
|
37
|
-
CustomerPasswordResetIndex.flags =
|
|
38
|
-
CustomerPasswordResetIndex.args =
|
|
39
|
-
...base_1.default.args,
|
|
40
|
-
];
|
|
37
|
+
CustomerPasswordResetIndex.flags = {};
|
|
38
|
+
CustomerPasswordResetIndex.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class CustomerPasswordResetResetPasswordToken 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 CustomerPasswordResetResetPasswordToken extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = CustomerPasswordResetResetPasswordToken;
|
|
19
19
|
CustomerPasswordResetResetPasswordToken.description = customer_password_resets_1.triggers[TRIGGER].description;
|
|
20
|
-
CustomerPasswordResetResetPasswordToken.flags =
|
|
21
|
-
CustomerPasswordResetResetPasswordToken.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
CustomerPasswordResetResetPasswordToken.flags = {};
|
|
21
|
+
CustomerPasswordResetResetPasswordToken.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class GiftCardActivate 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 GiftCardActivate extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = GiftCardActivate;
|
|
19
19
|
GiftCardActivate.description = gift_cards_1.triggers[TRIGGER].description;
|
|
20
|
-
GiftCardActivate.flags =
|
|
21
|
-
GiftCardActivate.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
GiftCardActivate.flags = {};
|
|
21
|
+
GiftCardActivate.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class GiftCardBalanceChangeCents 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 GiftCardBalanceChangeCents extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = GiftCardBalanceChangeCents;
|
|
19
19
|
GiftCardBalanceChangeCents.description = gift_cards_1.triggers[TRIGGER].description;
|
|
20
|
-
GiftCardBalanceChangeCents.flags =
|
|
21
|
-
GiftCardBalanceChangeCents.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
GiftCardBalanceChangeCents.flags = {};
|
|
21
|
+
GiftCardBalanceChangeCents.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class GiftCardDeactivate 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 GiftCardDeactivate extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = GiftCardDeactivate;
|
|
19
19
|
GiftCardDeactivate.description = gift_cards_1.triggers[TRIGGER].description;
|
|
20
|
-
GiftCardDeactivate.flags =
|
|
21
|
-
GiftCardDeactivate.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
GiftCardDeactivate.flags = {};
|
|
21
|
+
GiftCardDeactivate.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class GiftCardIndex 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 GiftCardIndex extends base_1.default {
|
|
|
34
34
|
}
|
|
35
35
|
exports.default = GiftCardIndex;
|
|
36
36
|
GiftCardIndex.description = 'execute an action on a resource of type gift_cards';
|
|
37
|
-
GiftCardIndex.flags =
|
|
38
|
-
GiftCardIndex.args =
|
|
39
|
-
...base_1.default.args,
|
|
40
|
-
];
|
|
37
|
+
GiftCardIndex.flags = {};
|
|
38
|
+
GiftCardIndex.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class GiftCardPurchase 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 GiftCardPurchase extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = GiftCardPurchase;
|
|
19
19
|
GiftCardPurchase.description = gift_cards_1.triggers[TRIGGER].description;
|
|
20
|
-
GiftCardPurchase.flags =
|
|
21
|
-
GiftCardPurchase.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
GiftCardPurchase.flags = {};
|
|
21
|
+
GiftCardPurchase.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class InStockSubscriptionActivate 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 InStockSubscriptionActivate extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = InStockSubscriptionActivate;
|
|
19
19
|
InStockSubscriptionActivate.description = in_stock_subscriptions_1.triggers[TRIGGER].description;
|
|
20
|
-
InStockSubscriptionActivate.flags =
|
|
21
|
-
InStockSubscriptionActivate.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
InStockSubscriptionActivate.flags = {};
|
|
21
|
+
InStockSubscriptionActivate.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class InStockSubscriptionDeactivate 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 InStockSubscriptionDeactivate extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = InStockSubscriptionDeactivate;
|
|
19
19
|
InStockSubscriptionDeactivate.description = in_stock_subscriptions_1.triggers[TRIGGER].description;
|
|
20
|
-
InStockSubscriptionDeactivate.flags =
|
|
21
|
-
InStockSubscriptionDeactivate.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
InStockSubscriptionDeactivate.flags = {};
|
|
21
|
+
InStockSubscriptionDeactivate.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class InStockSubscriptionIndex 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 InStockSubscriptionIndex extends base_1.default {
|
|
|
34
34
|
}
|
|
35
35
|
exports.default = InStockSubscriptionIndex;
|
|
36
36
|
InStockSubscriptionIndex.description = 'execute an action on a resource of type in_stock_subscriptions';
|
|
37
|
-
InStockSubscriptionIndex.flags =
|
|
38
|
-
InStockSubscriptionIndex.args =
|
|
39
|
-
...base_1.default.args,
|
|
40
|
-
];
|
|
37
|
+
InStockSubscriptionIndex.flags = {};
|
|
38
|
+
InStockSubscriptionIndex.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class KlarnaPaymentIndex 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 KlarnaPaymentIndex extends base_1.default {
|
|
|
34
34
|
}
|
|
35
35
|
exports.default = KlarnaPaymentIndex;
|
|
36
36
|
KlarnaPaymentIndex.description = 'execute an action on a resource of type klarna_payments';
|
|
37
|
-
KlarnaPaymentIndex.flags =
|
|
38
|
-
KlarnaPaymentIndex.args =
|
|
39
|
-
...base_1.default.args,
|
|
40
|
-
];
|
|
37
|
+
KlarnaPaymentIndex.flags = {};
|
|
38
|
+
KlarnaPaymentIndex.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class KlarnaPaymentUpdate 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 KlarnaPaymentUpdate extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = KlarnaPaymentUpdate;
|
|
19
19
|
KlarnaPaymentUpdate.description = klarna_payments_1.triggers[TRIGGER].description;
|
|
20
|
-
KlarnaPaymentUpdate.flags =
|
|
21
|
-
KlarnaPaymentUpdate.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
KlarnaPaymentUpdate.flags = {};
|
|
21
|
+
KlarnaPaymentUpdate.args = Object.assign({}, base_1.default.args);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Command from '../../base';
|
|
2
|
+
export default class LineItemExternalPrice 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 line_items_1 = require("../../triggers/line_items");
|
|
7
|
+
const TRIGGER = 'external_price';
|
|
8
|
+
class LineItemExternalPrice extends base_1.default {
|
|
9
|
+
async run() {
|
|
10
|
+
const { args, flags } = await this.parse(LineItemExternalPrice);
|
|
11
|
+
const res = await (0, exec_1.default)('line_items', args.id, TRIGGER, flags);
|
|
12
|
+
if (flags.print)
|
|
13
|
+
this.printOutput(res, flags);
|
|
14
|
+
this.successMessage('line_item', TRIGGER, res.id);
|
|
15
|
+
return res;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.default = LineItemExternalPrice;
|
|
19
|
+
LineItemExternalPrice.description = line_items_1.triggers[TRIGGER].description;
|
|
20
|
+
LineItemExternalPrice.flags = {};
|
|
21
|
+
LineItemExternalPrice.args = Object.assign({}, base_1.default.args);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Command from '../../base';
|
|
2
|
+
export default class LineItemIndex 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,38 @@
|
|
|
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 inquirer_1 = tslib_1.__importDefault(require("inquirer"));
|
|
7
|
+
const cli_core_1 = require("@commercelayer/cli-core");
|
|
8
|
+
const line_items_1 = require("../../triggers/line_items");
|
|
9
|
+
const promptAction = async (id) => {
|
|
10
|
+
const answers = await inquirer_1.default.prompt([{
|
|
11
|
+
type: 'list',
|
|
12
|
+
name: 'trigger',
|
|
13
|
+
message: `Select an action to execute on line item ${cli_core_1.clColor.api.id(id)}:`,
|
|
14
|
+
choices: Object.keys(line_items_1.triggers).sort().map(a => {
|
|
15
|
+
return { name: a, value: a };
|
|
16
|
+
}),
|
|
17
|
+
loop: false,
|
|
18
|
+
pageSize: 10,
|
|
19
|
+
}]);
|
|
20
|
+
return answers.trigger;
|
|
21
|
+
};
|
|
22
|
+
class LineItemIndex extends base_1.default {
|
|
23
|
+
async run() {
|
|
24
|
+
const { args, flags } = await this.parse(LineItemIndex);
|
|
25
|
+
const id = args.id;
|
|
26
|
+
const action = await promptAction(id);
|
|
27
|
+
const fields = [];
|
|
28
|
+
const res = await (0, exec_1.default)('line_items', id, action, flags, fields);
|
|
29
|
+
this.log();
|
|
30
|
+
this.printOutput(res, flags);
|
|
31
|
+
this.successMessage('line item', action, res.id);
|
|
32
|
+
return res;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.default = LineItemIndex;
|
|
36
|
+
LineItemIndex.description = 'execute an action on a resource of type line_items';
|
|
37
|
+
LineItemIndex.flags = {};
|
|
38
|
+
LineItemIndex.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class MarketDisable 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 MarketDisable extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = MarketDisable;
|
|
19
19
|
MarketDisable.description = markets_1.triggers[TRIGGER].description;
|
|
20
|
-
MarketDisable.flags =
|
|
21
|
-
MarketDisable.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
MarketDisable.flags = {};
|
|
21
|
+
MarketDisable.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class MarketEnable 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 MarketEnable extends base_1.default {
|
|
|
17
17
|
}
|
|
18
18
|
exports.default = MarketEnable;
|
|
19
19
|
MarketEnable.description = markets_1.triggers[TRIGGER].description;
|
|
20
|
-
MarketEnable.flags =
|
|
21
|
-
MarketEnable.args =
|
|
22
|
-
...base_1.default.args,
|
|
23
|
-
];
|
|
20
|
+
MarketEnable.flags = {};
|
|
21
|
+
MarketEnable.args = Object.assign({}, base_1.default.args);
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import Command from '../../base';
|
|
2
2
|
export default class MarketIndex 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 MarketIndex extends base_1.default {
|
|
|
34
34
|
}
|
|
35
35
|
exports.default = MarketIndex;
|
|
36
36
|
MarketIndex.description = 'execute an action on a resource of type markets';
|
|
37
|
-
MarketIndex.flags =
|
|
38
|
-
MarketIndex.args =
|
|
39
|
-
...base_1.default.args,
|
|
40
|
-
];
|
|
37
|
+
MarketIndex.flags = {};
|
|
38
|
+
MarketIndex.args = Object.assign({}, base_1.default.args);
|