py/;
use File::Spec::Functions qw(catfile);
use IO::Uncompress::Unzip qw($UnzipError);
use JSON qw/encode_json/;
use Smartcat::Client::ProjectApi;
use Smartcat::Client::DocumentApi;
use Smartcat::Cli
SEMBLING_SUCCESS_STATUS
);
use Smartcat::App::Utils;
use Carp;
use Log::Any qw($log);
use JSON qw/encode_json/;
# How many documents to delete at a time
# (there's a limitation on the number of the
{extract_id_from_name}){
my $file_id = &get_file_id( $path );
$meta_info = encode_json( { file_id => $file_id } );
}
my $documents = $self->app->project_api->upload_file( $pat