docs: public TaskStatusesHistoryEnvelope getStatusesHistory(String tid, String did) throws ApiException {
          ApiResponse<TaskStatusesHistoryEnvelope> resp = getStatusesHistoryWithHttpInfo(tid, did);
          return resp.getData();
      }