import { MBSCommand } from '@mb-it-org/shared';
export default class ShopsHealth extends MBSCommand {
    static description = 'Get Amazon shop account health info (账号健康信息)';
    static examples = [
        '<%= config.bin %> shops health',
        '<%= config.bin %> shops health | jq \'.data[] | {shop: .shopName, rating: .health.accountHealthRating}\'',
    ];
    async run() {
        await this.parse(ShopsHealth);
        const result = await this.client.get('/gateway/crm-web-service/rpa/getAmazonAccHealthInfo');
        this.output(result.data, { total: result.data.length });
    }
}
//# sourceMappingURL=health.js.map