docs: public ApiResponse<TaskStatusesHistoryEnvelope> getStatusesHistoryWithHttpInfo(String tid, String did) throws ApiException {
          com.squareup.okhttp.Call call = getStatusesHistoryValidateBeforeCall(tid, did, null, null);
          Type localVarReturnType = new TypeToken<TaskStatusesHistoryEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }